var _yt_player={};(function(g){var window=this;var ca,ea,ka,ia,ma,ra,sa,xa,caa,daa,Ga,Ha,eaa,Ma,Qa,Xa,ab,eb,bb,faa,cb,gaa,haa,lb,ob,qb,paa,qaa,rb,tb,yb,Cb,Db,Eb,taa,Fb,Hb,Kb,Qb,Sb,Tb,Wb,Xb,cc,ec,dc,gc,hc,jc,kc,vaa,lc,qc,rc,tc,uc,wc,xc,yc,Ac,Fc,Dc,Hc,Ic,Kc,Faa,Pc,Gaa,Oc,Rc,Sc,Yc,ad,rd,vd,wd,xd,Ed,Jd,Nd,Pd,Qd,Rd,Laa,fd,Paa,fe,ge,ee,ae,je,le,ie,me,ne,oe,pe,qe,re,se,ye,ve,we,ze,Qaa,xe,Ae,Raa,Be,Ee,De,Fe,Ge,Ie,He,Je,Ke,Le,Me,Ne,Oe,Pe,Qe,Re,Ce,Se,Xe,Ze,$e,Xaa,cf,df,ef,gf,lf,Yaa,hf,of,vf,uf,$aa,kf,yf,zf,Af,Bf,aba,Df,Gf,bba,Hf,If,cba,Nf,Pf,Qf,Tf,Vf,Wf,
Xf,Zf,$f,eba,cg,fg,bg,dg,Rf,Yf,gba,ig,gg,hg,kg,fba,jg,dba,pg,qg,hba,iba,jba,kba,lba,sg,ug,wg,xg,Dg,Eg,Fg,Gg,Hg,Ig,Kg,Mg,Og,Qg,pba,Rg,Sg,Ug,Vg,qba,bh,ch,dh,eh,gh,hh,ih,mh,nh,rh,sh,wh,ph,rba,Hh,Kh,Mh,Nh,Oh,sba,tba,Ph,vba,Qh,Rh,xba,yba,zba,Th,Uh,Vh,Wh,Xh,Yh,bi,di,ei,fi,gi,hi,ii,Cba,ji,ki,si,ti,wi,xi,yi,Ai,Ci,Di,Ei,Fi,Gi,zi,Bi,Eba,Hi,Ii,Ji,Fba,Ki,Mi,Li,Ni,Oi,Qi,Pi,Ri,Si,Hba,Ti,Ui,Vi,Wi,Yi,$i,cj,fj,ej,dj,gj,ij,jj,kj,lj,mj,nj,Jba,oj,pj,Kba,Lba,qj,rj,sj,Mba,Nba,uj,vj,wj,xj,Oba,yj,Pba,Qba,Rba,Wba,zj,Xba,
Aj,Cj,Dj,Ej,Fj,Hj,Gj,Ij,Jj,Zba,Lj,Mj,Nj,Oj,$ba,Pj,Qj,aca,bca,cca,Tj,eca,gca,Vj,fca,hca,Wj,ica,jca,kca,Uj,Xj,lca,oca,nca,pca,Yj,Zj,ak,ck,qca,hk,ik,rca,jk,sca,uca,tca,kk,lk,mk,nk,vca,ok,wca,pk,qk,rk,sk,tk,uk,xca,vk,xk,yk,yca,zk,Ak,Bk,zca,Ck,Aca,Ek,Dk,Fk,Dca,Gk,Hk,Eca,Jk,Kk,Lk,Mk,Ok,Gca,Qk,Fca,Hca,Jca,Rk,Lca,Uk,Mca,Vk,Pk,Nca,Ica,Yk,Xk,Oca,Pca,Wk,Kca,Qca,Zk,Rca,$k,bl,cl,dl,al,el,Tca,Uca,fl,gl,hl,il,Vca,jl,Zca,Wca,Yca,kl,ll,ml,$ca,ada,nl,bda,cda,dda,eda,fda,gda,hda,ida,jda,ol,pl,ql,lda,mda,ul,vl,sl,xl,
yl,nda,kda,pda,oda,Bl,zl,qda,El,rda,tda,uda,Gl,Hl,Il,Kl,zda,vda,Ol,Pl,Ql,Rl,Sl,wk,Ada,Tl,Ul,Vl,Bda,Xl,Yl,Cda,Zl,Dda,Eda,Fda,Gda,$l,Jda,bm,am,cm,dm,em,Kda,Lda,fm,jm,km,im,lm,mm,Mda,sm,tm,vm,Pda,ym,Am,Cm,Bm,Nda,Fm,Em,Im,Hm,Km,Qda,Lm,Om,Pm,Qm,Rm,Sm,Sda,Tda,Um,Uda,Vm,Wm,Tm,Vda,Xm,Ym,Zm,$m,Wda,Xda,Zda,dn,en,$da,aea,an,Yda,bn,gn,hn,fn,cea,kn,jn,eea,mn,ln,nn,on,qn,rn,pn,tn,hea,un,wn,xn,yn,zn,vn,An,Bn,Cn,En,Hn,In,Ln,On,Jn,Qn,Sn,Tn,Un,Vn,Wn,Xn,Yn,Zn,$n,bo,eo,co,fo,go,ho,ko,jea,jo,lo,mo,no,po,qo,ro,so,kea,
lea,to,uo,xo,Ao,zo,qea,Co,wo,Do,rea,Fo,Eo,sea,Go,Io,tea,Ko,Jo,Lo,Mo,No,uea,Oo,Po,Qo,Ro,So,To,Wo,Xo,Yo,Zo,$o,ap,bp,cp,dp,ep,fp,Q,ip,lp,mp,vea,R,qp,zea,sp,yp,zp,Bp,pp,xp,vp,Fea,Gea,Hea,Iea,Cp,Dp,Ep,Fp,Hp,Ip,Gp,Jea,Lp,Mp,Np,Op,Kea,Pp,Qp,Rp,Sp,Up,Tp,Wp,Xp,Lea,Mea,Yp,aq,Zp,$p,bq,cq,Oea,Pea,dq,eq,Qea,fq,nq,Sea,pq,qq,rq,sq,Uea,tq,zq,Aq,uq,Bq,Cq,Yea,vq,Xea,wq,xq,yq,Wea,Hq,Iq,Jq,Oq,cfa,dfa,Pq,ffa,gfa,Rq,jfa,Tq,efa,Uq,Vq,Wq,Xq,kfa,Yq,Zq,$q,lfa,br,cr,dr,er,mfa,gr,fr,nfa,ar,hr,yo,ir,jr,ofa,pfa,qfa,rfa,kr,sfa,
nr,rr,ur,vr,Kp,Jp,tfa,ufa,vfa,wr,wfa,xr,xfa,yfa,zfa,Afa,Bfa,Cfa,Dfa,yr,Ar,zr,Br,Efa,Ffa,Gfa,Hfa,Dr,Jfa,Fr,Ir,Lfa,Lr,Nr,Kr,Or,Pr,Qr,Rr,Sr,Tr,Ur,Vr,Wr,Xr,$r,Ofa,Zr,Yr,as,bs,cs,ds,fs,Eq,Pfa,ns,os,ps,qs,gs,Ufa,rs,ts,Gq,ws,ys,afa,zs,As,Bs,Dq,bfa,xs,Cs,Ds,Es,Fs,Gs,Hs,Is,Xfa,Yfa,Wfa,Zfa,vs,$fa,Ps,cga,Qs,es,Rs,Ss,Ts,Us,dga,ks,us,Os,Vs,Ws,Xs,Ns,Fq,js,Zs,ms,$s,at,hs,ls,Ms,Vfa,bt,ct,dt,fga,et,gga,ft,gt,ht,jt,kt,lt,jga,mt,nt,ot,pt,qt,rt,tt,ut,vt,wt,xt,zt,At,Bt,Ct,Dt,Ft,mga,oga,qga,Et,rga,sga,tga,Ht,Gt,It,Kt,
Lt,Rt,Qt,St,Tt,uga,Yt,Zt,au,$t,bu,cu,du,eu,fu,vga,iu,wga,ju,ku,lu,mu,hu,gu,xga,nu,ou,pu,yga,qu,ru,zga,tu,uu,vu,wu,xu,yu,Aga,Au,Bu,Bga,Du,Eu,Cga,Iu,Ju,Ku,Lu,Mu,Nu,Ou,Pu,Dga,Qu,Ru,Su,Uu,Tu,Ega,Vu,Wu,Xu,Yu,Fga,Zu,$u,Hga,Gga,av,bv,cv,dv,ev,fv,gv,iv,jv,kv,lv,mv,nv,ov,pv,Er,qv,Iga,tv,uv,vv,wv,xv,rv,yv,zv,Av,Ks,lr,tr,Js,Ls,Gv,Gr,sr,Fv,pr,mr,or,qr,Iv,Hr,Ev,Lv,Mv,Ov,Jga,Pv,Qv,Rv,Sv,Tv,Uv,Vv,Wv,Xv,Yv,Zv,$v,aw,bw,cw,Kga,dw,ew,fw,gw,hw,iw,Lga,jw,kw,lw,mw,nw,ow,qw,rw,Nga,tw,Oga,Mga,Qga,uw,Rga,ww,pw,Pga,Vga,Uga,
Tga,vw,xw,yw,zw,Bw,Cw,Dw,Ew,Fw,Gw,Hw,Iw,Jw,Kw,Mw,Ow,Pw,Qw,Nw,Sw,Wga,Xga,Vw,Tw,Zw,Uw,$w,Yw,Zga,$ga,bx,fx,cx,ex,dx,ix,jx,hx,kx,cha,lx,dha,eha,mx,nx,ox,qx,fha,px,tx,rx,gha,hha,iha,ux,vx,wx,xx,yx,zx,Ax,Bx,Cx,Dx,Ex,Fx,Gx,Hx,Ix,mha,lha,Kx,Jx,nha,Nx,oha,Ox,Px,pha,kha,Qx,Tx,rha,qha,Ux,Sx,Xx,tha,Yx,uha,Zx,Vx,$x,ay,by,wha,xha,cy,dy,yha,ey,Mx,zha,fy,gy,Lx,Aha,hy,iy,jy,ky,Bha,ly,my,ny,py,qy,oy,Fha,Cha,Dha,sy,vy,wy,uy,ty,ry,yy,Ay,By,Dy,Fy,Cy,Gy,Hy,Iha,Jy,Iy,Ky,Jha,Kha,Lha,Ly,My,Ny,Oy,Py,Qy,Ry,Sy,Mha,Ty,Oha,Zy,
Uy,Vy,Wy,fz,$y,bz,az,iz,dz,cz,gz,ez,Qha,Yy,Xy,jz,Rha,kz,Nha,lz,mz,nz,Tha,oz,rz,sz,uz,tz,vz,wz,xz,Vha,Uha,Wha,zz,Xha,Yha,Az,Bz,yz,Zha,Cz,Dz,$ha,Ez,aia,bia,cia,dia,Fz,Gz,Hz,Jz,Kz,Lz,Iz,Nz,eia,fia,Mz,Oz,Pz,Qz,Rz,Sz,gia,Tz,Wz,Yz,Xz,Zz,$z,aA,cA,bA,eA,dA,fA,hia,jA,kA,lA,mA,nA,oA,pA,qA,rA,sA,tA,vA,wA,uA,xA,yA,zA,iia,AA,jia,DA,EA,BA,CA,GA,KA,HA,IA,FA,JA,kia,LA,MA,NA,OA,QA,PA,lia,SA,RA,nia,oia,mia,TA,pia,qia,ria,sia,UA,uia,via,wia,Qq,xia,yia,XA,Aia,YA,ZA,$A,aB,bB,cB,dB,eB,gB,hB,iB,oB,nB,tB,uB,lB,vB,wB,xB,
yB,kB,mB,pB,AB,Hia,BB,Iia,CB,DB,EB,FB,GB,HB,Jia,IB,Kia,Lia,JB,Mia,Nia,KB,LB,Oia,Qia,Ria,MB,Sia,OB,QB,Wia,NB,Xia,RB,zia,SB,Zia,$ia,TB,aja,bja,VB,YB,cja,$B,ZB,aC,dja,Pha,bC,cC,fC,gC,hC,iC,jC,fja,kC,lC,mC,nC,dC,hja,ija,qC,jja,rC,sC,tC,pC,uC,oC,vC,kja,hz,mja,Ey,lja,wC,xC,yC,zC,AC,nja,BC,oja,FC,GC,HC,IC,pja,LC,MC,NC,OC,PC,RC,SC,TC,UC,qja,VC,tja,ZC,$C,uja,bD,cD,eD,gD,iD,hD,jD,dD,fD,mD,lD,nD,vja,oD,pD,xja,uD,vD,yja,CD,ED,GD,JD,KD,zja,Aja,MD,ND,Bja,RD,Cja,Dja,PD,WD,YD,ZD,$D,aE,bE,cE,dE,VD,eE,UD,gE,Eja,kE,
lE,jE,mE,nE,oE,qE,pE,rE,Gja,uE,vE,xE,wE,yE,zE,Hja,AE,GE,HE,KE,LE,Ija,IE,ME,NE,OE,PE,Kja,VE,WE,XE,aF,dF,fF,kF,iF,mF,lF,nF,Oja,CF,DF,BF,Qja,MF,KF,PF,SF,RF,QF,Rja,YF,XF,Sja,eG,fG,sG,tG,wG,xG,yG,uG,BG,AG,CG,DG,FG,GG,IG,JG,KG,LG,MG,NG,OG,QG,SG,Vja,TG,UG,VG,WG,XG,ZG,YG,$G,aH,bH,cH,dH,eH,gH,iH,jH,kH,nH,lH,pH,mH,qH,oH,sH,tH,uH,yH,zH,eka,AH,BH,DH,EH,FH,GH,fka,HH,IH,JH,KH,LH,MH,NH,OH,PH,gka,RH,UH,hka,QH,YH,ZH,WH,TH,$H,aI,VH,XH,bI,cI,dI,ika,fI,gI,iI,hI,jka,jI,kI,lI,kka,nI,mI,oI,pI,qI,rI,wI,yI,lka,tI,zI,BI,AI,
xI,EI,mka,FI,sI,uI,vI,DI,CI,GI,HI,II,JI,KI,LI,MI,nka,NI,OI,PI,QI,RI,oka,SI,TI,UI,VI,WI,XI,YI,ZI,$I,bJ,pka,qka,dJ,gJ,hJ,jJ,fJ,rka,kJ,lJ,mJ,nJ,ska,tka,oJ,uka,qJ,pJ,sJ,uJ,vka,wJ,wka,xJ,yJ,zJ,AJ,CJ,BJ,DJ,EJ,xka,FJ,GJ,HJ,IJ,JJ,yka,zka,Dka,Eka,Aka,Bka,Cka,LJ,NJ,Fka,OJ,RJ,SJ,TJ,Gka,VJ,Ika,Hka,WJ,Jka,XJ,$J,Lka,Mka,aK,bK,Nka,cK,dK,Oka,eK,fK,Pka,Qka,gK,YJ,Kka,Rka,iK,kK,lK,nK,oK,jK,qK,rK,Ska,tK,Uka,Wka,Vka,Xka,uK,wK,vK,xK,Yka,Zka,zK,AK,BK,CK,DK,EK,FK,yK,GK,HK,$ka,JK,KK,IK,PK,gla,XK,ola,WK,VK,fla,QK,dL,eL,fL,
gL,hL,iL,jL,kL,lL,nL,oL,pL,EL,FL,GL,HL,IL,ula,JL,LL,yL,DL,QL,vla,xL,wL,SL,UL,VL,xla,WL,yla,zla,XL,Ala,YL,ZL,$L,cM,eM,gM,fM,hM,dM,iM,jM,kM,Bla,Cla,mM,Ela,nM,yM,qM,Fla,AM,Gla,BM,CM,FM,RM,VM,MM,WM,JM,YM,QM,LM,PM,OM,aN,Ila,Jla,$M,UM,SM,KM,TM,bN,DM,GM,EM,Ola,Qla,hN,iN,Xla,jN,lN,mN,Yla,pN,rN,sN,vN,wN,oN,Zla,Sla,Tla,Ula,Rla,zN,AN,ama,CN,DN,EN,FN,GN,gN,Vla,HN,cma,JN,KN,LN,MN,NN,ON,PN,QN,RN,SN,TN,WN,dma,XN,ema,UN,ZN,$N,aO,bO,fma,cO,hma,gO,hO,iO,jO,fO,lO,nO,gma,rO,tO,vO,xO,yO,zO,jma,AO,CO,EO,uO,GO,JO,IO,KO,
LO,lma,MO,HO,NO,OO,mma,QO,PO,RO,SO,TO,UO,VO,YO,ZO,XO,WO,$O,aP,bP,cP,dP,fP,oma,kP,lP,mP,nP,pma,qma,iP,oP,pP,qP,rP,rma,tP,vP,xP,wP,tma,yP,zP,uP,sP,sma,BP,CP,DP,EP,FP,GP,HP,IP,JP,AP,uma,vma,wma,KP,LP,NP,MP,OP,PP,QP,RP,SP,TP,YP,WP,XP,ZP,$P,UP,VP,aQ,bQ,yma,cQ,dQ,eQ,gQ,hQ,fQ,iQ,jQ,lQ,zma,kQ,mQ,nQ,Ama,oQ,Bma,pQ,qQ,rQ,sQ,Dma,Ema,Fma,Gma,tQ,uQ,Cma,vQ,Hma,xQ,wQ,zQ,yQ,AQ,BQ,CQ,EQ,DQ,HQ,Ima,KQ,LQ,MQ,GQ,NQ,OQ,FQ,PQ,QQ,RQ,SQ,JQ,IQ,TQ,UQ,Jma,Kma,XQ,WQ,Lma,VQ,YQ,Mma,cR,Nma,eR,fR,bR,dR,ZQ,Oma,$Q,aR,Pma,gR,Qma,Rma,
Sma,hR,iR,Tma,Uma,kR,jR,Vma,lR,Wma,mR,nR,oR,pR,qR,Xma,Yma,Zma,rR,sR,tR,uR,xR,yR,zR,BR,CR,FR,DR,GR,bna,ana,cna,LR,MR,IR,JR,KR,NR,AR,$ma,dna,OR,PR,QR,HR,RR,wR,SR,ena,fna,gna,TR,hna,UR,VR,WR,XR,YR,ina,ZR,jna,kna,$R,bS,aS,mna,dS,eS,cS,fS,gS,nna,hS,iS,ona,pna,jS,lS,rna,qna,oS,nS,sna,tna,mS,pS,una,qS,sS,rS,vna,wS,vS,yS,xna,yna,zna,zS,xS,uS,wna,AS,VN,YN,oO,BS,CS,DS,ES,FS,HS,IS,SS,Ana,KS,US,VS,XS,WS,GS,PS,cT,aT,bT,Cna,YS,iT,hT,gT,nT,pT,qT,rT,dT,sT,Ena,Fna,eT,LS,jT,oT,Gna,kT,zT,Hna,$S,AT,ZS,vT,xT,wT,yT,CT,
Ina,ET,QS,Dna,FT,BT,RS,GT,HT,mT,JS,DT,tT,IT,lT,KT,LT,MT,PT,WT,gU,sU,Jna,wU,xU,zU,AU,DU,CU,IU,KU,Lna,MU,OU,PU,TU,WU,XU,YU,$U,aV,bV,cV,eV,fV,gV,hV,iV,kV,lV,mV,nV,pV,sV,tV,uV,vV,wV,Mna,yV,xV,zV,BV,CV,Ona,DV,EV,FV,GV,HV,IV,NV,MV,Rna,Tna,Sna,Pna,Qna,Vna,OV,PV,QV,TV,UV,WV,$V,ZV,YV,bW,Wna,cW,Xna,dW,aoa,eW,fW,gW,boa,coa,hW,doa,iW,lW,kW,jW,mW,oW,qW,tW,uW,eoa,vW,wW,foa,xW,yW,zW,AW,BW,CW,DW,EW,goa,FW,GW,hoa,HW,IW,JW,ioa,KW,joa,koa,OW,NW,loa,MW,moa,PW,noa,QW,RW,SW,TW,ooa,WW,YW,ZW,$W,aX,poa,bX,dX,qoa,UW,cX,XW,
VW,kX,lX,gX,fX,jX,iX,mX,nX,oX,pX,roa,woa,toa,voa,qX,rX,tX,uX,vX,wX,xX,yX,zX,AX,BX,CX,xoa,DX,FX,EX,GX,yoa,HX,zoa,JX,KX,NX,OX,PX,QX,RX,Aoa,TX,Boa,UX,SX,VX,WX,XX,YX,Coa,Doa,Foa,Eoa,ZX,$X,aY,Goa,Hoa,Ioa,bY,dY,fY,gY,hY,eY,cY,iY,IX,eX,jY,kY,mY,KV,JV,hX,nY,oY,pY,qY,rY,uY,LV,vY,yY,LX,BY,wY,sW,rW,DY,lY,XV,EY,FY,IY,JY,KY,LY,HY,MY,OY,PY,NY,RY,QY,SY,TY,VY,UY,WY,XY,YY,aZ,ZY,$Y,bZ,cZ,dZ,eZ,Loa,Koa,fZ,gZ,hZ,Moa,Noa,jZ,iZ,lZ,Ooa,pZ,Poa,Soa,uZ,tZ,Toa,xZ,yZ,zZ,AZ,BZ,CZ,DZ,Voa,Uoa,Woa,EZ,Xoa,Yoa,FZ,$oa,HZ,Zoa,KZ,apa,
LZ,bpa,JZ,MZ,NZ,cpa,OZ,PZ,QZ,dpa,epa,RZ,fpa,SZ,TZ,UZ,VZ,gpa,WZ,YZ,XZ,ZZ,hpa,$Z,a_,b_,ipa,lpa,c_,jpa,kpa,d_,npa,opa,ppa,f_,tpa,spa,upa,vpa,wpa,h_,xpa,j_,Apa,ypa,Cpa,n_,Dpa,l_,o_,k_,p_,m_,zpa,Epa,Fpa,Bpa,q_,t_,u_,v_,Gpa,w_,x_,y_,z_,A_,B_,C_,Hpa,D_,E_,F_,G_,I_,H_,J_,K_,L_,Ipa,Jpa,M_,Kpa,O_,Mpa,Npa,R_,kZ,Ppa,Opa,Q_,Qpa,e_,Rpa,Tpa,Upa,Spa,T_,Vpa,S_,U_,V_,W_,X_,Xpa,Z_,$_,Ypa,a0,b0,$pa,d0,e0,f0,aqa,bqa,cqa,dqa,g0,k0,pW,eqa,l0,m0,n0,o0,fqa,p0,hqa,gqa,mqa,t0,u0,sY,q0,v0,tY,nW,nqa,oqa,x0,w0,pqa,jqa,kqa,sqa,
A0,r0,uqa,E0,lqa,F0,RT,wqa,yqa,z0,y0,H0,D0,AY,J0,tqa,I0,L0,N0,M0,O0,R0,Aqa,G0,zqa,Bqa,hU,CY,rH,Cqa,C0,Dqa,T0,jU,xY,zY,Eqa,K0,Fqa,U0,Gqa,Hqa,iqa,xqa,vqa,aa,ha,fa,aaa,oa,V0,Ww,Ca,baa;ca=function(a){return function(){return aa[a].apply(this,arguments)}};
g.da=function(a,b){return aa[a]=b};
ea=function(){ea=function(){};
fa.Symbol||(fa.Symbol=aaa)};
ka=function(){ea();var a=fa.Symbol.iterator;a||(a=fa.Symbol.iterator=fa.Symbol("iterator"));"function"!=typeof Array.prototype[a]&&ha(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return ia(this)}});
ka=function(){}};
ia=function(a){var b=0;return ma(function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}})};
ma=function(a){ka();a={next:a};a[fa.Symbol.iterator]=function(){return this};
return a};
g.na=function(a){ka();var b=a[window.Symbol.iterator];return b?b.call(a):ia(a)};
g.p=function(a,b){a.prototype=oa(b.prototype);a.prototype.constructor=a;if(pa)pa(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.Z=b.prototype};
g.qa=function(a){if(!(a instanceof Array)){a=g.na(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a};
ra=function(a,b){if(b){for(var c=fa,d=a.split("."),e=0;e<d.length-1;e++){var f=d[e];f in c||(c[f]={});c=c[f]}d=d[d.length-1];e=c[d];f=b(e);f!=e&&null!=f&&ha(c,d,{configurable:!0,writable:!0,value:f})}};
sa=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};
g.t=function(a){return void 0!==a};
g.u=function(a){return"string"==typeof a};
g.ta=function(a){return"boolean"==typeof a};
g.ua=function(a){return"number"==typeof a};
g.va=function(a,b,c){a=a.split(".");c=c||g.w;a[0]in c||!c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)!a.length&&g.t(b)?c[d]=b:c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}};
g.x=function(a,b){for(var c=a.split("."),d=b||g.w,e=0;e<c.length;e++)if(d=d[c[e]],null==d)return null;return d};
g.y=function(){};
g.wa=function(a){a.bd=void 0;a.getInstance=function(){return a.bd?a.bd:a.bd=new a}};
xa=function(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";
else if("function"==b&&"undefined"==typeof a.call)return"object";return b};
g.ya=function(a){return"array"==xa(a)};
g.za=function(a){var b=xa(a);return"array"==b||"object"==b&&"number"==typeof a.length};
g.Aa=function(a){return"function"==xa(a)};
g.Ba=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b};
g.Da=function(a){return a[Ca]||(a[Ca]=++baa)};
caa=function(a,b,c){return a.call.apply(a.bind,arguments)};
daa=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}};
g.z=function(a,b,c){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?g.z=caa:g.z=daa;return g.z.apply(null,arguments)};
g.Ea=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var b=c.slice();b.push.apply(b,arguments);return a.apply(this,b)}};
g.Fa=function(a,b){for(var c in b)a[c]=b[c]};
Ga=function(a,b){b&&(a=a.replace(/\{\$([^}]+)}/g,function(a,d){return null!=b&&d in b?b[d]:a}));
return a};
g.A=function(a,b){function c(){}
c.prototype=b.prototype;a.Z=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.f2=function(a,c,f){for(var d=Array(arguments.length-2),e=2;e<arguments.length;e++)d[e-2]=arguments[e];return b.prototype[c].apply(a,d)}};
Ha=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,Ha);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))};
g.Ia=function(a){return a[a.length-1]};
eaa=function(a,b){var c=0;(0,g.C)(a,function(a,e,f){b.call(void 0,a,e,f)&&++c},void 0);
return c};
g.Ka=function(a,b,c){b=g.Ja(a,b,c);return 0>b?null:g.u(a)?a.charAt(b):a[b]};
g.Ja=function(a,b,c){for(var d=a.length,e=g.u(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return f;return-1};
Ma=function(a,b){var c=g.La(a,b,void 0);return 0>c?null:g.u(a)?a.charAt(c):a[c]};
g.La=function(a,b,c){for(var d=g.u(a)?a.split(""):a,e=a.length-1;0<=e;e--)if(e in d&&b.call(c,d[e],e,a))return e;return-1};
g.Oa=function(a,b){return 0<=(0,g.Na)(a,b)};
g.Pa=function(a){return 0==a.length};
Qa=function(a){if(!g.ya(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0};
g.Ra=function(a,b){g.Oa(a,b)||a.push(b)};
g.Ta=function(a,b){var c=(0,g.Na)(a,b),d;(d=0<=c)&&g.Sa(a,c);return d};
g.Sa=function(a,b){Array.prototype.splice.call(a,b,1)};
g.Ua=function(a,b){var c=g.Ja(a,b,void 0);0<=c&&g.Sa(a,c)};
g.Va=function(a){return Array.prototype.concat.apply([],arguments)};
g.Wa=function(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]};
Xa=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(g.za(d)){var e=a.length||0,f=d.length||0;a.length=e+f;for(var k=0;k<f;k++)a[e+k]=d[k]}else a.push(d)}};
g.Za=function(a,b,c,d){Array.prototype.splice.apply(a,g.Ya(arguments,1))};
g.Ya=function(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};
ab=function(a,b,c){function d(a){return g.Ba(a)?"o"+g.Da(a):(typeof a).charAt(0)+a}
b=b||a;c=c||d;for(var e={},f=0,k=0;k<a.length;){var l=a[k++],m=c(l);Object.prototype.hasOwnProperty.call(e,m)||(e[m]=!0,b[f++]=l)}b.length=f};
g.db=function(a,b,c){return bb(a,c||cb,!1,b)};
eb=function(a,b){return bb(a,b,!0,void 0,void 0)};
bb=function(a,b,c,d,e){for(var f=0,k=a.length,l;f<k;){var m=f+k>>1,n;c?n=b.call(e,a[m],m,a):n=b(d,a[m]);0<n?f=m+1:(k=m,l=!n)}return l?f:~f};
g.fb=function(a,b){a.sort(b||cb)};
faa=function(a,b){var c=cb;g.fb(a,function(a,e){return c(b(a),b(e))})};
g.gb=function(a,b){if(!g.za(a)||!g.za(b)||a.length!=b.length)return!1;for(var c=a.length,d=gaa,e=0;e<c;e++)if(!d(a[e],b[e]))return!1;return!0};
cb=function(a,b){return a>b?1:a<b?-1:0};
gaa=function(a,b){return a===b};
g.ib=function(a,b,c){c=g.db(a,b,c);0>c&&g.Za(a,-(c+1),0,b)};
g.jb=function(a,b,c){var d={};(0,g.C)(a,function(e,f){d[b.call(c,e,f,a)]=e});
return d};
haa=function(a){for(var b=[],c=0;c<a;c++)b[c]="";return b};
g.kb=function(a,b){return 0==a.lastIndexOf(b,0)};
lb=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c};
g.D=function(a){return/^[\s\xa0]*$/.test(a)};
g.nb=function(a){return(0,window.encodeURIComponent)(String(a))};
ob=function(a){return(0,window.decodeURIComponent)(a.replace(/\+/g," "))};
g.pb=function(a){if(!iaa.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(jaa,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(kaa,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(laa,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(maa,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(naa,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(oaa,"&#0;"));return a};
qb=function(a){return-1!=a.indexOf("&")?"document"in g.w?paa(a):qaa(a):a};
paa=function(a){var b={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"'};var c=g.w.document.createElement("div");return a.replace(raa,function(a,e){var d=b[a];if(d)return d;if("#"==e.charAt(0)){var k=Number("0"+e.substr(1));(0,window.isNaN)(k)||(d=String.fromCharCode(k))}d||(c.innerHTML=a+" ",d=c.firstChild.nodeValue.slice(0,-1));return b[a]=d})};
qaa=function(a){return a.replace(/&([^;]+);/g,function(a,c){switch(c){case "amp":return"&";case "lt":return"<";case "gt":return">";case "quot":return'"';default:if("#"==c.charAt(0)){var b=Number("0"+c.substr(1));if(!(0,window.isNaN)(b))return String.fromCharCode(b)}return a}})};
rb=function(a,b){a.length>b&&(a=a.substring(0,b-3)+"...");return a};
tb=function(a,b){return-1!=a.toLowerCase().indexOf(b.toLowerCase())};
g.vb=function(a,b,c){a=g.t(c)?a.toFixed(c):String(a);c=a.indexOf(".");-1==c&&(c=a.length);return ub("0",Math.max(0,b-c))+a};
g.E=function(a){return null==a?"":String(a)};
g.wb=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^(0,g.G)()).toString(36)};
g.Ab=function(a,b){for(var c=0,d=xb(String(a)).split("."),e=xb(String(b)).split("."),f=Math.max(d.length,e.length),k=0;0==c&&k<f;k++){var l=d[k]||"",m=e[k]||"";do{l=/(\d*)(\D*)(.*)/.exec(l)||["","","",""];m=/(\d*)(\D*)(.*)/.exec(m)||["","","",""];if(0==l[0].length&&0==m[0].length)break;c=yb(0==l[1].length?0:(0,window.parseInt)(l[1],10),0==m[1].length?0:(0,window.parseInt)(m[1],10))||yb(0==l[2].length,0==m[2].length)||yb(l[2],m[2]);l=l[3];m=m[3]}while(0==c)}return c};
yb=function(a,b){return a<b?-1:a>b?1:0};
g.Bb=function(a){for(var b=0,c=0;c<a.length;++c)b=31*b+a.charCodeAt(c)>>>0;return b};
Cb=function(){return"goog_"+saa++};
Db=function(a){var b=Number(a);return 0==b&&g.D(a)?window.NaN:b};
Eb=function(a){return String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()})};
taa=function(a){var b=g.u(void 0)?"undefined".replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08"):"\\s";return a.replace(new RegExp("(^"+(b?"|["+b+"]+":"")+")([a-z])","g"),function(a,b,e){return b+e.toUpperCase()})};
Fb=function(a){(0,window.isFinite)(a)&&(a=String(a));return g.u(a)?/^\s*-?0x/i.test(a)?(0,window.parseInt)(a,16):(0,window.parseInt)(a,10):window.NaN};
Hb=function(a){return-1!=g.Gb.indexOf(a)};
g.Ib=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)};
g.Jb=function(a,b,c){var d={},e;for(e in a)b.call(c,a[e],e,a)&&(d[e]=a[e]);return d};
Kb=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1};
g.Lb=function(a,b){for(var c in a)if(!b.call(void 0,a[c],c,a))return!1;return!0};
g.Mb=function(a){var b=0,c;for(c in a)b++;return b};
g.Nb=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b};
g.Ob=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b};
g.Pb=function(a,b){var c=g.za(b),d=c?b:arguments;for(c=c?0:1;c<d.length;c++){if(null==a)return;a=a[d[c]]}return a};
Qb=function(a,b){return null!==a&&b in a};
g.Rb=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1};
Sb=function(a,b,c){for(var d in a)if(b.call(c,a[d],d,a))return d};
Tb=function(a,b){var c=Sb(a,b,void 0);return c&&a[c]};
g.Ub=function(a){for(var b in a)return!1;return!0};
g.Vb=function(a){for(var b in a)delete a[b]};
Wb=function(a,b){b in a&&delete a[b]};
Xb=function(a,b,c){return null!==a&&b in a?a[b]:c};
g.Yb=function(a){var b={},c;for(c in a)b[c]=a[c];return b};
g.$b=function(a){var b=xa(a);if("object"==b||"array"==b){if(g.Aa(a.clone))return a.clone();b="array"==b?[]:{};for(var c in a)b[c]=g.$b(a[c]);return b}return a};
g.bc=function(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<ac.length;f++)c=ac[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};
cc=function(a){var b=a;Object.isFrozen&&!Object.isFrozen(a)&&(b=Object.create(a),Object.freeze(b));return b};
ec=function(){return Hb("Safari")&&!(dc()||Hb("Coast")||Hb("Opera")||Hb("Edge")||Hb("Silk")||Hb("Android"))};
dc=function(){return(Hb("Chrome")||Hb("CriOS"))&&!Hb("Edge")};
g.fc=function(){return Hb("Android")&&!(dc()||Hb("Firefox")||Hb("Opera")||Hb("Silk"))};
gc=function(){return Hb("iPhone")&&!Hb("iPod")&&!Hb("iPad")};
hc=function(){return gc()||Hb("iPad")||Hb("iPod")};
jc=function(a){jc[" "](a);return a};
kc=function(a,b){try{return jc(a[b]),!0}catch(c){}return!1};
vaa=function(a,b){var c=uaa;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};
lc=function(){var a=g.w.document;return a?a.documentMode:void 0};
g.nc=function(a){return vaa(a,function(){return 0<=g.Ab(mc,a)})};
g.oc=function(a){return Number(waa)>=a};
qc=function(){this.g="";this.l=pc};
rc=function(a){return a instanceof qc&&a.constructor===qc&&a.l===pc?a.g:"type_error:Const"};
g.sc=function(a){var b=new qc;b.g=a;return b};
tc=function(a,b){return b?a.replace(xaa,""):a};
uc=function(a,b){for(var c=0,d=0,e=!1,f=tc(a,b).split(yaa),k=0;k<f.length;k++){var l=f[k];zaa.test(tc(l,void 0))?(c++,d++):Aaa.test(l)?e=!0:Baa.test(tc(l,void 0))?d++:Caa.test(l)&&(e=!0)}return 0==d?e?1:0:.4<c/d?-1:1};
wc=function(){this.g="";this.l=vc};
xc=function(a){if(a instanceof wc&&a.constructor===wc&&a.l===vc)return a.g;xa(a);return"type_error:TrustedResourceUrl"};
yc=function(a){var b=new wc;b.g=a;return b};
Ac=function(){this.g="";this.l=zc};
g.Bc=function(a){if(a instanceof Ac&&a.constructor===Ac&&a.l===zc)return a.g;xa(a);return"type_error:SafeUrl"};
g.Ec=function(a){if(a instanceof Ac)return a;a=a.xg?a.Le():String(a);Cc.test(a)||(a="about:invalid#zClosurez");return Dc(a)};
Fc=function(a){if(a instanceof Ac)return a;a=a.xg?a.Le():String(a);Cc.test(a)||(a="about:invalid#zClosurez");return Dc(a)};
Dc=function(a){var b=new Ac;b.g=a;return b};
Hc=function(){this.g="";this.l=Gc};
Ic=function(a){var b=new Hc;b.g=a;return b};
Kc=function(a){if(a instanceof Ac)return'url("'+g.Bc(a).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';if(a instanceof qc)a=rc(a);else{a=String(a);var b=a.replace(Daa,"$1").replace(Jc,"url");if(Eaa.test(b)){for(var c=b=!0,d=0;d<a.length;d++){var e=a.charAt(d);"'"==e&&c?b=!b:'"'==e&&b&&(c=!c)}a=b&&c?Faa(a):"zClosurez"}else a="zClosurez"}return a};
Faa=function(a){return a.replace(Jc,function(a,c,d,e){var b="";d=d.replace(/^(['"])(.*)\1$/,function(a,c,d){b=c;return d});
a=g.Ec(d).Le();return c+b+a+b+e})};
g.Mc=function(){this.g="";this.o=Lc;this.l=null};
g.Nc=function(a){if(a instanceof g.Mc&&a.constructor===g.Mc&&a.o===Lc)return a.g;xa(a);return"type_error:SafeHtml"};
Pc=function(a){if(a instanceof g.Mc)return a;var b=null;a.Lr&&(b=a.ij());a=g.pb(a.xg?a.Le():String(a));return Oc(a,b)};
Gaa=function(a){function b(a){g.ya(a)?(0,g.C)(a,b):(a=Pc(a),d+=g.Nc(a),a=a.ij(),0==c?c=a:0!=a&&c!=a&&(c=null))}
var c=0,d="";(0,g.C)(arguments,b);return Oc(d,c)};
Oc=function(a,b){var c=new g.Mc;c.g=a;c.l=b;return c};
Rc=function(a,b,c){var d=null,e="";if(b)for(q in b){if(!Qc.test(q))throw Error('Invalid attribute name "'+q+'".');var f=b[q];if(null!=f){var k=a;var l=q;var m=f;if(m instanceof qc)m=rc(m);else if("style"==l.toLowerCase()){f=void 0;k=m;if(!g.Ba(k))throw Error('The "style" attribute requires goog.html.SafeStyle or map of style properties, '+typeof k+" given: "+k);if(!(k instanceof Hc)){m="";for(f in k){if(!/^[-_a-zA-Z0-9]+$/.test(f))throw Error("Name allows only [-_a-zA-Z0-9], got: "+f);var n=k[f];
null!=n&&(n=g.ya(n)?(0,g.H)(n,Kc).join(" "):Kc(n),m+=f+":"+n+";")}k=m?Ic(m):Haa}k instanceof Hc&&k.constructor===Hc&&k.l===Gc?f=k.g:(xa(k),f="type_error:SafeStyle");m=f}else{if(/^on/i.test(l))throw Error('Attribute "'+l+'" requires goog.string.Const value, "'+m+'" given.');if(l.toLowerCase()in Iaa)if(m instanceof wc)m=xc(m);else if(m instanceof Ac)m=g.Bc(m);else if(g.u(m))m=g.Ec(m).Le();else throw Error('Attribute "'+l+'" on tag "'+k+'" requires goog.html.SafeUrl, goog.string.Const, or string, value "'+
m+'" given.');}m.xg&&(m=m.Le());l=l+'="'+g.pb(String(m))+'"';e+=" "+l}}var q="<"+a+e;null!=c?g.ya(c)||(c=[c]):c=[];!0===Jaa[a.toLowerCase()]?q+=">":(d=Gaa(c),q+=">"+g.Nc(d)+"</"+a+">",d=d.ij());(a=b&&b.dir)&&(/^(ltr|rtl|auto)$/i.test(a)?d=0:d=null);return Oc(q,d)};
Sc=function(a,b,c){var d={},e;for(e in a)d[e]=a[e];for(e in b)d[e]=b[e];for(e in c){var f=e.toLowerCase();if(f in a)throw Error('Cannot override "'+f+'" attribute, got "'+e+'" with value "'+c[e]+'"');f in b&&delete d[f];d[e]=c[e]}return d};
g.Tc=function(a,b){var c=b instanceof Ac?b:Fc(b);a.href=g.Bc(c)};
g.Uc=function(a,b){a.src=xc(b)};
g.Vc=function(a,b){rc(a);rc(a);return Oc(b,null)};
g.Wc=function(a,b,c){return Math.min(Math.max(a,b),c)};
g.Xc=function(a,b){var c=a%b;return 0>c*b?c+b:c};
Yc=function(a,b,c){return a+c*(b-a)};
g.Zc=function(a){return a*Math.PI/180};
g.$c=function(a,b){this.x=g.t(a)?a:0;this.y=g.t(b)?b:0};
ad=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1};
g.bd=function(a,b){return new g.$c(a.x-b.x,a.y-b.y)};
g.cd=function(a,b){this.width=a;this.height=b};
g.dd=function(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1};
g.id=function(a){return a?new fd(g.gd(a)):hd||(hd=new fd)};
g.jd=function(a){return g.u(a)?window.document.getElementById(a):a};
g.ld=function(a,b){var c=b||window.document;return c.querySelectorAll&&c.querySelector?c.querySelectorAll("."+a):g.kd(window.document,"*",a,b)};
g.I=function(a,b){var c=b||window.document;if(c.getElementsByClassName)c=c.getElementsByClassName(a)[0];else{c=window.document;var d=b||c;c=d.querySelectorAll&&d.querySelector&&a?d.querySelector(a?"."+a:""):g.kd(c,"*",a,b)[0]||null}return c||null};
g.kd=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.Oa(b.split(/\s+/),c)&&(d[e++]=k);d.length=e;return d}return a};
g.nd=function(a,b){g.Ib(b,function(b,d){b&&b.xg&&(b=b.Le());"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:md.hasOwnProperty(d)?a.setAttribute(md[d],b):g.kb(d,"aria-")||g.kb(d,"data-")?a.setAttribute(d,b):a[d]=b})};
g.qd=function(a){a=a.document;a=g.od(a)?a.documentElement:a.body;return new g.cd(a.clientWidth,a.clientHeight)};
g.td=function(a){var b=rd(a);a=a.parentWindow||a.defaultView;return g.sd&&g.nc("10")&&a.pageYOffset!=b.scrollTop?new g.$c(b.scrollLeft,b.scrollTop):new g.$c(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)};
rd=function(a){return a.scrollingElement?a.scrollingElement:!g.ud&&g.od(a)?a.documentElement:a.body||a.documentElement};
vd=function(a){return a?a.parentWindow||a.defaultView:window};
g.J=function(a,b,c){return wd(window.document,arguments)};
wd=function(a,b){var c=String(b[0]),d=b[1];if(!Kaa&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',g.pb(d.name),'"');if(d.type){c.push(' type="',g.pb(d.type),'"');var e={};g.bc(e,d);delete e.type;d=e}c.push(">");c=c.join("")}c=a.createElement(c);d&&(g.u(d)?c.className=d:g.ya(d)?c.className=d.join(" "):g.nd(c,d));2<b.length&&xd(a,c,b,2);return c};
xd=function(a,b,c,d){function e(c){c&&b.appendChild(g.u(c)?a.createTextNode(c):c)}
for(;d<c.length;d++){var f=c[d];!g.za(f)||g.Ba(f)&&0<f.nodeType?e(f):(0,g.C)(Laa(f)?g.Wa(f):f,e)}};
g.zd=function(a){return window.document.createElement(String(a))};
g.Ad=function(a){return window.document.createTextNode(String(a))};
g.od=function(a){return"CSS1Compat"==a.compatMode};
g.Bd=function(a,b){a.appendChild(b)};
g.Cd=function(a,b){xd(g.gd(a),a,arguments,1)};
g.Dd=function(a){for(var b;b=a.firstChild;)a.removeChild(b)};
Ed=function(a,b,c){a.insertBefore(b,a.childNodes[c]||null)};
g.Fd=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null};
g.Gd=function(a,b){var c=b.parentNode;c&&c.replaceChild(a,b)};
g.Id=function(a){return Maa&&void 0!=a.children?a.children:(0,g.Hd)(a.childNodes,function(a){return 1==a.nodeType})};
g.Kd=function(a){return g.t(a.firstElementChild)?a.firstElementChild:Jd(a.firstChild)};
Jd=function(a){for(;a&&1!=a.nodeType;)a=a.nextSibling;return a};
g.Ld=function(a){var b;if(Naa&&!(g.sd&&g.nc("9")&&!g.nc("10")&&g.w.SVGElement&&a instanceof g.w.SVGElement)&&(b=a.parentElement))return b;b=a.parentNode;return g.Ba(b)&&1==b.nodeType?b:null};
g.Md=function(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a};
g.gd=function(a){return 9==a.nodeType?a:a.ownerDocument||a.document};
Nd=function(a){try{return a.contentWindow||(a.contentDocument?vd(a.contentDocument):null)}catch(b){}return null};
g.Od=function(a,b){if("textContent"in a)a.textContent=b;else if(3==a.nodeType)a.data=String(b);else if(a.firstChild&&3==a.firstChild.nodeType){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=String(b)}else{g.Dd(a);var c=g.gd(a);a.appendChild(c.createTextNode(String(b)))}};
Pd=function(a){if("outerHTML"in a)return a.outerHTML;var b=g.gd(a).createElement("DIV");b.appendChild(a.cloneNode(!0));return b.innerHTML};
g.Sd=function(a){var b;if((b="A"==a.tagName||"INPUT"==a.tagName||"TEXTAREA"==a.tagName||"SELECT"==a.tagName||"BUTTON"==a.tagName?!a.disabled&&(!Qd(a)||Rd(a)):Qd(a)&&Rd(a))&&g.sd){var c;!g.Aa(a.getBoundingClientRect)||g.sd&&null==a.parentElement?c={height:a.offsetHeight,width:a.offsetWidth}:c=a.getBoundingClientRect();a=null!=c&&0<c.height&&0<c.width}else a=b;return a};
Qd=function(a){return g.sd&&!g.nc("9")?(a=a.getAttributeNode("tabindex"),null!=a&&a.specified):a.hasAttribute("tabindex")};
Rd=function(a){a=a.tabIndex;return g.ua(a)&&0<=a&&32768>a};
Laa=function(a){if(a&&"number"==typeof a.length){if(g.Ba(a))return"function"==typeof a.item||"string"==typeof a.item;if(g.Aa(a))return"function"==typeof a.item}return!1};
g.Ud=function(a,b,c,d){if(!b&&!c)return null;var e=b?String(b).toUpperCase():null;return g.Td(a,function(a){return(!e||a.nodeName==e)&&(!c||g.u(a.className)&&g.Oa(a.className.split(/\s+/),c))},!0,d)};
g.Vd=function(a,b){return g.Ud(a,null,b,void 0)};
g.Td=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};
g.Wd=function(){var a=window.document;try{return a&&a.activeElement}catch(b){}return null};
fd=function(a){this.g=a||g.w.document||window.document};
g.Xd=function(a){a=a.g;return a.parentWindow||a.defaultView};
g.Yd=function(a){Oaa();return yc(a)};
g.Zd=function(a){for(var b=[],c=0,d=0;d<a.length;d++){var e=a.charCodeAt(d);255<e&&(b[c++]=e&255,e>>=8);b[c++]=e}return b};
g.$d=function(a){if(8192>=a.length)return String.fromCharCode.apply(null,a);for(var b="",c=0;c<a.length;c+=8192){var d=g.Ya(a,c,c+8192);b+=String.fromCharCode.apply(null,d)}return b};
Paa=function(a){return(0,g.H)(a,function(a){a=a.toString(16);return 1<a.length?a:"0"+a}).join("")};
g.de=function(a,b){g.za(a);ae();for(var c=b?be:ce,d=[],e=0;e<a.length;e+=3){var f=a[e],k=e+1<a.length,l=k?a[e+1]:0,m=e+2<a.length,n=m?a[e+2]:0,q=f>>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("")};
fe=function(a){var b=[];ee(a,function(a){b.push(a)});
return b};
ge=function(a){var b=a.length,c=0;"="===a[b-2]?c=2:"="===a[b-1]&&(c=1);var d=new window.Uint8Array(Math.ceil(3*b/4)-c),e=0;ee(a,function(a){d[e++]=a});
return d.subarray(0,e)};
ee=function(a,b){function c(b){for(;d<a.length;){var c=a.charAt(d++),e=he[c];if(null!=e)return e;if(!g.D(c))throw Error("Unknown base64 encoding at char: "+c);}return b}
ae();for(var d=0;;){var e=c(-1),f=c(0),k=c(64),l=c(64);if(64===l&&-1===e)break;b(e<<2|f>>4);64!=k&&(b(f<<4&240|k>>2),64!=l&&b(k<<6&192|l))}};
ae=function(){if(!ce){ce={};he={};be={};for(var a=0;65>a;a++)ce[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(a),he[ce[a]]=a,be[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a),62<=a&&(he["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a)]=a)}};
je=function(a,b,c){this.l=null;this.C=this.D=this.g=this.o=this.A=0;this.B=!1;a&&ie(this,a,b,c)};
le=function(a,b,c){if(ke.length){var d=ke.pop();a&&ie(d,a,b,c);return d}return new je(a,b,c)};
ie=function(a,b,c,d){b=b.constructor===window.Uint8Array?b:b.constructor===window.ArrayBuffer?new window.Uint8Array(b):b.constructor===Array?new window.Uint8Array(b):b.constructor===String?ge(b):new window.Uint8Array(0);a.l=b;a.A=g.t(c)?c:0;a.o=g.t(d)?a.A+d:a.l.length;a.g=a.A};
me=function(a){var b=a.l;var c=b[a.g+0];var d=c&127;if(128>c)return a.g+=1,d;c=b[a.g+1];d|=(c&127)<<7;if(128>c)return a.g+=2,d;c=b[a.g+2];d|=(c&127)<<14;if(128>c)return a.g+=3,d;c=b[a.g+3];d|=(c&127)<<21;if(128>c)return a.g+=4,d;c=b[a.g+4];d|=(c&15)<<28;if(128>c)return a.g+=5,d>>>0;a.g+=5;128<=b[a.g++]&&128<=b[a.g++]&&128<=b[a.g++]&&128<=b[a.g++]&&a.g++;return d};
ne=function(a){this.g=le(a,void 0,void 0);this.l=this.o=-1;this.A=!1};
oe=function(a){var b=a.g;if(b.g==b.o||a.getError())return!1;b=me(a.g);var c=b&7;if(0!=c&&5!=c&&1!=c&&2!=c&&3!=c&&4!=c)return a.A=!0,!1;a.o=b>>>3;a.l=c;return!0};
pe=function(a){switch(a.l){case 0:if(0!=a.l)pe(a);else{for(a=a.g;a.l[a.g]&128;)a.g++;a.g++}break;case 1:1!=a.l?pe(a):(a=a.g,a.g+=8);break;case 2:if(2!=a.l)pe(a);else{var b=me(a.g);a=a.g;a.g+=b}break;case 5:5!=a.l?pe(a):(a=a.g,a.g+=4);break;case 3:b=[a.o];do{if(!oe(a)){a.A=!0;break}if(3==a.l)b.push(a.o);else if(4==a.l&&a.o!=b.pop()){a.A=!0;break}}while(0<b.length)}};
qe=function(a){var b=me(a.g);a=a.g;var c=a.l,d=a.g;b=d+b;for(var e=[],f="";d<b;){var k=c[d++];if(128>k)e.push(k);else if(192>k)continue;else if(224>k){var l=c[d++];e.push((k&31)<<6|l&63)}else if(240>k){l=c[d++];var m=c[d++];e.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;e.push((k>>10&1023)+55296,(k&1023)+56320)}8192<=e.length&&(f+=String.fromCharCode.apply(null,e),e.length=0)}f+=g.$d(e);a.g=d;return f};
re=function(a){var b=me(a.g);a=a.g;if(0>b||a.g+b>a.l.length)a.B=!0,b=new window.Uint8Array(0);else{var c=a.l.subarray(a.g,a.g+b);a.g+=b;b=c}return b};
se=function(){};
ye=function(a,b,c,d){a.g=null;b||(b=[]);a.D=void 0;a.A=-1;a.l=b;a:{if(a.l.length){b=a.l.length-1;var e=a.l[b];if(e&&"object"==typeof e&&!g.ya(e)&&!(te&&e instanceof window.Uint8Array)){a.B=b-a.A;a.o=e;break a}}a.B=Number.MAX_VALUE}a.C={};if(c)for(b=0;b<c.length;b++)e=c[b],e<a.B?(e+=a.A,a.l[e]=a.l[e]||ue):(ve(a),a.o[e]=a.o[e]||ue);if(d&&d.length)for(b=0;b<d.length;b++){e=c=void 0;for(var f=a,k=d[b],l=0;l<k.length;l++){var m=k[l],n=we(f,m);null!=n&&(e=m,c=n,xe(f,m,void 0))}e&&xe(f,e,c)}};
ve=function(a){var b=a.B+a.A;a.l[b]||(a.o=a.l[b]={})};
we=function(a,b){if(b<a.B){var c=b+a.A,d=a.l[c];return d===ue?a.l[c]=[]:d}if(a.o)return d=a.o[b],d===ue?a.o[b]=[]:d};
ze=function(a,b){if(b<a.B){var c=b+a.A,d=a.l[c];return d===ue?a.l[c]=[]:d}d=a.o[b];return d===ue?a.o[b]=[]:d};
Qaa=function(a){if(null==a||a instanceof window.Uint8Array)return a;if(g.u(a))return ge(a);xa(a);return null};
xe=function(a,b,c){b<a.B?a.l[b+a.A]=c:(ve(a),a.o[b]=c)};
Ae=function(a,b,c){a.g||(a.g={});if(!a.g[c]){var d=we(a,c);d&&(a.g[c]=new b(d))}return a.g[c]};
Raa=function(a){Be(a,Ce,1);var b=a.g[1];b==ue&&(b=a.g[1]=[]);return b};
Be=function(a,b,c){a.g||(a.g={});if(!a.g[c]){for(var d=ze(a,c),e=[],f=0;f<d.length;f++)e[f]=new b(d[f]);a.g[c]=e}};
Ee=function(a){if(a.g)for(var b in a.g){var c=a.g[b];if(g.ya(c))for(var d=0;d<c.length;d++)c[d]&&De(c[d]);else c&&De(c)}};
De=function(a){Ee(a);return a.l};
Fe=function(a){if(g.ya(a)){for(var b=Array(a.length),c=0;c<a.length;c++){var d=a[c];null!=d&&(b[c]="object"==typeof d?Fe(d):d)}return b}if(te&&a instanceof window.Uint8Array)return new window.Uint8Array(a);b={};for(c in a)d=a[c],null!=d&&(b[c]="object"==typeof d?Fe(d):d);return b};
Ge=function(a){ye(this,a,null,null)};
Ie=function(a){return Ae(a,He,1)};
He=function(a){ye(this,a,null,null)};
Je=function(a){ye(this,a,null,Saa)};
Ke=function(a){ye(this,a,null,Taa)};
Le=function(a){ye(this,a,null,Uaa)};
Me=function(a){ye(this,a,null,null)};
Ne=function(a){ye(this,a,null,null)};
Oe=function(a){ye(this,a,null,null)};
Pe=function(a){ye(this,a,null,null)};
Qe=function(a){ye(this,a,null,null)};
Re=function(a){ye(this,a,Vaa,null)};
Ce=function(a){ye(this,a,null,null)};
Se=function(a){for(var b=[],c=a=vd(a.ownerDocument);c!=a.top;c=c.parent)if(c.frameElement)b.push(c.frameElement);else break;return b};
g.K=function(){this.ub=this.ub;this.Ya=this.Ya};
g.M=function(a,b){g.Te(a,g.Ea(g.Ue,b))};
g.Te=function(a,b){a.ub?g.t(void 0)?b.call(void 0):b():(a.Ya||(a.Ya=[]),a.Ya.push(g.t(void 0)?(0,g.z)(b,void 0):b))};
g.Ue=function(a){a&&"function"==typeof a.dispose&&a.dispose()};
g.Ve=function(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];g.za(d)?g.Ve.apply(null,d):g.Ue(d)}};
g.We=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.Hi=!1;this.ZB=!0};
Xe=function(a){a.stopPropagation()};
Ze=function(a){return g.ud?"webkit"+a:g.Ye?"o"+a.toLowerCase():a.toLowerCase()};
$e=function(a,b){g.We.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.g=null;a&&this.init(a,b)};
g.bf=function(a){return!(!a||!a[g.af])};
Xaa=function(a,b,c,d,e){this.listener=a;this.g=null;this.src=b;this.type=c;this.capture=!!d;this.Kf=e;this.key=++Waa;this.Pj=this.Qm=!1};
cf=function(a){a.Pj=!0;a.listener=null;a.g=null;a.src=null;a.Kf=null};
df=function(a){this.src=a;this.listeners={};this.g=0};
ef=function(a,b){var c=b.type;if(!(c in a.listeners))return!1;var d=g.Ta(a.listeners[c],b);d&&(cf(b),0==a.listeners[c].length&&(delete a.listeners[c],a.g--));return d};
g.ff=function(a){var b=0,c;for(c in a.listeners){for(var d=a.listeners[c],e=0;e<d.length;e++)++b,cf(d[e]);delete a.listeners[c];a.g--}};
gf=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.Pj&&f.listener==b&&f.capture==!!c&&f.Kf==d)return e}return-1};
g.jf=function(a,b,c,d,e){if(d&&d.once)return hf(a,b,c,d,e);if(g.ya(b)){for(var f=0;f<b.length;f++)g.jf(a,b[f],c,d,e);return null}c=kf(c);return g.bf(a)?a.R(b,c,g.Ba(d)?!!d.capture:!!d,e):lf(a,b,c,!1,d,e)};
lf=function(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var k=g.Ba(e)?!!e.capture:!!e,l=g.mf(a);l||(a[nf]=l=new df(a));c=l.add(b,c,d,k,f);if(c.g)return c;d=Yaa();c.g=d;d.src=a;d.listener=c;if(a.addEventListener)Zaa||(e=k),void 0===e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(of(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");pf++;return c};
Yaa=function(){var a=$aa,b=qf?function(c){return a.call(b.src,b.listener,c)}:function(c){c=a.call(b.src,b.listener,c);
if(!c)return c};
return b};
hf=function(a,b,c,d,e){if(g.ya(b)){for(var f=0;f<b.length;f++)hf(a,b[f],c,d,e);return null}c=kf(c);return g.bf(a)?a.rh(b,c,g.Ba(d)?!!d.capture:!!d,e):lf(a,b,c,!0,d,e)};
g.rf=function(a,b,c,d,e){if(g.ya(b))for(var f=0;f<b.length;f++)g.rf(a,b[f],c,d,e);else d=g.Ba(d)?!!d.capture:!!d,c=kf(c),g.bf(a)?a.Ca(b,c,d,e):a&&(a=g.mf(a))&&(b=a.Hk(b,c,d,e))&&g.sf(b)};
g.sf=function(a){if(g.ua(a)||!a||a.Pj)return!1;var b=a.src;if(g.bf(b))return ef(b.Ge,a);var c=a.type,d=a.g;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(of(c),d):b.addListener&&b.removeListener&&b.removeListener(d);pf--;(c=g.mf(b))?(ef(c,a),0==c.g&&(c.src=null,b[nf]=null)):cf(a);return!0};
of=function(a){return a in tf?tf[a]:tf[a]="on"+a};
vf=function(a,b,c,d){var e=!0;if(a=g.mf(a))if(b=a.listeners[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var f=b[a];f&&f.capture==c&&!f.Pj&&(f=uf(f,d),e=e&&!1!==f)}return e};
uf=function(a,b){var c=a.listener,d=a.Kf||a.src;a.Qm&&g.sf(a);return c.call(d,b)};
$aa=function(a,b){if(a.Pj)return!0;if(!qf){var c=b||g.x("window.event"),d=new $e(c,this),e=!0;if(!(0>c.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.Hi&&0<=k;k--){d.currentTarget=c[k];var l=vf(c[k],f,!0,d);e=e&&l}for(k=0;!d.Hi&&k<c.length;k++)d.currentTarget=c[k],l=vf(c[k],f,!1,d),e=e&&l}return e}return uf(a,new $e(b,
this))};
g.mf=function(a){a=a[nf];return a instanceof df?a:null};
kf=function(a){if(g.Aa(a))return a;a[wf]||(a[wf]=function(b){return a.handleEvent(b)});
return a[wf]};
g.xf=function(){g.K.call(this);this.Ge=new df(this);this.Pb=this;this.Ga=null};
yf=function(a,b,c,d){b=a.Ge.listeners[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,f=0;f<b.length;++f){var k=b[f];if(k&&!k.Pj&&k.capture==c){var l=k.listener,m=k.Kf||k.src;k.Qm&&ef(a.Ge,k);e=!1!==l.call(m,d)&&e}}return e&&0!=d.ZB};
zf=function(a,b){this.o=a;this.A=b;this.l=0;this.g=null};
Af=function(a,b){a.A(b);100>a.l&&(a.l++,b.next=a.g,a.g=b)};
Bf=function(a){return function(){return a}};
aba=function(a){var b=b||0;return function(){return a.apply(this,Array.prototype.slice.call(arguments,0,b))}};
g.Cf=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}};
Df=function(a){g.w.setTimeout(function(){throw a;},0)};
Gf=function(a,b){var c=a;b&&(c=(0,g.z)(a,b));!g.Aa(g.w.setImmediate)||g.w.Window&&g.w.Window.prototype&&!Hb("Edge")&&g.w.Window.prototype.setImmediate==g.w.setImmediate?(Ef||(Ef=bba()),Ef(c)):g.w.setImmediate(c)};
bba=function(){var a=g.w.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!Hb("Presto")&&(a=function(){var a=window.document.createElement("IFRAME");a.style.display="none";a.src="";window.document.documentElement.appendChild(a);var b=a.contentWindow;a=b.document;a.open();a.write("");a.close();var c="callImmediate"+Math.random(),d="file:"==b.location.protocol?"*":b.location.protocol+"//"+b.location.host;a=(0,g.z)(function(a){if(("*"==
d||a.origin==d)&&a.data==c)this.port1.onmessage()},this);
b.addEventListener("message",a,!1);this.port1={};this.port2={postMessage:function(){b.postMessage(c,d)}}});
if("undefined"!==typeof a&&!Hb("Trident")&&!Hb("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(g.t(c.next)){c=c.next;var a=c.Zv;c.Zv=null;a()}};
return function(a){d.next={Zv:a};d=d.next;b.port2.postMessage(0)}}return"undefined"!==typeof window.document&&"onreadystatechange"in window.document.createElement("SCRIPT")?function(a){var b=window.document.createElement("SCRIPT");
b.onreadystatechange=function(){b.onreadystatechange=null;b.parentNode.removeChild(b);b=null;a();a=null};
window.document.documentElement.appendChild(b)}:function(a){g.w.setTimeout(a,0)}};
Hf=function(){this.l=this.g=null};
If=function(){this.next=this.scope=this.g=null};
g.Mf=function(a,b){Jf||cba();Kf||(Jf(),Kf=!0);Lf.add(a,b)};
cba=function(){if(-1!=String(g.w.Promise).indexOf("[native code]")){var a=g.w.Promise.resolve(void 0);Jf=function(){a.then(Nf)}}else Jf=function(){Gf(Nf)}};
Nf=function(){for(var a;a=Lf.remove();){try{a.g.call(a.scope)}catch(b){Df(b)}Af(Of,a)}Kf=!1};
Pf=function(a){a.prototype.then=a.prototype.then;a.prototype.$goog_Thenable=!0};
Qf=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};
g.Sf=function(a,b){this.g=0;this.D=void 0;this.A=this.l=this.o=null;this.B=this.C=!1;if(a!=g.y)try{var c=this;a.call(b,function(a){Rf(c,2,a)},function(a){Rf(c,3,a)})}catch(d){Rf(this,3,d)}};
Tf=function(){this.next=this.context=this.l=this.A=this.g=null;this.o=!1};
Vf=function(a,b,c){var d=Uf.get();d.A=a;d.l=b;d.context=c;return d};
Wf=function(a){if(a instanceof g.Sf)return a;var b=new g.Sf(g.y);Rf(b,2,a);return b};
Xf=function(a){return new g.Sf(function(b,c){c(a)})};
Zf=function(a,b,c){Yf(a,b,c,null)||g.Mf(g.Ea(b,a))};
$f=function(a){return new g.Sf(function(b,c){a.length||b(void 0);for(var d=0,e;d<a.length;d++)e=a[d],Zf(e,b,c)})};
g.ag=function(a){return new g.Sf(function(b,c){var d=a.length,e=[];if(d)for(var f=function(a,c){d--;e[a]=c;0==d&&b(e)},k=function(a){c(a)},l=0,m;l<a.length;l++)m=a[l],Zf(m,g.Ea(f,l),k);
else b(e)})};
eba=function(){var a,b,c=new g.Sf(function(c,e){a=c;b=e});
return new dba(c,a,b)};
cg=function(a,b){var c=Vf(b,b,void 0);c.o=!0;bg(a,c);return a};
g.eg=function(a,b){return dg(a,null,b,void 0)};
fg=function(a,b){if(0==a.g)if(a.o){var c=a.o;if(c.l){for(var d=0,e=null,f=null,k=c.l;k&&(k.o||(d++,k.g==a&&(e=k),!(e&&1<d)));k=k.next)e||(f=k);e&&(0==c.g&&1==d?fg(c,b):(f?(d=f,d.next==c.A&&(c.A=d),d.next=d.next.next):gg(c),hg(c,e,3,b)))}a.o=null}else Rf(a,3,b)};
bg=function(a,b){a.l||2!=a.g&&3!=a.g||ig(a);a.A?a.A.next=b:a.l=b;a.A=b};
dg=function(a,b,c,d){var e=Vf(null,null,null);e.g=new g.Sf(function(a,k){e.A=b?function(c){try{var e=b.call(d,c);a(e)}catch(n){k(n)}}:a;
e.l=c?function(b){try{var e=c.call(d,b);!g.t(e)&&b instanceof jg?k(b):a(e)}catch(n){k(n)}}:k});
e.g.o=a;bg(a,e);return e.g};
Rf=function(a,b,c){0==a.g&&(a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself")),a.g=1,Yf(c,a.H,a.I,a)||(a.D=c,a.g=b,a.o=null,ig(a),3!=b||c instanceof jg||fba(a,c)))};
Yf=function(a,b,c,d){if(a instanceof g.Sf)return bg(a,Vf(b||g.y,c||null,d)),!0;if(Qf(a))return a.then(b,c,d),!0;if(g.Ba(a))try{var e=a.then;if(g.Aa(e))return gba(a,e,b,c,d),!0}catch(f){return c.call(d,f),!0}return!1};
gba=function(a,b,c,d,e){function f(a){l||(l=!0,d.call(e,a))}
function k(a){l||(l=!0,c.call(e,a))}
var l=!1;try{b.call(a,k,f)}catch(m){f(m)}};
ig=function(a){a.C||(a.C=!0,g.Mf(a.F,a))};
gg=function(a){var b=null;a.l&&(b=a.l,a.l=b.next,b.next=null);a.l||(a.A=null);return b};
hg=function(a,b,c,d){if(3==c&&b.l&&!b.o)for(;a&&a.B;a=a.o)a.B=!1;if(b.g)b.g.o=null,kg(b,c,d);else try{b.o?b.A.call(b.context):kg(b,c,d)}catch(e){lg.call(null,e)}Af(Uf,b)};
kg=function(a,b,c){2==b?a.A.call(a.context,c):a.l&&a.l.call(a.context,c)};
fba=function(a,b){a.B=!0;g.Mf(function(){a.B&&lg.call(null,b)})};
jg=function(a){Ha.call(this,a)};
dba=function(a,b,c){this.g=a;this.resolve=b;this.reject=c};
g.mg=function(a,b){g.xf.call(this);this.uc=a||1;this.dk=b||g.w;this.fq=(0,g.z)(this.Wc,this);this.gs=(0,g.G)()};
g.ng=function(a,b,c){if(g.Aa(a))c&&(a=(0,g.z)(a,c));else if(a&&"function"==typeof a.handleEvent)a=(0,g.z)(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:g.w.setTimeout(a,b||0)};
g.og=function(a){g.w.clearTimeout(a)};
pg=function(a,b){var c=null;return g.eg(new g.Sf(function(d,e){c=g.ng(function(){d(b)},a);
-1==c&&e(Error("Failed to schedule timer."))}),function(a){g.og(c);
throw a;})};
qg=function(){return Math.round((0,g.G)()/1E3)};
hba=function(a){var b=window.performance&&window.performance.timing&&window.performance.timing.domLoading&&0<window.performance.timing.domLoading?Math.round(window.performance.timing.domLoading/1E3):null;return null!=b?b:null!=a?a:qg()};
iba=function(){this.l=-1};
jba=function(a){return/^\s*$/.test(a)?!1:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/(?:"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)[\s\u2028\u2029]*(?=:|,|]|}|$)/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,""))};
kba=function(a){try{return g.w.JSON.parse(a)}catch(d){var b=d}a=String(a);if(jba(a))try{var c=eval("("+a+")");b&&rg("Invalid JSON: "+a,b);return c}catch(d){}throw Error("Invalid JSON string: "+a);};
g.tg=function(a){var b=[];sg(new lba,a,b);return b.join("")};
lba=function(){};
sg=function(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(g.ya(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f<b;f++)c.push(e),sg(a,d[f],c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");e="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(f=b[d],"function"!=typeof f&&(c.push(e),ug(d,c),c.push(":"),sg(a,f,c),e=","));c.push("}");return}}switch(typeof b){case "string":ug(b,c);break;case "number":c.push((0,window.isFinite)(b)&&
!(0,window.isNaN)(b)?String(b):"null");break;case "boolean":c.push(String(b));break;case "function":c.push("null");break;default:throw Error("Unknown type: "+typeof b);}}};
ug=function(a,b){b.push('"',a.replace(mba,function(a){var b=vg[a];b||(b="\\u"+(a.charCodeAt(0)|65536).toString(16).substr(1),vg[a]=b);return b}),'"')};
wg=function(a){this.g=a||{cookie:""}};
xg=function(a){a=(a.g.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=xb(a[f]),d=e.indexOf("="),-1==d?(b.push(""),c.push(e)):(b.push(e.substring(0,d)),c.push(e.substring(d+1)));return{keys:b,values:c}};
g.yg=function(a,b,c,d,e,f,k){var l="";a&&(l+=a+":");c&&(l+="//",b&&(l+=b+"@"),l+=c,d&&(l+=":"+d));e&&(l+=e);f&&(l+="?"+f);k&&(l+="#"+k);return l};
g.zg=function(a){return a.match(nba)};
g.Ag=function(a){return a?(0,window.decodeURI)(a):a};
g.Bg=function(a){return g.Ag(g.zg(a)[3]||null)};
g.Cg=function(a){return Number(g.zg(a)[4]||null)||null};
Dg=function(a,b){if(a)for(var c=a.split("&"),d=0;d<c.length;d++){var e=c[d].indexOf("="),f=null;if(0<=e){var k=c[d].substring(0,e);f=c[d].substring(e+1)}else k=c[d];b(k,f?ob(f):"")}};
Eg=function(a){var b=a.indexOf("#");0>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)]};
Fg=function(a,b){return b?a?a+"&"+b:b:a};
Gg=function(a,b){if(!b)return a;var c=Eg(a);c[1]=Fg(c[1],b);return c[0]+(c[1]?"?"+c[1]:"")+c[2]};
Hg=function(a,b,c){if(g.ya(b))for(var d=0;d<b.length;d++)Hg(a,String(b[d]),c);else null!=b&&c.push(a+(""===b?"":"="+g.nb(b)))};
Ig=function(a,b){for(var c=[],d=b||0;d<a.length;d+=2)Hg(a[d],a[d+1],c);return c.join("&")};
g.Jg=function(a){var b=[],c;for(c in a)Hg(c,a[c],b);return b.join("&")};
Kg=function(a,b){var c=2==arguments.length?Ig(arguments[1],0):Ig(arguments,1);return Gg(a,c)};
g.Lg=function(a,b){var c=g.Jg(b);return Gg(a,c)};
Mg=function(a,b,c,d){for(var e=c.length;0<=(b=a.indexOf(c,b))&&b<d;){var f=a.charCodeAt(b-1);if(38==f||63==f)if(f=a.charCodeAt(b+e),!f||61==f||38==f||35==f)return b;b+=e+1}return-1};
Og=function(a,b){var c=a.search(Ng),d=Mg(a,0,b,c);if(0>d)return null;var e=a.indexOf("&",d);if(0>e||e>c)e=c;d+=b.length+1;return ob(a.substr(d,e-d))};
g.Pg=function(a,b){for(var c=a.search(Ng),d=0,e,f=[];0<=(e=Mg(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(oba,"$1")};
Qg=function(a,b,c){a=g.Pg(a,b);c=null!=c?"="+g.nb(c):"";return Gg(a,b+c)};
pba=function(a,b){var c=Eg(a),d=c[1],e=[];d&&(0,g.C)(d.split("&"),function(a){var c=a.indexOf("=");b.hasOwnProperty(0<=c?a.substr(0,c):a)||e.push(a)});
c[1]=Fg(e.join("&"),g.Jg(b));return c[0]+(c[1]?"?"+c[1]:"")+c[2]};
Rg=function(){this.g={};return this};
Sg=function(a,b){a.g.eb=Xb(a.g,"eb",0)|b};
g.Tg=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};
Ug=function(a,b){return a==b?!0:a&&b?a.top==b.top&&a.right==b.right&&a.bottom==b.bottom&&a.left==b.left:!1};
Vg=function(a,b,c){b instanceof g.$c?(a.left+=b.x,a.right+=b.x,a.top+=b.y,a.bottom+=b.y):(a.left+=b,a.right+=b,g.ua(c)&&(a.top+=c,a.bottom+=c));return a};
g.Wg=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};
g.Xg=function(a){return new g.Tg(a.top,a.left+a.width,a.top+a.height,a.left)};
g.Yg=function(a,b){return a==b?!0:a&&b?a.left==b.left&&a.width==b.width&&a.top==b.top&&a.height==b.height:!1};
g.Zg=function(a,b){var c=Math.max(a.left,b.left),d=Math.min(a.left+a.width,b.left+b.width);if(c<=d){var e=Math.max(a.top,b.top),f=Math.min(a.top+a.height,b.top+b.height);if(e<=f)return a.left=c,a.top=e,a.width=d-c,a.height=f-e,!0}return!1};
g.$g=function(a){return new g.cd(a.width,a.height)};
g.ah=function(a){return new g.$c(a.left,a.top)};
qba=function(){this.g={};this.l=0};
bh=function(a,b){this.B=a;this.o=!0;this.g=b};
ch=function(a,b){bh.call(this,String(a),b);this.A=a;this.g=!!b};
dh=function(a,b){bh.call(this,a,b)};
eh=function(a){if(a.match(/^-?[0-9]+\.-?[0-9]+\.-?[0-9]+\.-?[0-9]+$/)){a=a.split(".");var b=Number(a[0]),c=Number(a[1]);return new dh("",new g.Wg(c,b,Number(a[3])-c,Number(a[2])-b))}return new dh("",new g.Wg(0,0,0,0))};
gh=function(){fh||(fh=new qba);return fh};
hh=function(a,b){a.g[b.B]=b};
g.jh=function(a,b,c){if(g.u(b))(b=ih(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=ih(c,d);f&&(c.style[f]=e)}};
ih=function(a,b){var c=kh[b];if(!c){var d=Eb(b);c=d;void 0===a.style[d]&&(d=(g.ud?"Webkit":g.lh?"Moz":g.sd?"ms":g.Ye?"O":null)+taa(d),void 0!==a.style[d]&&(c=d));kh[b]=c}return c};
mh=function(a,b){var c=a.style[Eb(b)];return"undefined"!==typeof c?c:a.style[ih(a,b)]||""};
nh=function(a,b){var c=g.gd(a);return c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,null))?c[b]||c.getPropertyValue(b)||"":""};
g.oh=function(a,b){return nh(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]};
g.qh=function(a,b,c){if(b instanceof g.$c){var d=b.x;b=b.y}else d=b,b=c;a.style.left=ph(d,!1);a.style.top=ph(b,!1)};
rh=function(a){return new g.$c(a.offsetLeft,a.offsetTop)};
sh=function(a){try{var b=a.getBoundingClientRect()}catch(c){return{left:0,top:0,right:0,bottom:0}}g.sd&&a.ownerDocument.body&&(a=a.ownerDocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+a.body.clientTop);return b};
g.th=function(a){if(g.sd&&!g.oc(8))return a.offsetParent;var b=g.gd(a),c=g.oh(a,"position"),d="fixed"==c||"absolute"==c;for(a=a.parentNode;a&&a!=b;a=a.parentNode)if(11==a.nodeType&&a.host&&(a=a.host),c=g.oh(a,"position"),d=d&&"static"==c&&a!=b.documentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||"fixed"==c||"absolute"==c||"relative"==c))return a;return null};
g.vh=function(a){for(var b=new g.Tg(0,window.Infinity,window.Infinity,0),c=g.id(a),d=c.g.body,e=c.g.documentElement,f=rd(c.g);a=g.th(a);)if(!(g.sd&&0==a.clientWidth||g.ud&&0==a.clientHeight&&a==d)&&a!=d&&a!=e&&"visible"!=g.oh(a,"overflow")){var k=g.uh(a),l=new g.$c(a.clientLeft,a.clientTop);k.x+=l.x;k.y+=l.y;b.top=Math.max(b.top,k.y);b.right=Math.min(b.right,k.x+a.clientWidth);b.bottom=Math.min(b.bottom,k.y+a.clientHeight);b.left=Math.max(b.left,k.x)}d=f.scrollLeft;f=f.scrollTop;b.left=Math.max(b.left,
d);b.top=Math.max(b.top,f);c=g.qd(g.Xd(c)||window);b.right=Math.min(b.right,d+c.width);b.bottom=Math.min(b.bottom,f+c.height);return 0<=b.top&&0<=b.left&&b.bottom>b.top&&b.right>b.left?b:null};
g.uh=function(a){var b=g.gd(a),c=new g.$c(0,0);var d=b?g.gd(b):window.document;d=!g.sd||g.oc(9)||g.od(g.id(d).g)?d.documentElement:d.body;if(a==d)return c;a=sh(a);b=g.td(g.id(b).g);c.x=a.left+b.x;c.y=a.top+b.y;return c};
g.xh=function(a,b){var c=new g.$c(0,0),d=vd(g.gd(a));if(!kc(d,"parent"))return c;var e=a;do{var f=d==b?g.uh(e):wh(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.zh=function(a,b){var c=g.yh(a),d=g.yh(b);return new g.$c(c.x-d.x,c.y-d.y)};
wh=function(a){a=sh(a);return new g.$c(a.left,a.top)};
g.yh=function(a){if(1==a.nodeType)return wh(a);a=a.changedTouches?a.changedTouches[0]:a;return new g.$c(a.clientX,a.clientY)};
g.Bh=function(a,b,c){if(b instanceof g.cd)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");g.Ah(a,b);a.style.height=ph(c,!0)};
ph=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a};
g.Ah=function(a,b){a.style.width=ph(b,!0)};
g.Ch=function(a){var b=rba;if("none"!=g.oh(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};
rba=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=g.ud&&!b&&!c;return g.t(b)&&!d||!a.getBoundingClientRect?new g.cd(b,c):(a=sh(a),new g.cd(a.right-a.left,a.bottom-a.top))};
g.Dh=function(a){var b=g.uh(a);a=g.Ch(a);return new g.Wg(b.x,b.y,a.width,a.height)};
g.Eh=function(a,b){var c=a.style;"opacity"in c?c.opacity=b:"MozOpacity"in c?c.MozOpacity=b:"filter"in c&&(c.filter=""===b?"":"alpha(opacity="+100*Number(b)+")")};
g.N=function(a,b){a.style.display=b?"":"none"};
g.Fh=function(a){return"none"!=a.style.display};
g.Gh=function(a,b,c,d){if(/^\d+px?$/.test(b))return(0,window.parseInt)(b,10);var e=a.style[c],f=a.runtimeStyle[c];a.runtimeStyle[c]=a.currentStyle[c];a.style[c]=b;b=a.style[d];a.style[c]=e;a.runtimeStyle[c]=f;return+b};
Hh=function(a,b){var c=a.currentStyle?a.currentStyle[b]:null;return c?g.Gh(a,c,"left","pixelLeft"):0};
g.Ih=function(a){if(g.sd){var b=Hh(a,"paddingLeft"),c=Hh(a,"paddingRight"),d=Hh(a,"paddingTop");a=Hh(a,"paddingBottom");return new g.Tg(d,c,a,b)}b=nh(a,"paddingLeft");c=nh(a,"paddingRight");d=nh(a,"paddingTop");a=nh(a,"paddingBottom");return new g.Tg((0,window.parseFloat)(d),(0,window.parseFloat)(c),(0,window.parseFloat)(a),(0,window.parseFloat)(b))};
Kh=function(a,b){if("none"==(a.currentStyle?a.currentStyle[b+"Style"]:null))return 0;var c=a.currentStyle?a.currentStyle[b+"Width"]:null;return c in Jh?Jh[c]:g.Gh(a,c,"left","pixelLeft")};
g.Lh=function(a){if(g.sd&&!g.oc(9)){var b=Kh(a,"borderLeft"),c=Kh(a,"borderRight"),d=Kh(a,"borderTop");a=Kh(a,"borderBottom");return new g.Tg(d,c,a,b)}b=nh(a,"borderLeftWidth");c=nh(a,"borderRightWidth");d=nh(a,"borderTopWidth");a=nh(a,"borderBottomWidth");return new g.Tg((0,window.parseFloat)(d),(0,window.parseFloat)(c),(0,window.parseFloat)(a),(0,window.parseFloat)(b))};
Mh=function(a){var b=new g.Wg(-Number.MAX_VALUE/2,-Number.MAX_VALUE/2,Number.MAX_VALUE,Number.MAX_VALUE),c=new g.Wg(0,0,0,0);if(!a||0==a.length)return c;for(var d=0;d<a.length;d++)if(!g.Zg(b,a[d]))return c;return b};
Nh=function(a,b){var c=a.getBoundingClientRect(),d=g.xh(a,b);return new g.Wg(Math.round(d.x),Math.round(d.y),Math.round(c.right-c.left),Math.round(c.bottom-c.top))};
Oh=function(a,b,c){if(b&&c){a:{var d=Math.max(b.left,c.left);var e=Math.min(b.left+b.width,c.left+c.width);if(d<=e){var f=Math.max(b.top,c.top),k=Math.min(b.top+b.height,c.top+c.height);if(f<=k){d=new g.Wg(d,f,e-d,k-f);break a}}d=null}e=d?d.height*d.width:0;f=d?b.height*b.width:0;d=d&&f?Math.round(e/f*100):0;hh(a,new bh("vp",d));d&&0<d?(e=g.Xg(b),f=g.Xg(c),e=e.top>=f.top&&e.top<f.bottom):e=!1;hh(a,new ch(512,e));d&&0<d?(e=g.Xg(b),f=g.Xg(c),e=e.bottom<=f.bottom&&e.bottom>f.top):e=!1;hh(a,new ch(1024,
e));d&&0<d?(e=g.Xg(b),f=g.Xg(c),e=e.left>=f.left&&e.left<f.right):e=!1;hh(a,new ch(2048,e));d&&0<d?(b=g.Xg(b),c=g.Xg(c),c=b.right<=c.right&&b.right>c.left):c=!1;hh(a,new ch(4096,c))}};
sba=function(a,b){var c=0;g.Pb(vd(),"ima","video","client","tagged")&&(c=1);var d=null;a&&(d=a());if(d){var e=d;d=gh();d.g={};var f=new ch(32,!0);f.o=!1;hh(d,f);f=vd().document;f=f.visibilityState||f.webkitVisibilityState||f.mozVisibilityState||f.msVisibilityState||"";hh(d,new ch(64,"hidden"!=f.toLowerCase().substring(f.length-6)?!0:!1));try{var k=vd().top;try{var l=!!k.location.href||""===k.location.href}catch(r){l=!1}if(l){var m=Se(e);var n=m&&0!=m.length?"1":"0"}else n="2"}catch(r){n="2"}hh(d,
new ch(256,"2"==n));hh(d,new ch(128,"1"==n));m=l=vd().top;"2"==n&&(m=vd());k=Nh(e,m);hh(d,new dh("er",k));try{var q=m.document&&!m.document.body?null:g.qd(m||window)}catch(r){q=null}q?(m=g.td(g.id(m.document).g),hh(d,new ch(16384,!!m)),q=m?new g.Wg(m.x,m.y,q.width,q.height):null):q=null;hh(d,new dh("vi",q));if(q&&"1"==n){n=Se(e);e=[];for(m=0;m<n.length;m++)(f=Nh(n[m],l))&&e.push(f);e.push(q);q=Mh(e)}Oh(d,k,q);d.l&&(n=qg()-d.l,hh(d,new bh("ts",n)));d.l=qg()}else d=gh(),d.g={},d.l=qg(),hh(d,new ch(32,
!1));this.o=d;this.g=new Rg;this.g.set("ve",4);c&&Sg(this.g,1);g.Pb(vd(),"ima","video","client","crossdomainTag")&&Sg(this.g,4);g.Pb(vd(),"ima","video","client","sdkTag")&&Sg(this.g,8);g.Pb(vd(),"ima","video","client","jsTag")&&Sg(this.g,2);b&&Xb(b,"fullscreen",!1)&&Sg(this.g,16);this.l=d=null;if(c&&(c=g.Pb(vd(),"ima","video","client"),c.getEData)){this.l=c.getEData();if(c=g.Pb(vd(),"ima","video","client","getLastSnapshotFromTop"))if(n=c())this.l.extendWithDataFromTopIframe(n.tagstamp,n.playstamp,
n.lactstamp),c=this.o,d=n.er,n=n.vi,d&&n&&(d=eh(d).getValue(),n=eh(n).getValue(),e=null,Xb(c.g,"er",null)&&(e=Xb(c.g,"er",null).getValue(),e.top+=d.top,e.left+=d.left,hh(c,new dh("er",e))),Xb(c.g,"vi",null)&&(q=Xb(c.g,"vi",null).getValue(),q.top+=d.top,q.left+=d.left,l=[],l.push(q),l.push(d),l.push(n),d=Mh(l),Oh(c,e,d),hh(c,new dh("vi",n))));a:{if(this.l){if(this.l.getTagLoadTimestamp){d=this.l.getTagLoadTimestamp();break a}if(this.l.getTimeSinceTagLoadSeconds){d=this.l.getTimeSinceTagLoadSeconds();
break a}}d=null}}this.g.set("td",qg()-hba(d))};
tba=function(a,b){try{var c=new sba(a,b),d=[],e=Number(c.g.get("eb"));c.g.remove("eb");var f,k=c.g,l=[],m;for(m in k.g)l.push(m+k.g[m]);(f=l.join("_"))&&d.push(f);if(c.l){var n=c.l.serialize();n&&d.push(n)}var q,r=c.o;f=e;k=[];f||(f=0);for(var v in r.g){var B=r.g[v];if(B instanceof ch)B.getValue()&&(f|=B.A);else{var F,L=r.g[v];(F=L.o?L.l():"")&&k.push(v+F)}}k.push("eb"+String(f));(q=k.join("_"))&&d.push(q);c.g.set("eb",e);return d.join("_")}catch(Y){return"tle;"+rb(Y.name,12)+";"+rb(Y.message,40)}};
Ph=function(a,b,c,d){if(d)c=a+("&"+b+"="+c);else{var e="&"+b+"=",f=a.indexOf(e);0>f?c=a+e+c:(f+=e.length,e=a.indexOf("&",f),c=0<=e?a.substring(0,f)+c+a.substring(e):a.substring(0,f)+c)}return 2E3<c.length?g.t(void 0)?Ph(a,b,void 0,d):a:c};
vba=function(){var a=g.w.document.querySelector("script[nonce]");if(a&&(a=a.nonce||a.getAttribute("nonce"))&&uba.test(a))return a};
Qh=function(a){try{return!!a&&null!=a.location.href&&kc(a,"foo")}catch(b){return!1}};
Rh=function(a,b,c){if(a)for(var d in a)Object.prototype.hasOwnProperty.call(a,d)&&b.call(c,a[d],d,a)};
xba=function(a){return(a=wba.exec(a))&&a[0]||""};
yba=function(){var a=g.w;try{for(var b=null;b!=a;b=a,a=a.parent)switch(a.location.protocol){case "https:":return!0;case "file:":return!1;case "http:":return!1}}catch(c){}return!0};
zba=function(){var a=Sh;if(!a)return"";var b=/.*[&#?]google_debug(=[^&]*)?(&.*)?$/;try{var c=b.exec((0,window.decodeURIComponent)(a));if(c)return c[1]&&1<c[1].length?c[1].substring(1):"true"}catch(d){}return""};
Th=function(a){return a?a.passive&&Aba()?a:a.capture||!1:a};
Uh=function(a,b,c,d){a.addEventListener?a.addEventListener(b,c,Th(d)):a.attachEvent&&a.attachEvent("on"+b,c)};
Vh=function(a,b,c){a.removeEventListener?a.removeEventListener(b,c,Th(void 0)):a.detachEvent&&a.detachEvent("on"+b,c)};
Wh=function(a){a=a||g.w;var b=a.context;if(!b)try{b=a.parent.context}catch(c){}try{if(b&&"pageViewId"in b&&"canonicalUrl"in b)return b}catch(c){}return null};
Xh=function(a,b){a.google_image_requests||(a.google_image_requests=[]);var c=a.document.createElement("img");c.src=b;a.google_image_requests.push(c)};
Yh=function(a){a.u_tz=-(new Date).getTimezoneOffset();var b=void 0===b?O:b;try{var c=b.history.length}catch(d){c=0}a.u_his=c;if(c=!!O.navigator)c="unknown"!==typeof O.navigator.javaEnabled;a.u_java=c&&!!O.navigator.javaEnabled&&O.navigator.javaEnabled();O.screen&&(a.u_h=O.screen.height,a.u_w=O.screen.width,a.u_ah=O.screen.availHeight,a.u_aw=O.screen.availWidth,a.u_cd=O.screen.colorDepth);O.navigator&&O.navigator.plugins&&(a.u_nplug=O.navigator.plugins.length);O.navigator&&O.navigator.mimeTypes&&(a.u_nmime=
O.navigator.mimeTypes.length)};
bi=function(){if(Zh&&!Qh($h)){var a="."+ai.domain;try{for(;2<a.split(".").length&&!Qh($h);)ai.domain=a=a.substr(a.indexOf(".")+1),$h=window.parent}catch(b){}Qh($h)||($h=window)}return $h};
di=function(){var a=window.event||ci;if(!a)return null;var b;(b=a.which?1<<Bba[a.which-1]:a.button)&&a.shiftKey&&(b|=8);b&&a.altKey&&(b|=16);b&&a.ctrlKey&&(b|=32);return b};
ei=function(a,b,c){a&&null!==b&&b!=b.top&&(b=b.top);try{return(void 0===c?0:c)?(new g.cd(b.innerWidth,b.innerHeight)).round():g.qd(b||window).round()}catch(d){return new g.cd(-12245933,-12245933)}};
fi=function(){this.g=0;this.o=!1;this.l=-1;this.zg=!1};
gi=function(a){this.o=a;this.g=null;this.l=!1};
hi=function(){this.g={};this.o=!0;this.l={}};
ii=function(a,b,c){c=new gi(c);return a.g[b]=c};
Cba=function(a,b){var c=a.g.osd;c&&null===c.g&&g.Rb(c.o,b)&&(c.g=b)};
ji=function(a,b){if(Qb(a.l,b))return a.l[b];if(!a.o)return null;var c=a.g[b];if(c)return c.getValue()};
ki=function(){return(0,g.G)()-Dba};
si=function(a){var b=0<=oi?ki()-oi:-1,c=pi?ki()-qi:-1,d=0<=ri?ki()-ri:-1;if(79463068==a)return 500;if(947190542==a)return 100;if(79463069==a)return 200;a=[2E3,4E3];var e=[250,500,1E3];var f=b;-1!=c&&c<b&&(f=c);for(b=0;b<a.length;++b)if(f<a[b]){var k=e[b];break}void 0===k&&(k=e[a.length]);return-1!=d&&1500<d&&4E3>d?500:k};
ti=function(){return{visible:1,hidden:2,prerender:3,preview:4,unloaded:5}[ai.visibilityState||ai.webkitVisibilityState||ai.mozVisibilityState||""]||0};
wi=function(a){ui.e=-1;ui.i=6;ui.n=7;ui.t=8;if(!vi){var b=[];Rh(ui,function(a,c){b[a+1]=c});
var c=b.join(""),d=a&&a[c];vi=d&&function(b,c){return d.call(a,b,c)}}return vi};
xi=function(){this.l=this.o=this.A=this.g=0};
yi=function(){this.l=[1,.75,.5,.3,0];this.g=(0,g.H)(this.l,function(){return new xi})};
Ai=function(a,b){return zi(a,function(a){return a.g},void 0===b?!0:b)};
Ci=function(a,b){return Bi(a,b,function(a){return a.g})};
Di=function(a){return zi(a,function(a){return a.o},!0)};
Ei=function(a,b){return Bi(a,b,function(a){return a.o})};
Fi=function(a,b){return Bi(a,b,function(a){return a.l})};
Gi=function(a){(0,g.C)(a.g,function(a){a.l=0})};
zi=function(a,b,c){a=(0,g.H)(a.g,function(a){return b(a)});
return c?a:Eba(a)};
Bi=function(a,b,c){var d=g.La(a.l,function(a){return b<=a});
return-1==d?0:c(a.g[d])};
Eba=function(a){return(0,g.H)(a,function(a,c,d){return 0<c?d[c]-d[c-1]:d[c]})};
Hi=function(){this.g=new yi;this.W=new xi;this.M=this.D=-1;this.ba=1E3};
Ii=function(a,b){this.l=(void 0===a?0:a)||0;this.g=(void 0===b?"":b)||""};
Ji=function(a,b,c){c=void 0===c?{}:c;this.error=a;this.context=b.context;this.line=b.line||-1;this.msg=b.message||"";this.file=b.file||"";this.id=b.id||"jserror";this.meta=c};
Fba=function(a,b,c){this.g=a;this.l=b;this.o=c};
Ki=function(a,b,c){this.url=a;this.be=b;this.Xr=!!c;this.depth=g.ua(void 0)?void 0:null};
Mi=function(a){a=a||Li();for(var b=new Ki(g.w.location.href,g.w,!1),c=null,d=a.length-1,e=d;0<=e;--e){var f=a[e];!c&&Gba.test(f.url)&&(c=f);if(f.url&&!f.Xr){b=f;break}}e=null;f=a.length&&a[d].url;0!=b.depth&&f&&(e=a[d]);return new Fba(b,e,c)};
Li=function(){var a=g.w,b=[],c=null;do{var d=a;if(Qh(d)){var e=d.location.href;c=d.document&&d.document.referrer||null}else e=c,c=null;b.push(new Ki(e||"",d));try{a=d.parent}catch(f){a=null}}while(a&&d!=a);a=0;for(d=b.length-1;a<=d;++a)b[a].depth=d-a;d=g.w;if(d.location&&d.location.ancestorOrigins&&d.location.ancestorOrigins.length==b.length-1)for(a=1;a<b.length;++a)e=b[a],e.url||(e.url=d.location.ancestorOrigins[a-1]||"",e.Xr=!0);return b};
Ni=function(a,b){this.o=a||"&";this.D=b||",$";this.A=g.t(void 0)?void 0:"trn";this.B=!1;this.l={};this.C=0;this.g=[]};
Oi=function(a,b){var c={};c[a]=b;return[c]};
Qi=function(a,b,c,d,e){var f=[];Rh(a,function(a,l){var k=Pi(a,b,c,d,e);k&&f.push(l+"="+k)});
return f.join(b)};
Pi=function(a,b,c,d,e){if(null==a)return"";b=b||"&";c=c||",$";"string"==typeof c&&(c=c.split(""));if(a instanceof Array){if(d=d||0,d<c.length){for(var f=[],k=0;k<a.length;k++)f.push(Pi(a[k],b,c,d+1,e));return f.join(c[d])}}else if("object"==typeof a)return e=e||0,2>e?(0,window.encodeURIComponent)(Qi(a,b,c,d,e+1)):"...";return(0,window.encodeURIComponent)(String(a))};
Ri=function(a,b,c,d){a.g.push(b);a.l[b]=Oi(c,d)};
Si=function(a,b){Rh(b,function(a,b){if(null!=a){var c=this.C++,d=Oi(b,a);this.g.push(c);this.l[c]=d}},a)};
Hba=function(a){if(!a.A)return 4E3;var b=1,c;for(c in a.l)b=c.length>b?c.length:b;return 4E3-a.A.length-b-a.o.length-1};
Ti=function(a,b,c,d){if(Math.random()<(d||a.g))try{if(c instanceof Ni)var e=c;else e=new Ni,Rh(c,function(a,b){var c=e,d=c.C++,f=Oi(b,a);c.g.push(d);c.l[d]=f});
var f=e.Qa(a.A,a.l,a.o+b+"&","");f&&Xh(g.w,f)}catch(k){}};
Ui=function(){var a=g.w.performance;return a&&a.now&&a.timing?Math.floor(a.now()+a.timing.navigationStart):(0,g.G)()};
Vi=function(){var a=void 0===a?g.w:a;return(a=a.performance)&&a.now?a.now():null};
Wi=function(a,b,c,d,e){this.label=a;this.type=b;this.value=c;this.duration=void 0===d?0:d;this.uniqueId=this.label+"_"+this.type+"_"+Math.random();this.slotId=e};
Yi=function(a,b){this.events=[];this.g=b||g.w;var c=null;b&&(b.google_js_reporting_queue=b.google_js_reporting_queue||[],this.events=b.google_js_reporting_queue,c=b.google_measure_js_timing);this.l=Xi()||(null!=c?c:Math.random()<a)};
$i=function(a){a&&Zi&&Xi()&&(Zi.clearMarks("goog_"+a.uniqueId+"_start"),Zi.clearMarks("goog_"+a.uniqueId+"_end"))};
cj=function(){var a=aj;this.A=bj;this.o=!0;this.D=this.g;this.wa=void 0===a?null:a};
fj=function(a){return new dj(ej(a),a.fileName,a.lineNumber)};
ej=function(a){var b=a.toString();a.name&&-1==b.indexOf(a.name)&&(b+=": "+a.name);a.message&&-1==b.indexOf(a.message)&&(b+=": "+a.message);if(a.stack){a=a.stack;var c=b;try{-1==a.indexOf(c)&&(a=c+"\n"+a);for(var d;a!=d;)d=a,a=a.replace(/((https?:\/..*\/)[^\/:]*:\d+(?:.|\n)*)\2/,"$1");b=a.replace(/\n */g,"\n")}catch(e){b=c}}return b};
dj=function(a,b,c){Ji.call(this,Error(a),{message:a,file:void 0===b?"":b,line:void 0===c?-1:c})};
gj=function(){this.wa=null;this.o=!1};
ij=function(a,b){return hj.l(a,b,void 0,Iba)};
jj=function(a,b,c,d){return hj.B(a,b,c,d,void 0)};
kj=function(a,b){hj.g(a,b,void 0,void 0)};
lj=function(a,b,c,d){var e=void 0===e?!1:e;c=jj(d,c);Uh(a,b,c,{capture:e});return c};
mj=function(a,b){a&&(a.l&&(b[4]=a.l),a.g&&(b[12]=a.g))};
nj=function(a){var b=[];g.Ib(a,function(a,d){var c=(0,window.encodeURIComponent)(d),f=a;g.u(f)&&(f=(0,window.encodeURIComponent)(f));b.push(c+"="+f)});
b.push("24="+(0,g.G)());return b.join("\n")};
Jba=function(){var a=g.J("DIV");a.style.cssText="position:relative;left:0px;top:0px;width:0;height:0;";return a};
oj=function(a,b,c,d){if(!a)return{value:d,done:!1};d=b(d,a);var e=c(d,a);return!e&&kc(a,"parentElement")?oj(g.Ld(a),b,c,d):{done:e,value:d}};
pj=function(a,b,c,d){if(!a)return d;d=oj(a,b,c,d);if(!d.done)try{var e=g.gd(a),f=e&&vd(e);return pj(f&&f.frameElement,b,c,d.value)}catch(k){}return d.value};
Kba=function(a){var b=!g.sd||g.nc(8);return pj(a,function(a,d){var c=kc(d,"style")&&d.style&&mh(d,"visibility");return{hidden:"hidden"===c,visible:b&&"visible"===c}},function(a){return a.hidden||a.visible},{hidden:!1,
visible:!1}).hidden};
Lba=function(a){return pj(a,function(a,c){return!(!kc(c,"style")||!c.style||"none"!==mh(c,"display"))},function(a){return a},!1)?!0:Kba(a)};
qj=function(a){return new g.Tg(a.top,a.right,a.bottom,a.left)};
rj=function(a){return null!=a&&0<=a&&1>=a};
sj=function(a,b){return null===a||null===b?new g.Tg(0,0,0,0):new g.Tg(Math.max(a.top,b.top),Math.min(a.right,b.right),Math.min(a.bottom,b.bottom),Math.max(a.left,b.left))};
Mba=function(a,b){if(!a||!b)return!1;for(var c=0;null!==a&&100>c++;){if(a===b)return!0;try{if(a=g.Ld(a)||a){var d=g.gd(a),e=d&&vd(d),f=e&&e.frameElement;f&&(a=f)}}catch(k){break}}return!1};
Nba=function(a,b,c){if(!a||!b)return!1;b=Vg(a.clone(),-b.left,-b.top);a=(b.left+b.right)/2;b=(b.top+b.bottom)/2;var d=bi();Qh(d.top)&&d.top&&d.top.document&&(d=d.top);d=wi(d&&d.document);if(!d)return!1;a=d(a,b);if(!a)return!1;b=(b=(b=g.gd(c))&&b.defaultView&&b.defaultView.frameElement)&&Mba(b,a);d=a===c;a=!d&&a&&g.Td(a,function(a){return a===c});
return!(b||d||a)};
uj=function(a,b,c,d){return 0>=a.Fb()||0>=a.getHeight()?!0:c&&d?ij(208,function(){return Nba(a,b,c)}):!1};
vj=function(a,b){this.l=null;this.C=a;this.D=b||1};
wj=function(a,b){var c=b.right-b.left,d=b.bottom-b.top,e=Math.floor(c/2),f=Math.floor(d/2);switch(a.D){case 4:return a.C?(e=Math.floor(.3*c),f=Math.floor(.3*d),[new g.$c(e,f),new g.$c(c-e,f),new g.$c(e,d-f),new g.$c(c-e,d-f)]):[new g.$c(e,0),new g.$c(0,f),new g.$c(e,d-1),new g.$c(c-1,f)];case 3:return[new g.$c(c-1,0),new g.$c(e,f),new g.$c(0,d-1)];default:return[new g.$c(e,f)]}};
xj=function(a,b){if(void 0===b)try{b=a.l.getBoundingClientRect()}catch(d){b=new g.Tg(0,0,0,0)}var c=wj(a,b);(0,g.C)(c,function(a){a.x+=b.left;a.y+=b.top});
return c};
Oba=function(a,b,c){this.snapshot=a;this.l=b;this.g=c};
yj=function(a,b){vj.call(this,a,b);this.g=[];this.B=!1;this.A=0;this.o=-1};
Pba=function(a,b){var c=b.getBoundingClientRect(),d="DIV"==b.tagName||"INS"==b.tagName,e=g.gd(b),f=!0,k=a.g;if(d){var l=Jba();c=wj(a,c);Ed(b,l,0);(0,g.C)(c,function(a){var b=new zj(e);k.push(b);var c;if(c=f)if(b.g){b.g.style.position="absolute";Aj(b,a);a=!0;try{l.appendChild(b.g)}catch(r){a=!1}c=a}else c=!1;f=c})}else c=xj(a,c),(0,g.C)(c,function(a){var c=new zj(e);
k.push(c);var d;if(d=f)if(c.g&&b.parentNode){c.g.style.position="fixed";Aj(c,a);a=!0;try{b.parentNode&&b.parentNode.insertBefore(c.g,b.nextSibling)}catch(r){a=!1}d=a}else d=!1;f=d});
f?(a.l=b,a.B=!d&&!1):((0,g.C)(k,function(a){a.remove()}),a.g=[]);
return f};
Qba=function(a){if(a.l&&a.B){var b=xj(a);(0,g.C)(b,function(a,b){this.g[b]&&Aj(this.g[b],a)},a)}};
Rba=function(a){(0,g.C)(a.g,function(a){a.remove()});
a.g=[]};
Wba=function(a){var b=(0,g.G)(),c=a.A?b-a.A:0,d=eaa(a.g,function(a){return a.isVisible(b)});
d=4==a.g.length?a.C?Sba[d]:Tba[d]:3==a.g.length?Uba[d]:1==a.g.length?Vba[d]:-1;c=new Oba(d,a.o,c);a.o=d;a.A=b;Qba(a);return c};
zj=function(a){this.g=null;this.o=this.l=0;Xba(this,a)};
Xba=function(a,b){var c=(new fd(b)).createElement("IFRAME");c.srcdoc="";c.frameBorder="0";c.style.width="1px";c.style.height="1px";c.style.opacity="0";c.style.zIndex=-999999;a.g=c;var d=jj(245,a.A,a);c.addEventListener("load",jj(244,function(){c.contentWindow.requestAnimationFrame(d)}))};
Aj=function(a,b){a.g&&!ad(b,rh(a.g))&&g.qh(a.g,b)};
Cj=function(){this.D=!1;this.H=void 0;this.l=!Qh(O.top);var a=Li();this.domain=0<a.length&&null!=a[a.length-1]&&null!=a[a.length-1].url?g.Bg(a[a.length-1].url)||"":"";this.A=this.F=this.C=this.g=null;this.K=0;this.o=!1;this.B=null;this.I=0;this.yb="geo";this.Rc=new hi;ii(this.Rc,"nio_mode",Yba).l=!0;ii(this.Rc,"omid",Bj)};
Dj=function(a,b,c,d,e,f){this.time=a;this.l=b;this.volume=void 0===f?null:f;this.A=d;this.g=c;this.o=e};
Ej=function(a,b,c,d,e,f,k){this.o=a;this.C=b;this.g=c;this.A=d;this.B=e;this.l=f;this.D=k};
Fj=function(a){this.l=a;this.g=null};
Hj=function(){return!Gj()&&(Hb("iPod")||Hb("iPhone")||Hb("Android")||Hb("IEMobile"))};
Gj=function(){return Hb("iPad")||Hb("Android")&&!Hb("Mobile")||Hb("Silk")};
Ij=function(a,b){b=void 0===b?0:b;this.be=a;this.A=[];this.g=new Dj(-1,new g.cd(0,0),null,!0,this);this.F=this.l=b;this.D=this.K=!1;this.C="uk";this.M=!1};
Jj=function(a,b){g.Oa(a.A,b)||(a.A.push(b),b.Qk(a.l),b.ii(a.g),b.Sj()&&(a.D=!0))};
Zba=function(a){a.D=a.A.length?(0,g.Kj)(a.A,function(a){return a.Sj()}):!1};
Lj=function(a){(0,g.C)(a.A,function(b){b.ii(a.g)})};
Mj=function(a){(0,g.C)(a.A,function(b){b.Qk(a.l)})};
Nj=function(a,b,c,d,e){this.element=a;this.g=b;this.Rc=c;this.Um=d;this.C=e;this.B=!1;this.o=new Ej(b.g,this.element,new g.Tg(0,0,0,0),null,this.A(),0,0)};
Oj=function(a,b,c){this.l=void 0===c?0:c;this.xc=a;this.g=null==b?"":b};
$ba=function(a,b){return new Oj(a.xc,a.g,a.l+b)};
Pj=function(a,b){return a.l<b.l?!0:a.l>b.l?!1:a.xc<b.xc?!0:a.xc>b.xc?!1:typeof a.g<typeof b.g?!0:typeof a.g>typeof b.g?!1:a.g<b.g};
Qj=function(){this.o=0;this.g=[];this.l=!1};
aca=function(a){var b=new Qj;var c=void 0===c?0:c;var d=void 0===d?!0:d;Rh(a,function(a,f){d&&void 0===a||b.add(f,a,c)});
return b};
bca=function(a){a.l&&(g.fb(a.g,function(a,c){return Pj(c,a)?1:Pj(a,c)?-1:0}),a.l=!1);
return Rj(a.g,function(a,c){var b="boolean"===typeof c.g;b=""+(b&&!c.g?"":c.xc)+(b||""===c.g?"":"="+c.g);return""+a+(""!=a&&""!=b?"&":"")+b},"")};
cca=function(a){Rh(a,function(b,c){b instanceof Array&&(a[c]=b.join(","))});
return a};
Tj=function(a,b,c){this.position=Sj.clone();this.ze=0;this.qs=this.Gn();this.ls=-2;this.BT=(0,g.G)();this.NC=-1;this.pi=b;this.Wh=-1!=b;this.Pl=this.tA=null;this.opacity=-1;this.VB=c;this.cD=this.rs=g.y;this.tg=this.element=a;this.Ji=null;this.Au=this.Ag=!1;this.Eq=1;this.hu=!0;this.Of=!1;Cj.getInstance().K++;this.domain=null;this.ds=0;this.yc=this.Pq();this.LC=-1;this.sr=0;this.Dp=new g.Tg(0,0,0,0);this.Rc=new hi;ii(this.Rc,"od",dca);ii(this.Rc,"opac",Bj).l=!0;ii(this.Rc,"ud",Bj)};
eca=function(a,b,c,d,e){if(a.Wh){var f=O.innerWidth,k=O.innerHeight,l=new g.Tg(Math.round(O.mozInnerScreenY),Math.round(O.mozInnerScreenX+f),Math.round(O.mozInnerScreenY+k),Math.round(O.mozInnerScreenX));c=new g.Tg(O.screenY+d,O.screenX+c.width,O.screenY+c.height,O.screenX);e||(d=new g.Tg(l.top-c.top,l.right-c.left,l.bottom-c.top,l.left-c.left),d.top>a.position.top?a.position=d:(a.position.right=a.position.left+f,a.position.bottom=a.position.top+k),a.ze=f*k);a.Mg(l,c,b,e,!0,!0)}};
gca=function(a,b,c){if(a.Wh){var d=wi(O&&O.document);if(d){c||Uj(a,O,!0);if(a.zg()||a.Au){var e=fca(a,d);d=!0}else e=g.td(window.document),e=d(Math.floor((a.position.left+a.position.right)/2)-e.x,Math.floor((a.position.top+a.position.bottom)/2)-e.y)?.5:0,d=!1;a.Mg(a.position,e,b,c,!0,d)}}};
Vj=function(a,b,c){if(c(b))return b;for(;;){var d=Math.floor((a+b)/2);if(d==a||d==b)return a;c(d)?a=d:b=d}};
fca=function(a,b){var c=g.td(window.document),d=a.Eq,e=Math.floor(a.position.left-c.x)+1,f=Math.floor(a.position.top-c.y)+1,k=Math.floor(a.position.right-c.x)-d,l=Math.floor(a.position.bottom-c.y)-d;c=(l-f)*(k-e);if(f>l||e>k)return 0;d=!!b(e,f);var m=!!b(k,l);if(d&&m)return 1;var n=!!b(k,f),q=!!b(e,l);if(d)l=Vj(f,l,function(a){return!!b(e,a)}),k=Vj(e,k,function(a){return!!b(a,f)});
else if(n)l=Vj(f,l,function(a){return!!b(k,a)}),e=Vj(k,e,function(a){return!!b(a,f)});
else if(q)f=Vj(l,f,function(a){return!!b(e,a)}),k=Vj(e,k,function(a){return!!b(a,l)});
else if(m)f=Vj(l,f,function(a){return!!b(k,a)}),e=Vj(k,e,function(a){return!!b(a,l)});
else{var r=Math.floor((e+k)/2),v=Math.floor((f+l)/2);if(!b(r,v))return 0;f=Vj(v,f,function(a){return!!b(r,a)});
l=Vj(v,l,function(a){return!!b(r,a)});
e=Vj(r,e,function(a){return!!b(a,v)});
k=Vj(r,k,function(a){return!!b(a,v)})}return(l-f)*(k-e)/c};
hca=function(a,b,c,d,e){a.Wh&&(d||Uj(a,O,e),a.Mg(a.position,c,b,d,!1,!0))};
Wj=function(a,b,c){if(a.Wh){var d=c?a.yc.g:a.ds;a.Dp&&!Ug(a.Dp,new g.Tg(0,0,0,0))&&(d=Vg(a.Dp.clone(),a.position.left,a.position.top));a.Mg(a.position,d,b,c,!0,!0)}};
ica=function(a,b,c){a=b.create(a.tg,a.Rc,a.Um(),function(){c()});
null!=a&&a.Wy();return a};
jca=function(a,b){var c=ica(a,b,function(){return a.cD(a)});
c&&(a.yb=c)};
kca=function(a,b,c){if(a.Wh&&a.yb){var d=bi(),e=Cj.getInstance();Uj(a,d,e.l);a.yb.iq();d=a.yb.o;e=d.o.g;var f=!(!d.B&&!e);if(null!=d.A&&e){var k=d.g;a.tA=new g.$c(k.left-e.left,k.top-e.top);a.Pl=new g.cd(e.right-e.left,e.bottom-e.top)}a.Mg(a.position,d.l,b,c,!0,f)}};
Uj=function(a,b,c,d){if(d)a.position=d;else{b=c?b:b.top;try{var e=Sj.clone(),f=new g.$c(0,0);if(a.tg){var k=1==a.VB;!c&&k&&Lba(a.tg)||(e=a.tg.getBoundingClientRect());f=g.xh(a.tg,b)}c=f;var l=c.x,m=c.y;a.position=new g.Tg(Math.round(m),Math.round(l+(e.right-e.left)),Math.round(m+(e.bottom-e.top)),Math.round(l))}catch(n){a.position=Sj.clone()}}a.ze=(a.position.bottom-a.position.top)*(a.position.right-a.position.left)};
Xj=function(a,b){var c=Math.pow(10,b);return Math.floor(a*c)/c};
lca=function(a){a.yb&&a.yb.xs()};
oca=function(a,b){var c=!1,d=a.tg;b.document&&b.document.body&&12==a.VB&&(d=b.document.body);if(null===d)return!1;ij(152,function(){var e=new b.IntersectionObserver(function(c){try{Yj(b,c,a)}catch(k){try{e.unobserve(d),kj("osd_adblock::nioc",k)}catch(l){}}},mca);
e.observe(d);nca(d);c=!0});
return c};
nca=function(a){if(a&&(a=a.style)){var b=a.opacity;a.opacity=.98;a.opacity=.99;a.opacity=b}};
pca=function(a,b){var c=!1;ij(151,function(){var d=Wh(b).GV(function(c){try{Yj(b,c,a)}catch(f){try{d(),kj("osd_adblock::aioc",f)}catch(k){}}});
c=!0});
return c};
Yj=function(a,b,c){if(!b||!b.length||0>=b.length)b=null;else{for(var d=b[0],e=1;e<b.length;e++)b[e].time>d.time&&(d=b[e]);b=d}if(d=b)b=qj(d.boundingClientRect),e=qj(d.intersectionRect),c.yc.g=g.Wc(d.intersectionRect.width*d.intersectionRect.height/(d.boundingClientRect.width*d.boundingClientRect.height),0,1),c.ds=c.yc.g,Uj(c,a,!0,b),a=sj(b,e),c.Dp=0>=c.ze||a.top>=a.bottom||a.left>=a.right?new g.Tg(0,0,0,0):Vg(a,-b.left,-b.top)};
Zj=function(a,b,c,d){d&&(a.cD=d);switch(c){case "nio":return oca(a,b);case "aio":return pca(a,b);case "raf":return a.fu();case "geo":case "xde":case "iem":return!0}return!1};
ak=function(){};
ck=function(a){if(a instanceof ak)return a;if("function"==typeof a.de)return a.de(!1);if(g.za(a)){var b=0,c=new ak;c.next=function(){for(;;){if(b>=a.length)throw bk;if(b in a)return a[b++];b++}};
return c}throw Error("Not implemented");};
g.dk=function(a,b,c){if(g.za(a))try{(0,g.C)(a,b,c)}catch(d){if(d!==bk)throw d;}else{a=ck(a);try{for(;;)b.call(c,a.next(),void 0,a)}catch(d){if(d!==bk)throw d;}}};
qca=function(a){if(g.za(a))return g.Wa(a);a=ck(a);var b=[];g.dk(a,function(a){b.push(a)});
return b};
hk=function(a){var b=g.ek&&0<=g.Ab(g.fk,9),c=g.gk&&g.nc(601);return!(void 0===a?0:a)&&(b||c)};
ik=function(a){for(var b=0,c=a,d=0;a&&a!=a.parent;)a=a.parent,d++,Qh(a)&&(c=a,b=d);return{be:c,level:b}};
rca=function(){this.S={}};
jk=function(a){var b=[],c=[];g.Ib(a,function(a,e){if(!(e in Object.prototype)&&"undefined"!=typeof a){g.ya(a)&&(a=a.join(","));var d=[e,"=",a].join("");switch(e){case "adk":case "r":case "tt":case "error":case "mtos":case "tos":case "p":case "bs":case "aio":case "nio":case "iem":b.unshift(d);break;case "req":case "url":case "referrer":case "iframe_loc":c.push(d);break;default:b.push(d)}}});
return b.concat(c)};
sca=function(){this.A=this.g=this.o=this.l=this.B=0};
uca=function(){this.g=new sca;var a=vd();kk(this,a,window.document);var b=tca();try{if("1"==b){for(var c=a.parent;c!=a.top;c=c.parent)kk(this,c,c.document);kk(this,a.top,a.top.document)}}catch(d){}};
tca=function(){var a=window.document.documentElement;try{if(!Qh(vd().top))return"2";var b=[],c=vd(a.ownerDocument);for(a=c;a!=c.top;a=a.parent)if(a.frameElement)b.push(a.frameElement);else break;return b&&0!=b.length?"1":"0"}catch(d){return"2"}};
kk=function(a,b,c){lj(c,"mousedown",function(){var b=a.g;1E5<b.o||++b.o},301);
lj(b,"scroll",function(){var b=a.g;1E5<b.g||++b.g},302);
lj(c,"touchmove",function(){var b=a.g;1E5<b.g||++b.g},303);
lj(c,"mousemove",function(){var b=a.g;1E5<b.A||++b.A},304);
lj(c,"keydown",function(){var b=a.g;1E5<b.l||++b.l},305)};
lk=function(){fi.call(this);this.fullscreen=!1;this.volume=void 0;this.paused=!1;this.A=-1};
mk=function(a){return rj(a.volume)&&.1<=a.volume};
nk=function(){var a={};this.l=(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.cm=[128,128],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.g={};for(var b in this.l)0<this.l[b][1]&&(this.g[b]=0);this.o=0};
vca=function(a){return ok(a,g.Ob(a.l))};
ok=function(a,b){var c=0,d;for(d in a.g)g.Oa(b,d)&&1==a.g[d]&&(c+=a.l[d][1],a.g[d]=2);return c};
wca=function(a){var b=0,c;for(c in a.g){var d=a.g[c];if(1==d||2==d)b+=a.l[c][1]}return b};
pk=function(){this.g=[]};
qk=function(a,b){g.Ra(a.g,b)};
rk=function(a,b){return g.Oa(a.g,b)};
sk=function(){this.g=this.l=0};
tk=function(){Hi.call(this);this.l=new xi;this.V=this.H=this.K=0;this.F=-1;this.ca=new xi;this.B=new xi;this.o=new yi;this.C=this.A=-1;this.I=new xi;this.ba=2E3;this.N=new sk;this.Y=new sk;this.X=new sk};
uk=function(a,b,c){var d=a.V;pi||c||-1==a.F||(d+=b-a.F);return d};
xca=function(){this.g=!1};
vk=function(a,b){this.g=!1;this.C=a;this.F=b;this.o=0};
xk=function(a,b){if(a.B(b)){var c=wk(a.F,a.C,b);a.o|=c;return 0==c}return!1};
yk=function(a,b,c,d,e,f){e=void 0===e?null:e;f=void 0===f?[]:f;Tj.call(this,b,c,d);this.X=0;this.o={};this.Jc=new nk;this.Ty={};this.Zd="";this.zh=null;this.dD=!1;this.l=[];this.bl=e;this.C=f;this.A=void 0;this.B=-1;this.I=this.ka=void 0;this.Y=!1;this.H=this.K=0;this.V=-1;this.fa=this.Ea=!1;this.ik=this.ib=0;this.na=!1;this.Oa=this.Pa=-1;this.N=this.D=this.g=0;this.ob=this.ca=-1;this.Sa=0;this.Ia=new yi;this.W=this.oa=this.ba=0;this.ub=-1;this.ra=0;this.F=!1;this.da=null;this.pd=0;this.Ga=!1;this.Ya=
g.y;this.M=[this.Gn()];this.Xa=!1;this.Au=!0;this.Eq=2;b=Cj.getInstance();Uj(this,a,b.l);this.Ri={};this.Ri.pause="p";this.Ri.resume="r";this.Ri.skip="s";this.Ri.mute="m";this.Ri.unmute="um";this.Ri.exitfullscreen="ef"};
yca=function(a,b,c){a.pd=1;a.o={};a.o.firstquartile=!1;a.o.midpoint=!1;a.o.thirdquartile=!1;a.o.complete=!1;a.o.pause=!1;a.o.skip=!1;a.o.viewable_impression=!1;a.X=0;c||(a.Cd().F=b)};
zk=function(a){0!=a.pd&&(a.pd=3)};
Ak=function(a){return g.t(a)?Number(a)?Xj(a,3):0:a};
Bk=function(a,b){var c;null!=b&&b<a.M.length?c=b:c=a.M.length-1;return a.M[c]};
zca=function(a,b){(0,g.Kj)(a.C,function(a){return a.A()&&a.l()==b.l()})||a.C.push(b)};
Ck=function(a,b,c){return 15E3<=b?!0:a.Ea?(void 0===c?0:c)?!0:-1!=a.B?b>=a.B/2:-1!=a.V?b>=a.V:!1:!1};
Aca=function(a){var b={},c=Cj.getInstance();b.insideIframe=c.l;b.unmeasurable=a.Ag;b.position=a.position;b.exposure=a.yc.g;b.documentSize=c.A;b.viewportSize=c.g;return b};
Ek=function(a,b){Dk(a.l,b,function(){return{UT:0,eo:void 0}});
a.l[b]={viewableArea:Xj(a.yc.g,2),instantaneousState:a.Jc.o}};
Dk=function(a,b,c){for(var d=a.length;d<b+1;)a.push(c()),d++};
Fk=function(a,b,c){var d=a.Ty[b];if(null!=d)return d;g.Oa(Bca,b)?d=!0:(d=a.o[b],g.t(d)?(a.o[b]=!0,d=!d):d=!1);c=a.Kn(d,d,c,Cca[b]);"fully_viewable_audible_half_duration_impression"==b&&(c.std="csm",c.ic=ok(a.Jc,["gdr"]));return c};
Dca=function(a){if(a.Of)return 1;var b=O.screen.width*O.screen.height;return 0>=b?-1:Math.min(a.ze*a.yc.g/b,1)};
Gk=function(a){this.B=!1;this.g=a};
Hk=function(){this.g=this.l=null};
Eca=function(a,b){function c(c,e){a.g=null;b(c,e)}
if(null==a.l)return!1;a.g=g.Ka(a.l,function(a){return null!=a&&a.Zi()&&a.init(c)});
return null!=a.g};
g.Ik=function(a,b,c){g.K.call(this);this.o=null!=c?(0,g.z)(a,c):a;this.uc=b;this.l=(0,g.z)(this.KH,this);this.g=[]};
Jk=function(a){a.wa=g.ng(a.l,a.uc);a.o.apply(null,a.g)};
Kk=function(){this.g=this.A=null;this.o=0;this.l=null};
Lk=function(){this.g=[];this.o=[];this.done=!1;this.l={EG:0,Gv:0,Yt:0,Kw:0,Or:-1};this.M=this.D=this.I=this.F=this.K=null;this.N=!1;this.B=null;this.H=0;this.C=Gj()||Hj();this.V=0;this.A=new Fj(this)};
Mk=function(){var a=Cj.getInstance().yb;return"nio"==a||"aio"==a};
Ok=function(){var a=Nk;if(!a.N){a.N=!0;var b=g.w.requestAnimationFrame||g.w.webkitRequestAnimationFrame||g.w.mozRequestAnimationFrame||g.w.oRequestAnimationFrame||g.w.msRequestAnimationFrame;if(!a.K&&!Mk()){if(b){var c=jj(136,function(b){for(var c=[],d=0;d<arguments.length;++d)c[d-0]=arguments[d];return a.fr.apply(a,[].concat(g.qa(c)))});
var d=function(){b(function(){O.setTimeout(c,0)})}}else d=function(b){for(var c=[],d=0;d<arguments.length;++d)c[d-0]=arguments[d];
return a.fr.apply(a,[].concat(g.qa(c)))};
d=jj(137,d);a.F=new g.Ik(d,100);a.K=lj(O,"scroll",function(b){for(var c=[],d=0;d<arguments.length;++d)c[d-0]=arguments[d];null!==a.F&&a.F.mj.apply(a.F,[].concat(g.qa(c)))},138)}if(!a.I&&!Mk()){if(b){var e=jj(139,function(b){for(var c=[],d=0;d<arguments.length;++d)c[d-0]=arguments[d];
return a.My.apply(a,[].concat(g.qa(c)))});
d=function(){b(function(){O.setTimeout(e,0)})}}else d=function(b){for(var c=[],d=0;d<arguments.length;++d)c[d-0]=arguments[d];
return a.My.apply(a,[].concat(g.qa(c)))};
d=jj(140,d);a.D=new g.Ik(d,100);a.I=lj(O,"resize",function(b){for(var c=[],d=0;d<arguments.length;++d)c[d-0]=arguments[d];null!==a.D&&a.D.mj.apply(a.D,[].concat(g.qa(c)))},141)}Fca(a,function(b){for(var c=[],d=0;d<arguments.length;++d)c[d-0]=arguments[d];
return a.Nx.apply(a,[].concat(g.qa(c)))});
a.Nx()}};
Gca=function(a){var b=a.C,c=Cj.getInstance();b&&!c.o&&"exc"!=c.yb&&Pk(a,!0);b=new Kk;switch(c.yb){case "xde":var d=a.H;Pk(a,!1);a=Cj.getInstance();var e=a.F,f=e.height-d;0>=f&&(f=e.height,d=0);a.g=new g.cd(e.width,f);f=new Kk;f.A=a.g;f.g=e;f.o=d;return f;case "geo":a:{c=c.g;b=new Kk;b.A=c;if(null!=c&&-12245933!=c.width&&-12245933!=c.height){var k=Cj.getInstance();if(k.o)d=k.B;else try{k=O;e=a.C;k=k.top;f=c||ei(!0,k,void 0===e?!1:e);var l=g.td(g.id(k.document).g);if(-12245933==f.width){var m=f.width;
var n=new g.Tg(m,m,m,m)}else n=new g.Tg(l.y,l.x+f.width,l.y+f.height,l.x);d=n}catch(q){a=b;break a}b.l=d}a=b}return a;default:return b}};
Qk=function(a,b,c,d){if(!a.done)if(a.A.cancel(),0==b.length)c||a.A.schedule();else{a.B=null;var e=Gca(a),f=Cj.getInstance();try{var k=ki();if(null!=Hk.getInstance().g)for(d=0;d<b.length;d++)kca(b[d],k,c);else switch(f.yb){case "exc":for(d=0;d<b.length;d++)Wj(b[d],k,c);break;case "nis":for(e=0;e<b.length;e++)g.t(d)?b[e].xp(d):b[e].Ly(k);break;case "gsv":for(e=0;e<b.length;e++)g.t(d)?b[e].Hx(d):b[e].Ky(k);break;case "aio":case "nio":for(d=0;d<b.length;d++)Wj(b[d],k,c);break;case "xde":if(e.g)for(d=
0;d<b.length;d++)eca(b[d],k,e.g,e.o,c);break;case "iem":for(d=0;d<b.length;d++)gca(b[d],k,c);break;case "raf":(0,g.C)(b,function(a){if(c)a.Ji&&(a.Ji.o=3,a.yc.g=0);else if(a.Ji){var b=Wba(a.Ji),d=[0,0,0,0,0,.01,.5,1,.01,.3],e=d[b.snapshot+1];a.yc.g=d[b.l+1];a.Mg(a.position,e,a.pi+b.g,!1,!0,!1);a.ph()&&1!=a.gf()&&!a.hu&&a.Ji&&Rba(a.Ji)}});
break;case "geo":if(e.l)for(d=0;d<b.length;d++)hca(b[d],k,e.l,c,f.l)}for(d=0;d<b.length;d++);a.l.Yt+=ki()-k;++a.l.Kw}finally{c?(0,g.C)(b,function(a){a.yc.g=0}):a.A.schedule()}}};
Fca=function(a,b){var c;ai.visibilityState?c="visibilitychange":ai.mozVisibilityState?c="mozvisibilitychange":ai.webkitVisibilityState&&(c="webkitvisibilitychange");c&&(a.M=a.M||lj(ai,c,b,142))};
Hca=function(a){var b=Cj.getInstance().Rc,c=[];0===(ji(b,"nio_mode")||0)&&c.push(a.FT);c.push(a.GT,a.ET,a.DT);return c};
Jca=function(){var a=Nk;var b=void 0===b?Hca(a):b;b=g.na(b);for(var c=b.next();!c.done;c=b.next())if(c.value.call(a,O))return!0;(0,g.C)(a.o,function(b){b.Ag=!0;b.o(Ica(a),"goog_update_data","i")});
return!1};
Rk=function(a){if(Kca(a))return!0;var b=ti();a=1===b;b=0===b;return Cj.getInstance(),a||b};
Lca=function(a,b){return null!=b&&(0,g.Kj)(a.g,function(a){return a.element==b})};
Uk=function(a){return g.Ka(Nk.g,function(b){return b.Zd==a})};
Mca=function(){return(0,g.Kj)(Vk(Nk),function(a){return 1===ji(a.Rc,"inapp")})};
Vk=function(a){return 0==a.g.length?a.o:0==a.o.length?a.g:g.Va(a.o,a.g)};
Pk=function(a,b){var c=a.C,d=Cj.getInstance(),e,f=Hk.getInstance();null!=f.g&&(e=f.g.g);d.g=e?e.g.l:d.o?d.B?(new g.cd(d.B.Fb(),d.B.getHeight())).round():new g.cd(0,0):ei(!0,O,c);if(!b){d.F=O&&O.outerWidth?new g.cd(O.outerWidth,O.outerHeight):new g.cd(-12245933,-12245933);var k=void 0===k?O:k;null!==k&&k!=k.top&&(k=k.top);e=c=0;f=Cj.getInstance().g;try{var l=k.document,m=l.body,n=l.documentElement;if("CSS1Compat"==l.compatMode&&n.scrollHeight)c=n.scrollHeight!=f.height?n.scrollHeight:n.offsetHeight,
e=n.scrollWidth!=f.width?n.scrollWidth:n.offsetWidth;else{var q=n.scrollHeight,r=n.scrollWidth,v=n.offsetHeight,B=n.offsetWidth;n.clientHeight!=v&&(q=m.scrollHeight,r=m.scrollWidth,v=m.offsetHeight,B=m.offsetWidth);q>f.height?q>v?(c=q,e=r):(c=v,e=B):q<v?(c=q,e=r):(c=v,e=B)}var F=new g.cd(e,c)}catch(L){F=new g.cd(-12245933,-12245933)}d.A=F}};
Nca=function(){var a=Cj.getInstance();O.screen&&(a.C=new g.cd(O.screen.width,O.screen.height))};
Ica=function(a){if(!a.B){var b=O.document,c=0<=oi?ki()-oi:-1,d=ki();-1==a.l.Or&&(c=d);var e=Cj.getInstance(),f=e.Rc,k={},l;for(l in f.g)if(f.g.hasOwnProperty(l)){var m="";void 0!==f.l[l]?m=String(f.l[l]):f.o&&(m=f.g[l],m=m.l&&null!==m.g?String(m.g):"");0<m.length&&(k[l]=m)}f=Vk(a);try{if(0<f.length){var n=e.g;n&&(k.bs=[n.width,n.height]);var q=e.F;q&&(k.bos=[q.width,q.height]);var r=e.A;r&&(k.ps=[r.width,r.height]);O.screen&&(k.ss=[O.screen.width,O.screen.height])}else k.url=(0,window.encodeURIComponent)(O.location.href.substring(0,
1024)),b.referrer&&(k.referrer=(0,window.encodeURIComponent)(b.referrer.substring(0,512)));k.tt=c;k.pt=oi;switch(Cj.getInstance().yb){case "xde":k.xde=1;break;case "iem":k.iem=1;break;case "aio":k.aio=1;break;case "nio":k.nio=1}k.deb=[1,a.l.EG,a.l.Gv,a.l.Yt,a.l.Kw,a.l.Or].join("-");k.tvt=Wk(a,d);if(null!==O&&O!=O.top){0<f.length&&(k.iframe_loc=(0,window.encodeURIComponent)(O.location.href.substring(0,512)));var v=ei(!1,O,a.C);k.is=[v.width,v.height]}}catch(B){k.error=1}a.B=k}return jk(g.Yb(a.B))};
Yk=function(a,b){var c=Xk(b,"raf",Vk(a));c&&(Cj.getInstance().yb="raf");return c};
Xk=function(a,b,c){var d=!1;(0,g.C)(c,function(c){Zj(c,a,b,void 0)&&(d=!0)});
return d};
Oca=function(a){var b=Nk,c=[];(0,g.C)(a,function(a){Lca(b,a.element)||(b.g.push(a),c.push(a))})};
Pca=function(a){var b=Nk,c=[];(0,g.C)(a,function(a){null==g.Ka(b.g,function(b){return b.element==a.element&&!0})&&(b.g.push(a),c.push(a))})};
Wk=function(a,b){var c=a.V;pi&&(c+=b-qi);return c};
Kca=function(a){return(0,g.Kj)(Vk(a),function(a){return a.Of})};
Qca=function(){var a=g.Gb;return a?(0,g.Kj)("AppleTV;GoogleTV;HbbTV;NetCast.TV;Opera TV;POV_TV;SMART-TV;SmartTV;TV Store;OMI/".split(";"),function(b){return tb(a,b)})?!0:tb(a,"Presto")&&tb(a,"Linux")&&!tb(a,"X11")&&!tb(a,"Android")&&!tb(a,"Mobi"):!1};
Zk=function(){return tb(g.Gb,"CrKey")||tb(g.Gb,"PlayStation")||tb(g.Gb,"Roku")||Qca()||tb(g.Gb,"Xbox")};
Rca=function(a){if(!a)return"";var b=[];b.push("url="+(0,window.encodeURIComponent)(a.location.href.substring(0,512)));a.document&&a.document.referrer&&b.push("referrer="+(0,window.encodeURIComponent)(a.document.referrer.substring(0,512)));return b.join("&")};
$k=function(a){return function(b){return!g.t(b[a])&&g.t(0)?0:b[a]}};
bl=function(){var a=[0,2,4];return function(b){b=b.tos;if(g.ya(b)){for(var c=Array(b.length),d=0;d<b.length;d++)c[d]=0<d?c[d-1]+b[d]:b[d];return g.t(a)?al(c,a):c}}};
cl=function(a,b){return function(c){c=c[a];if(g.ya(c))return al(c,b)}};
dl=function(a){var b=Sca;return function(c){return b(c)?c[a]:void 0}};
al=function(a,b){return(0,g.Hd)(a,function(a,d){return g.Oa(b,d)})};
el=function(a,b){vk.call(this,a,b)};
Tca=function(){this.l=this.A=this.C=this.B=this.o=this.g=""};
Uca=function(){};
fl=function(a,b,c,d,e){var f={};if(g.t(a))if(null!=b)for(var k in b){var l=b[k];k in Object.prototype||null!=l&&(g.Aa(l)?f[k]=l(a):f[k]=a[l])}else g.bc(f,a);g.t(c)&&g.bc(f,c);a=bca(aca(cca(f)));0<a.length&&g.t(d)&&g.t(e)&&(e=e(a),a+="&"+d+"="+e);return a};
gl=function(){};
hl=function(a,b,c,d,e){Nj.call(this,a,b,c,d,e);this.l=new g.Tg(0,0,0,0)};
il=function(a){a=Vca(a);Gk.call(this,a.length?a[a.length-1]:null);this.o=a;this.A=g.y;this.l=null};
Vca=function(a){if(!a.length)return[];a=(0,g.Hd)(a,function(a){return null!=a&&a.Zi()});
for(var b=1;b<a.length;b++)Jj(a[b-1],a[b]);return a};
jl=function(a,b,c,d,e){Nj.call(this,a,b,c,d,e);this.l=null};
Zca=function(a){if(!a.element)return!1;var b=a.element;a.l=new a.g.be.IntersectionObserver(function(b){try{if(b.length){var c=Wca(b),e=qj(c.boundingClientRect),f=Vg(qj(c.intersectionRect),-e.left,-e.top),k=c.boundingClientRect.width*c.boundingClientRect.height,l=c.intersectionRect.width*c.intersectionRect.height;var m=k?l/k:0;b=0;var n=c.intersectionRect.width*c.intersectionRect.height,q=a.g.g.g;q&&(b=(q.bottom-q.top)*(q.right-q.left));a.o=new Ej(a.g.g,a.element,e,f,a.A(),m,b?n/b:0)}}catch(r){a.xs(),
kj(299,r)}},Xca);
a.l.observe(b);Yca(b);return!0};
Wca=function(a){return Rj(a,function(a,c){return a.time>c.time?a:c},a[0])};
Yca=function(a){if(a=a.style){var b=a.opacity;a.opacity=.98;a.opacity=.99;a.opacity=b}};
kl=function(a){Gk.call(this,new Ij(a))};
ll=function(){Ij.call(this,O,1);this.B=new Ii(0,"");this.V=4;this.o=[];this.Y=[];this.H=0;this.N=!1;this.W=this.X=0;this.I=""};
ml=function(a,b){var c=0,d=a.be;try{if(d&&d.Goog_AdSense_getAdAdapterInstance)return d}catch(e){}for(;d&&5>c;){try{if(d.google_osd_static_frame)return d}catch(e){}try{if(d.aswift_0&&(!b||d.aswift_0.google_osd_static_frame))return d.aswift_0}catch(e){}c++;d=d!=d.parent?d.parent:null}return null};
$ca=function(a,b,c,d,e,f){e=void 0===e?!1:e;f=void 0===f?"":f;var k={};mj(c,k);k[0]="goog_request_monitoring";k[6]=b;k[27]=a.be.document.domain;k[16]=e;f&&f.length&&(k[19]=f);try{var l=nj(k);d.postMessage(l,"*")}catch(m){}};
ada=function(a,b,c,d,e,f){d=void 0===d?!1:d;e=void 0===e?"":e;f=void 0===f?function(){return null}:f;
++a.W;2==a.H?nl(a):10<a.W?(a.C="no",nl(a),f()):a.be.postMessage?c.Gd()?(f=ml(a,!0))&&$ca(a,b,c,f,d,e):(a.C="ib",nl(a),f()):(a.C="c",nl(a),f())};
nl=function(a){a.be.clearInterval(a.X)};
bda=function(a,b){(0,g.C)(a.o,function(a){a.A(b)})};
cda=function(a,b){(0,g.C)(a.o,function(a){a.o(b)})};
dda=function(a,b){(0,g.C)(a.o,function(a){a.l(b)})};
eda=function(a,b){(0,g.C)(a.o,function(a){a.F(b)})};
fda=function(a,b){(0,g.C)(a.o,function(a){a.g(b)})};
gda=function(a,b,c){(0,g.C)(a.o,function(a){a.B(b,c)})};
hda=function(a,b){(0,g.C)(a.o,function(a){a.D(b)})};
ida=function(a){(0,g.C)(a.o,function(a){a.C()})};
jda=function(a,b){(0,g.C)(a.Y,function(a){a(b)})};
ol=function(){this.A=this.H=!1;this.o=null;this.l=new gl;this.g=null;var a={};this.K=(a.start=this.zI,a.firstquartile=this.tI,a.midpoint=this.vI,a.thirdquartile=this.AI,a.complete=this.rI,a.pause=this.FB,a.resume=this.xI,a.skip=this.yI,a.viewable_impression=this.ih,a.mute=this.gk,a.unmute=this.gk,a.fullscreen=this.uI,a.exitfullscreen=this.sI,a.fully_viewable_audible_half_duration_impression=this.ih,a.measurable_impression=this.ih,a.abandon=this.FB,a.engagedview=this.ih,a.impression=this.ih,a.creativeview=
this.ih,a.progress=this.gk,a.custom_metric_viewable=this.ih,a);a={};this.M=(a.overlay_resize=this.wI,a.abandon=this.pr,a.close=this.pr,a.collapse=this.pr,a.overlay_unmeasurable_impression=function(a){return Fk(a,"overlay_unmeasurable_impression",Rk(Nk))},a.overlay_viewable_immediate_impression=function(a){return Fk(a,"overlay_viewable_immediate_impression",Rk(Nk))},a.overlay_unviewable_impression=function(a){return Fk(a,"overlay_unviewable_impression",Rk(Nk))},a.overlay_viewable_end_of_session_impression=
function(a){return Fk(a,"overlay_viewable_end_of_session_impression",Rk(Nk))},a);
Cj.getInstance().I=3};
pl=function(a){a.Of=!1;kda(a.gf(),a.Zd)};
ql=function(a,b,c,d){a.g||(a.g=a.Bw());c=d?c:-1;return null==a.g||a.A?new yk(O,b,c,7):new yk(O,b,c,7,new vk("measurable_impression",a.g),a.Vq())};
lda=function(a,b){var c=[];b&&(Cj.getInstance().o=!1,c.push(ll.getInstance()));var d=[],e=2===ji(a,"nio_mode");e&&d.push(new kl(O));0<c.length&&d.push(new il(c));e||d.push(new kl(O));return d};
mda=function(a){if(!a.H){a.H=!0;try{var b=ki(),c=Cj.getInstance();oi=b;rl=ik(O).be;Pk(Nk,!1);Nca();if("nis"!=c.yb&&"gsv"!=c.yb)if(O.document.body&&O.document.body.getBoundingClientRect){Nk.l.Gv=0;Nk.l.Or=ki()-b;var d=pk.getInstance();ii(c.Rc,"osd",Bj).l=!0;var e=rk(d,370204015);Cba(c.Rc,e?1:0);var f=lda(c.Rc,e&&c.l&&c.o&&"exc"!=c.yb),k=Hk.getInstance();k.l=f;if(Eca(k,function(){c.o=!1;sl()}))Nk.done||Ok();
else if(!c.l&&hk()&&Yk(Nk,O))Ok();else if(c.l&&"exc"!=c.yb)if(c.o&&!e){var l=ll.getInstance();Jj(l,a);l.initialize()}else sl();else Ok()}else tl=!0}catch(m){throw Nk.reset(),m;}}};
ul=function(a){var b=Cj.getInstance();if(null==a.o)switch(b.yb){case "nis":a.o="n";break;case "gsv":a.o="m";break;default:a.o="h"}return a.o};
vl=function(a,b,c){if(null==a.g)return b.ik|=4,!1;a=wk(a.g,c,b);b.ik|=a;return 0==a};
sl=function(){Jca()?Ok():(Nk.A.cancel(),wl="i",Nk.done=!0)};
xl=function(a,b,c){if(!b.dD){var d=Fk(b,"start",Rk(Nk));a=a.l.g(d).g;d=rl||O;var e=[];e.push("v=644v");e.push("r="+c);e.push(a);e.push(Rca(d));c=("//pagead2.googlesyndication.com/pagead/gen_204?id=lidarvf&"+e.join("&")).toString();c=c.substring(0,2E3);a=bi()||O;Xh(a,c);b.dD=!0}};
yl=function(a,b,c,d){Qk(Nk,[a],!Rk(Nk),d);Ek(a,c);4!=c&&Dk(a.M,c,a.Gn);return Fk(a,b,Rk(Nk))};
nda=function(a,b,c){if(0==b.pd){"i"!=wl&&(Nk.done=!1);var d=Hk.getInstance();null!=d.g&&jca(b,d.g);Zj(b,O,Cj.getInstance().yb,function(b){if(b){b.Ag=!0;switch(b.gf()){case 1:xl(a,b,"fp");break;case 2:a.Ut(b)}a.au(b)}});
d=g.t(c)?c.opt_nativeTime:void 0;ri=d=g.ua(d)?d:ki();b.Wh=!0;var e=Rk(Nk);yca(b,d,e);Qk(Nk,[b],!e,c)}};
kda=function(a,b){if(g.u(b)){if(1==a)var c=Nk.g;else if(2==a)c=Nk.o;else return;var d=g.Ja(c,function(c){return c.gf()!=a?!1:c.Zd==b});
0<=d&&(lca(c[d]),g.Sa(c,d))}};
pda=function(a,b,c,d){var e=g.Ka(Nk.g,function(a){return a.element==c});
null!==e&&e.Zd!=b&&(pl(e),e=null);e||(e=oda(a,c),e.Zd=b,e.A=ul(a),d&&(e.zh=d));return e};
oda=function(a,b){var c=ql(a,b,ki(),!1);c.rs=(0,g.z)(a.kr,a);0==Nk.o.length&&(Cj.getInstance().H=79463069);Pca([c]);Ok();return c};
Bl=function(a,b){var c={sv:"644",cb:"j"};c.nas=Nk.g.length;c.msg=a;if(g.t(b)){var d=zl(b);d&&(c.e=Al[d])}return c};
zl=function(a){var b=a.toLowerCase();return Sb(Cl,function(a){return a==b})};
qda=function(a,b){b.D=0;for(var c in Dl)null==a[c]&&(b.D|=Dl[c]);El(a,"currentTime");El(a,"duration")};
El=function(a,b){var c=a[b];g.t(c)&&(a[b]=Math.floor(1E3*c))};
rda=function(){this.g=void 0;this.l=!1;this.o=0;this.A=-1;this.B="tos"};
tda=function(a){try{var b=a.split(",");return b.length>g.Ob(sda).length?null:Rj(b,function(a,b){var c=b.toLowerCase().split("=");if(2!=c.length||!g.t(Fl[c[0]])||!Fl[c[0]](c[1]))throw Error("Entry ("+c[0]+", "+c[1]+") is invalid.");a[c[0]]=c[1];return a},{})}catch(c){return null}};
uda=function(a,b){if(void 0==a.g)return 0;switch(a.B){case "mtos":return a.l?Ei(b.o,a.g):Ei(b.g,a.g);case "tos":return a.l?Ci(b.o,a.g):Ci(b.g,a.g)}return 0};
Gl=function(a,b,c,d){vk.call(this,b,d);this.ia=a;this.D=c};
Hl=function(a){vk.call(this,"fully_viewable_audible_half_duration_impression",a)};
Il=function(a){return!a||"function"!==typeof a||0>String(Function.prototype.toString).indexOf("[native code]")?!1:0<=String(a).indexOf("[native code]")&&!0||!1};
Kl=function(a){return!!(1<<a&Jl)};
zda=function(){try{vda()}catch(d){}var a="a=1&b="+Jl+"&",b=[],c=99;(0,g.C)(wda,function(a,c){var d=!1;try{d=a(O)}catch(k){}b[c/32>>>0]|=d<<c%32});
(0,g.C)(b,function(b,e){a+=String.fromCharCode(c+e)+"="+(b>>>0).toString(16)+"&"});
c=105;(0,g.C)(xda,function(b){var d="false";try{d=b(O)}catch(f){}a+=String.fromCharCode(c++)+"="+d+"&"});
(0,g.C)(yda,function(b){var d="";try{var f=b(O);d=g.de(g.Zd(f),!0)}catch(k){}a+=String.fromCharCode(c++)+"="+d+"&"});
return a.slice(0,-1)};
vda=function(){if(!Ll){var a=function(){Ml=!0;O.document.removeEventListener("webdriver-evaluate",a,!0)};
O.document.addEventListener("webdriver-evaluate",a,!0);var b=function(){Nl=!0;O.document.removeEventListener("webdriver-evaluate-response",b,!0)};
O.document.addEventListener("webdriver-evaluate-response",b,!0);Ll=!0}};
Ol=function(){this.l=64;this.g=Array(4);this.B=Array(this.l);this.A=this.o=0;this.reset()};
Pl=function(a,b,c){c||(c=0);var d=Array(16);if(g.u(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.g[0];c=a.g[1];e=a.g[2];var f=a.g[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.g[0]=a.g[0]+b&4294967295;a.g[1]=a.g[1]+(e+(k<<21&4294967295|k>>>11))&4294967295;a.g[2]=a.g[2]+e&4294967295;a.g[3]=a.g[3]+f&4294967295};
Ql=function(){this.l=null};
Rl=function(a){return function(b){var c=new Ol;c.update(b+a);return Paa(c.digest()).slice(-8)}};
Sl=function(a,b){this.l=a;this.o=b};
wk=function(a,b,c){var d=a.g(c);if(g.Aa(d)){var e={};e=(e.sv="644",e.cb="j",e.e=Ada(b),e);var f=Fk(c,b,Rk(Nk));g.bc(e,f);c.Ty[b]=f;a=2==c.gf()?jk(e).join("&"):a.o.g(e).g;try{return d(c.Zd,a,b),0}catch(k){return 2}}else return 1};
Ada=function(a){var b=Sb(Cl,function(b){return b==a});
return Al[b]};
Tl=function(a,b,c){Sl.call(this,a,b);this.A=c};
Ul=function(a,b){this.g=a;this.depth=b};
Vl=function(a){function b(a,b){return null==a?b:a}
var c=a||Li();a=Math.max(c.length-1,0);var d=Mi(c);c=d.g;var e=d.l,f=d.o,k=[];f&&k.push(new Ul([f.url,f.Xr?2:0],b(f.depth,1)));e&&e!=f&&k.push(new Ul([e.url,2],0));c.url&&c!=f&&k.push(new Ul([c.url,0],b(c.depth,a)));d=(0,g.H)(k,function(a,b){return k.slice(0,k.length-b)});
!c.url||(f||e)&&c!=f||(e=xba(c.url))&&d.push([new Ul([e,1],b(c.depth,a))]);d.push([]);return(0,g.H)(d,g.Ea(Bda,a))};
Bda=function(a,b){(0,g.Wl)(b,function(a){return 0<=a.depth});
var c=Rj(b,function(a,b){return Math.max(a,b.depth)},-1),d=haa(c+2);
d[0]=a;(0,g.C)(b,function(a){return d[a.depth+1]=a.g});
return d};
Xl=function(){var a=Vl();return(0,g.H)(a,function(a){return Pi(a)})};
Yl=function(){ol.call(this);this.C=void 0;this.B=this.I=null;this.D=!1;this.F={};this.l=new Ql;var a=pk.getInstance();!rk(a,509445015)&&!rk(a,509445017)||"h"!=ul(this)&&"b"!=ul(this)||"exc"==Cj.getInstance().yb||(this.D=!0,this.I=new uca)};
Cda=function(a,b,c){c=c.opt_configurable_tracking_events;if(null!=a.g&&g.ya(c)){var d=a.g;(0,g.C)(c,function(a){var c=(0,g.H)(a.h2,function(a){var b=tda(a);if(null==b)a=null;else if(a=new rda,null!=b.visible&&(a.g=b.visible/100),null!=b.audible&&(a.l=1==b.audible),null!=b.time){var c="mtos"==b.timetype?"mtos":"tos",d=lb(b.time,"%")?"%":"ms";b=(0,window.parseInt)(b.time,10);"%"==d&&(b/=100);"ms"==d?(a.o=b,a.A=-1):(a.o=-1,a.A=b);a.B=void 0===c?"tos":c}return a});
(0,g.Kj)(c,function(a){return null==a})||zca(b,new Gl(a.id,a.event,c,d))})}};
Zl=function(a,b,c,d){d=ql(a,null,d,!0);d.A=c;d.rs=function(b){a.kr(b)};
Oca([d]);d.Zd=b;return d};
Dda=function(a,b,c){var d=Uk(b);d||(d=c.opt_nativeTime||-1,d=Zl(a,b,ul(a),d),c.opt_osdId&&(d.zh=c.opt_osdId));return d};
Eda=function(a,b,c){var d=Uk(b);d||(d=Zl(a,b,"n",c.opt_nativeTime||-1),d.F=Cj.getInstance().D);return d};
Fda=function(a,b){var c=Uk(b);c||(c=Zl(a,b,"h",-1));return c};
Gda=function(a){var b=Cj.getInstance();switch(ul(a)){case "b":return"ytads.bulleit.triggerExternalActivityEvent";case "n":return"ima.bridge.triggerExternalActivityEvent";case "h":if("exc"==b.yb)return"ima.bridge.triggerExternalActivityEvent";case "m":case "ml":return"ima.common.triggerExternalActivityEvent"}return null};
$l=function(a,b,c,d){c=void 0===c?{}:c;var e={};g.bc(e,{opt_adElement:void 0,opt_fullscreen:void 0},c);if(e.opt_bounds)return a.l.g(Bl("ol",d));if(g.t(d))if(c=zl(d),g.t(c))if(tl)b=Bl("ue",d);else if(b=a.Jn(b,e)){b:{mda(a);"i"==wl&&(b.Ag=!0,a.au(b));c=e.opt_fullscreen;g.t(c)&&(b.Of=!!c);Zk()?c=!1:(c=Cj.getInstance().yb,c=O&&O.g||"nis"===c||"gsv"===c?!1:0===ti());var f=c;if(f){switch(b.gf()){case 1:xl(a,b,"pv");break;case 2:a.Ut(b)}Nk.A.cancel();wl="pv";Nk.done=!0}c=d.toLowerCase();!f&&g.Oa(Hda,c)&&
nda(a,b,e);0!=b.pd&&g.Oa(Ida,c)&&!b.Ag&&!a.A&&b.bl&&(f=b.bl,f.g||(f.g=xk(f,b)));(f=b.Ri[c])&&b.Jc.Aa(f);switch(b.gf()){case 1:var k=a.K[c];break;case 2:k=a.M[c]}if(k&&(d=k.call(a,b,e,d),g.t(d))){e=Bl(void 0,c);g.bc(e,d);d=e;break b}d=void 0}3==b.pd&&pl(b);b=d}else b=Bl("nf",d);else b=void 0;else b=a.Kn(b,e);if(b){if(d=a.B)d=a.B,e={},e=(e.ptlt=d.B,e),(k=d.l)&&(e.pnk=k),(k=d.o)&&(e.pnc=k),(k=d.A)&&(e.pnmm=k),(d=d.g)&&(e.pns=d),d=e;g.bc(b,d||{})}return a.l.g(b)};
Jda=function(a,b,c){a=Cj.getInstance();if(a.D!=b){a.D=b;var d=(0,g.Kj)(Nk.g,function(a){return a.Ga});
(0,g.C)(Nk.g,function(a){b||d||(a.pi=c);a.F=b;a.Ga=!1})}};
bm=function(a,b){var c;if(b.zh&&am(a)){var d=a.F[b.zh];d?c=function(a,b){d.o(a,b)}:null!==d&&kj("lidar::missingPlayerCallback",Error())}else c=g.x("ima.common.triggerViewabilityMeasurementUpdate");
if(g.Aa(c)){var e=Aca(b);e.nativeVolume=a.C;a.D&&(e.userActivity=a.B);c(b.Zd,e)}};
am=function(a){return"exc"==Cj.getInstance().yb||"h"!=ul(a)&&ul(a),!1};
cm=function(a){var b={};return b.viewability=a.g,b.googleViewability=a.o,b.moatInit=a.B,b.moatViewability=a.C,b.integralAdsViewability=a.A,b.doubleVerifyViewability=a.l,b};
dm=function(a,b,c){c=void 0===c?{}:c;a=$l(Yl.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};
Kda=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;q=n=0}
function b(a){for(var b=k,c=0;64>c;c+=4)b[c/4]=a[c]<<24|a[c+1]<<16|a[c+2]<<8|a[c+3];for(c=16;80>c;c++)a=b[c-3]^b[c-8]^b[c-14]^b[c-16],b[c]=(a<<1|a>>>31)&4294967295;a=e[0];var d=e[1],f=e[2],l=e[3],m=e[4];for(c=0;80>c;c++){if(40>c)if(20>c){var n=l^d&(f^l);var q=1518500249}else n=d^f^l,q=1859775393;else 60>c?(n=d&f|l&(d|f),q=2400959708):(n=d^f^l,q=3395469782);n=((a<<5|a>>>27)&4294967295)+n+m+q+b[c]&4294967295;m=l;l=f;f=(d<<30|d>>>2)&4294967295;d=a;a=n}e[0]=e[0]+a&4294967295;e[1]=e[1]+d&4294967295;e[2]=
e[2]+f&4294967295;e[3]=e[3]+l&4294967295;e[4]=e[4]+m&4294967295}
function c(a,c){if("string"===typeof a){a=(0,window.unescape)((0,window.encodeURIComponent)(a));for(var d=[],e=0,k=a.length;e<k;++e)d.push(a.charCodeAt(e));a=d}c||(c=a.length);d=0;if(0==n)for(;d+64<c;)b(a.slice(d,d+64)),d+=64,q+=64;for(;d<c;)if(f[n++]=a[d++],q++,64==n)for(n=0,b(f);d+64<c;)b(a.slice(d,d+64)),d+=64,q+=64}
function d(){var a=[],d=8*q;56>n?c(l,56-n):c(l,64-(n-56));for(var k=63;56<=k;k--)f[k]=d&255,d>>>=8;b(f);for(k=d=0;5>k;k++)for(var m=24;0<=m;m-=8)a[d++]=e[k]>>m&255;return a}
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,gH:function(){for(var a=d(),b="",c=0;c<a.length;c++)b+="0123456789ABCDEF".charAt(Math.floor(a[c]/16))+"0123456789ABCDEF".charAt(a[c]%16);return b}}};
Lda=function(a,b,c){var d=[],e=[];if(1==(g.ya(c)?2:1))return e=[b,a],(0,g.C)(d,function(a){e.push(a)}),fm(e.join(" "));
var f=[],k=[];(0,g.C)(c,function(a){k.push(a.key);f.push(a.value)});
c=Math.floor((new Date).getTime()/1E3);e=g.Pa(f)?[c,b,a]:[f.join(":"),c,b,a];(0,g.C)(d,function(a){e.push(a)});
a=fm(e.join(" "));a=[c,a];g.Pa(k)||a.push(k.join(""));return a.join("_")};
fm=function(a){var b=Kda();b.update(a);return b.gH().toLowerCase()};
g.gm=function(){var a=[],b=em(String(g.w.location.href)),c=g.w.__OVERRIDE_SID;null==c&&(c=(new wg(window.document)).get("SID"));if(c&&(b=(c=0==b.indexOf("https:")||0==b.indexOf("chrome-extension:"))?g.w.__SAPISID:g.w.__APISID,null==b&&(b=(new wg(window.document)).get(c?"SAPISID":"APISID")),b)){c=c?"SAPISIDHASH":"APISIDHASH";var d=String(g.w.location.href);return d&&b&&c?[c,Lda(em(d),b,a||null)].join(" "):null}return null};
g.hm=function(a,b){this.l={};this.g=[];this.Jh=this.Ha=0;var c=arguments.length;if(1<c){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else if(a)if(a instanceof g.hm)for(c=a.Ab(),d=0;d<c.length;d++)this.set(c[d],a.get(c[d]));else for(d in a)this.set(d,a[d])};
jm=function(a,b){return im(a.l,b)};
km=function(a){if(a.Ha!=a.g.length){for(var b=0,c=0;b<a.g.length;){var d=a.g[b];im(a.l,d)&&(a.g[c++]=d);b++}a.g.length=c}if(a.Ha!=a.g.length){var e={};for(c=b=0;b<a.g.length;)d=a.g[b],im(e,d)||(a.g[c++]=d,e[d]=1),b++;a.g.length=c}};
im=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};
lm=function(a){if(a.sb&&"function"==typeof a.sb)return a.sb();if(g.u(a))return a.split("");if(g.za(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return g.Nb(a)};
mm=function(a){if(a.Ab&&"function"==typeof a.Ab)return a.Ab();if(!a.sb||"function"!=typeof a.sb){if(g.za(a)||g.u(a)){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return g.Ob(a)}};
Mda=function(a,b){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,void 0);else if(g.za(a)||g.u(a))(0,g.C)(a,b,void 0);else for(var c=mm(a),d=lm(a),e=d.length,f=0;f<e;f++)b.call(void 0,d[f],c&&c[f],a)};
g.nm=function(a,b){this.l=this.F=this.A="";this.B=null;this.H=this.o="";this.C=!1;var c;a instanceof g.nm?(this.C=g.t(b)?b:a.C,g.om(this,a.A),this.F=a.F,g.pm(this,a.l),g.qm(this,a.B),g.rm(this,a.o),sm(this,a.g.clone()),this.H=a.ci()):a&&(c=g.zg(String(a)))?(this.C=!!b,g.om(this,c[1]||"",!0),this.F=tm(c[2]||""),g.pm(this,c[3]||"",!0),g.qm(this,c[4]),g.rm(this,c[5]||"",!0),sm(this,c[6]||"",!0),this.H=tm(c[7]||"")):(this.C=!!b,this.g=new g.um(null,this.C))};
g.om=function(a,b,c){a.A=c?tm(b,!0):b;a.A&&(a.A=a.A.replace(/:$/,""))};
g.pm=function(a,b,c){a.l=c?tm(b,!0):b;return a};
g.qm=function(a,b){if(b){b=Number(b);if((0,window.isNaN)(b)||0>b)throw Error("Bad port number "+b);a.B=b}else a.B=null;return a};
g.rm=function(a,b,c){a.o=c?tm(b,!0):b};
sm=function(a,b,c){b instanceof g.um?(a.g=b,Nda(a.g,a.C)):(c||(b=vm(b,Oda)),a.g=new g.um(b,a.C));return a};
g.wm=function(a,b,c){a.g.set(b,c);return a};
g.xm=function(a){return a instanceof g.nm?a.clone():new g.nm(a,void 0)};
tm=function(a,b){return a?b?(0,window.decodeURI)(a.replace(/%25/g,"%2525")):(0,window.decodeURIComponent)(a):""};
vm=function(a,b,c){return g.u(a)?(a=(0,window.encodeURI)(a).replace(b,Pda),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null};
Pda=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)};
g.um=function(a,b){this.Ha=this.g=null;this.l=a||null;this.o=!!b};
ym=function(a){a.g||(a.g=new g.hm,a.Ha=0,a.l&&Dg(a.l,function(b,c){a.add(ob(b),c)}))};
Am=function(a){var b=mm(a);if("undefined"==typeof b)throw Error("Keys are undefined");var c=new g.um(null,void 0);a=lm(a);for(var d=0;d<b.length;d++){var e=b[d],f=a[d];g.ya(f)?g.zm(c,e,f):c.add(e,f)}return c};
Cm=function(a,b){ym(a);b=Bm(a,b);return jm(a.g,b)};
g.zm=function(a,b,c){a.remove(b);0<c.length&&(a.l=null,a.g.set(Bm(a,b),g.Wa(c)),a.Ha=a.Ha+c.length)};
Bm=function(a,b){var c=String(b);a.o&&(c=c.toLowerCase());return c};
Nda=function(a,b){b&&!a.o&&(ym(a),a.l=null,a.g.forEach(function(a,b){var c=b.toLowerCase();b!=c&&(this.remove(b),g.zm(this,c,a))},a));
a.o=b};
g.Dm=function(a){g.K.call(this);this.A=a;this.l={}};
Fm=function(a,b,c,d,e){Em(a,b,c,d,!1,e)};
Em=function(a,b,c,d,e,f){g.ya(c)||(c&&(Gm[0]=c.toString()),c=Gm);for(var k=0;k<c.length;k++){var l=g.jf(b,c[k],d||a.handleEvent,e||!1,f||a.A||a);if(!l)break;a.l[l.key]=l}return a};
Im=function(a,b,c,d,e){Hm(a,b,c,d,!1,e)};
Hm=function(a,b,c,d,e,f){if(g.ya(c))for(var k=0;k<c.length;k++)Hm(a,b,c[k],d,e,f);else{b=hf(b,c,d||a.handleEvent,e,f||a.A||a);if(!b)return a;a.l[b.key]=b}return a};
g.Jm=function(a){g.Ib(a.l,function(a,c){this.l.hasOwnProperty(c)&&g.sf(a)},a);
a.l={}};
Km=function(a,b,c){g.K.call(this);this.l=a;this.o=b;this.C=c;this.B=0;this.g=new g.Dm(this);Qda(this)};
Qda=function(a){a.C.forEach(function(a,c){this.g.R(c,"mousedown",this.D);this.g.R(c,"mouseup",this.H)},a);
a.g.R(a.o,"mouseover",a.F)};
Lm=function(){};
g.Mm=function(a,b){return a.replace(Rda,function(a,d){try{var c=Xb(b,d);if(null==c)return a;c=c.toString();if(""==c||!g.D(g.E(c)))return(0,window.encodeURIComponent)(c).replace(/%2C/g,",")}catch(f){}return a})};
Om=function(a,b){var c=[],d="",e="";if(null!=b){d=b;e=[];for(var f=0;d&&25>f;++f){a:{if(d&&d.nodeName&&d.parentElement){var k=d.nodeName.toString().toLowerCase();for(var l=d.parentElement.childNodes,m=0,n=0;n<l.length;++n){var q=l[n];if(q.nodeName&&q.nodeName.toString().toLowerCase()===k){if(d===q){k="."+m;break a}++m}}}k=""}e.push((d.nodeName&&d.nodeName.toString().toLowerCase())+""+k);d=d.parentElement}d=e.join();if(b){e=(e=b.ownerDocument)&&(e.defaultView||e.parentWindow)||null;f=[];if(e)try{var r=
e.parent;for(k=0;r&&r!==e&&25>k;++k){var v=r.frames;for(l=0;l<v.length;++l)if(e===v[l]){f.push(l);break}e=r;r=e.parent}}catch(B){}e=f.join()}else e=""}c.push(d,e);if(null!=a){for(r=0;r<Nm.length-1;++r)c.push(Og(a,Nm[r])||"");r=Og(a,"videoad_start_delay");v="";r&&(r=(0,window.parseInt)(r,10),v=0>r?"postroll":0==r?"preroll":"midroll");c.push(v)}else for(r=0;r<Nm.length;++r)c.push("");c=c.join(":");r=c.length;if(0==r)c=0;else{v=305419896;for(d=0;d<r;d++)v^=(v<<5)+(v>>2)+c.charCodeAt(d)&4294967295;c=
0<v?v:4294967296+v}return c.toString()};
Pm=function(a,b,c){this.g=a;this.l=b;this.o=c};
Qm=function(a,b){this.g=a;this.eg=b};
Rm=function(a,b){g.We.call(this,"adError");this.l=a;this.g=b?b:null};
Sm=function(a,b,c){g.We.call(this,a);this.l=b;this.g=null!=c?c:null};
Sda=function(a){this.g=a};
Tda=function(){var a=Tm();return Um(a,"disableExperiments")};
Um=function(a,b){if(Qb(a.g,b)){var c=a.g[b];if(g.ta(c))return c}return!1};
Uda=function(a){if(Qb(a.g,"forceExperimentIds")){a=a.g.forceExperimentIds;var b=[],c=0;g.ya(a)&&(0,g.C)(a,function(a){g.ua(a)&&(b[c++]=a)});
return b}return null};
Vm=function(a){return(a=a.match(/^\w{2,3}([-_]|$)/))?a[0].replace(/[_-]/g,""):""};
Wm=function(){this.A="always";this.M=4;this.D=1;this.l=this.K=this.B=!1;this.X=this.I=!0;this.o=this.W=!1;this.H=!0;this.N=null;this.Sa=this.C=this.V=!1;try{this.Y=Vl(void 0)[0]}catch(a){}};
Tm=function(){var a=P;if(null==a.N){var b={},c=(new g.nm(vd().location.href)).g;if(Cm(c,"tcnfp"))try{b=JSON.parse(c.get("tcnfp"))}catch(d){}a.N=new Sda(b)}return a.N};
Vda=function(a){switch(a){case "BREAK_TYPE_PRE_ROLL":return 1;case "BREAK_TYPE_MID_ROLL":return 2;case "BREAK_TYPE_POST_ROLL":return 3;case "BREAK_TYPE_INDEPENDENT":return 5;case "BREAK_TYPE_RELATED":return 6;default:return 0}};
Xm=function(a){g.We.call(this,a);this.A=[];this.o={};this.g=null;this.l=!0};
Ym=function(a,b,c){this.A=b;this.l=c;this.B=a;this.o=!0};
Zm=function(){};
$m=function(a,b,c){this.ia=a;this.g=g.Wc(b||0,0,1);this.l=null!=c?c:!0};
Wda=function(a){this.ia=a;this.l=new g.hm;this.Za=this.g=null};
Xda=function(a){var b=Math.random(),c=0,d=a.l.sb();(0,g.C)(d,function(a){c+=a.g},a);
var e=1<c?c:1;a.g=null;for(var f=0,k=0;k<d.length;++k)if(f+=d[k].g,f/e>=b){a.g=d[k];break}};
Zda=function(){this.l=null!=g.w.G_testRunner;this.o=new Zm;this.g=new g.hm;P.g()||(an(this,"GvnExternalLayer",31061774,.01),an(this,"GvnExternalLayer",31061775,.01),an(this,"GvnExternalLayer",41351088,.01),an(this,"GvnExternalLayer",41351089,.01),an(this,"GvnExternalLayer",420706008,.05),an(this,"GvnExternalLayer",420706009,.05),an(this,"GvnExternalLayer",41351073,.01),an(this,"GvnExternalLayer",41351074,.01),an(this,"GvnExternalLayer",41351075,.01),an(this,"GvnExternalLayer",634360101,0),an(this,
"GvnExternalLayer",634360102,0),an(this,"GvnExternalLayer",21592080,.1),an(this,"GvnExternalLayer",21592081,.1),an(this,"GvnExternalLayer",21592082,.01),an(this,"GvnExternalLayer",413051059,.05),an(this,"GvnExternalLayer",413051060,.05),an(this,"GvnExternalLayer",324123E3,.05),an(this,"GvnExternalLayer",324123001,.05),an(this,"GvnExternalLayer",420706068,.01),an(this,"GvnExternalLayer",420706069,.01),an(this,"GvnExternalLayer",324123020,.01),an(this,"GvnExternalLayer",324123021,.01),hk(!1)&&(Qh(O.top)?
(an(this,"ActiveViewExternalLayer",509445010,.01),an(this,"ActiveViewExternalLayer",509445011,.01)):(an(this,"ActiveViewExternalLayer",509445012,.01),an(this,"ActiveViewExternalLayer",509445013,.01))),an(this,"ActiveViewExternalLayer",509445016,.01),an(this,"ActiveViewExternalLayer",509445017,.01));Yda(this);var a=Tm();a=Uda(a);null!=a&&(this.l=!1,bn(this,a.map(String)))};
dn=function(){cn||(cn=new Zda);return cn};
en=function(){return dn().o};
$da=function(a,b){a.o=b};
aea=function(){var a=dn();(0,g.C)(a.g.Ab(),function(a){g.kb(a,"FORCED_PUB_EXP_LAYER_")&&this.g.remove(a)},a)};
an=function(a,b,c,d){g.D(g.E(b))||(0,window.isNaN)(c)||0>=c||(c=new $m(c,d),fn(a,b).l.set(c.ia,c))};
Yda=function(a){Tda()||(0,g.C)(a.g.sb(),function(a){Xda(a)},a)};
bn=function(a,b){(0,g.C)(b,function(a){var b=Number(a);a="FORCED_PUB_EXP_LAYER_"+a;(0,window.isNaN)(b)||0>=b||g.D(g.E(a))||(fn(this,a).g=new $m(b,0,!0))},a)};
gn=function(a,b){return a.l?!1:(0,g.Kj)(a.g.sb(),function(a){return!!a.g&&a.g.ia==b})};
hn=function(a){if(a.l)return"";var b=[];(0,g.C)(a.g.sb(),function(a){(a=a.g)&&a.l&&b.push(a.ia)});
return b.sort().join(",")};
fn=function(a,b){var c=a.g.get(b);null==c&&(c=new Wda(b),a.g.set(b,c));return c};
cea=function(){var a=[],b=dn();(0,g.C)(bea,function(c){(c=(c=fn(b,c))?c.g:null)&&a.push(c.ia)});
return a};
kn=function(a){return null!=a?jn(dea,a):!1};
jn=function(a,b){try{var c=(new g.nm(b)).l;c=c.replace(/^www./i,"");return(0,g.Kj)(a,function(a){return eea(a,c)})}catch(d){return!1}};
eea=function(a,b){if(g.D(g.E(b)))return!1;a=a.toLowerCase();b=b.toLowerCase();return"*."==a.substr(0,2)?(a=a.substr(2),a.length>b.length?!1:b.substr(-a.length)==a&&(b.length==a.length||"."==b.charAt(b.length-a.length-1))):a==b};
mn=function(a){var b=!1;ln(a,fea)?b=!1:kn(a)?b=!0:"https:"==window.location.protocol&&(ln(a,gea)||P.g())&&(b=!0);if(b){b=new g.nm(a);if("https"==b.A)return a;g.om(b,"https");return b.toString()}return a};
ln=function(a,b){return(new RegExp("^https?://([a-z0-9-]{1,63}\\.)*("+b.join("|").replace(/\./g,"\\.")+")(:[0-9]+)?([/?#]|$)","i")).test(a)};
nn=function(a){if(g.D(g.E(a)))return!1;a=new g.nm(a);if(!a.A||"http"!=a.A&&"https"!=a.A)return!1;a=a.l;return-1==a.indexOf(".")||a.match(/^[\.0-9]*$/)?!1:!0};
on=function(a){g.D(g.E(a))||window.open(a,"_blank")};
qn=function(a,b,c){null!=a?(g.wm(a,"label",b),null!=c&&g.wm(a,"value",c.join(";")),a=a.toString()):a="";pn(a)};
rn=function(a,b,c,d){null!=a&&null!=b&&(a=g.Mm(a,b));try{if(null!=c){b=a;var e=(c||{}).viewability||"na";if(g.D(g.E(e)))a=b;else{var f=new g.nm(b);Cm(f.g,"label")?(g.wm(f,"acvw",e),a=f.toString().replace(/%2C/g,",")):a=b}}a:{c=a;var k=c.length-11-2;if(!(-1==c.indexOf("URL_SIGNALS")||2048<=k||!d&&!window.Goog_AdSense_Lidar_getUrlSignalsArray))for(d=d||window.Goog_AdSense_Lidar_getUrlSignalsArray(),k={},e=0;e<d.length;++e){k.URL_SIGNALS=d[e];var l=g.Mm(c,k);if(2048>l.length){a=l;break a}}a=c}}catch(m){}return a};
pn=function(a,b,c,d){a=rn(a,b,c,void 0);try{a=mn(a);var e=dn(),f=!P.g()||gn(e,41351089);b=!1;P.g()||!gn(dn(),634360102)||(b=!0);null!=d&&d?sn.nC(a,f):P.H?sn.gT(a,f,b):sn.jC(a,f,b)}catch(k){}};
tn=function(a,b){null!=a&&(0,g.C)(a,function(a){pn(a,b)})};
hea=function(a,b){if(g.D(g.E(b)))return a;var c=new g.nm(a),d=c.l;return null!=d&&lb(d,".g.doubleclick.net")?(g.wm(c,"ged",b),c.toString()):a};
un=function(a,b){this.message=a;this.errorCode=b};
wn=function(a,b,c){return vn("adLoadError",a,b||null,g.Ya(arguments,2))};
xn=function(a,b,c){return vn("adPlayError",a,b||null,g.Ya(arguments,2))};
yn=function(a,b,c,d,e){var f=a.apply(null,g.Va([c,d],g.Ya(arguments,3)));b.dispatchEvent(new Sm("log",null,f))};
zn=function(a,b,c){yn(xn,a,b,c,void 0)};
vn=function(a,b,c,d){if(c instanceof Ym)return c;var e=b.errorCode;b=b.message;if(0<d.length)for(var f=0;f<d.length;f++)b=b.replace(new RegExp("\\{"+f+"\\}","ig"),d[f]);a=new Ym(a,b,e);a.Wk=c;return a};
An=function(a,b,c,d){var e=xn.apply(null,g.Va([b,c],g.Ya(arguments,3)));a.dispatchEvent(new Rm(e))};
Bn=function(a,b){g.We.call(this,"vpaidEventType");this.g=a;this.data=b};
Cn=function(a){return(a=a.exec(g.Gb))?a[1]:""};
g.Dn=function(a){return 0<=g.Ab(iea,a)};
En=function(){return Hj()||Gj()};
Hn=function(){return Fn&&!Gn||tb(g.Gb,"iPod")};
In=function(){return Hn()||Gn};
Ln=function(a){return In()&&Jn(Kn,a)};
On=function(a){return g.Mn&&Jn(Nn,a)};
Jn=function(a,b){if(null==Pn[b]){var c=Qn(a);c?(c=c.replace(/_/g,"."),Pn[b]=0<=g.Ab(c,b)):Pn[b]=!1}return Pn[b]};
Qn=function(a){g.D(Rn)&&(a=a.exec(g.Gb))&&(Rn=a[1]);return Rn};
Sn=function(){var a=g.Gb;return a?tb(a,"Nintendo WiiU"):!1};
Tn=function(){return Fn&&!Gn&&Ln(10)&&P.g()||!P.g()&&(Fn&&!Gn&&Ln(10),0)?!0:Hn()||g.Mn&&!On(4)||!P.g()&&Zk()?!1:!0};
Un=function(){var a;(a=P.l||!1)||(a=!1);return a||In()&&(Fn&&!Gn&&Ln(10),!0)||g.Mn&&!On(4)||Zk()?!0:!1};
Vn=function(a){return!(null===a||a.sj()||P.g()||Hn()||Zk()||g.Mn&&!On(4))};
Wn=function(){this.reset()};
Xn=function(a,b){null!=b&&a.l!=b?(a.g=1,a.l=b):a.g=null!=b?a.g+1:1;return a.g};
Yn=function(a,b,c,d,e,f){g.u(a)?(this.l="y"==a?b:0,this.months="m"==a?b:0,this.days="d"==a?b:0,this.g="h"==a?b:0,this.minutes="n"==a?b:0,this.seconds="s"==a?b:0):(this.l=a||0,this.months=b||0,this.days=c||0,this.g=d||0,this.minutes=e||0,this.seconds=f||0)};
g.ao=function(a,b,c){g.ua(a)?(this.date=Zn(a,b||0,c||1),$n(this,c||1)):g.Ba(a)?(this.date=Zn(a.getFullYear(),a.getMonth(),a.getDate()),$n(this,a.getDate())):(this.date=new Date((0,g.G)()),a=this.date.getDate(),this.date.setHours(0),this.date.setMinutes(0),this.date.setSeconds(0),this.date.setMilliseconds(0),$n(this,a))};
Zn=function(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b};
$n=function(a,b){a.getDate()!=b&&a.date.setUTCHours(a.date.getUTCHours()+(a.getDate()<b?1:-1))};
bo=function(){this.l=this.g=null};
eo=function(){this.g=co();this.K=-1;this.M=this.N=this.B=this.I=this.l=null;this.A=co();this.o=null;this.W=this.D=this.H="";this.F=this.V=this.X=this.C=null;this.Y=0};
co=function(){return Math.floor(4503599627370496*Math.random())};
fo=function(a){null==a.B&&(a.B=new Wn);return a.B};
go=function(a){if(P.l)return"h.3.0.0";var b="h."+a.W;null!=a.C&&(b+="/n."+a.C,null!=a.l&&(b+="/"+a.l));return b};
ho=function(){this.g=.01>Math.random();this.l=Math.floor(4503599627370496*Math.random())};
ko=function(a,b,c,d){if(a.g||d){c=c||{};c.lid=b;c.sdkv=go(io);b=hn(dn());g.D(g.E(b))||(c.e=b);c=jea(a,c);var e=new g.nm("http://pagead2.googlesyndication.com/pagead/gen_204");g.Ib(c,function(a,b){g.wm(e,b,null!=a?"boolean"==typeof a?a?"t":"f":""+a:"")},a);
a=jo();g.om(e,a.A);pn(e.toString())}};
jea=function(a,b){b.id="ima_html5";var c=jo();b.c=a.l;b.domain=c.l;return b};
jo=function(){var a=vd(),b=window.document;return new g.nm(a.parent==a?a.location.href:b.referrer)};
lo=function(){this.pf=15E3};
mo=function(){g.xf.call(this)};
no=function(){g.xf.call(this);this.g=new g.hm;this.l=null;this.H=new g.Dm(this);g.M(this,this.H);this.B="";this.A=this.I=this.D=this.o=null;this.F=-1};
po=function(){null!=oo||(oo=new no);return oo};
qo=function(a,b){var c={};c.queryId=a;c.viewabilityString=b;po().dispatchEvent(new Sm("measurable_impression",null,c))};
ro=function(a,b){var c={};c.queryId=a;c.viewabilityString=b;po().dispatchEvent(new Sm("viewable_impression",null,c))};
so=function(a,b,c){var d={};d.queryId=a;d.viewabilityString=b;d.eventName=c;po().dispatchEvent(new Sm("externalActivityEvent",null,d))};
kea=function(a,b){if(a.l)if(a.A){var c=(0,g.G)()-a.F;b(a.A+"_ct"+c)}else{var d=a.g;c=window.setTimeout(function(){b("timeout");(0,g.C)(d.Ab(),function(a){d.get(a)===b&&d.remove(a)})},200);
a.g.set(c,b);var e={};e.osdId=a.B;e.eventId=c;ho.getInstance().isLoggingEnabled()&&(a.C=(0,g.G)(),e.loggingId=Math.random(),ko(ho.getInstance(),43,{step:"sendingMessage",logid:e.loggingId,time:a.C}));a.l.send("activityMonitor","fetchAdTagUrl",e)}else b("")};
lea=function(a,b,c,d){if(a.l){var e={};e.queryId=c;e.vastEvent=b;a.B&&(e.osdId=a.B);e.isOverlay=null!=a.o;a.o&&(e.overlayBounds=g.Dh(a.o));var f=a.g;b=window.setTimeout(function(){d({viewability:"timeout"});(0,g.C)(f.Ab(),function(a){f.get(a)===d&&f.remove(a)})},200);
a.g.set(b,d);e.eventId=b;a.l.send("activityMonitor","reportVastEvent",e)}else d({})};
to=function(){};
uo=function(a){a=a.match(/[\d]+/g);if(!a)return"";a.length=3;return a.join(".")};
xo=function(a,b){if(null==a||0>=a.width||0>=a.height)throw xn(vo,null,"ad slot size",a.toString());this.l=a;this.g=null!=b?b:new to;this.B=wo(mea,this.g.o)?this.g.o:"All";this.A=wo(nea,this.g.creativeType)?this.g.creativeType:"All";this.D=wo(oea,this.g.A)?this.g.A:"SelectExactMatch";this.F=wo(pea,this.g.l)?this.g.l:"DisallowResize";this.o=null!=this.g.B?this.g.B:[];this.C=g.ua(this.g.g)&&0<this.g.g&&100>=this.g.g?this.g.g:90};
Ao=function(a,b){var c=[];(0,g.C)(b,function(a){!g.D(g.E(a.g.l))&&((0,window.isNaN)(a.g.g)||(0,window.isNaN)(yo(a))||yo(a)==a.g.g)&&zo(this,a)?c.push(a):(a=qea(this,a),null!=a&&!g.D(g.E(a.g.l))&&c.push(a))},a);
return c};
zo=function(a,b){var c;if(c="Flash"!=b.ld()||Bo){if(c="All"==a.B||a.B==b.g.M)c=b.ld(),c=null!=c?"All"==a.A||a.A==c:!0;c&&(c=b.o,c=g.Pa(a.o)?!0:null!=c?0<=(0,g.Na)(a.o,c):!1)}if(c){var d=b.g.Td();if("IgnoreSize"==a.D||g.dd(a.l,d))c=!0;else if(c="SelectNearMatch"==a.D)"ResizeSmaller"==a.F?(d=d.width<=a.l.width&&d.height<=a.l.height?d:Co(d,a.l),c=d.width,d=d.height):(c=d.width,d=d.height),c=c>a.l.width||d>a.l.height||c<a.C/100*a.l.width||d<a.C/100*a.l.height?!1:!0}else c=!1;return c};
qea=function(a,b){var c=b.l;return null!=c?g.Ka(c,function(a){return zo(this,a)},a):null};
Co=function(a,b){var c=Math.min(b.width/a.width,b.height/a.height);return new g.cd(c*a.width,c*a.height)};
wo=function(a,b){return null!=b&&g.Rb(a,b)};
Do=function(a){a=0>a?0:Math.round(a);return 3600<=a?""+Math.floor(a/3600)+":"+("0"+Math.floor(a/60)%60).slice(-2)+":"+("0"+a%60).slice(-2):""+Math.floor(a/60)%60+":"+("0"+a%60).slice(-2)};
rea=function(a){var b={};(0,g.C)(a.split(","),function(a){var c=a.split("=");2==c.length&&(a=xb(c[0]),c=xb(c[1]),0<a.length&&(b[a]=c))});
return b};
Fo=function(a,b){if(a[b])return Eo(a[b]);var c=b.toLowerCase(),d;for(d in a)if(d&&d.toLowerCase()==c)return Eo(a[d]);return!1};
Eo=function(a){return a?-1!=a.toString().search(/(?:true|1)/i):!1};
sea=function(){this.g=this.ig=1;this.l=this.A=0;this.o=1};
Go=function(){g.xf.call(this);this.g=null;this.C=new g.Dm(this);g.M(this,this.C);this.l=new g.hm;this.D=new g.hm;this.A=null;this.o=!1;this.B=null};
Io=function(){null!=Ho||(Ho=new Go);return Ho};
tea=function(){Io();var a=cea();(0,g.C)(a,function(a){qk(pk.getInstance(),a)});
en().g("enable_active_view_presence_data_collection")&&qk(pk.getInstance(),509445017)};
Ko=function(a){if(null==a)return!1;if(Hn()&&null!=a.webkitDisplayingFullscreen)return a.webkitDisplayingFullscreen;var b=window.screen.availWidth||window.screen.width,c=window.screen.availHeight||window.screen.height;a=Jo(a);return 0>=b-a.width&&42>=c-a.height};
Jo=function(a){return g.Aa(a.getBoundingClientRect)&&g.Md(g.gd(a),a)?a.getBoundingClientRect():{left:a.offsetLeft,top:a.offsetTop,width:a.offsetWidth,height:a.offsetHeight}};
Lo=function(a,b,c,d,e){if(a.o){if(a.B)return a.B(b,c,e);e=e||{};if(d=d?a.D.get(d):P.F)null!=e.opt_fullscreen||(e.opt_fullscreen=Ko(d)),null!=e.opt_adElement||(e.opt_adElement=d);a.A&&(P.l&&(e.opt_overlayAdElement=a.A),null!=e.opt_bounds||(e.opt_bounds=Jo(a.A)));return ij("lidar::handlevast_html5",g.Ea(dm,b,c,e))||{}}return{}};
Mo=function(a,b){var c=[];a.l.forEach(g.Ea(function(a,b,c,k){c==b&&a.push(k)},c,b));
(0,g.C)(c,a.l.remove,a.l)};
No=function(a){if(g.Aa(window.Goog_AdSense_Lidar_getUrlSignalsArray)){var b={};b.pageSignals=window.Goog_AdSense_Lidar_getUrlSignalsArray();a.g.send("activityMonitor","pageSignals",b)}};
uea=function(a,b,c){if(!P.I)return"";var d=b?a.D.get(b):P.F;a={};null!=c&&(a.fullscreen=c);c="";try{c=tba(function(){return d},a)}catch(e){c="sdktle;"+rb(e.name,12)+";"+rb(e.message,40)}return c};
Oo=function(a,b){g.We.call(this,a);this.g=b};
Po=function(a,b){this.H=a;this.F=(0,g.H)(b,function(a){return a.clone()});
this.D="";this.g=null;this.l=this.A=0;this.o=!0;this.C=[];this.B=[]};
Qo=function(a,b,c,d,e){a.D="<div></div>";a.g=b;a.A=c;a.l=d;a.o=!1;a.C=e||[];a.B=[]};
Ro=function(a){a.D="";a.g=null;a.A=0;a.l=0;a.o=!0;a.C=[];a.B=[]};
So=function(a){g.We.call(this,a)};
To=function(a){if(a&&a.items&&a.items.length){a=a.items[0];this.channelId=a.id;var b=a.snippet;b&&(this.authorName=b.title,this.channelIconThumbnailUrl=g.Pb(b,"thumbnails","default","url"));if(b=a.statistics)this.videoCount=b.videoCount;if(a=a.brandingSettings)this.g=g.Pb(a,"image","bannerImageUrl")}};
g.Uo=function(a){this.g="number"==typeof a?0<a?1:0>a?-1:null:null==a?null:a?-1:1};
g.Vo=function(a,b){var c=a.l(b,void 0);return-1==(0==c?a.g:c)?"rtl":"ltr"};
Wo=function(){throw Error("Do not instantiate directly");};
Xo=function(a,b){this.content=String(a);this.Ef=null!=b?b:null};
Yo=function(){Wo.call(this)};
Zo=function(){Wo.call(this)};
$o=function(){Wo.call(this)};
ap=function(){Wo.call(this)};
bp=function(){Wo.call(this)};
cp=function(){Wo.call(this)};
dp=function(){Wo.call(this)};
ep=function(a,b){return null!=a&&a.bf===b};
fp=function(a){if(null!=a)switch(a.Ef){case 1:return 1;case -1:return-1;case 0:return 0}return null};
Q=function(a){return null!=a&&a.bf===gp?a:a instanceof g.Mc?hp(g.Nc(a),a.ij()):hp(g.pb(String(String(a))),fp(a))};
ip=function(a){function b(a){this.content=a}
b.prototype=a.prototype;return function(a){return new b(String(a))}};
lp=function(a,b,c){var d="key_"+a+":"+b,e=jp[d];if(void 0===e||0>e)jp[d]=0,kp[d]=c;else if(0==e)throw Error('Encountered two active delegates with the same priority ("'+a+":"+b+'").');};
mp=function(a,b){var c=kp["key_"+a+":"+b];c||""==b||(c=kp["key_"+a+":"]);return c?c:vea;throw Error('Found no active impl for delegate call to "'+a+(b?":"+b:"")+'" (and delcall does not set allowemptydefault="true").');};
vea=function(){return""};
R=function(a){return ep(a,gp)?String(String(a.kd()).replace(np,"").replace(op,"&lt;")).replace(wea,pp):g.pb(String(a))};
qp=function(a){return ep(a,gp)?String(String(a.kd()).replace(np,"").replace(op,"&lt;")).replace(xea,pp):String(a).replace(yea,pp)};
zea=function(a){return"%"+a.charCodeAt(0).toString(16)};
sp=function(a){a=g.nb(String(a));rp.lastIndex=0;return rp.test(a)?a.replace(rp,zea):a};
yp=function(a){if(ep(a,tp)||ep(a,up))return vp(a);a instanceof Ac?a=vp(g.Bc(a)):a instanceof wc?a=vp(xc(a)):(a=String(a),a=Aea.test(a)?a.replace(wp,xp):"about:invalid#zSoyz");return a};
zp=function(a){if(ep(a,tp)||ep(a,up))return vp(a);a instanceof Ac?a=vp(g.Bc(a)):a instanceof wc?a=vp(xc(a)):(a=String(a),a=Bea.test(a)?a.replace(wp,xp):"about:invalid#zSoyz");return a};
Bp=function(a){var b=Ap[1]||(Ap[1]=new g.Uo(1)),c=fp(a);null==c&&(c=uc(a+"",ep(a,gp)));return Cea(c!=b.g?-1==c?'dir="rtl"':1==c?'dir="ltr"':"":"")};
pp=function(a){return Dea[a]};
xp=function(a){return Eea[a]};
vp=function(a){return String(a).replace(wp,xp)};
Fea=function(a){return'<div class="'+Q("text-container")+" "+(a.image?Q("pyv"):"")+'"><div class="'+Q("text-inner-container")+'">'+(a.image?(a.Kc?'<a class="'+Q("text-image-link")+'" target="_blank" href="'+Q(a.Kc)+'">':'<a class="'+Q("text-image-link")+'" target="_blank">')+'<img src="'+Q(a.image)+'" class="'+Q("text-image")+" "+(a.nD?Q("yt-video-image"):"")+'">'+(a.duration?'<div class="'+Q("text-image-duration")+'">'+Q(a.duration)+"</div>":"")+"</a>":"")+(a.Kc?'<a class="'+Q("text-title")+'" href="'+
Q(a.Kc)+'" target="_blank" dir='+Q(a.dir)+">"+Q(a.title)+"</a>":"")+'<div class="'+Q("text-description")+'" dir='+Q(a.dir)+">"+Q(a.text)+"</div>"+(a.oD&&a.Kc?'<a target="_blank" href="'+Q(a.Kc)+'" class="'+Q("text-ad-channel")+'">'+Q(a.oD)+"</a>":"")+"</div></div>"};
Gea=function(a){return'<div class="'+Q("flash-container")+" "+(a.capture?Q("click-capture"):"")+'">'+(a.Kc?'<a class="click-layer" target="_blank" href="'+Q(a.Kc)+'"></a>':"")+'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="//download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+Q(a.width)+'" height="'+Q(a.height)+'"><param name="movie" value="'+Q(a.url)+'"><param name="quality" value="high"><param name="wmode" value="transparent"><param name="AllowScriptAccess" value="never"><param name="FlashVars" value="clickTAG='+
sp(a.Kc)+'"><embed width="'+Q(a.width)+'" height="'+Q(a.height)+'" wmode="transparent" type="application/x-shockwave-flash" src="'+Q(a.url)+'" allowscriptaccess="never" pluginspage="//www.macromedia.com/go/getflashplayer" flashvars="clickTAG='+sp(a.Kc)+'"></object></div>'};
Hea=function(a){return'<div class="'+Q("image-container")+'" id="'+Q(a.id)+'" style="width:'+Q(a.width)+";height:"+Q(a.height)+';">'+(a.Kc?'<a target="_blank" href="'+Q(a.Kc)+'">':'<a target="_blank">')+'<img src="'+Q(a.url)+'" border="0"></a></div>'};
Iea=function(a){return'<div class="'+Q("image-container")+'" id="'+Q(a.id)+'">'+(a.Kc?'<a target="_blank" href="'+Q(a.Kc)+'">':'<a target="_blank">')+'<img src="'+Q(a.url)+'" border="0" style="max-width:100%;max-height:100%;"></a></div>'};
Cp=function(a){return'<div class="'+Q("image-container")+'" id="'+Q(a.id)+'" style="width:'+Q(a.width)+";height:"+Q(a.height)+';"></div>'};
Dp=function(){this.g=new g.hm};
Ep=function(a,b){this.l=a;this.o=b};
Fp=function(a,b){Ep.call(this,"progress",a);this.g=b};
Hp=function(a,b){(0,g.C)(b,function(a){var b=a.Vb().toLowerCase(),c=Gp(this,b);c.push(a);this.g.set(b,c)},a)};
Ip=function(a,b,c,d){b=b.toLowerCase();c=null!=d?new Fp(c,d):new Ep(b,c);d=Gp(a,b);d.push(c);a.g.set(b,d)};
Gp=function(a,b){return null!=b?a.g.get(b.toLowerCase(),[]):[]};
Jea=function(a,b){var c=Gp(a,"progress");(0,g.C)(c,function(a){Jp(a.g,b)});
g.fb(c,function(a,b){return Kp(a.g)-Kp(b.g)})};
Lp=function(a,b){return(0,g.H)(Gp(a,b),function(a){return a.Qa()})};
Mp=function(){this.ka=-1;this.F={};this.ra="";this.vj=new Dp};
Np=function(a,b,c){a.ra=b;a.F=c};
Op=function(a,b){var c=[],d=a.En();(0,g.C)(d,function(a){a=Gp(a.vj,b)||[];c=g.Va(a,c)},a);
return c};
Kea=function(a){a=Op(a,"feedbackShown");return(0,g.H)(a||[],function(a){return a.Qa()})};
Pp=function(a,b,c){var d=c||!1;return g.Ka(b.D,function(a){var b=a.g==this.g;return a instanceof this.constructor&&(d||b)},a)};
Qp=function(a,b,c,d,e,f,k,l,m){this.o=a;this.g=b;(0,window.isNaN)(c)&&(0,window.isNaN)(d)&&(0,window.isNaN)(e)?e=d=0:(0,window.isNaN)(d)&&!(0,window.isNaN)(e)?d=e:!(0,window.isNaN)(d)&&(0,window.isNaN)(e)?e=d:!(0,window.isNaN)(c)&&(0,window.isNaN)(d)&&(0,window.isNaN)(e)&&(d=e=c);this.si=d;this.Tf=e;this.C=f;this.A=k;this.B=mn(g.E(l));this.l=m};
Rp=function(a,b,c,d,e,f){Mp.call(this);this.ka=a;this.A=b;this.o=c;this.l=g.Wa(d);this.B=null;this.C=e;this.oa=g.Wa(f);ab(this.oa,null,function(a){return a.K})};
Sp=function(a){var b=new g.hm,c=a.En();(0,g.C)(c,function(a){if(a instanceof Rp){var c=a.o;(0,g.C)(c.Ab(),function(a){b.set(a,g.Va(c.get(a),b.get(a)||[]))},this)}},a);
return b};
Up=function(a){return Tp(a,"x-shockwave-flash")};
Tp=function(a,b){var c=g.Ka(a.l,function(a){return!g.D(g.E(a.g))&&-1!=a.g.indexOf(b)&&("VPAID"==a.l||"surveys"==a.l)});
return null!=c?c:null};
Wp=function(a,b,c,d,e){Mp.call(this);g.D(g.E(a))&&(a=Cb()+"_ima");this.ia=g.E(a);this.Ea=b;this.M=c;this.na=d;this.l=e;this.K=[];null!=this.na?this.Y=Vp[this.na]||"Other":this.Y=null};
Xp=function(a,b,c){g.K.call(this);this.l=a;this.B=b;this.I=c;this.A=0;this.g={};this.o=new g.Dm(this);g.M(this,this.o);Lea(this)};
Lea=function(a){(0,g.C)(a.I,function(a){this.o.R(a.element,"mousedown",this.D,!0);this.o.R(a.element,"mouseup",g.Ea(this.H,a),!0)},a);
a.o.R(a.B,"mouseenter",a.F)};
Mea=function(a,b){g.Ib(a.g,function(a,d){b=Qg(b,d,a)});
return b};
Yp=function(a,b,c,d,e){Wp.call(this,a,b,c,d,e);this.da=this.A=null;this.Ga=-2;this.o=null;this.ca=this.W=g.y;this.X=[];this.Pa=[];this.C=!1;this.Za=null};
aq=function(a,b){a.o=b;null!=a.A&&null!=b&&(Zp(a,a.W),$p(a,a.ca))};
Zp=function(a,b){null!=a.o&&null!=a.A&&(0,g.C)(a.X,function(a){this.o.Ca(a,"click",this.W);!g.D(g.E(this.nf()))&&this.o.R(a,"click",b)},a);
a.W=b};
$p=function(a,b){null!=a.o&&null!=a.A&&(a.o.Ca(a.A,"creativeview",a.ca),a.o.R(a.A,"creativeview",b));a.ca=b};
bq=function(a,b){var c=a.ia,d={};d.style="cursor:default;position:relative;z-index:1001;height:"+a.getHeight()+"px;";"Text"!=a.ld()&&(d.style+="width:"+a.Fb()+"px");g.D(g.E(c))||(d.id=c);return g.J("DIV",d,b)};
cq=function(a){if(!a.C)return null;var b=Op(a,"start");Xa(b,Op(a,"creativeview"));if(null!=b&&!g.Pa(b)){var c=[];(0,g.C)(b,function(a){if(!g.D(g.E(a))){var b=g.id().LH("IFRAME",{frameborder:0,style:"border:0;vertical-align:bottom;",src:Nea});g.jh(b,{display:"block",height:"0px",width:"0px"});var d="iframe"+Math.floor(1E9*Math.random());b.setAttribute("height",0);b.setAttribute("width",0);b.setAttribute("src",mn(a.Qa()));b.setAttribute("id",d);this.Pa.push(d);g.Ra(c,b)}},a);
return c}return null};
Oea=function(a,b){if(null!=a.A)if(en().g("cleanup_text_overlay_spam_signals")){var c=[];(0,g.C)(a.X,function(a){c.push({element:a,YG:this.Kq(a)})},a);
new Xp(b,a.A,c)}else c=new g.hm,(0,g.C)(a.X,function(a){c.set(a,this.Kq(a))},a),new Km(b,a.A,c)};
Pea=function(a){var b=[],c=a.En();(0,g.C)(c,function(a){b=g.Va(b,a.K)},a);
return b};
dq=function(a,b,c){var d=c||!1;return g.Ka(b.D,function(a){var b=a.g==this.g;return this instanceof a.constructor&&(d||b)},a)};
eq=function(a,b){this.g=null!=a?a:new Dp;this.H=null!=b?b:[]};
Qea=function(a,b){var c=b.g;(0,g.C)(c.Ab(),function(a){Hp(this.g,c.get(a))},a)};
fq=function(a,b){var c=Lp(a.g,b);return null!=c?c:[]};
g.gq=function(a){if(a.classList)return a.classList;a=a.className;return g.u(a)&&a.match(/\S+/g)||[]};
g.hq=function(a,b){return a.classList?a.classList.contains(b):g.Oa(g.gq(a),b)};
g.S=function(a,b){a.classList?a.classList.add(b):g.hq(a,b)||(a.className+=0<a.className.length?" "+b:b)};
g.iq=function(a,b){if(a.classList)(0,g.C)(b,function(b){g.S(a,b)});
else{var c={};(0,g.C)(g.gq(a),function(a){c[a]=!0});
(0,g.C)(b,function(a){c[a]=!0});
a.className="";for(var d in c)a.className+=0<a.className.length?" "+d:d}};
g.jq=function(a,b){a.classList?a.classList.remove(b):g.hq(a,b)&&(a.className=(0,g.Hd)(g.gq(a),function(a){return a!=b}).join(" "))};
g.kq=function(a,b){a.classList?(0,g.C)(b,function(b){g.jq(a,b)}):a.className=(0,g.Hd)(g.gq(a),function(a){return!g.Oa(b,a)}).join(" ")};
g.T=function(a,b,c){c?g.S(a,b):g.jq(a,b)};
g.lq=function(a,b,c){g.hq(a,b)&&(g.jq(a,b),g.S(a,c))};
g.mq=function(a,b){var c=!g.hq(a,b);g.T(a,b,c);return c};
nq=function(a,b){var c=a(b||Rea,void 0,void 0);var d=g.id().createElement("DIV");c=Sea(c);d.innerHTML=c;1==d.childNodes.length&&(c=d.firstChild,1==c.nodeType&&(d=c));return d};
Sea=function(a){if(!g.Ba(a))return String(a);if(a instanceof Wo){if(a.bf===gp)return a.kd();if(a.bf===oq)return g.pb(a.kd())}return"zSoyz"};
pq=function(a,b){Yp.call(this,a,b,"Static","text","")};
qq=function(a){null!=a?jn(Tea,a)?(a=a.match(/yt_vid\/([a-zA-Z0-9_-]{11})/),a=null!=a&&1<a.length?a[1]:null):a=kn(a)?Uea(a):null:a=null;return a};
rq=function(a,b,c){if(null==a)return null;c=new g.nm((null!=c?c:"//www.youtube.com/")+"watch");var d=c.g;d.set("v",a);d.set("feature",b?"trueview-instream":"instream");sm(c,d);return c.toString()};
sq=function(a){return null===a?!1:"pharma"==(new g.nm(a)).ci().toLowerCase()};
Uea=function(a){if(g.D(g.E(a)))return null;var b=a.match(/^https?:\/\/[^\/]*youtu\.be\/([a-zA-Z0-9_-]+)$/);if(null!=b&&2==b.length)return b[1];b=a.match(/^https?:\/\/[^\/]*youtube.com\/video\/([a-zA-Z0-9_-]+)$/);if(null!=b&&2==b.length)return b[1];b=a.match(/^https?:\/\/[^\/]*youtube.com\/watch\/([a-zA-Z0-9_-]+)$/);if(null!=b&&2==b.length)return b[1];a=(new g.nm(a)).g;return Cm(a,"v")?a.get("v").toString():Cm(a,"video_id")?a.get("video_id").toString():null};
tq=function(a){return g.D(g.E(a))?null:"//i1.ytimg.com/vi/"+a+"/mqdefault.jpg"};
zq=function(a,b,c){var d={};a=new uq(a,g.t(b)?b:null,g.t(c)?c:null);vq(d,a);b=a.error;d.ERRORCODE=1E3>b.l?b.l:900;wq(d);xq(d,a);yq(d,a);b=a.error.Mb();d.ERROR_MSG=a.error.Dd();d.IMA_ERROR=b;d.INTERNAL_ID="0";a=-1!=(0,g.Na)(Vea,b);d.BLOCKING_ERROR=a?"1":"0";d.YT_ERROR_CODE=3;return d};
Aq=function(a,b){var c={},d=new uq(null,a,g.t(b)?b:null);vq(c,d);wq(c);xq(c,d);yq(c,d);c.BREAK_TYPE="0";c.SLOT_POS="0";c.MIDROLL_POS="0";if(null!=d.g){var e=d.g.o;if(null!=e&&null!=e.Nh&&null!=e.Nh.video_start_delay)e=e.Nh.video_start_delay,0==e?c.BREAK_TYPE="1":-1==e?c.BREAK_TYPE="3":(c.BREAK_TYPE="2",c.MIDROLL_POS=e);else{e=d.g.B;c.BREAK_TYPE=0==e.A?"1":-1==e.A?"3":"2";var f=d.g.hf();f&&(c.BREAK_TYPE=f);c.SLOT_POS=e.g-1;e=d.g.o;e=null!=e&&null!=e.hc&&null!=e.hc.GET_MIDROLL_POSITION_IN_SEC?e.hc.GET_MIDROLL_POSITION_IN_SEC:
null;f=Math.round(d.g.B.l);e=0<f&&e?e(f):f;0<e&&(c.MIDROLL_POS=e)}}Wea(c,d);Xea(c,d);d=a.ib;for(e=a;null!=e;)d=e.Oa+","+d,e=e.l;c.RWT=d;return c};
uq=function(a,b,c){this.error=a;this.g=b;this.l=c};
Bq=function(a,b){null!=b&&(a.VIEWABILITY=b)};
Cq=function(a,b,c,d){Yea(c,b)?a[c]=d||"":a[c]=""};
Yea=function(a,b){return(0,g.Kj)(Zea[a],function(a){return null!=b.match(a)})};
vq=function(a,b){a.CACHEBUSTING={toString:function(){return Math.round(1E8*Math.random()+1E8).toString().slice(1)}};
a.ASSETURI={toString:function(){return null!=b.l?b.l.getVideoUrl():""}};
a.TIMESTAMP={toString:function(){return(new Date).toISOString()}}};
Xea=function(a,b){a.AD_CPN={toString:function(){return b.l.He()}};
a.AD_MT={toString:function(){return Math.round(Math.max(0,1E3*b.l.getCurrentTime())).toString()}};
a.MT={toString:function(){return b.l?Math.round(Math.max(0,1E3*b.l.getCurrentTime(1))).toString():"0"}};
a.P_W={toString:function(){return null!=b.l&&null!=b.l.lh()?b.l.lh().width.toString():""}};
a.P_H={toString:function(){return null!=b.l&&null!=b.l.lh()?b.l.lh().height.toString():""}}};
wq=function(a){a.SDKV=go(io);a.EL="adunit";a.CONN="0";a.WT={toString:function(){return Date.now()}};
a.VED=""};
xq=function(a,b){if(null!=b.g&&null!=b.g.o&&null!=b.g.o.hc&&P.g()){var c=b.g.o.hc;(0,g.C)($ea,function(b){b in c&&(a[b]=c[b])})}};
yq=function(a,b){if(null!=b.g){a.AD_ID=afa(b.g);a.AD_SYS=bfa(b.g);var c=Dq(b.g);a.AQI=null!=c?c:"";a.AD_V={toString:function(){if(null!=b.l){var a=qq(b.l.getVideoUrl());if(null!=a)return a}return"0"}};
a.FORMAT_NAMESPACE="0";a.FORMAT_TYPE="0";a.FORMAT_SUBTYPE="0";c=[];try{c=Eq(b.g).split("_")}catch(d){}1<=c.length&&(a.FORMAT_NAMESPACE=c[0]);2<=c.length&&(a.FORMAT_TYPE=c[1]);3<=c.length&&(a.FORMAT_SUBTYPE=c[2]);a.FINAL="1"}};
Wea=function(a,b){null!=b.g&&(a.AD_LEN={toString:function(){var a=b.g.getDuration();return 0>a?"-1":Math.round(1E3*a).toString()}},a.VOL={toString:function(){return null!=b.l?b.l.isMuted()?"0":Math.round(100*b.l.getVolume()).toString():""}})};
Hq=function(a,b,c){var d=null,e=c+b;(0,g.C)(a.D,function(f){if(Fo(f.F,"rm")){var k=Aq(a);Fq(a)&&(k.FILLED_OPPORTUNITY=0);tn(a.W,k);(k=a.o)&&k.afcRmFallback&&(d=f)}else{if(k=f instanceof Yp)0==c&&0==b||f instanceof pq?k=!0:(k=f.Td(),k=k.width<=b&&k.height<=c);k&&(k=0==c&&0==b?0:c-f.Td().height+b-f.Td().width,"Flash"!=f.ld()||Bo)&&(null!=d?k<e?(d=f,e=k):k==e&&("Flash"==d.ld()&&"Javascript"==f.ld()?d=f:f.g<d.g&&(d=f)):(d=f,e=k))}});
Gq(a,d)};
Iq=function(a){var b=null;(0,g.C)(a.D,function(a){a instanceof Rp&&(null===b||a.g<b.g)&&(b=a)});
Gq(a,b)};
Jq=function(a,b,c,d){this.A=a;this.D=b;this.ads=0<this.A.length?this.A:this.D;this.C=c;this.B=this.F=!0;this.l=-1;this.g=null;this.I=this.o=0;this.K=d;this.logger=null};
Oq=function(a,b,c){var d=[],e=(0,g.z)(function(a){this.Lf()?this.Je(function(a){d.push(a);e(null)},function(a){301==a.Mb()?c(wn(Lq)):e(a)}):0<d.length?b(d):(null==a&&(a=wn(Mq)),1012==a.Mb()&&(a=wn(Nq)),c(a))},a);
e(null)};
cfa=function(a,b){a.B=b;a.ads=a.Ww(a.A,a.D);a.l=-1};
dfa=function(a,b,c,d){var e=a.C.clone();e.l="";e.g=b.Zb;Pq(a,b,e,c,d)};
Pq=function(a,b,c,d,e){var f=b.getExtension("LocalRedirect");null!=f&&(f=f.o,null!=f&&(c.l=f));a.K.fetch(c,(0,g.z)(function(a){a instanceof Jq?(efa(a,b,this.B&&b.ob,b.xb),d(a)):a instanceof Qq?e(new Ym("adLoadError","Ad source cannot contain playlist response.",2)):e(new Ym("adLoadError","Unknown ad source.",2))},a),e)};
ffa=function(a){var b=0;for(a=a.l;null!=a;)a=a.l,b++;return b};
gfa=function(a,b,c){a.g.Lf()?a.g.Je((0,g.z)(function(a){this.Lo(a,b,(0,g.z)(function(a){this.Lf()?this.Je(b,c):c(a)},this))},a),(0,g.z)(function(a){Rq(this.ads[this.l],a);
this.g=null;P.g()||301!=a.Mb()?this.Lf()?this.Je(b,c):c(a):c(a)},a)):(0==a.g.o&&Rq(a.ads[a.l],wn(Sq)),a.g=null,a.Je(b,c))};
Rq=function(a,b){if(b.o){1012==b.Mb()&&(b=wn(Nq));var c=zq(b,a),d=a.ka;P.g()&&303==b.Mb()&&(d=(0,g.Hd)(d,function(a){return-1==a.indexOf(".youtube.com/api/stats/ads")}));
tn(d,c)}};
jfa=function(a,b,c){a.l++;var d=a.ads[a.l];d.ba||d.na?d.na?dfa(a,d,(0,g.z)(function(a){this.g=a;this.Je(b,c)},a),(0,g.z)(function(a){a=Tq(a);
Rq(d,a);c(a)},a)):ffa(d)>=P.M?(a=wn(hfa,null,String(P.M)),Rq(d,a),c(a)):a.F?a.Qt(d,(0,g.z)(function(a){this.g=a;
this.Je(b,c)},a),(0,g.z)(function(a){a=Tq(a);
Rq(d,a);c(a)},a)):c(wn(ifa)):a.Lo(d,b,c)};
Tq=function(a){switch(a.Mb()){case 300:case 301:case 302:case 303:case 200:case 1012:break;default:a=wn(Sq)}return a};
efa=function(a,b,c,d){(0,g.C)(a.ads,function(a){a.l=b});
cfa(a,c);a.F=d};
Uq=function(a){eq.call(this);this.l=(0,window.isNaN)(a)?-1:a};
Vq=function(a,b,c,d){Jq.call(this,[],a,b,c);this.H=d};
Wq=function(a){var b=a.ads.length-(0>a.l?1:a.l+1);return null!=a.g&&a.g instanceof Vq?b+Wq(a.g):b};
Xq=function(a){g.nm.call(this,a);this.D=new g.hm;a=this.o;var b=a.indexOf(";"),c=null;0<=b?(g.rm(this,a.substring(0,b)),c=a.substring(b+1)):g.rm(this,a);kfa(this,c)};
kfa=function(a,b){g.D(g.E(b))||(0,g.C)(b.split(";"),function(a){var b=a.indexOf("=");if(0<b){var c=ob(a.substring(0,b));a=ob(a.substring(b+1));b=this.D.get(c);null!=b?g.Oa(b,a)||b.push(a):b=[g.E(a)];this.D.set(c,b)}},a)};
Yq=function(a,b){if(g.D(g.E(b)))return null;var c=a.D.get(b);return null!=c?c:null};
Zq=function(a,b,c){g.D(g.E(b))||(c=g.H(c,g.E),a.D.set(b,c))};
$q=function(a,b){var c=[g.E(b)];Xa(c,lfa(a));return c.join(";")};
lfa=function(a){var b=Yq(a,"ord");null!=b?g.D(g.E("ord"))||a.D.remove("ord"):b=[g.E((0,g.G)())];var c=[];(0,g.C)(a.D.Ab(),function(a){(0,g.C)(this.D.get(a),function(b){Xa(c,a+"="+b)})},a);
Xa(c,"ord="+b[0]);Zq(a,"ord",b);return c};
br=function(a){if(null==a)return!1;a=new g.nm(a);var b=a.o;return lb(a.l,"googleads.g.doubleclick.net")&&ar("/pagead/(live/)?ads",b)};
cr=function(a){a=a.g;return null!=a?"bid.g.doubleclick.net"==(new g.nm(a)).l:!1};
dr=function(a){if(null==a)return!1;var b=new Xq(a);a=b.l;b=$q(b,b.o);return!lb(a,".g.doubleclick.net")&&lb(a,"doubleclick.net")&&ar("/(ad|pfad)[x|i|j]?/",b)};
er=function(a){if(null==a)return!1;a=new g.nm(a);var b=a.o;return lb(a.l,"doubleclick.net")&&ar("/gampad/(live/)?ads",b)};
mfa=function(a){return br(a.g)||dr(a.g)||er(a.g)||cr(a)};
gr=function(a){a=a.g;return null!=a?fr(a):!1};
fr=function(a){a=new g.nm(a);var b=a.o;return lb(a.l,"youtube.com")&&ar("/get_midroll_info",b)};
nfa=function(a){a=a.g;if(null==a)return null;a=(new g.nm(a)).g;return null!=a.get("ms")?g.E(a.get("ms")):null};
ar=function(a,b){return g.D(g.E(b))?!1:(new RegExp(a)).test(b)};
hr=function(a,b,c,d){this.g=a;this.l=b;this.o=c;this.A=null!=d?d:!1};
yo=function(a){a=a.g.Jb().g;return null!=a?a.g:window.NaN};
ir=function(a,b){a.g.H=b;(0,g.C)(a.l,function(a){ir(a,b)},a)};
jr=function(a){return hp('<div class="'+R("iv-endcap-background")+'"><div class="'+R("iv-endcap-slot")+'"><div class="'+R("iv-endcap-card")+'"><a class="'+R("iv-endcap-image")+'" href="'+R(yp(a.target))+'" target="_blank"><img src="'+R(zp(a.image))+'"></a><div class="'+R("iv-endcap-text")+'" dir='+qp(a.dir)+'><a href="'+R(yp(a.target))+'" target="_blank"><div class="'+R("iv-endcap-headline")+'">'+Q(a.headline)+'</div><div class="'+R("iv-endcap-description")+'">'+Q(a.description)+'</div></a></div><a class="'+
R("iv-endcap-action")+'" href="'+R(yp(a.target))+'" target="_blank" dir='+qp(a.dir)+">"+(a.action?Q(a.action):'<span class="'+R("iv-endcap-action-icon")+'"></span>')+'</a></div></div><div class="'+R("iv-endcap-bottom")+'"><svg class="'+R("iv-endcap-countdown")+'" viewBox="0 0 20 20"><circle class="'+R("iv-endcap-countdown-inner")+'" r="5" cx="10" cy="10"/><circle class="'+R("iv-endcap-countdown-outer")+'" r="10" cx="10" cy="10"/></svg></div></div>')};
ofa=function(){var a=Ga("Next");return hp(""+a)};
pfa=function(){var a=Ga("Previous");return hp(""+a)};
qfa=function(a){var b='<div class="'+R("iv-cards-companion")+'"><div class="'+R("iv-cards-attribution")+'"><span class="'+R("yt-badge")+" "+R("yt-badge-ad")+'">'+kr()+"</span>";if(a.advertiserName&&a.Kc){var c=Ga("Shop products from {$advertiserName}",{advertiserName:Q(a.advertiserName)});b+='<a class="'+R("ad-companion-clickthrough")+'" href="'+R(yp(a.Kc))+'" target="_blank">'+c+"</a>"}b+='<div class="'+R("yt-uix-hovercard")+" "+R("ad-info-container")+'"><span class="'+R("yt-uix-hovercard-target")+
'" data-position="topright" data-orientation="horizontal"><span class="ad-info-icon"></span></span><div class="'+R("yt-uix-hovercard-content")+'"><p>'+Q(a.ye)+'</p></div></div></div><div class="'+R("iv-cards-slider")+'"><div class="'+R("iv-cards-slider-body")+'"><ul class="'+R("iv-cards-slider-list")+'">';c=a.cards;for(var d=c.length,e=0;e<d;e++){var f=c[e],k='<li class="'+R("iv-cards-slider-item")+'">';f=hp('<div class="'+R("iv-cards-slider-unit")+'"><a href="'+R(yp(f.target))+'" target="_blank"><div class="'+
R("iv-cards-slider-image")+'"><span class="'+R("iv-cards-image-helper")+'"></span><img src="'+R(zp(f.image))+'"></div><div class="'+R("yt-ui-ellipsis")+" "+R("yt-ui-ellipsis-4")+" "+R("iv-cards-slider-text")+'">'+Q(f.headline)+'</div><span class="'+R("iv-cards-slider-action")+'">'+Q(f.action)+"</span></a></div>");b+=k+f+"</li>"}b+="</ul></div>"+(a.ZS?'<button class="'+R("iv-cards-slider-button")+" "+R("iv-cards-slider-prev")+'" type="button" onclick=";return false;"><span class="'+R("iv-cards-slider-prev-icon")+
" "+R("yt-uix-tooltip")+" "+R("yt-sprite")+'" data-tooltip-text="'+R(a.JB)+'" title="'+R(a.JB)+'"></span></button><button class="'+R("iv-cards-slider-button")+" "+R("iv-cards-slider-next")+'" type="button" onclick=";return false;"><span class="'+R("iv-cards-slider-next-icon")+" "+R("yt-uix-tooltip")+" "+R("yt-sprite")+'" data-tooltip-text="'+R(a.rA)+'" title="'+R(a.rA)+'"></span></button>':"")+"</div></div>";return hp(b)};
rfa=function(a){return hp('<div class="'+R("iv-website-companion")+'"><div class="'+R("yt-uix-hovercard")+" "+R("ad-info-container")+" "+R("iv-website-companion-ad-info")+'"><span class="'+R("yt-uix-hovercard-target")+'" data-position="topright" data-orientation="horizontal"><span class="ad-info-icon"></span></span><div class="'+R("yt-uix-hovercard-content")+'"><p>'+Q(a.ye)+'</p></div></div><a href="'+R(yp(a.target))+'" target="_blank">'+(a.bannerImageUrl?'<img class="'+R("iv-website-companion-banner")+
'" src="'+R(zp(a.bannerImageUrl))+'">':"")+'<div class="'+R("iv-website-companion-block")+'"><div class="'+R("iv-website-companion-icon")+'"><img src="'+R(zp(a.KI))+'"></div><div class="'+R("iv-website-companion-text")+'"><div class="'+R("iv-website-companion-header")+'">'+Q(a.headline)+'</div><div class="'+R("iv-website-companion-desc")+'"><span class="'+R("yt-badge")+" "+R("yt-badge-ad")+'">'+kr()+'</span><span class="'+R("iv-website-companion-domain")+'">'+Q(a.descriptionText)+'</span></div></div><div class="'+
R("iv-website-companion-action")+" "+R("yt-uix-button-size-default")+" "+R("yt-uix-button-primary")+'">'+(a.actionTitle?Q(a.actionTitle):'<span class="'+R("iv-website-companion-action-icon")+'"></span>')+"</div></div></a></div>")};
kr=function(){var a=Ga("Ad");return hp(""+a)};
sfa=function(a){var b=lr(a);if(!b)return{};var c=mr(b);return c?{shoppingCompanionCarouselItemRenderer:{headline:nr(b.md()),merchant:nr(or(c)),image:{thumbnails:[{url:pr(b).getImageUrl()}]},priceText:nr(qr(c)),clickthroughEndpoint:rr(sr(tr(a)))}}:{}};
nr=function(a){return{runs:[{text:a}]}};
rr=function(a){a=a||"";return{webNavigationEndpointData:{url:a},urlEndpoint:{url:a,target:"TARGET_NEW_WINDOW"}}};
ur=function(a){return{baseUrl:a}};
vr=function(a,b){this.g=a;this.l=b};
Kp=function(a){return a.l?-1:a.g};
Jp=function(a,b){a.l&&(a.l=!1,a.g=a.g*b/100)};
tfa=function(a,b,c){b=c||b;a=a||{};return""+mp("a",a.pn)(a,b)};
ufa=function(a){return'<div class="'+Q("videoAdUi")+'"><div class="'+Q("videoAdUiTopBar")+'"><div class="'+Q("videoAdUiAttributionContainer")+" "+Q("videoAdUiAttributionContainer-gvn")+'"><div class="'+Q("videoAdUiAttribution")+'" '+Q(Bp(a.attributionText))+">"+Q(a.attributionText)+'</div></div></div><div class="'+Q("videoAdUiProgressBar")+'" dir="ltr"><div class="'+Q("videoAdUiProgress")+'"></div></div></div>'};
vfa=function(a){return'<div class="'+Q("videoAdUi")+'"><div class="'+Q("videoAdUiTopBar")+'"><div class="'+Q("videoAdUiAttributionContainer")+" "+Q("videoAdUiAttributionContainer-gvn")+'"><div class="'+Q("videoAdUiAttribution")+'" '+Q(Bp(a.attributionText))+">"+Q(a.attributionText)+'</div></div><div class="'+Q("videoAdUiLearnMoreText")+" "+Q("videoAdUiLearnMoreText-gvn")+'">'+Q(a.learnMoreText)+'<div class="'+Q("videoAdUiLearnMoreIcon")+'"></div></div></div><div class="'+Q("videoAdUiProgressBar")+
'" dir="ltr"><div class="'+Q("videoAdUiProgress")+'"></div></div></div>'};
wr=function(){return hp('<div class="'+R("videoAdUiPreSkipContainer")+'"><div class="'+R("videoAdUiPreSkipButton")+'"><div class="'+R("videoAdUiPreSkipText")+'"></div><div class="'+R("videoAdUiPreSkipThumbnail")+'" aria-hidden="true"></div></div></div>')};
wfa=function(){return hp('<div class="'+R("videoAdUiPreSkipContainer")+" "+R("videoAdUiPreSkipContainerPlainThumbnailCountdown")+'"><div class="'+R("videoAdUiPreSkipButton")+'"><div class="'+R("videoAdUiPreSkipText")+'">You can skip to video in</div><div class="'+R("videoAdUiPreSkipThumbnail")+'"><div class="'+R("videoAdUiPreSkipThumbnailCountdown")+'"><span class="'+R("videoAdUiPreSkipTextTimeLeft")+'"></span></div></div></div></div>')};
xr=function(a){a=a||{};return""+Ga("Your video will begin in {$xSeconds}",{xSeconds:Q(a.Ng)})};
xfa=function(a){return hp('<div class="'+R("videoAdUiBrandPrecapContainer")+" "+R("html5-stop-propagation")+'"><div class="'+R("videoAdUiBrandPrecapContent")+'"><div class="'+R("videoAdUiBrandPrecapImageContainer")+'" aria-hidden="true"><img class="'+R("videoAdUiBrandPrecapBrandImage")+'" src="'+R(zp(a.RG))+'"></div><div class="'+R("videoAdUiBrandPrecapTextContainer")+'"><div class="'+R("videoAdUiBrandPrecapBrandName")+'">'+Q(a.TG)+'</div><div class="'+R("videoAdUiBrandPrecapBrandMessage")+'">'+Q(a.SG)+
"</div></div></div></div>")};
yfa=function(a){return hp('<div class="'+R("videoAdUiBrandPrecapContainer")+" "+R("html5-stop-propagation")+'"><img class="'+R("videoAdUiBrandPrecapAutoGenImage")+'" src="'+R(zp(a.PG))+'"></div>')};
zfa=function(a){a=a||{};return hp('<div class="'+R("videoAdUiBrandInteractionUnit")+" "+R("html5-stop-propagation")+'"><span class="'+R("videoAdUiBrandInteractionPreMessageText")+'">'+Q(a.preMessageText)+'</span><div class="'+R("videoAdUiBrandInteractionButtonContainer")+'"><button class="'+R("videoAdUiBrandInteractionButton")+" "+R("videoAdUiBrandInteractionLikeButton")+'"><div class="'+R("videoAdUiBrandInteractionIcon")+" "+R("videoAdUiBrandInteractionLikeIcon")+'"></div></button><span class="'+
R("videoAdUiBrandInteractionMessageBox")+" "+R("videoAdUiLikeMsg")+'"></span></div><div class="'+R("videoAdUiBrandInteractionButtonContainer")+'"><button class="'+R("videoAdUiBrandInteractionButton")+" "+R("videoAdUiBrandInteractionDislikeButton")+'"><div class="'+R("videoAdUiBrandInteractionIcon")+" "+R("videoAdUiBrandInteractionDislikeIcon")+'"></div></button><span class="'+R("videoAdUiBrandInteractionMessageBox")+" "+R("videoAdUiDislikeMsg")+'"></span></div></div>')};
Afa=function(a){return hp('<div class="'+R("videoAdUiBrandInteractionUnit")+" "+R("videoAdUiBrandInteractionUnitConfirmationMsg")+" "+R("html5-stop-propagation")+'"><div class="'+R("videoAdUiBrandInteractionPostMessageText")+'">'+Q(a.postMessageText)+"</div></div>")};
Bfa=function(a){return'<div class="'+Q("videoAdUiSkipContainer")+" "+Q("html5-stop-propagation")+'"><button class="'+Q("videoAdUiSkipButton")+" "+Q("videoAdUiAction")+'">'+Q(a.ku)+'<div class="'+Q("videoAdUiSkipIcon")+'"></div></button></div>'};
Cfa=function(a){return'<div class="'+Q("videoAdUiSkipContainer")+" "+Q("html5-stop-propagation")+'"><button class="'+Q("videoAdUiSkipButton")+" "+Q("videoAdUiAction")+'"><div class="'+Q("videoAdUiSkipButtonExperimentalText")+'">'+Q(a.ku)+'</div><div class="'+Q("videoAdUiSkipIcon")+'"></div></button></div>'};
Dfa=function(a){return'<div class="'+Q("videoAdUiSkipContainer")+" "+Q("html5-stop-propagation")+" "+Q("videoAdUiSkipContainerWithThumbnail")+'"><div class="'+Q("videoAdUiSkipText")+'">'+Q(a.ku)+'</div><button class="'+Q("videoAdUiSkipButton")+" "+Q("videoAdUiAction")+" "+Q("videoAdUiSkipButtonWithThumbnail")+'"><div class="'+Q("videoAdUiSkipIconContainer")+'"><div class="'+Q("videoAdUiSkipIcon")+'"></div></div></button></div>'};
yr=function(a){var b="";2<=a.qp&&1<=a.Bm?(a=Ga("Ad {$adPosition} of {$totalAds} {$timeLeft}",{adPosition:Q(a.Bm),totalAds:Q(a.qp),timeLeft:Q(a.np)}),b+=a):(a=Ga("Ad {$timeLeft}",{timeLeft:Q(a.np)}),b+=a);return b};
Ar=function(){var a=zr(),b=hp("</a>"),c="";a=Ga("Visit Google's {$beginFormat}Ad Settings{$endFormat} to learn more about how ads are targeted or to opt out of personalized ads.",{beginFormat:Q(a),endFormat:Q(b)});c+="<div class='"+R("videoAdUiAdSettingsLongTooltip")+"'>"+a+"</div>";return hp(c)};
zr=function(){return hp('<a href="https://www.google.com/settings/ads/onweb" target="_blank">')};
Br=function(a){return hp("<div class='"+R("videoAdUiPopupBackground")+"'><div class='"+R("videoAdUiPopupCloseIcon")+'\'><svg height="100%" viewBox="0 0 24 24" width="100%"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" fill="#fff"></path></svg></div><div class=\''+R("videoAdUiPopupPositioner")+"'><form class='"+R("videoAdUiPopupFrame")+"'><div class='"+R("videoAdUiPopupHeading")+" "+R("videoAdUiHideIfEmpty")+"'>"+Q(a.heading)+"</div><div class='"+
R("videoAdUiPopupText")+"'>"+Q(a.message)+"</div><div class='"+R("videoAdUiPopupButtons")+"'>"+Q(a.buttons)+"</div></form></div></div>")};
Efa=function(a){for(var b="",c="<ul class='"+R("videoAdUiWhyThisAdReasons")+" "+R("videoAdUiHideIfEmpty")+"'>",d=a.targetingReasons,e=d.length,f=0;f<e;f++)c+="<li>"+Q(d[f])+"</li>";c+="</ul><div class='"+R("videoAdUiWhyThisAdGenericMessage")+"'>"+Q(a.Gq)+"</div><a class='"+R("videoAdUiWhyThisAdMute")+" "+R("videoAdUiHideIfEmpty")+"'>"+Q(a.mute)+"</a><a class='"+R("videoAdUiWhyThisAdControl")+" "+R("videoAdUiHideIfEmpty")+"' href='https://www.google.com/settings/ads/onweb' target='_blank'>"+Q(a.control)+
"</a>";b+=Br({heading:Cr(""+Q(a.heading)),message:Cr(c),buttons:Cr("<button class='"+R("videoAdUiWhyThisAdCloseButton")+" "+R("videoAdUiPopupDefaultButton")+"'>"+Q(a.close)+"</button>")});return hp(b+"")};
Ffa=function(a){for(var b="",c=""+Q(a.question),d=a.options,e=d.length,f=0;f<e;f++){var k=d[f];c+="<label for='"+R("videoAdUiMuteOption")+R(f)+"'><input type='radio' id='"+R("videoAdUiMuteOption")+R(f)+"' name='"+R("videoAdUiMuteOption")+"' class='"+R("videoAdUiMuteOption")+R(f)+"'/>"+Q(k)+"</label>"}b+=Br({heading:Cr(Q(a.heading)+" <a class='"+R("videoAdUiMuteUndo")+"'>"+Q(a.undo)+"</a>"),message:Cr(c),buttons:Cr("<button class='"+R("videoAdUiMuteCancel")+" "+R("videoAdUiPopupButton")+"'>"+Q(a.cancel)+
"</button><button class='"+R("videoAdUiMuteConfirm")+" "+R("videoAdUiPopupDefaultButton")+"'>"+Q(a.confirm)+"</button>")});return hp(b+"")};
Gfa=function(a){var b=String(""+a.heading);return hp(""+Br({heading:b?new Xo(b,void 0):"",message:Cr(""+Q(a.message)),buttons:Cr("<button class='"+R("videoAdUiMuteCancel")+" "+R("videoAdUiPopupButton")+"'>"+Q(a.cancel)+"</button><button class='"+R("videoAdUiMuteConfirm")+" "+R("videoAdUiPopupDefaultButton")+"'>"+Q(a.confirm)+"</button>")}))};
Hfa=function(){return hp("<div class='"+R("videoAdUiMuteToggleButton")+"'><div class='"+R("videoAdUiMutedIcon")+'\'><svg width="100%" height="100%" viewBox="0 0 16 16"><path d="M2.398,5.5496307 L0,5.5496307 L0,10.4483665 L2.4,10.4483665 L7,15.5093253 L7,0.4886719 L2.398,5.5496307 Z" fill="#fff"></path><path d="M9.6314915,5.9285684 L10.6837982,4.9386188 L12.8157457,6.9442323 L14.9476933,4.9386188 L16,5.9285684 L13.8680525,7.9341818 L16,9.9397952 L14.9476933,10.9297447 L12.8157457,8.9241313 L10.6837982,10.9297447 L9.6314915,9.9397952 L11.7634391,7.9341818 L9.6314915,5.9285684 Z" fill="#fff"></path></svg></div><div class=\''+
R("videoAdUiUnmutedIcon")+'\'><svg width="100%" height="100%" viewBox="0 0 16 16"><path d="M2.398,5.5496307 L0,5.5496307 L0,10.4483665 L2.4,10.4483665 L7,15.5093253 L7,0.4886719 L2.398,5.5496307 Z" fill="#fff"></path><path d="M9,11.4457379 C10.7427023,10.9390412 12,9.5931906 12,7.9969959 C12,6.4008011 10.7427023,5.0549506 9,4.5492552 L9,11.4457379 Z" fill="#fff"></path><path d="M14.2494529,8 C14.2494529,11.0361747 12.0131291,13.5866817 9,14.3156841 L9,16 C12.9934354,15.2419577 16,11.9484291 16,8 C16,4.0505695 12.9934354,0.7570409 9,0 L9,1.6833146 C12.0131291,2.4123169 14.2494529,4.9638253 14.2494529,8 L14.2494529,8 Z" fill="#fff"></path></svg></div></div>')};
Dr=function(a,b,c){Yp.call(this,"1",Ifa,"Html",null,"dummy");this.D=0;this.ub=a.length;aq(this,new g.Dm(this));this.N=Jfa(a,b);this.Sa=g.I("iv-cards-slider-list",this.N);if(this.V=g.I("iv-cards-slider-prev",this.N))this.o.R(this.V,"click",this.Oa),g.N(this.V,!1);(this.ba=g.I("iv-cards-slider-next",this.N))&&this.o.R(this.ba,"click",this.Ia);a=g.I("ad-companion-clickthrough",this.N);this.o.R(this.N,"click",g.Ea(function(a,b,c){c.target!=a&&tn(b)},a,c))};
Jfa=function(a,b){var c=(0,g.H)(a,function(a){var b=lr(a),c=mr(b);a=tr(a);return{headline:b.md(),description:Er(b,"description"),image:pr(b).getImageUrl(),action:qr(c),target:sr(a),merchant:or(c)}}),d=3<a.length;
return nq(qfa,{cards:c,advertiserName:c[0].merchant,rA:ofa(),JB:pfa(),ye:Ar(),Kc:b,ZS:d})};
Fr=function(a){a.Sa.style.left=125*-a.D+"px";a.V&&g.N(a.V,0<a.D);a.ba&&g.N(a.ba,a.D<a.ub-3)};
Ir=function(a){Yp.call(this,"1",Kfa,"Html",null,"website_actions_companion");aq(this,new g.Dm(this));var b=a.g(),c=b&&b.ug(),d=b&&b.Bn();a=tr(a);b={headline:b&&b.md()||"",KI:c&&c.getImageUrl()||"",bannerImageUrl:d&&d.getImageUrl()||"",actionTitle:a&&Gr(a)||"",descriptionText:b&&Hr(b)||"",target:a&&sr(a)||"",ye:Ar()};this.D=nq(rfa,b)};
Lfa=function(){if(!g.sd)return!1;try{return new window.ActiveXObject("MSXML2.DOMDocument"),!0}catch(a){return!1}};
Lr=function(a,b){if(b&&!a)throw Error("Can't create document with namespace and no root tag");if(window.document.implementation&&window.document.implementation.createDocument)return window.document.implementation.createDocument(b||"",a||"",null);if(Jr){var c=Kr();if(c)return a&&c.appendChild(c.createNode(1,a,b||"")),c}throw Error("Your browser does not support creating new documents");};
g.Mr=function(a){if("undefined"!=typeof window.DOMParser)return(new window.DOMParser).parseFromString(a,"application/xml");if(Jr){var b=Kr();b.loadXML(a);return b}throw Error("Your browser does not support loading xml documents");};
Nr=function(a){var b=a.xml;if(b)return b;if("undefined"!=typeof window.XMLSerializer)return(new window.XMLSerializer).serializeToString(a);throw Error("Your browser does not support serializing XML documents");};
Kr=function(){var a=new window.ActiveXObject("MSXML2.DOMDocument");a.resolveExternals=!1;a.validateOnParse=!1;try{a.setProperty("ProhibitDTD",!0),a.setProperty("MaxXMLSize",2048),a.setProperty("MaxElementDepth",256)}catch(b){}return a};
Or=function(a){return wn(Mfa,null,a.parentNode.nodeName,a.nodeName)};
Pr=function(a){return wn(Nfa,null,a.parentNode.nodeName,a.nodeName)};
Qr=function(a){var b=Lr(a.tagName,a.namespaceURI),c=g.Kd(b);c||(c=b.createElementNS(a.namespaceURI,a.tagName),b.appendChild(c));for(var d=0;d<a.attributes.length;d++){var e=a.attributes.item(d);c.setAttribute(e.name,e.value)}for(;d=a.firstChild;)c.appendChild(d);return b};
Rr=function(a,b){return null!=a?(0,g.Hd)(g.Id(a),function(a){return a.nodeName==b}):[]};
Sr=function(a,b){var c=a.getAttribute(b);return null!=c?c.toLowerCase():null};
Tr=function(a,b){if(null==a)return null;for(var c="",d=0,e=a.childNodes.length;d<e;d++){var f=a.childNodes[d];switch(f.nodeType){case 4:case 3:c+=f.nodeValue}}c=xb(c);return b?qb(c):c};
Ur=function(a,b,c,d){if(null!=a){a=g.Id(a);for(var e=0,f=a.length;e<f;e++){var k=a[e];if(k.nodeName!=b)throw Or(k);c.call(d,k)}}};
Vr=function(a){a=g.E(a);return g.D(a)?window.NaN:Db(a)};
Wr=function(a,b){if(null!=a){var c=a.split(":");if(3==c.length)return c=new Yn(0,0,0,Db(c[0]),Db(c[1]),Db(c[2])),60*(60*(24*c.days+c.g)+c.minutes)+c.seconds}return null!=b?b:-1};
Xr=function(a,b){var c=g.E(a);if(!g.D(c))switch(c.toLowerCase()){case "true":case "1":return!0;case "false":case "0":return!1}return null!=b?b:!1};
$r=function(a,b,c){var d=new Dp;Ur(a,"Tracking",function(a){var b=Sr(a,"event"),e=Tr(a);Yr(e)&&null!=b&&(null!=c&&(e=c(b,e)),"progress"==b?(a=Sr(a,"offset"),a=Zr(a),null!=a&&Ip(d,b,e,a)):Ip(d,b,e))});
return d};
Ofa=function(a){if(g.D(g.E(a)))return null;a=new g.nm(a);if("thismessage"!=a.A||"extensions"!=a.l)return null;a=a.o;if(!g.kb(a,"/"))return null;a=a.substr(1);return g.D(g.E(a))?null:a};
Zr=function(a){if(g.D(g.E(a)))return null;var b=a.indexOf("%");if(0<b){if(a=Number(a.substr(0,b)),!(0,window.isNaN)(a)&&0<=a)return new vr(a,!0)}else if(a=Wr(a),0<=a)return new vr(a,!1);return null};
Yr=function(a){if(g.D(g.E(a)))return!1;try{new g.nm(a)}catch(b){return!1}return!0};
as=function(a,b){eq.call(this);this.l=a;this.o=b};
bs=function(){};
cs=function(a,b){eq.call(this,b);this.l=a};
ds=function(a){eq.call(this);this.l=a};
fs=function(a,b,c,d,e,f,k,l,m,n,q,r,v,B){this.ub=a;this.Ya=b;this.V=c;this.Pb=d;this.Pa=(0,window.isNaN)(e)||""==e||0==e?-1:e;this.ka=f?g.Wa(f):[];this.W=k?g.Wa(k):[];this.D=l?g.Wa(l):[];this.fa=[];this.H=[];this.M=null;this.X=[];this.Ea=!0;this.l=this.g=this.F=null;this.I=new g.hm(n);this.na=null!=B;this.ob=(this.ba=null!=q)?r||!1:!1;this.xb=this.IJ?v||!1:!1;this.Qb=g.E(q);this.Zb=g.E(B);this.Ia=this.o=null;this.B=new sea;this.Y=new g.cd(0,0);this.K=String(Math.floor(1E9*Math.random()));this.Xa=
this.ca=this.N=this.C=null;this.ib=(0,g.G)();this.Sa=this.Oa=0;this.ra=this.oa=!1;this.A=[];this.da=null;this.Ga=!1;(0,g.C)(this.D,function(a){a.H=this},this);
es(this,m)};
Eq=function(a){var b=a.getExtension("AdFormat");if(null!=b&&lb(b.l+"_"+b.o+"_"+b.A,"2_4"))return b.l+"_"+b.o+"_"+b.A;b=gs(a);b=hs(a,is)?"14":Fo(b,"hideMaster")||Fo(b,"blockAllAds")?"3":a.Wb()?js(a)?"2_3":a.isSkippable()?ks(a)?"2_1":"2_2":"2":"1";return Pfa(a)+"_"+b};
Pfa=function(a){if(Fq(a))return 4;if(hs(a,is))return 14;if(ls(a,Qfa))return 17;if(ls(a,Rfa))return 15;if(ls(a,Sfa)||ls(a,Tfa))return 1;var b=en();return b&&b.g("fix_petra_ad_format")&&(null!=a.o?(b=a.o.g,null!=b&&lb(b,"/PrefetchedAd")&&null!=a.l&&(b=a.l.I.get("LocalRedirect"),b=null!=b?b.bh():null)):b=null,null!=b&&(er(b)||dr(b)))?1:ms(a)?2:0};
ns=function(a){return null!=a.Ya?a.Ya:""};
os=function(a){return null!=a.l?g.Va(os(a.l),a.ka):a.ka};
ps=function(a){return null!=a.l?g.Va(ps(a.l),a.W):a.W};
qs=function(a){return null!=a.l?g.Va(a.H,qs(a.l)):a.H};
gs=function(a){return null!=a.g?a.g.F:{}};
Ufa=function(a){var b={};(0,g.C)(a.D,function(a){a=a.F;for(var c in a)b[c]=a[c]});
return b};
rs=function(a){return null!=a.g?a.g.ra:""};
ts=function(a,b){var c=[];(0,g.C)(a.I.sb(),function(a){Xa(c,fq(a,b))});
return c};
Gq=function(a,b){a.g=b;a.Y=new g.cd(0,0);if(null!=a.g){a.g instanceof Yp&&(a.Y=a.g.Td());var c=a.l;if(null!=c){var d=Pp(a.g,c)||Pp(a.g,c,!0);Gq(c,d)}}P.g()&&Vfa(a)&&g.Pa(qs(a))?P.g()&&P.o?(c=a.A,g.Pa(c)?c={}:(d=lr(c[0])&&mr(lr(c[0]))&&or(mr(lr(c[0])))||"",d=Ga("Shop products from {$advertiserName}",{advertiserName:Q(d)}),d=hp(""+d),c={shoppingCompanionCarouselRenderer:{shopText:nr(qb(d.toString())),itemList:{horizontalListRenderer:{items:(0,g.H)(c,sfa),visibleItemCount:3,webHorizontalListRendererExtensionData:{nextButton:{buttonRenderer:{style:"STYLE_DEFAULT",
size:"SIZE_DEFAULT",icon:{iconType:"CHEVRON_RIGHT"}}},previousButton:{buttonRenderer:{style:"STYLE_DEFAULT",size:"SIZE_DEFAULT",icon:{iconType:"CHEVRON_LEFT"}}}}}},adBadgeText:nr(kr().toString()),clickToAdvSiteEndpoint:rr(us(a)),clickTrackingEndpoints:[{loggingUrls:(0,g.H)(ts(a,"companionClick"),ur)}],impressionEndpoints:[{loggingUrls:(0,g.H)(ts(a,"companionImpression"),ur)}]}}),a.F=c):Wfa(a,a.A):P.g()&&g.Pa(qs(a))&&vs(a,a.A)};
ws=function(a){return null!=a.ub?a.ub:""};
ys=function(a){if(null==a.l||xs(a.l.V))return[];var b=[ws(a.l)];Xa(b,ys(a.l));return b};
afa=function(a){var b=ys(a).reverse();b.push(ws(a));return b};
zs=function(a){if(null==a.l||xs(a.l.V))return[];var b=a.l.g;null!=b?(b=b.fa,b=null!=b?b:""):b="";b=[b];Xa(b,zs(a.l));return b};
As=function(a){if(null==a.l||xs(a.l.V))return[];var b=[ns(a.l)];Xa(b,As(a.l));return b};
Bs=function(a){if(a.l){var b=Bs(a.l);if(b)return b}return(a=a.getExtension("metrics"))?a.l:null};
Dq=function(a){if(a.l){var b=Dq(a.l);if(b)return b}return P.g()?(a=a.getExtension("viral"))?a.l:null:(a=a.getExtension("metrics"))?a.o:null};
bfa=function(a){var b=As(a).reverse();b.push(ns(a));return b};
xs=function(a){return"YT:ADSENSE"==a||"YT:DOUBLECLICK"==a};
Cs=function(a){if(null==a.l)return[a.V];var b=Cs(a.l);b.push(a.V);xs(b[0])&&b.shift();return b};
Ds=function(a){a=a.getExtension("waterfall");return null!=a&&-1!=a.ie()?a.ie():-1};
Es=function(a){if(-1!=a.Pa)return a.Pa;a=a.getExtension("pod");return null!=a&&-1!=a.l?a.l:-1};
Fs=function(a){a.Ga||(a.Ga=!0,a.da.I++,null!=a.l&&Fs(a.l))};
Gs=function(a){if(a.da instanceof Vq){var b=a.da;if(0<Wq(b))return b}return null!=a.l?Gs(a.l):null};
Hs=function(a,b,c,d){a=qs(a);return Ao(new xo(new g.cd(b,c),d),a)};
Is=function(a){var b=a.o.rj,c=a.o.qj;if(!b||!c)if(a=a.o.g?Og(a.o.g,"sz"):null)a=a.split("x"),2==a.length&&(b=(0,window.parseInt)(a[0],10)||0,c=(0,window.parseInt)(a[1],10)||0);return new g.cd(b,c)};
Xfa=function(a,b){var c=g.Ka(a.X,function(a){return 4==a.Vb()&&Js(a.Ke())});
if(c){var d=c.g();if(!d.ug().getImageUrl()){var e=new Ks;e.data.image_url=b.channelIconThumbnailUrl;d.ug=function(){return e}}d.md()||(d.md=function(){return b.authorName});
c.g=function(){return d}}};
Yfa=function(a){var b=(0,g.Hd)(a,function(a){return Js(a.Ke())});
0==b.length&&0<a.length&&en().g("enable_ad_video_end_renderers")&&(b=a.slice(1,2));return b};
Wfa=function(a,b){var c=(0,g.Hd)(b,function(a){return Ls(a.Ke())});
g.Pa(c)&&(c=b);c=new Dr(c,us(a),ts(a,"companionClick"));c.H=a;c.C=!0;Ms(a,new hr(c,[],null,!0))};
Zfa=function(a,b){var c=g.Ka(a.A,function(a){return 4==a.Vb()&&Ls(a.Ke())});
if(!c)return null;var d=c.g();if(!d.ug().getImageUrl()){var e=new Ks;e.data.image_url=b.channelIconThumbnailUrl;d.ug=function(){return e}}if(!d.Bn().getImageUrl()){var f=new Ks,k=g.Ka(qs(a),function(a){return"Image"==a.ld()});
f.data.image_url=k&&k.g.l||b.g;d.Bn=function(){return f}}d.md()||(d.md=function(){return b.authorName});
c.g=function(){return d};
return c};
vs=function(a,b){var c=g.Ka(b,function(a){return 4==a.Vb()&&Ls(a.Ke())});
if(c){var d=c.g(),e=d&&d.ug().getImageUrl(),f=d&&d.Bn().getImageUrl(),k=d&&d.md();e&&f&&k&&(P.o?(c=tr(c),a.F={actionCompanionRenderer:{headline:k,iconImageUrl:e,bannerImageUrl:f,actionTitle:c&&Gr(c)||void 0,descriptionText:d&&Hr(d)||void 0,target:c&&sr(c)||void 0,impressionEndpoints:[{loggingUrls:(0,g.H)(ts(a,"companionImpression"),function(a){return{baseUrl:a}})}]}}):(d=new Ir(c),d.H=a,d.C=!0,Ms(a,new hr(d,[],null,!0))))}};
$fa=function(a){if(!a.o||Ns(a)&&!hs(a,["ADSENSE/ADX"]))return[];var b=Is(a);if(0>=b.width||0>=b.height)return[];var c=new to;c.creativeType="All";c.o="All";c.A="SelectNearMatch";c.g=40;var d=Hs(a,b.width,b.height,c);if(!g.Pa(d))return d;c.l="ResizeSmaller";d=(0,g.Hd)(qs(a),function(a){return a.g.Vk()},a);
return Ao(new xo(new g.cd(b.width,b.height),c),d)};
Ps=function(a){if(g.Pa(a.X))return!1;var b=en();if(15>Os(a))return!1;var c=aga,d=a.X[0].Vb();if(d==c.Bv){var e=a.X[0].g();a=e&&e.ug().getImageUrl();e=e&&e.md();if(!a||!e)return!1}return b.g("enable_ad_video_end_renderers")&&d==c.rG||d==c.Bv};
cga=function(a){var b=null,c=0;(0,g.C)($fa(a),function(a){var d=Is(this);d=!a.g.Vk()||a.Fb()<=d.width&&a.getHeight()<=d.height?a.g.Td():Co(a.g.Td(),d);d=d.width*d.height;d>c&&(c=d,b=a)},a);
return b};
Qs=function(a,b){return b||null==a.l?a.fa:g.Va(a.fa,Qs(a.l))};
es=function(a,b){a.fa=b?g.Wa(b):[];(0,g.C)(a.fa,function(a){Xa(this.H,g.Wa(a.g))},a);
(0,g.C)(a.H,function(a){ir(a,this)},a);
if(P.g()&&(a.Wb()&&(a.H=(0,g.Hd)(a.H,function(a){return 60>=a.getHeight()})),P.o)){var c=a.H&&a.H[0];
if(c&&"Static"===c.g.M){var d=c.g.nf(),e=c.g.K;Xa(e,ts(a,"companionClick"));var f=ts(a,"companionImpression"),k=c.Fb(),l=c.getHeight();a.F={imageCompanionAdRenderer:{impressionCommands:[{loggingUrls:(0,g.H)(f,function(a){return{baseUrl:a}}),
pingingEndpoint:{hack:!0}}],onClickCommands:[{loggingUrls:(0,g.H)(e,function(a){return{baseUrl:a}}),
pingingEndpoint:{hack:!0}}],image:{thumbnail:{thumbnails:[{url:c.g.l,width:k,height:l}]}},clickthroughEndpoint:{urlEndpoint:{url:d}}}}}}};
Rs=function(a,b){return(0,g.Kj)(a.D,function(a){return a instanceof Rp&&"linear"==b||a instanceof Yp&&"nonlinear"==b?!0:!1})};
Ss=function(a){var b=a.g;return Ns(a)&&null!=b&&b instanceof Yp&&(90<a.Y.height||null!=a.o&&a.o.fj)};
Ts=function(a,b){if(null==b)return null;var c=b.getExtension("adx");return null!=c?c:Ts(a,b.l)};
Us=function(a){var b=Ts(a,a.l);if(null!=b){if("skippable"==b.l)return b.o;if("nonskippable"==b.l)return null}b=null;var c=new vr(5,!1),d=dga(a);"implicit"==d&&(b=c);var e=a.g;null==b&&null!=e&&e instanceof Rp&&(b=e.C);null!=b||"explicit"!=d||(b=c);return P.g()&&a.Wb()&&null!=b?en().g("enable_skip_button_offset_mutation")?b:c:b};
dga=function(a){if(null!=g.Ka(a.I.sb(),function(a){return!g.Pa(fq(a,"skip"))}))return"implicit";
var b=a.I.get("DFP");if(b instanceof cs)switch(b.l){case "InstreamSelect":return"implicit";case "Generic":return"explicit"}a=a.g;return P.g()&&null!=a&&(a=a.vj,null!=a&&!g.Pa(Gp(a,"skip")))?"explicit":"none"};
ks=function(a){return null!=a.Ya&&null!=a.o?!0:!1};
us=function(a){return null===a.g?null:a.g.nf()};
Os=function(a){return null!=a.g?a.g.getDuration():-1};
Vs=function(a){return null===a.M?Ps(a)?7:0:10};
Ws=function(a){return null===a.g?null:a.g.Ir()};
Xs=function(a){return null===a.g?null:a.g.Hr()};
Ns=function(a){return hs(a,Ys)||hs(a,["ADSENSE-VIRAL"])};
Fq=function(a){return null!=a.l&&Fq(a.l)||hs(a,ega)};
js=function(a){var b=Ws(a);return hs(a,["402"])||g.u(b)&&null!==b.match("//s0.2mdn.net/instream/html5/survey/survey.html")};
Zs=function(a){return Ns(a)&&ks(a)&&!a.isBumper()&&!g.D(g.E(a.C))&&null!==Us(a)&&0<Kp(Us(a))};
ms=function(a){return ls(a,Ys)||ls(a,["402"])};
$s=function(a){a=a.getExtension("InfoCards");return null!=a?a.l:null};
at=function(a){a=a.getExtension("InfoCardsTracking");return null!=a?a.l:null};
hs=function(a,b){return null!=a.Ya?g.Oa(b,a.V):!1};
ls=function(a,b){for(var c=Cs(a),d=c.length-1;0<=d;d--)if("UNKNOWN"!=c[d]){if(g.Oa(b,c[d]))return!0;break}return!1};
Ms=function(a,b){a.H=[b]};
Vfa=function(a){return a.Wb()&&0<a.A.length&&(0,g.Wl)(a.A,function(a){return 1==a.Vb()})};
bt=function(a){return 0<a.A.length&&(0,g.Wl)(a.A,function(a){return 4==a.Vb()})};
ct=function(a,b){g.xf.call(this);this.g=a;this.De=new g.Dm(this);g.M(this,this.De);this.De.R(b,["companion_impression","companion_click"],this.l)};
dt=function(){g.xf.call(this);this.C=this.H=this.K=this.D=!1;this.g=0;this.o=[];this.F=!1;this.N=this.M=window.Infinity;this.l=0;this.B=!1;this.A=new g.Dm(this);this.I={}};
fga=function(a){et(a);!(a.Xh instanceof g.xf)&&"ontouchstart"in window.document.documentElement&&In()?(a.I={touchstart:(0,g.z)(a.GR,a),touchmove:(0,g.z)(a.RI,a),touchend:(0,g.z)(a.FR,a)},g.Ib(a.I,function(a,c){this.Xh.addEventListener(c,a,!1)},a)):a.A.R(a.Xh,"click",a.Yx)};
et=function(a){a.A.Ca(a.Xh,"click",a.Yx);g.Ib(a.I,function(a,c){this.Xh.removeEventListener(c,a,!1)},a);
a.I={}};
gga=function(a,b){a.o=[];(0,g.C)(b,function(a){g.Ra(this.o,a.identifier)},a)};
ft=function(a,b){return(0,g.Kj)(b,function(a){return g.Oa(this.o,a.identifier)},a)};
gt=function(a){if(!hga.test(a))throw Error("'"+a+"' is not a valid alpha hex color");5==a.length&&(a=a.replace(iga,"#$1$1$2$2$3$3$4$4"));a=a.toLowerCase();return[(0,window.parseInt)(a.substr(1,2),16),(0,window.parseInt)(a.substr(3,2),16),(0,window.parseInt)(a.substr(5,2),16),(0,window.parseInt)(a.substr(7,2),16)/255]};
ht=function(a){var b=a.slice(0);b[3]=Math.round(1E3*a[3])/1E3;return"rgba("+b.join(",")+")"};
g.it=function(){g.xf.call(this);this.g=0;this.endTime=this.startTime=null};
jt=function(a,b){g.ya(b)||(b=[b]);var c=(0,g.H)(b,function(a){return g.u(a)?a:a.property+" "+a.duration+"s "+a.timing+" "+a.delay+"s"});
g.jh(a,"transition",c.join(","))};
kt=function(a,b,c,d,e){g.it.call(this);this.l=a;this.B=b;this.D=c;this.o=d;this.C=g.ya(e)?e:[e]};
lt=function(a,b){g.xf.call(this);this.H=b;this.D=a;this.Ei=null;this.A=new g.Dm(this);g.M(this,this.A);this.l=new dt;g.M(this,this.l);var c=Ae(Ie(a.g),Oe,6);this.B=(this.g=null!=we(c,5)&&!!we(c,5))||null==we(c,7)?"#000000FF":we(c,7);this.o=this.g||null==we(c,8)?"#FFFFFFFF":we(c,8);c=this.g?{PG:g.E(we(c,6))}:{TG:g.E(we(c,1)),SG:g.E(we(c,3)),RG:g.E(we(c,2))};this.Oe=jga(this,c);null!=this.Oe&&g.N(this.Oe,!1);b.appendChild(this.Oe);this.A.R(this.l,"click",this.F);this.l.Gb(this.Oe)};
jga=function(a,b){if(a.g){var c=nq(yfa,b);var d=g.I("videoAdUiBrandPrecapAutogenImage",c)}else{c=nq(xfa,b);d=g.I("videoAdUiBrandPrecapContent",c);null!=a.B&&(c.style.backgroundColor=ht(gt(a.B)));if(null!=a.o){var e=g.I("videoAdUiBrandPrecapBrandName",d),f=g.I("videoAdUiBrandPrecapBrandMessage",d);e.style.color=ht(gt(a.o));f.style.color=ht(gt(a.o))}d=g.I("videoAdUiBrandPrecapImageContainer",d);d=g.I("videoAdUiBrandPrecapBrandImage",d)}null!=d&&(d.q2=function(){return!1});
return c};
mt=function(a,b){(new kt(a.Oe,.2,{opacity:b?"0":"1"},{opacity:b?"1":"0"},[{property:"opacity",duration:.2,timing:"ease-in-out",delay:0}])).play()};
nt=function(a,b){var c=g.Vd(g.Ld(a.H),"html5-video-player");null!=c&&g.T(c,"ytp-ad-display-override",b)};
ot=function(a,b){var c={action:"condor-brand-precap",event:b,ei:"[EID]",cpn:"[CPN]",content_v:"[CONTENT_V]",ad_cpn:"[AD_CPN]",ad_v:"[AD_V]",ad_id:"[AD_ID]",ad_len:"[AD_LEN]"};c=null!=c?c:{};var d=new g.nm("//www.youtube.com/gen_204");g.om(d,"https");c=Am(c);sm(d,c);d=d.toString();d=g.Mm(d,a.D.Ia);pn(d)};
pt=function(a,b,c,d,e,f){eq.call(this,f);this.o=a;this.B=b;this.C=c;this.A=d;this.l=e};
qt=function(a){return null!=a.l?a.l.length:0};
rt=function(a,b,c,d,e,f,k,l,m,n){eq.call(this,e);this.A=a;this.o=b;this.B=c||"";this.C=d||[];this.l=f||null;this.F=k||null;this.K=l||null;this.D=m||null;this.I=n||null};
tt=function(a,b){this.A=a;this.l=b;this.o=this.B=this.C=this.g=null};
ut=function(a){return null!=a.A||null!=a.l};
vt=function(a,b,c){b=g.I(b,a.g);null!=b&&a.B.R(b,"click",c)};
wt=function(a,b,c){null!=a.g&&a.g.parentElement.removeChild(a.g);a.g=nq(b,c);vt(a,"videoAdUiPopupCloseIcon",a.Ym);a.C.appendChild(a.g);b=g.I("videoAdUiPopupFrame",a.g);null!=b&&g.jf(b,"submit",function(a){a.preventDefault()});
a=g.I("videoAdUiPopupDefaultButton",a.g);null!=a&&a.focus()};
xt=function(a,b){null!=a.o&&a.o.dispatchEvent(b)};
zt=function(){this.attributionText=yr({np:"",Bm:0,qp:0});this.learnMoreText=""+Ga("Learn More {$suffix}",{suffix:Q("")});this.visitAdvertiserText=""+Ga("Visit Advertiser's Site");this.ye=Ar();this.skipOffset=null;this.D=this.Ga=this.Ea=this.N=!1;this.I=null;this.W=6E3;this.l=!0;this.Y=!1;this.ca=this.o=this.ba=!0;this.A=!1;this.K=!P.C;this.ka=this.fa=this.da=!1;this.C=!0;this.M=this.ra=this.oa=this.na=this.B=!1;this.Ia={};this.V=null;this.showContentThumbnail=!0;this.F=!1;this.g=null;this.Ya=!1;this.Ii=
-1;this.ub=!1};
At=function(a,b,c,d,e,f){var k=new zt;k.B=a;k.Oa=b;k.skipOffset=c;k.X=null!=e?e.contentId:null;k.ba=e.RT;k.V=tfa;k.Pa=rq(b,null!=c,e.Xi);k.showContentThumbnail=null!=e.contentId&&e.showContentThumbnail;k.g=e.Tx;k.Ya=e.nH;null!=f&&(k.Ia=f);null==c&&(a=en(),d&&a.g("show_countdown_on_bumper")&&(k.Ea=!0,k.N=!0),a.g("show_thumbnail_on_standard")&&(k.N=!0),!d&&a.g("persist_text_on_preview_button")&&(k.Ga=!0));P.g()&&null!=k.g&&null!=we(k.g,1)&&(d=Ie(k.g),null!=we(d,6)&&(d=Ae(d,Oe,6),null!=we(d,5)&&(we(d,
5)&&null!=we(d,6)||null!=we(d,1)&&null!=we(d,2)&&null!=we(d,3))&&(k.D=!0,null!=we(d,4)&&(k.I=we(d,4)))));return k};
Bt=function(a,b,c,d,e){return new kt(a,b,{opacity:d},{opacity:e},{property:"opacity",duration:b,timing:c,delay:0})};
Ct=function(a,b){return Bt(a,b,"ease-out",0,1)};
Dt=function(a){return Bt(a,.5,"ease-in",1,0)};
Ft=function(a,b){g.xf.call(this);this.F=new g.Dm(this);g.M(this,this.F);this.D=b;this.C=!1;this.B=this.o=this.A=null;var c=a.g;c=this.g=null!=c&&null!=Ie(c)?Ae(Ie(c),Le,3):null;this.I=null!=c&&null!=we(c,7)&&1==we(c,7)?!0:!1;if(null==this.g||null==we(this.g,7))c=null;else{c=we(this.g,7);var d=we(this.g,8);c=null!=d&&g.Oa(kga,c)?d:null}this.B=c;c=nq(zfa,{preMessageText:this.B||""});d=g.I("videoAdUiLikeMsg",c);g.Od(d,""+Ga("I like this"));d=g.I("videoAdUiDislikeMsg",c);g.Od(d,""+Ga("I dislike this"));
null!=this.g&&(d=we(this.g,7),d=null!=d?lga[d]:null,null!=d&&g.S(c,d));mga(this,c);d=g.I("videoAdUiBrandInteractionLikeButton",c);null!=d&&Et(this,d);d=g.I("videoAdUiBrandInteractionDislikeButton",c);null!=d&&Et(this,d);g.N(c,!1);this.l=c;this.D.appendChild(this.l)};
mga=function(a,b){if(null!=a.g){var c=a.g.Ke();c=null!=c?nga[c]:null;null!=c&&(0,g.C)(c,function(a){g.S(b,a)})}};
oga=function(a){return null!=a.g&&null!=we(a.g,8)?we(a.g,10):null};
qga=function(a){if(null==a.g||null==we(a.g,7))return null;var b=we(a.g,7);a=we(a.g,9);return null!=a&&g.Oa(pga,b)?a:null};
Et=function(a,b){var c=new dt;a.F.R(c,"click",a.H);c.Gb(b)};
rga=function(a){if(null!=a.B){var b=oga(a);if(null!=b){var c=g.I("videoAdUiBrandInteractionPreMessageText",a.l);if(null!=c){var d=Dt(c);g.ng(function(){d.play();g.ng(function(){g.N(c,!1)},500,this)},1E3*b,a)}}}};
sga=function(a){if(null!=a.g&&null!=Ae(a.g,Me,15)){var b=Ae(a.g,Me,15),c=we(b,1),d=we(b,2);b=we(b,3);a.dispatchEvent(new Sm("yt-show-toast",null,{toastMessage:c,toastActionMessage:d,toastActionUrl:b}))}};
tga=function(a){if(null!=a.g){var b=qga(a);if(null!=b){var c=nq(Afa,{postMessageText:b});a.D.appendChild(c);g.ng(function(){Ct(c,.5).play();var a=Dt(c);g.ng(function(){a.play()},3E3,this)},500,a)}}};
Ht=function(){g.xf.call(this);this.g=!1;this.o=this.A=this.l=null;this.B=new g.Dm(this);this.l=nq(Hfa);this.A=g.I("videoAdUiUnmutedIcon",this.l);this.o=g.I("videoAdUiMutedIcon",this.l);Gt(this);this.B.R(this.l,"click",this.C)};
Gt=function(a){a.A&&a.o&&(a.g?(g.jh(a.A,"display","none"),g.jh(a.o,"display","block")):(g.jh(a.A,"display","block"),g.jh(a.o,"display","none")))};
It=function(a,b){g.xf.call(this);this.F=a;this.C=1;this.A=this.o=this.g=this.l=null;this.B=a.Ea;this.H=new g.Dm(this);g.M(this,this.H);this.D=new dt;g.M(this,this.D);this.I=!a.Ga;this.l=nq(wr);this.g=g.I("videoAdUiPreSkipButton",this.l);this.o=g.I("videoAdUiPreSkipText",this.g);g.S(this.o,"videoAdUiPreviewText");this.A=g.I("videoAdUiPreSkipThumbnail",this.g);this.B?g.Od(this.o,xr({Ng:""})):g.Od(this.o,""+Ga("Video will play after ad"));var c=tq(this.F.X)||"";if(this.F.showContentThumbnail&&!g.D(g.E(c))){var d=
g.zd("img");d.setAttribute("src",c);g.S(d,"videoAdUiPreSkipThumbnailImage");this.A.appendChild(d)}else this.B?(g.N(this.A,!1),g.S(this.g,"videoAdUiPreSkipButtonNoThumbnail"),g.S(this.o,"videoAdUiPreSkipTextOnlyCentered")):g.N(this.g,!1);g.N(this.l,!1);b.appendChild(this.l);this.H.R(this.D,"click",this.K);this.D.Gb(this.A)};
g.Jt=function(a,b,c){g.K.call(this);this.ia=null;this.o=!1;this.B=a;this.A=c;this.g=b||window;this.l=(0,g.z)(this.HH,this)};
Kt=function(a){a=a.g;return a.requestAnimationFrame||a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||a.oRequestAnimationFrame||a.msRequestAnimationFrame||null};
Lt=function(a){a=a.g;return a.cancelAnimationFrame||a.cancelRequestAnimationFrame||a.webkitCancelRequestAnimationFrame||a.mozCancelRequestAnimationFrame||a.oCancelRequestAnimationFrame||a.msCancelRequestAnimationFrame||null};
g.Mt=function(a,b,c){g.K.call(this);this.g=a;this.uc=b||0;this.l=c;this.o=(0,g.z)(this.Bx,this)};
g.Nt=function(a,b){a.isActive()||a.start(b)};
g.Ot=function(a){a.stop();a.Bx()};
g.Pt=function(a){a.isActive()&&g.Ot(a)};
Rt=function(a,b){g.xf.call(this);this.config=a;this.ca=0;this.X=!1;this.state=0==Kp(this.config.skipOffset)?3:1;this.l=this.Y=this.skipButton=this.oa=this.fa=this.H=this.C=this.o=null;this.ac=new g.Dm(this);this.F=this.A=null;this.V=new dt;this.ka="";this.na=!1;var c=a.g;c=this.g=null!=c&&null!=Ie(c)?Ae(Ie(c),Je,1):null;this.ra=null!=c&&we(c,19)?!0:!1;c=this.g;this.M=null!=c&&we(c,24)?!0:!1;c=this.g;this.Ea=null!=c&&we(c,23)?!0:!1;c=this.g;this.Ia=null!=c&&we(c,25)?!0:!1;this.o=nq(this.ra?wfa:wr);
this.C=g.I("videoAdUiPreSkipButton",this.o);this.H=g.I("videoAdUiPreSkipText",this.C);this.fa=g.I("videoAdUiPreSkipTextTimeLeft",this.C);this.oa=g.I("videoAdUiPreSkipThumbnail",this.C);this.Ea&&g.N(this.H,!1);en().g("use_forced_linebreak_preskip_text")&&(this.na=!0,g.S(this.H,"videoAdUiPreSkipTextForcedLineBreak"));Qt(this,0);c=tq(this.config.X)||"";if(this.config.showContentThumbnail&&!g.D(g.E(c))){var d=g.zd("img");d.setAttribute("src",c);g.S(d,"videoAdUiPreSkipThumbnailImage");this.oa.appendChild(d)}else P.g()?
(g.S(this.C,"videoAdUiPreSkipButtonNoThumbnail"),g.S(this.H,"videoAdUiPreSkipTextOnlyCentered")):g.S(this.H,"videoAdUiPreSkipTextOnly");d=!P.g()&&P.V;var e=null!=this.g&&null!=Ae(this.g,Re,3)&&!this.M,f=P.g()&&en().g("fixed_padding_skip_button")&&!this.M;this.l=nq(this.M?Dfa:d||e||f?Cfa:Bfa,{ku:xb(""+Ga("Skip Ad {$skipSymbol}",{skipSymbol:Q("")}))});this.skipButton=g.I("videoAdUiSkipButton",this.l);e&&(this.Y=g.I("videoAdUiSkipButtonExperimentalText",this.skipButton));if(e=d||P.g()&&en().g("use_new_skip_icon")){var k=
g.I("videoAdUiSkipIcon",this.skipButton);null!=k&&g.lq(k,"videoAdUiSkipIcon","videoAdUiExperimentalSkipIcon")}f||d?(g.S(this.skipButton,f?"videoAdUiFixedPaddingSkipButton":"videoAdUiRedesignedSkipButton"),c=g.I("videoAdUiSkipButtonExperimentalText",this.skipButton),null!=c&&g.S(c,"videoAdUiFixedPaddingSkipButtonText"),g.S(g.I(e?"videoAdUiExperimentalSkipIcon":"videoAdUiSkipIcon",this.skipButton),"videoAdUiFixedPaddingSkipButtonIcon")):this.M&&this.config.showContentThumbnail&&!g.D(g.E(c))&&(d=g.zd("img"),
d.setAttribute("src",c),g.S(d,"videoAdUiPreSkipThumbnailImage"),this.skipButton.appendChild(d));this.Ia&&(c=g.I("videoAdUiSkipText",this.l),g.N(c,!1));uga(this);"4.4.4"===(g.Mn?Qn(Nn):"")&&(this.C.style.backgroundColor="black",this.skipButton.style.backgroundColor="black");g.N(this.o,!1);b.appendChild(this.o);0==Kp(this.config.skipOffset)?this.dispatchEvent("skipshown"):(g.N(this.l,!1),g.Eh(this.l,0));b.appendChild(this.l);en().g("move_skip_button_to_top")&&(g.S(this.o,"videoAdUiHighPreSkipContainer"),
g.S(this.l,"videoAdUiHighSkipContainer"));this.ac.R(this.V,"click",this.sT);this.V.Gb(this.skipButton)};
Qt=function(a,b){var c=null!=a.config.skipOffset&&-1!=Kp(a.config.skipOffset)?Kp(a.config.skipOffset):-1;if(!(0>c)){var d=Math.ceil(c-b);c=d.toString();60<=d&&(c=Do(d));d={pn:a.na?"forcedlinebreak":a.ka,Ng:c,GN:"\n"};a.ra&&null!=a.fa?g.Od(a.fa,c):(c=a.H,d=d||{},d=""+mp("b",d.pn)(d,void 0),g.Od(c,d))}};
St=function(a){return new kt(a,.5,{opacity:1,visibility:"shown"},{opacity:.9,visibility:"hidden"},{property:"opacity",duration:.5,timing:"ease-out",delay:0})};
Tt=function(a,b){null!=a.C&&g.N(a.C,b);null!=a.skipButton&&g.N(a.skipButton,b)};
uga=function(a){if(null!=a.g){var b=null!=Ae(a.g,Pe,1)&&null!=Ae(Ae(a.g,Pe,1),Qe,1)?we(Ae(Ae(a.g,Pe,1),Qe,1),1):null,c=null!=Ae(a.g,Pe,2)&&null!=Ae(Ae(a.g,Pe,2),Qe,1)?we(Ae(Ae(a.g,Pe,2),Qe,1),1):null;b&&(a.skipButton.style.backgroundColor=ht(gt(b)),c&&(a.ac.R(g.Ld(a.skipButton),"mouseover",function(){this.skipButton.style.backgroundColor=ht(gt(c))}),a.ac.R(g.Ld(a.skipButton),"mouseout",function(){this.skipButton.style.backgroundColor=ht(gt(b))})));
if(null!=Ae(a.g,Re,3)&&null!=a.Y){var d=Raa(Ae(a.g,Re,3));0<d.length&&we(d[0],1)&&g.Od(a.Y,we(d[0],1))}}};
Yt=function(a,b){Rt.call(this,a,b);var c=this.g;this.W=null!=c&&we(c,8)?!0:!1;this.da=!1;this.B=this.K=null;c=this.g;var d=Ut;null!=c&&(null!=we(c,10)&&we(c,10)||null!=we(c,9)&&!we(c,9))&&(d=Vt);this.I=d;c=this.g;d=Wt;null!=c&&(null!=we(c,12)&&we(c,12)||null!=we(c,11)&&!we(c,11))&&(d=Xt);this.N=d;c=this.g;d=.5;this.W||null==c||null==we(c,26)||(c=we(c,26),d=(null==c?c:+c)||0);this.ba=d;this.D=0};
Zt=function(a){null==a.B&&"4.4.4"!=(g.Mn?Qn(Nn):"")&&1!=a.D&&(g.Ue(a.A),a.A=null,a.B=g.ng(function(){Bt(this.l,.5,"ease-in",1,this.ba).play();this.D=1;this.B=null},0,a))};
au=function(a,b){if(0!=a.D){if(b){if(null!=a.B||"4.4.4"==(g.Mn?Qn(Nn):""))return;a.B=g.ng(function(){Bt(this.l,.5,"ease-in",this.ba,1).play();this.B=null},0,a)}else $t(a),g.Eh(a.l,1);
a.D=0}};
$t=function(a){null!=a.B&&(g.og(a.B),a.B=null)};
bu=function(a){null!=a.K&&(g.og(a.K),a.K=null)};
cu=function(a,b,c){var d=null;switch(c){case Wt:null!=b&&null!=b.skipOffset&&(d=1E3*(a-Kp(b.skipOffset)));break;case Xt:a=g.x("window.yt.util.activity.getTimeSinceActive"),d=(a=null!=a?a().toString():null)?Fb(a):null}return d};
du=function(a,b){var c=1E3*a.Fw;null!=b&&null!=we(b,13)&&(c=we(b,13));return c};
eu=function(a,b,c,d,e,f,k,l,m){this.o=a;this.K=b;this.B=c;this.C=d;this.l=e;this.D=f;this.F=k;this.H=l;this.I=m;this.g=this.o.qg()};
fu=function(a){var b=a.g;var c=g.Ch(a.A);c="left"==a.B?"0px":"right"==a.B?c.width-a.o.Td().width+"px":a.B+"px";var d=g.Ch(a.A);a="bottom"==a.C?"0px":"top"==a.C?d.height-a.o.Td().height+"px":d.height-a.o.Td().height-Fb(a.C)+"px";g.jh(b,{position:"absolute",overflow:"hidden",left:c,bottom:a})};
vga=function(a){g.Fh(a.g)||(g.N(a.g,!0),(0,g.C)(a.I,function(a){pn(a)}))};
iu=function(a,b,c,d){g.xf.call(this);this.g=a;this.xb=this.da=!1;this.ca=c;this.Qb=d;this.ob=this.Oa=this.Pa=this.M=this.W=this.H=this.V=this.na=this.A=this.B=this.Xa=this.ka=this.fa=this.F=this.oa=this.X=this.D=this.C=this.N=this.ba=this.I=this.ib=this.Ia=this.Ea=this.K=this.l=null;this.o=new g.Dm(this);this.ra=[];a=this.g;this.Zb=null!=a&&null!=a.g&&null!=Ie(a.g)?Ae(Ie(a.g),Ke,2):null;this.Y=[];this.da=!this.g.F&&P.g();this.Sa=!P.g()&&P.Sa;a="";this.da?a="redesign2014q4":this.Sa&&(a="fixedDirectionality");
a={attributionText:this.g.attributionText,learnMoreText:this.g.learnMoreText,ye:this.g.ye,pn:a};this.l=nq(this.g.V,a);this.g.Ya||this.o.R(this.l,"touchmove",this.fJ);this.ka=g.I("videoAdUiProgress",this.l);this.Xa=g.I("videoAdUiBuffer",this.l);this.K=g.I("videoAdUiAttributionContainer",this.l);this.Ea=g.I("videoAdUiAttributionIconContainer",this.l);this.Ia=g.I("videoAdUiAttribution",this.l);this.ib=g.I("videoAdUiVisitAdvertiserLink",this.l);this.I=g.I("videoAdUiVisitAdvertiserLinkText",this.l);this.ba=
g.I("videoAdUiVisitAdvertiserIcon",this.l);g.I("videoAdUiBottomBarMessage",this.l);this.N=g.I("videoAdUiAuthorIcon",this.l);this.C=g.I("videoAdUiAuthorName",this.l);this.D=g.I("videoAdUiLearnMore",this.l);this.X=g.I("videoAdUiLearnMoreText",this.l);this.da?(this.M=g.I("videoAdUiTopButtonShare",this.l),this.Pa=g.I("videoAdUiTopButtonShareTooltip",this.l),this.Oa=g.I("videoAdUiTopButtonInfo",this.l),this.ob=g.I("videoAdUiTopButtonWatchLater",this.l)):this.M=g.I("videoAdUiShare",this.l);this.F=g.I("videoAdUiTitle",
this.l);this.fa=g.I("videoAdUiTopBar",this.l);this.oa=g.I("videoAdUiBottomBar",this.l);null!=this.N&&this.o.R(this.N,"click",this.MG);null!=this.C&&(c=new dt,this.Y.push(c),this.o.R(c,"click",this.NG),c.Gb(this.C));null!=this.D&&(c=new dt,c.B=!0,this.Y.push(c),this.o.R(c,"click",this.Ey),c.Gb(this.D));null!=this.X&&(c=new dt,c.B=!0,this.Y.push(c),this.o.R(c,"click",this.Ey),c.Gb(this.X));null!=this.M&&this.o.R(this.M,"click",this.pT);null!=this.F&&(c=new dt,this.Y.push(c),this.o.R(c,"click",this.CT),
c.Gb(this.F));null==this.fa||!P.g()&&En()||this.o.R(this.l,"mouseover",this.mT);null!=this.I&&this.o.R(this.I,"click",this.Bp);null!=this.ba&&this.o.R(this.ba,"click",this.Bp);null!=this.K&&null!=this.g.H&&ut(this.g.H)&&(g.S(this.K,"videoAdUiWtaClickable"),this.o.R(this.K,"click",this.rS),this.o.R(this,"why_this_ad_got_it",this.XT));null!=this.g.skipOffset?(this.A=P.g()?new Yt(this.g,this.l):new Rt(this.g,this.l),this.A.Dh(this),this.A.ka=a.pn):!this.g.N||3==this.Qb&&3500>this.ca||(this.H=new It(this.g,
this.l),g.M(this,this.H),this.H.Dh(this));this.g.D&&(this.na=new lt(this.g,this.l),g.M(this,this.na),this.na.Dh(this));a=this.g;a.ub?(a=a.g,a=P.g()&&null!=a&&null!=we(a,1)&&null!=we(Ie(a),3)&&we(Ae(Ie(a),Le,3),1)?!0:!1):a=!1;a&&(this.V=new Ft(this.g,this.l),this.o.R(this.V,"yt-show-toast",this.QG),this.o.R(this.V,"feedbackShown",this.gq),this.o.R(this.V,"feedbackLike",this.gq),this.o.R(this.V,"feedbackDislike",this.gq));this.g.da&&(this.W=new Ht,this.W.Dh(this),this.oa.insertBefore(this.W.l,this.K));
400>=((0,window.parseInt)(nh(b,"width"),10)||b.width)&&g.S(this.l,"videoAdUi-mobile");this.g.F&&(g.S(this.l,"blazer"),window.settings&&window.settings.isTablet||window.ytcfg&&window.ytcfg.data_&&window.ytcfg.data_.IS_TABLET?(g.S(this.l,"tablet"),(window.settings&&window.settings.customControls||window.ytcfg&&window.ytcfg.data_&&window.ytcfg.data_.USE_CUSTOM_CONTROLS)&&g.S(this.l,"customControls")):g.S(this.l,"phone"));a=g.Vd(b,"html5-video-player");null!=a&&(this.da&&g.S(a,"videoAdUiRedesign"),g.T(a,
"ytp-video-ad-learn-more-ui",this.g.B));g.N(this.l,!1);b.appendChild(this.l);this.g.B||this.da||!this.g.ba||(this.B=g.J("DIV",{style:"width:100%;height:100%;pointer-events:auto;"}),this.l.appendChild(this.B));gu(this,0,this.ca/1E3,1,1);hu(this)};
wga=function(a){null!=a.B&&g.N(a.B,!1)};
ju=function(a){a.A&&(a.A.dispose(),a.A=null)};
ku=function(a,b){a.ra=b;(0,g.C)(b,function(a){a.A=this.l;a.A.appendChild(a.g);fu(a);g.N(a.g,!1);var b=a.Dc();if(null!=b){var c=new dt;c.B=!0;this.Y.push(c);this.o.R(c,"click",(0,g.z)(this.II,this,a));c.Gb(b)}},a)};
lu=function(a){null!=a.I&&(g.N(a.I,!0),g.Od(a.I,a.g.visitAdvertiserText));null!=a.ba&&g.N(a.ba,!0)};
mu=function(a,b){if(null!=a.l){var c=g.Vd(g.Ld(a.l),"html5-video-player");null!=c&&(g.T(c,"ytp-ad-end-cap",b),g.T(c,"ytp-ad-display-override",b))}};
hu=function(a){var b=a.g.C&&(a.ca>a.g.W||0==a.ca),c=b&&a.g.oa,d=b&&a.g.ra,e=b&&a.g.A,f=b&&a.g.ka;b=b&&a.g.M;var k=a.g.fa&&a.g.o,l="0px";var m=a.Zb;m=P.g()&&null!=m&&we(m,1)?!1:!0;null!=a.F&&(g.N(a.F,b),null!=a.N&&g.N(a.N,c),null!=a.C&&g.N(a.C,d),null!=a.M&&(g.N(a.M,f),f&&a.dispatchEvent("videoShareShown")),null!=a.Oa&&g.N(a.Oa,!1),null!=a.ob&&g.N(a.ob,!1),null!=a.fa&&g.N(a.fa,b||c||d||e));null!=a.K&&g.N(a.K,a.g.l);null!=a.ka&&(g.N(a.ka,k),k&&(l=nh(a.ka,"height")));null!=a.oa&&!P.g()&&g.jh(a.oa,"bottom",
l);nu(a);null!=a.Ea&&g.N(a.Ea,a.g.Y);null!=a.ib&&g.N(a.ib,m);P.g()||!a.g.K||P.C||(null!=a.D&&g.N(a.D,!1),null!=a.X&&g.N(a.X,!1))};
gu=function(a,b,c,d,e){var f=yr({np:"",Bm:0,qp:0});a.g.o&&a.g.ca&&(b=Do(c-b),f=yr({np:a.g.F?" \u2022 "+b:a.da?" \u00b7 "+b:": ("+b+")",Bm:d,qp:e}));g.Od(a.Ia,f);g.N(a.K,a.g.l)};
xga=function(a,b){null!=a.na&&a.na.show(b)};
nu=function(a){var b=a.g.C&&(a.ca>a.g.W||0==a.ca)&&a.g.A?a.g.K?!P.C||a.xb:!0:!1;null!=a.D&&g.N(a.D,b);null!=a.X&&g.N(a.X,P.g()&&a.g.B&&!b)};
ou=function(){g.K.call(this);this.A="";this.Za=null;this.o=new Dp;this.l=new g.hm;this.C=[];this.H=!1;this.g={};this.F={};this.B=-1;this.D=[]};
pu=function(a,b,c){c=c||Lp(a.o,b.type);if(P.l){var d=Lo(Io(),b.type,a.A);a.I(b.type,c,d)}else lea(po(),b.type,a.A,(0,g.z)(a.I,a,b.type,c))};
yga=function(a,b){null!=b&&(0,g.C)(b,function(a){g.Oa(this.D,a)||this.D.push(a)},a)};
qu=function(a,b,c){null!=c.viewability&&Bq(a.g,c.viewability);var d;P.l||(d=po().I||void 0);var e=[];(0,g.C)(b,function(a){var b=this.g;Cq(b,a,"MOAT_INIT",c.moatInit);Cq(b,a,"MOAT_VIEWABILITY",c.moatViewability);Cq(b,a,"IAS_VIEWABILITY",c.integralAdsViewability);Cq(b,a,"DV_VIEWABILITY",c.doubleVerifyViewability);Cq(b,a,"GOOGLE_VIEWABILITY",c.googleViewability);e.push(rn(a,this.g,c,d))},a);
Bq(a.g,"na");return e};
ru=function(a,b,c){(0,g.C)(b,function(a){pn(a,void 0,void 0,c)},a)};
zga=function(a,b){switch(b){case "abandon":return!jm(a.l,b)&&!jm(a.l,"skip")&&!jm(a.l,"instreamAdComplete")&&(jm(a.l,"impression")||a.H);case "instreamAdComplete":case "complete":return!jm(a.l,b)&&!jm(a.l,"skip");case "progress":case "click":case "mute":case "unmute":case "rewind":case "fullscreen":case "exitfullscreen":case "expand":case "collapse":return!0;default:return!jm(a.l,b)}};
tu=function(a){g.xf.call(this);this.ads=a;this.Oc=null;this.De=new g.Dm(this);g.M(this,this.De);this.Yc="normal";this.Fa=this.volume=null;this.Ma=new lo;this.ne=!1;this.content={};this.Rb=new ou;this.La=null;this.bn=!1;po();this.Cp=(0,g.z)(this.GH,this);this.bj=null;var b=0;(0,g.C)(a,function(a){b+=a.getDuration()});
(0,g.C)(a,function(b,d){var c=b.B;c.ig=a.length;var f=d+1;c.g=f;c.o=f})};
uu=function(a,b){if(a.Oc=b)a.Rb.A=b.K;if(P.l){var c=Io();Mo(c,a.Cp);b&&c.l.set(b.K,a.Cp)}};
vu=function(a,b){return null==b?!1:null!=b.getExtension("adx")?!0:vu(a,b.l)};
wu=function(a){return(0,g.Kj)(a.ads,function(a){return(0,g.Kj)(this.dh(a),function(a){a=a.Qa();return!g.D(g.E(qq(a)))})},a)};
xu=function(a){a=a.g;return null!=a&&a instanceof Rp};
yu=function(a,b){pu(a.Rb,new g.We(b));a.ga(b)};
Aga=function(a,b){return(0,g.Wl)(g.Ob(b),function(a){return Qb(this.Ma,a)},a)};
Au=function(a){if(!a.Gc())throw xn(zu,null,"Ads manager is not correctly configured.");};
Bu=function(a,b){for(var c=b;null!=c;)(0,g.C)(c.I.sb(),a.IS,a),c=c.l};
Bga=function(a){if(!g.ya(a))throw xn(zu,null,"adsRenderingSettings.mimeTypes should be an array");var b=g.Va(g.Nb(Cu),g.Nb(Vp));(0,g.C)(a,function(a){if(!g.Oa(b,a))throw xn(zu,null,"Invalid or unsuppoted mime type "+a);})};
Du=function(a){var b=a.la();if(null!=b){var c=b.g;if(c instanceof Rp&&(c=c.oa,null!=c&&!g.Pa(c))){var d=window.document.body,e=Aq(a.la());e=At(!1,null,null,!1,a.Ma,e);e.C=!1;e.l=!1;e.o=!1;b=b.hf();a.La=new iu(e,d,1E3*a.getDuration(),b);ku(a.La,c);a.La.show();a.Wa().R(a.La,"videoIconClicked",a.vP)}}};
Eu=function(a,b,c){null!=a.La&&0<=c&&0<=b&&a.La.update(b,0,c,0,0)};
Cga=function(a,b){function c(a,b,c){for(var d in b)for(var e=d.toLowerCase(),f=0;f<a.length;f++){var n=a[f];if(e==n)throw Error('Cannot override "'+n+'" '+c+', got "'+d+'" with value "'+b[d]+'"');}}
c(Fu,a,"attribute");c(Fu,b,"param")};
g.Gu=function(){};
g.Hu=function(a){g.xf.call(this);this.H=a||g.id();this.ia=null;this.Pe=!1;this.g=null;this.C=void 0;this.D=this.K=this.A=null};
Iu=function(a){return a.ia||(a.ia=":"+(a.MI.g++).toString(36))};
Ju=function(a,b){if(a.Pe)throw Error("Component already rendered");a.g||a.On();b?b.insertBefore(a.g,null):a.H.g.body.appendChild(a.g);a.A&&!a.A.Pe||a.dj()};
Ku=function(a,b){a.K&&(0,g.C)(a.K,b,void 0)};
Lu=function(a,b){g.Hu.call(this,b);this.I=a;this.o=new g.Dm(this);this.l=new g.hm};
Mu=function(a){return a.ma()?a.ma().firstChild:null};
Nu=function(a){g.xf.call(this);this.Za=null;this.C=a;this.l=null;this.A=-1;this.B=!1;this.o=Cb()};
Ou=function(){};
Pu=function(a,b,c){this.g=a;this.Bf=c;this.l=b};
Dga=function(a,b){this.g=a;this.l=b};
Qu=function(a,b,c,d){Yp.call(this,a,b,"Static",c,d);this.Yv=!1};
Ru=function(a,b,c,d){Yp.call(this,a,b,"Html",c,d)};
Su=function(a,b,c,d){Yp.call(this,a,b,"Static",c,d)};
Uu=function(a,b,c){if(g.Pa(c))return new Yp(a,b,"",null,"");var d=Tu(c);c=d.l;var e=d.g;d=d.o;switch(c){case "Html":return new Ru(a,b,e,d);case "Static":switch(Vp[e]){case "Image":return new Su(a,b,e,d);case "Flash":return new Qu(a,b,e,d);case "Text":return new pq(a,b)}}return new Yp(a,b,c,e,d)};
Tu=function(a){var b=g.Ka(a,function(a){return"Static"==a.l&&"Flash"==Vp[a.g]}),c=g.Ka(a,function(a){return"IFrame"==a.l}),d=g.Ka(a,function(a){return"Html"==a.l}),e=g.Ka(a,function(a){return"Static"==a.l&&"Image"==Vp[a.g]}),f=g.Ka(a,function(a){return"Static"==a.l&&"Text"==Vp[a.g]});
return Bo&&null!=b?b:null!=c?c:null!=d?d:null!=e?e:null!=f?f:a[0]};
Ega=function(a,b,c,d,e,f){var k=Tu(f),l=Uu(a.id,a.size,[k]);l.C=!0;l.I=a.apiFramework;l.Ya=b;l.K=c;l.g=d;e&&(l.vj=e);g.Ta(f,k);var m=[];(0,g.C)(f,function(f){f=Uu(a.id,a.size,[f]);f.C=!0;f.I=a.apiFramework;f.Ya=b;f.K=c;f.g=d;e&&(f.vj=e);m.push(new hr(f,[],a.adSlotId))});
return new hr(l,m,a.adSlotId)};
Vu=function(a,b,c){this.l=a;this.g=b;this.o=c};
Wu=function(a,b,c){eq.call(this);this.l=a;this.o=b;this.A=c};
Xu=function(){this.Za=null};
Yu=function(){this.B=null;this.C="http://www.google.com/adsense/support";this.D=0;this.g=15;this.A=5;this.o=3;this.l=!1};
Fga=function(a,b){a.g=b};
Zu=function(a,b,c,d,e,f,k,l,m,n,q){eq.call(this,n,q);this.B=a;this.C=b;this.A=c;this.D=m;this.F=k;this.l=f;this.o=e};
$u=function(){};
Hga=function(a,b){var c;(0,g.C)(g.Id(b),function(a){switch(a.nodeName){case "context":c="default"==a.getAttribute("data")?new Yu:null;break;case "params":null!=c&&Gga(this,c,a)}},a);
return c};
Gga=function(a,b,c){(0,g.C)(g.Id(c),function(a){var c=a.attributes[0].value;switch(a.nodeName){case "attribution_url":b.C=c;break;case "attribution_text":b.B=c;break;case "signals":b.D=(0,window.parseInt)(c,10);break;case "audio_muted_on_start":b.l=Xr(c,!1)}},a)};
av=function(){this.Za=null};
bv=function(){};
cv=function(){};
dv=function(){};
ev=function(a){var b=a;if(a instanceof Array)for(var c=b=Array(a.length),d=0;d<a.length;++d)a.hasOwnProperty(d)&&(c[d]=ev(a[d]));else a instanceof Object&&(b={},fv(b,a));return b};
fv=function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=ev(b[c]))};
gv=function(a,b,c){this.type=a;this.label=b;this.he=c};
iv=function(a,b){return new gv(a,1,b)};
jv=function(a){new gv(a,2,void 0)};
kv=function(a,b){return new gv(a,3,b)};
lv=function(a){return iv("m",a)};
mv=function(a){return kv("m",a)};
nv=function(a){this.data=a||{}};
ov=function(a,b,c){a=a.data[b];return null!=a?a:c};
pv=function(a,b){return!!ov(a,b,void 0)};
Er=function(a,b){return ov(a,b,"")};
qv=function(a,b,c){a=a.data;a[b]||(a[b]=[]);return a[b][c]};
Iga=function(a){for(var b=rv,c=[],d=0;d<tv(a,"event");d++)c.push(new b(qv(a,"event",d)));return c};
tv=function(a,b){return a.data[b]?a.data[b].length:0};
uv=function(a){this.data=a||{}};
vv=function(a){this.data=a||{}};
wv=function(a){this.data=a||{}};
xv=function(a){this.data=a||{}};
rv=function(a){this.data=a||{}};
yv=function(a){this.data=a||{}};
zv=function(a){this.data=a||{}};
Av=function(a){this.data=a||{}};
Ks=function(a){this.data=a||{}};
lr=function(a){return new yv(a.data.product_card)};
tr=function(a){return new xv(qv(a,"action",0))};
Js=function(a){return pv(a,"show_in_endcap")};
Ls=function(a){return pv(a,"show_in_companion")};
Gv=function(){if(!Bv){var a={};Bv={g:a};a.type=Cv;a.id=Dv;a.link_url=Dv;a.title=Dv;a.image=lv(Ev());a.event=mv(Fv());a.target=Dv;a.priority=Dv}return Bv};
Gr=function(a){return Er(a,"title")};
sr=function(a){return Er(a,"target")};
Fv=function(){if(!Hv){var a={};Hv={g:a};a.type=Cv;a.base_url=Dv}return Hv};
pr=function(a){return new Ks(a.data.image)};
mr=function(a){return new zv(qv(a,"offer",0))};
or=function(a){return Er(a,"merchant")};
qr=function(a){return Er(a,"price")};
Iv=function(a){return new xv(qv(a,"action",0))};
Hr=function(a){return Er(a,"description")};
Ev=function(){if(!Jv){var a={};Jv={g:a};a.image_url=Dv;a.thumbnail_url=Dv;a.image_height=Kv;a.image_width=Kv}return Jv};
Lv=function(a,b,c){eq.call(this,c);this.l=a;this.o=b||null};
Mv=function(a){this.g=a};
Ov=function(a,b,c){for(var d={},e=0;e<b.attributes.length;e++){var f=b.attributes[e],k=c.g[f.nodeName];if(k)switch(k.type){case "b":d[f.nodeName]="false"!=f.nodeValue;break;case "d":case "f":d[f.nodeName]=(0,window.parseFloat)(f.nodeValue);break;case "e":d[f.nodeName]=Nv[b.nodeName][f.nodeName][f.nodeValue];break;case "i":d[f.nodeName]=(0,window.parseInt)(f.nodeValue,10);break;default:d[f.nodeName]=f.nodeValue}}for(e=0;e<b.childNodes.length;e++)if(f=b.childNodes[e],f.nodeType==window.Node.ELEMENT_NODE&&
(k=c.g[f.nodeName],null!=k)){var l=Ov(a,f,k.he);3==k.label?(d[f.nodeName]||(d[f.nodeName]=[]),d[f.nodeName].push(l)):d[f.nodeName]=l}return d};
Jga=function(a,b){var c=new Dp;(0,g.C)(g.Id(b),function(a){"CustomTracking"==a.nodeName&&null!=g.Id(a)&&(c=$r(a,!1,(0,g.z)(function(a,b){return Pv(a,b)},this)))},a);
return c};
Pv=function(a,b){return g.Mm(b,{ACTTYPE:{toString:function(){switch(a){case "video_card_endcap_action":return"action_headline_click";default:return""}}}})};
Qv=function(a,b){eq.call(this);this.o=a;this.l=g.E(b)};
Rv=function(a,b){eq.call(this);this.l=a;this.o=b};
Sv=function(){this.Za=null};
Tv=function(a,b){this.logger=null;this.o=b;this.g={};this.l=[];this.g.CustomTracking=$r;this.g.UI=this.B};
Uv=function(a,b){if(null==b)return null;var c={};(0,g.C)(g.Id(b),function(a){c[a.nodeName]=null!=this.g[a.nodeName]?this.g[a.nodeName].call(this,a):null},a);
return null==c.UI?null:c};
Vv=function(){Tv.call(this,"MuteExtensionParser","mute_");this.g.SurveyOptions=this.A};
Wv=function(){eq.call(this);this.l=""};
Xv=function(){this.Za=null};
Yv=function(a,b,c,d){eq.call(this);this.A=a;this.o=b;this.B=c;this.l=d};
Zv=function(){this.Za=null};
$v=function(a){eq.call(this,a)};
aw=function(){};
bw=function(){eq.call(this)};
cw=function(){this.Za=null};
Kga=function(a,b){var c;(0,g.C)(g.Id(b),function(a){a.nodeName==this.g.lG&&(c=Tr(a))},a);
return c};
dw=function(a,b,c,d,e,f){eq.call(this);this.B=a||"";this.C=b||"";this.D=c||"";this.A=d;this.l=e;this.o=f};
ew=function(){this.Za=null};
fw=function(a){eq.call(this);this.l=a};
gw=function(){this.Za=null};
hw=function(){Tv.call(this,"WhyThisAdExtensionParser","why_this_ad_");this.l.push("targeting_reason")};
iw=function(a,b){return null!=a?(0,g.Wl)(b,function(b){return b in a}):!1};
Lga=function(a,b){return null!=a?(0,g.Kj)(b,function(b){return b in a}):!1};
jw=function(){};
kw=function(){eq.call(this)};
lw=function(){};
mw=function(){};
nw=function(a){this.A=a;this.logger=null};
ow=function(a){if(null==a)return!1;a=g.Kd(a);return null!=a&&"VAST"==a.nodeName};
qw=function(a,b){var c=[],d=null;try{var e=g.Mr(a),f=g.Kd(e);null!=f&&"CompanionAds"==f.nodeName&&(d=pw(nw.prototype,f,b))}catch(k){}null!=d&&c.push(d);return c};
rw=function(a){if(null==a)return 0;a=(0,window.parseInt)(a.getAttribute("version"),10);return g.ua(a)&&!(0,window.isNaN)(a)?a:0};
Nga=function(a){var b=[],c=g.Kd(a.A),d=rw(c);Ur(c,a.g.jE,function(a){var c=tw(a);if(null==c)throw Or(a);var e=a.getAttribute(this.l.Xl);a=Number(a.getAttribute(this.l.gv));var l=e||null;e=a||0;var m=null,n=null;a=[];for(var q=[],r=[],v=[],B=new g.hm,F,L=c.nodeName==this.g.yG,Y=L,la=L,$a=null,ba=g.Id(c),ed=0,Ff=ba.length;ed<Ff;ed++){var zb=ba[ed];switch(zb.nodeName){case this.g.kE:Tr(zb);case this.g.QF:break;case this.g.uG:if(L){if(null!=F)throw Pr(zb);F=Tr(zb);$a=Ofa(F);Y=Xr(c.getAttribute(this.l.pE),
Y);la=Xr(c.getAttribute(this.l.eF),la)}else throw Or(zb);break;case this.g.nE:m=Tr(zb);break;case this.g.oE:n=Tr(zb);break;case this.g.RE:Tr(zb);break;case this.g.jG:Tr(zb);break;case this.g.Zl:zb=Tr(zb);Yr(zb)&&a.push(zb);break;case this.g.ERROR:zb=Tr(zb);q.push(zb);break;case this.g.KE:v=Mga(this,zb);r=v.creatives;v=v.bH;break;case this.g.aF:var yd=zb;B=$a;zb=new g.hm;try{var tj=Rr(yd,this.g.EXTENSION);yd=0;for(var li=tj.length;yd<li;yd++){var Zb=tj[yd],sb=Zb.getAttribute(this.l.Av);null!=sb?sb=
sb.toLowerCase():sb="generic";switch(sb){case "programmatic":var ic=(new Xv).parse(Zb);break;case "geo":ic=(new lw).parse(Zb);break;case "pod":ic=(new jw).parse(Zb);break;case "waterfall":ic=(new mw).parse(Zb);break;case "dart":ic=(new bv).parse(Zb);break;case "dfp":sb="DFP";ic=(new cv).parse(Zb);break;case "adsense":sb="AdSense";ic=(new av).parse(Zb);break;case "textad":sb="TextAd";ic=(new ew).parse(Zb);break;case "templatead":sb="TemplateAd";ic=(new cw).parse(Zb);break;case "infocards":sb="InfoCards";
var Kq=new Mv(!0);ic=Kq.parse(Zb);break;case "infocardstracking":sb="InfoCardsTracking";Kq=new Mv(!1);ic=Kq.parse(Zb);break;case B:case "prefetchedad":sb="LocalRedirect";var mi=Zb;if(null==mi)ic=null;else{var Sk=null,hv=Rr(mi,"AdXml");if(1==hv.length){var pd=g.Kd(hv[0]);if(null!=pd)try{Sk=Qr(pd)}catch(rB){Sk='<?xml version="1.0" encoding="UTF-8"?>'+Nr(pd)}else Sk='<?xml version="1.0" encoding="UTF-8"?>'+Nr(pd)}var Tk=Rr(mi,"VASTAdTagURI");mi=null;1==Tk.length&&(mi=Tk[0].textContent);ic=new Qv(Sk,
mi)}break;case "viral":sb="viral";ic=(new gw).parse(Zb);break;case "metrics":sb="metrics";ic=(new Sv).parse(Zb);break;case "adx":sb="adx";ic=(new bs).parse(Zb);break;case "why_this_ad":sb="why_this_ad";ic=(new hw).parse(Zb);break;case "mute":sb="mute";ic=(new Vv).parse(Zb);break;case "sodar":ic=(new Zv).parse(Zb);break;case "survey":ic=(new aw).parse(Zb);break;case "adformat":sb="AdFormat";ic=(new Xu).parse(Zb);break;default:var OK=new dv;sb="generic";ic=OK.parse(Zb)}if(null!=ic){var ni=zb.get(sb);
null!=ni?"generic"==sb&&(Qea(ni,ic.g),zb.set(sb,ni)):zb.set(sb,ic)}}}catch(rB){if(!g.Aa(rB.Mb)||1105==rB.Mb())throw rB;}B=zb}}c=g.E(l);tj=m;a:if(g.D(g.E(m)))li="UNKNOWN";else switch(li=m.toUpperCase(),li){case "ADSENSE":case "ADSENSE/ADX":case "ADSENSE-VIRAL":case "DART":case "DART_DFP":case "DART_DFA":case "FREEWHEEL":case "GDFP":case "SHOPPING":case "402":case "YT:ADSENSE":case "YT:DOUBLECLICK":case "YT:SHOPPING":case "YT:FREEWHEEL":case "VIRAL":case "VIRAL-RESERVE":break a;default:li="UNKNOWN"}B.get("programmatic");
Zb=B;sb=null;B=B.get("AdSense");null!=B&&(B=fq(B,"vast2tracking"),null!=B&&!g.Pa(B)&&(sb=B[0]));e=new fs(c,tj,li,n,e,q,a,r,v,Zb,F,Y,la,sb);null!=e&&(e.Sa=d,b.push(e))},a);
return b};
tw=function(a){var b=null;a=g.Id(a);for(var c=0,d=a.length;c<d;c++)switch(b=a[c],b.nodeName){case "InLine":case "Wrapper":break;default:throw Or(b);}return b};
Oga=function(a){if(g.D(g.E(a)))return"none";switch(a){case "all":case "any":case "none":return a;default:return"none"}};
Mga=function(a,b){var c=[],d=[];Ur(b,a.g.JE,function(a){var b=a.getAttribute(this.l.gv),e=window.NaN;g.D(g.E(b))||(e=(0,window.parseFloat)(b));a.getAttribute(this.l.lE);b=a.getAttribute(this.l.Xl);var l=!1,m=[];a=g.Id(a);for(var n=0,q=a.length;n<q;n++){var r=a[n];switch(r.nodeName){case this.g.sG:var v=r,B=Tr(v);B=g.E(B);g.D(B)&&v.getAttribute(this.l.mF);r.getAttribute(this.l.lF);break;case this.g.LINEAR:if(l)throw Pr(r);l=Pga(this,r,(0,window.isNaN)(e)?0:e,b||null);Xa(c,l);Xa(m,l);l=!0;break;case this.g.AE:if(l)throw Pr(r);
l=pw(this,r,(0,window.isNaN)(e)?0:e);Xa(d,l);l=!0;break;case this.g.HF:if(l)throw Pr(r);l=Qga(this,r,(0,window.isNaN)(e)?0:e,b||null);Xa(c,l);Xa(m,l);l=!0}}n=0;for(q=m.length;n<q;n++);},a);
return{creatives:c,bH:d}};
Qga=function(a,b,c,d){var e=[],f=new Dp;b=g.Id(b);for(var k=0,l=b.length;k<l;k++){var m=b[k];switch(m.nodeName){case a.g.GF:m=Rga(a,m,c,d);null!=m&&e.push(m);break;case a.g.Qp:f=$r(m);break;default:throw Or(m);}}0!=e.length||f.isEmpty()||(a=new Yp(null,new g.cd(-1,-1),"",null,""),a.g=c,a.fa=d,e.push(a));(0,g.C)(e,function(a){f&&(a.vj=f)});
return e};
uw=function(a,b){var c={};c.id=b.getAttribute(a.l.Xl);c.adSlotId=b.getAttribute(a.l.mE);c.apiFramework=b.getAttribute(a.l.Ul);var d=Db(b.getAttribute(a.l.sm)),e=Db(b.getAttribute(a.l.Vl));c.size=new g.cd(d,e);d=b.getAttribute(a.l.ZE);e=b.getAttribute(a.l.YE);g.D(g.E(d))||g.D(g.E(e))||(c.l2=new g.cd(Db(d),Db(e)));return c};
Rga=function(a,b,c,d){var e=uw(a,b);b.getAttribute(a.l.Ul);b.getAttribute(a.l.XF);b.getAttribute(a.l.uF);var f=b.getAttribute(a.l.CF);f=Wr(f,-1);var k=[];new g.hm;var l={},m="",n=null,q=[];b=g.Id(b);for(var r=0,v=b.length;r<v;r++){var B=b[r];switch(B.nodeName){case a.g.JF:q.push(Tr(B));break;case a.g.IF:n=Tr(B);break;case a.g.Jp:l=vw(B);m=g.E(Tr(B));break;case a.g.Yl:case a.g.km:case a.g.Wl:B=ww(a,B);null!=B&&k.push(B);break;default:throw Or(B);}}a=Uu(e.id,e.size,k);Np(a,m,l);a.I=e.apiFramework;a.Ya=
n;a.K=q;a.Ga=f;a.g=c;a.fa=d;return a};
ww=function(a,b){var c=Sr(b,a.l.LE);if(null!=c&&"text/javascript"==c)return null;a:{var d=b.nodeName;switch(d){case a.g.km:d="Static";break a;case a.g.Yl:d="IFrame";break a;case a.g.Wl:d="Html";break a;default:throw wn(Sga,null,d);}}var e=Tr(b);null!=e||(e="");return new Vu(d,c,e)};
pw=function(a,b,c){var d=[],e=Oga(Sr(b,a.l.UF));Ur(b,a.g.zE,function(a){var b=uw(this,a);var e=[],f=new Dp,n=null,q=[];a=g.Id(a);for(var r=0,v=a.length;r<v;r++){var B=a[r];switch(B.nodeName){case this.g.CE:q.push(Tr(B));break;case this.g.Qp:f=$r(B,!0);break;case this.g.BE:n=Tr(B);break;case this.g.qE:Tr(B);break;case this.g.Jp:Tr(B);break;case this.g.Yl:case this.g.km:case this.g.Wl:B=ww(this,B);null!=B&&e.push(B);break;default:throw Or(B);}}b=g.Pa(e)?null:Ega(b,n,q,c,f,e);null!=b&&d.push(b)},a);
return new Dga(d,e)};
Pga=function(a,b,c,d){var e=new Dp,f={},k="",l=[],m=null,n=new g.hm,q=[],r=[],v=0,B=Zr(Sr(b,a.l.bG));b=g.Id(b);for(var F=0,L=b.length;F<L;F++){var Y=b[F];switch(Y.nodeName){case a.g.gF:r=Tga(a,Y);break;case a.g.Jp:f=vw(Y);k=g.E(Tr(Y));break;case a.g.Mp:v=Wr(Tr(Y),0);break;case a.g.Qp:e=$r(Y);break;case a.g.yF:q=Uga(a,Y);break;case a.g.vG:l=Vga(a,Y);n=l.customClicks;m=l.clickThrough;l=l.clickTrackingUrls;break;default:throw Or(Y);}}(0,g.C)(l,function(a){Ip(e,"click",a)});
a=new Rp(v,m,n,q,B,r);Np(a,k,f);a.g=c;a.fa=d;e&&(a.vj=e);return a};
Vga=function(a,b){for(var c=null,d=[],e=new g.hm,f=g.Id(b),k=0,l=f.length;k<l;k++){var m=f[k];switch(m.nodeName){case a.g.xE:c=Tr(m);break;case a.g.yE:m=Tr(m);d.push(m);break;case a.g.NE:var n=Sr(m,a.l.Xl);null!=n||(n="");var q=e.get(n,[]);q.push(Tr(m));e.set(n,q);break;default:throw Or(m);}}return{clickThrough:c,clickTrackingUrls:d,customClicks:e}};
Uga=function(a,b){for(var c=[],d=Rr(b,a.g.xF),e=0,f=d.length;e<f;e++){var k=d[e],l=Sr(k,a.l.QE),m=Sr(k,a.l.Av);Sr(k,a.l.wG);var n=Db(k.getAttribute(a.l.sm)),q=Db(k.getAttribute(a.l.Vl)),r=k.getAttribute(a.l.Ul),v=Tr(k),B=Vr(k.getAttribute(a.l.Uu)),F=Vr(k.getAttribute(a.l.BF));k=Vr(k.getAttribute(a.l.wF));l=new Qp(l,m,B,F,k,n,q,v,r);c.push(l)}return c};
Tga=function(a,b){var c=[];Ur(b,a.g.fF,function(a){var b=a.getAttribute(this.l.RF);var d=Sr(a,this.l.zG),k=Sr(a,this.l.BG),l=Db(a.getAttribute(this.l.sm)),m=Db(a.getAttribute(this.l.Vl)),n=new g.cd(l,m);l=a.getAttribute(this.l.Ul);m=Zr(Sr(a,this.l.KF));var q=a.getAttribute(this.l.Mp);q=Wr(q,-1);var r=[],v=[],B={};a=g.Id(a);for(var F=0,L=a.length;F<L;F++){var Y=a[F];switch(Y.nodeName){case this.g.kF:v.push(Tr(Y));break;case this.g.hF:B=[];var la=null;Y=g.Id(Y);for(var $a=0,ba=Y.length;$a<ba;$a++){var ed=
Y[$a];switch(ed.nodeName){case this.g.iF:la=Tr(ed);break;case this.g.jF:B.push(Tr(ed));break;default:throw Or(ed);}}B={iconClickThrough:la,JI:B};break;case this.g.Yl:case this.g.km:case this.g.Wl:la=ww(this,Y);null!=la&&r.push(la);break;default:throw Or(Y);}}g.Pa(r)?b=null:(a=B,n=Uu("icon"+b,n,r),n.I=l,b=new eu(n,b,d,k,q,m,a.iconClickThrough,a.JI,v));null!=b&&c.push(b)},a);
return c};
vw=function(a){a=Tr(a);return null!=a?rea(a):{}};
xw=function(a){tu.call(this,a);this.g=this.Za=null;this.M={};this.o=!0;this.I=this.H=this.D=!1;this.C=this.K=0;this.l=null;this.B=0;this.A=1;this.F=-1;this.V=!1;this.N=2==P.D};
yw=function(a){var b=a.ad("getAdLinear");return g.ta(b)?b:a.o};
zw=function(a){if(!a.o){var b=a.ad("getAdRemainingTime");b=g.ua(b)?b:-2;if(!g.ua(b)||0>b)b=30;g.og(a.F);a.F=g.ng(a.stop,1E3*b,a)}};
Bw=function(a,b){var c=xn(Aw,b,void 0),d=zq(c,a.la()),e=os(a.la());tn(e,d);Aw.message=c.Dd();An(a,Aw,b);a.stop()};
Cw=function(a){a.V||(a.V=!0,yu(a,"complete"))};
Dw=function(a){tu.call(this,a);this.B=this.g=this.Za=null;this.o=!0;this.W=this.K=this.D=!1;this.V=Cb();this.H=this.M=0;this.F=-1;this.l=null;this.C=0;this.A=1;this.I=-1;this.N=!1};
Ew=function(a){var b=a.hd("getAdLinear");return g.ta(b)?b:a.o};
Fw=function(a){if(!a.o){var b=a.hd("getAdRemainingTime");b=g.ua(b)?b:-2;if(!g.ua(b)||0>b)b=30;g.og(a.I);a.I=g.ng(a.stop,1E3*b,a)}};
Gw=function(a,b,c,d){d=xn(b,c,d);var e=zq(d,a.la()),f=os(a.la());tn(f,e);b.message=d.Dd();An(a,b,c)};
Hw=function(a){a.N||(a.N=!0,yu(a,"complete"))};
Iw=function(a){Sm.call(this,"adMetadata",a)};
Jw=function(a){switch(a){case 1:return"endslate";default:return"fullslot"}};
Kw=function(a){switch(a){case 0:return"No Error";case 1:return"Access denied to content document";case 2:return"File not found";case 3:return"Firefox silently errored";case 4:return"Application custom error";case 5:return"An exception occurred";case 6:return"Http response at 400 or 500 level";case 7:return"Request was aborted";case 8:return"Request timed out";case 9:return"The resource is not available offline";default:return"Unrecognized error code"}};
g.Lw=function(a){if(g.w.JSON)try{return g.w.JSON.parse(a)}catch(b){}return kba(a)};
Mw=function(){};
Ow=function(a){var b;(b=a.g)||(b={},Nw(a)&&(b[0]=!0,b[1]=!0),b=a.g=b);return b};
Pw=function(){};
Qw=function(a){return(a=Nw(a))?new window.ActiveXObject(a):new window.XMLHttpRequest};
Nw=function(a){if(!a.l&&"undefined"==typeof window.XMLHttpRequest&&"undefined"!=typeof window.ActiveXObject){for(var b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],c=0;c<b.length;c++){var d=b[c];try{return new window.ActiveXObject(d),a.l=d}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.l};
g.Rw=function(a){g.xf.call(this);this.headers=new g.hm;this.N=a||null;this.o=!1;this.M=this.g=null;this.X=this.I="";this.l=0;this.C="";this.A=this.W=this.H=this.V=!1;this.B=0;this.D=null;this.Y="";this.K=this.F=!1};
Sw=function(a,b){a.B=Math.max(0,b)};
Wga=function(a){return g.sd&&g.nc(9)&&g.ua(a.timeout)&&g.t(a.ontimeout)};
Xga=function(a){return"content-type"==a.toLowerCase()};
Vw=function(a,b){a.o=!1;a.g&&(a.A=!0,a.g.abort(),a.A=!1);a.C=b;a.l=5;Tw(a);Uw(a)};
Tw=function(a){a.V||(a.V=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
Zw=function(a){if(a.o&&"undefined"!=typeof Ww)if(a.M[1]&&4==g.Xw(a)&&2==a.getStatus())Yw(a,"Local request error detected and ignored");else if(a.H&&4==g.Xw(a))g.ng(a.Ex,0,a);else if(a.dispatchEvent("readystatechange"),4==g.Xw(a)){Yw(a,"Request complete");a.o=!1;try{var b=a.getStatus();a:switch(b){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var c=!0;break a;default:c=!1}var d;if(!(d=c)){var e;if(e=0===b){var f=g.zg(String(a.I))[1]||null;if(!f&&g.w.self&&g.w.self.location){var k=
g.w.self.location.protocol;f=k.substr(0,k.length-1)}e=!Yga.test(f?f.toLowerCase():"")}d=e}if(d)a.dispatchEvent("complete"),a.dispatchEvent("success");else{a.l=6;try{var l=2<g.Xw(a)?a.g.statusText:""}catch(m){l=""}a.C=l+" ["+a.getStatus()+"]";Tw(a)}}finally{Uw(a)}}};
Uw=function(a,b){if(a.g){$w(a);var c=a.g,d=a.M[0]?g.y:null;a.g=null;a.M=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){}}};
$w=function(a){a.g&&a.K&&(a.g.ontimeout=null);a.D&&(g.og(a.D),a.D=null)};
g.Xw=function(a){return a.g?a.g.readyState:0};
g.ax=function(a){try{return a.g?a.g.responseText:""}catch(b){return""}};
Yw=function(a,b){return b+" ["+a.X+" "+a.I+" "+a.getStatus()+"]"};
Zga=function(a,b,c,d){var e=new g.nm("https://www.googleapis.com/youtube/v3/videos");g.wm(e,"id",a);g.wm(e,"part","snippet,status,statistics");g.wm(e,"fields","items/id,items/snippet/title,items/snippet/channelId,items/status/privacyStatus,items/statistics/viewCount");null!=d&&(b=(0,g.z)(b,d),c=(0,g.z)(c,d));bx(new g.Rw,e,b,c)};
$ga=function(a,b,c,d){var e=new g.nm("https://www.googleapis.com/youtube/v3/channels");g.wm(e,"id",a);g.wm(e,"part","snippet,statistics,brandingSettings");g.wm(e,"fields","items/id,items/snippet/title,items/snippet/thumbnails/default/url,items/statistics/videoCount,items/brandingSettings/image/bannerImageUrl");null!=d&&(b=(0,g.z)(b,d),c=(0,g.z)(c,d));bx(new g.Rw,e,b,c)};
bx=function(a,b,c,d){g.wm(b,"key","AIzaSyA-dlBUjVQeuc4a6ZN4RkNUYDFddrVLxrA");Sw(a,2E3);var e=new g.Dm(a);e.rh(a,"success",function(a){a=a.target;var b=a.g?g.Lw(a.g.responseText):void 0;c(b||{});e.dispose();a.dispose()});
e.rh(a,["error","timeout"],function(a){a=a.target;var b=null;0!=a.l&&(b=Error(Kw(a.l)));d(b);e.dispose();a.dispose()});
a.send(b)};
fx=function(a,b,c,d,e,f,k,l){f=void 0===f?window.Infinity:f;k=void 0===k?!1:k;Yi.call(this,a,l);var m=this;this.H=0;this.V=f;this.ca=b;this.W=c;this.ba=d;this.da=e;this.Y=!("csi.gstatic.com"!==this.W||!this.g.navigator||!this.g.navigator.sendBeacon);this.I={};this.g.performance&&this.g.performance.now||cx(this,"dat",1);this.g.navigator&&this.g.navigator.deviceMemory&&cx(this,"dmc",this.g.navigator.deviceMemory);this.X=!k;this.C=(0,g.z)(this.M,this);this.N=g.Ea(this.g.setTimeout,this.C,1100);this.F=
this.g.setTimeout(this.C,5E3);this.o={};this.B=b.length+c.length+d.length+e.length+3;this.A=0;(0,g.C)(this.events,function(a){return dx(m,a)});
ex(this);"complete"===this.g.document.readyState?this.g.setTimeout(this.C,0):Uh(this.g,"load",this.N);Uh(this.g,"unload",this.C)};
cx=function(a,b,c){c=c.toString();null!=a.I[b]?a.B+=c.length-a.I[b].length:a.B+=b.length+c.length+2;a.I[b]=c};
ex=function(a){cx(a,"puid",(a.H+1).toString(36)+"~"+(0,g.G)().toString(36))};
dx=function(a,b){var c="met."+b.type;var d=g.ua(b.value)?Math.round(b.value).toString(36):b.value;var e=Math.round(b.duration);d=""+b.label+(null!=b.slotId?"_"+b.slotId:"")+("."+d)+(0<e?"_"+e.toString(36):"");e="~";e=void 0===e?"":e;var f=null==a.o[c]?c.length+d.length+2:d.length+e.length;8E3<a.B+a.A+f&&(a.M(),f=c.length+d.length+2);a.o[c]=null!=a.o[c]?a.o[c]+(""+e+d):d;a.A+=f;6E3<=a.B+a.A&&a.M()};
ix=function(){this.wa=null;if((gn(dn(),21592081)||gn(dn(),21592082))&&!P.g()){this.wa=new fx(1,"https:","csi.gstatic.com","/csi?v=2&s=","ima",void 0,!0);if(gx)var a=gx;else{(a=Wh())?(a=a.master,a=Qh(a)?a:null):a=null;a=a||bi();var b=a.google_persistent_state_async;a=null!=b&&"object"==typeof b&&null!=b.S&&"object"==typeof b.S?gx=b:a.google_persistent_state_async=gx=new rca}b=bi();var c=Wh(b);c?((b=c||Wh())?(c=b.pageViewId,g.u(b.clientId)&&(c+=b.clientId.replace(/\D/g,"").substr(0,6)),b=c):b=null,
b=+b):(b=ik(b).be,(c=b.google_global_correlator)||(b.google_global_correlator=c=1+Math.floor(Math.random()*Math.pow(2,43))),b=c);c=aha[7]||"google_ps_7";a=a.S;var d=a[c];a=void 0===d?a[c]=b:d;hx(this,"c",a);a=hn(dn());g.D(g.E(a))||hx(this,"e",a)}this.g="0"};
jx=function(){var a=ix.getInstance();a.wa&&(a.wa.D(),a.wa=null)};
hx=function(a,b,c){a.wa&&c&&cx(a.wa,b,c)};
kx=function(a){var b=ix.getInstance();if(b.wa&&bha){var c=Vi();if(c){var d=b.wa;d.l&&d.K(new Wi(a,4,c,0,void 0))}gn(dn(),21592082)&&(a=b.wa,!a.F&&a.l&&a.X&&(a.F=a.g.setTimeout(a.C,Math.min(1E3<<a.H,6E4))))}};
cha=function(a,b){if(b){var c=/iu=\/(\d+)\//.exec(ob(b)),d=g.E((new g.nm(b)).g.get("client"));a.g=c&&2==c.length?c[1]:g.D(d)?"0":d}else a.g="0"};
lx=function(a){if(a&&a.items&&a.items.length){a=a.items[0];this.videoId=a.id;var b=a.statistics;b&&null!=b.viewCount&&(b=Fb(b.viewCount),this.Ii=(0,window.isNaN)(b)?-1:b);if(b=a.snippet)this.channelId=b.channelId,this.title=b.title;if(a=a.status)this.isListed="unlisted"!=a.privacyStatus}};
dha=function(a){return'<a target="_blank" href="'+Q(a.url)+'" class="'+Q("fullslot-attribution-button")+'">'+Q(a.text)+"</a>"};
eha=function(a){return'<div class="'+Q("fullslot-autoclose")+'">'+Q(a.OG)+"</div></div>"};
mx=function(a){return""+Ga("Ad will close in {$xSeconds}",{xSeconds:Q(a.Ng)})};
nx=function(a){g.xf.call(this);this.B=new g.mg(200);g.M(this,this.B);this.o=0;this.l=!1;this.M=a;this.I=new g.Dm(this);this.I.R(this.B,"tick",this.GQ)};
ox=function(a){a.B.stop();a.l=!1};
qx=function(a,b,c,d,e){nx.call(this,b.g);this.F=b;this.D=c;this.H=this.F.g;this.g=a;this.A=this.C=null;g.S(this.g,Jw(this.D));a=this.g;b=new zt;b.skipOffset=new vr(this.F.A,!1);this.A=new Rt(b,a);d&&d.text&&(d=nq(dha,d),this.g.appendChild(d));e?(e=this.g,d=mx({Ng:px(this.H)}),a=nq(eha,{OG:d}),g.Od(a,d),e.appendChild(a),e=a):e=null;this.C=e};
fha=function(a){var b=g.I("videoAdUiSkipButton",a.g);return b?g.zh(b,a.g):new g.$c(0,0)};
px=function(a){a=Math.ceil(a);return"0:"+(10>a?"0"+a:""+a)};
tx=function(a,b,c,d,e){nx.call(this,d);this.H=a;this.V=b;this.N=e;this.A=new g.Dm(this);g.M(this,this.A);this.C=new dt;g.M(this,this.C);this.K=new dt;g.M(this,this.K);this.F=new dt;g.M(this,this.F);(a=rx(c))?(c=a(c),b.appendChild(c),b=g.I("iv-endcap-action",c),this.A.R(this.C,"click",this.D),this.C.Gb(b),b=g.I("iv-endcap-text",c),this.A.R(this.K,"click",this.D),this.K.Gb(b),b=g.I("iv-endcap-image",c),this.A.R(this.F,"click",this.D),this.F.Gb(b),b=c):b=null;this.g=b?g.I("iv-endcap-countdown-inner",
b):null;null!=this.g&&g.jh(this.g,"stroke-dasharray","0 "+sx)};
rx=function(a){switch(a.Vb()){case 1:return gha;case 4:return hha}return null};
gha=function(a){var b=lr(a);a=0<tv(a,"action")?tr(a):null;return nq(jr,{headline:b.md(),description:Er(b,"description"),image:pr(b).getImageUrl(),action:a?Gr(a):"",target:a?sr(a)||Er(a,"link_url"):""})};
hha=function(a){var b=a.g();a=0<tv(a,"action")?tr(a):null;return nq(jr,{headline:b.md(),description:Hr(b),image:b.ug().getImageUrl(),action:a?Gr(a):"",target:a?sr(a)||Er(a,"link_url"):""})};
iha=function(){var a="",b=Ga("Your video will play after this ad.");a+='<div class="'+R("videoAdInterstitial")+'"><p>'+b+"</p></div>";return hp(a)};
ux=function(){g.K.call(this);this.l=nq(iha);this.wa=0};
vx=function(a){a.wa&&(g.og(a.wa),a.g(g.y))};
wx=function(){this.l=this.I=this.Ti=this.g=this.adFormat=null;this.F=this.H=this.D=this.isPharma=this.B=!1;this.timeout=-1;this.A=!1;this.o=this.C=null;this.Zj=this.kk=!1};
xx=function(a){g.We.call(this,a)};
yx=function(a){g.xf.call(this);this.Za=null;this.A=a;this.M=new g.hm;this.I=-1;this.F=this.N=!1;this.D=""};
zx=function(a){this.paused=!1;this.mute=a.isMuted();this.volume=a.getVolume()};
Ax=function(a,b,c,d){if(!c||null==a.M.get(b)){d&&!a.F&&(b="error");a.M.set(b,!0);a:{c=b;if(a.o&&a.o.g.A){if("click"==c)break a;"videoLearnMoreClicked"==c&&pu(a.A,new g.We("click"))}d=jha[c]||null;null!=d&&null!=a.g&&a.g.bu(d);pu(a.A,new g.We(c))}a.dispatchEvent(b)}};
Bx=function(a){0>a.I||a.N||!a.g.vk(a.I)&&!a.g.mh()||!a.F||(a.N=!0,Ax(a,"engagedview",!0,!0),a.dispatchEvent(new xx("viewCount",a.g)))};
Cx=function(a){Bx(a);if(P.g()){var b=a.A;if(!(jm(b.l,"skip")||0>b.B)){for(var c=Gp(b.o,"progress"),d=[],e=b.B;e<c.length;e++){var f=c[e];b.B=e+1;d.push(f.Qa())}0<d.length&&pu(b,new g.We("progress"),d)}}Ax(a,"complete",!0,!0)};
Dx=function(a){this.g=new g.hm;if(a){a=lm(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c])}};
Ex=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+g.Da(a):b.substr(0,1)+a};
Fx=function(a){tu.call(this,a);this.g=null;this.C=!1;this.o=new yx(this.Rb);this.Za=null;this.V=this.Y=this.D=!1;this.X=this.B=1;this.l=null;this.W=new ux;this.F=new Dx;this.ca=!1;this.M=[];this.K=this.I=this.N=!1;this.A=null;this.ba=!En()&&P.g();this.H=!1;gn(dn(),324123001)&&(P.V=!0);gn(dn(),324123021)&&(P.V=!0);if(a=0<a.length?a[0]:null){var b=ix.getInstance();hx(b,"gqid",Bs(a));hx(b,"qqid",Dq(a))}kha(this)};
Gx=function(a,b){var c=g.ng(function(){this.F.remove(c);b.call(this)},0,a);
a.F.add(c)};
Hx=function(a){a.A&&(g.Ue(a.A),a.A=null);g.Ue(a.La);a.La=null;g.Ue(a.o);g.Ue(a.Rb);a.V=!1};
Ix=function(a){a.Tj();a.tb()?a.start():a.stop()};
mha=function(a){if(!a.tb())return!1;var b=a.Fa.If();if(null==b)return!1;var c=a.la(),d;if(d=c.M?c.M.g.Vk()?c.M.g.Jr():c.M.kd():"")lha(a,b,d);else if(Ps(c)&&(d=c.X,d=g.Pa(d)?null:d[0],null!=d&&g.Aa(rx(d)))){var e=1==d.Vb();a.g=new tx(a.Da,b,d,Vs(c),e);a.Wa().R(a.g,"click",(0,g.z)(a.Ow,a,null));a.La&&mu(a.La,!0);a.Fa.wd()}null!=a.g&&(a.Wa().R(a.g,"timeUpdate",a.zB),a.Wa().R(a.g,"end",a.pH),a.g.start(),yu(a,"video_card_endcap_impression"));return null!=a.g};
lha=function(a,b,c){ko(ho.getInstance(),34,{evt:"start"},!0);var d=g.J("DIV");g.S(d,"controls");var e=g.J("DIV");g.S(e,"adDisplay");g.S(e,"endslate");e.innerHTML=c;(c=g.Id(e)[0])&&g.jh(c,{margin:"0 auto"});(0,g.C)(c.getElementsByTagName("a"),function(a){var b=a.getAttribute("href");b&&this.Wa().R(a,"click",(0,g.z)(this.Ow,this,b))},a);
d.appendChild(e);e=new Yu;Fga(e,Vs(a.la()));e.A=0;e.o=0;a.g=new qx(d,e,1,{},!0);a.Wa().R(a.g,"skip",a.Pw);b.appendChild(a.g.g);a.Fa.wd();a.La&&(wga(a.La),ju(a.La))};
Kx=function(a,b){Jx(a);null!=a.Da&&a.Da.zr();a.ga("complete");yu(a,b);a.Aa("instreamAdComplete");Ix(a)};
Jx=function(a){a.g&&(a.g.dispose(),a.g=null);a.La&&mu(a.La,!1);a.C=!1};
nha=function(a){return(0,g.Wl)(a.Oc.A,function(a){return!pv(a.Ke(),"hide_in_drawer")})};
Nx=function(a,b,c){Lx(a)&&c?Mx(a,b).then(a.Kv,null,a):(a.Kv(),c&&Mx(a,b))};
oha=function(a){null!=a.Da&&a.Da.yr();var b=en();b=b.g("use_forced_brand_precap_duration")?b.l("forced_brand_precap_duration_ms"):2E3;xga(a.La,b);var c=g.ng(function(){null!=this.Da&&this.Da.zr();this.F.remove(c);this.W.show(this.Fa.Kk(),this.Ma.Bu,(0,g.z)(this.Da.play,this.Da))},b,a);
a.F.add(c)};
Ox=function(a,b,c,d){b=Gp(b.g,c);g.Pa(b)||(a[d]=b[0].Qa())};
Px=function(a,b,c){b=c.getExtension(b);null!=b&&(Ox(a,b,"annotation_click","cta_annotation_clicked"),Ox(a,b,"annotation_close","cta_annotation_closed"),Ox(a,b,"annotation_start","cta_annotation_shown"))};
pha=function(a,b){var c=new wx;c.adFormat=Eq(b);Ns(b)&&!b.ba&&(c.Ti=ws(b));c.I=a.Ma.contentId;if(a.La){var d={};Px(d,"AdSense",b);Px(d,"dart",b);Px(d,"DFP",b);c.l=d;c.D=a.La.g.B}b.isSkippable()&&!ks(b)&&(c.H=!0);d=en();c.timeout=d.g("use_variable_load_timeout")?d.l("variable_load_timeout_ms"):a.Ma.pf;if(d=b.o)c.B=d.lp;c.A=a.Ma.Sk;c.g=Dq(b);c.C=a.Ma.pj;c.isPharma=sq(a.lj());c.isPharma||(d=b.getExtension("AdSense"),null!=d&&(c.isPharma=d.isPharma()));c.F=!0;d=ts(a.la(),"endscreenClick");d=g.Pa(d)?null:
g.tg({endscreenClick:d});c.o=d;c.kk=Lx(a);c.Zj=a.tb()&&bt(a.la());return c};
kha=function(a){var b=0,c=0;(0,g.C)(a.ads,function(a){!xu(a)||P.g()&&0!=c||(c++,b+=a.getDuration())},a);
var d=1;(0,g.C)(a.ads,function(a){var b=a.B;b.ig=c;xu(a)&&(b.g=d,b.o=d,d++)},a)};
Qx=function(a){var b=a.l;return b&&b.na&&(b=b.D,!g.Pa(b)&&b[0]instanceof Rp)?b[0].nf():us(a)};
Tx=function(a,b){if(!xu(b))throw xn(Rx);var c=b.g,d=c.B;if(null!=d)return d;var e=null!=b&&!Sx(a)&&(P.g()||a.Fa.Xn()||a.Fa.tr()||En());d=a.dh(b);e=a.Da.cC(d,a.Ma.bitrate,a.Ma.mimeTypes||[],e);qha(d,a.Ma.bitrate,e,ns(b));if(null!=e)return c.B=e;try{rha(a,b)}catch(f){}throw xn(sha);};
rha=function(a,b){if(ho.getInstance().isLoggingEnabled()){var c=new Dx,d=!1;(0,g.C)(a.dh(b),function(a){c.add(a.g);"VPAID"==a.l&&(d=!0)},a);
var e=a.Da.Qq();e={aid:ws(b),mt:c.sb().join(","),smt:e.join(","),hvp:d,st:Cs(b).join(",")};ko(ho.getInstance(),28,e)}};
qha=function(a,b,c,d){if(!P.g())try{var e=(0,g.H)(a,function(a){return a.Tf}),f=(0,g.H)(a,function(a){return a.g});
a={};a.brs=e.join(",");a.mts=f.join(",");a.pubbr=b;a.selbr=null===c?-1:c.Tf;a.selmt=null===c?"":c.g;a.ic=!1;a.nat=!1;a.iyh=kn(c.Qa())?"1":"0";a.as=d;ko(ho.getInstance(),22,a)}catch(k){}};
Ux=function(a){return a.K?!1:a.Ma.Sk&&(!a.Fa.sj()||a.Fa.sj()&&!1)};
Sx=function(a){return a.Ma.Sk&&Vn(a.Fa)&&!a.K&&!0};
Xx=function(a){try{var b=a.la();a.l=Tx(a,b);Gx(a,(0,g.z)(Fx.prototype.ks,a,b,a.l.Qa(),a.l.g))}catch(c){(0,g.Na)(a.ads,b)+1<a.ads.length&&(Vx(a,c),a.Tj(),a.tb()?(zn(a,Wx,c),Xx(a)):An(a,Wx,c))}};
tha=function(a){try{var b=a.Je();null!==b&&(a.l=Tx(a,b),Gx(a,(0,g.z)(Fx.prototype.ks,a,b,a.l.Qa(),a.l.g,!0)))}catch(c){}};
Yx=function(a,b){b in a.M||(a.M.push(b),a.ga(b))};
uha=function(a){var b=a.la(),c={};c.pubbr=a.Ma.bitrate;c.ic=!1;c.nat=!1;if(null!=b){a=a.dh(b);var d=b.g;d=d?d.B:null;var e=(0,g.H)(a,function(a){return a.Tf});
a=(0,g.H)(a,function(a){return a.g});
c.brs=e.join(",");c.mts=a.join(",");c.as=ns(b);null===d?(c.selbr=-1,c.selmt="",c.iyh="0",c.murl=""):(c.selbr=d.Tf,c.selmt=d.g,c.iyh=kn(d.Qa())?"1":"0",c.murl=d.Qa())}ko(ho.getInstance(),45,c)};
Zx=function(a,b,c){Vx(a,c);a.Tj();a.tb()?(zn(a,b,c),a.start()):(An(a,b,c),a.stop())};
Vx=function(a,b){var c=xn(Wx,b);c=zq(c,a.la(),a.Da);var d=os(a.la());tn(d,c)};
$x=function(a){if(P.l||P.g()){var b=Qx(a.la());null!=b&&on(b);a.ga("click")}else a.H&&a.ga("click")};
ay=function(a,b){g.Rb(vha,b)&&Fm(a.Wa(),a.o,b,a.vB,a)};
by=function(a){if(!a.N){var b=a.la(),c=b.C;if(Zs(b)&&!P.g()&&!a.Fa.Xn()&&c){b=a.Da.getCurrentTime();var d=a.Da.getDuration(),e=new g.nm("//s.youtube.com/s");g.wm(e,"ns","yt");g.wm(e,"el","adunit");g.wm(e,"docid",c);g.wm(e,"eurl",window.document.URL);g.wm(e,"len",d.toFixed(2));g.wm(e,"tv","1");g.wm(e,"ps","trueview-instream");g.wm(e,"st",b.toFixed(2));g.wm(e,"et",b.toFixed(2));g.wm(e,"rt",b.toFixed(2));pn(e.toString());a.N=!0}}};
wha=function(a){var b=a.la().N;if(null!=b){b=b.videoId;var c=a.Ma.Xi;if(g.D(g.E(b)))b=null;else{c=new g.nm((null!=c?c:"//www.youtube.com/")+"watch");var d=c.g;d.set("v",b);sm(c,d);c.H="action=share";b=c.toString()}null!=b&&(on(b),a.lC())}};
xha=function(a){a=cy(a)||dy(a);null!=a&&qn(a,"sharebuttondisplayed")};
cy=function(a){a=a.la().getExtension("AdSense");return null!=a?new g.nm(a.A):null};
dy=function(a){if(a=a.la().g)if(a=Op(a,"start"),!g.Pa(a))return new g.nm(a[0].Qa());return null};
yha=function(a){var b=a.la(),c=b.N;null!=c&&(b=rq(c.videoId,null!=Us(b),a.Ma.Xi),null!==b&&(a.Da.pause(),on(b)))};
ey=function(a){Gx(a,function(){this.ga("skip");Ix(this)})};
Mx=function(a,b){return g.eg(zha(a,b).then(a.oT,null,a).then(a.RS,null,a).then(a.nT,null,a).then(a.dH,null,a),g.y)};
zha=function(a,b){return new g.Sf(function(a,d){Zga(b,function(b){b=new lx(b);this.tb()&&this.la().C==b.videoId?a(b):d()},function(){d()},this)},a)};
fy=function(a){return a.tb()&&null!=a.la().N&&a.la().N.isListed};
gy=function(a){var b=a.la().ca;if(fy(a)&&null!=b){var c=a.Ma.Xi;b=g.E(b.channelId);c=g.D(b)?null:(null!=c?c:"//www.youtube.com/")+"channel/"+(g.kb(b,"UC")&&24==b.length?b:"UC"+b);null!==c&&(a.Da.pause(),on(c))}};
Lx=function(a){a=a.la();if(!a||!a.C)return!1;var b=g.Ka(a.A,function(a){return 4==a.Vb()&&pv(a.Ke(),"show_in_cta")});
return P.g()&&Zs(a)&&null!=b};
Aha=function(a,b,c){var d=a.tb()?a.la().C:null;a=a.la();if(!a||!d)return b;a=g.Ka(a.A,function(a){return 4==a.Vb()&&pv(a.Ke(),"show_in_cta")});
if(!a)return b;d=a.g();var e=tr(a);a=g.pb(e&&sr(e)||"");e=g.pb(e&&Gr(e)||" ");var f=g.pb(d.md()||c.authorName);var k=g.pb(Hr(d)||"");c=g.pb(d.ug().getImageUrl()||c.channelIconThumbnailUrl);c='<card type="TYPE_WEBSITE"><action target="'+a+'" title="'+e+'" type="TYPE_EXTERNAL"/><placement hide_in_drawer="true" show_in_cta="true"/><website_card headline="'+f+'" description="'+k+'"><icon image_url="'+c+'"/></website_card></card>';d=/(<\s*Extension\s+type\s*=\s*"\s*InfoCards\s*"\s*>)/i;return g.D(b)?b+
'<Extension type="InfoCards">'+c+"</Extension>":b.replace(d,"$1"+c)};
hy=function(a){g.xf.call(this);this.sessionId=a||Cb();this.l=[]};
iy=function(a,b,c,d,e){g.We.call(this,a);this.Ud=b;this.Uf=c;this.Wx=d;this.l=e};
jy=function(a,b){hy.call(this,b);this.o=a;this.xf=null;this.A=new g.Dm(this);this.logger=null;this.A.R(vd(),"message",this.receive)};
ky=function(a){if(null==a||!g.u(a)||!g.kb(a,"ima://"))return null;a=a.substr(6);try{return JSON.parse(a)}catch(b){return null}};
Bha=function(a,b,c,d){var e={};e.name=b;e.type=c;null!=d&&(e.data=d);e.sid=a.sessionId;e.channel=a.o;return"ima://"+g.tg(e)};
ly=function(a,b){if(null==b)return!1;var c=b.channel;if(null==c||c!=a.o)return!1;c=b.sid;return null==c||"*"!=a.sessionId&&c!=a.sessionId?!1:!0};
my=function(a,b){g.We.call(this,"vpaidEvent");this.sessionId=b};
ny=function(a){tu.call(this,a);this.Y=this.M=this.Sc=!1;this.F=[];this.B=Cb();this.Za=this.g=null;this.l=!0;this.I=-1;this.H=new g.mg(500);this.V=this.D=-1;this.A=1;this.X=this.W="";this.N=this.K=this.C=!1};
py=function(a){var b=rs(a.la());P.g()&&(b=Cha(a,b),b=Dha(a,b));var c=g.E(us(a.la())),d=a.la();if(xu(d)){var e=d.g,f=Tp(e,"javascript");null!=f&&(e.B=f)}d=Ws(d);c={desiredBitrate:a.Ma.bitrate,creativeData:b,viewMode:a.Yc,clickThroughUrl:c,adUrl:d,volume:a.A};d.match("//s0.2mdn.net/instream/html5/survey/survey.html")&&0<=b.indexOf("yt_override")&&null!=a.Ma.surveyCreativeData&&(c.creativeData=a.Ma.surveyCreativeData);oy(a,"initAd",c);(0,g.C)(a.F,function(a){oy(this,a.type,a.params)},a);
a.Sc=!0;a.F=[]};
qy=function(a,b,c){c=c||null;a.Sc?oy(a,b,c):a.F.push({type:b,params:c})};
oy=function(a,b,c){c=c||{};c.session=a.B;c.type=b;ry()?window.parent.postMessage(g.tg(c),"*"):null!=a.o.contentWindow&&a.o.contentWindow.postMessage(g.tg(c),"*")};
Fha=function(a,b){var c={};b=xb(b);var d;b.length?d=b.split(/\s+/):d=[];(0,g.C)(d,function(a){c[a]=!0});
g.Ib(Eha,function(a,b){en().g(b)&&(c[a]=!0)},a);
return g.Ob(c).join(" ")};
Cha=function(a,b){var c=g.Mr(b),d=a.la().getExtension("why_this_ad");if(null!=d){var e=d.l;e&&3==e.length&&(0,g.C)(c.firstChild.childNodes,function(a){a.setAttribute("ad_settings_text_prefix",e[0]);a.setAttribute("ad_settings_text_link",e[1]);a.setAttribute("ad_settings_text_suffix",e[2])},a)}return Nr(c)};
Dha=function(a,b){for(var c=g.Mr(b),d=a.la(),e;null!=d;){e=d.getExtension("survey");if(null!=e)break;d=d.l}if(null!=e){var f=c.firstChild.firstChild;d=fq(e,"interstitial_viewed");(0,g.C)(d,function(a){var b=g.J("interstitial_viewed");b.textContent=a;f.appendChild(b)},a);
d=fq(e,"interstitial_timed_out");(0,g.C)(d,function(a){var b=g.J("interstitial_timed_out");b.textContent=a;f.appendChild(b)},a);
d=fq(e,"interstitial_start_clicked");(0,g.C)(d,function(a){var b=g.J("interstitial_start_clicked");b.textContent=a;f.appendChild(b)},a);
d=fq(e,"interstitial_dismissed");(0,g.C)(d,function(a){var b=g.J("interstitial_dismissed");b.textContent=a;f.appendChild(b)},a);
e=fq(e,"survey_question_displayed");(0,g.C)(e,function(a){var b=g.J("survey_question_displayed");b.textContent=a;f.appendChild(b)},a)}return Nr(c)};
sy=function(a,b,c,d){d=xn(b,c,d);var e=zq(d,a.la()),f=os(a.la());tn(f,e);b.message=d.Dd();An(a,b,c)};
vy=function(a,b){if(g.u(b.type))switch(b.type){case "friendlyReady":py(a);break;case "videoCall":switch(b.func){case "load":case "play":a.Fa.Nf();a.X!=b.src&&(a.X=b.src,a.g.load(b.src,b.mimetype));a.g.play();break;case "pause":a.g.pause()}break;case "returnDuration":a.D=b.duration;break;case "returnRemainingTime":a.I=b.remainingTime;break;case "AdClickThru":a.Aa("click");a.ga("click");break;case "AdDurationChange":a.D=b.duration;a.I=b.remainingTime;a.la().g.ka=a.D;a.ga("durationChange");break;case "AdError":sy(a,
Aw,Error(b.message));a.stop();break;case "AdExpandedChange":a.ga("expandedChanged");break;case "AdImpression":var c=a.la();g.Pa(qs(c))||a.Ad(c);yu(a,"impression");a.K=!0;ty(a,51);break;case "AdLinearChange":c=b.isLinear;!a.l&&c?(a.ga("contentPauseRequested"),qy(a,"becameLinear")):!c&&a.l&&(a.ga("contentResumeRequested"),qy(a,"becameNonlinear"),qy(a,"getAdRemainingTime"),qy(a,"getAdDuration"));a.l=c;var d=a.la();d.oa=!0;d.ra=c;a.ga("linearChanged");break;case "AdLoaded":g.og(a.V);a.M=!0;d=b.companions;
c=a.la();g.Pa(qs(c))&&(d=qw(d,c.g.g),g.Pa(d)||es(c,d));uy(a);yu(a,"loaded");break;case "AdPaused":a.C=!0;yu(a,"pause");break;case "AdPlaying":a.C=!1;yu(a,"resume");break;case "AdRemainingTimeChange":a.I=b.remainingTime;c=a.la().getDuration();d=c-a.Mc();Eu(a,d,c);break;case "AdSkipped":yu(a,"skip");a.stop();break;case "AdSkippableStateChange":yu(a,"skippableStateChanged");break;case "AdStarted":a.Aa("creativeview");ty(a,52);break;case "AdStopped":a.Aa("stop");a.stop();break;case "AdUserAcceptInvitation":a.l?
a.Aa("acceptinvitationlinear"):a.Aa("acceptinvitation");break;case "AdUserMinimize":a.Aa("collapse");break;case "AdUserClose":yu(a,"userClose");break;case "AdVideoComplete":a.K&&a.N||(c={},c.aic=a.K,c.avc=a.N,ty(a,56,c));yu(a,"complete");break;case "AdVideoFirstQuartile":yu(a,"firstquartile");break;case "AdVideoMidpoint":yu(a,"midpoint");break;case "AdVideoStart":a.Aa("start");a.ga("start");a.N=!0;break;case "AdVideoThirdQuartile":yu(a,"thirdquartile");break;case "AdVolumeChange":c=b.volume;c!=a.A&&
a.ga("volumeChange",{volume:c});0==c&&0!=a.A?(a.Aa("mute"),a.ga("mute")):0==a.A&&0!=c&&a.Aa("unmute");a.A=c;a.g.setVolume(c);break;case "AdInteraction":c={};c.id=b.id;a.ga("interaction",c);break;case "Ping":pn(b.url)}};
wy=function(a,b){ry()||oy(a,"wrapperCall",{messageType:b})};
uy=function(a){a.M&&a.Y&&(qy(a,"startAd"),a.H.start(),a.l||(qy(a,"becameNonlinear"),qy(a,"getAdRemainingTime")),qy(a,"getAdDuration"))};
ty=function(a,b,c){try{c=c||{};c.dn=a.W;c["if"]=ry();c.pid=ix.getInstance().g;var d=zs(a.la()).join();c.xy=d;ko(ho.getInstance(),b,c,!0)}catch(e){}};
ry=function(){return 2==P.D};
yy=function(){tu.call(this,[]);this.Za=null;this.ee=this.fe=-1;this.D=!1};
Ay=function(a,b,c,d){if(a.g){var e=a.g;Fm(a.Wa(),e,zy,a.dispatchEvent,a);Fm(a.Wa(),e,"companionBackfill",a.dispatchEvent,a);Fm(a.Wa(),e,"adError",a.CA,a);Fm(a.Wa(),e,"allAdsCompleted",g.y,a);Fm(a.Wa(),e,"contentPauseRequested",a.LA,a);Fm(a.Wa(),e,"contentResumeRequested",a.Dt,a);Fm(a.Wa(),e,"userClose",a.Di,a);Fm(a.Wa(),e,"autoClose",a.Ci,a);a.g.Ig(a.Md);a.g.Qc(b,c,d)}};
By=function(a){a.g&&(a.g.destroy(),a.g=null);a.Fa&&a.Fa.hide();g.Ue(a.ac);a.ac=null};
Dy=function(a,b,c){yy.call(this);this.o=c;this.l=null;this.B=this.C=this.A=!1;this.g&&By(this);this.g=b;Cy(this,b)};
Fy=function(a,b,c){var d=(0,g.z)(function(a){zn(this,Gha,c);try{var b=Ey([a[0]]);if(b)var d=b;else throw Error("Ads manager creation failure, failed to determine ad type.");Cy(this,d);a=d;try{this.g&&By(this),this.g=a,Ay(this,this.Fa,this.content,this.Ma),this.D&&this.g.wj(),this.g.zb(this.fe,this.ee,this.Yc),this.g.init(this.Yc),this.start()}catch(m){d=m;var e=a.Eb();Fs(e);Fy(this,Gs(e),Error(d.Dd()))}}catch(m){e=m,An(this,e.Dd(),e.Wk)}},a);
a=(0,g.z)(function(){this.ga("contentResumeRequested");An(this,Hha,c);this.destroy()},a);
null!=b?Oq(b,d,a):a(null)};
Cy=function(a,b){a.l&&a.l.dispose();a.l=new g.Dm(a);g.M(a,a.l);Fm(a.l,b,"start",a.QN,a)};
Gy=function(a){tu.call(this,[]);this.Za=null;this.l=a;this.o=0;this.g=this.l[this.o];this.A=this.C=this.B=null;this.ee=this.fe=-1;this.D=!1;Iha(this)};
Hy=function(a,b,c,d){if(a.g){a.B=new g.Dm(a);var e=a.g,f=a.B;Fm(f,e,zy,a.dispatchEvent,a);Fm(f,e,"start",a.YI,a);Fm(f,e,"companionBackfill",a.dispatchEvent,a);Fm(f,e,"adError",a.PN,a);Fm(f,e,"allAdsCompleted",g.y,a);Fm(f,e,"contentPauseRequested",a.xh,a);Fm(f,e,"contentResumeRequested",a.Zf,a);Fm(f,e,"userClose",a.Di,a);Fm(f,e,"autoClose",a.Ci,a);a.g.Qc(b,c,d)}};
Iha=function(a){var b=0,c=a.l.length;(0,g.C)(a.l,function(a){b+=a.df().getDuration()},a);
var d=1;(0,g.C)(a.l,function(a){a=a.df().B;a.ig=c;a.g=d;a.o=d;d++},a)};
Jy=function(a,b,c){a.o+1>=a.l.length?An(a,Wx,c.Wk):(zn(a,Wx,c.Wk),Iy(a,b))};
Iy=function(a,b){if(a.g===b)if(Ky(a),a.o++,a.o<a.l.length)try{a.g=a.l[a.o],a.g===a.A?(a.B=a.C,a.A=null,a.C=null,a.Fa.hide(),a.Fa.Wn()):(Hy(a,a.Fa,a.content,a.Ma),a.g.zb(a.fe,a.ee,a.Yc),a.g.init(a.Yc)),a.start()}catch(c){Jy(a,a.g,c)}else a.ga("contentResumeRequested"),a.destroy()};
Ky=function(a){a.B&&(a.B.dispose(),a.B=null);a.g&&(a.g.destroy(),a.g=null);a.Fa&&a.Fa.hide()};
Jha=function(a){return'<div class="'+Q("close-padding")+'"><a class="'+Q("close-button")+'" title="'+Q(a.close)+'" role="button" tabindex="0"></a></div>'};
Kha=function(){return'<div class="'+Q("recall-button")+'"></div>'};
Lha=function(a){return'<a target="_blank" href="'+Q(a.url)+'" class="'+Q("attribution-button")+'">'+Q(a.text)+"</a>"};
Ly=function(a,b){this.H=a;this.F=g.J("DIV",{"class":"controls"});this.g=g.J("DIV",{"class":"adDisplay"});this.V=b||g.y;this.Kf=new g.Dm(this)};
My=function(a){var b=g.J("DIV",{"class":"ima-container"});jt(b,"opacity 0.4s");a.Kf.R(b,"mouseover",a.GI);a.Kf.R(b,"mouseout",a.JT);b.appendChild(a.F);a.F.appendChild(a.g);return b};
Ny=function(a){var b=window.document.createEvent("Event");b.initEvent("creativeview",!0,!0);a.dispatchEvent(b)};
Oy=function(a){tu.call(this,a);this.o=null;this.K=g.J("DIV",{style:"display:none;position:absolute;top:0;left:0;bottom:0;right:0;z-index:2000"});this.B=!1;this.F=[]};
Py=function(a,b){var c=Pea(b);(0,g.C)(c,function(a){Ip(this.Rb.o,"click",a)},a)};
Qy=function(a,b){var c=zq(b,a.la()),d=os(a.la());tn(d,c)};
Ry=function(a,b,c,d,e,f,k){g.xf.call(this);this.l=this.H=0;this.D=a;this.Bc=b;this.fa=c;this.C=null;this.gb=d;this.N=f;this.X=P.A;this.K=this.B=this.F=this.g=null;this.ee=this.fe=-1;this.ba="normal";this.W=null;this.A=e;this.o=[];this.ca=this.M=this.da=this.V=!1;this.Y=k;this.Za=null;Mha(this)};
Sy=function(a,b,c,d){a.fe=b;a.ee=c;null!=d&&(a.ba=d);null!=a.g&&a.g.zb(b,c,d)};
Mha=function(a){(0,g.C)(a.D,function(a){Nha(a)})};
Ty=function(a){return a.H<a.D.length&&null!=a.D[a.H]};
Oha=function(a,b){var c;if(c=P.g()&&!g.Pa(b)&&0==a.Bc)c=b[0],c=null!=c&&null==Ws(c)&&Rs(c,"nonlinear");return c?(c=As(b[0]),"ADSENSE"==(0<c.length?c.pop():ns(b[0])).toUpperCase()):!1};
Zy=function(a){!Ty(a)||2<=a.o.length-a.l?a.da||(Vy(a),a.eg()&&Wy(a,a.l)&&Xy(a,a.l)&&Yy(a,a.l),a.da=!0,a.dispatchEvent("adBreakInitialized")):Uy(a)};
Uy=function(a){var b=a.D[a.H];Fm(a.I,a.gb,"adsLoaderSdkAdLoaded",a.AA,a);P.A="on_master_ad";Pha(a.gb,b.l,b)};
Vy=function(a){null==a.Bc||(0,g.Kj)(a.o,function(a){return!a.isBumper()})||(a.o=(0,g.Hd)(a.o,function(a){return!(a.isBumper()&&!a.o)}))};
Wy=function(a,b){if(b<a.o.length){var c=a.o[b];g.Pa(c.g)?c=!1:(c=c.g[0],c=null!=c?!Fo(gs(c),"rm"):!1)}else c=!1;return c};
fz=function(a){if(Wy(a,a.l)){var b=a.o[a.l];try{a.M?$y(a,a.g):a.eg()&&Xy(a,a.l)?(null===a.B&&Yy(a,a.l),az(a),a.g=a.B,a.F=a.K,a.B=null,a.K=null,a.A.Wn()):(az(a),a.F=new g.Dm(a),a.g=bz(a,b,a.F),$y(a,a.g));null!=a.C&&(a.C.dispose(),a.C=null);if(cz(a.g)){var c=a.Eb();if(null==c||!Ss(c)){var d=a.g.la().g;if(null!==d){var e=d.Ga;0>=e&&!a.N.Sv||(0>=e&&(e=15),a.C=new g.mg(1E3*e),Im(a.F,a.C,"tick",a.mQ,a))}}}if(cz(a.g))a.dispatchEvent("contentResumeRequested"),a.A.wd(),a.g.start(),null!=a.C&&a.C.start();else{var f=
a.g;if(null!=f&&f instanceof Fx)a.A.Nf(),a.g.start();else{var k=a.g;if(null!=k&&k instanceof ny){var l=a.g;a.A.wd();l.Wb()?ry()||a.A.Nf():a.dispatchEvent("contentResumeRequested");a.g.start()}else{var m=a.g;if(null!=m&&(m instanceof Dw||m instanceof xw))a.A.wd(),a.g.Wb()||a.dispatchEvent("contentResumeRequested"),a.g.start();else{var n;if(!(n=dz(a.g))){var q=a.g;n=null!=q&&q instanceof Dy}if(n)a.g.start();else throw Error("Unknown ads manager type.");}}}}a.eg()&&Wy(a,a.l+1)&&Xy(a,a.l+1)&&1==ez(a)&&
Yy(a,a.l+1)}catch(r){a.l++,fz(a)}Ty(a)&&Uy(a)}else a.dispatchEvent("contentResumeRequested"),gz(a)};
$y=function(a,b){if(null===b)throw Error("Ads manager must be constructed before initialization");b.init(a.ba);null!=a.W&&b.setVolume(a.W)};
bz=function(a,b,c){b=hz(a.gb.o,b.g);var d=new Qm(a.A,a.eg());b.Ig(a.Y);Fm(c,b,zy,a.BA,a);Fm(c,b,"companionBackfill",a.BA,a);Fm(c,b,"adError",a.NN,a);Fm(c,b,"allAdsCompleted",g.y,a);Fm(c,b,"contentPauseRequested",a.xh,a);Fm(c,b,"contentResumeRequested",a.Zf,a);Fm(c,b,"userClose",a.Di,a);Fm(c,b,"autoClose",a.Ci,a);b.Qc(d,{currentTime:0},a.N);b.zb(a.fe,a.ee,a.ba);return b};
az=function(a){a.A.hide();null!=a.C&&(a.C.dispose(),a.C=null);null!=a.F&&(a.F.dispose(),a.F=null);null!=a.g&&(a.g.destroy(),a.g=null)};
iz=function(a){null!=a.K&&(a.K.dispose(),a.K=null);null!=a.B&&(a.B.destroy(),a.B=null)};
dz=function(a){return null!=a&&a instanceof Gy};
cz=function(a){return null!=a&&a instanceof Oy};
gz=function(a){a.V=!1;a.dispatchEvent("allAdsCompleted")};
ez=function(a){return null===a.g||g.Pa(a.g.ads)?0:a.g.ads.length};
Qha=function(a,b,c){if("loaded"==b||"start"==b||"adMetadata"==b||"companionBackfill"==b||"firstquartile"==b){var d=0,e=0;(0,g.C)(a.o,function(a,b){var f=a.g;-1!=(0,g.Na)(f,c)&&a.isBumper();d+=f.length;b<this.l&&(e+=f.length)},a);
b=c.B;var f=e+b.o;b.ig=d+(a.D.length-a.H);b.g=f;b.A=a.fa;b.l=a.Bc}};
Yy=function(a,b){var c=a.o[b];a.K=new g.Dm(a);a.B=bz(a,c,a.K);$y(a,a.B)};
Xy=function(a,b){if(0<=b&&b<a.o.length){var c=a.o[b].g[0];return null!=Ws(c)||null!=Xs(c)?!1:!0}return!1};
jz=function(a){this.g=a};
Rha=function(a){this.l=a};
kz=function(a){this.l=a;this.g=this.isBumper=!1;this.o=null;this.jn=!1};
Nha=function(a){if(null!=a.l.g&&(a=g.zg(a.l.g)[6]||null)){var b=null;Dg(a,function(a,d){if(null==b)switch(a){case "max_ad_duration":case "pmxd":b=d/1E3}})}};
lz=function(){this.g=new g.hm};
mz=function(a,b,c){if((0,window.isNaN)(c)||!g.ua(c))throw Error("Incorrect time offset.");var d=[];jm(a.g,c)&&(d=a.g.get(c,[]));(0,g.C)(b,function(a){null!=a&&g.Ra(d,a)});
a.g.set(c,d)};
nz=function(a,b){this.g=a;this.l=b};
Tha=function(a){var b=new lz;(0,g.C)(g.Id(g.Kd(a.g)),function(a){switch(a.nodeName){case "Preroll":a=oz(this,a);mz(b,a,0);break;case "Midroll":var c=Sr(a,"timeOffset"),e=Wr(c);if(-1==e)throw wn(pz,null,"timeOffset",g.E(c));a=oz(this,a);mz(b,a,e);break;case "Postroll":a=oz(this,a);mz(b,a,-1);break;default:throw wn(qz,null,a.parentNode.nodeName,a.nodeName);}},a);
if(0==b.g.Ab().length)throw wn(Sha);return b};
oz=function(a,b){var c=[];(0,g.C)(g.Id(b),function(a){switch(a.nodeName){case "Ad":var b=g.E(Tr(a));if(!g.D(b)){a=Sr(a,"bumper");var d=this.l.clone();d.g=b;b=new kz(d);b.isBumper=null!=a;b.g="always"==a;g.Ra(c,b)}break;default:throw wn(qz,null,a.parentNode.nodeName,a.nodeName);}},a);
return c};
rz=function(a){g.We.call(this,a);this.g=this.l=null};
sz=function(){g.xf.call(this);this.currentTime=0};
uz=function(a,b,c){g.xf.call(this);c=c||new tz;this.l=a;this.C=c.D;this.H=c.C;this.M=c.B;this.I=c.g;this.K=c.o;this.D=c.l;this.F=c.A;this.B=!1;this.A=null;this.o=!1;this.g=Uha(b)};
tz=function(){this.C=0;this.o=this.g=this.D=this.B=!1;this.A=this.l=5};
vz=function(a){this.g=a.Bc;this.B=g.Da(a);this.o=this.l=!1;this.BJ=5==a.hf();this.A=this.ne=!1};
wz=function(a,b){return cb(a.g,b.g)};
xz=function(a){a.l.start();a.o=!0};
Vha=function(a){if(a.o){var b=g.Ka(a.g,function(a){return-1==a.g},a);
null!=b&&yz(a,!0,b)}};
Uha=function(a){var b=[];(0,g.C)(a,g.Ea(function(a,b){a(new vz(b))},g.Ea(function(a,b){g.ib(a,b,wz)},b)));
return b};
Wha=function(a,b){for(var c=[],d=0;d<a.g.length;d++){var e=a.g[d];-1!=e.g&&e.g<=b&&g.Ra(c,e)}return c};
zz=function(a,b){return Ma(a,g.Ea(function(a,b){return b.BJ==a},b))};
Xha=function(a){var b=[],c=zz(a,!1);c&&b.push(c);(a=zz(a,!0))&&g.ib(b,a,wz);return b};
Yha=function(a,b){for(var c=0;c<a.g.length;c++){var d=a.g[c];if(Az(a,d,a.H,b,!0,a.M)&&!a.g[c].l)return d}return null};
Az=function(a,b,c,d,e,f){return-1==b.g?f&&0<a.l.duration&&d>=a.l.duration-c:e&&d>=b.g-c&&d<b.g};
Bz=function(a,b){var c=new rz("contentTrackingError");c.setDescription(b);a.dispatchEvent(c)};
yz=function(a,b,c){null!=c&&(c.l||(Cz(a,"requestAds",c),c.l=!0),b&&!c.o&&(Cz(a,"playAds",c),c.o=!0))};
Zha=function(a,b){var c;a:{for(c=0;c<a.g.length;c++){var d=a.g[c];if(Az(a,d,-1==d.g?a.F:a.D,b,a.I,a.K)&&d.ne&&!d.A){c=d;break a}}c=null}null==c?a.B&&(a.dispatchEvent(new rz("discardAdNotify")),a.B=!1):a.B||c.o||(Cz(a,"adNotify",c),a.B=!0)};
Cz=function(a,b,c){b=new rz(b);b.l=c.g;b.g=c.B;a.dispatchEvent(b)};
Dz=function(a){sz.call(this);this.currentTime=a.currentTime;if(!("currentTime"in a)||(0,window.isNaN)(a.currentTime))throw xn(vo,null,"content","currentTime");this.duration="duration"in a&&!(0,window.isNaN)(a.duration)?a.duration:-1;this.g=a;this.wa=new g.mg(250);this.l=new g.Dm(this);Fm(this.l,this.wa,"tick",this.o,this)};
$ha=function(){};
Ez=function(a,b,c){if(g.Pa(a))return null;a=(0,g.Hd)(a,function(a){var b=a.o;return"application/x-mpegurl"==g.E(a.g).toLowerCase()||"application/dash+xml"==g.E(a.g).toLowerCase()||"progressive"==b});
g.Pa(c)||(c=(0,g.H)(c,function(a){return a.toLowerCase()}),a=(0,g.Hd)(a,function(a){return g.Oa(c,g.E(a.g).toLowerCase())}));
if(!g.ua(b)||0>=b)b=Hj()?500:1E3;return aia(a,b)};
aia=function(a,b){return bia(a,b)||cia(a,b)||dia(a,b)};
bia=function(a,b){var c=null;(0,g.C)(a,function(a){var d=a.si,f=a.Tf;d>b||f<b||!(null==c||c.si>d)||(c=a)});
return c};
cia=function(a,b){var c=null;(0,g.C)(a,function(a){var d=a.si,f=a.Tf;f>b||(null==c||c.Tf<f?c=a:null!=c&&c.Tf==f&&c.si>d&&(c=a))});
return c};
dia=function(a,b){var c=null;(0,g.C)(a,function(a){var d=a.si,f=a.Tf;if(!(d<b))if(null!=c&&c.si==d&&c.Tf<f)c=a;else if(null==c||c.si>d)c=a});
return c};
Fz=function(){this.l=0;this.g=[]};
Gz=function(a,b){if(b>=a.g.length)throw Error("Out of bounds exception");return 4>a.g.length?b:(a.l+Number(b))%4};
Hz=function(a){g.xf.call(this);this.g=a;this.V=new Fz;this.o=0;this.N=this.A=this.Sc=this.D=!1;this.K=this.lh();this.I=this.tj();this.W=15E3;this.M=!1};
Jz=function(a){a.Sc=!1;a.A=!1;a.D=!1;a.o=0;a.N=!1;a.V.clear();Iz(a);g.Ue(a.B)};
Kz=function(a,b){a.A||(a.A=!0,Iz(a),a.dispatchEvent("start"),g.Aa(a.g.getAttribute)&&a.g.getAttribute("playsinline"),Tn()||!g.Mn||On(3)||Hn()&&!Ln(4)||a.Ar(b))};
Lz=function(a){for(var b=a.g.buffered.length-1;0<=b;){if(a.g.buffered.start(b)<=a.g.currentTime)return a.g.buffered.end(b);b--}return 0};
Iz=function(a){a.H&&(g.og(a.H),a.H=null)};
Nz=function(){g.xf.call(this);this.buffered=new Mz;this.g=new g.Dm(this);var a=Tm();if(a){a:{if(Qb(a.g,"videoElementMockDuration")&&(a=a.g.videoElementMockDuration,g.ua(a)))break a;a=window.NaN}this.duration=a}};
eia=function(){var a=["video/mp4"],b=["video/ogg"],c=new Nz;c.canPlayType=function(c){return g.Oa(a,c)?"probably":g.Oa(b,c)?"maybe":""};
c.width=0;c.height=0;c.offsetWidth=0;c.offsetHeight=0;return c};
fia=function(a){this.startTime=0;this.endTime=a};
Mz=function(){this.length=0;this.g=[]};
Oz=function(a,b,c,d){if(null==a||!g.Md(g.gd(a),a))throw xn(vo,null,"containerElement","element");this.B=a;this.l=this.g=null;this.A=b;this.D=!d;this.C=c||!1;this.o=null;this.g=g.J("DIV",{style:"display:none;"});this.B.appendChild(this.g);this.D&&(a=Tm(),Um(a,"useVideoElementMock")?(a=eia(),b=g.J("DIV",{style:"position:absolute;width:100%;height:100%;top:0px;left:0px;"}),g.Fa(b,a),a.pk=g.J("DIV",{style:"position:absolute;width:100%;height:100%;top:0px;left:0px;background-color:#000"}),a.ao=g.J("P",
{style:"position:absolute;top:25%;margin-left:10px;font-size:24px;color:#fff;"}),a.pk.appendChild(a.ao),b.appendChild(a.pk),a.g.R(a,["loadeddata","playing","pause","ended"],a.VR),a=b):a=g.J("VIDEO",{style:"background-color:#000;position:absolute;width:100%;height:100%;",title:""+Ga("Advertisement")}),a.setAttribute("webkit-playsinline",!0),a.setAttribute("playsinline",!0),this.l=a,this.g.appendChild(this.l));this.A&&(a="display:none;position:absolute;width:100%;height:100%;",P.B||(a+="background-color:#000;"),
a=g.J("DIV",{id:this.A,style:a}),this.g.appendChild(a));this.C&&(this.o=g.J("DIV",{style:"position:absolute;width:100%;height:100%;"}),this.g.appendChild(this.o))};
Pz=function(a,b,c,d){g.K.call(this);this.A=b||null;this.D="*";this.l=c||null;this.sessionId=null;this.channel=d||null;this.I=!!a;this.B=(0,g.z)(this.F,this);window.addEventListener("message",this.B)};
Qz=function(a,b){"null"!=b.origin&&(a.l=a.D=b.origin);a.A=b.source};
Rz=function(a){Pz.call(this,!0);this.sessionId=a;this.channel="remoteplayer";this.l="*";this.g={};this.o=[];this.C=!1};
Sz=function(a){a.C=!0;(0,g.C)(a.o,function(a){this.sendMessage(a)},a);
a.o.length=0};
gia=function(){};
Tz=function(a,b){this.g=a;this.B=new Dx;this.D=(0,g.z)(this.F,this);this.I=Math.floor(2147483646*Math.random())+1;this.l=b||new Rz(this.I);g.M(this,this.l);this.o=new g.Dm(this);g.M(this,this.o);var c=(0,g.z)(a.play,a);this.l.g.play=c;c=(0,g.z)(a.load,a);this.l.g.load=c;c=(0,g.z)(a.pause,a);this.l.g.pause=c;c=(0,g.z)(this.C,this);this.l.g.listen=c;c=(0,g.z)(this.H,this);this.l.g.unlisten=c;c=(0,g.z)(this.A,this,"src");this.l.g.setSource=c;c=(0,g.z)(this.A,this,"muted");this.l.g.setMuted=c;c=(0,g.z)(this.A,
this,"volume");this.l.g.setVolume=c};
Wz=function(a){g.xf.call(this);this.N="ima-chromeless-video";var b=null;null!=a&&(g.u(a)?this.N=a:b=a);this.V=new g.Dm(this);this.C=null;this.A=!1;this.ka=new g.cd(0,0);this.fa=this.tj();this.I=-1;this.ba=!1;this.D=-1;this.l=this.Y=this.K=null;this.X="";this.o=!1;this.da=null!=b;this.oa=this.M=this.ca=this.g=null;this.B=void 0;this.H=this.na=null;this.F=this.ra=0;this.da?(this.o=!0,this.g=b,this.B=2):(a=(0,g.z)(this.eH,this),Uz?a():(Vz.push(a),a=g.zd("script"),a.src="https://www.youtube.com/iframe_api",
b=window.document.getElementsByTagName("script")[0],b.parentNode.insertBefore(a,b)))};
Yz=function(a,b,c){null!==b&&(a.X=b,a.o?Xz(a,b,c):(a.K=b,a.Y=c))};
Xz=function(a,b,c){var d={autoplay:"1"};P.B&&(d.dash=0);null!=a.l&&(null!=a.l.Ti&&(d.agcid=a.l.Ti),null!=a.l.adFormat&&(d.adformat=a.l.adFormat),null!=a.l.g&&(d.ad_query_id=a.l.g),a.l.l&&(d.cta_conversion_urls=a.l.l),a.l.o&&(d.endscreen_ad_tracking_data=a.l.o),a.l.kk&&(d.wait_for_vast_info_cards_xml=1),a.l.Zj&&(d.suppress_creator_endscreen=1),a.l.isPharma&&(d.is_pharma=1),d.iv_load_policy=a.l.D?1:3,a.l.B&&(d.noiba=1),a.l.H&&(d.utpsa=1),a.l.F&&(d.autoplay="1"),a.l.C&&g.bc(d,a.l.C));var e=qq(b);null===
e?(c=null===c?"":c,b="url="+(0,window.encodeURIComponent)(b)+"&type="+(0,window.encodeURIComponent)(c),d.url_encoded_third_party_media=b):d.videoId=e;!P.g()&&(d.enabled_engage_types="3,4,5,6");a.A=!1;a.l&&a.l.A?(a.na=d,a.g.preloadVideoByPlayerVars(a.na)):a.g.cueVideoByPlayerVars(d);a.dispatchEvent("loaded")};
Zz=function(a){a.V.Ca(a.C,"tick",a.OA);null!=a.C&&(a.C.stop(),a.C=null)};
$z=function(a){null!=a.Ea&&g.og(a.Ea)};
aA=function(a,b){g.xf.call(this);this.A=a;this.o=b;this.g={};this.l=new g.Dm(this);this.l.R(vd(),"message",this.B);this.Za=null};
cA=function(a,b,c,d){a.g.hasOwnProperty(b)||(c=new jy(b,c),a.l.R(c,a.A,function(a){a=new bA(a.type,a.Ud,a.Uf,a.Wx,a.getOrigin(),b);this.dispatchEvent(a)}),c.xf=d,c.connect(),a.g[b]=c)};
bA=function(a,b,c,d,e,f){iy.call(this,a,b,c,d,e);this.g=f};
eA=function(){var a=g.x("google.ima.gptProxyInstance",vd());if(null!=a)return a;g.Dm.call(this);this.o=new aA("gpt",!0);g.M(this,this.o);this.R(this.o,"gpt",this.C);this.Za=this.g=null;dA()||vd().top===vd()||(this.g=new aA("gpt",!1),g.M(this,this.g),this.R(this.g,"gpt",this.B))};
dA=function(){return!!g.x("googletag.cmd",vd())};
fA=function(){var a=g.x("googletag.console",vd());return null!=a?a:null};
hia=function(a,b){var c=Array.prototype.slice.call(arguments),d=c.shift();if("undefined"==typeof d)throw Error("[goog.string.format] Template required");return d.replace(/%([0\- \+]*)(\d+)?(\.(\d+))?([%sfdiu])/g,function(a,b,d,l,m,n,q,r){if("%"==n)return"%";var e=c.shift();if("undefined"==typeof e)throw Error("[goog.string.format] Not enough arguments");arguments[0]=e;return gA[n].apply(null,arguments)})};
jA=function(a,b){g.xf.call(this);this.l=new g.Dm(this);this.H=!1;this.I=Cb();this.F=new g.hm;var c=this.I;var d=(yba()?"https:":"http:")+hia("//imasdk.googleapis.com/js/core/bridge0.0.0_%s.html","en");a:{var e=window;try{do{try{if(0==e.location.href.indexOf(d)||0==e.document.referrer.indexOf(d)){var f=!0;break a}}catch(k){}e=e.parent}while(e!=e.top)}catch(k){}f=!1}f&&(d+="?f="+c);c=g.J("IFRAME",{src:d+"#"+c,allowFullscreen:!0,style:"border:0; opacity:0; margin:0; padding:0; position:relative;"});
this.l.rh(c,"load",this.zH);a.appendChild(c);this.o=c;c=this.F.get("*");null==c&&(c=new jy(this.I,"*"),this.H&&(c.xf=Nd(this.o),c.connect()),this.F.set("*",c));this.D=c;this.C=b;this.g=this.C.l;this.Za=this.A=this.B=null;this.l.R(this.D,"mouse",this.XH);this.l.R(this.D,"touch",this.qI);null!=this.g&&(this.l.R(this.D,"displayContainer",this.SH),this.l.R(this.D,"videoDisplay",this.nI),this.l.R(this.D,"preloadVideoDisplay",this.eI),this.l.R(this.g,g.Nb(hA),this.cg),this.l.R(this.g,iA,this.cg));c=vd();
d=g.x("google.ima.gptProxyInstance",c);null==d&&(d=new eA,g.va("google.ima.gptProxyInstance",d,c))};
kA=function(a,b){var c=g.uh(a.o),d=!!("TouchEvent"in window&&0<window.TouchEvent.length),e=(0,g.H)(b,function(a){return d?new window.Touch({identifier:a.identifier,target:this.o,clientX:a.clientX,clientY:a.clientY,screenX:a.screenX,screenY:a.screenY,pageX:a.pageX+c.x,pageY:a.pageY+c.y}):window.document.createTouch(window,this.o,a.identifier,a.pageX+c.x,a.pageY+c.y,a.screenX,a.screenY)},a);
return window.document.createTouchList.apply(window.document,e)};
lA=function(a){a=a.playbackOptions;var b=new wx;b.adFormat=a.adFormat;b.Ti=a.adSenseAgcid;b.I=a.contentVideoDocId;b.l=a.ctaAnnotationTrackingEvents;a.showAnnotations&&(b.D=!0);a.viewCountsDisabled&&(b.H=!0);b.timeout=a.loadVideoTimeout;a.ibaDisabled&&(b.B=!0);a.enablePreloading&&(b.A=!0);b.g=a.adQemId;a.isPharma&&(b.isPharma=!0);a.useAutoplayFlag&&(b.F=!0);b.o=a.endscreenAdTracking;a.waitForVastInfoCardsXml&&(b.kk=!0);a.suppressCreatorEndscreen&&(b.Zj=!0);return b};
mA=function(a,b,c){this.F=a;var d=null!=c;gn(dn(),136961005)&&(P.K=!0);var e=d,f=!1;P.K?P.l||(Un()&&d||(e=!1),!e&&P.K&&!P.g()&&En()&&(P.B=!0),!P.B&&En()||Zk()||(f=!0)):P.l||Un()&&d||(!P.B&&En()||Zk()||(f=!0),e=!1);this.H=e;this.K=f||e&&null!=c;P.l?a=null:(d=g.J("DIV",{style:"position:absolute"}),a.insertBefore(d,a.firstChild),a=d);this.o=a;this.g=this.H||!this.o||P.l||!En()?null:new Oz(this.o,null,!0);d=a=null;this.H?c&&(a=new Wz(c)):this.g&&(a=new Hz(this.g.l),d=this.g.l);e=null;d&&P.B&&f&&(e=new Tz(d));
this.I=e;this.l=a;this.B=this.A=null;f=g.Mn&&!On(4);a=Hn()&&En();this.g&&this.l&&this.o&&!this.H&&!Zk()&&!f&&!a&&this.o&&(this.A=new Oz(this.o,null,!0),this.B=new Hz(this.A.l));this.C=this.l?b||null:null;this.M=null!=this.C;ko(ho.getInstance(),8,{enabled:this.H,yt:null!=c,customClick:null!=this.C});null===this.o&&(b=this.F,P.F=b);this.D=null==this.o||P.l?null:new jA(this.o,this)};
nA=function(a){return a.M&&a.C?a.C:null!=a.g?a.g.o:null};
oA=function(a){this.g=a};
pA=function(a,b){g.We.call(this,"adsManagerLoaded");this.g=a;this.l=b};
qA=function(a,b,c,d){a.g.Qc(new oA(b),c,d);return a.g};
rA=function(){};
sA=function(){g.xf.call(this);this.ne=!1;this.impressionUrls=[]};
tA=function(a,b,c){g.We.call(this,a);this.l=b||null;this.g=c||null};
vA=function(a,b){g.xf.call(this);this.g=a;this.C=!!b;this.A=uA(this);this.A||(this.l=g.jf(this.g,g.sd&&!g.nc("7")?"readystatechange":"load",this.B,!1,this),this.o=window.setInterval((0,g.z)(this.B,this),100))};
wA=function(a){a.o&&(window.clearInterval(a.o),a.o=null)};
uA=function(a){var b=!1;try{if(a.C||!g.sd||g.nc("11")){var c=a.g,d=(c.contentDocument||c.contentWindow.document).body;b=a.C?!!d&&!!d.firstChild:!!d}else b="complete"==a.g.readyState}catch(e){}return b};
xA=function(){sA.call(this);this.D=[];this.B=!1;this.o="not_loaded";this.l=null;this.A=0;this.g=this.Za=null;this.F=new fd};
yA=function(a){var b=["googletag","googletag.cmd"];return g.Ka(a,function(a){return(0,g.Wl)(b,function(b){return null!==g.x(b,a)})})||null};
zA=function(a){return a.ne?(0,g.H)(a.D,function(a){return a.clone()}):[]};
iia=function(a){a=zA(a);if(null!=a)return(0,g.H)(a,function(a){return a.F})};
AA=function(a,b,c){var d=0,e=0;null!=b&&(b=new g.nm(b.g),d=Number(b.g.get("pod")||0),e=Number(b.g.get("ppos")||0));if(null!=a.setVideoSession)try{a.setVideoSession(io.g,d,e,c)}catch(f){}};
jia=function(a,b){var c=BA(a);if(null!==c){AA(c,b,!0);try{c.refreshAllSlots()}catch(d){}}};
DA=function(a,b,c){a=CA(a);if(null!=a)try{a.setVideoContent(b,c)}catch(d){}};
EA=function(a,b){a.C=b;DA(a,"","");var c=BA(a);null===c||AA(c,null,!1)};
BA=function(a){null==a.g&&FA(a);return null!=a.g&&null!=a.g.googletag&&null!=a.g.googletag.companionAds?a.g.googletag.companionAds():null};
CA=function(a){null==a.g&&FA(a);return null!=a.g&&null!=a.g.googletag&&null!=a.g.googletag.pubads?a.g.googletag.pubads():null};
GA=function(a){a.l&&(a.l.stop(),a.l.Ca("tick",a.eB,!1,a),a.l.dispose(),a.l=null)};
KA=function(a){if("retrieved"!=a.o&&"not_available"!=a.o&&null!==BA(a)){var b=BA(a);if(null!==b&&g.Aa(b.getDisplayAdsCorrelator))try{var c=g.E(b.getDisplayAdsCorrelator())}catch(f){c=null}else c=null;switch(c){case "not_loaded":case "not_available":a.o=c;break;default:c=Number(c),(0,window.isNaN)(c)?a.o="not_available":(a.C=c,a.o="retrieved")}}(c=HA(a))||(c=IA(a)&&"not_available"==a.o);if(c){if(!a.H&&IA(a)){try{if(null==a.g)var d=[];else{var e=a.g.googleGetCompanionAdSlots();d=(0,g.H)(e,a.hT,a)}}catch(f){d=
[]}a.D=d;a.H=!0}a.ne=!0;GA(a);HA(a)?a.dispatchEvent(new tA("companions_success")):JA(a)}else a.l||(a.A=(0,g.G)()+15E3,a.l=new g.mg(100),a.l.R("tick",a.eB,!1,a),a.l.start())};
HA=function(a){return IA(a)&&"retrieved"==a.o};
IA=function(a){a.B||(FA(a),a.B=null!=a.g&&null!=a.g.googleGetCompanionAdSlots);return a.B};
FA=function(a){var b=g.Xd(a.F);try{a.g=yA([b,b.top])}catch(c){a.g=null}};
JA=function(a){a.dispatchEvent(new tA("companion_initialization_failed",Error("Partial or full service initialization failure.")))};
kia=function(a,b,c){var d=new vA(b,!0);d.Ub()?LA(a,c,b):hf(d,"ifload",g.Ea(function(a){LA(this,c,a)},b),!1,a)};
LA=function(a,b,c){a.dispatchEvent(new tA("companion_slot_init",null,b));var d=c;"IFRAME"==c.tagName&&(d=(c.contentDocument||c.contentWindow.document).body);null!=d&&g.jf(d,"click",(0,g.z)(a.HO,a,b),!1,a)};
MA=function(){g.xf.call(this);this.o=[]};
NA=function(){return new fs("empty-ad","GDFP","GDFP","",0,[],[],[],[],new g.hm)};
OA=function(a){MA.call(this);this.g=a;this.F=this.Za=null;this.D=!1;this.A=null;this.B=new g.Dm;Fm(this.B,this.g,["companions_success","companion_initialization_failed"],this.oR,this);Fm(this.B,this.g,"companion_display_error",this.JO,this);Fm(this.B,this.g,["companion_slot_init","companion_click"],this.FO,this);this.g.ne?this.D=!0:this.g.initialize()};
QA=function(a){var b=a.A;a.A=null;if(null!=a.g)if(g.Pa(a.o))PA(a,Error("Companion slots not available."));else if(null!=b){var c=lia(a,b);a.g.Ad(a.o);if(0<c.length&&b.Ea){a=a.g;var d;if(d=0!=c.length)d=Cs(b),d="GDFP"==(xs(d[0])&&1<d.length?d[1]:d[0]);if(d){d=[];for(var e=0;e<c.length;e++)d.push(c[e].H);b=b.o;c=BA(a);if(null!==c){AA(c,b,!1);try{c.notifyUnfilledSlots(d)}catch(f){}}}}}else PA(a,Error("Invalid master ad."))};
PA=function(a,b){a.dispatchEvent(new Oo("companion_display_error",b))};
lia=function(a,b){var c=[],d=[];(0,g.C)(a.o,function(a){Ro(a);(0,g.Kj)(a.F,function(d){a:{d=Hs(b,d.width,d.height);if(!g.Pa(d)&&(d=mia(d,c),null!=d)){var e=d.o;if(null!=e&&0!=a.H.indexOf(e)){d=!1;break a}e=d.g.K;Xa(e,ts(b,"companionClick"));var f=ts(b,"companionImpression"),k=P.g()&&"Html"==d.g.M&&d.A;c.push(d);if(k)Qo(a,d.Dc(),d.Fb(),d.getHeight(),f);else{k=d.kd();var q=d.Fb(),r=d.getHeight();d="IFrame"!=d.g.M;a.D=k;a.g=null;a.A=q;a.l=r;a.o=d;a.C=f||[];a.B=e||[]}d=!0;break a}d=!1}return d},this)||
d.push(a)},a);
var e=RA(b);a.C=SA(e,c);a.C||(0,g.C)(a.o,function(a){Ro(a)},a);
return d};
SA=function(a,b){if(null==a)return!0;var c=a.g;return"all"==a.l?nia(c,b):"any"==a.l?oia(c,b):!0};
RA=function(a){return null==a||null==a.g||(0,window.isNaN)(a.g.g)?null:g.Ka(Qs(a,!0),function(a){a=a.g;return g.Pa(a)?!1:(0,window.isNaN)(a[0].g.g)?!1:a[0].g.g==yo(a[0])})};
nia=function(a,b){return(0,g.Wl)(a,function(a){return g.Oa(b,a)})};
oia=function(a,b){return(0,g.Kj)(a,function(a){return g.Oa(b,a)})};
mia=function(a,b){return g.Ka(a,function(a){return!g.Oa(b,a)})};
TA=function(a,b){this.A=a;this.l=b;this.g=this.Za=null};
pia=function(a){var b=[],c=Rr(a,"vmap:Extensions")[0];if(c){var d;Ur(c,"vmap:Extension",function(a){"vmap:YTBreakTime"==c.getAttribute("type")&&(d=a)});
if(d&&(b=Rr(d,"yt:BreakTime"),!g.Pa(b)))return(0,g.H)(b,function(a){return Sr(a,"timeOffset")})}return[Sr(a,"timeOffset")]};
qia=function(a,b){return(0,g.H)(b,function(a){var b=new kz(a.l.clone());b.isBumper=a.isBumper;b.g=a.g;return b},a)};
ria=function(a){return(a=g.Ka(g.Id(a),function(a){return"vmap:VASTData"==a.nodeName||"vmap:VASTAdData"==a.nodeName}))?g.Ka(g.Id(a),function(a){return"VAST"==a.nodeName}):null};
sia=function(a){var b=null,c=!1;a=g.Ka(a,g.Ea(UA,"type","youtube"));null!=a&&(a=(0,g.Hd)(a.getElementsByTagName("*"),function(a){return"yt:BreakProperty"==a.tagName}),g.Pa(a)||(a=a[0],a.hasAttribute("break_type")&&(b=Vda(a.getAttribute("break_type"))),en().g("disable_freqcap_for_hummingbird")&&a.hasAttribute("disable_frequency_capping")&&(c=a.getAttribute("disable_frequency_capping"),c=Xr(c))));
return{breakType:b,jn:c}};
UA=function(a,b,c){return Sr(c,a)==b};
uia=function(a,b){if(null!=a){if(null!=a){var c=g.Kd(a);c=null!=c&&"Playlist"==c.nodeName}else c=!1;if(c)return jx(),new nz(a,b);null!=a?(c=g.Kd(a),c=null!=c&&"vmap:VMAP"==c.nodeName):c=!1;if(c)return jx(),new TA(a,b);if(ow(a)){if(!ow(a))throw wn(qz);c=g.Kd(a);var d=rw(c);if(1>d||4<d)throw wn(tia);c=Rr(c,"Ad");if(g.Pa(c))throw wn(VA);c=tw(c[0]);if(null==c)throw wn(WA);if(1!=Rr(c,"AdSystem").length)throw wn(WA);return new nw(a)}}return null};
via=function(a){a=(0,g.Hd)(a,function(a){return 0<Es(a)});
g.fb(a,function(a,c){return Es(a)-Es(c)});
return a};
wia=function(a){return(0,g.Hd)(a,function(a){return-1==Es(a)})};
Qq=function(a){this.Bf=a};
xia=function(){this.Za=null;this.g=0};
yia=function(a,b,c,d,e,f,k){var l=(0,g.z)(function(a){d(a,Error(Kw(a)))},a),m=(0,g.z)(function(a){6==a?XA(this,b,!1,c,l,e,f,k):l(a)},a);
XA(a,b,!0,c,m,e,f,k)};
XA=function(a,b,c,d,e,f,k,l){var m=new g.Rw;m.F=c;Sw(m,zia(f));var n=new g.Dm,q=(0,g.z)(function(){n.dispose();m.dispose()},a);
c=(0,g.z)(function(){e(m.l);q()},a);
Im(n,m,"success",function(){try{var a=m.g?m.g.responseXML:null}catch(F){a=null}if(null==a){var b=g.ax(m);try{a=g.Mr(b)}catch(F){a=Lr("parsererror")}}d(a);q()},a);
Im(n,m,["error","timeout"],c,a);if("POST"==k){b=new g.nm(b);var r=b.g.toString();sm(b,"");b=b.toString()}P.g()&&"POST"!=k&&(r=Aia(b,k),b=r.url,k=r.eT,r=r.content);a.g=(0,g.G)();m.send(mn(b),k,r,l)};
Aia=function(a,b){var c=new rA;c.g=a;if(gr(c)){c=new g.nm(a);var d=c.g.get("post_data");if(g.t(d)){b="POST";c.g.remove("post_data");a=c.toString();var e=d}}return{url:a,eT:b,content:e}};
YA=function(a,b){this.l=a;this.o=b};
ZA=function(a,b){"auto"!=a.l.Si&&"click"!=a.l.Si||b.set("vpa",a.l.Si)};
$A=function(a){g.D(P.getPlayerType())||(a.set("mpt",P.getPlayerType()),g.D("")||a.set("mpv",""))};
aB=function(a,b){var c=a.o.C,d=a.o.l;null!=c&&b.set("js","ima-"+c);null!=d&&b.set("an",d);c=a.l.I;null!=c&&b.set("mv",c+"."+(a.l.H||""))};
bB=function(a,b){var c=2,d=O&&O.g?!1:0===ti();!Zk()&&d&&(c|=2048);b.set("osd",c);-1!=a.o.K&&b.set("frm",a.o.K);c=a.o.X;null!=c&&b.set("ms",c);b.set("sdr",1)};
cB=function(a){return P.l?"h.3.0.0":null!=a.o?go(a.o):null};
dB=function(){this.g=["video"]};
eB=function(a,b){a.set("sz",Math.max(null!=b.rj?b.rj:0,null!=b.mf?b.mf:0)+"x"+Math.max(null!=b.qj?b.qj:0,null!=b.lf?b.lf:0))};
gB=function(a){var b={};Yh(b);for(var c in b)a.set(c,b[c]);a.set("dt",fB)};
hB=function(a){if(a.hc&&a.hc.LACT){var b=a.hc.LACT.toString();if(b)return Fb(b)}return a.C};
iB=function(a){return P.g()&&a.hc&&a.hc.VIS?a.hc.VIS.toString():null};
oB=function(a,b,c){var d=new g.hm;d.set("ad_type",b.adType);Bo&&d.set("flash",jB);eB(d,a);kB(b)&&(d.set("ea","0"),null!=a.mf&&null!=a.lf&&d.set("image_size",lB(b,a.mf,a.lf,a.fj)));mB(d,c);d.set("lact",hB(a));(b=iB(a))&&d.set("yt_vis",b);d.set("videoad_start_delay",a.Ip);gB(d);nB(a,d,!0);return d};
nB=function(a,b,c){g.D(g.E(a.referrer))||(a=a.referrer,c&&(a=g.nb(a)),pB("ref",a,b))};
tB=function(a,b,c){a=null!=b?b.split("_"):a;(0,g.C)(a,function(a){if(!g.Rb(Bia,a))throw wn(vo,null,"ad_type",String(b));});
if(c){var d=[];(0,g.C)(a,function(a){g.Oa(qB,a)||d.push(a)});
a=d}c=g.Oa(a,"video");var e=g.Oa(a,"skippablevideo");!In()||P.g()||ko(ho.getInstance(),53,{playsInline:!1,iOS_version:In()?Qn(Kn):"",wv:(Hb("iPad")||Hb("iPhone"))&&!ec()&&!dc()&&!Hb("Coast")&&Hb("AppleWebKit"),rq_video:c,rq_skip:e,dis_cp:!1});var f=dn();if(!Tn()){d=[];(0,g.C)(a,function(a){"video"==a?(d.push("standardvideo"),!P.g()&&gn(f,413051060)&&d.push("bumpervideo")):"skippablevideo"!=a&&d.push(a)});
if(0==d.length)throw wn(sB,null,"skippablevideo");a=d}return a};
uB=function(a,b){return null!=b?b.split(/[+, ]/):a};
lB=function(a,b,c,d){a.l&&(c=Math.min(c,90));var e=0,f=0;a=!P.g();d=d&&a;a&&(e=15,f=65);var k=[];(0,g.C)(Cia,function(a){var l=b-e>=a.width&&c-f>=a.height,n=!d&&!l&&90>=a.height&&b>=a.width&&c>=a.height;(l||n)&&k.push(a.width+"x"+a.height)});
return k.join(",")};
vB=function(a,b){return null==b||(0,window.isNaN)(b)?a:Number(b)};
wB=function(a,b){return null!=b?String(b):null!=a?a:null};
xB=function(a,b){if(null==b)return a;switch(b.toLowerCase()){case "true":case "1":return!0;case "false":case "0":return!1}return a};
yB=function(a,b,c){return null!=b&&g.Rb(c,b)?b:a};
kB=function(a){return(0,g.Kj)(qB,function(b){return g.Oa(a.g,b)})};
mB=function(a,b){Bo?a.set("ca_type","flash"):a.set("ca_type","image");if(null!=b){var c=b.o;null!=c&&0<c.length&&(c=c[0].F,0<c.length&&(a.set("ca_w",c[0].width),a.set("ca_h",c[0].height)))}};
pB=function(a,b,c){null!=b&&c.set(a,b)};
AB=function(a,b,c){YA.call(this,a,b);var d=new dB,e=(new g.nm(a.g)).g;d.Dr=yB(d.Dr,e.get("cust_age"),Dia);d.Cm=yB(d.Cm,e.get("adsafe"),zB);d.g=tB(d.g,e.get("ad_type"));d.adType=d.g.join("_");d.Sp=vB(d.Sp,e.get("videoad_start_delay"));d.Tp=wB(d.Tp,e.get("slotname"));d.Cr=xB(d.Cr,e.get("adtest"))||"on"==e.get("adtest");d.Vp=xB(d.Vp,e.get("scs"));d.Wp=wB(d.Wp,e.get("alternate_ad_url"));d.channels=uB(d.channels,e.get("channel"));d.uq=vB(d.uq,e.get("cpm"));d.xk=wB(d.xk,e.get("description_url"));d.experimentIds=
wB(d.experimentIds,e.get("eid"));d.gender=yB(d.gender,e.get("cust_gender"),Eia);d.l=xB(d.l,e.get("overlay"));d.host=wB(d.host,e.get("host"));d.o=uB(d.o,e.get("h_ch"));d.hostTierId=vB(d.hostTierId,e.get("ht_id"));d.isLiveStream=xB(d.isLiveStream,e.get("lsv"));if(null!=this.l.language)var f=this.l.language;else f=g.w.navigator||null,f=Vm(f.language||f.userLanguage||f.browserLanguage||f.systemLanguage||"");var k=null!=e.get("hl")?String(e.get("hl")):null;f=wB(k,f);var l;null!=f&&!g.D(g.E(f))&&(l=Vm(f));
d.language=wB(d.language,l);d.iy=vB(d.iy,e.get("linearAdSlotWidth"));d.hy=vB(d.hy,e.get("linearAdSlotHeight"));d.po=vB(d.po,e.get("max_ad_duration"));d.ts=vB(d.ts,e.get("min_ad_duration"));d.qo=vB(d.qo,e.get("sdmax"));d.ky=vB(d.ky,e.get("nonLinearAdSlotWidth"));d.jy=vB(d.jy,e.get("nonLinearAdSlotHeight"));d.Nj=wB(d.Nj,e.get("client"));d.Oo=wB(d.Oo,e.get("t_pyv"));l=e.get("sdki");d.Yo=vB(d.Yo,g.u(l)?(0,window.parseInt)(l,16):l);d.tagForChildDirectedTreatment=vB(d.tagForChildDirectedTreatment,e.get("tfcd"));
d.Ko=wB(d.Ko,e.get("pucrd"));d.targeting=yB(d.targeting,e.get("targeting"),Fia);d.Yn=vB(d.Yn,e.get("video_format"));d.Hu=vB(d.Hu,e.get("video_cpm"));d.Er=wB(d.Er,e.get("loeid"));d.Nu=wB(d.Nu,e.get("yt_pt"));d.Ku=wB(d.Ku,e.get("ytdevice"));d.Lu=wB(d.Lu,e.get("ytdevicever"));d.Mu=wB(d.Mu,e.get("dbp"));d.A=wB(d.A,e.get("ms"));d.adBlock=vB(d.adBlock,e.get("adBlock"));d.url=wB(d.url,e.get("url"));d.eq=wB(d.eq,e.get("avo"));d.Gu=wB(d.Gu,e.get("v_p"));d.pJ=a.B;d.qJ=a.A;d.contentTitle=a.contentTitle;d.Gp=
vB(d.Gp,e.get("ad_block"));d.Dm=wB(d.Dm,e.get("adsid"));this.g=d;this.F=b;this.I=c;g.D(g.E(this.g.experimentIds))||(a=this.g.experimentIds.split(","),bn(dn(),a))};
Hia=function(a){return(0,g.Kj)(Gia,function(a){return g.Oa(this.g.g,a)},a)};
BB=function(a){return P.g()?1:g.Oa(a.g.adType.split("_"),"text")?3:1};
Iia=function(a){a=a.g.channels?a.g.channels:[];ab(a);return a.join("+")};
CB=function(a,b){return Math.round(1.1*(a||0)+0*b)};
DB=function(a,b){YA.call(this,a,b)};
EB=function(a,b){YA.call(this,a,b)};
FB=function(a){YA.call(this,a,null)};
GB=function(a){YA.call(this,a,null)};
HB=function(a,b){YA.call(this,a,b);P.g()&&(this.o.A=co())};
Jia=function(a){var b=[];(0,g.C)(a,function(a){0<a.length&&b.push((0,g.H)(a,function(a){return a.width+"x"+a.height}).join("|"))});
return b.join(",")};
IB=function(a,b,c){HB.call(this,a,b);b=dn();this.H=g.D(g.E(a.o));a=new dB;a.g=tB(a.g,this.l.o);a.adType=a.g.join("_");a.experimentIds=wB(a.experimentIds,this.l.F);this.g=a;this.F=c;g.D(g.E(this.g.experimentIds))||bn(b,this.g.experimentIds.split(","))};
Kia=function(a){var b=oB(a.l,a.g,a.F);b.set("sdkv",cB(a));b.set("sdki",a.C().toString(16));return b};
Lia=function(a,b){var c=Kia(a),d=(0,g.H)(c.Ab(),function(a){var b=c.get(a);return a+"="+(null!=b?b:"")});
g.wm(b,"afvparams",d.join("&"))};
JB=function(a,b,c){YA.call(this,a,b);dn();this.H=g.D(g.E(a.o));a=new dB;a.g=tB(a.g,this.l.o);a.adType=a.g.join("_");a.experimentIds=wB(a.experimentIds,this.l.F);this.g=a;this.F=c;g.D(g.E(this.g.experimentIds))||(a=this.g.experimentIds.split(","),c=dn(),bn(c,a))};
Mia=function(a){var b=oB(a.l,a.g,a.F);b.set("sdkv",cB(a));return b};
Nia=function(a,b){var c=Mia(a),d=(0,g.H)(c.Ab(),function(a){var b=c.get(a);return a+"="+(null!=b?b:"")});
Zq(b,"afvparams",[g.nb(d.join("&"))])};
KB=function(a,b){YA.call(this,a,b)};
LB=function(a,b,c){a=new g.nm(g.Mm(a.l.g,Oia(a,b,c)));g.om(a,"https");return a};
Oia=function(a,b,c){if(null==a.l||null==a.l.hc)return{};var d={},e=a.l.hc;(0,g.C)(Pia,function(a){a in e&&(d[a]=e[a])});
(a=Qia(a,e.DESCRIPTION_URL))&&(d.AD_BLOCK=a);b&&(d.BISCOTTI_ID=b);c&&(d.ANID=c);return d};
Qia=function(a,b){return null!=b?Xn(fo(a.o),b):null};
Ria=function(a,b){if(!dr(a.g)&&!er(a.g)||g.D(g.E(a.o))||null==a.g||-1==a.g.search("afvbase="))if(dr(a.g))var c=new EB(a,io);else br(a.g)?c=new AB(a,io,b):er(a.g)?c=new HB(a,io):cr(a)?c=new DB(a,io):(c=a.g,null!=c?(c=(new g.nm(c)).l,c=lb(c,".fwmrm.net")):c=!1,c=c?new FB(a):gr(a)?new KB(a,io):new GB(a));else c=dr(a.g)?new JB(a,io,b):new IB(a,io,b);return c};
MB=function(a,b,c,d,e){this.B=a;this.o=b;this.A=c;this.g=d;this.C=e;this.Za=null};
Sia=function(a,b,c,d){if(b.l instanceof window.Document)var e=b.l;else try{e=g.Mr(b.l)}catch(f){d(wn(qz,f));return}null!=e?NB(a,e,b,c,d):d(wn(qz))};
OB=function(a,b,c,d){var e;if(e=null!=b.g){a:{try{ob(b.g)}catch(f){e=!1;break a}e=!0}e=!e}e?d(wn(Tia,null,b.g)):P.I?kea(po(),(0,g.z)(a.l,a,b,c,d)):a.l(b,c,d)};
QB=function(a,b,c,d,e,f){b=hea(b,f);f=c.Du&&jn(Uia,b)?"POST":"GET";var k=fr(b)?c.D:void 0;yia(a.o,b,(0,g.z)(function(a){NB(this,a,c,d,e)},a),(0,g.z)(function(a,b){var d=8==a?wn(Lq):5==a||6==a?wn(Via):wn(PB,b);
e(d);d="third_party";br(c.g)?d="adsense":dr(c.g)?d="dart":er(c.g)&&(d="xfp");d={rt:d,ec:a};ko(ho.getInstance(),18,d,!0)},a),a.C,f,k);
Wia(c)};
Wia=function(a){var b="third_party";br(a.g)?b="adsense":dr(a.g)?b="dart":er(a.g)?b="xfp":cr(a)&&(b="dbm");a={rt:b};ko(ho.getInstance(),17,a,!0)};
NB=function(a,b,c,d,e){try{var f=uia(b,c);if(!f)throw wn(qz);var k=f.o();Xia(a,k,c,d)}catch(l){l instanceof Ym?e(l):e(wn(Yia,l))}};
Xia=function(a,b,c,d){var e=b.Bf;if(null!=e)d(new Qq(e));else{e=b.l;if(null==e)throw wn(VA);(0,g.C)(e,function(a){a.o=c;var d=Tm();d&&Um(d,"useCompanionsAsEndSlate")&&(a.M=cga(a));d=[];var e=a.getExtension("InfoCards");if(null!=e){e=e.o?e.o:new uv;for(var f=0;f<tv(e,"card");f++)d.push(new vv(qv(e,"card",f)))}a.A=d;a.X=Yfa(a.A);a.Oa=this.o.g;P.g()&&(a.Ia=b.g)},a);
var f=via(e),k=wia(e),l;0<k.length&&0<=Ds(k[0])?l=new Vq(k,c,a,a.B):l=new Jq(f,k,c,a);(0,g.C)(e,function(a){a.da=l});
d(l)}};
RB=function(a){this.g=a+(0,g.G)()};
zia=function(a){var b=(0,g.G)();a=a.g-b;return 0<a?a:0};
SB=function(a,b){this.C=a;this.A=b;this.B=null;this.l=new g.Dm(this);this.o=this.g=null;this.F=!1;this.Za=null};
Zia=function(a){if(null===a.B)TB(a);else{var b=new g.nm(a.B.g),c=g.E(b.g.get("vid"));b=g.E(b.g.get("cmsid"));var d=a.A.H,e=a.A.D;a.A.H=c;a.A.D=b;if(g.D(g.E(c))||g.D(g.E(b)))TB(a);else if(c==d&&b==e)TB(a);else{var f=a.C.bi();DA(f,c,b);jia(f,a.B);a.o=new g.mg(100);Fm(a.l,a.o,"tick",function(){a:{var a=CA(f);if(null!=a)try{var b=!1!==a.isAdRequestFinished();break a}catch(m){b=!0;break a}b=!1}b&&TB(this)},a);
a.o.start()}}};
$ia=function(a){a.g=new g.mg;Im(a.l,a.g,"tick",function(){TB(this)},a);
a.g.setInterval(1E3);a.g.start()};
TB=function(a){null!=a.l&&(a.l.dispose(),a.l=null);null!=a.g&&(a.g.stop(),a.g=null);null!=a.o&&(a.o.stop(),a.o=null);a.F=!0;null===a.D||a.D()};
aja=function(a,b){this.g=a;this.l=b;this.Za=null;P.l&&Io().init();a:{try{var c=window.top.location.href}catch(d){c=2;break a}c=null!=c?c==window.document.location.href?0:1:2}io.K=c};
bja=function(a,b,c,d){if(P.g()){var e=b.Hp;e&&$da(dn(),e);Io()&&tea()}e=null;null==a.g||P.g()||(e=new SB(a.g,a.l));var f=nfa(b);null!=f&&mfa(b)&&(a.l.X=f);f=8E3;!P.g()&&gn(dn(),41351074)?f=5E3:!P.g()&&gn(dn(),41351075)&&(f=2E3);(new MB(a.l,new xia,a.g,e,new RB(f))).fetch(b,(0,g.z)(function(a){a instanceof Qq?c(a):Oq(a,c,d)},a),d)};
g.UB=function(){this.g=[];this.l=[]};
VB=function(a){g.Pa(a.g)&&(a.g=a.l,a.g.reverse(),a.l=[])};
g.WB=function(a,b){a.l.push(b)};
g.XB=function(a){VB(a);return a.g.pop()};
YB=function(a){VB(a);return g.Ia(a.g)};
cja=function(a){this.gb=a;this.g=new g.UB;this.Sf=!1;this.Za=null};
$B=function(a,b,c,d){var e=(0,g.z)(function(a){c(a);g.XB(this.g);this.Sf=!1;ZB(this)},a),f=(0,g.z)(function(a){d(a);
g.XB(this.g);this.Sf=!1;ZB(this)},a);
g.WB(a.g,(0,g.z)(function(){bja(this.gb,b,e,f)},a));
ZB(a)};
ZB=function(a){if(!a.Sf){var b=YB(a.g);null!=b&&(a.Sf=!0,b())}};
aC=function(a,b,c){g.xf.call(this);this.gb=new cja(new aja(b,c));this.o=a;this.l=b;this.g=!0;this.A=c;this.Za=null};
dja=function(a,b,c){if(a.g){var d=null!=c?c:{};cha(ix.getInstance(),b.g);$B(a.gb,b,(0,g.z)(function(a){bC(this,a,d)},a),(0,g.z)(function(a){cC(this,a,d)},a))}};
Pha=function(a,b,c){if(!a.g){var d=null!=c?c:{};$B(a.gb,b,(0,g.z)(function(a){bC(this,a,d)},a),(0,g.z)(function(a){cC(this,a,d)},a))}};
bC=function(a,b,c){if(a.g)if(b instanceof Qq)b=new dC(b.Bf,a,a.o.tw),b.Ig(a.l),a.dispatchEvent(new pA(b,c));else try{var d=hz(a.o,b);d.Ig(a.l);a.dispatchEvent(new pA(d,c,0<b.length?b[0].Ia:null))}catch(e){cC(a,wn(eC,null),c)}else b instanceof Qq?cC(a,wn(eja,null,"Unsupported ad format."),c):(d=new Xm("adsLoaderSdkAdLoaded"),d.A=b,d.o=c,a.dispatchEvent(d))};
cC=function(a,b,c){a.g?("always"==P.A&&null!=a.l&&a.l.Ad(NA()),a.dispatchEvent(new Rm(b,c))):(c=new Xm("adsLoaderSdkAdError"),c.g=b,a.dispatchEvent(c))};
fC=function(a,b){this.I=a;this.N=new g.hm;this.M=15E3;this.C=g.J("SPAN");Ly.call(this,a[0],b);this.g.appendChild(this.C)};
gC=function(a,b){Ly.call(this,a[0],b);this.A=a;g.S(this.g,"ima-container-stack")};
hC=function(a){Oy.call(this,a);this.C=!1;this.l=this.A=null;this.H=!1};
iC=function(a){var b=a.ads[0].getExtension("AdSense"),c=b.B;b=b.C;a={text:null!=c?c:a.I.B,url:null!=b?b:a.I.C};null==a.text&&(c=Ga("Ads by Google"),c=hp(""+c),a.text=c);return a};
jC=function(a){return a.tb()&&Ss(a.la())};
fja=function(a){var b=kC(a);b.rba=a.B;ko(ho.getInstance(),37,b)};
kC=function(a){var b=[],c=[];(0,g.C)(a.A,function(a){b.push(a.Fb()+"x"+a.getHeight());c.push(a.ld())},a);
var d={};d.pid=ix.getInstance().g;d.fsmode=null!=a.l;0<b.length&&(d.cz=b.join(","));0<c.length&&(d.ct=c.join(","));d.vm=a.Yc;return d};
lC=function(a,b){if(a.l){a.Pn(new g.We("close"));var c={};c.pid=ix.getInstance().g;c.evt=b;ko(ho.getInstance(),35,c)}};
mC=function(a,b){g.K.call(this);this.A=a;this.g=-1;this.o=b};
nC=function(a,b){mC.call(this,a,b)};
dC=function(a,b,c){tu.call(this,[]);this.Bf=a;this.Db=new g.hm;this.Tb=this.rb=null;this.tw=c;this.zk=new g.UB;this.Nd=null;this.gb=b;this.Up=this.cn=!1;this.oi=null;this.ig=0;this.ee=this.fe=-1;this.jd=null;this.Pt=0;this.Za=null;this.yk=!1};
hja=function(a,b){if(null!==a.Fa){var c=1;a.ig=0;var d=new Dx;(0,g.C)(b,function(a){if((0,window.isNaN)(a))throw wn(pz,null,"timeOffset",String(a));if(-1!=a&&-1>=a){var b=this.Bf;if((0,window.isNaN)(a)||!g.ua(a))throw Error("Incorrect time offset.");jm(b.g,a)&&b.g.remove(a)}else if(b=g.ua(a)&&!(0,window.isNaN)(a)?this.Bf.g.get(a,[]):[],!g.Pa(b)){this.ig+=b.length;var e=0==a||-1==a?a:c++;b=new Ry(b,a,e,this.gb,this.Fa,this.Ma,this.Md);if(d.contains(a))throw wn(gja,null,"Multiple ad breaks cannot share same ad play time.");
this.Db.set(g.Da(b),b);d.add(a)}},a)}};
ija=function(a,b){a.oi=g.Ia(b);(0,g.Kj)(b,function(a){if(-1==a)return this.oi=a,!0;this.oi=this.oi<a?a:this.oi;return!1},a)};
qC=function(a,b){a.yk=!1;a.cj(b);0==b.Bc?a.Zf():(-1==b.Bc?(oC(a)||!P.g()&&a.cn)&&pC(a):xz(a.Tb),a.Nd=null)};
jja=function(a){if(null!=a.Tb){rC(a);var b=a.Wa();Fm(b,a.Tb,["requestAds","playAds","contentTrackingError","discardAdBreak"],a.handleEvent,a);Fm(b,a.Tb,"adBreakReady",a.KN,a);Fm(b,a.Tb,"adNotify",a.yl,a);Fm(b,a.Tb,"discardAdNotify",a.Al,a);Fm(b,a.gb,"contentComplete",a.LO,a);a.gb.g=!1}};
rC=function(a){null!=a.ac&&(a.ac.dispose(),a.ac=null);a.cn=!1;null!=a.Tb&&a.Tb.Vc()};
sC=function(a){if(null==a.Nd){var b=g.XB(a.zk);if(null!=b){a.Nd=b;var c=a.Db.get(a.Nd.g);if(null!=c)if(b=b.type,"requestAds"!=b&&"playAds"!=b)a.Nd=null,sC(a);else if(null!=a.jd&&a.jd.l(c))a.Nd=null,sC(a);else if("requestAds"==b)a.yk?(a.zk.isEmpty()||"playAds"!=YB(a.zk).type||g.XB(a.zk),qC(a,c)):0==c.Bc&&a.eg()||tC(a,c);else{if("playAds"==b)if(a.yk)qC(a,c);else if(null!=a.rb&&a.rb.kb()&&a.cj(a.rb),a.rb=c,a.rb.setVolume(a.volume),Sy(a.rb,a.fe,a.ee,a.Yc),a.rb.M&&a.Nd.l<a.Pt){c=a.rb;if(c.l<c.o.length){b=
c.o[c.l];az(c);try{c.F=new g.Dm(c),c.g=bz(c,b,c.F)}catch(e){c.l++,fz(c)}}c=a.Tb;b=a.Pt;var d=new vz(a.rb);d.g=b;d.l=!0;g.ib(c.g,d,wz);a.ga("contentResumeRequested");a.Nd=null;sC(a)}else a.rb.start()}else a.Nd=null,sC(a)}}};
tC=function(a,b){var c=a.Wa();Fm(c,b,zy,a.dispatchEvent,a);Fm(c,b,"adError",a.bx,a);Fm(c,b,"allAdsCompleted",a.vA,a);Fm(c,b,"contentPauseRequested",a.xh,a);Fm(c,b,"contentResumeRequested",a.Zf,a);Fm(c,b,"userClose",a.Di,a);Fm(c,b,"autoClose",a.Ci,a);Fm(c,b,"adBreakInitialized",a.wA,a);b.init(a.fe,a.ee,a.Yc)};
pC=function(a){if(!a.Up){a.Up=!0;a.gb.g=!0;try{ko(ho.getInstance(),44,{cmpl:!0})}catch(b){}a.ga("allAdsCompleted");-1==a.oi&&uC(a)}};
uC=function(a){gn(dn(),420706009)||io.clear();null!=a.Md&&(a=a.Md.bi(),null!=a&&EA(a,io.g))};
oC=function(a){return 0==a.Db.sb().length};
vC=function(a){return null!=a.rb?a.rb:null!=a.Nd?a.Db.get(a.Nd.g):null};
kja=function(){this.tw=new $ha;this.Za=null};
hz=function(a,b){if(g.Pa(b))throw Error("Ads manager creation failure, no ads.");if(lja(a,b)){var c=mja(a,b);if(!g.Pa(c))return new Gy(c)}c=Ey(b);P.g()||(c=c&&null!=Gs(b[0])?new Dy(a,c,b[0]):c);if(c)return c;throw Error("Ads manager creation failure, failed to determine ad type.");};
mja=function(a,b){var c=[];(0,g.C)(b,function(a){var b=Ey([a]);b&&a.Wb()&&g.Ra(c,b)},a);
return c};
Ey=function(a){var b=a[0];switch(wC(b)){case "overlay":return Ns(b)?new hC(a):new Oy(a);case "video":return new Fx(a);case "vpaid":return new ny(a);case "flash_vpaid":return 2==P.D?new xw(a):new Dw(a)}return null};
lja=function(a,b){if(1==b.length)return!1;var c=wC(b[0]);return(0,g.Kj)(b,function(a){a=wC(a);return c!=a||"vpaid"==a||"flash_vpaid"==a?!0:!1},a)};
wC=function(a){var b=js(a)&&P.g();b=0!=P.D||b;return null!=Ws(a)&&b?"vpaid":Bo&&null!=Xs(a)&&0!=P.D?"flash_vpaid":Ns(a)&&null==Ws(a)&&Rs(a,"nonlinear")?"overlay":Rs(a,"linear")?"video":Rs(a,"nonlinear")&&null==Ws(a)?"overlay":null};
xC=function(a){g.xf.call(this);this.l=a;a=new OA(new xA);this.g=new aC(new kja,a,io);this.g.R("adsManagerLoaded",this.dispatchEvent,!1,this);this.g.R("adError",this.dispatchEvent,!1,this);this.g.R("adLoadError",this.dispatchEvent,!1,this)};
yC=function(a,b,c){aea();var d="",e=Mi(),f=e.l;e=e.g;f&&f.url?d=f.url:e&&e.url&&(d=e.url);b.location=d;b.referrer=window.document.referrer;b.Ze=Om(b.g,a.l.F);b.nu=a.l.K;dja(a.g,b,c)};
zC=function(a,b,c,d,e,f,k,l){this.g=a;this.D=b;this.o=c;this.B=d;this.A=e;this.C=f;this.l=k;this.F=l};
AC=function(a,b){if(0==b)return a.g;if(1==b)return a.l;var c=Yc(a.g,a.o,b),d=Yc(a.o,a.A,b),e=Yc(a.A,a.l,b);c=Yc(c,d,b);d=Yc(d,e,b);return Yc(c,d,b)};
nja=function(a,b){var c=(b-a.g)/(a.l-a.g);if(0>=c)return 0;if(1<=c)return 1;for(var d=0,e=1,f=0,k=0;8>k;k++){f=AC(a,c);var l=(AC(a,c+1E-6)-f)/1E-6;if(1E-6>Math.abs(f-b))return c;if(1E-6>Math.abs(l))break;else f<b?d=c:e=c,c-=(f-b)/l}for(k=0;1E-6<Math.abs(f-b)&&8>k;k++)f<b?(d=c,c=(c+e)/2):(e=c,c=(c+d)/2),f=AC(a,c);return c};
BC=function(){this.g=this.o=this.A=5E3};
g.CC=function(a,b,c,d,e,f){a=a.clone();b=b.clone();var k=0;if(d||0!=c)c&4?a.x-=b.width+(d?d.right:0):c&2?a.x-=b.width/2:d&&(a.x+=d.left),c&1?a.y-=b.height+(d?d.bottom:0):d&&(a.y+=d.top);if(f){if(e){k=a;c=b;d=0;65==(f&65)&&(k.x<e.left||k.x>=e.right)&&(f&=-2);132==(f&132)&&(k.y<e.top||k.y>=e.bottom)&&(f&=-5);k.x<e.left&&f&1&&(k.x=e.left,d|=1);if(f&16){var l=k.x;k.x<e.left&&(k.x=e.left,d|=4);k.x+c.width>e.right&&(c.width=Math.min(e.right-k.x,l+c.width-e.left),c.width=Math.max(c.width,0),d|=4)}k.x+c.width>
e.right&&f&1&&(k.x=Math.max(e.right-c.width,e.left),d|=1);f&2&&(d|=(k.x<e.left?16:0)|(k.x+c.width>e.right?32:0));k.y<e.top&&f&4&&(k.y=e.top,d|=2);f&32&&(l=k.y,k.y<e.top&&(k.y=e.top,d|=8),k.y+c.height>e.bottom&&(c.height=Math.min(e.bottom-k.y,l+c.height-e.top),c.height=Math.max(c.height,0),d|=8));k.y+c.height>e.bottom&&f&4&&(k.y=Math.max(e.bottom-c.height,e.top),d|=2);f&8&&(d|=(k.y<e.top?64:0)|(k.y+c.height>e.bottom?128:0));e=d}else e=256;k=e}e=new g.Wg(0,0,0,0);e.left=a.x;e.top=a.y;e.width=b.width;
e.height=b.height;return{rect:e,status:k}};
g.DC=function(a){g.K.call(this);this.xc=1;this.o=[];this.A=0;this.g=[];this.l={};this.B=!!a};
oja=function(a,b,c){g.Mf(function(){a.apply(b,c)})};
g.EC=function(a){this.g=a};
FC=function(a){this.g=a};
GC=function(a){this.data=a};
HC=function(a){return!g.t(a)||a instanceof GC?a:new GC(a)};
IC=function(a){this.g=a};
g.JC=function(a){var b=a.creation;a=a.expiration;return!!a&&a<(0,g.G)()||!!b&&b>(0,g.G)()};
g.KC=function(a){this.g=a};
pja=function(){};
LC=function(){};
MC=function(a){this.g=a};
NC=function(){var a=null;try{a=window.localStorage||null}catch(b){}this.g=a};
OC=function(){var a=null;try{a=window.sessionStorage||null}catch(b){}this.g=a};
PC=function(a,b){this.l=a;this.g=b+"::"};
g.QC=function(a){var b=new NC;return b.isAvailable()?a?new PC(b,a):b:null};
RC=function(a,b){this.xc=a;this.g=b};
SC=function(a){this.g=[];if(a)a:{if(a instanceof SC){var b=a.Ab();a=a.sb();if(0>=this.Lc()){for(var c=this.g,d=0;d<b.length;d++)c.push(new RC(b[d],a[d]));break a}}else b=g.Ob(a),a=g.Nb(a);for(d=0;d<b.length;d++)TC(this,b[d],a[d])}};
TC=function(a,b,c){var d=a.g;d.push(new RC(b,c));b=d.length-1;a=a.g;for(c=a[b];0<b;)if(d=b-1>>1,a[d].xc>c.xc)a[b]=a[d],b=d;else break;a[b]=c};
UC=function(){SC.call(this)};
qja=function(a,b,c){var d="script";d=void 0===d?"":d;var e=a.createElement("link");e.rel="preload";e.href=tb("preload","stylesheet")?xc(b):b instanceof wc?xc(b):b instanceof Ac?g.Bc(b):Fc(b).Le();d&&(e.as=d);c&&(e.nonce=c);if(a=a.getElementsByTagName("head")[0])try{a.appendChild(e)}catch(f){}};
VC=function(a){return rja.test(a)&&!sja.test(a)};
tja=function(a){a="https://"+("adservice"+a+"/adsid/integrator.js");var b=["domain="+(0,window.encodeURIComponent)(g.w.location.hostname)];WC[3]>=(0,g.G)()&&b.push("adsid="+(0,window.encodeURIComponent)(WC[1]));return a+"?"+b.join("&")};
ZC=function(){XC=g.w;WC=XC.googleToken=XC.googleToken||{};var a=(0,g.G)();WC[1]&&WC[3]>a&&0<WC[2]||(WC[1]="",WC[2]=-1,WC[3]=-1,WC[4]="",WC[6]="");YC=XC.googleIMState=XC.googleIMState||{};VC(YC[1])||(YC[1]=".google.com");g.ya(YC[5])||(YC[5]=[]);g.ta(YC[6])||(YC[6]=!1);g.ya(YC[7])||(YC[7]=[]);g.ua(YC[8])||(YC[8]=0)};
$C=function(){ZC();return WC[1]};
uja=function(a){ZC();var b=XC.googleToken[5]||0;a&&(0!=b||WC[3]>=(0,g.G)()?aD.Wv(a):(aD.jx().push(a),aD.St()));WC[3]>=(0,g.G)()&&WC[2]>=(0,g.G)()||aD.St()};
bD=function(a){g.w.processGoogleToken=g.w.processGoogleToken||function(a,c){var b=a,e=c;b=void 0===b?{}:b;e=void 0===e?0:e;var f=b.newToken||"",k="NT"==f,l=(0,window.parseInt)(b.freshLifetimeSecs||"",10),m=(0,window.parseInt)(b.validLifetimeSecs||"",10);k&&!m&&(m=3600);var n=b["1p_jar"]||"";b=b.pucrd||"";ZC();1==e?aD.LS():aD.KS();if(!f&&aD.shouldRetry())VC(".google.com")&&(YC[1]=".google.com"),aD.St();else{var q=XC.googleToken=XC.googleToken||{},r=0==e&&f&&g.u(f)&&!k&&g.ua(l)&&0<l&&g.ua(m)&&0<m&&
g.u(n);k=k&&!aD.Nq()&&(!(WC[3]>=(0,g.G)())||"NT"==WC[1]);var v=!(WC[3]>=(0,g.G)())&&0!=e;if(r||k||v)k=(0,g.G)(),l=k+1E3*l,m=k+1E3*m,1E-5>Math.random()&&Xh(g.w,"https://pagead2.googlesyndication.com/pagead/gen_204?id=imerr&err="+e),q[5]=e,q[1]=f,q[2]=l,q[3]=m,q[4]=n,q[6]=b,ZC();if(r||!aD.Nq()){e=aD.jx();for(f=0;f<e.length;f++)aD.Wv(e[f]);e.length=0}}};
uja(a)};
cD=function(a,b){this.B=[];this.M=a;this.K=b||null;this.A=this.g=!1;this.o=void 0;this.H=this.N=this.D=!1;this.C=0;this.l=null;this.F=0};
eD=function(a,b,c){a.g=!0;a.o=c;a.A=!b;dD(a)};
gD=function(a){if(a.g){if(!a.H)throw new fD(a);a.H=!1}};
iD=function(a,b,c){hD(a,b,null,c)};
hD=function(a,b,c,d){a.B.push([b,c,d]);a.g&&dD(a)};
jD=function(a){return(0,g.Kj)(a.B,function(a){return g.Aa(a[1])})};
dD=function(a){if(a.C&&a.g&&jD(a)){var b=a.C,c=kD[b];c&&(g.w.clearTimeout(c.ia),delete kD[b]);a.C=0}a.l&&(a.l.F--,delete a.l);b=a.o;for(var d=c=!1;a.B.length&&!a.D;){var e=a.B.shift(),f=e[0],k=e[1];e=e[2];if(f=a.A?k:f)try{var l=f.call(e||a.K,b);g.t(l)&&(a.A=a.A&&(l==b||a.isError(l)),a.o=b=l);if(Qf(b)||"function"===typeof g.w.Promise&&b instanceof g.w.Promise)d=!0,a.D=!0}catch(m){b=m,a.A=!0,jD(a)||(c=!0)}}a.o=b;d&&(l=(0,g.z)(a.I,a,!0),d=(0,g.z)(a.I,a,!1),b instanceof cD?(hD(b,l,d),b.N=!0):b.then(l,
d));c&&(b=new lD(b),kD[b.ia]=b,a.C=b.ia)};
fD=function(){Ha.call(this)};
mD=function(){Ha.call(this)};
lD=function(a){this.ia=g.w.setTimeout((0,g.z)(this.l,this),0);this.g=a};
nD=function(a){ye(this,a,null,null)};
vja=function(a,b){for(;oe(b)&&4!=b.l;)switch(b.o){case 1:var c=re(b);xe(a,1,c);break;case 2:c=re(b);xe(a,2,c);break;default:pe(b)}return a};
oD=function(a){ye(this,a,wja,null)};
pD=function(a,b){if(1<b.length)a[b[0]]=b[1];else{var c=b[0],d;for(d in c)a[d]=c[d]}};
g.rD=function(a){pD(g.qD,arguments)};
g.sD=function(a,b){return a in g.qD?g.qD[a]:b};
xja=function(){};
uD=function(a){return a&&window.yterr?function(){try{return a.apply(this,arguments)}catch(b){g.tD(b)}}:a};
g.tD=function(a,b,c,d,e){var f=g.x("yt.logging.errors.log");f?f(a,b,c,d,e):(f=g.sD("ERRORS",[]),f.push([a,b,c,d,e]),g.rD("ERRORS",f))};
vD=function(a){g.tD(a,"WARNING",void 0,void 0,void 0)};
yja=function(){if(!wD)return null;var a=wD();return"open"in a?a:null};
g.xD=function(a){switch(a&&"status"in a?a.status:-1){case 200:case 201:case 202:case 203:case 204:case 205:case 206:case 304:return!0;default:return!1}};
g.yD=function(a,b){g.Aa(a)&&(a=uD(a));return window.setTimeout(a,b)};
g.zD=function(a,b){g.Aa(a)&&(a=uD(a));return window.setInterval(a,b)};
g.AD=function(a){window.clearTimeout(a)};
g.BD=function(a){a=a.split("&");for(var b={},c=0,d=a.length;c<d;c++){var e=a[c].split("=");if(1==e.length&&e[0]||2==e.length){var f=ob(e[0]||"");e=ob(e[1]||"");f in b?g.ya(b[f])?Xa(b[f],e):b[f]=[b[f],e]:b[f]=e}}return b};
CD=function(a){var b=[];g.Ib(a,function(a,d){var c=g.nb(d),f;g.ya(a)?f=a:f=[a];(0,g.C)(f,function(a){""==a?b.push(c):b.push(c+"="+g.nb(a))})});
return b.join("&")};
g.DD=function(a){"?"==a.charAt(0)&&(a=a.substr(1));return g.BD(a)};
ED=function(a){a=a.split(",");return a=a.map(function(a){return g.DD(a)})};
g.FD=function(a){return-1!=a.indexOf("?")?(a=(a||"").split("#")[0],a=a.split("?",2),g.DD(1<a.length?a[1]:a[0])):{}};
g.HD=function(a,b){return GD(a,b||{},!0)};
g.ID=function(a,b){return GD(a,b||{},!1)};
GD=function(a,b,c){var d=a.split("#",2);a=d[0];d=1<d.length?"#"+d[1]:"";var e=a.split("?",2);a=e[0];e=g.DD(e[1]||"");for(var f in b)if(c||!Qb(e,f))e[f]=b[f];return g.Lg(a,e)+d};
JD=function(a){if(!b)var b=window.location.href;var c=g.zg(a)[1]||null,d=g.Bg(a);c&&d?(a=g.zg(a),b=g.zg(b),a=a[3]==b[3]&&a[1]==b[1]&&a[4]==b[4]):a=d?g.Bg(b)==d&&g.Cg(b)==g.Cg(a):!0;return a};
KD=function(){if(!a)var a=window.document.location.href;a=g.zg(a)[1]||null;return null!==a&&"https"==a};
zja=function(a,b){b=void 0===b?{}:b;var c=JD(a),d;for(d in LD){var e=g.sD(LD[d]),f;if((f=e)&&!(f=c)){f=d;var k=g.sD("CORS_HEADER_WHITELIST")||{},l=g.Bg(a);f=l?(k=k[l])?g.Oa(k,f):!1:!0}f&&(b[d]=e)}return b};
Aja=function(a,b){if(window.fetch&&"XML"!=b.format){var c={method:b.method||"GET",credentials:"same-origin"};b.headers&&(c.headers=b.headers);a=MD(a,b);var d=ND(a,b);d&&(c.body=d);b.withCredentials&&(c.credentials="include");var e=!1,f;(0,window.fetch)(a,c).then(function(a){if(!e){e=!0;f&&g.AD(f);var c=a.ok,d=function(d){d=d||{};var e=b.context||g.w;c?b.Hb&&b.Hb.call(e,d,a):b.onError&&b.onError.call(e,d,a);b.dd&&b.dd.call(e,d,a)};
"JSON"==(b.format||"JSON")&&(c||400<=a.status&&500>a.status)?a.json().then(d,function(){d(null)}):d(null)}});
b.SA&&0<b.timeout&&(f=g.yD(function(){e||(e=!0,g.AD(f),b.SA.call(b.context||g.w))},b.timeout))}else g.OD(a,b)};
g.OD=function(a,b){var c=b.format||"JSON";a=MD(a,b);var d=ND(a,b),e=!1,f,k=PD(a,function(a){if(!e){e=!0;f&&g.AD(f);var d=g.xD(a),k=null;if(d||400<=a.status&&500>a.status)k=Bja(c,a,b.g2);if(d)a:if(a&&204==a.status)d=!0;else{switch(c){case "XML":d=0==(0,window.parseInt)(k&&k.return_code,10);break a;case "RAW":d=!0;break a}d=!!k}k=k||{};var l=b.context||g.w;d?b.Hb&&b.Hb.call(l,a,k):b.onError&&b.onError.call(l,a,k);b.dd&&b.dd.call(l,a,k)}},b.method,d,b.headers,b.responseType,b.withCredentials);
b.sd&&0<b.timeout&&(f=g.yD(function(){e||(e=!0,k.abort(),g.AD(f),b.sd.call(b.context||g.w,k))},b.timeout));
return k};
MD=function(a,b){b.m2&&(a=window.document.location.protocol+"//"+window.document.location.hostname+(window.document.location.port?":"+window.document.location.port:"")+a);var c=g.sD("XSRF_FIELD_NAME",void 0),d=b.Xc;d&&(d[c]&&delete d[c],a=g.HD(a,d));return a};
ND=function(a,b){var c=g.sD("XSRF_FIELD_NAME",void 0),d=g.sD("XSRF_TOKEN",void 0),e=b.postBody||"",f=b.Lb,k=g.sD("XSRF_FIELD_NAME",void 0),l;b.headers&&(l=b.headers["Content-Type"]);b.j2||g.Bg(a)&&!b.withCredentials&&g.Bg(a)!=window.document.location.hostname||"POST"!=b.method||l&&"application/x-www-form-urlencoded"!=l||b.Lb&&b.Lb[k]||(f||(f={}),f[c]=d);f&&g.u(e)&&(e=g.DD(e),g.bc(e,f),e=b.GB&&"JSON"==b.GB?JSON.stringify(e):g.Jg(e));f=e||f&&!g.Ub(f);!QD&&f&&"POST"!=b.method&&(QD=!0,g.tD(Error("AJAX request with postData should use POST")));
return e};
Bja=function(a,b,c){var d=null;switch(a){case "JSON":a=b.responseText;b=b.getResponseHeader("Content-Type")||"";a&&0<=b.indexOf("json")&&(d=JSON.parse(a));break;case "XML":if(b=(b=b.responseXML)?Cja(b):null)d={},(0,g.C)(b.getElementsByTagName("*"),function(a){d[a.tagName]=Dja(a)})}c&&RD(d);
return d};
RD=function(a){if(g.Ba(a))for(var b in a)"html_content"==b||lb(b,"_html")?a[b]=g.Vc(g.sc("HTML that is escaped and sanitized server-side and passed through yt.net.ajax"),a[b]):RD(a[b])};
Cja=function(a){return a?(a=("responseXML"in a?a.responseXML:a).getElementsByTagName("root"))&&0<a.length?a[0]:null:null};
Dja=function(a){var b="";(0,g.C)(a.childNodes,function(a){b+=a.nodeValue});
return b};
g.SD=function(a,b){b.method="POST";b.Lb||(b.Lb={});g.OD(a,b)};
PD=function(a,b,c,d,e,f,k){function l(){4==(m&&"readyState"in m?m.readyState:0)&&b&&uD(b)(m)}
c=void 0===c?"GET":c;d=void 0===d?"":d;var m=yja();if(!m)return null;"onloadend"in m?m.addEventListener("loadend",l,!1):m.onreadystatechange=l;m.open(c,a,!0);f&&(m.responseType=f);k&&(m.withCredentials=!0);c="POST"==c&&(void 0===window.FormData||!(d instanceof window.FormData));if(e=zja(a,e))for(var n in e)m.setRequestHeader(n,e[n]),"content-type"==n.toLowerCase()&&(c=!1);c&&m.setRequestHeader("Content-Type","application/x-www-form-urlencoded");m.send(d);return m};
g.TD=function(){var a=/Chrome\/(\d+)/.exec(g.Gb);return a?(0,window.parseFloat)(a[1]):window.NaN};
WD=function(){return UD("android")&&UD("chrome")&&!VD()};
g.XD=function(){return UD("cobalt")};
YD=function(){return UD("cobalt")&&UD("; youtubevr")};
ZD=function(){return UD("cobalt")&&UD("appletv")};
$D=function(){return UD("(ps3; leanback shell)")||UD("ps3")&&g.XD()};
aE=function(){return UD("(ps4; leanback shell)")||UD("ps4")&&g.XD()};
bE=function(){var a=/WebKit\/([0-9]+)/.exec(g.Gb);return!!(a&&600<=(0,window.parseInt)(a[1],10))};
cE=function(){return UD("nintendo wiiu")};
dE=function(){return UD("iemobile")||UD("windows phone")&&UD("edge")};
VD=function(){return UD("trident/")||UD("edge/")};
eE=function(){return UD("smart-tv")&&UD("samsung")};
UD=function(a){var b=g.Gb;return b?0<=b.toLowerCase().indexOf(a):!1};
g.fE=function(a,b,c,d,e){e=void 0===e?"":e;a&&(c&&!g.XD()?a&&(a=g.Bc(g.Ec(a)),"about:invalid#zClosurez"===a?a="":(a=g.Nc(Pc(a)),a=g.nb(g.tg(a))),g.D(a)||(a=g.J("IFRAME",{src:'javascript:"<body><img src=\\""+'+a+'+"\\"></body>"',style:"display:none"}),g.gd(a).body.appendChild(a))):e?PD(a,b,"POST",e,d):g.sD("USE_NET_AJAX_FOR_PING_TRANSPORT",!1)||d?PD(a,b,"GET","",d):Eja(a,b))};
gE=function(a,b,c){c=void 0===c?"":c;try{window.navigator&&window.navigator.sendBeacon&&window.navigator.sendBeacon(a,c)?b&&b():g.fE(a,b,void 0,void 0,c)}catch(d){g.fE(a,b,void 0,void 0,c)}};
Eja=function(a,b){var c=new window.Image,d=""+Fja++;hE[d]=c;c.onload=c.onerror=function(){b&&hE[d]&&b();delete hE[d]};
c.src=a};
g.iE=function(a){return g.sD("EXPERIMENT_FLAGS",{})[a]};
kE=function(a,b){var c=g.Yb(b);return new g.Sf(function(b,e){c.Hb=function(a){g.xD(a)?b(a):e(new jE("Request failed, status="+a.status,"net.badstatus",a))};
c.onError=function(a){e(new jE("Unknown request error","net.unknown",a))};
c.sd=function(a){e(new jE("Request timed out","net.timeout",a))};
g.OD(a,c)})};
lE=function(a,b,c,d){function e(d,l,m){return g.eg(d,function(d){return 0>=l||403===d.g.status?Xf(new jE("Request retried too many times","net.retryexhausted",d.g)):f(m).then(function(){return e(kE(a,b),l-1,Math.pow(2,c-l+1)*m)})})}
function f(a){return new g.Sf(function(b){(0,window.setTimeout)(b,a)})}
return e(kE(a,b),c-1,d)};
jE=function(a,b,c){Ha.call(this,a+", errorCode="+b);this.errorCode=b;this.g=c;this.name="PromiseAjaxError"};
mE=function(a){this.o=void 0===a?null:a;this.l=0;this.g=null};
nE=function(a){var b=new mE;a=void 0===a?null:a;b.l=2;b.g=void 0===a?null:a;return b};
oE=function(a){var b=new mE;a=void 0===a?null:a;b.l=1;b.g=void 0===a?null:a;return b};
qE=function(a){Ha.call(this,a.message||a.description||a.name);this.isMissing=a instanceof pE;this.isTimeout=a instanceof jE&&"net.timeout"==a.errorCode;this.isCanceled=a instanceof jg};
pE=function(){Ha.call(this,"Biscotti ID is missing from server")};
rE=function(){var a;(a=!!g.Pb(window,"settings","experiments","flags","html5_serverside_pagead_id_sets_cookie"))||(a=!!g.sD("EXP_HTML5_SERVERSIDE_PAGEAD_ID_SETS_COOKIE",!1));return a||g.iE("html5_serverside_pagead_id_sets_cookie")?"//googleads.g.doubleclick.net/pagead/id?exp=nomnom":"//googleads.g.doubleclick.net/pagead/id"};
Gja=function(){if("1"===g.Pb(g.sD("PLAYER_CONFIG",{}),"args","privembed"))return Xf(Error("Biscotti ID is not available in private embed mode"));sE||(sE=g.eg(kE(rE(),tE).then(uE),function(a){return vE(2,a)}));
return sE};
uE=function(a){a=a.responseText;if(!g.kb(a,")]}'"))throw new pE;a=JSON.parse(a.substr(4));if(1<(a.type||1))throw new pE;a=a.id;wE(a);sE=oE(a);xE(18E5,2);return a};
vE=function(a,b){var c=new qE(b);wE("");sE=nE(c);0<a&&xE(12E4,a-1);throw c;};
xE=function(a,b){g.yD(function(){g.eg(kE(rE(),tE).then(uE,function(a){return vE(b,a)}),g.y)},a)};
wE=function(a){g.va("yt.ads.biscotti.lastId_",a,void 0)};
yE=function(){try{var a=g.x("yt.ads.biscotti.getId_");return a?a():Gja()}catch(b){return Xf(b)}};
zE=function(a){Ha.apply(this,arguments)};
Hja=function(){var a=new zE("ID is missing"),b=new zE("Timeout"),c=null,d=!1;bD(function(){c=$C();d=!0});
if(d)return c?oE(c):nE(a);var e=new g.Sf(function(b,c){bD(function(){var d=$C();d?b(d):c(a)})}),f=pg(5E3).then(function(){return Xf(b)});
return cg($f([e,f]),function(){return f.cancel()})};
AE=function(){g.x("yt.ads.yuzu.getId_")||g.va("yt.ads.yuzu.getId_",Hja,void 0);try{return g.x("yt.ads.yuzu.getId_")()}catch(a){return Xf(a)}};
g.CE=function(a,b,c){a&&(a.dataset?a.dataset[g.BE(b)]=String(c):a.setAttribute("data-"+b,c))};
g.DE=function(a,b){return a?a.dataset?a.dataset[g.BE(b)]:a.getAttribute("data-"+b):null};
g.BE=function(a){return EE[a]||(EE[a]=String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()}))};
GE=function(a,b){if(a in b)return b[a];var c=FE+a.charAt(0).toUpperCase()+a.substr(1);if(c in b)return b[c]};
HE=function(a,b){var c;(0,g.Kj)(a,function(a){c=b[a];return!!c});
return c};
KE=function(a){var b;IE()?g.JE()==a&&(b=window.document):b=a;b&&(a=HE(["exitFullscreen","webkitExitFullscreen","mozCancelFullScreen","msExitFullscreen"],b))&&a.call(b)};
LE=function(a){return g.Ka(["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],function(b){return"on"+b.toLowerCase()in a})};
Ija=function(){var a=window.document;return g.Ka(["fullscreenerror","webkitfullscreenerror","mozfullscreenerror","MSFullscreenError"],function(b){return"on"+b.toLowerCase()in a})};
IE=function(){return!!HE(["fullscreenEnabled","webkitFullscreenEnabled","mozFullScreenEnabled","msFullscreenEnabled"],window.document)};
g.JE=function(){var a=HE(["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"],window.document);return a?a:null};
ME=function(a){this.type="";this.state=this.source=this.data=this.currentTarget=this.relatedTarget=this.target=null;this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.ctrlKey=this.altKey=!1;this.rotation=this.clientY=this.clientX=0;this.scale=1;this.changedTouches=this.touches=null;if(a=a||window.event){this.event=a;for(var b in a)b in Jja||(this[b]=a[b]);this.scale=a.scale;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.g=a.pageX;this.l=a.pageY}};
NE=function(a){if(window.document.body&&window.document.documentElement){var b=window.document.body.scrollTop+window.document.documentElement.scrollTop;a.g=a.clientX+(window.document.body.scrollLeft+window.document.documentElement.scrollLeft);a.l=a.clientY+b}};
OE=function(a){g.t(a.g)||NE(a);return a.g};
PE=function(a){g.t(a.l)||NE(a);return a.l};
Kja=function(a,b,c,d){d=void 0===d?!1:d;a.addEventListener&&("mouseenter"!=b||"onmouseenter"in window.document?"mouseleave"!=b||"onmouseenter"in window.document?"mousewheel"==b&&"MozBoxSizing"in window.document.documentElement.style&&(b="MozMousePixelScroll"):b="mouseout":b="mouseover");return Sb(QE,function(e){return!!e.length&&e[0]==a&&e[1]==b&&e[2]==c&&e[4]==!!d})};
g.SE=function(a,b,c,d){d=void 0===d?!1:d;if(!a||!a.addEventListener&&!a.attachEvent)return"";var e=Kja(a,b,c,d);if(e)return e;e=++RE.count+"";var f=!("mouseenter"!=b&&"mouseleave"!=b||!a.addEventListener||"onmouseenter"in window.document);var k=f?function(d){d=new ME(d);if(!g.Td(d.relatedTarget,function(b){return b==a},!0))return d.currentTarget=a,d.type=b,c.call(a,d)}:function(b){b=new ME(b);
b.currentTarget=a;return c.call(a,b)};
k=uD(k);a.addEventListener?("mouseenter"==b&&f?b="mouseover":"mouseleave"==b&&f?b="mouseout":"mousewheel"==b&&"MozBoxSizing"in window.document.documentElement.style&&(b="MozMousePixelScroll"),a.addEventListener(b,k,d)):a.attachEvent("on"+b,k);QE[e]=[a,b,c,k,d];return e};
g.TE=function(a){a&&("string"==typeof a&&(a=[a]),(0,g.C)(a,function(a){if(a in QE){var b=QE[a],d=b[0],e=b[1],f=b[3];b=b[4];d.removeEventListener?d.removeEventListener(e,f,b):d.detachEvent&&d.detachEvent("on"+e,f);delete QE[a]}}))};
g.UE=function(a){a=a||window.event;a=a.target||a.srcElement;3==a.nodeType&&(a=a.parentNode);return a};
VE=function(a){a=a||window.event;return a.path&&a.path.length?a.path[0]:g.UE(a)};
WE=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};
XE=function(a){a=a||window.event;var b=a.pageX,c=a.pageY;window.document.body&&window.document.documentElement&&(g.ua(b)||(b=a.clientX+window.document.body.scrollLeft+window.document.documentElement.scrollLeft),g.ua(c)||(c=a.clientY+window.document.body.scrollTop+window.document.documentElement.scrollTop));return new g.$c(b,c)};
g.YE=function(a){a=a||window.event;a.returnValue=!1;a.preventDefault&&a.preventDefault()};
g.ZE=function(a){a=a||window.event;return!1===a.returnValue||a.uy&&a.uy()};
g.$E=function(a){a=a||window.event;return a.keyCode?a.keyCode:a.which};
aF=function(a,b,c){var d;return d=g.SE(a,b,function(){g.TE(d);c.apply(a,arguments)},!1)};
g.bF=function(a){this.l=a||window;this.g=[]};
g.cF=function(a){g.TE(a.g);a.g.length=0};
dF=function(a){this.F=a;this.g=null;this.A=0;this.B=null;this.o=0;this.l=[];for(a=0;4>a;a++)this.l.push(0);this.Bb=0;this.D=g.SE(window,"mousemove",(0,g.z)(this.I,this));this.H=g.zD((0,g.z)(this.C,this),25)};
g.eF=function(a){g.K.call(this);this.K=[];this.Zb=a||this};
fF=function(a,b,c,d){for(var e=0;e<c.length;e++)a.O(b,c[e],d)};
g.gF=function(a){for(;a.K.length;){var b=a.K.pop();b.target.removeEventListener(b.name,b.rk)}};
g.hF=function(){g.K.call(this);this.Uc=new g.DC;g.M(this,this.Uc)};
g.jF=function(a,b,c,d){g.hF.call(this);this.o=!!b;this.C=a;this.H=c||a;this.F=!!d;this.g=new g.eF(this);g.M(this,this.g);this.B=this.D=null;this.A=this.l=!1;b&&(g.ud&&a.setAttribute("draggable","true"),a.style.touchAction="none");iF(this)};
kF=function(a,b,c){a.g.O(a.H,b,c,void 0,!a.o)};
iF=function(a){a.B=null;a.D=null;kF(a,lF("over"),a.Zy);kF(a,"touchstart",a.zs);a.o&&kF(a,lF("down"),a.zN)};
mF=function(a,b){for(var c=0;c<b.changedTouches.length;c++){var d=b.changedTouches[c];if(d.identifier==a.D)return d}return null};
lF=function(a){return window.navigator.msPointerEnabled?"MSPointer"+a.charAt(0).toUpperCase()+a.substr(1):"mouse"+a};
nF=function(a){a=a||{};this.url=a.url||"";this.args=a.args||g.Yb(Lja);this.assets=a.assets||{};this.attrs=a.attrs||g.Yb(Mja);this.params=a.params||g.Yb(Nja);this.minVersion=a.min_version||"8.0.0";this.fallback=a.fallback||null;this.fallbackMessage=a.fallbackMessage||null;this.html5=!!a.html5;this.disable=a.disable||{};this.loaded=!!a.loaded;this.messages=a.messages||{}};
Oja=function(a){a instanceof nF||(a=new nF(a));return a};
g.sF=function(a,b,c){var d=g.oF();if(d){var e=d.subscribe(a,function(){var d=arguments;var k=function(){g.pF[e]&&b.apply(c||window,d)};
try{qF[a]?k():g.yD(k,0)}catch(l){g.tD(l)}},c);
g.pF[e]=!0;g.rF[a]||(g.rF[a]=[]);g.rF[a].push(e);return e}return 0};
g.uF=function(a,b){var c=g.sF(a,function(a){b.apply(void 0,arguments);g.tF(c)},void 0)};
g.tF=function(a){var b=g.oF();b&&(g.ua(a)?a=[a]:g.u(a)&&(a=[(0,window.parseInt)(a,10)]),(0,g.C)(a,function(a){b.unsubscribeByKey(a);delete g.pF[a]}))};
g.vF=function(a,b){var c=g.oF();return c?c.publish.apply(c,arguments):!1};
g.wF=function(a,b){qF[a]=!0;var c=g.oF();c&&c.publish.apply(c,arguments);qF[a]=!1};
g.oF=function(){return g.x("ytPubsubPubsubInstance")};
g.EF=function(a,b){xF[a.endpoint]=b;if(g.iE("very_optimistically_create_gel_client"))for(var c in yF)if(!zF[c]){var d=xF[c];d&&(zF[c]=new d)}a.hn?(c=a.hn,d={},c.videoId?d.videoId=c.videoId:c.playlistId&&(d.playlistId=c.playlistId),AF[a.hn.token]=d,c=BF(a.endpoint,a.hn.token)):c=BF(a.endpoint);c.push(a.payload);c.length>=(Number(g.iE("web_logging_max_batch")||0)||20)?CF():DF()};
CF=function(){g.AD(FF);if(!g.Ub(yF)){for(var a in yF){var b=zF[a];if(!b){var c=xF[a];if(!c)continue;b=new c;zF[a]=b}c=void 0;var d=a,e=b,f=Pja[d],k=GF[d]||{};GF[d]=k;b=Math.round(g.HF());for(c in yF[d]){var l={context:g.IF(e.g)};l[f]=BF(d,c);k.dispatchedEventCount=k.dispatchedEventCount||0;k.dispatchedEventCount+=l[f].length;l.requestTimeMs=b;var m=AF[c];if(m)a:{var n=l,q=c;if(m.videoId)var r="VIDEO";else if(m.playlistId)r="PLAYLIST";else break a;n.credentialTransferTokenTargetId=m;n.context=n.context||
{};n.context.user=n.context.user||{};n.context.user.credentialTransferTokens=[{token:q,scope:r}]}delete AF[c];g.JF(e,d,l,{})}c=k;d=b;c.previousDispatchMs&&(b=d-c.previousDispatchMs,e=c.diffCount||0,c.averageTimeBetweenDispatchesMs=e?(c.averageTimeBetweenDispatchesMs*e+b)/(e+1):b,c.diffCount=e+1);c.previousDispatchMs=d;delete yF[a]}g.Ub(yF)||DF()}};
DF=function(){g.AD(FF);FF=g.yD(CF,g.sD("LOGGING_BATCH_TIMEOUT",1E4))};
BF=function(a,b){b=void 0===b?"":b;yF[a]=yF[a]||{};yF[a][b]=yF[a][b]||[];return yF[a][b]};
Qja=function(){};
g.LF=function(a,b){return KF(a,1,b)};
MF=function(){};
g.NF=function(){return!!g.x("yt.scheduler.instance")};
KF=function(a,b,c){(0,window.isNaN)(c)&&(c=void 0);var d=g.x("yt.scheduler.instance.addJob");return d?d(a,b,c):void 0===c?(a(),window.NaN):g.yD(a,c||0)};
g.OF=function(a){if(!(0,window.isNaN)(a)){var b=g.x("yt.scheduler.instance.cancelJob");b?b(a):g.AD(a)}};
PF=function(a){var b=g.x("yt.scheduler.instance.setPriorityThreshold");b&&b(a)};
SF=function(){if(null==g.x("_lact",window)){var a=(0,window.parseInt)(g.sD("LACT"),10);a=(0,window.isFinite)(a)?(0,g.G)()-Math.max(a,0):-1;g.va("_lact",a,window);g.va("_fact",a,window);-1==a&&QF();g.SE(window.document,"keydown",QF);g.SE(window.document,"keyup",QF);g.SE(window.document,"mousedown",QF);g.SE(window.document,"mouseup",QF);g.iE("lact_local_listeners")?(g.SE(window,"resize",function(){RF("resize",200)}),g.SE(window,"scroll",function(){RF("scroll",200)}),new dF(function(){RF("mouse",100)}),
g.SE(window.document,"touchstart",QF),g.SE(window.document,"touchend",QF)):(g.sF("page-mouse",QF),g.sF("page-scroll",QF),g.sF("page-resize",QF))}};
RF=function(a,b){TF[a]||(TF[a]=!0,g.LF(function(){QF();TF[a]=!1},b))};
QF=function(){null==g.x("_lact",window)&&SF();var a=(0,g.G)();g.va("_lact",a,window);-1==g.x("_fact",window)&&g.va("_fact",a,window);(a=g.x("ytglobal.ytUtilActivityCallback_"))&&a()};
g.UF=function(){var a=g.x("_lact",window);return null==a?-1:Math.max((0,g.G)()-a,0)};
g.WF=function(a,b,c,d){var e=g.VF,f={};f.eventTimeMs=Math.round(c||g.HF());f[a]=b;f.context={lastActivityMs:String(c?-1:g.UF())};g.EF({endpoint:"log_event",payload:f,hn:d},e)};
Rja=function(a,b,c){c.context&&c.context.capabilities&&(c=c.context.capabilities,c.snapshot||c.golden)&&(a="vix");return"/youtubei/"+a+"/"+b};
g.IF=function(a){a={client:{hl:a.Sr,gl:a.Rr,clientName:a.Qr,clientVersion:a.innertubeContextClientVersion}};var b=window.devicePixelRatio;b&&1!=b&&(a.client.screenDensityFloat=String(b));g.sD("DELEGATED_SESSION_ID")&&(a.user={onBehalfOfUser:g.sD("DELEGATED_SESSION_ID")});return a};
g.VF=function(a){this.g=a||{innertubeApiKey:g.sD("INNERTUBE_API_KEY",void 0),innertubeApiVersion:g.sD("INNERTUBE_API_VERSION",void 0),Qr:g.sD("INNERTUBE_CONTEXT_CLIENT_NAME","WEB"),innertubeContextClientVersion:g.sD("INNERTUBE_CONTEXT_CLIENT_VERSION",void 0),Sr:g.sD("INNERTUBE_CONTEXT_HL",void 0),Rr:g.sD("INNERTUBE_CONTEXT_GL",void 0),co:g.sD("INNERTUBE_HOST_OVERRIDE",void 0)||""}};
g.JF=function(a,b,c,d){!g.sD("VISITOR_DATA")&&.01>Math.random()&&g.tD(Error("Missing VISITOR_DATA when sending innertube request."),"WARNING");var e={headers:{"Content-Type":"application/json","X-Goog-Visitor-Id":g.sD("VISITOR_DATA","")},method:"POST",Lb:c,GB:"JSON",sd:function(){d.sd()},
SA:d.sd,Hb:function(a,b){d.Hb&&d.Hb(b)},
p2:function(a){d.Hb&&d.Hb(a)},
onError:function(a,b){if(d.onError)d.onError(b)},
o2:function(a){if(d.onError)d.onError(a)},
timeout:d.timeout,withCredentials:!0},f=g.gm();f&&(e.headers.Authorization=f,e.headers["X-Goog-AuthUser"]=g.sD("SESSION_INDEX",0));var k="",l=a.g.co;l&&(k=l);f&&!k&&(e.headers["x-origin"]=window.location.origin);a=""+k+Rja(a.g.innertubeApiVersion,b,c)+"?alt=json&key="+a.g.innertubeApiKey;try{g.iE("use_fetch_for_op_xhr")?Aja(a,e):g.SD(a,e)}catch(m){if("InvalidAccessError"==m)g.tD(Error("An extension is blocking network request."),"WARNING");else throw m;}};
YF=function(a,b){var c=Object.keys(a).join("");XF("info_"+c+"_"+b)||(a.clientActionNonce=b,g.WF("latencyActionInfo",a,void 0,void 0))};
XF=function(a){ZF[a]=ZF[a]||{count:0};var b=ZF[a];b.count++;b.time=g.HF();$F||($F=KF(Sja,0,5E3));if(10<b.count){if(11==b.count){b=Error("CSI data exceeded logging limit with key: "+a);var c=0==a.indexOf("info")?"WARNING":"ERROR";var d=d||{};d.name=g.sD("INNERTUBE_CONTEXT_CLIENT_NAME",1);d.version=g.sD("INNERTUBE_CONTEXT_CLIENT_VERSION",void 0);a=b;b=void 0===c?"ERROR":c;c=window&&window.yterr||!1;if(a&&c&&!(5<=aG)){c=a.stacktrace;var e=a.columnNumber;var f=g.x("window.location.href");if(g.u(a))a=
{message:a,name:"Unknown error",lineNumber:"Not available",fileName:f,stack:"Not available"};else{var k=!1;try{var l=a.lineNumber||a.line||"Not available"}catch(r){l="Not available",k=!0}try{var m=a.fileName||a.filename||a.sourceURL||g.w.$googDebugFname||f}catch(r){m="Not available",k=!0}a=!k&&a.lineNumber&&a.fileName&&a.stack&&a.message&&a.name?a:{message:a.message||"Not available",name:a.name||"UnknownError",lineNumber:l,fileName:m,stack:a.stack||"Not available"}}c=c||a.stack;l=a.lineNumber.toString();
(0,window.isNaN)(l)||(0,window.isNaN)(e)||(l=l+":"+e);if(!(bG[a.message]||0<=c.indexOf("/YouTubeCenter.js")||0<=c.indexOf("/mytube.js"))){m=c;l={Xc:{a:"logerror",t:"jserror",type:a.name,msg:a.message.substr(0,1E3),line:l,level:void 0===b?"ERROR":b,"client.name":d.name},Lb:{url:g.sD("PAGE_NAME",window.location.href),file:a.fileName},method:"POST"};d.version&&(l["client.version"]=d.version);m&&(l.Lb.stack=m);for(var n in d)l.Lb["client."+n]=d[n];if(d=g.sD("LATEST_ECATCHER_SERVICE_TRACKING_PARAMS",void 0))for(var q in d)l.Lb[q]=
d[q];g.OD("/error_204",l);bG[a.message]=!0;aG++}}}return!0}return!1};
Sja=function(){var a=g.HF(),b;for(b in ZF)6E4<a-ZF[b].time&&delete ZF[b];$F=0};
g.cG=function(a,b,c){this.l=a;this.A=b;this.o=c;this.g=void 0};
eG=function(){if(window.crypto&&window.crypto.getRandomValues)try{var a=Array(16),b=new window.Uint8Array(16);window.crypto.getRandomValues(b);for(var c=0;c<a.length;c++)a[c]=b[c];return a}catch(e){}a=Array(16);for(b=0;16>b;b++){c=(0,g.G)();for(var d=0;d<c%23;d++)a[b]=Math.random();a[b]=Math.floor(256*Math.random())}if(dG)for(b=1,c=0;c<dG.length;c++)a[b%16]=a[b%16]^a[(b-1)%16]/4^dG.charCodeAt(c),b++;return a};
fG=function(){for(var a=eG(),b=[],c=0;c<a.length;c++)b.push("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(a[c]&63));return b.join("")};
g.gG=function(){return(0,g.H)(eG(),function(a){return(a&15).toString(16)}).join("")};
g.jG=function(a,b,c){var d=c&&0<c?c:0;c=d?(0,g.G)()+1E3*d:0;if((d=d?g.hG:iG)&&window.JSON){g.u(b)||(b=JSON.stringify(b,void 0));try{d.set(a,b,c)}catch(e){d.remove(a)}}};
g.kG=function(a){if(!iG&&!g.hG||!window.JSON)return null;try{var b=iG.get(a)}catch(c){}if(!g.u(b))try{b=g.hG.get(a)}catch(c){}if(!g.u(b))return null;try{b=JSON.parse(b,void 0)}catch(c){}return b};
g.lG=function(a){try{iG&&iG.remove(a),g.hG&&g.hG.remove(a)}catch(b){}};
g.mG=function(){var a=g.sD("client-screen-nonce")||g.sD("EVENT_ID");return a?a:null};
g.oG=function(a,b,c){g.nG.set(""+a,b,c,"/","youtube.com",!1)};
g.pG=function(){return g.kG("yt-remote-session-screen-id")};
g.rG=function(a){pD(qG,arguments)};
g.U=function(a,b,c){b=void 0===b?{}:b;a=(a=a in qG?qG[a]:c)||"";c={};for(var d in b)c.Io=d,a=a.replace(new RegExp("\\$"+c.Io,"gi"),function(a){return function(){return b[a.Io]}}(c)),c={Io:c.Io};
return a};
sG=function(a,b,c){this.sampleRate=a||0;this.g=b||0;this.spatialAudioType=c||0};
tG=function(a,b,c){this.name=a;this.id=b;this.isDefault=c};
wG=function(a,b,c,d,e,f,k,l,m,n,q){this.width=a;this.height=b;this.quality=f||uG(a,b);this.g=g.vG[this.quality];this.isAccelerated=!!k;this.fps=c||0;this.stereoLayout=!e||null!=d&&0!=d&&1!=d?0:e;this.projectionType=d?2==d&&2==e?3:d:0;(a=l)||(a=this.fps,b=this.projectionType,c=g.vG[this.quality],a=0==c?g.U("YTP_AUTO"):c+(2==b||3==b||4==b?"s":"p")+(55<a?"60":49<a?"50":39<a?"48":""));this.qualityLabel=a;this.l=m||"";this.primaries=n||"";this.o=!1!==q};
xG=function(a){return 1280<=a.width||720<=a.height};
yG=function(a){return"smpte2084"==a.l||"arib-std-b67"==a.l};
uG=function(a,b){for(var c=Math.max(a,b),d=Math.min(a,b),e=zG[0],f=0;f<zG.length;f++){var k=zG[f],l=g.vG[k];if(c>=1.3*Math.floor(16*l/9)||d>=1.3*l)return e;e=k}return"tiny"};
BG=function(a,b,c,d,e,f,k,l){this.id=a;this.containerType=0<=b.indexOf("/mp4")?1:0<=b.indexOf("/webm")?2:0<=b.indexOf("/x-flv")?3:0<=b.indexOf("/vtt")?4:0;this.mimeType=b;this.g=k||0;this.A=l||0;this.audio=void 0===c?null:c;this.video=void 0===d?null:d;this.Nb=void 0===e?null:e;this.Cc=void 0===f?null:f;this.l=Tja[AG(this)]||"";this.o=null};
AG=function(a){return a.id.split(";",1)[0]};
CG=function(a){return"9"==a.l||"("==a.l||"9h"==a.l||"(h"==a.l};
DG=function(a){return"9h"==a.l||"(h"==a.l};
g.EG=function(a){return 1==a.containerType};
FG=function(a){return 0<=a.indexOf("opus")||0<=a.indexOf("vorbis")||0<=a.indexOf("mp4a")};
GG=function(a){return 0<=a.indexOf("vp9")||0<=a.indexOf("vp8")||0<=a.indexOf("avc1")||0<=a.indexOf("av1")};
g.HG=function(a){return a.includes("vtt")||a.includes("text/mp4")};
IG=function(a,b,c,d,e,f,k){var l=new sG;b in g.vG||(b="small");d&&e?(e=(0,window.parseInt)(e,10),d=(0,window.parseInt)(d,10)):(e=g.vG[b],d=Math.round(16*e/9));b=new wG(d,e,0,null,void 0,b,f,void 0,void 0,void 0,k);a=(0,window.unescape)(a.replace(/&quot;/g,'"'));return new BG(c,a,l,b)};
JG=function(a,b){this.experimentIds=a?a.split(","):[];this.flags=g.BD(b||"");var c={};(0,g.C)(this.experimentIds,function(a){c[a]=!0});
this.experiments=c;this.A=!!c["9414740"]};
KG=function(a,b){this.Eg=a;this.g=!!b;this.l=!1};
LG=function(a){this.Zg=a};
MG=function(a,b,c){this.l=a||0;this.g=b||0;this.o=c};
NG=function(a,b,c){return new MG(g.vG[a]||0,g.vG[b]||0,c)};
OG=function(a){var b=g.vG.auto;return a.l==b&&a.g==b};
QG=function(a,b){if(b.o&&OG(b))return PG;if(b.o||OG(a))return b;if(a.o||OG(b))return a;var c=a.l&&b.l?Math.max(a.l,b.l):a.l||b.l,d=a.g&&b.g?Math.min(a.g,b.g):a.g||b.g;c=Math.min(c,d);return c==a.l&&d==a.g?a:new MG(c,d,!1)};
g.RG=function(a){var b=a.g||a.l;return Tb(Uja,function(a){return g.vG[a]==b})||"auto"};
SG=function(a,b){var c=g.vG[b];return a.l<=c&&(!a.g||a.g>=c)};
Vja=function(){var a=g.kG("yt-player-volume")||{},b=a.volume;return{volume:(0,window.isNaN)(b)?100:g.Wc(Math.floor(b),0,100),muted:!!a.muted}};
TG=function(a){g.jG("yt-player-bandwidth",a,2592E3)};
UG=function(){return g.kG("yt-player-quality")||"auto"};
VG=function(a){g.jG("yt-player-watch-later-pending",a)};
WG=function(){return g.kG("yt-player-performance-cap")||0};
XG=function(){return g.kG("yt-player-headers-readable")||!1};
ZG=function(a,b,c){g.u(a)&&(a={mediaContentUrl:a,startSeconds:b,suggestedQuality:c});b=/\/([ve]|embed)\/([^#?]+)/.exec(a.mediaContentUrl);a.videoId=b&&b[2]?b[2]:null;return YG(a)};
YG=function(a,b,c){if(g.Ba(a)){b="endSeconds startSeconds mediaContentUrl suggestedQuality videoId two_stage_token".split(" ");c={};for(var d=0;d<b.length;d++){var e=b[d];a[e]&&(c[e]=a[e])}return c}return{videoId:a,startSeconds:b,suggestedQuality:c}};
$G=function(a,b,c,d){!a&&(void 0===c?0:c)&&vD(Error("Player URL validator detects invalid url. "+(void 0===d?"":d)+": "+b));return a};
aH=function(a){return(a=Wja.exec(a))?a[0]:""};
bH=function(a){var b=void 0===b?!1:b;return $G(Xja.test(a),a,b,"Nielsen OCR URL")};
cH=function(a){var b=void 0===b?!1:b;return $G(Yja.test(a),a,b,"Active View 3rd Party Integration URL")};
dH=function(a){var b=void 0===b?!1:b;return $G(Zja.test(a),a,b,"Google/YouTube Brand Lift URL")};
eH=function(a){var b=void 0===b?!1:b;return $G($ja.test(a),a,b,"Trusted Stream URL")};
g.fH=function(a){var b=void 0===b?!1:b;return $G(aka.test(a),a,b,"Trusted Image URL")};
gH=function(a){var b=void 0===b?!1:b;return $G(bka.test(a),a,b,"Trusted Ad Domain URL")};
g.hH=function(a){var b=void 0===b?!1:b;return $G(cka.test(a),a,b,"Trusted Promoted Video Domain URL")};
iH=function(a,b){b=void 0===b?!1:b;return $G(dka.test(a),a,b,"Captions URL")};
jH=function(a){a=new g.nm(a);g.om(a,window.document.location.protocol);g.pm(a,window.document.location.hostname);window.document.location.port&&g.qm(a,window.document.location.port);return a.toString()};
kH=function(a){a=new g.nm(a);g.om(a,window.document.location.protocol);return a.toString()};
nH=function(a,b){g.K.call(this);this.app=a;this.g=!0;this.o=null;this.H={};this.I={};this.A={};this.F=[];this.D={};this.B={};this.l=null;this.K=new window.Set;this.playerType=b;lH(this,"cueVideoById",this.Ez);lH(this,"loadVideoById",this.WL);lH(this,"cueVideoByUrl",this.KL);lH(this,"loadVideoByUrl",this.XL);lH(this,"playVideo",this.Wd);lH(this,"pauseVideo",this.qd);lH(this,"stopVideo",this.rf);lH(this,"clearVideo",this.IL);lH(this,"getVideoBytesLoaded",this.PL);lH(this,"getVideoBytesTotal",this.QL);
lH(this,"getVideoLoadedFraction",this.Ps);lH(this,"getVideoStartBytes",this.RL);lH(this,"cuePlaylist",this.JL);lH(this,"loadPlaylist",this.VL);lH(this,"nextVideo",this.Fj);lH(this,"previousVideo",this.ql);lH(this,"playVideoAt",this.Iz);lH(this,"setShuffle",this.setShuffle);lH(this,"setLoop",this.ZL);lH(this,"getPlaylist",this.Xf);lH(this,"getPlaylistIndex",this.Gz);lH(this,"getPlaylistId",this.getPlaylistId);lH(this,"loadModule",this.pl);lH(this,"unloadModule",this.wo);lH(this,"setOption",this.Hd);
lH(this,"getOption",this.zc);lH(this,"getOptions",this.xi);lH(this,"mute",this.mute);lH(this,"unMute",this.Yf);lH(this,"isMuted",this.isMuted);lH(this,"setVolume",this.setVolume);lH(this,"getVolume",this.getVolume);lH(this,"seekTo",this.bc);lH(this,"getPlayerState",this.ol);lH(this,"getPlaybackRate",this.Tc);lH(this,"setPlaybackRate",this.Vf);lH(this,"getAvailablePlaybackRates",this.Ej);lH(this,"getPlaybackQuality",this.nl);lH(this,"setPlaybackQuality",this.rl);lH(this,"getAvailableQualityLevels",
this.Ns);lH(this,"getCurrentTime",this.getCurrentTime);lH(this,"getDuration",this.getDuration);lH(this,"addEventListener",this.addEventListener);lH(this,"removeEventListener",this.removeEventListener);lH(this,"getVideoUrl",this.getVideoUrl);lH(this,"getDebugText",this.ll);lH(this,"getVideoEmbedCode",this.Hz);lH(this,"getVideoData",this.ea);lH(this,"addCueRange",this.Dz);lH(this,"removeCueRange",this.Jz);lH(this,"setSize",this.setSize);lH(this,"getApiInterface",this.LL);lH(this,"destroy",this.destroy);
lH(this,"showVideoInfo",this.Lz);lH(this,"hideVideoInfo",this.TL);lH(this,"getMediaReferenceTime",this.NL);if(this.app.fK){var c=this.app.g;c.experiments&&c.experiments.g("html5_enable_360_api")&&(lH(this,"getSphericalProperties",this.Os),lH(this,"setSphericalProperties",this.vo))}mH(this,"getInternalApiInterface",this.ML);mH(this,"getAdState",this.Fz);mH(this,"isNotServable",this.UL);mH(this,"getUpdatedConfigurationData",this.OL);mH(this,"sendAbandonmentPing",this.YL);mH(this,"setAutonav",this.Kz);
mH(this,"setAutonavState",this.Qs);mH(this,"startInteractionLogging",this.aM);mH(this,"channelSubscribed",this.GL);mH(this,"channelUnsubscribed",this.HL);mH(this,"handleExternalCall",this.SL)};
lH=function(a,b,c){var d=void 0===d?!0:d;a.H[b]=function(e){for(var f=[],k=0;k<arguments.length;++k)f[k-0]=arguments[k];d&&oH(a,b);return c.apply(a,f)};
mH(a,b,c);a.F.push(b)};
pH=function(a,b,c){var d=void 0===d?!0:d;a.I[b]=function(e){for(var f=[],k=0;k<arguments.length;++k)f[k-0]=arguments[k];d&&oH(a,b);return c.apply(a,f)};
mH(a,b,c);a.F.push(b)};
mH=function(a,b,c){var d=void 0===d?!1:d;a.A[b]=function(e){for(var f=[],k=0;k<arguments.length;++k)f[k-0]=arguments[k];d&&oH(a,b);return c.apply(a,f)}};
qH=function(a){a.l||(a.l={},g.Fa(a.l,a.H),g.Fa(a.l,a.I),a.l.addEventListener=(0,g.z)(a.rH,a),a.l.removeEventListener=(0,g.z)(a.sH,a));return a.l};
oH=function(a,b){var c=a.app.g;c.dm&&!a.K.has(b)&&(a.K.add(b),c={callerUrl:c.M,methodName:b},a.app.g.experiments.g("web_player_gel_logging_killswitch")||(a.app.g.experiments.g("web_player_gel_direct")?g.WF("webPlayerApiCalled",c,void 0,void 0):a.sa("onLogToGel",{payload_name:"webPlayerApiCalled",payload:c})))};
sH=function(a,b,c){b=g.Wc(Math.floor(b),0,100);(0,window.isFinite)(b)&&rH(a.app,{volume:b,muted:a.isMuted()},c)};
tH=function(a,b){rH(a.app,{muted:!0,volume:a.getVolume()},b)};
uH=function(a,b){rH(a.app,{muted:!1,volume:Math.max(5,a.getVolume())},b)};
g.vH=function(a){this.languageCode=a.languageCode;this.languageName=a.languageName||null;this.g=a.languageOriginal||null;this.id=a.id||null;this.isDefault=a.is_default||!1};
g.wH=function(a){a=void 0===a?{}:a;this.K=a.formats||"";this.o=a.format||1;if(1==this.o)for(var b=this.K.split(","),c=0;c<b.length;c++){var d=(0,window.parseInt)(b[c],10);(0,window.isNaN)(d)||(this.o=Math.max(d,this.o))}this.l=a.languageCode||"";this.C=a.languageName;this.A=a.kind||"";this.B=a.name;this.ia=a.id;this.M=a.is_servable;this.F=a.is_translateable;this.H=a.url||null;this.D=a.vss_id||"";this.g=null;if(a=a.translationLanguage)this.g=new g.vH(a)};
g.xH=function(a){var b=a.C||"",c=[b];"asr"==a.A&&-1==b.indexOf("(")&&c.push(" ("+g.U("YTP_ASR_SETTINGS_LABEL")+")");a.B&&c.push(" - "+a.B);a.g&&c.push(" >> "+a.g.languageName);return c.join("")};
yH=function(a,b){this.id=a;this.Nb=b;this.captionTracks=[];this.Dk=this.Cq=this.g=null;this.Xv="UNKNOWN"};
zH=function(){var a=GE("visibilityState",window.document);return!(!a||"visible"==a)};
eka=function(a){var b=AH();b&&window.document.addEventListener(b,a,!1)};
AH=function(){if(window.document.visibilityState)var a="visibilitychange";else{if(!window.document[FE+"VisibilityState"])return"";a=FE+"visibilitychange"}return a};
BH=function(a,b,c,d,e,f,k,l){this.duration=c;this.endTime=b+c;this.ingestionTime=d;this.ua=a;this.sourceURL=e;this.startTime=b;this.l=k||0;this.range=f||null;this.g=l||!1};
g.CH=function(){this.segments=[]};
DH=function(a,b){if(b>a.Ec())a.segments=[];else{var c=g.Ja(a.segments,function(a){return a.ua>=b},a);
0<c&&a.segments.splice(0,c)}};
EH=function(a,b,c,d,e){e=void 0===e?!1:e;this.data=a;this.offset=b;this.size=c;this.type=d;this.g=e?0:8;this.dataOffset=this.offset+this.g;this.l=e};
FH=function(a){var b=a.data.getInt32(a.offset+a.g);a.g+=4;return b};
GH=function(a){var b=a.data.getUint32(a.offset+a.g);a.g+=4;return b};
fka=function(a){var b=a.data;var c=a.offset+a.g;b=4294967296*b.getUint32(c)+b.getUint32(c+4);a.g+=8;return b};
HH=function(a){var b=[];do{var c=a.data.getUint8(a.offset+a.g);b.push(c);a.g++}while(0!=c);b.pop()};
IH=function(a){this.data=new window.DataView(new window.ArrayBuffer(a));this.g=0};
JH=function(a,b){a.data.setInt32(a.g,b);a.g+=4};
KH=function(a,b){for(var c=0;c+4<=b.size;)JH(a,b.data.getUint32(b.offset+c)),c+=4;for(;c<b.size;)a.data.setUint8(a.g++,b.data.getUint8(b.offset+c++))};
LH=function(a,b,c){for(var d=8,e=g.na(c),f=e.next();!f.done;f=e.next())d+=f.value.size;JH(a,d);JH(a,b);b=g.na(c);for(f=b.next();!f.done;f=b.next())KH(a,f.value)};
MH=function(a,b,c){this.Xe=a;this.durationSecs=b;this.context=c};
NH=function(a,b){this.g=a;this.A=void 0===b?null:b;this.l=(0,window.parseInt)(this.g["Sequence-Number"],10)||0;this.ingestionTime=((0,window.parseInt)(this.g["Ingestion-Walltime-Us"],10)||0)/1E6;this.B=(((0,window.parseInt)(this.g["First-Frame-Time-Us"],10)||0)+((0,window.parseInt)(this.g["First-Frame-Uncertainty-Us"],10)||0))/1E6;this.F=((0,window.parseInt)(this.g["Target-Duration-Us"],10)||0)/1E6;this.D="T"==this.g["Overlayed-With-Slate"];this.o="T"==this.g["Stream-Finished"];this.C="T"==this.g.Streamable};
OH=function(a,b,c,d,e){this.l=a||0;this.pitch=b||0;this.yaw=c||0;this.roll=d||0;this.g=e;e.getUint32(4)};
PH=function(a){var b={};a=a.split("\r\n");for(var c=0;c<a.length;c++){if(0==a[c].length)return b;var d=a[c].match(/([^:]+):\s+([\S\s]+)/);null!=d&&(b[d[1]]=d[2])}return null};
gka=function(a,b,c){var d=QH(a,0,1836019558);if(!d)return null;var e=QH(a,d.dataOffset,1835427940),f=QH(a,d.dataOffset,1953653094),k=QH(a,d.dataOffset,1886614376);if(!e||!f)return null;var l=QH(a,f.dataOffset,1952868452),m=QH(a,f.dataOffset,1953658222),n=QH(a,f.dataOffset,1952867444);if(!l||!m||!n)return null;var q=QH(a,f.dataOffset,1935763823),r=QH(a,f.dataOffset,1935763834),v=0;if(q){v=FH(q);var B=FH(q);if(0!=v||1!=B)return null;v=FH(q)}B=QH(a,f.dataOffset,1935828848);f=QH(a,f.dataOffset,1936158820);
var F=FH(l),L=FH(l),Y=F&2,la=F&1?fka(l):0,$a=Y?FH(l):0,ba=F&8?FH(l):0,ed=F&16?FH(l):0,Ff=F&32?FH(l):0;F=FH(m);var zb=F&1,yd=F&4,tj=F&256;l=F&512;var li=F&1024,Zb=F&2048;F=FH(m);var sb=zb?FH(m):0,ic=yd?FH(m):0;zb=[];for(var Kq=[],mi=[],Sk=[],hv=0,pd=0,Tk=0;Tk<F;Tk++){var OK=tj?FH(m):ba;l&&zb.push(FH(m));var ni=Ff;yd&&0==Tk?ni=ic:li&&(ni=FH(m));Kq.push(ni);ni=Zb?FH(m):0;0==Tk&&(hv=ni);mi.push(pd+ni);Sk.push(Tk);pd+=OK}1<=Math.abs(pd-b)&&c({flaw:"segDurMismatch",dts:pd.toFixed(),seg:b.toFixed()});g.fb(Sk,
function(a,b){return mi[a]-mi[b]});
c=[];for(pd=0;pd<F;pd++)c[Sk[pd]]=pd;pd=Y?4:0;Ff=16*F;yd=68+pd+n.size+Ff+(q?q.size:0)+(r?r.size:0)+(B?B.size:0)+(f?f.size:0)+(k?k.size:0);m=yd-d.size;ba=new IH(yd+d.offset);d.offset&&ba.fn(a,0,d.offset);JH(ba,yd);JH(ba,1836019558);KH(ba,e);JH(ba,yd-24-(k?k.size:0));JH(ba,1953653094);JH(ba,16+pd);JH(ba,1952868452);JH(ba,131072|(Y?2:0));JH(ba,L);Y&&JH(ba,$a);KH(ba,n);JH(ba,20+Ff);JH(ba,1953658222);JH(ba,16781057);JH(ba,F);JH(ba,la+sb+m);for(a=pd=0;a<F;a++)e=c[a],d=Math.round(b*e/F),e=Math.round(b*(e+
1)/F)-d,d=d-pd+hv,JH(ba,e),JH(ba,l?zb[a]:ed),JH(ba,Kq[a]),JH(ba,d),pd+=e;q&&(JH(ba,q.size),JH(ba,1935763823),JH(ba,0),JH(ba,1),JH(ba,v+m));r&&KH(ba,r);B&&KH(ba,B);f&&KH(ba,f);k&&KH(ba,k);return ba.data.buffer};
RH=function(a,b){var c=QH(a.data,a.dataOffset,1952868452),d=QH(a.data,a.dataOffset,1953658222),e=FH(c);FH(c);e&2&&FH(c);c=e&8?FH(c):0;var f=FH(d),k=f&1;e=f&4;var l=f&256,m=f&512,n=f&1024;f&=2048;var q=GH(d);k&&FH(d);e&&FH(d);for(var r=k=0;r<q;r++){var v=l?FH(d):c;m&&FH(d);e&&0==r||!n||FH(d);f&&FH(d);k+=v}return k/b};
UH=function(a){a=new window.DataView(a.buffer,a.byteOffset,a.byteLength);return(a=g.SH(a,1836476516))?TH(a):window.NaN};
hka=function(a){var b=g.SH(a,1937011556);if(!b)return null;b=QH(a,b.dataOffset+8,1635148593);if(!b)return null;var c=QH(a,b.dataOffset+78,1936995172),d=QH(a,b.dataOffset+78,1937126244);if(!d)return null;b=null;if(c)switch(c.skip(4),b=c.data.getUint8(c.offset+c.g),c.g+=1,b){default:b=0;break;case 1:b=2;break;case 2:b=1;break;case 3:b=255}var e=c=null,f=null;if(d=QH(a,d.dataOffset,1886547818)){var k=QH(a,d.dataOffset,1886546020),l=QH(a,d.dataOffset,2037673328);if(!l&&(l=QH(a,d.dataOffset,1836279920),
!l))return null;k&&(k.skip(4),c=FH(k)/65536,f=FH(k)/65536,e=FH(k)/65536);a=new window.DataView(l.data.buffer,l.dataOffset,l.size-8);return new OH(b,c,f,e,a)}return null};
QH=function(a,b,c){for(;VH(a,b);){var d=WH(a,b);if(d.type==c)return d;b+=d.size}return null};
g.SH=function(a,b){for(var c=0;VH(a,c);){var d=WH(a,c);if(d.type==b)return d;c=XH(d.type)?c+8:c+d.size}return null};
YH=function(a,b){if(a.data.getUint8(a.dataOffset)){var c=a.data,d=a.dataOffset+4;c.setUint32(d,Math.floor(b/4294967296));c.setUint32(d+4,b&4294967295)}else a.data.setUint32(a.dataOffset+4,b)};
ZH=function(a){if(a.data.getUint8(a.dataOffset)){var b=a.data;a=a.dataOffset+4;return 4294967296*b.getUint32(a)+b.getUint32(a+4)}return a.data.getUint32(a.dataOffset+4)};
WH=function(a,b){var c=a.getUint32(b),d=a.getUint32(b+4);return new EH(a,b,c,d)};
TH=function(a){var b=a.data.getUint8(a.dataOffset)?20:12;return a.data.getUint32(a.dataOffset+b)};
$H=function(a){return a.data.getUint32(a.dataOffset+8)};
aI=function(a){var b=a.data.getUint8(a.dataOffset);a.data.getUint16(a.dataOffset+(0==b?22:30));return a.data.getUint32(a.dataOffset+(0==b?28:36))};
VH=function(a,b){if(8>a.byteLength-b)return!1;var c=a.getUint32(b);if(8>c||a.byteLength-b<c)return!1;c=a.getUint32(b+4);if(1635148593==c||1635148611==c||1937126244==c||1936995172==c)return!0;for(c=4;8>c;c++){var d=a.getInt8(b+c);if(97>d||122<d)return!1}return!0};
XH=function(a){return 1836019558==a||1836019574==a||1835297121==a||1835626086==a||1937007212==a||1953653094==a||1953653099==a};
bI=function(a){return(a=QH(a,0,1836019558))?a.offset+a.size:null};
cI=function(a,b){for(var c=QH(a,0,b);c;){var d=c;d.type=1936419184;d.data.setUint32(d.offset+4,1936419184);c=QH(a,c.offset+c.size,b)}};
dI=function(a,b){for(var c=[],d=b.dataOffset,e=b.offset+b.size;d<e&&VH(a,d);){var f=WH(a,d);c.push(f);d+=f.size}return c};
ika=function(a){for(var b=0,c=[];VH(a,b);){var d=WH(a,b);1886614376==d.type&&c.push(d);b=XH(d.type)?b+8:b+d.size}return c};
g.eI=function(a,b){this.start=a;this.end=b;this.length=b-a+1};
fI=function(a){a=a.split("-");return 2==a.length&&(a=new g.eI((0,window.parseInt)(a[0],10),(0,window.parseInt)(a[1],10)),!(0,window.isNaN)(a.start)&&!(0,window.isNaN)(a.end)&&!(0,window.isNaN)(a.length)&&0<a.length)?a:null};
gI=function(a,b){return new g.eI(a,a+b-1)};
iI=function(a,b,c,d,e,f,k,l,m){this.g=b;this.range=c;this.type=a;this.ua=0<=d?d:-1;this.startTime=e||0;this.duration=f||0;this.l=k||0;this.fb=0<=l?l:this.range?this.range.length:window.NaN;this.C=!!m;this.range?(this.o=this.l+this.fb==this.range.length,this.B=this.startTime+this.duration*this.l/this.range.length,this.D=this.duration*this.fb/this.range.length,this.A=this.B+this.D):(this.o=0!=this.fb,hI(this));this.F=[]};
hI=function(a){a.B=a.startTime;a.D=a.duration;a.A=a.B+a.D};
jka=function(a,b,c){var d=!(!b||b.g!=a.g||b.type!=a.type||b.ua!=a.ua);return c?d&&(a.range&&b.range?b.range.end==a.range.end:b.range==a.range)&&b.l+b.fb==a.l+a.fb:d};
jI=function(a){return 1==a.type||2==a.type};
kI=function(a,b,c){return c||a.g==b.g?a.range&&b.range?a.range.start+a.l+a.fb==b.range.start+b.l:a.ua==b.ua?a.l+a.fb==b.l:a.ua+1==b.ua&&0==b.l&&a.o:!1};
lI=function(a,b){var c;(c=kI(a,b))||(c=1E-6>=Math.abs(a.A-b.B));return c||a.ua+1==b.ua&&0==b.l&&a.o?!0:!1};
kka=function(a){1==a.length||(0,g.Wl)(a,function(a){return!!a.range});
for(var b=1;b<a.length;b++);b=a[a.length-1];return new g.eI(a[0].range.start+a[0].l,b.range.start+b.l+b.fb-1)};
nI=function(a){var b="";g.Ib(mI(a),function(a,d){b+=d+"="+a+","});
return b.slice(0,-1)};
mI=function(a){var b={};b.itag=AG(a.g.info);b.seg=String(a.ua);a.range&&(b.range=""+(a.range.start+a.l)+"-"+(a.range.start+a.l+a.fb-1));b.time=""+a.B.toFixed(1)+"-"+(a.B+a.D).toFixed(1);b.off=String(a.l);b.len=String(a.fb);a.o&&(b.end="1");a.C&&(b.eos="1");return b};
oI=function(a,b,c,d){a=new iI(a.type,a.g,a.range,a.ua,a.startTime,a.duration,b,c,d&&a.C);a.o=d;return a};
pI=function(a,b){a.ua=b.ua;if(a.startTime!=b.startTime||a.duration!=b.duration)a.startTime=b.startTime,a.duration=b.duration,hI(a)};
qI=function(a,b){this.l=a;this.g=0;this.o=b||0};
rI=function(a){return a.g>=a.l.byteLength};
wI=function(a,b){var c=new qI(b);if(!sI(c,[408125543,374648427,174,224]))return!1;c=tI(c);if(uI(c,a)){for(var d=0;a;)a>>>=8,d++;var e=c.o+c.g-d;d=vI(c,!0)+d-1;var f;f||(f=Math.ceil(Math.log(d+2)/Math.log(2)/7));var k=1<<8-f;for(c=[];c.length<f-1;)c.unshift(d%256),d=Math.floor(d/256);c.unshift(d|k);b.setUint8(e,236);for(f=0;f<c.length;f++)b.setUint8(e+1+f,c[f]);return!0}return!1};
yI=function(a){xI(new qI(a));wI(30320,a)&&wI(21432,a)};
lka=function(a){var b=new qI(a);xI(b);if(sI(b,[408125543,374648427,174,224]))b=tI(b);else return null;for(var c=a=null;!rI(b);){var d=vI(b,!1);if(21432==d)switch(zI(b)){default:a=0;break;case 1:a=1;break;case 3:a=2;break;case 15:a=255}else 30320==d?c=tI(b):AI(b)}if(!c)return null;for(var e,f=d=b=null;!rI(c);)switch(vI(c,!1)){case 30321:if(3!=zI(c))return null;break;case 30324:b=BI(c);break;case 30323:f=BI(c);break;case 30325:d=BI(c);break;case 30322:e=vI(c,!0);e=CI(c,e);e=new window.DataView(e.buffer,
e.byteOffset,e.byteLength);break;default:AI(c)}return e?new OH(a,b,f,d,e):null};
tI=function(a){var b=vI(a,!0),c=a.l.byteOffset+a.g;c=new window.DataView(a.l.buffer,c,Math.min(b,a.l.buffer.byteLength-c));c=new qI(c,a.o+a.g);a.g+=b;return c};
zI=function(a){for(var b=vI(a,!0),c=DI(a),d=1;d<b;d++)c=256*c+DI(a);return c};
BI=function(a){var b=vI(a,!0),c=0;4==b?c=a.l.getFloat32(a.g):8==b&&(c=a.l.getFloat64(a.g));a.g+=b;return c};
AI=function(a){var b=vI(a,!0);a.g+=b};
xI=function(a){var b=a.g;a.g=0;var c=!1;uI(a,440786851)&&(a.g=0,uI(a,408125543)&&(c=!0));a.g=b;return c};
EI=function(a){var b=a.g;a.g=0;var c=1E6;sI(a,[408125543,357149030,2807729])&&(c=zI(a));a.g=b;return c};
mka=function(a,b){var c=a.g;a.g=0;if(!FI(a)||!uI(a,160))return a.g=c,window.NaN;vI(a,!0);var d=a.g;if(!uI(a,161))return a.g=c,window.NaN;vI(a,!0);DI(a);var e=DI(a)<<8|DI(a);a.g=d;if(!uI(a,155))return a.g=c,window.NaN;d=zI(a);a.g=c;return(e+d)*b/1E9};
FI=function(a){a:{if(xI(a)){if(!uI(a,408125543)){var b=!1;break a}vI(a,!0)}b=!0}if(!b||!uI(a,524531317))return!1;vI(a,!0);return!0};
sI=function(a,b){for(var c=0;c<b.length;c++){if(!uI(a,b[c]))return!1;c!=b.length-1&&vI(a,!0)}return!0};
uI=function(a,b){if(rI(a))return!1;for(;vI(a,!1)!=b;)if(AI(a),rI(a))return!1;return!0};
vI=function(a,b){var c=DI(a);if(1==c){for(var d=c=0;7>d;d++)c=256*c+DI(a);return c}d=128;for(var e=0;6>e&&d>c;e++)c=256*c+DI(a),d*=128;return b?c-d:c};
DI=function(a){return a.l.getUint8(a.g++)};
CI=function(a,b){var c=new window.Uint8Array(a.l.buffer,a.l.byteOffset+a.g,b);a.g+=b;return c};
GI=function(a,b,c,d,e){this.info=a;this.g=b;this.range=c;this.l=null;this.o=d;this.pe=e};
HI=function(a){return a.range?new window.DataView(a.g,a.range.start,a.range.length):new window.DataView(a.g)};
II=function(a,b){b=Math.min(b,a.info.fb);var c=new iI(a.info.type,a.info.g,a.info.range,a.info.ua,a.info.startTime,a.info.duration,a.info.l,b,!1);c.o=!1;var d=gI(a.range.start,b);c=new GI(c,a.g,d,a.o,a.pe);var e=new iI(a.info.type,a.info.g,a.info.range,a.info.ua,a.info.startTime,a.info.duration,a.info.l+b,a.info.fb-b,a.info.C);e.o=a.info.o;d=new g.eI(d.end+1,a.range.end);d=new GI(e,a.g,d,a.o,!1);return[c,d]};
JI=function(a,b){if(g.EG(a.info.g.info)){for(var c=a.info.g.g,d=new window.DataView(a.g),e=window.NaN,f=window.NaN,k=0;VH(d,k);){var l=WH(d,k);(0,window.isNaN)(e)&&(1936286840==l.type?e=$H(l):1836476516==l.type&&(e=TH(l)));if(1952867444==l.type){!e&&c&&(e=UH(c));var m=ZH(l);(0,window.isNaN)(f)&&(f=Math.round(b*e)-m);YH(l,m+f)}k=XH(l.type)?k+8:k+l.size}return!0}c=new qI(new window.DataView(a.g));e=a.pe?c:new qI(new window.DataView(a.info.g.g.buffer));d=b;f=EI(e);e=c.g;c.g=0;if(FI(c)&&uI(c,231))if(k=
vI(c,!0),d=Math.floor(1E9*d/f),Math.ceil(Math.log(d)/Math.log(2)/8)>k)c=!1;else{for(f=k-1;0<=f;f--)c.l.setUint8(c.g+f,d&255),d>>>=8;c.g=e;c=!0}else c=!1;return c};
KI=function(a){var b;if(g.EG(a.info.g.info)){for(var c=b=0,d=new window.DataView(a.g);VH(d,b);){var e=WH(d,b);if(1936286840==e.type){var f=$H(e),k=aI(e);c+=k/f}b=XH(e.type)?b+8:b+e.size}b=c||window.NaN;if(!(0<=b))a:{b=a.info.g.g;c=0;d=new window.DataView(a.g);for(e=0;VH(d,c);){f=WH(d,c);if(1836476516==f.type)var l=TH(f);else if(1836019558==f.type){!l&&b&&(l=UH(b));if(!l){b=window.NaN;break a}k=QH(f.data,f.dataOffset,1953653094);e+=RH(k,l)}c=XH(f.type)?c+8:c+f.size}b=e||window.NaN}}else l=new qI(new window.DataView(a.g)),
b=a.pe?l:new qI(new window.DataView(a.info.g.g.buffer)),b=mka(l,EI(b));return b||a.info.D};
LI=function(a){return g.EG(a.info.g.info)?a.l?a.l.D&&!!QH(new window.DataView(a.g),0,1718909296):!1:xI(new qI(new window.DataView(a.g)))};
MI=function(){var a=g.x("yt.player.utils.videoElement_");a||(a=g.zd("VIDEO"),g.va("yt.player.utils.videoElement_",a,void 0));return a};
nka=function(){var a=MI();return!!a.webkitSetPresentationMode&&g.Aa(a.webkitSupportsPresentationMode)&&!!a.webkitSupportsPresentationMode("picture-in-picture")};
NI=function(){var a=MI();try{var b=a.muted;a.muted=!b;return a.muted!=b}catch(c){}return!1};
OI=function(a){a=g.J("DIV",{"class":a});window.document.body.appendChild(a);var b="none"==nh(a,"display");g.Fd(a);return b};
PI=function(){this.length=1};
QI=function(){this.buffered=new PI};
RI=function(a,b){this.l=a;this.o=b;this.A=0;Object.defineProperty(this,"timestampOffset",{get:this.bU,set:this.fU});Object.defineProperty(this,"buffered",{get:this.ZT})};
oka=function(){this.length=0};
SI=function(a){this.activeSourceBuffers=this.sourceBuffers=[];this.g=a;this.l=window.NaN;this.o=0;Object.defineProperty(this,"duration",{get:this.aU,set:this.eU});Object.defineProperty(this,"readyState",{get:this.cU});this.g.addEventListener("webkitsourceclose",(0,g.z)(this.dU,this),!0)};
TI=function(a){return window.MediaSource?new window.MediaSource:window.WebKitMediaSource?new window.WebKitMediaSource:new SI(a)};
UI=function(a){g.K.call(this);this.D=new g.eF(this);g.M(this,this.D);this.l=this.g=null;a=this.o=a;a=a.uL?a.g.webkitMediaSourceURL:window.URL.createObjectURL(a);this.B=new KG(a,!0);this.F=this.C=this.A=null;fF(this.D,this.o,["sourceopen","webkitsourceopen"],this.I);fF(this.D,this.o,["sourceclose","webkitsourceclose"],this.H)};
VI=function(a){a.F||(a.F=new window.Promise((0,g.z)(function(a){this.A=a},a)));
return a.F};
WI=function(a){try{return"open"==a.o.readyState}catch(b){return!1}};
XI=function(a){try{return"closed"==a.o.readyState}catch(b){return!0}};
YI=function(a){return!!(a.g&&a.g.updating||a.l&&a.l.updating)};
ZI=function(){return!(!window.MediaSource||!window.MediaSource.isTypeSupported)};
$I=function(a){return a.g?!!a.g.appendBuffer:ZI()};
bJ=function(a){if(/opus/.test(a)&&(g.aJ&&!g.Dn("38")||g.aJ&&UD("crkey")))return!1;if(window.MediaSource&&window.MediaSource.isTypeSupported)return window.MediaSource.isTypeSupported(a);if(/webm/.test(a)&&!aE())return!1;'audio/mp4; codecs="mp4a.40.2"'==a&&(a='video/mp4; codecs="avc1.4d401f"');return!!MI().canPlayType(a)};
g.cJ=function(){this.tm=this.rm=!1;this.Lh=2;this.A=20971520;this.B=8388608;this.l=window.NaN;this.ca=3145728;this.I=62914560;this.da=10485760;this.dm=this.Sa=0;this.D=window.NaN;this.fd=0;this.Tn=this.zd=this.rD=2;this.ka=25;this.K=2097152;this.zn=1048576;this.X=!1;this.F=1800;this.Oa=5;this.Xa=10;this.N=30;this.Zb=1;this.g=1.15;this.o=1.05;this.fm=8;this.lm=!0;var a;!(a=UD("xboxone"))&&(a=bE())&&(a=/WebKit\/([0-9]+)/.exec(g.Gb),a=!(a&&602<=(0,window.parseInt)(a[1],10)));this.gU=a||WD();this.Ia=
15;this.Pb=!1;this.M=this.sA=!0;this.gm=this.H=!1;this.jo=.8;this.xb=this.ym=!1;this.Nm=!0;this.ra=this.xe=!1;this.Sg=25;this.QU=this.sn=!1;this.fa=6;this.Pg=this.ba=!1;this.ed=.5;this.Y=0;this.yd=this.Ya=!1;this.Pa=0;this.Kd=this.im=!1;this.ob=0;this.ub=this.oa=this.Qg=this.ce=!1;this.qD=.5;this.Qb=2;this.JC=.8;this.bD=.2;this.bC=this.Rg=this.hm=!1;this.Ga=15;this.Ea=1;this.Ay=this.pm=this.ib=this.we=!1;this.Kh=0;this.C=this.jm=this.NB=this.Ld=this.W=this.xm=this.ng=this.na=this.OB=this.Og=this.wm=
this.qm=!1;this.kg=1;this.lg=0;this.Hc=this.V=!1};
pka=function(a,b){1080<b.video.g&&!a.rm&&(a.A=36700160,a.B=5242880,a.ca=10485760,a.K=4194304,a.rm=!0);2160<b.video.g&&!a.tm&&(a.A=104857600,a.D=13107200,a.tm=!0);a.zn=Math.min(a.K,5*b.g)};
qka=function(){this.g=this.l=this.o=this.A=0};
dJ=function(a,b){a[b]||(a[b]=new qka);return a[b]};
g.eJ=function(a){this.A=a;this.B=this.l=this.C="";this.g={};this.o=""};
gJ=function(a){fJ(a);return a.B};
hJ=function(a){fJ(a);return Kb(a.g,function(a){return null!==a})};
jJ=function(a){fJ(a);if("/videoplayback"!=a.l){var b=a.clone();b.set("playerfallback","1");return b}var c=a.Qa();b=new g.nm(c);if(iJ){var d=a.get("fvip");a=(0,window.decodeURIComponent)(a.get("mn")||"").split(",");if(d&&a&&1<a.length&&a[1])return c=b.l.replace(/^[^.]*/,""),g.pm(b,"r"+d+"---"+a[1]+c),b=new g.eJ(b.toString()),b.set("fallback_count","1"),b}d=b.l.match("\\.a1\\.googlevideo\\.com$");b.l.match("\\.googlevideo\\.com$")?(g.pm(b,"redirector.googlevideo.com"),c=b.toString()):b.l.match("r[1-9].*\\.c\\.youtube\\.com$")?
(g.pm(b,"www.youtube.com"),c=b.toString()):c=jH(c);b=new g.eJ(c);b.set("cmo=pf","1");d&&b.set("cmo=td","a1.googlevideo.com");return b};
fJ=function(a){if(a.A){if(!eH(a.A))throw Error("Untrusted URL: "+a.A);var b=g.xm(a.A);a.C=b.A;a.B=b.l+(null!=b.B?":"+b.B:"");var c=b.o;if(0==c.indexOf("/videoplayback"))a.l="/videoplayback",c=c.substr(14);else if(0==c.indexOf("/api/manifest/")){var d=c.indexOf("/",14);0<d?(a.l=c.substr(0,d),c=c.substr(d+1)):(a.l=c,c="")}else a.l=c,c="";d=a.g;a.g=kJ(c);g.Fa(a.g,lJ(b.tx()));g.Fa(a.g,d);"index.m3u8"==a.g.file&&(delete a.g.file,a.l+="/file/index.m3u8");a.A="";a.o=""}};
rka=function(a){fJ(a);var b=a.C+(a.C?"://":"//")+a.B+a.l;if(hJ(a)){var c=[];g.Ib(a.g,function(a,b){null!==a&&c.push(b+"="+a)});
b+="?"+c.join("&")}return b};
kJ=function(a){a=a.split("/");var b=0;a[0]||b++;for(var c={};b<a.length;b+=2)a[b]&&mJ(c,a[b],a[b+1]);return c};
lJ=function(a){a=a.split("&");for(var b={},c=0;c<a.length;c++){var d=a[c],e=d.indexOf("=");0<e?mJ(b,d.substr(0,e),d.substr(e+1)):d&&(b[d]="")}return b};
mJ=function(a,b,c){if("cmo"==b){var d;0<=(d=c.indexOf("="))?(b="cmo="+c.substr(0,d),c=c.substr(d+1)):0<=(d=c.indexOf("%3D"))&&(b="cmo="+c.substr(0,d),c=c.substr(d+3))}a[b]=c};
nJ=function(a){this.g=a;this.l={};this.o=""};
ska=function(a,b){var c=b.indexOf("?");if(0<c){var d=lJ(b.substr(c+1));g.Ib(d,function(a,b){this.set(b,a)},a);
b=b.substr(0,c)}c=kJ(b);g.Ib(c,function(a,b){this.set(b,a)},a)};
tka=function(a){var b=a.g.Qa(),c=[];g.Ib(a.l,function(a,b){c.push(b+"="+a)});
if(!c.length)return b;var d=c.join("&");a=hJ(a.g)?"&":"?";return b+a+d};
oJ=function(a,b){var c=new g.eJ(b),d=c.get("req_id");d&&a.set("req_id",d);g.Ib(a.l,function(a,b){c.set(b,null)});
return c};
uka=function(a){this.B=a.clone();this.o=a;this.l=null;this.A=this.g=0};
qJ=function(a,b){var c=dJ(b,gJ(a.o));if(2<=c.l||1<=c.g){var d=pJ(a);d=dJ(b,gJ(d));if(d.l+d.g<=c.l+c.g)return!0}return!1};
g.rJ=function(a,b){var c=b?pJ(a):a.o;return new nJ(c)};
pJ=function(a){a.l||(a.l=jJ(a.B));return a.l};
sJ=function(a){return 1<a.g?a.A+1E3*Math.pow(1.6,a.g-1)<g.HF():!0};
g.tJ=function(a,b,c){b.g===a.o&&(a.o=oJ(b,c));b.g===a.l&&(a.l=oJ(b,c))};
uJ=function(a,b){this.g=a[0].g.A;this.o=b||"";this.Ba=a;this.range=this.Ba[0].range&&0<this.Ba[0].fb?kka(this.Ba):null;this.l=window.NaN;this.A=this.requestId=null};
vka=function(a){return 4==a.Ba[a.Ba.length-1].type};
g.vJ=function(a,b,c){/http[s]?:\/\//.test(a.o)?b=new nJ(new g.eJ(a.o)):(b=null===a.A?qJ(a.g,b):a.A,b=g.rJ(a.g,b),a.o&&ska(b,a.o));(c=c||a.range)&&b.set("range",c.toString());a.requestId&&b.set("req_id",a.requestId);(0,window.isNaN)(a.l)||b.set("headm",a.l.toString());return b};
wJ=function(a){if(a.range)return a.range.length;a=a.Ba[0];return Math.round(a.D*a.g.info.g)};
wka=function(a,b,c){return a.range?new g.eI(a.range.start+b,a.range.end):gI(b,c)};
xJ=function(a,b,c){this.index=null;this.info=b;this.initRange=c||null;this.g=null;this.C=this.D=!1;this.A=new uka(a);this.o=null};
yJ=function(a,b){a.info&&a.info.video&&4==a.info.video.projectionType&&!a.o&&(g.EG(a.info)?a.o=hka(b):2==a.info.containerType&&(a.o=lka(b)))};
zJ=function(a,b,c,d,e,f){f=void 0===f?0:f;xJ.call(this,a,b,d);this.index=e||new g.CH;this.B=f;this.H=c;this.F=!0;if(this.l=!c)this.D=!0};
AJ=function(a,b,c){this.segments=[];this.l=a;this.o=void 0===b?0:b;this.g=void 0===c?!1:c};
CJ=function(a,b,c){b=BJ(a,b);return 0<=b&&(c||!a.segments[b].g)};
BJ=function(a,b){return g.db(a.segments,{ua:b},function(a,b){return a.ua-b.ua})};
DJ=function(a,b,c){return new BH(b,c.startTime-(c.ua-b)*a.l,a.l,0,"sq/"+b,void 0,void 0,!0)};
EJ=function(a,b,c,d,e){d=void 0===d?!1:d;e=void 0===e?14400:e;zJ.call(this,a,b,"",void 0,void 0,c);this.index=new AJ(c||0,e,d)};
xka=function(a,b,c,d,e){this.ua=a;this.Xe=b;this.durationSecs=c;this.g=d||window.NaN;this.l=e||window.NaN};
FJ=function(a,b,c){for(;a;a=a.parentNode)if(a.attributes&&(!c||a.nodeName==c)){var d=a.getAttribute(b);if(d)return d}return""};
GJ=function(a,b){for(var c=a;c;c=c.parentNode){var d=c.getElementsByTagName(b);if(0<d.length)return d[0]}return null};
HJ=function(a){if(!a)return 0;var b=a.match(/PT(([0-9]*)H)?(([0-9]*)M)?(([0-9.]*)S)?/);return b?3600*(0,window.parseFloat)(b[2]||0)+60*(0,window.parseFloat)(b[4]||0)+(0,window.parseFloat)(b[6]||0):(0,window.parseFloat)(a)};
IJ=function(a){return a.match(/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})\.(\d{3})$/)?a+"Z":a};
JJ=function(){this.g=[];this.l=null;this.B=0;this.A=[];this.o=!1;this.C=""};
yka=function(a){var b=a.A;a.A=[];return b};
zka=function(){this.A=[];this.g=null;this.l={};this.o={}};
Dka=function(a,b,c){var d=[];b=g.na(b.getElementsByTagName("SegmentTimeline"));for(var e=b.next();!e.done;e=b.next()){e=e.value;var f=e.parentNode.parentNode,k=null;"Period"==f.nodeName?k=Aka(a):"AdaptationSet"==f.nodeName?k=Bka(a,f.attributes.id?f.attributes.id.value:f.attributes.mimetype.value):"Representation"==f.nodeName&&(k=Cka(a,f.attributes.id.value));if(null==k)return;k.update(e,c);Xa(d,yka(k))}faa(d,function(a){return a.Xe});
Xa(a.A,d)};
Eka=function(a){a.g&&(a.g.g=[]);g.Ib(a.l,function(a){a.g=[]});
g.Ib(a.o,function(a){a.g=[]})};
Aka=function(a){a.g||(a.g=new JJ);return a.g};
Bka=function(a,b){a.l[b]||(a.l[b]=new JJ);return a.l[b]};
Cka=function(a,b){a.o[b]||(a.o[b]=new JJ);return a.o[b]};
g.KJ=function(){this.Ha=0;this.g=new window.Float64Array(128);this.l=new window.Float64Array(128);this.A=1;this.o=!1};
LJ=function(a){if(a.g.length<a.Ha+1){var b=2*a.g.length;b+=2;var c=a.g;a.g=new window.Float64Array(b+1);var d=a.l;a.l=new window.Float64Array(b+1);for(b=0;b<a.Ha+1;b++)a.g[b]=c[b],a.l[b]=d[b]}};
g.MJ=function(a,b,c,d,e,f){xJ.call(this,a,b,c||void 0);this.indexRange=d;this.B=null;this.index=new g.KJ;this.l=e;this.lastModified=f};
NJ=function(a,b,c,d){for(var e=[];b<=a.index.Ec();b++){var f=a.index,k=b;f=gI(f.ro(k),k+1<f.Ha||f.o?f.g[k+1]-f.g[k]:-1);k=a.index.Vd(b);var l=a.index.getDuration(b),m=Math.max(0,c-f.start),n=Math.min(f.end+1,c+d)-(f.start+m);e.push(new iI(3,a,f,b,k,l,m,n,b==a.index.Ec()&&m+n==f.length));if(f.start+m+n>=c+d)break}return new uJ(e)};
Fka=function(a,b){return OJ(function(a,b){return lE(a,b,4,1E3)},a,b)};
g.PJ=function(a){var b;a.responseType&&"text"!=a.responseType?"arraybuffer"==a.responseType&&(b=String.fromCharCode.apply(String,new window.Uint8Array(a.response))):b=a.responseText;return!b||2048<b.length?"":0==b.indexOf("https://")?b:""};
OJ=function(a,b,c){return a(b,c).then(function(b){var d=g.PJ(b);return d?OJ(a,d,c):b})};
RJ=function(a){a=a.split("");QJ.s5(a,50);QJ.Mv(a,2);QJ.s5(a,19);QJ.U8(a,16);QJ.s5(a,16);QJ.U8(a,4);return a.join("")};
SJ=function(a,b,c){a=void 0===a?"":a;b=void 0===b?null:b;c=void 0===c?!1:c;g.hF.call(this);this.V=this.duration=0;this.isLive=this.o=!1;this.I=g.HF();this.D=window.Infinity;this.g={};this.W=a||"";this.C=this.M=0;this.B=null;this.ca=!!b&&b.g("html5_live_nonzero_first_segment_start_time");this.l=!1;this.K=[];this.da=!!b&&b.g("html5_live_self_init_segments");this.A=null;this.fa=c;this.ba=!b||!b.g("html5_manifest_without_credentials");this.F=0;this.N=!!b&&b.g("disable_html5_manifest_namespace_redux");
this.X="";this.H=window.NaN;this.Y=b&&b.g("disable_html5_duration_caching")?window.Infinity:10};
TJ=function(a){return Kb(a.g,function(a){return!!a.info.Cc})};
g.UJ=function(a){return Kb(a.g,function(a){return g.HG(a.info.mimeType)})};
Gka=function(a){return g.Lb(a.g,function(a){return a.info.video?a.Lt():!0})};
VJ=function(a,b,c,d,e){c=void 0===c?0:c;return(void 0===d?0:d)?Hka(a,b,e):Ika(a,b,c,e)};
Ika=function(a,b,c,d){c=void 0===c?0:c;var e=new SJ("",d,!1);e.duration=c||0;(0,g.C)(a,function(a){var c=WJ(a,b,e.duration),d=fI(a.init),f=fI(a.index),n=(0,window.parseInt)(a.clen,10),q=XJ(a.url,a.s);a=(0,window.parseInt)(a.lmt,10);q&&(c=new g.MJ(q,c,d,f,n,a),e.g[c.info.id]=c)});
return e};
Hka=function(a,b,c){var d=new SJ("",c,!0);(0,g.C)(a,function(a){var e=WJ(a,b),k=XJ(a.url,a.s),l=(0,window.parseInt)(a.target_duration_sec,10);a=(0,window.parseInt)(a.max_dvr_duration_sec,10)||14400;k&&(e=new EJ(k,e,l,c&&c.g("html5_manifestless_always"),a),d.g[e.info.id]=e)});
d.o=!0;d.l=!0;d.isLive=!0;return d};
WJ=function(a,b,c){c=void 0===c?0:c;var d=a.type,e=a.itag,f=Jka(a),k=null;GG(d)&&(k=(a.size||"640x360").split("x"),k=new wG(+k[0],+k[1],+a.fps,+a.projection_type,+a.stereo_layout,void 0,!!a.isAccelerated,a.quality_label,a.eotf,a.primaries,!!a.isAcceleratedUiEnabled),d=Kka(d,k));var l=null,m=null;if(FG(d)){l=0;if("258"==e||"261"==e)l=6;l=new sG(void 0,l,+a.spatial_audio_type);a.name&&(m=new tG(a.name,a.audio_track_id,"1"==a.isDefault))}e=(0,window.parseInt)(a.bitrate,10)/8;var n=(0,window.parseInt)(a.clen,
10);c=c&&n?n/c:0;var q=null;b&&a.drm_families&&(q={},(0,g.C)(a.drm_families.split(","),function(a){q[a]=b[a]}));
return new BG(f,d,l,k,m,q,e,c)};
Jka=function(a){var b=a.itag,c=a.xtags;c&&(b=a.itag+";"+c);return b};
XJ=function(a,b){b=void 0===b?"":b;var c=new g.eJ(a);c.set("ratebypass","yes");a.match(/https:\/\/yt.akamaized.net/)||c.set("alr","yes");b&&c.set("signature",RJ(b));return c};
$J=function(a,b){var c=FJ(b,"id");c=c.replace(":",";");"captions"==c&&(c=FJ(b,"lang"));var d=FJ(b,"mimeType"),e=FJ(b,"codecs");d=e?d+'; codecs="'+e+'"':d;e=(0,window.parseInt)(FJ(b,"bandwidth"),10)/8;var f=(0,window.parseInt)(GJ(b,"BaseURL").getAttribute(YJ(a,"contentLength")),10);f=a.duration&&f?f/a.duration:0;var k=null;if(GG(d)){k=(0,window.parseInt)(FJ(b,"width"),10);var l=(0,window.parseInt)(FJ(b,"height"),10),m=(0,window.parseInt)(FJ(b,"frameRate"),10),n=Lka(FJ(b,YJ(a,"projectionType")));a:switch(FJ(b,
YJ(a,"stereoLayout"))){case "layout_left_right":var q=1;break a;case "layout_top_bottom":q=2;break a;default:q=0}k=new wG(k,l,m,n,q)}m=l=null;if(FG(d))if(l=(0,window.parseInt)(FJ(b,"audioSamplingRate"),10),m=(0,window.parseInt)(FJ(b.getElementsByTagName("AudioChannelConfiguration")[0],"value"),10),n=Mka(FJ(b,YJ(a,"spatialAudioType"))),l=new sG(l,m,n),m=FJ(b,"lang")||"und",n=GJ(b,"Role")){var r=FJ(n,"value")||"";Qb(ZJ,r)?(n=m+"."+ZJ[r],q="main"==r,m=FJ(b,YJ(a,"langName"))||m+" - "+r,m=new tG(m,n,q)):
m=null}else m=null;q=null;if(n=GJ(b,"ContentProtection"))if(g.XD())if((q=n.attributes.schemeIdUri)&&"http://youtube.com/drm/2012/10/10"==q.value)for(q={},n=n.firstChild;null!=n;n=n.nextSibling)"yt:SystemURL"==n.nodeName&&(q[n.attributes.type.value]=n.textContent.trim());else q=null;else if((q=n.attributes.schemeIdUri)&&"http://youtube.com/drm/2012/10/10"==q.textContent)for(q={},n=n.firstChild;null!=n;n=n.nextSibling)"SystemURL"==n.localName&&"http://youtube.com/yt/2012/10/10"==n.namespaceURI&&(q[n.attributes.type.textContent]=
n.textContent.trim());else q=null;return new BG(c,d,l,k,m,q,e,f)};
Lka=function(a){switch(a){case "equirectangular":return 2;case "equirectangular_threed_top_bottom":return 3;case "mesh":return 4;case "rectangular":return 1;default:return 0}};
Mka=function(a){switch(a){case "spatial_audio_type_ambisonics_5_1":return 1;case "spatial_audio_type_ambisonics_quad":return 2;case "spatial_audio_type_foa_with_non_diegetic":return 3;default:return 0}};
aK=function(a,b){b=void 0===b?"":b;a.C=1;a.I=g.HF();return g.eg(Fka(b||a.W,{format:"RAW",method:"GET",withCredentials:a.ba}).then((0,g.z)(a.QH,a)),(0,g.z)(a.TH,a))};
bK=function(a,b){var c=new SJ,d;for(d in a)c[d]=g.$b(a[d]);var e={},f=!1;g.Ib(a.g,function(a,c){if(a){var d=b(a,c);d?(e[c]=d,f=!0):e[c]=a}});
c.g=e;return f?c:null};
Nka=function(a,b,c){var d=a.getAttribute("media"),e=null;c||(a=a.getAttribute("mediaRange"),null!=a&&(0<=(0,window.parseInt)(a.split("-")[1],10)?e=fI(a):d=d+"?range="+a));return new BH(b.ua,b.Xe,b.durationSecs,b.g,d,e,b.l)};
cK=function(a){return a.isLive&&g.HF()-a.I>=a.D};
dK=function(a){var b=a.D;(0,window.isFinite)(b)&&(cK(a)?a.ez():(b=Math.max(0,a.I+b-g.HF()),a.A||(a.A=new g.Mt(a.ez,b,a),g.M(a,a.A)),a.A.start(b)))};
Oka=function(a){a=a.g;for(var b in a){var c=a[b].index;if(c&&c.Ub())return c.Ec()+1}return 0};
eK=function(a){if(!(0,window.isNaN)(a.H))return a.H;var b=a.g,c;for(c in b){var d=b[c].index;if(d&&d.Ub()){b=0;for(c=d.Gf();c<=d.Ec();c++)b+=d.getDuration(c);b/=d.jj();b=.5*Math.round(b/.5);d.jj()>a.Y&&(a.H=b);return b}if(a.isLive&&(d=b[c],d.B))return d.B}return window.NaN};
fK=function(a,b){for(var c in a.g){var d=a.g[c].index;if(d&&d.Ub()){var e=d.hh(b),f=d.Bs(e);if(f)return f+b-d.Vd(e)}}return window.NaN};
Pka=function(a,b){g.Ib(a.g,function(a){g.Ib(b,function(b,c){var d=a.A;d.o.set(c,b);d.B.set(c,b);d.l&&d.l.set(c,b)})})};
Qka=function(a,b,c){var d=!1,e;for(e in a.g)if(!!a.g[e].info.video==c){var f=a.g[e].index;CJ(f,b.ua)||(f.dz(b),d=!0)}return d};
gK=function(a,b,c){for(var d in a.g)if(!!a.g[d].info.video==c){var e=a.g[d].index,f=BJ(e,b);0<=f&&e.segments.splice(f,1)}};
YJ=function(a,b){return a.N?"yt:"+b:a.X+":"+b};
Kka=function(a,b){if('video/webm; codecs="vp9.2"'!=a)return a;null===hK&&(hK=window.MediaSource&&window.MediaSource.isTypeSupported&&window.MediaSource.isTypeSupported('video/webm; codecs="vp09.02.51.10.01.09.16"')&&!window.MediaSource.isTypeSupported('video/webm; codecs="vp09.02.51.10.01.09.99"'));hK&&(a='video/webm; codecs="vp09.02.51.10.01.'+("bt2020"==b.primaries?"09":"01")+"."+("smpte2084"==b.l?"16":"arib-std-b67"==b.l?"18":"01")+'"');return a};
Rka=function(a){return g.Ka(Object.values(a.g),function(a){return a.info.Cc&&a.info.video?480<a.info.video.g&&"H"==a.info.l:!1})};
iK=function(a,b,c,d){this.flavor=a;this.g=b;this.A=c;this.o={};this.l=null;this.fairPlayCert="";this.B=!!d&&d.g("edge_nonprefixed_eme")};
kK=function(a){return a.B?!1:!a.l&&!!jK()&&"com.microsoft.playready"==a.g};
lK=function(a){return"com.microsoft.playready"==a.g};
nK=function(a){return mK&&"com.microsoft.playready"==a.g&&!!window.navigator.requestMediaKeySystemAccess};
oK=function(a){return!a.l&&!!jK()&&"com.apple.fps.1_0"==a.g};
jK=function(){var a=window.MSMediaKeys;bE()&&!a&&(a=window.WebKitMediaKeys);return a&&a.isTypeSupported?a:null};
qK=function(a){return window.navigator.requestMediaKeySystemAccess?g.aJ?g.Dn("45"):mK||g.sd?a.g("edge_nonprefixed_eme"):g.pK?g.Dn("47"):!a.g("html5_disable_nonprefixed_eme_for_other"):!1};
rK=function(a,b,c){g.K.call(this);this.l=[];this.g={};this.A={};this.B=null;this.o=b;this.H=c;this.C=!1;Ska(this,a)};
Ska=function(a,b){for(var c in b)for(var d=g.na(b[c]),e=d.next();!e.done;e=d.next()){e=e.value;if(!e.Cc)return;for(var f in e.Cc){if(!sK[f])return;for(var k=g.na(sK[f]),l=k.next();!l.done;l=k.next())l=l.value,a.g[l]=a.g[l]||new iK(f,l,e.Cc[f],a.o),a.A[f]=a.A[f]||{},a.A[f][e.mimeType]=!0}}ZD()?(a.l=["com.youtube.fairplay"],a.g["com.youtube.fairplay"]=new iK("fairplay","com.youtube.fairplay","",a.o),a.A.fairplay={'audio/mp4; codecs="avc1.4d4015"':!0,'video/mp4; codecs="mp4a.40.2"':!0}):a.l=Tka.filter(function(b){return a.g[b]?
!(a.H&&"widevine"==a.g[b].flavor):!1})};
tK=function(a){if(!a.ha())if(0==a.l.length)a.B(null);else{var b=a.l[0],c=a.g[b],d={initDataTypes:["cenc","webm"],audioCapabilities:[],videoCapabilities:[]};lK(c)&&(d.initDataTypes=["keyids","cenc"]);for(var e in a.A[c.flavor]){var f=0==e.indexOf("audio/"),k=f?d.audioCapabilities:d.videoCapabilities;a.o.g("html5_widevine_robustness_strings")&&"widevine"==c.flavor&&!a.C?f?k.push({contentType:e,robustness:"SW_SECURE_CRYPTO"}):(f=a.o.g("html5_widevine_hw_secure_all")?"HW_SECURE_ALL":"HW_DECODE_ALL",k.push({contentType:e,
robustness:f}),k.push({contentType:e,robustness:"SW_SECURE_DECODE"})):k.push({contentType:e})}window.navigator.requestMediaKeySystemAccess(b,[d]).then(uD((0,g.z)(a.F,a,c)),uD((0,g.z)(a.D,a)))}};
Uka=function(a,b){function c(a){b.o[a.contentType]=!0}
if(lK(b)){var d=MI(),e;for(e in a.A[b.flavor])b.o[e]=!!d.canPlayType(e)}else d=b.l.getConfiguration(),d.audioCapabilities&&d.audioCapabilities.forEach(c),d.videoCapabilities&&d.videoCapabilities.forEach(c)};
Wka=function(a){if(jK()&&g.gk)a.B(new iK("fairplay","com.apple.fps.1_0","",a.o));else{var b=Vka(),c=g.Ka(a.l,function(c){var d=a.g[c],f=!1,k=!1,l;for(l in a.A[d.flavor])b(l,c)&&(d.o[l]=!0,f=f||0==l.indexOf("audio/"),k=k||0==l.indexOf("video/"));return f&&k});
c=c?a.g[c]:null;a.l=[];a.B(c)}};
Vka=function(){var a=jK();if(a)return function(b,d){return a.isTypeSupported(d,b)};
var b=MI();return b&&(b.addKey||b.webkitAddKey)?(0,g.z)(b.canPlayType,b):function(){return!1}};
Xka=function(){this.o=2048;this.g=17;this.B=13E4;this.D=.5;this.A=!1;this.C=0;this.l=!1};
uK=function(a){this.B=Math.exp(Math.log(.5)/a);this.l=this.A=0};
wK=function(a,b,c,d){c=void 0===c?.5:c;d=void 0===d?0:d;this.K=b;this.l=Math.round(a*this.K);this.B=Array(this.l);for(a=0;a<this.l;a++)this.B[a]=window.Infinity;this.I=vK(this);this.A=0;this.C=!1;this.F=!0;this.D=c;this.H=d};
vK=function(a){for(var b=Array(a.l),c=0;c<a.l;c++)b[c]=c;return b};
xK=function(a,b){if(!a.C&&0==a.A)return 0;a.F&&(g.fb(a.I,function(b,d){return a.B[b]-a.B[d]}),a.F=!1);
return a.B[a.I[Math.round(b*((a.C?a.l:a.A)-1))]]||0};
Yka=function(){this.l=0;this.C=this.bandwidthEstimate=this.B=this.o=this.A=window.NaN;this.g=""};
Zka=function(a){this.policy=a;this.F=this.I=0;this.A=-1;this.D=this.o=g.HF();this.C=new wK(4,1,.6,.4);this.H=new wK(10,1,.5,.4);this.l=a.A?new uK(a.g):new wK(a.g,20,.5,.4);this.B=new wK(5,1,.25);this.g=new wK(30,1,.5);a=g.kG("yt-player-bandwidth")||{};this.l.g(this.policy.D,0<a.byterate?a.byterate:this.policy.B);0<a.delay&&this.C.g(1,Math.min(+a.delay,2));0<a.stall&&this.H.g(1,+a.stall);0<a.init&&(this.D=Math.min(a.init,this.D));this.A=g.HF()};
zK=function(a,b,c){b=Math.max(b,a.policy.o);a.H.g(1,c/b);yK(a)};
AK=function(a){a=a.C.o();a=(0,window.isNaN)(a)?.5:a;return a=Math.min(a,5)};
BK=function(a,b,c){(0,window.isNaN)(c)||(a.F+=c);(0,window.isNaN)(b)||(a.I+=b)};
CK=function(a){return a.H.o()||0};
DK=function(a){a=a.l.o();return 0<a?a:1};
EK=function(a){var b=DK(a);a.policy.l&&(b=1/(CK(a)+1/b));a=a.B.o();return Math.max(b,0<a?a:1)};
FK=function(a){var b={};b.delay=AK(a);b.stall=CK(a);b.byterate=DK(a);b.init=a.D;return b};
yK=function(a){-1<a.A&&3E4<g.HF()-a.A&&(TG(FK(a)),a.A=g.HF())};
GK=function(a){return 4E3<=g.HF()-a.o};
HK=function(a,b,c){this.videoInfos=a;this.g=b||null;this.audioTracks=[];this.l=c||null;if(this.g){var d={};(0,g.C)(this.g,(0,g.z)(function(a){if(a.Nb&&!d[a.id]){var b=new yH(a.id,a.Nb);d[a.id]=b;this.audioTracks.push(b)}},this))}};
$ka=function(a,b,c){this.g=a;this.B=b;this.C=void 0===c?!1:c;this.o={};this.A=!!g.x("cast.receiver.platform.canDisplayType");a=g.x("cast.receiver.platform.getValue");this.l=!this.A&&a&&a("max-video-resolution-vpx")||null};
JK=function(a,b){if(b)return nE();for(var c={},d=MI(),e=g.na(a),f=e.next();!f.done;f=e.next())if(f=f.value,AG(f.Zg)in ala||"5"==AG(f.Zg)?0:IK(d,f.vg().mimeType)){var k=f.Zg.video.quality;c[k]&&2!=c[k].vg().containerType||(c[k]=f)}var l=[];c.auto&&l.push(c.auto);(0,g.C)(zG,function(a){(a=c[a])&&l.push(a)});
return oE(l)};
KK=function(){var a=WD()&&!g.Dn(29),b=UD("google tv")&&UD("chrome")&&!g.Dn(30),c=ZD();return a||b||c?!1:!!(window.MediaSource||window.WebKitMediaSource||window.HTMLMediaElement&&window.HTMLMediaElement.prototype.webkitSourceAddId)};
IK=function(a,b){var c=a.canPlayType(b);LK?c=c||bla[b]:2.2==MK?c=c||dla[b]:WD()&&(c=c||ela[b]);return!!c};
g.NK=function(){return!(!IK(MI(),"application/x-mpegURL")&&!KK())};
PK=function(a,b){var c={},d=b.Ne()||b.Pf()||b.Qf();YD();for(var e in b.g){var f=b.g[e],k=AG(f.info);("304"!=k&&"266"!=k||b.o||d)&&fla(a,f.info)&&(c[f.info.l]=c[f.info.l]||[],c[f.info.l].push(f.info))}return c};
gla=function(a,b,c){var d={},e;g.Ib(b,function(b,k){var f=b.filter(function(b){return b.Cc?c&&b.Cc[c.flavor]&&c.o[b.mimeType]?"261"!=AG(b)||QK(a,RK)?"("!=b.l&&"(h"!=b.l||QK(a,SK)||a.C?!0:!1:(e||(e=MI()),!1):!1:!0});
f.length&&(d[k]=f)});
return d};
XK=function(a,b,c,d,e,f){function k(a){return!!l[a]}
var l=PK(a,b);TJ(b)&&(l=gla(a,l,c));var m=a.g.g("html5_disable_vp9_hdr_enc")?hla:ila;f?m=jla:!UD("windows nt 5.1")||g.pK&&!a.g.g("html5_prefer_h264_on_xp")?(b.Pf()||b.Qf()||b.Ne())&&TK&&6>=MK&&(m=UK):m=UK;c=kla;d&&(f||(m=UK),c=lla);if($D()||aE()||QK(a,RK))c=mla;(b.Pf()||b.Qf()||b.Ne())&&e&&(c=nla.concat(c));d=g.Ka(m,k);e=g.Ka(c,k);if(!d||!e)return nE();"9"==d&&l.h&&(f=function(a,b){return Math.max(a,b.video.height)},c=Rj(l["9"],f,0),Rj(l.h,f,0)>1.5*c&&(d="h"),a.g.g("html5_vp9_live_blacklist_edge")&&
b.o&&mK&&(d="h"));
b=l[d];f=l[e];b=VK(a,b);WK(b,f);return oE(new HK(b,f,ola(a,l,d,e)))};
ola=function(a,b,c,d){var e=b.h;"f"==c&&(e=b[c]);var f=b.a;c=b[c]!=e;b="a"!=b[d];return e&&f&&(c||b)?(e=VK(a,e),WK(e,f),new HK(e,f)):null};
WK=function(a,b){g.fb(a,function(a,b){return b.video.height*b.video.width-a.video.height*a.video.width||b.g-a.g});
g.fb(b,function(a,b){return b.g-a.g})};
VK=function(a,b){var c=(0,g.Kj)(b,function(a){return 32<a.video.fps});
c&&(b=a.B||QK(a,YK)?(0,g.Hd)(b,function(a){var b;(b=32<a.video.fps)||(a=a.video,b=!(854<a.width||480<a.height));return b}):(0,g.Hd)(b,function(a){return!(32<a.video.fps)}));
c&&$D()&&(b=(0,g.Hd)(b,function(a){return"299"!=AG(a)}));
return b};
fla=function(a,b){if("0"==AG(b))return!0;var c=b.mimeType;if(b.video&&(yG(b.video)||"bt2020"==b.video.primaries)&&!(24<window.screen.pixelDepth||QK(a,ZK))||!("338"!=AG(b)||g.aJ&&g.Dn(53)))return!1;var d={};b.video&&(b.video.width&&(d[$K.name]=b.video.width),b.video.height&&(d[aL.name]=b.video.height),b.video.fps&&(d[YK.name]=b.video.fps),b.video.l&&(d[ZK.name]=b.video.l),b.g&&(d[bL.name]=8*b.g),"("==b.l&&(d[SK.name]="subsample"));b.audio&&b.audio.g&&(d[RK.name]=b.audio.g);for(var e in cL){var f=cL[e];
if(d[f.name]&&!(f==ZK&&0<b.mimeType.indexOf("vp09.02")))if(QK(a,f))if(a.l){if(a.l[f.name]<d[f.name])return!1}else c=c+"; "+f.name+"="+d[f.name];else if(DG(b)&&f==ZK)return!1}!a.g.g("disable_html5_cast_hdcp_filter2")&&a.A&&b.video&&1080<b.video.g&&b.Cc&&(c+="; hdcp=2.2");return dL(a,c)};
QK=function(a,b){if(!(b.name in a.o)){var c=a.o,d=b.name;if(a.l)var e=!!a.l[b.name];else b==bL&&a.g.g("html5_ignore_bad_bitrates")&&dL(a,'video/webm; codecs="vp9"; width=3840; height=2160; bitrate=2000000')&&!dL(a,'video/webm; codecs="vp9"; width=3840; height=2160; bitrate=20000000')?e=!1:(b.video?(e='video/webm; codecs="vp9"',dL(a,e)||(e='video/mp4; codecs="avc1.4d401e"')):(e='audio/webm; codecs="opus"',dL(a,e)||(e='audio/mp4; codecs="mp4a.40.2"')),e=dL(a,e+"; "+b.name+"="+b.valid)&&!dL(a,e+"; "+
b.name+"="+b.ki));c[d]=e}return a.o[b.name]};
dL=function(a,b){return a.A?window.cast.receiver.platform.canDisplayType(b):bJ(b)};
eL=function(){g.hF.call(this);this.Ja={}};
fL=function(a,b){return void 0==b?a:"1"==b?!0:!1};
gL=function(a,b,c){for(var d in c)if(c[d]==b)return c[d];return a};
hL=function(a,b){return void 0==b?a:Number(b)};
iL=function(a,b){return void 0==b?a:b.toString()};
jL=function(a,b){if(b){if("fullwidth"==a)return window.Infinity;if("fullheight"==a)return 0}if(a){var c=a.match(pla);if(c){var d=(0,window.parseFloat)(c[2]);if(0<d)return(0,window.parseFloat)(c[1])/d}}return window.NaN};
kL=function(a,b){var c=g.vG.auto,d=b?g.vG[b]:void 0;return d>g.vG.medium?new MG(d,c,!1):d>=c?new MG(c,d,!1):a};
lL=function(a){return a.docid||a.video_id||a.videoId||a.id};
nL=function(){this.g=g.sD("ALT_PREF_COOKIE_NAME","PREF");var a;if(a=g.nG.get(""+this.g,void 0)){a=(0,window.decodeURIComponent)(a).split("&");for(var b=0;b<a.length;b++){var c=a[b].split("="),d=c[0];(c=c[1])&&(mL[d]=c.toString())}}};
oL=function(a){if(/^f([1-9][0-9]*)$/.test(a))throw Error("ExpectedRegexMatch: "+a);};
pL=function(a){if(!/^\w+$/.test(a))throw Error("ExpectedRegexMismatch: "+a);};
EL=function(a){g.K.call(this);a=g.Yb(a);this.Ga=!1;this.Y=this.ka="";this.fd={};this.gm=iL("",a.csp_nonce);this.experiments=new JG(a.fexp,a.fflags);this.forcedExperiments=a.forced_experiments||null;try{var b=window.document.location.toString()}catch(e){b=""}this.na=b;this.M=(this.l=qla.test(this.na))?iL("",a.loaderUrl):this.na;this.wb=rla.test(this.M);this.rm=gH(this.M);this.Ea=fL(!1,a.privembed);this.H=(this.ra=fL(!1,a.forcenewui))||this.experiments.g("embed_new_info_bar")&&this.l;this.protocol=
0==this.na.indexOf("http:")?"http":"https";this.baseYtUrl=aH(a.BASE_YT_URL)||aH(this.na)||this.protocol+"://www.youtube.com/";b=a.el;var c="detailpage";"adunit"==b?c=this.experiments.g("html5_adunit_from_adformat")?this.l?"embedded":"detailpage":this.rm?"adunit":"embedded":"embedded"==b||this.wb?c=gL(c,b,sla):b&&(c="embedded");this.V=c;SF();b=null;c=a.ps;var d=g.Oa(qL,c);!c||d&&!this.wb||(b=c);this.playerStyle=b;this.F=(this.kc=g.Oa(qL,this.playerStyle))&&"play"!=this.playerStyle&&"jamboard"!=this.playerStyle;
this.qm=!this.F;b={};this.A=(b.c=a.c||"web",b.cver=a.cver||"html5",b.cplayer="UNIPLAYER",b);this.I=fL(!1,a.disableplaybackui);this.oa=!this.I&&!(!MI().defaultPlaybackRate||g.Ye&&!UD("chrome")||rL||sL||UD("android")||UD("silk"));this.g=fL("blazer"==this.playerStyle,a.is_html5_mobile_device);this.g?b=!0:(b=(0,window.parseInt)((0,g.G)()/1E3,10),c=nL.getInstance(),b=this.experiments.g("block_desktop_background_playback_with_mobile_cookie")&&c&&b>(0,window.parseInt)(c.get("dhmu",b.toString()),10));this.pm=
b;this.X="3"==this.o||this.g||fL(!1,a.use_media_volume);this.K=NI();this.Nm=tL;(rL||sL||g.gk)&&"blazer"!=this.playerStyle&&g.uL(this);this.Sa=g.vL(this)&&this.experiments.g("use_rawcc_captions");this.D=fL(!1,a.is_dni);this.Pb=iL("#cc181e",a.dni_color);this.zd=this.ra||fL(!wL(this)&&!xL(this)&&!this.kc,a.showinfo);this.Og=fL(!1,a.playsinline);b=this.g&&TK&&2.3>=MK;c=this.g;c=yL(this)||!b&&fL(c,a.use_native_controls)?"3":"1";this.o="0"!=a.controls?c:"0";this.useTabletControls=this.g;this.color=gL("red",
a.color,tla);this.tm="3"==this.o||fL(!1,a.modestbranding)&&"red"==this.color;this.ca=0==this.M.indexOf(this.baseYtUrl);this.Rg=(c=!this.ca&&!xL(this)&&!this.F&&!this.kc&&!wL(this))&&(this.D||!this.tm)&&"1"==this.o;this.Sg=g.zL(this)&&c&&!this.zd&&!this.Rg;this.jo=this.wm=b;this.ce=!sL||g.nc(601)?!0:!1;this.lm=this.l||!1;this.Ia=xL(this)?"":(this.M||a.post_message_origin||"").substring(0,128);this.widgetReferrer=iL("",a.widget_referrer);this.Qb=(!this.wb||fL(!0,a.enablecastapi))&&"1"==this.o&&!this.g&&
(xL(this)||g.zL(this)||g.AL(this));this.hm=((this.xb=fL(!1,a.autoplay))||xL(this))&&!a.suppress_autoplay_on_watch;this.Ld=!this.g&&!cE()&&!UD("nintendo 3ds")||fL(!1,a.autoplayoverride);this.we=fL(!1,a.mutedautoplay)&&!1;b=(xL(this)||wL(this))&&("blazer"==this.playerStyle||"mweb-polymer"==this.playerStyle);this.Hc=!fL(!0,a.fs);this.fa=!this.Hc&&(b||IE());this.fm=this.experiments.g("uniplayer_block_pip")&&WD()&&g.Dn(58)&&!(g.Mn&&UD("version/"));this.Kd=this.ra||fL(!this.kc,a.rel);this.da=g.AL(this);
this.yd="blazer"==this.playerStyle||"mweb-polymer"==this.playerStyle;switch(this.playerStyle){case "blogger":b="bl";break;case "gmail":b="gm";break;case "books":b="gb";break;case "docs":b="gd";break;case "google-live":b="gl";break;case "play":b="gp";break;case "chat":b="hc";break;case "picasaweb":b="pw";break;default:b="yt"}this.Xa=b;this.Zc=iL("",a.authuser);this.zn=(this.l&&!this.Ea||!!this.Zc)&&fL(!this.F,this.wb?a.showwatchlater:void 0);this.kg=fL(!1,a.disablekb);this.lg=iL("",a.ecver);this.loop=
fL(!1,a.loop);this.pageId=iL("",a.pageid);this.xm=kL(PG,a.vq);this.sn=fL(!0,a.canplaylive);this.im=fL(this.kc,a.ss);(b=a.video_container_override)?(c=b.split("x"),2!=c.length?b=null:(b=(0,window.parseInt)(c[0],10),c=(0,window.parseInt)(c[1],10),b=(0,window.isNaN)(b)||(0,window.isNaN)(c)||0>=b*c?null:new g.cd(b,c))):b=null;this.Kh=b;this.mute=fL(!1,a.mute);this.useMiniplayerUi=fL(!1,a.use_miniplayer_ui);this.storeUserVolume=!this.mute&&fL("0"!=this.o,a.store_user_volume);this.Ug="3"==this.o?3:gL(void 0,
a.iv_load_policy,BL);this.Wg=iL("",a.cc_lang_pref);b=gL(2,a.cc_load_policy,BL);"3"==this.o&&2==b&&(b=3);this.Xg=b;this.Oa=iL("en_US",a.hl);this.region=iL("US",a.cr);this.hostLanguage=iL("en",a.host_language);this.dm=!this.Ea&&Math.random()<this.experiments.l("web_player_api_logging_fraction");this.W=!this.Ea&&!this.experiments.g("web_player_interaction_logging_killswitch");this.Zb=new window.Set;this.C=fL(!0,a.deviceHasDisplay);this.yg=hL(this.yg,a.ismb);this.qm?(b=a.vss_host||"s.youtube.com",this.experiments.g("www_for_videostats")&&
"s.youtube.com"==b&&(b=g.Bg(this.baseYtUrl)||"www.youtube.com")):b="video.google.com";this.Lh=b;this.Lg(a);this.fd=a;this.B=new eL;g.M(this,this.B);this.N=this.g;this.ng={innertubeApiKey:iL("",a.innertube_api_key),innertubeApiVersion:iL("",a.innertube_api_version),Qr:this.A.c,innertubeContextClientVersion:iL("",a.innertube_context_client_version),Sr:this.hostLanguage,Rr:this.region,co:""};this.Qg=void 0!=window.WebKitPlaybackTargetAvailabilityEvent;this.ba=new $ka(this.experiments,this.experiments.g("html5_force_hfr_support")?
!0:g.CL(this)||$D()||aE()||DL(this),g.aJ&&56<=g.TD()||DL(this));b=new Xka;g.uL(this)&&(b.A=!0,b.D=.1);this.experiments.g("html5_ewma_bandwidth_estimator")&&(b.A=!0);this.yg&&(b.B=this.yg/8);b.g=this.experiments.l("html5_bandwidth_window_size")||b.g;b.l=this.experiments.g("html5_composite_stall");this.schedule=new Zka(b);this.enableSafetyMode=fL(!1,a.enable_safety_mode);this.xe=fL(this.I?!1:xL(this)&&"blazer"!=this.playerStyle&&"mweb-polymer"!=this.playerStyle,a.autonav);this.ed=fL(!1,a.send_visitor_id_header)||
this.experiments.A;this.Vg=!1;this.Pg=PG;this.ym=g.HF();this.cf=!1;this.Tn=fL(!1,a.transparent_background);this.disableNativeContextMenu=fL(!1,"docs"==this.playerStyle?a.disable_native_context_menu:void 0);this.jm=g.CL(this)&&this.experiments.g("enable_skip_intro_button")};
FL=function(a,b){return!a.kc&&WD()&&g.Dn(55)&&!b};
GL=function(a){var b=g.Bg(a.baseYtUrl);(a=g.Cg(a.baseYtUrl))&&(b+=":"+a);return"www.youtube-nocookie.com"==b?"www.youtube.com":b};
HL=function(a){return"gaming"==a.playerStyle?"gaming.youtube.com":GL(a)};
IL=function(a,b,c){return a.protocol+"://i1.ytimg.com/vi/"+b+"/"+(c||"hqdefault.jpg")};
ula=function(){return g.UF()};
JL=function(){return!0};
LL=function(a){return xL(a)&&"gaming"!=a.playerStyle&&!g.KL(a)};
yL=function(a){return sL&&!a.Og||cE()||UD("nintendo 3ds")?!0:!1};
g.uL=function(a){return g.aJ&&UD("crkey")||"TV"==a.A.cplatform};
DL=function(a){return"CHROMECAST ULTRA/STEAK"==a.A.cmodel||"CHROMECAST/STEAK"==a.A.cmodel};
g.ML=function(){return 1<window.devicePixelRatio?window.devicePixelRatio:1};
g.CL=function(a){return"web"==a.A.c.toLowerCase().substr(0,3)};
g.KL=function(a){return"WEB_UNPLUGGED"==a.A.c};
g.vL=function(a){return g.KL(a)||"TV_UNPLUGGED_CAST"==a.A.c||"TVHTML5_UNPLUGGED"==a.A.c};
g.NL=function(a){return a.C&&g.aJ&&!LK&&"3"!==a.o?g.Mn?a.l&&g.nc(51):!0:!1};
g.OL=function(a){return a.C&&g.pK&&!LK&&"3"!==a.o?g.Mn?a.l&&g.nc(48):g.nc(38):!1};
QL=function(a){return g.NL(a)||g.OL(a)||(a.C&&g.Ye&&!LK&&"3"!==a.o?g.Mn?a.l&&g.nc(37):g.nc(27):!1)||a.C&&g.PL&&!dE()&&g.nc(11)||a.C&&g.gk&&g.nc("604.4")&&a.experiments.g("safari_enable_spherical")};
vla=function(a){return a.experiments.g("disable_html5_ambisonic_audio")||!(QL(a)||a.experiments.g("html5_enable_spherical")||a.experiments.g("html5_enable_spherical3d"))||g.zL(a)&&TK||g.pK&&(!g.nc(47)||!g.nc(52)&&g.nc(51))?!1:window.AudioContext||window.webkitAudioContext?!0:!1};
xL=function(a){return"detailpage"==a.V};
g.zL=function(a){return"embedded"==a.V};
g.RL=function(a){return"leanback"==a.V};
wL=function(a){return"adunit"==a.V||"gvn"==a.playerStyle};
g.AL=function(a){return"profilepage"==a.V};
SL=function(a){return eE()&&/(K\d{3}|KS\d{3}|KU\d{3})/.test(a.A.cmodel)};
g.TL=function(a,b,c){this.errorCode=a;this.g=b;this.details=c||{}};
UL=function(a){var b;for(b in a){var c=(""+a[b]).replace(/[:,]/g,"_");var d=(d?d+";":"")+b+"."+c}return d||""};
VL=function(a){if(a){var b=[],c;for(c in a)wla.has(c)||b.push(c);b.length&&.01>Math.random()&&g.tD(Error("Unknown house brand player vars: "+b),"WARNING")}};
xla=function(a,b,c,d,e,f,k,l,m,n){this.itag=a;this.url=b;this.pw=c;this.width=d;this.height=e;this.bitrate=k;this.fps=f;this.audioItag=l||null;this.g=m||"";this.Nb=void 0===n?null:n};
WL=function(a){for(var b={},c=0,d=a.length;c<d;++c){var e=a[c],f=e.type.match(/codecs="([^"]*)"/);f=f?f[1]:"";var k=null;e.audio_track_id&&(k=new tG(e.name,e.audio_track_id,!!e.is_default));e=new xla(e.itag,e.url,f,+e.width,+e.height,+e.fps,+e.bitrate,e.audio_itag,e.drm_families,k);b[e.itag]=b[e.itag]||[];b[e.itag].push(e)}return b};
yla=function(a,b){this.o=a;this.g=b;this.B=0;this.A=!1;this.l=""};
zla=function(a){for(var b=[],c=[],d=0,e=a.g.length;d<e;++d){var f=a.g[d];f.bitrate<=a.B?b.push(f):c.push(f)}b.sort(function(a,b){return b.bitrate-a.bitrate});
c.sort(function(a,b){return a.bitrate-b.bitrate});
a.g=b.concat(c)};
XL=function(a,b){this.Zg=a;this.o=b;this.l=null};
Ala=function(a,b,c,d){if(!(LK||bE()||ZD()))return nE();c=WL(c);if(!c)return nE();var e={};e=(e.fairplay="https://youtube.com/api/drm/fps?ek=uninitialized",e);var f,k=[],l=[],m=[],n=a.experiments.g("html5_hls_multiaudio_killswitch"),q;for(q in c){var r=g.na(c[q]);for(f=r.next();!f.done;f=r.next()){var v=f.value;if(v.width){var B=c[v.audioItag];if(B&&(k.push(v),f="fairplay"==v.g?e:null,m.push(YL(B,[v],v.itag,v.width,v.height,v.fps,void 0,void 0,f,n)),!F||v.width*v.height*v.fps>F.width*F.height*F.fps))var F=
v}else l.push(v)}}f=m.reduce(function(a,b){return!!b.Zg.Cc&&a},!0)?e:null;
!a.experiments.g("html5_hls_optimal_resolution_killswitch")&&F?m.push(YL(l,k,"93",F.width,F.height,F.fps,"auto",d,f,n)):m.push(YL(l,k,"93",0,0,0,"auto",d,f,n));return JK(m,FL(a,b))};
YL=function(a,b,c,d,e,f,k,l,m,n){n=void 0===n?!1:n;var q=new sG;d=new wG(d,e,f,null,void 0,k);c=new BG(c,"application/x-mpegURL",q,d,void 0,m);a=new yla(a,b);a.B=l?l:1369843;n&&(a.A=!0);return new XL(c,a)};
ZL=function(a,b){this.Zg=a;this.l=b};
$L=function(a,b,c,d){var e=[];c=g.na(c);for(var f=c.next();!f.done;f=c.next()){var k=f.value;if(k.url){f=new g.eJ(k.url);var l=k.sig;l?f.set("signature",l):k.s&&f.set("signature",RJ(k.s));for(var m in d)f.set(m,d[m]);k=IG(k.type,k.quality,k.itag,k.width,k.height,!!k.isAccelerated,!!k.isAcceleratedUiEnabled);e.push(new ZL(k,f))}}return JK(e,FL(a,b))};
g.aM=function(a,b,c,d){this.Sc=new window.Set;this.H=a;this.I=b;a=c.split("#");this.C=(0,window.parseInt)(a[0],10);this.B=(0,window.parseInt)(a[1],10);this.l=(0,window.parseInt)(a[2],10);this.columns=(0,window.parseInt)(a[3],10);this.rows=(0,window.parseInt)(a[4],10);this.o=(0,window.parseInt)(a[5],10);this.A=a[6];this.D=a[7];this.K=d};
g.bM=function(a,b){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.Ao()+1-d*c;if(k<a.columns){var l=k;d=1}else l=a.columns,d=k<d?Math.ceil(k/a.columns):a.rows;return{url:a.Qa(c),qw:f,columns:l,Ic:e,rows:d,qt:a.C*l,lt:a.B*d}};
cM=function(a){g.hF.call(this);this.A=new UC;this.l=null;this.F=new window.Set;this.D=a||""};
eM=function(a,b,c){for(c=dM(a,c);0<=c;){var d=a.g[c];if(d.Ub(Math.floor(b/(d.columns*d.rows)))&&(d=g.bM(d,b)))return d;c--}return g.bM(a.g[0],b)};
gM=function(a,b,c){c=dM(a,c);for(var d,e;0<=c;c--)if(d=a.g[c],e=Math.floor(b/(d.columns*d.rows)),!d.Ub(e)){d=a;var f=c,k=f+"-"+e;d.F.has(k)||(d.F.add(k),TC(d.A,f,{Fy:f,kA:e}))}fM(a)};
fM=function(a){if(!a.l&&!a.A.isEmpty()){var b=a.A.remove(),c=new window.Image;a.D&&(c.crossOrigin=a.D);c.src=a.g[b.Fy].Qa(b.kA);c.onload=(0,g.z)(a.I,a,b.Fy,b.kA);a.l=c}};
hM=function(a,b,c,d){d=void 0===d?!1:d;cM.call(this,c);this.isLive=d;this.g=this.o(a,b);this.B=new window.Map;1<this.g.length&&this.g[0].isDefault()&&this.g.splice(0,1)};
dM=function(a,b){var c=a.B.get(b);if(c)return c;c=a.g.length;for(var d=0;d<c;d++)if(a.g[d].Fb()>=b)return a.B.set(b,d),d;a.B.set(b,c-1);return c-1};
iM=function(a,b,c,d){c=c.split("#");c=[c[1],c[2],0,c[3],c[4],-1,c[0],""].join("#");g.aM.call(this,a,b,c,0);this.g=null;this.F=d?3:0};
jM=function(a,b){hM.call(this,a,0,void 0,b)};
kM=function(a,b){this.Zg=a;this.l=b};
Bla=function(a){var b=[];(0,g.C)(a,function(a){if(a.url){var c=IG(a.type,"medium","0");b.push(new kM(c,a.url))}});
return b};
Cla=function(a){if(void 0==window.navigator.mediaCapabilities)return oE(a);var b=(0,g.H)(a.videoInfos,function(a){return window.navigator.mediaCapabilities.decodingInfo({type:"media-source",video:a.video?{contentType:a.mimeType,width:a.video.width,height:a.video.height,bitrate:8*a.g,framerate:a.video.fps}:null})});
return g.ag(b).then(function(b){for(var c=0;c<b.length;c++)a.videoInfos[c].o=b[c].smooth;return a},function(){return a})};
mM=function(a,b){var c={},d;for(d in lM){var e=b?b+d:d;e=a[e+"_webp"]||a[e];g.fH(e)&&(c[lM[d]]=e)}return c};
Ela=function(a){var b={};if(!a||!a.thumbnails)return b;var c=null;a=g.na(a.thumbnails);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=nM(d);if(g.fH(e)){var f=Dla[d.width];f&&(b[f]=e);if(!c||c.width<d.width)c=d}}c&&1280<c.width&&(b["maxresdefault.jpg"]=nM(c));return b};
nM=function(a){a=a.url;return 0==a.indexOf("//")?"https:"+a:a};
g.oM=function(a,b){this.version=a;this.args=b};
g.pM=function(a,b){this.topic=a;this.g=b};
g.rM=function(a,b){var c=qM();c&&c.publish.call(c,a.toString(),a,b)};
g.vM=function(a,b,c){var d=qM();if(!d)return 0;var e=d.subscribe(a.toString(),function(d,k){var f=g.x("ytPubsub2Pubsub2SkipSubKey");f&&f==e||(f=function(){if(sM[e])try{if(k&&a instanceof g.pM&&a!=d)try{var f=a.g,l=k;if(!l.args||!l.version)throw Error("yt.pubsub2.Data.deserialize(): serializedData is incomplete.");try{if(!f.Jh){var q=new f;f.Jh=q.version}var r=f.Jh}catch(v){}if(!r||l.version!=r)throw Error("yt.pubsub2.Data.deserialize(): serializedData version is incompatible.");try{k=window.Reflect.construct(f,
g.Wa(l.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.tD(v)}},tM[a.toString()]?g.NF()?g.LF(f):g.yD(f,0):f())});
sM[e]=!0;uM[a.toString()]||(uM[a.toString()]=[]);uM[a.toString()].push(e);return e};
yM=function(a,b){var c=g.vM(wM,function(d){a.apply(b,arguments);g.xM(c)},b);
return c};
g.xM=function(a){var b=qM();b&&(g.ua(a)&&(a=[a]),(0,g.C)(a,function(a){b.unsubscribeByKey(a);delete sM[a]}))};
qM=function(){return g.x("ytPubsub2Pubsub2Instance")};
Fla=function(a){if(zM.getEntriesByType){var b=zM.getEntriesByType("paint");if(b=g.Ka(b,function(a){return"first-paint"==a.name}))return Math.round(a.navigationStart+b.startTime)}if(a.msFirstPaint)return Math.max(0,a.msFirstPaint);
if(b=window.chrome)if(b=b.loadTimes,g.Aa(b)){b=b();var c=1E3*Math.min(b.requestTime||window.Infinity,b.startLoadTime||window.Infinity);c=window.Infinity===c?0:a.navigationStart-c;return Math.max(0,Math.round(1E3*b.firstPaintTime+c)||0)}return 0};
AM=function(){var a=g.sD("TIMING_TICK_EXPIRATION");a||(a={},g.rD("TIMING_TICK_EXPIRATION",a));return a};
Gla=function(){var a=AM(),b;for(b in a)g.OF(a[b]);g.rD("TIMING_TICK_EXPIRATION",{})};
BM=function(a,b){g.oM.call(this,1,arguments)};
CM=function(a,b){g.oM.call(this,1,arguments);this.g=a};
FM=function(a){DM(a);Hla();EM(!1,a);a||(g.sD("TIMING_ACTION")&&g.rD("PREVIOUS_ACTION",g.sD("TIMING_ACTION")),g.rD("TIMING_ACTION",""))};
RM=function(a,b){a:if(!GM(a)){if(!g.iE("send_empty_timing")){var c=g.sD("CSI_SERVICE_NAME","youtube");if(!g.sD((a||"")+"TIMING_ACTION",void 0)||!c)break a}g.HM("aa",void 0,a);g.IM("ap",1,a);g.IM("yt_fss","c",a);if(g.iE("enable_csi_abandonment_info")&&!a&&!JM("yt_lt")){c=g.sD("TIMING_INFO",{});for(var d in c)g.IM(d,c[d]);g.IM("is_nav",1);(d=g.mG())&&g.IM("csn",d);(d=g.sD("PREVIOUS_ACTION",void 0))&&g.IM("pa",d);c=KM();c.p=g.sD("CLIENT_PROTOCOL")||"unknown";c.t=g.sD("CLIENT_TRANSPORT")||"unknown";g.IM("yt_vis",
LM());if("cold"==c.yt_lt){d=zM.timing||{};d.navigationStart&&(g.HM("srt",d.responseStart),1!=c.prerender&&MM("n",d.navigationStart));c=Fla(d);0<c&&g.HM("fpt",c);g.HM("nreqs",d.requestStart,void 0);g.HM("nress",d.responseStart,void 0);g.HM("nrese",d.responseEnd,void 0);0<d.redirectEnd-d.redirectStart&&(g.HM("nrs",d.redirectStart,void 0),g.HM("nre",d.redirectEnd,void 0));0<d.domainLookupEnd-d.domainLookupStart&&(g.HM("ndnss",d.domainLookupStart,void 0),g.HM("ndnse",d.domainLookupEnd,void 0));0<d.connectEnd-
d.connectStart&&(g.HM("ntcps",d.connectStart,void 0),g.HM("ntcpe",d.connectEnd,void 0));d.secureConnectionStart>=d.navigationStart&&0<d.connectEnd-d.secureConnectionStart&&(g.HM("nstcps",d.secureConnectionStart,void 0),g.HM("ntcpe",d.connectEnd,void 0));zM.getEntriesByType&&Ila();d=[];if(window.document.querySelector&&zM&&zM.getEntriesByName)for(var e in NM)c=NM[e],Jla(e,c)&&d.push(c);d.length&&g.IM("rc",d.join(","))}OM()}PM(a)}FM(a);g.rD(a+"TIMING_AFT_KEYS",b);g.rD(a+"TIMING_ACTION",a);MM("c",void 0,
a);OM(a);g.va("ytglobal.timing"+(a||"")+"ready_",!0,void 0);QM(a)};
g.HM=function(a,b,c){if(!b&&"_"!=a[0]){var d=a;zM.mark&&(g.kb(d,"mark_")||(d="mark_"+d),c&&(d+=" ("+c+")"),zM.mark(d))}d=SM(c);var e=b||g.HF();d[a]&&(d["_"+a]=d["_"+a]||[d[a]],d["_"+a].push(e));d[a]=e;d=AM();if(e=d[a])g.OF(e),d[a]=0;TM(c)["tick_"+a]=b;c||b||g.HF();g.iE("csi_on_gel")?(d=UM(c),"_start"==a?XF("baseline_"+d)||g.WF("latencyActionBaselined",{clientActionNonce:d},b,void 0):XF("tick_"+a+"_"+d)||g.WF("latencyActionTicked",{tickName:a,clientActionNonce:d},b,void 0),a=!0):a=!1;a||QM(c)};
VM=function(a){var b="above_the_fold";zM&&zM.measure&&(g.kb(b,"measure_")||(b="measure_"+b),a?zM.measure(b,a):zM.measure(b))};
MM=function(a,b,c){g.IM("yt_sts",a,c);g.HM("_start",b,c)};
WM=function(a,b){var c=SM(b);return a in c};
g.IM=function(a,b,c){var d=KM(c)[a]=b;TM(c)["info_"+a]=d;if(g.iE("csi_on_gel"))if(a in XM){b={};a=XM[a];g.Oa(Kla,a)&&(d=!!d);a=a.split(".");for(var e=b,f=0;f<a.length-1;f++)e[a[f]]=e[a[f]]||{},e=e[a[f]];b[a[a.length-1]]=d;c=UM(c);YF(b,c)}else g.Oa(Lla,a)||g.tD(Error("Unknown label "+a+" logged with GEL CSI."))};
JM=function(a){var b=KM(void 0);return a in b};
YM=function(a){var b=SM(a);if(b.aft)return b.aft;a=g.sD((a||"")+"TIMING_AFT_KEYS",["ol"]);for(var c=a.length,d=0;d<c;d++){var e=b[a[d]];if(e)return e}return window.NaN};
QM=function(a){if(!GM(a)){var b=g.sD((a||"")+"TIMING_ACTION",void 0),c=SM(a);if(g.x("ytglobal.timing"+(a||"")+"ready_")&&b&&c._start&&(b=YM(a)))if(g.iE("tighter_critical_section")&&!ZM&&(g.rM(Mla,new BM(Math.round(b-c._start),a)),ZM=!0),a)PM(a);else{b=!0;var d=g.sD("TIMING_WAIT",[]);if(d.length)for(var e=0,f=d.length;e<f;++e)if(!(d[e]in c)){b=!1;break}b&&PM(a)}}};
LM=function(){switch(GE("visibilityState",window.document)){case "hidden":return 0;case "visible":return 1;case "prerender":return 2;case "unloaded":return 3}return-1};
PM=function(a){Gla();if(!g.iE("csi_on_gel")){var b=SM(a),c=KM(a),d=b._start,e;for(e in b)if(g.kb(e,"_")&&g.ya(b[e])){var f=e.slice(1);if(f in Nla){var k=(0,g.H)(b[e],function(a){return Math.round(a-d)});
c["all_"+f]=k.join()}delete b[e]}f=!!c.ap;if(k=g.x("ytglobal.timingReportbuilder_")){if(k=k(b,c,a))$M(k,f),FM(a)}else{var l=g.sD("CSI_SERVICE_NAME","youtube");k={v:2,s:l,action:g.sD((a||"")+"TIMING_ACTION",void 0)};var m=c.srt;void 0!==b.srt&&delete c.srt;if(c.h5jse){var n=window.location.protocol+g.x("ytplayer.config.assets.js");(n=zM.getEntriesByName?zM.getEntriesByName(n)[0]:null)?c.h5jse=Math.round(c.h5jse-n.responseEnd):delete c.h5jse}b.aft=YM(a);Ola(a)&&"youtube"==l&&(g.IM("yt_lt","hot_bg",
a),l=b.vc,n=b.pbs,delete b.aft,c.aft=Math.round(n-l));for(var q in c)"_"!=q.charAt(0)&&(k[q]=c[q]);b.ps=g.HF();c={};q=[];for(e in b)"_"!=e.charAt(0)&&(l=Math.round(b[e]-d),c[e]=l,q.push(e+"."+l));k.rt=q.join(",");(b=g.x("ytdebug.logTiming"))&&b(k,c);$M(k,f,a);g.rM(wM,new CM(c.aft+(m||0),a))}}};
OM=function(a){if(g.iE("csi_on_gel")){var b={};b.actionType=Pla[g.sD((a||"")+"TIMING_ACTION",void 0)]||"LATENCY_ACTION_UNKNOWN";a=UM(a);YF(b,a)}};
aN=function(a){return Math.round(zM.timing.navigationStart+a)};
Ila=function(){var a=window.location.protocol,b=zM.getEntriesByType("resource");b=(0,g.Hd)(b,function(b){return 0==b.name.indexOf(a+"//fonts.gstatic.com/s/")});
(b=Rj(b,function(a,b){return b.duration>a.duration?b:a},{duration:0}))&&0<b.startTime&&0<b.responseEnd&&(g.HM("wffs",aN(b.startTime)),g.HM("wffe",aN(b.responseEnd)))};
Jla=function(a,b){var c=window.document.querySelector(a);if(!c)return!1;var d="",e=c.nodeName;"SCRIPT"==e?(d=c.src,d||(d=c.getAttribute("data-timing-href"))&&(d=window.location.protocol+d)):"LINK"==e&&(d=c.href);return d?(c=zM.getEntriesByName(d))&&c[0]&&(c=c[0],d=window.performance.timing.navigationStart,g.HM("rsf_"+b,d+Math.round(c.fetchStart)),g.HM("rse_"+b,d+Math.round(c.responseEnd)),void 0!==c.transferSize&&(JM("rc")||g.IM("rc",""),0===c.transferSize))?!0:!1:!1};
$M=function(a,b,c){if(g.iE("debug_csi_data")){var d=g.x("yt.timing.csiData");d||(d=[],g.va("yt.timing.csiData",d,void 0));d.push({page:window.location.href,time:new Date,args:a})}d="";for(var e in a)d+="&"+e+"="+a[e];a="/csi_204?"+d.substring(1);window.navigator&&window.navigator.sendBeacon&&b?gE(a):g.fE(a);EM(!0,c)};
UM=function(a){var b=bN(a).nonce;b||(b=fG(),bN(a).nonce=b);return b};
SM=function(a){return bN(a).tick};
KM=function(a){return bN(a).info};
TM=function(a){a=bN(a);"gel"in a||(a.gel={});return a.gel};
bN=function(a){return g.x("ytcsi."+(a||"")+"data_")||DM(a)};
DM=function(a){var b={tick:{},info:{}};g.va("ytcsi."+(a||"")+"data_",b,void 0);return b};
GM=function(a){return!!g.x("yt.timing."+(a||"")+"pingSent_")};
EM=function(a,b){g.va("yt.timing."+(b||"")+"pingSent_",a,void 0)};
Ola=function(a){var b=SM(a),c=b.pbr,d=b.vc;b=b.pbs;return c&&d&&b&&c<d&&d<b&&1==KM(a).yt_pvis};
g.dN=function(a){if(a.simpleText)return a.simpleText;a=g.cN(a);var b=g.zd("div");b.appendChild(a);return b.textContent};
g.cN=function(a){if(a.simpleText)return a=window.document.createTextNode(a.simpleText),a;var b=[];if(a.runs)for(var c=0;c<a.runs.length;c++){var d=a.runs[c];d.text&&b.push(Qla(d))}return 1==b.length?b[0]:g.J("SPAN",null,b)};
Qla=function(a){var b=null,c=a.text;a.bold&&(b=g.J("B",null,b||c));a.italics&&(b=g.J("I",null,b||c));a.strikethrough&&(b=g.J("STRIKE",null,b||c));a.navigationEndpoint&&a.navigationEndpoint.urlEndpoint&&(a=a.navigationEndpoint.urlEndpoint,b=g.J("A",null,b||c),g.Tc(b,a.url),"TARGET_NEW_WINDOW"==a.target&&(b.target="_blank"));return b||g.J("SPAN",null,c)};
g.eN=function(a){g.hF.call(this);this.adModule=!1;this.adaptiveFormats="";this.Cc=null;this.allowEmbed=!0;this.og=this.backgroundable=!1;this.Cf="";this.Km=this.Hm=this.Gm=!1;this.relativeLoudness=window.NaN;this.watchAjaxToken=this.Hh=null;this.author="";this.rg=0;this.Hw=this.Sm=!1;this.clientScreenNonce=this.clientPlaybackNonce=this.gu=this.channelBanner=this.channelPath=this.Tm="";this.contentCheckOk=!1;this.Ff=0;this.Nw=this.enableCardioBeforePlayback=this.enableCardio=!1;this.endSeconds=0;this.sh=
!1;this.yg=this.xj=0;this.fo=!1;this.BB=0;this.isLowLatencyLiveStream=this.isLiveDefaultBroadcast=this.isLiveDestination=this.za=this.Zk=this.isListed=this.Vr=this.Fi=!1;this.latencyClass="UNKNOWN";this.isMdxPlayback=!1;this.mdxControlMode=null;this.isPharma=!1;this.Ah=0;this.reloadReason="";this.Yr=this.zy=this.oh=!1;this.ko=0;this.liveChunkReadahead=window.NaN;this.liveStartWalltime=0;this.hs=null;this.al=this.lengthSeconds=0;this.playerParams=null;this.paygated=!1;this.re=[];this.profilePicture=
void 0;this.racyCheckOk=!1;this.rootVeType=0;this.autonavState=1;this.Jl=PG;this.cf=!1;this.Pr=this.startSeconds=0;this.spacecastModule=!1;this.zm=null;this.Ml=PG;this.ck=this.suggestions=null;this.hlsFormats=this.hk=this.title="";this.Ib=this.Fg=this.fg=this.Il=this.Sn=null;this.Ep="vvt";this.ypcOfferButtonFormattedText=null;this.requiresPurchase=!1;this.clipStart=0;this.clipEnd=window.Infinity;this.Jo=this.ni=this.wk=!1;this.Uq="";this.Wo=this.Wt=this.yx=0;this.vy=!1;this.Fh={};this.qr=!1;this.captionTracks=
[];this.sk=[];this.jq=0;this.captionTranslationLanguages=[];this.tk=!1;this.chapterMarkers=[];this.Uh=new yH("und",new tG("Default","und",!0));this.es=0;this.Wj=this.UB=!1;this.Rf=null;this.Oh=[];this.Px=!1;this.Mi={};this.fC=new g.Mt(this.gC,5E3,this);g.M(this,this.fC);this.Tq=0;this.zx=!0;this.Ih=this.Cb=null;this.Ur=this.zC=this.partialSpherical=this.nh=!1;this.qy=this.ry=window.NaN;this.hasSubfragmentedFmp4=null;this.Ql=!1;this.oc={};this.keywords={};this.Ee={};this.setData(a)};
hN=function(a,b,c){b=b||{};var d={};if(!c)d=a.Cb||{};else if(b.player_response)for(d=g.Lw(b.player_response),d=null!=d?d:{},a.Cb||(a.Cb={}),c=0;c<fN.length;c++){var e=fN[c];e in d&&(a.Cb[e]=d[e])}if(c=gN(d))a.Cf=kH(c.invideoUrl),a.Gm=!!c.adsOnly,a.Hm=!!c.allowInPlaceSwitch;else{if(c=b.iv_invideo_url)a.Cf=kH(c);a.Gm=fL(a.Gm,b.iv_ads_only);a.Hm=fL(a.Hm,b.iv_allow_in_place_switch)}if(c=b.cta_conversion_urls)a.Pv=c;a.isPharma=fL(a.isPharma,b.is_pharma);a.author=iL(a.author,b.author);a.Sm=fL(a.Sm,b.cc_asr);
c=b.ttsurl;iH(c)?a.Tm=c:c&&(c=jH(c),iH(c,!0)&&(a.Tm=c));if(d.captions&&d.captions.playerCaptionsTracklistRenderer)Rla(a,d.captions.playerCaptionsTracklistRenderer);else{c=b.caption_tracks;e=b.caption_audio_tracks;a.qr=void 0!=c;if(c&&e){Sla(a,c);Tla(a,e);if(c=b.default_audio_track_index)a.jq=(0,window.parseInt)(c,10)||0;(c=b.caption_translation_languages)&&Ula(a,c)}a.tk=fL(a.tk,b.cc_contribute)}a.channelPath=iL(a.channelPath,b.channel_path);a.channelBanner=iL(a.channelBanner,b.channel_banner);d.chapterMarkers&&
(a.chapterMarkers=d.chapterMarkers);a.gu=iL(a.gu,b.short_subscriber_count_text);a.clientPlaybackNonce=iL(a.clientPlaybackNonce,b.cpn);a.subscribed=fL(a.subscribed,b.subscribed);a.Ii=hL(a.Ii,b.view_count);a.shortViewCount=iL(a.shortViewCount,b.short_view_count_text);a.title=iL(a.title,b.title);a.ypcPreview=iL(a.ypcPreview,b.ypc_preview);a.ypcOrigin=iL(a.ypcOrigin,b.ypc_origin);a.paygated=fL(a.paygated,b.paygated);a.requiresPurchase=fL(a.requiresPurchase,b.requires_purchase);if(d=b.keywords)a.keywords=
Vla(d);if(d=b.rvs)a.suggestions=ED(d);a.contentCheckOk=fL(a.contentCheckOk,"1"==b.cco);a.racyCheckOk=fL(a.racyCheckOk,"1"==b.rco);a.oauthToken=iL(a.oauthToken,b.oauth_token);a.visitorData=iL(a.visitorData,b.visitor_data);if(d=b.session_data)a.ae=g.BD(d);if(d=b.endscreen_autoplay_session_data)a.Rw=g.BD(d);a.Qw=iL(a.Qw,b.endscreen_ad_tracking_data);a.kk=fL(a.kk,b.wait_for_vast_info_cards_xml);a.Zj=fL(a.Zj,b.suppress_creator_endscreen);a.Zh=iL(a.Zh,b.wpid);a.SC=iL(a.SC,b.tracking_list||b.tv_list);b.skip_wv&&
(a.zC=!0);b.intro_start_ms&&b.intro_end_ms&&(a.ry=(0,window.parseInt)(b.intro_start_ms,10),a.qy=(0,window.parseInt)(b.intro_end_ms,10));(0,g.C)(Wla,function(a){a in b&&(this.oc[a]=b[a])},a)};
iN=function(a){return!(!a.Na||!a.Na.videoInfos.length)};
Xla=function(a){return a.l&&bJ('video/webm; codecs="vp9"')&&Kb(a.g,function(a){return CG(a.info)})};
jN=function(a){return!KK()||a.Hw?!0:!1};
g.kN=function(a){if(!a.Ih)return null;var b=null!=a.Ih.latitudeE7&&null!=a.Ih.longitudeE7?a.Ih.latitudeE7+","+a.Ih.longitudeE7:",";return b+=","+(a.Ih.clientPermissionState||0)+","+(a.Ih.locationRadiusMeters||"")};
lN=function(a){a.ha()||(a.sh=!1,a.P("dataloaded",a.oc))};
mN=function(a,b,c){c&&a.pa&&a.pa.dispose();a.pa=b;g.M(a,b);(a.Qf()||a.Pf()||a.li()||a.Ne())&&a.re.push("webgl");a.pa.isLive||(a.za=!1)};
g.nN=function(a,b,c){if(a.ha())return nE();a.Na=null;a.fg=null;a.Fg=null;var d=b.A,e=d.c;d=d.cmodel;b.experiments.g("disable_rqs")||(a.nh=/^rq/.test(a.clientPlaybackNonce)||/^r/.test(a.clientPlaybackNonce)&&/UNPLUGGED/.test(e)||/FUGU/.test(d)||b.experiments.g("html5_high_res_logging"));return Yla(a,b,c).then(void 0,(0,g.z)(a.XJ,a,b)).then(void 0,(0,g.z)(a.UJ,a,b,c)).then(void 0,(0,g.z)(a.VJ,a,b)).then(void 0,(0,g.z)(a.YJ,a,b)).then(void 0,(0,g.z)(a.WJ,a,b)).then(function(){if(b.experiments.g("html5_probe_media_capabilities")&&
a.Na)return Cla(a.Na).then(a.gp,void 0,a)})};
Yla=function(a,b,c){if(!c&&!jN(a)){c=!1;if(a.spacecastAdaptiveFormats)mN(a,VJ(oN(a,a.spacecastAdaptiveFormats),a.Cc,a.lengthSeconds,void 0),!0),c=!0;else if(a.pa&&a.jp){var d=bK(a.pa,a.jp);d&&(mN(a,d,!0),c=!0)}if(c)return XK(b.ba,a.pa,a.Rf,!0,!1,!b.C||a.Ql&&b.wb).then(a.gp,void 0,a).then(a.Xw,void 0,a)}return nE()};
pN=function(a,b){var c={cpn:a.clientPlaybackNonce,c:b.A.c,cver:b.A.cver};a.Dl&&(c.ptk=a.Dl,c.oid=a.DB,c.ptchn=a.CB,c.pltype=a.EB);return c};
g.qN=function(a){return ZD()&&a.fairPlayCert?(a={},a.fairplay="https://youtube.com/api/drm/fps?ek=uninitialized",a):a.Ka&&a.Ka.Cc||null};
rN=function(a){var b=a.Cb&&a.Cb.paidContentOverlay&&a.Cb.paidContentOverlay.paidContentOverlayRenderer||null;return b&&b.text?g.dN(b.text):a.tS};
sN=function(a){var b=a.Cb&&a.Cb.paidContentOverlay&&a.Cb.paidContentOverlay.paidContentOverlayRenderer||null;return b&&b.durationMs?Db(b.durationMs):a.BB};
g.tN=function(a,b){return g.u(a.keywords[b])?a.keywords[b]:null};
g.uN=function(a){if(!a.Ib)if(a.Cb&&a.Cb.storyboards){var b=a.Cb.storyboards;b.playerStoryboardSpecRenderer?a.Ib=new hM(b.playerStoryboardSpecRenderer.spec,a.lengthSeconds):b.playerLiveStoryboardSpecRenderer&&a.pa&&(a.Ib=new jM(b.playerLiveStoryboardSpecRenderer.spec,a.pa.isLive))}else(b=a.oc.storyboard_spec)?a.Ib=new hM(b,a.lengthSeconds):(b=a.oc.live_storyboard_spec)&&a.pa&&(a.Ib=new jM(b,a.pa.isLive));return a.Ib};
vN=function(a){return!!(a.ge||a.adaptiveFormats||a.hk||a.ck||a.spacecastFormatMap||a.spacecastAdaptiveFormats||a.hlsvp)};
wN=function(a){var b=g.Oa(a.re,"ypc");a.ypcPreview&&(b=!1);return a.Gd()&&!a.sh&&(vN(a)||g.Oa(a.re,"fresca")||g.Oa(a.re,"heartbeat")||b)};
oN=function(a,b,c){b=ED(b);var d={};c&&(0,g.C)(c.split(","),function(a){(a=a.match(/^([0-9]+)\/([0-9]+)x([0-9]+)(\/|$)/))&&(d[a[1]]={width:a[2],height:a[3]})});
(0,g.C)(b,function(a){var b=d[a.itag];b&&(a.width=b.width,a.height=b.height)},a);
return b};
Zla=function(a){a=ED(a);var b={};(0,g.C)(a,function(a){var c=a.family;a=a.url;c&&a&&(b[c]=a)});
return b};
Sla=function(a,b){for(var c=ED(b),d=0;d<c.length;d++){var e=c[d],f=e.u;iH(f)&&a.captionTracks.push(new g.wH({is_translateable:fL(!1,e.t),languageCode:e.lc,languageName:e.n,url:f,vss_id:e.v,kind:e.k,format:3}))}};
Tla=function(a,b){var c=ED(b);a.sk=[];(0,g.C)(c,function(a){var b={};g.t(a.aid)&&(b.audioTrackId=a.aid);var c=a.i;c&&(b.captionTrackIndices=(0,g.H)(c.split(","),function(a){return(0,window.parseInt)(a,10)}));
b.hasDefaultTrack=g.t(a.d);b.hasDefaultTrack&&(b.defaultCaptionTrackIndex=(0,window.parseInt)(a.d,10)||void 0);b.hasForcedTrack=g.t(a.f);b.hasForcedTrack&&(b.forcedCaptionTrackIndex=(0,window.parseInt)(a.f,10));b.visibility=$la[(0,window.parseInt)(a.v,10)]||"UNKNOWN";this.sk.push(b)},a)};
Ula=function(a,b){for(var c=ED(b),d=0;d<c.length;d++){var e=c[d];a.captionTranslationLanguages.push(new g.vH({languageCode:e.lc,languageName:e.n}))}};
Rla=function(a,b){a.qr=!0;a.captionTracks=[];b.captionTracks&&(0,g.C)(b.captionTracks,function(a){var b=a.baseUrl;iH(b,!0)&&(a=new g.wH({is_translateable:!!a.isTranslatable,languageCode:a.languageCode,languageName:a.name&&g.dN(a.name),url:b,vss_id:a.vssId,kind:a.kind,format:3}),this.captionTracks.push(a))},a);
a.sk=b.audioTracks||[];a.jq=b.defaultAudioTrackIndex||0;a.captionTranslationLanguages=b.translationLanguages?(0,g.H)(b.translationLanguages,function(a){return new g.vH({languageCode:a.languageCode,languageName:g.dN(a.languageName)})}):[];
a.tk=!!b.contribute&&!!b.contribute.captionsMetadataRenderer};
g.xN=function(a,b){return!!a.oc[b]};
g.yN=function(a){return a.za&&!a.og};
zN=function(a){return a.za&&a.og};
AN=function(a){var b=g.Yb(a.oc);!a.za&&0<a.startSeconds&&(b.start=a.startSeconds);return b};
ama=function(a){a.Na=a.Na.l};
g.BN=function(a){if(a.Zj)return null;var b=a.oc.iv_endscreen_url;b||(b=a.Cb&&a.Cb.endscreen&&a.Cb.endscreen.endscreenUrlRenderer&&a.Cb.endscreen.endscreenUrlRenderer.url);return b};
CN=function(a,b){return a.adFormat&&"1_5"!=a.adFormat?"adunit":b.V};
DN=function(a,b){if(a.isAd()&&a.videoId!=b.ka)return b.ka};
EN=function(a,b){var c=b.hm||a.Fi;if(b.experiments.g("html5_new_autoplay_redux")){var d=a.Fi||"detailpage"==CN(a,b);d!=c&&g.tD(Error("b/64881898 a "+d),"WARNING");return d}return c};
FN=function(a,b){var c=a.Fi||!b.experiments.g("html5_deprecated_autoplay_killswitch")&&b.xb;if(b.experiments.g("html5_new_autoplay_redux")){var d=!1;EN(a,b)&&(d="detailpage"==CN(a,b)?a.fo||0<a.Ah:!0);d!=c&&g.tD(Error("b/64881898 b "+d),"WARNING");return d}return c};
GN=function(a,b){var c=1,d=b.experiments.l("html5_default_ad_gain");d&&a.isAd()&&(c=d);return Math.min(1,Math.pow(10,-a.relativeLoudness/20))||c};
gN=function(a){return a&&a.annotations&&(a=a.annotations[0],a.playerAnnotationsUrlsRenderer)?a.playerAnnotationsUrlsRenderer:null};
Vla=function(a){var b={};(0,g.C)(a.split(","),function(a){var c=a.split("=");2==c.length?b[c[0]]=c[1]:b[a]=!0});
return b};
HN=function(a,b,c,d){this.videoData=a;this.g=b;this.reason=c;this.l=d};
g.IN=function(a){return(a=bma[a.toString()])?a:"YTP_ERROR_LICENSE"};
cma=function(){this.B=this.g=window.NaN;this.o=this.A=this.l=!1};
JN=function(a,b){return b>a.g&&b<a.g+5};
KN=function(a,b,c,d){if(d=1<d)a.A=!0;if(a.l)b!=a.g&&(a.l=!1);else if(0<b&&a.g==b)return c-a.B>(d||!a.A?1500:400);a.g=b;a.B=c;return!1};
LN=function(){var a=[],b=[];return{start:function(b){return a[b]},
end:function(a){return b[a]},
length:a.length}};
MN=function(a,b){b=void 0===b?",":b;var c="";if(a)for(var d=0;d<a.length;d++)c+=a.start(d).toFixed(3)+"-"+a.end(d).toFixed(3)+b;return c};
NN=function(a,b){if(!a)return-1;for(var c=0;c<a.length;c++)if(a.start(c)<=b&&a.end(c)>=b)return c;return-1};
ON=function(a,b){var c=NN(a,b);return 0<=c?a.end(c):window.NaN};
PN=function(a){return a&&a.length?a.end(a.length-1):window.NaN};
QN=function(a,b){var c=ON(a,b);return 0<=c?c-b:0};
RN=function(){};
SN=function(){g.K.call(this);this.o=this.l=null;this.D=this.C=!1;this.B=new g.xf;g.M(this,this.B)};
TN=function(a){a=a.g.seekable||LN();return 1>a.length?window.NaN:a.end(a.length-1)};
WN=function(a,b){var c="";b&&(UN(a,b),c=b.Eg);a.Sd()&&""==c||(c&&a.Sd()!=c&&(VN(a,c),a.o&&(a.o.dispose(),a.o=null)),b&&b.g||a.load(),a.D||(a.addEventListener("volumechange",a.kw),a.D=!0))};
dma=function(a){a=TI(a.g);return new UI(a)};
XN=function(a){if(!a.o||a.o.ha()){var b=new UI(TI(a.g));VI(b);WN(a,b.B);a.o=b}};
ema=function(a){XN(a);var b=a.o;a.o=null;return b};
UN=function(a,b){a.l&&null!=b&&b.Eg==a.l.Eg||(a.l&&a.l.dispose(),a.l=b)};
ZN=function(a){return QN(YN(a),a.getCurrentTime())};
$N=function(a){var b=YN(a);return 0<PN(b)&&a.getDuration()?ON(b,a.getCurrentTime()):0};
aO=function(a){var b=a.getDuration();return window.Infinity==b?1:b?$N(a)/b:0};
bO=function(a){return{vct:a.getCurrentTime().toFixed(3),vd:a.getDuration().toFixed(3),vpl:MN(a.g.played||LN()),vbu:MN(YN(a)),vpa:String(a.g.paused),vsk:String(a.g.seeking),ven:String(a.g.ended),vpr:String(a.Tc()),vrs:String(a.g.readyState),vns:String(a.g.networkState),vec:String(a.Mb()),vvol:String(a.getVolume())}};
fma=function(a){a=a.Mb();switch(a){case 1:return"aborted";case 2:return"network";case 3:return"decode";case 4:return"unsupported";case 5:return"encrypted";default:return a.toString()}};
cO=function(a,b,c){g.We.call(this,b,a);this.g=c||null};
g.dO=function(a,b){this.l=a||64;this.g=void 0===b?null:b};
hma=function(a,b,c,d){function e(a){return!!d&&d.g(a)}
if(g.V(a,128))return a;eO=eO||e("html5_dompause_is_paused_killswitch");var f=a.l,k=a.g,l=b.target;if(!g.V(a,64)||"ended"!=b.type&&"pause"!=b.type)if("pause"==b.type&&l.g.ended||"ended"==b.type&&(l.g.ended||1>Math.abs(l.getCurrentTime()-l.getDuration())))0<l.g.networkState&&l.Sd()&&(f=14,k=null);else if("pause"==b.type)g.V(a,256)?(f^=256)||(f=64):g.V(a,32)||g.V(a,2)||g.V(a,4)||(f=4,g.V(a,1)&&g.V(a,8)&&(f|=1),k=null);else if("playing"==b.type)e("html5_ignore_playing_evt")?f=(f|8)&-5:(f=8,k=null,g.V(a,
32)&&(f|=32),g.V(a,1)&&KN(c,l.getCurrentTime(),g.HF(),ZN(l))&&(f|=1));else if("error"==b.type){if(c=gma(l))k=c,f|=128}else if("progress"!=b.type||e("html5_ignore_playing_evt"))if("seeked"==b.type)f&=-17;else if("seeking"==b.type)f|=16,0>=ZN(l)&&(f|=1),f&=-3;else if("waiting"==b.type)g.V(a,2)||(f|=1);else if("timeupdate"==b.type)e("html5_ignore_playing_evt")?((g.V(a,8)||g.V(a,16))&&JN(c,l.getCurrentTime())&&(f=8),KN(c,l.getCurrentTime(),g.HF(),ZN(l))&&(f|=1)):(b=2<l.g.readyState,c.o=c.o||b,g.V(a,16)||
g.V(a,4)||(KN(c,l.getCurrentTime(),g.HF(),ZN(l))?f|=1:e("html5_timeupdate_readystate_check")&&!b&&c.o||(f&=-2)),1<l.g.readyState&&0<l.getCurrentTime()&&(f&=-65));else return a;else fO(a)&&KN(c,l.getCurrentTime(),g.HF(),ZN(l))&&(f|=1);return gO(a,f,k)};
gO=function(a,b,c){return b==a.l&&c==a.g||void 0!=b&&(b&128&&!c||b&2&&b&16)?a:new g.dO(b,c)};
hO=function(a,b){return gO(a,a.l|b)};
iO=function(a,b){return gO(a,a.l&~b)};
jO=function(a,b,c){return gO(a,(a.l|b)&~c)};
g.V=function(a,b){return!!(a.l&b)};
g.kO=function(a,b){return b.l==a.l&&b.g==a.g};
fO=function(a){return g.V(a,8)&&!g.V(a,2)&&!(!eO&&g.V(a,1024))};
lO=function(a){return g.V(a,64)&&!g.V(a,8)&&!g.V(a,4)};
g.mO=function(a){return g.V(a,1)&&!g.V(a,2)};
nO=function(a){return g.V(a,128)?-1:g.V(a,2)?0:g.V(a,64)?-1:g.V(a,1)&&!g.V(a,32)?3:g.V(a,8)?1:g.V(a,4)?2:-1};
gma=function(a){if(2==a.Mb())var b="progressive.net.retryexhausted";else if(3==a.Mb())b="fmt.decode";else if(4==a.Mb())b="fmt.unplayable";else if(5==a.Mb())b="drm.unavailable";else return null;var c="mediaElem.1";oO(a)&&(c+=";msg."+oO(a));.001>Math.random()&&(c+=";gpu."+(0,g.pO)());return{errorCode:b,errorDetail:c,message:g.U("YTP_ERROR_GENERIC_WITHOUT_LINK"),messageKey:"YTP_ERROR_GENERIC_WITHOUT_LINK"}};
g.qO=function(a,b){this.state=a;this.g=b};
rO=function(a,b){return g.V(a.state,b)&&!g.V(a.g,b)?1:!g.V(a.state,b)&&g.V(a.g,b)?-1:0};
g.sO=function(a,b){return a.baseYtUrl+"timedtext_video?ref=player&v="+b.videoId};
tO=function(){this.endTime=this.startTime=-1;this.kq="-";this.playbackRate=1;this.visibilityState=0;this.bq="";this.volume=this.connectionType=this.Vg=0;this.muted=!1};
vO=function(a){this.l=a;this.g=0;this.B=-1;this.I=this.l.Qd().volume;this.H=this.l.Qd().muted;this.C=window.NaN;this.o=0;this.qb=[];this.A=uO(this.l);this.D=this.F=0};
g.wO=function(a){a.A.startTime=a.o;a.A.endTime=a.g;a.qb.length&&g.Ia(a.qb).isEmpty()?a.qb[a.qb.length-1]=a.A:a.qb.length&&a.A.isEmpty()||a.qb.push(a.A);a.F+=a.g-a.o;a.A=uO(a.l);a.o=a.g};
xO=function(a){return a.F+a.l.l()-a.o};
yO=function(a){a.qb.length&&a.g==a.o||g.wO(a);var b=a.qb;a.qb=[];return b};
zO=function(a,b,c){c-=a.C;return b==a.g&&.5<c};
jma=function(a,b,c,d,e,f,k,l,m,n,q,r,v){this.videoData=a;this.g=b;this.Qd=c;this.C=d;this.l=e;this.B=f;this.K=k;this.getAudioTrack=l;this.I=m;this.D=n;this.A=q;this.F=r||function(){};
this.o=null;this.H=v||function(){}};
g.BO=function(a){return AO(a)()};
AO=function(a){if(!a.o){var b=g.Ea(function(a){var b=g.HF();a&&631152E6>=b&&(g.tD(Error("invalid yt.global.now value: "+b)),b=(new Date).getTime()+2);return b},a.g.experiments.g("html5_validate_yt_now"));
a.o=g.Ea(function(a){return Math.round(b()-a)/1E3},b());
a.H()}return a.o};
CO=function(a){var b=a.Qd();g.Fa(b,a.videoData.Qd());return b};
EO=function(){return window.navigator.connection&&window.navigator.connection.type?DO[window.navigator.connection.type]||DO.other:0};
uO=function(a){var b=new tO;b.kq=a.Qd().cc||"-";b.playbackRate=a.I();var c=a.A();0!=c&&(b.visibilityState=c);a.g.Vg&&(b.Vg=1);c=a.getAudioTrack();c.Nb&&c.Nb.id&&"und"!=c.Nb.id&&(b.bq=c.Nb.id);b.connectionType=EO();b.volume=a.Qd().volume;b.muted=a.Qd().muted;return b};
GO=function(a){g.K.call(this);var b=this;this.g=a;this.l={};this.na=1;this.V=window.NaN;this.o="N";this.C=this.X=this.A=0;this.K=this.ba="";this.W=0;this.ca=-1;this.I=this.M=0;this.N=this.H=!1;this.da=[];this.D=null;this.F=!1;(a=window.navigator.getBattery?window.navigator.getBattery():null)&&a.then&&a.then(function(a){b.D=a});
this.ka=(this.g.g.experiments.l("html5_disable_qoe_percentage")||0)>Math.floor(100*Math.random());this.g.g.experiments.g("html5_qoe_unstarted_in_initialization")&&g.FO(this,0,"vps",["N"])};
g.FO=function(a,b,c,d){var e=a.l[c];e||(e=[],a.l[c]=e);e.push(b.toFixed(3)+":"+d.join(":"))};
JO=function(a,b){b=0<=b?b:g.BO(a.g);var c=a.g.B();if(!(0,window.isNaN)(a.Y)&&!(0,window.isNaN)(c.o)){var d=c.o-a.Y;0<d&&g.FO(a,b,"bwm",[d,(c.B-a.oa).toFixed(3)])}a.Y=c.o;a.oa=c.B;(0,window.isNaN)(c.bandwidthEstimate)||g.FO(a,b,"bwe",[c.bandwidthEstimate.toFixed(0)]);a.g.videoData.nh&&c.g&&HO(a,"bwinfo",c.g);a.D&&g.FO(a,b,"bat",[a.D.level,a.D.charging?"1":"0"]);d=a.g.A();a.ca!=d&&(g.FO(a,b,"vis",[d]),a.ca=d);g.FO(a,b,"cmt",[a.g.l().toFixed(3)]);(d=EO())&&d!=a.W&&(g.FO(a,b,"conn",[d]),a.W=d);IO(a,b,
c);null!==a.g.videoData.zm&&(a.l.acc=[a.g.videoData.zm.join(":")])};
IO=function(a,b,c){if(!(0,window.isNaN)(c.l)){var d=c.l;c.A<d&&(d=c.A);g.FO(a,b,"bh",[d.toFixed(3)])}};
KO=function(a){var b=0,c;for(c in a.l)b+=c.length+Rj(a.l[c],function(a,b){return a+b.length},0);
1E3<b&&(new g.Mt(a.B,0,a)).start()};
LO=function(a,b,c,d){var e=a.g.l();c=[c,e.toFixed(3)];d&&c.push(d);g.FO(a,b,"error",c)};
lma=function(a,b){if(g.V(b,128))return"ER";if(g.V(b,512))return"SU";if(g.V(b,16)||g.V(b,32))return"S";var c=kma[nO(b)];a.g.g.experiments.g("tvhtml5_background_su")&&g.uL(a.g.g)&&"B"==c&&3==a.g.A()&&(c="SU");"B"==c&&g.V(b,4)&&(c="PB");return c};
MO=function(a,b){var c=a.l.cat||[];c.push(b);a.l.cat=c};
HO=function(a,b,c,d){var e=a.l.ctmp||[],f=-1!=a.da.indexOf(b);f||a.da.push(b);d&&f||(d||(c="t."+g.BO(a.g).toFixed(3)+";"+c),e.push(b+":"+c),a.l.ctmp=e,KO(a))};
NO=function(a,b,c,d){this.Xa=b;this.segments=[];this.experimentIds=[];this.adQueryId=null;this.oh=this.Ia=this.ca=this.ba=this.Ga=this.N=this.autoplay=this.autonav=!1;this.fa="yt";this.Hh=this.l=this.C=null;this.V=!1;this.B="watchtime"==c;this.A="playback"==c;this.F="delayplay"==c;this.D="atr"==c;this.Ea="engage"==c;this.Wj=!1;this.na=this.D?"/api/stats/"+c:"//"+b.Lh+"/api/stats/"+c;d&&(this.ca=d.fs,d.rtn&&(this.l=d.rtn),this.B?(this.ib=d.state,0<d.rti&&(this.C=d.rti)):(this.Oa=d.mos,this.xb=d.volume,
d.at&&(this.adType=d.at)),d.autonav&&(this.autonav=d.autonav),d.inview&&(this.Ya=d.inview),d.size&&(this.ka=d.size));this.Sa=g.Yb(b.A);this.N=b.D;this.ra=b.Ia;this.experimentIds=b.experiments.experimentIds;this.Y=b.Oa;this.fa=b.Xa;this.region=b.region;this.ob=b.Pa?b.Pa.toString():"";this.userAge=b.userAge;this.userGender=b.userGender;this.Qb=g.UF();this.Wj=b.ed;c=this.Xa;this.H=a.oauthToken||c.Y;this.adFormat=a.adFormat;this.adQueryId=a.adQueryId;this.autoplay=FN(a,c);this.autonav=a.fo||this.autonav;
this.contentVideoId=DN(a,c);this.Hh=a.Hh;this.clientPlaybackNonce=a.clientPlaybackNonce;a.vssCredentialsToken&&(this.M=a.vssCredentialsToken,this.oa=a.Ep);a.mdxEnvironment&&(this.mdxEnvironment=a.mdxEnvironment);this.rg=a.rg;this.Ff=a.Ff;a.Ka&&(this.da=AG(a.Ka),a.sc&&AG(a.sc)!=this.da&&(this.K=AG(a.sc)));this.oh=a.oh;this.xj=a.xj;a.za&&(this.Pa=a.og?"dvr":"live");this.al=a.al;this.dg=a.dg;this.playbackId=a.playbackId;this.eventId=a.eventId;this.playlistId=a.SC||a.playlistId;this.So=a.So;this.hg=a.hg;
this.vf=a.vf;this.ip=a.ip;this.subscribed=a.subscribed;this.videoId=a.videoId;this.videoMetadata=a.videoMetadata;this.visitorData=a.visitorData;this.osid=a.osid;this.Jt=a.Jt;this.referrer=a.referrer;this.Gl=a.Rt||a.Gl;this.fk=a.fk;this.sp=a.sp;this.Zh=a.Zh;this.ub=CN(a,b)};
OO=function(a,b){if(a.D)return null;var c=a.H&&KD(),d=a.Wj&&!!a.visitorData;if(!c&&!d)return null;var e={};c&&(e.Authorization="Bearer "+a.H);d&&(e["X-Goog-Visitor-Id"]=a.visitorData);return{headers:e,withCredentials:!0,dd:b}};
mma=function(a,b,c,d){b.cmt=b.len;b.lact="0";d=d();d=d.toFixed(3);b.rt=(1*d).toString();a=g.Lg(a,b);c?g.OD(a,c):g.fE(a)};
QO=function(a){var b={ns:a.fa,el:a.ub,cpn:a.clientPlaybackNonce,docid:a.videoId,ver:2,referrer:a.referrer,cmt:a.g(a.rg),plid:a.playbackId,ei:a.eventId,fmt:a.da,fs:a.ca?"1":"0",rt:a.g(a.Pb),of:a.Jt,adformat:a.adFormat,content_v:a.contentVideoId,euri:a.ra,lact:a.Qb,live:a.Pa,cl:a.ob,mos:a.Oa,osid:a.osid,state:a.ib,vm:a.videoMetadata,volume:a.xb};a.adQueryId&&(b.aqi=a.adQueryId);a.subscribed&&(b.subscribed="1");g.Fa(b,a.Sa);a.autonav&&(b.autonav="1");a.autoplay&&(b.autoplay="1");a.N&&(b.dni="1");a.ba&&
(b["final"]="1");a.oh&&(b.splay="1");a.Ff&&(b.delay=a.Ff);a.Y&&(b.hl=a.Y);a.region&&(b.cr=a.region);g.t(a.userAge)&&a.userGender&&(b.uga=a.userGender+a.userAge);g.t(a.X)&&(b.len=a.g(a.X));!a.B&&0<a.experimentIds.length&&(b.fexp=a.experimentIds.toString());null!=a.l&&(b.rtn=a.g(a.l));a.Gl&&(b.feature=a.Gl);a.playlistId&&(b.list=a.playlistId);a.hg&&(b.ctrl=a.hg);a.vf&&(b.ytr=a.vf);a.ip&&(b.ssrt="1");a.K&&(b.afmt=a.K);a.W&&(b.lio=a.g(a.W));a.B?(b.idpj=a.xj,b.ldpj=a.al,null!=a.C&&(b.rti=a.g(a.C))):g.t(a.adType)&&
(b.at=a.adType);(a.A||a.F)&&a.Hh&&(b.tst=a.Hh);a.ka&&(a.A||a.F)&&(b.size=a.ka);null!=a.Ya&&(a.A||a.F)&&(b.inview=a.g(a.Ya));a.B&&(b.volume=PO(a,(0,g.H)(a.segments,function(a){return a.volume})),b.muted=PO(a,(0,g.H)(a.segments,function(a){return a.muted?1:0})),b.st=PO(a,(0,g.H)(a.segments,function(a){return a.startTime})),b.et=PO(a,(0,g.H)(a.segments,function(a){return a.endTime})),(0,g.Kj)(a.segments,function(a){return 1!=a.playbackRate})&&(b.rate=PO(a,(0,g.H)(a.segments,function(a){return a.playbackRate}))));
(0,g.Kj)(a.segments,function(a){return 0!=a.visibilityState})&&(b.vis=PO(a,(0,g.H)(a.segments,function(a){return a.visibilityState})));
(0,g.Kj)(a.segments,function(a){return 0!=a.connectionType})&&(b.conn=PO(a,(0,g.H)(a.segments,function(a){return a.connectionType})));
(0,g.Kj)(a.segments,function(a){return 0!=a.Vg})&&(b.blo=PO(a,(0,g.H)(a.segments,function(a){return a.Vg})));
(0,g.Kj)(a.segments,function(a){return"-"!=a.kq})&&(b.cc=(0,g.H)(a.segments,function(a){return a.kq}).join(","));
if((0,g.Kj)(a.segments,function(a){return!!a.bq})){var c="au";
a.A&&(c="au_d");b[c]=(0,g.H)(a.segments,function(a){return a.bq}).join(",")}KD()&&a.M&&(b.ctt=a.M,b.cttype=a.oa,b.mdx_environment=a.mdxEnvironment);
a.Ea&&(b.etype=g.t(a.o)?a.o:0);a.fk&&(b.uoo=a.fk);a.sp&&(b.upt=a.sp);a.Zh&&(b.wpid=a.Zh);return b};
PO=function(a,b){return(0,g.H)(b,a.g).join(",")};
RO=function(a){g.K.call(this);this.g=a;this.l=new GO(a);g.M(this,this.l);this.o=new vO(a);this.C="paused";this.D=window.NaN;this.H=[10,10,10,40];this.I=this.F=0;this.V=this.N=this.X=this.W=this.M=this.K=this.B=!1;this.A=window.NaN};
SO=function(a,b,c){var d=g.BO(a.g);c=(0,window.isNaN)(c)?d:c;c=Math.ceil(c);var e=a.H[a.F];a.F+1<a.H.length&&a.F++;c+=e;d=1E3*(c-d);a.D=g.yD((0,g.z)(a.SO,a,c,b),d);return c};
TO=function(a,b){var c=CO(a.g);g.Fa(c,{state:a.C});c=new NO(a.g.videoData,a.g.g,b,c);c.rg=a.g.l();a.g.videoData.za||(c.X=a.g.C());if(a.g.videoData.pa){var d=fK(a.g.videoData.pa,c.rg);d&&(c.W=d-c.rg)}c.Pb=g.BO(a.g);c.segments=[uO(a.g)];return c};
UO=function(a,b){var c=TO(a,"watchtime");c.segments=b;c.rg=a.o.g;return c};
VO=function(a){a.o.update();return UO(a,yO(a.o))};
YO=function(a){a.g.videoData.remarketingUrl&&!a.W&&(WO(a,a.g.videoData.remarketingUrl),a.W=!0);a.g.videoData.youtubeRemarketingUrl&&!a.X&&(WO(a,a.g.videoData.youtubeRemarketingUrl),a.X=!0);a.g.videoData.googleRemarketingUrl&&!a.N&&(WO(a,a.g.videoData.googleRemarketingUrl),a.N=!0);a.g.videoData.ppvRemarketingUrl&&!a.V&&(WO(a,a.g.videoData.ppvRemarketingUrl),a.V=!0);XO(a)};
ZO=function(a){a.A=g.zD((0,g.z)(a.bp,a,"heartbeat"),3E4)};
XO=function(a){a.g.videoData.Ee.eventLabel=CN(a.g.videoData,a.g.g);a.g.videoData.Ee.playerStyle=a.g.g.playerStyle;a.g.videoData.Mo&&(a.g.videoData.Ee.feature="pyv");a.g.videoData.Ee.vid=a.g.videoData.videoId;var b=a.g.videoData.Ee;a=a.g.videoData;a=a.isAd()||!!a.Mo;b.isAd=a};
WO=function(a,b,c){a.g.g.ed&&a.g.videoData.visitorData&&JD(b)?g.OD(b,{dd:c,headers:{"X-Goog-Visitor-Id":a.g.videoData.visitorData}}):g.fE(b,c)};
$O=function(a,b){var c=a.l;g.FO(c,g.BO(c.g),"lra",[b]);HO(c,"live-readahead-seconds",b.toString())};
aP=function(a,b){nH.call(this,a,b);this.g=!1;pH(this,"getPresentingPlayerType",this.Ra);pH(this,"addInfoCardXml",this.bM);pH(this,"cueVideoByPlayerVars",this.dM);pH(this,"loadVideoByPlayerVars",this.xo);pH(this,"preloadVideoByPlayerVars",this.Oz);pH(this,"seekBy",this.oe);pH(this,"updatePlaylist",this.AM);pH(this,"updateLastActiveTime",this.zM);pH(this,"updateVideoData",this.BM);pH(this,"getPlayerResponse",this.getPlayerResponse);pH(this,"getStoryboardFormat",this.getStoryboardFormat);pH(this,"getProgressState",
this.uh);pH(this,"getHousebrandProperties",this.gM);pH(this,"setPlaybackQualityRange",this.Pz);pH(this,"getCurrentPlaylistSequence",this.fM);pH(this,"canPlayType",this.cM);pH(this,"sendVideoStatsEngageEvent",this.Ai);pH(this,"setCardsVisible",this.sl);pH(this,"handleGlobalKeyDown",this.lM);pH(this,"getAudioTrack",this.getAudioTrack);pH(this,"setAudioTrack",this.Us);pH(this,"getAvailableAudioTracks",this.getAvailableAudioTracks);pH(this,"getMaxPlaybackQuality",this.hM);pH(this,"getUserPlaybackQualityPreference",
this.jM);pH(this,"setSizeStyle",this.vM);pH(this,"forceFrescaUpdate",this.eM);pH(this,"setAutonav",this.Kz);pH(this,"setAutonavState",this.Qs);pH(this,"showControls",this.Qz);pH(this,"hideControls",this.Nz);pH(this,"getVisibilityState",this.zi);pH(this,"shouldSendVisibilityState",this.yM);pH(this,"getVideoContentRect",this.Mz);pH(this,"setSafetyMode",this.uM);pH(this,"setFauxFullscreen",this.qM);pH(this,"cancelPlayback",this.Rs);pH(this,"getVideoStats",this.Ax);pH(this,"updateSubtitlesUserSettings",
this.yo);pH(this,"getSubtitlesUserSettings",this.yi);pH(this,"resetSubtitlesUserSettings",this.Ts);pH(this,"isFastLoad",this.mM);pH(this,"isInline",this.nM);pH(this,"isPeggedToLive",this.isPeggedToLive);pH(this,"setMinimized",this.tM);pH(this,"setInline",this.sM);pH(this,"getSphericalProperties",this.Os);pH(this,"setSphericalProperties",this.vo);pH(this,"getSphericalConfig",this.iM);pH(this,"setSphericalConfig",this.wM);pH(this,"setBlackout",this.pM);pH(this,"onAdUxClicked",this.oM);pH(this,"getPlayerSize",
this.Ss);pH(this,"setGlobalCrop",this.rM);pH(this,"wakeUpControls",this.VT);pH(this,"isMutedByMutedAutoplay",this.EJ);pH(this,"getVideoAspectRatio",this.kM);pH(this,"setUseFastSizingOnWatch",this.xM)};
bP=function(a,b){aP.call(this,a,b)};
cP=function(a,b){this.o=a;this.l=b||null;this.A=!1};
dP=function(a,b){var c=a.o,d=g.zL(c)&&c.xb&&c.Ld;if(c.yd&&(xL(c)||g.RL(c)||d)&&!a.A){a.A=!0;g.sD("TIMING_ACTION")||g.rD("TIMING_ACTION",a.o.csiPageType);a.o.ob&&g.rD("CSI_SERVICE_NAME",a.o.ob);if(a.l){c=a.l.ba;for(var e in c)g.HM(e,c[e],"");e=a.l.X;for(var f in e)g.IM(f,e[f],"");f=a.l;f.ba={};f.X={}}g.IM("yt_pvis",LM(),"");g.IM("yt_pt","html5","");b&&!WM("pbs","")&&a.g("pbs",b);f=a.o;xL(f)&&"blazer"!=f.playerStyle||g.RL(f)||!WM("_start","")||PM("")}};
g.eP=function(a,b,c){this.start=a;this.end=b;this.o=nma++;a=c||{};this.ia=a.id||"";this.A=a.priority||7;this.active=!0;this.visible=a.visible||!1;this.style=a.style||"ytp-ad-progress";this.namespace=a.namespace||"";this.color="";if(b=a.color)b=b.toString(16),this.color="#"+Array(7-b.length).join("0")+b;this.g=null;this.tooltip=a.tooltip;this.visible=this.visible;this.style=this.style;this.start=this.start};
fP=function(a){return-0x8000000000000==a?"BEFORE_MEDIA_START":0==a?"MEDIA_START":0x7ffffffffffff==a?"MEDIA_END":0x8000000000000==a?"AFTER_MEDIA_END":a.toString()};
oma=function(a,b){switch(a.style){case "ytp-chapter-marker":return b?8:5;case "ytp-ad-progress":return 6;case "ytp-time-marker":return Number.POSITIVE_INFINITY;default:return 0}};
g.gP=function(a,b){return a.start-b.start||a.A-b.A||a.o-b.o};
g.hP=function(a,b){this.type=a||"";this.id=b||""};
g.jP=function(a){g.hF.call(this);this.startSeconds=0;this.CC=!1;this.Bb=0;this.title="";this.qh=0;this.Ja=[];this.Sf=this.Sc=!1;this.ae=this.Rw=this.Fl=null;this.views=0;this.HG=0!=a.fetch;this.Yd=[];this.Bb=Math.max(0,a.index||0);this.loop=!!a.loop;this.startSeconds=a.startSeconds||0;this.EN="1"==a.mob;this.title=a.playlist_title||"";this.description=a.playlist_description||"";this.author=a.author||a.playlist_author||"";this.Fh={};a.video_id&&(this.Ja[this.Bb]=a);var b=a.api;b&&("string"==typeof b&&
16==b.length?a.list="PL"+b:a.playlist=b);this.mo=0;if(b=a.list)switch(a.listType){case "user_uploads":this.Sf||(this.listId=new g.hP("UU","PLAYER_"+b),iP(this,"/list_ajax?style=json&action_get_user_uploads_by_user=1",{username:b}));break;case "user_favorites":this.Sf||(this.listId=new g.hP("FL","PLAYER_"+b),iP(this,"/list_ajax?style=json&action_get_favorited_by_user=1",{username:b}));break;case "search":pma(this,b);break;default:var c=a.playlist_length;c&&(this.qh=c);this.listId=new g.hP(b.substr(0,
2),b.substr(2));(b=a.video)?(this.Ja=b.slice(0),this.Sc=!0):qma(this)}else a.playlist&&(b=a.playlist.toString().split(","),0<this.Bb&&(this.Ja=[]),(0,g.C)(b,function(a){a&&this.Ja.push({video_id:a})},this),this.qh=this.Ja.length,b=(0,g.H)(this.Ja,function(a){return a.video_id}),iP(this,"/list_ajax?style=json&action_get_templist=1",{video_ids:b.join(",")}),this.Sc=!0);
this.setShuffle(!!a.shuffle);if(b=a.suggestedQuality)this.quality=b;this.Fh=mM(a,"playlist_");this.KC=(a=a.thumbnail_ids)?a.split(","):[]};
kP=function(a){return!!(a.playlist||a.list||a.api)};
lP=function(a){var b=a.Bb+1;return b>=a.qh?0:b};
mP=function(a){var b=a.Bb-1;return 0>b?a.qh-1:b};
nP=function(a,b){a.Bb=g.Wc(b,0,a.qh-1);a.startSeconds=0};
pma=function(a,b){if(!a.Sf){a.listId=new g.hP("SR",b);var c={search_query:b};a.EN&&(c.mob="1");iP(a,"/search_ajax?style=json&embeddable=1",c)}};
qma=function(a){if(!a.Sf){var b=b||a.listId;b={list:b};var c=a.jc();c&&c.videoId&&(b.v=c.videoId);iP(a,"/list_ajax?style=json&action_get_list=1",b)}};
iP=function(a,b,c){a.HG&&g.OD(g.Lg(b,c),{format:"JSON",Hb:(0,g.z)(function(a,b){oP(this,b)},a),
onError:(0,g.z)(function(){this.P("error")},a)})};
oP=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.jc();a.Ja=[];(0,g.C)(b.video,function(a){a&&(a.video_id=a.encrypted_id,this.Ja.push(a))},a);
a.qh=a.Ja.length;var d=b.index;d?a.Bb=d:a.Ck(c);a.setShuffle(!1);a.Sf=!1;a.Sc=!0;a.mo++;a.Fl&&a.Fl()}};
pP=function(a,b,c){this.audio=a;this.video=b;this.reason=c};
qP=function(a){this.l=window.Float32Array?new window.Float32Array(a):Array(a);this.o=this.g=a-1};
rP=function(a){return a.l[a.g]||0};
rma=function(){this.B=new qP(50);this.g=null;this.A=this.o=0;this.l=null};
tP=function(a,b,c){g.hF.call(this);var d=new sma;if("ULTRALOW"==a.latencyClass||b.g("html5_treat_latency_low_like_ultra_low")&&a.isLowLatencyLiveStream)d.o=!1;a.Zk?d.l=3:g.yN(a)&&(d.l=2);if(VD()){var e=b.l("html5_platform_minimum_readahead_seconds")||3;d.g=Math.max(d.g,e)}b.l("html5_minimum_readahead_seconds")&&(d.g=b.l("html5_minimum_readahead_seconds"));b.l("html5_maximum_readahead_seconds")&&(d.C=b.l("html5_maximum_readahead_seconds"));b.g("html5_force_adaptive_readahead")&&(d.o=!0);b.l("html5_allowable_liveness_drift_chunks")&&
(d.A=b.l("html5_allowable_liveness_drift_chunks"));b.g("html5_disable_use_media_max_time")&&(d.B=!0);b.l("html5_readahead_ratelimit")&&(d.D=b.l("html5_readahead_ratelimit"));this.l=d;this.A=a;this.H=c;this.o=[];this.B=0;this.C=1!=this.l.l;this.D=!1;this.F=0;b=(0,window.isNaN)(a.liveChunkReadahead)?3:a.liveChunkReadahead;a.Zk&&b--;a.isLowLatencyLiveStream&&"NORMAL"!=a.latencyClass||b++;this.g=sP(this,b)};
vP=function(a){return uP(a)*a.g};
xP=function(a,b){var c=wP(a);var d=a.l.A;a.D||(d=Math.max(d-1,0));d*=uP(a);return b>=c-d};
wP=function(a){return Math.max(tma(a)-vP(a),a.A.Xb())};
tma=function(a){return a.l.B?a.A.Rd():a.H()};
yP=function(a,b,c){3==a.l.l&&((b=xP(a,b),c||b)?b&&(a.C=!0):a.C=!1)};
zP=function(a,b){var c=xP(a,b);a.D!=c&&a.P("livestatusshift",c);a.D=c};
uP=function(a){return a.A.pa?eK(a.A.pa)||5:5};
sP=function(a,b){b=Math.max(Math.max(1,Math.ceil(a.l.g/uP(a))),b);return Math.min(Math.min(8,Math.floor(a.l.C/uP(a))),b)};
sma=function(){this.g=0;this.C=window.Infinity;this.D=0;this.o=!0;this.A=2;this.l=1;this.B=!1};
BP=function(a){this.F=a;this.g=new AP(0,0,null);this.B=8;this.A=[];this.o=[];this.C=this.H=window.NaN;this.V=this.l=this.I=0;this.D=window.NaN;this.W=0;this.N=!1;this.M=null;this.K=0};
CP=function(a){return{startTime:a.D/a.l,duration:a.V/a.l}};
DP=function(a){a.D=window.NaN;a.V=0;a.M=null;a.K=0};
EP=function(a){return!(0,window.isNaN)(a.C)&&a.l?a.C/a.l:a.W};
FP=function(a,b,c){var d=b.getUint32(c);b=b.getUint32(c+4);a.g=new AP(b,d,a.g);return 8};
GP=function(a){a.l&&!(0,window.isNaN)(a.H)&&(a.C=Math.floor(a.H*a.l),a.H=window.NaN)};
HP=function(a){return 0==a.g.type||1836019574==a.g.type||1952867444==a.g.type||1936286840==a.g.type||1953653094==a.g.type||1836019558==a.g.type};
IP=function(a,b,c){for(var d=c;d<b.byteLength;d++)a.A.push(b.getUint8(d));0<c&&a.o.push(new window.DataView(b.buffer,b.byteOffset,c))};
JP=function(a,b,c){return new EH(b,c,a.g.size,a.g.type,!0)};
AP=function(a,b,c){this.type=a;this.size=b;this.g=c;this.offset=this.version=0};
uma=function(a,b){this.l=a;this.C=this.B=!1;this.length=b?b:0;this.o=0;this.g=[];this.A=null;this.length?1!=this.l.length||this.l[0].fb||(this.l[0].fb=this.length):1==this.l.length||(0,g.Wl)(this.l,function(a){return!!a.range})};
vma=function(a){var b=a.length-a.o;(0,g.C)(a.g,function(a){b+=a.range.length});
return b};
wma=function(a,b,c,d,e){this.ba=null;this.g=a;this.da=b;this.ka=c;this.ca=e;this.V=this.l=window.NaN;this.Y=0;this.I=this.K=this.o=this.C=window.NaN;this.X=this.W=this.A=!1;this.B=0;this.F=FK(this.g);this.N=this.M=window.NaN;this.fa=d;this.H=window.NaN;this.D=null};
KP=function(a){return{rt:(((0,g.G)()-a.l)/1E3).toFixed(2),lb:String(a.o),pt:a.M.toFixed(2),pb:String(a.da),stall:a.B.toFixed(2),elbowTime:((a.V-a.l)/1E3).toFixed(2),elbowBytes:String(a.Y)}};
LP=function(a){a.H||(a.H=a.ba());return a.H};
NP=function(a,b,c){var d=(b-a.C)/1E3,e=c-a.o;if(a.A)2!=LP(a)&&0<e&&(.2<d||1024>e?(a.B+=d,.2<d&&MP(a,.05,e)):MP(a,d,e),a.X=!0);else if(c>=a.g.policy.o){if(2!=LP(a)){var f=a.g;f.C.g(1,(b-a.l)/1E3);yK(f)}a.V=b;a.Y=c;a.A=!0}BK(a.g,d,e);a.C=b;a.o=c};
MP=function(a,b,c){b=Math.max(b,.05);a=a.g;var d;a.l.g(void 0===d?b:d,c/b);a.o=g.HF()};
OP=function(a,b,c){c=Math.round(c/1024);if(a.D){var d=b-a.K,e=c-a.I;d=Math.min(d,4095);e=Math.min(e,4095);a.D.push("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(d>>6&63)+"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(d&63)+"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(e>>6&63)+"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(e&63))}a.K=b;a.I=c};
PP=function(a){return a.o>=a.g.policy.o};
QP=function(a){return Math.max(0,((0,g.G)()-a.K)/1E3)};
RP=function(a){var b=a.da-a.o;b=1E3*(b*a.F.stall+b/a.F.byterate);var c=(0,g.G)();b=PP(a)?b+c:b+Math.max(c,a.l+1E3*a.F.delay);a.N=b};
SP=function(a){if(a.Cn())return!1;a=a.Se("content-type");return"audio/mp4"==a||"video/mp4"==a};
TP=function(a,b,c,d,e,f){this.status=0;this.H=this.response=null;this.N=d;this.B=c;this.V=e;this.D=f;this.A=[];this.l=null;this.o=this.g=0;this.ia=xma++;this.C=null;a=new window.Request(a,{method:"GET",credentials:"include"});(0,window.fetch)(a).then(uD((0,g.z)(this.GS,this)),uD((0,g.z)(this.Tz,this)));(0,g.G)();this.M=this.K=this.F=!1;this.I="";b()};
YP=function(a,b){a.o+=b.length;var c=b.length;var d=UP(a)?1:Math.max(VP(a)/2,16384);c=c>=d;d=b.length+a.g>VP(a);a.M?((c||d)&&0!==a.g&&WP(a),c?a.A.push(b):XP(a,b)):(XP(a,b),a.o>=(UP(a)?1:16384)&&WP(a))};
WP=function(a){a.M=!0;a.A.push(a.l.subarray(0,a.g));a.g=0;a.l=a.F?null:new window.Uint8Array(VP(a))};
XP=function(a,b){if(b.length+a.g>VP(a)){var c=new window.Uint8Array(a.g+b.length);c.set(a.l,0);a.l=c}a.l.set(b,a.g);a.g+=b.length};
ZP=function(a){a.C.read().then(uD((0,g.z)(a.vO,a)),uD((0,g.z)(a.Tz,a)));(0,g.G)()};
$P=function(a){if(a.B){a.F=!0;if(a.D.na&&SP(a)&&!a.A.length&&!a.g){SP(a);if(!a.l||8>a.l.length)a.l=new window.Uint8Array(8);var b=new window.DataView(a.l.buffer,0,8);b.setUint32(0,8);b.setUint32(4,1936419184);a.g=8;a.o+=8}a.N()}};
UP=function(a){return a.D.bC&&SP(a)};
VP=function(a){a=a.Cn()||0;return Math.max(16384,.125*a)};
aQ=function(a,b,c,d,e){this.status=0;this.response=null;this.l=this.o=!1;this.g=new window.XMLHttpRequest;this.g.open("GET",a);this.g.responseType="arraybuffer";this.g.withCredentials=!0;this.g.onreadystatechange=(0,g.z)(this.EM,this);this.A=d;this.C=c;this.B=e;a=uD((0,g.z)(this.CM,this));this.g.addEventListener("load",a,!1);this.g.addEventListener("error",a,!1);this.g.send();b();this.g.addEventListener("progress",uD((0,g.z)(this.DM,this)),!1)};
bQ=function(a,b,c,d){this.A=a;this.info=b;this.timing=c;this.V=d;this.state=1;this.g=this.W=null;this.M=this.I=0;this.K=new g.Mt(this.QS,a.F,this);this.B=this.o=this.F=null;this.C=0;this.D=this.l=null;this.H=0;this.X=this.N=!1};
yma=function(a,b){a.F=b};
cQ=function(a){return a.o?gJ(a.o.g):""};
dQ=function(a){var b=KP(a.timing);b.shost=cQ(a);b.rn=a.I.toString();a.C&&(b.rc=a.C.toString());b.itag=""+AG(a.info.Ba[0].g.info);b.ml=""+ +a.info.Ba[0].g.Fd();b.sq=""+a.info.Ba[0].ua;410!=a.C&&500!=a.C&&503!=a.C||(b.fmt_unav="true");a.g&&a.g.Vs()&&(b.msg=a.g.Vs());return b};
eQ=function(a){cQ(a);return dJ(a.V,cQ(a))};
gQ=function(a){if("net.timeout"==a.B){var b=a.timing,c=(0,g.G)();c=c>b.l&&4E12>c?c:(0,g.G)();OP(b,c,1024*b.I);var d=(c-b.l)/1E3;if(2!=LP(b))if(PP(b))b.B+=(c-b.C)/1E3,zK(b.g,b.o,b.B);else{var e=b.g;e.C.g(1,d);yK(e);b.V=c}e=b.g;var f=b.M,k=b.ca;e.B.g(d,b.o/d);e.o=g.HF();k||e.g.g(1,d-f);BK(b.g,(c-b.C)/1E3,0)}else(0,g.G)();"net.nocontent"!=a.B&&("net.timeout"==a.B||"net.connect"==a.B?(b=eQ(a),b.l+=1):(b=eQ(a),b.g+=1),a.info.g.g++);fQ(a,7)};
hQ=function(a){if(1==a.state)return!0;a=eQ(a);return 100>a.l&&6>a.g};
fQ=function(a,b){a.state=b;if(5<=a.state){var c=a.timing;c.A&&(c.A=!1)}a.F&&a.F(a)};
iQ=function(a){return(0,g.Wl)(a.info.Ba,function(a){return 3==a.type})};
jQ=function(a){if(a.g){var b=a.g;a.g=null;b.abort()}a=a.timing;a.A&&(a.A=!1)};
lQ=function(a){var b=a.g.Se("content-type"),c=a.g.Cn();(b=(!kQ(a)||!b||-1!=b.indexOf("text/plain"))&&(!c||2048>=c))&&kQ(a)&&UP(a.g);return b};
zma=function(a,b){var c=(0,g.z)(a.jS,a),d=(0,g.z)(a.mS,a),e=(0,g.z)(a.lS,a),f=(0,g.z)(a.kS,a);return a.A.H&&(a.A.Ay&&!(0,window.isNaN)(a.info.l)&&a.info.l>a.A.Kh?0:"function"==typeof window.fetch&&window.ReadableStream&&iQ(a))?new TP(b,d,e,c,f,a.A):new aQ(b,d,e,c,f)};
kQ=function(a){return a.g?a.g.GC():!1};
mQ=function(a){return 2<=a.state&&!!a.l&&!!a.l.g.length};
nQ=function(a,b){if(b||kQ(a)&&!lQ(a)){if(!a.l){var c;kQ(a)||(c=a.g.Hq());a.l=new uma(a.info.Ba,c)}for(;a.g.mi();){c=a.l;for(var d=a.g.yC(),e=b&&!a.g.mi(),f=0,k=0,l=g.na(c.l),m=l.next();!m.done;m=l.next())if(m=m.value,m.range&&f+m.fb<=c.o)f+=m.fb;else{var n=c,q=m;if(1==q.type){n.B=!0;var r=!1}else 3==q.type||4==q.type?(q=n.B&&!n.C,n.C=!0,r=q):r=!1;n=c;var v=c.o-f,B=k;q=d;r=r||m.g.fz();var F=q.length-B;m.range&&(F=Math.min(m.fb-v,F));v=oI(m,m.l+v,F,m.range?m.l+v+F==m.range.length:!!e);var L=gI(q.byteOffset,
q.length);B=gI(q.byteOffset+B,F);n.g.push(new GI(v,q.buffer,B,L,r));n=F;c.o+=n;k+=n;f+=m.fb;if(k==d.length)break}}}};
Ama=function(a){var b=a.timing.fa;return a.A.jm?b:!b||!(0,window.isNaN)(a.info.l)&&0<a.info.l?!1:a.g&&a.g.Rn()?!SP(a.g)||(0,window.isNaN)(a.info.l)&&(b=a.g.Se("x-head-seqnum"))&&(0,window.parseInt)(b,10)>a.info.Ba[0].ua?!1:!0:!0};
oQ=function(a){for(var b=new window.Uint8Array(0),c=new window.DataView(a.buffer,a.byteOffset,a.length),d=0;d<a.length-8;){var e=c.getUint32(d);if(1>=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 window.Uint8Array(b.length+f.length);k.set(b);k.set(f,b.length);b=k}d+=e}}return b};
Bma=function(a){a=ika(a);(0,g.C)(a,function(a){return!a.l});
return(0,g.H)(a,function(a){return new window.Uint8Array(a.data.buffer,a.offset+a.data.byteOffset,a.size)})};
pQ=function(a){return g.de(a,!0).replace(/[\.]{1,2}$/,"")};
qQ=function(a,b){g.hF.call(this);this.D=0;this.o=a;this.g=[];this.A=null;this.I=b;this.B=this.F=window.NaN;this.N=null;this.W=(0,g.z)(function(a){this.o.Nm&&(this.P("timestamprewrite",a),this.o.Nm=!1)},this);
this.V=this.K=this.C=this.l=null;this.M=!1;this.H=null;this.o.ra&&(this.l=new BP(this.o))};
rQ=function(a){return a.g.length?a.g[0]:null};
sQ=function(a){return a.g.length?a.g[a.g.length-1]:null};
Dma=function(a,b,c){b=Cma(a,b,c);(0,g.C)(b,function(b){a.g.push(b)})};
Ema=function(a){return(0,g.Kj)(a.g,function(a){return a.info.o})};
Fma=function(a,b){if(b){var c=g.Ja(a.g,function(a){return a.info.o});
-1!=c&&(a.g=g.Ya(a.g,0,c+1))}else a.g=[]};
Gma=function(a){if(!a.g.length)return 0;for(var b=a.g[0].o.length,c=1;c<a.g.length;c++)a.g[c].g!=a.g[c-1].g&&(b+=a.g[c].o.length);a.A&&(b+=a.A.o.length);return b};
tQ=function(a){return(0,g.H)(a.g,function(a){return a.info})};
uQ=function(a){return a.l?EP(a.l):a.F||0};
Cma=function(a,b,c){if(!c.verify()||c.info.g.Wr()){var d=mI(c.info);d.verification="1";a.P("error",d||{})}c.pe&&c.info.g.info.video&&yJ(c.info.g,HI(c));a.I.info.Cc&&g.EG(c.info.g.info)&&(c.info.F=Bma(HI(c)));c.info.o&&(a.V=c.info);if(!a.I.Ce()){2==c.info.g.info.containerType&&(d=HI(c),c.pe&&c.info.g.info.video&&yI(d));if(a.C){d=c.info;var e=a.C;d.ua=e.l;d.C=e.o}!a.K||(a.o.Kd?kI(a.K,c.info,!0):lI(a.K,c.info))||(a.l&&a.l.reset(),a.F=window.NaN,a.D=0);a.K=c.info;a.l?c=Hma(a,c):(d=(0,window.isNaN)(a.B)?
(0,window.isNaN)(a.F)?c.info.startTime:a.F:a.B,a.B=window.NaN,a.o.M&&!JI(c,d)?(d=mI(c.info),d.smst="1",a.P("error",d||{})):a.F=d+KI(c));if(!c)return[];if(vQ(a,c)){d=c;if(g.EG(d.info.g.info))if(e=HI(d),e=QH(e,0,1701671783)){e.skip(4);HH(e);HH(e);GH(e);GH(e);GH(e);GH(e);var f=new window.Uint8Array(new window.ArrayBuffer(e.size-e.g));var k=new window.Uint8Array(e.data.buffer,e.offset+e.g,e.size-e.g);f.set(k);e.g=e.size;f=f.buffer;e=e.offset;f=String.fromCharCode.apply(String,new window.Uint8Array(f));
e=(f=PH(f))?new NH(f,e):null}else e=null;else e=new qI(HI(d)),f=e.g,e.g=0,k=null,sI(e,[408125543,307544935,29555,26568,17543])&&(k=vI(e,!0),k=String.fromCharCode.apply(String,CI(e,k)),k=(k=PH(k))?new NH(k):null),e.g=f,e=k;d.l=e;c.l&&(a.C=c.l,a.M=!!a.l,d=c.info,e=a.C,d.ua=e.l,d.C=e.o,d=a.K,e=a.C,d.ua=e.l,d.C=e.o)}a.o.ym&&vQ(a,c)&&cI(HI(c),1701671783);e=c;if(a.C)if(e.info.o){a.M=!1;a.H=null;d=a.C;if(a.l)e=CP(a.l),DP(a.l),f=e.startTime,e=e.duration;else{if(g.EG(e.info.g.info)){f=e.info.g.g;for(var l=
k=window.NaN,m=0,n=new window.DataView(e.g);VH(n,m);){var q=WH(n,m);1936286840==q.type?l=$H(q):1836476516==q.type?l=TH(q):1952867444==q.type&&(0,window.isNaN)(k)&&(k=ZH(q));m=XH(q.type)?m+8:m+q.size}!l&&f&&(l=UH(f));f=k/l}else f=new qI(HI(e)),k=e.pe?f:new qI(new window.DataView(e.info.g.g.buffer)),l=EI(k),k=f.g,f.g=0,FI(f)?uI(f,231)?(l=zI(f)*l/1E9,f.g=k,f=l):(f.g=k,f=window.NaN):(f.g=k,f=window.NaN);f=f||e.info.B;e=KI(e)}e=new BH(d.l,f,e,d.ingestionTime,"sq/"+d.l,void 0,void 0,!1);a.P("segmentinfo",
e);if(k=d.g["Cuepoint-Type"]?new MH((0,window.parseFloat)(d.g["Cuepoint-Playhead-Time-Sec"])||0,(0,window.parseFloat)(d.g["Cuepoint-Total-Duration-Sec"])||0,d.g["Cuepoint-Context"]):null)k.Xe+=f,a.P("cuepoint",k,d.l);d=e}else a.M&&!(0,window.isNaN)(a.l.D)?(d=a.C,e=CP(a.l).startTime,d=new BH(d.l,e,a.C.F,d.ingestionTime,"sq/"+d.l,void 0,void 0,!0),a.H=d,a.P("placeholderinfo",d),a.M=!1):d=null;else d=null;e=c;if(a.o.Rg)if(d)for(pI(e.info,d),b=g.na(b.info.Ba),e=b.next();!e.done;e=b.next())pI(e.value,
d);else a.H&&pI(e.info,a.H);c.info.o&&(a.C=null)}b=c;if(a.o.sA&&!a.I.Ce()&&(0==b.info.l||a.A)&&g.EG(b.info.g.info)&&3==b.info.type&&!LI(b)&&b.info.duration&&!a.o.ra&&(b=c,a.D+=1E3*(KI(b)-b.info.duration),a.N&&Math.abs(a.D-a.N.D)>=a.o.Sg))return b=c,c=(a.N.D-a.D)/1E3,d=KI(b)+c,e=new window.DataView(b.g),e=(e=g.SH(e,1936286840))?$H(e):window.NaN,(0,window.isNaN)(e)&&(e=b.info.g.g,f=new window.DataView(b.g),e=(f=g.SH(f,1836476516))?TH(f):e?UH(e):window.NaN),(e=wQ(a,b,d*e))&&e.length&&(f=mI(b.info),f.fds=
d.toFixed(3),f.com=a.D.toFixed(3),a.P("timestamprewrite",f),a.F+=c,a.D+=1E3*c),e?e:xQ(a,b);if(!a.I.Ce()&&a.I.info.Cc&&a.o.hm)if(b=c,c=yQ(a,b)){e=QH(c,0,1718909296);m=QH(c,0,1836019574);f=QH(c,0,1701671783);l=QH(c,0,1836019558);if(e&&m&&l){k=dI(c,m);d=dI(c,l);n=m.size;q=g.na(d);for(m=q.next();!m.done;m=q.next())m=m.value,1886614376==m.type&&(k.push(m),n+=m.size);l=e.size+n+l.size;f&&(l+=f.size);l=new IH(l);KH(l,e);LH(l,1836019574,k);f&&KH(l,f);e=g.na(d);for(m=e.next();!m.done;m=e.next())f=m.value,
1886614376==f.type&&(f.type=1936419184,f.data.setUint32(f.offset+4,1936419184));LH(l,1836019558,d);d=l.data.buffer}else d=null;a=d?zQ(a,c,d,b):xQ(a,b)}else a=xQ(a,b);else a.o.Pb&&a.I.Ce()&&(0==c.info.l||a.A)&&g.EG(c.info.g.info)?(b=c,c=b.info.g.index.Lq(b.info.ua),a=(c=wQ(a,b,c))?c:xQ(a,b)):a=[c];return a};
vQ=function(a,b){return!a.I.Ce()&&3==b.info.type&&0==b.info.l&&(g.EG(b.info.g.info)||2==b.info.g.info.containerType)};
Hma=function(a,b){var c;(c=!(0,window.isNaN)(a.B))||(c=a.l,c=!(!(0,window.isNaN)(c.C)||!(0,window.isNaN)(c.H)));c&&(c=a.l,c.H=(0,window.isNaN)(a.B)?(0,window.isNaN)(a.F)?b.info.startTime:a.F:a.B,GP(c),a.B=window.NaN);c=HI(b);a.l.process(c);if(c=b.info.o)c=a.l,c=!(0==c.g.type&&!c.A.length);c&&!a.o.Ld&&(c=mI(b.info),c.partialbox="1",a.P("error",c||{}));if(a.o.OB){if(!a.l.N&&!b.info.o)return null}else if((0,window.isNaN)(a.l.D))return null;c=a.l;var d=b.info.g.info;if(c.o.length)if(c.N=!1,c.F.C||1!=
c.o.length){for(var e=0,f=g.na(c.o),k=f.next();!k.done;k=f.next())e+=k.value.byteLength;if(c.F.C){if(!c.M||c.M.length-c.K<e)c.M=new window.Uint8Array(Math.max(e,c.F.lg+Math.round(d.g*c.F.kg))),c.K=0;d=c.M;f=c.K}else d=new window.Uint8Array(e),f=0;var l=f,m=g.na(c.o);for(k=m.next();!k.done;k=m.next())k=k.value,d.set(new window.Uint8Array(k.buffer,k.byteOffset,k.byteLength),f),f+=k.byteLength;c.o.length=0;c.F.C&&(c.K=f);c=new window.DataView(d.buffer,l,e)}else e=c.o[0],c.o.length=0,c=e;else c=null;
if(!c)return null;e=gI(c.byteOffset,c.byteLength);k=a.o.C?gI(0,c.buffer.byteLength):e;d=b.info.l+b.info.fb-a.l.A.length-c.byteLength;f=oI(b.info,d,c.byteLength,b.info.o);return new GI(f,c.buffer,e,k,b.pe&&(!a.o.C||!d))};
xQ=function(a,b){if(a.A&&a.A!=b){var c=[a.A,b];a.A=null;return c}return[]};
wQ=function(a,b,c){var d=yQ(a,b);return d?(c=gka(d,c,a.W))?zQ(a,d,c,b):null:null};
zQ=function(a,b,c,d){b=bI(b);a.A&&(b-=a.A.range.length,a.A=null);a=II(d,b);a[0].g=c;a[0].range=gI(0,c.byteLength);a[0].o=gI(0,c.byteLength);d=a[0];c=new window.DataView(c);c=!!QH(c,0,1836019574);d.pe=c;return a};
yQ=function(a,b){if(a.A){var c=a.A,d=new window.Uint8Array(c.range.length+b.range.length);d.set(new window.Uint8Array(c.g,c.range.start,c.range.length));d.set(new window.Uint8Array(b.g,b.range.start,b.range.length),c.range.length);c=new window.DataView(d.buffer);bI(c);return c}c=HI(b);if((d=bI(c))&&d<c.byteLength)return c;a.A=b;return null};
AQ=function(){this.g=this.l=!1};
BQ=function(a,b){this.Ua=b;this.o=[];this.l=new qQ(a,b);this.V=this.A=this.g=null;this.M=0;this.I=b.info.g;this.F=this.H=!1;this.D=new AQ;this.K=0;this.C=b.wc();this.B=-1;this.ak=this.C?0:window.NaN};
CQ=function(a,b){a.o.push(b);a.g=g.Ia(b.info.Ba)};
EQ=function(a){for(;a.o.length&&6==a.o[0].state;){var b=a.o.shift();DQ(a,b);b=b.timing;a.M=(b.C-b.l)/1E3}a.o.length&&mQ(a.o[0])&&!jI(a.o[0].info.Ba[0])&&DQ(a,a.o[0])};
DQ=function(a,b){if(mQ(b)){b.N=!0;var c=b.l,d=c.g;c.g=[];c.A=g.Ia(d).info;(0,g.C)(d,(0,g.z)(a.W,a,b))}};
HQ=function(a,b){a.Ua.Fd();var c=FQ(a,b);if(0<=c)return c;a.g=a.Ua.gh(b).Ba[0];GQ(a)&&(a.A=null);a.K=0;return a.g.startTime};
Ima=function(a,b){var c=a.l.g.length?sQ(a.l).info:a.A;if(b&&c&&!c.o){var d=c.ua;c=[];for(var e=g.na(a.o),f=e.next();!f.done;f=e.next())f=f.value,(0,g.Kj)(f.info.Ba,function(a){return a.ua==d})?c.push(f):IQ(a,f);
a.o=c;a.g=a.o.length?g.Ia(g.Ia(a.o).info.Ba):null}else JQ(a)};
KQ=function(a){var b=0;(0,g.C)(a.o,function(a){var c=b;a=a.l&&a.l.length?vma(a.l):wJ(a.info);b=c+a},a);
return b+=Gma(a.l)};
LQ=function(a,b){var c=!!a.Ua.info.video&&!!a.A&&!a.A.o,d=1<=b&&c;Fma(a.l,d);a.H=d;Ima(a,2<=b&&c)};
MQ=function(a){a.D.l||a.D.start();LQ(a,0);GQ(a)&&(a.A=null)};
GQ=function(a){return!!a.A&&a.A.C};
NQ=function(a){var b=[];a.A&&b.push(a.A);b=g.Va(b,tQ(a.l));(0,g.C)(a.o,function(a){(0,g.C)(a.info.Ba,function(c){a.N&&(b=(0,g.Hd)(b,function(a){return!(a.g!=c.g?0:a.range&&c.range?a.range.start+a.l>=c.range.start+c.l&&a.range.start+a.l+a.fb<=c.range.start+c.l+c.fb:a.ua==c.ua&&a.l>=c.l&&(a.l+a.fb<=c.l+c.fb||c.o))}));
3!=c.type&&4!=c.type||b.push(c)})});
a.g&&!jka(a.g,g.Ia(b),a.g.g.Ce())&&b.push(a.g);return b};
OQ=function(a){if(!a.g||!a.g.fb)return!1;a=NQ(a);if(!a.length)return!1;for(var b=1;b<a.length;b++)if(!lI(a[b-1],a[b]))return!1;return!0};
FQ=function(a,b){if(OQ(a)){a:{var c=NQ(a);c=g.na(c);for(var d=c.next();!d.done;d=c.next())if(d=d.value,d.B<=b&&d.startTime+d.duration>=b){c=d;break a}c=null}if(c)return c.startTime}return window.NaN};
PQ=function(a){return(0,g.Kj)(a.o,function(a){return 4<=a.state})};
QQ=function(a){return!(!a.g||!a.Ua.Fd()||a.g.g==a.Ua)};
RQ=function(a){return QQ(a)&&a.g.g.info.g<a.Ua.info.g};
SQ=function(a,b,c){return(a=sQ(a.l)?sQ(a.l).info:a.A)&&!a.C?a.A>b&&a.A<b+c:!1};
JQ=function(a){(0,g.C)(a.o,function(a){IQ(this,a)},a);
a.o=[];a.g=null};
IQ=function(a,b){if(b.N){var c=a.l,d=b.info;c.M=!1;c.H&&(c.P("placeholderrollback",c.H),c.H=null);c.l&&(d=(0,window.isNaN)(c.B)?d.Ba[0].range?d.Ba[0].B:(0,window.isNaN)(c.l.D)?EP(c.l):CP(c.l).startTime:c.B,c.l.reset(),c.K=c.V,c.B=d);c.C=null}b.dispose()};
TQ=function(a){return!!a.g&&-1!=a.g.ua&&a.g.ua<a.Ua.index.Gf()};
UQ=function(a){if(a.g){var b=sQ(a.l);b&&3==b.info.type&&-1==a.g.ua&&(a.g.ua=b.info.ua)}};
Jma=function(a,b){this.g=a;this.l=b;this.o=1};
Kma=function(a,b){var c=Math.min(2.5,AK(a.g)),d=VQ(a);return b-c*d};
XQ=function(a,b,c,d,e){e=void 0===e?!1:e;d/=a.o;var f=a.g.policy.l?1/EK(a.g):CK(a.g)+1/EK(a.g);var k=Math.max(.9*(d-3),AK(a.g)+a.g.policy.o*f);c=k/f*a.l.jo/(b+c);c=Math.min(c,d);a.l.Ga&&e&&(c=Math.max(c,a.l.Ga));return WQ(a,c,b)};
WQ=function(a,b,c){return Math.ceil(Math.max(Math.max(65536,a.l.Tn*c),Math.min(Math.min(a.l.K,a.l.ka*c),Math.ceil(b*c))))};
Lma=function(a,b){var c=WQ(a,b.video?a.l.rD:a.l.zd,b.g);return a.l.fd&&b.video?Math.max(c,a.l.fd):c};
VQ=function(a){var b=EK(a.g);if(a.l.xe)return b;var c=a.l.zn,d=1E-9+AK(a.g);a.g.policy.l||(d+=c*CK(a.g));b*=Math.min(1,c/(b*d));a.l.ed&&(c=((xK(a.g.g,.98)||0)-1)/2,c=Math.max(0,Math.min(1,c)),b*=1-a.l.ed*c);return b};
YQ=function(a){return VQ(a)/a.o};
Mma=function(a,b,c,d){this.Y=a;this.C=b;this.F=c;this.I=d;this.o=this.N=this.ca=this.D=null;this.A="i";this.V=-1;this.l=this.B=null;this.g=[];this.X={};this.W=this.K=0;this.da=null;this.M=this.H=!1;this.ba=0};
cR=function(a,b,c,d){"m"==c&&a.D.isLocked()&&!b.isLocked()&&(c="a");a.H=a.H||d;if("m"==c&&b.isLocked())return a.A=c,ZQ(a,b),a.K=a.g.length-1,$Q(a),aR(a),a.M=a.M||a.o!=a.l,a.o=a.l,new pP(a.B,a.o,c);d=a.D;d=d.l==b.l&&d.g==b.g&&d.o==b.o;if("m"==a.A&&a.D.isLocked()&&d)return null;"r"!=c||d||(a.V=-1);if("u"==c){if("m"==a.A)return null;a.ca=b;b=a.D}"m"==c&&(a.ca=null);a.ca?ZQ(a,QG(b,a.ca)):ZQ(a,b);aR(a);if("r"==c&&a.l==a.o){if(d)return null;a.o=a.l;return new pP(a.B,a.l,c)}a.A=c;bR(a);return null};
Nma=function(a,b){if(b.info.video){if(a.o!=b)return a.o=b,dR(a)}else a.N=b;return null};
eR=function(a){return!!a.W&&1E4>=g.HF()-a.W};
fR=function(a){return a.D.isLocked()};
bR=function(a){a.o&&a.l&&gR(a,a.o.info)<gR(a,a.l.info)&&(a.H=a.H||"r"==a.A,a.H=a.C.ce?a.H||"v"==a.A&&a.l.info.video.width>a.o.info.video.width:a.H||a.l.info.video.width>1.6*a.o.info.video.width)};
dR=function(a){var b=a.A;a.A="a";a.V=g.HF();a.H=!1;return new pP(a.N,a.o,b)};
ZQ=function(a,b){a.D=b;var c=a.I.videoInfos;if(!fR(a)&&(c=(0,g.Hd)(c,function(a){return a.g>this.C.D||4<this.F.g[a.id].A.g?!1:!0},a),eR(a))){c=(0,g.Hd)(c,function(a){return a.id!=this.da.id},a);
var d=(0,g.Hd)(c,function(a){a=AG(a);return"140"==a||"134"==a||"243"==a});
d.length&&(c=d)}c.length||(c=a.I.videoInfos);d=(0,g.Hd)(c,b.A,b);d.length||(d=[c[0]]);d.sort((0,g.z)(function(a,b){return gR(this,a)-gR(this,b)},a));
for(c=1;c<d.length;c++){var e=d[c-1],f=d[c];e.video.width>f.video.width?(g.Sa(d,c),c--):gR(a,e)*a.C.g>gR(a,f)&&(g.Sa(d,c-1),c--)}c=d[d.length-1];a.g=d;pka(a.C,c)};
Oma=function(a,b){if(b)a.B=a.F.g[b];else{var c=g.Ka(a.I.g,function(a){return!!a.Nb&&a.Nb.isDefault});
c=c||a.I.g[0];a.B=a.F.g[c.id]}$Q(a)};
$Q=function(a){if(!a.B.info.Nb&&(a.B=a.F.g[a.I.g[0].id],1<a.I.g.length)){if(a.D.isLocked())var b=240>a.D.g;else{for(b=0;b+1<a.g.length&&"tiny"==a.g[b].video.quality;)b++;var c=YQ(a.Y)/a.C.g;b=gR(a,a.B.info)+gR(a,a.g[b])>c}b&&(a.B=a.F.g[a.I.g[1].id])}};
aR=function(a){if(fR(a))a.l=a.F.g[a.g[a.g.length-1].id];else{for(var b=Math.min(a.K,a.g.length-1),c=YQ(a.Y),d=gR(a,a.B.info),e=c/a.C.o-d;0<b&&!(gR(a,a.g[b])<=e);b--);for(c=c/a.C.g-d;b<a.g.length-1&&!(gR(a,a.g[b+1])>=c);b++);a.l=a.F.g[a.g[b].id];a.K=b;bR(a)}};
Pma=function(a){var b=a.C.o,c=YQ(a.Y)/b-gR(a,a.B.info);b=g.La(a.g,function(a){return gR(this,a)<c},a);
0>b&&(b=0);a.K=b;a.l=a.F.g[a.g[b].id]};
gR=function(a,b){if(!a.C.Y)return b.g;if(!a.X[b.id]){var c=a.F.g[b.id].index.qx(a.ba,a.C.Y);c=b.A&&a.o&&a.o.index.Ub()?c||b.A:c||b.g;a.X[b.id]=c}return a.X[b.id]};
Qma=function(a,b){var c=Tb(a.F.g,function(a){return AG(a.info)==b});
if(void 0!=c)return cR(a,NG("auto",c.info.video.quality,!0),"u",!0),c;throw Error("Itag "+b+" from server not known.");};
Rma=function(a){var b=[];if("i"!=a.A&&"a"!=a.A&&"u"!=a.A)return b;var c=!1;if(Gka(a.F)){for(var d=Math.max(0,a.K-2);d<a.K;d++){var e=AG(a.g[d]);xG(a.g[d].video)||(c=!0);b.push(e)}if(!c&&a.C.pm)for(d=Math.max(0,a.K-3);0<=d&&!c;d--)xG(a.g[d].video)||(c=!0,b.push(AG(a.g[d])))}return b};
Sma=function(){this.g=this.l=0;this.o=[]};
hR=function(a,b){return(a[b]<<24)+(a[b+1]<<16)+(a[b+2]<<8)+a[b+3]};
iR=function(a,b,c,d){this.l=a;this.C=b;this.B=d;this.A=c;this.g=0};
Tma=function(a,b){this.l=a;this.H=b;this.D=this.C=this.F=this.g=null;this.A=this.o=window.NaN;this.B=!1};
Uma=function(a,b,c){var d=(0,g.G)()/1E3-a.A<a.l.Qb;if(d&&!a.g.ha()&&!(5<=a.g.state)&&QP(a.g.timing)<a.o)return window.NaN;var e=jR(a,a.C,a.D);if((0,window.isNaN)(e))return kR(a),window.NaN;if(rQ(b.l)==a.F||(0,window.isNaN)(c)||c<e)return d?a.B=!0:kR(a),window.NaN;kR(a);return e};
kR=function(a){a.g=null;a.F=null;a.C=null;a.D=null;a.o=window.NaN;a.A=window.NaN;a.B=!1};
jR=function(a,b,c){b=(0,g.G)()/1E3-(a.H.o()||0)-b.B-a.l.qD;if(0>=b)return window.NaN;var d=c.g.index;if(!CJ(d,c.ua,!0))return window.NaN;var e=d.getDuration(c.ua);c=d.Vd(c.ua);a=Math.min(c+b,c+e-a.l.bD);return a<=c?window.NaN:a};
Vma=function(){this.g=[];this.l=g.gP};
lR=function(a,b){for(var c=[],d=g.na(a.g),e=d.next();!e.done&&!(e=e.value,e.contains(b)&&c.push(e),e.start>b);e=d.next());return c};
Wma=function(a){return a.g.slice(mR(a,0x7ffffffffffff),a.g.length)};
mR=function(a,b){var c=eb(a.g,function(a){return b-a.start||1});
return 0>c?-(c+1):c};
nR=function(a,b){for(var c=window.NaN,d=g.na(a.g),e=d.next();!e.done;e=d.next())if(e=e.value,e.contains(b)&&((0,window.isNaN)(c)||e.end<c)&&(c=e.end),e.start>b&&((0,window.isNaN)(c)||e.start<c)){c=e.start;break}return c};
oR=function(a,b,c,d){g.K.call(this);this.A=window.NaN;this.H=!1;this.F=null;this.I=this.K=this.B=!1;this.X=a;this.W=b;this.M=c;this.N=d;this.V=new g.Mt(this.o,250,this);g.M(this,this.V);this.D=new g.Mt(this.o,0,this);g.M(this,this.D);this.l=[];this.g=new Vma};
pR=function(a,b){a.o();var c=a.g;if(1<b.length&&b.length>c.g.length)c.g=c.g.concat(b),c.g.sort(c.l);else for(var d=g.na(b),e=d.next();!e.done;e=d.next())e=e.value,!c.g.length||0<c.l(e,c.g[c.g.length-1])?c.g.push(e):g.ib(c.g,e,c.l);a.A=window.NaN;a.o()};
qR=function(a){return a.ha()?[]:a.g.g};
Xma=function(a,b){var c=(0,g.Hd)(qR(a),function(a){return a.namespace==b});
a.C.apply(a,c);return c};
Yma=function(a,b){var c=[];if(!b.length)return c;for(var d=0;d<b.length;d++){var e=b[d];e.active&&-1==a.l.indexOf(e)&&(a.l.push(e),c.push([1,e]))}return c};
Zma=function(a,b){var c=[];if(!b.length)return c;b.sort(g.gP);for(var d=0;d<b.length;d++){var e=b[d];a.l.splice(a.l.indexOf(e),1);c.push([2,e])}return c};
rR=function(){var a=this;this.l=this.g=null;this.o=new g.Sf(function(b,c){a.g=b;a.l=c})};
sR=function(a,b,c,d,e){g.hF.call(this);this.M=a;this.l=b;this.C=c;this.ib=e||null;this.g=this.A=null;this.F=new Jma(a,b);this.o=null;this.D=new Mma(this.F,b,this.C,d);this.N=new g.Mt(this.Te,0,this);g.M(this,this.N);this.fa=new g.Mt(this.Te,1E3,this);g.M(this,this.fa);this.ob=new g.Mt(this.Te,void 0,this);g.M(this,this.ob);this.Pa=new g.Mt(this.Te,1E4,this);g.M(this,this.Pa);this.B=window.NaN;this.I=!1;this.H=window.NaN;this.Xa=0;this.X=this.na=this.V=!1;this.xb={};this.da="";this.oa=this.ra=0;this.Sa=
b.gm?new Sma:null;this.Ia=new uK(5);this.W=!1;this.Oa={};this.Ea="";this.Ga=window.NaN;this.Y=!1;a=this.l;this.K=a.ub&&this.C.l?new Tma(a,this.Ia):null;this.ba=null};
tR=function(a,b){b=b||a.g&&a.g.g&&a.g.g.startTime||a.B;var c=a.g;var d=a.D;if(d.C.Y){var e=d.l&&d.l.index.hh(b)||0;d.ba!=e&&(d.X={},d.ba=e,ZQ(d,d.D))}e=!fR(d)&&-1<d.V&&g.HF()-d.V<1E3*d.C.fm;var f=3*gR(d,d.l.info)<YQ(d.Y);if(!e||f)d.W&&!eR(d)&&(d.W=0,ZQ(d,d.D)),$Q(d),aR(d),d.M=d.M||d.l!=d.o;d.l.index.Ub()||(d.ba=-1);d=d.l;c.Ua!=d&&(c.Ua=d);c=a.A;d=a.D.B;c.Ua!=d&&(c.Ua=d)};
uR=function(a,b){a.V=!0;a.na=b};
g.vR=function(a,b){var c=a.g.Ua.info.mimeType;b.g=b.o.addSourceBuffer(a.A.Ua.info.mimeType);"fakesb"==c?b.l=new QI:b.l=b.o.addSourceBuffer(c);a.o=b;a.A.F=!1;a.g.F=!1;a.A.A=null;a.g.A=null;a.resume();$I(b)&&(b.g.addEventListener("updateend",(0,g.z)(a.Te,a),!1),b.l.addEventListener("updateend",(0,g.z)(a.Te,a),!1),b.g.addEventListener("error",(0,g.z)(a.Co,a,!0),!1),b.l.addEventListener("error",(0,g.z)(a.Co,a,!1),!1));a.Wc("msa");g.HM("msa",void 0,"video_to_ad");zM.measure&&zM.getEntriesByName("mark_vta").length&&
zM.measure("measure_vta_to_msa","mark_vta");a.ka&&a.ca&&(c=g.x("yt.scheduler.instance.enablePriorityThreshold"))&&c(1);a.Te()};
xR=function(a){a.o&&a.o.g&&a.o.g.removeEventListener&&(a.o.g.removeEventListener("updateend",(0,g.z)(a.Te,a),!1),a.o.l.removeEventListener("updateend",(0,g.z)(a.Te,a),!1),a.o.g.removeEventListener("error",(0,g.z)(a.Co,a,!0),!1),a.o.l.removeEventListener("error",(0,g.z)(a.Co,a,!1),!1));a.o=null;uR(a,!1);wR(a,!1)};
yR=function(a){a.o&&XI(a.o)&&xR(a)};
zR=function(a,b,c){if(!b.D.l||!c.remove)return!1;if(c.updating)return!0;if(!b.D.g&&c.buffered.length)return a=c.buffered.end(c.buffered.length-1),c.remove(0,a),b.D.g=!0;b.D.reset();a.P("seekelementrequired");return!1};
BR=function(a,b,c){if(a.V&&(!GK(a.M)||a.na))return!1;if(a.C.l){if(1<a.l.Ea&&0<b.o.length&&b.g&&-1==b.g.ua||b.o.length>=a.l.Ea&&!a.l.Ya||!a.l.qm&&0<b.o.length&&(a.l.Hc?!a.l.V:!a.W))return!1;if(b.C)return!(0,window.isNaN)(a.Ga)}if(!(b.g||a.C.l&&a.l.Ya&&b.C)){if(!b.Ua.Fd())return!1;HQ(b,a.B)}var d=b.o.length+c.o.length;(PQ(b)||PQ(c)||a.C.isLive&&(!a.l.Ya||!b.o.length))&&--d;if(d+1>=a.l.Lh)return!1;d=b.g;if(!d)return!0;if(!sJ(d.g.A))return!1;4==d.type&&d.g.Fd()&&(b.g=g.Ia(d.g.Vo(d)),d=b.g);!d.C&&!d.g.wi(d)||
d.g.info.audio&&4==d.type?a=!1:RQ(b)&&!a.l.X?a=!0:(!(c=d.C||KQ(b)&&KQ(b)+KQ(c)>a.l.ca||!!(c.g&&!c.g.C&&c.g.A<d.A)&&(!a.C.l||c.g.A&&d.A))&&(c=3==d.type)&&(d=d.A,b=AR(a,b,!0),!fR(a.D)&&0<a.l.N&&(c=(g.HF()-a.Xa)/1E3,b=Math.min(b,a.l.N+a.l.Zb*c)),b=a.B+b,a.l.ob?(c=Math.min(b,$ma(a)+a.l.ob),c!=b&&a.qf("mrl","ori."+b+";mod."+c,!0),a=c):a=b,c=d>a),a=c?!1:!0);return a};
CR=function(a,b,c){if((!a.o||WI(a.o)||$I(a.o))&&!a.I&&a.D.H){var d=a.B;a=a.F;c=XQ(a,b.Ua.info.g,c.Ua.info.g,0);var e=a.g.policy.l?AK(a.g)+c/EK(a.g):AK(a.g)+c*CK(a.g)+c/EK(a.g);d+=Math.max(e,e+a.l.Xa-c/b.Ua.info.g);a:{if(b.o.length){if(b.o[0].info.Ba[0].startTime<=d)break a;JQ(b)}a=b.l;for(c=a.g.length-1;0<=c;c--)a.g[c].info.startTime>d&&a.g.pop();b.o.length?b.g=g.Ia(g.Ia(b.o).info.Ba):b.l.g.length?b.g=sQ(b.l).info:b.g=b.A;b.g&&d<b.g.startTime&&(b.K=0,b.g=b.Ua.gh(d,!0).Ba[0])}}};
FR=function(a,b,c){BR(a,b,c);var d=b.g;if(b.C)a.W=!0,d=b.Ua.gh(window.Infinity),d.l=a.Ga,CQ(b,DR(a,d));else if(b.g.g.Fd()){!RQ(b)||a.l.X||a.C.l||(CR(a,b,c),b.g||HQ(b,a.B));d=b.g;var e=d.A-a.B,f=!d.range||0==d.fb&&0==d.l?0:d.range.length-(d.l+d.fb),k=d.g;if(QQ(b)){var l=Math.min(a.l.Ia,.5*AR(a,b,!0));l=RQ(b)||e<=l}else l=!1;l&&0==f&&(a.C.l?k=b.Ua:(k=d.startTime+ER,d.fb&&(k+=d.duration),HQ(b,k),d=b.g,k=d.g));k.Ce()?(f=a.D,c=XQ(a.F,k.info.g,c.Ua.info.g,e,0<f.g.length&&0==f.K&&a.X),e=QQ(b),c=d.g.ti(d,
c),c.range&&1<c.Ba.length&&(e||c.g.g?c=d.g.ti(d,c.Ba[0].fb):(e=c.Ba[c.Ba.length-1],k=e.fb/c.range.length,!e.o&&.4>k&&(c=d.g.ti(d,c.range.length-e.fb)))),d=c):d=k.dl(d);CQ(b,DR(a,d))}else d.g.Ce()?(c=XQ(a.F,b.Ua.info.g,c.Ua.info.g,0),d=d.g.ti(d,c)):d=d.g.dl(d),CQ(b,DR(a,d))};
DR=function(a,b){3==b.Ba[b.Ba.length-1].type&&GR(a,Nma(a.D,b.Ba[0].g));var c=wJ(b);c=new wma(a.M,c,Kma(a.F,c),a.l.Hc?!!a.l.V:a.W,jI(b.Ba[0]));a.l.Pg&&(c.D=[]);var d=new bQ(a.l,b,c,a.Oa);c.ba=function(){return Ama(d)?2:1};
yma(d,(0,g.z)(a.cR,a));3==b.Ba.length&&1==b.Ba[0].type&&2==b.Ba[1].type&&4==b.Ba[2].type&&b.Ba[0].g.info.video&&(d.W=Rma(a.D));d.start(Math.max(0,b.Ba[0].B-a.B));b.Ba[0].g.info.video&&(c=cQ(d))&&(a.Ea=c.substr(0,c.indexOf(".")));return d};
GR=function(a,b){b&&a.P("videoformatchange",b)};
bna=function(a){var b=-1!=a.g.B,c=-1!=a.A.B;if(!b||!c)if(b=!b&&rQ(a.g.l),c=!c&&rQ(a.A.l),b||c){c=b?a.g:a.A;b=b?a.A:a.g;var d=rQ(c.l).info.ua;if(-1!=b.B&&b.B!=d)a.l.M&&gK(a.C,d,c==a.g),ana(c,b.B),HR(a,!1,"qoe.avsync",{start:"1",target:String(b.B),actual:String(d)});else{c.B=d;c.ak=window.NaN;var e=Math.max(b.Ua.index.Vd(b.B),c.Ua.index.Vd(c.B));-1!=b.B&&(a.ba&&(a.ba.resolve(e+.1),a.ba=null),g.Mf(function(){return IR(a,e)}))}}};
ana=function(a,b){LQ(a,0);HQ(a,window.Infinity);var c=a.ak;a.l.B=c;a.ak=c;a.g.ua=b-1};
cna=function(a){if(a.C.o)return!1;var b;if(b=a.I){b=a.F;var c=a.g,d=a.A;if(0==c.o.length&&0==d.o.length)b=!0;else{var e=0,f=tQ(c.l).concat(tQ(d.l));f=g.na(f);for(var k=f.next();!k.done;k=f.next())e+=k.value.fb;c=c.Ua.info.g+d.Ua.info.g;e/=c;b=10<e?!0:10>c*(10-e)/YQ(b)}(b=!b)||(b=a.g,b=0<b.o.length&&1==b.l.g.length&&rQ(b.l).info.D<b.M)}if(b)return!0;if(!a.X||!a.l.fa||10>a.B||360<a.g.Ua.info.video.g)return!1;b=SQ(a.g,a.B,a.l.fa)||SQ(a.A,a.B,a.l.fa);return(0<a.g.o.length||0<a.A.o.length||BR(a,a.g,a.A)||
BR(a,a.A,a.g))&&b};
LR=function(a,b,c,d){if(c.updating)return!0;var e=rQ(b.l);if(!e)return!1;!b.A||b.A.o||kI(b.A,e.info)||(b.A=null,WI(a.o)&&c.abort(),c.g=null);var f=a.C.isLive&&LI(e),k;if(k=a.l.xb&&a.C.o&&0==e.info.l&&g.EG(e.info.g.info)){if(null==c.g){if(!(k=null==b.A||b.A.g!=e.info.g)){a:{k=b.A.F;var l=e.info.F;if(k.length!=l.length)k=!1;else{for(var m=0;m<k.length;m++)if(!g.gb(k[m],l[m])){k=!1;break a}k=!0}}k=!k}}else k=c.g!=e.info.g.g;k=!k}k&&(cI(HI(e),1836019574),cI(HI(e),1718909296),e.pe=!1);if(!a.C.o||0==e.info.l)if(f||
a.C.l||e.pe)c.g=null;else if(JR(a,c,e))return!0;f=AR(a,b,!1);f=a.B+f;null!==d&&0<=d&&(f=Math.min(f,d));d=f;if(a.K)a:if(a.K.g&&b.Ua.info.audio){if((f=rQ(b.l))&&(f=f.l)&&null!=f.A){f=f.A-1;break a}f=-1}else f=window.Infinity;else f=window.Infinity;if(b.H)d=rQ(b.l).range;else if(k=b.l,!k.g.length||k.g[0].info.B>=d)d=null;else if(l=k.g[0].pe?0:k.g[0].range.start,l>f)d=null;else{for(m=1;m<k.g.length;m++){var n=k.g[m].range.start>f,q=k.g[m].g!=k.g[m-1].g;if(k.g[m].info.B>d||n||q||k.o.Pb)break}m--;d=new g.eI(l,
Math.min(k.g[m].range.end,f))}if(!d)return!1;f=new window.Uint8Array(e.g,d.start,d.length);if(a.Sa&&e.info.g.info.video&&g.EG(e.info.g.info)&&(k=a.Sa,0==e.info.l&&(k.l=0,k.g=0,k.o.length=0),!((0,window.isNaN)(k.l)||8>f.length))){l=new window.DataView(f.buffer,f.byteOffset);for(m=!1;!m;)if(k.l==k.g)a:if(m=k,n=f.length,m.l+7>=n){for(q=m.l;q<n;q++)m.o.push(l.getUint8(q));m=!0}else{if(0<m.o.length){for(q=0;8>m.o.length;q++)m.o.push(l.getUint8(q));var r=hR(m.o,0);q=hR(m.o,4);m.o.length=0}else r=l.getUint32(m.g),
q=l.getUint32(m.g+4);if(1836019558==q||1836019574==q||1718909296==q||1936286840==q)m.l+=r,m.g=m.l;else if(1835295092==q)m.l+=r,m.g+=8;else{m.l=window.NaN;m=!0;break a}m=m.g>=n}else a:if(m=k,n=f.length,m.g+5>=n){for(q=m.g;q<n;q++)m.o.push(l.getUint8(q));m=!0}else{if(0<m.o.length){for(q=0;6>m.o.length;q++)m.o.push(l.getUint8(q));q=hR(m.o,0);12==q&&6==m.o[4]&&45==m.o[5]&&l.setUint8(m.g+5,63);m.g+=q+4;m.o.length=0}for(;m.g<m.l&&m.g+5<n;){q=l.getUint32(m.g);if(0>=q){m.l=window.NaN;m=!0;break a}12==q&&
6==l.getUint8(m.g+4)&&45==l.getUint8(m.g+5)&&l.setUint8(m.g+5,63);m.g+=q+4}m=m.g>=n}(0,window.isNaN)(k.l)||(k.l-=f.length,k.g-=f.length)}k=!1;3!=e.info.type||!g.EG(e.info.g.info)&&2!=e.info.g.info.containerType||(k=g.EG(e.info.g.info)&&a.l.gU&&!b.F&&0==e.info.l&&0<e.info.startTime)&&JI(e,0);f=KR(a,c,f);if(0!=f){if(2!=f)if(e.info.g.info.video?(l=a.l,l.A=Math.floor(.8*l.A),l.I=Math.floor(.8*l.I),l.l=Math.floor(.8*l.l)):(l=a.l,l.B=Math.floor(.8*l.B),l.da=Math.floor(.8*l.da),l.l=Math.floor(.8*l.l)),1==
f&&c.remove&&!c.updating){f=!1;l=c.buffered.length;for(m=0;!f&&m<l;m++)c.buffered.start(m)>e.info.A&&(c.remove(c.buffered.start(m),c.buffered.end(l-1)),f=!0);f||c.remove(0,Math.max(0,Math.min(a.B,e.info.startTime)-5))}else MQ(b);f=!1}else f=!0;if(!f)return!1;b.F=!0;if(k)JI(e,e.info.startTime),c.abort(),c.g=null;else{f=b.l;for(k=[];f.g.length&&(f.g[0].range.end>d.end?(m=II(f.g[0],d.end-f.g[0].range.start+1),l=m[0],f.g[0]=m[1]):l=f.g.shift(),k.push(l),l.range.end!=d.end););k.length&&(0,g.C)(k,b.X,b)}e.pe&&
e.info.g.g&&(c.g=e.info.g.g,a.P("initsegment",c.g));return!0};
MR=function(a,b,c){Qka(a.C,b,c)&&c&&g.Mf(function(){return IR(a,b.startTime)})};
IR=function(a,b){!a.ha()&&a.l.oa&&a.Y&&-1!=a.g.B&&-1!=a.A.B&&(a.Y=!1,a.P("seekplayerrequired",b+.1,!0))};
JR=function(a,b,c){c.info.g.Fd();c=c.info.g.g;if(null==c||b.g==c)return!1;KR(a,b,c);b.g=c;a.P("initsegment",b.g);return b.updating};
KR=function(a,b,c){try{$I(a.o)?b.appendBuffer(c):b.append(c)}catch(d){if(11==d.code)return HR(a,!1,"html5.invalidstate",{updating:""+ +b.updating,mrs:a.o.o.readyState}),2;if(22!=d.code&&0!=d.message.indexOf("Not enough storage"))return g.tD(d),4;a.l.Qg&&a.qf("quex","br."+MN(b.buffered).replace(/,/g,"_"));return 1}return XI(a.o)?3:0};
NR=function(a,b){b.l.subscribe("error",a.SP,a);b.l.subscribe("timestamprewrite",a.WP,a);var c=(0,g.z)(a.TP,a,b);b.l.subscribe("placeholderinfo",c,void 0);c=(0,g.z)(a.UP,a,b);b.l.subscribe("placeholderrollback",c,void 0);c=(0,g.z)(a.VP,a,b);b.l.subscribe("segmentinfo",c,void 0);b==a.g&&b.l.subscribe("cuepoint",a.RP,a)};
AR=function(a,b,c){if(a.V)return 1;var d=b.Ua.info.audio?a.l.B:a.l.A;!a.l.X&&fR(a.D)&&(d=Math.max(d,b.Ua.info.audio?a.l.da:a.l.I));c&&(d+=a.l.ca);var e=fR(a.D)?b.g?b.g.g.info.g:b.Ua.info.g:b.I;d/=e;0<a.l.Sa&&a.o&&WI(a.o)&&(b=b.Ua.info.video?a.o.l:a.o.g)&&!b.updating&&(e=NN(b.buffered,a.B),0<=e&&(b=a.B-b.buffered.start(e),d+=Math.max(0,Math.min(b-a.l.Sa,a.l.dm))));0<a.l.l&&(d=Math.min(d,a.l.l));a.l.Pa&&c&&!fR(a.D)&&(c=a.D,c=gR(c,g.Ia(c.g))+gR(c,c.I.g[0]),c=a.l.Pa*(c/VQ(a.F)),c<d&&15>c&&a.qf("bwcapped",
"1",!0),c=Math.max(c,15),d=Math.min(d,c));return d};
$ma=function(a){if(!a.ib)return window.Infinity;var b=(0,g.Hd)(qR(a.ib),function(a){return"ad"==a.namespace});
b=g.na(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,c.start/1E3>a.B)return c.start/1E3;return window.Infinity};
dna=function(a){OR(a);a.ba=new rR;return a.ba};
OR=function(a){wR(a,!1);var b=Math.max(uQ(a.g.l),uQ(a.A.l)),c=a.g;c.C=!0;c.B=-1;HQ(c,window.Infinity);c.l.B=b;c.ak=b;c=a.A;c.C=!0;c.B=-1;HQ(c,window.Infinity);c.l.B=b;c.ak=b;c=a.C;for(var d in c.g)DH(c.g[d].index,window.Infinity);a.l.oa&&(a.Y=!0);a.B=b;a.I=!0;g.Nt(a.N);return b+.1};
PR=function(a,b,c,d){if(b.Ua.Fd())if(d){var e=ON(d.buffered,c),f=window.NaN,k=b.A;k&&(f=ON(d.buffered,k.g.index.Vd(k.ua)));if(e==f&&OQ(b))return c;d=FQ(b,c);if(0<=d)return d;LQ(b,b.Ua.Ce()?1:2);b.Ua.info.video&&b.A&&!b.A.o&&!Ema(b.l)&&b.Ua.Ce()&&(d=DR,f=b.A,b.l.g.length&&(f=sQ(b.l).info),f=b.g||f,f=f.g.ti(f,f.range.length-(f.fb+f.l)),CQ(b,d(a,f)));if((0,window.isNaN)(e))return HQ(b,c);HQ(b,e+ER)}else HQ(b,c);else 0!=c&&JQ(b);return c};
QR=function(a,b,c,d){c.Fd()||c.D||!sJ(c.A)||(d=c.Ik(d?Lma(a.F,c.info):0),(0,g.C)(d,function(a){if("f"!=a.Ba[0].g.info.l){var c=DR(this,a);!jI(a.Ba[a.Ba.length-1])&&CQ(b,c)}},a),c.D=!0)};
HR=function(a,b,c,d){a.ha()||(c=new g.TL(c,b,d),UL(c.details),a.P("error",c),b&&a.dispose())};
RR=function(a){var b={lct:a.B.toFixed(3),lsk:a.I,lmf:fR(a.D),lbw:DK(a.M).toFixed(3),lhd:AK(a.M).toFixed(3),lst:(1E9*CK(a.M)).toFixed(3),laa:a.A.A?nI(a.A.A):"",lva:a.g.A?nI(a.g.A):"",lar:a.A.g?nI(a.A.g):"",lvr:a.g.g?nI(a.g.g):"",lvh:a.Ea};a.o&&!XI(a.o)&&(b.lab=MN(a.o.g.buffered),b.lvb=MN(a.o.l.buffered));return b};
wR=function(a,b){var c=b?1:0;a.A&&LQ(a.A,c);a.g&&LQ(a.g,c)};
SR=function(a,b,c){if(!b||!c)return!0;c=-1!=NN(c.buffered,a);var d=sQ(b.l)?sQ(b.l).info.A>=a:!1,e=b.o.length?b.o[0]:null;a=(b=e?e.info.Ba[0]:b.g)&&b.startTime<=a;return!!(c||d||a)};
ena=function(a,b){var c=b.info.video?a.g:a.A;null!=c&&QR(a,c,b,!1)};
fna=function(a,b){var c=new g.cJ;c.Zb=a.experiments.l("html5_throttle_rate")||c.Zb;a.experiments.g("html5_streaming_xhr")&&(c.H=!0);a.experiments.g("html5_streaming_debug")&&(c.H=!0,c.ra=!0);a.experiments.l("html5_max_av_sync_drift")&&(c.Sg=a.experiments.l("html5_max_av_sync_drift"));var d=a.schedule;d.l.o()==d.policy.B?c.N=10:c.N=a.experiments.l("html5_throttle_burst_secs")||c.N;a.experiments.l("html5_min_secs_between_format_selections")&&(c.fm=a.experiments.l("html5_min_secs_between_format_selections"));
c.Y=a.experiments.l("html5_local_max_byterate_lookahead");c.Ya=a.experiments.g("html5_stop_overlapping_requests");c.Sa=a.experiments.l("html5_min_readbehind_secs");c.dm=a.experiments.l("html5_min_readbehind_cap_secs");c.yd=a.experiments.g("html5_append_init_while_paused");c.Pa=a.experiments.l("html5_max_readahead_bandwidth_cap");c.im=a.experiments.g("html5_disable_audio_append_cap");c.Kd=a.experiments.g("html5_disable_non_contiguous");c.ob=a.experiments.l("html5_post_interrupt_readahead");c.ce=a.experiments.g("html5_disable_urgent_upgrade_for_quality");
c.Qg=a.experiments.g("html5_log_quota_exceeded");c.qD=a.experiments.l("html5_subsegment_readahead_target_buffer_health_secs");c.Qb=a.experiments.l("html5_subsegment_readahead_timeout_secs");c.JC=a.experiments.l("html5_subsegment_readahead_progress_timeout_fraction");c.bD=a.experiments.l("html5_subsegment_readahead_tail_margin_secs");c.bC=a.experiments.g("html5_streaming_xhr_optimize_lengthless_mp4");c.ib=a.experiments.g("html5_peak_shave");c.pm=a.experiments.g("html5_peak_shave_always_include_sd");
c.Ay=a.experiments.g("html5_restrict_streaming_xhr_on_sqless_requests");c.Kh=a.experiments.l("html5_max_headm_for_streaming_xhr");c.qm=a.experiments.g("html5_pipeline_manifestless_allow_nonstreaming");c.wm=a.experiments.g("html5_prefer_server_bwe3");c.fd=1024*a.experiments.l("html5_video_tbd_min_kb");c.Og=a.experiments.g("html5_live_probe_primary_host");c.OB=a.experiments.g("html5_streaming_xhr_buffer_mdat");c.na=a.experiments.g("html5_streaming_xhr_no_mp4_holdback_chunk");c.ng=a.experiments.g("html5_last_slice_transition");
c.W=a.experiments.g("html5_clear_by_reattaching");c.Ld=a.experiments.g("html5_disable_incomplete_incremental_parse_error");c.NB=a.experiments.g("html5_store_xhr_headers_readable");c.jm=a.experiments.g("html5_live_no_dynamic_streaming_response_detection")||!a.experiments.g("html5_enable_bandwidth_estimation_type");c.C=a.experiments.g("html5_incremental_parser_coalesce_slice_buffers");c.kg=a.experiments.l("html5_incremental_parser_buffer_duration_secs");c.lg=a.experiments.l("html5_incremental_parser_buffer_extra_bytes");
c.Hc=a.experiments.g("html5_use_has_subfragmented_fmp4");bE()&&(c.Pb=!0);VD()&&(c.l=240);g.lh&&(c.I=41943040);g.uL(a)||!ZI()?(c.A=8388608,c.B=524288,c.zd=5,c.ca=2097152,c.K=1048576,c.Tn=1.5,c.ka=15,c.X=!ZI(),c.lm=!1,c.D=4587520,$D()&&(c.D=786432),c.g*=1.1,c.o*=1.1,c.xb=!0,c.I=c.A,c.da=c.B,c.W=!0):a.g&&(c.g*=1.3,c.o*=1.3);g.aJ&&UD("crkey")&&(d="CHROMECAST/ANCHOVY"==a.A.cmodel,c.A=20971520,c.B=1572864,d&&(c.D=812500,c.F=1E3,c.rD=5,c.K=2097152));(d=SL(a))||(d=eE()&&/(J\d{3}|JS\d{3}|JU\d{3})/.test(a.A.cmodel));
d&&!a.experiments.g("html5_disable_move_pssh_to_moov")&&(c.hm=!0);c.gm=!a.experiments.g("disable_fpa_sei_removal")&&UD("windows nt")&&(b.li()||b.Ne());d="ULTRALOW"==b.latencyClass||a.experiments.g("html5_treat_latency_low_like_ultra_low")&&b.isLowLatencyLiveStream;if(b.wc()){c.xe=!0;c.sA=!1;a.experiments.g("html5_manifestless_always")&&(c.M=!1,c.oa=!0);if("ULTRALOW"==b.latencyClass||"LOW"==b.latencyClass)c.Ea=2,c.Lh=4;c.V=b.hasSubfragmentedFmp4}b.isAd()&&(c.fa=0,c.Ga=0);(a.experiments.g("html5_streaming_response_mediastream_rewrite_v2")||
a.experiments.g("html5_ultra_low_latency_streaming_responses")&&d)&&b.Na&&b.Na.videoInfos.length&&g.EG(b.Na.videoInfos[0])&&b.wc()&&!g.XD()&&(c.H=!0,c.ra=!0);c.ub=a.experiments.g("html5_enable_subsegment_readahead_v3")||a.experiments.g("html5_ultra_low_latency_subsegment_readahead")&&d;c.Rg=(a.experiments.g("html5_manifestless_accurate_sliceinfo")||c.ub)&&b.wc();c.ba=b.nh;c.Pg=c.ba&&(/^rq[a-f]/.test(b.clientPlaybackNonce)||a.experiments.g("html5_high_res_logging"));/^pp/.test(b.clientPlaybackNonce)&&
(c.QU=!0,c.sn=!0);SL(a)&&!a.experiments.g("html5_disable_move_pssh_to_moov")&&b.pa&&TJ(b.pa)&&(c.xb=!1);if(b.za){var e=eK(b.pa),f=a.experiments.l("html5_live_abr_head_miss_fraction"),k=a.experiments.l("html5_live_abr_repredict_fraction");f&&e&&(c.Oa=Math.min(e*f,c.Oa));k&&e&&(c.F=Math.min(1E3*e*k,c.F))}b.Na.videoInfos[0].Cc&&(c.W=!1);e=0;a.experiments.g("html5_live_use_alternate_bandwidth_window_sizes")&&(e=a.schedule.policy.g,b.za&&(e=a.experiments.l(d?"html5_live_ultra_low_latency_bandwidth_window":
b.isLowLatencyLiveStream?"html5_live_low_latency_bandwidth_window":"html5_live_normal_latency_bandwidth_window")||e));d=a.schedule;d.policy.C=b.wc()?.5:0;if(!d.policy.A&&e&&(d=d.l,e=Math.round(e*d.K),e!=d.l)){f=Array(e);k=Math.min(e,d.C?d.l:d.A);var l=d.A-k;0>l&&(l+=d.l);for(var m=0;m<k;++m)f[m]=d.B[(l+m)%d.l];for(;m<e;++m)f[m]=window.Infinity;d.l=e;d.B=f;d.A=k%e;d.C=k==e;d.F=!0;d.I=vK(d)}d=a.experiments.l("html5_deadzone_multiplier")||1;(e=a.experiments.l("html5_sticky_reduces_discount_by"))&&"auto"!=
UG()&&(d-=e);c.g*=d;c.o*=d;if(d=a.experiments.l("html5_request_sizing_multiplier"))c.jo=d;a.experiments.g("html5_strip_emsg")&&(c.ym=!0);c.l=a.experiments.l("html5_max_buffer_duration")||c.l;c.Ia=a.experiments.l("html5_max_buffer_health_for_downgrade")||c.Ia;c.Xa=a.experiments.l("html5_min_upgrade_health")||c.Xa;QK(a.ba,bL)&&(c.D=window.NaN);c.ka=a.experiments.l("html5_request_size_max_secs")||c.ka;c.we=a.experiments.g("killswitch_metadata_events");a.experiments.g("html5_sticky_disables_variability")&&
"auto"!=UG()&&(c.ed=0);c.xm=a.experiments.g("html5_rec_2020_matrix_correction_killswitch");return c};
gna=function(a,b,c){this.url=a;this.interval=b;this.g=c};
TR=function(a,b){this.message=a;this.number=b;this.g=new BC};
hna=function(a,b,c,d){this.statusCode=a;this.statusMessage=b;this.headers=c;this.message=d};
UR=function(a){var b=String.fromCharCode.apply(String,a.subarray(0,16384)),c=b.indexOf("\r\n\r\n");if(-1==c)return null;var d=b.indexOf("\r\n"),e=b.slice(0,d).match(/^GLS\/1.\d ([0-9]{1,3}) (\w+)$/);if(null==e)return null;var f=Fb(e[1]);e=e[2];b=PH(b.slice(d+2));return null==b?null:new hna(f,e,b,a.subarray(c+4))};
VR=function(a,b,c,d,e){g.K.call(this);this.B=a;this.K=b;this.F=c;this.g=d;this.l=e;this.sessionId="";this.I=this.H=this.C=this.D=null;this.A=new g.eF(this);g.M(this,this.A);this.g?(this.A.O(this.g,"message",this.JM),this.A.O(this.g,"keystatuseschange",this.KM)):this.l&&(fF(this.A,this.l,["mskeymessage","webkitkeymessage"],this.hB),fF(this.A,this.l,["mskeyerror","webkitkeyerror"],this.gB),fF(this.A,this.l,["mskeyadded","webkitkeyadded"],this.fB))};
WR=function(a,b){this.initData=a;this.contentType=(void 0===b?"":b)||null;this.l=this.g=window.NaN;this.o=!1;this.A=[]};
XR=function(a,b){g.K.call(this);this.l=a;this.g=b;this.D={};this.A=null;this.B=new g.eF(this);g.M(this,this.B);this.o=this.C=null};
YR=function(a){if(a.g.l)return a.g.l.createMediaKeys().then(uD(function(b){a.ha()||(a.C=b,a.l.setMediaKeys(b))}));
kK(a.g)?a.o=new (jK())(a.g.g):oK(a.g)?(a.o=new (jK())(a.g.g),a.l.webkitSetMediaKeys(a.o)):ina(a);return null};
ina=function(a){fF(a.B,a.l,["keymessage","webkitkeymessage"],a.NM);fF(a.B,a.l,["keyerror","webkitkeyerror"],a.MM);fF(a.B,a.l,["keyadded","webkitkeyadded"],a.LM)};
ZR=function(a,b){var c=b.subarray(4);c=String.fromCharCode.apply(null,new window.Uint16Array(c.buffer,c.byteOffset,c.byteLength/2)).match(/ek=([0-9a-f]+)/)[1];for(var d="",e=0;e<c.length;e+=2)d+=String.fromCharCode((0,window.parseInt)(c.substr(e,2),16));e=a.g.fairPlayCert;c=new window.Uint8Array(new window.ArrayBuffer(e.length));for(var f=0;f<e.length;f++)c[f]=e.charCodeAt(f);e=new window.ArrayBuffer(2*d.length);f=new window.Uint16Array(e);for(var k=0;k<d.length;k++)f[k]=d.charCodeAt(k);d=new window.Uint8Array(e);
e=0;k=new window.ArrayBuffer(b.byteLength+4+d.byteLength+4+c.byteLength);f=new window.Uint8Array(k);k=new window.DataView(k);f.set(b);e+=b.byteLength;k.setUint32(e,d.length,!0);e+=4;f.set(d,e);e+=d.length;k.setUint32(e,c.byteLength,!0);f.set(c,e+4);return f};
jna=function(a,b){var c=ZR(a,b);c=a.o.createSession("video/mp4",c);return new VR(null,null,null,null,c)};
kna=function(a,b){for(var c=new window.Uint8Array(270),d=0;135>d;d++)c[2*d]='<PlayReadyCDMData type="LicenseAcquisition"><LicenseAcquisition version="1.0" Proactive="true"></LicenseAcquisition></PlayReadyCDMData>'.charCodeAt(d);c=a.o.createSession("video/mp4",b,c);return new VR(null,null,null,null,c)};
$R=function(a,b){var c=a.D[b.sessionId];!c&&a.A&&(c=a.A,a.A=null,c.sessionId=b.sessionId,a.D[b.sessionId]=c);return c};
bS=function(a,b,c,d,e,f){g.K.call(this);this.l=a;this.Uc=d;this.Uc.subscribe("oauthtoken",this.Uz,this);this.C={session_id:e};this.F=!0;"playready"==a.flavor&&(a=(0,window.parseInt)(f.o("playready_first_play_expiration"),10),!(0,window.isNaN)(a)&&0<=a&&(this.C.mfpe=a),f.g("html5_playready_keystatuses_killswitch")||(this.F=!1));this.W=f.l("html5_drm_generate_request_delay");this.V=f.g("html5_use_drm_retry");this.M=0;f=this.l.A;"fairplay"==this.l.flavor&&(f=c.initData.subarray(4),f=String.fromCharCode.apply(null,
new window.Uint16Array(f.buffer,f.byteOffset,f.byteLength/2)).replace("skd://","https://"));aS(this,f);this.D=this.H=!1;g.HM("drm_gk_s");try{var k=b.createSession(c,this.W)}catch(l){b="t.g",l instanceof window.DOMException&&(b+=";c."+l.code),this.Uc.P("licenseerror","drm.unavailable",!0,b,"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK"),k=null}if(this.o=k)b=this.o,k=this.GM,f=this.FM,a=this.IM,b.D=this.HM,b.C=k,b.H=f,b.I=a,b.o=this,g.M(this,this.o);this.X=c.A;this.A=[];this.g={};this.I=window.NaN;this.B=
c.g||window.NaN};
aS=function(a,b){var c=b;var d=void 0===d?!1:d;if($G(lna.test(c),c,d,"Drm Licensor URL")){for(var e in a.C)b=Qg(b,e,a.C[e]);a.N=b}else cS(a,"drm.net",!0,"t.x")};
mna=function(a){var b={};g.bc(b,a.C);return b};
dS=function(a){for(var b="",c=0;c<a.length;c+=2)b+=String.fromCharCode(a[c]);a=(new window.DOMParser).parseFromString(b,"text/xml").querySelector("Challenge");return new window.Uint8Array(fe(a.childNodes[0].data))};
eS=function(a){var b;if(b=a.F)a=a.o,b=!(!a.g||!a.g.keyStatuses);return b};
cS=function(a,b,c,d,e){a.ha()||a.Uc.P("licenseerror",b,c,d,e);c&&a.dispose()};
fS=function(a){return g.Oa(a,"UHD2")?"highres":g.Oa(a,"UHD1")?"hd2160":g.Oa(a,"HD")?"hd1080":g.Oa(a,"HD720")?"hd720":"large"};
gS=function(a,b){if(!eS(a)&&nK(a.l)&&!b)return"large";var c=[],d=!0;if(eS(a))for(var e in a.g)"usable"==a.g[e].status&&c.push(a.g[e].type),"unknown"!=a.g[e].status&&(d=!1);if(!eS(a)||d)c=a.A;return fS(c)};
nna=function(a){if(!a)return{};var b={};(0,g.C)(a.split(";"),function(a){a=a.split(",");2==a.length&&(b[a[1]]={type:a[0],status:"unknown"})});
return b};
hS=function(a){var b=a[0];a[0]=a[3];a[3]=b;b=a[1];a[1]=a[2];a[2]=b;b=a[4];a[4]=a[5];a[5]=b;b=a[6];a[6]=a[7];a[7]=b};
iS=function(a,b){var c=[],d;for(d in a.g)c.push.apply(c,[d,a.g[d].type,a.g[d].status]);return c.join(b)};
ona=function(a){return eS(a)?iS(a,";"):a.A.join(";")};
pna=function(a,b,c,d){a=new window.Uint8Array(a);a=dS(a);a={format:"RAW",method:"POST",postBody:(new TR(a,1)).message,responseType:"arraybuffer",withCredentials:!0,timeout:3E4};c=pba(c,d);lE(c,a,3,500).then(function(a){a=new window.Uint8Array(a.response);(a=UR(a))&&b.update(a.message)})};
jS=function(){this.keys=[];this.values=[]};
lS=function(a,b,c,d,e){e=void 0===e?"":e;g.hF.call(this);a&&(a.addKey||a.webkitAddKey)||jK()||qK(c);this.K=c;this.H=a;this.g=b;this.subscribe("newlicense",this.kQ,this);this.subscribe("newsession",this.lQ,this);this.subscribe("sessionready",this.pR,this);this.subscribe("keystatuseschange",this.OM,this);this.subscribe("hdentitled",this.sP,this);this.da=e||g.gG();this.N=null;this.l=new jS;this.A=this.C=null;this.o=[];this.D="fairplay"==this.g.flavor?PG:kS;this.M=new XR(a,b);g.M(this,this.M);this.B=
null;kK(b)&&(this.B=new XR(a,b),g.M(this,this.B));this.ba=2;this.I=new g.eF(this);g.M(this,this.I);this.X=!1;this.Y=null;this.F=!1;a=this.H;this.g.l?this.I.O(a,"encrypted",this.cP):fF(this.I,a,kK(this.g)?["msneedkey"]:["needkey","webkitneedkey"],this.hQ);(a=YR(this.M))?a.then(uD((0,g.z)(this.PP,this)),uD((0,g.z)(this.dO,this))):this.F=!0;this.B&&YR(this.B);this.ca=d;this.W=this.V=!1;qK(c)};
rna=function(a,b){if(kK(a.g)&&!a.V){var c=oQ(b);if(0!=c.length){var d=new WR(c);a.V=!0;window.navigator.requestMediaKeySystemAccess("com.microsoft.playready",[{initDataTypes:["keyids","cenc"],audioCapabilities:[{contentType:'audio/mp4; codecs="mp4a"'}],videoCapabilities:[{contentType:'video/mp4; codecs="avc1"'}]}]).then(function(b){b.createMediaKeys().then(function(b){qna(a,b,d)})},null)}}};
qna=function(a,b,c){var d=b.createSession(),e=a.l.values[0],f=mna(e);d.addEventListener("message",function(b){pna(b.message,d,a.g.A,f)});
d.addEventListener("keystatuseschange",function(){d.keyStatuses.forEach(function(b,c){"usable"==c&&(a.W=!0,mS(a,gS(e,a.W)))})});
d.generateRequest("cenc",c.initData)};
oS=function(a,b,c){a.ha()||kK(a.g)==c||a.X&&a.ca||(a.X=!0,a.o.push(b),1<a.o.length||a.F&&nS(a))};
nS=function(a){for(;a.o.length;){var b=a.o[0];if(g.gb(a.C,b.initData))a.o.shift();else{if(a.l.get(b.initData))if("fairplay"==a.g.flavor)a.l.remove(b.initData);else{a.o.shift();continue}a:{var c=b.initData;try{for(var d=0,e=new window.DataView(c.buffer);d<e.byteLength-8;){var f=e.getUint32(d);if(1>=f)break;if(1886614376==e.getUint32(d+4)){var k=32;if(0<e.getUint8(d+8)){var l=e.getUint32(d+28);k+=16*l+4}var m=e.getUint32(d+k-4);try{var n=new ne(c.subarray(d+k,d+k+m)),q=new oD;for(k=n;oe(k)&&4!=k.l;)switch(k.o){case 1:var r=
k.g;b:{for(var v,B,F=r,L=0,Y=0;4>Y;Y++)if(B=F.l[F.g++],L|=(B&127)<<7*Y,128>B){F.D=L>>>0;F.C=0;break b}B=F.l[F.g++];L|=(B&127)<<28;v=0|(B&127)>>4;if(128>B)F.D=L>>>0,F.C=v>>>0;else{for(Y=0;5>Y;Y++)if(B=F.l[F.g++],v|=(B&127)<<7*Y+3,128>B){F.D=L>>>0;F.C=v>>>0;break b}F.B=!0}}var la=r.D,$a=r.C;if(F=$a&2147483648)la=~la+1>>>0,$a=~$a>>>0,0==la&&($a=$a+1>>>0);L=4294967296*$a+la;var ba=F?-L:L;xe(q,1,ba);break;case 2:F=ba=re(k);ze(q,2).push(F);break;case 3:ba=qe(k);xe(q,3,ba);break;case 4:ba=re(k);xe(q,4,ba);
break;case 5:ba=qe(k);xe(q,5,ba);break;case 6:ba=qe(k);xe(q,6,ba);break;case 7:ba=me(k.g);xe(q,7,ba);break;case 8:ba=re(k);xe(q,8,ba);break;case 9:ba=me(k.g);xe(q,9,ba);break;case 10:ba=me(k.g);xe(q,10,ba);break;case 11:ba=new nD;F=k;L=ba;Y=vja;var ed=F.g.o,Ff=me(F.g),zb=F.g.g+Ff;F.g.o=zb;Y(L,F);F.g.g=zb;F.g.o=ed;F=q;L=ba;Y=nD;Be(F,Y,11);var yd=F.g[11];yd||(yd=F.g[11]=[]);var tj=L?L:new Y,li=ze(F,11);yd.push(tj);li.push(De(tj));break;case 12:ba=re(k);xe(q,12,ba);break;default:pe(k)}var Zb=q;if(null!=
Zb){var sb=Zb;break a}}catch(ic){}}d+=f}sb=null}catch(ic){sb=null}}if(null!=sb)for(c=we(sb,7),null!=c&&(b.g=c),c=we(sb,10),null!=c&&0<c&&(b.l=c),c=ze(sb,2),c=!c.length||c[0]instanceof window.Uint8Array?c:(0,g.H)(c,Qaa),c=g.na(c),d=c.next();!d.done;d=c.next())b.A.push(pQ(d.value));if("widevine"==a.g.flavor){a:if(c=a,(0,window.isNaN)(b.g)&&0<c.l.values.length)c=!0;else{c=g.na(c.l.values);for(d=c.next();!d.done;d=c.next())if(d.value.B==b.g){c=!0;break a}c=!1}if(c&&!a.K.g("html5_dedup_by_cryptoperiod_killswitch"))a.o.shift();
else{a:{c=a;if(!(c.K.g("disable_license_delay")||"widevine"!=c.g.flavor||b.o||(0,window.isNaN)(b.g)))for(c=g.na(c.l.values),d=c.next();!d.done;d=c.next())if(1>=Math.abs(d.value.B-b.g)){c=!0;break a}c=!1}if(c){sna(a,b);a.o.shift();continue}}}break}}a.o.length&&(b=a.o[0],a.l.get(b.initData),sb=new bS(a.g,a.M,b,a,a.da,a.K),sb.Uz(a.N),a.l.set(b.initData,sb))};
sna=function(a,b){a.A&&a.A.dispose();a.C=b.initData;a.A=new g.Mt(function(){a.C=null;a.A=null;b.o=!0;a.o.push(b);1<a.o.length||nS(a)},tna(b.l));
a.A.start()};
tna=function(a){return 1E3*Math.max(0,Math.random()*(((0,window.isNaN)(a)?120:a)-30))};
mS=function(a,b){SG(a.D,b)||(a.D=NG("auto",b,!1),a.P("qualitychange"))};
pS=function(a){var b={};this.o=(b.c1a=(0,g.z)(this.B,this),b.c3a=(0,g.z)(this.C,this),b.c6a=(0,g.z)(this.A,this),b);(this.g=a)&&this.g.Jm?this.l=g.DD(this.g.Jm):this.l=[]};
una=function(a,b){this.g=a;this.l=b};
qS=function(a,b){var c=QG(QG(a.g.xm,b.Jl),b.Ml);"auto"!=UG()||(c=a.g.experiments.g("html5_restore_performance_cap")?QG(c,new MG(0,WG(),!1)):QG(c,a.g.Pg));return c};
sS=function(a,b){var c=UG();return"auto"!=c?NG("auto",c,!1):rS(a,b)};
rS=function(a,b){if(g.uL(a.g)&&QK(a.g.ba,aL))return PG;var c=!!b.Na.g;var d;yL(a.g)&&(d=window.screen&&window.screen.width?new g.cd(window.screen.width,window.screen.height):null);d||(d=a.g.Kh?a.g.Kh.clone():a.l.Ta());(sL||tS||c)&&d.scale(g.ML());c=d;var e=b.Na.videoInfos;if(e.length){d=.85;4!=e[0].video.projectionType&&2!=e[0].video.projectionType&&3!=e[0].video.projectionType||TK||(d=.45);e=g.na(e);for(var f=e.next();!f.done;f=e.next()){var k=f.value.video;if(null===c||k.width*d<c.width&&k.height*
d<c.height)break}k=NG("auto",k.quality,!1)}else k=PG;c=k.g;(UD("armv7")||UD("android"))&&!g.uL(a.g)&&CG(b.Na.videoInfos[0])&&(c=Math.min(c,g.vG.large));!a.g.experiments.g("html5_mweb_client_cap")||!a.g.g||g.zL(a.g)||dE()||a.g.experiments.g("mweb_uniplayer_auto_quality")||a.g.experiments.g("hls_for_vod")||(c=Math.min(c,g.vG.medium));c=Math.max(c,g.vG.medium);a.g.experiments.l("html5_default_quality_cap")&&(d=!0,(e=a.g.experiments.l("html5_quality_cap_min_age_secs"))&&(d=g.HF()-a.g.schedule.D>1E3*e),
d&&(c=Math.min(c,a.g.experiments.l("html5_default_quality_cap"))));a.g.experiments.g("html5_use_media_capabilities")&&(c=Math.min(vna(b.Na),c));k.g!=c&&(k=new MG(k.l,c,k.o));return k};
vna=function(a){if(!a.videoInfos.length)return 0;if(null==a.videoInfos[0].o)return a.videoInfos[0].video.height;for(var b=g.na(a.videoInfos),c=b.next();!c.done;c=b.next())if(c=c.value,c.o)return c.video.height;return a.videoInfos[0].video.height};
wS=function(a,b,c,d){a=void 0===a?null:a;b=void 0===b?null:b;c=void 0===c?null:c;d=void 0===d?null:d;g.hF.call(this);var e=this;this.H=new g.eF;g.M(this,this.H);this.l=a;uS(this);this.B=null;vS(this,b);this.o=c;this.M=d;this.g=window.NaN;this.F=this.C=this.A=null;this.I=this.D=!1;this.K=new g.Mt(function(){e.P("ctmp","seektimeout",UL(wna(e)))},2E4);
g.M(this,this.K)};
vS=function(a,b){a.B&&a.B.unsubscribe("seekelementrequired",a.N,a);a.B=b;a.B&&a.B.subscribe("seekelementrequired",a.N,a)};
yS=function(a,b,c){c=void 0===c?!0:c;if(b!=a.g||!a.D){a.D&&xS(a);a.F||(a.F=new rR);if((0,window.isFinite)(b)||!a.o.wc())b=g.Wc(b,a.Xb(),a.Rd());a.g=b;a.P("seekto",b,c);c&&(a.D=!0,!a.o.za&&a.g>=a.Rd()?(b=a.Rd(),a.P("seekstart"),a.F.resolve(b),a.P("seekend"),xS(a),a.g=b,a.P("ended")):xna(a))}};
xna=function(a){yna(a).then(void 0,function(){xS(a)});
zna(a).then(function(b){a.F.resolve(b);a.P("seekend");xS(a)},function(){xS(a)});
a.K.start();a.P("seekstart")};
yna=function(a){a.C||(a.B?(0,window.isFinite)(a.g)?a.C=a.B.seek(a.g):(a.P("pausemediaelement"),a.C=dna(a.B).then(function(b){a.g=b;zS(a);a.P("seekto",b,a.D);a.P("resumemediaelement")})):a.C=Wf(a.g));
return a.C};
zna=function(a){a.A||(a.A=new rR,zS(a));return a.A};
zS=function(a){a.A&&(0<a.l.g.readyState||0<a.l.getCurrentTime())&&!(0,window.isNaN)(a.g)&&(0,window.isFinite)(a.g)&&a.l.bc(a.g)};
xS=function(a){a.g=window.NaN;a.A=null;a.C=null;a.F=null;a.D=!1;a.I=!1;a.K.stop()};
uS=function(a){if(a.l)for(var b=g.na(["loadedmetadata","seeked","seeking"]),c=b.next();!c.done;c=b.next())a.H.O(a.l,c.value,function(b){switch(b.type){case "seeking":b=a.l.getCurrentTime();if(!a.A||a.I&&b!=a.g)a.A=new rR,a.A.resolve(b),yS(a,b,!0),a.I=!0;break;case "seeked":a.A&&a.A.resolve(a.l.getCurrentTime());break;case "loadedmetadata":zS(a)}})};
wna=function(a){var b={ak:a.g};a.B&&g.Fa(b,RR(a.B));a.l&&g.Fa(b,bO(a.l));return b};
AS=function(a){SN.call(this);this.g=a;this.A={}};
VN=function(a,b){var c=a.Tc();a.g.src=b;a.Vf(c)};
YN=function(a){return a.g.buffered||LN()};
oO=function(a){return a.g.error?a.g.error.message:""};
BS=function(a,b,c){g.jh(a.g,b,c)};
CS=function(){g.K.call(this);this.o={};this.g={};this.l=new g.Mt(this.XS,250,this);g.M(this,this.l)};
DS=function(a,b){if(a.g[b]){var c=a.g[b].g;for(var d=[];c.o!=c.g;)c.o=(c.o+1)%c.l.length,d.push(c.l[c.o]);c=d}else c=[];return c};
ES=function(a,b){return a.g[b]?rP(a.g[b].g):0};
FS=function(a){this.o=a;this.g=new qP(100);this.l=window.NaN};
HS=function(a,b,c,d,e,f){g.hF.call(this);this.Ia=new cma;this.M=c;this.xb=d;this.Qg=f;c=(0,g.z)(function(a,b){"crn_endcr"!=a||g.V(this.o,32)||GS(this);e(a,b)},this);
this.H=new oR((0,g.z)(this.getCurrentTime,this),(0,g.z)(this.bz,this),(0,g.z)(this.mK,this),c);g.M(this,this.H);this.fa=window.NaN;this.X=this.F=null;this.A=a;this.ka=new una(a,this.xb);this.yd=!0;this.K=this.B=null;this.Y=[];this.na=new AQ;this.V=new AQ;this.ng=this.ce=this.Rg=this.Oa=!1;this.Pb=window.NaN;this.o=new g.dO;this.Qb=[];this.ob=b;this.oa=null;this.W=window.NaN;this.ra=new g.eF;g.M(this,this.ra);this.g=new g.eN;this.l=null;this.ba=window.NaN;this.C=null;this.kg=this.Pa=!1;this.Sa=window.NaN;
this.Ga=this.Kd=this.Zb=this.Xa=!1;this.Hc=this.Ld=window.NaN;this.Kh=a.experiments.g("html5_force_play_on_suspend_event");this.Lh=a.experiments.g("html5_force_play_on_suspend_event_limited");this.N=null;this.da=new CS;g.M(this,this.da);this.da.Gb("bufferhealth",(0,g.z)(this.gx,this));this.da.Gb("bandwidth",(0,g.z)(this.AH,this));this.da.Gb("networkactivity",(0,g.z)(this.CH,this),!0);this.da.Gb("livelatency",(0,g.z)(this.ox,this));this.da.start();this.lg=!1;this.ed=!0;this.zd=!1;this.ib=window.NaN;
this.we=!1;this.Ea=1;this.I=null;this.Og=(0,g.z)(this.bS,this);eka(this.Og);this.Sg=this.Pg=this.xe=0;this.ca=this.D=null};
IS=function(a){g.NF()?g.OF(a.Sa):g.AD(a.Sa)};
SS=function(a,b,c,d){d=void 0===d?!0:d;a.Y.length=0;a.na.reset();a.V.reset();a.fa=window.NaN;a.W=window.NaN;a.Pa=!1;a.zd=!1;a.ib=window.NaN;a.yd=!0;a.l&&a.l.rf();JS(a);KS(a);LS(a);a.D&&(a.D.dispose(),a.D=null);IS(a);a.da.clear();a.N=null;a.I=null;g.Ue(a.g);if(2==a.ob||gH(a.A.M))b.zy=!0;var e=b.oc;var f=a.A.l;var k=a.A.wb,l;(l=e.adformat)||(l=(e=e.attrib)&&Qb(MS,e)&&Qb(NS,e)?NS[e]+"_"+MS[e]:void 0);if(e=l)if((l=e.match(OS))&&5==l.length){l=e.match(OS);var m=(0,window.parseInt)(l[3],10),n=[7,8,10,5,
6];l=!(1==(0,window.parseInt)(l[1],10)&&8==m)&&0<=n.indexOf(m);f=f||k||l?e:null}else f=null;else f=null;f&&(b.adFormat=f);2==a.ob&&(b.Fi=!0);if(a.A.Ga||a.A.l)f=g.kG("yt-player-autonavstate"),b.autonavState=f||(a.A.l?2:a.g.autonavState);a.ed=d;a.g=b;a.g.subscribe("dataupdated",a.UR,a);a.g.subscribe("dataloaded",a.jw,a);a.g.subscribe("dataloaderror",a.Dj,a);a.g.subscribe("onStatusFail",a.TR,a);b.endSeconds&&b.endSeconds>b.startSeconds&&PS(a,b.endSeconds);Ana(a,c);a.Xa=!1;QS(a,"newdata");RS(a,new g.dO)};
Ana=function(a,b){KS(a);if(!a.g.ck){var c=new jma(a.g,a.A,b,(0,g.z)(a.getDuration,a),(0,g.z)(a.getCurrentTime,a),(0,g.z)(a.DH,a),(0,g.z)(a.xb.Ta,a.xb),(0,g.z)(a.getAudioTrack,a),(0,g.z)(a.bz,a),(0,g.z)(a.Sq,a),a.Qg,(0,g.z)(a.RH,a),function(){return a.M.g("qoes")});
a.C=new RO(c)}};
KS=function(a){if(a.C){var b=a.C;if(!b.ha()&&b.B){b.C="paused";var c=VO(b);c.ba=!0;c.send();c=b.l;"PL"==c.o&&(c.o="N");var d=g.BO(c.g);g.FO(c,d,"vps",[c.o]);c.B(d);g.AD(b.A);b.dispose()}g.Ue(a.C);a.C=null}};
US=function(a){if(a.g.Gd())return!0;g.TS(a,"api.invalidparam",void 0,"invalidVideodata.1");return!1};
VS=function(a,b){a.Oa=void 0===b?!1:b;if(US(a)&&!a.na.l){a.na.start();if(a.C){var c=a.C.l;c.g.g.experiments.g("html5_qoe_unstarted_in_initialization")?g.BO(c.g):g.FO(c,g.BO(c.g),"vps",["N"]);c.g.videoData.Jo?MO(c,"prefetch"):(c.l.user_intent=["0"],c.F=!0);c.g.videoData.Ah&&(HO(c,"reload",c.g.videoData.reloadReason),HO(c,"reloadcount",c.g.videoData.Ah.toString()));c.g.videoData.Zk&&MO(c,"monitor");c.g.videoData.za&&MO(c,"live");c.g.videoData.hg&&HO(c,"ctrl",c.g.videoData.hg,!0);c.g.videoData.vf&&HO(c,
"ytp",c.g.videoData.vf,!0);if(c.g.videoData.RB){var d=c.g.videoData.RB.replace(/,/g,".");HO(c,"ytrexp",d,!0)}if(!c.g.g.experiments.g("html5_disable_gpu_reporting")){var e=c.g.g.experiments;d=c.g.videoData;e=e.g("enable_white_noise")||e.g("enable_webgl_noop")||e.g("enable_gpu_logging");var f=d.li()||d.Pf()||d.Qf()||d.Ne();d=0==d.clientPlaybackNonce.indexOf("gp");(e||f||d)&&(d=(0,g.pO)())&&(c.l.gpu=[d])}c.V=g.zD((0,g.z)(c.B,c),1E4)}a.jw()}};
XS=function(a){a.l&&WN(a.l);VS(a);US(a)&&!g.V(a.o,128)&&(a.V.l||(a.V.start(),RS(a,hO(hO(a.o,8),1))),WS(a))};
WS=function(a){if(!a.V.g&&a.na.g&&!g.V(a.o,128)&&!a.Y.length){if(!a.H.B){var b=a.H;b.B=!0;b.o()}if(!YS(a)){a.B&&(b=a.B,a.Rg=!!b.ca&&!!b.ka);a.V.g||(a.V.g=!0);!a.g.za||0<a.g.Pr&&!a.g.wc()||(0!=a.A.experiments.l("html5_start_off_live")&&zN(a.g)&&!ZD()?(b=Math.max(a.g.Xb(),a.g.Rd()-a.A.experiments.l("html5_start_off_live")),ZS(a,b,!0)):ZS(a,window.Infinity,!0),zH()&&(a.kg=!0));if(a.C&&(b=a.C,b.g.videoData.enableCardio&&b.g.videoData.enableCardioBeforePlayback&&(b.bp("connected"),ZO(b)),b.g.videoData.za)){b=
b.l;var c=b.g.videoData.pa;b.g.videoData.wc()&&MO(b,"manifestless");c&&eK(c)&&MO(b,"live-segment-"+eK(c).toFixed(1))}a.P("playbackready",a);WM("pbr","")||(a.M.g("pbr"),g.HM("pbr",void 0,"video_to_ad"))}}};
GS=function(a,b){b=void 0===b?!0:b;$S(a);var c=b?new g.dO(14):new g.dO;RS(a,c)};
PS=function(a,b){a.X&&(a.H.C(a.X),a.X=null);a.X=new g.eP(1E3*b,0x7ffffffffffff);a.X.namespace="endcr";pR(a.H,[a.X])};
cT=function(a,b,c,d){a.g.Ka=c;a.g.sc=d||c;if(a.C){var e=aT(a);c=new HN(a.g,c,b,e?AG(e):"");d&&"i"==b&&bT(a,b,d);d=a.C.l;e=g.BO(d.g);g.FO(d,e,"vfs",[c.g.id,c.l,d.ba,c.reason]);d.ba=c.g.id;var f=d.g.K();if(0<f.width&&0<f.height){f=[Math.round(f.width),Math.round(f.height)];var k=g.ML();1<k&&f.push(k);g.FO(d,e,"view",f)}"i"!=c.reason&&"s"!=c.reason||!d.g.videoData.nh||MO(d,"rqs");g.FO(d,e,"vps",[d.o]);d.B(e);a.A.experiments.g("html5_report_performance_cap")&&"i"==b&&(c=WG())&&a.Nc("perfCap",""+c)}a.xe=
0;a.P("internalvideoformatchange",a.g,"m"==b)};
aT=function(a){if(!a.g.Na)return null;var b=QG(QG(sS(a.ka,a.g),dT(a)),eT(a));return g.Ka(a.g.Na.videoInfos,(0,g.z)(b.A,b))};
bT=function(a,b,c){a.g.sc=c;if(a.C){var d=a.C.l;c=new HN(a.g,c,b,"");var e=g.BO(d.g);c.g.id!=d.K&&(g.FO(d,e,"afs",[c.g.id,d.K,c.reason]),d.K=c.g.id)}"i"!=b&&a.P("internalaudioformatchange",a.g,"m"==b)};
g.TS=function(a,b,c,d){var e,f;g.Rb(Bna,c)?e=c:c?f=c:e="YTP_ERROR_GENERIC_WITHOUT_LINK";b={errorCode:b,errorDetail:d,message:f||g.U(e),messageKey:e};RS(a,gO(a.o,128,b));IS(a);LS(a);g.fT(a)};
Cna=function(a,b){a.Y=a.Y.filter(function(a){return b!=a});
a.V.l&&WS(a)};
YS=function(a){var b;(b=!!a.Y.length)||(a=a.H.g.g[0],b=!!a&&-0x8000000000000>=a.start);return b};
iT=function(a,b){a.l&&gT(a);a.o.isError()||RS(a,iO(a.o,512));a.l=b;a.l.g.loop=a.we;a.l.Vf(a.Ea);Dna(a);hT(a);if(a.D){var c=a.D,d=a.l;g.gF(c.H);c.l=d;uS(c)}};
hT=function(a){if(a.A.experiments.g("html5_prewarm_mse")&&KK())try{XN(a.l)}catch(b){}};
gT=function(a){jT(a);a.B&&(g.Nt(a.B.N),uR(a.B,!1));a.l&&(!a.V.l||a.o.isError()||g.V(a.o,2)||RS(a,hO(a.o,512)),JS(a),g.gF(a.ra),a.l.rf(),a.l=null,a.D&&(a=a.D,g.gF(a.H),a.l=null,uS(a)))};
nT=function(a){if(!g.V(a.o,128))if(a.lg)a.lg=!1,kT(a);else if(XS(a),g.V(a.o,64)&&RS(a,hO(a.o,8)),a.V.g&&a.l)if(a.g.Na){if(a.g.za){var b=a.getCurrentTime()<a.Xb()-15;var c=g.yN(a.g)&&g.V(a.o,4);if(b||c)c?ZS(a,window.Infinity,!0):ZS(a,a.Xb(),!0);!lT(a,void 0,!0)&&a.isPeggedToLive()&&ZS(a,window.Infinity,!0);if(a.A.experiments.g("html5_new_seeking")&&g.V(a.o,256)&&a.g.cf){RS(a,jO(a.o,8,4));return}}mT(a)?a.A.Nm?g.yD((0,g.z)(a.El,a),0):a.El():a.El()}else b=a.g.za&&!g.NK()?"html5.unsupportedlive":a.g.Cc?
"fmt.unplayable":"fmt.noneavailable",g.TS(a,b,"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK","selectableFormats.1")};
pT=function(a){JS(a);LS(a);oT(a)};
qT=function(a){if(!a.g.Na)return[];var b=dT(a);g.uL(a.A)&&(b=QG(b,rS(a.ka,a.g)));b=b||PG;a=(0,g.Hd)(a.g.Na.videoInfos,(0,g.z)(b.A,b));b=[];for(var c={},d=0;d<a.length;d++){var e=a[d].video;c[e.quality]||(b.push(e),c[e.quality]=!0)}return b};
rT=function(a){return QG(QG(QG(qS(a.ka,a.g),sS(a.ka,a.g)),dT(a)),eT(a))};
dT=function(a){return a.F?a.F.D:iN(a.g)&&a.g.Na.g&&TJ(a.g.pa)?kS:PG};
sT=function(a,b,c){if(!a.ha()&&!g.V(a.o,128)&&(c&&(a.g.Ml=c),iN(a.g))){if("m"==b&&c){OG(c)&&(b="a");a:{var d=a.g;if(d.Na){var e=g.vG[UG()];d=d.Na.videoInfos[0].video.g;if(e>d&&c.g==d)break a}g.jG("yt-player-quality",g.RG(c),2592E3)}}c=rT(a);if(a.g.Na.g){if(a.B&&"i"!=b&&(e=a.B,!e.ha()&&e.g)){GR(e,cR(e.D,c,b,!1));tR(e);if(fR(e.D)&&"m"==b&&e.D.M||"b"==b)e.l.W?e.P("reattachrequired"):(MQ(e.g),MQ(e.A));RQ(e.g)&&CR(e,e.g,e.A);g.Nt(e.N)}}else{e=a.g;a:if(d=a.g.Fg,c.g){for(var f=g.na(d),k=f.next();!k.done;k=
f.next()){k=k.value;var l=k.vg(),m=g.vG[l.video.quality];if((!c.o||"auto"!=l.video.quality)&&m<=c.g){c=k;break a}}c=d[d.length-1]}else c=d[0];e.fg=c;cT(a,b,a.g.fg.vg())}a.o.kb()&&nT(a)}};
Ena=function(a){a.I=new tP(a.g,a.A.experiments,function(){return tT(a,!0)});
a.C&&$O(a.C,vP(a.I))};
g.uT=function(a){Pka(a.g.pa,{cpn:a.g.clientPlaybackNonce,c:a.A.A.c,cver:a.A.A.cver});var b=fna(a.A,a.g);a.B=new sR(a.A.schedule,b,a.g.pa,a.g.Na,a.H);a.B.subscribe("initsegment",a.xP,a);a.B.subscribe("videoformatchange",a.IP,a);a.B.subscribe("audioformatchange",a.HP,a);a.B.subscribe("error",a.Dj,a);a.B.subscribe("ctmp",a.Nc,a);a.B.subscribe("seekelementrequired",a.bT,a);a.B.subscribe("seekplayerrequired",(0,g.z)(function(a,b){ZS(this,a,!0,void 0,b)},a));
a.B.subscribe("reattachrequired",a.VS,a);a.B.subscribe("metadata",a.aB,a);b=g.Oa(a.Y,"spacecast")||a.Oa;var c=a.getAudioTrack();c=c.Nb.isDefault?void 0:c;a.B.initialize(a.g.startSeconds,rT(a),b,c);a.g.probeUrl&&(a.B.da=a.g.probeUrl);(a.Y.length||a.Oa)&&uR(a.B,!1);a.D&&vS(a.D,a.B)};
Fna=function(a){a.D=new wS(a.l,a.B,a.g,a.I);a.D.subscribe("seekto",function(b,c){vT(a,b);c||wT(a);xT(a,b);a.P("seekto",a,b)});
a.D.subscribe("seekstart",function(){return yT(a)});
a.D.subscribe("ended",function(){return GS(a)});
a.D.subscribe("pausemediaelement",function(){return $S(a,!0)});
a.D.subscribe("resumemediaelement",function(){g.V(a.o,8)&&a.El()});
a.D.subscribe("ctmp",a.Nc,a)};
eT=function(a){var b=a.A.experiments.l("html5_background_quality_cap");a=a.A.experiments.l("html5_background_cap_idle_secs");return!b||"auto"!=UG()||g.UF()/1E3<a?PG:zH()?new MG(0,b,!1):PG};
LS=function(a){a.B&&(a.B.dispose(),a.B=null,a.D&&vS(a.D,null));jT(a)};
jT=function(a){a.K&&(a.K.dispose(),a.K=null)};
oT=function(a){if(a.K)return a.K.B;a.B?a.B.seek(a.getCurrentTime()):g.uT(a);try{a.A.experiments.g("html5_mse_refactor")?a.K=ema(a.l):a.K=dma(a.l)}catch(d){return d.message="window.URL object overwritten by external code",window.setTimeout(function(){throw d;},0),g.TS(a,a.g.Cc?"drm.unavailable":"html5.missingapi","YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK","updateMs.1"),null}var b=(0,g.z)(a.QP,a),c=(0,g.z)(function(a){g.TS(this,"fmt.unplayable",void 0,"msi.1;ename."+a.name)},a);
a.A.experiments.g("html5_prewarm_mse")?VI(a.K).then(b).then(void 0,c):(a.K.A=b,a.K.C=c);return a.K.B};
Gna=function(a){return 403==a.details.rc?(a=a.errorCode,"net.badstatus"==a||"manifest.net.retryexhausted"==a):!1};
kT=function(a){!a.g.cf&&a.g.Ah||a.Zb||(a.Zb=!0,a.P("signatureexpired"))};
zT=function(a){return"net.retryexhausted"==a.errorCode||"net.badstatus"==a.errorCode&&!!a.details.fmt_unav};
Hna=function(a,b){if(a.l&&("fmt.unplayable"==b.errorCode||"html5.invalidstate"==b.errorCode)){var c=a.l.Mb();b.details.merr=c?c.toString():"0";b.details.msg=oO(a.l)}};
$S=function(a,b){b=void 0===b?!1:b;var c=!a.A.experiments.g("web_player_ended_pause_killswitch")&&g.V(a.o,2);if((g.V(a.o,64)||c)&&!b)if(g.V(a.o,8))RS(a,jO(a.o,4,8));else return;if(a.l||a.A.experiments.g("html5_pause_video_fix"))g.V(a.o,128)||(b?RS(a,hO(a.o,256)):RS(a,jO(a.o,4,8))),a.l&&a.l.pause(),a.A.experiments.g("html5_live_only_disable_loader")&&g.yN(a.g)&&a.B&&uR(a.B,!1)};
AT=function(a){$S(a);a.B&&(uR(a.B,!1),wR(a.B,!1))};
g.fT=function(a,b){b=void 0===b?!1:b;if(a.l){try{a.l.pause()}catch(c){return}JS(a);LS(a);a.g&&(a.g.startSeconds=a.getCurrentTime());a.W=window.NaN;a.l.rf();hT(a);g.V(a.o,128)||(b?RS(a,jO(a.o,4,8)):RS(a,gO(a.o)));a.A.B.remove(a.g.videoId)}};
ZS=function(a,b,c,d,e){b=void 0===b?0:b;c=void 0===c?!1:c;e=void 0===e?!1:e;if(a.l&&a.V.g){if(b&&!(0,window.isFinite)(b)&&a.I&&a.B){if(a.g.isLowLatencyLiveStream||"LOW"==a.g.latencyClass||"ULTRALOW"==a.g.latencyClass){var f=a.I;if(f.o.length){var k=f.g;1<Math.min.apply(null,f.o)?f.g=sP(f,f.g-1):f.l.o&&(f.g=sP(f,f.g+1));if(k=k!=f.g)f.o=[],f.B=0;f=k}else f=!1;f&&a.C&&$O(a.C,vP(a.I))}a.B.Ga=Math.max(0,a.I.g-1)}if(a.A.experiments.g("html5_new_seeking"))yS(a.D,b,c);else{var l;if(f=b&&!(0,window.isFinite)(b)&&
a.B&&a.g.wc())f=a.B,f=!(f.g.C||f.A.C)||a.g.cf&&!a.A.experiments.g("html5_manifestless_no_redundant_seek_to_head");f&&(l=OR(a.B));l||(l=g.Wc(b||0,a.Xb(),tT(a,e)));vT(a,l);c?a.Sw():wT(a,d);xT(a,l);a.P("seekto",a,l)}}else a.g.startSeconds=b};
vT=function(a,b){if(a.I){var c=a.I;yP(c,b,!1);zP(c,b)}a.g.startSeconds=b;a.W=b;c=a.Ia;c.g=b;c.l=!0};
xT=function(a,b){a.X&&b>a.g.endSeconds&&(0,window.isFinite)(b)&&(a.H.C(a.X),a.X=null);b<tT(a)&&RS(a,iO(a.o,2))};
wT=function(a,b){g.V(a.o,32)||(RS(a,hO(a.o,32)),g.V(a.o,8)&&$S(a,!0),a.P("beginseeking",a));b&&(a.oa||(a.oa=new g.Mt(a.Sw,b,a)),a.oa.start());BT(a)};
yT=function(a){a.oa&&(a.oa.dispose(),a.oa=null);g.V(a.o,32)&&(RS(a,hO(iO(a.o,32),16)),a.P("endseeking",a))};
CT=function(a){if(!a.g.pa){if(a.A.experiments.g("html5_start_date_from_element")&&ZD()&&a.l){var b=a.l.g.getStartDate();if(b)return b.getTime()/1E3+a.getCurrentTime()}return window.NaN}return fK(a.g.pa,a.getCurrentTime())};
Ina=function(a){if(!a.l)return 0;if(g.yN(a.g))return 1;if(zN(a.g)){if(lT(a)||a.isPeggedToLive())return 1;var b=a.l,c=YN(b);b=(0<PN(c)&&b.getDuration()?c.end(c.length-1):0)-a.Xb();a=DT(a)-a.Xb();return Math.max(0,Math.min(1,b/a))}return aO(a.l)};
ET=function(a,b){var c={};if(void 0===b?0:b){a.C?g.Fa(c,QO(TO(a.C,"playback"))):a.g&&(c.cpn=a.g.clientPlaybackNonce);a.l&&(g.Fa(c,bO(a.l)),g.Fa(c,a.Sq()));a.B&&g.Fa(c,RR(a.B));if(a.F){var d=a.F,e=d.g;e={systemInfo:{flavor:e.flavor,keySystem:e.g},sessions:[]};d=g.na(d.l.values);for(var f=d.next();!f.done;f=d.next()){f=f.value;var k={requestedKeyIds:f.X,cryptoPeriodIndex:f.B};f.o&&(k.keyStatuses=f.g);e.sessions.push(k)}c.drm=e}c.state=a.o.l.toString(16);g.V(a.o,128)&&(c.debug_error=a.o.g);YS(a)&&(c.prerolls=
a.Y.join(","));a.g.yg&&(c.ismb=a.g.yg);"UNKNOWN"!=a.g.latencyClass&&(c.latency_class=a.g.latencyClass);a.g.isLowLatencyLiveStream&&(c.lowlatency="1");a.g.za&&(a.g.pa&&eK(a.g.pa)&&(c.segduration=eK(a.g.pa)),a.N&&(c.lat=rP(a.N.B)));c.relative_loudness=a.g.relativeLoudness.toFixed(3);if(e=aT(a))c.optimal_format=e.video.qualityLabel;c.user_qual=UG()}c.debug_videoId=a.g.videoId;return c};
QS=function(a,b){a.P("internalvideodatachange",void 0===b?"dataupdated":b,a,a.g)};
Dna=function(a){(0,g.C)("loadstart loadeddata loadedmetadata play playing pause ended suspend progress seeking seeked timeupdate durationchange ratechange error waiting abort resize".split(" "),function(a){this.ra.O(this.l,a,this.pK,this)},a);
a.A.Qg&&(a.ra.O(a.l,"webkitplaybacktargetavailabilitychanged",a.TN,a),a.ra.O(a.l,"webkitcurrentplaybacktargetiswirelesschanged",a.UN,a))};
FT=function(a){var b=a.getCurrentTime(),c=a.g;!WM("pbs","")&&zM.measure&&zM.getEntriesByName&&(zM.getEntriesByName("mark_nr")[0]?VM("mark_nr"):VM());c.videoId&&a.M.info("docid",c.videoId);c.eventId&&a.M.info("ei",c.eventId);c.clientPlaybackNonce&&a.M.info("cpn",c.clientPlaybackNonce);0<c.startSeconds&&a.M.info("start",c.startSeconds.toString());a.l&&a.l.g.paused&&a.M.info("paused",1);c.Ka?a.M.info("fmt",AG(c.Ka)):a.M.info("fmt","-1");c.Jo&&a.M.info("yt_pre",a.Rg?"2":"1");a.A.Ga&&a.M.info("yt_fs",
"1");a.M.info("cmt",b.toFixed(3));if(a.B){b=a.B;window&&window.performance&&window.performance.getEntriesByName&&(c=window.performance.getEntriesByName(b.ka),c.length&&(c=c[0],b.Wc("vri",c.fetchStart),b.Wc("vdns",c.domainLookupEnd),b.Wc("vreq",c.requestStart),b.Wc("fvb",c.responseStart),b.Wc("vrc",c.responseEnd)),c=window.performance.getEntriesByName(b.ca),c.length&&(c=c[0],b.Wc("ari",c.fetchStart),b.Wc("adns",c.domainLookupEnd),b.Wc("areq",c.requestStart),b.Wc("avb",c.responseStart),b.Wc("arc",c.responseEnd)));
b=b.xb;for(var d in b)a.M.g(d,b[d])}};
BT=function(a,b){b=void 0===b?!1:b;if(a.l&&a.g){var c=a.getCurrentTime();if(a.I&&lT(a)){var d=a.I,e=a.gx();d.B++;3>d.B||(0,g.G)()-d.F<d.l.D||(d.F=(0,g.G)(),d.o.push(e),50<d.o.length&&d.o.shift())}a.I&&(d=a.o.kb(),e=a.I,yP(e,c,void 0===d?!0:d),zP(e,c),d&&(d=a.I,d=!xP(d,c)&&d.isPeggedToLive()?window.Infinity:c<d.A.Xb()?d.A.Xb():window.NaN,(0,window.isNaN)(d)||ZS(a,d,!0)));a.N&&lT(a)&&(d=a.N,!d.g||c>=d.o&&c<d.A||(e=d.g.hh(c),-1!=e&&(d.o=d.g.Vd(e),d.A=d.o+d.g.getDuration(e),e=(0,g.G)()/1E3-d.g.Bs(e),
d.l&&(e-=d.l()),d.B.add(e))));if(a.B&&!(a.A.experiments.g("html5_live_only_disable_loader")&&g.V(a.o,4)&&g.yN(a.g))&&(d=a.B,d.o)){d.B!=c&&d.resume();if(d.I&&!XI(d.o)){e=d.B<=c&&c<d.B+10;var f=0<=NN(d.o.l.buffered,d.B+ER);e&&f&&(d.I=!1)}d.I||(d.B=c);g.Nt(d.fa)}5<c&&(a.g.startSeconds=c);(d=g.NF())?g.OF(a.Sa):g.AD(a.Sa);!g.mO(a.o)&&a.l.g.paused||g.V(a.o,128)||(e=(0,g.z)(a.gI,a),a.Sa=0==(a.l.g.played||LN()).length?d?g.LF(e,100):g.yD(e,100):d?g.LF(e,500):g.yD(e,500));a.g.rg=c;!b&&a.o.kb()&&a.C&&(c=a.C,
c.o.update(),c.g.videoData.Ub()&&c.g.videoData.Ff&&!c.M&&xO(c.o)>=c.g.videoData.Ff&&(c.B&&c.g.videoData.Ff&&(d=TO(c,"delayplay"),d.Ga=!0,d.send(),c.M=!0),YO(c)),lT(a)&&(!a.g.pa||!cK(a.g.pa))&&(0,g.G)()>a.Sg+6283&&(c=a.C.l,e=c.g.B(),d=g.BO(c.g),IO(c,d,e),e=e.C,(0,window.isNaN)(e)||g.FO(c,d,"e2el",[e.toFixed(3)]),a.Sg=(0,g.G)()));a.P("progresssync",a,b)}};
RS=function(a,b){if(!g.kO(a.o,b)){var c=new g.qO(b,a.o);a.o=b;var d=!a.Qb.length;a.Qb.push(c);var e=a.l&&a.l.g.seeking;if(0<rO(c,1)&&!g.V(c.g,16)&&!e&&g.V(a.o,8)&&!g.V(a.o,64)&&a.B){a.B.X=!0;a.g.nh&&a.l&&a.Nc("rbinfo","rs."+a.l.g.readyState+";lact."+g.UF());e=a.A.experiments.l("html5_nnr_downgrade_count");var f=5<=ZN(a.l),k=a.A.experiments.g("html5_perf_cap_for_live")&&a.g.za;e&&a.l&&(f||k)&&(a.xe++,f=a.g.Ka.video.g,k=360,a.A.experiments.g("html5_mobile_perf_cap_240")&&a.A.g&&(k=240),a.xe==e&&f>k&&
(e=a.ka,e.g.Pg=new MG(0,f-1,!1),e.g.experiments.g("html5_report_performance_cap")&&g.jG("yt-player-performance-cap",f-1,2592E3),sT(a,"b"),a.A.experiments.g("html5_report_performance_cap")&&a.Nc("perfDowngrade",""+f)))}0>rO(c,8)&&(g.AD(a.ba),a.ba=window.NaN);0<rO(c,8)&&!a.g.cf&&(0,window.isNaN)(a.ba)&&(a.ba=g.yD((0,g.z)(a.XA,a),15E3));g.V(c.state,2)&&zN(a.g)&&(e=a.getCurrentTime(),a.g.lengthSeconds!=e&&(a.g.lengthSeconds=e,QS(a)),BT(a,!0));0<rO(c,2)&&a.Zt();a.g.pa&&a.g.za&&(0>rO(c,8)?(e=a.g.pa,e.A&&
e.A.stop()):0<rO(c,8)&&a.g.pa.resume());0<rO(c,1)&&(a.Hc=g.yD((0,g.z)(a.SS,a),5E3));if(a.C&&(e=a.C,!e.ha())){g.V(c.state,2)?(e.C="paused",0<rO(c,2)&&e.B&&VO(e).send()):g.V(c.state,8)?(e.C="playing",e.B&&(0,window.isNaN)(e.D)&&SO(e,!1)):e.C="paused";f=e.l;k=c.state;var l=g.BO(f.g),m=lma(f,c.state);m!=f.o&&(l<f.A||("PL"==f.o?f.I+=l-f.A:"B"==f.o&&f.H&&(f.H=!1,f.M+=l-f.A,!f.N&&10<=f.M&&180>=f.I&&(f.g.F(),f.l.qoealert=["1"],f.N=!0)),"B"!=m||"PL"!=f.o&&"PB"!=f.o||(f.H=!0),f.A=l),"B"==m&&"PL"==f.o||f.g.videoData.nh?
JO(f,l):g.FO(f,l,"cmt",[f.g.l().toFixed(3)]),g.FO(f,l,"vps",[m]),f.o=m,f.A=l);g.V(k,128)&&LO(f,l,k.g.errorCode,k.g.errorDetail);(g.V(k,2)||g.V(k,128))&&f.B(l);g.V(k,8)&&f.g.videoData.Jo&&!f.F&&(f.l.user_intent=[g.BO(f.g).toString()],f.F=!0);KO(f);e.A&&g.V(c.state,128)&&(e.bp("error-100"),g.AD(e.A))}if(d)try{for(var n=g.na(a.Qb),q=n.next();!q.done;q=n.next()){var r=q.value,v=a.H;c=r;if(v.B&&!v.H&&(v.o(),g.V(c.g,16))){c=v;var B=nR(c.g,Math.max(c.A-2E3,0));!(0,window.isNaN)(B)&&0x7ffffffffffff>B&&c.D.start()}a.P("statechange",
r)}}finally{a.Qb.length=0}}};
GT=function(a){g.V(a.o,2)||g.V(a.o,32)||(a.W=window.NaN)};
HT=function(a,b){RS(a,jO(a.o,1028,9));a.Nc("dompaused",b);a.P("onDompaused")};
mT=function(a){if(!a.l||!a.g.Na)return!1;if(a.g.Na.g){var b=oT(a);a.B.resume()}else LS(a),b=a.g.fg.g();var c=a.l.l;if(!c||null==b||b.Eg!=c.Eg){a.M.g("vta");g.HM("vta",void 0,"video_to_ad");WN(a.l,b);a:if(g.qN(a.g)&&a.l)if(b=a.g.Rf){if(a.F){if("fairplay"!=b.flavor||ZD())break a;JS(a)}c=a.l.ma();a.F=new lS(c,b,a.A.experiments,"widevine"==b.flavor&&!a.g.za&&!a.g.Tr,a.g.drmSessionId);a.F.subscribe("newsession",a.jQ,a);a.F.subscribe("licenseerror",a.AP,a);a.F.subscribe("qualitychange",a.CP,a);a.F.subscribe("heartbeatparams",
a.nK,a);a.F.subscribe("keystatuseschange",a.oK,a);a.F.subscribe("hdproberequired",a.BP,a);b=a.F;c=a.g.oauthToken;b.N=c;b.P("oauthtoken",c)}else g.TS(a,"fmt.unplayable","YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK","drm.1");a.K&&PF(4);g.AD(a.ba);!a.g.cf&&fO(a.o)&&(a.ba=g.yD((0,g.z)(a.XA,a),15E3));return!0}return!1};
JS=function(a){a.F&&(a.F.dispose(),a.F=null)};
DT=function(a){return a.g.za&&(lT(a)||a.isPeggedToLive()||g.yN(a.g))?a.getCurrentTime():tT(a)};
tT=function(a,b){b=void 0===b?!1:b;return a.A.experiments.g("html5_new_seeking")?a.D?a.D.Rd(b):0:a.l?a.g.za?a.g.Na&&a.g.Na.g&&a.I?b?a.g.Rd():wP(a.I):TN(a.l)||0:a.g.Rd():0};
IT=function(a,b){a.Ea=b;a.l&&a.l.Vf(b)};
lT=function(a,b,c){if(!a.g.za||!a.I||!(a.yd||void 0!==c&&c))return!1;void 0==b&&(b=a.getCurrentTime());return xP(a.I,b)};
g.JT=function(a,b){a.yd=b;if(a.g.pa)if(b)a.g.pa.resume();else{var c=a.g.pa;c.A&&c.A.stop()}a.A.experiments.g("html5_suspend_loader")&&a.B&&(b?a.B.resume():uR(a.B,!0));a.A.experiments.g("html5_fludd_suspend")&&(g.V(a.o,2)||b?g.V(a.o,512)&&b&&RS(a,iO(a.o,512)):RS(a,hO(a.o,512)));a.C&&(c=a.C.l,g.FO(c,g.BO(c.g),"stream",[b?"A":"I"]))};
KT=function(a){a.l&&(a.K?pT(a):(a.g.fg&&a.g.fg.A(),a.l.rf()),nT(a))};
LT=function(a,b){a.A.experiments.g("html5_log_rebuffer_reason")&&a.Nc("bufreason","r."+b+";lact."+g.UF())};
MT=function(a,b){aP.call(this,a,b);this.C=null};
g.NT=function(a){return a.app.A};
g.OT=function(a){a=g.NT(a).I;return!!a&&a.jz()};
PT=function(a){a=g.NT(a);var b=a.I;return b&&b.kz()?!0:g.xN(a.g.ea(),"ypc_module")};
g.QT=function(a,b){3==a.Ra()?a.P("mdxautoplaycancel"):a.P("autonavcancel",b)};
g.W=function(a){return a.app.g};
g.UT=function(a){var b=a.app;a=a.playerType;return 3==RT(b)?g.ST(b.A).D:g.TT(b,a).o};
g.VT=function(a){return a.app.F};
WT=function(a){var b=g.ST(g.NT(a));return a.app.W&&!a.isFullscreen()||3==a.Ra()&&b.hasNext()&&b.Mf()||!!a.Xf()};
g.XT=function(a,b){var c=a.playerType;(c=g.TT(a.app,void 0===c?1:c))&&GS(c,b)};
g.ZT=function(a){if(IE())if(a.isFullscreen())KE(a.getRootNode());else{a=a.getRootNode();var b=HE(["requestFullscreen","webkitRequestFullscreen","mozRequestFullScreen","msRequestFullscreen"],a);b&&b.call(a)}else a.sa("onFullscreenToggled",a.isFullscreen())};
g.$T=function(a){var b={};a=qT(g.TT(a.app));a=g.na(a);for(var c=a.next();!c.done;c=a.next())c=c.value,b[c.quality]=c;return b};
g.aU=function(a){return(a=g.TT(a.app))?g.RG(qS(a.ka,a.g)):"unknown"};
g.bU=function(a){return(a=g.NT(a).o)?a.SK():{}};
g.cU=function(a,b,c,d){var e=g.TT(a.app);c.event=b;a.isFullscreen()&&(c.fs=1);c.ux=1;e.logEvent(c,d)};
g.dU=function(a){a=g.NT(a).A;return!!a&&a.fl()};
g.eU=function(a){a=g.NT(a).A;return!!a&&a.hz()};
g.fU=function(a){var b=a.app.A.H;if(b){a=g.VT(b.g).Ta();a=new g.Wg(0,0,a.width,a.height);if(b.o.l&&!b.Yj()){if(g.W(b.g).zd){var c=b.Ed()?b.na:b.oa;a.top+=c;a.height-=c}b.l&&(a.height-=b.l.o.Ed()?72:50)}return a}b=a.app.F.Ta();return new g.Wg(0,0,b.width,b.height)};
gU=function(a){a=g.NT(a).M;return!!a&&a.FK()};
g.iU=function(a,b,c){hU(a.app,b,c||a.playerType)};
g.kU=function(a,b,c){var d=a.app;a=c||a.playerType;if(c=g.TT(d,a))c.H.C.apply(c.H,b),a&&RT(d)!=a||jU(d,"cuerangesremoved",b)};
g.lU=function(a,b,c){var d=a.app;a=c||a.playerType;if(c=g.TT(d,a))b=Xma(c.H,b),a&&RT(d)!=a||jU(d,"cuerangesremoved",b)};
g.mU=function(a,b){var c=g.TT(a.app,a.playerType);c&&Cna(c,b)};
g.nU=function(a){a=a.ea().Ka;return!!a&&!(!a.audio||!a.video)&&"application/x-mpegURL"!=a.mimeType};
g.oU=function(a){a=a.ea();return!!(a.adaptiveFormats||a.hlsFormats||a.ge)};
g.pU=function(a,b,c){a=g.VT(a).element;var d=eb(a.children,function(a){a=(0,window.parseInt)(a.getAttribute("data-layer"),10);return c-a||1});
0>d&&(d=-(d+1));Ed(a,b,d);b.setAttribute("data-layer",c)};
g.qU=function(a){var b=g.W(a);if(!b.xe)return!1;var c=a.ea();if(!c||3==a.Ra())return!1;b=c.za&&(!b.experiments.g("allow_live_autoplay")||c.isLiveDefaultBroadcast);return!c.ypcPreview&&!b&&!g.Oa(c.re,"ypc")&&!a.Xf()};
sU=function(a,b,c,d){if(g.W(a).W){a=a.app.ca;g.Oa(a.g,b);g.Ra(a.g,b);var e=String(a.F++);b.setAttribute("data-visual-id",e);g.rU(a,"onLogClientVeCreated",{id:e,ve_type:d});g.Te(c,(0,g.z)(a.D,a,b))}};
g.tU=function(a,b){g.W(a).W&&a.app.ca.click(b)};
g.uU=function(a,b,c){if(g.W(a).W){a=a.app.ca;var d=b.getAttribute("data-visual-id");g.Oa(a.g,b);c?g.Ra(a.l,d):g.Ta(a.l,d);c&&!g.Oa(a.o,d)&&(g.rU(a,"onLogVesShown",{ids:[d]}),g.Ra(a.o,d))}};
Jna=function(){var a={};a.dt=fB;a.flash=jB||"0";a:{try{var b=window.top.location.href}catch(c){b=2;break a}b=null!=b?b==window.document.location.href?0:1:2}a=(a.frm=b,a);Yh(a);return a};
g.vU=function(a){g.hF.call(this);this.g=a;this.loaded=!1};
wU=function(){return"ytp-id-"+Kna++};
g.yU=function(a){g.K.call(this);this.va={};this.Ga={};this.element=xU(this,a)};
xU=function(a,b,c){c=c||"svg"==b.G;if(c){var d=window.document.createElementNS("http://www.w3.org/2000/svg",b.G);g.PL&&(b.T||(b.T={}),b.T.focusable="false")}else d=g.zd(b.G);var e=b.L;if(e){if(e=zU(a,d,"class",e))AU(a,d,"class",e),a.va[e]=d}else if(e=b.aa){for(var f=0;f<e.length;f++)a.va[e[f]]=d;AU(a,d,"class",e.join(" "))}if(e=b.J)for(var k=f=0;k<e.length;k++){var l=e[k];if(l)if(g.u(l))l=zU(a,d,"child",l),null!=l&&d.appendChild(g.Ad(l));else if(l.element)d.appendChild(l.element);else{var m=l;l=xU(a,
m,c);d.appendChild(l);m.Va&&(m=wU(),l.id=m,l=window.document.createElementNS("http://www.w3.org/2000/svg","use"),l.setAttribute("class","ytp-svg-shadow"),l.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+m),Ed(d,l,f++))}}if(b=b.T){c=d;for(var n in b)e=b[n],null!=e&&AU(a,c,n,g.u(e)?zU(a,c,n,e):e)}return d};
g.BU=function(a){g.Fd(a.element)};
zU=function(a,b,c,d){return"{{"==d.substr(0,2)?(a.Ga[d]=[b,c],null):d};
AU=function(a,b,c,d){if("child"==c){g.Dd(b);if(!g.ya(d)||g.Ba(d)&&g.u(d.G))d=[d];c=[];for(var e=0;e<d.length;e++){var f=d[e];if(null!=f){var k=f.nodeType;if(1==k||3==k)c.push(f);else if(g.Ba(f)&&g.u(f.G))c.push(xU(a,f));else if(f.element)c.push(f.element);else if(g.u(f)&&-1!=f.indexOf("\n"))for(f=f.split("\n"),k=0;k<f.length;k++)0<k&&c.push(g.zd("BR")),c.push(g.Ad(f[k]));else c.push(g.Ad(f))}}for(a=0;a<c.length;a++)b.appendChild(c[a])}else"style"==c?b.style.cssText=d?d:"":null===d?b.removeAttribute(c):
b.setAttribute(c,d.toString())};
DU=function(a,b){var c=g.sD("VALID_SESSION_TEMPDATA_DOMAINS",[]),d=g.Bg(window.location.href);d&&c.push(d);d=g.Bg(a);if(g.Oa(c,d)||!d&&g.kb(a,"/"))if(g.iE("autoescape_tempdata_url")&&(c=window.document.createElement("a"),g.Tc(c,a),a=c.href),a&&(c=g.zg(a),c=g.yg(null,null,null,null,c[5],c[6],c[7]),d=c.indexOf("#"),c=0>d?c:c.substr(0,d))){if(b.itct||b.ved)b.csn=b.csn||g.mG();if(e){var e=(0,window.parseInt)(e,10);(0,window.isFinite)(e)&&0<e&&(c="ST-"+g.Bb(c).toString(36),d=b?g.Jg(b):"",g.oG(c,d,e||5),
CU(b))}else e="ST-"+g.Bb(c).toString(36),c=b?g.Jg(b):"",g.oG(e,c,5),CU(b)}};
CU=function(a){if(a){a=a.itct||a.ved;var b=g.x("yt.logging.screen.storeParentElement");a&&b&&b(new g.cG(a))}};
g.EU=function(a){var b=void 0===b?{}:b;var c=void 0===c?"":c;var d=void 0===d?window:d;d=d.location;a=g.Lg(a,b)+c;a=a instanceof Ac?a:Fc(a);d.href=g.Bc(a)};
g.FU=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?!1:c;var d=g.sD("EVENT_ID");d&&(b.ei||(b.ei=d));b&&DU(a,b);if(c)return!1;(window.ytspf||{}).enabled?window.spf.navigate(a):g.EU(a);return!0};
g.GU=function(a,b,c){c&&DU(a,c);window.open(a,b||g.Bb(a).toString(36))};
g.X=function(a){g.yU.call(this,a);this.yd="";this.g=!0;this.V=[]};
g.HU=function(a,b){b?a.show():a.hide()};
IU=function(){g.hF.call(this);this.g=new window.Map};
KU=function(){null==JU&&(JU=new IU,Yl.getInstance().o="b");return JU};
Lna=function(a){switch(a){case "fully_viewable_audible_half_duration_impression":return"g";case "measurable_impression":return"b";case "overlay_unmeasurable_impression":return"h";case "overlay_unviewable_impression":return"i";case "overlay_viewable_end_of_session_impression":return"j";case "overlay_viewable_immediate_impression":return"k";case "viewable_impression":return"o";default:return null}};
MU=function(a){LU=a&&a.data};
OU=function(a){NU=a&&a.data};
PU=function(){LU=null};
g.QU=function(a){g.X.call(this,a);this.W=new g.hF;g.M(this,this.W)};
g.SU=function(){return g.RU?{G:"div",aa:["ytp-icon","ytp-icon-cast-desktop-on"]}:{G:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Va:!0,T:{d:"M7,24 L7,27 L10,27 C10,25.34 8.66,24 7,24 L7,24 Z M7,20 L7,22 C9.76,22 12,24.24 12,27 L14,27 C14,23.13 10.87,20 7,20 L7,20 Z M25,13 L11,13 L11,14.63 C14.96,15.91 18.09,19.04 19.37,23 L25,23 L25,13 L25,13 Z M7,16 L7,18 C11.97,18 16,22.03 16,27 L18,27 C18,20.92 13.07,16 7,16 L7,16 Z M27,9 L9,9 C7.9,9 7,9.9 7,11 L7,14 L9,14 L9,11 L27,11 L27,25 L20,25 L20,27 L27,27 C28.1,27 29,26.1 29,25 L29,11 C29,9.9 28.1,9 27,9 L27,9 Z",
fill:"#fff"}}]}};
TU=function(){return{G:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",T:{d:"m 14.8,21.9 -4.2,-4.2 -1.4,1.4 5.6,5.6 12,-12 -1.4,-1.4 -10.6,10.6 z",fill:"#fff"}}]}};
g.UU=function(){return g.RU?{G:"div",aa:["ytp-icon","ytp-icon-chevron-back"]}:{G:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 32 32",width:"100%"},J:[{G:"path",T:{d:"M 19.41,20.09 14.83,15.5 19.41,10.91 18,9.5 l -6,6 6,6 z",fill:"#fff"}}]}};
g.VU=function(){return g.RU?{G:"div",aa:["ytp-icon","ytp-icon-chevron-forward"]}:{G:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 32 32",width:"100%"},J:[{G:"path",T:{d:"m 12.59,20.34 4.58,-4.59 -4.58,-4.59 1.41,-1.41 6,6 -6,6 z",fill:"#fff"}}]}};
WU=function(){return g.RU?{G:"div",aa:["ytp-icon","ytp-icon-clip-clear"]}:{G:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 14 14",width:"100%"},J:[{G:"path",T:{d:"M14,14 L14,0 L0,0 L0,14 L14,14 Z"}},{G:"path",T:{d:"M7.15,8.35 L9.25,10.45 L10.65,9.05 L8.55,6.95 L10.7,4.8 L9.3,3.4 L7.15,5.55 L5,3.4 L3.6,4.8 L5.75,6.95 L3.65,9.05 L5.05,10.45 L7.15,8.35 Z",fill:"#fff"}}]}};
XU=function(){return g.RU?{G:"div",aa:["ytp-icon","ytp-icon-clip-end"]}:{G:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 14 14",width:"100%"},J:[{G:"path",Va:!0,T:{d:"M2,14 L5,11 L5,3 L2,0 L9,0 L9,14 L2,14 L2,14 Z",fill:"#eaeaea"}}]}};
YU=function(){return g.RU?{G:"div",aa:["ytp-icon","ytp-icon-clip-start"]}:{G:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 14 14",width:"100%"},J:[{G:"path",Va:!0,T:{d:"M12,14 L9,11 L9,3 L12,0 L5,0 L5,14 L12,14 Z",fill:"#eaeaea"}}]}};
g.ZU=function(){return g.RU?{G:"div",aa:["ytp-icon","ytp-icon-close"]}:{G:"svg",T:{height:"100%",viewBox:"0 0 24 24",width:"100%"},J:[{G:"path",T:{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z",fill:"#fff"}}]}};
$U=function(){return g.RU?{G:"div",aa:["ytp-icon","ytp-icon-closed-captioning"]}:{G:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Va:!0,T:{d:"M11,11 C9.89,11 9,11.9 9,13 L9,23 C9,24.1 9.89,25 11,25 L25,25 C26.1,25 27,24.1 27,23 L27,13 C27,11.9 26.1,11 25,11 L11,11 Z M17,17 L15.5,17 L15.5,16.5 L13.5,16.5 L13.5,19.5 L15.5,19.5 L15.5,19 L17,19 L17,20 C17,20.55 16.55,21 16,21 L13,21 C12.45,21 12,20.55 12,20 L12,16 C12,15.45 12.45,15 13,15 L16,15 C16.55,15 17,15.45 17,16 L17,17 L17,17 Z M24,17 L22.5,17 L22.5,16.5 L20.5,16.5 L20.5,19.5 L22.5,19.5 L22.5,19 L24,19 L24,20 C24,20.55 23.55,21 23,21 L20,21 C19.45,21 19,20.55 19,20 L19,16 C19,15.45 19.45,15 20,15 L23,15 C23.55,15 24,15.45 24,16 L24,17 L24,17 Z",
fill:"#fff"}}]}};
aV=function(){return g.RU?{G:"div",aa:["ytp-icon","ytp-icon-forward-five-seconds"]}:{G:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Va:!0,L:"ytp-svg-fill",T:{d:"m 10,19 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 h -2 c 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 0,-3.3 2.7,-6 6,-6 v 4 l 5,-5 -5,-5 v 4 c -4.4,0 -8,3.6 -8,8 z m 6.7,.9 .2,-2.2 h 2.4 v .7 h -1.7 l -0.1,.9 c 0,0 .1,0 .1,-0.1 0,-0.1 .1,0 .1,-0.1 0,-0.1 .1,0 .2,0 h .2 c .2,0 .4,0 .5,.1 .1,.1 .3,.2 .4,.3 .1,.1 .2,.3 .3,.5 .1,.2 .1,.4 .1,.6 0,.2 0,.4 -0.1,.5 -0.1,.1 -0.1,.3 -0.3,.5 -0.2,.2 -0.3,.2 -0.5,.3 C 18.3,22 18.1,22 17.9,22 17.7,22 17.5,22 17.4,21.9 17.3,21.8 17.1,21.8 16.9,21.7 16.7,21.6 16.7,21.5 16.6,21.3 16.5,21.1 16.5,21 16.5,20.8 h .8 c 0,.2 .1,.3 .2,.4 .1,.1 .2,.1 .4,.1 .1,0 .2,0 .3,-0.1 L 18.4,21 c 0,0 .1,-0.2 .1,-0.3 v -0.6 l -0.1,-0.2 -0.2,-0.2 c 0,0 -0.2,-0.1 -0.3,-0.1 h -0.2 c 0,0 -0.1,0 -0.2,.1 -0.1,.1 -0.1,0 -0.1,.1 0,.1 -0.1,.1 -0.1,.1 h -0.6 z"}}]}};
bV=function(){return g.RU?{G:"div",aa:["ytp-icon","ytp-icon-link"]}:{G:"svg",T:{height:"100%",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",T:{d:"M5.85 18.0c0.0-2.56 2.08-4.65 4.65-4.65h6.0V10.5H10.5c-4.14 .0-7.5 3.36-7.5 7.5s3.36 7.5 7.5 7.5h6.0v-2.85H10.5c-2.56 .0-4.65-2.08-4.65-4.65zM12.0 19.5h12.0v-3.0H12.0v3.0zm13.5-9.0h-6.0v2.85h6.0c2.56 .0 4.65 2.08 4.65 4.65s-2.08 4.65-4.65 4.65h-6.0V25.5h6.0c4.14 .0 7.5-3.36 7.5-7.5s-3.36-7.5-7.5-7.5z",fill:"#fff"}}]}};
cV=function(){return g.RU?{G:"div",aa:["ytp-icon","ytp-icon-next"]}:{G:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Va:!0,L:"ytp-svg-fill",T:{d:"M 12,24 20.5,18 12,12 V 24 z M 22,12 v 12 h 2 V 12 h -2 z"}}]}};
g.dV=function(){return g.RU?{G:"div",aa:["ytp-icon","ytp-icon-notifications-active"]}:{G:"svg",T:{fill:"#fff",height:"24px",viewBox:"0 0 24 24",width:"24px"},J:[{G:"path",T:{d:"M7.58 4.08L6.15 2.65C3.75 4.48 2.17 7.3 2.03 10.5h2c.15-2.65 1.51-4.97 3.55-6.42zm12.39 6.42h2c-.15-3.2-1.73-6.02-4.12-7.85l-1.42 1.43c2.02 1.45 3.39 3.77 3.54 6.42zM18 11c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2v-5zm-6 11c.14 0 .27-.01.4-.04.65-.14 1.18-.58 1.44-1.18.1-.24.15-.5.15-.78h-4c.01 1.1.9 2 2.01 2z"}}]}};
eV=function(){return g.RU?{G:"div",aa:["ytp-icon","ytp-icon-pause"]}:{G:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Va:!0,L:"ytp-svg-fill",T:{d:"M 12,26 16,26 16,10 12,10 z M 21,26 25,26 25,10 21,10 z"}}]}};
fV=function(){return g.RU?{G:"div",aa:["ytp-icon","ytp-icon-play"]}:{G:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Va:!0,L:"ytp-svg-fill",T:{d:"M 12,26 18.5,22 18.5,14 12,10 z M 18.5,22 25,18 25,18 18.5,14 z"}}]}};
gV=function(){return g.RU?{G:"div",aa:["ytp-icon","ytp-icon-prev"]}:{G:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Va:!0,L:"ytp-svg-fill",T:{d:"m 12,12 h 2 v 12 h -2 z m 3.5,6 8.5,6 V 12 z"}}]}};
hV=function(){return g.RU?{G:"div",aa:["ytp-icon","ytp-icon-replay"]}:{G:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Va:!0,L:"ytp-svg-fill",T:{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"}}]}};
iV=function(){return g.RU?{G:"div",aa:["ytp-icon","ytp-icon-rewind-five-seconds"]}:{G:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Va:!0,L:"ytp-svg-fill",T:{d:"M 18,11 V 7 l -5,5 5,5 v -4 c 3.3,0 6,2.7 6,6 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 h -2 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 0,-4.4 -3.6,-8 -8,-8 z m -1.3,8.9 .2,-2.2 h 2.4 v .7 h -1.7 l -0.1,.9 c 0,0 .1,0 .1,-0.1 0,-0.1 .1,0 .1,-0.1 0,-0.1 .1,0 .2,0 h .2 c .2,0 .4,0 .5,.1 .1,.1 .3,.2 .4,.3 .1,.1 .2,.3 .3,.5 .1,.2 .1,.4 .1,.6 0,.2 0,.4 -0.1,.5 -0.1,.1 -0.1,.3 -0.3,.5 -0.2,.2 -0.3,.2 -0.4,.3 C 18.5,22 18.2,22 18,22 17.8,22 17.6,22 17.5,21.9 17.4,21.8 17.2,21.8 17,21.7 16.8,21.6 16.8,21.5 16.7,21.3 16.6,21.1 16.6,21 16.6,20.8 h .8 c 0,.2 .1,.3 .2,.4 .1,.1 .2,.1 .4,.1 .1,0 .2,0 .3,-0.1 L 18.5,21 c 0,0 .1,-0.2 .1,-0.3 v -0.6 l -0.1,-0.2 -0.2,-0.2 c 0,0 -0.2,-0.1 -0.3,-0.1 h -0.2 c 0,0 -0.1,0 -0.2,.1 -0.1,.1 -0.1,0 -0.1,.1 0,.1 -0.1,.1 -0.1,.1 h -0.7 z"}}]}};
g.jV=function(){return g.RU?{G:"div",aa:["ytp-icon","ytp-icon-settings"]}:{G:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Va:!0,T:{d:"m 23.94,18.78 c .03,-0.25 .05,-0.51 .05,-0.78 0,-0.27 -0.02,-0.52 -0.05,-0.78 l 1.68,-1.32 c .15,-0.12 .19,-0.33 .09,-0.51 l -1.6,-2.76 c -0.09,-0.17 -0.31,-0.24 -0.48,-0.17 l -1.99,.8 c -0.41,-0.32 -0.86,-0.58 -1.35,-0.78 l -0.30,-2.12 c -0.02,-0.19 -0.19,-0.33 -0.39,-0.33 l -3.2,0 c -0.2,0 -0.36,.14 -0.39,.33 l -0.30,2.12 c -0.48,.2 -0.93,.47 -1.35,.78 l -1.99,-0.8 c -0.18,-0.07 -0.39,0 -0.48,.17 l -1.6,2.76 c -0.10,.17 -0.05,.39 .09,.51 l 1.68,1.32 c -0.03,.25 -0.05,.52 -0.05,.78 0,.26 .02,.52 .05,.78 l -1.68,1.32 c -0.15,.12 -0.19,.33 -0.09,.51 l 1.6,2.76 c .09,.17 .31,.24 .48,.17 l 1.99,-0.8 c .41,.32 .86,.58 1.35,.78 l .30,2.12 c .02,.19 .19,.33 .39,.33 l 3.2,0 c .2,0 .36,-0.14 .39,-0.33 l .30,-2.12 c .48,-0.2 .93,-0.47 1.35,-0.78 l 1.99,.8 c .18,.07 .39,0 .48,-0.17 l 1.6,-2.76 c .09,-0.17 .05,-0.39 -0.09,-0.51 l -1.68,-1.32 0,0 z m -5.94,2.01 c -1.54,0 -2.8,-1.25 -2.8,-2.8 0,-1.54 1.25,-2.8 2.8,-2.8 1.54,0 2.8,1.25 2.8,2.8 0,1.54 -1.25,2.8 -2.8,2.8 l 0,0 z",
fill:"#fff"}}]}};
kV=function(){return g.RU?{G:"div",aa:["ytp-icon","ytp-icon-stop"]}:{G:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Va:!0,L:"ytp-svg-fill",T:{d:"M 12,25 19,25 19,11 12,11 z M 19,25 26,25 26,11 19,11 z"}}]}};
lV=function(){return g.RU?{G:"div",aa:["ytp-icon","ytp-icon-volume-high"]}:{G:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Va:!0,T:{d:"M8,21 L12,21 L17,26 L17,10 L12,15 L8,15 L8,21 Z M19,14 L19,22 C20.48,21.32 21.5,19.77 21.5,18 C21.5,16.26 20.48,14.74 19,14 Z M19,11.29 C21.89,12.15 24,14.83 24,18 C24,21.17 21.89,23.85 19,24.71 L19,26.77 C23.01,25.86 26,22.28 26,18 C26,13.72 23.01,10.14 19,9.23 L19,11.29 Z",fill:"#fff"}}]}};
mV=function(){return g.RU?{G:"div",aa:["ytp-icon","ytp-icon-volume-low"]}:{G:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Va:!0,T:{d:"M8,21 L12,21 L17,26 L17,10 L12,15 L8,15 L8,21 Z M19,14 L19,22 C20.48,21.32 21.5,19.77 21.5,18 C21.5,16.26 20.48,14.74 19,14 Z",fill:"#fff"}}]}};
nV=function(){return g.RU?{G:"div",aa:["ytp-icon","ytp-icon-volume-muted"]}:{G:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Va:!0,L:"ytp-svg-fill",T:{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"}}]}};
g.oV=function(a,b,c,d){g.K.call(this);this.l=a;c||a.hide();this.B=null==d?b:d;this.g=this.A=null;this.o=new g.Mt(this.vp,0,this);g.M(this,this.o)};
pV=function(a,b){var c=a.l.element;b?c.setAttribute("aria-hidden",!0):c.removeAttribute("aria-hidden")};
g.qV=function(a){var b=Math.abs(Math.floor(a)),c=Math.floor(b/86400),d=Math.floor(b%86400/3600),e=Math.floor(b%3600/60);b=Math.floor(b%60);var f="";0<c&&(f+=c+":",10>d&&(f+="0"));if(0<c||0<d)f+=d+":",10>e&&(f+="0");f+=e+":";10>b&&(f+="0");f+=b;return 0<=a?f:"-"+f};
g.rV=function(a){return(!g.ua(a.button)||0==a.button)&&!a.shiftKey&&!a.altKey&&!a.metaKey&&!a.ctrlKey};
sV=function(a,b){this.l=a;this.g=b};
tV=function(a,b){return a.l+b*a.getLength()};
uV=function(a,b,c){if(!a.getLength())return null!=c?c:window.Infinity;a=(b-a.l)/a.getLength();return g.Wc(a,0,1)};
vV=function(a,b){g.QU.call(this,{G:"div",L:"ytp-ad-persistent-progress-bar-container",J:[{G:"div",L:"ytp-ad-persistent-progress-bar"}]});this.A=a;this.o=b;g.M(this,this.o);this.D=this.va["ytp-ad-persistent-progress-bar"];this.l=-1;this.O(a,"presentingplayerstatechange",this.C);this.hide();this.C()};
wV=function(){g.X.call(this,{G:"div",L:"ad-carousel",J:[{G:"div",L:"ad-carousel-clip",J:[{G:"ul",aa:["ad-carousel-list","ad-carousel-list-animation"]}]}]});var a=this.va["ad-carousel"];this.A=new g.X({G:"button",aa:["ad-carousel-nav-button","ad-carousel-nav-prev"],T:{type:"button",onclick:"return false;"},J:[{G:"span",aa:["ad-carousel-prev-icon","yt-uix-tooltip","yt-sprite"],T:{"data-tooltip-text":"Prev",title:"Prev"}}]});g.M(this,this.A);this.A.R("click",this.D,this);this.A.xa(a);this.o=new g.X({G:"button",
aa:["ad-carousel-nav-button","ad-carousel-nav-next"],T:{type:"button",onclick:"return false;"},J:[{G:"span",aa:["ad-carousel-next-icon","yt-uix-tooltip","yt-sprite"],T:{"data-tooltip-text":"Next",title:"Next"}}]});g.M(this,this.o);this.o.R("click",this.C,this);this.o.xa(a);this.B=this.va["ad-carousel-list"];this.l=0;this.Ja=[]};
Mna=function(a,b){a.clear();for(var c=g.na(b),d=c.next();!d.done;d=c.next()){var e=a;d=d.value.element;var f=new g.X({G:"li",L:"ad-carousel-listitem",J:[{G:"div",L:"ad-carousel-item"}]});f.va["ad-carousel-item"].appendChild(d);e.Ja.push(f);e.B.appendChild(f.element)}};
yV=function(a){a.B&&g.jh(a.B,"left",(2>a.Ja.length?0:-a.l*a.Ja[1].element.clientWidth)+"px");g.HU(a.A,0<a.l);g.HU(a.o,a.l<a.Ja.length-xV(a))};
xV=function(a){return 2>a.Ja.length?1:Math.round((a.element.clientWidth-a.Ja[0].element.clientWidth)/a.Ja[1].element.clientWidth)+1};
zV=function(a){g.hF.call(this);this.l=a;this.g=new g.eF(this);g.M(this,this.g);this.A=Nna;this.o=null;this.g.O(this.l,"presentingplayerstatechange",this.B);this.o=this.g.O(this.l,"progresssync",this.C)};
BV=function(a,b){this.g=a;this.l=g.ua(b)?b:null;if(g.Oa(AV,this.g)){if(!g.ua(this.l)||0>this.l)throw Error("Must have valid offset");}else if(null!==this.l)throw Error("Must not have offset");};
CV=function(a){var b=a.l;if(null!==b)return b;switch(a.g){case 1:return 0;case 3:return-1;default:return-100}};
Ona=function(a,b){var c=a.g,d=b.g;if(c!=d){if(1==c||3==d)return-1;if(1==d||3==c)return 1}var e=a.l,f=b.l;return e!=f?null===e?1:null===f?-1:e-f:c-d};
DV=function(a){this.l=a};
EV=function(a){return a?-1!=a.toString().search(/(?:true|1)/i):!1};
FV=function(a,b){if(a){var c="getErrorCode"in a?a.Mb():null;c?b.error_code=c:(c="getMessage"in a&&g.Aa(a.getMessage)?a.Dd():a.message,c=rb(c||"",50),b.error_message=c)}};
GV=function(a,b){if(a){var c=ys(a).reverse();b.ad_id=g.Va(c,ws(a)).join(",");c=As(a).reverse();b.ad_sys=g.Va(c,ns(a)).join(",");c=Dq(a);null!=c&&(b.aqi=c)}};
HV=function(a,b){if(a[b])return EV(a[b]);var c=b.toLowerCase(),d;for(d in a)if(d&&d.toLowerCase()==c)return EV(a[d]);return!1};
IV=function(a,b,c){var d=new lo;d.Xi=b.baseYtUrl;d.contentId=c.videoId;d.Bu=!yL(b);d.Eu=!0;d.lD=!0;d.mD=a.M;d.showContentThumbnail=a.showContentThumbnail;d.pj={};c.hg&&(d.pj.ctrl=c.hg);c.vf&&(d.pj.ytr=c.vf);c.an&&(d.pj.ytrcc=c.an);c.isMdxPlayback&&(d.pj.mdx="1");a.l?(d.Xp=!0,d.Gw=!0,d.showContentThumbnail=!1,d.zu=!0,d.Cu=!0,d.Eu=!1):a.B&&(d.Xp=!0);a.l&&rL&&(d.Ux=!1);d.Tx=a.H;return d};
NV=function(a){var b=new rA,c=a.app.F.Ta();b.rj=c.width;b.qj=c.height;b.mf=c.width;b.lf=100;b.Mw=JL(JV(a));c=new Zm;c.g=(0,g.z)(JV(a).experiments.g,JV(a).experiments);c.l=(0,g.z)(JV(a).experiments.l,JV(a).experiments);c.o=(0,g.z)(JV(a).experiments.o,JV(a).experiments);b.Hp=c;if(c=b.Mw?ula(JV(a)):-1)b.C=c;a.l.tagForChildDirected&&(b.lp=!0);c=KV(a);b.hc={CA_TYPE:Bo?"flash":"image",CONTENT_V:c.videoId,CPN:c.clientPlaybackNonce,EID:c.eventId,LACT:Pna(a),VIS:Qna(a)};c.oauthToken&&KD()&&(b.D=cc({Authorization:"Bearer "+
c.oauthToken}));c=LV(a);null!=c&&(b.hc.P_H=c.height,b.hc.P_W=c.width);g.Ib(Jna(),function(a,c){b.hc[c.toUpperCase()]=a});
JL(JV(a))||(b.hc.LACT="-1");b.language=JV(a).Oa;var d=MV(a,"a_bid_s","a_bid_f"),e=0;b.Om=function(){var b=Rna();d(b);var c=new DV(a);Sna(b,JV(a).experiments,c,e);e++;return b};
var f=MV(a,"a_mid_s","a_mid_f");b.Fm=function(){var a=Tna();f(a);return a};
return b};
MV=function(a,b,c){var d=!0;return function(e){if(d){a.te(b);if(Qf(e)){var f=(0,g.z)(a.te,a,c);e.then(f,f)}else a.te(c);d=!1}}};
Rna=function(){var a=null;yE().then(function(b){a=b},function(b){a=b.isTimeout?"NO_BID":"ERR_BID"});
if(null!=a)return a;var b=pg(1E3,"NO_BID"),c=g.eg($f([yE(),b]),function(){return"ERR_BID"});
cg(g.eg(c,g.y),function(){b.cancel()});
return c};
Tna=function(){var a=null;AE().then(function(b){a=b},function(){a="NO_ADS_ID"});
if(a)return a;var b=pg(1E3,"NO_ADS_ID"),c=g.eg($f([AE(),b]),function(){return"NO_ADS_ID"});
cg(g.eg(c,g.y),function(){b.cancel()});
return c};
Sna=function(a,b,c,d){function e(a){a==Una||a.isTimeout?f({"bid.type":"timeout","bid.count":d,"bid.msg":a.toString()}):f({"bid.type":"error","bid.count":d,"bid.msg":a.toString()})}
if(b.g("html5_serverside_get_biscotti_id_from_client")){var f=(0,g.z)(c.g,c,["html5_serverside_get_biscotti_id_from_client"],"coldwatch");Qf(a)?a.then(null,e):a instanceof Error&&e(a)}};
Pna=function(a){return{toString:function(){if(null==a||a.ha())return a=null;JV(a);return g.UF().toString()}}};
Qna=function(a){return{toString:function(){return null==a||a.ha()?a=null:a.g.zi().toString()}}};
Vna=function(a){return{toString:function(){if(null==a||a.ha())return a=null;var b=a.jd?a.jd.g:null;return null==b||0>b?"0":Math.ceil(.001*(0,g.G)()-b).toString()}}};
OV=function(a,b,c,d){this.l=this.A="";this.o=a;this.D=b;this.g=c;this.C=d};
PV=function(a){var b={};b.l_ns=a.D;b.l_state=a.C;b.break_type=a.o.g;b.sst=CV(a.o);b.sidx=0;a.A&&(b.at=a.A);a.l&&(b.ad_id=a.l);return b};
QV=function(){g.K.call(this);this.l=new g.Mt((0,g.z)(this.C,this),1E3);g.M(this,this.l);this.A=this.o=0;this.g=eba();this.B=!1};
TV=function(){var a=g.x("yt.www.watch.ads.loadAfc");g.Aa(a)?(a(),RV=!0):SV=!0};
UV=function(){window.google_ad_output="html";window.google_ad_height="250";window.google_ad_format="300x250_as";window.google_container_id="google_companion_ad_div"};
WV=function(){var a=g.x("window.google_show_companion_ad");var b=g.x("yt.www.watch.ads.getGlobals");g.Aa(a)&&g.Aa(b)?(b=b(),b=!(!b||!b.length)):b=!1;b?a():VV=!0};
$V=function(a){if(P.o){if(!a)return Xf();XV(a,{afvMpu:{}});return Wf()}a=a&&JV(a).experiments;WV();YV();return ZV(a)};
ZV=function(a){aW||(aW=new QV(a));a=aW;a.B||(a.l.start(),a.B=!0);return a.g.g};
YV=function(){aW&&(aW.dispose(),aW=null)};
bW=function(){var a=g.x("yt.www.watch.ads.setCompanion");a&&a()};
Wna=function(a){var b=g.x("yt.www.watch.ads.showForcedMpu");b&&b(a)};
cW=function(a,b,c,d){g.hF.call(this);this.g=a;this.l=d;this.videoData=null;this.adType=c;this.adSystem=b};
Xna=function(a,b,c){this.g=a;this.l=b;this.o=c||0};
dW=function(a){var b=[];(0,g.C)(a.split("_"),function(a,b){this[b]=Db(a)},b);
return new Xna(g.Rb(Yna,b[0])?b[0]:0,g.Rb(Zna,b[1])?b[1]:0,g.Rb($na,b[2])?b[2]:0)};
aoa=function(){this.clickThroughUrl="";this.isSkippable=this.isBumper=!1;this.skipShown=this.skip=g.y;this.skipTime=0;this.videoUrl=this.videoId="";this.adSystem=0;this.muteAdInfo=this.whyThisAdInfo=null;this.whyThisAdClosed=this.whyThisAdClicked=this.muteAd=this.sendAdsPing=g.y};
eW=function(a){g.K.call(this);var b=g.zd("div");b.className="video-ad-label";b.textContent=g.U("YTP_ADVERTISEMENT");var c=g.zd("div");c.className="video-ad-status-bar";c.appendChild(b);b=g.zd("div");b.className="ad-container";var d=g.zd("div");d.className="video-ads";d.appendChild(c);d.appendChild(b);this.element=d;this.o=a;this.l=this.g=null};
fW=function(a){if(!a.g){var b=g.W(a.o);a.g=g.I("ad-container",a.element);b.ce&&(sL&&yL(b)||g.S(a.g,"ad-container-single-media-element-annotations"))}return a.g};
gW=function(a){if(!a.l){var b=g.zd("div");g.iq(b,["video-click-tracking","ad-video"]);fW(a).appendChild(b);a.l=b}return a.l};
boa=function(a){this.g=a};
coa=function(a){switch((0,window.parseInt)(a.toString(),10)){case 12:return 2;case 13:case 53:return 3;case 14:return 4;case 15:return 5;case 22:case 52:case 61:return 7;case 30:return 8;case 32:case 33:return 9;case 51:case 55:case 60:case 90:return 10;case 54:return 1;case 56:return 11;case 57:return 12;case 58:return 13}return 0};
hW=function(a){switch((0,window.parseInt)(a.toString(),10)){case 2:return 1;case 3:case 4:return 2;case 5:return 3;case 6:return 4;case 7:return 5;case 15:case 100:return 6;case 14:return 7;case 777:return 8;case 19:return 10;default:return 0}};
doa=function(a,b){this.B=null;this.o=window.NaN;this.l=null;this.g=a;this.A=b};
iW=function(a,b,c){a.g.P("AD_LOGGING_EVENT",b,c)};
lW=function(a,b,c){jW(a);var d=kW(a);c&&g.Fa(d,c);d.ad_error=b;iW(a,7,d)};
kW=function(a){var b={},c=a.g.videoData,d=a.g.An(),e=a.g.Sl();GV(a.g.Eb(),b);d&&0<d&&(b.ad_len=d);b.ad_v="0";c&&c.videoId?b.ad_v=c.videoId:e&&(c=g.Bg(e),b.ad_dom=c,(c=a.A.l)&&c.B&&(b.ad_v_url=e.substr(0,512)));e=a.g;(e=e.l?e.l.He():null)&&(b.ad_cpn=e);b.format=a.g.Af();b.at=a.g.fi();b.ad_mt=Math.round(1E3*Math.max(eoa(a.g),0));return b};
jW=function(a){a.B||(a.B="InstreamAdDisplay ("+a.g.Af()+")")};
mW=function(a,b){g.K.call(this);this.A=Math.max(0,a);this.o=this.l=0;this.B=b;this.g=window.NaN};
oW=function(a,b,c,d,e,f,k,l){cW.call(this,b,a,2,c);this.K=!1;this.D=this.V=this.M=null;this.g.subscribe("control_toggle_play_pause",this.ND,this);this.g.subscribe("control_play",this.Mt,this);this.g.subscribe("control_pause",this.Kt,this);this.B=new doa(this,this.g);this.o=new g.bF(this);this.A=nW(b.g.app,2);this.A.subscribe("statechange",this.LD,this);this.A.subscribe("internalAbandon",this.uA,this);this.A.subscribe("internalvideodatachange",this.MD,this);this.C=this.F=!1;this.W=d;this.ba=e;this.N=
!!f;this.X=!!k;this.I=l;this.H=new mW(15E3,(0,g.z)(this.abort,this));this.Y=b.l.M&&"3"==JV(b).o};
qW=function(a,b){if(!a.ha()&&a.Y){var c=a.g.app.F;yL(c.app.g);c.C=!b;pW(c)}};
tW=function(a){RM("ad_to_video",["pbresume"]);a.I&&g.IM("yt_abt",a.I,"ad_to_video");a.videoData&&a.videoData.clientPlaybackNonce&&g.IM("ad_cpn",a.videoData.clientPlaybackNonce,"ad_to_video");a.videoData&&a.videoData.videoId&&g.IM("ad_docid",a.videoData.videoId,"ad_to_video");g.HM("adc",void 0,"ad_to_video");g.fT(nW(a.g.g.app,2));rW(a.g,0);sW(a.g,0);a.P("adEnd",a);qW(a,!0)};
uW=function(a,b){JV(a.g).experiments.g("html5_ad_error_releases")?g.fT(a.A):GS(a.A);rW(a.g,0);a.P("adError",b)};
eoa=function(a){return a.A?a.A.getCurrentTime():0};
vW=function(a){a=a.Eb();return a?(a=a.I.get("why_this_ad"))?{menuTitle:a.A,closeButton:a.o,targetingReasonHeader:a.B,targetingReasons:g.Wa(a.C),adSettingsLink:g.Wa(a.l),controlText:a.F,continueButton:a.D,cancelButton:a.I}:null:null};
wW=function(a){a=a.Eb();if(!a)return null;a=a.I.get("mute");if(!a)return null;for(var b=qt(a),c=[],d=0;d<b;d++)c.push({label:a.l[d].label,url:a.l[d].url});return{goneText:a.o,questionText:a.B,undoText:a.C,hoverText:a.A,surveyOptions:c}};
foa=function(a,b){this.g=a;this.B=b;this.g.Af();this.l=this.A=0;this.o=null};
xW=function(a,b,c){a.g.P("AD_LOGGING_EVENT",b,c)};
yW=function(a){var b={};GV(a.g.Eb(),b);a.A&&a.l&&(b.ot=a.l-a.A);var c=a.B.isFullscreen()?2:a.B.isWidescreen()?1:0;b.ad_ps=c;b.format=a.g.Af();b.at=a.g.fi();return b};
zW=function(a,b,c,d){cW.call(this,b,a,1,c);this.o=null;this.D=this.C=!1;this.H=null;this.B=new foa(this,b);this.A=new g.bF(this);this.F=!!d};
AW=function(a,b){var c=a.g.getRootNode();g.T(c,"ytp-ad-overlay-open",b);g.T(c,"ytp-ad-overlay-closed",!b)};
BW=function(a,b,c,d){g.K.call(this);this.H=null;this.F=a;this.l=b.Sb;this.B=b;this.I=b.ia;this.g=c;this.C=d;this.o=new OV(this.l,this.F,c,d);this.gb=null;this.M=new g.Dm(this);this.A=new g.Dm(this);this.K=/^(http(s)?:\/\/)(.*.)?youtube.com\/.*$/};
CW=function(a,b){a.H=b;var c=b.Af();a.o.A=c};
DW=function(a,b){var c=g.x("yt.www.watch.ads.setAdId");c&&c(b);a.o.l=b};
EW=function(a){$V(a.g).then(function(){this.o.B()},g.y,a)};
goa=function(a){this.g=a};
FW=function(a){cW.call(this,a,2,3,null)};
GW=function(a,b,c){BW.call(this,2,a,b,c);this.D=new goa(this.g.l);UV()};
hoa=function(a,b){this.g=a?a:"";this.Bb=b};
HW=function(a,b,c,d){zW.call(this,1,a,b,d);this.I=c};
IW=function(a,b,c){BW.call(this,1,a,b,c);this.D=new hoa(this.g.l.adTag,this.I,JV(this.g).experiments)};
JW=function(a,b){var c=b.l;this.D=c.forceAdUrl;var d=0;c=c.forceAdType.toUpperCase();"INVIDEO"==c?d=4:"INSTREAM"==c?d=1:"MPU"==c&&(d=8);BW.call(this,2,a,b,d)};
ioa=function(a){a=lr(a);var b=mr(a),c=[],d={TRIGGER_TYPE:"YOUTUBE_SHELF_SHOW"};(0,g.C)(Iga(b),function(a){7==a.Vb()&&c.push(g.Mm(Er(a,"base_url"),d))});
return{plaShelfItemRenderer:{headline:KW(a.md()),merchant:KW(or(b)),image:{thumbnails:[{url:pr(a).getImageUrl()}]},priceText:KW(qr(b)),reviewText:KW(Er(b,"review_text")),rating:ov(b,"rating",0),clickthroughEndpoint:{webNavigationEndpointData:{url:sr(Iv(b))},urlEndpoint:{url:sr(Iv(b)),target:"TARGET_NEW_WINDOW"}},impressionEndpoints:[{loggingUrls:(0,g.H)(c,function(a){return{baseUrl:a}}),
pingingEndpoint:{hack:!0}}]}}};
KW=function(a){return{runs:[{text:a}]}};
joa=function(){LW||(LW=g.Aa(g.x("yt.www.watch.ads.promotionShelfShow"))?Wf():new g.Sf(function(a){g.uF("watchAdsInit",a)}));
return LW};
koa=function(a){var b=g.x("yt.www.watch.ads.promotionShelfClear");b&&b();b=g.x("yt.www.watch.ads.promotionShelfShow");null!=b&&b(a)};
OW=function(a){var b=lr(a),c=mr(b),d=["iv-btp-small-card"];d.push("yt-uix-hovercard-target");g.QU.call(this,{G:"div",L:"iv-btp-card",J:[{G:"a",L:"iv-btp-card-content",T:{href:sr(Iv(c)),target:"_blank"},J:[{G:"div",J:[{G:"div",aa:d,T:{"data-position":"bottomright","data-orientation":"vertical"},J:[{G:"div",aa:["iv-btp-card-image","yt-uix-hovercard-anchor"],J:[{G:"span"},{G:"div",L:"iv-btp-card-image-aligned",J:[{G:"img",T:{src:pr(b).getImageUrl()}}]}]},{G:"div",L:"iv-btp-card-info",J:[{G:"span",L:"iv-btp-card-action",
J:[qr(c)]},MW(a)]},loa(a)]},{G:"div",L:"iv-btp-large-card",J:[{G:"div",L:"iv-btp-card-image",J:[{G:"span"},{G:"div",L:"iv-btp-card-image-aligned",J:[{G:"img",T:{src:pr(b).getImageUrl()}}]}]},{G:"div",L:"iv-btp-card-info",J:[{G:"div",L:"iv-btp-card-text-box",J:[{G:"div",L:"iv-btp-card-text-valign",J:[{G:"div",aa:["yt-ui-ellipsis","yt-ui-ellipsis-4","iv-btp-card-headline"],J:[b.md()]}]}]},{G:"span",L:"iv-btp-card-action",J:[qr(c)]},MW(a),NW(a)]}]},moa(a)]}]}]})};
NW=function(a){a=mr(lr(a));return.01>ov(a,"rating",0)?{G:"div"}:{G:"div",L:"iv-btp-card-review",J:[{G:"div",L:"iv-btp-card-rating",J:[{G:"span",L:"iv-btp-card-rating-bg",J:[{G:"span",L:"iv-btp-card-rating-fg",T:{style:"width: "+Math.floor(100*ov(a,"rating",0)/5)+"%;"}}]}]},{G:"span",L:"iv-btp-card-reviews",J:[Er(a,"review_text")]}]}};
loa=function(a){var b=lr(a),c=mr(b);return{G:"div",aa:["yt-uix-hovercard-content","iv-btp-hovercard"],J:[{G:"div",L:"iv-btp-hovercard-text-box",J:[{G:"a",T:{href:sr(Iv(c)),target:"_blank"},J:[{G:"div",aa:["yt-ui-ellipsis","yt-ui-ellipsis-4","iv-btp-hovercard-headline"],J:[b.md()]}]},{G:"div",L:"iv-btp-hovercard-info",J:[{G:"span",L:"iv-btp-hovercard-action",J:[qr(c)]},MW(a)]},NW(a)]}]}};
MW=function(a){return{G:"div",L:"iv-btp-card-merchant",J:[{G:"span",L:"iv-btp-card-merchant-text",J:[or(mr(lr(a)))]}]}};
moa=function(a){var b=[];a=mr(lr(a));for(var c={TRIGGER_TYPE:"YOUTUBE_SHELF_SHOW"},d=0;d<tv(a,"event");d++){var e=new rv(qv(a,"event",d));7==e.Vb()&&(e=g.Mm(Er(e,"base_url"),c),b.push({G:"img",T:{src:e}}))}return{G:"div",L:"iv-btp-impressions",J:b}};
PW=function(){g.QU.call(this,{G:"div",L:"iv-btp-companion",J:[{G:"div",L:"iv-btp-block-clicks"},{G:"div",L:"iv-btp-attribution",J:[{G:"span",L:"iv-btp-title",J:["{{title}}"]},{G:"div",aa:["yt-uix-hovercard","ad-info-container"],J:[{G:"span",L:"iv-btp-sponsored",J:[g.U("YTP_SPONSORED"),{G:"span",L:"yt-uix-hovercard-target",T:{"data-position":"topright","data-orientation":"horizontal"},J:[{G:"span",L:"ad-info-icon"}]}]},{G:"div",L:"yt-uix-hovercard-content",J:[{G:"span",L:"ytp-ad_settings",J:[g.U("YTP_SPONSORED_PRODUCT_INFO")]}]}]}]}]});
var a=this.va["iv-btp-companion"];this.l=new wV;this.l.xa(a);this.B=new g.eF(this);g.M(this,this.B);this.C=new g.Mt(this.uu,200,this);g.M(this,this.C);this.A=this.va["iv-btp-block-clicks"];this.o=new g.Mt(g.Ea(function(a){g.N(a,!1)},this.A),1E3);
g.M(this,this.o);this.B.O(window,"resize",this.aI)};
noa=function(a,b){a.clear();g.N(a.A,!0);var c=(0,g.H)(b,g.Ea(function(a){return new OW(a)}));
a.updateValue("title",0<b.length?Er(b[0],"teaser_text"):"");Mna(a.l,c);a.uu()};
QW=function(a,b){cW.call(this,a,14,14,b);this.o=new PW(JV(this.g).experiments);g.M(this,this.o)};
RW=function(a){return(0,g.Hd)(a.l.Eb().A,function(a){return pv(a.Ke(),"show_in_promotion_shelf")})};
SW=function(a,b,c){BW.call(this,14,a,b,c)};
TW=function(a,b,c){BW.call(this,14,a,b,c)};
ooa=function(a,b,c,d,e){this.A=a;this.l=b;this.g=c;this.D=JV(this.A);this.B=d;this.C=KV(this.A).lengthSeconds;this.F=e;this.o="html5";g.zL(this.D)?this.o="html5_embed":sL||rL?this.o="html5_ios":UD("android")?this.o="html5_android":dE()?this.o="html5_wp":$D()?this.o="html5_ps3":g.RL(this.D)?(a=(g.Pb(window,"environment","brand")||"").toLowerCase(),b=(g.Pb(window,"environment","model")||"").toLowerCase(),this.o="roku"==a||"bskyb"==a?"roku":"wiiu"==b?"wii":"html5_tv_leanback"):cE()?this.o="html5_wii":
this.o="html5_desktop"};
WW=function(a){return UW(a.l)?"preroll":VW(a.l)?"postroll":"midroll"};
YW=function(a){return(a=a.A.o)?(0,g.Kj)(a.Db,function(a){return XW(a)||VW(a)}):!1};
ZW=function(a,b){zW.call(this,4,a,b)};
$W=function(a,b,c){BW.call(this,4,a,b,c);var d=this.g.l;this.D=g.E(d.Ea);var e=KV(this.g)&&KV(this.g).spacecastModule;this.N=new ooa(b,a,d,c,!!e)};
aX=function(a,b){this.l=a;this.g=b};
poa=function(a){return 0<(a.g&3)};
bX=function(a,b,c,d,e){g.hF.call(this);this.D=!0;this.l=!1;this.isVisible=!0;this.A="unloaded";this.F=!1;this.ia=b;this.o=a;this.Sb=c;this.C=d;this.B=this.g=null;this.H=!!e};
dX=function(a){return UW(a)?a.Ub()&&cX(a)?-0x8000000000000:0:g.ua(a.Sb.l)?1E3*CV(a.Sb):0x8000000000000};
qoa=function(a){var b=!JV(a.o).experiments.g("disable_fetching_previous_nonadjacent_midrolls");return UW(a)||b&&a.o.g&&1E3*a.o.g.getCurrentTime()>=dX(a)?!1:(0,g.Wl)(a.C,function(a){switch(a.Vb()){case 1:case 2:case 5:return!0;default:return!1}})};
UW=function(a){return 1==a.Sb.g};
cX=function(a){if(!a.Ub())throw Error("Preroll status is undefined before ad load.");return UW(a)&&a.l};
XW=function(a){return 2==a.Sb.g};
VW=function(a){return 3==a.Sb.g};
kX=function(a){a.A="loading";UW(a)&&!(0,g.Kj)(a.C,poa)&&eX(a.o);if(a.H)a.A="loaded",a.l=!0,fX(a);else{var b=a.C.shift();b?(UW(a)&&a.o.te("nl"),b=b.create(a,a.o),g.M(a,b),b.load()):a.o.l.D&&5!=a.Sb.g?gX(a,new FW(a.o),a.Sb):(hX(a.o,2,iX(a,{})),jX(a,!1),a.A="error",fX(a))}};
lX=function(a){a.g&&(a.g.unsubscribe("adEnd",a.yA,a),a.g.unsubscribe("adError",a.DD,a),a.g.unsubscribe("AD_LOGGING_EVENT",a.FD,a),a.g.unsubscribe("select",a.CD,a),a.g.unsubscribe("adCompanionInitialized",a.ED,a))};
gX=function(a,b,c){a.g=b;a.Sb=c;g.M(a,a.g);0==a.ia&&(b=a.g.fi(),a.o.V.at=b);a.g instanceof oW?a.l=!0:a.g instanceof FW?a.isVisible=!1:a.g instanceof ZW?a.isVisible=!1:a.g instanceof HW&&(a.isVisible=!1);a.A="loaded";fX(a)};
fX=function(a){a.P("adBreakComplete",a)};
jX=function(a,b){a.B&&(a.B.Vj({FILLED_OPPORTUNITY:b?1:0}),a.B.dispose(),a.B=null)};
iX=function(a,b){b.break_type=a.Sb.g;b.sst=CV(a.Sb);b.sidx=0;return b};
mX=function(a){var b=0;a.V&&(b|=1);a.N&&(b|=2);var c=0;a.F&&a.K&&(c=4);a=new g.hm;a.set(3,b);a.set(4,c);return a};
nX=function(a,b){var c=[];if(a.Y)return c.push("pla"==(a.forceAdType||"").toLowerCase()?new aX(8,16):new aX(4,0)),c;if(a.independentBreakOffsets&&5==b)return a.da&&c.push(new aX(7,16)),c;if(a.ba){var d=0;if(a.o||a.C)d|=1;a.ca&&(d|=4);a.D&&(d|=8);c.push(new aX(5,d))}a.X&&(d=0,a.o&&(d|=1),a.C&&(d|=2),a.ca&&a.F&&(d|=4),a.D&&a.F&&(d|=8),d&&c.push(new aX(2,d)));d=mX(a);var e=d.get(3);e&&c.push(new aX(1,e));!a.independentBreakOffsets&&a.da&&c.push(new aX(7,16));(d=d.get(4))&&c.push(new aX(1,d));return c};
oX=function(a){this.g=a};
pX=function(a){var b=[];(0,g.C)(roa(a),function(a,d){var c=this.g;var f=nX(this.g.l,a.g);c=new bX(c,d,a,f);b.push(c)},a);
return b};
roa=function(a){var b=a.g.l;a=[];if(b.ka)for(var c=b.ka.split(","),d=0;d<c.length;d++){var e=Db(c[d]);e=0>e?new BV(3):0<e?new BV(2,e):new BV(1);a.push(e)}else a=soa;if(b.independentBreakOffsets)for(b=b.independentBreakOffsets.split(","),d=0;d<b.length;d++)a.push(new BV(5,Db(b[d])));g.fb(a,Ona);return a};
woa=function(a,b){this.I=a;this.l=this.I.g;this.B=g.RL(this.I);this.A=this.l||this.B;this.M=!this.B&&!yL(a);this.o=EV(b.instream);this.isLiveStream=1==b.livestream;this.C=EV(b.trueview);this.W=EV(b.aftv);this.ka=b.ad_slots;this.independentBreakOffsets=b.independent_break_offsets;this.adFlags=b.ad_flags||0;this.ub=b.cafe_experiment_id;this.adTag=b.ad_tag;this.Xa=!!b.adtest;this.afvAdTag=b.afv_ad_tag;this.Ga=toa(this.afvAdTag);this.afvInvideoAdTag=b.afv_invideo_ad_tag;this.ra=(0,window.parseInt)(b.ad_age,
10);this.applyFadeOnMidrolls=!!b.apply_fade_on_midrolls&&(this.o||this.C)&&!this.I.X;this.contentOwnerId=b.cid;this.contentVideoId=lL(b);this.excludedAds=b.excluded_ads;this.fadeInDurationMilliseconds=(0,window.parseInt)(b.fade_in_duration_milliseconds,10)||0;this.fadeInStartMilliseconds=(0,window.parseInt)(b.fade_in_start_milliseconds,10)||0;this.fadeOutDurationMilliseconds=(0,window.parseInt)(b.fade_out_duration_milliseconds,10)||0;this.fadeOutStartMilliseconds=(0,window.parseInt)(b.fade_out_start_milliseconds,
10)||0;this.forceAdType=b.force_ad_type;this.forceAdUrl=b.force_ad_url;this.Ea=b.freewheel_ad_tag;this.gender=Tb(uoa,function(a){return a==b.ad_gender});
this.Ya=b.dbp;this.K=EV(b.afv)&&!this.A;this.N=this.W&&this.C;this.V=this.W&&this.o&&!EV(b.no_afv_instream);this.X=EV(b.dclk);EV(b.gpt_migration);this.Y=EV(b.forced_ad);this.ba=1==(0,window.parseInt)(b.tpas_ad_type_id,10);this.ib=!!b.fqsf;this.ca=EV(b.invideo)&&!this.A;this.D=EV(b.mpu)&&!this.A;g.Oa(this.Ga,"yt_mabv");this.da=!!b.pla;this.Pa=EV(b.shortform);this.F=EV(b.sffb);this.na=b.ad_language_iso639_2;this.g=this.A||!this.I.experiments.g("disable_client_side_midroll_freq_capping")?(0,window.parseInt)(b.midroll_freqcap,
10):-1;(0,window.isNaN)(this.g)&&(this.g=-1);this.midrollPrefetchSize=(0,window.parseInt)(b.midroll_prefetch_size,10)||0;this.tagForChildDirected=EV(b.tag_for_child_directed);this.serverPrefetchedVast=b.server_prefetched_vast;this.surveyCreativeData=b.surveyCreativeData;this.Oa=this.W&&this.F&&!this.K;this.Ia=this.K||this.Oa;this.Sa=(0,window.parseInt)(b.ad_device,10);this.oa=b.tpas_video_id;this.fa=b.tpas_partner_id;this.vmap=b.vmap;this.kc=this.I.kc;this.showContentThumbnail=!0;g.ta(b.show_content_thumbnail)&&
(this.showContentThumbnail=b.show_content_thumbnail);this.H=voa(b.serialized_ad_ux_config)};
toa=function(a){if(!a||g.D(g.E(a)))return[];a=g.zg(a)[6]||null;if(!a)return[];var b=null;Dg(a,function(a,d){b||"channel"!=a||(b=d)});
return b?b.split("+"):[]};
voa=function(a){if(a)try{var b=JSON.parse(a);return new Ge(b)}catch(c){}return null};
qX=function(a,b){g.K.call(this);this.B=a;this.De=new g.Dm(this);g.M(this,this.De);this.l=null;this.g=!1;this.De.R(b,"companionImpression",this.A);this.De.R(b,"companionClick",this.o)};
rX=function(a){var b=!g.W(a).Hc&&3!=a.Ra();return a.isFullscreen()||b};
g.sX=function(a,b,c,d){if((void 0===c||!c)&&g.rV(a))return g.YE(a),!0;b.qd();a=a.currentTarget.getAttribute("href");g.FU(a,d,!0);return!1};
tX=function(a,b,c){if(LL(g.W(b))&&2!=b.Ra()){if(g.rV(c))return b.isFullscreen()&&g.ZT(b),g.YE(c),!0}else{var d=g.rV(c);d&&b.qd();g.FU(a,void 0,!0);d&&(g.GU(a),g.YE(c))}return!1};
uX=function(){return{G:"div",L:"ytp-spinner-container",J:[{G:"div",L:"ytp-spinner-rotator",J:[{G:"div",L:"ytp-spinner-left",J:[{G:"div",L:"ytp-spinner-circle"}]},{G:"div",L:"ytp-spinner-right",J:[{G:"div",L:"ytp-spinner-circle"}]}]}]}};
vX=function(a,b){var c=GE("requestAnimationFrame",window);return g.yD(function(){c?c.call(window,a):a()},b||0)};
wX=function(a){if(window.document.createRange){var b=window.document.createRange();b.selectNodeContents(a);window.getSelection().removeAllRanges();window.getSelection().addRange(b)}};
xX=function(a){g.K.call(this);this.g=a;this.l=window.NaN;this.B={};a=a.l;this.C=a.fadeInDurationMilliseconds;this.D=a.fadeInStartMilliseconds;this.o=a.fadeOutDurationMilliseconds;this.A=a.fadeOutStartMilliseconds;this.FC()};
yX=function(a,b){a.B[b]&&(g.kU(a.g.g,[a.B[b]],void 0),delete a.B[b])};
zX=function(a,b,c,d){0>=c||((0,window.isNaN)(a.l)||g.AD(a.l),c=(0,g.G)()+c,a.l=0==d?vX((0,g.z)(a.QD,a,b,c,100),0):vX((0,g.z)(a.PD,a,b,c,100),0))};
AX=function(a,b,c){var d=KV(a.g);a=JV(a.g);d=GN(d,a);b.setVolume(c*d)};
BX=function(a){xX.call(this,a)};
CX=function(a,b,c){g.K.call(this);this.g=a;this.C=b;this.A=c;this.l=-1;this.B=window.NaN;this.A&&0<this.g.l.g&&this.g.subscribe("endseeking",this.o,this)};
xoa=function(a,b){DX(a);0<b&&(a.B=g.yD((0,g.z)(a.o,a),1E3*b))};
DX=function(a){g.AD(a.B);a.B=window.NaN};
FX=function(a,b){if(!a.A||!XW(b)&&!VW(b))return!1;var c=a.g.l.g;if(0>=c||0>=a.l)return!1;var d=(0,g.G)()/1E3,e=EX(a,b)-a.g.g.getCurrentTime();0<e&&(d+=e);return d-a.l<=c};
EX=function(a,b){return VW(b)?a.g.g.ea().lengthSeconds:CV(b.Sb)};
GX=function(a,b){g.K.call(this);this.I=this.g=null;this.M=[];this.N=window.NaN;this.Db=b;this.F=[];this.o={};this.C={};this.l=a;var c=a.l,d=!c.isLiveStream&&(0,g.Kj)(this.Db,function(a){return XW(a)||VW(a)});
this.B=new CX(this.l,this,d);this.A=c.applyFadeOnMidrolls?new xX(a):new BX(a);this.Y=(0,g.Kj)(this.Db,function(a){return UW(a)})};
yoa=function(a){a.F.length||(a.F=(0,g.Hd)(a.Db,function(a){return"unloaded"==a.A}),0==a.F.length?eX(a.l):(a.Y||eX(a.l),HX(a)))};
HX=function(a){if(a.F.length){var b=a.F.shift();b.subscribe("adBreakComplete",a.Jj,a);b.subscribe("adCompanionInitialized",a.Ct,a);kX(b)}};
zoa=function(a,b){function c(a){return a&&5!=a.Sb.g}
var d=(0,g.Na)(a.Db,b),e=g.Ya(a.Db,0,d);d=g.Ya(a.Db,d+1);return{previous:g.Ka(e,c),next:g.Ka(d,c)}};
JX=function(a,b,c){var d=dX(b);if(!(0,window.isNaN)(d)){var e={};e.priority=-2!=CV(b.Sb)?2:3;e.id=String(b.ia);e.visible=b.isVisible;d=a.A.xC(b,d);c=a.A.wC(b,c);c=new g.eP(d,c,e);a.C[b.ia]=c;IX(a.l,[c]);a.A.Iv(b)}};
KX=function(a,b){var c=b.ia;a.C[c]&&(yX(a.A,c),g.kU(a.l.g,[a.C[c]],void 0),delete a.C[c])};
NX=function(a,b){if(g.t(b)){var c=a.hj(b);if(c)if(a.g==c&&!c.l&&c.isVisible)c.show();else{if(a.g){if(5==c.Sb.g){a.g.l?a.M.push(b):c.show();return}a.Vh(a.g)}if(FX(a.B,c))a.g=null,c=a.C[c.ia],c.visible||(c.visible=!0,IX(a.l,[c],1));else{5!=c.Sb.g&&(a.g=c);c.subscribe("adBreakComplete",a.xl,a);c.subscribe("adCompanionInitialized",a.Ct,a);if(c.l){1!=c.Sb.g&&RM("video_to_ad",["apbs"]);var d=a.l;d.K=!0;d.A||LX(d);d=a.B.l;d={tfla:0<d?Math.floor((0,g.G)()/1E3-d):0};a.l.bj.g(MX,"show_instream_ads",d)}a.A.RD(c);
c.show()}}}};
OX=function(a,b,c){GX.call(this,a,b);this.H=[];this.K=[];this.D=[];this.X=c;this.W=window.NaN;this.V=a.l.g;var d=!JV(a).experiments.g("disable_fetching_previous_nonadjacent_midrolls"),e=1E3*a.g.getCurrentTime();d=d?null:Ma(b,function(b){return a.g&&e>=dX(b)});
if(1<=c)for(c=0;c<b.length;c++){var f=b[c];if(qoa(f)&&f!=d){var k=new bX(f.o,f.ia,f.Sb,f.C,!0);b[c]=k;this.H.push(f)}}this.Y||this.Mj()};
PX=function(a){g.AD(a.W);a.W=window.NaN};
QX=function(a,b){GX.call(this,a,b);this.W=a;this.X=!0;this.H=[];this.da=1;this.K=0};
RX=function(a){if(null==a.g&&0<a.H.length){var b=a.H[0];b.isVisible?(a.X=a.D.isPeggedToLive(),a.ca=Math.ceil((0,g.G)()/1E3),b.subscribe("adBreakComplete",a.V,a),a.g=b,b.show()):a.V()}else null!=a.g&&a.K++};
Aoa=function(a,b){this.H=a;this.C=b;this.F=(0,g.G)();this.B=0;this.g=a.l;this.A={};this.D=new boa(a);var c=[];this.g.ba&&this.g.o&&c.push("4_2");this.g.X&&(this.g.o&&c.push("1_2"),this.g.C&&c.push("1_2_1"),this.g.ca&&c.push("1_1"),this.g.D&&c.push("1_3"));this.g.N&&c.push("2_2_1");this.g.V&&c.push("2_2");this.g.K&&c.push("2_1");this.g.Ia&&c.push("2_3");this.g.da&&c.push("14_14");this.l=c.join(",");this.o="";this.A.allowed=this.l;(c=this.g.excludedAds)&&(this.A.ex_ads=c)};
TX=function(a,b,c){g.K.call(this);this.l=a;this.A=b;this.jd=c;this.B=this.C=-1;this.g=SX(this.A.Ie());a=this.A.Ie();a.length&&(a=a[a.length-1],-1==a&&IX(this.l,[this.g[a]]));0<this.l.l.g&&this.l.subscribe("endseeking",this.o,this)};
Boa=function(a,b){UX(a);0<b&&(a.B=g.yD((0,g.z)(a.o,a),1E3*b))};
UX=function(a){-1!=a.B&&(g.AD(a.B),a.B=-1)};
SX=function(a){if(!a.length)return{};for(var b={},c=0;c<a.length-1;c++){var d=a[c];var e=a[c+1];e=-1==e?0x8000000000000:1E3*e;b[d]=new g.eP(-1==d?0x8000000000000:1E3*d,0x8000000000000==e?e:e-1,{id:String(d),visible:!0})}d=a[a.length-1];b[d]=new g.eP(-1==d?0x8000000000000:1E3*d,0x8000000000000,{id:String(d),visible:!0});return b};
VX=function(){g.K.call(this)};
WX=function(a){if(!/^\d+?(:\d+){0,2}(\.\d+)?$/.test(a))return null;var b=0;(0,g.C)(a.split(":"),function(a){b=60*b+Math.abs((0,window.parseFloat)(a))});
return 1E3*b};
XX=function(a){g.K.call(this);this.g=a;this.l=null;this.o={};this.B={};a=a.l;this.C=a.fadeInDurationMilliseconds;this.H=a.fadeInStartMilliseconds;this.I=a.fadeOutDurationMilliseconds;this.A=a.fadeOutStartMilliseconds;this.K=1E3*this.g.g.ea().lengthSeconds;this.D=this.A+this.I;this.F=new g.eF(this);g.M(this,this.F);this.F.O(this.g.g,"applicationplayerstatechange",this.bE)};
YX=function(a,b){return 0!=b&&-1!=b&&-2!=b&&0<b&&b<a.K};
Coa=function(a){a=a.getAttribute("breakType");return!!a&&(0,g.Kj)(a.split(","),function(a){a=xb(a);return"linear"==a})};
Doa=function(a){var b=3;var c=!0;b=b?b:0;c=c?c:!1;var d=(0,window.parseFloat)(g.vb(a/1E3,2,b));a=Math.floor(d/60);var e=Math.floor(a/60);a%=60;b=g.vb(d%60,2,b);c=b=e||c?e+":"+g.vb(a,2)+":"+b:a+":"+b;return 1==c.split(":")[0].length?"0".concat(c):c};
Foa=function(a,b){var c=Math.max(Math.abs(a.A),Math.abs(a.D));(0,g.C)(b,(0,g.z)(function(a){var d=(0,g.Kj)(b,function(b){return a!=b&&b>=a-c&&b<=a+c}),f=Eoa(this,a);
!d&&f&&(this.o[f]=a)},a));
return 0<g.Mb(a.o)};
Eoa=function(a,b){var c=1E3*Math.round((b+a.D)/1E3),d=b+a.A,e=b+a.H;return YX(a,b)&&YX(a,c)&&YX(a,d)&&YX(a,e)?c:null};
ZX=function(a,b,c,d){0>=c||(d=0==d?a.aE:a.ZD,c=(0,g.G)()+c,a.l=vX((0,g.z)(d,a,b,c,100),0))};
$X=function(a,b,c){var d=KV(a.g);a=JV(a.g);d=GN(d,a);b.setVolume(c*d)};
aY=function(a){g.K.call(this);this.jd=this.o=this.A=this.D=this.l=null;this.K=this.H=!1;this.g=a;this.F=this.gb=null;this.M={};this.N=new g.Dm(this);this.B=new g.Dm(this);this.I=new g.eF(this);g.M(this,this.I);this.C=null};
Goa=function(a,b,c){a=a.cloneNode(!0);a.setAttribute("timeOffset",b);(0,g.C)(a.getElementsByTagName("VASTAdTagURI"),function(a){if("end"==b){var d="post";var f=-1;var k="postroll"}else d="mid",f=WX(b).toString(),k="midroll";var l={"[INDEX]":c.toString(),"[POSITION]":d,"[START]":f,"[GPTPOS]":k};a.textContent=a.textContent.replace(/\[[A-Z_]+\]/g,function(a){return l[a]||a})});
return a};
Hoa=function(a,b){var c=g.Mr(b);if(!c)return null;var d=g.Kd(c);if(!d)return c;var e=g.Ka(g.Id(d),function(a){return"#1"==a.getAttribute("timeOffset")});
if(e){var f=g.Ka(g.Id(e),function(a){return"vmap:Extensions"==a.tagName}),k=f?g.Id(f):[];
k=g.Ka(k,function(a){return"YTBreakTime"==a.getAttribute("type")});
f=(f=f.removeChild(k))?g.Id(f):[];var l=e,m=1;(0,g.C)(f,function(a){a=a.getAttribute("timeOffset");a=Goa(e,a,m);m++;d.insertBefore(a,l.nextSibling);l=a});
d.removeChild(e)}a.C.LB(d)||(g.Ue(a.C),a.C=new VX);return c};
Ioa=function(a){var b=IV(a.g.l,JV(a.g),KV(a.g));b.hH=!0;b.Sv=!1;b.HB=10;b.Ot=a.C.rx();return b};
bY=function(a,b){var c=a.jd?a.jd.g:0;c={tfla:0<c?Math.floor((0,g.G)()/1E3-c):0};a.g.bj.g(MX,b,c)};
dY=function(a,b){if(b){UV();var c=$V(a.g),d=vC(a.l);if(d){var e=d.hf();d=g.Oa(AV,e)?new BV(e,d.Bc):new BV(e);e=dW(Eq(b));d=new OV(d,e.g,a.g,14==e.l?16:4);c.then(d.B,g.y,d)}}else a.g.l.D&&(a.A=new FW(a.g),cY(a,a.A),a.A.show())};
fY=function(a,b){b&&"adLoadError"==b.Vb()&&(JV(a.g).experiments.g("enable_no_ads_ping_for_mpu_disable")&&!a.g.l.D&&a.YD(vC(a.l),0,2,{}),eY(a))};
gY=function(a){a.A&&(a.A.dispose(),a.A=null)};
hY=function(a){var b=As(a);a=0<b.length?b.pop():ns(a);a=Joa[a.toUpperCase()];return null!=a?a:0};
eY=function(a){a.H||(eX(a.g),a.H=!0)};
cY=function(a,b){b.subscribe("AD_LOGGING_EVENT",(0,g.z)(a.YD,a,vC(a.l),b.adType))};
iY=function(a){g.vU.call(this,a);this.he="";this.I=new g.eF(this);g.M(this,this.I);this.created=!1};
IX=function(a,b,c){for(var d=0;d<b.length;d++)b[d].namespace=a.he;g.iU(a.g,b,c)};
eX=function(a){g.mU(a.g,a.he)};
jY=function(a,b,c){var d={},e;for(e in b)d[a.he+"_"+e]=b[e];b={};for(var f in c)b[a.he+"_"+f]=c[f];a=g.NT(a.g);g.Fa(a.ba,d||null);g.Fa(a.X,b||null)};
kY=function(a){g.X.call(this,{G:"div",L:"ytp-ad-notification-container",J:["{{content}}"]});this.l=a;this.o=null;this.C=-1;this.A=new g.oV(this,250,!1,150);g.M(this,this.A);this.O(this.l,"adnotify",this.yl);this.O(this.l,"discardadnotify",this.Al)};
mY=function(a,b){iY.call(this,b);this.he="ad";this.app=a;this.l=this.o=this.B=null;this.K=this.N=!1;this.A=this.gb=null;P.l=!0;P.I=!1;P.X=!1;P.W=!0;var c=P,d=!g.XD();c.H=d;P.D=0;c=a.g.experiments.l("sdk_wrapper_levels_allowed");!(0,window.isNaN)(c)&&0<c&&(P.M=c);lY(this)&&(P.o=!0);this.D=null;this.W={};this.V={at:"0"};c=g.W(this.g).experiments;if(c.g("enable_midroll_notify")||c.g("enable_postroll_notify"))c=new kY(this.g),g.M(this,c),g.pU(this.g,c.element,4);this.C=new eW(this.g);g.pU(this.g,this.C.element,
4);this.H=this.X=null;this.M=-1;this.bj=new DV(this);this.F=new g.eF(this);g.M(this,this.F)};
KV=function(a){return a.app.o.g};
JV=function(a){return a.app.g};
hX=function(a,b,c){if(a.B){a=a.B;c=c||{};var d=((0,g.G)()-a.F)/1E3;c.art=d;JV(a.H);c.ad_flags=a.g.adFlags;(d=a.g.contentOwnerId)&&(c.cid=d);c.mt=a.C.getCurrentTime();(d=g.UF())&&(c.lact=d);(d=a.C.getDuration())&&(c.len=d);a.g.ib&&(c.fqsf=1);c.sdkv="3";c.ad_event=b;if(3==b||4==b)a.o=c.at;a:{b=a.D;b:{if(7==c.ad_event&&(a=c.ad_error,21==a||30==a||54==a||32==a&&(1009==c.error_code||!c.ad_id))){a=!1;break b}a=0!=(c&&c.ad_event?hW(c.ad_event):0)?!0:!1}if(a){var e;c.at&&(e=c.at);var f;c.sst&&(f=c.sst);"2_1"==
e&&10==f&&(c.break_type=1);JV(b.g).experiments.g("fix_api_stats_ads_companion_backfill_break_type")&&(a=Xb(c,"trsp","0"),"2_3"==e&&10==f&&"0"!=a&&(c.break_type=1));e={};e.device=b.g.l.Sa;e.ns=1;e.sdkv="h.3.0";e.ver="2.0";for(var k in c){f=e;a=k;d=c[k];var l=c;switch(a){case "trsp":f.slot_pos=d;break;case "break_type":g.Oa(AV,Db(d))&&(f.m_pos=l.sst);case "format":case "ad_id":case "ad_v":case "ad_cpn":case "ad_mt":case "aqi":case "ad_sys":f[a]=d;break;case "ad_len":f[a]=Math.round(1E3*d);break;case "ad_error":f.error_code=
coa(d);break;case "error_code":f.ima_error=d;case "error_message":f.error_msg=d;break;case "ad_event":f.event=hW(d);break;case "ck_xy":a=d.split("x"),2==a.length&&(f.i_x=a[0],f.i_y=a[1])}}f=nW(b.g.g.app,2);k=KV(b.g);e.cpn=k.clientPlaybackNonce;e.content_v=k.videoId;c.at&&c.at.match(/\d+_2.*/g)?(a=b.g.o,e.mt=null!=a&&null!=a.g?1E3*CV(a.g.Sb):0):e.mt=Math.round(1E3*f.getCurrentTime());JV(b.g);e.ei=k.eventId;e.lact=g.UF();e.vol=Math.round(b.g.app.H.getVolume());e.vis=b.g.g.zi();a=LV(b.g);e.p_w=a.width;
e.p_h=a.height;e.rt=(0,g.G)();if(f=(f=f.l?f.l.ma():null)&&g.gd(f)===window.document?g.vh(f):null)e.pv_h=f.getHeight(),e.pv_w=f.Fb();2==(c&&c.ad_event?hW(c.ad_event):0)&&k.adSafetyReason&&(e.asr=k.adSafetyReason);k=Am(e);c=JV(b.g).baseYtUrl+"api/stats/ads";c=new g.nm(c);sm(c,k);k=JV(b.g);if(b=b.g.H)if(b=b.oauthToken||k.Y){g.OD(c.toString(),{headers:{Authorization:"Bearer "+b}});break a}g.fE(c.toString())}}}};
nY=function(a,b,c){c=c||{};c.ad_error=b;hX(a,7,c)};
oY=function(a,b,c){a.app.H.sa(b,c)};
pY=function(a){if(!a.N||a.app.g.experiments.g("enable_html5_midroll_tsla_update")){var b=JV(a).baseYtUrl;g.fE(b+"mac_204?action_fcts=1");a.N=!a.app.g.experiments.g("enable_html5_midroll_tsla_update")}};
qY=function(a){return a.o instanceof QX?a.o:null};
rY=function(a){return g.TT(a.app).l};
uY=function(a){var b=g.Md(fW(a.C),g.Wd()),c=a.g;if(2==RT(c.app)){c=c.app;var d=g.TT(c,2);d&&(d!=c.o?sY(c,c.o):tY(c))}c=g.W(a.g);"3"!=c.o||yL(c)||(c=g.VT(a.g),yL(c.app.g),c.C=!1,pW(c));b&&a.g.getRootNode().focus()};
LV=function(a){return a.l.B?(a=a.app.F.Ta(),new g.Wg(0,0,a.width,a.height)):g.Dh(a.getRootNode())};
vY=function(a,b){a.te("bd");var c=a.l;var d=c.midrollPrefetchSize;c=c.isLiveStream?new QX(a,b):0<d?new OX(a,b,d):new GX(a,b);a.o=c;yoa(a.o)};
yY=function(a){wY(a);var b=a.app;g.yD(function(){xY(b)},0)};
LX=function(a){var b=a.app;g.yD(function(){zY(b)},0)};
BY=function(a,b){var c=a.app;g.yD(function(){AY(c,b)},0)};
wY=function(a){a.K=!1;var b=g.TT(a.app,2);b&&a.app.g.B.remove(b.g.videoId)};
sW=function(a,b){switch(b){case 1:a.M=1;oY(a,"onAdStart");break;case 0:a.M=0,oY(a,"onAdEnd")}};
rW=function(a,b,c){c&&oY(a,"onAdInfoChange",c);a=a.app;1==b&&(a.I.g("vr"),a.ka||(a.ka=yM(a.MA,a)),FT(a.D),dP(a.I,CY(a)));c=a.g;(g.RL(c)&&c.wb||g.KL(c))&&a.l.sa("onAdStateChange",b)};
DY=function(a){return!!(a.l.F&&a.o&&1<a.o.Db.length)};
lY=function(a){a=a.app.g;return g.CL(a)&&!g.KL(a)&&"desktop-polymer"==a.playerStyle};
XV=function(a,b){b.contentVideoId||(b.contentVideoId=KV(a).videoId);oY(a,"updatekevlarcompanion",b)};
EY=function(a,b,c,d){g.hF.call(this);this.o=a;this.N=(0,g.z)(b,null);this.l=0;this.D=!1;this.B=new g.$c(window.NaN,window.NaN);this.g=new g.eF(this);g.M(this,this.g);b=d?4E3:3E3;this.H=new g.Mt(g.Ea(this.dc,1,!1),b,this);g.M(this,this.H);this.I=new g.Mt(g.Ea(this.dc,2,!1),b,this);g.M(this,this.I);this.M=new g.Mt(g.Ea(this.dc,512,!1),0,this);g.M(this,this.M);this.W=c&&0<c.Oh.length?5E3:3E3;d||(this.A=this.g.O(a,"mouseover",this.Ls),this.g.O(a,"mousemove",this.vL),this.g.O(a,"mouseleave",this.AN));
g.lh?this.g.O(a,"keypress",this.KJ):this.g.O(a,"focusin",this.tH);this.C=this.g.O(a,"mousedown",this.Az);this.F=this.g.O(a,"touchstart",this.Cz,void 0,!0);this.V=null;this.dc(640,!0)};
FY=function(a){a.dc(4,!1);a.K&&(a.g.Ca(a.K),a.K=null,a.A=a.g.O(a.o,"mouseover",a.Ls));a.A&&(a.g.Ca(a.A),a.A=a.g.O(a.o,"mouseover",a.Ls))};
g.GY=function(a){g.X.call(this,{G:"div",L:"ytp-bezel",T:{role:"status","aria-label":"{{label}}"},J:[{G:"div",L:"ytp-bezel-icon",J:["{{icon}}"]}]});this.o=new g.Mt(this.show,10,this);g.M(this,this.o);this.l=new g.Mt(this.hide,500,this);g.M(this,this.l);this.A=a;this.hide()};
IY=function(a,b){if(b)g.V(g.UT(a.A),64)||HY(a,fV(),g.U("YTP_PLAY"));else{var c=a.A.ea();c.za&&!c.og?HY(a,kV(),g.U("YTP_STOP")):HY(a,eV(),g.U("YTP_PAUSE"))}};
JY=function(a,b,c){0>=b?(c=nV(),b=g.U("YTP_SCREENREADER_VOLUME_MUTED")):(c=c?mV():lV(),b=Math.floor(b)+"% "+g.U("YTP_SCREENREADER_VOLUME_SETTING"));HY(a,c,b)};
KY=function(a,b,c){c=c?g.RU?{G:"div",aa:["ytp-icon","ytp-icon-fast-rewind"]}:{G:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Va:!0,L:"ytp-svg-fill",T:{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.RU?{G:"div",aa:["ytp-icon","ytp-icon-fast-forward"]}:{G:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Va:!0,L:"ytp-svg-fill",T:{d:"M 10,24 18.5,18 10,12 V 24 z M 19,12 V 24 L 27.5,18 19,12 z"}}]};b=g.U("YTP_PLAYBACK_SPEED_CHANGED",
{RATE:String(b)});HY(a,c,b)};
LY=function(a){HY(a,gV(),g.U("YTP_PREVIOUS"))};
HY=function(a,b,c){a.updateValue("label",void 0===c?"":c);a.updateValue("icon",b);g.Pt(a.l);a.o.start()};
MY=function(a){var b=g.W(a),c=["ytp-large-play-button","ytp-button"];b.D&&b.Pb?b=[{G:"div",L:"ytp-large-play-button-circle",T:{style:"background-color: "+b.Pb}},g.RU?{G:"div",aa:["ytp-icon","ytp-icon-dni-large-play-button"]}:{G:"svg",T:{height:"100%",version:"1.1",viewBox:"4 -6 60 60",width:"100%"},J:[{G:"path",T:{d:"m 26.96,13.67 18.37,9.62 -18.37,9.55 -0.00,-19.17 z",fill:"#fff"}}]}]:b.N&&!b.kc?b=[g.RU?{G:"div",aa:["ytp-icon","ytp-icon-large-play-button-hover"]}:{G:"svg",T:{height:"100%",version:"1.1",
viewBox:"0 0 68 48",width:"100%"},J:[{G:"path",L:"ytp-large-play-button-bg",T:{d:"M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z",fill:"#f00"}},{G:"path",T:{d:"M 45,24 27,14 27,34",fill:"#fff"}}]}]:(b.g&&c.push("ytp-touch-device"),b=[b.kc?
g.RU?{G:"div",aa:["ytp-icon","ytp-icon-house-brand-large-play-button"]}:{G:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 60 60",width:"100%"},J:[{G:"path",L:"ytp-large-play-button-bg",T:{"clip-rule":"evenodd",d:"M59.6,1.35c0.26,.5,.4,1.13,.4,1.9v53.5c0,.76-0.13,1.4-0.4,1.9c-0.5,.9-1.45,1.35-2.85,1.35H3.25c-1.4,0-2.33-0.43-2.8-1.3C0.15,58.16,0,57.51,0,56.75V3.25c0-0.83,.16-1.5,.5-2C1,.41,1.91,0,3.25,0h53.5C58.15,0,59.1,.45,59.6,1.35z M21,41.65l22.7-11.8L21,18V41.65z",fill:"#1f1f1f","fill-rule":"evenodd"}},
{G:"path",T:{d:"M21,41.65 L21,18 L43.7,29.85 L21,41.65 Z",fill:"#fff"}}]}:g.RU?{G:"div",aa:["ytp-icon","ytp-icon-large-play-button"]}:{G:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 68 48",width:"100%"},J:[{G:"path",L:"ytp-large-play-button-bg",T:{d:"M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z",
fill:"#212121","fill-opacity":"0.8"}},{G:"path",T:{d:"M 45,24 27,14 27,34",fill:"#fff"}}]}]);g.X.call(this,{G:"div",L:"ytp-cued-thumbnail-overlay",J:[{G:"div",L:"ytp-cued-thumbnail-overlay-image"},{G:"button",aa:c,T:{"aria-label":g.U("YTP_PLAY")},J:b}]});this.B=new g.eF(this);g.M(this,this.B);this.l=a;this.D=this.va["ytp-cued-thumbnail-overlay-image"];this.C=this.va["ytp-large-play-button"];this.A=new g.oV(this,250);g.M(this,this.A);this.o=new g.Mt(this.Zz,0,this);g.M(this,this.o);this.Zz();this.O(a,
"presentingplayerstatechange",this.WM);this.O(a,"ypcStateChanged",this.oS);xL(g.W(a))&&this.O(a,"videoplayerreset",this.VM)};
OY=function(a,b){g.X.call(this,{G:"canvas",L:"ytp-tv-static"});this.o=this.element.getContext("2d");this.height=this.width=window.NaN;this.H=null;this.I=this.K=this.B=this.A=0;this.C=-75;this.l=new g.Jt(this.F,void 0,this);g.M(this,this.l);this.D=new g.Mt(this.l.Lk,75,this.l);g.M(this,this.D);NY(this,a,b)};
PY=function(a){for(var b=Math.floor(.6*a),c=b;c<a;++c){for(var d=!1,e=2;e<Math.sqrt(c);e++){if(!(c%e)){d=!1;break}d=!0}if(d)return c}return b};
NY=function(a,b,c){if(b&&c){a.width=a.element.width=b;a.height=a.element.height=c;var d=g.zd("CANVAS");d.width=b;d.height=c;for(var e=d.getContext("2d"),f=e.getImageData(0,0,b,c),k=b*c,l=0;l<k;l++){var m=4*l;f.data[m]=f.data[m+1]=f.data[m+2]=Math.floor(35*Math.random());f.data[m+3]=255}e.putImageData(f,0,0);a.H=d;a.K=PY(b);a.I=PY(c/10);a.o.scale(1.5,1.5);a.o.fillStyle="rgba(255, 255, 255, 0.02)"}};
RY=function(a){g.X.call(this,{G:"div",aa:["ytp-error"],T:{role:"alert"},J:[{G:"div",L:"ytp-error-content",J:[{G:"div",L:"ytp-error-content-wrap",J:["{{content}}"]}]}]});this.l=a;this.A=[];try{this.o=new OY(1,1),g.M(this,this.o),this.o.xa(this.element,0)}catch(b){}QY(this,g.VT(this.l).Ta())};
QY=function(a,b){SY(a,function(a){NY(a,b.width,b.height)})};
SY=function(a,b){if(a.o)try{b.call(a,a.o)}catch(c){a.o.dispose(),a.o=null}};
TY=function(a,b,c,d,e,f){e||(e=g.W(a.l).l);a=d?{CPN:a.l.ea().clientPlaybackNonce}:null;b=g.U(b,a).split(/\$(BEGIN|END)_LINK/);a=[];f&&(f=g.U(f,null))&&a.push({G:"h2",J:[f]});a.push(b[0]);a.push({G:"br"});a.push({G:"a",T:{href:c,target:e?"_blank":null},J:[b[2]]});a.push(b[4]);return{G:"span",J:a}};
VY=function(a,b){g.eF.call(this);this.g=a;this.A=b;this.o=new window.Set;this.l=window.navigator.mediaSession;UY(this,"play",function(){IY(b,!0);a.Wd()});
UY(this,"pause",function(){IY(b,!1);a.qd()});
UY(this,"seekbackward",function(){HY(b,iV());a.oe(-5*a.Tc())});
UY(this,"seekforward",function(){HY(b,aV());a.oe(5*a.Tc())});
this.O(a,"videodatachange",this.C);this.O(a,"presentingplayerstatechange",this.B);this.C()};
UY=function(a,b,c){a.l.setActionHandler(b,c?(0,g.z)(c,a):null);a.o.add(b)};
WY=function(a){g.X.call(this,{G:"div",L:"ytp-paid-content-overlay",T:{"aria-live":"assertive","aria-atomic":"true"}});this.D=new g.X({G:"div",aa:["ytp-button","ytp-paid-content-overlay-text"]});g.M(this,this.D);this.D.xa(this.element);this.I=a;this.o=null;this.F=!1;this.B=new g.oV(this.D,250,!1,100);g.M(this,this.B);this.C=this.l=null;this.A={};this.H=0;this.O(a,"videodatachange",this.N);this.O(a,"presentingplayerstatechange",this.M)};
XY=function(a,b){var c=rN(b),d=sN(b);a.l?b.videoId&&b.videoId!=a.o&&(g.Pt(a.l),a.o=b.videoId,c=a.A[b.videoId]||0,a.F=!!d&&3E3>c):c&&d&&(a.l=new g.Mt(a.K,d,a),g.M(a,a.l),g.Od(g.I("ytp-paid-content-overlay-text",a.element),c))};
YY=function(a,b){a.l&&g.V(b,8)&&a.F&&(a.F=!1,a.B.show(),a.H=(0,g.G)(),a.l.start())};
aZ=function(a){g.X.call(this,{G:"div",L:"ytp-spinner",J:[{G:"div",J:["{{icon}}"]},{G:"div",L:"ytp-spinner-message",J:[g.U("YTP_PLAYBACK_STALLED_AT_START")]}]});this.B=this.va["ytp-spinner-message"];this.l=a;this.o=new g.Mt(this.show,500,this);g.M(this,this.o);this.A=!0;ZY(this,!1);this.O(a,"presentingplayerstatechange",this.qN);this.O(a,"onFrescaStateChange",this.lP);this.O(a,"playbackstalledatstart",this.BQ);this.O(a,"videodatachange",this.QA);this.O(a,"videoplayerreset",this.QA);$Y(this,g.UT(a))};
ZY=function(a,b){if(b!=a.A){var c;b?c={G:"div",aa:["ytp-spinner-container","ytp-fidget-spinner"],J:[g.RU?{G:"div",aa:["ytp-icon","ytp-icon-fidget-spinner"]}:{G:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 64 64",width:"100%"},J:[{G:"path",L:"ytp-fidget-spinner",T:{d:"m32 2.2c-7.6 0-10.7 7.1-10.7 10.6 0 3.5 1 5.3 2.3 7 1.3 1.7 2.2 4.3-0.2 7.7-2.4 3.5-3.5 2.9-7.9 3.1-4.4 .1-10.5 3.9-10.5 11-0.1 7.1 6.4 10.4 10.4 10.5 4 .1 7.6-2.1 9.4-5.2 2.2-3.8 4-5.4 7.3-5.3 3.3 .1 5.1 1.5 7 4.9 1.8 3.4 5.5 5.6 9.6 5.6 4.2 0 10.5-2.8 10.4-10.8-0.1-8.1-6.6-10.3-10.3-10.5-3.7-0.2-6-0.1-8.1-3.3-2.1-3.2-1.2-5.9-0.1-7.5 1.1-1.7 2.3-3.2 2.3-7.1C42.8 8.7 39.6 2.2 32 2.2zm0.1 4.3c3.6 0 6.5 2.9 6.5 6.5 0 3.6-2.9 6.5-6.5 6.5-3.6 0-6.5-2.9-6.5-6.5 0-3.6 2.9-6.5 6.5-6.5zm0 18.8c3.6 0 6.5 2.9 6.5 6.5 0 3.6-2.9 6.5-6.5 6.5-3.6 0-6.5-2.9-6.5-6.5 0-3.6 2.9-6.5 6.5-6.5zm-16.3 9.4c3.6 0 6.5 2.9 6.5 6.5 0 3.6-2.9 6.5-6.5 6.5-3.6 0-6.5-2.9-6.5-6.5 0-3.6 2.9-6.5 6.5-6.5zm32.7 0c3.6 0 6.5 2.9 6.5 6.5 0 3.6-2.9 6.5-6.5 6.5-3.6 0-6.5-2.9-6.5-6.5 0-3.6 2.9-6.5 6.5-6.5z",
fill:"#fff"}}]}]}:c=uX();a.update({icon:c});a.A=b}};
$Y=function(a,b){if(g.V(b,128))var c=0;else!(c=g.V(b,16))&&(c=g.V(b,1))&&(c=g.NT(a.l).F,c=!(c&&c.loaded));c?a.o.start():a.hide()};
bZ=function(a,b,c,d){d=void 0===d?!1:d;g.QU.call(this,b);this.Y=a;this.ba=d;this.I=null;this.H=new g.eF(this);g.M(this,this.H);this.K=new g.oV(this,c,!0);g.M(this,this.K);this.B=null};
cZ=function(a){a.B&&(window.document.activeElement&&g.Md(a.element,window.document.activeElement)&&(g.Sd(a.B),a.B.focus()),a.B.removeAttribute("aria-expanded"),a.B=null);g.gF(a.H);a.I=null};
dZ=function(a){return a.g&&3!=a.K.g};
eZ=function(a){var b=g.W(a).experiments.o("mweb_muted_autoplay_animation"),c=[],d=[];"none"!=b&&(c.push("ytp-unmute-animated"),d.push({G:"div",aa:["ytp-unmute-box"]}),"expand"==b?c.push("ytp-unmute-expand"):"shrink"==b&&c.push("ytp-unmute-shrink"));bZ.call(this,a,{G:"button",aa:["ytp-unmute","ytp-popup","ytp-button"].concat(c),J:[{G:"div",L:"ytp-unmute-inner",J:[{G:"div",aa:["ytp-unmute-icon"],J:[g.RU?{G:"div",aa:["ytp-icon","ytp-icon-volume-muted-dark"]}:{G:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",
width:"100%"},J:[{G:"path",Va:!0,L:"ytp-svg-fill",T:{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"}}]}]},
{G:"div",aa:["ytp-unmute-text"],J:[g.U("YTP_TAP_TO_UNMUTE_SHORT")]}].concat(d)}]},100);this.l=a;this.o=this.A=!1;this.O(a,"mutedautoplaychange",this.C,this);this.O(a,"presentingplayerstatechange",this.D);this.R("click",this.onClick,this);a=a.app.X;g.HU(this,a);a&&Koa(this)};
Loa=function(a){a.A||(a.A=!0,g.cU(a.l,"mutedAutoplayClick",{}))};
Koa=function(a){a.o||(a.o=!0,g.cU(a.l,"mutedAutoplayImpression",{}))};
fZ=function(a){g.eF.call(this);var b=g.W(a),c=g.VT(a);this.g=a;this.Qb=!1;this.I=null;this.ra=!1;this.ib=new g.Mt(this.iO,0,this);g.M(this,this.ib);var d=new MY(a);g.M(this,d);g.pU(a,d.element,4);var e=new aZ(a);g.M(this,e);g.pU(a,e.element,4);this.B=new g.GY(a);g.M(this,this.B);g.pU(a,this.B.element,4);var f=a.ea();this.o=new EY(c,(0,g.z)(this.PM,this),f,b.useTabletControls);g.M(this,this.o);this.o.subscribe("autohideupdate",this.At,this);var k=new WY(a);g.M(this,k);g.pU(a,k.element,4);this.ca=new eZ(a);
g.M(this,this.ca);g.pU(this.g,this.ca.element,2);this.ob=this.g.app.X;this.O(a,"mutedautoplaychange",this.QM);this.Y=new g.Mt(this.Ws,200,this);g.M(this,this.Y);this.Ga=f.videoId;this.C=null;this.Sa=!1;this.Xa=null;this.fa=[];f=a.getRootNode();f.setAttribute("aria-label",g.U("YTP_PLAYER_NORMAL"));switch(b.color){case "white":g.S(f,"ytp-color-white")}!g.W(a).experiments.g("disable_mediasession2")&&"mediaSession"in window.navigator&&!window.navigator.mediaSession.metadata&&window.navigator.mediaSession.setActionHandler&&
(f=new VY(a,this.B),g.M(this,f));this.O(a,"appresize",this.zb);this.O(a,"presentingplayerstatechange",this.HQ);this.O(a,"videodatachange",this.Xz);this.O(a,"videoplayerreset",this.DQ);this.O(a,"autonavvisibility",this.Qi,this);g.W(a).experiments.g("player_minimized_controls_killswitch")&&this.O(a,"minimized",this.Kg,this);this.O(a,"onFrescaStateChange",this.Kg,this);this.O(c,"click",this.gR,this);this.O(c,"dblclick",this.hR,this);b.fa&&(this.O(c,"gesturechange",this.iR,this),this.O(c,"gestureend",
this.jR,this));this.xb=[c.o,e.element,d.element,this.B.element]};
gZ=function(a){return g.W(a.g).experiments.g("player_minimized_controls_killswitch")?a.g.app.Ga:!1};
hZ=function(a,b){if(!b)return!1;var c=a.g.app.B.ma();if(c&&g.Md(c,b))return c.controls;for(c=0;c<a.xb.length;c++)if(g.Md(a.xb[c],b))return!1;return g.hq(b,"ytp-player-content")||g.hq(b,"html5-endscreen")||b==a.g.getRootNode()?!1:!0};
Moa=function(a,b){if(g.rV(b)&&a.g.app.X){a.g.Yf();2==a.g.Ra()&&a.g.Wd();var c=g.UT(a.g);!g.V(c,4)||g.V(c,8)||g.V(c,2)||a.Ws();return!0}return!1};
Noa=function(a,b,c){a.g.isFullscreen()?c<1-b&&g.ZT(a.g):c>1+b&&g.ZT(a.g)};
jZ=function(a,b,c){var d={"aria-label":g.U("YTP_CARDS_BUTTON_ARIA_LABEL"),"aria-owns":"iv-drawer","aria-haspopup":"true","data-tooltip-opaque":String(g.W(a).H)},e={G:"span",L:"ytp-cards-button-icon-default",J:[{G:"div",L:"ytp-cards-button-icon",J:[g.RU?{G:"div",aa:["ytp-icon","ytp-icon-info-card"]}:{G:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Va:!0,L:"ytp-svg-fill",T:{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"}}]}]},
{G:"div",L:"ytp-cards-button-title",J:[g.U("YTP_CARDS_BUTTON_INFO")]}]};d={G:"button",aa:["ytp-button","ytp-cards-button"],T:d,J:[e,{G:"span",L:"ytp-cards-button-icon-shopping",J:[{G:"div",L:"ytp-cards-button-icon",J:[g.RU?{G:"div",aa:["ytp-icon","ytp-icon-shopping-card"]}:{G:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",L:"ytp-svg-shadow",T:{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"}},{G:"path",L:"ytp-svg-fill",T:{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"}},{G:"path",L:"ytp-svg-shadow-fill",T:{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"}}]}]},{G:"div",
L:"ytp-cards-button-title",J:[g.U("YTP_CARDS_BUTTON_SHOPPING")]}]}]};g.X.call(this,d);this.l=a;this.B=b;this.C=c;this.o=null;this.A=new g.oV(this,250,!0,100);g.M(this,this.A);a=g.W(this.l);b=g.VT(this.l).Ta().width;b=a.l&&480<b;a.H&&g.T(this.C,"ytp-show-cards-title",b);this.hide();this.R("click",this.D);this.R("mouseover",this.F);iZ(this,!0)};
iZ=function(a,b){b?a.o=kZ(a.B.Kb(),a.element):(a.o(),a.o=null)};
lZ=function(a,b){g.X.call(this,{G:"div",L:"ytp-cards-teaser",J:[{G:"div",L:"ytp-cards-teaser-box"},{G:"div",L:"ytp-cards-teaser-text",J:[{G:"span",L:"ytp-cards-teaser-label",J:["{{text}}"]}]}]});this.o=a;this.C=new g.oV(this,250,!1,250);g.M(this,this.C);this.I=b;this.l=null;this.H=new g.Mt(this.gQ,300,this);g.M(this,this.H);this.F=new g.Mt(this.eQ,2E3,this);g.M(this,this.F);this.K=new g.Uo(null);this.D=[];this.B=this.A=null;this.O(b.element,"mouseover",this.Yz);this.O(b.element,"mouseout",this.yh);
this.O(a,"cardsteasershow",this.DR);this.O(a,"cardsteaserhide",this.ul);this.O(a,"cardstatechange",this.gD);this.O(a,"presentingplayerstatechange",this.gD);this.R("click",this.xT);this.R("mouseenter",this.RM)};
Ooa=function(a,b){a.updateValue("text",b.teaserText);a.element.setAttribute("dir",g.Vo(a.K,b.teaserText));a.C.show();a.A=new g.Mt(function(){g.S(this.o.getRootNode(),"ytp-cards-teaser-shown")},0,a);
a.A.start();iZ(a.I,!1);a.l=new g.Mt(a.ul,580+b.durationMs,a);a.l.start();a.D.push(a.R("mouseover",a.Yz,a));a.D.push(a.R("mouseout",a.yh,a))};
g.nZ=function(a,b,c,d){g.QU.call(this,a);this.priority=b;c&&g.mZ(this,c);d&&this.Yb(d)};
g.oZ=function(a,b,c){a=void 0===a?{}:a;b=void 0===b?[]:b;c=void 0===c?!1:c;b.push("ytp-menuitem");"role"in a||(a.role="menuitem");c||"tabindex"in a||(a.tabindex="0");return{G:c?"a":"div",aa:b,T:a,J:[{G:"div",L:"ytp-menuitem-label",J:["{{label}}"]},{G:"div",L:"ytp-menuitem-content",J:["{{content}}"]}]}};
g.mZ=function(a,b){a.updateValue("label",b)};
pZ=function(a,b,c,d,e){var f={G:"div",L:"ytp-panel"};if(c){var k="ytp-panel-title";var l={G:"div",L:"ytp-panel-header",J:[{G:"button",aa:["ytp-button",k],J:[c]}]};if(e){var m="ytp-panel-options";l.J.push({G:"button",aa:["ytp-button",m],J:[d]})}f.J=[l]}g.QU.call(this,f);this.X=b;b.xa(this.element);this.ca=!1;c&&(this.O(this.va[k],"click",this.fa),this.ca=!0,e&&this.O(this.va[m],"click",e));b.subscribe("size-change",this.da,this);this.O(a,"fullscreentoggled",this.da)};
g.qZ=function(a,b,c,d,e){b=void 0===b?null:b;var f={role:"menu"};b&&(f.id=b);b=new g.QU({G:"div",L:"ytp-panel-menu",T:f});pZ.call(this,a,b,c,d,e);this.D=b;g.M(this,this.D);this.Ja=[]};
g.rZ=function(a,b,c){if(void 0===c?0:c)a.Ja.push(b),a.D.element.appendChild(b.element);else{c=g.db(a.Ja,b,Poa);if(0<=c)return;c=~c;g.Za(a.Ja,c,0,b);Ed(a.D.element,b.element,c)}b.subscribe("size-change",a.Y,a);a.D.P("size-change")};
g.Qoa=function(a,b){b.unsubscribe("size-change",a.Y,a);a.ha()||(g.Ta(a.Ja,b),a.D.element.removeChild(b.element),a.D.P("size-change"))};
g.Roa=function(a){for(var b=g.na(a.Ja),c=b.next();!c.done;c=b.next())c.value.unsubscribe("size-change",a.Y,a);a.Ja=[];g.Dd(a.D.element);a.D.P("size-change")};
Poa=function(a,b){return b.priority-a.priority};
g.sZ=function(a,b){bZ.call(this,a,{G:"div",aa:["ytp-popup",b||null]},100,!0);this.l=[];this.size=new g.cd(0,0);this.C=this.D=null;this.M=this.N=0;this.R("keydown",this.ZM)};
Soa=function(a){g.Bh(a.element,a.N||"100%",a.M||"100%");var b=tZ(a);b.element.style.width="";b.element.style.height="";b.element.style.maxWidth="100%";b.element.style.maxHeight="100%";b.X.element.style.height="";var c=g.Ch(b.element);c.width+=1;c.height+=1;b.element.style.width=c.width+"px";b.element.style.height=c.height+"px";b.element.style.maxWidth="";b.element.style.maxHeight="";var d=0;b.ca&&(d=g.Ch(b.va["ytp-panel-header"]).height);b.X.element.style.height=c.height-d+"px";a.size=c};
g.vZ=function(a,b){var c=a.l[a.l.length-1];a.l.push(b);uZ(a,c,b)};
g.wZ=function(a){var b=a.l.pop(),c=a.l[0];a.l=[c];uZ(a,b,c,!0)};
uZ=function(a,b,c,d){Toa(a);tZ(a);g.hq(c.element,"ytp-panel-animate-back")||g.hq(c.element,"ytp-panel-animate-forward");b&&(b.unsubscribe("size-change",a.Nl,a),b.unsubscribe("back",a.We,a));c.subscribe("size-change",a.Nl,a);c.subscribe("back",a.We,a);if(a.g){g.S(c.element,d?"ytp-panel-animate-back":"ytp-panel-animate-forward");c.xa(a.element);c.focus();a.element.scrollLeft=0;a.element.scrollTop=0;var e=a.size;Soa(a);g.Bh(a.element,e);a.D=new g.Mt(g.Ea(a.tT,b,c,d),20,a);a.D.start()}else c.xa(a.element),
b&&g.BU(b)};
tZ=function(a){return a.l[a.l.length-1]};
Toa=function(a){a.D&&g.Ot(a.D);a.C&&g.Ot(a.C)};
xZ=function(a){var b=g.oZ({"aria-haspopup":"true"});g.nZ.call(this,b,a);this.R("keydown",this.l)};
yZ=function(a,b){a.element.setAttribute("aria-haspopup",b)};
zZ=function(a,b){var c=g.oZ({role:"menuitemcheckbox","aria-checked":"false"});g.nZ.call(this,c,b,a,{G:"div",L:"ytp-menuitem-toggle-checkbox"});this.o=!1;this.R("click",this.I)};
AZ=function(a,b){a.o=b;a.element.setAttribute("aria-checked",a.o)};
BZ=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.Lg("/sharing_services",a);g.fE(d)};
CZ=function(a,b,c){g.qZ.call(this,a);this.l=a;this.M=b;this.K=c;this.B=new xZ(8);g.M(this,this.B);g.rZ(this,this.B,!0);this.B.R("click",this.rP,this);sU(a,this.B.element,this.B,28659);this.A=new xZ(7);g.M(this,this.A);g.rZ(this,this.A,!0);this.A.R("click",this.qP,this);sU(a,this.A.element,this.A,28660);this.o=new xZ(6);g.M(this,this.o);g.rZ(this,this.o,!0);this.o.R("click",this.oP,this);sU(a,this.o.element,this.o,28658);this.C=new zZ(g.U("YTP_LOOP"),5);g.M(this,this.C);g.rZ(this,this.C,!0);this.C.R("click",
this.LP,this);sU(a,this.C.element,this.C,28661);this.N=new g.nZ(g.oZ({href:"{{href}}",target:"_blank"},void 0,!0),4,g.U("YTP_TROUBLESHOOT_ISSUE"));g.M(this,this.N);g.rZ(this,this.N,!0);this.N.R("click",this.aR,this);this.I=new xZ(3);g.M(this,this.I);g.rZ(this,this.I,!0);this.I.R("click",this.nP,this);b=new g.nZ(g.oZ(),2,g.U("YTP_SHOW_VIDEO_INFO"));g.M(this,b);g.rZ(this,b,!0);b.R("click",this.tR,this);this.H=new g.QU({G:"div",aa:["ytp-copytext","ytp-no-contextmenu"],T:{draggable:"false",tabindex:"1"},
J:["{{text}}"]});g.M(this,this.H);this.H.R("click",this.OO,this);this.ba=new pZ(a,this.H);g.M(this,this.ba);this.F=null;b=window.document.queryCommandSupported&&window.document.queryCommandSupported("copy");g.aJ&&g.nc(43)&&(b=!0);g.pK&&!g.nc(41)&&(b=!1);b&&(this.F=new g.X({G:"textarea",L:"ytp-html5-clipboard"}),g.M(this,this.F),this.F.xa(this.element));this.O(a,"loopchange",this.KP);this.O(a,"videodatachange",this.TM);Uoa(this);Voa(this,this.l.ea())};
DZ=function(a,b){if(a.F){var c=a.F.element;c.value=b;c.select();try{var d=window.document.execCommand("copy")}catch(e){}}d?a.K.Ob():(a.H.Yb(b,"text"),g.vZ(a.K,a.ba),wX(a.H.element),a.F&&(a.F=null,Uoa(a)));return d};
Voa=function(a,b){var c=g.W(a.l),d=2!=a.l.Ra()||b.isListed;d=!c.F&&!!b.videoId&&d;"play"!=c.playerStyle?c="https://support.google.com/youtube/?p=report_playback":(c={contact_type:"playbackissue",html5:1,plid:b.playbackId,ei:b.eventId,v:b.videoId,p:"movies_playback"},b.Ka&&(c.fmt=AG(b.Ka)),b.clientPlaybackNonce&&(c.cpn=b.clientPlaybackNonce),b.dg&&(c.partnerid=b.dg),c=g.Lg("//support.google.com/googleplay/",c));g.HU(a.o,d&&b.allowEmbed);g.HU(a.B,d);g.HU(a.A,d&&!b.za);a.N.Yb(c,"href")};
Uoa=function(a){var b=!!a.F;g.mZ(a.I,g.U(b?"YTP_COPY_DEBUG_INFO":"YTP_GET_DEBUG_INFO"));yZ(a.I,!b);g.mZ(a.o,g.U(b?"YTP_EMBED_COPY":"YTP_GET_EMBED"));yZ(a.o,!b);g.mZ(a.B,g.U(b?"YTP_COPY_VIDEO_URL":"YTP_GET_VIDEO_URL"));yZ(a.B,!b);g.mZ(a.A,g.U(b?"YTP_COPY_VIDEO_URL_AT_TIME":"YTP_GET_VIDEO_URL_AT_TIME"));yZ(a.A,!b)};
Woa=function(a,b){g.uU(a.l,a.o.element,b);g.uU(a.l,a.B.element,b);g.uU(a.l,a.A.element,b);g.uU(a.l,a.C.element,b)};
EZ=function(a,b){g.sZ.call(this,a);this.o=a;this.X=b;this.A=new g.eF(this);g.M(this,this.A);this.F=null;sU(a,this.element,this,28656);g.S(this.element,"ytp-contextmenu");g.W(a).D&&g.S(this.element,"ytp-dni");Xoa(this);this.hide()};
Xoa=function(a){g.gF(a.A);"gvn"!=g.W(a.o).playerStyle&&a.A.O(g.VT(a.o),"contextmenu",a.NO)};
Yoa=function(a){a.o.isFullscreen()?g.pU(a.o,a.element,9):a.xa(window.document.body)};
FZ=function(a,b,c,d,e,f){g.eF.call(this);this.g=a;this.D=c;this.B=d;this.l=e;this.C=f;this.A=new g.Mt(g.Ea(this.bA,!1),1E3,this);g.M(this,this.A);this.o="";a=g.Ea(this.eu,!1);this.O(b,"mousedown",a);this.O(c.element,"mousedown",a);this.O(b,"keydown",this.Lx);this.O(c.element,"keydown",this.Lx);this.O(b,"keyup",this.Mx);this.O(c.element,"keyup",this.Mx)};
$oa=function(a,b,c){var d=!1,e=g.W(a.g);if(!e.kg){switch(b){case 80:c&&!e.I&&(LY(a.l),a.g.ql(),d=!0);break;case 78:c&&!e.I&&(HY(a.l,cV(),g.U("YTP_NEXT")),a.g.Fj(),d=!0);break;case 74:a.g.cd()&&(HY(a.l,g.RU?{G:"div",aa:["ytp-icon","ytp-icon-rewind-ten-seconds"]}:{G:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Va:!0,L:"ytp-svg-fill",T:{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"}}]}),
a.g.oe(-10*a.g.Tc()),d=!0);break;case 76:a.g.cd()&&(HY(a.l,g.RU?{G:"div",aa:["ytp-icon","ytp-icon-forward-ten-seconds"]}:{G:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Va:!0,L:"ytp-svg-fill",T:{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"}}]}),
a.g.oe(10*a.g.Tc()),d=!0);break;case 77:a.g.isMuted()?(a.g.Yf(),JY(a.l,a.g.getVolume(),!1)):(a.g.mute(),JY(a.l,0,!0));d=!0;break;case 75:e.I||(d=!fO(g.UT(a.g)),IY(a.l,d),d?a.g.Wd():a.g.qd(),d=!0);break;case 190:if(c){if(e.oa)for(b=a.g.Ej(),c=a.g.Tc(),e=0;e<b.length-1;e++)b[e]==c&&(d=b[e+1],a.g.Vf(d,!0),KY(a.l,d,!1),d=!0)}else a.g.cd()&&(Zoa(a,1),d=!0);break;case 188:if(c){if(e.oa)for(b=a.g.Ej(),c=a.g.Tc(),e=b.length-1;1<=e;e--)b[e]==c&&(d=b[e-1],a.g.Vf(d,!0),KY(a.l,d,!0),d=!0)}else a.g.cd()&&(Zoa(a,
-1),d=!0);break;case 70:rX(a.g)&&(g.ZT(a.g),d=!0)}d&&a.B.dc(2,!0)}return d};
HZ=function(a,b,c,d){var e=g.NT(a.g).l;if(!e||!e.loaded)return!1;e=a.g.yi();for(var f,k=0;k<g.GZ.length;k++){var l=g.GZ[k];if(l.option==b){f=l.options;break}}var m;for(k=0;k<f.length;k++)f[k].option==e[b]&&(m=k);if(d)if(c){if(0==m)return!1}else if(m==f.length-1)return!1;d={};d[b]=f[(m+(c?f.length-1:1))%f.length].option;a.g.yo(d);a.bA(!0);a.A.start();return!0};
Zoa=function(a,b){a.g.cd();if(g.V(g.UT(a.g),4)){var c=a.g.ea().Ka;c&&(c=c.video)&&a.g.oe(b/(c.fps||30))}};
g.IZ=function(a){return kP(a)?(a.fetch=0,new g.jP(a)):new g.eN(a)};
KZ=function(a,b){g.X.call(this,{G:"div",L:"ytp-pause-overlay",J:[{G:"div",L:"ytp-suggestions"}]});this.l=a;this.Y=b;this.A=new g.eF(this);g.M(this,this.A);this.H=new g.oV(this,250,!1,100);g.M(this,this.H);var c=g.W(a);this.C=[];this.o=[];this.D=0;this.ba=c.l&&!c.D;this.W=!1;this.M=new g.X({G:"button",aa:["ytp-button","ytp-previous"],T:{"aria-label":g.U("YTP_PREVIOUS")},J:[g.UU()]});g.M(this,this.M);this.M.xa(this.element);this.M.R("click",this.bN,this);c=g.aJ||g.Ye?{style:"will-change: opacity"}:
null;this.X=new JZ((0,g.z)(this.iD,this));g.M(this,this.X);this.N=this.B=0;this.K=this.va["ytp-suggestions"];for(var d=0;16>d;d++){var e=new g.X({G:"a",L:"ytp-suggestion-link",T:{href:"{{link}}",target:"_blank"},J:[{G:"div",L:"ytp-suggestion-image"},{G:"div",L:"ytp-suggestion-overlay",T:c,J:[{G:"div",L:"ytp-suggestion-title",J:["{{title}}"]},{G:"div",L:"ytp-suggestion-author",J:["{{author_and_views}}"]},{G:"div",L:"ytp-suggestion-duration",J:["{{duration}}"]}]}]});g.M(this,e);e.xa(this.K);var f=e.va["ytp-suggestion-link"];
g.jh(f,"transitionDelay",d/20+"s");this.A.O(f,"click",g.Ea(this.BO,d));this.C.push(e)}this.I=new g.X({G:"button",aa:["ytp-button","ytp-next"],T:{"aria-label":g.U("YTP_NEXT")},J:[g.VU()]});g.M(this,this.I);this.I.xa(this.element);this.I.R("click",this.aN,this);c={"aria-label":g.U("YTP_CLOSE")};c=new g.X({G:"button",aa:["ytp-button","ytp-collapse"],T:c,J:[g.RU?{G:"div",aa:["ytp-icon","ytp-icon-small-close"]}:{G:"svg",T:{height:"100%",viewBox:"0 0 16 16",width:"100%"},J:[{G:"path",T:{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.M(this,c);c.xa(this.element);c.R("click",this.xO,this);this.F=new g.X({G:"button",aa:["ytp-button","ytp-expand"],J:[g.U("YTP_MORE_VIDEOS")]});g.M(this,this.F);this.F.xa(this.element);this.F.R("click",this.zO,this);this.A.O(this.l,"appresize",this.Ys);this.A.O(this.l,"fullscreentoggled",this.cN);this.A.O(this.l,"presentingplayerstatechange",this.dN);this.A.O(this.l,"videodatachange",this.eN);this.Ys(g.VT(this.l).Ta())};
apa=function(a,b){var c=g.Wc(b,a.D-a.o.length*(a.N+8),0);a.X.start(a.B,c,1E3);a.B=c;LZ(a)};
LZ=function(a){var b=a.B,c=a.D-a.o.length*(a.N+8);g.T(a.element,"ytp-scroll-min",0<=b);g.T(a.element,"ytp-scroll-max",b<=c)};
bpa=function(a){for(var b=g.W(a.l),c=0;c<a.o.length;c++){var d=a.o[c].jc(),e=a.C[c],f=d.shortViewCount?d.author+" \u2022 "+d.shortViewCount:d.author;e.element.style.display="";e.update({author_and_views:f,duration:d.lengthSeconds?g.qV(d.lengthSeconds):0,link:d.Ln(b),title:d.title});e=e.va["ytp-suggestion-image"];d=d.nd(b);e.style.backgroundImage=d?"url("+d+")":""}for(;c<a.C.length;c++)a.C[c].element.style.display="none";LZ(a)};
JZ=function(a){g.K.call(this);this.B=a;this.A=new zC(0,0,.4,0,.2,1,1,1);this.l=new g.Jt(this.o,window,this);g.M(this,this.l)};
MZ=function(a,b,c){var d=b.jc(c),e=g.W(a),f=d.nd(e,"default.jpg");g.X.call(this,{G:"a",aa:["ytp-video-menu-item","ytp-button"],T:{role:"menuitemradio","aria-label":d.title,href:e.getVideoUrl(d.videoId,b.listId?b.listId.toString():null)},J:[{G:"div",L:"ytp-video-menu-item-index",J:[String(c+1)]},{G:"div",L:"ytp-video-menu-item-now-playing",J:["\u25b6"]},{G:"div",L:"ytp-video-menu-item-thumbnail",T:{style:f?"background-image: url("+f+");":null}},{G:"div",L:"ytp-video-menu-item-title",J:[d.title]},{G:"div",
L:"ytp-video-menu-item-author",J:[d.author]}]});this.l=a;this.Bb=c;this.R("click",this.o)};
NZ=function(a){bZ.call(this,a,{G:"div",L:"ytp-playlist-menu",T:{role:"dialog",id:wU()},J:[{G:"div",L:"ytp-playlist-menu-header",J:[{G:"div",L:"ytp-playlist-menu-title",J:[{G:"a",L:"ytp-playlist-menu-title-name",T:{href:"{{playlisturl}}"},J:["{{title}}"]},{G:"button",aa:["ytp-playlist-menu-close","ytp-button"],T:{"aria-label":g.U("YTP_CLOSE")},J:[g.ZU()]}]},{G:"div",L:"ytp-playlist-menu-subtitle",J:["{{subtitle}}"]}]},{G:"div",L:"ytp-playlist-menu-items",T:{role:"menu"}}]},250);this.O(this.va["ytp-playlist-menu-close"],
"click",this.Ob);this.O(this.va["ytp-playlist-menu-title-name"],"click",this.ER);this.o=a;this.C=this.F=this.l=null;this.Ja=this.va["ytp-playlist-menu-items"];this.D=new g.eF(this);g.M(this,this.D);this.A=[];this.hide()};
cpa=function(a,b){if(a.l!=b)if(a.l&&a.l.unsubscribe("shuffle",a.Uo,a),a.l=b,a.F=null,b){b.subscribe("shuffle",a.Uo,a);var c=b.author;a.update({title:b.title,subtitle:g.U(c?"YTP_PLAYLIST_AUTHOR_AND_POSITION":"YTP_PLAYLIST_POSITION",{AUTHOR:c,CURRENT_POSITION:String(b.ie()+1),PLAYLIST_LENGTH:String(b.getLength())}),playlisturl:a.o.getVideoUrl(!0)});a.Uo()}else a.g&&a.hide();else a.l&&a.Uo()};
OZ=function(a,b,c){var d={title:"{{title}}","aria-owns":String(c.element.id),"aria-haspopup":"true","aria-label":g.U("YTP_PLAYLIST")};g.X.call(this,{G:"button",aa:["ytp-playlist-menu-button","ytp-button"],T:d,J:[{G:"div",L:"ytp-playlist-menu-button-icon",J:[g.RU?{G:"div",aa:["ytp-icon","ytp-icon-playlist"]}:{G:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Va:!0,T:{d:"m 22.53,21.42 0,6.85 5.66,-3.42 -5.66,-3.42 0,0 z m -11.33,0 9.06,0 0,2.28 -9.06,0 0,-2.28 0,0 z m 0,-9.14 13.6,0 0,2.28 -13.6,0 0,-2.28 0,0 z m 0,4.57 13.6,0 0,2.28 -13.6,0 0,-2.28 0,0 z",
fill:"#fff"}}]}]},{G:"div",L:"ytp-playlist-menu-button-text",J:["{{text}}"]}]});this.A=a;this.l=null;this.B=b.Kb();this.O(a,"videodatachange",this.C);this.O(a,"onPlaylistUpdate",this.C);this.O(a,"presentingplayerstatechange",this.o);this.O(a,"appresize",this.o);this.hide();this.C();g.Te(this,kZ(this.B,this.element));this.R("click",(0,g.z)(c.Gh,c,this.element,!1))};
PZ=function(a,b){g.X.call(this,{G:"button",aa:["ytp-replay-button","ytp-button"],T:{title:g.U("YTP_REPLAY")},J:[hV()]});this.l=a;this.O(a,"presentingplayerstatechange",this.A);this.R("click",this.o,this);var c=g.UT(a);g.HU(this,g.V(c,2));kZ(b.Kb(),this.element)};
QZ=function(a,b){var c=wU();c={G:"div",L:"ytp-share-panel",T:{id:wU(),role:"dialog","aria-labelledby":c},J:[{G:"button",aa:["ytp-share-panel-close","ytp-button"],T:{title:g.U("YTP_CLOSE")},J:[g.ZU()]},{G:"div",L:"ytp-share-panel-inner-content",J:[{G:"div",L:"ytp-share-panel-title",T:{id:c},J:[g.U("YTP_SHARE")]},{G:"a",aa:["ytp-share-panel-link","ytp-no-contextmenu"],T:{href:"{{link}}",target:"_blank",title:g.U("YTP_SHARE_LINK"),"aria-label":g.U("YTP_SHARE_LINK")},J:["{{linkText}}"]},{G:"label",L:"ytp-share-panel-include-playlist",
J:[{G:"input",L:"ytp-share-panel-include-playlist-checkbox",T:{type:"checkbox",checked:!0}},g.U("YTP_SHARE_WITH_PLAYLIST_2")]},{G:"div",L:"ytp-share-panel-loading-spinner",J:[uX()]},{G:"div",L:"ytp-share-panel-service-buttons",J:["{{buttons}}"]},{G:"div",L:"ytp-share-panel-error",J:[g.U("YTP_SHARE_PANEL_ERROR")]}]}]};bZ.call(this,a,c,250);this.l=a;this.o=b.Kb();this.A=[];this.M=this.va["ytp-share-panel-inner-content"];this.D=this.va["ytp-share-panel-close"];this.O(this.D,"click",this.Ob);g.Te(this,
kZ(this.o,this.D));this.F=this.va["ytp-share-panel-include-playlist-checkbox"];this.O(this.F,"click",this.dA);this.C=this.va["ytp-share-panel-link"];g.Te(this,kZ(this.o,this.C));this.R("click",this.vQ);this.O(a,"videoplayerreset",this.hide);this.O(a,"fullscreentoggled",this.kN);this.hide()};
dpa=function(a){switch(a){case "facebook":return g.RU?{G:"div",aa:["ytp-icon","ytp-icon-share-facebook"]}:{G:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},J:[{G:"rect",T:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{G:"path",T:{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"}}]};case "googleplus":return g.RU?{G:"div",aa:["ytp-icon","ytp-icon-share-googleplus"]}:{G:"svg",T:{height:"100%",version:"1.0",viewBox:"0 0 38 38",width:"100%"},J:[{G:"rect",T:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{G:"path",T:{d:"M34.3,0H3.7C1.7,0,0,1.7,0,3.7v30.5c0,2,1.7,3.7,3.7,3.7h30.5c2,0,3.7-1.7,3.7-3.7V3.7C38,1.7,36.3,0,34.3,0z M13.3,28.5c-5.2,0-9.5-4.3-9.5-9.5c0-5.2,4.3-9.5,9.5-9.5c2.6,0,4.7,.9,6.4,2.5l-2.7,2.7c-1-0.9-2.2-1.4-3.6-1.4 c-3.1,0-5.6,2.6-5.6,5.7s2.5,5.7,5.6,5.7c2.8,0,4.7-1.6,5.1-3.8h-5.1v-3.6h8.9c0.1,.6,.2,1.3,.2,2C22.4,24.6,18.8,28.5,13.3,28.5 z M34.2,19.6H31v3.2h-2.2v-3.2h-3.2v-2.2h3.2v-3.2H31v3.2h3.2V19.6z",
fill:"#dc4537"}}]};case "twitter":return g.RU?{G:"div",aa:["ytp-icon","ytp-icon-share-twitter"]}:{G:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},J:[{G:"rect",T:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{G:"path",T:{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"}}]};default:return null}};
epa=function(a){for(var b=g.na(a.A),c=b.next();!c.done;c=b.next())c=c.value,g.BU(c),g.Ue(c);a.A=[]};
RZ=function(a,b,c,d){g.X.call(this,{G:"button",aa:["ytp-button","ytp-share-button"],T:{title:g.U("YTP_SHARE"),"aria-haspopup":"true","aria-owns":c.element.id,"data-tooltip-opaque":String(g.W(a).H)},J:[{G:"div",L:"ytp-share-icon",J:[g.RU?{G:"div",aa:["ytp-icon","ytp-icon-sharrow"]}:{G:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Va:!0,L:"ytp-svg-fill",T:{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"}}]}]},
{G:"div",L:"ytp-share-title",J:["{{share}}"]}]});this.l=a;this.A=d;this.F=c;this.C=this.o=!1;sU(a,this.element,this,28664);this.R("click",this.D);this.O(a,"videodatachange",this.B);this.O(a,"appresize",this.B);this.B();g.Te(this,kZ(b.Kb(),this.element))};
fpa=function(a){bZ.call(this,a,{G:"button",aa:["ytp-skip-intro-button","ytp-popup","ytp-button"],J:[{G:"div",L:"ytp-skip-intro-button-text",J:[g.U("YTP_SKIP_INTRO")]},{G:"div",L:"ytp-skip-intro-button-icon",J:[cV()]}]},100);var b=this;this.l=a;this.A=!1;this.o=this.C=window.NaN;this.F=function(){return b.show()};
this.D=function(){return b.hide()};
this.O(this.l,"videodatachange",function(a,d){"dataloaded"==a&&(b.C=d.ry,b.o=d.qy);if((0,window.isNaN)(b.C)||(0,window.isNaN)(b.o))b.A&&(g.lU(b.l,"intro"),b.l.removeEventListener("crn_intro",b.F),b.l.removeEventListener("crx_intro",b.D),b.hide(),b.A=!1);else{b.l.addEventListener("crn_intro",b.F);b.l.addEventListener("crx_intro",b.D);var c=new g.eP(b.C,b.o,{priority:7,namespace:"intro"});g.iU(b.l,[c]);b.A=!0}});
this.O(this.element,"click",function(){b.l.bc(b.o/1E3)})};
SZ=function(a,b){g.X.call(this,{G:"button",aa:["ytp-airplay-button","ytp-button"],T:{title:g.U("YTP_AIRPLAY")},J:["{{icon}}"]});this.l=a;this.R("click",this.A);this.O(a,"airplayactivechange",this.o);this.O(a,"airplayavailabilitychange",this.o);this.o();g.Te(this,kZ(b.Kb(),this.element))};
TZ=function(a,b,c,d,e){var f=b.lt/b.rows,k=Math.min(c/(b.qt/b.columns),d/f),l=b.qt*k,m=b.lt*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,r=-b.qw*n,v=-b.Ic*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+") "+r+"px "+v+"px/"+l+"px "+m+"px";if(e)return new g.cd(n,
q)};
UZ=function(a,b){g.QU.call(this,{G:"div",L:"ytp-storyboard",J:[{G:"div",L:"ytp-storyboard-filmstrip",J:[{G:"div",L:"ytp-storyboard-thumbnail"}]},{G:"div",L:"ytp-storyboard-lens",J:[{G:"div",L:"ytp-storyboard-lens-thumbnail"},{G:"div",L:"ytp-storyboard-lens-timestamp-wrapper",J:[{G:"span",L:"ytp-storyboard-lens-timestamp"}]}]}]});this.o=a;this.X=b.Kb();this.M=new g.Ik(this.PJ,250,this);g.M(this,this.M);this.H=g.VT(a).Ta().width;this.l=this.va["ytp-storyboard-filmstrip"];this.ba=this.va["ytp-storyboard-lens"];
this.ca=this.va["ytp-storyboard-lens-thumbnail"];this.da=this.va["ytp-storyboard-lens-timestamp"];this.Y=this.va["ytp-storyboard-thumbnail"];g.Fd(this.Y);this.I=0;this.N=!1;this.K=this.B=this.A=window.NaN;this.Ib=this.C=null;this.D=new g.eF(this);g.M(this,this.D);this.F=new g.oV(this,100);g.M(this,this.F);this.O(this.o,"appresize",this.jI);this.O(this.o,"presentingplayerstatechange",this.AL)};
VZ=function(a,b){var c=!!a.Ib;c&&a.Ib.unsubscribe("l",a.wp,a);a.Ib=b&&g.uN(b);a.N=!!b&&b.za;a.Ib?(c||(a.D.O(a.o,"videodatachange",a.BL),a.D.O(a.o,"progresssync",a.uo),a.D.O(a.o,"videoplayerreset",a.uo)),a.Ib.subscribe("l",a.wp,a),a.K=window.NaN,a.A=window.NaN,a.B=window.NaN,a.uo(),a.F.show(200)):(c&&g.gF(a.D),a.M.stop(),g.OF(a.I),a.F.hide(),a.F.stop())};
gpa=function(a,b,c,d){var e=a.Y.cloneNode(!1);a=eM(a.Ib,b,c);TZ(e,a,c,d);return e};
WZ=function(a){g.X.call(this,{G:"div",L:"ytp-storyboard-framepreview",J:[{G:"div",L:"ytp-storyboard-framepreview-img"}]});this.C=this.va["ytp-storyboard-framepreview-img"];this.l=a;this.Ib=null;this.B=window.NaN;this.o=new g.eF(this);g.M(this,this.o);this.A=new g.oV(this,100);g.M(this,this.A);this.O(this.l,"presentingplayerstatechange",this.CL)};
YZ=function(a,b){var c=!!a.Ib;a.Ib=b&&g.uN(b);a.Ib?(c||(a.o.O(a.l,"videodatachange",a.FL),a.o.O(a.l,"progresssync",a.DL),a.o.O(a.l,"appresize",a.kI)),a.B=window.NaN,XZ(a),a.A.show(200)):(c&&g.gF(a.o),a.A.hide(),a.A.stop())};
XZ=function(a){var b=a.l.getCurrentTime(),c=g.VT(a.l).Ta(),d=dM(a.Ib,c.width);b=a.Ib.g[d].tl(b);b!=a.B&&(a.B=b,gM(a.Ib,b,c.width),b=eM(a.Ib,b,c.width),TZ(a.C,b,c.width,c.height))};
ZZ=function(a,b){g.X.call(this,{G:"button",aa:["ytp-fullscreen-button","ytp-button"],T:{title:"{{title}}"},J:["{{icon}}"]});this.o=a;this.C=b;this.l=null;this.A=kZ(b.Kb(),this.element);this.B=new g.Mt(this.WG,2E3,this);g.M(this,this.B);this.O(a,"fullscreentoggled",this.rC);this.O(a,"presentingplayerstatechange",this.aA);this.R("click",this.XM);if(IE()){var c=g.VT(this.o);this.O(c,Ija(),this.UA);this.O(c,LE(window.document),this.YM)}g.W(a).fa||hpa(this);this.aA();this.rC(a.isFullscreen())};
hpa=function(a){if(!a.l){var b=g.U(null!=HE(["requestFullscreen","webkitRequestFullscreen","mozRequestFullScreen","msRequestFullscreen"],window.document.body)?"YTP_FULLSCREEN_GENERIC_ERROR":"YTP_FULLSCREEN_UNSUPPORTED_ERROR").split(/\$(BEGIN|END)_LINK/);a.l=new bZ(a.o,{G:"div",aa:["ytp-popup","ytp-generic-popup"],T:{role:"alert",tabindex:"0"},J:[b[0],{G:"a",T:{href:"https://support.google.com/youtube/answer/6276924",target:"_blank"},J:[b[2]]},b[4]]},100,!0);a.l.hide();g.M(a,a.l);a.l.subscribe("show",
(0,g.z)(a.C.ln,a.C,a.l));g.pU(a.o,a.l.element,4);a.element.setAttribute("aria-disabled",!0);a.element.setAttribute("aria-haspopup",!0);a.A();a.A=null}};
$Z=function(a){var b={G:"div",L:"ytp-multicam-menu",T:{role:"dialog"},J:[{G:"div",L:"ytp-multicam-menu-header",J:[{G:"div",L:"ytp-multicam-menu-title",J:[g.U("YTP_SWITCH_CAMERA"),{G:"button",aa:["ytp-multicam-menu-close","ytp-button"],T:{"aria-label":g.U("YTP_CLOSE")},J:[g.ZU()]}]}]},{G:"div",L:"ytp-multicam-menu-items"}]};bZ.call(this,a,b,250);this.A=new g.eF(this);g.M(this,this.A);this.O(this.va["ytp-multicam-menu-close"],"click",this.Ob);this.l=a;this.Ja=this.va["ytp-multicam-menu-items"];this.o=
[];this.hide()};
a_=function(a,b,c){g.X.call(this,{G:"button",aa:["ytp-multicam-button","ytp-button"],T:{title:g.U("YTP_SWITCH_CAMERA"),"aria-haspopup":"true","data-preview":"{{preview}}","data-tooltip-text":"{{text}}"},J:[g.RU?{G:"div",aa:["ytp-icon","ytp-icon-switch-camera"]}:{G:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Va:!0,T:{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.l=a;this.B=!1;this.o=b.Kb();this.C=new g.Mt(this.F,400,this);g.M(this,this.C);this.R("click",(0,g.z)(c.Gh,c,this.element,!1));this.O(a,"presentingplayerstatechange",g.Ea(this.A,!1));this.O(a,"videodatachange",this.D);this.A(!0);g.Te(this,kZ(this.o,this.element))};
b_=function(){g.K.call(this);this.B=null;this.A=this.g=0;this.o=new g.Jt(this.l,null,this);g.M(this,this.o)};
ipa=function(a,b){if("path"==b.G)return b.T.d;if(b.J)for(var c=0;c<b.J.length;c++){var d=b.J[c];if(d&&!g.u(d)&&(d=ipa(a,d)))return d}};
lpa=function(a,b,c){c=ipa(a,c);var d=b.getElementsByTagName("path")[0],e=d.getAttribute("d");if(d.getAttribute("id")){var f=wU();b=b.getElementsByTagName("use");for(var k=0;k<b.length;k++)b[k].setAttributeNS("http://www.w3.org/1999/xlink","href","#"+f);d.setAttribute("id",f)}var l=jpa(e),m=jpa(c);c_(a,function(a){d.setAttribute("d",kpa(l,m,a))},200)};
c_=function(a,b,c){a.B=b;a.A=g.HF();a.g=c;a.l()};
jpa=function(a){var b=[];a=a.match(mpa);for(var c=0;c<a.length;c++){var d=(0,window.parseFloat)(a[c]);b.push((0,window.isNaN)(d)?a[c]:d)}return b};
kpa=function(a,b,c){for(var d="",e=0;e<a.length;e++){var f=a[e];d=g.ua(f)?d+(f+(b[e]-f)*c):d+f}return d};
d_=function(a,b){var c=g.W(a);g.X.call(this,{G:"button",aa:["ytp-mute-button","ytp-button"],T:c.K?{title:"{{title}}"}:{"aria-disabled":"true","aria-haspopup":"true"},J:["{{icon}}"]});this.updateValue("icon",nV());this.l=a;this.ba=b.Kb();this.H=this.K=this.I=this.N=window.NaN;this.D=[];this.C=[];this.F=this.A=!1;g.W(this.l).N||(this.o=new g.yU({G:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"defs",J:[{G:"clipPath",T:{id:"ytp-svg-volume-animation-mask"},J:[{G:"path",
T:{d:"m 14.35,-0.14 -5.86,5.86 20.73,20.78 5.86,-5.91 z"}},{G:"path",T:{d:"M 7.07,6.87 -1.11,15.33 19.61,36.11 27.80,27.60 z"}},{G:"path",L:"ytp-svg-volume-animation-mover",T:{d:"M 9.09,5.20 6.47,7.88 26.82,28.77 29.66,25.99 z"}}]},{G:"clipPath",T:{id:"ytp-svg-volume-animation-slash-mask"},J:[{G:"path",L:"ytp-svg-volume-animation-mover",T:{d:"m -11.45,-15.55 -4.44,4.51 20.45,20.94 4.55,-4.66 z"}}]}]},{G:"path",Va:!0,aa:["ytp-svg-fill","ytp-svg-volume-animation-speaker"],T:{"clip-path":"url(#ytp-svg-volume-animation-mask)",
d:"M8,21 L12,21 L17,26 L17,10 L12,15 L8,15 L8,21 Z M19,14 L19,22 C20.48,21.32 21.5,19.77 21.5,18 C21.5,16.26 20.48,14.74 19,14 Z",fill:"#fff"}},{G:"path",Va:!0,aa:["ytp-svg-fill","ytp-svg-volume-animation-hider"],T:{"clip-path":"url(#ytp-svg-volume-animation-slash-mask)",d:"M 9.25,9 7.98,10.27 24.71,27 l 1.27,-1.27 Z",fill:"#fff"}}]}),g.M(this,this.o),this.W=this.o.va["ytp-svg-volume-animation-speaker"],this.fa=this.W.getAttribute("d"),this.D=g.ld("ytp-svg-volume-animation-mover",this.o.element),
this.C=g.ld("ytp-svg-volume-animation-hider",this.o.element));this.B=null;this.X=new b_;g.M(this,this.X);this.M=new b_;g.M(this,this.M);this.R("click",this.da);this.O(a,"appresize",this.xd);this.O(a,"onVolumeChange",this.ca);var d=null;c.K?g.Te(this,kZ(b.Kb(),this.element)):(c=g.U("YTP_VOLUME_UNSUPPORTED_ERROR").split(/\$(BEGIN|END)_LINK/),d=new bZ(a,{G:"span",aa:["ytp-popup","ytp-generic-popup"],T:{tabindex:"0"},J:[c[0],{G:"a",T:{href:"https://support.google.com/youtube/?p=noaudio",target:"_blank"},
J:[c[2]]},c[4]]},100,!0),g.M(this,d),d.hide(),d.subscribe("show",(0,g.z)(b.ln,b,d)),g.pU(a,d.element,4));this.Y=d;sU(a,this.element,this,28662);this.xd(g.VT(a).Ta());npa(this,a.getVolume(),a.isMuted())};
npa=function(a,b,c){var d=c?0:b/100,e=g.W(a.l);if(e.N)d=0==d?nV():0<d&&.5>d?mV():lV(),d!=a.B&&(a.updateValue("icon",d),a.B=d);else{b=0==d?1:50<b?1:0;if(a.I!=b){var f=a.N;(0,window.isNaN)(f)?opa(a,b):c_(a.X,(0,g.z)(function(a){opa(this,f+(this.I-f)*a)},a),250);
a.I=b}d=0==d?1:0;if(a.H!=d){var k=a.K;(0,window.isNaN)(k)?ppa(a,d):c_(a.M,(0,g.z)(function(a){ppa(this,k+(this.H-k)*a)},a),250);
a.H=d}}e.K&&(a.updateValue("title",c?g.U("YTP_UNMUTE"):g.U("YTP_MUTE")),e_(a.ba))};
opa=function(a,b){a.N=b;var c=a.fa;b&&(c+=kpa(qpa,rpa,b));a.W.setAttribute("d",c)};
ppa=function(a,b){a.K=b;for(var c=20*b,d=0;d<a.D.length;d++)a.D[d].setAttribute("transform","translate("+c+", "+c+")");var e;1==b?e=nV():e=a.o;for(c=0;c<a.C.length;c++)a.C[c].style.display=0==b?"none":"";e!=a.B&&(a.updateValue("icon",e),a.B=e)};
f_=function(a,b){g.X.call(this,{G:"button",aa:["ytp-pip-button","ytp-button"],T:{title:g.U("YTP_PIP")},J:[g.RU?{G:"div",aa:["ytp-icon","ytp-icon-pip"]}:{G:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Va:!0,T:{d:"M25,17 L17,17 L17,23 L25,23 L25,17 L25,17 Z M29,25 L29,10.98 C29,9.88 28.1,9 27,9 L9,9 C7.9,9 7,9.88 7,10.98 L7,25 C7,26.1 7.9,27 9,27 L27,27 C28.1,27 29,26.1 29,25 L29,25 Z M27,25.02 L9,25.02 L9,10.97 L27,10.97 L27,25.02 L27,25.02 Z",fill:"#fff"}}]}]});
this.l=a;this.R("click",this.o);g.Te(this,kZ(b.Kb(),this.element))};
g.g_=function(a,b){g.X.call(this,{G:"button",aa:["ytp-play-button","ytp-button"],T:{title:"{{title}}","aria-label":"{{label}}"},J:["{{icon}}"]});this.o=a;this.A=null;this.B=b.Kb();this.l=null;this.C=new b_;g.M(this,this.C);this.O(a,"fullscreentoggled",this.D);this.O(a,"presentingplayerstatechange",this.F);this.O(a,"videodatachange",this.D);spa(this,g.UT(a));this.R("click",this.H,this)};
tpa=function(a){switch(a){case 1:return fV();case 2:return eV();case 3:return hV();case 4:return kV();default:return null}};
spa=function(a,b){var c=g.yN(a.o.ea()),d=!1;if(fO(b))var e=c?4:2;else g.V(b,2)?(e=3,d=c):e=1;a.element.disabled=d;if(a.A!=e){switch(e){case 2:var f=g.U("YTP_PAUSE");break;case 3:f=g.U("YTP_REPLAY");break;case 1:f=g.U("YTP_PLAY");break;case 4:f=g.U("YTP_STOP")}3==e?(a.l||(a.l=kZ(a.B,a.element)),a.update({title:f,label:null,icon:tpa(e)})):(a.l&&(a.l(),a.l=null),a.update({title:null,label:f}),(c=tpa(e))&&a.A&&3!=a.A&&!g.W(a.o).N?lpa(a.C,a.element,c):a.updateValue("icon",c));e_(a.B);a.A=e}};
g.i_=function(a,b,c){if(c){var d="ytp-next-button";var e=cV()}else d="ytp-prev-button",e=gV();g.X.call(this,{G:"a",aa:[d,"ytp-button"],T:{title:"{{title}}",href:"{{url}}","data-preview":"{{preview}}","data-tooltip-text":"{{text}}","data-duration":"{{duration}}","aria-disabled":"{{disabled}}","data-next":"{{next}}","data-prev":"{{prev}}"},J:[e]});this.l=a;this.K=b.Kb();this.A=c;this.o=this.D=null;this.I=!1;this.F=this.H=this.B=null;this.C=!1;this.O(a,"fullscreentoggled",this.Hj);this.O(a,"videodatachange",
this.Hj);this.O(a,"onPlaylistUpdate",this.Hj);this.A||this.O(a,"appresize",this.xd);this.O(a,"mdxpreviousnextchange",function(){h_(this);this.xd()});
this.Hj()};
upa=function(a){a.o&&a.o.unsubscribe("shuffle",a.Hj,a)};
vpa=function(a){return!!a.o&&!a.A&&!!a.D&&!a.D.za&&3<=a.l.getCurrentTime()&&2!=a.l.Ra()};
wpa=function(a){var b=g.ST(g.NT(a.l));return b?a.A?b.hasNext():b.Mf():!1};
h_=function(a){var b={duration:null,preview:null,text:null,title:null,url:null},c=g.W(a.l),d=WT(a.l),e=a.A&&g.qU(a.l),f=wpa(a);if(a.C)b.title=g.U("YTP_REPLAY");else if(d){var k=null;a.o&&(k=a.o.jc(a.A?lP(a.o):mP(a.o)));if(k){if(k.videoId){var l=a.o.listId;b.url=c.getVideoUrl(k.videoId,l?l.toString():void 0)}b.text=k.title;b.duration=k.lengthSeconds?g.qV(k.lengthSeconds):null;b.preview=k.nd(c,"mqdefault.jpg")}b.title=g.U(a.A?"YTP_NEXT":"YTP_PREVIOUS")}else e&&(a.D.suggestions&&a.D.suggestions.length&&
(k=g.IZ(a.D.suggestions[0]),b.url=k.Ln(c),b.text=k.title,b.duration=k instanceof g.eN?g.qV(k.lengthSeconds):null,b.preview=k.nd(c,"mqdefault.jpg")),b.title=g.U("YTP_NEXT"));b.disabled=!e&&!d&&!f;a.update(b);a.I=!!b.url;e||d||a.C||f?a.B||(a.B=kZ(a.K,a.element),a.H=a.R("click",a.gN,a)):a.B&&(a.B(),a.B=null,a.Ca(a.H),a.H=null);e_(a.K)};
xpa=function(){this.l=this.position=this.A=this.g=this.B=this.o=this.width=window.NaN};
j_=function(a,b){g.QU.call(this,{G:"div",L:"ytp-progress-bar-container",T:{"aria-disabled":"true"},J:[{G:"div",aa:["ytp-progress-bar",g.W(a).g?"ytp-mobile":""],T:{tabindex:"0",role:"slider","aria-label":g.U("YTP_SEEK_SLIDER"),"aria-valuemin":"{{ariamin}}","aria-valuemax":"{{ariamax}}","aria-valuenow":"{{arianow}}","aria-valuetext":"{{arianowtext}}"},J:[{G:"div",L:"ytp-progress-bar-padding"},{G:"div",L:"ytp-progress-list",J:[{G:"div",aa:["ytp-play-progress","ytp-swatch-background-color"]},{G:"div",
L:"ytp-load-progress"},{G:"div",L:"ytp-hover-progress"},{G:"div",L:"ytp-clip-start-exclude"},{G:"div",L:"ytp-clip-end-exclude"},{G:"div",L:"ytp-ad-progress-list"},{G:"div",L:"ytp-marker-crenellation-list"},{G:"div",L:"ytp-marker-progress-list"}]},{G:"div",L:"ytp-scrubber-container",J:[{G:"div",aa:["ytp-scrubber-button","ytp-swatch-background-color"],J:[{G:"div",L:"ytp-scrubber-pull-indicator"}]}]}]},{G:"div",L:"ytp-bound-time-left",J:["{{boundTimeLeft}}"]},{G:"div",L:"ytp-bound-time-right",J:["{{boundTimeRight}}"]},
{G:"div",L:"ytp-clip-start",T:{title:g.U("YTP_WATCH_ALL")},J:["{{clipstarticon}}"]},{G:"div",L:"ytp-clip-end",T:{title:g.U("YTP_WATCH_ALL")},J:["{{clipendicon}}"]}]});this.updateValue("clipstarticon",YU());this.updateValue("clipendicon",XU());this.o=a;this.ra=b.Kb();this.Ia=!1;this.C=this.Qb=0;this.X=1;this.Zb=this.H=0;this.A=null;this.Sa=!1;this.I=this.fa=0;this.Hc=this.va["ytp-ad-progress-list"];this.ed=this.va["ytp-marker-progress-list"];this.Pa=this.va["ytp-marker-crenellation-list"];this.N={};
this.da={};this.K=window.Infinity;var c=b.Kb();this.Y=this.va["ytp-clip-end"];g.Te(this,kZ(c,this.Y));this.ka=new g.jF(this.Y,!0);g.M(this,this.ka);this.ka.subscribe("hoverstart",this.KA,this);this.ka.subscribe("hoverend",this.JA,this);this.O(this.Y,"click",this.To);this.Oa=this.va["ytp-clip-end-exclude"];this.fd=this.va["ytp-clip-start-exclude"];this.M=0;this.ba=this.va["ytp-clip-start"];g.Te(this,kZ(c,this.ba));this.na=new g.jF(this.ba,!0);g.M(this,this.na);this.na.subscribe("hoverstart",this.KA,
this);this.na.subscribe("hoverend",this.JA,this);this.O(this.ba,"click",this.To);this.xb=this.va["ytp-load-progress"];this.ca=0;this.zd=this.va["ytp-play-progress"];this.ib=this.va["ytp-hover-progress"];this.D=0;this.Pb=this.va["ytp-progress-bar"];this.B=null;this.Kd=this.va["ytp-scrubber-button"];this.Ld=this.va["ytp-scrubber-container"];this.oa=new g.$c;this.Xa=new xpa;this.l=new sV(0,0);this.F=this.Ea=!1;this.ob=null;this.O(a,"presentingplayerstatechange",this.dI);this.O(a,"videodatachange",this.cA);
this.O(a,"videoplayerreset",this.cI);this.O(a,"cuerangesadded",this.hD);this.O(a,"cuerangesremoved",this.OS);this.O(a,"cuerangemarkersupdated",this.hD);this.O(a,"onPlaybackQualityChange",this.hI);ypa(this,a.ea(),!0)};
Apa=function(a){if(a.C){var b=a.o.uh(),c=new sV(b.seekableStart,b.seekableEnd),d=uV(c,b.loaded,0);b=uV(c,b.current,0);var e=a.l.l!=c.l||a.l.g!=c.g;a.l=c;k_(a,b,d);e&&l_(a);zpa(a)}};
ypa=function(a,b,c){c=void 0===c?!1:c;var d=!!b&&b.Gd();a.Ea=d&&b.og;Bpa(a,a.o.cd());c&&(d?(c=b.clipEnd,a.M=b.clipStart,a.K=c,m_(a),k_(a,a.D,a.ca)):a.To(),b=a.ra,1==b.l&&b.kf());Apa(a)};
Cpa=function(a){return!!a&&a.Gd()&&!!a.Ka&&a.Ka.video.isAccelerated&&a.Ka.video.o};
n_=function(a,b){a.Sa=b;g.T(a.xb,"ytp-fast-load",b)};
Dpa=function(a,b,c,d){b=g.Wc(b,0,a.F?60:40);a.H=b;var e=a.X,f=Math.max(a.l.getLength()/a.C,1);a.X=b/(a.F?60:40)*(f-1)+1;b=a.C*a.X;a.I=g.Wc(d*b-c,0,b-a.C);e!=a.X&&l_(a)};
l_=function(a){var b=o_(a),c=-b.o/b.g,d=(-b.o+b.width)/b.g,e=g.Id(a.Pa),f=0;if(a.H>.2*(a.F?60:40)){var k=c*(a.l.getLength()/60),l=d*(a.l.getLength()/60);for(k=Math.ceil(k);k<l;k++){var m=e[f];m||(m=g.zd("DIV"),a.Pa.appendChild(m));f++;m.className=0==k%60?"ytp-60m-progress":0==k%30?"ytp-30m-progress":0==k%15?"ytp-15m-progress":"ytp-1m-progress";var n=(60*k/a.l.getLength()-c)*b.g;m.style.left=n+"px"}}b=a.Ea?a.l.g:0;a.update({boundTimeLeft:g.qV(tV(a.l,c)-b),boundTimeRight:g.qV(tV(a.l,d)-b)});for(c=e.length-
1;c>=f;c--)g.Fd(e[c]);a.element.style.height=a.H+(a.F?8:5)+"px";a.P("height-change",a.H);a.Kd.style.height=a.H+(a.F?20:13)+"px";for(var q in a.N)Epa(a,a.N[q],a.da[q]);m_(a);k_(a,a.D,a.ca)};
o_=function(a){var b=a.oa.x,c=a.C*a.X;b=g.Wc(b,0,a.C);a.Xa.update(b,a.C,-a.I,-(c-a.I-a.C));return a.Xa};
k_=function(a,b,c){a.D=b;a.ca=c;var d=o_(a),e=a.l.g,f=tV(a.l,a.D);a.update({ariamin:Math.floor(a.l.l),ariamax:Math.floor(e),arianow:Math.floor(f),arianowtext:g.U("YTP_PROGRESS_LABEL_2",{PLAY_PROGRESS:g.qV(f),DURATION:g.qV(e)})});e=uV(a.l,a.M,0);var k=uV(a.l,a.K,1);f=g.Wc(b,e,k);c=a.Sa?1:g.Wc(c,e,k);g.jh(a.Ld,"transform","translateX("+(b*d.g+d.o)+"px)");p_(a,a.zd,d,e,f);p_(a,a.xb,d,e,c)};
p_=function(a,b,c,d,e,f){b.style.left=Math.max(d*c.g+c.o,0)+"px";d=g.Wc((e-d)*c.g+c.o,0,c.width);(void 0===f?0:f)||g.W(a.o).g?b.style.width=d+"px":g.jh(b,"transform","scalex("+(c.width?d/c.width:0)+")")};
m_=function(a){var b=a.M>a.l.l,c=0<a.l.g&&a.K<a.l.g;g.T(a.element,"ytp-clip-start-enabled",b);g.T(a.element,"ytp-clip-end-enabled",c);b=b?uV(a.l,a.M,0):0;c=c?uV(a.l,a.K,1):1;a.ba.style.left=Math.round(1E3*b)/10+"%";a.Y.style.left=Math.round(1E3*c)/10+"%";a.fd.style.width=Math.round(1E3*b)/10+"%";a.Oa.style.left=Math.round(1E3*c)/10+"%";a.Oa.style.width=Math.round(1E3*(1-c))/10+"%"};
zpa=function(a){var b=o_(a);p_(a,a.ib,b,a.D,b.l);g.T(a.ib,"ytp-hover-progress-light",b.l>a.D)};
Epa=function(a,b,c){var d=o_(a),e=uV(a.l,b.start/1E3,0),f=oma(b,a.F),k=f/d.width;switch(b.style){case "ytp-chapter-marker":var l=e+k/2;e-=k/2;c.style.borderRadius=f+"px";break;default:l=uV(a.l,b.end/1E3,1),k!=Number.POSITIVE_INFINITY&&(e=g.Wc(e,0,l-k)),l=Math.min(l,e+k)}b.color&&(c.style.background=b.color);p_(a,c,d,e,l,!0);c.className=b.style};
Fpa=function(a,b){var c=b.ia;a.N[c]==b&&(g.Fd(a.da[c]),delete a.N[c],delete a.da[c])};
Bpa=function(a,b){b?a.B||(a.element.removeAttribute("aria-disabled"),a.B=new g.jF(a.Pb,!0),a.B.subscribe("hovermove",a.MQ,a),a.B.subscribe("hoverend",a.LQ,a),a.B.subscribe("dragstart",a.KQ,a),a.B.subscribe("dragmove",a.OQ,a),a.B.subscribe("dragend",a.NQ,a),a.ob=a.R("keydown",a.hN)):a.B&&(a.element.setAttribute("aria-disabled",!0),a.Ca(a.ob),a.B.cancel(),a.B.dispose(),a.B=null)};
q_=function(a,b){zZ.call(this,g.U("YTP_ANNOTATIONS"),5);this.B=b;this.A=a;this.l=!1;this.O(a,"videodatachange",this.C);this.O(a,"onApiChange",this.C);this.subscribe("select",this.D,this);this.C()};
g.r_=function(a,b,c,d,e,f){var k=g.oZ({"aria-haspopup":"true"});g.nZ.call(this,k,b,a);this.A=d;this.H=!1;this.D=null;this.o={};this.C=new g.qZ(c,void 0,a,e,f);g.M(this,this.C);this.R("keydown",this.iN);this.R("click",this.open)};
g.s_=function(a,b){g.Roa(a.C);for(var c={},d=!1,e=0;e<b.length;e++){var f=b[e],k=a.o[f],l=f==a.D;l&&(d=!0);k&&k.priority==-e?(l=a,g.mZ(l.o[f],l.sf(f,!0)),delete a.o[f]):(k=new g.nZ({G:"div",aa:["ytp-menuitem"],T:{tabindex:"0",role:"menuitemradio","aria-checked":l?"true":void 0},J:[{G:"div",aa:["ytp-menuitem-label"],J:["{{label}}"]}]},-e,a.sf(f,!0)),k.R("click",(0,g.z)(a.jN,a,f)));c[f]=k;g.rZ(a.C,k,!0)}d||(a.D=null);for(var m in a.o)a.o[m].dispose();a.o=c};
t_=function(a,b){g.r_.call(this,g.U("YTP_AUDIO_TRACK_TITLE"),2,a,b);this.l=a;this.I=new g.X({G:"div",J:[{G:"span",J:[g.U("YTP_AUDIO_TRACK_TITLE")]},{G:"span",L:"ytp-menuitem-label-count",J:["{{content}}"]}]});g.mZ(this,this.I);this.K={};this.O(a,"videodatachange",this.F);this.O(a,"onPlaybackAudioChange",this.F);this.F()};
u_=function(a,b){zZ.call(this,g.U("YTP_AUTOPLAY"),6);this.D=b;this.l=a;this.B=!1;this.A=[];this.O(a,"presentingplayerstatechange",this.C);this.subscribe("select",this.H,this);this.C()};
v_=function(a,b){g.r_.call(this,g.U("YTP_QUALITY_TITLE"),1,a,b);g.S(this.C.element,"ytp-quality-menu");this.l=a;this.I={};this.F="unknown";this.O(a,"videodatachange",this.B);this.O(a,"videoplayerreset",this.B);this.O(a,"onPlaybackQualityChange",this.K);this.B()};
Gpa=function(a,b,c){a=a.I[b];var d=g.vG[b];d=a?a.qualityLabel:d?d+"p":g.U("YTP_AUTO");c={G:"span",aa:c,J:[]};a&&a.isAccelerated&&a.o&&c.J.push({G:"div",L:"ytp-menuitem-badge-container",J:[{G:"svg",T:{fill:"#00838f",height:"11px",viewBox:"0 0 48 48",width:"11px"},J:[{G:"path",T:{d:"M0 0v48h48V0H0zm10.6 30.64L4 24.05l6.69-6.69 6.6 6.59-6.69 6.69zM24 44l-6.7-6.7 13.35-13.35-13.32-13.28L24 4l20 20-20 20z"}},{G:"path",T:{d:"M 24,44 44,24 24,4 17.33,10.67 30.65,23.95 17.3,37.3 z M 10.6,30.64 17.29,23.95 10.69,17.36 4,24.05 z",
fill:"#fff"}}]}]});c.J.push(d);var e;"highres"==b?e="8K":"hd2880"==b?e="5K":"hd2160"==b?e="4K":0==b.indexOf("hd")&&(e="HD");e&&(c.J.push(" "),c.J.push({G:"sup",L:"ytp-swatch-color",J:[e]}));return c};
w_=function(a,b,c){g.X.call(this,{G:"button",aa:["ytp-button","ytp-settings-button"],T:{"aria-haspopup":"true","aria-owns":wU(),title:g.U("YTP_SETTINGS")},J:[g.jV()]});this.A=c;this.l=a;this.B=!0;this.R("click",this.C);this.O(a,"onPlaybackQualityChange",this.o);this.O(a,"videodatachange",this.o);this.O(a,"webglsettingschanged",this.o);this.O(a,"appresize",this.xd);g.Te(this,kZ(b.Kb(),this.element));this.o();this.xd(g.VT(a).Ta())};
x_=function(a,b){a.B=!!b;a.xd(g.VT(a.l).Ta())};
y_=function(a,b){g.r_.call(this,g.U("YTP_SPEED_TITLE"),4,a,b);this.l=a;this.B=null;this.O(a,"presentingplayerstatechange",this.eA);this.eA()};
z_=function(a){g.sZ.call(this,a,"ytp-settings-menu");this.A=a;this.o=new g.qZ(a);g.M(this,this.o);this.F=null;this.X=!1;this.hide();g.vZ(this,this.o)};
A_=function(a){if(!a.X){a.X=!0;var b=new v_(a.A,a);g.M(a,b);b=new q_(a.A,a);g.M(a,b);g.W(a.A).oa&&(b=new y_(a.A,a),g.M(a,b));g.W(a.A).xe&&(b=new u_(a.A,a),g.M(a,b));b=new t_(a.A,a);g.M(a,b);x_(a.F,a.o.Ja.length)}};
B_=function(a,b){A_(a);g.rZ(a.o,b);x_(a.F,a.o.Ja.length)};
C_=function(a,b){a.g&&1>=a.o.Ja.length&&a.hide();g.Qoa(a.o,b);x_(a.F,a.o.Ja.length)};
Hpa=function(a,b){a.F=b;a.element.id=b.element.getAttribute("aria-owns")};
D_=function(a,b,c){g.X.call(this,{G:"button",L:"ytp-button",T:{title:g.U("YTP_MDX_TOOLTIP"),"aria-haspopup":"true"},J:["{{icon}}"]});this.l=a;this.B=c;this.A=null;this.O(a,"onMdxReceiversChange",this.o);this.O(a,"presentingplayerstatechange",this.o);this.O(a,"appresize",this.o);this.o();this.R("click",this.C,this);g.Te(this,kZ(b.Kb(),this.element))};
E_=function(a,b){g.X.call(this,{G:"button",aa:["ytp-size-button","ytp-button"],T:{title:"{{title}}"},J:["{{icon}}"]});this.l=a;this.B=b.Kb();this.A=null;this.C=new b_;g.M(this,this.C);this.O(a,"sizestylechange",this.o);this.O(a,"fullscreentoggled",this.o);this.O(a,"presentingplayerstatechange",this.o);this.o();this.R("click",this.D);g.Te(this,kZ(this.B,this.element))};
F_=function(a,b){g.X.call(this,{G:"button",aa:["ytp-subtitles-button","ytp-button"],T:{"aria-pressed":"{{pressed}}",title:g.U("YTP_SUBTITLES_TOOLTIP")},J:[$U()]});this.o=a;this.O(a,"videodatachange",this.l);this.O(a,"appresize",this.l);this.O(a,"onApiChange",this.l);this.O(a,"onCaptionsTrackListChanged",this.l);this.O(a,"captionschanged",this.l);this.l();this.R("click",this.A);g.Te(this,kZ(b.Kb(),this.element))};
G_=function(a,b){g.X.call(this,{G:"div",aa:["ytp-time-display","notranslate"],J:[{G:"span",L:"ytp-time-current",J:["{{currenttime}}"]},{G:"span",L:"ytp-time-separator",J:[" / "]},{G:"span",L:"ytp-time-duration",J:["{{duration}}"]}]});this.B=new g.X({G:"button",aa:["ytp-live-badge","ytp-button"],T:{disabled:"true"},J:[g.U("YTP_LIVE")]});g.M(this,this.B);this.B.xa(this.element);this.C=a;this.I=b.Kb();this.l=null;this.D=this.o=!1;this.H=this.F=null;this.R("click",this.K);this.O(a,"presentingplayerstatechange",
this.A);this.O(a,"appresize",this.A);this.O(a,"videodatachange",this.M);var c=a.ea();c&&(this.o=c.za,g.T(this.element,"ytp-live",this.o));this.A()};
I_=function(a,b,c){g.X.call(this,{G:"div",L:"ytp-volume-panel",T:{role:"slider","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":"{{valuenow}}","aria-valuetext":"{{valuetext}}",tabindex:"0"},J:[{G:"div",L:"ytp-volume-slider",J:[{G:"div",L:"ytp-volume-slider-handle"}]}]});this.l=a;this.D=b;this.M=c;this.I=!1;this.F=b.Ed();this.W=this.B=0;this.N=this.va["ytp-volume-slider"];this.X=this.va["ytp-volume-slider-handle"];this.H=new g.jF(this.N,!0);g.M(this,this.H);this.H.subscribe("dragstart",this.yR,
this);this.H.subscribe("dragmove",this.xR,this);this.H.subscribe("dragend",this.wR,this);this.K=null;this.o=this.A=this.C=!1;this.O(a,"onVolumeChange",this.vN);this.O(a,"appresize",this.xd);this.O(a,"fullscreentoggled",this.tN);this.O(a,"onShowControls",this.iw);this.O(a,"onHideControls",this.iw);this.O(this.element,"keydown",this.zR);this.O(this.element,"focus",g.Ea(this.jA,!0));this.O(this.element,"blur",g.Ea(this.jA,!1));this.xd(g.VT(a).Ta());H_(this,a.getVolume(),a.isMuted())};
H_=function(a,b,c){var d=Math.floor(b),e=d+"% "+g.U("YTP_SCREENREADER_VOLUME_SETTING")+(c?" "+g.U("YTP_SCREENREADER_VOLUME_MUTED"):"");c=c?0:b/100;a.updateValue("valuenow",d);a.updateValue("valuetext",e);a.X.style.left=(a.F?60:40)*c+"px";a.B=b};
J_=function(a,b,c,d,e){var f=a.A||a.C||a.o||a.I;a.A=b;a.C=c;a.o=d;a.I=e;b=a.A||a.C||a.o||a.I;f!=b&&(b?a.K=a.O(a.element,"wheel",a.uN):(a.Ca(a.K),a.K=null),g.T(a.M,"ytp-volume-slider-active",b))};
K_=function(a,b){var c=g.W(a),d=HL(c);0==d.indexOf("www.")&&(d=d.substring(4));var e=["ytp-youtube-button","ytp-button","yt-uix-sessionlink"];(c="gaming"==c.playerStyle)&&e.push("ytp-youtube-gaming-button");g.X.call(this,{G:"a",aa:e,T:{href:"{{url}}",target:"_blank",title:g.U("YTP_URL_NAVIGATE_TO",{WEBSITE:d}),"data-sessionlink":"feature=player-button"},J:[c?g.RU?{G:"div",aa:["ytp-icon","ytp-icon-logo-gaming"]}:{G:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 122 36",width:"100%"},J:[{G:"path",
Va:!0,L:"ytp-svg-fill",T:{d:"M 45.32 10 L 45.32 25.81 L 47.39 25.81 L 47.64 24.75 L 47.68 24.75 C 47.87 25.13 48.17 25.43 48.56 25.65 C 48.95 25.87 49.37 25.98 49.84 25.98 C 50.69 25.98 51.32 25.59 51.72 24.81 C 52.12 24.03 52.32 22.81 52.32 21.15 L 52.32 19.39 C 52.34 18.13 52.26 17.15 52.11 16.44 C 51.96 15.74 51.72 15.23 51.38 14.91 C 51.04 14.60 50.57 14.44 49.98 14.44 C 49.52 14.44 49.08 14.57 48.68 14.83 C 48.48 14.96 48.31 15.11 48.15 15.29 C 48.00 15.46 47.86 15.65 47.75 15.86 L 47.74 15.86 L 47.74 10 L 45.32 10 z M 94.83 10.25 C 93.91 10.25 93.48 10.61 93.48 11.81 C 93.48 13.05 93.91 13.35 94.83 13.35 C 95.77 13.35 96.19 13.05 96.19 11.81 C 96.19 10.66 95.78 10.25 94.83 10.25 z M 67.44 10.31 C 64.14 10.31 63.40 12.21 63.40 16.34 L 63.40 20.15 C 63.40 24.06 64.21 26.00 66.56 26.00 C 68.00 26.00 68.86 25.31 69.19 23.91 L 69.55 25.81 L 71.03 25.81 L 71.03 18.25 L 71.03 18.24 L 67.41 18.24 L 67.41 20.19 L 68.82 20.19 L 68.82 21.47 C 68.82 23.38 68.38 24.10 67.34 24.10 C 66.32 24.10 66 23.12 66 20.52 L 66 16.22 C 66 13.11 66.37 12.19 67.35 12.19 C 68.01 12.19 68.40 12.58 68.53 14.02 C 68.57 14.50 68.59 15.10 68.58 15.83 L 70.83 15.68 C 71.14 12.21 70.35 10.31 67.44 10.31 z M 14.06 10.55 L 13.01 15.24 C 12.72 16.61 12.54 17.58 12.46 18.16 L 12.39 18.16 C 12.27 17.35 12.08 16.38 11.83 15.23 L 10.83 10.56 L 8.33 10.56 L 11.18 20.86 L 11.18 25.80 L 13.66 25.80 L 13.66 20.85 L 16.55 10.55 L 14.06 10.55 z M 30.33 10.56 L 30.33 12.58 L 32.83 12.58 L 32.83 25.81 L 35.27 25.81 L 35.27 12.58 L 37.76 12.58 L 37.76 10.56 L 30.33 10.56 z M 113.35 13.31 C 112.35 13.40 111.89 14.17 111.65 15.17 C 111.12 14.68 110.37 14.47 109.41 14.47 C 107.10 14.47 106.06 15.76 106.06 18.80 L 106.06 19.03 C 106.06 21.16 106.61 22.30 107.57 22.85 C 106.66 23.21 106.14 23.92 106.16 24.76 C 106.18 25.61 106.75 26.05 107.51 26.34 C 106.45 26.61 105.76 27.27 105.76 28.40 C 105.76 30.03 107.14 30.96 109.36 30.96 C 111.91 30.96 113.39 29.76 113.39 27.74 C 113.39 23.92 108.06 25.30 108.07 23.82 C 108.07 23.59 108.17 23.34 108.44 23.16 C 108.73 23.23 109.06 23.25 109.41 23.25 C 111.54 23.25 112.74 22.21 112.74 19.01 L 112.74 18.77 C 112.74 17.70 112.60 16.84 112.33 16.19 C 112.42 16.12 112.51 16.05 112.60 15.99 C 112.90 15.82 113.25 15.73 113.66 15.73 L 113.35 13.31 z M 85.40 14.43 C 84.45 14.43 83.64 14.88 83.07 15.71 C 82.99 15.82 82.91 15.95 82.84 16.08 L 82.81 16.08 L 82.58 14.66 L 80.60 14.66 L 80.60 25.81 L 83.11 25.81 L 83.11 16.91 C 83.38 16.45 83.77 16.21 84.21 16.21 C 84.75 16.21 84.99 16.66 84.99 17.57 L 84.99 25.81 L 87.5 25.81 L 87.5 17.39 C 87.5 17.23 87.50 17.08 87.48 16.93 C 87.75 16.45 88.14 16.21 88.58 16.21 C 89.12 16.21 89.36 16.66 89.36 17.57 L 89.36 25.81 L 91.88 25.81 L 91.88 17.39 C 91.88 15.52 91.29 14.42 89.77 14.43 C 88.77 14.43 87.91 14.95 87.33 15.91 C 87.05 14.97 86.45 14.43 85.40 14.43 z M 102.56 14.43 C 101.77 14.43 101.08 14.77 100.56 15.38 C 100.38 15.59 100.22 15.82 100.08 16.08 L 100.03 16.08 L 99.82 14.66 L 97.83 14.66 L 97.83 25.81 L 100.34 25.81 L 100.34 16.91 C 100.61 16.45 100.99 16.21 101.43 16.21 C 101.99 16.21 102.24 16.72 102.24 17.63 L 102.24 25.81 L 104.75 25.81 L 104.75 17.39 C 104.75 15.52 104.12 14.42 102.56 14.43 z M 19.43 14.46 C 18.59 14.46 17.92 14.63 17.41 14.96 C 16.89 15.29 16.50 15.82 16.26 16.55 C 16.02 17.28 15.91 18.23 15.91 19.43 L 15.91 21.06 C 15.91 22.24 16.02 23.20 16.23 23.91 C 16.44 24.62 16.80 25.15 17.30 25.49 C 17.80 25.83 18.49 26 19.39 26 C 20.25 26 20.92 25.83 21.42 25.5 C 21.92 25.17 22.29 24.63 22.51 23.91 C 22.74 23.19 22.85 22.25 22.85 21.06 L 22.85 19.43 C 22.85 18.23 22.73 17.28 22.50 16.56 C 22.27 15.84 21.91 15.31 21.41 14.97 C 20.91 14.63 20.25 14.46 19.43 14.46 z M 56.83 14.47 C 55.59 14.47 54.70 14.84 54.19 15.61 C 53.68 16.38 53.42 17.60 53.42 19.27 L 53.42 21.23 C 53.42 22.86 53.67 24.05 54.17 24.83 C 54.55 25.40 55.13 25.77 55.92 25.91 C 56.18 25.96 56.46 25.99 56.77 25.99 C 57.80 25.99 58.60 25.74 59.16 25.23 C 59.73 24.72 60.01 23.94 60.01 22.91 C 60.01 22.74 60.01 22.61 60 22.51 L 57.83 22.39 C 57.81 23.06 57.74 23.54 57.60 23.83 C 57.46 24.12 57.21 24.27 56.83 24.27 C 56.55 24.27 56.35 24.18 56.22 24.02 C 56.09 23.86 56.00 23.61 55.96 23.25 C 55.92 22.89 55.90 22.36 55.90 21.64 L 55.90 21.08 L 60.07 21.08 L 60.07 19.16 C 60.07 17.99 59.97 17.08 59.78 16.41 C 59.59 15.75 59.28 15.25 58.82 14.93 C 58.36 14.62 57.69 14.47 56.83 14.47 z M 75.83 14.47 C 73.32 14.47 72.24 15.61 72.46 18.32 L 74.66 18.5 C 74.68 16.77 74.93 16.18 75.73 16.18 C 76.44 16.18 76.59 16.72 76.59 18.27 L 76.59 19.08 C 73.41 19.93 72.22 21.31 72.22 23.33 C 72.22 25.15 73.30 26.06 74.68 26.06 C 75.79 26.06 76.46 25.44 76.82 24.46 L 76.85 24.46 L 77.10 25.82 L 79.01 25.82 L 79.01 18.38 C 79.01 15.78 78.18 14.45 75.83 14.47 z M 24.15 14.66 L 24.15 22.99 C 24.15 24.02 24.32 24.77 24.67 25.25 C 25.03 25.74 25.58 25.99 26.32 25.99 C 27.39 25.99 28.19 25.47 28.72 24.44 L 28.76 24.44 L 28.99 25.81 L 30.94 25.81 L 30.94 14.66 L 28.44 14.66 L 28.44 23.51 C 28.34 23.72 28.2 23.89 28 24.02 C 27.8 24.15 27.58 24.23 27.36 24.23 C 27.10 24.23 26.93 24.12 26.82 23.91 C 26.71 23.70 26.66 23.34 26.66 22.84 L 26.66 14.66 L 24.15 14.66 z M 37.01 14.66 L 37.01 22.99 C 37.01 24.02 37.20 24.77 37.55 25.25 C 37.82 25.62 38.19 25.85 38.67 25.94 C 38.83 25.97 39.00 25.99 39.18 25.99 C 40.25 25.99 41.05 25.47 41.58 24.44 L 41.64 24.44 L 41.85 25.81 L 43.82 25.81 L 43.82 14.66 L 41.32 14.66 L 41.32 23.51 C 41.22 23.72 41.06 23.89 40.86 24.02 C 40.66 24.15 40.46 24.23 40.24 24.23 C 39.98 24.23 39.79 24.12 39.68 23.91 C 39.57 23.70 39.52 23.34 39.52 22.84 L 39.52 14.66 L 37.01 14.66 z M 93.63 14.66 L 93.63 25.82 L 96.02 25.82 L 96.02 14.66 L 93.63 14.66 z M 56.83 16.15 C 57.10 16.15 57.28 16.23 57.41 16.38 C 57.53 16.53 57.62 16.79 57.67 17.16 C 57.72 17.53 57.75 18.07 57.75 18.78 L 57.75 19.58 L 55.91 19.58 L 55.91 18.78 C 55.91 18.05 55.93 17.52 55.97 17.16 C 56.01 16.81 56.09 16.55 56.22 16.39 C 56.35 16.23 56.55 16.15 56.83 16.15 z M 19.36 16.18 C 19.72 16.18 19.96 16.37 20.10 16.74 C 20.24 17.11 20.32 17.69 20.32 18.49 L 20.32 21.96 C 20.32 22.78 20.24 23.38 20.10 23.74 C 19.97 24.11 19.72 24.28 19.36 24.28 C 19.01 24.28 18.77 24.10 18.64 23.74 C 18.51 23.38 18.43 22.78 18.43 21.96 L 18.43 18.49 C 18.43 17.69 18.51 17.11 18.65 16.74 C 18.79 16.37 19.02 16.18 19.36 16.18 z M 109.41 16.19 C 110.12 16.19 110.33 16.73 110.33 18.75 L 110.33 19.14 C 110.33 21.14 110.09 21.63 109.41 21.63 C 108.73 21.63 108.46 21.14 108.46 19.14 L 108.46 18.75 C 108.46 16.74 108.70 16.19 109.41 16.19 z M 48.84 16.22 C 49.09 16.22 49.29 16.31 49.43 16.51 C 49.57 16.71 49.68 17.05 49.73 17.52 C 49.78 17.99 49.81 18.68 49.81 19.55 L 49.81 21 L 49.82 21 C 49.82 21.81 49.79 22.45 49.72 22.91 C 49.65 23.37 49.54 23.70 49.38 23.89 C 49.22 24.08 49.01 24.17 48.74 24.17 C 48.53 24.17 48.33 24.12 48.16 24.02 C 47.98 23.92 47.85 23.78 47.74 23.58 L 47.74 17.25 C 47.82 16.95 47.96 16.70 48.17 16.50 C 48.38 16.31 48.60 16.22 48.84 16.22 z M 76.60 20.36 L 76.60 23.60 C 76.36 23.99 75.98 24.30 75.58 24.30 C 74.98 24.30 74.74 23.81 74.74 22.88 C 74.74 21.66 75.29 20.78 76.60 20.36 z M 108.67 26.65 C 110.00 26.90 111.34 27.06 111.30 28.02 C 111.28 28.64 110.64 29.16 109.48 29.16 C 108.33 29.16 107.76 28.59 107.76 27.81 C 107.76 27.27 108.11 26.85 108.67 26.65 z"}}]}:
g.RU?{G:"div",aa:["ytp-icon","ytp-icon-logo"]}:{G:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 67 36",width:"100%"},J:[{G:"path",Va:!0,L:"ytp-svg-fill",T:{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.l=a;this.A=this.o=!1;sU(a,this.element,this,28666);this.R("click",this.C);this.O(a,"videodatachange",this.B);this.B();g.Te(this,kZ(b.Kb(),this.element))};
L_=function(a,b,c){g.eF.call(this);var d=this,e=g.W(a);this.A=a;this.o=b;this.Y=window.NaN;this.X=null;this.N=c;this.N.subscribe("autohideupdate",this.FA,this);c=!lO(g.UT(a));var f=new g.X({G:"div",L:"ytp-gradient-bottom"});g.M(this,f);g.pU(a,f.element,8);this.M=new g.oV(f,250,c,100);g.M(this,this.M);this.l=new g.X({G:"div",L:"ytp-chrome-bottom",J:[{G:"div",L:"ytp-chrome-controls"}]});g.M(this,this.l);g.pU(a,this.l.element,8);this.I=new g.oV(this.l,250,c,100);g.M(this,this.I);c=this.l.element.children[0];
e.D&&(c.style.background=e.Pb);this.g=new z_(a);g.Te(this.g,function(){a.C==d.g&&(a.C=null)});
g.M(this,this.g);a.C=this.g;g.pU(a,this.g.element,6);this.g.subscribe("show",this.QT,this);this.g.subscribe("show",(0,g.z)(b.tC,b,this.g));this.B=new j_(a,b);g.M(this,this.B);this.B.xa(this.l.element,0);f=new UZ(a,b);g.M(this,f);g.pU(a,f.element,4);this.B.subscribe("height-change",f.jT,f);f=new WZ(a);g.M(this,f);g.pU(a,f.element,4);f=new g.yU({G:"div",L:"ytp-left-controls"});g.M(this,f);f.xa(c);var k=new g.i_(a,b,!1);g.M(this,k);k.xa(f.element);e.I||(k=new g.g_(a,b),g.M(this,k),k.xa(f.element));k=
new g.i_(a,b,!0);g.M(this,k);k.xa(f.element);var l=new g.X({G:"span"});g.M(this,l);l.xa(f.element);if(!e.X&&(this.C=new d_(a,b),g.M(this,this.C),this.C.xa(l.element),e.K)){k=new I_(a,b,this.l.element);g.M(this,k);k.xa(l.element);l=new g.jF(l.element);g.M(this,l);var m=(0,g.z)(k.sC,k,!0);l.subscribe("hoverstart",m);l=new g.jF(f.element);g.M(this,l);k=(0,g.z)(k.sC,k,!1);l.subscribe("hoverend",k)}this.V=new G_(a,b);g.M(this,this.V);this.V.xa(f.element);f=new g.yU({G:"div",L:"ytp-right-controls"});g.M(this,
f);f.xa(c);c=new F_(a,b);g.M(this,c);c.xa(f.element);c=new w_(a,b,this.g);g.M(this,c);Hpa(this.g,c);c.xa(f.element);c=new $Z(a);g.M(this,c);g.pU(a,c.element,5);c.subscribe("show",(0,g.z)(b.kn,b,c));c=new a_(a,b,c);g.M(this,c);c.xa(f.element);e.Rg&&(this.D=new K_(a,b),g.M(this,this.D),this.D.xa(f.element));c=new E_(a,b);g.M(this,c);c.xa(f.element);e.Qb&&(c=new D_(a,b,this.g),g.M(this,c),c.xa(f.element));e.Qg&&(e=new SZ(a,b),g.M(this,e),e.xa(f.element));nka()&&(e=new f_(a,b),g.M(this,e),e.xa(f.element));
this.W=new ZZ(a,b);g.M(this,this.W);this.W.xa(f.element);this.F=new g.Jt(this.uP,null,this);g.M(this,this.F);this.H=null;this.O(a,"appresize",this.jt);this.O(a,"fullscreentoggled",this.jt);this.O(a,"presentingplayerstatechange",this.xu);this.jt()};
Ipa=function(a,b){if(lO(g.UT(a.A))||b){if(b){a.I.hide();a.M.hide();if(a.C){var c=a.C;c.F=!1;g.uU(c.l,c.element,c.A&&!1)}a.D&&(c=a.D,c.A=!1,g.uU(c.l,c.element,c.o&&!1));a.o.Kb().aj(a.ma())}}else b||(a.I.show(),a.M.show(),a.C&&(c=a.C,c.F=!0,g.uU(c.l,c.element,c.A&&!0)),a.D&&(c=a.D,c.A=!0,g.uU(c.l,c.element,c.o&&!0)),a.FA())};
Jpa=function(a){var b=g.VT(a.A).Ta().width;return Math.max(b-2*M_(a),100)};
M_=function(a){var b=a.o.Ed();return 12*(g.W(a.A).D?0:b?2:1)};
g.N_=function(a,b,c,d,e,f,k,l,m,n,q,r){f&&(a=a.charAt(0)+a.substring(1).toLowerCase(),c=c.charAt(0)+c.substring(1).toLowerCase());if("0"===b||"-1"===b)b=null;if("0"===d||"-1"===d)d=null;if(q){c=g.W(r);q={href:q,"aria-label":a,tabindex:"-1"};if(g.zL(c)||g.AL(c))q.target="_blank";g.X.call(this,{G:"div",aa:["ytp-button","ytp-sb"],J:[{G:"a",L:"ytp-sb-subscribe",T:q,J:[{G:"div",L:"ytp-sb-text",J:[{G:"div",L:"ytp-sb-icon"},a]},b?{G:"div",L:"ytp-sb-count",J:[b]}:""]}]});f&&g.S(this.element,"ytp-sb-classic")}else{g.X.call(this,
{G:"div",aa:["ytp-button","ytp-sb"],J:[{G:"div",L:"ytp-sb-subscribe",T:{tabindex:"-1","aria-label":a},J:[{G:"div",L:"ytp-sb-text",J:[{G:"div",L:"ytp-sb-icon"},a]},b?{G:"div",L:"ytp-sb-count",J:[b]}:""]},{G:"div",L:"ytp-sb-unsubscribe",T:{tabindex:"-1","aria-label":c},J:[{G:"div",L:"ytp-sb-text",J:[{G:"div",L:"ytp-sb-icon"},c]},d?{G:"div",L:"ytp-sb-count",J:[d]}:""]}]});var v=this;this.l=k;var B=this.va["ytp-sb-subscribe"],F=this.va["ytp-sb-unsubscribe"];f&&g.S(this.element,"ytp-sb-classic");if(e){l&&
g.S(this.element,"ytp-sb-subscribed");a=g.W(r);var L=null;"gaming"==a.playerStyle&&(L="gaming_channels");if(m){var Y=a.baseYtUrl+"subscription_ajax";var la=function(){return{method:"POST",Xc:{action_create_subscription_to_channel:1,c:v.l},Lb:{feature:m,silo_name:L},withCredentials:!0}};
var $a=function(){return{method:"POST",Xc:{action_remove_subscriptions:1},Lb:{c:v.l,silo_name:L,feature:m},withCredentials:!0}}}else if(n)Y="/subscription_service",la=function(){return{method:"POST",
Xc:{action_subscribe:1},Lb:{channel_ids:v.l,itct:n}}},$a=function(){return{method:"POST",
Xc:{action_unsubscribe:1},Lb:{channel_ids:v.l,itct:n}}};
else return;var ba=function(){g.OD(Y,la());r.sa("SUBSCRIBE");F.focus();F.removeAttribute("aria-hidden");B.setAttribute("aria-hidden",!0)},ed=function(){g.OD(Y,$a());
r.sa("UNSUBSCRIBE");B.focus();B.removeAttribute("aria-hidden");F.setAttribute("aria-hidden",!0)};
this.O(B,"click",ba);this.O(F,"click",ed);this.O(B,"keypress",function(a){13==a.keyCode&&ba(a)});
this.O(F,"keypress",function(a){13==a.keyCode&&ed(a)});
var Ff=(0,g.z)(this.o,this),zb=(0,g.z)(this.A,this);r.addEventListener("SUBSCRIBE",Ff);r.addEventListener("UNSUBSCRIBE",zb);g.Te(this,function(){r.removeEventListener("SUBSCRIBE",Ff);r.removeEventListener("UNSUBSCRIBE",zb)})}else g.S(B,"ytp-sb-disabled"),g.S(F,"ytp-sb-disabled")}};
g.Lpa=function(a,b,c,d,e,f){b=Kpa(b,c,f);d=d||375;e=e||440;if(b=window.open(b,"loginPopup","width="+d+",height="+e+",resizable=yes,scrollbars=yes",!0))c=g.sF("LOGGED_IN",function(b){g.tF(g.sD("LOGGED_IN_PUBSUB_KEY",void 0));g.rD("LOGGED_IN",!0);a(b)}),g.rD("LOGGED_IN_PUBSUB_KEY",c),b.moveTo((window.screen.width-d)/2,(window.screen.height-e)/2)};
Kpa=function(a,b,c){var d="/signin?context=popup";c&&(d=window.document.location.protocol+"//"+c+d);c=window.document.location.protocol+"//"+window.document.domain+"/post_login";a&&(c=Kg(c,"mode",a));a=Kg(d,"next",c);b&&(a=Kg(a,"feature",b));return a};
O_=function(a){var b=new g.X({G:"a",L:"ytp-title-channel-logo",T:{href:"{{channelLink}}",target:"_blank"}});g.X.call(this,{G:"div",L:"ytp-title",J:[{G:"div",L:"ytp-title-channel",J:[b,{G:"div",L:"ytp-title-channel-popup",J:[{G:"div",L:"ytp-title-channel-heading",J:[{G:"h2",L:"ytp-title-channel-text",J:[{G:"a",T:{href:"{{popupChannelLink}}",target:"_blank"},J:["{{popupChannelName}}"]}]},{G:"h3",L:"ytp-title-channel-subtext",J:["{{subscriberCount}}"]}]}]}]},{G:"div",L:"ytp-title-text",J:[{G:"a",aa:["ytp-title-link",
"yt-uix-sessionlink"],T:{target:"_blank",href:"{{url}}","data-sessionlink":"feature=player-title"},J:["{{title}}"]},{G:"div",L:"ytp-title-subtext",J:[{G:"a",L:"ytp-title-channel-name",T:{href:"{{channelLink}}",target:"_blank"},J:["{{channelName}}"]},{G:"span",L:"ytp-title-view-count",J:["{{viewCount}}"]}]}]}]});g.M(this,b);this.l=a;this.A=null;this.N=this.va["ytp-title-link"];this.o=this.va["ytp-title-channel"];this.D=b;this.I=this.va["ytp-title-channel-popup"];this.B=null;this.C=!1;this.F=this.M=
this.K=null;sU(a,this.element,this,23851);sU(a,b.element,this,36925);this.O(a,"videodatachange",this.H);this.O(a,"videoplayerreset",this.H);g.W(a).H&&Mpa(this);this.H()};
Mpa=function(a){var b=new g.X({G:"div",L:"ytp-title-beacon"});g.M(a,b);b.xa(a.o,0);b=g.W(a.l).Zc?null:Kpa();var c=a.l.ea(),d=new g.N_(g.U("YTP_SUBSCRIBE"),null,g.U("YTP_SUBSCRIBED"),null,!0,!1,c.Ol,c.subscribed,"embed_title",null,b,a.l);a.B=d;g.M(a,d);d.xa(a.I);sU(a.l,d.element,a,36926);b={G:"div",L:"ytp-title-notifications-on",T:{title:g.U("YTP_SUBSCRIBE_NOTIFY_ON",void 0,"")},J:[g.dV()]};c={title:g.U("YTP_SUBSCRIBE_NOTIFY_OFF",void 0,"")};var e=new g.X({G:"button",aa:["ytp-button","ytp-title-notifications"],
J:[b,{G:"div",L:"ytp-title-notifications-off",T:c,J:[g.RU?{G:"div",aa:["ytp-icon","ytp-icon-notifications-inactive"]}:{G:"svg",T:{fill:"#fff",height:"24px",viewBox:"0 0 24 24",width:"24px"},J:[{G:"path",T:{d:"M18 11c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2v-5zm-6 11c.14 0 .27-.01.4-.04.65-.14 1.18-.58 1.44-1.18.1-.24.15-.5.15-.78h-4c.01 1.1.9 2 2.01 2z"}}]}]}]});g.M(a,e);e.xa(a.I);sU(a.l,e.element,a,36927);a.O(a.l,"SUBSCRIBE",
function(){g.S(a.element,"ytp-subscribed")});
a.O(a.l,"UNSUBSCRIBE",function(){a.C=!1;g.jq(a.element,"ytp-subscribed");g.jq(a.element,"ytp-notifications-enabled")});
a.O(a.o,"mouseenter",function(){if(524<=a.l.Ss().width){a.F.stop();var b=a.l.getRootNode();g.S(b,"ytp-title-channel-expanded");g.jq(b,"ytp-title-channel-collapsed");g.uU(a.l,d.element,!0);g.uU(a.l,e.element,!0)}});
a.O(a.o,"mouseleave",function(){a.F.start();g.uU(a.l,d.element,!1);g.uU(a.l,e.element,!1)});
a.O(a.o,"click",function(){g.tU(a.l,a.o)});
a.O(d.element,"click",function(){g.tU(a.l,d.element)});
a.O(e.element,"click",function(){g.tU(a.l,e.element);g.OD("/subscription_ajax?action_update_subscription_preferences=1",{method:"POST",Lb:{channel_id:a.M,receive_all_updates:!a.C}});a.C=!a.C;g.T(a.element,"ytp-notifications-enabled",a.C)});
a.F=new g.Mt(function(){var b=a.l.getRootNode();g.hq(b,"ytp-title-channel-expanded")&&(g.jq(b,"ytp-title-channel-expanded"),g.S(b,"ytp-title-channel-collapsed"))},500);
g.M(a,a.F)};
Npa=function(a){var b=a.l.ea(),c=2==a.l.Ra()&&b.isListed;c=b.videoId&&(c||g.W(a.l).H);var d=a.l.getRootNode();if(c&&b.videoId==a.K)g.S(d,"ytp-title-extra-info"),g.uU(a.l,a.D.element,!0);else if(g.jq(d,"ytp-title-extra-info"),g.uU(a.l,a.D.element,!1),c&&b.author&&b.channelPath&&b.profilePicture){c=b.videoId;d=b.Ol;var e=b.author,f=b.channelPath,k=b.profilePicture;b=b.gu;f=g.W(a.l).protocol+"://"+GL(g.W(a.l))+f;a.D.element.style.backgroundImage="url("+k+")";a.B&&(a.B.l=d);a.D.updateValue("channelLink",
f);a.updateValue("channelLink",f);2==a.l.Ra()?a.updateValue("channelName",e):a.updateValue("channelName","");a.updateValue("popupChannelLink",f);a.updateValue("popupChannelName",e);a.updateValue("subscriberCount",b);a.M=d;a.K=c;Npa(a)}};
g.P_=function(a,b){var c=g.VT(a).Ta();g.X.call(this,{G:"div",J:[{G:"div",L:"ytp-tooltip-bg",J:[{G:"div",L:"ytp-tooltip-duration",J:["{{duration}}"]}]},{G:"div",L:"ytp-tooltip-text-wrapper",J:[{G:"div",L:"ytp-tooltip-image"},{G:"div",L:"ytp-tooltip-title",J:["{{title}}"]},{G:"span",L:"ytp-tooltip-text",J:["{{text}}"]}]}]});this.M=a;this.fa=b;this.ba=g.W(a).g;this.F=this.va["ytp-tooltip-bg"];this.ka=this.va["ytp-tooltip-image"];this.da=(0,g.z)(this.dQ,this);this.N=(0,g.z)(this.fQ,this);this.W=(0,g.z)(this.kf,
this);this.o=null;this.H=new g.oV(this,100);g.M(this,this.H);this.l=null;this.K=!1;this.A=null;this.C=window.NaN;this.D="";this.ca=c.width;this.I=!0;this.B=1;this.X=new g.Mt(this.QJ,250,this);g.M(this,this.X);this.Y=new g.Mt(this.kf,5E3,this);g.M(this,this.Y)};
R_=function(a,b){if(null!=a.l)if(b)switch(a.l){case 3:case 2:Q_(a);a.H.show();break;default:a.H.show()}else a.H.hide();a.I=b};
kZ=function(a,b){if(a.ba)return g.y;b.addEventListener("mouseover",a.N);return(0,g.z)(function(){this.o==b&&this.kf();b.removeEventListener("mouseover",this.N)},a)};
Ppa=function(a,b,c){if(a.l)if(3==a.l)a.kf();else return;Opa(a,b,3,c)};
Opa=function(a,b,c,d){(0,window.isNaN)(a.C)||(a.C=window.NaN,a.F.style.background="");a.o=b;a.K=!!d;d?a.D=d:(a.D=b.getAttribute("title"),b.removeAttribute("title"));a.element.className="ytp-tooltip";if(d=b.getAttribute("data-tooltip-image"))a.ka.style.backgroundImage="url("+d+")";g.T(a.element,"ytp-tooltip-image-enabled",!!d);b=b.getAttribute("data-tooltip-opaque");g.T(a.element,"ytp-tooltip-opaque",!!b);a.l=c;a.M.addEventListener("appresize",a.W);a.I&&(Q_(a),a.H.show(0))};
Q_=function(a){var b=a.o.getAttribute("data-tooltip-text");if(b&&!a.K){a.updateValue("text",b);var c=a.o.getAttribute("data-duration");a.update({title:a.D,duration:c});var d=a.o.getAttribute("data-preview"),e=160*a.B,f=90*a.B,k=160*a.B,l=90*a.B;a.F.style.width=e+"px";a.F.style.height=f+"px";a.F.style.backgroundImage=d?"url("+d+")":"";a.F.style.backgroundPosition=(e-k)/2+"px "+(f-l)/2+"px";a.F.style.backgroundSize=k+"px "+l+"px";g.iq(a.element,["ytp-text-detail","ytp-preview"]);g.T(a.element,"ytp-has-duration",
!!c)}else a.updateValue("text",a.D),g.kq(a.element,["ytp-text-detail","ytp-preview","ytp-has-duration"]);3==a.l?a.element.setAttribute("role","status"):a.element.removeAttribute("role");Qpa(a,!!b)};
Qpa=function(a,b,c){a.element.style.maxWidth=b?"":Math.min(a.ca,300*a.B)+"px";a.fa.Nt(a.element,a.o,c,1==a.l);a.element.style.top?g.S(a.element,"ytp-bottom"):a.element.style.bottom&&g.S(a.element,"ytp-top");3==a.l&&a.Y.start()};
e_=function(a){a.o&&!a.K&&a.o.hasAttribute("title")&&(a.D=a.o.getAttribute("title"),a.o.removeAttribute("title"),a.I&&Q_(a))};
Rpa=function(a,b){g.T(a.element,"ytp-preview",0<=b);if(!(0>b||b==a.C)){a.C=b;var c=160*a.B,d=160*a.B,e=eM(a.A,a.C,c);TZ(a.F,e,c,d,!0);a.X.start()}};
Tpa=function(a,b,c){Spa("add_to_watch_later_list",a,b,c)};
Upa=function(a,b,c){Spa("delete_from_watch_later_list",a,b,c)};
Spa=function(a,b,c,d){g.OD(c?c+"playlist_video_ajax?action_"+a+"=1":"/playlist_video_ajax?action_"+a+"=1",{method:"POST",Xc:{feature:b.feature||null,authuser:b.Zc||null,pageid:b.pageId||null},Lb:{video_ids:b.videoIds||null,source_playlist_id:b.sourcePlaylistId||null,full_list_id:b.fullListId||null,delete_from_playlists:b.r2||null,add_to_playlists:b.e2||null,plid:g.sD("PLAYBACK_ID")||null},context:b.context,onError:b.onError,Hb:function(a,c){b.Hb.call(this,a,c)},
dd:b.dd,withCredentials:!!d})};
T_=function(a,b,c){g.X.call(this,{G:"button",aa:["ytp-watch-later-button","ytp-button"],T:{title:"{{title}}","data-tooltip-image":"{{image}}","data-tooltip-opaque":String(g.W(a).H)},J:[{G:"div",L:"ytp-watch-later-icon",J:["{{icon}}"]},{G:"div",L:"ytp-watch-later-title",J:["{{watch_later}}"]}]});this.l=a;this.F=b.Kb();this.H=c;this.C=null;this.D=this.B=this.A=this.o=!1;sU(a,this.element,this,28665);this.R("click",this.wN,this);this.O(a,"videoplayerreset",this.xN);this.O(a,"appresize",this.xd);this.xd(g.VT(a).Ta());
a=g.W(this.l);c=g.kG("yt-player-watch-later-pending");a.l&&c?(VG(),Vpa(this,c.videoId)):S_(this,2);g.Te(this,kZ(b.Kb(),this.element))};
Vpa=function(a,b){if(!a.A){a.A=!0;S_(a,3);var c=g.W(a.l);(a.o?Upa:Tpa)({videoIds:b,Zc:c.Zc,pageId:c.pageId,onError:a.fS,Hb:a.o?a.gS:a.eS,context:a},c.baseYtUrl,!0)}};
S_=function(a,b,c){if(b!=a.C){switch(b){case 3:var d=uX();break;case 1:d=TU();break;case 2:d=g.RU?{G:"div",aa:["ytp-icon","ytp-icon-watch-later"]}:{G:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Va:!0,L:"ytp-svg-fill",T:{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:d=g.RU?{G:"div",aa:["ytp-icon","ytp-icon-alert"]}:
{G:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Va:!0,L:"ytp-svg-fill",T:{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"}}]}}a.updateValue("icon",d);a.C=b}b=g.W(a.l);c?a.update({title:c,image:null}):b.userDisplayName?(c={USER_NAME:b.userDisplayName},a.update({title:a.o?g.U("YTP_ADDED_TO_WATCH_LATER_AS",
c):g.U("YTP_WATCH_LATER_AS_2",c),image:b.userDisplayImage})):a.update({title:g.U("YTP_WATCH_LATER_2"),image:null});e_(a.F)};
U_=function(a){g.X.call(this,{G:"a",aa:["ytp-watermark","yt-uix-sessionlink"],T:{target:"_blank",href:"{{url}}","aria-label":g.U("YTP_URL_NAVIGATE_TO",{WEBSITE:HL(g.W(a))}),"data-sessionlink":"feature=player-watermark"},J:[g.RU?{G:"div",aa:["ytp-icon","ytp-icon-watermark"]}:{G:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 110 26",width:"100%"},J:[{G:"path",Va:!0,L:"ytp-svg-fill",T:{d:"M 16.68,.99 C 13.55,1.03 7.02,1.16 4.99,1.68 c -1.49,.4 -2.59,1.6 -2.99,3 -0.69,2.7 -0.68,8.31 -0.68,8.31 0,0 -0.01,5.61 .68,8.31 .39,1.5 1.59,2.6 2.99,3 2.69,.7 13.40,.68 13.40,.68 0,0 10.70,.01 13.40,-0.68 1.5,-0.4 2.59,-1.6 2.99,-3 .69,-2.7 .68,-8.31 .68,-8.31 0,0 .11,-5.61 -0.68,-8.31 -0.4,-1.5 -1.59,-2.6 -2.99,-3 C 29.11,.98 18.40,.99 18.40,.99 c 0,0 -0.67,-0.01 -1.71,0 z m 72.21,.90 0,21.28 2.78,0 .31,-1.37 .09,0 c .3,.5 .71,.88 1.21,1.18 .5,.3 1.08,.40 1.68,.40 1.1,0 1.99,-0.49 2.49,-1.59 .5,-1.1 .81,-2.70 .81,-4.90 l 0,-2.40 c 0,-1.6 -0.11,-2.90 -0.31,-3.90 -0.2,-0.89 -0.5,-1.59 -1,-2.09 -0.5,-0.4 -1.10,-0.59 -1.90,-0.59 -0.59,0 -1.18,.19 -1.68,.49 -0.49,.3 -1.01,.80 -1.21,1.40 l 0,-7.90 -3.28,0 z m -49.99,.78 3.90,13.90 .18,6.71 3.31,0 0,-6.71 3.87,-13.90 -3.37,0 -1.40,6.31 c -0.4,1.89 -0.71,3.19 -0.81,3.99 l -0.09,0 c -0.2,-1.1 -0.51,-2.4 -0.81,-3.99 l -1.37,-6.31 -3.40,0 z m 29.59,0 0,2.71 3.40,0 0,17.90 3.28,0 0,-17.90 3.40,0 c 0,0 .00,-2.71 -0.09,-2.71 l -9.99,0 z m -53.49,5.12 8.90,5.18 -8.90,5.09 0,-10.28 z m 89.40,.09 c -1.7,0 -2.89,.59 -3.59,1.59 -0.69,.99 -0.99,2.60 -0.99,4.90 l 0,2.59 c 0,2.2 .30,3.90 .99,4.90 .7,1.1 1.8,1.59 3.5,1.59 1.4,0 2.38,-0.3 3.18,-1 .7,-0.7 1.09,-1.69 1.09,-3.09 l 0,-0.5 -2.90,-0.21 c 0,1 -0.08,1.6 -0.28,2 -0.1,.4 -0.5,.62 -1,.62 -0.3,0 -0.61,-0.11 -0.81,-0.31 -0.2,-0.3 -0.30,-0.59 -0.40,-1.09 -0.1,-0.5 -0.09,-1.21 -0.09,-2.21 l 0,-0.78 5.71,-0.09 0,-2.62 c 0,-1.6 -0.10,-2.78 -0.40,-3.68 -0.2,-0.89 -0.71,-1.59 -1.31,-1.99 -0.7,-0.4 -1.48,-0.59 -2.68,-0.59 z m -50.49,.09 c -1.09,0 -2.01,.18 -2.71,.68 -0.7,.4 -1.2,1.12 -1.49,2.12 -0.3,1 -0.5,2.27 -0.5,3.87 l 0,2.21 c 0,1.5 .10,2.78 .40,3.78 .2,.9 .70,1.62 1.40,2.12 .69,.5 1.71,.68 2.81,.78 1.19,0 2.08,-0.28 2.78,-0.68 .69,-0.4 1.09,-1.09 1.49,-2.09 .39,-1 .49,-2.30 .49,-3.90 l 0,-2.21 c 0,-1.6 -0.2,-2.87 -0.49,-3.87 -0.3,-0.89 -0.8,-1.62 -1.49,-2.12 -0.7,-0.5 -1.58,-0.68 -2.68,-0.68 z m 12.18,.09 0,11.90 c -0.1,.3 -0.29,.48 -0.59,.68 -0.2,.2 -0.51,.31 -0.81,.31 -0.3,0 -0.58,-0.10 -0.68,-0.40 -0.1,-0.3 -0.18,-0.70 -0.18,-1.40 l 0,-10.99 -3.40,0 0,11.21 c 0,1.4 .18,2.39 .68,3.09 .49,.7 1.21,1 2.21,1 1.4,0 2.48,-0.69 3.18,-2.09 l .09,0 .31,1.78 2.59,0 0,-14.99 c 0,0 -3.40,.00 -3.40,-0.09 z m 17.31,0 0,11.90 c -0.1,.3 -0.29,.48 -0.59,.68 -0.2,.2 -0.51,.31 -0.81,.31 -0.3,0 -0.58,-0.10 -0.68,-0.40 -0.1,-0.3 -0.21,-0.70 -0.21,-1.40 l 0,-10.99 -3.40,0 0,11.21 c 0,1.4 .21,2.39 .71,3.09 .5,.7 1.18,1 2.18,1 1.39,0 2.51,-0.69 3.21,-2.09 l .09,0 .28,1.78 2.62,0 0,-14.99 c 0,0 -3.40,.00 -3.40,-0.09 z m 20.90,2.09 c .4,0 .58,.11 .78,.31 .2,.3 .30,.59 .40,1.09 .1,.5 .09,1.21 .09,2.21 l 0,1.09 -2.5,0 0,-1.09 c 0,-1 -0.00,-1.71 .09,-2.21 0,-0.4 .11,-0.8 .31,-1 .2,-0.3 .51,-0.40 .81,-0.40 z m -50.49,.12 c .5,0 .8,.18 1,.68 .19,.5 .28,1.30 .28,2.40 l 0,4.68 c 0,1.1 -0.08,1.90 -0.28,2.40 -0.2,.5 -0.5,.68 -1,.68 -0.5,0 -0.79,-0.18 -0.99,-0.68 -0.2,-0.5 -0.31,-1.30 -0.31,-2.40 l 0,-4.68 c 0,-1.1 .11,-1.90 .31,-2.40 .2,-0.5 .49,-0.68 .99,-0.68 z m 39.68,.09 c .3,0 .61,.10 .81,.40 .2,.3 .27,.67 .37,1.37 .1,.6 .12,1.51 .12,2.71 l .09,1.90 c 0,1.1 .00,1.99 -0.09,2.59 -0.1,.6 -0.19,1.08 -0.49,1.28 -0.2,.3 -0.50,.40 -0.90,.40 -0.3,0 -0.51,-0.08 -0.81,-0.18 -0.2,-0.1 -0.39,-0.29 -0.59,-0.59 l 0,-8.5 c .1,-0.4 .29,-0.7 .59,-1 .3,-0.3 .60,-0.40 .90,-0.40 z"}}]}]});
this.o=a;this.l=null;this.O(a,"videodatachange",this.A);this.O(a,"presentingplayerstatechange",this.C);a=g.UT(a);g.HU(this,!g.V(a,2));this.A()};
V_=function(a){fZ.call(this,a);var b=g.W(a),c=g.VT(a);this.oa=48;this.na=69;b.H&&(this.oa=42,this.na=63);var d=g.W(this.g),e=d.N;if(OI("ytp-normal-css-loaded")){var f=OI("ytp-sprite-mode-css-loaded");e!=f&&g.tD(Error("Player sprite mode mismatch. playerInSpriteMode: "+e+", spriteModeCssServed: "+f+", isMobile: "+d.g),"WARNING")}this.M=null;this.F=[];d=new g.X({G:"div",L:"ytp-gradient-top"});g.M(this,d);g.pU(a,d.element,1);this.Pa=new g.oV(d,250,!0,100);g.M(this,this.Pa);this.A=new g.X({G:"div",L:"ytp-chrome-top"});
g.M(this,this.A);g.pU(a,this.A.element,1);this.Oa=new g.oV(this.A,250,!0,100);g.M(this,this.Oa);this.ba=[];this.D=new g.P_(a,this);g.M(this,this.D);g.pU(a,this.D.element,4);b.l&&b.Kd&&(this.Pb=new KZ(a,this),g.M(this,this.Pb),g.pU(a,this.Pb.element,4));d=new NZ(a);g.M(this,d);g.pU(a,d.element,5);d.subscribe("show",(0,g.z)(this.kn,this,d));this.ba.push(d);d=new OZ(a,this,d);g.M(this,d);d.xa(this.A.element);this.Ea=new O_(a);g.M(this,this.Ea);this.Ea.xa(this.A.element);d=new g.yU({G:"div",L:"ytp-chrome-top-buttons"});
g.M(this,d);d.xa(this.A.element);b.zn&&(this.da=new T_(a,this,this.A.element),g.M(this,this.da),this.da.xa(d.element));e=new QZ(a,this);g.M(this,e);g.pU(a,e.element,5);e.subscribe("show",(0,g.z)(this.kn,this,e));this.ba.push(e);this.Ia=new RZ(a,this,e,this.A.element);g.M(this,this.Ia);this.Ia.xa(d.element);b.jm&&(e=new fpa(a),g.M(this,e),g.pU(a,e.element,4));this.N=new jZ(a,this,this.A.element);g.M(this,this.N);this.N.xa(d.element);e=new lZ(a,this.N);g.M(this,e);e.xa(d.element);(this.l="1"==b.o?new L_(a,
this,this.o):null)&&g.M(this,this.l);"3"==b.o&&(d=new PZ(a,this),g.M(this,d),g.pU(a,d.element,8));this.H=new EZ(a,this);g.M(this,this.H);this.H.subscribe("show",this.eD,this);this.ka=!1;b.Sg&&(d=new U_(a),g.M(this,d),g.pU(a,d.element,7));d=new vV(a,new zV(a));g.M(this,d);g.pU(a,d.element,4);this.W=new g.X({G:"div",T:{tabindex:"0"}});this.W.R("focus",this.uH,this);g.M(this,this.W);this.V=new g.X({G:"div",T:{tabindex:"0"}});this.V.R("focus",this.vH,this);g.M(this,this.V);(this.X=b.useTabletControls?
null:new FZ(a,c,this.H,this.o,this.B,(0,g.z)(this.nn,this)))&&g.M(this,this.X);this.O(a,"fullscreentoggled",this.SM);this.O(a,"offlineslatestatechange",this.pQ,this);this.O(a,"cardstatechange",this.Kg,this)};
W_=function(a,b,c){b=c?b.lastElementChild:b.firstElementChild;for(var d=null;b;){if("none"!=nh(b,"display")&&"true"!=b.getAttribute("aria-hidden")){var e=void 0;0<=b.tabIndex?e=b:e=W_(a,b,c);e&&(d?c?e.tabIndex>d.tabIndex&&(d=e):e.tabIndex<d.tabIndex&&(d=e):d=e)}b=c?b.previousElementSibling:b.nextElementSibling}return d};
X_=function(a,b,c){g.K.call(this);this.ka=b;this.fa=c;this.F=this.M=this.D=this.A=this.N=this.W=this.V=this.o=this.I=this.l=null;this.X={};this.ba={};this.da=null;this.g=a;this.H=this.Y=this.C=this.K=this.B=null;this.ca=g.W(a).experiments.g("web_player_defer_modules")};
g.Wpa=function(a){var b=g.W(a.g);if(g.RL(b)||b.kc||!b.Kd&&!b.da)return!1;var c=a.g.Ra();if(2==c)return!1;if(3==c)return b.experiments.g("desktop_enable_autoplay");a=a.g.ea();return!!a&&(!a.za||b.experiments.g("allow_live_autoplay"))};
Xpa=function(a){a.ca&&(a.yq(),a.wq(),a.xq())};
Z_=function(a,b,c,d){try{if(d){var e=g.Y_[b];if(e)return new e(a.g);"creatorendscreen"==b?Ypa(a,"annotations_module",c):Ypa(a,b,c)}else g.mU(a.g,b)}catch(f){g.mU(a.g,b),g.tD(f)}return null};
$_=function(a,b){a.l&&(b||a.l.ud())&&(g.Ue(a.l),a.l=null);a.I&&(b||a.I.ud())&&(g.Ue(a.I),a.I=null);a.o&&(b||a.o.ud()?(g.Ue(a.o),a.o=null):a.o.loaded&&a.o.unload());a.V&&(b||a.V.ud())&&(g.Ue(a.V),a.V=null);a.W&&(b||a.W.ud())&&(g.Ue(a.W),a.W=null);a.N&&(b||a.N.ud())&&(g.Ue(a.N),a.N=null);a.A&&(b||a.A.ud())&&(g.Ue(a.A),a.A=null);a.D&&(b||a.D.ud())&&(g.Ue(a.D),a.D=null);a.M&&(b||a.M.ud())&&(g.Ue(a.M),a.M=null);a.F&&(b||a.F.ud())&&(g.Ue(a.F),a.F=null);a.K&&(b||a.K.ud())&&(g.Ue(a.K),a.K=null);a.C&&(b||
a.C.ud())&&(g.Ue(a.C),a.C=null);a.B&&(b||a.B.ud())&&(g.Ue(a.B),a.B=null)};
g.ST=function(a){return g.W(a.g).Qb?a.K:null};
Ypa=function(a,b,c){if(a.ka){for(var d=a.ka+b+".js",e=window.document.getElementsByTagName("SCRIPT"),f=!1,k,l=0;l<e.length;l++){var m=e[l];m.src==d&&(k=m)}k||(k=g.zd("SCRIPT"),f=!0);var n=function(){a.ha()||c.call(a)},q=function(){a.ha()||g.mU(a.g,b)};
k.onload=g.Ea(function(a){Gf(n);a&&a()},k.onload);
k.onerror=g.Ea(function(a){Gf(q);a&&a()},k.onerror);
k.onreadystatechange=g.Ea(function(a){switch(k.readyState){case "loaded":case "complete":Gf(n,this)}a&&a()},k.onreadystatechange);
f&&((e=g.W(a.g).gm)&&k.setAttribute("nonce",e),g.Uc(k,g.Yd(d)),d=window.document.getElementsByTagName("HEAD")[0]||window.document.body,d.insertBefore(k,d.firstChild),g.Te(a,function(){k.parentNode&&k.parentNode.removeChild(k);g.Y_[b]=null;"annotations_module"==b&&(g.Y_.creatorendscreen=null)}))}};
a0=function(a,b){g.K.call(this);this.o=a||window.NaN;this.g=b||null;this.l=[]};
b0=function(){this.g=[];this.l=[];this.o=[]};
$pa=function(a,b,c){c=g.zd(c?"AUDIO":"VIDEO");g.Fa(c,Zpa);g.SE(c,"loadeddata",(0,g.z)(c.l,c));sL&&6<=c0&&g.SE(c,"webkitbeginfullscreen",(0,g.z)(c.play,c));a.l.push(c);b?a.o.push(c):d0(a,c);return c};
d0=function(a,b){g.Oa(a.l,b)&&!g.Oa(a.g,b)&&(b.src||b.load(),g.Ta(a.o,b)||a.g.push(b))};
e0=function(a){g.K.call(this);this.l=null;for(var b=[],c=0;100>=c;c++)b.push(c/100);b={threshold:b};(this.g=window.IntersectionObserver?new window.IntersectionObserver((0,g.z)(this.o,this),b):null)&&this.g.observe(a)};
f0=function(a){var b=a.g,c=["html5-video-player"];b.D&&c.push("ytp-dni");g.X.call(this,{G:"div",aa:c,T:{tabindex:"-1",id:a.fa.attrs.id},J:[{G:"div",L:"html5-video-container",T:{"data-layer":"0"}}]});b.Tn&&this.to("ytp-transparent");g.CE(this.element,"version",a.fa.assets.js);this.app=a;this.o=this.va["html5-video-container"];this.Y=!!this.o;this.A=new g.Wg(0,0,0,0);this.l=null;this.D=new g.Wg(0,0,0,0);this.H=this.M=this.K=window.NaN;this.C=!1;this.F=window.NaN;this.I=!1;this.B=null;this.addEventListener=
(0,g.z)(this.element.addEventListener,this.element);this.removeEventListener=(0,g.z)(this.element.removeEventListener,this.element);this.dispatchEvent=function(){};
this.N=(0,g.z)(function(){this.element.focus()},this);
LL(b)&&"blazer"!=b.playerStyle&&"mweb-polymer"!=b.playerStyle&&window.matchMedia&&(this.W="desktop-polymer"==b.playerStyle?[{query:window.matchMedia("(max-width: 656px)"),size:new g.cd(426,240)},{query:window.matchMedia("(max-width: 856px)"),size:new g.cd(640,360)},{query:window.matchMedia("(max-width: 999px)"),size:new g.cd(854,480)},{query:window.matchMedia("(min-width: 1720px) and (min-height: 980px)"),size:new g.cd(1280,720)},{query:window.matchMedia("(min-width: 1294px) and (min-height: 630px)"),
size:new g.cd(854,480)},{query:window.matchMedia("(min-width: 1000px)"),size:new g.cd(640,360)}]:[{query:window.matchMedia("(max-width: 656px)"),size:new g.cd(426,240)},{query:window.matchMedia("(min-width: 1720px) and (min-height: 980px)"),size:new g.cd(1280,720)},{query:window.matchMedia("(min-width: 1294px) and (min-height: 630px)"),size:new g.cd(854,480)},{query:window.matchMedia("(min-width: 657px)"),size:new g.cd(640,360)}]);this.X=!0;g.rG({YTP_ADVERTISEMENT:"Advertisement",YTP_AD_BADGE:"Ad",
YTP_AD_NOTIFICATION:"Ad in $X_SECONDSs",YTP_AD_POD_POSITION:"$AD_INDEX of $ADS_COUNT",YTP_AD_PREVIEW_NONSKIPPABLE:"Video will play after ad",YTP_AD_PREVIEW_NONSKIPPABLE_COUNTDOWN:"Your video will begin in $TIME_REMAINING",YTP_AIRPLAY:"AirPlay",YTP_AUDIO_TRACK_TITLE:"Audio track",YTP_AUTO:"Auto",YTP_CAN_SKIP_AD_SOON:"You can skip to video in $TIME_REMAINING",YTP_CARDS_BUTTON_ARIA_LABEL:"Show cards",YTP_CARDS_BUTTON_INFO:"Info",YTP_CARDS_BUTTON_SHOPPING:"Shopping",YTP_COPY_DEBUG_INFO:"Copy debug info",
YTP_COPY_VIDEO_URL:"Copy video URL",YTP_COPY_VIDEO_URL_AT_TIME:"Copy video URL at current time",YTP_GET_DEBUG_INFO:"Get debug info",YTP_GET_VIDEO_URL:"Get video URL",YTP_GET_VIDEO_URL_AT_TIME:"Get video URL at current time",YTP_GET_EMBED:"Get embed code",YTP_PLAYBACK_SPEED_CHANGED:"Speed is $RATE",YTP_DEFAULT_VIEW:"Default view",YTP_EMBED_COPY:"Copy embed code",YTP_ERROR_GENERIC_WITHOUT_LINK:"An error occurred. Please try again later.",YTP_ERROR_GENERIC_WITH_LINK_AND_CPN:"An error occurred. Please try again later. (Playback ID: $CPN) $BEGIN_LINKLearn More$END_LINK",
YTP_EXIT_FULLSCREEN:"Exit full screen",YTP_FULLSCREEN_GENERIC_ERROR:"Full screen is unavailable. $BEGIN_LINKLearn More$END_LINK",YTP_FULLSCREEN_UNSUPPORTED_ERROR:"Your browser doesn't support full screen. $BEGIN_LINKLearn More$END_LINK",YTP_VOLUME_UNSUPPORTED_ERROR:"Your browser doesn't support changing the volume. $BEGIN_LINKLearn More$END_LINK",YTP_FULLSCREEN:"Full screen",YTP_GOTO_LIVE_TOOLTIP:"Skip ahead to live broadcast.",YTP_LIVE:"Live",YTP_LIVE_NOW:"LIVE NOW",YTP_LOOP:"Loop",YTP_MORE:"More",
YTP_MORE_VIDEOS:"More videos",YTP_MDX_TOOLTIP:"Play on TV",YTP_MUTE:"Mute",YTP_NEXT:"Next",YTP_NORMAL_SPEED:"Normal",YTP_ON:"On",YTP_OFF:"Off",YTP_OPTIONS:"Options",YTP_PREVIOUS:"Previous",YTP_PLAYBACK_STALLED_AT_START:"If playback doesn't begin shortly, try restarting your device.",YTP_MISSING_FORMATS:"Missing options?",YTP_PLAYLIST:"Playlist",YTP_QUALITY_TITLE:"Quality",YTP_REPLAY:"Replay",YTP_TROUBLESHOOT_ISSUE:"Troubleshoot playback issue",YTP_SETTINGS:"Settings",YTP_SHARE:"Share",YTP_SHARE_LINK:"Share link",
YTP_SHARE_WITH_PLAYLIST_2:"Include playlist",YTP_SHOW_VIDEO_INFO:"Stats for nerds",YTP_SIGN_IN:"Sign in",YTP_SKIP_AD:"Skip Ad",YTP_SKIP_INTRO:"Skip Intro",YTP_SPEED_TITLE:"Speed",YTP_SUBSCRIBE:"Subscribe",YTP_SUBSCRIBED:"Subscribed",YTP_SUBSCRIBE_NOTIFY_OFF:"Get notified about every new video",YTP_SUBSCRIBE_NOTIFY_ON:"Stop getting notified about every new video",YTP_SUBTITLES:"Subtitles/CC",YTP_SUBTITLES_TOOLTIP:"Subtitles/closed captions",YTP_SUBTITLES_OFF:"Subtitles/closed captions off",YTP_SUBTITLES_ON:"Subtitles/closed captions on",
YTP_TAP_TO_UNMUTE_SHORT:"Tap to unmute",YTP_THEATER_MODE:"Theater mode",YTP_UNMUTE:"Unmute",YTP_URL_NAVIGATE_TO:"Watch on $WEBSITE",YTP_WATCH_ALL:"Watch entire video",YTP_WATCH_LATER_2:"Watch later",YTP_WATCH_LATER_AS_2:"Watch later as $USER_NAME",YTP_ADDED_TO_WATCH_LATER_AS:"Added as $USER_NAME",YTP_PLAY:"Play",YTP_ERROR_LICENSE:"Sorry, there was an error licensing this video.",YTP_ERROR_VIDEO_NOT_FOUND:"This video can not be found.",YTP_ERROR_ALREADY_PINNED_ON_A_DEVICE:"This video has already been downloaded on the maximum number of devices allowed by the copyright holder. Before you can play the video here, it needs to be unpinned on another device.",
YTP_ERROR_PURCHASE_NOT_FOUND:"This video requires payment.",YTP_ERROR_PURCHASE_REFUNDED:"This video's purchase has been refunded.",YTP_ERROR_STOPPED_BY_ANOTHER_PLAYBACK:"Your account is playing this video in another location. Please reload this page to resume watching.",YTP_ERROR_TOO_MANY_STREAMS_PER_USER:"Playback stopped because too many videos belonging to the same account are playing.",YTP_ERROR_TOO_MANY_STREAMS_PER_ENTITLEMENT:"Playback stopped because this video has been played on too many devices.",
YTP_ERROR_STREAMING_DEVICES_QUOTA_PER_24H_EXCEEDED:"Too many devices/IP addresses have been used over the 24 hour period.",YTP_ERROR_STREAM_LICENSE_NOT_FOUND:"Video playback interrupted. Please try again.",YTP_CLOSE:"Close",YTP_ANNOTATIONS:"Annotations",YTP_SEEK_SLIDER:"Seek slider",YTP_PAUSE:"Pause",YTP_AUTOPLAY:"Autoplay",YTP_RESET:"Reset",YTP_STOP:"Stop live playback",YTP_SCREENREADER_VOLUME_SETTING:"volume",YTP_SCREENREADER_VOLUME_MUTED:"muted",YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK:"This video format is not supported.",
YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK:"Your browser does not currently recognize any of the video formats available. $BEGIN_LINKClick here to visit our frequently asked questions about HTML5 video.$END_LINK",YTP_HTML5_FLASH_DEPRECATED:"Flash videos are no longer supported. For the best experience, please upgrade your browser to the latest version. $BEGIN_LINKLEARN MORE$END_LINK",YTP_ERROR_CAST_SESSION_DEVICE_MISMATCHED:"The device in the cast session doesn't match the requested one.",
YTP_ERROR_CAST_SESSION_VIDEO_MISMATCHED:"The video in the cast session doesn't match the requested one.",YTP_ERROR_CAST_TOKEN_EXPIRED:"Cast session was expired. Please refresh.",YTP_ERROR_CAST_TOKEN_FAILED:"Cast session not available. Please refresh or try again later.",YTP_ERROR_CAST_TOKEN_MALFORMED:"Invalid cast session. Please refresh or try again later.",YTP_ERROR_GEO_FAILURE:"This video isn't available in your country.",YTP_ERROR_INVALID_DRM_MESSAGE:"The DRM system specific message is invalid.",
YTP_ERROR_RENTAL_EXPIRED:"This video's rental has expired.",YTP_ERROR_RETRYABLE_ERROR:"There was a temporary server error. Please try again later.",YTP_ERROR_SERVER_ERROR:"There was an internal server error. Please try again later.",YTP_ERROR_STREAMING_NOT_ALLOWED:"Playback not allowed because this video is pinned on another device.",YTP_ERROR_UNSUPPORTED_DEVICE:"Playback isn't supported on this device.",YTP_ERROR_VIDEO_FORBIDDEN:"Access to this video is forbidden.",YTP_ERROR_VIDEO_UNAVAILABLE:"Video unavailable",
YTP_ERROR_FORMAT_UNAVALIABLE:"This video isn't avaliable at the selected quality. Please try again later.",YTP_DEVICE_FALLBACK:"Sorry, this video is not available on this device.",YTP_VISIT_ADVERTISERS_SITE:"Visit advertiser's site",YTP_PROGRESS_LABEL_2:"$PLAY_PROGRESS of $DURATION",YTP_PLAYLIST_NAME:"Playlist: $PLAYLIST_NAME",YTP_PLAYLIST_POSITION:"$CURRENT_POSITION/$PLAYLIST_LENGTH",YTP_SHARE_PANEL_ERROR:"An error occurred while retrieving sharing information. Please try again later.",YTP_PLAYLIST_AUTHOR_AND_POSITION:"by $AUTHOR \u2022 $CURRENT_POSITION/$PLAYLIST_LENGTH",
YTP_PLAYER_NORMAL:"YouTube Video Player",YTP_PLAYER_FULLSCREEN:"YouTube Video Player in Fullscreen",YTP_SPONSORED:"Sponsored",YTP_SPONSORED_PRODUCT_INFO:"You are seeing this product because we think it is relevant to the video. Google may be compensated by the merchant.",YTP_PIP:"Picture in Picture",YTP_AUTO_TRANSLATE:"Auto-translate",YTP_SWITCH_CAMERA:"Switch camera",YTP_MULTICAM_INDEX:"Viewing $CAMERA_INDEX of $CAMERA_COUNT",YTP_MORE_CAMERAS_AVAILABLE:"More cameras available",YTP_VIDEO_SUBTITLES_OVERRIDE:"Video Override",
YTP_VIDEO_SUBTITLES_OVERRIDE_DESC:"Allow for a different caption style if specified by the video.",YTP_WATCH_VIDEO_OR_PLAYLIST:"Watch $TITLE",YTP_FONT_FAMILY:"Font family",YTP_FONT_SIZE:"Font size",YTP_FONT_COLOR:"Font color",YTP_FONT_OPACITY:"Font opacity",YTP_BACKGROUND_COLOR:"Background color",YTP_BACKGROUND_OPACITY:"Background opacity",YTP_WINDOW_COLOR:"Window color",YTP_WINDOW_OPACITY:"Window opacity",YTP_COLOR_WHITE:"White",YTP_COLOR_YELLOW:"Yellow",YTP_COLOR_GREEN:"Green",YTP_COLOR_CYAN:"Cyan",
YTP_COLOR_BLUE:"Blue",YTP_COLOR_MAGENTA:"Magenta",YTP_COLOR_RED:"Red",YTP_COLOR_BLACK:"Black",YTP_FONT_FAMILY_MONO_SERIF:"Monospaced Serif",YTP_FONT_FAMILY_PROP_SERIF:"Proportional Serif",YTP_FONT_FAMILY_MONO_SANS:"Monospaced Sans-Serif",YTP_FONT_FAMILY_PROP_SANS:"Proportional Sans-Serif",YTP_FONT_FAMILY_CASUAL:"Casual",YTP_FONT_FAMILY_CURSIVE:"Cursive",YTP_FONT_FAMILY_SMALL_CAPS:"Small Capitals",YTP_CHAR_EDGE_STYLE:"Character edge style",YTP_EDGE_STYLE_NONE:"None",YTP_EDGE_STYLE_RAISED:"Raised",
YTP_EDGE_STYLE_DEPRESSED:"Depressed",YTP_EDGE_STYLE_OUTLINE:"Outline",YTP_EDGE_STYLE_DROP_SHADOW:"Drop Shadow",YTP_CONTRIBUTE_MENU_ITEM:"Add subtitles/CC",YTP_ASR_SETTINGS_LABEL:"Automatic Captions",YTP_LANGUAGE_OFF:"Off"});aqa(this);this.O(a.l,"mutedautoplaychange",this.zL)};
aqa=function(a){var b=a.app.l,c=(0,g.z)(a.BI,a),d=(0,g.z)(a.CI,a),e=(0,g.z)(a.yL,a),f=(0,g.z)(a.fI,a);b.addEventListener("initializingmode",c);b.addEventListener("videoplayerreset",d);b.addEventListener("videodatachange",e);b.addEventListener("presentingplayerstatechange",f);g.Te(a,function(){b.removeEventListener("initializingmode",c);b.removeEventListener("videoplayerreset",d);b.removeEventListener("videodatachange",e);b.removeEventListener("presentingplayerstatechange",f)})};
bqa=function(a){a.l&&(a.l.removeEventListener("focus",a.N),g.Fd(a.l),a.l=null)};
cqa=function(a,b){if(a.l){var c=a.app.g;LK&&(a.l.setAttribute("x-webkit-airplay","allow"),b.title?a.l.setAttribute("title",b.title):a.l.removeAttribute("title"));a.l.setAttribute("controlslist","nodownload");c.jo&&b.videoId&&(a.l.poster=b.nd(c,"default.jpg"))}c=g.tN(b,"yt:bgcolor");a.o.style.backgroundColor=c?c:"";a.K=jL(g.tN(b,"yt:stretch"));a.M=jL(g.tN(b,"yt:crop"),!0);a.Wf()};
g.h0=function(a){var b=a.app.g.experiments.g("html5_aspect_from_adaptive_format");if(b){var c=g.TT(a.app);if((c=c?c.g:null)&&c.Na&&c.Na.g)return b=c.Na.videoInfos[0],g0(b.video.width,b.video.height)}return(a=a.l)?g0(a.videoWidth,a.videoHeight):b?16/9:window.NaN};
g.i0=function(a,b){var c=a.Ta(),d=dqa(a,c,g.h0(a),b);return new g.Wg((c.width-d.width)/2,(c.height-d.height)/2,d.width,d.height)};
dqa=function(a,b,c,d){(0,window.isNaN)(a.K)||(c=a.K);var e=c;(0,window.isNaN)(a.H)?(0,window.isNaN)(a.M)||(e=a.M):e=a.H;a=g0(b.width,b.height);(0,window.isFinite)(e)||(e=Math.max(c,a));var f;e>a?f={width:b.width,height:b.width/e,aspectRatio:e}:e<a?f={width:b.height*e,height:b.height,aspectRatio:e}:f={width:b.width,height:b.height,aspectRatio:a};d||(0,window.isNaN)(c)||(c>e?f.width=f.height*c:c<e&&(f.height=f.width/c),f.aspectRatio=c);return f};
g0=function(a,b){return 1>Math.abs(j0*b-a)||1>Math.abs(j0/a-b)?j0:a/b};
k0=function(a){if(1==a.app.N)return!1;var b=g.UT(a.app.l);a=g.V(b,1024)&&!a.app.g.experiments.g("dompaused_video_visible_killswitch");return b&&!g.V(b,2)&&!a&&!lO(b)};
pW=function(a){var b="3"==a.app.g.o&&!a.C&&k0(a)&&!a.app.X;a.l.controls=b;a.l.tabIndex=b?0:-1;b?a.l.removeEventListener("focus",a.N):a.app.g.experiments.g("disable_focus_redirect")||a.l.addEventListener("focus",a.N)};
eqa=function(a){var b=g.h0(a),c=a.Ta(),d=1,e=!1,f=dqa(a,c,b),k=dE();if(k0(a)){var l=(0,window.isNaN)(b)||mK;LK&&!g.nc(601)?b=f.aspectRatio:l=l||"3"==a.app.g.o;l?l=new g.Wg(0,0,c.width,c.height):(d=f.aspectRatio/b,l=new g.Wg((c.width-f.width/d)/2,(c.height-f.height)/2,f.width/d,f.height),1==d&&g.gk&&(b=l.width-c.height*b,0<b&&(l.width+=b,l.height+=b)));k&&(a.l.style.display="");a.I=!0}else b=-c.height,LK?b*=window.devicePixelRatio:g.PL&&(b-=window.screen.height),l=new g.Wg(0,b,c.width,c.height),k&&
(a.l.style.display="none"),a.I=!1;g.Yg(a.D,l)||(a.D=l,g.KL(a.app.g)?(a.l.style.setProperty("width",l.width+"px","important"),a.l.style.setProperty("height",l.height+"px","important")):g.Bh(a.l,g.$g(l)),g.qh(a.l,g.ah(l)),e=!0);c=new g.Wg((c.width-f.width)/2,(c.height-f.height)/2,f.width,f.height);g.Yg(a.A,c)||(a.A=c,e=!0);g.jh(a.l,"transform",1==d?"":"scaleX("+d+")");return e};
l0=function(a){this.H=a;this.C=null;this.g=[];this.o=[];this.B=[];this.F=1;this.l=[];this.A=!1};
g.rU=function(a,b,c){a.A?a.B.push({type:b,data:c}):a.H.P(b,c)};
m0=function(a,b,c,d,e){g.X.call(this,{G:"div",L:"ytp-horizonchart"});this.o=Math.round(a/c);this.H=b;this.C=c;this.D=d;this.F=e;this.Bb=0;this.element.style.width=this.o*this.C+"px";this.element.style.height=this.H+"em";this.l=-1;this.B=this.A=null};
n0=function(a,b){if(-1==a.l){try{var c=g.zd("CANVAS");a.A=c.getContext("2d")}catch(m){}if(a.A){var d=a.o*a.C;a.B=c;a.B.width=d;a.B.style.width=d+"px";a.element.appendChild(a.B)}else for(a.C=Math.floor(a.C/4),a.o*=4,c=0;c<a.C;c++)d=g.zd("SPAN"),d.style.width=a.o+"px",d.style.left=a.o*c+"px",a.element.appendChild(d)}c=a.element.clientHeight||24;c!=a.l&&(a.l=c,a.A&&(c=1<(window.devicePixelRatio||1)?2:1,a.B.height=a.l*c,a.B.style.height=a.l+"px",a.A.scale(1,c)));c=g.na(b);for(var e=c.next();!e.done;e=
c.next()){d=a;var f=a.Bb,k=e.value;for(e=0;e+2<d.D.length&&d.D[e+1]<k;)e++;k=Math.min(1,(k-d.D[e])/(d.D[e+1]-d.D[e]));if(d.A)d.A.fillStyle=d.F[e],d.A.fillRect(f*d.o,0,d.o,d.l),d.A.fillStyle=d.F[e+1],d.A.fillRect(f*d.o,d.l*(1-k),d.o,d.l);else{f=d.element.children[f];var l=window.devicePixelRatio||1;k=Math.min(d.l,Math.round(d.l*k*l)/l);f.style.height=k+"px";f.style.backgroundColor=d.F[e+1];f.style.borderTop="solid "+(d.l-k)+"px "+d.F[e]}a.Bb=(a.Bb+1)%a.C}c=a.Bb;a.A?a.A.clearRect(c*a.o,0,a.o,a.l):(c=
a.element.children[c],c.style.height="0px",c.style.borderTop="")};
o0=function(a){var b=null;b={G:"button",aa:["html5-video-info-panel-close","ytp-button"],T:{title:"close"},J:["[x]"]};g.X.call(this,{G:"div",L:"html5-video-info-panel",J:[b,{G:"div",L:"html5-video-info-panel-content",J:[{G:"div",J:[{G:"div",J:["Video ID / CPN"]},{G:"span",J:["{{video_id_and_cpn}}"]}]},{G:"div",J:[{G:"div",J:["Viewport"]},{G:"span",J:["{{dimensions}}"]}]},{G:"div",J:[{G:"div",J:["Current / Optimal Res"]},{G:"span",J:["{{resolution}}"]}]},{G:"div",J:[{G:"div",J:["Volume / Normalized"]},
{G:"span",J:["{{volume}}"]}]},{G:"div",J:[{G:"div",J:["Codecs"]},{G:"span",J:["{{codecs}}"]}]},{G:"div",T:{style:"{{shader_info_style}}"},J:[{G:"div",J:["Shader Info"]},{G:"span",J:["{{shader_info}}"]}]},{G:"div",T:{style:"{{color_style}}"},J:[{G:"div",J:["Color"]},{G:"span",J:["{{color}}"]}]},{G:"div",T:{style:"{{drm_style}}"},J:[{G:"div",J:["Protected"]},{G:"span",J:["{{drm}}"]}]},{G:"div",J:[{G:"div",J:["Host"]},{G:"span",J:["{{stream_host}}"]}]},{G:"div",J:[{G:"div",J:["Connection Speed"]},{G:"span",
J:[{G:"span",J:["{{bandwidth_chart}}"]},{G:"span",J:["{{bandwidth_kbps}}"]}]}]},{G:"div",J:[{G:"div",J:["Network Activity"]},{G:"span",J:[{G:"span",J:["{{network_activity_chart}}"]},{G:"span",J:["{{network_activity_bytes}}"]}]}]},{G:"div",J:[{G:"div",J:["Buffer Health"]},{G:"span",J:[{G:"span",J:["{{buffer_health_chart}}"]},{G:"span",J:["{{buffer_health_seconds}}"]}]}]},{G:"div",T:{style:"{{live_latency_style}}"},J:[{G:"div",J:["Live Latency"]},{G:"span",J:[{G:"span",J:["{{live_latency_chart}}"]},
{G:"span",J:["{{live_latency_secs}}"]}]}]},{G:"div",T:{style:"{{live_mode_style}}"},J:[{G:"div",J:["Live Mode"]},{G:"span",J:["{{live_mode}}"]}]},{G:"div",J:[{G:"div",J:["Dropped Frames"]},{G:"span",J:["{{dropped_frames}}"]}]}]}]});b&&this.O(this.va["html5-video-info-panel-close"],"click",this.hide);b=[0,18750,37500,81250,128E3,256E3,512E3,2048E3,8192E3,32768E3,131072E3];var c="#000 #d53e4f #f46d43 #fdae61 #fee08b #e6f598 #abdda4 #66c2a5 #3288bd #124588 #fff".split(" "),d=b.map(function(a){return a/
4});
this.A=new m0(300,1,150,b,c);g.M(this,this.A);this.updateValue("bandwidth_chart",this.A);this.C=new m0(300,1,150,[0,3,10,15,30,60,90],"#000 #66c2a5 #abdda4 #e6f598 #fdae61 #f46d43 #a8330f".split(" "));g.M(this,this.C);this.updateValue("live_latency_chart",this.C);this.B=new m0(300,1,150,[0,15,30,60,90,120],"#000 #fdae61 #e6f598 #66c2a5 #3288bd #fff".split(" "));g.M(this,this.B);this.updateValue("buffer_health_chart",this.B);this.D=new m0(300,1,150,d,c);g.M(this,this.D);this.updateValue("network_activity_chart",
this.D);this.o=new g.Mt(this.Ms,500,this);g.M(this,this.o);this.l=a};
fqa=function(a){var b=/codecs="([^"]*)"/.exec(a.mimeType);return(b&&b[1]?b[1]+" ("+AG(a)+")":AG(a))+(a.video&&a.video.isAccelerated?" [acc]":"")};
p0=function(a,b){g.K.call(this);var c=this;this.fa=Oja(b);var d=this.fa.args||{};this.g=new EL(d);g.M(this,this.g);this.g.experiments.g("html5_parse_inline_fallback_host")&&(iJ=!0);this.xe=fL(xL(this.g)&&"blazer"!=this.g.playerStyle,d.enablesizebutton);this.fd=fL(!1,d.player_wide);this.Hc=this.Ga=!1;this.W=this.g.wb&&fL(!1,d.external_list);this.ra=(this.Kd=this.g.wb&&fL(!1,d.external_play_video))&&this.g.experiments.g("player_unified_fullscreen_transitions");this.M=new g.eF(this);g.M(this,this.M);
rg=function(a,b){g.tD(b,"WARNING")};
this.V=null;this.Y=new g.DC;g.M(this,this.Y);this.ba=new g.DC;g.M(this,this.ba);this.ca=new l0(this.ba);this.ca.pause();this.l=new MT(this);g.M(this,this.l);this.H=new MT(this,1);g.M(this,this.H);this.F=new f0(this);g.M(this,this.F);this.N=1;this.xb={};this.K=this.g.storeUserVolume?Vja():{volume:100,muted:this.g.mute};this.Xa=this.g.wb?new aP(this,1):new nH(this,1);g.M(this,this.Xa);this.B=null;this.Pa={};d={};this.Pb=(d.internalvideodatachange=this.ZN,d.playbackready=this.aO,d.playbackstarted=this.bO,
d.statechange=this.cO,d.signatureexpired=this.uR,d);this.A=gqa(this);g.M(this,this.A);this.yd=new g.eF(this);g.M(this,this.yd);this.I=new cP(this.g,this.A);this.o=hqa(this);d={};this.ce=(d.airplayactivechange=this.RN,d.airplayavailabilitychange=this.SN,d.beginseeking=this.lO,d.endseeking=this.dP,d.internalAbandon=this.yP,d.internalaudioformatchange=this.eO,d.internalvideodatachange=this.As,d.internalvideoformatchange=this.WR,d.liveviewshift=this.EP,d.playbackstalledatstart=this.AR,d.progresssync=
this.iK,d.seekto=this.jK,d.onLoadProgress=this.FP,d.onVideoProgress=this.lK,d.onLoadedMetadata=this.GP,d.onDompaused=this.YO,d.playbackready=this.AQ,d.statechange=this.yB,d.connectionissue=this.KO,d.newelementrequired=this.iQ,d.heartbeatparams=this.gK,d.videoelementevent=this.kK,d.drmoutputrestricted=this.aP,d);this.D=null;this.na=new a0(10,function(a){a!=g.TT(c,a.getPlayerType())&&a.dispose()});
g.M(this,this.na);this.Qb=this.Zb=-1;this.ib=new g.Mt(this.F.Wf,16,this.F);g.M(this,this.ib);this.ob=!1;this.da=!0;this.oa=this.Oa=this.C=null;this.Ld=!1;this.ed=this.we=null;this.Sa=this.ka=0;this.X=this.Ia=!1;this.Ea=null;this.M.O(this.l,"crn_appapi",this.XN);this.M.O(this.l,"crx_appapi",this.YN);this.M.O(this.l,"crn_appad",this.DA);this.M.O(this.l,"crx_appad",this.DA);this.M.O(this.l,"presentingplayerstatechange",this.hK);this.M.O(this.l,"resize",this.dR);this.F.xa(g.jd(a));this.M.O(this.l,"offlineslatestatechange",
this.oQ);this.zd=iqa(this,this.F.element);g.M(this,this.zd);g.RU=this.g.N;jqa(this);this.I.g("fs");kqa(this);g.KL(this.g)||(this.Ea=new V_(this.l),this.A.H=this.Ea,this.Ea.init())};
hqa=function(a){var b=new HS(a.g,1,a.I,a.F,(0,g.z)(a.Y.P,a.Y),(0,g.z)(a.l.zi,a.l));IT(b,a.g.l?1:lqa(a,g.kG("yt-player-playback-rate")||1));q0(a,b,a.Pb);return b};
gqa=function(a){var b="",c=a.fa.assets.js||"";0==c.indexOf("//")&&(c=a.g.protocol+":"+c);"/base.js"==c.substr(-8)&&(b=c.substr(0,c.length-8)+"/");!a.g.experiments.g("web_player_module_url_debug_killswitch")&&(c=Error().stack)&&(c=c.match(/\((https?:.*?\.js):\d+:\d+\)/))&&(c=c[1],c.includes(b)||g.tD(Error("Player module URL mismatch: "+(c+" vs "+b+".")),"WARNING"));b=new X_(a.l,b,a);c={};a=(c.loaded=(0,g.z)(a.aQ,a),c.unloaded=(0,g.z)(a.bQ,a),c.destroyed=(0,g.z)(a.xt,a),c);b.da=a;return b};
mqa=function(a,b){var c=!(!a.V||!a.V.g);a.V||(a.V=new o0(a),g.M(a,a.V),g.pU(a.l,a.V.element,4));g.HU(a.V,b);r0(a)&&c!=b&&g.ST(a.A).NK();b&&a.D.Nc("sfn","1",!0)};
t0=function(a){var b=s0.getTag(!0,!a.g.C);a.B=new AS(b);g.M(a,a.B);a.D&&iT(a.D,a.B);try{if(a.g.X)a.oa&&a.M.Ca(a.oa),a.oa=a.M.O(a.B,"volumechange",a.XP);else{a.B.setVolume(a.K.volume/100);var c=a.B,d=a.K.muted;NI();c.g.muted=d}}catch(e){b="setvolume.1;emsg."+(e.message&&e.message.replace(/[;:,]/g,"_"));g.TS(a.o,"html5.missingapi","YTP_ERROR_UNSUPPORTED_DEVICE",b);return}c=a.F;c.l=b;c.C=!1;if(!c.l.parentNode)try{Ed(c.o,c.l,0)}catch(e){throw Error("videoElement_: "+!!c.l+", containerElement: "+!!c.o+
", containerElement.childNodes: "+!(!c.o||!c.o.childNodes)+", containerInitiallyTruthy: "+c.Y+", isDisposed: "+c.ha());}c.D=new g.Wg(0,0,0,0);eqa(c);pW(c);g.S(c.l,"video-stream");g.S(c.l,"html5-main-video");b=c.app.g;b.Hc&&c.l.setAttribute("data-no-fullscreen",!0);b.Og&&(c.l.setAttribute("webkit-playsinline",""),c.l.setAttribute("playsinline",""));b.wm&&c.l&&c.O(c.l,"click",c.l.play,c.l);try{WN(a.B)}catch(e){b="activate.1;emsg."+(e.message&&e.message.replace(/[;:,]/g,"_")),g.TS(a.o,"html5.missingapi",
"YTP_ERROR_UNSUPPORTED_DEVICE",b)}};
u0=function(a){a.B&&(a.oa&&(a.M.Ca(a.oa),a.oa=null),a.D&&gT(a.D),bqa(a.F),s0.releaseTag(a.B.ma()),a.B=null)};
sY=function(a,b){if(a.D!=b){var c=null;a.D&&(c=a.D.o,$_(a.A),jU(a,"cuerangesremoved",qR(a.D.H)||[]),tY(a));v0(a,b);a.D=b;a.B&&iT(b,a.B);q0(a,b,a.ce);a.As("newdata",b,b.g);c&&!g.kO(c,b.o)&&a.yB(new g.qO(b.o,c));b.na.g&&a.As("dataloaded",b,b.g);b.g.Ka&&a.l.sa("onPlaybackQualityChange",b.g.Ka.video.quality);jU(a,"cuerangesadded",qR(a.D.H)||[]);fO(b.o)&&nT(b)}};
q0=function(a,b,c){for(var d in c)b.subscribe(d,c[d],a)};
v0=function(a,b){if(b!=a.o){var c=b.getPlayerType();a.Pa[c]=b}};
tY=function(a){if(a.B){var b=a.A.o;b&&b.yy(a.B)&&(u0(a),t0(a))}gT(a.D);b=a.D;var c=a.ce;for(d in c)b.unsubscribe(d,c[d],a);if(a.g.experiments.g("html5_disable_preserve_reference_redux")){var d=a.D;d!=a.o&&(b=d.getPlayerType(),a.Pa[b]==d&&delete a.Pa[b])}a.D=null};
g.TT=function(a,b){return b?1==b?a.o:a.Pa[b]||null:a.D};
nW=function(a,b){var c=g.TT(a,b);c||(c=nqa(a,b),v0(a,c));return c};
nqa=function(a,b){var c=a.I;2==b&&(c=new cP(a.g));return new HS(a.g,b,c,a.F,(0,g.z)(a.Y.P,a.Y),(0,g.z)(a.l.zi,a.l))};
oqa=function(a){var b=a.A;if(!b.B)try{b.g.ea(1).adModule?(b.B=new mY(b.fa,b.fa.H),b.B.create()):g.mU(b.g,"ad")}catch(c){g.mU(b.g,"ad"),g.tD(c)}b.zw();b.ca?g.mU(b.g,"endscreen"):b.yq();b.Cw();b.Ew();b.Dw();b.yw();b.ca?(g.mU(b.g,"annotations_module"),g.mU(b.g,"creatorendscreen")):(b.wq(),b.xq());b.ww();b.uw();b.zq();b.Aw();b.xw();b=w0(a);EN(b,a.g)||Xpa(a.A);a.yd.O(a.l,"presentingplayerstatechange",a.IQ);a.l.P("videoready",b)};
x0=function(a){var b=MI();return!!(b&&b.canPlayType&&b.canPlayType(a))};
w0=function(a){return a.D.g};
pqa=function(a,b){var c=g.TT(a,b);return(c=c?c.l:null)?aO(c):0};
jqa=function(a){var b=a.fa.args;a.g.kc&&VL(b);b=new g.eN(b);g.pG()&&b.re.push("remote");b.Gd()&&(SS(a.o,b,(0,g.z)(a.Qd,a)),EN(a.o.g,a.g)&&(a.g.Ld||a.g.we)&&VS(a.o))};
kqa=function(a){var b=a.F,c=b.app.g;c.ce||b.to("tag-pool-enabled");c.kc&&b.to("house-brand");"gvn"==c.playerStyle&&(b.to("ytp-gvn"),b.element.style.backgroundColor="transparent");c.ca&&(b.F=g.sF("yt-dom-content-change",b.Wf,b));b.O(window,"resize",b.Wf,b);b=a.Xa;b.o=a.F.element;for(var d in b.A)b.o[d]=b.A[d];(d=LE(a.F.element))&&a.M.O(a.F,d,a.mP);a.M.O(window,"resize",a.eR);b=a.fa.args;t0(a);d=a.o.g;a.l.sa("onVolumeChange",a.K);if(b&&kP(b))if((c=LL(a.g))&&!a.W&&(b.fetch=0),y0(a,b),c&&!a.W)z0(a);else if(!d.Gd())a.C.onReady((0,g.z)(a.Ht,
a));sY(a,a.o);if(!g.V(a.o.o,128)){a:{b=a.g.C;try{var e=MI();if(e.canPlayType)for(b=b?qqa:rqa,c=0;c<b.length;c++)if(e.canPlayType(b[c])){var f=null;break a}f="fmt.noneavailable"}catch(k){f="html5.missingapi"}}"fmt.noneavailable"==f?g.TS(a.o,"html5.missingapi","YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK","nocodecs.1"):"html5.missingapi"==f?g.TS(a.o,f,"YTP_ERROR_UNSUPPORTED_DEVICE","nocanplaymedia.1"):d&&d.Gd()&&EN(a.o.g,a.g)&&(a.g.Ld||a.g.we)?A0(a):g.RL(a.g)||sqa(a)}};
sqa=function(a){a.l.P("initializingmode");g.B0(a,2);a.A.zq()};
A0=function(a){if(g.V(a.o.o,128))return!1;EN(a.o.g,a.g)&&a.g.we&&(s0.hasTags(void 0)&&a.X?(rH(a,{muted:!1,volume:a.K.volume},!1),C0(a,!1)):s0.hasTags(void 0)||a.K.muted||(rH(a,{muted:!0,volume:a.K.volume},!1),C0(a,!0)));tqa(a,1,a.o.g.videoId);a.l.P("initializingmode");sY(a,a.o);g.B0(a,3);var b=a.A.o;if(!a.g.ce||b&&b.yy(a.B)&&a.Ld)u0(a),t0(a),iT(a.o,a.B);XS(a.o);if(g.V(a.o.o,128))return!1;D0(a,3);return a.Ld=!0};
r0=function(a){a=g.ST(a.A);return!!a&&a.loaded};
uqa=function(a,b){if(a.D==a.o&&a.D.we!=b){var c=a.D;c.we=b;c.l&&(c.l.g.loop=b);a.l.P("loopchange",b)}};
E0=function(a,b,c){(0,window.isNaN)(b)||(b=lqa(a,b),a.o.Ea!=b&&(IT(a.o,b),c&&!a.g.l&&g.jG("yt-player-playback-rate",b),a.l.sa("onPlaybackRateChange",b)))};
lqa=function(a,b){var c=1;c=a.l.Ej();return c=1>b?g.Ka(c,function(a){return a>=b}):Ma(c,function(a){return a<=b})};
F0=function(a,b){var c=ET(a.o,b);a.D&&a.D!=a.o&&(c=vqa(c,ET(a.D,b),"ad_"));if(b&&a.B){c["0sz"]=0==g.Ch(a.B.g).ze();c.op=mh(a.B.g,"opacity");var d=rh(a.B.g).y+g.Ch(a.B.g).height;c.yof=0>=d;c.dis=mh(a.B.g,"display")}(d=b?(0,g.pO)():null)&&(c.gpu=d);c.cgr=!0;c.debug_playbackQuality=a.H.nl();c.debug_date=(new Date).toString();delete c.uga;delete c.q;(d=a.A.F)&&(c=vqa(c,d.BD(),"fresca_"));return JSON.stringify(c,null,2)};
RT=function(a){return 1==a.N?1:r0(a)?3:g.TT(a).getPlayerType()};
wqa=function(a,b){return 3==RT(a)?nO(g.ST(a.A).D):2==b?a.Qb:a.Zb};
yqa=function(a){xqa(a);uqa(a,!1);a.xb={};a=a.I;var b=a.l;b.ba={};b.X={};a.A=!1};
z0=function(a){var b=zqa();if(b)if(b.list){if(a.C&&a.C.listId.toString()==b.list)if(0<=b.index){var c=b.video;a.l.isFullscreen()&&((c=c[a.C.ie()])&&c.encrypted_id!=a.C.jc().videoId||(b.index=a.C.ie()));oP(a.C,b);a.Oa&&G0(a,a.Oa)}else a.Oa=null}else a.Xm()};
y0=function(a,b){a.C&&(a.C.unsubscribe("error",a.Xm,a),g.Ue(a.C),a.C=null);b&&(a.W&&(b.fetch=0),a.C=new g.jP(b),a.C.subscribe("error",a.Xm,a))};
H0=function(a,b,c,d){b in a.xb||(c=new g.eP(c,d,{id:b,priority:1}),c.namespace="appad",pR(a.o.H,[c]),a.xb[b]=c)};
g.B0=function(a,b){b!=a.N&&(2==b&&(D0(a,-1),D0(a,5)),a.N=b,a.l.P("appstatechange",b))};
D0=function(a,b){a.D&&2==a.D.getPlayerType()?a.Qb!=b&&(a.Qb=b,a.l.sa("onAdStateChange",b)):a.Zb!=b&&(a.Zb=b,a.l.sa("onStateChange",b))};
AY=function(a,b,c,d,e){c=0!=c;if(e=g.TT(a,e))2==a.N&&A0(a),ZS(e,b,c,d)};
J0=function(a,b,c,d,e){a.g.kc&&VL(b);var f=new g.eN(b);d||(b&&kP(b)?(LL(a.g)&&!a.W&&(b.fetch=0),y0(a,b)):a.C&&y0(a,null),a.W=fL(!1,b.external_list),LL(a.g)&&!a.W&&z0(a));return I0(a,f,c,e)};
tqa=function(a,b,c){var d=b+c;if(c=a.na.get(d)){a.na.remove(d);if(c==g.TT(a,b))return c;if(1==c.getPlayerType()){c.g.autonavState=a.o.g.autonavState;b=a.o;d=a.Pb;for(var e in d)b.unsubscribe(e,d[e],a);e=a.o.Ea;a.o.dispose();a.o=c;IT(a.o,e);q0(a,c,a.Pb);yqa(a)}else(e=g.TT(a,b))&&e.dispose();a.D.getPlayerType()==c.getPlayerType()?sY(a,c):v0(a,c)}return c};
I0=function(a,b,c,d){WM("_start","")||(MM("p",void 0,""),a.I.info("srt",0));var e=tqa(a,c||a.D.getPlayerType(),b.videoId);if(!e){e=g.TT(a,c);if(!e)return!1;a.ib.stop();K0(a,c);SS(e,b,(0,g.z)(a.Qd,a),d)}if(!US(e))return!1;a.ob&&(e.Zb=!1,a.ob=!1);if(e==a.o)return g.B0(a,1),A0(a);XS(e);return!0};
L0=function(a,b,c){c=g.TT(a,c);b&&c==a.o&&(c.g.oh=!0)};
N0=function(a,b,c){a.g.kc&&VL(b);if(b&&kP(b))if(a.da=!0,y0(a,b),(b=a.C.jc())&&b.Gd())M0(a,b,c);else a.C.onReady((0,g.z)(a.Ht,a));else c||(c=RT(a)),1==c&&a.Xm(),M0(a,new g.eN(b),c)};
M0=function(a,b,c){var d=g.TT(a,c);d&&(K0(a,c),SS(d,b,(0,g.z)(a.Qd,a)),d==a.o&&(g.B0(a,1),sqa(a)))};
g.P0=function(a,b,c,d,e,f,k){if(!b&&!d)throw Error("Playback source is invalid");a.l.isFullscreen()&&!a.ra||!xL(a.g)&&!g.vL(a.g)?(c=a.I,f=c.l,f.ba={},f.X={},c.A=!1,a.I.reset(),b={video_id:b},e&&(b.autoplay="1"),a.g.experiments.g("html5_player_autonav_logging")&&e&&(b.autonav="1"),d?(b.list=d,a.da=!1,O0(a,b,void 0,void 0,void 0)):J0(a,b,1)):(c=c||{},c.lact=g.UF(),c.vis=a.l.zi(),a.Kd||"gaming"==a.g.playerStyle?a.l.sa("onPlayVideo",{videoId:b,watchEndpoint:k,sessionData:c,listId:d}):(a=f&&w0(a).isLiveDestination?
a.g.M:a.g.getVideoUrl(b,d),g.x("yt.player.exports.navigate")(a,c)))};
O0=function(a,b,c,d,e){if(g.Ba(b)&&!g.ya(b)){c="playlist list listType index startSeconds suggestedQuality".split(" ");d={};for(e=0;e<c.length;e++){var f=c[e];b[f]&&(d[f]=b[f])}b=d}else c={index:c,startSeconds:d,suggestedQuality:e},g.u(b)&&16==b.length?c.list="PL"+b:c.playlist=b,b=c;y0(a,b);a.C.onReady((0,g.z)(a.Ht,a))};
g.Q0=function(a){if(a.l.app.X)return!1;if(3==RT(a))return!0;LL(a.g)&&!a.W&&z0(a);return!(!a.C||!a.C.hasNext())};
R0=function(a,b,c){var d=g.TT(a,1).g.suggestions;g.qU(a.l)&&d?(d=g.H(d,g.IZ),b=d[0],d=c?b.Rw:b.ae,g.P0(a,b.jc().videoId,d,b.getPlaylistId(),c)):!a.W||a.l.isFullscreen()&&!a.ra?3==RT(a)?g.ST(a.A).LK():a.C&&(LL(a.g)&&!a.l.isFullscreen()?G0(a,"yt.www.watch.lists.next"):(a.C.hasNext(b)&&nP(a.C,lP(a.C)),a.C.Sc?(b=c&&a.g.experiments.g("html5_player_autonav_logging"),I0(a,a.C.jc(void 0,c,b),1)):a.da=!1)):a.l.sa("onPlaylistNext")};
Aqa=function(a,b){!a.W||a.l.isFullscreen()&&!a.ra?3==RT(a)?g.ST(a.A).MK():a.C&&(LL(a.g)&&!a.l.isFullscreen()?G0(a,"yt.www.watch.lists.prev"):(a.C.Mf(b)&&nP(a.C,mP(a.C)),a.C.Sc?I0(a,a.C.jc(),1):a.da=!1)):a.l.sa("onPlaylistPrevious")};
G0=function(a,b){var c=g.x(b);if(c){var d=zqa();d&&d.list&&c();a.Oa=null}else a.Oa=b};
zqa=function(){var a=g.x("yt.www.watch.lists.getState");return a?a():null};
Bqa=function(a,b,c,d,e,f){b={id:b};"chapter"==f?(b.style="ytp-chapter-marker",b.visible=!0):(0,window.isNaN)(e)||("ad"==f?b.style="ytp-ad-progress":(b.style="ytp-time-marker",b.color=e),b.visible=!0);c=new g.eP(1E3*c,1E3*d,b);c.namespace="appapi";hU(a,[c],1);return!0};
hU=function(a,b,c){var d=g.TT(a,c);d&&(pR(d.H,b),c&&RT(a)!=c||jU(a,"cuerangesadded",b))};
CY=function(a){var b=g.HF(),c=a.getCurrentTime();a=w0(a);return b-Math.max(1E3*(c-a.startSeconds),0)};
rH=function(a,b,c){a.g.K&&(a.K=b,b.muted||C0(a,!1),c&&a.g.storeUserVolume&&!a.g.X&&(c={volume:Math.floor(b.volume),muted:b.muted},c.unstorable||(g.jG("yt-player-volume",c),g.jG("yt-player-volume",c,2592E3))),Cqa(a),c=g.aJ&&!a.B.Sd(),!a.g.X||c)&&(b=g.Yb(b),a.g.storeUserVolume||(b.unstorable=!0),a.l.sa("onVolumeChange",b))};
Cqa=function(a){var b=w0(a);b.Km||(b=a.g.X?1:GN(b,a.g),a.B.setVolume(a.K.volume*b/100),b=a.B,a=a.K.muted,NI(),b.g.muted=a)};
C0=function(a,b){b!=a.X&&(a.X=b,a.l.P("mutedautoplaychange",b))};
Dqa=function(a,b){var c=window.screen&&window.screen.orientation;if(a.g.experiments.g("lock_fullscreen2")&&c&&c.lock&&(!g.aJ||!g.S0))if(b){var d=0==c.type.indexOf("portrait"),e=g.h0(a.F),f=d;1>e?f=!0:1<e&&(f=!1);if(!a.Ia||f!=d){if(c=c.lock(f?"portrait":"landscape"))c["catch"](g.y);a.Ia=!0}}else a.Ia&&(a.Ia=!1,c.unlock())};
T0=function(a,b){var c=!!b,d=!!a.Sa!=c;a.Sa=b;a.g.Ga=c;a.F.Wf();d&&a.I.g("fsc");d&&(a.l.P("fullscreentoggled",c),d=a.o.g,c={fullscreen:c,videoId:d.ypcOrigin||d.videoId,time:a.getCurrentTime()},a.H.getPlaylistId()&&(c.listId=a.H.getPlaylistId()),a.l.sa("onFullscreenChange",c))};
jU=function(a,b,c){a.l.P(b,c);var d=g.uL(a.g)||g.KL(a.g);if(c&&d){switch(b){case "cuerangemarkersupdated":var e="onCueRangeMarkersUpdated";break;case "cuerangesadded":e="onCueRangesAdded";break;case "cuerangesremoved":e="onCueRangesRemoved"}e&&a.l.sa(e,c)}};
xY=function(a,b){var c=g.TT(a,b);c&&(2==a.N?A0(a):a.g.experiments.g("html5_restore_userreload_killswitch")&&c.o.isError()?U0(a,"user"):(null!=a.V&&a.V.g&&a.V.start(),g.V(c.o,2)?(AY(a,0),a.g.experiments.g("html5_ignore_playing_evt")&&nT(c)):nT(c)))};
zY=function(a,b){var c=g.TT(a,b);c&&$S(c)};
Eqa=function(a){var b=a.o.g,c=new g.eN({video_id:b.videoId,oauth_token:b.oauthToken});a.g.experiments.g("html5_stopVideo_copy_thumbs_killswitch")||(c.Fh=g.Yb(b.Fh));M0(a,c,1);null!=a.V&&a.V.stop()};
K0=function(a,b){g.xM(a.ka);a.ka=0;var c=g.TT(a,b);if(c&&1!=a.N&&2!=a.N){(a.g.experiments.g("html5_disable_module_ownership")||c==a.D)&&$_(a.A);1==b&&(a.g.experiments.g("html5_stop_video_in_cancel_playback")&&AT(c),xqa(a));g.fT(c);var d=a.g.experiments.g("html5_disable_non_presenting_cueranges")?a.D:c;jU(a,"cuerangesremoved",qR(d.H)||[]);c.H.reset()}};
Fqa=function(a,b,c,d,e){c=0!=c;var f=g.TT(a,e);if(!f||2!=f.getPlayerType()&&!g.yN(f.g))3==RT(a)?g.ST(a.A).il("control_seek",b,c):AY(a,b,c,d,e)};
U0=function(a,b,c){if(!a.ob){c&&(u0(a),t0(a));a.ob=!0;c=g.TT(a);c.Zb=!0;c.Nc("reloading","reason."+b);c=w0(a);var d={};d.video_id=c.videoId;d.adformat=c.adFormat;c.za||(d.start=g.TT(a).getCurrentTime(),d.resume="1");c.jg&&(d.vvt=c.jg);c.vssCredentialsToken&&(d.vss_credentials_token=c.vssCredentialsToken,d.vss_credentials_token_type=c.Ep);c.oauthToken&&(d.oauth_token=c.oauthToken);d.autoplay=1;d.reload_count=c.Ah+1;d.reload_reason=b;c.fk&&(d.unplugged_partner_opt_out=c.fk);J0(a,d)}};
Gqa=function(a,b){a.o.g.autonavState=b;g.jG("yt-player-autonavstate",b);a.l.P("autonavchange",b)};
Hqa=function(a){var b=w0(a).Km,c=a.g.Vg;b||c?(a=a.B,a.C=!0,NI(),a.g.muted=!0):(a.B.C=!1,rH(a,a.K))};
iqa=function(a,b){return a.g.experiments.g("html5_enable_embedded_player_visibility_signals")&&a.g.l?new e0(b):null};
xqa=function(a){(a=a.A.B)&&a.created&&a.destroy()};
vqa=function(a,b,c){for(var d in b)a[c+d]=b[d];return a};
aa=[];ha="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)};
fa="undefined"!=typeof window&&window===this?this:"undefined"!=typeof window.global&&null!=window.global?window.global:this;aaa=function(){var a=0;return function(b){return"jscomp_symbol_"+(b||"")+a++}}();
oa="function"==typeof Object.create?Object.create:function(a){function b(){}
b.prototype=a;return new b};
if("function"==typeof Object.setPrototypeOf)V0=Object.setPrototypeOf;else{var W0;a:{var Iqa={gd:!0},Jqa={};try{Jqa.__proto__=Iqa;W0=Jqa.gd;break a}catch(a){}W0=!1}V0=W0?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}var pa=V0;
ra("Array.prototype.find",function(a){return a?a:function(a,c){a:{var b=this;b instanceof String&&(b=String(b));for(var e=b.length,f=0;f<e;f++){var k=b[f];if(a.call(c,k,f,b)){b=k;break a}}b=void 0}return b}});
ra("Promise",function(a){function b(a){this.g=0;this.o=void 0;this.l=[];var b=this.A();try{a(b.resolve,b.reject)}catch(m){b.reject(m)}}
function c(){this.g=null}
function d(a){return a instanceof b?a:new b(function(b){b(a)})}
if(a)return a;c.prototype.l=function(a){null==this.g&&(this.g=[],this.A());this.g.push(a)};
c.prototype.A=function(){var a=this;this.o(function(){a.C()})};
var e=fa.setTimeout;c.prototype.o=function(a){e(a,0)};
c.prototype.C=function(){for(;this.g&&this.g.length;){var a=this.g;this.g=[];for(var b=0;b<a.length;++b){var c=a[b];delete a[b];try{c()}catch(n){this.B(n)}}}this.g=null};
c.prototype.B=function(a){this.o(function(){throw a;})};
b.prototype.A=function(){function a(a){return function(d){c||(c=!0,a.call(b,d))}}
var b=this,c=!1;return{resolve:a(this.I),reject:a(this.B)}};
b.prototype.I=function(a){if(a===this)this.B(new TypeError("A Promise cannot resolve to itself"));else if(a instanceof b)this.K(a);else{a:switch(typeof a){case "object":var c=null!=a;break a;case "function":c=!0;break a;default:c=!1}c?this.H(a):this.C(a)}};
b.prototype.H=function(a){var b=void 0;try{b=a.then}catch(m){this.B(m);return}"function"==typeof b?this.M(b,a):this.C(a)};
b.prototype.B=function(a){this.D(2,a)};
b.prototype.C=function(a){this.D(1,a)};
b.prototype.D=function(a,b){if(0!=this.g)throw Error("Cannot settle("+a+", "+b|"): Promise already settled in state"+this.g);this.g=a;this.o=b;this.F()};
b.prototype.F=function(){if(null!=this.l){for(var a=this.l,b=0;b<a.length;++b)a[b].call(),a[b]=null;this.l=null}};
var f=new c;b.prototype.K=function(a){var b=this.A();a.Rm(b.resolve,b.reject)};
b.prototype.M=function(a,b){var c=this.A();try{a.call(b,c.resolve,c.reject)}catch(n){c.reject(n)}};
b.prototype.then=function(a,c){function d(a,b){return"function"==typeof a?function(b){try{e(a(b))}catch(L){f(L)}}:b}
var e,f,k=new b(function(a,b){e=a;f=b});
this.Rm(d(a,e),d(c,f));return k};
b.prototype["catch"]=function(a){return this.then(void 0,a)};
b.prototype.Rm=function(a,b){function c(){switch(d.g){case 1:a(d.o);break;case 2:b(d.o);break;default:throw Error("Unexpected state: "+d.g);}}
var d=this;null==this.l?f.l(c):this.l.push(function(){f.l(c)})};
b.resolve=d;b.reject=function(a){return new b(function(b,c){c(a)})};
b.race=function(a){return new b(function(b,c){for(var e=g.na(a),f=e.next();!f.done;f=e.next())d(f.value).Rm(b,c)})};
b.all=function(a){var c=g.na(a),e=c.next();return e.done?d([]):new b(function(a,b){function f(b){return function(c){k[b]=c;l--;0==l&&a(k)}}
var k=[],l=0;do k.push(void 0),l++,d(e.value).Rm(f(k.length-1),b),e=c.next();while(!e.done)})};
return b});
ra("Math.trunc",function(a){return a?a:function(a){a=Number(a);if((0,window.isNaN)(a)||window.Infinity===a||-window.Infinity===a||0===a)return a;var b=Math.floor(Math.abs(a));return 0>a?-b:b}});
ra("Array.prototype.fill",function(a){return a?a:function(a,c,d){var b=this.length||0;0>c&&(c=Math.max(0,b+c));if(null==d||d>b)d=b;d=Number(d);0>d&&(d=Math.max(0,b+d));for(c=Number(c||0);c<d;c++)this[c]=a;return this}});
ra("WeakMap",function(a){function b(a){this.ia=(f+=Math.random()+1).toString();if(a){ea();ka();a=g.na(a);for(var b;!(b=a.next()).done;)b=b.value,this.set(b[0],b[1])}}
function c(a){sa(a,e)||ha(a,e,{value:{}})}
function d(a){var b=Object[a];b&&(Object[a]=function(a){c(a);return b(a)})}
if(function(){if(!a||!Object.seal)return!1;try{var b=Object.seal({}),c=Object.seal({}),d=new a([[b,2],[c,3]]);if(2!=d.get(b)||3!=d.get(c))return!1;d["delete"](b);d.set(c,4);return!d.has(b)&&4==d.get(c)}catch(n){return!1}}())return a;
var e="$jscomp_hidden_"+Math.random();d("freeze");d("preventExtensions");d("seal");var f=0;b.prototype.set=function(a,b){c(a);if(!sa(a,e))throw Error("WeakMap key fail: "+a);a[e][this.ia]=b;return this};
b.prototype.get=function(a){return sa(a,e)?a[e][this.ia]:void 0};
b.prototype.has=function(a){return sa(a,e)&&sa(a[e],this.ia)};
b.prototype["delete"]=function(a){return sa(a,e)&&sa(a[e],this.ia)?delete a[e][this.ia]:!1};
return b});
ra("Map",function(a){function b(){var a={};return a.previous=a.next=a.head=a}
function c(a,b){var c=a.g;return ma(function(){if(c){for(;c.head!=a.g;)c=c.previous;for(;c.next!=c.head;)return c=c.next,{done:!1,value:b(c)};c=null}return{done:!0,value:void 0}})}
function d(a,b){var c=b&&typeof b;"object"==c||"function"==c?f.has(b)?c=f.get(b):(c=""+ ++k,f.set(b,c)):c="p_"+b;var d=a.l[c];if(d&&sa(a.l,c))for(var e=0;e<d.length;e++){var l=d[e];if(b!==b&&l.key!==l.key||b===l.key)return{id:c,list:d,index:e,Bd:l}}return{id:c,list:d,index:-1,Bd:void 0}}
function e(a){this.l={};this.g=b();this.size=0;if(a){a=g.na(a);for(var c;!(c=a.next()).done;)c=c.value,this.set(c[0],c[1])}}
if(function(){if(!a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var b=Object.seal({x:4}),c=new a(g.na([[b,"s"]]));if("s"!=c.get(b)||1!=c.size||c.get({x:4})||c.set({x:4},"t")!=c||2!=c.size)return!1;var d=c.entries(),e=d.next();if(e.done||e.value[0]!=b||"s"!=e.value[1])return!1;e=d.next();return e.done||4!=e.value[0].x||"t"!=e.value[1]||!d.next().done?!1:!0}catch(r){return!1}}())return a;
ea();ka();var f=new window.WeakMap;e.prototype.set=function(a,b){var c=d(this,a);c.list||(c.list=this.l[c.id]=[]);c.Bd?c.Bd.value=b:(c.Bd={next:this.g,previous:this.g.previous,head:this.g,key:a,value:b},c.list.push(c.Bd),this.g.previous.next=c.Bd,this.g.previous=c.Bd,this.size++);return this};
e.prototype["delete"]=function(a){a=d(this,a);return a.Bd&&a.list?(a.list.splice(a.index,1),a.list.length||delete this.l[a.id],a.Bd.previous.next=a.Bd.next,a.Bd.next.previous=a.Bd.previous,a.Bd.head=null,this.size--,!0):!1};
e.prototype.clear=function(){this.l={};this.g=this.g.previous=b();this.size=0};
e.prototype.has=function(a){return!!d(this,a).Bd};
e.prototype.get=function(a){return(a=d(this,a).Bd)&&a.value};
e.prototype.entries=function(){return c(this,function(a){return[a.key,a.value]})};
e.prototype.keys=function(){return c(this,function(a){return a.key})};
e.prototype.values=function(){return c(this,function(a){return a.value})};
e.prototype.forEach=function(a,b){for(var c=this.entries(),d;!(d=c.next()).done;)d=d.value,a.call(b,d[1],d[0],this)};
e.prototype[window.Symbol.iterator]=e.prototype.entries;var k=0;return e});
ra("Set",function(a){function b(a){this.g=new window.Map;if(a){a=g.na(a);for(var b;!(b=a.next()).done;)this.add(b.value)}this.size=this.g.size}
if(function(){if(!a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var b=Object.seal({x:4}),d=new a(g.na([b]));if(!d.has(b)||1!=d.size||d.add(b)!=d||1!=d.size||d.add({x:4})!=d||2!=d.size)return!1;var e=d.entries(),f=e.next();if(f.done||f.value[0]!=b||f.value[1]!=b)return!1;f=e.next();return f.done||f.value[0]==b||4!=f.value[0].x||f.value[1]!=f.value[0]?!1:e.next().done}catch(k){return!1}}())return a;
ea();ka();b.prototype.add=function(a){this.g.set(a,a);this.size=this.g.size;return this};
b.prototype["delete"]=function(a){a=this.g["delete"](a);this.size=this.g.size;return a};
b.prototype.clear=function(){this.g.clear();this.size=0};
b.prototype.has=function(a){return this.g.has(a)};
b.prototype.entries=function(){return this.g.entries()};
b.prototype.values=function(){return this.g.values()};
b.prototype.keys=b.prototype.values;b.prototype[window.Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(a,b){var c=this;this.g.forEach(function(d){return a.call(b,d,d,c)})};
return b});
ra("Array.from",function(a){return a?a:function(a,c,d){ka();c=null!=c?c:function(a){return a};
var b=[],f=a[window.Symbol.iterator];if("function"==typeof f)for(a=f.call(a);!(f=a.next()).done;)b.push(c.call(d,f.value));else{f=a.length;for(var k=0;k<f;k++)b.push(c.call(d,a[k]))}return b}});
ra("Object.is",function(a){return a?a:function(a,c){return a===c?0!==a||1/a===1/c:a!==a&&c!==c}});
ra("String.prototype.includes",function(a){return a?a:function(a,c){if(null==this)throw new TypeError("The 'this' value for String.prototype.includes must not be null or undefined");if(a instanceof RegExp)throw new TypeError("First argument to String.prototype.includes must not be a regular expression");return-1!==(this+"").indexOf(a,c||0)}});
ra("Object.values",function(a){return a?a:function(a){var b=[],d;for(d in a)sa(a,d)&&b.push(a[d]);return b}});
var Kqa=function(){function a(){function a(){}
window.Reflect.construct(a,[],function(){});
return new a instanceof a}
if("undefined"!=typeof window.Reflect&&window.Reflect.construct){if(a())return window.Reflect.construct;var b=window.Reflect.construct;return function(a,d,e){a=b(a,d);e&&window.Reflect.setPrototypeOf(a,e.prototype);return a}}return function(a,b,e){void 0===e&&(e=a);
e=oa(e.prototype||Object.prototype);return Function.prototype.apply.call(a,e,b)||e}}();
ra("Reflect.construct",function(){return Kqa});
ra("Math.log2",function(a){return a?a:function(a){return Math.log(a)/Math.LN2}});
Ww=Ww||{};g.w=this;Ca="closure_uid_"+(1E9*Math.random()>>>0);baa=0;g.G=Date.now||function(){return+new Date};g.A(Ha,Error);Ha.prototype.name="CustomError";var hd;var Lqa,Rj;g.Na=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if(g.u(a))return g.u(b)&&1==b.length?a.indexOf(b,0):-1;
for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1};
Lqa=Array.prototype.lastIndexOf?function(a,b){return Array.prototype.lastIndexOf.call(a,b,a.length-1)}:function(a,b){var c=a.length-1;
0>c&&(c=Math.max(0,a.length+c));if(g.u(a))return g.u(b)&&1==b.length?a.lastIndexOf(b,c):-1;for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1};
g.C=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=g.u(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)};
g.Hd=Array.prototype.filter?function(a,b,c){return Array.prototype.filter.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=[],f=0,k=g.u(a)?a.split(""):a,l=0;l<d;l++)if(l in k){var m=k[l];
b.call(c,m,l,a)&&(e[f++]=m)}return e};
g.H=Array.prototype.map?function(a,b,c){return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),f=g.u(a)?a.split(""):a,k=0;k<d;k++)k in f&&(e[k]=b.call(c,f[k],k,a));
return e};
Rj=Array.prototype.reduce?function(a,b,c){return Array.prototype.reduce.call(a,b,c)}:function(a,b,c){var d=c;
(0,g.C)(a,function(c,f){d=b.call(void 0,d,c,f,a)});
return d};
g.Kj=Array.prototype.some?function(a,b,c){return Array.prototype.some.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=g.u(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return!0;
return!1};
g.Wl=Array.prototype.every?function(a,b,c){return Array.prototype.every.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=g.u(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&!b.call(c,e[f],f,a))return!1;
return!0};var xb=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},jaa=/&/g,kaa=/</g,laa=/>/g,maa=/"/g,naa=/'/g,oaa=/\x00/g,iaa=/[\x00&<>"']/,raa=/&([^;\s<&]+);?/g,ub=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)},saa=2147483648*Math.random()|0;a:{var Mqa=g.w.navigator;if(Mqa){var Nqa=Mqa.userAgent;if(Nqa){g.Gb=Nqa;break a}}g.Gb=""};var ac="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");jc[" "]=g.y;var mK,tS,Fn,Gn,Oqa,X0;g.Ye=Hb("Opera");g.sd=Hb("Trident")||Hb("MSIE");mK=Hb("Edge");g.PL=mK||g.sd;g.lh=Hb("Gecko")&&!(tb(g.Gb,"WebKit")&&!Hb("Edge"))&&!(Hb("Trident")||Hb("MSIE"))&&!Hb("Edge");g.ud=tb(g.Gb,"WebKit")&&!Hb("Edge");tS=Hb("Macintosh");g.S0=Hb("Windows");g.Mn=Hb("Android");Fn=gc();Gn=Hb("iPad");Oqa=Hb("iPod");g.ek=hc();
a:{var Y0="",Z0=function(){var a=g.Gb;if(g.lh)return/rv:([^\);]+)(\)|;)/.exec(a);if(mK)return/Edge\/([\d\.]+)/.exec(a);if(g.sd)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(g.ud)return/WebKit\/(\S+)/.exec(a);if(g.Ye)return/(?:Version)[ \/]?(\S+)/.exec(a)}();
Z0&&(Y0=Z0?Z0[1]:"");if(g.sd){var $0=lc();if(null!=$0&&$0>(0,window.parseFloat)(Y0)){X0=String($0);break a}}X0=Y0}var mc=X0,uaa={},Pqa;var Qqa=g.w.document;Pqa=Qqa&&g.sd?lc()||("CSS1Compat"==Qqa.compatMode?(0,window.parseInt)(mc,10):5):void 0;var waa=Pqa;var Kaa,Maa,Naa;Kaa=!g.sd||g.oc(9);Maa=!g.lh&&!g.sd||g.sd&&g.oc(9)||g.lh&&g.nc("1.9.1");g.Rqa=g.sd&&!g.nc("9");Naa=g.sd||g.Ye||g.ud;var Jaa={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.xg=!0;qc.prototype.Le=function(){return this.g};
qc.prototype.toString=function(){return"Const{"+this.g+"}"};
var pc={};g.sc("");var xaa=/<[^>]*>|&[^;]+;/g,Sqa=RegExp("[\u0591-\u06ef\u06fa-\u07ff\u200f\ufb1d-\ufdff\ufe70-\ufefc]"),Baa=RegExp("[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]"),zaa=RegExp("^[^A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]*[\u0591-\u06ef\u06fa-\u07ff\u200f\ufb1d-\ufdff\ufe70-\ufefc]"),Aaa=/^http:\/\/.*/,yaa=/\s+/,Caa=/[\d\u06f0-\u06f9]/;wc.prototype.xg=!0;wc.prototype.Le=function(){return this.g};
wc.prototype.Lr=!0;wc.prototype.ij=function(){return 1};
var vc={};Ac.prototype.xg=!0;Ac.prototype.Le=function(){return this.g};
Ac.prototype.Lr=!0;Ac.prototype.ij=function(){return 1};
var Cc=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,zc={};Dc("about:blank");Hc.prototype.xg=!0;var Gc={};Hc.prototype.Le=function(){return this.g};
var Haa=Ic(""),Eaa=/^[-,."'%_!# a-zA-Z0-9]+$/,Jc=RegExp("\\b(url\\([ \t\n]*)('[ -&(-\\[\\]-~]*'|\"[ !#-\\[\\]-~]*\"|[!#-&*-\\[\\]-~]*)([ \t\n]*\\))","g"),Daa=RegExp("\\b(hsl|hsla|rgb|rgba|(rotate|scale|translate)(X|Y|Z|3d)?)\\([-0-9a-z.%, ]+\\)","g");g.Mc.prototype.Lr=!0;g.Mc.prototype.ij=function(){return this.l};
g.Mc.prototype.xg=!0;g.Mc.prototype.Le=function(){return this.g};
var Qc=/^[a-zA-Z0-9-]+$/,Iaa={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},Tqa={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},Lc={};Oc("<!DOCTYPE html>",0);Oc("",0);Oc("<br>",0);g.h=g.$c.prototype;g.h.clone=function(){return new g.$c(this.x,this.y)};
g.h.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};
g.h.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};
g.h.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};
g.h.scale=function(a,b){var c=g.ua(b)?b:a;this.x*=a;this.y*=c;return this};g.h=g.cd.prototype;g.h.clone=function(){return new g.cd(this.width,this.height)};
g.h.ze=function(){return this.width*this.height};
g.h.aspectRatio=function(){return this.width/this.height};
g.h.isEmpty=function(){return!this.ze()};
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};
g.h.scale=function(a,b){var c=g.ua(b)?b:a;this.width*=a;this.height*=c;return this};var md={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=fd.prototype;g.h.ma=function(){return g.u(void 0)?this.g.getElementById(void 0):void 0};
g.h.getElementsByTagName=function(a,b){return(b||this.g).getElementsByTagName(String(a))};
g.h.LH=function(a,b,c){return wd(this.g,arguments)};
g.h.createElement=function(a){return this.g.createElement(String(a))};
g.h.appendChild=g.Bd;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.Fd;g.h.contains=g.Md;var Oaa=g.y;var sL,rL,tL;g.pK=Hb("Firefox");sL=gc()||Hb("iPod");rL=Hb("iPad");tL=g.fc();g.aJ=dc();g.gk=ec()&&!hc();var ce=null,he=null,be=null;var ke=[];je.prototype.clone=function(){return le(this.l,this.A,this.o-this.A)};
je.prototype.clear=function(){this.l=null;this.g=this.o=this.A=0;this.B=!1};
je.prototype.reset=function(){this.g=this.A};
je.prototype.getError=function(){return this.B||0>this.g||this.g>this.o};ne.prototype.getError=function(){return this.A||this.g.getError()};
ne.prototype.reset=function(){this.g.reset();this.l=this.o=-1};var te="function"==typeof window.Uint8Array,ue=[];se.prototype.toString=function(){Ee(this);return this.l.toString()};
se.prototype.getExtension=function(a){if(this.o){this.g||(this.g={});var b=a.o;if(a.A){if(a.l())return this.g[b]||(this.g[b]=(0,g.H)(this.o[b]||[],function(b){return new a.g(b)})),this.g[b]}else if(a.l())return!this.g[b]&&this.o[b]&&(this.g[b]=new a.g(this.o[b])),this.g[b];
return this.o[b]}};
se.prototype.clone=function(){return new this.constructor(Fe(De(this)))};g.A(Ge,se);g.A(He,se);g.A(Je,se);var Saa=[[9,10],[11,12],[18,19,20,21]];g.A(Ke,se);var Taa=[[2,3]];g.A(Le,se);var Uaa=[[9,15]];Le.prototype.Ke=function(){return we(this,14)};
g.A(Me,se);g.A(Ne,se);g.A(Oe,se);g.A(Pe,se);g.A(Qe,se);g.A(Re,se);var Vaa=[1];g.A(Ce,se);window.console&&"function"===typeof window.console.log&&(0,g.z)(window.console.log,window.console);var qf=!g.sd||g.oc(9),Uqa=g.sd&&!g.nc("9"),Zaa=function(){if(!g.w.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});
g.w.addEventListener("test",g.y,b);g.w.removeEventListener("test",g.y,b);return a}();g.K.prototype.ub=!1;g.K.prototype.ha=function(){return this.ub};
g.K.prototype.dispose=function(){this.ub||(this.ub=!0,this.U())};
g.K.prototype.U=function(){if(this.Ya)for(;this.Ya.length;)this.Ya.shift()()};g.We.prototype.stopPropagation=function(){this.Hi=!0};
g.We.prototype.preventDefault=function(){this.defaultPrevented=!0;this.ZB=!1};var Vqa={Kp:"click",F_:"rightclick",LW:"dblclick",XY:"mousedown",dZ:"mouseup",cZ:"mouseover",bZ:"mouseout",aZ:"mousemove",YY:"mouseenter",ZY:"mouseleave",L_:"selectionchange",M_:"selectstart",Q1:"wheel",vY:"keypress",uY:"keydown",wY:"keyup",SV:"blur",dF:"focus",MW:"deactivate",CX:"focusin",DX:"focusout",jW:"change",x_:"reset",K_:"select",v0:"submit",gY:"input",m_:"propertychange",gX:"dragstart",SE:"drag",dX:"dragenter",fX:"dragover",eX:"dragleave",iX:"drop",cX:"dragend",N0:"touchstart",M0:"touchmove",
L0:"touchend",K0:"touchcancel",PV:"beforeunload",vW:"consolemessage",yW:"contextmenu",OW:"devicemotion",PW:"deviceorientation",WW:"DOMContentLoaded",ERROR:"error",RX:"help",LOAD:"load",OY:"losecapture",MZ:"orientationchange",r_:"readystatechange",y_:"resize",H_:"scroll",l1:"unload",YV:"canplay",ZV:"canplaythrough",jX:"durationchange",oX:"emptied",ENDED:"ended",EY:"loadeddata",FY:"loadedmetadata",PAUSE:"pause",PLAY:"play",PLAYING:"playing",q_:"ratechange",I_:"seeked",J_:"seeking",j0:"stalled",w0:"suspend",
C0:"timeupdate",J1:"volumechange",N1:"waiting",g0:"sourceopen",f0:"sourceended",e0:"sourceclosed",RU:"abort",UPDATE:"update",r1:"updatestart",p1:"updateend",LX:"hashchange",QZ:"pagehide",RZ:"pageshow",f_:"popstate",DW:"copy",TZ:"paste",IW:"cut",JV:"beforecopy",KV:"beforecut",NV:"beforepaste",KZ:"online",HZ:"offline",MESSAGE:"message",uW:"connect",iY:"install",SU:"activate",BX:"fetch",EX:"foreignfetch",VY:"messageerror",m0:"statechange",q1:"updatefound",AW:"controllerchange",xV:Ze("AnimationStart"),
vV:Ze("AnimationEnd"),wV:Ze("AnimationIteration"),R0:Ze("TransitionEnd"),YZ:"pointerdown",e_:"pointerup",XZ:"pointercancel",b_:"pointermove",d_:"pointerover",c_:"pointerout",ZZ:"pointerenter",a_:"pointerleave",JX:"gotpointercapture",PY:"lostpointercapture",iZ:"MSGestureChange",jZ:"MSGestureEnd",kZ:"MSGestureHold",lZ:"MSGestureStart",mZ:"MSGestureTap",nZ:"MSGotPointerCapture",oZ:"MSInertiaStart",pZ:"MSLostPointerCapture",qZ:"MSPointerCancel",rZ:"MSPointerDown",sZ:"MSPointerEnter",tZ:"MSPointerHover",
uZ:"MSPointerLeave",vZ:"MSPointerMove",wZ:"MSPointerOut",xZ:"MSPointerOver",yZ:"MSPointerUp",TEXT:"text",y0:g.sd?"textinput":"textInput",sW:"compositionstart",tW:"compositionupdate",rW:"compositionend",LV:"beforeinput",wX:"exit",CY:"loadabort",DY:"loadcommit",GY:"loadredirect",HY:"loadstart",IY:"loadstop",C_:"responsive",Y_:"sizechanged",n1:"unresponsive",I1:"visibilitychange",r0:"storage",bX:"DOMSubtreeModified",XW:"DOMNodeInserted",ZW:"DOMNodeRemoved",aX:"DOMNodeRemovedFromDocument",YW:"DOMNodeInsertedIntoDocument",
UW:"DOMAttrModified",VW:"DOMCharacterDataModified",OV:"beforeprint",kV:"afterprint",MV:"beforeinstallprompt",yV:"appinstalled"};g.A($e,g.We);var Wqa={2:"touch",3:"pen",4:"mouse"};
$e.prototype.init=function(a,b){var c=this.type=a.type,d=a.changedTouches?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;var e=a.relatedTarget;e?g.lh&&(kc(e,"nodeName")||(e=null)):"mouseover"==c?e=a.fromElement:"mouseout"==c&&(e=a.toElement);this.relatedTarget=e;null===d?(this.offsetX=g.ud||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=g.ud||void 0!==a.offsetY?a.offsetY:a.layerY,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.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.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=g.u(a.pointerType)?
a.pointerType:Wqa[a.pointerType]||"";this.state=a.state;this.g=a;a.defaultPrevented&&this.preventDefault()};
$e.prototype.stopPropagation=function(){$e.Z.stopPropagation.call(this);this.g.stopPropagation?this.g.stopPropagation():this.g.cancelBubble=!0};
$e.prototype.preventDefault=function(){$e.Z.preventDefault.call(this);var a=this.g;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Uqa)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var Waa;g.af="closure_listenable_"+(1E6*Math.random()|0);Waa=0;df.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.listeners[f];a||(a=this.listeners[f]=[],this.g++);var k=gf(a,b,d,e);-1<k?(b=a[k],c||(b.Qm=!1)):(b=new Xaa(b,this.src,f,!!d,e),b.Qm=c,a.push(b));return b};
df.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.listeners))return!1;var e=this.listeners[a];b=gf(e,b,c,d);return-1<b?(cf(e[b]),g.Sa(e,b),0==e.length&&(delete this.listeners[a],this.g--),!0):!1};
df.prototype.Hk=function(a,b,c,d){a=this.listeners[a.toString()];var e=-1;a&&(e=gf(a,b,c,d));return-1<e?a[e]:null};
df.prototype.hasListener=function(a,b){var c=g.t(a),d=c?a.toString():"",e=g.t(b);return Kb(this.listeners,function(a){for(var f=0;f<a.length;++f)if(!(c&&a[f].type!=d||e&&a[f].capture!=b))return!0;return!1})};var nf="closure_lm_"+(1E6*Math.random()|0),tf={},pf=0,wf="__closure_events_fn_"+(1E9*Math.random()>>>0);g.A(g.xf,g.K);g.xf.prototype[g.af]=!0;g.h=g.xf.prototype;g.h.Dh=function(a){this.Ga=a};
g.h.addEventListener=function(a,b,c,d){g.jf(this,a,b,c,d)};
g.h.removeEventListener=function(a,b,c,d){g.rf(this,a,b,c,d)};
g.h.dispatchEvent=function(a){var b=this.Ga;if(b){var c=[];for(var d=1;b;b=b.Ga)c.push(b),++d}b=this.Pb;d=a.type||a;if(g.u(a))a=new g.We(a,b);else if(a instanceof g.We)a.target=a.target||b;else{var e=a;a=new g.We(d,b);g.bc(a,e)}e=!0;if(c)for(var f=c.length-1;!a.Hi&&0<=f;f--){var k=a.currentTarget=c[f];e=yf(k,d,!0,a)&&e}a.Hi||(k=a.currentTarget=b,e=yf(k,d,!0,a)&&e,a.Hi||(e=yf(k,d,!1,a)&&e));if(c)for(f=0;!a.Hi&&f<c.length;f++)k=a.currentTarget=c[f],e=yf(k,d,!1,a)&&e;return e};
g.h.U=function(){g.xf.Z.U.call(this);this.Ge&&g.ff(this.Ge);this.Ga=null};
g.h.R=function(a,b,c,d){return this.Ge.add(String(a),b,!1,c,d)};
g.h.rh=function(a,b,c,d){return this.Ge.add(String(a),b,!0,c,d)};
g.h.Ca=function(a,b,c,d){this.Ge.remove(String(a),b,c,d)};
g.h.Hk=function(a,b,c,d){return this.Ge.Hk(String(a),b,c,d)};
g.h.hasListener=function(a,b){return this.Ge.hasListener(g.t(a)?String(a):void 0,b)};zf.prototype.get=function(){if(0<this.l){this.l--;var a=this.g;this.g=a.next;a.next=null}else a=this.o();return a};var Ef;var Of=new zf(function(){return new If},function(a){a.reset()});
Hf.prototype.add=function(a,b){var c=Of.get();c.set(a,b);this.l?this.l.next=c:this.g=c;this.l=c};
Hf.prototype.remove=function(){var a=null;this.g&&(a=this.g,this.g=this.g.next,this.g||(this.l=null),a.next=null);return a};
If.prototype.set=function(a,b){this.g=a;this.scope=b;this.next=null};
If.prototype.reset=function(){this.next=this.scope=this.g=null};var Jf,Kf=!1,Lf=new Hf;Tf.prototype.reset=function(){this.context=this.l=this.A=this.g=null;this.o=!1};
var Uf=new zf(function(){return new Tf},function(a){a.reset()});
g.Sf.prototype.then=function(a,b,c){return dg(this,g.Aa(a)?a:null,g.Aa(b)?b:null,c)};
Pf(g.Sf);g.Sf.prototype.cancel=function(a){0==this.g&&g.Mf(function(){var b=new jg(a);fg(this,b)},this)};
g.Sf.prototype.H=function(a){this.g=0;Rf(this,2,a)};
g.Sf.prototype.I=function(a){this.g=0;Rf(this,3,a)};
g.Sf.prototype.F=function(){for(var a;a=gg(this);)hg(this,a,this.g,this.D);this.C=!1};
var lg=Df;g.A(jg,Ha);jg.prototype.name="cancel";g.A(g.mg,g.xf);g.h=g.mg.prototype;g.h.enabled=!1;g.h.wa=null;g.h.setInterval=function(a){this.uc=a;this.wa&&this.enabled?(this.stop(),this.start()):this.wa&&this.stop()};
g.h.Wc=function(){if(this.enabled){var a=(0,g.G)()-this.gs;0<a&&a<.8*this.uc?this.wa=this.dk.setTimeout(this.fq,this.uc-a):(this.wa&&(this.dk.clearTimeout(this.wa),this.wa=null),this.dispatchEvent("tick"),this.enabled&&(this.wa=this.dk.setTimeout(this.fq,this.uc),this.gs=(0,g.G)()))}};
g.h.start=function(){this.enabled=!0;this.wa||(this.wa=this.dk.setTimeout(this.fq,this.uc),this.gs=(0,g.G)())};
g.h.stop=function(){this.enabled=!1;this.wa&&(this.dk.clearTimeout(this.wa),this.wa=null)};
g.h.U=function(){g.mg.Z.U.call(this);this.stop();delete this.dk};var rg=g.y,vg={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},mba=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g;g.h=wg.prototype;g.h.isEnabled=function(){return window.navigator.cookieEnabled};
g.h.set=function(a,b,c,d,e,f){if(/[;=\s]/.test(a))throw Error('Invalid cookie name "'+a+'"');if(/[;\r\n]/.test(b))throw Error('Invalid cookie value "'+b+'"');g.t(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.G)()+1E3*c)).toUTCString();this.g.cookie=a+"="+b+e+d+c+f};
g.h.get=function(a,b){for(var c=a+"=",d=(this.g.cookie||"").split(";"),e=0,f;e<d.length;e++){f=xb(d[e]);if(0==f.lastIndexOf(c,0))return f.substr(c.length);if(f==a)return""}return b};
g.h.remove=function(a,b,c){var d=g.t(this.get(a));this.set(a,"",0,b,c);return d};
g.h.Ab=function(){return xg(this).keys};
g.h.sb=function(){return xg(this).values};
g.h.isEmpty=function(){return!this.g.cookie};
g.h.Lc=function(){return this.g.cookie?(this.g.cookie||"").split(";").length:0};
g.h.clear=function(){for(var a=xg(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};
g.nG=new wg("undefined"==typeof window.document?null:window.document);g.nG.l=3950;var nba=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,Ng=/#|$/,oba=/[?&]($|#)/;Rg.prototype.remove=function(a){Wb(this.g,a)};
Rg.prototype.set=function(a,b){this.g[a]=b};
Rg.prototype.get=function(a){return Xb(this.g,a,null)};g.h=g.Tg.prototype;g.h.Fb=function(){return this.right-this.left};
g.h.getHeight=function(){return this.bottom-this.top};
g.h.clone=function(){return new g.Tg(this.top,this.right,this.bottom,this.left)};
g.h.contains=function(a){return this&&a?a instanceof g.Tg?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.expand=function(a,b,c,d){g.Ba(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};
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.scale=function(a,b){var c=g.ua(b)?b:a;this.left*=a;this.right*=a;this.top*=c;this.bottom*=c;return this};g.h=g.Wg.prototype;g.h.clone=function(){return new g.Wg(this.left,this.top,this.width,this.height)};
g.h.contains=function(a){return a instanceof g.$c?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};
g.h.scale=function(a,b){var c=g.ua(b)?b:a;this.left*=a;this.width*=a;this.top*=c;this.height*=c;return this};var fh=null;bh.prototype.getValue=function(){return this.g};
bh.prototype.l=function(){return String(this.g)};
g.A(ch,bh);ch.prototype.l=function(){return this.g?"1":"0"};
g.A(dh,bh);dh.prototype.l=function(){return this.g?Math.round(this.g.top)+"."+Math.round(this.g.left)+"."+(Math.round(this.g.top)+Math.round(this.g.height))+"."+(Math.round(this.g.left)+Math.round(this.g.width)):""};var kh={},Jh={thin:2,medium:4,thick:6};new g.mg(200);var ai=window.document,O=window;var uba=/^[\w+/_-]+[=]{0,2}$/;var wba=/https?:\/\/[^\/]+/;var Aba=g.Cf(function(){var a=!1;try{var b=Object.defineProperty({},"passive",{get:function(){a=!0}});
g.w.addEventListener("test",null,b)}catch(c){}return a});var Zh=!!window.google_async_iframe_id,$h=Zh&&window.parent||window;var Bba=[0,2,1],ci=null;window.document.addEventListener&&window.document.addEventListener("mousedown",function(a){ci=a},!0);
window.mb=function(a){if(a){var b=di();b&&(window.css?(0,window.css)(a.id,"mb",b,void 0,void 0):a&&(a.href=Ph(a.href,"mb",b,void 0)))}};var dca={NONE:0,mX:1};fi.prototype.isVisible=function(){return this.zg?.3<=this.g:.5<=this.g};var Bj={zW:0,yX:1},Yba={JZ:0,FF:1,EZ:2};gi.prototype.getValue=function(){return this.g};hi.prototype.enable=function(){this.o=!0};
hi.prototype.isEnabled=function(){return this.o};
hi.prototype.reset=function(){this.g={};this.o=!0;this.l={}};var Dba=(0,g.G)(),qi=-1,oi=-1,Xqa,ri=-1,pi=!1;var ui={},vi=null;ui.le=0;ui.nt=2;ui.Fr=3;ui.Po=5;ui.me=1;ui.om=4;xi.prototype.update=function(a,b,c){a&&(this.g+=b,this.l+=b,this.A+=b,this.o=Math.max(this.o,this.A));if(void 0===c?!a:c)this.A=0};yi.prototype.update=function(a,b,c,d,e,f){f=void 0===f?!0:f;b=e?Math.min(a,b):b;for(e=0;e<this.l.length;e++){var k=this.l[e],l=0<b&&b>=k;k=!(0<a&&a>=k)||c;this.g[e].update(f&&l,d,!f||k)}};Hi.prototype.update=function(a,b,c,d,e){this.D=-1!=this.D?Math.min(this.D,b.g):b.g;e&&(this.M=Math.max(this.M,b.g));this.g.update(b.g,c.g,b.o,a,d);c=d||c.zg!=b.zg?c.isVisible()&&b.isVisible():c.isVisible();this.W.update(c,a,!b.isVisible())};
Hi.prototype.ph=function(){return this.W.o>=this.ba};Ii.prototype.Gd=function(){return!!this.l||!!this.g};
Ii.prototype.toString=function(){return this.l+(this.g?"-":"")+this.g};
Ii.prototype.matches=function(a){return this.g||a.g?this.g==a.g:this.l||a.l?this.l==a.l:!1};var Gba=/^https?:\/\/(\w|-)+\.cdn\.ampproject\.(net|org)(\?|\/|$)/;Ni.prototype.Qa=function(a,b,c,d){a=a+"//"+b+c;var e=Hba(this)-c.length-d.length;if(0>e)return"";this.g.sort(function(a,b){return a-b});
c=null;b="";for(var f=0;f<this.g.length;f++)for(var k=this.g[f],l=this.l[k],m=0;m<l.length;m++){if(!e){c=null==c?k:c;break}var n=Qi(l[m],this.o,this.D);if(n){n=b+n;if(e>=n.length){e-=n.length;a+=n;b=this.o;break}else this.B&&(b=e,n[b-1]==this.o&&--b,a+=n.substr(0,b),b=this.o,e=0);c=null==c?k:c}}f="";this.A&&null!=c&&(f=b+this.A+"="+c);return a+f+d};var a1=null;var bha={k1:0,CZ:1,A_:2,vX:3,F0:4,HX:5,NY:6,B_:7,IV:8,KX:9,RV:10,P_:11};var Zi=g.w.performance,Yqa=!!(Zi&&Zi.mark&&Zi.measure&&Zi.clearMarks),Xi=g.Cf(function(){var a;if(a=Yqa){var b;if(null===a1){a1="";try{a="";try{a=g.w.top.location.hash}catch(c){a=g.w.location.hash}a&&(a1=(b=a.match(/\bdeid=([\d,]+)/))?b[1]:"")}catch(c){}}b=a1;a=!!b.indexOf&&0<=b.indexOf("1337")}return a});
Yi.prototype.D=function(){this.l=!1;this.events!=this.g.google_js_reporting_queue&&(Xi()&&(0,g.C)(this.events,$i),this.events.length=0)};
Yi.prototype.K=function(a){this.l&&this.events.push(a)};
Yi.prototype.start=function(a,b){if(!this.l)return null;var c=Vi()||Ui();c=new Wi(a,b,c);var d="goog_"+c.uniqueId+"_start";Zi&&Xi()&&Zi.mark(d);return c};
Yi.prototype.end=function(a){if(this.l&&g.ua(a.value)){var b=Vi()||Ui();a.duration=b-a.value;b="goog_"+a.uniqueId+"_end";Zi&&Xi()&&Zi.mark(b);this.K(a)}};cj.prototype.C=function(a){this.o=a};
cj.prototype.l=function(a,b,c,d){try{if(this.wa&&this.wa.l){var e=this.wa.start(a.toString(),3);var f=b();this.wa.end(e)}else f=b()}catch(l){b=this.o;try{$i(e);var k=fj(l);b=(d||this.D).call(this,a,k,void 0,c)}catch(m){this.g(217,m)}if(!b)throw l;}return f};
cj.prototype.B=function(a,b,c,d,e){var f=this;return function(k){for(var l=[],m=0;m<arguments.length;++m)l[m-0]=arguments[m];return f.l(a,function(){return b.apply(c,l)},d,e)}};
cj.prototype.g=function(a,b,c,d,e){e=e||"jserror";try{var f=new Ni;f.B=!0;Ri(f,1,"context",a);b.error&&b.meta&&b.id||(b=fj(b));b.msg&&Ri(f,2,"msg",b.msg.substring(0,512));b.file&&Ri(f,3,"file",b.file);0<b.line&&Ri(f,4,"line",b.line);var k=b.meta||{};if(d)try{d(k)}catch(m){}b=[k];f.g.push(5);f.l[5]=b;var l=Mi();l.l&&Ri(f,6,"top",l.l.url||"");Ri(f,7,"url",l.g.url||"");Ti(this.A,e,f,c)}catch(m){try{Ti(this.A,e,{context:"ecmserr",rctx:a,msg:ej(m),url:l&&l.g.url},c)}catch(n){}}return this.o};
g.p(dj,Ji);gj.prototype.C=function(a){this.o=a};
gj.prototype.g=function(a,b,c,d,e){if(Math.random()>(void 0===c?.01:c))return this.o;b.error&&b.meta&&b.id||(b=new Ji(b,{context:a,id:void 0===e?"jserror":e}));d&&(b.meta={},d&&d(b.meta));g.w.google_js_errors=g.w.google_js_errors||[];g.w.google_js_errors.push(b);g.w.error_rep_loaded||(b=g.w.document,c=g.w.location.protocol+"//pagead2.googlesyndication.com/pagead/js/err_rep.js",a=b.createElement("script"),g.Uc(a,g.Yd(c)),(b=b.getElementsByTagName("script")[0])&&b.parentNode&&b.parentNode.insertBefore(a,
b),g.w.error_rep_loaded=!0);return this.o};
gj.prototype.l=function(a,b,c,d){d=void 0===d?this.g:d;try{var e=this.wa&&this.wa.start(String(a),3);var f=b();this.wa&&e&&this.wa.end(e)}catch(k){if(e&&$i(e),!d.call(this,a,k,.01,c,"jserror"))throw k;}return f};
gj.prototype.B=function(a,b,c,d,e){var f=this;e=void 0===e?this.g:e;return function(k){for(var l=[],m=0;m<arguments.length;++m)l[m-0]=arguments[m];return f.l(a,function(){return b.apply(c,l)},d,e)}};var bj,hj,b1=bi(),aj=new Yi(1,b1);bj=new function(){var a=void 0===a?O:a;this.A="http:"===a.location.protocol?"http:":"https:";this.l="pagead2.googlesyndication.com";this.o="/pagead/gen_204?id=";this.g=.01};
hj=new cj;"complete"==b1.document.readyState?b1.google_measure_js_timing||aj.D():aj.l&&Uh(b1,"load",function(){b1.google_measure_js_timing||aj.D()});
var Iba=hj.g;if(ai&&ai.URL){var Zqa,Sh=ai.URL;Zqa=!!Sh&&0<zba().length;hj.C(!Zqa)};g.$qa=!g.sd&&!ec();vj.prototype.getStatus=function(){return"u"};
g.p(yj,vj);var Sba=[3,7,8,5,5],Tba=[3,4,4,5,6],Uba=[3,4,5,6],Vba=[3,5];zj.prototype.A=function(a){if(this.g&&this.g.contentWindow){var b=jj(245,this.A,this);this.g.contentWindow.requestAnimationFrame(b);this.l||(this.l=(0,g.G)()-a);this.o=a}};
zj.prototype.isVisible=function(a){return 50>a-this.l-this.o};
zj.prototype.remove=function(){try{g.Fd(this.g)}catch(a){}this.g=null};g.wa(Cj);Ej.prototype.ma=function(){return this.C};Fj.prototype.cancel=function(){O.clearTimeout(this.g);this.g=null};
Fj.prototype.schedule=function(){var a=this;O&&(this.g=O.setTimeout(jj(143,function(){a.l.aC()}),si(Cj.getInstance().H)))};g.h=Ij.prototype;g.h.Zi=function(){return!0};
g.h.initialize=function(){};
g.h.Bg=function(){return"geo"};
g.h.di=function(){return{}};
g.h.aC=function(){};
g.h.ju=function(){};
g.h.Qk=function(a){var b=this.l;this.K=a>=this.F;this.l=Math.max(this.F,a);!this.K||1==a&&0!=this.F||this.ju();this.l!=b&&Mj(this)};
g.h.ii=function(a){var b=this.g,c=this.D;b=!(a&&(void 0===c||!c||b.volume==a.volume)&&b.A==a.A&&Ug(b.g,a.g)&&g.dd(null,null));this.g=a;b&&Lj(this)};
g.h.Sj=function(){return this.D};
g.h.dispose=function(){this.M=!0};
g.h.ha=function(){return this.M};g.h=Nj.prototype;g.h.Wy=function(){};
g.h.xs=function(){};
g.h.iq=function(){this.o=new Ej(this.g.g,this.element,this.o.g,this.o.A,this.A(),this.o.l,this.o.D)};
g.h.dispose=function(){if(!this.ha()){var a=this.g;g.Ta(a.A,this);a.D&&this.Sj()&&Zba(a);this.B=!0}};
g.h.ha=function(){return this.B};
g.h.di=function(){return this.g.di()};
g.h.Qk=function(){};
g.h.ii=function(){this.iq()};
g.h.Sj=function(){return this.Um};Qj.prototype.add=function(a,b,c){++this.o;var d=this.o/4096;this.g.push($ba(new Oj(a,b,c),d));this.l=!0;return this};var c1=new Date(0);g.vb(c1.getUTCFullYear(),4);g.vb(c1.getUTCMonth()+1,2);g.vb(c1.getUTCDate(),2);g.vb(c1.getUTCHours(),2);g.vb(c1.getUTCMinutes(),2);var Sj=new g.Tg(0,0,0,0),mca={threshold:[0,.3,.5,.75,1]};g.h=Tj.prototype;g.h.Um=function(){return!1};
g.h.Gn=function(){return new Hi};
g.h.Cd=function(){return this.qs};
g.h.Ly=function(){};
g.h.Ky=function(){};
g.h.Hx=function(){};
g.h.xp=function(){};
g.h.Mg=function(a,b,c,d,e,f,k){k=void 0===k?{}:k;var l=this.xx(c,k);k=this.hq(a,b,d,k);g.ua(b)||(this.tA=new g.$c(a.left-b.left,a.top-b.top),this.Pl=new g.cd(b.right-b.left,b.bottom-b.top));e=e&&this.yc.g>=(this.zg()?.3:.5);this.wu(l,k,e,f);this.pi=c;0<k.g&&-1===this.LC&&(this.LC=c);-1==this.NC&&this.ph()&&(this.NC=c);if(-2==this.ls)try{a:{var m=g.ua(b)?null:b;if(a&&a!=Sj&&0!=this.ze){if(!m){if(!this.Pl){var n=-1;break a}m=new g.Tg(0,this.Pl.width,this.Pl.height,0)}n=m.Fb&&0<m.Fb()&&m.getHeight&&
0<m.getHeight()?this.uk(a,m):-1}else n=-1}this.ls=n}catch(q){kj(207,q)}this.yc=k;d&&(this.yc.g=0);this.rs(this)};
g.h.wu=function(a,b,c,d){this.Cd().update(a,b,this.yc,c,d)};
g.h.Pq=function(){return new fi};
g.h.hq=function(a,b,c){var d=this.Pq();d.o=c;c=ti();d.l=0==c?-1:1==c?0:1;d.g=g.ua(b)?this.uk(b):this.uk(a,b);d.zg=this.zg();return d};
g.h.xx=function(a){if(-1==this.pi)return 0;a=a-this.pi||1;return 1E4<a?1:a};
g.h.uk=function(a,b){if(0===this.opacity&&1===ji(this.Rc,"opac"))return 0;if(g.ua(a))return a;if(b){var c=sj(a,b),d=1==ji(this.Rc,"od");return 0>=this.ze||uj(c,b,this.tg,d)?0:(c.bottom-c.top)*(c.right-c.left)/this.ze}return 0};
g.h.zg=function(){return!1};
g.h.gf=function(){return 0};
g.h.ph=function(){return this.qs.ph()};
g.h.fu=function(a){a=void 0===a?1:a;if(!this.tg)return!1;var b=this.zg();b&&(a=4);b=new yj(b,a);if(a=Pba(b,this.tg))this.Ji=b;return a};var bk="StopIteration"in g.w?g.w.StopIteration:{message:"StopIteration",stack:""};ak.prototype.next=function(){throw bk;};
ak.prototype.de=function(){return this};g.fk=function(){if(g.S0){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(g.Gb))?a[1]:"0"}return tS?(a=/10[_.][0-9_.]+/,(a=a.exec(g.Gb))?a[0].replace(/_/g,"."):"10"):g.Mn?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(g.Gb))?a[1]:""):Fn||Gn||Oqa?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(g.Gb))?a[1].replace(/_/g,"."):""):""}();var gx=null,d1={},aha=(d1[8]="google_prev_ad_formats_by_region",d1[9]="google_prev_ad_slotnames_by_region",d1);var Dl={currentTime:1,duration:2,isVpaid:4,volume:8,isYouTube:16,isPlaying:32},Cl={tv:"start",Yu:"firstquartile",dv:"midpoint",yv:"thirdquartile",Wu:"complete",AF:"metric",PAUSE:"pause",VF:"resume",kv:"skip",Cv:"viewable_impression",DF:"mute",tG:"unmute",Zu:"fullscreen",XE:"exitfullscreen",av:"fully_viewable_audible_half_duration_impression",cv:"measurable_impression",iE:"abandon",Xu:"engagedview",Zl:"impression",ME:"creativeview",Pp:"loaded",k_:"progress",CLOSE:"close",mW:"collapse",LF:"overlay_resize",
MF:"overlay_unmeasurable_impression",NF:"overlay_unviewable_impression",PF:"overlay_viewable_immediate_impression",OF:"overlay_viewable_end_of_session_impression",OE:"custom_metric_viewable"},Hda="start firstquartile midpoint thirdquartile resume loaded".split(" "),Ida=["start","firstquartile","midpoint","thirdquartile"],Bca=["abandon"],Al={UNKNOWN:-1,tv:0,Yu:1,dv:2,yv:3,Wu:4,AF:5,PAUSE:6,VF:7,kv:8,Cv:9,DF:10,tG:11,Zu:12,XE:13,av:14,cv:15,iE:16,Xu:17,Zl:18,ME:19,Pp:20,OE:21};g.p(lk,fi);nk.prototype.Aa=function(a){var b=this.l[a],c=b[1];this.o+=b[0];0<c&&0==this.g[a]&&(this.g[a]=1)};g.wa(pk);sk.prototype.getValue=function(){return this.l};
sk.prototype.update=function(a,b){32<=a||(this.g&1<<a&&!b?this.l&=~(1<<a):this.g&1<<a||!b||(this.l|=1<<a),this.g|=1<<a)};g.p(tk,Hi);
tk.prototype.update=function(a,b,c,d,e){if(!b.paused){Hi.prototype.update.call(this,a,b,c,d,e);e=mk(b)&&mk(c);var f=.5<=(d?Math.min(b.g,c.g):c.g);rj(b.volume)&&(this.A=-1!=this.A?Math.min(this.A,b.volume):b.volume,this.C=Math.max(this.C,b.volume));f&&(this.K+=a,this.H+=e?a:0);this.o.update(b.g,c.g,b.o,a,d,e);this.l.update(!0,a);this.B.update(e,a);this.I.update(c.fullscreen,a);this.ca.update(e&&!f,a);a=Math.floor(b.A/1E3);this.N.update(a,b.isVisible());this.Y.update(a,1<=b.g);this.X.update(a,mk(b))}};g.p(vk,xca);vk.prototype.B=function(){return!0};
vk.prototype.A=function(){return!1};
vk.prototype.l=function(){var a=this,b=Sb(Cl,function(b){return b==a.C});
return Al[b].toString()};
vk.prototype.toString=function(){var a="";this.A()&&(a+="c");this.g&&(a+="s");0<this.o&&(a+=":"+this.o);return this.l()+a};var ara=new g.Tg(0,0,0,0),e1={},Cca=(e1.firstquartile=0,e1.midpoint=1,e1.thirdquartile=2,e1.complete=3,e1);g.p(yk,Tj);g.h=yk.prototype;g.h.Um=function(){return!0};
g.h.fu=function(a){a=void 0===a?3:a;var b=pk.getInstance(),c=rk(b,509445013);b=rk(b,509445011);return c||b?(this.Xa=!0,Tj.prototype.fu.call(this,a)):!1};
g.h.Ly=function(a){var b=this,c=a-this.Pa;this.na&&1E3>=c||(c=g.x("ima.bridge.getNativeViewability"),g.Aa(c)&&(c(this.Zd,function(a){b.na=!1;b.F&&(b.Ga=!0);g.Ub(a)&&b.ra++;b.xp(a)}),this.na=!0,this.Pa=a))};
g.h.Ky=function(a){var b=Cj.getInstance();a-this.Oa>si(b.H)&&(a=g.x("ima.admob.getViewability"),g.Aa(a)&&a(this.Zd))};
g.h.Hx=function(a){this.Oa=ki();this.xp(a)};
g.h.xp=function(a){var b=a.opt_nativeViewBounds||{},c=a.opt_nativeViewVisibleBounds||{},d=a.opt_nativeTime||-1,e=a.opt_nativeVolume,f=a.opt_nativeViewAttached;a=a.opt_nativeViewHidden;void 0!==f&&(this.da=!!f);b=new g.Tg(b.top||0,b.left+b.width||0,b.top+b.height||0,b.left||0);c=a?ara.clone():new g.Tg(c.top||0,c.left+c.width||0,c.top+c.height||0,c.left||0);f=void 0;if("n"==this.A||"ml"==this.A)f={volume:e};e=f;e=void 0===e?{}:e;this.ze=(b.bottom-b.top)*(b.right-b.left);this.position=b;this.Mg(b,c,
d,!1,!0,!0,e)};
g.h.Mg=function(a,b,c,d,e,f,k){var l=this;k=void 0===k?{}:k;var m=this.Ya(this)||{};g.bc(m,k);this.B=m.duration||this.B;this.ka=m.isVpaid||this.ka;this.I=m.isYouTube||this.I;this.Y=f;Tj.prototype.Mg.call(this,a,b,c,d,e,f,m);(0,g.C)(this.C,function(a){a.g||(a.g=xk(a,l))})};
g.h.wu=function(a,b,c,d){Tj.prototype.wu.call(this,a,b,c,d);Bk(this).update(a,b,this.yc,c,d);this.fa=mk(this.yc)&&mk(b);-1==this.V&&this.Ea&&(this.V=this.Cd().l.g);this.Jc.o=0;a=this.yc;b=this.ph();.5<=a.g&&this.Jc.Aa("vs");b&&this.Jc.Aa("vw");rj(a.volume)&&this.Jc.Aa("am");this.fa&&this.Jc.Aa("a");this.Of&&this.Jc.Aa("f");-1!=a.l&&(this.Jc.Aa("bm"),1==a.l&&this.Jc.Aa("b"));this.fa&&b&&this.Jc.Aa("avw");this.Y&&this.Jc.Aa("cm");this.Y&&0<a.g&&this.Jc.Aa("pv");Ck(this,this.Cd().l.g,!0)&&this.Jc.Aa("gdr");
2E3<=Ei(this.Cd().g,1)&&this.Jc.Aa("pmx")};
g.h.Gn=function(){return new tk};
g.h.Cd=function(){return this.qs};
g.h.Pq=function(){return new lk};
g.h.hq=function(a,b,c,d){a=Tj.prototype.hq.call(this,a,b,c,d);a.fullscreen=this.Of;a.paused=2==this.pd;a.volume=d.volume;rj(a.volume)||(this.ib++,b=this.yc,rj(b.volume)&&(a.volume=b.volume));d=d.currentTime;a.A=g.t(d)&&0<=d?d:-1;return a};
g.h.xx=function(a,b){var c=g.t(b.currentTime)?b.currentTime:this.K;if(-1==this.pi||2==this.pd)var d=0;else{d=a-this.pi||1;var e=1E4;g.t(this.B)&&-1!=this.B&&(e=Math.max(e,this.B/3));d=d>e?1:d}e=c-this.K;var f=0;0<=e?(this.H+=d,this.W+=Math.max(d-e,0),f=Math.min(e,this.H)):this.oa+=Math.abs(e);0!=e&&(this.H=0);-1==this.ub&&0<e&&(this.ub=0<=ri?ki()-ri:-1);this.K=c;return 1==(rk(pk.getInstance(),668123009)||this.I?1:0)?f:d};
g.h.uk=function(a,b){return this.F?0:this.Of?1:Tj.prototype.uk.call(this,a,b)};
g.h.gf=function(){return 1};
g.h.getDuration=function(){return this.B};
g.h.Kn=function(a,b,c,d){if(this.Ag)return{"if":0};var e=this.position.clone();e.round();var f=(0,g.H)(this.l,function(a){return 100*a.UT|0}),k=Cj.getInstance(),l=this.Cd(),m={};
this.Xa&&(m.avms="raf");m["if"]=k.l?1:void 0;m.sdk=this.A?this.A:void 0;m.t=this.BT;m.p=[e.top,e.left,e.bottom,e.right];m.tos=Ai(l.g,!1);m.mtos=Di(l.g);m.mcvt=l.W.o;m.ps=void 0;m.pt=f;e=uk(l,ki(),2==this.pd);m.vht=e;m.mut=l.ca.o;m.a=Ak(this.yc.volume);m.mv=Ak(l.C);m.fs=this.Of?1:0;m.ft=l.I.g;m.at=l.B.g;m.as=.1<=l.A?1:0;m.atos=Ai(l.o);m.amtos=Di(l.o);m.uac=this.ib;m.vpt=l.l.g;"nio"==k.yb&&(m.nio=1,m.avms="nio");m.gmm="4";m.gdr=Ck(this,l.l.g,!0)?1:0;this.Au&&(m.efpf=this.Eq);0<this.ra&&(m.nnut=this.ra);
m.tcm=rk(pk.getInstance(),668123009)||this.I?1:0;m.nmt=this.oa;m.bt=this.W;m.pst=this.ub;m.vpaid=this.ka;m.dur=this.B;m.vmtime=this.K;m.is=this.Jc.o;1<=this.l.length&&(m.i0=this.l[0].eo);2<=this.l.length&&(m.i1=this.l[1].eo);3<=this.l.length&&(m.i2=this.l[2].eo);4<=this.l.length&&(m.i3=this.l[3].eo);m.cs=wca(this.Jc);a&&(m.ic=vca(this.Jc),m.dvpt=l.l.l,m.dvs=Fi(l.g,.5),m.dfvs=Fi(l.g,1),m.davs=Fi(l.o,.5),m.dafvs=Fi(l.o,1),b&&(l.l.l=0,Gi(l.g),Gi(l.o)),this.ph()&&(m.dtos=l.K,m.dav=l.H,m.dtoss=this.X+
1,b&&(l.K=0,l.H=0,this.X++)),m.dat=l.B.l,m.dft=l.I.l,b&&(l.B.l=0,l.I.l=0));k.A&&(m.ps=[k.A.width,k.A.height]);k.g&&(m.bs=[k.g.width,k.g.height]);k.C&&(m.scs=[k.C.width,k.C.height]);m.dom=k.domain;this.ik&&(m.vds=this.ik);if(0<this.C.length||this.bl)a=g.Wa(this.C),this.bl&&a.push(this.bl),m.pings=(0,g.H)(a,function(a){return a.toString()});
m.ces=(0,g.H)((0,g.Hd)(this.C,function(a){return a.A()}),function(a){return a.l()});
this.g&&(m.vmer=this.g);this.D&&(m.vmmk=this.D);this.N&&(m.vmiec=this.N);this.yb&&(m.avms=this.yb.Bg(),g.bc(m,this.yb.di()));"exc"==k.yb&&(m.femt=this.ca,m.femvt=this.ob,m.emc=this.Sa,m.emb=Ai(this.Ia,!1),m.emuc=this.ba,m.avms="exc");c?(m.c=Xj(this.yc.g,2),m.ss=Xj(Dca(this),2)):m.tth=ki()-Xqa;m.mc=Xj(l.M,2);m.nc=Xj(l.D,2);m.mv=Ak(l.C);m.nv=Ak(l.A);m.lte=Xj(this.ls,2);c=Bk(this,d);Di(l.g);m.qmtos=Di(c.g);m.qnc=Xj(c.D,2);m.qmv=Ak(c.C);m.qnv=Ak(c.A);m.qas=.1<=c.A?1:0;m.qi=this.Zd;null!==this.da&&(m.nvat=
this.da?1:0);m.avms||(m.avms="geo");m.psm=l.N.g;m.psv=l.N.getValue();m.psfv=l.Y.getValue();m.psa=l.X.getValue();l=pk.getInstance().g;l.length&&(m.veid=l);return m};g.h=Gk.prototype;g.h.create=function(a,b,c,d){var e=null;this.g&&(e=this.Vy(a,b,void 0===c?!1:c,void 0===d?function(){return null}:d),Jj(this.g,e));
return e};
g.h.Zi=function(){return!1};
g.h.init=function(){return!0};
g.h.dispose=function(){this.B=!0};
g.h.ha=function(){return this.B};
g.h.di=function(){return{}};g.wa(Hk);g.A(g.Ik,g.K);g.h=g.Ik.prototype;g.h.nj=!1;g.h.Mk=0;g.h.wa=null;g.h.mj=function(a){this.g=arguments;this.wa||this.Mk?this.nj=!0:Jk(this)};
g.h.stop=function(){this.wa&&(g.og(this.wa),this.wa=null,this.nj=!1,this.g=[])};
g.h.pause=function(){this.Mk++};
g.h.resume=function(){this.Mk--;this.Mk||!this.nj||this.wa||(this.nj=!1,Jk(this))};
g.h.U=function(){g.Ik.Z.U.call(this);this.stop()};
g.h.KH=function(){this.wa=null;this.nj&&!this.Mk&&(this.nj=!1,Jk(this))};g.h=Lk.prototype;g.h.My=function(){Pk(this,!1);this.fr()};
g.h.fr=function(){Qk(this,Vk(this),!1)};
g.h.aC=function(){Qk(this,Vk(this),!1)};
g.h.Nx=function(){var a=Rk(this),b=ki();a?(pi||(qi=b,(0,g.C)(this.g,function(a){var c=a.Cd();c.V=uk(c,b,1!=a.pd)})),pi=!0,Pk(this,!0)):(this.V=Wk(this,b),pi=!1,Xqa=b,(0,g.C)(this.g,function(a){a.Wh&&(a.Cd().F=b)}));
Qk(this,Vk(this),!a)};
g.h.FT=function(a){var b;if(b=null!=a.IntersectionObserver){if(a=Xk(a,"nio",Vk(this)))Cj.getInstance().yb="nio";b=a}return b};
g.h.GT=function(a){return hk()&&Yk(this,a)};
g.h.ET=function(a){if(g.lh&&g.ua(a.screenX)&&g.ua(a.mozInnerScreenX)&&g.ua(a.outerWidth)){a=a.navigator.userAgent;var b=a.indexOf("Firefox/");if(0<=b){b=Math.floor(a.substr(b+8))||-1;var c=a.indexOf("Mac OS X 10."),d=-1;0<=c&&(d=Number(a.substr(c+12,1))||-1);var e=0<d?-1:a.indexOf("Windows NT ");c=-1;0<=e&&(c={"6.0":0,"6.1":1,"6.2":2}[a.substr(e+11,3)]||-1);a=148;5<=d?a=4<=b?108:3<=b?127:108:0<=c&&(16==b||17==b||18==b)&&(a=[[146,146,146],[148,147,148],[131,130,136]][c][b-16])}else a=null;null!==a&&
(this.H=a,Cj.getInstance().yb="xde");return!0}return!1};
g.h.DT=function(a){return g.sd&&g.nc(8)&&g.Aa(wi(a&&a.document))?(Cj.getInstance().yb="iem",!0):!1};
g.h.reset=function(){this.g=[];this.o=[]};
g.wa(Lk);var Nk=Lk.getInstance();var rl=null,wl="",tl=!1;var Sca=function(a,b){return function(c){for(var d=0;d<b.length;d++)if(b[d]===c[a]||!g.t(b[d])&&!c.hasOwnProperty(a))return!0;return!1}}("e",[void 0,
1,2,3,4,8,16]),bra={sv:"sv",cb:"cb",e:"e",nas:"nas",msg:"msg","if":"if",sdk:"sdk",p:"p",tos:"tos",mtos:"mtos",mcvt:"mcvt",ps:"ps",scs:"scs",bs:"bs",pt:"pt",vht:"vht",mut:"mut",a:"a",ft:"ft",dft:"dft",at:"at",dat:"dat",as:"as",vpt:"vpt",gmm:"gmm",std:"std",efpf:"efpf",swf:"swf",nio:"nio",px:"px",nnut:"nnut",vmer:"vmer",vmmk:"vmmk",vmiec:"vmiec",nmt:"nmt",tcm:"tcm",bt:"bt",pst:"pst",vpaid:"vpaid",dur:"dur",vmtime:"vmtime",dtos:"dtos",dtoss:"dtoss",dvs:"dvs",dfvs:"dfvs",dvpt:"dvpt",fmf:"fmf",vds:"vds",
is:"is",i0:"i0",i1:"i1",i2:"i2",i3:"i3",ic:"ic",cs:"cs",c:"c",mc:"mc",nc:"nc",mv:"mv",nv:"nv",qmt:dl("qmtos"),qnc:dl("qnc"),qmv:dl("qmv"),qnv:dl("qnv"),raf:"raf",rafc:"rafc",lte:"lte",ces:"ces",tth:"tth",femt:"femt",femvt:"femvt",emc:"emc",emuc:"emuc",emb:"emb",avms:"avms",nvat:"nvat",qi:"qi",psm:"psm",psv:"psv",psfv:"psfv",psa:"psa",pnk:"pnk",pnc:"pnc",pnmm:"pnmm",pns:"pns",ptlt:"ptlt",dc_rfl:"urlsigs",pngs:"pings",obd:"obd",veid:"veid"},cra={c:$k("c"),at:"at",atos:cl("atos",[0,2,4]),ta:function(a,
b){return function(c){if(!g.t(c[a]))return b}}("tth","1"),
a:"a",dur:"dur",p:"p",tos:bl(),j:"dom",mtos:cl("mtos",[0,2,4]),gmm:"gmm",gdr:"gdr",ss:$k("ss"),vsv:Bf("w2"),t:"t"},dra={atos:"atos",amtos:"amtos",avt:cl("atos",[2]),davs:"davs",dafvs:"dafvs",dav:"dav",ss:$k("ss"),t:"t"},era={a:"a",tos:bl(),at:"at",c:$k("c"),mtos:cl("mtos",[0,2,4]),dur:"dur",fs:"fs",p:"p",vpt:"vpt",vsv:Bf("ias_w2"),dom:"dom",gmm:"gmm",gdr:"gdr",t:"t"},fra={tos:bl(),at:"at",c:$k("c"),mtos:cl("mtos",[0,2,4]),p:"p",vpt:"vpt",vsv:Bf("dv_w4"),gmm:"gmm",gdr:"gdr",dom:"dom",t:"t",mv:"mv",
qmpt:cl("qmtos",[0,2,4]),qvs:function(a,b){return function(c){var d=c[a];if(g.ua(d))return(0,g.H)(b,function(a){return 0<d&&d>=a?1:0})}}("qnc",[1,
.5,0]),qmv:"qmv",qa:"qas",a:"a"};g.p(el,vk);el.prototype.B=function(a){return a.Cd().ph()};g.p(gl,Uca);gl.prototype.g=function(a){var b=new Tca;b.g=fl(a,bra);b.o=fl(a,dra);return b};g.p(hl,Nj);hl.prototype.A=function(){return!0};
hl.prototype.iq=function(){if(this.element){var a=this.element.getBoundingClientRect(),b=a.right-a.left;a=a.bottom-a.top;var c=g.xh(this.element,this.g.be),d=c.x;c=c.y;this.l=new g.Tg(Math.round(c),Math.round(d+b),Math.round(c+a),Math.round(d))}(b=this.g.g.g)?(b=sj(this.l,b),b=b.top>=b.bottom||b.left>=b.right?new g.Tg(0,0,0,0):Vg(b,-this.l.left,-this.l.top)):b=new g.Tg(0,0,0,0);var e=this.g.g.g;d=a=0;var f=1==ji(this.Rc,"od");c=(this.l.bottom-this.l.top)*(this.l.right-this.l.left);e&&b&&0<c&&(uj(b,
e,this.element,f)?b=new g.Tg(0,0,0,0):(f=(b.bottom-b.top)*(b.right-b.left),e=(e.bottom-e.top)*(e.right-e.left),a=f/c,e&&(d=f/e)));this.o=new Ej(this.g.g,this.element,this.l,b,this.A(),a,d)};
hl.prototype.Bg=function(){return this.o.o.o.Bg()};
hl.prototype.ii=function(a){null==this.element&&(this.l=new g.Tg(0,0,0,0));Nj.prototype.ii.call(this,a)};g.p(il,Gk);g.h=il.prototype;g.h.Bg=function(){return this.l?this.l.Bg():this.g?this.g.Bg():"none"};
g.h.di=function(){return this.l?this.l.di():this.g?this.g.di():{}};
g.h.init=function(a){this.A=a;return this.g?((0,g.C)(this.o,function(a){return a.initialize()}),Jj(this.g,this),!0):!1};
g.h.dispose=function(){(0,g.C)(this.o,function(a){a.ju();a.dispose()});
Gk.prototype.dispose.call(this)};
g.h.Zi=function(){return(0,g.Kj)(this.o,function(a){return a.Zi()})};
g.h.Vy=function(a,b,c,d){return new hl(a,this.g,b,c,d)};
g.h.Qk=function(a){0==a&&this.A(this.g.C,this)};
g.h.ii=function(a){this.l=a.o};
g.h.Sj=function(){return!1};var Xca={threshold:[0,.3,.5,.75,1]};g.p(jl,Nj);jl.prototype.Bg=function(){return"nio"};
jl.prototype.A=function(){return!0};
jl.prototype.Wy=function(){var a=this;ij(298,function(){return Zca(a)})||this.C("msf",this)};
jl.prototype.xs=function(){if(this.l&&this.element)try{this.l.unobserve(this.element)}catch(a){}};
g.p(kl,Gk);kl.prototype.Bg=function(){return"nio"};
kl.prototype.Zi=function(){var a=ji(Cj.getInstance().Rc,"nio_mode");return(2===a||1===a)&&!Mca()&&null!=this.g.be.IntersectionObserver};
kl.prototype.Vy=function(a,b,c,d){return new jl(a,this.g,b,c,d)};g.p(ll,Ij);ll.prototype.Bg=function(){return"osd"};
ll.prototype.initialize=function(){var a=this;if(this.B.Gd()){lj(g.w,"message",function(b){if(null!=b&&b.data&&g.u(b.data)){var c=b.data;if(g.u(c)){var e={};c=c.split("\n");for(var f=0;f!=c.length;++f){var k=c[f],l=k.indexOf("=");if(!(0>=l)){var m=Number(k.substr(0,l));k=k.substr(l+1);switch(m){case 26:case 15:case 8:case 11:case 16:case 5:case 18:k="true"==k;break;case 4:case 6:case 25:case 28:case 29:case 24:case 23:case 22:case 7:case 21:case 20:k=Number(k);break;case 19:case 3:if(g.Aa(window.decodeURIComponent))try{k=
(0,window.decodeURIComponent)(k)}catch(q){throw Error("Error: URI malformed: "+k);}}e[m]=k}}e=e[0]?e:null}else e=null;if(e&&a.B.matches(new Ii(e[4],e[12]))&&(c=e[29],f=e[0],g.Oa(["goog_acknowledge_monitoring","goog_get_mode","goog_update_data","goog_image_request"],f))){jda(a,e);if("goog_get_mode"==f&&b.source){m={};mj(a.B,m);m[0]="goog_provide_mode";m[6]=a.V;m[19]=a.I;m[16]=a.N;try{var n=nj(m);b.source.postMessage(n,b.origin)}catch(q){}}if("goog_get_mode"==f||"goog_acknowledge_monitoring"==f)bda(a,
e[28]),a.H=2,nl(a);if(a.o.length||a.A.length)switch(4!=c&&(k=e[0],m=!1,b=a.g.l,n=a.g.volume,c=a.g.g,f=ki(),"goog_acknowledge_monitoring"==k&&(a.l=e[8]?0:2,Mj(a)),(0,window.isNaN)(e[22])||(0,window.isNaN)(e[23])||(m=!0,b=new g.cd(e[22],e[23])),e[9]&&(m=!0,k=e[9].split("-"),4==k.length&&(c=new g.Tg(Db(k[0]),Db(k[3]),Db(k[2]),Db(k[1])))),m&&(m=Rk(Nk),a.g=new Dj(f,b,c,m,a,n),Lj(a))),b=e[0],n=100*e[25],g.ua(n)&&!(0,window.isNaN)(n)&&dda(a,n),void 0!=e[18]&&eda(a,e[18]),void 0!=e[7]&&0<e[7]&&fda(a,e[7]),
n=!!e[5],c=!!e[11],f=!1,"goog_update_data"==b&&(f=!!e[15],cda(a,e[3])),b){case "goog_image_request":gda(a,n,c);case "goog_update_data":n&&hda(a,f),c&&ida(a)}}}},118);
var b=jj(197,function(){ada(a,a.V,a.B,a.N,a.I,function(){a.l=0;Mj(a)})});
this.H=1;this.X=this.be.setInterval(b,500)}else this.l=0,this.C="ib",this.F=this.l=0,Mj(this)};
ll.prototype.ju=function(){var a={};mj(this.B,a);a[0]="goog_stop_monitoring";a=nj(a);var b=ml(this,!1),c=!b;c&&(b=this.be.parent);if(b&&b.postMessage)try{b.postMessage(a,"*"),c&&this.be.postMessage(a,"*")}catch(d){}};
g.wa(ll);g.h=ol.prototype;g.h.Jn=function(){};
g.h.Vq=function(){return[new el("viewable_impression",this.g)]};
g.h.Qk=function(a){switch(a){case 0:Cj.getInstance().o=!1;sl();break;case 2:Ok()}};
g.h.ii=function(a){var b=Cj.getInstance();b.g=a.l;b.B=a.g};
g.h.Sj=function(){return!1};
g.h.zI=function(a){Ek(a,0);return Fk(a,"start",Rk(Nk))};
g.h.gk=function(a,b,c){Qk(Nk,[a],!Rk(Nk),b);return this.ih(a,b,c)};
g.h.ih=function(a,b,c){return Fk(a,c,Rk(Nk))};
g.h.tI=function(a,b){return yl(a,"firstquartile",1,b)};
g.h.vI=function(a,b){a.Ea=!0;return yl(a,"midpoint",2,b)};
g.h.AI=function(a,b){return yl(a,"thirdquartile",3,b)};
g.h.rI=function(a,b){var c=yl(a,"complete",4,b);zk(a);return c};
g.h.xI=function(a,b){var c=Rk(Nk);if(2==a.pd&&!c){var d=ki();a.Cd().F=d}Qk(Nk,[a],!c,b);2==a.pd&&(a.pd=1);return Fk(a,"resume",c)};
g.h.yI=function(a,b){var c=this.gk(a,b||{},"skip");zk(a);return c};
g.h.uI=function(a,b){a.Of=!0;return this.gk(a,b||{},"fullscreen")};
g.h.sI=function(a,b){a.Of=!1;return this.gk(a,b||{},"exitfullscreen")};
g.h.FB=function(a,b,c){var d=a.Cd(),e=ki();d.V=uk(d,e,1!=a.pd);Qk(Nk,[a],!Rk(Nk),b);1==a.pd&&(a.pd=2);return Fk(a,c,Rk(Nk))};
g.h.wI=function(a,b){Qk(Nk,[a],!Rk(Nk),b);return a.l()};
g.h.pr=function(a,b){Qk(Nk,[a],!Rk(Nk),b);this.SB(a);zk(a);return a.l()};
g.h.kr=function(){};
g.h.Kn=function(a,b){if(tl)return Bl("ue");var c=this.Jn(a,b);if(!c)return Bl("nf");var d=Bl();g.bc(d,c.Kn(!0,!1));return d};
g.h.Ut=function(){};
g.h.SB=function(){};
g.h.Uy=function(){};
g.h.au=function(){};
g.h.Bw=function(){};var sda={zX:"visible",zV:"audible",A0:"time",D0:"timetype"},Fl={visible:function(a){return/^(100|[0-9]{1,2})$/.test(a)},
audible:function(a){return"0"==a||"1"==a},
timetype:function(a){return"mtos"==a||"tos"==a},
time:function(a){return/^(100|[0-9]{1,2})%$/.test(a)||/^([0-9])+ms$/.test(a)}};g.p(Gl,vk);Gl.prototype.l=function(){return this.ia};
Gl.prototype.A=function(){return!0};
Gl.prototype.B=function(a){var b=a.Cd(),c=a.getDuration();return(0,g.Kj)(this.D,function(a){if(void 0!=a.g)var d=uda(a,b);else b:{switch(a.B){case "mtos":d=a.l?b.B.o:b.l.g;break b;case "tos":d=a.l?b.B.g:b.l.g;break b}d=0}0==d?a=!1:(a=-1!=a.o?a.o:g.t(c)&&0<c?a.A*c:-1,a=-1!=a&&d>=a);return a})};g.p(Hl,vk);Hl.prototype.B=function(a){var b=Ci(a.Cd().o,1);return Ck(a,b)};var Jl=(0,g.G)(),Ll=!1,Ml=!1,Nl=!1,wda=[function(a){return!(!a.chrome||!a.chrome.webstore)},
function(a){return!!a.document.documentMode},
function(a){return!!a.document.fonts.ready},
function(){return Kl(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 Kl(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 Kl(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 Kl(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 Kl(4)},
function(a){return"srcset"in a.document.createElement("img")},
function(){return Ml},
function(){return Nl},
function(){return Kl(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{(0,window.DummyFunction1)()}catch(b){a=!0}return a},
function(){var a=!1;try{(0,window.DummyFunction2)()}catch(b){a=!0}return a},
function(){return!1},
function(){return Kl(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]||Il(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 Il(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 Kl(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 Il(a.CSS.supports)},
function(){return Il(window.Intl.Collator)},
function(a){return Il(a.document.createElement("dialog").show)},
function(){return Kl(8)},
function(a){return Il(a.document.createElement("div").animate([{transform:"scale(1)",lH:"ease-in"},{transform:"scale(1.3)",lH:"ease-in"}],{duration:1300,n2:1}).reverse)},
function(a){return Il(a.document.createElement("div").animate)},
function(a){return Il(a.document.documentElement.webkitRequestFullScreen)},
function(a){return Il(a.navigator.getBattery)},
function(a){return Il(a.navigator.permissions.query)},
function(){return!1},
function(){return Kl(9)},
function(){return Il(window.webkitRequestAnimationFrame)},
function(a){return Il(a.BroadcastChannel.call)},
function(a){return Il(a.FontFace)},
function(a){return Il(a.Gamepad)},
function(){return Kl(10)},
function(a){return Il(a.MutationEvent)},
function(a){return Il(a.MutationObserver)},
function(a){return Il(a.crypto.getRandomValues)},
function(a){return Il(a.document.body.createShadowRoot)},
function(a){return Il(a.document.body.webkitCreateShadowRoot)},
function(a){return Il(a.fetch)},
function(){return Kl(11)},
function(a){return Il(a.navigator.serviceWorker.register)},
function(a){return Il(a.navigator.webkitGetGamepads)},
function(a){return Il(a.speechSynthesis.speak)},
function(a){return Il(a.webkitRTCPeerConnection)},
function(a){return a.CSS.supports("--fake-var","0")},
function(){return Kl(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 Kl(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 window.InstallTrigger},
function(){return"object"==typeof(new window.Intl.Collator).resolvedOptions()},
function(a){return"boolean"==typeof a.navigator.onLine},
function(){return Kl(14)},
function(a){return"undefined"==typeof a.navigator.u2},
function(a){return"number"==typeof a.performance.now()},
function(){return 0==(new window.Uint16Array(1))[0]},
function(a){return-1==a.ActiveXObject.toString().indexOf("native")},
function(a){return-1==Object.prototype.toString.call(a.HTMLElement).indexOf("Constructor")}],xda=[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;d<c.length;d++){try{b=a.getComponentVersion(c[d],"componentid").replace(/,/g,".")}catch(e){}if(b)return b.split(".")[0]}return!1},
function(){return(new Date).getTimezoneOffset()},
function(a){return(a.innerWidth||a.document.documentElement.clientWidth||a.document.body.clientWidth)/(a.innerHeight||a.document.documentElement.clientHeight||a.document.body.clientHeight)},
function(a){return(a.outerWidth||a.document&&a.document.body&&a.document.body.offsetWidth)/(a.outerHeight||a.document&&a.document.body&&a.document.body.offsetHeight)},
function(a){return a.screen.availWidth/a.screen.availHeight},
function(a){return a.screen.width/a.screen.height}],yda=[function(a){return a.navigator.userAgent},
function(a){return a.navigator.platform},
function(a){return a.navigator.vendor}];g.A(Ol,iba);Ol.prototype.reset=function(){this.g[0]=1732584193;this.g[1]=4023233417;this.g[2]=2562383102;this.g[3]=271733878;this.A=this.o=0};
Ol.prototype.update=function(a,b){g.t(b)||(b=a.length);for(var c=b-this.l,d=this.B,e=this.o,f=0;f<b;){if(0==e)for(;f<=c;)Pl(this,a,f),f+=this.l;if(g.u(a))for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.l){Pl(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.l){Pl(this,d);e=0;break}}this.o=e;this.A+=b};
Ol.prototype.digest=function(){var a=Array((56>this.o?this.l:2*this.l)-this.o);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;var c=8*this.A;for(b=a.length-8;b<a.length;++b)a[b]=c&255,c/=256;this.update(a);a=Array(16);for(b=c=0;4>b;++b)for(var d=0;32>d;d+=8)a[c++]=this.g[b]>>>d&255;return a};g.p(Ql,gl);Ql.prototype.g=function(a){var b=gl.prototype.g.call(this,a);var c=Jl=(0,g.G)();var d=Kl(5);c=(Ml?!d:d)?c|2:c&-3;d=Kl(2);c=(Nl?!d:d)?c|8:c&-9;c={s1:(c>>>0).toString(16)};this.l||(this.l=zda());b.B=this.l;b.C=fl(a,cra,c,"h",Rl("kArwaWEsTs"));b.A=fl(a,era,{},"h",Rl("b96YPMzfnx"));b.l=fl(a,fra,{},"h",Rl("yb8Wev6QDg"));return b};Sl.prototype.g=function(){return g.x(this.l)};g.p(Tl,Sl);Tl.prototype.g=function(a){if(!a.zh)return Sl.prototype.g.call(this,a);var b=this.A[a.zh];if(b)return function(a,d,e){b.l(a,d,e)};
kj(393,Error());return null};g.p(Yl,ol);g.h=Yl.prototype;g.h.Jn=function(a,b){var c=this;switch(Cj.getInstance().yb){case "nis":var d=Eda(this,a,b);break;case "gsv":d=Dda(this,a,b);break;case "exc":d=Fda(this,a);break;default:b.opt_overlayAdElement?d=void 0:b.opt_adElement?d=pda(this,a,b.opt_adElement,b.opt_osdId):d=Uk(a)||void 0}d&&1==d.gf()&&(d.Ya==g.y&&(d.Ya=function(a){return c.Uy(a)}),Cda(this,d,b));
return d};
g.h.Uy=function(a){var b=Cj.getInstance();a.g=0;a.N=0;if("h"==a.A||"n"==a.A){if("exc"==b.yb||"nis"==b.yb)var c=g.x("ima.bridge.getVideoMetadata");else if(a.zh&&am(this)){var d=this.F[a.zh];d?c=function(a){d.g(a)}:null!==d&&kj("lidar::missingPlayerCallback",Error())}else c=g.x("ima.common.getVideoMetadata");
if(g.Aa(c))try{var e=c(a.Zd)}catch(f){a.g|=4}else a.g|=2}else if("b"==a.A)if(b=g.x("ytads.bulleit.getVideoMetadata"),g.Aa(b))try{e=b(a.Zd)}catch(f){a.g|=4}else a.g|=2;else if("ml"==a.A)if(b=g.x("ima.common.getVideoMetadata"),g.Aa(b))try{e=b(a.Zd)}catch(f){a.g|=4}else a.g|=2;else a.g|=1;a.g||(g.t(e)?null===e?a.g|=16:g.Ub(e)?a.g|=32:null!=e.errorCode&&(a.N=e.errorCode,a.g|=64):a.g|=8);null!=e||(e={});qda(e,a);rj(e.volume)&&rj(this.C)&&(e.volume*=this.C);return e};
g.h.Bw=function(){if(am(this))return new Tl("ima.common.triggerExternalActivityEvent",this.l,this.F);var a=Gda(this);return null!=a?new Sl(a,this.l):null};
g.h.Vq=function(){var a=this.g,b=ol.prototype.Vq.call(this);b.push(new Hl(a));return b};
g.h.Ut=function(a){!a.g&&a.Ag&&vl(this,a,"overlay_unmeasurable_impression")&&(a.g=!0)};
g.h.SB=function(a){a.hu&&(a.ph()?vl(this,a,"overlay_viewable_end_of_session_impression"):vl(this,a,"overlay_unviewable_impression"),a.hu=!1)};
g.h.kr=function(a){if(this.D){var b=this.I,c=b.g,d=ki();c.B=d;this.B=b.g}this.A&&1==a.gf()&&bm(this,a)};
g.h.au=function(a){this.A&&1==a.gf()&&bm(this,a)};
g.wa(Yl);var gra=jj(193,dm,void 0,function(){var a=Cj.getInstance(),b={};return b.sv="644",b["if"]=a.l?"1":"0",b.nas=String(Nk.g.length),b});
g.va("Goog_AdSense_Lidar_sendVastEvent",gra,void 0);var hra=jj(194,function(a,b){b=void 0===b?{}:b;var c=$l(Yl.getInstance(),a,b);return cm(c)});
g.va("Goog_AdSense_Lidar_getViewability",hra,void 0);var ira=jj(195,function(){return Xl()});
g.va("Goog_AdSense_Lidar_getUrlSignalsArray",ira,void 0);var jra=jj(196,function(){return g.tg(Xl())});
g.va("Goog_AdSense_Lidar_getUrlSignalsList",jra,void 0);var fB=(new Date).getTime();g.h=g.hm.prototype;g.h.Lc=function(){return this.Ha};
g.h.sb=function(){km(this);for(var a=[],b=0;b<this.g.length;b++)a.push(this.l[this.g[b]]);return a};
g.h.Ab=function(){km(this);return this.g.concat()};
g.h.isEmpty=function(){return 0==this.Ha};
g.h.clear=function(){this.l={};this.Jh=this.Ha=this.g.length=0};
g.h.remove=function(a){return im(this.l,a)?(delete this.l[a],this.Ha--,this.Jh++,this.g.length>2*this.Ha&&km(this),!0):!1};
g.h.get=function(a,b){return im(this.l,a)?this.l[a]:b};
g.h.set=function(a,b){im(this.l,a)||(this.Ha++,this.g.push(a),this.Jh++);this.l[a]=b};
g.h.forEach=function(a,b){for(var c=this.Ab(),d=0;d<c.length;d++){var e=c[d],f=this.get(e);a.call(b,f,e,this)}};
g.h.clone=function(){return new g.hm(this)};
g.h.de=function(a){km(this);var b=0,c=this.Jh,d=this,e=new ak;e.next=function(){if(c!=d.Jh)throw Error("The map has changed since the iterator was created");if(b>=d.g.length)throw bk;var e=d.g[b++];return a?e:d.l[e]};
return e};g.h=g.nm.prototype;g.h.toString=function(){var a=[],b=this.A;b&&a.push(vm(b,kra,!0),":");var c=this.l;if(c||"file"==b)a.push("//"),(b=this.F)&&a.push(vm(b,kra,!0),"@"),a.push(g.nb(c).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.B,null!=c&&a.push(":",String(c));if(c=this.o)this.l&&"/"!=c.charAt(0)&&a.push("/"),a.push(vm(c,"/"==c.charAt(0)?lra:mra,!0));(c=this.g.toString())&&a.push("?",c);(c=this.ci())&&a.push("#",vm(c,nra));return a.join("")};
g.h.resolve=function(a){var b=this.clone(),c=!!a.A;c?g.om(b,a.A):c=!!a.F;c?b.F=a.F:c=!!a.l;c?g.pm(b,a.l):c=null!=a.B;var d=a.o;if(c)g.qm(b,a.B);else if(c=!!a.o){if("/"!=d.charAt(0))if(this.l&&!this.o)d="/"+d;else{var e=b.o.lastIndexOf("/");-1!=e&&(d=b.o.substr(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(-1!=e.indexOf("./")||-1!=e.indexOf("/.")){d=g.kb(e,"/");e=e.split("/");for(var f=[],k=0;k<e.length;){var l=e[k++];"."==l?d&&k==e.length&&f.push(""):".."==l?((1<f.length||1==f.length&&""!=f[0])&&
f.pop(),d&&k==e.length&&f.push("")):(f.push(l),d=!0)}d=f.join("/")}else d=e}c?g.rm(b,d):c=""!==a.g.toString();c?sm(b,a.g.clone()):c=!!a.H;c&&(b.H=a.ci());return b};
g.h.clone=function(){return new g.nm(this)};
g.h.tx=function(){return this.g.toString()};
g.h.ci=function(){return this.H};
var kra=/[#\/\?@]/g,mra=/[#\?:]/g,lra=/[#\?]/g,Oda=/[#\?@]/g,nra=/#/g;g.h=g.um.prototype;g.h.Lc=function(){ym(this);return this.Ha};
g.h.add=function(a,b){ym(this);this.l=null;a=Bm(this,a);var c=this.g.get(a);c||this.g.set(a,c=[]);c.push(b);this.Ha=this.Ha+1;return this};
g.h.remove=function(a){ym(this);a=Bm(this,a);return jm(this.g,a)?(this.l=null,this.Ha=this.Ha-this.g.get(a).length,this.g.remove(a)):!1};
g.h.clear=function(){this.g=this.l=null;this.Ha=0};
g.h.isEmpty=function(){ym(this);return 0==this.Ha};
g.h.forEach=function(a,b){ym(this);this.g.forEach(function(c,d){(0,g.C)(c,function(c){a.call(b,c,d,this)},this)},this)};
g.h.Ab=function(){ym(this);for(var a=this.g.sb(),b=this.g.Ab(),c=[],d=0;d<b.length;d++)for(var e=a[d],f=0;f<e.length;f++)c.push(b[d]);return c};
g.h.sb=function(a){ym(this);var b=[];if(g.u(a))Cm(this,a)&&(b=g.Va(b,this.g.get(Bm(this,a))));else{a=this.g.sb();for(var c=0;c<a.length;c++)b=g.Va(b,a[c])}return b};
g.h.set=function(a,b){ym(this);this.l=null;a=Bm(this,a);Cm(this,a)&&(this.Ha=this.Ha-this.g.get(a).length);this.g.set(a,[b]);this.Ha=this.Ha+1;return this};
g.h.get=function(a,b){var c=a?this.sb(a):[];return 0<c.length?String(c[0]):b};
g.h.toString=function(){if(this.l)return this.l;if(!this.g)return"";for(var a=[],b=this.g.Ab(),c=0;c<b.length;c++){var d=b[c],e=g.nb(d);d=this.sb(d);for(var f=0;f<d.length;f++){var k=e;""!==d[f]&&(k+="="+g.nb(d[f]));a.push(k)}}return this.l=a.join("&")};
g.h.clone=function(){var a=new g.um;a.l=this.l;this.g&&(a.g=this.g.clone(),a.Ha=this.Ha);return a};var sn={nF:5E3,oF:15E3,fv:"://secure-...imrworldwide.com/ ://cdn.imrworldwide.com/ ://aksecure.imrworldwide.com/ ://[^.]*.moatads.com ://youtube[0-9]+.moatpixel.com ://pm.adsafeprotected.com/youtube ://pm.test-adsafeprotected.com/youtube ://e[0-9]+.yt.srs.doubleverify.com www.google.com/pagead/sul www.google.com/pagead/xsul www.youtube.com/pagead/sul www.youtube.com/pagead/psul www.youtube.com/pagead/slav".split(" "),TF:/\bocr\b/,tq:0,Gg:{},gT:function(a,b,c){a&&(sn.GJ(a)?sn.nC(a,b):sn.jC(a,b,c))},
GJ:function(a){if(g.D(g.E(a)))return!1;if(0<=a.indexOf("://pagead2.googlesyndication.com/pagead/gen_204?id=yt3p&sr=1&"))return!0;try{var b=new g.nm(a)}catch(c){return null!=g.Ka(sn.fv,function(b){return 0<a.search(b)})}return b.ci().match(sn.TF)?!0:null!=g.Ka(sn.fv,function(b){return null!=a.match(b)})},
nC:function(a,b){if(a&&(a=sn.BH(a),!g.D(a))){var c='javascript:"<body><img src=\\""+'+a+'+"\\"></body>"';b?sn.wy(function(b){sn.hC(b?c:'javascript:"<body><object data=\\""+'+a+'+"\\" width=1 height=1 style=\\"visibility:hidden;\\"></body>"')}):sn.hC(c)}},
hC:function(a){var b=g.J("IFRAME",{src:a,style:"display:none"});a=g.gd(b).body;var c=g.ng(function(){g.sf(d);g.Fd(b)},sn.oF);
var d=hf(b,["load","error"],function(){g.ng(function(){g.og(c);g.Fd(b)},sn.nF)});
a.appendChild(b)},
wy:function(a,b){var c=sn.Gg.imageLoadingEnabled;if(null!=c)a(c);else{var d=!1;c=function(b,c){delete sn.Gg[c];d||(d=!0,null!=sn.Gg.imageLoadingEnabled||(sn.Gg.imageLoadingEnabled=b),a(b))};
b?b(c):sn.RJ(c)}},
RJ:function(a){var b=new window.Image,c=""+sn.tq++;sn.Gg[c]=b;b.onload=function(){(0,window.clearTimeout)(d);a(!0,c)};
var d=(0,window.setTimeout)(function(){a(!1,c)},300);
b.src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="},
fT:function(a){if(a){var b=g.zd("OBJECT");b.data=a;b.width="1";b.height="1";b.style.visibility="hidden";var c=""+sn.tq++;sn.Gg[c]=b;b.onload=b.onerror=function(){delete sn.Gg[c]};
window.document.body.appendChild(b)}},
iC:function(a){if(a){var b=new window.Image,c=""+sn.tq++;sn.Gg[c]=b;b.onload=b.onerror=function(){delete sn.Gg[c]};
b.src=a}},
jC:function(a,b,c){if(a){if(c)try{if(g.w.navigator&&g.w.navigator.sendBeacon&&g.w.navigator.sendBeacon(a,""))return}catch(d){}b?sn.wy(function(b){b?sn.iC(a):sn.fT(a)}):sn.iC(a)}},
BH:function(a){a=g.Bc(g.Ec(a));if("about:invalid#zClosurez"===a)return"";a=g.Nc(Pc(a));return g.nb(g.tg(a))}};g.A(g.Dm,g.K);var Gm=[];g.h=g.Dm.prototype;g.h.R=function(a,b,c,d){return Em(this,a,b,c,d)};
g.h.rh=function(a,b,c,d){return Hm(this,a,b,c,d)};
g.h.Ca=function(a,b,c,d,e){if(g.ya(b))for(var f=0;f<b.length;f++)this.Ca(a,b[f],c,d,e);else c=c||this.handleEvent,d=g.Ba(d)?!!d.capture:!!d,e=e||this.A||this,c=kf(c),d=!!d,b=g.bf(a)?a.Hk(b,c,d,e):a?(a=g.mf(a))?a.Hk(b,c,d,e):null:null,b&&(g.sf(b),delete this.l[b.key])};
g.h.U=function(){g.Dm.Z.U.call(this);g.Jm(this)};
g.h.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};g.A(Km,g.K);Km.prototype.D=function(){this.A=(0,g.G)()};
Km.prototype.H=function(a){var b=null!=a.target.href?a.target:a.target.parentNode,c=[];this.l&1&&c.push("nm="+this.B);this.l&2&&c.push("nb="+this.C.get(b));if(this.l&8){var d=g.uh(this.o);c.push("nx="+(a.clientX-d.x));c.push("ny="+(a.clientY-d.y))}this.l&16&&null!=this.A&&c.push("clkt="+((0,g.G)()-this.A));0<c.length&&(b.href+=0<=b.href.indexOf("?")?"&"+c.join("&"):"?"+c.join("&"))};
Km.prototype.F=function(){this.B++};
Km.prototype.U=function(){Km.Z.U.call(this);this.g.dispose()};var Rda=/(?:\[|%5B)([a-zA-Z0-9_]+)(?:\]|%5D)/g;var Nm="ad_type vpos mridx pos vad_type videoad_start_delay".split(" ");Pm.prototype.isBumper=function(){return this.l};g.h=Qm.prototype;g.h.Jq=function(){return this.g.Jq()};
g.h.Kk=function(){return this.g.Kk()};
g.h.If=function(){return this.g.If()};
g.h.Tk=function(a){return this.eg?this.g.Vn():this.g.Tk(a)};
g.h.setSize=function(a,b){this.g.setSize(a,b)};
g.h.Bq=function(){return this.g.Bq()};
g.h.sj=function(){return this.g.sj()};
g.h.tr=function(){return this.g.tr()};
g.h.Xn=function(){return this.g.Xn()};
g.h.hide=g.y;g.h.Nf=g.y;g.h.wd=g.y;g.h.Vn=function(){return this.g.Vn()};
g.h.Wn=g.y;g.A(Rm,g.We);Rm.prototype.getError=function(){return this.l};var zy="adMetadata callFlashVpaidMethod adCanPlay click companionBackfill companionInitialized complete destroyInsecureFlashVpaid durationChange firstquartile impression interaction initInsecureFlashVpaid youtubeKevlarCompanionShow loaded log mediaUrlPinged midpoint mute pause resume skipshown skippableStateChanged skip start thirdquartile trackingUrlPinged videoClicked volumeChange vpaidEvent youTubeChannelMetadata yt-show-toast".split(" "),f1="abandon acceptinvitation acceptinvitationlinear click close collapse companionClick complete creativeview endscreenClick engagedview exitfullscreen expand externalActivityEvent feedbackDislike feedbackLike feedbackShown firstquartile fullscreen instreamAdComplete interstitial_dismissed interstitial_start_clicked interstitial_timed_out interstitial_viewed measurable_impression midpoint mute MUTE_AD pause progress replay resume rewind show_ad skipshown skip start stop survey_question_displayed thirdquartile unmute userClose video_card_endcap_action video_card_endcap_collapse video_card_endcap_dismiss video_card_endcap_impression videoShareClicked videoShareShown viewable_impression why_this_ad_url why_this_ad_got_it why_this_ad_settings_url why_this_ad_learn_more mute_interaction_url mute_url mute_undo_url".split(" "),
ora="acceptinvitation click close collapse creativeview expand progress".split(" "),g1="viewable_impression measurable_impression overlay_unmeasurable_impression overlay_unviewable_impression overlay_viewable_immediate_impression overlay_viewable_end_of_session_impression externalActivityEvent".split(" "),h1={measurable_impression:"measurable_impression",viewable_impression:"viewable_impression",fully_viewable_audible_half_duration_impression:"fully_viewable_audible_half_duration_impression",overlay_unmeasurable_impression:"overlay_unmeasurable_impression",
overlay_unviewable_impression:"overlay_unviewable_impression",overlay_viewable_immediate_impression:"overlay_viewable_immediate_impression",overlay_viewable_end_of_session_impression:"overlay_viewable_end_of_session_impression"};g.A(Sm,g.We);Sm.prototype.Jb=function(){return this.l};
var vha={UU:"adCanPlay",WU:"adNotify",wW:"contentPauseRequested",xW:"contentResumeRequested",Kp:"click",TW:"discardAdNotify",D1:"videoClicked",F1:"videoIconClicked",Xu:"engagedview",xX:"expandedChanged",l0:"start",Zl:"impression",cv:"measurable_impression",Cv:"viewable_impression",av:"fully_viewable_audible_half_duration_impression",LF:"overlay_resize",MF:"overlay_unmeasurable_impression",NF:"overlay_unviewable_impression",PF:"overlay_viewable_immediate_impression",OF:"overlay_viewable_end_of_session_impression",
AX:"externalActivityEvent",PAUSED:"pause",D_:"resume",Yu:"firstquartile",dv:"midpoint",yv:"thirdquartile",Wu:"complete",kX:"durationChange",FV:"autoClose",u1:"userClose",v1:"userRecall",h_:"prefetched",Pp:"loaded",tV:"allAdsCompleted",kv:"skip",cG:"skipshown",BY:"linearChanged",b0:"skippableStateChanged",VU:"adMetadata",TU:"adBreakReady",MY:"log",VOLUME_CHANGED:"volumeChange",L1:"mute",oY:"interaction",nW:"companionBackfill",a2:"youTubeVideoMetadata",Y1:"youTubeChannelMetadata",t1:"urlNavigationRequested",
Q0:"trackingUrlPinged",z1:"video_card_endcap_action",A1:"video_card_endcap_collapse",B1:"video_card_endcap_dismiss",C1:"video_card_endcap_impression",V1:"why_this_ad_url",U1:"why_this_ad_got_it",AZ:"MUTE_AD",qW:"companionInitialized",pW:"companionImpression",oW:"companionClick",UY:"mediaUrlPinged",Z1:"youtubeKevlarCompanionShow",b2:"yt-show-toast"};Wm.prototype.g=function(){return this.W};
Wm.prototype.getPlayerType=function(){return""};
var P=new Wm;var pra={NORMAL:"normal",Zu:"fullscreen"};var Ys=["ADSENSE","ADSENSE/ADX"],Sfa=["DART","DART_DFA","DART_DFP"],ega=["FREEWHEEL","YT:FREEWHEEL"],is=["SHOPPING","YT:SHOPPING"],Tfa=["GDFP"],Rfa=["VIRAL","ADSENSE-VIRAL"],Qfa=["VIRAL-RESERVE"],Vp={"application/flash":"Flash","application/shockwave-flash":"Flash","application/x-shockwave-flash":"Flash","application/javascript":"Javascript","text/javascript":"Javascript","image/jpeg":"Image","image/jpg":"Image","image/png":"Image","image/gif":"Image",text:"Text"},Cu={KW:"application/dash+xml",fZ:"video/mp4",
hZ:"video/mpeg",RY:"application/x-mpegURL",IZ:"video/ogg",z0:"video/3gpp",O1:"video/webm",MP3:"audio/mpeg",gZ:"audio/mp4"};g.A(Xm,g.We);g.A(Ym,Error);Ym.prototype.Dd=function(){return this.A};
Ym.prototype.Mb=function(){return this.l};
Ym.prototype.Vb=function(){return this.B};
Ym.prototype.toString=function(){return"AdError "+this.Mb()+": "+this.Dd()+(null!=this.Wk?" Caused by: "+this.Wk:"")};Zm.prototype.g=function(){return!1};
Zm.prototype.l=function(){return window.NaN};
Zm.prototype.o=function(){return""};var bea=["ActiveViewExternalLayer"],cn=null;var Tea=["*.googlesyndication.com","gcdn.2mdn.net"],dea=["*.youtu.be","*.youtube.com"],gea="ad.doubleclick.net bid.g.doubleclick.net corp.google.com ggpht.com google.co.uk google.com googleads.g.doubleclick.net googleads4.g.doubleclick.net googleadservices.com googlesyndication.com googleusercontent.com gstatic.com gvt1.com prod.google.com pubads.g.doubleclick.net s0.2mdn.net static.doubleclick.net static.doubleclick.net surveys.g.doubleclick.net youtube.com ytimg.com".split(" "),fea=["c.googlesyndication.com"],
Uia=["googleads.g.doubleclick.net","pubads.g.doubleclick.net"];un.prototype.Mb=function(){return this.errorCode};
un.prototype.Dd=function(){return this.message};
var eja=new un("Unable to request ads from server. Cause: {0}.",1005),Via=new un("Unable to request ads from server due to network error.",1012),pz=new un("Cannot parse the {0} value for the adslist response: {1}.",900),zu=new un("Invalid usage of the API. Cause: {0}",900),Gha=new un("Asset fallback ad replacement.",1021),Hha=new un("Asset fallback no ad replacement.",1021),i1=new un("Unable to display one or more required companions.",602),PB=new un("There was a problem requesting ads from the server.",
1005),j1=new un("There was a problem requesting the biscotti ID.",1005),Tia=new un("Ad tag URI {0} is invalid. It must be properly encoded before being passed.",1013),sB=new un("The provided ad type: {0} is not supported.",1005),vo=new un("The provided {0} information: {1} is invalid.",1101),qra=new un("The provided skip offset was invalid.",1105),rra=new un("The extension contained is neither skippable nor nonskippable.",1105),Mq=new un("The response does not contain any valid ads.",1009),sra=new un("The overlay ad content could not be displayed since creative dimensions do not align with display area.",
501),Sha=new un("The ad playlist response was malformed or empty.",1010),qz=new un("The ad response was not understood and cannot be parsed.",1010),Yia=new un("An unexpected error occurred and the cause is not known. Refer to the inner error for more info.",900),gja=new un("The ad response contains unexpected element. Cause {0}.",1010),eC=new un("No assets were found in the VAST ad response.",200),Nfa=new un("Duplicate node in <{0}>: {1}",101),VA=new un("The VAST response document is empty.",1009),
sha=new un("Linear assets were found in the VAST ad response, but none of them matched the video player's capabilities.",403),Lq=new un("Ad request reached a timeout.",301),WA=new un("VAST response was malformed and could not be parsed.",100),k1=new un("VAST media file loading reached a timeout of {0} seconds.",402),Nq=new un("Ad request could not be completed due to a network error.",301),tra=new un("Non linear assets were found in the VAST ad response, but none of them matched the video player's capabilities.",
503),hfa=new un("The maximum number of VAST wrappers ({0}) has been reached.",302),ura=new un("VAST media file duration differs from the VAST response duration by {0} seconds.",202),Rx=new un("Video player received an ad with unexpected or incompatible linearity",201),Mfa=new un("Unknown node in <{0}>: {1}",101),Sga=new un("Invalid VAST resource type: {0}",101),tia=new un("Invalid VAST version",102),ifa=new un("No additional VAST wrappers allowed.",300),Sq=new un("No Ads VAST response after one or more Wrappers",
303),Wx=new un("There was an error playing the video ad.",400),vra=new un("VMAP unsupported node in <{0}>: {1}",1010),Aw=new un("An unexpected error occurred within the VPAID creative. Refer to the inner error for more info.",901);g.A(Bn,g.We);var iA="abort canplay canplaythrough durationchange emptied loadstart loadeddata loadedmetadata progress ratechange seeked seeking stalled suspend waiting".split(" ");var iea=function(){if(g.pK)return Cn(/Firefox\/([0-9.]+)/);if(g.sd||mK||g.Ye)return mc;if(g.aJ)return hc()?Cn(/CriOS\/([0-9.]+)/):Cn(/Chrome\/([0-9.]+)/);if(g.gk&&!hc())return Cn(/Version\/([0-9.]+)/);if(sL||rL){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(g.Gb);if(a)return a[1]+"."+a[2]}else if(tL)return(a=Cn(/Android\s+([0-9.]+)/))?a:Cn(/Version\/([0-9.]+)/);return""}();var Pn={},Rn="",Kn=/OS (\S+) like/,wra=/OS X (\S+)\)/,Nn=/Android ([\d\.]+)/;Wn.prototype.reset=function(){this.g=0;this.l=null};var xra;
xra={VE:["BC","AD"],UE:["Before Christ","Anno Domini"],EF:"JFMAMJJASOND".split(""),fG:"JFMAMJJASOND".split(""),ev:"January February March April May June July August September October November December".split(" "),lv:"January February March April May June July August September October November December".split(" "),hv:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),ov:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),Dv:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),rv:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),
jv:"Sun Mon Tue Wed Thu Fri Sat".split(" "),qv:"Sun Mon Tue Wed Thu Fri Sat".split(" "),BZ:"SMTWTFS".split(""),gG:"SMTWTFS".split(""),YF:["Q1","Q2","Q3","Q4"],SF:["1st quarter","2nd quarter","3rd quarter","4th quarter"],Tu:["AM","PM"],Lp:["EEEE, MMMM d, y","MMMM d, y","MMM d, y","M/d/yy"],zv:["h:mm:ss a zzzz","h:mm:ss a z","h:mm:ss a","h:mm a"],PE:["{1} 'at' {0}","{1} 'at' {0}","{1}, {0}","{1}, {0}"],Np:6,xG:[5,6],Op:5};g.l1=xra;g.l1=xra;Yn.prototype.clone=function(){return new Yn(this.l,this.months,this.days,this.g,this.minutes,this.seconds)};
Yn.prototype.times=function(a){return new Yn(this.l*a,this.months*a,this.days*a,this.g*a,this.minutes*a,this.seconds*a)};
Yn.prototype.add=function(a){this.l+=a.l;this.months+=a.months;this.days+=a.days;this.g+=a.g;this.minutes+=a.minutes;this.seconds+=a.seconds};
g.h=g.ao.prototype;g.h.un=g.l1.Np;g.h.wn=g.l1.Op;g.h.clone=function(){var a=new g.ao(this.date);a.un=this.un;a.wn=this.wn;return a};
g.h.getFullYear=function(){return this.date.getFullYear()};
g.h.getMonth=function(){return this.date.getMonth()};
g.h.getDate=function(){return this.date.getDate()};
g.h.getTime=function(){return this.date.getTime()};
g.h.getDay=function(){return this.date.getDay()};
g.h.getUTCFullYear=function(){return this.date.getUTCFullYear()};
g.h.getUTCMonth=function(){return this.date.getUTCMonth()};
g.h.getUTCDate=function(){return this.date.getUTCDate()};
g.h.getUTCHours=function(){return this.date.getUTCHours()};
g.h.getUTCMinutes=function(){return this.date.getUTCMinutes()};
g.h.getTimezoneOffset=function(){return this.date.getTimezoneOffset()};
g.h.set=function(a){this.date=new Date(a.getFullYear(),a.getMonth(),a.getDate())};
g.h.add=function(a){if(a.l||a.months){var b=this.getMonth()+a.months+12*a.l,c=this.getFullYear()+Math.floor(b/12);b%=12;0>b&&(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()),$n(this,a.getDate()))};
g.h.Mn=function(a){return[this.getFullYear(),g.vb(this.getMonth()+1,2),g.vb(this.getDate(),2)].join(a?"-":"")+""};
g.h.toString=function(){return this.Mn()};
g.h.valueOf=function(){return this.date.valueOf()};bo.prototype.reset=function(){this.l=this.g=null};var io=new eo;eo.prototype.clear=function(){this.g=co();this.B=this.I=this.l=null;this.A=co();this.o=null;this.W=this.D=this.H="";this.F=this.V=this.C=null};g.wa(ho);ho.prototype.isLoggingEnabled=function(){return this.g};g.h=lo.prototype;g.h.IG=!1;g.h.Nv=!1;g.h.Rv=!0;g.h.Xi=null;g.h.bitrate=-1;g.h.contentId=null;g.h.Gw=!1;g.h.Sk=!1;g.h.mimeTypes=null;g.h.surveyCreativeData=null;g.h.RT=!0;g.h.Cu=!1;g.h.ST=!1;g.h.Eu=!1;g.h.Fu=!1;g.h.lD=!1;g.h.mD=!0;g.h.nH=!1;g.h.TT=!0;g.h.Ux=!0;g.h.Xp=!1;g.h.hH=!1;g.h.hU=0;g.h.showContentThumbnail=!0;g.h.zu=!1;g.h.Bu=!1;g.h.pj=null;g.h.pf=15E3;g.h.Sv=!0;g.h.HB=0;g.h.Ot=-1;g.h.Tx=null;g.h.Ii=-1;g.h.shortViewCount=null;g.A(mo,g.xf);var hA={QV:"beginFullscreen",Kp:"click",pX:"end",qX:"endFullscreen",ERROR:"error",Pp:"loaded",TY:"mediaLoadTimeout",PAUSE:"pause",PLAY:"play",a0:"skip",cG:"skipShown",T_:"shareClicked",tv:"start",E0:"timeUpdate",bW:"cardsStateChange",B0:"timedMetadata",K1:"volumeChange"};g.h=mo.prototype;g.h.ay=function(){return!1};
g.h.kb=function(){return!0};
g.h.bu=g.y;g.h.ey=g.y;g.h.wr=g.y;g.h.He=function(){return null};
g.h.zr=g.y;g.h.yr=g.y;g.A(no,g.xf);var oo=null;no.prototype.Xj=function(a){this.o=a};
no.prototype.destroy=function(){this.H.Ca(this.l,"activityMonitor",this.K);this.l=null};
no.prototype.K=function(a){var b=a.Uf;switch(a.Ud){case "appStateChanged":Jda(Yl.getInstance(),b.appState,b.nativeTime);break;case "externalActivityEvent":so(b.queryId,b.viewabilityString,b.eventName);break;case "measurableImpression":qo(b.queryId,b.viewabilityString);break;case "pageSignals":this.I=b.pageSignals;break;case "viewableImpression":ro(b.queryId,b.viewabilityString);break;case "engagementData":b=b.engagementString;po().A=b;po().F=(0,g.G)();break;case "viewability":a=b.eventId;window.clearTimeout(a);
var c=this.g.get(a);c&&(this.g.remove(a),c(b.viewabilityData));break;case "viewabilityMeasurement":var d=Yl.getInstance(),e=b.queryId;b=b.viewabilityData;a=Cj.getInstance();if("exc"==a.yb){d.C=b.nativeVolume;c=b.exposure||0;var f=b.unmeasurable;null!=b.userActivity&&(d.B=b.userActivity);d=d.Jn(e,{});-1==d.ca&&(d.ca=ki(),d.ob=d.Cd().l.g);d.ba+=f?1:0;d.Sa++;d.Ia.update(c,c,!1,1,!1);e=b.insideIframe;g.t(e)&&0==e&&(a.l=!1);d.Ag=f||d.Ag;b.position&&Uj(d,O,a.l,new g.Tg(b.position.top,b.position.right,b.position.bottom,
b.position.left));b.documentSize&&(a.A=new g.cd(b.documentSize.width,b.documentSize.height));b.viewportSize&&(a.g=new g.cd(b.viewportSize.width,b.viewportSize.height));d.yc.g=g.Wc(c,0,1);d.ds=d.yc.g}break;case "engagement":a=b.eventId,window.clearTimeout(a),c=this.g.get(a),ho.getInstance().isLoggingEnabled()&&(f=-1,this.C&&(f=(0,g.G)()-this.C),d=!1,c||(d=!0),Qb(b,"loggingId")&&ko(ho.getInstance(),43,{step:"receivedResponse",time:(0,g.G)(),timeout:d,logid:b.loggingId,timediff:f})),c&&(this.g.remove(a),
c(b.engagementString))}};
g.va("ima.bridge.getNativeViewability",function(a,b){po();b({})},void 0);
g.va("ima.bridge.getVideoMetadata",function(){var a=po().D;return g.Aa(a)?a():{}},void 0);
g.va("ima.bridge.triggerViewEvent",ro,void 0);g.va("ima.bridge.triggerMeasurableEvent",qo,void 0);g.va("ima.bridge.triggerExternalActivityEvent",so,void 0);var nea={pF:"Image",cF:"Flash",ALL:"All"},mea={ZX:"Html",dY:"IFrame",n0:"Static",ALL:"All"},oea={eY:"IgnoreSize",N_:"SelectExactMatch",O_:"SelectNearMatch"},pea={SW:"DisallowResize",z_:"ResizeSmaller"};var m1=!1,n1="";
(function(){if(window.navigator.plugins&&window.navigator.plugins.length){var a=window.navigator.plugins["Shockwave Flash"];if(a&&(m1=!0,a.description)){n1=uo(a.description);return}if(window.navigator.plugins["Shockwave Flash 2.0"]){m1=!0;n1="2.0.0.11";return}}if(window.navigator.mimeTypes&&window.navigator.mimeTypes.length&&(a=window.navigator.mimeTypes["application/x-shockwave-flash"],m1=!(!a||!a.enabledPlugin))){n1=uo(a.enabledPlugin.description);return}try{var b=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");m1=
!0;n1=uo(b.GetVariable("$version"));return}catch(c){}try{b=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");m1=!0;n1="6.0.21";return}catch(c){}try{b=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash"),m1=!0,n1=uo(b.GetVariable("$version"))}catch(c){}})();
var Bo=m1,jB=n1;g.A(Go,g.xf);var Ho=null;g.h=Go.prototype;g.h.destroy=function(){this.C.Ca(this.g,"activityMonitor",this.Xx);this.o=!1;this.l.clear()};
g.h.U=function(){this.destroy();Go.Z.U.call(this)};
g.h.init=function(a){if(!this.o){if(this.g=a||null)this.C.R(this.g,"activityMonitor",this.Xx),No(this);if(P.I&&!(g.w.ima&&g.w.ima.video&&g.w.ima.video.client&&g.w.ima.video.client.tagged)){g.va("ima.video.client.sdkTag",!0,void 0);var b=g.w.document;a=b.createElement("script");var c=b.location.protocol;"http:"!=c&&"https:"!=c&&(c="");a.src=c+"//s0.2mdn.net/instream/video/client.js";a.async=!0;a.type="text/javascript";b=b.getElementsByTagName("script")[0];b.parentNode.insertBefore(a,b)}(a=P.l||P.g())||
(a=!1);a||(Yl.getInstance().A=!0);this.B=(g.Aa(null),null);this.o=!0}};
g.h.Xj=function(a){this.A=a};
g.h.Xx=function(a){var b=a.Uf,c=b.queryId,d={};d.eventId=b.eventId;switch(a.Ud){case "getPageSignals":No(this);break;case "reportVastEvent":var e=b.vastEvent;a=b.osdId;var f={};f.opt_fullscreen=b.isFullscreen;b.isOverlay&&(f.opt_bounds=b.overlayBounds);d.viewabilityData=Lo(this,e,c,a,f);this.g.send("activityMonitor","viewability",d);break;case "fetchAdTagUrl":d={},d.eventId=b.eventId,a=b.osdId,c=null,Qb(b,"isFullscreen")&&(c=b.isFullscreen),Qb(b,"loggingId")&&(b=b.loggingId,d.loggingId=b,ko(ho.getInstance(),
43,{step:"beforeLookup",logid:b,time:(0,g.G)()},!0)),d.engagementString=uea(this,a,c),this.g.send("activityMonitor","engagement",d)}};
g.va("ima.common.getVideoMetadata",function(a){a=Io().l.get(a);return g.Aa(a)?a():{}},void 0);
g.va("ima.common.triggerViewEvent",function(a,b){var c={};c.queryId=a;c.viewabilityString=b;var d=Io().g;d?d.send("activityMonitor","viewableImpression",c):Io().dispatchEvent(new Sm("viewable_impression",null,c))},void 0);
g.va("ima.common.triggerViewabilityMeasurementUpdate",function(a,b){var c=Io().g,d={};d.queryId=a;d.viewabilityData=b;c&&c.send("activityMonitor","viewabilityMeasurement",d)},void 0);
g.va("ima.common.triggerMeasurableEvent",function(a,b){var c={};c.queryId=a;c.viewabilityString=b;var d=Io().g;d?d.send("activityMonitor","measurableImpression",c):Io().dispatchEvent(new Sm("measurable_impression",null,c))},void 0);
g.va("ima.common.triggerExternalActivityEvent",function(a,b,c){var d={};d.queryId=a;d.viewabilityString=b;d.eventName=c;(a=Io().g)?a.send("activityMonitor","externalActivityEvent",d):Io().dispatchEvent(new Sm("externalActivityEvent",null,d))},void 0);
Io();g.A(Oo,g.We);Oo.prototype.getError=function(){return this.g};Po.prototype.kd=function(){return this.D};
Po.prototype.Dc=function(){return this.g};
Po.prototype.clone=function(){var a=new Po(this.H,this.F);if(null!=this.g)Qo(a,this.Dc(),this.A,this.l,this.C);else{var b=this.kd(),c=this.A,d=this.l,e=this.o,f=this.C,k=this.B;a.D=b;a.g=null;a.A=c;a.l=d;a.o=e;a.C=f||[];a.B=k||[]}return a};g.A(So,g.We);To.prototype.videoCount=0;g.Uo.prototype.l=uc;var gp={},tp={},up={},oq={};Wo.prototype.Ef=null;Wo.prototype.kd=function(){return this.content};
Wo.prototype.toString=function(){return this.content};
g.A(Xo,Wo);Xo.prototype.bf=oq;g.A(Yo,Wo);Yo.prototype.bf=gp;g.A(Zo,Wo);Zo.prototype.bf={};Zo.prototype.Ef=1;g.A($o,Wo);$o.prototype.bf=tp;$o.prototype.Ef=1;g.A(ap,Wo);ap.prototype.bf=up;ap.prototype.Ef=1;g.A(bp,Wo);bp.prototype.bf={};bp.prototype.Ef=1;g.A(cp,Wo);cp.prototype.bf={};cp.prototype.Ef=1;g.A(dp,Wo);dp.prototype.bf={};dp.prototype.Ef=1;var hp=function(a){function b(a){this.content=a}
b.prototype=a.prototype;return function(a,d){var c=new b(String(a));void 0!==d&&(c.Ef=d);return c}}(Yo);
ip(Zo);ip($o);ip(ap);var Cea=ip(bp);ip(cp);ip(dp);var jp={},kp={},Cr=function(a){function b(a){this.content=a}
b.prototype=a.prototype;return function(a,d){var c=String(a);if(!c)return"";c=new b(c);void 0!==d&&(c.Ef=d);return c}}(Yo),rp=/['()]/g,Ap={},Dea={"\x00":"&#0;",
"\t":"&#9;","\n":"&#10;","\x0B":"&#11;","\f":"&#12;","\r":"&#13;"," ":"&#32;",'"':"&quot;","&":"&amp;","'":"&#39;","-":"&#45;","/":"&#47;","<":"&lt;","=":"&#61;",">":"&gt;","`":"&#96;","\u0085":"&#133;","\u00a0":"&#160;","\u2028":"&#8232;","\u2029":"&#8233;"},Eea={"\x00":"%00","\u0001":"%01","\u0002":"%02","\u0003":"%03","\u0004":"%04","\u0005":"%05","\u0006":"%06","\u0007":"%07","\b":"%08","\t":"%09","\n":"%0A","\x0B":"%0B","\f":"%0C","\r":"%0D","\u000e":"%0E","\u000f":"%0F","\u0010":"%10","\u0011":"%11",
"\u0012":"%12","\u0013":"%13","\u0014":"%14","\u0015":"%15","\u0016":"%16","\u0017":"%17","\u0018":"%18","\u0019":"%19","\u001a":"%1A","\u001b":"%1B","\u001c":"%1C","\u001d":"%1D","\u001e":"%1E","\u001f":"%1F"," ":"%20",'"':"%22","'":"%27","(":"%28",")":"%29","<":"%3C",">":"%3E","\\":"%5C","{":"%7B","}":"%7D","\u007f":"%7F","\u0085":"%C2%85","\u00a0":"%C2%A0","\u2028":"%E2%80%A8","\u2029":"%E2%80%A9","\uff01":"%EF%BC%81","\uff03":"%EF%BC%83","\uff04":"%EF%BC%84","\uff06":"%EF%BC%86","\uff07":"%EF%BC%87",
"\uff08":"%EF%BC%88","\uff09":"%EF%BC%89","\uff0a":"%EF%BC%8A","\uff0b":"%EF%BC%8B","\uff0c":"%EF%BC%8C","\uff0f":"%EF%BC%8F","\uff1a":"%EF%BC%9A","\uff1b":"%EF%BC%9B","\uff1d":"%EF%BC%9D","\uff1f":"%EF%BC%9F","\uff20":"%EF%BC%A0","\uff3b":"%EF%BC%BB","\uff3d":"%EF%BC%BD"},wea=/[\x00\x22\x27\x3c\x3e]/g,yea=/[\x00\x09-\x0d \x22\x26\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,xea=/[\x00\x09-\x0d \x22\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,wp=/[\x00- \x22\x27-\x29\x3c\x3e\\\x7b\x7d\x7f\x85\xa0\u2028\u2029\uff01\uff03\uff04\uff06-\uff0c\uff0f\uff1a\uff1b\uff1d\uff1f\uff20\uff3b\uff3d]/g,
Aea=/^(?![^#?]*\/(?:\.|%2E){2}(?:[\/?#]|$))(?:(?:https?|mailto):|[^&:\/?#]*(?:[\/?#]|$))/i,Bea=/^[^&:\/?#]*(?:[\/?#]|$)|^https?:|^data:image\/[a-z0-9+]+;base64,[a-z0-9+\/]+=*$|^blob:/i,np=/<(?:!|\/?([a-zA-Z][a-zA-Z0-9:\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g,op=/</g;Ep.prototype.Qa=function(){return this.o};
Ep.prototype.Vb=function(){return this.l};
g.A(Fp,Ep);Dp.prototype.isEmpty=function(){return this.g.isEmpty()};g.h=Mp.prototype;g.h.getDuration=function(){return this.ka};
g.h.Ir=function(){return null};
g.h.Hr=function(){return null};
g.h.Gr=function(){return null};
g.h.Jb=function(){return this.H};
g.h.En=function(){for(var a=[this],b=this.H.l;b;){var c=Pp(this,b)||Pp(this,b,!0);null!=c&&a.push(c);b=b.l}return a};Qp.prototype.Fb=function(){return this.C};
Qp.prototype.getHeight=function(){return this.A};
Qp.prototype.Qa=function(){return this.B};g.A(Rp,Mp);g.h=Rp.prototype;g.h.nf=function(){return this.A};
g.h.dh=function(){return this.l};
g.h.eh=function(){return null!=this.B?this.B.Qa():null};
g.h.Ir=function(){var a=Tp(this,"javascript");return null!=a?a.Qa():null};
g.h.Hr=function(){var a=Up(this);return null!=a?a.Qa():null};
g.h.Gr=function(){return null!=this.B?this.B.l:1==this.l.length?this.l[0].l:null};g.A(Wp,Mp);g.h=Wp.prototype;g.h.kd=function(){return Pd(this.Dc())};
g.h.Vk=function(){return!1};
g.h.Jr=function(){return this.Vk()?Pd(this.Dc(!0)):""};
g.h.ld=function(){return this.Y};
g.h.Td=function(){return this.Ea};
g.h.Fb=function(){return this.Td().width};
g.h.getHeight=function(){return this.Td().height};
g.h.eh=function(){return this.l};
g.h.Ir=function(){return"VPAID"==this.I&&"Javascript"==this.Y?this.l:null};
g.h.Hr=function(){return"VPAID"==this.I&&"Flash"==this.Y?this.l:null};
g.h.Gr=function(){return this.I};
g.h.nf=function(){return this.Ya};g.A(Xp,g.K);Xp.prototype.D=function(){this.C=(0,g.G)()};
Xp.prototype.H=function(a,b){var c=a.element;1==(this.l&1)&&(0==this.A&&this.A++,this.g.nm=this.A);2==(this.l&2)&&(this.g.nb=a.YG);if(8==(this.l&8)){var d=g.uh(this.B);this.g.nx=Math.round(b.clientX-d.x);this.g.ny=Math.round(b.clientY-d.y)}16==(this.l&16)&&null!=this.C&&(d=(0,g.G)()-this.C,this.g.clkt=d);512==(this.l&512)&&(d=di())&&(this.g.mb=d);"A"==c.tagName.toUpperCase()&&g.Tc(c,Mea(this,c.href))};
Xp.prototype.F=function(){this.A++};var yra=g.sd?yc(rc(g.sc('javascript:""'))):yc(rc(g.sc("about:blank"))),Nea=xc(yra),zra=g.sd?yc(rc(g.sc('javascript:""'))):yc(rc(g.sc("javascript:undefined")));xc(zra);g.A(Yp,Wp);g.h=Yp.prototype;g.h.Ui=function(a){null==this.o||g.D(g.E(this.nf()))||(this.o.R(a,"click",this.W),this.X.push(a))};
g.h.Dc=function(a){a?(null==this.da&&(this.da=this.qg(a),g.Cd(this.da,cq(this))),a=this.da):(null==this.A&&(this.A=this.qg(),g.Cd(this.A,cq(this))),a=this.A);null!=this.o&&this.o.R(a,"creativeview",this.ca);return a};
g.h.qg=function(){var a=g.E(this.l);g.D(g.E(this.nf()))||(a=new g.nm(a),g.wm(a,"clickTAG",g.nb(this.nf())),a=a.toString());var b=g.J("IFRAME",{marginwidth:0,marginheight:0,hspace:0,vspace:0,frameborder:0,scrolling:"no"},null);b.height=this.getHeight();"Text"!=this.ld()&&(b.width=this.Fb());b.setAttribute("src",mn(a));this.Ui(b);return bq(this,b)};
g.h.Kq=function(){en().g("cleanup_text_overlay_spam_signals");return 2};
g.h.En=function(){for(var a=[this],b=this.Jb().l;b;){var c=this.C?Pp(this,b)||Pp(this,b,!0):dq(this,b)||dq(this,b,!0);null!=c&&a.push(c);b=b.l}return a};var Rea={};g.A(pq,Yp);g.h=pq.prototype;g.h.Td=function(){return new g.cd(this.Fb(),this.getHeight())};
g.h.getHeight=function(){return 63};
g.h.Fb=function(){return null!=this.D?g.Dh(this.D).width:0};
g.h.Kq=function(a){return en().g("cleanup_text_overlay_spam_signals")?g.hq(a,"text-image-link")?9:g.hq(a,"text-ad-channel")?1:0:g.hq(a,"text-image")?9:g.hq(a,"text-ad-channel")?1:0};
g.h.qg=function(){var a=this.Jb(),b=a.getExtension("AdSense"),c=a.getExtension("TextAd"),d=c.B,e="rtl";null!=d&&(e=Sqa.test(tc(d,void 0))?"rtl":"ltr");d={title:d,text:c.C+" "+c.D,dir:e,Kc:this.nf()};if(e=c.getImageUrl())d.image=mn(e),d.nD=!0,P.g()&&(d.nD=0==c.l||0==c.o),a=g.Ka(a.D,function(a){return a instanceof Rp}),null!=a&&(d.duration=Do(a.getDuration()));
b.o&&(d.oD=b.o);this.D=nq(Fea,d);(0,g.C)(this.D.getElementsByTagName("a"),this.Ui,this);this.D.id=this.ia;this.D.style.height=this.getHeight()+"px";return this.D};var Vea=[202,1009],$ea="CONTENT_V CPN DISALLOW EID LACT VIS".split(" "),Zea={MOAT_INIT:["://yts\\.moatads\\.com","://yts-testing\\.moatads\\.com","://pagead2\\.googlesyndication\\.com/pagead/gen_204","://pagead2\\.googlesyndication\\.com/activeview/3pty/moat-secure"],MOAT_VIEWABILITY:["://[^.]*\\.moatads\\.com","://pagead2\\.googlesyndication\\.com/pagead/gen_204","://pubads\\.g\\.doubleclick\\.net","://pagead2\\.googlesyndication\\.com/activeview/3pty/moat"],IAS_VIEWABILITY:["://[^.]*\\.adsafeprotected\\.com",
"://[^.]*\\.test-adsafeprotected\\.com","://pagead2\\.googlesyndication\\.com/pagead/gen_204","://pubads\\.g\\.doubleclick\\.net","://pagead2\\.googlesyndication\\.com/activeview/3pty/ias"],DV_VIEWABILITY:["://[^.]*\\.yt\\.srs\\.doubleverify\\.com","://pagead2\\.googlesyndication\\.com/pagead/gen_204","://pubads\\.g\\.doubleclick\\.net","://pagead2\\.googlesyndication\\.com/activeview/3pty/doubleverify"],GOOGLE_VIEWABILITY:"://pubads\\.g\\.doubleclick\\.net ://googleads\\.g\\.doubleclick\\.net ://ad[\\.-]([a-z0-9]+\\.){0,1}doubleclick\\.net ://ade\\.googlesyndication\\.com ://pagead2\\.googlesyndication\\.com ://([a-z0-9]+[.])*youtube\\.com".split(" ")};g.h=Jq.prototype;g.h.Lf=function(){return null!=this.g&&this.g.Lf()?!0:0<this.ads.length&&this.l<this.ads.length-1};
g.h.Je=function(a,b){null!=this.g?gfa(this,a,b):this.Lf()?jfa(this,a,(0,g.z)(function(c){!this.Lf()||!P.g()&&301==c.Mb()?b(c):this.Je(a,b)},this)):b(new Ym("adLoadError","The ad source contains no more ads.",1005))};
g.h.Ww=function(a,b){return this.B?0<a.length?a:b:g.Ya(b,0,1)};
g.h.Lo=function(a,b,c){var d;if(!(d=null!=a.g)){var e=this.C;d=e.mf||0;e=e.lf||0;Ns(a)&&!a.ba?Rs(a,"nonlinear")?Hq(a,d,e):Iq(a):Rs(a,"linear")?Iq(a):Rs(a,"nonlinear")&&Hq(a,d,e);d=null!=a.g}d?(this.o++,b(a)):(b=g.Pa(a.D)?wn(WA):a.Wb()?wn(eC):wn(tra),d=zq(b,a),Fo(Ufa(a),"rm")?b.o=!1:tn(a.ka,d),c(b))};
g.h.Qt=function(a,b,c){var d=this.C.clone();d.l="";d.g=a.Qb;d.Ze=Om(d.g,d.Un);Pq(this,a,d,b,c)};g.A(Uq,eq);Uq.prototype.ie=function(){return this.l};g.A(Vq,Jq);Vq.prototype.Lf=function(){if(null!=this.g&&this.g.Lf())return!0;var a=0==this.o||this.o==this.I;return 0<this.ads.length&&a&&this.l<this.ads.length-1};
Vq.prototype.Ww=function(a,b){return b};
Vq.prototype.Lo=function(a,b,c){var d=null==this.g?Ds(a):Ds(this.ads[this.l]);this.H.o=d;Vq.Z.Lo.call(this,a,b,c)};
Vq.prototype.Qt=function(a,b,c){this.H.o=-1;Vq.Z.Qt.call(this,a,b,c)};g.A(Xq,g.nm);Xq.prototype.toString=function(){return $q(this,Xq.Z.toString.call(this))};
Xq.prototype.tx=function(){return""};
Xq.prototype.ci=function(){return""};
Xq.prototype.clone=function(){return new Xq(this.toString())};g.h=hr.prototype;g.h.kd=function(){return this.g.kd()};
g.h.Dc=function(){return this.g.Dc()};
g.h.ld=function(){return this.g.ld()};
g.h.Fb=function(){return this.g.Fb()};
g.h.getHeight=function(){return this.g.getHeight()};
g.h.Jb=function(){return this.g.Jb()};lp("a","",function(a){a=a||{};return'<div class="'+Q("videoAdUi")+'"><div class="'+Q("videoAdUiTopBar")+" "+Q("videoAdUiTopBarWithGradients")+'"><div class="'+Q("videoAdUiAuthorIcon")+'"></div><div class="'+Q("videoAdUiTitle")+" "+Q("ellipsisText")+'"></div><div class="'+Q("videoAdUiAuthorName")+" "+Q("ellipsisText")+'"></div><div class="'+Q("videoAdUiLearnMore")+'">'+Q(a.learnMoreText)+'</div><div class="'+Q("videoAdUiShare")+'"></div></div><div class="'+Q("videoAdUiBottomBar")+'"><div class="'+
Q("videoAdUiLearnMoreText")+'">'+Q(a.learnMoreText)+'<div class="'+Q("videoAdUiLearnMoreIcon")+'"></div></div><div class="'+Q("videoAdUiAttributionContainer")+'"><div class="'+Q("videoAdUiAttribution")+'" '+Q(Bp(a.attributionText))+">"+Q(a.attributionText)+'</div><div class="'+Q("videoAdUiAttributionIconContainer")+'"><div class="'+Q("videoAdUiAttributionIcon")+'" id="videoAdUiAttributionIcon"></div><div class="'+Q("videoAdUiAdInfoPopup")+'"><div class="'+Q("videoAdUiAdInfoPopupCallout")+'"></div><div class="'+
Q("videoAdUiAdInfoPopupText")+'" '+Q(Bp(a.ye))+">"+Q(a.ye)+'</div></div></div></div></div><div class="'+Q("videoAdUiProgressBar")+'" dir="ltr"><div class="'+Q("videoAdUiBuffer")+'"></div><div class="'+Q("videoAdUiProgress")+'"></div></div></div>'});
lp("a","fixedDirectionality",function(a){a=a||{};return'<div class="'+Q("videoAdUi")+'"><div class="'+Q("videoAdUiTopBar")+" "+Q("videoAdUiTopBarWithGradients")+'"><div class="'+Q("videoAdUiAuthorIcon")+'"></div><div class="'+Q("videoAdUiTitle")+" "+Q("ellipsisText")+'"></div><div class="'+Q("videoAdUiAuthorName")+" "+Q("ellipsisText")+'"></div><div class="'+Q("videoAdUiLearnMore")+'">'+Q(a.learnMoreText)+'</div><div class="'+Q("videoAdUiShare")+'"></div></div><div class="'+Q("videoAdUiBottomBar")+
'"><div class="'+Q("videoAdUiLearnMoreText")+'">'+Q(a.learnMoreText)+'<div class="'+Q("videoAdUiLearnMoreIcon")+'"></div></div><div class="'+Q("videoAdUiAttributionContainer")+'"><div class="'+Q("videoAdUiAttribution")+'">'+Q(a.attributionText)+'</div><div class="'+Q("videoAdUiAttributionIconContainer")+'"><div class="'+Q("videoAdUiAttributionIcon")+'" id="videoAdUiAttributionIcon"></div><div class="'+Q("videoAdUiAdInfoPopup")+'"><div class="'+Q("videoAdUiAdInfoPopupCallout")+'"></div><div class="'+
Q("videoAdUiAdInfoPopupText")+'">'+Q(a.ye)+'</div></div></div></div></div><div class="'+Q("videoAdUiProgressBar")+'" dir="ltr"><div class="'+Q("videoAdUiBuffer")+'"></div><div class="'+Q("videoAdUiProgress")+'"></div></div></div>'});
lp("a","redesign2014q4",function(a){a=a||{};return'<div class="'+Q("videoAdUi")+'"><div class="'+Q("videoAdUiTopBar")+" "+Q("videoAdUiTopBarWithGradients")+'"><div class="'+Q("videoAdUiAuthorIcon")+'"></div><div class="'+Q("videoAdUiTopButtons")+'"><div class="'+Q("videoAdUiTopButton")+" "+Q("videoAdUiTopButtonInfo")+'"><div class="'+Q("videoAdUiTopButtonCallout")+'"><div class="'+Q("videoAdUiTopButtonTooltip")+'">'+Q(a.infoText)+'</div></div></div><div class="'+Q("videoAdUiTopButton")+" "+Q("videoAdUiTopButtonShare")+
'"><div class="'+Q("videoAdUiTopButtonCallout")+'"><div class="'+Q("videoAdUiTopButtonTooltip")+" "+Q("videoAdUiTopButtonShareTooltip")+'">'+Q(a.s2)+'</div></div></div><div class="'+Q("videoAdUiTopButton")+" "+Q("videoAdUiTopButtonWatchLater")+'"><div class="'+Q("videoAdUiTopButtonCallout")+'"><div class="'+Q("videoAdUiTopButtonTooltip")+'">'+Q(a.t2)+'</div></div></div></div><div class="'+Q("videoAdUiTitle")+" "+Q("ellipsisText")+'"></div><div class="'+Q("videoAdUiAuthorName")+" "+Q("ellipsisText")+
'"></div></div><div class="'+Q("videoAdUiBottomBar")+'"><div class="'+Q("videoAdUiBottomBarText")+'"><div class="'+Q("videoAdUiAttributionContainer")+'"><div class="'+Q("videoAdUiAttribution")+'" '+Q(Bp(a.attributionText))+">"+Q(a.attributionText)+'</div><div class="'+Q("videoAdUiAttributionIconContainer")+'"><div class="'+Q("videoAdUiAttributionIcon")+'" id="videoAdUiAttributionIcon"></div><div class="'+Q("videoAdUiAdInfoPopup")+'"><div class="'+Q("videoAdUiAdInfoPopupCallout")+'"></div><div class="'+
Q("videoAdUiAdInfoPopupText")+'" '+Q(Bp(a.ye))+">"+Q(a.ye)+'</div></div></div></div><div class="'+Q("videoAdUiVisitAdvertiserLink")+'"><div class="'+Q("videoAdUiVisitAdvertiserLinkText")+'"></div><div class="'+Q("videoAdUiVisitAdvertiserIcon")+'"></div></div></div><div class="'+Q("videoAdUiBottomBarMessage")+'"></div></div><div class="'+Q("videoAdUiProgressBar")+'" dir="ltr"><div class="'+Q("videoAdUiBuffer")+'"></div><div class="'+Q("videoAdUiProgress")+'"></div></div></div>'});
lp("b","",function(a){a=a||{};return""+Ga("You can skip this ad in {$xSeconds}",{xSeconds:Q(a.Ng)})});
lp("b","redesign2014q4",function(a){a=a||{};return""+Ga("You can skip to video in {$xSeconds}",{xSeconds:Q(a.Ng)})});
lp("b","forcedlinebreak",function(a){a=a||{};return""+Ga("You can skip to{$newline}video in {$xSeconds}",{newline:Q(a.GN),xSeconds:Q(a.Ng)})});g.A(Dr,Yp);var Ifa=new g.cd(300,250);Dr.prototype.Oa=function(){this.D=Math.max(0,this.D-1);Fr(this)};
Dr.prototype.Ia=function(){this.D=Math.min(this.ub-3,this.D+1);Fr(this)};
Dr.prototype.qg=function(){return this.N};g.A(Ir,Yp);var Kfa=new g.cd(300,250);Ir.prototype.qg=function(){return this.D};var Jr=g.sd&&Lfa();g.A(as,eq);bs.prototype.parse=function(a){a=g.Kd(a);var b=Tr(a),c;"skippable"==b?c="skippable":"nonskippable"==b&&(c="nonskippable");if(null==c)throw wn(rra);a=a.getAttribute("offset");a=Zr(a);if("skippable"==c&&null==a)throw wn(qra);return new as(c,a)};g.A(cs,eq);g.A(ds,eq);g.h=fs.prototype;g.h.ld=function(){if(null!=Ws(this))return"application/javascript";if(null!=Xs(this))return"application/x-shockwave-flash";var a=this.g,b="";if(null===a)return b;if(a instanceof Rp)a=a.B,null===a||(b=g.E(a.g));else if(a instanceof Yp)switch(a.M){case "IFrame":case "Html":case "Static":b=g.E(a.na)}return b};
g.h.getExtension=function(a){return this.I.get(a)};
g.h.isBumper=function(){return-1!=this.getDuration()&&0!=this.getDuration()&&7>=this.getDuration()};
g.h.Wb=function(){return this.oa?this.ra:Ss(this)?!0:Ns(this)?"video"==this.Pb:Rs(this,"linear")};
g.h.isSkippable=function(){return null!=Us(this)};
g.h.IJ=function(){return this.ba};
g.h.getDuration=function(){return Os(this)};
g.h.eh=function(){var a=null,b=this.g;null!=b&&(a=b.eh(),g.D(g.E(a))&&(a=null));return a};
g.h.Fb=function(){return this.Wb()?0:this.Y.width};
g.h.getHeight=function(){return this.Wb()?0:this.Y.height};
g.h.hf=function(){return this.Xa};
g.h.toString=function(){return"Ad: "+this.ub};g.A(ct,g.xf);ct.prototype.l=function(a){switch(a.type){case "companion_impression":this.dispatchEvent(new Sm("companionImpression",this.g));break;case "companion_click":this.dispatchEvent(new Sm("companionClick",this.g))}};g.A(dt,g.xf);g.h=dt.prototype;g.h.Gb=function(a){null==a||this.D||(this.Xh=a,fga(this),this.D=!0)};
g.h.Vc=function(){null!=this.Xh&&this.D&&(et(this),this.C=this.H=this.D=!1,this.g=0,this.o=[],this.F=!1)};
g.h.GR=function(a){this.H=!0;this.g=a.touches.length;this.l&&(window.clearTimeout(this.l),this.l=0,this.K=!0);(this.F=ft(this,a.touches)||1!=a.touches.length)?this.N=this.M=window.Infinity:(this.M=a.touches[0].clientX,this.N=a.touches[0].clientY);gga(this,a.touches)};
g.h.RI=function(a){this.g=a.touches.length;if(!Ln(8)||Math.pow(a.changedTouches[0].clientX-this.M,2)+Math.pow(a.changedTouches[0].clientY-this.N,2)>Math.pow(5,2))this.C=!0};
g.h.FR=function(a){this.B?this.Dq():(!this.H||1!=this.g||this.C||this.K||this.F||!ft(this,a.changedTouches)||(this.l=window.setTimeout((0,g.z)(this.Dq,this),300)),this.g=a.touches.length,0==this.g&&(this.C=this.H=!1,this.o=[]),this.K=!1)};
g.h.Yx=function(){this.Dq()};
g.h.Dq=function(){this.l=0;this.dispatchEvent(new g.We("click"))};
g.h.U=function(){this.Vc();this.A.dispose();this.A=null;dt.Z.U.call(this)};var iga=/#(.)(.)(.)(.)/,hga=/^#(?:[0-9a-f]{4}){1,2}$/i;g.A(g.it,g.xf);g.h=g.it.prototype;g.h.kb=function(){return 1==this.g};
g.h.Do=function(){this.Fe("begin")};
g.h.Bl=function(){this.Fe("end")};
g.h.dd=function(){this.Fe("finish")};
g.h.Fe=function(a){this.dispatchEvent(a)};var Ara=g.Cf(function(){if(g.sd)return g.nc("10.0");var a=g.zd("DIV"),b=g.ud?"-webkit":g.lh?"-moz":g.sd?"-ms":g.Ye?"-o":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");b={style:c};if(!Qc.test("div"))throw Error("Invalid tag name <div>.");if("DIV"in Tqa)throw Error("Tag name <div> is not allowed for SafeHtml.");b=Rc("div",b,void 0);a.innerHTML=g.Nc(b);return""!=mh(a.firstChild,"transition")});g.A(kt,g.it);g.h=kt.prototype;g.h.play=function(){if(this.kb())return!1;this.Do();this.Fe("play");this.startTime=(0,g.G)();this.g=1;if(Ara())return g.jh(this.l,this.D),this.A=g.ng(this.wS,void 0,this),!0;this.mu(!1);return!1};
g.h.wS=function(){g.Ch(this.l);jt(this.l,this.C);g.jh(this.l,this.o);this.A=g.ng((0,g.z)(this.mu,this,!1),1E3*this.B)};
g.h.stop=function(){this.kb()&&this.mu(!0)};
g.h.mu=function(a){g.jh(this.l,"transition","");g.og(this.A);g.jh(this.l,this.o);this.endTime=(0,g.G)();this.g=0;a?this.Fe("stop"):this.dd();this.Bl()};
g.h.U=function(){this.stop();kt.Z.U.call(this)};
g.h.pause=function(){};g.A(lt,g.xf);lt.prototype.U=function(){null!=this.Ei&&(g.og(this.Ei),this.Ei=null);null!=this.Oe&&(g.Fd(this.Oe),this.Oe=null);lt.Z.U.call(this)};
lt.prototype.C=function(){this.Ei=null;mt(this,!1);this.Ei=g.ng((0,g.z)(function(){this.Ei=null;nt(this,!1);null!=this.Oe&&g.N(this.Oe,!1);ot(this,"complete")},this),200)};
lt.prototype.show=function(a){ot(this,"impression");mt(this,!0);nt(this,!0);null!=this.Oe&&g.N(this.Oe,!0);this.Ei=g.ng(this.C,a,this)};
lt.prototype.F=function(a){P.g()||a.stopPropagation()};g.A(pt,eq);g.A(rt,eq);g.h=tt.prototype;
g.h.AB=function(){var a={heading:"",targetingReasons:[],learnMore:"",Gq:"",control:"",mute:""};if(null!=this.A){a.heading=this.A.B;var b=this.A.l;if(b&&3==b.length){var c=b[1],d=b[2];b=hp(""+Q(b[0])+zr()+Q(c)+hp("</a>")+Q(d));a.Gq=b}b=g.Wa(this.A.C);a.targetingReasons=b;for(c=0;c<b.length;c++)if(d=b[c],"string"===typeof d&&-1<d.indexOf("|")){var e=this.A.K;d=hp(""+Q(d.substring(0,d.length-2))+" <a href='"+R(yp("https://support.google.com/ads/answer/7029660#match"))+"' target='_blank'>"+Q(e)+"</a>");
b[c]=d}a.close=this.A.o}else a.Gq=Ar(),b=""+Ga("Got It"),a.close=b;null!=this.l&&(a.mute=this.l.A);wt(this,Efa,a);vt(this,"videoAdUiWhyThisAdCloseButton",this.Ym);vt(this,"videoAdUiWhyThisAdControl",this.Lw);vt(this,"videoAdUiWhyThisAdMute",this.qS);a=this.Lw;b=g.I("videoAdUiWhyThisAdGenericMessage",this.g);null!=b&&(b=b.getElementsByTagName("A")[0],null!=b&&this.B.R(b,"click",a))};
g.h.Ym=function(){null!=this.B&&(this.B.dispose(),this.B=null);ut(this)&&null!=this.g&&(null!=this.o&&(xt(this,"why_this_ad_got_it"),this.o.dispose(),this.o=null),this.g.parentElement.removeChild(this.g),this.g=null)};
g.h.Lw=function(){xt(this,"why_this_ad_settings_url")};
g.h.qS=function(){if(null!=this.l){xt(this,"mute_interaction_url");var a=qt(this.l);if(0==a){var b={heading:"",message:"Are you sure you want to stop seeing this ad?",confirm:"YES",cancel:"CANCEL"};wt(this,Gfa,b);vt(this,"videoAdUiMuteCancel",this.AB);vt(this,"videoAdUiMuteConfirm",this.cH)}else{xt(this,"mute_url");b={heading:this.l.o,undo:this.l.C,question:this.l.B,options:[],confirm:"SEND",cancel:"CLOSE"};var c=this.l?(c=Gp(this.l.g,"mute_undo_url"))&&0<c.length:!1;c||(b.undo="");for(c=0;c<a;c++)b.options.push(this.l.l[c].label);
wt(this,Ffa,b);vt(this,"videoAdUiMuteUndo",this.IT);vt(this,"videoAdUiMuteConfirm",this.uT);vt(this,"videoAdUiMuteCancel",this.qq)}}};
g.h.cH=function(){xt(this,"mute_url");this.qq()};
g.h.IT=function(){xt(this,"mute_undo_url");this.Ym()};
g.h.uT=function(){if(null!=this.l){for(var a=qt(this.l),b=!1,c=0;c<a;c++){var d=g.I("videoAdUiMuteOption"+c,this.g);if(null!=d&&d.checked){b=!0;pn(this.l.l[c].url);break}}if(!b)return}this.qq()};
g.h.qq=function(){xt(this,"MUTE_AD");this.Ym()};g.A(Ft,g.xf);var lga={1:"videoAdUiBrandInteractionHorizontalRect"},kga=[1],pga=[1],nga={1:["videoAdUiBrandInteractionUnitTopBelowTitle"],2:["videoAdUiBrandInteractionUnitTopBelowTitle","videoAdUiBrandInteractionUnitLeft"],3:["videoAdUiBrandInteractionBottom","videoAdUiBrandInteractionUnitLeft"]};Ft.prototype.update=function(){this.C||(this.dispatchEvent("feedbackShown"),this.A=Ct(this.l,.5),g.M(this,this.A),this.A.play(),g.N(this.l,!0),this.C=!0,rga(this))};
Ft.prototype.H=function(a){P.g()||a.stopPropagation();a=a.target.Xh;null!=a&&(g.mq(a,"selected")?(g.S(this.l,"optionSelected"),null!=this.o&&g.jq(this.o,"selected"),this.o=a):(g.jq(this.l,"optionSelected"),this.o=null),a=null!=this.o?g.hq(this.o,"videoAdUiBrandInteractionLikeButton")?"l":g.hq(this.o,"videoAdUiBrandInteractionDislikeButton")?"d":"n":"n","l"==a?this.dispatchEvent("feedbackLike"):"d"==a&&this.dispatchEvent("feedbackDislike"),this.I&&(Dt(this.l).play(),g.ng(function(){g.N(this.l,!1)},
500,this)),null!=this.g&&(null!=Ae(this.g,Me,15)?sga(this):tga(this)))};
Ft.prototype.U=function(){null!=this.l&&(g.Fd(this.l),this.l=null);this.o=null;Ft.Z.U.call(this)};g.A(Ht,g.xf);Ht.prototype.C=function(){this.g?this.dispatchEvent("videoUnmuteClicked"):this.dispatchEvent("videoMuteClicked")};
Ht.prototype.U=function(){this.B.dispose();this.B=null;Ht.Z.U.call(this)};g.A(It,g.xf);It.prototype.U=function(){null!=this.l&&(g.Fd(this.l),this.l=null);It.Z.U.call(this)};
It.prototype.update=function(a,b){if(!(0>=b))if(0>a)this.C=1;else if(1==this.C)Ct(this.l,.5).play(),g.N(this.l,!0),this.C=2;else if(this.B){var c=Math.round(b-a);0>c||g.Od(this.o,xr({Ng:c}))}else this.I&&5<a&&(this.I=!1,g.N(this.o,!1))};
It.prototype.K=function(){g.Fh(this.o)||g.N(this.o,!0)};g.A(g.Jt,g.K);g.h=g.Jt.prototype;g.h.start=function(){this.stop();this.o=!1;var a=Kt(this),b=Lt(this);a&&!b&&this.g.mozRequestAnimationFrame?(this.ia=g.jf(this.g,"MozBeforePaint",this.l),this.g.mozRequestAnimationFrame(null),this.o=!0):this.ia=a&&b?a.call(this.g,this.l):this.g.setTimeout(aba(this.l),20)};
g.h.Lk=function(){this.isActive()||this.start()};
g.h.stop=function(){if(this.isActive()){var a=Kt(this),b=Lt(this);a&&!b&&this.g.mozRequestAnimationFrame?g.sf(this.ia):a&&b?b.call(this.g,this.ia):this.g.clearTimeout(this.ia)}this.ia=null};
g.h.isActive=function(){return null!=this.ia};
g.h.HH=function(){this.o&&this.ia&&g.sf(this.ia);this.ia=null;this.B.call(this.A,(0,g.G)())};
g.h.U=function(){this.stop();g.Jt.Z.U.call(this)};g.A(g.Mt,g.K);g.h=g.Mt.prototype;g.h.ia=0;g.h.U=function(){g.Mt.Z.U.call(this);this.stop();delete this.g;delete this.l};
g.h.start=function(a){this.stop();this.ia=g.ng(this.o,g.t(a)?a:this.uc)};
g.h.stop=function(){this.isActive()&&g.og(this.ia);this.ia=0};
g.h.isActive=function(){return 0!=this.ia};
g.h.Bx=function(){this.ia=0;this.g&&this.g.call(this.l)};g.A(Rt,g.xf);g.h=Rt.prototype;g.h.U=function(){g.Ue(this.A);this.A=null;g.Ue(this.F);this.F=null;null!=this.o&&(g.Fd(this.o),this.o=null);null!=this.skipButton&&(this.skipButton=null);null!=this.l&&(g.Fd(this.l),this.l=null);this.V.dispose();this.V=null;this.ac.dispose();this.ac=null;Rt.Z.U.call(this)};
g.h.update=function(a,b){this.ca=b;this.pq(a);2==this.state&&Qt(this,a)};
g.h.skip=function(){return null==this.config.skipOffset||3!=this.state||this.X?!1:(this.X=!0,this.dispatchEvent("PUBLISHER_INVOKED_SKIP"),!0)};
g.h.pq=function(a){if(!(0>=this.ca||null==this.config.skipOffset||0>Kp(this.config.skipOffset))){var b=Kp(this.config.skipOffset);b>=this.ca||3==this.state||(0>a?this.state=1:a<=b?(2!=this.state&&(Qt(this,0),Ct(this.o,.5).play(),g.N(this.o,!0)),this.state=2):(3!=this.state&&this.Ov(),this.state=3,this.dispatchEvent("skipshown")))}};
g.h.Ov=function(){g.N(this.l,!0);this.F=St(this.o);this.F.play();this.A=Ct(this.l,.5);this.A.play();this.skipButton.autofocus&&this.skipButton.focus()};
g.h.sT=function(a){P.g()||a.stopPropagation();3!=this.state||this.X||(this.X=!0,this.dispatchEvent("skip"))};g.A(Yt,Rt);var Ut={Uw:0,Tw:1},Vt={Uw:1,Tw:0},Wt={Fw:15},Xt={Fw:300};g.h=Yt.prototype;g.h.U=function(){Yt.Z.U.call(this);$t(this);bu(this)};
g.h.pq=function(a){Yt.Z.pq.call(this,a);if(3==this.state&&!this.W&&!this.da){var b=du(this.N,this.g);if(a=cu(a,this.config,this.N))if(this.D==this.I.Uw&&a>=b)switch(this.I){case Ut:Zt(this);break;case Vt:au(this,!0)}else if(this.D==this.I.Tw&&a<b)switch(this.I){case Vt:Zt(this);break;case Ut:au(this,!0)}}};
g.h.Ov=function(){g.N(this.l,!0);this.F=St(this.o);this.F.play();if(this.W)var a=!1;else{a=du(this.N,this.g);var b=cu(Kp(this.config.skipOffset),this.config,this.N);if(null!=b){var c=!1;switch(this.I){case Vt:c=b<a;break;case Ut:c=b>=a}a=c}else a=!1}a?(this.D=1,this.A=Bt(this.l,.5,"ease-in",0,this.ba)):this.A=Ct(this.l,.5);this.A.play();this.skipButton.autofocus&&this.skipButton.focus();this.W||(this.ac.R(g.Ld(this.l),"mouseover",this.CN),this.ac.R(g.Ld(this.l),"mouseout",this.BN))};
g.h.CN=function(){bu(this);0!=this.D&&au(this,!1);this.da=!0};
g.h.BN=function(){bu(this);this.K=g.ng(function(){this.da=!1;this.K=null},5E3,this)};eu.prototype.getDuration=function(){return this.l};
eu.prototype.Dc=function(){return this.g};
eu.prototype.update=function(a,b){var c=null!=this.D?Kp(this.D):0;this.l=0<=this.l?this.l:b;c<=a&&c+this.l>=a?vga(this):g.N(this.g,!1)};g.A(iu,g.xf);g.h=iu.prototype;g.h.show=function(){null!=this.l&&g.N(this.l,!0)};
g.h.skip=function(){var a;if(a=null!=this.A)a=this.A,a=null!=a.config.skipOffset&&3==a.state;return a?this.A.skip():!1};
g.h.U=function(){null!=this.l&&(g.Fd(this.l),this.l=null);ju(this);(0,g.C)(this.Y,function(a){a.Vc()});
this.Y=[];this.B=null;this.o.dispose();this.o=null;iu.Z.U.call(this)};
g.h.update=function(a,b,c,d,e){null!=this.l&&(null!=this.Ia&&gu(this,a,c,d,e),null!=this.ka&&g.Ah(this.ka,a/c*100+"%"),null!=this.Xa&&g.Ah(this.Xa,b/c*100+"%"),0<c&&null!=this.g.skipOffset&&null!=this.A&&(Jp(this.g.skipOffset,c),this.A.update(a,c)),0<c&&null!=this.V&&this.V.update(a),0<c&&null!=this.H&&this.H.update(a,c),this.g.M&&0<c&&5>c-a&&g.S(this.fa,"videoAdUiTopBarNoFade"),(0,g.C)(this.ra,function(b){b.update(a,c)},this))};
g.h.MG=function(){this.dispatchEvent("videoAuthorIconClicked")};
g.h.NG=function(){this.dispatchEvent("videoAuthorClicked")};
g.h.II=function(a){var b=a.F;a=a.H;g.D(g.E(b))||this.dispatchEvent(new Sm("videoIconClicked",null,{clickThroughUrl:b}));(0,g.C)(a,function(a){pn(a)})};
g.h.Ey=function(){this.dispatchEvent("videoLearnMoreClicked")};
g.h.pT=function(){this.dispatchEvent("videoShareClicked")};
g.h.CT=function(){this.dispatchEvent("videoTitleClicked")};
g.h.fJ=function(a){a.preventDefault()};
g.h.Bp=function(){this.dispatchEvent("click")};
g.h.QG=function(a){this.dispatchEvent(a)};
g.h.gq=function(a){this.dispatchEvent(a.type)};
g.h.zb=function(){null!=this.ra&&(0,g.C)(this.ra,function(a){fu(a)},this)};
g.h.mT=function(){g.S(this.fa,"videoAdUiTopBarTransitions")};
g.h.rS=function(){var a=g.Vd(this.l,"html5-video-player");if(null!=a){var b=this.g.H;null!=a&&(b.B=new g.Dm(b),b.o=new g.xf,b.o.Dh(this),b.C=a,b.AB(),xt(b,"why_this_ad_url"));null!=this.A&&Tt(this.A,!1);null!=this.H&&(a=this.H,null!=a.g&&g.N(a.g,!1))}};
g.h.XT=function(){null!=this.A&&Tt(this.A,!0);if(null!=this.H){var a=this.H;null!=a.g&&g.N(a.g,!0)}};g.A(ou,g.K);ou.prototype.I=function(a,b,c){c=g.Yb(c||{});if("timeout"==(c.viewability||"")){var d=this.F[a];null!=d&&(c.viewability=d)}if("impression"==a&&!this.H&&null!=this.C&&0<this.C.length){d=P.H&&g.Oa(this.D,"impression");var e=qu(this,this.C,c);ru(this,e,d);this.H=!0}zga(this,a)&&0<b.length&&(d=P.H&&g.Oa(this.D,a),b=qu(this,b,c),ru(this,b,d),this.l.set(a,!0))};g.A(tu,g.xf);g.h=tu.prototype;g.h.Gk=function(){if(this.tb()){var a=$s(this.Oc);if(null!=a)return a}return""};
g.h.Fk=function(){if(this.tb()){var a=at(this.Oc);if(null!=a)return a}return""};
g.h.df=function(){return g.Pa(this.ads)?null:this.ads[0]};
g.h.la=function(){if(this.tb()){if(this.Oc.isSkippable()&&!Tn())throw xn(sB,null,"skippablevideo");if(null!=Ws(this.Oc)&&vu(this,this.Oc.l))throw xn(sB,null,"vpaidWithSkippabilityOverride");return this.Oc}throw xn(zu,null,"An ad has not been selected.\n"+Error().stack);};
g.h.tb=function(){return null!==this.Oc};
g.h.Tj=function(){var a=(0,g.Na)(this.ads,this.Oc);-1!=a&&++a<this.ads.length?uu(this,this.ads[a]):uu(this,null)};
g.h.Rk=function(){var a=(0,g.Na)(this.ads,this.Oc);return-1==a?!1:a+1<this.ads.length};
g.h.Je=function(){if(!this.Rk())return null;var a=(0,g.Na)(this.ads,this.Oc)+1;return this.ads[a]};
g.h.dh=function(a){var b=a.l;if(b&&b.na&&(b=b.D,!g.Pa(b)&&b[0]instanceof Rp))return b[0].dh();b=a.g;return xu(a)?b.dh():[]};
g.h.Zo=function(){if(!this.tb()){if(g.Pa(this.ads))throw xn(eC);uu(this,this.ads[0]);if(null==this.Oc.g)throw wn(eC);}};
g.h.ga=function(a,b){var c=this.tb()?this.la():null;this.dispatchEvent(new Sm(a,c,b))};
g.h.Ig=function(a){this.Md=a};
g.h.Wa=function(){null==this.ac&&(this.ac=new g.Dm(this));return this.ac};
g.h.GO=function(){};
g.h.Bt=function(){};
g.h.Ad=function(a){if(null!=this.Md){g.Jm(this.De);this.De.rh(this.Md,"companion_display_error",function(){});
var b=this.Md.Ad(a);null!=b&&(this.De.R(b,"companion_impression",this.GO),this.De.R(b,"companion_click",this.Bt),P.g()&&(a=new ct(a,b),this.ga("companionInitialized",a)));if(!this.Md.Qv())throw xn(i1);}};
g.h.destroy=function(){this.dispose()};
g.h.U=function(){this.tb()&&(Gq(this.Oc,null),this.Oc=null);g.Ue(this.ac);this.Md=this.ac=null;this.bn=!1;P.l?Mo(Io(),this.Cp):po().D=null;this.La&&(g.Ue(this.La),this.La=null);tu.Z.U.call(this)};
g.h.Ie=function(){return[]};
g.h.Eb=function(){return this.ads[0]};
g.h.wj=function(){(0,g.C)(this.ads,function(a){var b;for(b=a.getExtension("sodar");!b&&(a=a.l);)b=a.getExtension("sodar");if(b){var c=b.A;a=b.o;var d=b.B,e=b.l;b="//tpc.googlesyndication.com/sodar/"+(0,window.encodeURIComponent)(c)+".js";var f="//pagead2.googlesyndication.com/bg/"+(0,window.encodeURIComponent)(d)+".js";if(c&&a&&d&&e){d=window;c=d.document;var k={};a&&(k._scs_=a);k._bgu_=f;k._bgp_=e;k._li_="v_h.0.0.0";(a=d.GoogleTyFxhY)&&"function"==typeof a.push||(a=d.GoogleTyFxhY=[]);a.push(k);a=
g.id(c).createElement("SCRIPT");a.type="text/javascript";a.async=!0;g.Uc(a,g.Yd(b));c.getElementsByTagName("head")[0].appendChild(a)}}})};
g.h.init=function(a){Au(this);this.Ac(a);this.ne=!0;this.Kj();P.l||(a=this.Cp,po().D=a)};
g.h.Kj=function(){this.ga("loaded")};
g.h.Vj=function(a){this.tb()&&P.g()&&tn(ps(this.la()),a)};
g.h.mC=g.y;g.h.Qc=function(a,b,c){if(!this.bn){if(null==a)throw xn(vo,null,"displayContainer");null!=c&&this.Ye(c);this.content=b;this.Fa=a;this.Zo();this.Da=this.Fa.Tk(wu(this));this.bn=!0}};
g.h.Hg=function(a){a=Fo(gs(a),"rm")?a.W:ps(a);(0,g.C)(a,function(a){g.Ra(this.Rb.C,a)},this)};
g.h.gg=function(a,b){(0,g.C)(b,function(b){b=Op(a,b);Hp(this.Rb.o,b)},this)};
g.h.Oj=function(a){if(a instanceof Rp){var b=Sp(a);(0,g.C)(b.Ab(),function(a){var c=b.get(a);(0,g.C)(c,function(b){Ip(this.Rb.o,a,b)},this)},this)}};
g.h.Aa=function(a){pu(this.Rb,new g.We(a))};
g.h.getCurrentTime=function(){return-1};
g.h.getDuration=function(){return-1};
g.h.Mc=function(){return-1};
g.h.kb=function(){return null!=this.Da?this.Da.kb():!1};
g.h.zb=function(a,b,c){this.Ac(c)};
g.h.pause=g.y;g.h.resume=g.y;g.h.skip=g.y;g.h.muteAd=g.y;g.h.whyThisAdClicked=g.y;g.h.whyThisAdClosed=g.y;g.h.Ye=function(a){if(null==a||!Aga(this,a))throw xn(vo,null,"adsRenderingSettings should be instance of AdsRenderingSettings");var b=this.Ma;if(null==a.bitrate||0>=a.bitrate)a.bitrate=-1;null==a.mimeTypes&&(a.mimeTypes=[]);Bga(a.mimeTypes);if(!g.ua(a.pf)||0>=a.pf)a.pf=15E3;g.bc(b,a)};
g.h.start=function(){Au(this);if(!this.ne)throw wn(zu,null,"Must call init before start.");};
g.h.stop=function(){this.destroy()};
g.h.getVolume=function(){return null!=this.volume?this.volume:0};
g.h.setVolume=function(a){((0,window.isNaN)(a)||0>a||1<a)&&An(this,vo,null,"volume",String(a));this.volume=a};
g.h.expand=function(){Au(this);this.Ac("fullscreen")};
g.h.collapse=function(){Au(this);this.Ac("normal")};
g.h.Ac=function(a){if(!g.Rb(pra,a))throw xn(vo,null,"view mode",a);this.Yc=a};
g.h.Gc=function(){return this.bn};
g.h.hasListeners=function(a){return(0,g.Wl)(a,function(a){if(g.bf(this))a=this.hasListener(a,void 0);else{var b=g.mf(this);a=!!b&&b.hasListener(a,void 0)}return a},this)};
g.h.eh=function(){return null};
g.h.lj=function(){return null};
g.h.qC=function(){return null};
g.h.He=function(){return null};
g.h.wf=function(){this.Aa("abandon")};
g.h.GH=function(){return{currentTime:this.getCurrentTime(),duration:this.getDuration(),isPlaying:this.kb(),isVpaid:this.tb()&&null!=Ws(this.la()),isYouTube:P.g(),volume:this.getVolume()}};
g.h.zj=function(a){do if(Ns(a))return!1;while(a=a.l);return!0};
g.h.Yk=function(){for(var a=0;a<this.ads.length;++a)if(!this.zj(this.ads[a]))return!1;return En()};
g.h.IS=function(a){var b=g.Va(f1,g.Nb(h1));ab(b);(0,g.C)(b,function(b){var c=Gp(a.g,b);g.Pa(c)||this.Tt(b,c)},this);
yga(this.Rb,a.H)};
g.h.Tt=function(a,b){(0,g.C)(b,function(a){var b=a.Qa();Ip(this.Rb.o,a.Vb(),b)},this)};
g.h.vP=function(a){this.Ma.Gw||(a=a.g,null!=a&&(a=a.clickThroughUrl,null!=a&&(on(a),this.pause())))};
g.h.Lj=function(a){var b=a.type;if(g.Oa(g1,b)){if("externalActivityEvent"==b&&(b=a.g.eventName,!h1[b]))return;yu(this,b)}};var Fu=["classid","data","movie","type","typemustmatch"];g.wa(g.Gu);g.Gu.prototype.g=0;g.A(g.Hu,g.xf);g.h=g.Hu.prototype;g.h.MI=g.Gu.getInstance();g.h.ma=function(){return this.g};
g.h.Dh=function(a){if(this.A&&this.A!=a)throw Error("Method not supported");g.Hu.Z.Dh.call(this,a)};
g.h.On=function(){this.g=this.H.createElement("DIV")};
g.h.dj=function(){this.Pe=!0;Ku(this,function(a){!a.Pe&&a.ma()&&a.dj()})};
g.h.Ak=function(){Ku(this,function(a){a.Pe&&a.Ak()});
this.C&&g.Jm(this.C);this.Pe=!1};
g.h.U=function(){this.Pe&&this.Ak();this.C&&(this.C.dispose(),delete this.C);Ku(this,function(a){a.dispose()});
this.g&&g.Fd(this.g);this.A=this.g=this.D=this.K=null;g.Hu.Z.U.call(this)};
g.h.Dc=function(){return this.g};
g.h.removeChild=function(a,b){if(a){var c=g.u(a)?a:Iu(a);a=this.D&&c?Xb(this.D,c)||null:null;if(c&&a){Wb(this.D,c);g.Ta(this.K,a);b&&(a.Ak(),a.g&&g.Fd(a.g));c=a;if(null==c)throw Error("Unable to set parent component");c.A=null;g.Hu.Z.Dh.call(c,null)}}if(!a)throw Error("Child is not in parent component");return a};g.A(Lu,g.Hu);g.h=Lu.prototype;g.h.Za=null;g.h.Fp="window";g.h.Em="sameDomain";g.h.setSize=function(a,b){this.F=g.u(a)?a:Math.round(a)+"px";this.B=g.u(b)?b:Math.round(b)+"px";this.ma()&&g.Bh(Mu(this),this.F,this.B);return this};
g.h.dj=function(){Lu.Z.dj.call(this);for(var a=this.ma(),b=this.l.Ab(),c=this.l.sb(),d=[],e=0;e<b.length;e++){var f=g.nb(b[e]),k=g.nb(c[e]);d.push(f+"="+k)}b=d.join("&");if(g.sd&&!g.oc(11)){d=this.I;c={allowFullScreen:"true",AllowScriptAccess:this.Em,allowNetworking:"all",bgcolor:"#000000",FlashVars:b,quality:"high",SeamlessTabbing:"false",wmode:this.Fp};b={"class":"goog-ui-media-flash-object",id:Iu(this),name:Iu(this)};Cga(b,c);e={allownetworking:"none",allowscriptaccess:"never",movie:d};d={};for(l in e)d[l]=
e[l];for(l in c)f=l.toLowerCase(),f in e&&delete d[f],d[l]=c[l];c=[];for(l in d)c.push(Rc("param",{name:l,value:d[l]}));var l=Sc({classid:"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"},{},b);l=Rc("object",l,c)}else l={AllowScriptAccess:this.Em,allowFullScreen:"true",allowNetworking:"all",bgcolor:"#000000","class":"goog-ui-media-flash-object",FlashVars:b,id:Iu(this),name:Iu(this),quality:"high",SeamlessTabbing:"false",wmode:this.Fp},l=Sc({src:this.I,type:"application/x-shockwave-flash",pluginspage:"https://www.macromedia.com/go/getflashplayer"},
{allownetworking:"none",allowscriptaccess:"never"},l),l=Rc("embed",l);a.innerHTML=g.Nc(l);this.F&&this.B&&this.setSize(this.F,this.B);this.o.R(this.ma(),g.Nb(Vqa),Xe)};
g.h.On=function(){if(null!=this.M&&!(0<=g.Ab(jB,this.M)))throw Error("Method not supported");var a=this.H.createElement("DIV");a.className="goog-ui-media-flash";this.g=a};
g.h.U=function(){Lu.Z.U.call(this);this.l=null;this.o.dispose();this.o=null};
g.h.Ub=function(){return this.Pe&&this.ma()?g.PL&&Mu(this).readyState&&"complete"==Mu(this).readyState||Mu(this).readyState&&4==Mu(this).readyState||"PercentLoaded"in Mu(this)&&100==Mu(this).PercentLoaded()?!0:!1:!1};g.A(Nu,g.xf);var Bra=yc(rc(g.sc("https://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf")));yc(rc(g.sc("http://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf")));g.h=Nu.prototype;g.h.dispose=function(){this.g&&(this.g.dispose(),this.l=null);window[this.o]&&delete window[this.o];g.og(this.A)};
g.h.load=function(a,b,c,d){window[this.o]=(0,g.z)(this.OI,this);this.g=new Lu(Bra);this.g.setSize(b,c);this.g.Em="always";this.g.Fp="transparent";this.g.l.set("vpaid",a);this.g.l.set("vpaidEventHandler",this.o);Ju(this.g,this.C);this.l=Mu(this.g);this.A=g.ng(this.QI,d,this)};
g.h.NI=function(a){if(!this.l)return null;var b=Array.prototype.slice.call(arguments),c=b.shift();if(!this.B&&"handshakeVersion"!=c&&"initAd"!=c)return null;try{if(this.l[c])return this.l[c].apply(this.l,b)}catch(d){}return null};
g.h.OI=function(a,b){"AdLoaded"==a&&(g.og(this.A),this.B=!0);this.dispatchEvent(new Bn(a,b||null))};
g.h.QI=function(){this.dispatchEvent("loadError")};g.A(Qu,Yp);Qu.prototype.qg=function(){var a=this.Gr();a=null!=a&&"clicktag"==a.toLowerCase();a={url:mn(g.E(this.l)),width:this.Fb(),height:this.getHeight(),Kc:this.nf(),capture:this.Yv||!a};var b=P.g()&&Fo(this.F,"hideMaster")?Cp:Gea;a=nq(b,a);a.style.width=this.Fb()+"px";a.style.height=this.getHeight()+"px";a.id=this.ia;(0,g.C)(a.getElementsByTagName("object"),this.Ui,this);(0,g.C)(a.getElementsByTagName("a"),this.Ui,this);return a};g.A(Ru,Yp);Ru.prototype.qg=function(){var a=g.J("DIV");a.innerHTML=this.l;this.Ui(a);return bq(this,a)};g.A(Su,Yp);Su.prototype.kd=function(){var a=Su.Z.kd.call(this);this.C&&(a=a.replace('src=""','src="'+mn(g.E(this.l))+'"'));return a};
Su.prototype.Jr=function(){var a=Su.Z.Jr.call(this);this.C&&(a=a.replace('src=""','src="'+mn(g.E(this.l))+'"'));return a};
Su.prototype.qg=function(a){var b="";this.C||(b=mn(g.E(this.l)));b={id:this.ia,url:b,Kc:this.nf(),width:this.Fb()+"px",height:this.getHeight()+"px"};a=P.g()&&Fo(this.F,"hideMaster")?Cp:a?Iea:Hea;a=nq(a,b);(0,g.C)(a.getElementsByTagName("a"),this.Ui,this);return a};
Su.prototype.Vk=function(){return!0};Vu.prototype.ld=function(){return null!=this.g?Vp[this.g]||"Other":null};g.A(Wu,eq);Xu.prototype.parse=function(a){if(null==a)return null;var b,c,d;(0,g.C)(g.Id(a),function(a){switch(a.nodeName){case "AdFormat":b=a.getAttribute("ad_system"),c=a.getAttribute("ad_type"),d=a.getAttribute("instream_type")}},this);
return null!=b&&null!=c&&null!=d?new Wu(b,c,d):null};g.A(Zu,eq);Zu.prototype.isPharma=function(){return this.D};$u.prototype.parse=function(a){var b;Ur(a,"config",function(a){null!=b||(b=Hga(this,a))},this);
return b};av.prototype.parse=function(a){if(null==a)return null;var b,c,d,e,f,k,l,m,n=!1,q,r=!1;(0,g.C)(g.Id(a),function(a){switch(a.nodeName){case "AttributionText":c=Tr(a);break;case "AttributionUrl":d=Tr(a);break;case "ConversionUrl":f=Tr(a);break;case "CustomTracking":null!=g.Id(a)&&(e=$r(a));break;case "is_pharma":a=Sr(a,"bool");r=Xr(g.E(a));break;case "CheckedEvents":a=g.Id(a);b=(0,g.H)(a,function(a){return Sr(a,"id")});
null!=b||(b=[]);break;case "PreviousAdInformation":k=Tr(a);break;case "VisibleUrl":l=Tr(a);break;case "UI":m=(new $u).parse(a);break;case "ShowYouTubeAnnotations":var v=Tr(a);n=Xr(g.E(v),!1);case "QueryId":q=Tr(a)}},this);
null!=m||(m=new Yu);return new Zu(c,d,f,k,l,m,n,q,r,e,b)};bv.prototype.parse=function(a){if(null==a)return null;var b;(0,g.C)(g.Id(a),function(a){switch(a.nodeName){case "CustomTracking":null!=g.Id(a)&&(b=$r(a))}});
a=null;null!=b&&0<Gp(b,"skip").length&&(a="Generic");return new cs(a,b)};cv.prototype.parse=function(a){if(null==a)return null;var b,c;(0,g.C)(g.Id(a),function(a){switch(a.nodeName){case "SkippableAdType":b=Tr(a);break;case "CustomTracking":null!=g.Id(a)&&(c=$r(a))}});
return new cs(b,c)};dv.prototype.parse=function(a){if(null==a)return null;var b;(0,g.C)(g.Id(a),function(a){switch(a.nodeName){case "CustomTracking":null!=g.Id(a)&&(b=$r(a))}},this);
return new eq(b)};iv("d");jv("d");kv("d");var o1=iv("f");jv("f");kv("f");var Kv=iv("i");jv("i");kv("i");iv("j");jv("j");kv("j",void 0);kv("j",void 0);iv("u");jv("u");kv("u");iv("v");jv("v");kv("v",void 0);kv("v",void 0);var p1=iv("b");jv("b");kv("b");var Cv=iv("e");jv("e");kv("e");var Dv=iv("s");jv("s");kv("s");iv("B");jv("B");kv("B");iv("x");jv("x");kv("x");iv("y");jv("y");kv("y");iv("g");jv("g");kv("g");iv("h");jv("h");kv("h");iv("n");jv("n");kv("n");iv("o");jv("o");kv("o",void 0);kv("o",void 0);nv.prototype.clone=function(){var a=this.constructor,b={},c=this.data;if(b!==c){for(var d in b)b.hasOwnProperty(d)&&delete b[d];fv(b,c)}return new a(b)};var q1;g.A(uv,nv);var r1;g.A(vv,nv);var s1,t1;g.A(wv,nv);var Bv;g.A(xv,nv);var Hv;g.A(rv,nv);var u1;g.A(yv,nv);var v1;g.A(zv,nv);var w1,x1;g.A(Av,nv);var y1,z1,A1,B1,C1,Jv;g.A(Ks,nv);var D1,E1,F1,G1,aga={qG:0,rG:1,T0:2,g1:3,Bv:4,d1:5,e1:6,Z0:7,U0:8},H1={qG:0,b1:1,Y0:2,V0:3,W0:4,a1:5,S0:6,c1:7,pG:8,mG:9,nG:10,oG:11,f1:12,X0:13};vv.prototype.Vb=function(){return ov(this,"type",0)};
vv.prototype.g=function(){return new Av(this.data.website_card)};
vv.prototype.Ke=function(){return new wv(this.data.placement)};
xv.prototype.Vb=function(){return ov(this,"type",0)};
xv.prototype.setTitle=function(a){this.data.title=a};
rv.prototype.Vb=function(){return ov(this,"type",0)};
yv.prototype.md=function(){return Er(this,"headline")};
yv.prototype.setDescription=function(a){this.data.description=a};
zv.prototype.setDescription=function(a){this.data.description=a};
Av.prototype.md=function(){return Er(this,"headline")};
Av.prototype.setDescription=function(a){this.data.description=a};
Av.prototype.ug=function(){return new Ks(this.data.icon)};
Av.prototype.Bn=function(){return new Ks(this.data.banner_image)};
Ks.prototype.getImageUrl=function(){return Er(this,"image_url")};var Nv;
Nv={action:{type:{TYPE_APPLICATION_ENGAGEMENT:26,TYPE_APPLICATION_STORE:4,TYPE_ATTRIBUTION:5,TYPE_CALL_PROMPT:22,TYPE_CHANNEL:2,TYPE_COLLAPSE:17,TYPE_ENGAGEMENT_PANEL:20,TYPE_EXTERNAL:16,TYPE_FUNDRAISING:10,TYPE_GOOGLE_MAP_DIRECTIONS:23,TYPE_GOOGLE_MAP_PLACES:24,TYPE_HEADLINE:1,TYPE_HELPOUTS:15,TYPE_INLINE_APPLICATION_STORE:19,TYPE_INTERNAL:13,TYPE_IRDB:8,TYPE_LETTERMAN:14,TYPE_MERCH:9,TYPE_NONE:0,TYPE_PLAYLIST:7,TYPE_RESPONSE:12,TYPE_RESULTS:11,TYPE_SLAP:21,TYPE_SUBMIT_USER_INFO:25,TYPE_SUBSCRIPTION:6,TYPE_VIDEO:3,
TYPE_VOTE:18}},ad_card:{attribution_position:{POSITION_BOTTOM_LEFT:0,POSITION_BOTTOM_RIGHT:3,POSITION_TOP_LEFT:1,POSITION_TOP_RIGHT:2}},card:{prominence:{PROMINENCE_FEATURE:2,PROMINENCE_HIGHLIGHT:1,PROMINENCE_NONE:0},type:{TYPE_APP:2,TYPE_CALL:8,TYPE_FORMFILL:7,TYPE_LOCATION:5,TYPE_NONE:0,TYPE_PRODUCT:1,TYPE_STORE_VISITS:6,TYPE_VOTE:3,TYPE_WEBSITE:4}},event:{type:{TYPE_ACTION:6,TYPE_ACTION_ENDCAP:9,TYPE_COLLAPSE:3,TYPE_COLLAPSE_ENDCAP:10,TYPE_DISMISS:4,TYPE_DISMISS_ENDCAP:11,TYPE_ERROR:13,TYPE_EXPAND:2,
TYPE_HEADLINE_CLICK:5,TYPE_IMPRESSION:1,TYPE_IMPRESSION_ENDCAP:8,TYPE_IMPRESSION_GALLERY:7,TYPE_NONE:0,TYPE_TERMINATING_ACTION:12}},open_hours:{day_of_week:{DAY_FRIDAY:6,DAY_MONDAY:2,DAY_SATURDAY:7,DAY_SUNDAY:1,DAY_THURSDAY:5,DAY_TUESDAY:3,DAY_UNKNOWN:0,DAY_WEDNESDAY:4}},product_card:{badge_icon_type:{BADGE_ICON_TYPE_FLIGHTS:3,BADGE_ICON_TYPE_HOTELS:2,BADGE_ICON_TYPE_OTHER:4,BADGE_ICON_TYPE_RETAIL:1,BADGE_ICON_TYPE_UNKNOWN:0}}};g.A(Lv,eq);Mv.prototype.parse=function(a){var b=Nr(a);if(g.D(g.E(b)))return null;if(this.g){var c=Ov;if(!q1){var d={};q1={g:d};if(!r1){var e={};r1={g:e};e.type=Cv;if(!s1){var f={};s1={g:f};f.major_version=Kv;f.minor_version=Kv}e.version=lv(s1);e.priority=Kv;e.start_time_ms=iv("j");e.end_time_ms=iv("j");e.action=mv(Gv());e.event=mv(Fv());A1||(f={},A1={g:f},f.headline=Dv,f.description=Dv,f.attribution_icon_url=Dv,f.skippable_seconds=Kv,f.attribution_position=Cv);e.ad_card=lv(A1);if(!u1){f={};u1={g:f};f.headline=
Dv;f.image=lv(Ev());f.description=Dv;f.rating=o1;f.review_text=Dv;if(!v1){var k={};v1={g:k};k.merchant=Dv;k.price=Dv;k.shipping=Dv;k.shipping_tax=Dv;k.condition=Dv;k.unit_price=Dv;k.energy_label=Dv;k.description=Dv;k.rating=o1;k.review_text=Dv;k.action=mv(Gv());k.event=mv(Fv());k.doc_id=Dv;k.catalog_id=Dv}f.offer=mv(v1);f.badge_text=Dv;f.badge_icon_type=Cv}e.product_card=lv(u1);w1||(f={},w1={g:f},f.app_id=Dv,f.app_name=Dv,f.icon=lv(Ev()),f.price=Dv,f.rating_image=Dv,f.review_count=Kv,f.app_store_logo=
lv(Ev()),f.button_text=Dv,f.screenshots=mv(Ev()),f.rating=o1,f.back_button_text=Dv,f.screenshots_text=Dv,f.cover_photo=lv(Ev()));e.app_card=lv(w1);x1||(f={},x1={g:f},f.headline=Dv,f.description=Dv,f.icon=lv(Ev()),f.banner_image=lv(Ev()));e.website_card=lv(x1);y1||(f={},y1={g:f},f.invitation_headline=Dv,f.invitation_description=Dv,f.icon=lv(Ev()),f.invitation_cta=Dv,f.form_headline=Dv,f.advertiser_name=Dv,f.email_key=Dv,f.email_value=Dv);e.formfill_card=lv(y1);z1||(f={},z1={g:f},f.formatted_phone_number=
Dv,f.merchant_name=Dv,f.call_cta_text=Dv,f.headline=Dv,f.icon=lv(Ev()));e.call_card=lv(z1);e.prominence=Cv;B1||(f={},B1={g:f},f.call_to_action_text=Dv);e.social_card=lv(B1);C1||(f={},C1={g:f},f.vote_line_1=Dv,f.vote_line_2=Dv,f.confirm_line_1=Dv,f.confirm_line_2=Dv);e.vote_card=lv(C1);e.sponsored=p1;e.teaser_text=Dv;t1||(f={},t1={g:f},f.hide_in_drawer=p1,f.show_in_endcap=p1,f.show_in_companion=p1,f.show_in_cta=p1,f.override_clickthrough=p1,f.show_in_promotion_shelf=p1);e.placement=lv(t1);D1||(f={},
D1={g:f},f.latitude_e6=Kv,f.longitude_e6=Kv,f.address=Dv,f.image=lv(Ev()),f.headline=Dv);e.location_card=lv(D1);E1||(f={},E1={g:f},f.icon=lv(Ev()),f.location_image=lv(Ev()),f.display_name=Dv,f.latitude_e7=Kv,f.longitude_e7=Kv,G1||(k={},G1={g:k},k.display_address=Dv,k.city_province=Dv),f.address=lv(G1),f.display_phone_number=Dv,F1||(k={},F1={g:k},k.day_of_week=Cv,k.display_day_of_week=Dv,k.display_hours=Dv),f.open_hours=mv(F1),f.closing_time_today=Dv,f.images=mv(Ev()),f.distance_to_user_meters=Kv,
f.average_rating=Kv,f.num_reviews=Kv,f.num_five_star_reviews=Kv,f.num_four_star_reviews=Kv,f.num_three_star_reviews=Kv,f.num_two_star_reviews=Kv,f.num_one_star_reviews=Kv);e.merchant_location=lv(E1)}d.card=mv(r1);d.event=mv(Fv())}a=c(this,a,q1);a=c=new uv(a);d=new Dp;for(e=0;e<tv(a,"card");e++)if(f=new vv(qv(a,"card",e)),Js(f.Ke()))for(k=0;k<tv(f,"event");k++){var l=new rv(qv(f,"event",k)),m=null;switch(l.Vb()){case H1.mG:m="video_card_endcap_action";break;case H1.nG:m="video_card_endcap_collapse";
break;case H1.oG:m="video_card_endcap_dismiss";break;case H1.pG:m="video_card_endcap_impression"}m&&Ip(d,m,Pv(m,Er(l,"base_url")))}a=d}else a=Jga(this,a);return new Lv(b,c,a)};g.A(Qv,eq);Qv.prototype.bh=function(){return this.l};g.A(Rv,eq);Sv.prototype.parse=function(a){if(!a)return null;var b,c;(0,g.C)(g.Id(a),function(a){switch(a.nodeName){case "FeEventId":b=Tr(a);break;case "AdEventId":c=Tr(a)}},this);
return new Rv(b,c)};Tv.prototype.B=function(a){var b={};(0,g.C)(this.l,function(a){b[a]=[]});
var c=new RegExp("^"+this.o);(0,g.C)(g.Id(a),function(a){"config"!=a.nodeName||(0,g.C)(g.Id(a),function(a){"params"!=a.nodeName||(0,g.C)(g.Id(a),function(a){var d=this.o?a.nodeName.replace(c,""):a.nodeName,e=a.getAttribute("data");null!=e||(e=Tr(a));null!=a.getAttribute("learn_more")&&(e+="|");g.Oa(this.l,d)?b[d].push(e):b[d]=e},this)},this)},this);
return b};g.A(Vv,Tv);Vv.prototype.parse=function(a){if(null==a)return null;a=Uv(this,a);var b=a.UI;return new pt(b.gone,b.question,b.undo,b.hover_text,a.SurveyOptions||[],a.CustomTracking)};
Vv.prototype.A=function(a){var b=[],c=0;(0,g.C)(g.Id(a),function(a){if("SurveyOption"==a.nodeName){var d,f;(0,g.C)(g.Id(a),function(a){switch(a.nodeName){case "DisplayName":d=Tr(a);break;case "URL":f=Tr(a)}},this);
null!=d&&null!=f&&(b.push({label:d,url:f}),c++)}},this);
return b};g.A(Wv,eq);Xv.prototype.parse=function(a){if(null==a)return null;var b=new Wv;(0,g.C)(g.Id(a),function(a){if("DealId"!=a.nodeName)return null;a=Tr(a);a=g.E(a);g.D(a)||(b.l=a)},this);
return b};g.A(Yv,eq);Zv.prototype.g={eG:"Siub",dG:"Scs",tE:"Bgub",sE:"Bgp"};Zv.prototype.parse=function(a){if(null==a)return null;var b,c,d,e;(0,g.C)(g.Id(a),function(a){switch(a.nodeName){case this.g.eG:b=Tr(a);break;case this.g.dG:c=Tr(a);break;case this.g.tE:d=Tr(a);break;case this.g.sE:e=Tr(a)}},this);
return b&&c&&d&&e?new Yv(b,c,d,e):null};g.A($v,eq);aw.prototype.parse=function(a){if(null==a)return null;var b;(0,g.C)(g.Id(a),function(a){switch(a.nodeName){case "CustomTracking":null!=g.Id(a)&&(b=$r(a))}},this);
return new $v(b)};g.A(bw,eq);cw.prototype.g={kG:"TEMPLATE_PARAMETERS",lG:"TEMPLATE_URL"};cw.prototype.parse=function(a){if(null==a)return null;var b;(0,g.C)(g.Id(a),function(a){switch(a.nodeName){case this.g.kG:b=Kga(this,a)}},this);
return new bw(b)};g.A(dw,eq);dw.prototype.getImageUrl=function(){return this.A};ew.prototype.g={rF:"Line1",sF:"Line2",tF:"Line3",qF:"ImageUrl"};ew.prototype.parse=function(a){if(null==a)return null;var b,c,d,e,f=0,k=0;(0,g.C)(g.Id(a),function(a){switch(a.nodeName){case this.g.rF:b=Tr(a,!0);break;case this.g.sF:c=Tr(a,!0);break;case this.g.tF:d=Tr(a,!0);break;case this.g.qF:e=Tr(a);var l=Number(a.getAttribute("width"));f=(0,window.isNaN)(l)?0:l;a=Number(a.getAttribute("height"));k=(0,window.isNaN)(a)?0:a}},this);
return new dw(b,c,d,e,f,k)};g.A(fw,eq);gw.prototype.parse=function(a){if(null==a)return null;var b;(0,g.C)(g.Id(a),function(a){switch(a.nodeName){case "ViralExtensionData":a=a.getAttribute("query_id"),g.D(g.E(a))||(b=a)}},this);
return new fw(b)};g.A(hw,Tv);var Cra=["menu","got_it"],Dra=[["generic_message_left","generic_message_hypertext","generic_message_right"]];hw.prototype.parse=function(a){if(null==a)return null;a=Uv(this,a);var b=a.UI;if(!iw(b,Cra))return null;var c,d=!0,e=!1;(0,g.C)(Dra,function(a){Lga(b,a)&&(iw(b,a)?e=!0:d=!1)});
if(!d||!e)return null;null!=b.generic_message_left&&(c=[b.generic_message_left,b.generic_message_hypertext,b.generic_message_right]);return new rt(b.menu,b.got_it,b.targeting_reason_header,b.targeting_reason,a.CustomTracking,c,b.control,b.learn_more)};jw.prototype.parse=function(a){if(null==a)return null;a=a.getAttribute("sequence");a=null!=a?Db(a):window.NaN;a=(0,window.isNaN)(a)?-1:a;return new ds(a)};g.A(kw,eq);lw.prototype.parse=function(a){return null!=a?new kw:null};mw.prototype.parse=function(a){if(null==a)return null;a=a.getAttribute("fallback_index");a=null!=a?Db(a):window.NaN;return new Uq(a)};g.A(nw,Ou);
nw.prototype.g={jE:"Ad",Jp:"AdParameters",nE:"AdSystem",oE:"AdTitle",kE:"Advertiser",qE:"AltText",xE:"ClickThrough",yE:"ClickTracking",zE:"Companion",AE:"CompanionAds",BE:"CompanionClickThrough",CE:"CompanionClickTracking",JE:"Creative",EW:"CreativeExtensions",KE:"Creatives",NE:"CustomClick",RE:"Description",Mp:"Duration",ERROR:"Error",EXTENSION:"Extension",aF:"Extensions",Wl:"HTMLResource",fF:"Icon",gF:"Icons",hF:"IconClicks",iF:"IconClickThrough",jF:"IconClickTracking",kF:"IconViewTracking",Yl:"IFrameResource",
Zl:"Impression",fY:"InLine",LINEAR:"Linear",xF:"MediaFile",yF:"MediaFiles",GF:"NonLinear",HF:"NonLinearAds",IF:"NonLinearClickThrough",JF:"NonLinearClickTracking",QF:"Pricing",km:"StaticResource",jG:"Survey",P0:"Tracking",Qp:"TrackingEvents",sG:"UniversalAdId",w1:"VAST",uG:"VASTAdTagURI",vG:"VideoClicks",yG:"Wrapper"};
nw.prototype.l={lE:"adId",mE:"adSlotID",pE:"allowMultipleAds",Ul:"apiFramework",Uu:"bitrate",LE:"creativeType",QE:"delivery",Mp:"duration",uX:"event",eF:"followAdditionalWrappers",YE:"expandedHeight",ZE:"expandedWidth",Vl:"height",Xl:"id",lF:"idRegistry",mF:"idValue",uF:"maintainAspectRatio",wF:"maxBitrate",BF:"minBitrate",CF:"minSuggestedDuration",KF:"offset",RF:"program",UF:"required",XF:"scalable",gv:"sequence",bG:"skipoffset",Av:"type",VERSION:"version",wG:"codec",sm:"width",zG:"xPosition",BG:"yPosition"};
nw.prototype.o=function(){return new Pu(this.A,Nga(this),null)};g.A(xw,tu);g.h=xw.prototype;g.h.U=function(){this.D=!1;null===this.g?this.N&&this.dispatchEvent(new Sm("destroyInsecureFlashVpaid",this.la())):this.g.dispose();this.o&&this.ga("contentResumeRequested");this.ga("allAdsCompleted");xw.Z.U.call(this)};
g.h.Mc=function(){var a=this.ad("getAdRemainingTime");return g.ua(a)?a:-1};
g.h.getVolume=function(){var a=this.ad("getAdVolume");return g.ua(a)?a:-1};
g.h.Qc=function(a,b,c){xw.Z.Qc.call(this,a,b,c);this.o=this.la().g instanceof Rp};
g.h.init=function(a){xw.Z.init.call(this,a);a=this.la();var b=Xs(a);b=g.E(b);if(g.D(b))Bw(this,Error("Flash VPAID ad url is empty."));else{if(xu(a)){var c=a.g,d=Up(c);null!=d&&(c.B=d)}this.Wa().R(po(),g1,this.Lj);this.N?this.dispatchEvent(new Sm("initInsecureFlashVpaid",a,{url:g.E(b)})):null===this.Fa.If()?Bw(this,Error("Container must be provided for flash VPAID.")):(this.Fa.wd(),null===this.g&&(this.g=new Nu(this.Fa.If())),this.Wa().R(this.g,"loadError",this.kP),this.Wa().R(this.g,"vpaidEventType",
this.ag),this.g.load(b,this.K,this.C,this.Ma.pf))}};
g.h.start=function(){if(this.D){xw.Z.start.call(this);var a=this.la();this.Rb.A=a.K;var b=Aq(a);this.Rb.g=b;if(b=a.g)this.Hg(a),this.gg(b,f1),this.Oj(b),Bu(this,a);this.Fa.wd();Du(this);this.Aa("show_ad");this.setVolume(this.A);this.l=new g.mg(250);this.Wa().R(this.l,"tick",this.TI);this.o?this.ga("contentPauseRequested"):(this.ga("contentResumeRequested"),zw(this));this.l.start();this.ad("startAd")}else this.H=!0};
g.h.stop=function(){this.I||(this.ad("stopAd"),this.Fa.hide(),null!=this.l&&(this.l.stop(),this.l=null),xw.Z.stop.call(this),this.I=!0)};
g.h.zb=function(a,b,c){xw.Z.zb.call(this,a,b,c);if(null!==this.g){var d=this.g;d.g&&d.g.setSize(a,b)}this.K=a;this.C=b;this.ad("resizeAd",a,b,c)};
g.h.pause=function(){null!=this.l&&this.l.stop();this.ad("pauseAd")};
g.h.resume=function(){null!=this.l&&this.l.start();this.ad("resumeAd")};
g.h.setVolume=function(a){this.A=a;this.M.getAdVolume=a;this.ad("setAdVolume",a)};
g.h.expand=function(){this.ad("expandAd")};
g.h.collapse=function(){this.ad("collapseAd")};
g.h.Kj=g.y;g.h.Wb=function(){return yw(this)};
g.h.skip=function(){this.ad("skipAd")};
g.h.getDuration=function(){var a=this.ad("getAdDuration");if(g.ua(a))return a;a=this.Mc();return 0<=a?this.B/1E3+a:-2};
g.h.TI=function(){this.B+=250;var a=this.getDuration(),b=a-this.Mc();Eu(this,b,a)};
g.h.ad=function(a){if(this.I)return null;for(var b=[],c=0;c<arguments.length;c++)b.push(arguments[c]);return this.N?(c=b.shift(),this.dispatchEvent(new Sm("callFlashVpaidMethod",this.tb()?this.la():null,{methodName:c,args:b})),this.M[c]):null===this.g?null:this.g.NI.apply(this.g,b)};
g.h.kP=function(){Bw(this,Error("Flash VPAID loader failed to load."))};
g.h.getCurrentTime=function(){return this.B/1E3};
g.h.ag=function(a){var b=a.data;switch(a.g){case "flashVpaidMethodResults":b&&(this.M[b.methodName]=b.result);break;case "flashReady":this.ad("handshakeVersion","2.0");b=rs(this.la());this.ad("initAd",this.K,this.C,this.Yc,this.Ma.bitrate,b);break;case "AdLoaded":this.D=!0;b=this.ad("getAdCompanions");a=g.u(b)?b:"";b=this.la();g.Pa(qs(b))&&(a=qw(a,b.g.g),g.Pa(a)||es(b,a));yu(this,"loaded");this.H&&(this.H=!1,this.start());break;case "AdStarted":this.Aa("impression");this.Aa("creativeview");this.ga("start");
break;case "AdVideoStart":this.Aa("start");break;case "AdClickThru":b&&b.playerHandles&&((b=b.url)||(b=g.E(us(this.la()))),b&&on(b));this.Aa("click");this.ga("click");break;case "AdDurationChange":this.ga("durationChange");break;case "AdRemainingTimeChange":this.ga("durationChange");zw(this);break;case "AdError":a="AdError";b&&(a=b.message);Bw(this,Error(a));break;case "AdExpandedChange":this.ga("expandedChanged");break;case "AdImpression":b=this.la();g.Pa(qs(b))||this.Ad(b);this.ga("impression");
break;case "AdLinearChange":b=yw(this);!this.o&&b?(this.ga("contentPauseRequested"),g.og(this.F)):this.o&&!b&&(this.ga("contentResumeRequested"),zw(this));this.o=b;a=this.Oc;a.oa=!0;a.ra=b;this.ga("linearChanged");break;case "AdVolumeChange":b=this.getVolume();b!=this.A&&(this.ga("volumeChange"),0==b&&0!=this.A?(this.Aa("mute"),this.ga("mute")):0==this.A&&0!=b&&this.Aa("unmute"),this.A=b);break;case "AdPaused":yu(this,"pause");break;case "AdUserClose":yu(this,"userClose");break;case "AdUserMinimize":this.Aa("collapse");
break;case "AdVideoFirstQuartile":yu(this,"firstquartile");break;case "AdVideoMidpoint":yu(this,"midpoint");break;case "AdVideoThirdQuartile":yu(this,"thirdquartile");break;case "AdVideoComplete":Cw(this);break;case "AdUserAcceptInvitation":this.o?this.Aa("acceptinvitationlinear"):this.Aa("acceptinvitation");break;case "AdStopped":Cw(this);this.Aa("stop");this.stop();break;case "AdSkipped":yu(this,"skip");break;case "AdSkippableStateChange":yu(this,"skippableStateChanged");break;case "AdPlaying":yu(this,
"resume");break;case "AdLog":this.ga("log")}};g.A(Dw,tu);var Era=yc(rc(g.sc("https://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf")));yc(rc(g.sc("http://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf")));g.h=Dw.prototype;g.h.U=function(){this.D=!1;this.g&&(this.g.dispose(),this.B=null);g.og(this.F);this.o&&this.ga("contentResumeRequested");this.ga("allAdsCompleted");Dw.Z.U.call(this)};
g.h.Mc=function(){var a=this.hd("getAdRemainingTime");return g.ua(a)?a:-1};
g.h.getVolume=function(){var a=this.hd("getAdVolume");return g.ua(a)?a:-1};
g.h.Qc=function(a,b,c){Dw.Z.Qc.call(this,a,b,c);this.o=this.la().g instanceof Rp};
g.h.init=function(a){Dw.Z.init.call(this,a);window[this.V]=(0,g.z)(this.VI,this);this.Wa().R(po(),g1,this.Lj);this.g=new Lu(Era);this.g.setSize(this.M,this.H);this.g.Em="always";var b=this.la();a=Xs(b);a=g.E(a);if(g.D(a))Gw(this,Aw,Error("Flash VPAID ad url is empty.")),this.stop();else{if(xu(b)){b=b.g;var c=Up(b);null!=c&&(b.B=c)}this.g.l.set("vpaid",a);this.g.Fp="transparent";this.g.l.set("vpaidEventHandler",this.V);this.Fa.wd();Ju(this.g,this.Fa.If());this.B=Mu(this.g);this.F=g.ng(this.XI,this.Ma.pf,
this)}};
g.h.start=function(){if(this.D){Dw.Z.start.call(this);var a=this.la();this.Rb.A=a.K;var b=Aq(a);this.Rb.g=b;if(b=a.g)this.Hg(a),this.gg(b,f1),this.Oj(b),Bu(this,a);this.Fa.wd();Du(this);this.Aa("show_ad");this.setVolume(this.A);this.l=new g.mg(250);this.Wa().R(this.l,"tick",this.WI);this.o?this.ga("contentPauseRequested"):(this.ga("contentResumeRequested"),Fw(this));this.l.start();this.hd("startAd")}else this.K=!0};
g.h.stop=function(){this.W||(this.W=!0,this.hd("stopAd"),this.Fa.hide(),null!=this.l&&(this.l.stop(),this.l=null),Dw.Z.stop.call(this))};
g.h.zb=function(a,b,c){Dw.Z.zb.call(this,a,b,c);this.M=a;this.H=b;null!=this.g&&this.g.setSize(a,b);this.hd("resizeAd",a,b,c)};
g.h.pause=function(){null!=this.l&&this.l.stop();this.hd("pauseAd")};
g.h.resume=function(){null!=this.l&&this.l.start();this.hd("resumeAd")};
g.h.setVolume=function(a){this.A=a;this.hd("setAdVolume",a)};
g.h.expand=function(){this.hd("expandAd")};
g.h.collapse=function(){this.hd("collapseAd")};
g.h.Kj=function(){};
g.h.Wb=function(){return Ew(this)};
g.h.skip=function(){this.hd("skipAd")};
g.h.getDuration=function(){var a=this.hd("getAdDuration");if(g.ua(a))return a;a=this.Mc();return 0<=a?this.C/1E3+a:-2};
g.h.WI=function(){this.C+=250;var a=this.getDuration(),b=a-this.Mc();Eu(this,b,a)};
g.h.hd=function(a){if(!this.g||!this.B)return null;for(var b=[],c=0;c<arguments.length;c++)b.push(arguments[c]);c=b.shift();var d=!1;this.D&&(d=!0);if("handshakeVersion"==c||"initAd"==c)d=!0;if(d)try{if(null!=this.B[c])return this.B[c].apply(this.B,b)}catch(e){}return null};
g.h.XI=function(){Gw(this,k1,null,(this.Ma.pf/1E3).toString());this.stop()};
g.h.getCurrentTime=function(){return this.C/1E3};
g.h.VI=function(a,b){switch(a){case "flashReady":this.hd("handshakeVersion","2.0");var c=rs(this.la());this.B.initAd(this.M,this.H,this.Yc,this.Ma.bitrate,c);break;case "AdLoaded":g.og(this.F);this.D=!0;c=this.hd("getAdCompanions");var d=g.u(c)?c:"";c=this.la();g.Pa(qs(c))&&(d=qw(d,c.g.g),g.Pa(d)||es(c,d));yu(this,"loaded");this.K&&(this.K=!1,this.start());break;case "AdStarted":this.Aa("impression");this.Aa("creativeview");this.ga("start");break;case "AdVideoStart":this.Aa("start");break;case "AdClickThru":b&&
b.playerHandles&&((c=b.url)||(c=g.E(us(this.la()))),null!=c&&on(c));this.Aa("click");this.ga("click");break;case "AdDurationChange":this.ga("durationChange");break;case "AdRemainingTimeChange":this.ga("durationChange");Fw(this);break;case "AdError":c="AdError";b&&(c=b.message);Gw(this,Aw,Error(c));this.stop();break;case "AdExpandedChange":this.ga("expandedChanged");break;case "AdImpression":c=this.la();g.Pa(qs(c))||this.Ad(c);this.ga("impression");break;case "AdLinearChange":c=Ew(this);!this.o&&c?
(this.ga("contentPauseRequested"),g.og(this.I)):this.o&&!c&&(this.ga("contentResumeRequested"),Fw(this));this.o=c;d=this.Oc;d.oa=!0;d.ra=c;this.ga("linearChanged");break;case "AdVolumeChange":c=this.getVolume();c!=this.A&&(c!=this.A&&this.ga("volumeChange"),0==c&&0!=this.A?(this.Aa("mute"),this.ga("mute")):0==this.A&&0!=c&&this.Aa("unmute"),this.A=c);break;case "AdPaused":yu(this,"pause");break;case "AdUserClose":yu(this,"userClose");break;case "AdUserMinimize":this.Aa("collapse");break;case "AdVideoFirstQuartile":yu(this,
"firstquartile");break;case "AdVideoMidpoint":yu(this,"midpoint");break;case "AdVideoThirdQuartile":yu(this,"thirdquartile");break;case "AdVideoComplete":Hw(this);break;case "AdUserAcceptInvitation":this.o?this.Aa("acceptinvitationlinear"):this.Aa("acceptinvitation");break;case "AdStopped":Hw(this);this.Aa("stop");this.stop();break;case "AdSkipped":yu(this,"skip");break;case "AdSkippableStateChange":yu(this,"skippableStateChanged");break;case "AdPlaying":yu(this,"resume");break;case "AdLog":this.ga("log")}};g.A(Iw,Sm);Mw.prototype.g=null;var I1;g.A(Pw,Mw);I1=new Pw;g.A(g.Rw,g.xf);g.Rw.prototype.Za=null;var Yga=/^https?$/i,Fra=["POST","PUT"];g.h=g.Rw.prototype;
g.h.send=function(a,b,c,d){if(this.g)throw Error("[goog.net.XhrIo] Object is active with another request="+this.I+"; newUri="+a);b=b?b.toUpperCase():"GET";this.I=a;this.C="";this.l=0;this.X=b;this.V=!1;this.o=!0;this.g=this.N?Qw(this.N):Qw(I1);this.M=this.N?Ow(this.N):Ow(I1);this.g.onreadystatechange=(0,g.z)(this.Ex,this);try{Lm(Yw(this,"Opening Xhr")),this.W=!0,this.g.open(b,String(a),!0),this.W=!1}catch(f){Lm(Yw(this,"Error opening Xhr: "+f.message));Vw(this,f);return}a=c||"";var e=this.headers.clone();
d&&Mda(d,function(a,b){e.set(b,a)});
d=g.Ka(e.Ab(),Xga);c=g.w.FormData&&a instanceof g.w.FormData;!g.Oa(Fra,b)||d||c||e.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");e.forEach(function(a,b){this.g.setRequestHeader(b,a)},this);
this.Y&&(this.g.responseType=this.Y);"withCredentials"in this.g&&this.g.withCredentials!==this.F&&(this.g.withCredentials=this.F);try{$w(this),0<this.B&&(this.K=Wga(this.g),Lm(Yw(this,"Will abort after "+this.B+"ms if incomplete, xhr2 "+this.K)),this.K?(this.g.timeout=this.B,this.g.ontimeout=(0,g.z)(this.Fx,this)):this.D=g.ng(this.Fx,this.B,this)),Lm(Yw(this,"Sending request")),this.H=!0,this.g.send(a),this.H=!1}catch(f){Lm(Yw(this,"Send error: "+f.message)),Vw(this,f)}};
g.h.Fx=function(){"undefined"!=typeof Ww&&this.g&&(this.C="Timed out after "+this.B+"ms, aborting",this.l=8,Yw(this,this.C),this.dispatchEvent("timeout"),this.abort(8))};
g.h.abort=function(a){this.g&&this.o&&(Yw(this,"Aborting"),this.o=!1,this.A=!0,this.g.abort(),this.A=!1,this.l=a||7,this.dispatchEvent("complete"),this.dispatchEvent("abort"),Uw(this))};
g.h.U=function(){this.g&&(this.o&&(this.o=!1,this.A=!0,this.g.abort(),this.A=!1),Uw(this,!0));g.Rw.Z.U.call(this)};
g.h.Ex=function(){this.ha()||(this.W||this.H||this.A?Zw(this):this.SQ())};
g.h.SQ=function(){Zw(this)};
g.h.isActive=function(){return!!this.g};
g.h.getStatus=function(){try{return 2<g.Xw(this)?this.g.status:-1}catch(a){return-1}};g.p(fx,Yi);
fx.prototype.M=function(){if(this.l&&this.X){try{if(this.A){var a=this.o;this.H++;var b=new Ni(void 0,"~");Si(b,this.I);Si(b,a);this.g.google_timing_params&&Si(b,this.g.google_timing_params);var c=b.Qa(this.ca,this.W,""+this.ba+this.da+"&","");a=!1;try{a=this.Y&&this.g.navigator&&this.g.navigator.sendBeacon(c,null)}catch(d){this.Y=!1}a||Xh(this.g,c);ex(this);this.H===this.V&&this.D()}}catch(d){(new gj).g(358,d)}this.o={};this.A=0;this.events.length=0;this.g.clearTimeout(this.F);this.F=0}};
fx.prototype.K=function(a){this.l&&this.H<this.V&&(Yi.prototype.K.call(this,a),dx(this,a))};
fx.prototype.D=function(){Yi.prototype.D.call(this);this.g.clearTimeout(this.F);this.A=this.F=0;this.o={};Vh(this.g,"unload",this.C);Vh(this.g,"load",this.N)};ix.prototype.isLoggingEnabled=function(){return!!this.wa};
g.wa(ix);lx.prototype.isListed=!0;lx.prototype.Ii=-1;g.A(nx,g.xf);g.h=nx.prototype;g.h.start=function(){this.vr();this.o=0;ox(this);this.l=!0;this.B.start()};
g.h.play=function(){this.l||(ox(this),this.l=!0,this.B.start())};
g.h.pause=function(){this.l&&ox(this)};
g.h.stop=function(){this.l&&ox(this);this.dispatchEvent("end")};
g.h.vr=function(){};
g.h.GQ=function(){this.o+=.2;this.ur(this.o,this.M);this.dispatchEvent("timeUpdate");0>=this.M-this.o&&this.stop()};
g.h.ur=g.y;g.h.U=function(){this.l=!1;this.I.dispose();nx.Z.U.call(this)};g.A(qx,nx);g.h=qx.prototype;g.h.start=function(){this.vr();this.A.update(0,this.H);Ct(this.g,this.F.o).play();this.I.R(this.A,"skip",this.FG);qx.Z.start.call(this)};
g.h.vr=function(){var a=g.Ch(this.g);if(1==this.D){var b=400>=(0,window.parseInt)(nh(this.g,"width"),10)||400>=a.width;g.T(this.g,"videoAdUi-mobile",b)}else if(2==this.D){var c=g.Kd(this.g),d=g.Ch(c),e=65>=(a.height-d.height)/2;g.T(this.g,"fullslotAdUi-mobile",e);b=165>=(a.width-d.width)/2;g.T(this.g,"videoAdUi-mobile",b&&e);c.style.top=Math.max(5,Math.floor((a.height-d.height-65)/2))+"px"}};
g.h.FG=function(){this.pause();this.dispatchEvent("skip")};
g.h.ur=function(a,b){this.A.update(a,b);if(this.C){var c=mx({Ng:px(b-a)});g.Od(this.C,c)}};
g.h.U=function(){this.A&&this.A.dispose();g.Dd(this.g);qx.Z.U.call(this)};g.A(tx,nx);var sx=Math.ceil(10*3.14);tx.prototype.D=function(a){P.g()||a.stopPropagation();this.dispatchEvent("click")};
tx.prototype.start=function(){tx.Z.start.call(this);null==this.g?this.stop():this.H&&(this.N&&780<=g.Ch(this.V).width&&this.H.ey(!0),this.H.yr())};
tx.prototype.ur=function(a,b){var c=a/b*sx+" "+sx;null!=this.g&&g.jh(this.g,"stroke-dasharray",c)};g.A(ux,g.K);ux.prototype.show=function(a,b,c){vx(this);!sL||!a||Ln(10)&&b?c():(a.appendChild(this.l),this.wa=g.ng((0,g.z)(this.g,this,c),2E3))};
ux.prototype.g=function(a){this.wa=0;g.Fd(this.l);a()};
ux.prototype.U=function(){vx(this);ux.Z.U.call(this)};g.A(xx,g.We);g.A(yx,g.xf);zx.prototype.muted=function(a,b){return!this.mute&&a||0!=this.volume&&0==b};
var jha={click:3,videoLearnMoreClicked:3,videoShareClicked:8,videoTitleClicked:14,videoAuthorClicked:15,videoAuthorIconClicked:15};g.h=yx.prototype;g.h.U=function(){this.Vc();yx.Z.U.call(this)};
g.h.Vc=function(){null!=this.l&&this.l.dispose();null!=this.g&&this.g.Vc();null!=this.C&&this.C.dispose();this.C=null;null!=this.H&&this.H.dispose();this.H=null;this.M.clear();this.I=-1;this.D="";this.F=this.N=!1};
g.h.Gb=function(a,b,c,d){this.Vc();this.A.A=a.K;this.g=b;this.o=d||null;this.g.Gb();this.B=new zx(this.g);this.K=c||null;this.l=new g.Dm(this);this.D=a.K;a=P.l?Io():po();this.l.R(a,"externalActivityEvent",this.iP);this.l.R(a,"measurable_impression",this.OP);this.l.R(a,"viewable_impression",this.aS);this.l.R(this.g,"timeUpdate",this.yJ);this.l.R(this.g,"volumeChange",this.zJ);this.l.R(this.g,"pause",this.vJ);this.l.R(this.g,"play",this.wJ);this.l.R(this.g,"end",this.eP);this.l.R(this.g,"beginFullscreen",
this.tJ);this.l.R(this.g,"endFullscreen",this.hP);this.l.R(this.g,"skip",this.my);this.l.R(this.g,"skipShown",this.qB);this.l.R(this.g,"start",this.xJ);this.l.R(this.g,"error",this.sJ);this.l.R(this.g,"mediaLoadTimeout",this.uJ);null!=this.o&&(this.l.R(this.o,"videoIconClicked",(0,g.z)(function(a){this.dispatchEvent(a)},this)),this.l.R(this.o,"urlNavigationRequested",(0,g.z)(function(a){this.dispatchEvent(a)},this)),this.l.R(this.o,"yt-show-toast",(0,g.z)(function(a){this.dispatchEvent(a)},this)),
this.l.R(this.o,"feedbackShown",(0,g.z)(function(){Ax(this,"feedbackShown",!0,!0)},this)),this.l.R(this.o,"feedbackLike",(0,g.z)(function(){Ax(this,"feedbackLike",!0,!0)},this)),this.l.R(this.o,"feedbackDislike",(0,g.z)(function(){Ax(this,"feedbackDislike",!0,!0)},this)),this.l.R(this.o,"videoShareShown",this.ZR),this.l.R(this.o,"skipshown",this.qB),this.l.R(this.o,"skip",this.my),this.l.R(this.o,"PUBLISHER_INVOKED_SKIP",this.QQ),this.l.R(this.o,"MUTE_AD videoAuthorIconClicked videoAuthorClicked videoClicked videoLearnMoreClicked videoMuteClicked videoTitleClicked videoShareClicked videoUnmuteClicked why_this_ad_url why_this_ad_got_it why_this_ad_settings_url why_this_ad_learn_more mute_interaction_url mute_url mute_undo_url".split(" "),
this.yH))};
g.h.OP=function(a){var b=a.g;this.A.F.measurable_impression=null!=b?b.viewabilityString:null;a.g.queryId==this.D&&Ax(this,"measurable_impression",!0,!1)};
g.h.aS=function(a){a=a.g;a.queryId==this.D&&(this.A.F.viewable_impression=null!=a?a.viewabilityString:null,Ax(this,"viewable_impression",!0,!0))};
g.h.iP=function(a){a=a.g;var b=h1[a.eventName];b&&a.queryId==this.D&&(this.A.F[b]=null!=a?a.viewabilityString:null,Ax(this,b,!0,!0))};
g.h.yJ=function(){if(this.F){var a=this.g.getDuration();if(-1!=a){this.g.vk(.25*a)&&Ax(this,"firstquartile",!0,!0);this.g.vk(.5*a)&&Ax(this,"midpoint",!0,!0);this.g.vk(.75*a)&&Ax(this,"thirdquartile",!0,!0);var b=this.A,c=this.g.getCurrentTime();if(!jm(b.l,"skip")){0>b.B&&(Jea(b.o,a),b.B=0);a=Gp(b.o,"progress");for(var d=[],e=b.B;e<a.length;e++){var f=a[e];if(Kp(f.g)>c)break;b.B=e+1;d.push(f.Qa())}0<d.length&&pu(b,new g.We("progress"),d)}}Bx(this)}};
g.h.xJ=function(){this.F=!0;Ax(this,"impression",!0,!0);Ax(this,"creativeview",!0,!0);null!=this.K||null!=this.o||this.l.R(this.g,"click",this.Kr);null!=this.K&&(this.C=new dt,this.l.R(this.C,"click",this.Kr,!1),this.C.Gb(this.K));null!=this.o&&(this.H=new dt,this.l.R(this.H,"click",this.Kr,!1),this.H.Gb(this.o));Ax(this,"start",!0,!0);(this.g.isMuted()||0==this.g.getVolume())&&Ax(this,"mute",!1,!1)};
g.h.zJ=function(){var a=this.g.isMuted(),b=this.g.getVolume(),c=this.B;c.mute&&!a||!a&&0==c.volume&&0<b?Ax(this,"unmute",!1,!1):this.B.muted(a,b)&&Ax(this,"mute",!1,!1);this.B.mute=a;this.B.volume=b};
g.h.vJ=function(){this.g.mh()?Cx(this):this.g.ji()&&!this.g.by()&&(this.B.paused=!0,Ax(this,"pause",!1,!1))};
g.h.wJ=function(){this.B.paused&&(this.B.paused=!1,Ax(this,"resume",!1,!1))};
g.h.eP=function(){Cx(this)};
g.h.Kr=function(){Ax(this,"click",!1,!1)};
g.h.sJ=function(){Ax(this,"error",!1,!1)};
g.h.uJ=function(){Ax(this,"mediaLoadTimeout",!1,!1)};
g.h.qB=function(){Ax(this,"skipshown",!0,!1)};
g.h.yH=function(a){Ax(this,a.type,!1,!1)};
g.h.ZR=function(){Ax(this,"videoShareShown",!0,!1)};
g.h.my=function(){Ax(this,"skip",!0,!1)};
g.h.QQ=function(){Ax(this,"skip",!0,!1)};
g.h.tJ=function(){Ax(this,"fullscreen",!1,!1)};
g.h.hP=function(){Ax(this,"exitfullscreen",!1,!1)};g.h=Dx.prototype;g.h.Lc=function(){return this.g.Lc()};
g.h.add=function(a){this.g.set(Ex(a),a)};
g.h.remove=function(a){return this.g.remove(Ex(a))};
g.h.clear=function(){this.g.clear()};
g.h.isEmpty=function(){return this.g.isEmpty()};
g.h.contains=function(a){return jm(this.g,Ex(a))};
g.h.sb=function(){return this.g.sb()};
g.h.clone=function(){return new Dx(this)};
g.h.de=function(){return this.g.de(!1)};g.A(Fx,tu);g.h=Fx.prototype;g.h.U=function(){Jx(this);this.W.dispose();Hx(this);g.C(this.F.sb(),g.og);var a=!1;null!=this.Fa&&(a=this.Fa.sj(),this.Fa.hide(),this.Fa=null);this.D&&(this.D=!1,this.Da.ji()||this.Da.mh()||this.Da.pause(),In()&&!a&&(this.Da.uj(.001),this.Da.load("","")),Hn()&&this.Da.tj()&&!a&&this.Da.xr(),this.ga("contentResumeRequested"),this.ga("allAdsCompleted"));null!=this.Da&&this.Da.unload();Fx.Z.U.call(this)};
g.h.muteAd=function(){P.g()&&(this.Aa("mute_interaction_url"),this.Aa("mute_url"),this.ga("MUTE_AD"),Gx(this,function(){Ix(this)}))};
g.h.whyThisAdClicked=function(){P.g()&&this.Aa("why_this_ad_url")};
g.h.whyThisAdClosed=function(){P.g()&&this.Aa("why_this_ad_got_it")};
g.h.Tj=function(){Hx(this);Fx.Z.Tj.call(this);this.tb()&&(this.Rb=new ou,this.o=new yx(this.Rb),this.N=!1,this.ga("loaded"))};
g.h.Bt=function(a){Fx.Z.Bt.call(this,a);null!=this.Da&&this.Da.bu(1)};
g.h.Ow=function(a,b){b.preventDefault();this.C||(this.C=!0,yu(this,"video_card_endcap_action"));a&&(this.g.pause(),on(a))};
g.h.Pw=function(){Gx(this,function(){Kx(this,"video_card_endcap_dismiss")})};
g.h.pH=function(){Kx(this,"video_card_endcap_collapse")};
g.h.ks=function(a,b,c,d){var e=qq(b);e&&(a.C=e);var f=a.getExtension("AdSense");null!=f&&null!=f.l&&f.l.l&&this.setVolume(0);if(this.Ma.mD){e=a.getExtension("AdSense");(f=this.ba)||(f=null===b?!1:"modules"==(new g.nm(b)).ci().toLowerCase()||sq(b));var k=f||null!=e&&e.F;e=a.isBumper()?null:Us(a);if((P.g()||Zk()?0:En()&&(!this.Yk()||null==this.Fa||!this.Fa.Bq())||Zs(a)||this.Ma.Fu)||!P.g()&&k)this.Ma.Cu=!0,this.Ma.Fu=!0;f=Aq(a,this.Da);if(P.g()||this.Ma.Fu){var l=g.D(g.E(us(a)))?!1:this.Ma.Cu,m=a.g,
n=!1;null!=m&&m instanceof Rp&&(n=0<Kea(m).length);var q=a.isBumper();m=this.Ma;var r=P.g()||!1,v=P.g();this.zj(a);e=At(k,a.C,e,q,m,f);e.A=l;e.da=m.ST;e.fa=r;e.ca=!0;e.Y=v;e.F=m.zu;e.ka=m.Eu;e.na=m.TT;e.C=m.Ux;e.W=0;m.zu&&(e.learnMoreText=""+Ga("Visit Advertiser"));e.ub=n}else ms(a)?(l=a.C,m=a.isBumper(),!g.D(g.E(l))&&null!==e&&0<Kp(e)&&(k=!0),e=At(k,l,e,m,this.Ma,f),e.V=k?vfa:ufa):(l=a.isBumper(),e=At(k,a.C,e,l,this.Ma,f),e.C=!1,e.l=!1,e.o=!1);gn(dn(),420706069)&&(P.C=!0);!P.g()&&P.C&&(e.K=!0);f=
e;k=this.Fa.Kk();null===k?k=window.document.body:g.Dd(k);l=this.la();m=1E3*l.getDuration();r=l.getExtension("why_this_ad");v=l.getExtension("mute");f.H=new tt(r,v);ut(f.H)&&(v=null!=r?r.A:void 0,r="<span class='"+R("videoAdUiAdSettingsShortTooltip")+"'>",v?r+=Q(v):(v=Ga("Click for Ad Settings"),r+=v),r=hp(r+"</span>"),f.ye=r);this.La=new iu(f,k,m,l.hf());k=l.C;null!=k&&Nx(this,k,f.na);f=this.La;f.W&&(f=f.W,k=0==this.B,f.g!=k&&(f.g=k,Gt(f)));this.ba&&(k=a.getExtension("AdSense"),null!=k?(f=this.La,
k=g.E(k.o),null!=f.I&&(g.N(f.I,!0),k=new g.nm(k),k=rb((k.l+k.o).replace(/^www\./i,""),35),g.D(g.E(k))?lu(f):g.Od(f.I,k)),null!=f.ba&&g.N(f.ba,!0)):lu(this.La));f=[];e.l&&f.push("adAttribution");e.o&&f.push("countdown")}else e&&Nx(this,e,this.Ma.Xp);if(d=d?this.Fa.Vn():this.Da)Sx(this)?(d.Gb(),this.Wa().R(d,"error",this.iB),this.Wa().R(d,"loaded",g.y)):this.kp(a),d.cp(pha(this,a)),d.load(b,c)};
g.h.Kv=function(a){var b=this.tb()?this.la().C:null;if(b){var c=this.Gk();nha(this)&&(c="");Lx(this)&&a&&(c=Aha(this,c,a));a=this.Fk();c||a||!Lx(this)||(c=" ");(c||a)&&this.Da.wr(b,c||null,a||null)}};
g.h.vS=function(a,b,c){null!==a.M&&ko(ho.getInstance(),34,{evt:"filled"},!0);this.Y||(this.Y=!0,this.ga("contentPauseRequested"));Ux(this)&&!this.I||Sx(this)||this.ks(a,b,c);this.D=!0;this.setVolume(this.B);this.La&&(g.D(g.E(Qx(a)))?(b=this.La,null!=b.B&&(b.o.Ca(b.B,"click",b.Bp),g.jh(b.B,"cursor","default"))):(b=this.La,null!=b.B&&(b.o.R(b.B,"click",b.Bp),null!=b.D&&!g.Fh(b.D)&&g.jh(b.B,"cursor","pointer"))),b=a.g.oa,g.Pa(b)||ku(this.La,b),this.La.show());Sx(this)&&(b=this.Fa instanceof Qm?this.Fa.g:
this.Fa,this.I&&(b.hide(),b.Wn(),this.Da=b.Tk(wu(this))),this.kp(a),this.Fa instanceof Qm&&b.Nf());this.K=!1;this.Aa("show_ad");this.Fa.Nf();if(!P.o)try{this.Ad(a)}catch(d){Zx(this,i1,d);return}kx("pi");if(b=null!=this.La)b=this.La,b=En()?!1:null!=b.g.I?b.g.D&&b.g.I==ws(a):b.g.D;b?oha(this):this.W.show(this.Fa.Kk(),this.Ma.Bu,(0,g.z)(this.Da.play,this.Da))};
g.h.kp=function(a){this.o.Gb(a,this.Da,this.Fa.Jq(),this.La);this.Wa().R(this.o,"engagedview urlNavigationRequested videoAuthorIconClicked videoAuthorClicked videoClicked videoIconClicked videoLearnMoreClicked videoMuteClicked videoShareClicked videoShareShown videoTitleClicked videoUnmuteClicked start feedbackShown feedbackLike feedbackDislike yt-show-toast".split(" "),this.vB);this.Wa().R(this.Da,"loaded",this.XR);this.Wa().R(this.Da,"cardsStateChange",this.aJ);this.Wa().R(this.Da,"timeUpdate",
this.zB);this.Wa().R(this.Da,"volumeChange",this.dJ);this.Wa().R(this.Da,"shareClicked",this.lC);this.Hg(a);var b=Aq(a,this.Da);this.Rb.g=b;b=a.g;null!=b&&b instanceof Rp&&(this.gg(b,f1),this.Oj(b),b=this.Wa(),Fm(b,this.o,"error",this.bJ,this),Fm(b,this.o,"mediaLoadTimeout",this.cJ,this));Bu(this,a);a.isSkippable()&&(this.o.I=30)};
g.h.Kj=function(){Ux(this)&&Xx(this);this.ga("loaded");this.dispatchEvent(new Iw(this.la()))};
g.h.skip=function(){this.tb()&&this.la().isSkippable()&&(null!=this.La?this.La.skip():(this.Aa("skip"),ey(this)))};
g.h.mC=function(){yu(this,"skipshown")};
g.h.start=function(){Fx.Z.start.call(this);this.M=[];try{var a=this.la();this.l=Tx(this,a);kx("am");Gx(this,(0,g.z)(Fx.prototype.vS,this,a,this.l.Qa(),this.l.g))}catch(b){Vx(this,b),this.Tj(),this.tb()?(zn(this,Wx,b),this.start()):(this.D?zn(this,Wx,b):(null!=this.Md&&this.Md.Ad(NA()),An(this,Wx,b)),this.stop())}};
g.h.getVolume=function(){Au(this);return this.Da.isMuted()?0:this.Da.getVolume()};
g.h.setVolume=function(a){Au(this);this.D?this.Da.setVolume(a):this.B=a};
g.h.pause=function(){Au(this);this.g?this.g.pause():this.Da.pause()};
g.h.resume=function(){Au(this);this.g?this.g.play():this.Da.play()};
g.h.getCurrentTime=function(){Au(this);var a=this.g?this.g.o:0;return this.Da.getCurrentTime()+a};
g.h.getDuration=function(){Au(this);return this.Da.getDuration()};
g.h.Mc=function(){Au(this);var a=this.getDuration(),b=this.getCurrentTime();return 0<=a&&0<=b?Math.max(0,a-b):-1};
g.h.He=function(){return this.Da.He()};
g.h.bJ=function(){Ux(this)&&!this.I&&this.iB();Zx(this,Wx,xn(Wx,this.Da.getError()))};
g.h.iB=function(){this.K=!0};
g.h.cJ=function(){uha(this);Zx(this,k1,xn(k1,null,(this.Ma.pf/1E3).toString()))};
g.h.Tt=function(a,b){Fx.Z.Tt.call(this,a,b);ay(this,a)};
g.h.vB=function(a){switch(a.type){case "start":kx("ff");this.ga("start");P.g()&&P.o&&this.la()&&this.la().F&&this.ga("youtubeKevlarCompanionShow");this.wj();this.H=!0;this.La&&(P.C&&!P.g()&&(this.La.xb=!0),nu(this.La));break;case "impression":this.ga("impression");this.I=!0;Sx(this)&&tha(this);break;case "viewable_impression":this.ga("viewable_impression");break;case "why_this_ad_url":this.ca=this.Da.ji();Yx(this,"why_this_ad_url");this.pause();break;case "pause":this.ga("pause");break;case "why_this_ad_got_it":Yx(this,
"why_this_ad_got_it");this.ca||this.resume();break;case "resume":this.ga("resume");break;case "firstquartile":this.ga("firstquartile");break;case "midpoint":this.ga("midpoint");break;case "thirdquartile":this.ga("thirdquartile");break;case "complete":mha(this)||(this.ga("complete"),this.Aa("instreamAdComplete"),Ix(this));break;case "click":this.La&&this.La.g.A?this.Da.ji()?this.resume():this.pause():$x(this);break;case "engagedview":by(this);this.ga("engagedview");break;case "urlNavigationRequested":this.dispatchEvent(a);
break;case "yt-show-toast":this.dispatchEvent(a);break;case "videoAuthorIconClicked":gy(this);break;case "videoAuthorClicked":gy(this);break;case "videoClicked":this.ga("videoClicked");break;case "videoIconClicked":this.dispatchEvent(a);break;case "videoLearnMoreClicked":this.g&&!this.C&&(this.C=!0,yu(this,"video_card_endcap_action"));!P.g()&&by(this);$x(this);this.Da.pause();break;case "videoShareClicked":wha(this);break;case "videoShareShown":xha(this);break;case "videoTitleClicked":yha(this);break;
case "videoMuteClicked":this.X=this.B;this.setVolume(0);break;case "videoUnmuteClicked":this.setVolume(this.X);break;case "skipshown":this.ga("skippableStateChanged");break;case "skip":this.g?this.Pw():ey(this);break;case "MUTE_AD":this.ga("MUTE_AD");Gx(this,function(){Ix(this)});
break;case "feedbackShown":this.Aa("feedbackShown");break;case "feedbackLike":this.Aa("feedbackLike");break;case "feedbackDislike":this.Aa("feedbackDislike")}};
g.h.wf=function(){Fx.Z.wf.call(this);this.A&&(g.Ue(this.A),this.A=null)};
g.h.lC=function(){var a=cy(this)||dy(this);null!=a&&qn(a,"sharebuttonclicked")};
g.h.Hg=function(a){Fx.Z.Hg.call(this,a);ay(this,"impression")};
g.h.gg=function(a,b){Fx.Z.gg.call(this,a,b);(0,g.C)(b,function(a){ay(this,a)},this)};
g.h.Oj=function(a){Fx.Z.Oj.call(this,a);a instanceof Rp&&(a=Sp(a),(0,g.C)(a.Ab(),function(a){ay(this,a)},this))};
g.h.lj=function(){if(!this.tb())return null;try{var a=this.la();if(null==a)return null;var b=Tx(this,a);return null!=b?b.Qa():null}catch(c){return null}};
g.h.eh=function(){if(!this.tb())return null;var a=this.la();if(!xu(a))throw xn(Rx);a=a.g.dh();return g.Pa(a)?null:a[0].Qa()};
g.h.XR=function(){this.ga("adCanPlay")};
g.h.aJ=function(){var a=this.La;null!=a.l&&g.T(a.l,"ytp-iv-drawer-open",this.Da.ay())};
g.h.zB=function(){var a=this.getDuration();Au(this);var b=this.g?this.getDuration():this.Da.hx();var c=this.getCurrentTime(),d=0,e=0;this.tb()&&(e=this.la(),d=e.B.g,e=e.B.ig);if(null!=this.La&&0<=a&&0<=c){if(!this.V&&3==this.la().Sa){var f=this.Da.getDuration(),k=Os(this.la());f=Math.abs(f-k);2<f&&(f=xn(ura,null,Number(f).toFixed(2)),f=zq(f,this.la(),this.Da),k=os(this.la()),tn(k,f));this.V=!0}this.La.update(c,b,a,d,e)}};
g.h.dJ=function(){var a=this.Da.getVolume();if(a!=this.B&&(this.B=a,this.ga("volumeChange",{volume:a}),0==a&&this.ga("mute"),this.La)){var b=this.La;b.W&&(b=b.W,a=0==a,b.g!=a&&(b.g=a,Gt(b)))}};
g.h.RS=function(a){var b=this.tb()&&bt(this.la());return!a||g.D(g.E(a.channelId))||!a.isListed&&!b?Xf():new g.Sf(function(b,d){$ga(a.channelId,function(a){a=new To(a);b(a)},function(){d()},this)},this)};
g.h.dH=function(a){var b=this.la();if((g.Pa(qs(b))||!qs(b)[0].A)&&P.g()&&Zs(b)){var c=Zfa(b,a);if(c)if(vs(b,[c]),P.o)this.H&&b.F&&this.ga("youtubeKevlarCompanionShow");else try{this.Ad(b)}catch(m){Zx(this,i1,m)}}if(c=this.La){c=this.la();var d=c.N;c=P.g()&&g.Pa(qs(c))&&null!=c.ca&&null!=d&&d.isListed}P.o&&(c=c&&!b.F);if(c){this.Wa().R(window,"message",this.PH);c=this.la();d=c.ca.channelId;var e=Eq(c),f=this.Ma.contentId,k=this.Ma.Xi;k=new g.nm((null!=k?k:"//www.youtube.com/")+"ad_companion");var l=
k.g;l.set("adformat",e);l.set("p",d);l.set("render","video_wall_companion");f&&l.set("content",f);d=new Yp("1",new g.cd(300,250),"IFrame",null,k.toString());d.H=c;d.C=!0;c=new hr(d,[],null,!0);P.o?(P.g()&&P.o&&"IFrame"===c.g.M&&(d=c.g.Td(),b.F={iframeCompanionRenderer:{clickTrackingUrls:ts(b,"companionClick"),height:d.height,impressionTrackingUrls:ts(b,"companionImpression"),url:c.g.l,width:d.width}}),this.H&&b.F&&this.ga("youtubeKevlarCompanionShow")):(Ms(b,c),this.Ad(b))}!Ps(b)&&Zs(b)&&Xfa(b,a);
return a};
g.h.PH=function(a){var b=a.g;if("companion-setup-complete"==b.data){a=this.la();var c=(0,window.encodeURIComponent)(g.E(us(a)))+","+(0,window.encodeURIComponent)((cy(this)||dy(this)).toString());b.source.postMessage(c,"*");b=b.source.frameElement;b.parentNode.style.cssText="";b.width=370;b.height=null!=us(a)?210:185}else"pause-video"==b.data&&this.pause()};
g.h.oT=function(a){if(null!=this.La&&a.isListed){var b=this.La,c=a.title;b.g.M=!g.D(g.E(c));b.g.title=c;null!=b.F&&g.Od(b.F,b.g.title);hu(b);b=this.La;null!=b.Pa?g.Od(b.Pa,""+Ga("Share")):null!=b.M&&g.Od(b.M,""+Ga("Share"));b=this.La;c=a.Ii;null!=c&&(b.g.Ii=c);hu(b)}this.tb()&&(this.la().N=a,this.ga("youTubeVideoMetadata"));return a};
g.h.nT=function(a){if(null!=this.La&&fy(this)){var b=this.La,c=a.authorName;b.g.ra=!g.D(g.E(c));b.g.authorName=c;null!=b.C&&(c=Ga("by {$userDisplayName}",{userDisplayName:""+b.g.authorName}),g.Od(b.C,(new Xo(""+c,void 0)).kd()));hu(b);b=this.La;c=a.channelIconThumbnailUrl;b.g.oa=!g.D(g.E(c));if(null!=b.N){var d=g.zd("img");d.setAttribute("src",c);g.S(d,"videoAdUiAuthorIconImage");b.N.appendChild(d);null!=b.F&&g.S(b.F,"videoAdUiTitleWithAuthorIcon");null!=b.C&&g.S(b.C,"videoAdUiAuthorNameWithAuthorIcon")}hu(b)}this.tb()&&
(this.la().ca=a,this.ga("youTubeChannelMetadata"));return a};
g.h.zb=function(a,b,c){Fx.Z.zb.call(this,a,b,c);null!=this.La&&this.La.zb()};g.A(hy,g.xf);hy.prototype.g=!1;hy.prototype.connect=function(){for(this.g=!0;!g.Pa(this.l);){var a=this.l.shift();this.sendMessage(a.name,a.type,a.data)}};
hy.prototype.isConnected=function(){return this.g};
hy.prototype.send=function(a,b,c){this.g?this.sendMessage(a,b,c):this.l.push({name:a,type:b,data:c})};
g.A(iy,g.We);iy.prototype.getOrigin=function(){return this.l};
iy.prototype.toString=function(){return""};g.A(jy,hy);jy.prototype.sendMessage=function(a,b,c){null!=this.xf&&null!=this.xf.postMessage&&this.xf.postMessage(Bha(this,a,b,c),"*");null!=this.xf&&null==this.xf.postMessage&&ko(ho.getInstance(),11)};
jy.prototype.U=function(){this.A.dispose();jy.Z.U.call(this)};
jy.prototype.receive=function(a){a=a.g;var b=ky(a.data);if(ly(this,b)){if(null==this.xf)this.xf=a.source,this.isConnected()||this.connect();else if(this.xf!=a.source)return;ly(this,b)&&this.dispatchEvent(new iy(b.name,b.type,b.data||{},b.sid,a.origin))}};g.A(my,g.We);g.A(ny,tu);g.h=ny.prototype;
g.h.init=function(a){ny.Z.init.call(this,a);this.V=g.ng(this.eJ,this.Ma.pf,this);this.Wa().R(window,"message",this.cS);this.Wa().R(this.H,"tick",this.zS);a=P.l?Io():po();this.Wa().R(a,g1,this.Lj);if(ry())this.dispatchEvent(new my("createFriendlyIframe",this.B));else{a=Ws(this.la());if(/\.html(\?.*)?$/.test(a)){if(a.match("//s0.2mdn.net/instream/html5/survey/survey.html")){var b="en".replace("-","_");a=a.replace(".html","_"+b+".html");null!=this.Ma.contentId&&(a=Qg(a,"v",this.Ma.contentId));P.g()&&
(b=Og(a,"st"),b=Fha(this,b?b+" yt":"yt"),a=Qg(a,"st",b))}a=g.E(a)}else{b=new g.nm(a);var c=new g.nm("http://tpc.googlesyndication.com/pagead/js/loader13.html");"https"==b.A&&g.om(c,"https");this.W=b.l;a=sm(c,a||"",void 0).toString()}this.o=g.J("IFRAME",{src:mn(a),allowFullscreen:!0,allowtransparency:!0,background:"transparent",style:"border:0; opacity:1; margin:0; overflow:hidden;padding:0; width:100%; height:100%;position: absolute;display:none;"});this.Wa().R(this.o,"load",this.fH);this.Fa.If().appendChild(this.o)}};
g.h.Qc=function(a,b,c){ny.Z.Qc.call(this,a,b,c);this.l=this.la().g instanceof Rp;this.g=a.Tk(!1);ry()||(this.Wa().R(this.g,"click end error loaded mediaLoadTimeout pause play timeUpdate volumeChange".split(" "),this.ZQ),this.Wa().R(this.g,iA,this.EO))};
g.h.stop=function(){this.H.stop();this.Fa.hide();ny.Z.stop.call(this)};
g.h.Wb=function(){return 1==this.l};
g.h.start=function(){ny.Z.start.call(this);if(!P.g()){var a={};a.pid=ix.getInstance().g;a.dn=this.W;a["if"]=ry();ko(ho.getInstance(),29,a,!0)}a=this.la();this.Rb.A=a.K;var b=Aq(a,this.g);this.Rb.g=b;if(b=a.g)this.Hg(a),this.gg(b,f1),this.Oj(b),Bu(this,a);this.g.Gb();this.Aa("show_ad");this.Fa.wd();Du(this);null!=this.o&&(this.o.style.display="block");this.g.setVolume(this.A);this.Y=!0;this.l&&this.ga("contentPauseRequested");uy(this)};
g.h.zb=function(a,b,c){ny.Z.zb.call(this,a,b,c);qy(this,"resizeAd",{width:a,height:b,viewMode:c})};
g.h.pause=function(){this.C||qy(this,"pauseAd")};
g.h.resume=function(){this.C&&(qy(this,"resumeAd"),wy(this,"play"))};
g.h.setVolume=function(a){this.A=a;ny.Z.setVolume.call(this,a);qy(this,"setAdVolume",{value:a})};
g.h.U=function(){ry()&&this.dispatchEvent(new my("destroyFriendlyIframe",this.B));g.Fd(this.o);this.l&&(!this.M||this.g.ji()||this.g.mh()||this.g.pause(),this.ga("contentResumeRequested"));this.ga("allAdsCompleted");this.Sc=!1;this.F=[];g.og(this.V);this.H.dispose();ny.Z.U.call(this)};
g.h.Kj=function(){};
g.h.fH=function(){if(!ry()){var a=this.g.Qq();g.Pa(a)&&(a=this.Ma.mimeTypes);qy(this,"wrapperCall",{messageType:"supportedMimeTypes",supportedMimeTypes:a})}py(this)};
var Eha={use_fast_fade_in_0s:"ffi-0",use_fast_fade_in_1s:"ffi-1",use_new_style:"new",hide_preskip:"nps",use_sound:"snd",hide_progress_bar:"npb",use_survey_skip_in_2s:"skip-2",use_survey_skip_in_3s:"skip-3",use_survey_skip_in_10s:"skip-10",use_survey_skip_in_15s:"skip-15",use_survey_skip_in_20s:"skip-20",use_survey_length_15s:"time-15",use_survey_length_45s:"time-45",use_survey_skip_in_0s:"sec-0",use_survey_length_unlimited:"time-ul",hide_advertisement_text:"nat",use_skip_survey_text:"skip_survey",
show_interstitial_white:"intr-white",show_interstitial_blue:"intr-blue",show_interstitial_for_3s:"intr-time-3",show_interstitial_for_5s:"intr-time-5",show_interstitial_close_icon:"intr-close-icon",set_interstitial_survey_text:"intr-txt-survey",set_interstitial_question_text:"intr-txt-question",set_interstitial_start_button:"intr-start-button",set_interstitial_advertisers_question_text:"intr-txt-advertisers-question",set_interstitial_ads_question_text:"intr-txt-ads-question"};g.h=ny.prototype;
g.h.cS=function(a){a=a.g;if(ry()){if(a=ky(a.data),null!=a){try{var b=JSON.parse(a.data)}catch(c){return}null!=b&&b.session==this.B&&vy(this,b)}}else if(a.source==this.o.contentWindow){try{b=JSON.parse(a.data)}catch(c){return}b.session==this.B&&vy(this,b)}};
g.h.eJ=function(){sy(this,k1,null,(this.Ma.pf/1E3).toString());this.stop()};
g.h.ZQ=function(a){switch(a.type){case "timeUpdate":a=this.g.getDuration();var b=this.g.getCurrentTime();oy(this,"wrapperCall",{messageType:"timeupdate",duration:a,currentTime:b});break;case "end":wy(this,"ended");break;case "loaded":wy(this,"loadstart");break;case "mediaLoadTimeout":wy(this,"stalled");break;case "play":wy(this,"playing");break;default:wy(this,a.type)}};
g.h.EO=function(a){a=a.type;"loadedmetadata"==a?(a=this.g.getDuration(),oy(this,"wrapperCall",{messageType:"loadedmetadata",duration:a})):wy(this,a)};
g.h.getCurrentTime=function(){return-1==this.getDuration()||-1==this.Mc()?-1:this.getDuration()-this.Mc()};
g.h.getDuration=function(){return this.D};
g.h.Mc=function(){return this.I};
g.h.kb=function(){return!this.C};
g.h.zS=function(){qy(this,"getAdRemainingTime")};g.A(yy,tu);g.h=yy.prototype;g.h.Gk=function(){return this.Gc()?this.g.Gk():""};
g.h.Fk=function(){return this.Gc()?this.g.Fk():""};
g.h.df=function(){return this.Gc()?this.g.df():null};
g.h.la=function(){if(this.g)return this.g.df();throw xn(zu,null,"Proxied ads manager not available.\n"+Error().stack);};
g.h.tb=function(){return null!=this.g&&null!=this.g.df()};
g.h.Rk=function(){return!1};
g.h.Je=function(){return null};
g.h.Zo=function(){this.tb()&&(this.ads=[this.la()],this.Oc=this.la())};
g.h.destroy=function(){this.g&&(this.g.destroy(),this.g=null);yy.Z.destroy.call(this)};
g.h.Eb=function(){return this.g?this.g.Eb():null};
g.h.wj=function(){this.D=!0;this.g&&this.g.wj()};
g.h.init=function(a){this.Ac(a);this.Gc()&&this.g.init(a)};
g.h.Qc=function(a,b,c){a&&a instanceof Qm&&(a=a.g);yy.Z.Qc.call(this,a,b,c);Ay(this,a,b,c)};
g.h.U=function(){this.ga("allAdsCompleted");By(this);yy.Z.U.call(this)};
g.h.getCurrentTime=function(){return this.Gc()?this.g.getCurrentTime():-1};
g.h.getDuration=function(){return this.Gc()?this.g.getDuration():-1};
g.h.Mc=function(){return this.Gc()?this.g.Mc():-1};
g.h.zb=function(a,b,c){this.fe=a;this.ee=b;this.Ac(c);this.Gc()&&this.g.zb(a,b,c)};
g.h.pause=function(){this.Gc()&&this.g.pause()};
g.h.resume=function(){this.Gc()&&this.g.resume()};
g.h.skip=function(){this.Gc()&&this.g.skip()};
g.h.muteAd=function(){this.Gc()&&this.g.muteAd()};
g.h.whyThisAdClicked=function(){this.Gc()&&this.g.whyThisAdClicked()};
g.h.whyThisAdClosed=function(){this.Gc()&&this.g.whyThisAdClosed()};
g.h.start=function(){if(this.Gc()){var a=this.g,b=this.Fa;a&&b&&(null!=a&&a instanceof Fx?b.Nf():null!=a&&a instanceof ny?(b.wd(),b.Nf()):null!=a&&(a instanceof Dw||a instanceof xw)&&b.wd());null!=this.volume&&!(0,window.isNaN)(this.volume)&&this.g.setVolume(this.volume);this.g.start()}};
g.h.stop=function(){this.Eb()&&this.Eb().Wb()&&this.ga("contentResumeRequested");this.destroy()};
g.h.getVolume=function(){return this.Gc()?this.g.getVolume():0};
g.h.setVolume=function(a){a=(0,window.isNaN)(a)||0>a?0:a;yy.Z.setVolume.call(this,a);this.Gc()&&this.g.setVolume(a)};
g.h.Ac=function(a){yy.Z.Ac.call(this,a);this.g&&this.g.Ac(a)};
g.h.He=function(){return this.g?this.g.He():null};
g.h.wf=function(){this.g&&this.g.wf()};
g.h.zj=function(a){return this.g?this.g.zj(a):!1};
g.h.Yk=function(){return this.g?this.g.Yk():!1};
g.h.lj=function(){return this.g?this.g.lj():null};
g.h.CA=function(a){this.dispatchEvent(a)};
g.h.LA=function(a){this.dispatchEvent(a)};
g.h.Dt=function(a){this.dispatchEvent(a)};
g.h.Ig=function(a){yy.Z.Ig.call(this,a);this.g&&this.g.Ig(a)};
g.h.Di=function(){this.ga("userClose")};
g.h.Ci=function(){this.ga("autoClose")};
g.h.ag=function(a){this.g&&this.g instanceof xw&&this.g.ag(a)};
g.h.Gc=function(){return null!=this.g&&this.g.Gc()};g.A(Dy,yy);g.h=Dy.prototype;g.h.Eb=function(){return this.o};
g.h.dispatchEvent=function(a){if(a instanceof Sm){if("loaded"==a.type&&this.B)return a.stopPropagation(),!1;"loaded"==a.type&&(this.B=!0)}return Dy.Z.dispatchEvent.call(this,a)};
g.h.Rk=function(){return null!=Gs(this.o)&&Gs(this.o).Lf()};
g.h.CA=function(a){if(this.A)this.dispatchEvent(a);else{var b=a.getError()||xn(Wx);a=a.target.Eb();Fs(a);Fy(this,Gs(a),Error(b.Dd()))}};
g.h.Dt=function(a){this.A&&(Dy.Z.Dt.call(this,a),this.destroy())};
g.h.LA=function(a){this.C||(this.C=!0,this.dispatchEvent(a))};
g.h.QN=function(){this.l&&this.l.dispose();this.A=!0};g.A(Gy,tu);g.h=Gy.prototype;g.h.Gk=function(){return this.g?this.g.Gk():""};
g.h.Fk=function(){return this.g?this.g.Fk():""};
g.h.df=function(){return this.g?this.g.df():null};
g.h.la=function(){if(this.g)return this.g.df();throw xn(zu,null,"Current ads manager not available.\n"+Error().stack);};
g.h.tb=function(){return null!=this.g&&null!=this.g.df()};
g.h.Rk=function(){return this.o+1<this.l.length};
g.h.Je=function(){return this.Rk()?this.l[this.o+1].df():null};
g.h.Zo=function(){this.tb()&&(this.ads=[this.la()],this.Oc=this.la())};
g.h.Wa=function(){};
g.h.destroy=function(){this.g&&this.g.destroy();Gy.Z.destroy.call(this)};
g.h.Eb=function(){return this.g?this.g.Eb():null};
g.h.wj=function(){this.g&&this.g.wj()};
g.h.init=function(a){this.Ac(a);this.g&&this.g.init(a)};
g.h.Qc=function(a,b,c){a&&a instanceof Qm&&(a=a.g);Gy.Z.Qc.call(this,a,b,c);Hy(this,a,b,c)};
g.h.U=function(){(0,g.C)(this.l,function(a){a!==this.g&&a.destroy()},this);
Ky(this);this.C&&(this.C.dispose(),this.C=null);this.A&&(this.A.destroy(),this.A=null);this.ga("allAdsCompleted");Gy.Z.U.call(this)};
g.h.getCurrentTime=function(){return this.g?this.g.getCurrentTime():-1};
g.h.getDuration=function(){return this.g?this.g.getDuration():-1};
g.h.Mc=function(){return this.g?this.g.Mc():-1};
g.h.zb=function(a,b,c){this.fe=a;this.ee=b;this.Ac(c);this.g&&this.g.zb(a,b,c)};
g.h.pause=function(){this.g&&this.g.pause()};
g.h.resume=function(){this.g&&this.g.resume()};
g.h.skip=function(){this.g&&this.g.skip()};
g.h.muteAd=function(){this.g&&this.g.muteAd()};
g.h.whyThisAdClicked=function(){this.g&&this.g.whyThisAdClicked()};
g.h.whyThisAdClosed=function(){this.g&&this.g.whyThisAdClosed()};
g.h.start=function(){if(this.g){var a=this.g,b=this.Fa;a&&b&&(null!=a&&a instanceof Fx?b.Nf():null!=a&&a instanceof ny?(b.wd(),b.Nf()):null!=a&&(a instanceof Dw||a instanceof xw)&&b.wd());null!=this.volume&&!(0,window.isNaN)(this.volume)&&this.g.setVolume(this.volume);this.g.start()}};
g.h.Ye=function(a){Gy.Z.Ye.call(this,a);null!=this.g&&this.g.Ye(a);null!=this.A&&this.A.Ye(a);(0,g.C)(this.l,function(b){b.Ye(a)})};
g.h.stop=function(){this.destroy();this.ga("contentResumeRequested")};
g.h.getVolume=function(){return this.g?this.g.getVolume():0};
g.h.setVolume=function(a){a=(0,window.isNaN)(a)||0>a?0:a;Gy.Z.setVolume.call(this,a);this.g&&this.g.setVolume(a)};
g.h.Ac=function(a){Gy.Z.Ac.call(this,a);this.g&&this.g.Ac(a)};
g.h.He=function(){return this.g?this.g.He():null};
g.h.wf=function(){this.g&&this.g.wf()};
g.h.zj=function(a){return this.g?this.g.zj(a):!1};
g.h.Yk=function(){return this.g?this.g.Yk():!1};
g.h.lj=function(){return this.g?this.g.lj():null};
g.h.PN=function(a){var b=a.getError()||xn(Wx);Jy(this,a.target,b)};
g.h.xh=function(){this.D||(this.ga("contentPauseRequested"),this.D=!0)};
g.h.Zf=function(a){Iy(this,a.target)};
g.h.YI=function(){};
g.h.Ig=function(a){(0,g.C)(this.l,function(b){b.Ig(a)},this)};
g.h.Di=function(){this.ga("userClose")};
g.h.Ci=function(){this.ga("autoClose")};
g.h.ag=function(a){this.g&&this.g instanceof xw&&this.g.ag(a)};g.A(Ly,g.K);g.h=Ly.prototype;g.h.Uk=!1;g.h.sr=1E3;g.h.Ny=30;g.h.Oy=45E3;g.h.QB=15E3;g.h.pD=!1;g.h.rq=function(){var a=My(this);this.g.appendChild(this.H);Ny(this.H);this.play();return a};
g.h.ma=function(){null==this.K&&(this.K=this.rq());return this.K};
g.h.play=function(){null==this.l&&(this.l=g.ng(function(){this.Uk||(this.hide(),this.pD=!0);this.l=null},this.pD?this.QB:this.Oy,this))};
g.h.stop=function(){null!=this.l&&(g.og(this.l),this.l=null)};
g.h.show=function(){g.Eh(this.ma(),1);null!=this.o&&(g.og(this.o),this.o=null)};
g.h.hide=function(){g.Eh(this.ma(),this.Ny/100);null==this.o&&(this.o=g.ng(function(){this.V();this.o=null},400,this))};
g.h.GI=function(){this.show();this.Uk=!0;this.B=g.ng(function(){this.Uk&&this.stop();this.B=null},this.sr,this)};
g.h.JT=function(){null!=this.B&&(g.og(this.B),this.B=null);this.Uk&&this.play();this.Uk=!1};
g.h.U=function(){Ly.Z.U.call(this);this.stop();g.Ue(this.Kf)};g.A(Oy,tu);g.h=Oy.prototype;g.h.start=function(){Oy.Z.start.call(this);this.Fa.wd();this.o=this.Fa.If();if(null!=this.o){this.Aa("show_ad");g.Dd(this.o);var a=this.Vv(),b=this.tb()?this.la().g.Dc():a,c;P.l?c=Io():c=po();c.Xj(b);this.o.appendChild(a);this.Vm();(0,g.C)(this.F,function(a){a()});
Qa(this.F);this.B=!0}};
g.h.init=function(a){Oy.Z.init.call(this,a);var b;P.l?b=Io():b=po();this.Wa().R(b,g1,this.Lj)};
g.h.expand=function(){null!=this.g&&this.g.show();this.Aa("expand")};
g.h.collapse=function(){null!=this.g&&this.g.hide();this.Aa("collapse")};
g.h.zb=function(a,b,c){Oy.Z.zb.call(this,a,b,c);this.Vm();this.B&&this.Aa("overlay_resize")};
g.h.U=function(){g.Ue(this.g);this.Fa=this.g=null;this.B=!1;P.l?Io().Xj(null):po().Xj(null);null!=this.o&&(g.Dd(this.o),this.o=null);Oy.Z.U.call(this)};
g.h.Vv=function(){var a=this.la().g;if(null==a)throw a=xn(eC),Qy(this,a),a;var b=this.la();aq(a,this.Wa());Zp(a,this.ZI);a.C||$p(a,g.Ea(this.jr,b,a));if(P.o&&b.F)this.ga("youtubeKevlarCompanionShow");else try{this.Ad(b)}catch(d){throw Qy(this,d),d;}this.Hg(b);var c=Aq(b,this.Da);this.Rb.g=c;b.g&&(this.Hg(b),c=b.g)&&(this.gg(c,ora),Bu(this,b));this.gg(a,["start"]);Py(this,a);return this.Im([a.Dc()])};
g.h.Zx=function(a,b){return new Ly(a[0],b)};
g.h.Im=function(a){null!=this.g&&this.g.stop();this.g=this.Zx(a,(0,g.z)(this.qn,this));a=this.g.ma();g.T(a,"autoalign",this.Ma.Rv);P.g()&&g.T(a,"viewmode-fullscreen","fullscreen"==this.Yc);a.appendChild(this.K);this.Wa().R(a,"click",Xe);(this.tb()&&Ns(this.la())||this.Ma.lD)&&this.Zp(this.g.g);return a};
g.h.Zp=function(a){var b=this.Wa();this.D=nq(Kha);b.R(this.D,"click",this.iI);var c=""+Ga("Close");c=nq(Jha,{close:c});b.R(c,"click",this.Pn);g.S(a,"extra-padding");null!=this.M&&728<=this.M.Fb()&&g.S(a,"wide-overlay-ad");a.appendChild(c)};
g.h.Vm=function(a,b){if(null!=this.g){var c=a?a:0,d=b?b:0,e=g.Ch(this.Fa.If());var f=P.g()?g.Ch(g.Kd(this.g.g)):g.Ch(this.g.g);if(f.width+c>e.width||f.height+d>e.height)throw c=xn(sra,null),Qy(this,c),d={},this.ads[0].o&&(d.pid=ix.getInstance().g),d.cz=f.width+"x"+f.height,d.sz=e.width+"x"+e.height,d.ct=this.la().g.ld(),d.vm=this.Yc,ko(ho.getInstance(),38,d,!0),this.stop(),c;}};
g.h.ZI=function(a){yu(this,"click");Xe(a)};
g.h.Pn=function(){this.Aa("close");this.qn(!0)};
g.h.jr=function(a,b){$p(b,g.y);this.B?this.Hl(a,b):this.F.push((0,g.z)(this.Hl,this,a,b))};
g.h.Hl=function(a){a=Aq(a,this.Da);this.Rb.g=a;yu(this,"impression");this.Aa("creativeview");yu(this,"start")};
g.h.qn=function(a){null!=this.g&&(this.g.stop(),null!=this.D&&g.Gd(this.D,this.g.g),a?this.ga("userClose"):this.ga("autoClose"))};
g.h.iI=function(a){Xe(a);this.g.show();this.g.play();g.Gd(this.g.g,this.D);g.ng(function(){g.N(this.K,!1)},500,this);
g.N(this.K,!0);this.ga("userRecall")};
g.h.Lj=function(a){this.tb()&&this.la().K==a.g.queryId&&Oy.Z.Lj.call(this,a)};g.A(Ry,g.xf);g.h=Ry.prototype;g.h.init=function(a,b,c){Sy(this,a,b,c);null==this.I&&(this.I=new g.Dm(this),Fm(this.I,this.gb,"adsLoaderSdkAdError",this.MN,this));Zy(this)};
g.h.start=function(){this.V=!0;Vy(this);0<this.o.length?fz(this):("always"==P.A&&(null!=this.Y&&this.Y.Ad(NA()),P.g()&&5!=this.hf()&&this.dispatchEvent(new Sm("companionBackfill",null))),yn(wn,this,Mq,void 0,void 0),0==this.Bc&&this.dispatchEvent("contentResumeRequested"),gz(this))};
g.h.destroy=function(){null!=this.I&&(this.I.dispose(),this.I=null);az(this);iz(this);P.A=this.X;this.V=!1};
g.h.Eb=function(){return this.l<this.o.length?this.o[this.l].g[0]:null};
g.h.kb=function(){return this.V};
g.h.pause=function(){null!=this.g&&this.g.pause()};
g.h.resume=function(){null!=this.g&&this.g.resume()};
g.h.skip=function(){null!=this.g&&this.g.skip()};
g.h.wf=function(){null!=this.g&&this.g.wf()};
g.h.getCurrentTime=function(){return null!=this.g?this.g.getCurrentTime():-1};
g.h.getDuration=function(){return null!=this.g?this.g.getDuration():-1};
g.h.Mc=function(){return null!=this.g?this.g.Mc():-1};
g.h.setVolume=function(a){null!=a&&(this.W=a,null!=this.g&&this.g.setVolume(this.W))};
g.h.Ye=function(a){this.N=a;null!=this.g&&this.g.Ye(a);null!=this.B&&this.B.Ye(a)};
g.h.AA=function(a){P.A=this.X;var b=a.A;g.Pa(b)?this.H++:(a=a.o,(0,g.C)(b,g.Ea(function(a,b){null!=a.o&&(b.Xa=a.o);a.isBumper&&(b.Ea=!1)},a)),this.M=Oha(this,b),g.Ra(this.o,new Pm(b,a.isBumper,a.g)),this.H++,this.I.Ca(this.gb,"adsLoaderSdkAdLoaded",this.AA,!1,this));
Zy(this)};
g.h.MN=function(a){a=a.g;P.A=this.X;a.Dd();yn(wn,this,Mq,void 0,void 0);this.H++;if(!Ty(this)||2<=this.o.length-this.l)a=wn(Mq),this.dispatchEvent(new Rm(a));Zy(this)};
g.h.mQ=function(){az(this);iz(this);gz(this)};
g.h.NN=function(a){a=a.getError().Mb();try{var b={};b.ec=a;ko(ho.getInstance(),44,b)}catch(c){}this.l++;fz(this)};
g.h.Di=function(){this.dispatchEvent("userClose")};
g.h.Ci=function(){this.dispatchEvent("autoClose")};
g.h.Zf=function(){this.l++;fz(this)};
g.h.xh=function(){this.ca||(this.dispatchEvent("contentPauseRequested"),this.ca=!0)};
g.h.hf=function(){return g.Pa(this.D)?null:this.D[0].o};
g.h.ag=function(a){this.g instanceof xw?this.g.ag(a):dz(this.g)&&this.g.ag(a)};
g.h.BA=function(a){switch(a.type){case "impression":try{ko(ho.getInstance(),44,{imp:!0})}catch(c){}break;case "start":var b;if(b=this.eg()&&Wy(this,this.l+1)&&1<ez(this))b=a.Jb(),b=null===b||null===this.g||g.Pa(this.g.ads)?!1:this.g.ads[this.g.ads.length-1]===b;b&&Yy(this,this.l+1)}"vpaidEvent"!=a.type&&Qha(this,a.type,a.Jb());this.dispatchEvent(a)};
g.h.eg=function(){return null===this.A?!1:Vn(this.A)&&this.N.Sk};jz.prototype.Ie=function(){return this.g};g.A(kz,Rha);g.A(nz,Ou);nz.prototype.o=function(){return new Pu(this.g,null,Tha(this))};g.A(rz,g.We);rz.prototype.setDescription=function(){};g.A(sz,g.xf);g.A(uz,g.xf);g.h=uz.prototype;g.h.Gb=function(){this.o||(null==this.A&&(this.A=new g.Dm(this)),this.A.R(this.l,"currentTimeUpdate",this.Vx,!1),this.A.R(this.l,"contentWrapperError",this.yQ,!1));this.l.start();this.o=!0};
g.h.getCurrentTime=function(){return this.l.currentTime};
g.h.Vc=function(){null!=this.A&&(this.A.dispose(),this.A=null);this.l.stop();this.o=!1};
g.h.Vx=function(){if(this.o){var a=this.l.currentTime;if((0,window.isNaN)(a)||0>a)Bz(this,"The currentTime is not a valid time value:"+a);else{var b=Wha(this,a);this.C?(0,g.C)(b,function(a){yz(this,!0,a)},this):(0,g.C)(Xha(b),function(a){yz(this,!0,a)},this);
yz(this,!1,Yha(this,a));Zha(this,a)}}};
g.h.yQ=function(){Bz(this,"There was an error while tracking the content:The content current time is invalid.")};g.A(Dz,sz);Dz.prototype.start=function(){this.wa.start()};
Dz.prototype.stop=function(){this.wa.stop()};
Dz.prototype.U=function(){Dz.Z.U.call(this);this.l.dispose();this.wa.dispose()};
Dz.prototype.o=function(){if("currentTime"in this.g&&!(0,window.isNaN)(this.g.currentTime)){var a=this.currentTime;this.currentTime=this.g.currentTime;a!=this.currentTime&&this.dispatchEvent(new g.We("currentTimeUpdate"))}else this.dispatchEvent(new g.We("contentWrapperError")),this.stop()};g.h=Fz.prototype;g.h.add=function(a){var b=this.g[this.l];this.g[this.l]=a;this.l=(this.l+1)%4;return b};
g.h.get=function(a){a=Gz(this,a);return this.g[a]};
g.h.set=function(a,b){a=Gz(this,a);this.g[a]=b};
g.h.Lc=function(){return this.g.length};
g.h.isEmpty=function(){return 0==this.g.length};
g.h.clear=function(){this.l=this.g.length=0};
g.h.sb=function(){var a=this.Lc(),b=this.Lc(),c=[];for(a=this.Lc()-a;a<b;a++)c.push(this.get(a));return c};
g.h.Ab=function(){for(var a=[],b=this.Lc(),c=0;c<b;c++)a[c]=c;return a};g.A(Hz,mo);g.h=Hz.prototype;g.h.cC=function(a,b,c,d){if(d&&(d=g.Ka(a,function(a){return null!==qq(a.Qa())}),null!==d))return d;
a=(0,g.Hd)(a,function(a){var b=a.g,c=a.Qa();g.D(g.E(c))||"progressive"!=a.o&&"application/x-mpegurl"!=g.E(b).toLowerCase()?a=!1:(b=g.E(b).toLowerCase(),a=g.D(b)||On(2.3)&&-1!=b.indexOf("application/ogg")?!1:g.Mn&&(-1!=b.indexOf("video/mp4")||-1!=b.indexOf("video/3gpp"))||In()&&(-1!=b.indexOf("application/x-mpegurl")||-1!=b.indexOf("application/vnd.apple.mpegurl"))?!0:!g.D(this.g.canPlayType(b)));return a},this);
return Ez(a,b,c)};
g.h.Qq=function(){return(0,g.Hd)(g.Nb(Cu),function(a){return!g.D(this.g.canPlayType(a))},this)};
g.h.cp=function(a){this.W=0<a.timeout?a.timeout:15E3};
g.h.load=function(a){Jz(this);a&&(this.g.src=a);this.g.load()};
g.h.unload=function(){Jz(this);this.g.src="";this.g.load()};
g.h.getVideoUrl=function(){return this.g.src};
g.h.setVolume=function(a){this.g.volume=a;this.g.muted=0==a?!0:!1};
g.h.getVolume=function(){return this.g.volume};
g.h.play=function(){this.M=!1;this.g.play();this.H||(this.H=g.ng(this.XG,this.W,this))};
g.h.pause=function(){this.M=!0;this.g.pause();Iz(this)};
g.h.ji=function(){return this.g.paused?In()||g.aJ?this.g.currentTime<this.g.duration:!0:!1};
g.h.isMuted=function(){return this.g.muted};
g.h.xr=function(){Hn()&&this.g.webkitDisplayingFullscreen&&this.g.webkitExitFullscreen()};
g.h.tj=function(){return Ko(this.g)};
g.h.vk=function(a){var b;a:{for(b=this.V.sb();b.length;){var c=b.pop();if(0<c){b=c;break a}}b=-1}return b>=a};
g.h.uj=function(a){this.g.currentTime=a};
g.h.getCurrentTime=function(){return this.g.currentTime};
g.h.hx=function(){return Lz(this)};
g.h.getDuration=function(){return(0,window.isNaN)(this.g.duration)?-1:this.g.duration};
g.h.mh=function(){return this.g.ended};
g.h.lh=function(){return new g.cd(this.g.offsetWidth,this.g.offsetHeight)};
g.h.by=function(){return this.g.seeking};
g.h.U=function(){this.Vc();Hz.Z.U.call(this)};
g.h.getError=function(){return null};
g.h.Gb=function(){this.Vc();this.l=new g.Dm(this);this.l.R(this.g,iA,this.wQ);this.l.R(this.g,"canplay",this.mO);this.l.R(this.g,"ended",this.hJ);this.l.R(this.g,"webkitbeginfullscreen",this.Ar);this.l.R(this.g,"webkitendfullscreen",this.gy);this.l.R(this.g,"pause",this.kJ);this.l.R(this.g,"playing",this.FQ);this.l.R(this.g,"timeupdate",this.lJ);this.l.R(this.g,"volumechange",this.mJ);this.l.R(this.g,"error",this.fy);this.l.R(this.g,tL||In()&&!Ln(8)?"loadeddata":"canplay",this.jJ);this.C=new dt;this.l.R(this.C,
"click",this.gJ);this.C.Gb(this.g);this.F=new g.mg(1E3);this.l.R(this.F,"tick",this.iJ);this.F.start()};
g.h.Vc=function(){null!=this.C&&(this.C.Vc(),this.C=null);null!=this.F&&this.F.dispose();null!=this.l&&(this.l.dispose(),this.l=null);Jz(this)};
g.h.wQ=function(a){this.dispatchEvent(a.type)};
g.h.mO=function(){var a;if(a=g.gk)a=g.Gb,a=!(a&&(tb(a,"SMART-TV")||tb(a,"SmartTV")));a&&!this.N&&(this.uj(.001),this.N=!0)};
g.h.jJ=function(){this.Sc||(this.Sc=!0,this.dispatchEvent("loaded"))};
g.h.FQ=function(a){this.dispatchEvent("play");In()||tL||Kz(this,a)};
g.h.lJ=function(a){if(!this.A&&(In()||tL)){if(0>=this.getCurrentTime())return;if(tL&&this.mh()&&1==this.getDuration()){this.fy(a);return}Kz(this,a)}if(In()||Sn()){if(1.5<this.getCurrentTime()-this.o){this.D=!0;this.uj(this.o);return}this.D=!1;this.getCurrentTime()>this.o&&(this.o=this.getCurrentTime())}this.V.add(this.g.currentTime);this.dispatchEvent("timeUpdate")};
g.h.mJ=function(){this.dispatchEvent("volumeChange")};
g.h.kJ=function(){if(this.A&&In()&&!this.M&&(2>Lz(this)-this.g.currentTime||this.D)){this.B=new g.mg(250);this.l.R(this.B,"tick",this.hO);this.B.start();var a=!0}else a=!1;a||this.dispatchEvent("pause")};
g.h.hJ=function(){var a=!0;if(In()||Sn())a=this.o>=this.g.duration-1.5;!this.D&&a&&this.dispatchEvent("end")};
g.h.Ar=function(){this.dispatchEvent("beginFullscreen")};
g.h.gy=function(){this.dispatchEvent("endFullscreen")};
g.h.fy=function(){Iz(this);this.dispatchEvent("error")};
g.h.gJ=function(){this.dispatchEvent("click")};
g.h.iJ=function(){var a=this.lh(),b=this.tj();if(a.width!=this.K.width||a.height!=this.K.height)!this.I&&b?this.Ar():this.I&&!b&&this.gy(),this.K=a,this.I=b};
g.h.XG=function(){if(!this.A){try{ko(ho.getInstance(),16)}catch(a){}Jz(this);this.dispatchEvent("mediaLoadTimeout")}};
g.h.hO=function(){if(this.mh()||!this.ji())g.Ue(this.B);else{var a=this.g.duration-this.g.currentTime,b=Lz(this)-this.g.currentTime;0<b&&(2<=b||2>a)&&(g.Ue(this.B),this.play())}};g.A(Nz,g.xf);var Gra=new g.hm;Mz.prototype.start=function(a){return this.g[a].startTime};
Mz.prototype.end=function(a){return this.g[a].endTime};
g.h=Nz.prototype;g.h.Zn=0;g.h.currentTime=0;g.h.duration=window.NaN;g.h.paused=!0;g.h.ly=!1;g.h.autoplay=!1;g.h.loop=!1;g.h.controls=!1;g.h.volume=1;g.h.muted=!1;g.h.src="";g.h.rJ=1;g.h.playbackRate=0;g.h.Jg=null;g.h.no=0;g.h.yS=4;g.h.pk=null;g.h.ao=null;
g.h.play=function(){this.ly&&(this.currentTime=0,this.dispatchEvent("timeupdate"));this.paused&&(this.paused=!1,this.dispatchEvent("play"),this.Zn=this.yS,2>=this.Zn?this.dispatchEvent("waiting"):this.dispatchEvent("playing"));if(null===this.Jg||this.Jg.ha())this.Jg=new g.mg(10),this.Jg.R("tick",(0,g.z)(this.MC,this));this.no=(0,g.G)();this.Jg.start();this.autoplay=!1};
g.h.pause=function(){this.autoplay=!1;this.paused||(this.Jg.stop(),this.paused=!0,this.dispatchEvent("timeupdate"),this.dispatchEvent("pause"))};
g.h.load=function(){this.Zn=0;this.paused=!0;this.dispatchEvent("loadstart");this.setProperty("duration",(0,window.isNaN)(this.duration)?10+20*Math.random():this.duration);var a=this.buffered;a.g.push(new fia(this.duration));a.length=a.g.length;this.dispatchEvent("loadedmetadata");0<this.currentTime&&this.dispatchEvent("timeupdate");this.dispatchEvent("loadeddata");this.dispatchEvent("canplay");this.dispatchEvent("canplaythrough");this.dispatchEvent("progress");this.playbackRate=this.rJ};
g.h.setProperty=function(a,b){switch(a){case "currentTime":var c=Number(b);this.dispatchEvent("seeking");this.currentTime=c;this.dispatchEvent("seeked");this.MC();break;case "duration":this.duration=Number(b);this.dispatchEvent("durationchange");break;case "volume":this.volume=Number(b),this.dispatchEvent("volumechange")}};
g.h.setAttribute=function(a,b){null!=a&&Gra.set(a,b)};
g.h.getAttribute=function(a){return Gra.get(a)};
g.h.MC=function(){var a=(0,g.G)()-this.no,b=this.currentTime+a/1E3;this.no+=a;2<this.Zn&&(this.currentTime=Math.min(b,this.duration));this.dispatchEvent("timeupdate");this.currentTime==this.duration&&(this.ly=this.paused=!0,this.Jg.stop(),this.dispatchEvent("ended"))};
g.h.U=function(){this.Jg&&this.Jg.dispose();this.g.dispose()};
g.h.VR=function(a){var b=null,c=null;switch(a.type){case "loadeddata":b="Loaded";break;case "playing":b="Playing";c="#00f";break;case "pause":b="Paused";break;case "ended":b="Ended",c="#000"}b&&this.ao&&(this.ao.innerText=b);c&&this.pk&&(this.pk.style.backgroundColor=c)};g.A(Oz,g.K);Oz.prototype.initialize=function(){this.l&&En()&&this.l.load()};
Oz.prototype.U=function(){g.Fd(this.g);Oz.Z.U.call(this)};
Oz.prototype.show=function(){var a=this.g;null!=a&&(a.style.display="block")};
Oz.prototype.hide=function(){var a=this.g;null!=a&&(a.style.display="none")};g.A(Pz,g.K);Pz.prototype.F=function(a){if(!("*"!=this.l&&a.origin!=this.l||this.A&&a.source!=this.A)&&g.u(a.data)){try{var b=JSON.parse(a.data)}catch(c){return}if(!(null==b||this.I&&(this.sessionId&&this.sessionId!=b.id||this.channel&&this.channel!=b.channel))&&b)switch(b.event){case "syn":Qz(this,a);Sz(this);this.sendMessage({event:"ack"});break;case "ack":Qz(this,a);Sz(this);break;case "command":a=b.func,a in this.g&&this.g[a].apply(null,b.args)}}};
Pz.prototype.sendMessage=function(a,b){var c=b||this.A;if(c){this.sessionId&&(a.id=this.sessionId);this.channel&&(a.channel=this.channel);try{var d=g.tg(a);c.postMessage(d,this.D)}catch(e){}}};
Pz.prototype.U=function(){window.removeEventListener("message",this.B);Pz.Z.U.call(this)};g.A(Rz,Pz);Rz.prototype.H=function(a,b){var c={event:"command",func:a},d=Array.prototype.slice.call(arguments,1);0<d.length&&(c.args=d);this.C?this.sendMessage(c):100>this.o.length&&this.o.push(c)};g.A(Tz,g.K);Tz.prototype.F=function(a){a=a.type;var b=new gia;b.duration=this.g.duration;b.currentTime=this.g.currentTime;b.l=this.g.readyState;this.g.error&&(b.errorCode=this.g.error.code);b.muted=this.g.muted;b.paused=this.g.paused;b.g=this.g.ended;b.volume=this.g.volume;this.l.H("notify",a,b)};
Tz.prototype.C=function(a){this.B.add(a);this.o.R(this.g,a,this.D)};
Tz.prototype.H=function(a){this.B.remove(a);this.o.Ca(this.g,a)};
Tz.prototype.A=function(a,b){this.g[a]=b};g.A(Wz,mo);var Hra=["video/mp4","video/webm"],Ira={el:"adunit",controls:0,html5:1,playsinline:1,ps:"gvn",showinfo:0},Vz=[],Uz=!1;g.h=Wz.prototype;g.h.cC=function(a,b,c){var d=g.Ka(a,function(a){return null!==qq(a.Qa())});
if(null!==d)return d;a=(0,g.Hd)(a,function(a){a=g.E(a.g);return this.o?this.g.canPlayType(a):g.Oa(Hra,a)},this);
g.Pa(c)||(d=Ez(a,b,c));return null!=d?d:Ez(a,b,[])};
g.h.cp=function(a){this.l=a};
g.h.load=function(a,b){Yz(this,a,b)};
g.h.unload=function(){Yz(this,"","")};
g.h.getVideoUrl=function(){return this.X};
g.h.setVolume=function(a){this.da?this.dispatchEvent("volumeChange"):this.o?(a=g.Wc(100*a,0,100),this.g.setVolume(a),this.D=-1,this.dispatchEvent("volumeChange")):this.D=a};
g.h.getVolume=function(){return this.o?this.g.getVolume()/100:this.D};
g.h.play=function(){if(!g.D(g.E(this.X))){if(!this.A){$z(this);var a=15E3;null!=this.l&&0<this.l.timeout&&(a=this.l.timeout);this.Ea=g.ng(this.zQ,a,this)}this.o?(this.ba=!1,!this.A&&this.l&&this.l.A?this.g.loadVideoByPlayerVars(this.na):this.g.playVideo()):this.ba=!0}};
g.h.pause=function(){this.o&&this.A&&this.g.pauseVideo()};
g.h.ji=function(){return this.o?2==this.g.getPlayerState(this.B):!1};
g.h.isMuted=function(){return this.o?this.g.isMuted():0==this.getVolume()};
g.h.xr=function(){};
g.h.tj=function(){var a=P.l?P.F:window.document.getElementById(this.N);return a?Ko(a):!1};
g.h.vk=function(a){return this.o?this.g.getCurrentTime(this.B)>=a:!1};
g.h.uj=function(a){this.o?this.g.seekTo(a,!1):this.I=a};
g.h.getCurrentTime=function(a){return this.o?this.g.getCurrentTime(a||this.B):-1};
g.h.hx=function(){return this.o&&this.A?this.g.getVideoLoadedFraction(this.B)*this.g.getDuration(this.B):0};
g.h.getDuration=function(){return this.o&&this.A?this.g.getDuration(this.B):-1};
g.h.getError=function(){return null};
g.h.Qq=function(){return g.Nb(Cu)};
g.h.mh=function(){return this.o?0==this.g.getPlayerState(this.B):!1};
g.h.lh=function(){var a=P.l?P.F:window.document.getElementById(this.N);return a?new g.cd(a.offsetWidth,a.offsetHeight):new g.cd(0,0)};
g.h.by=function(){return!1};
g.h.ay=function(){return 1==this.ra};
g.h.kb=function(){return this.o?1==this.g.getPlayerState(this.B):!1};
g.h.oJ=function(){var a=this.lh(),b=this.tj();if(a.width!=this.ka.width||a.height!=this.ka.height)!this.fa&&b?this.dispatchEvent("beginFullscreen"):this.fa&&!b&&this.dispatchEvent("endFullscreen"),this.ka=a,this.fa=b};
g.h.Gb=function(){this.ca=(0,g.z)(this.cB,this);this.M=(0,g.z)(this.Br,this);this.oa=(0,g.z)(this.dB,this);this.Ia=(0,g.z)(this.rR,this);this.da&&(this.g.addEventListener("onAdStateChange",this.M),this.g.addEventListener("onReady",this.ca),this.g.addEventListener("onStateChange",this.M),this.g.addEventListener("onVolumeChange",this.oa),this.g.addEventListener("onSharePanelOpened",this.Ia));this.W=new g.mg(1E3);this.V.R(this.W,"tick",this.oJ);this.W.start()};
g.h.Vc=function(){this.da&&(this.g.removeEventListener("onAdStateChange",this.M),this.g.removeEventListener("onReady",this.ca),this.g.removeEventListener("onStateChange",this.M),this.g.removeEventListener("onVolumeChange",this.oa),this.g.removeEventListener("onSharePanelOpened",this.Ia));null!=this.W&&this.W.dispose()};
g.h.eH=function(){var a=g.Yb(Ira);P.B&&(a.ps="gvn",a.remoteve=io.Y,a.remotevewin="discover");a={playerVars:a,events:{cardstatechange:(0,g.z)(this.nJ,this),onError:(0,g.z)(this.CQ,this),onReady:(0,g.z)(this.cB,this),onAdStateChange:(0,g.z)(this.Br,this),onStateChange:(0,g.z)(this.Br,this),onVolumeChange:(0,g.z)(this.dB,this)}};var b=g.x("YT");this.g=null!=b&&null!=b.Player?new b.Player(this.N,a):null};
g.h.CQ=function(){this.dispatchEvent("error")};
g.h.cB=function(){this.o=!0;this.H&&this.wr(this.H.videoId,this.H.Qh,this.H.ek);-1!=this.D&&(this.setVolume(this.D),this.D=-1);null!=this.K&&(Xz(this,this.K,this.Y),this.Y=this.K=null);-1!=this.I&&(this.uj(this.I),this.I=-1);this.ba&&this.play()};
g.h.nJ=function(a){this.ra=a.data;this.dispatchEvent("cardsStateChange")};
g.h.Br=function(a){switch(a.data){case 0:this.A?this.dispatchEvent("end"):this.dispatchEvent("error");break;case 1:this.A||($z(this),this.A=!0,this.F=0,this.dispatchEvent("start"));this.dispatchEvent("play");Zz(this);this.C=new g.mg(100);this.V.R(this.C,"tick",this.OA);this.C.start();break;case 2:this.dispatchEvent("pause"),Zz(this)}};
g.h.dB=function(){this.dispatchEvent("volumeChange")};
g.h.rR=function(){this.dispatchEvent("shareClicked")};
g.h.OA=function(){var a=en();if(a.g("seek_back_for_all")||a.g("seek_back_for_all_no_leanback")&&!Zk()||a.g("seek_back_for_safari")&&tS&&Jn(wra,10)&&tb(g.Gb,"Safari")||(a.g("mweb_should_disable_instream_seek_back")&&En()?0:sL||Sn())){if(1.5<this.getCurrentTime()-this.F){this.o&&this.g.seekTo(this.F,!0);return}this.getCurrentTime()>this.F&&(this.F=this.getCurrentTime())}this.dispatchEvent("timeUpdate")};
g.h.zQ=function(){this.dispatchEvent("mediaLoadTimeout")};
g.h.wr=function(a,b,c){if(b||c)this.o?this.g.addInfoCardXml(a,b,c):this.H={videoId:a,Qh:b,ek:c}};
g.h.He=function(){if(!this.o)return null;var a=this.g.getVideoData();return a?a.cpn:null};
g.h.bu=function(a){this.o&&qq(this.getVideoUrl())&&this.g.sendVideoStatsEngageEvent(a)};
g.h.ey=function(a){this.o&&this.g.setCardsVisible(a,!1,"YOUTUBE_DRAWER_AUTO_OPEN")};
g.h.zr=function(){this.o&&this.g.showControls()};
g.h.yr=function(){this.o&&this.g.hideControls()};
g.h.U=function(){Zz(this);$z(this);this.Vc();this.o=!1;this.V.dispose();this.I=-1;this.Y=null;this.ba=!1;this.K=null;this.D=-1;this.ca=this.g=this.l=null;this.A=!1;this.X="";Wz.Z.U.call(this)};
g.va("onYouTubeIframeAPIReady",function(){Uz=!0;(0,g.C)(Vz,function(a){a()});
Qa(Vz)},window);g.A(aA,g.xf);aA.prototype.send=function(a){var b=a.g;this.g.hasOwnProperty(b)&&this.g[b].send(a.type,a.Ud,a.Uf)};
aA.prototype.U=function(){this.l.dispose();for(var a in this.g)g.Ue(this.g[a]);aA.Z.U.call(this)};
aA.prototype.B=function(a){a=a.g;var b=ky(a.data);if(null!=b){var c=b.channel;if(this.o&&!this.g.hasOwnProperty(c)){var d=b.sid;cA(this,c,d,a.source);this.dispatchEvent(new bA(b.name,b.type,b.data||{},d,a.origin,c))}}};
g.A(bA,iy);g.A(eA,g.Dm);
eA.prototype.C=function(a){var b=a.getOrigin(),c=g.zg("//imasdk.googleapis.com");b=g.zg(b);if(c[3]==b[3]&&c[4]==b[4])if(null!=this.g)cA(this.g,a.g,a.Wx,vd().parent),null!=this.g&&this.g.send(a);else if(c=a.Uf,null!=c&&g.t(c.scope)){b=c.scope;c=c.args;var d;if("proxy"==b)c=a.Ud,"isGptPresent"==c?d=dA():"isConsolePresent"==c&&(d=null!=fA());else if(dA())if("pubads"==b||"companionAds"==b){d=a.Ud;var e=vd().googletag;if(null!=e&&null!=e[b]&&(e=e[b](),null!=e&&(d=e[d],null!=d)))try{var f=d.apply(e,c)}catch(k){}d=
f}else if("console"==b){if(f=fA(),null!=f&&(e=f[a.Ud],null!=e))try{e.apply(f,c)}catch(k){}}else if(null===b){d=a.Ud;f=vd();if(g.Oa(["googleGetCompanionAdSlots","googleSetCompanionAdContents"],d)&&(d=f[d],null!=d))try{e=d.apply(f,c)}catch(k){}d=e}g.t(d)&&(a.Uf.returnValue=d,this.o.send(a))}};
eA.prototype.B=function(a){this.o.send(a)};var gA={s:function(a,b,c){return(0,window.isNaN)(c)||""==c||a.length>=Number(c)?a:a=-1<b.indexOf("-",0)?a+ub(" ",Number(c)-a.length):ub(" ",Number(c)-a.length)+a},
f:function(a,b,c,d,e){d=a.toString();(0,window.isNaN)(e)||""==e||(d=(0,window.parseFloat)(a).toFixed(e));var f=0>Number(a)?"-":0<=b.indexOf("+")?"+":0<=b.indexOf(" ")?" ":"";0<=Number(a)&&(d=f+d);if((0,window.isNaN)(c)||d.length>=Number(c))return d;d=(0,window.isNaN)(e)?Math.abs(Number(a)).toString():Math.abs(Number(a)).toFixed(e);a=Number(c)-d.length-f.length;return d=0<=b.indexOf("-",0)?f+d+ub(" ",a):f+ub(0<=b.indexOf("0",0)?"0":" ",a)+d},
d:function(a,b,c,d,e,f,k,l){return gA.f((0,window.parseInt)(a,10),b,c,d,0,f,k,l)}};
gA.i=gA.d;gA.u=gA.d;g.A(jA,g.xf);g.h=jA.prototype;g.h.U=function(){this.l.dispose();null!==this.A&&(this.A.dispose(),this.A=null);g.dk(this.F.de(!1),function(a){a.dispose()});
this.F.clear();g.Fd(this.o);jA.Z.U.call(this)};
g.h.XH=function(a){var b=a.Uf,c=g.uh(this.o),d=window.document.createEvent("MouseEvent");d.initMouseEvent(a.Ud,!0,!0,window,b.detail,b.screenX,b.screenY,b.clientX+c.x,b.clientY+c.y,b.ctrlKey,b.altKey,b.shiftKey,b.metaKey,b.button,null);if(!g.gk||In()||0==window.document.webkitIsFullScreen)this.o.blur(),window.focus();this.o.dispatchEvent(d)};
g.h.qI=function(a){var b=a.Uf,c=g.uh(this.o);if("TouchEvent"in window&&0<window.TouchEvent.length){b={bubbles:!0,cancelable:!0,view:window,detail:b.detail,ctrlKey:b.ctrlKey,altKey:b.altKey,shiftKey:b.shiftKey,metaKey:b.metaKey,touches:kA(this,b.touches),targetTouches:kA(this,b.targetTouches),changedTouches:kA(this,b.changedTouches)};var d=new window.TouchEvent(a.Ud,b);this.o.dispatchEvent(d)}else d=window.document.createEvent("TouchEvent"),d.initTouchEvent(a.Ud,!0,!0,window,b.detail,b.screenX,b.screenY,
b.clientX+c.x,b.clientY+c.y,b.ctrlKey,b.altKey,b.shiftKey,b.metaKey,kA(this,b.touches),kA(this,b.targetTouches),kA(this,b.changedTouches),b.scale,b.rotation),this.o.dispatchEvent(d)};
g.h.nI=function(a){if(null!=this.g){var b=a.Uf;switch(a.Ud){case "startTracking":this.g.Gb();break;case "stopTracking":this.g.Vc();break;case "exitFullscreen":this.g.xr();break;case "play":this.g.play();break;case "pause":this.g.pause();break;case "load":this.g.load(b.videoUrl,b.mimeType);break;case "setCurrentTime":this.g.uj(b.currentTime);break;case "setPlaybackOptions":this.g.cp(lA(b));break;case "setVolume":this.g.setVolume(b.volume)}}};
g.h.eI=function(a){if(null!=this.B){var b=a.Uf;switch(a.Ud){case "startTracking":this.B.Gb();break;case "stopTracking":this.B.Vc();break;case "setPlaybackOptions":this.B.cp(lA(b));break;case "load":this.B.load(b.videoUrl,b.mimeType)}}};
g.h.cg=function(a){var b={};switch(a.type){case "beginFullscreen":a="fullscreen";break;case "endFullscreen":a="exitFullscreen";break;case "click":a="click";break;case "end":a="end";break;case "error":a="error";break;case "loaded":a="loaded";break;case "mediaLoadTimeout":a="mediaLoadTimeout";break;case "pause":a="pause";b.ended=this.g.mh();break;case "play":a="play";break;case "skip":a="skip";break;case "start":a="start";break;case "timeUpdate":a="timeupdate";b.currentTime=this.g.getCurrentTime();
b.duration=this.g.getDuration();break;case "volumeChange":a="volumeChange";b.volume=this.g.getVolume();break;case "loadedmetadata":a=a.type;b.duration=this.g.getDuration();break;case "abort":case "canplay":case "canplaythrough":case "durationchange":case "emptied":case "loadstart":case "loadeddata":case "progress":case "ratechange":case "seeked":case "seeking":case "stalled":case "suspend":case "waiting":a=a.type;break;default:return}this.D.send("videoDisplay",a,b)};
g.h.SH=function(a){switch(a.Ud){case "showVideo":null!=this.A?this.A.Vc():(this.A=new dt,this.l.R(this.A,"click",this.SR));this.A.Gb(nA(this.C));a=this.C;null!=a.g&&a.g.show();break;case "hide":null!==this.A&&(this.A.dispose(),this.A=null);this.C.hide();break;case "getPreloadDisplay":null!=this.g&&null==this.B&&(this.B=this.C.B);break;case "swapVideoDisplays":if(null!=this.g&&null!=this.B){this.l.Ca(this.g,g.Nb(hA),this.cg);this.l.Ca(this.g,iA,this.cg);a=this.C;if(a.g&&a.l&&a.A&&a.B){var b=a.l;a.l=
a.B;a.B=b;b=a.g;a.g=a.A;a.A=b;if(a.I&&a.l instanceof Hz){b=a.I;var c=a.l.g;g.Jm(b.o);b.g=c;(0,g.C)(b.B.sb(),b.C,b)}null!=a.D&&(b=a.D,a=a.l,null!=b.g&&(b.l.Ca(b.g,g.Nb(hA),b.cg),b.l.Ca(b.g,iA,b.cg)),b.g=a,b.l.R(b.g,g.Nb(hA),b.cg),b.l.R(b.g,iA,b.cg))}this.g=this.C.l;this.B=this.C.B;this.l.R(this.g,g.Nb(hA),this.cg);this.l.R(this.g,iA,this.cg)}}};
g.h.SR=function(){this.D.send("displayContainer","videoClick")};
g.h.zH=function(){g.dk(this.F.de(!1),function(a){a.xf=Nd(this.o);a.connect()},this);
this.H=!0};mA.prototype.initialize=function(){null!=this.g&&this.g.initialize();null!=this.A&&this.A.initialize()};
mA.prototype.destroy=function(){g.Ue(this.g);g.Ue(this.A);g.Ue(this.D);g.Ue(this.l);g.Ue(this.B);g.Ue(this.I);g.Fd(this.o)};
mA.prototype.hide=function(){null!=this.g&&this.g.hide()};
mA.prototype.setSize=function(a,b){var c=this.o;null!=c&&(-1==a?(c.style.right="0",c.style.left="0"):c.style.width=a+"px",-1==b?(c.style.bottom="0",c.style.top="0"):c.style.height=b+"px");null!=this.D&&(c=this.D,c.o.width=-1==a?"100%":a,c.o.height=-1==b?"100%":b)};g.h=oA.prototype;g.h.Jq=function(){return nA(this.g)};
g.h.Kk=function(){return this.g.F};
g.h.If=function(){return this.g.F};
g.h.Tk=function(){var a=this.g.l;return null!=a?a:new Wz};
g.h.Nf=function(){var a=this.g;null!=a.g&&a.g.show()};
g.h.wd=function(){};
g.h.Bq=function(){return null!=this.g.C};
g.h.sj=function(){return this.g.H};
g.h.tr=function(){return!1};
g.h.Xn=function(){return this.g.K};
g.h.setSize=function(a,b){this.g.setSize(a,b)};
g.h.hide=function(){};
g.h.Vn=function(){return null};
g.h.Wn=function(){};g.A(pA,g.We);g.h=rA.prototype;
g.h.clone=function(){var a=new rA;"auto"==this.Si?a.Si="auto":"click"==this.Si&&(a.Si="click");a.g=this.g;a.Nh=g.Yb(this.Nh);a.l=this.l;a.Om=this.Om;a.B=this.B;a.A=this.A?g.Wa(this.A):null;a.contentTitle=this.contentTitle;a.hc=g.Yb(this.hc);a.location=this.location;a.referrer=this.referrer;a.C=this.C;a.language=this.language;a.rj=this.rj;a.qj=this.qj;a.Fm=this.Fm;a.mf=this.mf;a.lf=this.lf;a.Ze=this.Ze;a.lp=this.lp;a.Du=this.Du;a.nu=this.nu;a.D=this.D;a.o=this.o;a.Ip=this.Ip;a.Un=this.Un;a.afcRmFallback=
this.afcRmFallback;a.I=this.I;a.H=this.H;a.fj=this.fj;a.Hp=this.Hp;a.Gy=this.Gy;a.ty=this.ty;a.Rp=this.Rp?this.Rp.clone():null;return a};
g.h.Nh=null;g.h.Om=null;g.h.Fm=null;g.h.hc=null;g.h.Si="unknown";g.h.Gy=0;g.h.rj=0;g.h.qj=0;g.h.mf=0;g.h.lf=0;g.h.fj=!1;g.h.Ze=null;g.h.lp=!1;g.h.Du=!1;g.h.nu=!0;g.h.Hp=new Zm;g.h.Ip=0;g.h.Mw=!0;g.h.Un=null;g.h.afcRmFallback=!1;g.h.ty=!0;g.h.Rp=null;g.A(sA,g.xf);g.A(tA,g.We);tA.prototype.getError=function(){return this.l};g.A(vA,g.xf);vA.prototype.l=null;vA.prototype.Ub=function(){return this.A};
vA.prototype.U=function(){delete this.g;wA(this);g.sf(this.l);vA.Z.U.call(this)};
vA.prototype.B=function(){uA(this)&&(wA(this),g.sf(this.l),this.l=null,this.A=!0,this.dispatchEvent("ifload"))};g.A(xA,sA);g.wa(xA);g.h=xA.prototype;g.h.U=function(){this.l&&this.l.dispose();xA.Z.U.call(this)};
g.h.initialize=function(){if(!this.ne){var a=g.Xd(new fd);try{yA([a,a.top]);var b=!0}catch(c){b=!1}b?KA(this):(this.ne=!0,this.o="not_available")}};
g.h.Ad=function(a){try{this.g.googleSetCompanionAdContents((0,g.H)(a,this.GG,this)),this.Vj()}catch(b){this.dispatchEvent(new tA("companion_display_error",b))}};
g.h.eB=function(){0<this.A&&(0,g.G)()>=this.A?(this.ne=!0,GA(this),JA(this)):KA(this)};
g.h.hT=function(a){var b=(0,g.H)(a.adSizes,function(a){return new g.cd(a.adWidth,a.adHeight)});
return new Po(a.slotId,b)};
g.h.GG=function(a){var b={};b.slotId=a.H;b.adContent=a.kd();b.adWidth=a.A;b.adHeight=a.l;b.friendlyIframeRendering=a.o;null==a.g&&g.Pa(a.B)||(b.onAdContentSet=(0,g.z)(this.IO,this,a));return b};
g.h.IO=function(a,b){if(null!=a.g){var c=g.Kd(b);c||(c=g.zd("div"),b.appendChild(c));var d=a.Dc();c.appendChild(d);LA(this,a,c)}else c=a.o?b.querySelector("iframe"):(c=g.Kd(b))?g.Kd(c):null,(c=c&&"IFRAME"==c.tagName?c:null)&&kia(this,c,a)};
g.h.HO=function(a){this.dispatchEvent(new tA("companion_click",null,a))};
g.h.Vj=function(a){tn(this.impressionUrls,a)};g.A(MA,g.xf);MA.prototype.Qv=function(){return!0};
MA.prototype.bi=function(){return null};g.A(OA,MA);g.h=OA.prototype;g.h.U=function(){this.destroy();OA.Z.U.call(this)};
g.h.destroy=function(){null!=this.B&&this.B.dispose();this.A=null;(0,g.C)(this.o,function(a){Ro(a)},this);
this.l=null};
g.h.Ad=function(a){g.Ue(this.l);this.l=new g.xf;this.A=a;this.C=!0;this.D?QA(this):(this.C=SA(RA(a),[]),this.C||(this.l=this.A=null));return this.l};
g.h.Qv=function(){return this.C};
g.h.oR=function(){null!=this.F&&(this.F.stop(),this.F.dispose(),this.F=null);if(null!=this.g){var a=zA(this.g);null!=a&&(this.o=a)}this.D=!0;null!=this.A&&QA(this);this.dispatchEvent(new g.We("initialized"))};
g.h.JO=function(a){PA(this,a.getError())};
g.h.FO=function(a){if(null!=a.g){var b=a.g;"companion_slot_init"==a.type?(tn(b.C),Gf(function(){null!=this.l&&this.l.dispatchEvent(new So("companion_impression",b))},this)):"companion_click"==a.type&&(tn(b.B),null!=this.l&&this.l.dispatchEvent(new So("companion_click",b)))}};
g.h.bi=function(){return this.g};g.A(TA,Ou);
TA.prototype.o=function(){if(null===this.g){for(var a=this.A,b=new lz,c=g.Id(g.Kd(this.A)),d=0,e=c.length;d<e;d++){var f=c[d];if("vmap:AdBreak"==f.nodeName){var k=f;var l=[];for(var m="",n=null,q=!1,r=!1,v=null,B=!1,F=g.Id(k),L=0,Y=F.length;L<Y;L++){var la=F[L];switch(la.nodeName){case "vmap:AdSource":if(!n&&(n=ria(la),!n)){m=Rr(la,"vmap:AdTagURI");var $a="";m.length&&($a=g.E(Tr(m[0])));if(g.D($a))throw wn(vra,null,la.parentNode.nodeName,la.nodeName);m=$a}break;case "vmap:Extensions":v=Rr(la,"vmap:Extension"),
B=g.Ka(v,g.Ea(UA,"type","bumper")),null!=B&&(q=!0,r=Sr(B,"suppress_bumper"),r=null!=r?"true"==r:!0),B=sia(v),v=B.breakType,B=B.jn}}F=null;if(n){F=n;n=null;try{n=Qr(F)}catch(ba){n=Nr(F)}F=this.l.clone();F.l=n;F.g=""}else g.D(m)||(n=m,F=this.l.clone(),F.l="",F.g=n);F&&(P.g()&&(n=F,k=Sr(k,"timeOffset"),L=Wr(k),k="start"==k||0==L?0:"end"==k||-1==L?-1:1E3*L,n.Ip=k),k=new kz(F),k.isBumper=q,k.g=q&&!r,k.o=v,k.jn=B,g.Ra(l,k));f=pia(f);q=0;for(r=f.length;q<r;q++)if(v=f[q],k=Wr(v),0<q&&(l=qia(this,l)),"start"==
v||0==k)mz(b,l,0);else if("end"==v)mz(b,l,-1);else{if(-1==k)throw wn(pz,null,"timeOffset",g.E(v));mz(b,l,k)}}}if(0==b.g.Ab().length)throw wn(Mq);this.g=new Pu(a,null,b)}return this.g};YA.prototype.D=function(){var a=this.A(this.B());return Qf(a)?a.then(function(a){return a.toString()}):a instanceof Error?a:a.toString()};
YA.prototype.C=function(){var a=1;Tn()&&(a+=4);if(!P.g()){var b=15360;P.X&&(b+=8);a+=b}return a};var zB={h1:"ultrahigh",TX:"high",zF:"medium"},Dia={lV:1E3,mV:1001,nV:1002,oV:1003,pV:1004,qV:1005,rV:1006},Eia={vF:1,bF:2},Fia={FE:"content",W_:"site",X_:"site_content"};g.h=dB.prototype;g.h.Cm="high";g.h.Cr=!1;g.h.Sp=1;g.h.Tp=null;g.h.adType="video";g.h.adBlock=1;g.h.Dm=null;g.h.Dr=null;g.h.Vp=!0;g.h.Wp=null;g.h.uq=null;g.h.xk=null;g.h.experimentIds=null;g.h.gender=null;g.h.host=null;g.h.hostTierId=null;g.h.isLiveStream=!1;g.h.language=null;g.h.iy=null;g.h.hy=null;g.h.po=1E5;g.h.qo=null;g.h.ky=null;
g.h.jy=null;g.h.ts=0;g.h.Nj=null;g.h.Oo=null;g.h.Yo=null;g.h.targeting=null;g.h.tagForChildDirectedTreatment=-1;g.h.Ko=null;g.h.url=null;g.h.Yn=null;g.h.Hu=null;g.h.Er=null;g.h.Nu=null;g.h.Ku=null;g.h.Lu=null;g.h.Mu=null;g.h.eq=null;g.h.Gu=null;g.h.Gp=null;g.h.pJ=null;g.h.qJ=null;g.h.contentTitle=null;var Bia={XV:"bumpervideo",cF:"flash",pF:"image",c0:"skippablevideo",k0:"standardvideo",o0:"staticimage",TEXT:"text",VIDEO:"video"},qB=["flash","image","staticimage"],Cia=[new g.cd(200,200),new g.cd(250,250),new g.cd(300,250),new g.cd(336,280),new g.cd(450,50),new g.cd(468,60),new g.cd(480,70),new g.cd(728,90)];g.A(AB,YA);var Gia=["bumpervideo","skippablevideo","standardvideo","video"];AB.prototype.H={sV:"allow",WE:"exclude",w_:"require"};AB.prototype.C=function(){var a=AB.Z.C.call(this);P.g()&&this.g.Yo&&(a|=this.g.Yo);return a};
AB.prototype.A=function(a){var b=new g.nm(this.l.g),c=new g.nm("//"+b.l+b.o);b=a.Ab();(0,g.C)(b,function(b){g.wm(c,b,a.get(b))});
g.om(c,"https");return c};
AB.prototype.B=function(){var a=new g.hm;a.set("sdkv",cB(this));a.set("sdki",this.C().toString(16));a.set("video_product_type",null!=this.g.Nj?P.g()?5:g.kb(this.g.Nj,"ca-games-")?4:g.kb(this.g.Nj,"ca-video-")?0:-1:-1);a.set("correlator",this.F.g);a.set("client",this.g.Nj);P.g()&&!g.D(g.E(this.g.url))?a.set("url",this.g.url):a.set("url",this.l.location?this.l.location:this.l.referrer);null!=this.l.Ze&&a.set("adk",this.l.Ze);a.set("num_ads",BB(this));a.set("channel",Iia(this));a.set("output","xml_vast3");
this.g.Cr&&a.set("adtest","on");this.g.Dm&&a.set("adsid",this.g.Dm);Bo&&a.set("flash",jB);pB("alternate_ad_url",this.g.Wp,a);pB("cpm",this.g.uq,a);eB(a,this.l);P.g()||g.Rb(zB,this.g.Cm)&&a.set("adsafe",this.g.Cm);this.g.host&&(a.set("host",this.g.host),pB("ht_id",this.g.hostTierId,a),null!=this.g.o&&pB("h_ch",this.g.o.join("+"),a));pB("hl",this.g.language,a);pB("cust_age",this.g.Dr,a);pB("cust_gender",this.g.gender,a);-1!=this.g.tagForChildDirectedTreatment&&pB("tfcd",this.g.tagForChildDirectedTreatment,
a);null!=this.g.Ko&&pB("pucrd",this.g.Ko,a);pB("slotname",this.g.Tp,a);if(kB(this.g)&&(a.set("ea","0"),null!=this.l.mf&&null!=this.l.lf)){var b=lB(this.g,this.l.mf,this.l.lf,this.l.fj);a.set("image_size",b);g.D(b)&&(this.g.g=tB(this.g.g,this.g.adType,!0),this.g.adType=this.g.g.join("_"))}a.set("ad_type",this.g.adType);b=hn(dn());g.D(g.E(b))||a.set("eid",b);gB(a);b=this.F;var c=this.g,d=this.g.xk;if(null!=d){var e=fo(b);c=null!=c.Gp?c.Gp:Xn(e,d);1!=c&&a.set("ad_block",c);null==b.M&&(b.M=new bo);c=
b.M;var f=d!=b.N;(e=0==e.g%100||f)||(e=36E5<(null===c.g?0:(new g.ao).getTime()-c.g));e&&c.reset();b.N=d;b=c.l;null!==b&&a.set("tok",b)}a.set("unviewed_position_start","1");b=this.g.Sp;a.set("videoad_start_delay",null!=b?b:1);aB(this,a);bB(this,a);ZA(this,a);Hia(this)&&a.set("video_format",null!=this.g.Yn&&P.g()?this.g.Yn:g.aJ&&g.Dn(6)||g.pK&&g.Dn(4)||On(2.3)?43:18);a.set("t_pyv",null!=this.g.Oo?this.g.Oo:this.H.WE);pB("min_ad_duration",this.g.ts,a);0<this.g.po&&a.set("max_ad_duration",CB(this.g.po,
BB(this)));0<this.g.qo&&a.set("sdmax",CB(this.g.qo,BB(this)));mB(a,this.I);P.g()&&(b=qq(this.g.xk),null!=b&&a.set("video_doc_id","yt_"+b));pB("description_url",this.g.xk,a);P.g()&&(pB("lact",hB(this.l),a),pB("loeid",this.g.Er,a),pB("lsv",this.g.isLiveStream,a),this.g.Vp||pB("scs","false",a),pB("targeting",this.g.targeting,a),pB("video_cpm",this.g.Hu,a),pB("yt_pt",this.g.Nu,a),pB("ytdevice",this.g.Ku,a),pB("ytdevicever",this.g.Lu,a),pB("yt_vis",iB(this.l),a),pB("dbp",this.g.Mu,a),pB("avo",this.g.eq,
a),pB("v_p",this.g.Gu,a));null!=a.get("ms")||pB("ms",this.g.A,a);pB("vid_kw",this.l.A?this.l.A.join(","):null,a);pB("vid_d",this.l.B,a);pB("vid_t",this.l.contentTitle,a);$A(a);nB(this.l,a,!1);null!=this.l.Nh&&pB("loc",this.l.Nh.page_location,a);return a};g.A(DB,YA);DB.prototype.A=function(a){var b=new g.nm(this.l.g);(0,g.C)(a.Ab(),function(c){g.D(a.get(c))?b.g.remove(c):g.wm(b,c,a.get(c))});
g.om(b,"https");return b};
DB.prototype.B=function(){var a=new g.hm;a.set("sdkv",cB(this));bB(this,a);ZA(this,a);$A(a);null!=this.l.Ze&&a.set("adk",this.l.Ze);return a};g.A(EB,YA);EB.prototype.B=function(){return new g.hm};
EB.prototype.A=function(){var a=new Xq(this.l.g),b=cB(this);b&&Zq(a,"dc_sdkv",[b]);(b=this.C().toString(16))&&Zq(a,"dc_sdki",[b]);(b=this.o.I)&&Zq(a,"dc_submodel",[b]);null!=this.l.Ze&&Zq(a,"dc_adk",[this.l.Ze]);b=hn(dn());g.D(g.E(b))||Zq(a,"dc_eid",[b]);b=P.Y;null!=b&&Zq(a,"dc_rfl",[Pi(b)]);b=new g.hm;aB(this,b);bB(this,b);ZA(this,b);$A(b);jm(b,"js")&&Zq(a,"dc_js",[b.get("js")]);jm(b,"msid")&&Zq(a,"dc_msid",[b.get("msid")]);jm(b,"frm")&&Zq(a,"dc_frm",[b.get("frm")]);jm(b,"osd")&&Zq(a,"dc_osd",[b.get("osd")]);
jm(b,"sdr")&&Zq(a,"dc_sdr",[b.get("sdr")]);Zq(a,"dcmt",["text/xml"]);jm(b,"vpa")&&Zq(a,"vpa",[b.get("vpa")]);jm(b,"mpt")&&Zq(a,"mpt",[b.get("mpt")]);jm(b,"mpv")&&Zq(a,"mpv",[b.get("mpv")]);b=Yq(a,"dc_output");null!=b&&(g.Oa(b,"vast")||g.Oa(b,"xml_vast2"))&&Zq(a,"dc_output",["xml_vast3"]);g.om(a,"https");return a};g.A(FB,YA);FB.prototype.A=function(a){a=new g.nm(a.get("adTagUrl"));g.om(a,"https");return a};
FB.prototype.D=function(){var a=g.E(this.B().get("adTagUrl"));return a=a.replace(/^http:/i,"https:")};
FB.prototype.B=function(){var a=new g.hm;a.set("adTagUrl",this.l.g);a.set("adsResponse",this.l.l);return a};g.A(GB,YA);GB.prototype.A=function(a){return new g.nm(a.get("adTagUrl"))};
GB.prototype.B=function(){var a=new g.hm;a.set("adTagUrl",this.l.g);a.set("adsResponse",this.l.l);return a};g.A(HB,YA);HB.prototype.A=function(a){var b=new g.nm(this.l.g);(0,g.C)(a.Ab(),function(c){g.D(a.get(c))?b.g.remove(c):g.wm(b,c,a.get(c))});
g.om(b,"https");return b};
HB.prototype.B=function(){var a=new g.hm,b=hn(dn());g.D(g.E(b))||a.set("eid",b);a.set("sdkv",cB(this));a.set("sdki",this.C().toString(16));a.set("correlator",this.o.A);a.set("scor",this.o.g);null!=this.l.Ze&&a.set("adk",this.l.Ze);aB(this,a);bB(this,a);ZA(this,a);$A(a);b=(new g.nm(this.l.g)).g;var c=new dB;c.l=xB(c.l,b.get("overlay"));a.set("afvsz",lB(c,this.l.mf,this.l.lf,this.l.fj));b=this.o.o;null!=b&&(this.o.o=null,a.set("fbidx",b));b=this.o.V;null!=b&&a.set("ppid",b);b="null";c=this.o.l;null!=
c?b=c:nn(this.l.location)?b=this.l.location:nn(this.l.referrer)&&(b=this.l.referrer);a.set("url",b);b=this.o.I;null!=b&&a.set("submodel",b);b=this.o.F;null==b||P.g()||(b=Jia(b),a.set("ciu_szs",b));b=(new g.nm(this.l.g)).g.get("output");null==b||"vast"!=b&&"xml_vast2"!=b||a.set("output","xml_vast3");a.set("impl","");a.set("unviewed_position_start","1");return a};g.A(IB,HB);IB.prototype.A=function(a){a=IB.Z.A.call(this,a);this.H||Lia(this,a);return a};g.A(JB,EB);JB.prototype.A=function(a){a=JB.Z.A.call(this,a);this.H||Nia(this,a);return a};g.A(KB,YA);var Pia="CA_TYPE CPN DT FLASH FRM LACT MT P_H P_W TSLA U_AH U_AW U_CD U_H U_HIS U_JAVA U_NMIME U_NPLUG U_TZ U_W VIS".split(" ");
KB.prototype.A=function(){var a=this.l.g.match(/\[(?:BISCOTTI_|AN)ID\]/g);if(!a)return LB(this);var b=g.Oa(a,"[BISCOTTI_ID]");a=g.Oa(a,"[ANID]");b=b?this.l.Om():"";a=a?this.l.Fm():"";return b instanceof Error?wn(j1,b):a instanceof Error?wn(j1,a):Qf(b)||Qf(a)?(b=Qf(b)?b:Wf(b),a=Qf(a)?a:Wf(a),g.ag([b,a]).then(function(a){return LB(this,a[0],a[1])},function(a){throw wn(j1,a);
},this)):LB(this,b,a)};
KB.prototype.B=function(){return new g.hm};MB.prototype.fetch=function(a,b,c){null!=a.l&&(g.u(a.l)&&!g.D(a.l)||a.l instanceof window.Document)?Sia(this,a,b,c):er(a.g)&&null!=this.g&&!this.g.F?this.g.start(a,(0,g.z)(function(){OB(this,a,b,c)},this)):OB(this,a,b,c)};
MB.prototype.l=function(a,b,c,d){var e=Ria(a,this.A).D();Qf(e)?e.then(function(e){QB(this,e,a,b,c,d)},function(a){a instanceof Ym?c(a):c(wn(PB,a))},this):e instanceof Ym?c(e):e instanceof Error?c(wn(PB,e)):QB(this,e,a,b,c,d)};RB.prototype.reset=function(a){this.g=a+(0,g.G)()};SB.prototype.start=function(a,b){this.B=a;this.D=b;$ia(this);this.C.D?this.H():Im(this.l,this.C,"initialized",this.H,this)};
SB.prototype.H=function(){var a=this.C.bi();var b=a.ne&&"retrieved"==a.o?a.C:void 0;a=iia(a);null!=b&&(this.A.A=b);null!=a&&(this.A.F=a);Zia(this)};g.h=g.UB.prototype;g.h.Lc=function(){return this.g.length+this.l.length};
g.h.isEmpty=function(){return g.Pa(this.g)&&g.Pa(this.l)};
g.h.clear=function(){this.g=[];this.l=[]};
g.h.contains=function(a){return g.Oa(this.g,a)||g.Oa(this.l,a)};
g.h.remove=function(a){var b=this.g;var c=Lqa(b,a);0<=c?(g.Sa(b,c),b=!0):b=!1;return b||g.Ta(this.l,a)};
g.h.sb=function(){for(var a=[],b=this.g.length-1;0<=b;--b)a.push(this.g[b]);var c=this.l.length;for(b=0;b<c;++b)a.push(this.l[b]);return a};g.A(aC,g.xf);g.A(fC,Ly);g.h=fC.prototype;g.h.rq=function(){var a=My(this);g.S(a,"ima-container-rotator");this.D=g.J("DIV");this.g.appendChild(this.D);(0,g.C)(this.I,function(a,c){g.S(a,"ima-container-highlight");var b=63/this.I.length*(c+.5)-5,e=g.J("DIV",{id:Cb(),"class":"ima-container-selector"});e.style.top=b+"px";this.Kf.R(e,"click",function(a){this.Uj(a.target)});
this.N.set(e.id,a);this.C.appendChild(e)},this);
this.Uj(g.Kd(this.C));this.play();return a};
g.h.play=function(){null==this.wa&&(this.wa=new g.mg(this.M),this.Kf.R(this.wa,"tick",this.WS));fC.Z.play.call(this);this.wa.start()};
g.h.stop=function(){null!=this.wa&&this.wa.stop();fC.Z.stop.call(this)};
g.h.WS=function(){var a=this.A;this.Uj((g.t(a.nextElementSibling)?a.nextElementSibling:Jd(a.nextSibling))||g.Kd(this.A.parentNode))};
g.h.Uj=function(a){this.A&&g.jq(this.A,"ima-container-active");g.S(a,"ima-container-active");var b=this.N.get(a.id);g.Gd(b,this.D);this.A=a;this.D=b;Ny(b)};g.A(gC,Ly);gC.prototype.hide=g.y;gC.prototype.rq=function(){var a=My(this);(0,g.C)(this.A,function(a){g.S(a,"ima-container-highlight");this.g.appendChild(a);Ny(a)},this);
this.play();return a};g.A(hC,Oy);g.h=hC.prototype;g.h.Zx=function(a,b){if(this.C||null==b)b=g.y;if(P.g()&&this.C)var c=new Ly(a[0],b);else 1<a.length?jC(this)||"fullscreen"==this.Yc&&P.g()?c=new gC(a):(c=new fC(a),c.M=15E3):c=new Ly(a[0],b);c.sr=100;this.C&&(c.Ny=30);c.Oy=45E3;c.QB=6E3;g.T(c.g,"scalable",this.C);g.T(c.ma(),"yt-text-overlay",P.g()&&this.C);return c};
g.h.cT=function(a){var b=a.g;null!=b?(null==this.I&&(this.I=a.getExtension("AdSense").l),$p(b,g.Ea(this.jr,a,b)),Zp(b,g.Ea(this.NH,a,b)),"Text"==b.ld()&&(this.C=!0),this.A.push(b)):(b=wn(eC),b=zq(b,a),tn(os(a),b))};
g.h.Qc=function(a,b,c){hC.Z.Qc.call(this,a,b,c);this.Ma.Rv=!0;a=this.la();g.Pa(qs(a))?P.g()&&this.ga("companionBackfill"):this.Ad(a)};
g.h.Vv=function(){null==this.A&&(this.A=[],(0,g.C)(this.ads,this.cT,this));if(0==this.A.length)throw xn(eC);var a=[];(0,g.C)(this.A,function(b){aq(b,this.Wa());"Flash"!=b.ld()||b.Jb().getExtension("TemplateAd")||(b.Yv=!0);a.push(b.Dc());Oea(b,this.I.D)},this);
if(0==a.length)throw xn(eC);fja(this);return this.Im(a)};
g.h.start=function(){hC.Z.start.call(this);!this.H&&jC(this)&&(this.H=!0,this.ga("contentPauseRequested"));null!=this.l&&this.l.start();if(this.B){var a=kC(this);ko(ho.getInstance(),33,a)}};
g.h.Pn=function(a){hC.Z.Pn.call(this,a);(0,g.C)(this.A,function(a){var b=Aq(a.Jb(),this.Da);this.Rb.g=b;this.gg(a,["close"]);this.Aa("close");this.Rb=new ou},this)};
g.h.qn=function(a){hC.Z.qn.call(this,a);jC(this)&&(null!=this.o&&g.Dd(this.o),P.l?Io().Xj(null):po().Xj(null),this.H&&(this.H=!1,this.ga("contentResumeRequested")))};
g.h.Im=function(a){a=hC.Z.Im.call(this,a);if(jC(this)){var b=Jw(2);g.S(this.g.g,b);g.S(a,b)}return a};
g.h.Zp=function(a){if(jC(this)){var b=g.Ld(a);b&&((a=g.Id(a)[0])&&g.jh(a,{margin:"0 auto"}),a=this.ads[0].getExtension("AdSense").l||new Yu,this.l=new qx(b,a,2,iC(this),!0),this.Wa().R(this.l,"skip",this.oI),this.Wa().R(this.l,"end",this.SI))}else hC.Z.Zp.call(this,a),b=nq(Lha,iC(this)),a.appendChild(b)};
g.h.jr=function(a,b){this.B?this.Hl(a,b):this.F.push((0,g.z)(this.Hl,this,a,b));$p(b,g.y);this.ga("impression")};
g.h.Hl=function(a,b){var c=Aq(a,this.Da);this.Rb.g=c;this.Hg(a);this.gg(b,["creativeview"]);this.Aa("impression");this.Aa("creativeview");yu(this,"start");this.Rb=new ou};
g.h.NH=function(a,b,c){a=a.getExtension("AdSense");a=new g.nm(a.A);var d=b.Fb();(0,window.isNaN)(d)&&(d=g.Ch(b.Dc()).width);var e=b.getHeight();(0,window.isNaN)(e)&&(e=g.Ch(b.Dc()).height);var f=g.yh(c),k=c instanceof $e;b=k&&g.t(c.offsetX)?c.offsetX:f.x;c=k&&g.t(c.offsetY)?c.offsetY:f.y;f=dn();c=["0","aw="+d,"ah="+e,"nx="+b,"ny="+c,"viewMode="+this.Yc,"sdkv=h.0.0.0","eids="+hn(f)];P.g()||(d=g.Ch(this.Fa.If()),e=this.l?fha(this.l):new g.$c(-1,-1),c=c.concat(["bw="+d.width,"bh="+d.height,"sx="+e.x,
"sy="+e.y]));qn(a,"elementclick",c);(0,g.C)(this.A,function(a){var b=Aq(a.Jb(),this.Da);this.Rb.g=b;Py(this,a);this.Aa("click");this.Rb=new ou},this);
this.ga("click")};
g.h.Ac=function(a){this.Yc!=a&&(hC.Z.Ac.call(this,a),this.ga("expandedChanged"))};
g.h.Vm=function(){hC.Z.Vm.call(this,this.l?15:0,this.l?65:0)};
g.h.oI=function(){lC(this,"skip")};
g.h.SI=function(){lC(this,"close")};g.A(mC,g.K);mC.prototype.l=function(a){if(0==a.Bc||en().g("disable_freqcap_for_hummingbird")&&(g.Pa(a.D)?0:a.D[0].jn)||0>=this.o||0>=this.g)return!1;var b=(0,g.G)()/1E3;a=a.Bc-this.A.currentTime;0<a&&(b+=a);return b-this.g<=this.o};g.A(nC,mC);nC.prototype.l=function(a){return 5==a.hf()?!1:nC.Z.l.call(this,a)};g.A(dC,tu);g.h=dC.prototype;
g.h.Qc=function(a,b,c){null!=this.Tb&&(this.Tb.Vc(),this.Tb.dispose(),this.Tb=null);dC.Z.Qc.call(this,a,b,c);a=this.Bf.g.Ab();b=new Dz(b);var d=4;c&&0<=c.Ot&&(d=c.Ot);var e=new tz,f=en(),k=f.l("sdk_ad_prefetch_time_seconds");0<=k&&(d=k);e.C=d;e.B=f.g("enable_prefetch_for_postrolls");e.g=f.g("enable_midroll_notify");e.o=f.g("enable_postroll_notify");e.l=f.l("midroll_notify_time_seconds");e.A=f.l("postroll_notify_time_seconds");this.Pt=null!=c?c.HB:0;hja(this,a);this.Tb=new uz(b,this.Db.sb(),e);a=this.Bf.g.Ab();
ija(this,a);jja(this);c=g.Ka(this.Db.sb(),function(a){return 0==a.Bc});
null!=c&&this.eg()&&tC(this,c);try{c={cfg:!0},c.ads=this.ig,ko(ho.getInstance(),44,c)}catch(l){}};
g.h.init=function(a){dC.Z.init.call(this,a);this.kp()};
g.h.Kj=function(){var a=new jz(this.Ie());this.dispatchEvent(new Iw(null,a))};
g.h.destroy=function(){this.dispose()};
g.h.U=function(){this.gb.g=!0;if(0<this.Db.Lc()){var a=this.Db.sb();(0,g.C)(a,this.cj,this);this.Db.clear()}rC(this);uC(this);null!=this.Fa&&(this.Fa.hide(),this.Fa=null);dC.Z.U.call(this)};
g.h.start=function(){dC.Z.start.call(this)};
g.h.stop=function(){null!=this.rb&&(this.cj(this.rb),this.Zf())};
g.h.zb=function(a,b,c){dC.Z.zb.call(this,a,b,c);this.fe=a;this.ee=b;this.Yc=c;null!=this.rb&&Sy(this.rb,this.fe,this.ee,this.Yc)};
g.h.pause=function(){null!=this.rb&&this.rb.pause()};
g.h.resume=function(){null!=this.rb&&this.rb.resume()};
g.h.skip=function(){null!=this.rb&&this.rb.skip()};
g.h.wf=function(){null!=this.rb&&this.rb.wf()};
g.h.setVolume=function(a){dC.Z.setVolume.call(this,a);null!=this.rb&&this.rb.setVolume(a)};
g.h.getCurrentTime=function(){return null!=this.rb?this.rb.getCurrentTime():-1};
g.h.getDuration=function(){return null!=this.rb?this.rb.getDuration():-1};
g.h.Mc=function(){return null!=this.rb?this.rb.Mc():-1};
g.h.Ie=function(){var a=g.Wa(this.Bf.g.Ab());(0,g.C)(this.Db.sb(),g.Ea(function(a,c){5==c.hf()&&g.Ta(a,c.Bc)},a));
return a};
g.h.Eb=function(){return null!=this.rb?this.rb.Eb():null};
g.h.Zo=function(){};
g.h.Ye=function(a){dC.Z.Ye.call(this,a);null!=this.Db&&(0,g.C)(this.Db.sb(),function(b){b.Ye(a)})};
g.h.kp=function(){this.Tb.Gb();this.Tb.Vx(null);var a=g.ua(0)&&!(0,window.isNaN)(0)?this.Bf.g.get(0,[]):[];g.Pa(a)&&this.ga("contentResumeRequested")};
g.h.handleEvent=function(a){switch(a.type){case "contentTrackingError":break;case "discardAdBreak":qC(this,this.Db.get(a.g));break;default:g.WB(this.zk,a),sC(this)}};
g.h.Di=function(){this.ga("userClose")};
g.h.Ci=function(){this.ga("autoClose")};
g.h.cj=function(a){a.destroy();this.Db.remove(g.Da(a));this.rb=null;null!=this.ac&&(this.ac.Ca(a,zy,this.dispatchEvent,!1,this),this.ac.Ca(a,"adError",this.bx,!1,this),this.ac.Ca(a,"allAdsCompleted",this.vA,!1,this),this.ac.Ca(a,"contentPauseRequested",this.xh,!1,this),this.ac.Ca(a,"contentResumeRequested",this.Zf,!1,this),this.ac.Ca(a,"adBreakInitialized",this.wA,!1,this))};
g.h.LO=function(a){this.cn=!0;-1==this.oi?a.l=!1:P.g()&&!oC(this)||pC(this);Vha(this.Tb)};
g.h.yl=function(a){if(null!=a.l){var b={};b.adBreakTime=a.l;this.dispatchEvent(new Sm("adNotify",null,b))}};
g.h.Al=function(){this.dispatchEvent(new Sm("discardAdNotify",null))};
g.h.KN=function(a){var b=a.l,c=0==b,d=-1==b;this.yk?(c?this.ga("contentResumeRequested"):!d||P.g()&&!oC(this)||pC(this),this.yk=!1):(d?g.ng(function(){var b=this.Db.get(a.g);b&&this.cj(b);P.g()&&!oC(this)||pC(this)},500,this):c&&g.ng(function(){this.ga("contentResumeRequested")},100,this),c={},c.adBreakTime=b,this.dispatchEvent(new Sm("adBreakReady",null,c)))};
g.h.bx=function(a){var b=a.getError(),c=b.Mb();try{var d={};d.ec=c;ko(ho.getInstance(),44,d)}catch(e){}if(P.g()&&b&&"adLoadError"==b.Vb()&&(this.dispatchEvent(a),null!=this.Tb))for(b=this.Tb,a=a.target.Bc,c=0;c<b.g.length;c++)b.g[c].g==a&&(b.g[c].A=!0)};
g.h.vA=function(a){this.cj(a.target);(oC(this)||!P.g()&&this.cn)&&pC(this);this.Nd=null;sC(this)};
g.h.xh=function(){var a=this.Tb;a.l.stop();a.o=!1;this.ga("contentPauseRequested")};
g.h.Zf=function(){this.ga("contentResumeRequested");this.Up||xz(this.Tb);this.Nd=null};
g.h.wA=function(a){this.Nd=null;var b=a.target;a={};a.adBreakTime=b.Bc;this.dispatchEvent(new Sm("prefetched",b.Eb(),a));if(null!=this.Tb){a=this.Tb;b=b.Bc;for(var c=0;c<a.g.length;c++)a.g[c].g==b&&(a.g[c].ne=!0)}sC(this)};
g.h.ga=function(a){var b=null;null!=this.rb&&(b=this.rb.Eb());this.dispatchEvent(new Sm(a,b))};
g.h.hj=function(a){return g.Ka(this.Db.sb(),g.Ea(function(a,c){return c.Bc==a},a))};
g.h.qC=function(a,b){P.g()?this.jd=new nC(a,b):this.jd=new mC(a,b);return this.jd};
g.h.He=function(){return P.g()&&null!=vC(this)&&null!=vC(this).g?vC(this).g.He():null};
g.h.ag=function(a){null!=vC(this)&&vC(this).ag(a)};
g.h.eg=function(){return null===this.Fa?!1:this.Ma.Sk&&Vn(this.Fa)};g.A(xC,g.xf);xC.prototype.U=function(){null!=this.g&&(this.g.Ca("adsManagerLoaded",this.dispatchEvent),this.g.Ca("adError",this.dispatchEvent),this.g.Ca("adLoadError",this.dispatchEvent),this.g=null);xC.Z.U.call(this)};zC.prototype.clone=function(){return new zC(this.g,this.D,this.o,this.B,this.A,this.C,this.l,this.F)};BC.prototype.l=0;BC.prototype.reset=function(){this.g=this.o=this.A;this.l=0};
BC.prototype.getValue=function(){return this.o};g.A(g.DC,g.K);g.h=g.DC.prototype;g.h.subscribe=function(a,b,c){var d=this.l[a];d||(d=this.l[a]=[]);var e=this.xc;this.g[e]=a;this.g[e+1]=b;this.g[e+2]=c;this.xc=e+3;d.push(e);return e};
g.h.unsubscribe=function(a,b,c){if(a=this.l[a]){var d=this.g;if(a=g.Ka(a,function(a){return d[a+1]==b&&d[a+2]==c}))return this.Jd(a)}return!1};
g.h.Jd=function(a){var b=this.g[a];if(b){var c=this.l[b];0!=this.A?(this.o.push(a),this.g[a+1]=g.y):(c&&g.Ta(c,a),delete this.g[a],delete this.g[a+1],delete this.g[a+2])}return!!b};
g.h.P=function(a,b){var c=this.l[a];if(c){for(var d=Array(arguments.length-1),e=1,f=arguments.length;e<f;e++)d[e-1]=arguments[e];if(this.B)for(e=0;e<c.length;e++){var k=c[e];oja(this.g[k+1],this.g[k+2],d)}else{this.A++;try{for(e=0,f=c.length;e<f;e++)k=c[e],this.g[k+1].apply(this.g[k+2],d)}finally{if(this.A--,0<this.o.length&&0==this.A)for(;c=this.o.pop();)this.Jd(c)}}return 0!=e}return!1};
g.h.clear=function(a){if(a){var b=this.l[a];b&&((0,g.C)(b,this.Jd,this),delete this.l[a])}else this.g.length=0,this.l={}};
g.h.Lc=function(a){if(a){var b=this.l[a];return b?b.length:0}a=0;for(b in this.l)a+=this.Lc(b);return a};
g.h.U=function(){g.DC.Z.U.call(this);this.clear();this.o.length=0};g.EC.prototype.set=function(a,b){g.t(b)?this.g.set(a,g.tg(b)):this.g.remove(a)};
g.EC.prototype.get=function(a){try{var b=this.g.get(a)}catch(c){return}if(null!==b)try{return JSON.parse(b)}catch(c){throw"Storage: Invalid value was encountered";}};
g.EC.prototype.remove=function(a){this.g.remove(a)};g.A(FC,g.EC);FC.prototype.set=function(a,b){FC.Z.set.call(this,a,HC(b))};
FC.prototype.l=function(a){a=FC.Z.get.call(this,a);if(!g.t(a)||a instanceof Object)return a;throw"Storage: Invalid value was encountered";};
FC.prototype.get=function(a){if(a=this.l(a)){if(a=a.data,!g.t(a))throw"Storage: Invalid value was encountered";}else a=void 0;return a};g.A(IC,FC);IC.prototype.set=function(a,b,c){if(b=HC(b)){if(c){if(c<(0,g.G)()){IC.prototype.remove.call(this,a);return}b.expiration=c}b.creation=(0,g.G)()}IC.Z.set.call(this,a,b)};
IC.prototype.l=function(a,b){var c=IC.Z.l.call(this,a);if(c)if(!b&&g.JC(c))IC.prototype.remove.call(this,a);else return c};g.A(g.KC,IC);g.A(LC,pja);LC.prototype.Lc=function(){var a=0;g.dk(this.de(!0),function(){a++});
return a};
LC.prototype.clear=function(){var a=qca(this.de(!0)),b=this;(0,g.C)(a,function(a){b.remove(a)})};g.A(MC,LC);g.h=MC.prototype;g.h.isAvailable=function(){if(!this.g)return!1;try{return this.g.setItem("__sak","1"),this.g.removeItem("__sak"),!0}catch(a){return!1}};
g.h.set=function(a,b){try{this.g.setItem(a,b)}catch(c){if(0==this.g.length)throw"Storage mechanism: Storage disabled";throw"Storage mechanism: Quota exceeded";}};
g.h.get=function(a){a=this.g.getItem(a);if(!g.u(a)&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};
g.h.remove=function(a){this.g.removeItem(a)};
g.h.Lc=function(){return this.g.length};
g.h.de=function(a){var b=0,c=this.g,d=new ak;d.next=function(){if(b>=c.length)throw bk;var d=c.key(b++);if(a)return d;d=c.getItem(d);if(!g.u(d))throw"Storage mechanism: Invalid value was encountered";return d};
return d};
g.h.clear=function(){this.g.clear()};
g.h.key=function(a){return this.g.key(a)};g.A(NC,MC);g.A(OC,MC);g.A(PC,LC);PC.prototype.set=function(a,b){this.l.set(this.g+a,b)};
PC.prototype.get=function(a){return this.l.get(this.g+a)};
PC.prototype.remove=function(a){this.l.remove(this.g+a)};
PC.prototype.de=function(a){var b=this.l.de(!0),c=this,d=new ak;d.next=function(){for(var d=b.next();d.substr(0,c.g.length)!=c.g;)d=b.next();return a?d.substr(c.g.length):c.l.get(d)};
return d};RC.prototype.getValue=function(){return this.g};
RC.prototype.clone=function(){return new RC(this.xc,this.g)};g.h=SC.prototype;g.h.remove=function(){var a=this.g,b=a.length,c=a[0];if(!(0>=b)){if(1==b)Qa(a);else{a[0]=a.pop();a=0;b=this.g;for(var d=b.length,e=b[a];a<d>>1;){var f=2*a+1,k=2*a+2;f=k<d&&b[k].xc<b[f].xc?k:f;if(b[f].xc>e.xc)break;b[a]=b[f];a=f}b[a]=e}return c.getValue()}};
g.h.sb=function(){for(var a=this.g,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].getValue());return b};
g.h.Ab=function(){for(var a=this.g,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].xc);return b};
g.h.clone=function(){return new SC(this)};
g.h.Lc=function(){return this.g.length};
g.h.isEmpty=function(){return g.Pa(this.g)};
g.h.clear=function(){Qa(this.g)};g.A(UC,SC);var rja=/^\.google\.(com?\.)?[a-z]{2,3}$/,sja=/\.(cn|com\.bi|do|sl)$/,XC=g.w,WC,YC,aD={Nq:function(){return 0<YC[8]},
JS:function(){YC[8]++},
KS:function(){0<YC[8]&&YC[8]--},
LS:function(){YC[8]=0},
shouldRetry:function(){return!1},
jx:function(){return YC[5]},
Wv:function(a){try{a()}catch(b){g.w.setTimeout(function(){throw b;},0)}},
St:function(){if(!aD.Nq()){var a=g.w.document,b=function(b){b=tja(b);a:{try{var c=vba();break a}catch(l){}c=void 0}var d=c;qja(a,b,d);c=a.createElement("script");c.type="text/javascript";d&&(c.nonce=d);c.onerror=function(){return g.w.processGoogleToken({},2)};
b=g.Yd(b);g.Uc(c,b);try{(a.head||a.body||a.documentElement).appendChild(c),aD.JS()}catch(l){}},c=YC[1];
b(c);".google.com"!=c&&b(".google.com");b={};var d=(b.newToken="FBT",b);g.w.setTimeout(function(){return g.w.processGoogleToken(d,1)},1E3)}}};/*
 Portions of this code are from MochiKit, received by
 The Closure Authors under the MIT license. All other code is Copyright
 2005-2009 The Closure Authors. All Rights Reserved.
*/
cD.prototype.cancel=function(a){if(this.g)this.o instanceof cD&&this.o.cancel();else{if(this.l){var b=this.l;delete this.l;a?b.cancel(a):(b.F--,0>=b.F&&b.cancel())}this.M?this.M.call(this.K,this):this.H=!0;this.g||(a=new mD(this),gD(this),eD(this,!1,a))}};
cD.prototype.I=function(a,b){this.D=!1;eD(this,a,b)};
cD.prototype.rk=function(a){gD(this);eD(this,!0,a)};
cD.prototype.then=function(a,b,c){var d,e,f=new g.Sf(function(a,b){d=a;e=b});
hD(this,d,function(a){a instanceof mD?f.cancel():e(a)});
return f.then(a,b,c)};
Pf(cD);cD.prototype.isError=function(a){return a instanceof Error};
g.A(fD,Ha);fD.prototype.message="Deferred has already fired";fD.prototype.name="AlreadyCalledError";g.A(mD,Ha);mD.prototype.message="Deferred was canceled";mD.prototype.name="CanceledError";lD.prototype.l=function(){delete kD[this.ia];throw this.g;};
var kD={};g.A(nD,se);g.A(oD,se);var wja=[2,11];var Yna={bV:0,ZU:1,XU:2,aV:4,cV:14,YU:15,dV:17},Zna={hV:0,fV:1,eV:2,gV:3,iV:14},$na={kY:0,lY:1,nY:2,mY:3,jY:4};g.HF=window.performance&&window.performance.timing&&window.performance.now?function(){return window.performance.timing.navigationStart+window.performance.now()}:function(){return(new Date).getTime()};g.qD=window.yt&&window.yt.config_||window.ytcfg&&window.ytcfg.data_||{};g.va("yt.config_",g.qD,void 0);(0,g.G)();var wD=g.t(window.XMLHttpRequest)?function(){return new window.XMLHttpRequest}:g.t(window.ActiveXObject)?function(){return new window.ActiveXObject("Microsoft.XMLHTTP")}:null;var LD={"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"},QD=!1;var LK=sL||rL;var hE={},Fja=0;g.p(jE,Ha);mE.prototype.then=function(a,b,c){return this.o?this.o.then(a,b,c):1===this.l&&a?(a=a.call(c,this.g),Qf(a)?a:oE(a)):2===this.l&&b?(a=b.call(c,this.g),Qf(a)?a:nE(a)):this};
mE.prototype.getValue=function(){return this.g};
Pf(mE);g.p(qE,Ha);qE.prototype.name="BiscottiError";g.p(pE,Ha);pE.prototype.name="BiscottiMissingError";var tE={format:"RAW",method:"GET",timeout:5E3,withCredentials:!0},sE=null;g.p(zE,Ha);zE.prototype.name="YuzuError";var EE={};var Jra,FE;Jra=0;FE=g.ud?"webkit":g.lh?"moz":g.sd?"ms":g.Ye?"o":"";g.Kra=g.x("ytDomDomGetNextId")||function(){return++Jra};
g.va("ytDomDomGetNextId",g.Kra,void 0);var Jja={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};ME.prototype.preventDefault=function(){this.event&&(this.event.returnValue=!1,this.event.preventDefault&&this.event.preventDefault())};
ME.prototype.uy=function(){return this.event?!1===this.event.returnValue:!1};
ME.prototype.stopPropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopPropagation&&this.event.stopPropagation())};
ME.prototype.stopImmediatePropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopImmediatePropagation&&this.event.stopImmediatePropagation())};var QE=g.x("ytEventsEventsListeners")||{};g.va("ytEventsEventsListeners",QE,void 0);var RE=g.x("ytEventsEventsCounter")||{count:0};g.va("ytEventsEventsCounter",RE,void 0);var Lra=g.Cf(function(){var a=!1;try{var b=Object.defineProperty({},"passive",{get:function(){a=!0}});
window.addEventListener("test",null,b)}catch(c){}return a});g.bF.prototype.R=function(a,b,c,d){c=(0,g.z)(c,d||this.l);a=g.SE(a,b,c);this.g.push(a);return a};
g.bF.prototype.rh=function(a,b,c,d){c=(0,g.z)(c,d||this.l);a=aF(a,b,c);this.g.push(a);return a};
g.bF.prototype.Ca=function(a){g.TE(a);g.Ta(this.g,a)};g.A(dF,g.K);dF.prototype.I=function(a){this.g=new g.$c(OE(a),PE(a))};
dF.prototype.C=function(){if(this.g){var a=g.HF();if(0!=this.A){var b=this.B,c=this.g,d=b.x-c.x;b=b.y-c.y;d=Math.sqrt(d*d+b*b)/(a-this.A);this.l[this.Bb]=.5<Math.abs((d-this.o)/this.o)?1:0;for(c=b=0;4>c;c++)b+=this.l[c]||0;3<=b&&this.F();this.o=d}this.A=a;this.B=this.g;this.Bb=(this.Bb+1)%4}};
dF.prototype.U=function(){window.clearInterval(this.H);g.TE(this.D)};g.p(g.eF,g.K);g.eF.prototype.O=function(a,b,c,d,e){c=uD((0,g.z)(c,d||this.Zb));c={target:a,name:b,rk:c};var f;e&&Lra()&&(f={passive:!0});a.addEventListener(b,c.rk,f);this.K.push(c);return c};
g.eF.prototype.Ca=function(a){for(var b=0;b<this.K.length;b++)if(this.K[b]==a){this.K.splice(b,1);a.target.removeEventListener(a.name,a.rk);break}};
g.eF.prototype.U=function(){g.gF(this);g.K.prototype.U.call(this)};g.A(g.hF,g.K);g.h=g.hF.prototype;g.h.subscribe=function(a,b,c){return this.ha()?0:this.Uc.subscribe(a,b,c)};
g.h.unsubscribe=function(a,b,c){return this.ha()?!1:this.Uc.unsubscribe(a,b,c)};
g.h.Jd=function(a){return this.ha()?!1:this.Uc.Jd(a)};
g.h.P=function(a,b){return this.ha()?!1:this.Uc.P.apply(this.Uc,arguments)};
g.h.fh=ca(1);g.p(g.jF,g.hF);g.h=g.jF.prototype;g.h.cancel=function(){this.A&&(this.A=!1,this.P("dragend",0,0,null));this.l&&(this.l=!1,this.P("hoverend",0,0,null),g.gF(this.g),iF(this))};
g.h.Zy=function(a){g.gF(this.g);kF(this,lF("move"),this.Xy);kF(this,lF("out"),this.Yy);kF(this,"touchstart",this.zs);this.o&&kF(this,lF("down"),this.ys);var b=g.UE(a);a=XE(a);this.l=!0;this.P("hoverstart",a.x,a.y,b);this.P("hovermove",a.x,a.y,b)};
g.h.Xy=function(a){var b=g.UE(a);a=XE(a);if(this.B){var c=this.B;this.B=null;if(WE(c)==b&&ad(XE(c),a))return}this.P("hovermove",a.x,a.y,b)};
g.h.Yy=function(a){var b=XE(a),c=WE(a);c&&g.Md(this.C,c)?(this.B=a,this.P("hovermove",b.x,b.y,c)):(g.gF(this.g),iF(this),this.l=!1,this.P("hoverend",b.x,b.y,c))};
g.h.zN=function(a){this.Zy(a);this.ys(a)};
g.h.ys=function(a){if(!g.ua(a.button)||0==a.button){g.gF(this.g);this.g.O(window.document,lF("move"),this.yN);this.g.O(window.document,lF("up"),this.dK);var b=g.UE(a);if(g.ud)kF(this,"dragstart",this.jH);else if(g.YE(a),(g.PL||g.lh)&&b)a:{for(var c=b;c;){if(g.Sd(c)||"-1"===c.getAttribute("tabindex")){c.focus();break a}c=c.parentElement}window.document.activeElement.blur()}this.A=!0;a=XE(a);this.P("dragstart",a.x,a.y,b);this.P("dragmove",a.x,a.y,b)}};
g.h.jH=function(a){g.YE(a)};
g.h.yN=function(a){var b=g.UE(a);b==window.document&&(b=null);a=XE(a);this.P("hovermove",a.x,a.y,b);this.P("dragmove",a.x,a.y,b)};
g.h.dK=function(a){g.gF(this.g);this.A=!1;var b=VE(a),c=g.UE(a);a=XE(a);b&&g.Md(this.C,b)?(kF(this,lF("move"),this.Xy),kF(this,lF("out"),this.Yy),kF(this,lF("down"),this.ys),kF(this,"touchstart",this.zs),this.P("dragend",a.x,a.y,c)):(iF(this),this.l=!1,this.P("dragend",a.x,a.y,c),this.P("hoverend",a.x,a.y,c))};
g.h.zs=function(a){var b=a.changedTouches[0];b&&(g.gF(this.g),kF(this,"touchmove",this.eK),kF(this,"touchend",this.az),kF(this,"touchcancel",this.az),this.D=b.identifier,a=g.UE(a),this.l||(this.l=!0,this.P("hoverstart",b.pageX,b.pageY,a)),this.P("hovermove",b.pageX,b.pageY,a),this.o&&(this.A=!0,this.P("dragstart",b.pageX,b.pageY,a),this.P("dragmove",b.pageX,b.pageY,a)))};
g.h.eK=function(a){var b=mF(this,a);b&&(this.o&&g.YE(a),a=g.UE(a),this.P("hovermove",b.pageX,b.pageY,a),this.o&&this.P("dragmove",b.pageX,b.pageY,a))};
g.h.az=function(a){var b=mF(this,a);if(b){g.gF(this.g);iF(this);this.l=!1;var c=g.UE(a);this.o&&(this.F||g.YE(a),this.A=!1,this.P("dragend",b.pageX,b.pageY,c));this.P("hoverend",b.pageX,b.pageY,c)}};
g.h.U=function(){this.o&&(g.ud&&this.C.removeAttribute("draggable"),this.C.style.touchAction="");g.gF(this.g);g.hF.prototype.U.call(this)};var Lja={enablejsapi:1},Mja={},Nja={allowscriptaccess:"always",allowfullscreen:"true",bgcolor:"#000000"};nF.prototype.clone=function(){var a=new nF,b;for(b in this)if(this.hasOwnProperty(b)){var c=this[b];"object"==xa(c)?a[b]=g.Yb(c):a[b]=c}return a};var bG={},aG=0;var Mra=g.x("ytPubsubPubsubInstance")||new g.DC;g.DC.prototype.subscribe=g.DC.prototype.subscribe;g.DC.prototype.unsubscribeByKey=g.DC.prototype.Jd;g.DC.prototype.publish=g.DC.prototype.P;g.DC.prototype.clear=g.DC.prototype.clear;g.va("ytPubsubPubsubInstance",Mra,void 0);g.pF=g.x("ytPubsubPubsubSubscribedKeys")||{};g.va("ytPubsubPubsubSubscribedKeys",g.pF,void 0);g.rF=g.x("ytPubsubPubsubTopicToKeys")||{};g.va("ytPubsubPubsubTopicToKeys",g.rF,void 0);var qF=g.x("ytPubsubPubsubIsSynchronous")||{};
g.va("ytPubsubPubsubIsSynchronous",qF,void 0);var Pja={log_event:"events",log_interaction:"interactions"},Nra=Object.create(null);Nra.log_event="GENERIC_EVENT_LOGGING";Nra.log_interaction="INTERACTION_LOGGING";var zF={},xF={},FF=0,yF=g.x("ytLoggingTransportLogPayloadsQueue_")||{};g.va("ytLoggingTransportLogPayloadsQueue_",yF,void 0);var AF=g.x("ytLoggingTransportTokensToCttTargetIds_")||{};g.va("ytLoggingTransportTokensToCttTargetIds_",AF,void 0);var GF=g.x("ytLoggingTransportDispatchedStats_")||{};
g.va("ytLoggingTransportDispatchedStats_",GF,void 0);g.va("ytytLoggingTransportCapturedTime_",g.x("ytLoggingTransportCapturedTime_")||{},void 0);g.p(MF,Qja);MF.prototype.start=function(){var a=g.x("yt.scheduler.instance.start");a&&a()};
MF.prototype.pause=function(){var a=g.x("yt.scheduler.instance.pause");a&&a()};
g.wa(MF);MF.getInstance();var TF={};var ZF=g.x("ytLoggingLatencyUsageStats_")||{};g.va("ytLoggingLatencyUsageStats_",ZF,void 0);var $F=0;var dG=(0,g.G)().toString();fG();var Ora;Ora=new NC;g.hG=Ora.isAvailable()?new g.KC(Ora):null;var iG,Pra=new OC;iG=Pra.isAvailable()?new g.KC(Pra):null;var qG=window.yt&&window.yt.msgs_||window.ytcfg&&window.ytcfg.msgs||{};g.va("yt.msgs_",qG,void 0);Ga=function(a,b){b=void 0===b?{}:b;var c=a in qG?qG[a]:a,d;for(d in b){var e=(""+b[d]).replace(/\$/g,"$$$$");c=c.replace(new RegExp("\\{\\$"+d+"\\}","gi"),e);c=c.replace(new RegExp("\\$"+d,"gi"),e)}return c};var j0=16/9,Qra=[.25,.5,.75,1,1.25,1.5,2];var Tja={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",140:"a",327:"sa",258:"m",161:"H",142:"H",143:"H",144:"H",222:"H",223:"H",145:"H",224:"H",225:"H",146:"H",226:"H",147:"H",384:"H",376:"H",385:"H",377:"H",149:"A",261:"M",278:"9",242:"9",243:"9",244:"9",247:"9",248:"9",271:"9",313:"9",272:"9",302:"9",303:"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:"(",277:"(",362:"(h",363:"(h",364:"(h",365:"(h",366:"(h",367:"(h",368:"(h",394:"1",395:"1",396:"1",397:"1",398:"1",399:"1",400:"1",401:"1",402:"1"};var $K={name:"width",video:!0,valid:640,ki:99999},aL={name:"height",video:!0,valid:360,ki:99999},YK={name:"framerate",video:!0,valid:30,ki:9999},bL={name:"bitrate",video:!0,valid:3E5,ki:2E9},ZK={name:"eotf",video:!0,valid:"bt709",ki:"catavision"},RK={name:"channels",video:!1,valid:2,ki:99},SK={name:"cryptoblockformat",video:!0,valid:"subsample",ki:"invalidformat"},cL={sm:$K,Vl:aL,GX:YK,Uu:bL,rX:ZK,kW:RK,FW:SK};tG.prototype.o=function(){return this.name};
tG.prototype.l=function(){return this.id};
tG.prototype.g=function(){return this.isDefault};
tG.prototype.toString=function(){return this.name};
tG.prototype.getName=tG.prototype.o;tG.prototype.getId=tG.prototype.l;tG.prototype.getIsDefault=tG.prototype.g;var Uja={CV:"auto",G0:"tiny",AY:"light",d0:"small",zF:"medium",yY:"large",QX:"hd720",MX:"hd1080",NX:"hd1440",OX:"hd2160",PX:"hd2880",WX:"highres",UNKNOWN:"unknown"};var J1;J1={};g.vG=(J1.auto=0,J1.tiny=144,J1.light=144,J1.small=240,J1.medium=360,J1.large=480,J1.hd720=720,J1.hd1080=1080,J1.hd1440=1440,J1.hd2160=2160,J1.hd2880=2880,J1.highres=4320,J1);var zG="highres hd2880 hd2160 hd1440 hd1080 hd720 large medium small tiny".split(" ");JG.prototype.g=function(a){return"true"==this.flags[a]};
JG.prototype.l=function(a){return(0,window.parseFloat)(this.flags[a])||0};
JG.prototype.o=function(a){return(a=this.flags[a])?a.toString():""};KG.prototype.dispose=function(){if(!this.l){if(this.g)try{window.URL.revokeObjectURL(this.Eg)}catch(a){}this.l=!0}};
KG.prototype.ha=function(){return this.l};LG.prototype.vg=function(){return this.Zg};
LG.prototype.g=function(){return null};
LG.prototype.A=function(){};
var ala={52:!0,53:!0,54:!0,55:!0,60:!0,79:!0,87:!0};MG.prototype.isLocked=function(){return this.o&&!!this.l&&this.l==this.g};
MG.prototype.A=function(a){return a.video?SG(this,a.video.quality):!1};
var kS=NG("auto","large",!1),PG=NG("auto","auto",!1);NG("small","auto",!1);var K1={},Rra=(K1["api.invalidparam"]=2,K1.auth=150,K1["drm.auth"]=150,K1["heartbeat.net"]=150,K1["heartbeat.servererror"]=150,K1["heartbeat.stop"]=150,K1["html5.unsupportedads"]=5,K1["fmt.noneavailable"]=5,K1["fmt.decode"]=5,K1["fmt.unplayable"]=5,K1["html5.missingapi"]=5,K1["html5.unsupportedlive"]=5,K1["drm.unavailable"]=5,K1);var Yja=/^https?:\/\/([^.]*\.moatads\.com\/|e[0-9]+\.yt\.srs\.doubleverify\.com|pagead2\.googlesyndication\.com\/pagead\/gen_204\?id=yt3p&sr=1&|pm\.adsafeprotected\.com\/youtube|pm\.test-adsafeprotected\.com\/youtube|youtube[0-9]+\.moatpixel\.com\/)/,Wja=/^http:\/\/0\.[a-z0-9\-_]+\.[a-z0-9\-_]+\.l2gfe\.[a-z0-9_]+\.([a-z]{2}|i)\.borg\.google\.com(:[0-9]+)?\/|^https?:\/\/((?:uytfe\.corp|dev-uytfe\.corp|uytfe\.sandbox)\.google\.com\/|([-\w]*www[-\w]*\.|[-\w]*web[-\w]*\.|[-\w]*canary[-\w]*\.|[-\w]*dev[-\w]*\.|[-\w]{1,3}\.)+youtube(education|-nocookie)?\.com\/|([a-z]+\.)?[a-z0-9\-]{1,63}\.([a-z]{3}|i)\.corp\.google\.com(:[0-9]+)?\/|(docs|drive)\.google\.com\/(a\/[^/\\%]+\/|)|[A-Za-z0-9]+(-v6)?\.prod\.google\.com(:[0-9]+)?\/|m?web-ppg\.corp\.google\.com\/|play\.google\.com\/)/,
Zja=/^https?:\/\/(www\.google\.com\/pagead\/sul|www\.google\.com\/pagead\/xsul|www\.youtube\.com\/pagead\/psul|www\.youtube\.com\/pagead\/slav|www\.youtube\.com\/pagead\/sul)/,dka=/^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|docs\.google\.com|drive\.google\.com|prod\.google\.com|plus\.google\.com|mail\.google\.com|youtube\.com|youtube\-nocookie\.com|youtubeeducation\.com)(:[0-9]+)?\/|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?\/(?!url\b))/,lna=/^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|borg\.google\.com|prod\.google\.com|youtube\.com)(:[0-9]+)?\/|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?\/(?!url\b))/,
qla=/^https?:\/\/([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|borg\.google\.com|prod\.google\.com|video\.google\.com|youtube\.com|youtube\.googleapis\.com|youtube\-nocookie\.com|youtubeeducation\.com)(:[0-9]+)?\/\/*embed(\/+|\?|#|$|%)/,aka=/^((http(s)?):)?\/\/((((lh[3-6](-tt|-d[a-g,z])?\.((ggpht)|(googleusercontent)|(google)))|(([1-4]\.bp\.blogspot)|(bp[0-3]\.blogger))|((((cp|ci|gp)[3-6])|(ap[1-2]))\.(ggpht|googleusercontent))|(gm[1-4]\.ggpht)|(((yt[3-4])|(sp[1-3]))\.(ggpht|googleusercontent)))\.com)|(dp[3-6]\.googleusercontent\.cn)|(dp4\.googleusercontent\.com)|(photos\-image\-(dev|qa)(-auth)?\.corp\.google\.com)|((dev|dev2|dev3|qa|qa2|qa3|qa-red|qa-blue|canary)[-.]lighthouse\.sandbox\.google\.com\/image)|(image\-(dev|qa)\-lighthouse(-auth)?\.sandbox\.google\.com(\/image)?))\/|^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|borg\.google\.com|docs\.google\.com|drive\.google\.com|googleplex\.com|play\.google\.com|prod\.google\.com|plus\.google\.com|video\.google\.com|youtube\.com|ytimg\.com|chat\.google\.com)(:[0-9]+)?\/|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?\/(?!url\b)|s2\.googleusercontent\.com\/s2\/favicons\?|yt[3-4]\.ggpht\.com\/)/,
Xja=/^https?.*#ocr$|^https?:\/\/(aksecure\.imrworldwide\.com\/|cdn\.imrworldwide\.com\/|secure\-..\.imrworldwide\.com\/)/,cka=/^https?:\/\/(googleads\.g\.doubleclick\.net\/(aclk|pagead\/conversion)|www\.google\.com\/(aclk|pagead\/conversion)|www\.googleadservices\.com\/(aclk|pagead\/(aclk|conversion)))/,$ja=/^((http(s)?):)?\/\/((((lh[3-6](-tt|-d[a-g,z])?\.((ggpht)|(googleusercontent)|(google)))|(([1-4]\.bp\.blogspot)|(bp[0-3]\.blogger))|((((cp|ci|gp)[3-6])|(ap[1-2]))\.(ggpht|googleusercontent))|(gm[1-4]\.ggpht)|(((yt[3-4])|(sp[1-3]))\.(ggpht|googleusercontent)))\.com)|(dp[3-6]\.googleusercontent\.cn)|(dp4\.googleusercontent\.com)|(photos\-image\-(dev|qa)(-auth)?\.corp\.google\.com)|((dev|dev2|dev3|qa|qa2|qa3|qa-red|qa-blue|canary)[-.]lighthouse\.sandbox\.google\.com\/image)|(image\-(dev|qa)\-lighthouse(-auth)?\.sandbox\.google\.com(\/image)?))\/|^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(ba\.l\.google\.com|c\.googlesyndication\.com|corp\.google\.com|borg\.google\.com|docs\.google\.com|drive\.google\.com|googleplex\.com|googlevideo\.com|play\.google\.com|prod\.google\.com|c\.lh3\.googleusercontent\.com|plus\.google\.com|mail\.google\.com|ed\.video\.google\.com|vp\.video\.l\.google\.com|youtube\.com|youtubeeducation\.com|xfx7\.com|yt\.akamaized\.net|chat\.google\.com)(:[0-9]+)?\/|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?\/(?!url\b))/,
bka=/^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(imasdk\.googleapis\.com|2mdn\.net|googlesyndication\.com|corp\.google\.com|borg\.google\.com|googleads\.g\.doubleclick\.net|prod\.google\.com|static\.doubleclick\.net|static\.googleadsserving\.cn|studioapi\.doubleclick\.net|youtube\.com|youtube\.googleapis\.com|youtube\-nocookie\.com|youtubeeducation\.com|ytimg\.com)(:[0-9]+)?\/|lightbox-(demos|builder)\.appspot\.com\/|s[01](qa)?\.2mdn\.net\/ads\/richmedia\/studio\/mu\/templates\/tetris|tpc\.googlesyndication\.com\/safeframe\/|www\.gstatic\.com\/doubleclick\/studio\/innovation\/h5\/layouts\/tetris|www\.gstatic\.com\/doubleclick\/studio\/innovation\/ytplayer)/,
rla=/^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(imasdk\.googleapis\.com|corp\.google\.com|borg\.google\.com|docs\.google\.com|drive\.google\.com|googleads\.g\.doubleclick\.net|googleplex\.com|play\.google\.com|prod\.google\.com|photos\.google\.com|picasaweb\.google\.com|get\.google\.com|lh2\.google\.com|plus\.google\.com|spaces\.google\.com|books\.googleusercontent\.com|blogger\.com|mail\.google\.com|play\-books\-internal\-sandbox\.googleusercontent\.com|talkgadget\.google\.com|survey\.g\.doubleclick\.net|youtube\.com|youtube\.googleapis\.com|youtube\-nocookie\.com|youtubeeducation\.com|vevo\.com|jamboard\.google\.com|chat\.google\.com|meet\.google\.com)(:[0-9]+)?\/|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?\/(?!url\b)|(www\.|encrypted\.)?google\.(cat|com(\.(a[fgiru]|b[dhnorz]|c[ouy]|do|e[cgt]|fj|g[hit]|hk|jm|kh|kw|l[bcy]|m[mtxy]|n[afgip]|om|p[aeghkry]|qa|s[abglv]|t[jnrw]|ua|uy|vc|vn))?|a[cdelmstz]|c[acdfghilmnvz]|b[aefgijsty]|ee|es|d[ejkmz]|g[aefglmpry]|f[imr]|i[emoqrst]|h[nrtu]|k[giz]|je|jo|m[degklnsuvw]|l[aiktuv]|n[eloru]|p[lnst]|s[cehikmnort]|r[osuw]|us|t[dgklmnot]|ws|vg|vu|co\.(ao|bw|ck|cr|i[dln]|jp|ke|kr|ls|ma|mz|nz|th|tz|u[gkz]|ve|vi|z[amw]))\/(search|webhp)\?|24e12c4a-a-95274a9c-s-sites\.googlegroups\.com\/a\/google\.com\/flash-api-test-harness\/apiharness\.swf|lightbox-(demos|builder)\.appspot\.com\/|s0\.2mdn\.net\/instream\/html5\/native\/|s[01](qa)?\.2mdn\.net\/ads\/richmedia\/studio\/mu\/templates\/tetris|tpc\.googlesyndication\.com\/safeframe\/|www\.gstatic\.com\/doubleclick\/studio\/innovation\/h5\/layouts\/tetris)/,
Sra=/^(https\:\/\/drive\.google\.com|https\:\/\/googleads\.g\.doubleclick\.net|https\:\/\/play\.google\.com|https\:\/\/photos\.google\.com|https\:\/\/get\.google\.com|https\:\/\/plus\.google\.com|https\:\/\/books\.googleusercontent\.com|https\:\/\/mail\.google\.com|https\:\/\/talkgadget\.google\.com|https\:\/\/jamboard\.google\.com|https\:\/\/chat\.google\.com|https\:\/\/meet\.google\.com)$|^http:\/\/0\.[a-z0-9\-_]+\.[a-z0-9\-_]+\.[a-z0-9\-_]+\.([a-z]{2}|i)\.borg\.google\.com(:[0-9]+)?$|^http:\/\/[A-Za-z0-9]+(-v6)?\.prod\.google\.com(:[0-9]+)?$|^https:\/\/([A-Za-z0-9-]{1,63}\.)*youtube.com$|^https:\/\/(draft|www).blogger.com$|^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*corp\.google\.com(:[0-9]+)?$|([A-Za-z0-9-]{1,63}\.)*googleplex\.com(:[0-9]+)?$|(www\.|encrypted\.)google\.(cat|com(\.(a[fgiru]|b[dhnorz]|c[ouy]|do|e[cgt]|fj|g[hit]|hk|jm|kh|kw|l[bcy]|m[mtxy]|n[afgip]|om|p[aeghkry]|qa|s[abglv]|t[jnrw]|ua|uy|vc|vn))?|a[cdelmstz]|c[acdfghilmnvz]|b[aefgijsty]|ee|es|d[ejkmz]|g[aefglmpry]|f[imr]|i[emoqrst]|h[nrtu]|k[giz]|je|jo|m[degklnsuvw]|l[aiktuv]|n[eloru]|p[lnst]|s[cehikmnort]|r[osuw]|us|t[dgklmnot]|ws|vg|vu|co\.(ao|bw|ck|cr|i[dln]|jp|ke|kr|ls|ma|mz|nz|th|tz|u[gkz]|ve|vi|z[amw]))$|docs\.google\.com$|imasdk\.googleapis\.com$|lightbox-(demos|builder)\.appspot\.com$|s[01](qa)?\.2mdn\.net$|survey.g.doubleclick.net$|tpc\.googlesyndication\.com$|www\.gstatic\.com$)/;g.p(nH,g.K);g.h=nH.prototype;g.h.SL=function(a,b,c){var d=this.H[a];d||(d=this.I[a])&&(c&&Sra.test(c)||vD(Error('API call from an untrusted origin: "'+c+'"')));if(d)return d.apply(this,b);throw Error('Unknown API method: "'+a+'".');};
g.h.LL=function(){return this.F.slice()};
g.h.ML=function(){return g.Ob(this.A)};
g.h.ma=function(){return this.o};
g.h.addEventListener=function(a,b){if(g.u(b)){var c=function(){g.x(b).apply(window,arguments)};
this.D[b]=c}else c=b;this.app.ba.subscribe(a,c)};
g.h.rH=function(a,b){var c=this,d=g.u(b)?a+b:a+g.Da(b);if(!this.B[d]){var e;g.u(b)?e=function(){g.x(b).apply(window,arguments)}:e=b;
var f=function(a){e({target:c.l,data:a})};
this.B[d]=f;this.app.ba.subscribe(a,f)}};
g.h.removeEventListener=function(a,b){if(g.u(b)){var c=this.D[b];Wb(this.D,b);b=c}this.app.ba.unsubscribe(a,b)};
g.h.sH=function(a,b){var c=g.u(b)?a+b:a+g.Da(b),d=this.B[c];d&&(this.app.ba.unsubscribe(a,d),Wb(this.B,c))};
g.h.ol=function(){return wqa(this.app)};
g.h.bc=function(a,b){this.g&&L0(this.app,!0,this.playerType);Fqa(this.app,a,b,void 0,this.playerType)};
g.h.getCurrentTime=function(){return this.app.getCurrentTime(this.playerType)};
g.h.NL=function(){var a=g.TT(this.app,this.playerType);if(!a)return 0;a=CT(a);return(0,window.isNaN)(a)?this.getCurrentTime():a};
g.h.getDuration=function(){return this.app.getDuration(this.playerType)};
g.h.getVolume=function(){return this.app.K.volume};
g.h.setVolume=function(a){sH(this,a)};
g.h.isMuted=function(){return this.app.K.muted};
g.h.mute=function(){tH(this)};
g.h.Yf=function(){uH(this)};
g.h.Wd=function(){this.g&&L0(this.app,!0,this.playerType);var a=RT(this.app);2==a?(a=this.app.A.B)&&a.P("control_play"):3==a?g.ST(this.app.A).il("control_play"):xY(this.app,this.playerType)};
g.h.qd=function(){var a=RT(this.app);2==a?(a=this.app.A.B)&&a.P("control_pause"):3==a?g.ST(this.app.A).il("control_pause"):zY(this.app,this.playerType)};
g.h.rf=function(){var a=this.app;a.g.ca&&(a.l.isFullscreen()&&!a.g.experiments.g("player_external_control_on_classic_desktop")&&g.ZT(a.l),a.l.P("pageTransition"));Eqa(a)};
g.h.IL=function(){};
g.h.Tc=function(){return g.TT(this.app,1).Ea};
g.h.Vf=function(a){E0(this.app,a)};
g.h.Ej=function(){return this.app.g.oa?Qra:[1]};
g.h.nl=function(){var a=g.TT(this.app,this.playerType);if(a){var b="unknown";a.g.Ka&&(b=a.g.Ka.video.quality,"auto"==b&&a.l&&(a=a.l?a.l.ma():null)&&0<a.videoHeight&&(b=uG(a.videoWidth,a.videoHeight)))}else b="unknown";return b};
g.h.rl=function(a){if(!this.app.g.experiments.g("html5_ignore_public_setPlaybackQuality")&&!this.app.g.g){var b=g.TT(this.app,this.playerType);b&&(a=NG(a,a,!0),sT(b,"p",a))}};
g.h.Ns=function(){var a=g.TT(this.app,this.playerType);return a?(a=(0,g.H)(qT(a),function(a){return a.quality}),a.length&&("auto"==a[0]&&a.shift(),a=a.concat(["auto"])),a):[]};
g.h.PL=function(){return this.Ps()};
g.h.QL=function(){return 1};
g.h.Ps=function(){return pqa(this.app)};
g.h.RL=function(){return 0};
g.h.setSize=function(){this.app.F.Wf()};
g.h.Kz=function(a){this.Qs(a?2:1)};
g.h.Qs=function(a){Gqa(this.app,a)};
g.h.GL=function(){this.sa("SUBSCRIBE")};
g.h.HL=function(){this.sa("UNSUBSCRIBE")};
g.h.pl=function(a){"captions"==a&&(a=this.app.A.l)&&!a.loaded&&a.load()};
g.h.wo=function(a){"captions"==a&&(a=this.app.A.l)&&a.loaded&&a.KT()};
g.h.WL=function(a,b,c){a=J0(this.app,YG(a,b,c),this.playerType);this.g&&L0(this.app,a,this.playerType)};
g.h.Ez=function(a,b,c){N0(this.app,YG(a,b,c),this.playerType)};
g.h.XL=function(a,b,c){a=ZG(a,b,c);a=J0(this.app,a,this.playerType);this.g&&L0(this.app,a,this.playerType)};
g.h.KL=function(a,b,c){a=ZG(a,b,c);N0(this.app,a,this.playerType)};
g.h.getVideoUrl=function(){var a=this.app.g;if(a.F)return"";var b=this.app.o.g,c=void 0;b.za||(c=Math.floor(this.app.getCurrentTime(1)));return a.getVideoUrl(b.videoId,this.getPlaylistId()||void 0,c)};
g.h.ll=function(){return F0(this.app)};
g.h.Hz=function(){var a=this.app.g;if(a.F)var b="";else{var c=this.app.o.g.videoId;b=this.app.F.Ta();var d=this.getPlaylistId()||void 0;c="https://"+HL(a)+"/embed/"+c;d&&(c=g.Lg(c,{list:d}));d=!a.experiments.g("enable_responsive_embed_snippet");a.experiments.g("embed_snippet_includes_version")&&(c=g.Lg(c,{ecver:d?"1":"2"}));a=b.width;b=b.height;d?(d=g.pb(c),b='<iframe width="'+a+'" height="'+b+'" src="'+d+'" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>'):(d=Math.round(360*
a/b),b='<div style="position:relative;height:0;padding-bottom:'+Math.round(1E4*b/a)/100+'%"><iframe src="'+g.pb(c)+'" style="position:absolute;width:100%;height:100%;left:0" width="'+d+'" height="360" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe></div>')}return b};
g.h.Dz=function(a,b,c){return Bqa(this.app,a,b,c)};
g.h.Jz=function(a){a:{for(var b=this.app,c=qR(b.o.H)||[],d=0;d<c.length;d++){var e=c[d];if(e.ia==a){b.o.H.C(e);jU(b,"cuerangesremoved",[e]);a=!0;break a}}a=!1}return a};
g.h.VL=function(a,b,c,d){var e=this.app;e.da=!1;O0(e,a,b,c,d);this.g&&L0(this.app,!0,this.playerType)};
g.h.JL=function(a,b,c,d){var e=this.app;e.da=!0;O0(e,a,b,c,d)};
g.h.Fj=function(){R0(this.app);this.g&&L0(this.app,!0,this.playerType)};
g.h.ql=function(){Aqa(this.app);this.g&&L0(this.app,!0,this.playerType)};
g.h.Iz=function(a){var b=this.app;!b.W||b.l.isFullscreen()&&!b.ra?b.C&&(b.C.Sc?I0(b,b.C.jc(a),1):b.da=!1,nP(b.C,a)):b.l.sa("onPlaylistIndex",a);this.g&&L0(this.app,!0,this.playerType)};
g.h.setShuffle=function(a){var b=this.app.C;b&&b.setShuffle(a)};
g.h.ZL=function(a){var b=this.app.C;b&&(b.loop=a)};
g.h.Xf=function(){var a=this.app.C;if(!a)return null;for(var b=[],c=0;c<a.getLength();c++){var d=a.jc(c);d&&b.push(d.videoId)}return b};
g.h.Gz=function(){var a=this.app.C;return a?a.ie():-1};
g.h.getPlaylistId=function(){var a=this.app.C;return a&&a.listId?a.listId.toString():null};
g.h.Hd=function(a,b,c){if(!b)return null;var d=this.app.A;return"captions"==a?(a=d.l)&&a.Fs(b,c):null};
g.h.zc=function(a,b,c){return this.Hd(a,b,c)};
g.h.xi=function(a){var b=this.app.A;return"captions"==a?(b=b.l)&&b.OK():a?null:(a=[],b.l&&a.push("captions"),a)};
g.h.ea=function(){var a={},b=g.TT(this.app,this.playerType);if(b&&(b=b.g,a.video_id=b.videoId,a.author=b.author,a.title=b.title,b.Ka)){a.video_quality=b.Ka.video.quality;b=b.Ka.video;var c=[];32<b.fps&&c.push("hfr");yG(b)&&c.push("hdr");"bt2020"==b.primaries&&c.push("wcg");a.video_quality_features=c}(b=this.getPlaylistId())&&(a.list=b);return a};
g.h.Lz=function(){mqa(this.app,!0)};
g.h.TL=function(){mqa(this.app,!1)};
g.h.Fz=function(){var a=this.app.A.B;return a?a.Gs():-1};
g.h.UL=function(a){if(a!=this.app.fa.args.video_id)return!1;a=(a=g.TT(this.app,1))?a.o:null;return!(!a||!g.V(a,128)||5!=Rra[a.g.errorCode])};
g.h.OL=function(){var a=this.app.fa.clone();g.Fa(a.args,AN(this.app.o.g));return a};
g.h.aM=function(){this.app.g.W&&this.app.ca.resume()};
g.h.Os=function(){var a=this.app.A.o;return a?a.TK():{}};
g.h.vo=function(a){if(a){var b=this.app.A.o;b&&b.mz(a,!0)}};
g.h.destroy=function(){this.app.dispose()};
g.h.YL=function(){var a=g.TT(this.app);a&&!g.V(a.o,128)&&(a.P("internalAbandon"),KS(a),IS(a))};
g.h.P=function(a,b){for(var c=1;c<arguments.length;++c);this.app.g.wb&&("videodatachange"==a||"audiotrackchanged"==a||"resize"==a||"cardstatechange"==a)&&this.app.ba.P.apply(this.app.ba,arguments);this.app.Y.P.apply(this.app.Y,arguments)};
g.h.sa=function(a,b){this.app.ba.P.apply(this.app.ba,arguments);this.app.Y.P.apply(this.app.Y,arguments)};
g.h.U=function(){if(this.o){for(var a in this.A)this.o[a]=null;this.o=null}this.D=this.B=null;g.K.prototype.U.call(this)};g.vH.prototype.toString=function(){return this.languageCode+"_"+this.languageName+"_"+this.g+"_"+this.id+"_"+this.isDefault};g.wH.prototype.Qa=function(){return this.H};
g.wH.prototype.toString=function(){return this.l+": "+g.xH(this)+" - "+this.D};
g.wH.prototype.I=ca(2);g.wH.prototype.Gd=function(){return!(!this.l||this.g&&!this.g.languageCode)};yH.prototype.l=function(){return this.Nb};
yH.prototype.toString=function(){return this.Nb.name};
yH.prototype.getLanguageInfo=yH.prototype.l;g.h=g.CH.prototype;g.h.dz=function(a){this.segments.push(a)};
g.h.getDuration=function(a){return(a=this.Yh(a))?a.duration:0};
g.h.Lq=function(a){return this.getDuration(a)};
g.h.Gf=function(){return this.segments.length?this.segments[0].ua:-1};
g.h.Bs=function(a){return(a=this.Yh(a))?a.ingestionTime:window.NaN};
g.h.Ec=function(){return this.segments.length?this.segments[this.segments.length-1].ua:-1};
g.h.Fn=function(){var a=this.segments[this.segments.length-1];return a?a.endTime:window.NaN};
g.h.Xb=function(){return this.segments[0].startTime};
g.h.jj=function(){return this.segments.length};
g.h.ro=function(){return 0};
g.h.hh=function(a){return(a=this.tn(a))?a.ua:-1};
g.h.wx=function(a){return(a=this.Yh(a))?a.sourceURL:""};
g.h.Vd=function(a){return(a=this.Yh(a))?a.startTime:0};
g.h.Hn=ca(4);g.h.Ub=function(){return 0<this.segments.length};
g.h.Yh=function(a){a=g.db(this.segments,new BH(a,0,0,0,""),function(a,c){return a.ua-c.ua});
return 0<=a?this.segments[a]:null};
g.h.tn=function(a){a=g.db(this.segments,{startTime:a},function(a,c){return a.startTime-c.startTime});
return 0<=a?this.segments[a]:this.segments[Math.max(0,-a-2)]};
g.h.qx=function(){return 0};EH.prototype.skip=function(a){this.g+=a};IH.prototype.fn=function(a,b,c){(new window.Uint8Array(this.data.buffer,this.g,c)).set(new window.Uint8Array(a.buffer,b+a.byteOffset,c));this.g+=c};g.eI.prototype.toString=function(){return this.start+"-"+(null==this.end?"":this.end)};GI.prototype.verify=function(){if(this.info.fb!=this.range.length)return!1;if(1==this.info.g.info.containerType){if(8>this.info.fb||4==this.info.type)return!0;var a=HI(this),b=a.getUint32(0,!1);a=a.getUint32(4,!1);if(2==this.info.type)return b==this.info.fb&&1936286840==a;if(3==this.info.type&&0==this.info.l)return 1836019558==a||1936286840==a||1937013104==a||1718909296==a||1701671783==a||1936419184==a}else if(2==this.info.g.info.containerType){if(4>this.info.fb||4==this.info.type)return!0;b=HI(this).getUint32(0,
!1);if(3==this.info.type&&0==this.info.l)return 524531317==b||440786851==b}return!0};var qqa=['video/mp4; codecs="avc1.42001E, mp4a.40.2"','video/webm; codecs="vp8.0, vorbis"'],rqa=['audio/mp4; codecs="mp4a.40.2"'];PI.prototype.start=function(){return 0};
PI.prototype.end=function(){return window.Infinity};g.h=QI.prototype;g.h.addEventListener=function(){};
g.h.removeEventListener=function(){};
g.h.dispatchEvent=function(){return!1};
g.h.abort=function(){};
g.h.remove=function(){};
g.h.appendBuffer=function(){};g.h=RI.prototype;g.h.append=function(a){this.l.webkitSourceAppend(this.o,a)};
g.h.abort=function(){this.l.webkitSourceAbort(this.o)};
g.h.ZT=function(){return this.l.webkitSourceState==this.l.SOURCE_CLOSED?new oka:this.l.webkitSourceBuffered(this.o)};
g.h.bU=function(){return this.A};
g.h.fU=function(a){this.A=a;this.l.webkitSourceTimestampOffset(this.o,a)};g.h=SI.prototype;g.h.addEventListener=function(a,b,c){this.g.addEventListener(a,b,c)};
g.h.removeEventListener=function(a,b,c){this.g.removeEventListener(a,b,c)};
g.h.uL=function(){return this.g.webkitMediaSourceURL};
g.h.addSourceBuffer=function(a){var b=(this.o++).toString();this.g.webkitSourceAddId(b,a);a=new RI(this.g,b);this.sourceBuffers.push(a);return a};
g.h.removeSourceBuffer=function(a){for(var b=0;b<this.sourceBuffers.length;b++)if(a===this.sourceBuffers[b]){this.g.webkitSourceRemoveId(a.o);for(a=b+1;a<this.sourceBuffers.length;a++)this.sourceBuffers[a-1]=this.sourceBuffers[a];this.sourceBuffers.pop();break}};
g.h.cU=function(){switch(this.g.webkitSourceState){case this.g.SOURCE_CLOSED:return"closed";case this.g.SOURCE_OPEN:return"open";case this.g.SOURCE_ENDED:return"ended"}return""};
g.h.endOfStream=function(){this.g.webkitSourceEndOfStream(this.g.EOS_NO_ERROR)};
g.h.dU=function(){Qa(this.sourceBuffers)};
g.h.aU=function(){return this.l};
g.h.eU=function(a){this.l=a;this.g.webkitSourceSetDuration&&this.g.webkitSourceSetDuration(a)};g.p(UI,g.K);UI.prototype.I=function(){if(!this.ha()&&WI(this))try{this.A&&(this.A(this),this.A=null)}catch(a){this.C&&this.C(a)}};
UI.prototype.H=function(){this.dispose()};g.eJ.prototype.set=function(a,b){this.g[a]!==b&&(this.g[a]=b,this.o="")};
g.eJ.prototype.get=function(a){fJ(this);return this.g[a]||null};
g.eJ.prototype.Qa=function(){this.o||(this.o=rka(this));return this.o};
g.eJ.prototype.clone=function(){var a=new g.eJ(this.A);a.C=this.C;a.l=this.l;a.B=this.B;a.g=g.Yb(this.g);a.o=this.o;return a};
var iJ=!1;nJ.prototype.set=function(a,b){this.g.get(a);this.l[a]=b;this.o=""};
nJ.prototype.get=function(a){return this.l[a]||this.g.get(a)};
nJ.prototype.Qa=function(){this.o||(this.o=tka(this));return this.o};var Tra=0;g.h=xJ.prototype;g.h.Ce=function(){};
g.h.wc=function(){};
g.h.Wr=function(){return!1};
g.h.Fd=function(){return!!this.g&&!!this.index&&this.index.Ub()};
g.h.wi=function(){};
g.h.fz=function(){return!1};
g.h.Ik=function(){};
g.h.ti=function(){};
g.h.dl=function(){};
g.h.gh=function(){};
g.h.lr=function(){};
g.h.gz=function(a){return[a]};
g.h.Vo=function(a){return[a]};
g.h.Lt=function(){};
g.h.Oq=function(){};g.p(zJ,xJ);g.h=zJ.prototype;g.h.Ce=function(){return!1};
g.h.wc=function(){return!1};
g.h.fz=function(){return this.l};
g.h.Ik=function(){if(this.l)return[];var a=new iI(1,this,this.initRange);return[new uJ([a],this.H)]};
g.h.ti=function(){return null};
g.h.dl=function(a){this.wi(a);return this.gn(a.o?a.ua+1:a.ua,!1)};
g.h.gh=function(a,b){b=void 0===b?!1:b;var c=this.index.hh(a);b&&(c=Math.min(this.index.Ec(),c+1));return this.gn(c,!0)};
g.h.lr=function(a){this.g=new window.Uint8Array(HI(a).buffer)};
g.h.Wr=function(){return!1};
g.h.wi=function(a){return 0==a.fb?!0:this.index.Ec()>a.ua&&this.index.Gf()<=a.ua+1};
g.h.update=function(a,b,c){var d=this.index;if(0!=a.length)if(a=g.Wa(a),0==d.segments.length)d.segments=a;else{var e=d.segments.length?g.Ia(d.segments).endTime:0,f=a[0].ua-d.Ec();1<f&&Qa(d.segments);for(f=0<f?0:-f+1;f<a.length;f++){var k=a[f];k.startTime=e;k.endTime=k.startTime+k.duration;e+=a[f].duration;d.segments.push(a[f])}}DH(this.index,c);this.F=b};
g.h.Fd=function(){return this.l?!0:xJ.prototype.Fd.call(this)};
g.h.gn=function(a,b){var c=this.index.wx(a),d=this.index.Vd(a),e=this.index.getDuration(a),f;b?e=f=0:f=0<this.info.g?this.info.g*e:1E3;d=new iI(3,this,null,a,d,e,0,f,a==this.index.Ec()&&!this.F&&0<f);return new uJ([d],c)};
g.h.Oq=function(){return this.l?0:this.initRange.length};
g.h.Lt=function(){return!1};g.p(AJ,g.CH);g.h=AJ.prototype;g.h.Gf=function(){return this.g?this.segments.length?this.tn(this.Xb()).ua:-1:g.CH.prototype.Gf.call(this)};
g.h.Xb=function(){return this.g?this.segments.length?Math.max(g.Ia(this.segments).endTime-this.o,0):0:g.CH.prototype.Xb.call(this)};
g.h.jj=function(){return this.g?this.segments.length?this.Ec()-this.Gf()+1:0:g.CH.prototype.jj.call(this)};
g.h.dz=function(a){var b=BJ(this,a.ua);0<=b?this.segments[b]=a:this.segments.splice(-(b+1),0,a)};
g.h.tn=function(a){if(!this.g)return g.CH.prototype.tn.call(this,a);if(!this.segments.length)return null;var b=g.db(this.segments,{startTime:a},function(a,b){return a.startTime-b.startTime}),c=this.segments[0<=b?b:Math.max(-(b+2),0)];
return c.startTime+c.duration>a&&c.startTime<=a?c:-1==b?DJ(this,c.ua-Math.ceil((c.startTime-a)/this.l),c):DJ(this,c.ua+Math.ceil((a-c.endTime)/this.l),c)};
g.h.Yh=function(a){if(!this.g)return g.CH.prototype.Yh.call(this,a);if(!this.segments.length)return null;var b=BJ(this,a);return 0<=b?this.segments[b]:DJ(this,a,this.segments[Math.max(-(b+2),0)])};g.p(EJ,zJ);g.h=EJ.prototype;g.h.wc=function(){return!0};
g.h.Fd=function(){return!0};
g.h.wi=function(){return!0};
g.h.Ik=function(){return[]};
g.h.gh=function(a,b){if(g.ua(a)&&!(0,window.isFinite)(a)){var c=new iI(3,this,null,-1,void 0,this.B,void 0,this.B*this.info.g);return new uJ([c],"")}return zJ.prototype.gh.call(this,a,b)};
g.h.gn=function(a,b){if(CJ(this.index,a))return zJ.prototype.gn.call(this,a,b);var c=this.index.Vd(a);c=new iI(3,this,null,a,c,void 0,void 0,b?0:this.B*this.info.g);return new uJ([c],0<=a?"sq/"+a:"")};JJ.prototype.update=function(a,b){var c=void 0;this.l&&(c=this.l);var d=new JJ,e=a.getElementsByTagName("S");if(e.length){var f=+FJ(a,"timescale")||1,k=(+e[0].getAttribute("t")||0)/f,l=+FJ(a,"startNumber")||0;var m=k;var n=+FJ(a,"presentationTimeOffset")||0;m=c?c.Xe+c.durationSecs:b?m-n/f:0;n=Date.parse(IJ(FJ(a,"yt:segmentIngestTime")))/1E3;d.o="SegmentTemplate"==a.parentNode.tagName;d.o&&(d.C=FJ(a,"media"));var q=c?l-c.ua:1;d.B=0<q?0:-q+1;e=g.na(e);for(q=e.next();!q.done;q=e.next()){q=q.value;for(var r=
+q.getAttribute("d")/f,v=(+q.getAttribute("yt:sid")||0)/f,B=+q.getAttribute("r")||0,F=0;F<=B;F++)if(c&&l<=c.ua)l++;else{var L=new xka(l,m,r,n+v,k);d.g.push(L);var Y=L.Xe,la=q.getAttribute("yt:cuepointTimeOffset");L=q.getAttribute("yt:cuepointDuration");la&&L?(Y=+la/f+Y,L=+L/f,la=q.getAttribute("yt:cuepointContext")||null,L=new MH(Y,L,la)):L=null;L&&d.A.push(L);l++;m+=r;k+=r;n+=r+v}}d.g.length&&(d.l=g.Ia(d.g))}this.B=d.B;this.l=d.l||this.l;Xa(this.g,d.g);Xa(this.A,d.A);this.o=d.o;this.C=d.C};
JJ.prototype.eh=function(a,b,c,d){for(var e=this.C.split("$$"),f=0;f<e.length;f++)e[f]=e[f].replace("$RepresentationID$",a),e[f]=e[f].replace("$Number$",c.toString()),e[f]=e[f].replace("$Bandwidth$",b.toString()),e[f]=e[f].replace("$Time$",d.toString());return e.join("$")};g.h=g.KJ.prototype;g.h.ro=function(a){return this.g[a]};
g.h.Vd=function(a){return this.l[a]/this.A};
g.h.Hn=ca(3);g.h.Bs=function(){return window.NaN};
g.h.getDuration=function(a){a=this.Lq(a);return 0<=a?a/this.A:-1};
g.h.Lq=function(a){return a+1<this.Ha||this.o?this.l[a+1]-this.l[a]:-1};
g.h.Gf=function(){return 0};
g.h.Ec=function(){return this.Ha-1};
g.h.Fn=function(){return this.o?this.l[this.Ha]/this.A:window.NaN};
g.h.Xb=function(){return 0};
g.h.jj=function(){return this.Ha};
g.h.wx=function(){return""};
g.h.hh=function(a){a=g.db(this.l.subarray(0,this.Ha),a*this.A);return 0<=a?a:Math.max(0,-a-2)};
g.h.Ub=function(){return 0<=this.Ec()};
g.h.qx=function(a,b){if(a>=this.Ec())return 0;for(var c=0,d=this.Vd(a)+b,e=a;e<this.Ec()&&d>this.Vd(e);e++)c=Math.max(c,(e+1<this.Ha||this.o?this.g[e+1]-this.g[e]:-1)/this.getDuration(e));return c};
g.h.cap=function(a,b){LJ(this);this.o=!0;this.l[this.Ha]=b;this.g[this.Ha]=a};g.p(g.MJ,xJ);g.h=g.MJ.prototype;g.h.Ik=function(a){var b=new iI(1,this,this.initRange),c=new iI(2,this,this.indexRange),d=[],e=[b];kI(b,c)?e.push(c):(d.push(new uJ([c])),a=0);(0,window.isNaN)(this.l)&&(a=0);b=e[e.length-1];a=Math.min(a,this.l-(b.range.end-e[0].range.start+1));0<a&&(a=gI(b.range.end+1,a),e.push(new iI(4,this,a)));d.push(new uJ(e));return d};
g.h.lr=function(a){if(1==a.info.type){if(this.g)return;if(a.g.slice)var b=new window.Uint8Array(a.g.slice(a.range.start,a.range.end+1));else b=new window.Uint8Array(a.g,a.range.start,a.range.end+1),b=new window.Uint8Array(b);this.g=b}else if(2==a.info.type){if(this.B||0<=this.index.Ec())return;if(g.EG(this.info)){b=this.index;var c=HI(a),d=a.info.range.start;a=0;var e=c.getUint32(0,!1),f=c.getUint8(a+8);a+=12;var k=c.getUint32(a+4,!1);b.A=k;a+=8;0==f?(f=c.getUint32(a,!1),k=c.getUint32(a+4,!1),a+=
8):(f=4294967296*c.getUint32(a,!1)+c.getUint32(a+4,!1),k=4294967296*c.getUint32(a+8,!1)+c.getUint32(a+12,!1),a+=16);b.g[0]=k+(e+d);b.l[0]=f;b.o=!0;d=c.getUint16(a+2,!1);a+=4;for(e=0;e<d;e++){f=c.getUint32(a,!1);k=c.getUint32(a+4,!1);a+=12;var l=b;l.Ha++;LJ(l);l.g[l.Ha]=l.g[l.Ha-1]+f;l.l[l.Ha]=l.l[l.Ha-1]+k}}else this.B=HI(a)}if(2==this.info.containerType&&this.g&&this.B){a=new window.DataView(this.g.buffer);b=this.index;k=this.B;c=this.indexRange.end;a=new qI(a);if(uI(a,440786851)&&(AI(a),uI(a,408125543)&&
(e=a,f=e.g,d=vI(e,!0),e.g=f,a=tI(a),e=a.o+a.g,uI(a,357149030)))){a=tI(a);l=1E6;var m=1E9;for(f=0;!rI(a);){var n=vI(a,!1);2807729==n?l=zI(a):2807730==n?m=zI(a):17545==n?f=BI(a):AI(a)}b.A=m/l;a=new qI(k);if(uI(a,475249515)){a=tI(a);k=!0;for(l=!1;uI(a,187);){m=tI(a);if(uI(m,179))if(n=zI(m),uI(m,183)){m=tI(m);for(var q=e;uI(m,241);)q=zI(m)+e;m=[q,n]}else m=null;else m=null;q=m;k&&c==q[0]&&(l=!0);k=!1;l&&(q[0]+=1);m=b;n=q[0];q=q[1];LJ(m);m.g[m.Ha]=n;m.l[m.Ha]=q;m.Ha++}b.cap(d+e,f)}}this.B=null}};
g.h.gz=function(a){for(var b=this.Vo(a.info),c=[],d=a.pe,e=0;e<b.length;e++){var f=gI(b[e].range.start+b[e].l-a.info.range.start+a.range.start,b[e].fb);c.push(new GI(b[e],a.g,f,a.o,d));d=!1}return c};
g.h.Vo=function(a){for(var b=0;b<this.index.Ec()&&a.range.start>=this.index.ro(b+1);)b++;return NJ(this,b,a.range.start,a.range.length).Ba};
g.h.wi=function(a){return this.Fd()?!0:(0,window.isNaN)(this.l)?!1:a.range.end+1<this.l};
g.h.ti=function(a,b){this.wi(a);if(!this.Fd()){var c=gI(a.range.end+1,b);c.end+1>this.l&&(c=new g.eI(c.start,this.l-1));c=[new iI(4,a.g,c)];return new uJ(c)}4==a.type&&(c=this.Vo(a),a=c[c.length-1]);c=0;var d=a.range.start+a.l+a.fb;3==a.type&&(c=a.ua,d==a.range.end+1&&(c+=1));return NJ(this,c,d,b)};
g.h.dl=function(){return null};
g.h.gh=function(a,b){var c=this.index.hh(a);b&&(c=Math.min(this.index.Ec(),c+1));return NJ(this,c,this.index.ro(c),0)};
g.h.Wr=function(){var a;if(a=this.Fd()&&!(0,window.isNaN)(this.l))a=this.index,a=(a.o?a.g[a.Ha]:-1)!=this.l;return a};
g.h.Ce=function(){return!0};
g.h.wc=function(){return!1};
g.h.Oq=function(){return this.indexRange.length+this.initRange.length};
g.h.Lt=function(){return this.indexRange&&this.initRange&&this.initRange.end+1==this.indexRange.start?!0:!1};var QJ={Mv:function(a,b){a.splice(0,b)},
s5:function(a,b){var c=a[0];a[0]=a[b%a.length];a[b]=c},
U8:function(a){a.reverse()}};g.p(SJ,g.hF);g.h=SJ.prototype;g.h.Pf=function(){return Kb(this.g,function(a){return a.info.video?2==a.info.video.projectionType:!1})};
g.h.Qf=function(){return Kb(this.g,function(a){return a.info.video?3==a.info.video.projectionType:!1})};
g.h.Ne=function(){return Kb(this.g,function(a){return a.info.video?4==a.info.video.projectionType:!1})};
g.h.li=function(){return Kb(this.g,function(a){return a.info.video?1==a.info.video.stereoLayout:!1})};
g.h.uS=function(a){var b=a.getElementsByTagName("Representation");if(0<a.getElementsByTagName("SegmentList").length||0<a.getElementsByTagName("SegmentTemplate").length){this.o=!0;this.B||(this.B=new zka);Dka(this.B,a,this.ca);this.P("refresh");for(a=0;a<b.length;a++){var c=$J(this,b[a]),d=this.isLive&&g.EG(c)&&this.da;if(!this.g[c.id]){var e=XJ(GJ(b[a],"BaseURL").textContent),f=GJ(b[a],"Initialization"),k=FJ(f,"sourceURL");f=fI(FJ(f,"range"));d&&(k="",f=void 0);this.g[c.id]=new zJ(e,c,k,null===f?
void 0:f)}c=this.g[c.id];e=FJ(b[a],"id","AdaptationSet");e=""!=e?e:FJ(b[a],"mimetype","AdaptationSet");k=this.B;e=k.o[c.info.id]||k.l[e]||k.g||null;k=e.g;if(e.o)for(d=[],k=g.na(k),f=k.next();!f.done;f=k.next()){f=f.value;var l=e.eh(c.info.id,8*c.info.g,f.ua,f.Xe);d.push(new BH(f.ua,f.Xe,f.durationSecs,f.g,l,null,f.l))}else{e=g.Ya(GJ(b[a],"SegmentList").getElementsByTagName("SegmentURL"),e.B);f=[];for(l=0;l<e.length;l++)f.push(Nka(e[l],k[l],d));d=f}c.update(d,this.isLive,this.V)}Eka(this.B);return!0}this.duration=
HJ(FJ(a,"mediaPresentationDuration"));a:{for(a=0;a<b.length;a++){k=b[a];c=$J(this,k);e=GJ(k,"BaseURL");d=XJ(e.textContent);f=GJ(k,"SegmentBase");k=fI(f.attributes.indexRange.value);f=fI(f.getElementsByTagName("Initialization")[0].attributes.range.value);e=(0,window.parseInt)(e.getAttribute(YJ(this,"contentLength")),10);c=new g.MJ(d,c,f,k,e,window.NaN);if(!c){b=!1;break a}this.g[c.info.id]=c}b=!0}return b};
g.h.Ie=function(a){return this.B?g.Ya(this.B.A,a):this.K.length?g.Ya(this.K,a):[]};
g.h.QH=function(a){if(this.ha())return this;this.M=a.status;a=a.responseText;a=(new window.DOMParser).parseFromString(a,"text/xml").getElementsByTagName("MPD")[0];this.D=1E3*HJ(FJ(a,"minimumUpdatePeriod"))||window.Infinity;if(!this.N){var b;a:{for(b=0;b<a.attributes.length;b++)if("http://youtube.com/yt/2012/10/10"==a.attributes[b].value){b=a.attributes[b].name.split(":")[1];break a}b=""}this.X=b}this.isLive=window.Infinity>this.D&&this.fa;this.V=(0,window.parseInt)(FJ(a,YJ(this,"earliestMediaSequence")),
10)||0;if(b=Date.parse(IJ(FJ(a,YJ(this,"mpdResponseTime")))))this.F=((0,g.G)()-b)/1E3;this.isLive&&0>=a.getElementsByTagName("SegmentTimeline").length||(0,g.Wl)(a.getElementsByTagName("Period"),this.uS,this);this.C=2;this.P("loaded");dK(this);return this};
g.h.TH=function(a){this.M=a.g.status;this.C=3;this.P("loaderror");return Xf(a.g)};
g.h.ez=function(){if(1!=this.C&&!this.ha()){var a=g.Lg(this.W,{start_seq:Oka(this).toString()});g.eg(aK(this,a),function(){})}};
g.h.resume=function(){dK(this)};
g.h.Rd=function(){var a=this.g,b=window.NaN,c;for(c in a){var d=a[c].index;d&&d.Ub()&&((0,window.isNaN)(b)||d.Fn()<b)&&(b=d.Fn())}return b};
g.h.Xb=function(){var a=this.g,b;for(b in a){var c=a[b].index;if(c&&c.Ub())return c.Xb()}return 0};
g.h.qK=function(){return this.F};
var hK=null,ZJ={commentary:1,alternate:2,dub:3,main:4};var L1={},sK=(L1.playready=["com.youtube.playready","com.microsoft.playready"],L1.widevine=["com.widevine.alpha"],L1),Tka=g.Va(sK.widevine,sK.playready);g.p(rK,g.K);rK.prototype.D=function(){(this.C=this.o.g("html5_widevine_robustness_strings")&&!this.C&&"widevine"==this.g[this.l[0]].flavor)||this.l.shift();tK(this)};
rK.prototype.F=function(a,b){this.ha()||(a.l=b,Uka(this,a),this.B(a))};var tla={t_:"red",R1:"white"};uK.prototype.g=function(a,b){var c=Math.pow(this.B,a);this.l=b*(1-c)+c*this.l;this.A+=a};
uK.prototype.o=function(){return this.l/(1-Math.pow(this.B,this.A))};wK.prototype.g=function(a,b){var c=Math.min(this.l,Math.max(1,Math.round(a*this.K)));c+this.A>=this.l&&(this.C=!0);for(;c--;)this.B[this.A]=b,this.A=(this.A+1)%this.l;this.F=!0};
wK.prototype.o=function(){return this.H?(xK(this,this.D-this.H)+xK(this,this.D)+xK(this,this.D+this.H))/3:xK(this,this.D)};var sla={jV:"adunit",NW:"detailpage",lX:"editpage",nX:"embedded",zY:"leanback",i_:"previewpage",j_:"profilepage",m1:"unplugged"};HK.prototype.getAvailableAudioTracks=function(){return this.audioTracks};var Ura={cupcake:1.5,donut:1.6,eclair:2,froyo:2.2,gingerbread:2.3,honeycomb:3,"ice cream sandwich":4,jellybean:4.1,kitkat:4.4,lollipop:5.1,marshmallow:6,nougat:7.1},M1;var N1=g.Gb;N1=N1.toLowerCase();if(-1!=N1.indexOf("android")){var Vra=N1.match(/android\D*(\d\.\d)[^;|\)]*[;\)]/);if(Vra)M1=(0,window.parseFloat)(Vra[1]);else{var Wra=N1.match("("+g.Ob(Ura).join("|")+")");M1=Wra?Ura[Wra[0]]:0}}else M1=void 0;var MK=M1,TK=0<=MK;var ila="1 9h 9 h 8 (h ( H *".split(" "),hla="1 9h 9 h 8 ( H *".split(" "),UK="h198H(*".split(""),kla="oMavAV".split(""),nla=["so","sa"],mla="moMavAV".split(""),lla="aoMvAV".split(""),jla=["f"],dla={'video/mp4; codecs="avc1.42001E, mp4a.40.2"':"maybe"},ela={"application/x-mpegURL":"maybe"},bla={"application/x-mpegURL":"maybe"};var BL={JY:1,KY:2,LY:3};g.p(eL,g.hF);eL.prototype.add=function(a,b){!this.Ja[a]&&(b.lq||b.Qh||b.ek)&&(this.Ja[a]=cc(b),this.P("vast_info_card_add",a))};
eL.prototype.remove=function(a){var b=this.get(a);delete this.Ja[a];return b};
eL.prototype.get=function(a){return this.Ja[a]||null};
eL.prototype.isEmpty=function(){return g.Ub(this.Ja)};var pla=/^([0-9\.]+):([0-9\.]+)$/;var mL=g.x("ytglobal.prefsUserPrefsPrefs_")||{};g.va("ytglobal.prefsUserPrefsPrefs_",mL,void 0);g.h=nL.prototype;g.h.get=function(a,b){pL(a);oL(a);var c=void 0!==mL[a]?mL[a].toString():null;return null!=c?c:b?b:""};
g.h.set=function(a,b){pL(a);oL(a);if(null==b)throw Error("ExpectedNotNull");mL[a]=b.toString()};
g.h.remove=function(a){pL(a);oL(a);delete mL[a]};
g.h.save=function(){var a=this.g,b=[],c;for(c in mL)b.push(c+"="+(0,window.encodeURIComponent)(String(mL[c])));g.oG(a,b.join("&"),63072E3)};
g.h.clear=function(){g.Vb(mL)};
g.wa(nL);var qL="blogger books docs google-live play chat picasaweb gmail jamboard".split(" ");g.p(EL,g.K);
EL.prototype.Lg=function(a){this.ka=iL(this.ka,a.video_id);this.ib=iL(this.ib,a.eventid);this.Y=a.oauth_token;for(var b in Xra){var c=Xra[b],d=a[c];void 0!=d&&(this.A[c]=d)}b=a.cl;!this.Pa&&b&&(this.Pa=+b);this.userAge=hL(this.userAge,a.user_age);this.userDisplayImage=iL(this.userDisplayImage,a.user_display_image);g.fH(this.userDisplayImage)||(this.userDisplayImage="");this.userDisplayName=iL(this.userDisplayName,a.user_display_name);this.userGender=iL(this.userGender,a.user_gender);this.csiPageType=
iL(this.csiPageType,a.csi_page_type);this.ob=iL(this.ob,a.csi_service_name);this.yd=fL(this.yd,a.enablecsi);if(a=a.enabled_engage_types)this.Zb=new window.Set(a.split(","))};
EL.prototype.getVideoUrl=function(a,b,c,d,e){b={list:b};c&&(e?b.time_continue=c:b.t=c);c=HL(this);d&&"www.youtube.com"==c?d="https://youtu.be/"+a:g.KL(this)?(d="https://"+c+"/fire",b.v=a):(d=this.protocol+"://"+c+"/watch",b.v=a,LK&&(a=g.x("yt.ads.biscotti.lastId_")||"")&&(b.ebc=a));return g.Lg(d,b)};
var Xra={TV:"cbrand",UV:"cbr",VV:"cbrver",pY:"c",sY:"cver",rY:"ctheme",qY:"cplayer",WY:"cmodel",DZ:"cnetwork",NZ:"cos",OZ:"cosver",UZ:"cplatform"};var wla=new window.Set("BASE_URL BASE_YT_URL abd allow_embed authuser autoplay captions_load_policy cc_load_policy cc3_module dash dashmpd disable_native_context_menu docid el enable_cardio enablecastapi enablepostapi fmt_list fmt_stream_map hl hlsdvr hlsrange hlsvp html5 iurl iurlhq iurlmq length_seconds live_playback nohtml5 origin override_hl partnerid plid postid ps public rel reload_count reload_reason reportabuseurl resume start status streaminglib_load_policy streaminglib_preroll t timestamp title token ttsurl use_native_controls url_encoded_fmt_stream_map video_id videoid wmode".split(" "));g.p(XL,LG);
XL.prototype.g=function(){if(!this.l||this.l.ha()){var a=this.o;zla(a);for(var b=["#EXTM3U","#EXT-X-INDEPENDENT-SEGMENTS"],c={},d=0,e=a.o.length;d<e;++d){var f=a.o[d];if(!a.l||!f.Nb||f.Nb.id==a.l)if(c[f.itag]=f,a.A)b.push('#EXT-X-MEDIA:TYPE=AUDIO,NAME="audio",DEFAULT=YES,AUTOSELECT=YES,'+('GROUP-ID="'+f.itag.toString()+'",')+('URI="'+f.url+'"'));else{var k="#EXT-X-MEDIA:TYPE=AUDIO,",l="YES",m="audio";if(f.Nb){m=f.Nb;var n=m.id.split(".")[0];n&&(k+='LANGUAGE="'+n+'",');a.l||m.isDefault||(l="NO");m=
m.name}k=k+('NAME="'+m+'",'+("DEFAULT="+l+",AUTOSELECT=YES,"))+('GROUP-ID="'+f.itag.toString()+'",'+('URI="'+f.url+'"'));b.push(k)}}d=0;for(e=a.g.length;d<e;++d)f=a.g[d],k=c[f.audioItag],b.push("#EXT-X-STREAM-INF:BANDWIDTH="+(f.bitrate+k.bitrate)+","+('CODECS="'+f.pw+","+k.pw+'",')+("RESOLUTION="+f.width+"x"+f.height+",")+('AUDIO="'+k.itag.toString()+'",')+"CLOSED-CAPTIONS=NONE"),b.push(f.url);a="data:application/x-mpegurl;charset=utf-8,"+(0,window.encodeURIComponent)(b.join("\n"));this.l=new KG(a)}return this.l};var Yra={UNKNOWN:"UNKNOWN",NORMAL:"NORMAL",QY:"LOW",j1:"ULTRALOW"};g.p(ZL,LG);ZL.prototype.g=function(){return new KG(this.l.Qa())};
ZL.prototype.A=function(){this.l=jJ(this.l)};g.h=g.aM.prototype;g.h.Fb=function(){return this.C};
g.h.getHeight=function(){return this.B};
g.h.mx=ca(5);g.h.Mq=function(){return this.l};
g.h.isDefault=function(){return-1!=this.A.indexOf("default")};
g.h.Ub=function(a){return this.Sc.has(a)};
g.h.Qa=function(a){var b=this.I;b=b.replace("$N",this.A);b=b.replace("$L",this.H.toString());b=b.replace("$M",a.toString());this.D&&(b=g.Lg(b,{sigh:this.D}));return kH(b)};
g.h.tl=function(a){var b=this.Mq()-1;return g.Wc(0==this.o?Math.round(a*this.l/this.K):Math.round(1E3*a/this.o),0,b)};
g.h.Ao=function(){return this.l-1};
g.h.Vz=function(){return this.l?0:-1};
g.h.Wz=function(){};g.p(cM,g.hF);cM.prototype.I=function(a,b){this.l=this.l.onload=null;var c=this.g[a];c.Sc.add(b);fM(this);var d=c.columns*c.rows;var e=b*d;c=Math.min(e+d-1,c.Mq()-1);e=[e,c];this.P("l",e[0],e[1])};
cM.prototype.U=function(){this.l&&(this.l=this.l.onload=null);g.hF.prototype.U.call(this)};g.p(hM,cM);hM.prototype.o=function(a,b){for(var c=[],d=a.split("|"),e=d[0],f=1;f<d.length;f++){var k=this.C(f-1,e,d[f],b);180>k.getHeight()&&c.push(k)}return c};
hM.prototype.C=function(a,b,c,d){return new g.aM(a,b,c,d)};
hM.prototype.H=function(){};g.p(iM,g.aM);g.h=iM.prototype;g.h.Mq=function(){return this.g?this.g.jj():-1};
g.h.tl=function(a){var b=this.rows*this.columns*this.F,c=-1,d=-1,e=this.g;e&&(c=e.Ec(),d=e.hh(a));return d>c-b?-1:d};
g.h.Ao=function(){return this.g?this.g.Ec():-1};
g.h.Vz=function(){return this.g?this.g.Gf():-1};
g.h.Wz=function(a){this.g=a};g.p(jM,hM);jM.prototype.o=function(a,b){return hM.prototype.o.call(this,"$N|"+a,b)};
jM.prototype.C=function(a,b,c){return new iM(a,b,c,this.isLive)};
jM.prototype.H=function(a){for(var b=0;b<this.g.length;b++)this.g[b].Wz(a)};g.p(kM,LG);kM.prototype.g=function(){return new KG(this.l)};var lM={iurl:"default.jpg",iurlmq:"mqdefault.jpg",iurlhq:"hqdefault.jpg",iurlsd:"sddefault.jpg",iurlpop1:"pop1.jpg",iurlpop2:"pop2.jpg",iurlhq720:"hq720.jpg",iurlmaxres:"maxresdefault.jpg"},Dla={120:"default.jpg",320:"mqdefault.jpg",480:"hqdefault.jpg",560:"pop1.jpg",640:"sddefault.jpg",854:"pop2.jpg",1280:"hq720.jpg"};g.pM.prototype.toString=function(){return this.topic};var Zra=g.x("ytPubsub2Pubsub2Instance")||new g.DC;g.DC.prototype.subscribe=g.DC.prototype.subscribe;g.DC.prototype.unsubscribeByKey=g.DC.prototype.Jd;g.DC.prototype.publish=g.DC.prototype.P;g.DC.prototype.clear=g.DC.prototype.clear;g.va("ytPubsub2Pubsub2Instance",Zra,void 0);var sM=g.x("ytPubsub2Pubsub2SubscribedKeys")||{};g.va("ytPubsub2Pubsub2SubscribedKeys",sM,void 0);var uM=g.x("ytPubsub2Pubsub2TopicToKeys")||{};g.va("ytPubsub2Pubsub2TopicToKeys",uM,void 0);
var tM=g.x("ytPubsub2Pubsub2IsAsync")||{};g.va("ytPubsub2Pubsub2IsAsync",tM,void 0);g.va("ytPubsub2Pubsub2SkipSubKey",null,void 0);var zM=window.performance||window.mozPerformance||window.msPerformance||window.webkitPerformance||{};g.p(BM,g.oM);g.p(CM,g.oM);var Mla=new g.pM("aft-recorded",BM),wM=new g.pM("timing-sent",CM);var Nla={vc:!0},NM={'script[name="scheduler/scheduler"]':"sj",'script[name="player/base"]':"pj",'link[rel="stylesheet"][name="www-player"]':"pc",'link[rel="stylesheet"][name="player/www-player"]':"pc",'script[name="desktop_polymer/desktop_polymer"]':"dpj",'link[rel="import"][name="desktop_polymer"]':"dph",'link[rel="import"][name="desktop_polymer_selective_initialization_home"]':"dpsihh",'link[rel="import"][name="desktop_polymer_selective_initialization_watch"]':"dpsiwh",'link[rel="import"][name="desktop_polymer_sel_auto_home"]':"dpsahh",
'link[rel="import"][name="desktop_polymer_sel_auto_watch"]':"dpsawh",'script[name="mobile-c3/mobile-c3"]':"mcj",'link[rel="stylesheet"][name="mobile-c3"]':"mcc",'script[name="player-plasma-phone/base"]':"mcppj",'script[name="player-plasma-tablet/base"]':"mcptj",'link[rel="stylesheet"][name="mobile-polymer-player"]':"mcpc",'script[name="mobile_blazer_core_mod"]':"mbcj",'link[rel="stylesheet"][name="mobile_blazer_css"]':"mbc",'script[name="mobile_blazer_logged_in_users_mod"]':"mbliuj",'script[name="mobile_blazer_logged_out_users_mod"]':"mblouj",
'script[name="mobile_blazer_noncore_mod"]':"mbnj","#player_css":"mbpc",'script[name="mobile_blazer_desktopplayer_mod"]':"mbpj",'link[rel="stylesheet"][name="mobile_blazer_tablet_css"]':"mbtc",'script[name="mobile_blazer_watch_mod"]':"mbwj"},XM={ad_allowed:"adTypesAllowed",ad_at:"adType",ad_cpn:"adClientPlaybackNonce",ad_docid:"adVideoId",yt_ad_an:"adNetworks",p:"httpProtocol",t:"transportProtocol",cpn:"clientPlaybackNonce",csn:"clientScreenNonce",docid:"videoId",is_nav:"isNavigation",yt_lt:"loadType",
yt_ad:"isMonetized",nr:"webInfo.navigationReason",ncnp:"webInfo.nonPreloadedNodeCount",paused:"playerInfo.isPausedOnLoad",fmt:"playerInfo.itag",yt_pl:"watchInfo.isPlaylist",yt_ad_pr:"prerollAllowed",yt_red:"isRedSubscriber",st:"serverTimeMs",vph:"viewportHeight",vpw:"viewportWidth",yt_vis:"isVisible"},Lla="ap c cver ei srt yt_fss yt_li plid vpil vpni vpst yt_eil 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(" "),
Pla={ad_to_ad:"LATENCY_ACTION_AD_TO_AD",ad_to_video:"LATENCY_ACTION_AD_TO_VIDEO",browse:"LATENCY_ACTION_BROWSE",channels:"LATENCY_ACTION_CHANNELS","channel.analytics":"LATENCY_ACTION_CREATOR_CHANNEL_ANALYTICS","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",embed:"LATENCY_ACTION_EMBED",home:"LATENCY_ACTION_HOME",
library:"LATENCY_ACTION_LIBRARY",live:"LATENCY_ACTION_LIVE",prebuffer:"LATENCY_ACTION_PREBUFFER",results:"LATENCY_ACTION_RESULTS",search:"LATENCY_ACTION_RESULTS",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","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"},Kla="isNavigation isMonetized playerInfo.isPausedOnLoad prerollAllowed isRedSubscriber isVisible watchInfo.isPlaylist".split(" "),ZM=!1,Hla=(0,g.z)(zM.clearResourceTimings||zM.webkitClearResourceTimings||zM.mozClearResourceTimings||zM.msClearResourceTimings||
zM.oClearResourceTimings||g.y,zM);var O1;var $ra=g.Gb,asa=$ra.match(/\((iPad|iPhone|iPod)( Simulator)?;/);if(!asa||2>asa.length)O1=void 0;else{var P1=$ra.match(/\((iPad|iPhone|iPod)( Simulator)?; (U; )?CPU (iPhone )?OS (\d+_\d)[_ ]/);O1=P1&&6==P1.length?Number(P1[5].replace("_",".")):0}var c0=O1,Q1=0<=c0;Q1&&0<=g.Gb.search("Safari")&&g.Gb.search("Version");var $la={0:"UNKNOWN",1:"OFF",2:"ON",3:"FORCED_ON"},R1={},bsa=(R1.ALWAYS=1,R1.BY_REQUEST=3,R1),Wla,fN;g.p(g.eN,g.hF);g.h=g.eN.prototype;g.h.Lg=function(a,b){b?(this.setData(a),wN(this)&&lN(this)):(hN(this,a,!0),this.P("dataupdated"))};
g.h.setData=function(a){a=a||{};var b=a.player_response;b&&(this.Cb=g.Lw(b));this.og="1"!=a.hlsdvr?!1:KK()?!0:rL&&5>c0?!1:!0;this.adQueryId=a.ad_query_id;this.adSafetyReason=a.encoded_ad_safety_reason;this.Ti=a.agcid;this.Km="1"==a.infringe||"1"==a.muted;this.authKey=a.authkey;this.Zc=a.authuser;this.clientPlaybackNonce||(this.clientPlaybackNonce=a.cpn||fG());this.enableCardio=fL(this.enableCardio,a.enable_cardio);this.enableCardioBeforePlayback=fL(this.enableCardioBeforePlayback,a.enable_cardio_before_playback);
this.endSeconds=hL(this.endSeconds,a.end||a.endSeconds);this.yj=iL(this.yj,a.itct);this.Vr=fL(this.Vr,a.noiba);this.Zk="1"==a.livemonitor;this.za="1"==a.live_playback||!!a.fresca_preroll||!!a.heartbeat_preroll;this.isLiveDestination=fL(this.isLiveDestination,a.is_live_destination);this.isLiveDefaultBroadcast="1"==a.live_default_broadcast;this.isLowLatencyLiveStream="1"==a.is_low_latency_live_stream;if(b=a.latency_class)this.latencyClass=gL("UNKNOWN",b,Yra);this.isMdxPlayback=fL(this.isMdxPlayback,
a.mdx);if(b=a.mdx_control_mode)this.mdxControlMode=Db(b);this.Ur=fL(this.Ur,a.is_inline_playback_no_ad);this.Ah=hL(this.Ah,a.reload_count);this.reloadReason=iL(this.reloadReason,a.reload_reason);this.Yr=fL(this.Yr,a.utpsa);this.cycToken=a.cyc;this.OC=a.tkn;this.Fh="1"==a.innertube_thumbnail&&this.Cb.videoDetails.thumbnail?Ela(this.Cb.videoDetails.thumbnail):mM(a);this.jg=iL(this.jg,a.vvt);this.revocableUnlistedToken=a.revocable_unlisted_token;this.mdxEnvironment=iL(this.mdxEnvironment,a.mdx_environment);
this.IN=a.osig;this.CB=a.ptchn;this.DB=a.oid;this.Dl=a.ptk;this.EB=a.pltype;this.playbackId=a.plid;this.eventId=a.eventid;this.osid=a.osid;this.videoMetadata=a.vm;this.Jt=a.of;this.sp=a.upt;this.playlistId=iL(this.playlistId,a.list);this.MB=a.pyv_view_beacon_url;this.DS=a.pyv_quartile25_beacon_url;this.ES=a.pyv_quartile50_beacon_url;this.FS=a.pyv_quartile75_beacon_url;this.CS=a.pyv_quartile100_beacon_url;if(b=a.remarketing_url)this.remarketingUrl=b;this.Cb&&this.Cb.playbackTracking&&this.Cb.playbackTracking.youtubeRemarketingUrl&&
(this.youtubeRemarketingUrl=this.Cb.playbackTracking.youtubeRemarketingUrl.baseUrl);this.Cb&&this.Cb.playbackTracking&&this.Cb.playbackTracking.googleRemarketingUrl&&(this.googleRemarketingUrl=this.Cb.playbackTracking.googleRemarketingUrl.baseUrl);if(b=a.ppv_remarketing_url)this.ppvRemarketingUrl=b;this.So=a.sdetail;b=a.session_data;!this.Rt&&b&&(this.Rt=g.BD(b).feature);this.isFling=1==hL(this.isFling?1:0,a.is_fling);this.vnd=hL(this.vnd,a.vnd);this.Fq=iL(this.Fq,a.force_ads_url);this.hg=iL(this.hg,
a.ctrl);this.vf=iL(this.vf,a.ytr);this.an=a.ytrcc;this.RB=a.ytrexp;this.Jl=kL(this.Jl,a.vq);this.Ml=kL(this.Ml,a.suggestedQuality);this.ip=fL(this.ip,a.ssrt);this.videoId=lL(a)||this.videoId;this.vssCredentialsToken=iL(this.vssCredentialsToken,a.vss_credentials_token);this.Ep=iL(this.Ep,a.vss_credentials_token_type);this.heartbeatToken=iL(this.heartbeatToken,a.heartbeat_token);this.heartbeatInterval=hL(this.heartbeatInterval,a.heartbeat_interval);this.heartbeatRetries=hL(this.heartbeatRetries,a.heartbeat_retries);
this.heartbeatSoftFail=fL(this.heartbeatSoftFail,a.heartbeat_soft_fail);this.Tr=fL(this.Tr,a.ithb);this.relativeLoudness=hL(this.relativeLoudness,a.relative_loudness);this.Ql=fL(this.Ql,a.audio_only);if(a.ad3_module||a.ad_module)this.adModule=!0,"1"==a.ad_preroll&&this.re.push("ad");if(b=a.adaptive_fmts)this.adaptiveFormats=b;b=a.atc;void 0!=b&&(this.Jm=b);if(b=a.license_info)this.Cc=Zla(b);if(b=a.allow_embed)this.allowEmbed="1"==b;if(b=a.backgroundable)this.backgroundable="1"==b;if(b=a.autonav)this.fo=
"1"==b;if(b=a.autoplay)this.Fi="1"==b;(b=a.iv_load_policy)?this.Ug=gL(this.Ug,b,BL):(b=gN(this.Cb))&&b.loadPolicy&&(this.Ug=bsa[b.loadPolicy]);if(b=a.cc_lang_pref)this.Wg=iL(b,this.Wg);if(b=a.cc_load_policy)this.Xg=gL(this.Xg,b,BL);"0"==a.dash&&(this.Hw=!0);if(b=a.dashmpd){this.ge=g.Lg(b,{cpn:this.clientPlaybackNonce});b=/\/s\/([0-9A-F.]+)/;var c=b.exec(this.ge);c&&(c=RJ(c[1]),this.ge=this.ge.replace(b,"/signature/"+c))}if(b=a.delay)this.Ff=Db(b);if(b=a.drm_session_id)this.drmSessionId=b;b=a.end;
void 0!=b&&(this.clipEnd=b);a.fair_play_cert&&window.atob&&(this.fairPlayCert=(0,window.atob)(a.fair_play_cert));if(b=a.fmt_list)this.fmtList=b;a.fresca_preroll&&this.re.push("fresca");a.heartbeat_preroll&&this.re.push("heartbeat");if(b=a.idpj)this.xj=Db(b);if(b=a.ismb)this.yg=Db(b);if(b=a.is_listed)this.isListed=fL(this.isListed,b);if(b=a.paid_content_overlay_duration_ms)this.BB=Db(b);if(b=a.paid_content_overlay_text)this.tS=b;if(b=a.url_encoded_fmt_stream_map)this.hk=b;if(b=a.hls_formats)this.hlsFormats=
b;if(b=a.hlsvp)this.hlsvp=b;if(b=a.length_seconds)this.lengthSeconds=Db(b);if(b=a.live_chunk_readahead)this.liveChunkReadahead=hL(this.liveChunkReadahead,b);if(b=a.live_start_walltime)this.liveStartWalltime=Db(b);if(b=a.live_manifest_duration)this.hs=Db(b);if(b=a.ldpj)this.al=Db(b);if(b=a.player_params)this.playerParams=b;if(b=a.partnerid)this.dg=Db(b);if(b=a.probe_url)this.probeUrl=kH(g.Lg(b,{cpn:this.clientPlaybackNonce}));if(b=a.profile_picture)this.profilePicture=iL(b,this.profilePicture);(b=
a.pyv_billable_url)&&g.hH(b)&&(this.Mo=b);(b=a.pyv_conv_url)&&g.hH(b)&&(this.No=b);if(b=a.video_masthead_ad_quartile_urls)this.us=b.quartile_0_url,this.Qy=b.quartile_25_url,this.Ry=b.quartile_50_url,this.Sy=b.quartile_75_url,this.Py=b.quartile_100_url;"1"==a.spacecast_playback&&(this.re.push("spacecast"),this.spacecastModule=!0,this.Mi.xS=!0);if(c=a.spacecast_addrs)this.spacecastModule=!0,b={},b.addresses=c.split(","),b.probe=!0,(c=a.spacecast_query_params)&&(b.applianceQueryParams=c),this.Mi.init=
b;0<this.startSeconds||(this.Pr=this.startSeconds=hL(this.startSeconds,a.start||a.startSeconds));b=a.live_utc_start;null!=b&&(this.liveUtcStartSeconds=(0,window.parseInt)(b,10));b=a.start;void 0==b||"1"==a.resume||this.za||(this.clipStart=b);if(b=a.two_stage_token)this.Hh=b;if(b=a.url_encoded_third_party_media)this.ck=ED(b);if(b=a.watch_ajax_token)this.watchAjaxToken=b;a.ypc_module&&this.re.push("ypc");a.ypc_clickwrap_module&&this.re.push("ypc_clickwrap");if(b=a.ypc_offer_button_formatted_text)b=
g.Lw(b),this.ypcOfferButtonFormattedText=null!=b?b:null;this.Ol=iL(this.Ol,a.ucid);(0,g.C)("baseUrl uid oeid ieid ppe engaged subscribed".split(" "),function(b){a[b]&&(this.Ee[b]=a[b])},this);
this.Ee.focEnabled=fL(this.Ee.focEnabled,a.focEnabled);this.Ee.rmktEnabled=fL(this.Ee.rmktEnabled,a.rmktEnabled);this.oc=a;hN(this,a,!1);jN(this)?ZD()&&this.fairPlayCert&&(this.ni=!0):this.adaptiveFormats&&!this.za?(mN(this,VJ(oN(this,this.adaptiveFormats),this.Cc,this.lengthSeconds,void 0)),TJ(this.pa)&&(this.ni=!0)):this.ge&&(this.wk=!0);if(b=a.adpings)this.Hv=b?g.DD(b):null;if(b=a.feature)this.Gl=b;if(b=a.referrer)this.referrer=b;if(b=a.multifeed_metadata_list)this.Oh=ED(b);this.clientScreenNonce=
iL(this.clientScreenNonce,a.csn);this.rootVeType=hL(this.rootVeType,a.root_ve_type);this.ko=hL(this.ko,a.kids_age_up_mode);if(b=a.unplugged_location_info)this.Ih=b;if(b=a.unplugged_partner_opt_out)this.fk=iL("",b);if(b=a.partial_spherical)this.partialSpherical="1"==b;if(b=a.fflags)if(b=g.BD(b).enable_spherical_kabuki)this.Nw="true"==b;this.Xk=iL(this.Xk,a.internal_ip_override);this.innertubez=iL(this.innertubez,a.innertubez);this.hasSubfragmentedFmp4=a.sfmp4?"1"==a.sfmp4:null};
g.h.cd=function(){return!this.za||this.og};
g.h.LJ=function(a){(this.Rf=a)&&"fairplay"==this.Rf.flavor&&(this.Rf.fairPlayCert=this.fairPlayCert);lN(this)};
g.h.wc=function(){return!(!this.pa||!this.pa.l)};
g.h.QO=function(a){if(!this.ha()){if(this.jp){var b=bK(a,this.jp);b&&(a=b)}mN(this,a);this.za&&this.pa.subscribe("refresh",this.PA,this);g.HM("mrc");TJ(this.pa)&&(this.ni=!0);lN(this)}};
g.h.PO=function(a){this.ha()||(this.sh=!1,this.P("dataloaderror",new g.TL("manifest.net.retryexhausted",!0,{backend:"manifest",rc:a.status})))};
g.h.PA=function(){this.ha()||(this.pa.isLive||this.pa.unsubscribe("refresh",this.PA,this),this.hw())};
g.h.hw=function(){var a=this.pa.Ie(this.es);0<a.length&&(this.P("cuepointupdated",a),this.es+=a.length)};
g.h.XJ=function(a){if(this.spacecastFormatMap){var b=oN(this,this.spacecastFormatMap);return $L(a,this.isAd(),b,pN(this,a)).then(this.fp,void 0,this).then(this.Xw,void 0,this)}return nE()};
g.h.UJ=function(a,b){var c=b||jN(this);if(this.pa&&!c){if(c=!a.C||this.Ql&&a.wb){var d=this.pa,e=this.za;if(!d.g["0"]){var f=new wG(0,0,0,void 0,void 0,"auto");f=new BG("0","fakesb",void 0,f,null,null,1);d.g["0"]=e?new zJ(new g.eJ("http://www.youtube.com/videoplayback"),f,"fake"):new g.MJ(new g.eJ("http://www.youtube.com/videoplayback"),f,new g.eI(0,0),new g.eI(0,0),0,window.NaN)}}return XK(a.ba,this.pa,this.Rf,!1,vla(a),c).then(this.gp,void 0,this)}return nE()};
g.h.VJ=function(a){if(this.hlsFormats){var b=oN(this,this.hlsFormats);if(!a.experiments.g("html5_hls_select_audio_killswitch")){var c;if(LK||bE()||ZD())if(c=WL(b)){var d=[],e={},f;for(f in c)for(var k=g.na(c[f]),l=k.next();!l.done;l=k.next()){var m=l.value;m.Nb&&(l=m.Nb.id,e[l]||(m=new yH(l,m.Nb),e[l]=m,d.push(m)))}c=0<d.length?d:null}else c=null;else c=null;this.Sn=c}return Ala(a,this.isAd(),b,this.yg).then(this.fp,void 0,this)}return nE()};
g.h.YJ=function(a){if(this.ck&&this.zy){var b=this.isAd(),c=Bla(this.ck);a=JK(c,FL(a,b)).then(this.fp,void 0,this)}else a=nE();return a};
g.h.WJ=function(a){var b=oN(this,this.hk,this.fmtList);if(this.hlsvp){var c=this.hlsvp;var d=this.yg,e={cpn:this.clientPlaybackNonce};-1==c.indexOf("/ibw/")&&(e.ibw=d?String(d):"1369843");c={url:g.Lg(c,e),type:"application/x-mpegURL",quality:"auto",itag:"93"};b.push(c)}return $L(a,this.isAd(),b,pN(this,a)).then(this.fp,void 0,this)};
g.h.gp=function(a){this.Na=a;/^r/.test(this.clientPlaybackNonce)&&(this.Na.videoInfos.length&&1080<this.Na.videoInfos[0].video.g&&(this.nh=!0),this.wc()&&(this.nh=!0));a=this.Na?this.Na.getAvailableAudioTracks():[];a=a.concat(this.Uh);for(var b=0;b<this.sk.length;b++)for(var c=this.sk[b],d=0;d<a.length;d++){var e=a[d],f=e.Nb.id==c.audioTrackId;if(e.Nb.isDefault&&b==this.jq||f){if(c.captionTrackIndices)for(f=0;f<c.captionTrackIndices.length;f++)e.captionTracks[f]=this.captionTracks[c.captionTrackIndices[f]];
g.t(c.defaultCaptionTrackIndex)&&(e.Cq=this.captionTracks[c.defaultCaptionTrackIndex]);g.t(c.forcedCaptionTrackIndex)&&(e.Dk=this.captionTracks[c.forcedCaptionTrackIndex]);e.Xv=c.visibility||"UNKNOWN"}}};
g.h.fp=function(a){this.Fg=a;this.gp(new HK((0,g.H)(this.Fg,function(a){return a.vg()})))};
g.h.Xw=function(){var a=Rj(this.Na.videoInfos,function(a,c){return c.video.isAccelerated&&(!a||a.height<c.video.height)?c.video:a},null);
a&&(this.Ml=this.Jl=a=NG(a.quality,a.quality,!0))};
g.h.Qd=function(){var a={};this.Ka&&(a.fmt=AG(this.Ka),this.sc&&AG(this.sc)!=AG(this.Ka)&&(a.afmt=AG(this.sc)));a.plid=this.playbackId;a.ei=this.eventId;a.list=this.playlistId;a.cpn=this.clientPlaybackNonce;this.videoId&&(a.v=this.videoId);this.Km&&(a.infringe=1);this.oh&&(a.splay=1);this.za&&(a.live=this.og?"dvr":"live");this.Fi&&(a.autoplay=1);this.So&&(a.sdetail=this.So);this.dg&&(a.partnerid=this.dg);this.osid&&(a.osid=this.osid);return a};
g.h.getStoryboardFormat=function(){if(this.Cb&&this.Cb.storyboards){var a=this.Cb.storyboards;return(a=a.playerStoryboardSpecRenderer||a.playerLiveStoryboardSpecRenderer)&&a.spec||null}return this.oc.storyboard_spec||this.oc.live_storyboard_spec};
g.h.Rd=function(){return this.pa&&!(0,window.isNaN)(this.pa.Rd())?this.pa.Rd():this.wc()?0:this.lengthSeconds};
g.h.Xb=function(){return this.pa&&!(0,window.isNaN)(this.pa.Xb())?this.pa.Xb():0};
g.h.Gd=function(){return!this.ha()&&!(!this.videoId&&!this.ck)};
g.h.Ub=function(){return wN(this)&&!this.wk&&!this.ni};
g.h.gC=function(){var a={format:"RAW",method:"GET",withCredentials:this.UB};this.Wj&&this.visitorData&&(a.headers={"X-Goog-Visitor-Id":this.visitorData});0<this.Tq&&(a.timeout=this.Tq);var b=this.Uq;0<this.Wo&&(b=g.ID(b,{playerretry:this.Wo}));this.zx?OJ(kE,b,a).then(uD(this.VA),uD(this.pP),this):(a.context=this,a.Hb=this.VA,a.onError=this.ir,g.OD(b,a));g.HM("vir");g.HM("vir",void 0,"video_to_ad");this.yx=g.HF()};
g.h.nd=function(a,b){if(30==this.dg){var c=this.Fh["default.jpg"];return c?c:this.videoId?g.Lg("//docs.google.com/vt",{id:this.videoId,authuser:this.Zc,authkey:this.authKey}):"//docs.google.com/images/doclist/cleardot.gif"}b||(b="hqdefault.jpg");return(c=this.Fh[b])||a.F||"pop1.jpg"==b||"pop2.jpg"==b||"sddefault.jpg"==b||"hq720.jpg"==b||"maxresdefault.jpg"==b?c:IL(a,this.videoId,b)};
g.h.VA=function(a){if(!this.ha()){var b=a.responseText;if(b){this.sh=!1;var c=g.DD(b);this.vy&&VL(c);"fail"==c.status?this.P("onStatusFail",c):(g.HM("virc"),g.HM("virc",void 0,"video_to_ad"),(0,g.C)(g.csa,function(a){a in this.oc&&(c[a]=this.oc[a])},this),this.setData(c),wN(this)?lN(this):this.P("dataloaderror",new g.TL("manifest.net.retryexhausted",!0,{successButUnplayable:"1"})))}else this.ir(a)}};
g.h.pP=function(a){this.ir(a.g)};
g.h.ir=function(a){if(!this.ha()){var b=a?a.status:-1;a=this.Wo>=this.Wt||400==b;var c=200<b?"manifest.net.badstatus":"manifest.net.connect",d=((g.HF()-this.yx)/1E3).toFixed(3);b={backend:"gvi",rc:b,rt:d};a&&this.Wt?(c="manifest.net.retryexhausted",b.urllen=String(this.Uq.length)):a||(this.Wo++,this.fC.start());this.P("dataloaderror",new g.TL(c,a,b))}};
g.h.getAvailableAudioTracks=function(){return iN(this)?0<this.Na.getAvailableAudioTracks().length?this.Na.getAvailableAudioTracks():this.Sn||[]:[]};
g.h.getAudioTrack=function(){var a=this;if(this.sc&&"application/x-mpegURL"!=this.sc.mimeType)return g.Ka(this.getAvailableAudioTracks(),function(b){return b.id==a.sc.id})||this.Uh;
if(this.Sn){if(!this.Il)for(var b=g.na(this.Sn),c=b.next();!c.done;c=b.next())if(c=c.value,c.Nb.isDefault){this.Il=c;break}return this.Il||this.Uh}return this.Uh};
g.h.getPlayerResponse=function(){return this.Cb};
g.h.getPlaylistId=function(){return null};
g.h.jc=function(){return this};
g.h.Ln=function(a){return a.getVideoUrl(this.videoId)};
g.h.Pf=function(){return!!this.pa&&this.pa.Pf()};
g.h.Qf=function(){return!!this.pa&&this.pa.Qf()};
g.h.Ne=function(){return!!this.pa&&this.pa.Ne()};
g.h.li=function(){return!!this.pa&&this.pa.li()};
g.h.isAd=function(){return!!this.adFormat};
g.csa="oauth_token ypc_buy_url ypc_full_video_message ypc_item_thumbnail ypc_item_title ypc_item_url ypc_module ypc_offer_button_text ypc_offer_button_formatted_text ypc_offer_description ypc_offer_headline ypc_offer_id ypc_offer_type ypc_overlay_timeout ypc_preview ypc_signin_message ypc_vid".split(" ");Wla="author cc_asr cc_load_policy iv_load_policy iv_new_window keywords oauth_token requires_purchase rvs subscribed title ttsurl ypc_buy_url ypc_full_video_length ypc_item_thumbnail ypc_item_title ypc_item_url ypc_offer_button_text ypc_offer_button_formatted_text ypc_offer_description ypc_offer_headline ypc_offer_id ypc_preview ypc_price_string ypc_video_rental_bar_text".split(" ");
fN=["annotations","captions","storyboard","chapterMarkers"];var Bna={uV:"YTP_ERROR_ALREADY_PINNED_ON_A_DEVICE",AUTHENTICATION_EXPIRED:"ERROR_AUTHENTICATION_EXPIRED",AV:"ERROR_AUTHENTICATION_MALFORMED",BV:"ERROR_AUTHENTICATION_MISSING",HV:"ERROR_BAD_REQUEST",hW:"ERROR_CGI_PARAMS_MALFORMED",iW:"ERROR_CGI_PARAMS_MISSING",QW:"YTP_DEVICE_FALLBACK",sX:"YTP_ERROR_LICENSE",tX:"YTP_ERROR_VIDEO_UNAVAILABLE",FX:"YTP_ERROR_FORMAT_UNAVALIABLE",IX:"YTP_ERROR_GEO_FAILURE",aY:"YTP_ERROR_GENERIC_WITHOUT_LINK",bY:"YTP_HTML5_FLASH_DEPRECATED",cY:"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK",
tY:"YTP_ERROR_INVALID_DRM_MESSAGE",n_:"YTP_ERROR_PURCHASE_NOT_FOUND",o_:"YTP_ERROR_PURCHASE_REFUNDED",v_:"YTP_ERROR_RENTAL_EXPIRED",cW:"YTP_ERROR_CAST_SESSION_DEVICE_MISMATCHED",dW:"YTP_ERROR_CAST_SESSION_VIDEO_MISMATCHED",fW:"YTP_ERROR_CAST_TOKEN_FAILED",eW:"YTP_ERROR_CAST_TOKEN_EXPIRED",gW:"YTP_ERROR_CAST_TOKEN_MALFORMED",Q_:"YTP_ERROR_SERVER_ERROR",q0:"YTP_ERROR_STOPPED_BY_ANOTHER_PLAYBACK",u0:"YTP_ERROR_STREAM_LICENSE_NOT_FOUND",s0:"YTP_ERROR_STREAMING_DEVICES_QUOTA_PER_24H_EXCEEDED",t0:"YTP_ERROR_STREAMING_NOT_ALLOWED",
E_:"YTP_ERROR_RETRYABLE_ERROR",J0:"YTP_ERROR_TOO_MANY_STREAMS_PER_USER",I0:"YTP_ERROR_TOO_MANY_STREAMS_PER_ENTITLEMENT",o1:"YTP_ERROR_UNSUPPORTED_DEVICE",E1:"YTP_ERROR_VIDEO_FORBIDDEN",G1:"YTP_ERROR_VIDEO_NOT_FOUND"},bma={300:"YTP_ERROR_STREAMING_DEVICES_QUOTA_PER_24H_EXCEEDED",301:"YTP_ERROR_ALREADY_PINNED_ON_A_DEVICE",303:"YTP_ERROR_STOPPED_BY_ANOTHER_PLAYBACK",304:"YTP_ERROR_TOO_MANY_STREAMS_PER_USER",305:"YTP_ERROR_TOO_MANY_STREAMS_PER_ENTITLEMENT",400:"YTP_ERROR_VIDEO_NOT_FOUND",401:"YTP_ERROR_GEO_FAILURE",
402:"YTP_ERROR_STREAMING_NOT_ALLOWED",403:"YTP_ERROR_UNSUPPORTED_DEVICE",405:"YTP_ERROR_VIDEO_FORBIDDEN",500:"YTP_ERROR_PURCHASE_NOT_FOUND",501:"YTP_ERROR_RENTAL_EXPIRED",502:"YTP_ERROR_PURCHASE_REFUNDED",5E3:"ERROR_BAD_REQUEST",5001:"ERROR_CGI_PARAMS_MISSING",5002:"ERROR_CGI_PARAMS_MALFORMED",5100:"ERROR_AUTHENTICATION_MISSING",5101:"ERROR_AUTHENTICATION_MALFORMED",5102:"ERROR_AUTHENTICATION_EXPIRED",5200:"YTP_ERROR_CAST_TOKEN_MALFORMED",5201:"YTP_ERROR_CAST_TOKEN_EXPIRED",5202:"YTP_ERROR_CAST_TOKEN_FAILED",
5203:"YTP_ERROR_CAST_SESSION_VIDEO_MISMATCHED",5204:"YTP_ERROR_CAST_SESSION_DEVICE_MISMATCHED",6E3:"YTP_ERROR_INVALID_DRM_MESSAGE",7E3:"YTP_ERROR_SERVER_ERROR",8E3:"YTP_ERROR_RETRYABLE_ERROR"};var dsa=Q1&&4>c0?.1:0,Zpa=new RN;RN.prototype.g=null;RN.prototype.getDuration=function(){return this.duration||0};
RN.prototype.getCurrentTime=function(){return this.currentTime||0};
RN.prototype.l=function(){this.hasAttribute("controls")&&this.setAttribute("controls","true")};g.p(SN,g.K);g.h=SN.prototype;g.h.Wd=function(){this.g.ended&&this.bc(0);!this.Sd()&&this.l&&(g.tD(Error("playVideo without src")),VN(this,this.l.Eg),this.l.g||this.load());var a=this.play();!a&&Q1&&7<=c0&&aF(this,"playing",(0,g.z)(function(){g.yD((0,g.z)(this.ax,this,this.getCurrentTime(),0),500)},this));
return a};
g.h.ax=function(a,b){this.g.paused||this.getCurrentTime()>a||10<b||(this.play(),g.yD((0,g.z)(this.ax,this,this.getCurrentTime(),b+1),500))};
g.h.bc=function(a){0<this.g.readyState&&(Q1&&4>c0&&(a=Math.max(.1,a)),this.g.currentTime=a)};
g.h.rf=function(){!this.o&&this.Sd()&&(LK&&0<this.getCurrentTime()&&this.bc(0),this.g.removeAttribute("src"),this.load(),UN(this,null))};
g.h.addEventListener=function(a,b){this.B.R(a,b,!1,this);if(!this.A[a]){var c=(0,g.z)(this.tL,this);this.g.addEventListener(a,c);this.A[a]=c}};
g.h.removeEventListener=function(a,b){this.B.Ca(a,b,!1,this)};
g.h.dispatchEvent=function(a){return this.B.dispatchEvent(a)};
g.h.kw=function(){this.C&&!this.g.muted&&(NI(),this.g.muted=!0)};
g.h.U=function(){this.D&&this.removeEventListener("volumechange",this.kw);g.K.prototype.U.call(this)};g.p(cO,g.We);cO.prototype.preventDefault=function(){g.We.prototype.preventDefault.call(this);this.g&&this.g.preventDefault()};
cO.prototype.stopPropagation=function(){g.We.prototype.stopPropagation.call(this);this.g&&this.g.stopPropagation()};g.pO=g.Cf(function(){var a="";try{var b=g.zd("CANVAS").getContext("webgl");b&&(b.getExtension("WEBGL_debug_renderer_info"),a=b.getParameter(37446),a=a.replace(/[ :]/g,"_"))}catch(c){}return a});g.dO.prototype.kb=function(){return g.V(this,8)&&!g.V(this,64)&&!g.V(this,2)};
g.dO.prototype.isError=function(){return g.V(this,128)};
var eO=!1;tO.prototype.isEmpty=function(){return this.endTime==this.startTime};vO.prototype.update=function(){var a=this.l.l()||0,b=g.BO(this.l);if(a!=this.g||zO(this,a,b)){var c;if(!(c=a<this.g||a-this.g>b-this.C+2||zO(this,a,b))){var d=this.l.Qd();c=d.volume;var e=c!=this.I;d=d.muted;d!=this.H?(this.H=d,c=!0):(!e||0<=this.B||(this.I=c,this.B=b),c=b-this.B,0<=this.B&&2<c?(this.B=-1,c=!0):c=!1)}c&&(g.wO(this),this.o=a);this.C=b;this.g=a}};var DO={other:1,none:2,wifi:3,cellular:7};g.p(GO,g.K);
GO.prototype.B=function(a){if(!this.ha()&&(a=0<=a?a:g.BO(this.g),"PL"==this.o&&(!g.Ub(this.l)||a>=this.A+30)&&(g.FO(this,a,"vps",[this.o]),this.A=a),!g.Ub(this.l)&&!this.ka)){JO(this,a);var b=a,c=this.g.D(),d=c.droppedVideoFrames,e=d-this.X;if(d>c.totalVideoFrames||5E3<e)this.onError("html5.badframedropcount","df."+d+";tf."+c.totalVideoFrames);else 0<e&&g.FO(this,b,"df",[e]);this.X=d;!this.g.g.experiments.g("disable_webgl_reporting")&&0<this.C&&(g.FO(this,a,"glf",[this.C]),this.C=0);a={event:"streamingstats"};
this.g.videoData.Ka&&(a.fmt=AG(this.g.videoData.Ka),(b=this.g.videoData.sc)&&AG(b)!=a.fmt&&(a.afmt=AG(b)));a.cpn=this.g.videoData.clientPlaybackNonce;a.ei=this.g.videoData.eventId;a.el=CN(this.g.videoData,this.g.g);a.docid=this.g.videoData.videoId;a.ns=this.g.g.Xa;a.fexp=this.g.g.experiments.experimentIds.toString();a.cl=this.g.g.Pa;this.g.videoData.adFormat&&(a.adformat=this.g.videoData.adFormat);this.g.videoData.za&&(a.live=this.g.videoData.og?"dvr":"live");a.seq=this.na++;g.bc(a,this.g.g.A);a=
g.Lg("//"+this.g.g.Lh+"/api/stats/qoe",a);b="";for(var f in this.l)null==this.l[f]?g.tD(Error("Stats report key has invalid value: "+f),"WARNING"):b+="&"+f+"="+this.l[f].join(",");this.g.g.experiments.g("html5_qoe_post")?gE(a,void 0,b):gE(a+b);this.l={}}};
GO.prototype.fa=function(){this.g.videoData.Rf&&MO(this,"drm-"+this.g.videoData.Rf.flavor)};
GO.prototype.onError=function(a,b){var c=g.BO(this.g);LO(this,c,a,b);JO(this,c);KO(this)};
GO.prototype.U=function(){g.K.prototype.U.call(this);window.clearInterval(this.V)};
var S1={},kma=(S1[5]="N",S1[-1]="N",S1[3]="B",S1[0]="EN",S1[2]="PA",S1[1]="PL",S1);NO.prototype.send=function(a){if(!this.V){var b=QO(this);b=g.Lg(this.na,b);if(this.D)this.I&&(a={method:"POST",Lb:{atr:this.I}},this.Wj&&this.visitorData&&(a.headers={"X-Goog-Visitor-Id":this.visitorData}),g.OD(b,a));else{var c=OO(this,a);c?g.OD(b,c):g.fE(b,a)}this.V=!0}};
NO.prototype.g=function(a){void 0==a&&(a=window.NaN);return(1*a.toFixed(3)).toString()};g.p(RO,g.K);g.h=RO.prototype;g.h.SO=function(a,b){if(!this.ha()){this.D=window.NaN;this.o.update();var c=yO(this.o),d=UO(this,c);b&&(d.C=a);var e=400<this.I;!(1<c.length)&&c[0].isEmpty()||e||(d.l=SO(this,!0,a));d.send();this.I++}};
g.h.onError=function(a,b){if(!this.ha())this.l.onError(a,b)};
g.h.bp=function(a){var b=this.g.g,c=this.g.videoData,d={ns:b.Xa,el:CN(c,b),eurl:b.Ia,fmt:c.Ka?AG(c.Ka):0,html5:1,list:c.playlistId,plid:c.playbackId,cpn:c.clientPlaybackNonce,ei:c.eventId,ps:b.playerStyle,noflv:1,st:this.g.l(),video_id:c.videoId,metric:a};FN(c,b)&&(d.autoplay="1");"heartbeat"==a&&(d.tpmt=xO(this.o));g.Fa(d,b.A);WO(this,g.Lg((b.g?b.protocol+"://www.youtube.com/":b.baseYtUrl)+"live_204",d))};
g.h.Za=function(){};
g.h.U=function(){g.K.prototype.U.call(this);g.AD(this.D);this.D=window.NaN;var a=this.o;window.clearInterval(a.D);a.D=window.NaN;g.AD(this.A)};g.p(aP,nH);g.h=aP.prototype;g.h.Ra=function(){return RT(this.app)};
g.h.Dz=function(a,b,c,d,e){return Bqa(this.app,a,b,c,d,e)};
g.h.bM=function(a,b,c){this.app.g.B.add(a,{Qh:b,ek:c})};
g.h.dM=function(a,b){N0(this.app,a,b||this.playerType)};
g.h.ol=function(a){return wqa(this.app,a)};
g.h.xo=function(a,b,c,d){J0(this.app,a,c||this.playerType,b,d)};
g.h.Oz=function(a,b,c){var d=this.app;b=b||this.playerType||1;c=c||!1;d.na.get(b+lL(a))||(d.g.kc&&VL(a),a=new g.eN(a),d.na.get(b+a.videoId)||(a.Jo=!0,c?(c=g.TT(d,b),K0(d,b)):c=nqa(d,b),SS(c,a,(0,g.z)(d.Qd,d)),VS(c,!0),d.na.set(b+a.videoId,c)))};
g.h.Fj=function(a,b){R0(this.app,a,b)};
g.h.ql=function(a){Aqa(this.app,a)};
g.h.oe=function(a,b,c){Fqa(this.app,this.app.getCurrentTime()+a,b,c,this.playerType)};
g.h.AM=function(a){if(a){var b=this.getPlaylistId();if(!b||b==a.list){var c=a.video;(b=this.app.C)?this.isFullscreen()&&((c=c[b.ie()])&&c.encrypted_id!=b.jc().videoId||(a.index=b.ie())):y0(this.app,{list:a.list,index:a.index,playlist_length:c.length});oP(this.app.C,a);this.sa("onPlaylistUpdate")}}else a=this.app,z0(a),a.l.sa("onPlaylistUpdate")};
g.h.zM=function(){QF()};
g.h.BM=function(a,b){var c=g.TT(this.app,this.playerType||1);c&&c.g.Lg(a,b)};
g.h.getPlayerResponse=function(){var a=g.TT(this.app,this.playerType);return a?a.g.getPlayerResponse():null};
g.h.getStoryboardFormat=function(){return w0(this.app).getStoryboardFormat()};
g.h.gM=function(){var a=this.app.g;return{kc:a.kc,wb:a.wb}};
g.h.ea=function(){var a=nH.prototype.ea.call(this),b=g.TT(this.app,this.playerType);b&&(b=b.g,a.backgroundable=b.backgroundable,a.eventId=b.eventId,a.cpn=b.clientPlaybackNonce,a.isLive=b.za,a.itct=b.yj,a.paidContentOverlayText=rN(b),a.paidContentOverlayDurationMs=sN(b),null!=b.liveUtcStartSeconds&&(a.liveUtcStartSeconds=b.liveUtcStartSeconds));return a};
g.h.getCurrentTime=function(a){return a?this.app.getCurrentTime(a):nH.prototype.getCurrentTime.call(this)};
g.h.getDuration=function(a){return a?this.app.getDuration(a):nH.prototype.getDuration.call(this)};
g.h.uh=function(a){if(3==this.Ra())return g.ST(this.app.A).KK();var b=w0(this.app),c=g.TT(this.app,a)||g.TT(this.app),d=this.app.cd(),e=b.clipEnd;b=b.clipStart;var f=this.getCurrentTime(a);a=this.getDuration(a);var k=CT(c),l=lT(c),m=g.TT(this.app,void 0);if(m){var n=window.NaN;m.l&&(n=$N(m.l));m=0<=n?n:m.getCurrentTime()}else m=0;return{allowSeeking:d,clipEnd:e,clipStart:b,current:f,displayedStart:-1,duration:a,ingestionTime:k,isPeggedToLive:l,loaded:m,seekableEnd:DT(c),seekableStart:c.Xb()}};
g.h.Ps=function(a){return pqa(this.app,a)};
g.h.cM=function(a){return x0(a)};
g.h.Pz=function(a,b){var c=g.TT(this.app,this.playerType);if(c){var d=NG(a,b||a,!0);sT(c,"m",d)}};
g.h.fM=function(){var a=w0(this.app);var b=this.app.getCurrentTime();if(a.pa&&a.za&&a.Ka){var c=a.pa.g[a.Ka.id];c&&c.index?(a=c.index.hh(b),c=c.index.Vd(a),b={sequence:a,elapsed:Math.floor(1E3*(b-c))}):b=null}else b=null;return b};
g.h.Ai=function(a){var b=this.app,c=g.TT(b,this.playerType);c&&b.g.Zb.has(a.toString())&&c.C&&(b=TO(c.C,"engage"),b.o=a,b.send(void 0))};
g.h.sl=function(a,b,c){var d=this.app.A.A;d&&d.fl()&&d.Ds(a,b,c)};
g.h.lM=function(a,b){var c=this.app.A.H;c&&c.X&&$oa(c.X,a,b)};
g.h.getAudioTrack=function(){var a=g.TT(this.app,this.playerType);return a?a.getAudioTrack():w0(this.app).Uh};
g.h.Us=function(a){3==this.Ra()&&g.ST(this.app.A).il("control_set_audio_track",a);var b=g.TT(this.app,this.playerType);if(b&&!b.ha()&&!g.V(b.o,128))if(b.g.Na.g){var c=b.B;if(c.ha())a=!0;else{var d=c.D;a=a.id;d.A="m";d.B=d.F.g[a];d.N=d.B;c.P("audioformatchange",new pP(d.N,d.o,d.A));c.o&&!c.o.g.remove?a=!1:(tR(c),MQ(c.g),MQ(c.A),g.Nt(c.N),a=!0)}a||(pT(b),nT(b))}else{a:if(c=b.g,"application/x-mpegURL"!=c.sc.mimeType||a==c.Il||!c.Fg||0>=c.Fg.length)c=!1;else{d=g.na(c.Fg);for(var e=d.next();!e.done;e=
d.next()){e=e.value;if(!(e instanceof XL)){c=!1;break a}e.o&&(e.o.l=a.Nb.id,e.l=null)}c.Il=a;c=!0}c&&(b.g.sc&&bT(b,"m",b.g.sc),mT(b)&&b.Nc("hlsaudio",a.id))}};
g.h.getAvailableAudioTracks=function(){return g.TT(this.app,this.playerType).getAvailableAudioTracks()};
g.h.hM=function(){var a=g.TT(this.app,this.playerType);return a&&a.g.Ka?g.RG(sS(a.ka,a.g)):"unknown"};
g.h.jM=function(){return UG()};
g.h.vM=function(a,b){var c=this.app;c.xe=a;c.fd=b;c.l.P("sizestylechange",a,b);c.F.Wf()};
g.h.eM=function(){var a=this.app.A.F;a&&a.xH()};
g.h.Qz=function(){var a=this.app.A.H;a&&(a.ra=!1,a.Kg())};
g.h.Nz=function(){var a=this.app.A.H;a&&(a.ra=!0,a.Kg())};
g.h.zi=function(){var a=this.isFullscreen()||yL(this.app.g);return this.kl()?4:zH()?3:a?2:this.app.Ga?1:this.app.Hc?5:0};
g.h.isFullscreen=function(){return this.app.g.Ga};
g.h.nM=function(){return this.app.Hc};
g.h.kl=function(){var a=g.TT(this.app,this.playerType);return!!a&&a.Ga};
g.h.yM=function(){return!0};
g.h.Mz=function(a){a=g.i0(this.app.F,a);return{left:a.left,top:a.top,width:a.width,height:a.height}};
g.h.uM=function(a){this.app.g.enableSafetyMode=a};
g.h.qM=function(a){IE();T0(this.app,a?2:0)};
g.h.Rs=function(){var a=this.app.A.B;a&&a.created&&a.destroy();(a=g.TT(this.app))&&AT(a);(a=this.app.A.I)&&a.DJ()&&g.QT(this.app.H,!0)};
g.h.rf=function(){var a=this.app.g;!a.experiments.g("disable_new_pause_state3")&&LL(a)&&"blazer"!=a.playerStyle?this.Rs():nH.prototype.rf.call(this)};
g.h.Ax=function(){return ET(g.TT(this.app,this.playerType),!0)};
g.h.yo=function(a){this.app.A.l.yu(a,!0)};
g.h.yi=function(){var a=this.app.A.l;return a?a.Rq():null};
g.h.Ts=function(){this.app.A.l.XB()};
g.h.mM=function(){var a=g.TT(this.app,this.playerType);if(!a)return!1;a=a.g;return!!a&&a.Gd()&&!!a.Ka&&a.Ka.video.isAccelerated&&a.Ka.video.o};
g.h.isPeggedToLive=function(a){return this.app.isPeggedToLive(void 0===a?!0:a)};
g.h.tM=function(a){var b=this.app;b.Ga=a;a=b.A;(a=g.W(a.g).useMiniplayerUi?a.Y:null)&&(b.Ga?a.load():a.unload());b.l.P("minimized")};
g.h.sM=function(a){this.app.Hc=a};
g.h.ll=function(a){return F0(this.app,a)};
g.h.vo=function(a){if(a){var b=this.app.A.o;b&&b.mz(a,!1)}};
g.h.wM=function(a){this.vo(a)};
g.h.iM=function(){return this.Os()};
g.h.pM=function(a){var b=this.app;b.g.Vg=a;b.D&&(a=b.D,a.C&&g.wO(a.C.o),b.g.K&&Hqa(b))};
g.h.oM=function(){};
g.h.setVolume=function(a,b){sH(this,a,b)};
g.h.mute=function(a){tH(this,a)};
g.h.Yf=function(a){uH(this,a)};
g.h.EJ=function(){return this.app.X};
g.h.pl=function(a){if("annotations_module"==a){var b=this.app.A.A;b&&!b.loaded&&b.load()}nH.prototype.pl.call(this,a)};
g.h.wo=function(a){if("annotations_module"==a){var b=this.app.A.A;b&&b.loaded&&b.unload()}nH.prototype.wo.call(this,a)};
g.h.Hd=function(a,b,c){if(!b)return null;var d=this.app.A;switch(a){case "ad":return(a=d.B)&&a.nz&&a.nz(b,c);case "remote":return(a=g.ST(d))&&a.JK(b,c);case "unplugged":return(a=g.KL(g.W(d.g))?d.C:null)&&a.B(b,c);case "spacecast":return(c=d.N)&&c.C(b);case "annotations_module":return(a=d.A)&&a.rK(b,c);case "creatorendscreen":return(a=d.D)&&a.xK(b,c)}return nH.prototype.Hd.call(this,a,b,c)};
g.h.xi=function(a){var b=this.app.A;switch(a){case "ad":return(b=b.B)&&b.aL&&"addata adstate breakscount displaystate getContentVideoData isExternalShelfAllowedFor loadedadbreaks midrollfreqcap".split(" ");case "remote":return g.ST(b)&&["casting","receivers","currentReceiver","quickCast"];case "annotations_module":return(b=b.A)&&b.sK();case "creatorendscreen":return(b=b.D)&&b.yK();case "unplugged":return(g.KL(g.W(b.g))?b.C:null)&&"settingsMenuShown hideSettingsMenu showSettingsMenu getStoryboardFrameData getStoryboardFrameIndex getStoryboardFrameIntervalSeconds getStoryboardMaxFrameIndex".split(" ")}return a?
nH.prototype.xi.call(this,a):(a=nH.prototype.xi.call(this),b.B&&a.push("ad"),g.ST(b)&&a.push("remote"),b.A&&a.push("annotations_module"),b.D&&a.push("creatorendscreen"),g.KL(g.W(b.g))&&b.C&&a.push("unplugged"),a)};
g.h.Ss=function(){var a=this.app.F.Ta();return{width:a.width,height:a.height}};
g.h.rM=function(a){var b=this.app.F;b.H=jL(a,!0);b.Wf()};
g.h.VT=function(){var a=this.app.A.H;a&&a.o.dc(2,!0)};
g.h.kM=function(){return g.h0(this.app.F)};
g.h.xM=function(a){var b=this.app.F;b.X=a;b.Wf()};g.p(bP,aP);g.h=bP.prototype;g.h.Wd=function(){L0(this.app,!0,this.playerType);xY(this.app,this.playerType)};
g.h.qd=function(){zY(this.app,this.playerType)};
g.h.oe=function(a,b,c){L0(this.app,!0,this.playerType);var d=this.app,e=this.playerType;AY(d,d.getCurrentTime()+a,b,c,e)};
g.h.bc=function(a,b){L0(this.app,!0,this.playerType);AY(this.app,a,b,void 0,this.playerType)};
g.h.rf=function(){Eqa(this.app)};cP.prototype.reset=function(){FM("")};
cP.prototype.g=function(a,b){g.HM(a,b,"")};
cP.prototype.info=function(a,b){g.IM(a,b,"")};g.eP.prototype.fh=ca(0);g.eP.prototype.B=function(){return this.ia};
g.eP.prototype.toString=function(){return"CueRange{"+this.namespace+":"+this.ia+"}["+fP(this.start)+", "+fP(this.end)+"]"};
g.eP.prototype.contains=function(a,b){return a>=this.start&&(a<this.end||a==this.end&&this.start==this.end)&&(null==b||a<b&&b<=this.end)};
var nma=1;g.eP.prototype.getId=g.eP.prototype.B;g.hP.prototype.toString=function(){return this.type+this.id};g.p(g.jP,g.hF);g.h=g.jP.prototype;g.h.hasNext=function(a){return this.loop||!!a||this.Bb+1<this.qh};
g.h.Mf=function(a){return this.loop||!!a||0<=this.Bb-1};
g.h.jc=function(a,b,c){a=void 0!=a?a:this.Bb;a=this.Ja&&a in this.Ja?this.Ja[this.Yd[a]]:null;var d=null;a&&(b&&(a.autoplay="1"),c&&(a.autonav="1"),d=new g.eN(a),d.startSeconds=this.startSeconds||d.clipStart||0,this.listId&&(d.playlistId=this.listId.toString()));return d};
g.h.setShuffle=function(a){this.CC=a;a=this.Yd&&null!=this.Yd[this.Bb]?this.Yd[this.Bb]:this.Bb;this.Yd=[];for(var b=0;b<this.Ja.length;b++)this.Yd.push(b);this.Bb=a;this.mo++;if(this.CC){a=this.Yd[this.Bb];for(b=1;b<this.Yd.length;b++){var c=Math.floor(Math.random()*(b+1)),d=this.Yd[b];this.Yd[b]=this.Yd[c];this.Yd[c]=d}for(b=0;b<this.Yd.length;b++)this.Yd[b]==a&&(this.Bb=b);this.mo++}this.P("shuffle")};
g.h.nd=function(a,b){b=b||"hqdefault.jpg";var c=this.Fh[b];if(c||a.F||"sddefault.jpg"==b||"hq720.jpg"==b||"maxresdefault.jpg"==b)return c;if(this.KC.length)return IL(a,this.KC[0],b)};
g.h.ie=function(){return this.Bb};
g.h.getLength=function(){return this.qh};
g.h.Ck=function(a){if(a&&(a=a.videoId,!this.Ja[this.Bb]||this.Ja[this.Bb].video_id!=a))for(var b=0;b<this.Ja.length;b++)if(this.Ja[b].video_id==a){this.Bb=b;break}};
g.h.onReady=function(a){this.Fl=a;this.Sc&&g.yD(this.Fl,0)};
g.h.getPlaylistId=function(){return this.listId?this.listId.toString():null};
g.h.Ln=function(a){return a.getVideoUrl(this.jc().videoId,this.getPlaylistId())};
g.h.U=function(){this.Fl=null;g.Ve(this.Ja);g.hF.prototype.U.call(this)};qP.prototype.add=function(a){this.g=(this.g+1)%this.l.length;this.l[this.g]=a};
qP.prototype.clear=function(){for(var a=this.l.length,b=0;b<a;b++)this.l[b]=0;this.o=this.g=this.l.length-1};g.p(tP,g.hF);tP.prototype.isPeggedToLive=function(){return this.C};BP.prototype.reset=function(){this.W=EP(this);DP(this);this.g=new AP(0,0,null);this.B=8;this.A=[];this.o=[];this.C=this.H=window.NaN;this.l=this.I=0;this.N=!1};
BP.prototype.process=function(a){var b=!1;if(this.A.length){if(HP(this)&&this.A.length+a.byteLength<this.B)return IP(this,a,0),0;b=this.A.length;var c=new window.Uint8Array(b+a.byteLength);c.set(this.A,0);c.set(new window.Uint8Array(a.buffer,a.byteOffset,a.byteLength),b);this.A=[];a=new window.DataView(c.buffer);b=!0}for(var d=c=0;c<a.byteLength;){var e=a.byteLength-c,f=window.NaN;if(HP(this)){if(e<this.B)return IP(this,a,c),0;switch(this.g.type){case 0:f=FP(this,a,c);b||0!=c||(d=this.g.type);break;
case 1836019574:case 1836019558:f=FP(this,a,c);break;case 1953653094:e=a;f=c;this.I||(this.I=RH(JP(this,e,f),this.l));f=FP(this,e,f);break;case 1836476516:this.l=TH(JP(this,a,c));GP(this);f=this.g.size-8;break;case 1952867444:(0,window.isNaN)(this.C)||(e=JP(this,a,c),f=this.F.M?this.C:ZH(e),this.F.M&&YH(e,f),(0,window.isNaN)(this.D)&&(this.D=f),this.C+=this.I,this.V+=this.I);f=this.g.size-8;break;case 1936286840:e=JP(this,a,c),f=aI(e),this.l=$H(e),GP(this),this.I=f,f=this.g.size-8}}else f=Math.min(this.B,
e);this.g.offset+=f;this.B-=f;c+=f;if(0==this.B){for(;0!=this.g.type&&this.g.offset==this.g.size&&this.g.g;)1835295092==this.g.type&&(this.N=!0),this.g.g.offset+=this.g.size,this.g=this.g.g;switch(this.g.type){case 0:case 1836019574:case 1836019558:case 1953653094:this.B=8;break;default:this.B=this.g.size-8}}}0<a.byteLength&&this.o.push(a);return d};var xma=0;g.h=TP.prototype;g.h.GS=function(a){this.status=a.status;a.ok?(this.C=a.body.getReader(),this.B?(this.H=a.headers,this.V(),this.l=new window.Uint8Array(VP(this)),ZP(this)):this.C.cancel("Cancelling")):$P(this)};
g.h.vO=function(a){if(this.B){var b=a.value?a.value:null;(0,g.G)();a.done?(this.C=null,$P(this)):(this.D.na&&SP(this)?(YP(this,b),this.B({timeStamp:(0,g.G)(),loaded:this.o})):(this.B({timeStamp:(0,g.G)(),loaded:this.o}),YP(this,b)),ZP(this))}};
g.h.Tz=function(a){this.I=""+a;this.K=!0;$P(this)};
g.h.Se=function(a){return this.H.get(a)};
g.h.Rn=function(){return!!this.H};
g.h.Hq=function(){return this.o};
g.h.Cn=function(){return+this.Se("content-length")};
g.h.Ox=function(){return 200<=this.status&&300>this.status&&!!this.o};
g.h.mi=function(){return!!this.A.length||(this.F||this.D.na&&SP(this))&&0<this.g};
g.h.yC=function(){this.mi();this.A.length||WP(this);return this.A.shift()};
g.h.Rz=function(){this.mi();this.A.length||WP(this);return this.A[0]};
g.h.abort=function(){this.C&&this.C.cancel("Cancelling");this.N=this.B=null};
g.h.GC=function(){return!0};
g.h.PB=function(){return this.K};
g.h.Vs=function(){return this.I};g.h=aQ.prototype;g.h.CM=function(a){if(!this.l){this.status=this.g.status;try{this.response=this.g.response}catch(b){}this.o=!0;this.A(a)}};
g.h.EM=function(){2==this.g.readyState&&this.B()};
g.h.DM=function(a){this.l||(this.status=this.g.status,this.C(a))};
g.h.Rn=function(){return 2<=this.g.readyState};
g.h.Se=function(a){try{return this.g.getResponseHeader(a)}catch(b){return g.tD(b),""}};
g.h.Cn=function(){return+this.Se("content-length")};
g.h.Hq=function(){return this.response.byteLength};
g.h.Ox=function(){return 200<=this.status&&300>this.status&&!!this.response&&!!this.response.byteLength};
g.h.mi=function(){return this.o&&!!this.response&&!!this.response.byteLength};
g.h.yC=function(){this.mi();var a=this.response;this.response=null;return new window.Uint8Array(a)};
g.h.Rz=function(){this.mi();return new window.Uint8Array(this.response)};
g.h.abort=function(){this.l=!0;this.g.abort()};
g.h.GC=function(){return!1};
g.h.PB=function(){return!1};
g.h.Vs=function(){return""};g.h=bQ.prototype;g.h.Qa=function(){return this.o?this.o.Qa():""};
g.h.Mb=function(){return this.B};
g.h.start=function(a){var b=this;fQ(this,2);this.I=Tra++;this.l?(this.D=wka(this.info,this.l.o,this.l.length),this.o=g.vJ(this.info,this.V,this.D)):(this.D=this.info.range,this.o=g.vJ(this.info,this.V));if(this.A.ib&&2>this.info.g.g){var c=this.o.get("aitags");if(c&&(vka(this.info)||jI(this.info.Ba[0]))&&this.W&&XG()){c=ob(c).split(",");var d=[];(0,g.C)(c,function(a){g.Oa(b.W,a)&&d.push(a)});
0<d.length&&this.o.set("altitags",g.nb(d.join(",")))}}this.o.set("rn",this.I.toString());0<=a&&this.o.set("rbuf",(1E3*a).toFixed().toString());a=this.o.Qa();try{this.g=zma(this,a)}catch(e){this.B="net.ssl";gQ(this);return}0<this.A.F&&this.K.start()};
g.h.mS=function(){this.M=0;this.info.g.A=g.HF();var a=eQ(this);a.A=g.HF();a.o+=1;a=this.timing;a.l=(0,g.G)();a.C=a.l;a.o=0;a.K=a.l;a.I=0;a.D&&(a.D=[]);a.W=!1;a.X=!1;a.B=0;a.F=FK(a.g);RP(a);a.M=(a.N-a.l)/1E3;a.H=window.NaN};
g.h.lS=function(a){if(!this.ha()){this.C=this.g.status;nQ(this,!1);var b=this.timing,c=a.timeStamp;a=a.loaded;c=c>b.l&&4E12>c?c:(0,g.G)();OP(b,c,a);50>c-b.C&&PP(b)||NP(b,c,a);b=this.timing;b.o>b.ka&&b.o>b.g.policy.o&&4>this.state?fQ(this,4):kQ(this)&&mQ(this)&&fQ(this,Math.max(3,this.state))}};
g.h.kS=function(){if(!this.ha()){if(!this.H&&this.g.Rn()&&this.g.Se("X-Walltime-Ms")){var a=(0,window.parseInt)(this.g.Se("X-Walltime-Ms"),10);this.H=((0,g.G)()-a)/1E3}this.g.Rn()&&this.g.Se("X-Restrict-Formats-Hint")&&this.A.NB&&!XG()&&g.jG("yt-player-headers-readable",!0,2592E3)}};
g.h.jS=function(){var a=this.g;if(!this.ha()&&a){this.K.stop();this.C=a.status;var b=!1;if(400<=a.status)b=!0,this.B="net.badstatus";else if(a.Ox()){var c="";lQ(this)&&(c=a.Rz(),2048<c.length?c="":(c=String.fromCharCode.apply(String,c),c=eH(c)?c:""));if(c){a=eQ(this);g.HF();a.o=0;a.l=0;a.g=0;a=this.info;var d=this.o;g.tJ(a.g,d,c);a.requestId=d.get("req_id");fQ(this,5)}else if(c=a.Hq(),(d=!!this.D&&this.D.length)&&d!=c||a.PB())b=!0,this.B="net.closed";else{nQ(this,!0);var e=iQ(this)?this.g.Se("X-Bandwidth-Est"):
0;if(a=iQ(this)?this.g.Se("X-Bandwidth-Est3"):0)this.X=!0,this.A.wm&&(e=a);a=this.timing;d=(0,g.G)();e=e?(0,window.parseInt)(e,10):0;if(!a.W){a.W=!0;d=d>a.l&&4E12>d?d:(0,g.G)();OP(a,d,c);NP(a,d,c);2==LP(a)&&e?MP(a,a.o/e,a.o):(e=(d-a.l)/1E3,(e<=a.g.policy.C||!a.g.policy.C)&&!a.X&&PP(a)&&MP(a,e,c),PP(a)&&zK(a.g,c,a.B));c=a.g;d=(d-a.l)/1E3;e=a.M;var f=a.ca;c.B.g(d,a.o/d);c.o=g.HF();f||c.g.g(1,d-e);a.A&&(a.A=!1)}a=eQ(this);g.HF();a.o=0;a.l=0;a.g=0;this.info.g.g=0;fQ(this,6)}}else b=!0,this.B=204==a.status?
"net.nocontent":"net.connect";b&&gQ(this)}};
g.h.QS=function(){if(!this.ha()){var a=(0,g.G)(),b=!1;PP(this.timing)?(a=this.timing.N,RP(this.timing),this.timing.N-a>=.8*this.A.F?(this.M++,b=5<=this.M):this.M=0):(b=this.timing,b=a-(b.l+1E3*b.F.delay)>1E3*this.A.Oa);b?(jQ(this),this.B="net.timeout",gQ(this)):this.K.start()}};
g.h.ha=function(){return-1==this.state};
g.h.dispose=function(){jI(this.info.Ba[0])&&6!=this.state&&(this.info.Ba[0].g.D=!1);fQ(this,-1);this.F=null;this.K.dispose();jQ(this)};
bQ.DEBUG=!1;g.p(qQ,g.hF);AQ.prototype.start=function(){this.l=!0};
AQ.prototype.reset=function(){this.g=this.l=!1};BQ.prototype.W=function(a,b){switch(b.info.type){case 1:case 2:this.N(b);break;case 4:var c=b.info.g.gz(b),d=b.info,e=this.g;e&&e.g==d.g&&e.type==d.type&&(d.range&&e.range?e.range.start==d.range.start&&e.range.end==d.range.end:e.range==d.range)&&e.ua==d.ua&&e.l==d.l&&e.fb==d.fb&&(this.g=g.Ia(c).info);(0,g.C)(c,(0,g.z)(this.W,this,a));break;case 3:Dma(this.l,a,b)}};
BQ.prototype.N=function(a){var b=this.l;if(1==a.info.type){var c=HI(a);CG(a.info.g.info)&&!DG(a.info.g.info)&&(xI(new qI(c)),wI(21936,c));!b.o.xm&&DG(a.info.g.info)&&"bt2020"==a.info.g.info.video.primaries&&(b=new qI(c),sI(b,[408125543,374648427,174,224,21936,21937])&&(b=b.o+b.g,129==c.getUint8(b)&&1==c.getUint8(b+1)&&c.setUint8(b+1,9)));a.info.g.info.video&&yJ(a.info.g,c);2==a.info.g.info.containerType&&a.info.g.info.video&&yI(c)}a.info.g.lr(a)};
BQ.prototype.X=function(a){a=a.info;this.A&&(this.V=this.A);this.A=a;this.H&&this.A.o&&(this.H=!1);a.g.info.g>=this.I&&(this.I=a.g.info.g)};
BQ.prototype.getDuration=function(){return this.Ua.index.Fn()};iR.prototype.send=function(){g.OD(this.l,{format:"RAW",responseType:"arraybuffer",timeout:1E4,dd:this.o,sd:this.o,context:this});this.g=g.HF()};
iR.prototype.o=function(a){var b={rc:a.status,lb:a.response?a.response.byteLength:0,rt:((g.HF()-this.g)/1E3).toFixed(3),shost:g.Bg(this.l),trigger:this.C};204==a.status||a.response?this.A&&this.A(UL(b)):this.B(new g.TL("pathprobe.net",!1,b))};var esa=1024/48E3;g.p(oR,g.K);oR.prototype.C=function(a){if(!this.ha()){for(var b=arguments.length-1;0<=b;b--){var c=arguments[b];if(c){g.Ta(this.l,c);var d=this.g,e=d.g;c=g.db(e,c,d.l);0<=c&&g.Sa(e,c)}}this.o()}};
oR.prototype.reset=function(){this.B=this.H=!1;this.D.stop();this.g.g=[];this.l=[];this.o();this.F=null};
oR.prototype.o=function(){this.I=!0;if(!this.K){for(var a=3;this.I&&a;){this.I=!1;this.K=!0;if(this.B&&!this.H&&!this.ha()){this.D.stop();var b=this.M();g.V(b,32)&&this.V.start();for(var c=g.V(this.M(),2)?0x8000000000000:1E3*this.X(),d=g.V(b,2),e=[],f=[],k=0;k<this.l.length;k++){var l=this.l[k];l.active&&(d?0x8000000000000>l.end:!l.contains(c))&&f.push(l)}e=e.concat(Zma(this,f));if(d)b=lR(this.g,0x7ffffffffffff),b=b.concat(Wma(this.g));else if(this.A<=c&&b.kb()&&!g.V(b,16)&&!g.V(b,32)){b=this.g;d=
c;f=[];for(k=mR(b,this.A);k<b.g.length&&!(l=b.g[k],(l.end<=d||l.contains(d))&&f.push(l),l.start>d);++k);b=f}else b=lR(this.g,c);e=e.concat(Yma(this,b));this.A=c;!this.H&&this.F&&(this.F=null);c=g.na(e);for(e=c.next();!e.done;e=c.next())e=e.value,b=e[1],1==e[0]?(b.g&&b.g.P("onEnter",b),this.N("crn_"+b.namespace,b)):(b.g&&b.g.P("onExit",b),this.N("crx_"+b.namespace,b))}this.K=!1;a--}this.M().kb()&&(a=nR(this.g,this.A),!(0,window.isNaN)(a)&&0x7ffffffffffff>a&&(a=(a-this.A)/this.W(),this.D.start(a)))}};
oR.prototype.U=function(){this.l=[];this.g.g=[];this.F=null;g.K.prototype.U.call(this)};rR.prototype.then=function(a,b){return this.o.then(a,b)};
rR.prototype.resolve=function(a){this.g(a)};
rR.prototype.reject=function(a){this.l(a)};g.p(sR,g.hF);g.h=sR.prototype;
g.h.initialize=function(a,b,c,d){a=a||0;var e=this.D;d=d&&d.id;e.A="i";"auto"!=UG()&&(e.A="s");ZQ(e,b);Oma(e,d);e.N=e.B;Pma(e);e.o=e.l;b=dR(e);this.A=new BQ(this.l,b.audio);this.g=new BQ(this.l,b.video);NR(this,this.A);NR(this,this.g);this.g.l.N=this.A.l;this.P("videoformatchange",b);this.Y=this.g.C;this.l.H&&this.qf("streaming","1",!0);this.C.isLive&&null===this.l.V&&this.qf("nosfmp4","1",!0);this.B=a;c?(uR(this,!1),g.Nt(this.fa)):(a=0==this.B,QR(this,this.g,this.g.Ua,a),QR(this,this.A,this.A.Ua,
a),this.seek(this.B),this.Wc("gv"))};
g.h.resume=function(){if(this.V||this.X)this.na=this.X=this.V=!1};
g.h.cR=function(a){if(!this.ha()&&3<=a.state){var b=a.info.Ba[0].g,c=!this.ka&&b.info.video;b=!this.ca&&b.info.audio;5==a.state?c?this.Wc("vrr"):b&&this.Wc("arr"):6==a.state?c?(this.ka=a.Qa(),PF(4)):b&&(this.ca=a.Qa()):4==a.state&&c&&PF(4);if(5<=a.state){if(this.l.ba){c=KP(a.timing);b=a.timing;c={rn:a.I.toString(),rt:c.rt,pt:c.pt,stall:c.stall,elt:c.elbowTime,elb:c.elbowBytes,rqd:b.D?b.D.join(""):""};b=c.rqd;delete c.rqd;if(b)for(var d=0;256*d<b.length;d++)this.qf("rqd",UL({rn:c.rn,ix:String(d),d:b.substring(256*
d,256*(d+1))}));this.qf("rqs",UL(c))}a.X&&this.qf("sbwe3","1",!0)}if(5==a.state)a.start(Math.max(0,a.info.Ba[0].B-this.B));else if(5<=a.state&&5==a.info.Ba[0].type)a.dispose();else{if(this.l.ib&&6==a.state&&(c=a.g?a.g.Se("X-Response-Itag"):null)&&(c=Qma(this.D,c),b=c.Ik(a.info.range.length-c.Oq())[0],a.info=b,a.l))for(c=a.l,b=b.Ba,c.l=b,d=0;d<c.g.length;d++)c.g[d].info=b[d],c.g[d].range.start=b[d].range.start,c.g[d].range.end=b[d].range.end,c.g[d].range.length=b[d].range.length;if(6==a.state||this.l.H&&
3<=a.state&&!(5<=a.state)){c=a.info.Ba[0].g;b=c.info.video?this.g:this.A;this.C.l&&(b.C=!1,a.H&&this.Ia.g(1,a.H));if(d=jI(a.info.Ba[0]))d=a.info,d=!!jI(d.Ba[d.Ba.length-1]);d&&((0,g.C)(a.l.g,b.N,b),this.l.we||this.P("metadata",c))}else if(7==a.state)if(b=a.info.Ba[0].g,hQ(a)){d=(b.info.video&&1<b.A.g||410==a.C||500==a.C||503==a.C)&&!eR(this.D);var e=dQ(a);c=b.info.video?this.g:this.A;d&&(e.stun="1");HR(this,!1,a.Mb(),e);if(!this.ha()){d&&(d=this.D,b=b.info,eR(d),d.da=b,d.W=g.HF(),d.V=-1,ZQ(d,d.D));
for(b=0;b<c.o.length&&a!==c.o[b];b++);if(b==c.o.length)IQ(c,a);else{for(;b<c.o.length;)IQ(c,c.o.pop());3==a.info.Ba[0].type?(a.l&&a.l.A?(b=a.l.A,b=new iI(b.type,b.g,b.range,b.ua,b.startTime+b.duration,0,b.l+b.fb,0,!1)):(b=a.info.Ba[0],b=new iI(b.type,b.g,b.range,b.ua,b.startTime,0,b.l,0,!1)),c.g=b):c.g=null}this.Te()}}else jI(a.info.Ba[0])?(b.C=!0,this.Te()):HR(this,!0,"net.retryexhausted",dQ(a));this.Te();if(5<=a.state&&hQ(a)&&qJ(a.info.g,this.Oa)&&(c=dJ(this.Oa,gJ(a.info.g.o)),b=5E3*Math.pow(1.6,
c.o),!(c.g||c.A+b>g.HF()))){a:{a=a.info;c=this.l.Og;b=null;d=a.Ba[0];if(a.range)b=gI(a.range.start,Math.min(4096,a.range.length));else if(!c||d.g.info.video){a=null;break a}a=new iI(5,d.g,b,d.ua);a=new uJ([a]);a.A=!1}a&&DR(this,a)}}}};
g.h.Te=function(){yR(this);if(this.o&&WI(this.o)&&!YI(this.o)){var a=this.l.ng&&this.g.A&&this.g.A.C;this.C.isLive&&!a?(0,window.isNaN)(this.H)?(this.H=this.B+3600,this.o.o.duration=this.H):this.H<=this.B+1800&&(this.H=Math.max(this.H+1800,this.B+3600),this.o.o.duration=this.H):(a=Math.max(this.A.getDuration(),this.g.getDuration()),(!(0,window.isFinite)(this.H)||this.H!=a)&&0<a&&(this.H=this.o.o.duration=a))}if(!this.ha())if(cK(this.C)&&3==this.C.C)HR(this,!0,"manifest.net.retryexhausted",{rc:this.C.M.toString()});
else if(this.C.isLive&&(TQ(this.g)||TQ(this.A)))wR(this,!0),this.P("seekplayerrequired",window.Infinity);else if(yR(this),EQ(this.g),!this.ha()&&(EQ(this.A),!this.ha())){this.C.l&&(UQ(this.g),UQ(this.A),bna(this),(a=rQ(this.g.l))&&a.l&&(this.W=rQ(this.g.l).l.C,this.qf("strm","strm."+(this.W?"1":"0")+";sfmp4."+(this.l.V?"1":"0"),!0)));if(this.o){a=this.o.g;var b=this.o.l;if(!zR(this,this.A,a)&&!zR(this,this.g,b))if(cna(this)){if(this.l.yd){if(!a.g){var c=rQ(this.A.l);c&&JR(this,a,c)}b.g||(a=rQ(this.g.l))&&
JR(this,b,a)}}else{if(this.K){c=!!this.K.g;var d=this.K;var e=this.A,f=PN(this.o.l.buffered);if(d.g)d=Uma(d,e,f);else{if(f=rQ(e.l)){var k=f.l;if(k&&k.C&&k.B&&(e=e.o.length?e.o[0]:null)&&3<=e.state&&7!=e.state&&kQ(e)&&0==e.info.l&&jR(d,k,f.info)){var l=d.l.JC*esa;d.g=e;d.F=f;d.C=k;d.D=f.info;d.o=l;d.A=(0,g.G)()/1E3}}d=window.NaN}f=!!this.K.g;c!=f&&this.qf("ssr",f?"start":"stop."+d);d&&this.P("seekplayerrequired",d,!0)}(c=LR(this,this.g,b,null))&&!this.ra&&(this.ra=(0,g.G)(),this.Wc("vda"),g.HM("vda",
void 0,"video_to_ad"),this.oa&&PF(4));if(!XI(this.o)){b=ON(b.buffered,this.B+ER);if(!(0,window.isNaN)(b)||GQ(this.g)||!a.buffered.length){if(GQ(this.g)||this.l.im)b=window.NaN;a=LR(this,this.A,a,b);c=c||a;a&&!this.oa&&(this.oa=(0,g.G)(),this.Wc("ada"),g.HM("ada",void 0,"video_to_ad"),this.ra&&PF(4))}GQ(this.g)&&GQ(this.A)&&WI(this.o)&&!YI(this.o)&&(a=this.o,WI(a)&&a.o.endOfStream(),a=this.M,TG(FK(a)),a.A=g.HF());c&&!$I(this.o)&&g.Nt(this.N)}}}tR(this);QR(this,this.g,this.g.Ua,!1);QR(this,this.A,this.A.Ua,
!1);this.g.Ua.C||this.A.Ua.C?HR(this,!0,"net.retryexhausted",{metadata:"1",video:this.g.Ua.C?"1":"0",audio:this.A.Ua.C?"1":"0"}):(BR(this,this.g,this.A)&&FR(this,this.g,this.A),BR(this,this.A,this.g)&&FR(this,this.A,this.g),this.l.lm&&this.da&&!this.V&&GK(this.M)&&(a=this.da,b=(0,g.z)(this.P,this,"error"),c=this.l.sn?(0,g.z)(this.qf,this,"pathprobe"):null,(new iR(a,"cms",c,b)).send(),this.da=""),this.C.o&&g.Nt(this.fa),this.K&&(a=this.K,a.g?(b=0,a.g.ha()||5<=a.g.state||(b=1E3*(a.o-QP(a.g.timing))),
a=0<b?b+1:a.B?Math.max(0,1E3*(a.A+a.l.Qb)-(0,g.G)()):0):a=window.NaN,(0,window.isNaN)(a)||g.Nt(this.ob,a)),g.Nt(this.Pa))}};
g.h.Co=function(a){var b=a?this.A:this.g;a=b&&b.A;var c=b&&b.V;b=void 0;a&&(b=mI(a));if(c){b=b||{};a=mI(c);for(var d in a)b["prev_"+d]=a[d]}HR(this,!0,"fmt.unplayable",b)};
g.h.SP=function(a){HR(this,!0,"fmt.unparseable",a)};
g.h.WP=function(a){HR(this,!1,"qoe.avsync",a)};
g.h.TP=function(a,b){this.C.l&&MR(this,b,a==this.g)};
g.h.UP=function(a,b){this.C.l&&gK(this.C,b.ua,a==this.g)};
g.h.VP=function(a,b){this.C.l&&MR(this,b,a==this.g)};
g.h.RP=function(a,b){if(this.g.Ua.index.Ec()<=b){var c=this.C;c.K.push(a);c.P("cuepointsadded")}};
g.h.seek=function(a){if(this.ha())return Xf();if(this.g.C||this.A.C)return Wf();yR(this);this.Xa=g.HF();tR(this,a);var b=this.g.g,c=PR(this,this.g,a,this.o&&this.o.l),d=PR(this,this.A,c,this.o&&this.o.g);this.B=Math.max(a,c,d);this.I=!0;this.C.l&&this.l.oa&&(c=this.g.g.ua,CJ(this.g.Ua.index,c)||b&&b.ua==c||(this.Y=!0));g.Nt(this.N);return Wf(a)};
g.h.U=function(){xR(this);this.A&&(JQ(this.A),JQ(this.g));g.hF.prototype.U.call(this)};
g.h.Wc=function(a,b){this.xb[a]=b?window.performance.timing.navigationStart+b:g.HF()};
g.h.Sz=function(){return this.Ia.o()||0};
g.h.qf=function(a,b,c){this.P("ctmp",a,b,void 0===c?!1:c)};
var ER=2/24;g.p(VR,g.K);g.h=VR.prototype;g.h.JM=function(a){this.D.call(this.o,new window.Uint8Array(a.message))};
g.h.KM=function(){this.I.call(this.o,this.g.keyStatuses)};
g.h.zt=function(a,b){g.tD(b);var c=a;b instanceof window.DOMException&&(c+=";n."+b.name+";m."+b.message);this.C.call(this.o,c)};
g.h.hB=function(a){this.D.call(this.o,a.message)};
g.h.gB=function(a){if(this.l){var b=this.l.error.code;a=this.l.error.systemCode}else b=a.errorCode&&a.errorCode.code,a=a.systemCode;this.C.call(this.o,"t.prefixedKeyError;c."+b+";sc."+a)};
g.h.fB=function(){this.H.call(this.o)};
g.h.update=function(a){if(this.g)return this.g.update(a).then(null,uD((0,g.z)(this.zt,this,"t.update")));this.l?this.l.update(a):this.B.addKey?this.B.addKey(this.K.g,a,this.F,this.sessionId):this.B.webkitAddKey(this.K.g,a,this.F,this.sessionId);return oE()};
g.h.U=function(){this.g&&this.g.close();this.B=null;g.K.prototype.U.call(this)};g.p(XR,g.K);g.h=XR.prototype;g.h.createSession=function(a,b){var c=a.initData;if(this.g.l){var d=this.C.createSession();"com.youtube.fairplay"==this.g.g&&(c=ZR(this,c));var e=new VR(null,null,null,d,null),f=a.contentType||"";if(0<b){var k=new g.Mt(function(){d.generateRequest(f,c).then(null,uD((0,g.z)(e.zt,e,"t.generateRequest")))},b,this);
g.M(this,k);k.start()}else d.generateRequest(f,c).then(null,uD((0,g.z)(e.zt,e,"t.generateRequest")));return e}if(kK(this.g))return kna(this,c);if(oK(this.g))return jna(this,c);this.l.generateKeyRequest?this.l.generateKeyRequest(this.g.g,c):this.l.webkitGenerateKeyRequest(this.g.g,c);return this.A=new VR(this.l,this.g,c,null,null)};
g.h.NM=function(a){var b=$R(this,a);b&&b.hB(a)};
g.h.MM=function(a){var b=$R(this,a);b&&b.gB(a)};
g.h.LM=function(a){var b=$R(this,a);b&&b.fB(a)};
g.h.U=function(){this.l=null;g.K.prototype.U.call(this)};g.p(bS,g.K);g.h=bS.prototype;g.h.Uz=function(a){this.K=a};
g.h.HM=function(a){if(!this.ha()){this.H||(g.HM("drm_gk_f"),this.H=!0,this.Uc.P("newsession",this));lK(this.l)&&(a=dS(a));if("fairplay"==this.l.flavor){var b=g.de(a);a=new window.Uint8Array(new window.ArrayBuffer(b.length));for(var c=0;c<b.length;c++)a[c]=b.charCodeAt(c)}a=new TR(a,++this.M);this.kC(a)}};
g.h.FM=function(){this.ha()||this.D||(this.Uc.P("sessionready"),this.D=!0)};
g.h.IM=function(a){var b=this;this.ha()||(a.forEach(function(a,d){var c=lK(b.l)?d:a,f=new window.Uint8Array(lK(b.l)?a:d);lK(b.l)&&hS(f);var k=pQ(f);hS(f);f=pQ(f);b.g[k]?b.g[k].status=c:b.g[f]?b.g[f].status=c:b.g[k]={type:"",status:c}}),xja("Key statuses changed: "+iS(this,",")),this.Uc.P("keystatuseschange",this))};
g.h.kC=function(a){g.HM("drm_net_s");a={format:"RAW",method:"POST",postBody:a.message,responseType:"arraybuffer",withCredentials:!0,timeout:3E4,Hb:(0,g.z)(this.DP,this,a),onError:(0,g.z)(this.WA,this,a)};var b=this.N;this.K&&(b=Qg(b,"access_token",this.K));(0,window.isNaN)(this.B)||(b=Qg(b,"cpi",this.B));g.OD(b,a)};
g.h.DP=function(a,b){if(!this.ha())if(0!=b.status&&b.response){g.HM("drm_net_r");var c=new window.Uint8Array(b.response);if(c=UR(c))if(0!=c.statusCode)cS(this,"drm.auth",!0,"t.f;c."+c.statusCode,g.IN(c.statusCode));else{g.HM("drm_kr_s");var d=null,e=c.headers["Heartbeat-Url"];e&&(d=new gna(e,(0,window.parseInt)(c.headers["Heartbeat-Interval-Secs"],10)||60,(0,window.parseInt)(c.headers["Heartbeat-Num-Retries"],10)||4));d&&this.Uc.P("newlicense",d);if(d=c.headers["Authorized-Format-Types"])this.A=d.split(","),
eS(this)||(nK(this.l)?(d=fS(this.A),480<g.vG[d]&&this.Uc.P("hdentitled",this)):this.Uc.P("keystatuseschange",this));c.headers["Key-Ids"]&&(this.g=nna(c.headers["Key-Ids"]));oK(this.l)&&(c.message=new window.Uint8Array(fe(String.fromCharCode.apply(null,c.message))));this.o.update(c.message).then(function(){g.HM("drm_kr_f")});
this.D&&(this.I=g.HF())}else cS(this,"drm.net",!0,"t.p","YTP_ERROR_SERVER_ERROR")}else this.WA(a,b)};
g.h.GM=function(a){this.ha()||cS(this,"drm.keyerror",!0,a)};
g.h.WA=function(a,b){var c=!1;if(3<=a.g.l||this.V&&36E4<g.HF()-this.I){var d="drm.net.retryexhausted";c=!0}else d=b.status?"drm.net.badstatus":"drm.net.connect";cS(this,d,c,"t.r;c."+b.status);if(this.V&&this.D?0:!c&&this.M==a.number)d=a.g.getValue(),d=new g.Mt((0,g.z)(this.kC,this,a),d),g.M(this,d),d.start(),d=a.g,d.g=Math.min(2E4,2*d.g),d.o=Math.min(2E4,d.g+Math.round(.4*(Math.random()-.5)*d.g)),d.l++};
g.h.U=function(){this.Uc=null;g.K.prototype.U.call(this)};
g.h.vg=function(){var a=this.A.join();if(eS(this)){var b=[],c;for(c in this.g)"usable"!=this.g[c].status&&b.push(this.g[c].type);a+="/UKS:"+b}return a};jS.prototype.get=function(a){a=this.Ck(a);return-1!=a?this.values[a]:null};
jS.prototype.remove=function(a){a=this.Ck(a);-1!=a&&(this.keys.splice(a,1),this.values.splice(a,1))};
jS.prototype.set=function(a,b){var c=this.Ck(a);-1!=c?this.values[c]=b:(this.keys.push(a),this.values.push(b))};
jS.prototype.Ck=function(a){return g.La(this.keys,function(b){return g.gb(a,b)})};g.p(lS,g.hF);g.h=lS.prototype;g.h.cP=function(a){a=new WR(new window.Uint8Array(a.initData),a.initDataType);oS(this,a,!0)};
g.h.hQ=function(a){oS(this,new WR(a.initData,a.contentType),!0)};
g.h.PP=function(){this.ha()||(this.F=!0,nS(this))};
g.h.dO=function(a){if(!this.ha()){g.tD(a);var b="t.a";a instanceof window.DOMException&&(b+=";n."+a.name+";m."+a.message);this.P("licenseerror","drm.unavailable",!0,b,"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK")}};
g.h.kQ=function(a){this.ha()||!a||this.Y||(this.Y=a,this.P("heartbeatparams",a))};
g.h.lQ=function(){this.ha()||(this.o.shift(),nS(this))};
g.h.pR=function(){if(kK(this.g)&&(this.ba--,0==this.ba)){var a=this.B;a.l.msSetMediaKeys(a.o)}};
g.h.OM=function(a){this.ha()||mS(this,gS(a,this.W))};
g.h.sP=function(){this.ha()||!this.V&&nK(this.g)&&this.P("hdproberequired")};
g.h.U=function(){this.g.l&&this.H.setMediaKeys(null);this.H=null;this.o=[];for(var a=g.na(this.l.values),b=a.next();!b.done;b=a.next())b.value.dispose();a=this.l;a.keys=[];a.values=[];this.A&&(this.A.dispose(),this.A=null);this.C=null;g.hF.prototype.U.call(this)};
g.h.vg=function(){return 0>=this.l.values.length?"no session":this.l.values[0].vg()};pS.prototype.B=function(){var a=g.x("yt.abuse.botguardInitialized");return a&&a()?(a=g.x("yt.abuse.invokeBotguard")())?"r1a="+a:null:null};
pS.prototype.C=function(a){return"r3a="+Math.floor(this.g.lengthSeconds%Db(a.c3a))};
pS.prototype.A=function(a){a=Db(a.c);var b=g.x("yt.abuse.dclkstatus.checkDclkStatus")();return"r6a="+(a^b)};g.p(wS,g.hF);wS.prototype.getCurrentTime=function(){return!(0,window.isNaN)(this.g)&&(0,window.isFinite)(this.g)?this.g:this.l?this.l.getCurrentTime():window.NaN};
wS.prototype.Rd=function(a){return this.l&&this.o?this.o.za?this.o&&this.o.Na&&this.o.Na.g&&this.M?a?this.o.Rd():wP(this.M):TN(this.l)||0:this.o.Rd():0};
wS.prototype.Xb=function(){return this.o?this.o.Xb():0};
wS.prototype.N=function(){var a=this.getCurrentTime()+.1;this.C=Wf(a);yS(this,a,!0)};var MS={"ad-trueview-indisplay-pv":6,"ad-trueview-insearch":7},NS={"ad-trueview-indisplay-pv":2,"ad-trueview-insearch":2},OS=/^(\d*)_((\d*)_?(\d*))$/;g.p(AS,SN);g.h=AS.prototype;g.h.ma=function(){return this.g};
g.h.Sd=function(){return this.g.src};
g.h.Tc=function(){try{return 0<=this.g.playbackRate?this.g.playbackRate:1}catch(a){return 1}};
g.h.Vf=function(a){this.Tc()!=a&&(this.g.playbackRate=a);return a};
g.h.getCurrentTime=function(){return this.g.currentTime};
g.h.getDuration=function(){return this.g.duration};
g.h.load=function(){var a=this.g.playbackRate;this.g.load&&this.g.load();this.g.playbackRate=a};
g.h.pause=function(){this.g.pause()};
g.h.play=function(){var a=this.g.play();return a&&a.then?a:null};
g.h.Mb=function(){return this.g.error?this.g.error.code:null};
g.h.kl=function(){return!!this.g.webkitCurrentPlaybackTargetIsWireless};
g.h.setSize=function(a){return g.Bh(this.g,a)};
g.h.getVolume=function(){return this.g.volume};
g.h.setVolume=function(a){NI();this.g.volume=a};
g.h.tL=function(a){this.dispatchEvent(new cO(this,a.type,a))};
g.h.setAttribute=function(a,b){this.g.setAttribute(a,b)};
g.h.removeAttribute=function(a){this.g.removeAttribute(a)};
g.h.hasAttribute=function(a){return this.g.hasAttribute(a)};
g.h.U=function(){for(var a in this.A)this.g.removeEventListener(a,this.A[a]);SN.prototype.U.call(this)};g.p(CS,g.K);g.h=CS.prototype;g.h.start=function(){this.l.start()};
g.h.stop=function(){this.l.stop()};
g.h.Gb=function(a,b,c){this.o[a]=b;this.g[a]=new FS(!!c)};
g.h.clear=function(){for(var a in this.g)this.g[a].clear()};
g.h.XS=function(){for(var a in this.o)this.g[a].update(this.o[a]());this.l.start()};
FS.prototype.update=function(a){this.o?(this.g.add(a-this.l||0),this.l=a):this.g.add(a)};
FS.prototype.clear=function(){this.g.clear();this.l=0};g.p(HS,g.hF);g.h=HS.prototype;g.h.U=function(){g.AD(this.ba);window.clearInterval(this.Pb);g.AD(this.Hc);var a=AH();a&&window.document.removeEventListener(a,this.Og,!1);KS(this);LS(this);this.D&&(this.D.dispose(),this.D=null);IS(this);gT(this);g.Ve(this.oa,this.g);this.X=null;this.Xa=!1;g.hF.prototype.U.call(this)};
g.h.jw=function(){if(this.g.Ub())g.V(this.o,128)||(this.g.Ub(),this.A.experiments.g("html5_probe_media_capabilities")||(this.na.g=!0),this.ed=!0,4!=this.ob&&(this.Y=g.Wa(this.g.re)),g.nN(this.g,this.A,this.Ga).then(this.Yw,this.Yw,this),this.Nc("loudness",""+this.g.relativeLoudness.toFixed(3),!0));else{var a=this.g;if(a.za&&a.adaptiveFormats&&!a.Px&&(g.yN(a)||this.A.experiments.g("html5_manifestless_always"))){a=this.g;var b=this.A.experiments;if(!jN(a)){a.Px=!0;var c=VJ(oN(a,a.adaptiveFormats),a.Cc,
a.lengthSeconds,!0,b);!b.g("html5_manifestless_vp9")&&Xla(c)||!b.g("html5_manifestless_captions")&&a.qr?c.dispose():(a.wk=!1,mN(a,c),c.subscribe("cuepointsadded",a.hw,a),TJ(a.pa)&&(a.ni=!0));lN(a)}}else if(this.g.wk){a=this.g;b=this.A.experiments;a.sh=!0;a.wk=!1;eH(a.ge)||g.tD(Error("DASH MPD Origin invalid: "+a.ge),"WARNING");c=a.ge;var d=b.l("dash_manifest_version")||4;c=g.Lg(c,{mpd_version:d});a.isLowLatencyLiveStream&&"NORMAL"!=a.latencyClass||(c=g.Lg(c,{pacing:0}));aK(new SJ(c,b,a.za),c).then(a.QO,
a.PO,a);g.HM("mrs")}else if(this.g.ni)this.C&&(a=this.C.l,MO(a,"protected"),a.g.videoData.Rf?a.fa():a.g.videoData.subscribe("dataloaded",a.fa,a)),a=this.g,c=this.A.ba,b=this.A.experiments,a.fairPlayCert||a.pa&&TJ(a.pa),c=a.pa?PK(c,a.pa):{},b=new rK(c,b,a.zC),g.M(a,b),a.ni=!1,a.sh=!0,a=(0,g.z)(a.LJ,a),b.B=a,qK(b.o)?tK(b):Wka(b);else if(!this.g.sh&&this.ed){b=this.A;a=this.g;d=this.xb.Ta();var e=this.Qg();38==a.dg&&"books"==b.playerStyle?(b=a.videoId.indexOf(":"),a=g.Lg("//play.google.com/books/volumes/"+
a.videoId.slice(0,b)+"/content/media",{aid:a.videoId.slice(b+1),sig:a.IN})):30==a.dg&&"docs"==b.playerStyle?a=g.Lg("https://docs.google.com/get_video_info",{docid:a.videoId,authuser:a.Zc,authkey:a.authKey,eurl:b.Ia}):33==a.dg&&"google-live"==b.playerStyle?a=g.Lg("//google-liveplayer.appspot.com/get_video_info",{key:a.videoId}):(c={html5:"1",video_id:a.videoId,cpn:a.clientPlaybackNonce,eurl:b.Ia,ps:b.playerStyle,el:CN(a,b),hl:b.Oa,list:a.playlistId,agcid:a.Ti,aqi:a.adQueryId,sts:17553,lact:g.UF()},
g.Fa(c,b.A),b.lg&&(c.ecver=b.lg),b.forcedExperiments&&(c.forced_experiments=b.forcedExperiments),a.jg?(c.vvt=a.jg,a.mdxEnvironment&&(c.mdx_environment=a.mdxEnvironment)):(a.oauthToken||b.Y)&&(c.access_token=a.oauthToken||b.Y),a.revocableUnlistedToken&&(c.ut=a.revocableUnlistedToken),a.adFormat&&(c.adformat=a.adFormat),b.Wg&&(c.cc_lang_pref=b.Wg),b.Xg&&2!=b.Xg&&(c.cc_load_policy=b.Xg),b.mute&&(c.mute=b.mute),a.Ug&&2!=b.Ug&&(c.iv_load_policy=a.Ug),a.yj&&(c.itct=a.yj),FN(a,b)&&(c.autoplay="1"),a.fo&&
(c.autonav="1"),a.Vr&&(c.noiba="1"),a.isMdxPlayback&&(c.mdx="1",c.ytr=a.vf),a.mdxControlMode&&(c.mdx_control_mode=a.mdxControlMode),a.an&&(c.ytrcc=a.an),a.Yr&&(c.utpsa="1"),a.isFling&&(c.is_fling="1"),a.Ur&&(c.mute="1"),a.vnd&&(c.vnd=a.vnd),a.Fq&&(c.force_ad_param_ad_type="video_ad",c.force_ad_param_url=a.Fq,c.force_ad_param_break_type="1",c.force_ad_param_offset_value=0),d.width&&(c.width=d.width),d.height&&(c.height=d.height),a.oh&&(c.splay="1"),a.ypcPreview&&(c.ypc_preview="1"),DN(a,b)&&(c.content_v=
DN(a,b)),a.Zk&&(c.livemonitor=1),b.Zc&&(c.authuser=b.Zc),b.pageId&&(c.pageid=b.pageId),b.ib&&(c.ei=b.ib),b.l&&(c.iframe="1"),a.Hh&&(c.tst=a.Hh),a.contentCheckOk&&(c.cco="1"),a.racyCheckOk&&(c.rco="1"),b.wb&&a.liveStartWalltime&&(c.live_start_walltime=a.liveStartWalltime),b.wb&&a.hs&&(c.live_manifest_duration=a.hs),b.wb&&a.playerParams&&(c.player_params=a.playerParams),b.wb&&a.cycToken&&(c.cyc=a.cycToken),b.wb&&a.OC&&(c.tkn=a.OC),0!=e&&(c.vis=e),b.enableSafetyMode&&(c.enable_safety_mode="1"),a.ko&&
(c.kids_age_up_mode=a.ko),b.widgetReferrer&&(c.widget_referrer=b.widgetReferrer.substring(0,128)),(d=b.fd.embedding_app)&&(c.embedding_app=d),(d=g.kN(a))&&(c.uloc=d),a.Xk&&(c.internalipoverride=a.Xk),a.innertubez&&(c.innertubez=a.innertubez),b.wb&&a.Zh&&(c.wpid=a.Zh),a=g.Lg(b.baseYtUrl+"get_video_info",c));b=2;this.g.isAd()&&(b=0);c=this.g;d=this.A.ed;e=this.A.experiments;var f=this.A.kc;c.ha()||(c.Uq=a,c.Wt=b,c.Wj=!!d,c.vy=!!f,e&&(c.UB=!e.g("disable_gvi_cors"),c.Tq=e.l("html5_get_video_info_timeout_ms")||
0,c.zx=e.g("html5_get_video_info_promiseajax")),c.sh=!0,c.gC())}}};
g.h.Yw=function(){if(iN(this.g)){this.g.za&&(this.N=new rma,Ena(this),0<this.g.Pr&&!this.g.wc()||ZS(this,tT(this),!0));this.g.Na.g&&g.uT(this);sT(this,"i");if(this.N)if(this.g.wc()){var a=(0,g.z)(this.B.Sz,this.B);this.N.l=a}else this.g.pa&&(a=(0,g.z)(this.g.pa.qK,this.g.pa),this.N.l=a);this.A.experiments.g("html5_new_seeking")&&Fna(this)}this.Oa&&mT(this);a=this.g;a.endSeconds&&a.endSeconds>a.startSeconds&&PS(this,a.endSeconds);this.A.experiments.g("html5_probe_media_capabilities")&&(this.na.g=!0);
QS(this,"dataloaded");this.V.l?WS(this):this.Oa&&RS(this,hO(hO(this.o,512),1));if(null!=this.g.Na&&0<this.g.Na.videoInfos.length&&null!=this.g.Na.videoInfos[0].o){a=this.g.Na.videoInfos[0];for(var b=null,c=g.na(this.g.Na.videoInfos),d=c.next();!d.done;d=c.next())d=d.value,d.o&&(b=d);b&&this.Nc("medCap","bestHeight="+a.video.height+",bestSmoothHeight="+b.video.height)}};
g.h.logEvent=function(a,b){if(this.C){var c=this.C,d={};d.rt=g.BO(c.g).toFixed(3);g.Fa(d,CO(c.g));var e=c.g.g,f=c.g.videoData,k={ns:e.Xa,html5:"1",el:CN(f,e),ps:e.playerStyle,fexp:e.experiments.experimentIds.join(",")||void 0,feature:f.Rt||f.Gl||void 0,ctrl:f.hg||void 0,ytr:f.vf||void 0,list:f.playlistId};FN(f,e)&&(k.autoplay="1");f.subscribed&&(k.subscribed=f.subscribed);g.Fa(d,k);delete d.fexp;g.Fa(d,a);d=g.HD(c.g.g.baseYtUrl+"player_204",d);WO(c,d,b)}};
g.h.isPeggedToLive=function(){return!!this.I&&this.I.isPeggedToLive()};
g.h.mK=function(){return this.o};
g.h.getPlayerType=function(){return this.ob};
g.h.VS=function(){jT(this);RS(this,hO(this.o,16));mT(this);fO(this.o)&&nT(this)};
g.h.getAvailableAudioTracks=function(){return this.A.experiments.g("html5_hls_select_audio_killswitch")?this.g.Na?this.g.Na.getAvailableAudioTracks():[]:this.g.getAvailableAudioTracks()};
g.h.getAudioTrack=function(){if(this.A.experiments.g("html5_hls_select_audio_killswitch")){var a=this.g,b=a.sc;if(!b)return a.Uh;var c=g.Ka(this.getAvailableAudioTracks(),function(a){return a.id==b.id});
return c?c:a.Uh}return this.g.getAudioTrack()};
g.h.bS=function(){this.A.experiments.l("html5_background_quality_cap")&&this.B&&sT(this,"v");this.A.pm&&!this.g.backgroundable&&this.l&&!this.Ga&&(zH()&&this.l.l?(this.Nc("bgmobile","suspend"),g.fT(this,!0)):mT(this)&&this.Nc("bgmobile","resume"))};
g.h.QP=function(a){if(this.ng)this.ce=!0;else{var b=this.getDuration();!b&&this.g.wc()&&(b=3600);a.o.duration=b;g.vR(this.B,a)}};
g.h.xP=function(a){if(this.F){var b=this.F;kK(b.g)&&(a=oQ(a),0!=a.length&&oS(b,new WR(a),!1))}};
g.h.aB=function(){mK&&this.ca&&this.ca.g&&this.F&&(rna(this.F,this.ca.g),this.ca=null)};
g.h.IP=function(a){cT(this,a.reason,a.video.info,a.audio.info);var b=g.uN(this.g);b&&b.H(a.video.index);this.N&&(this.N.g=a.audio.index)};
g.h.HP=function(a){bT(this,a.reason,a.audio.info)};
g.h.Dj=function(a){Hna(this,a);var b=/^pp/.test(this.g.clientPlaybackNonce);Gna(a)?g.V(this.o,4)?(this.lg=!0,LS(this)):kT(this):zT(a)&&this.g.Na.l?(this.Nc("highrepfallback","1",!0),ama(this.g),pT(this),nT(this)):a.g?(b=this.B?this.B.D.D:null,b=zT(a)&&b&&b.isLocked()?"YTP_ERROR_FORMAT_UNAVALIABLE":void 0,g.TS(this,a.errorCode,b,UL(a.details))):this.C&&(this.C.onError(a.errorCode,UL(a.details)),b&&"manifest.net.connect"==a.errorCode&&(a="https://www.youtube.com/generate_204?cpn="+this.g.clientPlaybackNonce+
"&t="+g.HF(),(new iR(a,"manifest",(0,g.z)(function(a){this.Nc("pathprobe",a)},this),(0,g.z)(function(a){this.onError(a.errorCode,UL(a.details))},this.C))).send()))};
g.h.Sw=function(){if(this.A.experiments.g("html5_new_seeking"))yS(this.D,this.D.getCurrentTime(),!0);else{if(!(0,window.isNaN)(this.W)&&this.l){var a=this.getDuration(),b=tT(this);!this.g.za&&this.W>=b?(this.W=a,this.P("endseeking",this),$S(this,!0),GS(this)):(this.B&&this.B.seek(this.W),(!this.g.za||1<=this.l.g.readyState)&&this.l.bc(this.W),this.B&&!g.V(this.o,2)&&RS(this,hO(this.o,16)))}yT(this)}};
g.h.getCurrentTime=function(){if(this.D&&!(0,window.isNaN)(this.D.getCurrentTime()))return this.D.getCurrentTime();if(!(0,window.isNaN)(this.W))return this.W;var a=0;this.l&&1<=this.l.g.readyState?a=this.l.getCurrentTime():this.g&&(a=this.g.rg||this.g.startSeconds||0);return a};
g.h.getDuration=function(){return this.g.lengthSeconds?this.g.lengthSeconds:tT(this)?tT(this):0};
g.h.DH=function(){var a=new Yka;if(this.B){var b=this.A.schedule;a.o=b.F;a.B=b.I;a.bandwidthEstimate=EK(b);a.g="d."+AK(b).toFixed(2)+";st."+(1E9*CK(b)).toFixed(2)+";bw."+b.l.o().toFixed(0)+";abw."+b.B.o().toFixed(0)+";v50."+xK(b.g,.5).toFixed(2)+";v92."+xK(b.g,.92).toFixed(2)+";v96."+xK(b.g,.96).toFixed(2)+";v98."+xK(b.g,.98).toFixed(2);b=this.B;if(b.o&&!XI(b.o)&&(a.l=GQ(b.g)?b.g.A.A:QN(b.o.l.buffered,b.B),a.A=GQ(b.A)?b.A.A.A:QN(b.o.g.buffered,b.B),b.l.ba)){var c=KQ(b.g),d=KQ(b.A),e=MN(b.o.l.buffered,
"_"),f=MN(b.o.g.buffered,"_");a.g=(a.g||"")+(";lvq."+c+";laq."+d+";lvb."+e+";lab."+f)}a.bandwidthEstimate=VQ(b.F)}else this.l&&(a.l=ZN(this.l));a.C=this.ox();return a};
g.h.UR=function(){if(this.F){var a=this.F,b=this.g.oauthToken;a.N=b;a.P("oauthtoken",b)}QS(this)};
g.h.TR=function(a){g.TS(this,"auth",(0,window.unescape)(a.reason),a.errordetail||"sec."+a.errorcode)};
g.h.pK=function(a){var b=a.target.Sd();if(this.l&&this.l.Sd()&&this.l.Sd()==b){var c=!1;switch(a.type){case "error":var d=!this.zd,e=this.A.experiments.l("html5_error_reload_cooldown_ms");0<e&&(d=(0,window.isNaN)(this.ib)||(0,g.G)()-this.ib>e);if(d&&0<this.l.Mb()){this.zd=!0;this.ib=(0,g.G)();a=this.g;a=a.fg?+g.FD(a.fg.g().Eg).expire<Date.now()/1E3+1800:!1;this.C&&(c={e:fma(this.l),msg:oO(this.l)},this.K&&(c.msopened=""+ +!!this.K.g),a&&(c.stale="1"),this.C.onError("qoe.restart",UL(c)));if(a){kT(this);
return}if(UD("philips"))try{window.close()}catch(f){}KT(this);return}if(this.A.experiments.g("html5_defer_background_errors")&&zH()&&4==this.l.Mb()){g.fT(this);HT(this,"unplayable");return}break;case "durationchange":d=this.l.getDuration();(!this.K||(0,window.isFinite)(d)&&0<d)&&1!=d&&this.g.lengthSeconds!=d&&(this.g.lengthSeconds=d,QS(this));break;case "ratechange":this.B&&(this.B.F.o=Math.max(1,this.l.Tc()));d=this.H;d.B=!0;d.o();break;case "loadedmetadata":this.g.startSeconds&&(0<(this.l.g.seekable||
LN()).length?this.A.experiments.g("html5_new_seeking")?ZS(this,this.g.startSeconds,!0):this.l.g.currentTime=this.g.startSeconds:(this.fa=this.g.startSeconds,$S(this,!0))),this.P("onLoadedMetadata");case "loadstart":window.clearInterval(this.Pb);this.oq()||(this.Pb=g.zD((0,g.z)(this.oq,this),100));break;case "progress":this.fa&&this.l&&(d=this.l.g.seekable||LN(),d.length&&d.end(0)>this.fa&&(this.A.experiments.g("html5_new_seeking")?ZS(this,this.fa,!0):this.l.g.currentTime=this.fa,this.fa=window.NaN,
this.fd=this.ra.O(this.l,"canplay",this.RO,this)));case "suspend":BT(this);this.P("onLoadProgress",this,Ina(this));g.V(this.o,8)&&(this.Kh?c=!0:this.Lh&&((0,window.isNaN)(this.Ld)||this.Ld+1<this.l.getCurrentTime())&&(c=!0,this.Ld=this.l.getCurrentTime()));break;case "seeked":GT(this);break;case "seeking":this.A.experiments.g("html5_new_seeking")||(d=this.getCurrentTime(),this.B&&this.B.seek(d),e=this.Ia,e.g=d,e.l=!0);break;case "playing":this.M.g("plev");g.HM("plev",void 0,"video_to_ad");this.kg&&
(this.kg=!1,lT(this)||ZS(this,window.Infinity,!0));g.AD(this.Hc);this.Hc=window.NaN;break;case "timeupdate":d=this.l&&!this.l.getCurrentTime();e=this.l&&0==this.l.g.readyState;if(d&&(!this.Pa||e))return;this.Pa=this.Pa||!!this.l.getCurrentTime();this.oq();GT(this);BT(this);if(!this.l||this.l.Sd()!=b)return;this.P("onVideoProgress",this,this.l.getCurrentTime());break;case "waiting":if(0<(this.l.g.played||LN()).length&&0==YN(this.l).length&&0<this.l.getCurrentTime()&&5>this.l.getCurrentTime()&&this.B)return;
break;case "resize":this.g.Ka&&"auto"==this.g.Ka.video.quality&&this.P("internalvideoformatchange",this.g,!1)}this.l&&this.l.Sd()==b&&(this.P("videoelementevent",a),b=hma(this.o,a,this.Ia,this.A.experiments),!g.V(this.o,1)&&g.V(b,1)&&LT(this,"evt_"+a.type),RS(this,b),c&&this.l.play())}};
g.h.TN=function(a){a="available"==a.g.availability;a!=this.Kd&&(this.Kd=a,this.P("airplayavailabilitychange"))};
g.h.UN=function(){var a=this.l.kl();a!=this.Ga&&(this.Ga=a)&&(g.nN(this.g,this.A,this.Ga),sT(this,"m"));this.P("airplayactivechange")};
g.h.oq=function(){var a=this.l;a&&this.Pa&&!this.g.cf&&!WM("vfp","")&&2<=a.g.readyState&&!a.g.ended&&0<PN(YN(a))&&this.M.g("vfp");if((a=this.l)&&!this.g.cf&&0<a.getDuration()){!WM("pbp","")&&a.g.paused&&2<=a.g.readyState&&0<PN(YN(a))&&this.M.g("pbp");var b=this.A.experiments.g("html5_use_start_seconds_for_pbs")?this.g.startSeconds:0;if(a.getCurrentTime()>b){window.clearInterval(this.Pb);g.AD(this.ba);this.ba=window.NaN;this.g.cf=!0;this.A.cf=!0;FT(this);this.A.experiments.g("html5_ignore_playing_evt")&&
g.V(this.o,8)&&RS(this,iO(this.o,65));if(this.C){a=this.C;if(!a.B){a.g.g.experiments.g("disable_embedpage_playback_logging")||16623!=a.g.videoData.rootVeType||vD(Error("Playback for EmbedPage"));b=TO(a,"playback");a.H=[10+a.g.videoData.xj,10,10,40+a.g.videoData.al-a.g.videoData.xj,40];var c=a.o;window.clearInterval(c.D);c.D=window.NaN;c.D=g.zD((0,g.z)(c.update,c),100);c.C=g.BO(c.l);c.A=uO(c.l);b.l=SO(a,!0);b.Ia=!0;b.send();a.g.videoData.Dl&&(b=a.g.g,c=a.g.videoData,c={html5:"1",video_id:c.videoId,
cpn:c.clientPlaybackNonce,plid:c.playbackId,ei:c.eventId,ptk:c.Dl,oid:c.DB,ptchn:c.CB,pltype:c.EB,content_v:DN(c,b)},b=g.Lg(b.baseYtUrl+"ptracking",c),WO(a,b));a.g.videoData.enableCardio&&(a.bp("playback"),a.A||ZO(a));a.g.videoData.Ff||YO(a);a.B=!0;a=a.o;a.g=a.l.l();a.C=g.BO(a.l);!(0==a.o&&5>a.g)&&2<a.g-a.o&&(a.o=a.g)}g.yD((0,g.z)(this.Zt,this),4500)}this.P("playbackstarted");g.NF()&&((a=g.x("yt.scheduler.instance.clearPriorityThreshold"))?a():PF(0));return!0}}return!1};
g.h.RO=function(){this.fd&&(this.ra.Ca(this.fd),delete this.fd,this.El())};
g.h.gI=function(){if(this.l){var a=this.A.experiments.g("html5_ignore_playing_evt");if(!a||!g.V(this.o,128)){var b=this.getCurrentTime();a&&g.V(this.o,8)&&JN(this.Ia,b)?RS(this,iO(this.o,1)):g.V(this.o,8)&&KN(this.Ia,b,g.HF(),ZN(this.l))?(a=this.getDuration(),!this.g.za&&a&&1.1>Math.abs(a-b)?this.l.g.loop?ZS(this,0,!0):GS(this):(g.mO(this.o)||LT(this,"progress_fix"),RS(this,hO(this.o,1)))):g.V(this.o,4)&&g.mO(this.o)&&5<ZN(this.l)&&RS(this,iO(this.o,1));BT(this)}}};
g.h.AH=function(){return this.B?VQ(this.B.F):EK(this.A.schedule)};
g.h.gx=function(){return this.l?ZN(this.l):0};
g.h.CH=function(){return this.A.schedule.F};
g.h.ox=function(){if(!(this.g.za&&this.g.pa&&this.B&&lT(this)&&this.o.kb()))return window.NaN;var a=this.g.wc()?this.B.Sz():this.g.pa.F;return(0,g.G)()/1E3-CT(this)-a};
g.h.SS=function(){var a;if(a=g.V(this.o,1)&&this.B){a=this.B;var b=this.getCurrentTime();a=!(!a.o||XI(a.o)||YI(a.o)||SR(b,a.g,a.o.l)&&SR(b,a.A,a.o.g))}a&&(a=RR(this.B),this.Nc("reseek",UL({cur:a.lct,vb:a.lvb,ab:a.lab})),ZS(this,this.getCurrentTime(),!0))};
g.h.RH=function(){this.g.za||this.P("connectionissue")};
g.h.bT=function(){this.A.experiments.g("html5_new_seeking")||this.l.bc(this.l.getCurrentTime()+.1)};
g.h.El=function(){var a=this,b=this.l.Wd();b&&b.then(void 0,function(){g.V(a.o,4)||HT(a,"promise")})};
g.h.jQ=function(a){var b={};g.Fa(b,this.A.A);b.cpn=this.g.clientPlaybackNonce;this.g.jg&&(b.vvt=this.g.jg,this.g.mdxEnvironment&&(b.mdx_environment=this.g.mdxEnvironment));this.A.Zc&&(b.authuser=this.A.Zc);this.A.pageId&&(b.pageid=this.A.pageId);g.bc(a.C,b);aS(a,a.N)};
g.h.AP=function(a,b,c,d){d=void 0===d?"YTP_ERROR_LICENSE":d;c=c.substr(0,256);"drm.keyerror"==a&&1<this.F.l.keys.length&&96>this.Pg&&(a="drm.sessionlimitexhausted",b=!1);if(b)g.TS(this,a,d,c);else if(this.C)this.C.onError(a,c);"drm.sessionlimitexhausted"==a&&(this.Pg++,KT(this))};
g.h.CP=function(){var a=this,b=this.A.experiments.l("html5_license_constraint_delay"),c=eE();b&&c?(b=new g.Mt(function(){sT(a,"r");QS(a)},b),g.M(this,b),b.start()):(sT(this,"r"),QS(this))};
g.h.BP=function(){var a=this;mK&&(this.ca=Rka(this.g.pa))&&(this.ca.g?g.Mf(function(){a.aB()}):ena(this.B,this.ca))};
g.h.nK=function(a){this.P("heartbeatparams",a)};
g.h.oK=function(a){this.Nc("keystatuses",ona(a));var b=0;this.g.Ka&&(b=this.g.Ka.video.g);a:{for(var c in a.g)if("output-restricted"==a.g[c].status){a=!0;break a}a=!1}a&&480<b&&this.P("drmoutputrestricted")};
g.h.XA=function(){if(!this.g.cf&&this.l&&!zH()){var a="0";0<this.l.g.readyState&&5<=ZN(this.l)&&this.g.Na.g&&(RS(this,hO(this.o,1)),LT(this,"load_soft_timeout"),this.P("playbackstalledatstart"),a="1");this.C&&(a={preroll:""+ +YS(this),restartmsg:a},this.B&&g.Fa(a,RR(this.B)),this.l&&g.Fa(a,bO(this.l)),this.C.onError("qoe.start15s",UL(a)));this.P("loadsofttimeout")}};
g.h.Zt=function(){if(!this.Xa){var a=new pS(this.g);if("c1a"in a.l){var b=g.x("yt.abuse.botguardInitialized");b=!(b&&b())}else b=!1;if(b)g.yD((0,g.z)(this.Zt,this),4500);else{if(a.g&&a.g.Jm){b=[a.g.Jm];for(var c in a.o)if(a.l[c]&&a.o[c]){var d=a.o[c](a.l);d&&b.push(d)}a=b.join("&")}else a=null;a&&this.C&&(c=this.C,c.K||(b=TO(c,"atr"),b.I=a,b.send(),c.K=!0),this.Xa=!0)}}};
g.h.Xb=function(){return this.A.experiments.g("html5_new_seeking")?this.D?this.D.Xb():0:this.g.Xb()};
g.h.bz=function(){return this.Ea};
g.h.Sq=function(){if(this.l)a:{var a=this.l;var b={};if(a.g){if(a.g.getVideoPlaybackQuality){a=a.g.getVideoPlaybackQuality();break a}a.g.webkitDecodedFrameCount&&(b.totalVideoFrames=a.g.webkitDecodedFrameCount,b.droppedVideoFrames=a.g.webkitDroppedFrameCount)}a=b}else a={};return a};
g.h.Nc=function(a,b,c){if(this.C){var d=this.C;d.ha()||HO(d.l,a,b,void 0===c?!1:c)}};g.p(MT,aP);g.h=MT.prototype;g.h.getPlayerType=function(){return this.playerType};
g.h.getRootNode=function(){return g.VT(this).element};
g.h.Xf=function(){return this.app.C};
g.h.ea=function(a){return(a=g.TT(this.app,a||this.playerType))&&a.g};
g.h.isWidescreen=function(){return this.app.isWidescreen()};
g.h.Wd=function(a){3==this.Ra()?g.ST(this.app.A).il("control_play"):xY(this.app,a)};
g.h.rf=function(a){AT(g.TT(this.app,a))};
g.h.addEventListener=function(a,b){this.app.Y.subscribe(a,b)};
g.h.removeEventListener=function(a,b){this.app.Y.unsubscribe(a,b)};
g.h.rl=function(a){this.Pz(a,a)};
g.h.ll=function(a){return F0(this.app,a)};
g.h.getVideoUrl=function(a,b,c,d){var e=this.Ra(),f=2==e;if(d&&f||3==e)f=!1,e=1;d=this.ea(e);if(!d)return"";var k;a||d.za||(k=Math.floor(this.getCurrentTime(e)));return this.app.g.getVideoUrl(d.videoId,f?void 0:this.getPlaylistId()||void 0,k,b,c)};
g.h.sl=function(a,b,c){var d=g.NT(this).A;d&&d.Ds(a,b,c)};
g.h.cd=function(){if(g.W(this).I)return!1;var a=g.TT(this.app,1);if(!a)return!1;var b=a.g;return b.Gd()&&!g.yN(b)&&2!=this.Ra()&&(!YS(a)||3==this.Ra())};
g.h.Ai=function(a,b){var c=this.app,d=g.TT(c,this.playerType);d&&c.g.Zb.has(a.toString())?d.C?(c=TO(d.C,"engage"),c.o=a,c.send(b)):b&&b():b&&b()};
g.h.Vf=function(a,b){E0(this.app,a,b)};
g.h.setVolume=function(a){a=g.Wc(a,0,100);rH(this.app,{volume:a,muted:this.isMuted()},!0)};
g.h.mute=function(){rH(this.app,{muted:!0,volume:this.getVolume()},!0)};
g.h.Yf=function(){rH(this.app,{muted:!1,volume:Math.max(5,this.getVolume())},!0)};g.A(g.vU,g.hF);g.h=g.vU.prototype;g.h.load=function(){this.loaded=!0};
g.h.unload=function(){this.loaded=!1};
g.h.ud=function(){return!0};
g.h.U=function(){this.loaded&&this.unload();g.vU.Z.U.call(this)};
g.h.BD=function(){return{}};var Kna=1;g.p(g.yU,g.K);g.yU.prototype.xa=function(a,b){g.ua(b)?Ed(a,this.element,b):a.appendChild(this.element)};
g.yU.prototype.update=function(a){for(var b in a)this.updateValue(b,a[b])};
g.yU.prototype.updateValue=function(a,b){var c=this.Ga["{{"+a+"}}"];c&&AU(this,c[0],c[1],b)};
g.yU.prototype.U=function(){this.va={};this.Ga={};g.BU(this);g.K.prototype.U.call(this)};g.p(g.X,g.yU);g.h=g.X.prototype;g.h.Yb=function(a,b){this.updateValue(b||"content",a)};
g.h.show=function(){this.g||(this.element.style.display=this.yd,this.g=!0)};
g.h.hide=function(){this.g&&(this.element.style.display="none",this.g=!1)};
g.h.R=function(a,b,c){return this.O(this.element,a,b,c)};
g.h.O=function(a,b,c,d){c=(0,g.z)(c,d||this);d={target:a,type:b,listener:c};this.V.push(d);a.addEventListener(b,c);return d};
g.h.Ca=function(a){for(var b=0;b<this.V.length;b++)if(this.V[b]==a){a=this.V.splice(b,1)[0];a.target.removeEventListener(a.type,a.listener);break}};
g.h.focus=function(){g.Sd(this.element);this.element.focus()};
g.h.U=function(){for(;this.V.length;){var a=this.V.pop();a.target.removeEventListener(a.type,a.listener)}g.yU.prototype.U.call(this)};g.p(IU,g.hF);IU.prototype.dispose=function(){this.g.clear();g.hF.prototype.dispose.call(this)};
var JU=null;g.va("ytads.bulleit.getVideoMetadata",function(a){return(a=KU().g.get(a))?a.g():{}},void 0);
g.va("ytads.bulleit.triggerExternalActivityEvent",function(a,b,c){var d=KU();c=Lna(c);null!=c&&d.P(c,{queryId:a,viewabilityString:b})},void 0);var LU=null,NU=null;g.va("yt.www.ads.eventcache.getLastCompanionData",function(){return LU},void 0);
g.va("yt.www.ads.eventcache.getLastPlaShelfData",function(){return NU},void 0);g.p(g.QU,g.X);g.QU.prototype.subscribe=function(a,b,c){return this.W.subscribe(a,b,c)};
g.QU.prototype.unsubscribe=function(a,b,c){return this.W.unsubscribe(a,b,c)};
g.QU.prototype.Jd=function(a){return this.W.Jd(a)};
g.QU.prototype.P=function(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];return this.W.P.apply(this.W,[].concat([a],g.qa(c)))};var Nna={seekableStart:0,seekableEnd:1,current:0};g.p(g.oV,g.K);g.h=g.oV.prototype;g.h.show=function(a){1!=this.g&&2!=this.g&&(3==this.g&&this.vp(),4==this.g?(this.l.show(),this.g=null,this.o.stop()):this.l.g||(pV(this,!0),this.g=1,a?this.o.start(a):this.vp()))};
g.h.hide=function(a){3!=this.g&&(1==this.g||2==this.g?(this.l.hide(),this.g=null,this.o.stop()):this.l.g&&(a&&(this.A=a),pV(this,!0),this.g=3,this.o.start(this.B)))};
g.h.vp=function(){switch(this.g){case 1:this.l.show();this.g=2;this.o.start(10);break;case 2:pV(this,!1);this.g=null;break;case 3:this.l.hide();pV(this,!1);this.g=4;this.o.start(0);break;case 4:this.g=null,this.A&&this.A()}};
g.h.stop=function(){for(;null!=this.g&&4!=this.g;)this.o.stop(),this.vp()};
g.h.U=function(){this.l.ha()||this.l.element.removeAttribute("aria-hidden");g.K.prototype.U.call(this)};sV.prototype.getLength=function(){return this.g-this.l};g.p(vV,g.QU);vV.prototype.B=function(){var a=this.o.A;a=uV(new sV(a.seekableStart,a.seekableEnd),a.current,0);this.D.style.width=100*a+"%"};
vV.prototype.C=function(){g.KL(g.W(this.A))||(2==this.A.Ra()?-1===this.l&&(this.show(),this.l=this.o.subscribe("q",this.B,this),this.B()):-1!==this.l&&(this.hide(),this.o.Jd(this.l),this.l=-1))};g.p(wV,g.X);wV.prototype.clear=function(){for(var a=g.na(this.Ja),b=a.next();!b.done;b=a.next())g.Ue(b.value);this.Ja=[]};
wV.prototype.D=function(a){g.YE(a);this.l=Math.max(0,this.l-xV(this));yV(this)};
wV.prototype.C=function(a){g.YE(a);this.l=Math.min(this.Ja.length-1,this.l+xV(this));yV(this)};
wV.prototype.U=function(){this.clear();g.X.prototype.U.call(this)};g.p(zV,g.hF);zV.prototype.stop=function(){this.o&&this.g.Ca(this.o)};
zV.prototype.C=function(){var a=this.l.uh(2);this.A={seekableStart:a.seekableStart,seekableEnd:a.seekableEnd,current:a.current};this.P("q")};
zV.prototype.B=function(a){0<rO(a,2)&&this.P("p")};g.Y_={};var AV=[2,5];var MX=["vmap_enabled_ads_backend"];DV.prototype.g=function(a,b,c){a=a||MX;(0,g.Kj)(a,function(a){return JV(this.l).experiments.g(a)},this)&&(a=c||{},a.cdp=1,a["var"]=b,a.sdkv="h.3.0",g.cU(this.l.g,"ad",a))};var Una=Error("Timed out while waiting for Biscotti ID");OV.prototype.B=function(){var a=PV(this);a.format="2_3";a.at="2_3";a.trsp="1";hX(this.g,3,a)};g.A(QV,g.K);QV.prototype.U=function(){this.g.reject();QV.Z.U.call(this)};
QV.prototype.C=function(){this.o++;var a=g.x("yt.www.watch.ads.isAfcAdVisible");a&&g.Aa(a)&&a()&&this.A++;4<=this.A?this.g.resolve():5<=this.o?this.g.reject("Timed out waiting for MPU to become visible"):this.l.start()};var aW,SV=!1,VV=!1,RV=!1;g.sF("showCompanionAdLoaded",function(){VV&&(WV(),VV=!1)});
g.sF("watchAdsInit",function(){SV&&(SV=!1,TV())});g.A(cW,g.hF);cW.prototype.Af=function(){return this.adSystem+"_"+this.adType};
cW.prototype.fi=function(){return this.Af()};
cW.prototype.Eb=function(){return this.l?this.l.Eb():null};
cW.prototype.abort=g.y;g.A(eW,g.K);eW.prototype.U=function(){eW.Z.U.call(this);g.Dd(fW(this));g.Dd(gW(this));this.l=this.g=null;delete this.o};g.p(mW,g.K);mW.prototype.start=function(){!this.ha()&&(0,window.isNaN)(this.g)&&(this.o=(0,g.G)(),this.g=g.ng(this.B,Math.max(0,this.A-this.l),this))};
mW.prototype.stop=function(){(0,window.isNaN)(this.g)||(this.o=this.l=0,g.og(this.g),this.g=window.NaN)};
mW.prototype.pause=function(){(0,window.isNaN)(this.g)||(this.l+=(0,g.G)()-this.o,g.og(this.g),this.g=window.NaN)};
mW.prototype.U=function(){(0,window.isNaN)(this.g)||g.og(this.g);g.K.prototype.U.call(this)};g.A(oW,cW);oW.l=15;oW.g=1E3;g.h=oW.prototype;g.h.abort=function(){lW(this.B,13);this.N||this.l.destroy();this.C=this.F=!1;tW(this)};
g.h.Af=function(){var a=this.Eb();var b=Eq(a);if(4==dW(b).o)return b;if(js(a))a=3;else if(a.isSkippable())a=ks(a)?1:2;else return this.adSystem+"_"+this.adType;return this.adSystem+"_"+this.adType+"_"+a};
g.h.fi=function(){return this.adSystem+"_"+this.adType};
g.h.show=function(){bW();lY(this.g)&&XV(this.g,{});var a=this.g.g.app;sY(a,nW(a,2));this.B.o=g.HF();this.D=this.g.getRootNode();this.A.subscribe("progresssync",this.zA,this);this.g.l.M&&g.Fd(g.I("video-ad-status-bar",this.D));g.iq(this.D,["ad-showing","ad-interrupting"]);this.g.subscribe("resize",this.Qu,this);try{this.o.R(this.l,"adError",this.wU),this.o.R(this.l,"click",this.vU),this.o.R(this.l,"complete",this.yU),this.o.R(this.l,"engagedview",this.gP),this.o.R(this.l,"pause",this.JD),this.o.R(this.l,
"start",this.KD),this.o.R(this.l,"skip",this.BU),this.o.R(this.l,"MUTE_AD",this.abort),this.o.R(this.l,"skippableStateChanged",this.vR),this.o.R(this.l,"youTubeChannelMetadata",this.YP),this.o.R(this.l,"yt-show-toast",this.pS),this.o.R(this.l,"companionInitialized",this.xU),lY(this.g)&&this.o.R(this.l,"youtubeKevlarCompanionShow",this.zU),this.o.R(fW(this.g.C),"mouseup",this.AU),this.Qu(),this.N||this.l.start()}catch(b){uW(this,b)}this.g.l.l&&JV(this.g).experiments.g("ad_info_icon_in_card")&&oY(this.g,
"onAdMetadataAvailable",{showAdInfoIcon:!0})};
g.h.MD=function(a,b,c){if("newdata"==a&&this.videoData!=c){a=new aoa;a.isSkippable=this.W;a.isBumper=this.ba;a.skip=(0,g.z)(this.l.skip,this.l);a.muteAd=(0,g.z)(this.l.muteAd,this.l);a.whyThisAdClicked=(0,g.z)(this.l.whyThisAdClicked,this.l);a.whyThisAdClosed=(0,g.z)(this.l.whyThisAdClosed,this.l);a.sendAdsPing=g.fE;a.skipShown=(0,g.z)(this.l.mC,this.l);var d=this.Eb();if(d){a.clickThroughUrl=us(d)||"";b=c.lengthSeconds;(d=Us(d))?(Jp(d,b),b=Kp(d)):b=null;a.skipTime=b||0;a.adSystem=this.adSystem;if(b=
vW(this))a.whyThisAdInfo=b;if(d=wW(this))a.muteAdInfo=d;var e=JV(this.g);this.g.l.l&&e.experiments.g("ad_info_icon_in_card")&&(e={showAdInfoIcon:!0},e.whyThisAdInfo=b,e.muteAdInfo=d,oY(this.g,"onAdMetadataAvailable",e))}a.videoId=c.videoId;a.videoId||(a.videoUrl=this.Sl()||"");c.spacecastModule=this.X;rW(this.g,-1,a)}this.videoData=c};
g.h.LD=function(a){a=a.state;g.V(a,1)||this.H.pause();g.V(a,128)?uW(this,Error(a.g.message||"Video player error.")):g.V(a,1)&&this.H.start()};
g.h.KD=function(){this.K=!0;this.C=!1;if(!this.F){this.F=!0;var a=this.B;jW(a);var b=kW(a);if((0,window.isNaN)(a.o))jW(a);else{var c=g.HF()-a.o;b.ad_stl=c}iW(a,4,b);sW(this.g,1);qW(this,!1);this.I&&1!=this.I&&g.IM("yt_abt",this.I,"video_to_ad");this.videoData&&this.videoData.clientPlaybackNonce&&g.IM("ad_cpn",this.videoData.clientPlaybackNonce,"video_to_ad");this.videoData&&this.videoData.videoId&&g.IM("ad_docid",this.videoData.videoId,"video_to_ad");g.IM("cpn",KV(this.g).clientPlaybackNonce,"video_to_ad");
g.HM("apbs",void 0,"video_to_ad");(a=g.U("ADS_INSTREAM_FIRST_PLAY"))&&oY(this.g,"onAdAnnounce",a)}rW(this.g,1);this.P("adPlay",this)};
g.h.JD=function(){this.K&&(this.K=!1,rW(this.g,2))};
g.h.yU=function(){if(!this.C){var a=this.B;jW(a);var b=kW(a),c=a.g.Ek();c?b.ad_fmt=c:jW(a);iW(a,5,b);JV(this.g).wb&&oY(this.g,"onAdComplete");tW(this);this.C=this.F=!1}};
g.h.gP=function(){var a=this.B;a.g.P("AD_LOGGING_EVENT",777,kW(a))};
g.h.BU=function(){this.C=!0;var a=this.B,b=kW(a),c=a.g.Ek();c?b.ad_fmt=c:jW(a);iW(a,14,b);JV(this.g).wb&&oY(this.g,"onAdSkip");tW(this)};
g.h.vR=function(){JV(this.g).experiments.g("html5_ad_no_buffer_abort_after_skippable")&&this.H.dispose();var a=g.U("ADS_INSTREAM_SKIPPABLE");a&&oY(this.g,"onAdAnnounce",a)};
g.h.YP=function(){if(!this.ha()){var a=this.g.l;if(a){var b=this.Eb();if(b){var c=b.N;b=b.ca;var d=JV(this.g),e=vW(this),f=wW(this);b&&c&&c.isListed?(a={},a.videoTitle=c.title,a.channelThumbnailUrl=b.channelIconThumbnailUrl,a.channelTitle=b.authorName,a.channelVideoCount=b.videoCount,a.showAdInfoIcon=this.g.l.l&&d.experiments.g("ad_info_icon_in_card"),a.whyThisAdInfo=e,a.muteAdInfo=f,oY(this.g,"onAdMetadataAvailable",a)):a.l&&d.experiments.g("ad_info_icon_in_card")&&(a={showAdInfoIcon:!0},a.whyThisAdInfo=
e,a.muteAdInfo=f,oY(this.g,"onAdMetadataAvailable",a))}}}};
g.h.pS=function(a){oY(this.g,"onYtShowToast",a.event.g)};
g.h.xU=function(a){a=a.event;var b=a.g;b&&b instanceof g.xf&&this.P("adCompanionInitialized",a.Jb(),b)};
g.h.zU=function(a){lY(this.g)&&(a=(a=a.event.Jb())&&a.F)&&XV(this.g,a)};
g.h.wU=function(a){var b={};try{b.error_code=a.event.getError().Mb()}catch(c){b.error_code=900,b.error_message=c.toString()}lW(this.B,32,b);uW(this,a.event.getError())};
g.h.vU=function(){var a=this.B;jW(a);var b=kW(a);if(a.l){var c=LV(a.A);b.ck_xy=Math.round(a.l.x-c.left)+"x"+Math.round(a.l.y-c.top);b.ck_wh=c.width+"x"+c.height}iW(a,15,b);this.l.pause();this.P("select")};
g.h.zA=function(){};
g.h.uA=function(){this.l.wf();if(this.F&&!this.C){var a=this.B;a.g.P("AD_LOGGING_EVENT",19,kW(a))}qW(this,!0)};
g.h.U=function(){this.g.unsubscribe("control_toggle_play_pause",this.ND,this);this.g.unsubscribe("control_play",this.Mt,this);this.g.unsubscribe("control_pause",this.Kt,this);this.g.unsubscribe("resize",this.Qu,this);g.cF(this.o);this.A.unsubscribe("statechange",this.LD,this);this.A.unsubscribe("internalAbandon",this.uA,this);this.A.unsubscribe("internalvideodatachange",this.MD,this);this.A.unsubscribe("progresssync",this.zA,this);this.N||this.l.destroy();this.M&&(g.Dd(this.M),this.M=null);this.V&&
(g.Fd(this.V),this.V=null);this.D&&(g.kq(this.D,["ad-showing","ad-interrupting"]),this.D=null);this.C=!1;uY(this.g);this.H.dispose();this.H=null;oW.Z.U.call(this)};
g.h.An=function(){return this.A.getDuration()};
g.h.Ek=function(){return this.videoData&&this.videoData.Ka?this.videoData.Ka.mimeType:null};
g.h.Sl=function(){return this.videoData&&this.videoData.fg?this.videoData.fg.g().Eg:null};
g.h.ND=function(){this.K?this.Kt():this.Mt()};
g.h.Mt=function(){this.l.resume();this.KD()};
g.h.Kt=function(){this.l.pause();this.JD()};
g.h.Qu=function(){g.Bh(fW(this.g.C),this.g.app.F.Ta())};
g.h.AU=function(a){a=new g.$c(OE(a),PE(a));this.B.l=a};g.A(zW,cW);g.h=zW.prototype;g.h.An=function(){};
g.h.Ek=function(){};
g.h.Sl=function(){};
g.h.show=function(){if(!this.C||!DY(this.g)){var a=this.g.getRootNode();g.S(a,"ad-showing");this.o=fW(this.g.C);a=this.l.Eb().getHeight();this.o.style.height=ph(a,!0);g.S(this.o,"ad-overlay");this.A.R(this.o,"mouseup",this.FU);try{this.A.R(this.l,"autoClose",this.gO),this.A.R(this.l,"userClose",this.QR),this.A.R(this.l,"userRecall",this.RR),this.A.R(this.l,"click",this.DU),this.A.R(this.l,"impression",this.wP),this.A.R(this.l,"adError",this.CU),lY(this.g)&&this.A.R(this.l,"youtubeKevlarCompanionShow",
this.EU),this.Ac("normal"),this.nk(),this.F||this.l.start(),this.Ru(),this.D=!0,this.g.subscribe("resize",this.nk,this),this.g.subscribe("presentingplayerstatechange",this.OD,this),this.P("adEnd",this)}catch(b){this.P("adError",b)}}};
g.h.EU=function(a){lY(this.g)&&(a=(a=a.event.Jb())&&a.F)&&XV(this.g,a)};
g.h.U=function(){var a=this.g.getRootNode();g.kq(a,["ytp-ad-overlay-open","ytp-ad-overlay-closed"]);g.cF(this.A);this.g.unsubscribe("resize",this.nk,this);this.g.unsubscribe("presentingplayerstatechange",this.OD,this);g.jq(a,"ad-showing");this.l&&(this.F||this.l.destroy(),this.l=null);this.o&&g.jq(this.o,"ad-overlay");this.o=null;this.C=!1;zW.Z.U.call(this)};
g.h.QR=function(){this.o&&this.l&&this.l.Eb()&&(this.o.style.height=ph(0,!0));this.C=!0;var a=this.B;a.l=(0,g.G)();var b=yW(a);xW(a,6,b);AW(this,!1)};
g.h.gO=function(){AW(this,!1)};
g.h.RR=function(){AW(this,!0)};
g.h.DU=function(){LX(this.g);var a=this.B;a.l=(0,g.G)();var b=yW(a);if(a.o){var c=LV(a.B);b.ck_xy=Math.round(a.o.x-c.left)+"x"+Math.round(a.o.y-c.top);b.ck_wh=c.width+"x"+c.height}xW(a,100,b)};
g.h.wP=function(){var a=g.U("ADS_OVERLAY_IMPRESSION");a&&oY(this.g,"onAdAnnounce",a);AW(this,!0)};
g.h.FU=function(a){this.B.o=a.target==a.currentTarget?null:new g.$c(a.pageX,a.pageY)};
g.h.CU=function(a){this.P("adError",a.event.getError())};
g.h.OD=function(a){g.V(a.state,16)&&this.Ac("normal")};
g.h.Ac=function(a){this.H!=a&&(this.H=a,this.D&&this.nk())};
g.h.nk=function(){var a=this.o;var b=g.gd(a),c=g.sd&&a.currentStyle;c&&g.od(g.id(b).g)&&"auto"!=c.width&&"auto"!=c.height&&!c.boxSizing?(b=g.Gh(a,c.width,"width","pixelWidth"),a=g.Gh(a,c.height,"height","pixelHeight"),a=new g.cd(b,a)):(c=new g.cd(a.offsetWidth,a.offsetHeight),b=g.Ih(a),a=g.Lh(a),a=new g.cd(c.width-a.left-b.left-b.right-a.right,c.height-a.top-b.top-b.bottom-a.bottom));this.l.Eb()&&(c=this.l.Eb().Fb(),b=this.l.Eb().getHeight(),(c>a.width||b>a.height)&&AW(this,!1))};
g.h.Ru=function(){var a=this.B;a.A=(0,g.G)();var b=yW(a);xW(a,3,b)};g.A(BW,g.K);BW.l="rm";BW.g=10;BW.B=200;BW.o=200;BW.A=190;g.h=BW.prototype;
g.h.load=function(){var a=this.g.app.F.Ta();if(this.g.l.A)var b=!1;else b=0<(this.C&3)?190:200,b=200>a.width||a.height<b;if(b){b=this.o;var c=PV(b);c.ck_wh=a.width+"x"+a.height;nY(b.g,14,c);bW();kX(this.B)}else if(this.gb=this.g.gb)a=this.o,hX(a.g,9,PV(a)),a=NV(this.g),(b=this.g.l.serverPrefetchedVast)&&0<(this.C&3)?(a.l=b,this.g.l.serverPrefetchedVast=void 0):a.g=this.bh(),this.gb.R("adsManagerLoaded",this.HD,!1,this),this.gb.R("adError",this.GD,!1,this),this.TB(this.gb,a)};
g.h.Iq=function(){var a=IV(this.g.l,JV(this.g),KV(this.g));a.surveyCreativeData=this.g.l.surveyCreativeData;a.hU=this.F;return a};
g.h.HD=function(a){if(a.l===this){g.HM("aml");g.HM("aml",void 0,"video_to_ad");try{var b=this.Iq(),c=a.g}catch(d){this.wh(d);return}this.A.R(c,"companionBackfill",(0,g.z)(this.uU,this,c));this.A.R(c,"loaded",(0,g.z)(this.tU,this,c));this.A.R(c,"adError",(0,g.z)(this.sU,this,c));this.A.R(c,"allAdsCompleted",g.y);this.A.R(c,"contentPauseRequested",g.y);this.A.R(c,"contentResumeRequested",g.y);c=qA(a,this.g.D,{},b);try{c.init("normal")}catch(d){c.destroy(),this.wh(d)}}};
g.h.tU=function(a,b){g.Jm(this.A);var c=b.Jb(),d=c.Wb(),e=this.o,f=PV(e);f.ad_man=d?"instream":"overlay";hX(e.g,12,f);e=a.eh();switch(d?this.Qn(a,c,e):this.hi(a,c)){case 0:gX(this.B,this.H,this.l);break;case 1:a.destroy();kX(this.B);break;case 2:c=this.o;nY(c.g,21,PV(c));a.destroy();kX(this.B);break;case 3:kX(this.B);break;default:a.destroy()}};
g.h.sU=function(a,b){g.Jm(this.A);a.destroy();this.wh(b.getError())};
g.h.GD=function(a){var b=a.getError();"adLoadError"==b.Vb()&&a.g===this&&this.wh(b)};
g.h.uU=function(){EW(this)};
g.h.Qn=function(a,b,c){var d=KV(this.g)&&KV(this.g).spacecastModule;if(d&&c&&!this.K.test(c))return 3;DW(this,ws(b));CW(this,new oW(this.F,this.g,a,b.isSkippable(),b.isBumper(),void 0,d,this.l.g));return 0};
g.h.hi=function(a,b){DW(this,ws(b));CW(this,new zW(this.F,this.g,a));return 0};
g.h.wh=function(a){if(a){var b=this.o,c=PV(b);a&&FV(a,c);nY(b.g,32,c);kX(this.B)}};
g.h.U=function(){this.gb&&(this.gb.Ca("adsManagerLoaded",this.HD,!1,this),this.gb.Ca("adError",this.GD,!1,this));g.Jm(this.M);g.Jm(this.A);BW.Z.U.call(this)};
g.h.TB=function(a,b){try{yC(a,b,this),g.HM("ar"),g.HM("ar",void 0,"video_to_ad")}catch(c){this.wh(c)}};g.A(FW,cW);g.h=FW.prototype;g.h.An=function(){};
g.h.Ek=function(){};
g.h.Sl=function(){};
g.h.show=function(){if(lY(this.g))XV(this.g,{afcMpu:{logImpression:this.ID.bind(this),logNoAd:this.mr.bind(this)}});else if(RV)this.mr();else{var a=JV(this.g).experiments;TV();YV();ZV(a).then((0,g.z)(this.ID,this),(0,g.z)(this.mr,this))}};
g.h.ID=function(){var a={};a.at=this.fi();a.format=this.Af();this.P("AD_LOGGING_EVENT",3,a);this.P("adEnd",this)};
g.h.mr=function(){var a={};a.at=this.fi();this.P("AD_LOGGING_EVENT",2,a);this.P("adEnd",this)};g.A(GW,BW);GW.prototype.Iq=function(){var a=GW.Z.Iq.call(this);a.Nv=0==this.I;a.IG=DY(this.g)?a.Nv:!0;return a};
GW.prototype.bh=function(){var a=CV(this.l);var b=this.D;(b=4==this.C&&b.g.afvInvideoAdTag?b.g.afvInvideoAdTag:b.g.afvAdTag)?(g.kb(b,"http:")&&(b=b.substr(5)),a=g.HD(b,{videoad_start_delay:0==a||-1==a?a:1E3*a})):a="";return a};
GW.prototype.hi=function(a,b){if(this.g.l.A)return 1;if(1==this.l.g){var c=new BV(2,10);this.l=c;this.o.o=c;hX(this.g,1)}return GW.Z.hi.call(this,a,b)};g.A(HW,zW);HW.prototype.nk=function(){};
HW.prototype.Af=function(){return"1_3"};
HW.prototype.Ru=function(){1==this.I?this.P("AD_LOGGING_EVENT",2,{}):HW.Z.Ru.call(this)};g.A(IW,BW);IW.prototype.bh=function(){var a=this.D,b=CV(this.l);if(0<(this.C&3)){var c="mid,"+a.Bb;var d="midroll";0==b?(c="pre",d="preroll"):-1==b&&(c="post",d="postroll");a=new g.nm(a.g);b=a.g;var e=b.get("scp","");e=(e?e+"&":"").replace(RegExp("&?pos=[^&]*","g"),"");b.set("scp",e+("pos="+c));b.set("vpos",d);c=a.toString()}else c=a.g;return c};
IW.prototype.hi=function(a,b){DW(this,ws(b));var c=gs(b);if(HV(c,"rm"))return 1==this.C||DY(this.g)||bW(),a.Vj(),2;if(HV(c,"blockAllAds"))return a.Vj(),CW(this,new HW(this.g,a,1)),0;if(HV(c,"hideMaster"))return CW(this,new HW(this.g,a,0)),0;if(this.g.l.A)return 1;CW(this,new zW(this.F,this.g,a));return 0};g.A(JW,BW);JW.l="https://www.googleapis.com/urlshortener/v1/url?key=AIzaSyBbSB-E7SYd1iggX6r2b5C7ljvO6fVqaj0&shortUrl=";JW.o="43";JW.g=function(a){var b=new cD;g.OD(a,{format:"RAW",method:"GET",timeout:5E3,withCredentials:!0,sd:function(){var c=Error(a+" timed out");gD(b);eD(b,!1,c)},
onError:function(c){c=Error("Problem loading "+a+" with status code "+c.status);gD(b);eD(b,!1,c)},
Hb:function(a){b.rk(a)}});
return b};
JW.prototype.bh=function(){return""};
JW.prototype.TB=function(a,b){var c=this.C;c&1||c&4||c&8?this.D?c&8?Wna(this.D):("goo.gl"==g.Bg(this.D)?(c=JW.g("https://www.googleapis.com/urlshortener/v1/url?key=AIzaSyBbSB-E7SYd1iggX6r2b5C7ljvO6fVqaj0&shortUrl="+this.D),iD(c,function(a){a=JSON.parse(a.responseText);if(!a)throw Error("Invalid expanded forced ad URL.");if(!a.longUrl)throw Error("Missing forced ad URL information.");a=new g.nm(a.longUrl);g.wm(a,"video_format","43");return JW.g(a.toString())},this)):c=JW.g(this.D),iD(c,function(c){b.l=
c.responseText;
yC(a,b,this)},this),hD(c,null,this.wh,this)):this.wh(Error("Invalid empty URL")):this.wh(Error("Invalid request type: "+c))};var LW=null;g.p(OW,g.QU);g.p(PW,g.QU);g.h=PW.prototype;g.h.U=function(){g.QU.prototype.U.call(this);this.clear()};
g.h.clear=function(){this.l.clear();this.o.stop()};
g.h.start=function(){this.o.start();this.uu()};
g.h.uu=function(){yV(this.l)};
g.h.aI=function(){this.C.start()};g.A(QW,cW);QW.prototype.An=function(){};
QW.prototype.Ek=function(){};
QW.prototype.Sl=function(){};
QW.prototype.show=function(){var a=KV(this.g).videoId;if(a){var b=this.l.Eb();JV(this.g).B.add(a,{Qh:$s(b)||null,ek:at(b)||null});lY(this.g)?(a=RW(this),g.Pa(a)||(a={shopText:KW(Er(a[0],"teaser_text")),sponsoredText:KW(g.U("YTP_SPONSORED")),adInfoText:KW(g.U("YTP_SPONSORED_PRODUCT_INFO")),itemList:{horizontalListRenderer:{items:(0,g.H)(a,ioa),visibleItemCount:3,webHorizontalListRendererExtensionData:{nextButton:{buttonRenderer:{style:"STYLE_DEFAULT",size:"SIZE_DEFAULT",icon:{iconType:"CHEVRON_RIGHT"}}},
previousButton:{buttonRenderer:{style:"STYLE_DEFAULT",size:"SIZE_DEFAULT",icon:{iconType:"CHEVRON_LEFT"}}}}}}},oY(this.g,"onPlaShelfInfoCardsReady",{renderer:a}))):(a=RW(this),g.Pa(a)||(noa(this.o,a),a=this.o.element,joa().then(g.Ea(koa,a)).then(this.o.start,null,this.o)));a={};a.format=this.Af();a.at=this.fi();GV(b,a);this.P("AD_LOGGING_EVENT",3,a)}};g.A(SW,BW);SW.prototype.bh=function(){return""};
SW.prototype.hi=function(a,b){DW(this,ws(b));CW(this,new QW(this.g,a));5!=this.l.g&&EW(this);return 0};
SW.prototype.Qn=function(){return 1};g.A(TW,SW);TW.prototype.bh=function(){return this.g.l.forceAdUrl||""};g.A(ZW,zW);ZW.prototype.nk=function(){};
ZW.prototype.Af=function(){return"4_3"};g.A($W,BW);
$W.prototype.bh=function(){if(g.D(this.D)||0!=CV(this.l)){var a=this.N;if(a.g.fa&&a.g.oa){var b={};var c="youtube_watch_"+a.o;b.nw="10613";b.asnw=a.g.fa;b.ssnw=a.g.fa;b.caid=a.g.oa;b.vdur=a.C;b.csid=c;b.resp="vast2";b.metr="121";c={};(0,window.isNaN)(a.g.ra)||(c._fw_d_001=a.g.ra);a.g.gender&&(c._fw_d_002=a.g.gender);a.g.na&&(c["_fwu:10613:lang"]=a.g.na);a.g.Ya&&(c._fw_dbp=a.g.Ya);a.g.contentVideoId&&(c._fw_distributorvideoassetid=a.g.contentVideoId);c._fw_yt_type=YW(a)?"long":"short";b.prof=YW(a)?
"10613:youtube_html5_w_midroll":"10613:10613_youtube_html5_2014";b.crtp="youtube";b.flag=UW(a.l)?"+slcb+qtcb+amcb+exvt+emcr":"+slcb+qtcb+amcb+emcr";var d="";if(a.B&1&&!a.F){var e={};d=WW(a);if(XW(a.l)){if(XW(a.l)){var f=0;var k=a.A.o;if(k){k=k.Db;for(var l=0;l<k.length&&(XW(k[l])&&f++,k[l].ia!=a.l.ia);l++);}}else f=0;d+=f}e.slid=d;e.ptgt="a";d="";a.g.C&&!a.g.o?d=";linear-skippable":!a.g.C&&a.g.o&&(d=";video");e.slau=WW(a)+d;e.tpos=VW(a.l)?a.C.toString():CV(a.l.Sb).toString();d=CD(e)+";";e={slid:"page_display1",
w:"300",h:"60",ptgt:"s",slau:"display",flag:"+cmpn"};d+=CD(e)+";"}a.B&4&&(e={slid:"overlay",ptgt:"a",slau:"overlay"},e.tpos=UW(a.l)?"10":VW(a.l)?a.C.toString():CV(a.l.Sb).toString(),d+=CD(e)+";",e={slid:"page_display2",w:"300",h:"250",ptgt:"s",slau:"display",flag:"+cmpn"},d+=CD(e)+";");a.B&8&&(e={slid:"dis",w:"300",h:"250",ptgt:"s",slau:"display",flag:"+cmpn"},d+=CD(e)+";");a=d.substr(0,d.length-1);b="//2975c.v.fwmrm.net/ad/g/1?"+CD(b)+";"+CD(c)+";"+a}else b=""}else b=this.D;return b};
$W.prototype.Qn=function(a,b){return $W.Z.Qn.call(this,a,b,null)};
$W.prototype.hi=function(a,b){var c=gs(b);if(HV(c,"rm"))return this.B.B=g.Yb(a),2;if(this.g.l.A)return 1;if(HV(c,"hideMaster")){if(a.Md&&a.Md.bi()){c=a.Md.bi();var d=a.Eb();if(P.g()){var e=d.W;d.W=[];d=e}else d=[];c.impressionUrls=d}CW(this,new ZW(this.g,a));return 0}return $W.Z.hi.call(this,a,b)};aX.prototype.Vb=function(){return this.l};
aX.prototype.create=function(a,b){switch(this.l){case 1:return new GW(a,b,this.g);case 2:return new IW(a,b,this.g);case 5:return new $W(a,b,this.g);case 4:return new JW(a,b);case 7:return new SW(a,b,this.g);case 8:return new TW(a,b,this.g);default:return null}};g.A(bX,g.hF);g.h=bX.prototype;g.h.Ub=function(){return"loaded"==this.A||"error"==this.A};
g.h.show=function(){this.F?this.g instanceof zW&&this.g.Ac("normal"):(this.F=!0,this.g instanceof oW&&this.o.te("bs"),this.g.subscribe("adEnd",this.yA,this),this.g.subscribe("adError",this.DD,this),this.g.subscribe("AD_LOGGING_EVENT",this.FD,this),this.g.subscribe("select",this.CD,this),this.g.subscribe("adCompanionInitialized",this.ED,this),this.g.show(),jX(this,!0))};
g.h.yA=function(){this.l&&(lX(this),pY(this.o));fX(this)};
g.h.DD=function(a){if(a){var b={};FV(a,b);iX(this,b);nY(this.o,32,b)}lX(this);fX(this)};
g.h.FD=function(a,b){iX(this,b);hX(this.o,a,b)};
g.h.CD=function(){this.D=!1};
g.h.ED=function(a,b){this.P("adCompanionInitialized",a,b)};
g.h.U=function(){lX(this);this.g=null;null!=this.B&&(this.B.dispose(),this.B=null);bX.Z.U.call(this)};var soa=[new BV(1)];var uoa={vF:"m",bF:"f"};g.A(qX,g.K);qX.prototype.A=function(a){a=null!=a.Jb()?a.Jb().C:null;if(null!=a){var b=nW(this.B.g.app,2);b&&b.g.videoId==a?b.C?(b=b.C,a=TO(b,"engage"),a.o=1,b=AO(b.g),a=g.Ea(mma,a.na,QO(a),OO(a),b)):a=null:a=null;this.l=a}};
qX.prototype.o=function(){this.g&&this.l&&this.l()};g.A(xX,g.K);g.h=xX.prototype;g.h.FC=function(){this.g.subscribe("beginseeking",this.Wm,this)};
g.h.xC=function(a,b){return a.l&&XW(a)?b+this.A+this.o:b};
g.h.wC=function(a,b){return!a.l||VW(a)||0x7ffffffffffff==b||0x8000000000000==b?b:b+this.A+this.o};
g.h.Iv=function(a){if(a.l&&XW(a)&&!(0>=this.o)){var b={priority:2,id:String(a.ia),style:"ytp-ad-fadeout"},c=dX(a)+this.A;b=new g.eP(c,c+this.o-1,b);this.B[a.ia]=b;IX(this.g,[b])}};
g.h.RD=function(a){a.l&&XW(a)&&(yX(this,a.ia),this.Wm())};
g.h.Wm=function(){(0,window.isNaN)(this.l)||(g.AD(this.l),this.l=window.NaN);var a=rY(this.g);AX(this,a,this.g.app.H.getVolume()/100);BS(a,"transition","");BS(a,"opacity","1")};
g.h.SD=function(a){var b=dX(a)+this.A+this.o;b=50>=1E3*this.g.getCurrentTime(1)-b;a.l&&XW(a)&&b&&(a=.001*(dX(a)+this.D),BY(this.g,a),0>=this.C||(a=rY(this.g),BS(a,"opacity","0"),AX(this,a,0),g.yD((0,g.z)(this.GU,this),0)))};
g.h.GU=function(){var a=rY(this.g);BS(a,"transition","opacity "+String(this.C)+"ms linear");BS(a,"opacity","1");zX(this,a,this.C,1)};
g.h.QD=function(a,b,c){if(!(0,window.isNaN)(this.l)){var d=Math.max(1,b-(0,g.G)());d=-1*a.getVolume()*c/d;d=Math.max(0,a.getVolume()+d);AX(this,a,d);this.l=0<d?vX((0,g.z)(this.QD,this,a,b,c),c):window.NaN}};
g.h.PD=function(a,b,c){if(!(0,window.isNaN)(this.l)){var d=Math.max(1,b-(0,g.G)()),e=this.g.app.H.getVolume()/100;d=(e-a.getVolume())*c/d;d=Math.min(e,a.getVolume()+d);AX(this,a,d);this.l=d<e?vX((0,g.z)(this.PD,this,a,b,c),c):window.NaN}};
g.h.U=function(){this.Wm();this.g.unsubscribe("beginseeking",this.Wm,this);xX.Z.U.call(this)};g.A(BX,xX);g.h=BX.prototype;g.h.FC=g.y;g.h.xC=function(a,b){return b};
g.h.wC=function(a,b){return b};
g.h.Iv=g.y;g.h.RD=g.y;g.h.SD=g.y;g.h.U=g.y;g.A(CX,g.K);CX.prototype.o=function(){if(this.A){var a=this.g.l;if(null!=a&&(a=a.g,!(0>=a))){var b=this.g.g.getCurrentTime(),c=[],d=null,e=Number.MAX_VALUE;g.Ib(this.C.o,function(a){a.Ub();if(a.isVisible&&!(0>=EX(this,a))){var f=this.C.C[a.ia];if(EX(this,a)>b){var k=!FX(this,a);k!=f.visible&&(f.visible=k,c.push(f));k||(f=EX(this,a)-b,f<e&&(e=f,d=a))}else f.visible||(f.visible=!0,c.push(f))}},this);
0<c.length&&IX(this.g,c,1);if(d){var f=0;0<this.l&&(f=(0,g.G)()/1E3-this.l);xoa(this,a-f-e+2)}else DX(this)}}};
CX.prototype.U=function(){DX(this);this.g.unsubscribe("endseeking",this.o,this);CX.Z.U.call(this)};g.A(GX,g.K);g.h=GX.prototype;g.h.Jj=function(a){a.unsubscribe("adBreakComplete",this.Jj,this);a.unsubscribe("adCompanionInitialized",this.Ct,this);this.N=g.yD((0,g.z)(this.JN,this,a),0)};
g.h.Ct=function(a,b){g.Ue(this.I);this.I=new qX(this.l,b)};
g.h.JN=function(a){var b=zoa(this,a),c=b.previous;b=b.next;this.N=window.NaN;var d=!1;switch(a.Sb.g){case 5:var e=0x7ffffffffffff;d=!0;break;case 3:e=0x8000000000000;break;default:e=b&&g.ua(b.Sb.l)?dX(b)-1:0x7ffffffffffff}0==a.ia&&(this.l.te("bl"),cX(a)||this.l.te("fb"));"loaded"!=a.A||0==a.ia&&cX(a)&&b&&1E3*this.l.g.getCurrentTime()>=dX(b)?(c&&c.Ub()&&!d&&(b=e,e=dX(c),e>b&&(b=e),KX(this,c),JX(this,c,b)),this.Vh(a)):(this.o[a.ia]=a,JX(this,a,e),eX(this.l));g.Mb(this.o)==this.Db.length&&this.B.o();
HX(this)};
g.h.Vh=function(a){a.unsubscribe("adBreakComplete",this.Jj,this);a.unsubscribe("adBreakComplete",this.xl,this);this.g&&a==this.g&&(this.g=null,null!=this.I&&a.l&&(this.I.g=!0));KX(this,a);g.Ta(this.Db,a);delete this.o[a.ia];g.Ue(a)};
g.h.hj=function(a){return this.o[a]};
g.h.xl=function(a){a.unsubscribe("adBreakComplete",this.xl,this);if(a.l){!VW(a)&&a.D?(yY(this.l),this.A.SD(a)):cX(a)&&!a.D?yY(this.l):wY(this.l);this.Vh(a);a=this.B.l;a={tfla:0<a?Math.floor((0,g.G)()/1E3-a):0};this.l.bj.g(MX,"set_previous_ad_end_time",a);a=this.B;if(a.A){var b=a.g.l;b&&0<b.g&&(a.l=(0,g.G)()/1E3,a.o())}for(;!g.Pa(this.M);)NX(this,this.M.shift())}else a.isVisible||this.Vh(a)};
g.h.U=function(){g.AD(this.N);g.Ue(this.A);g.Ue(this.B);(0,g.C)(this.Db,this.Vh,this);g.Ue(this.I);GX.Z.U.call(this)};g.A(OX,GX);g.h=OX.prototype;g.h.hj=function(a){a=OX.Z.hj.call(this,a);if(!a)return null;if(!a.H)return a;var b=null;if(this.D.length){var c=b=this.D.shift();c.Sb=a.Sb;c.ia=a.ia}b&&"loaded"==b.A?(a.unsubscribe("adBreakComplete",this.Jj,this),this.o[a.ia]=b,this.Db[this.Db.indexOf(a)]=b,g.Ue(a)):(this.Mj(),b&&(g.Ue(b),b=null,this.Vh(a)));b&&!b.l&&this.Mj();return b};
g.h.Jj=function(a){!UW(a)&&(2!=a.Sb.g||10!=CV(a.Sb))||"loaded"==a.A&&a.l||this.Mj();OX.Z.Jj.call(this,a)};
g.h.xl=function(a){a.l&&10<this.V?(PX(this),this.W=g.yD((0,g.z)(this.Mj,this),1E3*(this.V-10))):this.Mj();OX.Z.xl.call(this,a)};
g.h.Mj=function(){if(!this.ha())for(PX(this);this.H.length&&this.K.length+this.D.length<this.X;){var a=this.H.shift();a.subscribe("adBreakComplete",this.xA,this);this.K.push(a);kX(a)}};
g.h.xA=function(a){a.unsubscribe("adBreakComplete",this.xA,this);g.Ta(this.K,a);this.D.push(a)};
g.h.U=function(){PX(this);g.C(this.K,g.Ue);g.C(this.D,g.Ue);g.C(this.H,g.Ue);OX.Z.U.call(this)};g.A(QX,GX);QX.prototype.ba=function(a){"loaded"==a.A&&this.H.push(a);a.unsubscribe("adBreakComplete",this.ba,this)};
QX.prototype.V=function(){if(null!=this.g&&0<this.H.length){var a=this.H.shift();delete this.o[CV(a.Sb)];var b=Math.floor((0,g.G)()/1E3)-this.ca;this.ca=null;a.unsubscribe("adBreakComplete",this.V,this);this.Vh(a);this.g=null}0<this.K?(this.K--,RX(this)):(yY(this.W),(0,window.isFinite)(b)&&(this.X?ZS(this.D,window.Infinity,!0):ZS(this.D,this.D.getCurrentTime()+b,!0)))};g.A(TX,g.K);TX.prototype.D=function(){this.g||(this.g=SX(this.A.Ie()));IX(this.l,g.Nb(this.g),1)};
TX.prototype.o=function(){if(this.g){var a=this.l.g.getCurrentTime(),b=[],c=null,d=Number.MAX_VALUE;(0,g.C)(this.A.Ie(),function(e){var f=this.g[e];if(f){var k=this.A.hj(e);k&&k.Bc>a?(e=!this.jd.l(k),e!=f.visible&&(f.visible=e,b.push(f)),e||(f=k.Bc-a,f<d&&(d=f,c=k))):!k||k.kb()?(g.kU(this.l.g,[f],void 0),delete this.g[e]):!f.visible&&k&&(f.visible=!0,b.push(f))}},this);
0<b.length&&IX(this.l,b,1);var e=this.l.l;if(null!=e&&(e=e.g,0>=e))if(c){var f=0;0<this.C&&(f=(0,g.G)()/1E3-this.C);Boa(this,e-f-d+2)}else UX(this)}};
TX.prototype.U=function(){this.l.unsubscribe("endseeking",this.o,this);UX(this);TX.Z.U.call(this)};g.A(VX,g.K);g.h=VX.prototype;g.h.rx=function(){return 4};
g.h.pp=function(a){return a};
g.h.LB=function(){return!1};
g.h.Jv=g.y;g.h.Tl=g.y;g.h.TD=g.y;g.h.UD=g.y;g.h.VD=g.y;g.A(XX,g.K);g.h=XX.prototype;g.h.rx=function(){return 4-this.A/1E3};
g.h.pp=function(a){return Qb(this.o,1E3*a)?this.o[1E3*a]/1E3:a};
g.h.LB=function(a){var b=!1,c={};(0,g.C)(g.Id(a),(0,g.z)(function(a){var d;if(d=(d=a.getAttribute("timeOffset"))?WX(d):null)b=b||Coa(a),c[d]=a},this));
if(!b||0==g.Mb(c))return!1;a=(0,g.H)(g.Ob(c),function(a){return(0,window.parseInt)(a,10)});
if(!Foa(this,a))return!1;g.Ib(c,(0,g.z)(function(a,b){var c=(0,window.parseInt)(Sb(this.o,function(a){return a==b}),10);
c&&a.setAttribute("timeOffset",Doa(c))},this));
return!0};
g.h.Jv=function(a){if(!(0>=this.I)){var b=[];(0,g.C)(a,(0,g.z)(function(a){if(Qb(this.o,1E3*a)){var c=new g.eP(1E3*this.pp(a)+this.A,1E3*a+500,{priority:2,id:String(a),style:"ytp-ad-fadeout"});this.B[a]=c;b.push(c)}},this));
IX(this.g,b)}};
g.h.TD=function(a){if(Qb(this.o,1E3*a)){var b=rY(this.g);null!==b&&(a=Math.max(0,1E3*a-1E3*this.g.getCurrentTime(1)),BS(b,"transition","opacity "+String(a)+"ms linear"),BS(b,"opacity","0"),ZX(this,b,a,0))}};
g.h.UD=function(a){YX(this,1E3*a)&&(this.B[a]&&(g.kU(this.g.g,[this.B[a]],void 0),delete this.B[a]),this.Tl())};
g.h.bE=function(){g.V(g.UT(this.g.g),4)&&this.Tl()};
g.h.Tl=function(){var a=rY(this.g);null!==a&&(null!=this.l&&(g.AD(this.l),this.l=null),$X(this,a,this.g.app.H.getVolume()/100),BS(a,"transition",""),BS(a,"opacity","1"))};
g.h.VD=function(a){if(Qb(this.o,1E3*a)){var b=1E3*a;200>=1E3*this.g.getCurrentTime(1)-b&&(BY(this.g,this.pp(a)+this.H/1E3),0>=this.C||(a=rY(this.g),null!==a&&(BS(a,"opacity","0"),$X(this,a,0),null!=this.l&&g.AD(this.l),this.l=vX((0,g.z)(this.NU,this),0))))}};
g.h.NU=function(){var a=rY(this.g);null!==a&&(BS(a,"transition","opacity "+String(this.C)+"ms linear"),BS(a,"opacity","1"),ZX(this,a,this.C,1))};
g.h.aE=function(a,b,c){if(null!==this.l){var d=Math.max(1,b-(0,g.G)());d=-1*a.getVolume()*c/d;d=Math.max(0,a.getVolume()+d);$X(this,a,d);0<d?this.l=vX((0,g.z)(this.aE,this,a,b,c),c):this.l=null}};
g.h.ZD=function(a,b,c){if(null!==this.l){var d=Math.max(1,b-(0,g.G)()),e=this.g.app.H.getVolume()/100;d=(e-a.getVolume())*c/d;d=Math.min(e,a.getVolume()+d);$X(this,a,d);d<e?this.l=vX((0,g.z)(this.ZD,this,a,b,c),c):this.l=null}};
g.h.U=function(){this.Tl();this.g.unsubscribe("applicationplayerstatechange",this.bE,this);XX.Z.U.call(this)};g.A(aY,g.K);var Joa={ADSENSE:2,"ADSENSE/ADX":2,"YT:ADSENSE":2,DART:1,DART_DFA:1,DART_DFP:1,GDFP:1,"YT:DOUBLECLICK":1,FREEWHEEL:4,"YT:SHOPPING":14,SHOPPING:14,"ADSENSE-VIRAL":15,"YT:ADSENSE-VIRAL":15,"VIRAL-RESERVE":17,"YT:VIRAL-RESERVE":17};g.h=aY.prototype;
g.h.load=function(a){if(this.gb=this.g.gb){var b=this.g.l;this.C=b.applyFadeOnMidrolls?new XX(this.g):new VX;var c=NV(this.g);c.l=Hoa(this,a);if(c.l){c.Un=this.g.D.F;c.hc.TSLA=Vna(this);c.hc.GET_MIDROLL_POSITION_IN_SEC=(0,g.z)(this.C.pp,this.C);c.hc.DESCRIPTION_URL="http://www.youtube.com/video/"+KV(this.g).videoId;if(a=mX(b).get(3)){var d="";a&2&&a&1?d="video":a&2?d="skippablevideo":a&1&&(d="standardvideo");a&4&&(d&&(d+="_"),d+="text_image_flash");c.o=d;if(b=b.ub)c.F=b}this.gb.R("adsManagerLoaded",
this.XD,!1,this);this.gb.R("adError",this.WD,!1,this);yC(this.gb,c,this);this.g.te("bd")}}};
g.h.XD=function(a){if(a.l===this){var b={};Object.defineProperty(b,"currentTime",{get:(0,g.z)(function(){return this.g.getCurrentTime(1)},this),
enumerable:!0});Object.defineProperty(b,"duration",{get:(0,g.z)(function(){return this.g.g.ea().lengthSeconds},this),
enumerable:!0});try{var c=Ioa(this);this.l=qA(a,this.g.D,b,c)}catch(d){fY(this,d);return}if(this.jd=this.l.qC(b,this.g.l.g)){this.C.Jv(this.l.Ie());this.D=new TX(this.g,this.l,this.jd);g.M(this,this.D);g.yD((0,g.z)(this.D.D,this.D),0);g.Oa(this.l.Ie(),0)||eY(this);this.B.R(this.l,"companionBackfill",(0,g.z)(this.KU,this));this.B.R(this.l,"prefetched",(0,g.z)(this.ON,this));this.B.R(this.l,"loaded",(0,g.z)(this.IU,this));this.B.R(this.l,"adError",(0,g.z)(this.HU,this),!1);this.B.R(this.l,"start",(0,g.z)(this.JU,
this));this.B.R(this.l,"complete",(0,g.z)(this.LN,this));this.B.R(this.l,"adNotify",(0,g.z)(this.yl,this));this.B.R(this.l,"discardAdNotify",(0,g.z)(this.Al,this));this.B.R(this.l,"companionInitialized",(0,g.z)(this.LU,this));this.B.R(this.l,"contentPauseRequested",(0,g.z)(this.xh,this));this.B.R(this.l,"contentResumeRequested",(0,g.z)(this.Zf,this));this.B.R(this.l,"allAdsCompleted",g.y);this.I.O(this.g.g,"applicationplayerstatechange",this.MU);try{this.l.init("normal"),this.l.start()}catch(d){this.g.bj.g(MX,
"vmap_ads_manager_init_exception",void 0),this.l.destroy(),this.l=null,fY(this,d)}}}};
g.h.MU=function(){if(g.V(g.UT(this.g.g),16)||g.V(g.UT(this.g.g),32)){var a=this.l;null!=a.Tb&&(a=a.Tb,a.l.stop(),a.o=!1)}else a=this.l,null!=a.Tb&&xz(a.Tb)};
g.h.LU=function(a){if(a=a.g)g.Ue(this.F),this.F=new qX(this.g,a)};
g.h.xh=function(a){gY(this);if((this.o=a.Jb())&&this.o.Wb()){a=hY(this.o);var b=this.o.B.l;b=0==b?1:0<b?2:-1==b?3:0;this.A=new oW(a,this.g,this.l,this.o.isSkippable(),this.o.isBumper(),!0,void 0,b);cY(this,this.A);1!=b&&RM("video_to_ad",["apbs"]);a=this.g;a.K=!0;a.A||LX(a);this.C.UD(this.o.B.l);this.A.show();bY(this,"show_instream_ads")}};
g.h.Zf=function(a){eY(this);this.g.getCurrentTime(1)<this.g.g.ea().lengthSeconds&&(yY(this.g),this.o&&this.o.Wb()&&(this.C.VD(this.o.B.l),null!=this.F&&(this.F.g=!0)));a=a.Jb();var b=vC(this.l);b&&b.M&&b.kb()?this.o=null:!a&&this.A instanceof FW||gY(this);var c=!0;if(a&&a!==this.o&&!a.Wb()){if(b&&b.M&&!b.kb()){b=this.D;null!=b.g[0]&&(c=b.g[0],delete b.g[0],b.g[0]=new g.eP(1E4,c.end,{id:"10",visible:!0}),c.visible=!1,IX(b.l,[c,b.g[0]],1),IX(b.l,[b.g[0]]));this.o=a;return}c=gs(a);b=hY(a);HV(c,"blockAllAds")?
(this.l.Vj(),this.A=new HW(this.g,this.l,1,!0),c=!1):HV(c,"hideMaster")&&14!=b?(this.A=new HW(this.g,this.l,0,!0),c=!1):(c=this.l,14==b?(this.A=new QW(this.g,c),5!=vC(this.l).hf()&&dY(this,a)):this.A=new zW(b,this.g,c,!0),this.A.show(),c=!0)}this.o&&this.o.Wb()&&pY(this.g);this.o&&this.o.Wb()?(bY(this,"set_previous_ad_end_time"),b=this.jd,0<b.o&&(b.g=(0,g.G)()/1E3),b=this.D,b.C=(0,g.G)()/1E3,b.o()):a&&a!==this.o&&!a.Wb()&&c&&(b=this.D,b.C=(0,g.G)()/1E3,b.o());this.D.D();this.o=a};
g.h.JU=function(a){(a=a.Jb())&&this.A&&(a=hY(a),this.A.adSystem=a)};
g.h.LN=function(a){a.Jb().Wb()||this.o!==a.Jb()||(gY(this),this.o=null)};
g.h.yl=function(a){null!=a.g&&void 0!=a.g&&(a=a.g.adBreakTime,null!=a&&void 0!=a&&this.g.g.P("adnotify",a))};
g.h.Al=function(){this.g.g.P("discardadnotify")};
g.h.ON=function(a){var b=a.Jb();if(null!=b){var c=a.g.adBreakTime;this.M[c]=b;this.K||(this.g.te("bl"),0==c&&a.Jb().Wb()||this.g.te("fb"),this.K=!0)}};
g.h.IU=function(a){null!=a.Jb()&&(a.Jb().Wb()&&this.g.te("bs"),a.Jb().B.A||a.Jb().Wb()||eY(this))};
g.h.HU=function(a){fY(this,a.getError())};
g.h.WD=function(a){var b=a.getError();"adLoadError"==b.Vb()&&a.g===this&&fY(this,b)};
g.h.KU=function(a){dY(this,a&&a.Jb())};
g.h.U=function(){gY(this);this.gb&&(this.gb.Ca("adsManagerLoaded",this.XD,!1,this),this.gb.Ca("adError",this.WD,!1,this));g.Jm(this.N);g.Jm(this.B);g.gF(this.I);this.H=!1;this.l&&(this.l.destroy(),this.l=null);g.Ue(this.C);g.Ue(this.F);aY.Z.U.call(this)};
g.h.YD=function(a,b,c,d){if(3==b||19==c||2==c)a&&(d.break_type=a.hf(),d.sst=a.Bc,d.sidx=0),hX(this.g,c,d)};g.A(iY,g.vU);g.h=iY.prototype;g.h.Gs=function(){return-1};
g.h.create=function(){this.created||(g.S(this.g.getRootNode(),this.he+"-created"),this.I.O(this.g,"crn_"+this.he,this.Et),this.I.O(this.g,"crx_"+this.he,this.Ft),this.created=!0)};
g.h.destroy=function(){g.jq(this.g.getRootNode(),this.he+"-created");g.gF(this.I);this.created=!1;this.P("destroyed",this.he)};
g.h.Et=function(){};
g.h.Ft=function(){};
g.h.Hs=function(){return null};
g.h.U=function(){this.created&&this.destroy();iY.Z.U.call(this)};g.p(kY,g.X);kY.prototype.yl=function(a){this.C=-1==a?this.l.getDuration():a;this.o||(this.o=this.O(this.l,"progresssync",this.B));this.B();this.A.show()};
kY.prototype.Al=function(){this.o&&(this.Ca(this.o),this.o=null);this.A.hide()};
kY.prototype.B=function(){var a=this.l.getCurrentTime();a=Math.ceil(this.C-a);0<a?this.Yb(g.U("YTP_AD_NOTIFICATION",{X_SECONDS:String(a)})):this.A.hide()};g.A(mY,iY);mY.o=10;mY.l=1E3;mY.g="livead";g.h=mY.prototype;
g.h.create=function(){mY.Z.create.call(this);this.F.O(this.g,"beginseeking",(0,g.z)(this.P,this,"beginseeking"));this.F.O(this.g,"endseeking",(0,g.z)(this.P,this,"endseeking"));this.F.O(this.g,"resize",(0,g.z)(this.P,this,"resize"));this.F.O(this.g,"presentingplayerstatechange",(0,g.z)(this.P,this,"presentingplayerstatechange"));this.F.O(this.g,"webglsettingschanged",(0,g.z)(this.P,this,"webglsettingschanged"));if(lY(this)){var a=qH(this.app.Xa);a.addEventListener("updatekevlarcompanion",MU);a.addEventListener("onPlaShelfInfoCardsReady",
OU);window.addEventListener("yt-navigate-start",PU)}this.te("i");a=this.g.ea().oc||{};this.l=new woa(JV(this),a);this.B=new Aoa(this,this.g);this.N=!1;if(this.gb)this.gb.g.A.A=co();else{a=this.l.M?void 0:gW(this.C);var b=new bP(this.app,2);this.D=new mA(fW(this.C),a,qH(b));this.D.setSize(-1,-1);this.gb=new xC(this.D)}if(this.l.vmap&&!this.l.Y){this.A=new aY(this);try{this.A.load(this.l.vmap)}catch(c){g.tD(c),this.bj.g(MX,"vmap_load_exception",{err_msg:c.toString()}),this.A.dispose(),this.A=null,vY(this,
pX(new oX(this)))}}else vY(this,pX(new oX(this)));this.B&&(this.H=this.app.o.g,this.H.subscribe("cuepointupdated",this.NA,this),a=qY(this),null!=a&&(a.D=g.TT(this.app)),a={},a.allowed=this.B.l,jY(this,{},a))};
g.h.destroy=function(){this.K&&wY(this);this.app.g.experiments.g("disable_new_pause_state3")||g.lU(this.g,this.he,void 0);uY(this);g.Ve(this.o,this.X,this.A);this.X=this.o=null;this.H.unsubscribe("cuepointupdated",this.NA,this);this.B=this.l=this.A=this.H=null;VV=SV=RV=!1;YV();this.created&&mY.Z.destroy.call(this);if(lY(this)){var a=qH(this.app.Xa);a.removeEventListener("updatekevlarcompanion",MU);a.removeEventListener("onPlaShelfInfoCardsReady",OU);window.removeEventListener("yt-navigate-start",
PU);LU=null}};
g.h.isFullscreen=function(){return this.g.isFullscreen()||this.l.B};
g.h.Hs=function(){if(this.B){var a=this.B;var b={allowed:a.l};a.g.excludedAds&&(b.ex_ad=a.g.excludedAds);a.o&&(b.at=a.o);a=b}else a=mY.Z.Hs.call(this);return a};
g.h.getRootNode=function(){return this.g.getRootNode()};
g.h.getCurrentTime=function(a){return this.app.getCurrentTime(a)};
g.h.Gs=function(){return this.M};
g.h.Et=function(a){mY.Z.Et.call(this,a);var b=(0,window.parseInt)(a.ia,10);if(this.o&&!(0,window.isNaN)(b))if("ytp-ad-fadeout"==a.style){var c=this.o,d=c.hj(b);if(d&&!FX(c.B,d)&&(c=c.A,d.l)){var e=rY(c.g);d=Math.max(0,dX(d)+c.A+c.o-1E3*c.g.getCurrentTime(1));BS(e,"transition","opacity "+String(d)+"ms linear");BS(e,"opacity","0");zX(c,e,d,0)}}else NX(this.o,b);this.A&&!(0,window.isNaN)(b)&&("ytp-ad-fadeout"==a.style?(d=this.A,(c=d.M[b])&&c.Wb()&&d.C.TD(b)):0>b&&(b=this.gb.g,d=new Xm("contentComplete"),
b.dispatchEvent(d),d.l&&(gn(dn(),420706009)||b.A.clear(),null!=b.l&&(d=b.l.bi(),null!=d&&EA(d,b.A.g)))));if("livead"===a.ia&&null!=qY(this)){b=qY(this);for(a=Math.floor(a.start/1E3);g.t(b.o[a]);)a++;d=b.da++;c=0==a?new BV(1):new BV(2,a);e=b.W;var f=nX(b.W.l,c.g);d=new bX(e,d,c,f,!1);b.o[a]=d;d.subscribe("adBreakComplete",b.ba,b);kX(d)}};
g.h.Ft=function(a){mY.Z.Ft.call(this,a);var b=(0,window.parseInt)(a.ia,10),c=1E3*this.getCurrentTime(1);this.o&&!(0,window.isNaN)(b)&&c>a.start&&(0x8000000000000==a.end||0x7ffffffffffff==a.end)&&(c=this.o,(b=c.o[b])&&c.g==b&&!b.l&&b.isVisible&&b.F&&b.g instanceof zW&&b.g.Ac("fullscreen"));this.A&&"ytp-ad-fadeout"==a.style&&this.A.C.Tl();"livead"===a.ia&&null!=qY(this)&&1E3*this.getCurrentTime(1)>=a.start&&(g.kU(this.g,[a],1),RX(qY(this)))};
g.h.te=function(a){var b=a;"nl"==a&&(a=this.B,a.B++,b=a.B.toString());this.W[b]=(0,g.G)();"bs"!=b&&"fb"!=b||jY(this,this.W,this.V)};
g.h.isWidescreen=function(){return this.app.isWidescreen()};
g.h.NA=function(a){var b=qY(this);if(null!=b&&null!=b.D){var c=qY(this).D.getCurrentTime();(0,g.C)(a,function(a){0!=c&&a.Xe>c&&(a=new g.eP(1E3*Math.floor(c+Math.random()*Math.max(a.Xe-10-c,0)),1E3*a.Xe,{id:"livead",priority:2}),IX(this,[a],1))},this)}};
g.h.nz=function(a,b){switch(a){case "addata":var c=this.l;return{adTag:c.adTag,adTest:c.Xa,forceAdType:c.forceAdType,isAfvSkippableInstreamEnabled:c.N,isAfvStandardInstreamEnabled:c.V,isBlazer:c.l,isDoubleClickEnabled:c.X,isForcedAd:c.Y,isFreeWheelEnabled:c.ba,isHouseBrandPlayer:c.kc,isLeanback:c.B,isShortform:c.Pa,tagForChildDirected:c.tagForChildDirected};case "adstate":return this.Gs();case "midrollfreqcap":if(this.A)return c=this.l.g,null!=c?c:0;c=this.o instanceof OX?this.o:null;return null!=
c?c.V:0;case "breakscount":return this.A?(c=this.A,c=null!=c.l?c.l.Ie().length:0):c=this.o?this.o.Db.length:0,c;case "displaystate":return c=null,this.o&&this.o.g&&(c=this.o.g.g),{adFormat:c instanceof cW?c.adType:!1,adSkipped:c instanceof oW?c.C:!1,hasVideoStarted:c instanceof oW?c.F:!1,skippable:c instanceof oW?c.W:!1};case "getContentVideoData":return c=KV(this),{adModule:c.adModule,partnerTrackingToken:c.Dl,title:c.title,videoId:c.videoId};case "loadedadbreaks":if(this.o){c=this.o.o;var d=[];
for(e in c)c.hasOwnProperty(e)&&d.push({isInterruptive:c[Number(e)].l});return d}return 0;case "isExternalShelfAllowedFor":if("object"!=typeof b)return!1;c=b.playerResponse;if(!c)return!1;c=c.playerAds||[];for(d=0;d<c.length;d++){var e=c[d];if(e.playerLegacyDesktopWatchAdsRenderer&&e.playerLegacyDesktopWatchAdsRenderer.playerAdParams&&e.playerLegacyDesktopWatchAdsRenderer.playerAdParams.pla)return!1}return!0}};
g.h.aL=function(){return"addata adstate breakscount displaystate getContentVideoData isExternalShelfAllowedFor loadedadbreaks midrollfreqcap".split(" ")};
g.h.ud=function(){return!1};g.p(EY,g.hF);g.h=EY.prototype;g.h.vL=function(a){a=XE(a);if(!ad(a,this.B)){var b=2;this.D&&(b|=8);this.B=a;this.dc(b,!0)}};
g.h.AN=function(){this.D&&this.dc(8,!0);this.dc(2,!1)};
g.h.Ls=function(a){var b=XE(a);ad(b,this.B)||(this.B=b,(a=g.UE(a))&&this.N(a)&&(this.dc(4,!0),this.g.Ca(this.A),this.A=this.g.O(this.o,"mouseover",this.Bz),this.K=this.g.O(this.o,"mouseout",this.Bz)))};
g.h.Bz=function(a){a=WE(a);a&&this.N(a)||(this.B=new g.$c(window.NaN,window.NaN),FY(this))};
g.h.KJ=function(){this.dc(1,!0)};
g.h.tH=function(a){a=g.UE(a);a instanceof window.Element&&!(0<a.tabIndex)||this.dc(1,!0)};
g.h.Az=function(){this.D=!0;this.g.Ca(this.C);this.C=this.g.O(window.document,"mouseup",this.wL)};
g.h.wL=function(){this.D=!1;this.dc(8,!1);this.g.Ca(this.C);this.C=this.g.O(this.o,"mousedown",this.Az)};
g.h.Cz=function(a){if(a=a.changedTouches[0])this.V=a.identifier,this.g.Ca(this.F),this.F=this.g.O(this.o,"touchend",this.xL,void 0,!0),this.dc(1024,!0)};
g.h.xL=function(a){for(var b,c=0;c<a.changedTouches.length;c++){var d=a.changedTouches[c];if(d.identifier==this.V){b=d;break}}b&&(this.g.Ca(this.F),this.F=this.g.O(this.o,"touchstart",this.Cz,void 0,!0),this.dc(1024,!1))};
g.h.dc=function(a,b){var c=!this.l;b?(this.l|=a,a&1&&this.H.start(),a&2&&this.I.start()):(this.l&=~a,a&1&&this.H.stop(),a&2&&this.I.stop(),a&512&&this.M.stop());this.l&512&&!(this.l&128)&&g.Nt(this.M,this.W);var d=!this.l;c!=d&&this.P("autohideupdate",d)};
g.h.toString=function(){var a=[],b;for(b in fsa)this.l&fsa[b]&&a.push(b);return"yt.player.ux.AutohideBlock<"+a.join(",")+">"};
var fsa={dF:1,eZ:2,XX:4,SE:8,PZ:16,RW:32,BW:64,GZ:128,u_:256,FZ:512,O0:1024};g.p(g.GY,g.X);g.GY.prototype.show=function(){g.X.prototype.show.call(this);g.Nt(this.l)};
g.GY.prototype.hide=function(){this.o.stop();g.X.prototype.hide.call(this)};g.p(MY,g.X);g.h=MY.prototype;g.h.show=function(){var a=this;this.g||(this.B.O(this.l,"videodatachange",function(){return g.Nt(a.o)}),this.B.O(this.l,"videoplayerreset",function(){return g.Nt(a.o)}));
g.X.prototype.show.call(this)};
g.h.hide=function(){this.B&&g.gF(this.B);g.X.prototype.hide.call(this)};
g.h.WM=function(a){var b=g.W(this.l);b.experiments.g("disable_new_pause_state3")&&LL(b)&&(a=lO(a.state)&&!lO(a.g)||WT(this.l)&&g.V(a.state,2),g.jh(this.element,"transition-delay",a?"2s":""));g.Nt(this.o)};
g.h.oS=function(){g.Nt(this.o)};
g.h.VM=function(){this.A.stop();this.hide();g.Nt(this.o)};
g.h.Zz=function(){var a=g.UT(this.l);if(3==this.l.Ra()&&(a.kb()||g.V(a,4)))var b=!0;else(b=g.NT(this.l).V)&&b.rT()?b=!0:(b=g.W(this.l),b=g.V(a,2)&&PT(this.l)&&b.da?!0:!1);b?(b=!0,window.document.activeElement==this.C&&this.l.getRootNode().focus(),this.C.style.display="none"):(this.C.style.display="",lO(a)&&2!=this.l.Ra()?b=!0:(b=!g.W(this.l).experiments.g("disable_new_pause_state3"),b=!(!g.V(a,2)||PT(this.l)||b&&g.Q0(this.l.app))||g.V(a,1024)?!0:!1));b?(this.A.show(),this.PT(this.l.Xf(),this.l.ea())):
(this.A.hide(),g.V(a,1)||this.A.stop())};
g.h.PT=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c-0]=arguments[c];c=g.W(this.l);b=g.na(b);for(var d=b.next();!d.done;d=b.next())if(d=d.value,!(!d||d instanceof g.eN&&!d.videoId)){var e=g.VT(this.l).Ta();var f=g.ML(),k=e.width*f;f*=e.height;if(1280<k||720<f)if(e=d.nd(c,"maxresdefault.jpg"))break;if(640<k||480<f)if(e=d.nd(c,"maxresdefault.jpg"))break;if(320<k||180<f)if(e=d.nd(c,"sddefault.jpg")||d.nd(c,"hqdefault.jpg")||d.nd(c,"mqdefault.jpg"))break;if(e=d.nd(c,"default.jpg"))break}this.D.style.backgroundImage=
e?"url("+e+")":""};g.p(OY,g.X);OY.prototype.show=function(){g.X.prototype.show.call(this);this.F()};
OY.prototype.F=function(){var a=1-1/1.5;this.A=(this.A+this.K)%(this.width*a);this.B=(this.B+this.I)%(this.height*a);this.o.drawImage(this.H,-1*this.A,-1*this.B);this.o.fillRect(0,this.C,this.width,75);this.C=(this.C+75+7)%this.height-75;this.l.isActive()||g.Nt(this.D)};
OY.prototype.hide=function(){this.l.stop();this.D.stop();g.X.prototype.hide.call(this)};g.p(RY,g.X);RY.prototype.show=function(){g.X.prototype.show.call(this);SY(this,function(a){a.show()})};
RY.prototype.hide=function(){g.X.prototype.hide.call(this);SY(this,function(a){a.hide()})};
RY.prototype.B=function(a){if(g.sX(a,this.l,!LL(g.W(this.l)))){a={as3:!1,html5:!0,player:!0,cpn:this.l.ea().clientPlaybackNonce};var b=this.l;b.sa("onFeedbackArticleRequest",{articleId:3037019,helpContext:"player_error",productData:a});b.isFullscreen()&&g.ZT(b)}};
var gsa=/<a\s+href=["']([^"']+)["'](?:\s+target=["']([^"']+)["'])?>([^<>]+)<\/a>/;g.p(VY,g.eF);VY.prototype.C=function(){this.B();var a=g.W(this.g),b=this.g.ea(),c=[];a.F||c.push({src:b.nd(a,"mqdefault.jpg"),sizes:"320x180"});this.l.metadata=new window.MediaMetadata({title:b.title,artist:b.author,artwork:c});a=WT(this.g);this.o.has("nexttrack")!=a&&(c=b=null,a&&(b=(0,g.z)(function(){HY(this.A,cV(),g.U("YTP_NEXT"));this.g.Fj()},this),c=(0,g.z)(function(){LY(this.A);
this.g.ql()},this)),UY(this,"nexttrack",b),UY(this,"previoustrack",c))};
VY.prototype.B=function(){var a=g.UT(this.g);a=a.isError()?"none":fO(a)?"playing":"paused";this.l.playbackState=a};
VY.prototype.U=function(){this.l.playbackState="none";this.l.metadata=null;for(var a=g.na(this.o),b=a.next();!b.done;b=a.next())UY(this,b.value,null);g.eF.prototype.U.call(this)};g.p(WY,g.X);WY.prototype.N=function(a,b){XY(this,b);this.C&&YY(this,this.C)};
WY.prototype.M=function(a){var b=this.I.ea();this.o!=b.videoId&&XY(this,b);this.l&&YY(this,a.state);this.C=a.state};
WY.prototype.K=function(){this.B.hide();this.o&&(this.A[this.o]=(this.A[this.o]||0)+((0,g.G)()-this.H));this.H=0};var hsa=/fidget ?spinner/i;g.p(aZ,g.X);g.h=aZ.prototype;g.h.hide=function(){this.o.stop();this.B.style.display="none";g.X.prototype.hide.call(this)};
g.h.QA=function(){ZY(this,hsa.test(this.l.ea().title))};
g.h.qN=function(a){$Y(this,a.state)};
g.h.lP=function(){$Y(this,g.UT(this.l))};
g.h.BQ=function(){this.B.style.display="block"};g.p(bZ,g.QU);g.h=bZ.prototype;g.h.show=function(){var a=dZ(this);g.QU.prototype.show.call(this);this.ba&&(this.H.O(window,"blur",this.Ob),this.H.O(window.document,"click",this.WO));a||this.P("show",!0)};
g.h.hide=function(){var a=dZ(this);g.QU.prototype.hide.call(this);cZ(this);a&&this.P("show",!1)};
g.h.Qe=function(a,b){this.B=a;this.K.show();b?(this.I||(this.I=this.H.O(this.Y,"appresize",this.Lv)),this.Lv()):this.I&&(this.H.Ca(this.I),this.I=null);a&&(a.getAttribute("aria-haspopup"),a.setAttribute("aria-expanded",!0),window.document.activeElement&&g.Md(a,window.document.activeElement)&&this.focus())};
g.h.Lv=function(){g.NT(this.Y).H.Nt(this.element,this.B)};
g.h.Ob=function(){var a=dZ(this);cZ(this);this.K.hide();a&&this.P("show",!1)};
g.h.Gh=function(a,b){dZ(this)?this.Ob():this.Qe(a,b)};
g.h.WO=function(a){var b=VE(a);b&&(g.Md(this.element,b)||this.B&&g.Md(this.B,b)||!g.rV(a))||this.Ob()};g.p(eZ,bZ);eZ.prototype.C=function(a){a?(Koa(this),this.Qe()):(this.o&&Loa(this),this.Ob())};
eZ.prototype.D=function(a){this.l.app.X&&0<rO(a,2)&&this.Ob()};
eZ.prototype.onClick=function(){this.l.Yf();Loa(this)};g.p(fZ,g.eF);g.h=fZ.prototype;g.h.init=function(){var a=g.UT(this.g);this.ep(a);this.Qi();this.zb()};
g.h.Xz=function(a,b){if(this.Ga!=b.videoId){this.Ga=b.videoId;var c=this.o;c.W=b&&0<b.Oh.length?5E3:3E3;c.dc(512,!0);this.Qi()}};
g.h.DQ=function(){this.Xz("newdata",this.g.ea())};
g.h.Yj=function(){var a=g.dU(this.g)&&g.eU(this.g);gZ(this);(a=this.ra||a)||(a=g.NT(this.g).F,a=!!a&&a.DK());return a||this.ob||gZ(this)};
g.h.Kg=function(){var a=!this.Yj();g.T(this.g.getRootNode(),"ytp-menu-shown",!a)};
g.h.PM=function(a){if(!g.Md(this.g.getRootNode(),a))return!1;for(;a&&!g.Sd(a);)a=a==this.g.getRootNode()?null:g.Ld(a);return!!a};
g.h.At=function(a){var b=this.g.getRootNode();g.T(b,"ytp-autohide",a);g.T(b,"ytp-autohide-active",!0);this.ib.start(a?250:100);a&&(this.Sa=!1,g.jq(b,"ytp-touch-mode"));b=this.g;a=!a;b.sa("onVideoAreaChange");b.sa(a?"onShowControls":"onHideControls")};
g.h.iO=function(){if(!g.W(this.g).experiments.g("web_player_edge_autohide_killswitch3")){var a=this.g.getRootNode();g.T(a,"ytp-autohide-active",!1)}};
g.h.kR=function(a){var b=dZ(this.ca);g.ek&&Moa(this,a)?b&&g.YE(a):(lO(g.UT(this.g))&&!g.W(this.g).Ea&&(b=this.g.ea(),b.videoId&&this.g.Oz(AN(b))),this.o.l||hZ(this,VE(a))||dZ(this.ca)||(g.UT(this.g),g.YE(a)),this.Sa=!0,g.S(this.g.getRootNode(),"ytp-touch-mode"),this.o.dc(2,!0))};
g.h.gR=function(a){Moa(this,a)||hZ(this,VE(a))||(this.o.dc(2,!0),g.rV(a)&&!g.W(this.g).I&&(this.nn()?g.YE(a):(a=g.UT(this.g),g.V(a,2)&&PT(this.g)||IY(this.B,!fO(a)),!g.W(this.g).fa||lO(a)||g.V(a,1024)?this.Ws():this.Y.isActive()?(this.B.hide(),this.Y.stop()):this.Y.start())))};
g.h.Ws=function(){var a=g.UT(this.g);g.V(a,2)&&PT(this.g)||(fO(a)?this.g.qd():this.g.Wd())};
g.h.hR=function(a){hZ(this,VE(a))||3!=this.g.Ra()&&g.ZT(this.g)};
g.h.iR=function(a){Noa(this,.3,a.scale);g.YE(a)};
g.h.jR=function(a){Noa(this,.1,a.scale)};
g.h.zb=function(){var a=this.Ed(),b=g.VT(this.g).Ta(),c=this.g.isFullscreen(),d=this.g.getRootNode(),e=!a&&(480>b.width||290>b.height);g.aJ&&FY(this.o);g.T(d,"ytp-fullscreen",c);g.T(d,"ytp-small-mode",e);g.T(d,"ytp-big-mode",a);this.C&&QY(this.C,b)};
g.h.HQ=function(a){this.ep(a.state);this.Qi()};
g.h.Qi=function(){var a=!!this.Ga&&!g.OT(this.g);var b=2==this.g.Ra(),c=g.W(this.g);b?(b=g.NT(this.g).B,a&&(a=w0(b.app).isListed)&&(a=b.l,a=null!=a.H&&null!=we(a.H,1)&&null!=we(Ie(a.H),4)&&we(Ae(Ie(a.H),Ne,4),1)?!1:!0)):a=(c.experiments.g("embed_api_deprecation")||c.ra)&&c.D&&5==this.g.app.N?a:a&&(c.zd||this.g.isFullscreen());this.I!=a&&(this.I=a,g.T(this.g.getRootNode(),"ytp-hide-info-bar",!a))};
g.h.ep=function(a){var b=lO(a);b!=this.Hc&&(this.Hc=b,this.Xa&&this.Ca(this.Xa),this.Xa=this.O(g.VT(this.g),"touchstart",this.kR,void 0,b));this.o.dc(128,!(a.kb()&&!g.V(a,32)||gU(this.g)));var c=3==this.g.Ra();this.o.dc(256,c);c=this.g.getRootNode();if(g.V(a,2))var d=["ended-mode"];else d=[],g.V(a,8)?d.push("playing-mode"):g.V(a,4)&&d.push("paused-mode"),g.V(a,1)&&!g.V(a,32)&&d.push("buffering-mode"),g.V(a,32)&&d.push("seeking-mode"),g.V(a,64)&&d.push("unstarted-mode");g.gb(this.fa,d)||(g.kq(c,this.fa),
this.fa=d,g.iq(c,d));d=g.W(this.g);var e=g.V(a,2);g.T(c,"ytp-hide-controls",("3"==d.o?!e:"1"!=d.o)||b);g.T(c,"ytp-native-controls","3"==d.o&&!b&&!e);if(g.V(a,128)){this.C||(this.C=new RY(this.g),g.M(this,this.C),g.pU(this.g,this.C.element,4));b=this.C;a=a.g;for(c=0;c<b.A.length;c++)b.Ca(b.A[c]);b.A=[];c=a.messageKey;d=g.W(b.l);"play"!=d.playerStyle||"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK"!=c&&"YTP_ERROR_UNSUPPORTED_DEVICE"!=c||(c="YTP_HTML5_FLASH_DEPRECATED");if("YTP_ERROR_GENERIC_WITHOUT_LINK"!=
c||d.kc)if("YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK"!=c||d.kc)if("YTP_HTML5_FLASH_DEPRECATED"==c)b.Yb(TY(b,c,"//support.google.com/googleplay/answer/2844198#movies",!1,!0,"YTP_ERROR_VIDEO_UNAVAILABLE"));else{a=a.message.split(gsa);c=[];for(d=0;d<a.length;d+=3){e=a[d++].split("\n");c.push(e[0]);for(var f=1;f<e.length;f++)c.push({G:"br"}),c.push(e[f]);d<a.length&&c.push({G:"a",T:{href:a[d],target:a[d+1]},J:[a[d+2]]})}b.Yb({G:"span",J:c})}else b.Yb(TY(b,"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK",
"//www.youtube.com/html5"));else if(b.Yb(TY(b,"YTP_ERROR_GENERIC_WITH_LINK_AND_CPN","//support.google.com/youtube/?p=player_error1",!0)),d.ca&&!d.l)for(a=(0,g.z)(b.B,b),c=b.element.getElementsByTagName("a"),d=0;d<c.length;d++)e=b.O(c[d],"click",a),b.A.push(e);this.C.show()}else this.C&&(this.C.dispose(),this.C=null)};
g.h.nn=function(){return g.dU(this.g)&&g.eU(this.g)?(this.g.sl(!1,!1),!0):g.OT(this.g)?(g.QT(this.g,!0),!0):!1};
g.h.QM=function(a){this.ob=a;this.Kg()};
g.h.Ed=function(){return!1};
g.h.Aj=function(){return this.Sa};g.p(jZ,g.X);jZ.prototype.U=function(){this.o&&this.o();g.X.prototype.U.call(this)};
jZ.prototype.F=function(){g.vF("iv-button-mouseover")};
jZ.prototype.D=function(a){g.dU(this.l);var b=g.hq(this.l.getRootNode(),"ytp-cards-teaser-shown");g.vF("iv-teaser-clicked",b);a=0==a.screenX&&0==a.screenY;this.l.sl(!g.eU(this.l),a,"YOUTUBE_DRAWER_MANUAL_OPEN")};g.p(lZ,g.X);g.h=lZ.prototype;g.h.gD=function(){g.dU(this.o)&&g.eU(this.o)&&this.g&&3!=this.C.g&&this.ul()};
g.h.xT=function(){this.ul();g.vF("iv-teaser-clicked",!!this.l);this.o.sl(!0,!1,"YOUTUBE_DRAWER_MANUAL_OPEN")};
g.h.RM=function(){g.vF("iv-teaser-mouseover");this.l&&this.l.stop()};
g.h.DR=function(a){this.l||!a||g.eU(this.o)||this.A&&this.A.isActive()||(Ooa(this,a),g.vF("iv-teaser-shown"))};
g.h.Yz=function(){this.F.stop();this.l&&this.l.isActive()&&this.H.start()};
g.h.yh=function(){this.H.stop();this.l&&!this.l.isActive()&&this.F.start()};
g.h.gQ=function(){this.l&&this.l.stop()};
g.h.eQ=function(){this.ul()};
g.h.ul=function(){!this.l||this.B&&this.B.isActive()||(this.C.hide(),g.jq(this.o.getRootNode(),"ytp-cards-teaser-shown"),this.B=new g.Mt(function(){for(var a=g.na(this.D),b=a.next();!b.done;b=a.next())this.Ca(b.value);this.D=[];this.l&&(this.l.dispose(),this.l=null);iZ(this.I,!0)},330,this),this.B.start())};
g.h.U=function(){var a=this.o.getRootNode();a&&g.jq(a,"ytp-cards-teaser-shown");g.Ve(this.A,this.B,this.l);g.X.prototype.U.call(this)};g.p(g.nZ,g.QU);g.nZ.prototype.updateValue=function(a,b){g.QU.prototype.updateValue.call(this,a,b);this.P("size-change")};g.p(pZ,g.QU);pZ.prototype.da=function(){this.P("size-change")};
pZ.prototype.focus=function(){this.X.focus()};
pZ.prototype.fa=function(){this.P("back")};g.p(g.qZ,pZ);g.qZ.prototype.Y=function(){this.D.P("size-change")};
g.qZ.prototype.focus=function(){for(var a=0,b=0;b<this.Ja.length;b++)if("true"==this.Ja[b].element.getAttribute("aria-checked")){a=b;break}this.Ja[a].focus()};g.p(g.sZ,bZ);g.h=g.sZ.prototype;g.h.show=function(){bZ.prototype.show.call(this);this.Nl()};
g.h.hide=function(){bZ.prototype.hide.call(this);1<this.l.length&&g.wZ(this)};
g.h.Nl=function(){Toa(this);this.g&&(Soa(this),g.Bh(this.element,this.size))};
g.h.We=function(){var a=this.l.pop(),b=tZ(this);uZ(this,a,b,!0)};
g.h.tT=function(a,b,c){this.D.dispose();this.D=null;g.S(this.element,"ytp-popup-animating");c?(g.S(a.element,"ytp-panel-animate-forward"),g.jq(b.element,"ytp-panel-animate-back")):(g.S(a.element,"ytp-panel-animate-back"),g.jq(b.element,"ytp-panel-animate-forward"));g.Bh(this.element,this.size);this.C=new g.Mt(g.Ea(this.VN,a,b),250,this);this.C.start()};
g.h.VN=function(a){g.jq(this.element,"ytp-popup-animating");g.BU(a);g.kq(a.element,["ytp-panel-animate-back","ytp-panel-animate-forward"]);this.C.dispose();this.C=null};
g.h.ZM=function(a){if(!g.ZE(a))switch(g.$E(a)){case 27:this.Ob();g.YE(a);break;case 37:1<this.l.length&&this.We();g.YE(a);break;case 39:g.YE(a)}};
g.h.focus=function(){tZ(this).focus()};
g.h.U=function(){bZ.prototype.U.call(this);this.D&&this.D.dispose();this.C&&this.C.dispose()};g.p(xZ,g.nZ);xZ.prototype.l=function(a){g.ZE(a)||39!=g.$E(a)||(this.element.click(),g.YE(a))};g.p(zZ,g.nZ);zZ.prototype.I=function(){AZ(this,!this.o);this.P("select",this.o)};
zZ.prototype.getValue=function(){return this.o};g.p(CZ,g.qZ);g.h=CZ.prototype;g.h.OO=function(){wX(this.H.element)};
g.h.nP=function(){DZ(this,this.l.ll(!0))&&HY(this.M.B,TU())};
g.h.oP=function(){DZ(this,this.l.Hz())&&HY(this.M.B,g.RU?{G:"div",aa:["ytp-icon","ytp-icon-code"]}:{G:"svg",T:{height:"100%",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",T:{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.tU(this.l,this.o.element);BZ("EMBED",this.l.ea().videoId,this.l.getPlaylistId()||void 0)};
g.h.rP=function(){DZ(this,this.l.getVideoUrl(!0,!0))&&HY(this.M.B,bV());g.tU(this.l,this.B.element);BZ("COPY_PASTE",this.l.ea().videoId,this.l.getPlaylistId()||void 0)};
g.h.qP=function(){DZ(this,this.l.getVideoUrl(!1,!0))&&HY(this.M.B,bV());g.tU(this.l,this.A.element);BZ("COPY_PASTE",this.l.ea().videoId,this.l.getPlaylistId()||void 0)};
g.h.KP=function(a){AZ(this.C,a)};
g.h.LP=function(){var a=this.C.getValue();uqa(this.l.app,a);this.K.Ob();g.tU(this.l,this.C.element)};
g.h.aR=function(a){var b=g.TT(this.l.app);b&&b.Dj(new g.TL("feedback",!1,{gpu:(0,g.pO)()}));if(g.sX(a,this.l,!LL(g.W(this.l)))){a=this.l;b=b={as3:!1,html5:!0,player:!0};var c=a.Ax().debug_error;c&&(b.player_error=c.errorCode,b.player_error_details=c.errorDetail);b.debug_text=a.ll(!0);a.sa("onFeedbackStartRequest",b);a.isFullscreen()&&g.ZT(a)}this.K.Ob()};
g.h.tR=function(){this.l.Lz();this.K.Ob()};
g.h.TM=function(a,b){Voa(this,b)};g.p(EZ,g.sZ);g.h=EZ.prototype;g.h.show=function(){this.F||(this.F=new CZ(this.o,this.X,this),g.M(this,this.F),g.vZ(this,this.F));g.sZ.prototype.show.call(this);g.uU(this.o,this.element,!0);Woa(this.F,!0)};
g.h.hide=function(){Xoa(this);g.sZ.prototype.hide.call(this);g.uU(this.o,this.element,!1);this.F&&Woa(this.F,!1)};
g.h.NO=function(a){var b=VE(a);this.g||b&&(g.Ud(b,"a")||g.Vd(b,"ytp-no-contextmenu"))||(g.YE(a),Yoa(this),this.element.style.left="",this.element.style.top="",a=XE(a),a.x++,a.y++,this.Qe(),b=g.vh(window.document.body),a=g.CC(a,this.size,0,void 0,b,5),g.qh(this.element,g.ah(a.rect)),g.gF(this.A),this.A.O(window.document,"contextmenu",this.XO),this.A.O(this.o,"fullscreentoggled",this.UM),this.A.O(this.o,"pageTransition",this.sQ))};
g.h.XO=function(a){g.ZE(a)||(g.Md(this.element,VE(a))||this.Ob(),g.W(this.o).disableNativeContextMenu&&g.YE(a))};
g.h.UM=function(){this.Ob();Yoa(this)};
g.h.sQ=function(){this.Ob()};var T1,isa;T1=[{option:"#fff",message:"YTP_COLOR_WHITE"},{option:"#ff0",message:"YTP_COLOR_YELLOW"},{option:"#0f0",message:"YTP_COLOR_GREEN"},{option:"#0ff",message:"YTP_COLOR_CYAN"},{option:"#00f",message:"YTP_COLOR_BLUE"},{option:"#f0f",message:"YTP_COLOR_MAGENTA"},{option:"#f00",message:"YTP_COLOR_RED"},{option:"#080808",message:"YTP_COLOR_BLACK"}];isa=[{option:0,text:"0%"},{option:.25,text:"25%"},{option:.5,text:"50%"},{option:.75,text:"75%"},{option:1,text:"100%"}];
g.GZ=[{option:"fontFamily",message:"YTP_FONT_FAMILY",options:[{option:1,message:"YTP_FONT_FAMILY_MONO_SERIF"},{option:2,message:"YTP_FONT_FAMILY_PROP_SERIF"},{option:3,message:"YTP_FONT_FAMILY_MONO_SANS"},{option:4,message:"YTP_FONT_FAMILY_PROP_SANS"},{option:5,message:"YTP_FONT_FAMILY_CASUAL"},{option:6,message:"YTP_FONT_FAMILY_CURSIVE"},{option:7,message:"YTP_FONT_FAMILY_SMALL_CAPS"}]},{option:"color",message:"YTP_FONT_COLOR",options:T1},{option:"fontSizeIncrement",message:"YTP_FONT_SIZE",options:[{option:-2,
text:"50%"},{option:-1,text:"75%"},{option:0,text:"100%"},{option:1,text:"150%"},{option:2,text:"200%"},{option:3,text:"300%"},{option:4,text:"400%"}]},{option:"background",message:"YTP_BACKGROUND_COLOR",options:T1},{option:"backgroundOpacity",message:"YTP_BACKGROUND_OPACITY",options:isa},{option:"windowColor",message:"YTP_WINDOW_COLOR",options:T1},{option:"windowOpacity",message:"YTP_WINDOW_OPACITY",options:isa},{option:"charEdgeStyle",message:"YTP_CHAR_EDGE_STYLE",options:[{option:0,message:"YTP_EDGE_STYLE_NONE"},
{option:4,message:"YTP_EDGE_STYLE_DROP_SHADOW"},{option:1,message:"YTP_EDGE_STYLE_RAISED"},{option:2,message:"YTP_EDGE_STYLE_DEPRESSED"},{option:3,message:"YTP_EDGE_STYLE_OUTLINE"}]},{option:"textOpacity",message:"YTP_FONT_OPACITY",options:[{option:.25,text:"25%"},{option:.5,text:"50%"},{option:.75,text:"75%"},{option:1,text:"100%"}]}];g.p(FZ,g.eF);g.h=FZ.prototype;
g.h.Lx=function(a){var b=!1,c=g.$E(a),d=VE(a),e=!a.altKey&&!a.ctrlKey&&!a.metaKey,f=!1,k=!1,l=g.W(this.g);g.ZE(a)?(e=!1,k=!0):l.kg&&(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((d=g.NT(this.g).o)&&e&&!f&&d.o&&d.o.g)switch(c){case 65:case 68:case 87:case 83:case 107:case 221:case 109:case 219:f=d.o.Ix(c)}l.kc||!e||f||(f=String.fromCharCode(c).toLowerCase(),this.o+=f,0=="awesome".indexOf(this.o)?(f=!0,7==this.o.length&&g.mq(this.g.getRootNode(),
"ytp-color-party")):(this.o=f,f=0=="awesome".indexOf(this.o)));if(e&&!f){switch(c){case 32:l.I||(k=!fO(g.UT(this.g)),IY(this.l,k),k?this.g.Wd():this.g.qd(),k=f=!0);break;case 37:this.g.cd()&&(HY(this.l,iV()),this.g.oe(-5*this.g.Tc()),k=f=!0);break;case 39:this.g.cd()&&(HY(this.l,aV()),this.g.oe(5*this.g.Tc()),k=f=!0);break;case 38:k=Math.min(this.g.getVolume()+5,100);JY(this.l,k,!1);this.g.setVolume(k);k=f=!0;break;case 40:k=Math.max(this.g.getVolume()-5,0);JY(this.l,k,!0);this.g.setVolume(k);k=f=
!0;break;case 27:this.C()&&(k=f=!0);break;case 36:this.g.cd()&&(this.g.bc(0),k=f=!0);break;case 35:this.g.cd()&&(this.g.bc(window.Infinity),k=f=!0)}if("3"!=l.o)switch(c){case 67:g.NT(this.g).l&&(k=this.g.zc("captions","track"),(f=g.NT(this.g).l)&&f.PC(),f=this.l,k=!k||k&&!k.displayName?g.U("YTP_SUBTITLES_ON"):g.U("YTP_SUBTITLES_OFF"),HY(f,$U(),k),k=f=!0);break;case 79:HZ(this,"textOpacity")&&(f=!0);break;case 87:HZ(this,"windowOpacity")&&(f=!0);break;case 187:HZ(this,"fontSizeIncrement",!1,!0)&&(f=
!0);break;case 189:HZ(this,"fontSizeIncrement",!0,!0)&&(f=!0)}var n;48<=c&&57>=c?n=c-48:96<=c&&105>=c&&(n=c-96);null!=n&&this.g.cd()&&(k=this.g.uh(),this.g.bc(n/10*(k.seekableEnd-k.seekableStart)+k.seekableStart),k=f=!0)}}b&&this.eu(!0);(b||k)&&this.B.dc(2,!0);(f||e&&$oa(this,c,a.shiftKey))&&g.YE(a);l.wb&&(a={keyCode:g.$E(a),altKey:a.altKey,ctrlKey:a.ctrlKey,metaKey:a.metaKey,shiftKey:a.shiftKey,handled:g.ZE(a),fullscreen:this.g.isFullscreen()},this.g.sa("onKeyPress",a))};
g.h.Mx=function(a){a=g.$E(a);var b=g.NT(this.g).o;b&&b.o&&b.o.g&&b.o.Kx(a);9==a&&this.eu(!0)};
g.h.eu=function(a){g.T(this.g.getRootNode(),"ytp-probably-keyboard-focus",a);g.T(this.D.element,"ytp-probably-keyboard-focus",a)};
g.h.bA=function(a){g.NT(this.g).l&&this.g.Hd("captions","sampleSubtitles",a)};
g.h.U=function(){g.Pt(this.A);g.eF.prototype.U.call(this)};g.p(KZ,g.X);g.h=KZ.prototype;g.h.hide=function(){g.jq(this.l.getRootNode(),"ytp-expand-pause-overlay");g.X.prototype.hide.call(this)};
g.h.xO=function(){this.W=!0;g.jq(this.l.getRootNode(),"ytp-expand-pause-overlay");this.F.focus()};
g.h.zO=function(){this.W=!1;g.S(this.l.getRootNode(),"ytp-expand-pause-overlay")};
g.h.aN=function(){apa(this,this.B-this.D)};
g.h.bN=function(){apa(this,this.B+this.D)};
g.h.BO=function(a,b){var c=this.o[a],d=c.ae;if(g.sX(b,this.l,this.ba,d||void 0)){var e=c.jc().videoId;c=c.getPlaylistId();g.P0(this.l.app,e,d,c,void 0,void 0,void 0)}};
g.h.cN=function(){this.Ys(g.VT(this.l).Ta())};
g.h.dN=function(a){g.V(a.state,1)||g.V(a.state,16)||g.V(a.state,32)||(g.V(a.state,4)&&!g.V(a.state,2)?this.o.length&&(this.W||(g.S(this.l.getRootNode(),"ytp-expand-pause-overlay"),LZ(this)),this.H.show()):this.H.hide())};
g.h.Ys=function(a){var b=16/9,c=this.Y.Ed();a=a.width-(c?136:68);c=Math.ceil(a/(c?320:192));c=(a-8*c)/c;b=Math.floor(c/b);for(var d=0;d<this.C.length;d++){var e=this.C[d].va["ytp-suggestion-image"];e.style.width=c+"px";e.style.height=b+"px"}this.K.style.height=b+"px";this.N=c;this.D=a;this.B=0;this.iD(0);LZ(this)};
g.h.eN=function(){var a=this.l.ea();a.suggestions?(a=(0,g.Hd)(a.suggestions,function(a){return a&&!a.list}),this.o=(0,g.H)(a,function(a){return g.IZ(a)})):this.o.length=0;
bpa(this)};
g.h.iD=function(a){this.K.scrollLeft=-a};
g.p(JZ,g.K);JZ.prototype.start=function(a,b,c){this.g=a;this.F=b;this.C=c;this.D=g.HF();this.o()};
JZ.prototype.o=function(){var a=g.HF()-this.D;var b=this.A;a=nja(b,a/this.C);if(0==a)b=b.D;else if(1==a)b=b.F;else{var c=Yc(b.D,b.B,a),d=Yc(b.B,b.C,a);b=Yc(b.C,b.F,a);c=Yc(c,d,a);d=Yc(d,b,a);b=Yc(c,d,a)}b=g.Wc(b,0,1);this.B((this.F-this.g)*b+this.g);1>b&&this.l.start()};g.p(MZ,g.X);MZ.prototype.o=function(a){g.sX(a,this.l)&&this.l.Iz(this.Bb)};g.p(NZ,bZ);g.h=NZ.prototype;g.h.show=function(){bZ.prototype.show.call(this);this.D.O(this.o,"videodatachange",this.Zs);this.D.O(this.o,"onPlaylistUpdate",this.Zs);this.Zs()};
g.h.hide=function(){bZ.prototype.hide.call(this);g.gF(this.D);cpa(this,null)};
g.h.Zs=function(){cpa(this,this.o.Xf())};
g.h.Uo=function(){var a=this.l.mo;if(a==this.F)this.C.element.setAttribute("aria-checked",!1),this.C=this.A[this.l.ie()];else{for(var b=g.na(this.A),c=b.next();!c.done;c=b.next())c.value.dispose();b=this.l.getLength();this.A=[];for(c=0;c<b;c++){var d=new MZ(this.o,this.l,c);this.A.push(d);d.xa(this.Ja)}this.C=this.A[this.l.ie()];this.F=a}this.C.element.setAttribute("aria-checked",!0)};
g.h.ER=function(a){var b=this.o.getVideoUrl(!0);tX(b,this.o,a)};
g.h.focus=function(){this.C.focus()};
g.h.U=function(){this.hide();bZ.prototype.U.call(this)};g.p(OZ,g.X);OZ.prototype.o=function(){g.T(this.element,"ytp-playlist-menu-button-tiny",400>g.VT(this.A).Ta().width);this.l&&2!=this.A.Ra()?(this.update({text:g.U("YTP_PLAYLIST_POSITION",{CURRENT_POSITION:String(this.l.ie()+1),PLAYLIST_LENGTH:String(this.l.getLength())}),title:g.U("YTP_PLAYLIST_NAME",{PLAYLIST_NAME:this.l.title})}),this.g||(this.show(),e_(this.B))):this.g&&(this.hide(),e_(this.B))};
OZ.prototype.C=function(){this.l&&this.l.unsubscribe("shuffle",this.o,this);(this.l=this.A.Xf())&&this.l.subscribe("shuffle",this.o,this);this.o()};g.p(PZ,g.X);PZ.prototype.A=function(a){g.HU(this,g.V(a.state,2))};
PZ.prototype.o=function(){g.UT(this.l);this.l.Wd()};g.p(QZ,bZ);g.h=QZ.prototype;g.h.vQ=function(a){a=VE(a);g.Md(this.M,a)||g.Md(this.D,a)||this.Gh()};
g.h.Ob=function(){bZ.prototype.Ob.call(this);this.o.aj(this.element)};
g.h.show=function(){var a=this.g;bZ.prototype.show.call(this);this.dA();a||this.l.sa("onSharePanelOpened")};
g.h.dA=function(){g.S(this.element,"ytp-share-panel-loading");g.jq(this.element,"ytp-share-panel-fail");var a=this.l.ea(),b=this.l.getPlaylistId(),c=b&&this.F.checked;g.T(this.element,"ytp-share-panel-has-playlist",!!b);var d={action_get_share_info:1,feature:"player_embedded",video_id:a.videoId},e=g.W(this.l);e.Zc&&(d.authuser=e.Zc);e.pageId&&(d.pageid=e.pageId);c&&(d.list=b);g.OD(g.W(this.l).baseYtUrl+"share_ajax",{method:"GET",onError:(0,g.z)(this.BC,this),Hb:(0,g.z)(function(a,b){if(b){if(!this.ha()){g.jq(this.element,
"ytp-share-panel-loading");epa(this);for(var c=b.links,d=0,e=0;e<c.length&&3>d;e++){var f=c[e],k=dpa(f.img);k&&(k=new g.X({G:"a",aa:["ytp-share-panel-service-button","ytp-button"],T:{href:f.url,target:"_blank",title:f.sname},J:[k]}),k.R("click",g.Ea(this.nR,f.url)),g.Te(k,kZ(this.o,k.element)),this.A.push(k),d++)}c=new g.X({G:"a",aa:["ytp-share-panel-service-button","ytp-button"],J:[{G:"span",L:"ytp-share-panel-service-button-more",J:[g.RU?{G:"div",aa:["ytp-icon","ytp-icon-share-more"]}:{G:"svg",
T:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},J:[{G:"rect",T:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{G:"path",T:{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"}}]}]}],T:{href:b.more,target:"_blank",title:g.U("YTP_MORE")}});c.R("click",(0,g.z)(this.cQ,this,b.more));g.Te(c,kZ(this.o,c.element));this.A.push(c);this.updateValue("buttons",this.A)}}else this.BC(null,null)},this),
Xc:d,withCredentials:!0});a=e.getVideoUrl(a.videoId,c?b:void 0,void 0,!0);this.updateValue("link",a);this.updateValue("linkText",a);wX(this.C)};
g.h.BC=function(){g.jq(this.element,"ytp-share-panel-loading");g.S(this.element,"ytp-share-panel-fail")};
g.h.nR=function(a,b){if(g.rV(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 Ac?a:g.Ec("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(",");hc()&&d.navigator&&d.navigator.standalone&&
f&&"_self"!=f?(l=d.document.createElement("A"),g.Tc(l,e),l.setAttribute("target",f),c.noreferrer&&l.setAttribute("rel","noreferrer"),c=window.document.createEvent("MouseEvent"),c.initMouseEvent("click",!0,!0,d,1),l.dispatchEvent(c),d={}):c.noreferrer?(d=d.open("",f,l),c=g.Bc(e),d&&(g.PL&&-1!=c.indexOf(";")&&(c="'"+c.replace(/'/g,"%27")+"'"),d.opener=null,c=g.Vc(g.sc("b/12014412, meta tag with sanitized URL"),'<meta name="referrer" content="no-referrer"><meta http-equiv="refresh" content="0; url='+
g.pb(c)+'">'),d.document.write(g.Nc(c)),d.document.close())):(d=d.open(g.Bc(e),f,l))&&c.noopener&&(d.opener=null);if(c=d)c.opener||(c.opener=window),c.focus();g.YE(b)}};
g.h.cQ=function(a,b){tX(a,this.l,b)&&this.l.sa("SHARE_CLICKED")};
g.h.kN=function(a){!a&&dZ(this)&&this.Gh()};
g.h.focus=function(){this.C.focus()};
g.h.U=function(){bZ.prototype.U.call(this);epa(this)};g.p(RZ,g.X);RZ.prototype.D=function(){this.F.Gh(this.element,!1);g.tU(this.l,this.element)};
RZ.prototype.B=function(){var a=g.W(this.l).im&&2!=this.l.Ra(),b=g.VT(this.l).Ta().width;this.o=!!this.l.ea().videoId&&300<=b&&!a;g.T(this.A,"ytp-share-button-visible",this.o);a=480<b;g.W(this.l).H&&(g.T(this.A,"ytp-show-share-title",a),this.updateValue("share",a?g.U("YTP_SHARE"):""));g.uU(this.l,this.element,this.o&&this.C)};
RZ.prototype.U=function(){g.X.prototype.U.call(this);g.jq(this.A,"ytp-share-button-visible")};g.p(fpa,bZ);g.p(SZ,g.X);SZ.prototype.A=function(){var a=g.TT(this.l.app);a&&a.l.g.webkitShowPlaybackTargetPicker()};
SZ.prototype.o=function(){var a=g.TT(this.l.app);g.HU(this,!!a&&a.Kd);this.updateValue("icon",this.l.kl()?g.RU?{G:"div",aa:["ytp-icon","ytp-icon-airplay-on"]}:{G:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Va:!0,T:{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.RU?{G:"div",aa:["ytp-icon","ytp-icon-airplay-off"]}:{G:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Va:!0,L:"ytp-svg-fill",T:{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.p(UZ,g.QU);g.h=UZ.prototype;g.h.AL=function(a){g.V(a.state,32)?VZ(this,this.o.ea()):this.F.hide()};
g.h.uo=function(){var a=this.o.uh(),b=a.current,c=dM(this.Ib,141);b=this.Ib.g[c].tl(b);b!=this.K&&(c=eM(this.Ib,b,141),this.C=TZ(this.ca,c,141,141,!0),g.qh(this.ba,(this.H-this.C.width)/2),this.K=b);g.Od(this.da,g.qV(this.N?a.current-a.seekableEnd:a.current));g.OF(this.I);this.I=g.LF((0,g.z)(this.wp,this));this.M.mj()};
g.h.BL=function(a,b){VZ(this,b)};
g.h.wp=function(){g.N(this.l,!1);g.OF(this.I);var a=Math.round(.5*this.C.width),b=Math.round(.5*this.C.height),c=this.o.uh(),d=c.current/(c.seekableEnd-c.seekableStart);c=this.Ib.g[0].Vz();var e=this.Ib.g[0].Ao();d=a*(e-c+1)*d-this.H/2;var f=Math.floor(d/a)+c;e=Math.min(f+Math.min(20,Math.ceil(this.H/a)),e);f=Math.max(f,c);var k;if(this.B>=f&&this.A<=e){for(k=this.B;k>e;k--)g.Fd(this.l.children[k-this.A]);for(k=f-1;k>=this.A;k--)g.Fd(this.l.children[k-this.A]);for(k=this.A-1;k>=f;k--)this.l.insertBefore(gpa(this,
k,a,b),this.l.firstChild);k=this.B+1}else g.Dd(this.l),k=f;for(;k<=e;k++){var l=gpa(this,k,a,b);this.l.appendChild(l)}for(k=f;k<=e;k++)g.jh(this.l.children[k-f],"transform","translatex("+(-d+(k-c)*a)+"px)");this.A=f;this.B=e;g.N(this.l,!0)};
g.h.PJ=function(){for(var a=this.A;a<=this.B;a++)gM(this.Ib,a,this.C.width)};
g.h.jI=function(){var a=g.VT(this.o).Ta();this.H!=a.width&&(this.H=a.width,this.Ib&&(this.uo(),this.wp()))};
g.h.jT=function(a){this.element.style.g=a+"px"};
g.h.show=function(){g.QU.prototype.show.call(this);R_(this.X,!1)};
g.h.hide=function(){this.Ib&&VZ(this,null);g.QU.prototype.hide.call(this);R_(this.X,!0)};
g.h.U=function(){VZ(this,null);g.QU.prototype.U.call(this)};
UZ.g=200;g.p(WZ,g.X);g.h=WZ.prototype;g.h.CL=function(a){g.V(a.state,32)?YZ(this,this.l.ea()):this.g&&(g.V(a.state,16)||g.V(a.state,1))||this.A.hide()};
g.h.FL=function(a,b){YZ(this,b)};
g.h.DL=function(){var a=g.UT(this.l);(g.V(a,32)||g.V(a,16))&&XZ(this)};
g.h.kI=function(){this.B=window.NaN;XZ(this)};
g.h.hide=function(){this.Ib&&YZ(this,null);g.X.prototype.hide.call(this)};g.p(ZZ,g.X);g.h=ZZ.prototype;g.h.XM=function(){g.W(this.o).fa?g.ZT(this.o):this.l.Gh(this.element,!0)};
g.h.UA=function(){hpa(this);this.l.Qe(this.element,!0)};
g.h.YM=function(){g.JE()==this.o.getRootNode()?this.B.start():(this.B.stop(),this.l&&this.l.hide())};
g.h.WG=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.UA()}};
g.h.aA=function(){g.HU(this,rX(this.o))};
g.h.rC=function(a){if(a){var b=g.RU?{G:"div",aa:["ytp-icon","ytp-icon-full-screen-close"]}:{G:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"g",L:"ytp-fullscreen-button-corner-2",J:[{G:"path",Va:!0,L:"ytp-svg-fill",T:{d:"m 14,14 -4,0 0,2 6,0 0,-6 -2,0 0,4 0,0 z"}}]},{G:"g",L:"ytp-fullscreen-button-corner-3",J:[{G:"path",Va:!0,L:"ytp-svg-fill",T:{d:"m 22,14 0,-4 -2,0 0,6 6,0 0,-2 -4,0 0,0 z"}}]},{G:"g",L:"ytp-fullscreen-button-corner-0",J:[{G:"path",Va:!0,L:"ytp-svg-fill",
T:{d:"m 20,26 2,0 0,-4 4,0 0,-2 -6,0 0,6 0,0 z"}}]},{G:"g",L:"ytp-fullscreen-button-corner-1",J:[{G:"path",Va:!0,L:"ytp-svg-fill",T:{d:"m 10,22 4,0 0,4 2,0 0,-6 -6,0 0,2 0,0 z"}}]}]};a=g.U("YTP_EXIT_FULLSCREEN");window.document.activeElement==this.element&&this.o.getRootNode().focus()}else b=g.RU?{G:"div",aa:["ytp-icon","ytp-icon-full-screen"]}:{G:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"g",L:"ytp-fullscreen-button-corner-0",J:[{G:"path",Va:!0,L:"ytp-svg-fill",
T:{d:"m 10,16 2,0 0,-4 4,0 0,-2 L 10,10 l 0,6 0,0 z"}}]},{G:"g",L:"ytp-fullscreen-button-corner-1",J:[{G:"path",Va:!0,L:"ytp-svg-fill",T:{d:"m 20,10 0,2 4,0 0,4 2,0 L 26,10 l -6,0 0,0 z"}}]},{G:"g",L:"ytp-fullscreen-button-corner-2",J:[{G:"path",Va:!0,L:"ytp-svg-fill",T:{d:"m 24,24 -4,0 0,2 L 26,26 l 0,-6 -2,0 0,4 0,0 z"}}]},{G:"g",L:"ytp-fullscreen-button-corner-3",J:[{G:"path",Va:!0,L:"ytp-svg-fill",T:{d:"M 12,20 10,20 10,26 l 6,0 0,-2 -4,0 0,-4 0,0 z"}}]}]},a=g.U("YTP_FULLSCREEN");this.updateValue("icon",
b);this.updateValue("title",this.l?null:a);e_(this.C.Kb())};
g.h.U=function(){this.l||(this.A(),this.A=null);g.X.prototype.U.call(this)};g.p($Z,bZ);g.h=$Z.prototype;g.h.show=function(){var a=this.g;bZ.prototype.show.call(this);a||(this.A.O(this.l,"presentingplayerstatechange",this.Xs),this.A.O(this.l,"videodatachange",this.Xs),this.Xs())};
g.h.hide=function(){this.A&&(g.gF(this.A),bZ.prototype.hide.call(this))};
g.h.Xs=function(){var a=this.l.ea(),b=a.Oh,c;for(c=0;c<b.length;c++){var d=this.o[c];d||(d=new g.X({G:"button",aa:["ytp-multicam-menu-item","ytp-button"],T:{"aria-checked":"{{selected}}","data-id":"{{videoId}}"},J:[{G:"div",L:"ytp-multicam-menu-item-title",J:["{{cameraName}}"]}]}),d.R("click",g.Ea(this.AO,c),this),d.xa(this.Ja),this.o[c]=d);var e=b[c],f=e.id;if(f!=d.element.getAttribute("data-id")){var k=e.thumbnail_url;!k&&f&&(k=IL(g.W(this.l),f,"default.jpg"));d.element.style.backgroundImage=k?
"url("+k+")":""}d.update({cameraName:e.title,videoId:f,selected:f==a.videoId?!0:null})}for(;c<this.o.length;)this.o.pop().dispose();c=g.UT(this.l);a=b.length||!a.Ub();fO(c)||g.V(c,4)||a||!dZ(this)||this.Gh()};
g.h.AO=function(a){this.l.ea();var b=this.l,c=this.l.ea().Oh[a];a=g.TT(b.app,1).g;var d=b.getCurrentTime();if(c.id==a.videoId)g.TT(b.app)!=g.TT(b.app,1)&&(c=b.app,sY(c,nW(c,1)),a.za||b.bc(d));else{var e=b.app;sY(e,nW(e,4));J0(b.app,{videoId:c.id,title:a.title,start:a.za?null:d,multifeed_metadata_list:a.oc.multifeed_metadata_list},4)}};
g.h.focus=function(){for(var a=this.l.ea(),b=a.Oh,c=0;c<b.length;c++)if(b[c].id==a.videoId){this.o[c].focus();break}};
g.h.U=function(){g.Ve(this.o);bZ.prototype.U.call(this)};g.p(a_,g.X);a_.prototype.D=function(a){this.A("newdata"==a)};
a_.prototype.A=function(a){var b=this.l.ea(),c=b.Oh,d=g.UT(this.l);d=(fO(d)||g.V(d,4))&&0<c.length;g.HU(this,d);a&&(this.B=!0);if(d){this.B&&g.Nt(this.C);a=null;d="";for(var e=0;e<c.length;e++)if(c[e].id==b.videoId){a=c[e].title;d=g.U("YTP_MULTICAM_INDEX",{CAMERA_INDEX:String(e+1),CAMERA_COUNT:String(c.length)})+"\n";break}this.update({text:d+a,preview:b.nd(g.W(this.l),"default.jpg")});e_(this.o)}else this.C.stop()};
a_.prototype.F=function(){Ppa(this.o,this.element,g.U("YTP_MORE_CAMERAS_AVAILABLE"));this.B=!1};g.p(b_,g.K);b_.prototype.l=function(){var a=g.HF()-this.A;a=a<this.g?a/this.g:1;this.B(AC(jsa,a));1>a&&this.o.start()};
var jsa=new zC(0,0,.4,0,.2,1,1,1),mpa=/[0-9.-]+|[^0-9.-]+/g;g.p(d_,g.X);d_.prototype.xd=function(a){this.A=300<=a.width;g.HU(this,this.A);g.uU(this.l,this.element,this.A&&this.F)};
d_.prototype.da=function(){g.W(this.l).K?this.l.isMuted()?this.l.Yf():this.l.mute():this.Y.Gh(this.element,!0);g.tU(this.l,this.element)};
d_.prototype.ca=function(a){npa(this,a.volume,a.muted)};
var qpa=["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"],rpa=["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.p(f_,g.X);f_.prototype.o=function(){var a=g.TT(this.l.app);a&&(a=a.l,a.g.webkitSetPresentationMode("picture-in-picture"==a.g.webkitPresentationMode?"inline":"picture-in-picture"))};g.p(g.g_,g.X);g.g_.prototype.F=function(a){spa(this,a.state)};
g.g_.prototype.D=function(){g.T(this.element,"ytp-play-button-playlist",WT(this.o))};
g.g_.prototype.H=function(){fO(g.UT(this.o))?this.o.qd():this.o.Wd()};
g.g_.prototype.U=function(){this.l&&this.l();g.X.prototype.U.call(this)};g.p(g.i_,g.X);g.h=g.i_.prototype;g.h.Hj=function(){upa(this);this.F&&(this.Ca(this.F),this.F=null);this.D=this.l.ea(1);if(this.o=this.l.Xf())this.o.subscribe("shuffle",this.Hj,this),this.F=this.O(this.l,"progresssync",this.fN);this.C=vpa(this);h_(this);this.xd(g.VT(this.l).Ta())};
g.h.xd=function(a){a=void 0===a?g.VT(this.l).Ta():a;var b=WT(this.l)||this.A&&g.qU(this.l)||wpa(this);g.HU(this,b&&(this.A||400<=a.width))};
g.h.gN=function(a){var b=!0;this.I?b=g.sX(a,this.l):g.YE(a);b&&(this.A?this.l.Fj(!0):this.C?this.l.bc(0):this.l.ql(!0))};
g.h.fN=function(){var a=vpa(this);a!=this.C&&(this.C=a,h_(this))};
g.h.U=function(){this.B&&(this.B(),this.B=null);upa(this);g.X.prototype.U.call(this)};xpa.prototype.update=function(a,b,c,d){this.width=b;this.o=c;this.B=d;this.g=b-c-d;this.position=g.Wc(a,c,c+this.g);this.A=this.position-c;this.l=this.A/this.g};g.p(j_,g.QU);g.h=j_.prototype;g.h.hN=function(a){if(!g.ZE(a)){var b=!1;switch(g.$E(a)){case 36:this.o.bc(0);b=!0;break;case 35:this.o.bc(window.Infinity);b=!0;break;case 34:this.o.oe(-60);b=!0;break;case 33:this.o.oe(60);b=!0;break;case 38:this.o.oe(5);b=!0;break;case 40:this.o.oe(-5),b=!0}b&&g.YE(a)}};
g.h.cA=function(a,b){ypa(this,b,"newdata"==a)};
g.h.cI=function(){this.cA("newdata",this.o.ea())};
g.h.hI=function(){Cpa(this.o.ea())?g.UT(this.o).kb()&&n_(this,!0):n_(this,!1)};
g.h.dI=function(a){0<rO(a,64)||!Cpa(this.o.ea())?n_(this,!1):fO(a.state)&&0>rO(a,64)&&n_(this,!0);this.B&&!g.V(a.state,32)&&3!=this.o.Ra()&&this.B.cancel()};
g.h.MQ=function(a,b,c){var d=g.uh(this.element),e=o_(this).g,f=c?c.getAttribute("data-tooltip"):void 0;f&&(a=uV(this.l,Number(c.getAttribute("data-position")),0)*e+g.uh(this.Pb).x);this.oa.x=a-d.x;this.oa.y=b-d.y;c=o_(this);a=tV(this.l,c.l);d=f||g.qV(this.Ea?a-this.l.g:a);b=this.ra;c=c.position+this.Qb;f=!!f;b.ba||(3==b.l&&b.kf(),1!=b.l&&(b.element.className="ytp-tooltip ytp-bottom",b.l=1,b.I&&b.H.show(),b.A=g.uN(b.M.ea()),b.A&&b.A.subscribe("l",b.TA,b)),b.update({text:d,title:""}),g.T(b.element,
"ytp-text-detail",!!f),d=-1,b.A&&(d=dM(b.A,160*b.B),d=b.A.g[d].tl(a)),Rpa(b,d),Qpa(b,!!f,c));g.T(this.o.getRootNode(),"ytp-progress-bar-hover",!g.V(g.UT(this.o),64));zpa(this)};
g.h.LQ=function(){var a=this.ra;1==a.l&&a.kf();g.jq(this.o.getRootNode(),"ytp-progress-bar-hover")};
g.h.KQ=function(a,b){this.A&&(this.A.dispose(),this.A=null);this.Zb=b;this.o.bc(tV(this.l,o_(this).l),!1);g.S(this.element,"ytp-drag");(this.Ia=fO(g.UT(this.o)))&&this.o.qd()};
g.h.NQ=function(){this.fa=0;g.jq(this.element,"ytp-pull-ui");g.jq(this.element,"ytp-pulling");this.A&&(this.A.dispose(),this.A=null);0<this.H&&(this.A=new g.Jt((0,g.z)(this.JG,this,g.HF(),this.H,o_(this).position)),this.A.start());if(g.V(g.UT(this.o),32)||3==this.o.Ra())this.o.bc(tV(this.l,o_(this).l)),g.jq(this.element,"ytp-drag"),this.Ia&&!g.V(g.UT(this.o),2)&&this.o.Wd()};
g.h.JG=function(a,b,c){a=1-Math.pow(1-(g.HF()-a)/200,3);c+=a*(this.D*this.C-c);if(0>a||1<a)a=1;Dpa(this,(1-a)*b,c,this.D);1>a&&this.A.start()};
g.h.OQ=function(a,b){var c=!1,d=!1,e=o_(this);3600<=this.l.getLength()&&(Dpa(this,this.Zb-b-10,e.position,e.l),d=!0,c=this.H>.1*(this.F?60:40),e=o_(this));g.T(this.element,"ytp-pull-ui",d);c&&g.S(this.element,"ytp-pulling");c=0;e.o&&0>=e.position?c=-1:e.B&&e.position>=e.width&&(c=1);this.fa!=c&&(this.fa=c,this.A&&(this.A.dispose(),this.A=null),c&&(this.A=new g.Jt((0,g.z)(this.YS,this,g.HF(),this.I)),this.A.start()));this.o.bc(tV(this.l,e.l),!1)};
g.h.YS=function(a,b){var c=this.C*(this.X-1);this.I=g.Wc(b+this.fa*(g.HF()-a)*.3,0,c);l_(this);this.o.bc(tV(this.l,o_(this).l),!1);0<this.I&&this.I<c&&this.A.start()};
g.h.KA=function(){this.updateValue("clipstarticon",WU());this.updateValue("clipendicon",WU());g.S(this.element,"ytp-clip-hover")};
g.h.JA=function(){this.updateValue("clipstarticon",YU());this.updateValue("clipendicon",XU());g.jq(this.element,"ytp-clip-hover")};
g.h.To=function(){this.M=0;this.K=window.Infinity;m_(this);k_(this,this.D,this.ca)};
g.h.hD=function(a){a=g.na(a);for(var b=a.next();!b.done;b=a.next())if(b=b.value,b.visible){var c=b.ia;if(!this.N[c]){var d=g.zd("DIV");b.tooltip&&(d.setAttribute("data-tooltip",b.tooltip),d.setAttribute("data-position",b.start/1E3));this.N[c]=b;this.da[c]=d;Epa(this,b,d);"ytp-chapter-marker"==b.style?this.ed.appendChild(d):this.Hc.appendChild(d)}}else Fpa(this,b)};
g.h.OS=function(a){a=g.na(a);for(var b=a.next();!b.done;b=a.next())Fpa(this,b.value)};
g.h.U=function(){Bpa(this,!1);g.QU.prototype.U.call(this)};g.p(q_,zZ);q_.prototype.C=function(){g.NT(this.A).A&&3!=this.A.Ra()?this.l||(B_(this.B,this),this.l=!0):this.l&&(C_(this.B,this),this.l=!1);var a=g.NT(this.A).A;AZ(this,!!a&&a.loaded)};
q_.prototype.D=function(a){a?this.A.pl("annotations_module"):this.A.wo("annotations_module")};
q_.prototype.U=function(){this.l&&C_(this.B,this);zZ.prototype.U.call(this)};g.p(g.r_,g.nZ);g.h=g.r_.prototype;g.h.open=function(){g.vZ(this.A,this.C)};
g.h.tf=function(a){if(this.D){var b=this.o[this.D];b.element.getAttribute("aria-checked");b.element.removeAttribute("aria-checked")}this.o[a].element.setAttribute("aria-checked",!0);this.Yb(this.sf(a));this.D=a};
g.h.enable=function(a){this.H?a||(this.H=!1,this.Ij(!1)):a&&(this.H=!0,this.Ij(!0))};
g.h.Ij=function(a){a?B_(this.A,this):C_(this.A,this)};
g.h.rd=function(a){this.P("select",a)};
g.h.jN=function(a){"true"!=this.o[a].element.getAttribute("aria-disabled")&&this.rd(a)};
g.h.sf=function(a){return a.toString()};
g.h.iN=function(a){g.ZE(a)||39!=g.$E(a)||(this.open(),g.YE(a))};
g.h.U=function(){this.H&&C_(this.A,this);g.nZ.prototype.U.call(this);for(var a in this.o)this.o[a].dispose()};g.p(t_,g.r_);t_.prototype.F=function(){var a=this.l.getAvailableAudioTracks();1<a.length?(g.s_(this,(0,g.H)(a,this.B)),this.K=g.jb(a,this.B,this),this.I.Yb(a.length?" ("+a.length+")":""),this.P("size-change"),this.tf(this.B(this.l.getAudioTrack())),this.enable(!0)):this.enable(!1)};
t_.prototype.rd=function(a){g.r_.prototype.rd.call(this,a);this.l.Us(this.K[a]);this.A.We()};
t_.prototype.B=function(a){return a.toString()};g.p(u_,zZ);u_.prototype.C=function(){var a=this.l.Ra();if(2!=a&&3!=a&&g.qU(this.l))this.B||(B_(this.D,this),this.B=!0,this.A.push(this.O(this.l,"videodatachange",this.C)),this.A.push(this.O(this.l,"videoplayerreset",this.C)),this.A.push(this.O(this.l,"onPlaylistUpdate",this.C)),this.A.push(this.O(this.l,"autonavchange",this.F)),this.F(this.l.ea().autonavState));else if(this.B){C_(this.D,this);this.B=!1;a=g.na(this.A);for(var b=a.next();!b.done;b=a.next())this.Ca(b.value)}};
u_.prototype.F=function(a){AZ(this,1!=a)};
u_.prototype.H=function(a){var b=this.l;a=a?2:1;b.app.l.sa("onAutonavChangeRequest",1!=a);a&&Gqa(b.app,a)};
u_.prototype.U=function(){this.B&&C_(this.D,this);zZ.prototype.U.call(this)};g.p(v_,g.r_);v_.prototype.B=function(){var a=this.l.Ra();if(2!=a&&3!=a&&(this.I=g.$T(this.l),a=this.l.Ns(),g.nU(this.l)&&g.oU(this.l)&&a.unshift("missing-qualities"),g.s_(this,a),a.length)){this.K();this.enable(!0);return}this.enable(!1)};
v_.prototype.K=function(){var a=g.aU(this.l);this.o[a]&&(this.F=this.l.nl(),this.tf(a),"auto"==a&&this.Yb(this.sf(a)))};
v_.prototype.rd=function(a){"missing-qualities"!=a&&(g.r_.prototype.rd.call(this,a),this.l.rl(a),this.A.Ob())};
v_.prototype.sf=function(a,b){b=void 0===b?!1:b;if("missing-qualities"==a)return{G:"a",T:{href:"https://support.google.com/youtube/?p=missing_quality",target:"_blank"},J:[g.U("YTP_MISSING_FORMATS")]};var c=[Gpa(this,a)],d=g.aU(this.l);b||"auto"!=d||"auto"!=a||(c.push(" "),c.push(Gpa(this,this.F,["ytp-menu-label-secondary"])));return{G:"div",J:c}};g.p(w_,g.X);w_.prototype.xd=function(a){g.HU(this,this.B&&400<=a.width)};
w_.prototype.C=function(){if(this.A.g)this.A.Ob();else{var a=g.NT(this.l).l;a&&!a.loaded&&(a.Fs("tracklist",{includeAsr:!0}).length||a.load());this.A.Qe(this.element)}};
w_.prototype.o=function(){var a=this.l.Ra(),b=2!=a&&3!=a,c=g.bU(this.l),d=b&&!!g.NT(this.l).o;a=d&&1==c.sg;c=d&&2==c.sg;b=(d=a||c)||!b?null:this.l.nl();g.T(this.element,"ytp-hd-quality-badge","hd720"==b||"hd1080"==b||"hd1440"==b);g.T(this.element,"ytp-4k-quality-badge","hd2160"==b);g.T(this.element,"ytp-5k-quality-badge","hd2880"==b);g.T(this.element,"ytp-8k-quality-badge","highres"==b);g.T(this.element,"ytp-3d-badge-grey",d&&a);g.T(this.element,"ytp-3d-badge",d&&c)};g.p(y_,g.r_);g.h=y_.prototype;g.h.gt=function(a){return a.toString()};
g.h.sf=function(a){return"1"==a?g.U("YTP_NORMAL_SPEED"):a.toString()};
g.h.eA=function(){var a=this.l.Ra();this.enable(2!=a&&3!=a)};
g.h.Ij=function(a){g.r_.prototype.Ij.call(this,a);a?(this.B=this.O(this.l,"onPlaybackRateChange",this.lN),g.s_(this,(0,g.H)(this.l.Ej(),this.gt)),this.tf(this.gt(this.l.Tc()))):(this.Ca(this.B),this.B=null)};
g.h.lN=function(a){this.tf(this.gt(a))};
g.h.rd=function(a){g.r_.prototype.rd.call(this,a);this.l.Vf((0,window.parseFloat)(a),!0);this.A.We()};g.p(z_,g.sZ);z_.prototype.Qe=function(a){A_(this);0<this.o.Ja.length&&g.sZ.prototype.Qe.call(this,a)};
z_.prototype.show=function(){g.sZ.prototype.show.call(this);g.S(this.A.getRootNode(),"ytp-settings-shown")};
z_.prototype.hide=function(){g.sZ.prototype.hide.call(this);g.jq(this.A.getRootNode(),"ytp-settings-shown")};g.p(D_,g.X);
D_.prototype.o=function(){var a=!1;-1!=this.l.xi().indexOf("remote")&&(a=1<this.l.zc("remote","receivers").length);g.HU(this,a&&400<=g.VT(this.l).Ta().width);var b=1;a&&this.l.zc("remote","casting")&&(b=2);if(this.A!=b){this.A=b;switch(b){case 1:this.updateValue("icon",g.RU?{G:"div",aa:["ytp-icon","ytp-icon-cast-desktop-off"]}:{G:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Va:!0,T:{d:"M27,9 L9,9 C7.9,9 7,9.9 7,11 L7,14 L9,14 L9,11 L27,11 L27,25 L20,25 L20,27 L27,27 C28.1,27 29,26.1 29,25 L29,11 C29,9.9 28.1,9 27,9 L27,9 Z M7,24 L7,27 L10,27 C10,25.34 8.66,24 7,24 L7,24 Z M7,20 L7,22 C9.76,22 12,24.24 12,27 L14,27 C14,23.13 10.87,20 7,20 L7,20 Z M7,16 L7,18 C11.97,18 16,22.03 16,27 L18,27 C18,20.92 13.07,16 7,16 L7,16 Z",fill:"#fff"}}]});
break;case 2:this.updateValue("icon",g.SU())}g.T(this.element,"ytp-remote-button-active",!!this.l.zc("remote","casting"))}};
D_.prototype.C=function(){if(this.l.zc("remote","quickCast"))this.l.Hd("remote","quickCast",!0);else{var a=this.B,b=this.element;if(dZ(a))a.Ob();else{A_(a);a:{var c=g.na(a.o.Ja);for(var d=c.next();!d.done;d=c.next())if(d=d.value,0==d.priority){c=d;break a}c=null}c&&(c.open(),a.Qe(b));a.Qe(b)}}};g.p(E_,g.X);E_.prototype.D=function(){var a=this.l.app;a.l.sa("SIZE_CLICKED",!a.fd)};
E_.prototype.o=function(){g.HU(this,this.l.app.xe&&!this.l.isFullscreen()&&3!=this.l.Ra());if(this.g){var a=this.l.isWidescreen();if(this.A!=a){var b=a?g.RU?{G:"div",aa:["ytp-icon","ytp-icon-default-view"]}:{G:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{G:"path",Va:!0,T:{d:"m 26,13 0,10 -16,0 0,-10 z m -14,2 12,0 0,6 -12,0 0,-6 z",fill:"#fff","fill-rule":"evenodd"}}]}:g.RU?{G:"div",aa:["ytp-icon","ytp-icon-theater-mode"]}:{G:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",
width:"100%"},J:[{G:"path",Va:!0,T:{d:"m 28,11 0,14 -20,0 0,-14 z m -18,2 16,0 0,10 -16,0 0,-10 z",fill:"#fff","fill-rule":"evenodd"}}]};g.W(this.l).N||null==this.A?this.updateValue("icon",b):lpa(this.C,this.element,b);a=(this.A=a)?g.U("YTP_DEFAULT_VIEW"):g.U("YTP_THEATER_MODE");this.updateValue("title",a);e_(this.B)}}};g.p(F_,g.X);F_.prototype.A=function(){var a=g.NT(this.o).l;a&&a.PC()};
F_.prototype.l=function(){var a=!!g.NT(this.o).l;g.HU(this,a&&300<=g.VT(this.o).Ta().width);a&&this.updateValue("pressed",!!this.o.zc("captions","track").displayName)};g.p(G_,g.X);
G_.prototype.A=function(){var a=g.VT(this.C).Ta().width,b=350<=a&&(!this.o||!g.V(g.UT(this.C),64));g.HU(this,b);g.T(this.element,"ytp-time-display-allow-autohide",b&&400>a);a=this.C.uh();b&&(b=g.qV(a.current),this.F!=b&&(this.updateValue("currenttime",b),this.F=b),b=g.qV(a.duration),this.H!=b&&(this.updateValue("duration",b),this.H=b));this.o&&(a=a.isPeggedToLive,this.D!=a&&(this.D=a,this.A(),b=this.B.element,(b.disabled=a)?this.l&&(this.l(),this.l=null,b.removeAttribute("title")):(b.title=g.U("YTP_GOTO_LIVE_TOOLTIP"),
this.l=kZ(this.I,this.B.element))))};
G_.prototype.M=function(a,b){this.o=b.za;g.T(this.element,"ytp-live",this.o);this.A()};
G_.prototype.K=function(a){a.target==this.B.element&&(this.C.bc(window.Infinity),this.C.Wd())};
G_.prototype.U=function(){this.l&&this.l();g.X.prototype.U.call(this)};g.p(I_,g.X);g.h=I_.prototype;g.h.tN=function(){var a=this.D.Ed();this.F!=a&&(this.F=a,H_(this,this.l.getVolume(),this.l.isMuted()))};
g.h.xd=function(a){g.HU(this,350<=a.width)};
g.h.zR=function(a){if(!g.ZE(a)){var b=g.$E(a),c=null;37==b?c=this.B-5:39==b?c=this.B+5:36==b?c=0:35==b&&(c=100);null!=c&&(c=g.Wc(c,0,100),0==c?this.l.mute():(this.l.isMuted()&&this.l.Yf(),this.l.setVolume(c)),g.YE(a))}};
g.h.uN=function(a){var b=a.deltaX||-a.deltaY;a.deltaMode?this.l.setVolume(this.B+(0>b?-10:10)):this.l.setVolume(this.B+g.Wc(b/10,-10,10));g.YE(a)};
g.h.yR=function(){J_(this,this.A,!0,this.o,this.D.Aj());this.W=this.B;this.l.isMuted()&&this.l.Yf()};
g.h.xR=function(a){a-=g.uh(this.N).x;this.l.setVolume(100*g.Wc(a/(this.F?78:52),0,1))};
g.h.wR=function(){J_(this,this.A,!1,this.o,this.D.Aj());0==this.B&&(this.l.mute(),this.l.setVolume(this.W))};
g.h.vN=function(a){H_(this,a.volume,a.muted)};
g.h.iw=function(){J_(this,this.A,this.C,this.o,this.D.Aj())};
g.h.jA=function(a){J_(this,this.A,this.C,a,this.D.Aj())};
g.h.sC=function(a){g.T(this.element,"ytp-volume-control-hover",a);J_(this,a,this.C,this.o,this.D.Aj())};
g.h.U=function(){g.X.prototype.U.call(this);g.jq(this.M,"ytp-volume-slider-active")};g.p(K_,g.X);K_.prototype.B=function(){this.o=!!this.l.ea().videoId;g.HU(this,this.o);g.uU(this.l,this.element,this.o&&this.A);if(this.o){var a=this.l.getVideoUrl(!0,!1,!1,!0);this.updateValue("url",a)}};
K_.prototype.C=function(a){var b=this.l.getVideoUrl(!g.rV(a),!1,!0,!0);tX(b,this.l,a);g.tU(this.l,this.element)};g.p(L_,g.eF);g.h=L_.prototype;g.h.it=function(){var a=this.B;Apa(a);var b=a.o.getCurrentTime();(b<a.M||b>a.K)&&a.To();this.V.A()};
g.h.FA=function(){this.xu();!this.N.l||this.it()};
g.h.uP=function(){this.it();this.F.start()};
g.h.xu=function(){var a;if(a=!g.W(this.A).g){a=this.B;var b=2*a.C*g.ML();a=300>1E3*a.l.getLength()/a.o.Tc()/b}a=a&&g.UT(this.A).kb()&&!!window.requestAnimationFrame;b=!a;this.N.l||(a=b=!1);b?this.H||(this.H=this.O(this.A,"progresssync",this.it)):this.H&&(this.Ca(this.H),this.H=null);a?this.F.isActive()||this.F.start():this.F.stop()};
g.h.QT=function(a){R_(this.o.Kb(),!a)};
g.h.jt=function(){var a=this.o.Ed(),b=g.VT(this.A).Ta(),c=M_(this),d=Math.max(b.width-2*c,100);if(this.Y!=b.width||this.X!=a){this.Y=b.width;this.X=a;var e=Jpa(this);this.l.element.style.width=e+"px";this.l.element.style.left=c+"px";var f=this.B;f.Qb=c;f.C=e;f.F=a;l_(f);this.o.Kb().ca=e}c=this.g;b=Math.min(413*(a?1.5:1),Math.round(.82*(b.height-(this.o.Ed()?72:50))));c.N=Math.min(570*(a?1.5:1),d);c.M=b;c.Nl();this.xu()};
g.h.ma=function(){return this.l.element};g.p(g.N_,g.X);g.N_.prototype.o=function(){g.S(this.element,"ytp-sb-subscribed")};
g.N_.prototype.A=function(){g.jq(this.element,"ytp-sb-subscribed")};g.va("yt.pubsub.publish",g.vF,void 0);g.p(O_,g.X);O_.prototype.W=function(a){g.tU(this.l,this.element);var b=this.l.getVideoUrl(!g.rV(a),!1,!0);tX(b,this.l,a)};
O_.prototype.H=function(){Npa(this);var a=this.l.ea();this.updateValue("title",a.title);this.B&&(this.B.l=a.Ol);var b=g.W(this.l);if(b.H&&2!=this.l.Ra()){var c=a.shortViewCount;g.T(this.l.getRootNode(),"ytp-show-title-view-count",!!c);this.updateValue("viewCount",c)}else g.jq(this.l.getRootNode(),"ytp-show-title-view-count"),this.updateValue("viewCount","");!b.F&&a.videoId?(this.updateValue("url",this.l.getVideoUrl(!0)),this.A||(this.A=this.O(this.N,"click",this.W))):this.A&&(this.updateValue("url",
null),this.Ca(this.A),this.A=null)};g.p(g.P_,g.X);g.h=g.P_.prototype;g.h.fQ=function(a){3==this.l&&this.kf();a=a.currentTarget;this.l||(a.removeEventListener("mouseover",this.N),a.addEventListener("mouseout",this.da),Opa(this,a,2))};
g.h.dQ=function(a){(a=WE(a))&&g.Md(this.o,a)||this.kf()};
g.h.TA=function(a,b){if(a<=this.C&&this.C<=b){var c=this.C;this.C=window.NaN;Rpa(this,c)}};
g.h.QJ=function(){gM(this.A,this.C,160*this.B)};
g.h.kf=function(){switch(this.l){case 2:this.o.removeEventListener("mouseout",this.da),this.o.addEventListener("mouseover",this.N);case 3:3==this.l&&this.Y.stop();this.M.removeEventListener("appresize",this.W);this.K||this.o.setAttribute("title",this.D);this.D="";this.o=null;break;case 1:this.A&&(this.A.unsubscribe("l",this.TA,this),this.A=null),this.M.removeEventListener("videoready",this.W),this.X.stop()}this.l=null;this.I&&this.H.hide()};
g.h.aj=function(a){if(this.o)for(var b=0;b<arguments.length;b++)g.Md(arguments[b],this.o)&&this.kf()};
g.h.U=function(){null!=this.l&&this.kf();g.X.prototype.U.call(this)};g.p(T_,g.X);g.h=T_.prototype;g.h.xd=function(a){this.B=300<=a.width;g.HU(this,this.B);a=480<a.width;g.W(this.l).H&&(g.T(this.H,"ytp-show-watch-later-title",a),this.updateValue("watch_later",a?g.U("YTP_WATCH_LATER_2"):""));g.uU(this.l,this.element,this.B&&this.D)};
g.h.eS=function(){this.o=!0;this.A=!1;S_(this,1);g.W(this.l).g&&Ppa(this.F,this.element);g.W(this.l).wb&&this.l.sa("WATCH_LATER_VIDEO_ADDED")};
g.h.wN=function(){g.tU(this.l,this.element);var a=this.l.ea().videoId,b=g.W(this.l);b.Zc?Vpa(this,a):g.Lpa(function(){VG({videoId:a});window.location.reload()},null,"wl_button",800,600,GL(b))};
g.h.fS=function(a,b){this.A=!1;var c=g.U("YTP_ERROR_GENERIC_WITHOUT_LINK");b&&(c=b.errors&&b.errors.length?b.errors[0]:b.error_message);S_(this,4,c);g.W(this.l).wb&&this.l.sa("WATCH_LATER_ERROR",c)};
g.h.gS=function(){this.A=this.o=!1;S_(this,2);g.W(this.l).wb&&this.l.sa("WATCH_LATER_VIDEO_REMOVED")};
g.h.xN=function(){this.A=this.o=!1;S_(this,2)};g.p(U_,g.X);U_.prototype.C=function(a){g.HU(this,!g.V(a.state,2))};
U_.prototype.A=function(){if(this.o.ea().videoId){var a=this.o.getVideoUrl(!0,!1,!1,!0);this.updateValue("url",a);this.l||(this.l=this.R("click",this.B))}else this.l&&(this.updateValue("url",null),this.Ca(this.l),this.l=null)};
U_.prototype.B=function(a){var b=this.o.getVideoUrl(!g.rV(a),!1,!0,!0);tX(b,this.o,a)};g.p(V_,fZ);g.h=V_.prototype;g.h.Kb=function(){return this.D};
g.h.kn=function(a,b){b?this.M=a:this.M=null;this.Kg()};
g.h.ln=function(a,b){if(b)this.F.push(a);else for(var c=this.F.length;0<=c;c--)if(this.F[c]==a){this.F.splice(c,1);break}this.o.dc(64,0<this.F.length)};
g.h.Yj=function(){g.dU(this.g)&&g.eU(this.g);gZ(this);return!!this.M||fZ.prototype.Yj.call(this)};
g.h.Kg=function(){var a=!this.Yj(),b=a&&g.dU(this.g)&&!g.V(g.UT(this.g),2);a?(this.Oa.show(),this.Pa.show()):(this.Oa.hide(),this.Pa.hide(),this.D.aj(this.A.element));b?this.N.A.show():this.N.A.hide();this.l&&Ipa(this.l,!a);fZ.prototype.Kg.call(this)};
g.h.Nt=function(a,b,c,d){a.style.left="";a.style.top="";a.style.bottom="";var e=g.Ch(a);d=d||this.l&&g.Md(this.l.ma(),b);if(null==c||!d){var f=g.Ch(b);var k=g.zh(b,this.g.getRootNode())}c=(null==c?k.x+f.width/2:c)-e.width/2;d?(f=M_(this.l),k=Jpa(this.l),b=g.VT(this.g).Ta().height,c=g.Wc(c,f,f+k-e.width),e=b-(this.l.o.Ed()?72:50)-e.height):g.Md(this.A.element,b)?(f=g.VT(this.g).Ta().width,c=g.Wc(c,12,f-e.width-12),e=this.Ed()?this.na:this.oa,"gvn"==g.W(this.g).playerStyle&&(e+=20)):(b=g.VT(this.g).Ta(),
c=g.Wc(c,12,b.width-e.width-12),e=k.y>(b.height-f.height)/2?k.y-e.height-12:k.y+f.height+12);a.style.top=e+"px";a.style.left=c+"px"};
g.h.At=function(a){a&&(this.D.aj(this.A.element),this.l&&this.D.aj(this.l.ma()));fZ.prototype.At.call(this,a)};
g.h.SM=function(a){var b=this.g.getRootNode();a?b.parentElement?(b.setAttribute("aria-label",g.U("YTP_PLAYER_FULLSCREEN")),b.parentElement.insertBefore(this.W.element,b),b.parentElement.insertBefore(this.V.element,b.nextSibling)):g.tD(Error("Player not in DOM.")):(b.setAttribute("aria-label",g.U("YTP_PLAYER_NORMAL")),g.BU(this.W),g.BU(this.V));this.zb();this.Qi()};
g.h.Ed=function(){return this.g.isFullscreen()||!1};
g.h.zb=function(){var a=this.Ed();this.D.B=a?1.5:1;g.T(this.H.element,"ytp-big-mode",a);fZ.prototype.zb.call(this)};
g.h.Qi=function(){fZ.prototype.Qi.call(this);g.uU(this.g,this.Ea.element,!!this.I);var a=this.Ia,b=!!this.I;a.C=b;g.uU(a.l,a.element,a.o&&b);this.da&&(a=this.da,b=!!this.I,a.D=b,g.uU(a.l,a.element,a.B&&b));if(!this.I)for(this.D.aj(this.A.element),a=0;a<this.ba.length;a++)b=this.ba[a],dZ(b)&&b.Ob()};
g.h.ep=function(a){this.l&&Ipa(this.l,this.Yj());fZ.prototype.ep.call(this,a)};
g.h.pQ=function(){gU(this.g)&&this.o.dc(128,!1)};
g.h.nn=function(){return this.H.g?(this.H.Ob(),!0):this.F.length?(this.F[this.F.length-1].Ob(),!0):this.M?(this.M.Ob(),!0):fZ.prototype.nn.call(this)};
g.h.tC=function(a,b){this.Qb=b;this.ln(a,b);this.eD()};
g.h.eD=function(){var a=this.Qb||dZ(this.H);this.ka!=a&&(this.ka=a,this.g.sa("onAutonavPauseRequest",this.ka))};
g.h.uH=function(){W_(this,this.g.getRootNode(),!0).focus()};
g.h.vH=function(){W_(this,this.g.getRootNode(),!1).focus()};g.p(X_,g.K);g.h=X_.prototype;g.h.zw=function(){if(!this.l){var a=this.zw;if("lb3"==g.W(this.g).playerStyle)var b=!1;else b=this.g.ea(),b=b.Tm||b.captionTracks.length||b.za&&b.pa&&(null!=b.pa.g.en||g.UJ(b.pa))?!0:!1;(a=Z_(this,"captions",a,b))&&!this.l&&(this.l=a,a.lz()&&a.load(),this.g.sa("onApiChange"))}};
g.h.yq=function(){this.I=this.I||Z_(this,"endscreen",this.yq,g.Wpa(this))};
g.h.Cw=function(){var a=this.g.ea();var b=g.W(this.g).experiments,c=g.XD()&&(UD("ps4 vr")||UD("ps4 pro vr")),d=YD(),e=b.g("enable_mesh_cobalt"),f=b.g("enable_spherical_kabuki")||a.Nw,k=QL(g.W(this.g));a=a.Ne()?c||e||f||k||d||b.g("html5_enable_spherical"):a.Pf()?k||c||f||b.g("html5_enable_spherical"):a.Qf()?k||c||b.g("html5_enable_spherical3d"):a.li()?k||b.g("html5_enable_anaglyph3d"):k&&!g.qN(a)&&(b.g("enable_webgl_noop")||b.g("enable_white_noise"));this.o||(this.o=Z_(this,"webgl",this.Cw,a));this.o&&
a&&this.o.load()};
g.h.Ew=function(){this.V=this.V||Z_(this,"ypc",this.Ew,g.xN(this.g.ea(),"ypc_module"))};
g.h.Dw=function(){this.W=this.W||Z_(this,"ypc_clickwrap",this.Dw,g.xN(this.g.ea(),"ypc_clickwrap_module"))};
g.h.yw=function(){this.N=this.N||Z_(this,"spacecast",this.yw,this.g.ea().spacecastModule)};
g.h.ww=function(){this.M=this.M||Z_(this,"heartbeat",this.ww,g.xN(this.g.ea(),"ypc_license_checker_module"))};
g.h.wq=function(){if(!this.A){var a=this.wq;var b=g.W(this.g);if("3"==b.o)b=!1;else if(b.B.isEmpty()&&"annotation-editor"!=b.playerStyle&&"live-dashboard"!=b.playerStyle){var c=this.g.ea();b=b.experiments.g("disable_new_iv_module_create_logic")?g.xN(c,"iv3_module"):!!c.Cf}else b=!0;if(this.A=Z_(this,"annotations_module",a,b)){a=this.A;for(var d in this.da)b=d,a.subscribe(b,this.da[b]);this.g.sa("onApiChange")}}};
g.h.uw=function(){this.F=this.F||Z_(this,"fresca",this.uw,g.xN(this.g.ea(),"fresca_module"))};
g.h.zq=function(){this.K||(this.K=Z_(this,"remote",this.zq,g.W(this.g).Qb))&&this.K.create()};
g.h.Aw=function(){this.C||(this.C=Z_(this,"unplugged",this.Aw,g.KL(g.W(this.g))))&&this.C.init()};
g.h.xw=function(){this.Y||(this.Y=Z_(this,"miniplayer",this.xw,g.W(this.g).useMiniplayerUi))&&this.Y.init()};
g.h.xq=function(){if(!this.D){var a=this.xq;var b=g.W(this.g);"3"==b.o?b=!1:"creator-endscreen-editor"==b.playerStyle?b=!0:(b=this.g.ea(),b=!!b&&!!g.BN(b));(this.D=Z_(this,"creatorendscreen",a,b))&&this.g.sa("onApiChange")}};
g.h.U=function(){g.K.prototype.U.call(this);$_(this,!0)};g.p(a0,g.K);a0.prototype.get=function(a){var b=this.l.find(function(b){return b[0]==a});
return b?b[1]:null};
a0.prototype.set=function(a,b){this.remove(a,!0);for(this.l.push([a,b]);this.l.length>this.o;){var c=this.l.shift();this.g&&this.g(c[1])}};
a0.prototype.remove=function(a,b){if(b&&this.g){var c=this.get(a);if(c)this.g(c);else return}g.Ua(this.l,function(b){return b[0]==a})};
a0.prototype.U=function(){var a=this;this.g&&this.l.forEach(function(b){a.g(b[1])})};g.wa(b0);var s0=g.x("ytPlayerUtilsVideoTagPoolInstance")||b0.getInstance();g.va("ytPlayerUtilsVideoTagPoolInstance",s0,void 0);g.h=b0.prototype;g.h.Vw=function(a){if(!(this.g.length>=a)){a-=this.g.length;for(var b=0;b<a;b++)$pa(this)}};
g.h.FH=function(a,b){if(this.g.length)return this.g.pop();var c=$pa(this,a,b);a||g.Ta(this.g,c);return c};
g.h.MS=function(a){if(a&&g.Oa(this.l,a)){a.src&&(LK&&0<a.readyState&&(a.currentTime=Math.max(dsa,0)),a.removeAttribute("src"),a.load(),a.g&&a.g.g&&(a.g&&a.g.dispose(),a.g=null));for(var b in QE)QE[b][0]==a&&g.TE(b);g.Ta(this.l,a);g.Ta(this.o,a)}};
g.h.DI=function(a){return this.g.length>=(a||1)};
g.h.DG=function(){for(var a=this.o.length-1;0<=a;a--)d0(this,this.o[a]);this.g.length==this.l.length&&4<=this.g.length||(4>this.l.length?this.Vw(4):(this.g=[],(0,g.C)(this.l,function(a){d0(this,a)},this)))};
b0.prototype.fillPool=b0.prototype.Vw;b0.prototype.getTag=b0.prototype.FH;b0.prototype.releaseTag=b0.prototype.MS;b0.prototype.hasTags=b0.prototype.DI;b0.prototype.activateTags=b0.prototype.DG;g.p(e0,g.K);e0.prototype.o=function(a){this.l=a[a.length-1].intersectionRatio};
e0.prototype.U=function(){g.K.prototype.U.call(this);this.l=null;this.g&&this.g.disconnect()};g.p(f0,g.X);g.h=f0.prototype;g.h.BI=function(){this.D=new g.Wg(0,0,0,0);this.A=new g.Wg(0,0,0,0)};
g.h.to=function(a){g.iq(this.element,arguments)};
g.h.Wf=function(){if(this.l){var a=this.Ta();if(!a.isEmpty()){var b=!g.dd(a,g.$g(this.A)),c=eqa(this);b&&(this.A.width=a.width,this.A.height=a.height);a=this.app.g;(c||b||a.ca)&&this.app.l.P("resize",this.Ta())}}};
g.h.yL=function(a,b){cqa(this,b)};
g.h.CI=function(a){a.g&&cqa(this,a.g)};
g.h.Ta=function(){var a=this.app.g,b=this.app.H.isFullscreen();if(b&&WD())return new g.cd(window.outerWidth,window.outerHeight);if(b||a.lm){if(window.matchMedia){a="(width: "+window.innerWidth+"px) and (height: "+window.innerHeight+"px)";this.B&&this.B.media==a||(this.B=window.matchMedia(a));var c=this.B&&this.B.matches}if(c)return new g.cd(window.innerWidth,window.innerHeight)}else if(this.W&&this.X&&!this.app.isWidescreen())for(a=0;a<this.W.length;a++)if(b=this.W[a],b.query.matches)return new g.cd(b.size.width,
b.size.height);return new g.cd(this.element.clientWidth,this.element.clientHeight)};
g.h.fI=function(){this.l&&pW(this);k0(this)!=this.I&&this.Wf()};
g.h.zL=function(){pW(this)};
g.h.U=function(){this.F&&g.tF(this.F);bqa(this);g.X.prototype.U.call(this)};l0.prototype.click=function(a){var b=a.getAttribute("data-visual-id");g.Oa(this.g,a);g.Oa(this.l,b);g.rU(this,"onLogVeClicked",{id:b})};
l0.prototype.D=function(a){g.Oa(this.g,a);var b=a.getAttribute("data-visual-id");g.Ta(this.g,a);g.Ta(this.o,b);g.Ta(this.l,b);a.removeAttribute("data-visual-id")};
l0.prototype.pause=function(){this.A=!0};
l0.prototype.resume=function(){this.A=!1;for(var a=g.na(this.B),b=a.next();!b.done;b=a.next())b=b.value,g.rU(this,b.type,b.data);this.B.length=0};g.p(m0,g.X);g.p(o0,g.X);g.h=o0.prototype;g.h.show=function(){g.X.prototype.show.call(this);this.Ms()};
g.h.hide=function(){g.X.prototype.hide.call(this);this.o.stop()};
g.h.stop=function(){this.o.stop()};
g.h.start=function(){this.o.isActive()||this.Ms()};
g.h.Ms=function(){var a=g.HF(),b=g.TT(this.l),c=w0(this.l),d=this.l.l,e=d.app.B.ma(),f=this.l.g,k=b.Sq(),l=b.da,m=8*ES(l,"bandwidth")/1024,n=ES(l,"networkactivity")/1024,q=ES(l,"bufferhealth");if(b.F){var r=b.F.g.g+"/"+g.RG(dT(b));r=r+"/"+b.F.vg()}else r="";var v=g.ML();d=g.bU(d).Mr;k={video_id_and_cpn:c.videoId+" / "+c.clientPlaybackNonce,codecs:"",dropped_frames:k.totalVideoFrames?""+(k.droppedVideoFrames||0)+"/"+k.totalVideoFrames:"-",stream_host:b.B?b.B.Ea:"",dimensions:e.clientWidth+"x"+e.clientHeight+
(1<v?"*"+v:""),bandwidth_kbps:m.toFixed(0)+" Kbps",buffer_health_seconds:q.toFixed(2)+" s",drm_style:r?"":"display:none",drm:r,network_activity_bytes:n.toFixed(0)+" KB",shader_info:d,shader_info_style:d?"":"display:none"};m=this.l.H.getVolume();f=GN(c,f);f=Math.round(m)+"% / "+Math.round(m*f)+"%";m=c.relativeLoudness.toFixed(1);(0,window.isFinite)(m)&&(f+=" (content loudness "+m+"dB)");k.volume=f;k.resolution=e.videoWidth+"x"+e.videoHeight;if(c.Ka){e=c.Ka.video.fps;1<e&&(k.resolution+="@"+e);(b=aT(b))&&
b.video&&(k.resolution+=" / "+b.video.width+"x"+b.video.height,1<b.video.fps&&(k.resolution+="@"+b.video.fps));k.codecs=fqa(c.Ka);if(b=c.sc)b=c.Ka,b=!(b.audio&&b.video);b&&(k.codecs+=" / "+fqa(c.sc));c.Ka.video.l||c.Ka.video.primaries?(b=c.Ka.video.l||"unknown","smpte2084"==b?b+=" (PQ)":"arib-std-b67"==b&&(b+=" (HLG)"),k.color=b+" / "+(c.Ka.video.primaries||"unknown"),k.color_style=""):k.color_style="display:none"}b=c.za;k.live_latency_style=b?"":"display:none";k.live_mode_style=b?"":"display:none";
if(b){b=ES(l,"livelatency");k.live_latency_secs=b.toFixed(2)+"s";e=c.wc()?"Manifestless, ":"";f="Uncertain";if(0<=b&&120>b)if(c.latencyClass&&"UNKNOWN"!=c.latencyClass)switch(c.latencyClass){case "NORMAL":f="Optimized for Normal Latency";break;case "LOW":f="Optimized for Low Latency";break;case "ULTRALOW":f="Optimized for Ultra Low Latency";break;default:f="Unknown Latency Setting"}else f=c.isLowLatencyLiveStream?"Optimized for Low Latency":"Optimized for Smooth Streaming";k.live_mode=e+f}n0(this.A,
DS(l,"bandwidth"));n0(this.D,DS(l,"networkactivity"));n0(this.C,DS(l,"livelatency"));n0(this.B,DS(l,"bufferhealth"));this.update(k);a=25<g.HF()-a?5E3:500;this.o.start(a)};g.p(p0,g.K);g.h=p0.prototype;g.h.aO=function(){r0(this)||g.B0(this,5)};
g.h.AQ=function(a){r0(this)||(Cqa(this),fO(a.o)&&xY(this))};
g.h.fK=function(){return this.g};
g.h.Qd=function(){var a=this.A,b={};a.l&&g.Fa(b,a.l.PK());(a=this.A.B)&&g.Fa(b,a.Hs());b.fs=this.l.isFullscreen();b.volume=Math.round(this.H.getVolume());b.mos=this.H.isMuted()?1:0;if(this.g.experiments.g("html5_enable_embedded_player_visibility_signals")&&this.g.l&&(this.zd&&(a=this.zd,a=null==a.l?null:Math.round(100*a.l)/100,null!=a&&(b.inview=a)),a=this.F.Ta(),0<a.height&&0<a.width)){a=[Math.round(a.height),Math.round(a.width)];var c=g.ML();1<c&&a.push(c);b.size=a.join(":")}return b};
g.h.getCurrentTime=function(a){return 3==RT(this)?g.ST(this.A).getCurrentTime():(a=g.TT(this,a))?a.getCurrentTime():0};
g.h.getDuration=function(a){return(a=g.TT(this,a))?a.getDuration():0};
g.h.kK=function(a){switch(a.type){case "loadedmetadata":WM("fvb","")||this.I.g("fvb");g.HM("fvb",void 0,"video_to_ad");this.ib.start();break;case "loadstart":WM("gv","")||this.I.g("gv");g.HM("gv",void 0,"video_to_ad");break;case "progress":case "timeupdate":!WM("l2s","")&&2<=PN(YN(a.target))&&this.I.g("l2s");break;case "playing":g.PL&&this.ib.start();if(g.uL(this.g))a=!1;else{var b=this.A.o;a="none"==mh(this.B.g,"display")||0==g.Ch(this.B.g).ze();var c=this.g;c=!c.C||this.D.g.Ql&&c.wb;b=!k0(this.F)||
b||c||this.g.Vg;a=a&&!b}a&&(this.D.Nc("hidden","1",!0),w0(this).Ah||U0(this,"hidden",!0))}};
g.h.FP=function(a,b){this.l.sa("onLoadProgress",b)};
g.h.AR=function(){this.l.P("playbackstalledatstart")};
g.h.lK=function(a,b){this.l.sa("onVideoProgress",b)};
g.h.YO=function(){this.l.sa("onDompaused")};
g.h.iK=function(){this.H.P("progresssync")};
g.h.cO=function(a){0<rO(a,1)&&!g.V(a.state,64)&&this.o.g.za&&lT(this.o)&&1<this.l.Tc()&&E0(this,1,!0);var b;if(b=0<rO(a,2))this.C&&(g.zL(this.g)||this.l.isFullscreen()&&!this.ra)&&g.Q0(this)?(b=this.g.experiments.g("html5_player_autonav_logging"),R0(this,!1,b),b=!0):b=!1,b=!b;b&&(b=this.o.l)&&KE(b.g);g.V(a.state,128)&&(b=a.state,K0(this),b=b.g,this.l.sa("onError",Rra[b.errorCode]||5),this.l.sa("onDetailedError",b),6048E5<g.HF()-this.g.ym&&this.l.sa("onReloadRequired"));!a.state.kb()||g.mO(a.state)||
WM("pbresume")||(b=w0(this),g.IM("cpn",b.clientPlaybackNonce,"ad_to_video"),b.videoId&&g.IM("docid",b.videoId,"ad_to_video"),b.playbackId&&g.IM("plid",b.playbackId,"ad_to_video"),g.HM("pbresume",void 0,"ad_to_video"));this.l.P("applicationplayerstatechange",a)};
g.h.yB=function(a){3!=RT(this)&&(this.g.experiments.g("html5_ignore_playing_evt")||!g.V(a.state,32)&&0>rO(a,16)&&(!g.V(a.state,8)||g.V(a.state,64)||this.B.g.ended||g.V(a.state,2)||xY(this)),this.l.P("presentingplayerstatechange",a))};
g.h.hK=function(a){D0(this,nO(a.state));g.V(a.state,1024)&&this.l.app.X&&(rH(this,{muted:!1,volume:this.K.volume},!1),C0(this,!1))};
g.h.IQ=function(a){a.state.kb()&&!g.mO(a.state)&&(Xpa(this.A),g.gF(this.yd))};
g.h.ZN=function(a){"newdata"==a&&yqa(this)};
g.h.eO=function(){this.l.sa("onPlaybackAudioChange",this.l.getAudioTrack().Nb.name)};
g.h.WR=function(a){a==this.D.g&&this.l.sa("onPlaybackQualityChange",a.Ka.video.quality)};
g.h.As=function(a,b,c){if("newdata"==a)$_(this.A),this.l.P("videoplayerreset",b);else{if(!this.B)return;if("dataloaded"==a)if(this.D==this.o){if(b.A.Lg(c.oc),!this.o.o.isError()){var d=r0(this),e=this.o.g;if(!vN(e)||d||iN(this.o.g))e.Ub(),d&&g.B0(this,6),oqa(this),d||(e=this.A.B)&&!e.created&&this.A.g.ea(1).adModule&&this.A.B.create();else if(this.g.experiments.g("html5_defer_background_errors")&&zH())HT(this.o,"app_none_avail");else{d=e.za&&!g.NK()?"html5.unsupportedlive":"fmt.noneavailable";var f=
+!!e.adaptiveFormats,k=+!!e.ge,l=+(0<=e.hk.indexOf("itag=18")),m=+(0<=e.hk.indexOf("itag=43")),n=+x0('video/mp4; codecs="avc1.42001E, mp4a.40.2"'),q=+x0('video/webm; codecs="vp8.0, vorbis"');f="nosupported.1;a."+f+";d."+k+";"+("f18."+l+";c18."+n+";f43."+m+";c43."+q);e.pa&&(f+=";f133."+ +!!e.pa.g["133"]+";f140."+ +!!e.pa.g["140"]);g.TS(this.o,d,"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK",f)}}}else oqa(this);if(1==b.getPlayerType()&&(this.g.K&&Hqa(this),w0(this).za&&!this.g.sn&&g.TS(this.o,"html5.unsupportedlive",
"YTP_DEVICE_FALLBACK",void 0),c.Ub())){if(c.Mo||c.us||c.Ee.focEnabled||c.Ee.rmktEnabled||w0(this).Hv)e=w0(this),H0(this,"part2viewed",1,0x8000000000000),H0(this,"engagedview",Math.max(1,1E3*e.Ff),0x8000000000000),e.za||(e=1E3*e.lengthSeconds,H0(this,"videoplaytime25",.25*e,e),H0(this,"videoplaytime50",.5*e,e),H0(this,"videoplaytime75",.75*e,e),H0(this,"videoplaytime100",e,0x8000000000000),H0(this,"conversionview",e,0x8000000000000));if(c.chapterMarkers.length){e=w0(this);d=[];for(f=0;f<e.chapterMarkers.length;f++)if(k=
e.chapterMarkers[f].playerChapterMarkerRenderer)l={id:"__chapterMarker"+f+"__",style:"ytp-chapter-marker",visible:!0},k.color&&(l.color=k.color),k.tooltip&&(l.tooltip=k.tooltip),m=k.startTimeMs,k=new g.eP(m,k.endTimeMs||m,l),k.namespace="appchaptermarker",d.push(k);hU(this,d,1)}}this.l.P("videodatachange",a,c,b.getPlayerType())}this.g.wb&&this.l.sa("onVideoDataChange",{type:a,playertype:b.getPlayerType()});a=c.clientScreenNonce;c=c.rootVeType;a&&c&&(b=this.ca,a!=b.C&&(b.C=a,g.rU(b,"onScreenChanged",
{csn:a,root_ve_type:c}),b.l.length&&g.rU(b,"onLogVesShown",{ids:b.l}),b.o=g.Wa(b.l)))};
g.h.Xm=function(){y0(this,null);this.l.sa("onPlaylistUpdate")};
g.h.DA=function(a){var b=a.ia,c=this.o.g;if("part2viewed"==b)c.MB&&g.fE(c.MB),c.us&&g.fE(c.us);else if("conversionview"==b){var d=this.o;d.C&&XO(d.C)}else"engagedview"==b&&g.fE(c.Mo);if(c.No){d=c.No;var e={label:a.ia};if(this.g.experiments.g("send_pyv_ad_mt_and_abandon_pings")){var f=1E3*this.getCurrentTime();e.ad_mt=Math.round(Math.max(0,f)).toString()}d=g.HD(d,e);g.fE(d)}switch(b){case "videoplaytime25":c.Qy&&g.fE(c.Qy);g.fE(c.DS);break;case "videoplaytime50":c.Ry&&g.fE(c.Ry);g.fE(c.ES);break;case "videoplaytime75":c.Sy&&
g.fE(c.Sy);g.fE(c.FS);break;case "videoplaytime100":c.Py&&g.fE(c.Py),g.fE(c.CS)}(b=w0(this).Hv)&&b[a.ia]&&(c=b[a.ia],g.fE(c,void 0,cH(c)||dH(c)||bH(c)),b=b[a.ia+"gaia"],g.fE(b,void 0,cH(b)||dH(b)||bH(b)));this.o.H.C(a)};
g.h.isPeggedToLive=function(a){return lT(this.o,void 0,void 0===a?!1:a)};
g.h.jK=function(a,b){var c=a.g;if(1==this.N||2==this.N)c.startSeconds=b;2==this.N?A0(this):this.l.P("seekto",b)};
g.h.RN=function(){this.l.P("airplayactivechange")};
g.h.SN=function(){this.l.P("airplayavailabilitychange")};
g.h.lO=function(){this.l.P("beginseeking")};
g.h.dP=function(){this.l.P("endseeking")};
g.h.Ht=function(){var a=this.C.jc(),b=w0(this);b.Fi||!this.da?(b=b.oh,a=I0(this,a),b&&L0(this,a)):a&&M0(this,a);this.l.sa("onPlaylistUpdate")};
g.h.XN=function(a){this.l.sa("onCueRangeEnter",a.ia)};
g.h.YN=function(a){this.l.sa("onCueRangeExit",a.ia)};
g.h.bO=function(){this.ka||(this.ka=yM(this.MA,this));dP(this.I,CY(this))};
g.h.yP=function(){this.H.P("internalAbandon")};
g.h.MA=function(a){a=a.g;if(!(0,window.isNaN)(a)&&0<a&&this.o){var b=this.o;b.C&&0<a&&(b.C.l.l.aft=[a])}};
g.h.aQ=function(){this.xt()};
g.h.bQ=function(){this.xt()};
g.h.xt=function(){this.g.wb&&this.D?this.l.sa("onApiChange",this.D.getPlayerType()):this.l.sa("onApiChange")};
g.h.XP=function(){var a={volume:g.Wc(Math.floor(100*this.B.getVolume()),0,100),muted:this.B.g.muted};a.muted||C0(this,!1);this.K=g.Yb(a);this.l.sa("onVolumeChange",a)};
g.h.mP=function(){var a=g.JE();T0(this,a==this.F.element?1:0);Dqa(this,!!a&&g.Md(this.F.element,a))};
g.h.eR=function(){2!=this.Sa&&T0(this,g.JE()==this.F.element?1:0);this.g.fm&&w0(this)&&!w0(this).backgroundable&&this.B&&.33>window.outerHeight*window.outerWidth/(window.screen.width*window.screen.height)&&KE(this.B.g)};
g.h.EP=function(a){3!=RT(this)&&this.l.P("liveviewshift",a)};
g.h.isWidescreen=function(){return this.fd};
g.h.dR=function(a){var b=g.i0(this.F);g.Yg(this.we,b)||(this.we=b,this.D&&sT(this.D,"r"),this.o&&this.o!=this.D&&sT(this.o,"r"),1==this.Sa&&this.Ia&&Dqa(this,!0));this.ed&&g.dd(this.ed,a)||(this.l.P("appresize",a),this.ed=a)};
g.h.cd=function(){return this.H.cd()};
g.h.uR=function(){U0(this,"signature")};
g.h.iQ=function(){u0(this);t0(this)};
g.h.KO=function(){this.l.sa("CONNECTION_ISSUE")};
g.h.gK=function(a){this.l.P("heartbeatparams",a)};
g.h.oQ=function(){var a=g.TT(this);a&&g.JT(a,!gU(this.l))};
g.h.GP=function(){this.l.sa("onLoadedMetadata")};
g.h.aP=function(){this.l.sa("onDrmOutputRestricted")};
g.h.U=function(){this.o.dispose();u0(this);g.Ve(g.Nb(this.Pa),this.C);g.xM(this.ka);this.ka=0;this.Ea&&this.Ea.dispose();g.K.prototype.U.call(this)};
var U1={};g.va("yt.player.Application.create",function(a,b){try{var c=g.u(a)?a:"player"+g.Da(a);if(U1[c]){try{U1[c].dispose()}catch(e){g.tD(e)}U1[c]=null}var d=new p0(a,b);g.Te(d,function(){U1[c]=null});
return U1[c]=d}catch(e){throw g.tD(e),e.stack;}},void 0);
var ksa=g.x("ytcsi.tick");ksa&&ksa("pe");})(_yt_player);
