You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7085 lines
1.2 MiB

var _yt_player={};(function(g){var window=this;var ba,ca,aaa,ha,ga,ia,la,ma,sa,daa,eaa,Ca,Ea,Ga,D,Ia,Ja,naa,oaa,Ka,La,Ma,Na,paa,Sa,Va,Wa,Xa,raa,Ya,saa,cb,jb,ob,rb,ub,yb,vb,Ab,taa,wb,uaa,Cb,Eb,vaa,Ib,Lb,waa,Rb,Nb,Sb,Tb,Vb,Wb,Yb,ac,dc,cc,ec,fc,gc,hc,yaa,ic,rc,tc,qc,mc,zc,Bc,wc,Cc,Dc,Ec,Fc,Gc,Hc,Ic,Lc,I,Baa,Mc,Aaa,Nc,Caa,Qc,Pc,Rc,Sc,Uc,Tc,Wc,Xc,Yc,Zc,$c,ad,bd,cd,dd,ed,fd,Oc,Vc,hd,id,jd,ld,md,nd,od,qd,rd,sd,ud,vd,xd,wd,Cd,Paa,Bd,Ed,Fd,Hd,Ld,Uaa,Vaa,Od,ce,fe,ge,ie,pe,ue,ye,Ae,Be,Ce,Xaa,Sd,Je,Oe,Qe,Re,aba,Ue,Ve,Xe,Ye,$e,af,We,df,bba,kf,gf,pf,of,cba,
cf,sf,tf,uf,vf,dba,wf,xf,zf,eba,Af,Bf,fba,Hf,If,Jf,Mf,Of,Pf,Qf,gba,iba,jba,Wf,Tf,Uf,Kf,Rf,lba,ag,Xf,Yf,cg,kba,bg,hba,fg,ig,mba,nba,oba,pba,lg,ng,pg,qg,wg,xg,yg,zg,Bg,Dg,Fg,Hg,Ig,Jg,Lg,tba,Tg,Ug,Vg,Wg,Yg,Zg,$g,dh,ih,jh,nh,gh,uba,xh,yh,zh,vba,wba,Bh,xba,Jh,Kh,Lh,Mh,Nh,Oh,Ph,yba,zba,Aba,Sh,Th,Uh,Vh,Xh,ai,ci,di,ei,hi,ii,ji,ki,oi,ri,si,Dba,ti,vi,ui,wi,Ci,yi,Di,Gba,Fba,Ei,Fi,Gi,Hi,Ii,Ji,Ki,Li,Mi,Ni,Oi,Pi,Ri,Qi,Si,Ti,Ui,Hba,Vi,Wi,Xi,Yi,Zi,aj,cj,$i,ej,dj,fj,gj,hj,ij,jj,lj,mj,nj,Jba,pj,Oba,sj,Lba,Mba,Kba,
Nba,tj,wj,Qba,vj,oj,qj,Rba,xj,Sba,Tba,Uba,Zba,yj,$ba,zj,Aj,Bj,Cj,Ej,Fj,aca,cca,Hj,bca,dca,Ij,eca,fca,Gj,Jj,gca,jca,ica,kca,Kj,Lj,Mj,lca,Nj,mca,Oj,Pj,Qj,Rj,Sj,nca,Tj,Uj,Vj,Wj,Yj,Xj,pca,bk,qca,rca,dk,fk,ek,gk,pk,mk,jk,tca,rk,sca,ok,Zj,yk,wca,Ck,sk,qk,xca,Hk,Ek,yca,zca,vca,uk,Aca,Bca,Ik,Cca,Jk,Lk,Mk,Kk,Nk,Ok,Sk,Tk,Uk,Dca,Wk,Eca,Xk,Fca,Pk,al,$k,bl,cl,el,Kca,Gca,il,jl,ll,kl,ml,nl,ol,Nca,Mca,pl,ql,Oca,sl,rl,Tca,ul,vl,wl,xl,Vca,Wca,yl,Al,Cl,Xca,El,Gl,Hl,Fl,Il,Jl,Yca,Ll,Pl,Vl,Wl,ada,Ql,Sl,bda,Zl,$l,Yl,bm,
Ul,am,Zca,dm,hm,im,gm,jm,km,cda,nm,om,pm,qm,rm,eda,fda,tm,gda,um,vm,sm,hda,wm,xm,ym,zm,Am,ida,kda,Em,Fm,lda,mda,Bm,jda,Cm,Hm,Im,Gm,oda,Km,Jm,qda,Mm,Lm,Pm,Qm,Sm,Tm,Rm,Vm,tda,Wm,Ym,Zm,$m,an,Xm,bn,cn,dn,gn,hn,ln,on,jn,qn,sn,tn,un,vn,wn,xn,yn,zn,Cn,En,Dn,Fn,Gn,Hn,Kn,uda,Jn,Mn,Ln,Nn,On,Qn,Rn,Sn,Tn,vda,wda,Un,Xn,Zn,Yn,Bda,ao,Wn,bo,Cda,eo,co,Dda,fo,ho,jo,io,ko,lo,mo,Eda,Fda,no,oo,po,qo,ro,so,vo,wo,xo,yo,zo,Ao,Bo,Co,Do,Eo,P,Ho,Ko,Lo,Gda,Q,Po,Kda,Ro,Xo,Yo,$o,Oo,Wo,Uo,Qda,Rda,Sda,Tda,ap,bp,cp,dp,fp,gp,ep,Uda,
jp,kp,lp,mp,np,op,pp,qp,sp,rp,up,vp,Vda,Wda,wp,zp,xp,yp,Ap,Bp,Yda,Zda,Cp,Dp,$da,Ep,Mp,bea,Op,Pp,Qp,Rp,Sp,dea,Tp,$p,aq,Up,bq,cq,hea,Vp,gea,Xp,Yp,Zp,fea,hq,iq,jq,nq,mea,nea,oq,pea,qea,qq,tea,sq,oea,tq,uq,vq,wq,uea,xq,yq,zq,vea,Bq,Cq,Dq,Eq,wea,Fq,xea,Aq,Gq,Hq,Iq,yea,zea,Aea,Bea,Jq,Cea,Mq,Qq,Tq,Uq,ip,hp,Dea,Eea,Fea,Vq,Gea,Wq,Hea,Iea,Jea,Kea,Lea,Mea,Nea,Oea,Pea,Xq,Yq,$q,Zq,ar,Qea,Rea,Sea,Tea,cr,Vea,er,hr,Xea,kr,mr,jr,nr,or,pr,qr,rr,sr,tr,ur,vr,wr,yr,xr,afa,bfa,Cr,efa,Br,Ar,Dr,Er,Fr,Gr,Ir,eq,ffa,Sr,Tr,
Ur,Vr,Jr,jfa,Wr,Xr,gq,$r,bs,kea,cs,ds,es,dq,lea,as,fs,gs,hs,is,js,ks,ls,mfa,nfa,lfa,ofa,Zr,pfa,vs,rfa,ws,Hr,xs,ys,zs,As,sfa,Bs,Nr,Yr,us,Cs,Ds,Es,ts,fq,Mr,Gs,Rr,Hs,Is,Kr,Or,rs,kfa,ufa,Qr,Js,Ks,vfa,Ls,wfa,Ms,Ns,Os,Qs,Rs,Ss,zfa,Ts,Us,Vs,Ws,Xs,Ys,Zs,$s,at,bt,ct,dt,et,ft,gt,it,Cfa,Efa,ht,Ffa,Gfa,Hfa,jt,lt,kt,mt,nt,Ifa,Kfa,Lfa,pt,qt,Mfa,At,zt,Bt,Ct,Nfa,Ht,It,Kt,Jt,Lt,Mt,Nt,Ot,Pt,Ofa,Ut,Rt,Tt,Xt,Yt,Zt,$t,Vt,cu,du,Wt,fu,Pfa,gu,hu,iu,ju,ku,eu,Qfa,lu,Rfa,mu,nu,ou,Sfa,pu,qu,Tfa,ru,tu,uu,Ufa,vu,wu,Vfa,yu,zu,
Wfa,Du,Eu,Xfa,Iu,Ju,Ku,Lu,Mu,Nu,Ou,Yfa,Pu,Qu,Ru,Tu,Su,Zfa,Uu,Vu,Wu,Xu,$fa,Yu,Zu,cga,aga,$u,av,bv,cv,dv,ev,dr,fv,gv,hv,iv,jv,kv,lv,mv,nv,ov,os,Kq,ns,Sq,ms,qs,vv,fr,Rq,uv,Oq,Lq,Nq,Pq,xv,gr,tv,ps,Av,Bv,Dv,dga,Ev,Fv,Gv,Hv,Iv,Jv,Kv,Lv,Mv,Nv,Ov,Pv,Qv,ega,Rv,Sv,Tv,Uv,Vv,Wv,fga,Xv,Yv,Zv,$v,aw,bw,dw,ew,hga,fw,iga,gga,kga,gw,lga,iw,cw,jga,pga,oga,nga,hw,jw,kw,lw,mw,ow,pw,qw,rw,tw,uw,vw,ww,xw,yw,Aw,Bw,Cw,zw,Dw,Ew,qga,rga,Hw,Fw,Kw,Gw,Lw,Jw,Mw,tga,uga,Nw,Ow,Pw,vga,Sw,Tw,Rw,Uw,yga,zga,Vw,Ww,Xw,Yw,Aga,Bga,Zw,$w,
ax,cx,Cga,bx,fx,dx,Dga,Ega,Fga,gx,hx,ix,jx,kx,lx,mx,nx,ox,qx,rx,sx,px,tx,ux,vx,wx,Jga,Iga,yx,xx,Bx,Kga,Cx,Dx,Lga,Hga,Ex,Gx,Nga,Mga,Hx,Ix,Pga,Kx,Jx,Mx,Nx,Ox,Rga,Sga,Px,Qx,Tga,Rx,Ax,Uga,Sx,Tx,zx,Vga,Ux,Vx,Wx,Xx,Wga,Yx,Zx,$x,by,cy,ay,Zga,Xga,ey,hy,iy,gy,fy,dy,jy,ly,my,oy,qy,ny,ry,sy,bha,uy,ty,vy,cha,dha,eha,wy,yy,zy,Ay,By,Cy,Dy,Ey,fha,Fy,hha,Ly,Gy,Hy,Iy,Sy,My,Oy,Ny,Vy,Qy,Py,Ty,Ry,jha,Ky,Jy,kha,Wy,gha,Xy,Yy,Zy,mha,$y,cz,dz,fz,ez,gz,hz,iz,oha,nha,pha,kz,qha,rha,lz,mz,jz,sha,nz,oz,tha,pz,uha,vha,wha,xha,
qz,rz,sz,uz,vz,wz,tz,yz,yha,zha,xz,zz,Az,Bz,Cz,Dz,Aha,Ez,Hz,Jz,Iz,Kz,Lz,Mz,Oz,Nz,Qz,Pz,Rz,Sz,Bha,Wz,Xz,Yz,Zz,$z,aA,bA,cA,dA,eA,fA,hA,iA,gA,jA,kA,lA,Cha,mA,Dha,pA,qA,nA,oA,sA,wA,tA,uA,rA,vA,Eha,xA,yA,zA,AA,CA,BA,Fha,EA,DA,Hha,Iha,Gha,FA,Jha,Kha,Lha,Mha,GA,Oha,Pha,Qha,pq,JA,KA,LA,MA,NA,OA,PA,QA,SA,TA,UA,ZA,YA,cB,dB,WA,eB,fB,gB,hB,VA,XA,$A,jB,Xha,kB,Yha,Zha,$ha,lB,bia,mB,nB,oB,pB,qB,cia,rB,dia,eia,sB,fia,gia,tB,uB,hia,jia,kia,vB,lia,xB,zB,pia,wB,qia,AB,aia,BB,sia,tia,CB,uia,via,EB,HB,wia,JB,IB,KB,xia,
iha,LB,MB,PB,QB,RB,SB,TB,zia,UB,VB,WB,XB,NB,Bia,Cia,$B,Dia,aC,bC,cC,ZB,dC,YB,eC,Eia,Uy,Gia,py,Fia,fC,gC,hC,iC,jC,kC,Hia,lC,mC,oC,pC,nC,xC,Iia,AC,qC,BC,DC,wC,vC,uC,FC,EC,GC,HC,JC,LC,MC,Jia,NC,OC,PC,TC,VC,QC,XC,UC,$C,ZC,RC,YC,aD,cD,KC,WC,bD,eD,dD,SC,IC,CC,sC,gD,Kia,kD,lD,mD,nD,Lia,qD,rD,sD,tD,uD,wD,xD,yD,zD,AD,CD,ED,GD,FD,HD,BD,DD,KD,JD,LD,MD,XD,YD,ZD,aE,bE,cE,dE,fE,gE,hE,iE,jE,lE,mE,nE,oE,qE,sE,Nia,BE,DE,EE,FE,HE,Oia,Pia,Qia,ME,Ria,Sia,KE,PE,RE,SE,TE,VE,WE,XE,OE,Tia,bF,aF,cF,dF,eF,fF,Xia,iF,jF,lF,
kF,mF,rF,tF,uF,wF,Yia,xF,yF,zF,$ia,GF,HF,IF,PF,UF,SF,WF,VF,XF,dja,YF,lG,mG,kG,uG,tG,xG,yG,zG,EG,GG,FG,fja,gja,RG,TG,SG,UG,ija,VG,WG,jja,kja,YG,mja,$G,lja,eH,gH,oja,hH,jH,oH,pja,qja,pH,qH,rja,vH,xH,sja,yH,zH,tja,EH,FH,DH,GH,IH,JH,KH,LH,HH,MH,uja,PH,QH,wja,RH,vja,OH,SH,TH,UH,WH,xja,VH,XH,YH,ZH,$H,bI,cI,XG,dI,eI,fI,mI,qI,sI,yja,tI,zja,uI,vI,Aja,wI,zI,Bja,AI,Cja,BI,Dja,Eja,Fja,Gja,yI,xI,CI,FI,GI,DI,JI,II,KI,LI,MI,NI,OI,PI,QI,RI,SI,TI,UI,VI,WI,YI,$I,Jja,aJ,bJ,cJ,dJ,eJ,fJ,hJ,U,gJ,jJ,iJ,lJ,mJ,nJ,Lja,qJ,
sJ,tJ,uJ,vJ,Mja,wJ,xJ,yJ,zJ,AJ,BJ,CJ,DJ,FJ,IJ,EJ,GJ,MJ,NJ,KJ,HJ,OJ,PJ,JJ,LJ,Nja,QJ,RJ,Oja,SJ,TJ,UJ,VJ,WJ,XJ,YJ,ZJ,$J,aK,bK,cK,dK,eK,hK,fK,jK,kK,lK,mK,nK,oK,gK,iK,pK,qK,Rja,rK,sK,Sja,tK,uK,vK,wK,xK,yK,Tja,Uja,DK,EK,FK,GK,Vja,HK,IK,Wja,KK,JK,LK,MK,SK,Xja,PK,TK,VK,UK,NK,YK,Yja,ZK,OK,QK,RK,XK,WK,$K,aL,bL,cL,dL,eL,Zja,fL,gL,hL,iL,jL,kL,lL,mL,oL,pL,qL,nL,bka,sL,tL,uL,vL,cka,dka,xL,eka,yL,zL,BL,CL,DL,EL,FL,HL,GL,IL,JL,fka,KL,LL,ML,NL,OL,gka,hka,lka,mka,ika,jka,kka,QL,RL,SL,TL,nka,UL,oka,VL,WL,qka,pka,XL,
rka,YL,aM,tka,bM,uka,cM,dM,eM,fM,vka,ZL,ska,hM,jM,kM,lM,iM,oM,pM,wka,yka,Aka,zka,Bka,rM,sM,uM,tM,vM,Cka,Dka,wM,yM,zM,AM,BM,CM,DM,EM,xM,FM,GM,HM,IM,JM,Eka,MM,NM,LM,QM,Kka,WM,Ska,VM,UM,Jka,BK,cN,dN,eN,jN,iN,kN,lN,mN,nN,oN,pN,qN,sN,uN,GN,HN,IN,JN,KN,LN,MN,ON,BN,EN,CN,TN,Zka,FN,VN,WN,ala,bla,dla,ela,XN,fla,YN,ZN,$N,aO,dO,fO,eO,hO,gO,cO,iO,bO,jO,kO,lO,gla,mO,pO,ila,sO,AO,BO,CO,EO,DO,jla,kla,FO,GO,JO,XO,$O,RO,aP,NO,cP,WO,QO,VO,SO,mla,nla,eP,UO,YO,OO,ZO,fP,HO,KO,IO,tla,ula,lP,mP,Bla,nP,pP,qP,tP,vP,wP,yP,
zP,AP,BP,rP,Cla,wla,xla,yla,vla,EP,FP,Ela,jP,zla,HP,KP,MP,NP,OP,Fla,PP,QP,Hla,SP,UP,VP,WP,XP,YP,$P,aQ,cQ,eQ,fQ,Ila,gQ,hQ,jQ,IP,lQ,nQ,oQ,pQ,qQ,rQ,sQ,Kla,tQ,mQ,uQ,vQ,Lla,xQ,wQ,yQ,zQ,AQ,BQ,CQ,FQ,GQ,HQ,EQ,DQ,IQ,JQ,KQ,LQ,MQ,QQ,RQ,SQ,TQ,Mla,Nla,Ola,Pla,OQ,UQ,VQ,XQ,YQ,$Q,aR,bR,cR,dR,Qla,Rla,Sla,eR,gR,hR,iR,jR,kR,lR,mR,nR,fR,oR,pR,qR,Ula,Vla,Wla,Xla,rR,sR,Tla,uR,tR,wR,vR,Yla,Zla,$la,xR,yR,zR,AR,BR,CR,ER,FR,GR,DR,HR,IR,JR,LR,bma,KR,NR,OR,PR,QR,MR,RR,TR,SR,UR,VR,WR,XR,YR,$R,ZR,cS,cma,fS,gS,hS,bS,iS,jS,aS,kS,
lS,mS,nS,eS,dS,oS,pS,dma,qS,rS,sS,tS,ema,fma,yS,zS,xS,BS,uS,gma,vS,wS,hma,AS,jma,CS,DS,kma,lma,ES,mma,FS,nma,GS,HS,IS,JS,oma,pma,KS,MS,OS,RS,SS,TS,VS,WS,ZS,YS,$S,aT,rma,cT,dT,bT,fT,US,qma,gT,hT,LS,eT,iT,NS,QS,jT,sma,tma,uma,vma,kT,lT,mT,nT,oT,wma,xma,pT,rT,qT,sT,zma,Ama,Bma,tT,vT,wT,yT,xT,Cma,Dma,zT,Ema,AT,BT,CT,DT,ET,FT,Fma,GT,HT,JT,QT,Gma,LT,ST,UT,XT,WT,IT,NT,eU,cU,dU,Ima,ZT,jU,iU,pU,rU,sU,tU,fU,uU,gU,kU,MT,qU,Lma,lU,wU,bU,xU,hU,$T,AU,Mma,BU,OT,Jma,CU,zU,PT,DU,aU,Kma,oU,Nma,KT,yU,EU,nU,mU,VT,FU,
IU,PU,TU,ZU,kV,Oma,nV,pV,tV,uV,vV,wV,AV,EV,GV,HV,Pma,IV,JV,KV,LV,MV,NV,QV,Sma,Tma,Qma,Rma,Uma,SV,TV,UV,XV,YV,$V,dW,cW,bW,fW,Vma,gW,Wma,hW,$ma,iW,jW,kW,ana,bna,lW,cna,mW,pW,oW,nW,qW,rW,sW,tW,uW,vW,xW,zW,DW,EW,dna,FW,GW,HW,ena,IW,JW,KW,LW,MW,NW,OW,PW,fna,QW,RW,gna,SW,TW,UW,hna,VW,jna,ina,kna,XW,lna,ZW,YW,bX,aX,$W,cX,mna,dX,eX,fX,gX,nna,jX,lX,mX,nX,oX,ona,pX,rX,pna,hX,qX,kX,iX,xX,yX,tX,sX,wX,vX,zX,AX,BX,CX,qna,vna,sna,una,DX,EX,FX,GX,HX,IX,wna,JX,LX,KX,MX,xna,NX,yna,OX,PX,SX,TX,UX,VX,WX,zna,YX,Ana,ZX,
XX,$X,aY,bY,cY,Bna,Cna,Ena,Dna,dY,eY,Fna,Gna,Hna,fY,hY,jY,kY,lY,iY,gY,mY,oY,qY,rY,tY,PV,OV,uX,vY,wY,xY,yY,AW,BY,uY,CY,FY,QX,IY,DY,CW,BW,KY,sY,aW,LY,OY,PY,NY,QY,Jna,Lna,Kna,SY,VY,TY,YY,yW,RY,ZY,$Y,bZ,cZ,aZ,dZ,fZ,gZ,iZ,hZ,jZ,kZ,Mna,Nna,lZ,mZ,pZ,oZ,qZ,rZ,sZ,tZ,vZ,wZ,yZ,zZ,AZ,BZ,xZ,DZ,FZ,HZ,GZ,JZ,IZ,KZ,LZ,MZ,OZ,NZ,PZ,QZ,RZ,SZ,TZ,UZ,VZ,WZ,ZZ,XZ,YZ,Pna,d_,Qna,j_,k_,n_,o_,p_,q_,r_,u_,v_,t_,s_,w_,y_,x_,z_,A_,C_,E_,B_,G_,I_,H_,Rna,F_,J_,K_,L_,M_,N_,O_,Sna,P_,Q_,R_,S_,T_,U_,V_,X_,W_,Z_,Y_,$_,a0,b0,c0,g0,e0,
d0,f0,i0,h0,j0,k0,m0,o0,p0,n0,r0,s0,t0,u0,q0,w0,A0,v0,D0,E0,F0,y0,G0,x0,I0,C0,z0,H0,J0,B0,K0,O0,P0,Q0,R0,S0,T0,U0,W0,V0,X0,Y0,Z0,$0,a1,b1,c1,d1,e1,f1,g1,h1,j1,i1,k1,l1,m1,n1,p1,o1,r1,Wna,t1,s1,u1,w1,$Z,y1,x1,v1,z1,l0,B1,F1,D1,E1,G1,H1,A1,I1,J1,K1,Yna,Xna,O1,Q1,R1,zY,M1,S1,AY,wW,T1,V1,U1,W1,Y1,Zna,$na,b2,a2,N1,aoa,g2,L1,h2,KU,coa,doa,$1,Z1,j2,foa,f2,HY,l2,goa,e2,k2,n2,p2,o2,q2,hoa,s2,ioa,i2,eoa,joa,$U,JY,kJ,koa,d2,loa,u2,bV,EY,GY,moa,m2,noa,ooa,poa,qoa,boa,roa,v2,soa,w2,voa,woa,y2,A2,xoa,B2,Doa,Hoa,
Eoa,Goa,C2,Moa,Noa,Poa,Roa,Qoa,Soa,Uoa,H2,Voa,Toa,Woa,Xoa,ea,da,baa,Iw,pa,ya,caa;ba=function(a){return function(){return g.aa[a].apply(this,arguments)}};
ca=function(){ca=function(){};
da.Symbol||(da.Symbol=aaa)};
aaa=function(a){return"jscomp_symbol_"+(a||"")+baa++};
ha=function(){ca();var a=da.Symbol.iterator;a||(a=da.Symbol.iterator=da.Symbol("iterator"));"function"!=typeof Array.prototype[a]&&ea(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return ga(this)}});
ha=function(){}};
ga=function(a){var b=0;return ia(function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}})};
ia=function(a){ha();a={next:a};a[da.Symbol.iterator]=function(){return this};
return a};
g.ka=function(a){ha();var b=a[window.Symbol.iterator];return b?b.call(a):ga(a)};
g.p=function(a,b){function c(){}
c.prototype=b.prototype;a.aa=b.prototype;a.prototype=new c;a.prototype.constructor=a;for(var d in b)if(Object.defineProperties){var e=Object.getOwnPropertyDescriptor(b,d);e&&Object.defineProperty(a,d,e)}else a[d]=b[d]};
la=function(a,b){if(b){for(var c=da,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&&ea(c,d,{configurable:!0,writable:!0,value:f})}};
ma=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.na=function(a){return"boolean"==typeof a};
g.oa=function(a){return"number"==typeof a};
g.qa=function(a,b,c){a=a.split(".");c=c||pa;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.v=function(a,b){for(var c=a.split("."),d=b||pa,e;e=c.shift();)if(null!=d[e])d=d[e];else return null;return d};
g.x=function(){};
g.ra=function(a){a.ed=void 0;a.getInstance=function(){return a.ed?a.ed:a.ed=new a}};
sa=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.ta=function(a){return"array"==sa(a)};
g.ua=function(a){var b=sa(a);return"array"==b||"object"==b&&"number"==typeof a.length};
g.va=function(a){return"function"==sa(a)};
g.wa=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b};
g.za=function(a){return a[ya]||(a[ya]=++caa)};
daa=function(a,b,c){return a.call.apply(a.bind,arguments)};
eaa=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.y=function(a,b,c){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?g.y=daa:g.y=eaa;return g.y.apply(null,arguments)};
g.Aa=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.Ba=function(a,b){for(var c in b)a[c]=b[c]};
Ca=function(a,b){b&&(a=a.replace(/\{\$([^}]+)}/g,function(a,d){return null!=b&&d in b?b[d]:a}));
return a};
g.Da=function(a,b,c){g.qa(a,b,c)};
g.z=function(a,b){function c(){}
c.prototype=b.prototype;a.aa=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.g2=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)}};
Ea=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,Ea);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))};
g.Fa=function(a,b){return 0==a.lastIndexOf(b,0)};
Ga=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c};
D=function(a){return/^[\s\xa0]*$/.test(a)};
g.Ha=function(a){return(0,window.encodeURIComponent)(String(a))};
Ia=function(a){return(0,window.decodeURIComponent)(a.replace(/\+/g," "))};
Ja=function(a){if(!faa.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(gaa,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(haa,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(iaa,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(jaa,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(kaa,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(laa,"&#0;"));return a};
naa=function(a){var b={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"'};var c=pa.document.createElement("div");return a.replace(maa,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})};
oaa=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}})};
Ka=function(a,b){a.length>b&&(a=a.substring(0,b-3)+"...");return a};
La=function(a,b){return-1!=a.indexOf(b)};
Ma=function(a,b){return La(a.toLowerCase(),b.toLowerCase())};
Na=function(a){return String(a).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")};
g.Pa=function(a,b,c){a=g.t(c)?a.toFixed(c):String(a);c=a.indexOf(".");-1==c&&(c=a.length);return Oa("0",Math.max(0,b-c))+a};
g.E=function(a){return null==a?"":String(a)};
paa=function(a){return Array.prototype.join.call(arguments,"")};
g.Qa=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^(0,g.F)()).toString(36)};
g.Ta=function(a,b){for(var c=0,d=Ra(String(a)).split("."),e=Ra(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=Sa(0==l[1].length?0:(0,window.parseInt)(l[1],10),0==m[1].length?0:(0,window.parseInt)(m[1],10))||Sa(0==l[2].length,0==m[2].length)||Sa(l[2],m[2]);l=l[3];m=m[3]}while(0==c)}return c};
Sa=function(a,b){return a<b?-1:a>b?1:0};
g.Ua=function(a){for(var b=0,c=0;c<a.length;++c)b=31*b+a.charCodeAt(c)>>>0;return b};
Va=function(){return"goog_"+qaa++};
Wa=function(a){var b=Number(a);return 0==b&&D(a)?window.NaN:b};
Xa=function(a){return String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()})};
raa=function(a){var b=g.u(void 0)?Na(void 0):"\\s";return a.replace(new RegExp("(^"+(b?"|["+b+"]+":"")+")([a-z])","g"),function(a,b,e){return b+e.toUpperCase()})};
Ya=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};
g.Za=function(a){return a[a.length-1]};
saa=function(a,b){var c=0;(0,g.G)(a,function(a,e,f){b.call(void 0,a,e,f)&&++c},void 0);
return c};
g.ab=function(a,b,c){b=g.$a(a,b,c);return 0>b?null:g.u(a)?a.charAt(b):a[b]};
g.$a=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};
cb=function(a,b){var c=g.bb(a,b,void 0);return 0>c?null:g.u(a)?a.charAt(c):a[c]};
g.bb=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.gb=function(a,b){return 0<=(0,g.fb)(a,b)};
g.ib=function(a){return 0==a.length};
jb=function(a){if(!g.ta(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0};
g.kb=function(a,b){g.gb(a,b)||a.push(b)};
g.nb=function(a,b){var c=(0,g.fb)(a,b),d;(d=0<=c)&&g.lb(a,c);return d};
g.lb=function(a,b){Array.prototype.splice.call(a,b,1)};
ob=function(a,b){var c=g.$a(a,b,void 0);0<=c&&g.lb(a,c)};
g.pb=function(a){return Array.prototype.concat.apply([],arguments)};
g.qb=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[]};
rb=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(g.ua(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.tb=function(a,b,c,d){Array.prototype.splice.apply(a,g.sb(arguments,1))};
g.sb=function(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};
ub=function(a,b,c){function d(a){return g.wa(a)?"o"+g.za(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.xb=function(a,b,c){return vb(a,c||wb,!1,b)};
yb=function(a,b){return vb(a,b,!0,void 0,void 0)};
vb=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.zb=function(a,b){a.sort(b||wb)};
Ab=function(a,b,c){var d=c||wb;g.zb(a,function(a,c){return d(b(a),b(c))})};
taa=function(a,b){Ab(a,function(a){return a[b]},void 0)};
g.Bb=function(a,b){if(!g.ua(a)||!g.ua(b)||a.length!=b.length)return!1;for(var c=a.length,d=uaa,e=0;e<c;e++)if(!d(a[e],b[e]))return!1;return!0};
wb=function(a,b){return a>b?1:a<b?-1:0};
uaa=function(a,b){return a===b};
Cb=function(a,b,c){c=g.xb(a,b,c);0>c&&g.tb(a,-(c+1),0,b)};
g.Db=function(a,b,c){var d={};(0,g.G)(a,function(e,f){d[b.call(c,e,f,a)]=e});
return d};
Eb=function(a){for(var b=[],c=0;c<a;c++)b[c]=0;return b};
g.Fb=function(a){for(var b=[],c=0;c<arguments.length;c++){var d=arguments[c];if(g.ta(d))for(var e=0;e<d.length;e+=8192)for(var f=g.Fb.apply(null,g.sb(d,e,e+8192)),k=0;k<f.length;k++)b.push(f[k]);else b.push(d)}return b};
g.Gb=function(a){for(var b=[],c=0,d=0;d<a.length;d++){for(var e=a.charCodeAt(d);255<e;)b[c++]=e&255,e>>=8;b[c++]=e}return b};
vaa=function(a){return(0,g.H)(a,function(a){a=a.toString(16);return 1<a.length?a:"0"+a}).join("")};
Ib=function(a){return La(g.Hb,a)};
g.Jb=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)};
g.Kb=function(a,b,c){var d={},e;for(e in a)b.call(c,a[e],e,a)&&(d[e]=a[e]);return d};
Lb=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1};
g.Mb=function(a){var b=0,c;for(c in a)b++;return b};
waa=function(a,b){return Nb(a,b)};
g.Ob=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b};
g.Pb=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b};
g.Qb=function(a,b){for(var c=g.ua(b),d=c?b:arguments,c=c?0:1;c<d.length&&(a=a[d[c]],g.t(a));c++);return a};
Rb=function(a,b){return null!==a&&b in a};
Nb=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};
Vb=function(a,b){b in a&&delete a[b]};
Wb=function(a,b,c){return null!==a&&b in a?a[b]:c};
g.Xb=function(a){var b={},c;for(c in a)b[c]=a[c];return b};
Yb=function(a){var b=sa(a);if("object"==b||"array"==b){if(g.va(a.clone))return a.clone();var b="array"==b?[]:{},c;for(c in a)b[c]=Yb(a[c]);return b}return a};
g.$b=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<Zb.length;f++)c=Zb[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};
ac=function(a){var b=arguments.length;if(1==b&&g.ta(arguments[0]))return ac.apply(null,arguments[0]);for(var c={},d=0;d<b;d++)c[arguments[d]]=!0;return c};
dc=function(){return Ib("Safari")&&!(cc()||Ib("Coast")||Ib("Opera")||Ib("Edge")||Ib("Silk")||Ib("Android"))};
cc=function(){return(Ib("Chrome")||Ib("CriOS"))&&!Ib("Edge")};
ec=function(){return Ib("iPhone")&&!Ib("iPod")&&!Ib("iPad")};
fc=function(){return ec()||Ib("iPad")||Ib("iPod")};
gc=function(a){gc[" "](a);return a};
hc=function(a,b){try{return gc(a[b]),!0}catch(c){}return!1};
yaa=function(a,b){var c=xaa;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};
ic=function(){var a=pa.document;return a?a.documentMode:void 0};
g.kc=function(a){return yaa(a,function(){return 0<=g.Ta(jc,a)})};
g.lc=function(a){return Number(zaa)>=a};
g.pc=function(a,b){g.ua(a);mc();for(var c=b?nc:oc,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=n&63;m||(n=64,k||(l=64));d.push(c[q],c[f],c[l],c[n])}return d.join("")};
rc=function(a){var b=[];qc(a,function(a){b.push(a)});
return b};
tc=function(a){!g.sc||g.kc("10");var b=new window.Uint8Array(Math.ceil(3*a.length/4)),c=0;qc(a,function(a){b[c++]=a});
return b.subarray(0,c)};
qc=function(a,b){function c(b){for(;d<a.length;){var c=a.charAt(d++),e=vc[c];if(null!=e)return e;if(!D(c))throw Error("Unknown base64 encoding at char: "+c);}return b}
mc();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))}};
mc=function(){if(!oc){oc={};vc={};nc={};for(var a=0;65>a;a++)oc[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(a),vc[oc[a]]=a,nc[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a),62<=a&&(vc["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a)]=a)}};
zc=function(a,b,c){this.o=null;this.D=this.F=this.g=this.B=this.A=0;this.C=!1;a&&wc(this,a,b,c)};
Bc=function(a,b,c){if(Ac.length){var d=Ac.pop();a&&wc(d,a,b,c);return d}return new zc(a,b,c)};
wc=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?tc(b):new window.Uint8Array(0);a.o=b;a.A=g.t(c)?c:0;a.B=g.t(d)?a.A+d:a.o.length;a.g=a.A};
Cc=function(a){var b=a.o;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+=10;return d};
Dc=function(a,b,c){this.g=Bc(a,b,c);this.o=this.A=-1;this.B=!1};
Ec=function(a){var b=a.g;if(b.g==b.B||a.getError())return!1;var b=Cc(a.g),c=b&7;if(0!=c&&5!=c&&1!=c&&2!=c&&3!=c&&4!=c)return a.B=!0,!1;a.A=b>>>3;a.o=c;return!0};
Fc=function(a){switch(a.o){case 0:if(0!=a.o)Fc(a);else{for(a=a.g;a.o[a.g]&128;)a.g++;a.g++}break;case 1:1!=a.o?Fc(a):(a=a.g,a.g+=8);break;case 2:if(2!=a.o)Fc(a);else{var b=Cc(a.g);a=a.g;a.g+=b}break;case 5:5!=a.o?Fc(a):(a=a.g,a.g+=4);break;case 3:b=[a.A];do{if(!Ec(a)){a.B=!0;break}if(3==a.o)b.push(a.A);else if(4==a.o&&a.A!=b.pop()){a.B=!0;break}}while(0<b.length)}};
Gc=function(a){var b=Cc(a.g);a=a.g;for(var c,d,e=a.o,f=a.g,b=f+b,k=[],l="";f<b;){var m=e[f++];if(128>m)k.push(m);else if(192>m)continue;else if(224>m)d=e[f++],k.push((m&31)<<6|d&63);else if(240>m)d=e[f++],c=e[f++],k.push((m&15)<<12|(d&63)<<6|c&63);else if(248>m){d=e[f++];c=e[f++];var n=e[f++];c=(m&7)<<18|(d&63)<<12|(c&63)<<6|n&63;c-=65536;k.push((c>>10&1023)+55296,(c&1023)+56320)}8192<=k.length&&(l+=String.fromCharCode.apply(null,k),k.length=0)}l+=String.fromCharCode.apply(null,k);a.g=f;return l};
Hc=function(a){var b=Cc(a.g);a=a.g;if(0>b||a.g+b>a.o.length)a.C=!0,b=new window.Uint8Array(0);else{var c=a.o.subarray(a.g,a.g+b);a.g+=b;b=c}return b};
Ic=function(){};
Lc=function(a,b,c,d){a.g=null;b||(b=[]);a.F=void 0;a.B=-1;a.o=b;a:{if(a.o.length){b=a.o.length-1;var e=a.o[b];if(e&&"object"==typeof e&&!g.ta(e)&&!(Jc&&e instanceof window.Uint8Array)){a.C=b-a.B;a.A=e;break a}}a.C=Number.MAX_VALUE}a.D={};if(c)for(b=0;b<c.length;b++)e=c[b],e<a.C?(e+=a.B,a.o[e]=a.o[e]||Kc):a.A[e]=a.A[e]||Kc;d&&d.length&&(0,g.G)(d,g.Aa(Aaa,a))};
I=function(a,b){if(b<a.C){var c=b+a.B;var d=a.o[c];return d===Kc?a.o[c]=[]:d}d=a.A[b];return d===Kc?a.A[b]=[]:d};
Baa=function(a){if(null==a||a instanceof window.Uint8Array)return a;if(g.u(a))return tc(a);sa(a);return null};
Mc=function(a,b,c){b<a.C?a.o[b+a.B]=c:a.A[b]=c};
Aaa=function(a,b){var c,d;(0,g.G)(b,function(b){var e=I(a,b);null!=e&&(c=b,d=e,Mc(a,b,void 0))});
return c?(Mc(a,c,d),c):0};
Nc=function(a,b,c){a.g||(a.g={});if(!a.g[c]){var d=I(a,c);d&&(a.g[c]=new b(d))}return a.g[c]};
Caa=function(a){var b=Oc;a.g||(a.g={});if(!a.g[1]){for(var c=I(a,1),d=[],e=0;e<c.length;e++)d[e]=new b(c[e]);a.g[1]=d}b=a.g[1];b==Kc&&(b=a.g[1]=[]);return b};
Qc=function(a){if(a.g)for(var b in a.g){var c=a.g[b];if(g.ta(c))for(var d=0;d<c.length;d++)c[d]&&Pc(c[d]);else c&&Pc(c)}};
Pc=function(a){Qc(a);return a.o};
Rc=function(a){var b;if(g.ta(a)){for(var c=Array(a.length),d=0;d<a.length;d++)null!=(b=a[d])&&(c[d]="object"==typeof b?Rc(b):b);return c}if(Jc&&a instanceof window.Uint8Array)return new window.Uint8Array(a);c={};for(d in a)null!=(b=a[d])&&(c[d]="object"==typeof b?Rc(b):b);return c};
Sc=function(a){Lc(this,a,null,null)};
Uc=function(a){return Nc(a,Tc,1)};
Tc=function(a){Lc(this,a,null,null)};
Wc=function(a){return Nc(a,Vc,5)};
Xc=function(a){Lc(this,a,null,null)};
Yc=function(a){Lc(this,a,null,Daa)};
Zc=function(a){Lc(this,a,null,Eaa)};
$c=function(a){Lc(this,a,null,null)};
ad=function(a){Lc(this,a,null,null)};
bd=function(a){Lc(this,a,null,null)};
cd=function(a){Lc(this,a,null,Faa)};
dd=function(a){Lc(this,a,null,null)};
ed=function(a){Lc(this,a,null,null)};
fd=function(a){Lc(this,a,Gaa,null)};
Oc=function(a){Lc(this,a,null,null)};
Vc=function(a){Lc(this,a,null,Haa)};
hd=function(){this.g="";this.o=gd};
id=function(a){return a instanceof hd&&a.constructor===hd&&a.o===gd?a.g:"type_error:Const"};
jd=function(a){var b=new hd;b.g=a;return b};
ld=function(){this.g="";this.o=kd};
md=function(a){var b=new ld;b.g=a;return b};
nd=function(a,b){return b?a.replace(Iaa,""):a};
od=function(a,b){for(var c=0,d=0,e=!1,f=nd(a,b).split(Jaa),k=0;k<f.length;k++){var l=f[k];Kaa.test(nd(l,void 0))?(c++,d++):Laa.test(l)?e=!0:Maa.test(nd(l,void 0))?d++:Naa.test(l)&&(e=!0)}return 0==d?e?1:0:.4<c/d?-1:1};
qd=function(){this.g="";this.o=pd};
rd=function(a){if(a instanceof qd&&a.constructor===qd&&a.o===pd)return a.g;sa(a);return"type_error:TrustedResourceUrl"};
sd=function(a){var b=new qd;b.g=a;return b};
ud=function(){this.g="";this.o=td};
vd=function(a){if(a instanceof ud&&a.constructor===ud&&a.o===td)return a.g;sa(a);return"type_error:SafeUrl"};
xd=function(a){if(a instanceof ud)return a;a=a.dh?a.tg():String(a);Oaa.test(a)||(a="about:invalid#zClosurez");return wd(a)};
wd=function(a){var b=new ud;b.g=a;return b};
g.zd=function(){this.g="";this.A=yd;this.o=null};
g.Ad=function(a){if(a instanceof g.zd&&a.constructor===g.zd&&a.A===yd)return a.g;sa(a);return"type_error:SafeHtml"};
Cd=function(a){if(a instanceof g.zd)return a;var b=null;a.rr&&(b=a.Vi());a=Ja(a.dh?a.tg():String(a));return Bd(a,b)};
Paa=function(a){function b(a){g.ta(a)?(0,g.G)(a,b):(a=Cd(a),d+=g.Ad(a),a=a.Vi(),0==c?c=a:0!=a&&c!=a&&(c=null))}
var c=0,d="";(0,g.G)(arguments,b);return Bd(d,c)};
Bd=function(a,b){var c=new g.zd;c.g=a;c.o=b;return c};
Ed=function(a,b,c){var d=null,e="";if(b)for(C in b){if(!Dd.test(C))throw Error('Invalid attribute name "'+C+'".');var f=b[C];if(null!=f){var k=a;var l=C;var m=f;if(m instanceof hd)m=id(m);else if("style"==l.toLowerCase()){f=void 0;k=m;if(!g.wa(k))throw Error('The "style" attribute requires goog.html.SafeStyle or map of style properties, '+typeof k+" given: "+k);if(!(k instanceof ld)){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];
if(null!=n){if(n instanceof hd)n=id(n);else if(Qaa.test(n)){for(var q=!0,r=!0,w=0;w<n.length;w++){var A=n.charAt(w);"'"==A&&r?q=!q:'"'==A&&q&&(r=!r)}q&&r||(n="zClosurez")}else n="zClosurez";m+=f+":"+n+";"}}k=m?md(m):Raa}k instanceof ld&&k.constructor===ld&&k.o===kd?f=k.g:(sa(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 Saa)if(m instanceof qd)m=rd(m);else if(m instanceof ud)m=vd(m);else if(g.u(m))m=
xd(m).tg();else throw Error('Attribute "'+l+'" on tag "'+k+'" requires goog.html.SafeUrl, goog.string.Const, or string, value "'+m+'" given.');}m.dh&&(m=m.tg());l=l+'="'+Ja(String(m))+'"';e+=" "+l}}var C="<"+a+e;null!=c?g.ta(c)||(c=[c]):c=[];!0===Taa[a.toLowerCase()]?C+=">":(d=Paa(c),C+=">"+g.Ad(d)+"</"+a+">",d=d.Vi());(a=b&&b.dir)&&(/^(ltr|rtl|auto)$/i.test(a)?d=0:d=null);return Bd(C,d)};
Fd=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.Gd=function(a,b){var c=b instanceof ud?b:xd(b);a.href=vd(c)};
Hd=function(a,b){return Bd(b,null)};
g.Id=function(a,b,c){return Math.min(Math.max(a,b),c)};
g.Kd=function(a,b){var c=a%b;return 0>c*b?c+b:c};
Ld=function(a,b,c){return a+c*(b-a)};
Uaa=function(a){return Md(arguments,function(a,c){return a+c},0)};
Vaa=function(a){return Uaa.apply(null,arguments)/arguments.length};
g.Nd=function(a,b){this.x=g.t(a)?a:0;this.y=g.t(b)?b:0};
Od=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1};
g.Pd=function(a,b){return new g.Nd(a.x-b.x,a.y-b.y)};
g.Qd=function(a,b){this.width=a;this.height=b};
g.Rd=function(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1};
g.Vd=function(a){return a?new Sd(g.Td(a)):Ud||(Ud=new Sd)};
g.Wd=function(a){return g.u(a)?window.document.getElementById(a):a};
g.Yd=function(a,b){var c=b||window.document;return c.querySelectorAll&&c.querySelector?c.querySelectorAll("."+a):g.Xd(window.document,"*",a,b)};
g.J=function(a,b){var c=b||window.document;if(c.getElementsByClassName)c=c.getElementsByClassName(a)[0];else var c=window.document,d=b||c,c=d.querySelectorAll&&d.querySelector&&a?d.querySelector(""+(a?"."+a:"")):g.Xd(c,"*",a,b)[0]||null;return c||null};
g.Xd=function(a,b,c,d){a=d||a;var e=b&&"*"!=b?String(b).toUpperCase():"";if(a.querySelectorAll&&a.querySelector&&(e||c))return a.querySelectorAll(e+(c?"."+c:""));if(c&&a.getElementsByClassName){d=a.getElementsByClassName(c);if(e){a={};for(var f=b=0,k;k=d[f];f++)e==k.nodeName&&(a[b++]=k);a.length=b;return a}return d}d=a.getElementsByTagName(e||"*");if(c){a={};for(f=b=0;k=d[f];f++)e=k.className,"function"==typeof e.split&&g.gb(e.split(/\s+/),c)&&(a[b++]=k);a.length=b;return a}return d};
g.$d=function(a,b){g.Jb(b,function(b,d){b&&b.dh&&(b=b.tg());"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:Zd.hasOwnProperty(d)?a.setAttribute(Zd[d],b):g.Fa(d,"aria-")||g.Fa(d,"data-")?a.setAttribute(d,b):a[d]=b})};
g.be=function(a){a=a.document;a=g.ae(a)?a.documentElement:a.body;return new g.Qd(a.clientWidth,a.clientHeight)};
g.de=function(a){var b=ce(a);a=a.parentWindow||a.defaultView;return g.sc&&g.kc("10")&&a.pageYOffset!=b.scrollTop?new g.Nd(b.scrollLeft,b.scrollTop):new g.Nd(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)};
ce=function(a){return a.scrollingElement?a.scrollingElement:!g.ee&&g.ae(a)?a.documentElement:a.body||a.documentElement};
fe=function(a){return a?a.parentWindow||a.defaultView:window};
g.he=function(a,b,c){return ge(window.document,arguments)};
ge=function(a,b){var c=String(b[0]),d=b[1];if(!Waa&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',Ja(d.name),'"');if(d.type){c.push(' type="',Ja(d.type),'"');var e={};g.$b(e,d);delete e.type;d=e}c.push(">");c=c.join("")}c=a.createElement(c);d&&(g.u(d)?c.className=d:g.ta(d)?c.className=d.join(" "):g.$d(c,d));2<b.length&&ie(a,c,b,2);return c};
ie=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.ua(f)||g.wa(f)&&0<f.nodeType?e(f):(0,g.G)(Xaa(f)?g.qb(f):f,e)}};
g.je=function(a){return window.document.createElement(String(a))};
g.ke=function(a){return window.document.createTextNode(String(a))};
g.ae=function(a){return"CSS1Compat"==a.compatMode};
g.le=function(a,b){a.appendChild(b)};
g.me=function(a,b){ie(g.Td(a),a,arguments,1)};
g.ne=function(a){for(var b;b=a.firstChild;)a.removeChild(b)};
g.oe=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling)};
pe=function(a,b,c){a.insertBefore(b,a.childNodes[c]||null)};
g.qe=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null};
g.re=function(a,b){var c=b.parentNode;c&&c.replaceChild(a,b)};
g.te=function(a){return Yaa&&void 0!=a.children?a.children:(0,g.se)(a.childNodes,function(a){return 1==a.nodeType})};
g.ve=function(a){return g.t(a.firstElementChild)?a.firstElementChild:ue(a.firstChild)};
ue=function(a){for(;a&&1!=a.nodeType;)a=a.nextSibling;return a};
g.we=function(a){var b;if(Zaa&&!(g.sc&&g.kc("9")&&!g.kc("10")&&pa.SVGElement&&a instanceof pa.SVGElement)&&(b=a.parentElement))return b;b=a.parentNode;return g.wa(b)&&1==b.nodeType?b:null};
g.xe=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.Td=function(a){return 9==a.nodeType?a:a.ownerDocument||a.document};
ye=function(a){try{return a.contentWindow||(a.contentDocument?fe(a.contentDocument):null)}catch(b){}return null};
g.ze=function(a,b){if("textContent"in a)a.textContent=b;else if(3==a.nodeType)a.data=b;else if(a.firstChild&&3==a.firstChild.nodeType){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=b}else g.ne(a),a.appendChild(g.Td(a).createTextNode(String(b)))};
Ae=function(a){if("outerHTML"in a)return a.outerHTML;var b=g.Td(a).createElement("DIV");b.appendChild(a.cloneNode(!0));return b.innerHTML};
g.De=function(a){var b;if((b="A"==a.tagName||"INPUT"==a.tagName||"TEXTAREA"==a.tagName||"SELECT"==a.tagName||"BUTTON"==a.tagName?!a.disabled&&(!Be(a)||Ce(a)):Be(a)&&Ce(a))&&g.sc){var c;!g.va(a.getBoundingClientRect)||g.sc&&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};
Be=function(a){return g.sc&&!g.kc("9")?(a=a.getAttributeNode("tabindex"),null!=a&&a.specified):a.hasAttribute("tabindex")};
Ce=function(a){a=a.tabIndex;return g.oa(a)&&0<=a&&32768>a};
Xaa=function(a){if(a&&"number"==typeof a.length){if(g.wa(a))return"function"==typeof a.item||"string"==typeof a.item;if(g.va(a))return"function"==typeof a.item}return!1};
g.Fe=function(a,b,c,d){if(!b&&!c)return null;var e=b?String(b).toUpperCase():null;return g.Ee(a,function(a){return(!e||a.nodeName==e)&&(!c||g.u(a.className)&&g.gb(a.className.split(/\s+/),c))},!0,d)};
g.Ge=function(a,b){return g.Fe(a,null,b,void 0)};
g.Ee=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.He=function(){var a=window.document;try{return a&&a.activeElement}catch(b){}return null};
Sd=function(a){this.g=a||pa.document||window.document};
g.Ie=function(a){a=a.g;return a.parentWindow||a.defaultView};
Je=function(a){for(var b=[],c=a=fe(a.ownerDocument);c!=a.top;c=c.parent)if(c.frameElement)b.push(c.frameElement);else break;return b};
g.K=function(){this.bb=this.bb;this.Wa=this.Wa};
g.L=function(a,b){g.Ke(a,g.Aa(g.Le,b))};
g.Ke=function(a,b){a.bb?g.t(void 0)?b.call(void 0):b():(a.Wa||(a.Wa=[]),a.Wa.push(g.t(void 0)?(0,g.y)(b,void 0):b))};
g.Le=function(a){a&&"function"==typeof a.dispose&&a.dispose()};
g.Me=function(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];g.ua(d)?g.Me.apply(null,d):g.Le(d)}};
g.Ne=function(a,b){this.type=a;this.currentTarget=this.target=b;this.o=!1;this.rB=!0};
Oe=function(a){a.stopPropagation()};
Qe=function(a){return g.ee?"webkit"+a:g.Pe?"o"+a.toLowerCase():a.toLowerCase()};
Re=function(a,b){g.Ne.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.C=this.B=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.g=this.state=null;a&&this.init(a,b)};
g.Te=function(a){return!(!a||!a[g.Se])};
aba=function(a,b,c,d,e){this.listener=a;this.g=null;this.src=b;this.type=c;this.capture=!!d;this.Hf=e;this.key=++$aa;this.Cj=this.qm=!1};
Ue=function(a){a.Cj=!0;a.listener=null;a.g=null;a.src=null;a.Hf=null};
Ve=function(a){this.src=a;this.listeners={};this.g=0};
Xe=function(a,b,c,d,e,f){var k=b.toString();b=a.listeners[k];b||(b=a.listeners[k]=[],a.g++);var l=We(b,c,e,f);-1<l?(a=b[l],d||(a.qm=!1)):(a=new aba(c,a.src,k,!!e,f),a.qm=d,b.push(a));return a};
Ye=function(a,b){var c=b.type;if(!(c in a.listeners))return!1;var d=g.nb(a.listeners[c],b);d&&(Ue(b),0==a.listeners[c].length&&(delete a.listeners[c],a.g--));return d};
g.Ze=function(a){var b=0,c;for(c in a.listeners){for(var d=a.listeners[c],e=0;e<d.length;e++)++b,Ue(d[e]);delete a.listeners[c];a.g--}};
$e=function(a,b,c,d,e){a=a.listeners[b.toString()];b=-1;a&&(b=We(a,c,d,e));return-1<b?a[b]:null};
af=function(a,b){var c=g.t(b),d=c?b.toString():"",e=g.t(void 0);return Lb(a.listeners,function(a){for(var b=0;b<a.length;++b)if(!(c&&a[b].type!=d||e&&void 0!=a[b].capture))return!0;return!1})};
We=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.Cj&&f.listener==b&&f.capture==!!c&&f.Hf==d)return e}return-1};
g.bf=function(a,b,c,d,e){if(g.ta(b)){for(var f=0;f<b.length;f++)g.bf(a,b[f],c,d,e);return null}c=cf(c);return g.Te(a)?a.V(b,c,d,e):df(a,b,c,!1,d,e)};
df=function(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var k=!!e,l=g.ef(a);l||(a[ff]=l=new Ve(a));c=Xe(l,b,c,d,e,f);if(c.g)return c;d=bba();c.g=d;d.src=a;d.listener=c;if(a.addEventListener)a.addEventListener(b.toString(),d,k);else if(a.attachEvent)a.attachEvent(gf(b.toString()),d);else throw Error("addEventListener and attachEvent are unavailable.");hf++;return c};
bba=function(){var a=cba,b=jf?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};
kf=function(a,b,c,d,e){if(g.ta(b)){for(var f=0;f<b.length;f++)kf(a,b[f],c,d,e);return null}c=cf(c);return g.Te(a)?Xe(a.ye,String(b),c,!0,d,e):df(a,b,c,!0,d,e)};
g.lf=function(a,b,c,d,e){if(g.ta(b))for(var f=0;f<b.length;f++)g.lf(a,b[f],c,d,e);else c=cf(c),g.Te(a)?a.Ca(b,c,d,e):a&&(a=g.ef(a))&&(b=$e(a,b,c,!!d,e))&&g.mf(b)};
g.mf=function(a){if(g.oa(a)||!a||a.Cj)return!1;var b=a.src;if(g.Te(b))return Ye(b.ye,a);var c=a.type,d=a.g;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent&&b.detachEvent(gf(c),d);hf--;(c=g.ef(b))?(Ye(c,a),0==c.g&&(c.src=null,b[ff]=null)):Ue(a);return!0};
gf=function(a){return a in nf?nf[a]:nf[a]="on"+a};
pf=function(a,b,c,d){var e=!0;if(a=g.ef(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.Cj&&(f=of(f,d),e=e&&!1!==f)}return e};
of=function(a,b){var c=a.listener,d=a.Hf||a.src;a.qm&&g.mf(a);return c.call(d,b)};
cba=function(a,b){if(a.Cj)return!0;if(!jf){var c=b||g.v("window.event"),d=new Re(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);for(var k=a.type,l=c.length-1;!d.o&&0<=l;l--)d.currentTarget=c[l],f=pf(c[l],k,!0,d),e=e&&f;for(l=0;!d.o&&l<c.length;l++)d.currentTarget=c[l],f=pf(c[l],k,!1,d),e=e&&f}return e}return of(a,new Re(b,this))};
g.ef=function(a){a=a[ff];return a instanceof Ve?a:null};
cf=function(a){if(g.va(a))return a;a[qf]||(a[qf]=function(b){return a.handleEvent(b)});
return a[qf]};
g.rf=function(){g.K.call(this);this.ye=new Ve(this);this.Pc=this;this.Sa=null};
sf=function(a,b,c,d){b=a.ye.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.Cj&&k.capture==c){var l=k.listener,m=k.Hf||k.src;k.qm&&Ye(a.ye,k);e=!1!==l.call(m,d)&&e}}return e&&0!=d.rB};
tf=function(a,b,c){this.C=c;this.A=a;this.B=b;this.o=0;this.g=null};
uf=function(a,b){a.B(b);a.o<a.C&&(a.o++,b.next=a.g,a.g=b)};
vf=function(a){return function(){return a}};
dba=function(a){var b=b||0;return function(){return a.apply(this,Array.prototype.slice.call(arguments,0,b))}};
wf=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}};
xf=function(a){pa.setTimeout(function(){throw a;},0)};
zf=function(a,b){var c=a;b&&(c=(0,g.y)(a,b));!g.va(pa.setImmediate)||pa.Window&&pa.Window.prototype&&!Ib("Edge")&&pa.Window.prototype.setImmediate==pa.setImmediate?(yf||(yf=eba()),yf(c)):pa.setImmediate(c)};
eba=function(){var a=pa.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!Ib("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.y)(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&&!Ib("Trident")&&!Ib("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(g.t(c.next)){c=c.next;var a=c.Lv;c.Lv=null;a()}};
return function(a){d.next={Lv: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){pa.setTimeout(a,0)}};
Af=function(){this.o=this.g=null};
Bf=function(){this.next=this.scope=this.g=null};
g.Gf=function(a,b){Cf||fba();Df||(Cf(),Df=!0);var c=Ef,d=Ff.get();d.set(a,b);c.o?c.o.next=d:c.g=d;c.o=d};
fba=function(){if(-1!=String(pa.Promise).indexOf("[native code]")){var a=pa.Promise.resolve(void 0);Cf=function(){a.then(Hf)}}else Cf=function(){zf(Hf)}};
Hf=function(){for(var a;a=Ef.remove();){try{a.g.call(a.scope)}catch(b){xf(b)}uf(Ff,a)}Df=!1};
If=function(a){a.prototype.then=a.prototype.then;a.prototype.$goog_Thenable=!0};
Jf=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};
g.Lf=function(a,b){this.g=0;this.F=void 0;this.B=this.o=this.A=null;this.C=this.D=!1;if(a!=g.x)try{var c=this;a.call(b,function(a){Kf(c,2,a)},function(a){Kf(c,3,a)})}catch(d){Kf(this,3,d)}};
Mf=function(){this.next=this.context=this.o=this.B=this.g=null;this.A=!1};
Of=function(a,b,c){var d=Nf.get();d.B=a;d.o=b;d.context=c;return d};
Pf=function(a){if(a instanceof g.Lf)return a;var b=new g.Lf(g.x);Kf(b,2,a);return b};
Qf=function(a){return new g.Lf(function(b,c){c(a)})};
g.Sf=function(a,b,c){Rf(a,b,c,null)||g.Gf(g.Aa(b,a))};
gba=function(a){return new g.Lf(function(b,c){a.length||b(void 0);for(var d=0,e;d<a.length;d++)e=a[d],g.Sf(e,b,c)})};
iba=function(){var a,b,c=new g.Lf(function(c,e){a=c;b=e});
return new hba(c,a,b)};
jba=function(a,b){var c=Of(b,b,void 0);c.A=!0;Tf(a,c)};
g.Vf=function(a,b){return Uf(a,null,b,void 0)};
Wf=function(a,b){if(0==a.g)if(a.A){var c=a.A;if(c.o){for(var d=0,e=null,f=null,k=c.o;k&&(k.A||(d++,k.g==a&&(e=k),!(e&&1<d)));k=k.next)e||(f=k);e&&(0==c.g&&1==d?Wf(c,b):(f?(d=f,d.next==c.B&&(c.B=d),d.next=d.next.next):Xf(c),Yf(c,e,3,b)))}a.A=null}else Kf(a,3,b)};
Tf=function(a,b){a.o||2!=a.g&&3!=a.g||ag(a);a.B?a.B.next=b:a.o=b;a.B=b};
Uf=function(a,b,c,d){var e=Of(null,null,null);e.g=new g.Lf(function(a,k){e.B=b?function(c){try{var e=b.call(d,c);a(e)}catch(n){k(n)}}:a;
e.o=c?function(b){try{var e=c.call(d,b);!g.t(e)&&b instanceof bg?k(b):a(e)}catch(n){k(n)}}:k});
e.g.A=a;Tf(a,e);return e.g};
Kf=function(a,b,c){0==a.g&&(a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself")),a.g=1,Rf(c,a.J,a.K,a)||(a.F=c,a.g=b,a.A=null,ag(a),3!=b||c instanceof bg||kba(a,c)))};
Rf=function(a,b,c,d){if(a instanceof g.Lf)return Tf(a,Of(b||g.x,c||null,d)),!0;if(Jf(a))return a.then(b,c,d),!0;if(g.wa(a))try{var e=a.then;if(g.va(e))return lba(a,e,b,c,d),!0}catch(f){return c.call(d,f),!0}return!1};
lba=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)}};
ag=function(a){a.D||(a.D=!0,g.Gf(a.G,a))};
Xf=function(a){var b=null;a.o&&(b=a.o,a.o=b.next,b.next=null);a.o||(a.B=null);return b};
Yf=function(a,b,c,d){if(3==c&&b.o&&!b.A)for(;a&&a.C;a=a.A)a.C=!1;if(b.g)b.g.A=null,cg(b,c,d);else try{b.A?b.B.call(b.context):cg(b,c,d)}catch(e){dg.call(null,e)}uf(Nf,b)};
cg=function(a,b,c){2==b?a.B.call(a.context,c):a.o&&a.o.call(a.context,c)};
kba=function(a,b){a.C=!0;g.Gf(function(){a.C&&dg.call(null,b)})};
bg=function(a){Ea.call(this,a)};
hba=function(a,b,c){this.g=a;this.resolve=b;this.reject=c};
g.eg=function(a,b){g.rf.call(this);this.o=a||1;this.g=b||pa;this.A=(0,g.y)(this.rH,this);this.B=(0,g.F)()};
fg=function(a,b){a.o=b;a.Ee&&a.enabled?(a.stop(),a.start()):a.Ee&&a.stop()};
g.gg=function(a,b,c){if(g.va(a))c&&(a=(0,g.y)(a,c));else if(a&&"function"==typeof a.handleEvent)a=(0,g.y)(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:pa.setTimeout(a,b||0)};
g.hg=function(a){pa.clearTimeout(a)};
ig=function(){return Math.round((0,g.F)()/1E3)};
mba=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:ig()};
nba=function(){this.o=-1};
oba=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,""))};
g.kg=function(a){try{return pa.JSON.parse(a)}catch(d){var b=d}a=String(a);if(oba(a))try{var c=eval("("+a+")");b&&jg("Invalid JSON: "+a,b);return c}catch(d){}throw Error("Invalid JSON string: "+a);};
g.mg=function(a){var b=[];lg(new pba,a,b);return b.join("")};
pba=function(){};
lg=function(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(g.ta(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f<b;f++)c.push(e),lg(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),ng(d,c),c.push(":"),lg(a,f,c),e=","));c.push("}");return}}switch(typeof b){case "string":ng(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);}}};
ng=function(a,b){b.push('"',a.replace(qba,function(a){var b=og[a];b||(b="\\u"+(a.charCodeAt(0)|65536).toString(16).substr(1),og[a]=b);return b}),'"')};
pg=function(a){this.g=a||{cookie:""}};
qg=function(a){a=(a.g.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=Ra(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.rg=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.sg=function(a){return a.match(rba)};
g.tg=function(a){return a?(0,window.decodeURI)(a):a};
g.ug=function(a){return g.tg(g.sg(a)[3]||null)};
g.vg=function(a){return Number(g.sg(a)[4]||null)||null};
wg=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?Ia(f):"")}};
xg=function(a,b){if(!b)return a;var c=a.indexOf("#");0>c&&(c=a.length);var d=a.indexOf("?");if(0>d||d>c){d=c;var e=""}else e=a.substring(d+1,c);c=[a.substr(0,d),e,a.substr(c)];d=c[1];c[1]=b?d?d+"&"+b:b:d;return c[0]+(c[1]?"?"+c[1]:"")+c[2]};
yg=function(a,b,c){if(g.ta(b))for(var d=0;d<b.length;d++)yg(a,String(b[d]),c);else null!=b&&c.push(a+(""===b?"":"="+g.Ha(b)))};
zg=function(a,b){for(var c=[],d=b||0;d<a.length;d+=2)yg(a[d],a[d+1],c);return c.join("&")};
g.Ag=function(a){var b=[],c;for(c in a)yg(c,a[c],b);return b.join("&")};
Bg=function(a,b){var c=2==arguments.length?zg(arguments[1],0):zg(arguments,1);return xg(a,c)};
g.Cg=function(a,b){var c=g.Ag(b);return xg(a,c)};
Dg=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};
Fg=function(a,b){var c=a.search(Eg),d=Dg(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 Ia(a.substr(d,e-d))};
g.Gg=function(a,b){for(var c=a.search(Eg),d=0,e,f=[];0<=(e=Dg(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(sba,"$1")};
Hg=function(a,b,c){a=g.Gg(a,b);c=null!=c?"="+g.Ha(c):"";return xg(a,b+c)};
Ig=function(){this.g={};return this};
Jg=function(a,b){a.g.eb=Wb(a.g,"eb",0)|b};
g.Kg=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};
Lg=function(a,b,c){b instanceof g.Nd?(a.left+=b.x,a.right+=b.x,a.top+=b.y,a.bottom+=b.y):(a.left+=b,a.right+=b,g.oa(c)&&(a.top+=c,a.bottom+=c));return a};
g.Mg=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};
g.Ng=function(a){return new g.Kg(a.top,a.left+a.width,a.top+a.height,a.left)};
g.Og=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.Pg=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.Qg=function(a){return new g.Qd(a.width,a.height)};
g.Sg=function(a){return new g.Nd(a.left,a.top)};
tba=function(){this.g={};this.o=0};
Tg=function(a,b){this.C=a;this.A=!0;this.g=b};
Ug=function(a,b){Tg.call(this,String(a),b);this.B=a;this.g=!!b};
Vg=function(a,b){Tg.call(this,a,b)};
Wg=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 Vg("",new g.Mg(c,b,Number(a[3])-c,Number(a[2])-b))}return new Vg("",new g.Mg(0,0,0,0))};
Yg=function(){Xg||(Xg=new tba);return Xg};
Zg=function(a,b){a.g[b.C]=b};
g.ah=function(a,b,c){if(g.u(b))(b=$g(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=$g(c,d);f&&(c.style[f]=e)}};
$g=function(a,b){var c=bh[b];if(!c){var d=Xa(b),c=d;void 0===a.style[d]&&(d=(g.ee?"Webkit":g.ch?"Moz":g.sc?"ms":g.Pe?"O":null)+raa(d),void 0!==a.style[d]&&(c=d));bh[b]=c}return c};
dh=function(a,b){var c=a.style[Xa(b)];return"undefined"!==typeof c?c:a.style[$g(a,b)]||""};
g.eh=function(a,b){var c=g.Td(a);return c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,null))?c[b]||c.getPropertyValue(b)||"":""};
g.fh=function(a,b){return g.eh(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]};
g.hh=function(a,b,c){if(b instanceof g.Nd){var d=b.x;b=b.y}else d=b,b=c;a.style.left=gh(d,!1);a.style.top=gh(b,!1)};
ih=function(a){return new g.Nd(a.offsetLeft,a.offsetTop)};
jh=function(a){try{var b=a.getBoundingClientRect()}catch(c){return{left:0,top:0,right:0,bottom:0}}g.sc&&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.kh=function(a){if(g.sc&&!g.lc(8))return a.offsetParent;var b=g.Td(a),c=g.fh(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.fh(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.mh=function(a){for(var b=new g.Kg(0,window.Infinity,window.Infinity,0),c=g.Vd(a),d=c.g.body,e=c.g.documentElement,f=ce(c.g);a=g.kh(a);)if(!(g.sc&&0==a.clientWidth||g.ee&&0==a.clientHeight&&a==d)&&a!=d&&a!=e&&"visible"!=g.fh(a,"overflow")){var k=g.lh(a),l=new g.Nd(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.be(g.Ie(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.lh=function(a){var b=g.Td(a),c=new g.Nd(0,0);var d=b?g.Td(b):window.document;d=!g.sc||g.lc(9)||g.ae(g.Vd(d).g)?d.documentElement:d.body;if(a==d)return c;a=jh(a);b=g.de(g.Vd(b).g);c.x=a.left+b.x;c.y=a.top+b.y;return c};
g.oh=function(a,b){var c=new g.Nd(0,0),d=fe(g.Td(a));if(!hc(d,"parent"))return c;var e=a;do{var f=d==b?g.lh(e):nh(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.qh=function(a,b){var c=g.ph(a),d=g.ph(b);return new g.Nd(c.x-d.x,c.y-d.y)};
nh=function(a){a=jh(a);return new g.Nd(a.left,a.top)};
g.ph=function(a){if(1==a.nodeType)return nh(a);a=a.changedTouches?a.changedTouches[0]:a;return new g.Nd(a.clientX,a.clientY)};
g.sh=function(a,b,c){if(b instanceof g.Qd)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");g.rh(a,b);a.style.height=gh(c,!0)};
gh=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a};
g.rh=function(a,b){a.style.width=gh(b,!0)};
g.th=function(a){var b=uba;if("none"!=g.fh(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};
uba=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=g.ee&&!b&&!c;return g.t(b)&&!d||!a.getBoundingClientRect?new g.Qd(b,c):(a=jh(a),new g.Qd(a.right-a.left,a.bottom-a.top))};
g.uh=function(a){var b=g.lh(a);a=g.th(a);return new g.Mg(b.x,b.y,a.width,a.height)};
g.vh=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.wh=function(a){return"none"!=a.style.display};
xh=function(a){var b=new g.Mg(-Number.MAX_VALUE/2,-Number.MAX_VALUE/2,Number.MAX_VALUE,Number.MAX_VALUE),c=new g.Mg(0,0,0,0);if(!a||0==a.length)return c;for(var d=0;d<a.length;d++)if(!g.Pg(b,a[d]))return c;return b};
yh=function(a,b){var c=a.getBoundingClientRect(),d=g.oh(a,b);return new g.Mg(Math.round(d.x),Math.round(d.y),Math.round(c.right-c.left),Math.round(c.bottom-c.top))};
zh=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.Mg(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;Zg(a,new Tg("vp",d));d&&0<d?(e=g.Ng(b),f=g.Ng(c),e=e.top>=f.top&&e.top<f.bottom):e=!1;Zg(a,new Ug(512,e));d&&0<d?(e=g.Ng(b),f=g.Ng(c),e=e.bottom<=f.bottom&&e.bottom>f.top):e=!1;Zg(a,new Ug(1024,
e));d&&0<d?(e=g.Ng(b),f=g.Ng(c),e=e.left>=f.left&&e.left<f.right):e=!1;Zg(a,new Ug(2048,e));d&&0<d?(b=g.Ng(b),c=g.Ng(c),c=b.right<=c.right&&b.right>c.left):c=!1;Zg(a,new Ug(4096,c))}};
vba=function(a,b){var c=0;g.Qb(fe(),"ima","video","client","tagged")&&(c=1);var d=null;a&&(d=a());if(d){var e=d;d=Yg();d.g={};var f=new Ug(32,!0);f.A=!1;Zg(d,f);f=fe().document;f=f.webkitVisibilityState||f.mozVisibilityState||f.visibilityState||f.msVisibilityState||"";Zg(d,new Ug(64,"hidden"!=f.toLowerCase().substring(f.length-6)?!0:!1));try{var k=fe().top;try{var l=!!k.location.href||""===k.location.href}catch(r){l=!1}if(l){var m=Je(e);var n=m&&0!=m.length?"1":"0"}else n="2"}catch(r){n="2"}Zg(d,
new Ug(256,"2"==n));Zg(d,new Ug(128,"1"==n));m=l=fe().top;"2"==n&&(m=fe());k=yh(e,m);Zg(d,new Vg("er",k));try{var q=m.document&&!m.document.body?null:g.be(m||window)}catch(r){q=null}q?(m=g.de(g.Vd(m.document).g),Zg(d,new Ug(16384,!!m)),q=m?new g.Mg(m.x,m.y,q.width,q.height):null):q=null;Zg(d,new Vg("vi",q));if(q&&"1"==n){n=Je(e);e=[];for(m=0;m<n.length;m++)(f=yh(n[m],l))&&e.push(f);e.push(q);q=xh(e)}zh(d,k,q);d.o&&(n=ig()-d.o,Zg(d,new Tg("ts",n)));d.o=ig()}else d=Yg(),d.g={},d.o=ig(),Zg(d,new Ug(32,
!1));this.A=d;this.g=new Ig;this.g.set("ve",4);c&&Jg(this.g,1);g.Qb(fe(),"ima","video","client","crossdomainTag")&&Jg(this.g,4);g.Qb(fe(),"ima","video","client","sdkTag")&&Jg(this.g,8);g.Qb(fe(),"ima","video","client","jsTag")&&Jg(this.g,2);b&&Wb(b,"fullscreen",!1)&&Jg(this.g,16);this.o=d=null;if(c&&(c=g.Qb(fe(),"ima","video","client"),c.getEData)){this.o=c.getEData();if(c=g.Qb(fe(),"ima","video","client","getLastSnapshotFromTop"))if(n=c())this.o.extendWithDataFromTopIframe(n.tagstamp,n.playstamp,
n.lactstamp),c=this.A,d=n.er,n=n.vi,d&&n&&(d=Wg(d).getValue(),n=Wg(n).getValue(),e=null,Wb(c.g,"er",null)&&(e=Wb(c.g,"er",null).getValue(),e.top+=d.top,e.left+=d.left,Zg(c,new Vg("er",e))),Wb(c.g,"vi",null)&&(q=Wb(c.g,"vi",null).getValue(),q.top+=d.top,q.left+=d.left,l=[],l.push(q),l.push(d),l.push(n),d=xh(l),zh(c,e,d),Zg(c,new Vg("vi",n))));a:{if(this.o){if(this.o.getTagLoadTimestamp){d=this.o.getTagLoadTimestamp();break a}if(this.o.getTimeSinceTagLoadSeconds){d=this.o.getTimeSinceTagLoadSeconds();
break a}}d=null}}this.g.set("td",ig()-mba(d))};
wba=function(a,b){try{var c=new vba(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.o){var n=c.o.serialize();n&&d.push(n)}var q,r=c.A;f=e;k=[];f||(f=0);for(var w in r.g){var A=r.g[w];if(A instanceof Ug)A.getValue()&&(f|=A.B);else{var C,B=r.g[w];(C=B.A?B.o():"")&&k.push(w+C)}}k.push("eb"+String(f));(q=k.join("_"))&&d.push(q);c.g.set("eb",e);return d.join("_")}catch(M){return"tle;"+Ka(M.name,12)+";"+Ka(M.message,40)}};
g.Ah=function(){var a=window.navigator.userAgent.match(/Chrome\/([0-9]+)/);return a?(0,window.parseInt)(a[1],10):0};
Bh=function(a){return!!window.document.currentScript&&(-1!=window.document.currentScript.src.indexOf("?"+a)||-1!=window.document.currentScript.src.indexOf("&"+a))};
g.Ch=function(){return"function"==typeof window.__onGCastApiAvailable?window.__onGCastApiAvailable:null};
xba=function(a,b){var c=new window.XMLHttpRequest;c.onreadystatechange=function(){4==c.readyState&&200==c.status&&b(!0)};
c.onerror=function(){b(!1)};
try{c.open("GET",a,!0),c.send()}catch(d){b(!1)}};
g.Ih=function(a){if(a>=Dh.length)g.Eh();else{var b=Dh[a],c="chrome-extension://"+b+g.Fh;0<=Gh.indexOf(b)?xba(c,function(d){d?(window.chrome.cast=window.chrome.cast||{},window.chrome.cast.extensionId=b,g.Hh(c,g.Eh)):g.Ih(a+1)}):g.Hh(c,function(){g.Ih(a+1)})}};
g.Hh=function(a,b,c){var d=window.document.createElement("script");d.onerror=b;c&&(d.onload=c);d.src=a;(window.document.head||window.document.documentElement).appendChild(d)};
g.Eh=function(){var a=g.Ch();a&&a(!1,"No cast extension found")};
Jh=function(a,b,c){this.type=a;this.label=b;this.Yd=c};
Kh=function(a,b){return new Jh(a,1,b)};
Lh=function(a){return new Jh("m",3,a)};
Mh=function(a){return Kh("m",a)};
Nh=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)?Nh(a,b,void 0,d):a:c};
Oh=function(a){try{return!!a&&null!=a.location.href&&hc(a,"foo")}catch(b){return!1}};
Ph=function(a,b){for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&b.call(void 0,a[c],c,a)};
yba=function(a){var b=0;Ph(a,function(){b++});
return b};
zba=function(){var a=pa;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};
Aba=function(){var a=Qh;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""};
Sh=function(a,b,c,d){a.addEventListener?a.addEventListener(b,c,Rh?d:d?d.capture||!1:!1):a.attachEvent&&a.attachEvent("on"+b,c)};
Th=function(a,b,c){a.removeEventListener?a.removeEventListener(b,c,Rh?void 0:!1):a.detachEvent&&a.detachEvent("on"+b,c)};
Uh=function(a){a=a||pa;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};
Vh=function(a,b,c){a.google_image_requests||(a.google_image_requests=[]);var d=a.document.createElement("img");if(c){var e=function(a){c(a);Th(d,"load",e);Th(d,"error",e)};
Sh(d,"load",e);Sh(d,"error",e)}d.src=b;a.google_image_requests.push(d)};
Xh=function(a){a.u_tz=-(new Date).getTimezoneOffset();try{var b=Wh.history.length}catch(c){b=0}a.u_his=b;if(b=!!Wh.navigator)b="unknown"!==typeof Wh.navigator.javaEnabled;a.u_java=b&&!!Wh.navigator.javaEnabled&&Wh.navigator.javaEnabled();Wh.screen&&(a.u_h=Wh.screen.height,a.u_w=Wh.screen.width,a.u_ah=Wh.screen.availHeight,a.u_aw=Wh.screen.availWidth,a.u_cd=Wh.screen.colorDepth);Wh.navigator&&Wh.navigator.plugins&&(a.u_nplug=Wh.navigator.plugins.length);Wh.navigator&&Wh.navigator.mimeTypes&&(a.u_nmime=
Wh.navigator.mimeTypes.length)};
ai=function(){if(Yh&&!Oh(Zh)){var a="."+$h.domain;try{for(;2<a.split(".").length&&!Oh(Zh);)$h.domain=a=a.substr(a.indexOf(".")+1),Zh=window.parent}catch(b){}Oh(Zh)||(Zh=window)}return Zh};
ci=function(){var a=window.event||bi;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};
di=function(){this.g=!0};
ei=function(){return{visible:1,hidden:2,prerender:3,preview:4}[$h.webkitVisibilityState||$h.mozVisibilityState||$h.visibilityState||""]||0};
hi=function(){var a=Wh&&Wh.document;fi.e=-1;fi.i=6;fi.n=7;fi.t=8;if(!gi){var b=[];Ph(fi,function(a,c){b[a+1]=c});
var c=b.join("");gi=(c=a&&a[c])&&(0,g.y)(c,a)}return gi};
ii=function(a){a=a.match(/[\d]+/g);if(!a)return"";a.length=3;return a.join(".")};
ji=function(a){return(a=a.exec(g.Hb))?a[1]:""};
ki=function(a){return 0<=g.Ta(Cba,a)};
oi=function(){return g.sc&&9>jc||g.ch||li&&mi&&ki("6.0.1")?!1:0<=g.Ta(ni,"11")};
ri=function(a){a=a||!1;var b=pi&&0<=g.Ta(qi,9),c=mi&&g.kc(601);return!a&&(b||c)};
si=function(){this.g=0;this.C=!1;this.o=-1;this.D=0;this.Ie=!1};
Dba=function(a,b){this.g=a;this.o=b};
ti=function(a,b,c){this.url=a;this.St=b;this.ey=!!c;this.depth=g.oa(void 0)?void 0:null};
vi=function(a){a=a?a:ui();for(var b=new ti(pa.location.href,pa,!1),c=a.length-1,d=c;0<=d;--d){var e=a[d];if(e.url&&!e.ey){b=e;break}}d=null;e=a.length&&a[c].url;0!=b.depth&&e&&(d=a[c]);return new Dba(b,d)};
ui=function(){var a=pa,b=[],c=null;do{var d=a;if(Oh(d)){var e=d.location.href;c=d.document&&d.document.referrer||null}else e=c,c=null;b.push(new ti(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=pa;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.ey=!0);return b};
wi=function(a,b){var c=a||Wh;null!==c&&c.top!=c&&(c=c.top);try{return c.document&&!c.document.body?new g.Qd(-1,-1):b?(new g.Qd(c.innerWidth,c.innerHeight)).round():g.be(c||window).round()}catch(d){return new g.Qd(-12245933,-12245933)}};
Ci=function(a){var b=0<=xi?yi()-xi:-1,c=zi?yi()-Ai:-1,d=0<=Bi?yi()-Bi:-1;if(79463068==a)return 500;if(947190538==a){a=[4E3];var e=[250,1E3]}else if(947190541==a)a=[4E3],e=[100,1E3];else{if(947190542==a)return 100;if(79463069==a)return 200;a=[2E3,4E3];e=[250,500,1E3]}var f=b;-1!=c&&c<b&&(f=c);for(var k,b=0;b<a.length;++b)if(f<a[b]){k=e[b];break}void 0===k&&(k=e[a.length]);return-1!=d&&1500<d&&4E3>d?500:k};
yi=function(){return(new Date).getTime()-Eba};
Di=function(){var a=g.he("DIV");a.style.cssText="position:relative;left:0px;top:0px;width:0;height:0;";return a};
Gba=function(a){return Ei(a,function(a,c){return!(!hc(c,"style")||!c.style||"none"!==dh(c,"display"))},function(a){return a},!1)?!0:Fba(a)};
Fba=function(a){var b=!g.sc||g.kc(8);return Ei(a,function(a,d){var c=hc(d,"style")&&d.style&&dh(d,"visibility");return{hidden:"hidden"===c,visible:b&&"visible"===c}},function(a){return a.hidden||a.visible},{hidden:!1,
visible:!1}).hidden};
Ei=function(a,b,c,d){if(!a)return d;d=Fi(a,b,c,d);if(!d.done)try{var e=g.Td(a),f=e&&fe(e);return Ei(f&&f.frameElement,b,c,d.value)}catch(k){}return d.value};
Fi=function(a,b,c,d){if(!a)return{value:d,done:!1};d=b(d,a);var e=c(d,a);return!e&&hc(a,"parentElement")?Fi(g.we(a),b,c,d):{done:e,value:d}};
Gi=function(a){return new g.Kg(a.top,a.right,a.bottom,a.left)};
Hi=function(a){return null!=a&&0<=a&&1>=a};
Ii=function(){si.call(this);this.A=!1;this.volume=void 0;this.paused=!1;this.B=-1};
Ji=function(a){return Hi(a.volume)&&.1<=a.volume};
Ki=function(){this.ua=[0,0,0,0,0];this.ba=[0,0,0,0,0];this.ka=[0,0,0,0,0];this.K=this.X=0;this.pa=this.B=-1;this.La=1E3};
Li=function(a,b,c){for(;0<=b&&4>=b;b++)a[b]+=c};
Mi=function(a){var b=-1;1<=a?b=0:.75<=a?b=1:.5<=a?b=2:.3<=a?b=3:0<a&&(b=4);return b};
Ni=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};
Oi=function(a,b,c,d,e){this.D=c||4E3;this.A=a||"&";this.F=b||",$";this.B=g.t(d)?d:"trn";this.J=e||null;this.C=!1;this.o={};this.G=0;this.g=[]};
Pi=function(a,b){var c={};c[a]=b;return[c]};
Ri=function(a,b,c,d,e){var f=[];Ph(a,function(a,l){var k=Qi(a,b,c,d,e);k&&f.push(l+"="+k)});
return f.join(b)};
Qi=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(Qi(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)(Ri(a,b,c,d,e+1)):"...";return(0,window.encodeURIComponent)(String(a))};
Si=function(a,b,c,d){a.g.push(b);a.o[b]=Pi(c,d)};
Ti=function(a,b,c){var d=a.G++;b=Pi(b,c);a.g.push(d);a.o[d]=b};
Ui=function(a,b,c,d){b=b+"//"+c+d;var e=Hba(a)-d.length-0;if(0>e)return"";a.g.sort(function(a,b){return a-b});
d=null;c="";for(var f=0;f<a.g.length;f++)for(var k=a.g[f],l=a.o[k],m=0;m<l.length;m++){if(!e){d=null==d?k:d;break}var n=Ri(l[m],a.A,a.F);if(n){n=c+n;if(e>=n.length){e-=n.length;b+=n;c=a.A;break}else a.C&&(c=e,n[c-1]==a.A&&--c,b+=n.substr(0,c),c=a.A,e=0);d=null==d?k:d}}f="";a.B&&null!=d&&(f=c+a.B+"="+(a.J||d));return b+f+""};
Hba=function(a){if(!a.B)return a.D;var b=1,c;for(c in a.o)b=c.length>b?c.length:b;return a.D-a.B.length-b-a.A.length-1};
Vi=function(a,b,c,d){if(Math.random()<(d||a.g))try{if(c instanceof Oi)var e=c;else e=new Oi,Ph(c,function(a,b){Ti(e,b,a)});
var f=Ui(e,a.B,a.o,a.A+b+"&");f&&Vh(pa,f)}catch(k){}};
Wi=function(a,b,c,d){this.label=a;this.type=b;this.value=c;this.duration=void 0===d?0:d;this.uniqueId=this.label+"_"+this.type+"_"+Math.random()};
Xi=function(a,b){this.events=[];this.g=b||pa;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);a:{try{var d=(this.g||pa).top.location.hash;if(d){var e=d.match(/\bdeid=([\d,]+)/);var f=e&&e[1]||"";break a}}catch(k){}f=""}f=f.indexOf&&0<=f.indexOf("1337");this.o=(this.o=null!=c?c:Math.random()<a)||f;c=this.g.performance;this.D=!!(c&&c.mark&&c.clearMarks&&f)};
Yi=function(){var a=pa.performance;return a&&a.now?a.now():(0,g.F)()};
Zi=function(a,b,c,d){this.B=a;this.D=b;this.A=c;this.C=this.o;this.g=void 0===d?null:d};
aj=function(a,b,c,d,e){try{if(a.g&&a.g.o){var f=a.g.start(b.toString(),3);var k=c();a.g.end(f)}else k=c()}catch(m){c=a.A;try{a.g&&f&&a.g.Xv(f);var l=$i(m);c=(e||a.C).call(a,b,l,void 0,d)}catch(n){a.o(217,n)}if(!c)throw m;}return k};
cj=function(a,b,c,d){var e=bj;return function(f){for(var k=[],l=0;l<arguments.length;++l)k[l-0]=arguments[l];return aj(e,a,function(){return b.apply(c,k)},d,void 0)}};
$i=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){Ni.call(this,Error(a),{message:a,file:void 0===b?"":b,line:void 0===c?-1:c})};
fj=function(a,b){return aj(bj,a,b,void 0,Iba)};
gj=function(a,b,c,d){return cj(a,b,c,d)};
hj=function(a,b){bj.o(a,b,void 0,void 0)};
ij=function(a,b){this.A=null;this.F=a;this.J=b||1;this.o="u"};
jj=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.J){case 4:return a.F?(e=Math.floor(.3*c),f=Math.floor(.3*d),[new g.Nd(e,f),new g.Nd(c-e,f),new g.Nd(e,d-f),new g.Nd(c-e,d-f)]):[new g.Nd(e,0),new g.Nd(0,f),new g.Nd(e,d-1),new g.Nd(c-1,f)];case 3:return[new g.Nd(c-1,0),new g.Nd(e,f),new g.Nd(0,d-1)];default:return[new g.Nd(e,f)]}};
lj=function(a,b){try{var c=b||a.A.getBoundingClientRect()}catch(e){c=new g.Kg(0,0,0,0)}var d=jj(a,c);(0,g.G)(d,function(a){a.x+=c.left;a.y+=c.top});
return d};
mj=function(a,b){ij.call(this,a,b);this.g=[];this.G=!1;this.B=-1;this.C=this.D=0};
nj=function(a,b,c){this.snapshot=a;this.o=b;this.g=c};
Jba=function(a){if(a.A&&a.G){var b=lj(a);(0,g.G)(b,function(a,b){this.g[b]&&oj(this.g[b],a)},a)}};
pj=function(a){(0,g.G)(a.g,function(a){a.remove()});
a.g=[];a.o="d"};
Oba=function(a){var b=(0,g.F)(),c=a.D?b-a.D:0,d=-1,e=(0,g.H)(a.g,function(a){return qj(a,b)});
4==a.g.length?d=a.F?Kba(e):Lba(e):3==a.g.length?d=Mba(e):1==a.g.length&&(d=[-1,0,1,2,3,5][qj(a.g[0],b)+1]);a.C=d==a.B?a.C+c:0;c=new nj(d,a.B,c);a.B=d;a.D=b;Nba(a,d);Jba(a);return c};
sj=function(a){var b=Eb(g.Mb(rj));(0,g.G)(a,function(a){0<=a&&++b[a]});
return b};
Lba=function(a){a=sj(a);return 4==a[4]?6:3<=a[4]?5:0<a[4]?4:4==a[2]?2:4==a[1]?1:4==a[0]?0:3};
Mba=function(a){var b=sj(a);return 4==a[0]&&4==a[2]?6:4==a[1]?5:0<b[4]?4:3==b[2]?2:3==b[1]?1:3==b[0]?0:3};
Kba=function(a){a=sj(a);return 3<=a[4]?5:2==a[4]?8:0<a[4]?7:4==a[2]?2:4==a[1]?1:4==a[0]?0:3};
Nba=function(a,b){if(0==b&&tj(a))a.o="n";else switch(b){case -1:a.o="d";break;case 0:a.o="l";break;case 1:a.o="f";break;case 2:a.o="c";break;case 3:case 4:case 5:case 6:a.o="r"}};
tj=function(a){return"n"==a.o?!0:"l"==a.o&&3E3<=a.C};
wj=function(a,b,c,d){this.g=null;this.D=a;this.Ba="e"==a?String(c)+"~"+String(d):"";this.o=[];this.A=-1;this.C=0;this.B=Eb(g.Mb(Pba));this.K=Eb(g.Mb(rj));"e"==this.D&&(uj[this.Ba]=(0,g.y)(this.J,this));g.sc?(a=b.createElement("div"),a.innerHTML='<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" style="opacity:0;-ms-filter:\'progid:DXImageTransform.Microsoft.Alpha(opacity=0)\';filter:alpha(opacity=0)"><param name="movie" value="'+vj(this,!0)+'"></param><param name="allowscriptaccess" value="always"></param><param name="wmode" value="transparent"></param></object>',
a=a.firstChild,a.id=String(Math.random())):a=Qba(this,b);a.width=1;a.height=1;a.style.zIndex=-999999;this.g=a};
Qba=function(a,b){function c(a,c,d){var e=b.createElement("param");e.name=c;e.value=d;a.appendChild(e)}
var d=vj(a),e=b.createElement("object");e.type="application/x-shockwave-flash";e.data=d;c(e,"movie",d);c(e,"allowscriptaccess","always");c(e,"wmode","opaque");e.style.visibility="hidden";e.style.opacity=0;return e};
vj=function(a,b){var c=Bg("//pagead2.googlesyndication.com/osd/hbe.swf","id",a.Ba);b&&(c=Bg(c,"delay","1"));return c};
oj=function(a,b){a.g&&!Od(b,ih(a.g))&&g.hh(a.g,b)};
qj=function(a,b){if("e"==a.D){var c=null;try{c=a.g.it()}catch(f){}null===c?(c=0,0<a.A&&(c=2)):c=c?3:4;++a.K[c+1];a.A=c}else{var d=Number(b),c=null;try{c=a.g.fc()}catch(f){}var e=c;Rba(a,e,d);c=a.o[a.o.length-1];if(null===e){if(e=d=0,0<a.A||g.oa(c.xo))e=d=2}else null===c.xo||c.timeMs>=d?(d=10<=e?4:0,e=0):e>c.xo?(c=(e-c.xo)/(d-c.timeMs)*1E3,d=10<=c?4:3,c=0==c?1:1>c?3:4>c?4:23>c?6:26>c?8:9,6==a.C&&6==c&&(c=7),e=c):e=d=1;6==a.C&&(--a.B[6],4==e||8==e?++a.B[5]:++a.B[7]);++a.B[e];a.A=d;a.C=e}return a.A};
Rba=function(a,b,c){var d=c-1E3,e=a.o.length;(0,g.G)(a.o,function(a,b){a.timeMs<=d&&(e=Math.min(e,b+1))});
var f=a.o.length-e;0<f&&a.o.splice(e,f);a.o.unshift({xo:b,timeMs:c})};
xj=function(a,b){ij.call(this,a,b);this.g=[];this.D=!1;this.C=0;this.B=-1};
Sba=function(a,b){var c=b.getBoundingClientRect();var d="DIV"==b.tagName||"INS"==b.tagName,e=g.Td(b),f=!0,k=a.g;if(d){var l=Di();c=jj(a,c);pe(b,l,0);(0,g.G)(c,function(a){var b=new yj(e);k.push(b);var c;if(c=f)if(b.g){b.g.style.position="absolute";zj(b,a);a=!0;try{l.appendChild(b.g)}catch(r){a=!1}c=a}else c=!1;f=c})}else c=lj(a,c),(0,g.G)(c,function(a){var c=new yj(e);
k.push(c);var d;if(d=f)if(c.g&&b.parentNode){c.g.style.position="fixed";zj(c,a);a=!0;try{g.oe(c.g,b)}catch(r){a=!1}d=a}else d=!1;f=d});
f?(a.A=b,a.D=!d):((0,g.G)(k,function(a){a.remove()}),a.g=[]);
return f};
Tba=function(a){if(a.A&&a.D){var b=lj(a);(0,g.G)(b,function(a,b){this.g[b]&&zj(this.g[b],a)},a)}};
Uba=function(a){(0,g.G)(a.g,function(a){a.remove()});
a.g=[]};
Zba=function(a){var b=(0,g.F)(),c=a.C?b-a.C:0,d=saa(a.g,function(a){return a.isVisible(b)}),d=4==a.g.length?a.F?Vba[d]:Wba[d]:3==a.g.length?Xba[d]:1==a.g.length?Yba[d]:-1,c=new nj(d,a.B,c);
a.B=d;a.C=b;Tba(a);return c};
yj=function(a){this.g=null;this.A=this.o=0;$ba(this,a)};
$ba=function(a,b){var c=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=cj(245,a.B,a,void 0);c.addEventListener("load",gj(244,function(){c.contentWindow.requestAnimationFrame(d)}))};
zj=function(a,b){a.g&&!Od(b,ih(a.g))&&g.hh(a.g,b)};
Aj=function(a,b,c,d){c=cj(d,c,void 0,void 0);Sh(a,b,c,{capture:void 0});return c};
Bj=function(){};
Cj=function(){this.F=!1;this.G=void 0;this.o=!Oh(Wh.top);var a=ui();this.domain=0<a.length&&null!=a[a.length-1]&&null!=a[a.length-1].url?g.ug(a[a.length-1].url)||"":"";this.A=this.J=this.C=this.g=null;this.M=0;this.B=!1;this.D=new g.Kg(0,0,0,0);this.K=0;this.Jb="geo";this.Gw=new di};
Ej=function(a,b,c){this.position=Dj.clone();this.Sc=0;this.Kr=this.Zm();this.Hr=-2;this.JS=(0,g.F)();this.aC=-1;this.ih=b;this.Rh=-1!=b;this.Lo=null;this.opacity=-1;this.kB=c;this.eC=this.Lr=g.x;this.Ff=this.element=a;this.zi=this.Xc=null;this.dl=1;this.Jt=this.gh=this.Rm=!1;this.iq=1;this.jt=!0;this.hf=!1;this.lG=Cj.getInstance().M++;this.domain=null;this.Dr=0;this.tc=this.xq();this.YB=-1;this.Sq=0;this.Mo=new g.Kg(0,0,0,0);this.Gw=new di};
Fj=function(a,b){return null===a||null===b?Dj.clone():new g.Kg(Math.max(a.top,b.top),Math.min(a.right,b.right),Math.min(a.bottom,b.bottom),Math.max(a.left,b.left))};
aca=function(a,b,c,d,e){if(a.Rh){var f=Wh.innerWidth,k=Wh.innerHeight,l=new g.Kg(Math.round(Wh.mozInnerScreenY),Math.round(Wh.mozInnerScreenX+f),Math.round(Wh.mozInnerScreenY+k),Math.round(Wh.mozInnerScreenX));c=new g.Kg(Wh.screenY+d,Wh.screenX+c.width,Wh.screenY+c.height,Wh.screenX);e||(d=new g.Kg(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.Sc=f*k);a.gg(l,c,b,e,!0,!0)}};
cca=function(a,b,c){var d;if(a.Rh&&(d=hi())){c||Gj(a,Wh,!0);if(a.Ie()||a.Jt){d=bca(a,d);var e=!0}else{e=Math.floor((a.position.left+a.position.right)/2);var f=Math.floor((a.position.top+a.position.bottom)/2),k=g.de(window.document);d=d(e-k.x,f-k.y)?.5:0;e=!1}a.gg(a.position,d,b,c,!0,e)}};
Hj=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}};
bca=function(a,b){var c=g.de(window.document),d=a.iq,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;var d=!!b(e,f),m=!!b(k,l);if(d&&m)return 1;var n=!!b(k,f),q=!!b(e,l);if(d)l=Hj(f,l,function(a){return!!b(e,a)}),k=Hj(e,k,function(a){return!!b(a,f)});
else if(n)l=Hj(f,l,function(a){return!!b(k,a)}),e=Hj(k,e,function(a){return!!b(a,f)});
else if(q)f=Hj(l,f,function(a){return!!b(e,a)}),k=Hj(e,k,function(a){return!!b(a,l)});
else if(m)f=Hj(l,f,function(a){return!!b(k,a)}),e=Hj(k,e,function(a){return!!b(a,l)});
else{var r=Math.floor((e+k)/2),w=Math.floor((f+l)/2);if(!b(r,w))return 0;f=Hj(w,f,function(a){return!!b(r,a)});
l=Hj(w,l,function(a){return!!b(r,a)});
e=Hj(r,e,function(a){return!!b(a,w)});
k=Hj(r,k,function(a){return!!b(a,w)})}return(l-f)*(k-e)/c};
dca=function(a,b,c,d,e){a.Rh&&(d||Gj(a,Wh,e),a.gg(a.position,c,b,d,!1,!0))};
Ij=function(a,b,c){if(a.Rh){var d=c?a.tc.g:a.Dr,e;if(e=a.Mo){e=a.Mo;var f=new g.Kg(0,0,0,0);e=!(e==f||e&&f&&e.top==f.top&&e.right==f.right&&e.bottom==f.bottom&&e.left==f.left)}e&&(d=Lg(a.Mo.clone(),a.position.left,a.position.top));a.gg(a.position,d,b,c,!0,!0)}};
eca=function(a,b){a.Jb=b.create(Wh,a.Gw);a.Jb.B(a.Ff)};
fca=function(a,b,c){if(a.Rh&&a.Jb){var d=ai(),e=Cj.getInstance();Gj(a,d,e.o);d=a.Jb.g();e=d.o()||d.A();a.gg(a.position,d.g(),b,c,!0,e)}};
Gj=function(a,b,c,d){if(d)a.position=d;else{b=c?b:b.top;try{var e=Dj.clone(),f=new g.Nd(0,0);if(a.Ff){var k=1==a.kB;!c&&k&&Gba(a.Ff)||(e=a.Ff.getBoundingClientRect());f=g.oh(a.Ff,b)}var l=f.x,m=f.y;a.position=new g.Kg(Math.round(m),Math.round(l+(e.right-e.left)),Math.round(m+(e.bottom-e.top)),Math.round(l))}catch(n){a.position=Dj.clone()}}a.Sc=(a.position.bottom-a.position.top)*(a.position.right-a.position.left)};
Jj=function(a,b){var c=Math.pow(10,b);return Math.floor(a*c)/c};
gca=function(a){a.Jb||a.Xc&&pj(a.Xc)};
jca=function(a,b){var c=!1,d=a.Ff;b.document&&b.document.body&&12==a.kB&&(d=b.document.body);if(null===d)return!1;fj(152,function(){var e=new b.IntersectionObserver(function(c){try{Kj(b,c,a)}catch(k){try{e.unobserve(d),hj("osd_adblock::nioc",k)}catch(l){}}},hca);
e.observe(d);ica(d);c=!0});
return c};
ica=function(a){if(a&&(a=a.style)){var b=a.opacity;a.opacity=.98;a.opacity=.99;a.opacity=b}};
kca=function(a,b){var c=!1;fj(151,function(){var d=Uh(b).s2(function(c){try{Kj(b,c,a)}catch(f){try{d(),hj("osd_adblock::aioc",f)}catch(k){}}});
c=!0});
return c};
Kj=function(a,b,c){if(!b||!b.length||0>=b.length)var d=null;else{d=b[0];for(var e=1;e<b.length;e++)b[e].time>d.time&&(d=b[e])}d&&(b=Gi(d.boundingClientRect),e=Gi(d.intersectionRect),c.tc.g=g.Id(d.intersectionRect.width*d.intersectionRect.height/(d.boundingClientRect.width*d.boundingClientRect.height),0,1),c.Dr=c.tc.g,Gj(c,a,!0,b),a=Fj(b,e),c.Mo=0>=c.Sc||a.top>=a.bottom||a.left>=a.right?new g.Kg(0,0,0,0):Lg(a,-b.left,-b.top))};
Lj=function(a,b,c,d){d&&(a.eC=d);switch(c){case "nio":return jca(a,b);case "aio":return kca(a,b);case "swf":return a.yl();case "raf":return a.gt();case "geo":case "xde":case "iem":return!0}return!1};
Mj=function(){var a={};this.o=(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);this.g={};for(var b in this.o)0<this.o[b][1]&&(this.g[b]=0);this.A=0};
lca=function(a){return Nj(a,g.Pb(a.o))};
Nj=function(a,b){var c=0,d;for(d in a.g)g.gb(b,d)&&1==a.g[d]&&(c+=a.o[d][1],a.g[d]=2);return c};
mca=function(a){var b=0,c;for(c in a.g){var d=a.g[c];if(1==d||2==d)b+=a.o[c][1]}return b};
Oj=function(){this.g=[]};
Pj=function(a){this.g=this.o=0;this.A=a};
Qj=function(){Ki.call(this);this.va=this.P=this.fa=this.da=this.ca=this.o=0;this.C=-1;this.D=this.J=this.G=this.F=this.ha=this.sa=this.M=0;this.ga=[0,0,0,0,0];this.A=this.g=-1;this.O=this.Wa=0;this.La=2E3;this.bb=new Pj(32);this.Ja=new Pj(32);this.Aa=new Pj(32)};
Rj=function(a,b,c){var d=a.va;zi||c||-1==a.C||(d+=b-a.C);return d};
Sj=function(a,b,c,d){Ej.call(this,b,c,d);this.ha=0;this.B={};this.o=new Mj;this.uv={};this.Dj=this.Yc="";this.Gb=!1;this.A=[];this.Sa=this.oC=this.pC=this.D=!1;this.hg=void 0;this.C=-1;this.bb=void 0;this.ga=!1;this.X=this.O=0;this.ba=1;this.da=-1;this.sa=this.La=!1;this.Eh=this.Ab=0;this.ua=!1;this.Ua=this.jb=-1;this.ca=this.M=this.g=0;this.Hb=this.Wa=-1;this.rb=0;this.Pa=[0,0,0,0,0];this.G=this.va=this.ka=0;this.J=-1;this.Aa=0;this.P=!1;this.pa=null;this.Ja=this.nC=!1;this.fa=g.x;this.K=[this.Zm()];
this.wb=!1;this.Jt=!0;this.iq=2;b=Cj.getInstance();Gj(this,a,b.o);this.F={};this.F.pause="p";this.F.resume="r";this.F.skip="s";this.F.mute="m";this.F.unmute="um";this.F.exitfullscreen="ef"};
nca=function(a,b,c){a.nC=!0;a.B={};a.B.firstquartile=!1;a.B.midpoint=!1;a.B.thirdquartile=!1;a.B.complete=!1;a.B.pause=!1;a.B.skip=!1;a.B.viewable_impression=!1;a.ha=0;c||(a.Ce().C=b)};
Tj=function(a){return g.t(a)?Number(a)?Jj(a,3):0:a};
Uj=function(a,b){if(-1==a.ih)return 0;var c=b-a.ih||1,d=1E4;g.t(a.C)&&-1!=a.C&&(d=Math.max(d,a.C/3));return c>d?1:c};
Vj=function(a,b,c){return 15E3<=b?!0:a.La?c?!0:-1!=a.C?b>=a.C/2:-1!=a.da?b>=a.da:!1:!1};
Wj=function(a,b){for(var c=a.A,d=vf({gT:0,yn:void 0}),e=c.length;e<b+1;)c.push(d()),e++;a.A[b]={viewableArea:Jj(a.tc.g,2),instantaneousState:a.o.A}};
Yj=function(a,b){var c=a.uv[b];if(null!=c)return c;a:if(g.gb(oca,b))c=!0;else{c=a.B[b];if(g.t(c)&&(a.B[b]=!0,!c)){c=!0;break a}c=!1}c=Xj(a,c,c);"fully_viewable_audible_half_duration_impression"==b&&(c.std="csm",c.ic=Nj(a.o,["gdr"]));return c};
Xj=function(a,b,c){if(a.gh)return{"if":0};var d=a.position.clone();d.round();var e=(0,g.H)(a.A,function(a){return 100*a.gT|0}),f=Cj.getInstance(),k=a.Ce(),l={};
a.wb&&(l.avms="raf");l["if"]=f.o?1:void 0;l.sdk=a.hg?a.hg:void 0;l.t=a.JS;l.p=[d.top,d.left,d.bottom,d.right];l.tos=k.ua;l.mtos=k.ba;l.mcvt=k.X;l.ps=void 0;l.pt=e;l.vht=Rj(k,yi(),!!a.D);l.mut=k.sa;l.a=Tj(a.tc.volume);l.mv=Tj(k.A);l.fs=a.hf?1:0;l.ft=k.Wa;l.at=k.ha;l.as=.1<=k.g?1:0;l.atos=k.ga;l.uac=a.Ab;l.vpt=k.o;"nio"==f.Jb&&(l.nio=1,l.avms="nio");l.gmm="4";l.gdr=Vj(a,k.o,!0)?1:0;a.Jt&&(l.efpf=a.iq);a.Xc&&(l.swf=a.Xc.getStatus(),l.px=a.dl,l.avms="swf");0<a.Aa&&(l.nnut=a.Aa);l.tcm=a.ba;l.nmt=a.va;
l.bt=a.G;l.pst=a.J;l.vpaid=a.bb;l.dur=a.C;l.vmtime=a.O;l.is=a.o.A;1<=a.A.length&&(l.i0=a.A[0].yn);2<=a.A.length&&(l.i1=a.A[1].yn);3<=a.A.length&&(l.i2=a.A[2].yn);4<=a.A.length&&(l.i3=a.A[3].yn);l.cs=mca(a.o);b&&(l.ic=lca(a.o),l.dvpt=k.ca,l.dvs=k.fa,l.dfvs=k.P,l.davs=k.J,l.dafvs=k.D,c&&(k.ca=0,k.fa=0,k.P=0,k.J=0,k.D=0),a.hh()&&(l.dtos=k.da,l.dav=k.G,l.dtoss=a.ha+1,c&&(k.da=0,k.G=0,a.ha++)),l.dat=k.F,l.dft=k.O,c&&(k.F=0,k.O=0));f.A&&(l.ps=[f.A.width,f.A.height]);f.g&&(l.bs=[f.g.width,f.g.height]);f.C&&
(l.scs=[f.C.width,f.C.height]);l.dom=f.domain;a.Rm&&(l.fmf="1",l.px=a.dl);a.Eh&&(l.vds=a.Eh);a.g&&(l.vmer=a.g);a.M&&(l.vmmk=a.M);a.ca&&(l.vmiec=a.ca);a.Jb&&(l.avms=a.Jb.A(),g.$b(l,a.Jb.o()));"exc"==f.Jb&&(l.femt=a.Wa,l.femvt=a.Hb,l.emc=a.rb,l.emb=a.Pa,l.emuc=a.ka,l.avms="exc");Zj()?(l.c=Jj(a.tc.g,2),l.ss=Jj(pca(a),2)):l.tth=yi()-ak;l.mc=Jj(k.pa,2);l.nc=Jj(k.B,2);l.mv=Tj(k.A);l.nv=Tj(k.g);l.lte=Jj(a.Hr,2);b=a.K[a.K.length-1];l.qmtos=b.ba;l.qnc=Jj(b.B,2);l.qmv=Tj(b.A);l.qnv=Tj(b.g);l.qas=.1<=b.g?1:
0;l.qi=a.Yc;null!==a.pa&&(l.nvat=a.pa?1:0);l.avms||(l.avms="geo");l.psm=k.bb.g;l.psv=k.bb.getValue();l.psfv=k.Ja.getValue();l.psa=k.Aa.getValue();return l};
pca=function(a){if(a.hf)return 1;var b=Wh.screen.width*Wh.screen.height;return 0>=b?-1:Math.min(a.Sc*a.tc.g/b,1)};
bk=function(a){for(var b=0,c=a,d=0;a&&a!=a.parent;)a=a.parent,d++,Oh(a)&&(c=a,b=d);return{St:c,level:b}};
qca=function(){this.S={}};
rca=function(a){var b=[],c=[];g.Jb(a,function(a,e){if(!(e in Object.prototype)&&"undefined"!=typeof a){g.ta(a)&&(a=a.join(","));var d=[e,"=",a].join("");switch(e){case "r":case "tt":case "error":case "mtos":case "tos":case "p":case "bs":case "aio":case "nio":case "swf":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)};
g.ck=function(a,b,c){g.K.call(this);this.B=null!=c?(0,g.y)(a,c):a;this.A=b;this.o=(0,g.y)(this.NQ,this);this.g=[]};
dk=function(a){a.bi=g.gg(a.o,a.A);a.B.apply(null,a.g)};
fk=function(){return!ek()&&(Ib("iPod")||Ib("iPhone")||Ib("Android")||Ib("IEMobile"))};
ek=function(){return Ib("iPad")||Ib("Android")&&!Ib("Mobile")||Ib("Silk")};
gk=function(){var a=Cj.getInstance().Jb;return"nio"==a||"aio"==a};
pk=function(){if(!hk){hk=!0;var a=pa.requestAnimationFrame||pa.webkitRequestAnimationFrame||pa.mozRequestAnimationFrame||pa.oRequestAnimationFrame||pa.msRequestAnimationFrame;if(!ik&&!gk()){if(a){var b=cj(136,jk,void 0,void 0);var c=function(){a(function(){Wh.setTimeout(b,0)})}}else c=jk;
kk=new g.ck(cj(137,c,void 0,void 0),100);c=(0,g.y)(kk.aj,kk);ik=Aj(Wh,"scroll",c,138)}if(!lk&&!gk()){if(a){var d=cj(139,mk,void 0,void 0);c=function(){a(function(){Wh.setTimeout(d,0)})}}else c=mk;
nk=new g.ck(cj(140,c,void 0,void 0),100);c=(0,g.y)(nk.aj,nk);lk=Aj(Wh,"resize",c,141)}sca();ok()}};
mk=function(){qk(!1);jk()};
jk=function(){rk(sk(),!1)};
tca=function(){var a=Cj.getInstance();tk&&!a.B&&"exc"!=a.Jb&&(a.g=wi(Wh,tk));var b=new uk;switch(a.Jb){case "xde":var c=vk;qk(!1);var d=Cj.getInstance(),e=d.J,a=e.height-c;0>=a&&(a=e.height,c=0);d.g=new g.Qd(e.width,a);a=new uk;a.A=d.g;a.g=e;a.B=c;return a;case "geo":a:{a=a.g;b=new uk;b.A=a;if(null!=a&&-1!=a.width&&-1!=a.height&&-12245933!=a.width&&-12245933!=a.height){var f=Cj.getInstance();if(f.B)c=f.D;else try{var f=tk,k=Wh||Wh,k=k.top,d=a||wi(k,f),e=g.de(g.Vd(k.document).g),c=-1==d.width||-12245933==
d.width?new g.Kg(d.width,d.width,d.width,d.width):new g.Kg(e.y,e.x+d.width,e.y+d.height,e.x)}catch(l){c=b;break a}b.o=c}c=b}return c;default:return b}};
rk=function(a,b,c){if(!wk)if(window.clearTimeout(xk),xk=null,fj("osd::debugRemoveZombies",function(){for(var b=a.length-1;0<=b;b--);}),0==a.length)b||yk();
else{var d=tca(),e=Cj.getInstance();try{var f=yi();if(null!=Bj.getInstance().g)for(var k=0;k<a.length;k++)fca(a[k],f,b);else switch(e.Jb){case "exc":for(k=0;k<a.length;k++)Ij(a[k],f,b);break;case "nis":for(k=0;k<a.length;k++)g.t(c)?a[k].Fo(c):a[k].ty(f);break;case "gsv":for(k=0;k<a.length;k++)g.t(c)?a[k].kx(c):a[k].ry(f);break;case "aio":case "nio":for(k=0;k<a.length;k++)Ij(a[k],f,b);break;case "xde":if(d.g)for(k=0;k<a.length;k++)aca(a[k],f,d.g,d.B,b);break;case "iem":for(k=0;k<a.length;k++)cca(a[k],
f,b);break;case "swf":(0,g.G)(a,function(a){if(b){if(a.Xc){var c=a.Xc;3<=c.B&&(c.B=3);a.tc.g=0}}else if(a.Xc&&"d"!=a.Xc.getStatus()){var c=Oba(a.Xc),d=[0,0,0,0,0,.01,.5,1,.01,.3],e=d[c.snapshot+1];a.tc.g=d[c.o+1];a.gg(a.position,e,a.ih+c.g,!1,!0,!1);a.hh()&&1!=a.Ye()&&!a.jt&&a.Xc&&pj(a.Xc);(c=2==c.snapshot||tj(a.Xc))||(c=a.Xc,c="f"==c.o&&3E3<=c.C);c&&(a.eC(a),a.jt=!1,a.Xc&&pj(a.Xc))}});
break;case "raf":(0,g.G)(a,function(a){if(b)a.zi&&(a.zi.B=3,a.tc.g=0);else if(a.zi){var c=Zba(a.zi),d=[0,0,0,0,0,.01,.5,1,.01,.3],e=d[c.snapshot+1];a.tc.g=d[c.o+1];a.gg(a.position,e,a.ih+c.g,!1,!0,!1);a.hh()&&1!=a.Ye()&&!a.jt&&a.zi&&Uba(a.zi)}});
break;case "geo":if(d.o)for(k=0;k<a.length;k++)dca(a[k],f,d.o,b,e.o)}++uca}finally{b?(0,g.G)(a,function(a){a.tc.g=0}):yk()}}};
sca=function(){var a=ok,b;$h.mozVisibilityState?b="mozvisibilitychange":$h.webkitVisibilityState?b="webkitvisibilitychange":$h.visibilityState&&(b="visibilitychange");b&&(zk=zk||Aj($h,b,a,142))};
ok=function(){var a=Zj(),b=yi();a?(zi||(Ai=b,(0,g.G)(Ak,function(a){var c=a.Ce();c.va=Rj(c,b,!!a.D)})),zi=!0,qk(!0)):(zi=!1,ak=b,(0,g.G)(Ak,function(a){a.Rh&&(a.Ce().C=b)}));
rk(sk(),!a)};
Zj=function(){if(vca())return!0;var a=ei(),b=1===a,a=0===a;return Cj.getInstance(),b||a};
yk=function(){Wh&&(xk=Wh.setTimeout(gj(143,function(){rk(sk(),!1)}),Ci(Cj.getInstance().G)))};
wca=function(a){return null!=a&&(0,g.Bk)(Ak,function(b){return b.element==a})};
Ck=function(a){return g.ab(Ak,function(b){return b.Yc==a})};
sk=function(){return 0==Ak.length?Dk:0==Dk.length?Ak:g.pb(Dk,Ak)};
qk=function(a){var b=Cj.getInstance();b.g=b.B?(new g.Qd(b.D.Eb(),b.D.getHeight())).round():wi(Wh,tk);if(!a){b.J=Wh&&Wh.outerWidth?new g.Qd(Wh.outerWidth,Wh.outerHeight):new g.Qd(-12245933,-12245933);a=Wh;null!==a&&a.top!=a&&(a=a.top);var c=0,d=0,e=Cj.getInstance().g;try{var f=a.document,k=f.body,l=f.documentElement;if("CSS1Compat"==f.compatMode&&l.scrollHeight)c=l.scrollHeight!=e.height?l.scrollHeight:l.offsetHeight,d=l.scrollWidth!=e.width?l.scrollWidth:l.offsetWidth;else{var m=l.scrollHeight,n=
l.scrollWidth,q=l.offsetHeight,r=l.offsetWidth;l.clientHeight!=q&&(m=k.scrollHeight,n=k.scrollWidth,q=k.offsetHeight,r=k.offsetWidth);m>e.height?m>q?(c=m,d=n):(c=q,d=r):m<q?(c=m,d=n):(c=q,d=r)}var w=new g.Qd(d,c)}catch(A){w=new g.Qd(-12245933,-12245933)}b.A=w}};
xca=function(a,b,c){if(a=Ek(a,"swf",b,c))Cj.getInstance().Jb="swf",Cj.getInstance().Jb="swf",(0,g.G)(b,function(a){a.Xc||c(a)});
return a};
Hk=function(){var a=Ek(Wh,"raf",sk());a&&(Cj.getInstance().Jb="raf");return a};
Ek=function(a,b,c,d){var e=!1;(0,g.G)(c,function(c){Lj(c,a,b,d)&&(e=!0)});
return e};
yca=function(a){var b=[];(0,g.G)(a,function(a){wca(a.element)||(Ak.push(a),b.push(a))})};
zca=function(a){var b=[];(0,g.G)(a,function(a){null==g.ab(Ak,function(b){return b.element==a.element&&b.Dj==a.Dj})&&(Ak.push(a),b.push(a))})};
vca=function(){return(0,g.Bk)(sk(),function(a){return a.hf})};
uk=function(){this.g=this.A=null;this.B=0;this.o=null};
Aca=function(a){var b=[];g.Jb(a,function(a,d){d in Object.prototype||"undefined"==typeof a||(g.ta(a)&&(a=a.join(",")),b.push([d,"=",a].join("")))});
return b.join("&")};
Bca=function(){var a=g.Hb;return a?(0,g.Bk)("AppleTV;GoogleTV;HbbTV;NetCast.TV;Opera TV;POV_TV;SMART-TV;SmartTV;TV Store;OMI/".split(";"),function(b){return Ma(a,b)})?!0:Ma(a,"Presto")&&Ma(a,"Linux")&&!Ma(a,"X11")&&!Ma(a,"Android")&&!Ma(a,"Mobi"):!1};
Ik=function(){return Ma(g.Hb,"CrKey")||Ma(g.Hb,"PlayStation")||Ma(g.Hb,"Roku")||Bca()||Ma(g.Hb,"Xbox")};
Cca=function(a){if(!a)return"";var b=a.document,c=[];c.push("url="+(0,window.encodeURIComponent)(a.location.href.substring(0,512)));b&&b.referrer&&c.push("referrer="+(0,window.encodeURIComponent)(b.referrer.substring(0,512)));return c.join("&")};
Jk=function(a){return function(b){return!g.t(b[a])&&g.t(0)?0:b[a]}};
Lk=function(){var a=[0,2,4];return function(b){b=b.tos;if(g.ta(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)?Kk(c,a):c}}};
Mk=function(a,b){return function(c){c=c[a];if(g.ta(c))return Kk(c,b)}};
Kk=function(a,b){return(0,g.se)(a,function(a,d){return g.gb(b,d)})};
Nk=function(){this.A=this.D=!1;this.g={};this.g.start=this.nI;this.g.firstquartile=this.bI;this.g.midpoint=this.gI;this.g.thirdquartile=this.oI;this.g.complete=this.XH;this.g.pause=this.jI;this.g.resume=this.lI;this.g.skip=this.mI;this.g.viewable_impression=this.qI;this.g.mute=this.hI;this.g.unmute=this.pI;this.g.fullscreen=this.cI;this.g.exitfullscreen=this.aI;this.g.fully_viewable_audible_half_duration_impression=this.dI;this.g.measurable_impression=this.fI;this.g.abandon=this.WH;this.g.engagedview=
this.ZH;this.g.impression=this.eI;this.g.creativeview=this.YH;this.g.progress=this.kI;this.o={};this.o.overlay_resize=this.iI;this.o.abandon=this.Pq;this.o.close=this.Pq;this.o.collapse=this.Pq;Cj.getInstance().K=3};
Ok=function(a,b,c){c||(b=-1);return new Sj(Wh,a,b,7)};
Sk=function(a,b){if(!a.Gb){var c=Yj(a,"start"),c=Pk(c,Qk),d=Rk||Wh,e=[];e.push("v=588v");e.push("r="+b);var f=0;"swf"==Cj.getInstance().Jb&&(f=1);e.push("efm="+f);e.push(c);e.push(Cca(d));Vh(Wh,("//pagead2.googlesyndication.com/pagead/gen_204?id=lidarvf&"+e.join("&")).substring(0,2E3),void 0);a.Gb=!0}};
Tk=function(a,b,c,d){rk([a],!Zj(),d);Wj(a,c);b=Yj(a,b);if(4!=c){d=a.K;a=a.Zm;for(var e=d.length;e<c+1;)d.push(a()),e++}return b};
Uk=function(a,b,c){var d=a.Ce();d.va=Rj(d,yi(),!!a.D);d=!Zj();rk([a],d,c);a.D=!0;return Yj(a,b)};
Dca=function(a,b,c){if(!b.nC){"i"!=Vk&&(wk=!1);var d=Bj.getInstance();null!=d.g&&eca(b,null!=d.g?d.g:null);Lj(b,Wh,Cj.getInstance().Jb,function(b){return a.vx(b)});
d=g.t(c)?c.opt_nativeTime:void 0;Bi=d=g.oa(d)?d:yi();b.Rh=!0;var e=Zj();nca(b,d,e);rk([b],!e,c)}};
Wk=function(a,b){if(g.u(b)){if(1==a)var c=Ak;else if(2==a)c=Dk;else return;var d=g.$a(c,function(c){return c.Ye()!=a?!1:c.Yc==b});
0<=d&&(gca(c[d]),g.lb(c,d))}};
Eca=function(a,b,c){var d=g.ab(Ak,function(a){return a.element==c});
null!==d&&d.Yc!=b&&(Wk(1,d.Yc),d=null);d||(d=Xk(a,c),d.Yc=b,d.hg="h");return d};
Xk=function(a,b){var c=Ok(b,yi(),!1);c.Lr=(0,g.y)(a.ln,a);Cj.getInstance().G=79463069;zca([c]);pk();return c};
Fca=function(a,b){var c=Sb(Yk,function(b){return b==a}),c={sv:"588",
cb:"j",e:Zk[c]},d=Yj(b,a);g.$b(c,d);b.uv[a]=d;return 2==b.Ye()?rca(c).join("&"):Pk(c,Qk)};
Pk=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.va(l)?f[k]=l(a):f[k]=a[l])}else g.$b(f,a);g.t(c)&&g.$b(f,c);a=Aca(f);0!=a.length&&g.t(d)&&g.t(e)&&(e=e(a),a+="&"+d+"="+e);return a};
al=function(a,b){var c={sv:"588",cb:"j"};c.nas=Ak.length;c.msg=a;if(g.t(b)){var d=$k(b);d&&(c.e=Zk[d])}return c};
$k=function(a){var b=a.toLowerCase();return Sb(Yk,function(a){return a==b})};
bl=function(a,b){var c=a[b];g.t(c)&&(a[b]=Math.floor(1E3*c))};
cl=function(a){return!a||"function"!==typeof a||0>String(Function.prototype.toString).indexOf("[native code]")?!1:0<=String(a).indexOf("[native code]")&&!0||!1};
el=function(a){return!!(1<<a&dl)};
Kca=function(){try{Gca()}catch(d){}var a="a=1&b="+dl+"&",b=[],c=99;(0,g.G)(Hca,function(a,c){var d=!1;try{d=a(Wh)}catch(k){}b[c/32>>>0]|=d<<c%32});
(0,g.G)(b,function(b,e){a+=String.fromCharCode(c+e)+"="+(b>>>0).toString(16)+"&"});
c=105;(0,g.G)(Ica,function(b){var d="false";try{d=b(Wh)}catch(f){}a+=String.fromCharCode(c++)+"="+d+"&"});
(0,g.G)(Jca,function(b){var d="";try{var f=b(Wh),d=g.pc(g.Gb(f),!0)}catch(k){}a+=String.fromCharCode(c++)+"="+d+"&"});
return a.slice(0,-1)};
Gca=function(){if(!fl){var a=function(){gl=!0;Wh.document.removeEventListener("webdriver-evaluate",a,!0)};
Wh.document.addEventListener("webdriver-evaluate",a,!0);var b=function(){hl=!0;Wh.document.removeEventListener("webdriver-evaluate-response",b,!0)};
Wh.document.addEventListener("webdriver-evaluate-response",b,!0);fl=!0}};
il=function(){this.o=64;this.g=Array(4);this.C=Array(this.o);this.B=this.A=0;this.reset()};
jl=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];var e=a.g[2],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};
ll=function(a){var b=a||ui();a=b.length-1;var c=vi(b),b=c.g,d=c.o,c=[];d?(b&&c.push(kl(a,[d.url,2],0,[b.url,0],b.depth)),c.push(kl(a,[d.url,2],0))):b.url&&(c.push(kl(a,void 0,void 0,[b.url,0],b.depth)),(d=(d=Lca.exec(b.url))&&d[0]||"")&&c.push(kl(a,[d,1],b.depth)));c.push(kl(a));return c};
kl=function(a,b,c,d,e){a=[a];if(g.t(b)&&g.t(c)){for(var f=0;f<c;f++)a.push("");a.push(b)}if(g.t(d)&&g.t(e)){b=e-a.length+1;for(f=0;f<b;f++)a.push("");a.push(d)}return a};
ml=function(){var a=ll();return(0,g.H)(a,function(a){return Qi(a)})};
nl=function(){Nk.call(this);this.B=void 0;this.C=null};
ol=function(a,b,c,d){d=Ok(null,d,!0);d.hg=c;d.Lr=(0,g.y)(a.ln,a);yca([d]);d.Yc=b;return d};
Nca=function(a,b,c){var d=g.ab(Ak,(0,g.y)(function(a){return a.element?pl(a.element,c)==b&&a.Dj==c:!1},a));
null!==d&&d.Yc!=b&&(Wk(1,d.Yc),d=void 0);if(d)return d;d=Mca(c);if(d=g.ab(d,(0,g.y)(function(a){return pl(a,c)==b},a)))return d=Xk(a,d),d.hg="as",d.Yc=b,d.Dj=c,d};
Mca=function(a){var b=Wh.document,c=g.Fb((0,g.H)(["embed","object"],function(a){return g.qb(b.getElementsByTagName(a))})),d="metricID"+a;
return c=(0,g.se)(c,function(a){if(!a||!g.wa(a)||1!=a.nodeType||!g.va(a.getBoundingClientRect))return!1;var b=a.getBoundingClientRect();return 0!=b.width&&0!=b.height&&a[d]&&g.va(a[d])?!0:!1})};
pl=function(a,b){var c="metricID"+b;if(!a||!a[c]||!g.va(a[c]))return null;try{var d=a[c]()}catch(e){return null}return d.queryID};
ql=function(a,b){var c=Cj.getInstance();switch(a.hg){case "h":var d=g.v("exc"==c.Jb?"ima.bridge.triggerExternalActivityEvent":"ima.common.triggerExternalActivityEvent");break;case "m":d=g.v("ima.common.triggerExternalActivityEvent");break;case "n":d=g.v("ima.bridge.triggerExternalActivityEvent");break;case "as":var e="triggerExternalActivityEvent"+a.Dj;a.element&&g.va(a.element[e])&&(d=function(b,c,d){a.element[e](d)});
break;default:return a.Eh|=4,!1}if(g.va(d)){c=Fca(b,a);try{return d(a.Yc,c,b),!0}catch(f){a.Eh|=2}}else a.Eh|=1;return!1};
Oca=function(a){return g.Kb(g.Xb(a||{}),function(a,c){return"qmtos"==c||"qnc"==c||"qmv"==c||"qnv"==c?!1:!0})};
sl=function(a,b,c){var d={};d.viewability=c?Pk(b,Qk):Pk(Oca(b),Qk);c=dl=(new Date).getTime();var e=el(5);c=(gl?!e:e)?c|2:c&-3;e=el(2);c=(hl?!e:e)?c|8:c&-9;c={s1:(c>>>0).toString(16)};a.C||(a.C=Kca());d.moatInit=a.C;d.moatViewability=Pk(b,Pca,c,"h",rl("kArwaWEsTs"));d.integralAdsViewability=Pk(b,Qca,{},"h",rl("b96YPMzfnx"));d.doubleVerifyViewability=Pk(b,Rca,{},"h",rl("yb8Wev6QDg"));d.googleViewability=Pk(b,Sca);return d};
rl=function(a){return function(b){var c=new il;c.update(b+a);return vaa(c.digest()).slice(-8)}};
Tca=function(a,b,c){a=Cj.getInstance();if(a.F!=b){a.F=b;var d=(0,g.Bk)(Ak,function(a){return a.Ja});
(0,g.G)(Ak,function(a){b||d||(a.ih=c);a.P=b;a.Ja=!1})}};
ul=function(a,b,c){var d=nl.getInstance(),e={};g.$b(e,{opt_adElement:void 0,opt_fullscreen:void 0},c||{});if(e.opt_bounds)a=sl(d,al("ol",a),!1);else{b:{if($k(a)){if(tl){e=al("ue",a);break b}b=d.bn(b,e);if(!b){e=al("nf",a);break b}if(!d.D){d.D=!0;try{var f=yi(),k=Cj.getInstance();xi=f;Rk=bk(Wh).St;qk(!1);var l=Cj.getInstance();Wh.screen&&(l.C=new g.Qd(Wh.screen.width,Wh.screen.height));if("nis"!=k.Jb&&"gsv"!=k.Jb){var m=Wh.document;if(m.body&&m.body.getBoundingClientRect)if((0,g.y)(d.Jq,d),Bj.getInstance(),
!k.o&&ri()&&Hk())pk();else if(k.o&&"exc"!=k.Jb){if(k.B){var n=Cj.getInstance();Oj.getInstance();n.B=!1}var q;if(q=null!=Wh.IntersectionObserver){var r=Ek(Wh,"nio",sk());r&&(Cj.getInstance().Jb="nio");q=r}if(q)pk();else if(ri()&&Hk())pk();else{if(g.ch&&g.oa(Wh.screenX)&&g.oa(Wh.mozInnerScreenX)&&g.oa(Wh.outerWidth)){var w=Wh.navigator.userAgent,A=w.indexOf("Firefox/");if(0<=A){var C=Math.floor(w.substr(A+8))||-1;var B=w.indexOf("Mac OS X 10."),f=-1;0<=B&&(f=Number(w.substr(B+12,1))||-1);var M=0<f?
-1:w.indexOf("Windows NT "),B=-1;0<=M&&(B={"6.0":0,"6.1":1,"6.2":2}[w.substr(M+11,3)]||-1);w=148;5<=f?w=4<=C?108:3<=C?127:108:0<=B&&(16==C||17==C||18==C)&&(w=[[146,146,146],[148,147,148],[131,130,136]][B][C-16]);var X=w}else X=null;null!==X&&(vk=X,Cj.getInstance().Jb="xde");var xa=!0}else xa=!1;if(xa)pk();else{if(g.sc&&g.kc(8)&&g.va(hi())){Cj.getInstance().Jb="iem";var db=!0}else db=!1;db?pk():oi()&&xca(Wh,Ak,(0,g.y)(d.vx,d))?pk():d.Jq("i")}}}else pk();else tl=!0}}catch(uc){throw Ak=[],Dk=[],uc;}}"i"==
Vk&&(b.gh=!0,d.Us(b));xa=e.opt_fullscreen;g.t(xa)&&(b.hf=!!xa);Ik()?X=!1:(xa=Cj.getInstance().Jb,X=Wh&&Wh.g||"nis"===xa||"gsv"===xa?!1:0===ei());X&&(Sk(b,"pvu"),d.Jq("pvu"));xa=a.toLowerCase();!X&&g.gb(Uca,xa)&&(Dca(d,b,e),d.qx(b));(X=b.F[xa])&&b.o.Ha(X);var fa;1==b.Ye()?fa=d.g[xa]:2==b.Ye()&&(fa=d.o[xa]);if(fa&&(e=fa.call(d,b,e),g.t(e))){fa=al(void 0,xa);g.$b(fa,e);e=fa;break b}}e=void 0}a=sl(d,e,"firstquartile"==a||"midpoint"==a||"thirdquartile"==a||"complete"==a||"skip"==a||"abandon"==a?!0:!1)}return a};
vl=function(a,b){var c=g.v("ima.common.triggerViewabilityMeasurementUpdate");if(g.va(c)){var d={},e=Cj.getInstance();d.insideIframe=e.o;d.unmeasurable=b.gh;d.position=b.position;d.coverage=b.tc.g;d.documentSize=e.A;d.viewportSize=e.g;d.nativeVolume=a.B;c(b.Yc,d)}};
wl=function(a){nl.getInstance();var b=Oj.getInstance();g.kb(b.g,a)};
xl=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)throw Error("Invalid URI scheme in origin");var c="",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};
Vca=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];for(var d=e[1],f=e[2],l=e[3],m=e[4],n,q,c=0;80>c;c++)40>c?20>c?(n=l^d&(f^l),q=1518500249):(n=d^f^l,q=1859775393):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,PG: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}}};
Wca=function(a,b,c){var d=[],e=[];if(1==(g.ta(c)?2:1))return e=[b,a],(0,g.G)(d,function(a){e.push(a)}),yl(e.join(" "));
var f=[],k=[];(0,g.G)(c,function(a){k.push(a.key);f.push(a.value)});
c=Math.floor((new Date).getTime()/1E3);e=g.ib(f)?[c,b,a]:[f.join(":"),c,b,a];(0,g.G)(d,function(a){e.push(a)});
a=yl(e.join(" "));a=[c,a];g.ib(k)||a.push(k.join(""));return a.join("_")};
yl=function(a){var b=Vca();b.update(a);return b.PG().toLowerCase()};
g.zl=function(a){var b=xl(String(pa.location.href)),c=pa.__OVERRIDE_SID;null==c&&(c=(new pg(window.document)).get("SID"));if(c&&(b=(c=0==b.indexOf("https:")||0==b.indexOf("chrome-extension:"))?pa.__SAPISID:pa.__APISID,null==b&&(b=(new pg(window.document)).get(c?"SAPISID":"APISID")),b)){var c=c?"SAPISIDHASH":"APISIDHASH",d=String(pa.location.href);return d&&b&&c?[c,Wca(xl(d),b,a||null)].join(" "):null}return null};
Al=function(){};
Cl=function(a){if(a instanceof Al)return a;if("function"==typeof a.Ud)return a.Ud(!1);if(g.ua(a)){var b=0,c=new Al;c.next=function(){for(;;){if(b>=a.length)throw Bl;if(b in a)return a[b++];b++}};
return c}throw Error("Not implemented");};
g.Dl=function(a,b,c){if(g.ua(a))try{(0,g.G)(a,b,c)}catch(d){if(d!==Bl)throw d;}else{a=Cl(a);try{for(;;)b.call(c,a.next(),void 0,a)}catch(d){if(d!==Bl)throw d;}}};
Xca=function(a){if(g.ua(a))return g.qb(a);a=Cl(a);var b=[];g.Dl(a,function(a){b.push(a)});
return b};
El=function(a,b){this.o={};this.g=[];this.Dh=this.Na=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){a instanceof El?(c=a.Cb(),d=a.ib()):(c=g.Pb(a),d=g.Ob(a));for(var e=0;e<c.length;e++)this.set(c[e],d[e])}};
Gl=function(a,b){return Fl(a.o,b)};
Hl=function(a){var b,c;if(a.Na!=a.g.length){for(b=c=0;c<a.g.length;){var d=a.g[c];Fl(a.o,d)&&(a.g[b++]=d);c++}a.g.length=b}if(a.Na!=a.g.length){var e={};for(b=c=0;c<a.g.length;)d=a.g[c],Fl(e,d)||(a.g[b++]=d,e[d]=1),c++;a.g.length=b}};
Fl=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};
Il=function(a){if(a.ib&&"function"==typeof a.ib)return a.ib();if(g.u(a))return a.split("");if(g.ua(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return g.Ob(a)};
Jl=function(a){if(a.Cb&&"function"==typeof a.Cb)return a.Cb();if(!a.ib||"function"!=typeof a.ib){if(g.ua(a)||g.u(a)){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return g.Pb(a)}};
Yca=function(a,b){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,void 0);else if(g.ua(a)||g.u(a))(0,g.G)(a,b,void 0);else for(var c=Jl(a),d=Il(a),e=d.length,f=0;f<e;f++)b.call(void 0,d[f],c&&c[f],a)};
g.Kl=function(a,b){this.o=this.G=this.B="";this.C=null;this.J=this.A="";this.D=!1;var c;a instanceof g.Kl?(this.D=g.t(b)?b:a.D,Ll(this,a.B),this.G=a.G,g.Ml(this,a.o),g.Nl(this,a.C),g.Ol(this,a.A),Pl(this,a.g.clone()),this.J=a.Wh()):a&&(c=g.sg(String(a)))?(this.D=!!b,Ll(this,c[1]||"",!0),this.G=Ql(c[2]||""),g.Ml(this,c[3]||"",!0),g.Nl(this,c[4]),g.Ol(this,c[5]||"",!0),Pl(this,c[6]||"",!0),this.J=Ql(c[7]||"")):(this.D=!!b,this.g=new g.Rl(null,0,this.D))};
Ll=function(a,b,c){a.B=c?Ql(b,!0):b;a.B&&(a.B=a.B.replace(/:$/,""))};
g.Ml=function(a,b,c){a.o=c?Ql(b,!0):b;return a};
g.Nl=function(a,b){if(b){b=Number(b);if((0,window.isNaN)(b)||0>b)throw Error("Bad port number "+b);a.C=b}else a.C=null;return a};
g.Ol=function(a,b,c){a.A=c?Ql(b,!0):b};
Pl=function(a,b,c){b instanceof g.Rl?(a.g=b,Zca(a.g,a.D)):(c||(b=Sl(b,$ca)),a.g=new g.Rl(b,0,a.D));return a};
g.Tl=function(a,b,c){a.g.set(b,c);return a};
Vl=function(a,b,c){g.ta(c)||(c=[String(c)]);Ul(a.g,b,c)};
Wl=function(a){g.Tl(a,"zx",g.Qa());return a};
g.Xl=function(a){return a instanceof g.Kl?a.clone():new g.Kl(a,void 0)};
ada=function(a,b,c,d){var e=new g.Kl(null,void 0);a&&Ll(e,a);b&&g.Ml(e,b);c&&g.Nl(e,c);d&&g.Ol(e,d);return e};
Ql=function(a,b){return a?b?(0,window.decodeURI)(a.replace(/%25/g,"%2525")):(0,window.decodeURIComponent)(a):""};
Sl=function(a,b,c){return g.u(a)?(a=(0,window.encodeURI)(a).replace(b,bda),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null};
bda=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)};
g.Rl=function(a,b,c){this.Na=this.g=null;this.o=a||null;this.A=!!c};
Zl=function(a){a.g||(a.g=new El,a.Na=0,a.o&&wg(a.o,function(b,c){Yl(a,Ia(b),c)}))};
$l=function(a){var b=Jl(a);if("undefined"==typeof b)throw Error("Keys are undefined");var c=new g.Rl(null,0,void 0);a=Il(a);for(var d=0;d<b.length;d++){var e=b[d],f=a[d];g.ta(f)?Ul(c,e,f):Yl(c,e,f)}return c};
Yl=function(a,b,c){Zl(a);a.o=null;b=am(a,b);var d=a.g.get(b);d||a.g.set(b,d=[]);d.push(c);a.Na=a.Na+1};
bm=function(a,b){Zl(a);b=am(a,b);return Gl(a.g,b)};
Ul=function(a,b,c){a.remove(b);0<c.length&&(a.o=null,a.g.set(am(a,b),g.qb(c)),a.Na=a.Na+c.length)};
am=function(a,b){var c=String(b);a.A&&(c=c.toLowerCase());return c};
Zca=function(a,b){b&&!a.A&&(Zl(a),a.o=null,a.g.forEach(function(a,b){var c=b.toLowerCase();b!=c&&(this.remove(b),Ul(this,c,a))},a));
a.A=b};
g.cm=function(a){g.K.call(this);this.B=a;this.o={}};
g.em=function(a,b,c,d,e,f){dm(a,b,c,d,e,f)};
dm=function(a,b,c,d,e,f){g.ta(c)||(c&&(fm[0]=c.toString()),c=fm);for(var k=0;k<c.length;k++){var l=g.bf(b,c[k],d||a.handleEvent,e||!1,f||a.B||a);if(!l)break;a.o[l.key]=l}return a};
hm=function(a,b,c,d){gm(a,b,c,d,void 0)};
im=function(a,b,c,d,e){gm(a,b,c,d,!1,e)};
gm=function(a,b,c,d,e,f){if(g.ta(c))for(var k=0;k<c.length;k++)gm(a,b,c[k],d,e,f);else(b=kf(b,c,d||a.handleEvent,e,f||a.B||a))&&(a.o[b.key]=b)};
jm=function(a){g.Jb(a.o,function(a,c){this.o.hasOwnProperty(c)&&g.mf(a)},a);
a.o={}};
km=function(a,b,c){g.K.call(this);this.o=a;this.A=b;this.D=c;this.C=0;this.g=new g.cm(this);cda(this)};
cda=function(a){a.D.forEach(function(a,c){this.g.V(c,"mousedown",this.F);this.g.V(c,"mouseup",this.J)},a);
a.g.V(a.A,"mouseover",a.G)};
g.lm=function(a,b){return a.replace(dda,function(a,d){try{var c=Wb(b,d);if(null==c)return a;c=c.toString();if(""==c||!D(g.E(c)))return(0,window.encodeURIComponent)(c).replace(/%2C/g,",")}catch(f){}return a})};
nm=function(a,b){var c=[],d="",e="";if(null!=b){for(var d=b,e=[],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){for(var w=r.frames,l=0;l<w.length;++l)if(e===w[l]){f.push(l);break}e=r;r=e.parent}}catch(A){}e=f.join()}else e=""}c.push(d,e);if(null!=a){for(r=0;r<mm.length-1;++r)c.push(Fg(a,mm[r])||"");r=Fg(a,"videoad_start_delay");w="";r&&(r=(0,window.parseInt)(r,10),w=0>r?"postroll":0==r?"preroll":"midroll");c.push(w)}else for(r=0;r<mm.length;++r)c.push("");c=c.join(":");r=c.length;if(0==r)c=0;else{w=305419896;for(d=0;d<r;d++)w^=(w<<5)+(w>>2)+c.charCodeAt(d)&4294967295;c=
0<w?w:4294967296+w}return c.toString()};
om=function(a,b,c){this.g=a;this.o=b;this.A=c};
pm=function(a,b){this.g=a;this.Xf=b};
qm=function(a,b){g.Ne.call(this,"adError");this.A=a;this.g=b?b:null};
rm=function(a,b,c){g.Ne.call(this,a);this.A=b;this.g=null!=c?c:null};
eda=function(a){this.g=a};
fda=function(){var a=sm();return tm(a,"disableExperiments")};
tm=function(a,b){if(Rb(a.g,b)){var c=a.g[b];if(g.na(c))return c}return!1};
gda=function(a){if(Rb(a.g,"forceExperimentIds")){a=a.g.forceExperimentIds;var b=[],c=0;g.ta(a)&&(0,g.G)(a,function(a){g.oa(a)&&(b[c++]=a)});
return b}return null};
um=function(a){return(a=a.match(/^\w{2,3}([-_]|$)/))?a[0].replace(/[_-]/g,""):""};
vm=function(){this.B="always";this.O=4;this.F=1;this.o=this.M=this.C=!1;this.da=this.J=!0;this.A=this.ba=!1;this.K=!0;this.P=null;this.ca=3E3;this.wb=this.D=this.X=!1;try{this.fa=ll(void 0)[0]}catch(a){}};
sm=function(){var a=O;if(null==a.P){var b={},c=(new g.Kl(fe().location.href)).g;if(bm(c,"tcnfp"))try{b=g.kg(c.get("tcnfp"))}catch(d){}a.P=new eda(b)}return a.P};
hda=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}};
wm=function(a){g.Ne.call(this,a);this.F=[];this.D={};this.g=null;this.A=!0};
xm=function(a,b,c){this.B=b;this.o=c;this.C=a;this.A=!0};
ym=function(){};
zm=function(a,b,c,d){this.Ba=a;this.g=g.Id(c||0,0,1);this.o=null!=d?d:!0};
Am=function(a){this.Ba=a;this.o=new El;this.gb=this.g=null};
ida=function(a){var b=Math.random(),c=0,d=a.o.ib();(0,g.G)(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}};
kda=function(){this.o=null!=pa.G_testRunner;this.A=new ym;this.g=new El;O.g()||(Bm(this,"GvnExternalLayer",31061774,.01),Bm(this,"GvnExternalLayer",31061775,.01),Bm(this,"GvnExternalLayer",41351088,.01),Bm(this,"GvnExternalLayer",41351089,.01),Bm(this,"GvnExternalLayer",420706008,.05),Bm(this,"GvnExternalLayer",420706009,.05),Bm(this,"GvnExternalLayer",420706024,.01),Bm(this,"GvnExternalLayer",420706025,.01),Bm(this,"GvnExternalLayer",420706029,.01),Bm(this,"GvnExternalLayer",41351073,.01),Bm(this,
"GvnExternalLayer",41351074,.01),Bm(this,"GvnExternalLayer",41351075,.01),Bm(this,"GvnExternalLayer",634360101,0),Bm(this,"GvnExternalLayer",634360102,0),Bm(this,"GvnExternalLayer",21592080,.1),Bm(this,"GvnExternalLayer",21592081,.1),Bm(this,"GvnExternalLayer",21592082,.01),Bm(this,"GvnExternalLayer",413051059,.05),Bm(this,"GvnExternalLayer",413051060,.05),Bm(this,"GvnExternalLayer",324123E3,.05),Bm(this,"GvnExternalLayer",324123001,.05),Bm(this,"GvnExternalLayer",420706068,.01),Bm(this,"GvnExternalLayer",
420706069,.01),Bm(this,"GvnExternalLayer",324123020,.01),Bm(this,"GvnExternalLayer",324123021,.01),Bm(this,"GvnExternalLayer",420706081,.01),Bm(this,"GvnExternalLayer",420706082,.01),ri(!1)&&(Oh(Wh.top)?(Bm(this,"ActiveViewExternalLayer",509445010,.01),Bm(this,"ActiveViewExternalLayer",509445011,.01)):(Bm(this,"ActiveViewExternalLayer",509445012,.01),Bm(this,"ActiveViewExternalLayer",509445013,.01))));jda(this);var a=sm();a=gda(a);null!=a&&(this.o=!1,Cm(this,a.map(String)))};
Em=function(){Dm||(Dm=new kda);return Dm};
Fm=function(){return Em().A};
lda=function(a,b){a.A=b};
mda=function(){var a=Em();(0,g.G)(a.g.Cb(),function(a){g.Fa(a,"FORCED_PUB_EXP_LAYER_")&&this.g.remove(a)},a)};
Bm=function(a,b,c,d){D(g.E(b))||(0,window.isNaN)(c)||0>=c||(c=new zm(c,0,d),Gm(a,b).o.set(c.getId(),c))};
jda=function(a){fda()||(0,g.G)(a.g.ib(),function(a){ida(a)},a)};
Cm=function(a,b){(0,g.G)(b,function(a){var b=Number(a);a="FORCED_PUB_EXP_LAYER_"+a;(0,window.isNaN)(b)||0>=b||D(g.E(a))||(Gm(this,a).g=new zm(b,0,0,!0))},a)};
Hm=function(a,b){return a.o?!1:(0,g.Bk)(a.g.ib(),function(a){return!!a.g&&a.g.getId()==b})};
Im=function(a){if(a.o)return"";var b=[];(0,g.G)(a.g.ib(),function(a){(a=a.g)&&a.o&&b.push(a.getId())});
return b.sort().join(",")};
Gm=function(a,b){var c=a.g.get(b);null==c&&(c=new Am(b),a.g.set(b,c));return c};
oda=function(){var a=[],b=Em();(0,g.G)(nda,function(c){(c=(c=Gm(b,c))?c.g:null)&&a.push(c.getId())});
return a};
Km=function(a){return null!=a?Jm(pda,a):!1};
Jm=function(a,b){try{var c=(new g.Kl(b)).o,c=c.replace(/^www./i,"");return(0,g.Bk)(a,function(a){return qda(a,c)})}catch(d){return!1}};
qda=function(a,b){if(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};
Mm=function(a){var b=!1;Lm(a,rda)?b=!1:Km(a)?b=!0:"https:"==window.location.protocol&&(Lm(a,sda)||O.g())&&(b=!0);if(b){b=new g.Kl(a);if("https"==b.B)return a;Ll(b,"https");return b.toString()}return a};
Lm=function(a,b){return(new RegExp("^https?://([a-z0-9-]{1,63}\\.)*("+b.join("|").replace(/\./g,"\\.")+")(:[0-9]+)?([/?#]|$)","i")).test(a)};
Pm=function(a){if(D(g.E(a)))return!1;a=new g.Kl(a);if(!a.B||"http"!=a.B&&"https"!=a.B)return!1;a=a.o;return-1==a.indexOf(".")||a.match(/^[\.0-9]*$/)?!1:!0};
Qm=function(a){D(g.E(a))||window.open(a,"_blank")};
Sm=function(a,b,c){null!=a?(g.Tl(a,"label",b),null!=c&&g.Tl(a,"value",c.join(";")),a=a.toString()):a="";Rm(a)};
Tm=function(a,b,c,d){null!=a&&null!=b&&(a=g.lm(a,b));try{if(null!=c){b=a;var e=(c||{}).viewability||"na";if(D(g.E(e)))a=b;else{var f=new g.Kl(b);bm(f.g,"label")?(g.Tl(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.lm(c,k);if(2048>l.length){a=l;break a}}a=c}}catch(m){}return a};
Rm=function(a,b,c,d){a=Tm(a,b,c,void 0);try{a=Mm(a);var e=Em(),f=!O.g()||Hm(e,41351089);b=!1;O.g()||!Hm(Em(),634360102)||(b=!0);null!=d&&d?Um.DB(a,f):O.K?Um.qS(a,f,b):Um.zB(a,f,b)}catch(k){}};
Vm=function(a,b){null!=a&&(0,g.G)(a,function(a){Rm(a,b)})};
tda=function(a,b){if(D(g.E(b)))return a;var c=new g.Kl(a),d=c.o;return null!=d&&Ga(d,".g.doubleclick.net")?(g.Tl(c,"ged",b),c.toString()):a};
Wm=function(a,b){this.message=a;this.errorCode=b};
Ym=function(a,b,c){return Xm("adLoadError",a,b||null,g.sb(arguments,2))};
Zm=function(a,b,c){return Xm("adPlayError",a,b||null,g.sb(arguments,2))};
$m=function(a,b,c,d,e){var f=a.apply(null,g.pb([c,d],g.sb(arguments,3)));b.dispatchEvent(new rm("log",null,f))};
an=function(a,b,c){$m(Zm,a,b,c,void 0)};
Xm=function(a,b,c,d){if(c instanceof xm)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 xm(a,b,e);a.Ik=c;return a};
bn=function(a,b,c,d){var e=Zm.apply(null,g.pb([b,c],g.sb(arguments,3)));a.dispatchEvent(new qm(e))};
cn=function(a,b){g.Ne.call(this,"vpaidEventType");this.g=a;this.data=b};
dn=function(){return fk()||ek()};
gn=function(){return en&&!fn||Ma(g.Hb,"iPod")};
hn=function(){return gn()||fn};
ln=function(a){return hn()&&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.Ta(c,b)):pn[b]=!1}return pn[b]};
qn=function(a){D(rn)&&(a=a.exec(g.Hb))&&(rn=a[1]);return rn};
sn=function(){var a=g.Hb;return a?Ma(a,"Nintendo WiiU"):!1};
tn=function(){return en&&!fn&&ln(10)&&O.g()||!O.g()&&(en&&!fn&&ln(10),0)?!0:gn()||g.mn&&!on(4)||!O.g()&&Ik()?!1:!0};
un=function(){return O.o||hn()&&(en&&!fn&&ln(10),!0)||g.mn&&!on(4)||Ik()?!0:!1};
vn=function(){this.reset()};
wn=function(a,b){null!=b&&a.o!=b?(a.g=1,a.o=b):a.g=null!=b?a.g+1:1;return a.g};
xn=function(a,b,c,d,e,f){g.u(a)?(this.B="y"==a?b:0,this.months="m"==a?b:0,this.days="d"==a?b:0,this.g="h"==a?b:0,this.o="n"==a?b:0,this.A="s"==a?b:0):(this.B=a||0,this.months=b||0,this.days=c||0,this.g=d||0,this.o=e||0,this.A=f||0)};
g.An=function(a,b,c){g.oa(a)?(this.date=yn(a,b||0,c||1),zn(this,c||1)):g.wa(a)?(this.date=yn(a.getFullYear(),a.getMonth(),a.getDate()),zn(this,a.getDate())):(this.date=new Date((0,g.F)()),a=this.date.getDate(),this.date.setHours(0),this.date.setMinutes(0),this.date.setSeconds(0),this.date.setMilliseconds(0),zn(this,a))};
yn=function(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b};
g.Bn=function(a){a=a.getTimezoneOffset();if(0==a)a="Z";else{var b=Math.abs(a)/60,c=Math.floor(b),b=60*(b-c);a=(0<a?"-":"+")+g.Pa(c,2)+":"+g.Pa(b,2)}return a};
zn=function(a,b){a.getDate()!=b&&a.date.setUTCHours(a.date.getUTCHours()+(a.getDate()<b?1:-1))};
Cn=function(){this.o=this.g=null};
En=function(){this.g=Dn();this.M=-1;this.O=this.P=this.C=this.K=this.o=null;this.B=Dn();this.A=null;this.ba=this.F=this.J="";this.G=this.X=this.da=this.D=null;this.ca=!1;this.fa=0};
Dn=function(){return Math.floor(4503599627370496*Math.random())};
Fn=function(a){null==a.C&&(a.C=new vn);return a.C};
Gn=function(a){if(O.o)return"h.3.0.0";var b="h."+a.ba;null!=a.D&&(b+="/n."+a.D,null!=a.o&&(b+="/"+a.o));return b};
Hn=function(){this.g=.01>Math.random();this.o=Math.floor(4503599627370496*Math.random())};
Kn=function(a,b,c,d){if(a.g||d){c=c||{};c.lid=b;c.sdkv=Gn(In);b=Im(Em());D(g.E(b))||(c.e=b);c=uda(a,c);var e=new g.Kl("http://pagead2.googlesyndication.com/pagead/gen_204");g.Jb(c,function(a,b){g.Tl(e,b,null!=a?"boolean"==typeof a?a?"t":"f":""+a:"")},a);
a=Jn();Ll(e,a.B);Rm(e.toString())}};
uda=function(a,b){b.id="ima_html5";var c=Jn();b.c=a.o;b.domain=c.o;return b};
Jn=function(){var a=fe(),b=window.document;return new g.Kl(a.parent==a?a.location.href:b.referrer)};
Mn=function(){this.jf=Ln()};
Ln=function(){return O.g()||Hm(Em(),420706082)?15E3:8E3};
Nn=function(){g.rf.call(this)};
On=function(){g.rf.call(this);this.g=new El;this.o=null;this.J=new g.cm(this);g.L(this,this.J);this.C="";this.B=this.K=this.F=this.A=null;this.G=-1};
Qn=function(){null!=Pn||(Pn=new On);return Pn};
Rn=function(a,b){var c={};c.queryId=a;c.viewabilityString=b;Qn().dispatchEvent(new rm("measurable_impression",null,c))};
Sn=function(a,b){var c={};c.queryId=a;c.viewabilityString=b;Qn().dispatchEvent(new rm("viewable_impression",null,c))};
Tn=function(a,b,c){var d={};d.queryId=a;d.viewabilityString=b;d.eventName=c;Qn().dispatchEvent(new rm("externalActivityEvent",null,d))};
vda=function(a,b){if(a.o)if(a.B){var c=(0,g.F)()-a.G;b(a.B+"_ct"+c)}else{var d=a.g,c=window.setTimeout(function(){b("timeout");(0,g.G)(d.Cb(),function(a){d.get(a)===b&&d.remove(a)})},200);
a.g.set(c,b);var e={};e.osdId=a.C;e.eventId=c;Hn.getInstance().isLoggingEnabled()&&(a.D=(0,g.F)(),e.loggingId=Math.random(),Kn(Hn.getInstance(),43,{step:"sendingMessage",logid:e.loggingId,time:a.D}));a.o.send("activityMonitor","fetchAdTagUrl",e)}else b("")};
wda=function(a,b,c,d){if(a.o){var e={};e.queryId=c;e.vastEvent=b;a.C&&(e.osdId=a.C);e.isOverlay=null!=a.A;a.A&&(e.overlayBounds=g.uh(a.A));var f=a.g;b=window.setTimeout(function(){d({viewability:"timeout"});(0,g.G)(f.Cb(),function(a){f.get(a)===d&&f.remove(a)})},200);
a.g.set(b,d);e.eventId=b;a.o.send("activityMonitor","reportVastEvent",e)}else d({})};
Un=function(){};
Xn=function(a,b){if(null==a||0>=a.width||0>=a.height)throw Zm(Vn,null,"ad slot size",a.toString());this.o=a;this.g=null!=b?b:new Un;this.C=Wn(xda,this.g.A)?this.g.A:"All";this.B=Wn(yda,this.g.creativeType)?this.g.creativeType:"All";this.F=Wn(zda,this.g.B)?this.g.B:"SelectExactMatch";this.G=Wn(Ada,this.g.o)?this.g.o:"DisallowResize";this.A=null!=this.g.C?this.g.C:[];this.D=g.oa(this.g.g)&&0<this.g.g&&100>=this.g.g?this.g.g:90};
Zn=function(a,b){var c=[];(0,g.G)(b,function(a){a.Hx()&&((0,window.isNaN)(a.g.g)||(0,window.isNaN)(a.wq())||a.wq()==a.g.g)&&Yn(this,a)?c.push(a):(a=Bda(this,a),null!=a&&a.Hx()&&c.push(a))},a);
return c};
Yn=function(a,b){var c;if(c="Flash"!=b.od()||$n){if(c="All"==a.C||a.C==b.g.O)c=b.od(),c=null!=c?"All"==a.B||a.B==c:!0;c&&(c=b.o,c=g.ib(a.A)?!0:null!=c?0<=(0,g.fb)(a.A,c):!1)}if(c){var d=b.sn();if("IgnoreSize"==a.F||g.Rd(a.o,d))c=!0;else if(c="SelectNearMatch"==a.F)"ResizeSmaller"==a.G&&(d=d.width<=a.o.width&&d.height<=a.o.height?d:ao(d,a.o)),c=d.width,d=d.height,c=c>a.o.width||d>a.o.height||c<a.D/100*a.o.width||d<a.D/100*a.o.height?!1:!0}else c=!1;return c};
Bda=function(a,b){var c=b.A;return null!=c?g.ab(c,function(a){return Yn(this,a)},a):null};
ao=function(a,b){var c=Math.min(b.width/a.width,b.height/a.height);return new g.Qd(c*a.width,c*a.height)};
Wn=function(a,b){return null!=b&&Nb(a,b)};
bo=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)};
Cda=function(a){var b={};(0,g.G)(a.split(","),function(a){var c=a.split("=");2==c.length&&(a=Ra(c[0]),c=Ra(c[1]),0<a.length&&(b[a]=c))});
return b};
eo=function(a,b){if(a[b])return co(a[b]);var c=b.toLowerCase(),d;for(d in a)if(d&&d.toLowerCase()==c)return co(a[d]);return!1};
co=function(a){return a?-1!=a.toString().search(/(?:true|1)/i):!1};
Dda=function(){this.g=this.eg=1;this.o=this.B=0;this.A=1};
fo=function(){g.rf.call(this);this.g=null;this.D=new g.cm(this);g.L(this,this.D);this.o=new El;this.F=new El;this.B=null;this.A=!1;this.C=null};
ho=function(){null!=go||(go=new fo);return go};
jo=function(a){if(null==a)return!1;if(gn()&&null!=a.webkitDisplayingFullscreen)return a.webkitDisplayingFullscreen;var b=window.screen.availWidth||window.screen.width,c=window.screen.availHeight||window.screen.height;a=io(a);return 0>=b-a.width&&42>=c-a.height};
io=function(a){return g.va(a.getBoundingClientRect)&&g.xe(g.Td(a),a)?a.getBoundingClientRect():{left:a.offsetLeft,top:a.offsetTop,width:a.offsetWidth,height:a.offsetHeight}};
ko=function(a,b,c,d,e){if(a.A){if(a.C)return a.C(b,c,e);e=e||{};if(d=d?a.F.get(d):O.G)null!=e.opt_fullscreen||(e.opt_fullscreen=jo(d)),null!=e.opt_adElement||(e.opt_adElement=d);a.B&&(O.o&&(e.opt_overlayAdElement=a.B),null!=e.opt_bounds||(e.opt_bounds=io(a.B)));return fj("lidar::handlevast_html5",g.Aa(ul,b,c,e))||{}}return{}};
lo=function(a,b){var c=[];a.o.forEach(g.Aa(function(a,b,c,k){c==b&&a.push(k)},c,b));
(0,g.G)(c,a.o.remove,a.o)};
mo=function(a){if(g.va(window.Goog_AdSense_Lidar_getUrlSignalsArray)){var b={};b.pageSignals=window.Goog_AdSense_Lidar_getUrlSignalsArray();a.g.send("activityMonitor","pageSignals",b)}};
Eda=function(){if(!(pa.ima&&pa.ima.video&&pa.ima.video.client&&pa.ima.video.client.tagged)){g.qa("ima.video.client.sdkTag",!0,void 0);var a=pa.document,b=a.createElement("script"),c=a.location.protocol;"http:"!=c&&"https:"!=c&&(c="");b.src=c+"//s0.2mdn.net/instream/video/client.js";b.async=!0;b.type="text/javascript";a=a.getElementsByTagName("script")[0];a.parentNode.insertBefore(b,a)}};
Fda=function(a,b,c){if(!O.J)return"";var d=b?a.F.get(b):O.G;a={};null!=c&&(a.fullscreen=c);c="";try{c=wba(function(){return d},a)}catch(e){c="sdktle;"+Ka(e.name,12)+";"+Ka(e.message,40)}return c};
no=function(a,b){g.Ne.call(this,a);this.g=b};
oo=function(a,b){this.J=a;this.G=(0,g.H)(b,function(a){return a.clone()});
this.F="";this.g=null;this.o=this.B=0;this.A=!0;this.D=[];this.C=[]};
po=function(a,b,c,d,e){a.F="<div></div>";a.g=b;a.B=c;a.o=d;a.A=!1;a.D=e||[];a.C=[]};
qo=function(a){a.F="";a.g=null;a.B=0;a.o=0;a.A=!0;a.D=[];a.C=[]};
ro=function(a){g.Ne.call(this,a)};
so=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.Qb(b,"thumbnails","default","url"));if(b=a.statistics)this.videoCount=b.videoCount;if(a=a.brandingSettings)this.g=g.Qb(a,"image","bannerImageUrl")}};
g.to=function(a){this.g="number"==typeof a?0<a?1:0>a?-1:null:null==a?null:a?-1:1};
g.uo=function(a,b){var c=a.o(b,void 0);return-1==(0==c?a.g:c)?"rtl":"ltr"};
vo=function(){throw Error("Do not instantiate directly");};
wo=function(a,b){this.content=String(a);this.pg=null!=b?b:null};
xo=function(){vo.call(this)};
yo=function(){vo.call(this)};
zo=function(){vo.call(this)};
Ao=function(){vo.call(this)};
Bo=function(){vo.call(this)};
Co=function(){vo.call(this)};
Do=function(a,b){return null!=a&&a.Cf===b};
Eo=function(a){if(null!=a)switch(a.pg){case 1:return 1;case -1:return-1;case 0:return 0}return null};
P=function(a){return null!=a&&a.Cf===Fo?a:a instanceof g.zd?Go(g.Ad(a),a.Vi()):Go(Ja(String(String(a))),Eo(a))};
Ho=function(a){function b(a){this.content=a}
b.prototype=a.prototype;return function(a){return new b(String(a))}};
Ko=function(a,b,c){var d="key_"+a+":"+b,e=Io[d];if(void 0===e||0>e)Io[d]=0,Jo[d]=c;else if(0==e)throw Error('Encountered two active delegates with the same priority ("'+a+":"+b+'").');};
Lo=function(a,b){var c=Jo["key_"+a+":"+b];c||""==b||(c=Jo["key_"+a+":"]);return c?c:Gda;throw Error('Found no active impl for delegate call to "'+a+":"+b+'" (and not allowemptydefault="true").');};
Gda=function(){return""};
Q=function(a){return Do(a,Fo)?String(String(a.nd()).replace(Mo,"").replace(No,"&lt;")).replace(Hda,Oo):Ja(String(a))};
Po=function(a){return Do(a,Fo)?String(String(a.nd()).replace(Mo,"").replace(No,"&lt;")).replace(Ida,Oo):String(a).replace(Jda,Oo)};
Kda=function(a){return"%"+a.charCodeAt(0).toString(16)};
Ro=function(a){a=g.Ha(String(a));Qo.lastIndex=0;return Qo.test(a)?a.replace(Qo,Kda):a};
Xo=function(a){Do(a,So)||Do(a,To)?a=Uo(a):a instanceof ud?a=Uo(vd(a)):a instanceof qd?a=Uo(rd(a)):(a=String(a),a=Lda.test(a)?a.replace(Vo,Wo):"about:invalid#zSoyz");return a};
Yo=function(a){Do(a,So)||Do(a,To)?a=Uo(a):a instanceof ud?a=Uo(vd(a)):a instanceof qd?a=Uo(rd(a)):(a=String(a),a=Mda.test(a)?a.replace(Vo,Wo):"about:invalid#zSoyz");return a};
$o=function(a){var b=Zo[1]||(Zo[1]=new g.to(1)),c=Eo(a);null==c&&(c=od(a+"",Do(a,Fo)));return Nda(c!=b.g?-1==c?'dir="rtl"':1==c?'dir="ltr"':"":"")};
Oo=function(a){return Oda[a]};
Wo=function(a){return Pda[a]};
Uo=function(a){return String(a).replace(Vo,Wo)};
Qda=function(a){return'<div class="'+P("text-container")+" "+(a.image?P("pyv"):"")+'"><div class="'+P("text-inner-container")+'">'+(a.image?(a.Lc?'<a class="'+P("text-image-link")+'" target="_blank" href="'+P(a.Lc)+'">':'<a class="'+P("text-image-link")+'" target="_blank">')+'<img src="'+P(a.image)+'" class="'+P("text-image")+" "+(a.mC?P("yt-video-image"):"")+'">'+(a.duration?'<div class="'+P("text-image-duration")+'">'+P(a.duration)+"</div>":"")+"</a>":"")+(a.Lc?'<a class="'+P("text-title")+'" href="'+
P(a.Lc)+'" target="_blank" dir='+P(a.dir)+">"+P(a.title)+"</a>":"")+'<div class="'+P("text-description")+'" dir='+P(a.dir)+">"+P(a.text)+"</div>"+(a.qC&&a.Lc?'<a target="_blank" href="'+P(a.Lc)+'" class="'+P("text-ad-channel")+'">'+P(a.qC)+"</a>":"")+"</div></div>"};
Rda=function(a){return'<div class="'+P("flash-container")+" "+(a.capture?P("click-capture"):"")+'">'+(a.Lc?'<a class="click-layer" target="_blank" href="'+P(a.Lc)+'"></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="'+P(a.width)+'" height="'+P(a.height)+'"><param name="movie" value="'+P(a.url)+'"><param name="quality" value="high"><param name="wmode" value="transparent"><param name="AllowScriptAccess" value="never"><param name="FlashVars" value="clickTAG='+
Ro(a.Lc)+'"><embed width="'+P(a.width)+'" height="'+P(a.height)+'" wmode="transparent" type="application/x-shockwave-flash" src="'+P(a.url)+'" allowscriptaccess="never" pluginspage="//www.macromedia.com/go/getflashplayer" flashvars="clickTAG='+Ro(a.Lc)+'"></object></div>'};
Sda=function(a){return'<div class="'+P("image-container")+'" id="'+P(a.id)+'" style="width:'+P(a.width)+";height:"+P(a.height)+';">'+(a.Lc?'<a target="_blank" href="'+P(a.Lc)+'">':'<a target="_blank">')+'<img src="'+P(a.url)+'" border="0"></a></div>'};
Tda=function(a){return'<div class="'+P("image-container")+'" id="'+P(a.id)+'">'+(a.Lc?'<a target="_blank" href="'+P(a.Lc)+'">':'<a target="_blank">')+'<img src="'+P(a.url)+'" border="0" style="max-width:100%;max-height:100%;"></a></div>'};
ap=function(a){return'<div class="'+P("image-container")+'" id="'+P(a.id)+'" style="width:'+P(a.width)+";height:"+P(a.height)+';"></div>'};
bp=function(){this.g=new El};
cp=function(a,b){this.A=a;this.g=b};
dp=function(a,b){cp.call(this,"progress",a);this.o=b};
fp=function(a,b){(0,g.G)(b,function(a){var b=a.bc().toLowerCase(),c=ep(this,b);c.push(a);this.g.set(b,c)},a)};
gp=function(a,b,c,d){b=b.toLowerCase();c=null!=d?new dp(c,d):new cp(b,c);d=ep(a,b);d.push(c);a.g.set(b,d)};
ep=function(a,b){return null!=b?a.g.get(b.toLowerCase(),[]):[]};
Uda=function(a,b){var c=ep(a,"progress");(0,g.G)(c,function(a){hp(a.o,b)});
g.zb(c,function(a,b){return ip(a.o)-ip(b.o)})};
jp=function(a,b){return(0,g.H)(ep(a,b),function(a){return a.g})};
kp=function(){this.Wa=-1;this.G={};this.ua="";this.hj=new bp};
lp=function(a,b,c){a.ua=b;a.G=c};
mp=function(a,b){var c=[],d=a.Wm();(0,g.G)(d,function(a){a=ep(a.hj,b)||[];c=g.pb(a,c)},a);
return c};
np=function(a,b,c){var d=c||!1;return g.ab(b.F,function(a){var b=a.g==this.g;return a instanceof this.constructor&&(d||b)},a)};
op=function(a,b,c,d,e,f,k,l,m,n){this.B=a;this.g=b;this.F=c;(0,window.isNaN)(d)&&(0,window.isNaN)(e)&&(0,window.isNaN)(f)?f=e=0:(0,window.isNaN)(e)&&!(0,window.isNaN)(f)?e=f:!(0,window.isNaN)(e)&&(0,window.isNaN)(f)?f=e:!(0,window.isNaN)(d)&&(0,window.isNaN)(e)&&(0,window.isNaN)(f)&&(e=f=d);this.mh=e;this.Pf=f;this.D=k;this.C=l;this.o=Mm(g.E(m));this.A=n};
pp=function(a,b,c,d,e,f){kp.call(this);this.Wa=a;this.B=b;this.A=c;this.o=g.qb(d);this.C=null;this.D=e;this.bb=g.qb(f);ub(this.bb,null,function(a){return a.M})};
qp=function(a){var b=new El,c=a.Wm();(0,g.G)(c,function(a){if(a instanceof pp){var c=a.A;(0,g.G)(c.Cb(),function(a){b.set(a,g.pb(c.get(a),b.get(a)||[]))},this)}},a);
return b};
sp=function(a){return rp(a,"x-shockwave-flash")};
rp=function(a,b){var c=g.ab(a.o,function(a){return!D(g.E(a.g))&&-1!=a.g.indexOf(b)&&("VPAID"==a.A||"surveys"==a.A)});
return null!=c?c:null};
up=function(a,b,c,d,e){kp.call(this);D(g.E(a))&&(a=Va()+"_ima");this.Ba=g.E(a);this.Ja=b;this.O=c;this.sa=d;this.A=e;this.M=[];null!=this.sa?this.da=tp[this.sa]||"Other":this.da=null};
vp=function(a,b,c){g.K.call(this);this.o=a;this.C=b;this.K=c;this.B=0;this.g={};this.A=new g.cm(this);g.L(this,this.A);Vda(this)};
Vda=function(a){(0,g.G)(a.K,function(a){this.A.V(a.element,"mousedown",this.F,!0);this.A.V(a.element,"mouseup",g.Aa(this.J,a),!0)},a);
a.A.V(a.C,"mouseenter",a.G)};
Wda=function(a,b){g.Jb(a.g,function(a,d){b=Hg(b,d,a)});
return b};
wp=function(a,b,c,d,e){up.call(this,a,b,c,d,e);this.ha=this.B=null;this.Aa=-2;this.o=null;this.ga=this.ba=g.x;this.ca=[];this.Sa=[];this.D=!1;this.gb=null};
zp=function(a,b){a.o=b;null!=a.B&&null!=b&&(xp(a,a.ba),yp(a,a.ga))};
xp=function(a,b){null!=a.o&&null!=a.B&&(0,g.G)(a.ca,function(a){this.o.Ca(a,"click",this.ba);!D(g.E(this.ff()))&&this.o.V(a,"click",b)},a);
a.ba=b};
yp=function(a,b){null!=a.o&&null!=a.B&&(a.o.Ca(a.B,"creativeview",a.ga),a.o.V(a.B,"creativeview",b));a.ga=b};
Ap=function(a,b){var c=a.Ba,d={};d.style="cursor:default;position:relative;z-index:1001;height:"+a.getHeight()+"px;";"Text"!=a.od()&&(d.style+="width:"+a.Eb()+"px");D(g.E(c))||(d.id=c);return g.he("DIV",d,b)};
Bp=function(a){if(!a.D)return null;var b=mp(a,"start");rb(b,mp(a,"creativeview"));if(null!=b&&!g.ib(b)){var c=[];(0,g.G)(b,function(a){if(!D(g.E(a))){var b=g.Vd().tH("IFRAME",{frameborder:0,style:"border:0;vertical-align:bottom;",src:Xda});g.ah(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",Mm(a.g));b.setAttribute("id",d);this.Sa.push(d);g.kb(c,b)}},a);
return c}return null};
Yda=function(a,b){if(null!=a.B)if(Fm().g("cleanup_text_overlay_spam_signals")){var c=[];(0,g.G)(a.ca,function(a){c.push({element:a,FG:this.rq(a)})},a);
new vp(b,a.B,c)}else c=new El,(0,g.G)(a.ca,function(a){c.set(a,this.rq(a))},a),new km(b,a.B,c)};
Zda=function(a){var b=[],c=a.Wm();(0,g.G)(c,function(a){b=g.pb(b,a.M)},a);
return b};
Cp=function(a,b,c){var d=c||!1;return g.ab(b.F,function(a){var b=a.g==this.g;return this instanceof a.constructor&&(d||b)},a)};
Dp=function(a,b){this.g=null!=a?a:new bp;this.J=null!=b?b:[]};
$da=function(a,b){var c=b.g;(0,g.G)(c.Cb(),function(a){fp(this.g,c.get(a))},a)};
Ep=function(a,b){var c=jp(a.g,b);return null!=c?c:[]};
g.Fp=function(a){if(a.classList)return a.classList;a=a.className;return g.u(a)&&a.match(/\S+/g)||[]};
g.Gp=function(a,b){return a.classList?a.classList.contains(b):g.gb(g.Fp(a),b)};
g.R=function(a,b){a.classList?a.classList.add(b):g.Gp(a,b)||(a.className+=0<a.className.length?" "+b:b)};
g.Hp=function(a,b){if(a.classList)(0,g.G)(b,function(b){g.R(a,b)});
else{var c={};(0,g.G)(g.Fp(a),function(a){c[a]=!0});
(0,g.G)(b,function(a){c[a]=!0});
a.className="";for(var d in c)a.className+=0<a.className.length?" "+d:d}};
g.Ip=function(a,b){a.classList?a.classList.remove(b):g.Gp(a,b)&&(a.className=(0,g.se)(g.Fp(a),function(a){return a!=b}).join(" "))};
g.Jp=function(a,b){a.classList?(0,g.G)(b,function(b){g.Ip(a,b)}):a.className=(0,g.se)(g.Fp(a),function(a){return!g.gb(b,a)}).join(" ")};
g.S=function(a,b,c){c?g.R(a,b):g.Ip(a,b)};
g.Kp=function(a,b,c){g.Gp(a,b)&&(g.Ip(a,b),g.R(a,c))};
g.Lp=function(a,b){var c=!g.Gp(a,b);g.S(a,b,c);return c};
Mp=function(a,b){var c=a(b||aea,void 0,void 0);var d=g.Vd().createElement("DIV");c=bea(c);d.innerHTML=c;1==d.childNodes.length&&(c=d.firstChild,1==c.nodeType&&(d=c));return d};
bea=function(a){if(!g.wa(a))return String(a);if(a instanceof vo){if(a.Cf===Fo)return a.nd();if(a.Cf===Np)return Ja(a.nd())}return"zSoyz"};
Op=function(a,b){wp.call(this,a,b,"Static","text","")};
Pp=function(a){null!=a?Jm(cea,a)?(a=a.match(/yt_vid\/([a-zA-Z0-9_-]{11})/),a=null!=a&&1<a.length?a[1]:null):a=Km(a)?dea(a):null:a=null;return a};
Qp=function(a,b,c){if(null==a)return null;c=new g.Kl((null!=c?c:"//www.youtube.com/")+"watch");var d=c.g;d.set("v",a);d.set("feature",b?"trueview-instream":"instream");Pl(c,d);return c.toString()};
Rp=function(a){a=null!=a?a:{};var b=new g.Kl("//www.youtube.com/gen_204");Ll(b,"https");a=$l(a);Pl(b,a);return b.toString()};
Sp=function(a){return null===a?!1:"pharma"==(new g.Kl(a)).Wh().toLowerCase()};
dea=function(a){if(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.Kl(a)).g;return bm(a,"v")?a.get("v").toString():bm(a,"video_id")?a.get("video_id").toString():null};
Tp=function(a){return D(g.E(a))?null:"//i1.ytimg.com/vi/"+a+"/mqdefault.jpg"};
$p=function(a,b,c){var d={};a=new Up(a,g.t(b)?b:null,g.t(c)?c:null);Vp(d,a);b=a.error;d.ERRORCODE=1E3>b.o?b.o:900;Xp(d);Yp(d,a);Zp(d,a);b=a.error.Nb();d.ERROR_MSG=a.error.Cd();d.IMA_ERROR=b;d.INTERNAL_ID="0";d.BLOCKING_ERROR=-1!=(0,g.fb)(eea,b)?"1":"0";d.YT_ERROR_CODE=3;return d};
aq=function(a,b){var c={},d=new Up(null,a,g.t(b)?b:null);Vp(c,d);Xp(c);Yp(c,d);Zp(c,d);c.BREAK_TYPE="0";c.SLOT_POS="0";c.MIDROLL_POS="0";if(null!=d.g){var e=d.g.A;if(null!=e&&null!=e.Jh&&null!=e.Jh.video_start_delay)e=e.Jh.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.C;c.BREAK_TYPE=0==e.B?"1":-1==e.B?"3":"2";var f=d.g.Ze();f&&(c.BREAK_TYPE=f);c.SLOT_POS=e.g-1;e=d.g.A;e=null!=e&&null!=e.Fc&&null!=e.Fc.GET_MIDROLL_POSITION_IN_SEC?e.Fc.GET_MIDROLL_POSITION_IN_SEC:
null;f=Math.round(d.g.C.o);e=0<f&&e?e(f):f;0<e&&(c.MIDROLL_POS=e)}}fea(c,d);gea(c,d);d=a.jb;for(e=a;null!=e;)d=e.La+","+d,e=e.o;c.RWT=d;return c};
Up=function(a,b,c){this.error=a;this.g=b;this.o=c};
bq=function(a,b){null!=b&&(a.VIEWABILITY=b)};
cq=function(a,b,c,d){hea(c,b)?a[c]=d||"":a[c]=""};
hea=function(a,b){return(0,g.Bk)(iea[a],function(a){return null!=b.match(a)})};
Vp=function(a,b){a.CACHEBUSTING={toString:function(){return Math.round(1E8*Math.random()+1E8).toString().slice(1)}};
a.ASSETURI={toString:function(){return null!=b.o?b.o.getVideoUrl():""}};
a.TIMESTAMP={toString:function(){return(new Date).toISOString()}}};
gea=function(a,b){a.AD_CPN={toString:function(){return b.o.Ae()}};
a.AD_MT={toString:function(){return Math.round(Math.max(0,1E3*b.o.getCurrentTime())).toString()}};
a.MT={toString:function(){return b.o?Math.round(Math.max(0,1E3*b.o.getCurrentTime(1))).toString():"0"}};
a.P_W={toString:function(){return null!=b.o&&null!=b.o.Lf()?b.o.Lf().width.toString():""}};
a.P_H={toString:function(){return null!=b.o&&null!=b.o.Lf()?b.o.Lf().height.toString():""}}};
Xp=function(a){a.SDKV=Gn(In);a.EL="adunit";a.CONN="0";a.WT={toString:function(){return Date.now()}};
a.VED=""};
Yp=function(a,b){if(null!=b.g&&null!=b.g.A&&null!=b.g.A.Fc&&O.g()){var c=b.g.A.Fc;(0,g.G)(jea,function(b){b in c&&(a[b]=c[b])})}};
Zp=function(a,b){if(null!=b.g){a.AD_ID=kea(b.g);a.AD_SYS=lea(b.g);var c=dq(b.g);a.AQI=null!=c?c:"";a.AD_V={toString:function(){if(null!=b.o){var a=Pp(b.o.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"}};
fea=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.o?b.o.fj()?"0":Math.round(100*b.o.getVolume()).toString():""}})};
hq=function(a,b,c){var d=null,e=c+b;(0,g.G)(a.F,function(f){if(eo(f.G,"rm")){var k=aq(a);fq(a)&&(k.FILLED_OPPORTUNITY=0);Vm(a.ba,k);(k=a.A)&&k.afcRmFallback&&(d=f)}else{if(k=f instanceof wp)0==c&&0==b||f instanceof Op?k=!0:(k=f.gf(),k=k.width<=b&&k.height<=c);k&&(k=0==c&&0==b?0:c-f.gf().height+b-f.gf().width,"Flash"!=f.od()||$n)&&(null!=d?k<e?(d=f,e=k):k==e&&("Flash"==d.od()&&"Javascript"==f.od()?d=f:f.g<d.g&&(d=f)):(d=f,e=k))}});
gq(a,d)};
iq=function(a){var b=null;(0,g.G)(a.F,function(a){a instanceof pp&&(null===b||a.g<b.g)&&(b=a)});
gq(a,b)};
jq=function(a,b,c,d){this.B=a;this.F=b;this.ads=0<this.B.length?this.B:this.F;this.D=c;this.C=this.G=!0;this.o=-1;this.g=null;this.K=this.A=0;this.M=d;this.logger=null};
nq=function(a,b,c){var d=[],e=(0,g.y)(function(a){this.Jf()?this.Xe(function(a){d.push(a);e(null)},function(a){301==a.Nb()?c(Ym(kq)):e(a)}):0<d.length?b(d):(null==a&&(a=Ym(lq)),1012==a.Nb()&&(a=Ym(mq)),c(a))},a);
e(null)};
mea=function(a,b){a.C=b;a.ads=a.Iw(a.B,a.F);a.o=-1};
nea=function(a,b,c,d){var e=a.D.clone();e.o="";e.g=b.Yb;oq(a,b,e,c,d)};
oq=function(a,b,c,d,e){var f=b.getExtension("LocalRedirect");null!=f&&(f=f.A,null!=f&&(c.o=f));a.M.fetch(c,(0,g.y)(function(a){a instanceof jq?(oea(a,b,this.C&&b.rb,b.wb),d(a)):a instanceof pq?e(new xm("adLoadError","Ad source cannot contain playlist response.",2)):e(new xm("adLoadError","Unknown ad source.",2))},a),e)};
pea=function(a){var b=0;for(a=a.o;null!=a;)a=a.o,b++;return b};
qea=function(a,b,c){a.g.Jf()?a.g.Xe((0,g.y)(function(a){this.ao(a,b,(0,g.y)(function(a){this.Jf()?this.Xe(b,c):c(a)},this))},a),(0,g.y)(function(a){qq(this.ads[this.o],a);
this.g=null;O.g()||301!=a.Nb()?this.Jf()?this.Xe(b,c):c(a):c(a)},a)):(0==a.g.A&&qq(a.ads[a.o],Ym(rq)),a.g=null,a.Xe(b,c))};
qq=function(a,b){if(b.A){1012==b.Nb()&&(b=Ym(mq));var c=$p(b,a),d=a.pa;O.g()&&Fm().g("disable_reporting_html5_no_vast_ads_as_error")&&303==b.Nb()&&(d=(0,g.se)(d,function(a){return!La(a,".youtube.com/api/stats/ads")}));
Vm(d,c)}};
tea=function(a,b,c){a.o++;var d=a.ads[a.o];d.ha||d.ga?d.ga?nea(a,d,(0,g.y)(function(a){this.g=a;this.Xe(b,c)},a),(0,g.y)(function(a){a=sq(a);
qq(d,a);c(a)},a)):pea(d)>=O.O?(a=Ym(rea,null,String(O.O)),qq(d,a),c(a)):a.G?a.Ms(d,(0,g.y)(function(a){this.g=a;
this.Xe(b,c)},a),(0,g.y)(function(a){a=sq(a);
qq(d,a);c(a)},a)):c(Ym(sea)):a.ao(d,b,c)};
sq=function(a){switch(a.Nb()){case 300:case 301:case 302:case 303:case 200:case 1012:break;default:a=Ym(rq)}return a};
oea=function(a,b,c,d){(0,g.G)(a.ads,function(a){a.o=b});
mea(a,c);a.G=d};
tq=function(a){Dp.call(this);this.o=(0,window.isNaN)(a)?-1:a};
uq=function(a,b,c,d){jq.call(this,[],a,b,c);this.J=d};
vq=function(a){var b=a.ads.length-(0>a.o?1:a.o+1);return null!=a.g&&a.g instanceof uq?b+vq(a.g):b};
wq=function(a){g.Kl.call(this,a);this.F=new El;a=this.A;var b=a.indexOf(";"),c=null;0<=b?(g.Ol(this,a.substring(0,b)),c=a.substring(b+1)):g.Ol(this,a);uea(this,c)};
uea=function(a,b){D(g.E(b))||(0,g.G)(b.split(";"),function(a){var b=a.indexOf("=");if(0<b){var c=Ia(a.substring(0,b));a=Ia(a.substring(b+1));b=this.F.get(c);null!=b?g.gb(b,a)||b.push(a):b=[g.E(a)];this.F.set(c,b)}},a)};
xq=function(a,b){if(D(g.E(b)))return null;var c=a.F.get(b);return null!=c?c:null};
yq=function(a,b,c){D(g.E(b))||(c=g.H(c,g.E),a.F.set(b,c))};
zq=function(a,b){var c=[g.E(b)];rb(c,vea(a));return c.join(";")};
vea=function(a){var b=xq(a,"ord");null!=b?D(g.E("ord"))||a.F.remove("ord"):b=[g.E((0,g.F)())];var c=[];(0,g.G)(a.F.Cb(),function(a){(0,g.G)(this.F.get(a),function(b){rb(c,a+"="+b)})},a);
rb(c,"ord="+b[0]);yq(a,"ord",b);return c};
Bq=function(a){if(null==a)return!1;a=new g.Kl(a);var b=a.A;return Ga(a.o,"googleads.g.doubleclick.net")&&Aq("/pagead/(live/)?ads",b)};
Cq=function(a){a=a.g;return null!=a?"bid.g.doubleclick.net"==(new g.Kl(a)).o:!1};
Dq=function(a){if(null==a)return!1;var b=new wq(a);a=b.o;b=zq(b,b.A);return!Ga(a,".g.doubleclick.net")&&Ga(a,"doubleclick.net")&&Aq("/(ad|pfad)[x|i|j]?/",b)};
Eq=function(a){if(null==a)return!1;a=new g.Kl(a);var b=a.A;return Ga(a.o,"doubleclick.net")&&Aq("/gampad/(live/)?ads",b)};
wea=function(a){return Bq(a.g)||Dq(a.g)||Eq(a.g)||Cq(a)};
Fq=function(a){a=a.g;if(null==a)return!1;a=new g.Kl(a);var b=a.A;return Ga(a.o,"youtube.com")&&Aq("/get_midroll_info",b)};
xea=function(a){a=a.g;if(null==a)return null;a=(new g.Kl(a)).g;return null!=a.get("ms")?g.E(a.get("ms")):null};
Aq=function(a,b){return D(g.E(b))?!1:(new RegExp(a)).test(b)};
Gq=function(a,b,c,d){this.g=a;this.A=b;this.o=c;this.B=null!=d?d:!1};
Hq=function(a,b){a.g.J=b;(0,g.G)(a.A,function(a){Hq(a,b)},a)};
Iq=function(a){return Go('<div class="'+Q("iv-endcap-background")+'"><div class="'+Q("iv-endcap-slot")+'"><div class="'+Q("iv-endcap-card")+'"><a class="'+Q("iv-endcap-image")+'" href="'+Q(Xo(a.target))+'" target="_blank"><img src="'+Q(Yo(a.image))+'"></a><div class="'+Q("iv-endcap-text")+'" dir='+Po(a.dir)+'><a href="'+Q(Xo(a.target))+'" target="_blank"><div class="'+Q("iv-endcap-headline")+'">'+P(a.headline)+'</div><div class="'+Q("iv-endcap-description")+'">'+P(a.description)+'</div></a></div><a class="'+
Q("iv-endcap-action")+'" href="'+Q(Xo(a.target))+'" target="_blank" dir='+Po(a.dir)+">"+(a.action?P(a.action):'<span class="'+Q("iv-endcap-action-icon")+'"></span>')+'</a></div></div><div class="'+Q("iv-endcap-bottom")+'"><svg class="'+Q("iv-endcap-countdown")+'" viewBox="0 0 20 20"><circle class="'+Q("iv-endcap-countdown-inner")+'" r="5" cx="10" cy="10" /><circle class="'+Q("iv-endcap-countdown-outer")+'" r="10" cx="10" cy="10" /></svg></div></div>')};
yea=function(){var a=Ca("Next");return Go(""+a)};
zea=function(){var a=Ca("Previous");return Go(""+a)};
Aea=function(a){var b='<div class="'+Q("iv-cards-companion")+'"><div class="'+Q("iv-cards-attribution")+'"><span class="'+Q("yt-badge")+" "+Q("yt-badge-ad")+'">'+Jq()+"</span>";if(a.xv&&a.Lc)var c=Ca("Shop products from {$advertiserName}",{advertiserName:P(a.xv)}),b=b+('<a class="'+Q("ad-companion-clickthrough")+'" href="'+Q(Xo(a.Lc))+'" target="_blank">'+c+"</a>");for(var b=b+('<div class="'+Q("yt-uix-hovercard")+" "+Q("ad-info-container")+'"><span class="'+Q("yt-uix-hovercard-target")+'" data-position="topright" data-orientation="horizontal"><span class="ad-info-icon"></span></span><div class="'+
Q("yt-uix-hovercard-content")+'"><p>'+P(a.oe)+'</p></div></div></div><div class="'+Q("iv-cards-slider")+'"><div class="'+Q("iv-cards-slider-body")+'"><ul class="'+Q("iv-cards-slider-list")+'">'),c=a.cards,d=c.length,e=0;e<d;e++)var f=c[e],k='<li class="'+Q("iv-cards-slider-item")+'">',f=Go('<div class="'+Q("iv-cards-slider-unit")+'"><a href="'+Q(Xo(f.target))+'" target="_blank"><div class="'+Q("iv-cards-slider-image")+'"><span class="'+Q("iv-cards-image-helper")+'"></span><img src="'+Q(Yo(f.image))+
'"></div><div class="'+Q("yt-ui-ellipsis")+" "+Q("yt-ui-ellipsis-4")+" "+Q("iv-cards-slider-text")+'">'+P(f.headline)+'</div><span class="'+Q("iv-cards-slider-action")+'">'+P(f.action)+"</span></a></div>"),b=b+(k+f+"</li>");b+="</ul></div>"+(a.jS?'<button class="'+Q("iv-cards-slider-button")+" "+Q("iv-cards-slider-prev")+'" type="button" onclick=";return false;"><span class="'+Q("iv-cards-slider-prev-icon")+" "+Q("yt-uix-tooltip")+" "+Q("yt-sprite")+'" data-tooltip-text="'+Q(a.YA)+'" title="'+Q(a.YA)+
'" /></button><button class="'+Q("iv-cards-slider-button")+" "+Q("iv-cards-slider-next")+'" type="button" onclick=";return false;"><span class="'+Q("iv-cards-slider-next-icon")+" "+Q("yt-uix-tooltip")+" "+Q("yt-sprite")+'" data-tooltip-text="'+Q(a.Pz)+'" title="'+Q(a.Pz)+'"></span></button>':"")+"</div></div>";return Go(b)};
Bea=function(a){return Go('<div class="'+Q("iv-website-companion")+'"><div class="'+Q("yt-uix-hovercard")+" "+Q("ad-info-container")+" "+Q("iv-website-companion-ad-info")+'"><span class="'+Q("yt-uix-hovercard-target")+'" data-position="topright" data-orientation="horizontal"><span class="ad-info-icon"></span></span><div class="'+Q("yt-uix-hovercard-content")+'"><p>'+P(a.oe)+'</p></div></div><a href="'+Q(Xo(a.target))+'" target="_blank">'+(a.bannerImageUrl?'<img class="'+Q("iv-website-companion-banner")+
'" src="'+Q(Yo(a.bannerImageUrl))+'">':"")+'<div class="'+Q("iv-website-companion-block")+'"><div class="'+Q("iv-website-companion-icon")+'"><img src="'+Q(Yo(a.AI))+'"></div><div class="'+Q("iv-website-companion-text")+'"><div class="'+Q("iv-website-companion-header")+'">'+P(a.headline)+'</div><div class="'+Q("iv-website-companion-desc")+'"><span class="'+Q("yt-badge")+" "+Q("yt-badge-ad")+'">'+Jq()+'</span><span class="'+Q("iv-website-companion-domain")+'">'+P(a.descriptionText)+'</span></div></div><div class="'+
Q("iv-website-companion-action")+" "+Q("yt-uix-button-size-default")+" "+Q("yt-uix-button-primary")+'">'+(a.lv?P(a.lv):'<span class="'+Q("iv-website-companion-action-icon")+'"></span>')+'</div></div><a href="'+Q(Xo(a.target))+'" target="_blank"></div>')};
Jq=function(){var a=Ca("Ad");return Go(""+a)};
Cea=function(a){var b=Kq(a);if(!b)return{};var c=Lq(b);return c?{shoppingCompanionItemRenderer:{headline:Mq(b.pd()),merchant:Mq(Nq(c)),image:{thumbnails:[{url:Oq(b).getImageUrl()}]},priceText:Mq(Pq(c)),clickthroughEndpoint:Qq(Rq(Sq(a)))}}:{}};
Mq=function(a){return{runs:[{text:a}]}};
Qq=function(a){a=a||"";return{webNavigationEndpointData:{url:a},urlEndpoint:{url:a,target:"TARGET_NEW_WINDOW"}}};
Tq=function(a){return{baseUrl:a}};
Uq=function(a,b){this.g=a;this.o=b};
ip=function(a){return a.o?-1:a.g};
hp=function(a,b){a.o&&(a.o=!1,a.g=a.g*b/100)};
Dea=function(a,b,c){b=c||b;a=a||{};return""+Lo("a",a.Lm)(a,null,b)};
Eea=function(a){return'<div class="'+P("videoAdUi")+'"><div class="'+P("videoAdUiTopBar")+'"><div class="'+P("videoAdUiAttributionContainer")+" "+P("videoAdUiAttributionContainer-gvn")+'"><div class="'+P("videoAdUiAttribution")+'"'+P($o(a.attributionText))+">"+P(a.attributionText)+'</div></div></div><div class="'+P("videoAdUiProgressBar")+'" dir="ltr"><div class="'+P("videoAdUiProgress")+'"></div></div></div>'};
Fea=function(a){return'<div class="'+P("videoAdUi")+'"><div class="'+P("videoAdUiTopBar")+'"><div class="'+P("videoAdUiAttributionContainer")+" "+P("videoAdUiAttributionContainer-gvn")+'"><div class="'+P("videoAdUiAttribution")+'"'+P($o(a.attributionText))+">"+P(a.attributionText)+'</div></div><div class="'+P("videoAdUiLearnMoreText")+" "+P("videoAdUiLearnMoreText-gvn")+'">'+P(a.jh)+'<div class="'+P("videoAdUiLearnMoreIcon")+'"></div></div></div><div class="'+P("videoAdUiProgressBar")+'" dir="ltr"><div class="'+
P("videoAdUiProgress")+'"></div></div></div>'};
Vq=function(){return Go('<div class="'+Q("videoAdUiPreSkipContainer")+'"><div class="'+Q("videoAdUiPreSkipButton")+'"><div class="'+Q("videoAdUiPreSkipText")+'"></div><div class="'+Q("videoAdUiPreSkipThumbnail")+'" aria-hidden="true"></div></div></div>')};
Gea=function(){return Go('<div class="'+Q("videoAdUiPreSkipContainer")+" "+Q("videoAdUiPreSkipContainerPlainThumbnailCountdown")+'"><div class="'+Q("videoAdUiPreSkipButton")+'"><div class="'+Q("videoAdUiPreSkipText")+'">You can skip to video in</div><div class="'+Q("videoAdUiPreSkipThumbnail")+'"><div class="'+Q("videoAdUiPreSkipThumbnailCountdown")+'"><span class="'+Q("videoAdUiPreSkipTextTimeLeft")+'"></span></div></div></div></div>')};
Wq=function(a){a=a||{};return""+Ca("Your video will begin in {$xSeconds}",{xSeconds:P(a.Ig)})};
Hea=function(a){return Go('<div class="'+Q("videoAdUiBrandPrecapContainer")+" "+Q("html5-stop-propagation")+'"><div class="'+Q("videoAdUiBrandPrecapContent")+'"><div class="'+Q("videoAdUiBrandPrecapImageContainer")+'" aria-hidden="true"><img class="'+Q("videoAdUiBrandPrecapBrandImage")+'" src="'+Q(Yo(a.yG))+'"></div><div class="'+Q("videoAdUiBrandPrecapTextContainer")+'"><div class="'+Q("videoAdUiBrandPrecapBrandName")+'">'+P(a.AG)+'</div><div class="'+Q("videoAdUiBrandPrecapBrandMessage")+'">'+P(a.zG)+
"</div></div></div></div>")};
Iea=function(a){return Go('<div class="'+Q("videoAdUiBrandPrecapContainer")+" "+Q("html5-stop-propagation")+'"><img class="'+Q("videoAdUiBrandPrecapAutoGenImage")+'" src="'+Q(Yo(a.xG))+'"></div>')};
Jea=function(a){a=a||{};return Go('<div class="'+Q("videoAdUiBrandInteractionUnit")+" "+Q("html5-stop-propagation")+'"><span class="'+Q("videoAdUiBrandInteractionPreMessageText")+'">'+P(a.preMessageText)+'</span><div class="'+Q("videoAdUiBrandInteractionButtonContainer")+'"><button class="'+Q("videoAdUiBrandInteractionButton")+" "+Q("videoAdUiBrandInteractionLikeButton")+'"><div class="'+Q("videoAdUiBrandInteractionIcon")+" "+Q("videoAdUiBrandInteractionLikeIcon")+'"></div></button><span class="'+
Q("videoAdUiBrandInteractionMessageBox")+" "+Q("videoAdUiLikeMsg")+'"></span></div><div class="'+Q("videoAdUiBrandInteractionButtonContainer")+'"><button class="'+Q("videoAdUiBrandInteractionButton")+" "+Q("videoAdUiBrandInteractionDislikeButton")+'"><div class="'+Q("videoAdUiBrandInteractionIcon")+" "+Q("videoAdUiBrandInteractionDislikeIcon")+'"></div></button><span class="'+Q("videoAdUiBrandInteractionMessageBox")+" "+Q("videoAdUiDislikeMsg")+'"></span></div></div>')};
Kea=function(a){return Go('<div class="'+Q("videoAdUiBrandInteractionUnit")+" "+Q("videoAdUiBrandInteractionUnitConfirmationMsg")+" "+Q("html5-stop-propagation")+'"><div class="'+Q("videoAdUiBrandInteractionPostMessageText")+'">'+P(a.postMessageText)+"</div></div>")};
Lea=function(a){a=a||{};return Go('<div class="'+Q("videoAdUiReasonToWatchBox")+" "+Q("html5-stop-propagation")+'"><div class="'+Q("videoAdUiReasonToWatchText")+'">'+P(a.XR)+"</div></div>")};
Mea=function(a){a=a||{};return Go('<div class="'+Q("videoAdUiReasonToWatchBox")+" "+Q("videoAdUiReasonToWatchDynamicBox")+" "+Q("html5-stop-propagation")+'"><div class="'+Q("videoAdUiReasonToWatchDynamicPrefixText")+'">'+P(a.WR)+'</div><div class="'+Q("videoAdUiReasonToWatchDynamicTopic")+'">'+P(a.YR)+"</div></div>")};
Nea=function(a){return'<div class="'+P("videoAdUiSkipContainer")+" "+P("html5-stop-propagation")+'"><button class="'+P("videoAdUiSkipButton")+" "+P("videoAdUiAction")+'">'+P(a.lt)+'<div class="'+P("videoAdUiSkipIcon")+'"></div></button></div>'};
Oea=function(a){return'<div class="'+P("videoAdUiSkipContainer")+" "+P("html5-stop-propagation")+'"><button class="'+P("videoAdUiSkipButton")+" "+P("videoAdUiAction")+'"><div class="'+P("videoAdUiSkipButtonExperimentalText")+'">'+P(a.lt)+'</div><div class="'+P("videoAdUiSkipIcon")+'"></div></button></div>'};
Pea=function(a){return'<div class="'+P("videoAdUiSkipContainer")+" "+P("html5-stop-propagation")+" "+P("videoAdUiSkipContainerWithThumbnail")+'"><div class="'+P("videoAdUiSkipText")+'">'+P(a.lt)+'</div><button class="'+P("videoAdUiSkipButton")+" "+P("videoAdUiAction")+" "+P("videoAdUiSkipButtonWithThumbnail")+'"><div class="'+P("videoAdUiSkipIconContainer")+'"><div class="'+P("videoAdUiSkipIcon")+'"></div></div></button></div>'};
Xq=function(a){var b="";a=2<=a.Gg&&1<=a.lg?Ca("Ad {$adPosition} of {$totalAds} {$timeLeft}",{adPosition:P(a.lg),totalAds:P(a.Gg),timeLeft:P(a.Eg)}):Ca("Ad {$timeLeft}",{timeLeft:P(a.Eg)});return b+=a};
Yq=function(a){var b="";a=2<=a.Gg&&1<=a.lg?Ca("{$adPosition} of {$totalAds} {$timeLeft}",{adPosition:P(a.lg),totalAds:P(a.Gg),timeLeft:P(a.Eg)}):Ca("{$timeLeft}",{timeLeft:P(a.Eg)});return b+=a};
$q=function(){var a=Zq(),b=Go("</a>"),c="",a=Ca("Visit Google's {$beginFormat}Ad Settings{$endFormat} to learn more about how ads are targeted or to opt out of personalized ads.",{beginFormat:P(a),endFormat:P(b)}),c=c+("<div class='"+Q("videoAdUiAdSettingsLongTooltip")+"'>"+a+"</div>");return Go(c)};
Zq=function(){return Go('<a href="https://www.google.com/settings/ads/onweb" target="_blank">')};
ar=function(a){return Go("<div class='"+Q("videoAdUiPopupBackground")+"'><div class='"+Q("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=\''+Q("videoAdUiPopupPositioner")+"'><form class='"+Q("videoAdUiPopupFrame")+"'><div class='"+Q("videoAdUiPopupHeading")+" "+Q("videoAdUiHideIfEmpty")+"'>"+P(a.heading)+"</div><div class='"+
Q("videoAdUiPopupText")+"'>"+P(a.message)+"</div><div class='"+Q("videoAdUiPopupButtons")+"'>"+P(a.buttons)+"</div></form></div></div>")};
Qea=function(a){for(var b="<ul class='"+Q("videoAdUiWhyThisAdReasons")+" "+Q("videoAdUiHideIfEmpty")+"'>",c=a.targetingReasons,d=c.length,e=0;e<d;e++)b+="<li>"+P(c[e])+"</li>";b+="</ul><div class='"+Q("videoAdUiWhyThisAdGenericMessage")+"'>"+P(a.nq)+"</div><a class='"+Q("videoAdUiWhyThisAdMute")+" "+Q("videoAdUiHideIfEmpty")+"'>"+P(a.mute)+"</a><a class='"+Q("videoAdUiWhyThisAdControl")+" "+Q("videoAdUiHideIfEmpty")+"' href='https://www.google.com/settings/ads/onweb' target='_blank'>"+P(a.control)+
"</a>";a=""+ar({heading:br(""+P(a.heading)),message:br(b),buttons:br("<button class='"+Q("videoAdUiWhyThisAdCloseButton")+" "+Q("videoAdUiPopupDefaultButton")+"'>"+P(a.close)+"</button>")});return Go(a)};
Rea=function(a){for(var b=""+P(a.question),c=a.options,d=c.length,e=0;e<d;e++)var f=c[e],b=b+("<label for='"+Q("videoAdUiMuteOption")+Q(e)+"'><input type='radio' id='"+Q("videoAdUiMuteOption")+Q(e)+"' name='"+Q("videoAdUiMuteOption")+"' class='"+Q("videoAdUiMuteOption")+Q(e)+"' />"+P(f)+"</label>");a=""+ar({heading:br(P(a.heading)+" <a class='"+Q("videoAdUiMuteUndo")+"'>"+P(a.undo)+"</a>"),message:br(b),buttons:br("<button class='"+Q("videoAdUiMuteCancel")+" "+Q("videoAdUiPopupButton")+"'>"+P(a.cancel)+
"</button><button class='"+Q("videoAdUiMuteConfirm")+" "+Q("videoAdUiPopupDefaultButton")+"'>"+P(a.confirm)+"</button>")});return Go(a)};
Sea=function(a){var b=String(""+a.heading);return Go(ar({heading:b?new wo(b,void 0):"",message:br(""+P(a.message)),buttons:br("<button class='"+Q("videoAdUiMuteCancel")+" "+Q("videoAdUiPopupButton")+"'>"+P(a.cancel)+"</button><button class='"+Q("videoAdUiMuteConfirm")+" "+Q("videoAdUiPopupDefaultButton")+"'>"+P(a.confirm)+"</button>")}))};
Tea=function(){return Go("<div class='"+Q("videoAdUiMuteToggleButton")+"'><div class='"+Q("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=\''+
Q("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>')};
cr=function(a,b,c){wp.call(this,"1",Uea,"Html",null,"dummy");this.F=0;this.va=a.length;zp(this,new g.cm(this));this.P=Vea(a,b);this.Ua=g.J("iv-cards-slider-list",this.P);if(this.X=g.J("iv-cards-slider-prev",this.P))this.o.V(this.X,"click",this.Pa),g.N(this.X,!1);(this.fa=g.J("iv-cards-slider-next",this.P))&&this.o.V(this.fa,"click",this.La);this.o.V(this.P,"click",g.Aa(function(a,b,c){c.target!=a&&Vm(b)},g.J("ad-companion-clickthrough",this.P),c))};
Vea=function(a,b){var c=(0,g.H)(a,function(a){var b=Kq(a),c=Lq(b);a=Sq(a);return{headline:b.pd(),description:dr(b,"description"),image:Oq(b).getImageUrl(),action:Pq(c),target:Rq(a),merchant:Nq(c)}}),d=3<a.length;
return Mp(Aea,{cards:c,xv:c[0].merchant,Pz:yea(),YA:zea(),oe:$q(),Lc:b,jS:d})};
er=function(a){a.Ua.style.left=125*-a.F+"px";a.X&&g.N(a.X,0<a.F);a.fa&&g.N(a.fa,a.F<a.va-3)};
hr=function(a){wp.call(this,"1",Wea,"Html",null,"website_actions_companion");zp(this,new g.cm(this));var b=a.g(),c=b&&b.sg(),d=b&&b.Vm();a=Sq(a);b={headline:b&&b.pd()||"",AI:c&&c.getImageUrl()||"",bannerImageUrl:d&&d.getImageUrl()||"",lv:a&&fr(a)||"",descriptionText:b&&gr(b)||"",target:a&&Rq(a)||"",oe:$q()};this.F=Mp(Bea,b)};
Xea=function(){if(!g.sc)return!1;try{return new window.ActiveXObject("MSXML2.DOMDocument"),!0}catch(a){return!1}};
kr=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(ir){var c=jr();if(c)return a&&c.appendChild(c.createNode(1,a,b||"")),c}throw Error("Your browser does not support creating new documents");};
g.lr=function(a){if("undefined"!=typeof window.DOMParser)return(new window.DOMParser).parseFromString(a,"application/xml");if(ir){var b=jr();b.loadXML(a);return b}throw Error("Your browser does not support loading xml documents");};
mr=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");};
jr=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};
nr=function(a){return Ym(Yea,null,a.parentNode.nodeName,a.nodeName)};
or=function(a){return Ym(Zea,null,a.parentNode.nodeName,a.nodeName)};
pr=function(a){var b=kr(a.tagName,a.namespaceURI),c=g.ve(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};
qr=function(a,b){return null!=a?(0,g.se)(g.te(a),function(a){return a.nodeName==b}):[]};
rr=function(a,b){var c=a.getAttribute(b);return null!=c?c.toLowerCase():null};
sr=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=Ra(c);b&&(c=La(c,"&")?"document"in pa?naa(c):oaa(c):c);return c};
tr=function(a,b,c,d){if(null!=a){a=g.te(a);for(var e=0,f=a.length;e<f;e++){var k=a[e];if(k.nodeName!=b)throw nr(k);c.call(d,k)}}};
ur=function(a){a=g.E(a);return D(a)?window.NaN:Wa(a)};
vr=function(a,b){if(null!=a){var c=a.split(":");if(3==c.length)return c=new xn(0,0,0,Wa(c[0]),Wa(c[1]),Wa(c[2])),60*(60*(24*c.days+c.g)+c.o)+c.A}return null!=b?b:-1};
wr=function(a,b){var c=g.E(a);if(!D(c))switch(c.toLowerCase()){case "true":case "1":return!0;case "false":case "0":return!1}return null!=b?b:!1};
yr=function(a,b){if(b)return a;var c=g.E(a);D(c)?c=a:$ea.test(c)&&(La(c,"/pagead/adview")||La(c,"/pagead/conversion")||La(c,"/gampad/live/conversion")?afa(c):La(c,"/pcs/view")&&bfa(c))?(c=xr(c,"&sdkv="+Gn(In)),In.ca&&(c=xr(c,"&ssss=gima"))):c=a;return c};
xr=function(a,b){var c=a.indexOf("&adurl=");return-1!=c?paa(a.substr(0,c),b,a.substr(c,a.length)):a+b};
afa=function(a){a=a||"";return(0,g.zr)(cfa,function(b){return 0<=Dg(a,0,b,a.search(Eg))})};
bfa=function(a){a=a||"";return(0,g.zr)(dfa,function(b){return 0<=Dg(a,0,b,a.search(Eg))})};
Cr=function(a,b,c){var d=new bp;tr(a,"Tracking",function(a){var e=rr(a,"event"),k=yr(sr(a),b);Ar(k)&&null!=e&&(null!=c&&(k=c(e,k)),"progress"==e?(a=rr(a,"offset"),a=Br(a),null!=a&&gp(d,e,k,a)):gp(d,e,k))});
return d};
efa=function(a){if(D(g.E(a)))return null;a=new g.Kl(a);if("thismessage"!=a.B||"extensions"!=a.o)return null;a=a.A;if(!g.Fa(a,"/"))return null;a=a.substr(1);return D(g.E(a))?null:a};
Br=function(a){if(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 Uq(a,!0)}else if(a=vr(a),0<=a)return new Uq(a,!1);return null};
Ar=function(a){if(D(g.E(a)))return!1;try{new g.Kl(a)}catch(b){return!1}return!0};
Dr=function(a,b){Dp.call(this);this.o=a;this.A=b};
Er=function(){};
Fr=function(a,b){Dp.call(this,b);this.o=a};
Gr=function(a){Dp.call(this);this.o=a};
Ir=function(a,b,c,d,e,f,k,l,m,n,q,r,w,A,C,B,M,X){this.va=a;this.sa=b;this.X=c;this.Gb=e;this.Pa=(0,window.isNaN)(m)||""==m||0==m?-1:m;this.pa=n?g.qb(n):[];this.ba=q?g.qb(q):[];this.F=r?g.qb(r):[];this.fa=[];this.O=[];this.M=null;this.ca=[];this.Ja=!0;this.o=this.g=this.J=null;this.G=new El(A);this.ga=null!=X;this.rb=(this.ha=null!=C)?B||!1:!1;this.wb=this.yJ?M||!1:!1;this.Hb=g.E(C);this.Yb=g.E(X);this.Ab=this.A=null;this.C=new Dda;this.da=new g.Qd(0,0);this.K=String(Math.floor(1E9*Math.random()));
this.Ua=this.ka=this.P=this.D=null;this.jb=(0,g.F)();this.Sa=this.La=0;this.ua=this.bb=!1;this.B=[];this.Wa=null;this.Aa=!1;(0,g.G)(this.F,function(a){a.J=this},this);
Hr(this,w)};
eq=function(a){var b=a.getExtension("AdFormat");if(null!=b&&Ga(b.o+"_"+b.A+"_"+b.B,"2_4"))return b.o+"_"+b.A+"_"+b.B;b=Jr(a);b=Kr(a,Lr)?"14":eo(b,"hideMaster")||eo(b,"blockAllAds")?"3":a.Zb()?Mr(a)?"2_3":a.isSkippable()?Nr(a)?"2_1":"2_2":"2":"1";return ffa(a)+"_"+b};
ffa=function(a){if(fq(a))return 4;if(Kr(a,Lr))return 14;if(Kr(a,gfa))return 17;if(Kr(a,hfa))return 15;if(Or(a,ifa)||Or(a,Pr))return 1;var b=Fm();return b&&b.g("fix_petra_ad_foramt")&&(b=Qr(a),null!=b&&(Eq(b)||Dq(b)))?1:Rr(a)?2:0};
Sr=function(a){return null!=a.sa?a.sa:""};
Tr=function(a){return null!=a.o?g.pb(Tr(a.o),a.pa):a.pa};
Ur=function(a){return null!=a.o?g.pb(Ur(a.o),a.ba):a.ba};
Vr=function(a){return null!=a.o?g.pb(a.O,Vr(a.o)):a.O};
Jr=function(a){return null!=a.g?a.g.G:{}};
jfa=function(a){var b={};(0,g.G)(a.F,function(a){a=a.G;for(var c in a)b[c]=a[c]});
return b};
Wr=function(a){return null!=a.g?a.g.ua:""};
Xr=function(a,b){var c=[];(0,g.G)(a.G.ib(),function(a){rb(c,Ep(a,b))});
return c};
gq=function(a,b){a.g=b;a.da=new g.Qd(0,0);if(null!=a.g){a.g instanceof wp&&(a.da=a.g.gf());var c=a.o;if(null!=c){var d=np(a.g,c)||np(a.g,c,!0);gq(c,d)}}O.g()&&kfa(a)&&g.ib(Vr(a))?O.g()&&O.A?(c=a.B,g.ib(c)?c={}:(d=Kq(c[0])&&Lq(Kq(c[0]))&&Nq(Lq(Kq(c[0])))||"",d=Ca("Shop products from {$advertiserName}",{advertiserName:P(d)}),d=Go(""+d),c={shoppingCompanionRenderer:{shopText:Mq(d.toString()),itemList:{horizontalListRenderer:{items:(0,g.H)(c,Cea),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:Mq(Jq().toString()),clickToAdvSiteEndpoint:Qq(Yr(a)),clickTrackingEndpoints:[{loggingUrls:(0,g.H)(Xr(a,"companionClick"),Tq)}],impressionEndpoints:[{loggingUrls:(0,g.H)(Xr(a,"companionImpression"),Tq)}]}}),a.J=c):lfa(a,a.B):O.g()&&g.ib(Vr(a))&&!Fm().g("website_actions_holdback")&&Zr(a,a.B)};
$r=function(a){return null!=a.va?a.va:""};
bs=function(a){if(null==a.o||as(a.o.X))return[];var b=[$r(a.o)];rb(b,bs(a.o));return b};
kea=function(a){var b=bs(a).reverse();b.push($r(a));return b};
cs=function(a){if(null==a.o||as(a.o.X))return[];var b=a.o.g;null!=b?(b=b.ka,b=null!=b?b:""):b="";b=[b];rb(b,cs(a.o));return b};
ds=function(a){if(null==a.o||as(a.o.X))return[];var b=[Sr(a.o)];rb(b,ds(a.o));return b};
es=function(a){if(a.o){var b=es(a.o);if(b)return b}return(a=a.getExtension("metrics"))?a.o:null};
dq=function(a){if(a.o){var b=dq(a.o);if(b)return b}return O.g()?(a=a.getExtension("viral"))?a.o:null:(a=a.getExtension("metrics"))?a.A:null};
lea=function(a){var b=ds(a).reverse();b.push(Sr(a));return b};
as=function(a){return"YT:ADSENSE"==a||"YT:DOUBLECLICK"==a};
fs=function(a){if(null==a.o)return[a.X];var b=fs(a.o);b.push(a.X);as(b[0])&&b.shift();return b};
gs=function(a){a=a.getExtension("waterfall");return null!=a&&-1!=a.Zd()?a.Zd():-1};
hs=function(a){if(-1!=a.Pa)return a.Pa;a=a.getExtension("pod");return null!=a&&-1!=a.o?a.o:-1};
is=function(a){a.Aa||(a.Aa=!0,a.Wa.K++,null!=a.o&&is(a.o))};
js=function(a){if(a.Wa instanceof uq){var b=a.Wa;if(0<vq(b))return b}return null!=a.o?js(a.o):null};
ks=function(a,b,c,d){a=Vr(a);return Zn(new Xn(new g.Qd(b,c),d),a)};
ls=function(a){var b=a.A.dj,c=a.A.cj;if(!b||!c)if(a=a.A.g?Fg(a.A.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.Qd(b,c)};
mfa=function(a,b){var c=g.ab(a.ca,function(a){return 4==a.bc()&&ms(ns(a))});
if(c){var d=c.g();if(!d.sg().getImageUrl()){var e=new os;ps(e,b.channelIconThumbnailUrl);d.sg=function(){return e}}var f=Fm();
if(!d.pd()||f.g("website_actions_suppress_advertiser_supplied_text"))d.pd=function(){return b.authorName};
f.g("website_actions_suppress_advertiser_supplied_text")&&Sq(c).setTitle("");c.g=function(){return d}}};
nfa=function(a){var b=(0,g.se)(a,function(a){return ms(ns(a))});
0==b.length&&0<a.length&&Fm().g("enable_ad_video_end_renderers")&&(b=a.slice(1,2));return b};
lfa=function(a,b){var c=(0,g.se)(b,function(a){return qs(ns(a))});
g.ib(c)&&(c=b);c=new cr(c,Yr(a),Xr(a,"companionClick"));c.J=a;c.D=!0;rs(a,new Gq(c,[],null,!0))};
ofa=function(a,b){var c=g.ab(a.B,function(a){return 4==a.bc()&&qs(ns(a))});
if(!c)return null;var d=c.g();if(!d.sg().getImageUrl()){var e=new os;ps(e,b.channelIconThumbnailUrl);d.sg=function(){return e}}var f=Fm();
if(!d.Vm().getImageUrl()){var k=new os;if(f.g("website_actions_use_companion_image_as_banner")){var l=g.ab(Vr(a),function(a){return"Image"==a.od()});
ps(k,l&&l.g.A||b.g)}else ps(k,b.g);d.Vm=function(){return k}}if(!d.pd()||f.g("website_actions_suppress_advertiser_supplied_text"))d.pd=function(){return b.authorName};
f.g("website_actions_suppress_advertiser_supplied_text")&&Sq(c).setTitle("");c.g=function(){return d};
return c};
Zr=function(a,b){var c=g.ab(b,function(a){return 4==a.bc()&&qs(ns(a))});
if(c){var d=c.g(),e=d&&d.sg().getImageUrl(),f=d&&d.Vm().getImageUrl(),k=d&&d.pd();e&&f&&k&&(O.A?(c=Sq(c),a.J={actionCompanionRenderer:{headline:k,iconImageUrl:e,bannerImageUrl:f,actionTitle:c&&fr(c)||void 0,descriptionText:d&&gr(d)||void 0,target:c&&Rq(c)||void 0}}):(d=new hr(c),d.J=a,d.D=!0,rs(a,new Gq(d,[],null,!0))))}};
pfa=function(a){if(!a.A||ts(a)&&!Kr(a,["ADSENSE/ADX"]))return[];var b=ls(a);if(0>=b.width||0>=b.height)return[];var c=new Un;c.creativeType="All";c.A="All";c.B="SelectNearMatch";c.g=40;var d=ks(a,b.width,b.height,c);if(!g.ib(d))return d;c.o="ResizeSmaller";d=(0,g.se)(Vr(a),function(a){return a.g.Hk()},a);
return Zn(new Xn(new g.Qd(b.width,b.height),c),d)};
vs=function(a){if(g.ib(a.ca))return!1;var b=Fm();if(15>us(a))return!1;var c=qfa,d=a.ca[0].bc();if(d==c.gv){var e=a.ca[0].g();a=e&&e.sg().getImageUrl();e=e&&e.pd();if(!a||!e)return!1}return b.g("enable_ad_video_end_renderers")&&d==c.UF||!b.g("website_actions_holdback")&&!b.g("website_actions_endcap_holdback")&&d==c.gv};
rfa=function(a){var b=null,c=0;(0,g.G)(pfa(a),function(a){var d=ls(this);d=!a.g.Hk()||a.Eb()<=d.width&&a.getHeight()<=d.height?a.sn():ao(a.sn(),d);d=d.width*d.height;d>c&&(c=d,b=a)},a);
return b};
ws=function(a,b){return b||null==a.o?a.fa:g.pb(a.fa,ws(a.o))};
Hr=function(a,b){a.fa=b?g.qb(b):[];(0,g.G)(a.fa,function(a){rb(this.O,g.qb(a.g))},a);
(0,g.G)(a.O,function(a){Hq(a,this)},a);
if(O.g()&&(a.Zb()&&(a.O=(0,g.se)(a.O,function(a){return 60>=a.getHeight()})),O.A)){var c=a.fa[0];
if((c=c&&c.g[0])&&"Static"===c.g.O){var d=c.g.ff(),e=c.g.M,f=c.Eb(),k=c.getHeight();a.J={imageCompanionRenderer:{url:c.g.A,clickThroughUrl:d,clickTrackingUrls:e,width:f,height:k}}}}};
xs=function(a,b){return(0,g.Bk)(a.F,function(a){return a instanceof pp&&"linear"==b||a instanceof wp&&"nonlinear"==b?!0:!1})};
ys=function(a){var b=a.g;return ts(a)&&null!=b&&b instanceof wp&&(90<a.da.height||null!=a.A&&a.A.Ti)};
zs=function(a,b){if(null==b)return null;var c=b.getExtension("adx");return null!=c?c:zs(a,b.o)};
As=function(a){var b=zs(a,a.o);if(null!=b){if("skippable"==b.o)return b.A;if("nonskippable"==b.o)return null}var b=null,c=new Uq(5,!1),d=sfa(a);"implicit"==d&&(b=c);var e=a.g;null==b&&null!=e&&e instanceof pp&&(b=e.D);null!=b||"explicit"!=d||(b=c);return O.g()&&a.Zb()&&null!=b?(b=Fm().g("enable_skip_button_offset_mutation")?b:c,(0,window.isNaN)(a.A.C)?b:new Uq(a.A.C,!1)):b};
sfa=function(a){if(null!=g.ab(a.G.ib(),function(a){return!g.ib(Ep(a,"skip"))}))return"implicit";
var b=a.G.get("DFP");if(b instanceof Fr)switch(b.o){case "InstreamSelect":return"implicit";case "Generic":return"explicit"}a=a.g;return O.g()&&null!=a&&(a=a.hj,null!=a&&!g.ib(ep(a,"skip")))?"explicit":"none"};
Bs=function(a){a=Qr(a);if(null!=a){var b;(b=Bq(a)||Eq(a)||Dq(a))||(null!=a?(a=(new g.Kl(a)).o,b=Ga(a,"viral.adsense.net")):b=!1);a=b}else a=!1;return a};
Nr=function(a){if(null!=a.sa&&null!=a.A){var b;(b=O.g())||!(b=Bs(a)||!1)||(b=ts(a)&&!Kr(a,["ADSENSE/ADX"]))||(Kr(a,Pr)?(b=a.G.get("DFP"),b=null!=b?"InstreamSelect"==b.o:!1):b=!1);a=b||a.o&&a.o.ga&&Bs(a.o)?!0:!1}else a=!1;return a};
Yr=function(a){return null===a.g?null:a.g.ff()};
us=function(a){return null!=a.g?a.g.getDuration():-1};
Cs=function(a){return null===a.M?vs(a)?7:0:10};
Ds=function(a){return null===a.g?null:a.g.nr()};
Es=function(a){return null===a.g?null:a.g.mr()};
ts=function(a){return Kr(a,Fs)||Kr(a,["ADSENSE-VIRAL"])};
fq=function(a){return null!=a.o&&fq(a.o)||Kr(a,tfa)};
Mr=function(a){var b=Ds(a);return Kr(a,["402"])||g.u(b)&&null!==b.match("//s0.2mdn.net/instream/html5/survey/survey.html")};
Gs=function(a){return ts(a)&&Nr(a)&&!a.isBumper()&&!D(g.E(a.D))&&null!==As(a)&&0<ip(As(a))};
Rr=function(a){return Or(a,Fs)||Or(a,["402"])};
Hs=function(a){a=a.getExtension("InfoCards");return null!=a?a.o:null};
Is=function(a){a=a.getExtension("InfoCardsTracking");return null!=a?a.o:null};
Kr=function(a,b){return null!=a.sa?g.gb(b,a.X):!1};
Or=function(a,b){for(var c=fs(a),d=c.length-1;0<=d;d--)if("UNKNOWN"!=c[d]){if(g.gb(b,c[d]))return!0;break}return!1};
rs=function(a,b){a.O=[b]};
kfa=function(a){return a.Zb()&&0<a.B.length&&(0,g.zr)(a.B,function(a){return 1==a.bc()})};
ufa=function(a){return 0<a.B.length&&(0,g.zr)(a.B,function(a){return 4==a.bc()})};
Qr=function(a){if(null==a.A)return null;var b=a.A.g;null!=b&&Ga(b,"/PrefetchedAd")&&null!=a.o&&(a=a.o.G.get("LocalRedirect"),b=null!=a?a.Vg():null);return b};
Js=function(a,b){g.rf.call(this);this.g=a;this.te=new g.cm(this);g.L(this,this.te);this.te.V(b,["companion_impression","companion_click"],this.o)};
Ks=function(){g.rf.call(this);this.D=this.J=this.M=this.F=!1;this.g=0;this.A=[];this.G=!1;this.P=this.O=window.Infinity;this.o=0;this.C=!1;this.B=new g.cm(this);this.K={}};
vfa=function(a){Ls(a);!(a.Sh instanceof g.rf)&&"ontouchstart"in window.document.documentElement&&hn()?(a.K={touchstart:(0,g.y)(a.SQ,a),touchmove:(0,g.y)(a.RQ,a),touchend:(0,g.y)(a.QQ,a)},g.Jb(a.K,function(a,c){this.Sh.addEventListener(c,a,!1)},a)):a.B.V(a.Sh,"click",a.Ix)};
Ls=function(a){a.B.Ca(a.Sh,"click",a.Ix);g.Jb(a.K,function(a,c){this.Sh.removeEventListener(c,a,!1)},a);
a.K={}};
wfa=function(a,b){a.A=[];(0,g.G)(b,function(a){g.kb(this.A,a.identifier)},a)};
Ms=function(a,b){return(0,g.Bk)(b,function(a){return g.gb(this.A,a.identifier)},a)};
Ns=function(a){if(!xfa.test(a))throw Error("'"+a+"' is not a valid alpha hex color");5==a.length&&(a=a.replace(yfa,"#$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]};
Os=function(a){var b=a.slice(0);b[3]=Math.round(1E3*a[3])/1E3;return"rgba("+b.join(",")+")"};
g.Ps=function(){g.rf.call(this);this.g=0;this.endTime=this.startTime=null};
Qs=function(a,b){g.ta(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.ah(a,"transition",c.join(","))};
Rs=function(a,b,c,d,e){g.Ps.call(this);this.o=a;this.C=b;this.F=c;this.A=d;this.D=g.ta(e)?e:[e]};
Ss=function(a,b){g.rf.call(this);this.F=b;this.D=a;this.wi=null;this.B=new g.cm(this);g.L(this,this.B);this.o=new Ks;g.L(this,this.o);var c=Nc(Uc(a.g),bd,6);this.C=(this.g=null!=I(c,5)&&!!I(c,5))||null==I(c,7)?"#000000FF":I(c,7);this.A=this.g||null==I(c,8)?"#FFFFFFFF":I(c,8);c=this.g?{xG:g.E(I(c,6))}:{AG:g.E(I(c,1)),zG:g.E(I(c,3)),yG:g.E(I(c,2))};this.Ge=zfa(this,c);null!=this.Ge&&g.N(this.Ge,!1);b.appendChild(this.Ge);this.B.V(this.o,"click",this.TI);this.o.Ib(this.Ge)};
zfa=function(a,b){if(a.g){var c=Mp(Iea,b);var d=g.J("videoAdUiBrandPrecapAutogenImage",c)}else{c=Mp(Hea,b);d=g.J("videoAdUiBrandPrecapContent",c);null!=a.C&&(c.style.backgroundColor=Os(Ns(a.C)));if(null!=a.A){var e=g.J("videoAdUiBrandPrecapBrandMessage",d);g.J("videoAdUiBrandPrecapBrandName",d).style.color=Os(Ns(a.A));e.style.color=Os(Ns(a.A))}d=g.J("videoAdUiBrandPrecapBrandImage",g.J("videoAdUiBrandPrecapImageContainer",d))}null!=d&&(d.o2=function(){return!1});
return c};
Ts=function(a,b,c,d,e){(new Rs(a.Ge,.4,{paddingTop:b,opacity:d},{paddingTop:c,opacity:e},[{property:"padding-top",duration:.4,timing:"ease-in-out",delay:0},{property:"opacity",duration:.4,timing:"ease-in-out",delay:0}])).play()};
Us=function(a,b){var c=g.Ge(g.we(a.F),"html5-video-player");null!=c&&g.S(c,"ytp-ad-display-override",b)};
Vs=function(a,b,c,d,e,f){Dp.call(this,f);this.A=a;this.C=b;this.D=c;this.B=d;this.o=e};
Ws=function(a){return null!=a.o?a.o.length:0};
Xs=function(a,b,c,d,e,f,k,l,m){Dp.call(this,e);this.B=a;this.A=b;this.C=c||"";this.D=d||[];this.o=f||null;this.G=k||null;this.F=l||null;this.K=m||null};
Ys=function(a,b){this.C=a;this.o=b;this.A=this.B=this.D=this.g=null};
Zs=function(a){return null!=a.C||null!=a.o};
$s=function(a,b,c){b=g.J(b,a.g);null!=b&&a.B.V(b,"click",c)};
at=function(a,b,c){null!=a.g&&a.g.parentElement.removeChild(a.g);a.g=Mp(b,c);$s(a,"videoAdUiPopupCloseIcon",a.zm);a.D.appendChild(a.g);b=g.J("videoAdUiPopupFrame",a.g);null!=b&&g.bf(b,"submit",function(a){a.preventDefault()});
a=g.J("videoAdUiPopupDefaultButton",a.g);null!=a&&a.focus()};
bt=function(a,b){null!=a.A&&a.A.dispatchEvent(b)};
ct=function(){this.attributionText=Xq({Eg:"",lg:0,Gg:0});this.jh=""+Ca("Learn More {$suffix}",{suffix:P("")});this.visitAdvertiserText=""+Ca("Visit Advertiser's Site");this.oe=$q();this.skipOffset=null;this.G=this.La=this.Pa=this.Ja=this.X=!1;this.M=null;this.ca=6E3;this.D=!0;this.fa=!1;this.ha=this.o=this.ga=!0;this.A=!1;this.O=!O.D;this.sa=this.pa=this.Wa=!1;this.F=!0;this.P=this.Aa=this.va=this.ua=this.B=!1;this.C={};this.ba=null;this.showContentThumbnail=!0;this.ka=this.J=!1;this.g=null;this.bb=
!1;this.Yf=-1};
dt=function(a,b,c,d,e,f){var k=new ct;k.B=a;k.Ua=b;k.skipOffset=c;k.da=null!=e?e.contentId:null;k.ga=e.dT;k.ba=Dea;k.jb=Qp(b,null!=c,e.Mi);k.showContentThumbnail=null!=e.contentId&&e.showContentThumbnail;k.g=e.Dx;null!=k.g&&null!=I(k.g,1)&&null!=I(Uc(k.g),8)&&(k.ka=!0,k.attributionText=Yq({Eg:"",lg:0,Gg:0}));k.bb=e.VG;null!=f&&(k.C=f);null==c&&(a=Fm(),d&&a.g("show_countdown_on_bumper")&&(k.Pa=!0,k.X=!0),a.g("show_thumbnail_on_standard")&&(k.X=!0),a.g("log_video_preview_interaction")&&(k.Ja=!0),!d&&
a.g("persist_text_on_preview_button")&&(k.La=!0));O.g()&&null!=k.g&&null!=I(k.g,1)&&(d=Uc(k.g),null!=I(d,6)&&(d=Nc(d,bd,6),null!=I(d,5)&&(I(d,5)&&null!=I(d,6)||null!=I(d,1)&&null!=I(d,2)&&null!=I(d,3))&&(k.G=!0,null!=I(d,4)&&(k.M=I(d,4)))));return k};
et=function(a,b,c,d,e){return new Rs(a,b,{opacity:d},{opacity:e},{property:"opacity",duration:b,timing:c,delay:0})};
ft=function(a,b){return et(a,b,"ease-out",0,1)};
gt=function(a){return et(a,.5,"ease-in",1,0)};
it=function(a,b){g.rf.call(this);this.fa=new g.cm(this);g.L(this,this.fa);this.ca=a;this.da=b;this.X=!1;this.K=this.A=this.G=null;this.ga=0;this.B=[];this.C=[];this.D=[];this.O=0;this.M=!1;var c=a.g,c=this.g=null!=c&&null!=Uc(c)?Nc(Uc(c),$c,3):null;this.ka=null!=c&&null!=I(c,7)&&1==I(c,7)?!0:!1;c=this.g;this.P=null!=c&&I(c,13)?!0:!1;this.F=!1;this.J=this.ca.Sa;if(null==this.g||null==I(this.g,7))c=null;else var c=I(this.g,7),d=I(this.g,8),c=null!=d&&g.gb(Afa,c)?d:null;this.K=c;c=Mp(Jea,{preMessageText:this.K||
""});g.ze(g.J("videoAdUiLikeMsg",c),""+Ca("I like this"));g.ze(g.J("videoAdUiDislikeMsg",c),""+Ca("I dislike this"));if(null!=this.g){var d=I(this.g,7),e=null!=d?Bfa[d]:null;null!=e&&(this.ba=d,g.R(c,e))}d=g.J("videoAdUiBrandInteractionLikeButton",c);null!=d&&ht(this,d);d=g.J("videoAdUiBrandInteractionDislikeButton",c);null!=d&&ht(this,d);g.N(c,!1);this.o=c;this.da.appendChild(this.o)};
Cfa=function(a){return null!=a.g&&null!=I(a.g,8)?I(a.g,10):null};
Efa=function(a){if(null==a.g||null==I(a.g,7))return null;var b=I(a.g,7);a=I(a.g,9);return null!=a&&g.gb(Dfa,b)?a:null};
ht=function(a,b){var c=new Ks;a.fa.V(c,"click",a.ha);c.Ib(b)};
Ffa=function(a){if(null!=a.K){var b=Cfa(a);if(null!=b){var c=g.J("videoAdUiBrandInteractionPreMessageText",a.o);if(null!=c){var d=gt(c);g.gg(function(){d.play();g.gg(function(){g.N(c,!1)},500,this)},1E3*b,a)}}}};
Gfa=function(a){if(null!=a.g){var b=Efa(a);if(null!=b){var c=Mp(Kea,{postMessageText:b});a.da.appendChild(c);g.gg(function(){ft(c,.5).play();var a=gt(c);g.gg(function(){a.play()},3E3,this)},500,a)}}};
Hfa=function(a){if(a.P&&!a.F&&null!=a.J){var b=jt(a),c;"l"==b?c=a.J.feedbackLike:"d"==b&&(c=a.J.feedbackDislike);null!=c&&(Rm(c),a.F=!0)}};
jt=function(a){return null!=a.A?g.Gp(a.A,"videoAdUiBrandInteractionLikeButton")?"l":g.Gp(a.A,"videoAdUiBrandInteractionDislikeButton")?"d":"n":"n"};
lt=function(){g.rf.call(this);this.g=!1;this.A=this.B=this.o=null;this.C=new g.cm(this);this.o=Mp(Tea);this.B=g.J("videoAdUiUnmutedIcon",this.o);this.A=g.J("videoAdUiMutedIcon",this.o);kt(this);this.C.V(this.o,"click",this.D)};
kt=function(a){a.B&&a.A&&(a.g?(g.ah(a.B,"display","none"),g.ah(a.A,"display","block")):(g.ah(a.B,"display","block"),g.ah(a.A,"display","none")))};
mt=function(a,b){g.rf.call(this);this.D=a;this.F=1;this.C=this.A=this.g=this.o=null;this.B=a.Pa;this.J=new g.cm(this);g.L(this,this.J);this.G=new Ks;g.L(this,this.G);this.M=!a.La;this.O=a.Ja;this.K=0;this.o=Mp(Vq);this.g=g.J("videoAdUiPreSkipButton",this.o);this.A=g.J("videoAdUiPreSkipText",this.g);g.R(this.A,"videoAdUiPreviewText");this.C=g.J("videoAdUiPreSkipThumbnail",this.g);this.B?g.ze(this.A,Wq({Ig:""})):g.ze(this.A,""+Ca("Video will play after ad"));var c=Tp(this.D.da)||"";if(this.D.showContentThumbnail&&
!D(g.E(c))){var d=g.je("img");d.setAttribute("src",c);g.R(d,"videoAdUiPreSkipThumbnailImage");this.C.appendChild(d)}else this.B?(g.N(this.C,!1),g.R(this.g,"videoAdUiPreSkipButtonNoThumbnail"),g.R(this.A,"videoAdUiPreSkipTextOnlyCentered")):g.N(this.g,!1);g.N(this.o,!1);b.appendChild(this.o);this.J.V(this.G,"click",this.P);this.G.Ib(this.C)};
nt=function(a,b){g.rf.call(this);this.B=new g.cm(this);g.L(this,this.B);this.J=a;this.A=null;this.F=this.G=0;this.D=this.C=!1;var c=a.g,d;null!=c&&null!=I(c,1)!=null&&null!=Nc(Uc(c),cd,7)&&(d=Nc(Uc(c),cd,7));this.o=d||new cd;c=this.o;null!=I(c,7)&&null!=I(c,8)?(this.A=d=I(c,8),c={WR:I(c,7),YR:d},c=Mp(Mea,c),Ifa(this,c)):c=Mp(Lea,{XR:I(this.o,1)});null!=I(this.o,6)&&(d=I(this.o,6),g.R(c,Jfa[d]));g.N(c,!1);this.g=c;b.appendChild(this.g)};
Ifa=function(a,b){var c=new Ks;a.B.V(c,"click",(0,g.y)(function(){this.G++},a));
c.Ib(b);c=g.J("videoAdUiReasonToWatchDynamicTopic",b);if(null!=c){var d=new Ks;a.B.V(d,"click",(0,g.y)(function(){this.F++},a));
d.Ib(c)}};
Kfa=function(a){var b=new Rs(a.g,1.25,{right:"-265px"},{right:"0px"},[{property:"right",duration:.25,timing:"ease-in-out",delay:1}]),c=new Rs(g.J("videoAdUiReasonToWatchText",a.g),.25,{opacity:0},{opacity:1},[{property:"opacity",duration:.25,timing:"ease-in-out",delay:0}]);b.play();g.gg(function(){c.play()},1250,a);
a.C=!0;g.N(a.g,!0)};
Lfa=function(a){(new Rs(a.g,.25,{right:"0px"},{right:"-265px"},[{property:"right",duration:.25,timing:"ease-in-out",delay:0}])).play();a.D=!0;g.gg(function(){g.N(this.g,!1)},250,a)};
g.ot=function(a,b,c){g.K.call(this);this.Ba=null;this.A=!1;this.C=a;this.B=c;this.g=b||window;this.o=(0,g.y)(this.sH,this)};
pt=function(a){a=a.g;return a.requestAnimationFrame||a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||a.oRequestAnimationFrame||a.msRequestAnimationFrame||null};
qt=function(a){a=a.g;return a.cancelAnimationFrame||a.cancelRequestAnimationFrame||a.webkitCancelRequestAnimationFrame||a.mozCancelRequestAnimationFrame||a.oCancelRequestAnimationFrame||a.msCancelRequestAnimationFrame||null};
g.rt=function(a,b,c){g.K.call(this);this.g=a;this.B=b||0;this.o=c;this.A=(0,g.y)(this.fx,this)};
g.tt=function(a){a.stop();a.fx()};
g.ut=function(a){a.isActive()&&g.tt(a)};
g.wt=function(){g.vt||(g.vt=new g.rt(function(){Mfa()},20));
var a=g.vt;a.isActive()||a.start()};
Mfa=function(){var a=(0,g.F)();g.Jb(g.xt,function(b){b.tN(a)});
g.Ub(g.xt)||g.wt()};
At=function(a,b){g.rf.call(this);this.config=a;this.da=0;this.ba=!1;this.state=0==ip(this.config.skipOffset)?3:1;this.o=this.ca=this.skipButton=this.sa=this.ga=this.J=this.D=this.A=null;this.gc=new g.cm(this);this.G=this.B=null;this.X=new Ks;this.ka="";this.pa=!1;var c=a.g,c=this.g=null!=c&&null!=Uc(c)?Nc(Uc(c),Yc,1):null;this.ua=null!=c&&I(c,19)?!0:!1;c=this.g;this.O=null!=c&&I(c,24)?!0:!1;c=this.g;this.va=null!=c&&I(c,23)?!0:!1;c=this.g;this.Aa=null!=c&&I(c,25)?!0:!1;this.A=Mp(this.ua?Gea:Vq);this.D=
g.J("videoAdUiPreSkipButton",this.A);this.J=g.J("videoAdUiPreSkipText",this.D);this.ga=g.J("videoAdUiPreSkipTextTimeLeft",this.D);this.sa=g.J("videoAdUiPreSkipThumbnail",this.D);this.va&&g.N(this.J,!1);Fm().g("use_forced_linebreak_preskip_text")&&(this.pa=!0,g.R(this.J,"videoAdUiPreSkipTextForcedLineBreak"));zt(this,0);c=Tp(this.config.da)||"";if(this.config.showContentThumbnail&&!D(g.E(c))){var d=g.je("img");d.setAttribute("src",c);g.R(d,"videoAdUiPreSkipThumbnailImage");this.sa.appendChild(d)}else O.g()?
(g.R(this.D,"videoAdUiPreSkipButtonNoThumbnail"),g.R(this.J,"videoAdUiPreSkipTextOnlyCentered")):g.R(this.J,"videoAdUiPreSkipTextOnly");d=!O.g()&&O.X;var e=null!=this.g&&null!=Nc(this.g,fd,3)&&!this.O,f=O.g()&&Fm().g("fixed_padding_skip_button")&&!this.O;this.o=Mp(this.O?Pea:d||e||f?Oea:Nea,{lt:Ra(""+Ca("Skip Ad {$skipSymbol}",{skipSymbol:P("")}))});this.skipButton=g.J("videoAdUiSkipButton",this.o);e&&(this.ca=g.J("videoAdUiSkipButtonExperimentalText",this.skipButton));if(e=d||O.g()&&Fm().g("use_new_skip_icon")){var k=
g.J("videoAdUiSkipIcon",this.skipButton);null!=k&&g.Kp(k,"videoAdUiSkipIcon","videoAdUiExperimentalSkipIcon")}f||d?(g.R(this.skipButton,f?"videoAdUiFixedPaddingSkipButton":"videoAdUiRedesignedSkipButton"),c=g.J("videoAdUiSkipButtonExperimentalText",this.skipButton),null!=c&&g.R(c,"videoAdUiFixedPaddingSkipButtonText"),g.R(g.J(e?"videoAdUiExperimentalSkipIcon":"videoAdUiSkipIcon",this.skipButton),"videoAdUiFixedPaddingSkipButtonIcon")):this.O&&this.config.showContentThumbnail&&!D(g.E(c))&&(d=g.je("img"),
d.setAttribute("src",c),g.R(d,"videoAdUiPreSkipThumbnailImage"),this.skipButton.appendChild(d));this.Aa&&g.N(g.J("videoAdUiSkipText",this.o),!1);Nfa(this);"4.4.4"===(g.mn?qn(nn):"")&&(this.D.style.backgroundColor="black",this.skipButton.style.backgroundColor="black");g.N(this.A,!1);b.appendChild(this.A);0==ip(this.config.skipOffset)?this.dispatchEvent("skipshown"):(g.N(this.o,!1),g.vh(this.o,0));b.appendChild(this.o);Fm().g("move_skip_button_to_top")&&(g.R(this.A,"videoAdUiHighPreSkipContainer"),
g.R(this.o,"videoAdUiHighSkipContainer"));this.gc.V(this.X,"click",this.CS);this.X.Ib(this.skipButton)};
zt=function(a,b){var c=null!=a.config.skipOffset&&-1!=ip(a.config.skipOffset)?ip(a.config.skipOffset):-1;if(!(0>c)){var d=Math.ceil(c-b),c=d.toString();60<=d&&(c=bo(d));d={Lm:a.pa?"forcedlinebreak":a.ka,Ig:c,cN:"\n"};a.ua&&null!=a.ga?g.ze(a.ga,c):(c=a.J,d=d||{},d=""+Lo("b",d.Lm)(d,null,void 0),g.ze(c,d))}};
Bt=function(a){return new Rs(a,.5,{opacity:1,visibility:"shown"},{opacity:.9,visibility:"hidden"},{property:"opacity",duration:.5,timing:"ease-out",delay:0})};
Ct=function(a,b){null!=a.D&&g.N(a.D,b);null!=a.skipButton&&g.N(a.skipButton,b)};
Nfa=function(a){if(null!=a.g){var b=null!=Nc(a.g,dd,1)&&null!=Nc(Nc(a.g,dd,1),ed,1)?I(Nc(Nc(a.g,dd,1),ed,1),1):null,c=null!=Nc(a.g,dd,2)&&null!=Nc(Nc(a.g,dd,2),ed,1)?I(Nc(Nc(a.g,dd,2),ed,1),1):null;b&&(a.skipButton.style.backgroundColor=Os(Ns(b)),c&&(a.gc.V(g.we(a.skipButton),"mouseover",function(){this.skipButton.style.backgroundColor=Os(Ns(c))}),a.gc.V(g.we(a.skipButton),"mouseout",function(){this.skipButton.style.backgroundColor=Os(Ns(b))})));
if(null!=Nc(a.g,fd,3)&&null!=a.ca){var d=Caa(Nc(a.g,fd,3));0<d.length&&I(d[0],1)&&g.ze(a.ca,I(d[0],1))}}};
Ht=function(a,b){At.call(this,a,b);var c=this.g;this.ha=null!=c&&I(c,8)?!0:!1;this.fa=!1;this.C=this.M=null;var c=this.g,d=Dt;null!=c&&(null!=I(c,10)&&I(c,10)||null!=I(c,9)&&!I(c,9))&&(d=Et);this.K=d;c=this.g;d=Ft;null!=c&&(null!=I(c,12)&&I(c,12)||null!=I(c,11)&&!I(c,11))&&(d=Gt);this.P=d;this.F=0};
It=function(a){null==a.C&&"4.4.4"!=(g.mn?qn(nn):"")&&1!=a.F&&(g.Le(a.B),a.B=null,a.C=g.gg(function(){et(this.o,.5,"ease-in",1,.5).play();this.F=1;this.C=null},0,a))};
Kt=function(a,b){if(0!=a.F){if(b){if(null!=a.C||"4.4.4"==(g.mn?qn(nn):""))return;a.C=g.gg(function(){et(this.o,.5,"ease-in",.5,1).play();this.C=null},0,a)}else Jt(a),g.vh(a.o,1);
a.F=0}};
Jt=function(a){null!=a.C&&(g.hg(a.C),a.C=null)};
Lt=function(a){null!=a.M&&(g.hg(a.M),a.M=null)};
Mt=function(a,b,c){var d=null;switch(c){case Ft:null!=b&&null!=b.skipOffset&&(d=1E3*(a-ip(b.skipOffset)));break;case Gt:a=g.v("window.yt.util.activity.getTimeSinceActive"),d=(a=null!=a?a().toString():null)?Ya(a):null}return d};
Nt=function(a,b){var c=1E3*a.rw;null!=b&&null!=I(b,13)&&(c=I(b,13));return c};
Ot=function(a,b,c,d,e,f,k,l,m){this.A=a;this.M=b;this.C=c;this.D=d;this.o=e;this.F=f;this.G=k;this.J=l;this.K=m;this.g=this.A.og()};
Pt=function(a){var b=a.g,c=g.th(a.B),c="left"==a.C?"0px":"right"==a.C?c.width-a.A.gf().width+"px":a.C+"px",d=g.th(a.B);a="bottom"==a.D?"0px":"top"==a.D?d.height-a.A.gf().height+"px":d.height-a.A.gf().height-Ya(a.D)+"px";g.ah(b,{position:"absolute",overflow:"hidden",left:c,bottom:a})};
Ofa=function(a){g.wh(a.g)||(g.N(a.g,!0),(0,g.G)(a.K,function(a){Rm(a)}))};
Ut=function(a,b,c){this.M=b||Qt.kE;this.ga=c||0;this.P=40;this.o=1;this.ba=0;this.B=3;this.X=this.A=0;this.fa=!1;this.O=this.G="";this.C="-";this.J="";this.g=1;this.F=!1;this.D=[];this.ca=this.da=!1;this.K=0;if("number"==typeof a)switch(a){case 1:Rt(this,Qt.tu);break;case 2:Rt(this,Qt.AF);break;case 3:Rt(this,Qt.pF);break;case 4:a=Qt.gE;b=["0"];c=St[this.M][0]&7;if(0<c){b.push(".");for(var d=0;d<c;d++)b.push("0")}a=a.replace(/0.00/g,b.join(""));Rt(this,a);break;case 5:Tt(this,1);break;case 6:Tt(this,
2);break;default:throw Error("Unsupported pattern type.");}else Rt(this,a)};
Rt=function(a,b){b.replace(/ /g,"\u00a0");var c=[0];a.G=Vt(a,b,c);for(var d=c[0],e=-1,f=0,k=0,l=0,m=-1,n=b.length,q=!0;c[0]<n&&q;c[0]++)switch(b.charAt(c[0])){case "#":0<k?l++:f++;0<=m&&0>e&&m++;break;case "0":if(0<l)throw Error('Unexpected "0" in pattern "'+b+'"');k++;0<=m&&0>e&&m++;break;case ",":0<m&&a.D.push(m);m=0;break;case ".":if(0<=e)throw Error('Multiple decimal separators in pattern "'+b+'"');e=f+k+l;break;case "E":if(a.ca)throw Error('Multiple exponential symbols in pattern "'+b+'"');a.ca=
!0;a.X=0;c[0]+1<n&&"+"==b.charAt(c[0]+1)&&(c[0]++,a.fa=!0);for(;c[0]+1<n&&"0"==b.charAt(c[0]+1);)c[0]++,a.X++;if(1>f+k||1>a.X)throw Error('Malformed exponential pattern "'+b+'"');q=!1;break;default:c[0]--,q=!1}0==k&&0<f&&0<=e&&(k=e,0==k&&k++,l=f-k,f=k-1,k=1);if(0>e&&0<l||0<=e&&(e<f||e>f+k)||0==m)throw Error('Malformed pattern "'+b+'"');l=f+k+l;a.B=0<=e?l-e:0;0<=e&&(a.A=f+k-e,0>a.A&&(a.A=0));a.o=(0<=e?e:l)-f;a.ca&&(a.P=f+a.o,0==a.B&&0==a.o&&(a.o=1));a.D.push(Math.max(0,m));a.da=0==e||e==l;d=c[0]-d;
a.O=Vt(a,b,c);c[0]<b.length&&";"==b.charAt(c[0])?(c[0]++,1!=a.g&&(a.F=!0),a.C=Vt(a,b,c),c[0]+=d,a.J=Vt(a,b,c)):(a.C+=a.G,a.J+=a.O)};
Tt=function(a,b){a.K=b;Rt(a,Qt.tu);a.A=0;a.B=2;if(0<a.A)throw Error("Can't combine significant digits and minimum fraction digits");a.ba=2};
Xt=function(a,b){var c=Math.pow(10,a.B),d=0>=a.ba?Math.round(b*c):Math.round(Wt(b*c,a.ba,a.B));if((0,window.isFinite)(d)){var e=Math.floor(d/c);c=Math.floor(d-e*c)}else e=b,c=0;return{intValue:e,hH:c}};
Yt=function(a,b,c,d){if(a.A>a.B)throw Error("Min value must be less than max value");d||(d=[]);b=Xt(a,b);var e=b.intValue,f=b.hH,k=0<a.A||0<f||!1;b=a.A;k&&(b=a.A);for(var l="",m=e;1E20<m;)l="0"+l,m=Math.round(m/10);var l=m+l,n=Qt.uu,m=Qt.vp.charCodeAt(0),q=l.length,r=0;if(0<e||0<c){for(e=q;e<c;e++)d.push(String.fromCharCode(m));if(2<=a.D.length)for(c=1;c<a.D.length;c++)r+=a.D[c];c=q-r;if(0<c)for(var e=a.D,r=q=0,w,A=Qt.gp,C=l.length,B=0;B<C;B++){if(d.push(String.fromCharCode(m+1*Number(l.charAt(B)))),
1<C-B)if(w=e[r],B<c){var M=c-B;(1===w||0<w&&1===M%w)&&d.push(A)}else r<e.length&&(B===c?r+=1:w===B-c-q+1&&(d.push(A),q+=w,r+=1))}else{c=l;l=a.D;e=Qt.gp;w=c.length;A=[];for(q=l.length-1;0<=q&&0<w;q--){r=l[q];for(C=0;C<r&&0<=w-C-1;C++)A.push(String.fromCharCode(m+1*Number(c.charAt(w-C-1))));w-=r;0<w&&A.push(e)}d.push.apply(d,A.reverse())}}else k||d.push(String.fromCharCode(m));(a.da||k)&&d.push(n);f=String(f);k=f.split("e+");2==k.length&&(f=String(Wt((0,window.parseFloat)(k[0]),a.ba,1)),f=f.replace(".",
""),f+=Oa("0",(0,window.parseInt)(k[1],10)-f.length+1));a.B+1>f.length&&(f="1"+Oa("0",a.B-f.length)+f);for(a=f.length;"0"==f.charAt(a-1)&&a>b+1;)a--;for(e=1;e<a;e++)d.push(String.fromCharCode(m+1*Number(f.charAt(e))))};
Zt=function(a,b,c){c.push(Qt.yu);0>b?(b=-b,c.push(Qt.ZE)):a.fa&&c.push(Qt.qF);b=""+b;for(var d=Qt.vp,e=b.length;e<a.X;e++)c.push(d);c.push(b)};
$t=function(a){a=a.charCodeAt(0);if(48<=a&&58>a)return a-48;var b=Qt.vp.charCodeAt(0);return b<=a&&a<b+10?a-b:-1};
Vt=function(a,b,c){for(var d="",e=!1,f=b.length;c[0]<f;c[0]++){var k=b.charAt(c[0]);if("'"==k)c[0]+1<f&&"'"==b.charAt(c[0]+1)?(c[0]++,d+="'"):e=!e;else if(e)d+=k;else switch(k){case "#":case "0":case ",":case ".":case ";":return d;case "\u00a4":if(c[0]+1<f&&"\u00a4"==b.charAt(c[0]+1))c[0]++,d+=a.M;else switch(a.ga){case 0:d+=St[a.M][1];break;case 2:var k=a.M,l=St[k],d=d+(k==l[1]?k:k+" "+l[1]);break;case 1:d+=St[a.M][2]}break;case "%":if(!a.F&&1!=a.g)throw Error("Too many percent/permill");if(a.F&&
100!=a.g)throw Error("Inconsistent use of percent/permill characters");a.g=100;a.F=!1;d+=Qt.Ju;break;case "\u2030":if(!a.F&&1!=a.g)throw Error("Too many percent/permill");if(a.F&&1E3!=a.g)throw Error("Inconsistent use of percent/permill characters");a.g=1E3;a.F=!1;d+=Qt.Ku;break;default:d+=k}}return d};
cu=function(a,b){var c=1==a.K?au.qu:au.QD;null==c&&(c=au.qu);if(3>b)return bu;b=Math.min(14,b);for(var d=c[Math.pow(10,b)],e=b-1;!d&&3<=e;)d=c[Math.pow(10,e)],e--;if(!d)return bu;c=d.other;return c&&"0"!=c?(c=/([^0]*)(0+)(.*)/.exec(c))?{prefix:c[1],TB:c[3],gq:e+1-(c[2].length-1)}:bu:bu};
du=function(a){if(!(0,window.isFinite)(a))return 0<a?a:0;for(var b=0;1<=(a/=10);)b++;return b};
Wt=function(a,b,c){if(!a)return a;b=b-du(a)-1;if(b<-c)return c=Math.pow(10,c),Math.round(a/c)*c;c=Math.pow(10,b);return Math.round(a*c)/c};
fu=function(a,b,c,d){g.rf.call(this);this.g=a;this.xc=this.ga=!1;this.sa=c;this.Qc=d;this.Ja=this.ca=this.G=this.D=this.X=this.La=this.fa=this.M=this.Hb=this.Aa=this.Ua=this.O=this.o=null;this.Gb=!1;this.Yb=this.jb=this.rb=this.P=this.ba=this.K=this.va=this.ua=this.pa=this.B=this.C=this.Ab=this.ka=this.ha=this.J=null;this.A=new g.cm(this);this.Pa=[];a=this.g;this.Rc=null!=a&&null!=a.g&&null!=Uc(a.g)?Nc(Uc(a.g),Zc,2):null;a=this.g;this.Cc=null!=a&&null!=a.g&&null!=Uc(a.g)?Nc(Uc(a.g),cd,7):null;this.F=
!1;this.da=[];this.ga=!this.g.J&&O.g();this.wb=!O.g()&&O.wb;a="";this.ga?a="redesign2014q4":this.wb&&(a="fixedDirectionality");a={attributionText:this.g.attributionText,jh:this.g.jh,oe:this.g.oe,Lm:a};this.o=Mp(this.g.ba,a);this.g.bb||this.A.V(this.o,"touchmove",this.VI);this.ka=g.J("videoAdUiProgress",this.o);this.Ab=g.J("videoAdUiBuffer",this.o);this.O=g.J("videoAdUiAttributionContainer",this.o);this.Ua=g.J("videoAdUiAttributionIconContainer",this.o);this.Aa=g.J("videoAdUiAttribution",this.o);if(this.g.ka&&
(c=this.g.g,null!=Nc(Uc(c),Xc,8)&&(c=I(Nc(Uc(c),Xc,8),1),null!=c))){d=g.J("videoAdUiAttributionWithBadge",this.O);switch(c){case 1:g.R(d,"videoAdUiAttributionYellowBadge");this.F=!0;break;case 2:g.R(d,"videoAdUiAttributionGreyBadgeYellowText");this.F=!0;break;case 3:g.R(d,"videoAdUiAttributionWhiteBadgeYellowText");this.F=!0;break;case 4:g.R(d,"videoAdUiAttributionGreenBadge");this.F=!0;break;case 5:g.R(d,"videoAdUiAttributionPurpleBadge");this.F=!0;break;case 6:g.R(d,"videoAdUiAttributionWhiteBadgeGreyText"),
this.F=!0}this.F&&(this.Aa=g.J("videoAdUiAttributionText",this.o),g.R(b,"videoAdUiInstreamBadgeExperiment"))}this.Hb=g.J("videoAdUiVisitAdvertiserLink",this.o);this.M=g.J("videoAdUiVisitAdvertiserLinkText",this.o);this.fa=g.J("videoAdUiVisitAdvertiserIcon",this.o);this.La=g.J("videoAdUiBottomBarMessage",this.o);this.X=g.J("videoAdUiAuthorIcon",this.o);this.D=g.J("videoAdUiAuthorName",this.o);this.G=g.J("videoAdUiLearnMore",this.o);this.ca=g.J("videoAdUiLearnMoreText",this.o);this.ga?(this.P=g.J("videoAdUiTopButtonShare",
this.o),this.rb=g.J("videoAdUiTopButtonShareTooltip",this.o),this.jb=g.J("videoAdUiTopButtonInfo",this.o),this.Yb=g.J("videoAdUiTopButtonWatchLater",this.o)):this.P=g.J("videoAdUiShare",this.o);this.J=g.J("videoAdUiTitle",this.o);this.ha=g.J("videoAdUiTopBar",this.o);this.Ja=g.J("videoAdUiBottomBar",this.o);null!=this.X&&this.A.V(this.X,"click",this.uG);null!=this.D&&(c=new Ks,this.da.push(c),this.A.V(c,"click",this.vG),c.Ib(this.D));null!=this.G&&(c=new Ks,c.C=!0,this.da.push(c),this.A.V(c,"click",
this.jy),c.Ib(this.G));null!=this.ca&&(c=new Ks,c.C=!0,this.da.push(c),this.A.V(c,"click",this.jy),c.Ib(this.ca));null!=this.P&&this.A.V(this.P,"click",this.zS);null!=this.J&&(c=new Ks,this.da.push(c),this.A.V(c,"click",this.LS),c.Ib(this.J));null==this.ha||!O.g()&&dn()||this.A.V(this.o,"mouseover",this.wS);null!=this.M&&this.A.V(this.M,"click",this.Jo);null!=this.fa&&this.A.V(this.fa,"click",this.Jo);null!=this.O&&null!=this.g.K&&Zs(this.g.K)&&(g.R(this.O,"videoAdUiWtaClickable"),this.A.V(this.O,
"click",this.CR),this.A.V(this,"why_this_ad_got_it",this.iT));null!=this.g.skipOffset?(this.B=O.g()?new Ht(this.g,this.o):new At(this.g,this.o),this.B.yh(this),this.B.ka=a.Lm):!this.g.X||3==this.Qc&&3500>this.sa||(this.K=new mt(this.g,this.o),g.L(this,this.K),this.K.yh(this));this.g.G&&(this.pa=new Ss(this.g,this.o),g.L(this,this.pa),this.pa.yh(this));a=this.g.g;O.g()&&null!=a&&null!=I(a,1)&&null!=I(Uc(a),3)&&I(Nc(Uc(a),$c,3),1)&&(this.ua=new it(this.g,this.o));a=this.g.g;O.g()&&null!=a&&null!=I(a,
1)&&null!=I(Uc(a),7)?(c=Nc(Uc(a),cd,7),a=null!=I(c,1)||null!=I(c,7)&&null!=I(c,8),c=I(c,5),a=a&&c?!0:!1):a=!1;a&&(this.va=new nt(this.g,this.o));this.g.Wa&&(this.ba=new lt,this.ba.yh(this),this.Ja.insertBefore(this.ba.o,this.O));400>=((0,window.parseInt)(g.eh(b,"width"),10)||b.width)&&g.R(this.o,"videoAdUi-mobile");this.g.J&&(g.R(this.o,"blazer"),window.settings&&window.settings.isTablet?g.R(this.o,"tablet"):g.R(this.o,"phone"));a=g.Ge(b,"html5-video-player");null!=a&&(this.ga&&g.R(a,"videoAdUiRedesign"),
g.S(a,"ytp-video-ad-learn-more-ui",this.g.B));g.N(this.o,!1);b.appendChild(this.o);this.g.B||this.ga||!this.g.ga||(this.C=g.he("DIV",{style:"width:100%;height:100%;pointer-events:auto;"}),this.o.appendChild(this.C));eu(this)};
Pfa=function(a){null!=a.C&&g.N(a.C,!1)};
gu=function(a,b,c){if(null!=a.ua){var d=a.ua,e=null!=a.g.skipOffset;if(!d.M){var f={action:"condor-brand-interaction"};null!=b&&(f.trigger="skip"==b?"s":"complete"==b?"c":"abandon"==b?"a":"u");f.skip=e?"t":"f";f.rt=c;f.numclk=d.ga;g.ib(d.B)&&(d.B.push("n"),d.C.push("0"),d.D.push("0"));f.opt=d.B.join(",");f.clk_time_ms=d.C.join(",");f.rel_clk_time_sec=d.D.join(",");null!=d.ba&&(f.icon_sty=d.ba);f.conv_enabled=d.P?"t":"f";f.conv_sent=d.F?"t":"f";f.ei="[EID]";f.cpn="[CPN]";f.content_v="[CONTENT_V]";
f.ad_cpn="[AD_CPN]";f.ad_v="[AD_V]";f.ad_id="[AD_ID]";f.ad_len="[AD_LEN]";e=Rp(f);e=g.lm(e,d.ca.C);Rm(e);d.M=!0}}null!=a.va&&(d=a.va,a=null!=a.g.skipOffset,null!=d.A&&(e={action:"condor-robin"},e.topic=d.A,null!=b&&(e.trigger="skip"==b?"s":"complete"==b?"c":"abandon"==b?"a":"u"),e.skip=a?"t":"f",e.rt=c,e.num_clk_whole=d.G,e.num_clk_topic=d.F,e.ei="[EID]",e.cpn="[CPN]",e.content_v="[CONTENT_V]",e.ad_cpn="[AD_CPN]",e.ad_v="[AD_V]",e.ad_id="[AD_ID]",e.ad_len="[AD_LEN]",b=Rp(e),b=g.lm(b,d.J.C),Rm(b),
d.M=!0))};
hu=function(a){a.B&&(a.B.dispose(),a.B=null)};
iu=function(a,b){a.Pa=b;(0,g.G)(b,function(a){a.B=this.o;a.B.appendChild(a.g);Pt(a);g.N(a.g,!1);var b=a.Gc();if(null!=b){var c=new Ks;c.C=!0;this.da.push(c);this.A.V(c,"click",(0,g.y)(this.yI,this,a));c.Ib(b)}},a)};
ju=function(a){null!=a.M&&(g.N(a.M,!0),g.ze(a.M,a.g.visitAdvertiserText));null!=a.fa&&g.N(a.fa,!0)};
ku=function(a,b){if(null!=a.o){var c=g.Ge(g.we(a.o),"html5-video-player");null!=c&&(g.S(c,"ytp-ad-end-cap",b),g.S(c,"ytp-ad-display-override",b))}};
eu=function(a){var b=a.g.F&&(a.sa>a.g.ca||0==a.sa),c=b&&a.g.va,d=b&&a.g.Aa,e=b&&a.g.A,f=b&&a.g.sa,b=b&&a.g.P,k=a.g.pa&&a.g.o,l="0px";var m=a.Rc;m=O.g()&&null!=m&&I(m,1)?!1:!0;var n=a.g;var q=a.Cc;if(O.g()&&null!=q&&null!=I(q,1)&&I(q,2)){var r=I(q,1)||"";La(r,"[VC_RAW]")?(q=I(q,3),n=0<n.Yf&&null!=q&&0<q&&n.Yf>=q):n=!0}else n=!1;null!=a.J&&(g.N(a.J,b),null!=a.X&&g.N(a.X,c),null!=a.D&&g.N(a.D,d),null!=a.P&&(g.N(a.P,f),f&&a.dispatchEvent("videoShareShown")),null!=a.jb&&g.N(a.jb,!1),null!=a.Yb&&g.N(a.Yb,
!1),null!=a.ha&&g.N(a.ha,b||c||d||e));null!=a.O&&lu(a);null!=a.ka&&(g.N(a.ka,k),k&&(l=g.eh(a.ka,"height")));null!=a.Ja&&!O.g()&&g.ah(a.Ja,"bottom",l);mu(a);null!=a.Ua&&g.N(a.Ua,a.g.fa);null!=a.Hb&&g.N(a.Hb,m);if(null!=a.La&&n){a:if(c=a.g,d=a.Cc,O.g()&&null!=d&&null!=I(d,1)){d=I(d,1)||"";if(La(d,"[VC_RAW]")){c=(new Ut(1)).format(c.Yf);if(D(c)){c="";break a}e=new RegExp(Na("[VC_RAW]"),"g");d=d.replace(e,c.replace(/\$/g,"$$$$"))}c=d}else c="";g.ze(a.La,c);g.N(a.La,!0)}O.g()||!a.g.O||O.D||(null!=a.G&&
g.N(a.G,!1),null!=a.ca&&g.N(a.ca,!1))};
Qfa=function(a,b,c,d,e){var f=a.F?Yq({Eg:"",lg:0,Gg:0}):Xq({Eg:"",lg:0,Gg:0});if(a.g.o&&a.g.ha)if(c=bo(c-b),b=a.g.J?" \u2022 "+c:a.ga?" \u00b7 "+c:": ("+c+")",a.F){if(null==e||2>e)b="\u00a0"+c;f=Yq({Eg:b,lg:d,Gg:e})}else f=Xq({Eg:b,lg:d,Gg:e});g.ze(a.Aa,f);lu(a)};
lu=function(a){g.N(a.O,a.g.D&&(!a.g.o||a.Gb))};
Rfa=function(a,b){null!=a.pa&&a.pa.show(b)};
mu=function(a){var b=a.g.F&&(a.sa>a.g.ca||0==a.sa)&&a.g.A?a.g.O?!O.D||a.xc:!0:!1;null!=a.G&&g.N(a.G,b);null!=a.ca&&g.N(a.ca,O.g()&&a.g.B&&!b)};
nu=function(){g.K.call(this);this.B="";this.gb=null;this.A=new bp;this.o=new El;this.D=[];this.J=!1;this.g={};this.G={};this.C=-1;this.F=[]};
ou=function(a,b,c){c=c||jp(a.A,b.type);if(O.o){var d=ko(ho(),b.type,a.B);a.K(b.type,c,d)}else wda(Qn(),b.type,a.B,(0,g.y)(a.K,a,b.type,c))};
Sfa=function(a,b){null!=b&&(0,g.G)(b,function(a){g.gb(this.F,a)||this.F.push(a)},a)};
pu=function(a,b,c){null!=c.viewability&&bq(a.g,c.viewability);var d;O.o||(d=Qn().K||void 0);var e=[];(0,g.G)(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(Tm(a,this.g,c,d))},a);
bq(a.g,"na");return e};
qu=function(a,b,c){(0,g.G)(b,function(a){Rm(a,void 0,void 0,c)},a)};
Tfa=function(a,b){switch(b){case "abandon":return!Gl(a.o,b)&&!Gl(a.o,"skip")&&!Gl(a.o,"instreamAdComplete")&&(Gl(a.o,"impression")||a.J);case "instreamAdComplete":case "complete":return!Gl(a.o,b)&&!Gl(a.o,"skip");case "progress":case "click":case "mute":case "unmute":case "rewind":case "fullscreen":case "exitfullscreen":case "expand":case "collapse":return!0;default:return!Gl(a.o,b)}};
ru=function(a){g.rf.call(this);this.ads=a;this.Zc=null;this.te=new g.cm(this);g.L(this,this.te);this.cd="normal";this.Ra=this.volume=null;this.Ta=new Mn;this.de=!1;this.content={};this.Ub=new nu;this.Ka=null;this.Dm=!1;Qn();this.Ko=(0,g.y)(this.qH,this);this.Pi=null;var b=0;(0,g.G)(a,function(a){b+=a.getDuration()});
(0,g.G)(a,function(b,d){var c=b.C;c.eg=a.length;var f=d+1;c.g=f;c.A=f})};
tu=function(a,b){if(a.Zc=b)a.Ub.B=b.K;if(O.o){var c=ho();lo(c,a.Ko);b&&c.o.set(b.K,a.Ko)}};
uu=function(a,b){return null==b?!1:null!=b.getExtension("adx")?!0:uu(a,b.o)};
Ufa=function(a){return(0,g.Bk)(a.ads,function(a){return(0,g.Bk)(this.Wg(a),function(a){return!D(g.E(Pp(a.o)))})},a)};
vu=function(a){a=a.g;return null!=a&&a instanceof pp};
wu=function(a,b){ou(a.Ub,new g.Ne(b));a.la(b)};
Vfa=function(a,b){return(0,g.zr)(g.Pb(b),function(a){return Rb(this.Ta,a)},a)};
yu=function(a){if(!a.Kc())throw Zm(xu,null,"Ads manager is not correctly configured.");};
zu=function(a,b){for(var c=b;null!=c;)(0,g.G)(c.G.ib(),a.ZR,a),c=c.o};
Wfa=function(a){if(!g.ta(a))throw Zm(xu,null,"adsRenderingSettings.mimeTypes should be an array");var b=g.pb(g.Ob(Cu),g.Ob(tp));(0,g.G)(a,function(a){if(!g.gb(b,a))throw Zm(xu,null,"Invalid or unsuppoted mime type "+a);})};
Du=function(a){var b=a.ma();if(null!=b){var c=b.g;if(c instanceof pp&&(c=c.bb,null!=c&&!g.ib(c))){var d=window.document.body,e=aq(a.ma()),e=dt(!1,null,null,!1,a.Ta,e);e.F=!1;e.D=!1;e.o=!1;b=b.Ze();a.Ka=new fu(e,d,1E3*a.getDuration(),b);iu(a.Ka,c);a.Ka.show();a.fb().V(a.Ka,"videoIconClicked",a.MO)}}};
Eu=function(a,b,c){null!=a.Ka&&0<=c&&0<=b&&a.Ka.update(b,0,c,0,0)};
Xfa=function(a,b){function c(a,b){for(var c in a)for(var d=c.toLowerCase(),e=0;e<Fu.length;e++){var m=Fu[e];if(d==m)throw Error('Cannot override "'+m+'" '+b+', got "'+c+'" with value "'+a[c]+'"');}}
c(a,"attribute");c(b,"param")};
g.Gu=function(){};
g.Hu=function(a){g.rf.call(this);this.J=a||g.Vd();this.Ba=null;this.He=!1;this.g=null;this.D=void 0;this.F=this.M=this.B=null};
Iu=function(a,b){if(a.He)throw Error("Component already rendered");a.g||a.hn();b?b.insertBefore(a.g,null):a.J.g.body.appendChild(a.g);a.B&&!a.B.He||a.Ri()};
Ju=function(a,b){a.M&&(0,g.G)(a.M,b,void 0)};
Ku=function(a,b){g.Hu.call(this,b);this.K=a;this.A=new g.cm(this);this.o=new El};
Lu=function(a){return a.ra()?a.ra().firstChild:null};
Mu=function(a){g.rf.call(this);this.gb=null;this.D=a;this.o=null;this.B=-1;this.C=!1;this.A=Va()};
Nu=function(){};
Ou=function(a,b,c){this.g=a;this.zf=c;this.o=b};
Yfa=function(a,b){this.g=a;this.o=b};
Pu=function(a,b,c,d){wp.call(this,a,b,"Static",c,d);this.Kv=!1};
Qu=function(a,b,c,d){wp.call(this,a,b,"Html",c,d)};
Ru=function(a,b,c,d){wp.call(this,a,b,"Static",c,d)};
Tu=function(a,b,c){if(g.ib(c))return new wp(a,b,"",null,"");var d=Su(c);c=d.o;var e=d.g,d=d.A;switch(c){case "Html":return new Qu(a,b,e,d);case "Static":switch(tp[e]){case "Image":return new Ru(a,b,e,d);case "Flash":return new Pu(a,b,e,d);case "Text":return new Op(a,b)}}return new wp(a,b,c,e,d)};
Su=function(a){var b=g.ab(a,function(a){return"Static"==a.o&&"Flash"==tp[a.g]}),c=g.ab(a,function(a){return"IFrame"==a.o}),d=g.ab(a,function(a){return"Html"==a.o}),e=g.ab(a,function(a){return"Static"==a.o&&"Image"==tp[a.g]}),f=g.ab(a,function(a){return"Static"==a.o&&"Text"==tp[a.g]});
return $n&&null!=b?b:null!=c?c:null!=d?d:null!=e?e:null!=f?f:a[0]};
Zfa=function(a,b,c,d,e,f){var k=Su(f),l=Tu(a.id,a.size,[k]);l.D=!0;l.K=a.apiFramework;l.pa=b;l.M=c;l.g=d;e&&(l.hj=e);g.nb(f,k);var m=[];(0,g.G)(f,function(f){f=Tu(a.id,a.size,[f]);f.D=!0;f.K=a.apiFramework;f.pa=b;f.M=c;f.g=d;e&&(f.hj=e);m.push(new Gq(f,[],a.adSlotId))});
return new Gq(l,m,a.adSlotId)};
Uu=function(a,b,c){this.o=a;this.g=b;this.A=c};
Vu=function(a,b,c){Dp.call(this);this.o=a;this.A=b;this.B=c};
Wu=function(){this.gb=null};
Xu=function(){this.C=null;this.D="http://www.google.com/adsense/support";this.F=0;this.g=15;this.B=5;this.A=3;this.o=!1};
$fa=function(a,b){a.g=b};
Yu=function(a,b,c,d,e,f,k,l,m,n,q){Dp.call(this,n,q);this.C=a;this.D=b;this.B=c;this.F=m;this.G=k;this.o=f;this.A=e};
Zu=function(){};
cga=function(a,b){var c;(0,g.G)(g.te(b),function(a){switch(a.nodeName){case "context":c="default"==a.getAttribute("data")?new Xu:null;break;case "params":null!=c&&aga(this,c,a)}},a);
return c};
aga=function(a,b,c){(0,g.G)(g.te(c),function(a){var c=a.attributes[0].value;switch(a.nodeName){case "attribution_url":b.D=c;break;case "attribution_text":b.C=c;break;case "signals":b.F=(0,window.parseInt)(c,10);break;case "audio_muted_on_start":b.o=wr(c,!1)}},a)};
$u=function(){this.gb=null};
av=function(){};
bv=function(){};
cv=function(){};
dv=function(a){this.data=a||{}};
ev=function(a,b,c){a=a.data[b];return null!=a?a:c};
dr=function(a,b){return ev(a,b,"")};
fv=function(a,b,c){a=a.data;a[b]||(a[b]=[]);return a[b][c]};
gv=function(a,b){return a.data[b]?a.data[b].length:0};
hv=function(a){this.data=a||{}};
iv=function(a){this.data=a||{}};
jv=function(a){this.data=a||{}};
kv=function(a){this.data=a||{}};
lv=function(a){this.data=a||{}};
mv=function(a){this.data=a||{}};
nv=function(a){this.data=a||{}};
ov=function(a){this.data=a||{}};
os=function(a){this.data=a||{}};
Kq=function(a){return new mv(a.data.product_card)};
ns=function(a){return new jv(a.data.placement)};
Sq=function(a){return new kv(fv(a,"action",0))};
ms=function(a){return!!ev(a,"show_in_endcap",void 0)};
qs=function(a){return!!ev(a,"show_in_companion",void 0)};
vv=function(){if(!pv){var a={};pv={g:a};a.type=qv;a.id=rv;a.link_url=rv;a.title=rv;a.image=Mh(tv());var b=uv();a.event=Lh(b);a.target=rv}return pv};
fr=function(a){return dr(a,"title")};
Rq=function(a){return dr(a,"target")};
uv=function(){if(!wv){var a={};wv={g:a};a.type=qv;a.base_url=rv}return wv};
Oq=function(a){return new os(a.data.image)};
Lq=function(a){return new nv(fv(a,"offer",0))};
Nq=function(a){return dr(a,"merchant")};
Pq=function(a){return dr(a,"price")};
xv=function(a){return new kv(fv(a,"action",0))};
gr=function(a){return dr(a,"description")};
tv=function(){if(!yv){var a={};yv={g:a};a.image_url=rv;a.thumbnail_url=rv;a.image_height=zv;a.image_width=zv}return yv};
ps=function(a,b){a.data.image_url=b};
Av=function(a,b,c){Dp.call(this,c);this.o=a;this.A=b||null};
Bv=function(a){this.g=a};
Dv=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]=Cv[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){var k=
c.g[f.nodeName],l=Dv(a,f,k.Yd);3==k.label?(d[f.nodeName]||(d[f.nodeName]=[]),d[f.nodeName].push(l)):d[f.nodeName]=l}return d};
dga=function(a,b){var c=new bp;(0,g.G)(g.te(b),function(a){"CustomTracking"==a.nodeName&&null!=g.te(a)&&(c=Cr(a,!1,(0,g.y)(function(a,b){return Ev(a,b)},this)))},a);
return c};
Ev=function(a,b){return g.lm(b,{ACTTYPE:{toString:function(){switch(a){case "video_card_endcap_action":return"action_headline_click";default:return""}}}})};
Fv=function(a,b){Dp.call(this);this.A=a;this.o=g.E(b)};
Gv=function(a,b){Dp.call(this);this.o=a;this.A=b};
Hv=function(){this.gb=null};
Iv=function(a,b){this.logger=null;this.A=b;this.g={};this.o=[];this.g.CustomTracking=Cr;this.g.UI=this.C};
Jv=function(a,b){if(null==b)return null;var c={};(0,g.G)(g.te(b),function(a){c[a.nodeName]=null!=this.g[a.nodeName]?this.g[a.nodeName].call(this,a):null},a);
return null!=c.UI?c:null};
Kv=function(){Iv.call(this,0,"mute_");this.g.SurveyOptions=this.B};
Lv=function(){Dp.call(this);this.o=""};
Mv=function(){this.gb=null};
Nv=function(a,b,c,d){Dp.call(this);this.B=a;this.A=b;this.C=c;this.o=d};
Ov=function(){this.gb=null};
Pv=function(){Dp.call(this)};
Qv=function(){this.gb=null};
ega=function(a,b){(0,g.G)(g.te(b),function(a){a.nodeName==this.g.OF&&sr(a)},a)};
Rv=function(a,b,c,d,e,f){Dp.call(this);this.C=a||"";this.D=b||"";this.F=c||"";this.B=d;this.o=e;this.A=f};
Sv=function(){this.gb=null};
Tv=function(a){Dp.call(this);this.o=a};
Uv=function(){this.gb=null};
Vv=function(){Iv.call(this,0,"why_this_ad_");this.o.push("targeting_reason")};
Wv=function(a,b){return null!=a?(0,g.zr)(b,function(b){return b in a}):!1};
fga=function(a,b){return null!=a?(0,g.Bk)(b,function(b){return b in a}):!1};
Xv=function(){};
Yv=function(){Dp.call(this)};
Zv=function(){};
$v=function(){};
aw=function(a){this.B=a;this.logger=null};
bw=function(a){if(null==a)return!1;a=g.ve(a);return null!=a&&"VAST"==a.nodeName};
dw=function(a,b){var c=[],d=null;try{var e=g.lr(a),f=g.ve(e);null!=f&&"CompanionAds"==f.nodeName&&(d=cw(aw.prototype,f,b))}catch(k){}null!=d&&c.push(d);return c};
ew=function(a){if(null==a)return 0;a=(0,window.parseInt)(a.getAttribute("version"),10);return g.oa(a)&&!(0,window.isNaN)(a)?a:0};
hga=function(a){var b=[],c=g.ve(a.B),d=ew(c);tr(c,a.g.xD,function(a){var c=fw(a);if(null==c)throw nr(a);var e=a.getAttribute(this.o.Nl);a=Number(a.getAttribute(this.o.Ou));var l=e||null;e=a||0;var m=null,n=null;a=[];for(var q=[],r=[],w=[],A=new El,C,B=c.nodeName==this.g.bG,M=B,X=B,xa=null,db=g.te(c),fa=0,uc=db.length;fa<uc;fa++){var eb=db[fa];switch(eb.nodeName){case this.g.yD:sr(eb);case this.g.rF:break;case this.g.XF:if(B){if(null!=C)throw or(eb);C=sr(eb);xa=efa(C);M=wr(c.getAttribute(this.o.ED),
M);X=wr(c.getAttribute(this.o.xE),X)}else throw nr(eb);break;case this.g.BD:m=sr(eb);break;case this.g.CD:n=sr(eb);break;case this.g.mE:sr(eb);break;case this.g.MF:sr(eb);break;case this.g.Pl:eb=sr(eb);Ar(eb)&&a.push(yr(eb));break;case this.g.ERROR:eb=sr(eb);q.push(yr(eb));break;case this.g.dE:w=gga(this,eb);r=w.creatives;w=w.JG;break;case this.g.tE:var Zf=eb,A=xa,eb=new El;try{for(var $f=qr(Zf,this.g.EXTENSION),Zf=0,Fk=$f.length;Zf<Fk;Zf++){var xc=$f[Zf],bc=xc.getAttribute(this.o.fv);null!=bc?bc=
bc.toLowerCase():bc="generic";switch(bc){case "programmatic":var yc=(new Mv).parse(xc);break;case "geo":yc=(new Zv).parse(xc);break;case "pod":yc=(new Xv).parse(xc);break;case "waterfall":yc=(new $v).parse(xc);break;case "dart":yc=(new av).parse(xc);break;case "dfp":bc="DFP";yc=(new bv).parse(xc);break;case "adsense":bc="AdSense";yc=(new $u).parse(xc);break;case "textad":bc="TextAd";yc=(new Sv).parse(xc);break;case "templatead":bc="TemplateAd";yc=(new Qv).parse(xc);break;case "infocards":var bc="InfoCards",
Au=new Bv(!0);yc=Au.parse(xc);break;case "infocardstracking":bc="InfoCardsTracking";Au=new Bv(!1);yc=Au.parse(xc);break;case A:case "prefetchedad":bc="LocalRedirect";var kj=xc;if(null==kj)yc=null;else{var Gk=null,Wp=qr(kj,"AdXml");if(1==Wp.length){var Nm=g.ve(Wp[0]);if(Fm().g("html5_reuse_parsed_xml")&&null!=Nm)try{Gk=pr(Nm)}catch(Rg){Gk='<?xml version="1.0" encoding="UTF-8"?>'+mr(Nm)}else Gk='<?xml version="1.0" encoding="UTF-8"?>'+mr(Nm)}var Jd=qr(kj,"VASTAdTagURI"),kj=null;1==Jd.length&&(kj=Jd[0].textContent);
yc=new Fv(Gk,kj)}break;case "viral":bc="viral";yc=(new Uv).parse(xc);break;case "metrics":bc="metrics";yc=(new Hv).parse(xc);break;case "adx":bc="adx";yc=(new Er).parse(xc);break;case "why_this_ad":bc="why_this_ad";yc=(new Vv).parse(xc);break;case "mute":bc="mute";yc=(new Kv).parse(xc);break;case "sodar":yc=(new Ov).parse(xc);break;case "adformat":bc="AdFormat";yc=(new Wu).parse(xc);break;default:var Om=new cv,bc="generic";yc=Om.parse(xc)}if(null!=yc){var Bu=eb.get(bc);null!=Bu?"generic"==bc&&($da(Bu,
yc.g),eb.set(bc,Bu)):eb.set(bc,yc)}}}catch(Rg){if(!g.va(Rg.Nb)||1105==Rg.Nb())throw Rg;}A=eb}}c=g.E(l);$f=m;a:if(D(g.E(m)))Fk="UNKNOWN";else switch(Fk=m.toUpperCase(),Fk){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:Fk="UNKNOWN"}A.get("programmatic");xc=A;bc=null;
A=A.get("AdSense");null!=A&&(A=Ep(A,"vast2tracking"),null!=A&&!g.ib(A)&&(bc=A[0]));e=new Ir(c,$f,Fk,0,n,0,0,0,e,q,a,r,w,xc,C,M,X,bc);null!=e&&(e.Sa=d,b.push(e))},a);
return b};
fw=function(a){var b=null;a=g.te(a);for(var c=0,d=a.length;c<d;c++)switch(b=a[c],b.nodeName){case "InLine":case "Wrapper":break;default:throw nr(b);}return b};
iga=function(a){if(D(g.E(a)))return"none";switch(a){case "all":case "any":case "none":return a;default:return"none"}};
gga=function(a,b){var c=[],d=[];tr(b,a.g.cE,function(a){var b=a.getAttribute(this.o.Ou),e=window.NaN;D(g.E(b))||(e=(0,window.parseFloat)(b));a.getAttribute(this.o.zD);var b=a.getAttribute(this.o.Nl),l=!1,m=[];a=g.te(a);for(var n=0,q=a.length;n<q;n++){var r=a[n];switch(r.nodeName){case this.g.VF:var w=r,A=sr(w),A=g.E(A);D(A)&&w.getAttribute(this.o.IE);r.getAttribute(this.o.HE);break;case this.g.LINEAR:if(l)throw or(r);l=jga(this,r,(0,window.isNaN)(e)?0:e,b||null);rb(c,l);rb(m,l);l=!0;break;case this.g.SD:if(l)throw or(r);
l=cw(this,r,(0,window.isNaN)(e)?0:e);rb(d,l);l=!0;break;case this.g.gF:if(l)throw or(r);l=kga(this,r,(0,window.isNaN)(e)?0:e,b||null);rb(c,l);rb(m,l);l=!0}}n=0;for(q=m.length;n<q;n++);},a);
return{creatives:c,JG:d}};
kga=function(a,b,c,d){var e=[],f=new bp;b=g.te(b);for(var k=0,l=b.length;k<l;k++){var m=b[k];switch(m.nodeName){case a.g.fF:m=lga(a,m,c,d);null!=m&&e.push(m);break;case a.g.sp:f=Cr(m);break;default:throw nr(m);}}0!=e.length||f.isEmpty()||(a=new wp(null,new g.Qd(-1,-1),"",null,""),a.g=c,a.ka=d,e.push(a));(0,g.G)(e,function(a){f&&(a.hj=f)});
return e};
gw=function(a,b){var c={};c.id=b.getAttribute(a.o.Nl);c.adSlotId=b.getAttribute(a.o.AD);c.apiFramework=b.getAttribute(a.o.Kl);var d=Wa(b.getAttribute(a.o.Ul)),e=Wa(b.getAttribute(a.o.Ll));c.size=new g.Qd(d,e);d=b.getAttribute(a.o.sE);e=b.getAttribute(a.o.rE);D(g.E(d))||D(g.E(e))||(c.l2=new g.Qd(Wa(d),Wa(e)));return c};
lga=function(a,b,c,d){var e=gw(a,b);b.getAttribute(a.o.Kl);b.getAttribute(a.o.zF);b.getAttribute(a.o.SE);var f=b.getAttribute(a.o.bF),f=vr(f,-1),k=[];new El;var l={},m="",n=null,q=[];b=g.te(b);for(var r=0,w=b.length;r<w;r++){var A=b[r];switch(A.nodeName){case a.g.iF:q.push(sr(A));break;case a.g.hF:n=sr(A);break;case a.g.Wo:l=hw(A);m=g.E(sr(A));break;case a.g.Ol:case a.g.Ql:case a.g.Ml:A=iw(a,A);null!=A&&k.push(A);break;default:throw nr(A);}}a=Tu(e.id,e.size,k);lp(a,m,l);a.K=e.apiFramework;a.pa=n;
a.M=q;a.Aa=f;a.g=c;a.ka=d;return a};
iw=function(a,b){var c=rr(b,a.o.eE);if(null!=c&&"text/javascript"==c)return null;a:{var d=b.nodeName;switch(d){case a.g.Ql:d="Static";break a;case a.g.Ol:d="IFrame";break a;case a.g.Ml:d="Html";break a;default:throw Ym(mga,null,d);}}var e=sr(b);null!=e||(e="");return new Uu(d,c,e)};
cw=function(a,b,c){var d=[],e=iga(rr(b,a.o.wF));tr(b,a.g.RD,function(a){var b=gw(this,a);var e=[],f=new bp,n=null,q=[];a=g.te(a);for(var r=0,w=a.length;r<w;r++){var A=a[r];switch(A.nodeName){case this.g.UD:q.push(sr(A));break;case this.g.sp:f=Cr(A,!0);break;case this.g.TD:n=sr(A);break;case this.g.FD:sr(A);break;case this.g.Wo:sr(A);break;case this.g.Ol:case this.g.Ql:case this.g.Ml:A=iw(this,A);null!=A&&e.push(A);break;default:throw nr(A);}}b=g.ib(e)?null:Zfa(b,n,q,c,f,e);null!=b&&d.push(b)},a);
return new Yfa(d,e)};
jga=function(a,b,c,d){var e=new bp,f={},k="",l=[],m=null,n=new El,q=[],r=[],w=0,A=Br(rr(b,a.o.EF));b=g.te(b);for(var C=0,B=b.length;C<B;C++){var M=b[C];switch(M.nodeName){case a.g.CE:r=nga(a,M);break;case a.g.Wo:f=hw(M);k=g.E(sr(M));break;case a.g.cp:w=vr(sr(M),0);break;case a.g.sp:e=Cr(M);break;case a.g.WE:q=oga(a,M);break;case a.g.YF:l=pga(a,M);n=l.customClicks;m=l.clickThrough;l=l.clickTrackingUrls;break;default:throw nr(M);}}(0,g.G)(l,function(a){gp(e,"click",a)});
a=new pp(w,m,n,q,A,r);lp(a,k,f);a.g=c;a.ka=d;e&&(a.hj=e);return a};
pga=function(a,b){for(var c=null,d=[],e=new El,f=g.te(b),k=0,l=f.length;k<l;k++){var m=f[k];switch(m.nodeName){case a.g.OD:c=sr(m);break;case a.g.PD:m=sr(m);d.push(m);break;case a.g.hE:var n=rr(m,a.o.Nl);null!=n||(n="");var q=e.get(n,[]);q.push(sr(m));e.set(n,q);break;default:throw nr(m);}}return{clickThrough:c,clickTrackingUrls:d,customClicks:e}};
oga=function(a,b){for(var c=[],d=qr(b,a.g.VE),e=0,f=d.length;e<f;e++){var k=d[e],l=rr(k,a.o.lE),m=rr(k,a.o.fv),n=rr(k,a.o.ZF),q=Wa(k.getAttribute(a.o.Ul)),r=Wa(k.getAttribute(a.o.Ll)),w=k.getAttribute(a.o.Kl),A=sr(k),C=ur(k.getAttribute(a.o.ou)),B=ur(k.getAttribute(a.o.aF)),k=ur(k.getAttribute(a.o.UE)),l=new op(l,m,n,C,B,k,q,r,A,w);c.push(l)}return c};
nga=function(a,b){var c=[];tr(b,a.g.BE,function(a){var b=a.getAttribute(this.o.sF);var d=rr(a,this.o.cG),k=rr(a,this.o.fG),l=Wa(a.getAttribute(this.o.Ul)),m=Wa(a.getAttribute(this.o.Ll)),n=new g.Qd(l,m),l=a.getAttribute(this.o.Kl),m=Br(rr(a,this.o.jF)),q=a.getAttribute(this.o.cp),q=vr(q,-1),r=[],w=[],A={};a=g.te(a);for(var C=0,B=a.length;C<B;C++){var M=a[C];switch(M.nodeName){case this.g.GE:w.push(sr(M));break;case this.g.DE:for(var A=[],X=null,M=g.te(M),xa=0,db=M.length;xa<db;xa++){var fa=M[xa];
switch(fa.nodeName){case this.g.EE:X=sr(fa);break;case this.g.FE:A.push(sr(fa));break;default:throw nr(fa);}}A={iconClickThrough:X,zI:A};break;case this.g.Ol:case this.g.Ql:case this.g.Ml:X=iw(this,M);null!=X&&r.push(X);break;default:throw nr(M);}}g.ib(r)?b=null:(a=A,n=Tu("icon"+b,n,r),n.K=l,b=new Ot(n,b,d,k,q,m,a.iconClickThrough,a.zI,w));null!=b&&c.push(b)},a);
return c};
hw=function(a){a=sr(a);return null!=a?Cda(a):{}};
jw=function(a){ru.call(this,a);this.g=this.gb=null;this.O={};this.A=!0;this.K=this.J=this.F=!1;this.D=this.M=0;this.o=null;this.C=0;this.B=1;this.G=-1;this.X=!1;this.P=2==O.F};
kw=function(a){var b=a.dd("getAdLinear");return g.na(b)?b:a.A};
lw=function(a){if(!a.A){var b=a.dd("getAdRemainingTime");b=g.oa(b)?b:-2;if(!g.oa(b)||0>b)b=30;g.hg(a.G);a.G=g.gg(a.stop,1E3*b,a)}};
mw=function(a){a.X||(a.X=!0,wu(a,"complete"))};
ow=function(a,b){var c=Zm(nw,b,void 0),d=$p(c,a.ma()),e=Tr(a.ma());Vm(e,d);nw.message=c.Cd();bn(a,nw,b)};
pw=function(a){ru.call(this,a);this.C=this.g=this.gb=null;this.A=!0;this.ba=this.M=this.F=!1;this.X=Va();this.J=this.O=0;this.G=-1;this.o=null;this.D=0;this.B=1;this.K=-1;this.P=!1};
qw=function(a){var b=a.kd("getAdLinear");return g.na(b)?b:a.A};
rw=function(a){if(!a.A){var b=a.kd("getAdRemainingTime");b=g.oa(b)?b:-2;if(!g.oa(b)||0>b)b=30;g.hg(a.K);a.K=g.gg(a.stop,1E3*b,a)}};
tw=function(a,b,c,d){d=Zm(b,c,d);var e=$p(d,a.ma()),f=Tr(a.ma());Vm(f,e);b.message=d.Cd();bn(a,b,c)};
uw=function(a){a.P||(a.P=!0,wu(a,"complete"))};
vw=function(a){rm.call(this,"adMetadata",a)};
ww=function(a){switch(a){case 1:return"endslate";default:return"fullslot"}};
xw=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"}};
yw=function(){};
Aw=function(a){var b;(b=a.g)||(b={},zw(a)&&(b[0]=!0,b[1]=!0),b=a.g=b);return b};
Bw=function(){};
Cw=function(a){return(a=zw(a))?new window.ActiveXObject(a):new window.XMLHttpRequest};
zw=function(a){if(!a.o&&"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.o=d}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.o};
Dw=function(a){g.rf.call(this);this.headers=new El;this.M=a||null;this.A=!1;this.K=this.g=null;this.X="";this.o=0;this.D="";this.B=this.P=this.J=this.O=!1;this.C=0;this.F=null;this.ca="";this.ba=this.G=!1};
Ew=function(a,b){a.C=Math.max(0,b)};
qga=function(a){return g.sc&&g.kc(9)&&g.oa(a.timeout)&&g.t(a.ontimeout)};
rga=function(a){return"content-type"==a.toLowerCase()};
Hw=function(a,b){a.A=!1;a.g&&(a.B=!0,a.g.abort(),a.B=!1);a.D=b;a.o=5;Fw(a);Gw(a)};
Fw=function(a){a.O||(a.O=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
Kw=function(a){if(a.A&&"undefined"!=typeof Iw)if(a.K[1]&&4==Jw(a)&&2==a.getStatus())a.getStatus();else if(a.J&&4==Jw(a))g.gg(a.ix,0,a);else if(a.dispatchEvent("readystatechange"),4==Jw(a)){a.getStatus();a.A=!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.sg(String(a.X))[1]||null;if(!f&&pa.self&&pa.self.location)var k=pa.self.location.protocol,f=k.substr(0,k.length-1);e=!sga.test(f?
f.toLowerCase():"")}d=e}if(d)a.dispatchEvent("complete"),a.dispatchEvent("success");else{a.o=6;try{var l=2<Jw(a)?a.g.statusText:""}catch(m){l=""}a.D=l+" ["+a.getStatus()+"]";Fw(a)}}finally{Gw(a)}}};
Gw=function(a,b){if(a.g){Lw(a);var c=a.g,d=a.K[0]?g.x:null;a.g=null;a.K=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){}}};
Lw=function(a){a.g&&a.ba&&(a.g.ontimeout=null);g.oa(a.F)&&(g.hg(a.F),a.F=null)};
Jw=function(a){return a.g?a.g.readyState:0};
Mw=function(a){try{return a.g?a.g.responseText:""}catch(b){return""}};
tga=function(a,b,c,d){var e=new g.Kl("https://www.googleapis.com/youtube/v3/videos");g.Tl(e,"id",a);g.Tl(e,"part","snippet,status,statistics");g.Tl(e,"fields","items/id,items/snippet/title,items/snippet/channelId,items/status/privacyStatus,items/statistics/viewCount");null!=d&&(b=(0,g.y)(b,d),c=(0,g.y)(c,d));Nw(new Dw,e,b,c)};
uga=function(a,b,c,d){var e=new g.Kl("https://www.googleapis.com/youtube/v3/channels");g.Tl(e,"id",a);g.Tl(e,"part","snippet,statistics,brandingSettings");g.Tl(e,"fields","items/id,items/snippet/title,items/snippet/thumbnails/default/url,items/statistics/videoCount,items/brandingSettings/image/bannerImageUrl");null!=d&&(b=(0,g.y)(b,d),c=(0,g.y)(c,d));Nw(new Dw,e,b,c)};
Nw=function(a,b,c,d){g.Tl(b,"key","AIzaSyA-dlBUjVQeuc4a6ZN4RkNUYDFddrVLxrA");Ew(a,2E3);var e=new g.cm(a);hm(e,a,"success",function(a){a=a.target;var b=a.g?g.kg(a.g.responseText):void 0;c(b||{});e.dispose();a.dispose()});
hm(e,a,["error","timeout"],function(a){a=a.target;var b=null;0!=a.o&&(b=Error(xw(a.o)));d(b);e.dispose();a.dispose()});
a.send(b)};
Ow=function(a,b,c,d,e,f,k,l){f=void 0===f?window.Infinity:f;k=void 0===k?!1:k;Xi.call(this,a,l);this.C=0;this.K=f;this.ba=b;this.M=c;this.X=d;this.ca=e;this.da=!("csi.gstatic.com"!==this.M||!this.g.navigator||!this.g.navigator.sendBeacon);this.F={};this.g.performance&&this.g.performance.now||(this.F.dat=1);this.G={};this.O=!k;this.A=(0,g.y)(this.P,this);this.J=g.Aa(this.g.setTimeout,this.A,1100);this.B=this.g.setTimeout(this.A,1E4);"complete"===this.g.document.readyState?this.g.setTimeout(this.A,
0):Sh(this.g,"load",this.J);Sh(this.g,"unload",this.A)};
Pw=function(a){var b=a.label+"."+Math.round(a.value).toString(36);a=Math.round(a.duration);0<a&&(b+="_"+a.toString(36));return b};
vga=function(a,b){a.C++;var c=new Oi(void 0,"~");Ti(c,"puid",a.C.toString(36)+"~"+(0,g.F)().toString(36));Ph(a.F,function(a,b){Ti(c,b,a)});
Ph(a.G,function(b,d){Ti(c,d,b);delete a.G[d]});
Ph(b,function(a,b){Ti(c,b,a)});
var d=Ui(c,a.ba,a.M,""+a.X+a.ca+"&");a.da&&a.g.navigator.sendBeacon(d,null)||Vh(a.g,d)};
Sw=function(){this.g=null;if((Hm(Em(),21592081)||Hm(Em(),21592082))&&!O.g()){this.g=new Ow(1,"https:","csi.gstatic.com","/csi?v=2&s=","ima",void 0,!0);if(Qw)var a=Qw;else{(a=Uh())?(a=a.master,a=Oh(a)?a:null):a=null;a=a||ai();var b=a.google_persistent_state_async;a=null!=b&&"object"==typeof b&&null!=b.S&&"object"==typeof b.S?Qw=b:a.google_persistent_state_async=Qw=new qca}var b=ai(),c=Uh(b);c?((b=c||Uh())?(c=b.pageViewId,g.u(b.clientId)&&(c+=b.clientId.replace(/\D/g,"").substr(0,6)),b=c):b=null,b=
+b):(b=bk(b).St,(c=b.google_global_correlator)||(b.google_global_correlator=c=1+Math.floor(Math.random()*Math.pow(2,43))),b=c);c=wga[7]||"google_ps_7";a=a.S;var d=a[c];a=void 0===d?a[c]=b:d;Rw(this,"c",a);a=Im(Em());D(g.E(a))||Rw(this,"e",a)}this.o="0"};
Tw=function(){var a=Sw.getInstance();a.g&&(a.g.tj(),a.g=null)};
Rw=function(a,b,c){a.g&&c&&(a.g.F[b]=c)};
Uw=function(a){var b=Sw.getInstance();if(b.g&&xga){var c=b.g,d=Yi();c.o&&c.ho(new Wi(a,4,d,0));Hm(Em(),21592082)&&(a=b.g,!a.B&&a.o&&a.O&&(a.B=a.g.setTimeout(a.A,Math.min(1E3<<a.C,6E4))))}};
yga=function(a,b){if(b){var c=/iu\=\/(\d+)\//.exec(Ia(b)),d=g.E((new g.Kl(b)).g.get("client"));a.o=c&&2==c.length?c[1]:D(d)?"0":d}else a.o="0"};
zga=function(a,b){this.o=a;this.g=b};
Vw=function(a){this.K=a;this.g=[];this.o=new g.eg(500);g.L(this,this.o);this.C=new g.cm(this);dm(this.C,this.o,"tick",this.D,!1,this);g.L(this,this.C);this.B=1;this.J=!1;this.F=this.A=0;this.G=O.ca};
Ww=function(a){if(!a.o.enabled){a.D();a.o.start();var b=(0,g.F)();a.F=b;0===a.A&&(a.A=b)}};
Xw=function(a){var b=0,c=0,d=0;2<a.g.length&&(b=a.g[a.g.length-1].g-a.g[0].g,c=a.g[a.g.length-1].o-a.g[0].o);0<a.g.length&&(d=a.g[a.g.length-1].o);var e=-1,f=(0,g.F)()-a.A;a.A===a.F&&0<e&&(e=d/f);Kn(Hn.getInstance(),47,{t:a.J,lpp:a.B,wl:a.g.length,se:b,me:c,n:!1,am:!1,mt:d,opp:e,ose:f,mwl:a.G},!0)};
Yw=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=Ya(b.viewCount),this.Yf=(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}};
Aga=function(a){return'<a target="_blank" href="'+P(a.url)+'" class="'+P("fullslot-attribution-button")+'">'+P(a.text)+"</a>"};
Bga=function(a){return'<div class="'+P("fullslot-autoclose")+'">'+P(a.wG)+"</div></div>"};
Zw=function(a){return""+Ca("Ad will close in {$xSeconds}",{xSeconds:P(a.Ig)})};
$w=function(a){g.rf.call(this);this.C=new g.eg(200);g.L(this,this.C);this.A=0;this.o=!1;this.O=a;this.K=new g.cm(this);this.K.V(this.C,"tick",this.VP)};
ax=function(a){a.C.stop();a.o=!1};
cx=function(a,b,c,d,e){$w.call(this,b.g);this.G=b;this.F=c;this.J=this.G.g;this.g=a;this.B=this.D=null;g.R(this.g,ww(this.F));a=this.g;b=new ct;b.skipOffset=new Uq(this.G.B,!1);this.B=new At(b,a);d&&d.text&&(d=Mp(Aga,d),this.g.appendChild(d));e?(e=this.g,d=Zw({Ig:bx(this.J)}),a=Mp(Bga,{wG:d}),g.ze(a,d),e.appendChild(a),e=a):e=null;this.D=e};
Cga=function(a){var b=g.J("videoAdUiSkipButton",a.g);return b?g.qh(b,a.g):new g.Nd(0,0)};
bx=function(a){a=Math.ceil(a);return"0:"+(10>a?"0"+a:""+a)};
fx=function(a,b,c,d,e){$w.call(this,d);this.J=a;this.X=b;this.P=e;this.B=new g.cm(this);g.L(this,this.B);this.D=new Ks;g.L(this,this.D);this.M=new Ks;g.L(this,this.M);this.G=new Ks;g.L(this,this.G);(a=dx(c))?(c=a(c),b.appendChild(c),b=g.J("iv-endcap-action",c),this.B.V(this.D,"click",this.F),this.D.Ib(b),b=g.J("iv-endcap-text",c),this.B.V(this.M,"click",this.F),this.M.Ib(b),b=g.J("iv-endcap-image",c),this.B.V(this.G,"click",this.F),this.G.Ib(b),b=c):b=null;this.g=b?g.J("iv-endcap-countdown-inner",
b):null;null!=this.g&&g.ah(this.g,"stroke-dasharray","0 "+ex)};
dx=function(a){switch(a.bc()){case 1:return Dga;case 4:return Ega}return null};
Dga=function(a){var b=Kq(a);a=0<gv(a,"action")?Sq(a):null;return Mp(Iq,{headline:b.pd(),description:dr(b,"description"),image:Oq(b).getImageUrl(),action:a?fr(a):"",target:a?Rq(a)||dr(a,"link_url"):""})};
Ega=function(a){var b=a.g();a=0<gv(a,"action")?Sq(a):null;return Mp(Iq,{headline:b.pd(),description:gr(b),image:b.sg().getImageUrl(),action:a?fr(a):"",target:a?Rq(a)||dr(a,"link_url"):""})};
Fga=function(){var a="",b=Ca("Your video will play after this ad."),a=a+('<div class="'+Q("videoAdInterstitial")+'"><p>'+b+"</p></div>");return Go(a)};
gx=function(){g.K.call(this);this.A=Mp(Fga);this.g=0};
hx=function(a){a.g&&(g.hg(a.g),a.o(g.x))};
ix=function(a,b,c,d,e,f,k,l,m,n,q,r,w,A,C){this.B=a;this.C=n;this.D=b;this.F=d;this.J=l;this.K=r;this.M=e;this.P=f;this.O=w;this.g=k;this.o=m;this.A=q;this.G=A;this.X=C};
jx=function(a){g.Ne.call(this,a)};
kx=function(a){g.rf.call(this);this.gb=null;this.B=a;this.O=new El;this.K=-1;this.G=this.P=!1;this.F=""};
lx=function(a){this.paused=!1;this.mute=a.fj();this.volume=a.getVolume()};
mx=function(a,b,c,d){if(!c||null==a.O.get(b)){d&&!a.G&&(b="error");a.O.set(b,!0);a:{c=b;if(a.A&&a.A.g.A){if("click"==c)break a;"videoLearnMoreClicked"==c&&ou(a.B,new g.Ne("click"))}d=Gga[c]||null;null!=d&&null!=a.g&&a.g.Vs(d);ou(a.B,new g.Ne(c))}a.dispatchEvent(b)}};
nx=function(a){0>a.K||a.P||!a.g.kk(a.K)&&!a.g.bh()||!a.G||(a.P=!0,mx(a,"engagedview",!0,!0),a.dispatchEvent(new jx("viewCount")))};
ox=function(a){nx(a);if(O.g()){var b=a.B;if(!(Gl(b.o,"skip")||0>b.C)){for(var c=ep(b.A,"progress"),d=[],e=b.C;e<c.length;e++){var f=c[e];b.C=e+1;d.push(f.g)}0<d.length&&ou(b,new g.Ne("progress"),d)}}mx(a,"complete",!0,!0)};
qx=function(a){this.g=new El;a&&px(this,a)};
rx=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+g.za(a):b.substr(0,1)+a};
sx=function(a,b){a.g.set(rx(b),b)};
px=function(a,b){for(var c=Il(b),d=c.length,e=0;e<d;e++)sx(a,c[e])};
tx=function(a){ru.call(this,a);this.g=null;this.F=!1;this.B=new kx(this.Ub);this.gb=null;this.P=this.ca=this.G=!1;this.ba=this.D=1;this.A=null;this.X=new gx;this.J=new qx;this.fa=!1;this.M=[];this.O=!1;this.o=this.C=null;this.da=!dn()&&O.g();this.K=!1;Hm(Em(),324123001)&&(O.X=!0);Hm(Em(),324123021)&&(O.X=!0);if(a=0<a.length?a[0]:null){var b=Sw.getInstance();Rw(b,"gqid",es(a));Rw(b,"qqid",dq(a))}Hga(this)};
ux=function(a,b){var c=g.gg(function(){this.J.remove(c);b.call(this)},0,a);
sx(a.J,c)};
vx=function(a){a.C&&(g.Le(a.C),a.C=null);g.Le(a.Ka);a.Ka=null;g.Le(a.B);g.Le(a.Ub);a.P=!1};
wx=function(a){a.vl();null!=a.o&&Xw(a.o);a.zb()?a.start():a.stop()};
Jga=function(a){if(!a.zb())return!1;var b=a.Ra.Gf();if(null==b)return!1;var c=a.ma(),d;if(d=c.M?c.M.g.Hk()?c.M.g.pr():c.M.nd():"")Iga(a,b,d);else if(vs(c)&&(d=c.ca,d=g.ib(d)?null:d[0],null!=d&&g.va(dx(d)))){var e=1==d.bc();a.g=new fx(a.Ga,b,d,Cs(c),e);a.fb().V(a.g,"click",(0,g.y)(a.Aw,a,null));a.Ka&&ku(a.Ka,!0);a.Ra.ud()}null!=a.g&&(a.fb().V(a.g,"timeUpdate",a.OA),a.fb().V(a.g,"end",a.XG),a.g.start(),wu(a,"video_card_endcap_impression"));return null!=a.g};
Iga=function(a,b,c){Kn(Hn.getInstance(),34,{evt:"start"},!0);var d=g.he("DIV");g.R(d,"controls");var e=g.he("DIV");g.R(e,"adDisplay");g.R(e,"endslate");e.innerHTML=c;(c=g.te(e)[0])&&g.ah(c,{margin:"0 auto"});(0,g.G)(c.getElementsByTagName("a"),function(a){var b=a.getAttribute("href");b&&this.fb().V(a,"click",(0,g.y)(this.Aw,this,b))},a);
d.appendChild(e);e=new Xu;$fa(e,Cs(a.ma()));e.B=0;e.A=0;a.g=new cx(d,e,1,{},!0);a.fb().V(a.g,"skip",a.Bw);b.appendChild(a.g.g);a.Ra.ud();a.Ka&&(Pfa(a.Ka),hu(a.Ka))};
yx=function(a,b){xx(a);null!=a.Ga&&a.Ga.dr();a.la("complete");wu(a,b);a.Ha("instreamAdComplete");wx(a)};
xx=function(a){a.g&&(a.g.dispose(),a.g=null);a.Ka&&ku(a.Ka,!1);a.F=!1};
Bx=function(a,b,c){zx(a)&&c?Ax(a,b).then(a.tv,null,a):(a.tv(),c&&Ax(a,b))};
Kga=function(a){null!=a.Ga&&a.Ga.ar();var b=Fm(),b=b.g("use_forced_brand_precap_duration")?b.o("forced_brand_precap_duration_ms"):2E3;Rfa(a.Ka,b);var c=g.gg(function(){null!=this.Ga&&this.Ga.dr();this.J.remove(c);this.X.show(this.Ra.Ak(),this.Ta.Kt,(0,g.y)(this.Ga.play,this.Ga))},b,a);
sx(a.J,c)};
Cx=function(a,b,c,d){b=ep(b.g,c);g.ib(b)||(a[d]=b[0].g)};
Dx=function(a,b,c){b=c.getExtension(b);null!=b&&(Cx(a,b,"annotation_click","cta_annotation_clicked"),Cx(a,b,"annotation_close","cta_annotation_closed"),Cx(a,b,"annotation_start","cta_annotation_shown"))};
Lga=function(a,b){var c=ts(b)&&!b.ha?$r(b):null,d=b.isSkippable()&&!Nr(b),e=null!=a.Ka&&a.Ka.g.B,f=b.A,k=Sp(a.Zi());if(!k){var l=b.getExtension("AdSense");null!=l&&(k=l.isPharma())}var m=Fm(),l=m.g("use_variable_load_timeout")?m.o("variable_load_timeout_ms"):a.Ta.jf,n=eq(b);if(a.Ka){var q={};Dx(q,"AdSense",b);Dx(q,"dart",b);Dx(q,"DFP",b)}else q=null;var f=f?f.vo:!1,r=dq(b),w=a.Ta.xj,m=m.g("legacy_autoplay_flag");var A=Xr(a.ma(),"endscreenClick");A=g.ib(A)?null:g.mg({endscreenClick:A});return new ix(n,
c,0,q,e,d,l,f,!1,r,w,k,m,A,zx(a))};
Hga=function(a){var b=0,c=0;(0,g.G)(a.ads,function(a){!vu(a)||O.g()&&0!=c||(c++,b+=a.getDuration())},a);
var d=1;(0,g.G)(a.ads,function(a){var b=a.C;b.eg=c;vu(a)&&(b.g=d,b.A=d,d++)},a)};
Ex=function(a){var b=a.o;return b&&b.ga&&(b=b.F,!g.ib(b)&&b[0]instanceof pp)?b[0].ff():Yr(a)};
Gx=function(a,b){if(!vu(b))throw Zm(Fx);var c=b.g,d=c.C;if(null!=d)return d;var d=a.Wg(b),e=a.Ga.sB(d,a.Ta.bitrate,a.Ta.mimeTypes||[],null!=b&&!0&&(O.g()||a.Ra.qn()||a.Ra.Vq()||dn()));Mga(d,a.Ta.bitrate,e,Sr(b));if(null!=e)return c.C=e;try{Nga(a,b)}catch(f){}throw Zm(Oga);};
Nga=function(a,b){if(Hn.getInstance().isLoggingEnabled()){var c=new qx,d=!1;(0,g.G)(a.Wg(b),function(a){sx(c,a.g);"VPAID"==a.A&&(d=!0)},a);
var e=a.Ga.yq(),e={aid:$r(b),mt:c.ib().join(","),smt:e.join(","),hvp:d,st:fs(b).join(",")};Kn(Hn.getInstance(),28,e)}};
Mga=function(a,b,c,d){if(!O.g())try{var e=(0,g.H)(a,function(a){return a.Pf}),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.Pf;a.selmt=null===c?"":c.g;a.ic=!1;a.nat=!1;a.iyh=Km(c.o)?"1":"0";a.as=d;Kn(Hn.getInstance(),22,a)}catch(k){}};
Hx=function(a){if(null!=a.A){var b=Sw.getInstance();Rw(b,"br",a.A.mh);Rw(b,"mt",a.A.g);Rw(b,"iyh",Km(a.A.o)?"1":"0");Rw(b,"smb",a.Ta.bitrate);if(a.Ga){var c=a.Ga.Lf();c&&Rw(b,"ps",c.width+"x"+c.height)}var c=a.A.Eb(),d=a.A.getHeight();null!=c&&null!=d&&Rw(b,"vs",c+"x"+d);a=a.A.F;D(g.E(a))||Rw(b,"vc",a)}};
Ix=function(a,b){b in a.M||(a.M.push(b),a.la(b))};
Pga=function(a){var b=a.ma(),c={};c.pubbr=a.Ta.bitrate;c.ic=!1;c.nat=!1;if(null!=b){a=a.Wg(b);var d=b.g,d=d?d.C:null,e=(0,g.H)(a,function(a){return a.Pf});
a=(0,g.H)(a,function(a){return a.g});
c.brs=e.join(",");c.mts=a.join(",");c.as=Sr(b);null===d?(c.selbr=-1,c.selmt="",c.iyh="0",c.murl=""):(c.selbr=d.Pf,c.selmt=d.g,c.iyh=Km(d.o)?"1":"0",c.murl=d.o)}Kn(Hn.getInstance(),45,c)};
Kx=function(a,b,c){Jx(a,c);a.vl();a.zb()?(an(a,b,c),a.start()):(bn(a,b,c),a.stop())};
Jx=function(a,b){var c=Zm(Lx,b),c=$p(c,a.ma(),a.Ga),d=Tr(a.ma());Vm(d,c)};
Mx=function(a){if(O.o||O.g()){var b=Ex(a.ma());null!=b&&Qm(b);a.la("click")}else a.K&&a.la("click")};
Nx=function(a,b){if(Nb(Qga,b)){var c=a.fb();dm(c,a.B,b,a.KA,!1,a)}};
Ox=function(a){if(!a.O){var b=a.ma(),c=b.D;if(Gs(b)&&!O.g()&&!a.Ra.qn()&&c){var b=a.Ga.getCurrentTime(),d=a.Ga.getDuration(),e=new g.Kl("//s.youtube.com/s");g.Tl(e,"ns","yt");g.Tl(e,"el","adunit");g.Tl(e,"docid",c);g.Tl(e,"eurl",window.document.URL);g.Tl(e,"len",d.toFixed(2));g.Tl(e,"tv","1");g.Tl(e,"ps","trueview-instream");g.Tl(e,"st",b.toFixed(2));g.Tl(e,"et",b.toFixed(2));g.Tl(e,"rt",b.toFixed(2));Rm(e.toString());a.O=!0}}};
Rga=function(a){var b=a.ma().P;if(null!=b){var b=b.videoId,c=a.Ta.Mi;if(D(g.E(b)))b=null;else{var c=new g.Kl((null!=c?c:"//www.youtube.com/")+"watch"),d=c.g;d.set("v",b);Pl(c,d);c.J="action=share";b=c.toString()}null!=b&&(Qm(b),a.BB())}};
Sga=function(a){a=Px(a)||Qx(a);null!=a&&Sm(a,"sharebuttondisplayed")};
Px=function(a){a=a.ma().getExtension("AdSense");return null!=a?new g.Kl(a.B):null};
Qx=function(a){if(a=a.ma().g)if(a=mp(a,"start"),!g.ib(a))return new g.Kl(a[0].g);return null};
Tga=function(a){var b=a.ma(),c=b.P;null!=c&&(b=Qp(c.videoId,null!=As(b),a.Ta.Mi),null!==b&&(a.Ga.pause(),Qm(b)))};
Rx=function(a){ux(a,function(){this.la("skip");wx(this)})};
Ax=function(a,b){return g.Vf(Uga(a,b).then(a.yS,null,a).then(a.dS,null,a).then(a.xS,null,a).then(a.LG,null,a),g.x)};
Uga=function(a,b){return new g.Lf(function(a,d){tga(b,function(b){b=new Yw(b);this.zb()&&this.ma().D==b.videoId?a(b):d()},function(){d()},this)},a)};
Sx=function(a){return a.zb()&&null!=a.ma().P&&a.ma().P.isListed};
Tx=function(a){var b=a.ma().ka;if(Sx(a)&&null!=b){var c=a.Ta.Mi;b=g.E(b.channelId);c=D(b)?null:(null!=c?c:"//www.youtube.com/")+"channel/"+(g.Fa(b,"UC")&&24==b.length?b:"UC"+b);null!==c&&(a.Ga.pause(),Qm(c))}};
zx=function(a){if(Fm().g("website_actions_holdback"))return!1;a=a.ma();if(!a||!a.D)return!1;var b=g.ab(a.B,function(a){return 4==a.bc()&&!!ev(ns(a),"show_in_cta",void 0)});
return O.g()&&Gs(a)&&null!=b};
Vga=function(a,b,c){var d=a.zb()?a.ma().D:null;a=a.ma();if(!a||!d)return b;a=g.ab(a.B,function(a){return 4==a.bc()&&!!ev(ns(a),"show_in_cta",void 0)});
if(!a)return b;var d=a.g();var e=Sq(a);a=Ja(e&&Rq(e)||"");if(Fm().g("website_actions_suppress_advertiser_supplied_text")){e=" ";var f=Ja(c.authorName)}else e=Ja(e&&fr(e)||" "),f=Ja(d.pd()||c.authorName);var k=Ja(gr(d)||"");c=Ja(d.sg().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 D(b)?b+'<Extension type="InfoCards">'+c+"</Extension>":b.replace(d,"$1"+c)};
Ux=function(a){g.rf.call(this);this.sessionId=a||Va();this.o=[]};
Vx=function(a,b,c,d,e){g.Ne.call(this,a);this.Qd=b;this.Qf=c;this.Fx=d;this.A=e};
Wx=function(a,b){Ux.call(this,b);this.A=a;this.rf=null;this.B=new g.cm(this);this.logger=null;this.B.V(fe(),"message",this.receive)};
Xx=function(a){if(null==a||!g.u(a)||!g.Fa(a,"ima://"))return null;a=a.substr(6);try{return g.kg(a)}catch(b){return null}};
Wga=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.A;return"ima://"+g.mg(e)};
Yx=function(a,b){if(null==b)return!1;var c=b.channel;if(null==c||c!=a.A)return!1;c=b.sid;return null==c||"*"!=a.sessionId&&c!=a.sessionId?!1:!0};
Zx=function(a,b){g.Ne.call(this,"vpaidEvent");this.sessionId=b};
$x=function(a){ru.call(this,a);this.da=this.O=this.Vc=!1;this.G=[];this.C=Va();this.gb=this.g=null;this.o=!0;this.K=-1;this.J=new g.eg(500);this.X=this.F=-1;this.B=1;this.ca=this.ba="";this.P=this.M=this.D=!1};
by=function(a){var b=Wr(a.ma());O.g()&&(b=Xga(a,b));var c=g.E(Yr(a.ma())),d=a.ma();if(vu(d)){var e=d.g,f=rp(e,"javascript");null!=f&&(e.C=f)}d=Ds(d);c={desiredBitrate:a.Ta.bitrate,creativeData:b,viewMode:a.cd,clickThroughUrl:c,adUrl:d,volume:a.B};d.match("//s0.2mdn.net/instream/html5/survey/survey.html")&&0<=b.indexOf("yt_override")&&null!=a.Ta.surveyCreativeData&&(c.creativeData=a.Ta.surveyCreativeData);ay(a,"initAd",c);(0,g.G)(a.G,function(a){ay(this,a.type,a.params)},a);
a.Vc=!0;a.G=[]};
cy=function(a,b,c){c=c||null;a.Vc?ay(a,b,c):a.G.push({type:b,params:c})};
ay=function(a,b,c){c=c||{};c.session=a.C;c.type=b;dy()?window.parent.postMessage(g.mg(c),"*"):null!=a.A.contentWindow&&a.A.contentWindow.postMessage(g.mg(c),"*")};
Zga=function(a,b){var c={};b=Ra(b);var d;b.length?d=b.split(/\s+/):d=[];(0,g.G)(d,function(a){c[a]=!0});
g.Jb(Yga,function(a,b){Fm().g(b)&&(c[a]=!0)},a);
return g.Pb(c).join(" ")};
Xga=function(a,b){var c=g.lr(b),d=a.ma().getExtension("why_this_ad");if(null!=d){var e=d.o;e&&3==e.length&&(0,g.G)(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 mr(c)};
ey=function(a,b,c,d){d=Zm(b,c,d);var e=$p(d,a.ma()),f=Tr(a.ma());Vm(f,e);b.message=d.Cd();bn(a,b,c)};
hy=function(a,b){if(g.u(b.type))switch(b.type){case "friendlyReady":by(a);break;case "videoCall":switch(b.func){case "load":case "play":a.Ra.vg();a.ca!=b.src&&(a.ca=b.src,a.g.load(b.src,b.mimetype));a.g.play();break;case "pause":a.g.pause()}break;case "returnDuration":a.F=b.duration;break;case "returnRemainingTime":a.K=b.remainingTime;break;case "AdClickThru":a.Ha("click");a.la("click");break;case "AdDurationChange":a.F=b.duration;a.K=b.remainingTime;a.ma().g.Wa=a.F;a.la("durationChange");break;case "AdError":ey(a,
nw,Error(b.message));a.stop();break;case "AdExpandedChange":a.la("expandedChanged");break;case "AdImpression":var c=a.ma();g.ib(Vr(c))||a.zd(c);wu(a,"impression");a.M=!0;fy(a,51);break;case "AdLinearChange":c=b.isLinear;!a.o&&c?(a.la("contentPauseRequested"),cy(a,"becameLinear")):!c&&a.o&&(a.la("contentResumeRequested"),cy(a,"becameNonlinear"),cy(a,"getAdRemainingTime"),cy(a,"getAdDuration"));a.o=c;var d=a.ma();d.bb=!0;d.ua=c;a.la("linearChanged");break;case "AdLoaded":g.hg(a.X);a.O=!0;d=b.companions;
c=a.ma();g.ib(Vr(c))&&(d=dw(d,c.g.g),g.ib(d)||Hr(c,d));gy(a);wu(a,"loaded");break;case "AdPaused":a.D=!0;wu(a,"pause");break;case "AdPlaying":a.D=!1;wu(a,"resume");break;case "AdRemainingTimeChange":a.K=b.remainingTime;c=a.ma().getDuration();d=c-a.Nc();Eu(a,d,c);break;case "AdSkipped":wu(a,"skip");a.stop();break;case "AdSkippableStateChange":wu(a,"skippableStateChanged");break;case "AdStarted":a.Ha("creativeview");fy(a,52);break;case "AdStopped":a.Ha("stop");a.stop();break;case "AdUserAcceptInvitation":a.o?
a.Ha("acceptinvitationlinear"):a.Ha("acceptinvitation");break;case "AdUserMinimize":a.Ha("collapse");break;case "AdUserClose":wu(a,"userClose");break;case "AdVideoComplete":a.M&&a.P||(c={},c.aic=a.M,c.avc=a.P,fy(a,56,c));wu(a,"complete");break;case "AdVideoFirstQuartile":wu(a,"firstquartile");break;case "AdVideoMidpoint":wu(a,"midpoint");break;case "AdVideoStart":a.Ha("start");a.la("start");a.P=!0;break;case "AdVideoThirdQuartile":wu(a,"thirdquartile");break;case "AdVolumeChange":c=b.volume;c!=a.B&&
a.la("volumeChange",{volume:c});0==c&&0!=a.B?(a.Ha("mute"),a.la("mute")):0==a.B&&0!=c&&a.Ha("unmute");a.B=c;a.g.setVolume(c);break;case "AdInteraction":c={};c.id=b.id;a.la("interaction",c);break;case "Ping":Rm(b.url)}};
iy=function(a,b){dy()||ay(a,"wrapperCall",{messageType:b})};
gy=function(a){a.O&&a.da&&(cy(a,"startAd"),a.J.start(),a.o||(cy(a,"becameNonlinear"),cy(a,"getAdRemainingTime")),cy(a,"getAdDuration"))};
fy=function(a,b,c){try{c=c||{};c.dn=a.ba;c["if"]=dy();c.pid=Sw.getInstance().o;var d=cs(a.ma()).join();c.xy=d;Kn(Hn.getInstance(),b,c,!0)}catch(e){}};
dy=function(){return 2==O.F};
jy=function(){ru.call(this,[]);this.gb=null;this.Vd=this.Wd=-1;this.F=!1};
ly=function(a,b,c,d){if(a.g){var e=a.g,f=a.fb();dm(f,e,ky,a.dispatchEvent,!1,a);f=a.fb();dm(f,e,"companionBackfill",a.dispatchEvent,!1,a);f=a.fb();dm(f,e,"adError",a.Yz,!1,a);f=a.fb();dm(f,e,"allAdsCompleted",g.x,!1,a);f=a.fb();dm(f,e,"contentPauseRequested",a.fA,!1,a);f=a.fb();dm(f,e,"contentResumeRequested",a.Bs,!1,a);f=a.fb();dm(f,e,"userClose",a.ti,!1,a);f=a.fb();dm(f,e,"autoClose",a.si,!1,a);a.g.Dg(a.Jd);a.g.Tc(b,c,d)}};
my=function(a){a.g&&(a.g.destroy(),a.g=null);a.Ra&&a.Ra.hide();g.Le(a.gc);a.gc=null};
oy=function(a,b,c){jy.call(this);this.A=c;this.o=null;this.C=this.D=this.B=!1;this.g&&my(this);this.g=b;ny(this,b)};
qy=function(a,b,c){var d=(0,g.y)(function(a){an(this,$ga,c);try{var b=py([a[0]]);if(b)var d=b;else throw Error("Ads manager creation failure, failed to determine ad type.");ny(this,d);a=d;try{this.g&&my(this),this.g=a,ly(this,this.Ra,this.content,this.Ta),this.F&&this.g.ij(),this.g.Bb(this.Wd,this.Vd,this.cd),this.g.init(this.cd),this.start()}catch(m){d=m;var e=a.Mb();is(e);qy(this,js(e),Error(d.Cd()))}}catch(m){e=m,bn(this,e.Cd(),e.Ik)}},a);
a=(0,g.y)(function(){this.la("contentResumeRequested");bn(this,aha,c);this.destroy()},a);
null!=b?nq(b,d,a):a(null)};
ny=function(a,b){a.o&&a.o.dispose();a.o=new g.cm(a);g.L(a,a.o);dm(a.o,b,"start",a.nN,!1,a)};
ry=function(a){ru.call(this,[]);this.gb=null;this.o=a;this.A=0;this.g=this.o[this.A];this.B=this.D=this.C=null;this.Vd=this.Wd=-1;this.F=!1;bha(this)};
sy=function(a,b,c,d){if(a.g){a.C=new g.cm(a);var e=a.g,f=a.C;dm(f,e,ky,a.dispatchEvent,!1,a);dm(f,e,"start",a.LI,!1,a);dm(f,e,"companionBackfill",a.dispatchEvent,!1,a);dm(f,e,"adError",a.mN,!1,a);dm(f,e,"allAdsCompleted",g.x,!1,a);dm(f,e,"contentPauseRequested",a.sh,!1,a);dm(f,e,"contentResumeRequested",a.Uf,!1,a);dm(f,e,"userClose",a.ti,!1,a);dm(f,e,"autoClose",a.si,!1,a);a.g.Tc(b,c,d)}};
bha=function(a){var b=0,c=a.o.length;(0,g.G)(a.o,function(a){b+=a.We().getDuration()},a);
var d=1;(0,g.G)(a.o,function(a){a=a.We().C;a.eg=c;a.g=d;a.A=d;d++},a)};
uy=function(a,b,c){a.A+1>=a.o.length?bn(a,Lx,c.Ik):(an(a,Lx,c.Ik),ty(a,b))};
ty=function(a,b){if(a.g===b)if(vy(a),a.A++,a.A<a.o.length)try{a.g=a.o[a.A],a.g===a.B?(a.C=a.D,a.B=null,a.D=null,a.Ra.hide(),a.Ra.Uq()):(sy(a,a.Ra,a.content,a.Ta),a.g.Bb(a.Wd,a.Vd,a.cd),a.g.init(a.cd)),a.start()}catch(c){uy(a,a.g,c)}else a.la("contentResumeRequested"),a.destroy()};
vy=function(a){a.C&&(a.C.dispose(),a.C=null);a.g&&(a.g.destroy(),a.g=null);a.Ra&&a.Ra.hide()};
cha=function(a){return'<div class="'+P("close-padding")+'"><a class="'+P("close-button")+'" title="'+P(a.close)+'" role="button" tabindex="0"></a></div>'};
dha=function(){return'<div class="'+P("recall-button")+'"></div>'};
eha=function(a){return'<a target="_blank" href="'+P(a.url)+'" class="'+P("attribution-button")+'">'+P(a.text)+"</a>"};
wy=function(a,b){this.K=a;this.J=g.he("DIV",{"class":"controls"});this.g=g.he("DIV",{"class":"adDisplay"});this.ba=b||g.x;this.Hf=new g.cm(this)};
yy=function(a){var b=g.he("DIV",{"class":"ima-container"});Qs(b,"opacity 0.4s");a.Hf.V(b,"mouseover",a.vI);a.Hf.V(b,"mouseout",a.XS);b.appendChild(a.J);a.J.appendChild(a.g);return b};
zy=function(a){var b=window.document.createEvent("Event");b.initEvent("creativeview",!0,!0);a.dispatchEvent(b)};
Ay=function(a){ru.call(this,a);this.containerElement=null;this.K=g.he("DIV",{style:"display:none;position:absolute;top:0;left:0;bottom:0;right:0;z-index:2000"});this.B=!1;this.F=[]};
By=function(a,b){var c=Zda(b);(0,g.G)(c,function(a){gp(this.Ub.A,"click",a)},a)};
Cy=function(a,b){var c=$p(b,a.ma()),d=Tr(a.ma());Vm(d,c)};
Dy=function(a,b,c,d,e,f,k){g.rf.call(this);this.o=this.J=0;this.G=a;this.Dc=b;this.ka=c;this.D=null;this.qb=d;this.ba=f;this.ca=O.B;this.M=this.C=this.F=this.g=null;this.Vd=this.Wd=-1;this.fa="normal";this.X=null;this.B=e;this.A=[];this.ga=this.O=this.ha=this.P=!1;this.da=k;this.gb=null;fha(this)};
Ey=function(a,b,c,d){a.Wd=b;a.Vd=c;null!=d&&(a.fa=d);null!=a.g&&a.g.Bb(b,c,d)};
fha=function(a){(0,g.G)(a.G,function(a){gha(a)})};
Fy=function(a){return a.J<a.G.length&&null!=a.G[a.J]};
hha=function(a,b){var c;if(c=O.g()&&!g.ib(b)&&0==a.Dc)c=b[0],c=null!=c&&null==Ds(c)&&xs(c,"nonlinear");return c?(c=ds(b[0]),"ADSENSE"==(0<c.length?c.pop():Sr(b[0])).toUpperCase()):!1};
Ly=function(a){!Fy(a)||2<=a.A.length-a.o?a.ha||(Hy(a),a.Xf()&&Iy(a,a.o)&&Jy(a,a.o)&&Ky(a,a.o),a.ha=!0,a.dispatchEvent("adBreakInitialized")):Gy(a)};
Gy=function(a){var b=a.G[a.J];dm(a.K,a.qb,"adsLoaderSdkAdLoaded",a.Wz,!1,a);O.B="on_master_ad";iha(a.qb,b.o,b)};
Hy=function(a){null==a.Dc||(0,g.Bk)(a.A,function(a){return!a.isBumper()})||(a.A=(0,g.se)(a.A,function(a){return!(a.isBumper()&&!a.A)}))};
Iy=function(a,b){if(b<a.A.length){var c=a.A[b];g.ib(c.g)?c=!1:(c=c.g[0],c=null!=c?!eo(Jr(c),"rm"):!1)}else c=!1;return c};
Sy=function(a){if(Iy(a,a.o)){var b=a.A[a.o];try{a.O?My(a,a.g):a.Xf()&&Jy(a,a.o)?(null===a.C&&Ky(a,a.o),Ny(a),a.g=a.C,a.F=a.M,a.C=null,a.M=null,a.B.Uq()):(Ny(a),a.F=new g.cm(a),a.g=Oy(a,b,a.F),My(a,a.g));null!=a.D&&(a.D.dispose(),a.D=null);if(Py(a.g)){var c=a.Mb();if(null==c||!ys(c)){var d=a.g.ma().g;if(null!==d){var e=d.Aa;0>=e&&!a.ba.Fv||(0>=e&&(e=15),a.D=new g.eg(1E3*e),im(a.F,a.D,"tick",a.DP,a))}}}if(Py(a.g))a.dispatchEvent("contentResumeRequested"),a.B.ud(),a.g.start(),null!=a.D&&a.D.start();
else{var f=a.g;if(null!=f&&f instanceof tx)a.B.vg(),a.g.start();else{var k=a.g;if(null!=k&&k instanceof $x){var l=a.g;a.B.ud();l.Zb()?dy()||a.B.vg():a.dispatchEvent("contentResumeRequested");a.g.start()}else{var m=a.g;if(null!=m&&(m instanceof pw||m instanceof jw))a.B.ud(),a.g.Zb()||a.dispatchEvent("contentResumeRequested"),a.g.start();else{var n;if(!(n=Qy(a.g))){var q=a.g;n=null!=q&&q instanceof oy}if(n)a.g.start();else throw Error("Unknown ads manager type.");}}}}a.Xf()&&Iy(a,a.o+1)&&Jy(a,a.o+1)&&
1==Ry(a)&&Ky(a,a.o+1)}catch(r){a.o++,Sy(a)}Fy(a)&&Gy(a)}else a.dispatchEvent("contentResumeRequested"),Ty(a)};
My=function(a,b){if(null===b)throw Error("Ads manager must be constructed before initialization");b.init(a.fa);null!=a.X&&b.setVolume(a.X)};
Oy=function(a,b,c){b=Uy(a.qb.A,b.g);var d=new pm(a.B,a.Xf());b.Dg(a.da);dm(c,b,ky,a.Xz,!1,a);dm(c,b,"companionBackfill",a.Xz,!1,a);dm(c,b,"adError",a.kN,!1,a);dm(c,b,"allAdsCompleted",g.x,!1,a);dm(c,b,"contentPauseRequested",a.sh,!1,a);dm(c,b,"contentResumeRequested",a.Uf,!1,a);dm(c,b,"userClose",a.ti,!1,a);dm(c,b,"autoClose",a.si,!1,a);b.Tc(d,{currentTime:0},a.ba);b.Bb(a.Wd,a.Vd,a.fa);return b};
Ny=function(a){a.B.hide();null!=a.D&&(a.D.dispose(),a.D=null);null!=a.F&&(a.F.dispose(),a.F=null);null!=a.g&&(a.g.destroy(),a.g=null)};
Vy=function(a){null!=a.M&&(a.M.dispose(),a.M=null);null!=a.C&&(a.C.destroy(),a.C=null)};
Qy=function(a){return null!=a&&a instanceof ry};
Py=function(a){return null!=a&&a instanceof Ay};
Ty=function(a){a.P=!1;a.dispatchEvent("allAdsCompleted")};
Ry=function(a){return null===a.g||g.ib(a.g.ads)?0:a.g.ads.length};
jha=function(a,b,c){if("loaded"==b||"start"==b||"adMetadata"==b||"companionBackfill"==b||"firstquartile"==b){var d=0,e=0;(0,g.G)(a.A,function(a,b){var f=a.g;-1!=(0,g.fb)(f,c)&&a.isBumper();d+=f.length;b<this.o&&(e+=f.length)},a);
b=c.C;var f=e+b.A;b.eg=d+(a.G.length-a.J);b.g=f;b.B=a.ka;b.o=a.Dc}};
Ky=function(a,b){var c=a.A[b];a.M=new g.cm(a);a.C=Oy(a,c,a.M);My(a,a.C)};
Jy=function(a,b){if(0<=b&&b<a.A.length){var c=a.A[b].g[0];return null!=Ds(c)||null!=Es(c)?!1:!0}return!1};
kha=function(a){this.o=a};
Wy=function(a){this.o=a;this.g=this.isBumper=!1;this.A=null};
gha=function(a){if(null!=a.o.g&&(a=g.sg(a.o.g)[6]||null)){var b=null;wg(a,function(a,d){if(null==b)switch(a){case "max_ad_duration":case "pmxd":b=d/1E3}})}};
Xy=function(){this.g=new El};
Yy=function(a,b,c){if((0,window.isNaN)(c)||!g.oa(c))throw Error("Incorrect time offset.");var d=[];Gl(a.g,c)&&(d=a.g.get(c,[]));(0,g.G)(b,function(a){null!=a&&g.kb(d,a)});
a.g.set(c,d)};
Zy=function(a,b){this.g=a;this.o=b};
mha=function(a){var b=new Xy;(0,g.G)(g.te(g.ve(a.g)),function(a){switch(a.nodeName){case "Preroll":a=$y(this,a);Yy(b,a,0);break;case "Midroll":var c=rr(a,"timeOffset"),e=vr(c);if(-1==e)throw Ym(az,null,"timeOffset",g.E(c));a=$y(this,a);Yy(b,a,e);break;case "Postroll":a=$y(this,a);Yy(b,a,-1);break;default:throw Ym(bz,null,a.parentNode.nodeName,a.nodeName);}},a);
if(0==b.g.Cb().length)throw Ym(lha);return b};
$y=function(a,b){var c=[];(0,g.G)(g.te(b),function(a){switch(a.nodeName){case "Ad":var b=g.E(sr(a));if(!D(b)){a=rr(a,"bumper");var d=this.o.clone();d.g=b;b=new Wy(d);b.isBumper=null!=a;b.g="always"==a;g.kb(c,b)}break;default:throw Ym(bz,null,a.parentNode.nodeName,a.nodeName);}},a);
return c};
cz=function(a){g.Ne.call(this,a);this.g=this.A=null};
dz=function(){g.rf.call(this);this.currentTime=0};
fz=function(a,b,c){g.rf.call(this);c=c||new ez;this.o=a;this.D=c.F;this.J=c.D;this.O=c.C;this.K=c.g;this.M=c.A;this.F=c.o;this.G=c.B;this.C=!1;this.B=null;this.A=!1;this.g=nha(b)};
ez=function(){this.D=0;this.A=this.g=this.F=this.C=!1;this.B=this.o=5};
gz=function(a){this.g=a.Dc;this.C=g.za(a);this.A=this.o=!1;this.sJ=5==a.Ze();this.B=this.de=!1};
hz=function(a,b){return wb(a.g,b.g)};
iz=function(a){a.o.start();a.A=!0};
oha=function(a){if(a.A){var b=g.ab(a.g,function(a){return-1==a.g},a);
null!=b&&jz(a,!0,b)}};
nha=function(a){var b=[];(0,g.G)(a,g.Aa(function(a,b){a(new gz(b))},g.Aa(function(a,b){Cb(a,b,hz)},b)));
return b};
pha=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.kb(c,e)}return c};
kz=function(a,b){return cb(a,g.Aa(function(a,b){return b.sJ==a},b))};
qha=function(a){var b=[],c=kz(a,!1);c&&b.push(c);(a=kz(a,!0))&&Cb(b,a,hz);return b};
rha=function(a,b){for(var c=0;c<a.g.length;c++){var d=a.g[c];if(lz(a,d,a.J,b,!0,a.O)&&!a.g[c].o)return d}return null};
lz=function(a,b,c,d,e,f){return-1==b.g?f&&0<a.o.duration&&d>=a.o.duration-c:e&&d>=b.g-c&&d<b.g};
mz=function(a,b){var c=new cz("contentTrackingError");c.setDescription(b);a.dispatchEvent(c)};
jz=function(a,b,c){null!=c&&(c.o||(nz(a,"requestAds",c),c.o=!0),b&&!c.A&&(nz(a,"playAds",c),c.A=!0))};
sha=function(a,b){var c;a:{for(c=0;c<a.g.length;c++){var d=a.g[c];if(lz(a,d,-1==d.g?a.G:a.F,b,a.K,a.M)&&d.de&&!d.B){c=d;break a}}c=null}null==c?a.C&&(a.dispatchEvent(new cz("discardAdNotify")),a.C=!1):a.C||c.A||(nz(a,"adNotify",c),a.C=!0)};
nz=function(a,b,c){b=new cz(b);b.A=c.g;b.g=c.C;a.dispatchEvent(b)};
oz=function(a){dz.call(this);this.currentTime=a.currentTime;if(!("currentTime"in a)||(0,window.isNaN)(a.currentTime))throw Zm(Vn,null,"content","currentTime");this.duration="duration"in a&&!(0,window.isNaN)(a.duration)?a.duration:-1;this.o=a;this.g=new g.eg(250);this.A=new g.cm(this);dm(this.A,this.g,"tick",this.B,!1,this)};
tha=function(){};
pz=function(a,b,c){if(g.ib(a))return null;a=(0,g.se)(a,function(a){var b=a.B;return"application/x-mpegurl"==g.E(a.g).toLowerCase()||"application/dash+xml"==g.E(a.g).toLowerCase()||"progressive"==b});
g.ib(c)||(c=(0,g.H)(c,function(a){return a.toLowerCase()}),a=(0,g.se)(a,function(a){return g.gb(c,g.E(a.g).toLowerCase())}));
if(!g.oa(b)||0>=b)b=fk()?500:1E3;return uha(a,b)};
uha=function(a,b){return vha(a,b)||wha(a,b)||xha(a,b)};
vha=function(a,b){var c=null;(0,g.G)(a,function(a){var d=a.mh,f=a.Pf;d>b||f<b||!(null==c||c.mh>d)||(c=a)});
return c};
wha=function(a,b){var c=null;(0,g.G)(a,function(a){var d=a.mh,f=a.Pf;f>b||(null==c||c.Pf<f?c=a:null!=c&&c.Pf==f&&c.mh>d&&(c=a))});
return c};
xha=function(a,b){var c=null;(0,g.G)(a,function(a){var d=a.mh,f=a.Pf;if(!(d<b))if(null!=c&&c.mh==d&&c.Pf<f)c=a;else if(null==c||c.mh>d)c=a});
return c};
qz=function(a){this.o=0;this.A=a||100;this.g=[]};
rz=function(a,b){if(b>=a.g.length)throw Error("Out of bounds exception");return a.g.length<a.A?b:(a.o+Number(b))%a.A};
sz=function(a){g.rf.call(this);this.g=a;this.X=new qz(4);this.A=0;this.P=this.B=this.Vc=this.F=!1;this.M=this.Lf();this.K=this.ej();this.ba=Ln();this.O=!1};
uz=function(a){a.Vc=!1;a.B=!1;a.F=!1;a.A=0;a.P=!1;a.X.clear();tz(a);g.Le(a.C)};
vz=function(a){a.B||(a.B=!0,tz(a),a.dispatchEvent("start"),g.va(a.g.getAttribute)&&a.g.getAttribute("playsinline"),tn()||!g.mn||on(3)||gn()&&!ln(4)||a.fr())};
wz=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};
tz=function(a){a.J&&(g.hg(a.J),a.J=null)};
yz=function(){g.rf.call(this);this.o=new xz;this.g=new g.cm(this);var a=sm();if(a){a:{if(Rb(a.g,"videoElementMockDuration")&&(a=a.g.videoElementMockDuration,g.oa(a)))break a;a=window.NaN}this.duration=a}};
yha=function(){var a=["video/mp4"],b=["video/ogg"],c=new yz;c.canPlayType=function(c){return g.gb(a,c)?"probably":g.gb(b,c)?"maybe":""};
c.width=0;c.height=0;c.offsetWidth=0;c.offsetHeight=0;return c};
zha=function(a){this.startTime=0;this.endTime=a};
xz=function(){this.length=0;this.g=[]};
zz=function(a,b,c,d){if(null==a||!g.xe(g.Td(a),a))throw Zm(Vn,null,"containerElement","element");this.C=a;this.o=this.g=null;this.B=b;this.F=!d;this.D=c||!1;this.A=null;this.g=g.he("DIV",{style:"display:none;"});this.C.appendChild(this.g);this.F&&(a=sm(),tm(a,"useVideoElementMock")?(a=yha(),b=g.he("DIV",{style:"position:absolute;width:100%;height:100%;top:0px;left:0px;"}),g.Ba(b,a),a.dk=g.he("DIV",{style:"position:absolute;width:100%;height:100%;top:0px;left:0px;background-color:#000"}),a.un=g.he("P",
{style:"position:absolute;top:25%;margin-left:10px;font-size:24px;color:#fff;"}),a.dk.appendChild(a.un),b.appendChild(a.dk),a.g.V(a,["loadeddata","playing","pause","ended"],a.gR),a=b):a=g.he("VIDEO",{style:"background-color:#000;position:absolute;width:100%;height:100%;",title:""+Ca("Advertisement")}),a.setAttribute("webkit-playsinline",!0),a.setAttribute("playsinline",!0),this.o=a,this.g.appendChild(this.o));this.B&&(a="display:none;position:absolute;width:100%;height:100%;",O.C||(a+="background-color:#000;"),
a=g.he("DIV",{id:this.B,style:a}),this.g.appendChild(a));this.D&&(this.A=g.he("DIV",{style:"position:absolute;width:100%;height:100%;"}),this.g.appendChild(this.A))};
Az=function(a,b,c,d){g.K.call(this);this.B=b||null;this.F="*";this.o=c||null;this.sessionId=null;this.channel=d||null;this.K=!!a;this.C=(0,g.y)(this.G,this);window.addEventListener("message",this.C)};
Bz=function(a,b){"null"!=b.origin&&(a.o=a.F=b.origin);a.B=b.source};
Cz=function(a){Az.call(this,!0);this.sessionId=a;this.channel="remoteplayer";this.o="*";this.g={};this.A=[];this.D=!1};
Dz=function(a){a.D=!0;(0,g.G)(a.A,function(a){this.sendMessage(a)},a);
a.A.length=0};
Aha=function(){};
Ez=function(a,b){this.g=a;this.C=new qx;this.F=(0,g.y)(this.G,this);this.K=Math.floor(2147483646*Math.random())+1;this.o=b||new Cz(this.K);g.L(this,this.o);this.A=new g.cm(this);g.L(this,this.A);var c=(0,g.y)(a.play,a);this.o.g.play=c;c=(0,g.y)(a.load,a);this.o.g.load=c;c=(0,g.y)(a.pause,a);this.o.g.pause=c;c=(0,g.y)(this.D,this);this.o.g.listen=c;c=(0,g.y)(this.J,this);this.o.g.unlisten=c;c=(0,g.y)(this.B,this,"src");this.o.g.setSource=c;c=(0,g.y)(this.B,this,"muted");this.o.g.setMuted=c;c=(0,g.y)(this.B,
this,"volume");this.o.g.setVolume=c};
Hz=function(a){g.rf.call(this);this.P="ima-chromeless-video";var b=null;null!=a&&(g.u(a)?this.P=a:b=a);this.X=new g.cm(this);this.D=null;this.B=!1;this.sa=this.Lf();this.ka=this.ej();this.K=-1;this.fa=!1;this.F=-1;this.A=this.da=this.M=null;this.ca="";this.o=!1;this.ha=null!=b;this.ua=this.O=this.ga=this.g=null;this.C=void 0;this.J=this.pa=null;this.G=this.va=0;this.ha?(this.o=!0,this.g=b,this.C=2):(a=(0,g.y)(this.MG,this),Fz?a():(Gz.push(a),a=g.je("script"),a.src="https://www.youtube.com/iframe_api",
b=window.document.getElementsByTagName("script")[0],b.parentNode.insertBefore(a,b)))};
Jz=function(a,b,c){null!==b&&(a.ca=b,a.o?Iz(a,b,c):(a.M=b,a.da=c))};
Iz=function(a,b,c){var d={autoplay:"1"};O.C&&(d.dash=0);if(null!=a.A){var e=a.A.D;null!=e&&(d.agcid=e);e=a.A.B;null!=e&&(d.adformat=e);e=a.A.C;null!=e&&(d.ad_query_id=e);(e=a.A.F)&&(d.cta_conversion_urls=e);(e=a.A.G)&&(d.endscreen_ad_tracking_data=e);(e=a.A.X)&&(d.wait_for_vast_info_cards_xml=e);a.A.isPharma()&&(d.is_pharma=1);d.iv_load_policy=a.A.M?1:3;a.A.J&&(d.noiba=1);a.A.P&&(d.utpsa=1);a.A.O&&(d.autoplay="1");a.A.A&&g.$b(d,a.A.A)}e=Pp(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;!O.g()&&(d.enabled_engage_types="3,4,5,6");a.B=!1;a.A&&a.A.o?(a.pa=d,a.g.preloadVideoByPlayerVars(a.pa)):a.g.cueVideoByPlayerVars(d);a.dispatchEvent("loaded")};
Kz=function(a){a.X.Ca(a.D,"tick",a.iA);null!=a.D&&(a.D.stop(),a.D=null)};
Lz=function(a){null!=a.Aa&&g.hg(a.Aa)};
Mz=function(a,b){g.rf.call(this);this.B=a;this.A=b;this.g={};this.o=new g.cm(this);this.o.V(fe(),"message",this.C);this.gb=null};
Oz=function(a,b,c,d){a.g.hasOwnProperty(b)||(c=new Wx(b,c),a.o.V(c,a.B,function(a){a=new Nz(a.type,a.Qd,a.Qf,a.Fx,a.getOrigin(),b);this.dispatchEvent(a)}),c.rf=d,c.connect(),a.g[b]=c)};
Nz=function(a,b,c,d,e,f){Vx.call(this,a,b,c,d,e);this.g=f};
Qz=function(){var a=g.v("google.ima.gptProxyInstance",fe());if(null!=a)return a;g.cm.call(this);this.A=new Mz("gpt",!0);g.L(this,this.A);this.V(this.A,"gpt",this.D);this.gb=this.g=null;Pz()||fe().top===fe()||(this.g=new Mz("gpt",!1),g.L(this,this.g),this.V(this.g,"gpt",this.C))};
Pz=function(){return!!g.v("googletag.cmd",fe())};
Rz=function(){var a=g.v("googletag.console",fe());return null!=a?a:null};
Sz=function(){this.g=(0,g.F)()};
Bha=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 Tz[n].apply(null,arguments)})};
Wz=function(a,b){g.rf.call(this);this.o=new g.cm(this);this.J=!1;this.K=Va();this.G=new El;var c=this.K,d=(zba()?"https:":"http:")+Bha("//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.he("IFRAME",{src:d+"#"+c,allowFullscreen:!0,style:"border:0; opacity:0; margin:0; padding:0; position:relative;"});hm(this.o,
c,"load",this.iH);a.appendChild(c);this.A=c;c=this.G.get("*");null==c&&(c=new Wx(this.K,"*"),this.J&&(c.rf=ye(this.A),c.connect()),this.G.set("*",c));this.F=c;this.D=b;this.g=this.D.o;this.gb=this.B=this.C=null;this.o.V(this.F,"mouse",this.FH);this.o.V(this.F,"touch",this.VH);null!=this.g&&(this.o.V(this.F,"displayContainer",this.AH),this.o.V(this.F,"videoDisplay",this.SH),this.o.V(this.F,"preloadVideoDisplay",this.MH),this.o.V(this.g,g.Ob(Uz),this.Wf),this.o.V(this.g,Vz,this.Wf));c=fe();d=g.v("google.ima.gptProxyInstance",
c);null==d&&(d=new Qz,g.qa("google.ima.gptProxyInstance",d,c))};
Xz=function(a,b){var c=g.lh(a.A),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.A,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.A,a.identifier,a.pageX+c.x,a.pageY+c.y,a.screenX,a.screenY)},a);
return window.document.createTouchList.apply(window.document,e)};
Yz=function(a){a=a.playbackOptions;return new ix(a.adFormat,a.adSenseAgcid,0,a.ctaAnnotationTrackingEvents,a.showAnnotations,a.viewCountsDisabled,a.loadVideoTimeout,a.ibaDisabled,a.enablePreloading,a.adQemId,null,a.isPharma,a.useAutoplayFlag,a.endscreenAdTracking,a.waitForVastInfoCardsXml)};
Zz=function(a,b,c,d,e){if(!(e||null!=a&&g.xe(g.Td(a),a)))throw Zm(Vn,null,"containerElement","element");this.D=a;var f=null!=b||null!=d;Hm(Em(),136961005)&&(O.M=!0);e=b?b:null;null!=e&&g.va(e.getAttribute)&&e.getAttribute("playsinline");var k=f;e=!1;O.M?O.o||(un()&&f||(k=!1),!k&&O.M&&!O.g()&&dn()&&(O.C=!0),!O.C&&dn()||Ik()||(e=!0)):O.o||un()&&f||(!O.C&&dn()||Ik()||(e=!0),k=!1);this.F=k;this.M=e||k&&null!=d;O.o?a=null:(f=g.he("DIV",{style:"position:absolute"}),a.insertBefore(f,a.firstChild),a=f);this.A=
a;this.g=this.F||!this.A||O.o||!dn()?null:new zz(this.A,null,!0);f=a=null;this.F?b?(a=new sz(b),f=b):d&&(a=new Hz(d)):this.g&&(a=new sz(this.g.o),f=this.g.o);k=null;f&&O.C&&e&&(k=new Ez(f));this.K=k;this.o=a;this.C=this.B=null;e=g.mn&&!on(4);a=gn()&&dn();this.g&&this.o&&this.A&&!this.F&&!Ik()&&!e&&!a&&this.A&&(this.B=new zz(this.A,null,!0),this.C=new sz(this.B.o));this.G=this.o?c||null:null;this.O=null!=this.G;Kn(Hn.getInstance(),8,{enabled:this.F,yt:null!=d,customClick:null!=this.G});null===this.A?
(b=this.D,O.G=b):this.F&&b&&!g.va(b.getBoundingClientRect)&&(b=this.D,O.G=b);this.J=null==this.A||O.o?null:new Wz(this.A,this)};
$z=function(a){return a.O&&a.G?a.G:null!=a.g?a.g.A:null};
aA=function(a){this.g=a};
bA=function(a,b){g.Ne.call(this,"adsManagerLoaded");this.g=a;this.A=b};
cA=function(a,b,c,d){a.g.Tc(new aA(b),c,d);return a.g};
dA=function(){};
eA=function(){g.rf.call(this);this.de=!1;this.impressionUrls=[]};
fA=function(a,b,c){g.Ne.call(this,a);this.A=b||null;this.g=c||null};
hA=function(a,b){g.rf.call(this);this.g=a;this.D=!!b;this.B=gA(this);if(!this.B){var c=g.sc&&!g.kc("7")?"readystatechange":"load";this.o=g.bf(this.g,c,this.C,!1,this);this.A=window.setInterval((0,g.y)(this.C,this),100)}};
iA=function(a){a.A&&(window.clearInterval(a.A),a.A=null)};
gA=function(a){var b=!1;try{if(a.D||!g.sc||g.kc("11"))var c=a.g,d=(c.contentDocument||c.contentWindow.document).body,b=a.D?!!d&&!!d.firstChild:!!d;else b="complete"==a.g.readyState}catch(e){}return b};
jA=function(){eA.call(this);this.F=[];this.C=!1;this.A="not_loaded";this.o=null;this.B=0;this.g=this.gb=null;this.G=new Sd};
kA=function(a){var b=["googletag","googletag.cmd"];return g.ab(a,function(a){return(0,g.zr)(b,function(b){return null!==g.v(b,a)})})||null};
lA=function(a){return a.de?(0,g.H)(a.F,function(a){return a.clone()}):[]};
Cha=function(a){a=lA(a);if(null!=a)return(0,g.H)(a,function(a){return a.G})};
mA=function(a,b,c){var d=0,e=0;null!=b&&(b=new g.Kl(b.g),d=Number(b.g.get("pod")||0),e=Number(b.g.get("ppos")||0));if(null!=a.setVideoSession)try{a.setVideoSession(In.g,d,e,c)}catch(f){}};
Dha=function(a,b){var c=nA(a);if(null!==c){mA(c,b,!0);try{c.refreshAllSlots()}catch(d){}}};
pA=function(a,b,c){a=oA(a);if(null!=a)try{a.setVideoContent(b,c)}catch(d){}};
qA=function(a,b){a.D=b;pA(a,"","");var c=nA(a);null===c||mA(c,null,!1)};
nA=function(a){null==a.g&&rA(a);return null!=a.g&&null!=a.g.googletag&&null!=a.g.googletag.companionAds?a.g.googletag.companionAds():null};
oA=function(a){null==a.g&&rA(a);return null!=a.g&&null!=a.g.googletag&&null!=a.g.googletag.pubads?a.g.googletag.pubads():null};
sA=function(a){a.o&&(a.o.stop(),a.o.Ca("tick",a.uA,!1,a),a.o.dispose(),a.o=null)};
wA=function(a){if("retrieved"!=a.A&&"not_available"!=a.A&&null!==nA(a)){var b=nA(a);if(null!==b&&g.va(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.A=c;break;default:c=Number(c),(0,window.isNaN)(c)?a.A="not_available":(a.D=c,a.A="retrieved")}}(c=tA(a))||(c=uA(a)&&"not_available"==a.A);if(c){if(!a.J&&uA(a)){try{if(null==a.g)var d=[];else{var e=a.g.googleGetCompanionAdSlots();d=(0,g.H)(e,a.rS,a)}}catch(f){d=
[]}a.F=d;a.J=!0}a.de=!0;sA(a);tA(a)?a.dispatchEvent(new fA("companions_success")):vA(a)}else a.o||(a.B=(0,g.F)()+15E3,a.o=new g.eg(100),a.o.V("tick",a.uA,!1,a),a.o.start())};
tA=function(a){return uA(a)&&"retrieved"==a.A};
uA=function(a){a.C||(rA(a),a.C=null!=a.g&&null!=a.g.googleGetCompanionAdSlots);return a.C};
rA=function(a){var b=g.Ie(a.G);try{a.g=kA([b,b.top])}catch(c){a.g=null}};
vA=function(a){a.dispatchEvent(new fA("companion_initialization_failed",Error("Partial or full service initialization failure.")))};
Eha=function(a,b,c){var d=new hA(b,!0);d.Rb()?xA(a,c,b):kf(d,"ifload",g.Aa(function(a){xA(this,c,a)},b),!1,a)};
xA=function(a,b,c){a.dispatchEvent(new fA("companion_slot_init",null,b));var d=c;"IFRAME"==c.tagName&&(d=(c.contentDocument||c.contentWindow.document).body);null!=d&&g.bf(d,"click",(0,g.y)(a.eO,a,b),!1,a)};
yA=function(){g.rf.call(this);this.A=[]};
zA=function(){return new Ir("empty-ad","GDFP","GDFP",0,"",0,0,0,0,[],[],[],[],new El)};
AA=function(a){yA.call(this);this.g=a;this.G=this.gb=null;this.F=!1;this.B=null;this.C=new g.cm;dm(this.C,this.g,["companions_success","companion_initialization_failed"],this.yQ,!1,this);dm(this.C,this.g,"companion_display_error",this.gO,!1,this);dm(this.C,this.g,["companion_slot_init","companion_click"],this.cO,!1,this);this.g.de?this.F=!0:this.g.initialize()};
CA=function(a){var b=a.B;a.B=null;if(null!=a.g)if(g.ib(a.A))BA(a,Error("Companion slots not available."));else if(null!=b){var c=Fha(a,b);a.g.zd(a.A);if(0<c.length&&b.Ja){a=a.g;var d;if(d=0!=c.length)d=fs(b),d="GDFP"==(as(d[0])&&1<d.length?d[1]:d[0]);if(d){d=[];for(var e=0;e<c.length;e++)d.push(c[e].J);b=b.A;c=nA(a);if(null!==c){mA(c,b,!1);try{c.notifyUnfilledSlots(d)}catch(f){}}}}}else BA(a,Error("Invalid master ad."))};
BA=function(a,b){a.dispatchEvent(new no("companion_display_error",b))};
Fha=function(a,b){var c=[],d=[];(0,g.G)(a.A,function(a){qo(a);(0,g.Bk)(a.G,function(d){a:{d=ks(b,d.width,d.height);if(!g.ib(d)&&(d=Gha(d,c),null!=d)){var e=d.o;if(null!=e&&0!=a.J.indexOf(e)){d=!1;break a}e=d.g.M;rb(e,Xr(b,"companionClick"));var f=Xr(b,"companionImpression"),k=O.g()&&"Html"==d.g.O&&d.B;c.push(d);if(k)po(a,d.Gc(),d.Eb(),d.getHeight(),f);else{var k=d.nd(),q=d.Eb(),r=d.getHeight();d="IFrame"!=d.g.O;a.F=k;a.g=null;a.B=q;a.o=r;a.A=d;a.D=f||[];a.C=e||[]}d=!0;break a}d=!1}return d},this)||
d.push(a)},a);
var e=DA(b);a.D=EA(e,c);a.D||(0,g.G)(a.A,function(a){qo(a)},a);
return d};
EA=function(a,b){if(null==a)return!0;var c=a.g;return"all"==a.o?Hha(c,b):"any"==a.o?Iha(c,b):!0};
DA=function(a){return null==a||null==a.g||(0,window.isNaN)(a.g.g)?null:g.ab(ws(a,!0),function(a){a=a.g;return g.ib(a)?!1:(0,window.isNaN)(a[0].g.g)?!1:a[0].g.g==a[0].wq()})};
Hha=function(a,b){return(0,g.zr)(a,function(a){return g.gb(b,a)})};
Iha=function(a,b){return(0,g.Bk)(a,function(a){return g.gb(b,a)})};
Gha=function(a,b){return g.ab(a,function(a){return!g.gb(b,a)})};
FA=function(a,b){this.B=a;this.o=b;this.g=this.gb=null};
Jha=function(a){var b=[],c=qr(a,"vmap:Extensions")[0];if(c){var d;tr(c,"vmap:Extension",function(a){"vmap:YTBreakTime"==c.getAttribute("type")&&(d=a)});
if(d&&(b=qr(d,"yt:BreakTime"),!g.ib(b)))return(0,g.H)(b,function(a){return rr(a,"timeOffset")})}return[rr(a,"timeOffset")]};
Kha=function(a,b){return(0,g.H)(b,function(a){var b=new Wy(a.o.clone());b.isBumper=a.isBumper;b.g=a.g;return b},a)};
Lha=function(a){return(a=g.ab(g.te(a),function(a){return"vmap:VASTData"==a.nodeName||"vmap:VASTAdData"==a.nodeName}))?g.ab(g.te(a),function(a){return"VAST"==a.nodeName}):null};
Mha=function(a){a=g.ab(a,g.Aa(GA,"type","youtube"));if(!a)return null;a=(0,g.se)(a.getElementsByTagName("*"),function(a){return"yt:BreakProperty"==a.tagName});
if(g.ib(a))return null;a=a[0];return a.hasAttribute("break_type")?hda(a.getAttribute("break_type")):null};
GA=function(a,b,c){return rr(c,a)==b};
Oha=function(a,b){if(null!=a){if(null!=a){var c=g.ve(a);c=null!=c&&"Playlist"==c.nodeName}else c=!1;if(c)return Tw(),new Zy(a,b);null!=a?(c=g.ve(a),c=null!=c&&"vmap:VMAP"==c.nodeName):c=!1;if(c)return Tw(),new FA(a,b);if(bw(a)){if(!bw(a))throw Ym(bz);c=g.ve(a);var d=ew(c);if(1>d||4<d)throw Ym(Nha);c=qr(c,"Ad");if(g.ib(c))throw Ym(HA);c=fw(c[0]);if(null==c)throw Ym(IA);if(1!=qr(c,"AdSystem").length)throw Ym(IA);return new aw(a)}}return null};
Pha=function(a){a=(0,g.se)(a,function(a){return 0<hs(a)});
g.zb(a,function(a,c){return hs(a)-hs(c)});
return a};
Qha=function(a){return(0,g.se)(a,function(a){return-1==hs(a)})};
pq=function(a){this.zf=a};
JA=function(a,b){this.o=a;this.A=b};
KA=function(a,b){"auto"!=a.o.Hi&&"click"!=a.o.Hi||b.set("vpa",a.o.Hi)};
LA=function(a){D(O.getPlayerType())||(a.set("mpt",O.getPlayerType()),D("")||a.set("mpv",""))};
MA=function(a,b){var c=a.A.D,d=a.A.o;null!=c&&b.set("js","ima-"+c);null!=d&&b.set("an",d);c=a.o.M;null!=c&&b.set("mv",c+"."+(a.o.K||""))};
NA=function(a,b){var c=2,d=Wh&&Wh.g?!1:0===ei();!Ik()&&d&&(c|=2048);b.set("osd",c);-1!=a.A.M&&b.set("frm",a.A.M);c=a.A.da;null!=c&&b.set("ms",c);b.set("sdr",1)};
OA=function(a){return O.o?"h.3.0.0":null!=a.A?Gn(a.A):null};
PA=function(){this.g=["video"]};
QA=function(a,b){a.set("sz",Math.max(null!=b.dj?b.dj:0,null!=b.df?b.df:0)+"x"+Math.max(null!=b.cj?b.cj:0,null!=b.cf?b.cf:0))};
SA=function(a){var b={};Xh(b);for(var c in b)a.set(c,b[c]);a.set("dt",RA)};
TA=function(a){if(a.Fc&&a.Fc.LACT){var b=a.Fc.LACT.toString();if(b)return Ya(b)}return a.G};
UA=function(a){return O.g()&&a.Fc&&a.Fc.VIS?a.Fc.VIS.toString():null};
ZA=function(a,b,c){var d=new El;d.set("ad_type",b.adType);$n&&d.set("flash",ni);QA(d,a);VA(b)&&(d.set("ea","0"),null!=a.df&&null!=a.cf&&d.set("image_size",WA(b,a.df,a.cf,a.Ti)));XA(d,c);d.set("lact",TA(a));(b=UA(a))&&d.set("yt_vis",b);d.set("videoad_start_delay",a.So);SA(d);YA(a,d,!0);return d};
YA=function(a,b,c){D(g.E(a.referrer))||(a=a.referrer,c&&(a=g.Ha(a)),$A("ref",a,b))};
cB=function(a,b,c){a=null!=b?b.split("_"):a;(0,g.G)(a,function(a){if(!Nb(Rha,a))throw Ym(Vn,null,"ad_type",String(b));});
if(c){var d=[];(0,g.G)(a,function(a){g.gb(aB,a)||d.push(a)});
a=d}c=g.gb(a,"video");var e=g.gb(a,"skippablevideo");!hn()||O.g()||Kn(Hn.getInstance(),53,{playsInline:!1,iOS_version:hn()?qn(kn):"",wv:(Ib("iPad")||Ib("iPhone"))&&!dc()&&!cc()&&!Ib("Coast")&&Ib("AppleWebKit"),rq_video:c,rq_skip:e,dis_cp:!1});var f=Em();if(!tn()){d=[];(0,g.G)(a,function(a){"video"==a?(d.push("standardvideo"),!O.g()&&Hm(f,413051060)&&d.push("bumpervideo")):"skippablevideo"!=a&&d.push(a)});
if(0==d.length)throw Ym(bB,null,"skippablevideo");a=d}return a};
dB=function(a,b){return null!=b?b.split(/[+, ]/):a};
WA=function(a,b,c,d){a.o&&(c=Math.min(c,90));var e=0,f=0;a=!O.g();d=d&&a;a&&(e=15,f=65);var k=[];(0,g.G)(Sha,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(",")};
eB=function(a,b){return null==b||(0,window.isNaN)(b)?a:Number(b)};
fB=function(a,b){return null!=b?String(b):null!=a?a:null};
gB=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};
hB=function(a,b,c){return null!=b&&Nb(c,b)?b:a};
VA=function(a){return(0,g.Bk)(aB,function(b){return g.gb(a.g,b)})};
XA=function(a,b){$n?a.set("ca_type","flash"):a.set("ca_type","image");if(null!=b){var c=b.A;null!=c&&0<c.length&&(c=c[0].G,0<c.length&&(a.set("ca_w",c[0].width),a.set("ca_h",c[0].height)))}};
$A=function(a,b,c){null!=b&&c.set(a,b)};
jB=function(a,b,c){JA.call(this,a,b);var d=new PA,e=(new g.Kl(a.g)).g;d.jr=hB(d.jr,e.get("cust_age"),Tha);d.Zl=hB(d.Zl,e.get("adsafe"),iB);d.g=cB(d.g,e.get("ad_type"));d.adType=d.g.join("_");d.zp=eB(d.zp,e.get("videoad_start_delay"));d.Ap=fB(d.Ap,e.get("slotname"));d.ir=gB(d.ir,e.get("adtest"))||"on"==e.get("adtest");d.Cp=gB(d.Cp,e.get("scs"));d.Dp=fB(d.Dp,e.get("alternate_ad_url"));d.channels=dB(d.channels,e.get("channel"));d.Zp=eB(d.Zp,e.get("cpm"));d.mk=fB(d.mk,e.get("description_url"));d.experimentIds=
fB(d.experimentIds,e.get("eid"));d.gender=hB(d.gender,e.get("cust_gender"),Uha);d.o=gB(d.o,e.get("overlay"));d.host=fB(d.host,e.get("host"));d.A=dB(d.A,e.get("h_ch"));d.hostTierId=eB(d.hostTierId,e.get("ht_id"));d.isLiveStream=gB(d.isLiveStream,e.get("lsv"));if(null!=this.o.language)var f=this.o.language;else f=pa.navigator||null,f=um(f.language||f.userLanguage||f.browserLanguage||f.systemLanguage||"");var k=null!=e.get("hl")?String(e.get("hl")):null;f=fB(k,f);var l;null!=f&&!D(g.E(f))&&(l=um(f));
d.language=fB(d.language,l);d.Qx=eB(d.Qx,e.get("linearAdSlotWidth"));d.Px=eB(d.Px,e.get("linearAdSlotHeight"));d.Fn=eB(d.Fn,e.get("max_ad_duration"));d.Mr=eB(d.Mr,e.get("min_ad_duration"));d.Gn=eB(d.Gn,e.get("sdmax"));d.Sx=eB(d.Sx,e.get("nonLinearAdSlotWidth"));d.Rx=eB(d.Rx,e.get("nonLinearAdSlotHeight"));d.Aj=fB(d.Aj,e.get("client"));d.co=fB(d.co,e.get("t_pyv"));l=e.get("sdki");d.no=eB(d.no,g.u(l)?(0,window.parseInt)(l,16):l);d.tagForChildDirectedTreatment=eB(d.tagForChildDirectedTreatment,e.get("tfcd"));
d.Zn=fB(d.Zn,e.get("pucrd"));d.targeting=hB(d.targeting,e.get("targeting"),Vha);d.tn=eB(d.tn,e.get("video_format"));d.Pt=eB(d.Pt,e.get("video_cpm"));d.kr=fB(d.kr,e.get("loeid"));d.Wt=fB(d.Wt,e.get("yt_pt"));d.Tt=fB(d.Tt,e.get("ytdevice"));d.Ut=fB(d.Ut,e.get("ytdevicever"));d.Vt=fB(d.Vt,e.get("dbp"));d.B=fB(d.B,e.get("ms"));d.adBlock=eB(d.adBlock,e.get("adBlock"));d.url=fB(d.url,e.get("url"));d.Lp=fB(d.Lp,e.get("avo"));d.Ot=fB(d.Ot,e.get("v_p"));d.fJ=a.D;d.gJ=a.B;d.hJ=a.F;d.Qo=eB(d.Qo,e.get("ad_block"));
this.g=d;this.J=b;this.K=c;D(g.E(this.g.experimentIds))||(a=this.g.experimentIds.split(","),Cm(Em(),a))};
Xha=function(a){return(0,g.Bk)(Wha,function(a){return g.gb(this.g.g,a)},a)};
kB=function(a){return O.g()?1:g.gb(a.g.adType.split("_"),"text")?3:1};
Yha=function(a){a=a.g.channels?a.g.channels:[];ub(a);Fm().g("disable_max_adsense_channel_limit")||(a=g.sb(a,0,30));return a.join("+")};
Zha=function(){this.gb=null;this.g=0};
$ha=function(a,b,c,d,e,f,k){var l=(0,g.y)(function(a){d(a,Error(xw(a)))},a),m=(0,g.y)(function(a){6==a?lB(this,b,!1,c,l,e,f):l(a)},a);
lB(a,b,!0,c,m,e,f,k)};
lB=function(a,b,c,d,e,f,k,l){var m=new Dw;m.G=c;Ew(m,aia(f));var n=new g.cm,q=(0,g.y)(function(){n.dispose();m.dispose()},a);
c=(0,g.y)(function(){e(m.o);q()},a);
im(n,m,"success",function(){try{var a=m.g?m.g.responseXML:null}catch(C){a=null}if(null==a){var b=Mw(m);try{a=g.lr(b)}catch(C){a=kr("parsererror")}}d(a);q()},a);
im(n,m,["error","timeout"],c,a);if("POST"==k){b=new g.Kl(b);var r=b.g.toString();Pl(b,"");b=b.toString()}O.g()&&"POST"!=k&&(l=bia(b,k,l),b=l.url,k=l.oS,r=l.content);a.g=(0,g.F)();m.send(Mm(b),k,r)};
bia=function(a,b,c){var d=new dA;d.g=a;if(Fq(d)){var d=new g.Kl(a),e=d.g.get("post_data");if(g.t(e)){b="POST";d.g.remove("post_data");a=d.toString();var f=(0,window.decodeURIComponent)(e);g.t(c)&&(c=c.clone(),d=Fg("?"+f,"pat"),null!=d&&(c.g=d),c=new jB(c,In,null),c=c.B(c.C()).toString(),f=f+"&cat="+(0,window.encodeURIComponent)(c))}}return{url:a,oS:b,content:f}};
mB=function(a,b){JA.call(this,a,b)};
nB=function(a,b){JA.call(this,a,b)};
oB=function(a){JA.call(this,a,null)};
pB=function(a){JA.call(this,a,null)};
qB=function(a,b){JA.call(this,a,b);O.g()&&(this.A.B=Dn())};
cia=function(a){var b=[];(0,g.G)(a,function(a){0<a.length&&b.push((0,g.H)(a,function(a){return a.width+"x"+a.height}).join("|"))});
return b.join(",")};
rB=function(a,b,c){qB.call(this,a,b);b=Em();this.J=D(g.E(a.A));a=new PA;a.g=cB(a.g,this.o.A);a.adType=a.g.join("_");a.experimentIds=fB(a.experimentIds,this.o.J);this.g=a;this.F=c;D(g.E(this.g.experimentIds))||Cm(b,this.g.experimentIds.split(","))};
dia=function(a){var b=ZA(a.o,a.g,a.F);b.set("sdkv",OA(a));b.set("sdki",a.D().toString(16));return b};
eia=function(a,b){var c=dia(a),d=(0,g.H)(c.Cb(),function(a){var b=c.get(a);return a+"="+(null!=b?b:"")});
g.Tl(b,"afvparams",d.join("&"))};
sB=function(a,b,c){JA.call(this,a,b);Em();this.J=D(g.E(a.A));a=new PA;a.g=cB(a.g,this.o.A);a.adType=a.g.join("_");a.experimentIds=fB(a.experimentIds,this.o.J);this.g=a;this.F=c;D(g.E(this.g.experimentIds))||(a=this.g.experimentIds.split(","),c=Em(),Cm(c,a))};
fia=function(a){var b=ZA(a.o,a.g,a.F);b.set("sdkv",OA(a));return b};
gia=function(a,b){var c=fia(a),d=(0,g.H)(c.Cb(),function(a){var b=c.get(a);return a+"="+(null!=b?b:"")});
yq(b,"afvparams",[g.Ha(d.join("&"))])};
tB=function(a,b){JA.call(this,a,b)};
uB=function(a,b){var c=new g.Kl(g.lm(a.o.g,hia(a,b)));Ll(c,"https");return c};
hia=function(a,b){if(null==a.o||null==a.o.Fc)return{};var c={},d=a.o.Fc;(0,g.G)(iia,function(a){a in d&&(c[a]=d[a])});
var e=jia(a,d.DESCRIPTION_URL);e&&(c.AD_BLOCK=e);null!=b&&(c.BISCOTTI_ID=b);return c};
jia=function(a,b){return null!=b?wn(Fn(a.A),b):null};
kia=function(a,b){if(!Dq(a.g)&&!Eq(a.g)||D(g.E(a.A))||null==a.g||-1==a.g.search("afvbase="))if(Dq(a.g))var c=new nB(a,In);else Bq(a.g)?c=new jB(a,In,b):Eq(a.g)?c=new qB(a,In):Cq(a)?c=new mB(a,In):(c=a.g,null!=c?(c=(new g.Kl(c)).o,c=Ga(c,".fwmrm.net")):c=!1,c=c?new oB(a):Fq(a)?new tB(a,In):new pB(a));else c=Dq(a.g)?new sB(a,In,b):new rB(a,In,b);return c};
vB=function(a,b,c,d,e){this.C=a;this.A=b;this.B=c;this.g=d;this.D=e;this.gb=null};
lia=function(a,b,c,d){if(b.o instanceof window.Document)var e=b.o;else try{e=g.lr(b.o)}catch(f){d(Ym(bz,f));return}null!=e?wB(a,e,b,c,d):d(Ym(bz))};
xB=function(a,b,c,d){var e;if(e=null!=b.g){a:{try{Ia(b.g)}catch(f){e=!1;break a}e=!0}e=!e}e?d(Ym(mia,null,b.g)):O.J?vda(Qn(),(0,g.y)(a.o,a,b,c,d)):a.o(b,c,d)};
zB=function(a,b,c,d,e,f){b=tda(b,f);f=c.mn&&Jm(nia,b)?"POST":"GET";$ha(a.A,b,(0,g.y)(function(a){wB(this,a,c,d,e)},a),(0,g.y)(function(a,b){var d=8==a?Ym(kq):5==a||6==a?Ym(oia):Ym(yB,b);
e(d);d="third_party";Bq(c.g)?d="adsense":Dq(c.g)?d="dart":Eq(c.g)&&(d="xfp");d={rt:d,ec:a};Kn(Hn.getInstance(),18,d,!0)},a),a.D,f,c);
pia(c)};
pia=function(a){var b="third_party";Bq(a.g)?b="adsense":Dq(a.g)?b="dart":Eq(a.g)?b="xfp":Cq(a)&&(b="dbm");a={rt:b};Kn(Hn.getInstance(),17,a,!0)};
wB=function(a,b,c,d,e){try{var f=Oha(b,c);if(!f)throw Ym(bz);var k=f.A();qia(a,k,c,d)}catch(l){l instanceof xm?e(l):e(Ym(ria,l))}};
qia=function(a,b,c,d){var e=b.zf;if(null!=e)d(new pq(e));else{e=b.o;if(null==e)throw Ym(HA);(0,g.G)(e,function(a){a.A=c;var d=sm();d&&tm(d,"useCompanionsAsEndSlate")&&(a.M=rfa(a));var d=[],e=a.getExtension("InfoCards");if(null!=e)for(var e=e.A?e.A:new hv,f=0;f<gv(e,"card");f++)d.push(new iv(fv(e,"card",f)));a.B=d;a.ca=nfa(a.B);a.La=this.A.g;O.g()&&(a.Ab=b.g)},a);
var f=Pha(e),k=Qha(e),l;0<k.length&&0<=gs(k[0])?l=new uq(k,c,a,a.C):l=new jq(f,k,c,a);(0,g.G)(e,function(a){a.Wa=l});
d(l)}};
AB=function(a){this.g=a+(0,g.F)()};
aia=function(a){var b=(0,g.F)();a=a.g-b;return 0<a?a:0};
BB=function(a,b,c){this.D=b;this.B=c;this.C=null;this.o=new g.cm(this);this.K=a;this.A=this.g=null;this.G=!1;this.gb=null};
sia=function(a){if(null===a.C)CB(a);else{var b=new g.Kl(a.C.g),c=g.E(b.g.get("vid")),b=g.E(b.g.get("cmsid")),d=a.B.J,e=a.B.F;a.B.J=c;a.B.F=b;if(D(g.E(c))||D(g.E(b)))CB(a);else if(c==d&&b==e)CB(a);else{var f=a.D.Vh();pA(f,c,b);Dha(f,a.C);a.A=new g.eg(100);g.em(a.o,a.A,"tick",function(){a:{var a=oA(f);if(null!=a)try{var b=!1!==a.isAdRequestFinished();break a}catch(m){b=!0;break a}b=!1}b&&CB(this)},!1,a);
a.A.start()}}};
tia=function(a){a.g=new g.eg;im(a.o,a.g,"tick",function(){CB(this)},a);
fg(a.g,a.K);a.g.start()};
CB=function(a){null!=a.o&&(a.o.dispose(),a.o=null);null!=a.g&&(a.g.stop(),a.g=null);null!=a.A&&(a.A.stop(),a.A=null);a.G=!0;null===a.F||a.F()};
uia=function(a,b){this.g=a;this.o=b;this.gb=null;O.o&&ho().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}In.M=c};
via=function(a,b,c,d){if(O.g()){var e=b.Ro;e&&lda(Em(),e)}e=null;null!=a.g&&!O.g()&&(e=new BB(1E3,a.g,a.o));var f=xea(b);null!=f&&wea(b)&&(a.o.da=f);f=8E3;!O.g()&&Hm(Em(),41351074)?f=5E3:!O.g()&&Hm(Em(),41351075)&&(f=2E3);(new vB(a.o,new Zha,a.g,e,new AB(f))).fetch(b,(0,g.y)(function(a){a instanceof pq?c(a):nq(a,c,d)},a),d)};
g.DB=function(){this.g=[];this.o=[]};
EB=function(a){g.ib(a.g)&&(a.g=a.o,a.g.reverse(),a.o=[])};
g.FB=function(a,b){a.o.push(b)};
g.GB=function(a){EB(a);return a.g.pop()};
HB=function(a){EB(a);return g.Za(a.g)};
wia=function(a){this.qb=a;this.g=new g.DB;this.Of=!1;this.gb=null};
JB=function(a,b,c,d){var e=(0,g.y)(function(a){c(a);g.GB(this.g);this.Of=!1;IB(this)},a),f=(0,g.y)(function(a){d(a);
g.GB(this.g);this.Of=!1;IB(this)},a);
g.FB(a.g,(0,g.y)(function(){via(this.qb,b,e,f)},a));
IB(a)};
IB=function(a){if(!a.Of){var b=HB(a.g);null!=b&&(a.Of=!0,b())}};
KB=function(a,b,c){g.rf.call(this);this.qb=new wia(new uia(b,c));this.A=a;this.o=b;this.g=!0;this.B=c;this.gb=null};
xia=function(a,b,c){if(a.g){var d=null!=c?c:{};yga(Sw.getInstance(),b.g);JB(a.qb,b,(0,g.y)(function(a){LB(this,a,d)},a),(0,g.y)(function(a){MB(this,a,d)},a))}};
iha=function(a,b,c){if(!a.g){var d=null!=c?c:{};JB(a.qb,b,(0,g.y)(function(a){LB(this,a,d)},a),(0,g.y)(function(a){MB(this,a,d)},a))}};
LB=function(a,b,c){if(a.g)if(b instanceof pq)b=new NB(b.zf,a,a.A.dw),b.Dg(a.o),a.dispatchEvent(new bA(b,c));else try{var d=Uy(a.A,b);d.Dg(a.o);a.dispatchEvent(new bA(d,c))}catch(e){MB(a,Ym(OB,null),c)}else b instanceof pq?MB(a,Ym(yia,null,"Unsupported ad format."),c):(d=new wm("adsLoaderSdkAdLoaded"),d.F=b,d.D=c,a.dispatchEvent(d))};
MB=function(a,b,c){a.g?("always"==O.B&&null!=a.o&&a.o.zd(zA()),a.dispatchEvent(new qm(b,c))):(c=new wm("adsLoaderSdkAdError"),c.g=b,a.dispatchEvent(c))};
PB=function(a,b){this.M=a;this.X=new El;this.P=15E3;this.F=g.he("SPAN");wy.call(this,a[0],b);this.g.appendChild(this.F)};
QB=function(a,b){wy.call(this,a[0],b);this.B=a;g.R(this.g,"ima-container-stack")};
RB=function(a){Ay.call(this,a);this.C=!1;this.o=this.A=null;this.G=!1};
SB=function(a){var b=a.ads[0].getExtension("AdSense"),c=b.C,b=b.D;a={text:null!=c?c:a.J.C,url:null!=b?b:a.J.D};null==a.text&&(c=Ca("Ads by Google"),c=Go(""+c),a.text=c);return a};
TB=function(a){return a.zb()&&ys(a.ma())};
zia=function(a){var b=UB(a);b.rba=a.B;Kn(Hn.getInstance(),37,b)};
UB=function(a){var b=[],c=[];(0,g.G)(a.A,function(a){b.push(a.Eb()+"x"+a.getHeight());c.push(a.od())},a);
var d={};d.pid=Sw.getInstance().o;d.fsmode=null!=a.o;0<b.length&&(d.cz=b.join(","));0<c.length&&(d.ct=c.join(","));d.vm=a.cd;return d};
VB=function(a,b){if(a.o){a.jn(new g.Ne("close"));var c={};c.pid=Sw.getInstance().o;c.evt=b;Kn(Hn.getInstance(),35,c)}};
WB=function(a,b){g.K.call(this);this.B=a;this.g=-1;this.A=b};
XB=function(a,b){WB.call(this,a,b)};
NB=function(a,b,c){ru.call(this,[]);this.zf=a;this.Db=new El;this.Wb=this.xb=null;this.dw=c;this.pk=new g.DB;this.Kd=null;this.qb=b;this.Bp=this.Em=!1;this.ji=null;this.eg=0;this.Vd=this.Wd=-1;this.md=null;this.Ls=0;this.gb=null;this.nk=!1};
Bia=function(a,b){if(null!==a.Ra){var c=1;a.eg=0;var d=new qx;(0,g.G)(b,function(a){if((0,window.isNaN)(a))throw Ym(az,null,"timeOffset",String(a));if(-1!=a&&-1>=a){var b=this.zf;if((0,window.isNaN)(a)||!g.oa(a))throw Error("Incorrect time offset.");Gl(b.g,a)&&b.g.remove(a)}else if(b=g.oa(a)&&!(0,window.isNaN)(a)?this.zf.g.get(a,[]):[],!g.ib(b)){this.eg+=b.length;var e=0==a||-1==a?a:c++;b=new Dy(b,a,e,this.qb,this.Ra,this.Ta,this.Jd);if(d.contains(a))throw Ym(Aia,null,"Multiple ad breaks cannot share same ad play time.");
this.Db.set(g.za(b),b);sx(d,a)}},a)}};
Cia=function(a,b){a.ji=g.Za(b);(0,g.Bk)(b,function(a){if(-1==a)return this.ji=a,!0;this.ji=this.ji<a?a:this.ji;return!1},a)};
$B=function(a,b){a.nk=!1;a.Qi(b);0==b.Dc?a.Uf():(-1==b.Dc?(YB(a)||!O.g()&&a.Em)&&ZB(a):iz(a.Wb),a.Kd=null)};
Dia=function(a){if(null!=a.Wb){aC(a);var b=a.fb();dm(b,a.Wb,["requestAds","playAds","contentTrackingError","discardAdBreak"],a.handleEvent,!1,a);dm(b,a.Wb,"adBreakReady",a.hN,!1,a);dm(b,a.Wb,"adNotify",a.jl,!1,a);dm(b,a.Wb,"discardAdNotify",a.ll,!1,a);dm(b,a.qb,"contentComplete",a.iO,!1,a);a.qb.g=!1}};
aC=function(a){null!=a.gc&&(a.gc.dispose(),a.gc=null);a.Em=!1;null!=a.Wb&&a.Wb.ad()};
bC=function(a){if(null==a.Kd){var b=g.GB(a.pk);if(null!=b){a.Kd=b;var c=a.Db.get(a.Kd.g);if(null!=c)if(b=b.type,"requestAds"!=b&&"playAds"!=b)a.Kd=null,bC(a);else if(null!=a.md&&a.md.o(c))a.Kd=null,bC(a);else if("requestAds"==b)a.nk?(a.pk.isEmpty()||"playAds"!=HB(a.pk).type||g.GB(a.pk),$B(a,c)):0==c.Dc&&a.Xf()||cC(a,c);else{if("playAds"==b)if(a.nk)$B(a,c);else if(null!=a.xb&&a.xb.yb()&&a.Qi(a.xb),a.xb=c,a.xb.setVolume(a.volume),Ey(a.xb,a.Wd,a.Vd,a.cd),a.xb.O&&a.Kd.A<a.Ls){c=a.xb;if(c.o<c.A.length){b=
c.A[c.o];Ny(c);try{c.F=new g.cm(c),c.g=Oy(c,b,c.F)}catch(e){c.o++,Sy(c)}}var c=a.Wb,b=a.Ls,d=new gz(a.xb);d.g=b;d.o=!0;Cb(c.g,d,hz);a.la("contentResumeRequested");a.Kd=null;bC(a)}else a.xb.start()}else a.Kd=null,bC(a)}}};
cC=function(a,b){var c=a.fb();dm(c,b,ky,a.dispatchEvent,!1,a);dm(c,b,"adError",a.Nw,!1,a);dm(c,b,"allAdsCompleted",a.Rz,!1,a);dm(c,b,"contentPauseRequested",a.sh,!1,a);dm(c,b,"contentResumeRequested",a.Uf,!1,a);dm(c,b,"userClose",a.ti,!1,a);dm(c,b,"autoClose",a.si,!1,a);dm(c,b,"adBreakInitialized",a.Sz,!1,a);b.init(a.Wd,a.Vd,a.cd)};
ZB=function(a){if(!a.Bp){a.Bp=!0;a.qb.g=!0;try{Kn(Hn.getInstance(),44,{cmpl:!0})}catch(b){}a.la("allAdsCompleted");-1==a.ji&&dC(a)}};
dC=function(a){Hm(Em(),420706009)||In.clear();null!=a.Jd&&(a=a.Jd.Vh(),null!=a&&qA(a,In.g))};
YB=function(a){return 0==a.Db.ib().length};
eC=function(a){return null!=a.xb?a.xb:null!=a.Kd?a.Db.get(a.Kd.g):null};
Eia=function(){this.dw=new tha;this.gb=null};
Uy=function(a,b){if(g.ib(b))throw Error("Ads manager creation failure, no ads.");if(Fia(a,b)){var c=Gia(a,b);if(!g.ib(c))return new ry(c)}c=py(b);O.g()||(c=c&&null!=js(b[0])?new oy(0,c,b[0]):c);if(c)return c;throw Error("Ads manager creation failure, failed to determine ad type.");};
Gia=function(a,b){var c=[];(0,g.G)(b,function(a){var b=py([a]);b&&a.Zb()&&g.kb(c,b)},a);
return c};
py=function(a){var b=a[0];switch(fC(b)){case "overlay":return ts(b)?new RB(a):new Ay(a);case "video":return new tx(a);case "vpaid":return new $x(a);case "flash_vpaid":return 2==O.F?new jw(a):new pw(a)}return null};
Fia=function(a,b){if(1==b.length)return!1;var c=fC(b[0]);return(0,g.Bk)(b,function(a){a=fC(a);return c!=a||"vpaid"==a||"flash_vpaid"==a?!0:!1},a)};
fC=function(a){var b=Mr(a)&&O.g(),b=0!=O.F||b;return null!=Ds(a)&&b?"vpaid":$n&&null!=Es(a)&&0!=O.F?"flash_vpaid":ts(a)&&null==Ds(a)&&xs(a,"nonlinear")?"overlay":xs(a,"linear")?"video":xs(a,"nonlinear")&&null==Ds(a)?"overlay":null};
gC=function(a){g.rf.call(this);this.o=a;a=new AA(new jA);this.g=new KB(new Eia,a,In);this.g.V("adsManagerLoaded",this.dispatchEvent,!1,this);this.g.V("adError",this.dispatchEvent,!1,this);this.g.V("adLoadError",this.dispatchEvent,!1,this)};
hC=function(a,b,c){mda();var d="",e=vi(),f=e.o,e=e.g;f&&f.url?d=f.url:e&&e.url&&(d=e.url);b.location=d;b.referrer=window.document.referrer;b.Re=nm(b.g,a.o.D);b.ut=a.o.M;xia(a.g,b,c)};
iC=function(a,b){this.g=a;this.o=b};
jC=function(a,b,c,d,e,f,k,l){this.g=a;this.F=b;this.A=c;this.C=d;this.B=e;this.D=f;this.o=k;this.G=l};
kC=function(a,b){if(0==b)return a.g;if(1==b)return a.o;var c=Ld(a.g,a.A,b),d=Ld(a.A,a.B,b),e=Ld(a.B,a.o,b),c=Ld(c,d,b),d=Ld(d,e,b);return Ld(c,d,b)};
Hia=function(a,b){var c=(b-a.g)/(a.o-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++){var f=kC(a,c),l=(kC(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=kC(a,c);return c};
lC=function(a,b,c,d){this.B=a;this.C=b;this.g=this.A=a;this.D=c||0;this.F=d||2};
mC=function(a,b,c,d,e){this.g=a;this.A=c;this.G=d;this.F=e||1;this.C=45E3;this.B=new g.cm(this);this.o=new g.eg;fg(this.o,250)};
oC=function(a,b,c){a.bj=1;a.ah=Wl(b.clone());a.xi=c;a.D=!0;nC(a,null)};
pC=function(a,b,c,d,e){a.bj=1;a.ah=Wl(b.clone());a.xi=null;a.D=c;e&&(a.tB=!1);nC(a,d)};
nC=function(a,b){a.ul=(0,g.F)();qC(a);a.xh=a.ah.clone();Vl(a.xh,"t",a.F);a.Fl=0;a.hd=a.g.bq(a.g.zl()?b:null);0<a.Iq&&(a.eo=new g.ck((0,g.y)(a.tC,a,a.hd),a.Iq));a.B.V(a.hd,"readystatechange",a.VR);var c=a.ci?g.Xb(a.ci):{};a.xi?(a.Ho="POST",c["Content-Type"]="application/x-www-form-urlencoded",a.hd.send(a.xh,a.Ho,a.xi,c)):(a.Ho="GET",a.tB&&!g.ee&&(c.Connection="close"),a.hd.send(a.xh,a.Ho,null,c));a.g.nf(1)};
xC=function(a,b,c){for(var d=!0;!a.Lh&&a.Fl<c.length;){var e=Iia(a,c);if(e==rC){4==b&&(a.di=4,sC(),d=!1);break}else if(e==tC){a.di=4;sC();d=!1;break}else uC(a,e)}4==b&&0==c.length&&(a.di=1,sC(),d=!1);a.sf=a.sf&&d;d||(vC(a),wC(a))};
Iia=function(a,b){var c=a.Fl,d=b.indexOf("\n",c);if(-1==d)return rC;c=Number(b.substring(c,d));if((0,window.isNaN)(c))return tC;d+=1;if(d+c>b.length)return rC;var e=b.substr(d,c);a.Fl=d+c;return e};
AC=function(a,b){a.ul=(0,g.F)();qC(a);var c=b?window.location.hostname:"";a.xh=a.ah.clone();g.Tl(a.xh,"DOMAIN",c);g.Tl(a.xh,"t",a.F);try{a.tf=new window.ActiveXObject("htmlfile")}catch(n){vC(a);a.di=7;sC();wC(a);return}var d="<html><body>";if(b){for(var e="",f=0;f<c.length;f++){var k=c.charAt(f);if("<"==k)e+="\\x3c";else if(">"==k)e+="\\x3e";else{var l=k;if(l in yC)k=yC[l];else if(l in zC)k=yC[l]=zC[l];else{var m=l.charCodeAt(0);if(31<m&&127>m)k=l;else{if(256>m){if(k="\\x",16>m||256<m)k+="0"}else k=
"\\u",4096>m&&(k+="0");k+=m.toString(16).toUpperCase()}k=yC[l]=k}e+=k}}d+='<script>document.domain="'+e+'"\x3c/script>'}d+="</body></html>";c=Hd(jd("b/12014412"),d);a.tf.open();a.tf.write(g.Ad(c));a.tf.close();a.tf.parentWindow.m=(0,g.y)(a.XQ,a);a.tf.parentWindow.d=(0,g.y)(a.JA,a,!0);a.tf.parentWindow.rpcClose=(0,g.y)(a.JA,a,!1);c=a.tf.createElement("DIV");a.tf.parentWindow.document.body.appendChild(c);d=xd(a.xh.toString());d=Ja(vd(d));d=Hd(jd("b/12014412"),'<iframe src="'+d+'"></iframe>');c.innerHTML=
g.Ad(d);a.g.nf(1)};
qC=function(a){a.Rt=(0,g.F)()+a.C;BC(a,a.C)};
BC=function(a,b){if(null!=a.Qj)throw Error("WatchDog timer not null");a.Qj=CC((0,g.y)(a.oR,a),b)};
DC=function(a){a.Qj&&(pa.clearTimeout(a.Qj),a.Qj=null)};
wC=function(a){a.g.gx()||a.Lh||a.g.Un(a)};
vC=function(a){DC(a);g.Le(a.eo);a.eo=null;a.o.stop();jm(a.B);if(a.hd){var b=a.hd;a.hd=null;b.abort();b.dispose()}a.tf&&(a.tf=null)};
uC=function(a,b){try{a.g.CA(a,b),a.g.nf(4)}catch(c){}};
FC=function(a,b,c,d,e){if(0==d)c(!1);else{var f=e||0;d--;EC(a,b,function(e){e?c(!0):pa.setTimeout(function(){FC(a,b,c,d,f)},f)})}};
EC=function(a,b,c){var d=new window.Image;d.onload=function(){try{GC(d),c(!0)}catch(e){}};
d.onerror=function(){try{GC(d),c(!1)}catch(e){}};
d.onabort=function(){try{GC(d),c(!1)}catch(e){}};
d.ontimeout=function(){try{GC(d),c(!1)}catch(e){}};
pa.setTimeout(function(){if(d.ontimeout)d.ontimeout()},b);
d.src=a};
GC=function(a){a.onload=null;a.onerror=null;a.onabort=null;a.ontimeout=null};
HC=function(a){this.g=a;this.o=new iC};
JC=function(a){var b=IC(a.g,a.ek,"/mail/images/cleardot.gif");Wl(b);FC(b.toString(),5E3,(0,g.y)(a.CG,a),3,2E3);a.nf(1)};
LC=function(a){var b=a.g.K;if(null!=b)sC(),b?(sC(),KC(a.g,a,!1)):(sC(),KC(a.g,a,!0));else if(a.je=new mC(a,0,void 0,void 0,void 0),a.je.ci=a.Fq,b=a.g,b=IC(b,b.zl()?a.Dk:null,a.Hq),sC(),!g.sc||g.lc(10))Vl(b,"TYPE","xmlhttp"),pC(a.je,b,!1,a.Dk,!1);else{Vl(b,"TYPE","html");var c=a.je;a=!!a.Dk;c.bj=3;c.ah=Wl(b.clone());AC(c,a)}};
MC=function(a,b,c,d){this.G=a||null;this.g=1;this.o=[];this.B=[];this.C=new iC;this.J=b||null;this.K=null!=c?c:null;this.D=d||!1};
Jia=function(a,b){this.g=a;this.map=b;this.context=null};
NC=function(a){g.Ne.call(this,"statevent",a)};
OC=function(a,b){g.Ne.call(this,"timingevent",a);this.size=b};
PC=function(a){g.Ne.call(this,"serverreachability",a)};
TC=function(a){QC(a);if(3==a.g){var b=a.fl++,c=a.Tm.clone();g.Tl(c,"SID",a.A);g.Tl(c,"RID",b);g.Tl(c,"TYPE","terminate");RC(a,c);b=new mC(a,0,a.A,b,void 0);b.bj=2;b.ah=Wl(c.clone());(new window.Image).src=b.ah;b.ul=(0,g.F)();qC(b)}SC(a)};
VC=function(a){a.YG(1,0);a.Tm=IC(a,null,a.Eq);UC(a)};
QC=function(a){a.Tg&&(a.Tg.abort(),a.Tg=null);a.yc&&(a.yc.cancel(),a.yc=null);a.ng&&(pa.clearTimeout(a.ng),a.ng=null);WC(a);a.Md&&(a.Md.cancel(),a.Md=null);a.Ug&&(pa.clearTimeout(a.Ug),a.Ug=null)};
XC=function(a,b){if(0==a.g)throw Error("Invalid operation: sending map when state is closed");a.o.push(new Jia(a.dN++,b));2!=a.g&&3!=a.g||UC(a)};
UC=function(a){a.Md||a.Ug||(a.Ug=CC((0,g.y)(a.HA,a),0),a.uk=0)};
$C=function(a,b){if(1==a.g){if(!b){a.fl=Math.floor(1E5*Math.random());var c=a.fl++,d=new mC(a,0,"",c,void 0);d.ci=null;var e=YC(a),f=a.Tm.clone();g.Tl(f,"RID",c);a.G&&g.Tl(f,"CVER",a.G);RC(a,f);oC(d,f,e);a.Md=d;a.g=2}}else 3==a.g&&(b?ZC(a,b):0==a.o.length||a.Md||ZC(a))};
ZC=function(a,b){if(b)if(6<a.Nh){a.o=a.B.concat(a.o);a.B.length=0;var c=a.fl-1;var d=YC(a)}else c=b.G,d=b.xi;else c=a.fl++,d=YC(a);var e=a.Tm.clone();g.Tl(e,"SID",a.A);g.Tl(e,"RID",c);g.Tl(e,"AID",a.lj);RC(a,e);c=new mC(a,0,a.A,c,a.uk+1);c.ci=null;c.setTimeout(Math.round(1E4)+Math.round(1E4*Math.random()));a.Md=c;oC(c,e,d)};
RC=function(a,b){if(a.rd){var c=a.rd.Ow(a);c&&g.Jb(c,function(a,c){g.Tl(b,c,a)})}};
YC=function(a){var b=Math.min(a.o.length,1E3),c=["count="+b];if(6<a.Nh&&0<b){var d=a.o[0].g;c.push("ofs="+d)}else d=0;for(var e=0;e<b;e++){var f=a.o[e].g,k=a.o[e].map,f=6>=a.Nh?e:f-d;try{g.Jb(k,function(a,b){c.push("req"+f+"_"+b+"="+(0,window.encodeURIComponent)(a))})}catch(l){c.push("req"+f+"_type="+(0,window.encodeURIComponent)("_badmap"))}}a.B=a.B.concat(a.o.splice(0,b));
return c.join("&")};
aD=function(a){a.yc||a.ng||(a.F=1,a.ng=CC((0,g.y)(a.GA,a),0),a.Li=0)};
cD=function(a){if(a.yc||a.ng||3<=a.Li)return!1;a.F++;a.ng=CC((0,g.y)(a.GA,a),bD(a,a.Li));a.Li++;return!0};
KC=function(a,b,c){a.Go=c;a.af=b.ug;a.D||VC(a)};
WC=function(a){null!=a.Ph&&(pa.clearTimeout(a.Ph),a.Ph=null)};
bD=function(a,b){var c=5E3+Math.floor(1E4*Math.random());a.isActive()||(c*=2);return c*b};
eD=function(a,b){if(2==b||9==b){var c=null;a.rd&&(c=null);var d=(0,g.y)(a.HS,a);c||(c=new g.Kl("//www.google.com/images/cleardot.gif"),Wl(c));EC(c.toString(),1E4,d)}else sC();dD(a,b)};
dD=function(a,b){a.g=0;a.rd&&a.rd.Ov(a,b);SC(a);QC(a)};
SC=function(a){a.g=0;a.af=-1;if(a.rd)if(0==a.B.length&&0==a.o.length)a.rd.Tp(a);else{var b=g.qb(a.B),c=g.qb(a.o);a.B.length=0;a.o.length=0;a.rd.Tp(a,b,c)}};
IC=function(a,b,c){var d=g.Xl(c);if(""!=d.o)b&&g.Ml(d,b+"."+d.o),g.Nl(d,d.C);else var e=window.location,d=ada(e.protocol,b?b+"."+e.hostname:e.hostname,e.port,c);a.rk&&g.Jb(a.rk,function(a,b){g.Tl(d,b,a)});
g.Tl(d,"VER",a.Nh);RC(a,d);return d};
CC=function(a,b){if(!g.va(a))throw Error("Fn must not be null and must be a function");return pa.setTimeout(function(){a()},b)};
sC=function(){fD.dispatchEvent(new NC(fD))};
gD=function(){};
g.hD=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.Mg(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.iD=function(a){g.K.call(this);this.Pd=1;this.A=[];this.B=0;this.g=[];this.o={};this.C=!!a};
Kia=function(a,b,c){g.Gf(function(){a.apply(b,c)})};
g.jD=function(a){this.g=a};
kD=function(a){this.g=a};
lD=function(a){this.data=a};
mD=function(a){return!g.t(a)||a instanceof lD?a:new lD(a)};
nD=function(a){this.g=a};
g.oD=function(a){var b=a.creation;a=a.expiration;return!!a&&a<(0,g.F)()||!!b&&b>(0,g.F)()};
g.pD=function(a){this.g=a};
Lia=function(){};
qD=function(){};
rD=function(a){this.g=a};
sD=function(){var a=null;try{a=window.localStorage||null}catch(b){}this.g=a};
tD=function(){var a=null;try{a=window.sessionStorage||null}catch(b){}this.g=a};
uD=function(a,b){this.o=a;this.g=b+"::"};
g.vD=function(a){var b=new sD;return b.isAvailable()?a?new uD(b,a):b:null};
wD=function(a,b){this.Pd=a;this.g=b};
xD=function(a){this.g=[];if(a)a:{if(a instanceof xD){var b=a.Cb();a=a.ib();if(0>=this.Mc()){for(var c=this.g,d=0;d<b.length;d++)c.push(new wD(b[d],a[d]));break a}}else b=g.Pb(a),a=g.Ob(a);for(d=0;d<b.length;d++)yD(this,b[d],a[d])}};
yD=function(a,b,c){var d=a.g;d.push(new wD(b,c));b=d.length-1;a=a.g;for(c=a[b];0<b;)if(d=b-1>>1,a[d].Pd>c.Pd)a[b]=a[d],b=d;else break;a[b]=c};
zD=function(){xD.call(this)};
AD=function(a,b){this.C=[];this.O=a;this.M=b||null;this.B=this.g=!1;this.A=void 0;this.J=this.P=this.F=!1;this.D=0;this.o=null;this.G=0};
CD=function(a,b,c){a.g=!0;a.A=c;a.B=!b;BD(a)};
ED=function(a){if(a.g){if(!a.J)throw new DD;a.J=!1}};
GD=function(a,b,c){FD(a,b,null,c)};
FD=function(a,b,c,d){a.C.push([b,c,d]);a.g&&BD(a)};
HD=function(a){return(0,g.Bk)(a.C,function(a){return g.va(a[1])})};
BD=function(a){if(a.D&&a.g&&HD(a)){var b=a.D,c=ID[b];c&&(pa.clearTimeout(c.Ba),delete ID[b]);a.D=0}a.o&&(a.o.G--,delete a.o);for(var b=a.A,d=c=!1;a.C.length&&!a.F;){var e=a.C.shift(),f=e[0],k=e[1],e=e[2];if(f=a.B?k:f)try{var l=f.call(e||a.M,b);g.t(l)&&(a.B=a.B&&(l==b||a.isError(l)),a.A=b=l);if(Jf(b)||"function"===typeof pa.Promise&&b instanceof pa.Promise)d=!0,a.F=!0}catch(m){b=m,a.B=!0,HD(a)||(c=!0)}}a.A=b;d&&(l=(0,g.y)(a.K,a,!0),d=(0,g.y)(a.K,a,!1),b instanceof AD?(FD(b,l,d),b.P=!0):b.then(l,d));
c&&(b=new JD(b),ID[b.Ba]=b,a.D=b.Ba)};
DD=function(){Ea.call(this)};
KD=function(){Ea.call(this)};
JD=function(a){this.Ba=pa.setTimeout((0,g.y)(this.o,this),0);this.g=a};
LD=function(a){Lc(this,a,Mia,null)};
MD=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.OD=function(a){MD(g.ND,arguments)};
g.PD=function(a,b){return a in g.ND?g.ND[a]:b};
g.T=function(a,b,c){b=void 0===b?{}:b;a=(a=a in QD?QD[a]:c)||"";c={};for(var d in b)c.Xn=d,a=a.replace(new RegExp("\\$"+c.Xn,"gi"),function(a){return function(){return b[a.Xn]}}(c)),c={Xn:c.Xn};
return a};
g.RD=function(a){MD(QD,arguments)};
g.SD=function(){g.RD({YTP_TRANSLATE_MENU_ITEM:"Translate captions",YTP_CONTRIBUTE_MENU_ITEM:"Add subtitles/CC",YTP_ASR_SETTINGS_LABEL:"Automatic Captions",YTP_LANGUAGE_OFF:"Off",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_CLICK_FOR_SETTINGS:"Click $GEAR_ICON for settings"})};
g.UD=function(){return g.TD?{H:"div",ea:["ytp-icon","ytp-icon-cast-desktop-on"]}:{H:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{H:"path",Qa:!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"}}]}};
g.VD=function(){return g.TD?{H:"div",ea:["ytp-icon","ytp-icon-chevron-back"]}:{H:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 32 32",width:"100%"},L:[{H:"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.WD=function(){return g.TD?{H:"div",ea:["ytp-icon","ytp-icon-chevron-forward"]}:{H:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 32 32",width:"100%"},L:[{H:"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"}}]}};
XD=function(){return g.TD?{H:"div",ea:["ytp-icon","ytp-icon-clip-clear"]}:{H:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 14 14",width:"100%"},L:[{H:"path",T:{d:"M14,14 L14,0 L0,0 L0,14 L14,14 Z"}},{H:"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"}}]}};
YD=function(){return g.TD?{H:"div",ea:["ytp-icon","ytp-icon-clip-end"]}:{H:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 14 14",width:"100%"},L:[{H:"path",Qa:!0,T:{d:"M2,14 L5,11 L5,3 L2,0 L9,0 L9,14 L2,14 L2,14 Z",fill:"#eaeaea"}}]}};
ZD=function(){return g.TD?{H:"div",ea:["ytp-icon","ytp-icon-clip-start"]}:{H:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 14 14",width:"100%"},L:[{H:"path",Qa:!0,T:{d:"M12,14 L9,11 L9,3 L12,0 L5,0 L5,14 L12,14 Z",fill:"#eaeaea"}}]}};
g.$D=function(){return g.TD?{H:"div",ea:["ytp-icon","ytp-icon-close"]}:{H:"svg",T:{height:"100%",viewBox:"0 0 24 24",width:"100%"},L:[{H:"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"}}]}};
aE=function(){return g.TD?{H:"div",ea:["ytp-icon","ytp-icon-closed-captioning"]}:{H:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{H:"path",Qa:!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"}}]}};
bE=function(){return g.TD?{H:"div",ea:["ytp-icon","ytp-icon-forward-five-seconds"]}:{H:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{H:"path",Qa:!0,N:"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"}}]}};
cE=function(){return g.TD?{H:"div",ea:["ytp-icon","ytp-icon-link"]}:{H:"svg",T:{height:"100%",viewBox:"0 0 36 36",width:"100%"},L:[{H:"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"}}]}};
dE=function(){return g.TD?{H:"div",ea:["ytp-icon","ytp-icon-next"]}:{H:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{H:"path",Qa:!0,N:"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.eE=function(){return g.TD?{H:"div",ea:["ytp-icon","ytp-icon-notifications-active"]}:{H:"svg",T:{fill:"#fff",height:"24px",viewBox:"0 0 24 24",width:"24px"},L:[{H:"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"}}]}};
fE=function(){return g.TD?{H:"div",ea:["ytp-icon","ytp-icon-pause"]}:{H:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{H:"path",Qa:!0,N:"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"}}]}};
gE=function(){return g.TD?{H:"div",ea:["ytp-icon","ytp-icon-play"]}:{H:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{H:"path",Qa:!0,N:"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"}}]}};
hE=function(){return g.TD?{H:"div",ea:["ytp-icon","ytp-icon-prev"]}:{H:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{H:"path",Qa:!0,N:"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"}}]}};
iE=function(){return g.TD?{H:"div",ea:["ytp-icon","ytp-icon-replay"]}:{H:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{H:"path",Qa:!0,N:"ytp-svg-fill",T:{d:"M17,9 C12,9 8,13 8,18 C8,23 12,27 17,27 C19.5,27 21.82,25.95 23.45,24.26 L22.04,22.85 C20.77,24.17 19,25 17,25 C13,25 10,21.86 10,18 C10,14.13 13.13,11 17,11 C20.86,11 24,14 24,18 L21,18 L25,22 L29,18 L26,18 C26,13 22,9 17,9 Z"}}]}};
jE=function(){return g.TD?{H:"div",ea:["ytp-icon","ytp-icon-rewind-five-seconds"]}:{H:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{H:"path",Qa:!0,N:"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.kE=function(){return g.TD?{H:"div",ea:["ytp-icon","ytp-icon-settings"]}:{H:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{H:"path",Qa:!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"}}]}};
lE=function(){return g.TD?{H:"div",ea:["ytp-icon","ytp-icon-stop"]}:{H:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{H:"path",Qa:!0,N:"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"}}]}};
mE=function(){return g.TD?{H:"div",ea:["ytp-icon","ytp-icon-volume-high"]}:{H:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{H:"path",Qa:!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"}}]}};
nE=function(){return g.TD?{H:"div",ea:["ytp-icon","ytp-icon-volume-low"]}:{H:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{H:"path",Qa:!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"}}]}};
oE=function(){return g.TD?{H:"div",ea:["ytp-icon","ytp-icon-volume-muted"]}:{H:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{H:"path",Qa:!0,N:"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"}}]}};
qE=function(a){a=a.split("");pE.lB(a,1);pE.nu(a,47);pE.KS(a,24);pE.lB(a,3);pE.nu(a,49);pE.KS(a,54);pE.lB(a,1);return a.join("")};
g.rE=function(a,b){var c=g.v("yt.logging.errors.log");c?c(a,b,void 0,void 0,void 0):(c=g.PD("ERRORS",[]),c.push([a,b,void 0,void 0,void 0]),g.OD("ERRORS",c))};
sE=function(a){return a&&window.yterr?function(){try{return a.apply(this,arguments)}catch(b){g.rE(b)}}:a};
Nia=function(){if(!tE)return null;var a=tE();return"open"in a?a:null};
g.uE=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.vE=function(a){window.clearInterval(a)};
g.wE=function(a){window.clearTimeout(a)};
g.xE=function(a,b){g.va(a)&&(a=sE(a));return window.setInterval(a,b)};
g.yE=function(a,b){g.va(a)&&(a=sE(a));return window.setTimeout(a,b)};
g.zE=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=Ia(e[0]||""),e=Ia(e[1]||"");f in b?g.ta(b[f])?rb(b[f],e):b[f]=[b[f],e]:b[f]=e}}return b};
g.AE=function(a){"?"==a.charAt(0)&&(a=a.substr(1));return g.zE(a)};
BE=function(a,b,c){var d=a.split("#",2);a=d[0];var d=1<d.length?"#"+d[1]:"",e=a.split("?",2);a=e[0];var e=g.AE(e[1]||""),f;for(f in b)if(c||!Rb(e,f))e[f]=b[f];return g.Cg(a,e)+d};
g.CE=function(a,b){return BE(a,b||{},!1)};
DE=function(a){var b=[];g.Jb(a,function(a,d){var c=g.Ha(d),f;g.ta(a)?f=a:f=[a];(0,g.G)(f,function(a){""==a?b.push(c):b.push(c+"="+g.Ha(a))})});
return b.join("&")};
EE=function(){if(!a)var a=window.document.location.href;a=g.sg(a)[1]||null;return null!==a&&"https"==a};
FE=function(a){if(!b)var b=window.location.href;var c=g.sg(a)[1]||null,d=g.ug(a);c&&d?(a=g.sg(a),b=g.sg(b),a=a[3]==b[3]&&a[1]==b[1]&&a[4]==b[4]):a=d?g.ug(b)==d&&g.vg(b)==g.vg(a):!0;return a};
g.GE=function(a){return-1!=a.indexOf("?")?(a=(a||"").split("#")[0],a=a.split("?",2),g.AE(1<a.length?a[1]:a[0])):{}};
HE=function(a){a=a.split(",");return a=a.map(function(a){return g.AE(a)})};
g.IE=function(a,b){return BE(a,b||{},!0)};
Oia=function(a,b){b=void 0===b?{}:b;var c=FE(a),d;for(d in JE){var e=g.PD(JE[d]),f;if((f=e)&&!(f=c)){var k=a;f=d;var l=g.PD("CORS_HEADER_WHITELIST")||{};f=(k=g.ug(k))?(l=l[k])?g.gb(l,f):!1:!0}f&&(b[d]=e)}return b};
Pia=function(a,b){var c=g.PD("XSRF_FIELD_NAME",void 0),d;b.headers&&(d=b.headers["Content-Type"]);return!b.j2&&(!g.ug(a)||b.withCredentials||g.ug(a)==window.document.location.hostname)&&"POST"==b.method&&(!d||"application/x-www-form-urlencoded"==d)&&!(b.Tb&&b.Tb[c])};
g.LE=function(a,b){var c=b.format||"JSON";b.m2&&(a=window.document.location.protocol+"//"+window.document.location.hostname+(window.document.location.port?":"+window.document.location.port:"")+a);var d=g.PD("XSRF_FIELD_NAME",void 0),e=g.PD("XSRF_TOKEN",void 0),f=b.bd;f&&(f[d]&&delete f[d],a=g.IE(a,f));var k=b.postBody||"",f=b.Tb;Pia(a,b)&&(f||(f={}),f[d]=e);f&&g.u(k)&&(d=g.AE(k),g.$b(d,f),k=b.VA&&"JSON"==b.VA?JSON.stringify(d):g.Ag(d));var l=!1,m,n=KE(a,function(a){if(!l){l=!0;m&&g.wE(m);var d=g.uE(a),
e=null;if(d||400<=a.status&&500>a.status)e=Qia(c,a,b.h2);if(d)a:if(204==a.status)d=!0;else{switch(c){case "XML":d=0==(0,window.parseInt)(e&&e.return_code,10);break a;case "RAW":d=!0;break a}d=!!e}var e=e||{},f=b.context||pa;d?b.Ob&&b.Ob.call(f,a,e):b.onError&&b.onError.call(f,a,e);b.Fd&&b.Fd.call(f,a,e)}},b.method,k,b.headers,b.responseType,b.withCredentials);
b.gd&&0<b.timeout&&(m=g.yE(function(){l||(l=!0,n.abort(),g.wE(m),b.gd.call(b.context||pa,n))},b.timeout));
return n};
Qia=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)?Ria(b):null)d={},(0,g.G)(b.getElementsByTagName("*"),function(a){d[a.tagName]=Sia(a)})}c&&ME(d);
return d};
ME=function(a){if(g.wa(a))for(var b in a)"html_content"==b||Ga(b,"_html")?a[b]=Hd(jd("HTML that is escaped and sanitized server-side and passed through yt.net.ajax"),a[b]):ME(a[b])};
Ria=function(a){return a?(a=("responseXML"in a?a.responseXML:a).getElementsByTagName("root"))&&0<a.length?a[0]:null:null};
Sia=function(a){var b="";(0,g.G)(a.childNodes,function(a){b+=a.nodeValue});
return b};
g.NE=function(a,b){b.method="POST";b.Tb||(b.Tb={});g.LE(a,b)};
KE=function(a,b,c,d,e,f,k){function l(){4==(m&&"readyState"in m?m.readyState:0)&&b&&sE(b)(m)}
c=void 0===c?"GET":c;d=void 0===d?"":d;var m=Nia();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;if(e=Oia(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};
PE=function(){return OE("android")&&OE("chrome")&&!(OE("trident/")||OE("edge/"))};
g.QE=function(){return OE("cobalt")};
RE=function(){return OE("(ps3; leanback shell)")||OE("ps3")&&g.QE()};
SE=function(){return OE("(ps4; leanback shell)")||OE("ps4")&&g.QE()};
TE=function(){var a=/WebKit\/([0-9]+)/.exec(g.Hb);return!!(a&&600<=(0,window.parseInt)(a[1],10))};
VE=function(){return g.UE&&OE("crkey")};
WE=function(){return OE("nintendo wiiu")};
XE=function(){return OE("iemobile")||OE("windows phone")&&OE("edge")};
OE=function(a){var b=g.Hb;return b?0<=b.toLowerCase().indexOf(a):!1};
g.YE=function(a,b,c){a&&(c&&!g.QE()?a&&(a=g.he("IFRAME",{src:'javascript:"data:text/html,<body><img src=\\"'+a+'\\"></body>"',style:"display:none"}),g.Td(a).body.appendChild(a)):g.PD("USE_NET_AJAX_FOR_PING_TRANSPORT",!1)?KE(a,b):Tia(a,b))};
Tia=function(a,b){var c=new window.Image,d=""+Uia++;ZE[d]=c;c.onload=c.onerror=function(){b&&ZE[d]&&b();delete ZE[d]};
c.src=a};
g.$E=function(a){return g.PD("EXPERIMENT_FLAGS",{})[a]};
bF=function(a,b){var c=g.Xb(b);return new g.Lf(function(b,e){c.Ob=function(a){g.uE(a)?b(a):e(new aF("Request failed, status="+a.status,"net.badstatus",a))};
c.onError=function(a){e(new aF("Unknown request error","net.unknown",a))};
c.gd=function(a){e(new aF("Request timed out","net.timeout",a))};
g.LE(a,c)})};
aF=function(a,b,c){Ea.call(this,a+", errorCode="+b);this.errorCode=b;this.g=c;this.name="PromiseAjaxError"};
cF=function(a,b,c,d){function e(d,l,m){return g.Vf(d,function(d){return 0>=l||403===d.g.status?Qf(new aF("Request retried too many times","net.retryexhausted",d.g)):f(m).then(function(){return e(bF(a,b),l-1,Math.pow(2,c-l+1)*m)})})}
function f(a){return new g.Lf(function(b){(0,window.setTimeout)(b,a)})}
return e(bF(a,b),c-1,d)};
dF=function(a){Ea.call(this,a.message||a.description||a.name);this.o=a instanceof Via&&a.errorCode==Wia.TIMEOUT;this.A=a instanceof bg};
eF=function(){Ea.call(this,"Biscotti ID is missing from server")};
fF=function(a,b){this.o=a;this.g=b};
Xia=function(){var a=g.PD("PLAYER_CONFIG",void 0);if(a&&"1"==a.privembed)return Qf(Error("Biscotti ID is not available in private embed mode"));gF||(gF=g.Vf(bF("//googleads.g.doubleclick.net/pagead/id",hF).then(iF),function(a){return jF(2,a)}));
return gF};
iF=function(a){a=a.responseText;if(!g.Fa(a,")]}'"))throw new eF;a=JSON.parse(a.substr(4));if((g.Qb(window,"settings","experiments","flags","html5_serverside_ignore_biscotti_id_on_retry")||g.PD("EXP_HTML5_SERVERSIDE_IGNORE_BISCOTTI_ID_ON_RETRY",!1)||g.$E("html5_serverside_ignore_biscotti_id_on_retry"))&&1<(a.type||1))throw new eF;a=a.id;kF(a);gF=new fF(a);lF(18E5,2);return a};
jF=function(a,b){var c=new dF(b);kF("");gF=new fF(void 0,c);0<a&&lF(12E4,a-1);throw c;};
lF=function(a,b){g.yE(function(){g.Vf(bF("//googleads.g.doubleclick.net/pagead/id",hF).then(iF,function(a){return jF(b,a)}),g.x)},a)};
kF=function(a){g.qa("yt.ads.biscotti.lastId_",a,void 0)};
mF=function(){try{var a=g.v("yt.ads.biscotti.getId_");return a?a():Xia()}catch(b){return Qf(b)}};
g.oF=function(a){return nF[a]||(nF[a]=String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()}))};
g.pF=function(a,b){return a?a.dataset?a.dataset[g.oF(b)]:a.getAttribute("data-"+b):null};
g.qF=function(a,b,c){a&&(a.dataset?a.dataset[g.oF(b)]=String(c):a.setAttribute("data-"+b,c))};
rF=function(a,b){var c;(0,g.Bk)(a,function(a){c=b[a];return!!c});
return c};
tF=function(a,b){if(a in b)return b[a];var c=sF+a.charAt(0).toUpperCase()+a.substr(1);if(c in b)return b[c]};
uF=function(){return!!rF(["fullscreenEnabled","webkitFullscreenEnabled","mozFullScreenEnabled","msFullscreenEnabled"],window.document)};
g.vF=function(){var a=rF(["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"],window.document);return a?a:null};
wF=function(a){var b;uF()?g.vF()==a&&(b=window.document):b=a;b&&(a=rF(["exitFullscreen","webkitExitFullscreen","mozCancelFullScreen","msExitFullscreen"],b))&&a.call(b)};
Yia=function(){var a=window.document;return g.ab(["fullscreenerror","webkitfullscreenerror","mozfullscreenerror","MSFullscreenError"],function(b){return"on"+b.toLowerCase()in a})};
xF=function(a){return g.ab(["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],function(b){return"on"+b.toLowerCase()in a})};
yF=function(a){this.type="";this.state=this.source=this.data=this.currentTarget=this.relatedTarget=this.target=null;this.charCode=this.keyCode=0;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 Zia||(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.g=a.pageX;this.o=a.pageY}};
zF=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.o=a.clientY+b}};
$ia=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(AF,function(e){return!!e.length&&e[0]==a&&e[1]==b&&e[2]==c&&e[4]==!!d})};
g.CF=function(a,b,c,d){d=void 0===d?!1:d;if(!a||!a.addEventListener&&!a.attachEvent)return"";var e=$ia(a,b,c,d);if(e)return e;var e=++BF.count+"",f=!("mouseenter"!=b&&"mouseleave"!=b||!a.addEventListener||"onmouseenter"in window.document);var k=f?function(d){d=new yF(d);if(!g.Ee(d.relatedTarget,function(b){return b==a},!0))return d.currentTarget=a,d.type=b,c.call(a,d)}:function(b){b=new yF(b);
b.currentTarget=a;return c.call(a,b)};
k=sE(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);AF[e]=[a,b,c,k,d];return e};
g.DF=function(a){a&&("string"==typeof a&&(a=[a]),(0,g.G)(a,function(a){if(a in AF){var b=AF[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 AF[a]}}))};
g.EF=function(a){a=a||window.event;a=a.target||a.srcElement;3==a.nodeType&&(a=a.parentNode);return a};
g.FF=function(a){a=a||window.event;return a.keyCode?a.keyCode:a.which};
GF=function(a){a=a||window.event;var b=a.pageX,c=a.pageY;window.document.body&&window.document.documentElement&&(g.oa(b)||(b=a.clientX+window.document.body.scrollLeft+window.document.documentElement.scrollLeft),g.oa(c)||(c=a.clientY+window.document.body.scrollTop+window.document.documentElement.scrollTop));return new g.Nd(b,c)};
HF=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};
IF=function(a){a=a||window.event;return a.path&&a.path.length?a.path[0]:g.EF(a)};
g.JF=function(a){a=a||window.event;return!1===a.returnValue||a.Zx&&a.Zx()};
g.KF=function(a,b,c){var d;return d=g.CF(a,b,function(){g.DF(d);c.apply(a,arguments)},!1)};
g.LF=function(a){a=a||window.event;a.returnValue=!1;a.preventDefault&&a.preventDefault()};
g.MF=function(a){this.o=a||window;this.g=[]};
g.NF=function(a){g.DF(a.g);a.g.length=0};
g.OF=function(a){g.K.call(this);this.P=[];this.Gb=a||this};
PF=function(a,b,c,d){for(var e=0;e<c.length;e++)a.R(b,c[e],d)};
g.QF=function(a){for(;a.P.length;){var b=a.P.pop();b.target.removeEventListener(b.name,b.fk)}};
g.RF=function(){g.K.call(this);this.ba=new g.iD;g.L(this,this.ba)};
g.TF=function(a,b,c,d){g.RF.call(this);this.A=!!b;this.D=a;this.J=c||a;this.G=!!d;this.g=new g.OF(this);g.L(this,this.g);this.C=this.F=null;this.B=this.o=!1;b&&(g.ee&&a.setAttribute("draggable","true"),a.style.touchAction="none");SF(this)};
UF=function(a,b,c){a.g.R(a.J,b,c,void 0,!a.A)};
SF=function(a){a.C=null;a.F=null;UF(a,VF("over"),a.Dy);UF(a,"touchstart",a.Qr);a.A&&UF(a,VF("down"),a.VM)};
WF=function(a,b){for(var c=0;c<b.changedTouches.length;c++){var d=b.changedTouches[c];if(d.identifier==a.F)return d}return null};
VF=function(a){return window.navigator.msPointerEnabled?"MSPointer"+a.charAt(0).toUpperCase()+a.substr(1):"mouse"+a};
XF=function(a){a=a||{};this.url=a.url||"";this.urlV9As2=a.url_v9as2||"";this.args=a.args||g.Xb(aja);this.assets=a.assets||{};this.attrs=a.attrs||g.Xb(bja);this.params=a.params||g.Xb(cja);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||{}};
dja=function(a){a instanceof XF||(a=new XF(a));return a};
YF=function(a){for(var b=0;b<a.length;b++){var c=a[b];"send_follow_on_ping_action"==c.name&&c.data&&c.data.follow_on_url&&g.YE(c.data.follow_on_url)}};
g.ZF=function(a,b,c){this.o=a;this.B=b;this.A=c;this.g=void 0};
g.dG=function(a,b,c){var d=g.$F();if(d){var e=d.subscribe(a,function(){var d=arguments;var k=function(){g.aG[e]&&b.apply(c||window,d)};
try{bG[a]?k():g.yE(k,0)}catch(l){g.rE(l)}},c);
g.aG[e]=!0;g.cG[a]||(g.cG[a]=[]);g.cG[a].push(e);return e}return 0};
g.eG=function(a){var b=g.$F();b&&(g.oa(a)?a=[a]:g.u(a)&&(a=[(0,window.parseInt)(a,10)]),(0,g.G)(a,function(a){b.unsubscribeByKey(a);delete g.aG[a]}))};
g.$F=function(){return g.v("ytPubsubPubsubInstance")};
g.fG=function(a,b){var c=g.$F();return c?c.publish.apply(c,arguments):!1};
g.gG=function(a,b){var c=g.dG(a,function(a){b.apply(void 0,arguments);g.eG(c)},void 0)};
g.hG=function(a,b){bG[a]=!0;var c=g.$F();c&&c.publish.apply(c,arguments);bG[a]=!1};
g.nG=function(a,b){iG[a.endpoint]=b;if(a.Hm){var c=a.Hm;var d={};c.videoId?d.videoId=c.videoId:c.playlistId&&(d.playlistId=c.playlistId);jG[a.Hm.token]=d;c=kG(a.endpoint,a.Hm.token)}else c=kG(a.endpoint);c.push(a.UA);d=Number(g.$E("web_logging_max_batch")||0)||20;c.length>=d?lG():mG()};
lG=function(){g.wE(oG);if(!g.Ub(pG)){for(var a in pG){var b=qG[a];if(!b){var c=iG[a];if(!c)continue;b=new c;qG[a]=b}var c=void 0,d=a,e=b,f=eja[d],k=rG[d]||{};rG[d]=k;b=Math.round((0,g.sG)());for(c in pG[d]){var l=e.o();l[f]=kG(d,c);k.dispatchedEventCount=k.dispatchedEventCount||0;k.dispatchedEventCount+=l[f].length;l.requestTimeMs=b;var m=jG[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 jG[c];e.A(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 pG[a]}g.Ub(pG)||mG()}};
mG=function(){g.wE(oG);oG=g.yE(lG,g.PD("LOGGING_BATCH_TIMEOUT",1E4))};
kG=function(a,b){b||(b="");pG[a]=pG[a]||{};pG[a][b]=pG[a][b]||[];return pG[a][b]};
uG=function(){if(null==g.v("_lact",window)){var a=(0,window.parseInt)(g.PD("LACT"),10),a=(0,window.isFinite)(a)?(0,g.F)()-Math.max(a,0):-1;g.qa("_lact",a,window);g.qa("_fact",a,window);-1==a&&tG();g.CF(window.document,"keydown",tG);g.CF(window.document,"keyup",tG);g.CF(window.document,"mousedown",tG);g.CF(window.document,"mouseup",tG);g.dG("page-mouse",tG);g.dG("page-scroll",tG);g.dG("page-resize",tG)}};
tG=function(){null==g.v("_lact",window)&&(uG(),g.v("_lact",window));var a=(0,g.F)();g.qa("_lact",a,window);-1==g.v("_fact",window)&&g.qa("_fact",a,window);g.fG("USER_ACTIVE")};
g.vG=function(){var a=g.v("_lact",window);return null==a?-1:Math.max((0,g.F)()-a,0)};
g.wG=function(a,b,c,d){var e={};e.eventTimeMs=Math.round(d||(0,g.sG)());e[a]=b;e.context={lastActivityMs:String(g.vG())};g.nG({endpoint:"log_event",UA:e,Hm:void 0},c)};
xG=function(a){a={client:{hl:a.vr,gl:a.ur,clientName:a.tr,clientVersion:a.innertubeContextClientVersion}};g.PD("DELEGATED_SESSION_ID")&&(a.user={onBehalfOfUser:g.PD("DELEGATED_SESSION_ID")});return a};
yG=function(){return{apiaryHost:g.PD("APIARY_HOST",void 0),Gp:g.PD("APIARY_HOST_FIRSTPARTY",void 0),gapiHintOverride:!!g.PD("GAPI_HINT_OVERRIDE",void 0),gapiHintParams:g.PD("GAPI_HINT_PARAMS",void 0),innertubeApiKey:g.PD("INNERTUBE_API_KEY",void 0),innertubeApiVersion:g.PD("INNERTUBE_API_VERSION",void 0),tr:g.PD("INNERTUBE_CONTEXT_CLIENT_NAME","WEB"),innertubeContextClientVersion:g.PD("INNERTUBE_CONTEXT_CLIENT_VERSION",void 0),vr:g.PD("INNERTUBE_CONTEXT_HL",void 0),ur:g.PD("INNERTUBE_CONTEXT_GL",
void 0),xhrApiaryHost:g.PD("XHR_APIARY_HOST",void 0)||"",xn:g.PD("INNERTUBE_HOST_OVERRIDE",void 0)||""}};
zG=function(a,b,c){c.context&&c.context.capabilities&&(c=c.context.capabilities,c.snapshot||c.golden)&&(a="vix");return"/youtubei/"+a+"/"+b};
g.AG=function(a){this.g=a||yG()};
g.BG=function(){return!!g.v("yt.scheduler.instance")};
g.CG=function(a,b,c){(0,window.isNaN)(c)&&(c=void 0);var d=g.v("yt.scheduler.instance.addJob");return d?d(a,b,c):void 0===c?(a(),window.NaN):g.yE(a,c||0)};
g.DG=function(a){if(!(0,window.isNaN)(a)){var b=g.v("yt.scheduler.instance.cancelJob");b?b(a):g.wE(a)}};
EG=function(a){var b=g.v("yt.scheduler.instance.setPriorityThreshold");b&&b(a)};
GG=function(a,b){var c=Object.keys(a).join("");FG("info_"+c+"_"+b)||(a.clientActionNonce=b,g.wG("latencyActionInfo",a,g.AG))};
FG=function(a){HG[a]=HG[a]||{count:0};var b=HG[a];b.count++;b.time=(0,g.sG)();IG||(IG=g.CG(fja,0,5E3));if(10<b.count){if(11==b.count){var b=Error("CSI data exceeded logging limit with key: "+a),c=void 0,d=void 0,c=void 0===c?"ERROR":c,d=void 0===d?!1:d;a={name:g.PD("INNERTUBE_CONTEXT_CLIENT_NAME",1),version:g.PD("INNERTUBE_CONTEXT_CLIENT_VERSION",void 0)};c=void 0===c?"ERROR":c;d=window&&window.yterr||(void 0===d?!1:d)||!1;if(b&&d&&!(5<=JG)){var d=b.stacktrace,e=b.columnNumber;var f=g.v("window.location.href");
if(g.u(b))b={message:b,name:"Unknown error",lineNumber:"Not available",fileName:f,stack:"Not available"};else{var k=!1;try{var l=b.lineNumber||b.line||"Not available"}catch(r){l="Not available",k=!0}try{var m=b.fileName||b.filename||b.sourceURL||pa.$googDebugFname||f}catch(r){m="Not available",k=!0}b=!k&&b.lineNumber&&b.fileName&&b.stack&&b.message&&b.name?b:{message:b.message||"Not available",name:b.name||"UnknownError",lineNumber:l,fileName:m,stack:b.stack||"Not available"}}d=d||b.stack;l=b.lineNumber.toString();
(0,window.isNaN)(l)||(0,window.isNaN)(e)||(l=l+":"+e);if(!(KG[b.message]||0<=d.indexOf("/YouTubeCenter.js")||0<=d.indexOf("/mytube.js"))){m=b.fileName;l={bd:{a:"logerror",t:"jserror",type:b.name,msg:b.message.substr(0,1E3),line:l,level:c},Tb:{url:g.PD("PAGE_NAME",window.location.href),file:m},method:"POST"};d&&(l.Tb.stack=d);for(var n in a)l.Tb["client."+n]=a[n];if(n=g.PD("LATEST_ECATCHER_SERVICE_TRACKING_PARAMS",void 0))for(var q in n)l.Tb[q]=n[q];g.LE("/error_204",l);KG[b.message]=!0;JG++}}}return!0}return!1};
fja=function(){var a=(0,g.sG)(),b;for(b in HG)6E4<a-HG[b].time&&delete HG[b];IG=0};
g.NG=function(a,b,c){var d=c&&0<c?c:0;c=d?(0,g.F)()+1E3*d:0;if((d=d?g.LG:MG)&&window.JSON){g.u(b)||(b=JSON.stringify(b,void 0));try{d.set(a,b,c)}catch(e){d.remove(a)}}};
g.OG=function(a){if(!MG&&!g.LG||!window.JSON)return null;try{var b=MG.get(a)}catch(c){}if(!g.u(b))try{b=g.LG.get(a)}catch(c){}if(!g.u(b))return null;try{b=JSON.parse(b,void 0)}catch(c){}return b};
g.PG=function(a){try{MG&&MG.remove(a),g.LG&&g.LG.remove(a)}catch(b){}};
g.QG=function(){var a=g.PD("client-screen-nonce",void 0);a||(a=g.PD("EVENT_ID",void 0));return a};
gja=function(a,b){this.action=a;this.params=b||{}};
RG=function(a){this.app=this.name=this.id="";this.type="REMOTE_CONTROL";this.avatar=this.username="";this.A=!1;this.capabilities=new qx;this.experiments=new qx;this.theme="u";new El;this.g=this.o="";if(a){this.id=a.id||a.name;this.name=a.name;this.app=a.app;this.type=a.type||"REMOTE_CONTROL";this.username=a.user||"";this.avatar=a.userAvatarUri||"";this.theme=a.theme||"u";var b=a.capabilities||"";this.capabilities.clear();px(this.capabilities,(0,g.se)(b.split(","),g.Aa(waa,hja)));b=a.experiments||
"";this.experiments.clear();px(this.experiments,b.split(","));this.o=a.remoteControllerUrl||"";this.g=a.localChannelEncryptionKey||""}};
TG=function(a,b){g.K.call(this);this.o=new g.rt(this.C,0,this);g.L(this,this.o);this.A=this.g=0;if(g.va(a))b&&(a=(0,g.y)(a,b));else if(a&&g.va(a.handleEvent))a=(0,g.y)(a.handleEvent,a);else throw Error("Invalid listener argument");this.B=a;SG(this)};
SG=function(a){a.o.stop();a.g=5E3+2E4*Math.random()};
UG=function(a,b,c){this.M=a;this.D=b;this.A=new g.iD;this.o=new TG(this.rT,this);this.g=this.gb=null;this.K=!1;this.C=null;this.J="";this.G=this.B=0;this.F=[];this.O=c||!1};
ija=function(a){return{firstTestResults:[""],secondTestResults:!a.g.Go,sessionId:a.g.A,arrayId:a.g.lj}};
VG=function(a,b){a.G=b||0;a.o.stop();a.g&&(3==a.g.g&&$C(a.g),TC(a.g));a.G=0};
WG=function(a){return!!a.g&&3==a.g.g};
jja=function(a,b){(a.D.loungeIdToken=b)||a.o.stop()};
kja=function(){var a=XG;YG();ZG.push(a);$G(ZG)};
g.aH=function(a,b){YG();var c=ZG,d=lja(a,String(b));g.ib(c)?mja(d):($G(c),(0,g.G)(c,function(a){a(d)}))};
YG=function(){ZG||(ZG=g.v("yt.mdx.remote.debug.handlers_")||[],g.qa("yt.mdx.remote.debug.handlers_",ZG,void 0))};
mja=function(a){var b=(bH+1)%50;bH=b;cH[b]=a;dH||(dH=49==b)};
$G=function(a){var b=cH;if(b[0]){var c=bH,d=dH?c:-1;do{var d=(d+1)%50,e=b[d];(0,g.G)(a,function(a){a(e)})}while(d!=c);
cH=Array(50);bH=-1;dH=!1}};
lja=function(a,b){var c=((0,g.F)()-nja)/1E3;c.toFixed&&(c=c.toFixed(3));var d=[];d.push("[",c+"s","] ");d.push("[","yt.mdx.remote","] ");d.push(a+": "+b,"\n");return d.join("")};
eH=function(a){a=a||{};this.name=a.name||"";this.id=a.id||a.screenId||"";this.token=a.token||a.loungeToken||"";this.uuid=a.uuid||a.dialId||""};
g.fH=function(a,b){return!!b&&(a.id==b||a.uuid==b)};
gH=function(a){return{name:a.name,screenId:a.id,loungeToken:a.token,dialId:a.uuid}};
oja=function(a){return new eH(a)};
hH=function(a){return g.ta(a)?(0,g.H)(a,oja):[]};
g.iH=function(a){return a?'{name:"'+a.name+'",id:'+a.id.substr(0,6)+"..,token:"+(a.token?".."+a.token.slice(-6):"-")+",uuid:"+(a.uuid?".."+a.uuid.slice(-6):"-")+"}":"null"};
jH=function(a){return g.ta(a)?"["+g.H(a,g.iH).join(",")+"]":"null"};
g.kH=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(a){var b=16*Math.random()|0;return("x"==a?b:b&3|8).toString(16)})};
g.lH=function(a,b){return g.ab(a,function(a){return a||b?!a!=!b?!1:a.id==b.id:!0})};
g.mH=function(a,b){return g.ab(a,function(a){return g.fH(a,b)})};
g.nH=function(a){g.RF.call(this);this.F=a;this.g=[]};
oH=function(a,b){var c=a.get(b.uuid)||a.get(b.id);if(c){var d=c.name;c.id=b.id||c.id;c.name=b.name;c.token=b.token;c.uuid=b.uuid||c.uuid;return c.name!=d}a.g.push(b);return!0};
pja=function(a,b){var c=a.g.length!=b.length;a.g=(0,g.se)(a.g,function(a){return!!g.lH(b,a)});
for(var d=0,e=b.length;d<e;d++)c=oH(a,b[d])||c;return c};
qja=function(a,b){var c=a.g.length;a.g=(0,g.se)(a.g,function(a){return!(a||b?!a!=!b?0:a.id==b.id:1)});
return a.g.length<c};
pH=function(a,b,c,d){g.RF.call(this);this.F=a;this.D=b;this.B=c;this.C=d;this.A=0;this.g=null;this.o=window.NaN};
g.uH=function(){var a=qH(),b=g.rH();g.sH()&&Cb(a,b);a=rja(a);if(g.ib(a))try{tH.remove("remote_sid","/","youtube.com")}catch(c){}else try{tH.set("remote_sid",a.join(","),-1,"/","youtube.com")}catch(c){}};
qH=function(){var a=g.OG("yt-remote-connected-devices")||[];g.zb(a);return a};
rja=function(a){if(g.ib(a))return[];var b=a[0].indexOf("#"),c=-1==b?a[0]:a[0].substring(0,b);return(0,g.H)(a,function(a,b){return 0==b?a:a.substring(c.length)})};
vH=function(a){g.NG("yt-remote-connected-devices",a,86400)};
g.rH=function(){if(wH)return wH;var a=g.OG("yt-remote-device-id");a||(a=g.kH(),g.NG("yt-remote-device-id",a,31536E3));for(var b=qH(),c=1,d=a;g.gb(b,d);)c++,d=a+"#"+c;return wH=d};
xH=function(){return g.OG("yt-remote-session-browser-channel")};
g.sH=function(){return g.OG("yt-remote-session-screen-id")};
sja=function(a){5<a.length&&(a=a.slice(a.length-5));var b=(0,g.H)(yH(),function(a){return a.loungeToken}),c=(0,g.H)(a,function(a){return a.loungeToken});
(0,g.zr)(c,function(a){return!g.gb(b,a)})&&zH();
g.NG("yt-remote-local-screens",a,31536E3)};
yH=function(){return g.OG("yt-remote-local-screens")||[]};
zH=function(){g.NG("yt-remote-lounge-token-expiration",!0,86400)};
tja=function(a,b){g.NG("yt-remote-session-browser-channel",a);g.NG("yt-remote-session-screen-id",b);var c=qH(),d=g.rH();g.gb(c,d)||c.push(d);vH(c);g.uH()};
g.AH=function(a){a||(g.PG("yt-remote-session-screen-id"),g.PG("yt-remote-session-video-id"));g.uH();a=qH();g.nb(a,g.rH());vH(a)};
g.CH=function(){if(!BH){var a=g.vD();a&&(BH=new g.jD(a))}return BH?!!BH.get("yt-remote-use-staging-server"):!1};
EH=function(a){g.nH.call(this,"LocalScreenService");this.A=a;this.o=window.NaN;DH(this);this.info("Initializing with "+jH(this.g))};
FH=function(a){if(a.g.length){var b=(0,g.H)(a.g,function(a){return a.id}),c=a.A.Zh("/pairing/get_lounge_token_batch");
a.A.Xt(c,{screen_ids:b.join(",")},(0,g.y)(a.DH,a),(0,g.y)(a.CH,a))}};
DH=function(a){var b=hH(yH()),b=(0,g.se)(b,function(a){return!a.uuid});
return pja(a,b)};
GH=function(a,b){sja((0,g.H)(a.g,gH));b&&zH()};
IH=function(a,b){g.RF.call(this);this.D=b;for(var c=g.OG("yt-remote-online-screen-ids")||"",c=c?c.split(","):[],d={},e=this.D(),f=0,k=e.length;f<k;++f){var l=e[f].id;d[l]=g.gb(c,l)}this.g=d;this.C=a;this.A=this.B=window.NaN;this.o=null;HH("Initialized with "+g.mg(this.g))};
JH=function(a,b,c){var d=a.C.Zh("/pairing/get_screen_availability");a.C.Xt(d,{lounge_token:b.token},(0,g.y)(function(a){a=a.screens||[];for(var d=0,e=a.length;d<e;++d)if(a[d].loungeToken==b.token){c("online"==a[d].status);return}c(!1)},a),(0,g.y)(function(){c(!1)},a))};
KH=function(a,b){a:if(g.Mb(b)!=g.Mb(a.g))var c=!1;else{c=g.Pb(b);for(var d=0,e=c.length;d<e;++d)if(!a.g[c[d]]){c=!1;break a}c=!0}c||(HH("Updated online screens: "+g.mg(a.g)),a.g=b,a.Y("screenChange"));uja(a)};
LH=function(a){(0,window.isNaN)(a.A)||g.wE(a.A);a.A=g.yE((0,g.y)(a.Rs,a),0<a.B&&a.B<(0,g.F)()?2E4:1E4)};
HH=function(a){g.aH("OnlineScreenService",a)};
MH=function(a){var b={};(0,g.G)(a.D(),function(a){a.token?b[a.token]=a.id:this.oc("Requesting availability of screen w/o lounge token.")});
return b};
uja=function(a){a=g.Pb(g.Kb(a.g,function(a){return a}));
g.zb(a);a.length?g.NG("yt-remote-online-screen-ids",a.join(","),60):g.PG("yt-remote-online-screen-ids")};
g.NH=function(a){g.nH.call(this,"ScreenService");this.D=a;this.o=this.A=null;this.B=[];this.C={};vja(this)};
PH=function(a,b,c,d,e,f){a.info("getAutomaticScreenByIds "+c+" / "+b);c||(c=a.C[b]);var k=a.be();if(k=(c?g.mH(k,c):null)||g.mH(k,b)){k.uuid=b;var l=OH(a,k);JH(a.o,l,function(a){e(a?l:null)})}else c?wja(a,c,(0,g.y)(function(a){var f=OH(this,new eH({name:d,
screenId:c,loungeToken:a,dialId:b||""}));JH(this.o,f,function(a){e(a?f:null)})},a),f):e(null)};
QH=function(a,b){for(var c=0,d=a.g.length;c<d;++c)if(a.g[c].name==b)return a.g[c];return null};
wja=function(a,b,c,d){a.info("requestLoungeToken_ for "+b);var e={Tb:{screen_ids:b},method:"POST",context:a,Ob:function(a,e){var f=e&&e.screens||[];f[0]&&f[0].screenId==b?c(f[0].loungeToken):d(Error("Missing lounge token in token response"))},
onError:function(){d(Error("Request screen lounge token failed"))}};
g.LE(a.D.Zh("/pairing/get_lounge_token_batch"),e)};
RH=function(a){a.g=a.A.be();var b=a.C,c={},d;for(d in b)c[b[d]]=d;b=0;for(d=a.g.length;b<d;++b){var e=a.g[b];e.uuid=c[e.id]||""}a.info("Updated manual screens: "+jH(a.g))};
vja=function(a){SH(a);a.A=new EH(a.D);a.A.subscribe("screenChange",(0,g.y)(a.QH,a));RH(a);a.B=hH(g.OG("yt-remote-automatic-screen-cache")||[]);SH(a);a.info("Initializing automatic screens: "+jH(a.B));a.o=new IH(a.D,(0,g.y)(a.be,a,!0));a.o.subscribe("screenChange",(0,g.y)(function(){this.Y("onlineScreenChange")},a))};
OH=function(a,b){var c=a.get(b.id);c?(c.uuid=b.uuid,b=c):((c=g.mH(a.B,b.uuid))?(c.id=b.id,c.token=b.token,b=c):a.B.push(b),g.NG("yt-remote-automatic-screen-cache",(0,g.H)(a.B,gH)));SH(a);a.C[b.uuid]=b.id;g.NG("yt-remote-device-id-map",a.C,31536E3);return b};
SH=function(a){a.C=g.OG("yt-remote-device-id-map")||{}};
TH=function(a,b,c){g.RF.call(this);this.O=c;this.J=a;this.o=b;this.A=null};
UH=function(a,b){g.aH(a.O,b)};
WH=function(a,b){TH.call(this,a,b,"CastSession");this.g=null;this.B=0;this.D=(0,g.y)(this.AT,this);this.C=(0,g.y)(this.yR,this);this.B=g.yE((0,g.y)(function(){VH(this,null)},this),12E4)};
xja=function(a){a.info("sendYoutubeMessage_: getMdxSessionStatus "+g.mg(void 0));var b={type:"getMdxSessionStatus"};a.g?a.g.sendMessage("urn:x-cast:com.google.youtube.mdx",b,g.x,(0,g.y)(function(){UH(this,"Failed to send message: getMdxSessionStatus.")},a)):UH(a,"Sending yt message without session: "+g.mg(b))};
VH=function(a,b){g.wE(a.B);if(b){if(a.info("onConnectedScreenId_: Received screenId: "+b),!a.A||a.A.id!=b){var c=(0,g.y)(a.Vn,a),d=(0,g.y)(a.he,a);a.Ww(b,c,d,5)}}else a.he(Error("Waiting for session status timed out."))};
XH=function(a,b){TH.call(this,a,b,"DialSession");this.B=this.G=null;this.K="";this.C=null;this.F=g.x;this.D=window.NaN;this.M=(0,g.y)(this.DT,this);this.g=g.x};
YH=function(a){a.g=a.J.zC(a.K,a.o.label,a.o.friendlyName,(0,g.y)(function(a){this.g=g.x;this.Vn(a)},a),(0,g.y)(function(a){this.g=g.x;
this.he(a)},a))};
ZH=function(a){var b={};b.pairingCode=a.K;if(a.C){var c=a.C.currentTime||0;b.v=a.C.videoId;b.t=c}g.CH()&&(b.env_useStageMdx=1);return g.Ag(b)};
$H=function(a,b){TH.call(this,a,b,"ManualSession");this.g=g.yE((0,g.y)(this.mj,this,null),150)};
g.aI=function(a,b){g.RF.call(this);this.o=a;this.D=b||"233637DE";this.g=null;this.C=!1;this.A=[];this.B=(0,g.y)(this.dQ,this)};
bI=function(a,b){return b?g.ab(a.A,function(a){return g.fH(b,a.label)},a):null};
cI=function(a){g.aH("Controller",a)};
XG=function(a){window.chrome&&window.chrome.cast&&window.chrome.cast.logMessage&&window.chrome.cast.logMessage(a)};
dI=function(a){return a.C||!!a.A.length||!!a.g};
eI=function(a,b,c){b!=a.g&&(g.Le(a.g),(a.g=b)?(c?a.Y("yt-remote-cast2-receiver-resumed",b.o):a.Y("yt-remote-cast2-receiver-selected",b.o),b.subscribe("sessionScreen",(0,g.y)(a.EA,a,b)),b.A?a.Y("yt-remote-cast2-session-change",b.A):c&&a.g.mj(null)):a.Y("yt-remote-cast2-session-change",null))};
fI=function(a){var b=a.o.yC(),c=a.g&&a.g.o;a=(0,g.H)(b,function(a){c&&g.fH(a,c.label)&&(c=null);var b=a.uuid?a.uuid:a.id,d=bI(this,a);d?(d.label=b,d.friendlyName=a.name):(d=new window.chrome.cast.Receiver(b,a.name),d.receiverType=window.chrome.cast.ReceiverType.CUSTOM);return d},a);
c&&(c.receiverType!=window.chrome.cast.ReceiverType.CUSTOM&&(c=new window.chrome.cast.Receiver(c.label,c.friendlyName),c.receiverType=window.chrome.cast.ReceiverType.CUSTOM),a.push(c));return a};
g.gI=function(a){this.index=-1;this.videoId=this.listId="";this.volume=this.g=-1;this.muted=!1;this.audioTrackId=null;this.A=this.G=0;this.o=null;this.hasNext=this.Kf=!1;this.K=this.J=this.B=this.D=0;this.C=window.NaN;this.F=!1;this.reset(a)};
g.hI=function(a){a.audioTrackId=null;a.o=null;a.g=-1;a.Kf=!1;a.hasNext=!1;a.G=0;a.A=(0,g.F)();a.D=0;a.B=0;a.J=0;a.K=0;a.C=window.NaN;a.F=!1};
g.iI=function(a,b){a.G=b;a.A=(0,g.F)()};
g.jI=function(a){switch(a.g){case 1:return((0,g.F)()-a.A)/1E3+a.G;case -1E3:return 0}return a.G};
g.kI=function(a,b,c){var d=a.videoId;a.videoId=b;a.index=c;b!=d&&g.hI(a)};
g.lI=function(a){var b={};b.index=a.index;b.listId=a.listId;b.videoId=a.videoId;b.playerState=a.g;b.volume=a.volume;b.muted=a.muted;b.audioTrackId=a.audioTrackId;b.trackData=Yb(a.o);b.hasPrevious=a.Kf;b.hasNext=a.hasNext;b.playerTime=a.G;b.playerTimeAt=a.A;b.seekableStart=a.D;b.seekableEnd=a.B;b.duration=a.J;b.loadedTime=a.K;b.liveIngestionTime=a.C;return b};
mI=function(a,b,c){this.name=a;this.id=b;this.isDefault=c};
g.nI=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.oI=function(a){a=void 0===a?{}:a;this.M=a.formats||"";this.A=a.format||1;if(1==this.A)for(var b=this.M.split(","),c=0;c<b.length;c++){var d=(0,window.parseInt)(b[c],10);(0,window.isNaN)(d)||(this.A=Math.max(d,this.A))}this.o=a.languageCode||"";this.D=a.languageName;this.B=a.kind||"";this.C=a.name;this.Ba=a.id;this.O=a.is_servable;this.G=a.is_translateable;this.J=a.url||null;this.F=a.vss_id||"";this.g=null;a.translationLanguage&&(this.g=new g.nI(a.translationLanguage))};
g.pI=function(a){var b=a.D||"",c=[b];"asr"==a.B&&-1==b.indexOf("(")&&c.push(" ("+g.T("YTP_ASR_SETTINGS_LABEL")+")");a.C&&c.push(" - "+a.C);a.g&&c.push(" >> "+a.g.languageName);return c.join("")};
qI=function(a,b){this.id=a;this.Uc=b;this.captionTracks=[];this.tk=this.eq=this.g=null;this.Jv="UNKNOWN"};
g.rI=function(a,b,c){g.RF.call(this);this.C=window.NaN;this.P=!1;this.K=this.J=this.M=this.O=window.NaN;this.X=[];this.B=this.F=this.A=this.kb=this.g=null;this.ua=a;this.X.push(g.CF(window,"beforeunload",(0,g.y)(this.uH,this)));this.o=[];this.kb=new g.gI;this.da=b.id;this.g=yja(this,c);this.g.subscribe("handlerOpened",this.RN,this);this.g.subscribe("handlerClosed",this.ON,this);this.g.subscribe("handlerError",this.PN,this);this.g.subscribe("handlerMessage",this.QN,this);jja(this.g,b.token);this.subscribe("remoteQueueChange",
function(){var a=this.kb.videoId;g.sH()&&g.NG("yt-remote-session-video-id",a)},this)};
sI=function(a){g.aH("conn",a)};
yja=function(a,b){return new UG(a.ua.Zh("/bc"),b)};
tI=function(a,b){a.Y("proxyStateChange",b)};
zja=function(a){a.C=g.yE((0,g.y)(function(){sI("Connecting timeout");this.D(1)},a),2E4)};
uI=function(a){g.wE(a.C);a.C=window.NaN};
vI=function(a){g.wE(a.O);a.O=window.NaN};
Aja=function(a){wI(a);a.M=g.yE((0,g.y)(function(){xI(this,"getNowPlaying")},a),2E4)};
wI=function(a){g.wE(a.M);a.M=window.NaN};
zI=function(a,b){b&&(uI(a),vI(a));b==(WG(a.g)&&(0,window.isNaN)(a.C))?b&&(tI(a,1),xI(a,"getSubtitlesTrack")):b?(a.ca()&&a.kb.reset(),tI(a,1),xI(a,"getNowPlaying"),yI(a)):a.D(1)};
Bja=function(a,b){var c=b.params.videoId;delete b.params.videoId;c==a.kb.videoId&&(g.Ub(b.params)?a.kb.o=null:a.kb.o=b.params,a.Y("remotePlayerChange"))};
AI=function(a,b){var c=b.params.videoId||b.params.video_id,d=(0,window.parseInt)(b.params.currentIndex,10);a.kb.listId=b.params.listId||a.kb.listId;g.kI(a.kb,c,d);a.Y("remoteQueueChange")};
Cja=function(a,b){b.params=b.params||{};AI(a,b);BI(a,b);a.Y("autoplayDismissed")};
BI=function(a,b){var c=(0,window.parseInt)(b.params.currentTime||b.params.current_time,10);g.iI(a.kb,(0,window.isNaN)(c)?0:c);c=(0,window.parseInt)(b.params.state,10);c=(0,window.isNaN)(c)?-1:c;-1==c&&-1E3==a.kb.g&&(c=-1E3);a.kb.g=c;c=Number(b.params.loadedTime);a.kb.K=(0,window.isNaN)(c)?0:c;c=Number(b.params.duration);a.kb.J=(0,window.isNaN)(c)?0:c;var c=a.kb,d=Number(b.params.liveIngestionTime);c.C=d;c.F=(0,window.isNaN)(d)?!1:!0;var c=a.kb,d=Number(b.params.seekableStartTime),e=Number(b.params.seekableEndTime);
c.D=(0,window.isNaN)(d)?0:d;c.B=(0,window.isNaN)(e)?0:e;1==a.kb.g?Aja(a):wI(a);a.Y("remotePlayerChange")};
Dja=function(a,b){if(-1E3!=a.kb.g){var c=1083;switch((0,window.parseInt)(b.params.adState,10)){case 1:c=1081;break;case 2:c=1082}a.kb.g=c;a.Y("remotePlayerChange")}};
Eja=function(a,b){var c="true"==b.params.muted;a.kb.volume=(0,window.parseInt)(b.params.volume,10);a.kb.muted=c;a.Y("remotePlayerChange")};
Fja=function(a,b){a.F=b.params.videoId;a.Y("nowAutoplaying",(0,window.parseInt)(b.params.timeout,10))};
Gja=function(a,b){var c="true"==b.params.hasNext;a.kb.Kf="true"==b.params.hasPrevious;a.kb.hasNext=c;a.Y("previousNextChange")};
yI=function(a){g.wE(a.K);a.K=g.yE((0,g.y)(a.D,a,1),864E5)};
xI=function(a,b,c){c?sI("Sending: action="+b+", params="+g.mg(c)):sI("Sending: action="+b);a.g.sendMessage(b,c)};
CI=function(a,b){this.g=a||0;this.spatialAudioType=b||0};
FI=function(a,b,c,d,e,f,k,l,m,n,q){this.width=a;this.height=b;this.quality=f||DI(a,b);this.o=g.EI[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.EI[this.quality],a=0==c?g.T("YTP_AUTO"):c+(2==b||3==b||4==b?"s":"p")+(55<a?"60":49<a?"50":39<a?"48":""));this.qualityLabel=a;this.g=m||"";this.primaries=n||"";this.A=!1!==q};
GI=function(a){return"smpte2084"==a.g||"arib-std-b67"==a.g};
DI=function(a,b){for(var c=Math.max(a,b),d=Math.min(a,b),e=HI[0],f=0;f<HI.length;f++){var k=HI[f],l=g.EI[k];if(c>=Math.floor(16*l/9)*FI.prototype.B||d>=l*FI.prototype.B)return e;e=k}return"tiny"};
JI=function(a,b,c,d,e,f,k,l){this.id=a;this.o=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.B=l||0;this.audio=c||null;this.video=d||null;this.Uc=e||null;this.ld=f||null;this.A=Hja[II(this)]||""};
II=function(a){return a.id.split(";",1)[0]};
KI=function(a){return"9"==a.A||"("==a.A||"9h"==a.A||"(h"==a.A};
LI=function(a){return"9h"==a.A||"(h"==a.A};
MI=function(a){return!(a.audio&&a.video)};
NI=function(a){return 0<=a.indexOf("opus")||0<=a.indexOf("vorbis")||0<=a.indexOf("mp4a")};
OI=function(a){return 0<=a.indexOf("vp9")||0<=a.indexOf("vp8")||0<=a.indexOf("avc1")};
PI=function(a,b,c,d,e,f,k){var l=new CI;b in g.EI||(b="small");d&&e?(e=(0,window.parseInt)(e,10),d=(0,window.parseInt)(d,10)):(e=g.EI[b],d=Math.round(16*e/9));b=new FI(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 JI(c,a,l,b)};
QI=function(a,b){this.experimentIds=a?a.split(","):[];this.flags=g.zE(b||"");var c={};(0,g.G)(this.experimentIds,function(a){c[a]=!0});
this.experiments=c;this.B=!!c["9414740"]};
RI=function(a,b){this.g=a;this.o=!!b;this.A=!1};
SI=function(a){this.ze=a};
TI=function(a,b,c){this.o=a||0;this.g=b||0;this.A=c};
UI=function(a,b){return a.o==b.o&&a.g==b.g&&a.A==b.A};
VI=function(a,b,c){return new TI(g.EI[a]||0,g.EI[b]||0,c)};
WI=function(a){var b=g.EI.auto;return a.o==b&&a.g==b};
YI=function(a,b){if(b.A&&WI(b))return XI;if(b.A||WI(a))return b;if(a.A||WI(b))return a;var c=a.o&&b.o?Math.max(a.o,b.o):a.o||b.o,d=a.g&&b.g?Math.min(a.g,b.g):a.g||b.g,c=Math.min(c,d);return c==a.o&&d==a.g?a:new TI(c,d,!1)};
g.ZI=function(a){var b=a.g||a.o;return Tb(Ija,function(a){return g.EI[a]==b})||"auto"};
$I=function(a,b){var c=g.EI[b];return a.o<=c&&(!a.g||a.g>=c)};
Jja=function(){var a=g.OG("yt-player-volume")||{},b=a.volume;return{volume:(0,window.isNaN)(b)?100:g.Id(Math.floor(b),0,100),muted:!!a.muted}};
aJ=function(a){g.NG("yt-player-bandwidth",a,2592E3)};
bJ=function(){return g.OG("yt-player-quality")||"auto"};
cJ=function(a){g.NG("yt-player-watch-later-pending",a)};
dJ=function(){return g.OG("yt-player-performance-cap")||0};
eJ=function(a,b,c){if(g.wa(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}};
fJ=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 eJ(a)};
hJ=function(a,b){g.K.call(this);this.app=a;this.g=!0;this.o=null;this.B={};this.C={};this.F={};this.D={};this.A=null;this.G=new window.Set;this.playerType=b;U(this,"cueVideoById",this.Gy);U(this,"loadVideoById",this.sK);U(this,"cueVideoByUrl",this.hK);U(this,"loadVideoByUrl",this.tK);U(this,"playVideo",this.fd);U(this,"pauseVideo",this.sd);U(this,"stopVideo",this.Tf);U(this,"clearVideo",this.fK);U(this,"getVideoBytesLoaded",this.mK);U(this,"getVideoBytesTotal",this.nK);U(this,"getVideoLoadedFraction",
this.Tr);U(this,"getVideoStartBytes",this.oK);U(this,"cuePlaylist",this.gK);U(this,"loadPlaylist",this.rK);U(this,"nextVideo",this.qj);U(this,"previousVideo",this.Uk);U(this,"playVideoAt",this.Ky);U(this,"setShuffle",this.setShuffle);U(this,"setLoop",this.vK);U(this,"getPlaylist",this.Rf);U(this,"getPlaylistIndex",this.Iy);U(this,"getPlaylistId",this.getPlaylistId);U(this,"loadModule",this.Tk);U(this,"unloadModule",this.Hn);U(this,"setOption",this.Ed);U(this,"getOption",this.Ac);U(this,"getOptions",
this.li);U(this,"mute",this.mute);U(this,"unMute",this.yg);U(this,"isMuted",this.Le);U(this,"setVolume",this.setVolume);U(this,"getVolume",this.getVolume);U(this,"seekTo",this.wc);U(this,"getPlayerState",this.Sk);U(this,"getPlaybackRate",this.Wc);U(this,"setPlaybackRate",this.Sf);U(this,"getAvailablePlaybackRates",this.pj);U(this,"getPlaybackQuality",this.Rk);U(this,"setPlaybackQuality",this.Vk);U(this,"getAvailableQualityLevels",this.Sr);U(this,"getCurrentTime",this.getCurrentTime);U(this,"getDuration",
this.getDuration);U(this,"addEventListener",this.addEventListener);U(this,"removeEventListener",this.removeEventListener);U(this,"getVideoUrl",this.getVideoUrl);U(this,"getDebugText",this.Qk);U(this,"getVideoEmbedCode",this.Jy);U(this,"getVideoData",this.ia);U(this,"addCueRange",this.Fy);U(this,"removeCueRange",this.Ly);U(this,"setSize",this.setSize);U(this,"getApiInterface",this.iK);U(this,"destroy",this.destroy);U(this,"showVideoInfo",this.Oy);U(this,"hideVideoInfo",this.pK);U(this,"getMediaReferenceTime",
this.kK);gJ(this,"getInternalApiInterface",this.jK);gJ(this,"getAdState",this.Hy);gJ(this,"isNotServable",this.qK);gJ(this,"getUpdatedConfigurationData",this.lK);gJ(this,"sendAbandonmentPing",this.uK);gJ(this,"setAutonav",this.My);gJ(this,"setAutonavState",this.Ny);gJ(this,"startInteractionLogging",this.wK);gJ(this,"channelSubscribed",this.dK);gJ(this,"channelUnsubscribed",this.eK)};
U=function(a,b,c){a.B[b]=(0,g.y)(function(){iJ(this,b);return c.apply(this,arguments)},a)};
gJ=function(a,b,c){a.C[b]=(0,g.y)(function(){iJ(this,b);return c.apply(this,arguments)},a)};
jJ=function(a){a.A||(a.A=g.Xb(a.B),a.A.addEventListener=(0,g.y)(a.ZG,a),a.A.removeEventListener=(0,g.y)(a.aH,a));return a.A};
iJ=function(a,b){var c=a.app.Z;c.experiments.g("web_player_api_logging")&&!a.G.has(b)&&(a.G.add(b),c={callerUrl:c.P,methodName:b},a.app.Z.experiments.g("web_player_gel_logging_killswitch")||a.app.ba.Y("onLogToGel",{payload_name:"webPlayerApiCalled",payload:c}))};
lJ=function(a,b,c){b=g.Id(Math.floor(b),0,100);(0,window.isFinite)(b)&&kJ(a.app,{volume:b,muted:a.Le()},c)};
mJ=function(a,b){kJ(a.app,{muted:!0,volume:a.getVolume()},b)};
nJ=function(a,b){kJ(a.app,{muted:!1,volume:Math.max(5,a.getVolume())},b)};
g.oJ=function(a,b,c){this.start=a;this.end=b;this.A=Kja++;a=c||{};this.Ba=a.id||"";this.B=a.priority||7;this.active=!0;this.visible=a.visible||!1;this.style=a.style||"ytp-ad-progress";this.namespace=a.namespace||"";this.color="";a.color&&(b=a.color.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};
Lja=function(a){switch(a.style){case "ytp-chapter-marker":return 8;case "ytp-ad-progress":return 6;case "ytp-time-marker":return Number.POSITIVE_INFINITY;default:return 0}};
g.pJ=function(a,b){return a.start-b.start||a.B-b.B||a.A-b.A};
qJ=function(a,b,c,d,e,f,k,l){this.duration=c;this.endTime=b+c;this.ingestionTime=d;this.Ea=a;this.sourceURL=e;this.startTime=b;this.o=k||0;this.range=f||null;this.g=l||!1};
g.rJ=function(){this.segments=[]};
sJ=function(a,b){if(b>a.Hc())a.segments=[];else{var c=g.$a(a.segments,function(a){return a.Ea>=b},a);
0<c&&a.segments.splice(0,c)}};
tJ=function(a,b,c,d,e){this.data=a;this.offset=b;this.size=c;this.type=d;this.o=e?0:8;this.g=this.offset+this.o};
uJ=function(a){var b=a.data.getInt32(a.offset+a.o);a.o+=4;return b};
vJ=function(a){var b=a.data.getUint32(a.offset+a.o);a.o+=4;return b};
Mja=function(a){var b=a.data,c=a.offset+a.o,b=4294967296*b.getUint32(c)+b.getUint32(c+4);a.o+=8;return b};
wJ=function(a){var b=[];do{var c=a.data.getUint8(a.offset+a.o);b.push(c);a.o++}while(0!=c);b.pop()};
xJ=function(a){this.data=new window.DataView(new window.ArrayBuffer(a));this.g=0};
yJ=function(a,b){a.data.setInt32(a.g,b);a.g+=4};
zJ=function(a,b){for(var c=0;c+4<=b.size;)yJ(a,b.data.getUint32(b.offset+c)),c+=4;for(;c<b.size;)a.data.setUint8(a.g++,b.data.getUint8(b.offset+c++))};
AJ=function(a,b,c){this.Pe=a;this.durationSecs=b;this.context=c};
BJ=function(a){this.g=a;this.o=(0,window.parseInt)(this.g["Sequence-Number"],10)||0;this.ingestionTime=((0,window.parseInt)(this.g["Ingestion-Walltime-Us"],10)||0)/1E6;this.A=(((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.C="T"==this.g["Stream-Finished"];this.B="T"==this.g.Streamable};
CJ=function(a,b,c){this.o=a||0;this.yaw=b||0;this.A=c;this.g=c.getUint32(4)};
DJ=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};
FJ=function(a,b){var c=EJ(a.data,a.g,1952868452),d=EJ(a.data,a.g,1953658222),e=uJ(c);uJ(c);e&2&&uJ(c);var c=e&8?uJ(c):0,f=uJ(d),k=f&1,e=f&4,l=f&256,m=f&512,n=f&1024,f=f&2048,q=vJ(d);k&&uJ(d);e&&uJ(d);for(var r=k=0;r<q;r++){var w=l?uJ(d):c;m&&uJ(d);e&&0==r||!n||uJ(d);f&&uJ(d);k+=w}return k/b};
IJ=function(a){a=new window.DataView(a.buffer,a.byteOffset,a.byteLength);return(a=GJ(a,1836476516))?HJ(a):window.NaN};
EJ=function(a,b,c){for(;JJ(a,b);){var d=KJ(a,b);if(d.type==c)return d;b+=d.size}return null};
GJ=function(a,b){for(var c=0;JJ(a,c);){var d=KJ(a,c);if(d.type==b)return d;c=LJ(d.type)?c+8:c+d.size}return null};
MJ=function(a,b){if(a.data.getUint8(a.g)){var c=a.data,d=a.g+4;c.setUint32(d,Math.floor(b/4294967296));c.setUint32(d+4,b&4294967295)}else a.data.setUint32(a.g+4,b)};
NJ=function(a){if(a.data.getUint8(a.g)){var b=a.data;a=a.g+4;b=4294967296*b.getUint32(a)+b.getUint32(a+4)}else b=a.data.getUint32(a.g+4);return b};
KJ=function(a,b){var c=a.getUint32(b),d=a.getUint32(b+4);return new tJ(a,b,c,d)};
HJ=function(a){var b=a.data.getUint8(a.g)?20:12;return a.data.getUint32(a.g+b)};
OJ=function(a){return a.data.getUint32(a.g+8)};
PJ=function(a){var b=a.data.getUint8(a.g);a.data.getUint16(a.g+(0==b?22:30));return a.data.getUint32(a.g+(0==b?28:36))};
JJ=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};
LJ=function(a){return 1836019558==a||1836019574==a||1835297121==a||1835626086==a||1937007212==a||1953653094==a||1953653099==a};
Nja=function(a){var b=GJ(a,1937011556);if(!b)return null;b=EJ(a,b.g+8,1635148593);if(!b)return null;var c=EJ(a,b.g+78,1936995172),d=EJ(a,b.g+78,1937126244);if(!d)return null;b=null;if(c)switch(c.skip(4),b=c.data.getUint8(c.offset+c.o),c.o+=1,b){default:b=0;break;case 1:b=2;break;case 2:b=1;break;case 3:b=255}c=null;if(d=EJ(a,d.g,1886547818)){var e=EJ(a,d.g,1886546020),f=EJ(a,d.g,2037673328);if(!f&&(f=EJ(a,d.g,1836279920),!f))return null;e&&(uJ(e),c=uJ(e)/65536,uJ(e));a=new window.DataView(f.data.buffer,
f.g,f.size-8);return new CJ(b,c,a)}return null};
QJ=function(a){return(a=EJ(a,0,1836019558))?a.offset+a.size:null};
RJ=function(a,b){for(var c=EJ(a,0,b);c;)a.setUint32(c.offset+4,1936419184),c=EJ(a,c.offset+c.size,b)};
Oja=function(a,b,c,d){d=void 0===d?!1:d;var e=EJ(a,0,1836019558);if(!e)return null;var f=EJ(a,e.g,1835427940),k=EJ(a,e.g,1953653094),l=EJ(a,e.g,1886614376);if(!f||!k)return null;var m=EJ(a,k.g,1952868452),n=EJ(a,k.g,1953658222),q=EJ(a,k.g,1952867444);if(!m||!n||!q)return null;var r=EJ(a,k.g,1935763823),w=EJ(a,k.g,1935763834);if(r){var A=uJ(r);var C=uJ(r);if(0!=A||1!=C)return null;A=uJ(r)}for(var C=EJ(a,k.g,1935828848),k=EJ(a,k.g,1936158820),B=uJ(m),M=uJ(m),X=B&2,xa=B&1?Mja(m):0,db=X?uJ(m):0,fa=B&
8?uJ(m):0,uc=B&16?uJ(m):0,eb=B&32?uJ(m):0,B=uJ(n),Zf=B&1,$f=B&4,Fk=B&256,m=B&512,xc=B&1024,bc=B&2048,B=uJ(n),yc=Zf?uJ(n):0,Au=$f?uJ(n):0,Zf=[],kj=[],Gk=[],Wp=[],Nm=0,Jd=0,Om=0;Om<B;Om++){var Bu=Fk?uJ(n):fa;m&&Zf.push(uJ(n));var Rg=eb;$f&&0==Om?Rg=Au:xc&&(Rg=uJ(n));kj.push(Rg);Rg=bc?uJ(n):0;0==Om&&(Nm=Rg);Gk.push(Jd+Rg);Wp.push(Om);Jd+=Bu}1<=Math.abs(Jd-b)&&c({flaw:"segDurMismatch",dts:Jd.toFixed(),seg:b.toFixed()});g.zb(Wp,function(a,b){return Gk[a]-Gk[b]});
c=[];for(Jd=0;Jd<B;Jd++)c[Wp[Jd]]=Jd;Jd=X?4:0;eb=16*B;$f=68+Jd+q.size+eb+(r?r.size:0)+(w?w.size:0)+(C?C.size:0)+(k?k.size:0)+(l?l.size:0);n=$f-e.size;fa=new xJ($f+(d?0:e.offset));!d&&e.offset&&fa.Fm(a,0,e.offset);yJ(fa,$f);yJ(fa,1836019558);zJ(fa,f);yJ(fa,$f-24-(l?l.size:0));yJ(fa,1953653094);yJ(fa,16+Jd);yJ(fa,1952868452);yJ(fa,131072|(X?2:0));yJ(fa,M);X&&yJ(fa,db);zJ(fa,q);yJ(fa,20+eb);yJ(fa,1953658222);yJ(fa,16781057);yJ(fa,B);yJ(fa,xa+yc+n);for(a=Jd=0;a<B;a++)e=c[a],d=Math.round(b*e/B),e=Math.round(b*
(e+1)/B)-d,d=d-Jd+Nm,yJ(fa,e),yJ(fa,m?Zf[a]:uc),yJ(fa,kj[a]),yJ(fa,d),Jd+=e;r&&(yJ(fa,r.size),yJ(fa,1935763823),yJ(fa,0),yJ(fa,1),yJ(fa,A+n));w&&zJ(fa,w);C&&zJ(fa,C);k&&zJ(fa,k);l&&zJ(fa,l);return fa.data.buffer};
SJ=function(){var a=g.v("yt.player.utils.videoElement_");a||(a=g.je("VIDEO"),g.qa("yt.player.utils.videoElement_",a,void 0));return a};
TJ=function(a){var b=SJ();try{if(b.canPlayType){a=a?Pja:Qja;for(var c=0;c<a.length;c++)if(b.canPlayType(a[c]))return null}return"fmt.noneavailable"}catch(d){return"html5.missingapi"}};
UJ=function(){var a=SJ();try{var b=a.muted;a.muted=!b;return a.muted!=b}catch(c){}return!1};
VJ=function(a){a=g.he("DIV",{"class":a});window.document.body.appendChild(a);var b="none"==g.eh(a,"display");g.qe(a);return b};
WJ=function(){this.length=1};
XJ=function(){this.buffered=new WJ};
YJ=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};
ZJ=function(a,b){var c=YJ(a,b);return 0<=c?a.end(c):window.NaN};
$J=function(a){return a&&a.length?a.end(a.length-1):window.NaN};
aK=function(){var a=[],b=[];return{start:function(b){return a[b]},
end:function(a){return b[a]},
length:a.length}};
bK=function(a,b){var c=ZJ(a,b);return 0<=c?c-b:0};
cK=function(a){var b="";if(a)for(var c=0;c<a.length;c++)b+=a.start(c).toFixed(3)+"-"+a.end(c).toFixed(3)+",";return b};
dK=function(){};
eK=function(){g.K.call(this);this.o=null;this.D=this.C=!1;this.B=new g.rf;g.L(this,this.B)};
hK=function(a,b){var c="";b&&(fK(a,b),c=b.g);a.qd()&&""==c||(c&&a.qd()!=c&&gK(a,c),b&&b.o||a.load(),a.D||(a.addEventListener("volumechange",a.Wv),a.D=!0))};
fK=function(a,b){a.o&&null!=b&&b.g==a.o.g||(a.o&&a.o.dispose(),a.o=b)};
jK=function(a){return bK(iK(a),a.getCurrentTime())};
kK=function(a){var b=iK(a);return 0<$J(b)&&a.getDuration()?ZJ(b,a.getCurrentTime()):0};
lK=function(a){var b=a.getDuration();return window.Infinity==b?1:b?kK(a)/b:0};
mK=function(a){return{vct:a.getCurrentTime().toFixed(3),vd:a.getDuration().toFixed(3),vpl:cK(a.g.played||aK()),vbu:cK(iK(a)),vpa:a.g.paused,vsk:a.g.seeking,ven:a.g.ended,vpr:a.Wc(),vrs:a.g.readyState,vns:a.g.networkState,vec:a.Nb(),vvol:a.getVolume()}};
nK=function(a,b,c){g.Ne.call(this,b,a);this.g=c||null};
oK=function(a){eK.call(this);this.g=a;this.A={}};
gK=function(a,b){var c=a.Wc();a.g.src=b;a.Sf(c)};
iK=function(a){return a.g.buffered||aK()};
pK=function(a,b,c){g.ah(a.g,b,c)};
qK=function(a,b){this.o=a;this.A=b;this.B=0;Object.defineProperty(this,"timestampOffset",{get:this.lT,set:this.pT});Object.defineProperty(this,"buffered",{get:this.jT})};
Rja=function(){this.length=0};
rK=function(a){this.activeSourceBuffers=this.sourceBuffers=[];this.g=a;this.o=window.NaN;this.A=0;Object.defineProperty(this,"duration",{get:this.kT,set:this.oT});Object.defineProperty(this,"readyState",{get:this.mT});this.g.addEventListener("webkitsourceclose",(0,g.y)(this.nT,this),!0)};
sK=function(a,b){g.K.call(this);this.F=new g.OF(this);g.L(this,this.F);this.o=this.g=null;this.A=window.MediaSource?new window.MediaSource:window.WebKitMediaSource?new window.WebKitMediaSource:new rK(a.ra());var c=this.A;c=c.yU?c.g.webkitMediaSourceURL:window.URL.createObjectURL(c);this.G=new RI(c,!0);this.C=this.D=this.B=null;this.M=b;PF(this.F,this.A,["sourceopen","webkitsourceopen"],this.K);PF(this.F,this.A,["sourceclose","webkitsourceclose"],this.J)};
Sja=function(a){a.C||(a.C=new window.Promise((0,g.y)(function(a){this.B=a},a)));
return a.C};
tK=function(a){try{return"open"==a.A.readyState}catch(b){return!1}};
uK=function(a){try{return"closed"==a.A.readyState}catch(b){return!0}};
vK=function(a){return!!(a.g&&a.g.updating||a.o&&a.o.updating)};
wK=function(){return!(!window.MediaSource||!window.MediaSource.isTypeSupported)};
xK=function(a){return a.g?!!a.g.appendBuffer:wK()};
yK=function(a){if(/opus/.test(a)&&(g.UE&&!ki("38")||VE()))return!1;if(window.MediaSource&&window.MediaSource.isTypeSupported)return window.MediaSource.isTypeSupported(a);if(/webm/.test(a)&&!SE())return!1;'audio/mp4; codecs="mp4a.40.2"'==a&&(a='video/mp4; codecs="avc1.4d401f"');return!!SJ().canPlayType(a)};
g.zK=function(){this.Kg=this.Jg=!1;this.B=20971520;this.D=8388608;this.o=window.NaN;this.da=3145728;this.J=62914560;this.fa=10485760;this.jd=this.va=0;this.G=window.NaN;this.Mp=65536;this.Uj=this.Ab=2;this.Tj=25;this.F=2097152;this.Hh=1048576;this.X=!1;this.M=1800;this.ua=5;this.Aa=10;this.O=30;this.jb=1;this.g=1.15;this.A=1.05;this.kg=8;this.Wl=!1;this.yf=!0;var a;!(a=OE("xboxone"))&&(a=TE())&&(a=/WebKit\/([0-9]+)/.exec(g.Hb),a=!(a&&602<=(0,window.parseInt)(a[1],10)));this.wp=a||PE();this.pa=15;
this.Ua=90;this.Sa=!1;this.Pa=this.Wj=!0;this.Gb=g.UE&&!0;this.lq=!0;this.Vl=this.P=!1;this.Vj=.8;this.Fh=this.Ng=!1;this.Gh=!0;this.ba=0;this.Wa=this.Cc=!1;this.Rc=25;this.Sl=!0;this.Xj=this.La=!1;this.K=6;this.Pc=!1;this.Tl=this.wb=this.rb=0;this.Mg=!1;this.ca=0;this.ha=!1;this.ga=0;this.Lg=!1;this.bb=0;this.up=this.wf=this.Hb=!1;this.Ja=0;this.xf=this.C=this.Qc=this.Yb=!1;this.sa=0;this.xc=this.ka=!1;this.ak=.5;this.bk=2;this.Yj=.8;this.Zj=.2};
Tja=function(a,b){1080<b.video.o&&!a.Jg&&(a.B=36700160,a.D=5242880,a.da=10485760,a.F=4194304,a.Jg=!0);2160<b.video.o&&!a.Kg&&(a.B=104857600,a.G=13107200,a.Kg=!0);a.Hh=Math.min(a.F,5*b.g)};
Uja=function(a,b){var c=new g.zK;c.jb=a.experiments.o("html5_throttle_rate")||c.jb;a.experiments.g("html5_streaming_xhr")&&(c.P=!0);a.experiments.g("html5_streaming_debug")&&(c.P=!0,c.Wa=!0);c.ba=a.experiments.o("html5_idle_preload_secs");c.Wl=a.experiments.g("html5_use_long_term_bandwidth_estimator");c.K=a.experiments.o("html5_min_buffer_to_resume");c.rb=a.experiments.o("html5_variability_discount");c.wb=a.experiments.o("html5_variability_no_discount_thresh");c.Tl=a.experiments.o("html5_variability_full_discount_thresh");
a.experiments.o("html5_max_av_sync_drift")&&(c.Rc=a.experiments.o("html5_max_av_sync_drift"));var d=a.schedule;d.A.o()==d.policy.D?c.O=10:c.O=a.experiments.o("html5_throttle_burst_secs")||c.O;a.experiments.o("html5_min_secs_between_format_selections")&&(c.kg=a.experiments.o("html5_min_secs_between_format_selections"));c.ca=a.experiments.o("html5_local_max_byterate_lookahead");c.ha=a.experiments.g("html5_stop_overlapping_requests");c.va=a.experiments.o("html5_min_readbehind_secs");c.jd=a.experiments.o("html5_min_readbehind_cap_secs");
c.ga=a.experiments.o("html5_min_startup_smooth_target")||c.ga;c.Lg=a.experiments.g("html5_preload_size_excludes_metadata");c.bb=a.experiments.o("html5_max_readahead_bandwidth_cap");c.Hb=a.experiments.g("disable_html5_copy_pre_moof");c.wf=a.experiments.g("html5_disable_audio_append_cap");c.up=a.experiments.g("html5_disable_non_contiguous");c.Ja=a.experiments.o("html5_post_interrupt_readahead");c.Yb=a.experiments.g("html5_disable_urgent_upgrade_for_quality");c.Qc=a.experiments.g("html5_log_quota_exceeded");
a.experiments.g("html5_always_enable_timeouts")&&(c.Gb=!1);c.ua=a.experiments.o("html5_repredict_misses")||c.ua;a.experiments.g("html5_new_fallback")&&(c.C=!0,c.Ua=10);c.xf=a.experiments.g("html5_no_downgrade_with_tbd");c.sa=a.experiments.o("html5_observed_downgrade_prop");c.xc=a.experiments.g("html5_enable_subsegment_readahead_v3");c.ak=a.experiments.o("html5_subsegment_readahead_target_buffer_health_secs");c.bk=a.experiments.o("html5_subsegment_readahead_timeout_secs");c.Yj=a.experiments.o("html5_subsegment_readahead_progress_timeout_fraction");
c.Zj=a.experiments.o("html5_subsegment_readahead_tail_margin_secs");if(TE()||a.experiments.g("dash_html5_safari8_workarounds"))c.Sa=!0;if(OE("trident/")||OE("edge/"))c.o=240;g.ch&&(c.J=41943040);g.AK(a)||!wK()?(c.B=8388608,c.D=524288,c.Ab=5,c.da=2097152,c.F=1048576,c.Uj=1.5,c.Tj=15,c.X=!wK(),c.yf=!1,c.G=4587520,RE()&&(c.G=786432),c.g*=1.1,c.A*=1.1,c.Fh=!0,c.J=c.B,c.fa=c.D):a.isMobile&&(c.g*=1.3,c.A*=1.3);VE()&&(d="CHROMECAST/ANCHOVY"==a.B.cmodel,c.B=20971520,c.D=1572864,d&&(c.G=812500,c.M=1E3));c.lq=
a.D;c.Vl=!a.experiments.g("disable_fpa_sei_removal")&&OE("windows nt")&&b.ii();b.Je()&&(a.experiments.g("disable_html5_manifestless_delay")||(c.Cc=!0),c.Wj=!1,a.experiments.g("html5_manifestless_always")&&(c.Pa=!1,c.ka=!0));a.isAd()&&(c.K=0);a.experiments.g("html5_streaming_response_mediastream_rewrite_v2")&&b.ub&&b.ub.videoInfos.length&&1==b.ub.videoInfos[0].o&&!g.QE()&&(c.P=!0,c.Wa=!0);/^re/.test(b.clientPlaybackNonce)&&(c.Mg=!0,c.La=!0);c.Pc=b.eh;/^pp/.test(b.clientPlaybackNonce)&&(c.Xj=!0,c.La=
!0);a.schedule.policy.A=b.Je()?.5:0;if(d=a.experiments.o("html5_deadzone_multiplier"))c.g*=d,c.A*=d;if(d=a.experiments.o("html5_request_sizing_multiplier"))c.Vj=d;a.experiments.g("html5_strip_emsg")&&(c.Ng=!0);c.o=a.experiments.o("html5_max_buffer_duration")||c.o;c.pa=a.experiments.o("html5_max_buffer_health_for_downgrade")||c.pa;c.Aa=a.experiments.o("html5_min_upgrade_health")||c.Aa;a.experiments.g("disable_html5_streaming_response_timing")&&(c.Sl=!1);BK(a.M,CK)&&(c.G=window.NaN);return c};
DK=function(a,b){this.start=a;this.end=b;this.length=b-a+1};
EK=function(a){a=a.split("-");return 2==a.length&&(a=new DK((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};
FK=function(a,b){return new DK(a,a+b-1)};
GK=function(a,b,c,d,e,f,k,l,m){this.oa=b;this.range=c;this.type=a;this.Ea=0<=d?d:-1;this.startTime=e||0;this.duration=f||0;this.Ya=k||0;this.ob=0<=l?l:this.range?this.range.length:window.NaN;this.B=!!m;this.range?(this.o=this.Ya+this.ob==this.range.length,this.A=this.startTime+this.duration*this.Ya/this.range.length,this.C=this.duration*this.ob/this.range.length):(this.o=0!=this.ob,this.A=this.startTime,this.C=this.duration);this.g=this.A+this.C};
Vja=function(a,b,c){var d=!(!b||b.oa!=a.oa||b.type!=a.type||b.Ea!=a.Ea);return c?d&&(a.range&&b.range?b.range.end==a.range.end:b.range==a.range)&&b.Ya+b.ob==a.Ya+a.ob:d};
HK=function(a){return 1==a.type||2==a.type};
IK=function(a,b,c){return c||a.oa==b.oa?a.range&&b.range?a.range.start+a.Ya+a.ob==b.range.start+b.Ya:a.Ea==b.Ea?a.Ya+a.ob==b.Ya:a.Ea+1==b.Ea&&0==b.Ya&&a.o:!1};
Wja=function(a){1==a.length||(0,g.zr)(a,function(a){return!!a.range});
for(var b=1;b<a.length;b++);b=a[a.length-1];return new DK(a[0].range.start+a[0].Ya,b.range.start+b.Ya+b.ob-1)};
KK=function(a){var b="";g.Jb(JK(a),function(a,d){b+=d+"="+a+","});
return b.slice(0,-1)};
JK=function(a){var b={};b.itag=II(a.oa.info);b.seg=a.Ea;a.range&&(b.range=""+(a.range.start+a.Ya)+"-"+(a.range.start+a.Ya+a.ob-1));b.time=""+a.A.toFixed(1)+"-"+(a.A+a.C).toFixed(1);b.off=a.Ya;return b};
LK=function(a,b){this.o=a;this.g=0;this.A=b||0};
MK=function(a){return a.g>=a.o.byteLength};
SK=function(a){var b=new LK(a);if(NK(b)&&OK(b,[408125543,374648427,174,224])&&(b=PK(b),QK(b,30320))){var c=b.A+b.g,d=RK(b,!0),e=b.A+b.g-c+1;e||(e=Math.ceil(Math.log(d+2)/Math.log(2)/7));for(var f=1<<8-e,b=[];b.length<e-1;)b.unshift(d%256),d=Math.floor(d/256);b.unshift(d|f);a.setUint8(c-2,236);for(d=0;d<b.length;d++)a.setUint8(c-1+d,b[d])}};
Xja=function(a){var b=new LK(a);NK(b);if(OK(b,[408125543,374648427,174,224]))b=PK(b);else return null;for(var c=a=null;!MK(b);){var d=RK(b,!1);if(21432==d)switch(TK(b)){default:a=0;break;case 1:a=1;break;case 3:a=2;break;case 15:a=255}else 30320==d?c=PK(b):UK(b)}if(!c)return null;for(var e,b=null;!MK(c);)switch(RK(c,!1)){case 30321:if(3!=TK(c))return null;break;case 30324:VK(c);break;case 30323:b=VK(c);break;case 30325:VK(c);break;case 30322:e=RK(c,!0);e=WK(c,e);e=new window.DataView(e.buffer,e.byteOffset,
e.byteLength);break;default:UK(c)}return e?new CJ(a,b,e):null};
PK=function(a){var b=RK(a,!0),c=a.o.byteOffset+a.g,c=new window.DataView(a.o.buffer,c,Math.min(b,a.o.buffer.byteLength-c)),c=new LK(c,a.A+a.g);a.g+=b;return c};
TK=function(a){for(var b=RK(a,!0),c=XK(a),d=1;d<b;d++)c=256*c+XK(a);return c};
VK=function(a){var b=RK(a,!0),c=0;4==b?c=a.o.getFloat32(a.g):8==b&&(c=a.o.getFloat64(a.g));a.g+=b;return c};
UK=function(a){var b=RK(a,!0);a.g+=b};
NK=function(a){var b=a.g;a.g=0;var c=!1;QK(a,440786851)&&(a.g=0,QK(a,408125543)&&(c=!0));a.g=b;return c};
YK=function(a){var b=a.g;a.g=0;var c=1E6;OK(a,[408125543,357149030,2807729])&&(c=TK(a));a.g=b;return c};
Yja=function(a,b){var c=a.g;a.g=0;if(!ZK(a)||!QK(a,160))return a.g=c,window.NaN;RK(a,!0);var d=a.g;if(!QK(a,161))return a.g=c,window.NaN;RK(a,!0);XK(a);var e=XK(a)<<8|XK(a);a.g=d;if(!QK(a,155))return a.g=c,window.NaN;d=TK(a);a.g=c;return(e+d)*b/1E9};
ZK=function(a){if(NK(a)){if(!QK(a,408125543))return!1;RK(a,!0)}if(!QK(a,524531317))return!1;RK(a,!0);return!0};
OK=function(a,b){for(var c=0;c<b.length;c++){if(!QK(a,b[c]))return!1;c!=b.length-1&&RK(a,!0)}return!0};
QK=function(a,b){if(MK(a))return!1;for(;RK(a,!1)!=b;)if(UK(a),MK(a))return!1;return!0};
RK=function(a,b){var c=XK(a);if(1==c){for(var d=c=0;7>d;d++)c=256*c+XK(a);return c}for(var d=128,e=0;6>e&&d>c;e++)c=256*c+XK(a),d*=128;return b?c-d:c};
XK=function(a){return a.o.getUint8(a.g++)};
WK=function(a,b){var c=new window.Uint8Array(a.o.buffer,a.o.byteOffset+a.g,b);a.g+=b;return c};
$K=function(a,b,c,d,e){this.info=a;this.g=b;this.range=c;this.A=null;this.o=d;this.lf=e};
aL=function(a){return a.range?new window.DataView(a.g,a.range.start,a.range.length):new window.DataView(a.g)};
bL=function(a,b){b=Math.min(b,a.info.ob);var c=FK(a.range.start,b);return[new $K(new GK(a.info.type,a.info.oa,a.info.range,a.info.Ea,a.info.startTime,a.info.duration,a.info.Ya,b,!1),a.g,c,a.o,a.lf),new $K(new GK(a.info.type,a.info.oa,a.info.range,a.info.Ea,a.info.startTime,a.info.duration,a.info.Ya+b,a.info.ob-b,a.info.B),a.g,new DK(c.end+1,a.range.end),a.o,!1)]};
cL=function(a,b){if(1==a.info.oa.info.o){for(var c=a.info.oa.g,d=new window.DataView(a.g),e=window.NaN,f=window.NaN,k=0;JJ(d,k);){var l=KJ(d,k);(0,window.isNaN)(e)&&(1936286840==l.type?e=OJ(l):1836476516==l.type&&(e=HJ(l)));if(1952867444==l.type){!e&&c&&(e=IJ(c));var m=NJ(l);(0,window.isNaN)(f)&&(f=Math.round(b*e)-m);MJ(l,m+f)}k=LJ(l.type)?k+8:k+l.size}return!0}c=new LK(new window.DataView(a.g));e=a.lf?c:new LK(new window.DataView(a.info.oa.g.buffer));d=b;f=YK(e);e=c.g;c.g=0;if(ZK(c)&&QK(c,231))if(k=
RK(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.o.setUint8(c.g+f,d&255),d>>>=8;c.g=e;c=!0}else c=!1;return c};
dL=function(a){var b;if(1==a.info.oa.info.o){for(var c=b=0,d=new window.DataView(a.g);JJ(d,b);){var e=KJ(d,b);if(1936286840==e.type)var f=OJ(e),k=PJ(e),c=c+k/f;b=LJ(e.type)?b+8:b+e.size}b=c||window.NaN;if(!(0<=b))a:{b=a.info.oa.g;for(var c=0,d=new window.DataView(a.g),l,e=0;JJ(d,c);){f=KJ(d,c);if(1836476516==f.type)l=HJ(f);else if(1836019558==f.type){!l&&b&&(l=IJ(b));if(!l){b=window.NaN;break a}k=EJ(f.data,f.g,1953653094);e+=FJ(k,l)}c=LJ(f.type)?c+8:c+f.size}b=e||window.NaN}}else l=new LK(new window.DataView(a.g)),
b=a.lf?l:new LK(new window.DataView(a.info.oa.g.buffer)),b=Yja(l,YK(b));return b||a.info.C};
eL=function(a){return 1==a.info.oa.info.o?a.A?a.A.D&&!!EJ(new window.DataView(a.g),0,1718909296):!1:NK(new LK(new window.DataView(a.g)))};
Zja=function(){this.g=this.dg=this.o=this.A=0};
fL=function(a){a.A=(0,g.sG)();a.o=0;a.dg=0;a.g=0};
gL=function(a,b){a[b]||(a[b]=new Zja);return a[b]};
hL=function(a){return(a=$ja.exec(a))?a[0]:""};
iL=function(a){return aka.test("https://"+a+"/")};
jL=function(a){a=new g.Kl(a);Ll(a,window.document.location.protocol);g.Ml(a,window.document.location.hostname);window.document.location.port&&g.Nl(a,window.document.location.port);return a.toString()};
kL=function(a){a=new g.Kl(a);Ll(a,window.document.location.protocol);return a.toString()};
lL=function(a){this.B=a;this.C=this.o=this.D="";this.g={};this.A=""};
mL=function(a){a.A||(a.A=bka(a));return a.A};
oL=function(a){nL(a);return a.C};
pL=function(a){nL(a);return Lb(a.g,function(a){return null!==a})};
qL=function(a,b){nL(a);if("/videoplayback"!=a.o){var c=a.clone();c.set("playerfallback",""+b);return c}var d=mL(a),e=new g.Kl(d),c=e.o.match("\\.a1\\.googlevideo\\.com$");e.o.match("\\.googlevideo\\.com$")?(g.Ml(e,"redirector.googlevideo.com"),d=e.toString()):e.o.match("r[1-9].*\\.c\\.youtube\\.com$")?(g.Ml(e,"www.youtube.com"),d=e.toString()):d=jL(d);d=new lL(d);b&&d.set("cmo=pf",""+b);c&&d.set("cmo=td","a1.googlevideo.com");return d};
nL=function(a){if(a.B){if(!rL.test(a.B))throw Error("Untrusted URL: "+a.B);var b=g.Xl(a.B);a.D=b.B;a.C=b.o+(null!=b.C?":"+b.C:"");var c=b.A;if(0==c.indexOf("/videoplayback"))a.o="/videoplayback",c=c.substr(14);else if(0==c.indexOf("/api/manifest/")){var d=c.indexOf("/",14);0<d?(a.o=c.substr(0,d),c=c.substr(d+1)):(a.o=c,c="")}else a.o=c,c="";d=a.g;a.g=sL(c);g.Ba(a.g,tL(b.Vw()));g.Ba(a.g,d);"index.m3u8"==a.g.file&&(delete a.g.file,a.o+="/file/index.m3u8");a.B="";a.A=""}};
bka=function(a){nL(a);var b=a.D+(a.D?"://":"//")+a.C+a.o;if(pL(a)){var c=[];g.Jb(a.g,function(a,b){null!==a&&c.push(b+"="+a)});
b+="?"+c.join("&")}return b};
sL=function(a){a=a.split("/");var b=0;a[0]||b++;for(var c={};b<a.length;b+=2)a[b]&&uL(c,a[b],a[b+1]);return c};
tL=function(a){a=a.split("&");for(var b={},c=0;c<a.length;c++){var d=a[c],e=d.indexOf("=");0<e?uL(b,d.substr(0,e),d.substr(e+1)):d&&(b[d]="")}return b};
uL=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};
vL=function(a){this.g=a;this.o={};this.A=""};
cka=function(a,b){var c=b.indexOf("?");if(0<c){var d=tL(b.substr(c+1));g.Jb(d,function(a,b){this.set(b,a)},a);
b=b.substr(0,c)}c=sL(b);g.Jb(c,function(a,b){this.set(b,a)},a)};
g.wL=function(a){a.A||(a.A=dka(a));return a.A};
dka=function(a){var b=mL(a.g),c=[];g.Jb(a.o,function(a,b){c.push(b+"="+a)});
if(!c.length)return b;var d=c.join("&");a=pL(a.g)?"&":"?";return b+a+d};
xL=function(a,b){var c=new lL(b),d=c.get("req_id");d&&a.set("req_id",d);g.Jb(a.o,function(a,b){c.set(b,null)});
return c};
eka=function(a){this.C=a.clone();this.D=a;this.o=null;this.A=0;this.B=-1;this.g=0};
yL=function(a){a.o||(a.o=qL(a.C,a.A||1));return a.o};
zL=function(a,b){this.o=a[0].oa.C;this.B=b||"";this.g=a;this.range=this.g[0].range&&0<this.g[0].ob?Wja(this.g):null;this.A=window.NaN;this.requestId=null};
g.AL=function(a,b,c,d){if(/http[s]?:\/\//.test(a.B))var e=new vL(new lL(a.B));else{var f=a.o;e=f.D;if(b.C){if(b=gL(c,oL(e)),2<=b.dg||1<=b.g)f=yL(f),c=gL(c,oL(f)),c.dg+c.g<=b.dg+b.g&&(e=f)}else 0<f.A&&(e=yL(f));e=new vL(e);a.B&&cka(e,a.B)}(d=d||a.range)&&e.set("range",d.toString());a.requestId&&e.set("req_id",a.requestId);(0,window.isNaN)(a.A)||e.set("headm",a.A.toString());return e};
BL=function(a){if(a.range)return a.range.length;a=a.g[0];return Math.round(a.C*a.oa.info.g)};
CL=function(a,b,c){this.index=null;this.info=b;this.initRange=c||null;this.g=null;this.B=this.o=!1;this.C=new eka(a);this.F=null};
DL=function(a,b){a.info&&a.info.video&&4==a.info.video.projectionType&&!a.F&&(1==a.info.o?a.F=Nja(b):2==a.info.o&&(a.F=Xja(b)))};
EL=function(a,b,c,d,e,f){f=void 0===f?0:f;CL.call(this,a,b,d);this.index=e||new g.rJ;this.A=f;this.J=c;this.G=!0;if(this.D=!c)this.o=!0};
FL=function(a,b,c){this.segments=[];this.o=a;this.A=void 0===b?0:b;this.g=void 0===c?!1:c};
HL=function(a,b,c){b=GL(a,b);return 0<=b&&(c||!a.segments[b].g)};
GL=function(a,b){return g.xb(a.segments,{Ea:b},function(a,b){return a.Ea-b.Ea})};
IL=function(a,b,c){return new qJ(b,c.startTime-(c.Ea-b)*a.o,a.o,0,"sq/"+b,void 0,void 0,!0)};
JL=function(a,b,c,d,e){d=void 0===d?!1:d;e=void 0===e?14400:e;EL.call(this,a,b,"",void 0,void 0,c);this.index=new FL(c||0,e,d)};
fka=function(a,b,c,d,e){this.Ea=a;this.Pe=b;this.durationSecs=c;this.g=d||window.NaN;this.o=e||window.NaN};
KL=function(a){return a.match(/^(\d{4})-(\d{2})-(\d{2})T(\d{2})\:(\d{2})\:(\d{2})\.(\d{3})$/)?a+"Z":a};
LL=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""};
ML=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};
NL=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)};
OL=function(){this.g=[];this.o=null;this.C=0;this.B=[];this.A=!1;this.D=""};
gka=function(a){var b=a.B;a.B=[];return b};
hka=function(){this.B=[];this.g=null;this.o={};this.A={}};
lka=function(a,b,c){var d=[];b=g.ka(b.getElementsByTagName("SegmentTimeline"));for(var e=b.next();!e.done;e=b.next()){var e=e.value,f=e.parentNode.parentNode,k=null;"Period"==f.nodeName?k=ika(a):"AdaptationSet"==f.nodeName?k=jka(a,f.attributes.id?f.attributes.id.value:f.attributes.mimetype.value):"Representation"==f.nodeName&&(k=kka(a,f.attributes.id.value));if(null==k)return;k.update(e,c);rb(d,gka(k))}Ab(d,function(a){return a.Pe});
rb(a.B,d)};
mka=function(a){a.g&&(a.g.g=[]);g.Jb(a.o,function(a){a.g=[]});
g.Jb(a.A,function(a){a.g=[]})};
ika=function(a){a.g||(a.g=new OL);return a.g};
jka=function(a,b){a.o[b]||(a.o[b]=new OL);return a.o[b]};
kka=function(a,b){a.A[b]||(a.A[b]=new OL);return a.A[b]};
g.PL=function(){this.Na=0;this.g=new window.Float64Array(128);this.o=new window.Float64Array(128);this.B=1;this.A=!1};
QL=function(a){if(a.g.length<a.Na+1){var b=2*a.g.length,b=b+2,c=a.g;a.g=new window.Float64Array(b+1);var d=a.o;a.o=new window.Float64Array(b+1);for(b=0;b<a.Na+1;b++)a.g[b]=c[b],a.o[b]=d[b]}};
RL=function(a,b,c,d,e,f){CL.call(this,a,b,c||void 0);this.indexRange=d;this.D=null;this.index=new g.PL;this.A=e;this.lastModified=f};
SL=function(a,b,c,d){for(var e=[];b<=a.index.Hc();b++){var f=a.index,f=FK(f.Ln(b),b+1<f.Na||f.A?f.g[b+1]-f.g[b]:-1),k=a.index.kf(b),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 GK(3,a,f,b,k,l,m,n,b==a.index.Hc()&&m+n==f.length));if(f.start+m+n>=c+d)break}return new zL(e)};
TL=function(a,b,c){return a(b,c).then(function(b){var d=!b.responseText||2048<b.responseText.length?"":0==b.responseText.indexOf("https://")?b.responseText:"";return d?TL(a,d,c):b})};
nka=function(a,b){return TL(function(a,b){return cF(a,b,4,1E3)},a,b)};
UL=function(a,b,c){a=void 0===a?"":a;b=void 0===b?null:b;c=void 0===c?!1:c;g.RF.call(this);this.X=this.duration=0;this.isLive=this.B=!1;this.J=(0,g.sG)();this.D=window.Infinity;this.g={};this.ca=a||"";this.F=this.M=0;this.C=null;this.ka=!!b&&b.g("html5_live_nonzero_first_segment_start_time");this.o=!1;this.K=[];this.pa=!!b&&b.g("html5_live_self_init_segments");this.A=null;this.sa=c;this.ha=!b||!b.g("html5_manifest_without_credentials");this.O=0;this.P=!!b&&b.g("disable_html5_manifest_namespace_redux");
this.fa="";this.G=window.NaN;this.ga=b&&b.g("disable_html5_duration_caching")?window.Infinity:10;this.da=!!b&&b.o("html5_stale_dash_manifest_retry_factor")||1};
oka=function(a){return Lb(a.g,function(a){return!!a.info.video&&2160<=a.info.video.o})};
VL=function(a){return Lb(a.g,function(a){return!!a.info.ld})};
WL=function(a,b,c,d,e){c=void 0===c?0:c;return(void 0===d?0:d)?pka(a,b,e):qka(a,b,c)};
qka=function(a,b,c){c=void 0===c?0:c;var d=new UL;d.duration=c||0;(0,g.G)(a,function(a){var c=XL(a,b,d.duration),e=EK(a.init),l=EK(a.index),m=(0,window.parseInt)(a.clen,10),n=YL(a.url,c,a.s);a=(0,window.parseInt)(a.lmt,10);n&&(c=new RL(n,c,e,l,m,a),d.g[c.info.id]=c)});
return d};
pka=function(a,b,c){var d=new UL("",null,!0);(0,g.G)(a,function(a){var e=XL(a,b),k=YL(a.url,e,a.s);a=(0,window.parseInt)(a.target_duration_sec,10);k&&(e=new JL(k,e,a,c&&c.g("html5_manifestless_always")),d.g[e.info.id]=e)});
d.B=!0;d.o=!0;d.isLive=!0;return d};
XL=function(a,b,c){c=void 0===c?0:c;var d=a.type,e=a.itag,f=rka(a),k=null;OI(d)&&(k=(a.size||"640x360").split("x"),k=new FI(+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=ska(d,k));var l=null,m=null;if(NI(d)){l=0;if("258"==e||"261"==e)l=6;l=new CI(l,+a.spatial_audio_type);a.name&&(m=new mI(a.name,a.audio_track_id,"1"==a.isDefault))}var e=(0,window.parseInt)(a.bitrate,10)/8,n=(0,window.parseInt)(a.clen,
10);c=c&&n?n/c:0;var q=null;b&&a.drm_families&&(q={},(0,g.G)(a.drm_families.split(","),function(a){q[a]=b[a]}));
return new JI(f,d,l,k,m,q,e,c)};
rka=function(a){var b=a.itag;a.xtags&&(b=a.itag+";"+a.xtags);return b};
YL=function(a,b,c){c=void 0===c?"":c;var d=new lL(a);a.match(/https:\/\/yt.akamaized.net/)||d.set("alr","yes");d.set("keepalive","yes");d.set("ratebypass","yes");d.set("mime",(0,window.encodeURIComponent)(b.mimeType.split(";")[0]));c&&d.set("signature",qE(c));return d};
aM=function(a,b){var c=LL(b,"id"),c=c.replace(":",";");"captions"==c&&(c=LL(b,"lang"));var d=LL(b,"mimeType"),e=LL(b,"codecs"),d=e?d+'; codecs="'+e+'"':d,e=(0,window.parseInt)(LL(b,"bandwidth"),10)/8,f=(0,window.parseInt)(ML(b,"BaseURL").getAttribute(ZL(a,"contentLength")),10),f=a.duration&&f?f/a.duration:0,k=null;if(OI(d)){var k=(0,window.parseInt)(LL(b,"width"),10),l=(0,window.parseInt)(LL(b,"height"),10),m=(0,window.parseInt)(LL(b,"frameRate"),10),n=tka(LL(b,ZL(a,"projectionType")));a:switch(LL(b,
ZL(a,"stereoLayout"))){case "layout_left_right":var q=1;break a;case "layout_top_bottom":q=2;break a;default:q=0}k=new FI(k,l,m,n,q)}m=l=null;if(NI(d)){LL(b,"audioSamplingRate");var l=(0,window.parseInt)(LL(b.getElementsByTagName("AudioChannelConfiguration")[0],"value"),10),r,m=LL(b,ZL(a,"spatialAudioType"));"spatial_audio_type_ambisonics_5_1"==m?r=1:"spatial_audio_type_ambisonics_quad"==m&&(r=2);l=new CI(l,r);r=LL(b,"lang")||"und";(m=ML(b,"Role"))?(q=LL(m,"value")||"",Rb($L,q)?(m=r+"."+$L[q],n="main"==
q,r=LL(b,ZL(a,"langName"))||r+" - "+q,m=new mI(r,m,n)):m=null):m=null}n=null;if(r=ML(b,"ContentProtection"))if(g.QE())if((n=r.attributes.schemeIdUri)&&"http://youtube.com/drm/2012/10/10"==n.value)for(n={},r=r.firstChild;null!=r;r=r.nextSibling)"yt:SystemURL"==r.nodeName&&(n[r.attributes.type.value]=r.textContent.trim());else n=null;else if((n=r.attributes.schemeIdUri)&&"http://youtube.com/drm/2012/10/10"==n.textContent)for(n={},r=r.firstChild;null!=r;r=r.nextSibling)"SystemURL"==r.localName&&"http://youtube.com/yt/2012/10/10"==
r.namespaceURI&&(n[r.attributes.type.textContent]=r.textContent.trim());else n=null;return new JI(c,d,l,k,m,n,e,f)};
tka=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}};
bM=function(a,b){b=void 0===b?"":b;a.F=1;a.J=(0,g.sG)();return g.Vf(nka(b||a.ca,{format:"RAW",method:"GET",withCredentials:a.ha}).then((0,g.y)(a.yH,a)),(0,g.y)(a.BH,a))};
uka=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=EK(a):d=d+"?range="+a));return new qJ(b.Ea,b.Pe,b.durationSecs,b.g,d,e,b.o)};
cM=function(a){return a.isLive&&(0,g.sG)()-a.J>=a.D};
dM=function(a,b){var c=b||1<=a.da?a.D:a.D*a.da*(1+Math.random());(0,window.isFinite)(c)&&(cM(a)?a.Vy():(c=Math.max(0,a.J+c-(0,g.sG)()),a.A||(a.A=new g.rt(a.Vy,c,a),g.L(a,a.A)),a.A.start(c)))};
eM=function(a){if(!(0,window.isNaN)(a.G))return a.G;var b=a.g,c;for(c in b){var d=b[c].index;if(d&&d.Rb()){b=0;for(c=d.rg();c<=d.Hc();c++)b+=d.getDuration(c);b/=d.Wi();b=.5*Math.round(b/.5);d.Wi()>a.ga&&(a.G=b);return b}if(a.isLive&&(d=b[c],d.A))return d.A}return window.NaN};
fM=function(a,b){for(var c in a.g){var d=a.g[c].index;if(d&&d.Rb()){var e=d.Zg(b),f=d.Xr(e);if(f)return f+b-d.kf(e)}}return window.NaN};
vka=function(a,b){g.Jb(a.g,function(a){g.Jb(b,function(b,c){var d=a.C;d.D.set(c,b);d.C.set(c,b);d.o&&d.o.set(c,b)})})};
ZL=function(a,b){return a.P?"yt:"+b:a.fa+":"+b};
ska=function(a,b){if('video/webm; codecs="vp9.2"'!=a)return a;null===gM&&(gM=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"'));gM&&(a='video/webm; codecs="vp09.02.51.10.01.'+("bt2020"==b.primaries?"09":"01")+"."+("smpte2084"==b.g?"16":"arib-std-b67"==b.g?"18":"01")+'"');return a};
hM=function(a,b,c,d){this.g=a;this.o=b;this.C=c;this.B={};this.A=null;this.fairPlayCert="";this.D=!!d&&d.g("edge_nonprefixed_eme")};
jM=function(a){return a.D?!1:!a.A&&!!iM()&&"com.microsoft.playready"==a.o};
kM=function(a){return"com.microsoft.playready"==a.o};
lM=function(a){return!a.A&&!!iM()&&"com.apple.fps.1_0"==a.o};
iM=function(){var a=window.MSMediaKeys;TE()&&!a&&(a=window.WebKitMediaKeys);return a&&a.isTypeSupported?a:null};
oM=function(a){return window.navigator.requestMediaKeySystemAccess?g.UE?ki("45"):g.mM||g.sc?a.g("edge_nonprefixed_eme"):g.nM?ki("47"):!a.g("html5_no_nonprefixed_eme_for_other"):!1};
pM=function(a,b){g.K.call(this);this.A=[];this.o={};this.g={};this.B=null;this.C=b;wka(this,a)};
wka=function(a,b){for(var c in b)for(var d=g.ka(b[c]),e=d.next();!e.done;e=d.next()){e=e.value;if(!e.ld)return;for(var f in e.ld){if(!qM[f])return;for(var k=g.ka(qM[f]),l=k.next();!l.done;l=k.next())l=l.value,a.o[l]=a.o[l]||new hM(f,l,e.ld[f],a.C),a.g[f]=a.g[f]||{},a.g[f][e.mimeType]=!0}}a.A=xka.filter(function(b){return!!a.o[b]})};
yka=function(a,b){function c(a){b.B[a.contentType]=!0}
if(kM(b)){var d=SJ(),e;for(e in a.g[b.g])b.B[e]=!!d.canPlayType(e)}else d=b.A.getConfiguration(),d.audioCapabilities&&d.audioCapabilities.forEach(c),d.videoCapabilities&&d.videoCapabilities.forEach(c)};
Aka=function(a){if(iM()&&mi)a.B(new hM("fairplay","com.apple.fps.1_0","",a.C));else{var b=zka(),c=g.ab(a.A,function(c){var d=a.o[c],f=!1,k=!1,l;for(l in a.g[d.g])b(l,c)&&(d.B[l]=!0,f=f||0==l.indexOf("audio/"),k=k||0==l.indexOf("video/"));return f&&k}),c=c?a.o[c]:null;
a.A=[];a.B(c)}};
zka=function(){var a=iM();if(a)return function(b,d){return a.isTypeSupported(d,b)};
var b=SJ();return b&&(b.addKey||b.webkitAddKey)?(0,g.y)(b.canPlayType,b):function(){return!1}};
Bka=function(){this.g=8192;this.o=17;this.D=13E4;this.F=.5;this.C=.1;this.B=!1;this.O=!0;this.J=!1;this.G=60;this.A=0;this.M=this.K=!1};
rM=function(a){this.C=Math.exp(Math.log(.5)/a);this.A=this.B=0};
sM=function(a,b,c){this.J=0;this.F=a;this.C=b||.5;this.D=c||0;this.G="index";this.A=0;this.B=[]};
uM=function(a,b){tM(a,"value");var c=b*a.A,d=0,e=window.NaN;a.B.some(function(a){d+=a.weight;e=a.value;if(d>=c)return!0});
return e};
tM=function(a,b){a.G!=b&&(a.G=b,taa(a.B,b))};
vM=function(a){this.B=a;this.A=[]};
Cka=function(){this.A=0;this.o=this.F=this.B=this.C=window.NaN;this.D=0;this.K=this.M=this.G=this.J=window.NaN;this.g=""};
Dka=function(a){this.policy=a;this.J=this.K=0;this.B=-1;this.F=(0,g.sG)();this.D=new sM(4,.6);this.G=a.M?new sM(5,.5,.2):new rM(4);this.A=this.policy.B?new rM(this.policy.o):new sM(this.policy.o,.5,this.policy.C);this.C=new vM(this.policy.o);this.g=this.policy.J?new rM(this.policy.G):null;this.o=new sM(30,.5);a=g.OG("yt-player-bandwidth")||{};var b=0<a.byterate?a.byterate:this.policy.D;this.A.g(this.policy.F,b);this.g&&this.g.g(this.policy.F,0<a.ltByterate?a.ltByterate:b);0<a.delay&&this.D.g(1,Math.min(+a.delay,
2));0<a.stall?this.G.g(1,+a.stall):0<a.tailDelay&&this.G.g(1,+a.tailDelay);this.B=(0,g.sG)()};
wM=function(a,b,c){b=Math.max(b,.05);a.A.g(b,c/b);a.g&&a.g.g(b,c/b);a.F=(0,g.sG)()};
yM=function(a,b,c){b=Math.max(b,a.policy.g);a.G.g(1,c/b);xM(a)};
zM=function(a){a=a.D.o();a=(0,window.isNaN)(a)?.5:a;return a=Math.min(a,5)};
AM=function(a,b,c){(0,window.isNaN)(c)||(a.J+=c);(0,window.isNaN)(b)||(a.K+=b)};
BM=function(a){return a.G.o()||0};
CM=function(a){var b=a.A.o(),b=0<b?b:1;if(!a.policy.O)return b;a=a.C.o();a=0<a?a:1;return a>2*b?(b+a)/2:b};
DM=function(a){a=a.g.o();return 0<a?a:1};
EM=function(a){var b={};b.delay=zM(a);b.stall=BM(a);b.byterate=CM(a);a.g&&(b.ltByterate=DM(a));return b};
xM=function(a){-1<a.B&&3E4<(0,g.sG)()-a.B&&(aJ(EM(a)),a.B=(0,g.sG)())};
FM=function(a){return 4E3<=(0,g.sG)()-a.F};
GM=function(a,b,c){this.videoInfos=a;this.g=b||null;this.audioTracks=[];this.o=c||null;if(this.g){var d={};(0,g.G)(this.g,(0,g.y)(function(a){if(a.Uc&&!d[a.id]){var b=new qI(a.id,a.Uc);d[a.id]=b;this.audioTracks.push(b)}},this))}};
HM=function(a){this.A=a||null;this.o=0;this.g=null};
IM=function(a){var b=new HM;b.o=2;b.g=a;return b};
JM=function(a){var b=new HM;b.o=1;b.g=a;return b};
Eka=function(a,b,c){this.A=a;this.g=b;this.D=c;this.B={};this.C=!!g.v("cast.receiver.platform.canDisplayType");this.o=!this.C&&g.v("cast.receiver.platform.getValue")&&window.cast.receiver.platform.getValue("max-video-resolution-vpx")||null};
MM=function(a,b,c){if(2.2!=KM&&TJ(a.g)||c)return IM();var d={};a=SJ();b=g.ka(b);for(c=b.next();!c.done;c=b.next())if(c=c.value,II(c.ze)in Fka||"5"==II(c.ze)?0:LM(a,c.ze.mimeType)){var e=c.ze.video.quality;d[e]&&2!=d[e].ze.o||(d[e]=c)}var f=[];d.auto&&f.push(d.auto);(0,g.G)(HI,function(a){(a=d[a])&&f.push(a)});
return JM(f)};
NM=function(){var a=PE()&&!ki(29),b=OE("google tv")&&OE("chrome")&&!ki(30);return a||b?!1:!!(window.MediaSource||window.WebKitMediaSource||window.HTMLMediaElement&&window.HTMLMediaElement.prototype.webkitSourceAddId)};
LM=function(a,b){var c=a.canPlayType(b);OM?c=c||Gka[b]:2.2==KM?c=c||Hka[b]:PE()&&(c=c||Ika[b]);return!!c};
g.PM=function(){return!(!LM(SJ(),"application/x-mpegURL")&&!NM())};
QM=function(a,b){var c={},d;for(d in b.g){var e=b.g[d],f=II(e.info);("304"!=f&&"266"!=f||b.B)&&Jka(a,e.info)&&(c[e.info.A]=c[e.info.A]||[],c[e.info.A].push(e.info))}return c};
Kka=function(a,b,c){var d={},e;g.Jb(b,function(a,b){var f=a.filter(function(a){return a.ld?c&&a.ld[c.g]&&c.B[a.mimeType]?"261"!=II(a)||BK(this,RM)?!0:(e||(e=SJ()),!1):!1:!0},this);
f.length&&(d[b]=f)},a);
return d};
WM=function(a,b,c,d,e){function f(a){return!!k[a]}
var k=QM(a,b);VL(b)&&(k=Kka(a,k,c));var l=a.A.g("html5_disable_vp9_hdr_enc")?Lka:Mka;a.g?!OE("windows nt 5.1")||g.nM&&!a.A.g("html5_prefer_h264_on_xp")?(b.fh()||b.xg()||b.If())&&SM&&6>=KM&&(l=TM):l=TM:l=Nka;c=Oka;d&&(a.g&&(l=TM),c=Pka);if(RE()||SE()||BK(a,RM))c=Qka;(b.fh()||b.xg()||b.If())&&e&&(c=Rka.concat(c));b=g.ab(l,f);d=g.ab(c,f);if(!b||!d)return IM();"9"==b&&k.h&&(e=function(a,b){return Math.max(a,b.video.height)},c=Md(k["9"],e,0),Md(k.h,e,0)>1.5*c&&(b="h"));
e=k[b];c=k[d];e=UM(a,e);VM(e,c);return JM(new GM(e,c,Ska(a,k,b,d)))};
Ska=function(a,b,c,d){var e=a.g?b.h:b[c];b=b.a;c=a.g&&"h"!=c;return e&&b&&(c||"a"!=d)?(e=UM(a,e),VM(e,b),new GM(e,b)):null};
VM=function(a,b){g.zb(a,function(a,b){return b.video.height*b.video.width-a.video.height*a.video.width||b.g-a.g});
g.zb(b,function(a,b){return b.g-a.g})};
UM=function(a,b){var c=(0,g.Bk)(b,function(a){return 32<a.video.fps});
c&&(b=a.D||BK(a,XM)?(0,g.se)(b,function(a){var b;(b=32<a.video.fps)||(a=a.video,b=!(854<a.width||480<a.height));return b}):(0,g.se)(b,function(a){return!(32<a.video.fps)}));
c&&RE()&&(b=(0,g.se)(b,function(a){return"299"!=II(a)}));
return b};
Jka=function(a,b){if("0"==II(b)&&!a.g)return!0;var c=b.mimeType;if(b.video&&(GI(b.video)||"bt2020"==b.video.primaries)&&48!=window.screen.pixelDepth&&!BK(a,YM)||"338"==II(b)&&!(a.A.g("html5_chrome_ambisonics_opus")&&g.UE&&ki(53)))return!1;var d={};b.video&&(b.video.width&&(d[ZM.name]=b.video.width),b.video.height&&(d[$M.name]=b.video.height),b.video.fps&&(d[XM.name]=b.video.fps),b.video.g&&(d[YM.name]=b.video.g),b.g&&(d[CK.name]=8*b.g),"("==b.A&&(d[aN.name]="subsample"));b.audio&&b.audio.g&&(d[RM.name]=
b.audio.g);for(var e in bN){var f=bN[e];if(d[f.name]&&!(f==YM&&0<b.mimeType.indexOf("vp09.02")))if(BK(a,f))if(a.o){if(a.o[f.name]<d[f.name])return!1}else c=c+"; "+f.name+"="+d[f.name];else if(LI(b)&&f==YM)return!1}!a.A.g("disable_html5_cast_hdcp_filter2")&&a.C&&b.video&&1080<b.video.o&&b.ld&&(c+="; hdcp=2.2");return cN(a,c)};
BK=function(a,b){if(!(b.name in a.B)){var c=a.B,d=b.name;if(a.o)var e=!!a.o[b.name];else b.video?(e='video/webm; codecs="vp9"',cN(a,e)||(e='video/mp4; codecs="avc1.4d401e"')):(e='audio/webm; codecs="opus"',cN(a,e)||(e='audio/mp4; codecs="mp4a.40.2"')),e=cN(a,e+"; "+b.name+"="+b.valid)&&!cN(a,e+"; "+b.name+"="+b.hi);c[d]=e}return a.B[b.name]};
cN=function(a,b){return a.C?window.cast.receiver.platform.canDisplayType(b):yK(b)};
dN=function(){g.RF.call(this);this.Ma={}};
eN=function(a,b,c){if(!a.Ma[b]&&(c.Mh||c.Nj)){var d=a.Ma,e=c;Object.isFrozen&&!Object.isFrozen(c)&&(e=Object.create(c),Object.freeze(e));d[b]=e;a.Y("vast_info_card_add",b)}};
jN=function(a,b,c){var d;(d=a.adformat)||(d=(a=a.attrib)&&Rb(fN,a)&&Rb(gN,a)?gN[a]+"_"+fN[a]:void 0);a=d;if(!a)return null;d=a.match(hN);if(!d||5!=d.length)return null;d=iN(a);return b||c||d?a:null};
iN=function(a){a=a.match(hN);var b=(0,window.parseInt)(a[3],10),c=[7,8,10,5,6];return!(1==(0,window.parseInt)(a[1],10)&&8==b)&&0<=c.indexOf(b)};
kN=function(a,b){return void 0==b?a:"1"==b?!0:!1};
lN=function(a,b,c){for(var d in c)if(c[d]==b)return c[d];return a};
mN=function(a,b){return void 0==b?a:Number(b)};
nN=function(a,b){return void 0==b?a:b.toString()};
oN=function(a,b){if(b){if("fullwidth"==a)return window.Infinity;if("fullheight"==a)return 0}if(a){var c=a.match(Tka);if(c){var d=(0,window.parseFloat)(c[2]);if(0<d)return(0,window.parseFloat)(c[1])/d}}return window.NaN};
pN=function(a,b){var c=g.EI.auto,d=g.EI[b];return d>g.EI.medium?new TI(d,c,!1):d>=c?new TI(c,d,!1):a};
qN=function(a){return a.docid||a.video_id||a.videoId||a.id};
sN=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++){for(var c=(0,g.F)(),d=0;d<c%23;d++)a[b]=Math.random();a[b]=Math.floor(256*Math.random())}if(rN)for(b=1,c=0;c<rN.length;c++)a[b%16]=a[b%16]^a[(b-1)%16]/4^rN.charCodeAt(c),b++;return a};
g.tN=function(){return(0,g.H)(sN(),function(a){return(a&15).toString(16)}).join("")};
uN=function(){for(var a=sN(),b=[],c=0;c<a.length;c++)b.push("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(a[c]&63));return b.join("")};
GN=function(a){g.K.call(this);a=g.Xb(a);this.g="detailpage";this.ca=null;this.zr=this.Yb=this.ga=!1;this.O={};this.Tl=nN("",a.csp_nonce);this.experiments=new QI(a.fexp,a.fflags);this.forcedExperiments=a.forced_experiments||null;try{var b=window.document.location.toString()}catch(f){b=""}this.wb=b;var c=this.P=(this.A=Uka.test(this.wb))?nN("",a.loaderUrl):this.wb,d=this.experiments.g("disable_trusted_ad_domains_player_check");b=Vka.test(c);if(d=!d)d=(new RegExp("^(https?:)?//([a-z0-9-]{1,63}\\.)*("+
Wka.join("|").replace(/\./g,".")+")(:[0-9]+)?([/?#]|$)","i")).test(c);!b&&d&&(c=Error("isTrustedLoader("+c+") behavior is not consistent"),.01>Math.random()&&g.rE(c,"WARNING"));this.Fb=b||d;this.Gh=vN.test(this.P);this.ha=(this.VS=(this.Vj=kN(!1,a.ssl_stream))||kN(!1,a.ssl))?"https":"http";this.baseYtUrl=hL(a.BASE_YT_URL)||hL(this.wb)||this.ha+"://www.youtube.com/";"adunit"==a.el?this.g=this.Gh?"adunit":"embedded":"embedded"==a.el||this.Fb?this.g=lN(this.g,a.el,Xka):a.el&&(this.g="embedded");uG();
b=null;c=a.ps;d=g.gb(wN,c);!c||d&&!this.Fb||(b=c);this.o=b;this.J=(this.zc=g.gb(wN,this.o))&&"play"!=this.o&&"jamboard"!=this.o;this.Fh=!this.J;b={};this.B=(b.c=a.c||"web",b.cver=a.cver||"html5",b.cplayer="UNIPLAYER",b);this.Aa=!(!SJ().defaultPlaybackRate||g.Pe&&!OE("chrome")||xN||yN||OE("android")||OE("silk"));this.isMobile=kN("blazer"==this.o,a.is_html5_mobile_device);this.lq=this.experiments.g("uniplayer_dbp")&&this.isMobile&&(!(this.A&&this.experiments.g("disallow_background_check_for_embed"))||
PE()&&ki(54));this.X="3"==this.C||this.isMobile||kN(!1,a.use_media_volume);this.K=UJ();this.eN=zN;this.xf=(g.AN(this)||"TV_UNPLUGGED_CAST"==this.B.c)&&this.experiments.g("use_rawcc_captions");this.F=kN(!1,a.is_dni);this.rb=nN("#cc181e",a.dni_color);this.Qc=kN("adunit"!=this.g&&"detailpage"!=this.g&&!this.zc,this.experiments.g("embed_show_infobar")&&!this.F||a.showinfo);this.Tj=kN(!1,a.playsinline);b=this.isMobile&&SM&&2.3>=KM;c=this.isMobile;c=BN(this)||!b&&kN(c,a.use_native_controls)?"3":"1";this.C=
"0"!=a.controls?c:"0";this.useTabletControls=this.isMobile;this.color=lN("red",a.color,Yka);this.jH="3"==this.C||kN(!1,a.modestbranding)&&"red"==this.color;this.ka=0==this.P.indexOf(this.baseYtUrl);this.Xj=(c=!this.ka&&"detailpage"!=this.g&&!this.J&&!this.zc)&&(this.F||!this.jH)&&"1"==this.C;this.Yj="embedded"==this.g&&c&&!this.Qc&&!this.Xj;this.FS=this.xI=b;this.yf=!yN||g.kc(601)?!0:!1;this.wp=this.A||!1;this.pa="detailpage"==this.g?"":(this.P||a.post_message_origin||"").substring(0,128);this.widgetReferrer=
nN("",a.widget_referrer);this.Ab=(!this.Fb||kN(!0,a.enablecastapi))&&"1"==this.C&&!this.isMobile&&("detailpage"==this.g||"embedded"==this.g||"profilepage"==this.g);this.ua=kN(!1,a.enableunplugged);this.Vl=(this.da=kN(!1,a.autoplay))||"detailpage"==this.g;this.kg=!this.isMobile&&!WE()&&!OE("nintendo 3ds")||kN(!1,a.autoplayoverride);b=!1;this.K&&!BN(this)&&this.experiments.g("mweb_muted_autoplay")?pi&&g.kc(602)?b=!0:g.mn&&g.UE&&(b=g.mn&&OE("version/")?57<=(0,window.parseFloat)(/Chrome\/(\d+)/.exec(g.Hb)[1]):
53<=(0,window.parseFloat)(/Chrome\/(\d+)/.exec(g.Hb)[1])):b=!1;this.wf=b;b=("detailpage"==this.g||"adunit"==this.g)&&("blazer"==this.o||"mweb-polymer"==this.o);this.Hb=!kN(!0,a.fs);this.sa=!this.Hb&&(b||uF());this.Sl=this.experiments.g("uniplayer_block_pip")&&PE()&&ki(58);this.Rc=kN(!1,a.force_rel)||kN(!this.zc,a.rel);this.TR="adunit"!=this.g;this.Sa="profilepage"==this.g;this.Pc="blazer"==this.o||"mweb-polymer"==this.o;switch(this.o){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 "picasaweb":b="pw";break;default:b="yt"}this.Ua=b;this.Ec=nN("",a.authuser);this.iS=(this.experiments.g("embed_show_watchlater_login")&&this.A||!!this.Ec)&&kN(!this.J,a.showwatchlater);this.Lg=kN(!1,a.disablekb);this.Mg=nN("",a.ecver);this.up=this.experiments.g("mweb_autonav")&&CN();this.loop=kN(!1,a.loop);this.pageId=nN("",a.pageid);this.zJ=pN(XI,a.vq);this.AJ=nN("",a.playerapiid);this.SR=kN(!0,a.canplaylive);
this.Wl=kN(this.zc,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.Qd(b,c))):b=null;this.ak=b;this.mute=(this.Fb||this.Gh)&&kN(!1,a.mute);this.storeUserVolume=!this.mute&&kN("0"!=this.C,a.store_user_volume);this.Pg="3"==this.C?3:lN(void 0,a.iv_load_policy,DN);this.Rg=nN("",a.cc_lang_pref);b=lN(2,a.cc_load_policy,DN);"3"==this.C&&2==b&&(b=3);this.Sg=b;
this.va=void 0==a.content_v?void 0:a.content_v.toString();this.Mp=void 0==a.framer?void 0:a.framer.toString();this.Ja=nN("en_US",a.hl);this.region=nN("US",a.cr);this.hostLanguage=nN("en",a.host_language);this.xc=kN(!1,a.privembed);this.fa=!this.xc&&this.experiments.g("player_interaction_logging");this.Hh="";this.Gb=new window.Set;this.D=kN(!0,a.deviceHasDisplay);this.wg=mN(this.wg,a.ismb);this.fg(a);this.O=a;this.G=new dN;g.L(this,this.G);this.ba=this.isMobile;b=a;b.innertube_api_key&&b.innertube_api_version&&
this.B.c&&b.innertube_context_client_version&&this.hostLanguage&&this.region||this.experiments.g("disable_innertube_config_reporting")||g.rE(Error("MISSING_INNERTUBE_CONFIG,api_key="+b.innertube_api_key+",api_version="+b.innertube_api_version+",interface="+this.B.c+",context_client_version="+b.innertube_context_client_version+",host_language="+this.hostLanguage+",region="+this.region));var c=nN("",b.apiary_host),d=nN("",b.apiary_host_firstparty),e=nN("",b.xhr_apiary_host);this.experiments.g("disable_html5_apiary_url_validation")||
(iL(c)||(c=""),iL(d)||(d=""),iL(e)||(e=""));this.Ng={apiaryHost:c,Gp:d,gapiHintOverride:kN(!1,b.gapi_hint_override),gapiHintParams:nN("",b.gapi_hint_params),innertubeApiKey:nN("",b.innertube_api_key),innertubeApiVersion:nN("",b.innertube_api_version),tr:this.B.c,innertubeContextClientVersion:nN("",b.innertube_context_client_version),vr:this.hostLanguage,ur:this.region,xn:"",xhrApiaryHost:e};this.Wj=void 0!=window.WebKitPlaybackTargetAvailabilityEvent;this.M=new Eka(this.experiments,this.D,EN(this)||
RE()||SE()||/STEAK/.test(this.B.cmodel));b=new Bka;g.AK(this)&&(b.B=!0,b.F=.1);this.experiments.g("html5_ewma_bandwidth_estimator")&&(b.B=!0);this.experiments.g("html5_pctile_on_tv")&&(b.B=!1);this.experiments.g("html5_disable_aux_bandwidth_estimator")&&(b.O=!1);this.experiments.g("html5_use_long_term_bandwidth_estimator")&&(b.J=!0,b.G=this.experiments.o("html5_long_term_bandwidth_window_size")||b.G);this.experiments.g("html5_elbow_tracking_tweaks")&&(b.K=!0,b.g=2048);this.wg&&(b.D=this.wg/8);b.C=
this.experiments.o("html5_bandwidth_multisample_width")||b.C;b.o=this.experiments.o("html5_bandwidth_window_size")||b.o;b.M=this.experiments.g("html5_stall_pctile");this.schedule=new Dka(b);this.enableSafetyMode=kN(!1,a.enable_safety_mode);this.Jg=FN(this)&&"blazer"!=this.o&&"mweb-polymer"!=this.o;this.La=kN(!1,a.send_visitor_id_header)||this.experiments.B;this.Qg=!1;this.Uj=XI};
HN=function(a,b){a.Kg=b.get("d",a.Kg);a.jd=b.get("f",a.jd)};
IN=function(a,b,c){return b.vh&&(a.experiments.g("legacy_autoplay_flag")||"detailpage"!=a.g||c||b.zn)};
JN=function(a){return a.experiments.g("king_crimson_player_redux")&&!a.zc&&PE()&&ki(55)&&!a.isAd()};
KN=function(a){var b=g.ug(a.baseYtUrl);(a=g.vg(a.baseYtUrl))&&(b+=":"+a);return"www.youtube-nocookie.com"==b?"www.youtube.com":b};
LN=function(a){return"gaming"==a.o?"gaming.youtube.com":KN(a)};
MN=function(a,b,c){return a.ha+"://i1.ytimg.com/vi/"+b+"/"+(c||"hqdefault.jpg")};
g.NN=function(a,b){return a.baseYtUrl+"timedtext_video?ref=player&v="+b.videoId};
ON=function(a){return"detailpage"==a.g&&"gaming"!=a.o&&!g.AN(a)};
BN=function(a){return yN&&!a.Tj||WE()||OE("nintendo 3ds")?!0:!1};
g.AK=function(a){return VE()||"TV"==a.B.cplatform};
g.PN=function(){return 1<window.devicePixelRatio?window.devicePixelRatio:1};
EN=function(a){return"web"==a.B.c.toLowerCase().substr(0,3)};
g.AN=function(a){return"WEB_UNPLUGGED"==a.B.c};
CN=function(){g.v("yt.mobile.blazer.blazer_config.isMobilePersistentUniplayer");return!1};
g.QN=function(a){return a.D&&g.UE&&!OM&&"3"!==a.C?g.mn?a.experiments.g("spherical_on_android_iframe")&&a.A&&g.kc(51):!0:!1};
g.RN=function(a){return a.D&&g.nM&&!OM&&"3"!==a.C?g.mn?a.experiments.g("spherical_on_android_iframe")&&a.A&&g.kc(48):g.kc(38):!1};
TN=function(a){return g.QN(a)||g.RN(a)||(a.D&&g.Pe&&!OM&&"3"!==a.C?g.mn?a.experiments.g("spherical_on_android_iframe")&&a.A&&g.kc(37):g.kc(27):!1)||a.D&&g.SN&&!XE()&&g.kc(11)||a.D&&mi&&a.experiments.g("safari_enable_spherical")};
Zka=function(a){return a.experiments.g("disable_html5_ambisonic_audio")||!(TN(a)||a.experiments.g("html5_enable_spherical")||a.experiments.g("html5_enable_spherical3d"))||"embedded"==a.g&&SM||g.nM&&(!g.kc(47)||!g.kc(52)&&g.kc(51))?!1:window.AudioContext||window.webkitAudioContext?!0:!1};
FN=function(a){return"detailpage"==a.g||"detailpage"==a.ca};
g.UN=function(a,b,c){this.errorCode=a;this.g=b;this.details=c||{}};
VN=function(a){var b;for(b in a){var c=(""+a[b]).replace(/[:,]/g,"_");var d=(d?d+";":"")+b+"."+c}return d||""};
WN=function(a){if(a){var b=[],c;for(c in a)$ka.has(c)||b.push(c);b.length&&.01>Math.random()&&g.rE(Error("Unknown house brand player vars: "+b),"WARNING")}};
ala=function(a,b){this.o=a;this.g=b;this.A=0};
bla=function(a){for(var b=[],c=[],d=0,e=a.g.length;d<e;++d){var f=a.g[d];f.bitrate<=a.A?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)};
dla=function(a,b,c,d,e,f,k,l,m){this.itag=a;this.url=b;this.bw=c;this.width=d;this.height=e;this.bitrate=k;this.fps=f;this.audioItag=l||null;this.g=m||""};
ela=function(a){for(var b={},c=0,d=a.length;c<d;++c){var e=a[c];var f=e.type.match(/codecs="([^"]*)"/);e=new dla(e.itag,e.url,f?f[1]:"",+e.width,+e.height,+e.fps,+e.bitrate,e.audio_itag,e.drm_families);b[e.itag]=e}return b};
XN=function(a,b){this.ze=a;this.B=b;this.o=null};
fla=function(a,b,c){if(!OM&&!TE())return IM();b=ela(b);if(!b)return IM();var d={},d=(d.fairplay="https://youtube.com/api/drm/fps?ek=uninitialized",d),e=[],f=[],k=[],l;for(l in b){var m=b[l];if(m.width){var n=b[m.audioItag];if(n){e.push(m);var q="fairplay"==m.g?d:null;k.push(YN([n],[m],m.itag,m.width,m.height,m.fps,void 0,void 0,q))}}else f.push(m)}q=k.reduce(function(a,b){return!!b.ze.ld&&a},!0)?d:null;
k.push(YN(f,e,"93",0,0,0,"auto",c,q));return MM(a.M,k,JN(a))};
YN=function(a,b,c,d,e,f,k,l,m){var n=new CI;d=new FI(d,e,f,null,void 0,k);c=new JI(c,"application/x-mpegURL",n,d,void 0,m);a=new ala(a,b);a.A=l?l:1369843;return new XN(c,a)};
ZN=function(a,b){this.ze=a;this.o=b};
$N=function(a,b,c){var d=[];b=g.ka(b);for(var e=b.next();!e.done;e=b.next()){var f=e.value;if(f.url){e=new lL(f.url);f.sig?e.set("signature",f.sig):f.s&&e.set("signature",qE(f.s));for(var k in c)e.set(k,c[k]);f=PI(f.type,f.quality,f.itag,f.width,f.height,!!f.isAccelerated,!!f.isAcceleratedUiEnabled);d.push(new ZN(f,e))}}return MM(a.M,d,JN(a))};
aO=function(a){g.RF.call(this);this.B=new zD;this.o=null;this.G={};this.F=a||""};
dO=function(a,b,c){for(c=bO(a,c);0<=c;){var d=a.g[c];if(d.Rb(Math.floor(b/(d.columns*d.rows)))&&(d=cO(d,b)))return d;c--}return cO(a.g[0],b)};
fO=function(a,b,c){c=bO(a,c);for(var d,e;0<=c;c--)if(d=a.g[c],e=Math.floor(b/(d.columns*d.rows)),!d.Rb(e)){d=a;var f=c,k=f+"-"+e;d.G[k]||(d.G[k]=!0,yD(d.B,f,{ky:f,Hz:e}))}eO(a)};
eO=function(a){if(!a.o&&!a.B.isEmpty()){var b=a.B.remove(),c=new window.Image;a.F&&(c.crossOrigin=a.F);c.src=gO(a.g[b.ky],b.Hz);c.onload=(0,g.y)(a.K,a,b.ky,b.Hz);a.o=c}};
hO=function(a,b,c,d){this.Vc={};this.M=a;this.J=b;a=c.split("#");this.F=(0,window.parseInt)(a[0],10);this.D=(0,window.parseInt)(a[1],10);this.o=(0,window.parseInt)(a[2],10);this.columns=(0,window.parseInt)(a[3],10);this.rows=(0,window.parseInt)(a[4],10);this.B=(0,window.parseInt)(a[5],10);this.A=a[6];this.C=a[7];this.K=d};
gO=function(a,b){var c=a.J,c=c.replace("$N",a.A),c=c.replace("$L",a.M.toString()),c=c.replace("$M",b.toString());a.C&&(c=g.Cg(c,{sigh:a.C}));return kL(c)};
cO=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),k=a.iu()+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:gO(a,c),IG:f,columns:l,Oc:e,rows:d,Iz:a.F*l,Gz:a.D*d}};
iO=function(a,b,c){aO.call(this,c);this.g=this.A(a,b);this.C={};1<this.g.length&&this.g[0].isDefault()&&this.g.splice(0,1)};
bO=function(a,b){var c=a.C[b];if(c)return c;for(var c=a.g.length,d=0;d<c;d++)if(a.g[d].Eb()>=b)return a.C[b]=d;a.C[b]=c-1;return c-1};
jO=function(a,b,c,d){c=c.split("#");c=[c[1],c[2],0,c[3],c[4],-1,c[0],""].join("#");hO.call(this,a,b,c,0);this.g=null;this.G=d?3:0};
kO=function(a,b){this.M=b;iO.call(this,a,0)};
lO=function(a,b){this.ze=a;this.o=b};
gla=function(a){var b=[];(0,g.G)(a,function(a){if(a.url){var c=PI(a.type,"medium","0");b.push(new lO(c,a.url))}});
return b};
mO=function(a){a=a.url;return 0==a.indexOf("//")?"https:"+a:a};
pO=function(a,b){var c={},d;for(d in nO){var e=b?b+d:d,e=a[e+"_webp"]||a[e];g.oO.test(e)&&(c[nO[d]]=e)}return c};
ila=function(a){var b={};if(!a||!a.thumbnails)return b;var c=null;a=g.ka(a.thumbnails);for(var d=a.next();!d.done;d=a.next()){var d=d.value,e=mO(d);if(g.oO.test(e)){var f=hla[d.width];f&&(b[f]=e);if(!c||c.width<d.width)c=d}}c&&1280<c.width&&(b["maxresdefault.jpg"]=mO(c));return b};
g.qO=function(a,b){this.version=a;this.args=b};
g.rO=function(a,b){this.topic=a;this.g=b};
g.tO=function(a,b){var c=sO();c&&c.publish.call(c,a.toString(),a,b)};
g.xO=function(a,b,c){var d=sO();if(!d)return 0;var e=d.subscribe(a.toString(),function(d,k){var f=g.v("ytPubsub2Pubsub2SkipSubKey");f&&f==e||(f=function(){if(uO[e])try{if(k&&a instanceof g.rO&&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.Dh){var q=new f;f.Dh=q.version}var r=f.Dh}catch(w){}if(!r||l.version!=r)throw Error("yt.pubsub2.Data.deserialize(): serializedData version is incompatible.");try{k=window.Reflect.construct(f,
g.qb(l.args))}catch(w){throw w.message="yt.pubsub2.Data.deserialize(): "+w.message,w;}}catch(w){throw w.message="yt.pubsub2.pubsub2 cross-binary conversion error for "+a.toString()+": "+w.message,w;}b.call(c||window,k)}catch(w){g.rE(w)}},vO[a.toString()]?g.BG()?g.CG(f,1,void 0):g.yE(f,0):f())});
uO[e]=!0;wO[a.toString()]||(wO[a.toString()]=[]);wO[a.toString()].push(e);return e};
g.yO=function(a){var b=sO();b&&(g.oa(a)&&(a=[a]),(0,g.G)(a,function(a){b.unsubscribeByKey(a);delete uO[a]}))};
sO=function(){return g.v("ytPubsub2Pubsub2Instance")};
AO=function(a,b){var c=g.xO(zO,function(d){a.apply(b,arguments);g.yO(c)},b);
return c};
BO=function(a,b){g.qO.call(this,1,arguments)};
CO=function(a,b){g.qO.call(this,1,arguments);this.g=a};
EO=function(a){this.g=a||window;this.J=this.A=0;if(this.g.performance&&this.g.performance.timing&&this.g.performance.getEntriesByType){a=g.be(this.g||window);this.G=new g.Mg(0,0,a.width,a.height);var b;a=[];for(var c=this.g.document.getElementsByTagName("*"),d=0,e=c.length;d<e;d++){var f=c[d];if("IMG"==f.tagName||"IFRAME"==f.tagName)if(b=DO(this,f,f.src)){if("IFRAME"==f.tagName){try{var k=(new EO(f.contentWindow)).A}catch(l){k=0}0<k&&(b.timing=k)}a.push(b)}(b=this.g.getComputedStyle(f)["background-image"])&&
(b=EO.g.exec(b))&&1<b.length&&(b=DO(this,f,b[1]))&&a.push(b)}this.o=a;this.C=this.g.performance.getEntriesByType("resource");this.F=this.g.performance.getEntriesByType("mark");k={};a=0;for(c=this.C.length;a<c;a++)d=this.C[a],k[d.name]=d.responseEnd;a=0;for(c=this.F.length;a<c;a++)d=this.F[a],"mark_iframe_loaded: "==d.name.slice(0,20)&&(k[d.name.slice(20)]=d.startTime);a=0;for(c=this.o.length;a<c;a++)d=this.o[a],d.timing||(d.timing=k[d.url]||0);this.D=jla(this);this.B=kla(this);f=k=0;if(this.B.length)for(c=
a=0,d=this.B.length;c<d;c++)e=this.B[c],f=e.timing-f,0<f&&1>a&&(k+=(1-a)*f),f=e.timing,a=e.progress;this.A=Math.round(k||this.D);this.J=f}};
DO=function(a,b,c){return c&&b.getBoundingClientRect&&(b=b.getBoundingClientRect(),b=new g.Mg(b.left,b.top,b.width,b.height),g.Pg(b,a.G))?new FO(b,c):null};
jla=function(a){var b=a.g,c=b.performance.timing.navigationStart;if("msFirstPaint"in b.performance.timing)var d=b.performance.timing.g-c;else if("chrome"in b&&"loadTimes"in b.chrome){var e=b.chrome.loadTimes(),f=e.firstPaintTime;if(0<f){var k=e.startLoadTime;"requestTime"in e&&(k=e.requestTime);f>=k&&(d=1E3*(f-k))}}if(void 0===d||0>d||12E4<d){d=b.performance.timing.responseStart-c;for(var l={},b=b.document.getElementsByTagName("head")[0].children,c=0,e=b.length;c<e;c++)f=b[c],"SCRIPT"==f.tagName&&
f.src&&!f.async?l[f.src]=!0:"LINK"==f.tagName&&"stylesheet"==f.rel&&f.href&&(l[f.href]=!0);a.C.some(function(a){if(!l[a.name]||"script"!=a.initiatorType&&"link"!=a.initiatorType)return!0;a=a.responseEnd;if(void 0===d||a>d)d=a})}return Math.max(d,0)||0};
kla=function(a){var b={0:0},c=0;var d=a.D;for(var e=0,f=a.o.length;e<f;e++){var k=a.o[e],l=d;k.timing>d&&(l=k.timing);b[l]||(b[l]=0);k=g.Qg(k.region).Sc();b[l]+=k;c+=k}e=g.Qg(a.G).Sc();0<e&&(e=.1*Math.max(e-c,0),d in b||(b[d]=0),b[d]+=e,c+=e);a=[];if(c){for(var m in b)d=new GO((0,window.parseFloat)(m),b[m]),a.push(d);a.sort(function(a,b){return a.timing-b.timing});
e=b=0;for(f=a.length;e<f;e++)d=a[e],b+=d.Sc,d.progress=b/c}return a};
FO=function(a,b){this.region=a;this.url=b};
GO=function(a,b){this.Sc=b;this.timing=a};
JO=function(a){HO(a);lla();IO(!1,a);a||(g.PD("TIMING_ACTION")&&g.OD("PREVIOUS_ACTION",g.PD("TIMING_ACTION")),g.OD("TIMING_ACTION",""))};
XO=function(a,b){a:if(!KO(a)){if(!g.$E("send_empty_timing")){var c=g.PD("CSI_SERVICE_NAME","youtube");if(!g.PD((a||"")+"TIMING_ACTION",void 0)||!c)break a}g.LO("aa",void 0,a);g.MO("ap",1,a);g.MO("yt_fss","c",a);if(g.$E("enable_csi_abandonment_info")&&!a&&!NO("yt_lt")){var c=g.PD("TIMING_INFO",{}),d;for(d in c)g.MO(d,c[d]);g.MO("is_nav",1);(d=g.QG())&&g.MO("csn",d);(d=g.PD("PREVIOUS_ACTION",void 0))&&g.MO("pa",d);c=OO();c.p=g.PD("CLIENT_PROTOCOL")||"unknown";c.t=g.PD("CLIENT_TRANSPORT")||"unknown";
PO.now&&PO.timing?(d=PO.timing.navigationStart+PO.now(),d=Math.round((0,g.F)()-d)):d=null;null!=d&&g.MO("yt_hrd",d);window.navigator&&window.navigator.sendBeacon&&g.MO("ba",1);g.MO("yt_vis",QO());if("cold"==c.yt_lt){d=PO.timing||{};g.$E("cold_load_nav_start_web")&&d.navigationStart&&(g.LO("srt",d.responseStart),1!=c.prerender&&RO("n",d.navigationStart));b:if(d.msFirstPaint)c=Math.max(0,d.msFirstPaint);else{if(c=window.chrome)if(c=c.loadTimes,g.va(c)){var c=c(),e=1E3*Math.min(c.requestTime||window.Infinity,
c.startLoadTime||window.Infinity),e=window.Infinity===e?0:d.navigationStart-e,c=Math.max(0,Math.round(1E3*c.firstPaintTime+e)||0);break b}c=0}0<c&&g.LO("fpt",c);g.LO("nreqs",d.requestStart,void 0);g.LO("nress",d.responseStart,void 0);g.LO("nrese",d.responseEnd,void 0);0<d.redirectEnd-d.redirectStart&&(g.LO("nrs",d.redirectStart,void 0),g.LO("nre",d.redirectEnd,void 0));0<d.domainLookupEnd-d.domainLookupStart&&(g.LO("ndnss",d.domainLookupStart,void 0),g.LO("ndnse",d.domainLookupEnd,void 0));0<d.connectEnd-
d.connectStart&&(g.LO("ntcps",d.connectStart,void 0),g.LO("ntcpe",d.connectEnd,void 0));d.secureConnectionStart>=d.navigationStart&&0<d.connectEnd-d.secureConnectionStart&&(g.LO("nstcps",d.secureConnectionStart,void 0),g.LO("ntcpe",d.connectEnd,void 0));PO.getEntriesByType&&mla();d=g.PD("SPEEDINDEX_FOR_ACTIONS",void 0);c=g.PD("TIMING_ACTION",void 0);d&&-1<d.indexOf(c)&&(d=(0,g.sG)(),c=new EO,e=(0,g.sG)(),0<c.A&&(g.MO("si",c.A),g.LO("vsc",SO(c.J)),g.LO("sics",d),g.LO("sice",e)));d=[];if(window.document.querySelector&&
PO&&PO.getEntriesByName)for(var f in TO)c=TO[f],nla(f,c)&&d.push(c);d.length&&g.MO("rc",d.join(","))}g.$E("csi_on_gel")&&(f={},f.actionType=ola[g.PD("TIMING_ACTION",void 0)]||"LATENCY_ACTION_UNKNOWN",d=UO(),GG(f,d))}VO(a)}JO(a);g.OD(a+"TIMING_AFT_KEYS",b);g.OD(a+"TIMING_ACTION",a);RO("c",void 0,a);g.qa("ytglobal.timing"+(a||"")+"ready_",!0,void 0);WO(a)};
g.LO=function(a,b,c){if(!b&&"_"!=a[0]){var d=a;PO.mark&&(g.Fa(d,"mark_")||(d="mark_"+d),c&&(d+=" ("+c+")"),PO.mark(d))}var d=YO(c),e=b||(0,g.sG)();d[a]&&(d["_"+a]=d["_"+a]||[d[a]],d["_"+a].push(e));d[a]=e;ZO(c)["tick_"+a]=b;c||b||(0,g.sG)();g.$E("csi_on_gel")?(d=UO(c),"_start"==a?FG("baseline_"+d)||g.wG("latencyActionBaselined",{clientActionNonce:d},g.AG,b):FG("tick_"+a+"_"+d)||g.wG("latencyActionTicked",{tickName:a,clientActionNonce:d},g.AG,b),a=!0):a=!1;a||WO(c)};
$O=function(a){var b="above_the_fold";PO&&PO.measure&&(g.Fa(b,"measure_")||(b="measure_"+b),a?PO.measure(b,a):PO.measure(b))};
RO=function(a,b,c){g.MO("yt_sts",a,c);g.LO("_start",b,c)};
aP=function(a,b){var c=YO(b);return a in c};
g.MO=function(a,b,c){var d=OO(c)[a]=b;ZO(c)["info_"+a]=d;if(g.$E("csi_on_gel"))if(a in bP){b={};a=bP[a].split(".");g.gb(pla,a)&&(d=!!d);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=UO(c);GG(b,c)}else g.gb(qla,a)||g.rE(Error("Unknown label "+a+" logged with GEL CSI."))};
NO=function(a){var b=OO(void 0);return a in b};
cP=function(a){var b=YO(a);if(b.aft)return b.aft;a=g.PD((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};
WO=function(a){if(!KO(a)){var b=g.PD((a||"")+"TIMING_ACTION",void 0),c=YO(a);if(g.v("ytglobal.timing"+(a||"")+"ready_")&&b&&c._start&&(b=cP(a)))if(g.$E("tighter_critical_section")&&!dP&&(g.tO(rla,new BO(Math.round(b-c._start),a)),dP=!0),a)VO(a);else{var b=!0,d=g.PD("TIMING_WAIT",[]);if(d.length)for(var e=0,f=d.length;e<f;++e)if(!(d[e]in c)){b=!1;break}b&&VO(a)}}};
QO=function(){switch(tF("visibilityState",window.document)){case "hidden":return 0;case "visible":return 1;case "prerender":return 2;case "unloaded":return 3}return-1};
VO=function(a){if(!g.$E("csi_on_gel")){var b=YO(a),c=OO(a),d=b._start,e;for(e in b)if(g.Fa(e,"_")&&g.ta(b[e])){var f=e.slice(1);if(f in sla){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.v("ytglobal.timingReportbuilder_")){if(k=k(b,c,a))eP(k,f),JO(a)}else{var l=g.PD("CSI_SERVICE_NAME","youtube");k={v:2,s:l,action:g.PD((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.v("ytplayer.config.assets.js");(n=PO.getEntriesByName?PO.getEntriesByName(n)[0]:null)?c.h5jse=Math.round(c.h5jse-n.responseEnd):delete c.h5jse}b.aft=cP(a);tla(a)&&"youtube"==l&&(g.MO("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=(0,g.sG)();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.v("ytdebug.logTiming"))&&b(k,c);eP(k,f,a);g.tO(zO,new CO(c.aft+(m||0),a))}}};
SO=function(a){return Math.round(PO.timing.navigationStart+a)};
mla=function(){var a=window.location.protocol,b=PO.getEntriesByType("resource"),c=g.ab(b,function(b){return 0==b.name.indexOf(a+"//fonts.googleapis.com/css?family=")}),b=(0,g.se)(b,function(b){return 0==b.name.indexOf(a+"//fonts.gstatic.com/s/")}),b=Md(b,function(a,b){return b.duration>a.duration?b:a},{duration:0});
c&&0<c.startTime&&0<c.responseEnd&&(g.LO("wfcs",SO(c.startTime)),g.LO("wfce",SO(c.responseEnd)));b&&0<b.startTime&&0<b.responseEnd&&(g.LO("wffs",SO(b.startTime)),g.LO("wffe",SO(b.responseEnd)))};
nla=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=PO.getEntriesByName(d))&&c[0]&&(c=c[0],d=window.performance.timing.navigationStart,g.LO("rsf_"+b,d+Math.round(c.fetchStart)),g.LO("rse_"+b,d+Math.round(c.responseEnd)),void 0!==c.transferSize&&(NO("rc")||g.MO("rc",""),0===c.transferSize))?!0:!1:!1};
eP=function(a,b,c){if(g.$E("debug_csi_data")){var d=g.v("yt.timing.csiData");d||(d=[],g.qa("yt.timing.csiData",d,void 0));d.push({page:window.location.href,time:new Date,args:a})}var d="",e;for(e in a)d+="&"+e+"="+a[e];a="/csi_204?"+d.substring(1);if(window.navigator&&window.navigator.sendBeacon&&b)try{window.navigator&&window.navigator.sendBeacon&&window.navigator.sendBeacon(a,"")||g.YE(a,void 0)}catch(f){g.YE(a,void 0)}else g.YE(a);IO(!0,c)};
UO=function(a){var b=fP(a).nonce;b||(b=uN(),fP(a).nonce=b);return b};
YO=function(a){return fP(a).tick};
OO=function(a){return fP(a).info};
ZO=function(a){a=fP(a);"gel"in a||(a.gel={});return a.gel};
fP=function(a){return g.v("ytcsi."+(a||"")+"data_")||HO(a)};
HO=function(a){var b={tick:{},info:{}};g.qa("ytcsi."+(a||"")+"data_",b,void 0);return b};
KO=function(a){return!!g.v("yt.timing."+(a||"")+"pingSent_")};
IO=function(a,b){g.qa("yt.timing."+(b||"")+"pingSent_",a,void 0)};
tla=function(a){var b=YO(a),c=b.pbr,d=b.vc,b=b.pbs;return c&&d&&b&&c<d&&d<b&&1==OO(a).yt_pvis};
ula=function(a){var b=null,c=a.text;a.bold&&(b=g.he("B",null,b||c));a.italics&&(b=g.he("I",null,b||c));a.strikethrough&&(b=g.he("STRIKE",null,b||c));a.navigationEndpoint&&a.navigationEndpoint.urlEndpoint&&(a=a.navigationEndpoint.urlEndpoint,b=g.he("A",{href:a.url},b||c),"TARGET_NEW_WINDOW"==a.target&&(b.target="_blank"));return b||g.he("SPAN",null,c)};
g.gP=function(a){if(a.simpleText)return a.simpleText;if(a.simpleText)a=window.document.createTextNode(a.simpleText);else{var b=[];if(a.runs)for(var c=0;c<a.runs.length;c++){var d=a.runs[c];d.text&&b.push(ula(d))}a=1==b.length?b[0]:g.he("SPAN",null,b)}b=g.je("div");b.appendChild(a);return b.textContent};
g.hP=function(a){g.RF.call(this);this.adModule=!1;this.adaptiveFormats="";this.ld=null;this.allowEmbed=!0;this.mg=this.backgroundable=!1;this.Af="";this.im=this.gm=this.fm=!1;this.relativeLoudness=0;this.uc=1;this.watchAjaxToken=this.Bh=null;this.author="";this.Df=0;this.uw=this.sm=!1;this.clientScreenNonce=this.clientPlaybackNonce=this.ht=this.channelPath=this.tm="";this.contentCheckOk=!1;this.Ef=0;this.enableCardioBeforePlayback=this.enableCardio=!1;this.endSeconds=0;this.zx=this.lh=!1;this.wg=
this.jj=0;this.zn=!1;this.QA=0;this.isMdxPlayback=this.isLowLatencyLiveStream=this.isLiveDefaultBroadcast=this.isLiveDestination=this.Da=this.Mk=this.isListed=this.xr=this.vh=!1;this.mdxControlMode=null;this.isPharma=!1;this.yi=0;this.Qs="";this.Br=this.fy=this.Mf=!1;this.liveChunkReadahead=window.NaN;this.liveStartWalltime=0;this.Gr=null;this.Ok=this.lengthSeconds=0;this.playerParams=null;this.paygated=!1;this.profilePicture=void 0;this.racyCheckOk=!1;this.rootVeType=0;this.autonavState=1;this.xl=
XI;this.qg=!1;this.Wx=this.startSeconds=0;this.spacecastModule=!1;this.Xl=null;this.Bl=XI;this.Lj=null;this.hlsFormats=this.Ch=this.title="";this.Kb=null;this.No="vvt";this.requiresPurchase=!1;this.clipStart=0;this.clipEnd=window.Infinity;this.Yn=this.kj=this.lk=!1;this.Cq="";this.ke=this.Ss=this.Zw=0;this.ay=!1;this.Mj={};this.Qq=!1;this.captionTracks=[];this.gk=[];this.Qp=0;this.captionTranslationLanguages=[];this.hk=!1;this.Im=new qI("und",new mI("Default","und",!0));this.Er=0;this.Gj=this.jB=
!1;this.Nf=null;this.Kh=[];this.xx=!1;this.Ci={};this.vB=new g.rt(this.wB,5E3,this);g.L(this,this.vB);this.Bq=0;this.ax=!0;this.Fi=this.Pb=null;this.eh=!1;this.ie=[];this.ac={};this.keywords={};this.ue={};this.setData(a)};
lP=function(a,b,c){b=b||{};var d={};if(!c)d=a.Pb||{};else if(b.player_response)for(d=g.kg(b.player_response)||{},a.Pb||(a.Pb={}),c=0;c<iP.length;c++){var e=iP[c];e in d&&(a.Pb[e]=d[e])}(c=jP(d))?(a.Af=kL(c.invideoUrl),a.fm=!!c.adsOnly,a.gm=!!c.allowInPlaceSwitch):(b.iv_invideo_url&&(a.Af=kL(b.iv_invideo_url)),a.fm=kN(a.fm,b.iv_ads_only),a.gm=kN(a.gm,b.iv_allow_in_place_switch));b.cta_conversion_urls&&(a.Bv=b.cta_conversion_urls);a.isPharma=kN(a.isPharma,b.is_pharma);a.author=nN(a.author,b.author);
a.sm=kN(a.sm,b.cc_asr);c=b.ttsurl;kP.test(c)?a.tm=c:c&&(c=jL(c),kP.test(c)&&(a.tm=c));d.captions&&d.captions.playerCaptionsTracklistRenderer?vla(a,d.captions.playerCaptionsTracklistRenderer):(a.Qq=void 0!=b.caption_tracks,b.caption_tracks&&b.caption_audio_tracks&&(wla(a,b.caption_tracks),xla(a,b.caption_audio_tracks),b.default_audio_track_index&&(a.Qp=(0,window.parseInt)(b.default_audio_track_index,10)||0),b.caption_translation_languages&&yla(a,b.caption_translation_languages)),a.hk=kN(a.hk,b.cc_contribute));
a.channelPath=nN(a.channelPath,b.channel_path);a.ht=nN(a.ht,b.short_subscriber_count_text);a.clientPlaybackNonce=nN(a.clientPlaybackNonce,b.cpn);a.subscribed=kN(a.subscribed,b.subscribed);a.Yf=mN(a.Yf,b.view_count);a.shortViewCount=nN(a.shortViewCount,b.short_view_count_text);a.title=nN(a.title,b.title);a.ypcPreview=nN(a.ypcPreview,b.ypc_preview);a.ypcOrigin=nN(a.ypcOrigin,b.ypc_origin);a.paygated=kN(a.paygated,b.paygated);a.requiresPurchase=kN(a.requiresPurchase,b.requires_purchase);b.keywords&&
(a.keywords=zla(b.keywords));b.rvs&&(a.cg=HE(b.rvs));a.contentCheckOk=kN(a.contentCheckOk,"1"==b.cco);a.racyCheckOk=kN(a.racyCheckOk,"1"==b.rco);a.oauthToken=nN(a.oauthToken,b.oauth_token);a.visitorData=nN(a.visitorData,b.visitor_data);b.session_data&&(a.Sd=g.zE(b.session_data));b.endscreen_autoplay_session_data&&(a.Dw=g.zE(b.endscreen_autoplay_session_data));a.Cw=nN(a.Cw,b.endscreen_ad_tracking_data);a.rC=kN(a.rC,b.wait_for_vast_info_cards_xml);a.Uh=nN(a.Uh,b.wpid);a.xt=nN(a.xt,b.tracking_list||
b.tv_list);(0,g.G)(Ala,function(a){a in b&&(this.ac[a]=b[a])},a)};
mP=function(a){return!(!a.ub||!a.ub.videoInfos.length)};
Bla=function(a){return a.o&&yK('video/webm; codecs="vp9"')&&Lb(a.g,function(a){return KI(a.info)})};
nP=function(a){return!NM()||a.uw?!0:!1};
g.oP=function(a){if(!a.Fi)return null;var b=g.t(a.Fi.latitudeE7)&&g.t(a.Fi.longitudeE7)?a.Fi.latitudeE7+","+a.Fi.longitudeE7:",";return b+=","+(a.Fi.clientPermissionState||0)};
pP=function(a){a.na()||(a.lh=!1,a.Y("dataloaded",a.ac))};
qP=function(a,b,c){c&&a.xa&&a.xa.dispose();a.xa=b;g.L(a,b);(a.xg()||a.fh()||a.ii()||a.If())&&a.ie.push("webgl");a.xa.isLive||(a.Da=!1)};
g.sP=function(a,b){if(a.na())return IM();a.ub=null;a.Ag=null;a.rl=null;var c=b.B,d=c.c,c=c.cmodel;a.eh=/^rq/.test(a.clientPlaybackNonce)||/^r/.test(a.clientPlaybackNonce)&&/UNPLUGGED/.test(d)||/FUGU/.test(c);nP(a)||b.zr||!a.spacecastAdaptiveFormats?d=IM():(qP(a,WL(rP(a,a.spacecastAdaptiveFormats),a.ld,a.lengthSeconds,void 0),!0),d=WM(b.M,a.xa,a.Nf,!0,!1).then(a.Zs,void 0,a).then(a.Jw,void 0,a));return d.then(void 0,(0,g.y)(a.PJ,a,b)).then(void 0,(0,g.y)(a.MJ,a,b)).then(void 0,(0,g.y)(a.NJ,a,b)).then(void 0,
(0,g.y)(a.QJ,a,b)).then(void 0,(0,g.y)(a.OJ,a,b))};
tP=function(a,b){var c={cpn:a.clientPlaybackNonce,c:b.B.c,cver:b.B.cver};a.pl&&(c.ptk=a.pl,c.oid=a.SA,c.ptchn=a.RA,c.pltype=a.TA);return c};
g.uP=function(a){return a.Oa&&a.Oa.ld||null};
vP=function(a){var b=a.Pb&&a.Pb.paidContentOverlay&&a.Pb.paidContentOverlay.paidContentOverlayRenderer||null;return b&&b.text?g.gP(b.text):a.ER};
wP=function(a){var b=a.Pb&&a.Pb.paidContentOverlay&&a.Pb.paidContentOverlay.paidContentOverlayRenderer||null;return b&&b.durationMs?(a=b.durationMs,g.u(a)?Wa(a):a):a.QA};
g.xP=function(a,b){return g.u(a.keywords[b])?a.keywords[b]:null};
yP=function(a){if(!a.Kb)if(a.Pb&&a.Pb.storyboards){var b=a.Pb.storyboards;b.playerStoryboardSpecRenderer?a.Kb=new iO(b.playerStoryboardSpecRenderer.spec,a.lengthSeconds):b.playerLiveStoryboardSpecRenderer&&a.xa&&(a.Kb=new kO(b.playerLiveStoryboardSpecRenderer.spec,a.xa))}else a.ac.storyboard_spec?a.Kb=new iO(a.ac.storyboard_spec,a.lengthSeconds):a.ac.live_storyboard_spec&&a.xa&&(a.Kb=new kO(a.ac.live_storyboard_spec,a.xa));return a.Kb};
zP=function(a,b){if(a.xa&&a.Da){var c=a.xa.g[a.Oa.id];if(!c||!c.index)return null;var d=c.index.Zg(b),c=c.index.kf(d);return{sequence:d,elapsed:Math.floor(1E3*(b-c))}}return null};
AP=function(a){return!!(a.we||a.adaptiveFormats||a.Ch||a.Lj||a.spacecastFormatMap||a.spacecastAdaptiveFormats||a.hlsvp)};
BP=function(a){var b=g.gb(a.ie,"ypc");a.ypcPreview&&(b=!1);return a.Ke()&&!a.lh&&(AP(a)||g.gb(a.ie,"fresca")||g.gb(a.ie,"heartbeat")||b)};
rP=function(a,b,c){b=HE(b);var d={};c&&(0,g.G)(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.G)(b,function(a){var b=d[a.itag];b&&(a.width=b.width,a.height=b.height)},a);
return b};
Cla=function(a){a=HE(a);var b={};(0,g.G)(a,function(a){var c=a.family;a=a.url;c&&a&&(b[c]=a)});
return b};
wla=function(a,b){for(var c=HE(b),d=0;d<c.length;d++){var e=c[d],f=e.u;kP.test(f)&&a.captionTracks.push(new g.oI({is_translateable:kN(!1,e.t),languageCode:e.lc,languageName:e.n,url:f,vss_id:e.v,kind:e.k,format:3}))}};
xla=function(a,b){var c=HE(b);a.gk=[];(0,g.G)(c,function(a){var b={};g.t(a.aid)&&(b.audioTrackId=a.aid);a.i&&(b.captionTrackIndices=(0,g.H)(a.i.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=Dla[(0,window.parseInt)(a.v,10)]||"UNKNOWN";this.gk.push(b)},a)};
yla=function(a,b){for(var c=HE(b),d=0;d<c.length;d++){var e=c[d];a.captionTranslationLanguages.push(new g.nI({languageCode:e.lc,languageName:e.n}))}};
vla=function(a,b){a.Qq=!0;a.captionTracks=[];b.captionTracks&&(0,g.G)(b.captionTracks,function(a){var b=a.baseUrl;kP.test(b)&&(a=new g.oI({is_translateable:!!a.isTranslatable,languageCode:a.languageCode,languageName:a.name&&g.gP(a.name),url:b,vss_id:a.vssId,kind:a.kind,format:3}),this.captionTracks.push(a))},a);
a.gk=b.audioTracks||[];a.Qp=b.defaultAudioTrackIndex||0;a.captionTranslationLanguages=b.translationLanguages?(0,g.H)(b.translationLanguages,function(a){return new g.nI({languageCode:a.languageCode,languageName:g.gP(a.languageName)})}):[];
a.hk=!!b.contribute&&!!b.contribute.captionsMetadataRenderer};
g.CP=function(a,b){return!!a.ac[b]};
g.DP=function(a){return a.Da&&!a.mg};
EP=function(a){return a.Da&&a.mg};
FP=function(a){var b=g.Xb(a.ac);!a.Da&&0<a.startSeconds&&(b.start=a.startSeconds);return b};
Ela=function(a){a.ub=a.ub.o};
g.GP=function(a){var b=a.ac.iv_endscreen_url;b||(b=a.Pb&&a.Pb.endscreen&&a.Pb.endscreen.endscreenUrlRenderer&&a.Pb.endscreen.endscreenUrlRenderer.url);return b};
jP=function(a){return a&&a.annotations&&(a=a.annotations[0],a.playerAnnotationsUrlsRenderer)?a.playerAnnotationsUrlsRenderer:null};
zla=function(a){var b={};(0,g.G)(a.split(","),function(a){var c=a.split("=");2==c.length?b[c[0]]=c[1]:b[a]=!0});
return b};
HP=function(a,b,c,d){this.videoData=a;this.g=b;this.reason=c;this.o=d};
KP=function(a){this.g=a;this.o=0;this.C=-1;this.M=this.g.Bd().volume;this.J=this.g.Bd().muted;this.D=window.NaN;this.B=0;this.sb=[];this.A=IP(this.g);this.K=g.JP(this.g);this.F=this.G=0};
g.LP=function(a){a.A.startTime=a.B;a.A.endTime=a.o;a.sb.length&&g.Za(a.sb).isEmpty()?a.sb[a.sb.length-1]=a.A:a.sb.length&&a.A.isEmpty()||a.sb.push(a.A);var b=g.JP(a.g),c=a.g.g.experiments.o("html5_min_vss_watchtime_to_cut_secs_redux");if(c){var d=b-a.K;var e=a.A;e=(e.endTime-e.startTime)/e.playbackRate;var f=a.g.g.experiments.o("html5_max_vss_watchtime_ratio");e>c&&e>d*f&&(c=g.Xb(a.A),a.A.endTime=a.A.startTime+.001,c.startTime=c.endTime-.001,a.sb.push(c))}a.G+=a.o-a.B;a.A=IP(a.g);a.B=a.o;a.K=b};
MP=function(a){return a.G+a.g.o()-a.B};
NP=function(a){a.sb.length&&a.o==a.B||g.LP(a);var b=a.sb;a.sb=[];return b};
OP=function(a,b,c){c-=a.D;return b==a.o&&.5<c};
Fla=function(a,b){if(!a.g.g.experiments.g("segment_volume_reporting"))return!1;var c=a.g.Bd().volume,d=c!=a.M,e=a.g.Bd().muted;if(e!=a.J)return a.J=e,!0;!d||0<=a.C||(a.M=c,a.C=b);c=b-a.C;return 0<=a.C&&2<c?(a.C=-1,!0):!1};
PP=function(a,b){this.g=b;this.A=!1;this.videoData=a};
QP=function(a,b,c){PP.call(this,b,c);this.B=a};
g.RP=function(a){return(a=Gla[a.toString()])?a:"YTP_ERROR_LICENSE"};
Hla=function(){this.C=this.g=window.NaN;this.A=this.B=this.o=!1};
SP=function(a,b,c,d){if(d=1<d)a.B=!0;if(a.o)b!=a.g&&(a.o=!1);else if(0<b&&a.g==b)return c-a.C>(d||!a.B?1500:400);a.g=b;a.C=c;return!1};
g.TP=function(a,b){this.o=a||64;this.g=b||null};
UP=function(a,b){return SP(a,b.getCurrentTime(),(0,g.sG)(),jK(b))};
VP=function(a,b,c){return b==a.o&&c==a.g||b&128&&!c||b&2&&b&16?a:new g.TP(b,c)};
WP=function(a,b){return VP(a,a.o|b)};
XP=function(a,b){return VP(a,a.o&~b)};
YP=function(a){return VP(a,(a.o|4)&-9)};
g.V=function(a,b){return!!(a.o&b)};
g.ZP=function(a,b){return b.o==a.o&&b.g==a.g};
$P=function(a){return g.V(a,8)&&!g.V(a,2)};
aQ=function(a){return g.V(a,64)&&!g.V(a,8)&&!g.V(a,4)};
g.bQ=function(a){return g.V(a,1)&&!g.V(a,2)};
cQ=function(a){return g.V(a,128)?-1:g.V(a,2)?0:g.V(a,1)&&!g.V(a,32)?3:g.V(a,64)?-1:g.V(a,8)?1:g.V(a,4)?2:-1};
g.dQ=function(a,b){this.state=a;this.g=b};
eQ=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};
fQ=function(){this.endTime=this.startTime=-1;this.Rp="-";this.playbackRate=1;this.visibilityState=0;this.Jp="";this.volume=this.connectionType=this.Qg=0;this.muted=!1};
Ila=function(a,b,c,d,e,f,k,l,m,n,q,r,w){this.videoData=a;this.g=b;this.Bd=c;this.C=d;this.o=e;this.D=f;this.O=k;this.K=l;this.M=m;this.F=n;this.B=q;this.G=r||function(){};
this.A=null;this.J=w||function(){}};
g.JP=function(a){return gQ(a)()};
gQ=function(a){if(!a.A){var b=g.Aa(function(a){var b=(0,g.sG)();a&&631152E6>=b&&(g.rE(Error("invalid yt.global.now value: "+b)),b=(new Date).getTime()+2);return b},a.g.experiments.g("html5_validate_yt_now"));
a.A=g.Aa(function(a){return Math.round(b()-a)/1E3},b());
a.J()}return a.A};
hQ=function(a){var b=a.Bd();g.Ba(b,a.videoData.Bd());return b};
jQ=function(){return window.navigator.connection&&window.navigator.connection.type?iQ[window.navigator.connection.type]||iQ.other:0};
IP=function(a){var b=new fQ;b.Rp=a.Bd().cc||"-";b.playbackRate=a.M();var c=a.B();0!=c&&(b.visibilityState=c);a.g.Qg&&(b.Qg=1);c=a.K();c.Uc&&c.Uc.id&&"und"!=c.Uc.id&&(b.Jp=c.Uc.id);b.connectionType=jQ();b.volume=a.Bd().volume;b.muted=a.Bd().muted;return b};
lQ=function(a){g.K.call(this);var b=this;this.g=a;this.o={};this.sa=1;this.ba=window.NaN;this.A="N";this.D=this.da=this.B=0;this.M=this.ga="";this.ca=0;this.ha=-1;this.K=this.O=0;this.X=this.J=!1;this.ka=[];this.F=null;this.G=!1;(a=window.navigator.getBattery?window.navigator.getBattery():null)&&a.then&&a.then(function(a){b.F=a});
this.P=(this.g.g.experiments.o("html5_disable_qoe_percentage")||0)>Math.floor(100*Math.random());this.g.g.experiments.g("html5_qoe_unstarted_in_initialization")&&g.kQ(this,0,"vps",["N"])};
g.kQ=function(a,b,c,d){var e=a.o[c];e||(e=[],a.o[c]=e);e.push(b.toFixed(3)+":"+d.join(":"))};
nQ=function(a,b){b=0<=b?b:g.JP(a.g);var c=a.g.D();if(!(0,window.isNaN)(a.fa)&&!(0,window.isNaN)(c.B)){var d=c.B-a.fa;0<d&&g.kQ(a,b,"bwm",[d,(c.F-a.ua).toFixed(3)])}a.fa=c.B;a.ua=c.F;(0,window.isNaN)(c.o)||g.kQ(a,b,"bwe",[c.o.toFixed(0)]);a.g.videoData.eh&&c.g&&mQ(a,"bwinfo",c.g);(0,window.isNaN)(c.A)||(d=c.A,c.C<d&&(d=c.C),g.kQ(a,b,"bh",[d.toFixed(3)]));a.F&&g.kQ(a,b,"bat",[a.F.level,a.F.charging?"1":"0"]);d=a.g.B();a.ha!=d&&(g.kQ(a,b,"vis",[d]),a.ha=d);g.kQ(a,b,"cmt",[a.g.o().toFixed(3)]);(d=jQ())&&
d!=a.ca&&(g.kQ(a,b,"conn",[d]),a.ca=d);0<c.D&&g.kQ(a,b,"e2el",[c.D,c.J.toFixed(3),c.G.toFixed(3),c.M.toFixed(3),c.K.toFixed(3)]);null!==a.g.videoData.Xl&&(a.o.acc=[a.g.videoData.Xl.join(":")])};
oQ=function(a){var b={event:"streamingstats"};if(a.g.videoData.Oa){b.fmt=II(a.g.videoData.Oa);var c=a.g.videoData.yd;c&&II(c)!=b.fmt&&(b.afmt=II(c))}b.cpn=a.g.videoData.clientPlaybackNonce;b.ei=a.g.videoData.eventId;b.el=a.g.g.g;b.docid=a.g.videoData.videoId;b.ns=a.g.g.Ua;b.fexp=a.g.g.experiments.experimentIds.toString();b.cl=a.g.g.Pa;a.g.videoData.adFormat&&(b.adformat=a.g.videoData.adFormat);a.g.videoData.Da&&(b.live=a.g.videoData.mg?"dvr":"live");b.seq=a.sa++;return b};
pQ=function(a,b){a.g.g.experiments.g("html5_ajax_qoe_retry")?g.Vf(cF(b,{},3,500),g.x):g.YE(b)};
qQ=function(a){var b=0,c;for(c in a.o)b+=c.length+Md(a.o[c],function(a,b){return a+b.length},0);
1E3<b&&(new g.rt(a.C,0,a)).start()};
rQ=function(a,b,c,d){var e=a.g.o();c=[c,e.toFixed(3)];d&&c.push(d);g.kQ(a,b,"error",c)};
sQ=function(a,b){g.kQ(a,g.JP(a.g),"lra",[b]);mQ(a,"live-readahead-seconds",b.toString())};
Kla=function(a){if(g.V(a,128))return"ER";if(g.V(a,512))return"SU";if(g.V(a,16)||g.V(a,32))return"S";var b=Jla[cQ(a)];"B"==b&&g.V(a,4)&&(b="PB");return b};
tQ=function(a,b){var c=a.o.cat||[];c.push(b);a.o.cat=c};
mQ=function(a,b,c,d){var e=a.o.ctmp||[],f=-1!=a.ka.indexOf(b);f||a.ka.push(b);d&&f||(d||(c="t."+g.JP(a.g).toFixed(3)+";"+c),e.push(b+":"+c),a.o.ctmp=e,qQ(a))};
uQ=function(a,b,c,d){this.K=b;this.segments=[];this.experimentIds=[];this.Mf=this.La=this.M=this.sa=this.Aa=this.ba=this.autoplay=this.autonav=!1;this.ga="yt";this.Bh=this.o=this.D=null;this.ca=!1;this.C="watchtime"==c;this.B="playback"==c;this.J="delayplay"==c;this.G="atr"==c;this.Ja="engage"==c;this.Gj=!1;this.Wa=this.G?"/api/stats/"+c:"//"+b.bk+"/api/stats/"+c;d&&(this.M=d.fs,d.rtn&&(this.o=d.rtn),this.C?(this.Hb=d.state,0<d.rti&&(this.D=d.rti)):(this.Pa=d.mos,this.Ua=d.volume,d.at&&(this.adType=
d.at)),d.autonav&&(this.autonav=d.autonav),d.inview&&(this.ka=d.inview),d.size&&(this.ha=d.size));b.experiments.g("legacy_autoplay_flag")&&(this.autoplay=b.da);this.wb=b.va;this.Ab=g.Xb(b.B);this.ba=b.F;this.va=b.pa;this.Gb=b.g;this.experimentIds=b.experiments.experimentIds;this.pa=b.Ja;this.ga=b.Ua;this.region=b.region;this.Yb=b.Pa?b.Pa.toString():"";this.userAge=b.userAge;this.userGender=b.userGender;this.rb=g.vG();this.Gj=b.La;this.F=a.oauthToken||this.F;this.adFormat=a.adFormat;this.autoplay=
IN(this.K,a,this.M);this.autonav=a.zn||this.autonav;this.Bh=a.Bh;this.clientPlaybackNonce=a.clientPlaybackNonce;this.X=a.vssCredentialsToken;this.ua=a.No;this.mdxEnvironment=a.mdxEnvironment;this.Df=a.Df;this.Ef=a.Ef;a.Oa&&(this.bb=II(a.Oa),a.yd&&II(a.yd)!=this.bb&&(this.P=II(a.yd)));this.Mf=a.Mf;this.jj=a.jj;a.Da&&(this.Sa=a.mg?"dvr":"live");this.Ok=a.Ok;this.uh=a.uh;this.playbackId=a.playbackId;this.eventId=a.eventId;this.playlistId=a.xt||a.playlistId;this.jo=a.jo;this.ag=a.ag;this.pf=a.pf;this.uo=
a.uo;this.subscribed=a.subscribed;this.videoId=a.videoId;this.videoMetadata=a.videoMetadata;this.visitorData=a.visitorData;this.osid=a.osid;this.Hs=a.Hs;this.referrer=a.referrer;this.wh=a.Os||a.wh;this.Pj=a.Pj;this.Ao=a.Ao;this.Uh=a.Uh};
vQ=function(a,b){if(a.G)return null;var c=a.F&&EE(),d=a.Gj&&!!a.visitorData;if(!c&&!d)return null;var e={};c&&(e.Authorization="Bearer "+a.F);d&&(e["X-Goog-Visitor-Id"]=a.visitorData);return{headers:e,withCredentials:!0,Fd:b}};
Lla=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.Cg(a,b);c?g.LE(a,c):g.YE(a)};
xQ=function(a){var b={ns:a.ga,el:a.Gb,cpn:a.clientPlaybackNonce,docid:a.videoId,ver:2,referrer:a.referrer,cmt:a.g(a.Df),plid:a.playbackId,ei:a.eventId,fmt:a.bb,fs:a.M?"1":"0",rt:a.g(a.jb),of:a.Hs,adformat:a.adFormat,content_v:a.wb,euri:a.va,lact:a.rb,live:a.Sa,cl:a.Yb,mos:a.Pa,osid:a.osid,state:a.Hb,vm:a.videoMetadata,volume:a.Ua};a.subscribed&&(b.subscribed="1");g.Ba(b,a.Ab);a.autonav&&(b.autonav="1");if(a.K.experiments.g("legacy_autoplay_flag"))a.autoplay&&(b.autoplay="1");else if(a.autoplay||a.Mf)b.autoplay=
"1";a.ba&&(b.dni="1");a.sa&&(b["final"]="1");a.Mf&&(b.splay="1");a.Ef&&(b.delay=a.Ef);a.pa&&(b.hl=a.pa);a.region&&(b.cr=a.region);g.t(a.userAge)&&a.userGender&&(b.uga=a.userGender+a.userAge);g.t(a.fa)&&(b.len=a.g(a.fa));!a.C&&0<a.experimentIds.length&&(b.fexp=a.experimentIds.toString());null!=a.o&&(b.rtn=a.g(a.o));a.wh&&(b.feature=a.wh);a.playlistId&&(b.list=a.playlistId);a.ag&&(b.ctrl=a.ag);a.pf&&(b.ytr=a.pf);a.uo&&(b.ssrt="1");a.P&&(b.afmt=a.P);a.da&&(b.lio=a.g(a.da));a.C?(b.idpj=a.jj,b.ldpj=a.Ok,
null!=a.D&&(b.rti=a.g(a.D))):g.t(a.adType)&&(b.at=a.adType);(a.B||a.J)&&a.Bh&&(b.tst=a.Bh);a.ha&&(a.B||a.J)&&(b.size=a.ha);null!=a.ka&&(a.B||a.J)&&(b.inview=a.g(a.ka));a.C&&(a.K.experiments.g("segment_volume_reporting")&&(b.volume=wQ(a,(0,g.H)(a.segments,function(a){return a.volume})),b.muted=wQ(a,(0,g.H)(a.segments,function(a){return a.muted}))),b.st=wQ(a,(0,g.H)(a.segments,function(a){return a.startTime})),b.et=wQ(a,(0,g.H)(a.segments,function(a){return a.endTime})),(0,g.Bk)(a.segments,function(a){return 1!=
a.playbackRate})&&(b.rate=wQ(a,(0,g.H)(a.segments,function(a){return a.playbackRate}))));
(0,g.Bk)(a.segments,function(a){return 0!=a.visibilityState})&&(b.vis=wQ(a,(0,g.H)(a.segments,function(a){return a.visibilityState})));
(0,g.Bk)(a.segments,function(a){return 0!=a.connectionType})&&(b.conn=wQ(a,(0,g.H)(a.segments,function(a){return a.connectionType})));
(0,g.Bk)(a.segments,function(a){return 0!=a.Qg})&&(b.blo=wQ(a,(0,g.H)(a.segments,function(a){return a.Qg})));
(0,g.Bk)(a.segments,function(a){return"-"!=a.Rp})&&(b.cc=(0,g.H)(a.segments,function(a){return a.Rp}).join(","));
if((0,g.Bk)(a.segments,function(a){return!!a.Jp})){var c="au";
a.B&&(c="au_d");b[c]=(0,g.H)(a.segments,function(a){return a.Jp}).join(",")}EE()&&a.X&&(b.ctt=a.X,b.cttype=a.ua,b.mdx_environment=a.mdxEnvironment);
a.Ja&&(b.etype=g.t(a.A)?a.A:0);a.Pj&&(b.uoo=a.Pj);a.Ao&&(b.upt=a.Ao);a.Uh&&(b.wpid=a.Uh);return b};
wQ=function(a,b){return(0,g.H)(b,a.g).join(",")};
yQ=function(a){g.K.call(this);this.g=a;this.o=new lQ(a);g.L(this,this.o);this.A=new KP(a);this.D="paused";this.F=window.NaN;this.J=[10,10,10,40];this.K=this.G=0;this.P=this.X=this.O=this.M=this.B=!1;this.C=window.NaN;this.ba=new QP(this.A,this.g.videoData,this.g.g)};
zQ=function(a,b,c){var d=g.JP(a.g);c=(0,window.isNaN)(c)?d:c;c=Math.ceil(c);var e=a.J[a.G];a.G+1<a.J.length&&a.G++;c+=e;d=1E3*(c-d);a.F=g.yE((0,g.y)(a.pO,a,c,b),d);return c};
AQ=function(a,b){var c=hQ(a.g);g.Ba(c,{state:a.D});c=new uQ(a.g.videoData,a.g.g,b,c);c.Df=a.g.o();a.g.videoData.Da||(c.fa=a.g.C());if(a.g.videoData.xa){var d=fM(a.g.videoData.xa,c.Df);d&&(c.da=d-c.Df)}c.jb=g.JP(a.g);c.segments=[IP(a.g)];return c};
BQ=function(a,b){var c=AQ(a,"watchtime");c.segments=b;c.Df=a.A.o;return c};
CQ=function(a){a.A.update();return BQ(a,NP(a.A))};
FQ=function(a){a.g.videoData.remarketingUrl&&!a.X&&(DQ(a,a.g.videoData.remarketingUrl),a.X=!0);a.g.videoData.ppvRemarketingUrl&&!a.P&&(DQ(a,a.g.videoData.ppvRemarketingUrl),a.P=!0);EQ(a)};
GQ=function(a,b){if(!a.na()){g.V(b.state,2)?(a.D="paused",0<eQ(b,2)&&a.B&&CQ(a).send()):g.V(b.state,8)?(a.D="playing",a.B&&(0,window.isNaN)(a.F)&&zQ(a,!1)):a.D="paused";var c=a.o,d=b.state,e=g.JP(c.g),f=Kla(b.state);if(f!=c.A){if(!(e<c.B)){if("PL"==c.A)c.K+=e-c.B;else if("B"==c.A&&c.J&&(c.J=!1,c.O+=e-c.B,!c.X&&10<=c.O&&180>=c.K)){c.g.G();if(!c.na()&&!c.P){var k=oQ(c);k.qoealert="1";k=g.Cg(c.g.g.Zj,k);pQ(c,k)}c.X=!0}"B"!=f||"PL"!=c.A&&"PB"!=c.A||(c.J=!0);c.B=e}"B"==f&&"PL"==c.A||c.g.videoData.eh?nQ(c,
e):g.kQ(c,e,"cmt",[c.g.o().toFixed(3)]);g.kQ(c,e,"vps",[f]);c.A=f;c.B=e}g.V(d,128)&&rQ(c,e,d.g.errorCode,d.g.errorDetail);(g.V(d,2)||g.V(d,128))&&c.C(e);g.V(d,8)&&c.g.videoData.Yn&&!c.G&&(c.o.user_intent=[g.JP(c.g).toString()],c.G=!0);qQ(c);a.C&&g.V(b.state,128)&&(a.po("error-100"),g.wE(a.C))}};
HQ=function(a){a.C=g.xE((0,g.y)(a.po,a,"heartbeat"),3E4)};
EQ=function(a){a.g.videoData.ue.eventLabel=a.g.g.g;a.g.videoData.ue.playerStyle=a.g.g.o;a.g.videoData.bo&&(a.g.videoData.ue.feature="pyv");a.g.videoData.ue.vid=a.g.videoData.videoId;a.g.videoData.ue.isAd=!("adunit"!=a.g.g.g&&!a.g.videoData.bo)};
DQ=function(a,b,c){a.g.g.La&&a.g.videoData.visitorData&&FE(b)?g.LE(b,{Fd:c,headers:{"X-Goog-Visitor-Id":a.g.videoData.visitorData}}):g.YE(b,c)};
IQ=function(a,b){hJ.call(this,a,b);this.g=!1;U(this,"getPresentingPlayerType",this.Xa);U(this,"addInfoCardXml",this.xK);U(this,"cueVideoByPlayerVars",this.zK);U(this,"loadVideoByPlayerVars",this.Jn);U(this,"preloadVideoByPlayerVars",this.Ry);U(this,"seekBy",this.fe);U(this,"updatePlaylist",this.UK);U(this,"updateLastActiveTime",this.TK);U(this,"updateVideoData",this.VK);U(this,"getPlayerResponse",this.getPlayerResponse);U(this,"getStoryboardFormat",this.getStoryboardFormat);U(this,"getProgressState",
this.oh);U(this,"getHousebrandProperties",this.CK);U(this,"setPlaybackQualityRange",this.Sy);U(this,"getCurrentPlaylistSequence",this.BK);U(this,"canPlayType",this.yK);U(this,"sendVideoStatsEngageEvent",this.ni);U(this,"setCardsVisible",this.Wk);U(this,"handleGlobalKeyDown",this.FK);U(this,"getAudioTrack",this.nh);U(this,"setAudioTrack",this.Wr);U(this,"getAvailableAudioTracks",this.Ur);U(this,"getMaxPlaybackQuality",this.DK);U(this,"setSizeStyle",this.OK);U(this,"forceFrescaUpdate",this.AK);U(this,
"setAutonav",this.My);U(this,"setAutonavState",this.Ny);U(this,"showControls",this.RK);U(this,"hideControls",this.GK);U(this,"getVisibilityState",this.In);U(this,"shouldSendVisibilityState",this.QK);U(this,"getVideoContentRect",this.Qy);U(this,"setSafetyMode",this.NK);U(this,"setFauxFullscreen",this.KK);U(this,"cancelPlayback",this.Pp);U(this,"getVideoStats",this.bx);U(this,"updateSubtitlesUserSettings",this.Kn);U(this,"getSubtitlesUserSettings",this.mi);U(this,"resetSubtitlesUserSettings",this.Vr);
U(this,"isFastLoad",this.HK);U(this,"isPeggedToLive",this.isPeggedToLive);U(this,"setMinimized",this.MK);U(this,"getSphericalConfig",this.EK);U(this,"setSphericalConfig",this.PK);U(this,"setBlackout",this.JK);U(this,"onAdUxClicked",this.IK);U(this,"toggleSettingsMenu",this.SK);U(this,"getPlayerSize",this.Py);U(this,"setGlobalCrop",this.LK);U(this,"wakeUpControls",this.hT);U(this,"isMutedByMutedAutoplay",this.vJ)};
JQ=function(a,b){IQ.call(this,a,b)};
KQ=function(a,b,c){this.Z=a;this.g=void 0===b?"":b;this.A=c||null;this.B=!1};
LQ=function(a,b){var c=a.Z;if(c.Pc&&("detailpage"==c.g||"leanback"==c.g||"embedded"==c.g&&(c.da&&c.kg||c.experiments.g("html5_playlist_preload")))&&!a.B){a.B=!0;a.Z.experiments.g("html5_skip_default_csi_configs")||(g.PD("TIMING_ACTION")||g.OD("TIMING_ACTION",a.Z.csiPageType),a.Z.jb&&g.OD("CSI_SERVICE_NAME",a.Z.jb));if(a.A){var c=a.A.ca;for(d in c)g.LO(d,c[d],a.g);var d=a.A.ba;for(var e in d)g.MO(e,d[e],a.g);e=a.A;e.ca={};e.ba={}}g.MO("yt_pvis",QO(),a.g);g.MO("yt_pt","html5",a.g);b&&!aP("pbs",a.g)&&
a.o("pbs",b);e=a.Z;("detailpage"!=e.g||"blazer"==e.o)&&aP("_start",a.g)&&VO(a.g)}};
MQ=function(a,b){this.type=a||"";this.id=b||""};
g.NQ=function(a){return new MQ(a.substr(0,2),a.substr(2))};
g.PQ=function(a){g.RF.call(this);this.startSeconds=0;this.PB=!1;this.kc=0;this.title="";this.kh=0;this.Ma=[];this.Of=this.Vc=!1;this.Sd=this.Dw=this.sl=null;this.views=0;this.qG=0!=a.fetch;this.Rd=[];this.kc=Math.max(0,a.index||0);this.loop=!!a.loop;this.startSeconds=a.startSeconds||0;this.aN="1"==a.mob;this.title=a.playlist_title||"";this.description=a.playlist_description||"";this.author=a.author||a.playlist_author||"";this.Mj={};a.video_id&&(this.Ma[this.kc]=a);a.api&&("string"==typeof a.api&&
16==a.api.length?a.list="PL"+a.api:a.playlist=a.api);this.Cn=0;if(a.list)switch(a.listType){case "user_uploads":Mla(this,a.list);break;case "user_favorites":Nla(this,a.list);break;case "search":Ola(this,a.list);break;default:a.playlist_length&&(this.kh=a.playlist_length),this.listId=g.NQ(a.list),a.video?(this.Ma=a.video.slice(0),this.Vc=!0):Pla(this)}else if(a.playlist){var b=a.playlist.toString().split(",");0<this.kc&&(this.Ma=[]);(0,g.G)(b,function(a){a&&this.Ma.push({video_id:a})},this);
this.kh=this.Ma.length;b=(0,g.H)(this.Ma,function(a){return a.video_id});
OQ(this,"/list_ajax?style=json&action_get_templist=1",{video_ids:b.join(",")});this.Vc=!0}this.setShuffle(!!a.shuffle);a.suggestedQuality&&(this.quality=a.suggestedQuality);this.Mj=pO(a,"playlist_");this.XB=a.thumbnail_ids?a.thumbnail_ids.split(","):[]};
QQ=function(a){return!!(a.playlist||a.list||a.api)};
RQ=function(a){var b=a.kc+1;return b>=a.kh?0:b};
SQ=function(a){var b=a.kc-1;return 0>b?a.kh-1:b};
TQ=function(a,b){a.kc=g.Id(b,0,a.kh-1);a.startSeconds=0};
Mla=function(a,b){a.Of||(a.listId=new MQ("UU","PLAYER_"+b),OQ(a,"/list_ajax?style=json&action_get_user_uploads_by_user=1",{username:b}))};
Nla=function(a,b){a.Of||(a.listId=new MQ("FL","PLAYER_"+b),OQ(a,"/list_ajax?style=json&action_get_favorited_by_user=1",{username:b}))};
Ola=function(a,b){if(!a.Of){a.listId=new MQ("SR",b);var c={search_query:b};a.aN&&(c.mob="1");OQ(a,"/search_ajax?style=json&embeddable=1",c)}};
Pla=function(a){if(!a.Of){var b={list:a.listId},c=a.jc();c&&c.videoId&&(b.v=c.videoId);OQ(a,"/list_ajax?style=json&action_get_list=1",b)}};
OQ=function(a,b,c){a.qG&&g.LE(g.Cg(b,c),{format:"JSON",Ob:(0,g.y)(function(a,b){UQ(this,b)},a),
onError:(0,g.y)(function(){this.Y("error")},a)})};
UQ=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;b.loop&&(a.loop=b.loop);var c=a.jc();a.Ma=[];(0,g.G)(b.video,function(a){a&&(a.video_id=a.encrypted_id,this.Ma.push(a))},a);
a.kh=a.Ma.length;b.index?a.kc=b.index:a.sk(c);a.setShuffle(!1);a.Of=!1;a.Vc=!0;a.Cn++;a.sl&&a.sl()}};
g.WQ=function(a){g.K.call(this);this.wa={};this.Ja={};this.element=VQ(this,a)};
VQ=function(a,b,c){c=c||"svg"==b.H;var d=c?window.document.createElementNS("http://www.w3.org/2000/svg",b.H):g.je(b.H);var e=b.N;if(e){if(e=XQ(a,d,"class",e))YQ(a,d,"class",e),a.wa[e]=d}else{var f=b.ea;if(f){for(e=0;e<f.length;e++)a.wa[f[e]]=d;YQ(a,d,"class",f.join(" "))}}if(f=b.L)for(var k=0,e=0;e<f.length;e++){var l=f[e];if(l)if(g.u(l))l=XQ(a,d,"child",l),null!=l&&d.appendChild(g.ke(l));else if(l.element)d.appendChild(l.element);else{var m=l,l=VQ(a,m,c);d.appendChild(l);m.Qa&&(m=g.WQ.g(),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),pe(d,l,k++))}}if(b=b.T)for(var n in b)c=b[n],null!=c&&YQ(a,d,n,g.u(c)?XQ(a,d,n,c):c);return d};
XQ=function(a,b,c,d){return"{{"==d.substr(0,2)?(a.Ja[d]=[b,c],null):d};
YQ=function(a,b,c,d){if("child"==c){g.ne(b);if(!g.ta(d)||g.wa(d)&&g.u(d.H))d=[d];c=[];for(var e=0;e<d.length;e++){var f=d[e];if(null!=f)if(!f.nodeType||1!=f.nodeType&&3!=f.nodeType)if(g.wa(f)&&g.u(f.H))c.push(VQ(a,f));else if(f.element)c.push(f.element);else if(g.u(f)&&-1!=f.indexOf("\n"))for(var f=f.split("\n"),k=0;k<f.length;k++)0<k&&c.push(g.je("BR")),c.push(g.ke(f[k]));else c.push(g.ke(f));else c.push(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())};
g.ZQ=function(a,b){a&&(a.style.display=b)};
$Q=function(a,b){var c=tF("requestAnimationFrame",window);return g.yE(function(){c?c.call(window,a):a()},b||0)};
aR=function(a){if(window.document.createRange){var b=window.document.createRange();b.selectNodeContents(a);window.getSelection().removeAllRanges();window.getSelection().addRange(b)}};
g.W=function(a){g.WQ.call(this,a);this.g=!0;this.ca=[]};
bR=function(a,b,c){this.audio=a;this.video=b;this.reason=c};
cR=function(a){this.g=window.Float32Array?new window.Float32Array(a):Array(a);this.o=a-1};
dR=function(a,b){a.o=(a.o+1)%a.g.length;a.g[a.o]=b};
Qla=function(){this.C=new cR(50);this.o=null;this.D=this.B=0;this.g=[];this.A=null};
Rla=function(a,b){0!=a.g.length&&(b.D=a.g.length,b.J=Md(a.g,function(a,b){return a+b},0),b.G=g.Za(a.g),b.M=Math.min.apply(Math,a.g),b.K=Math.max.apply(Math,a.g),a.g=[])};
Sla=function(a){var b=(0,window.isNaN)(a.liveChunkReadahead)?3:a.liveChunkReadahead;a.Mk&&b--;a.isLowLatencyLiveStream||b++;a.xa&&oka(a.xa)&&(b+=2);this.g=Math.max(0,b);this.o=[];this.A=0;this.B=a};
eR=function(a){return(a.B.xa?eM(a.B.xa)||5:5)*a.g};
gR=function(a){this.g=new fR(0,0,null);this.B=8;this.C=[];this.A=this.D=window.NaN;this.J=this.o=this.G=0;this.F=window.NaN;this.K=0;this.M=void 0===a?!0:a};
hR=function(a){return{startTime:a.F/a.o,duration:a.J/a.o}};
iR=function(a){return!(0,window.isNaN)(a.A)&&a.o?a.A/a.o:a.K};
jR=function(a,b,c){var d=b.getUint32(c);b=b.getUint32(c+4);a.g=new fR(b,d,a.g);return 8};
kR=function(a){a.o&&!(0,window.isNaN)(a.D)&&(a.A=Math.floor(a.D*a.o),a.D=window.NaN)};
lR=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};
mR=function(a,b,c){for(var d=c;d<b.byteLength;d++)a.C.push(b.getUint8(d));return new window.DataView(b.buffer,b.byteOffset,c)};
nR=function(a,b,c){return new tJ(b,c,a.g.size,a.g.type,!0)};
fR=function(a,b,c){this.type=a;this.size=b;this.g=c;this.offset=this.version=0};
oR=function(a,b){g.RF.call(this);this.C=0;this.B=a;this.g=[];this.A=null;this.K=b;this.D=this.F=window.NaN;this.P=null;this.ca=(0,g.y)(function(a){this.B.Gh&&(this.Y("timestamprewrite",a),this.B.Gh=!1)},this);
this.X=this.O=this.G=this.o=null;this.M=!1;this.J=null;this.B.Wa&&(this.o=new gR(this.B.Pa))};
pR=function(a){return a.g.length?a.g[0]:null};
qR=function(a){return a.g.length?a.g[a.g.length-1]:null};
Ula=function(a,b){var c=Tla(a,b);(0,g.G)(c,function(b){a.g.push(b)})};
Vla=function(a){return(0,g.Bk)(a.g,function(a){return a.info.o})};
Wla=function(a,b){if(b){var c=g.$a(a.g,function(a){return a.info.o});
-1!=c&&(a.g=g.sb(a.g,0,c+1))}else a.g=[]};
Xla=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};
rR=function(a){return(0,g.H)(a.g,function(a){return a.info})};
sR=function(a){return a.o?iR(a.o):a.F||0};
Tla=function(a,b){if(!b.verify()||b.info.oa.yr()){var c=JK(b.info);c.verification="1";a.Y("error",c||{})}b.lf&&b.info.oa.info.video&&(c=aL(b),DL(b.info.oa,c),2==b.info.oa.info.o&&SK(c));if(tR(a,b)){if(1==b.info.oa.info.o)if(c=aL(b),c=EJ(c,0,1701671783)){0==c.data.getUint32(c.g)&&c.skip(4);wJ(c);wJ(c);vJ(c);vJ(c);vJ(c);vJ(c);var d=new window.Uint8Array(new window.ArrayBuffer(c.size-c.o)),e=new window.Uint8Array(c.data.buffer,c.offset+c.o,c.size-c.o);d.set(e);c.o=c.size;c=String.fromCharCode.apply(String,
new window.Uint8Array(d.buffer));c=(c=DJ(c))?new BJ(c):null}else c=null;else c=new LK(aL(b)),d=c.g,c.g=0,e=null,OK(c,[408125543,307544935,29555,26568,17543])&&(e=RK(c,!0),e=String.fromCharCode.apply(String,WK(c,e)),e=(e=DJ(e))?new BJ(e):null),c.g=d,c=e;b.A=c;b.A&&(a.G=b.A,a.M=!!a.o)}a.G&&(c=a.G,b.info.Ea=c.o,b.info.B=c.C);b.info.o&&(a.X=b.info);a.B.Ng&&tR(a,b)&&RJ(aL(b),1701671783);if(!a.K.re()&&(a.O&&!IK(a.O,b.info,!0)&&(a.o&&a.o.reset(),a.F=window.NaN,a.C=0),a.O=b.info,a.o?((c=!(0,window.isNaN)(a.D))||
(c=a.o,c=!(!(0,window.isNaN)(c.A)||!(0,window.isNaN)(c.D))),c&&(c=a.o,c.D=(0,window.isNaN)(a.D)?(0,window.isNaN)(a.F)?b.info.startTime:a.F:a.D,kR(c),a.D=window.NaN),c=aL(b),d=a.o.process(c),d!=c&&(b.g=d.buffer,b.o=FK(d.byteOffset,d.byteLength),b.range=b.o)):(c=(0,window.isNaN)(a.D)?(0,window.isNaN)(a.F)?b.info.startTime:a.F:a.D,a.D=window.NaN,a.B.Pa&&!cL(b,c)?(c=JK(b.info),c.smst=1,a.Y("error",c||{})):a.F=c+dL(b)),!b.range.length))return[];if(!a.K.re()&&a.G)if(b.info.o){a.M=!1;a.J=null;c=a.G;if(a.o)e=
hR(a.o),d=a.o,d.F=window.NaN,d.J=0,d=e.startTime,e=e.duration;else{if(1==b.info.oa.info.o){for(var d=b.info.oa.g,f=e=window.NaN,k=0,l=new window.DataView(b.g);JJ(l,k);){var m=KJ(l,k);1936286840==m.type?f=OJ(m):1836476516==m.type?f=HJ(m):1952867444==m.type&&(0,window.isNaN)(e)&&(e=NJ(m));k=LJ(m.type)?k+8:k+m.size}!f&&d&&(f=IJ(d));d=e/f}else d=new LK(aL(b)),e=b.lf?d:new LK(new window.DataView(b.info.oa.g.buffer)),f=YK(e),e=d.g,d.g=0,ZK(d)?QK(d,231)?(f=TK(d)*f/1E9,d.g=e,d=f):(d.g=e,d=window.NaN):(d.g=
e,d=window.NaN);d=d||b.info.A;e=dL(b)}a.Y("segmentinfo",uR(c,d,e,!1));if(e=c.g["Cuepoint-Type"]?new AJ((0,window.parseFloat)(c.g["Cuepoint-Playhead-Time-Sec"])||0,(0,window.parseFloat)(c.g["Cuepoint-Total-Duration-Sec"])||0,c.g["Cuepoint-Context"]):null)e.Pe+=d,a.Y("cuepoint",e,c.o)}else a.M&&!(0,window.isNaN)(a.o.F)&&(c=uR(a.G,hR(a.o).startTime,a.G.F,!0),a.J=c,a.Y("placeholderinfo",c),a.M=!1);if(a.B.Wj&&!a.K.re()&&(0==b.info.Ya||a.A)&&1==b.info.oa.info.o&&3==b.info.type&&!eL(b)&&b.info.duration&&
!a.B.Wa&&(a.C+=1E3*(dL(b)-b.info.duration),a.P&&Math.abs(a.C-a.P.C)>=a.B.Rc))return c=(a.P.C-a.C)/1E3,d=dL(b)+c,e=new window.DataView(b.g),e=(e=GJ(e,1936286840))?OJ(e):window.NaN,(0,window.isNaN)(e)&&(e=b.info.oa.g,f=new window.DataView(b.g),e=(f=GJ(f,1836476516))?HJ(f):e?IJ(e):window.NaN),(e=vR(a,b,d*e))&&e.length&&(f=JK(b.info),f.fds=d.toFixed(3),f.com=a.C.toFixed(3),a.Y("timestamprewrite",f),a.F+=c,a.C+=1E3*c),e?e:wR(a,b);a.B.Sa&&a.K.re()&&(0==b.info.Ya||a.A)&&1==b.info.oa.info.o?(c=b.info.oa.index.tq(b.info.Ea),
c=(c=vR(a,b,c))?c:wR(a,b)):c=[b];return c};
uR=function(a,b,c,d){return new qJ(a.o,b,c,a.ingestionTime,"sq/"+a.o,void 0,void 0,d)};
tR=function(a,b){return!a.K.re()&&3==b.info.type&&0==b.info.Ya&&(1==b.info.oa.info.o||2==b.info.oa.info.o)};
wR=function(a,b){if(a.A&&a.A!=b){var c=[a.A,b];a.A=null;return c}return[]};
vR=function(a,b,c){if(a.A){var d=a.A;var e=new window.Uint8Array(d.range.length+b.range.length);e.set(new window.Uint8Array(d.g,d.range.start,d.range.length));e.set(new window.Uint8Array(b.g,b.range.start,b.range.length),d.range.length);d=new window.DataView(e.buffer);QJ(d)}else d=aL(b),d=(e=QJ(d))&&e<d.byteLength?d:null;if(!d)return a.A=b,null;(c=Oja(d,c,a.ca,a.B.Hb))?(d=QJ(d),a.A&&(d-=a.A.range.length,a.A=null),a=bL(b,d),a[0].g=c,a[0].range=FK(0,c.byteLength),a[0].o=FK(0,c.byteLength),b=a[0],c=
new window.DataView(c),c=!!EJ(c,0,1836019574),b.lf=c):a=null;return a};
Yla=function(a,b){this.o=a;this.D=this.C=!1;this.length=b?b:0;this.g=0;this.A=[];this.B=null;this.length?1!=this.o.length||this.o[0].ob||(this.o[0].ob=this.length):1==this.o.length||(0,g.zr)(this.o,function(a){return!!a.range})};
Zla=function(a){var b=a.length-a.g;(0,g.G)(a.A,function(a){b+=a.range.length});
return b};
$la=function(a,b,c,d,e){this.g=a;this.ba=b;this.fa=c;this.da=e;this.O=this.o=window.NaN;this.ca=0;this.A=this.J=this.D=window.NaN;this.X=this.P=this.B=!1;this.C=0;this.F=EM(this.g);this.M=this.K=window.NaN;this.G=d};
xR=function(a){return{rt:(((0,g.F)()-a.o)/1E3).toFixed(2),lb:a.A,pt:a.K.toFixed(2),pb:a.ba,stall:a.C.toFixed(2),elbowTime:((a.O-a.o)/1E3).toFixed(2),elbowBytes:a.ca}};
yR=function(a,b,c){var d=(b-a.D)/1E3,e=c-a.A;if(a.B)!a.G&&0<e&&(.2<d||1024>e?(a.C+=d,.2<d&&wM(a.g,.05,e)):wM(a.g,d,e),a.X=!0);else if(c>=a.g.policy.g){if(!a.G){var f=a.g;f.D.g(1,(b-a.o)/1E3);xM(f)}a.O=b;a.ca=c;a.B=!0}AM(a.g,d,e);a.D=b;a.A=c};
zR=function(a){return a.A>=a.g.policy.g};
AR=function(a){return Math.max(0,((0,g.F)()-a.J)/1E3)};
BR=function(a){var b=a.ba-a.A,b=1E3*(b*a.F.stall+b/a.F.byterate),c=(0,g.F)(),b=zR(a)?b+c:b+Math.max(c,a.o+1E3*a.F.delay);a.M=b};
CR=function(a,b,c,d,e){this.status=0;this.G=this.response=null;this.M=d;this.D=c;this.P=e;this.o=[];this.B=null;this.A=this.g=0;this.Ba=ama++;this.O=window.NaN;this.C=null;a=new window.Request(a,{method:"GET",credentials:"include"});(0,window.fetch)(a).then(sE((0,g.y)(this.UR,this)),sE((0,g.y)(this.Mn,this)));(0,g.F)();this.K=this.J=this.F=!1;b()};
ER=function(a){a.K=!0;a.o.push(a.B.subarray(0,a.g));a.g=0;a.B=a.F?null:new window.Uint8Array(DR(a))};
FR=function(a,b){if(b.length+a.g>DR(a)){var c=new window.Uint8Array(a.g+b.length);c.set(a.B,0);a.B=c}a.B.set(b,a.g);a.g+=b.length};
GR=function(a){a.C.read().then(sE((0,g.y)(a.SN,a)),sE((0,g.y)(a.bQ,a)));var b=(0,g.F)();a.O=b};
DR=function(a){a=a.sq()||0;return Math.max(16384,.125*a)};
HR=function(a,b,c,d,e){this.status=0;this.response=null;this.o=this.A=!1;this.g=new window.XMLHttpRequest;this.g.open("GET",a);this.g.responseType="arraybuffer";this.g.withCredentials=!0;this.g.onreadystatechange=(0,g.y)(this.aL,this);this.B=d;this.D=c;this.C=e;a=sE((0,g.y)(this.YK,this));this.g.addEventListener("load",a,!1);this.g.addEventListener("error",a,!1);this.g.send();b();this.g.addEventListener("progress",sE((0,g.y)(this.ZK,this)),!1)};
IR=function(a,b,c,d){this.B=a;this.info=b;this.timing=c;this.X=d;this.state=1;this.g=null;this.O=this.ke=this.G=0;this.F=window.NaN;this.D=this.A=this.K=null;this.C=0;this.J=this.o=null;this.M=0;this.P=!1};
JR=function(a){return a.A?oL(a.A.g):""};
LR=function(a){var b=xR(a.timing);b.shost=JR(a);b.rn=a.G.toString();a.C&&(b.rc=a.C.toString());b.itag=""+II(a.info.g[0].oa.info);b.ml=""+ +a.info.g[0].oa.Dd();410!=a.C&&500!=a.C&&503!=a.C||(b.isPotentialFormatUnavaliable="true");(a=KR(a))&&(b.action=a);return b};
bma=function(a){var b=xR(a.timing);return{rn:a.G.toString(),rt:b.rt,pt:b.pt,stall:b.stall,elt:b.elbowTime,elb:b.elbowBytes}};
KR=function(a){if(7==a.state&&!MR(a)){var b=NR(a);if(b=0<b.o&&0==b.A)b=a.info.o,b=!(a.G>b.B&&0<b.A);return b?"fastfallback":10<=a.ke?"fallback":"retry"}return""};
NR=function(a){JR(a);return gL(a.X,JR(a))};
OR=function(a){if(a.B.C){if(1==a.state)return!0;a=NR(a);return 20>a.dg&&6>a.g}if(10>a.ke)a=!0;else{var b=a.info.o;a=!(a.G>b.B&&0<b.A)}return a};
PR=function(a,b){a.state=b;if(5<=a.state){var c=a.timing;c.B&&(c.B=!1)}a.K&&a.K(a)};
QR=function(a){return(0,g.zr)(a.info.g,function(a){return 3==a.type})};
MR=function(a){return a.B.C?!0:a.info.g[0].oa.Dd()||zR(a.timing)?7==a.state&&("net.timeout"==a.D||"net.connect"==a.D&&204==a.C):!1};
RR=function(a){if(a.g){var b=a.g;a.g=null;b.abort()}a=a.timing;a.B&&(a.B=!1)};
TR=function(a){var b=a.g.ph("content-type"),c=a.g.sq();return(!SR(a)||!b||-1!=b.indexOf("text/plain"))&&(!c||2048>=c)};
SR=function(a){return a.g?a.g.UB():!1};
UR=function(a){return 2<=a.state&&!!a.o&&!!a.o.A.length};
VR=function(a,b){if(b||SR(a)&&!TR(a)){if(!a.o){var c;SR(a)||(c=a.g.oq());a.o=new Yla(a.info.g,c)}for(;a.g.Ar();){c=a.o;for(var d=a.g.NB(),e=b&&!a.g.Ar(),f=0,k=0,l=g.ka(c.o),m=l.next();!m.done;m=l.next())if(m=m.value,m.range&&f+m.ob<=c.g)f+=m.ob;else{var n=c,q=m;if(1==q.type){n.C=!0;var r=!1}else 3==q.type||4==q.type?(q=n.C&&!n.D,n.D=!0,r=q):r=!1;var n=c,w=c.g-f,q=k,A=d,C=r||m.oa.Wy(),B=A.length-q;m.range&&(B=Math.min(m.ob-w,B));r=m.range?m.Ya+w+B==m.range.length:!!e;w=new GK(m.type,m.oa,m.range,m.Ea,
m.startTime,m.duration,m.Ya+w,B,r&&m.B);w.o=r;n.A.push(new $K(w,A.buffer,FK(A.byteOffset+q,B),FK(A.byteOffset,A.length),C));n=B;c.g+=n;k+=n;f+=m.ob;if(k==d.length)break}}}};
WR=function(){this.g=this.o=!1};
XR=function(a,b){this.Va=b;this.A=[];this.o=new oR(a,b);this.B=this.g=null;this.P=0;this.J=b.info.g;this.K=this.G=!1;this.F=new WR;this.O=0;this.D=b.Je();this.C=-1;this.M=0};
YR=function(a,b){a.A.push(b);a.g=g.Za(b.info.g)};
$R=function(a,b){for(;a.A.length&&6==a.A[0].state;){var c=a.A.shift();ZR(a,c);var d=c.timing;a.P=(d.D-d.o)/1E3;a.G||(c=c.info,a.M=Math.max(a.M,Math.max(0,c.g[c.g.length-1].g-b)))}a.A.length&&UR(a.A[0])&&!HK(a.A[0].info.g[0])&&ZR(a,a.A[0])};
ZR=function(a,b){if(UR(b)){b.P=!0;var c=b.o,d=c.A;c.A=[];c.B=g.Za(d).info;(0,g.G)(d,a.ba,a)}};
cS=function(a,b){a.Va.Dd();a.M=0;var c=aS(a,b);if(0<=c)return c;a.g=a.Va.Yg(b).g[0];bS(a)&&(a.B=null);a.O=0;return a.g.startTime};
cma=function(a,b){var c=a.o.g.length?qR(a.o).info:a.B;if(b&&c&&!c.o){for(var d=c.Ea,c=[],e=g.ka(a.A),f=e.next();!f.done;f=e.next())f=f.value,(0,g.Bk)(f.info.g,function(a){return a.Ea==d})?c.push(f):dS(a,f);
a.A=c;a.g=a.A.length?g.Za(g.Za(a.A).info.g):null}else eS(a)};
fS=function(a){var b=0;(0,g.G)(a.A,function(a){var c=b;a=a.o&&a.o.length?Zla(a.o):BL(a.info);b=c+a},a);
return b+=Xla(a.o)};
gS=function(a,b){var c=!!a.Va.info.video&&!!a.B&&!a.B.o,d=1<=b&&c;Wla(a.o,d);a.G=d;cma(a,2<=b&&c)};
hS=function(a){a.F.o||a.F.start();gS(a,0);bS(a)&&(a.B=null)};
bS=function(a){return!!a.B&&a.B.B};
iS=function(a){var b=[];a.B&&b.push(a.B);b=g.pb(b,rR(a.o));(0,g.G)(a.A,function(a){(0,g.G)(a.info.g,function(c){a.P&&(b=(0,g.se)(b,function(a){return!(a.oa!=c.oa?0:a.range&&c.range?a.range.start+a.Ya>=c.range.start+c.Ya&&a.range.start+a.Ya+a.ob<=c.range.start+c.Ya+c.ob:a.Ea==c.Ea&&a.Ya>=c.Ya&&a.Ya+a.ob<=c.Ya+c.ob)}));
3!=c.type&&4!=c.type||b.push(c)})});
a.g&&!Vja(a.g,g.Za(b),a.g.oa.re())&&b.push(a.g);return b};
jS=function(a){if(!a.g||!a.g.ob)return!1;a=iS(a);if(!a.length)return!1;for(var b=1;b<a.length;b++){var c=a[b].A==a[b-1].A&&a[b].g==a[b-1].g&&a[b].Ea==a[b-1].Ea&&a[b].oa==a[b-1].oa&&a[b-1].Ya+a[b-1].ob==a[b].Ya;if(!(1E-6>=Math.abs(a[b].A-a[b-1].g)||c))return!1}return!0};
aS=function(a,b){if(jS(a)){a:{var c=iS(a);c=g.ka(c);for(var d=c.next();!d.done;d=c.next())if(d=d.value,d.A<=b&&d.startTime+d.duration>=b){c=d;break a}c=null}if(c)return c.startTime}return window.NaN};
kS=function(a){return(0,g.Bk)(a.A,function(a){return 4<=a.state})};
lS=function(a){return!(!a.g||!a.Va.Dd()||a.g.oa==a.Va)};
mS=function(a){return lS(a)&&a.g.oa.info.g<a.Va.info.g};
nS=function(a,b,c){return(a=qR(a.o)?qR(a.o).info:a.B)&&!a.B?a.g>b&&a.g<b+c:!1};
eS=function(a){(0,g.G)(a.A,function(a){dS(this,a)},a);
a.A=[];a.g=null};
dS=function(a,b){if(b.P){var c=a.o,d=b.info;c.M=!1;c.J&&(c.Y("placeholderrollback",c.J),c.J=null);if(c.o){var e=window.NaN;(0,window.isNaN)(c.D)&&(e=d.g[0].range?d.g[0].A:hR(c.o).startTime);c.o.reset();c.O=c.X;(0,window.isNaN)(e)||(d=c.o,d.D=e,kR(d))}c.G=null}b.dispose()};
oS=function(a){return!!a.g&&-1!=a.g.Ea&&a.g.Ea<a.Va.index.rg()};
pS=function(a){if(a.g){var b=qR(a.o);b&&3==b.info.type&&-1==a.g.Ea&&(a.g.Ea=b.info.Ea)}};
dma=function(a,b){this.g=a;this.o=b;this.A=1};
qS=function(a,b,c,d){d/=a.A;var e=BM(a.g)+1/CM(a.g);var f=Math.max(.9*(d-3),zM(a.g)+a.g.policy.g*e);c=f/e*a.o.Vj/(b+c);c=Math.min(c,d);c=Math.max(a.o.Uj,Math.min(a.o.Tj,c));return Math.min(a.o.F,Math.max(65536,Math.ceil(c*b)))};
rS=function(a,b){var c=a.o.Hh;if(a.o.Cc)return b;var d=1E-9+zM(a.g)+c*BM(a.g),c=b*Math.min(1,c/(b*d));a.o.rb&&(d=((uM(a.g.o,.98)||0)-a.o.wb)/(a.o.Tl-a.o.wb),d=Math.max(0,Math.min(1,d)),c*=1-a.o.rb*d);return c};
sS=function(a){return rS(a,CM(a.g))};
tS=function(a){return sS(a)/a.A};
ema=function(a,b,c,d){this.ca=a;this.A=b;this.F=c;this.K=d;this.o=this.O=this.D=null;this.G="i";this.P=-1;this.g=this.B=null;this.C=[];this.ba={};this.X=this.fa=0;this.ga=null;this.M=this.J=!1;this.da=0};
fma=function(a,b,c){"m"==c&&a.D.isLocked()&&!b.isLocked()&&(c="a");a.J=a.J||!1;if("m"==c&&b.isLocked())return a.G=c,uS(a,b),vS(a),wS(a),a.M|=a.o!=a.g,a.o=a.g,new bR(a.B,a.o,c);var d=UI(a.D,b);if("m"==a.G&&a.D.isLocked()&&d)return null;"r"!=c||d||(a.P=-1);uS(a,b);wS(a);if("r"==c&&a.g==a.o){if(d)return null;a.o=a.g;return new bR(a.B,a.g,c)}a.G=c;xS(a);return null};
yS=function(a){return!!a.X&&(0,g.sG)()-a.X<=1E3*a.A.Ua};
zS=function(a){return a.D.isLocked()};
xS=function(a){a.o&&a.g&&AS(a,a.o.info)<AS(a,a.g.info)&&(a.J|="r"==a.G,a.J=a.A.Yb?a.J|("v"==a.G&&a.g.info.video.width>a.o.info.video.width):a.J|a.g.info.video.width>1.6*a.o.info.video.width)};
BS=function(a){var b=a.G;a.G="a";a.P=(0,g.sG)();a.J=!1;return new bR(a.O,a.o,b)};
uS=function(a,b){a.D=b;var c=a.K.videoInfos;if(!zS(a)&&(c=(0,g.se)(c,function(a){return a.g>this.A.G?!1:this.A.C?4<this.F.g[a.id].C.g?!1:!0:!this.F.g[a.id].B},a),yS(a))){var c=(0,g.se)(c,function(a){return a.id!=this.ga.id},a),d=(0,g.se)(c,function(a){a=II(a);
return"140"==a||"134"==a||"243"==a});
d.length&&(c=d)}c.length||(c=a.K.videoInfos);d=(0,g.se)(c,b.B,b);d.length||(d=[c[0]]);d.sort((0,g.y)(function(a,b){return AS(this,a)-AS(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.lb(d,c),c--):AS(a,e)*a.A.g>AS(a,f)&&(g.lb(d,c-1),c--)}c=d[d.length-1];a.C=d;Tja(a.A,c)};
gma=function(a,b){if(b)a.B=a.F.g[b];else{var c=g.ab(a.K.g,function(a){return!!a.Uc&&a.Uc.isDefault}),c=c||a.K.g[0];
a.B=a.F.g[c.id]}vS(a)};
vS=function(a){if(!a.B.info.Uc&&(a.B=a.F.g[a.K.g[0].id],1<a.K.g.length)){if(a.D.isLocked())var b=240>a.D.g;else{for(b=0;b+1<a.C.length&&"tiny"==a.C[b].video.quality;)b++;var c=tS(a.ca)/a.A.g;b=AS(a,a.B.info)+AS(a,a.C[b])>c}b&&(a.B=a.F.g[a.K.g[1].id])}};
wS=function(a){if(zS(a))a.g=a.F.g[a.C[a.C.length-1].id];else{for(var b=Math.min(a.fa,a.C.length-1),c=tS(a.ca),d=AS(a,a.B.info),e=c/a.A.A-d;0<b&&!(AS(a,a.C[b])<=e);b--);c=c/a.A.g-d;a.A.Wl&&(e=a.ca,d=rS(e,DM(e.g))/e.A/a.A.g-d,c=Math.min(c,d));for(;b<a.C.length-1&&!(AS(a,a.C[b+1])>=c);b++);a.g=a.F.g[a.C[b].id];a.fa=b;xS(a)}};
hma=function(a){var b=a.A.A,c=tS(a.ca)/b-AS(a,a.B.info),b=g.bb(a.C,function(a){return AS(this,a)<c},a);
0>b&&(b=0);a.fa=b;a.g=a.F.g[a.C[b].id]};
AS=function(a,b){if(!a.A.ca)return b.g;if(!a.ba[b.id]){var c=a.F.g[b.id].index.Tw(a.da,a.A.ca),c=b.B&&a.o&&a.o.index.Rb()?c||b.B:c||b.g;a.ba[b.id]=c}return a.ba[b.id]};
jma=function(){this.g=this.o=0;this.A=[]};
CS=function(a,b){return(a[b]<<24)+(a[b+1]<<16)+(a[b+2]<<8)+a[b+3]};
DS=function(a,b,c,d){this.o=a;this.D=b;this.C=d;this.B=c;this.g=0};
kma=function(a,b){this.o=a;this.F=b;this.C=this.B=this.g=null;this.D=this.A=window.NaN};
lma=function(a,b){var c=pR(b.o);if(!c)return-1;var d=c.A;if(!d||!d.B||!d.A)return-1;var e=b.A.length?b.A[0]:null;if(!(e&&3<=e.state&&7!=e.state&&SR(e))||0!=e.info.A||0>ES(a,d,c.info))return-1;var f=a.o.Yj/(c.info.oa.info.video.fps||30);a.g=e;a.B=d;a.C=c.info;a.A=f;a.D=(0,g.F)()/1E3;return window.NaN};
ES=function(a,b,c){b=(0,g.F)()/1E3-(a.F.o()||0)-b.A-a.o.ak;if(0>=b)return-1;var d=c.oa.index;if(!HL(d,c.Ea,!0))return-1;var e=d.getDuration(c.Ea);c=d.kf(c.Ea);a=Math.min(c+b,c+e-a.o.Zj);return a<=c?-1:a};
mma=function(){this.g=[];this.o=g.pJ};
FS=function(a,b){for(var c=[],d=g.ka(a.g),e=d.next();!e.done&&!(e=e.value,e.contains(b)&&c.push(e),e.start>b);e=d.next());return c};
nma=function(a){return a.g.slice(GS(a,0x7ffffffffffff),a.g.length)};
GS=function(a,b){var c=yb(a.g,function(a){return b-a.start||1});
return 0>c?-(c+1):c};
HS=function(a,b){for(var c=void 0,d=g.ka(a.g),e=d.next();!e.done;e=d.next())if(e=e.value,e.contains(b)&&(void 0==c||e.end<c)&&(c=e.end),e.start>b&&(void 0==c||e.start<c)){c=e.start;break}return c};
IS=function(a,b,c,d){g.K.call(this);this.B=window.NaN;this.J=!1;this.G=null;this.K=this.M=this.C=!1;this.ca=a;this.ba=b;this.O=c;this.X=d;this.P=new g.rt(this.A,250,this);g.L(this,this.P);this.D=new g.rt(this.A,0,this);g.L(this,this.D);this.o=[];this.g=new mma};
JS=function(a,b){a.A();var c=a.g;if(1<b.length&&b.length>c.g.length)c.g=c.g.concat(b),c.g.sort(c.o);else for(var d=g.ka(b),e=d.next();!e.done;e=d.next())e=e.value,!c.g.length||0<c.o(e,c.g[c.g.length-1])?c.g.push(e):Cb(c.g,e,c.o);a.B=window.NaN;a.A()};
oma=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.o.indexOf(e)&&(a.o.push(e),c.push([1,e]))}return c};
pma=function(a,b){var c=[];if(!b.length)return c;b.sort(g.pJ);for(var d=0;d<b.length;d++){var e=b[d];a.o.splice(a.o.indexOf(e),1);c.push([2,e])}return c};
KS=function(a,b,c,d,e){g.RF.call(this);this.M=a;this.A=b;this.D=c;this.jb=e||null;this.g=this.B=null;this.K=new dma(a,b);this.o=null;this.F=new ema(this.K,b,this.D,d);this.ga=this.Ja=window.NaN;this.La=new g.rt(this.ge,void 0,this);this.C=this.Pa=window.NaN;this.O=!1;this.J=window.NaN;this.Ua=0;this.fa=this.G=!1;this.rb={};this.da="";this.ka=this.pa=0;this.Sa=b.Vl?new jma:null;this.Aa=new rM(5);this.ua=!1;this.wb={};this.va="";this.sa=window.NaN;this.X=!1;a=this.A;this.P=a.xc&&this.D.o?new kma(a,
this.Aa):null};
MS=function(a,b){b=b||a.g&&a.g.g&&a.g.g.startTime||a.C;var c=a.g,d=a.F;if(d.A.ca){var e=d.g&&d.g.index.Zg(b)||0;d.da!=e&&(d.ba={},d.da=e,uS(d,d.D))}!zS(d)&&-1<d.P&&(0,g.sG)()-d.P<1E3*d.A.kg||(d.X&&!yS(d)&&(d.X=0,uS(d,d.D)),vS(d),wS(d),d.M|=d.g!=d.o);d.g.index.Rb()||(d.da=-1);d=d.g;c.Va!=d&&(c.Va=d,d.o||LS(a,c,!1));c=a.B;d=a.F.B;c.Va!=d&&(c.Va=d,d.o||LS(a,c,!1))};
OS=function(a){0==a.C&&(a.g.Va.o||LS(a,a.g,!0),a.B.Va.o||LS(a,a.B,!0));a.seek(a.C);NS(a,"gv")};
g.PS=function(a,b){var c=a.g.Va.info.mimeType;b.g=b.A.addSourceBuffer(a.B.Va.info.mimeType);b.M?b.o=b.A.addSourceBuffer(c):b.o=new XJ;a.o=b;a.B.K=!1;a.g.K=!1;a.B.B=null;a.g.B=null;a.resume();xK(b)&&(b.g.addEventListener("updateend",(0,g.y)(a.ge,a),!1),b.o.addEventListener("updateend",(0,g.y)(a.ge,a),!1),b.g.addEventListener("error",(0,g.y)(a.Rn,a,!0),!1),b.o.addEventListener("error",(0,g.y)(a.Rn,a,!1),!1));NS(a,"msa");g.LO("msa",void 0,"video_to_ad");PO.measure&&PO.getEntriesByName("mark_vta").length&&
PO.measure("measure_vta_to_msa","mark_vta");a.ha&&a.ca&&(c=g.v("yt.scheduler.instance.enablePriorityThreshold"))&&c(1);a.ge();a.Pa=g.xE((0,g.y)(a.ge,a),1E4)};
RS=function(a){a.o&&a.o.g&&a.o.g.removeEventListener&&(a.o.g.removeEventListener("updateend",(0,g.y)(a.ge,a),!1),a.o.o.removeEventListener("updateend",(0,g.y)(a.ge,a),!1),a.o.g.removeEventListener("error",(0,g.y)(a.Rn,a,!0),!1),a.o.o.removeEventListener("error",(0,g.y)(a.Rn,a,!1),!1));a.o=null;a.G=!0;QS(a)};
SS=function(a){a.o&&uK(a.o)&&RS(a)};
TS=function(a,b,c){if(!b.F.o||!c.remove)return!1;if(c.updating)return!0;if(!b.F.g&&c.buffered.length)return a=c.buffered.end(c.buffered.length-1),c.remove(0,a),b.F.g=!0;b.F.reset();a.Y("seekelementrequired");return!1};
VS=function(a,b,c){if(a.G&&(!a.A.ba||!FM(a.M)))return!1;if(a.D.o){if(0<b.A.length&&!a.A.ha)return!1;if(b.D)return!(0,window.isNaN)(a.sa)}if(!(b.g||a.D.o&&a.A.ha&&b.D)){if(!b.Va.Dd())return b.Va.o||LS(a,b,!1),!1;cS(b,a.C)}var d=b.A.length+c.A.length;(kS(b)||kS(c)||a.D.isLive&&(!a.A.ha||!b.A.length))&&--d;if(2<=d+1)return!1;d=b.g;if(!d)return!0;4==d.type&&d.oa.Dd()&&(b.g=g.Za(d.oa.lo(d)),d=b.g);!d.B&&!d.oa.pi(d)||d.oa.info.audio&&4==d.type?a=!1:mS(b)&&!a.A.X?a=!0:(!(c=d.B||fS(b)+fS(c)>a.A.da||!!(c.g&&
!c.g.B&&c.g.g<d.g)&&(!a.D.o||c.g.g&&d.g))&&(c=3==d.type)&&(d=d.g,b=US(a,b,!0),!zS(a.F)&&0<a.A.O&&(c=((0,g.sG)()-a.Ua)/1E3,b=Math.min(b,a.A.O+a.A.jb*c)),b=a.C+b,a.A.Ja?(c=Math.min(b,qma(a)+a.A.Ja),c!=b&&a.nj("mrl","ori."+b+";mod."+c,!0),a=c):a=b,c=d>a),a=c?!1:!0);return a};
WS=function(a,b,c){if((!a.o||tK(a.o)||xK(a.o))&&!a.O&&a.F.J){var d=a.C;a=a.K;c=qS(a,b.Va.info.g,c.Va.info.g,0);var e=zM(a.g)+c*BM(a.g)+c/CM(a.g),d=d+Math.max(e,e+a.o.Aa-c/b.Va.info.g);a:{if(b.A.length){if(b.A[0].info.g[0].startTime<=d)break a;eS(b)}a=b.o;for(c=a.g.length-1;0<=c;c--)a.g[c].info.startTime>d&&a.g.pop();b.A.length?b.g=g.Za(g.Za(b.A).info.g):b.o.g.length?b.g=qR(b.o).info:b.g=b.B;b.g&&d<b.g.startTime&&(b.O=0,b.g=b.Va.Yg(d,!0).g[0])}}};
ZS=function(a,b,c){VS(a,b,c);var d=b.g;if(b.D)a.ua=!0,d=b.Va.Yg(window.Infinity),d.A=a.sa;else if(b.g.oa.Dd()){!mS(b)||a.A.X||a.D.o||(WS(a,b,c),b.g||cS(b,a.C));var d=b.g,e=d.g-a.C,f=!d.range||0==d.ob&&0==d.Ya?0:d.range.length-(d.Ya+d.ob);if(lS(b)){var k=a.A.sa?Math.min(US(a,b,!0),b.M)*a.A.sa:Math.min(a.A.pa,.5*US(a,b,!0));var l;if(l=a.A.xf)if(l=!!b.A.length)l=b.A[0].info,l=4==l.g[l.g.length-1].type;k=mS(b)||e<=k&&!l}else k=!1;k&&0==f&&(a.D.o?d.oa=b.Va:(f=d.startTime+XS,d.ob&&(f+=d.duration),cS(b,
f),d=b.g));d.oa.re()?(c=qS(a.K,d.oa.info.g,c.Va.info.g,e),e=lS(b),c=d.oa.oi(d,c),c.range&&1<c.g.length&&(e||a.A.C&&c.o.g?c=d.oa.oi(d,c.g[0].ob):(e=c.g[c.g.length-1],f=e.ob/c.range.length,!e.o&&.4>f&&(c=d.oa.oi(d,c.range.length-e.ob)))),d=c):d=d.oa.Xk(d)}else d.oa.re()?(c=qS(a.K,b.Va.info.g,c.Va.info.g,0),d=d.oa.oi(d,c)):d=d.oa.Xk(d);YR(b,YS(a,d))};
YS=function(a,b){if(3==b.g[b.g.length-1].type){a:{var c=a.F;var d=b.g[0].oa;if(d.info.video){if(c.o!=d){c.o=d;c=BS(c);break a}}else c.O=d;c=null}c&&a.Y("videoformatchange",c)}c=BL(b);var d=a.M,e=a.K,f=Math.min(2.5,zM(e.g)),e=sS(e);c=new $la(d,c,c-f*e,a.A.Sl&&a.ua,HK(b.g[0]));c=new IR(a.A,b,c,a.wb);d=(0,g.y)(a.mQ,a);c.K=d;c.start(Math.max(0,b.g[0].A-a.C));b.g[0].oa.info.video&&(d=JR(c))&&(a.va=d.substr(0,d.indexOf(".")));return c};
$S=function(a){if((0,window.isNaN)(a.Ja)){var b=(0,g.y)(a.ge,a);a.Ja=g.yE(b,0)}};
aT=function(a){if((0,window.isNaN)(a.ga)){var b=(0,g.y)(function(){this.ga=window.NaN;this.ge()},a);
a.ga=g.yE(b,1E3)}};
rma=function(a){if(a.P){var b=!!a.P.g,c=a.P,d=a.g;c.g?!(c.g.na()||5<=c.g.state)&&(0,g.F)()/1E3-c.D<c.o.bk&&AR(c.g.timing)<c.A?c=window.NaN:(d=ES(c,c.B,c.C),c.g=null,c.B=null,c.C=null,c.A=window.NaN,c.D=window.NaN,c=d):c=lma(c,d);(b||a.P.g)&&a.nj("ssr","ca."+c);if(!c)return!0;0<c&&a.Y("seekplayerrequired",c,!0)}if(a.D.B)return!1;if(b=a.O){if(b=0<a.A.ga&&a.g&&a.B){var b=a.K,e=a.g,f=a.B,c=a.A.ga;if(0==e.A.length&&0==f.A.length)b=!0;else{for(var d=0,k=rR(e.o).concat(rR(f.o)),k=g.ka(k),l=k.next();!l.done;l=
k.next())d+=l.value.ob;e=e.J+f.J;d/=e;b=d>c?!0:e*(c-d)/tS(b)<c}b=!b}b||(b=a.g,b=0<b.A.length&&1==b.o.g.length&&pR(b.o).info.C<b.P)}if(b)return!0;if(!a.fa||!a.A.K||10>a.C||360<a.g.Va.info.video.o)return!1;b=nS(a.g,a.C,a.A.K)||nS(a.B,a.C,a.A.K);return(0<a.g.A.length||0<a.B.A.length||VS(a,a.g,a.B)||VS(a,a.B,a.g))&&b};
cT=function(a,b,c,d){if(c.updating)return!0;var e=pR(b.o);if(!e)return!1;!b.B||b.B.o||IK(b.B,e.info)||(b.B=null,tK(a.o)&&c.abort(),c.g=null);var f=a.D.isLive&&eL(e);a.A.Fh&&a.D.B&&0==e.info.Ya&&1==e.info.oa.info.o&&(a.D.o?null!=b.B&&b.B.oa==e.info.oa:null!=c.g&&c.g==e.info.oa.g)&&(RJ(aL(e),1836019574),RJ(aL(e),1718909296),e.lf=!1);if(!a.D.B||0==e.info.Ya)if(f||a.D.o||e.lf)c.g=null;else if(e.info.oa.Dd(),f=e.info.oa.g,c.g==f?f=!1:(bT(a,c,f),c.g=f,a.Y("initsegment",c.g),f=c.updating),f)return!0;f=US(a,
b,!1);f=a.C+f;null!==d&&0<=d&&(f=Math.min(f,d));d=f;if(b.G)d=pR(b.o).range;else if(f=b.o,!f.g.length||f.g[0].info.A>=d)d=null;else{var k;for(k=1;k<f.g.length;k++){var l=f.g[k].g!=f.g[k-1].g;if(f.g[k].info.A>d||l||f.B.Sa)break}k--;d=new DK(f.g[0].lf?0:f.g[0].range.start,f.g[k].range.end)}if(!d)return!1;f=new window.Uint8Array(e.g,d.start,d.length);if(a.Sa&&e.info.oa.info.video&&1==e.info.oa.info.o&&(k=a.Sa,0==e.info.Ya&&(k.o=0,k.g=0,k.A.length=0),!((0,window.isNaN)(k.o)||8>f.length))){for(var l=new window.DataView(f.buffer,
f.byteOffset),m=!1;!m;)if(k.o==k.g)a:{var n,m=k,q=f.length;if(m.o+7>=q){for(n=m.o;n<q;n++)m.A.push(l.getUint8(n));m=!0}else{if(0<m.A.length){for(n=0;8>m.A.length;n++)m.A.push(l.getUint8(n));var r=CS(m.A,0);n=CS(m.A,4);m.A.length=0}else r=l.getUint32(m.g),n=l.getUint32(m.g+4);if(1836019558==n||1836019574==n||1718909296==n||1936286840==n)m.o+=r,m.g=m.o;else if(1835295092==n)m.o+=r,m.g+=8;else{m.o=window.NaN;m=!0;break a}m=m.g>=q}}else a:if(m=k,q=f.length,m.g+5>=q){for(n=m.g;n<q;n++)m.A.push(l.getUint8(n));
m=!0}else{if(0<m.A.length){for(n=0;6>m.A.length;n++)m.A.push(l.getUint8(n));n=CS(m.A,0);12==n&&6==m.A[4]&&45==m.A[5]&&l.setUint8(m.g+5,63);m.g+=n+4;m.A.length=0}for(;m.g<m.o&&m.g+5<q;){n=l.getUint32(m.g);if(0>=n){m.o=window.NaN;m=!0;break a}12==n&&6==l.getUint8(m.g+4)&&45==l.getUint8(m.g+5)&&l.setUint8(m.g+5,63);m.g+=n+4}m=m.g>=q}(0,window.isNaN)(k.o)||(k.o-=f.length,k.g-=f.length)}k=!1;3!=e.info.type||1!=e.info.oa.info.o&&2!=e.info.oa.info.o||(k=1==e.info.oa.info.o&&a.A.wp&&!b.K&&0==e.info.Ya&&0<
e.info.startTime)&&cL(e,0);f=bT(a,c,f);if(0!=f){if(2!=f)if(e.info.oa.info.video?(l=a.A,l.B=Math.floor(.8*l.B),l.J=Math.floor(.8*l.J)):(l=a.A,l.D=Math.floor(.8*l.D),l.fa=Math.floor(.8*l.fa)),l.o=Math.floor(.8*l.o),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.g&&(c.remove(c.buffered.start(m),c.buffered.end(l-1)),f=!0);f||c.remove(0,e.info.startTime-5)}else hS(b);f=!1}else f=!0;if(!f)return!1;b.K=!0;if(k)cL(e,e.info.startTime),c.abort(),c.g=null;
else{f=b.o;for(k=[];f.g.length&&(f.g[0].range.end>d.end?(m=bL(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.G)(k,b.ca,b)}e.lf&&(c.g=e.info.oa.g,a.Y("initsegment",c.g));return!0};
dT=function(a,b,c){var d=a.D,e=!1,f;for(f in d.g)if(!!d.g[f].info.video==c){var k=d.g[f].index;HL(k,b.Ea)||(k.Uy(b),e=!0)}e&&a.A.ka&&a.X&&(a.X=!1,a.Y("seekplayerrequired",b.startTime+.1,!0))};
bT=function(a,b,c){try{xK(a.o)?b.appendBuffer(c):b.append(c)}catch(d){if(11==d.code)return eT(a,!1,"html5.invalidstate",{updating:""+ +b.updating,mrs:a.o.A.readyState}),2;if(22!=d.code&&0!=d.message.indexOf("Not enough storage"))return g.rE(d),4;a.A.Qc&&a.nj("quex","br."+cK(b.buffered).replace(/,/g,"_"));return 1}return uK(a.o)?3:0};
fT=function(a,b){b.o.subscribe("error",a.iP,a);b.o.subscribe("timestamprewrite",a.mP,a);var c=(0,g.y)(a.jP,a,b);b.o.subscribe("placeholderinfo",c,void 0);c=(0,g.y)(a.kP,a,b);b.o.subscribe("placeholderrollback",c,void 0);c=(0,g.y)(a.lP,a,b);b.o.subscribe("segmentinfo",c,void 0);b==a.g&&b.o.subscribe("cuepoint",a.hP,a)};
US=function(a,b,c){if(a.A.ba&&a.G)return a.A.ba;var d=b.Va.info.audio?a.A.D:a.A.B;!a.A.X&&zS(a.F)&&(d=Math.max(d,b.Va.info.audio?a.A.fa:a.A.J));c&&(d+=a.A.da);c=zS(a.F)?b.g?b.g.oa.info.g:b.Va.info.g:b.J;d/=c;0<a.A.va&&a.o&&tK(a.o)&&(b=b.Va.info.video?a.o.o:a.o.g)&&!b.updating&&(c=YJ(b.buffered,a.C),0<=c&&(b=a.C-b.buffered.start(c),d+=Math.max(0,Math.min(b-a.A.va,a.A.jd))));0<a.A.o&&(d=Math.min(d,a.A.o));a.A.bb&&!zS(a.F)&&(b=a.F,b=AS(b,g.Za(b.C))+AS(b,b.K.g[0]),c=a.A.bb*(b/sS(a.K)),c<d&&25>c&&a.nj("bwcapped",
"1",!0),c=Math.max(c,25,2.5*a.A.F/b),d=Math.min(d,c));return d};
qma=function(a){if(!a.jb)return window.Infinity;for(var b=(0,g.se)(a.jb.g.g,function(a){return"ad"==a.namespace}),b=g.ka(b),c=b.next();!c.done;c=b.next())if(c=c.value,c.start/1E3>a.C)return c.start/1E3;
return window.Infinity};
gT=function(a,b,c){var d=(0,g.y)(a.Y,a,"error");a=a.A.La?(0,g.y)(a.nj,a,"pathprobe"):null;(new DS(b,c,a,d)).send()};
hT=function(a,b,c,d){if(b.Va.Dd())if(d){var e=ZJ(d.buffered,c),f=window.NaN,k=b.B;k&&(f=ZJ(d.buffered,k.oa.index.kf(k.Ea)));if(e==f&&jS(b))return c;d=aS(b,c);if(0<=d)return d;gS(b,b.Va.re()?1:2);b.Va.info.video&&b.B&&!b.B.o&&!Vla(b.o)&&b.Va.re()&&(d=b.B,b.o.g.length&&(d=qR(b.o).info),d=b.g||d,d=d.oa.oi(d,d.range.length-(d.ob+d.Ya)),YR(b,YS(a,d)));if((0,window.isNaN)(e))return cS(b,c);cS(b,e+XS)}else cS(b,c);else b.Va.o||LS(a,b,!1),0!=c&&eS(b);return c};
LS=function(a,b,c){c=b.Va.Ym(a.A,c);(0,g.G)(c,function(a){if("f"!=a.g[0].oa.info.A){var c=YS(this,a);!HK(a.g[a.g.length-1])&&YR(b,c)}},a);
b.Va.o=!0};
eT=function(a,b,c,d){a.na()||(a.Y("error",new g.UN(c,b,d)),b&&a.dispose())};
iT=function(a){var b={lct:a.C.toFixed(3),lsk:a.O,lmf:zS(a.F),lbw:CM(a.M).toFixed(3),lhd:zM(a.M).toFixed(3),lst:(1E9*BM(a.M)).toFixed(3),laa:a.B.B?KK(a.B.B):"",lva:a.g.B?KK(a.g.B):"",lar:a.B.g?KK(a.B.g):"",lvr:a.g.g?KK(a.g.g):"",lvh:a.va};a.o&&!uK(a.o)&&(b.lab=cK(a.o.g.buffered),b.lvb=cK(a.o.o.buffered));return b};
NS=function(a,b,c){a.rb[b]=c?window.performance.timing.navigationStart+c:(0,g.sG)()};
QS=function(a){a.B&&gS(a.B,0);a.g&&gS(a.g,0)};
jT=function(a,b,c){if(!b||!c)return!0;c=-1!=YJ(c.buffered,a);var d=qR(b.o)?qR(b.o).info.g>=a:!1,e=b.A.length?b.A[0]:null;a=(b=e?e.info.g[0]:b.g)&&b.startTime<=a;return!!(c||d||a)};
sma=function(a,b,c){this.url=a;this.interval=b;this.g=c};
tma=function(a,b){this.message=a;this.number=b;this.g=new lC(5E3,2E4,.2)};
uma=function(a,b,c,d){this.statusCode=a;this.statusMessage=b;this.headers=c;this.message=d};
vma=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=Ya(e[1]),e=e[2],b=DJ(b.slice(d+2));return null==b?null:new uma(f,e,b,a.subarray(c+4))};
kT=function(a,b,c,d,e){g.K.call(this);this.C=a;this.M=b;this.G=c;this.g=d;this.o=e;this.sessionId="";this.A=this.K=this.J=this.D=this.F=null;this.B=new g.OF(this);g.L(this,this.B);this.g?(this.B.R(this.g,"message",this.fL),this.B.R(this.g,"keystatuseschange",this.gL)):this.o&&(PF(this.B,this.o,["mskeymessage","webkitkeymessage"],this.xA),PF(this.B,this.o,["mskeyerror","webkitkeyerror"],this.wA),PF(this.B,this.o,["mskeyadded","webkitkeyadded"],this.vA))};
lT=function(a){return!(!a.g||!a.g.keyStatuses)};
mT=function(a,b){this.g=a;this.contentType=(void 0===b?"":b)||null;this.o=this.C=window.NaN;this.A=!1;this.B=[]};
nT=function(a,b){g.K.call(this);this.o=a;this.g=b;this.F={};this.B=null;this.C=new g.OF(this);g.L(this,this.C);this.A=this.D=null};
oT=function(a){if(a.g.A)return a.g.A.createMediaKeys().then(sE((0,g.y)(function(a){this.D=a;this.o.setMediaKeys(a)},a)));
jM(a.g)?a.A=new (iM())(a.g.o):lM(a.g)?(a.A=new (iM())(a.g.o),a.o.webkitSetMediaKeys(a.A)):wma(a);return null};
wma=function(a){PF(a.C,a.o,["keymessage","webkitkeymessage"],a.K);PF(a.C,a.o,["keyerror","webkitkeyerror"],a.J);PF(a.C,a.o,["keyadded","webkitkeyadded"],a.G)};
xma=function(a,b){var c=b.g;if(a.g.A){var d=a.D.createSession(),c=d.generateRequest(b.contentType,c),d=new kT(null,null,null,d,null);c.then(null,sE((0,g.y)(d.aA,d,"t.g")));return d}if(jM(a.g)){for(var d=new window.Uint8Array(270),e=0;135>e;e++)d[2*e]='<PlayReadyCDMData type="LicenseAcquisition"><LicenseAcquisition version="1.0" Proactive="true"></LicenseAcquisition></PlayReadyCDMData>'.charCodeAt(e);c=a.A.createSession("video/mp4",c,d);return new kT(null,null,null,null,c)}if(lM(a.g)){for(var d=c.subarray(4),
d=String.fromCharCode.apply(null,new window.Uint16Array(d.buffer,d.byteOffset,d.byteLength/2)).match(/ek=([0-9a-f]+)/)[1],e="",f=0;f<d.length;f+=2)e+=String.fromCharCode((0,window.parseInt)(d.substr(f,2),16));for(var f=a.g.fairPlayCert,d=new window.Uint8Array(new window.ArrayBuffer(f.length)),k=0;k<f.length;k++)d[k]=f.charCodeAt(k);for(var f=new window.ArrayBuffer(2*e.length),k=new window.Uint16Array(f),l=0;l<e.length;l++)k[l]=e.charCodeAt(l);e=new window.Uint8Array(f);f=0;l=new window.ArrayBuffer(c.byteLength+
4+e.byteLength+4+d.byteLength);k=new window.Uint8Array(l);l=new window.DataView(l);k.set(c);f+=c.byteLength;l.setUint32(f,e.length,!0);f+=4;k.set(e,f);f+=e.length;l.setUint32(f,d.byteLength,!0);k.set(d,f+4);c=a.A.createSession("video/mp4",k);return new kT(null,null,null,null,c)}a.o.generateKeyRequest?a.o.generateKeyRequest(a.g.o,c):a.o.webkitGenerateKeyRequest(a.g.o,c);a.B=new kT(a.o,a.g,c,null,null);return a.B};
pT=function(a,b){var c=a.F[b.sessionId];!c&&a.B&&(c=a.B,a.B=null,c.sessionId=b.sessionId,a.F[b.sessionId]=c);return c};
rT=function(a,b,c,d,e,f,k){f=void 0===f?!1:f;k=void 0===k?!1:k;g.K.call(this);this.B=a;this.o=d;this.o.subscribe("oauthtoken",this.Xy,this);this.F={session_id:e};this.X=!!f;this.ba=!!k;this.P=0;a=this.B.C;lM(this.B)&&(a=c.g.subarray(4),a=String.fromCharCode.apply(null,new window.Uint16Array(a.buffer,a.byteOffset,a.byteLength/2)).replace("skd://","https://"));qT(this,a);this.D=this.K=!1;g.LO("drm_gk_s");try{var l=xma(b,c)}catch(m){b="t.g",m instanceof window.DOMException&&(b+=";c."+m.code),this.o.Y("licenseerror",
"drm.unavailable",!0,b,"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK"),l=null}if(this.A=l)b=this.A,l=this.cL,a=this.bL,d=this.eL,b.F=this.dL,b.D=l,b.J=a,b.K=d,b.A=this,g.L(this,this.A);this.ca=c.B;this.G=[];this.g={};this.M=window.NaN;this.C=c.C||window.NaN};
qT=function(a,b){if(yma.test(b)){for(var c in a.F)b=Hg(b,c,a.F[c]);a.J=b}else sT(a,"drm.net",!0,"t.x")};
sT=function(a,b,c,d,e){a.na()||a.o.Y("licenseerror",b,c,d,e);c&&a.dispose()};
zma=function(a){if(!a)return{};var b={};(0,g.G)(a.split(";"),function(a){a=a.split(",");2==a.length&&(b[a[1]]={type:a[0],status:"unknown"})});
return b};
Ama=function(a){var b={requestedKeyIds:a.ca,cryptoPeriodIndex:a.C};a.A&&(b.keyStatuses=a.g);return b};
Bma=function(a){if(!lT(a.A))return a.G.join(",");var b=[],c;for(c in a.g)b.push.apply(b,[c,a.g[c].type,a.g[c].status]);return b.join(",")};
tT=function(){this.keys=[];this.values=[]};
vT=function(a,b,c,d,e){e=void 0===e?"":e;g.RF.call(this);a&&(a.addKey||a.webkitAddKey)||iM()||oM(c);this.F=c;this.K=a;this.g=b;this.subscribe("newlicense",this.BP,this);this.subscribe("newsession",this.CP,this);this.subscribe("sessionready",this.zQ,this);this.subscribe("keystatuseschange",this.hL,this);this.ga=e||g.tN();this.ca=null;this.A=new tT;this.B=this.D=null;this.o=[];this.G="fairplay"==this.g.g?XI:uT;this.O=new nT(a,b);g.L(this,this.O);this.C=null;jM(b)&&(this.C=new nT(a,b),g.L(this,this.C));
this.da=2;this.M=new g.OF(this);g.L(this,this.M);this.P=!1;this.X=null;this.J=!1;a=this.K;this.g.A?this.M.R(a,"encrypted",this.wO):PF(this.M,a,jM(this.g)?["msneedkey"]:["needkey","webkitneedkey"],this.yP);(a=oT(this.O))?a.then(sE((0,g.y)(this.fP,this)),sE((0,g.y)(this.CN,this))):this.J=!0;this.C&&oT(this.C);this.fa=d};
wT=function(a,b){a.ca=b;a.Y("oauthtoken",b)};
yT=function(a,b,c){a.na()||jM(a.g)==c||a.P&&a.fa||(a.P=!0,a.o.push(b),1<a.o.length||a.J&&xT(a))};
xT=function(a){for(;a.o.length;){var b=a.o[0];if(g.Bb(a.D,b.g))a.o.shift();else{if(a.A.get(b.g))if("fairplay"==a.g.g)a.A.remove(b.g);else{a.o.shift();continue}if("widevine"==a.g.g){a:{var c=b.g;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=k+(16*l+4);var m=e.getUint32(d+k-4);try{for(var n,q=new Dc(c.subarray(d+k,d+k+m)),r=new LD,k=q;Ec(k)&&4!=k.o;)switch(k.A){case 1:var w=
k.g;b:{for(var A,C,B=w,M=0,X=0;4>X;X++)if(C=B.o[B.g++],M|=(C&127)<<7*X,128>C){B.F=M>>>0;B.D=0;break b}C=B.o[B.g++];M|=(C&127)<<28;A=0|(C&127)>>4;if(128>C)B.F=M>>>0,B.D=A>>>0;else{for(X=0;5>X;X++)if(C=B.o[B.g++],A|=(C&127)<<7*X+3,128>C){B.F=M>>>0;B.D=A>>>0;break b}B.C=!0}}var xa=w.F,db=w.D;if(B=db&2147483648)xa=~xa+1>>>0,db=~db>>>0,0==xa&&(db=db+1>>>0);M=4294967296*db+xa;var fa=B?-M:M;Mc(r,1,fa);break;case 2:B=fa=Hc(k);I(r,2).push(B);break;case 3:fa=Gc(k);Mc(r,3,fa);break;case 4:fa=Hc(k);Mc(r,4,fa);
break;case 5:fa=Gc(k);Mc(r,5,fa);break;case 6:fa=Gc(k);Mc(r,6,fa);break;case 7:fa=Cc(k.g);Mc(r,7,fa);break;case 8:fa=Hc(k);Mc(r,8,fa);break;case 9:fa=Cc(k.g);Mc(r,9,fa);break;case 10:fa=Cc(k.g);Mc(r,10,fa);break;default:Fc(k)}n=r;if(null!=n){var uc=n;break a}}catch(eb){}}d+=f}uc=null}catch(eb){uc=null}}if(null!=uc)for(c=I(uc,7),null!=c&&(b.C=c),c=I(uc,10),null!=c&&0<c&&(b.o=c),c=I(uc,2),c=!c.length||c[0]instanceof window.Uint8Array?c:(0,g.H)(c,Baa),c=g.ka(c),d=c.next();!d.done;d=c.next())b.B.push(g.pc(d.value,
!0).replace(/[\.]{1,2}$/,""));a:{if(!(a.F.g("disable_license_delay")||"widevine"!=a.g.g||b.A||(0,window.isNaN)(b.C)))for(c=g.ka(a.A.values),d=c.next();!d.done;d=c.next())if(1>=Math.abs(d.value.C-b.C)){c=!0;break a}c=!1}if(c){Cma(a,b);a.o.shift();continue}}break}}a.o.length&&(b=a.o[0],a.A.get(b.g),uc=new rT(a.g,a.O,b,a,a.ga,a.F.g("html5_use_drm_retry"),a.F.g("html5_enable_ms_playready_hd")),uc.Xy(a.ca),"playready"==a.g.g&&a.F.g("playready_on_borg")&&(g.$b(uc.F,{prob:"1"}),qT(uc,uc.J)),a.A.set(b.g,
uc))};
Cma=function(a,b){a.B&&a.B.dispose();a.D=b.g;a.B=new g.rt(function(){a.D=null;a.B=null;b.A=!0;a.o.push(b);1<a.o.length||xT(a)},Dma(b.o));
a.B.start()};
Dma=function(a){return 1E3*Math.max(0,Math.random()*(((0,window.isNaN)(a)?120:a)-30))};
zT=function(a){var b={};this.A=(b.c1a=(0,g.y)(this.C,this),b.c3a=(0,g.y)(this.D,this),b.c6a=(0,g.y)(this.B,this),b);(this.g=a)&&this.g.ck?this.o=g.AE(this.g.ck):this.o=[]};
Ema=function(a,b){this.Z=a;this.g=b};
AT=function(a,b){var c=YI(YI(a.Z.zJ,b.xl),b.Bl);"auto"!=bJ()||(c=a.Z.experiments.g("html5_restore_performance_cap")?YI(c,new TI(0,dJ(),!1)):YI(c,a.Z.Uj));return c};
BT=function(a,b){var c=bJ();if("auto"!=c)var d=VI("auto",c,!1);else if(g.AK(a.Z)&&BK(a.Z.M,$M))d=XI;else{var e,c=!!b.ub.g;BN(a.Z)&&(e=window.screen&&window.screen.width?new g.Qd(window.screen.width,window.screen.height):null);e||(e=a.Z.ak?a.Z.ak.clone():a.g.Za());(yN||li||c)&&e.scale(g.PN());c=b.ub.videoInfos;if(c.length){var f=.85,k=3==c[0].video.projectionType;2!=c[0].video.projectionType||SM?k&&!SM&&(f*=.25):f*=.5;for(k=0;k<c.length&&!(d=c[k].video,null===e||d.width*f<e.width&&d.height*f<e.height);k++);
d=VI("auto",d.quality,!1)}else d=XI;e=d.g;VE()&&(e=Math.max(e,g.EI.hd1080));(OE("armv7")||OE("android"))&&!g.AK(a.Z)&&KI(b.ub.videoInfos[0])&&(e=Math.min(e,g.EI.large));e=Math.max(e,g.EI.medium);a.Z.experiments.o("html5_default_quality_cap")&&(e=Math.min(e,a.Z.experiments.o("html5_default_quality_cap")));d.g!=e&&(d=new TI(d.o,e,d.A))}return d};
CT=function(){g.K.call(this);this.A={};this.g={};this.o=new g.rt(this.hS,500,this);g.L(this,this.o)};
DT=function(a,b){return a.g[b]?a.g[b].g.ib():[]};
ET=function(a){this.A=a;this.g=new cR(100);this.o=window.NaN};
FT=function(){var a=tF("visibilityState",window.document);return!(!a||"visible"==a)};
Fma=function(a){var b=GT();b&&window.document.addEventListener(b,a,!1)};
GT=function(){if(window.document.visibilityState)var a="visibilitychange";else{if(!window.document[sF+"VisibilityState"])return"";a=sF+"visibilitychange"}return a};
HT=function(a,b,c,d,e,f){g.RF.call(this);this.Ua=new Hla;this.G=c;this.Ab=d;this.Lg=f;c=(0,g.y)(function(b,c){b!="crn_"+HT.g||!a.experiments.g("use_legacy_ended_cue_range_behavior")&&g.V(this.A,32)||IT(this);e(b,c)},this);
this.D=new IS((0,g.y)(this.getCurrentTime,this),(0,g.y)(this.DC,this),(0,g.y)(this.ET,this),c);g.L(this,this.D);this.pa=window.NaN;this.X=this.F=null;this.Z=a;this.sa=new Ema(a,this.Ab);this.Aa=!1;this.J=this.B=null;this.fa=[];this.ga=new WR;this.O=new WR;this.xf=this.Rc=this.Mg=this.ua=!1;this.jb=window.NaN;this.A=new g.TP;this.La=[];this.yf=b;this.ha=null;this.P=window.NaN;this.ka=new g.OF;g.L(this,this.ka);this.g=new g.hP;this.o=null;this.da=window.NaN;this.C=null;this.kg=this.Ja=!1;this.Pa=window.NaN;
this.xc=this.Cc=this.rb=this.Sa=!1;this.wb=this.Pc=window.NaN;this.Fh=a.experiments.g("html5_force_play_on_suspend_event");this.Gh=a.experiments.g("html5_force_play_on_suspend_event_limited");this.K=null;this.Hh=this.Z.experiments.g("html5_playing_event_buffer_underrun");this.ca=new CT;g.L(this,this.ca);this.ca.Ib("bufferhealth",(0,g.y)(this.Pw,this));this.ca.Ib("bandwidth",(0,g.y)(this.kH,this));this.ca.Ib("networkactivity",(0,g.y)(this.mH,this),!0);this.ca.start();this.wf=!1;this.Gb=!0;this.Qc=
this.Yb=!1;this.va=1;this.M=null;this.Jg=(0,g.y)(this.mR,this);Fma(this.Jg);this.Ng=new g.rt(this.Ns,0,this);g.L(this,this.Ng);this.Kg=this.jd=0};
JT=function(a){g.BG()?g.DG(a.Pa):g.wE(a.Pa)};
QT=function(a,b,c,d){a.fa.length=0;a.ga.reset();a.O.reset();a.pa=window.NaN;a.P=window.NaN;a.Ja=!1;a.Yb=!1;a.o&&a.o.Tf();KT(a);LT(a);MT(a);JT(a);a.ca.clear();a.Ng.stop();a.K=null;a.M=null;g.Le(a.g);if(2==a.yf||vN.test(a.Z.P))b.fy=!0;var e=jN(b.ac,a.Z.A,a.Z.Fb);e&&(b.adFormat=e);a.Z.ga&&(b.autonavState=a.g.autonavState);a.Gb=0!=d;a.g=b;a.g.subscribe("dataupdated",a.fR,a);a.g.subscribe("dataloaded",a.Vv,a);a.g.subscribe("dataloaderror",a.Sj,a);a.g.subscribe("onStatusFail",a.eR,a);b.endSeconds&&b.endSeconds>
b.startSeconds&&NT(a,b.endSeconds);Gma(a,c);a.Sa=!1;OT(a,"newdata");PT(a,new g.TP)};
Gma=function(a,b){LT(a);if(!a.g.Lj){var c=new Ila(a.g,a.Z,b,(0,g.y)(a.getDuration,a),(0,g.y)(a.getCurrentTime,a),(0,g.y)(a.nH,a),(0,g.y)(a.Ab.Za,a.Ab),(0,g.y)(a.au,a),(0,g.y)(a.DC,a),(0,g.y)(a.Aq,a),a.Lg,(0,g.y)(a.zH,a),(0,g.y)(function(){this.G.o("qoes")},a));
a.C=new yQ(c)}};
LT=function(a){if(a.C){var b=a.C;if(!b.na()&&b.B){b.D="paused";var c=CQ(b);c.sa=!0;c.send();c=b.o;"PL"==c.A&&(c.A="N");var d=g.JP(c.g);g.kQ(c,d,"vps",[c.A]);c.C(d);g.wE(b.C);b.dispose()}g.Le(a.C);a.C=null}};
ST=function(a){if(a.g.Ke())return!0;g.RT(a,"api.invalidparam",void 0,"invalidVideodata.1");return!1};
UT=function(a,b){a.ua=!!b;if(ST(a)&&!a.ga.o){a.ga.start();if(a.C){var c=a.C.o;c.g.g.experiments.g("html5_qoe_unstarted_in_initialization")?g.JP(c.g):g.kQ(c,g.JP(c.g),"vps",["N"]);c.g.videoData.Yn?tQ(c,"prefetch"):(c.o.user_intent=["0"],c.G=!0);c.g.videoData.yi&&(mQ(c,"reload",c.g.videoData.Qs),mQ(c,"reloadcount",c.g.videoData.yi.toString()));c.g.videoData.Mk&&tQ(c,"monitor");c.g.videoData.Da&&tQ(c,"live");c.g.videoData.eh&&tQ(c,"rqs");c.g.videoData.ag&&mQ(c,"ctrl",c.g.videoData.ag,!0);c.g.videoData.pf&&
mQ(c,"ytp",c.g.videoData.pf,!0);if(c.g.videoData.eB){var d=c.g.videoData.eB.replace(/,/g,".");mQ(c,"ytrexp",d,!0)}if(!c.g.g.experiments.g("html5_disable_gpu_reporting")){var e=c.g.videoData,d=c.g.g.experiments.g("enable_white_noise"),f=e.ii()||e.fh()||e.xg()||e.If(),e=0==e.clientPlaybackNonce.indexOf("gp");(d||f||e)&&(d=TT())&&(c.o.gpu=[d])}c.ba=g.xE((0,g.y)(c.C,c),1E4)}a.Vv()}};
XT=function(a){a.o&&hK(a.o);UT(a);ST(a)&&!g.V(a.A,128)&&(a.O.o||(a.O.start(),a.Z.experiments.g("html5_suspended_state")?PT(a,WP(WP(a.A,8),1)):(PT(a,WP(a.A,8)),a.g.Rb()||(PT(a,WP(a.A,1)),VT(a,"waiting_videodata")))),WT(a))};
WT=function(a){if(!a.O.g&&a.ga.g&&!g.V(a.A,128)&&!a.fa.length){if(!a.D.C){var b=a.D;b.C=!0;b.A()}if(!ZT(a)){a.B&&(b=a.B,a.Mg=!!b.ca&&!!b.ha);a.O.g||(a.O.g=!0);a.g.Da&&($T(a,window.Infinity,!0),aU(a,!0),FT()&&(a.kg=!0));if(a.C&&(b=a.C,b.g.videoData.enableCardio&&b.g.videoData.enableCardioBeforePlayback&&(b.po("connected"),HQ(b)),b.g.videoData.Da)){var b=b.o,c=b.g.videoData.xa;b.g.videoData.Je()&&tQ(b,"manifestless");c&&eM(c)&&tQ(b,"live-segment-"+eM(c).toFixed(1))}a.Y("playbackready",a);aP("pbr",a.G.g)||
(a.G.o("pbr"),g.LO("pbr",void 0,"video_to_ad"))}}};
IT=function(a,b){bU(a);PT(a,0==b?new g.TP:new g.TP(14))};
NT=function(a,b){a.X&&(a.D.F(a.X),a.X=null);a.X=new g.oJ(1E3*b,0x7ffffffffffff);a.X.namespace=HT.g;JS(a.D,[a.X])};
eU=function(a,b,c,d){a.g.Oa=c;a.g.yd=d||c;if(a.C){var e=cU(a),e=new HP(a.g,c,b,e?II(e):"");d&&"i"==b&&dU(a,b,d);d=a.C.o;c=g.JP(d.g);g.kQ(d,c,"vfs",[e.g.id,e.o,d.ga,"b"==e.reason?"a":e.reason]);d.ga=e.g.id;e=d.g.O();if(0<e.width&&0<e.height){var e=[Math.round(e.width),Math.round(e.height)],f=g.PN();1<f&&e.push(f);g.kQ(d,c,"view",e)}g.kQ(d,c,"vps",[d.A]);d.C(c);a.Z.experiments.g("html5_report_performance_cap")&&"i"==b&&(d=dJ())&&a.Xd("perfCap",""+d)}a.jd=0;a.Y("internalvideoformatchange",a.g,"m"==b)};
cU=function(a){if(!a.g.ub)return null;var b=YI(YI(BT(a.sa,a.g),fU(a)),gU(a));return g.ab(a.g.ub.videoInfos,(0,g.y)(b.B,b))};
dU=function(a,b,c){a.g.yd=c;if(a.C){var d=a.C.o;c=new HP(a.g,c,b,"");var e=g.JP(d.g);c.g.id!=d.M&&(g.kQ(d,e,"afs",[c.g.id,d.M,c.reason]),d.M=c.g.id)}"i"!=b&&a.Y("internalaudioformatchange",a.g,"m"==b)};
g.RT=function(a,b,c,d){var e,f;Nb(Hma,c)?e=c:c?f=c:e="YTP_ERROR_GENERIC_WITHOUT_LINK";b={errorCode:b,errorDetail:d,message:f||g.T(e),messageKey:e};PT(a,VP(a.A,128,b));JT(a);MT(a);hU(a)};
Ima=function(a,b){a.fa=a.fa.filter(function(a){return b!=a});
a.O.o&&WT(a)};
ZT=function(a){var b;(b=!!a.fa.length)||(a=a.D.g.g[0],b=!!a&&-0x8000000000000>=a.start);return b};
jU=function(a,b){a.o&&iU(a);a.Z.experiments.g("html5_suspended_state")&&!a.A.isError()&&PT(a,XP(a.A,512));a.o=b;a.o.g.loop=a.Qc;a.o.Sf(a.va);Jma(a)};
iU=function(a){a.g&&a.Z.experiments.g("new_ended_replay")&&(a.g.startSeconds=a.getCurrentTime());a.J&&(a.J.dispose(),a.J=null);a.B&&($S(a.B),a.B.G=!0);a.o&&(a.Z.experiments.g("html5_suspended_state")&&a.O.o&&!a.A.isError()&&!g.V(a.A,2)?PT(a,WP(a.A,512)):a.C&&a.ga.o&&g.V(a.A,64)&&!a.g.qg&&kU(a),KT(a),g.QF(a.ka),a.o.Tf(),a.o=null)};
pU=function(a){if(!g.V(a.A,128))if(a.wf)a.wf=!1,lU(a);else if(XT(a),g.V(a.A,64)&&PT(a,WP(a.A,8)),a.O.g&&a.o)if(a.g.ub){a.Z.experiments.g("new_ended_replay")&&g.V(a.A,2)&&$T(a,0,!0);if(a.g.Da){var b=mU(a),c=g.DP(a.g)&&g.V(a.A,4);if(b||c)!c&&a.Z.experiments.g("html5_live_pin_to_tail")?$T(a,a.Ic(),!0):$T(a,window.Infinity,!0);nU(a)?aU(a,!0):a.isPeggedToLive()&&$T(a,window.Infinity,!0)}oU(a)?Kma(a):a.o.fd()}else b=a.g.Da&&!g.PM()?"html5.unsupportedlive":"fmt.noneavailable",g.RT(a,b,"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK",
"selectableFormats.1")};
rU=function(a){KT(a);MT(a);qU(a)};
sU=function(a){if(a.g.ub){var b=fU(a)||XI;a=(0,g.se)(a.g.ub.videoInfos,(0,g.y)(b.B,b));for(var b=[],c={},d=0;d<a.length;d++){var e=a[d].video;c[e.quality]||(b.push(e),c[e.quality]=!0)}a=b}else a=[];return a};
tU=function(a){return YI(YI(YI(AT(a.sa,a.g),BT(a.sa,a.g)),fU(a)),gU(a))};
fU=function(a){return a.F?a.F.G:mP(a.g)&&a.g.ub.g&&VL(a.g.xa)?uT:XI};
uU=function(a,b,c){if(!a.na()&&!g.V(a.A,128)&&(c&&(a.g.Bl=c),mP(a.g))){"m"==b&&c&&WI(c)&&(b="a");c=tU(a);if(a.g.ub.g){if(a.B&&"i"!=b){var d=a.B;if(!d.na()&&d.g){(c=fma(d.F,c,b))&&d.Y("videoformatchange",c);MS(d);if(zS(d.F)&&"m"==b&&d.F.M||"b"==b)hS(d.g),hS(d.B);mS(d.g)&&WS(d,d.g,d.B);$S(d)}}}else{a:if(d=a.g.rl,c.g){for(var e=0;e<d.length;e++){var f=d[e].ze,k=g.EI[f.video.quality];if((!c.A||"auto"!=f.video.quality)&&k<=c.g){c=d[e];break a}}c=d[d.length-1]}else c=d[0];a.g.Ag=c;eU(a,b,a.g.Ag.ze)}a.A.yb()&&
pU(a)}};
g.vU=function(a){vka(a.g.xa,{cpn:a.g.clientPlaybackNonce,c:a.Z.B.c,cver:a.Z.B.cver});var b=Uja(a.Z,a.g);a.Z.schedule.policy.A=a.g.Je()?.5:0;a.B=new KS(a.Z.schedule,b,a.g.xa,a.g.ub,a.D);a.B.subscribe("initsegment",a.OO,a);a.B.subscribe("videoformatchange",a.YO,a);a.B.subscribe("audioformatchange",a.XO,a);a.B.subscribe("error",a.Sj,a);a.B.subscribe("ctmp",a.Xd,a);a.B.subscribe("seekelementrequired",a.lS,a);a.B.subscribe("seekplayerrequired",(0,g.y)(function(a,b){$T(this,a,!0,void 0,b)},a));
var b=g.gb(a.fa,"spacecast")||a.ua,c=a.au(),c=c.Uc.isDefault?void 0:c;a.B.initialize(a.g.startSeconds,tU(a),b,c);a.g.probeUrl&&(a.B.da=a.g.probeUrl);if(a.fa.length||a.ua)a.B.G=!0;a.ua&&kU(a)};
gU=function(a){var b=a.Z.experiments.o("html5_background_quality_cap");a=a.Z.experiments.o("html5_background_cap_idle_secs");return!b||"auto"!=bJ()||g.vG()/1E3<a?XI:FT()?new TI(0,b,!1):XI};
kU=function(a){a.Z.experiments.g("html5_suspended_state")||GQ(a.C,new g.dQ(new g.TP(4),a.A))};
MT=function(a){a.B&&(a.B.dispose(),a.B=null);a.J&&(a.J.dispose(),a.J=null)};
qU=function(a){if(a.J)return a.J.G;a.B?a.B.seek(a.getCurrentTime()):g.vU(a);try{a.J=new sK(a.o,a.Z.D)}catch(d){return d.message="window.URL object overwritten by external code",window.setTimeout(function(){throw d;},0),g.RT(a,"html5.missingapi","YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK","updateMs.1"),null}var b=(0,g.y)(a.gP,a),c=(0,g.y)(function(a){g.RT(this,"fmt.unplayable",void 0,"msi.1;ename."+a.name)},a);
a.Z.experiments.g("html5_sourceopen_promise")?Sja(a.J).then(b).then(void 0,c):(a.J.B=b,a.J.D=c);return a.J.G};
Lma=function(a){return 403==a.details.rc?(a=a.errorCode,"net.badstatus"==a||"manifest.net.retryexhausted"==a):!1};
lU=function(a){!a.g.qg&&a.g.yi||a.rb||(a.rb=!0,a.Y("signatureexpired"))};
wU=function(a){return"net.retryexhausted"==a.errorCode||"net.badstatus"==a.errorCode&&!!a.details.isPotentialFormatUnavaliable};
bU=function(a,b){if(g.V(a.A,64)&&!b)if(g.V(a.A,8))PT(a,YP(a.A));else return;a.o&&(g.V(a.A,128)||(b?PT(a,WP(a.A,256)):PT(a,YP(a.A))),a.o&&a.o.pause())};
xU=function(a){var b=a.Z.experiments.g("disable_html5_stopvideo_cancel_requests");bU(a,b);a.B&&(a.B.G=!0,b||QS(a.B))};
hU=function(a,b){a.o&&(a.o.pause(),KT(a),MT(a),a.g&&(a.g.startSeconds=a.getCurrentTime()),a.P=window.NaN,a.o.Tf(),g.V(a.A,128)||(b?PT(a,YP(a.A)):PT(a,VP(a.A))),a.Z.G.remove(a.g.videoId))};
$T=function(a,b,c,d,e){if(!a.o||!a.O.g||!a.o.qd()&&a.Z.experiments.g("new_ended_replay"))a.g.startSeconds=b||0;else{if(a.M&&b&&!(0,window.isFinite)(b)&&a.B){if(a.Z.experiments.g("html5_use_adaptive_live_readahead")&&a.g.isLowLatencyLiveStream){var f=a.M;if(f.o.length){var k=f.g;1<Math.min.apply(null,f.o)?f.g=Math.max(f.g-1,1):f.g=Math.min(f.g+1,8);if(k=k!=f.g)f.o=[],f.A=0;f=k}else f=!1;f&&a.C&&(f=eR(a.M),sQ(a.C.o,f))}a.B.sa=Math.max(0,a.M.g-1)}if(b&&!(0,window.isFinite)(b)&&a.g.qg&&a.g.Je()&&a.B){var l=
a.B;QS(l);f=Math.max(sR(l.g.o),sR(l.B.o));k=l.g;k.D=!0;k.C=-1;cS(k,window.Infinity);k.o.D=f;k=l.B;k.D=!0;k.C=-1;cS(k,window.Infinity);k.o.D=f;var k=l.D,m;for(m in k.g)sJ(k.g[m].index,window.Infinity);l.A.ka&&(l.X=!0);$S(l);l=f+.1}l||(l=g.Id(b||0,a.Ic(),yU(a,!1,e)));b=a.g.Da&&!g.V(a.A,4)&&nU(a,l);aU(a,b);a.g.startSeconds=l;a.P=l;b=a.Ua;b.g=l;b.o=!0;c?a.CC():(g.V(a.A,32)||(PT(a,WP(a.A,32)),g.V(a.A,8)&&bU(a,!0),a.Y("beginseeking",a)),d&&(a.ha||(a.ha=new g.rt(a.CC,d,a)),a.ha.start()),zU(a,!0));a.X&&l>
a.g.endSeconds&&(a.D.F(a.X),a.X=null);l<yU(a,!1)&&PT(a,XP(a.A,2));a.Y("seekto",a,l)}};
AU=function(a){return a.g.Da&&a.g.xa?fM(a.g.xa,a.getCurrentTime()):window.NaN};
Mma=function(a){if(!a.o)return 0;if(g.DP(a.g))return 1;if(EP(a.g)){if(a.isPeggedToLive())return 1;var b=a.o,c=iK(b),b=(0<$J(c)&&b.getDuration()?c.end(c.length-1):0)-a.Ic();a=yU(a,!0)-a.Ic();return Math.max(0,Math.min(1,b/a))}return lK(a.o)};
BU=function(a,b){var c={};if(b){a.C?g.Ba(c,xQ(AQ(a.C,"playback"))):a.g&&(c.cpn=a.g.clientPlaybackNonce);a.o&&g.Ba(c,mK(a.o));a.B&&g.Ba(c,iT(a.B));if(a.F){for(var d=a.F,e=d.g,e={systemInfo:{flavor:e.g,keySystem:e.o},sessions:[]},d=g.ka(d.A.values),f=d.next();!f.done;f=d.next())e.sessions.push(Ama(f.value));c.drm=e}c.state=a.A.o.toString(16);g.V(a.A,128)&&(c.debug_error=a.A.g);ZT(a)&&(c.preroll="1");a.g.wg&&(c.ismb=a.g.wg);a.g.isLowLatencyLiveStream&&(c.lowlatency="1");a.g.Da&&(a.g.xa&&eM(a.g.xa)&&
(c.segduration=eM(a.g.xa)),a.K&&(e=a.K.C,c.lat=e.g[e.o]||0));c.relative_loudness=a.g.relativeLoudness.toFixed(3);if(e=cU(a))c.optimal_format=e.video.qualityLabel;c.user_qual=bJ()}c.debug_videoId=a.g.videoId;return c};
OT=function(a,b){a.Y("internalvideodatachange",b||"dataupdated",a,a.g)};
Jma=function(a){(0,g.G)("loadstart loadeddata loadedmetadata play playing pause ended suspend progress seeking seeked timeupdate durationchange ratechange error waiting abort resize".split(" "),function(a){this.ka.R(this.o,a,this.GT,this)},a);
a.Z.Wj&&(a.ka.R(a.o,"webkitplaybacktargetavailabilitychanged",a.qN,a),a.ka.R(a.o,"webkitcurrentplaybacktargetiswirelesschanged",a.rN,a))};
CU=function(a){var b=a.getCurrentTime(),c=a.g;!aP("pbs",a.G.g)&&PO.measure&&PO.getEntriesByName&&(PO.getEntriesByName("mark_nr")[0]?$O("mark_nr"):$O());c.videoId&&a.G.info("docid",c.videoId);c.eventId&&a.G.info("ei",c.eventId);c.clientPlaybackNonce&&a.G.info("cpn",c.clientPlaybackNonce);0<c.startSeconds&&a.G.info("start",c.startSeconds.toString());a.o&&a.o.g.paused&&a.G.info("paused",1);c.Oa?a.G.info("fmt",II(c.Oa)):a.G.info("fmt","-1");c.Yn&&a.G.info("yt_pre",a.Mg?"2":"1");a.Z.ga&&a.G.info("yt_fs",
"1");a.G.info("cmt",b.toFixed(3));if(a.B){b=a.B;window&&window.performance&&window.performance.getEntriesByName&&(c=window.performance.getEntriesByName(b.ha),c.length&&(c=c[0],NS(b,"vri",c.fetchStart),NS(b,"vdns",c.domainLookupEnd),NS(b,"vreq",c.requestStart),NS(b,"fvb",c.responseStart),NS(b,"vrc",c.responseEnd)),c=window.performance.getEntriesByName(b.ca),c.length&&(c=c[0],NS(b,"ari",c.fetchStart),NS(b,"adns",c.domainLookupEnd),NS(b,"areq",c.requestStart),NS(b,"avb",c.responseStart),NS(b,"arc",c.responseEnd)));
var b=b.rb,d;for(d in b)a.G.o(d,b[d])}};
zU=function(a,b){if(a.o&&a.g){var c=a.getCurrentTime();if(mU(a)&&a.A.yb())a.Z.experiments.g("html5_live_pin_to_tail")?$T(a,a.Ic(),!0):$T(a,window.Infinity,!0);else{if(a.isPeggedToLive()){if(!nU(a,c)){if(a.A.yb()&&(a.g.Mk||g.DP(a.g))){$T(a,window.Infinity,!0);return}a.g.Da&&aU(a,!1)}if(a.Z.experiments.g("html5_use_adaptive_live_readahead")&&a.M){var d=a.M,e=a.Pw();d.A++;3>d.A||(d.o.push(e),50<d.o.length&&d.o.shift())}}else a.g.Da&&nU(a,c)&&aU(a,!0);if(a.B&&(d=a.B,d.o)){d.C!=c&&d.resume();if(d.O&&!uK(d.o)){var e=
d.C<=c&&c<d.C+10,f=0<=YJ(d.o.o.buffered,d.C+XS);e&&f&&(d.O=!1)}d.O||(d.C=c);aT(d)}5<c&&(a.g.startSeconds=c);(d=g.BG())?g.DG(a.Pa):g.wE(a.Pa);!g.bQ(a.A)&&a.o.g.paused||g.V(a.A,128)||(e=(0,g.y)(a.OH,a),a.Pa=0==(a.o.g.played||aK()).length?d?g.CG(e,1,100):g.yE(e,100):d?g.CG(e,1,500):g.yE(e,500));a.g.Df=c;!b&&a.A.yb()&&a.C&&(c=a.C,c.A.update(),c.g.videoData.Rb()&&c.g.videoData.Ef&&!c.O&&MP(c.A)>=c.g.videoData.Ef&&(c.B&&c.g.videoData.Ef&&(d=AQ(c,"delayplay"),d.Aa=!0,d.send(),c.O=!0),FQ(c)),d=c.ba,d.A||
!d.g.Fh||d.g.xc||!d.videoData.lengthSeconds?d=!1:(e=Math.min(.8*d.videoData.lengthSeconds,180),d=MP(d.B)>=e),d&&c.ba.send());a.Y("progresssync",a,b)}}};
PT=function(a,b){if(!g.ZP(a.A,b)){var c=new g.dQ(b,a.A);a.A=b;var d=!a.La.length;a.La.push(c);if(0<eQ(c,1)&&!g.V(c.g,16)&&g.V(a.A,8)&&!g.V(a.A,64)&&a.B){a.B.fa=!0;a.g.eh&&a.o&&a.Xd("rbinfo","rs."+a.o.g.readyState+";lact."+g.vG());var e=a.Z.experiments.o("html5_nnr_downgrade_count");if(e&&a.o&&5<=jK(a.o)){a.jd++;var f=a.g.Oa.video.o;a.jd==e&&360<f&&(e=a.sa,e.Z.Uj=new TI(0,f-1,!1),e.Z.experiments.g("html5_report_performance_cap")&&g.NG("yt-player-performance-cap",f-1,2592E3),uU(a,"b"),a.Z.experiments.g("html5_report_performance_cap")&&
a.Xd("perfDowngrade",""+f))}}0>eQ(c,8)&&(g.wE(a.da),a.da=window.NaN,aU(a,!1));0<eQ(c,8)&&!a.g.qg&&(0,window.isNaN)(a.da)&&(a.da=g.yE((0,g.y)(a.oA,a),15E3));0<eQ(c,32)&&aU(a,!1);g.V(c.state,2)&&EP(a.g)&&(f=a.getCurrentTime(),a.g.lengthSeconds!=f&&(a.g.lengthSeconds=f,OT(a)),zU(a,!0));0<eQ(c,2)&&a.Ts();a.Z.experiments.g("html5_suspend_manifest_on_pause")&&a.g.xa&&a.g.Da&&(0>eQ(c,8)?(f=a.g.xa,f.A&&f.A.stop()):0<eQ(c,8)&&a.g.xa.resume());0<eQ(c,1)&&(a.wb=g.yE((0,g.y)(a.eS,a),5E3));a.C&&GQ(a.C,c);if(d)try{for(d=
0;d<a.La.length;d++){var c=a.La[d],k=a.D,f=c;if(k.C&&!k.J&&(k.A(),g.V(f.g,16))){var f=k,l=HS(f.g,Math.max(f.B-2E3,0));null!=l&&0x7ffffffffffff>l&&f.D.start()}a.Y("statechange",c)}}finally{a.La.length=0}}};
DU=function(a){g.V(a.A,2)||g.V(a.A,32)||(a.P=window.NaN)};
aU=function(a,b){a.g.Da&&a.Aa!=b&&(a.Aa=b)};
Kma=function(a){a.Z.eN?g.yE((0,g.y)(function(){this.o.fd()},a),0):a.o.fd()};
oU=function(a){if(!a.o||!a.g.ub)return!1;if(a.g.ub.g){var b=qU(a);a.B.resume()}else MT(a),b=a.g.Ag.g();var c=a.o.o;return c&&null!=b&&b.g==c.g?!1:(a.G.o("vta"),g.LO("vta",void 0,"video_to_ad"),hK(a.o,b),Nma(a),a.J&&EG(4),g.wE(a.da),!a.g.qg&&$P(a.A)&&(a.da=g.yE((0,g.y)(a.oA,a),15E3)),!0)};
Nma=function(a){if(g.uP(a.g)&&a.o){var b=a.g.Nf;if(b){if(a.F)if("fairplay"==b.g)KT(a);else return;var c=a.o.ra();a.F=new vT(c,b,a.Z.experiments,"widevine"==b.g&&!a.g.Da&&!a.g.wr,a.g.drmSessionId);a.F.subscribe("newsession",a.AP,a);a.F.subscribe("licenseerror",a.SO,a);a.F.subscribe("qualitychange",a.TO,a);a.F.subscribe("heartbeatparams",a.FT,a);a.F.subscribe("keystatuseschange",(0,g.y)(function(a){this.Xd("keystatuses",Bma(a))},a));
wT(a.F,a.g.oauthToken)}else g.RT(a,"fmt.unplayable","YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK","drm.1")}};
KT=function(a){a.F&&(a.F.dispose(),a.F=null)};
yU=function(a,b,c){if(!a.o)return 0;if(!a.g.Da)return a.g.yk();if(b&&(a.isPeggedToLive()||g.DP(a.g)))return a.getCurrentTime();if(a.g.ub&&a.g.ub.g){b=a.Ic();var d=a.g.yk();a.M&&!c&&(d-=eR(a.M));return Math.max(d,b)||0}a=a.o.g.seekable||aK();return(1>a.length?window.NaN:a.end(a.length-1))||0};
EU=function(a,b){a.va=b;a.o&&a.o.Sf(b)};
nU=function(a,b){void 0==b&&(b=a.getCurrentTime());var c=b,d=yU(a,!1);if(a.g.xa){var e=a.Z.experiments.o("html5_allowable_liveness_drift_chunks")||2;0<e&&!a.Aa&&e--;var f=eM(a.g.xa);e=(0,window.isNaN)(f)?e:e*f}else e=window.NaN;return c>=d-e};
mU=function(a){return a.getCurrentTime()<a.Ic()-15};
VT=function(a,b){a.Z.experiments.g("html5_log_rebuffer_reason")&&a.Xd("bufreason","r."+b+";lact."+g.vG())};
FU=function(a,b){IQ.call(this,a,b)};
g.GU=function(a){return a.app.A};
g.HU=function(a){a=g.GU(a).J;return!!a&&a.Yy()};
IU=function(a){var b=g.GU(a);a=g.Y(a);var c=b.J;return c&&c.Zy()?!a.experiments.g("mweb_autonav")||c.isAvailable:g.CP(b.U.ia(),"ypc_module")};
g.JU=function(a,b){3==a.Xa()?a.Y("mdxautoplaycancel"):a.Y("autonavcancel",b)};
g.Y=function(a){return a.app.Z};
g.NU=function(a){var b=a.app;a=a.playerType;return 3==KU(b)?g.LU(b.A).F:g.MU(b,a).A};
g.OU=function(a){return a.app.F};
PU=function(a){var b=g.LU(g.GU(a));return a.app.X&&!a.isFullscreen()||3==a.Xa()&&b.hasNext()&&b.Kf()||!!a.Rf()};
g.QU=function(a){if(uF())if(a.isFullscreen())wF(a.getRootNode());else{a=a.getRootNode();var b=rF(["requestFullscreen","webkitRequestFullscreen","mozRequestFullScreen","msRequestFullscreen"],a);b&&b.call(a)}else a.za("onFullscreenToggled",a.isFullscreen())};
g.RU=function(a){var b={};a=sU(g.MU(a.app));a=g.ka(a);for(var c=a.next();!c.done;c=a.next())c=c.value,b[c.quality]=c;return b};
g.SU=function(a){return(a=g.MU(a.app))?g.ZI(AT(a.sa,a.g)):"unknown"};
TU=function(a){a=(a=g.MU(a.app))?(a=cU(a))?a.video.o:0:0;return a};
g.UU=function(a){return(a=g.GU(a).B)?a.az():{}};
g.WU=function(a,b){g.Y(a).experiments.g("ui_logging")&&g.VU(a,"controlclicked",{controlClicked:b})};
g.VU=function(a,b,c,d){var e=g.MU(a.app);c.event=b;a.isFullscreen()&&(c.fs=1);c.ux=1;e.logEvent(c,d)};
g.XU=function(a){a=g.GU(a).A;return!!a&&a.Gl()};
g.YU=function(a){a=g.GU(a).A;return!!a&&a.EC()};
ZU=function(a){a=g.MU(a.app);return!!a&&a.xc};
g.aV=function(a,b,c){$U(a.app,b,c||a.playerType)};
g.cV=function(a,b,c){var d=a.app;a=c||a.playerType;if(c=g.MU(d,a))c.D.F.apply(c.D,b),a&&KU(d)!=a||bV(d,"cuerangesremoved",b)};
g.dV=function(a,b,c){var d=a.app;a=c||a.playerType;if(c=g.MU(d,a)){c=c.D;for(var e=[],f=c.g.g,k=f.length-1;0<=k;k--){var l=f[k];if(l.namespace==b){var m=c.o.indexOf(l);0<=m&&c.o.splice(m,1);var n=c.g,m=n.g,n=g.xb(m,l,n.o);0<=n&&g.lb(m,n);e.push(l)}}c.A();a&&KU(d)!=a||bV(d,"cuerangesremoved",e)}};
g.eV=function(a,b){var c=g.MU(a.app,a.playerType);c&&Ima(c,b)};
g.fV=function(a){a=a.ia().Oa;return!!a&&!MI(a)&&"application/x-mpegURL"!=a.mimeType};
g.gV=function(a){a=a.ia();return!!(a.adaptiveFormats||a.hlsFormats||a.we)};
g.hV=function(a,b,c){a=g.OU(a).element;var d=yb(a.children,function(a){a=(0,window.parseInt)(a.getAttribute("data-layer"),10);return c-a||1});
0>d&&(d=-(d+1));pe(a,b,d);b.setAttribute("data-layer",c)};
g.iV=function(a){var b=g.Y(a);if(!b.Jg)return!1;var c=a.ia();if(!c||3==a.Xa())return!1;b=c.Da&&(!b.experiments.g("allow_live_autoplay")||c.isLiveDefaultBroadcast);return!c.ypcPreview&&!b&&!g.gb(c.ie,"ypc")&&!a.Rf()};
kV=function(a,b,c){if(g.Y(a).fa){a=a.app.da;g.kb(a.A,b);var d=String(a.G++);b.element.setAttribute("data-visual-id",d);g.jV(a,"onLogClientVeCreated",{id:d,ve_type:c});g.Ke(b,(0,g.y)(a.F,a,b))}};
g.lV=function(a,b){g.Y(a).fa&&a.app.da.click(b)};
g.mV=function(a,b,c){g.Y(a).fa&&(a=a.app.da,b=b.element.getAttribute("data-visual-id"),c?g.kb(a.g,b):g.nb(a.g,b),c&&!g.gb(a.o,b)&&(g.jV(a,"onLogVesShown",{ids:[b]}),g.kb(a.o,b)))};
Oma=function(){a:{try{var a=window.top.location.href}catch(b){a=2;break a}a=null!=a?a==window.document.location.href?0:1:2}a={dt:RA,flash:ni||"0",frm:a};Xh(a);return a};
nV=function(a,b){var c=g.PD("VALID_SESSION_TEMPDATA_DOMAINS",[]),d=g.ug(window.location.href);d&&c.push(d);d=g.ug(a);if(g.gb(c,d)||!d&&g.Fa(a,"/"))if(g.$E("autoescape_tempdata_url")&&(c=window.document.createElement("a"),g.Gd(c,a),a=c.href),a&&(c=g.sg(a),c=g.rg(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.QG();c="ST-"+g.Ua(c).toString(36);d=b?g.Ag(b):"";tH.set(""+c,d,5,"/","youtube.com");b&&(c=b.itct||b.ved,d=g.v("yt.logging.screen.storeParentElement"),
c&&d&&d(new g.ZF(c)))}};
g.oV=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.Cg(a,b)+c;a=a instanceof ud?a:xd(a);d.href=vd(a)};
pV=function(a){(window.ytspf||{}).enabled?window.spf.navigate(a):g.oV(a)};
g.qV=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?!1:c;var d=g.PD("EVENT_ID");d&&(b.ei||(b.ei=d));b&&nV(a,b);if(c)return!1;pV(a);return!0};
g.rV=function(a,b,c){c&&nV(a,c);window.open(a,b||g.Ua(a).toString(36))};
g.sV=function(a){g.RF.call(this);this.g=a;this.loaded=!1};
tV=function(a){g.sV.call(this,a);this.Yd="";this.K=new g.OF(this);g.L(this,this.K);this.C=!1};
uV=function(a,b,c){for(var d=0;d<b.length;d++)b[d].namespace=a.Yd;g.aV(a.g,b,c)};
vV=function(a){g.eV(a.g,a.Yd)};
wV=function(a,b,c){var d={},e;for(e in b)d[a.Yd+"_"+e]=b[e];b={};for(var f in c)b[a.Yd+"_"+f]=c[f];a=g.GU(a.g);g.Ba(a.ca,d||null);g.Ba(a.ba,b||null)};
g.xV=function(a){g.W.call(this,a);this.ba=new g.RF;g.L(this,this.ba)};
g.yV=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),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.zV=function(a){return(!g.oa(a.button)||0==a.button)&&!a.shiftKey&&!a.altKey&&!a.metaKey&&!a.ctrlKey};
AV=function(a,b){(a=g.Wd(a))&&a.style&&(g.N(a,b),g.S(a,"hid",!b))};
g.BV=function(a){(0,g.G)(arguments,function(a){!g.ua(a)||a instanceof window.Element?AV(a,!0):(0,g.G)(a,function(a){g.BV(a)})})};
g.CV=function(a){(0,g.G)(arguments,function(a){!g.ua(a)||a instanceof window.Element?AV(a,!1):(0,g.G)(a,function(a){g.CV(a)})})};
g.DV=function(a,b,c,d){g.K.call(this);this.o=a;c||a.hide();this.B=null==d?b:d;this.g=null;this.A=new g.rt(this.Do,0,this);g.L(this,this.A)};
EV=function(a,b){var c=a.o.element;b?c.setAttribute("aria-hidden",!0):c.removeAttribute("aria-hidden")};
GV=function(a,b){this.g=a;this.o=g.oa(b)?b:null;if(g.gb(FV,this.g)){if(!g.oa(this.o)||0>this.o)throw Error("Must have valid offset");}else if(null!==this.o)throw Error("Must not have offset");};
HV=function(a){var b=a.o;if(null!==b)return b;switch(a.g){case 1:return 0;case 3:return-1;default:return-100}};
Pma=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.o,f=b.o;return e!=f?null===e?1:null===f?-1:e-f:c-d};
IV=function(a){this.o=a};
JV=function(a){return a?-1!=a.toString().search(/(?:true|1)/i):!1};
KV=function(a,b){if(a){var c="getErrorCode"in a?a.Nb():null;c?b.error_code=c:(c="getMessage"in a&&g.va(a.getMessage)?a.Cd():a.message,c=Ka(c||"",50),b.error_message=c)}};
LV=function(a,b){if(a){var c=bs(a).reverse();b.ad_id=g.pb(c,$r(a)).join(",");c=ds(a).reverse();b.ad_sys=g.pb(c,Sr(a)).join(",");c=dq(a);null!=c&&(b.aqi=c)}};
MV=function(a,b){if(a[b])return JV(a[b]);var c=b.toLowerCase(),d;for(d in a)if(d&&d.toLowerCase()==c)return JV(a[d]);return!1};
NV=function(a,b,c){var d=new Mn;d.Mi=b.baseYtUrl;d.contentId=c.videoId;d.Kt=!BN(b);d.Mt=!0;d.kC=!0;d.lC=a.P;d.showContentThumbnail=a.showContentThumbnail;d.xj={};c.ag&&(d.xj.ctrl=c.ag);c.pf&&(d.xj.ytr=c.pf);c.Cm&&(d.xj.ytrcc=c.Cm);c.isMdxPlayback&&(d.xj.mdx="1");a.D?(d.Ep=!0,d.tw=!0,d.showContentThumbnail=!1,d.It=!0,d.Lt=!0,d.Mt=!1):a.G&&(d.Ep=!0);d.Dx=a.g;return d};
QV=function(a){var b=new dA;b.C=a.o.Ua;var c=a.app.F.Za();b.dj=c.width;b.cj=c.height;b.df=c.width;b.cf=100;b.zw=!0;c=new ym;c.g=(0,g.y)(OV(a).experiments.g,OV(a).experiments);c.o=(0,g.y)(OV(a).experiments.o,OV(a).experiments);c.A=(0,g.y)(OV(a).experiments.A,OV(a).experiments);b.Ro=c;if(c=b.zw?g.vG():-1)b.G=c;a.o.tagForChildDirected&&(b.vo=!0);a.o.jd&&(b.mn=!0);c=PV(a);b.Fc={CA_TYPE:$n?"flash":"image",CONTENT_V:c.videoId,CPN:c.clientPlaybackNonce,EID:c.eventId,LACT:Qma(a),VIS:Rma(a)};g.Jb(Oma(),function(a,
c){b.Fc[c.toUpperCase()]=a});
b.language=OV(a).Ja;var d=0;b.lm=function(){var b=new IV(a),c=Sma(OV(a).experiments);if(0==d)if(a.ne("a_bid_s"),Jf(c)){var k=(0,g.y)(a.ne,a,"a_bid_f");c.then(k,k)}else a.ne("a_bid_f");Tma(c,OV(a).experiments,b,d);d++;return c};
return b};
Sma=function(a){function b(a){if(d)return"ERR_BID";throw a;}
var c=a.g("html5_serverside_call_server_on_biscotti_timeout"),d=a.g("html5_serverside_call_server_on_biscotti_error"),e=null,f=null;mF().then(function(a){e=a},function(a){c&&a.o?e="NO_BID":d?e="ERR_BID":f=a});
if(null!=e)return e;if(null!=f)return f;var k=a.o("html5_serverside_biscotti_id_wait_ms");if(0==k)return c?"NO_BID":d?"ERR_BID":RV;if((0,window.isNaN)(k))return a=g.Vf(mF(),b),g.Vf(a,g.x),a;var l;a=new g.Lf(function(a,b){l=new g.rt(function(){c?a("NO_BID"):b(RV)},k);
l.start()});
a=g.Vf(gba([mF(),a]),b);jba(g.Vf(a,g.x),function(){l.dispose()});
return a};
Tma=function(a,b,c,d){function e(a){a==RV||a instanceof dF&&a.o?f({"bid.type":"timeout","bid.count":d,"bid.msg":a.toString(),"bid.timeout":b.o("html5_serverside_biscotti_id_wait_ms")}):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.y)(c.g,c,["html5_serverside_get_biscotti_id_from_client"],"coldwatch");Jf(a)?a.then(null,e):a instanceof Error&&e(a)}};
Qma=function(a){return{toString:function(){return null==a||a.na()?a=null:g.vG().toString()}}};
Rma=function(a){return{toString:function(){return null==a||a.na()?a=null:a.g.In().toString()}}};
Uma=function(a){return{toString:function(){if(null==a||a.na())return a=null;var b=a.md?a.md.g:null;return null==b||0>b?"0":Math.ceil(.001*(0,g.F)()-b).toString()}}};
SV=function(a,b,c,d){this.o=this.B="";this.A=a;this.F=b;this.g=c;this.D=d};
TV=function(a){var b={};b.l_ns=a.F;b.l_state=a.D;b.break_type=a.A.g;b.sst=HV(a.A);b.sidx=0;a.B&&(b.at=a.B);a.o&&(b.ad_id=a.o);return b};
UV=function(){g.K.call(this);this.o=new g.rt((0,g.y)(this.D,this),1E3);g.L(this,this.o);this.B=this.A=0;this.g=iba();this.C=!1};
XV=function(){var a=g.v("yt.www.watch.ads.loadAfc");g.va(a)?(a(),VV=!0):WV=!0};
YV=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"};
$V=function(){var a=g.v("window.google_show_companion_ad");var b=g.v("yt.www.watch.ads.getGlobals");g.va(a)&&g.va(b)?(b=b(),b=!(!b||!b.length)):b=!1;b?a():ZV=!0};
dW=function(a){if(O.A){if(!a)return Qf();aW(a,{afvMpu:{}});return Pf()}$V();bW();return cW()};
cW=function(){eW||(eW=new UV);var a=eW;a.C||(a.o.start(),a.C=!0);return a.g.g};
bW=function(){eW&&(eW.dispose(),eW=null)};
fW=function(){var a=g.v("yt.www.watch.ads.setCompanion");a&&a()};
Vma=function(a){var b=g.v("yt.www.watch.ads.showForcedMpu");b&&b(a)};
gW=function(a,b,c,d){g.RF.call(this);this.g=a;this.o=d;this.videoData=null;this.adType=c;this.adSystem=b};
Wma=function(a,b,c){this.g=a;this.o=b;this.A=c||0};
hW=function(a){var b=[];(0,g.G)(a.split("_"),function(a,b){this[b]=Wa(a)},b);
return new Wma(Nb(Xma,b[0])?b[0]:0,Nb(Yma,b[1])?b[1]:0,Nb(Zma,b[2])?b[2]:0)};
$ma=function(){this.clickThroughUrl="";this.isSkippable=this.isBumper=!1;this.skipShown=this.skip=g.x;this.skipTime=0;this.videoUrl=this.videoId="";this.adSystem=0;this.muteAdInfo=this.whyThisAdInfo=null;this.whyThisAdClosed=this.whyThisAdClicked=this.muteAd=this.sendAdsPing=g.x};
iW=function(a){var b={H:"div",N:"video-ads",L:[{H:"div",N:"video-ad-status-bar",L:[{H:"div",N:"video-ad-label",L:[g.T("YTP_ADVERTISEMENT")]}]},{H:"div",N:"ad-container"}]};g.W.call(this,b);this.B=a;this.A=this.o=null};
jW=function(a){a.o||(a.o=a.wa["ad-container"],g.Y(a.B).yf&&(yN&&!(0<=g.Ta(qi,"10.0"))&&g.Y(a.B).experiments.g("disable_mweb_iphone_ad_click_handling_functionality")||g.R(a.o,"ad-container-single-media-element-annotations")));return a.o};
kW=function(a){if(!a.A){var b=g.je("div");g.Hp(b,["video-click-tracking","ad-video"]);jW(a).appendChild(b);a.A=b}return a.A};
ana=function(a){this.g=a};
bna=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};
lW=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}};
cna=function(a,b){this.C=null;this.A=window.NaN;this.o=null;this.g=a;this.B=b};
mW=function(a,b,c){a.g.Y("AD_LOGGING_EVENT",b,c)};
pW=function(a,b,c){nW(a);var d=oW(a);c&&g.Ba(d,c);d.ad_error=b;mW(a,7,d)};
oW=function(a){var b={},c=a.g.videoData,d=a.g.Um(),e=a.g.Il();LV(a.g.Mb(),b);d&&0<d&&(b.ad_len=d);b.ad_v="0";c&&c.videoId?b.ad_v=c.videoId:e&&(c=g.ug(e),b.ad_dom=c,(c=a.B.o)&&c.G&&(b.ad_v_url=e.substr(0,512)));e=a.g;(e=e.o?e.o.Ae():null)&&(b.ad_cpn=e);b.format=a.g.vf();b.at=a.g.Yh();b.ad_mt=Math.round(1E3*Math.max(dna(a.g),0));return b};
nW=function(a){a.C||(a.C="InstreamAdDisplay ("+a.g.vf()+")")};
qW=function(a,b){g.K.call(this);this.B=Math.max(0,a);this.A=this.o=0;this.C=b;this.g=window.NaN};
rW=function(a,b){this.o=a;this.g=b};
sW=function(a,b){return a.o+b*a.getLength()};
tW=function(a,b,c){if(!a.getLength())return null!=c?c:window.Infinity;a=(b-a.o)/a.getLength();return g.Id(a,0,1)};
uW=function(){this.o=this.position=this.B=this.g=this.C=this.A=this.width=window.NaN};
vW=function(a,b,c,d,e){var f=b.Gz/b.rows,k=Math.min(c/(b.Iz/b.columns),d/f),l=b.Iz*k,m=b.Gz*k,l=Math.floor(l/b.columns)*b.columns,m=Math.floor(m/b.rows)*b.rows,n=l/b.columns,q=m/b.rows,r=-b.IG*n,w=-b.Oc*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 "+w+"px/"+l+"px "+m+"px";if(e)return new g.Qd(n,
q)};
xW=function(a,b,c,d,e,f,k,l){gW.call(this,b,a,2,c);this.P=!1;this.F=this.da=this.X=null;this.g.subscribe("control_toggle_play_pause",this.VC,this);this.g.subscribe("control_play",this.Js,this);this.g.subscribe("control_pause",this.Is,this);this.C=new cna(this,this.g);this.A=new g.MF(this);this.B=wW(b.g.app,2);this.B.subscribe("statechange",this.TC,this);this.B.subscribe("internalAbandon",this.Qz,this);this.B.subscribe("internalvideodatachange",this.UC,this);this.G=!1;this.J=this.O=null;this.D=!1;
this.fa=d;this.ka=e;this.ca=!!f;this.ga=!!k;this.M=l;this.K=new qW(15E3,(0,g.y)(this.abort,this));this.ha=b.o.P&&"3"==OV(b).C};
zW=function(a,b){if(!a.na()&&a.ha){var c=a.g.app.F;c.F=!b;yW(c)}};
DW=function(a){XO("ad_to_video",["pbresume"]);a.M&&g.MO("yt_abt",a.M,"ad_to_video");a.videoData&&a.videoData.clientPlaybackNonce&&g.MO("ad_cpn",a.videoData.clientPlaybackNonce,"ad_to_video");a.videoData&&a.videoData.videoId&&g.MO("ad_docid",a.videoData.videoId,"ad_to_video");g.LO("adc",void 0,"ad_to_video");var b=a.g.o;if(b&&(b.ua||b.va||b.Aa||b.Ja)){var c=AW(a.g);if(c&&null!==a.O&&null!==a.J){a.videoData.uc=a.J;var d=c.getVolume();1E-6>=Math.abs(d-a.O*b.K)&&c.setVolume(a.O)}}hU(wW(a.g.g.app,2));
BW(a.g,0);CW(a.g,0);a.Y("adEnd",a);zW(a,!0)};
EW=function(a,b){OV(a.g).experiments.g("html5_ad_error_releases")?hU(a.B):IT(a.B);BW(a.g,0);a.Y("adError",b)};
dna=function(a){return a.B?a.B.getCurrentTime():0};
FW=function(a){a=a.Mb();return a?(a=a.G.get("why_this_ad"))?{menuTitle:a.B,closeButton:a.A,targetingReasonHeader:a.C,targetingReasons:g.qb(a.D),adSettingsLink:g.qb(a.o),controlText:a.G,continueButton:a.F,cancelButton:a.K}:null:null};
GW=function(a){a=a.Mb();if(!a)return null;a=a.G.get("mute");if(!a)return null;for(var b=Ws(a),c=[],d=0;d<b;d++)c.push({label:a.o[d].label,url:a.o[d].url});return{goneText:a.A,questionText:a.C,undoText:a.D,hoverText:a.B,surveyOptions:c}};
HW=function(a,b){a.J=a.videoData.uc;a.O=b.getVolume()};
ena=function(a,b){this.g=a;this.C=b;this.g.vf();this.o=this.B=0;this.A=null};
IW=function(a,b,c){a.g.Y("AD_LOGGING_EVENT",b,c)};
JW=function(a){var b={};LV(a.g.Mb(),b);a.B&&a.o&&(b.ot=a.o-a.B);var c=a.C.isFullscreen()?2:a.C.app.pa?1:0;b.ad_ps=c;b.format=a.g.vf();b.at=a.g.Yh();return b};
KW=function(a,b,c,d){gW.call(this,b,a,1,c);this.A=null;this.D=!1;this.G=null;this.C=new ena(this,b);this.B=new g.MF(this);this.F=!!d};
LW=function(a,b){var c=a.g.getRootNode();g.S(c,"ytp-ad-overlay-open",b);g.S(c,"ytp-ad-overlay-closed",!b)};
MW=function(a,b,c,d){g.K.call(this);this.K=null;this.G=a;this.o=b.Vb;this.C=b;this.J=b.getId();this.g=c;this.D=d;this.A=new SV(this.o,this.G,c,d);this.qb=null;this.O=new g.cm(this);this.B=new g.cm(this);this.M=/^(http(s)?:\/\/)(.*.)?youtube.com\/.*$/};
NW=function(a,b){a.K=b;var c=b.vf();a.A.B=c};
OW=function(a,b){var c=g.v("yt.www.watch.ads.setAdId");c&&c(b);a.A.o=b};
PW=function(a){dW(a.g).then(function(){this.A.C()},g.x,a)};
fna=function(a){this.g=a};
QW=function(a){gW.call(this,a,2,3,null)};
RW=function(a,b,c){MW.call(this,2,a,b,c);this.F=new fna(this.g.o);YV()};
gna=function(a,b){this.g=a?a:"";this.kc=b};
SW=function(a,b,c,d){KW.call(this,1,a,b,d);this.J=c};
TW=function(a,b,c){MW.call(this,1,a,b,c);this.F=new gna(this.g.o.adTag,this.J)};
UW=function(a,b){var c=b.o;this.F=c.forceAdUrl;var d=0,c=c.forceAdType.toUpperCase();"INVIDEO"==c?d=4:"INSTREAM"==c?d=1:"MPU"==c&&(d=8);MW.call(this,2,a,b,d)};
hna=function(a){a=Kq(a);var b=Lq(a);return{plaShelfItemRenderer:{headline:VW(a.pd()),merchant:VW(Nq(b)),image:{thumbnails:[{url:Oq(a).getImageUrl()}]},priceText:VW(Pq(b)),reviewText:VW(dr(b,"review_text")),rating:ev(b,"rating",0),clickthroughEndpoint:{webNavigationEndpointData:{url:Rq(xv(b))},urlEndpoint:{url:Rq(xv(b)),target:"TARGET_NEW_WINDOW"}}}}};
VW=function(a){return{runs:[{text:a}]}};
jna=function(){WW||(WW=ina()?Pf():new g.Lf(function(a){g.gG("watchAdsInit",a)}));
return WW};
ina=function(){var a=g.v("yt.www.watch.ads.promotionShelfShow");return g.va(a)};
kna=function(a){var b=g.v("yt.www.watch.ads.promotionShelfClear");b&&b();b=g.v("yt.www.watch.ads.promotionShelfShow");null!=b&&b(a)};
XW=function(){this.B=new g.W({H:"button",ea:["ad-carousel-nav-button","ad-carousel-nav-prev"],T:{type:"button",onclick:"return false;"},L:[{H:"span",ea:["ad-carousel-prev-icon","yt-uix-tooltip","yt-sprite"],T:{"data-tooltip-text":"Prev",title:"Prev"}}]});g.L(this,this.B);this.B.V("click",this.F,this);this.A=new g.W({H:"button",ea:["ad-carousel-nav-button","ad-carousel-nav-next"],T:{type:"button",onclick:"return false;"},L:[{H:"span",ea:["ad-carousel-next-icon","yt-uix-tooltip","yt-sprite"],T:{"data-tooltip-text":"Next",
title:"Next"}}]});g.L(this,this.A);this.A.V("click",this.D,this);g.W.call(this,{H:"div",N:"ad-carousel",L:[{H:"div",N:"ad-carousel-clip",L:[{H:"ul",ea:["ad-carousel-list","ad-carousel-list-animation"],L:["{{items}}"]}]},this.B,this.A]});this.C=this.wa["ad-carousel-list"];this.o=0;this.Ma=[]};
lna=function(a,b){a.clear();a.Ma=(0,g.H)(b,function(a){var b=new g.W({H:"li",N:"ad-carousel-listitem",L:[{H:"div",N:"ad-carousel-item",L:[a]}]});g.L(b,a);return b});
a.Fa("items",a.Ma)};
ZW=function(a){a.C&&g.ah(a.C,"left",(2>a.Ma.length?0:-a.o*a.Ma[1].element.clientWidth)+"px");a.B.Lb(0<a.o);a.A.Lb(a.o<a.Ma.length-YW(a))};
YW=function(a){return 2>a.Ma.length?1:Math.round((a.element.clientWidth-a.Ma[0].element.clientWidth)/a.Ma[1].element.clientWidth)+1};
bX=function(a){var b=Kq(a),c=Lq(b),d=["iv-btp-small-card"];d.push("yt-uix-hovercard-target");var e={href:Rq(xv(c)),target:"_blank"},f={H:"div",ea:["iv-btp-card-image","yt-uix-hovercard-anchor"],L:[{H:"span"},{H:"div",N:"iv-btp-card-image-aligned",L:[{H:"img",T:{src:Oq(b).getImageUrl()}}]}]},k={H:"div",N:"iv-btp-card-info",L:[{H:"span",N:"iv-btp-card-action",L:[Pq(c)]},$W(a)]};var l=Kq(a);var m=Lq(l);l={H:"div",ea:["yt-uix-hovercard-content","iv-btp-hovercard"],L:[{H:"div",N:"iv-btp-hovercard-text-box",
L:[{H:"a",T:{href:Rq(xv(m)),target:"_blank"},L:[{H:"div",ea:["yt-ui-ellipsis","yt-ui-ellipsis-4","iv-btp-hovercard-headline"],L:[l.pd()]}]},{H:"div",N:"iv-btp-hovercard-info",L:[{H:"span",N:"iv-btp-hovercard-action",L:[Pq(m)]},$W(a)]},aX(a)]}]};d={H:"div",ea:d,T:{"data-position":"bottomright","data-orientation":"vertical"},L:[f,k,l]};b={H:"div",N:"iv-btp-large-card",L:[{H:"div",N:"iv-btp-card-image",L:[{H:"span"},{H:"div",N:"iv-btp-card-image-aligned",L:[{H:"img",T:{src:Oq(b).getImageUrl()}}]}]},
{H:"div",N:"iv-btp-card-info",L:[{H:"div",N:"iv-btp-card-text-box",L:[{H:"div",N:"iv-btp-card-text-valign",L:[{H:"div",ea:["yt-ui-ellipsis","yt-ui-ellipsis-4","iv-btp-card-headline"],L:[b.pd()]}]}]},{H:"span",N:"iv-btp-card-action",L:[Pq(c)]},$W(a),aX(a)]}]};c=[];a=Lq(Kq(a));f={TRIGGER_TYPE:"YOUTUBE_DRAWER_AUTO_OPEN"};for(k=0;k<gv(a,"event");k++)l=new lv(fv(a,"event",k)),7==l.bc()&&(l=g.lm(dr(l,"base_url"),f),c.push({H:"img",T:{src:l}}));g.xV.call(this,{H:"div",N:"iv-btp-card",L:[{H:"a",N:"iv-btp-card-content",
T:e,L:[{H:"div",L:[d,b,{H:"div",N:"iv-btp-impressions",L:c}]}]}]})};
aX=function(a){a=Lq(Kq(a));return.01>ev(a,"rating",0)?{H:"div"}:{H:"div",N:"iv-btp-card-review",L:[{H:"div",N:"iv-btp-card-rating",L:[{H:"span",N:"iv-btp-card-rating-bg",L:[{H:"span",N:"iv-btp-card-rating-fg",T:{style:"width: "+Math.floor(100*ev(a,"rating",0)/5)+"%;"}}]}]},{H:"span",N:"iv-btp-card-reviews",L:[dr(a,"review_text")]}]}};
$W=function(a){return{H:"div",N:"iv-btp-card-merchant",L:[{H:"span",N:"iv-btp-card-merchant-text",L:[Nq(Lq(Kq(a)))]}]}};
cX=function(){this.o=new XW;this.C=new g.OF(this);g.L(this,this.C);this.D=new g.rt(this.Dt,200,this);g.L(this,this.D);var a={H:"div",N:"iv-btp-companion",L:[{H:"div",N:"iv-btp-block-clicks"},{H:"div",N:"iv-btp-attribution",L:[{H:"span",N:"iv-btp-title",L:["{{title}}"]},{H:"div",ea:["yt-uix-hovercard","ad-info-container"],L:[{H:"span",N:"iv-btp-sponsored",L:[g.T("YTP_SPONSORED"),{H:"span",N:"yt-uix-hovercard-target",T:{"data-position":"topright","data-orientation":"horizontal"},L:[{H:"span",N:"ad-info-icon"}]}]},
{H:"div",N:"yt-uix-hovercard-content",L:[{H:"span",N:"ytp-ad_settings",L:[g.T("YTP_SPONSORED_PRODUCT_INFO")]}]}]}]},this.o]};g.xV.call(this,a);this.B=this.wa["iv-btp-block-clicks"];this.A=new g.rt(g.Aa(function(a){g.N(a,!1)},this.B),1E3);
g.L(this,this.A);this.C.R(window,"resize",this.JH)};
mna=function(a,b){a.clear();g.N(a.B,!0);var c=(0,g.H)(b,g.Aa(function(a){return new bX(a)}));
a.Fa("title",0<b.length?dr(b[0],"teaser_text"):"");lna(a.o,c);a.Dt()};
dX=function(a,b){gW.call(this,a,14,14,b);this.A=new cX;g.L(this,this.A)};
eX=function(a){return(0,g.se)(a.o.Mb().B,function(a){return!!ev(ns(a),"show_in_promotion_shelf",void 0)})};
fX=function(a,b,c){MW.call(this,14,a,b,c)};
gX=function(a,b,c){MW.call(this,14,a,b,c)};
nna=function(a,b,c,d,e){this.B=a;this.o=b;this.g=c;this.Z=OV(this.B);this.C=d;this.D=PV(this.B).lengthSeconds;this.F=e;this.A="html5";"embedded"==this.Z.g?this.A="html5_embed":yN||xN?this.A="html5_ios":OE("android")?this.A="html5_android":XE()?this.A="html5_wp":RE()?this.A="html5_ps3":"leanback"==this.Z.g?(a=(g.Qb(window,"environment","brand")||"").toLowerCase(),b=(g.Qb(window,"environment","model")||"").toLowerCase(),this.A="roku"==a||"bskyb"==a?"roku":"wiiu"==b?"wii":"html5_tv_leanback"):this.A=
WE()?"html5_wii":"html5_desktop"};
jX=function(a){return hX(a.o)?"preroll":iX(a.o)?"postroll":"midroll"};
lX=function(a){return(a=a.B.A)?(0,g.Bk)(a.Db,function(a){return kX(a)||iX(a)}):!1};
mX=function(a,b){KW.call(this,4,a,b)};
nX=function(a,b,c){MW.call(this,4,a,b,c);var d=this.g.o;this.F=g.E(d.wb);this.P=new nna(b,a,d,c,!(!PV(this.g)||!PV(this.g).spacecastModule))};
oX=function(a,b){this.o=a;this.g=b};
ona=function(a){return 0<(a.g&3)};
pX=function(a,b,c,d,e){g.RF.call(this);this.F=!0;this.o=!1;this.isVisible=!0;this.B="unloaded";this.G=!1;this.Ba=b;this.A=a;this.Vb=c;this.D=d;this.C=this.g=null;this.J=!!e};
rX=function(a){return hX(a)?a.Rb()&&qX(a)?-0x8000000000000:0:g.oa(a.Vb.o)?1E3*HV(a.Vb):0x8000000000000};
pna=function(a){var b=!OV(a.A).experiments.g("disable_fetching_previous_nonadjacent_midrolls");return hX(a)||b&&a.A.g&&1E3*a.A.g.getCurrentTime()>=rX(a)?!1:(0,g.zr)(a.D,function(a){switch(a.bc()){case 1:case 2:case 5:return!0;default:return!1}})};
hX=function(a){return 1==a.Vb.g};
qX=function(a){if(!a.Rb())throw Error("Preroll status is undefined before ad load.");return hX(a)&&a.o};
kX=function(a){return 2==a.Vb.g};
iX=function(a){return 3==a.Vb.g};
xX=function(a){a.B="loading";hX(a)&&!(0,g.Bk)(a.D,ona)&&vV(a.A);if(a.J)a.B="loaded",a.o=!0,sX(a);else{var b=a.D.shift();b?(hX(a)&&a.A.ne("nl"),b=b.create(a,a.A),g.L(a,b),b.load()):a.A.o.J&&5!=a.Vb.g?tX(a,new QW(a.A),a.Vb):(uX(a.A,2,vX(a,{})),wX(a,!1),a.B="error",sX(a))}};
yX=function(a){a.g&&(a.g.unsubscribe("adEnd",a.Uz,a),a.g.unsubscribe("adError",a.KC,a),a.g.unsubscribe("AD_LOGGING_EVENT",a.MC,a),a.g.unsubscribe("select",a.JC,a),a.g.unsubscribe("adCompanionInitialized",a.LC,a))};
tX=function(a,b,c){a.g=b;a.Vb=c;g.L(a,a.g);0==a.Ba&&(b=a.g.Yh(),a.A.ca.at=b);a.g instanceof xW?a.o=!0:a.g instanceof QW?a.isVisible=!1:a.g instanceof mX?a.isVisible=!1:a.g instanceof SW&&(a.isVisible=!1);a.B="loaded";sX(a)};
sX=function(a){a.Y("adBreakComplete",a)};
wX=function(a,b){a.C&&(a.C.Fj({FILLED_OPPORTUNITY:b?1:0}),a.C.dispose(),a.C=null)};
vX=function(a,b){b.break_type=a.Vb.g;b.sst=HV(a.Vb);b.sidx=0;return b};
zX=function(a){var b=0;a.ba&&(b|=1);a.X&&(b|=2);var c=0;a.M&&a.O&&(c=4);a=new El;a.set(3,b);a.set(4,c);return a};
AX=function(a,b){var c=[];if(a.fa)return c.push("pla"==(a.forceAdType||"").toLowerCase()?new oX(8,16):new oX(4,0)),c;if(a.independentBreakOffsets&&5==b)return a.ka&&c.push(new oX(7,16)),c;if(a.ga){var d=0;if(a.A||a.C)d|=1;a.ha&&(d|=4);a.J&&(d|=8);c.push(new oX(5,d))}a.da&&(d=0,a.A&&(d|=1),a.C&&(d|=2),a.ha&&a.M&&(d|=4),a.J&&a.M&&(d|=8),d&&c.push(new oX(2,d)));var d=zX(a),e=d.get(3);e&&c.push(new oX(1,e));!a.independentBreakOffsets&&a.ka&&c.push(new oX(7,16));(d=d.get(4))&&c.push(new oX(1,d));return c};
BX=function(a){this.g=a};
CX=function(a){var b=[];(0,g.G)(qna(a),function(a,d){var c=new pX(this.g,d,a,AX(this.g.o,a.g));b.push(c)},a);
return b};
qna=function(a){var b=a.g.o;a=[];if(b.pa)for(var c=b.pa.split(","),d=0;d<c.length;d++){var e=Wa(c[d]),e=0>e?new GV(3):0<e?new GV(2,e):new GV(1);a.push(e)}else a=rna;if(b.independentBreakOffsets)for(b=b.independentBreakOffsets.split(","),d=0;d<b.length;d++)a.push(new GV(5,Wa(b[d])));g.zb(a,Pma);return a};
vna=function(a,b){this.Z=a;this.D=this.Z.isMobile;this.G="leanback"==this.Z.g;this.B=this.D||this.G;this.P=!this.G&&!BN(a);this.A=JV(b.instream);this.isLiveStream=1==b.livestream;this.C=JV(b.trueview);this.ca=JV(b.aftv);this.pa=b.ad_slots;this.independentBreakOffsets=b.independent_break_offsets;this.adFlags=b.ad_flags||0;this.jb=b.cafe_experiment_id;this.adTag=b.ad_tag;this.Qc=!!b.adtest;this.afvAdTag=b.afv_ad_tag;sna(this.afvAdTag);this.afvInvideoAdTag=b.afv_invideo_ad_tag;this.Pa=(0,window.parseInt)(b.ad_age,
10);this.applyFadeOnMidrolls=!!b.apply_fade_on_midrolls&&(this.A||this.C)&&!this.Z.X;this.rb=b.cid;this.Sa=qN(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.Ua=(0,window.parseInt)(b.forced_skip_offset,10);this.forceAdType=b.force_ad_type;this.forceAdUrl=b.force_ad_url;this.wb=b.freewheel_ad_tag;this.gender=Tb(tna,function(a){return a==b.ad_gender});
this.sa=b.dbp;this.O=JV(b.afv)&&!this.B;this.X=this.ca&&this.C;this.ba=this.ca&&this.A&&!JV(b.no_afv_instream);this.da=JV(b.dclk);JV(b.gpt_migration);this.fa=JV(b.forced_ad);this.ga=1==(0,window.parseInt)(b.tpas_ad_type_id,10);this.Rc=!!b.fqsf;this.ha=JV(b.invideo)&&!this.B;this.J=JV(b.mpu)&&!this.B;this.ka=!!b.pla;this.xc=JV(b.shortform);this.M=JV(b.sffb);this.bb=b.ad_language_iso639_2;this.o=this.B||!this.Z.experiments.g("disable_client_side_midroll_freq_capping")?(0,window.parseInt)(b.midroll_freqcap,
10):-1;(0,window.isNaN)(this.o)&&(this.o=-1);this.midrollPrefetchSize=(0,window.parseInt)(b.midroll_prefetch_size,10)||0;this.Cc=b.pla_ad_tag;this.tagForChildDirected=JV(b.tag_for_child_directed);this.serverPrefetchedVast=b.server_prefetched_vast;this.surveyCreativeData=b.surveyCreativeData;this.Yb=this.ca&&this.M&&!this.O;this.Hb=this.O||this.Yb;this.Pc=(0,window.parseInt)(b.ad_device,10);this.La=b.tpas_video_id;this.Wa=b.tpas_partner_id;this.vmap=b.vmap;this.zc=this.Z.zc;this.jd=b.post_ad_requests;
this.showContentThumbnail=!0;g.na(b.show_content_thumbnail)&&(this.showContentThumbnail=b.show_content_thumbnail);this.g=una(b.serialized_ad_ux_config);this.K=(this.F=!this.A&&!this.C||this.Z.X||null==this.g||null==I(this.g,1)||null==I(Uc(this.g),5)?!1:!0)&&null!=I(Wc(Uc(this.g)),5)?(0,window.parseInt)(I(Wc(Uc(this.g)),5),10)/100:1;this.Ab=this.F&&null!=I(Wc(Uc(this.g)),4)?(0,window.parseInt)(I(Wc(Uc(this.g)),4),10):null;this.Gb=this.F&&null!=I(Wc(Uc(this.g)),8)?(0,window.parseInt)(I(Wc(Uc(this.g)),
8),10):null;this.Aa=this.F&&I(Wc(Uc(this.g)),3)?!0:!1;this.ua=this.F&&I(Wc(Uc(this.g)),6)?!0:!1;this.va=this.F&&I(Wc(Uc(this.g)),2)?!0:!1;this.Ja=this.F&&I(Wc(Uc(this.g)),7)?!0:!1};
sna=function(a){if(a&&!D(g.E(a))&&(a=g.sg(a)[6]||null)){var b=null;wg(a,function(a,d){b||"channel"!=a||(b=d)})}};
una=function(a){if(a)try{var b=g.kg(a);return new Sc(b)}catch(c){}return null};
DX=function(a,b){g.K.call(this);this.C=a;this.te=new g.cm(this);g.L(this,this.te);this.o=null;this.g=!1;this.te.V(b,"companionImpression",this.B);this.te.V(b,"companionClick",this.A)};
EX=function(a){g.K.call(this);this.g=a;this.o=window.NaN;this.C={};a=a.o;this.D=a.fadeInDurationMilliseconds;this.F=a.fadeInStartMilliseconds;this.A=a.fadeOutDurationMilliseconds;this.B=a.fadeOutStartMilliseconds;this.SB()};
FX=function(a,b){a.C[b]&&(g.cV(a.g.g,[a.C[b]],void 0),delete a.C[b])};
GX=function(a,b,c,d){0>=c||((0,window.isNaN)(a.o)||g.wE(a.o),c=(0,g.F)()+c,a.o=0==d?$Q((0,g.y)(a.YC,a,b,c,100),0):$Q((0,g.y)(a.XC,a,b,c,100),0))};
HX=function(a){EX.call(this,a)};
IX=function(a,b,c){g.K.call(this);this.g=a;this.D=b;this.B=c;this.o=-1;this.C=window.NaN;this.B&&0<this.g.o.o&&this.g.subscribe("endseeking",this.A,this)};
wna=function(a,b){JX(a);0<b&&(a.C=g.yE((0,g.y)(a.A,a),1E3*b))};
JX=function(a){g.wE(a.C);a.C=window.NaN};
LX=function(a,b){if(!a.B||!kX(b)&&!iX(b))return!1;var c=a.g.o.o;if(0>=c||0>=a.o)return!1;var d=(0,g.F)()/1E3,e=KX(a,b)-a.g.g.getCurrentTime();0<e&&(d+=e);return d-a.o<=c};
KX=function(a,b){return iX(b)?a.g.g.ia().lengthSeconds:HV(b.Vb)};
MX=function(a,b){g.K.call(this);this.K=this.g=null;this.O=[];this.P=window.NaN;this.Db=b;this.G=[];this.A={};this.D={};this.o=a;var c=a.o,d=!c.isLiveStream&&(0,g.Bk)(this.Db,function(a){return kX(a)||iX(a)});
this.C=new IX(this.o,this,d);this.B=c.applyFadeOnMidrolls?new EX(a):new HX(a);this.da=(0,g.Bk)(this.Db,function(a){return hX(a)})};
xna=function(a){a.G.length||(a.G=(0,g.se)(a.Db,function(a){return"unloaded"==a.B}),0==a.G.length?vV(a.o):(a.da||vV(a.o),NX(a)))};
NX=function(a){if(a.G.length){var b=a.G.shift();b.subscribe("adBreakComplete",a.uj,a);b.subscribe("adCompanionInitialized",a.As,a);xX(b)}};
yna=function(a,b){function c(a){return a&&5!=a.Vb.g}
var d=(0,g.fb)(a.Db,b),e=g.sb(a.Db,d+1);return{previous:g.ab(g.sb(a.Db,0,d),c),next:g.ab(e,c)}};
OX=function(a,b,c){var d=rX(b);if(!(0,window.isNaN)(d)){var e={};e.priority=-2!=HV(b.Vb)?2:3;e.id=String(b.getId());e.visible=b.isVisible;d=a.B.MB(b,d);c=a.B.LB(b,c);c=new g.oJ(d,c,e);a.D[b.getId()]=c;uV(a.o,[c]);a.B.qv(b)}};
PX=function(a,b){var c=b.getId();a.D[c]&&(FX(a.B,c),g.cV(a.o.g,[a.D[c]],void 0),delete a.D[c])};
SX=function(a,b){if(g.t(b)){var c=a.Ui(b);if(c)if(a.g==c&&!c.o&&c.isVisible)c.show();else{if(a.g){if(5==c.Vb.g){a.g.o?a.O.push(b):c.show();return}a.Qh(a.g)}if(LX(a.C,c))a.g=null,c=a.D[c.getId()],c.visible||(c.visible=!0,uV(a.o,[c],1));else{5!=c.Vb.g&&(a.g=c);c.subscribe("adBreakComplete",a.il,a);c.subscribe("adCompanionInitialized",a.As,a);if(c.o){1!=c.Vb.g&&XO("video_to_ad",["apbs"]);var d=a.o;d.M=!0;d.B||QX(d);d=a.C.o;d={tfla:0<d?Math.floor((0,g.F)()/1E3-d):0};a.o.Pi.g(RX,"show_instream_ads",d)}a.B.ZC(c);
c.show()}}}};
TX=function(a,b,c){MX.call(this,a,b);this.J=[];this.M=[];this.F=[];this.ca=c;this.ba=window.NaN;this.X=a.o.o;var d=!OV(a).experiments.g("disable_fetching_previous_nonadjacent_midrolls"),e=1E3*a.g.getCurrentTime(),d=d?null:cb(b,function(b){return a.g&&e>=rX(b)});
if(1<=c)for(c=0;c<b.length;c++){var f=b[c];if(pna(f)&&f!=d){var k=new pX(f.A,f.Ba,f.Vb,f.D,!0);b[c]=k;this.J.push(f)}}this.da||this.yj()};
UX=function(a){g.wE(a.ba);a.ba=window.NaN};
VX=function(a,b){MX.call(this,a,b);this.ba=a;this.ca=!0;this.J=[];this.ha=1;this.M=0};
WX=function(a){if(null==a.g&&0<a.J.length){var b=a.J[0];b.isVisible?(a.ca=a.F.isPeggedToLive(),a.ga=Math.ceil((0,g.F)()/1E3),b.subscribe("adBreakComplete",a.X,a),a.g=b,b.show()):a.X()}else null!=a.g&&a.M++};
zna=function(a,b){this.J=a;this.D=b;this.G=(0,g.F)();this.C=0;this.g=a.o;this.B={};this.F=new ana(a);var c=[];this.g.ga&&this.g.A&&c.push("4_2");this.g.da&&(this.g.A&&c.push("1_2"),this.g.C&&c.push("1_2_1"),this.g.ha&&c.push("1_1"),this.g.J&&c.push("1_3"));this.g.X&&c.push("2_2_1");this.g.ba&&c.push("2_2");this.g.O&&c.push("2_1");this.g.Hb&&c.push("2_3");this.g.ka&&c.push("14_14");this.o=c.join(",");this.A="";this.B.allowed=this.o;(c=this.g.excludedAds)&&(this.B.ex_ads=c)};
YX=function(a,b,c){g.K.call(this);this.o=a;this.B=b;this.md=c;this.C=this.D=-1;this.g=XX(this.B.Ve());a=this.B.Ve();a.length&&(a=a[a.length-1],-1==a&&uV(this.o,[this.g[a]]));0<this.o.o.o&&this.o.subscribe("endseeking",this.A,this)};
Ana=function(a,b){ZX(a);0<b&&(a.C=g.yE((0,g.y)(a.A,a),1E3*b))};
ZX=function(a){-1!=a.C&&(g.wE(a.C),a.C=-1)};
XX=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.oJ(-1==d?0x8000000000000:1E3*d,0x8000000000000==e?e:e-1,{id:String(d),visible:!0})}d=a[a.length-1];b[d]=new g.oJ(-1==d?0x8000000000000:1E3*d,0x8000000000000,{id:String(d),visible:!0});return b};
$X=function(){g.K.call(this)};
aY=function(a){if(!/^\d+?(:\d+){0,2}(\.\d+)?$/.test(a))return null;var b=0;(0,g.G)(a.split(":"),function(a){b=60*b+Math.abs((0,window.parseFloat)(a))});
return 1E3*b};
bY=function(a){g.K.call(this);this.g=a;this.o=null;this.A={};this.C={};a=a.o;this.D=a.fadeInDurationMilliseconds;this.J=a.fadeInStartMilliseconds;this.K=a.fadeOutDurationMilliseconds;this.B=a.fadeOutStartMilliseconds;this.M=1E3*this.g.g.ia().lengthSeconds;this.F=this.B+this.K;this.G=new g.OF(this);g.L(this,this.G);this.G.R(this.g.g,"applicationplayerstatechange",this.jD)};
cY=function(a,b){return 0!=b&&-1!=b&&-2!=b&&0<b&&b<a.M};
Bna=function(a){a=a.getAttribute("breakType");return!!a&&(0,g.Bk)(a.split(","),function(a){a=Ra(a);return"linear"==a})};
Cna=function(a){var b=3;var c=!0;b=b?b:0;c=c?c:!1;var d=(0,window.parseFloat)(g.Pa(a/1E3,2,b));a=Math.floor(d/60);var e=Math.floor(a/60);a%=60;b=g.Pa(d%60,2,b);c=b=e||c?e+":"+g.Pa(a,2)+":"+b:a+":"+b;return 1==c.split(":")[0].length?"0".concat(c):c};
Ena=function(a,b){var c=Math.max(Math.abs(a.B),Math.abs(a.F));(0,g.G)(b,(0,g.y)(function(a){var d=(0,g.Bk)(b,function(b){return a!=b&&b>=a-c&&b<=a+c}),f=Dna(this,a);
!d&&f&&(this.A[f]=a)},a));
return 0<g.Mb(a.A)};
Dna=function(a,b){var c=1E3*Math.round((b+a.F)/1E3),d=b+a.B,e=b+a.J;return cY(a,b)&&cY(a,c)&&cY(a,d)&&cY(a,e)?c:null};
dY=function(a,b,c,d){0>=c||(d=0==d?a.iD:a.hD,c=(0,g.F)()+c,a.o=$Q((0,g.y)(d,a,b,c,100),0))};
eY=function(a){g.K.call(this);this.md=this.A=this.B=this.F=this.o=null;this.M=this.J=!1;this.g=a;this.G=this.qb=null;this.O={};this.P=new g.cm(this);this.C=new g.cm(this);this.K=new g.OF(this);g.L(this,this.K);this.D=null};
Fna=function(a,b,c){a=a.cloneNode(!0);a.setAttribute("timeOffset",b);(0,g.G)(a.getElementsByTagName("VASTAdTagURI"),function(a){if("end"==b){var d="post";var f=-1;var k="postroll"}else d="mid",f=aY(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};
Gna=function(a,b,c){var d=g.lr(b);if(!d)return b;var e=g.ve(d);if(!e)return c?b:d;var f=g.ab(g.te(e),function(a){return"#1"==a.getAttribute("timeOffset")});
if(f){var k=g.ab(g.te(f),function(a){return"vmap:Extensions"==a.tagName}),l=k?g.te(k):[],l=g.ab(l,function(a){return"YTBreakTime"==a.getAttribute("type")}),k=(k=k.removeChild(l))?g.te(k):[],m=f,n=1;
(0,g.G)(k,function(a){a=a.getAttribute("timeOffset");a=Fna(f,a,n);n++;e.insertBefore(a,m.nextSibling);m=a});
e.removeChild(f)}k=a.D.aB(e);k||(g.Le(a.D),a.D=new $X);return f||k||!c?c?mr(d):d:b};
Hna=function(a){var b=NV(a.g.o,OV(a.g),PV(a.g));b.QG=!0;b.Fv=!1;b.WA=10;b.Ks=a.D.Uw();return b};
fY=function(a,b){var c=a.md?a.md.g:0,c={tfla:0<c?Math.floor((0,g.F)()/1E3-c):0};a.g.Pi.g(RX,b,c)};
hY=function(a,b){if(b){YV();var c=dW(a.g),d=eC(a.o);if(d){var e=d.Ze(),d=g.gb(FV,e)?new GV(e,d.Dc):new GV(e),e=hW(eq(b)),d=new SV(d,e.g,a.g,14==e.o?16:4);c.then(d.C,g.x,d)}}else a.g.o.J&&(a.B=new QW(a.g),gY(a,a.B),a.B.show())};
jY=function(a,b){b&&"adLoadError"==b.bc()&&(OV(a.g).experiments.g("enable_no_ads_ping_for_mpu_disable")&&!a.g.o.J&&a.gD(eC(a.o),0,2,{}),iY(a))};
kY=function(a){a.B&&(a.B.dispose(),a.B=null)};
lY=function(a){var b=ds(a);a=0<b.length?b.pop():Sr(a);a=Ina[a.toUpperCase()];return null!=a?a:0};
iY=function(a){a.J||(vV(a.g),a.J=!0)};
gY=function(a,b){b.subscribe("AD_LOGGING_EVENT",(0,g.y)(a.gD,a,eC(a.o),b.adType))};
mY=function(a){g.W.call(this,{H:"div",N:"ytp-ad-notification-container",L:["{{content}}"]});this.U=a;this.o=null;this.C=-1;this.A=new g.DV(this,250,!1,150);g.L(this,this.A);this.R(this.U,"adnotify",this.jl);this.R(this.U,"discardadnotify",this.ll)};
oY=function(a){nY=a&&a.data};
qY=function(a){pY=a&&a.data};
rY=function(){nY=null};
tY=function(a,b){tV.call(this,b);this.Yd="ad";this.app=a;this.o=this.A=this.D=null;this.M=this.X=!1;this.B=this.qb=null;O.o=!0;O.J=!1;O.da=!1;O.ba=!0;O.K=!g.QE();O.F=0;var c=a.Z.experiments.o("sdk_wrapper_levels_allowed");!(0,window.isNaN)(c)&&0<c&&(O.O=c);sY(this)&&(O.A=!0);this.G=null;this.da={};this.ca={at:"0"};c=g.Y(this.g).experiments;if(c.g("enable_midroll_notify")||c.g("enable_postroll_notify"))c=new mY(this.g),g.L(this,c),g.hV(this.g,c.element,5);this.F=new iW(this.g);g.hV(this.g,this.F.element,
5);this.O=this.fa=null;this.P=-1;this.Pi=new IV(this);this.J=new g.OF(this);g.L(this,this.J)};
PV=function(a){return a.app.o.g};
OV=function(a){return a.app.Z};
uX=function(a,b,c){if(a.D){a=a.D;c=c||{};var d=((0,g.F)()-a.G)/1E3;c.art=d;d=OV(a.J);d.wh&&(c.feature=d.jd);c.ad_flags=a.g.adFlags;(d=a.g.rb)&&(c.cid=d);c.mt=a.D.getCurrentTime();(d=g.vG())&&(c.lact=d);(d=a.D.getDuration())&&(c.len=d);a.g.Rc&&(c.fqsf=1);c.sdkv="3";c.ad_event=b;if(3==b||4==b)a.A=c.at;b=a.F;a:{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 a}a=0!=(c&&c.ad_event?lW(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);OV(b.g).experiments.g("fix_api_stats_ads_companion_backfill_break_type")&&(a=Wb(c,"trsp","0"),"2_3"==e&&10==f&&"0"!=a&&(c.break_type=1));e={};e.device=b.g.o.Pc;e.ns=1;e.sdkv="h.3.0";e.ver="2.0";for(var k in c){f=e;a=k;var d=c[k],l=c;switch(a){case "trsp":f.slot_pos=d;break;case "break_type":g.gb(FV,Wa(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=bna(d);break;case "error_code":f.ima_error=d;case "error_message":f.error_msg=d;break;case "ad_event":f.event=lW(d);break;case "ck_xy":a=d.split("x"),2==a.length&&(f.i_x=a[0],f.i_y=a[1])}}f=wW(b.g.g.app,2);k=PV(b.g);e.cpn=k.clientPlaybackNonce;e.content_v=k.videoId;c.at&&c.at.match(/\d+_2.*/g)?(a=b.g.A,e.mt=null!=a&&null!=a.g?1E3*HV(a.g.Vb):0):e.mt=Math.round(1E3*f.getCurrentTime());e.ei=k.eventId;e.lact=g.vG();e.vol=Math.round(b.g.app.J.getVolume());e.vis=b.g.g.In();
a=uY(b.g);e.p_w=a.width;e.p_h=a.height;e.rt=(0,g.F)();if(f=(f=f.o?f.o.ra():null)&&g.Td(f)===window.document?g.mh(f):null)e.pv_h=f.getHeight(),e.pv_w=f.Eb();2==(c&&c.ad_event?lW(c.ad_event):0)&&k.adSafetyReason&&(e.asr=k.adSafetyReason);c=$l(e);k=new g.Kl(OV(b.g).baseYtUrl+"api/stats/ads");Pl(k,c);g.YE(k.toString())}}};
vY=function(a,b,c){c=c||{};c.ad_error=b;uX(a,7,c)};
wY=function(a,b,c){a.app.J.za(b,c)};
xY=function(a){if(!a.X||a.app.Z.experiments.g("enable_html5_midroll_tsla_update"))g.YE(OV(a).baseYtUrl+"mac_204?action_fcts=1"),a.X=!a.app.Z.experiments.g("enable_html5_midroll_tsla_update")};
yY=function(a){return a.A instanceof VX?a.A:null};
AW=function(a){return g.MU(a.app).o};
BY=function(a){var b=g.xe(jW(a.F),g.He()),c=a.g;if(2==KU(c.app)){var c=c.app,d=g.MU(c,2);d&&(d!=c.o?zY(c,c.o):AY(c))}c=g.Y(a.g);"3"!=c.C||BN(c)||(c=g.OU(a.g),c.F=!1,yW(c));b&&a.g.getRootNode().focus()};
uY=function(a){return a.o.G?(a=a.app.F.Za(),new g.Mg(0,0,a.width,a.height)):g.uh(a.getRootNode())};
CY=function(a,b){a.ne("bd");var c=a.o;var d=c.midrollPrefetchSize;c=c.isLiveStream?new VX(a,b):0<d?new TX(a,b,d):new MX(a,b);a.A=c;xna(a.A)};
FY=function(a){DY(a);var b=a.app;g.yE(function(){EY(b)},0)};
QX=function(a){var b=a.app;g.yE(function(){GY(b)},0)};
IY=function(a,b){var c=a.app;g.yE(function(){HY(c,b)},0)};
DY=function(a){a.M=!1;var b=g.MU(a.app,2);b&&a.app.Z.G.remove(b.g.videoId)};
CW=function(a,b){switch(b){case 1:a.P=1;wY(a,"onAdStart");break;case 0:a.P=0,wY(a,"onAdEnd")}};
BW=function(a,b,c){c&&wY(a,"onAdInfoChange",c);a=a.app;1==b&&(a.G.o("vr"),a.ga||(a.ga=AO(a.gA,a)),CU(a.C),LQ(a.G,JY(a)));c=a.Z;("leanback"==c.g&&c.Fb||g.AN(c))&&a.g.za("onAdStateChange",b)};
KY=function(a){return!!(a.o.M&&a.A&&1<a.A.Db.length)};
sY=function(a){a=a.app.Z;return EN(a)&&!g.AN(a)&&"desktop-polymer"==a.o};
aW=function(a,b){b.contentVideoId||(b.contentVideoId=PV(a).videoId);wY(a,"updatekevlarcompanion",b)};
LY=function(a,b,c){g.K.call(this);window._exportCheck=g.Da;this.da=b;this.ga=c;this.F=this.O=this.G=this.A=this.P=this.X=this.M=this.B=this.J=this.g=null;this.ba={};this.ca={};this.fa=null;this.U=a;this.D=this.C=this.K=this.o=null};
g.MY=function(a){var b=g.Y(a.U);if("leanback"==b.g||b.zc||!b.Rc&&!b.Sa)return!1;var c=a.U.Xa();if(2==c)return!1;if(3==c)return b.experiments.g("desktop_enable_autoplay");if(b.experiments.g("allow_live_autoplay"))return!0;a=a.U.ia();return b.up&&!a.cg?!1:!!a&&!a.Da};
OY=function(a,b,c,d){try{var e="ytmod.player."+b,f=g.v(e);if(d){if(f){var k=a.da,l=f._version;if(l&&l!=k)g.qa(e,null,void 0);else return f._version=k,new f(a.U)}"creatorendscreen"==b?NY(a,"annotations_module",c):NY(a,b,c)}else g.eV(a.U,b)}catch(m){g.eV(a.U,b),g.rE(m)}return null};
PY=function(a,b){a.g&&(b||a.g.Gd())&&(g.Le(a.g),a.g=null);a.J&&(b||a.J.Gd())&&(g.Le(a.J),a.J=null);a.B&&(b||a.B.Gd())&&(g.Le(a.B),a.B=null);a.M&&(b||a.M.Gd())&&(g.Le(a.M),a.M=null);a.X&&(b||a.X.Gd())&&(g.Le(a.X),a.X=null);a.P&&(b||a.P.Gd())&&(g.Le(a.P),a.P=null);a.A&&(b||a.A.Gd())&&(g.Le(a.A),a.A=null);a.G&&(b||a.G.Gd())&&(g.Le(a.G),a.G=null);a.O&&(b||a.O.Gd())&&(g.Le(a.O),a.O=null);a.F&&(b||a.F.Gd())&&(g.Le(a.F),a.F=null);a.K&&(b||a.K.Gd())&&(g.Le(a.K),a.K=null);a.C&&(b||a.C.Gd())&&(g.Le(a.C),a.C=
null);a.o&&(b||a.o.Gd())&&(g.Le(a.o),a.o=null)};
g.LU=function(a){return g.Y(a.U).Ab?a.K:null};
NY=function(a,b,c){if(a.da){for(var d=a.da+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.je("SCRIPT"),f=!0);var n=(0,g.y)(function(){this.na()||c.call(this)},a),q=(0,g.y)(function(){this.na()||g.eV(this.U,b)},a);
k.onload=g.Aa(function(a){zf(n);a&&a()},k.onload);
k.onerror=g.Aa(function(a){zf(q);a&&a()},k.onerror);
k.onreadystatechange=g.Aa(function(a){switch(k.readyState){case "loaded":case "complete":zf(n,this)}a&&a()},k.onreadystatechange);
f&&((e=g.Y(a.U).Tl)&&k.setAttribute("nonce",e),k.src=d,d=window.document.getElementsByTagName("HEAD")[0]||window.document.body,d.insertBefore(k,d.firstChild),g.Ke(a,function(){k.parentNode&&k.parentNode.removeChild(k);g.qa("ytmod.player."+b,null,void 0);"annotations_module"==b&&g.qa("ytmod.player.creatorendscreen",null,void 0)}))}};
QY=function(a){var b=a.Z,c=["html5-video-player"];b.F&&c.push("ytp-dni");g.W.call(this,{H:"div",ea:c,T:{tabindex:-1,id:a.ca.attrs.id},L:[{H:"div",N:"html5-video-container",T:{"data-layer":0}}]});g.qF(this.element,"version",a.ca.assets.js);this.app=a;this.containerElement=this.wa["html5-video-container"];this.X=!!this.containerElement;this.B=new g.Mg(0,0,0,0);this.o=null;this.D=new g.Mg(0,0,0,0);this.J=this.O=this.M=window.NaN;this.F=!1;this.G=window.NaN;this.K=!1;this.C=null;this.addEventListener=
(0,g.y)(this.element.addEventListener,this.element);this.removeEventListener=(0,g.y)(this.element.removeEventListener,this.element);this.dispatchEvent=function(){};
ON(b)&&"blazer"!=b.o&&"mweb-polymer"!=b.o&&window.matchMedia&&(this.P="desktop-polymer"==b.o?[{query:window.matchMedia("(max-width: 656px)"),size:new g.Qd(426,240)},{query:window.matchMedia("(max-width: 856px)"),size:new g.Qd(640,360)},{query:window.matchMedia("(max-width: 999px)"),size:new g.Qd(854,480)},{query:window.matchMedia("(min-width: 1720px) and (min-height: 980px)"),size:new g.Qd(1280,720)},{query:window.matchMedia("(min-width: 1294px) and (min-height: 630px)"),size:new g.Qd(854,480)},{query:window.matchMedia("(min-width: 1000px)"),
size:new g.Qd(640,360)}]:[{query:window.matchMedia("(max-width: 656px)"),size:new g.Qd(426,240)},{query:window.matchMedia("(min-width: 1720px) and (min-height: 980px)"),size:new g.Qd(1280,720)},{query:window.matchMedia("(min-width: 1294px) and (min-height: 630px)"),size:new g.Qd(854,480)},{query:window.matchMedia("(min-width: 657px)"),size:new g.Qd(640,360)}]);this.A=null;g.RD({YTP_ADVERTISEMENT:"Advertisement",YTP_AD_BADGE:"Ad",YTP_AD_NOTIFICATION:"Ad in $X_SECONDSs",YTP_AD_POD_POSITION:"$AD_INDEX of $ADS_COUNT",
YTP_AIRPLAY:"AirPlay",YTP_AUDIO_TRACK_TITLE:"Audio track",YTP_AUTO:"Auto",YTP_AUTO_WITH_QUALITY_2:"Auto ($VIDEO_QUALITY)",YTP_CAN_SKIP_AD_SOON:"You can skip to video in $TIME_REMAINING",YTP_CARDS_BUTTON_ARIA_LABEL:"Show cards",YTP_CHANGE_QUALITY_WITH_QUALITY_2:"Change quality ($VIDEO_QUALITY)",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_DRAWER_CLOSE_BUTTON_ARIA_LABEL:"Hide cards",YTP_DRAWER_HEADER_TEXT_2:"More info",
YTP_DRAWER_POLL_PERCENT:"$PERCENT%",YTP_DRAWER_POLL_SIGNIN_TITLE:"Want to vote?",YTP_DRAWER_POLL_TITLE_ARIA_LABEL:"$POLL_TITLE - Sign in to vote.",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_DECREASE_PLAYBACK_SPEED:"Decrease playback speed",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_FEATURED:"Featured",
YTP_FULLSCREEN:"Full screen",YTP_INCREASE_PLAYBACK_SPEED:"Increase playback speed",YTP_INVIDEO_PROMOTION_ARIA_LABEL:"Promotion",YTP_GOTO_LIVE_TOOLTIP:"Skip ahead to live broadcast.",YTP_KEYBOARD_SHORTCUTS:"Keyboard shortcuts",YTP_LIVE:"Live",YTP_LIVE_NOW:"LIVE NOW",YTP_LOOP:"Loop",YTP_MIX:"Mix",YTP_MORE:"More",YTP_MORE_VIDEOS:"More videos",YTP_MDX_TITLE:"Play on",YTP_MDX_TOOLTIP:"Play on TV",YTP_MDX_MY_COMPUTER:"This computer",YTP_MDX_CAST_SELECTOR:"Cast...",YTP_MUTE:"Mute",YTP_NEXT:"Next",YTP_NEXT_VIDEO_IN:"Next video in $TIME_LEFT",
YTP_NORMAL_SPEED:"Normal",YTP_ON:"On",YTP_OFF:"Off",YTP_OPTIONS:"Options",YTP_PLAY_ALL:"Play all",YTP_PLAY_PAUSE:"Toggle play/pause",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_PLAYLIST_UP_NEXT:"Up Next",YTP_QUALITY_TITLE:"Quality",YTP_SUGGESTED_VIDEOS:"Suggested videos",YTP_REPLAY:"Replay",YTP_TROUBLESHOOT_ISSUE:"Troubleshoot playback issue",YTP_SEEK_BACK:"Seek back 10 seconds",
YTP_SEEK_FORWARD:"Seek forward 10 seconds",YTP_SEEK_PERCENT:"Seek to 0%-90%.",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_SPHERICAL_CONTROL:"Spherical video control. Use the arrow keys to pan the video.",YTP_SKIP_AD:"Skip Ad",YTP_SPEED_TITLE:"Speed",YTP_ST_COLLAPSE:"Collapse",YTP_ST_EXPAND:"Expand",YTP_SUBSCRIBE:"Subscribe",YTP_SUBSCRIBED:"Subscribed",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:"Tap to unmute",YTP_THREED_SHORT:"3D",YTP_THREED_VIEWMODE_2D:"2D",YTP_THREED_VIEWMODE_ANAGLYPH:"Anaglyph",YTP_THEATER_MODE:"Theater mode",YTP_TOGGLE_FULLSCREEN:"Toggle fullscreen.",YTP_TOGGLE_MUTE:"Toggle mute",YTP_UNMUTE:"Unmute",YTP_UNSUBSCRIBE:"Unsubscribe",YTP_URL_NAVIGATE:"Watch on YouTube.com",YTP_URL_NAVIGATE_TO:"Watch on $WEBSITE",
YTP_WATCH_ALL:"Watch entire video",YTP_WATCH_LATER:"Watch Later",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_WEBGL_3D_ANAGLYPH:"Anaglyph",YTP_WEBGL_3D_2D:"2D",YTP_SUBSCRIBE_AS:"Subscribe as $USER_NAME",YTP_LIKE_AS:"Like as $USER_NAME",YTP_DISLIKE_AS:"Dislike as $USER_NAME",YTP_WATCH_NEXT:"Watch next",YTP_PLAY:"Play",YTP_WATERMARK:"Watermark",YTP_ERROR_STREAMING_UNAVAILABLE:"Video playback is unavailable right now because this video has been downloaded for offline viewing.",
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_CANNOT_ACTIVATE_RENTAL:"An error occurred when activating your rental. Please reload this page or try again later.",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_UNUSUAL_ACTIVITY:"Due to unusual account activity, this video is not currently available.",YTP_ERROR_STREAM_LICENSE_NOT_FOUND:"Video playback interrupted. Please try again.",YTP_ERROR_NOT_SIGNED_IN:"Please sign in to resume watching.",YTP_CLOSE:"Close",YTP_EXPAND:"Expand",YTP_ANNOTATIONS:"Annotations",YTP_DONE:"Done",YTP_SHARE_THIS_PLAYLIST:"Share this playlist",YTP_SEEK_SLIDER:"Seek slider",YTP_PAUSE:"Pause",YTP_AUTOPLAY:"Autoplay",YTP_AUTOPLAY_COUNTDOWN_2:"Next video in $SECONDS_LEFT",
YTP_AUTOPLAY_NEXT:"Play next video",YTP_AUTOPLAY_PAUSED:"Busy? We've paused autoplay.",YTP_AUTOPLAY_PAUSED_2:"Autoplay is paused.",YTP_AUTOPLAY_PAUSED_3:"Autoplay is paused",YTP_AUTOPLAY_CANCEL:"Cancel autoplay",YTP_WATCH_VIDEO_OR_PLAYLIST:"Watch $TITLE",YTP_CANCEL:"Cancel",YTP_ON_GOOGLE_PLUS:"On Google+",YTP_STILL_THERE:"Are you still there? If so, please click the button below to continue watching the playlist.",YTP_DISMISS:"OK",YTP_RESET:"Reset",YTP_STOP:"Stop live playback",YTP_LIKE:"Like",YTP_DISLIKE:"Dislike",
YTP_SCREENREADER_VOLUME_SETTING:"volume",YTP_SCREENREADER_VOLUME_MUTED:"muted",YTP_SCREENREADER_VOLUME_MUTE:"mute",YTP_SCREENREADER_VOLUME_UNMUTE:"unmute",YTP_SCREENREADER_CONTROL_TOGGLE:"toggle",YTP_SAMPLE_SUBTITLES:"Captions look like this",YTP_HTML5_PROTECTED_FLASH_FALLBACK:"To watch this video, install the latest Flash Player, or try a different browser. $BEGIN_LINKGet Flash Player$END_LINK.",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_NO_AVAILABLE_FORMATS_FALLBACK_FLASH:"The Adobe Flash Player is required for video playback. $BEGIN_LINKGet the latest Flash Player$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_FORMAT_UNAVALIABLE:"This video isn't avaliable at the selected quality. Please try again later.",YTP_MDX_STATUS_CONNECTED_2:"Connected to $RECEIVER_NAME",YTP_MDX_STATUS_ERROR_2:"Error on $RECEIVER_NAME",YTP_MDX_STATUS_PLAYING_2:"Playing on $RECEIVER_NAME",YTP_MDX_PLAYER_ERROR:"This video is not available for remote playback.",YTP_MDX_PLAYER_RECONNECT_TIME:"Please check your Internet connection. Retrying in $FORMATTED_TIME...",
YTP_MDX_PLAYER_RECONNECT_BUTTON:"Reconnect",YTP_DEVICE_FALLBACK:"Sorry, this video is not available on this device.",YTP_AD_INTERRUPT_MESSAGE:"Your video will play after this ad.",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_SPONSORED_PRODUCT_BADGE:"Shop",YTP_AD_SETTINGS_INFO:"Visit Google's $BEGIN_FORMATAd Settings$END_FORMAT to learn more about how ads are targeted or to opt out of personalized ads.",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."});Jna(this);this.R(a.g,"mutedautoplaychange",this.wU)};
Jna=function(a){var b=a.app.g,c=(0,g.y)(a.rI,a),d=(0,g.y)(a.vU,a),e=(0,g.y)(a.uU,a),f=(0,g.y)(a.NH,a);b.addEventListener("initializingmode",c);b.addEventListener("videoplayerreset",d);b.addEventListener("videodatachange",e);b.addEventListener("presentingplayerstatechange",f);g.Ke(a,function(){b.removeEventListener("initializingmode",c);b.removeEventListener("videoplayerreset",d);b.removeEventListener("videodatachange",e);b.removeEventListener("presentingplayerstatechange",f)})};
Lna=function(a,b){a.o=b;a.F=!1;if(!a.o.parentNode)try{pe(a.containerElement,a.o,0)}catch(c){throw Error("videoElement_: "+!!a.o+", containerElement: "+!!a.containerElement+", containerElement.childNodes: "+!(!a.containerElement||!a.containerElement.childNodes)+", containerInitiallyTruthy: "+a.X+", isDisposed: "+a.na());}a.A&&(a.A.disconnect(),a.A=null);!a.app.Z.experiments.g("no_detect_bad_extensions2")&&window.MutationObserver&&(a.A=new window.MutationObserver((0,g.y)(function(a){for(var b=0;b<a.length;b++){var c=
a[b];"style"==c.attributeName&&"100%"==c.target.style.height&&(window.console.warn("Detected an extension setting the video size to an invalid height, which hides video playback. Restoring the original height..."),this.D=new g.Mg(0,0,0,0),RY(this))}},a)),a.A.observe(a.o,{attributes:!0}));
a.D=new g.Mg(0,0,0,0);RY(a);yW(a);Kna(a)};
Kna=function(a){g.R(a.o,"video-stream");g.R(a.o,"html5-main-video");var b=a.app.Z;b.Hb&&a.o.setAttribute("data-no-fullscreen",!0);b.Tj&&(a.o.setAttribute("webkit-playsinline",""),a.o.setAttribute("playsinline",""));b.xI&&a.o&&a.R(a.o,"click",a.o.play,a.o)};
SY=function(a,b){if(a.o){var c=a.app.Z;OM&&(a.o.setAttribute("x-webkit-airplay","allow"),b.title?a.o.setAttribute("title",b.title):a.o.removeAttribute("title"));a.o.setAttribute("controlslist","nodownload");c.FS&&b.videoId&&(a.o.poster=b.hc(c,"default.jpg"))}c=g.xP(b,"yt:bgcolor");a.containerElement.style.backgroundColor=c?c:"";a.M=oN(g.xP(b,"yt:stretch"));a.O=oN(g.xP(b,"yt:crop"),!0);a.app.Z.experiments.g("use_legacy_crop_resize")||a.jg()};
g.UY=function(a){var b=a.app.Z.experiments.g("html5_aspect_from_adaptive_format");if(b){var c=g.MU(a.app);if((c=c?c.g:null)&&c.ub&&c.ub.g)return b=c.ub.videoInfos[0],TY(b.video.width,b.video.height)}return(a=a.o)?TY(a.videoWidth,a.videoHeight):b?16/9:window.NaN};
g.WY=function(a,b){var c=a.Za(),d=VY(a,c,g.UY(a),b);return new g.Mg((c.width-d.width)/2,(c.height-d.height)/2,d.width,d.height)};
VY=function(a,b,c,d){(0,window.isNaN)(a.M)||(c=a.M);var e=c;(0,window.isNaN)(a.J)?(0,window.isNaN)(a.O)||(e=a.O):e=a.J;a=TY(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};
TY=function(a,b){return 1>Math.abs(XY*b-a)||1>Math.abs(XY/a-b)?XY:a/b};
YY=function(a){return 1==a.app.M?!1:(a=g.NU(a.app.g))&&!g.V(a,2)&&!aQ(a)};
yW=function(a){var b="3"==a.app.Z.C&&!a.F&&YY(a)&&!a.app.ka;a.o.controls=b;a.o.tabIndex=b?0:-1};
RY=function(a){var b=g.UY(a),c=a.Za(),d=1,e=!1,f=VY(a,c,b),k=XE();if(YY(a)){var l=(0,window.isNaN)(b);OM&&!g.kc(601)?b=f.aspectRatio:l=l||"3"==a.app.Z.C;l?l=new g.Mg(0,0,c.width,c.height):(d=f.aspectRatio/b,l=new g.Mg((c.width-f.width/d)/2,(c.height-f.height)/2,f.width/d,f.height),1==d&&mi&&(b=l.width-c.height*b,0<b&&(l.width+=b,l.height+=b)));k&&(a.o.style.display="");a.K=!0}else b=-c.height,OM?b*=window.devicePixelRatio:g.SN&&(b-=window.screen.height),l=new g.Mg(0,b,c.width,c.height),k&&(a.o.style.display=
"none"),a.K=!1;g.Og(a.D,l)||(a.D=l,g.AN(a.app.Z)?(a.o.style.setProperty("width",l.width+"px","important"),a.o.style.setProperty("height",l.height+"px","important")):g.sh(a.o,g.Qg(l)),g.hh(a.o,g.Sg(l)),e=!0);c=new g.Mg((c.width-f.width)/2,(c.height-f.height)/2,f.width,f.height);g.Og(a.B,c)||(a.B=c,e=!0);g.ah(a.o,"transform",1==d?"":"scaleX("+d+")");return e};
ZY=function(a,b,c,d){g.RF.call(this);this.A=a;this.X=(0,g.y)(b,null);this.o=0;this.F=!1;this.C=new g.Nd(window.NaN,window.NaN);this.g=new g.OF(this);g.L(this,this.g);b=d?4E3:3E3;this.J=new g.rt(g.Aa(this.qc,1,!1),b,this);g.L(this,this.J);this.K=new g.rt(g.Aa(this.qc,2,!1),b,this);g.L(this,this.K);this.O=new g.rt(g.Aa(this.qc,512,!1),0,this);g.L(this,this.O);this.P=c&&0<c.Kh.length?5E3:3E3;d||(this.B=this.g.R(a,"mouseover",this.ju),this.g.R(a,"mousemove",this.rU),this.g.R(a,"mouseleave",this.WM));
g.ch?this.g.R(a,"keypress",this.CJ):this.g.R(a,"focusin",this.bH);this.D=this.g.R(a,"mousedown",this.mD);this.G=this.g.R(a,"touchstart",this.oD,void 0,!0);this.ca=null;this.qc(640,!0)};
$Y=function(a){a.qc(4,!1);a.M&&(a.g.Ca(a.M),a.M=null,a.B=a.g.R(a.A,"mouseover",a.ju));a.B&&(a.g.Ca(a.B),a.B=a.g.R(a.A,"mouseover",a.ju))};
bZ=function(a,b){g.W.call(this,{H:"canvas",N:"ytp-tv-static"});this.A=this.element.getContext("2d");this.height=this.width=window.NaN;this.K=null;this.G=this.J=this.C=this.B=0;this.D=-75;this.o=new g.ot(this.M,void 0,this);g.L(this,this.o);this.F=new g.rt(this.o.Bk,75,this.o);g.L(this,this.F);aZ(this,a,b)};
cZ=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};
aZ=function(a,b,c){if(b&&c){a.width=a.element.width=b;a.height=a.element.height=c;var d=g.je("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.K=d;a.J=cZ(b);a.G=cZ(c/10);a.A.scale(1.5,1.5);a.A.fillStyle="rgba(255, 255, 255, 0.02)"}};
dZ=function(){return{H:"div",N:"ytp-spinner-dots",L:[{H:"div",ea:["ytp-spinner-dot","ytp-spinner-dot-0"]},{H:"div",ea:["ytp-spinner-dot","ytp-spinner-dot-1"]},{H:"div",ea:["ytp-spinner-dot","ytp-spinner-dot-2"]},{H:"div",ea:["ytp-spinner-dot","ytp-spinner-dot-3"]},{H:"div",ea:["ytp-spinner-dot","ytp-spinner-dot-4"]},{H:"div",ea:["ytp-spinner-dot","ytp-spinner-dot-5"]},{H:"div",ea:["ytp-spinner-dot","ytp-spinner-dot-6"]},{H:"div",ea:["ytp-spinner-dot","ytp-spinner-dot-7"]}]}};
g.eZ=function(a,b,c,d){if((void 0===c||!c)&&g.zV(a))return g.LF(a),!0;b.sd();a=a.currentTarget.getAttribute("href");g.qV(a,d,!0);return!1};
fZ=function(a,b,c){if(ON(g.Y(b))&&2!=b.Xa()){if(g.zV(c))return b.isFullscreen()&&g.QU(b),g.LF(c),!0}else{var d=g.zV(c);d&&b.sd();g.qV(a,void 0,!0);d&&(g.rV(a),g.LF(c))}return!1};
gZ=function(a){var b=!g.Y(a).Hb&&3!=a.Xa();return a.isFullscreen()||b};
iZ=function(a){g.W.call(this,{H:"div",ea:["ytp-error"],T:{role:"alert"},L:[{H:"div",N:"ytp-error-content",L:[{H:"div",N:"ytp-error-content-wrap",L:["{{content}}"]}]}]});this.o=a;this.B=[];try{this.A=new bZ(1,1),g.L(this,this.A),this.A.Ia(this.element,0)}catch(b){}hZ(this,g.OU(this.o).Za())};
hZ=function(a,b){jZ(a,function(a){aZ(a,b.width,b.height)})};
jZ=function(a,b){if(a.A)try{b.call(a,a.A)}catch(c){a.A.dispose(),a.A=null}};
kZ=function(a,b,c,d,e){e||(e=g.Y(a.o).A);a=d?{CPN:a.o.ia().clientPlaybackNonce}:null;b=g.T(b,a).split(/\$(BEGIN|END)_LINK/);return{H:"span",L:[b[0],{H:"br"},{H:"a",T:{href:c,target:e?"_blank":null},L:[b[2]]},b[4]]}};
Mna=function(a,b,c){lZ("add_to_watch_later_list",a,b,c)};
Nna=function(a,b,c){lZ("delete_from_watch_later_list",a,b,c)};
lZ=function(a,b,c,d){a=c?c+"playlist_video_ajax?action_"+a+"=1":"/playlist_video_ajax?action_"+a+"=1";c={feature:b.feature||null,authuser:b.Ec||null,pageid:b.pageId||null};var e={video_ids:b.videoIds||null,source_playlist_id:b.sourcePlaylistId||null,full_list_id:b.fullListId||null,delete_from_playlists:b.p2||null,add_to_playlists:b.f2||null,plid:g.PD("PLAYBACK_ID")||null};g.LE(a,{method:"POST",bd:c,Tb:e,context:b.context,onError:b.onError,Ob:function(a,c){var d=c.result;d&&d.actions&&YF(d.actions);
b.Ob.call(this,a,c)},
Fd:b.Fd,withCredentials:!!d})};
mZ=function(){this.g=[];this.o=[];this.A=[]};
pZ=function(a,b,c){c=g.je(c?"AUDIO":"VIDEO");g.Ba(c,Ona);g.CF(c,"loadeddata",(0,g.y)(c.o,c));yN&&6<=nZ&&g.CF(c,"webkitbeginfullscreen",(0,g.y)(c.play,c));a.o.push(c);b?a.A.push(c):oZ(a,c);return c};
oZ=function(a,b){g.gb(a.o,b)&&!g.gb(a.g,b)&&(b.src||b.load(),g.nb(a.A,b)||a.g.push(b))};
qZ=function(){g.W.call(this,{H:"div",N:"ytp-sparkline"})};
rZ=function(a,b){for(var c=a.element.children.length;c<b.length;c++){var d=g.je("SPAN");d.style.width=100/b.length+"%";a.element.appendChild(d)}d=Math.max.apply(Math,b)||1;for(c=0;c<b.length;c++)a.element.children[c].style.height=b[c]/d*100+"%";for(;a.element.children.length>b.length;)g.qe(a.element.lastChild)};
sZ=function(a){var b={H:"button",ea:["html5-video-info-panel-close","ytp-button"],T:{title:"close"},L:["[x]"]};g.W.call(this,{H:"div",N:"html5-video-info-panel",L:[b,{H:"div",N:"html5-video-info-panel-content",L:[{H:"div",L:[{H:"div",L:["Video ID:"]},{H:"span",L:["{{video_id}}"]}]},{H:"div",L:[{H:"div",L:["Dimensions:"]},{H:"span",L:["{{dimensions}}"]}]},{H:"div",L:[{H:"div",L:["Resolution:"]},{H:"span",L:["{{resolution}}"]}]},{H:"div",L:[{H:"div",L:["Optimal Resolution:"]},{H:"span",L:["{{optimal_resolution}}"]}]},
{H:"div",L:[{H:"div",L:["Volume:"]},{H:"span",L:["{{volume}}"]}]},{H:"div",L:[{H:"div",L:["Stream Host:"]},{H:"span",L:["{{stream_host}}"]}]},{H:"div",L:[{H:"div",L:["Stream Type:"]},{H:"span",L:["{{stream_type}}"]}]},{H:"div",T:{style:"{{cpn_style}}"},L:[{H:"div",L:["CPN:"]},{H:"span",T:{style:"font-family:monospace"},L:["{{cpn}}"]}]},{H:"div",L:[{H:"div",L:["Mime Type:"]},{H:"span",L:["{{mime}}"]}]},{H:"div",L:[{H:"div",L:["DASH:"]},{H:"span",L:["{{dash}}"]}]},{H:"div",T:{style:"{{shader_info_style}}"},
L:[{H:"div",L:["Shader Info:"]},{H:"span",L:["{{shader_info}}"]}]},{H:"div",T:{style:"{{color_style}}"},L:[{H:"div",L:["Color:"]},{H:"span",L:["{{color}}"]}]},{H:"div",T:{style:"{{drm_style}}"},L:[{H:"div",L:["Protected:"]},{H:"span",L:["{{drm}}"]}]},{H:"div",L:[{H:"div",L:["Connection Speed:"]},{H:"span",L:[{H:"span",L:["{{bandwidth_sparkline}}"]},{H:"span",L:["{{bandwidth_kbps}}"]}]}]},{H:"div",L:[{H:"div",L:["Buffer Health:"]},{H:"span",L:[{H:"span",L:["{{buffer_health_sparkline}}"]},{H:"span",
L:["{{buffer_health_seconds}}"]}]}]},{H:"div",L:[{H:"div",L:["Network Activity:"]},{H:"span",L:[{H:"span",L:["{{network_activity_sparkline}}"]},{H:"span",L:["{{network_activity_bytes}}"]}]}]},{H:"div",T:{style:"{{live_latency_style}}"},L:[{H:"div",L:["Live Latency:"]},{H:"span",L:[{H:"span",L:["{{live_latency_sparkline}}"]},{H:"span",L:["{{live_latency_message}}"]}]}]},{H:"div",L:[{H:"div",L:["Dropped Frames:"]},{H:"span",L:["{{dropped_frames}}"]}]},{H:"div",T:{style:"{{sequence_number_style}}"},
L:[{H:"div",L:["Sequence Number:"]},{H:"span",L:["{{sequence_number}}"]}]}]}]});b&&this.R(this.wa["html5-video-info-panel-close"],"click",this.hide);this.A=new qZ;g.L(this,this.A);this.Fa("bandwidth_sparkline",this.A);this.C=new qZ;g.L(this,this.C);this.Fa("live_latency_sparkline",this.C);this.B=new qZ;g.L(this,this.B);this.Fa("buffer_health_sparkline",this.B);this.D=new qZ;g.L(this,this.D);this.Fa("network_activity_sparkline",this.D);this.F=new g.rt(this.G,500,this);g.L(this,this.F);this.o=a};
tZ=function(a,b){g.K.call(this);this.A=a||window.NaN;this.g=b||null;this.o=[]};
g.uZ=function(a){return QQ(a)?(a.fetch=0,new g.PQ(a)):new g.hP(a)};
vZ=function(a){this.o=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.y)(this.A,this),b):null)&&this.g.observe(a)};
wZ=function(a){g.W.call(this,{H:"div",N:"ytp-bezel",T:{role:"status","aria-label":"{{label}}"},L:[{H:"div",N:"ytp-bezel-icon",L:["{{icon}}"]}]});this.A=new g.rt(this.show,10,this);g.L(this,this.A);this.o=new g.rt(this.hide,500,this);g.L(this,this.o);this.U=a;this.hide()};
yZ=function(a,b){if(b)g.V(g.NU(a.U),64)||xZ(a,gE(),g.T("YTP_PLAY"));else{var c=a.U.ia();c.Da&&!c.mg?xZ(a,lE(),g.T("YTP_STOP")):xZ(a,fE(),g.T("YTP_PAUSE"))}};
zZ=function(a,b,c){0>=b?(c=oE(),b=g.T("YTP_SCREENREADER_VOLUME_MUTED")):(c=c?nE():mE(),b=Math.floor(b)+"% "+g.T("YTP_SCREENREADER_VOLUME_SETTING"));xZ(a,c,b)};
AZ=function(a,b,c){c=c?g.TD?{H:"div",ea:["ytp-icon","ytp-icon-fast-rewind"]}:{H:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{H:"path",Qa:!0,N:"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.TD?{H:"div",ea:["ytp-icon","ytp-icon-fast-forward"]}:{H:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{H:"path",Qa:!0,N:"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.T("YTP_PLAYBACK_SPEED_CHANGED",
{RATE:b});xZ(a,c,b)};
BZ=function(a){xZ(a,hE(),g.T("YTP_PREVIOUS"))};
xZ=function(a,b,c){a.Fa("label",void 0===c?"":c);a.Fa("icon",b);g.ut(a.o);a.A.start()};
g.CZ=function(a,b){b=b||{H:"div",N:"ytp-thumbnail-overlay"};g.W.call(this,b);this.A=new g.DV(this,250);g.L(this,this.A);this.o=a};
DZ=function(a){g.CZ.call(this,a,{H:"div",ea:["ytp-thumbnail-overlay","ytp-cued-thumbnail-overlay"],L:[{H:"div",N:"ytp-thumbnail-overlay-image"}]});this.C=new g.OF(this);g.L(this,this.C);this.D=this.wa["ytp-thumbnail-overlay-image"];this.B=new g.rt(this.nz,0,this);g.L(this,this.B);this.nz();this.R(a,"presentingplayerstatechange",this.aM);this.R(a,"ypcStateChanged",this.zR);"detailpage"==g.Y(a).g&&this.R(a,"videoplayerreset",this.ZL)};
FZ=function(a,b,c){var d=aQ(c),e=!g.Y(b).experiments.g("disable_new_pause_state3");b=g.V(c,2)&&!IU(b)&&(!e||!g.EZ(b.app));d||b?a.show():(a.hide(),g.V(c,1)||a.stop())};
HZ=function(a){var b=["ytp-large-play-button","ytp-button"],c=g.Y(a);c.F&&c.rb?c=[{H:"div",N:"ytp-large-play-button-circle",T:{style:"background-color: "+c.rb}},g.TD?{H:"div",ea:["ytp-icon","ytp-icon-dni-large-play-button"]}:{H:"svg",T:{height:"100%",version:"1.1",viewBox:"4 -6 60 60",width:"100%"},L:[{H:"path",T:{d:"m 26.96,13.67 18.37,9.62 -18.37,9.55 -0.00,-19.17 z",fill:"#fff"}}]}]:c.ba&&!c.zc?c=[g.TD?{H:"div",ea:["ytp-icon","ytp-icon-large-play-button-hover"]}:{H:"svg",T:{height:"100%",version:"1.1",
viewBox:"0 0 68 48",width:"100%"},L:[{H:"path",N:"ytp-large-play-button-bg",T:{d:"m .66,37.62 c 0,0 .66,4.70 2.70,6.77 2.58,2.71 5.98,2.63 7.49,2.91 5.43,.52 23.10,.68 23.12,.68 .00,-1.3e-5 14.29,-0.02 23.81,-0.71 1.32,-0.15 4.22,-0.17 6.81,-2.89 2.03,-2.07 2.70,-6.77 2.70,-6.77 0,0 .67,-5.52 .67,-11.04 l 0,-5.17 c 0,-5.52 -0.67,-11.04 -0.67,-11.04 0,0 -0.66,-4.70 -2.70,-6.77 C 62.03,.86 59.13,.84 57.80,.69 48.28,0 34.00,0 34.00,0 33.97,0 19.69,0 10.18,.69 8.85,.84 5.95,.86 3.36,3.58 1.32,5.65 .66,10.35 .66,10.35 c 0,0 -0.55,4.50 -0.66,9.45 l 0,8.36 c .10,4.94 .66,9.45 .66,9.45 z",
fill:"#cc181e"}},{H:"path",T:{d:"m 26.96,13.67 18.37,9.62 -18.37,9.55 -0.00,-19.17 z",fill:"#fff"}},{H:"path",T:{d:"M 45.02,23.46 45.32,23.28 26.96,13.67 43.32,24.34 45.02,23.46 z",fill:"#ccc"}}]}]:(c.isMobile&&b.push("ytp-touch-device"),c=[c.zc?g.TD?{H:"div",ea:["ytp-icon","ytp-icon-house-brand-large-play-button"]}:{H:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 60 60",width:"100%"},L:[{H:"path",N:"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"}},{H:"path",T:{d:"M21,41.65 L21,18 L43.7,29.85 L21,41.65 Z",fill:"#fff"}}]}:g.TD?{H:"div",ea:["ytp-icon","ytp-icon-large-play-button"]}:{H:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 68 48",width:"100%"},L:[{H:"path",N:"ytp-large-play-button-bg",T:{d:"m .66,37.62 c 0,0 .66,4.70 2.70,6.77 2.58,2.71 5.98,2.63 7.49,2.91 5.43,.52 23.10,.68 23.12,.68 .00,-1.3e-5 14.29,-0.02 23.81,-0.71 1.32,-0.15 4.22,-0.17 6.81,-2.89 2.03,-2.07 2.70,-6.77 2.70,-6.77 0,0 .67,-5.52 .67,-11.04 l 0,-5.17 c 0,-5.52 -0.67,-11.04 -0.67,-11.04 0,0 -0.66,-4.70 -2.70,-6.77 C 62.03,.86 59.13,.84 57.80,.69 48.28,0 34.00,0 34.00,0 33.97,0 19.69,0 10.18,.69 8.85,.84 5.95,.86 3.36,3.58 1.32,5.65 .66,10.35 .66,10.35 c 0,0 -0.55,4.50 -0.66,9.45 l 0,8.36 c .10,4.94 .66,9.45 .66,9.45 z",
fill:"#1f1f1e","fill-opacity":"0.81"}},{H:"path",T:{d:"m 26.96,13.67 18.37,9.62 -18.37,9.55 -0.00,-19.17 z",fill:"#fff"}},{H:"path",T:{d:"M 45.02,23.46 45.32,23.28 26.96,13.67 43.32,24.34 45.02,23.46 z",fill:"#ccc"}}]}]);g.W.call(this,{H:"button",ea:b,T:{"aria-label":"{{label}}"},L:c});this.o=a;this.B=!1;this.A=new g.DV(this,250);g.L(this,this.A);this.R(a,"presentingplayerstatechange",this.C);GZ(this,g.NU(a))};
GZ=function(a,b){if(g.Y(a.o).TR&&!a.B){FZ(a.A,a.o,b);var c=(c=a.o.ia())&&c.title?g.T("YTP_WATCH_VIDEO_OR_PLAYLIST",{TITLE:c.title}):g.T("YTP_PLAY");a.Fa("label",c)}else a.hide()};
JZ=function(a,b){g.OF.call(this);this.U=a;this.A=b;this.o=new window.Set;this.g=window.navigator.mediaSession;IZ(this,"play",function(){yZ(b,!0);a.fd()});
IZ(this,"pause",function(){yZ(b,!1);a.sd()});
IZ(this,"seekbackward",function(){xZ(b,jE());a.fe(-5*a.Wc())});
IZ(this,"seekforward",function(){xZ(b,bE());a.fe(5*a.Wc())});
this.R(a,"videodatachange",this.C);this.R(a,"presentingplayerstatechange",this.B);this.C()};
IZ=function(a,b,c){a.g.setActionHandler(b,c?(0,g.y)(c,a):null);a.o.add(b)};
KZ=function(a){g.W.call(this,{H:"div",N:"ytp-paid-content-overlay",T:{"aria-live":"assertive","aria-atomic":"true"}});this.J=new g.W({H:"div",ea:["ytp-button","ytp-paid-content-overlay-text"]});g.L(this,this.J);this.J.Ia(this.element);this.U=a;this.A=null;this.F=!1;this.C=new g.DV(this.J,250,!1,100);g.L(this,this.C);this.D=this.o=null;this.B={};this.G=0;this.R(a,"videodatachange",this.O);this.R(a,"presentingplayerstatechange",this.M)};
LZ=function(a,b){var c=vP(b),d=wP(b);a.o?b.videoId&&b.videoId!=a.A&&(g.ut(a.o),a.A=b.videoId,c=a.B[b.videoId]||0,a.F=!!d&&3E3>c):c&&d&&(a.o=new g.rt(a.K,d,a),g.L(a,a.o),g.ze(g.J("ytp-paid-content-overlay-text",a.element),c))};
MZ=function(a,b){a.o&&g.V(b,8)&&a.F&&(a.F=!1,a.C.show(),a.G=(0,g.F)(),a.o.start())};
OZ=function(a){g.W.call(this,{H:"div",N:"ytp-spinner",L:[dZ(),{H:"div",N:"ytp-spinner-message",L:[g.T("YTP_PLAYBACK_STALLED_AT_START")]}]});this.B=this.wa["ytp-spinner-message"];this.A=a;this.o=new g.rt(this.show,500,this);g.L(this,this.o);this.R(a,"presentingplayerstatechange",this.C);this.R(a,"onFrescaStateChange",this.D);this.R(a,"playbackstalledatstart",this.F);NZ(this,g.NU(a))};
NZ=function(a,b){if(g.V(b,128))var c=0;else!(c=g.V(b,16))&&(c=g.V(b,1))&&(c=g.GU(a.A).F,c=!(c&&c.loaded));c?a.o.start():a.hide()};
PZ=function(a,b,c,d){d=void 0===d?!1:d;g.xV.call(this,b);this.U=a;this.da=d;this.K=null;this.J=new g.OF(this);g.L(this,this.J);this.M=new g.DV(this,c,!0);g.L(this,this.M);this.C=null};
QZ=function(a){a.C&&(window.document.activeElement&&g.xe(a.element,window.document.activeElement)&&(g.De(a.C),a.C.focus()),a.C.removeAttribute("aria-expanded"),a.C=null);g.QF(a.J);a.K=null};
RZ=function(a){return a.g&&3!=a.M.g};
SZ=function(a){var b=g.Y(a).experiments.A("mweb_muted_autoplay_animation"),c=[],d=[];"none"!=b&&(c.push("ytp-unmute-animated"),d.push({H:"div",ea:["ytp-unmute-box"]}),"expand"==b?c.push("ytp-unmute-expand"):"shrink"==b&&c.push("ytp-unmute-shrink"));PZ.call(this,a,{H:"div",ea:["ytp-unmute","ytp-popup"].concat(c),L:[{H:"div",N:"ytp-unmute-inner",L:[{H:"div",ea:["ytp-unmute-icon"],L:[g.TD?{H:"div",ea:["ytp-icon","ytp-icon-volume-muted-dark"]}:{H:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",
width:"100%"},L:[{H:"path",Qa:!0,N:"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"}}]}]},
{H:"div",ea:["ytp-unmute-text"],L:[g.T("YTP_TAP_TO_UNMUTE")]}].concat(d)}]},100);this.o=a;this.A=!1;this.R(a,"mutedautoplaychange",this.B,this);this.V("click",this.onClick,this);this.Lb(a.app.ka)};
TZ=function(a){g.OF.call(this);g.SD();var b=g.Y(a),c=g.OU(a);this.g=a;this.Ab=!1;this.O=null;this.ua=!1;var d=new DZ(a);g.L(this,d);g.hV(a,d.element,5);var e=new OZ(a);g.L(this,e);g.hV(a,e.element,5);this.F=new wZ(a);g.L(this,this.F);g.hV(a,this.F.element,5);this.ba=new HZ(a);g.L(this,this.ba);this.ba.Ia(d.element);var f=a.ia();this.B=new ZY(c,(0,g.y)(this.SL,this),f,b.useTabletControls);g.L(this,this.B);this.B.subscribe("autohideupdate",this.ys,this);var k=new KZ(a);g.L(this,k);g.hV(a,k.element,
5);this.ca=new SZ(a);g.L(this,this.ca);g.hV(this.g,this.ca.element,3);this.jb=!1;this.R(a,"mutedautoplaychange",this.TL);this.ha=new g.rt(this.kz,200,this);g.L(this,this.ha);this.va=f.videoId;this.D=null;this.M=!1;this.Ua=null;this.sa=[];f=a.getRootNode();f.setAttribute("aria-label",g.T("YTP_PLAYER_NORMAL"));switch(b.color){case "white":g.R(f,"ytp-color-white")}!g.Y(a).experiments.g("disable_mediasession2")&&"mediaSession"in window.navigator&&!window.navigator.mediaSession.metadata&&window.navigator.mediaSession.setActionHandler&&
(f=new JZ(a,this.F),g.L(this,f));this.R(a,"appresize",this.Bb);this.R(a,"presentingplayerstatechange",this.WP);this.R(a,"videodatachange",this.jz);this.R(a,"videoplayerreset",this.SP);this.R(a,"autonavvisibility",this.Gi,this);this.R(a,"minimized",this.Hg,this);this.R(a,"onFrescaStateChange",this.Hg,this);this.R(c,"click",this.qQ,this);this.R(c,"dblclick",this.rQ,this);b.sa&&(this.R(c,"gesturechange",this.sQ,this),this.R(c,"gestureend",this.tQ,this));this.rb=[c.containerElement,e.element,d.element,
this.F.element,this.ba.element]};
UZ=function(a,b){if(!b)return!1;var c=a.g.app.D.ra();if(c&&g.xe(c,b))return c.controls;for(c=0;c<a.rb.length;c++)if(g.xe(a.rb[c],b))return!1;return g.Gp(b,"ytp-player-content")||g.Gp(b,"html5-endscreen")||b==a.g.getRootNode()?!1:!0};
VZ=function(a,b,c){a.g.isFullscreen()?c<1-b&&g.QU(a.g):c>1+b&&g.QU(a.g)};
WZ=function(a){g.xV.call(this,{H:"div",N:"ytp-ad-persistent-progress-bar-container",L:[{H:"div",N:"ytp-ad-persistent-progress-bar"}]});this.A=a;this.D=this.wa["ytp-ad-persistent-progress-bar"];this.o=null;this.R(a,"presentingplayerstatechange",this.C);this.hide();this.C()};
ZZ=function(a,b){var c={H:"button",ea:["ytp-button","ytp-cards-button"],T:{"aria-label":g.T("YTP_CARDS_BUTTON_ARIA_LABEL"),"aria-owns":"iv-drawer","aria-haspopup":!0},L:[{H:"span",N:"ytp-cards-button-icon-default",L:[g.TD?{H:"div",ea:["ytp-icon","ytp-icon-info-card"]}:{H:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{H:"path",Qa:!0,N:"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"}}]}]},
{H:"span",N:"ytp-cards-button-icon-shopping",L:[g.TD?{H:"div",ea:["ytp-icon","ytp-icon-shopping-card"]}:{H:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{H:"path",N:"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"}},{H:"path",N:"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"}},{H:"path",N:"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.W.call(this,c);this.U=a;this.B=b;this.o=null;this.A=new g.DV(this,250,!0,100);g.L(this,this.A);this.hide();this.V("click",this.C);this.V("mouseover",this.D);XZ(this,!0);c=new YZ(a,this);g.L(this,c);g.hV(a,c.element,6)};
XZ=function(a,b){b?a.o=$Z(a.B.o,a.element):(a.o(),a.o=null)};
YZ=function(a,b){g.W.call(this,{H:"div",N:"ytp-cards-teaser",L:[{H:"div",N:"ytp-cards-teaser-box"},{H:"div",N:"ytp-cards-teaser-text",L:[{H:"span",N:"ytp-cards-teaser-label",L:["{{text}}"]}]}]});this.U=a;this.C=new g.DV(this,250,!1,250);g.L(this,this.C);this.F=b;this.o=null;this.J=new g.rt(this.xP,300,this);this.G=new g.rt(this.vP,2E3,this);this.K=new g.to(null);this.D=[];this.B=this.A=null;this.R(b.element,"mouseover",this.lz);this.R(b.element,"mouseout",this.th);this.R(a,"cardsteasershow",this.MQ);
this.R(a,"cardsteaserhide",this.al);this.R(a,"cardstatechange",this.gC);this.R(a,"presentingplayerstatechange",this.gC);this.V("click",this.VL);this.V("mouseenter",this.UL)};
Pna=function(a,b){a.Fa("text",b.teaserText);a.element.setAttribute("dir",g.uo(a.K,b.teaserText));a.C.show();a.A=new g.rt(function(){g.R(this.U.getRootNode(),"ytp-cards-teaser-shown")},0,a);
a.A.start();XZ(a.F,!1);a.o=new g.rt(a.al,580+b.durationMs,a);a.o.start();a.D.push(a.V("mouseover",a.lz,a));a.D.push(a.V("mouseout",a.th,a))};
g.b_=function(a,b,c,d){g.xV.call(this,a);this.priority=b;c&&g.a_(this,c);d&&this.dc(d)};
g.c_=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{H:c?"a":"div",ea:b,T:a,L:[{H:"div",N:"ytp-menuitem-label",L:["{{label}}"]},{H:"div",N:"ytp-menuitem-content",L:["{{content}}"]}]}};
g.a_=function(a,b){a.Fa("label",b)};
d_=function(a,b,c,d,e){var f={H:"div",N:"ytp-panel"};if(c){var k="ytp-panel-title";var l={H:"div",N:"ytp-panel-header",L:[{H:"button",ea:["ytp-button",k],L:[c]}]};if(e){var m="ytp-panel-options";l.L.push({H:"button",ea:["ytp-button",m],L:[d]})}f.L=[l]}g.xV.call(this,f);this.P=b;b.Ia(this.element);this.fa=!1;c&&(this.R(this.wa[k],"click",this.ha),this.fa=!0,e&&this.R(this.wa[m],"click",e));b.subscribe("size-change",this.ga,this);this.R(a,"fullscreentoggled",this.ga)};
g.e_=function(a,b,c,d,e){b=new g.xV({H:"div",N:"ytp-panel-menu",T:{role:"menu",id:void 0===b?null:b}});d_.call(this,a,b,c,d,e);this.D=b;g.L(this,this.D);this.Ma=[]};
g.f_=function(a,b,c){if(void 0===c?0:c)a.Ma.push(b),a.D.element.appendChild(b.element);else{c=g.xb(a.Ma,b,Qna);if(0<=c)return;c=~c;g.tb(a.Ma,c,0,b);pe(a.D.element,b.element,c)}b.subscribe("size-change",a.X,a);a.D.Y("size-change")};
g.g_=function(a,b){b.unsubscribe("size-change",a.X,a);a.na()||(g.nb(a.Ma,b),a.D.element.removeChild(b.element),a.D.Y("size-change"))};
g.h_=function(a){for(var b=g.ka(a.Ma),c=b.next();!c.done;c=b.next())c.value.unsubscribe("size-change",a.X,a);a.Ma=[];g.ne(a.D.element);a.D.Y("size-change")};
Qna=function(a,b){return b.priority-a.priority};
g.i_=function(a,b){PZ.call(this,a,{H:"div",ea:["ytp-popup",b||null]},100,!0);this.o=[];this.size=new g.Qd(0,0);this.D=this.F=null;this.O=this.P=0;this.V("keydown",this.mM)};
j_=function(a){g.sh(a.element,a.P||"100%",a.O||"100%");var b=a.o[a.o.length-1];b.element.style.width="";b.element.style.height="";b.element.style.maxWidth="100%";b.element.style.maxHeight="100%";b.P.element.style.height="";var c=g.th(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.fa&&(d=g.th(b.wa["ytp-panel-header"]).height);b.P.element.style.height=c.height-d+"px";a.size=
c};
g.l_=function(a,b){var c=a.o[a.o.length-1];a.o.push(b);k_(a,c,b)};
g.m_=function(a){var b=a.o.pop(),c=a.o[0];a.o=[c];k_(a,b,c,!0)};
k_=function(a,b,c,d){n_(a);!g.Gp(c.element,"ytp-panel-animate-back")&&g.Gp(c.element,"ytp-panel-animate-forward");b&&(b.unsubscribe("size-change",a.Cl,a),b.unsubscribe("back",a.Oe,a));c.subscribe("size-change",a.Cl,a);c.subscribe("back",a.Oe,a);if(a.g){g.R(c.element,d?"ytp-panel-animate-back":"ytp-panel-animate-forward");c.Ia(a.element);c.focus();a.element.scrollLeft=0;a.element.scrollTop=0;var e=a.size;j_(a);g.sh(a.element,e);a.F=new g.rt(g.Aa(a.DS,b,c,d),20,a);a.F.start()}else c.Ia(a.element),b&&
b.detach()};
n_=function(a){a.F&&g.tt(a.F);a.D&&g.tt(a.D)};
o_=function(a){var b=g.c_({"aria-haspopup":!0});g.b_.call(this,b,a);this.V("keydown",this.o)};
p_=function(a,b){a.element.setAttribute("aria-haspopup",b)};
q_=function(a,b){var c=g.c_({role:"menuitemcheckbox","aria-checked":!1});g.b_.call(this,c,b,a,{H:"div",N:"ytp-menuitem-toggle-checkbox"});this.o=!1;this.V("click",this.J)};
r_=function(a,b){a.o=b;a.element.setAttribute("aria-checked",a.o)};
u_=function(a,b,c){g.e_.call(this,a);this.U=a;this.M=b;this.K=c;this.B=new o_(8);g.L(this,this.B);g.f_(this,this.B,!0);this.B.V("click",this.JO,this);kV(a,this.B,28659);this.A=new o_(7);g.L(this,this.A);g.f_(this,this.A,!0);this.A.V("click",this.IO,this);kV(a,this.A,28660);this.o=new o_(6);g.L(this,this.o);g.f_(this,this.o,!0);this.o.V("click",this.GO,this);kV(a,this.o,28658);this.F=new q_(g.T("YTP_LOOP"),5);g.L(this,this.F);g.f_(this,this.F,!0);this.F.V("click",this.bP,this);kV(a,this.F,28661);this.O=
new g.b_(g.c_({href:"{{href}}",target:"_blank"},void 0,!0),4,g.T("YTP_TROUBLESHOOT_ISSUE"));g.L(this,this.O);g.f_(this,this.O,!0);this.O.V("click",this.kQ,this);this.J=new o_(3);g.L(this,this.J);g.f_(this,this.J,!0);this.J.V("click",this.FO,this);b=new g.b_(g.c_(),2,g.T("YTP_SHOW_VIDEO_INFO"));g.L(this,b);g.f_(this,b,!0);b.V("click",this.DQ,this);this.G=new g.xV({H:"div",ea:["ytp-copytext","ytp-no-contextmenu"],T:{draggable:!1,tabindex:1},L:["{{text}}"]});g.L(this,this.G);this.G.V("click",this.lO,
this);this.da=new d_(a,this.G);g.L(this,this.da);this.C=null;b=window.document.queryCommandSupported&&window.document.queryCommandSupported("copy");g.UE&&g.kc(43)&&(b=!0);g.nM&&!g.kc(41)&&(b=!1);b&&(this.C=new g.W({H:"textarea",N:"ytp-html5-clipboard"}),g.L(this,this.C),this.C.Ia(this.element));this.R(a,"loopchange",this.aP);this.R(a,"videodatachange",this.XL);s_(this);t_(this,this.U.ia())};
v_=function(a,b){if(a.C){a.C.element.value=b;a.C.element.select();try{var c=window.document.execCommand("copy")}catch(d){}}c?a.K.Sb():(a.G.dc(b,"text"),g.l_(a.K,a.da),aR(a.G.element),a.C&&(a.C=null,s_(a)));return c};
t_=function(a,b){var c=g.Y(a.U),d=2!=a.U.Xa()||b.isListed,d=!c.J&&!!b.videoId&&d;"play"!=c.o?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.Oa&&(c.fmt=II(b.Oa)),b.clientPlaybackNonce&&(c.cpn=b.clientPlaybackNonce),b.uh&&(c.partnerid=b.uh),c=g.Cg("//support.google.com/googleplay/",c));a.o.Lb(d&&b.allowEmbed);a.B.Lb(d);a.A.Lb(d&&!b.Da);a.O.dc(c,"href")};
s_=function(a){var b=!!a.C;g.a_(a.J,g.T(b?"YTP_COPY_DEBUG_INFO":"YTP_GET_DEBUG_INFO"));p_(a.J,!b);g.a_(a.o,g.T(b?"YTP_EMBED_COPY":"YTP_GET_EMBED"));p_(a.o,!b);g.a_(a.B,g.T(b?"YTP_COPY_VIDEO_URL":"YTP_GET_VIDEO_URL"));p_(a.B,!b);g.a_(a.A,g.T(b?"YTP_COPY_VIDEO_URL_AT_TIME":"YTP_GET_VIDEO_URL_AT_TIME"));p_(a.A,!b)};
w_=function(a,b){g.mV(a.U,a.o,b);g.mV(a.U,a.B,b);g.mV(a.U,a.A,b);g.mV(a.U,a.F,b)};
y_=function(a,b){g.i_.call(this,a);this.A=a;this.X=b;this.B=new g.OF(this);g.L(this,this.B);this.G=null;kV(a,this,28656);g.R(this.element,"ytp-contextmenu");g.Y(a).F&&g.R(this.element,"ytp-dni");x_(this);this.hide()};
x_=function(a){g.QF(a.B);"gvn"!=g.Y(a.A).o&&a.B.R(g.OU(a.A),"contextmenu",a.kO)};
z_=function(a){a.A.isFullscreen()?g.hV(a.A,a.element,10):a.Ia(window.document.body)};
A_=function(a,b,c,d,e,f){g.OF.call(this);this.g=a;this.F=c;this.C=d;this.o=e;this.D=f;this.B=new g.rt(g.Aa(this.pz,!1),1E3,this);g.L(this,this.B);this.A="";a=g.Aa(this.Ys,!1);this.R(b,"mousedown",a);this.R(c.element,"mousedown",a);this.R(b,"keydown",this.rx);this.R(c.element,"keydown",this.rx);this.R(b,"keyup",this.tx);this.R(c.element,"keyup",this.tx)};
C_=function(a,b,c){var d=!1,e=g.Y(a.g);if(!e.Lg){switch(b){case 80:c&&(BZ(a.o),a.g.Uk(),d=!0);break;case 78:c&&(xZ(a.o,dE(),g.T("YTP_NEXT")),a.g.qj(),d=!0);break;case 74:a.g.Od()&&(xZ(a.o,g.TD?{H:"div",ea:["ytp-icon","ytp-icon-rewind-ten-seconds"]}:{H:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{H:"path",Qa:!0,N:"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.fe(-10*a.g.Wc()),d=!0);break;case 76:a.g.Od()&&(xZ(a.o,g.TD?{H:"div",ea:["ytp-icon","ytp-icon-forward-ten-seconds"]}:{H:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{H:"path",Qa:!0,N:"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.fe(10*a.g.Wc()),d=!0);break;case 77:a.g.Le()?(a.g.yg(),zZ(a.o,a.g.getVolume(),!1)):(a.g.mute(),zZ(a.o,0,!0));d=!0;break;case 75:d=!$P(g.NU(a.g));yZ(a.o,d);d?a.g.fd():a.g.sd();d=!0;break;case 190:if(c){if(e.Aa)for(b=a.g.pj(),c=a.g.Wc(),e=0;e<b.length-1;e++)b[e]==c&&(d=b[e+1],a.g.Sf(d,!0),AZ(a.o,d,!1),d=!0)}else a.g.Od()&&(B_(a,1),d=!0);break;case 188:if(c){if(e.Aa)for(b=a.g.pj(),c=a.g.Wc(),e=b.length-1;1<=e;e--)b[e]==c&&(d=b[e-1],a.g.Sf(d,!0),AZ(a.o,d,!0),d=!0)}else a.g.Od()&&(B_(a,-1),d=!0);break;
case 70:gZ(a.g)&&(g.QU(a.g),d=!0)}d&&a.C.qc(2,!0)}return d};
E_=function(a,b,c,d){if(g.GU(a.g).g){for(var e=a.g.mi(),f,k=0;k<g.D_.length;k++){var l=g.D_[k];if(l.option==b){f=l.options;break}}for(var m,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.Kn(d);a.pz(!0);a.B.start();return!0}return!1};
B_=function(a,b){a.g.Od();if(g.V(g.NU(a.g),4)){var c=a.g.ia().Oa;c&&(c=c.video)&&a.g.fe(b/(c.fps||30))}};
G_=function(a,b){g.W.call(this,{H:"div",N:"ytp-pause-overlay",L:[{H:"div",N:"ytp-suggestions"}]});this.o=a;this.da=b;this.B=new g.OF(this);g.L(this,this.B);this.J=new g.DV(this,250,!1,100);g.L(this,this.J);var c=g.Y(a);this.D=[];this.A=[];this.F=0;this.fa=c.A&&!c.F;this.X=!1;this.O=new g.W({H:"button",ea:["ytp-button","ytp-previous"],T:{"aria-label":g.T("YTP_PREVIOUS")},L:[g.VD()]});g.L(this,this.O);this.O.Ia(this.element);this.O.V("click",this.oM,this);c=g.UE||g.Pe?{style:"will-change: opacity"}:
null;this.ba=new F_((0,g.y)(this.hC,this));g.L(this,this.ba);this.P=this.C=0;this.M=this.wa["ytp-suggestions"];for(var d=0;16>d;d++){var e=new g.W({H:"a",N:"ytp-suggestion-link",T:{href:"{{link}}",target:"_blank"},L:[{H:"div",N:"ytp-suggestion-image"},{H:"div",N:"ytp-suggestion-overlay",T:c,L:[{H:"div",N:"ytp-suggestion-title",L:["{{title}}"]},{H:"div",N:"ytp-suggestion-author",L:["{{author_and_views}}"]},{H:"div",N:"ytp-suggestion-duration",L:["{{duration}}"]}]}]});g.L(this,e);e.Ia(this.M);var f=
e.wa["ytp-suggestion-link"];g.ah(f,"transitionDelay",d/20+"s");this.B.R(f,"click",g.Aa(this.YN,d));this.D.push(e)}this.K=new g.W({H:"button",ea:["ytp-button","ytp-next"],T:{"aria-label":g.T("YTP_NEXT")},L:[g.WD()]});g.L(this,this.K);this.K.Ia(this.element);this.K.V("click",this.nM,this);c=new g.W({H:"button",ea:["ytp-button","ytp-collapse"],T:{"aria-label":g.T("YTP_CLOSE")},L:[g.TD?{H:"div",ea:["ytp-icon","ytp-icon-small-close"]}:{H:"svg",T:{height:"100%",viewBox:"0 0 16 16",width:"100%"},L:[{H:"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.L(this,c);c.Ia(this.element);c.V("click",this.UN,this);this.G=new g.W({H:"button",ea:["ytp-button","ytp-expand"],L:[g.T("YTP_MORE_VIDEOS")]});g.L(this,this.G);this.G.Ia(this.element);this.G.V("click",this.WN,this);this.B.R(this.o,"appresize",this.ks);this.B.R(this.o,"fullscreentoggled",this.pM);this.B.R(this.o,"presentingplayerstatechange",this.qM);this.B.R(this.o,"videodatachange",this.rM);this.ks(g.OU(this.o).Za())};
I_=function(a,b){var c=g.Id(b,a.F-a.A.length*(a.P+8),0);a.ba.start(a.C,c,1E3);a.C=c;H_(a)};
H_=function(a){var b=a.C,c=a.F-a.A.length*(a.P+8);g.S(a.element,"ytp-scroll-min",0<=b);g.S(a.element,"ytp-scroll-max",b<=c)};
Rna=function(a){for(var b=g.Y(a.o),c=0;c<a.A.length;c++){var d=a.A[c].jc(),e=a.D[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.yV(d.lengthSeconds):0,link:d.cn(b),title:d.title});e=e.wa["ytp-suggestion-image"];d=d.hc(b);e.style.backgroundImage=d?"url("+d+")":""}for(;c<a.D.length;c++)a.D[c].element.style.display="none";H_(a)};
F_=function(a){g.K.call(this);this.C=a;this.B=new jC(0,0,.4,0,.2,1,1,1);this.o=new g.ot(this.A,window,this);g.L(this,this.o)};
J_=function(a,b,c){var d=b.jc(c),e=g.Y(a),f=d.hc(e,"default.jpg");g.W.call(this,{H:"a",ea:["ytp-video-menu-item","ytp-button"],T:{role:"menuitemradio","aria-label":d.title,href:e.getVideoUrl(d.videoId,b.listId?b.listId.toString():null)},L:[{H:"div",N:"ytp-video-menu-item-index",L:[""+(c+1)]},{H:"div",N:"ytp-video-menu-item-now-playing",L:["\u25b6"]},{H:"div",N:"ytp-video-menu-item-thumbnail",T:{style:f?"background-image: url("+f+");":null}},{H:"div",N:"ytp-video-menu-item-title",L:[d.title]},{H:"div",
N:"ytp-video-menu-item-author",L:[d.author]}]});this.o=a;this.kc=c;this.V("click",this.A)};
K_=function(a){PZ.call(this,a,{H:"div",N:"ytp-playlist-menu",T:{role:"dialog",id:"ytp_playlist_menu"},L:[{H:"div",N:"ytp-playlist-menu-header",L:[{H:"div",N:"ytp-playlist-menu-title",L:[{H:"a",N:"ytp-playlist-menu-title-name",T:{href:"{{playlisturl}}"},L:["{{title}}"]},{H:"button",ea:["ytp-playlist-menu-close","ytp-button"],T:{"aria-label":g.T("YTP_CLOSE")},L:[g.$D()]}]},{H:"div",N:"ytp-playlist-menu-subtitle",L:["{{subtitle}}"]}]},{H:"div",N:"ytp-playlist-menu-items",T:{role:"menu"}}]},250);this.R(this.wa["ytp-playlist-menu-close"],
"click",this.Sb);this.R(this.wa["ytp-playlist-menu-title-name"],"click",this.OQ);this.A=a;this.B=this.G=this.o=null;this.Ma=this.wa["ytp-playlist-menu-items"];this.F=new g.OF(this);g.L(this,this.F);this.D=[];this.hide()};
L_=function(a,b){if(a.o!=b)if(a.o&&a.o.unsubscribe("shuffle",a.ko,a),a.o=b,a.G=null,b){b.subscribe("shuffle",a.ko,a);var c=b.author;a.update({title:b.title,subtitle:g.T(c?"YTP_PLAYLIST_AUTHOR_AND_POSITION":"YTP_PLAYLIST_POSITION",{AUTHOR:c,CURRENT_POSITION:b.Zd()+1,PLAYLIST_LENGTH:b.getLength()}),playlisturl:a.A.getVideoUrl(!0)});a.ko()}else a.g&&a.hide();else a.o&&a.ko()};
M_=function(a,b,c){var d={H:"button",ea:["ytp-playlist-menu-button","ytp-button"],T:{title:"{{title}}","aria-owns":"ytp_playlist_menu","aria-haspopup":!0,"aria-label":g.T("YTP_PLAYLIST")},L:[{H:"div",N:"ytp-playlist-menu-button-icon",L:[g.TD?{H:"div",ea:["ytp-icon","ytp-icon-playlist"]}:{H:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{H:"path",Qa:!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"}}]}]},{H:"div",N:"ytp-playlist-menu-button-text",L:["{{text}}"]}]};g.W.call(this,d);this.B=a;this.o=null;this.C=b.o;this.R(a,"videodatachange",this.D);this.R(a,"onPlaylistUpdate",this.D);this.R(a,"presentingplayerstatechange",this.A);this.R(a,"appresize",this.A);this.hide();this.D();g.Ke(this,$Z(this.C,this.element));this.V("click",(0,g.y)(c.Ah,c,this.element,!1))};
N_=function(a,b){g.W.call(this,{H:"button",ea:["ytp-replay-button","ytp-button"],T:{title:g.T("YTP_REPLAY")},L:[iE()]});this.o=a;this.R(a,"presentingplayerstatechange",this.B);this.V("click",this.A,this);var c=g.NU(a);this.Lb(g.V(c,2));$Z(b.o,this.element)};
O_=function(a,b){var c={H:"div",N:"ytp-share-panel",T:{id:"ytp-share-panel",role:"dialog","aria-labelledby":"ytp-share-panel-title"},L:[{H:"button",ea:["ytp-share-panel-close","ytp-button"],T:{title:g.T("YTP_CLOSE")},L:[g.$D()]},{H:"div",N:"ytp-share-panel-inner-content",L:[{H:"div",N:"ytp-share-panel-title",T:{id:"ytp-share-panel-title"},L:[g.T("YTP_SHARE")]},{H:"a",ea:["ytp-share-panel-link","ytp-no-contextmenu"],T:{href:"{{link}}",target:"_blank",title:g.T("YTP_SHARE_LINK"),"aria-label":g.T("YTP_SHARE_LINK")},
L:["{{linkText}}"]},{H:"label",N:"ytp-share-panel-include-playlist",L:[{H:"input",N:"ytp-share-panel-include-playlist-checkbox",T:{type:"checkbox",checked:!0}},g.T("YTP_SHARE_WITH_PLAYLIST_2")]},{H:"div",N:"ytp-share-panel-loading-spinner",L:[dZ()]},{H:"div",N:"ytp-share-panel-service-buttons",L:["{{buttons}}"]},{H:"div",N:"ytp-share-panel-error",L:[g.T("YTP_SHARE_PANEL_ERROR")]}]}]};PZ.call(this,a,c,250);this.o=a;this.A=b.o;this.B=[];this.O=this.wa["ytp-share-panel-inner-content"];this.F=this.wa["ytp-share-panel-close"];
this.R(this.F,"click",this.Sb);g.Ke(this,$Z(this.A,this.F));this.G=this.wa["ytp-share-panel-include-playlist-checkbox"];this.R(this.G,"click",this.zz);this.D=this.wa["ytp-share-panel-link"];g.Ke(this,$Z(this.A,this.D));this.V("click",this.LP);this.R(a,"videoplayerreset",this.hide);this.R(a,"fullscreentoggled",this.GM);this.hide()};
Sna=function(a){switch(a){case "facebook":return g.TD?{H:"div",ea:["ytp-icon","ytp-icon-share-facebook"]}:{H:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},L:[{H:"rect",T:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{H:"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.TD?{H:"div",ea:["ytp-icon","ytp-icon-share-googleplus"]}:{H:"svg",T:{height:"100%",version:"1.0",viewBox:"0 0 38 38",width:"100%"},L:[{H:"rect",T:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{H:"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.TD?{H:"div",ea:["ytp-icon","ytp-icon-share-twitter"]}:{H:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},L:[{H:"rect",T:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{H:"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}};
P_=function(a){for(var b=g.ka(a.B),c=b.next();!c.done;c=b.next())c=c.value,c.detach(),g.Le(c);a.B=[]};
Q_=function(a,b,c,d){g.W.call(this,{H:"button",ea:["ytp-button","ytp-share-button"],T:{title:g.T("YTP_SHARE"),"aria-haspopup":!0,"aria-owns":"ytp-share-panel"},L:[{H:"div",N:"ytp-share-icon",L:["{{icon}}"]},{H:"div",N:"ytp-share-title",L:["{{share}}"]}]});this.o=a;this.A=d;this.G=c;kV(a,this,28664);this.V("click",this.F);this.R(a,"videodatachange",this.C);this.R(a,"appresize",this.C);this.C();g.Ke(this,$Z(b.o,this.element))};
R_=function(a,b){g.W.call(this,{H:"button",ea:["ytp-airplay-button","ytp-button"],T:{title:g.T("YTP_AIRPLAY")},L:["{{icon}}"]});this.o=a;this.V("click",this.B);this.R(a,"airplayactivechange",this.A);this.R(a,"airplayavailabilitychange",this.A);this.A();g.Ke(this,$Z(b.o,this.element))};
S_=function(a,b){g.xV.call(this,{H:"div",N:"ytp-storyboard",L:[{H:"div",N:"ytp-storyboard-filmstrip",L:[{H:"div",N:"ytp-storyboard-thumbnail"}]},{H:"div",N:"ytp-storyboard-lens",L:[{H:"div",N:"ytp-storyboard-lens-thumbnail"},{H:"div",N:"ytp-storyboard-lens-timestamp-wrapper",L:[{H:"span",N:"ytp-storyboard-lens-timestamp"}]}]}]});this.o=a;this.da=b.o;this.O=new g.ck(this.cM,250,this);g.L(this,this.O);this.J=g.OU(a).Za().width;this.A=this.wa["ytp-storyboard-filmstrip"];this.fa=this.wa["ytp-storyboard-lens"];
this.ga=this.wa["ytp-storyboard-lens-thumbnail"];this.ha=this.wa["ytp-storyboard-lens-timestamp"];this.X=this.wa["ytp-storyboard-thumbnail"];g.qe(this.X);this.K=0;this.P=!1;this.M=this.C=this.B=window.NaN;this.Kb=this.D=null;this.F=new g.OF(this);g.L(this,this.F);this.G=new g.DV(this,100);g.L(this,this.G);this.R(this.o,"appresize",this.bM);this.R(this.o,"presentingplayerstatechange",this.dM)};
T_=function(a,b){var c=!!a.Kb;c&&a.Kb.unsubscribe("l",a.Eo,a);a.Kb=b&&yP(b);a.P=!!b&&b.Da;a.Kb?(c||(a.F.R(a.o,"videodatachange",a.eM),a.F.R(a.o,"progresssync",a.On),a.F.R(a.o,"videoplayerreset",a.On)),a.Kb.subscribe("l",a.Eo,a),a.M=window.NaN,a.B=window.NaN,a.C=window.NaN,a.On(),a.G.show(200)):(c&&g.QF(a.F),a.O.stop(),g.DG(a.K),a.G.hide(),a.G.stop())};
U_=function(a,b,c,d){var e=a.X.cloneNode(!1);a=dO(a.Kb,b,c);vW(e,a,c,d);return e};
V_=function(a){g.W.call(this,{H:"div",N:"ytp-storyboard-framepreview",L:[{H:"div",N:"ytp-storyboard-framepreview-img"}]});this.D=this.wa["ytp-storyboard-framepreview-img"];this.o=a;this.Kb=null;this.C=window.NaN;this.A=new g.OF(this);g.L(this,this.A);this.B=new g.DV(this,100);g.L(this,this.B);this.R(this.o,"presentingplayerstatechange",this.hM)};
X_=function(a,b){var c=!!a.Kb;a.Kb=b&&yP(b);a.Kb?(c||(a.A.R(a.o,"videodatachange",a.jM),a.A.R(a.o,"progresssync",a.iM),a.A.R(a.o,"appresize",a.gM)),a.C=window.NaN,W_(a),a.B.show(200)):(c&&g.QF(a.A),a.B.hide(),a.B.stop())};
W_=function(a){var b=a.o.getCurrentTime(),c=g.OU(a.o).Za(),d=bO(a.Kb,c.width),b=a.Kb.g[d].Vo(b);b!=a.C&&(a.C=b,fO(a.Kb,b,c.width),b=dO(a.Kb,b,c.width),vW(a.D,b,c.width,c.height))};
Z_=function(a,b){g.W.call(this,{H:"button",ea:["ytp-fullscreen-button","ytp-button"],T:{title:"{{title}}"},L:["{{icon}}"]});this.A=a;this.D=b;this.o=null;this.B=$Z(b.o,this.element);this.C=new g.rt(this.DG,2E3,this);g.L(this,this.C);this.R(a,"fullscreentoggled",this.HB);this.R(a,"presentingplayerstatechange",this.oz);this.V("click",this.kM);if(uF()){var c=g.OU(this.A);this.R(c,Yia(),this.lA);this.R(c,xF(window.document),this.lM)}g.Y(a).sa||Y_(this);this.oz();this.HB(a.isFullscreen())};
Y_=function(a){if(!a.o){var b=g.T(null!=rF(["requestFullscreen","webkitRequestFullscreen","mozRequestFullScreen","msRequestFullscreen"],window.document.body)?"YTP_FULLSCREEN_GENERIC_ERROR":"YTP_FULLSCREEN_UNSUPPORTED_ERROR").split(/\$(BEGIN|END)_LINK/);a.o=new PZ(a.A,{H:"div",ea:["ytp-popup","ytp-generic-popup"],T:{role:"alert",tabindex:0},L:[b[0],{H:"a",T:{href:"https://support.google.com/youtube/answer/6276924",target:"_blank"},L:[b[2]]},b[4]]},100,!0);a.o.hide();g.L(a,a.o);a.o.subscribe("show",
(0,g.y)(a.D.kq,a.D,a.o));g.hV(a.A,a.o.element,5);a.element.setAttribute("aria-disabled",!0);a.element.setAttribute("aria-haspopup",!0);a.B();a.B=null}};
$_=function(a){var b={H:"div",N:"ytp-multicam-menu",T:{role:"dialog"},L:[{H:"div",N:"ytp-multicam-menu-header",L:[{H:"div",N:"ytp-multicam-menu-title",L:[g.T("YTP_SWITCH_CAMERA"),{H:"button",ea:["ytp-multicam-menu-close","ytp-button"],T:{"aria-label":g.T("YTP_CLOSE")},L:[g.$D()]}]}]},{H:"div",N:"ytp-multicam-menu-items"}]};PZ.call(this,a,b,250);this.B=new g.OF(this);g.L(this,this.B);this.R(this.wa["ytp-multicam-menu-close"],"click",this.Sb);this.o=a;this.Ma=this.wa["ytp-multicam-menu-items"];this.A=
[];this.hide()};
a0=function(a,b,c){g.W.call(this,{H:"button",ea:["ytp-multicam-button","ytp-button"],T:{title:g.T("YTP_SWITCH_CAMERA"),"aria-haspopup":!0,"data-preview":"{{preview}}","data-tooltip-text":"{{text}}"},L:[g.TD?{H:"div",ea:["ytp-icon","ytp-icon-switch-camera"]}:{H:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{H:"path",Qa:!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.o=a;this.C=!1;this.A=b.o;this.D=new g.rt(this.G,400,this);g.L(this,this.D);this.V("click",(0,g.y)(c.Ah,c,this.element,!1));this.R(a,"presentingplayerstatechange",g.Aa(this.B,!1));this.R(a,"videodatachange",this.F);this.B(!0);g.Ke(this,$Z(this.A,this.element))};
b0=function(){g.K.call(this);this.A=null;this.C=this.g=0;this.B=new g.ot(this.o,null,this);g.L(this,this.B)};
c0=function(a,b){if("path"==b.H)return b.T.d;if(b.L)for(var c=0;c<b.L.length;c++){var d=b.L[c];if(d&&!g.u(d)&&(d=c0(a,d)))return d}};
g0=function(a,b,c){c=c0(a,c);var d=b.getElementsByTagName("path")[0],e=d.getAttribute("d");if(d.getAttribute("id")){var f=g.WQ.g();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=d0(e),m=d0(c);e0(a,function(a){d.setAttribute("d",f0(l,m,a))},200)};
e0=function(a,b,c){a.A=b;a.C=(0,g.sG)();a.g=c;a.o()};
d0=function(a){var b=[];a=a.match(Tna);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};
f0=function(a,b,c){var d,e="";for(d=0;d<a.length;d++)var f=a[d],e=g.oa(f)?e+(f+(b[d]-f)*c):e+f;return e};
i0=function(a,b){var c=g.Y(a);g.W.call(this,{H:"button",ea:["ytp-mute-button","ytp-button"],T:c.K?{title:"{{title}}"}:{"aria-disabled":!0,"aria-haspopup":!0},L:["{{icon}}"]});this.Fa("icon",oE());this.o=a;this.fa=b.o;this.J=this.M=this.K=this.P=window.NaN;this.F=[];this.D=[];this.G=this.B=!1;g.Y(this.o).ba||(this.A=new g.WQ({H:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{H:"defs",L:[{H:"clipPath",T:{id:"ytp-svg-volume-animation-mask"},L:[{H:"path",T:{d:"m 14.35,-0.14 -5.86,5.86 20.73,20.78 5.86,-5.91 z"}},
{H:"path",T:{d:"M 7.07,6.87 -1.11,15.33 19.61,36.11 27.80,27.60 z"}},{H:"path",N:"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"}}]},{H:"clipPath",T:{id:"ytp-svg-volume-animation-slash-mask"},L:[{H:"path",N:"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"}}]}]},{H:"path",Qa:!0,ea:["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"}},{H:"path",Qa:!0,ea:["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.L(this,this.A),this.X=this.A.wa["ytp-svg-volume-animation-speaker"],this.ka=this.X.getAttribute("d"),this.F=g.Yd("ytp-svg-volume-animation-mover",this.A.element),this.D=g.Yd("ytp-svg-volume-animation-hider",this.A.element));this.C=null;this.ba=new b0;g.L(this,this.ba);this.O=new b0;g.L(this,
this.O);this.V("click",this.ha);this.R(a,"appresize",this.xd);this.R(a,"onVolumeChange",this.ga);var d=null;c.K?g.Ke(this,$Z(b.o,this.element)):(c=g.T("YTP_VOLUME_UNSUPPORTED_ERROR").split(/\$(BEGIN|END)_LINK/),d=new PZ(a,{H:"span",ea:["ytp-popup","ytp-generic-popup"],T:{tabindex:0},L:[c[0],{H:"a",T:{href:"https://support.google.com/youtube/?p=noaudio",target:"_blank"},L:[c[2]]},c[4]]},100,!0),g.L(this,d),d.hide(),d.subscribe("show",(0,g.y)(b.kq,b,d)),g.hV(a,d.element,5));this.da=d;kV(a,this,28662);
this.xd(g.OU(a).Za());h0(this,a.getVolume(),a.Le())};
h0=function(a,b,c){var d=c?0:b/100,e=g.Y(a.o);if(e.ba)d=0==d?oE():0<d&&.5>d?nE():mE(),d!=a.C&&(a.Fa("icon",d),a.C=d);else{b=0==d?1:50<b?1:0;if(a.K!=b){var f=a.P;(0,window.isNaN)(f)?j0(a,b):e0(a.ba,(0,g.y)(function(a){j0(this,f+(this.K-f)*a)},a),250);
a.K=b}d=0==d?1:0;if(a.J!=d){var k=a.M;(0,window.isNaN)(k)?k0(a,d):e0(a.O,(0,g.y)(function(a){k0(this,k+(this.J-k)*a)},a),250);
a.J=d}}e.K&&(a.Fa("title",c?g.T("YTP_UNMUTE"):g.T("YTP_MUTE")),l0(a.fa))};
j0=function(a,b){a.P=b;var c=a.ka;b&&(c+=f0(Una,Vna,b));a.X.setAttribute("d",c)};
k0=function(a,b){a.M=b;for(var c=20*b,d=0;d<a.F.length;d++)a.F[d].setAttribute("transform","translate("+c+", "+c+")");var e;1==b?e=oE():e=a.A;for(c=0;c<a.D.length;c++)a.D[c].style.display=0==b?"none":"";e!=a.C&&(a.Fa("icon",e),a.C=e)};
m0=function(a,b){g.W.call(this,{H:"button",ea:["ytp-pip-button","ytp-button"],T:{title:g.T("YTP_PIP")},L:[g.TD?{H:"div",ea:["ytp-icon","ytp-icon-pip"]}:{H:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{H:"path",Qa:!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.o=a;this.V("click",this.A);g.Ke(this,$Z(b.o,this.element))};
o0=function(a,b){g.W.call(this,{H:"button",ea:["ytp-play-button","ytp-button"],T:{title:"{{title}}","aria-label":"{{label}}"},L:["{{icon}}"]});this.o=a;this.A=null;this.C=b.o;this.B=null;this.D=new b0;g.L(this,this.D);this.R(a,"fullscreentoggled",this.F);this.R(a,"presentingplayerstatechange",this.G);this.R(a,"videodatachange",this.F);n0(this,g.NU(a));this.V("click",this.J,this)};
p0=function(a){switch(a){case 1:return gE();case 2:return fE();case 3:return iE();case 4:return lE();default:return null}};
n0=function(a,b){var c=g.DP(a.o.ia()),d=!1;if($P(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.T("YTP_PAUSE");break;case 3:f=g.T("YTP_REPLAY");break;case 1:f=g.T("YTP_PLAY");break;case 4:f=g.T("YTP_STOP")}3==e?(a.B||(a.B=$Z(a.C,a.element)),a.update({title:f,label:null,icon:p0(e)})):(a.B&&(a.B(),a.B=null),a.update({title:null,label:f}),(c=p0(e))&&a.A&&3!=a.A&&!g.Y(a.o).ba?g0(a.D,a.element,c):a.Fa("icon",c));l0(a.C);a.A=e}};
r0=function(a,b,c){if(c){var d="ytp-next-button";var e=dE()}else d="ytp-prev-button",e=hE();g.W.call(this,{H:"a",ea:[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}}"},L:[e]});this.o=a;this.M=b.o;this.B=c;this.A=this.G=null;this.K=!1;this.F=this.J=this.C=null;this.D=!1;this.R(a,"fullscreentoggled",this.rj);this.R(a,"videodatachange",
this.rj);this.R(a,"onPlaylistUpdate",this.rj);this.B||this.R(a,"appresize",this.xd);this.R(a,"mdxpreviousnextchange",function(){q0(this);this.xd()});
this.rj()};
s0=function(a){a.A&&a.A.unsubscribe("shuffle",a.rj,a)};
t0=function(a){return!!a.A&&!a.B&&3<=a.o.getCurrentTime()&&2!=a.o.Xa()};
u0=function(a){var b=g.LU(g.GU(a.o));return b?a.B?b.hasNext():b.Kf():!1};
q0=function(a){var b={duration:null,preview:null,text:null,title:null,url:null},c=g.Y(a.o),d=PU(a.o),e=a.B&&g.iV(a.o),f=u0(a);if(a.D)b.title=g.T("YTP_REPLAY");else if(d){var k=null;a.A&&(k=a.A.jc(a.B?RQ(a.A):SQ(a.A)));if(k){if(k.videoId){var l=a.A.listId;b.url=c.getVideoUrl(k.videoId,l?l.toString():void 0)}b.text=k.title;b.duration=k.lengthSeconds?g.yV(k.lengthSeconds):null;b.preview=k.hc(c,"mqdefault.jpg")}b.title=g.T(a.B?"YTP_NEXT":"YTP_PREVIOUS")}else e&&(a.G.cg&&a.G.cg.length&&(k=g.uZ(a.G.cg[0]),
b.url=k.cn(c),b.text=k.title,b.duration=k instanceof g.hP?g.yV(k.lengthSeconds):null,b.preview=k.hc(c,"mqdefault.jpg")),b.title=g.T("YTP_NEXT"));b.disabled=!e&&!d&&!f;a.update(b);a.K=!!b.url;e||d||a.D||f?a.C||(a.C=$Z(a.M,a.element),a.J=a.V("click",a.tM,a)):a.C&&(a.C(),a.C=null,a.Ca(a.J),a.J=null);l0(a.M)};
w0=function(a,b){g.xV.call(this,{H:"div",N:"ytp-progress-bar-container",T:{"aria-disabled":!0},L:[{H:"div",N:"ytp-progress-bar",T:{tabindex:0,role:"slider","aria-label":g.T("YTP_SEEK_SLIDER"),"aria-valuemin":"{{ariamin}}","aria-valuemax":"{{ariamax}}","aria-valuenow":"{{arianow}}","aria-valuetext":"{{arianowtext}}"},L:[{H:"div",N:"ytp-progress-bar-padding"},{H:"div",N:"ytp-progress-list",L:[{H:"div",ea:["ytp-play-progress","ytp-swatch-background-color"]},{H:"div",N:"ytp-load-progress"},{H:"div",N:"ytp-hover-progress"},
{H:"div",N:"ytp-clip-start-exclude"},{H:"div",N:"ytp-clip-end-exclude"},{H:"div",N:"ytp-ad-progress-list"},{H:"div",N:"ytp-marker-crenellation-list"},{H:"div",N:"ytp-marker-progress-list"}]},{H:"div",N:"ytp-scrubber-container",L:[{H:"div",ea:["ytp-scrubber-button","ytp-swatch-background-color"],L:[{H:"div",N:"ytp-scrubber-pull-indicator"}]}]}]},{H:"div",N:"ytp-bound-time-left",L:["{{boundTimeLeft}}"]},{H:"div",N:"ytp-bound-time-right",L:["{{boundTimeRight}}"]},{H:"div",N:"ytp-clip-start",T:{title:g.T("YTP_WATCH_ALL")},
L:["{{clipstarticon}}"]},{H:"div",N:"ytp-clip-end",T:{title:g.T("YTP_WATCH_ALL")},L:["{{clipendicon}}"]}]});this.Fa("clipstarticon",ZD());this.Fa("clipendicon",YD());this.A=a;this.Aa=b.o;this.La=!1;this.C=this.xc=0;this.X=1;this.Hb=this.G=0;this.D=window.NaN;this.rb=!1;this.K=this.da=0;this.Cc=this.wa["ytp-ad-progress-list"];this.Pc=this.wa["ytp-marker-progress-list"];this.jb=this.wa["ytp-marker-crenellation-list"];this.P={};this.ka={};this.M=window.Infinity;var c=b.o;this.fa=this.wa["ytp-clip-end"];
g.Ke(this,$Z(c,this.fa));this.pa=new g.TF(this.fa,!0);g.L(this,this.pa);this.pa.subscribe("hoverstart",this.uz,this);this.pa.subscribe("hoverend",this.rz,this);this.R(this.fa,"click",this.Pn);this.Ua=this.wa["ytp-clip-end-exclude"];this.Qc=this.wa["ytp-clip-start-exclude"];this.O=0;this.ga=this.wa["ytp-clip-start"];g.Ke(this,$Z(c,this.ga));this.sa=new g.TF(this.ga,!0);g.L(this,this.sa);this.sa.subscribe("hoverstart",this.uz,this);this.sa.subscribe("hoverend",this.rz,this);this.R(this.ga,"click",this.Pn);
this.Ab=this.wa["ytp-load-progress"];this.ha=0;this.Rc=this.wa["ytp-play-progress"];this.Pa=this.wa["ytp-hover-progress"];this.F=0;this.Gb=this.wa["ytp-progress-bar"];this.B=null;this.Yb=this.wa["ytp-scrubber-button"];this.jd=this.wa["ytp-scrubber-container"];this.ua=new g.Nd;this.wb=new uW;this.o=new rW(0,0);this.J=this.va=!1;this.Sa=null;this.R(a,"presentingplayerstatechange",this.vM);this.R(a,"videodatachange",this.qz);this.R(a,"videoplayerreset",this.LH);this.R(a,"cuerangesadded",this.xz);this.R(a,
"cuerangesremoved",this.DM);this.R(a,"cuerangemarkersupdated",this.xz);this.R(a,"onPlaybackQualityChange",this.wM);v0(this,a.ia(),!0)};
A0=function(a){if(a.C){var b=a.A.oh(),c=new rW(b.seekableStart,b.seekableEnd),d=tW(c,b.loaded,0),b=tW(c,b.current,0),e=a.o.o!=c.o||a.o.g!=c.g;a.o=c;x0(a,b,d);e&&y0(a);z0(a)}};
v0=function(a,b,c){c=void 0===c?!1:c;var d=!!b&&b.Ke();a.va=d&&b.mg;B0(a,a.A.Od());c&&(d?(c=b.clipEnd,a.O=b.clipStart,a.M=c,C0(a),x0(a,a.F,a.ha)):a.Pn(),b=a.Aa,1==b.o&&b.bf());A0(a)};
D0=function(a){return!!a&&a.Ke()&&!!a.Oa&&a.Oa.video.isAccelerated&&a.Oa.video.A};
E0=function(a,b){a.rb=b;g.S(a.Ab,"ytp-fast-load",b)};
F0=function(a,b,c,d){b=g.Id(b,0,a.J?60:40);a.G=b;var e=a.X,f=Math.max(a.o.getLength()/a.C,1);a.X=b/(a.J?60:40)*(f-1)+1;b=a.C*a.X;a.K=g.Id(d*b-c,0,b-a.C);e!=a.X&&y0(a)};
y0=function(a){var b=G0(a),c=-b.A/b.g,d=(-b.A+b.width)/b.g,e=g.te(a.jb),f=0;if(a.G>.2*(a.J?60:40))for(var k=c*(a.o.getLength()/60),l=d*(a.o.getLength()/60),k=Math.ceil(k);k<l;k++){var m=e[f];m||(m=g.je("DIV"),a.jb.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.o.getLength()-c)*b.g;m.style.left=n+"px"}b=a.va?a.o.g:0;a.update({boundTimeLeft:g.yV(sW(a.o,c)-b),boundTimeRight:g.yV(sW(a.o,d)-b)});for(c=e.length-
1;c>=f;c--)g.qe(e[c]);a.element.style.height=a.G+(a.J?8:5)+"px";a.Y("height-change",a.G);a.Yb.style.height=a.G+(a.J?20:13)+"px";for(var q in a.P)H0(a,a.P[q],a.ka[q]);C0(a);x0(a,a.F,a.ha)};
G0=function(a){var b=a.ua.x,c=a.C*a.X,b=g.Id(b,0,a.C);a.wb.update(b,a.C,-a.K,-(c-a.K-a.C));return a.wb};
x0=function(a,b,c){a.F=b;a.ha=c;var d=G0(a),e=a.o.g,f=sW(a.o,a.F);a.update({ariamin:Math.floor(a.o.o),ariamax:Math.floor(e),arianow:Math.floor(f),arianowtext:g.T("YTP_PROGRESS_LABEL_2",{PLAY_PROGRESS:g.yV(f),DURATION:g.yV(e)})});var e=tW(a.o,a.O,0),k=tW(a.o,a.M,1),f=g.Id(b,e,k);c=a.rb?1:g.Id(c,e,k);k=b*d.g+d.A;a.Yb.style.display=0<=k&&b<=d.width?"":"none";g.ah(a.jd,"transform","translateX("+k+"px)");I0(a,a.Rc,d,e,f);I0(a,a.Ab,d,e,c)};
I0=function(a,b,c,d,e,f){b.style.left=Math.max(d*c.g+c.A,0)+"px";d=Math.min((e-d)*c.g+c.A,c.width);(void 0===f?0:f)||g.Y(a.A).isMobile?(b.style.width=d+"px",dh(b,"transform")):g.ah(b,"transform","scalex("+(c.width?d/c.width:0)+")")};
C0=function(a){var b=a.O>a.o.o,c=0<a.o.g&&a.M<a.o.g;g.S(a.element,"ytp-clip-start-enabled",b);g.S(a.element,"ytp-clip-end-enabled",c);b=b?tW(a.o,a.O,0):0;c=c?tW(a.o,a.M,1):1;a.ga.style.left=Math.round(1E3*b)/10+"%";a.fa.style.left=Math.round(1E3*c)/10+"%";a.Qc.style.width=Math.round(1E3*b)/10+"%";a.Ua.style.left=Math.round(1E3*c)/10+"%";a.Ua.style.width=Math.round(1E3*(1-c))/10+"%"};
z0=function(a){var b=G0(a);I0(a,a.Pa,b,a.F,b.o);g.S(a.Pa,"ytp-hover-progress-light",b.o>a.F)};
H0=function(a,b,c){var d=G0(a),e=tW(a.o,b.start/1E3,0),f=Lja(b)/d.width;switch(b.style){case "ytp-chapter-marker":var k=e+f/2;e-=f/2;break;default:k=tW(a.o,b.end/1E3,1),f!=Number.POSITIVE_INFINITY&&(e=g.Id(e,0,k-f)),k=Math.min(k,e+f),b.color&&(c.style.background=b.color)}I0(a,c,d,e,k,!0);c.className=b.style};
J0=function(a,b){var c=b.getId();a.P[c]==b&&(g.qe(a.ka[c]),delete a.P[c],delete a.ka[c])};
B0=function(a,b){b?a.B||(a.element.removeAttribute("aria-disabled"),a.B=new g.TF(a.Gb,!0),a.B.subscribe("hovermove",a.AM,a),a.B.subscribe("hoverend",a.zM,a),a.B.subscribe("dragstart",a.yM,a),a.B.subscribe("dragmove",a.CM,a),a.B.subscribe("dragend",a.BM,a),a.Sa=a.V("keydown",a.xM)):a.B&&(a.element.setAttribute("aria-disabled",!0),a.Ca(a.Sa),a.B.cancel(),a.B.dispose(),a.B=null)};
K0=function(a,b){q_.call(this,g.T("YTP_ANNOTATIONS"),5);this.B=b;this.U=a;this.A=!1;this.R(a,"videodatachange",this.C);this.R(a,"onApiChange",this.C);this.subscribe("select",this.D,this);this.C()};
g.L0=function(a,b,c,d,e,f){var k=g.c_({"aria-haspopup":!0});g.b_.call(this,k,b,a);this.A=d;this.G=!1;this.D=null;this.o={};this.C=new g.e_(c,void 0,a,e,f);g.L(this,this.C);this.V("keydown",this.EM);this.V("click",this.open)};
g.M0=function(a,b){if(a.D){var c=a.o[a.D];c.element.getAttribute("aria-checked");c.element.removeAttribute("aria-checked")}a.o[b].element.setAttribute("aria-checked",!0);a.dc(a.mf(b));a.D=b};
g.N0=function(a,b){g.h_(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?(g.a_(a.o[f],a.mf(f,!0)),delete a.o[f]):(k=new g.b_({H:"div",ea:["ytp-menuitem"],T:{tabindex:0,role:"menuitemradio","aria-checked":l?!0:null},L:[{H:"div",ea:["ytp-menuitem-label"],L:["{{label}}"]}]},-e,a.mf(f,!0)),k.V("click",(0,g.y)(a.FM,a,f)));c[f]=k;g.f_(a.C,k,!0)}d||(a.D=null);for(var m in a.o)a.o[m].dispose();a.o=c};
O0=function(a,b){g.L0.call(this,g.T("YTP_AUDIO_TRACK_TITLE"),2,a,b);this.U=a;this.J=new g.W({H:"div",L:[{H:"span",L:[g.T("YTP_AUDIO_TRACK_TITLE")]},{H:"span",N:"ytp-menuitem-label-count",L:["{{content}}"]}]});g.a_(this,this.J);this.K={};this.R(a,"videodatachange",this.F);this.R(a,"onPlaybackAudioChange",this.F);this.F()};
P0=function(a,b){q_.call(this,g.T("YTP_AUTOPLAY"),6);this.D=b;this.U=a;this.B=!1;this.A=[];this.R(a,"presentingplayerstatechange",this.C);this.subscribe("select",this.G,this);this.C()};
Q0=function(a,b){g.L0.call(this,g.T("YTP_QUALITY_TITLE"),1,a,b);g.R(this.C.element,"ytp-quality-menu");this.U=a;this.K={};this.J="unknown";this.F=0;this.O=g.Y(a).experiments.g("html5_dim_superoptimal_formats");this.R(a,"videodatachange",this.B);this.R(a,"videoplayerreset",this.B);this.R(a,"onPlaybackQualityChange",this.M);this.B()};
R0=function(a,b,c){var d=a.K[b],e=g.EI[b];var f=d?d.qualityLabel:e?e+"p":g.T("YTP_AUTO");a.O&&a.F&&e>a.F&&(c=c||[],c.push("ytp-quality-superoptimal"));a={H:"span",ea:c,L:[]};d&&d.isAccelerated&&d.A&&a.L.push({H:"div",N:"ytp-menuitem-badge-container",L:[{H:"svg",T:{fill:"#00838f",height:"11px",viewBox:"0 0 48 48",width:"11px"},L:[{H:"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"}},{H:"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"}}]}]});a.L.push(f);var k;"highres"==b?k="8K":"hd2880"==b?k="5K":"hd2160"==b?k="4K":0==b.indexOf("hd")&&(k="HD");k&&(a.L.push(" "),a.L.push({H:"sup",N:"ytp-swatch-color",L:[k]}));return a};
S0=function(a,b,c){g.W.call(this,{H:"button",ea:["ytp-button","ytp-settings-button"],T:{"aria-haspopup":!0,"aria-owns":"ytp-main-menu-id",title:g.T("YTP_SETTINGS")},L:[g.kE()]});this.A=c;this.U=a;this.B=!0;this.V("click",this.C);this.R(a,"onPlaybackQualityChange",this.o);this.R(a,"settingsmenutoggle",this.C);this.R(a,"videodatachange",this.o);this.R(a,"webglsettingschanged",this.o);this.R(a,"appresize",this.xd);g.Ke(this,$Z(b.o,this.element));this.o();this.xd(g.OU(a).Za())};
T0=function(a,b){a.B=!!b;a.xd(g.OU(a.U).Za())};
U0=function(a,b){g.L0.call(this,g.T("YTP_SPEED_TITLE"),4,a,b);this.U=a;this.B=null;this.R(a,"presentingplayerstatechange",this.Az);this.Az()};
W0=function(a,b,c,d){var e=g.T("YTP_VIDEO_SUBTITLES_OVERRIDE"),f=new g.e_(b,void 0,e);g.L0.call(this,V0(d),a,b,c,e,function(){return g.l_(c,f)});
g.R(this.element,"ytp-subtitles-options-menu-item");this.K=d.option.toString();this.M=g.Db(d.options,this.O,this);this.J=f;g.L(this,this.J);a=new g.b_({H:"div",N:"ytp-menuitemtitle",L:[g.T("YTP_VIDEO_SUBTITLES_OVERRIDE_DESC")]},0);g.L(this,a);g.f_(this.J,a,!0);this.F=new g.b_({H:"div",N:"ytp-menuitem",T:{role:"menuitemradio",tabindex:0},L:[{H:"div",N:"ytp-menuitem-label",L:[g.T("YTP_ON")]}]},-1);g.L(this,this.F);g.f_(this.J,this.F,!0);this.R(this.F.element,"click",g.Aa(this.P,!0));this.B=new g.b_({H:"div",
N:"ytp-menuitem",T:{role:"menuitemradio",tabindex:0},L:[{H:"div",N:"ytp-menuitem-label",L:[g.T("YTP_OFF")]}]},-2);g.L(this,this.B);g.f_(this.J,this.B,!0);this.R(this.B.element,"click",g.Aa(this.P,!1));g.N0(this,(0,g.H)(d.options,this.O))};
V0=function(a){return(a.message?g.T(a.message):a.text)||""};
X0=function(a,b){g.e_.call(this,a,void 0,g.T("YTP_OPTIONS"));this.o={};for(var c=0;c<g.D_.length;c++){var d=g.D_[c],e=new W0(-c,a,b,d);g.L(this,e);e.subscribe("settingChange",this.A,this);this.o[d.option.toString()]=e;g.f_(this,e,!0)}c=new g.b_(g.c_(),-g.D_.length,g.T("YTP_RESET"));g.L(this,c);c.V("click",(0,g.y)(this.A,this,"reset",!0));g.f_(this,c,!0)};
Y0=function(a,b){for(var c in b){var d=a.o[c];if(d){var e=b[c].toString(),f=!!b[c+"Override"];d.o[e]&&(g.M0(d,e),d.F.element.setAttribute("aria-checked",!f),d.B.element.setAttribute("aria-checked",f))}}};
Z0=function(a,b){g.L0.call(this,g.T("YTP_AUTO_TRANSLATE"),0,a,b);this.B={}};
$0=function(a,b){var c=new X0(a,b);g.L0.call(this,g.T("YTP_SUBTITLES"),3,a,b,g.T("YTP_OPTIONS"),function(){return g.l_(b,c)});
this.U=a;this.B={};this.M=new g.rt(g.Aa(this.Dz,!1),3E3,this);g.L(this,this.M);this.J=new g.W({H:"div",L:[{H:"span",L:[g.T("YTP_SUBTITLES")]},{H:"span",N:"ytp-menuitem-label-count",L:["{{content}}"]}]});g.L(this,this.J);g.a_(this,this.J);this.F=new Z0(a,b);g.L(this,this.F);this.F.subscribe("select",this.OM,this);this.K=c;g.L(this,this.K);this.K.subscribe("settingChange",this.NM,this);this.R(a,"videodatachange",this.bl);this.R(a,"onApiChange",this.bl);this.R(a,"onCaptionsTrackListChanged",this.bl);
this.R(a,"captionschanged",this.bl);this.bl()};
a1=function(a){g.i_.call(this,a,"ytp-settings-menu");this.A=a;this.B=new g.e_(a);g.L(this,this.B);this.G=null;this.X=!1;this.hide();g.l_(this,this.B)};
b1=function(a){if(!a.X){a.X=!0;var b=new Q0(a.A,a);g.L(a,b);b=new $0(a.A,a);g.L(a,b);b=new K0(a.A,a);g.L(a,b);g.Y(a.A).Aa&&(b=new U0(a.A,a),g.L(a,b));g.Y(a.A).Jg&&(b=new P0(a.A,a),g.L(a,b));b=new O0(a.A,a);g.L(a,b);T0(a.G,a.B.Ma.length)}};
c1=function(a,b){g.f_(a.B,b);T0(a.G,a.B.Ma.length)};
d1=function(a,b){a.g&&1>=a.B.Ma.length&&a.hide();g.g_(a.B,b);T0(a.G,a.B.Ma.length)};
e1=function(a,b,c){g.W.call(this,{H:"button",ea:["ytp-remote-button","ytp-button"],T:{title:g.T("YTP_MDX_TOOLTIP"),"aria-haspopup":!0},L:["{{icon}}"]});this.U=a;this.B=c;this.A=null;this.R(a,"onMdxReceiversChange",this.o);this.R(a,"presentingplayerstatechange",this.o);this.R(a,"appresize",this.o);this.o();this.V("click",this.C,this);g.Ke(this,$Z(b.o,this.element))};
f1=function(a,b){g.W.call(this,{H:"button",ea:["ytp-size-button","ytp-button"],T:{title:"{{title}}"},L:["{{icon}}"]});this.o=a;this.C=b.o;this.B=null;this.D=new b0;g.L(this,this.D);this.R(a,"sizestylechange",this.A);this.R(a,"fullscreentoggled",this.A);this.R(a,"presentingplayerstatechange",this.A);this.A();this.V("click",this.F);g.Ke(this,$Z(this.C,this.element))};
g1=function(a,b){g.W.call(this,{H:"button",ea:["ytp-subtitles-button","ytp-button"],T:{"aria-pressed":"{{pressed}}",title:g.T("YTP_SUBTITLES_TOOLTIP")},L:[aE()]});this.A=a;this.R(a,"videodatachange",this.o);this.R(a,"appresize",this.o);this.R(a,"onApiChange",this.o);this.R(a,"onCaptionsTrackListChanged",this.o);this.R(a,"captionschanged",this.o);this.o();this.V("click",this.B);g.Ke(this,$Z(b.o,this.element))};
h1=function(a,b){g.W.call(this,{H:"div",ea:["ytp-time-display","notranslate"],L:[{H:"span",N:"ytp-time-current",L:["{{currenttime}}"]},{H:"span",N:"ytp-time-separator",L:[" / "]},{H:"span",N:"ytp-time-duration",L:["{{duration}}"]}]});this.D=new g.W({H:"button",ea:["ytp-live-badge","ytp-button"],T:{disabled:!0},L:[g.T("YTP_LIVE")]});g.L(this,this.D);this.D.Ia(this.element);this.o=a;this.K=b.o;this.A=null;this.F=this.B=!1;this.J=this.G=null;this.V("click",this.M);this.R(a,"presentingplayerstatechange",
this.C);this.R(a,"appresize",this.C);this.R(a,"videodatachange",this.O);var c=a.ia();c&&(this.B=c.Da,g.S(this.element,"ytp-live",this.B));this.C()};
j1=function(a,b,c){g.W.call(this,{H:"div",N:"ytp-volume-panel",T:{role:"slider","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":"{{valuenow}}","aria-valuetext":"{{valuetext}}",tabindex:0},L:[{H:"div",N:"ytp-volume-slider",L:[{H:"div",N:"ytp-volume-slider-handle"}]}]});this.o=a;this.F=b;this.O=c;this.K=!1;this.G=b.ee();this.X=this.C=0;this.P=this.wa["ytp-volume-slider"];this.ba=this.wa["ytp-volume-slider-handle"];this.J=new g.TF(this.P,!0);g.L(this,this.J);this.J.subscribe("dragstart",this.IQ,
this);this.J.subscribe("dragmove",this.HQ,this);this.J.subscribe("dragend",this.GQ,this);this.M=null;this.A=this.B=this.D=!1;this.R(a,"onVolumeChange",this.RM);this.R(a,"appresize",this.xd);this.R(a,"fullscreentoggled",this.PM);this.R(a,"onShowControls",this.Uv);this.R(a,"onHideControls",this.Uv);this.R(this.element,"keydown",this.JQ);this.R(this.element,"focus",g.Aa(this.Fz,!0));this.R(this.element,"blur",g.Aa(this.Fz,!1));this.xd(g.OU(a).Za());i1(this,a.getVolume(),a.Le())};
i1=function(a,b,c){var d=Math.floor(b),e=d+"% "+g.T("YTP_SCREENREADER_VOLUME_SETTING")+(c?" "+g.T("YTP_SCREENREADER_VOLUME_MUTED"):"");c=c?0:b/100;a.Fa("valuenow",d);a.Fa("valuetext",e);a.ba.style.left=(a.G?60:40)*c+"px";a.C=b};
k1=function(a,b,c,d,e){var f=a.B||a.D||a.A||a.K;a.B=b;a.D=c;a.A=d;a.K=e;b=a.B||a.D||a.A||a.K;f!=b&&(b?a.M=a.R(a.element,"wheel",a.QM):(a.Ca(a.M),a.M=null),g.S(a.O,"ytp-volume-slider-active",b))};
l1=function(a,b){var c=g.Y(a),d=LN(c);0==d.indexOf("www.")&&(d=d.substring(4));var e=["ytp-youtube-button","ytp-button","yt-uix-sessionlink"];(c="gaming"==c.o)&&e.push("ytp-youtube-gaming-button");g.W.call(this,{H:"a",ea:e,T:{href:"{{url}}",target:"_blank",title:g.T("YTP_URL_NAVIGATE_TO",{WEBSITE:d}),"data-sessionlink":"feature=player-button"},L:[c?g.TD?{H:"div",ea:["ytp-icon","ytp-icon-logo-gaming"]}:{H:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 98 36",width:"100%"},L:[{H:"path",Qa:!0,N:"ytp-svg-fill",
T:{d:"M19.40,22.92 L19.40,22.08 C18.87,22.71 18.42,23.03 17.93,23.03 C17.50,23.03 17.20,22.82 17.05,22.44 C16.96,22.21 16.89,21.85 16.89,21.32 L16.89,15.23 L18.29,15.23 L18.29,21.47 C18.33,21.69 18.41,21.76 18.59,21.76 C18.86,21.76 19.10,21.52 19.40,21.09 L19.40,15.23 L20.80,15.23 L20.80,22.92 L19.40,22.92 Z M15.41,15.91 C15.04,15.39 14.45,15.17 13.86,15.17 C13.19,15.17 12.69,15.39 12.31,15.91 C12.02,16.30 11.87,16.93 11.87,17.75 L11.87,20.48 C11.87,21.30 12.01,21.86 12.29,22.25 C12.67,22.77 13.27,23.05 13.86,23.05 C14.45,23.05 15.07,22.77 15.44,22.25 C15.73,21.86 15.86,21.30 15.86,20.48 L15.86,17.74 C15.86,16.92 15.70,16.30 15.41,15.91 L15.41,15.91 Z M14.45,20.63 C14.53,21.40 14.30,21.77 13.86,21.77 C13.43,21.77 13.20,21.40 13.27,20.63 L13.27,17.59 C13.20,16.83 13.43,16.47 13.86,16.47 C14.30,16.47 14.53,16.83 14.45,17.59 L14.45,20.63 Z M10.32,22.92 L8.84,22.92 L8.84,18.73 C8.84,18.73 7.31,13.60 7,12.64 L8.55,12.64 L9.58,16.65 L10.61,12.64 L12.16,12.64 L10.32,18.73 L10.32,22.92 Z"}},
{H:"path",ea:["ytp-svg-fill","ytp-svg-fill-logo-tube-text"],T:{d:"M23,12 L43,12 L43,24 L23,24 Z",fill:"none"}},{H:"path",Qa:!0,ea:["ytp-svg-fill","ytp-svg-fill-logo-tube-lozenge"],T:{d:"M42.90,11.22 C42.06,10.32 41.12,10.32 40.69,10.26 C37.60,10.03 32.97,10.03 32.97,10.03 C32.96,10.03 28.34,10.03 25.25,10.26 C24.82,10.32 23.88,10.32 23.04,11.22 C22.38,11.91 22.16,13.47 22.16,13.47 C22.16,13.47 21.94,15.30 21.94,17.13 L21.94,18.85 C21.94,20.68 22.16,22.51 22.16,22.51 C22.16,22.51 22.38,24.07 23.04,24.76 C23.88,25.66 24.98,25.63 25.47,25.73 C27.24,25.90 32.97,25.96 32.97,25.96 C32.97,25.96 37.60,25.95 40.69,25.72 C41.12,25.67 42.06,25.66 42.90,24.76 C43.56,24.07 43.77,22.51 43.77,22.51 C43.77,22.51 43.99,20.68 43.99,18.85 L43.99,17.13 C43.99,15.30 43.77,13.47 43.77,13.47 C43.77,13.47 43.56,11.91 42.90,11.22 L42.90,11.22 Z M25.31,22.92 L25.31,14.16 L23.76,14.16 L23.76,12.72 L28.41,12.71 L28.41,14.16 L26.79,14.16 L26.79,22.92 L25.31,22.92 Z M30.70,22.92 L30.70,22.08 C30.17,22.71 29.72,23.03 29.23,23.03 C28.79,23.03 28.50,22.82 28.35,22.44 C28.25,22.21 28.19,21.85 28.19,21.32 L28.19,15.30 L29.59,15.30 L29.59,21.47 C29.63,21.69 29.71,21.76 29.89,21.76 C30.16,21.76 30.40,21.52 30.70,21.09 L30.70,15.30 L32.10,15.30 L32.10,22.92 L30.70,22.92 Z M37.05,22.16 C36.87,22.72 36.48,23.02 35.95,23.02 C35.48,23.02 34.95,22.72 34.50,22.15 L34.50,22.92 L32.98,22.92 L32.98,12.71 L34.50,12.71 L34.50,16.04 C34.93,15.49 35.46,15.18 35.95,15.18 C36.48,15.18 36.84,15.50 37.02,16.07 C37.11,16.37 37.20,16.87 37.20,17.59 L37.20,20.63 C37.20,21.34 37.14,21.83 37.05,22.16 L37.05,22.16 Z M40.73,21.21 C40.75,21.14 40.74,20.81 40.74,20.25 L42.15,20.25 L42.15,20.47 C42.15,20.91 42.11,21.23 42.10,21.37 C42.05,21.67 41.95,21.95 41.79,22.19 C41.42,22.74 40.87,23.02 40.17,23.02 C39.47,23.02 38.94,22.76 38.55,22.24 C38.27,21.86 38.09,21.29 38.09,20.48 L38.09,17.82 C38.09,17.00 38.25,16.37 38.54,15.99 C38.92,15.47 39.45,15.19 40.14,15.19 C40.81,15.19 41.34,15.47 41.71,15.99 C41.99,16.37 42.15,16.97 42.15,17.78 L42.15,19.34 L39.49,19.34 L39.49,20.71 C39.48,21.41 39.68,21.76 40.14,21.76 C40.47,21.76 40.66,21.58 40.73,21.21 L40.73,21.21 Z M40.12,16.45 C39.68,16.45 39.49,16.64 39.49,17.36 L39.49,18.20 L40.74,18.20 L40.74,17.37 C40.74,16.66 40.57,16.45 40.12,16.45 L40.12,16.45 Z M34.54,16.80 L34.54,21.42 C34.76,21.65 35.02,21.76 35.24,21.76 C35.62,21.76 35.80,21.47 35.80,20.71 L35.80,17.44 C35.80,16.67 35.62,16.45 35.24,16.45 C35.02,16.45 34.76,16.57 34.54,16.80 L34.54,16.80 Z",
fill:"#fff"}},{H:"g",Qa:!0,N:"ytp-svg-fill",L:[{H:"path",T:{d:"M50.85,16.34 C50.14,16.34 49.78,16.77 49.72,17.30 C49.61,18.30 49.61,19.64 49.72,20.65 C49.78,21.18 50.14,21.61 50.85,21.61 C51.55,21.61 52.03,21.21 52.03,20.67 L52.03,20.16 C52.03,20.09 51.98,20.04 51.91,20.04 L51.12,20.04 C50.99,20.04 50.89,19.93 50.89,19.80 L50.89,18.66 C50.89,18.53 50.99,18.42 51.12,18.42 L53.39,18.42 C53.52,18.42 53.63,18.53 53.63,18.66 L53.63,20.67 C53.63,22.11 52.45,23.30 50.85,23.30 C49.25,23.30 48.25,22.09 48.08,20.65 C47.97,19.64 47.97,18.30 48.08,17.30 C48.25,15.86 49.25,14.65 50.85,14.65 C52.46,14.65 53.63,15.79 53.63,17.39 C53.63,17.52 53.52,17.63 53.39,17.63 L52.23,17.63 C52.10,17.63 52.01,17.52 52.00,17.39 C51.95,16.77 51.52,16.34 50.85,16.34"}},
{H:"path",T:{d:"M57.57,19.76 C57.55,19.86 57.60,19.90 57.67,19.90 L58.74,19.90 C58.81,19.90 58.85,19.86 58.83,19.76 L58.27,16.89 C58.26,16.85 58.25,16.84 58.21,16.84 L58.19,16.84 C58.16,16.84 58.14,16.85 58.13,16.89 L57.57,19.76 Z M56.80,22.98 C56.78,23.09 56.69,23.16 56.58,23.16 L55.36,23.16 C55.17,23.16 55.10,23.03 55.13,22.93 L57.21,14.96 C57.24,14.85 57.33,14.78 57.43,14.78 L58.99,14.78 C59.10,14.78 59.19,14.85 59.21,14.96 L61.29,22.93 C61.31,23.03 61.24,23.16 61.06,23.16 L59.83,23.16 C59.73,23.16 59.65,23.09 59.61,22.98 L59.25,21.75 C59.23,21.66 59.18,21.57 59.08,21.57 L57.31,21.57 C57.20,21.57 57.15,21.64 57.13,21.75 L56.80,22.98 Z"}},
{H:"path",T:{d:"M65.75,17.32 C65.78,17.44 65.92,17.44 65.96,17.32 L66.61,14.99 C66.64,14.84 66.73,14.78 66.85,14.78 L68.46,14.78 C68.59,14.78 68.69,14.89 68.69,15.02 L68.69,22.93 C68.69,23.06 68.59,23.16 68.46,23.16 L67.32,23.16 C67.19,23.16 67.09,23.06 67.09,22.93 L67.09,18.18 C67.09,18.12 67.02,18.11 66.99,18.17 L66.45,19.97 C66.40,20.11 66.33,20.17 66.20,20.17 L65.51,20.17 C65.39,20.17 65.32,20.11 65.27,19.97 L64.71,18.17 C64.69,18.11 64.62,18.12 64.62,18.18 L64.62,22.93 C64.62,23.06 64.51,23.16 64.38,23.16 L63.24,23.16 C63.12,23.16 63.01,23.06 63.01,22.93 L63.01,15.02 C63.01,14.89 63.12,14.78 63.24,14.78 L64.85,14.78 C64.98,14.78 65.06,14.84 65.10,14.99 L65.75,17.32 Z"}},
{H:"path",T:{d:"M72.68,16.52 C72.68,16.45 72.63,16.40 72.56,16.40 L71.39,16.40 C71.27,16.40 71.16,16.29 71.16,16.16 L71.16,15.02 C71.16,14.89 71.27,14.78 71.39,14.78 L75.59,14.78 C75.72,14.78 75.82,14.89 75.82,15.02 L75.82,16.16 C75.82,16.29 75.72,16.40 75.59,16.40 L74.42,16.40 C74.35,16.40 74.31,16.45 74.31,16.52 L74.31,21.43 C74.31,21.50 74.35,21.55 74.42,21.55 L75.70,21.55 C75.83,21.55 75.94,21.66 75.94,21.79 L75.94,22.93 C75.94,23.06 75.83,23.16 75.70,23.16 L71.28,23.16 C71.15,23.16 71.05,23.06 71.05,22.93 L71.05,21.79 C71.05,21.66 71.15,21.55 71.28,21.55 L72.56,21.55 C72.63,21.55 72.68,21.50 72.68,21.43 L72.68,16.52 Z"}},
{H:"path",T:{d:"M83.53,22.93 C83.53,23.06 83.42,23.16 83.30,23.16 L81.92,23.16 C81.72,23.16 81.64,23.06 81.61,22.96 L80.02,18.76 C80.00,18.69 79.92,18.71 79.92,18.78 L79.92,22.93 C79.92,23.06 79.81,23.16 79.69,23.16 L78.52,23.16 C78.39,23.16 78.29,23.06 78.29,22.93 L78.29,15.02 C78.29,14.89 78.39,14.78 78.52,14.78 L79.91,14.78 C80.08,14.78 80.16,14.89 80.20,15.00 L81.79,19.55 C81.82,19.62 81.90,19.60 81.90,19.52 L81.90,15.02 C81.90,14.89 82.00,14.78 82.13,14.78 L83.30,14.78 C83.42,14.78 83.53,14.89 83.53,15.02 L83.53,22.93 Z"}},
{H:"path",T:{d:"M88.59,16.34 C87.88,16.34 87.52,16.77 87.46,17.30 C87.35,18.30 87.35,19.64 87.46,20.65 C87.52,21.18 87.88,21.61 88.59,21.61 C89.29,21.61 89.77,21.21 89.77,20.67 L89.77,20.16 C89.77,20.09 89.72,20.04 89.65,20.04 L88.86,20.04 C88.73,20.04 88.63,19.93 88.63,19.80 L88.63,18.66 C88.63,18.53 88.73,18.42 88.86,18.42 L91.13,18.42 C91.26,18.42 91.37,18.53 91.37,18.66 L91.37,20.67 C91.37,22.11 90.19,23.30 88.59,23.30 C86.99,23.30 85.99,22.09 85.82,20.65 C85.71,19.64 85.71,18.30 85.82,17.30 C85.99,15.86 86.99,14.65 88.59,14.65 C90.20,14.65 91.37,15.79 91.37,17.39 C91.37,17.52 91.26,17.63 91.13,17.63 L89.97,17.63 C89.84,17.63 89.75,17.52 89.74,17.39 C89.69,16.77 89.26,16.34 88.59,16.34"}}]}]}:
g.TD?{H:"div",ea:["ytp-icon","ytp-icon-logo"]}:{H:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 51 36",width:"100%"},L:[{H:"path",Qa:!0,N:"ytp-svg-fill",T:{d:"M19.40,22.92 L19.40,22.08 C18.87,22.71 18.42,23.03 17.93,23.03 C17.50,23.03 17.20,22.82 17.05,22.44 C16.96,22.21 16.89,21.85 16.89,21.32 L16.89,15.23 L18.29,15.23 L18.29,21.47 C18.33,21.69 18.41,21.76 18.59,21.76 C18.86,21.76 19.10,21.52 19.40,21.09 L19.40,15.23 L20.80,15.23 L20.80,22.92 L19.40,22.92 Z M15.41,15.91 C15.04,15.39 14.45,15.17 13.86,15.17 C13.19,15.17 12.69,15.39 12.31,15.91 C12.02,16.30 11.87,16.93 11.87,17.75 L11.87,20.48 C11.87,21.30 12.01,21.86 12.29,22.25 C12.67,22.77 13.27,23.05 13.86,23.05 C14.45,23.05 15.07,22.77 15.44,22.25 C15.73,21.86 15.86,21.30 15.86,20.48 L15.86,17.74 C15.86,16.92 15.70,16.30 15.41,15.91 L15.41,15.91 Z M14.45,20.63 C14.53,21.40 14.30,21.77 13.86,21.77 C13.43,21.77 13.20,21.40 13.27,20.63 L13.27,17.59 C13.20,16.83 13.43,16.47 13.86,16.47 C14.30,16.47 14.53,16.83 14.45,17.59 L14.45,20.63 Z M10.32,22.92 L8.84,22.92 L8.84,18.73 C8.84,18.73 7.31,13.60 7,12.64 L8.55,12.64 L9.58,16.65 L10.61,12.64 L12.16,12.64 L10.32,18.73 L10.32,22.92 Z"}},
{H:"path",ea:["ytp-svg-fill","ytp-svg-fill-logo-tube-text"],T:{d:"M23,12 L43,12 L43,24 L23,24 Z",fill:"none"}},{H:"path",Qa:!0,ea:["ytp-svg-fill","ytp-svg-fill-logo-tube-lozenge"],T:{d:"M42.90,11.22 C42.06,10.32 41.12,10.32 40.69,10.26 C37.60,10.03 32.97,10.03 32.97,10.03 C32.96,10.03 28.34,10.03 25.25,10.26 C24.82,10.32 23.88,10.32 23.04,11.22 C22.38,11.91 22.16,13.47 22.16,13.47 C22.16,13.47 21.94,15.30 21.94,17.13 L21.94,18.85 C21.94,20.68 22.16,22.51 22.16,22.51 C22.16,22.51 22.38,24.07 23.04,24.76 C23.88,25.66 24.98,25.63 25.47,25.73 C27.24,25.90 32.97,25.96 32.97,25.96 C32.97,25.96 37.60,25.95 40.69,25.72 C41.12,25.67 42.06,25.66 42.90,24.76 C43.56,24.07 43.77,22.51 43.77,22.51 C43.77,22.51 43.99,20.68 43.99,18.85 L43.99,17.13 C43.99,15.30 43.77,13.47 43.77,13.47 C43.77,13.47 43.56,11.91 42.90,11.22 L42.90,11.22 Z M25.31,22.92 L25.31,14.16 L23.76,14.16 L23.76,12.72 L28.41,12.71 L28.41,14.16 L26.79,14.16 L26.79,22.92 L25.31,22.92 Z M30.70,22.92 L30.70,22.08 C30.17,22.71 29.72,23.03 29.23,23.03 C28.79,23.03 28.50,22.82 28.35,22.44 C28.25,22.21 28.19,21.85 28.19,21.32 L28.19,15.30 L29.59,15.30 L29.59,21.47 C29.63,21.69 29.71,21.76 29.89,21.76 C30.16,21.76 30.40,21.52 30.70,21.09 L30.70,15.30 L32.10,15.30 L32.10,22.92 L30.70,22.92 Z M37.05,22.16 C36.87,22.72 36.48,23.02 35.95,23.02 C35.48,23.02 34.95,22.72 34.50,22.15 L34.50,22.92 L32.98,22.92 L32.98,12.71 L34.50,12.71 L34.50,16.04 C34.93,15.49 35.46,15.18 35.95,15.18 C36.48,15.18 36.84,15.50 37.02,16.07 C37.11,16.37 37.20,16.87 37.20,17.59 L37.20,20.63 C37.20,21.34 37.14,21.83 37.05,22.16 L37.05,22.16 Z M40.73,21.21 C40.75,21.14 40.74,20.81 40.74,20.25 L42.15,20.25 L42.15,20.47 C42.15,20.91 42.11,21.23 42.10,21.37 C42.05,21.67 41.95,21.95 41.79,22.19 C41.42,22.74 40.87,23.02 40.17,23.02 C39.47,23.02 38.94,22.76 38.55,22.24 C38.27,21.86 38.09,21.29 38.09,20.48 L38.09,17.82 C38.09,17.00 38.25,16.37 38.54,15.99 C38.92,15.47 39.45,15.19 40.14,15.19 C40.81,15.19 41.34,15.47 41.71,15.99 C41.99,16.37 42.15,16.97 42.15,17.78 L42.15,19.34 L39.49,19.34 L39.49,20.71 C39.48,21.41 39.68,21.76 40.14,21.76 C40.47,21.76 40.66,21.58 40.73,21.21 L40.73,21.21 Z M40.12,16.45 C39.68,16.45 39.49,16.64 39.49,17.36 L39.49,18.20 L40.74,18.20 L40.74,17.37 C40.74,16.66 40.57,16.45 40.12,16.45 L40.12,16.45 Z M34.54,16.80 L34.54,21.42 C34.76,21.65 35.02,21.76 35.24,21.76 C35.62,21.76 35.80,21.47 35.80,20.71 L35.80,17.44 C35.80,16.67 35.62,16.45 35.24,16.45 C35.02,16.45 34.76,16.57 34.54,16.80 L34.54,16.80 Z",
fill:"#fff"}}]}]});this.o=a;kV(a,this,28666);this.V("click",this.D);this.R(a,"videodatachange",this.C);this.C();g.Ke(this,$Z(b.o,this.element))};
m1=function(a,b,c){g.OF.call(this);var d=g.Y(a);this.U=a;this.A=b;this.ba=window.NaN;this.X=null;this.M=c;this.M.subscribe("autohideupdate",this.Cz,this);c=!aQ(g.NU(a));var e=new g.W({H:"div",N:"ytp-gradient-bottom"});g.L(this,e);g.hV(a,e.element,9);this.K=new g.DV(e,250,c,100);g.L(this,this.K);this.o=new g.W({H:"div",N:"ytp-chrome-bottom",L:[{H:"div",N:"ytp-chrome-controls"}]});g.L(this,this.o);g.hV(a,this.o.element,9);this.J=new g.DV(this.o,250,c,100);g.L(this,this.J);c=this.o.element.children[0];
d.F&&(c.style.background=d.rb);this.g=new a1(a);g.L(this,this.g);g.hV(a,this.g.element,7);this.g.subscribe("show",this.cT,this);this.g.subscribe("show",(0,g.y)(b.vS,b,this.g));this.B=new w0(a,b);g.L(this,this.B);this.B.Ia(this.o.element,0);e=new S_(a,b);g.L(this,e);g.hV(a,e.element,5);this.B.subscribe("height-change",e.fM,e);e=new V_(a);g.L(this,e);g.hV(a,e.element,5);e=new g.WQ({H:"div",N:"ytp-left-controls"});g.L(this,e);e.Ia(c);var f=new r0(a,b,!1);g.L(this,f);f.Ia(e.element);f=new o0(a,b);g.L(this,
f);f.Ia(e.element);f=new r0(a,b,!0);g.L(this,f);f.Ia(e.element);var k=new g.W({H:"span"});g.L(this,k);k.Ia(e.element);if(!d.X&&(this.C=new i0(a,b),g.L(this,this.C),this.C.Ia(k.element),d.K)){f=new j1(a,b,this.o.element);g.L(this,f);f.Ia(k.element);k=new g.TF(k.element);g.L(this,k);var l=(0,g.y)(f.IB,f,!0);k.subscribe("hoverstart",l);k=new g.TF(e.element);g.L(this,k);f=(0,g.y)(f.IB,f,!1);k.subscribe("hoverend",f)}this.O=new h1(a,b);g.L(this,this.O);this.O.Ia(e.element);e=new g.WQ({H:"div",N:"ytp-right-controls"});
g.L(this,e);e.Ia(c);c=new g1(a,b);g.L(this,c);c.Ia(e.element);c=new S0(a,b,this.g);g.L(this,c);this.g.G=c;c.Ia(e.element);c=new $_(a);g.L(this,c);g.hV(a,c.element,6);c.subscribe("show",(0,g.y)(b.jq,b,c));c=new a0(a,b,c);g.L(this,c);c.Ia(e.element);d.Xj&&(this.D=new l1(a,b),g.L(this,this.D),this.D.Ia(e.element));c=new f1(a,b);g.L(this,c);c.Ia(e.element);d.Ab&&(c=new e1(a,b,this.g),g.L(this,c),c.Ia(e.element));d.Wj&&(d=new R_(a,b),g.L(this,d),d.Ia(e.element));d=SJ();d.webkitSetPresentationMode&&g.va(d.webkitSupportsPresentationMode)&&
d.webkitSupportsPresentationMode("picture-in-picture")&&(d=new m0(a,b),g.L(this,d),d.Ia(e.element));this.ca=new Z_(a,b);g.L(this,this.ca);this.ca.Ia(e.element);this.F=new g.ot(this.LO,null,this);g.L(this,this.F);this.G=null;this.R(a,"appresize",this.rs);this.R(a,"fullscreentoggled",this.rs);this.R(a,"presentingplayerstatechange",this.Gt);this.rs()};
n1=function(a,b){if(aQ(g.NU(a.U))||b){if(b){a.J.hide();a.K.hide();if(a.C){var c=a.C;c.G=!1;g.mV(c.o,c,c.B&&!1)}a.D&&(c=a.D,c.B=!1,g.mV(c.o,c,c.A&&!1));a.A.o.Oi(a.ra())}}else b||(a.J.show(),a.K.show(),a.C&&(c=a.C,c.G=!0,g.mV(c.o,c,c.B&&!0)),a.D&&(c=a.D,c.B=!0,g.mV(c.o,c,c.A&&!0)),a.Cz())};
p1=function(a){var b=g.OU(a.U).Za().width;return Math.max(b-2*o1(a),100)};
o1=function(a){var b=a.A.ee();return 12*(g.Y(a.U).F?0:b?2:1)};
g.q1=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.Y(r).g;q={href:q,"aria-label":a,tabindex:"-1"};if("embedded"==c||"profilepage"==c)q.target="_blank";g.W.call(this,{H:"div",ea:["ytp-button","ytp-sb"],L:[{H:"a",N:"ytp-sb-subscribe",T:q,L:[{H:"div",N:"ytp-sb-text",L:[{H:"div",N:"ytp-sb-icon"},a]},b?{H:"div",N:"ytp-sb-count",L:[b]}:""]}]});this.V("click",function(a){a.stopPropagation()});
f&&g.R(this.element,"ytp-sb-classic")}else{g.W.call(this,{H:"div",ea:["ytp-button","ytp-sb"],L:[{H:"div",N:"ytp-sb-subscribe",T:{tabindex:"-1","aria-label":a},L:[{H:"div",N:"ytp-sb-text",L:[{H:"div",N:"ytp-sb-icon"},a]},b?{H:"div",N:"ytp-sb-count",L:[b]}:""]},{H:"div",N:"ytp-sb-unsubscribe",T:{tabindex:"-1","aria-label":c},L:[{H:"div",N:"ytp-sb-text",L:[{H:"div",N:"ytp-sb-icon"},c]},d?{H:"div",N:"ytp-sb-count",L:[d]}:""]}]});var w=this;this.o=k;this.U=r;var A=this.wa["ytp-sb-subscribe"],C=this.wa["ytp-sb-unsubscribe"];
f&&g.R(this.element,"ytp-sb-classic");if(e){l&&g.R(this.element,"ytp-sb-subscribed");a=g.Y(r);var B=null;"gaming"==a.o&&(B="gaming_channels");if(m){var M=a.baseYtUrl+"subscription_ajax";var X=function(){return{method:"POST",bd:{action_create_subscription_to_channel:1,c:w.o},Tb:{feature:m,silo_name:B},withCredentials:!0}};
var xa=function(){return{method:"POST",bd:{action_remove_subscriptions:1},Tb:{c:w.o,silo_name:B},withCredentials:!0}}}else if(n)M="/subscription_service",X=function(){return{method:"POST",
bd:{action_subscribe:1},Tb:{channel_ids:w.o,itct:n}}},xa=function(){return{method:"POST",
bd:{action_unsubscribe:1},Tb:{channel_ids:w.o,itct:n}}};
else return;var db=function(a){a.stopPropagation();g.LE(M,X());r.za("SUBSCRIBE");C.focus();C.removeAttribute("aria-hidden");A.setAttribute("aria-hidden",!0)},fa=function(a){a.stopPropagation();
g.LE(M,xa());r.za("UNSUBSCRIBE");A.focus();A.removeAttribute("aria-hidden");C.setAttribute("aria-hidden",!0)};
this.R(A,"click",db);this.R(C,"click",fa);this.R(A,"keypress",function(a){13==a.keyCode&&db(a)});
this.R(C,"keypress",function(a){13==a.keyCode&&fa(a)});
var uc=(0,g.y)(this.A,this),eb=(0,g.y)(this.B,this);r.addEventListener("SUBSCRIBE",uc);r.addEventListener("UNSUBSCRIBE",eb);g.Ke(this,function(){r.removeEventListener("SUBSCRIBE",uc);r.removeEventListener("UNSUBSCRIBE",eb)})}else g.R(A,"ytp-sb-disabled"),g.R(C,"ytp-sb-disabled")}};
r1=function(a){var b=new g.W({H:"a",N:"ytp-title-channel-logo",T:{href:"{{channelLink}}",target:"_blank"}});g.W.call(this,{H:"div",N:"ytp-title",L:[{H:"div",N:"ytp-title-channel",L:[b,{H:"div",N:"ytp-title-channel-popup",L:[{H:"div",N:"ytp-title-channel-heading",L:[{H:"h2",N:"ytp-title-channel-text",L:[{H:"a",T:{href:"{{popupChannelLink}}",target:"_blank"},L:["{{popupChannelName}}"]}]},{H:"h3",N:"ytp-title-channel-subtext",L:["{{subscriberCount}}"]}]}]}]},{H:"div",N:"ytp-title-text",L:[{H:"a",ea:["ytp-title-link",
"yt-uix-sessionlink"],T:{target:"_blank",href:"{{url}}","data-sessionlink":"feature=player-title"},L:["{{title}}"]},{H:"div",N:"ytp-title-subtext",L:[{H:"a",N:"ytp-title-channel-name",T:{href:"{{channelLink}}",target:"_blank"},L:["{{channelName}}"]},{H:"span",N:"ytp-title-view-count",L:["{{viewCount}}"]}]}]}]});g.L(this,b);this.o=a;this.A=null;this.X=this.wa["ytp-title-link"];this.F=this.wa["ytp-title-channel"];this.D=b;this.K=this.wa["ytp-title-channel-popup"];this.B=null;this.C=!1;this.O=this.P=
this.M=null;kV(a,this,23851);kV(a,b,36925);this.R(a,"videodatachange",this.G);this.R(a,"videoplayerreset",this.G);g.Y(a).experiments.g("embed_author_metadata")&&Wna(this);this.G()};
Wna=function(a){var b=new g.W({H:"div",N:"ytp-title-beacon"});g.L(a,b);b.Ia(a.F,0);var b=a.o.ia(),c=new g.q1(g.T("YTP_SUBSCRIBE"),null,g.T("YTP_SUBSCRIBED"),null,!0,!1,b.Dl,!1,"embed_title",null,null,a.o);a.B=c;g.L(a,c);c.Ia(a.K);kV(a.o,c,36926);var d=new g.W({H:"button",ea:["ytp-button","ytp-title-notifications"],L:[{H:"div",N:"ytp-title-notifications-on",L:[g.eE()]},{H:"div",N:"ytp-title-notifications-off",L:[g.TD?{H:"div",ea:["ytp-icon","ytp-icon-notifications-inactive"]}:{H:"svg",T:{fill:"#fff",
height:"24px",viewBox:"0 0 24 24",width:"24px"},L:[{H:"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.L(a,d);d.Ia(a.K);kV(a.o,d,36927);a.R(a.o,"SUBSCRIBE",function(){g.R(a.element,"ytp-subscribed")});
a.R(a.o,"UNSUBSCRIBE",function(){a.C=!1;g.Ip(a.element,"ytp-subscribed");g.Ip(a.element,"ytp-notifications-enabled")});
a.R(a.F,"mouseenter",function(){a.J.stop();var b=a.o.getRootNode();g.R(b,"ytp-title-channel-expanded");g.Ip(b,"ytp-title-channel-collapsed");g.mV(a.o,c,!0);g.mV(a.o,d,!0)});
a.R(a.F,"mouseleave",function(){a.J.start();g.mV(a.o,c,!1);g.mV(a.o,d,!1)});
a.R(c.element,"click",function(){g.lV(a.o,c)});
a.R(d.element,"click",function(){g.lV(a.o,d);g.LE("/subscription_ajax?action_update_subscription_preferences=1",{method:"POST",Tb:{channel_id:a.O,receive_all_updates:!a.C}});a.C=!a.C;g.S(a.element,"ytp-notifications-enabled",a.C)});
a.J=new g.rt(function(){var b=a.o.getRootNode();g.Ip(b,"ytp-title-channel-expanded");g.R(b,"ytp-title-channel-collapsed")},1E3);
g.L(a,a.J)};
t1=function(a){var b=a.o.ia(),c=b.videoId&&(2==a.o.Xa()||g.Y(a.o).experiments.g("embed_author_metadata")),d=a.o.getRootNode();c&&b.videoId==a.M?(g.R(d,"ytp-title-extra-info"),g.mV(a.o,a.D,!0)):(g.Ip(d,"ytp-title-extra-info"),g.mV(a.o,a.D,!1),c&&(b.author&&b.channelPath&&b.profilePicture?s1(a,b.videoId,b.Dl,b.author,b.channelPath,b.profilePicture,b.ht):b.videoId!=a.P&&(c=g.Y(a.o),d={video_id:b.videoId,html5:1,page_subscribe:0},c.Ec&&(d.authuser=c.Ec),c.pageId&&(d.pageid=c.pageId),c=g.Cg(c.baseYtUrl+
"get_video_metadata",d),g.LE(c,{method:"GET",Ob:(0,g.y)(a.da,a,b.videoId),withCredentials:!0}),a.P=b.videoId)))};
s1=function(a,b,c,d,e,f,k){e=g.Y(a.o).ha+"://"+KN(g.Y(a.o))+e;a.D.element.style.backgroundImage="url("+f+")";a.B&&(a.B.o=c);a.D.Fa("channelLink",e);a.Fa("channelLink",e);a.Fa("channelName",d);a.Fa("popupChannelLink",e);a.Fa("popupChannelName",d);a.Fa("subscriberCount",k);a.O=c;a.M=b;t1(a)};
u1=function(a,b){var c=g.OU(a).Za();g.W.call(this,{H:"div",L:[{H:"div",N:"ytp-tooltip-bg",L:[{H:"div",N:"ytp-tooltip-duration",L:["{{duration}}"]}]},{H:"div",N:"ytp-tooltip-text-wrapper",L:[{H:"div",N:"ytp-tooltip-image"},{H:"div",N:"ytp-tooltip-title",L:["{{title}}"]},{H:"span",N:"ytp-tooltip-text",L:["{{text}}"]}]}]});this.O=a;this.ka=b;this.fa=g.Y(a).isMobile;this.G=this.wa["ytp-tooltip-bg"];this.pa=this.wa["ytp-tooltip-image"];this.ha=(0,g.y)(this.uP,this);this.P=(0,g.y)(this.wP,this);this.X=
(0,g.y)(this.bf,this);this.A=null;this.J=new g.DV(this,100);g.L(this,this.J);this.o=null;this.M=!1;this.B=null;this.C=window.NaN;this.F="";this.ga=c.width;this.K=!0;this.D=1;this.ba=new g.rt(this.IJ,250,this);g.L(this,this.ba);this.da=new g.rt(this.bf,5E3,this);g.L(this,this.da)};
w1=function(a,b){if(null!=a.o)if(b)switch(a.o){case 3:case 2:v1(a);a.J.show();break;default:a.J.show()}else a.J.hide();a.K=b};
$Z=function(a,b){if(a.fa)return g.x;b.addEventListener("mouseover",a.P);return(0,g.y)(function(){this.A==b&&this.bf();b.removeEventListener("mouseover",this.P)},a)};
y1=function(a,b,c){if(a.o)if(3==a.o)a.bf();else return;x1(a,b,3,c)};
x1=function(a,b,c,d){(0,window.isNaN)(a.C)||(a.C=window.NaN,a.G.style.background="");a.A=b;a.M=!!d;d?a.F=d:(a.F=b.getAttribute("title"),b.removeAttribute("title"));a.element.className="ytp-tooltip";if(b=b.getAttribute("data-tooltip-image"))a.pa.style.backgroundImage="url("+b+")";g.S(a.element,"ytp-tooltip-image-enabled",!!b);a.o=c;a.O.addEventListener("appresize",a.X);a.K&&(v1(a),a.J.show(0))};
v1=function(a){var b=a.A.getAttribute("data-tooltip-text");if(b&&!a.M){a.Fa("text",b);var c=a.A.getAttribute("data-duration");a.update({title:a.F,duration:c});var d=a.A.getAttribute("data-preview"),e=160*a.D,f=90*a.D,k=160*a.D,l=90*a.D;a.G.style.width=e+"px";a.G.style.height=f+"px";a.G.style.backgroundImage=d?"url("+d+")":"";a.G.style.backgroundPosition=(e-k)/2+"px "+(f-l)/2+"px";a.G.style.backgroundSize=k+"px "+l+"px";g.Hp(a.element,["ytp-text-detail","ytp-preview"]);g.S(a.element,"ytp-has-duration",
!!c)}else a.Fa("text",a.F),g.Jp(a.element,["ytp-text-detail","ytp-preview","ytp-has-duration"]);3==a.o?a.element.setAttribute("role","status"):a.element.removeAttribute("role");z1(a,!!b)};
z1=function(a,b,c){a.element.style.maxWidth=b?"":Math.min(a.ga,200*a.D)+"px";A1(a.ka,a.element,a.A,c,1==a.o);a.element.style.top?g.R(a.element,"ytp-bottom"):a.element.style.bottom&&g.R(a.element,"ytp-top");3==a.o&&a.da.start()};
l0=function(a){a.A&&!a.M&&a.A.hasAttribute("title")&&(a.F=a.A.getAttribute("title"),a.A.removeAttribute("title"),a.K&&v1(a))};
B1=function(a,b){g.S(a.element,"ytp-preview",0<=b);if(!(0>b||b==a.C)){a.C=b;var c=160*a.D,d=160*a.D,e=dO(a.B,a.C,c);vW(a.G,e,c,d,!0);a.ba.start()}};
g.C1=function(a,b,c,d,e){d=d||375;e=e||440;var f=window.document.location.protocol+"//"+window.document.domain+"/post_login";b&&(f=Bg(f,"mode",b));b=Bg("/signin?context=popup","next",f);c&&(b=Bg(b,"feature",c));if(c=window.open(b,"loginPopup","width="+d+",height="+e+",resizable=yes,scrollbars=yes",!0))b=g.dG("LOGGED_IN",function(b){g.eG(g.PD("LOGGED_IN_PUBSUB_KEY",void 0));g.OD("LOGGED_IN",!0);a(b)}),g.OD("LOGGED_IN_PUBSUB_KEY",b),c.moveTo((window.screen.width-d)/2,(window.screen.height-e)/2)};
F1=function(a,b,c){g.W.call(this,{H:"button",ea:["ytp-watch-later-button","ytp-button"],T:{title:"{{title}}","data-tooltip-image":"{{image}}"},L:[{H:"div",N:"ytp-watch-later-icon",L:["{{icon}}"]},{H:"div",N:"ytp-watch-later-title",L:["{{watch_later}}"]}]});this.o=a;this.G=b.o;this.F=c;g.R(c,"ytp-watch-later-button-visible");this.D=null;this.B=this.A=!1;kV(a,this,28665);this.V("click",this.SM,this);this.R(a,"videoplayerreset",this.TM);this.R(a,"appresize",this.xd);this.xd(g.OU(a).Za());a=g.Y(this.o);
c=g.OG("yt-player-watch-later-pending");a.experiments.g("embed_show_watchlater_login")&&a.A&&c?(cJ(),D1(this,c.videoId)):E1(this,2);g.Ke(this,$Z(b.o,this.element))};
D1=function(a,b){if(!a.B){a.B=!0;E1(a,3);var c=g.Y(a.o);(a.A?Nna:Mna)({videoIds:b,Ec:c.Ec,pageId:c.pageId,onError:a.qR,Ob:a.A?a.rR:a.pR,context:a},c.baseYtUrl,!0)}};
E1=function(a,b,c){if(b!=a.D){switch(b){case 3:var d=dZ();break;case 1:d=g.TD?{H:"div",ea:["ytp-icon","ytp-icon-watch-later-added"]}:{H:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{H:"path",Qa:!0,N:"ytp-svg-fill",T:{d:"M15.03,26 L7,17.91 L9.83,15.05 L14.94,20.19 L25.07,10 L28,12.94 L15.03,26 Z"}}]};break;case 2:d=g.TD?{H:"div",ea:["ytp-icon","ytp-icon-watch-later"]}:{H:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{H:"path",Qa:!0,N:"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.TD?{H:"div",ea:["ytp-icon","ytp-icon-alert"]}:{H:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{H:"path",Qa:!0,N:"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.Fa("icon",
d);a.D=b}c?a.update({title:c,image:null}):(b=g.Y(a.o),b.userDisplayName?(c={USER_NAME:b.userDisplayName},a.update({title:a.A?g.T("YTP_ADDED_TO_WATCH_LATER_AS",c):g.T("YTP_WATCH_LATER_AS_2",c),image:b.userDisplayImage})):a.update({title:g.T("YTP_WATCH_LATER"),image:null}));l0(a.G)};
G1=function(a){g.W.call(this,{H:"a",ea:["ytp-watermark","yt-uix-sessionlink"],T:{target:"_blank",href:"{{url}}","aria-label":g.T("YTP_URL_NAVIGATE_TO",{WEBSITE:LN(g.Y(a))}),"data-sessionlink":"feature=player-watermark"},L:[g.TD?{H:"div",ea:["ytp-icon","ytp-icon-watermark"]}:{H:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 77 34",width:"100%"},L:[{H:"path",Qa:!0,N:"ytp-svg-fill",T:{d:"m 26.81,26.92 0,-1.67 c -1.06,1.25 -1.96,1.89 -2.94,1.89 -0.86,0 -1.46,-0.41 -1.76,-1.17 -0.18,-0.46 -0.31,-1.18 -0.31,-2.23 l 0,-12.18 2.80,0 0,12.48 c .06,.42 .24,.58 .59,.58 .53,0 1.02,-0.48 1.61,-1.34 l 0,-11.72 2.80,0 0,15.38 -2.80,0 0,0 z M 18.83,12.91 c -0.74,-1.05 -1.91,-1.48 -3.10,-1.48 -1.33,0 -2.35,.43 -3.10,1.48 -0.57,.77 -0.88,2.02 -0.88,3.66 l -0.00,5.46 c 0,1.63 .27,2.76 .84,3.53 .74,1.04 1.95,1.60 3.13,1.60 1.18,0 2.41,-0.55 3.16,-1.60 .56,-0.76 .82,-1.89 .82,-3.53 l 0,-5.48 c 0,-1.64 -0.32,-2.87 -0.88,-3.65 l 0,0 0,0 z m -1.91,9.44 c .14,1.52 -0.31,2.27 -1.18,2.27 -0.87,0 -1.32,-0.75 -1.18,-2.27 l 0,-6.09 c -0.14,-1.52 .31,-2.23 1.18,-2.23 .87,0 1.33,.71 1.18,2.23 l -0.00,6.09 0,0 z m -8.27,4.56 -2.95,0 0,-8.37 c 0,0 -3.06,-10.27 -3.69,-12.18 l 3.10,0 2.07,8.02 2.06,-8.02 3.10,0 -3.69,12.18 0,8.37 0,0 z"}},
{H:"path",ea:["ytp-svg-fill","ytp-svg-fill-logo-tube-text"],T:{d:"m 34,5.07 40,0 0,24 -40,0 z",fill:"none"}},{H:"path",Qa:!0,ea:["ytp-svg-fill","ytp-svg-fill-logo-tube-lozenge"],T:{d:"M 73.80,3.53 C 72.12,1.72 70.24,1.72 69.38,1.61 63.21,1.15 53.95,1.15 53.95,1.15 c -0.01,0 -9.27,0 -15.44,.45 -0.86,.10 -2.74,.11 -4.41,1.91 -1.32,1.37 -1.75,4.49 -1.75,4.49 0,0 -0.44,3.66 -0.44,7.32 l 0,3.43 c 0,3.66 .44,7.32 .44,7.32 0,0 .43,3.11 1.75,4.49 1.67,1.80 3.88,1.74 4.86,1.93 C 42.48,32.89 53.94,33 53.94,33 c 0,0 9.26,-0.01 15.43,-0.47 .86,-0.10 2.74,-0.11 4.41,-1.91 1.32,-1.37 1.75,-4.49 1.75,-4.49 0,0 .44,-3.66 .44,-7.32 l 0,-3.43 c 0,-3.66 -0.44,-7.32 -0.44,-7.32 0,0 -0.43,-3.11 -1.75,-4.49 l 0,0 0,0 z m -35.17,23.39 0,-17.51 -3.10,0 0,-2.89 9.30,-0.00 0,2.89 -3.24,0 0,17.51 -2.95,0 0,0 z m 10.78,0 0,-1.67 c -1.06,1.25 -1.96,1.89 -2.94,1.89 -0.86,0 -1.46,-0.41 -1.76,-1.17 -0.18,-0.46 -0.31,-1.18 -0.31,-2.23 l 0,-12.03 2.80,0 0,12.33 c .06,.42 .24,.58 .59,.58 .53,0 1.02,-0.48 1.61,-1.34 l 0,-11.57 2.80,0 0,15.23 -2.80,0 0,0 z m 12.70,-1.52 c -0.35,1.13 -1.13,1.71 -2.19,1.71 -0.95,0 -2.01,-0.58 -2.90,-1.72 l -0.00,1.53 -3.02,0 0,-20.40 3.02,0 -0.00,6.65 c .86,-1.09 1.92,-1.71 2.91,-1.71 1.06,0 1.78,.63 2.13,1.77 .17,.61 .35,1.59 .35,3.03 l 0,6.09 c 0,1.40 -0.11,2.40 -0.29,3.04 l 0,0 0,0 z m 7.36,-1.89 c .02,-0.15 .02,-0.80 .02,-1.91 l 2.80,0 0,.43 c 0,.88 -0.07,1.51 -0.09,1.79 -0.09,.61 -0.30,1.16 -0.62,1.65 -0.73,1.10 -1.83,1.64 -3.23,1.64 -1.39,0 -2.46,-0.51 -3.23,-1.55 -0.56,-0.76 -0.93,-1.89 -0.93,-3.51 l 0,-5.33 c 0,-1.62 .33,-2.88 .89,-3.65 .77,-1.04 1.83,-1.59 3.20,-1.59 1.34,0 2.40,.55 3.15,1.59 .55,.76 .86,1.95 .86,3.58 l 10e-4,3.11 -5.32,0 0,2.73 c -0.00,1.40 .37,2.11 1.29,2.11 .65,0 1.04,-0.36 1.19,-1.10 l 0,0 0,0 z m -1.21,-9.51 c -0.89,0 -1.27,.38 -1.27,1.81 l 0,1.68 2.51,-0.00 0,-1.66 c 0,-1.40 -0.35,-1.83 -1.23,-1.83 l 0,0 0,0 z m -11.16,.69 -0.00,9.23 c .44,.46 .95,.69 1.39,.69 .77,0 1.11,-0.58 1.11,-2.10 l 0,-6.54 c 0,-1.52 -0.34,-1.97 -1.11,-1.97 -0.44,0 -0.94,.23 -1.39,.69 l 0,0 0,0 z",
fill:"#fff"}}]}]});this.A=a;this.o=null;this.R(a,"videodatachange",this.B);this.R(a,"presentingplayerstatechange",this.D);a=g.NU(a);this.Lb(!g.V(a,2));this.B()};
H1=function(a){TZ.call(this,a);var b=g.Y(a),c=g.OU(a),d=g.Y(this.g),e=d.ba;if(VJ("ytp-normal-css-loaded")){var f=VJ("ytp-sprite-mode-css-loaded");e!=f&&g.rE(Error("Player sprite mode mismatch. playerInSpriteMode: "+e+", spriteModeCssServed: "+f+", isMobile: "+d.isMobile),"WARNING")}this.X=null;this.G=[];d=new g.W({H:"div",N:"ytp-gradient-top"});g.L(this,d);g.hV(a,d.element,1);this.Sa=new g.DV(d,250,!0,100);g.L(this,this.Sa);this.C=new g.W({H:"div",N:"ytp-chrome-top"});g.L(this,this.C);g.hV(a,this.C.element,
1);this.Pa=new g.DV(this.C,250,!0,100);g.L(this,this.Pa);this.ka=[];this.o=new u1(a,this);g.L(this,this.o);g.hV(a,this.o.element,5);!b.experiments.g("related_on_pause_killswitch")&&b.A&&b.Rc&&(this.wb=new G_(a,this),g.L(this,this.wb),g.hV(a,this.wb.element,5));this.J=new ZZ(a,this);g.L(this,this.J);g.hV(a,this.J.element,2);d=new K_(a);g.L(this,d);g.hV(a,d.element,6);d.subscribe("show",(0,g.y)(this.jq,this,d));this.ka.push(d);d=new M_(a,this,d);g.L(this,d);d.Ia(this.C.element);this.Ja=new r1(a);g.L(this,
this.Ja);this.Ja.Ia(this.C.element);d=new g.WQ({H:"div",N:"ytp-chrome-top-buttons"});g.L(this,d);d.Ia(this.C.element);b.experiments.g("embed_show_top_buttons")&&b.A&&g.R(d.element,"ytp-chrome-top-show-buttons");b.iS&&(this.pa=new F1(a,this,this.C.element),g.L(this,this.pa),this.pa.Ia(d.element));e=new O_(a,this);g.L(this,e);g.hV(a,e.element,6);e.subscribe("show",(0,g.y)(this.jq,this,e));this.ka.push(e);this.La=new Q_(a,this,e,this.C.element);g.L(this,this.La);this.La.Ia(d.element);(this.A="1"==b.C?
new m1(a,this,this.B):null)&&g.L(this,this.A);"3"==b.C&&(d=new N_(a,this),g.L(this,d),g.hV(a,d.element,9));this.K=new y_(a,this);g.L(this,this.K);this.K.subscribe("show",this.mz,this);this.Aa=!1;b.Yj&&(d=new G1(a),g.L(this,d),g.hV(a,d.element,8));d=new WZ(a);g.L(this,d);g.hV(a,d.element,5);this.fa=new g.W({H:"div",T:{tabindex:0}});this.fa.V("focus",this.cH,this);g.L(this,this.fa);this.da=new g.W({H:"div",T:{tabindex:0}});this.da.V("focus",this.dH,this);g.L(this,this.da);(this.ga=b.useTabletControls?
null:new A_(a,c,this.K,this.B,this.F,(0,g.y)(this.Km,this)))&&g.L(this,this.ga);this.R(a,"fullscreentoggled",this.WL);this.R(a,"offlineslatestatechange",this.FP,this);this.R(a,"cardstatechange",this.Hg,this)};
A1=function(a,b,c,d,e){b.style.left="";b.style.top="";b.style.bottom="";var f=g.th(b);e=e||a.A&&g.xe(a.A.ra(),c);if(null==d||!e){var k=g.th(c);var l=g.qh(c,a.g.getRootNode())}d=(null==d?l.x+k.width/2:d)-f.width/2;e?(k=o1(a.A),l=p1(a.A),c=g.OU(a.g).Za().height,d=g.Id(d,k,k+l-f.width),f=c-(a.A.A.ee()?72:50)-f.height):g.xe(a.C.element,c)?(k=g.OU(a.g).Za().width,d=g.Id(d,12,k-f.width-12),f=a.ee()?69:48,"gvn"==g.Y(a.g).o&&(f+=20)):(a=g.OU(a.g).Za(),d=g.Id(d,12,a.width-f.width-12),f=l.y>(a.height-k.height)/
2?l.y-f.height-12:l.y+k.height+12);b.style.top=f+"px";b.style.left=d+"px"};
I1=function(a,b,c){b=c?b.lastElementChild:b.firstElementChild;for(var d=null;b;){if("none"!=g.eh(b,"display")&&"true"!=b.getAttribute("aria-hidden")){var e=void 0;0<=b.tabIndex?e=b:e=I1(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};
J1=function(a){this.J=a;this.D=null;this.A=[];this.o=[];this.C=[];this.G=1;this.g=[];this.B=!1};
g.jV=function(a,b,c){a.B?a.C.push({type:b,data:c}):a.J.Y(b,c)};
K1=function(a,b){g.K.call(this);var c=this;this.ca=dja(b);var d=this.ca.args||{};this.Z=new GN(d);g.L(this,this.Z);this.Z.experiments.g("legacy_autoplay_flag")||"detailpage"!=this.Z.g||(d.autoplay="1");this.jd=kN("detailpage"==this.Z.g&&"blazer"!=this.Z.o,d.enablesizebutton);this.pa=kN(!1,d.player_wide);this.X=this.Z.Fb&&kN(!1,d.external_list);this.va=(this.Pc=this.Z.Fb&&kN(!1,d.external_play_video))&&this.Z.experiments.g("player_unified_fullscreen_transitions");this.O=new g.OF(this);g.L(this,this.O);
jg=function(a,b){g.rE(b,"WARNING")};
this.Pa=null;this.P=new g.iD;this.ba=new g.iD;this.da=new J1(this.ba);this.da.pause();this.g=new FU(this);g.L(this,this.g);this.J=new FU(this,1);g.L(this,this.J);this.F=new QY(this);g.L(this,this.F);this.M=1;this.Ua={};this.K=this.Z.storeUserVolume?Jja():{volume:100,muted:this.Z.mute};this.U=this.Z.Fb?new IQ(this,1):new hJ(this,1);g.L(this,this.U);this.D=null;this.Sa={};d={};this.Ab=(d.internalAbandon=this.yN,d.internalvideodatachange=this.xN,d.playbackready=this.zN,d.playbackstarted=this.AN,d.statechange=
this.BN,d.signatureexpired=this.EQ,d);this.A=Xna(this);g.L(this,this.A);this.G=new KQ(this.Z,"",this.A);this.o=Yna(this);d={};this.Rc=(d.airplayactivechange=this.oN,d.airplayavailabilitychange=this.pN,d.beginseeking=this.JN,d.endseeking=this.xO,d.internalAbandon=this.PO,d.internalaudioformatchange=this.DN,d.internalvideodatachange=this.Rr,d.internalvideoformatchange=this.hR,d.liveviewshift=this.VO,d.playbackstalledatstart=this.KQ,d.progresssync=this.ZJ,d.seekto=this.aK,d.onLoadProgress=this.WO,d.onVideoProgress=
this.cK,d.playbackready=this.QP,d.statechange=this.NA,d.connectionissue=this.hO,d.newelementrequired=this.zP,d.heartbeatparams=this.XJ,d.videoelementevent=this.bK,d);this.C=null;this.sa=new tZ(5,function(a){a!=g.MU(c,a.getPlayerType())&&a.dispose()});
g.L(this,this.sa);this.Gb=this.Hb=-1;this.rb=new g.rt(this.F.jg,16,this.F);g.L(this,this.rb);this.wb=!1;this.fa=!0;this.ua=this.La=this.B=null;this.Yb=!1;this.xc=this.Qc=null;this.jb=this.ga=0;this.ka=this.Ja=!1;this.Aa=this.ha=null;this.O.R(this.g,"crn_appapi",this.vN);this.O.R(this.g,"crx_appapi",this.wN);this.O.R(this.g,"crn_appad",this.Zz);this.O.R(this.g,"crx_appad",this.Zz);this.O.R(this.g,"presentingplayerstatechange",this.YJ);this.O.R(this.g,"resize",this.nQ);this.F.Ia(g.Wd(a));this.Cc=this.Z.experiments.g("html5_enable_embedded_player_visibility_signals")&&
this.Z.A?new vZ(this.F.element):null;g.L(this,this.Cc);g.TD=this.Z.ba;Zna(this);this.G.o("fs");$na(this);this.Aa=new H1(this.g);this.A.D=this.Aa;this.Aa.init();g.WU(this.J,"init")};
Yna=function(a){var b=new HT(a.Z,1,a.G,a.F,(0,g.y)(a.P.Y,a.P),(0,g.y)(a.Pk,a));EU(b,a.Z.A?1:L1(a,g.OG("yt-player-playback-rate")||1));M1(a,b,a.Ab);return b};
Xna=function(a){var b="",c=a.ca.assets.js||"";0==c.indexOf("//")&&(c=a.Z.ha+":"+c);"/base.js"==c.substr(-8)&&(b=c.substr(0,c.length-8)+"/");b=new LY(a.g,b,a);c={};a=(c.loaded=(0,g.y)(a.qP,a),c.unloaded=(0,g.y)(a.rP,a),c.destroyed=(0,g.y)(a.xs,a),c);b.fa=a;return b};
O1=function(a,b){a.Pa||(a.Pa=new sZ(a),g.L(a,a.Pa),g.hV(a.g,a.Pa.element,5));a.Pa.Lb(b);N1(a)&&g.LU(a.A).uL()};
Q1=function(a){var b=P1.getTag(!0,!a.Z.D);a.D=new oK(b);a.C&&jU(a.C,a.D);try{if(a.Z.X)a.ua&&a.O.Ca(a.ua),a.ua=a.O.R(a.D,"volumechange",a.nP);else{a.D.setVolume(a.K.volume/100);var c=a.D,d=a.K.muted;UJ();c.g.muted=d}}catch(e){b="setvolume.1;emsg."+(e.message&&e.message.replace(/[;:,]/g,"_"));g.RT(a.o,"html5.missingapi","YTP_ERROR_UNSUPPORTED_DEVICE",b);return}Lna(a.F,b);try{hK(a.D)}catch(e){b="activate.1;emsg."+(e.message&&e.message.replace(/[;:,]/g,"_")),g.RT(a.o,"html5.missingapi","YTP_ERROR_UNSUPPORTED_DEVICE",
b)}};
R1=function(a){if(a.D){a.ua&&(a.O.Ca(a.ua),a.ua=null);a.C&&iU(a.C);var b=a.F;b.o&&(g.qe(b.o),b.o=null);P1.releaseTag(a.D.ra());a.D=null}};
zY=function(a,b){if(a.C!=b){var c=null;a.C&&(c=a.C.A,PY(a.A),bV(a,"cuerangesremoved",a.C.D.g.g||[]),AY(a));S1(a,b);a.C=b;a.D&&jU(b,a.D);M1(a,b,a.Rc);a.Rr("newdata",b,b.g);a.Z.experiments.g("disable_new_presenting_state_change")||!c||g.ZP(c,b.A)||a.NA(new g.dQ(b.A,c));b.ga.g&&a.Rr("dataloaded",b,b.g);b.g.Oa&&a.g.za("onPlaybackQualityChange",b.g.Oa.video.quality);bV(a,"cuerangesadded",a.C.D.g.g||[]);$P(b.A)&&pU(b)}};
M1=function(a,b,c){for(var d in c)b.subscribe(d,c[d],a)};
S1=function(a,b){if(b!=a.o){var c=b.getPlayerType();a.Sa[c]=b}};
AY=function(a){iU(a.C);var b=a.C,c=a.Rc,d;for(d in c)b.unsubscribe(d,c[d],a);b=a.C;b!=a.o&&(c=b.getPlayerType(),a.Sa[c]==b&&delete a.Sa[c]);a.C=null};
g.MU=function(a,b){return b?1==b?a.o:a.Sa[b]||null:a.C};
wW=function(a,b){var c=g.MU(a,b);c||(c=T1(a,b),S1(a,c));return c};
T1=function(a,b){if(2==b){var c=g.Xb(a.Z.O);a.Z.experiments.g("legacy_autoplay_flag")&&(c.autoplay="1");c.eventid=U1(a).eventId;c.content_v=U1(a).videoId;c=new GN(c);c.g="adunit";c=new HT(c,2,new KQ(c,""),a.F,(0,g.y)(a.P.Y,a.P),(0,g.y)(a.Pk,a))}else c=new HT(a.Z,b,a.G,a.F,(0,g.y)(a.P.Y,a.P),(0,g.y)(a.Pk,a));return c};
V1=function(a){var b=a.A;if(!b.o)try{b.U.ia(1).adModule?(b.o=new tY(b.ga,b.ga.J),b.o.create()):g.eV(b.U,"ad")}catch(c){g.eV(b.U,"ad"),g.rE(c)}b.lw();b.hw();b.ow();b.qw();b.pw();b.kw();b.ew();b.gw();b.jw();b.iw();b.aq();b.mw();a.g.Y("videoready",U1(a))};
U1=function(a){return a.C.g};
W1=function(a,b){var c=g.MU(a,b);return(c=c?c.o:null)?lK(c):0};
g.X1=function(a,b,c){(a=g.MU(a,void 0===c?1:c))&&IT(a,b)};
Y1=function(a){var b=a.o.g;return a.Z.experiments.g("legacy_autoplay_flag")?a.Z.Vl:b.vh};
Zna=function(a){var b=new g.hP(a.ca.args);g.sH()&&b.ie.push("remote");b.Ke()&&(QT(a.o,b,(0,g.y)(a.Bd,a)),Y1(a)&&(a.Z.kg||a.Z.wf)&&UT(a.o))};
$na=function(a){var b=a.F,c=b.app.Z;c.yf||b.ku("tag-pool-enabled");c.zc&&b.ku("house-brand");"gvn"==c.o&&(b.ku("ytp-gvn"),b.element.style.backgroundColor="transparent");c.ka&&(b.G=g.dG("yt-dom-content-change",b.jg,b));b.R(window,"resize",b.jg,b);b=a.U;b.o=a.F.element;for(var d in b.B)b.o[d]=b.B[d];for(d in b.C)b.o[d]=b.C[d];(d=xF(a.F.element))&&a.O.R(a.F,d,a.EO);a.O.R(window,"resize",a.oQ);b=a.ca.args;Q1(a);d=a.o.g;a.g.za("onVolumeChange",a.K);if(b&&QQ(b))if((c=ON(a.Z))&&!a.X&&(b.fetch=0),Z1(a,b),
c&&!a.X)$1(a);else if(!d.Ke())a.B.onReady((0,g.y)(a.Fs,a));if(b=a.ca.args.jsapicallback)g.va(b)||(b=g.v(b)),b&&(0,g.y)(b,pa,a.Z.AJ);zY(a,a.o);g.V(a.o.A,128)||(b=TJ(a.Z.D),"fmt.noneavailable"==b?g.RT(a.o,"html5.missingapi","YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK","nocodecs.1"):"html5.missingapi"==b?g.RT(a.o,b,"YTP_ERROR_UNSUPPORTED_DEVICE","nocanplaymedia.1"):d&&d.Ke()&&Y1(a)&&(a.Z.kg||a.Z.wf)?a2(a):"leanback"!=a.Z.g&&b2(a))};
b2=function(a){a.g.Y("initializingmode");g.c2(a,2);a.A.aq()};
a2=function(a){if(g.V(a.o.A,128))return!1;Y1(a)&&a.Z.wf&&(P1.hasTags(void 0)&&a.ka?(kJ(a,{muted:!1,volume:a.K.volume},!1),d2(a,!1)):P1.hasTags(void 0)||a.K.muted||(kJ(a,{muted:!0,volume:a.K.volume},!1),d2(a,!0)));e2(a,1,a.o.g.videoId);a.g.Y("initializingmode");zY(a,a.o);g.c2(a,3);var b;if(!(b=!a.Z.yf||CN()&&!a.Yb)){if(b=a.ha)b=a.D,b=!!b&&b==a.ha.g;b=b&&a.Yb}b&&(R1(a),Q1(a),jU(a.o,a.D));XT(a.o);if(g.V(a.o.A,128))return!1;f2(a,3);return a.Yb=!0};
N1=function(a){a=g.LU(a.A);return!!a&&a.loaded};
aoa=function(a,b){if(a.C==a.o&&a.C.Qc!=b){var c=a.C;c.Qc=b;c.o&&(c.o.g.loop=b);a.g.Y("loopchange",b)}};
g2=function(a,b,c){(0,window.isNaN)(b)||(b=L1(a,b),a.o.va!=b&&(EU(a.o,b),c&&!a.Z.A&&g.NG("yt-player-playback-rate",b),a.g.za("onPlaybackRateChange",b)))};
L1=function(a,b){var c=1,c=a.g.pj();return c=1>b?g.ab(c,function(a){return a>=b}):cb(c,function(a){return a<=b})};
h2=function(a,b){var c=BU(a.o,b);a.C&&a.C!=a.o&&(c=boa(c,BU(a.C,b),"ad_"));if(b&&a.D){c["0sz"]=0==g.th(a.D.g).Sc();c.op=dh(a.D.g,"opacity");var d=ih(a.D.g).y+g.th(a.D.g).height;c.yof=0>=d;c.dis=dh(a.D.g,"display")}(d=b?TT():null)&&(c.gpu=d);c.cgr=!0;c.debug_playbackQuality=a.J.Rk();c.debug_date=(new Date).toString();delete c.uga;delete c.q;(d=a.A.F)&&(c=boa(c,d.GC(),"fresca_"));return JSON.stringify(c,null,2)};
KU=function(a){return 1==a.M?1:N1(a)?3:g.MU(a).getPlayerType()};
coa=function(a,b){return 3==KU(a)?cQ(g.LU(a.A).F):2==b?a.Gb:a.Hb};
doa=function(a){var b=a.A.o;b&&b.C&&b.destroy();aoa(a,!1);a.Ua={};a=a.G;b=a.A;b.ca={};b.ba={};a.B=!1};
$1=function(a){var b=eoa();if(b)if(!b.list)a.ym();else if(a.B&&a.B.listId.toString()==b.list)if(0<=b.index){var c=b.video;a.g.isFullscreen()&&((c=c[a.B.Zd()])&&c.encrypted_id!=a.B.jc().videoId||(b.index=a.B.Zd()));UQ(a.B,b);a.La&&i2(a,a.La)}else a.La=null};
Z1=function(a,b){a.B&&(a.B.unsubscribe("error",a.ym,a),g.Le(a.B),a.B=null);b&&(a.X&&(b.fetch=0),a.B=new g.PQ(b),a.B.subscribe("error",a.ym,a))};
j2=function(a,b,c,d){b in a.Ua||(c=new g.oJ(c,d,{id:b,priority:1}),c.namespace="appad",JS(a.o.D,[c]),a.Ua[b]=c)};
foa=function(a,b,c){c={label:c};a.Z.experiments.g("send_pyv_ad_mt_and_abandon_pings")&&(a=1E3*a.getCurrentTime(),c.ad_mt=Math.round(Math.max(0,a)).toString());return g.IE(b,c)};
g.c2=function(a,b){b!=a.M&&(2==b&&(f2(a,-1),f2(a,5)),a.M=b,a.g.Y("appstatechange",b))};
f2=function(a,b){a.C&&2==a.C.getPlayerType()?a.Gb!=b&&(a.Gb=b,a.g.za("onAdStateChange",b)):a.Hb!=b&&(a.Hb=b,a.g.za("onStateChange",b))};
HY=function(a,b,c,d,e){c=0!=c;if(e=g.MU(a,e))2==a.M&&a2(a),$T(e,b,c,d)};
l2=function(a,b,c,d,e){a.Z.zc&&WN(b);a.Z.experiments.g("legacy_autoplay_flag")||"detailpage"!=a.Z.g||(b.autoplay="1");var f=new g.hP(b);d||(b&&QQ(b)?(ON(a.Z)&&!a.X&&(b.fetch=0),Z1(a,b)):a.B&&Z1(a,null),a.X=kN(!1,b.external_list),ON(a.Z)&&!a.X&&$1(a));return k2(a,f,c,e)};
goa=function(a,b,c,d){a.sa.get(c+b.videoId)||(b.Yn=!0,d?(d=g.MU(a,c),m2(a,c)):d=T1(a,c),QT(d,b,(0,g.y)(a.Bd,a)),UT(d,!0),a.sa.set(c+b.videoId,d))};
e2=function(a,b,c){var d=b+c;if(c=a.sa.get(d)){a.sa.remove(d);if(c==g.MU(a,b))return c;if(1==c.getPlayerType()){c.g.autonavState=a.o.g.autonavState;b=a.o;var d=a.Ab;for(e in d)b.unsubscribe(e,d[e],a);var e=a.o.va;a.o.dispose();a.o=c;EU(a.o,e);M1(a,c,a.Ab);doa(a)}else(e=g.MU(a,b))&&e.dispose();a.C.getPlayerType()==c.getPlayerType()?zY(a,c):S1(a,c)}return c};
k2=function(a,b,c,d){aP("_start",a.G.g)||(RO("p",void 0,a.G.g),a.G.info("srt",0));var e=e2(a,c||a.C.getPlayerType(),b.videoId);if(!e){e=g.MU(a,c);if(!e)return!1;a.rb.stop();m2(a,c);QT(e,b,(0,g.y)(a.Bd,a),d)}if(!ST(e))return!1;a.wb&&(e.rb=!1,a.wb=!1);if(e==a.o)return g.c2(a,1),a2(a);XT(e);return!0};
n2=function(a,b,c){c=g.MU(a,c);b&&c==a.o&&(c.g.Mf=!0)};
p2=function(a,b,c){a.Z.zc&&WN(b);if(b&&QQ(b))if(a.fa=!0,Z1(a,b),(b=a.B.jc())&&b.Ke())o2(a,b,c);else a.B.onReady((0,g.y)(a.Fs,a));else c||(c=KU(a)),1==c&&a.ym(),o2(a,new g.hP(b),c)};
o2=function(a,b,c){var d=g.MU(a,c);d&&(m2(a,c),QT(d,b,(0,g.y)(a.Bd,a)),d.Z.fg(b.ac),d==a.o&&(g.c2(a,1),b2(a)))};
g.r2=function(a,b,c,d,e,f){if(!b&&!d)throw Error("Playback source is invalid");a.g.isFullscreen()&&!a.va||!FN(a.Z)?(c=a.G,f=c.A,f.ca={},f.ba={},c.B=!1,a.G.reset(),b={video_id:b},e&&(b.autoplay="1"),d?(b.list=d,a.fa=!1,q2(a,b,void 0,void 0,void 0)):l2(a,b,1)):(c=c||{},c.lact=g.vG(),c.vis=a.Pk(),a.Pc||"gaming"==a.Z.o?a.g.za("onPlayVideo",{videoId:b,sessionData:c,listId:d}):(d=f&&U1(a).isLiveDestination?a.Z.P:a.Z.getVideoUrl(b,d),e=g.v("yt.player.exports.navigate"),a.Z.experiments.g("legacy_navigate_with_player")?
(e(d,c,!0),pV(d)):e(d,c)))};
q2=function(a,b,c,d,e){if(g.wa(b)&&!g.ta(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;Z1(a,b);a.B.onReady((0,g.y)(a.Fs,a))};
g.EZ=function(a){if(a.g.app.ka)return!1;if(3==KU(a))return!0;ON(a.Z)&&!a.X&&$1(a);return!(!a.B||!a.B.hasNext())};
hoa=function(a,b){a.o.g.autonavState=b;a.g.Y("autonavchange",b)};
s2=function(a,b,c){var d=g.MU(a,1).g.cg;g.iV(a.g)&&d?(d=g.H(d,g.uZ),b=d[0],d=c?b.Dw:b.Sd,g.r2(a,b.jc().videoId,d,b.getPlaylistId(),c)):!a.X||a.g.isFullscreen()&&!a.va?3==KU(a)?g.LU(a.A).sL():a.B&&(ON(a.Z)&&!a.g.isFullscreen()?i2(a,"yt.www.watch.lists.next"):(a.B.hasNext(b)&&TQ(a.B,RQ(a.B)),a.B.Vc?k2(a,a.B.jc(void 0,c),1):a.fa=!1)):a.g.za("onPlaylistNext")};
ioa=function(a,b){!a.X||a.g.isFullscreen()&&!a.va?3==KU(a)?g.LU(a.A).tL():a.B&&(ON(a.Z)&&!a.g.isFullscreen()?i2(a,"yt.www.watch.lists.prev"):(a.B.Kf(b)&&TQ(a.B,SQ(a.B)),a.B.Vc?k2(a,a.B.jc(),1):a.fa=!1)):a.g.za("onPlaylistPrevious")};
i2=function(a,b){var c=g.v(b);if(c){var d=eoa();d&&d.list&&c();a.La=null}else a.La=b};
eoa=function(){var a=g.v("yt.www.watch.lists.getState");return a?a():null};
joa=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.oJ(1E3*c,1E3*d,b);c.namespace="appapi";$U(a,[c],1);return!0};
$U=function(a,b,c){var d=g.MU(a,c);d&&(JS(d.D,b),c&&KU(a)!=c||bV(a,"cuerangesadded",b))};
JY=function(a){var b=(0,g.sG)(),c=a.getCurrentTime();return b-Math.max(1E3*(c-U1(a).startSeconds),0)};
kJ=function(a,b,c){a.Z.K&&(a.K=b,b.muted||d2(a,!1),c&&a.Z.storeUserVolume&&!a.Z.X&&(c={volume:Math.floor(b.volume),muted:b.muted},c.unstorable||(g.NG("yt-player-volume",c),g.NG("yt-player-volume",c,2592E3))),koa(a),c=g.UE&&!a.D.qd(),!a.Z.X||c)&&(b=g.Xb(b),a.Z.storeUserVolume||(b.unstorable=!0),a.g.za("onVolumeChange",b))};
koa=function(a){var b=U1(a);b.im||(a.D.setVolume(a.K.volume*(a.Z.X?1:b.uc)/100),b=a.D,a=a.K.muted,UJ(),b.g.muted=a)};
d2=function(a,b){b!=a.ka&&(a.ka=b,a.g.Y("mutedautoplaychange",b))};
loa=function(a,b){var c=window.screen&&window.screen.orientation;if(a.Z.experiments.g("lock_fullscreen2")&&c&&c.lock&&(!g.UE||!g.t2))if(b){var d=0==c.type.indexOf("portrait"),e=g.UY(a.F),f=d;1>e?f=!0:1<e&&(f=!1);if(!a.Ja||f!=d){if(c=c.lock(f?"portrait":"landscape"))c["catch"](g.x);a.Ja=!0}}else a.Ja&&(a.Ja=!1,c.unlock())};
u2=function(a,b){var c=!!b,d=!!a.jb!=c;a.jb=b;a.Z.experiments.g("legacy_player_fullscreen_order")?d&&(a.G.o("fsc"),a.Z.ga=c,a.F.jg()):(a.Z.ga=c,a.F.jg(),d&&a.G.o("fsc"));d&&(a.g.Y("fullscreentoggled",c),d=a.o.g,c={fullscreen:c,videoId:d.ypcOrigin||d.videoId,time:a.getCurrentTime()},a.J.getPlaylistId()&&(c.listId=a.J.getPlaylistId()),a.g.za("onFullscreenChange",c))};
bV=function(a,b,c){a.g.Y(b,c);var d=g.AK(a.Z)||g.AN(a.Z);if(c&&d){switch(b){case "cuerangemarkersupdated":var e="onCueRangeMarkersUpdated";break;case "cuerangesadded":e="onCueRangesAdded";break;case "cuerangesremoved":e="onCueRangesRemoved"}e&&a.g.za(e,c)}};
EY=function(a,b){var c=g.MU(a,b);c&&(2==a.M?a2(a):!a.Z.experiments.g("disable_reload_on_error")&&ON(a.Z)&&c.A.isError()?window.location.reload():!a.Z.experiments.g("new_ended_replay")&&g.V(c.A,2)?HY(a,0):pU(c))};
GY=function(a,b){var c=g.MU(a,b);c&&bU(c)};
moa=function(a){var b=a.o.g,b=new g.hP({video_id:b.videoId,oauth_token:b.oauthToken});o2(a,b,1)};
m2=function(a,b){g.yO(a.ga);a.ga=0;var c=g.MU(a,b);if(c&&1!=a.M&&2!=a.M){PY(a.A);if(1==b){var d=a.A.o;d&&d.C&&d.destroy()}hU(c);bV(a,"cuerangesremoved",a.C.D.g.g||[]);c.D.reset()}};
noa=function(a,b,c,d,e){c=0!=c;var f=g.MU(a,e);if(!f||2!=f.getPlayerType()&&!g.DP(f.g))3==KU(a)?g.LU(a.A).Yk("control_seek",b,c):HY(a,b,c,d,e)};
ooa=function(a,b,c){a.jd=b;a.pa=c;a.g.Y("sizestylechange",b,c);a.F.jg()};
poa=function(a,b,c){if(!a.wb){c&&(R1(a),Q1(a));a.wb=!0;c=g.MU(a);c.rb=!0;c.Xd("reloading","reason."+b);c=U1(a);var d={};d.video_id=c.videoId;c.Da||(d.start=g.MU(a).getCurrentTime(),d.resume="1");c.ig&&(d.vvt=c.ig);c.vssCredentialsToken&&(d.vss_credentials_token=c.vssCredentialsToken,d.vss_credentials_token_type=c.No);c.oauthToken&&(d.oauth_token=c.oauthToken);d.autoplay=1;d.reload_count=c.yi+1;d.reload_reason=b;c.Pj&&(d.unplugged_partner_opt_out=c.Pj);l2(a,d)}};
qoa=function(a){var b=a.Z.Qg;U1(a).im||b?(a=a.D,a.C=!0,UJ(),a.g.muted=!0):(a.D.C=!1,kJ(a,a.K))};
boa=function(a,b,c){for(var d in b)a[c+d]=b[d];return a};
roa=function(){};
v2=function(a,b,c){return a[b]=a[b]||c};
soa=function(a){a=a.sort();for(var b=[],c=void 0,d=0;d<a.length;d++){var e=a[d];e!=c&&b.push(e);c=e}return b};
w2=function(){var a;if((a=Object.create)&&toa.test(a))a=a(null);else{a={};for(var b in a)a[b]=void 0}return a};
voa=function(){var a=uoa.href;if(x2.dpo)var b=x2.h;else{b=x2.h;var c=RegExp("([#].*&|[#])jsh=([^&#]*)","g"),d=RegExp("([?#].*&|[?#])jsh=([^&#]*)","g");if(a=a&&(c.exec(a)||d.exec(a)))try{b=(0,window.decodeURIComponent)(a[2])}catch(e){}}return b};
woa=function(a){var b=v2(x2,"PQ",[]);x2.PQ=[];var c=b.length;if(0===c)a();else for(var d=0,e=function(){++d===c&&a()},f=0;f<c;f++)b[f](e)};
y2=function(a){return v2(v2(x2,"H",w2()),a,w2())};
A2=function(a,b,c){b&&0<b.length&&(b=xoa(b),c&&0<c.length&&(b+="___"+xoa(c)),28<b.length&&(b=b.substr(0,28)+(b.length-28)),c=b,b=v2(yoa,"_p",w2()),v2(b,c,w2())[a]=(new Date).getTime(),b=z2.r,"function"===typeof b?b(a,"_p",c):b.push([a,"_p",c]))};
xoa=function(a){return a.join("__").replace(/\./g,"_").replace(/\-/g,"_").replace(/\,/g,"_")};
B2=function(a){throw Error("Bad hint"+(a?": "+a:""));};
Doa=function(a,b,c,d){var e=a.split(";"),f=e.shift(),k=zoa[f],l=null;k?l=k(e,b,c,d):B2("no hint processor for: "+f);l||B2("failed to generate load url");b=l;c=b.match(Aoa);(d=b.match(Boa))&&1===d.length&&Coa.test(b)&&c&&1===c.length||B2("failed sanity: "+a);return l};
Hoa=function(a,b,c,d){function e(a){return(0,window.encodeURIComponent)(a).replace(/%2C/g,",")}
a=Eoa(a);Foa.test(c)||B2("invalid_callback");b=Goa(b);d=d&&d.length?Goa(d):null;return[(0,window.encodeURIComponent)(a.GR).replace(/%2C/g,",").replace(/%2F/g,"/"),"/k=",e(a.version),"/m=",e(b),d?"/exm="+e(d):"","/rt=j/sv=1/d=1/ed=1",a.ov?"/am="+e(a.ov):"",a.qB?"/rs="+e(a.qB):"",a.vD?"/t="+e(a.vD):"","/cb=",e(c)].join("")};
Eoa=function(a){"/"!==a.charAt(0)&&B2("relative path");for(var b=a.substring(1).split("/"),c=[];b.length;){a=b.shift();if(!a.length||0==a.indexOf("."))B2("empty/relative directory");else if(0<a.indexOf("=")){b.unshift(a);break}c.push(a)}a={};for(var d=0,e=b.length;d<e;++d){var f=b[d].split("="),k=(0,window.decodeURIComponent)(f[0]),l=(0,window.decodeURIComponent)(f[1]);2==f.length&&k&&l&&(a[k]=a[k]||l)}b="/"+c.join("/");Ioa.test(b)||B2("invalid_prefix");c=0;for(d=Joa.length;c<d;++c)Joa[c].test(b)&&
B2("invalid_prefix");c=C2(a,"k",!0);d=C2(a,"am");e=C2(a,"rs");a=C2(a,"t");return{GR:b,version:c,ov:d,qB:e,vD:a}};
Goa=function(a){for(var b=[],c=0,d=a.length;c<d;++c){var e=a[c].replace(/\./g,"_").replace(/-/g,"_");Koa.test(e)&&b.push(e)}return b.join(",")};
C2=function(a,b,c){a=a[b];!a&&c&&B2("missing: "+b);if(a){if(Loa.test(a))return a;B2("invalid: "+b)}return null};
Moa=function(){var a=voa();if(!a)throw Error("Bad hint");return a};
Noa=function(a,b){for(var c=[],d=0;d<a.length;++d){var e=a[d],f;if(f=e){a:{for(f=0;f<b.length;f++)if(b[f]===e)break a;f=-1}f=0>f}f&&c.push(e)}return c};
Poa=function(){var a=x2.nonce;if(void 0!==a)return a&&a===String(a)&&a.match(Ooa)?a:x2.nonce=null;var b=v2(x2,"us",[]);if(!b||!b.length)return x2.nonce=null;for(var c=D2.getElementsByTagName(E2),d=0,e=c.length;d<e;++d){var f=c[d];if(f.src&&(a=String(f.nonce||f.getAttribute("nonce")||"")||null)){for(var k=0,l=b.length;k<l&&b[k]!==f.src;++k);if(k!==l&&a&&a===String(a)&&a.match(Ooa))return x2.nonce=a}}return null};
Roa=function(a){if("loading"!=D2.readyState)Qoa(a);else{var b=Poa(),c="";null!==b&&(c=' nonce="'+b+'"');D2.write("<"+E2+' src="'+(0,window.encodeURI)(a)+'"'+c+"></"+E2+">")}};
Qoa=function(a){var b=D2.createElement(E2);b.setAttribute("src",a);a=Poa();null!==a&&b.setAttribute("nonce",a);b.async="true";(a=D2.getElementsByTagName(E2)[0])?a.parentNode.insertBefore(b,a):(D2.head||D2.body||D2.documentElement).appendChild(b)};
Soa=function(a,b){var c=b&&b._c;if(c)for(var d=0;d<F2.length;d++){var e=F2[d][0],f=F2[d][1];f&&Object.prototype.hasOwnProperty.call(c,e)&&f(c[e],a,b)}};
Uoa=function(a,b,c){Toa(function(){var c=b===voa()?v2(G2,"_",w2()):w2();c=v2(y2(b),"_",c);a(c)},c)};
H2=function(a,b){var c=b||{};"function"==typeof b&&(c={},c.callback=b);Soa(a,c);var d=a?a.split(":"):[],e=c.h||Moa(),f=v2(x2,"ah",w2());if(f["::"]&&d.length){for(var k=[],l=null;l=d.shift();){var m=l.split("."),m=f[l]||f[m[1]&&"ns:"+m[0]||""]||e,n=k.length&&k[k.length-1]||null,q=n;n&&n.hint==m||(q={hint:m,features:[]},k.push(q));q.features.push(l)}var r=k.length;if(1<r){var w=c.callback;w&&(c.callback=function(){0==--r&&w()})}for(;d=k.shift();)Voa(d.features,c,d.hint)}else Voa(d||[],c,e)};
Voa=function(a,b,c){function d(a,b){if(r)return 0;I2.clearTimeout(q);w.push.apply(w,C);var d=((G2||{}).config||{}).update;d?d(f):f&&v2(x2,"cu",[]).push(f);if(b){A2("me0",a,A);try{Uoa(b,c,n)}finally{A2("me1",a,A)}}return 1}
a=soa(a)||[];var e=b.callback,f=b.config,k=b.timeout,l=b.ontimeout,m=b.onerror,n=void 0;"function"==typeof m&&(n=m);var q=null,r=!1;if(k&&!l||!k&&l)throw"Timeout requires both the timeout parameter and ontimeout parameter to be set";var m=v2(y2(c),"r",[]).sort(),w=v2(y2(c),"L",[]).sort(),A=[].concat(m);0<k&&(q=I2.setTimeout(function(){r=!0;l()},k));
var C=Noa(a,w);if(C.length){var C=Noa(a,m),B=v2(x2,"CP",[]),M=B.length;B[M]=function(a){function b(){var a=B[M+1];a&&a()}
function c(b){B[M]=null;d(C,a)&&woa(function(){e&&e();b()})}
if(!a)return 0;A2("ml1",C,A);0<M&&B[M-1]?B[M]=function(){c(b)}:c(b)};
if(C.length){var X="loaded_"+x2.I++;G2[X]=function(a){B[M](a);G2[X]=null};
a=Doa(c,C,"gapi."+X,m);m.push.apply(m,C);A2("ml0",C,A);b.sync||I2.___gapisync?Roa(a):Qoa(a)}else B[M](roa)}else d(C)&&e&&e()};
Toa=function(a,b){if(x2.hee&&0<x2.hel)try{return a()}catch(c){b&&b(c),x2.hel--,H2("debug_error",function(){try{window.___jsl.hefn(c)}catch(d){throw c;}})}else try{return a()}catch(c){throw b&&b(c),c;
}};
g.K2=function(a){this.g=a||yG();J2||(J2=Woa(this.g))};
Woa=function(a){return(new g.Lf(function(b){try{var c={gapiHintOverride:a.gapiHintOverride,_c:{jsl:{h:a.gapiHintParams}},callback:b};b=c;b=void 0===b?{}:b;g.va(b)&&(b={callback:b});b._c&&b._c.jsl&&b._c.jsl.h||g.$b(b,{_c:{jsl:{h:g.PD("GAPI_HINT_PARAMS",void 0)}}});c=b;if(c.gapiHintOverride||g.PD("GAPI_HINT_OVERRIDE")){var d=g.GE(window.document.location.href).gapi_jsh;d&&g.$b(c,{_c:{jsl:{h:d}}})}H2("client",c)}catch(e){g.rE(e)}})).then(function(){})};
Xoa=function(a,b,c,d){var e={path:zG(a.g.innertubeApiVersion,b,c),headers:{"X-Goog-Visitor-Id":g.PD("VISITOR_DATA")},method:"POST",body:g.mg(c)},f=(0,g.y)(a.B,a);J2.then(function(){f();g.v("gapi.client.request")(e).execute(d||g.x)})};
g.aa=[];ea="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)};
da="undefined"!=typeof window&&window===this?this:"undefined"!=typeof window.global&&null!=window.global?window.global:this;baa=0;
la("String.prototype.startsWith",function(a){return a?a:function(a,c){if(null==this)throw new TypeError("The 'this' value for String.prototype.startsWith must not be null or undefined");if(a instanceof RegExp)throw new TypeError("First argument to String.prototype.startsWith must not be a regular expression");var b=this+"";a+="";for(var e=b.length,f=a.length,k=Math.max(0,Math.min(c|0,b.length)),l=0;l<f&&k<e;)if(b[k++]!=a[l++])return!1;return l>=f}});
la("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}});
la("Promise",function(a){function b(a){this.g=0;this.A=void 0;this.o=[];var b=this.B();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.o=function(a){null==this.g&&(this.g=[],this.B());this.g.push(a)};
c.prototype.B=function(){var a=this;this.A(function(){a.D()})};
var e=da.setTimeout;c.prototype.A=function(a){e(a,0)};
c.prototype.D=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.C(n)}}}this.g=null};
c.prototype.C=function(a){this.A(function(){throw a;})};
b.prototype.B=function(){function a(a){return function(d){c||(c=!0,a.call(b,d))}}
var b=this,c=!1;return{resolve:a(this.K),reject:a(this.C)}};
b.prototype.K=function(a){if(a===this)this.C(new TypeError("A Promise cannot resolve to itself"));else if(a instanceof b)this.M(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.J(a):this.D(a)}};
b.prototype.J=function(a){var b=void 0;try{b=a.then}catch(m){this.C(m);return}"function"==typeof b?this.O(b,a):this.D(a)};
b.prototype.C=function(a){this.F(2,a)};
b.prototype.D=function(a){this.F(1,a)};
b.prototype.F=function(a,b){if(0!=this.g)throw Error("Cannot settle("+a+", "+b|"): Promise already settled in state"+this.g);this.g=a;this.A=b;this.G()};
b.prototype.G=function(){if(null!=this.o){for(var a=this.o,b=0;b<a.length;++b)a[b].call(),a[b]=null;this.o=null}};
var f=new c;b.prototype.M=function(a){var b=this.B();a.rm(b.resolve,b.reject)};
b.prototype.O=function(a,b){var c=this.B();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(B){f(B)}}: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.A);break;case 2:b(d.A);break;default:throw Error("Unexpected state: "+d.g);}}
var d=this;null==this.o?f.o(c):this.o.push(function(){f.o(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.ka(a),f=e.next();!f.done;f=e.next())d(f.value).rm(b,c)})};
b.all=function(a){var c=g.ka(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});
la("WeakMap",function(a){function b(a){this.Ba=(f+=Math.random()+1).toString();if(a){ca();ha();a=g.ka(a);for(var b;!(b=a.next()).done;)b=b.value,this.set(b[0],b[1])}}
function c(a){ma(a,e)||ea(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().toString().substring(2);d("freeze");d("preventExtensions");d("seal");var f=0;b.prototype.set=function(a,b){c(a);if(!ma(a,e))throw Error("WeakMap key fail: "+a);a[e][this.Ba]=b;return this};
b.prototype.get=function(a){return ma(a,e)?a[e][this.Ba]:void 0};
b.prototype.has=function(a){return ma(a,e)&&ma(a[e],this.Ba)};
b.prototype["delete"]=function(a){return ma(a,e)&&ma(a[e],this.Ba)?delete a[e][this.Ba]:!1};
return b});
la("Map",function(a){function b(){var a={};return a.previous=a.next=a.head=a}
function c(a,b){var c=a.g;return ia(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.o[c];if(d&&ma(a.o,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,Ad:l}}return{id:c,list:d,index:-1,Ad:void 0}}
function e(a){this.o={};this.g=b();this.size=0;if(a){a=g.ka(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.ka([[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;
ca();ha();var f=new window.WeakMap;e.prototype.set=function(a,b){var c=d(this,a);c.list||(c.list=this.o[c.id]=[]);c.Ad?c.Ad.value=b:(c.Ad={next:this.g,previous:this.g.previous,head:this.g,key:a,value:b},c.list.push(c.Ad),this.g.previous.next=c.Ad,this.g.previous=c.Ad,this.size++);return this};
e.prototype["delete"]=function(a){a=d(this,a);return a.Ad&&a.list?(a.list.splice(a.index,1),a.list.length||delete this.o[a.id],a.Ad.previous.next=a.Ad.next,a.Ad.next.previous=a.Ad.previous,a.Ad.head=null,this.size--,!0):!1};
e.prototype.clear=function(){this.o={};this.g=this.g.previous=b();this.size=0};
e.prototype.has=function(a){return!!d(this,a).Ad};
e.prototype.get=function(a){return(a=d(this,a).Ad)&&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});
la("Set",function(a){function b(a){this.g=new window.Map;if(a){a=g.ka(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.ka([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;
ca();ha();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});
la("Reflect.apply",function(a){if(a)return a;var b=Function.prototype.apply;return function(a,d,e){return b.call(a,d,e)}});
var Yoa="function"==typeof Object.create?Object.create:function(a){function b(){}
b.prototype=a;return new b};
la("Reflect.construct",function(a){return a?a:function(a,c,d){void 0===d&&(d=a);d=Yoa(d.prototype||Object.prototype);return window.Reflect.apply(a,d,c)||d}});
la("Math.log2",function(a){return a?a:function(a){return Math.log(a)/Math.LN2}});
Iw=Iw||{};pa=this;ya="closure_uid_"+(1E9*Math.random()>>>0);caa=0;g.F=Date.now||function(){return+new Date};g.z(Ea,Error);Ea.prototype.name="CustomError";var Ud;var Ra=String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},gaa=/&/g,haa=/</g,iaa=/>/g,jaa=/"/g,kaa=/'/g,laa=/\x00/g,faa=/[\x00&<>"']/,maa=/&([^;\s<&]+);?/g,zC={"\x00":"\\0",
"\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\x0B",'"':'\\"',"\\":"\\\\","<":"<"},yC={"'":"\\'"},Oa=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)},qaa=2147483648*Math.random()|0;var Zoa,Md;g.fb=Array.prototype.indexOf?function(a,b,c){return Array.prototype.indexOf.call(a,b,c)}:function(a,b,c){c=null==c?0:0>c?Math.max(0,a.length+c):c;
if(g.u(a))return g.u(b)&&1==b.length?a.indexOf(b,c):-1;for(;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1};
Zoa=Array.prototype.lastIndexOf?function(a,b,c){return Array.prototype.lastIndexOf.call(a,b,null==c?a.length-1:c)}:function(a,b,c){c=null==c?a.length-1:c;
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.G=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.se=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};
Md=Array.prototype.reduce?function(a,b,c,d){d&&(b=(0,g.y)(b,d));return Array.prototype.reduce.call(a,b,c)}:function(a,b,c,d){var e=c;
(0,g.G)(a,function(c,k){e=b.call(d,e,c,k,a)});
return e};
g.Bk=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.zr=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};a:{var $oa=pa.navigator;if($oa){var apa=$oa.userAgent;if(apa){g.Hb=apa;break a}}g.Hb=""};var Zb="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");gc[" "]=g.x;var bpa,li,en,fn,cpa,pi,L2;g.Pe=Ib("Opera");g.sc=Ib("Trident")||Ib("MSIE");g.mM=Ib("Edge");g.SN=g.mM||g.sc;g.ch=Ib("Gecko")&&!(Ma(g.Hb,"WebKit")&&!Ib("Edge"))&&!(Ib("Trident")||Ib("MSIE"))&&!Ib("Edge");g.ee=Ma(g.Hb,"WebKit")&&!Ib("Edge");bpa=g.ee&&Ib("Mobile");li=Ib("Macintosh");g.t2=Ib("Windows");g.mn=Ib("Android");en=ec();fn=Ib("iPad");cpa=Ib("iPod");pi=fc();
a:{var M2="",N2=function(){var a=g.Hb;if(g.ch)return/rv\:([^\);]+)(\)|;)/.exec(a);if(g.mM)return/Edge\/([\d\.]+)/.exec(a);if(g.sc)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(g.ee)return/WebKit\/(\S+)/.exec(a);if(g.Pe)return/(?:Version)[ \/]?(\S+)/.exec(a)}();
N2&&(M2=N2?N2[1]:"");if(g.sc){var O2=ic();if(null!=O2&&O2>(0,window.parseFloat)(M2)){L2=String(O2);break a}}L2=M2}var jc=L2,xaa={},dpa;var epa=pa.document;dpa=epa&&g.sc?ic()||("CSS1Compat"==epa.compatMode?(0,window.parseInt)(jc,10):5):void 0;var zaa=dpa;var yN,xN,zN,mi;g.nM=Ib("Firefox");yN=ec()||Ib("iPod");xN=Ib("iPad");zN=Ib("Android")&&!(cc()||Ib("Firefox")||Ib("Opera")||Ib("Silk"));g.UE=cc();mi=dc()&&!fc();var oc=null,vc=null,nc=null;var Ac=[];zc.prototype.clone=function(){return Bc(this.o,this.A,this.B-this.A)};
zc.prototype.clear=function(){this.o=null;this.g=this.B=this.A=0;this.C=!1};
zc.prototype.reset=function(){this.g=this.A};
zc.prototype.getError=function(){return this.C||0>this.g||this.g>this.B};Dc.prototype.getError=function(){return this.B||this.g.getError()};
Dc.prototype.reset=function(){this.g.reset();this.o=this.A=-1};var Jc="function"==typeof window.Uint8Array,Kc=[];Ic.prototype.toString=function(){Qc(this);return this.o.toString()};
Ic.prototype.getExtension=function(a){if(this.A){this.g||(this.g={});var b=a.A;if(a.B){if(a.o())return this.g[b]||(this.g[b]=(0,g.H)(this.A[b]||[],function(b){return new a.g(b)})),this.g[b]}else if(a.o())return!this.g[b]&&this.A[b]&&(this.g[b]=new a.g(this.A[b])),this.g[b];
return this.A[b]}};
Ic.prototype.clone=function(){return new this.constructor(Rc(Pc(this)))};g.z(Sc,Ic);g.z(Tc,Ic);g.z(Xc,Ic);g.z(Yc,Ic);var Daa=[[9,10],[11,12],[18,19,20,21]];g.z(Zc,Ic);var Eaa=[[2,3]];g.z($c,Ic);g.z(ad,Ic);g.z(bd,Ic);g.z(cd,Ic);var Faa=[[2,4,5]];g.z(dd,Ic);g.z(ed,Ic);g.z(fd,Ic);var Gaa=[1];g.z(Oc,Ic);g.z(Vc,Ic);var Haa=[[1,6,2,3,7]];window.console&&"function"===typeof window.console.log&&(0,g.y)(window.console.log,window.console);var Waa,Yaa,Zaa;Waa=!g.sc||g.lc(9);Yaa=!g.ch&&!g.sc||g.sc&&g.lc(9)||g.ch&&g.kc("1.9.1");g.fpa=g.sc&&!g.kc("9");Zaa=g.sc||g.Pe||g.ee;var Taa={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};hd.prototype.dh=!0;hd.prototype.tg=function(){return this.g};
hd.prototype.toString=function(){return"Const{"+this.g+"}"};
var gd={};jd("");ld.prototype.dh=!0;var kd={};ld.prototype.tg=function(){return this.g};
var Raa=md(""),Qaa=/^([-,."'%_!# a-zA-Z0-9]+|(?:rgb|hsl)a?\([0-9.%, ]+\))$/;var Iaa=/<[^>]*>|&[^;]+;/g,gpa=RegExp("[\u0591-\u06ef\u06fa-\u07ff\u200f\ufb1d-\ufdff\ufe70-\ufefc]"),Maa=RegExp("[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]"),Kaa=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]"),Laa=/^http:\/\/.*/,Jaa=/\s+/,Naa=/[\d\u06f0-\u06f9]/;qd.prototype.dh=!0;qd.prototype.tg=function(){return this.g};
qd.prototype.rr=!0;qd.prototype.Vi=function(){return 1};
var pd={};ud.prototype.dh=!0;ud.prototype.tg=function(){return this.g};
ud.prototype.rr=!0;ud.prototype.Vi=function(){return 1};
var Oaa=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,td={};wd("about:blank");g.zd.prototype.rr=!0;g.zd.prototype.Vi=function(){return this.o};
g.zd.prototype.dh=!0;g.zd.prototype.tg=function(){return this.g};
var Dd=/^[a-zA-Z0-9-]+$/,Saa={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},hpa={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},yd={};Bd("<!DOCTYPE html>",0);Bd("",0);Bd("<br>",0);g.h=g.Nd.prototype;g.h.clone=function(){return new g.Nd(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.oa(b)?b:a;this.x*=a;this.y*=c;return this};g.h=g.Qd.prototype;g.h.clone=function(){return new g.Qd(this.width,this.height)};
g.h.Sc=function(){return this.width*this.height};
g.h.aspectRatio=function(){return this.width/this.height};
g.h.isEmpty=function(){return!this.Sc()};
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.oa(b)?b:a;this.width*=a;this.height*=c;return this};var Zd={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=Sd.prototype;g.h.ra=function(a){return g.u(a)?this.g.getElementById(a):a};
g.h.getElementsByTagName=function(a,b){return(b||this.g).getElementsByTagName(String(a))};
g.h.tH=function(a,b,c){return ge(this.g,arguments)};
g.h.createElement=function(a){return this.g.createElement(String(a))};
g.h.appendChild=g.le;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.qe;g.h.contains=g.xe;var jf=!g.sc||g.lc(9),ipa=g.sc&&!g.kc("9");!g.ee||g.kc("528");g.ch&&g.kc("1.9b")||g.sc&&g.kc("8")||g.Pe&&g.kc("9.5")||g.ee&&g.kc("528");g.ch&&!g.kc("8")||g.sc&&g.kc("9");g.K.prototype.bb=!1;g.K.prototype.na=function(){return this.bb};
g.K.prototype.dispose=function(){this.bb||(this.bb=!0,this.W())};
g.K.prototype.W=function(){if(this.Wa)for(;this.Wa.length;)this.Wa.shift()()};g.Ne.prototype.stopPropagation=function(){this.o=!0};
g.Ne.prototype.preventDefault=function(){this.rB=!1};var jpa={Zo:"click",F_:"rightclick",FW:"dblclick",ZY:"mousedown",fZ:"mouseup",eZ:"mouseover",dZ:"mouseout",cZ:"mousemove",aZ:"mouseenter",bZ:"mouseleave",L_:"selectionchange",M_:"selectstart",S1:"wheel",wY:"keypress",vY:"keydown",xY:"keyup",NV:"blur",wE:"focus",GW:"deactivate",DX:g.sc?"focusin":"DOMFocusIn",EX:g.sc?"focusout":"DOMFocusOut",fW:"change",v_:"reset",K_:"select",w0:"submit",fY:"input",m_:"propertychange",kX:"dragstart",fX:"drag",hX:"dragenter",jX:"dragover",iX:"dragleave",mX:"drop",gX:"dragend",
P0:"touchstart",O0:"touchmove",N0:"touchend",M0:"touchcancel",LV:"beforeunload",rW:"consolemessage",uW:"contextmenu",SW:"devicemotion",TW:"deviceorientation",ZW:"DOMContentLoaded",ERROR:"error",SX:"help",LOAD:"load",RY:"losecapture",OZ:"orientationchange",r_:"readystatechange",w_:"resize",H_:"scroll",l1:"unload",UV:"canplay",VV:"canplaythrough",nX:"durationchange",rX:"emptied",ENDED:"ended",GY:"loadeddata",HY:"loadedmetadata",PAUSE:"pause",PLAY:"play",PLAYING:"playing",q_:"ratechange",I_:"seeked",
J_:"seeking",j0:"stalled",x0:"suspend",D0:"timeupdate",K1:"volumechange",O1:"waiting",h0:"sourceopen",g0:"sourceended",f0:"sourceclosed",BU:"abort",UPDATE:"update",t1:"updatestart",q1:"updateend",MX:"hashchange",RZ:"pagehide",SZ:"pageshow",g_:"popstate",wW:"copy",UZ:"paste",BW:"cut",GV:"beforecopy",HV:"beforecut",JV:"beforepaste",LZ:"online",IZ:"offline",MESSAGE:"message",qW:"connect",hY:"install",CU:"activate",BX:"fetch",FX:"foreignfetch",XY:"messageerror",m0:"statechange",r1:"updatefound",vW:"controllerchange",
vV:Qe("AnimationStart"),tV:Qe("AnimationEnd"),uV:Qe("AnimationIteration"),S0:Qe("TransitionEnd"),ZZ:"pointerdown",f_:"pointerup",YZ:"pointercancel",c_:"pointermove",e_:"pointerover",d_:"pointerout",a_:"pointerenter",b_:"pointerleave",KX:"gotpointercapture",SY:"lostpointercapture",kZ:"MSGestureChange",lZ:"MSGestureEnd",mZ:"MSGestureHold",nZ:"MSGestureStart",oZ:"MSGestureTap",pZ:"MSGotPointerCapture",qZ:"MSInertiaStart",rZ:"MSLostPointerCapture",sZ:"MSPointerCancel",tZ:"MSPointerDown",uZ:"MSPointerEnter",
vZ:"MSPointerHover",wZ:"MSPointerLeave",xZ:"MSPointerMove",yZ:"MSPointerOut",zZ:"MSPointerOver",AZ:"MSPointerUp",TEXT:"text",A0:g.sc?"textinput":"textInput",oW:"compositionstart",pW:"compositionupdate",nW:"compositionend",IV:"beforeinput",yX:"exit",EY:"loadabort",FY:"loadcommit",IY:"loadredirect",JY:"loadstart",KY:"loadstop",A_:"responsive",Z_:"sizechanged",n1:"unresponsive",J1:"visibilitychange",r0:"storage",eX:"DOMSubtreeModified",aX:"DOMNodeInserted",cX:"DOMNodeRemoved",dX:"DOMNodeRemovedFromDocument",
bX:"DOMNodeInsertedIntoDocument",XW:"DOMAttrModified",YW:"DOMCharacterDataModified",KV:"beforeprint",jV:"afterprint"};g.z(Re,g.Ne);
Re.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.ch&&(hc(e,"nodeName")||(e=null)):"mouseover"==c?e=a.fromElement:"mouseout"==c&&(e=a.toElement);this.relatedTarget=e;null===d?(this.B=g.ee||void 0!==a.offsetX?a.offsetX:a.layerX,this.C=g.ee||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.state=a.state;this.g=a;a.defaultPrevented&&this.preventDefault()};
Re.prototype.stopPropagation=function(){Re.aa.stopPropagation.call(this);this.g.stopPropagation?this.g.stopPropagation():this.g.cancelBubble=!0};
Re.prototype.preventDefault=function(){Re.aa.preventDefault.call(this);var a=this.g;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,ipa)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var $aa;g.Se="closure_listenable_"+(1E6*Math.random()|0);$aa=0;Ve.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.listeners))return!1;var e=this.listeners[a];b=We(e,b,c,d);return-1<b?(Ue(e[b]),g.lb(e,b),0==e.length&&(delete this.listeners[a],this.g--),!0):!1};var ff="closure_lm_"+(1E6*Math.random()|0),nf={},hf=0,qf="__closure_events_fn_"+(1E9*Math.random()>>>0);g.z(g.rf,g.K);g.rf.prototype[g.Se]=!0;g.h=g.rf.prototype;g.h.yh=function(a){this.Sa=a};
g.h.addEventListener=function(a,b,c,d){g.bf(this,a,b,c,d)};
g.h.removeEventListener=function(a,b,c,d){g.lf(this,a,b,c,d)};
g.h.dispatchEvent=function(a){var b=this.Sa;if(b){var c=[];for(var d=1;b;b=b.Sa)c.push(b),++d}b=this.Pc;d=a.type||a;if(g.u(a))a=new g.Ne(a,b);else if(a instanceof g.Ne)a.target=a.target||b;else{var e=a;a=new g.Ne(d,b);g.$b(a,e)}var e=!0;if(c)for(var f=c.length-1;!a.o&&0<=f;f--){var k=a.currentTarget=c[f];e=sf(k,d,!0,a)&&e}a.o||(k=a.currentTarget=b,e=sf(k,d,!0,a)&&e,a.o||(e=sf(k,d,!1,a)&&e));if(c)for(f=0;!a.o&&f<c.length;f++)k=a.currentTarget=c[f],e=sf(k,d,!1,a)&&e;return e};
g.h.W=function(){g.rf.aa.W.call(this);this.ye&&g.Ze(this.ye);this.Sa=null};
g.h.V=function(a,b,c,d){return Xe(this.ye,String(a),b,!1,c,d)};
g.h.Ca=function(a,b,c,d){return this.ye.remove(String(a),b,c,d)};tf.prototype.get=function(){if(0<this.o){this.o--;var a=this.g;this.g=a.next;a.next=null}else a=this.A();return a};var yf;var Ff=new tf(function(){return new Bf},function(a){a.reset()},100);
Af.prototype.remove=function(){var a=null;this.g&&(a=this.g,this.g=this.g.next,this.g||(this.o=null),a.next=null);return a};
Bf.prototype.set=function(a,b){this.g=a;this.scope=b;this.next=null};
Bf.prototype.reset=function(){this.next=this.scope=this.g=null};var Cf,Df=!1,Ef=new Af;Mf.prototype.reset=function(){this.context=this.o=this.B=this.g=null;this.A=!1};
var Nf=new tf(function(){return new Mf},function(a){a.reset()},100);
g.Lf.prototype.then=function(a,b,c){return Uf(this,g.va(a)?a:null,g.va(b)?b:null,c)};
If(g.Lf);g.Lf.prototype.cancel=function(a){0==this.g&&g.Gf(function(){var b=new bg(a);Wf(this,b)},this)};
g.Lf.prototype.J=function(a){this.g=0;Kf(this,2,a)};
g.Lf.prototype.K=function(a){this.g=0;Kf(this,3,a)};
g.Lf.prototype.G=function(){for(var a;a=Xf(this);)Yf(this,a,this.g,this.F);this.D=!1};
var dg=xf;g.z(bg,Ea);bg.prototype.name="cancel";g.z(g.eg,g.rf);g.h=g.eg.prototype;g.h.enabled=!1;g.h.Ee=null;g.h.rH=function(){if(this.enabled){var a=(0,g.F)()-this.B;0<a&&a<.8*this.o?this.Ee=this.g.setTimeout(this.A,this.o-a):(this.Ee&&(this.g.clearTimeout(this.Ee),this.Ee=null),this.dispatchEvent("tick"),this.enabled&&(this.Ee=this.g.setTimeout(this.A,this.o),this.B=(0,g.F)()))}};
g.h.start=function(){this.enabled=!0;this.Ee||(this.Ee=this.g.setTimeout(this.A,this.o),this.B=(0,g.F)())};
g.h.stop=function(){this.enabled=!1;this.Ee&&(this.g.clearTimeout(this.Ee),this.Ee=null)};
g.h.W=function(){g.eg.aa.W.call(this);this.stop();delete this.g};var jg=g.x,og={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},qba=/\uffff/.test("\uffff")?/[\\\"\x00-\x1f\x7f-\uffff]/g:/[\\\"\x00-\x1f\x7f-\xff]/g;var kpa={};g.h=pg.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.F)()+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=Ra(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.Cb=function(){return qg(this).keys};
g.h.ib=function(){return qg(this).values};
g.h.isEmpty=function(){return!this.g.cookie};
g.h.Mc=function(){return this.g.cookie?(this.g.cookie||"").split(";").length:0};
g.h.clear=function(){for(var a=qg(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};
var tH=new pg("undefined"==typeof window.document?null:window.document);tH.o=3950;var rba=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,Eg=/#|$/,sba=/[?&]($|#)/;Ig.prototype.remove=function(a){Vb(this.g,a)};
Ig.prototype.set=function(a,b){this.g[a]=b};
Ig.prototype.get=function(a){return Wb(this.g,a,null)};g.h=g.Kg.prototype;g.h.Eb=function(){return this.right-this.left};
g.h.getHeight=function(){return this.bottom-this.top};
g.h.clone=function(){return new g.Kg(this.top,this.right,this.bottom,this.left)};
g.h.contains=function(a){return this&&a?a instanceof g.Kg?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.wa(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.oa(b)?b:a;this.left*=a;this.right*=a;this.top*=c;this.bottom*=c;return this};g.h=g.Mg.prototype;g.h.clone=function(){return new g.Mg(this.left,this.top,this.width,this.height)};
g.h.contains=function(a){return a instanceof g.Nd?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.oa(b)?b:a;this.left*=a;this.width*=a;this.top*=c;this.height*=c;return this};var Xg=null;Tg.prototype.getValue=function(){return this.g};
Tg.prototype.o=function(){return String(this.g)};
g.z(Ug,Tg);Ug.prototype.o=function(){return this.g?"1":"0"};
g.z(Vg,Tg);Vg.prototype.o=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 bh={};new g.eg(200);var Gh,mpa,Dh;g.Fh=Bh("loadGamesSDK")?"/cast_game_sender.js":"/cast_sender.js";g.lpa=Bh("loadCastFramework")||Bh("loadCastApplicationFramework");Gh=["boadgeojelhgndaghljhdicfkmllpafd","dliochdbjfkdbacpmhlcpmleaejidimm","enhhojjnijigcajfphajepfemndkmdlo","fmfcbgogabcbclcofgocippekhfcmgfj"];mpa=["pkedcjkdefgpdelpbcmbmeomcjbeemfm","fjhoaacokmgbjemoflkofnenfaiekifl"];Dh=50<=g.Ah()?mpa.concat(Gh):Gh.concat(mpa);var P2=Kh("f"),zv=Kh("i"),Q2=Kh("b"),qv=Kh("e"),rv=Kh("s");var $h=window.document,Wh=window;var Lca=/https?:\/\/[^\/]+/;var Rh=function(){var a=!1;try{var b=Object.defineProperty({},"passive",{get:function(){a=!0}});
pa.addEventListener("test",null,b)}catch(c){}return a}();var Yh=!!window.google_async_iframe_id,Zh=Yh&&window.parent||window;var Bba=[0,2,1],bi=null;window.document.addEventListener&&window.document.addEventListener("mousedown",function(a){bi=a},!0);
window.mb=function(a){if(a){var b=ci();b&&(window.css?(0,window.css)(a.id,"mb",b,void 0,void 0):a&&(a.href=Nh(a.href,"mb",b,void 0)))}};di.prototype.enable=function(){this.g=!0};
di.prototype.isEnabled=function(){return this.g};
di.prototype.reset=function(){this.g=!0};var fi={},gi=null;fi.le=0;fi.nt=2;fi.Fr=3;fi.Po=5;fi.me=1;fi.om=4;var R2=!1,S2="";
(function(){if(window.navigator.plugins&&window.navigator.plugins.length){var a=window.navigator.plugins["Shockwave Flash"];if(a&&(R2=!0,a.description)){S2=ii(a.description);return}if(window.navigator.plugins["Shockwave Flash 2.0"]){R2=!0;S2="2.0.0.11";return}}if(window.navigator.mimeTypes&&window.navigator.mimeTypes.length&&(a=window.navigator.mimeTypes["application/x-shockwave-flash"],R2=!(!a||!a.enabledPlugin))){S2=ii(a.enabledPlugin.description);return}try{var b=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");R2=
!0;S2=ii(b.GetVariable("$version"));return}catch(c){}try{b=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");R2=!0;S2="6.0.21";return}catch(c){}try{b=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash"),R2=!0,S2=ii(b.GetVariable("$version"))}catch(c){}})();
var $n=R2,ni=S2;var qi=function(){if(g.t2){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(g.Hb))?a[1]:"0"}return li?(a=/10[_.][0-9_.]+/,(a=a.exec(g.Hb))?a[0].replace(/_/g,"."):"10"):g.mn?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(g.Hb))?a[1]:""):en||fn||cpa?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(g.Hb))?a[1].replace(/_/g,"."):""):""}();var Cba=function(){if(g.nM)return ji(/Firefox\/([0-9.]+)/);if(g.sc||g.mM||g.Pe)return jc;if(g.UE)return fc()?ji(/CriOS\/([0-9.]+)/):ji(/Chrome\/([0-9.]+)/);if(mi&&!fc())return ji(/Version\/([0-9.]+)/);if(yN||xN){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(g.Hb);if(a)return a[1]+"."+a[2]}else if(zN)return(a=ji(/Android\s+([0-9.]+)/))?a:ji(/Version\/([0-9.]+)/);return""}();var npa={currentTime:1,duration:2,isVpaid:4,volume:8,isYouTube:16,isPlaying:32},Yk={Xu:"start",zu:"firstquartile",Fu:"midpoint",dv:"thirdquartile",ru:"complete",YE:"metric",PAUSE:"pause",xF:"resume",Ru:"skip",jv:"viewable_impression",cF:"mute",WF:"unmute",Au:"fullscreen",qE:"exitfullscreen",Bu:"fully_viewable_audible_half_duration_impression",Eu:"measurable_impression",wD:"abandon",wu:"engagedview",Pl:"impression",fE:"creativeview",ip:"loaded",k_:"progress",CLOSE:"close",iW:"collapse",kF:"overlay_resize",
lF:"overlay_unmeasurable_impression",mF:"overlay_unviewable_impression",oF:"overlay_viewable_immediate_impression",nF:"overlay_viewable_end_of_session_impression"},Uca="start firstquartile midpoint thirdquartile resume loaded".split(" "),oca=["abandon"],Zk={UNKNOWN:-1,Xu:0,zu:1,Fu:2,dv:3,ru:4,YE:5,PAUSE:6,xF:7,Ru:8,jv:9,cF:10,WF:11,Au:12,qE:13,Bu:14,Eu:15,wD:16,wu:17,Pl:18,fE:19,ip:20};si.prototype.isVisible=function(){return this.Ie?.3<=this.g:.5<=this.g};var ak=0,Eba=(new Date).getTime(),xi=-1,zi=!1,Ai=-1,Bi=-1;g.z(Ii,si);Ki.prototype.update=function(a,b,c,d,e,f){e=Mi(c.g);var k=Mi(b.g),k=-1==e||-1==k?-1:Math.max(e,k);e=d?k:e;this.B=-1!=this.B?Math.min(this.B,b.g):b.g;f&&(this.pa=Math.max(this.pa,b.g));-1!=e&&(this.ua[e]+=a);Li(this.ka,e,a);f=this.ba;for(var k=this.ka,l=[0,0,0,0,0],m=0;4>=m;m++)l[m]=Math.max(f[m],k[m]);this.ba=l;f=this.ka;k=Mi(b.g);for(l=0;4>=l;++l)if(l<k||b.C||-1==k)f[l]=0;if(d||c.Ie!=b.Ie?c.isVisible()&&b.isVisible():c.isVisible())this.K+=a,this.X=Math.max(this.X,this.K);b.isVisible()||(this.K=0);
return e};
Ki.prototype.hh=function(){return this.X>=this.La};var xga={k1:0,EZ:1,y_:2,xX:3,F0:4,IX:5,QY:6,z_:7,FV:8,LX:9};g.h=Xi.prototype;g.h.tj=function(){this.events!=this.g.google_js_reporting_queue&&(this.events.length=0,this.D&&(0,g.G)(this.events,this.Xv,this));this.o=!1};
g.h.ho=function(a){this.o&&this.events.push(a)};
g.h.Xv=function(a){if(a&&this.D){var b=this.g.performance;b.clearMarks("goog_"+a.uniqueId+"_start");b.clearMarks("goog_"+a.uniqueId+"_end")}};
g.h.start=function(a,b){if(!this.o)return null;var c=new Wi(a,b,Yi());this.D&&this.g.performance.mark("goog_"+c.uniqueId+"_start");return c};
g.h.end=function(a){this.o&&(a.duration=Yi()-a.value,this.D&&this.g.performance.mark("goog_"+a.uniqueId+"_end"),this.ho(a))};Zi.prototype.o=function(a,b,c,d,e){e=e||this.D;try{var f=new Oi;f.C=!0;Si(f,1,"context",a);b.error&&b.meta&&b.id||(b=$i(b));b.msg&&Si(f,2,"msg",b.msg.substring(0,512));b.file&&Si(f,3,"file",b.file);0<b.line&&Si(f,4,"line",b.line);var k=b.meta||{};if(d)try{d(k)}catch(m){}b=[k];f.g.push(5);f.o[5]=b;var l=vi();l.o&&Si(f,6,"top",l.o.url||"");Si(f,7,"url",l.g.url||"");Vi(this.B,e,f,c)}catch(m){try{Vi(this.B,e,{context:"ecmserr",rctx:a,msg:ej(m),url:l.g.url},c)}catch(n){}}return this.A};
g.p(dj,Ni);var bj,T2=ai(),U2=new Xi(1,T2);bj=new Zi(new function(){this.B="http:"===Wh.location.protocol?"http:":"https:";this.o="pagead2.googlesyndication.com";this.A="/pagead/gen_204?id=";this.g=.01},"jserror",!0,U2);
"complete"==T2.document.readyState?T2.google_measure_js_timing||U2.tj():U2.o&&Sh(T2,"load",function(){T2.google_measure_js_timing||U2.tj()});
var Iba=bj.o;ij.prototype.getStatus=function(){return this.o};
g.z(mj,ij);mj.prototype.yl=function(a,b){if(!(a&&a.getBoundingClientRect&&0<=g.Ta(ni,"11")&&b)||g.sc&&9>jc||0<this.g.length)return!1;try{var c=a.getBoundingClientRect()}catch(m){return!1}var d="DIV"==a.tagName||"INS"==a.tagName,e=g.Td(a),f=[];if(d){var k=Di();c=jj(this,c);(0,g.G)(c,function(a,c){var d=new wj("e",e,b,String(c));this.g.push(d);f.push((0,g.y)(d.G,d,k,a))},this);
pe(a,k,0)}else c=lj(this,c),(0,g.G)(c,function(c,d){var k=new wj("e",e,b,String(d));this.g.push(k);f.push((0,g.y)(k.F,k,a,c))},this);
var l=!0;(0,g.G)(f,function(a){l=l&&a()});
l?(this.o="l",this.A=a,this.G=!d):((0,g.G)(this.g,function(a){a.remove()}),this.g=[]);
return l};
var rj={j1:-1,LOADING:0,yE:1,bE:2,uY:3,VISIBLE:4},Pba={LOADING:0,yE:1,bE:2,J0:3,JZ:4,U0:5,V0:6,T0:7,MZ:8,I0:9},uj={};wj.prototype.G=function(a,b){if(!this.g)return!1;this.g.style.position="absolute";oj(this,b);var c=!0;try{a.appendChild(this.g)}catch(d){c=!1}return c};
wj.prototype.F=function(a,b){if(!this.g||!a.parentNode)return!1;this.g.style.position="fixed";oj(this,b);var c=!0;try{g.oe(this.g,a)}catch(d){c=!1}return c};
wj.prototype.remove=function(){if(this.g)try{g.qe(this.g)}catch(a){}this.g=null};
wj.prototype.J=function(a){this.A=a?3:4};
g.qa("gteh",gj(145,function(a,b){var c=uj[a];g.va(c)&&c(b)}),void 0);
g.z(xj,ij);var Vba=[3,7,8,5,5],Wba=[3,4,4,5,6],Xba=[3,4,5,6],Yba=[3,5];yj.prototype.B=function(a){this.g&&this.g.contentWindow&&(this.g.contentWindow.requestAnimationFrame(cj(245,this.B,this,void 0)),this.o||(this.o=(0,g.F)()-a),this.A=a)};
yj.prototype.isVisible=function(a){return 50>a-this.o-this.A};
yj.prototype.remove=function(){try{g.qe(this.g)}catch(a){}this.g=null};if($h&&$h.URL){var Qh=$h.URL,opa=!(Qh&&0<Aba().length);bj.A=opa};g.ra(Bj);g.ra(Cj);var Dj=new g.Kg(0,0,0,0),hca={threshold:[0,.3,.5,.75,1]};g.h=Ej.prototype;g.h.Zm=function(){return new Ki};
g.h.Ce=function(){return this.Kr};
g.h.ty=g.x;g.h.ry=g.x;g.h.kx=g.x;g.h.Fo=g.x;
g.h.gg=function(a,b,c,d,e,f,k){var l=k||{};k=this.Yw(c,l);l=this.Op(a,b,d,l);g.oa(b)||(this.Lo=new g.Qd(b.right-b.left,b.bottom-b.top));e=e&&this.tc.g>=(this.Ie()?.3:.5);this.Ft(k,l,e,f);this.ih=c;0<l.g&&-1===this.YB&&(this.YB=c);-1==this.aC&&this.hh()&&(this.aC=c);if(-2==this.Hr)try{a:{var m=g.oa(b)?null:b;if(a&&a!=Dj&&0!=this.Sc){if(!m){if(!this.Lo){var n=-1;break a}m=new g.Kg(0,this.Lo.width,this.Lo.height,0)}n=m.Eb&&0<m.Eb()&&m.getHeight&&0<m.getHeight()?this.ik(a,m):-1}else n=-1}this.Hr=n}catch(q){hj(207,
q)}this.tc=l;d&&(this.tc.g=0);this.Lr(this)};
g.h.Ft=function(a,b,c,d){this.Ce().update(a,b,this.tc,c,this.Ie()?.3:.5,d)};
g.h.xq=function(){return new si};
g.h.Op=function(a,b,c){var d=this.xq();d.C=c;c=ei();d.o=0==c?-1:1==c?0:1;if(g.oa(b))d.g=this.ik(b);else{var e=b;d.g=this.ik(a,e)}(a=e||null)?(a=(a.bottom-a.top)*(a.right-a.left),a=0<a?Math.min(this.Sc*d.g/a,1):0):a=0;d.D=a;d.Ie=this.Ie();return d};
g.h.Yw=function(a){if(-1==this.ih)return 0;a=a-this.ih||1;return 1E4<a?1:a};
g.h.ik=function(a,b){if(g.oa(a))return a;if(b){var c=Fj(a,b);return 0>=this.Sc||0>=c.Eb()||0>=c.getHeight()?0:(c.bottom-c.top)*(c.right-c.left)/this.Sc}return 0};
g.h.Ie=function(){return!1};
g.h.yl=function(a){if(this.Xc)return!0;if(this.Rm)return!1;var b=this.Ie();this.dl=b?4:a||1;if(!this.Ff||!oi())return this.Rm=!0,!1;a=new mj(b,this.dl);(b=a.yl(this.Ff,String(this.lG)))?this.Xc=a:this.Rm=!0;return b};
g.h.Ye=function(){return 0};
g.h.hh=function(){return this.Kr.hh()};
g.h.gt=function(a){if(!this.Ff)return!1;var b=this.Ie();a=a||1;b&&(a=4);var b=new xj(b,a),c=Sba(b,this.Ff);c&&(this.dl=a,this.zi=b);return c};Mj.prototype.Ha=function(a){var b=this.o[a],c=b[1];this.A+=b[0];0<c&&0==this.g[a]&&(this.g[a]=1)};g.ra(Oj);Pj.prototype.getValue=function(){return this.o};
Pj.prototype.update=function(a,b){a>=this.A||(this.g&1<<a&&!b?this.o&=~(1<<a):this.g&1<<a||!b||(this.o|=1<<a),this.g|=1<<a)};g.p(Qj,Ki);
Qj.prototype.update=function(a,b,c,d,e,f){if(b.paused)return-1;d=Ki.prototype.update.call(this,a,b,c,d,e,f);e=Mi(e);e=-1!=d&&d<=e;f=Ji(b)&&Ji(c);Hi(b.volume)&&(this.g=-1!=this.g?Math.min(this.g,b.volume):b.volume,this.A=Math.max(this.A,b.volume));e&&(this.da+=a,this.fa+=a);this.o+=a;this.ca+=a;c.A&&(this.Wa+=a,this.O+=a);0==d&&(this.P+=a);f&&(this.ha+=a,this.F+=a,Li(this.ga,d,a),0==d&&(this.D+=a),e?(this.G+=a,this.J+=a):this.M+=a,this.sa=Math.max(this.M,this.sa));if(e||!Ji(b))this.M=0;a=Math.floor(b.B/
1E3);this.bb.update(a,b.isVisible());this.Ja.update(a,1<=b.g);this.Aa.update(a,Ji(b));return d};g.z(Sj,Ej);g.h=Sj.prototype;g.h.gt=function(a){Cj.getInstance();var b=Oj.getInstance(),c=g.gb(b.g,509445011);return g.gb(b.g,509445013)||c?(this.wb=!0,Sj.aa.gt.call(this,a||3)):!1};
g.h.yl=function(a){return Sj.aa.yl.call(this,a||3)};
g.h.ty=function(a){if(!this.ua||1E3<a-this.jb){var b=g.v("ima.bridge.getNativeViewability");g.va(b)&&(b(this.Yc,(0,g.y)(this.IH,this)),this.ua=!0,this.jb=a)}};
g.h.ry=function(a){var b=Cj.getInstance();a-this.Ua>Ci(b.G)&&(a=g.v("ima.admob.getViewability"),g.va(a)&&a(this.Yc))};
g.h.IH=function(a){this.ua=!1;this.P&&(this.Ja=!0);g.Ub(a)&&this.Aa++;this.Fo(a)};
g.h.kx=function(a){this.Ua=yi();this.Fo(a)};
g.h.Fo=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.pa=!!f);b=new g.Kg(b.top||0,b.left+b.width||0,b.top+b.height||0,b.left||0);c=a?Dj.clone():new g.Kg(c.top||0,c.left+c.width||0,c.top+c.height||0,c.left||0);f=void 0;"n"==this.hg&&(f={},f.volume=e);this.Sc=(b.bottom-b.top)*(b.right-b.left);this.position=b;this.gg(b,c,d,!1,!0,!0,f)};
g.h.gg=function(a,b,c,d,e,f,k){var l=this.fa(this)||{};g.$b(l,k||{});this.C=l.duration||this.C;this.bb=l.isVpaid||this.bb;this.ga=f;Sj.aa.gg.call(this,a,b,c,d,e,f,l)};
g.h.Ft=function(a,b,c,d){Sj.aa.Ft.call(this,a,b,c,d);this.K[this.K.length-1].update(a,b,this.tc,c,this.Ie()?.3:.5,d);this.sa=Ji(this.tc)&&Ji(b);-1==this.da&&this.La&&(this.da=this.Ce().o);this.o.A=0;a=this.tc;b=this.hh();.5<=a.g&&this.o.Ha("vs");b&&this.o.Ha("vw");Hi(a.volume)&&this.o.Ha("am");this.sa&&this.o.Ha("a");this.hf&&this.o.Ha("f");-1!=a.o&&(this.o.Ha("bm"),1==a.o&&this.o.Ha("b"));this.sa&&b&&this.o.Ha("avw");this.ga&&this.o.Ha("cm");this.ga&&0<a.g&&this.o.Ha("pv");Vj(this,this.Ce().o,!0)&&
this.o.Ha("gdr")};
g.h.Zm=function(){return new Qj};
g.h.Ce=function(){return this.Kr};
g.h.xq=function(){return new Ii};
g.h.Op=function(a,b,c,d){a=Sj.aa.Op.call(this,a,b,c,d);a.A=this.hf;a.paused=this.D;a.volume=d.volume;Hi(a.volume)||(this.Ab++,b=this.tc,Hi(b.volume)&&(a.volume=b.volume));d=d.currentTime;a.B=g.t(d)&&0<=d?d:-1;return a};
g.h.Yw=function(a,b){var c=g.t(b.currentTime)?b.currentTime:this.O,d=Uj(this,a),e=c-this.O,f=b.isYouTube,k=g.t(b.isPlaying)?b.isPlaying:!0,l=0;2!=this.ba?(0<=e?(this.X+=d,this.G+=Math.max(d-e,0),l=Math.min(e,this.X)):this.va+=Math.abs(e),0!=e&&(this.X=0),-1==this.J&&0<e&&(this.J=0<=Bi?yi()-Bi:-1)):(k||this.D||(this.G+=d),-1==this.J&&k&&(this.J=0<=Bi?yi()-Bi:-1));this.O=c;if(f){if(1==this.ba)return l;if(2==this.ba)return k?d:0}return Uj(this,a)};
g.h.ik=function(a,b){return this.P?0:this.hf?1:Sj.aa.ik.call(this,a,b)};
g.h.Ye=function(){return 1};var Qw=null,wga={8:"google_prev_ad_formats_by_region",9:"google_prev_ad_slotnames_by_region"};g.ppa=!g.sc&&!dc();g.z(g.ck,g.K);g.h=g.ck.prototype;g.h.Ij=!1;g.h.ql=0;g.h.bi=null;g.h.aj=function(a){this.g=arguments;this.bi||this.ql?this.Ij=!0:dk(this)};
g.h.stop=function(){this.bi&&(g.hg(this.bi),this.bi=null,this.Ij=!1,this.g=[])};
g.h.pause=function(){this.ql++};
g.h.resume=function(){this.ql--;this.ql||!this.Ij||this.bi||(this.Ij=!1,dk(this))};
g.h.W=function(){g.ck.aa.W.call(this);this.stop()};
g.h.NQ=function(){this.bi=null;this.Ij&&!this.ql&&(this.Ij=!1,dk(this))};var ik=null,kk=null,lk=null,nk=null,zk=null,hk=!1,Ak=[],Dk=[],wk=!1,xk=null,vk=0,tk=ek()||fk(),uca=0;var Rk=null,Vk="",tl=!1;var Qk={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:"qmtos",qnc:"qnc",qmv:"qmv",qnv:"qnv",raf:"raf",rafc:"rafc",lte:"lte",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"},Pca={c:Jk("c"),at:"at",atos:Mk("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:Lk(),j:"dom",mtos:Mk("mtos",[0,2,4]),gmm:"gmm",gdr:"gdr",ss:Jk("ss"),vsv:vf("w2"),t:"t"},Sca={atos:"atos",avt:Mk("atos",[2]),davs:"davs",dafvs:"dafvs",dav:"dav",ss:Jk("ss"),t:"t"},Qca={a:"a",tos:Lk(),at:"at",c:Jk("c"),mtos:Mk("mtos",[0,2,4]),dur:"dur",fs:"fs",p:"p",vpt:"vpt",vsv:vf("ias_w2"),dom:"dom",gmm:"gmm",gdr:"gdr",t:"t"},Rca={tos:Lk(),at:"at",c:Jk("c"),mtos:Mk("mtos",[0,2,4]),p:"p",vpt:"vpt",vsv:vf("dv_w4"),gmm:"gmm",gdr:"gdr",dom:"dom",t:"t",mv:"mv",qmpt:Mk("qmtos",
[0,2,4]),qvs:function(a,b){return function(c){var d=c[a];if(g.oa(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.h=Nk.prototype;g.h.bn=function(){};
g.h.qx=g.x;g.h.fB=g.x;g.h.gB=g.x;g.h.Sv=g.x;g.h.vv=g.x;g.h.Jq=function(a){window.clearTimeout(xk);xk=null;Vk=a;wk=!0};
g.h.vx=function(a){a&&(a.gh=!0,1==a.Ye()?Sk(a,"fp"):2==a.Ye()&&this.fB(a),this.Us(a))};
g.h.nI=function(a){Wj(a,0);return Yj(a,"start")};
g.h.kI=function(a,b){rk([a],!Zj(),b);return Yj(a,"progress")};
g.h.bI=function(a,b){return Tk(a,"firstquartile",1,b)};
g.h.gI=function(a,b){a.La=!0;return Tk(a,"midpoint",2,b)};
g.h.oI=function(a,b){return Tk(a,"thirdquartile",3,b)};
g.h.XH=function(a,b){var c=Tk(a,"complete",4,b);a.hf=!1;Wk(1,a.Yc);return c};
g.h.jI=function(a,b){return Uk(a,"pause",b)};
g.h.WH=function(a,b){return Uk(a,"abandon",b)};
g.h.lI=function(a,b){var c=Zj();a.D&&!c&&(a.Ce().C=yi());rk([a],!c,b);a.D=!1;return Yj(a,"resume")};
g.h.qI=function(a){return Yj(a,"viewable_impression")};
g.h.mI=function(a,b){var c=!Zj();rk([a],c,b);c=Yj(a,"skip");a.hf=!1;Wk(1,a.Yc);return c};
g.h.hI=function(a,b){rk([a],!Zj(),b);return Yj(a,"mute")};
g.h.pI=function(a,b){rk([a],!Zj(),b);return Yj(a,"unmute")};
g.h.cI=function(a,b){a.hf=!0;rk([a],!Zj(),b);return Yj(a,"fullscreen")};
g.h.aI=function(a,b){a.hf=!1;rk([a],!Zj(),b);return Yj(a,"exitfullscreen")};
g.h.dI=function(a){return Yj(a,"fully_viewable_audible_half_duration_impression")};
g.h.fI=function(a){return Yj(a,"measurable_impression")};
g.h.ZH=function(a){return Yj(a,"engagedview")};
g.h.eI=function(a){return Yj(a,"impression")};
g.h.YH=function(a){return Yj(a,"creativeview")};
g.h.iI=function(a,b){rk([a],!Zj(),b);return a.o()};
g.h.Pq=function(a,b){rk([a],!Zj(),b);Wk(2,a.Yc);return a.o()};
g.h.ln=function(a){a.hh()&&!a.pC&&this.gB(a);1==a.Ye()&&this.Sv(a)};
g.h.Us=g.x;var dl=(new Date).getTime(),fl=!1,gl=!1,hl=!1,Hca=[function(a){return!(!a.chrome||!a.chrome.webstore)},
function(a){return!!a.document.documentMode},
function(a){return!!a.document.fonts.ready},
function(){return el(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 el(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 el(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 el(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 el(4)},
function(a){return"srcset"in a.document.createElement("img")},
function(){return gl},
function(){return hl},
function(){return el(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 el(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]||cl(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 cl(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 el(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 cl(a.CSS.supports)},
function(){return cl(window.Intl.Collator)},
function(a){return cl(a.document.createElement("dialog").show)},
function(){return el(8)},
function(a){return cl(a.document.createElement("div").animate([{transform:"scale(1)",UG:"ease-in"},{transform:"scale(1.3)",UG:"ease-in"}],{duration:1300,n2:1}).reverse)},
function(a){return cl(a.document.createElement("div").animate)},
function(a){return cl(a.document.documentElement.webkitRequestFullScreen)},
function(a){return cl(a.navigator.getBattery)},
function(a){return cl(a.navigator.permissions.query)},
function(){return!1},
function(){return el(9)},
function(){return cl(window.webkitRequestAnimationFrame)},
function(a){return cl(a.BroadcastChannel.call)},
function(a){return cl(a.FontFace)},
function(a){return cl(a.Gamepad)},
function(){return el(10)},
function(a){return cl(a.MutationEvent)},
function(a){return cl(a.MutationObserver)},
function(a){return cl(a.crypto.getRandomValues)},
function(a){return cl(a.document.body.createShadowRoot)},
function(a){return cl(a.document.body.webkitCreateShadowRoot)},
function(a){return cl(a.fetch)},
function(){return el(11)},
function(a){return cl(a.navigator.serviceWorker.register)},
function(a){return cl(a.navigator.webkitGetGamepads)},
function(a){return cl(a.speechSynthesis.speak)},
function(a){return cl(a.webkitRTCPeerConnection)},
function(a){return a.CSS.supports("--fake-var","0")},
function(){return el(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 el(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 el(14)},
function(a){return"undefined"==typeof a.navigator.t2},
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")}],Ica=[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}],Jca=[function(a){return a.navigator.userAgent},
function(a){return a.navigator.platform},
function(a){return a.navigator.vendor}];g.z(il,nba);il.prototype.reset=function(){this.g[0]=1732584193;this.g[1]=4023233417;this.g[2]=2562383102;this.g[3]=271733878;this.B=this.A=0};
il.prototype.update=function(a,b){g.t(b)||(b=a.length);for(var c=b-this.o,d=this.C,e=this.A,f=0;f<b;){if(0==e)for(;f<=c;)jl(this,a,f),f+=this.o;if(g.u(a))for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.o){jl(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.o){jl(this,d);e=0;break}}this.A=e;this.B+=b};
il.prototype.digest=function(){var a=Array((56>this.A?this.o:2*this.o)-this.A);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;for(var c=8*this.B,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.z(nl,Nk);g.ra(nl);g.h=nl.prototype;g.h.bn=function(a,b){switch(Cj.getInstance().Jb){case "nis":var c=Ck(a);c||(c=ol(this,a,"n",b.opt_nativeTime||-1),c.P=Cj.getInstance().F);break;case "gsv":(c=Ck(a))||(c=ol(this,a,"m",b.opt_nativeTime||-1));break;case "exc":(c=Ck(a))||(c=ol(this,a,"h",-1));break;default:b.opt_adElement?c=Eca(this,a,b.opt_adElement):(c=Nca(this,a,b.opt_sdkID||""))||(c=Ck(a)||void 0)}c&&c.fa==g.x&&(c.fa=(0,g.y)(this.vv,this));return c};
g.h.vv=function(a){var b=Cj.getInstance();a.g=0;a.ca=0;if("as"==a.hg)if(b="getVideoMetadata"+a.Dj,g.va(a.element[b]))try{var c=a.element[b]()}catch(e){a.g|=4}else a.g|=2;else if("h"==a.hg||"n"==a.hg)if(b=g.v("exc"==b.Jb||"nis"==b.Jb?"ima.bridge.getVideoMetadata":"ima.common.getVideoMetadata"),g.va(b))try{c=b(a.Yc)}catch(e){a.g|=4}else a.g|=2;else a.g|=1;a.g||(g.t(c)?null===c?a.g|=16:g.Ub(c)?a.g|=32:null!=c.errorCode&&(a.ca=c.errorCode,a.g|=64):a.g|=8);null!=c||(c={});b=c;a.M=0;for(var d in npa)null==
b[d]&&(a.M|=npa[d]);bl(b,"currentTime");bl(b,"duration");Hi(c.volume)&&Hi(this.B)&&(c.volume*=this.B);return c};
g.h.gB=function(a){ql(a,"viewable_impression")&&(a.pC=!0)};
g.h.Sv=function(a){Vj(a,a.Ce().ga[0])&&!a.Sa&&ql(a,"fully_viewable_audible_half_duration_impression")&&(a.Sa=!0)};
g.h.qx=function(a){a.oC||a.gh||this.A||!ql(a,"measurable_impression")||(a.oC=!0)};
g.h.fB=function(a){!a.g&&a.gh&&ql(a,"overlay_unmeasurable_impression")&&(a.g=!0)};
g.h.ln=function(a){this.A?vl(this,a):nl.aa.ln.call(this,a)};
g.h.Us=function(a){this.A&&1==a.Ye()&&vl(this,a)};
g.qa("Goog_AdSense_Lidar_sendVastEvent",gj(193,ul,void 0,function(){return{v:"588","if":Cj.getInstance().o?"1":"0",nas:String(Ak.length)}}),void 0);
g.qa("Goog_AdSense_Lidar_getViewability",cj(194,function(a,b){var c=nl.getInstance();var d={};g.$b(d,{opt_adElement:void 0,opt_fullscreen:void 0},b||{});if(d.opt_bounds)c=sl(c,al("ol"),!1);else{if(tl)d=al("ue");else if(d=c.bn(a,d)){var e=al();g.$b(e,Xj(d,!0,!1));d=e}else d=al("nf");c=sl(c,d,!0)}return c},void 0,void 0),void 0);
g.qa("Goog_AdSense_Lidar_getUrlSignalsArray",gj(195,function(){return ml()}),void 0);
g.qa("Goog_AdSense_Lidar_getUrlSignalsList",gj(196,function(){return g.mg(ml())}),void 0);
g.qa("Goog_AdSense_Lidar_addExperimentId",cj(249,wl,void 0,void 0),void 0);var RA=(new Date).getTime();var Bl="StopIteration"in pa?pa.StopIteration:{message:"StopIteration",stack:""};Al.prototype.next=function(){throw Bl;};
Al.prototype.Ud=function(){return this};g.h=El.prototype;g.h.Mc=function(){return this.Na};
g.h.ib=function(){Hl(this);for(var a=[],b=0;b<this.g.length;b++)a.push(this.o[this.g[b]]);return a};
g.h.Cb=function(){Hl(this);return this.g.concat()};
g.h.isEmpty=function(){return 0==this.Na};
g.h.clear=function(){this.o={};this.Dh=this.Na=this.g.length=0};
g.h.remove=function(a){return Fl(this.o,a)?(delete this.o[a],this.Na--,this.Dh++,this.g.length>2*this.Na&&Hl(this),!0):!1};
g.h.get=function(a,b){return Fl(this.o,a)?this.o[a]:b};
g.h.set=function(a,b){Fl(this.o,a)||(this.Na++,this.g.push(a),this.Dh++);this.o[a]=b};
g.h.forEach=function(a,b){for(var c=this.Cb(),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 El(this)};
g.h.Ud=function(a){Hl(this);var b=0,c=this.Dh,d=this,e=new Al;e.next=function(){if(c!=d.Dh)throw Error("The map has changed since the iterator was created");if(b>=d.g.length)throw Bl;var e=d.g[b++];return a?e:d.o[e]};
return e};g.h=g.Kl.prototype;g.h.toString=function(){var a=[],b=this.B;b&&a.push(Sl(b,qpa,!0),":");var c=this.o;if(c||"file"==b)a.push("//"),(b=this.G)&&a.push(Sl(b,qpa,!0),"@"),a.push(g.Ha(c).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.C,null!=c&&a.push(":",String(c));if(c=this.A)this.o&&"/"!=c.charAt(0)&&a.push("/"),a.push(Sl(c,"/"==c.charAt(0)?rpa:spa,!0));(c=this.g.toString())&&a.push("?",c);(c=this.Wh())&&a.push("#",Sl(c,tpa));return a.join("")};
g.h.resolve=function(a){var b=this.clone(),c=!!a.B;c?Ll(b,a.B):c=!!a.G;c?b.G=a.G:c=!!a.o;c?g.Ml(b,a.o):c=null!=a.C;var d=a.A;if(c)g.Nl(b,a.C);else if(c=!!a.A){if("/"!=d.charAt(0))if(this.o&&!this.A)d="/"+d;else{var e=b.A.lastIndexOf("/");-1!=e&&(d=b.A.substr(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(La(e,"./")||La(e,"/.")){for(var d=g.Fa(e,"/"),e=e.split("/"),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.Ol(b,d):c=""!==a.g.toString();c?Pl(b,a.g.clone()):c=!!a.J;c&&(b.J=a.Wh());return b};
g.h.clone=function(){return new g.Kl(this)};
g.h.Vw=function(){return this.g.toString()};
g.h.Wh=function(){return this.J};
var qpa=/[#\/\?@]/g,spa=/[\#\?:]/g,rpa=/[\#\?]/g,$ca=/[\#\?@]/g,tpa=/#/g;g.h=g.Rl.prototype;g.h.Mc=function(){Zl(this);return this.Na};
g.h.remove=function(a){Zl(this);a=am(this,a);return Gl(this.g,a)?(this.o=null,this.Na=this.Na-this.g.get(a).length,this.g.remove(a)):!1};
g.h.clear=function(){this.g=this.o=null;this.Na=0};
g.h.isEmpty=function(){Zl(this);return 0==this.Na};
g.h.forEach=function(a,b){Zl(this);this.g.forEach(function(c,d){(0,g.G)(c,function(c){a.call(b,c,d,this)},this)},this)};
g.h.Cb=function(){Zl(this);for(var a=this.g.ib(),b=this.g.Cb(),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.ib=function(a){Zl(this);var b=[];if(g.u(a))bm(this,a)&&(b=g.pb(b,this.g.get(am(this,a))));else{a=this.g.ib();for(var c=0;c<a.length;c++)b=g.pb(b,a[c])}return b};
g.h.set=function(a,b){Zl(this);this.o=null;a=am(this,a);bm(this,a)&&(this.Na=this.Na-this.g.get(a).length);this.g.set(a,[b]);this.Na=this.Na+1;return this};
g.h.get=function(a,b){var c=a?this.ib(a):[];return 0<c.length?String(c[0]):b};
g.h.toString=function(){if(this.o)return this.o;if(!this.g)return"";for(var a=[],b=this.g.Cb(),c=0;c<b.length;c++)for(var d=b[c],e=g.Ha(d),d=this.ib(d),f=0;f<d.length;f++){var k=e;""!==d[f]&&(k+="="+g.Ha(d[f]));a.push(k)}return this.o=a.join("&")};
g.h.clone=function(){var a=new g.Rl;a.o=this.o;this.g&&(a.g=this.g.clone(),a.Na=this.Na);return a};var Um={JE:5E3,KE:15E3,uF:"://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(" "),vF:/\bocr\b/,Yp:0,Bg:{},qS:function(a,b,c){a&&(Um.wJ(a)?Um.DB(a,b):Um.zB(a,b,c))},
wJ:function(a){return D(g.E(a))?!1:0<=a.indexOf("://pagead2.googlesyndication.com/pagead/gen_204?id=yt3p&sr=1&")||(new g.Kl(a)).Wh().match(Um.vF)?!0:null!=g.ab(Um.uF,function(b){return null!=a.match(b)})},
DB:function(a,b){if(a&&(a=Um.lH(a),!D(a))){var c='javascript:"<body><img src=\\""+'+a+'+"\\"></body>"';b?Um.by(function(b){Um.xB(b?c:'javascript:"<body><object data=\\""+'+a+'+"\\" width=1 height=1 style=\\"visibility:hidden;\\"></body>"')}):Um.xB(c)}},
xB:function(a){var b=g.he("IFRAME",{src:a,style:"display:none"});a=g.Td(b).body;var c=g.gg(function(){g.mf(d);g.qe(b)},Um.KE);
var d=kf(b,["load","error"],function(){g.gg(function(){g.hg(c);g.qe(b)},Um.JE)});
a.appendChild(b)},
by:function(a,b){var c=Um.Bg.imageLoadingEnabled;if(null!=c)a(c);else{var d=!1,c=function(b,c){delete Um.Bg[c];d||(d=!0,null!=Um.Bg.imageLoadingEnabled||(Um.Bg.imageLoadingEnabled=b),a(b))};
b?b(c):Um.JJ(c)}},
JJ:function(a){var b=new window.Image,c=""+Um.Yp++;Um.Bg[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=="},
pS:function(a){if(a){var b=g.je("OBJECT");b.data=a;b.width="1";b.height="1";b.style.visibility="hidden";var c=""+Um.Yp++;Um.Bg[c]=b;b.onload=b.onerror=function(){delete Um.Bg[c]};
window.document.body.appendChild(b)}},
yB:function(a){if(a){var b=new window.Image,c=""+Um.Yp++;Um.Bg[c]=b;b.onload=b.onerror=function(){delete Um.Bg[c]};
b.src=a}},
zB:function(a,b,c){if(a){if(c)try{if(pa.navigator&&pa.navigator.sendBeacon&&pa.navigator.sendBeacon(a,""))return}catch(d){}b?Um.by(function(b){b?Um.yB(a):Um.pS(a)}):Um.yB(a)}},
lH:function(a){a=vd(xd(a));if("about:invalid#zClosurez"===a)return"";a=g.Ad(Cd(a));return g.Ha(g.mg(a))}};g.z(g.cm,g.K);var fm=[];g.cm.prototype.V=function(a,b,c,d){return dm(this,a,b,c,d)};
g.cm.prototype.Ca=function(a,b,c,d,e){if(g.ta(b))for(var f=0;f<b.length;f++)this.Ca(a,b[f],c,d,e);else c=c||this.handleEvent,e=e||this.B||this,c=cf(c),d=!!d,b=g.Te(a)?$e(a.ye,String(b),c,d,e):a?(a=g.ef(a))?$e(a,b,c,d,e):null:null,b&&(g.mf(b),delete this.o[b.key]);return this};
g.cm.prototype.W=function(){g.cm.aa.W.call(this);jm(this)};
g.cm.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};g.z(km,g.K);km.prototype.F=function(){this.B=(0,g.F)()};
km.prototype.J=function(a){var b=null!=a.target.href?a.target:a.target.parentNode,c=[];this.o&1&&c.push("nm="+this.C);this.o&2&&c.push("nb="+this.D.get(b));if(this.o&8){var d=g.lh(this.A);c.push("nx="+(a.clientX-d.x));c.push("ny="+(a.clientY-d.y))}this.o&16&&null!=this.B&&c.push("clkt="+((0,g.F)()-this.B));0<c.length&&(b.href+=0<=b.href.indexOf("?")?"&"+c.join("&"):"?"+c.join("&"))};
km.prototype.G=function(){this.C++};
km.prototype.W=function(){km.aa.W.call(this);this.g.dispose()};var dda=/(?:\[|%5B)([a-zA-Z0-9_]+)(?:\]|%5D)/g;var mm="ad_type vpos mridx pos vad_type videoad_start_delay".split(" ");om.prototype.isBumper=function(){return this.o};g.h=pm.prototype;g.h.qq=function(){return this.g.qq()};
g.h.Ak=function(){return this.g.Ak()};
g.h.Gf=function(){return this.g.Gf()};
g.h.nn=function(a){return this.Xf?this.g.Tq():this.g.nn(a)};
g.h.setSize=function(a,b){this.g.setSize(a,b)};
g.h.cq=function(){return this.g.cq()};
g.h.pn=function(){return this.g.pn()};
g.h.Vq=function(){return this.g.Vq()};
g.h.qn=function(){return this.g.qn()};
g.h.hide=g.x;g.h.vg=g.x;g.h.ud=g.x;g.h.Tq=function(){return this.g.Tq()};
g.h.Uq=g.x;g.z(qm,g.Ne);qm.prototype.getError=function(){return this.A};var ky="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".split(" "),V2="abandon acceptinvitation acceptinvitationlinear click close collapse companionClick complete creativeview endscreenClick engagedview exitfullscreen expand externalActivityEvent feedbackDislike feedbackLike firstquartile fullscreen instreamAdComplete measurable_impression midpoint mute MUTE_AD pause progress replay resume rewind show_ad skipshown skip start stop 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(" "),
upa="acceptinvitation click close collapse creativeview expand progress".split(" "),W2="viewable_impression measurable_impression overlay_unmeasurable_impression overlay_unviewable_impression overlay_viewable_immediate_impression overlay_viewable_end_of_session_impression externalActivityEvent".split(" "),X2={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.z(rm,g.Ne);rm.prototype.Qb=function(){return this.A};
var Qga={EU:"adCanPlay",GU:"adNotify",sW:"contentPauseRequested",tW:"contentResumeRequested",Zo:"click",WW:"discardAdNotify",E1:"videoClicked",G1:"videoIconClicked",wu:"engagedview",zX:"expandedChanged",l0:"start",Pl:"impression",Eu:"measurable_impression",jv:"viewable_impression",Bu:"fully_viewable_audible_half_duration_impression",kF:"overlay_resize",lF:"overlay_unmeasurable_impression",mF:"overlay_unviewable_impression",oF:"overlay_viewable_immediate_impression",nF:"overlay_viewable_end_of_session_impression",
AX:"externalActivityEvent",PAUSED:"pause",B_:"resume",zu:"firstquartile",Fu:"midpoint",dv:"thirdquartile",ru:"complete",oX:"durationChange",AV:"autoClose",v1:"userClose",w1:"userRecall",h_:"prefetched",ip:"loaded",rV:"allAdsCompleted",Ru:"skip",FF:"skipshown",DY:"linearChanged",c0:"skippableStateChanged",FU:"adMetadata",DU:"adBreakReady",OY:"log",VOLUME_CHANGED:"volumeChange",M1:"mute",oY:"interaction",jW:"companionBackfill",c2:"youTubeVideoMetadata",a2:"youTubeChannelMetadata",u1:"urlNavigationRequested",
R0:"trackingUrlPinged",A1:"video_card_endcap_action",B1:"video_card_endcap_collapse",C1:"video_card_endcap_dismiss",D1:"video_card_endcap_impression",X1:"why_this_ad_url",W1:"why_this_ad_got_it",CZ:"MUTE_AD",mW:"companionInitialized",lW:"companionImpression",kW:"companionClick",WY:"mediaUrlPinged",b2:"youtubeKevlarCompanionShow"};vm.prototype.g=function(){return this.ba};
vm.prototype.getPlayerType=function(){return""};
var O=new vm;var vpa={NORMAL:"normal",Au:"fullscreen"};var Fs=["ADSENSE","ADSENSE/ADX"],ifa=["DART","DART_DFA","DART_DFP"],tfa=["FREEWHEEL","YT:FREEWHEEL"],Lr=["SHOPPING","YT:SHOPPING"],Pr=["GDFP"],hfa=["VIRAL","ADSENSE-VIRAL"],gfa=["VIRAL-RESERVE"],tp={"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={EW:"application/dash+xml",hZ:"video/mp4",
jZ:"video/mpeg",TY:"application/x-mpegURL",KZ:"video/ogg",B0:"video/3gpp",P1:"video/webm",gZ:"audio/mpeg",iZ:"audio/mp4"};g.z(wm,g.Ne);g.z(xm,Error);xm.prototype.Cd=function(){return this.B};
xm.prototype.Nb=function(){return this.o};
xm.prototype.bc=function(){return this.C};
xm.prototype.toString=function(){return"AdError "+this.Nb()+": "+this.Cd()+(null!=this.Ik?" Caused by: "+this.Ik:"")};ym.prototype.g=function(){return!1};
ym.prototype.o=function(){return window.NaN};
ym.prototype.A=function(){return""};zm.prototype.getId=function(){return this.Ba};Am.prototype.getId=function(){return this.Ba};var nda=["ActiveViewExternalLayer"],Dm=null;var cea=["*.googlesyndication.com","gcdn.2mdn.net"],pda=["*.youtu.be","*.youtube.com"],sda="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(" "),rda=["c.googlesyndication.com"],
nia=["googleads.g.doubleclick.net","pubads.g.doubleclick.net"];Wm.prototype.Nb=function(){return this.errorCode};
Wm.prototype.Cd=function(){return this.message};
var yia=new Wm("Unable to request ads from server. Cause: {0}.",1005),oia=new Wm("Unable to request ads from server due to network error.",1012),az=new Wm("Cannot parse the {0} value for the adslist response: {1}.",900),xu=new Wm("Invalid usage of the API. Cause: {0}",900),$ga=new Wm("Asset fallback ad replacement.",1021),aha=new Wm("Asset fallback no ad replacement.",1021),Y2=new Wm("Unable to display one or more required companions.",602),yB=new Wm("There was a problem requesting ads from the server.",
1005),wpa=new Wm("There was a problem requesting the biscotti ID.",1005),mia=new Wm("Ad tag URI {0} is invalid. It must be properly encoded before being passed.",1013),bB=new Wm("The provided ad type: {0} is not supported.",1005),Vn=new Wm("The provided {0} information: {1} is invalid.",1101),xpa=new Wm("The provided skip offset was invalid.",1105),ypa=new Wm("The extension contained is neither skippable nor nonskippable.",1105),lq=new Wm("The response does not contain any valid ads.",1009),zpa=new Wm("The overlay ad content could not be displayed since creative dimensions do not align with display area.",
501),lha=new Wm("The ad playlist response was malformed or empty.",1010),bz=new Wm("The ad response was not understood and cannot be parsed.",1010),ria=new Wm("An unexpected error occurred and the cause is not known. Refer to the inner error for more info.",900),Aia=new Wm("The ad response contains unexpected element. Cause {0}.",1010),OB=new Wm("No assets were found in the VAST ad response.",200),Zea=new Wm("Duplicate node in <{0}>: {1}",101),HA=new Wm("The VAST response document is empty.",1009),
Oga=new Wm("Linear assets were found in the VAST ad response, but none of them matched the video player's capabilities.",403),kq=new Wm("Ad request reached a timeout.",301),IA=new Wm("VAST response was malformed and could not be parsed.",100),Z2=new Wm("VAST media file loading reached a timeout of {0} seconds.",402),mq=new Wm("Ad request could not be completed due to a network error.",301),Apa=new Wm("Non linear assets were found in the VAST ad response, but none of them matched the video player's capabilities.",
503),Bpa=new Wm("There was an error displaying the media file.",405),rea=new Wm("The maximum number of VAST wrappers ({0}) has been reached.",302),Cpa=new Wm("VAST media file duration differs from the VAST response duration by {0} seconds.",202),Fx=new Wm("Video player received an ad with unexpected or incompatible linearity",201),Yea=new Wm("Unknown node in <{0}>: {1}",101),mga=new Wm("Invalid VAST resource type: {0}",101),Nha=new Wm("Invalid VAST version",102),sea=new Wm("No additional VAST wrappers allowed.",
300),rq=new Wm("No Ads VAST response after one or more Wrappers",303),Lx=new Wm("There was an error playing the video ad.",400),Dpa=new Wm("VMAP unsupported node in <{0}>: {1}",1010),nw=new Wm("An unexpected error occurred within the VPAID creative. Refer to the inner error for more info.",901);g.z(cn,g.Ne);var Vz="abort canplay canplaythrough durationchange emptied loadstart loadeddata loadedmetadata progress ratechange seeked seeking stalled suspend waiting".split(" ");var pn={},rn="",kn=/OS (\S+) like/,Epa=/OS X (\S+)\)/,nn=/Android ([\d\.]+)/;vn.prototype.reset=function(){this.g=0;this.o=null};var Fpa;
Fpa={pE:["BC","AD"],oE:["Before Christ","Anno Domini"],eF:"JFMAMJJASOND".split(""),IF:"JFMAMJJASOND".split(""),Iu:"January February March April May June July August September October November December".split(" "),Tu:"January February March April May June July August September October November December".split(" "),Pu:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),Uu:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),kv:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),Wu:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),
Qu:"Sun Mon Tue Wed Thu Fri Sat".split(" "),Vu:"Sun Mon Tue Wed Thu Fri Sat".split(" "),DZ:"SMTWTFS".split(""),JF:"SMTWTFS".split(""),BF:["Q1","Q2","Q3","Q4"],tF:["1st quarter","2nd quarter","3rd quarter","4th quarter"],mu:["AM","PM"],bp:["EEEE, MMMM d, y","MMMM d, y","MMM d, y","M/d/yy"],ev:["h:mm:ss a zzzz","h:mm:ss a z","h:mm:ss a","h:mm a"],jE:["{1} 'at' {0}","{1} 'at' {0}","{1}, {0}","{1}, {0}"],ep:6,aG:[5,6],fp:5};g.$2=Fpa;g.$2=Fpa;xn.prototype.clone=function(){return new xn(this.B,this.months,this.days,this.g,this.o,this.A)};
xn.prototype.times=function(a){return new xn(this.B*a,this.months*a,this.days*a,this.g*a,this.o*a,this.A*a)};
g.h=g.An.prototype;g.h.Om=g.$2.ep;g.h.Qm=g.$2.fp;g.h.clone=function(){var a=new g.An(this.date);a.Om=this.Om;a.Qm=this.Qm;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.fn=function(a,b){return[this.getFullYear(),g.Pa(this.getMonth()+1,2),g.Pa(this.getDate(),2)].join(a?"-":"")+(b?g.Bn(this):"")};
g.h.toString=function(){return this.fn()};
g.h.valueOf=function(){return this.date.valueOf()};Cn.prototype.reset=function(){this.o=this.g=null};var In=new En;En.prototype.clear=function(){this.g=Dn();this.C=this.K=this.o=null;this.B=Dn();this.A=null;this.ba=this.F=this.J="";this.G=this.X=this.D=null;this.ca=!1};g.ra(Hn);Hn.prototype.isLoggingEnabled=function(){return this.g};g.h=Mn.prototype;g.h.rG=!1;g.h.zv=!1;g.h.Ev=!0;g.h.Mi=null;g.h.bitrate=-1;g.h.contentId=null;g.h.tw=!1;g.h.mimeTypes=null;g.h.surveyCreativeData=null;g.h.dT=!0;g.h.Lt=!1;g.h.eT=!1;g.h.Mt=!1;g.h.Nt=!1;g.h.kC=!1;g.h.lC=!0;g.h.VG=!1;g.h.fT=!0;g.h.Ep=!1;g.h.QG=!1;g.h.qT=0;g.h.showContentThumbnail=!0;g.h.It=!1;g.h.Kt=!1;g.h.xj=null;g.h.jf=8E3;g.h.Fv=!0;g.h.WA=0;g.h.Ks=-1;g.h.Dx=null;g.h.Yf=-1;g.h.shortViewCount=null;g.z(Nn,g.rf);var Uz={MV:"beginFullscreen",Zo:"click",sX:"end",tX:"endFullscreen",ERROR:"error",ip:"loaded",VY:"mediaLoadTimeout",PAUSE:"pause",PLAY:"play",b0:"skip",FF:"skipShown",S_:"shareClicked",Xu:"start",E0:"timeUpdate",XV:"cardsStateChange",C0:"timedMetadata",L1:"volumeChange"};g.h=Nn.prototype;g.h.Kx=function(){return!1};
g.h.yb=function(){return!0};
g.h.Vs=g.x;g.h.Mx=g.x;g.h.Yq=g.x;g.h.Ae=function(){return null};
g.h.dr=g.x;g.h.ar=g.x;g.z(On,g.rf);var Pn=null;On.prototype.Hj=function(a){this.A=a};
On.prototype.destroy=function(){this.J.Ca(this.o,"activityMonitor",this.M);this.o=null};
On.prototype.M=function(a){var b=a.Qf;switch(a.Qd){case "appStateChanged":Tca(nl.getInstance(),b.appState,b.nativeTime);break;case "externalActivityEvent":Tn(b.queryId,b.viewabilityString,b.eventName);break;case "measurableImpression":Rn(b.queryId,b.viewabilityString);break;case "pageSignals":this.K=b.pageSignals;break;case "viewableImpression":Sn(b.queryId,b.viewabilityString);break;case "engagementData":b=b.engagementString;Qn().B=b;Qn().G=(0,g.F)();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=nl.getInstance(),e=b.queryId,b=b.viewabilityData;a=Cj.getInstance();if("exc"==a.Jb){d.B=b.nativeVolume;var c=b.coverage||0,f=b.unmeasurable,d=d.bn(e,{});-1==d.Wa&&(d.Wa=yi(),d.Hb=d.Ce().o);d.ka+=f?1:0;d.rb++;d.Pa[Mi(c)]++;e=b.insideIframe;g.t(e)&&0==e&&(a.o=!1);d.gh=f||d.gh;b.position&&Gj(d,Wh,a.o,new g.Kg(b.position.top,b.position.right,b.position.bottom,b.position.left));b.documentSize&&(a.A=
new g.Qd(b.documentSize.width,b.documentSize.height));b.viewportSize&&(a.g=new g.Qd(b.viewportSize.width,b.viewportSize.height));d.tc.g=g.Id(c,0,1);d.Dr=d.tc.g}break;case "engagement":a=b.eventId,window.clearTimeout(a),c=this.g.get(a),Hn.getInstance().isLoggingEnabled()&&(f=-1,this.D&&(f=(0,g.F)()-this.D),d=!1,c||(d=!0),Rb(b,"loggingId")&&Kn(Hn.getInstance(),43,{step:"receivedResponse",time:(0,g.F)(),timeout:d,logid:b.loggingId,timediff:f})),c&&(this.g.remove(a),c(b.engagementString))}};
g.qa("ima.bridge.getNativeViewability",function(a,b){Qn();b({})},void 0);
g.qa("ima.bridge.getVideoMetadata",function(){var a=Qn().F;return g.va(a)?a():{}},void 0);
g.qa("ima.bridge.triggerViewEvent",Sn,void 0);g.qa("ima.bridge.triggerMeasurableEvent",Rn,void 0);g.qa("ima.bridge.triggerExternalActivityEvent",Tn,void 0);var yda={LE:"Image",vE:"Flash",ALL:"All"},xda={YX:"Html",cY:"IFrame",n0:"Static",ALL:"All"},zda={dY:"IgnoreSize",N_:"SelectExactMatch",O_:"SelectNearMatch"},Ada={VW:"DisallowResize",x_:"ResizeSmaller"};g.z(fo,g.rf);var go=null;g.h=fo.prototype;g.h.destroy=function(){this.D.Ca(this.g,"activityMonitor",this.Gx);this.A=!1;this.o.clear()};
g.h.W=function(){this.destroy();fo.aa.W.call(this)};
g.h.init=function(a){if(!this.A){if(this.g=a||null)this.D.V(this.g,"activityMonitor",this.Gx),mo(this);O.J&&Eda();O.o||O.g()||(nl.getInstance().A=!0);this.C=(g.va(null),null);this.A=!0;a=oda();(0,g.G)(a,function(a){wl(a)})}};
g.h.Hj=function(a){this.B=a};
g.h.Gx=function(a){var b=a.Qf,c=b.queryId,d={};d.eventId=b.eventId;switch(a.Qd){case "getPageSignals":mo(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=ko(this,e,c,a,f);this.g.send("activityMonitor","viewability",d);break;case "fetchAdTagUrl":d={},d.eventId=b.eventId,a=b.osdId,c=null,Rb(b,"isFullscreen")&&(c=b.isFullscreen),Rb(b,"loggingId")&&(b=b.loggingId,d.loggingId=b,Kn(Hn.getInstance(),
43,{step:"beforeLookup",logid:b,time:(0,g.F)()},!0)),d.engagementString=Fda(this,a,c),this.g.send("activityMonitor","engagement",d)}};
g.qa("ima.common.getVideoMetadata",function(a){a=ho().o.get(a);return g.va(a)?a():{}},void 0);
g.qa("ima.common.triggerViewEvent",function(a,b){var c={};c.queryId=a;c.viewabilityString=b;var d=ho().g;d?d.send("activityMonitor","viewableImpression",c):ho().dispatchEvent(new rm("viewable_impression",null,c))},void 0);
g.qa("ima.common.triggerViewabilityMeasurementUpdate",function(a,b){var c=ho().g,d={};d.queryId=a;d.viewabilityData=b;c&&c.send("activityMonitor","viewabilityMeasurement",d)},void 0);
g.qa("ima.common.triggerMeasurableEvent",function(a,b){var c={};c.queryId=a;c.viewabilityString=b;var d=ho().g;d?d.send("activityMonitor","measurableImpression",c):ho().dispatchEvent(new rm("measurable_impression",null,c))},void 0);
g.qa("ima.common.triggerExternalActivityEvent",function(a,b,c){var d={};d.queryId=a;d.viewabilityString=b;d.eventName=c;(a=ho().g)?a.send("activityMonitor","externalActivityEvent",d):ho().dispatchEvent(new rm("externalActivityEvent",null,d))},void 0);
g.qa("ima.common.updateEngagementDetectionValue",function(a){if(O.J){var b=ho().g;if(b){var c={};c.engagementString=a;b.send("activityMonitor","engagementData",c)}}},void 0);
ho();g.z(no,g.Ne);no.prototype.getError=function(){return this.g};oo.prototype.nd=function(){return this.F};
oo.prototype.Gc=function(){return this.g};
oo.prototype.clone=function(){var a=new oo(this.J,this.G);if(null!=this.g)po(a,this.Gc(),this.B,this.o,this.D);else{var b=this.nd(),c=this.B,d=this.o,e=this.A,f=this.D,k=this.C;a.F=b;a.g=null;a.B=c;a.o=d;a.A=e;a.D=f||[];a.C=k||[]}return a};g.z(ro,g.Ne);so.prototype.videoCount=0;g.sc&&g.kc(8);g.to.prototype.o=od;var Fo={},So={},To={},Np={};vo.prototype.pg=null;vo.prototype.nd=function(){return this.content};
vo.prototype.toString=function(){return this.content};
g.z(wo,vo);wo.prototype.Cf=Np;g.z(xo,vo);xo.prototype.Cf=Fo;g.z(yo,vo);yo.prototype.Cf={};yo.prototype.pg=1;g.z(zo,vo);zo.prototype.Cf=So;zo.prototype.pg=1;g.z(Ao,vo);Ao.prototype.Cf=To;Ao.prototype.pg=1;g.z(Bo,vo);Bo.prototype.Cf={};Bo.prototype.pg=1;g.z(Co,vo);Co.prototype.Cf={};Co.prototype.pg=1;var Go=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.pg=d);return c}}(xo);
Ho(yo);Ho(zo);Ho(Ao);var Nda=Ho(Bo);Ho(Co);var Io={},Jo={},br=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.pg=d);return c}}(xo),Qo=/['()]/g,Zo={},Oda={"\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;"},Pda={"\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"},Hda=/[\x00\x22\x27\x3c\x3e]/g,Jda=/[\x00\x09-\x0d \x22\x26\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,Ida=/[\x00\x09-\x0d \x22\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,Vo=/[\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,
Lda=/^(?![^#?]*\/(?:\.|%2E){2}(?:[\/?#]|$))(?:(?:https?|mailto):|[^&:\/?#]*(?:[\/?#]|$))/i,Mda=/^[^&:\/?#]*(?:[\/?#]|$)|^https?:|^data:image\/[a-z0-9+]+;base64,[a-z0-9+\/]+=*$|^blob:/i,Mo=/<(?:!|\/?([a-zA-Z][a-zA-Z0-9:\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g,No=/</g;cp.prototype.bc=function(){return this.A};
g.z(dp,cp);bp.prototype.isEmpty=function(){return this.g.isEmpty()};g.h=kp.prototype;g.h.getDuration=function(){return this.Wa};
g.h.nr=function(){return null};
g.h.mr=function(){return null};
g.h.lr=function(){return null};
g.h.Qb=function(){return this.J};
g.h.Wm=function(){for(var a=[this],b=this.J.o;b;){var c=np(this,b)||np(this,b,!0);null!=c&&a.push(c);b=b.o}return a};op.prototype.Eb=function(){return this.D};
op.prototype.getHeight=function(){return this.C};g.z(pp,kp);g.h=pp.prototype;g.h.ff=function(){return this.B};
g.h.Wg=function(){return this.o};
g.h.Xg=function(){return null!=this.C?this.C.o:null};
g.h.nr=function(){var a=rp(this,"javascript");return null!=a?a.o:null};
g.h.mr=function(){var a=sp(this);return null!=a?a.o:null};
g.h.lr=function(){return null!=this.C?this.C.A:1==this.o.length?this.o[0].A:null};g.z(up,kp);g.h=up.prototype;g.h.nd=function(){return Ae(this.Gc())};
g.h.Hk=function(){return!1};
g.h.pr=function(){return this.Hk()?Ae(this.Gc(!0)):""};
g.h.od=function(){return this.da};
g.h.gf=function(){return this.Ja};
g.h.Eb=function(){return this.gf().width};
g.h.getHeight=function(){return this.gf().height};
g.h.Xg=function(){return this.A};
g.h.nr=function(){return"VPAID"==this.K&&"Javascript"==this.da?this.A:null};
g.h.mr=function(){return"VPAID"==this.K&&"Flash"==this.da?this.A:null};
g.h.lr=function(){return this.K};
g.h.ff=function(){return this.pa};g.z(vp,g.K);vp.prototype.F=function(){this.D=(0,g.F)()};
vp.prototype.J=function(a,b){var c=a.element;1==(this.o&1)&&(0==this.B&&this.B++,this.g.nm=this.B);2==(this.o&2)&&(this.g.nb=a.FG);if(8==(this.o&8)){var d=g.lh(this.C);this.g.nx=Math.round(b.clientX-d.x);this.g.ny=Math.round(b.clientY-d.y)}16==(this.o&16)&&null!=this.D&&(d=(0,g.F)()-this.D,this.g.clkt=d);512==(this.o&512)&&(d=ci())&&(this.g.mb=d);"A"==c.tagName.toUpperCase()&&g.Gd(c,Wda(this,c.href))};
vp.prototype.G=function(){this.B++};var Gpa=g.sc?sd(id(jd('javascript:""'))):sd(id(jd("about:blank"))),Xda=rd(Gpa),Hpa=g.sc?sd(id(jd('javascript:""'))):sd(id(jd("javascript:undefined")));rd(Hpa);g.z(wp,up);g.h=wp.prototype;g.h.Ji=function(a){null==this.o||D(g.E(this.ff()))||(this.o.V(a,"click",this.ba),this.ca.push(a))};
g.h.Gc=function(a){a?(null==this.ha&&(this.ha=this.og(a),g.me(this.ha,Bp(this))),a=this.ha):(null==this.B&&(this.B=this.og(),g.me(this.B,Bp(this))),a=this.B);null!=this.o&&this.o.V(a,"creativeview",this.ga);return a};
g.h.og=function(){var a=g.E(this.A);D(g.E(this.ff()))||(a=new g.Kl(a),g.Tl(a,"clickTAG",g.Ha(this.ff())),a=a.toString());var b=g.he("IFRAME",{marginwidth:0,marginheight:0,hspace:0,vspace:0,frameborder:0,scrolling:"no"},null);b.height=this.getHeight();"Text"!=this.od()&&(b.width=this.Eb());b.setAttribute("src",Mm(a));this.Ji(b);return Ap(this,b)};
g.h.rq=function(){Fm().g("cleanup_text_overlay_spam_signals");return 2};
g.h.Wm=function(){for(var a=[this],b=this.Qb().o;b;){var c=this.D?np(this,b)||np(this,b,!0):Cp(this,b)||Cp(this,b,!0);null!=c&&a.push(c);b=b.o}return a};var aea={};g.z(Op,wp);g.h=Op.prototype;g.h.gf=function(){return new g.Qd(this.Eb(),this.getHeight())};
g.h.getHeight=function(){return 63};
g.h.Eb=function(){return null!=this.F?g.uh(this.F).width:0};
g.h.rq=function(a){return Fm().g("cleanup_text_overlay_spam_signals")?g.Gp(a,"text-image-link")?9:g.Gp(a,"text-ad-channel")?1:0:g.Gp(a,"text-image")?9:g.Gp(a,"text-ad-channel")?1:0};
g.h.og=function(){var a=this.Qb(),b=a.getExtension("AdSense"),c=a.getExtension("TextAd"),d=c.C,e="rtl";null!=d&&(e=gpa.test(nd(d,void 0))?"rtl":"ltr");d={title:d,text:c.D+" "+c.F,dir:e,Lc:this.ff()};if(e=c.getImageUrl())d.image=Mm(e),d.mC=!0,O.g()&&(d.mC=0==c.o||0==c.A),a=g.ab(a.F,function(a){return a instanceof pp}),null!=a&&(d.duration=bo(a.getDuration()));
b.A&&(d.qC=b.A);this.F=Mp(Qda,d);(0,g.G)(this.F.getElementsByTagName("a"),this.Ji,this);this.F.id=this.Ba;this.F.style.height=this.getHeight()+"px";return this.F};var eea=[202,1009],jea="CONTENT_V CPN DISALLOW EID LACT VIS".split(" "),iea={MOAT_INIT:["://yts\\.moatads\\.com","://yts-testing\\.moatads\\.com","://pagead2\\.googlesyndication\\.com/pagead/gen_204"],MOAT_VIEWABILITY:["://[^.]*.moatads.com","://pagead2.googlesyndication.com/pagead/gen_204","://pubads.g.doubleclick.net"],IAS_VIEWABILITY:["://[^.]*.adsafeprotected.com","://[^.]*.test-adsafeprotected.com","://pagead2.googlesyndication.com/pagead/gen_204","://pubads.g.doubleclick.net"],DV_VIEWABILITY:["://[^.]*.yt.srs.doubleverify.com",
"://pagead2.googlesyndication.com/pagead/gen_204","://pubads.g.doubleclick.net"],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.Jf=function(){return null!=this.g&&this.g.Jf()?!0:0<this.ads.length&&this.o<this.ads.length-1};
g.h.Xe=function(a,b){null!=this.g?qea(this,a,b):this.Jf()?tea(this,a,(0,g.y)(function(c){!this.Jf()||!O.g()&&301==c.Nb()?b(c):this.Xe(a,b)},this)):b(new xm("adLoadError","The ad source contains no more ads.",1005))};
g.h.Iw=function(a,b){return this.C?0<a.length?a:b:g.sb(b,0,1)};
g.h.ao=function(a,b,c){var d;if(!(d=null!=a.g)){var e=this.D;d=e.df||0;e=e.cf||0;ts(a)&&!a.ha?xs(a,"nonlinear")?hq(a,d,e):iq(a):xs(a,"linear")?iq(a):xs(a,"nonlinear")&&hq(a,d,e);d=null!=a.g}d?(this.A++,b(a)):(b=g.ib(a.F)?Ym(IA):a.Zb()?Ym(OB):Ym(Apa),d=$p(b,a),eo(jfa(a),"rm")?b.A=!1:Vm(a.pa,d),c(b))};
g.h.Ms=function(a,b,c){var d=this.D.clone();d.o="";d.g=a.Hb;d.Re=nm(d.g,d.containerElement);oq(this,a,d,b,c)};g.z(tq,Dp);tq.prototype.Zd=function(){return this.o};g.z(uq,jq);uq.prototype.Jf=function(){if(null!=this.g&&this.g.Jf())return!0;var a=0==this.A||this.A==this.K;return 0<this.ads.length&&a&&this.o<this.ads.length-1};
uq.prototype.Iw=function(a,b){return b};
uq.prototype.ao=function(a,b,c){var d=null==this.g?gs(a):gs(this.ads[this.o]);this.J.A=d;uq.aa.ao.call(this,a,b,c)};
uq.prototype.Ms=function(a,b,c){this.J.A=-1;uq.aa.Ms.call(this,a,b,c)};g.z(wq,g.Kl);wq.prototype.toString=function(){return zq(this,wq.aa.toString.call(this))};
wq.prototype.Vw=function(){return""};
wq.prototype.Wh=function(){return""};
wq.prototype.clone=function(){return new wq(this.toString())};g.h=Gq.prototype;g.h.nd=function(){return this.g.nd()};
g.h.Gc=function(){return this.g.Gc()};
g.h.od=function(){return this.g.od()};
g.h.Eb=function(){return this.g.Eb()};
g.h.getHeight=function(){return this.g.getHeight()};
g.h.Hx=function(){return!D(g.E(this.g.A))};
g.h.wq=function(){var a=this.g.Qb().g;return null!=a?a.g:window.NaN};
g.h.sn=function(){return this.g.gf()};
g.h.Qb=function(){return this.g.Qb()};Ko("a","",function(a){a=a||{};return'<div class="'+P("videoAdUi")+'"><div class="'+P("videoAdUiTopBar")+" "+P("videoAdUiTopBarWithGradients")+'"><div class="'+P("videoAdUiAuthorIcon")+'"></div><div class="'+P("videoAdUiTitle")+" "+P("ellipsisText")+'"></div><div class="'+P("videoAdUiAuthorName")+" "+P("ellipsisText")+'"></div><div class="'+P("videoAdUiLearnMore")+'">'+P(a.jh)+'</div><div class="'+P("videoAdUiShare")+'"></div></div><div class="'+P("videoAdUiBottomBar")+'"><div class="'+P("videoAdUiLearnMoreText")+
'">'+P(a.jh)+'<div class="'+P("videoAdUiLearnMoreIcon")+'"></div></div><div class="'+P("videoAdUiAttributionContainer")+'"><div class="'+P("videoAdUiAttribution")+'"'+P($o(a.attributionText))+">"+P(a.attributionText)+'</div><div class="'+P("videoAdUiAttributionIconContainer")+'"><div class="'+P("videoAdUiAttributionIcon")+'" id="videoAdUiAttributionIcon"></div><div class="'+P("videoAdUiAdInfoPopup")+'"><div class="'+P("videoAdUiAdInfoPopupCallout")+'"></div><div class="'+P("videoAdUiAdInfoPopupText")+
'" '+P($o(a.oe))+">"+P(a.oe)+'</div></div></div></div></div><div class="'+P("videoAdUiProgressBar")+'" dir="ltr"><div class="'+P("videoAdUiBuffer")+'"></div><div class="'+P("videoAdUiProgress")+'"></div></div></div>'});
Ko("a","fixedDirectionality",function(a){a=a||{};return'<div class="'+P("videoAdUi")+'"><div class="'+P("videoAdUiTopBar")+" "+P("videoAdUiTopBarWithGradients")+'"><div class="'+P("videoAdUiAuthorIcon")+'"></div><div class="'+P("videoAdUiTitle")+" "+P("ellipsisText")+'"></div><div class="'+P("videoAdUiAuthorName")+" "+P("ellipsisText")+'"></div><div class="'+P("videoAdUiLearnMore")+'">'+P(a.jh)+'</div><div class="'+P("videoAdUiShare")+'"></div></div><div class="'+P("videoAdUiBottomBar")+'"><div class="'+
P("videoAdUiLearnMoreText")+'">'+P(a.jh)+'<div class="'+P("videoAdUiLearnMoreIcon")+'"></div></div><div class="'+P("videoAdUiAttributionContainer")+'"><div class="'+P("videoAdUiAttribution")+'">'+P(a.attributionText)+'</div><div class="'+P("videoAdUiAttributionIconContainer")+'"><div class="'+P("videoAdUiAttributionIcon")+'" id="videoAdUiAttributionIcon"></div><div class="'+P("videoAdUiAdInfoPopup")+'"><div class="'+P("videoAdUiAdInfoPopupCallout")+'"></div><div class="'+P("videoAdUiAdInfoPopupText")+
'">'+P(a.oe)+'</div></div></div></div></div><div class="'+P("videoAdUiProgressBar")+'" dir="ltr"><div class="'+P("videoAdUiBuffer")+'"></div><div class="'+P("videoAdUiProgress")+'"></div></div></div>'});
Ko("a","redesign2014q4",function(a){a=a||{};return'<div class="'+P("videoAdUi")+'"><div class="'+P("videoAdUiTopBar")+" "+P("videoAdUiTopBarWithGradients")+'"><div class="'+P("videoAdUiAuthorIcon")+'"></div><div class="'+P("videoAdUiTopButtons")+'"><div class="'+P("videoAdUiTopButton")+" "+P("videoAdUiTopButtonInfo")+'"><div class="'+P("videoAdUiTopButtonCallout")+'"><div class="'+P("videoAdUiTopButtonTooltip")+'">'+P(a.infoText)+'</div></div></div><div class="'+P("videoAdUiTopButton")+" "+P("videoAdUiTopButtonShare")+
'"><div class="'+P("videoAdUiTopButtonCallout")+'"><div class="'+P("videoAdUiTopButtonTooltip")+" "+P("videoAdUiTopButtonShareTooltip")+'">'+P(a.q2)+'</div></div></div><div class="'+P("videoAdUiTopButton")+" "+P("videoAdUiTopButtonWatchLater")+'"><div class="'+P("videoAdUiTopButtonCallout")+'"><div class="'+P("videoAdUiTopButtonTooltip")+'">'+P(a.r2)+'</div></div></div></div><div class="'+P("videoAdUiTitle")+" "+P("ellipsisText")+'"></div><div class="'+P("videoAdUiAuthorName")+" "+P("ellipsisText")+
'"></div></div><div class="'+P("videoAdUiBottomBar")+'"><div class="'+P("videoAdUiBottomBarText")+'"><div class="'+P("videoAdUiAttributionContainer")+'"><div class="'+P("videoAdUiAttributionWithBadge")+'"><div class="'+P("videoAdUiAttributionBadge")+" "+P("yt-badge")+" "+P("yt-badge-ad")+'">Ad</div><div class="'+P("videoAdUiAttributionText")+'"'+P($o(a.attributionText))+">"+P(a.attributionText)+'</div></div><div class="'+P("videoAdUiAttribution")+'"'+P($o(a.attributionText))+">"+P(a.attributionText)+
'</div><div class="'+P("videoAdUiAttributionIconContainer")+'"><div class="'+P("videoAdUiAttributionIcon")+'" id="videoAdUiAttributionIcon"></div><div class="'+P("videoAdUiAdInfoPopup")+'"><div class="'+P("videoAdUiAdInfoPopupCallout")+'"></div><div class="'+P("videoAdUiAdInfoPopupText")+'" '+P($o(a.oe))+">"+P(a.oe)+'</div></div></div></div><div class="'+P("videoAdUiVisitAdvertiserLink")+'"><div class="'+P("videoAdUiVisitAdvertiserLinkText")+'"></div><div class="'+P("videoAdUiVisitAdvertiserIcon")+
'"></div></div></div><div class="'+P("videoAdUiBottomBarMessage")+'"></div></div><div class="'+P("videoAdUiProgressBar")+'" dir="ltr"><div class="'+P("videoAdUiBuffer")+'"></div><div class="'+P("videoAdUiProgress")+'"></div></div></div>'});
Ko("b","",function(a){a=a||{};return""+Ca("You can skip this ad in {$xSeconds}",{xSeconds:P(a.Ig)})});
Ko("b","redesign2014q4",function(a){a=a||{};return""+Ca("You can skip to video in {$xSeconds}",{xSeconds:P(a.Ig)})});
Ko("b","forcedlinebreak",function(a){a=a||{};return""+Ca("You can skip to{$newline}video in {$xSeconds}",{newline:P(a.cN),xSeconds:P(a.Ig)})});g.z(cr,wp);var Uea=new g.Qd(300,250);cr.prototype.Pa=function(){this.F=Math.max(0,this.F-1);er(this)};
cr.prototype.La=function(){this.F=Math.min(this.va-3,this.F+1);er(this)};
cr.prototype.og=function(){return this.P};g.z(hr,wp);var Wea=new g.Qd(300,250);hr.prototype.og=function(){return this.F};var ir=g.sc&&Xea();var $ea=/(doubleclick.net|googleadservices.com)/,cfa=["ai","sigh"],dfa=["xai","sig"];g.z(Dr,Dp);Er.prototype.parse=function(a){a=g.ve(a);var b=sr(a),c;"skippable"==b?c="skippable":"nonskippable"==b&&(c="nonskippable");if(null==c)throw Ym(ypa);a=a.getAttribute("offset");a=Br(a);if("skippable"==c&&null==a)throw Ym(xpa);return new Dr(c,a)};g.z(Fr,Dp);g.z(Gr,Dp);g.h=Ir.prototype;g.h.od=function(){if(null!=Ds(this))return"application/javascript";if(null!=Es(this))return"application/x-shockwave-flash";var a=this.g,b="";if(null===a)return b;if(a instanceof pp)a=a.C,null===a||(b=g.E(a.g));else if(a instanceof wp)switch(a.O){case "IFrame":case "Html":case "Static":b=g.E(a.sa)}return b};
g.h.getExtension=function(a){return this.G.get(a)};
g.h.isBumper=function(){return-1!=this.getDuration()&&0!=this.getDuration()&&7>=this.getDuration()};
g.h.Zb=function(){return this.bb?this.ua:ys(this)?!0:ts(this)?"video"==this.Gb:xs(this,"linear")};
g.h.isSkippable=function(){return null!=As(this)};
g.h.yJ=function(){return this.ha};
g.h.getDuration=function(){return us(this)+Cs(this)};
g.h.Xg=function(){var a=null,b=this.g;null!=b&&(a=b.Xg(),D(g.E(a))&&(a=null));return a};
g.h.Eb=function(){return this.Zb()?0:this.da.width};
g.h.getHeight=function(){return this.Zb()?0:this.da.height};
g.h.Ze=function(){return this.Ua};
g.h.toString=function(){return"Ad: "+this.va};g.z(Js,g.rf);Js.prototype.o=function(a){switch(a.type){case "companion_impression":this.dispatchEvent(new rm("companionImpression",this.g));break;case "companion_click":this.dispatchEvent(new rm("companionClick",this.g))}};g.z(Ks,g.rf);g.h=Ks.prototype;g.h.Ib=function(a){null==a||this.F||(this.Sh=a,vfa(this),this.F=!0)};
g.h.ad=function(){null!=this.Sh&&this.F&&(Ls(this),this.D=this.J=this.F=!1,this.g=0,this.A=[],this.G=!1)};
g.h.SQ=function(a){this.J=!0;this.g=a.touches.length;this.o&&(window.clearTimeout(this.o),this.o=0,this.M=!0);(this.G=Ms(this,a.touches)||1!=a.touches.length)?this.P=this.O=window.Infinity:(this.O=a.touches[0].clientX,this.P=a.touches[0].clientY);wfa(this,a.touches)};
g.h.RQ=function(a){this.g=a.touches.length;if(!ln(8)||Math.pow(a.changedTouches[0].clientX-this.O,2)+Math.pow(a.changedTouches[0].clientY-this.P,2)>Math.pow(5,2))this.D=!0};
g.h.QQ=function(a){this.C?this.fq():(!this.J||1!=this.g||this.D||this.M||this.G||!Ms(this,a.changedTouches)||(this.o=window.setTimeout((0,g.y)(this.fq,this),300)),this.g=a.touches.length,0==this.g&&(this.D=this.J=!1,this.A=[]),this.M=!1)};
g.h.Ix=function(){this.fq()};
g.h.fq=function(){this.o=0;this.dispatchEvent(new g.Ne("click"))};
g.h.W=function(){this.ad();this.B.dispose();this.B=null;Ks.aa.W.call(this)};var yfa=/#(.)(.)(.)(.)/,xfa=/^#(?:[0-9a-f]{4}){1,2}$/i;g.z(g.Ps,g.rf);g.h=g.Ps.prototype;g.h.yb=function(){return 1==this.g};
g.h.Sn=function(){this.xe("begin")};
g.h.nl=function(){this.xe("end")};
g.h.Fd=function(){this.xe("finish")};
g.h.xe=function(a){this.dispatchEvent(a)};var Ipa=wf(function(){if(g.sc)return g.kc("10.0");var a=g.je("DIV"),b=g.ee?"-webkit":g.ch?"-moz":g.sc?"-ms":g.Pe?"-o":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");b={style:c};if(!Dd.test("div"))throw Error("Invalid tag name <div>.");if("DIV"in hpa)throw Error("Tag name <div> is not allowed for SafeHtml.");b=Ed("div",b,void 0);a.innerHTML=g.Ad(b);return""!=dh(a.firstChild,"transition")});g.z(Rs,g.Ps);g.h=Rs.prototype;g.h.play=function(){if(this.yb())return!1;this.Sn();this.xe("play");this.startTime=(0,g.F)();this.g=1;if(Ipa())return g.ah(this.o,this.F),this.B=g.gg(this.IR,void 0,this),!0;this.tt(!1);return!1};
g.h.IR=function(){g.th(this.o);Qs(this.o,this.D);g.ah(this.o,this.A);this.B=g.gg((0,g.y)(this.tt,this,!1),1E3*this.C)};
g.h.stop=function(){this.yb()&&this.tt(!0)};
g.h.tt=function(a){g.ah(this.o,"transition","");g.hg(this.B);g.ah(this.o,this.A);this.endTime=(0,g.F)();this.g=0;a?this.xe("stop"):this.Fd();this.nl()};
g.h.W=function(){this.stop();Rs.aa.W.call(this)};
g.h.pause=function(){};g.z(Ss,g.rf);g.h=Ss.prototype;g.h.W=function(){null!=this.wi&&(g.hg(this.wi),this.wi=null);null!=this.Ge&&(g.qe(this.Ge),this.Ge=null);Ss.aa.W.call(this)};
g.h.sG=function(){this.wi=null;Ts(this,"0%","100%","1","0");this.wi=g.gg((0,g.y)(function(){this.wi=null;Us(this,!1);null!=this.Ge&&g.N(this.Ge,!1);this.Nk("complete")},this),400)};
g.h.show=function(a){this.Nk("impression");Ts(this,"100%","0%","0","1");Us(this,!0);null!=this.Ge&&g.N(this.Ge,!0);this.wi=g.gg(this.sG,a,this)};
g.h.TI=function(a){O.g()||a.stopPropagation()};
g.h.Nk=function(a){a=Rp({action:"condor-brand-precap",event:a,ei:"[EID]",cpn:"[CPN]",content_v:"[CONTENT_V]",ad_cpn:"[AD_CPN]",ad_v:"[AD_V]",ad_id:"[AD_ID]",ad_len:"[AD_LEN]"});a=g.lm(a,this.D.C);Rm(a)};g.z(Vs,Dp);g.z(Xs,Dp);g.h=Ys.prototype;
g.h.PA=function(){var a={heading:"",targetingReasons:[],learnMore:"",nq:"",control:"",mute:""};if(null!=this.C){a.heading=this.C.C;var b=this.C.o;if(b&&3==b.length){var c=b[1],d=b[2],b=Go(P(b[0])+Zq()+P(c)+Go("</a>")+P(d));a.nq=b}a.targetingReasons=g.qb(this.C.D);a.close=this.C.A}else a.nq=$q(),b=Ca("Got It"),a.close=""+b;null!=this.o&&(a.mute=this.o.B);at(this,Qea,a);$s(this,"videoAdUiWhyThisAdCloseButton",this.zm);$s(this,"videoAdUiWhyThisAdControl",this.yw);$s(this,"videoAdUiWhyThisAdMute",this.AR);
a=g.J("videoAdUiWhyThisAdGenericMessage",this.g);null!=a&&(a=a.getElementsByTagName("A")[0],null!=a&&this.B.V(a,"click",this.yw))};
g.h.zm=function(){null!=this.B&&(this.B.dispose(),this.B=null);Zs(this)&&null!=this.g&&(null!=this.A&&(bt(this,"why_this_ad_got_it"),this.A.dispose(),this.A=null),this.g.parentElement.removeChild(this.g),this.g=null)};
g.h.yw=function(){bt(this,"why_this_ad_settings_url")};
g.h.AR=function(){if(null!=this.o){bt(this,"mute_interaction_url");var a=Ws(this.o);if(0==a){var b={heading:"",message:"Are you sure you want to stop seeing this ad?",confirm:"YES",cancel:"CANCEL"};at(this,Sea,b);$s(this,"videoAdUiMuteCancel",this.PA);$s(this,"videoAdUiMuteConfirm",this.KG)}else{bt(this,"mute_url");b={heading:this.o.A,undo:this.o.D,question:this.o.C,options:[],confirm:"SEND",cancel:"CLOSE"};var c=this.o?(c=ep(this.o.g,"mute_undo_url"))&&0<c.length:!1;c||(b.undo="");for(c=0;c<a;c++)b.options.push(this.o.o[c].label);
at(this,Rea,b);$s(this,"videoAdUiMuteUndo",this.WS);$s(this,"videoAdUiMuteConfirm",this.ES);$s(this,"videoAdUiMuteCancel",this.Wp)}}};
g.h.KG=function(){bt(this,"mute_url");this.Wp()};
g.h.WS=function(){bt(this,"mute_undo_url");this.zm()};
g.h.ES=function(){if(null!=this.o){for(var a=Ws(this.o),b=!1,c=0;c<a;c++){var d=g.J("videoAdUiMuteOption"+c,this.g);if(null!=d&&d.checked){b=!0;Rm(this.o.o[c].url);break}}if(!b)return}this.Wp()};
g.h.Wp=function(){bt(this,"MUTE_AD");this.zm()};g.z(it,g.rf);var Bfa={1:"videoAdUiBrandInteractionHorizontalRect"},Afa=[1],Dfa=[1];it.prototype.update=function(a){this.X||(this.G=ft(this.o,.5),g.L(this,this.G),this.G.play(),g.N(this.o,!0),this.X=!0,Ffa(this));this.O=a};
it.prototype.ha=function(a){O.g()||a.stopPropagation();var b=a.target.Sh;null!=b&&(this.ga++,a=(0,g.F)(),g.Lp(b,"selected")?(g.R(this.o,"optionSelected"),null!=this.A&&g.Ip(this.A,"selected"),this.A=b):(g.Ip(this.o,"optionSelected"),this.A=null),Hfa(this),this.ka&&(gt(this.o).play(),g.gg(function(){g.N(this.o,!1)},500,this)),Gfa(this),b=jt(this),this.B.push(b),this.C.push(a.toString()),this.D.push(this.O.toString()))};
it.prototype.W=function(){null!=this.o&&(g.qe(this.o),this.o=null);this.A=null;it.aa.W.call(this)};g.z(lt,g.rf);lt.prototype.D=function(){this.g?this.dispatchEvent("videoUnmuteClicked"):this.dispatchEvent("videoMuteClicked")};
lt.prototype.W=function(){this.C.dispose();this.C=null;lt.aa.W.call(this)};g.z(mt,g.rf);mt.prototype.W=function(){null!=this.o&&(g.qe(this.o),this.o=null);mt.aa.W.call(this)};
mt.prototype.update=function(a,b){if(!(0>=b))if(0>a)this.F=1;else if(1==this.F)ft(this.o,.5).play(),g.N(this.o,!0),this.F=2,this.Nk("i");else if(this.B){var c=Math.round(b-a);0>c||g.ze(this.A,Wq({Ig:c}))}else this.M&&5<a&&(this.M=!1,g.N(this.A,!1))};
mt.prototype.P=function(){g.wh(this.A)||g.N(this.A,!0);this.K++;this.Nk("c")};
mt.prototype.Nk=function(a){this.O&&(a=Rp({action:"condor-video-preview",event:a,ei:"[EID]",cpn:"[CPN]",content_v:"[CONTENT_V]",ad_v:"[AD_V]",ad_id:"[AD_ID]",ad_len:"[AD_LEN]",m_pos:"[MIDROLL_POS]",show_countdown:Number(this.B),num_clicks:this.K}),a=g.lm(a,this.D.C),Rm(a))};g.z(nt,g.rf);var Jfa={1:"videoAdUiReasonToWatchBoxWhiteTheme"};nt.prototype.update=function(a){this.C||Kfa(this);!this.D&&10<=a&&Lfa(this)};
nt.prototype.W=function(){null!=this.g&&(g.qe(this.g),this.g=null);nt.aa.W.call(this)};g.z(g.ot,g.K);g.h=g.ot.prototype;g.h.start=function(){this.stop();this.A=!1;var a=pt(this),b=qt(this);a&&!b&&this.g.mozRequestAnimationFrame?(this.Ba=g.bf(this.g,"MozBeforePaint",this.o),this.g.mozRequestAnimationFrame(null),this.A=!0):this.Ba=a&&b?a.call(this.g,this.o):this.g.setTimeout(dba(this.o),20)};
g.h.Bk=function(){this.isActive()||this.start()};
g.h.stop=function(){if(this.isActive()){var a=pt(this),b=qt(this);a&&!b&&this.g.mozRequestAnimationFrame?g.mf(this.Ba):a&&b?b.call(this.g,this.Ba):this.g.clearTimeout(this.Ba)}this.Ba=null};
g.h.isActive=function(){return null!=this.Ba};
g.h.sH=function(){this.A&&this.Ba&&g.mf(this.Ba);this.Ba=null;this.C.call(this.B,(0,g.F)())};
g.h.W=function(){this.stop();g.ot.aa.W.call(this)};g.z(g.rt,g.K);g.h=g.rt.prototype;g.h.Ba=0;g.h.W=function(){g.rt.aa.W.call(this);this.stop();delete this.g;delete this.o};
g.h.start=function(a){this.stop();this.Ba=g.gg(this.A,g.t(a)?a:this.B)};
g.h.ce=function(a){this.isActive()||this.start(a)};
g.h.stop=function(){this.isActive()&&g.hg(this.Ba);this.Ba=0};
g.h.isActive=function(){return 0!=this.Ba};
g.h.fx=function(){this.Ba=0;this.g&&this.g.call(this.o)};g.xt={};g.vt=null;g.z(At,g.rf);g.h=At.prototype;g.h.W=function(){g.Le(this.B);this.B=null;g.Le(this.G);this.G=null;null!=this.A&&(g.qe(this.A),this.A=null);null!=this.skipButton&&(this.skipButton=null);null!=this.o&&(g.qe(this.o),this.o=null);this.X.dispose();this.X=null;this.gc.dispose();this.gc=null;At.aa.W.call(this)};
g.h.update=function(a,b){this.da=b;this.Vp(a);2==this.state&&zt(this,a)};
g.h.skip=function(){return null==this.config.skipOffset||3!=this.state||this.ba?!1:(this.ba=!0,this.dispatchEvent("PUBLISHER_INVOKED_SKIP"),!0)};
g.h.Vp=function(a){if(!(0>=this.da||null==this.config.skipOffset||0>ip(this.config.skipOffset))){var b=ip(this.config.skipOffset);b>=this.da||3==this.state||(0>a?this.state=1:a<=b?(2!=this.state&&(zt(this,0),ft(this.A,.5).play(),g.N(this.A,!0)),this.state=2):(3!=this.state&&this.Av(),this.state=3,this.dispatchEvent("skipshown")))}};
g.h.Av=function(){g.N(this.o,!0);this.G=Bt(this.A);this.G.play();this.B=ft(this.o,.5);this.B.play();this.skipButton.autofocus&&this.skipButton.focus()};
g.h.CS=function(a){O.g()||a.stopPropagation();3!=this.state||this.ba||(this.ba=!0,this.dispatchEvent("skip"))};g.z(Ht,At);var Dt={Fw:0,Ew:1},Et={Fw:1,Ew:0},Ft={rw:15},Gt={rw:300};g.h=Ht.prototype;g.h.W=function(){Ht.aa.W.call(this);Jt(this);Lt(this)};
g.h.Vp=function(a){Ht.aa.Vp.call(this,a);if(3==this.state&&!this.ha&&!this.fa){var b=Nt(this.P,this.g);if(a=Mt(a,this.config,this.P))if(this.F==this.K.Fw&&a>=b)switch(this.K){case Dt:It(this);break;case Et:Kt(this,!0)}else if(this.F==this.K.Ew&&a<b)switch(this.K){case Et:It(this);break;case Dt:Kt(this,!0)}}};
g.h.Av=function(){g.N(this.o,!0);this.G=Bt(this.A);this.G.play();if(this.ha)var a=!1;else{a=Nt(this.P,this.g);var b=Mt(ip(this.config.skipOffset),this.config,this.P);if(null!=b){var c=!1;switch(this.K){case Et:c=b<a;break;case Dt:c=b>a}a=c}else a=!1}a?(this.F=1,this.B=et(this.o,.5,"ease-in",0,.5)):this.B=ft(this.o,.5);this.B.play();this.skipButton.autofocus&&this.skipButton.focus();this.ha||(this.gc.V(g.we(this.o),"mouseover",this.YM),this.gc.V(g.we(this.o),"mouseout",this.XM))};
g.h.YM=function(){Lt(this);0!=this.F&&Kt(this,!1);this.fa=!0};
g.h.XM=function(){Lt(this);this.M=g.gg(function(){this.fa=!1;this.M=null},5E3,this)};Ot.prototype.getDuration=function(){return this.o};
Ot.prototype.Gc=function(){return this.g};
Ot.prototype.update=function(a,b){var c=null!=this.F?ip(this.F):0;this.o=0<=this.o?this.o:b;c<=a&&c+this.o>=a?Ofa(this):g.N(this.g,!1)};var Jpa={qu:{1E3:{other:"0K"},1E4:{other:"00K"},1E5:{other:"000K"},1E6:{other:"0M"},1E7:{other:"00M"},1E8:{other:"000M"},1E9:{other:"0B"},1E10:{other:"00B"},1E11:{other:"000B"},1E12:{other:"0T"},1E13:{other:"00T"},1E14:{other:"000T"}},QD:{1E3:{other:"0 thousand"},1E4:{other:"00 thousand"},1E5:{other:"000 thousand"},1E6:{other:"0 million"},1E7:{other:"00 million"},1E8:{other:"000 million"},1E9:{other:"0 billion"},1E10:{other:"00 billion"},1E11:{other:"000 billion"},1E12:{other:"0 trillion"},1E13:{other:"00 trillion"},
1E14:{other:"000 trillion"}}},au=Jpa,au=Jpa;var St={AED:[2,"dh","\u062f.\u0625.","DH"],ALL:[0,"Lek","Lek"],AUD:[2,"$","AU$"],BDT:[2,"\u09f3","Tk"],BGN:[2,"lev","lev"],BRL:[2,"R$","R$"],CAD:[2,"$","C$"],CDF:[2,"FrCD","CDF"],CHF:[2,"CHF","CHF"],CLP:[0,"$","CL$"],CNY:[2,"\u00a5","RMB\u00a5"],COP:[32,"$","COL$"],CRC:[0,"\u20a1","CR\u20a1"],CZK:[50,"K\u010d","K\u010d"],DKK:[50,"kr.","kr."],DOP:[2,"RD$","RD$"],EGP:[2,"\u00a3","LE"],ETB:[2,"Birr","Birr"],EUR:[2,"\u20ac","\u20ac"],GBP:[2,"\u00a3","GB\u00a3"],HKD:[2,"$","HK$"],HRK:[2,"kn","kn"],HUF:[34,
"Ft","Ft"],IDR:[0,"Rp","Rp"],ILS:[34,"\u20aa","IL\u20aa"],INR:[2,"\u20b9","Rs"],IRR:[0,"Rial","IRR"],ISK:[0,"kr","kr"],JMD:[2,"$","JA$"],JPY:[0,"\u00a5","JP\u00a5"],KRW:[0,"\u20a9","KR\u20a9"],LKR:[2,"Rs","SLRs"],LTL:[2,"Lt","Lt"],MNT:[0,"\u20ae","MN\u20ae"],MVR:[2,"Rf","MVR"],MXN:[2,"$","Mex$"],MYR:[2,"RM","RM"],NOK:[50,"kr","NOkr"],PAB:[2,"B/.","B/."],PEN:[2,"S/.","S/."],PHP:[2,"\u20b1","PHP"],PKR:[0,"Rs","PKRs."],PLN:[50,"z\u0142","z\u0142"],RON:[2,"RON","RON"],RSD:[0,"din","RSD"],RUB:[50,"\u20bd",
"RUB"],SAR:[2,"Rial","Rial"],SEK:[50,"kr","kr"],SGD:[2,"$","S$"],THB:[2,"\u0e3f","THB"],TRY:[2,"TL","YTL"],TWD:[2,"NT$","NT$"],TZS:[0,"TSh","TSh"],UAH:[2,"\u0433\u0440\u043d.","UAH"],USD:[2,"$","US$"],UYU:[2,"$","$U"],VND:[48,"\u20ab","VN\u20ab"],YER:[0,"Rial","Rial"],ZAR:[2,"R","ZAR"]};var Kpa={uu:".",gp:",",Ju:"%",vp:"0",qF:"+",ZE:"-",yu:"E",Ku:"\u2030",hp:"\u221e",dF:"NaN",tu:"#,##0.###",AF:"#E0",pF:"#,##0%",gE:"\u00a4#,##0.00",kE:"USD"},Qt=Kpa,Qt=Kpa;Ut.prototype.parse=function(a,b){var c=b||[0];if(0!=this.K)throw Error("Parsing of compact numbers is unimplemented");a=a.replace(/ /g,"\u00a0");var d=a.indexOf(this.G,c[0])==c[0],e=a.indexOf(this.C,c[0])==c[0];d&&e&&(this.G.length>this.C.length?e=!1:this.G.length<this.C.length&&(d=!1));d?c[0]+=this.G.length:e&&(c[0]+=this.C.length);if(a.indexOf(Qt.hp,c[0])==c[0]){c[0]+=Qt.hp.length;var f=window.Infinity}else{f=a;var k=!1,l=!1,m=!1,n=-1,q=1,r=Qt.uu,w=Qt.gp,A=Qt.yu;if(0!=this.K)throw Error("Parsing of compact style numbers is not implemented");
for(var C="";c[0]<f.length;c[0]++){var B=f.charAt(c[0]),M=$t(B);if(0<=M&&9>=M)C+=M,m=!0;else if(B==r.charAt(0)){if(k||l)break;C+=".";k=!0}else if(B==w.charAt(0)&&("\u00a0"!=w.charAt(0)||c[0]+1<f.length&&0<=$t(f.charAt(c[0]+1)))){if(k||l)break}else if(B==A.charAt(0)){if(l)break;C+="E";l=!0;n=c[0]}else if("+"==B||"-"==B){if(m&&n!=c[0]-1)break;C+=B}else if(1==this.g&&B==Qt.Ju.charAt(0)){if(1!=q)break;q=100;if(m){c[0]++;break}}else if(1==this.g&&B==Qt.Ku.charAt(0)){if(1!=q)break;q=1E3;if(m){c[0]++;break}}else break}1!=
this.g&&(q=this.g);f=(0,window.parseFloat)(C)/q}if(d){if(a.indexOf(this.O,c[0])!=c[0])return window.NaN;c[0]+=this.O.length}else if(e){if(a.indexOf(this.J,c[0])!=c[0])return window.NaN;c[0]+=this.J.length}return e?-f:f};
Ut.prototype.format=function(a){if((0,window.isNaN)(a))return Qt.dF;var b=[];var c=a;if(0==this.K)c=bu;else{c=Math.abs(c);var d=cu(this,1>=c?0:du(c)).gq;c=cu(this,d+du(Xt(this,c/Math.pow(10,d)).intValue))}a/=Math.pow(10,c.gq);b.push(c.prefix);d=0>a||0==a&&0>1/a;b.push(d?this.C:this.G);if((0,window.isFinite)(a))if(a=a*(d?-1:1)*this.g,this.ca){var e=a;if(0==e)Yt(this,e,this.o,b),Zt(this,0,b);else{a=Math.floor(Math.log(e)/Math.log(10)+2E-15);var f=Math.pow(10,a);(0,window.isFinite)(f)&&0!==f?e/=f:(f=
Math.pow(10,Math.floor(a/2)),e=e/f/f,1==a%2&&(e=0<a?e/10:10*e));f=this.o;if(1<this.P&&this.P>this.o){for(;0!=a%this.P;)e*=10,a--;f=1}else 1>this.o?(a++,e/=10):(a-=this.o-1,e*=Math.pow(10,this.o-1));Yt(this,e,f,b);Zt(this,a,b)}}else Yt(this,a,this.o,b);else b.push(Qt.hp);b.push(d?this.J:this.O);b.push(c.TB);return b.join("")};
var bu={prefix:"",TB:"",gq:0};g.z(fu,g.rf);g.h=fu.prototype;g.h.show=function(){null!=this.o&&g.N(this.o,!0)};
g.h.skip=function(){var a;if(a=null!=this.B)a=this.B,a=null!=a.config.skipOffset&&3==a.state;return a?this.B.skip():!1};
g.h.W=function(){null!=this.o&&(g.qe(this.o),this.o=null);hu(this);(0,g.G)(this.da,function(a){a.ad()});
this.da=[];this.C=null;this.A.dispose();this.A=null;this.Gb=!1;fu.aa.W.call(this)};
g.h.update=function(a,b,c,d,e){this.Gb=!0;null!=this.o&&(null!=this.Aa&&Qfa(this,a,c,d,e),null!=this.ka&&g.rh(this.ka,a/c*100+"%"),null!=this.Ab&&g.rh(this.Ab,b/c*100+"%"),0<c&&null!=this.g.skipOffset&&null!=this.B&&(hp(this.g.skipOffset,c),this.B.update(a,c)),0<c&&null!=this.ua&&this.ua.update(a),0<c&&null!=this.va&&this.va.update(a),0<c&&null!=this.K&&this.K.update(a,c),this.g.P&&0<c&&5>c-a&&g.R(this.ha,"videoAdUiTopBarNoFade"),(0,g.G)(this.Pa,function(b){b.update(a,c)},this))};
g.h.uG=function(){this.dispatchEvent("videoAuthorIconClicked")};
g.h.vG=function(){this.dispatchEvent("videoAuthorClicked")};
g.h.yI=function(a){var b=a.G;a=a.J;D(g.E(b))||this.dispatchEvent(new rm("videoIconClicked",null,{clickThroughUrl:b}));(0,g.G)(a,function(a){Rm(a)})};
g.h.jy=function(){this.dispatchEvent("videoLearnMoreClicked")};
g.h.zS=function(){this.dispatchEvent("videoShareClicked")};
g.h.LS=function(){this.dispatchEvent("videoTitleClicked")};
g.h.VI=function(a){a.preventDefault()};
g.h.Jo=function(){this.dispatchEvent("click")};
g.h.Bb=function(){null!=this.Pa&&(0,g.G)(this.Pa,function(a){Pt(a)},this)};
g.h.wS=function(){g.R(this.ha,"videoAdUiTopBarTransitions")};
g.h.CR=function(){var a=g.Ge(this.o,"html5-video-player");if(null!=a){var b=this.g.K;null!=a&&(b.B=new g.cm(b),b.A=new g.rf,b.A.yh(this),b.D=a,b.PA(),bt(b,"why_this_ad_url"));null!=this.B&&Ct(this.B,!1);null!=this.K&&(a=this.K,null!=a.g&&g.N(a.g,!1))}};
g.h.iT=function(){null!=this.B&&Ct(this.B,!0);if(null!=this.K){var a=this.K;null!=a.g&&g.N(a.g,!0)}};g.z(nu,g.K);nu.prototype.K=function(a,b,c){c=g.Xb(c||{});if("timeout"==(c.viewability||"")){var d=this.G[a];null!=d&&(c.viewability=d)}if("impression"==a&&!this.J&&null!=this.D&&0<this.D.length){var d=O.K&&g.gb(this.F,"impression"),e=pu(this,this.D,c);qu(this,e,d);this.J=!0}Tfa(this,a)&&0<b.length&&(d=O.K&&g.gb(this.F,a),b=pu(this,b,c),qu(this,b,d),this.o.set(a,!0))};g.z(ru,g.rf);g.h=ru.prototype;g.h.xk=function(){if(this.zb()){var a=Hs(this.Zc);if(null!=a)return a}return""};
g.h.wk=function(){if(this.zb()){var a=Is(this.Zc);if(null!=a)return a}return""};
g.h.We=function(){return g.ib(this.ads)?null:this.ads[0]};
g.h.ma=function(){if(this.zb()){if(this.Zc.isSkippable()&&!tn())throw Zm(bB,null,"skippablevideo");if(null!=Ds(this.Zc)&&uu(this,this.Zc.o))throw Zm(bB,null,"vpaidWithSkippabilityOverride");return this.Zc}throw Zm(xu,null,"An ad has not been selected.\n"+Error().stack);};
g.h.zb=function(){return null!==this.Zc};
g.h.vl=function(){var a=(0,g.fb)(this.ads,this.Zc);-1!=a&&++a<this.ads.length?tu(this,this.ads[a]):tu(this,null)};
g.h.Fk=function(){var a=(0,g.fb)(this.ads,this.Zc);return-1==a?!1:a+1<this.ads.length};
g.h.Xe=function(){return this.Fk()?this.ads[(0,g.fb)(this.ads,this.Zc)+1]:null};
g.h.Wg=function(a){var b=a.o;if(b&&b.ga&&(b=b.F,!g.ib(b)&&b[0]instanceof pp))return b[0].Wg();b=a.g;return vu(a)?b.Wg():[]};
g.h.oo=function(){if(!this.zb()){if(g.ib(this.ads))throw Zm(OB);tu(this,this.ads[0]);if(null==this.Zc.g)throw Ym(OB);}};
g.h.la=function(a,b){var c=this.zb()?this.ma():null;this.dispatchEvent(new rm(a,c,b))};
g.h.Dg=function(a){this.Jd=a};
g.h.fb=function(){null==this.gc&&(this.gc=new g.cm(this));return this.gc};
g.h.dO=function(){};
g.h.zs=function(){};
g.h.zd=function(a){if(null!=this.Jd){jm(this.te);hm(this.te,this.Jd,"companion_display_error",function(){});
var b=this.Jd.zd(a);null!=b&&(this.te.V(b,"companion_impression",this.dO),this.te.V(b,"companion_click",this.zs),O.g()&&(a=new Js(a,b),this.la("companionInitialized",a)));if(!this.Jd.Cv())throw Zm(Y2);}};
g.h.destroy=function(){this.dispose()};
g.h.W=function(){this.zb()&&(gq(this.Zc,null),this.Zc=null);g.Le(this.gc);this.Jd=this.gc=null;this.Dm=!1;O.o?lo(ho(),this.Ko):Qn().F=null;this.Ka&&(g.Le(this.Ka),this.Ka=null);ru.aa.W.call(this)};
g.h.Ve=function(){return[]};
g.h.Mb=function(){return this.ads[0]};
g.h.ij=function(){(0,g.G)(this.ads,function(a){var b;for(b=a.getExtension("sodar");!b&&(a=a.o);)b=a.getExtension("sodar");if(b){var c=b.B;a=b.A;var d=b.C,e=b.o;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){var d=window,c=d.document,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=
c.createElement("script");a.type="text/javascript";a.async=!0;a.src=b;c.getElementsByTagName("head")[0].appendChild(a)}}})};
g.h.init=function(a){yu(this);this.Bc(a);this.de=!0;this.vj();O.o||(Qn().F=this.Ko)};
g.h.vj=function(){this.la("loaded")};
g.h.Fj=function(a){this.zb()&&O.g()&&Vm(Ur(this.ma()),a)};
g.h.CB=g.x;g.h.Tc=function(a,b,c){if(!this.Dm){if(null==a)throw Zm(Vn,null,"displayContainer");null!=c&&this.Qe(c);this.content=b;this.Ra=a;this.oo();this.Ga=this.Ra.nn(Ufa(this));this.Dm=!0}};
g.h.Cg=function(a){a=eo(Jr(a),"rm")?a.ba:Ur(a);(0,g.G)(a,function(a){g.kb(this.Ub.D,a)},this)};
g.h.Zf=function(a,b){(0,g.G)(b,function(b){b=mp(a,b);fp(this.Ub.A,b)},this)};
g.h.Bj=function(a){if(a instanceof pp){var b=qp(a);(0,g.G)(b.Cb(),function(a){var c=b.get(a);(0,g.G)(c,function(b){gp(this.Ub.A,a,b)},this)},this)}};
g.h.Ha=function(a){ou(this.Ub,new g.Ne(a))};
g.h.getCurrentTime=function(){return-1};
g.h.getDuration=function(){return-1};
g.h.Nc=function(){return-1};
g.h.yb=function(){return null!=this.Ga?this.Ga.yb():!1};
g.h.Bb=function(a,b,c){this.Bc(c)};
g.h.pause=g.x;g.h.resume=g.x;g.h.skip=g.x;g.h.muteAd=g.x;g.h.whyThisAdClicked=g.x;g.h.whyThisAdClosed=g.x;g.h.Qe=function(a){if(null==a||!Vfa(this,a))throw Zm(Vn,null,"adsRenderingSettings should be instance of AdsRenderingSettings");var b=this.Ta;if(null==a.bitrate||0>=a.bitrate)a.bitrate=-1;null==a.mimeTypes&&(a.mimeTypes=[]);Wfa(a.mimeTypes);if(!g.oa(a.jf)||0>=a.jf)a.jf=Ln();g.$b(b,a)};
g.h.start=function(){yu(this);if(!this.de)throw Ym(xu,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)&&bn(this,Vn,null,"volume",String(a));this.volume=a};
g.h.expand=function(){yu(this);this.Bc("fullscreen")};
g.h.collapse=function(){yu(this);this.Bc("normal")};
g.h.Bc=function(a){if(!Nb(vpa,a))throw Zm(Vn,null,"view mode",a);this.cd=a};
g.h.Kc=function(){return this.Dm};
g.h.hasListeners=function(a){return(0,g.zr)(a,function(a){if(g.Te(this))a=af(this.ye,g.t(a)?String(a):void 0);else{var b=g.ef(this);a=!!b&&af(b,a)}return a},this)};
g.h.Xg=function(){return null};
g.h.Zi=function(){return null};
g.h.GB=function(){return null};
g.h.Ae=function(){return null};
g.h.qf=function(){this.Ha("abandon")};
g.h.qH=function(){return{currentTime:this.getCurrentTime(),duration:this.getDuration(),isPlaying:this.yb(),isVpaid:this.zb()&&null!=Ds(this.ma()),isYouTube:O.g(),volume:this.getVolume()}};
g.h.Lk=function(a){do if(ts(a))return!1;while(a=a.o);return!0};
g.h.Kk=function(){for(var a=0;a<this.ads.length;++a)if(!this.Lk(this.ads[a]))return!1;return dn()};
g.h.ZR=function(a){var b=g.pb(V2,g.Ob(X2));ub(b);(0,g.G)(b,function(b){var c=ep(a.g,b);g.ib(c)||this.Ps(b,c)},this);
Sfa(this.Ub,a.J)};
g.h.Ps=function(a,b){(0,g.G)(b,function(a){gp(this.Ub.A,a.bc(),a.g)},this)};
g.h.MO=function(a){this.Ta.tw||(a=a.g,null!=a&&(a=a.clickThroughUrl,null!=a&&(Qm(a),this.pause())))};
g.h.wj=function(a){var b=a.type;if(g.gb(W2,b)){if("externalActivityEvent"==b&&(b=a.g.eventName,!X2[b]))return;wu(this,b)}};var Fu=["classid","data","movie","type","typemustmatch"];g.ra(g.Gu);g.Gu.prototype.g=0;g.z(g.Hu,g.rf);g.h=g.Hu.prototype;g.h.CI=g.Gu.getInstance();g.h.getId=function(){return this.Ba||(this.Ba=":"+(this.CI.g++).toString(36))};
g.h.ra=function(){return this.g};
g.h.yh=function(a){if(this.B&&this.B!=a)throw Error("Method not supported");g.Hu.aa.yh.call(this,a)};
g.h.hn=function(){this.g=this.J.createElement("DIV")};
g.h.Ri=function(){this.He=!0;Ju(this,function(a){!a.He&&a.ra()&&a.Ri()})};
g.h.qk=function(){Ju(this,function(a){a.He&&a.qk()});
this.D&&jm(this.D);this.He=!1};
g.h.W=function(){this.He&&this.qk();this.D&&(this.D.dispose(),delete this.D);Ju(this,function(a){a.dispose()});
this.g&&g.qe(this.g);this.B=this.g=this.F=this.M=null;g.Hu.aa.W.call(this)};
g.h.Gc=function(){return this.g};
g.h.removeChild=function(a,b){if(a){var c=g.u(a)?a:a.getId();a=this.F&&c?Wb(this.F,c)||null:null;if(c&&a){Vb(this.F,c);g.nb(this.M,a);b&&(a.qk(),a.g&&g.qe(a.g));c=a;if(null==c)throw Error("Unable to set parent component");c.B=null;g.Hu.aa.yh.call(c,null)}}if(!a)throw Error("Child is not in parent component");return a};g.z(Ku,g.Hu);g.h=Ku.prototype;g.h.gb=null;g.h.Oo="window";g.h.dm="sameDomain";g.h.setSize=function(a,b){this.G=g.u(a)?a:Math.round(a)+"px";this.C=g.u(b)?b:Math.round(b)+"px";this.ra()&&g.sh(Lu(this),this.G,this.C);return this};
g.h.Ri=function(){Ku.aa.Ri.call(this);for(var a=this.ra(),b=this.o.Cb(),c=this.o.ib(),d=[],e=0;e<b.length;e++){var f=g.Ha(b[e]),k=g.Ha(c[e]);d.push(f+"="+k)}var b=d.join("&");if(g.sc&&!g.lc(11)){d=this.K;c={allowFullScreen:"true",AllowScriptAccess:this.dm,allowNetworking:"all",bgcolor:"#000000",FlashVars:b,quality:"high",SeamlessTabbing:"false",wmode:this.Oo};b={"class":"goog-ui-media-flash-object",id:this.getId(),name:this.getId()};Xfa(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(Ed("param",{name:l,value:d[l]}));var l=Fd({classid:"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"},{},b);l=Ed("object",l,c)}else l={AllowScriptAccess:this.dm,allowFullScreen:"true",allowNetworking:"all",bgcolor:"#000000","class":"goog-ui-media-flash-object",FlashVars:b,id:this.getId(),name:this.getId(),quality:"high",SeamlessTabbing:"false",wmode:this.Oo},l=Fd({src:this.K,type:"application/x-shockwave-flash",
pluginspage:"https://www.macromedia.com/go/getflashplayer"},{allownetworking:"none",allowscriptaccess:"never"},l),l=Ed("embed",l);a.innerHTML=g.Ad(l);this.G&&this.C&&this.setSize(this.G,this.C);this.A.V(this.ra(),g.Ob(jpa),Oe)};
g.h.hn=function(){if(null!=this.O&&!(0<=g.Ta(ni,this.O)))throw Error("Method not supported");var a=this.J.createElement("DIV");a.className="goog-ui-media-flash";this.g=a};
g.h.W=function(){Ku.aa.W.call(this);this.o=null;this.A.dispose();this.A=null};
g.h.Rb=function(){return this.He&&this.ra()?g.SN&&Lu(this).readyState&&"complete"==Lu(this).readyState||Lu(this).readyState&&4==Lu(this).readyState||"PercentLoaded"in Lu(this)&&100==Lu(this).PercentLoaded()?!0:!1:!1};g.z(Mu,g.rf);var Lpa=sd(id(jd("https://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf")));sd(id(jd("http://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf")));g.h=Mu.prototype;g.h.dispose=function(){this.g&&(this.g.dispose(),this.o=null);window[this.A]&&delete window[this.A];g.hg(this.B)};
g.h.load=function(a,b,c,d){window[this.A]=(0,g.y)(this.EI,this);this.g=new Ku(Lpa);this.g.setSize(b,c);this.g.dm="always";this.g.Oo="transparent";this.g.o.set("vpaid",a);this.g.o.set("vpaidEventHandler",this.A);Iu(this.g,this.D);this.o=Lu(this.g);this.B=g.gg(this.FI,d,this)};
g.h.DI=function(a){if(!this.o)return null;var b=Array.prototype.slice.call(arguments),c=b.shift();if(!this.C&&"handshakeVersion"!=c&&"initAd"!=c)return null;try{if(this.o[c])return this.o[c].apply(this.o,b)}catch(d){}return null};
g.h.EI=function(a,b){"AdLoaded"==a&&(g.hg(this.B),this.C=!0);this.dispatchEvent(new cn(a,b||null))};
g.h.FI=function(){this.dispatchEvent("loadError")};g.z(Pu,wp);Pu.prototype.og=function(){var a=this.lr(),a=null!=a&&"clicktag"==a.toLowerCase(),a={url:Mm(g.E(this.A)),width:this.Eb(),height:this.getHeight(),Lc:this.ff(),capture:this.Kv||!a},b=O.g()&&eo(this.G,"hideMaster")?ap:Rda,a=Mp(b,a);a.style.width=this.Eb()+"px";a.style.height=this.getHeight()+"px";a.id=this.Ba;(0,g.G)(a.getElementsByTagName("object"),this.Ji,this);(0,g.G)(a.getElementsByTagName("a"),this.Ji,this);return a};g.z(Qu,wp);Qu.prototype.og=function(){var a=g.he("DIV");a.innerHTML=this.A;this.Ji(a);return Ap(this,a)};g.z(Ru,wp);Ru.prototype.nd=function(){var a=Ru.aa.nd.call(this);this.D&&(a=a.replace('src=""','src="'+Mm(g.E(this.A))+'"'));return a};
Ru.prototype.pr=function(){var a=Ru.aa.pr.call(this);this.D&&(a=a.replace('src=""','src="'+Mm(g.E(this.A))+'"'));return a};
Ru.prototype.og=function(a){var b="";this.D||(b=Mm(g.E(this.A)));b={id:this.Ba,url:b,Lc:this.ff(),width:this.Eb()+"px",height:this.getHeight()+"px"};a=O.g()&&eo(this.G,"hideMaster")?ap:a?Tda:Sda;a=Mp(a,b);(0,g.G)(a.getElementsByTagName("a"),this.Ji,this);return a};
Ru.prototype.Hk=function(){return!0};Uu.prototype.od=function(){return null!=this.g?tp[this.g]||"Other":null};g.z(Vu,Dp);Wu.prototype.parse=function(a){if(null==a)return null;var b,c,d;(0,g.G)(g.te(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 Vu(b,c,d):null};g.z(Yu,Dp);Yu.prototype.isPharma=function(){return this.F};Zu.prototype.parse=function(a){var b;tr(a,"config",function(a){null!=b||(b=cga(this,a))},this);
return b};$u.prototype.parse=function(a){if(null==a)return null;var b,c,d,e,f,k,l,m=!1,n=!1;(0,g.G)(g.te(a),function(a){switch(a.nodeName){case "AttributionText":c=sr(a);break;case "AttributionUrl":d=sr(a);break;case "ConversionUrl":f=sr(a);break;case "CustomTracking":null!=g.te(a)&&(e=Cr(a));break;case "is_pharma":a=rr(a,"bool");n=wr(g.E(a));break;case "CheckedEvents":a=g.te(a);b=(0,g.H)(a,function(a){return rr(a,"id")});
null!=b||(b=[]);break;case "PreviousAdInformation":sr(a);break;case "VisibleUrl":k=sr(a);break;case "UI":l=(new Zu).parse(a);break;case "ShowYouTubeAnnotations":var q=sr(a);m=wr(g.E(q),!1);case "QueryId":sr(a)}},this);
null!=l||(l=new Xu);return new Yu(c,d,f,0,k,l,m,0,n,e,b)};av.prototype.parse=function(a){if(null==a)return null;var b;(0,g.G)(g.te(a),function(a){switch(a.nodeName){case "CustomTracking":null!=g.te(a)&&(b=Cr(a))}});
a=null;null!=b&&0<ep(b,"skip").length&&(a="Generic");return new Fr(a,b)};bv.prototype.parse=function(a){if(null==a)return null;var b,c;(0,g.G)(g.te(a),function(a){switch(a.nodeName){case "SkippableAdType":b=sr(a);break;case "CustomTracking":null!=g.te(a)&&(c=Cr(a))}});
return new Fr(b,c)};cv.prototype.parse=function(a){if(null==a)return null;var b;(0,g.G)(g.te(a),function(a){switch(a.nodeName){case "CustomTracking":null!=g.te(a)&&(b=Cr(a))}},this);
return new Dp(b)};var a3;g.z(hv,dv);var b3;g.z(iv,dv);var c3,d3;g.z(jv,dv);var pv;g.z(kv,dv);var wv;g.z(lv,dv);var e3;g.z(mv,dv);var f3;g.z(nv,dv);var g3,h3;g.z(ov,dv);var i3,j3,k3,yv;g.z(os,dv);var l3,m3,n3,o3,qfa={TF:0,UF:1,X0:2,g1:3,gv:4,e1:5,f1:6},p3={TF:0,c1:1,a1:2,Y0:3,Z0:4,b1:5,W0:6,d1:7,SF:8,PF:9,QF:10,RF:11};iv.prototype.bc=function(){return ev(this,"type",0)};
iv.prototype.g=function(){return new ov(this.data.website_card)};
kv.prototype.bc=function(){return ev(this,"type",0)};
kv.prototype.getId=function(){return dr(this,"id")};
kv.prototype.setTitle=function(a){this.data.title=a};
lv.prototype.bc=function(){return ev(this,"type",0)};
mv.prototype.pd=function(){return dr(this,"headline")};
mv.prototype.setDescription=function(a){this.data.description=a};
nv.prototype.setDescription=function(a){this.data.description=a};
ov.prototype.pd=function(){return dr(this,"headline")};
ov.prototype.setDescription=function(a){this.data.description=a};
ov.prototype.sg=function(){return new os(this.data.icon)};
ov.prototype.Vm=function(){return new os(this.data.banner_image)};
os.prototype.getImageUrl=function(){return dr(this,"image_url")};var Cv;
Cv={action:{type:{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_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_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_EXPAND:2,TYPE_HEADLINE_CLICK:5,TYPE_IMPRESSION:1,TYPE_IMPRESSION_ENDCAP:8,TYPE_IMPRESSION_GALLERY:7,TYPE_NONE:0}},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}}};g.z(Av,Dp);Bv.prototype.parse=function(a){var b=mr(a);if(D(g.E(b)))return null;if(this.g){var c=Dv;if(!a3){var d={};a3={g:d};if(!b3){var e={};b3={g:e};e.type=qv;if(!c3){var f={};c3={g:f};f.major_version=zv;f.minor_version=zv}e.version=Mh(c3);e.priority=zv;e.start_time_ms=Kh("j");e.end_time_ms=Kh("j");e.action=Lh(vv());e.event=Lh(uv());i3||(f={},i3={g:f},f.headline=rv,f.description=rv,f.attribution_icon_url=rv,f.skippable_seconds=zv,f.attribution_position=qv);e.ad_card=Mh(i3);if(!e3){f={};e3={g:f};f.headline=
rv;f.image=Mh(tv());f.description=rv;f.rating=P2;f.review_text=rv;if(!f3){var k={};f3={g:k};k.merchant=rv;k.price=rv;k.shipping=rv;k.shipping_tax=rv;k.condition=rv;k.unit_price=rv;k.energy_label=rv;k.description=rv;k.rating=P2;k.review_text=rv;k.action=Lh(vv());k.event=Lh(uv())}f.offer=Lh(f3)}e.product_card=Mh(e3);g3||(f={},g3={g:f},f.app_id=rv,f.app_name=rv,f.icon=Mh(tv()),f.price=rv,f.rating_image=rv,f.review_count=zv,f.app_store_logo=Mh(tv()),f.button_text=rv,f.screenshots=Lh(tv()),f.rating=P2,
f.back_button_text=rv,f.screenshots_text=rv,f.cover_photo=Mh(tv()));e.app_card=Mh(g3);h3||(f={},h3={g:f},f.headline=rv,f.description=rv,f.icon=Mh(tv()),f.banner_image=Mh(tv()));e.website_card=Mh(h3);e.prominence=qv;j3||(f={},j3={g:f},f.call_to_action_text=rv);e.social_card=Mh(j3);k3||(f={},k3={g:f},f.vote_line_1=rv,f.vote_line_2=rv,f.confirm_line_1=rv,f.confirm_line_2=rv);e.vote_card=Mh(k3);e.sponsored=Q2;e.teaser_text=rv;d3||(f={},d3={g:f},f.hide_in_drawer=Q2,f.show_in_endcap=Q2,f.show_in_companion=
Q2,f.show_in_cta=Q2,f.override_clickthrough=Q2,f.show_in_promotion_shelf=Q2);e.placement=Mh(d3);l3||(f={},l3={g:f},f.latitude_e6=zv,f.longitude_e6=zv,f.address=rv,f.image=Mh(tv()),f.headline=rv);e.location_card=Mh(l3);m3||(f={},m3={g:f},f.icon=Mh(tv()),f.display_name=rv,f.latitude_e7=zv,f.longitude_e7=zv,o3||(k={},o3={g:k},k.display_address=rv,k.city_province=rv),f.address=Mh(o3),f.display_phone_number=rv,n3||(k={},n3={g:k},k.day_of_week=qv,k.display_day_of_week=rv,k.display_hours=rv),f.open_hours=
Lh(n3),f.images=Lh(tv()),f.distance_to_user_meters=zv,f.average_rating=zv,f.num_reviews=zv);e.merchant_location=Mh(m3)}d.card=Lh(b3);d.event=Lh(uv())}a=c(this,a,a3);a=c=new hv(a);d=new bp;for(e=0;e<gv(a,"card");e++)if(f=new iv(fv(a,"card",e)),ms(ns(f)))for(k=0;k<gv(f,"event");k++){var l=new lv(fv(f,"event",k)),m=null;switch(l.bc()){case p3.PF:m="video_card_endcap_action";break;case p3.QF:m="video_card_endcap_collapse";break;case p3.RF:m="video_card_endcap_dismiss";break;case p3.SF:m="video_card_endcap_impression"}m&&
gp(d,m,Ev(m,dr(l,"base_url")))}a=d}else a=dga(this,a);return new Av(b,c,a)};g.z(Fv,Dp);Fv.prototype.Vg=function(){return this.o};g.z(Gv,Dp);Hv.prototype.parse=function(a){if(!a)return null;var b,c;(0,g.G)(g.te(a),function(a){switch(a.nodeName){case "FeEventId":b=sr(a);break;case "AdEventId":c=sr(a)}},this);
return new Gv(b,c)};Iv.prototype.C=function(a){var b={};(0,g.G)(this.o,function(a){b[a]=[]});
var c=new RegExp("^"+this.A);(0,g.G)(g.te(a),function(a){"config"==a.nodeName&&(0,g.G)(g.te(a),function(a){"params"==a.nodeName&&(0,g.G)(g.te(a),function(a){var d=this.A?a.nodeName.replace(c,""):a.nodeName,e=a.getAttribute("data");null!=e||(e=sr(a));null!=a.getAttribute("learn_more")&&(e+="|");g.gb(this.o,d)?b[d].push(e):b[d]=e},this)},this)},this);
return b};g.z(Kv,Iv);Kv.prototype.parse=function(a){if(null==a)return null;a=Jv(this,a);var b=a.UI;return new Vs(b.gone,b.question,b.undo,b.hover_text,a.SurveyOptions||[],a.CustomTracking)};
Kv.prototype.B=function(a){var b=[],c=0;(0,g.G)(g.te(a),function(a){if("SurveyOption"==a.nodeName){var d,f;(0,g.G)(g.te(a),function(a){switch(a.nodeName){case "DisplayName":d=sr(a);break;case "URL":f=sr(a)}},this);
null!=d&&null!=f&&(b.push({label:d,url:f}),c++)}},this);
return b};g.z(Lv,Dp);Mv.prototype.parse=function(a){if(null==a)return null;var b=new Lv;(0,g.G)(g.te(a),function(a){if("DealId"!=a.nodeName)return null;a=sr(a);a=g.E(a);D(a)||(b.o=a)},this);
return b};g.z(Nv,Dp);Ov.prototype.g={HF:"Siub",GF:"Scs",JD:"Bgub",ID:"Bgp"};Ov.prototype.parse=function(a){if(null==a)return null;var b,c,d,e;(0,g.G)(g.te(a),function(a){switch(a.nodeName){case this.g.HF:b=sr(a);break;case this.g.GF:c=sr(a);break;case this.g.JD:d=sr(a);break;case this.g.ID:e=sr(a)}},this);
return b&&c&&d&&e?new Nv(b,c,d,e):null};g.z(Pv,Dp);Qv.prototype.g={NF:"TEMPLATE_PARAMETERS",OF:"TEMPLATE_URL"};Qv.prototype.parse=function(a){if(null==a)return null;(0,g.G)(g.te(a),function(a){switch(a.nodeName){case this.g.NF:ega(this,a)}},this);
return new Pv};g.z(Rv,Dp);Rv.prototype.getImageUrl=function(){return this.B};Sv.prototype.g={NE:"Line1",OE:"Line2",PE:"Line3",ME:"ImageUrl"};Sv.prototype.parse=function(a){if(null==a)return null;var b,c,d,e,f=0,k=0;(0,g.G)(g.te(a),function(a){switch(a.nodeName){case this.g.NE:b=sr(a,!0);break;case this.g.OE:c=sr(a,!0);break;case this.g.PE:d=sr(a,!0);break;case this.g.ME:e=sr(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 Rv(b,c,d,e,f,k)};g.z(Tv,Dp);Uv.prototype.parse=function(a){if(null==a)return null;var b;(0,g.G)(g.te(a),function(a){switch(a.nodeName){case "ViralExtensionData":a=a.getAttribute("query_id"),D(g.E(a))||(b=a)}},this);
return new Tv(b)};g.z(Vv,Iv);var Mpa=["menu","got_it"],Npa=[["generic_message_left","generic_message_hypertext","generic_message_right"]];Vv.prototype.parse=function(a){if(null==a)return null;a=Jv(this,a);var b=a.UI;if(!Wv(b,Mpa))return null;var c,d=!0,e=!1;(0,g.G)(Npa,function(a){fga(b,a)&&(Wv(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 Xs(b.menu,b.got_it,b.targeting_reason_header,b.targeting_reason,a.CustomTracking,c,b.control)};Xv.prototype.parse=function(a){if(null==a)return null;a=a.getAttribute("sequence");a=null!=a?Wa(a):window.NaN;a=(0,window.isNaN)(a)?-1:a;return new Gr(a)};g.z(Yv,Dp);Zv.prototype.parse=function(a){return null!=a?new Yv:null};$v.prototype.parse=function(a){if(null==a)return null;a=a.getAttribute("fallback_index");a=null!=a?Wa(a):window.NaN;return new tq(a)};g.z(aw,Nu);
aw.prototype.g={xD:"Ad",Wo:"AdParameters",BD:"AdSystem",CD:"AdTitle",yD:"Advertiser",FD:"AltText",OD:"ClickThrough",PD:"ClickTracking",RD:"Companion",SD:"CompanionAds",TD:"CompanionClickThrough",UD:"CompanionClickTracking",cE:"Creative",xW:"CreativeExtensions",dE:"Creatives",hE:"CustomClick",mE:"Description",cp:"Duration",ERROR:"Error",EXTENSION:"Extension",tE:"Extensions",Ml:"HTMLResource",BE:"Icon",CE:"Icons",DE:"IconClicks",EE:"IconClickThrough",FE:"IconClickTracking",GE:"IconViewTracking",Ol:"IFrameResource",
Pl:"Impression",eY:"InLine",LINEAR:"Linear",VE:"MediaFile",WE:"MediaFiles",fF:"NonLinear",gF:"NonLinearAds",hF:"NonLinearClickThrough",iF:"NonLinearClickTracking",rF:"Pricing",Ql:"StaticResource",MF:"Survey",Q0:"Tracking",sp:"TrackingEvents",VF:"UniversalAdId",z1:"VAST",XF:"VASTAdTagURI",YF:"VideoClicks",bG:"Wrapper"};
aw.prototype.o={zD:"adId",AD:"adSlotID",ED:"allowMultipleAds",Kl:"apiFramework",ou:"bitrate",eE:"creativeType",lE:"delivery",cp:"duration",wX:"event",xE:"followAdditionalWrappers",rE:"expandedHeight",sE:"expandedWidth",Ll:"height",Nl:"id",HE:"idRegistry",IE:"idValue",SE:"maintainAspectRatio",UE:"maxBitrate",aF:"minBitrate",bF:"minSuggestedDuration",jF:"offset",sF:"program",wF:"required",zF:"scalable",Ou:"sequence",EF:"skipoffset",fv:"type",VERSION:"version",ZF:"codec",Ul:"width",cG:"xPosition",fG:"yPosition"};
aw.prototype.A=function(){return new Ou(this.B,hga(this),null)};g.z(jw,ru);g.h=jw.prototype;g.h.W=function(){this.F=!1;null===this.g?this.P&&this.dispatchEvent(new rm("destroyInsecureFlashVpaid",this.ma())):this.g.dispose();this.A&&this.la("contentResumeRequested");this.la("allAdsCompleted");jw.aa.W.call(this)};
g.h.Nc=function(){var a=this.dd("getAdRemainingTime");return g.oa(a)?a:-1};
g.h.getVolume=function(){var a=this.dd("getAdVolume");return g.oa(a)?a:-1};
g.h.Tc=function(a,b,c){jw.aa.Tc.call(this,a,b,c);this.A=this.ma().g instanceof pp};
g.h.init=function(a){jw.aa.init.call(this,a);a=this.ma();var b=Es(a),b=g.E(b);if(D(b))ow(this,Error("Flash VPAID ad url is empty.")),this.stop();else{if(vu(a)){var c=a.g,d=sp(c);null!=d&&(c.C=d)}this.fb().V(Qn(),W2,this.wj);this.P?this.dispatchEvent(new rm("initInsecureFlashVpaid",a,{url:g.E(b)})):null===this.Ra.Gf()?(ow(this,Error("Container must be provided for flash VPAID.")),this.stop()):(this.Ra.ud(),null===this.g&&(this.g=new Mu(this.Ra.Gf())),this.fb().V(this.g,"loadError",this.DO),this.fb().V(this.g,
"vpaidEventType",this.Vf),this.g.load(b,this.M,this.D,this.Ta.jf))}};
g.h.start=function(){if(this.F){jw.aa.start.call(this);var a=this.ma();this.Ub.B=a.K;var b=aq(a);this.Ub.g=b;if(b=a.g)this.Cg(a),this.Zf(b,V2),this.Bj(b),zu(this,a);this.Ra.ud();Du(this);this.Ha("show_ad");this.setVolume(this.B);this.o=new g.eg(250);this.fb().V(this.o,"tick",this.HI);this.A?this.la("contentPauseRequested"):(this.la("contentResumeRequested"),lw(this));this.o.start();this.dd("startAd")}else this.J=!0};
g.h.stop=function(){this.K||(this.dd("stopAd"),this.Ra.hide(),null!=this.o&&(this.o.stop(),this.o=null),jw.aa.stop.call(this),this.K=!0)};
g.h.Bb=function(a,b,c){jw.aa.Bb.call(this,a,b,c);if(null!==this.g){var d=this.g;d.g&&d.g.setSize(a,b)}this.M=a;this.D=b;this.dd("resizeAd",a,b,c)};
g.h.pause=function(){null!=this.o&&this.o.stop();this.dd("pauseAd")};
g.h.resume=function(){null!=this.o&&this.o.start();this.dd("resumeAd")};
g.h.setVolume=function(a){this.B=a;this.O.getAdVolume=a;this.dd("setAdVolume",a)};
g.h.expand=function(){this.dd("expandAd")};
g.h.collapse=function(){this.dd("collapseAd")};
g.h.vj=g.x;g.h.Zb=function(){return kw(this)};
g.h.skip=function(){this.dd("skipAd")};
g.h.getDuration=function(){var a=this.dd("getAdDuration");if(g.oa(a))return a;a=this.Nc();return 0<=a?this.C/1E3+a:-2};
g.h.HI=function(){this.C+=250;var a=this.getDuration(),b=a-this.Nc();Eu(this,b,a)};
g.h.dd=function(a){if(this.K)return null;for(var b=[],c=0;c<arguments.length;c++)b.push(arguments[c]);return this.P?(c=b.shift(),this.dispatchEvent(new rm("callFlashVpaidMethod",this.zb()?this.ma():null,{methodName:c,args:b})),this.O[c]):null===this.g?null:this.g.DI.apply(this.g,b)};
g.h.DO=function(){ow(this,Error("Flash VPAID loader failed to load."));this.stop()};
g.h.getCurrentTime=function(){return this.C/1E3};
g.h.Vf=function(a){var b=a.data;switch(a.g){case "flashVpaidMethodResults":b&&(this.O[b.methodName]=b.result);break;case "flashReady":this.dd("handshakeVersion","2.0");b=Wr(this.ma());this.dd("initAd",this.M,this.D,this.cd,this.Ta.bitrate,b);break;case "AdLoaded":this.F=!0;b=this.dd("getAdCompanions");a=g.u(b)?b:"";b=this.ma();g.ib(Vr(b))&&(a=dw(a,b.g.g),g.ib(a)||Hr(b,a));wu(this,"loaded");this.J&&(this.J=!1,this.start());break;case "AdStarted":this.Ha("impression");this.Ha("creativeview");this.la("start");
break;case "AdVideoStart":this.Ha("start");break;case "AdClickThru":b&&b.playerHandles&&((b=b.url)||(b=g.E(Yr(this.ma()))),b&&Qm(b));this.Ha("click");this.la("click");break;case "AdDurationChange":this.la("durationChange");break;case "AdRemainingTimeChange":this.la("durationChange");lw(this);break;case "AdError":a="AdError";b&&(a=b.message);ow(this,Error(a));this.stop();break;case "AdExpandedChange":this.la("expandedChanged");break;case "AdImpression":b=this.ma();g.ib(Vr(b))||this.zd(b);this.la("impression");
break;case "AdLinearChange":b=kw(this);!this.A&&b?(this.la("contentPauseRequested"),g.hg(this.G)):this.A&&!b&&(this.la("contentResumeRequested"),lw(this));this.A=b;a=this.Zc;a.bb=!0;a.ua=b;this.la("linearChanged");break;case "AdVolumeChange":b=this.getVolume();b!=this.B&&(this.la("volumeChange"),0==b&&0!=this.B?(this.Ha("mute"),this.la("mute")):0==this.B&&0!=b&&this.Ha("unmute"),this.B=b);break;case "AdPaused":wu(this,"pause");break;case "AdUserClose":wu(this,"userClose");break;case "AdUserMinimize":this.Ha("collapse");
break;case "AdVideoFirstQuartile":wu(this,"firstquartile");break;case "AdVideoMidpoint":wu(this,"midpoint");break;case "AdVideoThirdQuartile":wu(this,"thirdquartile");break;case "AdVideoComplete":mw(this);break;case "AdUserAcceptInvitation":this.A?this.Ha("acceptinvitationlinear"):this.Ha("acceptinvitation");break;case "AdStopped":mw(this);this.Ha("stop");this.stop();break;case "AdSkipped":wu(this,"skip");break;case "AdSkippableStateChange":wu(this,"skippableStateChanged");break;case "AdPlaying":wu(this,
"resume");break;case "AdLog":this.la("log")}};g.z(pw,ru);var Opa=sd(id(jd("https://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf")));sd(id(jd("http://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf")));g.h=pw.prototype;g.h.W=function(){this.F=!1;this.g&&(this.g.dispose(),this.C=null);g.hg(this.G);this.A&&this.la("contentResumeRequested");this.la("allAdsCompleted");pw.aa.W.call(this)};
g.h.Nc=function(){var a=this.kd("getAdRemainingTime");return g.oa(a)?a:-1};
g.h.getVolume=function(){var a=this.kd("getAdVolume");return g.oa(a)?a:-1};
g.h.Tc=function(a,b,c){pw.aa.Tc.call(this,a,b,c);this.A=this.ma().g instanceof pp};
g.h.init=function(a){pw.aa.init.call(this,a);window[this.X]=(0,g.y)(this.II,this);this.fb().V(Qn(),W2,this.wj);this.g=new Ku(Opa);this.g.setSize(this.O,this.J);this.g.dm="always";var b=this.ma();a=Es(b);a=g.E(a);if(D(a))tw(this,nw,Error("Flash VPAID ad url is empty.")),this.stop();else{if(vu(b)){var b=b.g,c=sp(b);null!=c&&(b.C=c)}this.g.o.set("vpaid",a);this.g.Oo="transparent";this.g.o.set("vpaidEventHandler",this.X);this.Ra.ud();Iu(this.g,this.Ra.Gf());this.C=Lu(this.g);this.G=g.gg(this.KI,this.Ta.jf,
this)}};
g.h.start=function(){if(this.F){pw.aa.start.call(this);var a=this.ma();this.Ub.B=a.K;var b=aq(a);this.Ub.g=b;if(b=a.g)this.Cg(a),this.Zf(b,V2),this.Bj(b),zu(this,a);this.Ra.ud();Du(this);this.Ha("show_ad");this.setVolume(this.B);this.o=new g.eg(250);this.fb().V(this.o,"tick",this.JI);this.A?this.la("contentPauseRequested"):(this.la("contentResumeRequested"),rw(this));this.o.start();this.kd("startAd")}else this.M=!0};
g.h.stop=function(){this.ba||(this.ba=!0,this.kd("stopAd"),this.Ra.hide(),null!=this.o&&(this.o.stop(),this.o=null),pw.aa.stop.call(this))};
g.h.Bb=function(a,b,c){pw.aa.Bb.call(this,a,b,c);this.O=a;this.J=b;null!=this.g&&this.g.setSize(a,b);this.kd("resizeAd",a,b,c)};
g.h.pause=function(){null!=this.o&&this.o.stop();this.kd("pauseAd")};
g.h.resume=function(){null!=this.o&&this.o.start();this.kd("resumeAd")};
g.h.setVolume=function(a){this.B=a;this.kd("setAdVolume",a)};
g.h.expand=function(){this.kd("expandAd")};
g.h.collapse=function(){this.kd("collapseAd")};
g.h.vj=function(){};
g.h.Zb=function(){return qw(this)};
g.h.skip=function(){this.kd("skipAd")};
g.h.getDuration=function(){var a=this.kd("getAdDuration");if(g.oa(a))return a;a=this.Nc();return 0<=a?this.D/1E3+a:-2};
g.h.JI=function(){this.D+=250;var a=this.getDuration(),b=a-this.Nc();Eu(this,b,a)};
g.h.kd=function(a){if(!this.g||!this.C)return null;for(var b=[],c=0;c<arguments.length;c++)b.push(arguments[c]);var c=b.shift(),d=!1;this.F&&(d=!0);if("handshakeVersion"==c||"initAd"==c)d=!0;if(d)try{if(null!=this.C[c])return this.C[c].apply(this.C,b)}catch(e){}return null};
g.h.KI=function(){tw(this,Z2,null,(this.Ta.jf/1E3).toString());this.stop()};
g.h.getCurrentTime=function(){return this.D/1E3};
g.h.II=function(a,b){switch(a){case "flashReady":this.kd("handshakeVersion","2.0");var c=Wr(this.ma());this.C.initAd(this.O,this.J,this.cd,this.Ta.bitrate,c);break;case "AdLoaded":g.hg(this.G);this.F=!0;var c=this.kd("getAdCompanions"),d=g.u(c)?c:"",c=this.ma();g.ib(Vr(c))&&(d=dw(d,c.g.g),g.ib(d)||Hr(c,d));wu(this,"loaded");this.M&&(this.M=!1,this.start());break;case "AdStarted":this.Ha("impression");this.Ha("creativeview");this.la("start");break;case "AdVideoStart":this.Ha("start");break;case "AdClickThru":b&&
b.playerHandles&&((c=b.url)||(c=g.E(Yr(this.ma()))),null!=c&&Qm(c));this.Ha("click");this.la("click");break;case "AdDurationChange":this.la("durationChange");break;case "AdRemainingTimeChange":this.la("durationChange");rw(this);break;case "AdError":c="AdError";b&&(c=b.message);tw(this,nw,Error(c));this.stop();break;case "AdExpandedChange":this.la("expandedChanged");break;case "AdImpression":c=this.ma();g.ib(Vr(c))||this.zd(c);this.la("impression");break;case "AdLinearChange":c=qw(this);!this.A&&c?
(this.la("contentPauseRequested"),g.hg(this.K)):this.A&&!c&&(this.la("contentResumeRequested"),rw(this));this.A=c;d=this.Zc;d.bb=!0;d.ua=c;this.la("linearChanged");break;case "AdVolumeChange":c=this.getVolume();c!=this.B&&(c!=this.B&&this.la("volumeChange"),0==c&&0!=this.B?(this.Ha("mute"),this.la("mute")):0==this.B&&0!=c&&this.Ha("unmute"),this.B=c);break;case "AdPaused":wu(this,"pause");break;case "AdUserClose":wu(this,"userClose");break;case "AdUserMinimize":this.Ha("collapse");break;case "AdVideoFirstQuartile":wu(this,
"firstquartile");break;case "AdVideoMidpoint":wu(this,"midpoint");break;case "AdVideoThirdQuartile":wu(this,"thirdquartile");break;case "AdVideoComplete":uw(this);break;case "AdUserAcceptInvitation":this.A?this.Ha("acceptinvitationlinear"):this.Ha("acceptinvitation");break;case "AdStopped":uw(this);this.Ha("stop");this.stop();break;case "AdSkipped":wu(this,"skip");break;case "AdSkippableStateChange":wu(this,"skippableStateChanged");break;case "AdPlaying":wu(this,"resume");break;case "AdLog":this.la("log")}};g.z(vw,rm);yw.prototype.g=null;var q3;g.z(Bw,yw);q3=new Bw;g.z(Dw,g.rf);Dw.prototype.gb=null;var sga=/^https?$/i,Ppa=["POST","PUT"];g.h=Dw.prototype;
g.h.send=function(a,b,c,d){if(this.g)throw Error("[goog.net.XhrIo] Object is active with another request="+this.X+"; newUri="+a);b=b?b.toUpperCase():"GET";this.X=a;this.D="";this.o=0;this.O=!1;this.A=!0;this.g=this.M?Cw(this.M):Cw(q3);this.K=this.M?Aw(this.M):Aw(q3);this.g.onreadystatechange=(0,g.y)(this.ix,this);try{this.getStatus(),this.P=!0,this.g.open(b,String(a),!0),this.P=!1}catch(f){this.getStatus();Hw(this,f);return}a=c||"";var e=this.headers.clone();d&&Yca(d,function(a,b){e.set(b,a)});
d=g.ab(e.Cb(),rga);c=pa.FormData&&a instanceof pa.FormData;!g.gb(Ppa,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.ca&&(this.g.responseType=this.ca);"withCredentials"in this.g&&this.g.withCredentials!==this.G&&(this.g.withCredentials=this.G);try{Lw(this),0<this.C&&(this.ba=qga(this.g),this.getStatus(),this.ba?(this.g.timeout=this.C,this.g.ontimeout=(0,g.y)(this.jx,this)):this.F=g.gg(this.jx,this.C,this)),this.getStatus(),this.J=!0,this.g.send(a),this.J=!1}catch(f){this.getStatus(),Hw(this,f)}};
g.h.jx=function(){"undefined"!=typeof Iw&&this.g&&(this.D="Timed out after "+this.C+"ms, aborting",this.o=8,this.getStatus(),this.dispatchEvent("timeout"),this.abort(8))};
g.h.abort=function(a){this.g&&this.A&&(this.getStatus(),this.A=!1,this.B=!0,this.g.abort(),this.B=!1,this.o=a||7,this.dispatchEvent("complete"),this.dispatchEvent("abort"),Gw(this))};
g.h.W=function(){this.g&&(this.A&&(this.A=!1,this.B=!0,this.g.abort(),this.B=!1),Gw(this,!0));Dw.aa.W.call(this)};
g.h.ix=function(){this.na()||(this.P||this.J||this.B?Kw(this):this.cQ())};
g.h.cQ=function(){Kw(this)};
g.h.isActive=function(){return!!this.g};
g.h.getStatus=function(){try{return 2<Jw(this)?this.g.status:-1}catch(a){return-1}};g.p(Ow,Xi);Ow.prototype.P=function(){if(this.o&&this.O){if(0<this.events.length||0<yba(this.G)){var a={};200<this.events.length&&(this.events.length=200);(0,g.G)(this.events,function(b){var c="met."+b.type;a[c]?a[c].push(Pw(b)):a[c]=[Pw(b)]});
vga(this,a);this.C===this.K&&this.tj()}this.events.length=0;this.g.clearTimeout(this.B);this.B=0}};
Ow.prototype.ho=function(a){this.C<this.K&&(Xi.prototype.ho.call(this,a),200<=this.events.length&&this.P())};
Ow.prototype.tj=function(){Xi.prototype.tj.call(this);this.g.clearTimeout(this.B);this.B=0;Th(this.g,"unload",this.A);Th(this.g,"load",this.J)};Sw.prototype.isLoggingEnabled=function(){return!!this.g};
g.ra(Sw);g.z(Vw,g.K);Vw.prototype.W=function(){this.o.enabled&&this.o.stop();this.g=[];Vw.aa.W.call(this)};
Vw.prototype.D=function(){var a=1E3*this.K.getCurrentTime(),b=(0,g.F)();this.g.push(new zga(a,b));for(a=b-this.g[0].g;1E4<a;)this.g.shift(),a=b-this.g[0].g;2>this.g.length?b=!0:(a=this.g.length-1,b=this.g[a].g-this.g[0].g,a=this.g[a].o-this.g[0].o,b<this.G||0>a?b=!0:(b=a/b,b<this.B&&(this.B=b),b=.5<=b));b||(this.J=!0,b=this.K,null!=b.o&&Xw(b.o),Kx(b,Bpa,Zm(Bpa)))};Yw.prototype.isListed=!0;Yw.prototype.Yf=-1;g.z($w,g.rf);g.h=$w.prototype;g.h.start=function(){this.Xq();this.A=0;ax(this);this.o=!0;this.C.start()};
g.h.play=function(){this.o||(ax(this),this.o=!0,this.C.start())};
g.h.pause=function(){this.o&&ax(this)};
g.h.stop=function(){this.o&&ax(this);this.dispatchEvent("end")};
g.h.Xq=function(){};
g.h.VP=function(){this.A+=.2;this.Wq(this.A,this.O);this.dispatchEvent("timeUpdate");0>=this.O-this.A&&this.stop()};
g.h.Wq=g.x;g.h.W=function(){this.o=!1;this.K.dispose();$w.aa.W.call(this)};g.z(cx,$w);g.h=cx.prototype;g.h.start=function(){this.Xq();this.B.update(0,this.J);ft(this.g,this.G.A).play();this.K.V(this.B,"skip",this.oG);cx.aa.start.call(this)};
g.h.Xq=function(){var a=g.th(this.g);if(1==this.F){var b=400>=(0,window.parseInt)(g.eh(this.g,"width"),10)||400>=a.width;g.S(this.g,"videoAdUi-mobile",b)}else if(2==this.F){var c=g.ve(this.g),d=g.th(c),e=65>=(a.height-d.height)/2;g.S(this.g,"fullslotAdUi-mobile",e);b=165>=(a.width-d.width)/2;g.S(this.g,"videoAdUi-mobile",b&&e);c.style.top=Math.max(5,Math.floor((a.height-d.height-65)/2))+"px"}};
g.h.oG=function(){this.pause();this.dispatchEvent("skip")};
g.h.Wq=function(a,b){this.B.update(a,b);if(this.D){var c=Zw({Ig:bx(b-a)});g.ze(this.D,c)}};
g.h.W=function(){this.B&&this.B.dispose();g.ne(this.g);cx.aa.W.call(this)};g.z(fx,$w);var ex=Math.ceil(10*3.14);fx.prototype.F=function(a){O.g()||a.stopPropagation();this.dispatchEvent("click")};
fx.prototype.start=function(){fx.aa.start.call(this);null==this.g?this.stop():this.J&&(this.P&&780<=g.th(this.X).width&&this.J.Mx(!0),this.J.ar())};
fx.prototype.Wq=function(a,b){var c=a/b*ex+" "+ex;null!=this.g&&g.ah(this.g,"stroke-dasharray",c)};g.z(gx,g.K);gx.prototype.show=function(a,b,c){hx(this);var d=yN&&a&&!0;Fm().g("mweb_disable_iphone_interstitial_for_ios_10")&&(d=d&&(!ln(10)||!b));d?(a.appendChild(this.A),this.g=g.gg((0,g.y)(this.o,this,c),2E3)):c()};
gx.prototype.o=function(a){this.g=0;g.qe(this.A);a()};
gx.prototype.W=function(){hx(this);gx.aa.W.call(this)};ix.prototype.isPharma=function(){return this.K};g.z(jx,g.Ne);g.z(kx,g.rf);lx.prototype.muted=function(a,b){return!this.mute&&a||0!=this.volume&&0==b};
var Gga={click:3,videoLearnMoreClicked:3,videoShareClicked:8,videoTitleClicked:14,videoAuthorClicked:15,videoAuthorIconClicked:15};g.h=kx.prototype;g.h.W=function(){this.ad();kx.aa.W.call(this)};
g.h.ad=function(){null!=this.o&&this.o.dispose();null!=this.g&&this.g.ad();null!=this.D&&this.D.dispose();this.D=null;null!=this.J&&this.J.dispose();this.J=null;this.O.clear();this.K=-1;this.F="";this.G=this.P=!1};
g.h.Ib=function(a,b,c,d){this.ad();this.B.B=a.K;this.g=b;this.A=d||null;this.g.Ib();this.C=new lx(this.g);this.M=c||null;this.o=new g.cm(this);this.F=a.K;a=O.o?ho():Qn();this.o.V(a,"externalActivityEvent",this.BO);this.o.V(a,"measurable_impression",this.eP);this.o.V(a,"viewable_impression",this.lR);this.o.V(this.g,"timeUpdate",this.pJ);this.o.V(this.g,"volumeChange",this.qJ);this.o.V(this.g,"pause",this.mJ);this.o.V(this.g,"play",this.nJ);this.o.V(this.g,"end",this.yO);this.o.V(this.g,"beginFullscreen",
this.kJ);this.o.V(this.g,"endFullscreen",this.AO);this.o.V(this.g,"skip",this.Ux);this.o.V(this.g,"skipShown",this.FA);this.o.V(this.g,"start",this.oJ);this.o.V(this.g,"error",this.jJ);this.o.V(this.g,"mediaLoadTimeout",this.lJ);null!=this.A&&(this.o.V(this.A,"videoIconClicked",(0,g.y)(function(a){this.dispatchEvent(a)},this)),this.o.V(this.A,"urlNavigationRequested",(0,g.y)(function(a){this.dispatchEvent(a)},this)),this.o.V(this.A,"videoShareShown",this.kR),this.o.V(this.A,"skipshown",this.FA),this.o.V(this.A,
"skip",this.Ux),this.o.V(this.A,"PUBLISHER_INVOKED_SKIP",this.ZP),this.o.V(this.A,"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.gH))};
g.h.eP=function(a){var b=a.g;this.B.G.measurable_impression=null!=b?b.viewabilityString:null;a.g.queryId==this.F&&mx(this,"measurable_impression",!0,!1)};
g.h.lR=function(a){a=a.g;a.queryId==this.F&&(this.B.G.viewable_impression=null!=a?a.viewabilityString:null,mx(this,"viewable_impression",!0,!0))};
g.h.BO=function(a){a=a.g;var b=X2[a.eventName];b&&a.queryId==this.F&&(this.B.G[b]=null!=a?a.viewabilityString:null,mx(this,b,!0,!0))};
g.h.pJ=function(){if(this.G){var a=this.g.getDuration();if(-1!=a){this.g.kk(.25*a)&&mx(this,"firstquartile",!0,!0);this.g.kk(.5*a)&&mx(this,"midpoint",!0,!0);this.g.kk(.75*a)&&mx(this,"thirdquartile",!0,!0);var b=this.B,c=this.g.getCurrentTime();if(!Gl(b.o,"skip")){0>b.C&&(Uda(b.A,a),b.C=0);for(var a=ep(b.A,"progress"),d=[],e=b.C;e<a.length;e++){var f=a[e];if(ip(f.o)>c)break;b.C=e+1;d.push(f.g)}0<d.length&&ou(b,new g.Ne("progress"),d)}}nx(this)}};
g.h.oJ=function(){this.G=!0;mx(this,"impression",!0,!0);mx(this,"creativeview",!0,!0);null!=this.M||null!=this.A||this.o.V(this.g,"click",this.qr);null!=this.M&&(this.D=new Ks,this.o.V(this.D,"click",this.qr,!1),this.D.Ib(this.M));null!=this.A&&(this.J=new Ks,this.o.V(this.J,"click",this.qr,!1),this.J.Ib(this.A));mx(this,"start",!0,!0);(this.g.fj()||0==this.g.getVolume())&&mx(this,"mute",!1,!1)};
g.h.qJ=function(){var a=this.g.fj(),b=this.g.getVolume(),c=this.C;c.mute&&!a||!a&&0==c.volume&&0<b?mx(this,"unmute",!1,!1):this.C.muted(a,b)&&mx(this,"mute",!1,!1);this.C.mute=a;this.C.volume=b};
g.h.mJ=function(){this.g.bh()?ox(this):this.g.gi()&&!this.g.Lx()&&(this.C.paused=!0,mx(this,"pause",!1,!1))};
g.h.nJ=function(){this.C.paused&&(this.C.paused=!1,mx(this,"resume",!1,!1))};
g.h.yO=function(){ox(this)};
g.h.qr=function(){mx(this,"click",!1,!1)};
g.h.jJ=function(){mx(this,"error",!1,!1)};
g.h.lJ=function(){mx(this,"mediaLoadTimeout",!1,!1)};
g.h.FA=function(){mx(this,"skipshown",!0,!1)};
g.h.gH=function(a){mx(this,a.type,!1,!1)};
g.h.kR=function(){mx(this,"videoShareShown",!0,!1)};
g.h.Ux=function(){mx(this,"skip",!0,!1)};
g.h.ZP=function(){mx(this,"skip",!0,!1)};
g.h.kJ=function(){mx(this,"fullscreen",!1,!1)};
g.h.AO=function(){mx(this,"exitfullscreen",!1,!1)};g.h=qx.prototype;g.h.Mc=function(){return this.g.Mc()};
g.h.remove=function(a){return this.g.remove(rx(a))};
g.h.clear=function(){this.g.clear()};
g.h.isEmpty=function(){return this.g.isEmpty()};
g.h.contains=function(a){return Gl(this.g,rx(a))};
g.h.ib=function(){return this.g.ib()};
g.h.clone=function(){return new qx(this)};
g.h.Ud=function(){return this.g.Ud(!1)};g.z(tx,ru);g.h=tx.prototype;g.h.W=function(){xx(this);this.X.dispose();vx(this);g.G(this.J.ib(),g.hg);var a=!1;null!=this.Ra&&(a=this.Ra.pn(),this.Ra.hide(),this.Ra=null);this.G&&(this.G=!1,this.Ga.gi()||this.Ga.bh()||this.Ga.pause(),hn()&&!a&&(this.Ga.gj(.001),this.Ga.load("","")),gn()&&this.Ga.ej()&&!a&&this.Ga.Zq(),this.la("contentResumeRequested"),this.la("allAdsCompleted"));null!=this.Ga&&this.Ga.unload();null!=this.o&&(g.Le(this.o),this.o=null);tx.aa.W.call(this)};
g.h.muteAd=function(){O.g()&&(this.Ha("mute_interaction_url"),this.Ha("mute_url"),this.la("MUTE_AD"),ux(this,function(){wx(this)}))};
g.h.whyThisAdClicked=function(){O.g()&&this.Ha("why_this_ad_url")};
g.h.whyThisAdClosed=function(){O.g()&&this.Ha("why_this_ad_got_it")};
g.h.vl=function(){vx(this);tx.aa.vl.call(this);this.zb()&&(this.Ub=new nu,this.B=new kx(this.Ub),this.O=!1,this.la("loaded"))};
g.h.zs=function(a){tx.aa.zs.call(this,a);null!=this.Ga&&this.Ga.Vs(1)};
g.h.Aw=function(a,b){b.preventDefault();this.F||(this.F=!0,wu(this,"video_card_endcap_action"));a&&(this.g.pause(),Qm(a))};
g.h.Bw=function(){ux(this,function(){yx(this,"video_card_endcap_dismiss")})};
g.h.XG=function(){yx(this,"video_card_endcap_collapse")};
g.h.HJ=function(a,b,c){var d=Pp(b);d&&(a.D=d);var e=a.getExtension("AdSense");null!=e&&null!=e.o&&e.o.o&&this.setVolume(0);if(this.Ta.lC){d=a.getExtension("AdSense");(e=this.da)||(e=null===b?!1:"modules"==(new g.Kl(b)).Wh().toLowerCase()||Sp(b));var f=e||null!=d&&d.G,d=a.isBumper()?null:As(a);if((O.g()||Ik()?0:dn()&&(!this.Kk()||null==this.Ra||!this.Ra.cq())||Gs(a)||this.Ta.Nt)||!O.g()&&f)this.Ta.Lt=!0,this.Ta.Nt=!0;e=aq(a,this.Ga);if(O.g()||this.Ta.Nt){var k=D(g.E(Yr(a)))?!1:this.Ta.Lt,l=a.D,m=a.isBumper(),
n=this.Ta,q=O.g()||!1,r=O.g(),w=Xr(a,"feedbackLike"),A=Xr(a,"feedbackDislike"),w=1!=w.length||1!=A.length?null:{feedbackLike:w[0],feedbackDislike:A[0]},d=dt(f,l,d,m,n,e);d.A=k;d.Wa=n.eT;d.pa=q;d.ha=!0;d.fa=r;d.J=n.It;d.sa=n.Mt;d.ua=n.fT;d.ca=0;n.It&&(d.jh=""+Ca("Visit Advertiser"));d.Sa=w}else Rr(a)?(k=a.D,n=a.isBumper(),!D(g.E(k))&&null!==d&&0<ip(d)&&(f=!0),d=dt(f,k,d,n,this.Ta,e),d.ba=f?Fea:Eea):(k=a.isBumper(),d=dt(f,a.D,d,k,this.Ta,e),d.F=!1,d.D=!1,d.o=!1);Hm(Em(),420706069)&&(O.D=!0);!O.g()&&
O.D&&(d.O=!0);e=d;f=this.Ra.Ak();null===f?f=window.document.body:g.ne(f);k=this.ma();n=1E3*k.getDuration();q=k.getExtension("why_this_ad");r=k.getExtension("mute");e.K=new Ys(q,r);Zs(e.K)&&(r=null!=q?q.B:void 0,q="<span class='"+Q("videoAdUiAdSettingsShortTooltip")+"'>",r?q+=P(r):(r=Ca("Click for Ad Settings"),q+=r),q=Go(q+"</span>"),e.oe=q);this.Ka=new fu(e,f,n,k.Ze());f=k.D;null!=f&&Bx(this,f,e.ua);e=this.Ka;e.ba&&(e=e.ba,f=0==this.D,e.g!=f&&(e.g=f,kt(e)));this.da&&(f=a.getExtension("AdSense"),
null!=f?(e=this.Ka,f=g.E(f.A),null!=e.M&&(g.N(e.M,!0),f=new g.Kl(f),f=Ka((f.o+f.A).replace(/^www\./i,""),35),D(g.E(f))?ju(e):g.ze(e.M,f)),null!=e.fa&&g.N(e.fa,!0)):ju(this.Ka));e=[];d.D&&e.push("adAttribution");d.o&&e.push("countdown")}else d&&Bx(this,d,this.Ta.Ep);if(d=this.Ga)this.qt(a),d.qo(Lga(this,a)),d.load(b,c)};
g.h.tv=function(a){var b=this.zb()?this.ma().D:null;if(b){var c=this.xk();zx(this)&&a&&(c=Vga(this,c,a));a=this.wk();c||a||!zx(this)||(c=" ");(c||a)&&this.Ga.Yq(b,c||null,a||null)}};
g.h.HR=function(a,b,c){null!==a.M&&Kn(Hn.getInstance(),34,{evt:"filled"},!0);this.ca||(this.ca=!0,this.la("contentPauseRequested"));this.HJ(a,b,c);this.G=!0;this.setVolume(this.D);this.Ka&&(D(g.E(Ex(a)))?(b=this.Ka,null!=b.C&&(b.A.Ca(b.C,"click",b.Jo),g.ah(b.C,"cursor","default"))):(b=this.Ka,null!=b.C&&(b.A.V(b.C,"click",b.Jo),null!=b.G&&!g.wh(b.G)&&g.ah(b.C,"cursor","pointer"))),b=a.g.bb,g.ib(b)||iu(this.Ka,b),this.Ka.show());this.Ha("show_ad");this.Ra.vg();if(!O.A)try{this.zd(a)}catch(d){Kx(this,
Y2,d);return}Hx(this);Uw("pi");if(b=null!=this.Ka)b=this.Ka,b=dn()?!1:null!=b.g.M?b.g.G&&b.g.M==$r(a):b.g.G;b?Kga(this):this.X.show(this.Ra.Ak(),this.Ta.Kt,(0,g.y)(this.Ga.play,this.Ga))};
g.h.qt=function(a){this.B.Ib(a,this.Ga,this.Ra.qq(),this.Ka);this.fb().V(this.B,"engagedview urlNavigationRequested videoAuthorIconClicked videoAuthorClicked videoClicked videoIconClicked videoLearnMoreClicked videoMuteClicked videoShareClicked videoShareShown videoTitleClicked videoUnmuteClicked start".split(" "),this.KA);this.fb().V(this.Ga,"loaded",this.iR);this.fb().V(this.Ga,"cardsStateChange",this.NI);this.fb().V(this.Ga,"timeUpdate",this.OA);this.fb().V(this.Ga,"volumeChange",this.RI);this.fb().V(this.Ga,
"shareClicked",this.BB);this.Cg(a);var b=aq(a,this.Ga);this.Ub.g=b;b=a.g;null!=b&&b instanceof pp&&(this.Zf(b,V2),this.Bj(b),b=this.fb(),dm(b,this.B,"error",this.OI,!1,this),dm(b,this.B,"mediaLoadTimeout",this.QI,!1,this));zu(this,a);a.isSkippable()&&(this.B.K=30)};
g.h.vj=function(){this.la("loaded");this.dispatchEvent(new vw(this.ma()))};
g.h.skip=function(){this.zb()&&this.ma().isSkippable()&&(null!=this.Ka?this.Ka.skip():(this.Ha("skip"),Rx(this)))};
g.h.CB=function(){wu(this,"skipshown")};
g.h.start=function(){tx.aa.start.call(this);this.M=[];try{var a=this.ma();this.A=Gx(this,a);Hx(this);Uw("am");ux(this,(0,g.y)(tx.prototype.HR,this,a,this.A.o,this.A.g))}catch(b){Jx(this,b),this.vl(),this.zb()?(an(this,Lx,b),this.start()):(this.G?an(this,Lx,b):(null!=this.Jd&&this.Jd.zd(zA()),bn(this,Lx,b)),this.stop())}};
g.h.getVolume=function(){yu(this);return this.Ga.fj()?0:this.Ga.getVolume()};
g.h.setVolume=function(a){yu(this);this.G?this.Ga.setVolume(a):this.D=a};
g.h.pause=function(){yu(this);this.g?this.g.pause():this.Ga.pause();if(null!=this.o){var a=this.o;a.o.enabled&&a.o.stop();a.g=[]}};
g.h.resume=function(){yu(this);this.g?this.g.play():this.Ga.play();null!=this.o&&Ww(this.o)};
g.h.getCurrentTime=function(){yu(this);var a=this.g?this.g.A:0;return this.Ga.getCurrentTime()+a};
g.h.getDuration=function(){yu(this);var a=this.zb()?Cs(this.ma()):0;return this.Ga.getDuration()+a};
g.h.Nc=function(){yu(this);var a=this.getDuration(),b=this.getCurrentTime();return 0<=a&&0<=b?Math.max(0,a-b):-1};
g.h.Ae=function(){return this.Ga.Ae()};
g.h.OI=function(){Kx(this,Lx,Zm(Lx,this.Ga.getError()))};
g.h.QI=function(){Pga(this);Kx(this,Z2,Zm(Z2,null,(this.Ta.jf/1E3).toString()))};
g.h.Ps=function(a,b){tx.aa.Ps.call(this,a,b);Nx(this,a)};
g.h.KA=function(a){switch(a.type){case "start":Uw("ff");this.la("start");O.g()&&O.A&&this.ma()&&this.ma().J&&this.la("youtubeKevlarCompanionShow");this.ij();null!=this.o&&(g.Le(this.o),this.o=null);Hm(Em(),420706029)&&(O.ca=5E3);!Hm(Em(),420706025)&&!Hm(Em(),420706029)||O.g()||(this.o=new Vw(this),Ww(this.o));this.K=!0;this.Ka&&(O.D&&!O.g()&&(this.Ka.xc=!0),mu(this.Ka));break;case "impression":this.la("impression");break;case "viewable_impression":this.la("viewable_impression");break;case "why_this_ad_url":this.fa=
this.Ga.gi();Ix(this,"why_this_ad_url");this.pause();break;case "pause":this.la("pause");break;case "why_this_ad_got_it":Ix(this,"why_this_ad_got_it");this.fa||this.resume();break;case "resume":this.la("resume");break;case "firstquartile":this.la("firstquartile");break;case "midpoint":this.la("midpoint");break;case "thirdquartile":this.la("thirdquartile");break;case "complete":this.Ka&&gu(this.Ka,"complete",this.getCurrentTime(),us(this.ma()));Jga(this)||(this.la("complete"),this.Ha("instreamAdComplete"),
wx(this));break;case "click":this.Ka&&this.Ka.g.A?this.Ga.gi()?this.resume():this.pause():Mx(this);break;case "engagedview":Ox(this);this.la("engagedview");break;case "urlNavigationRequested":this.dispatchEvent(a);break;case "videoAuthorIconClicked":Tx(this);break;case "videoAuthorClicked":Tx(this);break;case "videoClicked":this.la("videoClicked");break;case "videoIconClicked":this.dispatchEvent(a);break;case "videoLearnMoreClicked":this.g&&!this.F&&(this.F=!0,wu(this,"video_card_endcap_action"));
!O.g()&&Ox(this);Mx(this);this.Ga.pause();break;case "videoShareClicked":Rga(this);break;case "videoShareShown":Sga(this);break;case "videoTitleClicked":Tga(this);break;case "videoMuteClicked":this.ba=this.D;this.setVolume(0);break;case "videoUnmuteClicked":this.setVolume(this.ba);break;case "skipshown":this.la("skippableStateChanged");break;case "skip":this.Ka&&gu(this.Ka,"skip",this.getCurrentTime(),us(this.ma()));this.g?this.Bw():Rx(this);break;case "MUTE_AD":this.la("MUTE_AD"),ux(this,function(){wx(this)})}};
g.h.qf=function(){tx.aa.qf.call(this);this.Ka&&gu(this.Ka,"abandon",this.getCurrentTime(),us(this.ma()));this.C&&(g.Le(this.C),this.C=null)};
g.h.BB=function(){var a=Px(this)||Qx(this);null!=a&&Sm(a,"sharebuttonclicked")};
g.h.Cg=function(a){tx.aa.Cg.call(this,a);Nx(this,"impression")};
g.h.Zf=function(a,b){tx.aa.Zf.call(this,a,b);(0,g.G)(b,function(a){Nx(this,a)},this)};
g.h.Bj=function(a){tx.aa.Bj.call(this,a);a instanceof pp&&(a=qp(a),(0,g.G)(a.Cb(),function(a){Nx(this,a)},this))};
g.h.Zi=function(){if(!this.zb())return null;try{var a=this.ma();if(null==a)return null;var b=Gx(this,a);return null!=b?b.o:null}catch(c){return null}};
g.h.Xg=function(){if(!this.zb())return null;var a=this.ma();if(!vu(a))throw Zm(Fx);a=a.g.Wg();return g.ib(a)?null:a[0].o};
g.h.iR=function(){this.la("adCanPlay")};
g.h.NI=function(){var a=this.Ka;null!=a.o&&g.S(a.o,"ytp-iv-drawer-open",this.Ga.Kx())};
g.h.OA=function(){var a=this.getDuration();yu(this);var b=this.g?this.getDuration():this.Ga.Qw();var c=this.getCurrentTime(),d=0,e=0;this.zb()&&(e=this.ma(),d=e.C.g,e=e.C.eg);if(null!=this.Ka&&0<=a&&0<=c){if(!this.P&&3==this.ma().Sa){var f=this.Ga.getDuration(),k=us(this.ma()),f=Math.abs(f-k);2<f&&(f=Zm(Cpa,null,Number(f).toFixed(2)),f=$p(f,this.ma(),this.Ga),k=Tr(this.ma()),Vm(k,f));this.P=!0}this.Ka.update(c,b,a,d,e)}};
g.h.RI=function(){var a=this.Ga.getVolume();if(a!=this.D&&(this.D=a,this.la("volumeChange",{volume:a}),0==a&&this.la("mute"),this.Ka)){var b=this.Ka;b.ba&&(b=b.ba,a=0==a,b.g!=a&&(b.g=a,kt(b)))}};
g.h.dS=function(a){var b=this.zb()&&ufa(this.ma());return!a||D(g.E(a.channelId))||!a.isListed&&!b?Qf():new g.Lf(function(b,d){uga(a.channelId,function(a){a=new so(a);b(a)},function(){d()},this)},this)};
g.h.LG=function(a){var b=Fm(),c=this.ma();if((g.ib(Vr(c))||!Vr(c)[0].B)&&!b.g("website_actions_holdback")&&O.g()&&Gs(c)){var d=ofa(c,a);if(d)if(Zr(c,[d]),O.A)this.K&&c.J&&this.la("youtubeKevlarCompanionShow");else try{this.zd(c)}catch(n){Kx(this,Y2,n)}}if(d=this.Ka)var d=this.ma(),e=d.P,d=O.g()&&g.ib(Vr(d))&&null!=d.ka&&null!=e&&e.isListed;O.A&&(d=d&&!c.J);if(d){this.fb().V(window,"message",this.xH);var d=this.ma(),e=d.ka.channelId,f=eq(d),k=this.Ta.contentId,l=this.Ta.Mi,l=new g.Kl((null!=l?l:"//www.youtube.com/")+
"ad_companion"),m=l.g;m.set("adformat",f);m.set("p",e);m.set("render","video_wall_companion");k&&m.set("content",k);e=new wp("1",new g.Qd(300,250),"IFrame",null,l.toString());e.J=d;e.D=!0;d=new Gq(e,[],null,!0);O.A?(O.g()&&O.A&&"IFrame"===d.g.O&&(e=d.sn(),c.J={iframeCompanionRenderer:{width:e.width,height:e.height,url:d.g.A}}),this.K&&c.J&&this.la("youtubeKevlarCompanionShow")):(rs(c,d),this.zd(c))}vs(c)||b.g("website_actions_holdback")||b.g("website_actions_endcap_holdback")||!Gs(c)||mfa(c,a);return a};
g.h.xH=function(a){var b=a.g;if("companion-setup-complete"==b.data){a=this.ma();var c=(0,window.encodeURIComponent)(g.E(Yr(a)))+","+(0,window.encodeURIComponent)((Px(this)||Qx(this)).toString());b.source.postMessage(c,"*");b=b.source.frameElement;b.parentNode.style.cssText="";b.width=370;b.height=null!=Yr(a)?210:185}else"pause-video"==b.data&&this.pause()};
g.h.yS=function(a){if(null!=this.Ka&&a.isListed){var b=this.Ka,c=a.title;b.g.P=!D(g.E(c));b.g.title=c;null!=b.J&&g.ze(b.J,b.g.title);eu(b);b=this.Ka;null!=b.rb?g.ze(b.rb,""+Ca("Share")):null!=b.P&&g.ze(b.P,""+Ca("Share"));b=this.Ka;c=a.Yf;null!=c&&(b.g.Yf=c);eu(b)}this.zb()&&(this.ma().P=a,this.la("youTubeVideoMetadata"));return a};
g.h.xS=function(a){if(null!=this.Ka&&Sx(this)){var b=this.Ka,c=a.authorName;b.g.Aa=!D(g.E(c));b.g.authorName=c;null!=b.D&&(c=Ca("by {$userDisplayName}",{userDisplayName:""+b.g.authorName}),g.ze(b.D,(new wo(""+c,void 0)).nd()));eu(b);b=this.Ka;c=a.channelIconThumbnailUrl;b.g.va=!D(g.E(c));if(null!=b.X){var d=g.je("img");d.setAttribute("src",c);g.R(d,"videoAdUiAuthorIconImage");b.X.appendChild(d);null!=b.J&&g.R(b.J,"videoAdUiTitleWithAuthorIcon");null!=b.D&&g.R(b.D,"videoAdUiAuthorNameWithAuthorIcon")}eu(b)}this.zb()&&
(this.ma().ka=a,this.la("youTubeChannelMetadata"));return a};
g.h.Bb=function(a,b,c){tx.aa.Bb.call(this,a,b,c);null!=this.Ka&&this.Ka.Bb()};g.z(Ux,g.rf);Ux.prototype.g=!1;Ux.prototype.connect=function(){for(this.g=!0;!g.ib(this.o);){var a=this.o.shift();this.sendMessage(a.name,a.type,a.data)}};
Ux.prototype.isConnected=function(){return this.g};
Ux.prototype.send=function(a,b,c){this.g?this.sendMessage(a,b,c):this.o.push({name:a,type:b,data:c})};
g.z(Vx,g.Ne);Vx.prototype.getOrigin=function(){return this.A};
Vx.prototype.toString=function(){return""};g.z(Wx,Ux);Wx.prototype.sendMessage=function(a,b,c){null!=this.rf&&null!=this.rf.postMessage&&this.rf.postMessage(Wga(this,a,b,c),"*");null!=this.rf&&null==this.rf.postMessage&&Kn(Hn.getInstance(),11)};
Wx.prototype.W=function(){this.B.dispose();Wx.aa.W.call(this)};
Wx.prototype.receive=function(a){a=a.g;var b=Xx(a.data);if(Yx(this,b)){if(null==this.rf)this.rf=a.source,this.isConnected()||this.connect();else if(this.rf!=a.source)return;Yx(this,b)&&this.dispatchEvent(new Vx(b.name,b.type,b.data||{},b.sid,a.origin))}};g.z(Zx,g.Ne);g.z($x,ru);g.h=$x.prototype;
g.h.init=function(a){$x.aa.init.call(this,a);this.X=g.gg(this.SI,this.Ta.jf,this);this.fb().V(window,"message",this.nR);this.fb().V(this.J,"tick",this.LR);a=O.o?ho():Qn();this.fb().V(a,W2,this.wj);if(dy())this.dispatchEvent(new Zx(0,this.C));else{a=Ds(this.ma());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.Ta.contentId&&(a=Hg(a,"v",this.Ta.contentId));O.g()&&(b=Fg(a,"st"),b=Zga(this,
b?b+" yt":"yt"),a=Hg(a,"st",b))}a=g.E(a)}else{var b=new g.Kl(a),c=new g.Kl("http://tpc.googlesyndication.com/pagead/js/loader13.html");"https"==b.B&&Ll(c,"https");this.ba=b.o;a=Pl(c,a||"",void 0).toString()}this.A=g.he("IFRAME",{src:Mm(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.fb().V(this.A,"load",this.NG);this.Ra.Gf().appendChild(this.A)}};
g.h.Tc=function(a,b,c){$x.aa.Tc.call(this,a,b,c);this.o=this.ma().g instanceof pp;this.g=a.nn(!1);dy()||(this.fb().V(this.g,"click end error loaded mediaLoadTimeout pause play timeUpdate volumeChange".split(" "),this.jQ),this.fb().V(this.g,Vz,this.bO))};
g.h.stop=function(){this.J.stop();this.Ra.hide();$x.aa.stop.call(this)};
g.h.Zb=function(){return 1==this.o};
g.h.start=function(){$x.aa.start.call(this);if(!O.g()){var a={};a.pid=Sw.getInstance().o;a.dn=this.ba;a["if"]=dy();Kn(Hn.getInstance(),29,a,!0)}a=this.ma();this.Ub.B=a.K;var b=aq(a,this.g);this.Ub.g=b;if(b=a.g)this.Cg(a),this.Zf(b,V2),this.Bj(b),zu(this,a);this.g.Ib();this.Ha("show_ad");this.Ra.ud();Du(this);null!=this.A&&(this.A.style.display="block");this.g.setVolume(this.B);this.da=!0;this.o&&this.la("contentPauseRequested");gy(this)};
g.h.Bb=function(a,b,c){$x.aa.Bb.call(this,a,b,c);cy(this,"resizeAd",{width:a,height:b,viewMode:c})};
g.h.pause=function(){this.D||cy(this,"pauseAd")};
g.h.resume=function(){this.D&&(cy(this,"resumeAd"),iy(this,"play"))};
g.h.setVolume=function(a){this.B=a;$x.aa.setVolume.call(this,a);cy(this,"setAdVolume",{value:a})};
g.h.W=function(){dy()&&this.dispatchEvent(new Zx(0,this.C));g.qe(this.A);this.o&&(!this.O||this.g.gi()||this.g.bh()||this.g.pause(),this.la("contentResumeRequested"));this.la("allAdsCompleted");this.Vc=!1;this.G=[];g.hg(this.X);this.J.dispose();$x.aa.W.call(this)};
g.h.vj=function(){};
g.h.NG=function(){if(!dy()){var a=this.g.yq();g.ib(a)&&(a=this.Ta.mimeTypes);cy(this,"wrapperCall",{messageType:"supportedMimeTypes",supportedMimeTypes:a})}by(this)};
var Yga={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"};g.h=$x.prototype;
g.h.nR=function(a){a=a.g;if(dy()){if(a=Xx(a.data),null!=a){try{var b=g.kg(a.data)}catch(c){return}null!=b&&b.session==this.C&&hy(this,b)}}else if(a.source==this.A.contentWindow){try{b=g.kg(a.data)}catch(c){return}b.session==this.C&&hy(this,b)}};
g.h.SI=function(){ey(this,Z2,null,(this.Ta.jf/1E3).toString());this.stop()};
g.h.jQ=function(a){switch(a.type){case "timeUpdate":a=this.g.getDuration();var b=this.g.getCurrentTime();ay(this,"wrapperCall",{messageType:"timeupdate",duration:a,currentTime:b});break;case "end":iy(this,"ended");break;case "loaded":iy(this,"loadstart");break;case "mediaLoadTimeout":iy(this,"stalled");break;case "play":iy(this,"playing");break;default:iy(this,a.type)}};
g.h.bO=function(a){a=a.type;"loadedmetadata"==a?(a=this.g.getDuration(),ay(this,"wrapperCall",{messageType:"loadedmetadata",duration:a})):iy(this,a)};
g.h.getCurrentTime=function(){return-1==this.getDuration()||-1==this.Nc()?-1:this.getDuration()-this.Nc()};
g.h.getDuration=function(){return this.F};
g.h.Nc=function(){return this.K};
g.h.yb=function(){return!this.D};
g.h.LR=function(){cy(this,"getAdRemainingTime")};g.z(jy,ru);g.h=jy.prototype;g.h.xk=function(){return this.Kc()?this.g.xk():""};
g.h.wk=function(){return this.Kc()?this.g.wk():""};
g.h.We=function(){return this.Kc()?this.g.We():null};
g.h.ma=function(){if(this.g)return this.g.We();throw Zm(xu,null,"Proxied ads manager not available.\n"+Error().stack);};
g.h.zb=function(){return null!=this.g&&null!=this.g.We()};
g.h.Fk=function(){return!1};
g.h.Xe=function(){return null};
g.h.oo=function(){this.zb()&&(this.ads=[this.ma()],this.Zc=this.ma())};
g.h.destroy=function(){this.g&&(this.g.destroy(),this.g=null);jy.aa.destroy.call(this)};
g.h.Mb=function(){return this.g?this.g.Mb():null};
g.h.ij=function(){this.F=!0;this.g&&this.g.ij()};
g.h.init=function(a){this.Bc(a);this.Kc()&&this.g.init(a)};
g.h.Tc=function(a,b,c){a&&a instanceof pm&&(a=a.g);jy.aa.Tc.call(this,a,b,c);ly(this,a,b,c)};
g.h.W=function(){this.la("allAdsCompleted");my(this);jy.aa.W.call(this)};
g.h.getCurrentTime=function(){return this.Kc()?this.g.getCurrentTime():-1};
g.h.getDuration=function(){return this.Kc()?this.g.getDuration():-1};
g.h.Nc=function(){return this.Kc()?this.g.Nc():-1};
g.h.Bb=function(a,b,c){this.Wd=a;this.Vd=b;this.Bc(c);this.Kc()&&this.g.Bb(a,b,c)};
g.h.pause=function(){this.Kc()&&this.g.pause()};
g.h.resume=function(){this.Kc()&&this.g.resume()};
g.h.skip=function(){this.Kc()&&this.g.skip()};
g.h.muteAd=function(){this.Kc()&&this.g.muteAd()};
g.h.whyThisAdClicked=function(){this.Kc()&&this.g.whyThisAdClicked()};
g.h.whyThisAdClosed=function(){this.Kc()&&this.g.whyThisAdClosed()};
g.h.start=function(){if(this.Kc()){var a=this.g,b=this.Ra;a&&b&&(null!=a&&a instanceof tx?b.vg():null!=a&&a instanceof $x?(b.ud(),b.vg()):null!=a&&(a instanceof pw||a instanceof jw)&&b.ud());null!=this.volume&&!(0,window.isNaN)(this.volume)&&this.g.setVolume(this.volume);this.g.start()}};
g.h.stop=function(){this.Mb()&&this.Mb().Zb()&&this.la("contentResumeRequested");this.destroy()};
g.h.getVolume=function(){return this.Kc()?this.g.getVolume():0};
g.h.setVolume=function(a){a=(0,window.isNaN)(a)||0>a?0:a;jy.aa.setVolume.call(this,a);this.Kc()&&this.g.setVolume(a)};
g.h.Bc=function(a){jy.aa.Bc.call(this,a);this.g&&this.g.Bc(a)};
g.h.Ae=function(){return this.g?this.g.Ae():null};
g.h.qf=function(){this.g&&this.g.qf()};
g.h.Lk=function(a){return this.g?this.g.Lk(a):!1};
g.h.Kk=function(){return this.g?this.g.Kk():!1};
g.h.Zi=function(){return this.g?this.g.Zi():null};
g.h.Yz=function(a){this.dispatchEvent(a)};
g.h.fA=function(a){this.dispatchEvent(a)};
g.h.Bs=function(a){this.dispatchEvent(a)};
g.h.Dg=function(a){jy.aa.Dg.call(this,a);this.g&&this.g.Dg(a)};
g.h.ti=function(){this.la("userClose")};
g.h.si=function(){this.la("autoClose")};
g.h.Vf=function(a){this.g&&this.g instanceof jw&&this.g.Vf(a)};
g.h.Kc=function(){return null!=this.g&&this.g.Kc()};g.z(oy,jy);g.h=oy.prototype;g.h.Mb=function(){return this.A};
g.h.dispatchEvent=function(a){if(a instanceof rm){if("loaded"==a.type&&this.C)return a.stopPropagation(),!1;"loaded"==a.type&&(this.C=!0)}return oy.aa.dispatchEvent.call(this,a)};
g.h.Fk=function(){return null!=js(this.A)&&js(this.A).Jf()};
g.h.Yz=function(a){if(this.B)this.dispatchEvent(a);else{var b=a.getError()||Zm(Lx);a=a.target.Mb();is(a);qy(this,js(a),Error(b.Cd()))}};
g.h.Bs=function(a){this.B&&(oy.aa.Bs.call(this,a),this.destroy())};
g.h.fA=function(a){this.D||(this.D=!0,this.dispatchEvent(a))};
g.h.nN=function(){this.o&&this.o.dispose();this.B=!0};g.z(ry,ru);g.h=ry.prototype;g.h.xk=function(){return this.g?this.g.xk():""};
g.h.wk=function(){return this.g?this.g.wk():""};
g.h.We=function(){return this.g?this.g.We():null};
g.h.ma=function(){if(this.g)return this.g.We();throw Zm(xu,null,"Current ads manager not available.\n"+Error().stack);};
g.h.zb=function(){return null!=this.g&&null!=this.g.We()};
g.h.Fk=function(){return this.A+1<this.o.length};
g.h.Xe=function(){return this.Fk()?this.o[this.A+1].We():null};
g.h.oo=function(){this.zb()&&(this.ads=[this.ma()],this.Zc=this.ma())};
g.h.fb=function(){};
g.h.destroy=function(){this.g&&this.g.destroy();ry.aa.destroy.call(this)};
g.h.Mb=function(){return this.g?this.g.Mb():null};
g.h.ij=function(){this.g&&this.g.ij()};
g.h.init=function(a){this.Bc(a);this.g&&this.g.init(a)};
g.h.Tc=function(a,b,c){a&&a instanceof pm&&(a=a.g);ry.aa.Tc.call(this,a,b,c);sy(this,a,b,c)};
g.h.W=function(){(0,g.G)(this.o,function(a){a!==this.g&&a.destroy()},this);
vy(this);this.D&&(this.D.dispose(),this.D=null);this.B&&(this.B.destroy(),this.B=null);this.la("allAdsCompleted");ry.aa.W.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.Nc=function(){return this.g?this.g.Nc():-1};
g.h.Bb=function(a,b,c){this.Wd=a;this.Vd=b;this.Bc(c);this.g&&this.g.Bb(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.Ra;a&&b&&(null!=a&&a instanceof tx?b.vg():null!=a&&a instanceof $x?(b.ud(),b.vg()):null!=a&&(a instanceof pw||a instanceof jw)&&b.ud());null!=this.volume&&!(0,window.isNaN)(this.volume)&&this.g.setVolume(this.volume);this.g.start()}};
g.h.Qe=function(a){ry.aa.Qe.call(this,a);null!=this.g&&this.g.Qe(a);null!=this.B&&this.B.Qe(a);(0,g.G)(this.o,function(b){b.Qe(a)})};
g.h.stop=function(){this.destroy();this.la("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;ry.aa.setVolume.call(this,a);this.g&&this.g.setVolume(a)};
g.h.Bc=function(a){ry.aa.Bc.call(this,a);this.g&&this.g.Bc(a)};
g.h.Ae=function(){return this.g?this.g.Ae():null};
g.h.qf=function(){this.g&&this.g.qf()};
g.h.Lk=function(a){return this.g?this.g.Lk(a):!1};
g.h.Kk=function(){return this.g?this.g.Kk():!1};
g.h.Zi=function(){return this.g?this.g.Zi():null};
g.h.mN=function(a){var b=a.getError()||Zm(Lx);uy(this,a.target,b)};
g.h.sh=function(){this.F||(this.la("contentPauseRequested"),this.F=!0)};
g.h.Uf=function(a){ty(this,a.target)};
g.h.LI=function(){};
g.h.Dg=function(a){(0,g.G)(this.o,function(b){b.Dg(a)},this)};
g.h.ti=function(){this.la("userClose")};
g.h.si=function(){this.la("autoClose")};
g.h.Vf=function(a){this.g&&this.g instanceof jw&&this.g.Vf(a)};g.z(wy,g.K);g.h=wy.prototype;g.h.Gk=!1;g.h.Sq=1E3;g.h.uy=30;g.h.vy=45E3;g.h.dB=15E3;g.h.sC=!1;g.h.Xp=function(){var a=yy(this);this.g.appendChild(this.K);zy(this.K);this.play();return a};
g.h.ra=function(){null==this.O&&(this.O=this.Xp());return this.O};
g.h.play=function(){null==this.o&&(this.o=g.gg(function(){this.Gk||(this.hide(),this.sC=!0);this.o=null},this.sC?this.dB:this.vy,this))};
g.h.stop=function(){null!=this.o&&(g.hg(this.o),this.o=null)};
g.h.show=function(){g.vh(this.ra(),1);null!=this.A&&(g.hg(this.A),this.A=null)};
g.h.hide=function(){g.vh(this.ra(),this.uy/100);null==this.A&&(this.A=g.gg(function(){this.ba();this.A=null},400,this))};
g.h.vI=function(){this.show();this.Gk=!0;this.D=g.gg(function(){this.Gk&&this.stop();this.D=null},this.Sq,this)};
g.h.XS=function(){null!=this.D&&(g.hg(this.D),this.D=null);this.Gk&&this.play();this.Gk=!1};
g.h.W=function(){wy.aa.W.call(this);this.stop();g.Le(this.Hf)};g.z(Ay,ru);g.h=Ay.prototype;g.h.start=function(){Ay.aa.start.call(this);this.Ra.ud();this.containerElement=this.Ra.Gf();if(null!=this.containerElement){this.Ha("show_ad");g.ne(this.containerElement);var a=this.Iv(),b=this.zb()?this.ma().g.Gc():a,c;O.o?c=ho():c=Qn();c.Hj(b);this.containerElement.appendChild(a);this.wm();(0,g.G)(this.F,function(a){a()});
jb(this.F);this.B=!0}};
g.h.init=function(a){Ay.aa.init.call(this,a);var b;O.o?b=ho():b=Qn();this.fb().V(b,W2,this.wj)};
g.h.expand=function(){null!=this.g&&this.g.show();this.Ha("expand")};
g.h.collapse=function(){null!=this.g&&this.g.hide();this.Ha("collapse")};
g.h.Bb=function(a,b,c){Ay.aa.Bb.call(this,a,b,c);this.wm();this.B&&this.Ha("overlay_resize")};
g.h.W=function(){g.Le(this.g);this.Ra=this.g=null;this.B=!1;O.o?ho().Hj(null):Qn().Hj(null);null!=this.containerElement&&(g.ne(this.containerElement),this.containerElement=null);Ay.aa.W.call(this)};
g.h.Iv=function(){var a=this.ma().g;if(null==a)throw a=Zm(OB),Cy(this,a),a;var b=this.ma();zp(a,this.fb());xp(a,this.MI);a.D||yp(a,g.Aa(this.Mq,b,a));try{this.zd(b)}catch(d){throw Cy(this,d),d;}this.Cg(b);var c=aq(b,this.Ga);this.Ub.g=c;b.g&&(this.Cg(b),c=b.g)&&(this.Zf(c,upa),zu(this,b));this.Zf(a,["start"]);By(this,a);return this.hm([a.Gc()])};
g.h.Jx=function(a,b){return new wy(a[0],b)};
g.h.hm=function(a){null!=this.g&&this.g.stop();this.g=this.Jx(a,(0,g.y)(this.Mm,this));a=this.g.ra();g.S(a,"autoalign",this.Ta.Ev);O.g()&&g.S(a,"viewmode-fullscreen","fullscreen"==this.cd);a.appendChild(this.K);this.fb().V(a,"click",Oe);(this.zb()&&ts(this.ma())||this.Ta.kC)&&this.Hp(this.g.g);return a};
g.h.Hp=function(a){var b=this.fb();this.D=Mp(dha);b.V(this.D,"click",this.PH);var c=Ca("Close"),c=Mp(cha,{close:""+c});b.V(c,"click",this.jn);g.R(a,"extra-padding");null!=this.M&&728<=this.M.Eb()&&g.R(a,"wide-overlay-ad");a.appendChild(c)};
g.h.wm=function(a,b){if(null!=this.g){var c=a?a:0,d=b?b:0,e=g.th(this.Ra.Gf());var f=O.g()?g.th(g.ve(this.g.g)):g.th(this.g.g);if(f.width+c>e.width||f.height+d>e.height)throw c=Zm(zpa,null),Cy(this,c),d={},this.ads[0].A&&(d.pid=Sw.getInstance().o),d.cz=f.width+"x"+f.height,d.sz=e.width+"x"+e.height,d.ct=this.ma().g.od(),d.vm=this.cd,Kn(Hn.getInstance(),38,d,!0),this.stop(),c;}};
g.h.MI=function(a){wu(this,"click");Oe(a)};
g.h.jn=function(){this.Ha("close");this.Mm(!0)};
g.h.Mq=function(a,b){yp(b,g.x);this.B?this.tl(a,b):this.F.push((0,g.y)(this.tl,this,a,b))};
g.h.tl=function(a){a=aq(a,this.Ga);this.Ub.g=a;wu(this,"impression");this.Ha("creativeview");wu(this,"start")};
g.h.Mm=function(a){null!=this.g&&(this.g.stop(),null!=this.D&&g.re(this.D,this.g.g),a?this.la("userClose"):this.la("autoClose"))};
g.h.PH=function(a){Oe(a);this.g.show();this.g.play();g.re(this.g.g,this.D);g.gg(function(){g.N(this.K,!1)},500,this);
g.N(this.K,!0);this.la("userRecall")};
g.h.wj=function(a){this.zb()&&this.ma().K==a.g.queryId&&Ay.aa.wj.call(this,a)};g.z(Dy,g.rf);g.h=Dy.prototype;g.h.init=function(a,b,c){Ey(this,a,b,c);null==this.K&&(this.K=new g.cm(this),dm(this.K,this.qb,"adsLoaderSdkAdError",this.jN,!1,this));Ly(this)};
g.h.start=function(){this.P=!0;Hy(this);0<this.A.length?Sy(this):("always"==O.B&&(null!=this.da&&this.da.zd(zA()),O.g()&&5!=this.Ze()&&this.dispatchEvent(new rm("companionBackfill",null))),$m(Ym,this,lq,void 0,void 0),0==this.Dc&&this.dispatchEvent("contentResumeRequested"),Ty(this))};
g.h.destroy=function(){null!=this.K&&(this.K.dispose(),this.K=null);Ny(this);Vy(this);O.B=this.ca;this.P=!1};
g.h.Mb=function(){return this.o<this.A.length?this.A[this.o].g[0]:null};
g.h.yb=function(){return this.P};
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.qf=function(){null!=this.g&&this.g.qf()};
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.Nc=function(){return null!=this.g?this.g.Nc():-1};
g.h.setVolume=function(a){null!=a&&(this.X=a,null!=this.g&&this.g.setVolume(this.X))};
g.h.Qe=function(a){this.ba=a;null!=this.g&&this.g.Qe(a);null!=this.C&&this.C.Qe(a)};
g.h.Wz=function(a){O.B=this.ca;var b=a.F;g.ib(b)?this.J++:(a=a.D,(0,g.G)(b,g.Aa(function(a,b){null!=a.A&&(b.Ua=a.A);a.isBumper&&(b.Ja=!1)},a)),this.O=hha(this,b),g.kb(this.A,new om(b,a.isBumper,a.g)),this.J++,this.K.Ca(this.qb,"adsLoaderSdkAdLoaded",this.Wz,!1,this));
Ly(this)};
g.h.jN=function(a){a=a.g;O.B=this.ca;a.Cd();$m(Ym,this,lq,void 0,void 0);this.J++;if(!Fy(this)||2<=this.A.length-this.o)a=Ym(lq),this.dispatchEvent(new qm(a));Ly(this)};
g.h.DP=function(){Ny(this);Vy(this);Ty(this)};
g.h.kN=function(a){a=a.getError().Nb();try{var b={};b.ec=a;Kn(Hn.getInstance(),44,b)}catch(c){}this.o++;Sy(this)};
g.h.ti=function(){this.dispatchEvent("userClose")};
g.h.si=function(){this.dispatchEvent("autoClose")};
g.h.Uf=function(){this.o++;Sy(this)};
g.h.sh=function(){this.ga||(this.dispatchEvent("contentPauseRequested"),this.ga=!0)};
g.h.Ze=function(){return g.ib(this.G)?null:this.G[0].A};
g.h.Vf=function(a){this.g instanceof jw?this.g.Vf(a):Qy(this.g)&&this.g.Vf(a)};
g.h.Xz=function(a){switch(a.type){case "impression":try{Kn(Hn.getInstance(),44,{imp:!0})}catch(c){}break;case "start":var b;if(b=this.Xf()&&Iy(this,this.o+1)&&1<Ry(this))b=a.Qb(),b=null===b||null===this.g||g.ib(this.g.ads)?!1:this.g.ads[this.g.ads.length-1]===b;b&&Ky(this,this.o+1)}"vpaidEvent"!=a.type&&jha(this,a.type,a.Qb());this.dispatchEvent(a)};
g.h.Xf=function(){if(null===this.B)var a=!1;else a=this.B,a=!(null===a||a.pn()||O.g()||gn()||Ik()||g.mn&&!on(4))&&!1;return a};g.z(Wy,kha);g.z(Zy,Nu);Zy.prototype.A=function(){return new Ou(this.g,null,mha(this))};g.z(cz,g.Ne);cz.prototype.setDescription=function(){};g.z(dz,g.rf);g.z(fz,g.rf);g.h=fz.prototype;g.h.Ib=function(){this.A||(null==this.B&&(this.B=new g.cm(this)),this.B.V(this.o,"currentTimeUpdate",this.Ex,!1),this.B.V(this.o,"contentWrapperError",this.OP,!1));this.o.start();this.A=!0};
g.h.getCurrentTime=function(){return this.o.currentTime};
g.h.ad=function(){null!=this.B&&(this.B.dispose(),this.B=null);this.o.stop();this.A=!1};
g.h.Ex=function(){if(this.A){var a=this.o.currentTime;if((0,window.isNaN)(a)||0>a)mz(this,"The currentTime is not a valid time value:"+a);else{var b=pha(this,a);this.D?(0,g.G)(b,function(a){jz(this,!0,a)},this):(0,g.G)(qha(b),function(a){jz(this,!0,a)},this);
jz(this,!1,rha(this,a));sha(this,a)}}};
g.h.OP=function(){mz(this,"There was an error while tracking the content:The content current time is invalid.")};g.z(oz,dz);oz.prototype.start=function(){this.g.start()};
oz.prototype.stop=function(){this.g.stop()};
oz.prototype.W=function(){oz.aa.W.call(this);this.A.dispose();this.g.dispose()};
oz.prototype.B=function(){if("currentTime"in this.o&&!(0,window.isNaN)(this.o.currentTime)){var a=this.currentTime;this.currentTime=this.o.currentTime;a!=this.currentTime&&this.dispatchEvent(new g.Ne("currentTimeUpdate"))}else this.dispatchEvent(new g.Ne("contentWrapperError")),this.stop()};g.h=qz.prototype;g.h.get=function(a){a=rz(this,a);return this.g[a]};
g.h.set=function(a,b){a=rz(this,a);this.g[a]=b};
g.h.Mc=function(){return this.g.length};
g.h.isEmpty=function(){return 0==this.g.length};
g.h.clear=function(){this.o=this.g.length=0};
g.h.ib=function(){for(var a=this.Mc(),b=this.Mc(),c=[],a=this.Mc()-a;a<b;a++)c.push(this.get(a));return c};
g.h.Cb=function(){for(var a=[],b=this.Mc(),c=0;c<b;c++)a[c]=c;return a};g.z(sz,Nn);g.h=sz.prototype;g.h.sB=function(a,b,c,d){if(d&&(d=g.ab(a,function(a){return null!==Pp(a.o)}),null!==d))return d;
a=(0,g.se)(a,function(a){var b=a.g;D(g.E(a.o))||"progressive"!=a.B&&"application/x-mpegurl"!=g.E(b).toLowerCase()?a=!1:(b=g.E(b).toLowerCase(),a=D(b)||on(2.3)&&La(b,"application/ogg")?!1:g.mn&&(La(b,"video/mp4")||La(b,"video/3gpp"))||hn()&&(La(b,"application/x-mpegurl")||La(b,"application/vnd.apple.mpegurl"))?!0:!D(this.g.canPlayType(b)));return a},this);
return pz(a,b,c)};
g.h.yq=function(){return(0,g.se)(g.Ob(Cu),function(a){return!D(this.g.canPlayType(a))},this)};
g.h.qo=function(a){this.ba=0<a.g?a.g:Ln()};
g.h.load=function(a){uz(this);a&&(this.g.src=a);this.g.load()};
g.h.unload=function(){uz(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.O=!1;this.g.play();this.J||(this.J=g.gg(this.EG,this.ba,this))};
g.h.pause=function(){this.O=!0;this.g.pause();tz(this)};
g.h.gi=function(){return this.g.paused?hn()||g.UE?this.g.currentTime<this.g.duration:!0:!1};
g.h.fj=function(){return this.g.muted};
g.h.Zq=function(){gn()&&this.g.webkitDisplayingFullscreen&&this.g.webkitExitFullscreen()};
g.h.ej=function(){return jo(this.g)};
g.h.kk=function(a){var b;a:{for(b=this.X.ib();b.length;){var c=b.pop();if(0<c){b=c;break a}}b=-1}return b>=a};
g.h.gj=function(a){this.g.currentTime=a};
g.h.getCurrentTime=function(){return this.g.currentTime};
g.h.Qw=function(){return wz(this)};
g.h.getDuration=function(){return(0,window.isNaN)(this.g.duration)?-1:this.g.duration};
g.h.bh=function(){return this.g.ended};
g.h.Lf=function(){return new g.Qd(this.g.offsetWidth,this.g.offsetHeight)};
g.h.Lx=function(){return this.g.seeking};
g.h.W=function(){this.ad();sz.aa.W.call(this)};
g.h.getError=function(){return null};
g.h.Ib=function(){this.ad();this.o=new g.cm(this);this.o.V(this.g,Vz,this.MP);this.o.V(this.g,"canplay",this.KN);this.o.V(this.g,"ended",this.XI);this.o.V(this.g,"webkitbeginfullscreen",this.fr);this.o.V(this.g,"webkitendfullscreen",this.Ox);this.o.V(this.g,"pause",this.aJ);this.o.V(this.g,"playing",this.UP);this.o.V(this.g,"timeupdate",this.bJ);this.o.V(this.g,"volumechange",this.cJ);this.o.V(this.g,"error",this.Nx);this.o.V(this.g,zN||hn()&&!ln(8)?"loadeddata":"canplay",this.ZI);this.D=new Ks;this.o.V(this.D,
"click",this.WI);this.D.Ib(this.g);this.G=new g.eg(1E3);this.o.V(this.G,"tick",this.YI);this.G.start()};
g.h.ad=function(){null!=this.D&&(this.D.ad(),this.D=null);null!=this.G&&this.G.dispose();null!=this.o&&(this.o.dispose(),this.o=null);uz(this)};
g.h.MP=function(a){this.dispatchEvent(a.type)};
g.h.KN=function(){var a;if(a=mi)a=g.Hb,a=!(a&&(Ma(a,"SMART-TV")||Ma(a,"SmartTV")));a&&!this.P&&(this.gj(.001),this.P=!0)};
g.h.ZI=function(){this.Vc||(this.Vc=!0,this.dispatchEvent("loaded"))};
g.h.UP=function(){this.dispatchEvent("play");hn()||zN||vz(this)};
g.h.bJ=function(){if(!this.B&&(hn()||zN)){if(0>=this.getCurrentTime())return;if(zN&&this.bh()&&1==this.getDuration()){this.Nx();return}vz(this)}if(hn()||sn()){if(1.5<this.getCurrentTime()-this.A){this.F=!0;this.gj(this.A);return}this.F=!1;this.getCurrentTime()>this.A&&(this.A=this.getCurrentTime())}var a=this.X;a.g[a.o]=this.g.currentTime;a.o=(a.o+1)%a.A;this.dispatchEvent("timeUpdate")};
g.h.cJ=function(){this.dispatchEvent("volumeChange")};
g.h.aJ=function(){if(this.B&&hn()&&!this.O&&(2>wz(this)-this.g.currentTime||this.F)){this.C=new g.eg(250);this.o.V(this.C,"tick",this.GN);this.C.start();var a=!0}else a=!1;a||this.dispatchEvent("pause")};
g.h.XI=function(){var a=!0;if(hn()||sn())a=this.A>=this.g.duration-1.5;!this.F&&a&&this.dispatchEvent("end")};
g.h.fr=function(){this.dispatchEvent("beginFullscreen")};
g.h.Ox=function(){this.dispatchEvent("endFullscreen")};
g.h.Nx=function(){tz(this);this.dispatchEvent("error")};
g.h.WI=function(){this.dispatchEvent("click")};
g.h.YI=function(){var a=this.Lf(),b=this.ej();if(a.width!=this.M.width||a.height!=this.M.height)!this.K&&b?this.fr():this.K&&!b&&this.Ox(),this.M=a,this.K=b};
g.h.EG=function(){if(!this.B){try{Kn(Hn.getInstance(),16)}catch(a){}uz(this);this.dispatchEvent("mediaLoadTimeout")}};
g.h.GN=function(){if(this.bh()||!this.gi())g.Le(this.C);else{var a=this.g.duration-this.g.currentTime,b=wz(this)-this.g.currentTime;0<b&&(2<=b||2>a)&&(g.Le(this.C),this.play())}};g.z(yz,g.rf);var Qpa=new El;xz.prototype.start=function(a){return this.g[a].startTime};
xz.prototype.end=function(a){return this.g[a].endTime};
g.h=yz.prototype;g.h.readyState=0;g.h.currentTime=0;g.h.duration=window.NaN;g.h.paused=!0;g.h.Tx=!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.iJ=1;g.h.playbackRate=0;g.h.Fg=null;g.h.Dn=0;g.h.KR=4;g.h.dk=null;g.h.un=null;
g.h.play=function(){this.Tx&&(this.currentTime=0,this.dispatchEvent("timeupdate"));this.paused&&(this.paused=!1,this.dispatchEvent("play"),this.readyState=this.KR,2>=this.readyState?this.dispatchEvent("waiting"):this.dispatchEvent("playing"));if(null===this.Fg||this.Fg.na())this.Fg=new g.eg(10),this.Fg.V("tick",(0,g.y)(this.ZB,this));this.Dn=(0,g.F)();this.Fg.start();this.autoplay=!1};
g.h.pause=function(){this.autoplay=!1;this.paused||(this.Fg.stop(),this.paused=!0,this.dispatchEvent("timeupdate"),this.dispatchEvent("pause"))};
g.h.load=function(){this.readyState=0;this.paused=!0;this.dispatchEvent("loadstart");this.setProperty("duration",(0,window.isNaN)(this.duration)?10+20*Math.random():this.duration);var a=this.o;a.g.push(new zha(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.iJ};
g.h.setProperty=function(a,b){switch(a){case "currentTime":var c=Number(b);this.dispatchEvent("seeking");this.currentTime=c;this.dispatchEvent("seeked");this.ZB();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&&Qpa.set(a,b)};
g.h.getAttribute=function(a){return Qpa.get(a)};
g.h.ZB=function(){var a=(0,g.F)()-this.Dn,b=this.currentTime+a/1E3;this.Dn+=a;2<this.readyState&&(this.currentTime=Math.min(b,this.duration));this.dispatchEvent("timeupdate");this.currentTime==this.duration&&(this.Tx=this.paused=!0,this.Fg.stop(),this.dispatchEvent("ended"))};
g.h.W=function(){this.Fg&&this.Fg.dispose();this.g.dispose()};
g.h.gR=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.un&&(this.un.innerText=b);c&&this.dk&&(this.dk.style.backgroundColor=c)};g.z(zz,g.K);zz.prototype.initialize=function(){this.o&&dn()&&this.o.load()};
zz.prototype.W=function(){g.qe(this.g);zz.aa.W.call(this)};
zz.prototype.show=function(){var a=this.g;null!=a&&(a.style.display="block")};
zz.prototype.hide=function(){var a=this.g;null!=a&&(a.style.display="none")};g.z(Az,g.K);Az.prototype.G=function(a){if(!("*"!=this.o&&a.origin!=this.o||this.B&&a.source!=this.B)&&g.u(a.data)){try{var b=g.kg(a.data)}catch(c){return}if(!(null==b||this.K&&(this.sessionId&&this.sessionId!=b.id||this.channel&&this.channel!=b.channel))&&b)switch(b.event){case "syn":Bz(this,a);Dz(this);this.sendMessage({event:"ack"});break;case "ack":Bz(this,a);Dz(this);break;case "command":a=b.func,a in this.g&&this.g[a].apply(null,b.args)}}};
Az.prototype.sendMessage=function(a,b){var c=b||this.B;if(c){this.sessionId&&(a.id=this.sessionId);this.channel&&(a.channel=this.channel);try{var d=g.mg(a);c.postMessage(d,this.F)}catch(e){}}};
Az.prototype.W=function(){window.removeEventListener("message",this.C);Az.aa.W.call(this)};g.z(Cz,Az);Cz.prototype.J=function(a,b){var c={event:"command",func:a},d=Array.prototype.slice.call(arguments,1);0<d.length&&(c.args=d);this.D?this.sendMessage(c):100>this.A.length&&this.A.push(c)};g.z(Ez,g.K);Ez.prototype.G=function(a){a=a.type;var b=new Aha;b.duration=this.g.duration;b.currentTime=this.g.currentTime;b.readyState=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.o.J("notify",a,b)};
Ez.prototype.D=function(a){sx(this.C,a);this.A.V(this.g,a,this.F)};
Ez.prototype.J=function(a){this.C.remove(a);this.A.Ca(this.g,a)};
Ez.prototype.B=function(a,b){this.g[a]=b};g.z(Hz,Nn);var Rpa=["video/mp4","video/webm"],Spa={el:"adunit",controls:0,html5:1,playsinline:1,ps:"gvn",showinfo:0},Gz=[],Fz=!1;g.h=Hz.prototype;g.h.sB=function(a,b,c){var d=g.ab(a,function(a){return null!==Pp(a.o)});
if(null!==d)return d;a=(0,g.se)(a,function(a){a=g.E(a.g);return this.o?this.g.canPlayType(a):g.gb(Rpa,a)},this);
g.ib(c)||(d=pz(a,b,c));return null!=d?d:pz(a,b,[])};
g.h.qo=function(a){this.A=a};
g.h.load=function(a,b){Jz(this,a,b)};
g.h.unload=function(){Jz(this,"","")};
g.h.getVideoUrl=function(){return this.ca};
g.h.setVolume=function(a){this.ha?this.dispatchEvent("volumeChange"):this.o?(a=g.Id(100*a,0,100),this.g.setVolume(a),this.F=-1,this.dispatchEvent("volumeChange")):this.F=a};
g.h.getVolume=function(){return this.o?this.g.getVolume()/100:this.F};
g.h.play=function(){if(!D(g.E(this.ca))){if(!this.B){Lz(this);var a=Ln();null!=this.A&&0<this.A.g&&(a=this.A.g);this.Aa=g.gg(this.PP,a,this)}this.o?(this.fa=!1,!this.B&&this.A&&this.A.o?this.g.loadVideoByPlayerVars(this.pa):this.g.playVideo()):this.fa=!0}};
g.h.pause=function(){this.o&&this.B&&this.g.pauseVideo()};
g.h.gi=function(){return this.o?2==this.g.getPlayerState(this.C):!1};
g.h.fj=function(){return this.o?this.g.isMuted():0==this.getVolume()};
g.h.Zq=function(){};
g.h.ej=function(){var a=O.o?O.G:window.document.getElementById(this.P);return a?jo(a):!1};
g.h.kk=function(a){return this.o?this.g.getCurrentTime(this.C)>=a:!1};
g.h.gj=function(a){this.o?this.g.seekTo(a,!1):this.K=a};
g.h.getCurrentTime=function(a){return this.o?this.g.getCurrentTime(a||this.C):-1};
g.h.Qw=function(){return this.o&&this.B?this.g.getVideoLoadedFraction(this.C)*this.g.getDuration(this.C):0};
g.h.getDuration=function(){return this.o&&this.B?this.g.getDuration(this.C):-1};
g.h.getError=function(){return null};
g.h.yq=function(){return g.Ob(Cu)};
g.h.bh=function(){return this.o?0==this.g.getPlayerState(this.C):!1};
g.h.Lf=function(){var a=O.o?O.G:window.document.getElementById(this.P);return a?new g.Qd(a.offsetWidth,a.offsetHeight):new g.Qd(0,0)};
g.h.Lx=function(){return!1};
g.h.Kx=function(){return 1==this.va};
g.h.yb=function(){return this.o?1==this.g.getPlayerState(this.C):!1};
g.h.eJ=function(){var a=this.Lf(),b=this.ej();if(a.width!=this.sa.width||a.height!=this.sa.height)!this.ka&&b?this.dispatchEvent("beginFullscreen"):this.ka&&!b&&this.dispatchEvent("endFullscreen"),this.sa=a,this.ka=b};
g.h.Ib=function(){this.ga=(0,g.y)(this.sA,this);this.O=(0,g.y)(this.gr,this);this.ua=(0,g.y)(this.tA,this);this.Ja=(0,g.y)(this.BQ,this);this.ha&&(this.g.addEventListener("onAdStateChange",this.O),this.g.addEventListener("onReady",this.ga),this.g.addEventListener("onStateChange",this.O),this.g.addEventListener("onVolumeChange",this.ua),this.g.addEventListener("onSharePanelOpened",this.Ja));this.ba=new g.eg(1E3);this.X.V(this.ba,"tick",this.eJ);this.ba.start()};
g.h.ad=function(){this.ha&&(this.g.removeEventListener("onAdStateChange",this.O),this.g.removeEventListener("onReady",this.ga),this.g.removeEventListener("onStateChange",this.O),this.g.removeEventListener("onVolumeChange",this.ua),this.g.removeEventListener("onSharePanelOpened",this.Ja));null!=this.ba&&this.ba.dispose()};
g.h.MG=function(){var a=g.Xb(Spa);O.C&&(a.ps="gvn",a.remoteve=In.fa,a.remotevewin="discover");var b=this.P,a={playerVars:a,events:{cardstatechange:(0,g.y)(this.dJ,this),onError:(0,g.y)(this.RP,this),onReady:(0,g.y)(this.sA,this),onAdStateChange:(0,g.y)(this.gr,this),onStateChange:(0,g.y)(this.gr,this),onVolumeChange:(0,g.y)(this.tA,this)}},c=g.v("YT");this.g=null!=c&&null!=c.Player?new c.Player(b,a):null};
g.h.RP=function(){this.dispatchEvent("error")};
g.h.sA=function(){this.o=!0;this.J&&this.Yq(this.J.videoId,this.J.Mh,this.J.Nj);-1!=this.F&&(this.setVolume(this.F),this.F=-1);null!=this.M&&(Iz(this,this.M,this.da),this.da=this.M=null);-1!=this.K&&(this.gj(this.K),this.K=-1);this.fa&&this.play()};
g.h.dJ=function(a){this.va=a.data;this.dispatchEvent("cardsStateChange")};
g.h.gr=function(a){switch(a.data){case 0:this.B?this.dispatchEvent("end"):this.dispatchEvent("error");break;case 1:this.B||(Lz(this),this.B=!0,this.G=0,this.dispatchEvent("start"));this.dispatchEvent("play");Kz(this);this.D=new g.eg(100);this.X.V(this.D,"tick",this.iA);this.D.start();break;case 2:this.dispatchEvent("pause"),Kz(this)}};
g.h.tA=function(){this.dispatchEvent("volumeChange")};
g.h.BQ=function(){this.dispatchEvent("shareClicked")};
g.h.iA=function(){var a=Fm();if(a.g("seek_back_for_all")||a.g("seek_back_for_all_no_leanback")&&!Ik()||a.g("seek_back_for_safari")&&li&&jn(Epa,10)&&Ma(g.Hb,"Safari")||yN||sn()){if(1.5<this.getCurrentTime()-this.G){this.o&&this.g.seekTo(this.G,!0);return}this.getCurrentTime()>this.G&&(this.G=this.getCurrentTime())}this.dispatchEvent("timeUpdate")};
g.h.PP=function(){this.dispatchEvent("mediaLoadTimeout")};
g.h.Yq=function(a,b,c){if(b||c)this.o?this.g.addInfoCardXml(a,b,c):this.J={videoId:a,Mh:b,Nj:c}};
g.h.Ae=function(){if(!this.o)return null;var a=this.g.getVideoData();return a?a.cpn:null};
g.h.Vs=function(a){this.o&&Pp(this.getVideoUrl())&&this.g.sendVideoStatsEngageEvent(a)};
g.h.Mx=function(a){this.o&&this.g.setCardsVisible(a,!1,"YOUTUBE_DRAWER_AUTO_OPEN")};
g.h.dr=function(){this.o&&this.g.showControls()};
g.h.ar=function(){this.o&&this.g.hideControls()};
g.h.W=function(){Kz(this);Lz(this);this.ad();this.o=!1;this.X.dispose();this.K=-1;this.da=null;this.fa=!1;this.M=null;this.F=-1;this.ga=this.g=this.A=null;this.B=!1;this.ca="";Hz.aa.W.call(this)};
g.qa("onYouTubeIframeAPIReady",function(){Fz=!0;(0,g.G)(Gz,function(a){a()});
jb(Gz)},window);g.z(Mz,g.rf);Mz.prototype.send=function(a){var b=a.g;this.g.hasOwnProperty(b)&&this.g[b].send(a.type,a.Qd,a.Qf)};
Mz.prototype.W=function(){this.o.dispose();for(var a in this.g)g.Le(this.g[a]);Mz.aa.W.call(this)};
Mz.prototype.C=function(a){a=a.g;var b=Xx(a.data);if(null!=b){var c=b.channel;if(this.A&&!this.g.hasOwnProperty(c)){var d=b.sid;Oz(this,c,d,a.source);this.dispatchEvent(new Nz(b.name,b.type,b.data||{},d,a.origin,c))}}};
g.z(Nz,Vx);g.z(Qz,g.cm);
Qz.prototype.D=function(a){var b=a.getOrigin(),c=g.sg("//imasdk.googleapis.com"),b=g.sg(b);if(c[3]==b[3]&&c[4]==b[4])if(null!=this.g)Oz(this.g,a.g,a.Fx,fe().parent),null!=this.g&&this.g.send(a);else if(c=a.Qf,null!=c&&g.t(c.scope)){var b=c.scope,c=c.args,d;if("proxy"==b)c=a.Qd,"isGptPresent"==c?d=Pz():"isConsolePresent"==c&&(d=null!=Rz());else if(Pz())if("pubads"==b||"companionAds"==b){d=a.Qd;var e=fe().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(e=a.Qd,f=Rz(),null!=f&&(e=f[e],null!=e))try{e.apply(f,c)}catch(k){}}else if(null===b){f=a.Qd;d=fe();if(g.gb(["googleGetCompanionAdSlots","googleSetCompanionAdContents"],f)&&(f=d[f],null!=f))try{e=f.apply(d,c)}catch(k){}d=e}g.t(d)&&(a.Qf.returnValue=d,this.A.send(a))}};
Qz.prototype.C=function(a){this.A.send(a)};new Sz;Sz.prototype.set=function(a){this.g=a};
Sz.prototype.reset=function(){this.set((0,g.F)())};
Sz.prototype.get=function(){return this.g};var Tz={s:function(a,b,c){return(0,window.isNaN)(c)||""==c||a.length>=Number(c)?a:a=-1<b.indexOf("-",0)?a+Oa(" ",Number(c)-a.length):Oa(" ",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+Oa(" ",a):f+Oa(0<=b.indexOf("0",0)?"0":" ",a)+d},
d:function(a,b,c,d,e,f,k,l){return Tz.f((0,window.parseInt)(a,10),b,c,d,0,f,k,l)}};
Tz.i=Tz.d;Tz.u=Tz.d;g.z(Wz,g.rf);g.h=Wz.prototype;g.h.W=function(){this.o.dispose();null!==this.B&&(this.B.dispose(),this.B=null);g.Dl(this.G.Ud(!1),function(a){a.dispose()});
this.G.clear();g.qe(this.A);Wz.aa.W.call(this)};
g.h.FH=function(a){var b=a.Qf,c=g.lh(this.A),d=window.document.createEvent("MouseEvent");d.initMouseEvent(a.Qd,!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(!mi||hn()||0==window.document.webkitIsFullScreen)this.A.blur(),window.focus();this.A.dispatchEvent(d)};
g.h.VH=function(a){var b=a.Qf,c=g.lh(this.A);if("TouchEvent"in window&&0<window.TouchEvent.length){var d={bubbles:!0,cancelable:!0,view:window,detail:b.detail,ctrlKey:b.ctrlKey,altKey:b.altKey,shiftKey:b.shiftKey,metaKey:b.metaKey,touches:Xz(this,b.touches),targetTouches:Xz(this,b.targetTouches),changedTouches:Xz(this,b.changedTouches)};d=new window.TouchEvent(a.Qd,d);this.A.dispatchEvent(d)}else d=window.document.createEvent("TouchEvent"),d.initTouchEvent(a.Qd,!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,Xz(this,b.touches),Xz(this,b.targetTouches),Xz(this,b.changedTouches),b.scale,b.rotation),this.A.dispatchEvent(d)};
g.h.SH=function(a){if(null!=this.g){var b=a.Qf;switch(a.Qd){case "startTracking":this.g.Ib();break;case "stopTracking":this.g.ad();break;case "exitFullscreen":this.g.Zq();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.gj(b.currentTime);break;case "setPlaybackOptions":this.g.qo(Yz(b));break;case "setVolume":this.g.setVolume(b.volume)}}};
g.h.MH=function(a){if(null!=this.C){var b=a.Qf;switch(a.Qd){case "startTracking":this.C.Ib();break;case "stopTracking":this.C.ad();break;case "setPlaybackOptions":this.C.qo(Yz(b));break;case "load":this.C.load(b.videoUrl,b.mimeType)}}};
g.h.Wf=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.bh();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.F.send("videoDisplay",a,b)};
g.h.AH=function(a){switch(a.Qd){case "showVideo":null!=this.B?this.B.ad():(this.B=new Ks,this.o.V(this.B,"click",this.dR));this.B.Ib($z(this.D));a=this.D;null!=a.g&&a.g.show();break;case "hide":null!==this.B&&(this.B.dispose(),this.B=null);this.D.hide();break;case "getPreloadDisplay":null!=this.g&&null==this.C&&(this.C=this.D.C);break;case "swapVideoDisplays":if(null!=this.g&&null!=this.C){this.o.Ca(this.g,g.Ob(Uz),this.Wf);this.o.Ca(this.g,Vz,this.Wf);a=this.D;if(a.g&&a.o&&a.B&&a.C){var b=a.o;a.o=
a.C;a.C=b;b=a.g;a.g=a.B;a.B=b;if(a.K&&a.o instanceof sz){var b=a.K,c=a.o.g;jm(b.A);b.g=c;(0,g.G)(b.C.ib(),b.D,b)}null!=a.J&&(b=a.J,a=a.o,null!=b.g&&(b.o.Ca(b.g,g.Ob(Uz),b.Wf),b.o.Ca(b.g,Vz,b.Wf)),b.g=a,b.o.V(b.g,g.Ob(Uz),b.Wf),b.o.V(b.g,Vz,b.Wf))}this.g=this.D.o;this.C=this.D.C;this.o.V(this.g,g.Ob(Uz),this.Wf);this.o.V(this.g,Vz,this.Wf)}}};
g.h.dR=function(){this.F.send("displayContainer","videoClick")};
g.h.iH=function(){g.Dl(this.G.Ud(!1),function(a){a.rf=ye(this.A);a.connect()},this);
this.J=!0};Zz.prototype.initialize=function(){null!=this.g&&this.g.initialize();null!=this.B&&this.B.initialize()};
Zz.prototype.destroy=function(){g.Le(this.g);g.Le(this.B);g.Le(this.J);g.Le(this.o);g.Le(this.C);g.Le(this.K);g.qe(this.A)};
Zz.prototype.hide=function(){null!=this.g&&this.g.hide()};
Zz.prototype.setSize=function(a,b){var c=this.A;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.J&&(c=this.J,c.A.width=-1==a?"100%":a,c.A.height=-1==b?"100%":b)};g.h=aA.prototype;g.h.qq=function(){return $z(this.g)};
g.h.Ak=function(){return this.g.D};
g.h.Gf=function(){return this.g.D};
g.h.nn=function(){var a=this.g.o;return null!=a?a:new Hz};
g.h.vg=function(){var a=this.g;null!=a.g&&a.g.show()};
g.h.ud=function(){};
g.h.cq=function(){return null!=this.g.G};
g.h.pn=function(){return this.g.F};
g.h.Vq=function(){return!1};
g.h.qn=function(){return this.g.M};
g.h.setSize=function(a,b){this.g.setSize(a,b)};
g.h.hide=function(){};
g.h.Tq=function(){return null};
g.h.Uq=function(){};g.z(bA,g.Ne);g.h=dA.prototype;
g.h.clone=function(){var a=new dA;"auto"==this.Hi?a.Hi="auto":"click"==this.Hi&&(a.Hi="click");a.g=this.g;a.Jh=g.Xb(this.Jh);a.o=this.o;a.lm=this.lm;a.D=this.D;a.B=this.B?g.qb(this.B):null;a.F=this.F;a.Fc=g.Xb(this.Fc);a.C=this.C;a.location=this.location;a.referrer=this.referrer;a.G=this.G;a.language=this.language;a.dj=this.dj;a.cj=this.cj;a.df=this.df;a.cf=this.cf;a.Re=this.Re;a.vo=this.vo;a.mn=this.mn;a.ut=this.ut;a.A=this.A;a.So=this.So;a.containerElement=this.containerElement;a.afcRmFallback=
this.afcRmFallback;a.M=this.M;a.K=this.K;a.Ti=this.Ti;a.Ro=this.Ro;a.ly=this.ly;a.Yx=this.Yx;a.xp=this.xp?this.xp.clone():null;return a};
g.h.Jh=null;g.h.lm=null;g.h.Fc=null;g.h.Hi="unknown";g.h.ly=0;g.h.dj=0;g.h.cj=0;g.h.df=0;g.h.cf=0;g.h.Ti=!1;g.h.Re=null;g.h.vo=!1;g.h.mn=!1;g.h.ut=!0;g.h.Ro=new ym;g.h.So=0;g.h.zw=!0;g.h.containerElement=null;g.h.afcRmFallback=!1;g.h.Yx=!0;g.h.xp=null;g.z(eA,g.rf);g.z(fA,g.Ne);fA.prototype.getError=function(){return this.A};g.z(hA,g.rf);hA.prototype.o=null;hA.prototype.Rb=function(){return this.B};
hA.prototype.W=function(){delete this.g;iA(this);g.mf(this.o);hA.aa.W.call(this)};
hA.prototype.C=function(){gA(this)&&(iA(this),g.mf(this.o),this.o=null,this.B=!0,this.dispatchEvent("ifload"))};g.z(jA,eA);g.ra(jA);g.h=jA.prototype;g.h.W=function(){this.o&&this.o.dispose();jA.aa.W.call(this)};
g.h.initialize=function(){if(!this.de){var a=g.Ie(new Sd);try{g.v("googletag");kA([a,a.top]);var b=!0}catch(c){b=!1}b?wA(this):(this.de=!0,this.A="not_available")}};
g.h.zd=function(a){try{this.g.googleSetCompanionAdContents((0,g.H)(a,this.pG,this)),this.Fj()}catch(b){this.dispatchEvent(new fA("companion_display_error",b))}};
g.h.uA=function(){0<this.B&&(0,g.F)()>=this.B?(this.de=!0,sA(this),vA(this)):wA(this)};
g.h.rS=function(a){var b=(0,g.H)(a.adSizes,function(a){return new g.Qd(a.adWidth,a.adHeight)});
return new oo(a.slotId,b)};
g.h.pG=function(a){var b={};b.slotId=a.J;b.adContent=a.nd();b.adWidth=a.B;b.adHeight=a.o;b.friendlyIframeRendering=a.A;null==a.g&&g.ib(a.C)||(b.onAdContentSet=(0,g.y)(this.fO,this,a));return b};
g.h.fO=function(a,b){if(null!=a.g){var c=g.ve(b);c||(c=g.je("div"),b.appendChild(c));var d=a.Gc();c.appendChild(d);xA(this,a,c)}else c=a.A?b.querySelector("iframe"):(c=g.ve(b))?g.ve(c):null,(c=c&&"IFRAME"==c.tagName?c:null)&&Eha(this,c,a)};
g.h.eO=function(a){this.dispatchEvent(new fA("companion_click",null,a))};
g.h.Fj=function(a){Vm(this.impressionUrls,a)};g.z(yA,g.rf);yA.prototype.Cv=function(){return!0};
yA.prototype.Vh=function(){return null};g.z(AA,yA);g.h=AA.prototype;g.h.W=function(){this.destroy();AA.aa.W.call(this)};
g.h.destroy=function(){null!=this.C&&this.C.dispose();this.B=null;(0,g.G)(this.A,function(a){qo(a)},this);
this.o=null};
g.h.zd=function(a){g.Le(this.o);this.o=new g.rf;this.B=a;this.D=!0;this.F?CA(this):(this.D=EA(DA(a),[]),this.D||(this.o=this.B=null));return this.o};
g.h.Cv=function(){return this.D};
g.h.yQ=function(){null!=this.G&&(this.G.stop(),this.G.dispose(),this.G=null);if(null!=this.g){var a=lA(this.g);null!=a&&(this.A=a)}this.F=!0;null!=this.B&&CA(this);this.dispatchEvent(new g.Ne("initialized"))};
g.h.gO=function(a){BA(this,a.getError())};
g.h.cO=function(a){if(null!=a.g){var b=a.g;"companion_slot_init"==a.type?(Vm(b.D),zf(function(){null!=this.o&&this.o.dispatchEvent(new ro("companion_impression"))},this)):"companion_click"==a.type&&(Vm(b.C),null!=this.o&&this.o.dispatchEvent(new ro("companion_click")))}};
g.h.Vh=function(){return this.g};g.z(FA,Nu);
FA.prototype.A=function(){if(null===this.g){for(var a=this.B,b=new Xy,c=g.te(g.ve(this.B)),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,w=null,A=g.te(k),C=0,B=A.length;C<B;C++){var M=A[C];switch(M.nodeName){case "vmap:AdSource":if(!n&&(n=Lha(M),!n)){var m=M,M=qr(m,"vmap:AdTagURI"),X="";M.length&&(X=g.E(sr(M[0])));if(D(X))throw Ym(Dpa,null,m.parentNode.nodeName,m.nodeName);m=X}break;case "vmap:Extensions":w=qr(M,"vmap:Extension"),M=
g.ab(w,g.Aa(GA,"type","bumper")),null!=M&&(q=!0,r=rr(M,"suppress_bumper"),r=null!=r?"true"==r:!0),w=Mha(w)}}A=null;if(n){A=n;n=null;if(Fm().g("html5_reuse_parsed_xml"))try{n=pr(A)}catch(xa){n=mr(A)}else n=mr(A);A=this.o.clone();A.o=n;A.g=""}else D(m)||(n=m,A=this.o.clone(),A.o="",A.g=n);A&&(O.g()&&(n=A,k=rr(k,"timeOffset"),C=vr(k),n.So="start"==k||0==C?0:"end"==k||-1==C?-1:1E3*C),k=new Wy(A),k.isBumper=q,k.g=q&&!r,k.A=w,g.kb(l,k));f=Jha(f);q=0;for(r=f.length;q<r;q++)if(k=f[q],w=vr(k),0<q&&(l=Kha(this,
l)),"start"==k||0==w)Yy(b,l,0);else if("end"==k)Yy(b,l,-1);else{if(-1==w)throw Ym(az,null,"timeOffset",g.E(k));Yy(b,l,w)}}}if(0==b.g.Cb().length)throw Ym(lq);this.g=new Ou(a,null,b)}return this.g};JA.prototype.G=function(){var a=this.B(this.C());return Jf(a)?a.then(function(a){return a.toString()}):a instanceof Error?a:a.toString()};
JA.prototype.D=function(){var a=1;tn()&&(a+=4);if(!O.g()){var b=15360;O.da&&(b+=8);a+=b}return a};var iB={h1:"ultrahigh",UX:"high",XE:"medium"},Tha={kV:1E3,lV:1001,mV:1002,nV:1003,oV:1004,pV:1005,qV:1006},Uha={TE:1,uE:2},Vha={XD:"content",X_:"site",Y_:"site_content"};g.h=PA.prototype;g.h.Zl="high";g.h.ir=!1;g.h.zp=1;g.h.Ap=null;g.h.adType="video";g.h.adBlock=1;g.h.jr=null;g.h.Cp=!0;g.h.Dp=null;g.h.Zp=null;g.h.mk=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.Qx=null;g.h.Px=null;g.h.Fn=1E5;g.h.Gn=null;g.h.Sx=null;g.h.Rx=null;
g.h.Mr=0;g.h.Aj=null;g.h.co=null;g.h.no=null;g.h.targeting=null;g.h.tagForChildDirectedTreatment=-1;g.h.Zn=null;g.h.url=null;g.h.tn=null;g.h.Pt=null;g.h.kr=null;g.h.Wt=null;g.h.Tt=null;g.h.Ut=null;g.h.Vt=null;g.h.Lp=null;g.h.Ot=null;g.h.Qo=null;g.h.fJ=null;g.h.gJ=null;g.h.hJ=null;var Rha={SV:"bumpervideo",vE:"flash",LE:"image",d0:"skippablevideo",k0:"standardvideo",o0:"staticimage",TEXT:"text",VIDEO:"video"},aB=["flash","image","staticimage"],Sha=[new g.Qd(200,200),new g.Qd(250,250),new g.Qd(300,250),new g.Qd(336,280),new g.Qd(450,50),new g.Qd(468,60),new g.Qd(480,70),new g.Qd(728,90)];g.z(jB,JA);var Wha=["bumpervideo","skippablevideo","standardvideo","video"];jB.prototype.F={DD:"allow",xu:"exclude",u_:"require"};jB.prototype.D=function(){var a=jB.aa.D.call(this);O.g()&&this.g.no&&(a|=this.g.no);return a};
jB.prototype.B=function(a){var b=new g.Kl(this.o.g),c=new g.Kl("//"+b.o+b.A),b=a.Cb();(0,g.G)(b,function(b){g.Tl(c,b,a.get(b))});
Ll(c,"https");return c};
jB.prototype.C=function(){var a=new El;a.set("sdkv",OA(this));a.set("sdki",this.D().toString(16));a.set("video_product_type",null!=this.g.Aj?O.g()?5:g.Fa(this.g.Aj,"ca-games-")?4:g.Fa(this.g.Aj,"ca-video-")?0:-1:-1);a.set("correlator",this.J.g);a.set("client",this.g.Aj);O.g()&&!D(g.E(this.g.url))?a.set("url",this.g.url):a.set("url",this.o.location?this.o.location:this.o.referrer);null!=this.o.Re&&a.set("adk",this.o.Re);a.set("num_ads",kB(this));a.set("channel",Yha(this));a.set("output","xml_vast3");
this.g.ir&&a.set("adtest","on");$n&&a.set("flash",ni);$A("alternate_ad_url",this.g.Dp,a);$A("cpm",this.g.Zp,a);QA(a,this.o);O.g()||Nb(iB,this.g.Zl)&&a.set("adsafe",this.g.Zl);this.g.host&&(a.set("host",this.g.host),$A("ht_id",this.g.hostTierId,a),null!=this.g.A&&$A("h_ch",this.g.A.join("+"),a));$A("hl",this.g.language,a);$A("cust_age",this.g.jr,a);$A("cust_gender",this.g.gender,a);-1!=this.g.tagForChildDirectedTreatment&&$A("tfcd",this.g.tagForChildDirectedTreatment,a);null!=this.g.Zn&&$A("pucrd",
this.g.Zn,a);$A("slotname",this.g.Ap,a);if(VA(this.g)&&(a.set("ea","0"),null!=this.o.df&&null!=this.o.cf)){var b=WA(this.g,this.o.df,this.o.cf,this.o.Ti);a.set("image_size",b);D(b)&&(this.g.g=cB(this.g.g,this.g.adType,!0),this.g.adType=this.g.g.join("_"))}a.set("ad_type",this.g.adType);b=Im(Em());D(g.E(b))||a.set("eid",b);SA(a);var b=this.J,c=this.g,d=this.g.mk;if(null!=d){var e=Fn(b),c=null!=c.Qo?c.Qo:wn(e,d);1!=c&&a.set("ad_block",c);null==b.O&&(b.O=new Cn);var c=b.O,f=d!=b.P;(e=0==e.g%100||f)||
(e=36E5<(null===c.g?0:(new g.An).getTime()-c.g));e&&c.reset();b.P=d;b=c.o;null!==b&&a.set("tok",b)}a.set("unviewed_position_start","1");b=this.g.zp;a.set("videoad_start_delay",null!=b?b:1);MA(this,a);NA(this,a);KA(this,a);Xha(this)&&a.set("video_format",null!=this.g.tn&&O.g()?this.g.tn:g.UE&&ki(6)||g.nM&&ki(4)||on(2.3)?43:18);b=null!=this.g.co?this.g.co:g.gb(this.g.adType.split("_"),"text")?O.g()&&Fm().g("exclude_pyv_overlays_on_desktop_watch")?this.F.xu:this.F.DD:this.F.xu;a.set("t_pyv",b);$A("min_ad_duration",
this.g.Mr,a);0<this.g.Fn&&a.set("max_ad_duration",Math.round(1.1*(this.g.Fn||0)+0*kB(this)));0<this.g.Gn&&a.set("sdmax",Math.round(1.1*(this.g.Gn||0)+0*kB(this)));XA(a,this.K);O.g()&&(b=Pp(this.g.mk),null!=b&&a.set("video_doc_id","yt_"+b));$A("description_url",this.g.mk,a);O.g()&&($A("lact",TA(this.o),a),$A("loeid",this.g.kr,a),$A("lsv",this.g.isLiveStream,a),this.g.Cp||$A("scs","false",a),$A("targeting",this.g.targeting,a),$A("video_cpm",this.g.Pt,a),$A("yt_pt",this.g.Wt,a),$A("ytdevice",this.g.Tt,
a),$A("ytdevicever",this.g.Ut,a),$A("yt_vis",UA(this.o),a),$A("dbp",this.g.Vt,a),$A("avo",this.g.Lp,a),$A("v_p",this.g.Ot,a));null!=a.get("ms")||$A("ms",this.g.B,a);$A("vid_kw",this.o.B?this.o.B.join(","):null,a);$A("vid_d",this.o.D,a);$A("vid_t",this.o.F,a);LA(a);YA(this.o,a,!1);null!=this.o.Jh&&$A("loc",this.o.Jh.page_location,a);return a};g.z(mB,JA);mB.prototype.B=function(a){var b=new g.Kl(this.o.g);(0,g.G)(a.Cb(),function(c){D(a.get(c))?b.g.remove(c):g.Tl(b,c,a.get(c))});
Ll(b,"https");return b};
mB.prototype.C=function(){var a=new El;a.set("sdkv",OA(this));NA(this,a);KA(this,a);LA(a);null!=this.o.Re&&a.set("adk",this.o.Re);return a};g.z(nB,JA);nB.prototype.C=function(){return new El};
nB.prototype.B=function(){var a=new wq(this.o.g),b=OA(this);b&&yq(a,"dc_sdkv",[b]);(b=this.D().toString(16))&&yq(a,"dc_sdki",[b]);(b=this.A.K)&&yq(a,"dc_submodel",[b]);null!=this.o.Re&&yq(a,"dc_adk",[this.o.Re]);b=Im(Em());D(g.E(b))||yq(a,"dc_eid",[b]);b=O.fa;null!=b&&yq(a,"dc_rfl",[Qi(b)]);b=new El;MA(this,b);NA(this,b);KA(this,b);LA(b);Gl(b,"js")&&yq(a,"dc_js",[b.get("js")]);Gl(b,"msid")&&yq(a,"dc_msid",[b.get("msid")]);Gl(b,"frm")&&yq(a,"dc_frm",[b.get("frm")]);Gl(b,"osd")&&yq(a,"dc_osd",[b.get("osd")]);
Gl(b,"sdr")&&yq(a,"dc_sdr",[b.get("sdr")]);yq(a,"dcmt",["text/xml"]);Gl(b,"vpa")&&yq(a,"vpa",[b.get("vpa")]);Gl(b,"mpt")&&yq(a,"mpt",[b.get("mpt")]);Gl(b,"mpv")&&yq(a,"mpv",[b.get("mpv")]);b=xq(a,"dc_output");null!=b&&(g.gb(b,"vast")||g.gb(b,"xml_vast2"))&&yq(a,"dc_output",["xml_vast3"]);Ll(a,"https");return a};g.z(oB,JA);oB.prototype.B=function(a){a=new g.Kl(a.get("adTagUrl"));Ll(a,"https");return a};
oB.prototype.G=function(){var a=g.E(this.C().get("adTagUrl"));return a=a.replace(/^http:/i,"https:")};
oB.prototype.C=function(){var a=new El;a.set("adTagUrl",this.o.g);a.set("adsResponse",this.o.o);return a};g.z(pB,JA);pB.prototype.B=function(a){return new g.Kl(a.get("adTagUrl"))};
pB.prototype.C=function(){var a=new El;a.set("adTagUrl",this.o.g);a.set("adsResponse",this.o.o);return a};g.z(qB,JA);qB.prototype.B=function(a){var b=new g.Kl(this.o.g);(0,g.G)(a.Cb(),function(c){D(a.get(c))?b.g.remove(c):g.Tl(b,c,a.get(c))});
Ll(b,"https");return b};
qB.prototype.C=function(){var a=new El,b=Im(Em());D(g.E(b))||a.set("eid",b);a.set("sdkv",OA(this));a.set("sdki",this.D().toString(16));a.set("correlator",this.A.B);a.set("scor",this.A.g);null!=this.o.Re&&a.set("adk",this.o.Re);MA(this,a);NA(this,a);KA(this,a);LA(a);var b=(new g.Kl(this.o.g)).g,c=new PA;c.o=gB(c.o,b.get("overlay"));a.set("afvsz",WA(c,this.o.df,this.o.cf,this.o.Ti));b=this.A.A;null!=b&&(this.A.A=null,a.set("fbidx",b));b=this.A.X;null!=b&&a.set("ppid",b);b="null";c=this.A.o;null!=c?
b=c:Pm(this.o.location)?b=this.o.location:Pm(this.o.referrer)&&(b=this.o.referrer);a.set("url",b);b=this.A.K;null!=b&&a.set("submodel",b);b=this.A.G;null==b||O.g()||(b=cia(b),a.set("ciu_szs",b));b=(new g.Kl(this.o.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.z(rB,qB);rB.prototype.B=function(a){a=rB.aa.B.call(this,a);this.J||eia(this,a);return a};g.z(sB,nB);sB.prototype.B=function(a){a=sB.aa.B.call(this,a);this.J||gia(this,a);return a};g.z(tB,JA);var iia="CA_TYPE CPN DT FLASH FRM LACT MT TSLA U_AH U_AW U_CD U_H U_HIS U_JAVA U_NMIME U_NPLUG U_TZ U_W VIS".split(" ");tB.prototype.B=function(){if(!/\[BISCOTTI_ID\]/.test(this.o.g))return uB(this);var a=this.o.lm();return Jf(a)?a.then(function(a){return uB(this,a)},function(a){throw Ym(wpa,a);
},this):a instanceof Error?Ym(wpa,a):uB(this,a)};
tB.prototype.C=function(){return new El};vB.prototype.fetch=function(a,b,c){null!=a.o&&(g.u(a.o)&&!D(a.o)||a.o instanceof window.Document)?lia(this,a,b,c):Eq(a.g)&&null!=this.g&&!this.g.G?this.g.start(a,(0,g.y)(function(){xB(this,a,b,c)},this)):xB(this,a,b,c)};
vB.prototype.o=function(a,b,c,d){var e=kia(a,this.B).G();Jf(e)?e.then(function(e){zB(this,e,a,b,c,d)},function(a){a instanceof xm?c(a):c(Ym(yB,a))},this):e instanceof xm?c(e):e instanceof Error?c(Ym(yB,e)):zB(this,e,a,b,c,d)};AB.prototype.reset=function(a){this.g=a+(0,g.F)()};BB.prototype.start=function(a,b){this.C=a;this.F=b;tia(this);this.D.F?this.J():im(this.o,this.D,"initialized",this.J,this)};
BB.prototype.J=function(){var a=this.D.Vh();var b=a.de&&"retrieved"==a.A?a.D:void 0;a=Cha(a);null!=b&&(this.B.B=b);null!=a&&(this.B.G=a);sia(this)};g.h=g.DB.prototype;g.h.Mc=function(){return this.g.length+this.o.length};
g.h.isEmpty=function(){return g.ib(this.g)&&g.ib(this.o)};
g.h.clear=function(){this.g=[];this.o=[]};
g.h.contains=function(a){return g.gb(this.g,a)||g.gb(this.o,a)};
g.h.remove=function(a){var b=this.g;var c=Zoa(b,a);0<=c?(g.lb(b,c),b=!0):b=!1;return b||g.nb(this.o,a)};
g.h.ib=function(){for(var a=[],b=this.g.length-1;0<=b;--b)a.push(this.g[b]);for(var c=this.o.length,b=0;b<c;++b)a.push(this.o[b]);return a};g.z(KB,g.rf);g.z(PB,wy);g.h=PB.prototype;g.h.Xp=function(){var a=yy(this);g.R(a,"ima-container-rotator");this.G=g.he("DIV");this.g.appendChild(this.G);(0,g.G)(this.M,function(a,c){g.R(a,"ima-container-highlight");var b=63/this.M.length*(c+.5)-5,e=g.he("DIV",{id:Va(),"class":"ima-container-selector"});e.style.top=b+"px";this.Hf.V(e,"click",function(a){this.Ej(a.target)});
this.X.set(e.id,a);this.F.appendChild(e)},this);
this.Ej(g.ve(this.F));this.play();return a};
g.h.play=function(){null==this.B&&(this.B=new g.eg(this.P),this.Hf.V(this.B,"tick",this.gS));PB.aa.play.call(this);this.B.start()};
g.h.stop=function(){null!=this.B&&this.B.stop();PB.aa.stop.call(this)};
g.h.gS=function(){var a=this.C;this.Ej((g.t(a.nextElementSibling)?a.nextElementSibling:ue(a.nextSibling))||g.ve(this.C.parentNode))};
g.h.Ej=function(a){this.C&&g.Ip(this.C,"ima-container-active");g.R(a,"ima-container-active");var b=this.X.get(a.id);g.re(b,this.G);this.C=a;this.G=b;zy(b)};g.z(QB,wy);QB.prototype.hide=g.x;QB.prototype.Xp=function(){var a=yy(this);(0,g.G)(this.B,function(a){g.R(a,"ima-container-highlight");this.g.appendChild(a);zy(a)},this);
this.play();return a};g.z(RB,Ay);g.h=RB.prototype;g.h.Jx=function(a,b){if(this.C||null==b)b=g.x;if(O.g()&&this.C)var c=new wy(a[0],b);else 1<a.length?TB(this)||"fullscreen"==this.cd&&O.g()?c=new QB(a):(c=new PB(a),c.P=15E3):c=new wy(a[0],b);c.Sq=100;this.C&&(c.uy=30);c.vy=45E3;c.dB=6E3;g.S(c.g,"scalable",this.C);g.S(c.ra(),"yt-text-overlay",O.g()&&this.C);return c};
g.h.mS=function(a){var b=a.g;null!=b?(null==this.J&&(this.J=a.getExtension("AdSense").o),yp(b,g.Aa(this.Mq,a,b)),xp(b,g.Aa(this.vH,a,b)),"Text"==b.od()&&(this.C=!0),this.A.push(b)):(b=Ym(OB),b=$p(b,a),Vm(Tr(a),b))};
g.h.Tc=function(a,b,c){RB.aa.Tc.call(this,a,b,c);this.Ta.Ev=!0;a=this.ma();g.ib(Vr(a))?O.g()&&this.la("companionBackfill"):this.zd(a)};
g.h.Iv=function(){null==this.A&&(this.A=[],(0,g.G)(this.ads,this.mS,this));if(0==this.A.length)throw Zm(OB);var a=[];(0,g.G)(this.A,function(b){zp(b,this.fb());"Flash"!=b.od()||b.Qb().getExtension("TemplateAd")||(b.Kv=!0);a.push(b.Gc());Yda(b,this.J.F)},this);
if(0==a.length)throw Zm(OB);zia(this);return this.hm(a)};
g.h.start=function(){RB.aa.start.call(this);!this.G&&TB(this)&&(this.G=!0,this.la("contentPauseRequested"));null!=this.o&&this.o.start();if(this.B){var a=UB(this);Kn(Hn.getInstance(),33,a)}};
g.h.jn=function(a){RB.aa.jn.call(this,a);(0,g.G)(this.A,function(a){var b=aq(a.Qb(),this.Ga);this.Ub.g=b;this.Zf(a,["close"]);this.Ha("close");this.Ub=new nu},this)};
g.h.Mm=function(a){RB.aa.Mm.call(this,a);TB(this)&&(null!=this.containerElement&&g.ne(this.containerElement),O.o?ho().Hj(null):Qn().Hj(null),this.G&&(this.G=!1,this.la("contentResumeRequested")))};
g.h.hm=function(a){a=RB.aa.hm.call(this,a);if(TB(this)){var b=ww(2);g.R(this.g.g,b);g.R(a,b)}return a};
g.h.Hp=function(a){if(TB(this)){var b=g.we(a);b&&((a=g.te(a)[0])&&g.ah(a,{margin:"0 auto"}),a=this.ads[0].getExtension("AdSense").o||new Xu,this.o=new cx(b,a,2,SB(this),!0),this.fb().V(this.o,"skip",this.TH),this.fb().V(this.o,"end",this.GI))}else RB.aa.Hp.call(this,a),b=Mp(eha,SB(this)),a.appendChild(b)};
g.h.Mq=function(a,b){this.B?this.tl(a,b):this.F.push((0,g.y)(this.tl,this,a,b));yp(b,g.x);this.la("impression")};
g.h.tl=function(a,b){var c=aq(a,this.Ga);this.Ub.g=c;this.Cg(a);this.Zf(b,["creativeview"]);this.Ha("impression");this.Ha("creativeview");wu(this,"start");this.Ub=new nu};
g.h.vH=function(a,b,c){a=a.getExtension("AdSense");a=new g.Kl(a.B);var d=b.Eb();(0,window.isNaN)(d)&&(d=g.th(b.Gc()).width);var e=b.getHeight();(0,window.isNaN)(e)&&(e=g.th(b.Gc()).height);var f=g.ph(c),k=c instanceof Re;b=k&&g.t(c.B)?c.B:f.x;c=k&&g.t(c.C)?c.C:f.y;f=Em();c=["0","aw="+d,"ah="+e,"nx="+b,"ny="+c,"viewMode="+this.cd,"sdkv=h.0.0.0","eids="+Im(f)];O.g()||(d=g.th(this.Ra.Gf()),e=this.o?Cga(this.o):new g.Nd(-1,-1),c=c.concat(["bw="+d.width,"bh="+d.height,"sx="+e.x,"sy="+e.y]));Sm(a,"elementclick",
c);(0,g.G)(this.A,function(a){var b=aq(a.Qb(),this.Ga);this.Ub.g=b;By(this,a);this.Ha("click");this.Ub=new nu},this);
this.la("click")};
g.h.Bc=function(a){this.cd!=a&&(RB.aa.Bc.call(this,a),this.la("expandedChanged"))};
g.h.wm=function(){RB.aa.wm.call(this,this.o?15:0,this.o?65:0)};
g.h.TH=function(){VB(this,"skip")};
g.h.GI=function(){VB(this,"close")};g.z(WB,g.K);WB.prototype.o=function(a){if(0==a.Dc||0>=this.A||0>=this.g)return!1;var b=(0,g.F)()/1E3;a=a.Dc-this.B.currentTime;0<a&&(b+=a);return b-this.g<=this.A};g.z(XB,WB);XB.prototype.o=function(a){return 5==a.Ze()?!1:XB.aa.o.call(this,a)};g.z(NB,ru);g.h=NB.prototype;
g.h.Tc=function(a,b,c){null!=this.Wb&&(this.Wb.ad(),this.Wb.dispose(),this.Wb=null);NB.aa.Tc.call(this,a,b,c);a=this.zf.g.Cb();b=new oz(b);var d=4;c&&0<=c.Ks&&(d=c.Ks);var e=new ez,f=Fm(),k=f.o("sdk_ad_prefetch_time_seconds");0<=k&&(d=k);e.D=d;e.C=f.g("enable_prefetch_for_postrolls");e.g=f.g("enable_midroll_notify");e.A=f.g("enable_postroll_notify");e.o=f.o("midroll_notify_time_seconds");e.B=f.o("postroll_notify_time_seconds");this.Ls=null!=c?c.WA:0;Bia(this,a);this.Wb=new fz(b,this.Db.ib(),e);a=
this.zf.g.Cb();Cia(this,a);Dia(this);c=g.ab(this.Db.ib(),function(a){return 0==a.Dc});
null!=c&&this.Xf()&&cC(this,c);try{c={cfg:!0},c.ads=this.eg,Kn(Hn.getInstance(),44,c)}catch(l){}};
g.h.init=function(a){NB.aa.init.call(this,a);this.qt()};
g.h.vj=function(){this.Ve();this.dispatchEvent(new vw(null))};
g.h.destroy=function(){this.dispose()};
g.h.W=function(){this.qb.g=!0;if(0<this.Db.Mc()){var a=this.Db.ib();(0,g.G)(a,this.Qi,this);this.Db.clear()}aC(this);dC(this);null!=this.Ra&&(this.Ra.hide(),this.Ra=null);NB.aa.W.call(this)};
g.h.start=function(){NB.aa.start.call(this)};
g.h.stop=function(){null!=this.xb&&(this.Qi(this.xb),this.Uf())};
g.h.Bb=function(a,b,c){NB.aa.Bb.call(this,a,b,c);this.Wd=a;this.Vd=b;this.cd=c;null!=this.xb&&Ey(this.xb,this.Wd,this.Vd,this.cd)};
g.h.pause=function(){null!=this.xb&&this.xb.pause()};
g.h.resume=function(){null!=this.xb&&this.xb.resume()};
g.h.skip=function(){null!=this.xb&&this.xb.skip()};
g.h.qf=function(){null!=this.xb&&this.xb.qf()};
g.h.setVolume=function(a){NB.aa.setVolume.call(this,a);null!=this.xb&&this.xb.setVolume(a)};
g.h.getCurrentTime=function(){return null!=this.xb?this.xb.getCurrentTime():-1};
g.h.getDuration=function(){return null!=this.xb?this.xb.getDuration():-1};
g.h.Nc=function(){return null!=this.xb?this.xb.Nc():-1};
g.h.Ve=function(){var a=g.qb(this.zf.g.Cb());(0,g.G)(this.Db.ib(),g.Aa(function(a,c){5==c.Ze()&&g.nb(a,c.Dc)},a));
return a};
g.h.Mb=function(){return null!=this.xb?this.xb.Mb():null};
g.h.oo=function(){};
g.h.Qe=function(a){NB.aa.Qe.call(this,a);null!=this.Db&&(0,g.G)(this.Db.ib(),function(b){b.Qe(a)})};
g.h.qt=function(){this.Wb.Ib();this.Wb.Ex();var a=g.oa(0)&&!(0,window.isNaN)(0)?this.zf.g.get(0,[]):[];g.ib(a)&&this.la("contentResumeRequested")};
g.h.handleEvent=function(a){switch(a.type){case "contentTrackingError":break;case "discardAdBreak":$B(this,this.Db.get(a.g));break;default:g.FB(this.pk,a),bC(this)}};
g.h.ti=function(){this.la("userClose")};
g.h.si=function(){this.la("autoClose")};
g.h.Qi=function(a){a.destroy();this.Db.remove(g.za(a));this.xb=null;null!=this.gc&&(this.gc.Ca(a,ky,this.dispatchEvent,!1,this),this.gc.Ca(a,"adError",this.Nw,!1,this),this.gc.Ca(a,"allAdsCompleted",this.Rz,!1,this),this.gc.Ca(a,"contentPauseRequested",this.sh,!1,this),this.gc.Ca(a,"contentResumeRequested",this.Uf,!1,this),this.gc.Ca(a,"adBreakInitialized",this.Sz,!1,this))};
g.h.iO=function(a){this.Em=!0;-1==this.ji?a.A=!1:O.g()&&!YB(this)||ZB(this);oha(this.Wb)};
g.h.jl=function(a){if(null!=a.A){var b={};b.adBreakTime=a.A;this.dispatchEvent(new rm("adNotify",null,b))}};
g.h.ll=function(){this.dispatchEvent(new rm("discardAdNotify",null))};
g.h.hN=function(a){var b=a.A,c=0==b,d=-1==b;this.nk?(c?this.la("contentResumeRequested"):!d||O.g()&&!YB(this)||ZB(this),this.nk=!1):(d?g.gg(function(){var b=this.Db.get(a.g);b&&this.Qi(b);O.g()&&!YB(this)||ZB(this)},500,this):c&&g.gg(function(){this.la("contentResumeRequested")},100,this),c={},c.adBreakTime=b,this.dispatchEvent(new rm("adBreakReady",null,c)))};
g.h.Nw=function(a){var b=a.getError(),c=b.Nb();try{var d={};d.ec=c;Kn(Hn.getInstance(),44,d)}catch(e){}if(O.g()&&b&&"adLoadError"==b.bc()&&(this.dispatchEvent(a),null!=this.Wb))for(b=this.Wb,a=a.target.Dc,c=0;c<b.g.length;c++)b.g[c].g==a&&(b.g[c].B=!0)};
g.h.Rz=function(a){this.Qi(a.target);(YB(this)||!O.g()&&this.Em)&&ZB(this);this.Kd=null;bC(this)};
g.h.sh=function(){var a=this.Wb;a.o.stop();a.A=!1;this.la("contentPauseRequested")};
g.h.Uf=function(){this.la("contentResumeRequested");this.Bp||iz(this.Wb);this.Kd=null};
g.h.Sz=function(a){this.Kd=null;var b=a.target;a={};a.adBreakTime=b.Dc;this.dispatchEvent(new rm("prefetched",b.Mb(),a));if(null!=this.Wb){a=this.Wb;for(var b=b.Dc,c=0;c<a.g.length;c++)a.g[c].g==b&&(a.g[c].de=!0)}bC(this)};
g.h.la=function(a){var b=null;null!=this.xb&&(b=this.xb.Mb());this.dispatchEvent(new rm(a,b))};
g.h.Ui=function(a){return g.ab(this.Db.ib(),g.Aa(function(a,c){return c.Dc==a},a))};
g.h.GB=function(a,b){O.g()?this.md=new XB(a,b):this.md=new WB(a,b);return this.md};
g.h.Ae=function(){return O.g()&&null!=eC(this)&&null!=eC(this).g?eC(this).g.Ae():null};
g.h.Vf=function(a){null!=eC(this)&&eC(this).Vf(a)};
g.h.Xf=function(){return!1};g.z(gC,g.rf);gC.prototype.W=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);gC.aa.W.call(this)};ac("A AREA BUTTON HEAD INPUT LINK MENU META OPTGROUP OPTION PROGRESS STYLE SELECT SOURCE TEXTAREA TITLE TRACK".split(" "));iC.prototype.stringify=function(a){return pa.JSON.stringify(a,this.g)};
iC.prototype.parse=function(a){return pa.JSON.parse(a,this.o)};jC.prototype.clone=function(){return new jC(this.g,this.F,this.A,this.C,this.B,this.D,this.o,this.G)};lC.prototype.o=0;lC.prototype.reset=function(){this.g=this.A=this.B;this.o=0};
lC.prototype.getValue=function(){return this.A};g.h=mC.prototype;g.h.ci=null;g.h.sf=!1;g.h.Qj=null;g.h.Rt=null;g.h.ul=null;g.h.bj=null;g.h.ah=null;g.h.xh=null;g.h.xi=null;g.h.hd=null;g.h.Fl=0;g.h.tf=null;g.h.Ho=null;g.h.di=null;g.h.Ek=-1;g.h.tB=!0;g.h.Lh=!1;g.h.Iq=0;g.h.eo=null;var tC={},rC={};g.h=mC.prototype;g.h.setTimeout=function(a){this.C=a};
g.h.VR=function(a){a=a.target;var b=this.eo;b&&3==Jw(a)?b.aj():this.tC(a)};
g.h.tC=function(a){try{if(a==this.hd)a:{var b=Jw(this.hd),c=this.hd.o,d=this.hd.getStatus();if(g.sc&&!g.lc(10)||g.ee&&!g.kc("420+")){if(4>b)break a}else if(3>b||3==b&&!g.Pe&&!Mw(this.hd))break a;this.Lh||4!=b||7==c||(8==c||0>=d?this.g.nf(3):this.g.nf(2));DC(this);var e=this.hd.getStatus();this.Ek=e;var f=Mw(this.hd);(this.sf=200==e)?(4==b&&vC(this),this.D?(xC(this,b,f),g.Pe&&this.sf&&3==b&&(this.B.V(this.o,"tick",this.MR),this.o.start())):uC(this,f),this.sf&&!this.Lh&&(4==b?this.g.Un(this):(this.sf=
!1,qC(this)))):(this.di=400==e&&0<f.indexOf("Unknown SID")?3:0,sC(),vC(this),wC(this))}}catch(k){}finally{}};
g.h.MR=function(){var a=Jw(this.hd),b=Mw(this.hd);this.Fl<b.length&&(DC(this),xC(this,a,b),this.sf&&4!=a&&qC(this))};
g.h.XQ=function(a){CC((0,g.y)(this.WQ,this,a),0)};
g.h.WQ=function(a){this.Lh||(DC(this),uC(this,a),qC(this))};
g.h.JA=function(a){CC((0,g.y)(this.VQ,this,a),0)};
g.h.VQ=function(a){this.Lh||(vC(this),this.sf=a,this.g.Un(this),this.g.nf(4))};
g.h.cancel=function(){this.Lh=!0;vC(this)};
g.h.oR=function(){this.Qj=null;var a=(0,g.F)();0<=a-this.Rt?(2!=this.bj&&this.g.nf(3),vC(this),this.di=2,sC(),wC(this)):BC(this,this.Rt-a)};g.h=HC.prototype;g.h.Fq=null;g.h.je=null;g.h.fo=!1;g.h.hx=null;g.h.Pm=null;g.h.Gq=null;g.h.Hq=null;g.h.Fe=null;g.h.ug=-1;g.h.Dk=null;g.h.ek=null;g.h.connect=function(a){this.Hq=a;a=IC(this.g,null,this.Hq);sC();this.hx=(0,g.F)();var b=this.g.J;null!=b?(this.Dk=b[0],(this.ek=b[1])?(this.Fe=1,JC(this)):(this.Fe=2,LC(this))):(Vl(a,"MODE","init"),this.je=new mC(this,0,void 0,void 0,void 0),this.je.ci=this.Fq,pC(this.je,a,!1,null,!0),this.Fe=0)};
g.h.CG=function(a){if(a)this.Fe=2,LC(this);else{sC();var b=this.g;b.af=b.Tg.ug;eD(b,9)}a&&this.nf(2)};
g.h.bq=function(a){return this.g.bq(a)};
g.h.abort=function(){this.je&&(this.je.cancel(),this.je=null);this.ug=-1};
g.h.gx=function(){return!1};
g.h.CA=function(a,b){this.ug=a.Ek;if(0==this.Fe)if(b){try{var c=this.o.parse(b)}catch(d){c=this.g;c.af=this.ug;eD(c,2);return}this.Dk=c[0];this.ek=c[1]}else c=this.g,c.af=this.ug,eD(c,2);else if(2==this.Fe)if(this.fo)sC(),this.Gq=(0,g.F)();else if("11111"==b){if(sC(),this.fo=!0,this.Pm=(0,g.F)(),c=this.Pm-this.hx,!g.sc||g.lc(10)||500>c)this.ug=200,this.je.cancel(),sC(),KC(this.g,this,!0)}else sC(),this.Pm=this.Gq=(0,g.F)(),this.fo=!1};
g.h.Un=function(){this.ug=this.je.Ek;if(this.je.sf)0==this.Fe?this.ek?(this.Fe=1,JC(this)):(this.Fe=2,LC(this)):2==this.Fe&&((!g.sc||g.lc(10)?!this.fo:200>this.Gq-this.Pm)?(sC(),KC(this.g,this,!1)):(sC(),KC(this.g,this,!0)));else{0==this.Fe?sC():2==this.Fe&&sC();var a=this.g;a.af=this.ug;eD(a,2)}};
g.h.zl=function(){return this.g.zl()};
g.h.isActive=function(){return this.g.isActive()};
g.h.nf=function(a){this.g.nf(a)};g.h=MC.prototype;g.h.rk=null;g.h.Md=null;g.h.yc=null;g.h.Eq=null;g.h.Tm=null;g.h.Gv=null;g.h.gn=null;g.h.fl=0;g.h.dN=0;g.h.rd=null;g.h.Ug=null;g.h.ng=null;g.h.Ph=null;g.h.Tg=null;g.h.Go=null;g.h.lj=-1;g.h.iy=-1;g.h.af=-1;g.h.uk=0;g.h.Li=0;g.h.Nh=8;var fD=new g.rf;g.z(NC,g.Ne);g.z(OC,g.Ne);g.z(PC,g.Ne);g.h=MC.prototype;g.h.connect=function(a,b,c,d,e){sC();this.Eq=b;this.rk=c||{};d&&g.t(e)&&(this.rk.OSID=d,this.rk.OAID=e);this.D?(CC((0,g.y)(this.cw,this,a),100),VC(this)):this.cw(a)};
g.h.cw=function(a){this.Tg=new HC(this);this.Tg.Fq=null;this.Tg.o=this.C;this.Tg.connect(a)};
g.h.gx=function(){return 0==this.g};
g.h.HA=function(a){this.Ug=null;$C(this,a)};
g.h.GA=function(){this.ng=null;this.yc=new mC(this,0,this.A,"rpc",this.F);this.yc.ci=null;this.yc.Iq=0;var a=this.Gv.clone();g.Tl(a,"RID","rpc");g.Tl(a,"SID",this.A);g.Tl(a,"CI",this.Go?"0":"1");g.Tl(a,"AID",this.lj);RC(this,a);if(!g.sc||g.lc(10))g.Tl(a,"TYPE","xmlhttp"),pC(this.yc,a,!0,this.gn,!1);else{g.Tl(a,"TYPE","html");var b=this.yc,c=!!this.gn;b.bj=3;b.ah=Wl(a.clone());AC(b,c)}};
g.h.CA=function(a,b){if(0!=this.g&&(this.yc==a||this.Md==a))if(this.af=a.Ek,this.Md==a&&3==this.g)if(7<this.Nh){try{var c=this.C.parse(b)}catch(f){c=null}if(g.ta(c)&&3==c.length)if(0==c[0])a:{if(!this.ng){if(this.yc)if(this.yc.ul+3E3<this.Md.ul)WC(this),this.yc.cancel(),this.yc=null;else break a;cD(this);sC()}}else this.iy=c[1],0<this.iy-this.lj&&37500>c[2]&&this.Go&&0==this.Li&&!this.Ph&&(this.Ph=CC((0,g.y)(this.HN,this),6E3));else eD(this,11)}else b!=kpa.DW.g&&eD(this,11);else if(this.yc==a&&WC(this),
!D(b)){c=this.C.parse(b);g.ta(c);for(var d=0;d<c.length;d++){var e=c[d];this.lj=e[0];e=e[1];2==this.g?"c"==e[0]?(this.A=e[1],this.gn=e[2],e=e[3],null!=e?this.Nh=e:this.Nh=6,this.g=3,this.rd&&this.rd.Qv(this),this.Gv=IC(this,this.zl()?this.gn:null,this.Eq),aD(this)):"stop"==e[0]&&eD(this,7):3==this.g&&("stop"==e[0]?eD(this,7):"noop"!=e[0]&&this.rd&&this.rd.Pv(this,e),this.Li=0)}}};
g.h.HN=function(){null!=this.Ph&&(this.Ph=null,this.yc.cancel(),this.yc=null,cD(this),sC())};
g.h.Un=function(a){if(this.yc==a){WC(this);this.yc=null;var b=2}else if(this.Md==a)this.Md=null,b=1;else return;this.af=a.Ek;if(0!=this.g)if(a.sf)1==b?((0,g.F)(),fD.dispatchEvent(new OC(fD,a.xi?a.xi.length:0)),UC(this),this.B.length=0):aD(this);else{var c=a.di,d;if(!(d=3==c||7==c||0==c&&0<this.af)){if(d=1==b)this.Md||this.Ug||1==this.g||2<=this.uk?d=!1:(this.Ug=CC((0,g.y)(this.HA,this,a),bD(this,this.uk)),this.uk++,d=!0);d=!(d||2==b&&cD(this))}if(d)switch(c){case 1:eD(this,5);break;case 4:eD(this,
10);break;case 3:eD(this,6);break;case 7:eD(this,12);break;default:eD(this,2)}}};
g.h.YG=function(a){if(!g.gb(arguments,this.g))throw Error("Unexpected channel state: "+this.g);};
g.h.HS=function(a){a?sC():(sC(),dD(this,8))};
g.h.bq=function(a){if(a)throw Error("Can't create secondary domain capable XhrIo object.");a=new Dw;a.G=!1;return a};
g.h.isActive=function(){return!!this.rd&&this.rd.isActive(this)};
g.h.nf=function(){fD.dispatchEvent(new PC(fD))};
g.h.zl=function(){return!(!g.sc||g.lc(10))};
g.h=gD.prototype;g.h.Qv=function(){};
g.h.Pv=function(){};
g.h.Ov=function(){};
g.h.Tp=function(){};
g.h.Ow=function(){return{}};
g.h.isActive=function(){return!0};g.z(g.iD,g.K);g.h=g.iD.prototype;g.h.subscribe=function(a,b,c){var d=this.o[a];d||(d=this.o[a]=[]);var e=this.Pd;this.g[e]=a;this.g[e+1]=b;this.g[e+2]=c;this.Pd=e+3;d.push(e);return e};
g.h.unsubscribe=function(a,b,c){if(a=this.o[a]){var d=this.g;if(a=g.ab(a,function(a){return d[a+1]==b&&d[a+2]==c}))return this.Td(a)}return!1};
g.h.Td=function(a){var b=this.g[a];if(b){var c=this.o[b];0!=this.B?(this.A.push(a),this.g[a+1]=g.x):(c&&g.nb(c,a),delete this.g[a],delete this.g[a+1],delete this.g[a+2])}return!!b};
g.h.Y=function(a,b){var c=this.o[a];if(c){for(var d=Array(arguments.length-1),e=1,f=arguments.length;e<f;e++)d[e-1]=arguments[e];if(this.C)for(e=0;e<c.length;e++){var k=c[e];Kia(this.g[k+1],this.g[k+2],d)}else{this.B++;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.B--,0<this.A.length&&0==this.B)for(;k=this.A.pop();)this.Td(k)}}return 0!=e}return!1};
g.h.clear=function(a){if(a){var b=this.o[a];b&&((0,g.G)(b,this.Td,this),delete this.o[a])}else this.g.length=0,this.o={}};
g.h.Mc=function(a){if(a){var b=this.o[a];return b?b.length:0}a=0;for(b in this.o)a+=this.Mc(b);return a};
g.h.W=function(){g.iD.aa.W.call(this);this.clear();this.A.length=0};g.jD.prototype.set=function(a,b){g.t(b)?this.g.set(a,g.mg(b)):this.g.remove(a)};
g.jD.prototype.get=function(a){try{var b=this.g.get(a)}catch(c){return}if(null!==b)try{return g.kg(b)}catch(c){throw"Storage: Invalid value was encountered";}};
g.jD.prototype.remove=function(a){this.g.remove(a)};g.z(kD,g.jD);kD.prototype.set=function(a,b){kD.aa.set.call(this,a,mD(b))};
kD.prototype.o=function(a){a=kD.aa.get.call(this,a);if(!g.t(a)||a instanceof Object)return a;throw"Storage: Invalid value was encountered";};
kD.prototype.get=function(a){if(a=this.o(a)){if(a=a.data,!g.t(a))throw"Storage: Invalid value was encountered";}else a=void 0;return a};g.z(nD,kD);nD.prototype.set=function(a,b,c){if(b=mD(b)){if(c){if(c<(0,g.F)()){nD.prototype.remove.call(this,a);return}b.expiration=c}b.creation=(0,g.F)()}nD.aa.set.call(this,a,b)};
nD.prototype.o=function(a,b){var c=nD.aa.o.call(this,a);if(c)if(!b&&g.oD(c))nD.prototype.remove.call(this,a);else return c};g.z(g.pD,nD);g.z(qD,Lia);qD.prototype.Mc=function(){var a=0;g.Dl(this.Ud(!0),function(){a++});
return a};
qD.prototype.clear=function(){var a=Xca(this.Ud(!0)),b=this;(0,g.G)(a,function(a){b.remove(a)})};g.z(rD,qD);g.h=rD.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.Mc=function(){return this.g.length};
g.h.Ud=function(a){var b=0,c=this.g,d=new Al;d.next=function(){if(b>=c.length)throw Bl;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.z(sD,rD);g.z(tD,rD);g.z(uD,qD);uD.prototype.set=function(a,b){this.o.set(this.g+a,b)};
uD.prototype.get=function(a){return this.o.get(this.g+a)};
uD.prototype.remove=function(a){this.o.remove(this.g+a)};
uD.prototype.Ud=function(a){var b=this.o.Ud(!0),c=this,d=new Al;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.o.get(d)};
return d};wD.prototype.getValue=function(){return this.g};
wD.prototype.clone=function(){return new wD(this.Pd,this.g)};g.h=xD.prototype;g.h.remove=function(){var a=this.g,b=a.length,c=a[0];if(!(0>=b)){if(1==b)jb(a);else{a[0]=a.pop();for(var a=0,b=this.g,d=b.length,e=b[a];a<d>>1;){var f=2*a+1,k=2*a+2,f=k<d&&b[k].Pd<b[f].Pd?k:f;if(b[f].Pd>e.Pd)break;b[a]=b[f];a=f}b[a]=e}return c.getValue()}};
g.h.ib=function(){for(var a=this.g,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].getValue());return b};
g.h.Cb=function(){for(var a=this.g,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].Pd);return b};
g.h.clone=function(){return new xD(this)};
g.h.Mc=function(){return this.g.length};
g.h.isEmpty=function(){return g.ib(this.g)};
g.h.clear=function(){jb(this.g)};g.z(zD,xD);/*
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.
*/
AD.prototype.cancel=function(a){if(this.g)this.A instanceof AD&&this.A.cancel();else{if(this.o){var b=this.o;delete this.o;a?b.cancel(a):(b.G--,0>=b.G&&b.cancel())}this.O?this.O.call(this.M,this):this.J=!0;this.g||(a=new KD,ED(this),CD(this,!1,a))}};
AD.prototype.K=function(a,b){this.F=!1;CD(this,a,b)};
AD.prototype.fk=function(a){ED(this);CD(this,!0,a)};
AD.prototype.then=function(a,b,c){var d,e,f=new g.Lf(function(a,b){d=a;e=b});
FD(this,d,function(a){a instanceof KD?f.cancel():e(a)});
return f.then(a,b,c)};
If(AD);AD.prototype.isError=function(a){return a instanceof Error};
g.z(DD,Ea);DD.prototype.message="Deferred has already fired";DD.prototype.name="AlreadyCalledError";g.z(KD,Ea);KD.prototype.message="Deferred was canceled";KD.prototype.name="CanceledError";JD.prototype.o=function(){delete ID[this.Ba];throw this.g;};
var ID={};g.z(LD,Ic);var Mia=[2];var Xma={LU:0,JU:1,HU:2,KW:3,KU:4,PW:5,OW:6,MW:7,LW:8,IW:9,JW:10,NW:11,HW:12,MU:13,NU:14,IU:15,OU:16,PU:17},Yma={dV:0,bV:1,aV:2,cV:3,ZU:4,UU:5,XU:6,YU:7,WU:8,TU:9,hV:10,SU:11,VU:12,RU:13,fV:14,QU:15,gV:16,eV:17},Zma={kY:0,lY:1,nY:2,mY:3,iY:4,jY:5,QW:6};g.sG=window.performance&&window.performance.timing&&window.performance.now?function(){return window.performance.timing.navigationStart+window.performance.now()}:function(){return(new Date).getTime()};g.ND=window.yt&&window.yt.config_||window.ytcfg&&window.ytcfg.data_||{};g.qa("yt.config_",g.ND,void 0);var QD=window.yt&&window.yt.msgs_||window.ytcfg&&window.ytcfg.msgs||{};g.qa("yt.msgs_",QD,void 0);Ca=function(a,b){b=void 0===b?{}:b;var c=a in QD?QD[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};g.TD=void 0;var pE={nu:function(a){a.reverse()},
lB:function(a,b){a.splice(0,b)},
KS:function(a,b){var c=a[0];a[0]=a[b%a.length];a[b]=c}};var Tpa,aka,$ja,Upa,kP,yma,Uka,Vpa,rL,vN,Vka;Tpa=/^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\/)/;aka=/^https?:\/\/([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|borg\.google\.com|googleapis\.com|prod\.google\.com|sandbox\.google\.com|staging\-www\.sandbox\.googleapis\.com)(:[0-9]+)?\//;$ja=/^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\/)/;
Upa=/^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)/;kP=/^https?:\/\/([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|docs\.google\.com|drive\.google\.com|prod\.google\.com|sandbox\.google\.com|plus\.google\.com|mail\.google\.com|youtube\.com|youtubeeducation\.com)(:[0-9]+)?\//;yma=/^https?:\/\/([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|borg\.google\.com|prod\.google\.com|sandbox\.google\.com|youtube\.com)(:[0-9]+)?\//;
Uka=/^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(\/+|\?|#|$)/;g.oO=/^((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\-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|sandbox\.google\.com|plus\.google\.com|video\.google\.com|youtube\.com|ytimg\.com)(:[0-9]+)?\/|s2\.googleusercontent\.com\/s2\/favicons\?|yt[3-4]\.ggpht\.com\/)/;
Vpa=/^https?.*#ocr$|^https?:\/\/(aksecure\.imrworldwide\.com\/|cdn\.imrworldwide\.com\/|secure\-..\.imrworldwide\.com\/)/;g.r3=/^https?:\/\/(googleads\.g\.doubleclick\.net\/(aclk|pagead\/conversion)|www\.google\.com\/(aclk|pagead\/conversion)|www\.googleadservices\.com\/(aclk|pagead\/(aclk|conversion)))/;rL=/^((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\-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|sandbox\.google\.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)(:[0-9]+)?\//;
vN=/^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)/;
Vka=/^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|sandbox\.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)(:[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]))\/(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)/;(0,g.F)();var tE=g.t(window.XMLHttpRequest)?function(){return new window.XMLHttpRequest}:g.t(window.ActiveXObject)?function(){return new window.ActiveXObject("Microsoft.XMLHTTP")}:null;var JE={"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"};var OM=yN||xN;var ZE={},Uia=0;var Wia={EV:"net.badstatus",D_:"net.retryexhausted",TIMEOUT:"net.timeout",UNKNOWN:"net.unknown"};g.p(aF,Ea);var Via=aF;g.p(dF,Ea);dF.prototype.name="BiscottiError";g.p(eF,Ea);eF.prototype.name="BiscottiMissingError";fF.prototype.then=function(a,b,c){try{if(g.t(this.o))return a?Pf(a.call(c,this.o)):Pf(this.o);if(g.t(this.g)){if(!b)return Qf(this.g);var d=b.call(c,this.g);return!g.t(d)&&this.g.A?Qf(this.g):Pf(d)}throw Error("Invalid Result state");}catch(e){return Qf(e)}};
If(fF);var hF={format:"RAW",method:"GET",timeout:5E3,withCredentials:!0},gF=null;var nF={};var Wpa,sF;Wpa=0;sF=g.ee?"webkit":g.ch?"moz":g.sc?"ms":g.Pe?"o":"";g.Xpa=g.v("ytDomDomGetNextId")||function(){return++Wpa};
g.qa("ytDomDomGetNextId",g.Xpa,void 0);var Zia={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};yF.prototype.preventDefault=function(){this.event&&(this.event.returnValue=!1,this.event.preventDefault&&this.event.preventDefault())};
yF.prototype.Zx=function(){return this.event?!1===this.event.returnValue:!1};
yF.prototype.stopPropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopPropagation&&this.event.stopPropagation())};
yF.prototype.stopImmediatePropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopImmediatePropagation&&this.event.stopImmediatePropagation())};var AF=g.v("ytEventsEventsListeners")||{};g.qa("ytEventsEventsListeners",AF,void 0);var BF=g.v("ytEventsEventsCounter")||{count:0};g.qa("ytEventsEventsCounter",BF,void 0);var Ypa=wf(function(){var a=!1;try{var b=Object.defineProperty({},"passive",{get:function(){a=!0}});
window.addEventListener("test",null,b)}catch(c){}return a});g.MF.prototype.V=function(a,b,c,d){c=(0,g.y)(c,d||this.o);a=g.CF(a,b,c);this.g.push(a);return a};
g.MF.prototype.Ca=function(a){g.DF(a);g.nb(this.g,a)};g.p(g.OF,g.K);g.OF.prototype.R=function(a,b,c,d,e){c=sE((0,g.y)(c,d||this.Gb));c={target:a,name:b,fk:c};var f;e&&Ypa()&&(f={passive:!0});a.addEventListener(b,c.fk,f);this.P.push(c);return c};
g.OF.prototype.Ca=function(a){for(var b=0;b<this.P.length;b++)if(this.P[b]==a){this.P.splice(b,1);a.target.removeEventListener(a.name,a.fk);break}};
g.OF.prototype.W=function(){g.QF(this);g.K.prototype.W.call(this)};g.z(g.RF,g.K);g.RF.prototype.subscribe=function(a,b,c){return this.na()?0:this.ba.subscribe(a,b,c)};
g.RF.prototype.unsubscribe=function(a,b,c){return this.na()?!1:this.ba.unsubscribe(a,b,c)};
g.RF.prototype.Td=function(a){return this.na()?!1:this.ba.Td(a)};
g.RF.prototype.Y=function(a,b){return this.na()?!1:this.ba.Y.apply(this.ba,arguments)};g.p(g.TF,g.RF);g.h=g.TF.prototype;g.h.cancel=function(){this.B&&(this.B=!1,this.Y("dragend",0,0,null));this.o&&(this.o=!1,this.Y("hoverend",0,0,null),g.QF(this.g),SF(this))};
g.h.Dy=function(a){g.QF(this.g);UF(this,VF("move"),this.By);UF(this,VF("out"),this.Cy);UF(this,"touchstart",this.Qr);this.A&&UF(this,VF("down"),this.Pr);var b=g.EF(a);a=GF(a);this.o=!0;this.Y("hoverstart",a.x,a.y,b);this.Y("hovermove",a.x,a.y,b)};
g.h.By=function(a){var b=g.EF(a);a=GF(a);if(this.C){var c=this.C;this.C=null;if(HF(c)==b&&Od(GF(c),a))return}this.Y("hovermove",a.x,a.y,b)};
g.h.Cy=function(a){var b=GF(a),c=HF(a);c&&g.xe(this.D,c)?(this.C=a,this.Y("hovermove",b.x,b.y,c)):(g.QF(this.g),SF(this),this.o=!1,this.Y("hoverend",b.x,b.y,c))};
g.h.VM=function(a){this.Dy(a);this.Pr(a)};
g.h.Pr=function(a){if(!g.oa(a.button)||0==a.button){g.QF(this.g);this.g.R(window.document,VF("move"),this.UM);this.g.R(window.document,VF("up"),this.VJ);var b=g.EF(a);if(g.ee)UF(this,"dragstart",this.SG);else if(g.LF(a),(g.SN||g.ch)&&b)a:{for(var c=b;c;){if(g.De(c)||"-1"===c.getAttribute("tabindex")){c.focus();break a}c=c.parentElement}window.document.activeElement.blur()}this.B=!0;a=GF(a);this.Y("dragstart",a.x,a.y,b);this.Y("dragmove",a.x,a.y,b)}};
g.h.SG=function(a){g.LF(a)};
g.h.UM=function(a){var b=g.EF(a);b==window.document&&(b=null);a=GF(a);this.Y("hovermove",a.x,a.y,b);this.Y("dragmove",a.x,a.y,b)};
g.h.VJ=function(a){g.QF(this.g);this.B=!1;var b=IF(a),c=g.EF(a);a=GF(a);b&&g.xe(this.D,b)?(UF(this,VF("move"),this.By),UF(this,VF("out"),this.Cy),UF(this,VF("down"),this.Pr),UF(this,"touchstart",this.Qr),this.Y("dragend",a.x,a.y,c)):(SF(this),this.o=!1,this.Y("dragend",a.x,a.y,c),this.Y("hoverend",a.x,a.y,c))};
g.h.Qr=function(a){var b=a.changedTouches[0];b&&(g.QF(this.g),UF(this,"touchmove",this.WJ),UF(this,"touchend",this.Ey),UF(this,"touchcancel",this.Ey),this.F=b.identifier,a=g.EF(a),this.o||(this.o=!0,this.Y("hoverstart",b.pageX,b.pageY,a)),this.Y("hovermove",b.pageX,b.pageY,a),this.A&&(this.B=!0,this.Y("dragstart",b.pageX,b.pageY,a),this.Y("dragmove",b.pageX,b.pageY,a)))};
g.h.WJ=function(a){var b=WF(this,a);b&&(this.A&&g.LF(a),a=g.EF(a),this.Y("hovermove",b.pageX,b.pageY,a),this.A&&this.Y("dragmove",b.pageX,b.pageY,a))};
g.h.Ey=function(a){var b=WF(this,a);if(b){g.QF(this.g);SF(this);this.o=!1;var c=g.EF(a);this.A&&(this.G||g.LF(a),this.B=!1,this.Y("dragend",b.pageX,b.pageY,c));this.Y("hoverend",b.pageX,b.pageY,c)}};
g.h.W=function(){this.A&&(g.ee&&this.D.removeAttribute("draggable"),this.D.style.touchAction="");g.QF(this.g);g.RF.prototype.W.call(this)};var aja={enablejsapi:1},bja={},cja={allowscriptaccess:"always",allowfullscreen:"true",bgcolor:"#000000"};XF.prototype.clone=function(){var a=new XF,b;for(b in this)if(this.hasOwnProperty(b)){var c=this[b];"object"==sa(c)?a[b]=g.Xb(c):a[b]=c}return a};var JG=0,KG={};var hja={zV:"atp",a0:"ska",p_:"que",BZ:"mus",W_:"sus"};var Zpa=g.v("ytPubsubPubsubInstance")||new g.iD;g.iD.prototype.subscribe=g.iD.prototype.subscribe;g.iD.prototype.unsubscribeByKey=g.iD.prototype.Td;g.iD.prototype.publish=g.iD.prototype.Y;g.iD.prototype.clear=g.iD.prototype.clear;g.qa("ytPubsubPubsubInstance",Zpa,void 0);g.aG=g.v("ytPubsubPubsubSubscribedKeys")||{};g.qa("ytPubsubPubsubSubscribedKeys",g.aG,void 0);g.cG=g.v("ytPubsubPubsubTopicToKeys")||{};g.qa("ytPubsubPubsubTopicToKeys",g.cG,void 0);var bG=g.v("ytPubsubPubsubIsSynchronous")||{};
g.qa("ytPubsubPubsubIsSynchronous",bG,void 0);var eja={log_event:"events",log_interaction:"interactions"},$pa=Object.create(null);$pa.log_event="GENERIC_EVENT_LOGGING";$pa.log_interaction="INTERACTION_LOGGING";var qG={},iG={},oG=0,pG=g.v("ytLoggingTransportLogPayloadsQueue_")||{};g.qa("ytLoggingTransportLogPayloadsQueue_",pG,void 0);var jG=g.v("ytLoggingTransportTokensToCttTargetIds_")||{};g.qa("ytLoggingTransportTokensToCttTargetIds_",jG,void 0);var rG=g.v("ytLoggingTransportDispatchedStats_")||{};
g.qa("ytLoggingTransportDispatchedStats_",rG,void 0);var aqa=g.v("ytLoggingTransportCapturedTime_")||{};g.qa("ytytLoggingTransportCapturedTime_",aqa,void 0);var bqa=tG;g.AG.prototype.o=function(){return{context:xG(this.g)}};
g.AG.prototype.A=function(a,b,c){!g.PD("VISITOR_DATA")&&.01>Math.random()&&g.rE(Error("Missing VISITOR_DATA when sending innertube request."),"WARNING");var d={headers:{"Content-Type":"application/json","X-Goog-Visitor-Id":g.PD("VISITOR_DATA","")},Tb:b,VA:"JSON",gd:c.gd,Ob:function(a,b){c.Ob&&c.Ob(b)},
onError:function(a,b){if(c.onError)c.onError(b)},
timeout:c.timeout,withCredentials:!0},e=g.zl([]);e&&(d.headers.Authorization=e,d.headers["X-Goog-AuthUser"]=g.PD("SESSION_INDEX",0));var f=this.g.xhrApiaryHost;f&&!f.startsWith("http")&&(f="//"+f);g.$E("youtubei_for_web")&&(f="");var k=this.g.xn;k&&(f=k);e&&!f&&(d.headers["x-origin"]=window.location.origin);g.NE(""+f+zG(this.g.innertubeApiVersion,a,b)+"?alt=json&key="+this.g.innertubeApiKey,d)};var HG=g.v("ytLoggingLatencyUsageStats_")||{};g.qa("ytLoggingLatencyUsageStats_",HG,void 0);var IG=0;var cqa;cqa=new sD;g.LG=cqa.isAvailable()?new g.pD(cqa):null;var MG,dqa=new tD;MG=dqa.isAvailable()?new g.pD(dqa):null;RG.prototype.Fm=function(){var a=new RG({id:this.id,name:this.name,app:this.app,type:this.type,user:this.username,userAvatarUri:this.avatar,theme:this.theme,capabilities:this.capabilities.ib().join(","),experiments:this.experiments.ib().join(",")});a.A=this.A;a.o=this.o;a.g=this.g;return a};g.z(TG,g.K);TG.prototype.C=function(){500<this.g&&24E4>2*this.g&&(this.g*=2);this.B();this.A&&this.start()};
TG.prototype.start=function(){this.o.ce(this.g);this.A=(0,g.F)()+this.g};
TG.prototype.stop=function(){this.o.stop();this.A=0};
TG.prototype.isActive=function(){return this.o.isActive()};g.z(UG,gD);g.h=UG.prototype;g.h.subscribe=function(a,b,c){return this.A.subscribe(a,b,c)};
g.h.unsubscribe=function(a,b,c){return this.A.unsubscribe(a,b,c)};
g.h.Td=function(a){return this.A.Td(a)};
g.h.Y=function(a,b){return this.A.Y.apply(this.A,arguments)};
g.h.dispose=function(){this.K||(this.K=!0,g.Le(this.A),VG(this),g.Le(this.o),this.o=null)};
g.h.na=function(){return this.K};
g.h.connect=function(a,b,c){if(!this.g||2!=this.g.g){this.J="";this.o.stop();this.C=a||null;this.B=b||0;a=this.M+"/test";b=this.M+"/bind";var d=new MC("1",c?c.firstTestResults:null,c?c.secondTestResults:null,this.O),e=this.g;e&&(e.rd=null);d.rd=this;this.g=d;e?this.g.connect(a,b,this.D,e.A,e.lj):c?this.g.connect(a,b,this.D,c.sessionId,c.arrayId):this.g.connect(a,b,this.D)}};
g.h.sendMessage=function(a,b){var c={_sc:a};b&&g.$b(c,b);this.o.isActive()||2==(this.g?this.g.g:0)?this.F.push(c):WG(this)&&XC(this.g,c)};
g.h.Qv=function(){SG(this.o);this.C=null;this.B=0;if(this.F.length){var a=this.F;this.F=[];for(var b=0,c=a.length;b<c;++b)XC(this.g,a[b])}this.Y("handlerOpened")};
g.h.Ov=function(a,b){var c=2==b&&401==this.g.af;if(4!=b&&!c){if(6==b||410==this.g.af)c=this.o,c.o.stop(),c.g=500;this.o.start()}this.Y("handlerError",b)};
g.h.Tp=function(a,b,c){if(!this.o.isActive())this.Y("handlerClosed");else if(c)for(a=0,b=c.length;a<b;++a){var d=c[a].map;d&&this.F.push(d)}};
g.h.Ow=function(){var a={v:2};this.J&&(a.gsessionid=this.J);0!=this.B&&(a.ui=""+this.B);0!=this.G&&(a.ui=""+this.G);this.C&&g.$b(a,this.C);return a};
g.h.Pv=function(a,b){"S"==b[0]?this.J=b[1]:"gracefulReconnect"==b[0]?(SG(this.o),this.o.start(),TC(this.g)):this.Y("handlerMessage",new gja(b[0],b[1]))};
g.h.rT=function(){this.o.isActive();var a=this.g,b=0;a.yc&&b++;a.Md&&b++;0!=b?this.o.start():this.connect(this.C,this.B)};var nja=(0,g.F)(),ZG=null,cH=Array(50),bH=-1,dH=!1;g.z(g.nH,g.RF);g.nH.prototype.be=function(){return this.g};
g.nH.prototype.contains=function(a){return!!g.lH(this.g,a)};
g.nH.prototype.get=function(a){return a?g.mH(this.g,a):null};
g.nH.prototype.info=function(a){g.aH(this.F,a)};g.z(pH,g.RF);var eqa=[2E3,2E3,1E3,1E3,1E3,2E3,2E3,5E3,5E3,1E4];g.h=pH.prototype;g.h.start=function(){!this.g&&(0,window.isNaN)(this.o)&&this.xC()};
g.h.stop=function(){this.g&&(this.g.abort(),this.g=null);(0,window.isNaN)(this.o)||(g.wE(this.o),this.o=window.NaN)};
g.h.W=function(){this.stop();pH.aa.W.call(this)};
g.h.xC=function(){this.o=window.NaN;this.g=g.LE(this.F.Zh("/pairing/get_screen"),{method:"POST",Tb:{pairing_code:this.D},timeout:5E3,Ob:(0,g.y)(this.wT,this),onError:(0,g.y)(this.vT,this),gd:(0,g.y)(this.xT,this)})};
g.h.wT=function(a,b){this.g=null;var c=b.screen||{};c.dialId=this.B;c.name=this.C;this.Y("pairingComplete",new eH(c))};
g.h.vT=function(a){this.g=null;a.status&&404==a.status?this.A>=eqa.length?this.Y("pairingFailed",Error("DIAL polling timed out")):(a=eqa[this.A],this.o=g.yE((0,g.y)(this.xC,this),a),this.A++):this.Y("pairingFailed",Error("Server error "+a.status))};
g.h.xT=function(){this.g=null;this.Y("pairingFailed",Error("Server not responding"))};var BH,wH="";g.z(EH,g.nH);g.h=EH.prototype;g.h.start=function(){DH(this)&&this.Y("screenChange");!g.OG("yt-remote-lounge-token-expiration")&&FH(this);g.wE(this.o);this.o=g.yE((0,g.y)(this.start,this),1E4)};
g.h.To=function(a,b){DH(this);oH(this,a);GH(this,!1);this.Y("screenChange");b(a);a.token||FH(this)};
g.h.remove=function(a,b){var c=DH(this);qja(this,a)&&(GH(this,!1),c=!0);b(a);c&&this.Y("screenChange")};
g.h.Co=function(a,b,c,d){var e=DH(this),f=this.get(a.id);f?(f.name!=b&&(f.name=b,GH(this,!1),e=!0),c(a)):d(Error("no such local screen."));e&&this.Y("screenChange")};
g.h.W=function(){g.wE(this.o);EH.aa.W.call(this)};
g.h.DH=function(a){DH(this);var b=this.g.length;a=a&&a.screens||[];for(var c=0,d=a.length;c<d;++c){var e=a[c],f=this.get(e.screenId);f&&(f.token=e.loungeToken,--b)}GH(this,!b);b&&g.aH(this.F,"Missed "+b+" lounge tokens.")};
g.h.CH=function(a){g.aH(this.F,"Requesting lounge tokens failed: "+a)};g.z(IH,g.RF);g.h=IH.prototype;g.h.start=function(){var a=(0,window.parseInt)(g.OG("yt-remote-fast-check-period")||"0",10);(this.B=(0,g.F)()-144E5<a?0:a)?LH(this):(this.B=(0,g.F)()+3E5,g.NG("yt-remote-fast-check-period",this.B),this.Rs())};
g.h.isEmpty=function(){return g.Ub(this.g)};
g.h.update=function(){HH("Updating availability on schedule.");var a=this.D(),b=g.Kb(this.g,function(b,d){return b&&!!g.mH(a,d)},this);
KH(this,b)};
g.h.W=function(){g.wE(this.A);this.A=window.NaN;this.o&&(this.o.abort(),this.o=null);IH.aa.W.call(this)};
g.h.Rs=function(){g.wE(this.A);this.A=window.NaN;this.o&&this.o.abort();var a=MH(this);if(g.Mb(a)){var b=this.C.Zh("/pairing/get_screen_availability");this.o=this.C.Xt(b,{lounge_token:g.Pb(a).join(",")},(0,g.y)(this.wQ,this,a),(0,g.y)(this.vQ,this))}else KH(this,{}),LH(this)};
g.h.wQ=function(a,b){this.o=null;var c=g.Pb(MH(this));if(g.Bb(c,g.Pb(a))){for(var c=b.screens||[],d={},e=0,f=c.length;e<f;++e)d[a[c[e].loungeToken]]="online"==c[e].status;KH(this,d);LH(this)}else this.oc("Changing Screen set during request."),this.Rs()};
g.h.vQ=function(a){this.oc("Screen availability failed: "+a);this.o=null;LH(this)};
g.h.oc=function(a){g.aH("OnlineScreenService",a)};g.z(g.NH,g.nH);g.h=g.NH.prototype;g.h.start=function(){this.A.start();this.o.start();this.g.length&&(this.Y("screenChange"),this.o.isEmpty()||this.Y("onlineScreenChange"))};
g.h.To=function(a,b,c){this.A.To(a,b,c)};
g.h.remove=function(a,b,c){this.A.remove(a,b,c);this.o.update()};
g.h.Co=function(a,b,c,d){this.A.contains(a)?this.A.Co(a,b,c,d):(a="Updating name of unknown screen: "+a.name,g.aH(this.F,a),d(Error(a)))};
g.h.be=function(a){return a?this.g:g.pb(this.g,(0,g.se)(this.B,function(a){return!this.contains(a)},this))};
g.h.yC=function(){return(0,g.se)(this.be(!0),function(a){return!!this.o.g[a.id]},this)};
g.h.zC=function(a,b,c,d,e){this.info("getDialScreenByPairingCode "+a+" / "+b);var f=new pH(this.D,a,b,c);f.subscribe("pairingComplete",(0,g.y)(function(a){g.Le(f);d(OH(this,a))},this));
f.subscribe("pairingFailed",function(a){g.Le(f);e(a)});
f.start();return(0,g.y)(f.stop,f)};
g.h.zT=function(a,b,c,d){g.LE(this.D.Zh("/pairing/get_screen"),{method:"POST",Tb:{pairing_code:a},timeout:5E3,Ob:(0,g.y)(function(a,d){var e=new eH(d.screen||{});if(!e.name||QH(this,e.name)){a:{var f=e.name;for(var m=2,n=b(f,m);QH(this,n);){m++;if(20<m)break a;n=b(f,m)}f=n}e.name=f}c(OH(this,e))},this),
onError:(0,g.y)(function(a){d(Error("pairing request failed: "+a.status))},this),
gd:(0,g.y)(function(){d(Error("pairing request timed out."))},this)})};
g.h.W=function(){g.Le(this.A);g.Le(this.o);g.NH.aa.W.call(this)};
g.h.QH=function(){RH(this);this.Y("screenChange");this.o.update()};
g.NH.prototype.dispose=g.NH.prototype.dispose;g.z(TH,g.RF);g.h=TH.prototype;g.h.Vn=function(a){this.A=a;this.Y("sessionScreen",this.A)};
g.h.he=function(a){this.na()||(a&&UH(this,""+a),this.A=null,this.Y("sessionScreen",null))};
g.h.info=function(a){g.aH(this.O,a)};
g.h.BC=function(){return null};
g.h.Xs=function(a){var b=this.o;a?(b.displayStatus=new window.chrome.cast.ReceiverDisplayStatus(a,[]),b.displayStatus.showStop=!0):b.displayStatus=null;window.chrome.cast.setReceiverDisplayStatus(b,(0,g.y)(function(){this.info("Updated receiver status for "+b.friendlyName+": "+a)},this),(0,g.y)(function(){UH(this,"Failed to update receiver status for: "+b.friendlyName)},this))};
g.h.W=function(){this.Xs("");TH.aa.W.call(this)};g.z(WH,TH);g.h=WH.prototype;g.h.Ws=function(a){if(this.g){if(this.g==a)return;UH(this,"Overriding cast sesison with new session object");this.g.removeUpdateListener(this.D);this.g.removeMessageListener("urn:x-cast:com.google.youtube.mdx",this.C)}this.g=a;this.g.addUpdateListener(this.D);this.g.addMessageListener("urn:x-cast:com.google.youtube.mdx",this.C);xja(this)};
g.h.mj=function(a){this.info("launchWithParams no-op for Cast: "+g.mg(a))};
g.h.stop=function(){this.g?this.g.stop((0,g.y)(function(){this.he()},this),(0,g.y)(function(){this.he(Error("Failed to stop receiver app."))},this)):this.he(Error("Stopping cast device witout session."))};
g.h.Xs=g.x;g.h.W=function(){this.info("disposeInternal");g.wE(this.B);this.B=0;this.g&&(this.g.removeUpdateListener(this.D),this.g.removeMessageListener("urn:x-cast:com.google.youtube.mdx",this.C));this.g=null;WH.aa.W.call(this)};
g.h.yR=function(a,b){if(!this.na())if(b){a:{var c;if(pa.JSON)try{var d=c=pa.JSON.parse(b);break a}catch(e){}d=c=g.kg(b)}if(d)switch(c=""+d.type,d=d.data||{},this.info("onYoutubeMessage_: "+c+" "+g.mg(d)),c){case "mdxSessionStatus":VH(this,d.screenId);break;default:UH(this,"Unknown youtube message: "+c)}else UH(this,"Unable to parse message.")}else UH(this,"No data in message.")};
g.h.Ww=function(a,b,c,d){PH(this.J,this.o.label,a,this.o.friendlyName,(0,g.y)(function(e){e?b(e):0<=d?(UH(this,"Screen "+a+" appears to be offline. "+d+" retries left."),g.yE((0,g.y)(this.Ww,this,a,b,c,d-1),300)):c(Error("Unable to fetch screen."))},this),c)};
g.h.BC=function(){return this.g};
g.h.AT=function(a){this.na()||a||(UH(this,"Cast session died."),this.he())};g.z(XH,TH);g.h=XH.prototype;g.h.Ws=function(a){this.B=a;this.B.addUpdateListener(this.M)};
g.h.mj=function(a){this.C=a;this.F()};
g.h.stop=function(){this.g();this.g=g.x;g.wE(this.D);this.B?this.B.stop((0,g.y)(this.he,this,null),(0,g.y)(this.he,this,"Failed to stop DIAL device.")):this.he()};
g.h.W=function(){this.g();this.g=g.x;g.wE(this.D);this.B&&this.B.removeUpdateListener(this.M);this.B=null;XH.aa.W.call(this)};
g.h.DT=function(a){this.na()||a||(UH(this,"DIAL session died."),this.g(),this.g=g.x,this.he())};
g.h.sr=function(a){this.K=g.kH();if(this.C){var b=new window.chrome.cast.DialLaunchResponse(!0,ZH(this));a(b);YH(this)}else this.F=(0,g.y)(function(){g.wE(this.D);this.F=g.x;this.D=window.NaN;var b=new window.chrome.cast.DialLaunchResponse(!0,ZH(this));a(b);YH(this)},this),this.D=g.yE((0,g.y)(function(){this.F()},this),100)};
g.h.tJ=function(a,b){PH(this.J,this.G.receiver.label,a,this.o.friendlyName,(0,g.y)(function(a){a&&a.token?(this.Vn(a),b(new window.chrome.cast.DialLaunchResponse(!1))):this.sr(b)},this),(0,g.y)(function(a){UH(this,"Failed to get DIAL screen: "+a);
this.sr(b)},this))};g.z($H,TH);$H.prototype.stop=function(){this.he()};
$H.prototype.Ws=g.x;$H.prototype.mj=function(){g.wE(this.g);this.g=window.NaN;var a=g.mH(this.J.be(),this.o.label);a?this.Vn(a):this.he(Error("No such screen"))};
$H.prototype.W=function(){g.wE(this.g);this.g=window.NaN;$H.aa.W.call(this)};g.z(g.aI,g.RF);g.h=g.aI.prototype;
g.h.init=function(a,b){window.chrome.cast.timeout.requestSession=3E4;var c=new window.chrome.cast.SessionRequest(this.D);c.dialRequest=new window.chrome.cast.DialRequest("YouTube");var d=window.chrome.cast.AutoJoinPolicy.TAB_AND_ORIGIN_SCOPED,e=a?window.chrome.cast.DefaultActionPolicy.CAST_THIS_TAB:window.chrome.cast.DefaultActionPolicy.CREATE_SESSION,c=new window.chrome.cast.ApiConfig(c,(0,g.y)(this.DA,this),(0,g.y)(this.hQ,this),d,e);c.customDialLaunchCallback=(0,g.y)(this.rO,this);window.chrome.cast.initialize(c,
(0,g.y)(function(){this.na()||(window.chrome.cast.addReceiverActionListener(this.B),kja(),this.o.subscribe("onlineScreenChange",(0,g.y)(this.AC,this)),this.A=fI(this),window.chrome.cast.setCustomReceivers(this.A,g.x,(0,g.y)(function(a){this.oc("Failed to set initial custom receivers: "+g.mg(a))},this)),this.Y("yt-remote-cast2-availability-change",dI(this)),b(!0))},this),(0,g.y)(function(a){this.oc("Failed to initialize API: "+g.mg(a));
b(!1)},this))};
g.h.tS=function(a,b){cI("Setting connected screen ID: "+a+" -> "+b);if(this.g){var c=this.g.A;if(!a||c&&c.id!=a)cI("Unsetting old screen status: "+this.g.o.friendlyName),eI(this,null)}if(a&&b){if(!this.g){c=g.mH(this.o.be(),a);if(!c){cI("setConnectedScreenStatus: Unknown screen.");return}var d=bI(this,c);d||(cI("setConnectedScreenStatus: Connected receiver not custom..."),d=new window.chrome.cast.Receiver(c.uuid?c.uuid:c.id,c.name),d.receiverType=window.chrome.cast.ReceiverType.CUSTOM,this.A.push(d),
window.chrome.cast.setCustomReceivers(this.A,g.x,(0,g.y)(function(a){this.oc("Failed to set initial custom receivers: "+g.mg(a))},this)));
cI("setConnectedScreenStatus: new active receiver: "+d.friendlyName);eI(this,new $H(this.o,d),!0)}this.g.Xs(b)}else cI("setConnectedScreenStatus: no screen.")};
g.h.uS=function(a){this.na()?this.oc("Setting connection data on disposed cast v2"):this.g?this.g.mj(a):this.oc("Setting connection data without a session")};
g.h.CT=function(){this.na()?this.oc("Stopping session on disposed cast v2"):this.g?(this.g.stop(),eI(this,null)):cI("Stopping non-existing session")};
g.h.requestSession=function(){window.chrome.cast.requestSession((0,g.y)(this.DA,this),(0,g.y)(this.AQ,this))};
g.h.W=function(){this.o.unsubscribe("onlineScreenChange",(0,g.y)(this.AC,this));window.chrome&&window.chrome.cast&&window.chrome.cast.removeReceiverActionListener(this.B);var a=XG,b=g.v("yt.mdx.remote.debug.handlers_");g.nb(b||[],a);g.Le(this.g);g.aI.aa.W.call(this)};
g.h.oc=function(a){g.aH("Controller",a)};
g.h.EA=function(a,b){this.g==a&&(b||eI(this,null),this.Y("yt-remote-cast2-session-change",b))};
g.h.dQ=function(a,b){if(!this.na())if(a)switch(a.friendlyName=window.chrome.cast.unescape(a.friendlyName),cI("onReceiverAction_ "+a.label+" / "+a.friendlyName+"-- "+b),b){case window.chrome.cast.ReceiverAction.CAST:if(this.g)if(this.g.o.label!=a.label)cI("onReceiverAction_: Stopping active receiver: "+this.g.o.friendlyName),this.g.stop();else{cI("onReceiverAction_: Casting to active receiver.");this.g.A&&this.Y("yt-remote-cast2-session-change",this.g.A);break}switch(a.receiverType){case window.chrome.cast.ReceiverType.CUSTOM:eI(this,
new $H(this.o,a));break;case window.chrome.cast.ReceiverType.DIAL:eI(this,new XH(this.o,a));break;case window.chrome.cast.ReceiverType.CAST:eI(this,new WH(this.o,a));break;default:this.oc("Unknown receiver type: "+a.receiverType)}break;case window.chrome.cast.ReceiverAction.STOP:this.g&&this.g.o.label==a.label?this.g.stop():this.oc("Stopping receiver w/o session: "+a.friendlyName)}else this.oc("onReceiverAction_ called without receiver.")};
g.h.rO=function(a){if(this.na())return window.Promise.reject(Error("disposed"));var b=a.receiver;b.receiverType!=window.chrome.cast.ReceiverType.DIAL&&(this.oc("Not DIAL receiver: "+b.friendlyName),b.receiverType=window.chrome.cast.ReceiverType.DIAL);var c=this.g?this.g.o:null;if(!c||c.label!=b.label)return this.oc("Receiving DIAL launch request for non-clicked DIAL receiver: "+b.friendlyName),window.Promise.reject(Error("illegal DIAL launch"));if(c&&c.label==b.label&&c.receiverType!=window.chrome.cast.ReceiverType.DIAL){if(this.g.A)return cI("Reselecting dial screen."),
this.Y("yt-remote-cast2-session-change",this.g.A),window.Promise.resolve(new window.chrome.cast.DialLaunchResponse(!1));this.oc('Changing CAST intent from "'+c.receiverType+'" to "dial" for '+b.friendlyName);eI(this,new XH(this.o,b))}b=this.g;b.G=a;return b.G.appState==window.chrome.cast.DialAppState.RUNNING?new window.Promise((0,g.y)(b.tJ,b,(b.G.extraData||{}).screenId||null)):new window.Promise((0,g.y)(b.sr,b))};
g.h.DA=function(a){if(!this.na()){cI("New cast session ID: "+a.sessionId);var b=a.receiver;if(b.receiverType!=window.chrome.cast.ReceiverType.CUSTOM){if(!this.g)if(b.receiverType==window.chrome.cast.ReceiverType.CAST)cI("Got resumed cast session before resumed mdx connection."),b.friendlyName=window.chrome.cast.unescape(b.friendlyName),eI(this,new WH(this.o,b),!0);else{this.oc("Got non-cast session without previous mdx receiver event, or mdx resume.");return}var c=this.g.o,d=g.mH(this.o.be(),c.label);
d&&g.fH(d,b.label)&&c.receiverType!=window.chrome.cast.ReceiverType.CAST&&b.receiverType==window.chrome.cast.ReceiverType.CAST&&(cI("onSessionEstablished_: manual to cast session change "+b.friendlyName),g.Le(this.g),this.g=new WH(this.o,b),this.g.subscribe("sessionScreen",(0,g.y)(this.EA,this,this.g)),this.g.mj(null));this.g.Ws(a)}}};
g.h.BT=function(){return this.g?this.g.BC():null};
g.h.AQ=function(a){this.na()||(this.oc("Failed to estabilish a session: "+g.mg(a)),a.code!=window.chrome.cast.ErrorCode.CANCEL&&eI(this,null))};
g.h.hQ=function(a){cI("Receiver availability updated: "+a);if(!this.na()){var b=dI(this);this.C=a==window.chrome.cast.ReceiverAvailability.AVAILABLE;dI(this)!=b&&this.Y("yt-remote-cast2-availability-change",dI(this))}};
g.h.AC=function(){this.na()||(this.A=fI(this),cI("Updating custom receivers: "+g.mg(this.A)),window.chrome.cast.setCustomReceivers(this.A,g.x,(0,g.y)(function(){this.oc("Failed to set custom receivers.")},this)),this.Y("yt-remote-cast2-availability-change",dI(this)))};
g.aI.prototype.setLaunchParams=g.aI.prototype.uS;g.aI.prototype.setConnectedScreenStatus=g.aI.prototype.tS;g.aI.prototype.stopSession=g.aI.prototype.CT;g.aI.prototype.getCastSession=g.aI.prototype.BT;g.aI.prototype.requestSession=g.aI.prototype.requestSession;g.aI.prototype.init=g.aI.prototype.init;g.aI.prototype.dispose=g.aI.prototype.dispose;g.gI.prototype.reset=function(a){this.listId="";this.index=-1;this.videoId="";g.hI(this);this.volume=-1;this.muted=!1;a&&(this.index=a.index,this.listId=a.listId,this.videoId=a.videoId,this.g=a.playerState,this.volume=a.volume,this.muted=a.muted,this.audioTrackId=a.audioTrackId,this.o=a.trackData,this.Kf=a.hasPrevious,this.hasNext=a.hasNext,this.G=a.playerTime,this.A=a.playerTimeAt,this.D=a.seekableStart,this.B=a.seekableEnd,this.J=a.duration,this.K=a.loadedTime,this.C=a.liveIngestionTime,this.F=
!(0,window.isNaN)(this.C))};
g.gI.prototype.yb=function(){return 1==this.g};
g.gI.prototype.getDuration=function(){return this.F?this.J+((0,g.F)()-this.A)/1E3:this.J};
g.gI.prototype.clone=function(){return new g.gI(g.lI(this))};mI.prototype.o=function(){return this.name};
mI.prototype.getId=function(){return this.id};
mI.prototype.g=function(){return this.isDefault};
mI.prototype.toString=function(){return this.name};
mI.prototype.getName=mI.prototype.o;mI.prototype.getId=mI.prototype.getId;mI.prototype.getIsDefault=mI.prototype.g;g.nI.prototype.toString=function(){return this.languageCode+"_"+this.languageName+"_"+this.g+"_"+this.id+"_"+this.isDefault};g.oI.prototype.toString=function(){return this.o+": "+g.pI(this)+" - "+this.F};
g.oI.prototype.K=ba(0);g.oI.prototype.Ke=function(){return!(!this.o||this.g&&!this.g.languageCode)};qI.prototype.o=function(){return this.Uc};
qI.prototype.toString=function(){return this.Uc.name};
qI.prototype.getLanguageInfo=qI.prototype.o;g.z(g.rI,g.RF);g.h=g.rI.prototype;g.h.connect=function(a,b){if(b){var c=b.listId,d=b.videoId,e=b.index,f=b.currentTime||0;5>=f&&(f=0);var k={videoId:d,currentTime:f};c&&(k.listId=c);g.t(e)&&(k.currentIndex=e);c&&(this.kb.listId=c);this.kb.videoId=d;this.kb.index=e||0;this.kb.state=3;g.iI(this.kb,f);this.B="UNSUPPORTED";sI("Connecting with setPlaylist and params: "+g.mg(k));this.g.connect({method:"setPlaylist",params:g.mg(k)},a,xH())}else sI("Connecting without params"),this.g.connect({},a,xH());zja(this)};
g.h.dispose=function(){this.na()||(this.Y("beforeDispose"),tI(this,3));g.rI.aa.dispose.call(this)};
g.h.W=function(){uI(this);wI(this);vI(this);g.wE(this.J);this.J=window.NaN;g.wE(this.K);this.K=window.NaN;this.A=null;g.DF(this.X);this.X.length=0;this.g.dispose();g.rI.aa.W.call(this);this.B=this.F=this.o=this.kb=this.g=null};
g.h.uH=function(){this.D(2)};
g.h.RN=function(){sI("Channel opened");this.P&&(this.P=!1,vI(this),this.O=g.yE((0,g.y)(function(){sI("Timing out waiting for a screen.");this.D(1)},this),15E3));
tja(ija(this.g),this.da)};
g.h.ON=function(){sI("Channel closed");(0,window.isNaN)(this.C)?g.AH(!0):g.AH();this.dispose()};
g.h.PN=function(a){g.AH();(0,window.isNaN)(this.G())?(sI("Channel error: "+a+" without reconnection"),this.dispose()):(this.P=!0,sI("Channel error: "+a+" with reconnection in "+this.G()+" ms"),tI(this,2))};
g.h.QN=function(a){a.params?sI("Received: action="+a.action+", params="+g.mg(a.params)):sI("Received: action="+a.action+" {}");switch(a.action){case "loungeStatus":a=g.kg(a.params.devices);this.o=(0,g.H)(a,function(a){return new RG(a)});
a=!!g.ab(this.o,function(a){return"LOUNGE_SCREEN"==a.type});
zI(this,a);break;case "loungeScreenDisconnected":ob(this.o,function(a){return"LOUNGE_SCREEN"==a.type});
zI(this,!1);break;case "remoteConnected":var b=new RG(g.kg(a.params.device));g.ab(this.o,function(a){return b?a.id==b.id:!1})||g.kb(this.o,b);
break;case "remoteDisconnected":b=new RG(g.kg(a.params.device));ob(this.o,function(a){return b?a.id==b.id:!1});
break;case "gracefulDisconnect":break;case "playlistModified":AI(this,a);break;case "nowPlaying":Cja(this,a);break;case "onStateChange":BI(this,a);break;case "onAdStateChange":Dja(this,a);break;case "onVolumeChanged":Eja(this,a);break;case "onSubtitlesTrackChanged":Bja(this,a);break;case "nowAutoplaying":Fja(this,a);break;case "autoplayDismissed":this.Y("autoplayDismissed");break;case "autoplayUpNext":this.F=a.params.videoId||null;this.Y("autoplayUpNext",this.F);break;case "onAutoplayModeChanged":this.B=
a.params.autoplayMode;this.Y("autoplayModeChange",this.B);"DISABLED"==this.B&&this.Y("autoplayDismissed");break;case "onHasPreviousNextChanged":Gja(this,a);break;default:sI("Unrecognized action: "+a.action)}};
g.h.fS=function(){if(this.A){var a=this.A;this.A=null;this.kb.videoId!=a&&xI(this,"getNowPlaying")}};
g.rI.prototype.subscribe=g.rI.prototype.subscribe;g.rI.prototype.unsubscribeByKey=g.rI.prototype.Td;g.rI.prototype.ka=function(){var a=3;this.na()||(a=0,(0,window.isNaN)(this.G())?WG(this.g)&&(0,window.isNaN)(this.C)&&(a=1):a=2);return a};
g.rI.prototype.getProxyState=g.rI.prototype.ka;g.rI.prototype.D=function(a){sI("Disconnecting with "+a);uI(this);this.Y("beforeDisconnect",a);1==a&&g.AH();VG(this.g,a);this.dispose()};
g.rI.prototype.disconnect=g.rI.prototype.D;g.rI.prototype.ha=function(){var a=this.kb;this.A&&(a=this.kb.clone(),g.kI(a,this.A,a.index));return g.lI(a)};
g.rI.prototype.getPlayerContextData=g.rI.prototype.ha;
g.rI.prototype.sa=function(a){var b=new g.gI(a);b.videoId&&b.videoId!=this.kb.videoId&&(this.A=b.videoId,g.wE(this.J),this.J=g.yE((0,g.y)(this.fS,this),5E3));var c=[];this.kb.listId==b.listId&&this.kb.videoId==b.videoId&&this.kb.index==b.index||c.push("remoteQueueChange");this.kb.g==b.g&&this.kb.volume==b.volume&&this.kb.muted==b.muted&&g.jI(this.kb)==g.jI(b)&&g.mg(this.kb.o)==g.mg(b.o)||c.push("remotePlayerChange");this.kb.reset(a);(0,g.G)(c,function(a){this.Y(a)},this)};
g.rI.prototype.setPlayerContextData=g.rI.prototype.sa;g.rI.prototype.ca=function(){var a=this.g.D.id,b=g.ab(this.o,function(b){return"REMOTE_CONTROL"==b.type&&b.id!=a});
return b?b.id:""};
g.rI.prototype.getOtherConnectedRemoteId=g.rI.prototype.ca;g.rI.prototype.G=function(){var a=this.g;return a.o.isActive()?a.o.A-(0,g.F)():window.NaN};
g.rI.prototype.getReconnectTimeout=g.rI.prototype.G;g.rI.prototype.fa=function(){return this.B||"UNSUPPORTED"};
g.rI.prototype.getAutoplayMode=g.rI.prototype.fa;g.rI.prototype.ga=function(){return this.F||""};
g.rI.prototype.getAutoplayVideoId=g.rI.prototype.ga;g.rI.prototype.va=function(){if(!(0,window.isNaN)(this.G())){var a=this.g.o;g.tt(a.o);a.start()}};
g.rI.prototype.reconnect=g.rI.prototype.va;g.rI.prototype.pa=function(a,b){xI(this,a,b);yI(this)};
g.rI.prototype.sendMessage=g.rI.prototype.pa;g.NH.prototype.$_st=g.NH.prototype.start;g.NH.prototype.$_gspc=g.NH.prototype.zT;g.NH.prototype.$_gsppc=g.NH.prototype.zC;g.NH.prototype.$_c=g.NH.prototype.contains;g.NH.prototype.$_g=g.NH.prototype.get;g.NH.prototype.$_a=g.NH.prototype.To;g.NH.prototype.$_un=g.NH.prototype.Co;g.NH.prototype.$_r=g.NH.prototype.remove;g.NH.prototype.$_gs=g.NH.prototype.be;g.NH.prototype.$_gos=g.NH.prototype.yC;g.NH.prototype.$_s=g.NH.prototype.subscribe;g.NH.prototype.$_ubk=g.NH.prototype.Td;var XY=16/9,fqa=[.25,.5,.75,1,1.25,1.5,2];var Hja={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",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",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:"(",273:"(",274:"(",275:"(",276:"(",314:"(",277:"(",362:"(h",363:"(h",364:"(h",365:"(h",366:"(h",367:"(h",368:"(h"};var ZM={name:"width",video:!0,valid:640,hi:99999},$M={name:"height",video:!0,valid:360,hi:99999},XM={name:"framerate",video:!0,valid:30,hi:9999},CK={name:"bitrate",video:!0,valid:3E5,hi:2E9},YM={name:"eotf",video:!0,valid:"bt709",hi:"catavision"},RM={name:"channels",video:!1,valid:2,hi:99},aN={name:"cryptoblockformat",video:!0,valid:"subsample",hi:"invalidformat"},bN={Ul:ZM,Ll:$M,HX:XM,ou:CK,uX:YM,gW:RM,yW:aN};var Ija={yV:"auto",G0:"tiny",CY:"light",e0:"small",XE:"medium",zY:"large",RX:"hd720",NX:"hd1080",OX:"hd1440",PX:"hd2160",QX:"hd2880",WX:"highres",UNKNOWN:"unknown"};var s3;s3={};g.EI=(s3.auto=0,s3.tiny=144,s3.light=144,s3.small=240,s3.medium=360,s3.large=480,s3.hd720=720,s3.hd1080=1080,s3.hd1440=1440,s3.hd2160=2160,s3.hd2880=2880,s3.highres=4320,s3);var HI="highres hd2880 hd2160 hd1440 hd1080 hd720 large medium small tiny".split(" ");FI.prototype.B=1.3;QI.prototype.g=function(a){return"true"==this.flags[a]};
QI.prototype.o=function(a){return(0,window.parseFloat)(this.flags[a])||0};
QI.prototype.A=function(a){return this.flags[a]?this.flags[a].toString():""};RI.prototype.dispose=function(){if(!this.A){if(this.o)try{window.URL.revokeObjectURL(this.g)}catch(a){}this.A=!0}};
RI.prototype.na=function(){return this.A};var Fka={52:!0,53:!0,54:!0,55:!0,60:!0,79:!0,87:!0};SI.prototype.g=function(){return null};
SI.prototype.A=function(){return!1};var uT=VI("auto","large",!1),XI=VI("auto","auto",!1);TI.prototype.isLocked=function(){return this.A&&!!this.o&&this.o==this.g};
TI.prototype.B=function(a){return a.video?$I(this,a.video.quality):!1};var t3={},gqa=(t3["api.invalidparam"]=2,t3.auth=150,t3["drm.auth"]=150,t3["heartbeat.net"]=150,t3["heartbeat.servererror"]=150,t3["heartbeat.stop"]=150,t3["html5.unsupportedads"]=5,t3["fmt.noneavailable"]=5,t3["fmt.decode"]=5,t3["fmt.unplayable"]=5,t3["html5.missingapi"]=5,t3["html5.unsupportedlive"]=5,t3["drm.unavailable"]=5,t3);g.p(hJ,g.K);g.h=hJ.prototype;g.h.iK=function(){return g.Pb(this.B)};
g.h.jK=function(){return g.Pb(this.C)};
g.h.ra=function(){return this.o};
g.h.addEventListener=function(a,b){if(g.u(b)){var c=function(){g.v(b).apply(window,arguments)};
this.F[b]=c}else c=b;this.app.ba.subscribe(a,c)};
g.h.ZG=function(a,b){var c=this,d=g.u(b)?a+b:a+g.za(b);if(!this.D[d]){var e;g.u(b)?e=function(){g.v(b).apply(window,arguments)}:e=b;
var f=function(a){e({target:c.A,data:a})};
this.D[d]=f;this.app.ba.subscribe(a,f)}};
g.h.removeEventListener=function(a,b){if(g.u(b)){var c=this.F[b];Vb(this.F,b);b=c}this.app.ba.unsubscribe(a,b)};
g.h.aH=function(a,b){var c=g.u(b)?a+b:a+g.za(b),d=this.D[c];d&&(this.app.ba.unsubscribe(a,d),Vb(this.D,c))};
g.h.Sk=function(){return coa(this.app)};
g.h.wc=function(a,b){this.g&&n2(this.app,!0,this.playerType);noa(this.app,a,b,void 0,this.playerType)};
g.h.getCurrentTime=function(){return this.app.getCurrentTime(this.playerType)};
g.h.kK=function(){var a=g.MU(this.app,this.playerType);if(!a)return 0;a=AU(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){lJ(this,a)};
g.h.Le=function(){return this.app.K.muted};
g.h.mute=function(){mJ(this)};
g.h.yg=function(){nJ(this)};
g.h.fd=function(){this.g&&n2(this.app,!0,this.playerType);var a=KU(this.app);2==a?(a=this.app.A.o)&&a.Y("control_play"):3==a?g.LU(this.app.A).Yk("control_play"):EY(this.app,this.playerType)};
g.h.sd=function(){var a=KU(this.app);2==a?(a=this.app.A.o)&&a.Y("control_pause"):3==a?g.LU(this.app.A).Yk("control_pause"):GY(this.app,this.playerType)};
g.h.Tf=function(){var a=this.app;a.Z.ka&&(a.g.isFullscreen()&&!a.Z.experiments.g("player_external_control_on_classic_desktop")&&g.QU(a.g),a.g.Y("pageTransition"));moa(a)};
g.h.fK=function(){};
g.h.Wc=function(){return g.MU(this.app,1).va};
g.h.Sf=function(a){g2(this.app,a)};
g.h.pj=function(){return this.app.Z.Aa?fqa:[1]};
g.h.Rk=function(){var a=g.MU(this.app,this.playerType);if(a){var b="unknown";a.g.Oa&&(b=a.g.Oa.video.quality,!a.Z.experiments.g("disable_video_quality_from_size")&&"auto"==b&&a.o&&(a=a.o?a.o.ra():null)&&0<a.videoHeight&&(b=DI(a.videoWidth,a.videoHeight)))}else b="unknown";return b};
g.h.Vk=function(a){if(!this.app.Z.isMobile){var b=g.MU(this.app,this.playerType);b&&uU(b,"p",VI(a,a,!0))}};
g.h.Sr=function(){var a=g.MU(this.app,this.playerType);return a?(a=(0,g.H)(sU(a),function(a){return a.quality}),a.length&&("auto"==a[0]&&a.shift(),a=a.concat(["auto"])),a):[]};
g.h.mK=function(){return this.Tr()};
g.h.nK=function(){return 1};
g.h.Tr=function(){return W1(this.app)};
g.h.oK=function(){return 0};
g.h.setSize=function(){this.app.F.jg()};
g.h.My=function(a){hoa(this.app,a?2:1)};
g.h.Ny=function(a){hoa(this.app,a)};
g.h.dK=function(){this.app.g.za("SUBSCRIBE")};
g.h.eK=function(){this.app.g.za("UNSUBSCRIBE")};
g.h.Tk=function(a){"captions"==a&&(a=this.app.A.g)&&!a.loaded&&a.load()};
g.h.Hn=function(a){"captions"==a&&(a=this.app.A.g)&&a.loaded&&a.YS()};
g.h.sK=function(a,b,c){a=eJ(a,b,c);a=l2(this.app,a,this.playerType);this.g&&n2(this.app,a,this.playerType)};
g.h.Gy=function(a,b,c){a=eJ(a,b,c);p2(this.app,a,this.playerType)};
g.h.tK=function(a,b,c){a=fJ(a,b,c);b=l2(this.app,a,this.playerType);this.g&&n2(this.app,b,this.playerType);b=this.app;(a=(new g.Kl(a.mediaContentUrl)).g)&&HN(b.Z,a)};
g.h.hK=function(a,b,c){b=fJ(a,b,c);p2(this.app,b,this.playerType);a=this.app;(b=(new g.Kl(b.mediaContentUrl)).g)&&HN(a.Z,b)};
g.h.getVideoUrl=function(){var a=this.app.Z;if(a.J)return"";var b=this.app.o.g,c=void 0;b.Da||(c=Math.floor(this.app.getCurrentTime(1)));return a.getVideoUrl(b.videoId,this.getPlaylistId()||void 0,c)};
g.h.Qk=function(){return h2(this.app)};
g.h.Jy=function(){var a=this.app.Z;if(a.J)var b="";else{var c=this.app.o.g.videoId;b=this.app.F.Za();var d=this.getPlaylistId()||void 0,c="https://"+LN(a)+"/embed/"+c;d&&(c=g.Cg(c,{list:d}));d=!a.experiments.g("enable_responsive_embed_snippet");a.experiments.g("embed_snippet_includes_version")&&(c=g.Cg(c,{ecver:d?"1":"2"}));a=b.width;b=b.height;d?(d=Ja(c),b='<iframe width="'+a+'" height="'+b+'" src="'+d+'" frameborder="0" 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="'+Ja(c)+'" style="position:absolute;width:100%;height:100%;left:0" width="'+d+'" height="360" frameborder="0" allowfullscreen></iframe></div>')}return b};
g.h.Fy=function(a,b,c){return joa(this.app,a,b,c)};
g.h.Ly=function(a){a:{for(var b=this.app,c=b.o.D.g.g||[],d=0;d<c.length;d++){var e=c[d];if(e.getId()==a){b.o.D.F(e);bV(b,"cuerangesremoved",[e]);a=!0;break a}}a=!1}return a};
g.h.rK=function(a,b,c,d){var e=this.app;e.fa=!1;q2(e,a,b,c,d);this.g&&n2(this.app,!0,this.playerType)};
g.h.gK=function(a,b,c,d){var e=this.app;e.fa=!0;q2(e,a,b,c,d)};
g.h.qj=function(){s2(this.app);this.g&&n2(this.app,!0,this.playerType)};
g.h.Uk=function(){ioa(this.app);this.g&&n2(this.app,!0,this.playerType)};
g.h.Ky=function(a){var b=this.app;!b.X||b.g.isFullscreen()&&!b.va?b.B&&(b.B.Vc?k2(b,b.B.jc(a),1):b.fa=!1,TQ(b.B,a)):b.g.za("onPlaylistIndex",a);this.g&&n2(this.app,!0,this.playerType)};
g.h.setShuffle=function(a){var b=this.app.B;b&&b.setShuffle(a)};
g.h.vK=function(a){var b=this.app.B;b&&(b.loop=a)};
g.h.Rf=function(){var a=this.app.B;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.Iy=function(){var a=this.app.B;return a?a.Zd():-1};
g.h.getPlaylistId=function(){var a=this.app.B;return a&&a.listId?a.listId.toString():null};
g.h.Ed=function(a,b,c){if(!b)return null;var d=this.app.A;return"captions"==a?(a=d.g)&&a.Zr(b,c):null};
g.h.Ac=function(a,b,c){return this.Ed(a,b,c)};
g.h.li=function(a){var b=this.app.A;return"captions"==a?(b=b.g)&&b.vL():a?null:(a=[],b.g&&a.push("captions"),a)};
g.h.ia=function(){var a={},b=g.MU(this.app,this.playerType);if(b&&(b=b.g,a.video_id=b.videoId,a.author=b.author,a.title=b.title,b.Oa)){a.video_quality=b.Oa.video.quality;var b=b.Oa.video,c=[];32<b.fps&&c.push("hfr");GI(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.Oy=function(){O1(this.app,!0)};
g.h.pK=function(){O1(this.app,!1)};
g.h.Hy=function(){var a=this.app.A.o;return a?a.eu():-1};
g.h.qK=function(a){if(a!=this.app.ca.args.video_id)return!1;a=(a=g.MU(this.app,1))?a.A:null;return!(!a||!g.V(a,128)||5!=gqa[a.g.errorCode])};
g.h.lK=function(){var a=this.app.ca.clone();g.Ba(a.args,FP(this.app.o.g));return a};
g.h.wK=function(){this.app.Z.fa&&this.app.da.resume()};
g.h.destroy=function(){this.app.dispose()};
g.h.uK=function(){var a=g.MU(this.app);a&&!g.V(a.A,128)&&(a.Y("internalAbandon"),LT(a),JT(a))};
g.h.W=function(){if(this.o){for(var a in this.B)this.o[a]=null;for(a in this.C)this.o[a]=null;this.o=null}this.F=this.D=null;g.K.prototype.W.call(this)};var Kja=1;g.oJ.prototype.getId=function(){return this.Ba};
g.oJ.prototype.getId=g.oJ.prototype.getId;g.oJ.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)};g.u3={NONE:0,RAISED:1,DEPRESSED:2,hv:3,DROP_SHADOW:4};g.v3={tp:"#fff",dG:"#ff0",zE:"#0f0",iE:"#0ff",HD:"#00f",RE:"#f0f",Nu:"#f00",Yo:"#080808"};g.w3={vu:0,Hu:1,Mu:2,Gu:3,mp:4,CASUAL:5,CURSIVE:6,qp:7};g.h=g.rJ.prototype;g.h.Uy=function(a){this.segments.push(a)};
g.h.getDuration=function(a){return(a=this.Th(a))?a.duration:0};
g.h.tq=function(a){return this.getDuration(a)};
g.h.rg=function(){return this.segments.length?this.segments[0].Ea:-1};
g.h.Xr=function(a){return(a=this.Th(a))?a.ingestionTime:window.NaN};
g.h.Hc=function(){return this.segments.length?this.segments[this.segments.length-1].Ea:-1};
g.h.Xm=function(){var a=this.segments[this.segments.length-1];return a?a.endTime:window.NaN};
g.h.Ic=function(){return this.segments[0].startTime};
g.h.Wi=function(){return this.segments.length};
g.h.Ln=function(){return 0};
g.h.Zg=function(a){return(a=this.Nm(a))?a.Ea:-1};
g.h.Xw=function(a){return(a=this.Th(a))?a.sourceURL:""};
g.h.kf=function(a){return(a=this.Th(a))?a.startTime:0};
g.h.an=ba(2);g.h.Rb=function(){return 0<this.segments.length};
g.h.Th=function(a){a=g.xb(this.segments,new qJ(a,0,0,0,""),function(a,c){return a.Ea-c.Ea});
return 0<=a?this.segments[a]:null};
g.h.Nm=function(a){a=g.xb(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.Tw=function(){return 0};tJ.prototype.skip=function(a){this.o+=a};xJ.prototype.Fm=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};var hqa=HJ;var KM,SM;var x3=g.Hb,x3=x3.toLowerCase();if(La(x3,"android")){var iqa=x3.match(/android\D*(\d\.\d)[^\;|\)]*[\;\)]/);if(iqa)KM=Number(iqa[1]);else{var jqa={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},kqa=x3.match("("+g.Pb(jqa).join("|")+")");KM=kqa?jqa[kqa[0]]:0}}else KM=void 0;SM=0<=KM;var Pja=['video/mp4; codecs="avc1.42001E, mp4a.40.2"','video/webm; codecs="vp8.0, vorbis"'],Qja=['audio/mp4; codecs="mp4a.40.2"'];WJ.prototype.start=function(){return 0};
WJ.prototype.end=function(){return window.Infinity};g.h=XJ.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(){};var nZ,y3;var lqa=g.Hb,mqa=lqa.match(/\((iPad|iPhone|iPod)( Simulator)?;/);if(!mqa||2>mqa.length)nZ=void 0;else{var z3=lqa.match(/\((iPad|iPhone|iPod)( Simulator)?; (U; )?CPU (iPhone )?OS (\d+_\d)[_ ]/);nZ=z3&&6==z3.length?Number(z3[5].replace("_",".")):0}(y3=0<=nZ)&&0<=g.Hb.search("Safari")&&g.Hb.search("Version");var nqa=y3&&4>nZ?.1:0,Ona=new dK;dK.prototype.g=null;dK.prototype.getDuration=function(){return this.duration||0};
dK.prototype.getCurrentTime=function(){return this.currentTime||0};
dK.prototype.o=function(){this.hasAttribute("controls")&&this.setAttribute("controls","true")};g.z(eK,g.K);g.h=eK.prototype;g.h.fd=function(){this.g.ended&&this.wc(0);!this.qd()&&this.o&&(gK(this,this.o.g),this.o.o||this.load());this.play();y3&&7<=nZ&&g.KF(this,"playing",(0,g.y)(function(){g.yE((0,g.y)(this.Mw,this,this.getCurrentTime(),0),500)},this))};
g.h.Mw=function(a,b){this.g.paused||this.getCurrentTime()>a||10<b||(this.play(),g.yE((0,g.y)(this.Mw,this,this.getCurrentTime(),b+1),500))};
g.h.wc=function(a){0<this.g.readyState&&(y3&&4>nZ&&(a=Math.max(.1,a)),this.g.currentTime=a)};
g.h.Tf=function(){this.qd()&&(OM&&0<this.getCurrentTime()&&this.wc(0),this.g.removeAttribute("src"),this.load(),fK(this,null))};
g.h.addEventListener=function(a,b){this.B.V(a,b,!1,this);if(!this.A[a]){var c=(0,g.y)(this.xU,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.Wv=function(){this.C&&!this.g.muted&&(UJ(),this.g.muted=!0)};
g.h.W=function(){this.D&&this.removeEventListener("volumechange",this.Wv);eK.aa.W.call(this)};g.p(nK,g.Ne);nK.prototype.preventDefault=function(){g.Ne.prototype.preventDefault.call(this);this.g&&this.g.preventDefault()};
nK.prototype.stopPropagation=function(){g.Ne.prototype.stopPropagation.call(this);this.g&&this.g.stopPropagation()};g.z(oK,eK);g.h=oK.prototype;g.h.ra=function(){return this.g};
g.h.qd=function(){return this.g.src};
g.h.Wc=function(){try{return 0<=this.g.playbackRate?this.g.playbackRate:1}catch(a){return 1}};
g.h.Sf=function(a){this.Wc()!=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.playbackRate=a};
g.h.pause=function(){this.g.pause()};
g.h.play=function(){var a=this.g.play();a&&a.then&&a.then(void 0,function(a){1E-4>Math.random()&&g.rE(a)})};
g.h.Nb=function(){return this.g.error?this.g.error.code:null};
g.h.setSize=function(a){return g.sh(this.g,a)};
g.h.getVolume=function(){return this.g.volume};
g.h.setVolume=function(a){UJ();this.g.volume=a};
g.h.xU=function(a){this.dispatchEvent(new nK(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.W=function(){for(var a in this.A)this.g.removeEventListener(a,this.A[a]);oK.aa.W.call(this)};g.h=qK.prototype;g.h.append=function(a){this.o.webkitSourceAppend(this.A,a)};
g.h.abort=function(){this.o.webkitSourceAbort(this.A)};
g.h.jT=function(){return this.o.webkitSourceState==this.o.SOURCE_CLOSED?new Rja:this.o.webkitSourceBuffered(this.A)};
g.h.lT=function(){return this.B};
g.h.pT=function(a){this.B=a;this.o.webkitSourceTimestampOffset(this.A,a)};g.h=rK.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.yU=function(){return this.g.webkitMediaSourceURL};
g.h.addSourceBuffer=function(a){var b=(this.A++).toString();this.g.webkitSourceAddId(b,a);a=new qK(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.A);for(a=b+1;a<this.sourceBuffers.length;a++)this.sourceBuffers[a-1]=this.sourceBuffers[a];this.sourceBuffers.pop();break}};
g.h.mT=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.nT=function(){jb(this.sourceBuffers)};
g.h.kT=function(){return this.o};
g.h.oT=function(a){this.o=a;this.g.webkitSourceSetDuration&&this.g.webkitSourceSetDuration(a)};g.z(sK,g.K);sK.prototype.K=function(){if(!this.na()&&tK(this))try{this.B&&(this.B(this),this.B=null)}catch(a){this.D&&this.D(a)}};
sK.prototype.J=function(){this.dispose()};DK.prototype.toString=function(){return this.start+"-"+(null==this.end?"":this.end)};$K.prototype.verify=function(){if(this.info.ob!=this.range.length)return!1;if(1==this.info.oa.info.o){if(8>this.info.ob||4==this.info.type)return!0;var a=aL(this),b=a.getUint32(0,!1),a=a.getUint32(4,!1);if(2==this.info.type)return b==this.info.ob&&1936286840==a;if(3==this.info.type&&0==this.info.Ya)return 1836019558==a||1936286840==a||1937013104==a||1718909296==a||1701671783==a||1936419184==a}else if(2==this.info.oa.info.o){if(4>this.info.ob||4==this.info.type)return!0;b=aL(this).getUint32(0,!1);
if(3==this.info.type&&0==this.info.Ya)return 524531317==b||440786851==b}return!0};var Wka=["2mdn.net"];lL.prototype.set=function(a,b){this.g[a]!==b&&(this.g[a]=b,this.A="")};
lL.prototype.get=function(a){nL(this);return this.g[a]||null};
lL.prototype.clone=function(){var a=new lL(this.B);a.D=this.D;a.o=this.o;a.C=this.C;a.g=g.Xb(this.g);a.A=this.A;return a};vL.prototype.set=function(a,b){this.g.get(a);this.o[a]=b;this.A=""};
vL.prototype.get=function(a){return this.o[a]||this.g.get(a)};var A3=0;g.h=CL.prototype;g.h.re=function(){};
g.h.Je=function(){};
g.h.yr=function(){return!1};
g.h.Dd=function(){return!!this.g&&!!this.index&&this.index.Rb()};
g.h.pi=function(){};
g.h.Wy=function(){return!1};
g.h.Ym=function(){};
g.h.oi=function(){};
g.h.Xk=function(){};
g.h.Yg=function(){};
g.h.Nq=function(){};
g.h.pB=function(a){return[a]};
g.h.lo=function(a){return[a]};g.p(EL,CL);g.h=EL.prototype;g.h.re=function(){return!1};
g.h.Je=function(){return!1};
g.h.Wy=function(){return this.D};
g.h.Ym=function(){return this.D?[]:[new zL([new GK(1,this,this.initRange)],this.J)]};
g.h.oi=function(){};
g.h.Xk=function(a){this.pi(a);return this.Gm(a.o?a.Ea+1:a.Ea,!1)};
g.h.Yg=function(a,b){b=void 0===b?!1:b;var c=this.index.Zg(a);b&&(c=Math.min(this.index.Hc(),c+1));return this.Gm(c,!0)};
g.h.Nq=function(a){this.g=new window.Uint8Array(aL(a).buffer)};
g.h.yr=function(){return!1};
g.h.pi=function(a){return 0==a.ob?!0:this.index.Hc()>a.Ea&&this.index.rg()<=a.Ea+1};
g.h.update=function(a,b,c){var d=this.index;if(0!=a.length)if(a=g.qb(a),0==d.segments.length)d.segments=a;else{var e=d.segments.length?g.Za(d.segments).endTime:0,f=a[0].Ea-d.Hc();1<f&&jb(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])}}sJ(this.index,c);this.G=b};
g.h.Dd=function(){return this.D?!0:CL.prototype.Dd.call(this)};
g.h.Gm=function(a,b){var c=this.index.Xw(a),d=this.index.kf(a),e=this.index.getDuration(a),f;b?e=f=0:f=0<this.info.g?this.info.g*e:1E3;return new zL([new GK(3,this,null,a,d,e,0,f,a==this.index.Hc()&&!this.G&&0<f)],c)};g.p(FL,g.rJ);g.h=FL.prototype;g.h.rg=function(){return this.g?this.segments.length?this.Nm(this.Ic()).Ea:-1:g.rJ.prototype.rg.call(this)};
g.h.Ic=function(){return this.g?this.segments.length?Math.max(g.Za(this.segments).endTime-this.A,0):0:g.rJ.prototype.Ic.call(this)};
g.h.Wi=function(){return this.g?this.segments.length?this.Hc()-this.rg()+1:0:g.rJ.prototype.Wi.call(this)};
g.h.Uy=function(a){var b=GL(this,a.Ea);0<=b?this.segments[b]=a:this.segments.splice(-(b+1),0,a)};
g.h.Nm=function(a){if(!this.g)return g.rJ.prototype.Nm.call(this,a);if(!this.segments.length)return null;var b=g.xb(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?IL(this,c.Ea-Math.ceil((c.startTime-a)/this.o),c):IL(this,c.Ea+Math.ceil((a-c.endTime)/this.o),c)};
g.h.Th=function(a){if(!this.g)return g.rJ.prototype.Th.call(this,a);if(!this.segments.length)return null;var b=GL(this,a);return 0<=b?this.segments[b]:IL(this,a,this.segments[Math.max(-(b+2),0)])};g.p(JL,EL);g.h=JL.prototype;g.h.Je=function(){return!0};
g.h.Dd=function(){return!0};
g.h.pi=function(){return!0};
g.h.Ym=function(){return[]};
g.h.Yg=function(a,b){return g.oa(a)&&!(0,window.isFinite)(a)?new zL([new GK(3,this,null,-1,void 0,this.A,void 0,this.A*this.info.g)],""):EL.prototype.Yg.call(this,a,b)};
g.h.Gm=function(a,b){if(HL(this.index,a))return EL.prototype.Gm.call(this,a,b);var c=this.index.kf(a);return new zL([new GK(3,this,null,a,c,void 0,void 0,this.A*this.info.g)],0<=a?"sq/"+a:"")};OL.prototype.update=function(a,b){var c=void 0;this.o&&(c=this.o);var d=new OL,e=a.getElementsByTagName("S");if(e.length){var f=+LL(a,"timescale")||1,k=(+e[0].getAttribute("t")||0)/f,l=+LL(a,"startNumber")||0;var m=k;var n=+LL(a,"presentationTimeOffset")||0;m=c?c.Pe+c.durationSecs:b?m-n/f:0;n=Date.parse(KL(LL(a,"yt:segmentIngestTime")))/1E3;d.A="SegmentTemplate"==a.parentNode.tagName;d.A&&(d.D=LL(a,"media"));var q=c?l-c.Ea:1;d.C=0<q?0:-q+1;e=g.ka(e);for(q=e.next();!q.done;q=e.next())for(var q=q.value,
r=+q.getAttribute("d")/f,w=(+q.getAttribute("yt:sid")||0)/f,A=+q.getAttribute("r")||0,C=0;C<=A;C++)if(c&&l<=c.Ea)l++;else{var B=new fka(l,m,r,n+w,k);d.g.push(B);var M=B.Pe,X=q.getAttribute("yt:cuepointTimeOffset"),B=q.getAttribute("yt:cuepointDuration");X&&B?(M=+X/f+M,B=+B/f,X=q.getAttribute("yt:cuepointContext")||null,B=new AJ(M,B,X)):B=null;B&&d.B.push(B);l++;m+=r;k+=r;n+=r+w}d.g.length&&(d.o=g.Za(d.g))}this.C=d.C;this.o=d.o||this.o;rb(this.g,d.g);rb(this.B,d.B);this.A=d.A;this.D=d.D};
OL.prototype.Xg=function(a,b,c,d){for(var e=this.D.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.PL.prototype;g.h.Ln=function(a){return this.g[a]};
g.h.kf=function(a){return this.o[a]/this.B};
g.h.an=ba(1);g.h.Xr=function(){return window.NaN};
g.h.getDuration=function(a){a=this.tq(a);return 0<=a?a/this.B:-1};
g.h.tq=function(a){return a+1<this.Na||this.A?this.o[a+1]-this.o[a]:-1};
g.h.rg=function(){return 0};
g.h.Hc=function(){return this.Na-1};
g.h.Xm=function(){return this.A?this.o[this.Na]/this.B:window.NaN};
g.h.Ic=function(){return 0};
g.h.Wi=function(){return this.Na};
g.h.Xw=function(){return""};
g.h.Zg=function(a){a=g.xb(this.o.subarray(0,this.Na),a*this.B);return 0<=a?a:Math.max(0,-a-2)};
g.h.Rb=function(){return 0<=this.Hc()};
g.h.Tw=function(a,b){if(a>=this.Hc())return 0;for(var c=0,d=this.kf(a)+b,e=a;e<this.Hc()&&d>this.kf(e);e++)c=Math.max(c,(e+1<this.Na||this.A?this.g[e+1]-this.g[e]:-1)/this.getDuration(e));return c};
g.h.cap=function(a,b){QL(this);this.A=!0;this.o[this.Na]=b;this.g[this.Na]=a};g.p(RL,CL);g.h=RL.prototype;g.h.Ym=function(a,b){var c=new GK(1,this,this.initRange),d=new GK(2,this,this.indexRange),e=[],f=[c];IK(c,d)?f.push(d):(e.push(new zL([d])),b=!1);(0,window.isNaN)(this.A)&&(b=!1);var c=f[f.length-1],d=c.range.end-f[0].range.start+1,k=0;if(b){var k=a.Mp,l=this.info.video?2:a.Ab;0<l&&(k=Math.floor(Math.max(k,l*this.info.g)));k=Math.min(a.F,k,this.A);k=a.Lg?Math.min(k,this.A-d):k-d}0<k&&f.push(new GK(4,this,FK(c.range.end+1,k)));e.push(new zL(f));return e};
g.h.Nq=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.D||0<=this.index.Hc())return;if(1==this.info.o){b=this.index;var c=aL(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.B=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.o[0]=f;b.A=!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.Na++;QL(l);l.g[l.Na]=l.g[l.Na-1]+f;l.o[l.Na]=l.o[l.Na-1]+k}}else this.D=aL(a)}if(2==this.info.o&&this.g&&this.D){a=new window.DataView(this.g.buffer);b=this.index;k=this.D;c=this.indexRange.end;a=new LK(a);if(QK(a,440786851)&&(UK(a),QK(a,408125543)&&(e=a,
f=e.g,d=RK(e,!0),e.g=f,a=PK(a),e=a.A+a.g,QK(a,357149030)))){a=PK(a);for(var l=1E6,m=1E9,f=0;!MK(a);){var n=RK(a,!1);2807729==n?l=TK(a):2807730==n?m=TK(a):17545==n?f=VK(a):UK(a)}b.B=m/l;a=new LK(k);if(QK(a,475249515)){a=PK(a);k=!0;for(l=!1;QK(a,187);){m=PK(a);if(QK(m,179))if(n=TK(m),QK(m,183)){for(var m=PK(m),q=e;QK(m,241);)q=TK(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];QL(m);m.g[m.Na]=n;m.o[m.Na]=q;m.Na++}b.cap(d+e,f)}}this.D=null}};
g.h.pB=function(a){for(var b=this.lo(a.info),c=[],d=a.lf,e=0;e<b.length;e++)c.push(new $K(b[e],a.g,FK(b[e].range.start+b[e].Ya-a.info.range.start+a.range.start,b[e].ob),a.o,d)),d=!1;return c};
g.h.lo=function(a){for(var b=0;b<this.index.Hc()&&a.range.start>=this.index.Ln(b+1);)b++;return SL(this,b,a.range.start,a.range.length).g};
g.h.pi=function(a){return this.Dd()?!0:(0,window.isNaN)(this.A)?!1:a.range.end+1<this.A};
g.h.oi=function(a,b){this.pi(a);if(!this.Dd()){var c=FK(a.range.end+1,b);c.end+1>this.A&&(c=new DK(c.start,this.A-1));return new zL([new GK(4,a.oa,c)])}4==a.type&&(c=this.lo(a),a=c[c.length-1]);var c=0,d=a.range.start+a.Ya+a.ob;3==a.type&&(c=a.Ea,d==a.range.end+1&&(c+=1));return SL(this,c,d,b)};
g.h.Xk=function(){return null};
g.h.Yg=function(a,b){var c=this.index.Zg(a);b&&(c=Math.min(this.index.Hc(),c+1));return SL(this,c,this.index.Ln(c),0)};
g.h.yr=function(){var a;if(a=this.Dd()&&!(0,window.isNaN)(this.A))a=this.index,a=(a.A?a.g[a.Na]:-1)!=this.A;return a};
g.h.re=function(){return!0};
g.h.Je=function(){return!1};g.p(UL,g.RF);g.h=UL.prototype;g.h.fh=function(){return Lb(this.g,function(a){return a.info.video?2==a.info.video.projectionType:!1})};
g.h.xg=function(){return Lb(this.g,function(a){return a.info.video?3==a.info.video.projectionType:!1})};
g.h.If=function(){return Lb(this.g,function(a){return a.info.video?4==a.info.video.projectionType:!1})};
g.h.ii=function(){return Lb(this.g,function(a){return a.info.video?1==a.info.video.stereoLayout:!1})};
g.h.FR=function(a){var b=a.getElementsByTagName("Representation");if(0<a.getElementsByTagName("SegmentList").length||0<a.getElementsByTagName("SegmentTemplate").length){this.B=!0;this.C||(this.C=new hka);lka(this.C,a,this.ka);this.Y("refresh");for(a=0;a<b.length;a++){var c=aM(this,b[a]),d=this.isLive&&1==c.o&&this.pa;if(!this.g[c.id]){var e=YL(ML(b[a],"BaseURL").textContent,c),f=ML(b[a],"Initialization"),k=LL(f,"sourceURL"),f=EK(LL(f,"range"));d&&(k="",f=void 0);this.g[c.id]=new EL(e,c,k,null===f?
void 0:f)}c=this.g[c.id];e=LL(b[a],"id","AdaptationSet");e=""!=e?e:LL(b[a],"mimetype","AdaptationSet");k=this.C;e=k.A[c.info.id]||k.o[e]||k.g||null;k=e.g;if(e.A)for(d=[],k=g.ka(k),f=k.next();!f.done;f=k.next()){var f=f.value,l=e.Xg(c.info.id,8*c.info.g,f.Ea,f.Pe);d.push(new qJ(f.Ea,f.Pe,f.durationSecs,f.g,l,null,f.o))}else{e=g.sb(ML(b[a],"SegmentList").getElementsByTagName("SegmentURL"),e.C);f=[];for(l=0;l<e.length;l++)f.push(uka(e[l],k[l],d));d=f}c.update(d,this.isLive,this.X)}mka(this.C);return!0}this.duration=
NL(LL(a,"mediaPresentationDuration"));a:{for(a=0;a<b.length;a++){k=b[a];c=aM(this,k);e=ML(k,"BaseURL");d=YL(e.textContent,c);f=ML(k,"SegmentBase");k=EK(f.attributes.indexRange.value);f=EK(f.getElementsByTagName("Initialization")[0].attributes.range.value);e=(0,window.parseInt)(e.getAttribute(ZL(this,"contentLength")),10);c=new RL(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.Ve=function(a){return this.C?g.sb(this.C.B,a):this.K.length?g.sb(this.K,a):[]};
g.h.yH=function(a){if(this.na())return this;this.M=a.status;a=a.responseText;a=(new window.DOMParser).parseFromString(a,"text/xml").getElementsByTagName("MPD")[0];this.D=1E3*NL(LL(a,"minimumUpdatePeriod"))||window.Infinity;if(!this.P){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.fa=b}this.isLive=window.Infinity>this.D&&this.sa;this.X=(0,window.parseInt)(LL(a,ZL(this,"earliestMediaSequence")),
10)||0;if(b=Date.parse(KL(LL(a,ZL(this,"mpdResponseTime")))))this.O=((0,g.F)()-b)/1E3;a=this.isLive&&0>=a.getElementsByTagName("SegmentTimeline").length?!1:(0,g.zr)(a.getElementsByTagName("Period"),this.FR,this);this.F=2;this.Y("loaded");dM(this,a);return this};
g.h.BH=function(a){this.M=a.g.status;this.F=3;this.Y("loaderror");return Qf(a.g)};
g.h.Vy=function(){if(1!=this.F&&!this.na()){var a=this.ca;a:{var b=this.g;for(var c in b){var d=b[c].index;if(d&&d.Rb()){b=d.Hc()+1;break a}}b=0}a=g.Cg(a,{start_seq:b.toString()});bM(this,a)}};
g.h.resume=function(){dM(this,!0)};
g.h.yk=function(){var a=this.g,b=window.NaN,c;for(c in a){var d=a[c].index;d&&d.Rb()&&((0,window.isNaN)(b)||d.Xm()<b)&&(b=d.Xm())}return Math.floor(b)};
g.h.Ic=function(){var a=this.g,b;for(b in a){var c=a[b].index;if(c&&c.Rb())return c.Ic()}return 0};
g.h.XK=function(){return this.O};
var gM=null,$L={commentary:1,alternate:2,dub:3,main:4};var B3={},qM=(B3.playready=["com.youtube.playready","com.microsoft.playready"],B3.widevine=["com.widevine.alpha"],B3),xka=g.pb(qM.widevine,qM.playready);g.p(pM,g.K);
pM.prototype.D=function(){if(!this.na())if(0==this.A.length)this.B(null);else{var a=this.A.shift(),b=this.o[a],c={initDataTypes:["cenc","webm"],audioCapabilities:[],videoCapabilities:[]};kM(b)&&(c.initDataTypes=["keyids","cenc"]);for(var d in this.g[b.g]){var e=0==d.indexOf("audio/"),f=e?c.audioCapabilities:c.videoCapabilities;this.C.g("html5_widevine_robustness_strings")&&"widevine"==b.g?e?f.push({contentType:d,robustness:"SW_SECURE_CRYPTO"}):(f.push({contentType:d,robustness:"HW_DECODE_ALL"}),f.push({contentType:d,
robustness:"SW_SECURE_DECODE"})):f.push({contentType:d})}window.navigator.requestMediaKeySystemAccess(a,[c]).then(sE((0,g.y)(this.F,this,b)),sE((0,g.y)(this.D,this)))}};
pM.prototype.F=function(a,b){this.na()||(a.A=b,yka(this,a),this.B(a))};var Yka={Nu:"red",tp:"white"};rM.prototype.g=function(a,b){var c=Math.pow(this.C,a);this.A=b*(1-c)+c*this.A;this.B+=a};
rM.prototype.o=function(){return this.A/(1-Math.pow(this.C,this.B))};sM.prototype.g=function(a,b){tM(this,"index");this.B.push({index:this.J++,weight:a,value:b});this.A+=a;for(tM(this,"index");this.A>this.F;){var c=this.A-this.F,d=this.B[0];d.weight<=c?(this.A-=d.weight,this.B.shift()):(this.A-=c,d.weight-=c)}};
sM.prototype.o=function(){return this.D?(uM(this,this.C-this.D)+uM(this,this.C)+uM(this,this.C+this.D))/3:uM(this,this.C)};vM.prototype.g=function(a,b){this.A.push(b);this.A.length>this.B&&this.A.shift()};
vM.prototype.o=function(){return Vaa.apply(null,this.A)};var Xka={iV:"adunit",RW:"detailpage",pX:"editpage",qX:"embedded",AY:"leanback",i_:"previewpage",j_:"profilepage",m1:"unplugged"};HM.prototype.then=function(a,b,c){return this.A?this.A.then(a,b,c):1==this.o&&a?(a=a.call(c,this.g),Jf(a)?a:JM(a)):2==this.o&&b?(a=b.call(c,this.g),Jf(a)?a:IM(a)):this};
If(HM);HM.prototype.getValue=function(){return this.g};var Mka="9h 9 h 8 (h ( H *".split(" "),Lka="9h 9 h 8 ( H *".split(" "),TM="h98H(*".split(""),Oka="oMavAV".split(""),Rka=["so","sa"],Qka="moMavAV".split(""),Pka="aoMvAV".split(""),Nka=["f"],Hka={'video/mp4; codecs="avc1.42001E, mp4a.40.2"':"maybe"},Ika={"application/x-mpegURL":"maybe"},Gka={"application/x-mpegURL":"maybe"};var DN={LY:1,MY:2,NY:3};g.z(dN,g.RF);dN.prototype.remove=function(a){var b=this.get(a);delete this.Ma[a];return b};
dN.prototype.get=function(a){return this.Ma[a]||null};
dN.prototype.isEmpty=function(){return g.Ub(this.Ma)};var fN={"ad-trueview-indisplay-pv":6,"ad-trueview-insearch":7},gN={"ad-trueview-indisplay-pv":2,"ad-trueview-insearch":2},hN=/^(\d*)_((\d*)_?(\d*))$/;var Tka=/^([0-9\.]+)\:([0-9\.]+)$/;var rN=(0,g.F)().toString();var wN="blogger books docs google-live play picasaweb gmail jamboard".split(" ");g.p(GN,g.K);
GN.prototype.fg=function(a){var b=jN(a,this.A,this.Fb),c=!0;b&&(this.O.adformat=a.adformat,iN(b)||(this.ca="adunit"==this.g?this.ca:this.g,this.g="adunit",c=!1));c&&this.ca&&(this.g=this.ca,this.ca=null);if(b=a.video_id&&a.video_id!=this.Hh)this.Hh=a.video_id;if(a.adpings||b)this.yp=a.adpings?g.AE(a.adpings):null;this.Fh?(c=a.videostats_playback_base_url&&a.videostats_playback_base_url.split("/")[2]||"s.youtube.com",this.experiments.g("www_for_videostats")&&"s.youtube.com"==c&&(c="www.youtube.com")):
c="video.google.com";this.bk=c;this.Zj="//"+this.bk+"/api/stats/qoe";if(a.feature||b)this.wh=c=a.feature,this.O.feature=c;if(a.referrer||b)this.referrer=b=a.referrer,this.O.referrer=b;for(var d in oqa)b=oqa[d],c=a[b],void 0!=c&&(this.B[b]=c);!this.Pa&&a.cl&&(this.Pa=+a.cl);this.userAge=mN(this.userAge,a.user_age);this.userDisplayImage=nN(this.userDisplayImage,a.user_display_image);g.oO.test(this.userDisplayImage)||(this.userDisplayImage="");this.userDisplayName=nN(this.userDisplayName,a.user_display_name);
this.userGender=nN(this.userGender,a.user_gender);this.Cc=nN(this.Cc,a.eventid);this.csiPageType=nN(this.csiPageType,a.csi_page_type);this.jb=nN(this.jb,a.csi_service_name);this.Pc=kN(this.Pc,a.enablecsi);a.enabled_engage_types&&(this.Gb=new window.Set(a.enabled_engage_types.split(",")))};
GN.prototype.getVideoUrl=function(a,b,c,d,e){b={list:b};c&&(e?b.time_continue=c:b.t=c);c=LN(this);d&&"www.youtube.com"==c?d="https://youtu.be/"+a:g.AN(this)?(d="https://"+c+"/fire",b.v=a):(d=this.ha+"://"+c+"/watch",b.v=a,OM&&(a=g.v("yt.ads.biscotti.lastId_")||"")&&(b.ebc=a));return g.Cg(d,b)};
GN.prototype.isAd=function(){return"adunit"==this.g};
var oqa={OV:"cbrand",PV:"cbr",QV:"cbrver",pY:"c",sY:"cver",rY:"ctheme",qY:"cplayer",YY:"cmodel",FZ:"cnetwork",PZ:"cos",QZ:"cosver",VZ:"cplatform"};var $ka=new window.Set("BASE_URL BASE_YT_URL abd allow_embed authuser autoplay captions_load_policy cc_load_policy cc3_module dash dashmpd 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(XN,SI);
XN.prototype.g=function(){if(!this.o||this.o.na()){var a=this.B;bla(a);for(var b=["#EXTM3U","#EXT-X-INDEPENDENT-SEGMENTS"],c={},d=0,e=a.o.length;d<e;++d){var f=a.o[d];c[f.itag]=f;b.push('#EXT-X-MEDIA:TYPE=AUDIO,NAME="audio",DEFAULT=YES,AUTOSELECT=YES,GROUP-ID="'+f.itag.toString()+'",URI="'+f.url+'"')}d=0;for(e=a.g.length;d<e;++d){var k=a.g[d];f=c[k.audioItag];b.push("#EXT-X-STREAM-INF:BANDWIDTH="+(k.bitrate+f.bitrate)+',CODECS="'+(k.bw+","+f.bw)+'",RESOLUTION='+(k.width+"x"+k.height)+',AUDIO="'+f.itag.toString()+
'",CLOSED-CAPTIONS=NONE');b.push(k.url)}a="data:application/x-mpegurl;charset=utf-8,"+(0,window.encodeURIComponent)(b.join("\n"));this.o=new RI(a)}return this.o};g.p(ZN,SI);ZN.prototype.g=function(){return new RI(mL(this.o))};
ZN.prototype.A=function(){this.o=qL(this.o,1);return!0};g.z(aO,g.RF);aO.prototype.K=function(a,b){this.o=this.o.onload=null;var c=this.g[a];c.Vc[b]=!0;eO(this);var d=c.columns*c.rows;var e=b*d;c=Math.min(e+d-1,c.uq()-1);e=[e,c];this.Y("l",e[0],e[1])};
aO.prototype.W=function(){this.o&&(this.o=this.o.onload=null);aO.aa.W.call(this)};g.h=hO.prototype;g.h.Eb=function(){return this.F};
g.h.getHeight=function(){return this.D};
g.h.uq=function(){return this.o};
g.h.isDefault=function(){return-1!=this.A.indexOf("default")};
g.h.Rb=function(a){return!!this.Vc[a]};
g.h.Vo=function(a){var b=this.uq()-1;return g.Id(0==this.B?Math.round(a*this.o/this.K):Math.round(1E3*a/this.B),0,b)};
g.h.iu=function(){return this.o-1};
g.h.kD=function(){return this.o?0:-1};
g.h.lD=function(){};g.z(iO,aO);iO.prototype.A=function(a,b){for(var c=[],d=a.split("|"),e=d[0],f=1;f<d.length;f++){var k=this.D(f-1,e,d[f],b);180>k.getHeight()&&c.push(k)}return c};
iO.prototype.D=function(a,b,c,d){return new hO(a,b,c,d)};
iO.prototype.J=function(){};g.z(jO,hO);g.h=jO.prototype;g.h.uq=function(){return this.g?this.g.Wi():-1};
g.h.Vo=function(a){var b=this.rows*this.columns*this.G,c=-1,d=-1,e=this.g;e&&(c=e.Hc(),d=e.Zg(a));return d>c-b?-1:d};
g.h.iu=function(){return this.g?this.g.Hc():-1};
g.h.kD=function(){return this.g?this.g.rg():-1};
g.h.lD=function(a){this.g=a?a.index:null};g.z(kO,iO);kO.prototype.A=function(a,b){return kO.aa.A.call(this,"$N|"+a,b)};
kO.prototype.D=function(a,b,c){return new jO(a,b,c,this.M.isLive)};
kO.prototype.J=function(a){for(var b=0;b<this.g.length;b++)this.g[b].lD(a)};g.p(lO,SI);lO.prototype.g=function(){return new RI(this.o)};var nO={iurl:"default.jpg",iurlmq:"mqdefault.jpg",iurlhq:"hqdefault.jpg",iurlsd:"sddefault.jpg",iurlpop1:"pop1.jpg",iurlpop2:"pop2.jpg",iurlhq720:"hq720.jpg",iurlmaxres:"maxresdefault.jpg"},hla={120:"default.jpg",320:"mqdefault.jpg",480:"hqdefault.jpg",560:"pop1.jpg",640:"sddefault.jpg",854:"pop2.jpg",1280:"hq720.jpg"};g.rO.prototype.toString=function(){return this.topic};var pqa=g.v("ytPubsub2Pubsub2Instance")||new g.iD;g.iD.prototype.subscribe=g.iD.prototype.subscribe;g.iD.prototype.unsubscribeByKey=g.iD.prototype.Td;g.iD.prototype.publish=g.iD.prototype.Y;g.iD.prototype.clear=g.iD.prototype.clear;g.qa("ytPubsub2Pubsub2Instance",pqa,void 0);var uO=g.v("ytPubsub2Pubsub2SubscribedKeys")||{};g.qa("ytPubsub2Pubsub2SubscribedKeys",uO,void 0);var wO=g.v("ytPubsub2Pubsub2TopicToKeys")||{};g.qa("ytPubsub2Pubsub2TopicToKeys",wO,void 0);
var vO=g.v("ytPubsub2Pubsub2IsAsync")||{};g.qa("ytPubsub2Pubsub2IsAsync",vO,void 0);g.qa("ytPubsub2Pubsub2SkipSubKey",null,void 0);var PO=window.performance||window.mozPerformance||window.msPerformance||window.webkitPerformance||{};g.z(BO,g.qO);g.z(CO,g.qO);var rla=new g.rO("aft-recorded",BO),zO=new g.rO("timing-sent",CO);FO.prototype.toString=function(){return this.region.toString()+": "+this.timing+" => "+this.url};
GO.prototype.toString=function(){return["progress",this.progress,"timing",this.timing,"area",this.Sc].join(": ")};
EO.o=.1;EO.g=/url\(["']?(http[^'"\)]+)['"]?\)/i;EO.A="mark_iframe_loaded: ";EO.B=20;var sla={vc:!0},TO={'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",'script[name="mobile_polymer/mobile_polymer"]':"mpj",
'link[rel="import"][name="mobile_polymer"]':"mph",'script[name="player-plasma-phone/base"]':"mpppj",'script[name="player-plasma-tablet/base"]':"mpptj",'link[rel="stylesheet"][name="mobile-polymer-player"]':"mppc","#player_css":"mbpc","#player_js":"mbpj"},bP={ad_at:"adType",cpn:"clientPlaybackNonce",csn:"clientScreenNonce",is_nav:"isNavigation",yt_lt:"loadType",yt_ad:"isMonetized",yt_ad_pr:"prerollAllowed",yt_red:"isRedSubscriber",yt_vis:"isVisible",docid:"videoId",plid:"videoId",fmt:"playerInfo.itag"},
qla="ap c cver ei yt_fss yt_li GetBrowse_rid GetPlayer_rid GetSearch_rid GetWatchNext_rid ad_allowed ad_cpn ad_docid ba c cmt cver ncnp nr p pa paused pc prerender psc rc srt st start vpil vpni vps yt_abt yt_ad_an yt_eil yt_fn yt_fs yt_hrd yt_li yt_pft yt_pl yt_pre yt_pt yt_pvis yt_ref yt_sts".split(" "),ola={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.videos":"LATENCY_ACTION_CREATOR_CHANNEL_VIDEOS",embed:"LATENCY_ACTION_EMBED",home:"LATENCY_ACTION_HOME",library:"LATENCY_ACTION_LIBRARY",live:"LATENCY_ACTION_LIVE",results:"LATENCY_ACTION_RESULTS",search:"LATENCY_ACTION_RESULTS",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"},pla=["isNavigation","isMonetized","prerollAllowed","isRedSubscriber","isVisible"],dP=!1,lla=(0,g.y)(PO.clearResourceTimings||PO.webkitClearResourceTimings||PO.mozClearResourceTimings||PO.msClearResourceTimings||PO.oClearResourceTimings||g.x,PO);var Dla={0:"UNKNOWN",1:"OFF",2:"ON",3:"FORCED_ON"},C3={},qqa=(C3.ALWAYS=1,C3.BY_REQUEST=3,C3),Ala,iP;g.p(g.hP,g.RF);g.h=g.hP.prototype;g.h.fg=function(a,b){b?(this.setData(a),BP(this)&&pP(this)):(lP(this,a,!0),this.Y("dataupdated"))};
g.h.setData=function(a){a=a||{};a.player_response&&(this.Pb=g.kg(a.player_response));this.mg="1"!=a.hlsdvr?!1:NM()?!0:xN&&5>nZ?!1:!0;this.mG=a.ad_query_id;this.adSafetyReason=a.encoded_ad_safety_reason;this.nG=a.agcid;this.im="1"==a.infringe||"1"==a.muted;this.Dv=a.authkey;this.Ec=a.authuser;this.clientPlaybackNonce||(this.clientPlaybackNonce=a.cpn||uN());this.enableCardio=kN(this.enableCardio,a.enable_cardio);this.enableCardioBeforePlayback=kN(this.enableCardioBeforePlayback,a.enable_cardio_before_playback);
this.endSeconds=mN(this.endSeconds,a.end||a.endSeconds);this.wn=nN(this.wn,a.itct);this.xr=kN(this.xr,a.noiba);this.Mk="1"==a.livemonitor;this.Da="1"==a.live_playback||!!a.fresca_preroll||!!a.heartbeat_preroll;this.isLiveDestination=kN(this.isLiveDestination,a.is_live_destination);this.isLiveDefaultBroadcast="1"==a.live_default_broadcast;this.isLowLatencyLiveStream="1"==a.is_low_latency_live_stream;this.isMdxPlayback=kN(this.isMdxPlayback,a.mdx);a.mdx_control_mode&&(this.mdxControlMode=Wa(a.mdx_control_mode));
this.yi=mN(this.yi,a.reload_count);this.Qs=nN(this.Qs,a.reload_reason);this.Br=kN(this.Br,a.utpsa);this.cycToken=a.cyc;this.bC=a.tkn;this.Mj="1"==a.innertube_thumbnail&&this.Pb.videoDetails.thumbnail?ila(this.Pb.videoDetails.thumbnail):pO(a);this.ig=nN(this.ig,a.vvt);this.mdxEnvironment=nN(this.mdxEnvironment,a.mdx_environment);this.fN=a.osig;this.RA=a.ptchn;this.SA=a.oid;this.pl=a.ptk;this.TA=a.pltype;this.playbackId=a.plid;this.eventId=a.eventid;this.osid=a.osid;this.videoMetadata=a.vm;this.Hs=
a.of;this.Ao=a.upt;this.playlistId=nN(this.playlistId,a.list);this.bB=a.pyv_view_beacon_url;this.PR=a.pyv_quartile25_beacon_url;this.QR=a.pyv_quartile50_beacon_url;this.RR=a.pyv_quartile75_beacon_url;this.OR=a.pyv_quartile100_beacon_url;a.remarketing_url&&(this.remarketingUrl=a.remarketing_url);a.ppv_remarketing_url&&(this.ppvRemarketingUrl=a.ppv_remarketing_url);this.jo=a.sdetail;!this.Os&&a.session_data&&(this.Os=g.zE(a.session_data).feature);this.isFling=1==mN(this.isFling?1:0,a.is_fling);this.vnd=
mN(this.vnd,a.vnd);this.mq=nN(this.mq,a.force_ads_url);this.ag=nN(this.ag,a.ctrl);this.pf=nN(this.pf,a.ytr);this.Cm=a.ytrcc;this.eB=a.ytrexp;this.xl=pN(this.xl,a.vq);this.Bl=pN(this.Bl,a.suggestedQuality);this.uo=kN(this.uo,a.ssrt);this.videoId=qN(a)||this.videoId;this.vssCredentialsToken=nN(this.vssCredentialsToken,a.vss_credentials_token);this.No=nN(this.No,a.vss_credentials_token_type);this.ypcGid=nN(this.ypcGid,a.ypc_gid);this.heartbeatToken=nN(this.heartbeatToken,a.heartbeat_token);this.heartbeatInterval=
mN(this.heartbeatInterval,a.heartbeat_interval);this.heartbeatRetries=mN(this.heartbeatRetries,a.heartbeat_retries);this.heartbeatSoftFail=kN(this.heartbeatSoftFail,a.heartbeat_soft_fail);this.wr=kN(this.wr,a.ithb);this.Xx=kN(this.Xx,a.strpro);if(a.ad3_module||a.ad_module)"1"==a.allow_html5_ads?(this.adModule=!0,"1"==a.ad_preroll&&this.ie.push("ad")):"1"!=a.supported_without_ads&&(this.zx=!0);a.adaptive_fmts&&(this.adaptiveFormats=a.adaptive_fmts);this.Pb&&this.Pb.attestation&&this.Pb.attestation.playerAttestationRenderer?
this.ck=this.Pb.attestation.playerAttestationRenderer.challenge:void 0!=a.atc&&(this.ck=a.atc);a.license_info&&(this.ld=Cla(a.license_info));a.allow_embed&&(this.allowEmbed="1"==a.allow_embed);a.backgroundable&&(this.backgroundable="1"==a.backgroundable);a.autonav&&(this.zn="1"==a.autonav);a.autoplay&&(this.vh="1"==a.autoplay);if(a.iv_load_policy)this.Pg=lN(this.Pg,a.iv_load_policy,DN);else{var b=jP(this.Pb);b&&b.loadPolicy&&(this.Pg=qqa[b.loadPolicy])}a.cc_lang_pref&&(this.Rg=nN(a.cc_lang_pref,this.Rg));
a.cc_load_policy&&(this.Sg=lN(this.Sg,a.cc_load_policy,DN));"0"==a.dash&&(this.uw=!0);if(a.dashmpd){this.we=g.Cg(a.dashmpd,{cpn:this.clientPlaybackNonce});var b=/\/s\/([0-9A-F.]+)/,c=b.exec(this.we);c&&(c=qE(c[1]),this.we=this.we.replace(b,"/signature/"+c))}a.delay&&(this.Ef=Wa(a.delay));a.drm_session_id&&(this.drmSessionId=a.drm_session_id);void 0!=a.end&&(this.clipEnd=a.end);a.fair_play_cert&&window.atob&&(this.fairPlayCert=(0,window.atob)(a.fair_play_cert));a.fmt_list&&(this.fmtList=a.fmt_list);
a.fresca_preroll&&this.ie.push("fresca");a.heartbeat_preroll&&this.ie.push("heartbeat");a.idpj&&(this.jj=Wa(a.idpj));a.ismb&&(this.wg=Wa(a.ismb));a.is_listed&&(this.isListed=kN(this.isListed,a.is_listed));a.paid_content_overlay_duration_ms&&(this.QA=Wa(a.paid_content_overlay_duration_ms));a.paid_content_overlay_text&&(this.ER=a.paid_content_overlay_text);a.url_encoded_fmt_stream_map&&(this.Ch=a.url_encoded_fmt_stream_map);a.hls_formats&&(this.hlsFormats=a.hls_formats);a.hlsvp&&(this.hlsvp=a.hlsvp);
a.length_seconds&&(this.lengthSeconds=Wa(a.length_seconds));a.live_chunk_readahead&&(this.liveChunkReadahead=mN(this.liveChunkReadahead,a.live_chunk_readahead));a.live_start_walltime&&(this.liveStartWalltime=Wa(a.live_start_walltime));a.live_manifest_duration&&(this.Gr=Wa(a.live_manifest_duration));a.ldpj&&(this.Ok=Wa(a.ldpj));a.player_params&&(this.playerParams=a.player_params);a.relative_loudness&&(this.relativeLoudness=Wa(a.relative_loudness),this.uc=Math.min(1,Math.pow(10,-this.relativeLoudness/
20)));a.partnerid&&(this.uh=Wa(a.partnerid));a.probe_url&&(this.probeUrl=kL(g.Cg(a.probe_url,{cpn:this.clientPlaybackNonce})));a.profile_picture&&(this.profilePicture=nN(a.profile_picture,this.profilePicture));a.pyv_billable_url&&g.r3.test(a.pyv_billable_url)&&(this.bo=a.pyv_billable_url);a.pyv_conv_url&&g.r3.test(a.pyv_conv_url)&&(this.zj=a.pyv_conv_url);a.video_masthead_ad_quartile_urls&&(b=a.video_masthead_ad_quartile_urls,this.Nr=b.quartile_0_url,this.yy=b.quartile_25_url,this.zy=b.quartile_50_url,
this.Ay=b.quartile_75_url,this.wy=b.quartile_100_url);"1"==a.spacecast_playback&&(this.ie.push("spacecast"),this.spacecastModule=!0,this.Ci.JR=!0);a.spacecast_addrs&&(this.spacecastModule=!0,b={},b.addresses=a.spacecast_addrs.split(","),b.probe=!0,a.spacecast_query_params&&(b.applianceQueryParams=a.spacecast_query_params),this.Ci.init=b);0<this.startSeconds||(this.Wx=this.startSeconds=mN(this.startSeconds,a.start||a.startSeconds));void 0==a.start||"1"==a.resume||this.Da||(this.clipStart=a.start);
a.two_stage_token&&(this.Bh=a.two_stage_token);a.url_encoded_third_party_media&&(this.Lj=HE(a.url_encoded_third_party_media));a.watch_ajax_token&&(this.watchAjaxToken=a.watch_ajax_token);a.ypc_module&&this.ie.push("ypc");a.ypc_clickwrap_module&&this.ie.push("ypc_clickwrap");this.Dl=nN(this.Dl,a.ucid);(0,g.G)("baseUrl uid oeid ieid ppe engaged subscribed".split(" "),function(b){a[b]&&(this.ue[b]=a[b])},this);
this.ue.focEnabled=kN(this.ue.focEnabled,a.focEnabled);this.ue.rmktEnabled=kN(this.ue.rmktEnabled,a.rmktEnabled);this.ac=a;lP(this,a,!1);nP(this)||(this.adaptiveFormats&&!this.Da?(qP(this,WL(rP(this,this.adaptiveFormats),this.ld,this.lengthSeconds,void 0)),VL(this.xa)&&(this.kj=!0)):this.we&&(this.lk=!0));a.adpings&&(this.yp=a.adpings?g.AE(a.adpings):null);a.feature&&(this.wh=a.feature);a.referrer&&(this.referrer=a.referrer);a.multifeed_metadata_list&&(this.Kh=HE(a.multifeed_metadata_list));this.clientScreenNonce=
nN(this.clientScreenNonce,a.csn);this.rootVeType=mN(this.rootVeType,a.root_ve_type);a.unplugged_location_info&&(this.Fi=a.unplugged_location_info);a.unplugged_partner_opt_out&&(this.Pj=nN("",a.unplugged_partner_opt_out));this.Jk=nN(this.Jk,a.internal_ip_override);this.innertubez=nN(this.innertubez,a.innertubez)};
g.h.Od=function(){return!this.Da||this.mg};
g.h.DJ=function(a){(this.Nf=a)&&"fairplay"==this.Nf.g&&(this.Nf.fairPlayCert=this.fairPlayCert);pP(this)};
g.h.Je=function(){return!(!this.xa||!this.xa.o)};
g.h.nO=function(a){this.na()||(qP(this,a),this.Da&&this.xa.subscribe("refresh",this.jA,this),g.LO("mrc"),VL(this.xa)&&(this.kj=!0),pP(this))};
g.h.mO=function(a){this.na()||(this.lh=!1,this.Y("dataloaderror",new g.UN("manifest.net.retryexhausted",!0,{backend:"manifest",rc:a.status})))};
g.h.jA=function(){this.na()||(this.xa.isLive||this.xa.unsubscribe("refresh",this.jA,this),this.Tv())};
g.h.Tv=function(){var a=this.xa.Ve(this.Er);0<a.length&&(this.Y("cuepointupdated",a),this.Er+=a.length)};
g.h.PJ=function(a){if(this.spacecastFormatMap){var b=rP(this,this.spacecastFormatMap);return $N(a,b,tP(this,a)).then(this.so,void 0,this).then(this.Jw,void 0,this)}return IM()};
g.h.MJ=function(a){var b=nP(this)||a.zr;if(this.xa&&!b){if(!a.D){var b=this.xa,c=this.Da;if(!b.g["0"]){var d=new FI(0,0,0,void 0,void 0,"auto"),d=new JI("0","",void 0,d);b.g["0"]=c?new EL(new lL("http://www.youtube.com/videoplayback"),d,"fake"):new RL(new lL("http://www.youtube.com/videoplayback"),d,new DK(0,0),new DK(0,0),0,window.NaN)}}return WM(a.M,this.xa,this.Nf,!1,Zka(a)).then(this.Zs,void 0,this)}return IM()};
g.h.NJ=function(a){if(this.hlsFormats){var b=rP(this,this.hlsFormats);return fla(a,b,this.wg).then(this.so,void 0,this)}return IM()};
g.h.QJ=function(a){if(this.Lj&&this.fy){var b=gla(this.Lj);a=MM(a.M,b,JN(a)).then(this.so,void 0,this)}else a=IM();return a};
g.h.OJ=function(a){var b=rP(this,this.Ch,this.fmtList);if(this.hlsvp){var c=this.hlsvp,d=this.wg,e={cpn:this.clientPlaybackNonce};-1==c.indexOf("/ibw/")&&(e.ibw=d?String(d):"1369843");c={url:g.Cg(c,e),type:"application/x-mpegURL",quality:"auto",itag:"93"};b.push(c)}return $N(a,b,tP(this,a)).then(this.so,void 0,this)};
g.h.Zs=function(a){this.ub=a;this.eh=this.eh||/^r/.test(this.clientPlaybackNonce)&&!!this.ub.videoInfos.length&&1080<this.ub.videoInfos[0].video.o;a=this.ub?this.ub.audioTracks:[];a=a.concat(this.Im);for(var b=0;b<this.gk.length;b++)for(var c=this.gk[b],d=0;d<a.length;d++){var e=a[d],f=e.Uc.id==c.audioTrackId;if(e.Uc.isDefault&&b==this.Qp||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.eq=this.captionTracks[c.defaultCaptionTrackIndex]);g.t(c.forcedCaptionTrackIndex)&&(e.tk=this.captionTracks[c.forcedCaptionTrackIndex]);e.Jv=c.visibility||"UNKNOWN"}}};
g.h.so=function(a){this.rl=a;this.Zs(new GM((0,g.H)(this.rl,function(a){return a.ze})))};
g.h.Jw=function(){var a=Md(this.ub.videoInfos,function(a,c){return c.video.isAccelerated&&(!a||a.height<c.video.height)?c.video:a},null);
a&&(this.Bl=this.xl=a=VI(a.quality,a.quality,!0))};
g.h.Bd=function(){var a={};this.Oa&&(a.fmt=II(this.Oa),this.yd&&II(this.yd)!=II(this.Oa)&&(a.afmt=II(this.yd)));a.plid=this.playbackId;a.ei=this.eventId;a.list=this.playlistId;a.cpn=this.clientPlaybackNonce;this.videoId&&(a.v=this.videoId);this.im&&(a.infringe=1);this.Mf&&(a.splay=1);this.Da&&(a.live=this.mg?"dvr":"live");this.vh&&(a.autoplay=1);this.jo&&(a.sdetail=this.jo);this.uh&&(a.partnerid=this.uh);this.osid&&(a.osid=this.osid);return a};
g.h.getStoryboardFormat=function(){if(this.Pb&&this.Pb.storyboards){var a=this.Pb.storyboards;return(a=a.playerStoryboardSpecRenderer||a.playerLiveStoryboardSpecRenderer)&&a.spec||null}return this.ac.storyboard_spec||this.ac.live_storyboard_spec};
g.h.yk=function(){return this.xa&&!(0,window.isNaN)(this.xa.yk())?this.xa.yk():this.lengthSeconds};
g.h.Ic=function(){return this.xa&&!(0,window.isNaN)(this.xa.Ic())?this.xa.Ic():0};
g.h.Ke=function(){return!this.na()&&!(!this.videoId&&!this.Lj)};
g.h.Rb=function(){return BP(this)&&!this.lk&&!this.kj};
g.h.wB=function(){var a={format:"RAW",method:"GET",withCredentials:this.jB};this.Gj&&this.visitorData&&(a.headers={"X-Goog-Visitor-Id":this.visitorData});0<this.Bq&&(a.timeout=this.Bq);var b=this.Cq;0<this.ke&&(b=g.CE(b,{playerretry:this.ke}));this.ax?TL(bF,b,a).then(sE(this.mA),sE(this.HO),this):(a.context=this,a.Ob=this.mA,a.onError=this.Lq,g.LE(b,a));g.LO("vir");g.LO("vir",void 0,"video_to_ad");this.Zw=(0,g.sG)()};
g.h.hc=function(a,b){if(30==this.uh){var c=this.Mj["default.jpg"];return c?c:this.videoId?g.Cg("//docs.google.com/vt",{id:this.videoId,authuser:this.Ec,authkey:this.Dv}):"//docs.google.com/images/doclist/cleardot.gif"}b||(b="hqdefault.jpg");return(c=this.Mj[b])||a.J||"pop1.jpg"==b||"pop2.jpg"==b||"sddefault.jpg"==b||"hq720.jpg"==b||"maxresdefault.jpg"==b?c:MN(a,this.videoId,b)};
g.h.mA=function(a){if(!this.na()){var b=a.responseText;if(b){this.lh=!1;var c=g.AE(b);this.ay&&WN(c);"fail"==c.status?this.Y("onStatusFail",c):(g.LO("virc"),g.LO("virc",void 0,"video_to_ad"),(0,g.G)(g.rqa,function(a){a in this.ac&&(c[a]=this.ac[a])},this),this.setData(c),BP(this)?pP(this):this.Y("dataloaderror",new g.UN("manifest.net.retryexhausted",!0,{successButUnplayable:"1"})))}else this.Lq(a)}};
g.h.HO=function(a){this.Lq(a.g)};
g.h.Lq=function(a){if(!this.na()){var b=a?a.status:-1;a=this.ke>=this.Ss||400==b;var c=200<b?"manifest.net.badstatus":"manifest.net.connect",d=(((0,g.sG)()-this.Zw)/1E3).toFixed(3),b={backend:"gvi",rc:b,rt:d};a&&this.Ss?(c="manifest.net.retryexhausted",b.urllen=this.Cq.length):a||(this.ke++,this.vB.start());this.Y("dataloaderror",new g.UN(c,a,b))}};
g.h.getPlayerResponse=function(){return this.Pb};
g.h.getPlaylistId=function(){return null};
g.h.jc=function(){return this};
g.h.cn=function(a){return a.getVideoUrl(this.videoId)};
g.h.fh=function(){return!!this.xa&&this.xa.fh()};
g.h.xg=function(){return!!this.xa&&this.xa.xg()};
g.h.If=function(){return!!this.xa&&this.xa.If()};
g.h.ii=function(){return!!this.xa&&this.xa.ii()};
g.rqa="ypc_buy_url ypc_full_video_message ypc_item_thumbnail ypc_item_title ypc_item_url ypc_module ypc_offer_button_text ypc_offer_description ypc_offer_headline ypc_offer_id ypc_offer_type ypc_overlay_timeout ypc_preview ypc_signin_message ypc_vid".split(" ");Ala="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_description ypc_offer_headline ypc_offer_id ypc_preview ypc_price_string ypc_video_rental_bar_text".split(" ");
iP=["annotations","captions","storyboard"];KP.prototype.update=function(){var a=this.g.o()||0,b=g.JP(this.g);if(a!=this.o||OP(this,a,b)){if(a<this.o||a-this.o>b-this.D+2||OP(this,a,b)||Fla(this,b))g.LP(this),this.B=a;this.D=b;this.o=a}};PP.prototype.o=function(){return{ps:this.g.o,el:this.g.g}};
PP.prototype.send=function(){if(!this.A){var a=this.o();a=g.Cg(this.g.baseYtUrl+"set_awesome",a);this.g.La&&this.videoData.visitorData&&FE(a)?g.LE(a,{headers:{"X-Goog-Visitor-Id":this.videoData.visitorData}}):g.YE(a);this.A=!0}};g.z(QP,PP);
QP.prototype.o=function(){var a=QP.aa.o.call(this);g.Ba(a,this.g.B);g.Ba(a,{html5:"1",video_id:this.videoData.videoId,eurl:this.g.pa,framer:this.g.Mp,list:this.videoData.xt||this.videoData.playlistId,w:g.Id(this.videoData.Df/this.videoData.lengthSeconds,0,1),l:this.videoData.lengthSeconds,plid:this.videoData.playbackId,ei:this.videoData.eventId,access_token:this.videoData.oauthToken,tpmt:MP(this.B),cpn:this.videoData.clientPlaybackNonce,feature:this.videoData.wh});this.videoData.adFormat&&(a.adformat=
this.videoData.adFormat);var b;(b=(b=this.videoData.referrer)?b.slice(0,128):"")&&(a.referrer=b);if(this.g.experiments.g("legacy_autoplay_flag")?this.g.da:this.videoData.vh)a.autoplay="1";this.g.Ec&&(a.authuser=this.g.Ec);this.g.pageId&&(a.pageid=this.g.pageId);this.videoData.Mf&&(a.splay="1");this.videoData.subscribed&&(a.subscribed=this.videoData.subscribed);g.Ba(a,QP.aa.o.call(this));g.Ba(a,this.g.B);return a};var Hma={sV:"YTP_ERROR_ALREADY_PINNED_ON_A_DEVICE",AUTHENTICATION_EXPIRED:"ERROR_AUTHENTICATION_EXPIRED",wV:"ERROR_AUTHENTICATION_MALFORMED",xV:"ERROR_AUTHENTICATION_MISSING",CV:"ERROR_BAD_REQUEST",TV:"YTP_ERROR_CANNOT_ACTIVATE_RENTAL",dW:"ERROR_CGI_PARAMS_MALFORMED",eW:"ERROR_CGI_PARAMS_MISSING",UW:"YTP_DEVICE_FALLBACK",vX:"YTP_ERROR_LICENSE",CX:"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK_FLASH",GX:"YTP_ERROR_FORMAT_UNAVALIABLE",JX:"YTP_ERROR_GEO_FAILURE",ZX:"YTP_ERROR_GENERIC_WITHOUT_LINK",bY:"YTP_HTML5_PROTECTED_FLASH_FALLBACK",
aY:"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK",tY:"YTP_ERROR_INVALID_DRM_MESSAGE",BY:"LEARN_MORE",HZ:"YTP_ERROR_NOT_SIGNED_IN",n_:"YTP_ERROR_PURCHASE_NOT_FOUND",o_:"YTP_ERROR_PURCHASE_REFUNDED",t_:"YTP_ERROR_RENTAL_EXPIRED",YV:"YTP_ERROR_CAST_SESSION_DEVICE_MISMATCHED",ZV:"YTP_ERROR_CAST_SESSION_VIDEO_MISMATCHED",bW:"YTP_ERROR_CAST_TOKEN_FAILED",aW:"YTP_ERROR_CAST_TOKEN_EXPIRED",cW:"YTP_ERROR_CAST_TOKEN_MALFORMED",P_:"YTP_ERROR_SERVER_ERROR",q0:"YTP_ERROR_STOPPED_BY_ANOTHER_PLAYBACK",v0:"YTP_ERROR_STREAM_LICENSE_NOT_FOUND",
s0:"YTP_ERROR_STREAMING_DEVICES_QUOTA_PER_24H_EXCEEDED",t0:"YTP_ERROR_STREAMING_NOT_ALLOWED",u0:"YTP_ERROR_STREAMING_UNAVAILABLE",C_:"YTP_ERROR_RETRYABLE_ERROR",L0:"YTP_ERROR_TOO_MANY_STREAMS_PER_USER",K0:"YTP_ERROR_TOO_MANY_STREAMS_PER_ENTITLEMENT",o1:"YTP_ERROR_UNSUPPORTED_DEVICE",p1:"YTP_ERROR_UNUSUAL_ACTIVITY",F1:"YTP_ERROR_VIDEO_FORBIDDEN",H1:"YTP_ERROR_VIDEO_NOT_FOUND"},Gla={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 TT=wf(function(){var a="";try{var b=g.je("CANVAS").getContext("webgl");b&&(b.getExtension("WEBGL_debug_renderer_info"),a=b.getParameter(37446),a=a.replace(/[ :]/g,"_"))}catch(c){}return a});g.TP.prototype.yb=function(){return g.V(this,8)&&!g.V(this,64)&&!g.V(this,2)};
g.TP.prototype.isError=function(){return g.V(this,128)};fQ.prototype.isEmpty=function(){return this.endTime==this.startTime};var iQ={other:1,none:2,wifi:3,cellular:7};g.p(lQ,g.K);
lQ.prototype.C=function(a){if(!this.na()&&(a=0<=a?a:g.JP(this.g),"PL"==this.A&&(!g.Ub(this.o)||a>=this.B+30)&&(g.kQ(this,a,"vps",[this.A]),this.B=a),!g.Ub(this.o)&&!this.P)){nQ(this,a);var b=a,c=this.g.F(),d=c.droppedVideoFrames,e=d-this.da;if(d>c.totalVideoFrames||5E3<e)this.onError("html5.badframedropcount","df."+d+";tf."+c.totalVideoFrames);else 0<e&&g.kQ(this,b,"df",[e]);this.da=d;!this.g.g.experiments.g("disable_webgl_reporting")&&0<this.D&&(g.kQ(this,a,"glf",[this.D]),this.D=0);a=oQ(this);g.$b(a,
this.g.g.B);a=g.Cg(this.g.g.Zj,a);for(var f in this.o)null==this.o[f]?g.rE(Error("Stats report key has invalid value: "+f),"WARNING"):a+="&"+f+"="+this.o[f].join(",");pQ(this,a);this.o={}}};
lQ.prototype.pa=function(){this.g.videoData.Nf&&tQ(this,"drm-"+this.g.videoData.Nf.g)};
lQ.prototype.onError=function(a,b){var c=g.JP(this.g);rQ(this,c,a,b);nQ(this,c);qQ(this)};
lQ.prototype.W=function(){g.K.prototype.W.call(this);g.vE(this.ba)};
var D3={},Jla=(D3[5]="N",D3[-1]="N",D3[3]="B",D3[0]="EN",D3[2]="PA",D3[1]="PL",D3);uQ.prototype.send=function(a){if(!this.ca){var b=xQ(this),b=g.Cg(this.Wa,b);if(this.G)this.O&&(a={method:"POST",Tb:{atr:this.O}},this.Gj&&this.visitorData&&(a.headers={"X-Goog-Visitor-Id":this.visitorData}),g.LE(b,a));else{var c=vQ(this,a);c?g.LE(b,c):g.YE(b,a)}this.ca=!0}};
uQ.prototype.g=function(a){void 0==a&&(a=window.NaN);return(1*a.toFixed(3)).toString()};g.z(yQ,g.K);g.h=yQ.prototype;g.h.pO=function(a,b){if(!this.na()){this.F=window.NaN;this.A.update();var c=NP(this.A),d=BQ(this,c);b&&(d.D=a);var e=400<this.K;!(1<c.length)&&c[0].isEmpty()||e||(d.o=zQ(this,!0,a));d.send();this.K++}};
g.h.onError=function(a,b){if(!this.na())this.o.onError(a,b)};
g.h.po=function(a){var b=this.g.g,c=this.g.videoData,d={ns:b.Ua,el:b.g,eurl:b.pa,fmt:c.Oa?II(c.Oa):0,html5:1,list:c.playlistId,plid:c.playbackId,cpn:c.clientPlaybackNonce,ei:c.eventId,ps:b.o,noflv:1,st:this.g.o(),video_id:c.videoId,metric:a};if(b.experiments.g("legacy_autoplay_flag")?b.da:c.vh)d.autoplay="1";"heartbeat"==a&&(d.tpmt=MP(this.A));g.Ba(d,b.B);DQ(this,g.Cg("//www.youtube.com/live_204",d))};
g.h.gb=function(){};
g.h.W=function(){yQ.aa.W.call(this);g.wE(this.F);this.F=window.NaN;var a=this.A;g.vE(a.F);a.F=window.NaN};g.p(IQ,hJ);g.h=IQ.prototype;g.h.Xa=function(){return KU(this.app)};
g.h.Fy=function(a,b,c,d,e){return joa(this.app,a,b,c,d,e)};
g.h.xK=function(a,b,c){eN(this.app.Z.G,a,{Mh:b,Nj:c})};
g.h.zK=function(a,b){p2(this.app,a,b||this.playerType)};
g.h.Sk=function(a){return coa(this.app,a)};
g.h.Jn=function(a,b,c,d){l2(this.app,a,c||this.playerType,b,d)};
g.h.Ry=function(a,b,c){var d=this.app;b=b||this.playerType||1;c=c||!1;d.sa.get(b+qN(a))||(a=new g.hP(a),goa(d,a,b,c))};
g.h.qj=function(a,b){s2(this.app,a,b)};
g.h.Uk=function(a){ioa(this.app,a)};
g.h.fe=function(a,b,c){noa(this.app,this.app.getCurrentTime()+a,b,c,this.playerType)};
g.h.UK=function(a){if(a){var b=this.getPlaylistId();if(!b||b==a.list){var c=a.video;(b=this.app.B)?this.app.J.isFullscreen()&&((c=c[b.Zd()])&&c.encrypted_id!=b.jc().videoId||(a.index=b.Zd())):Z1(this.app,{list:a.list,index:a.index,playlist_length:c.length});UQ(this.app.B,a);this.za("onPlaylistUpdate")}}else a=this.app,$1(a),a.g.za("onPlaylistUpdate")};
g.h.TK=function(){bqa()};
g.h.VK=function(a,b){var c=g.MU(this.app,this.playerType||1);c&&c.g.fg(a,b)};
g.h.getPlayerResponse=function(){var a=g.MU(this.app,this.playerType);return a?a.g.getPlayerResponse():null};
g.h.getStoryboardFormat=function(){return U1(this.app).getStoryboardFormat()};
g.h.CK=function(){var a=this.app.Z;return{zc:a.zc,Fb:a.Fb}};
g.h.ia=function(){var a=hJ.prototype.ia.call(this),b=g.MU(this.app,this.playerType);b&&(b=b.g,a.backgroundable=b.backgroundable,a.cpn=b.clientPlaybackNonce,a.isLive=b.Da,a.itct=b.wn,a.paidContentOverlayText=vP(b),a.paidContentOverlayDurationMs=wP(b));return a};
g.h.getCurrentTime=function(a){return a?this.app.getCurrentTime(a):hJ.prototype.getCurrentTime.call(this)};
g.h.getDuration=function(a){return a?this.app.getDuration(a):hJ.prototype.getDuration.call(this)};
g.h.oh=function(){if(3==this.Xa())return g.LU(this.app.A).rL();var a=U1(this.app),b=g.MU(this.app),c=this.app.Od(),d=a.clipEnd,a=a.clipStart,e=this.getCurrentTime(),f=this.getDuration(),k=AU(b),l=b.isPeggedToLive(),m=g.MU(this.app,void 0),n;m?(m.o&&(n=kK(m.o)),n=0<=n?n:m.getCurrentTime()):n=0;return{allowSeeking:c,clipEnd:d,clipStart:a,current:e,displayedStart:-1,duration:f,ingestionTime:k,isPeggedToLive:l,loaded:n,seekableEnd:yU(b,!0),seekableStart:b.Ic()}};
g.h.Tr=function(a){return W1(this.app,a)};
g.h.yK=function(a){return!!SJ().canPlayType(a)};
g.h.Sy=function(a,b){var c=g.MU(this.app,this.playerType);if(c){b=b||a;var d=VI(a,b,!0);g.NG("yt-player-quality",b,2592E3);uU(c,"m",d)}};
g.h.BK=function(){return zP(U1(this.app),this.app.getCurrentTime())};
g.h.ni=function(a){var b=this.app,c=g.MU(b,this.playerType);c&&b.Z.Gb.has(a.toString())&&c.C&&(b=AQ(c.C,"engage"),b.A=a,b.send(void 0))};
g.h.Wk=function(a,b,c){var d=this.app.A.A;d&&d.Gl()&&d.cu(a,b,c)};
g.h.FK=function(a,b){var c=this.app.A.D;c&&c.ga&&C_(c.ga,a,b)};
g.h.nh=function(){var a=g.MU(this.app,this.playerType);return a?a.au():U1(this.app).Im};
g.h.Wr=function(a){3==this.Xa()&&g.LU(this.app.A).Yk("control_set_audio_track",a);var b=g.MU(this.app,this.playerType),c;if(c=b)if(c=!b.na()&&!g.V(b.A,128)&&!!b.g.ub.g){c=b.B;if(c.na())a=!0;else{var d=c.F;a=a.id;d.G="m";d.B=d.F.g[a];d.O=d.B;c.Y("audioformatchange",new bR(d.O,d.o,d.G));c.o&&!c.o.g.remove?a=!1:(MS(c),hS(c.g),hS(c.B),$S(c),a=!0)}c=!a}c&&(rU(b),pU(b))};
g.h.Ur=function(){var a=g.MU(this.app,this.playerType);return a.g.ub?a.g.ub.audioTracks:[]};
g.h.DK=function(){var a=g.MU(this.app,this.playerType);return a&&a.g.Oa?g.ZI(BT(a.sa,a.g)):"unknown"};
g.h.OK=function(a,b){ooa(this.app,a,b)};
g.h.AK=function(){var a=this.app.A.F;a&&a.fH()};
g.h.RK=function(){var a=this.app.A.D;a&&(a.ua=!1,a.Hg())};
g.h.GK=function(){var a=this.app.A.D;a&&(a.ua=!0,a.Hg())};
g.h.In=function(){return this.app.Pk()};
g.h.QK=function(){return!0};
g.h.Qy=function(a){a=g.WY(this.app.F,a);return{left:a.left,top:a.top,width:a.width,height:a.height}};
g.h.NK=function(a){this.app.Z.enableSafetyMode=a};
g.h.KK=function(a){uF();u2(this.app,a?2:0)};
g.h.Pp=function(){var a=this.app.A.o;a&&a.C&&a.destroy();(a=g.MU(this.app))&&xU(a);(a=this.app.A.J)&&a.uJ()&&g.JU(this.app.J,!0)};
g.h.Tf=function(){var a=this.app.Z;!a.experiments.g("disable_new_pause_state3")&&ON(a)&&"blazer"!=a.o?this.Pp():hJ.prototype.Tf.call(this)};
g.h.bx=function(){return BU(g.MU(this.app,this.playerType),!0)};
g.h.Kn=function(a){this.app.A.g.Ht(a,!0)};
g.h.mi=function(){var a=this.app.A.g;return a?a.zq():null};
g.h.Vr=function(){this.app.A.g.nB()};
g.h.HK=function(){var a=g.MU(this.app,this.playerType);if(!a)return!1;a=a.g;return!!a&&a.Ke()&&!!a.Oa&&a.Oa.video.isAccelerated&&a.Oa.video.A};
g.h.isPeggedToLive=function(){return this.app.isPeggedToLive()};
g.h.MK=function(a){var b=this.app;b.Z.Yb=a;b.g.Y("minimized")};
g.h.Qk=function(a){return h2(this.app,a)};
g.h.EK=function(){var a=this.app.A.B;if(!a)return{};a=a.az();return"Spherical"!=a.shader&&"Spherical3D"!=a.shader?{}:{yaw:g.Kd(180*(a.yaw||0)/Math.PI,360),pitch:180*(a.pitch||0)/Math.PI}};
g.h.PK=function(a){var b=this.app.A.B;if(b){var c={shader:"Spherical"};g.oa(a.yaw)&&!(0,window.isNaN)(a.yaw)&&(c.yaw=g.Kd(a.yaw,360)*Math.PI/180);g.oa(a.pitch)&&!(0,window.isNaN)(a.pitch)&&(c.pitch=g.Id(a.pitch,-90,90)*Math.PI/180);b.bz(c)}};
g.h.JK=function(a){var b=this.app;b.Z.Qg=a;b.C&&(a=b.C,a.C&&g.LP(a.C.A),b.Z.K&&qoa(b))};
g.h.Y=function(a,b){for(var c=1;c<arguments.length;++c);this.app.Z.Fb&&("videodatachange"==a||"audiotrackchanged"==a||"resize"==a||"cardstatechange"==a)&&this.app.ba.Y.apply(this.app.ba,arguments);this.app.P.Y.apply(this.app.P,arguments)};
g.h.za=function(a,b){this.app.ba.Y.apply(this.app.ba,arguments);this.app.P.Y.apply(this.app.P,arguments)};
g.h.IK=function(){};
g.h.SK=function(){this.za("settingsmenutoggle")};
g.h.setVolume=function(a,b){lJ(this,a,b)};
g.h.mute=function(a){mJ(this,a)};
g.h.yg=function(a){nJ(this,a)};
g.h.vJ=function(){return this.app.ka};
g.h.Tk=function(a){if("annotations_module"==a){var b=this.app.A.A;b&&!b.loaded&&b.load()}hJ.prototype.Tk.call(this,a)};
g.h.Hn=function(a){if("annotations_module"==a){var b=this.app.A.A;b&&b.loaded&&b.unload()}hJ.prototype.Hn.call(this,a)};
g.h.Ed=function(a,b,c){if(!b)return null;var d=this.app.A;switch(a){case "ad":return(c=d.o)&&c.QC&&c.QC(b);case "remote":return(a=g.LU(d))&&a.qL(b,c);case "unplugged":return(a=g.Y(d.U).ua?d.C:null)&&a.A(b,c);case "spacecast":return(c=d.P)&&c.C(b);case "annotations_module":return(a=d.A)&&a.HT(b,c);case "creatorendscreen":return(a=d.G)&&a.ca(b,c)}return hJ.prototype.Ed.call(this,a,b,c)};
g.h.li=function(a){var b=this.app.A;switch(a){case "ad":return(b=b.o)&&b.ZT&&"addata adstate breakscount displaystate getContentVideoData loadedadbreaks midrollfreqcap".split(" ");case "remote":return g.LU(b)&&["casting","receivers","currentReceiver","quickCast"];case "annotations_module":return(b=b.A)&&b.IT();case "unplugged":return(g.Y(b.U).ua?b.C:null)&&["settingsMenuShown","hideSettingsMenu","showSettingsMenu","toggleSettingsMenu"]}return a?hJ.prototype.li.call(this,a):(a=hJ.prototype.li.call(this),
b.o&&a.push("ad"),g.LU(b)&&a.push("remote"),b.A&&a.push("annotations_module"),b.G&&a.push("creatorendscreen"),g.Y(b.U).ua&&b.C&&a.push("unplugged"),a)};
g.h.Py=function(){var a=this.app.F.Za();return{width:a.width,height:a.height}};
g.h.LK=function(a){var b=this.app.F;b.J=oN(a,!0);b.jg()};
g.h.hT=function(){var a=this.app.A.D;a&&a.B.qc(2,!0)};g.p(JQ,IQ);g.h=JQ.prototype;g.h.fd=function(){n2(this.app,!0,this.playerType);EY(this.app,this.playerType)};
g.h.sd=function(){GY(this.app,this.playerType)};
g.h.fe=function(a,b,c){n2(this.app,!0,this.playerType);var d=this.app,e=this.playerType;HY(d,d.getCurrentTime()+a,b,c,e)};
g.h.wc=function(a,b){n2(this.app,!0,this.playerType);HY(this.app,a,b,void 0,this.playerType)};
g.h.Tf=function(){moa(this.app)};KQ.prototype.reset=function(){JO(this.g)};
KQ.prototype.o=function(a,b){g.LO(a,b,this.g)};
KQ.prototype.info=function(a,b){g.MO(a,b,this.g)};MQ.prototype.toString=function(){return this.type+this.id};g.z(g.PQ,g.RF);g.h=g.PQ.prototype;g.h.hasNext=function(a){return this.loop||!!a||this.kc+1<this.kh};
g.h.Kf=function(a){return this.loop||!!a||0<=this.kc-1};
g.h.jc=function(a,b){var c=void 0!=a?a:this.kc,c=this.Ma&&c in this.Ma?this.Ma[this.Rd[c]]:null,d=null;c&&(b&&(c.autoplay="1"),d=new g.hP(c),d.startSeconds=this.startSeconds||d.clipStart||0,this.listId&&(d.playlistId=this.listId.toString()));return d};
g.h.setShuffle=function(a){this.PB=a;a=this.Rd&&null!=this.Rd[this.kc]?this.Rd[this.kc]:this.kc;this.Rd=[];for(var b=0;b<this.Ma.length;b++)this.Rd.push(b);this.kc=a;this.Cn++;if(this.PB){a=this.Rd[this.kc];for(b=1;b<this.Rd.length;b++){var c=Math.floor(Math.random()*(b+1)),d=this.Rd[b];this.Rd[b]=this.Rd[c];this.Rd[c]=d}for(b=0;b<this.Rd.length;b++)this.Rd[b]==a&&(this.kc=b);this.Cn++}this.Y("shuffle")};
g.h.hc=function(a,b){b=b||"hqdefault.jpg";var c=this.Mj[b];if(c||a.J||"sddefault.jpg"==b||"hq720.jpg"==b||"maxresdefault.jpg"==b)return c;if(this.XB.length)return MN(a,this.XB[0],b)};
g.h.Zd=function(){return this.kc};
g.h.getLength=function(){return this.kh};
g.h.sk=function(a){if(a&&(a=a.videoId,!this.Ma[this.kc]||this.Ma[this.kc].video_id!=a))for(var b=0;b<this.Ma.length;b++)if(this.Ma[b].video_id==a){this.kc=b;break}};
g.h.onReady=function(a){this.sl=a;this.Vc&&g.yE(this.sl,0)};
g.h.getPlaylistId=function(){return this.listId?this.listId.toString():null};
g.h.cn=function(a){return a.getVideoUrl(this.jc().videoId,this.getPlaylistId())};
g.h.W=function(){this.sl=null;g.Me(this.Ma);g.PQ.aa.W.call(this)};g.z(g.WQ,g.K);g.h=g.WQ.prototype;g.h.Ia=function(a,b){g.t(b)?pe(a,this.element,b):a.appendChild(this.element)};
g.h.detach=function(){g.qe(this.element)};
g.h.update=function(a){for(var b in a)this.Fa(b,a[b])};
g.h.Fa=function(a,b){var c=this.Ja["{{"+a+"}}"];c&&YQ(this,c[0],c[1],b)};
g.h.W=function(){this.wa={};this.Ja={};this.detach();g.WQ.aa.W.call(this)};
g.WQ.o=1;g.WQ.g=function(){return"ytp-svg-"+g.WQ.o++};g.z(g.W,g.WQ);g.h=g.W.prototype;g.h.dc=function(a,b){this.Fa(b||"content",a)};
g.h.show=function(){this.g||(g.ZQ(this.element,""),this.g=!0)};
g.h.hide=function(){this.g&&(g.ZQ(this.element,"none"),this.g=!1)};
g.h.Lb=function(a){a?this.show():this.hide()};
g.h.V=function(a,b,c){return this.R(this.element,a,b,c)};
g.h.R=function(a,b,c,d){c=(0,g.y)(c,d||this);d={target:a,type:b,listener:c};this.ca.push(d);a.addEventListener(b,c);return d};
g.h.Ca=function(a){for(var b=0;b<this.ca.length;b++)if(this.ca[b]==a){a=this.ca.splice(b,1)[0];a.target.removeEventListener(a.type,a.listener);break}};
g.h.focus=function(){g.De(this.element);this.element.focus()};
g.h.W=function(){for(;this.ca.length;){var a=this.ca.pop();a.target.removeEventListener(a.type,a.listener)}g.W.aa.W.call(this)};cR.prototype.forEach=function(a){for(var b=this.o+1;b<this.g.length;b++)a(this.g[b]||0);for(b=0;b<=this.o;b++)a(this.g[b]||0)};
cR.prototype.ib=function(){var a=[];this.forEach((0,g.y)(a.push,a));return a};
cR.prototype.clear=function(){for(var a=this.g.length,b=0;b<a;b++)this.g[b]=0;this.o=this.g.length-1};gR.prototype.reset=function(){this.K=iR(this);this.F=window.NaN;this.J=0;this.g=new fR(0,0,null);this.B=8;this.C=[];this.A=this.D=window.NaN;this.o=this.G=0};
gR.prototype.process=function(a){if(this.C.length){if(lR(this)&&this.C.length+a.byteLength<this.B)return mR(this,a,0);var b=this.C.length,c=new window.Uint8Array(b+a.byteLength);c.set(this.C,0);c.set(new window.Uint8Array(a.buffer,a.byteOffset,a.byteLength),b);this.C=[];a=new window.DataView(c.buffer)}for(b=0;b<a.byteLength;){var c=a.byteLength-b,d=window.NaN;if(lR(this)){if(c<this.B)return mR(this,a,b);switch(this.g.type){case 0:case 1836019574:case 1836019558:d=jR(this,a,b);break;case 1953653094:c=
a;d=b;this.G||(this.G=FJ(nR(this,c,d),this.o));d=jR(this,c,d);break;case 1836476516:this.o=hqa(nR(this,a,b));kR(this);d=this.g.size-8;break;case 1952867444:c=a;d=b;(0,window.isNaN)(this.A)||((0,window.isNaN)(this.F)&&(this.F=this.A),this.M&&MJ(nR(this,c,d),this.A),this.A+=this.G,this.J+=this.G);d=this.g.size-8;break;case 1936286840:c=nR(this,a,b),d=PJ(c),this.o=OJ(c),kR(this),this.G=d,d=this.g.size-8}}else d=Math.min(this.B,c);this.g.offset+=d;this.B-=d;b+=d;if(0==this.B){for(;0!=this.g.type&&this.g.offset==
this.g.size&&this.g.g;)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}}}return a};g.p(oR,g.RF);var ama=0;g.h=CR.prototype;g.h.UR=function(a){this.status=a.status;a.ok?(this.C=a.body.getReader(),this.D?(this.G=a.headers,this.P(),this.B=new window.Uint8Array(DR(this)),GR(this)):this.C.cancel("Cancelling")):this.Mn()};
g.h.SN=function(a){if(this.D)if((0,g.F)(),a.done)this.C=null,this.Mn();else{a=a.value;this.D({timeStamp:(0,g.F)(),loaded:this.A});this.A+=a.length;var b=a.length>=Math.max(DR(this)/2,16384),c=a.length+this.g>DR(this);this.K?((b||c)&&0!==this.g&&ER(this),b?this.o.push(a):FR(this,a)):(FR(this,a),16384<=this.A&&ER(this));GR(this)}};
g.h.Mn=function(){this.D&&(this.F=!0,this.M())};
g.h.bQ=function(){this.J=!0;this.Mn()};
g.h.ph=function(a){return this.G.get(a)};
g.h.yx=function(){return!!this.G};
g.h.oq=function(){return this.A};
g.h.sq=function(){return+this.ph("content-length")};
g.h.wx=function(){return 200<=this.status&&300>this.status&&!!this.A};
g.h.Ar=function(){return!!this.o.length||this.F&&0<this.g};
g.h.NB=function(){this.o.length||ER(this);return this.o.shift()};
g.h.Ty=function(){this.o.length||ER(this);return this.o[0]};
g.h.abort=function(){this.C&&this.C.cancel("Cancelling");this.M=this.D=null};
g.h.UB=function(){return!0};
g.h.cB=function(){return this.J};g.h=HR.prototype;g.h.YK=function(a){if(!this.o){this.status=this.g.status;try{this.response=this.g.response}catch(b){}this.A=!0;this.B(a)}};
g.h.aL=function(){2==this.g.readyState&&this.C()};
g.h.ZK=function(a){this.o||(this.status=this.g.status,this.D(a))};
g.h.yx=function(){return 2<=this.g.readyState};
g.h.ph=function(a){try{return this.g.getResponseHeader(a)}catch(b){return g.rE(b),""}};
g.h.sq=function(){return+this.ph("content-length")};
g.h.oq=function(){return this.response.byteLength};
g.h.wx=function(){return 200<=this.status&&300>this.status&&!!this.response&&!!this.response.byteLength};
g.h.Ar=function(){return this.A&&!!this.response&&!!this.response.byteLength};
g.h.NB=function(){var a=this.response;this.response=null;return new window.Uint8Array(a)};
g.h.Ty=function(){return new window.Uint8Array(this.response)};
g.h.abort=function(){this.o=!0;this.g.abort()};
g.h.UB=function(){return!1};
g.h.cB=function(){return!1};g.h=IR.prototype;g.h.Nb=function(){return this.D};
g.h.start=function(a){var b=1==this.state,c=KR(this);1==this.state||5==this.state||c&&OR(this);PR(this,2);if("fallback"==c||"fastfallback"==c)c=this.info.o,this.G<=c.B||(c.A++,c.B=A3-1),this.ke=0;else if("retry"==c){this.ke++;b=1E4*(.5+Math.random());1==this.ke&&(b=2E3);g.yE((0,g.y)(this.Yr,this,a),b);return}c=0;this.B.C&&1<this.info.o.g&&(c=1E3*Math.pow(1.6,this.info.o.g-1));b&&!c?this.Yr(a):g.yE((0,g.y)(this.Yr,this,a),c)};
g.h.Yr=function(a){if(!this.na()){this.G=A3++;if(this.o){var b=this.info,c=this.o.g;this.J=b.range?new DK(b.range.start+c,b.range.end):FK(c,this.o.length);this.A=g.AL(this.info,this.B,this.X,this.J)}else this.J=this.info.range,this.A=g.AL(this.info,this.B,this.X);this.A.set("rn",this.G.toString());this.ke&&this.A.set("playerretry",this.ke.toString());0<=a&&this.A.set("rbuf",(1E3*a).toFixed().toString());a=g.wL(this.A);try{var d=(0,g.y)(this.uR,this),e=(0,g.y)(this.xR,this),f=(0,g.y)(this.wR,this),
k=(0,g.y)(this.vR,this);this.g=this.B.P&&"function"==typeof window.fetch&&window.ReadableStream&&QR(this)?new CR(a,e,f,d,k):new HR(a,e,f,d,k)}catch(l){this.D="net.ssl",PR(this,7)}0<this.B.M&&(this.F=g.yE((0,g.y)(this.hB,this),this.B.M))}};
g.h.xR=function(){this.O=0;var a=NR(this);(0,g.sG)();a.o+=1;a=this.timing;a.o=(0,g.F)();a.D=a.o;a.J=a.o;a.A=0;a.P=!1;a.X=!1;a.C=0;a.F=EM(a.g);BR(a);a.K=(a.M-a.o)/1E3};
g.h.wR=function(a){if(!this.na()){this.C=this.g.status;VR(this,!1);var b=this.timing,c=a.timeStamp;a=a.loaded;c=c>b.o&&4E12>c?c:(0,g.F)();b.J=c;50>c-b.D&&(zR(b)||!b.g.policy.K)||yR(b,c,a);b=this.timing;b.A>b.fa&&b.A>b.g.policy.g&&4>this.state?PR(this,4):SR(this)&&UR(this)&&PR(this,Math.max(3,this.state))}};
g.h.vR=function(){if(!this.na()&&!this.M&&this.g.yx()&&this.g.ph("X-Walltime-Ms")){var a=(0,window.parseInt)(this.g.ph("X-Walltime-Ms"),10);this.M=((0,g.F)()-a)/1E3}};
g.h.uR=function(){var a=this.g;if(!this.na()){this.F&&(g.wE(this.F),this.F=window.NaN);this.C=a.status;var b=!1;if(400<=a.status)b=!0,this.D="net.badstatus";else if(a.wx()){var c="";TR(this)&&(c=a.Ty(),2048<c.length?c="":(c=String.fromCharCode.apply(String,c),c=rL.test(c)?c:""));if(c){fL(NR(this));var a=this.info,d=this.A,e=a.o;d.g===e.D&&(e.D=xL(d,c));d.g===e.o&&(e.o=xL(d,c));a.requestId=d.get("req_id");PR(this,5)}else if(c=a.oq(),(d=!!this.J&&this.J.length)&&d!=c||a.cB())b=!0,this.D="net.closed";
else{VR(this,!0);e=QR(this)?this.g.ph("X-Bandwidth-Est"):0;a=this.timing;d=(0,g.F)();e=e?(0,window.parseInt)(e,10):0;if(!a.P){a.P=!0;d=d>a.o&&4E12>d?d:(0,g.F)();a.J=d;yR(a,d,c);a.G&&e?wM(a.g,a.A/e,a.A):(e=(d-a.o)/1E3,(e<=a.g.policy.A||!a.g.policy.A)&&!a.X&&zR(a)&&wM(a.g,e,c),zR(a)&&yM(a.g,c,a.C));var c=a.g,d=(d-a.o)/1E3,e=a.K,f=a.da;c.C.g(d,a.A/d);c.F=(0,g.sG)();f||c.o.g(1,d-e);a.B&&(a.B=!1)}fL(NR(this));this.info.o.g=0;PR(this,6)}}else b=!0,this.D="net.connect";b&&(OR(this),(0,g.F)(),"net.connect"==
this.D?(b=NR(this),b.dg+=1):(b=NR(this),b.g+=1),this.info.o.g+=1,PR(this,7))}};
g.h.hB=function(){this.F=window.NaN;if(!(this.na()||this.B.Gb&&this.g&&zR(this.timing)&&"quic"==this.g.ph("client-protocol"))){var a=(0,g.F)(),b=!1;if(zR(this.timing)){var c=this.timing.M;BR(this.timing);this.timing.M-c>=.8*this.B.M?(this.O++,b=this.O>=this.B.ua):this.O=0}else b=this.timing,b=5E3<a-(b.o+1E3*b.F.delay);if(b){b=this.timing;a=a>b.o&&4E12>a?a:(0,g.F)();c=(a-b.o)/1E3;if(!b.G)if(zR(b))b.C+=(a-b.D)/1E3,yM(b.g,b.ba,b.C);else{var d=b.g;d.D.g(1,c);xM(d);b.O=a}var d=b.g,e=b.K,f=b.da;d.C.g(c,
b.A/c);d.F=(0,g.sG)();f||d.o.g(1,c-e);AM(b.g,(a-b.D)/1E3,0);b=NR(this);b.dg+=1;this.info.o.g+=1;RR(this);this.D="net.timeout";PR(this,7)}else this.F=g.yE((0,g.y)(this.hB,this),this.B.M)}};
g.h.na=function(){return-1==this.state};
g.h.dispose=function(){HK(this.info.g[0])&&6!=this.state&&(this.info.g[0].oa.o=!1);PR(this,-1);this.K=null;RR(this);g.wE(this.F);this.F=window.NaN};
IR.DEBUG=!1;WR.prototype.start=function(){this.o=!0};
WR.prototype.reset=function(){this.g=this.o=!1};XR.prototype.ba=function(a){switch(a.info.type){case 1:case 2:this.X(a);break;case 4:var b=a.info.oa.pB(a);a=a.info;var c=this.g;c&&c.oa==a.oa&&c.type==a.type&&(a.range&&c.range?c.range.start==a.range.start&&c.range.end==a.range.end:c.range==a.range)&&c.Ea==a.Ea&&c.Ya==a.Ya&&c.ob==a.ob&&(this.g=g.Za(b).info);(0,g.G)(b,this.ba,this);break;case 3:Ula(this.o,a)}};
XR.prototype.X=function(a){if(1==a.info.type){var b=aL(a);if(KI(a.info.oa.info)&&!LI(a.info.oa.info)){var c=new LK(b);NK(c);QK(c,408125543);c=PK(c);QK(c,374648427);c=PK(c);QK(c,174);c=PK(c);QK(c,224);c=PK(c);if(QK(c,21936)){var d=c.A+c.g,c=RK(c,!0);b.setUint8(d-2,236);b.setUint8(d-1,128|c+1)}}a.info.oa.info.video&&DL(a.info.oa,b);2==a.info.oa.info.o&&a.info.oa.info.video&&SK(b)}a.info.oa.Nq(a)};
XR.prototype.ca=function(a){this.B=a=a.info;this.G&&this.B.o&&(this.G=!1);a.oa.info.g>=this.J&&(this.J=a.oa.info.g)};
XR.prototype.getDuration=function(){return this.Va.index.Xm()};DS.prototype.send=function(){g.LE(this.o,{format:"RAW",responseType:"arraybuffer",timeout:1E4,Fd:this.A,gd:this.A,context:this});this.g=(0,g.sG)()};
DS.prototype.A=function(a){var b={rc:a.status,lb:a.response?a.response.byteLength:0,rt:(((0,g.sG)()-this.g)/1E3).toFixed(3),shost:g.ug(this.o),trigger:this.D};204==a.status||a.response?this.B&&this.B(VN(b)):this.C(new g.UN("pathprobe.net",!1,b))};g.z(IS,g.K);IS.prototype.F=function(a){for(var b=arguments.length-1;0<=b;b--){var c=arguments[b];if(c){var d=this.o.indexOf(c);0<=d&&this.o.splice(d,1);var e=this.g,d=e.g,c=g.xb(d,c,e.o);0<=c&&g.lb(d,c)}}this.A()};
IS.prototype.reset=function(){this.C=this.J=!1;this.D.stop();this.g.g=[];this.o=[];this.A();this.G=null};
IS.prototype.A=function(){this.K=!0;if(!this.M){for(var a=3;this.K&&a;){this.K=!1;this.M=!0;if(this.C&&!this.J){this.D.stop();var b=this.O();g.V(b,32)&&this.P.start();for(var c=g.V(this.O(),2)?0x8000000000000:1E3*this.ca(),d=g.V(b,2),e=[],f=[],k=0;k<this.o.length;k++){var l=this.o[k];l.active&&(d?0x8000000000000>l.end:!l.contains(c))&&f.push(l)}e=e.concat(pma(this,f));if(d)b=FS(this.g,0x7ffffffffffff),b=b.concat(nma(this.g));else if(this.B<=c&&b.yb()&&!g.V(b,16)&&!g.V(b,32)){b=this.g;d=c;f=[];for(k=
GS(b,this.B);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=FS(this.g,c);e=e.concat(oma(this,b));this.B=c;!this.J&&this.G&&(this.G=null);c=e;for(e=0;e<c.length;e++)b=c[e],d=b[1],1==b[0]?(d.g&&d.g.Y("onEnter",d),this.X("crn_"+d.namespace,d)):(d.g&&d.g.Y("onExit",d),this.X("crx_"+d.namespace,d))}this.M=!1;a--}this.O().yb()&&(a=HS(this.g,this.B),null!=a&&0x7ffffffffffff>a&&(a=(a-this.B)/this.ba(),this.D.start(a)))}};
IS.prototype.W=function(){this.G=this.g=this.o=null;IS.aa.W.call(this)};g.p(KS,g.RF);g.h=KS.prototype;g.h.initialize=function(a,b,c,d){a=a||0;var e=this.F;d=d&&d.id;e.G="i";"auto"!=bJ()&&(e.G="s");uS(e,b);gma(e,d);e.O=e.B;hma(e);e.o=e.g;b=BS(e);this.B=new XR(this.A,b.audio);this.g=new XR(this.A,b.video);fT(this,this.B);fT(this,this.g);this.g.o.P=this.B.o;this.Y("videoformatchange",b);this.X=this.g.D;this.C=a;c?(this.G=!0,aT(this)):OS(this)};
g.h.resume=function(){if(this.G||this.fa)this.fa=this.G=!1};
g.h.mQ=function(a){if(!this.na()&&3<=a.state){var b=a.info.g[0].oa,c=!this.ha&&b.info.video,d=!this.ca&&b.info.audio,e=Math.max(0,a.info.g[0].A-this.C);this.A.Pc&&5<=a.state&&this.nj("rqs",VN(bma(a)));if(5==a.state)c?NS(this,"vrr"):d&&NS(this,"arr"),a.start(e);else if(6==a.state||this.A.P&&3<=a.state&&!(5<=a.state)){c?(this.ha=a.A?g.wL(a.A):"",EG(4)):d&&(this.ca=a.A?g.wL(a.A):"");b=b.info.video?this.g:this.B;this.D.o&&(b.D=!1,a.M&&this.Aa.g(1,a.M));if(e=HK(a.info.g[0]))e=a.info,e=!!HK(e.g[e.g.length-
1]);e&&(0,g.G)(a.o.A,b.X,b);this.ge()}else if(4==a.state)this.ge(),c&&EG(4);else if(7==a.state&&OR(a)){if(c=b.info.video&&(0<a.ke||this.A.C&&1<b.C.g||410==a.C||500==a.C||503==a.C)&&this.A.Ua&&!yS(this.F),d=LR(a),c&&(d.stun="1"),eT(this,!1,a.Nb(),d),!this.na()){if(c){var d=this.F,f=b.info;yS(d);d.ga=f;d.X=(0,g.sG)();d.P=-1;uS(d,d.D)}if(MR(a)||c){b=b.info.video?this.g:this.B;for(e=0;e<b.A.length&&a!==b.A[e];e++);if(e==b.A.length)dS(b,a);else{for(;e<b.A.length;)dS(b,b.A.pop());3==a.info.g[0].type?(a.o&&
a.o.B?(a=a.o.B,a=new GK(a.type,a.oa,a.range,a.Ea,a.startTime+a.duration,0,a.Ya+a.ob,0,!1)):(a=a.info.g[0],a=new GK(a.type,a.oa,a.range,a.Ea,a.startTime,0,a.Ya,0,!1)),b.g=a):b.g=null}this.ge()}else a.start(e),this.A.Xj&&!OR(a)&&(a="https://www.youtube.com/generate_204?cpn="+(b.C.C.get("cpn")||"")+"&rn="+A3++,gT(this,a,"error"))}}else HK(a.info.g[0])?(b.B=!0,this.ge()):eT(this,!0,"net.retryexhausted",LR(a))}};
g.h.ge=function(){this.Ja=window.NaN;this.La.stop();SS(this);if(this.o&&tK(this.o)&&!vK(this.o))if(this.D.isLive)(0,window.isNaN)(this.J)?(this.J=this.C+3600,this.o.A.duration=this.J):this.J<=this.C+1800&&(this.J=Math.max(this.J+1800,this.C+3600),this.o.A.duration=this.J);else{var a=Math.max(this.B.getDuration(),this.g.getDuration());(!(0,window.isFinite)(this.J)||this.J!=a)&&0<a&&(this.J=this.o.A.duration=a)}if(!this.na())if(cM(this.D)&&3==this.D.F)eT(this,!0,"manifest.net.retryexhausted",{rc:this.D.M.toString()});
else if(this.D.isLive&&(oS(this.g)||oS(this.B)))this.Y("seekplayerrequired",window.Infinity);else if("prerender"==window.document.webkitVisibilityState)aT(this);else if(SS(this),$R(this.g,this.C),!this.na()&&($R(this.B,this.C),!this.na())){if(this.D.o){pS(this.g);pS(this.B);var b=-1!=this.g.C,a=-1!=this.B.C;if(!b||!a)if(b=!b&&pR(this.g.o),a=!a&&pR(this.B.o),b||a){var a=b?this.g:this.B,b=b?this.B:this.g,c=pR(a.o).info.Ea;if(-1!=b.C&&b.C!=c){var d=b.C;gS(a,0);cS(a,window.Infinity);a.g.Ea=d-1;eT(this,
!1,"qoe.avsync",{start:"1",target:b.C,actual:c})}else a.C=c}(a=pR(this.g.o))&&a.A&&(this.ua=pR(this.g.o).A.B)}this.B.Va.o&&this.g.Va.o||(!this.G||FM(this.M)?OS(this):aT(this));if(this.o&&!TS(this,this.B,this.o.g)&&!TS(this,this.g,this.o.o)&&!rma(this)&&((a=cT(this,this.g,this.o.o,null))&&!this.pa&&(this.pa=(0,g.F)(),NS(this,"vda"),g.LO("vda",void 0,"video_to_ad"),this.ka&&EG(4)),!uK(this.o))){b=ZJ(this.o.o.buffered,this.C+XS);if(!(0,window.isNaN)(b)||bS(this.g)||!this.o.g.buffered.length){if(bS(this.g)||
this.A.wf)b=window.NaN;b=cT(this,this.B,this.o.g,b);a=a||b;b&&!this.ka&&(this.ka=(0,g.F)(),NS(this,"ada"),g.LO("ada",void 0,"video_to_ad"),this.pa&&EG(4))}bS(this.g)&&bS(this.B)&&tK(this.o)&&!vK(this.o)&&(b=this.o,tK(b)&&b.A.endOfStream(),b=this.M,aJ(EM(b)),b.B=(0,g.sG)());a&&!xK(this.o)&&$S(this)}MS(this);this.g.Va.B||this.B.Va.B?eT(this,!0,"net.retryexhausted",{metadata:"1",video:this.g.Va.B?"1":"0",audio:this.B.Va.B?"1":"0"}):(VS(this,this.g,this.B)&&ZS(this,this.g,this.B),VS(this,this.B,this.g)&&
ZS(this,this.B,this.g),this.A.yf&&this.da&&!this.G&&FM(this.M)&&(gT(this,this.da,"cms"),this.da="",this.A.Mg&&(a=mL(qL(this.B.Va.C.C,0)),gT(this,a,"redir"),gT(this,a.replace("redirector.googlevideo.com","www.youtube.com"),"www-redir"))),this.D.B&&aT(this),this.P&&(a=this.P,a.g?(a=1E3*(a.A-AR(a.g.timing)),a=0>=a?0:a+1):a=window.NaN,(0,window.isNaN)(a)||this.La.ce(a)))}};
g.h.Rn=function(a){a=(a=a?this.B:this.g)&&a.B;eT(this,!0,"fmt.unplayable",a?JK(a):void 0)};
g.h.iP=function(a){eT(this,!0,"fmt.unparseable",a)};
g.h.mP=function(a){eT(this,!1,"qoe.avsync",a)};
g.h.jP=function(a,b){this.D.o&&dT(this,b,a==this.g)};
g.h.kP=function(a,b){if(this.D.o){var c=this.D,d=a==this.g,e;for(e in c.g)if(!!c.g[e].info.video==d){var f=c.g[e].index,k=GL(f,b.Ea);0<=k&&f.segments.splice(k,1)}}};
g.h.lP=function(a,b){this.D.o&&dT(this,b,a==this.g)};
g.h.hP=function(a,b){if(this.g.Va.index.Hc()<=b){var c=this.D;c.K.push(a);c.Y("cuepointsadded")}};
g.h.seek=function(a){if(!this.na()&&!this.g.D&&!this.B.D){SS(this);this.Ua=(0,g.sG)();MS(this,a);var b=hT(this,this.g,a,this.o&&this.o.o),c=hT(this,this.B,b,this.o&&this.o.g);this.C=Math.max(a,b,c);this.O=!0;this.D.o&&this.A.ka&&!HL(this.g.Va.index,this.g.g.Ea)&&(this.X=!0);$S(this)}};
g.h.W=function(){RS(this);this.B&&(eS(this.B),eS(this.g));g.vE(this.Pa);g.wE(this.ga);this.La.dispose();g.RF.prototype.W.call(this)};
g.h.WK=function(){return this.Aa.o()||0};
g.h.nj=function(a,b,c){this.Y("ctmp",a,b,void 0===c?!1:c)};
var XS=2/24;g.p(kT,g.K);g.h=kT.prototype;g.h.fL=function(a){this.F.call(this.A,new window.Uint8Array(a.message))};
g.h.gL=function(){this.K.call(this.A,this.g.keyStatuses)};
g.h.aA=function(a,b){g.rE(b);var c=a;b instanceof window.DOMException&&(c+=";n."+b.name+";m."+b.message);this.D.call(this.A,c)};
g.h.xA=function(a){this.F.call(this.A,a.message)};
g.h.wA=function(a){if(this.o){var b=this.o.error.code;a=this.o.error.systemCode}else b=a.errorCode&&a.errorCode.code,a=a.systemCode;this.D.call(this.A,";c."+b+";sc."+a)};
g.h.vA=function(){this.J.call(this.A)};
g.h.update=function(a){if(this.g)return this.g.update(a).then(null,sE((0,g.y)(this.aA,this,"t.u")));this.o?this.o.update(a):this.C.addKey?this.C.addKey(this.M.o,a,this.G,this.sessionId):this.C.webkitAddKey(this.M.o,a,this.G,this.sessionId);return JM()};
g.h.W=function(){this.g&&this.g.close();this.C=null;g.K.prototype.W.call(this)};g.p(nT,g.K);nT.prototype.K=function(a){var b=pT(this,a);b&&b.xA(a)};
nT.prototype.J=function(a){var b=pT(this,a);b&&b.wA(a)};
nT.prototype.G=function(a){(a=pT(this,a))&&a.vA()};
nT.prototype.W=function(){this.o=null;g.K.prototype.W.call(this)};g.p(rT,g.K);g.h=rT.prototype;g.h.Xy=function(a){this.O=a};
g.h.dL=function(a){if(!this.na()){this.K||(g.LO("drm_gk_f"),this.K=!0,this.o.Y("newsession",this));if(kM(this.B)){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");a=new window.Uint8Array(rc(a.childNodes[0].data))}if(lM(this.B))for(b=g.pc(a),a=new window.Uint8Array(new window.ArrayBuffer(b.length)),c=0;c<b.length;c++)a[c]=b.charCodeAt(c);a=new tma(a,++this.P);this.AB(a)}};
g.h.bL=function(){this.na()||this.D||(this.o.Y("sessionready"),this.D=!0)};
g.h.eL=function(a){var b=this;this.na()||(a.forEach(function(a,d){var c=kM(b.B)?d:a,f=g.pc(new window.Uint8Array(kM(b.B)?a:d),!0).replace(/[\.]{1,2}$/,"");b.g[f]?b.g[f].status=c:b.g[f]={type:"",status:c}}),this.o.Y("keystatuseschange",this))};
g.h.AB=function(a){g.LO("drm_net_s");a={format:"RAW",method:"POST",postBody:a.message,responseType:"arraybuffer",withCredentials:!0,timeout:3E4,Ob:(0,g.y)(this.UO,this,a),onError:(0,g.y)(this.nA,this,a)};var b=this.J;this.O&&(b=Hg(b,"access_token",this.O));g.LE(b,a)};
g.h.UO=function(a,b){if(!this.na())if(0!=b.status&&b.response){g.LO("drm_net_r");var c=new window.Uint8Array(b.response);if(c=vma(c))if(0!=c.statusCode)sT(this,"drm.auth",!0,"t.f;c."+c.statusCode,g.RP(c.statusCode));else{g.LO("drm_kr_s");var d=null,e=c.headers["Heartbeat-Url"];e&&(d=new sma(e,(0,window.parseInt)(c.headers["Heartbeat-Interval-Secs"],10)||60,(0,window.parseInt)(c.headers["Heartbeat-Num-Retries"],10)||4));d&&this.o.Y("newlicense",d);!(d=c.headers["Authorized-Format-Types"])||kM(this.B)&&
!this.ba||(this.G=d.split(","),lT(this.A)||this.o.Y("keystatuseschange",this));c.headers["Key-Ids"]&&(this.g=zma(c.headers["Key-Ids"]));lM(this.B)&&(c.message=new window.Uint8Array(rc(String.fromCharCode.apply(null,c.message))));this.A.update(c.message).then(function(){g.LO("drm_kr_f")});
this.D&&(this.M=(0,g.sG)())}else sT(this,"drm.net",!0,"t.p","YTP_ERROR_SERVER_ERROR")}else this.nA(a,b)};
g.h.cL=function(a){this.na()||sT(this,"drm.keyerror",!0,"t.s"+a)};
g.h.nA=function(a,b){var c=!1;if(3<=a.g.o||this.X&&36E4<(0,g.sG)()-this.M){var d="drm.net.retryexhausted";c=!0}else d=b.status?"drm.net.badstatus":"drm.net.connect";sT(this,d,c,"t.r;c."+b.status);if(this.X&&this.D?0:!c&&this.P==a.number)d=a.g.getValue(),d=new g.rt((0,g.y)(this.AB,this,a),d),g.L(this,d),d.start(),d=a.g,d.g=Math.min(d.C,d.g*d.F),d.A=Math.min(d.C,d.g+(d.D?Math.round(d.D*(Math.random()-.5)*2*d.g):0)),d.o++};
g.h.W=function(){this.o=null;g.K.prototype.W.call(this)};tT.prototype.get=function(a){a=this.sk(a);return-1!=a?this.values[a]:null};
tT.prototype.remove=function(a){a=this.sk(a);-1!=a&&(this.keys.splice(a,1),this.values.splice(a,1))};
tT.prototype.set=function(a,b){var c=this.sk(a);-1!=c?this.values[c]=b:(this.keys.push(a),this.values.push(b))};
tT.prototype.sk=function(a){return g.bb(this.keys,function(b){return g.Bb(a,b)})};g.p(vT,g.RF);g.h=vT.prototype;g.h.wO=function(a){a=new mT(new window.Uint8Array(a.initData),a.initDataType);yT(this,a,!0)};
g.h.yP=function(a){yT(this,new mT(a.initData,a.contentType),!0)};
g.h.fP=function(){this.na()||(this.J=!0,xT(this))};
g.h.CN=function(a){if(!this.na()){g.rE(a);var b="t.a";a instanceof window.DOMException&&(b+=";n."+a.name+";m."+a.message);this.Y("licenseerror","drm.unavailable",!0,b,"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK")}};
g.h.BP=function(a){this.na()||!a||this.X||(this.X=a,this.Y("heartbeatparams",a))};
g.h.CP=function(){this.na()||(this.o.shift(),xT(this))};
g.h.zQ=function(){if(jM(this.g)&&(this.da--,0==this.da)){var a=this.C;a.o.msSetMediaKeys(a.A)}};
g.h.hL=function(a){if(!this.na()){var b=[];if(lT(a.A))for(var c in a.g)"usable"==a.g[c].status&&b.push(a.g[c].type);else b=a.G;a=g.gb(b,"UHD2")?"highres":g.gb(b,"UHD1")?"hd2160":g.gb(b,"HD")?"hd1080":g.gb(b,"HD720")?"hd720":"large";$I(this.G,a)||(this.G=VI("auto",a,!1),this.Y("qualitychange"))}};
g.h.W=function(){this.g.A&&this.K.setMediaKeys(null);this.K=null;this.o=[];for(var a=g.ka(this.A.values),b=a.next();!b.done;b=a.next())b.value.dispose();a=this.A;a.keys=[];a.values=[];this.B&&(this.B.dispose(),this.B=null);this.D=null;g.RF.prototype.W.call(this)};zT.prototype.C=function(){var a=g.v("yt.abuse.botguardInitialized");return a&&a()?(a=g.v("yt.abuse.invokeBotguard")())?"r1a="+a:null:null};
zT.prototype.D=function(a){return"r3a="+Math.floor(this.g.lengthSeconds%Wa(a.c3a))};
zT.prototype.B=function(a){a=Wa(a.c);var b=g.v("yt.abuse.dclkstatus.checkDclkStatus")();return"r6a="+(a^b)};g.z(CT,g.K);g.h=CT.prototype;g.h.start=function(){this.o.start()};
g.h.stop=function(){this.o.stop()};
g.h.Ib=function(a,b,c){this.A[a]=b;this.g[a]=new ET(!!c)};
g.h.clear=function(){for(var a in this.g)this.g[a].clear()};
g.h.hS=function(){for(var a in this.A)this.g[a].update(this.A[a]());this.o.start()};
ET.prototype.update=function(a){this.A?(dR(this.g,a-this.o||0),this.o=a):dR(this.g,a)};
ET.prototype.clear=function(){this.g.clear();this.o=0};g.z(HT,g.RF);HT.o=2;HT.B=5;HT.C=5;HT.g="endcr";HT.A=96;g.h=HT.prototype;g.h.W=function(){g.wE(this.da);g.vE(this.jb);g.wE(this.wb);var a=GT();a&&window.document.removeEventListener(a,this.Jg,!1);LT(this);MT(this);JT(this);iU(this);g.Me(this.ha,this.g);this.X=null;this.Sa=!1};
g.h.Vv=function(){if(this.g.Rb())g.V(this.A,128)||(this.g.Rb(),this.Gb=this.ga.g=!0,4!=this.yf&&(this.fa=g.qb(this.g.ie)),g.sP(this.g,this.Z).then(this.Kw,this.Kw,this));else{var a=this.g;if(a.Da&&a.adaptiveFormats&&!a.xx&&(g.DP(a)||this.Z.experiments.g("html5_manifestless_always"))){var a=this.g,b=this.Z.experiments;if(!nP(a)){a.xx=!0;var c=WL(rP(a,a.adaptiveFormats),a.ld,a.lengthSeconds,!0,b);!b.g("html5_manifestless_vp9")&&Bla(c)||a.Qq?c.dispose():(a.lk=!1,qP(a,c),c.subscribe("cuepointsadded",
a.Tv,a),VL(a.xa)&&(a.kj=!0));pP(a)}}else if(this.g.lk)a=this.g,b=this.Z.experiments,a.lh=!0,a.lk=!1,rL.test(a.we)||g.rE(Error("DASH MPD Origin invalid: "+a.we),"WARNING"),c=a.we,c=g.Cg(c,{mpd_version:b.o("dash_manifest_version")||4}),!a.isLowLatencyLiveStream&&b.g("html5_live_disable_dg_pacing")&&(c=g.Cg(c,{pacing:0})),bM(new UL(c,b,a.Da),c).then(a.nO,a.mO,a),g.LO("mrs");else if(this.g.kj)this.C&&(a=this.C.o,tQ(a,"protected"),a.g.videoData.Nf?a.pa():a.g.videoData.subscribe("dataloaded",a.pa,a)),a=
this.g,b=this.Z.M,c=this.Z.experiments,VL(a.xa),b=new pM(QM(b,a.xa),c),g.L(a,b),a.kj=!1,a.lh=!0,a=(0,g.y)(a.DJ,a),b.B=a,oM(b.C)?b.D():Aka(b);else if(!this.g.lh&&this.Gb){a:{var b=this.Z,a=this.g,d=this.Ab.Za(),e=this.Lg(),f=this.Z.ga;switch(a.uh){case 38:b=a.videoId.indexOf(":");a=g.Cg("//play.google.com/books/volumes/"+a.videoId.slice(0,b)+"/content/media",{aid:a.videoId.slice(b+1),sig:a.fN});break a;case 30:c="https://docs.google.com/get_video_info";b.experiments.g("restore_nonsense_docs_behavior")&&
b.baseYtUrl!=GN.prototype.baseYtUrl&&(c=b.baseYtUrl+"get_video_info");a=g.Cg(c,{docid:a.videoId,authuser:a.Ec,authkey:a.Dv,eurl:b.pa});break a;case 33:a=g.Cg("//google-liveplayer.appspot.com/get_video_info",{key:a.videoId});break a;default:c={html5:"1",video_id:a.videoId,cpn:a.clientPlaybackNonce,eurl:b.pa,ps:b.o,el:b.g,hl:b.Ja,list:a.playlistId,agcid:a.nG,aqi:a.mG,sts:17316,lact:g.vG()},g.Ba(c,b.B),b.Mg&&(c.ecver=b.Mg),b.forcedExperiments&&(c.forced_experiments=b.forcedExperiments),a.ig?(c.vvt=a.ig,
a.mdxEnvironment&&(c.mdx_environment=a.mdxEnvironment)):a.oauthToken&&(c.access_token=a.oauthToken),a.adFormat&&(c.adformat=a.adFormat),b.Rg&&(c.cc_lang_pref=b.Rg),b.Sg&&2!=b.Sg&&(c.cc_load_policy=b.Sg),b.mute&&(c.mute=b.mute),a.Pg&&2!=b.Pg&&(c.iv_load_policy=a.Pg),a.wn&&(c.itct=a.wn),IN(b,a,f)&&(c.autoplay="1"),a.zn&&(c.autonav="1"),a.xr&&(c.noiba="1"),a.isMdxPlayback&&(c.mdx="1",c.ytr=a.pf),a.mdxControlMode&&(c.mdx_control_mode=a.mdxControlMode),a.Cm&&(c.ytrcc=a.Cm),a.Br&&(c.utpsa="1"),a.isFling&&
(c.is_fling="1"),a.vnd&&(c.vnd=a.vnd),a.mq&&(c.force_ad_param_ad_type="video_ad",c.force_ad_param_url=a.mq,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.Mf&&(c.splay="1"),a.ypcPreview&&(c.ypc_preview="1"),b.va&&(c.content_v=b.va),a.Mk&&(c.livemonitor=1),b.Ec&&(c.authuser=b.Ec),b.pageId&&(c.pageid=b.pageId),b.Cc&&(c.ei=b.Cc),b.Vj&&(c.ssl_stream="1"),b.A&&(c.iframe="1"),a.Bh&&(c.tst=a.Bh),a.contentCheckOk&&(c.cco="1"),a.racyCheckOk&&
(c.rco="1"),b.Fb&&a.liveStartWalltime&&(c.live_start_walltime=a.liveStartWalltime),b.Fb&&a.Gr&&(c.live_manifest_duration=a.Gr),b.Fb&&a.playerParams&&(c.player_params=a.playerParams),b.Fb&&a.cycToken&&(c.cyc=a.cycToken),b.Fb&&a.bC&&(c.tkn=a.bC),0!=e&&(c.vis=e),b.enableSafetyMode&&(c.enable_safety_mode="1"),b.widgetReferrer&&(c.widget_referrer=b.widgetReferrer.substring(0,128)),(d=b.O.embedding_app)&&(c.embedding_app=d),(d=b.O.developer_api_key)&&(c.developer_api_key=d),(d=g.oP(a))&&(c.uloc=d),a.Jk&&
(c.internalipoverride=a.Jk),a.innertubez&&(c.innertubez=a.innertubez),a.Xx&&(c.strpro="1"),b.Fb&&a.Uh&&(c.wpid=a.Uh),a=g.Cg(b.baseYtUrl+"get_video_info",c)}}b=2;this.Z.isAd()&&(b=0);c=this.g;d=this.Z.La;e=this.Z.experiments;f=this.Z.zc;c.na()||(c.Cq=a,c.Ss=b,c.Gj=!!d,c.ay=!!f,e&&(c.jB=!e.g("disable_gvi_cors"),c.Bq=e.o("html5_get_video_info_timeout_ms")||0,c.ax=e.g("html5_get_video_info_promiseajax")),c.lh=!0,c.wB())}}};
g.h.Kw=function(){if(mP(this.g)){if(this.g.Da){this.K=new Qla;this.M=new Sla(this.g);if(this.C){var a=eR(this.M);sQ(this.C.o,a)}$T(this,yU(this,!1),!0)}this.g.ub.g&&g.vU(this);uU(this,"i");this.K&&(this.g.Je()?(a=(0,g.y)(this.B.WK,this.B),this.K.A=a):this.g.xa&&(a=(0,g.y)(this.g.xa.XK,this.g.xa),this.K.A=a))}this.ua&&oU(this);a=this.g;a.endSeconds&&a.endSeconds>a.startSeconds&&NT(this,a.endSeconds);OT(this,"dataloaded");this.O.o?WT(this):this.Z.experiments.g("html5_suspended_state")&&this.ua&&PT(this,
WP(WP(this.A,512),1))};
g.h.logEvent=function(a,b){if(this.C){var c=this.C,d={};d.rt=g.JP(c.g).toFixed(3);g.Ba(d,hQ(c.g));var e=c.g.g,f=c.g.videoData,k={ns:e.Ua,html5:"1",el:e.g,ps:e.o,fexp:e.experiments.experimentIds.join(",")||void 0,feature:f.Os||e.wh||void 0,ctrl:f.ag||void 0,ytr:f.pf||void 0,list:f.playlistId,d:e.Kg,f:e.jd};if(e.experiments.g("legacy_autoplay_flag")?e.da:f.vh)k.autoplay="1";f.subscribed&&(k.subscribed=f.subscribed);g.Ba(d,k);delete d.fexp;g.Ba(d,a);d=g.IE(c.g.g.baseYtUrl+"player_204",d);DQ(c,d,b)}};
g.h.isPeggedToLive=function(){return this.Aa};
g.h.ET=function(){return this.A};
g.h.getPlayerType=function(){return this.yf};
g.h.au=function(){var a=this.g,b=a.yd;if(!b)return a.Im;var c=g.ab(this.g.ub?this.g.ub.audioTracks:[],function(a){return a.id==b.id});
return c?c:a.Im};
g.h.mR=function(){this.Z.experiments.o("html5_background_quality_cap")&&this.B&&uU(this,"v");this.Z.lq&&!this.g.backgroundable&&this.o&&(FT()&&this.o.o?(this.Xd("bgmobile","suspend"),hU(this,!0)):oU(this)&&this.Xd("bgmobile","resume"))};
g.h.gP=function(a){if(this.xf)this.Rc=!0;else{var b=this.getDuration();!b&&this.g.Je()&&(b=3600);a.A.duration=b;g.PS(this.B,a)}};
g.h.OO=function(a){if(this.F){var b=this.F;if(jM(b.g)){for(var c=new window.Uint8Array(0),d=new window.DataView(a.buffer,a.byteOffset,a.length),e=0;e<a.length-8;){var f=d.getUint32(e);if(1>=f)break;var k=d.getUint32(e+4);if(1836019574==k)e+=8;else{if(1886614376==k){var k=a.subarray(e,e+f),l=new window.Uint8Array(c.length+k.length);l.set(c);l.set(k,c.length);c=l}e+=f}}a=c;0!=a.length&&yT(b,new mT(a),!1)}}};
g.h.YO=function(a){eU(this,a.reason,a.video.info,a.audio.info);var b=yP(this.g);b&&b.J(a.video);this.K&&(this.K.o=a.audio.index)};
g.h.XO=function(a){dU(this,a.reason,a.audio.info)};
g.h.Sj=function(a){if("html5.invalidstate"==a.errorCode&&this.o){var b=this.o.Nb();a.details.merr=b?b.toString():"0"}b=/^pp/.test(this.g.clientPlaybackNonce);Lma(a)?g.V(this.A,4)?(this.wf=!0,MT(this)):lU(this):wU(a)&&this.g.ub.o?(this.Xd("highrepfallback","1",!0),Ela(this.g),rU(this),pU(this)):a.g?(b=this.B?this.B.F.D:null,b=wU(a)&&b&&b.isLocked()?"YTP_ERROR_FORMAT_UNAVALIABLE":void 0,g.RT(this,a.errorCode,b,VN(a.details))):this.C&&(this.C.onError(a.errorCode,VN(a.details)),b&&"manifest.net.connect"==
a.errorCode&&(a="https://www.youtube.com/generate_204?cpn="+this.g.clientPlaybackNonce+"&t="+(0,g.sG)(),(new DS(a,"manifest",(0,g.y)(function(a){this.Xd("pathprobe",a)},this),(0,g.y)(function(a){this.onError(a.errorCode,VN(a.details))},this.C))).send()))};
g.h.CC=function(){if(!(0,window.isNaN)(this.P)&&this.o){var a=this.getDuration(),b=this.Z.experiments.g("legacy_html5_seek_end")?Math.floor(a):yU(this,!1);!this.g.Da&&this.P>=b?(this.P=a,this.Y("endseeking",this),bU(this,!0),IT(this)):(this.B&&this.B.seek(this.P),(!this.g.Da||1<=this.o.g.readyState)&&this.o.wc(this.P),this.B&&!g.V(this.A,2)&&PT(this,WP(this.A,16)))}this.ha&&(this.ha.dispose(),this.ha=null);g.V(this.A,32)&&(PT(this,WP(XP(this.A,32),16)),this.Y("endseeking",this))};
g.h.getCurrentTime=function(){if(!(0,window.isNaN)(this.P))return this.P;var a=0;this.o&&1<=this.o.g.readyState?a=this.o.getCurrentTime():this.g&&(a=this.Z.experiments.g("new_ended_replay")?this.g.startSeconds||0:this.g.Df||this.g.startSeconds||0);this.Z.experiments.g("new_ended_replay")&&(a=g.Id(a,this.Ic(),yU(this,!1)));return a};
g.h.getDuration=function(){return this.g.lengthSeconds?this.g.lengthSeconds:yU(this,!1)?yU(this,!1):0};
g.h.nH=function(){var a=new Cka;if(this.B){var b=this.Z.schedule;a.B=b.J;a.F=b.K;a.o=CM(b);a.g="d."+zM(b).toFixed(2)+";st."+(1E9*BM(b)).toFixed(2)+";bw."+b.A.o().toFixed(0)+";abw."+b.C.o().toFixed(0)+";v50."+uM(b.o,.5).toFixed(2)+";v92."+uM(b.o,.92).toFixed(2)+";v96."+uM(b.o,.96).toFixed(2)+";v98."+uM(b.o,.98).toFixed(2);b.g&&(a.g+=";ltbw."+b.g.o().toFixed(0));b=this.B;b.o&&!uK(b.o)&&(a.A=bS(b.g)?b.g.B.g:bK(b.o.o.buffered,b.C),a.C=bS(b.B)?b.B.B.g:bK(b.o.g.buffered,b.C));a.o=sS(b.K)}else this.o&&(a.A=
jK(this.o));this.K&&Rla(this.K,a);return a};
g.h.fR=function(){this.F&&wT(this.F,this.g.oauthToken);OT(this)};
g.h.eR=function(a){g.RT(this,"auth",(0,window.unescape)(a.reason),a.errordetail||"sec."+a.errorcode)};
g.h.GT=function(a){var b=a.target.qd();if(this.o&&this.o.qd()&&this.o.qd()==b){var c=!1;switch(a.type){case "error":if(!this.Yb&&(4==this.o.Nb()||3==this.o.Nb()||2==this.o.Nb())){this.Yb=!0;if(a=this.Z.experiments.g("html5_progressive_signature_reload"))a=this.g,a=(a.Ag&&+g.GE(a.Ag.g().g).expire)<Date.now()/1E3+1800;this.C&&(c={e:3==this.o.Nb()?"decode":2==this.o.Nb()?"network":"unplayable"},this.J&&(c.msopened=""+ +!!this.J.g),a&&(c.stale="1"),this.C.onError("qoe.restart",VN(c)));if(a){lU(this);
return}if(OE("philips"))try{window.close()}catch(n){}this.Ns();return}break;case "durationchange":var d=this.o.getDuration();(!this.J||(0,window.isFinite)(d)&&0<d)&&1!=d&&this.g.lengthSeconds!=d&&(this.g.lengthSeconds=d,OT(this));break;case "ratechange":this.B&&(this.B.K.A=Math.max(1,this.o.Wc()));d=this.D;d.C=!0;d.A();break;case "loadedmetadata":this.g.startSeconds&&(0<(this.o.g.seekable||aK()).length?this.Z.experiments.g("new_ended_replay")?$T(this,this.g.startSeconds,!0):this.o.g.currentTime=this.g.startSeconds:
(this.pa=this.g.startSeconds,bU(this,!0)));case "loadstart":g.vE(this.jb);this.Up()||(this.jb=g.xE((0,g.y)(this.Up,this),100));break;case "progress":this.pa&&this.o&&(d=this.o.g.seekable||aK(),d.length&&d.end(0)>this.pa&&(this.o.g.currentTime=this.pa,this.pa=window.NaN,this.Hb=this.ka.R(this.o,"canplay",this.oO,this)));case "suspend":zU(this);this.Y("onLoadProgress",this,Mma(this));g.V(this.A,8)&&(this.Fh?c=!0:this.Gh&&((0,window.isNaN)(this.Pc)||this.Pc+1<this.o.getCurrentTime())&&(c=!0,this.Pc=
this.o.getCurrentTime()));break;case "seeked":DU(this);break;case "seeking":d=this.Z.experiments.g("disable_html5_videoplayer_seeking_time")?this.o.getCurrentTime():this.getCurrentTime();this.B&&this.B.seek(d);var e=this.Ua;e.g=d;e.o=!0;break;case "playing":this.G.o("plev");g.LO("plev",void 0,"video_to_ad");this.kg&&(this.kg=!1,nU(this)||$T(this,window.Infinity,!0));g.wE(this.wb);this.wb=window.NaN;break;case "timeupdate":d=this.o&&!this.o.getCurrentTime();e=this.o&&0==this.o.g.readyState;if(d&&(!this.Ja||
e))return;this.Ja|=!!this.o.getCurrentTime();this.Up();DU(this);zU(this);if(!this.o||this.o.qd()!=b)return;this.Y("onVideoProgress",this,this.o.getCurrentTime());this.K&&this.Aa&&(d=this.K,e=this.o.getCurrentTime(),!d.o||e>=d.B&&e<d.D||(e=d.o.Zg(e),-1!=e&&(d.B=d.o.kf(e),d.D=d.B+d.o.getDuration(e),e=(0,g.F)()/1E3-d.o.Xr(e),d.A&&(e-=d.A()),dR(d.C,e),d.g.push(e))));break;case "waiting":if(0<(this.o.g.played||aK()).length&&0==iK(this.o).length&&0<this.o.getCurrentTime()&&5>this.o.getCurrentTime()&&this.B)return;
break;case "resize":this.g.Oa&&"auto"==this.g.Oa.video.quality&&this.Y("internalvideoformatchange",this.g,!1)}if(this.o&&this.o.qd()==b){this.Y("videoelementevent",a);a:{var b=this.A,f=this.Ua,k=this.Hh,l=this.Z.experiments.g("html5_timeupdate_readystate_check");if(!g.V(b,128)){var d=b.o,e=b.g,m=a.target;if(!g.V(b,64)||"ended"!=a.type&&"pause"!=a.type)if("pause"==a.type&&m.g.ended||"ended"==a.type&&(m.g.ended||1>Math.abs(m.getCurrentTime()-m.getDuration())))0<m.g.networkState&&m.qd()&&(d=14,e=null);
else if("pause"==a.type)g.V(b,256)?(d^=256)||(d=64):g.V(b,32)||g.V(b,2)||g.V(b,4)||(d=4,g.V(b,1)&&g.V(b,8)&&(d|=1),e=null);else if("playing"==a.type)d=8,e=null,g.V(b,32)&&(d|=32),k&&g.V(b,1)&&UP(f,m)&&(d|=1);else if("error"==a.type){b:{if(2==m.Nb())f="progressive.net.retryexhausted";else if(3==m.Nb())f="fmt.decode";else if(4==m.Nb())f="fmt.unplayable";else{m=null;break b}l="mediaElem.1";m.g.error&&m.g.error.message&&(l+=";msg."+(m.g.error?m.g.error.message:""));.001>Math.random()&&(l+=";gpu."+TT());
m={errorCode:f,errorDetail:l,message:g.T("YTP_ERROR_GENERIC_WITHOUT_LINK"),messageKey:"YTP_ERROR_GENERIC_WITHOUT_LINK"}}m&&(e=m,d|=128)}else if("progress"==a.type)$P(b)&&UP(f,m)&&(d|=1);else if("seeked"==a.type)d&=-17;else if("seeking"==a.type)d|=16,0>=jK(m)&&(d|=1),d&=-3;else if("waiting"==a.type)g.V(b,2)||(d|=1);else if("timeupdate"==a.type)k=2<m.g.readyState,f.A|=k,g.V(b,16)||g.V(b,4)||(UP(f,m)?d|=1:l&&!k&&f.A||(d&=-2)),1<m.g.readyState&&0<m.getCurrentTime()&&(d&=-65);else break a;b=VP(b,d,e)}}!g.V(this.A,
1)&&g.V(b,1)&&VT(this,"evt_"+a.type);PT(this,b);c&&this.o.play()}}};
g.h.qN=function(a){a="available"==a.g.availability;a!=this.Cc&&(this.Cc=a,this.Y("airplayavailabilitychange"))};
g.h.rN=function(){var a=!!this.o.g.webkitCurrentPlaybackTargetIsWireless;a!=this.xc&&(function(){this.Z.zr=a}.apply(this),this.xc=a)&&(g.sP(this.g,this.Z),uU(this,"m"));
this.Y("airplayactivechange")};
g.h.Up=function(){var a=this.o;a&&this.Ja&&!this.g.qg&&!aP("vfp",this.G.g)&&2<=a.g.readyState&&!a.g.ended&&0<$J(iK(a))&&this.G.o("vfp");if((a=this.o)&&!this.g.qg&&0<a.getDuration()&&(!aP("pbp",this.G.g)&&a.g.paused&&2<=a.g.readyState&&0<$J(iK(a))&&this.G.o("pbp"),0<a.getCurrentTime())){g.vE(this.jb);g.wE(this.da);this.da=window.NaN;this.g.qg=!0;CU(this);if(this.C){a=this.C;if(!a.B){var b=AQ(a,"playback");a.J=[10+a.g.videoData.jj,10,10,40+a.g.videoData.Ok-a.g.videoData.jj,40];var c=a.A;g.vE(c.F);c.F=
window.NaN;c.F=g.xE((0,g.y)(c.update,c),100);c.D=g.JP(c.g);c.A=IP(c.g);b.o=zQ(a,!0);b.La=!0;b.send();a.g.videoData.pl&&(b=a.g.g,c=a.g.videoData,b=g.Cg(b.baseYtUrl+"ptracking",{html5:"1",video_id:c.videoId,cpn:c.clientPlaybackNonce,plid:c.playbackId,ei:c.eventId,ptk:c.pl,oid:c.SA,ptchn:c.RA,pltype:c.TA,content_v:b.va}),DQ(a,b));a.g.videoData.enableCardio&&(a.po("playback"),a.C||HQ(a));a.g.videoData.Ef||FQ(a);a.B=!0;a=a.A;a.o=a.g.o();a.D=g.JP(a.g);!(0==a.B&&5>a.o)&&2<a.o-a.B&&(a.B=a.o)}g.yE((0,g.y)(this.Ts,
this),4500)}this.Y("playbackstarted");g.BG()&&((a=g.v("yt.scheduler.instance.clearPriorityThreshold"))?a():EG(0));return!0}return!1};
g.h.oO=function(){this.Hb&&(this.ka.Ca(this.Hb),delete this.Hb,this.o.fd())};
g.h.OH=function(){if(this.o){var a=this.getCurrentTime();if(g.V(this.A,8)&&SP(this.Ua,a,(0,g.sG)(),jK(this.o))){var b=this.getDuration();!this.g.Da&&b&&1.1>Math.abs(b-a)?this.o.g.loop?$T(this,0,!0):IT(this):(g.bQ(this.A)||VT(this,"progress_fix"),PT(this,WP(this.A,1)))}else g.V(this.A,4)&&g.bQ(this.A)&&5<jK(this.o)&&PT(this,XP(this.A,1));zU(this)}};
g.h.kH=function(){return this.B?sS(this.B.K):CM(this.Z.schedule)};
g.h.Pw=function(){return this.o?jK(this.o):0};
g.h.mH=function(){return this.Z.schedule.J};
g.h.eS=function(){var a;if(a=g.V(this.A,1)&&this.B){a=this.B;var b=this.getCurrentTime();a=!(!a.o||uK(a.o)||vK(a.o)||jT(b,a.g,a.o.o)&&jT(b,a.B,a.o.g))}a&&(a=iT(this.B),this.Xd("reseek",VN({cur:a.lct,vb:a.lvb,ab:a.lab})),$T(this,this.getCurrentTime(),!0))};
g.h.zH=function(){this.g.Da||this.Y("connectionissue")};
g.h.lS=function(){this.o.wc(this.o.getCurrentTime()+.1)};
g.h.AP=function(a){var b={};g.Ba(b,this.Z.B);b.cpn=this.g.clientPlaybackNonce;this.g.ig&&(b.vvt=this.g.ig,this.g.mdxEnvironment&&(b.mdx_environment=this.g.mdxEnvironment));this.Z.Ec&&(b.authuser=this.Z.Ec);this.Z.pageId&&(b.pageid=this.Z.pageId);g.$b(a.F,b);qT(a,a.J)};
g.h.SO=function(a,b,c,d){d=g.t(d)?d:"YTP_ERROR_LICENSE";c=c.substr(0,256);"drm.keyerror"==a&&1<this.F.A.keys.length&&96>this.Kg&&!this.Z.experiments.g("html5_disable_drm_reload")&&(a="drm.sessionlimitexhausted",b=!1);if(b)g.RT(this,a,d,c);else if(this.C)this.C.onError(a,c);"drm.sessionlimitexhausted"==a&&(this.Kg++,this.Ns())};
g.h.TO=function(){uU(this,"r");OT(this)};
g.h.FT=function(a){this.Y("heartbeatparams",a)};
g.h.oA=function(){if(!this.g.qg&&this.o){var a="0";0<this.o.g.readyState&&5<=jK(this.o)&&this.g.ub.g&&(PT(this,WP(this.A,1)),VT(this,"load_soft_timeout"),this.Y("playbackstalledatstart"),a="1");this.C&&(a={preroll:""+ +ZT(this),restartmsg:a},this.B&&g.Ba(a,iT(this.B)),this.o&&g.Ba(a,mK(this.o)),this.C.onError("qoe.start15s",VN(a)));this.Y("loadsofttimeout")}};
g.h.Ts=function(){if(!this.Sa){var a=new zT(this.g);if("c1a"in a.o){var b=g.v("yt.abuse.botguardInitialized");b=!(b&&b())}else b=!1;if(b)g.yE((0,g.y)(this.Ts,this),4500);else{if(a.g&&a.g.ck){b=[a.g.ck];for(d in a.A)if(a.o[d]&&a.A[d]){var c=a.A[d](a.o);c&&b.push(c)}var d=b.join("&")}else d=null;d&&this.C&&(a=this.C,a.M||(b=AQ(a,"atr"),b.O=d,b.send(),a.M=!0),this.Sa=!0)}}};
g.h.Ic=function(){return this.g.Ic()};
g.h.DC=function(){return this.va};
g.h.Aq=function(){if(this.o)a:{var a=this.o;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.Ns=function(){this.o&&(this.J?rU(this):(this.g.Ag&&this.g.Ag.A(this.Z.experiments),this.o.Tf()),pU(this))};
g.h.Xd=function(a,b,c){if(this.C){var d=this.C;d.na()||mQ(d.o,a,b,c)}};g.p(FU,IQ);g.h=FU.prototype;g.h.getPlayerType=function(){return this.playerType};
g.h.getRootNode=function(){return g.OU(this).element};
g.h.Rf=function(){return this.app.B};
g.h.ia=function(a){return(a=g.MU(this.app,a||this.playerType))&&a.g};
g.h.isFullscreen=function(){return this.app.Z.ga};
g.h.fd=function(a){3==this.Xa()?g.LU(this.app.A).Yk("control_play"):EY(this.app,a)};
g.h.Tf=function(a){xU(g.MU(this.app,a))};
g.h.addEventListener=function(a,b){this.app.P.subscribe(a,b)};
g.h.removeEventListener=function(a,b){this.app.P.unsubscribe(a,b)};
g.h.Vk=function(a){this.Sy(a,a)};
g.h.Qk=function(a){return h2(this.app,a)};
g.h.getVideoUrl=function(a,b,c,d){var e=this.Xa(),f=2==e;if(d&&f||3==e)f=!1,e=1;d=this.ia(e);if(!d)return"";var k;a||d.Da||(k=Math.floor(this.getCurrentTime(e)));return this.app.Z.getVideoUrl(d.videoId,f?void 0:this.getPlaylistId()||void 0,k,b,c)};
g.h.Wk=function(a,b,c){var d=g.GU(this).A;d&&d.cu(a,b,c)};
g.h.Od=function(){var a=g.MU(this.app,1);if(!a)return!1;var b=a.g;return b.Ke()&&!g.DP(b)&&2!=this.Xa()&&(!ZT(a)||3==this.Xa())};
g.h.ni=function(a,b){var c=this.app,d=g.MU(c,this.playerType);d&&c.Z.Gb.has(a.toString())?d.C?(c=AQ(d.C,"engage"),c.A=a,c.send(b)):b&&b():b&&b()};
g.h.Sf=function(a,b){g2(this.app,a,b)};
g.h.setVolume=function(a){a=g.Id(a,0,100);kJ(this.app,{volume:a,muted:this.Le()},!0)};
g.h.mute=function(){kJ(this.app,{muted:!0,volume:this.getVolume()},!0)};
g.h.yg=function(){kJ(this.app,{muted:!1,volume:Math.max(5,this.getVolume())},!0)};g.z(g.sV,g.RF);g.h=g.sV.prototype;g.h.load=function(){this.loaded=!0};
g.h.unload=function(){this.loaded=!1};
g.h.Gd=function(){return!0};
g.h.W=function(){this.loaded&&this.unload();g.sV.aa.W.call(this)};
g.h.GC=function(){return{}};g.z(tV,g.sV);g.h=tV.prototype;g.h.eu=function(){return-1};
g.h.create=function(){this.C||(g.R(this.g.getRootNode(),this.Yd+"-created"),this.K.R(this.g,"crn_"+this.Yd,this.Cs),this.K.R(this.g,"crx_"+this.Yd,this.Ds),this.C=!0)};
g.h.destroy=function(){g.Ip(this.g.getRootNode(),this.Yd+"-created");g.QF(this.K);this.C=!1;this.Y("destroyed",this.Yd)};
g.h.Cs=function(){};
g.h.Ds=function(){};
g.h.fu=function(){return null};
g.h.W=function(){this.C&&this.destroy();tV.aa.W.call(this)};g.z(g.xV,g.W);g.xV.prototype.subscribe=function(a,b,c){return this.ba.subscribe(a,b,c)};
g.xV.prototype.unsubscribe=function(a,b,c){return this.ba.unsubscribe(a,b,c)};
g.xV.prototype.Td=function(a){return this.ba.Td(a)};
g.xV.prototype.Y=function(a,b){return this.ba.Y.apply(this.ba,arguments)};g.z(g.DV,g.K);g.h=g.DV.prototype;g.h.show=function(a){1!=this.g&&2!=this.g&&(3==this.g&&this.Do(),4==this.g?(this.o.show(),this.g=null,this.A.stop()):this.o.g||(EV(this,!0),this.g=1,a?this.A.start(a):this.Do()))};
g.h.hide=function(){3!=this.g&&(1==this.g||2==this.g?(this.o.hide(),this.g=null,this.A.stop()):this.o.g&&(EV(this,!0),this.g=3,this.A.start(this.B)))};
g.h.Do=function(){switch(this.g){case 1:this.o.show();this.g=2;this.A.start(10);break;case 2:EV(this,!1);this.g=null;break;case 3:this.o.hide();EV(this,!1);this.g=4;this.A.start(0);break;case 4:this.g=null}};
g.h.stop=function(){for(;null!=this.g&&4!=this.g;)this.A.stop(),this.Do()};
g.h.W=function(){this.o.na()||this.o.element.removeAttribute("aria-hidden");g.DV.aa.W.call(this)};var FV=[2,5];var RX=[];IV.prototype.g=function(a,b,c){a=a||RX;(0,g.Bk)(a,function(a){return OV(this.o).experiments.g(a)},this)&&(a=c||{},a.cdp=1,a["var"]=b,a.sdkv="h.3.0",g.VU(this.o.g,"ad",a))};var RV=Error("Timed out while waiting for Biscotti ID");SV.prototype.C=function(){var a=TV(this);a.format="2_3";a.at="2_3";a.trsp="1";uX(this.g,3,a)};g.z(UV,g.K);UV.prototype.W=function(){this.g.reject();UV.aa.W.call(this)};
UV.prototype.D=function(){this.A++;var a=g.v("yt.www.watch.ads.isAfcAdVisible");a&&g.va(a)&&a()&&this.B++;4<=this.B?this.g.resolve():5<=this.A?this.g.reject("Timed out waiting for MPU to become visible"):this.o.start()};var eW,WV=!1,ZV=!1,VV=!1;g.dG("showCompanionAdLoaded",function(){ZV&&($V(),ZV=!1)});
g.dG("watchAdsInit",function(){WV&&(WV=!1,XV())});g.z(gW,g.RF);gW.prototype.vf=function(){return this.adSystem+"_"+this.adType};
gW.prototype.Yh=function(){return this.vf()};
gW.prototype.Mb=function(){return this.o?this.o.Mb():null};
gW.prototype.abort=g.x;g.z(iW,g.W);iW.prototype.W=function(){iW.aa.W.call(this);g.ne(jW(this));g.ne(kW(this));this.A=this.o=null;delete this.B};g.z(qW,g.K);qW.prototype.start=function(){!this.na()&&(0,window.isNaN)(this.g)&&(this.A=(0,g.F)(),this.g=g.gg(this.C,this.B-this.o,this))};
qW.prototype.stop=function(){(0,window.isNaN)(this.g)||(this.A=this.o=0,g.hg(this.g),this.g=window.NaN)};
qW.prototype.pause=function(){(0,window.isNaN)(this.g)||(this.o=(0,g.F)()-this.A,g.hg(this.g),this.g=window.NaN)};
qW.prototype.W=function(){(0,window.isNaN)(this.g)||g.hg(this.g);qW.aa.W.call(this)};rW.prototype.getLength=function(){return this.g-this.o};uW.prototype.update=function(a,b,c,d){this.width=b;this.A=c;this.C=d;this.g=b-c-d;this.B=g.Id(a-c,0,this.g);this.position=this.B+c;this.o=this.B/this.g};g.z(xW,gW);xW.g=15;xW.o=-21;g.h=xW.prototype;g.h.abort=function(){pW(this.C,13);this.ca||this.o.destroy();this.D=this.G=!1;DW(this)};
g.h.vf=function(){var a=this.Mb();var b=eq(a);if(4==hW(b).A)return b;if(Mr(a))a=3;else if(a.isSkippable())a=Nr(a)?1:2;else return this.adSystem+"_"+this.adType;return this.adSystem+"_"+this.adType+"_"+a};
g.h.Yh=function(){return this.adSystem+"_"+this.adType};
g.h.show=function(){fW();sY(this.g)&&aW(this.g,{});var a=this.g.g.app;zY(a,wW(a,2));this.C.A=(0,g.sG)();this.F=this.g.getRootNode();this.B.subscribe("progresssync",this.Vz,this);this.g.o.P&&g.qe(g.J("video-ad-status-bar",this.F));g.Hp(this.F,["ad-showing","ad-interrupting"]);this.g.subscribe("resize",this.gu,this);try{this.A.V(this.o,"adError",this.bU),this.A.V(this.o,"click",this.aU),this.A.V(this.o,"complete",this.dU),this.A.V(this.o,"engagedview",this.zO),this.A.V(this.o,"pause",this.RC),this.A.V(this.o,
"start",this.SC),this.A.V(this.o,"skip",this.fU),this.A.V(this.o,"MUTE_AD",this.abort),this.A.V(this.o,"skippableStateChanged",this.FQ),this.A.V(this.o,"youTubeChannelMetadata",this.oP),this.A.V(this.o,"companionInitialized",this.cU),sY(this.g)&&this.A.V(this.o,"youtubeKevlarCompanionShow",this.QO),this.A.V(jW(this.g.F),"mouseup",this.eU),this.gu(),this.ca||this.o.start()}catch(b){EW(this,b)}this.g.o.D&&OV(this.g).experiments.g("ad_info_icon_in_card")&&wY(this.g,"onAdMetadataAvailable",{showAdInfoIcon:!0})};
g.h.UC=function(a,b,c){if("newdata"==a&&this.videoData!=c){a=new $ma;a.isSkippable=this.fa;a.isBumper=this.ka;a.skip=(0,g.y)(this.o.skip,this.o);a.muteAd=(0,g.y)(this.o.muteAd,this.o);a.whyThisAdClicked=(0,g.y)(this.o.whyThisAdClicked,this.o);a.whyThisAdClosed=(0,g.y)(this.o.whyThisAdClosed,this.o);a.sendAdsPing=g.YE;a.skipShown=(0,g.y)(this.o.CB,this.o);if(b=this.Mb()){a.clickThroughUrl=Yr(b)||"";var d;(d=this.g.o.Ua)||(d=c.lengthSeconds,(b=As(b))?(hp(b,d),d=ip(b)):d=null);a.skipTime=d||0;a.adSystem=
this.adSystem;if(b=FW(this))a.whyThisAdInfo=b;if(d=GW(this))a.muteAdInfo=d;var e=OV(this.g);this.g.o.D&&e.experiments.g("ad_info_icon_in_card")&&(e={showAdInfoIcon:!0},e.whyThisAdInfo=b,e.muteAdInfo=d,wY(this.g,"onAdMetadataAvailable",e))}a.videoId=c.videoId;a.videoId||(a.videoUrl=this.Il()||"");c.spacecastModule=this.ga;BW(this.g,-1,a)}this.videoData=c};
g.h.TC=function(a){a=a.state;g.V(a,1)||this.K.pause();g.V(a,128)?EW(this,Error(a.g.message||"Video player error.")):g.V(a,1)&&this.K.start()};
g.h.SC=function(){this.P=!0;this.D=!1;if(!this.G){this.G=!0;var a=this.C;nW(a);var b=oW(a);if((0,window.isNaN)(a.A))nW(a);else{var c=(0,g.sG)()-a.A;b.ad_stl=c}mW(a,4,b);CW(this.g,1);zW(this,!1);b=this.g.o;b.ua&&(a=AW(this.g))&&(HW(this,a),this.videoData.uc=Math.min(1,this.videoData.uc*b.K),c=Math.min(1,a.getVolume()*b.K),a.setVolume(c));if(b.va){var a=AW(this.g),d=Math.max(-21,PV(this.g).relativeLoudness),c=this.videoData.relativeLoudness;a&&0>d&&c>d&&(HW(this,a),this.videoData.uc=Math.min(this.videoData.uc,
Math.pow(10,-(c-d)/20)),c=Math.min(1,a.getVolume()/this.J*this.videoData.uc),a.setVolume(c))}b.Aa&&(a=AW(this.g),c=b.Ab,d=g.vG(),a&&null!==c&&d>c&&(HW(this,a),this.videoData.uc=Math.min(1,this.videoData.uc*b.K),c=Math.min(1,a.getVolume()*b.K),a.setVolume(c)));b.Ja&&(a=AW(this.g),c=this.videoData.relativeLoudness,b=b.Gb,a&&c>b&&(HW(this,a),this.videoData.uc=Math.min(this.videoData.uc,Math.pow(10,b/20)),c=Math.min(1,a.getVolume()/this.J*this.videoData.uc),a.setVolume(c)));this.M&&1!=this.M&&g.MO("yt_abt",
this.M,"video_to_ad");this.videoData&&this.videoData.clientPlaybackNonce&&g.MO("ad_cpn",this.videoData.clientPlaybackNonce,"video_to_ad");this.videoData&&this.videoData.videoId&&g.MO("ad_docid",this.videoData.videoId,"video_to_ad");g.MO("cpn",PV(this.g).clientPlaybackNonce,"video_to_ad");g.LO("apbs",void 0,"video_to_ad");(a=g.T("ADS_INSTREAM_FIRST_PLAY"))&&wY(this.g,"onAdAnnounce",a)}BW(this.g,1);this.Y("adPlay",this)};
g.h.RC=function(){this.P&&(this.P=!1,BW(this.g,2))};
g.h.dU=function(){if(!this.D){var a=this.C;nW(a);var b=oW(a),c=a.g.vk();c?b.ad_fmt=c:nW(a);mW(a,5,b);OV(this.g).Fb&&wY(this.g,"onAdComplete");DW(this);this.D=this.G=!1}};
g.h.zO=function(){var a=this.C;a.g.Y("AD_LOGGING_EVENT",777,oW(a))};
g.h.fU=function(){this.D=!0;var a=this.C,b=oW(a),c=a.g.vk();c?b.ad_fmt=c:nW(a);mW(a,14,b);OV(this.g).Fb&&wY(this.g,"onAdSkip");DW(this)};
g.h.FQ=function(){OV(this.g).experiments.g("html5_ad_no_buffer_abort_after_skippable")&&this.K.dispose();var a=g.T("ADS_INSTREAM_SKIPPABLE");a&&wY(this.g,"onAdAnnounce",a)};
g.h.oP=function(){var a;if(!this.na()&&(a=this.g.o)){var b=this.Mb();if(b){var c=b.P,b=b.ka,d=OV(this.g),e=FW(this),f=GW(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.o.D&&d.experiments.g("ad_info_icon_in_card"),a.whyThisAdInfo=e,a.muteAdInfo=f,wY(this.g,"onAdMetadataAvailable",a)):a.D&&d.experiments.g("ad_info_icon_in_card")&&(a={showAdInfoIcon:!0},a.whyThisAdInfo=
e,a.muteAdInfo=f,wY(this.g,"onAdMetadataAvailable",a))}}};
g.h.cU=function(a){a=a.event;var b=a.g;b&&b instanceof g.rf&&this.Y("adCompanionInitialized",a.Qb(),b)};
g.h.QO=function(a){sY(this.g)&&(a=(a=a.event.Qb())&&a.J)&&aW(this.g,a)};
g.h.bU=function(a){var b={};try{b.error_code=a.event.getError().Nb()}catch(c){b.error_code=900,b.error_message=c.toString()}pW(this.C,32,b);EW(this,a.event.getError())};
g.h.aU=function(){var a=this.C;nW(a);var b=oW(a);if(a.o){var c=uY(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}mW(a,15,b);this.o.pause();this.Y("select")};
g.h.Vz=function(){};
g.h.Qz=function(){this.o.qf();if(this.G&&!this.D){var a=this.C;a.g.Y("AD_LOGGING_EVENT",19,oW(a))}zW(this,!0)};
g.h.W=function(){this.g.unsubscribe("control_toggle_play_pause",this.VC,this);this.g.unsubscribe("control_play",this.Js,this);this.g.unsubscribe("control_pause",this.Is,this);this.g.unsubscribe("resize",this.gu,this);g.NF(this.A);this.B.unsubscribe("statechange",this.TC,this);this.B.unsubscribe("internalAbandon",this.Qz,this);this.B.unsubscribe("internalvideodatachange",this.UC,this);this.B.unsubscribe("progresssync",this.Vz,this);this.ca||this.o.destroy();this.X&&(g.ne(this.X),this.X=null);this.da&&
(g.qe(this.da),this.da=null);this.F&&(g.Jp(this.F,["ad-showing","ad-interrupting"]),this.F=null);this.D=!1;BY(this.g);this.K.dispose();this.K=null;xW.aa.W.call(this)};
g.h.Um=function(){return this.B.getDuration()};
g.h.vk=function(){return this.videoData&&this.videoData.Oa?this.videoData.Oa.mimeType:null};
g.h.Il=function(){return this.videoData&&this.videoData.Ag?this.videoData.Ag.g().g:null};
g.h.VC=function(){this.P?this.Is():this.Js()};
g.h.Js=function(){this.o.resume();this.SC()};
g.h.Is=function(){this.o.pause();this.RC()};
g.h.gu=function(){g.sh(jW(this.g.F),this.g.app.F.Za())};
g.h.eU=function(a){g.t(a.g)||zF(a);var b=a.g;g.t(a.o)||zF(a);this.C.o=new g.Nd(b,a.o)};g.z(KW,gW);g.h=KW.prototype;g.h.Um=function(){};
g.h.vk=function(){};
g.h.Il=function(){};
g.h.show=function(){if(!this.D||!KY(this.g)){var a=this.g.getRootNode();g.R(a,"ad-showing");this.A=jW(this.g.F);a=this.o.Mb().getHeight();this.A.style.height=gh(a,!0);g.R(this.A,"ad-overlay");this.B.V(this.A,"mouseup",this.iU);try{this.B.V(this.o,"autoClose",this.FN),this.B.V(this.o,"userClose",this.bR),this.B.V(this.o,"userRecall",this.cR),this.B.V(this.o,"click",this.hU),this.B.V(this.o,"impression",this.NO),this.B.V(this.o,"adError",this.gU),this.Bc("normal"),this.F||this.o.start(),this.hu(),this.g.subscribe("resize",
this.Uo,this),this.g.subscribe("presentingplayerstatechange",this.WC,this),this.Y("adEnd",this)}catch(b){this.Y("adError",b)}}};
g.h.W=function(){var a=this.g.getRootNode();g.Jp(a,["ytp-ad-overlay-open","ytp-ad-overlay-closed"]);g.NF(this.B);this.g.unsubscribe("resize",this.Uo,this);this.g.unsubscribe("presentingplayerstatechange",this.WC,this);g.Ip(a,"ad-showing");this.o&&(this.F||this.o.destroy(),this.o=null);this.A&&g.Ip(this.A,"ad-overlay");this.A=null;this.D=!1;KW.aa.W.call(this)};
g.h.bR=function(){this.A&&this.o&&this.o.Mb()&&(this.A.style.height=gh(0,!0));this.D=!0;var a=this.C;a.o=(0,g.F)();var b=JW(a);IW(a,6,b);LW(this,!1)};
g.h.FN=function(){LW(this,!1)};
g.h.cR=function(){LW(this,!0)};
g.h.hU=function(){QX(this.g);var a=this.C;a.o=(0,g.F)();var b=JW(a);if(a.A){var c=uY(a.C);b.ck_xy=Math.round(a.A.x-c.left)+"x"+Math.round(a.A.y-c.top);b.ck_wh=c.width+"x"+c.height}IW(a,100,b)};
g.h.NO=function(){var a=g.T("ADS_OVERLAY_IMPRESSION");a&&wY(this.g,"onAdAnnounce",a);LW(this,!0)};
g.h.iU=function(a){this.C.A=a.target==a.currentTarget?null:new g.Nd(a.pageX,a.pageY)};
g.h.gU=function(a){this.Y("adError",a.event.getError())};
g.h.WC=function(a){g.V(a.state,16)&&this.Bc("normal")};
g.h.Bc=function(a){this.G!=a&&(this.G=a)};
g.h.Uo=function(){};
g.h.hu=function(){var a=this.C;a.B=(0,g.F)();var b=JW(a);IW(a,3,b)};g.z(MW,g.K);MW.o="rm";MW.g=10;MW.C=200;MW.A=200;MW.B=190;g.h=MW.prototype;
g.h.load=function(){var a=this.g.app.F.Za();if(this.g.o.B)var b=!1;else b=0<(this.D&3)?190:200,b=200>a.width||a.height<b;if(b){b=this.A;var c=TV(b);c.ck_wh=a.width+"x"+a.height;vY(b.g,14,c);fW();xX(this.C)}else if(this.qb=this.g.qb)a=this.A,uX(a.g,9,TV(a)),a=QV(this.g),(b=this.g.o.serverPrefetchedVast)&&0<(this.D&3)?(a.o=b,this.g.o.serverPrefetchedVast=void 0):a.g=this.Vg(),this.qb.V("adsManagerLoaded",this.OC,!1,this),this.qb.V("adError",this.NC,!1,this),this.iB(this.qb,a)};
g.h.pq=function(){var a=NV(this.g.o,OV(this.g),PV(this.g));a.surveyCreativeData=this.g.o.surveyCreativeData;a.qT=this.G;return a};
g.h.OC=function(a){if(a.A===this){g.LO("aml");g.LO("aml",void 0,"video_to_ad");try{var b=this.pq();var c=a.g}catch(d){this.rh(d);return}this.B.V(c,"companionBackfill",(0,g.y)(this.XT,this,c));this.B.V(c,"loaded",(0,g.y)(this.VT,this,c));this.B.V(c,"adError",(0,g.y)(this.UT,this,c));this.B.V(c,"allAdsCompleted",g.x);this.B.V(c,"contentPauseRequested",g.x);this.B.V(c,"contentResumeRequested",g.x);c=cA(a,this.g.G,{},b);try{c.init("normal")}catch(d){c.destroy(),this.rh(d)}}};
g.h.VT=function(a,b){jm(this.B);var c=b.Qb(),d=c.Zb(),e=this.A,f=TV(e);f.ad_man=d?"instream":"overlay";uX(e.g,12,f);e=a.Xg();switch(d?this.kn(a,c,e):this.fi(a,c)){case 0:tX(this.C,this.K,this.o);break;case 1:a.destroy();xX(this.C);break;case 2:c=this.A;vY(c.g,21,TV(c));a.destroy();xX(this.C);break;case 3:xX(this.C);break;default:a.destroy()}};
g.h.UT=function(a,b){jm(this.B);a.destroy();this.rh(b.getError())};
g.h.NC=function(a){var b=a.getError();"adLoadError"==b.bc()&&a.g===this&&this.rh(b)};
g.h.XT=function(){PW(this)};
g.h.kn=function(a,b,c){var d=PV(this.g)&&PV(this.g).spacecastModule;if(d&&c&&!this.M.test(c))return 3;OW(this,$r(b));NW(this,new xW(this.G,this.g,a,b.isSkippable(),b.isBumper(),void 0,d,this.o.g));return 0};
g.h.fi=function(a,b){OW(this,$r(b));NW(this,new KW(this.G,this.g,a));return 0};
g.h.rh=function(a){if(a){var b=this.A,c=TV(b);a&&KV(a,c);vY(b.g,32,c);xX(this.C)}};
g.h.W=function(){this.qb&&(this.qb.Ca("adsManagerLoaded",this.OC,!1,this),this.qb.Ca("adError",this.NC,!1,this));jm(this.O);jm(this.B);MW.aa.W.call(this)};
g.h.iB=function(a,b){try{hC(a,b,this),g.LO("ar"),g.LO("ar",void 0,"video_to_ad")}catch(c){this.rh(c)}};g.z(QW,gW);g.h=QW.prototype;g.h.Um=function(){};
g.h.vk=function(){};
g.h.Il=function(){};
g.h.show=function(){sY(this.g)?aW(this.g,{afcMpu:{logImpression:this.PC.bind(this),logNoAd:this.Oq.bind(this)}}):VV?this.Oq():(XV(),bW(),cW().then((0,g.y)(this.PC,this),(0,g.y)(this.Oq,this)))};
g.h.PC=function(){var a={};a.at=this.Yh();a.format=this.vf();this.Y("AD_LOGGING_EVENT",3,a);this.Y("adEnd",this)};
g.h.Oq=function(){var a={};a.at=this.Yh();this.Y("AD_LOGGING_EVENT",2,a);this.Y("adEnd",this)};g.z(RW,MW);RW.prototype.pq=function(){var a=RW.aa.pq.call(this);a.zv=0==this.J;a.rG=KY(this.g)?a.zv:!0;return a};
RW.prototype.Vg=function(){var a=HV(this.o);var b=this.F;(b=4==this.D&&b.g.afvInvideoAdTag?b.g.afvInvideoAdTag:b.g.afvAdTag)?(g.Fa(b,"http:")&&(b=b.substr(5)),a=g.IE(b,{videoad_start_delay:0==a||-1==a?a:1E3*a})):a="";return a};
RW.prototype.fi=function(a,b){if(this.g.o.B)return 1;if(1==this.o.g){var c=new GV(2,10);this.o=c;this.A.A=c;uX(this.g,1)}return RW.aa.fi.call(this,a,b)};g.z(SW,KW);SW.prototype.Uo=function(){};
SW.prototype.vf=function(){return"1_3"};
SW.prototype.hu=function(){1==this.J?this.Y("AD_LOGGING_EVENT",2,{}):SW.aa.hu.call(this)};g.z(TW,MW);TW.prototype.Vg=function(){var a=this.F,b=HV(this.o);if(0<(this.D&3)){var c="mid,"+a.kc;var d="midroll";0==b?(c="pre",d="preroll"):-1==b&&(c="post",d="postroll");var a=new g.Kl(a.g),b=a.g,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};
TW.prototype.fi=function(a,b){OW(this,$r(b));var c=Jr(b);if(MV(c,"rm"))return 1==this.D||KY(this.g)||fW(),a.Fj(),2;if(MV(c,"blockAllAds"))return a.Fj(),NW(this,new SW(this.g,a,1)),0;if(MV(c,"hideMaster"))return NW(this,new SW(this.g,a,0)),0;if(this.g.o.B)return 1;NW(this,new KW(this.G,this.g,a));return 0};g.z(UW,MW);UW.o="https://www.googleapis.com/urlshortener/v1/url?key=AIzaSyBbSB-E7SYd1iggX6r2b5C7ljvO6fVqaj0&shortUrl=";UW.A="43";UW.g=function(a){var b=new AD;g.LE(a,{format:"RAW",method:"GET",timeout:5E3,withCredentials:!0,gd:function(){var c=Error(a+" timed out");ED(b);CD(b,!1,c)},
onError:function(c){c=Error("Problem loading "+a+" with status code "+c.status);ED(b);CD(b,!1,c)},
Ob:function(a){b.fk(a)}});
return b};
UW.prototype.Vg=function(){return""};
UW.prototype.iB=function(a,b){var c=this.D;c&1||c&4||c&8?this.F?c&8?Vma(this.F):("goo.gl"==g.ug(this.F)?(c=UW.g("https://www.googleapis.com/urlshortener/v1/url?key=AIzaSyBbSB-E7SYd1iggX6r2b5C7ljvO6fVqaj0&shortUrl="+this.F),GD(c,function(a){a=g.kg(a.responseText);if(!a)throw Error("Invalid expanded forced ad URL.");if(!a.longUrl)throw Error("Missing forced ad URL information.");a=new g.Kl(a.longUrl);g.Tl(a,"video_format","43");return UW.g(a.toString())},this)):c=UW.g(this.F),GD(c,function(c){b.o=c.responseText;
hC(a,b,this)},this),FD(c,null,this.rh,this)):this.rh(Error("Invalid empty URL")):this.rh(Error("Invalid request type: "+c))};var WW=null;g.z(XW,g.W);XW.prototype.clear=function(){for(var a=0;a<this.Ma.length;a++)this.Ma[a].detach(),g.Le(this.Ma[a]);this.Ma=[]};
XW.prototype.F=function(a){g.LF(a);this.o=Math.max(0,this.o-YW(this));ZW(this)};
XW.prototype.D=function(a){g.LF(a);this.o=Math.min(this.Ma.length-1,this.o+YW(this));ZW(this)};g.z(bX,g.xV);g.z(cX,g.xV);g.h=cX.prototype;g.h.W=function(){cX.aa.W.call(this);this.clear()};
g.h.clear=function(){this.o.clear();this.A.stop()};
g.h.start=function(){this.A.start();this.Dt()};
g.h.Dt=function(){ZW(this.o)};
g.h.JH=function(){this.D.start()};g.z(dX,gW);dX.prototype.Um=function(){};
dX.prototype.vk=function(){};
dX.prototype.Il=function(){};
dX.prototype.show=function(){var a=PV(this.g).videoId;if(a){var b=this.o.Mb();eN(OV(this.g).G,a,{Mh:Hs(b)||null,Nj:Is(b)||null});sY(this.g)?(a=eX(this),g.ib(a)||(a={shopText:VW(dr(a[0],"teaser_text")),sponsoredText:VW(g.T("YTP_SPONSORED")),adInfoText:VW(g.T("YTP_SPONSORED_PRODUCT_INFO")),itemList:{horizontalListRenderer:{items:(0,g.H)(a,hna),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"}}}}}}},wY(this.g,"onPlaShelfInfoCardsReady",a))):(a=eX(this),g.ib(a)||(mna(this.A,a),a=this.A.element,jna().then(g.Aa(kna,a)).then(this.A.start,null,this.A)));a={};a.format=this.vf();a.at=this.Yh();LV(b,a);this.Y("AD_LOGGING_EVENT",3,a)}};g.z(fX,MW);fX.prototype.Vg=function(){return this.g.o.Cc||""};
fX.prototype.fi=function(a,b){OW(this,$r(b));NW(this,new dX(this.g,a));5!=this.o.g&&PW(this);return 0};
fX.prototype.kn=function(){return 1};g.z(gX,fX);gX.prototype.Vg=function(){return this.g.o.forceAdUrl||""};g.z(mX,KW);mX.prototype.Uo=function(){};
mX.prototype.vf=function(){return"4_3"};g.z(nX,MW);
nX.prototype.Vg=function(){if(D(this.F)||0!=HV(this.o)){var a=this.P;if(a.g.Wa&&a.g.La){var b={};var c="youtube_watch_"+a.A;b.nw="10613";b.asnw=a.g.Wa;b.ssnw=a.g.Wa;b.caid=a.g.La;b.vdur=a.D;b.csid=c;b.resp="vast2";b.metr="121";c={};(0,window.isNaN)(a.g.Pa)||(c._fw_d_001=a.g.Pa);a.g.gender&&(c._fw_d_002=a.g.gender);a.g.bb&&(c["_fwu:10613:lang"]=a.g.bb);a.g.sa&&(c._fw_dbp=a.g.sa);a.g.Sa&&(c._fw_distributorvideoassetid=a.g.Sa);c._fw_yt_type=lX(a)?"long":"short";b.prof=lX(a)?"10613:youtube_html5_w_midroll":"10613:10613_youtube_html5_2014";
b.crtp="youtube";b.flag=hX(a.o)?"+slcb+qtcb+amcb+exvt+emcr":"+slcb+qtcb+amcb+emcr";var d="";if(a.C&1&&!a.F){var e={};d=jX(a);if(kX(a.o)){if(kX(a.o)){var f=0;var k=a.B.A;if(k)for(var k=k.Db,l=0;l<k.length&&(kX(k[l])&&f++,k[l].getId()!=a.o.getId());l++);}else f=0;d+=f}e.slid=d;e.ptgt="a";d="";a.g.C&&!a.g.A?d=";linear-skippable":!a.g.C&&a.g.A&&(d=";video");e.slau=jX(a)+d;e.tpos=iX(a.o)?a.D.toString():HV(a.o.Vb).toString();d=DE(e)+";";e={slid:"page_display1",w:"300",h:"60",ptgt:"s",slau:"display",flag:"+cmpn"};
d+=DE(e)+";"}a.C&4&&(e={slid:"overlay",ptgt:"a",slau:"overlay"},e.tpos=hX(a.o)?"10":iX(a.o)?a.D.toString():HV(a.o.Vb).toString(),d+=DE(e)+";",e={slid:"page_display2",w:"300",h:"250",ptgt:"s",slau:"display",flag:"+cmpn"},d+=DE(e)+";");a.C&8&&(e={slid:"dis",w:"300",h:"250",ptgt:"s",slau:"display",flag:"+cmpn"},d+=DE(e)+";");a=d.substr(0,d.length-1);b="//2975c.v.fwmrm.net/ad/g/1?"+DE(b)+";"+DE(c)+";"+a}else b=""}else b=this.F;return b};
nX.prototype.kn=function(a,b){return nX.aa.kn.call(this,a,b,null)};
nX.prototype.fi=function(a,b){var c=Jr(b);if(MV(c,"rm"))return this.C.C=g.Xb(a),2;if(this.g.o.B)return 1;if(MV(c,"hideMaster")){if(a.Jd&&a.Jd.Vh()){var c=a.Jd.Vh();var d=a.Mb();if(O.g()){var e=d.ba;d.ba=[];d=e}else d=[];c.impressionUrls=d}NW(this,new mX(this.g,a));return 0}return nX.aa.fi.call(this,a,b)};oX.prototype.bc=function(){return this.o};
oX.prototype.create=function(a,b){switch(this.o){case 1:return new RW(a,b,this.g);case 2:return new TW(a,b,this.g);case 5:return new nX(a,b,this.g);case 4:return new UW(a,b);case 7:return new fX(a,b,this.g);case 8:return new gX(a,b,this.g);default:return null}};g.z(pX,g.RF);g.h=pX.prototype;g.h.Rb=function(){return"loaded"==this.B||"error"==this.B};
g.h.getId=function(){return this.Ba};
g.h.show=function(){this.G?this.g instanceof KW&&this.g.Bc("normal"):(this.G=!0,this.g instanceof xW&&this.A.ne("bs"),this.g.subscribe("adEnd",this.Uz,this),this.g.subscribe("adError",this.KC,this),this.g.subscribe("AD_LOGGING_EVENT",this.MC,this),this.g.subscribe("select",this.JC,this),this.g.subscribe("adCompanionInitialized",this.LC,this),this.g.show(),wX(this,!0))};
g.h.Uz=function(){this.o&&(yX(this),xY(this.A));sX(this)};
g.h.KC=function(a){if(a){var b={};KV(a,b);vX(this,b);vY(this.A,32,b)}yX(this);sX(this)};
g.h.MC=function(a,b){vX(this,b);uX(this.A,a,b)};
g.h.JC=function(){this.F=!1};
g.h.LC=function(a,b){this.Y("adCompanionInitialized",a,b)};
g.h.W=function(){yX(this);this.g=null;null!=this.C&&(this.C.dispose(),this.C=null);pX.aa.W.call(this)};var rna=[new GV(1)];var tna={TE:"m",uE:"f"};g.z(DX,g.K);DX.prototype.B=function(a){a=null!=a.Qb()?a.Qb().D:null;if(null!=a){var b=wW(this.C.g.app,2);b&&b.g.videoId==a?b.C?(b=b.C,a=AQ(b,"engage"),a.A=1,b=gQ(b.g),a=g.Aa(Lla,a.Wa,xQ(a),vQ(a),b)):a=null:a=null;this.o=a}};
DX.prototype.A=function(){this.g&&this.o&&this.o()};g.z(EX,g.K);g.h=EX.prototype;g.h.SB=function(){this.g.subscribe("beginseeking",this.xm,this)};
g.h.MB=function(a,b){return a.o&&kX(a)?b+this.B+this.A:b};
g.h.LB=function(a,b){return!a.o||iX(a)||0x7ffffffffffff==b||0x8000000000000==b?b:b+this.B+this.A};
g.h.qv=function(a){if(a.o&&kX(a)&&!(0>=this.A)){var b={priority:2,id:String(a.getId()),style:"ytp-ad-fadeout"},c=rX(a)+this.B,b=new g.oJ(c,c+this.A-1,b);this.C[a.getId()]=b;uV(this.g,[b])}};
g.h.ZC=function(a){a.o&&kX(a)&&(FX(this,a.getId()),this.xm())};
g.h.xm=function(){(0,window.isNaN)(this.o)||(g.wE(this.o),this.o=window.NaN);var a=AW(this.g),b=this.g.app.J.getVolume()/100;a.setVolume(b*PV(this.g).uc);pK(a,"transition","");pK(a,"opacity","1")};
g.h.aD=function(a){var b=rX(a)+this.B+this.A,b=50>=1E3*this.g.getCurrentTime(1)-b;a.o&&kX(a)&&b&&(a=.001*(rX(a)+this.F),IY(this.g,a),0>=this.D||(a=AW(this.g),pK(a,"opacity","0"),a.setVolume(0*PV(this.g).uc),g.yE((0,g.y)(this.jU,this),0)))};
g.h.jU=function(){var a=AW(this.g);pK(a,"transition","opacity "+String(this.D)+"ms linear");pK(a,"opacity","1");GX(this,a,this.D,1)};
g.h.YC=function(a,b,c){if(!(0,window.isNaN)(this.o)){var d=Math.max(1,b-(0,g.F)()),d=-1*a.getVolume()*c/d,d=Math.max(0,a.getVolume()+d);a.setVolume(d*PV(this.g).uc);this.o=0<d?$Q((0,g.y)(this.YC,this,a,b,c),c):window.NaN}};
g.h.XC=function(a,b,c){if(!(0,window.isNaN)(this.o)){var d=Math.max(1,b-(0,g.F)()),e=this.g.app.J.getVolume()/100,d=(e-a.getVolume())*c/d,d=Math.min(e,a.getVolume()+d);a.setVolume(d*PV(this.g).uc);this.o=d<e?$Q((0,g.y)(this.XC,this,a,b,c),c):window.NaN}};
g.h.W=function(){this.xm();this.g.unsubscribe("beginseeking",this.xm,this);EX.aa.W.call(this)};g.z(HX,EX);g.h=HX.prototype;g.h.SB=g.x;g.h.MB=function(a,b){return b};
g.h.LB=function(a,b){return b};
g.h.qv=g.x;g.h.ZC=g.x;g.h.aD=g.x;g.h.W=g.x;g.z(IX,g.K);IX.prototype.A=function(){if(this.B){var a=this.g.o;if(null!=a&&(a=a.o,!(0>=a))){var b=this.g.g.getCurrentTime(),c=[],d=null,e=Number.MAX_VALUE;g.Jb(this.D.A,function(a){a.Rb();if(a.isVisible&&!(0>=KX(this,a))){var f=a.getId();f=this.D.D[f];if(KX(this,a)>b){var k=!LX(this,a);k!=f.visible&&(f.visible=k,c.push(f));k||(f=KX(this,a)-b,f<e&&(e=f,d=a))}else f.visible||(f.visible=!0,c.push(f))}},this);
0<c.length&&uV(this.g,c,1);if(d){var f=0;0<this.o&&(f=(0,g.F)()/1E3-this.o);wna(this,a-f-e+2)}else JX(this)}}};
IX.prototype.W=function(){JX(this);this.g.unsubscribe("endseeking",this.A,this);IX.aa.W.call(this)};g.z(MX,g.K);g.h=MX.prototype;g.h.uj=function(a){a.unsubscribe("adBreakComplete",this.uj,this);a.unsubscribe("adCompanionInitialized",this.As,this);this.P=g.yE((0,g.y)(this.gN,this,a),0)};
g.h.As=function(a,b){g.Le(this.K);this.K=new DX(this.o,b)};
g.h.gN=function(a){var b=yna(this,a),c=b.previous,b=b.next;this.P=window.NaN;var d=!1;switch(a.Vb.g){case 5:var e=0x7ffffffffffff;d=!0;break;case 3:e=0x8000000000000;break;default:e=b&&g.oa(b.Vb.o)?rX(b)-1:0x7ffffffffffff}0==a.Ba&&(this.o.ne("bl"),qX(a)||this.o.ne("fb"));"loaded"!=a.B||0==a.Ba&&qX(a)&&b&&1E3*this.o.g.getCurrentTime()>=rX(b)?(c&&c.Rb()&&!d&&(b=e,e=rX(c),e>b&&(b=e),PX(this,c),OX(this,c,b)),this.Qh(a)):(this.A[a.getId()]=a,OX(this,a,e),vV(this.o));g.Mb(this.A)==this.Db.length&&this.C.A();
NX(this)};
g.h.Qh=function(a){a.unsubscribe("adBreakComplete",this.uj,this);a.unsubscribe("adBreakComplete",this.il,this);this.g&&a==this.g&&(this.g=null,null!=this.K&&a.o&&(this.K.g=!0));PX(this,a);g.nb(this.Db,a);delete this.A[a.getId()];g.Le(a)};
g.h.Ui=function(a){return this.A[a]};
g.h.il=function(a){a.unsubscribe("adBreakComplete",this.il,this);if(a.o){!iX(a)&&a.F?(FY(this.o),this.B.aD(a)):qX(a)&&!a.F?FY(this.o):DY(this.o);this.Qh(a);a=this.C.o;a={tfla:0<a?Math.floor((0,g.F)()/1E3-a):0};this.o.Pi.g(RX,"set_previous_ad_end_time",a);a=this.C;if(a.B){var b=a.g.o;b&&0<b.o&&(a.o=(0,g.F)()/1E3,a.A())}for(;!g.ib(this.O);)SX(this,this.O.shift())}else a.isVisible||this.Qh(a)};
g.h.W=function(){g.wE(this.P);g.Le(this.B);g.Le(this.C);(0,g.G)(this.Db,this.Qh,this);g.Le(this.K);MX.aa.W.call(this)};g.z(TX,MX);g.h=TX.prototype;g.h.Ui=function(a){a=TX.aa.Ui.call(this,a);if(!a)return null;if(!a.J)return a;var b=null;if(this.F.length){var c=b=this.F.shift();c.Vb=a.Vb;c.Ba=a.getId()}b&&"loaded"==b.B?(a.unsubscribe("adBreakComplete",this.uj,this),this.A[a.getId()]=b,this.Db[this.Db.indexOf(a)]=b,g.Le(a)):(this.yj(),b&&(g.Le(b),b=null,this.Qh(a)));b&&!b.o&&this.yj();return b};
g.h.uj=function(a){!hX(a)&&(2!=a.Vb.g||10!=HV(a.Vb))||"loaded"==a.B&&a.o||this.yj();TX.aa.uj.call(this,a)};
g.h.il=function(a){a.o&&10<this.X?(UX(this),this.ba=g.yE((0,g.y)(this.yj,this),1E3*(this.X-10))):this.yj();TX.aa.il.call(this,a)};
g.h.yj=function(){if(!this.na())for(UX(this);this.J.length&&this.M.length+this.F.length<this.ca;){var a=this.J.shift();a.subscribe("adBreakComplete",this.Tz,this);this.M.push(a);xX(a)}};
g.h.Tz=function(a){a.unsubscribe("adBreakComplete",this.Tz,this);g.nb(this.M,a);this.F.push(a)};
g.h.W=function(){UX(this);g.G(this.M,g.Le);g.G(this.F,g.Le);g.G(this.J,g.Le);TX.aa.W.call(this)};g.z(VX,MX);VX.prototype.fa=function(a){"loaded"==a.B&&this.J.push(a);a.unsubscribe("adBreakComplete",this.fa,this)};
VX.prototype.X=function(){if(null!=this.g&&0<this.J.length){var a=this.J.shift();delete this.A[HV(a.Vb)];var b=Math.floor((0,g.F)()/1E3)-this.ga;this.ga=null;a.unsubscribe("adBreakComplete",this.X,this);this.Qh(a);this.g=null}0<this.M?(this.M--,WX(this)):(FY(this.ba),(0,window.isFinite)(b)&&(this.ca?$T(this.F,window.Infinity,!0):$T(this.F,this.F.getCurrentTime()+b,!0)))};g.z(YX,g.K);YX.prototype.F=function(){this.g||(this.g=XX(this.B.Ve()));uV(this.o,g.Ob(this.g),1)};
YX.prototype.A=function(){if(this.g){var a=this.o.g.getCurrentTime(),b=[],c=null,d=Number.MAX_VALUE;(0,g.G)(this.B.Ve(),function(e){var f=this.g[e];if(f){var k=this.B.Ui(e);k&&k.Dc>a?(e=!this.md.o(k),e!=f.visible&&(f.visible=e,b.push(f)),e||(f=k.Dc-a,f<d&&(d=f,c=k))):!k||k.yb()?(g.cV(this.o.g,[f],void 0),delete this.g[e]):!f.visible&&k&&(f.visible=!0,b.push(f))}},this);
0<b.length&&uV(this.o,b,1);var e=this.o.o.o;if(0>=e)if(c){var f=0;0<this.D&&(f=(0,g.F)()/1E3-this.D);Ana(this,e-f-d+2)}else ZX(this)}};
YX.prototype.W=function(){this.o.unsubscribe("endseeking",this.A,this);ZX(this);YX.aa.W.call(this)};g.z($X,g.K);g.h=$X.prototype;g.h.Uw=function(){return 4};
g.h.yo=function(a){return a};
g.h.aB=function(){return!1};
g.h.rv=g.x;g.h.Jl=g.x;g.h.bD=g.x;g.h.cD=g.x;g.h.dD=g.x;g.z(bY,g.K);g.h=bY.prototype;g.h.Uw=function(){return 4-this.B/1E3};
g.h.yo=function(a){return Rb(this.A,1E3*a)?this.A[1E3*a]/1E3:a};
g.h.aB=function(a){var b=!1,c={};(0,g.G)(g.te(a),(0,g.y)(function(a){var d;if(d=(d=a.getAttribute("timeOffset"))?aY(d):null)b=b||Bna(a),c[d]=a},this));
if(!b||0==g.Mb(c))return!1;a=(0,g.H)(g.Pb(c),function(a){return(0,window.parseInt)(a,10)});
if(!Ena(this,a))return!1;g.Jb(c,(0,g.y)(function(a,b){var c=(0,window.parseInt)(Sb(this.A,function(a){return a==b}),10);
c&&a.setAttribute("timeOffset",Cna(c))},this));
return!0};
g.h.rv=function(a){if(!(0>=this.K)){var b=[];(0,g.G)(a,(0,g.y)(function(a){if(Rb(this.A,1E3*a)){var c=new g.oJ(1E3*this.yo(a)+this.B,1E3*a+500,{priority:2,id:String(a),style:"ytp-ad-fadeout"});this.C[a]=c;b.push(c)}},this));
uV(this.g,b)}};
g.h.bD=function(a){if(Rb(this.A,1E3*a)){var b=AW(this.g);null!==b&&(a=Math.max(0,1E3*a-1E3*this.g.getCurrentTime(1)),pK(b,"transition","opacity "+String(a)+"ms linear"),pK(b,"opacity","0"),dY(this,b,a,0))}};
g.h.cD=function(a){cY(this,1E3*a)&&(this.C[a]&&(g.cV(this.g.g,[this.C[a]],void 0),delete this.C[a]),this.Jl())};
g.h.jD=function(){g.V(g.NU(this.g.g),4)&&this.Jl()};
g.h.Jl=function(){var a=AW(this.g);if(null!==a){null!=this.o&&(g.wE(this.o),this.o=null);var b=this.g.app.J.getVolume()/100;a.setVolume(b*PV(this.g).uc);pK(a,"transition","");pK(a,"opacity","1")}};
g.h.dD=function(a){if(Rb(this.A,1E3*a)){var b=1E3*a;200>=1E3*this.g.getCurrentTime(1)-b&&(IY(this.g,this.yo(a)+this.J/1E3),0>=this.D||(a=AW(this.g),null!==a&&(pK(a,"opacity","0"),a.setVolume(0*PV(this.g).uc),null!=this.o&&g.wE(this.o),this.o=$Q((0,g.y)(this.qU,this),0))))}};
g.h.qU=function(){var a=AW(this.g);null!==a&&(pK(a,"transition","opacity "+String(this.D)+"ms linear"),pK(a,"opacity","1"),dY(this,a,this.D,1))};
g.h.iD=function(a,b,c){if(null!==this.o){var d=Math.max(1,b-(0,g.F)()),d=-1*a.getVolume()*c/d,d=Math.max(0,a.getVolume()+d);a.setVolume(d*PV(this.g).uc);0<d?this.o=$Q((0,g.y)(this.iD,this,a,b,c),c):this.o=null}};
g.h.hD=function(a,b,c){if(null!==this.o){var d=Math.max(1,b-(0,g.F)()),e=this.g.app.J.getVolume()/100,d=(e-a.getVolume())*c/d,d=Math.min(e,a.getVolume()+d);a.setVolume(d*PV(this.g).uc);d<e?this.o=$Q((0,g.y)(this.hD,this,a,b,c),c):this.o=null}};
g.h.W=function(){this.Jl();this.g.unsubscribe("applicationplayerstatechange",this.jD,this);bY.aa.W.call(this)};g.z(eY,g.K);var Ina={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=eY.prototype;
g.h.load=function(a){if(this.qb=this.g.qb){var b=this.g.o,c=!OV(this.g).experiments.g("html5_reuse_parsed_xml");this.D=b.applyFadeOnMidrolls?new bY(this.g):new $X;var d=QV(this.g);d.o=Gna(this,a,c);d.containerElement=this.g.G.D;d.Fc.TSLA=Uma(this);d.Fc.GET_MIDROLL_POSITION_IN_SEC=(0,g.y)(this.D.yo,this.D);d.Fc.DESCRIPTION_URL="http://www.youtube.com/video/"+PV(this.g).videoId;if(a=zX(b).get(3))if(c="",a&2&&a&1?c="video":a&2?c="skippablevideo":a&1&&(c="standardvideo"),a&4&&(c&&(c+="_"),c+="text_image_flash"),
d.A=c,b=b.jb)d.J=b;this.qb.V("adsManagerLoaded",this.fD,!1,this);this.qb.V("adError",this.eD,!1,this);hC(this.qb,d,this);this.g.ne("bd")}};
g.h.fD=function(a){if(a.A===this){var b={};Object.defineProperty(b,"currentTime",{get:(0,g.y)(function(){return this.g.getCurrentTime(1)},this),
enumerable:!0});Object.defineProperty(b,"duration",{get:(0,g.y)(function(){return this.g.g.ia().lengthSeconds},this),
enumerable:!0});try{var c=Hna(this);this.o=cA(a,this.g.G,b,c)}catch(d){jY(this,d);return}if(this.md=this.o.GB(b,this.g.o.o)){this.D.rv(this.o.Ve());this.F=new YX(this.g,this.o,this.md);g.L(this,this.F);g.yE((0,g.y)(this.F.F,this.F),0);g.gb(this.o.Ve(),0)||iY(this);this.C.V(this.o,"companionBackfill",(0,g.y)(this.nU,this));this.C.V(this.o,"prefetched",(0,g.y)(this.lN,this));this.C.V(this.o,"loaded",(0,g.y)(this.lU,this));this.C.V(this.o,"adError",(0,g.y)(this.kU,this),!1);this.C.V(this.o,"start",(0,g.y)(this.mU,
this));this.C.V(this.o,"complete",(0,g.y)(this.iN,this));this.C.V(this.o,"adNotify",(0,g.y)(this.jl,this));this.C.V(this.o,"discardAdNotify",(0,g.y)(this.ll,this));this.C.V(this.o,"companionInitialized",(0,g.y)(this.oU,this));this.C.V(this.o,"contentPauseRequested",(0,g.y)(this.sh,this));this.C.V(this.o,"contentResumeRequested",(0,g.y)(this.Uf,this));this.C.V(this.o,"allAdsCompleted",g.x);this.K.R(this.g.g,"applicationplayerstatechange",this.pU);try{this.o.init("normal"),this.o.start()}catch(d){this.g.Pi.g(RX,
"vmap_ads_manager_init_exception",void 0),this.o.destroy(),this.o=null,jY(this,d)}}}};
g.h.pU=function(){if(g.V(g.NU(this.g.g),16)||g.V(g.NU(this.g.g),32)){var a=this.o;null!=a.Wb&&(a=a.Wb,a.o.stop(),a.A=!1)}else a=this.o,null!=a.Wb&&iz(a.Wb)};
g.h.oU=function(a){if(a=a.g)g.Le(this.G),this.G=new DX(this.g,a)};
g.h.sh=function(a){kY(this);if((this.A=a.Qb())&&this.A.Zb()){a=lY(this.A);var b=this.A.C.o;b=0==b?1:0<b?2:-1==b?3:0;this.B=new xW(a,this.g,this.o,this.A.isSkippable(),this.A.isBumper(),!0,void 0,b);gY(this,this.B);1!=b&&XO("video_to_ad",["apbs"]);a=this.g;a.M=!0;a.B||QX(a);this.D.cD(this.A.C.o);this.B.show();fY(this,"show_instream_ads")}};
g.h.Uf=function(a){iY(this);this.g.getCurrentTime(1)<this.g.g.ia().lengthSeconds&&(FY(this.g),this.A&&this.A.Zb()&&(this.D.dD(this.A.C.o),null!=this.G&&(this.G.g=!0)));a=a.Qb();var b=eC(this.o);b&&b.O&&b.yb()?this.A=null:!a&&this.B instanceof QW||kY(this);var c=!0;if(a&&a!==this.A&&!a.Zb()){if(b&&b.O&&!b.yb()){b=this.F;null!=b.g[0]&&(c=b.g[0],delete b.g[0],b.g[0]=new g.oJ(1E4,c.end,{id:"10",visible:!0}),c.visible=!1,uV(b.o,[c,b.g[0]],1),uV(b.o,[b.g[0]]));this.A=a;return}c=Jr(a);b=lY(a);MV(c,"blockAllAds")?
(this.o.Fj(),this.B=new SW(this.g,this.o,1,!0),c=!1):MV(c,"hideMaster")&&14!=b?(this.B=new SW(this.g,this.o,0,!0),c=!1):(c=this.o,14==b?(this.B=new dX(this.g,c),5!=eC(this.o).Ze()&&hY(this,a)):this.B=new KW(b,this.g,c,!0),this.B.show(),c=!0)}this.A&&this.A.Zb()&&xY(this.g);this.A&&this.A.Zb()?(fY(this,"set_previous_ad_end_time"),b=this.md,0<b.A&&(b.g=(0,g.F)()/1E3),b=this.F,b.D=(0,g.F)()/1E3,b.A()):a&&a!==this.A&&!a.Zb()&&c&&(b=this.F,b.D=(0,g.F)()/1E3,b.A());this.F.F();this.A=a};
g.h.mU=function(a){(a=a.Qb())&&this.B&&(a=lY(a),this.B.adSystem=a)};
g.h.iN=function(a){a.Qb().Zb()||this.A!==a.Qb()||(kY(this),this.A=null)};
g.h.jl=function(a){null!=a.g&&(a=a.g.adBreakTime,null!=a&&this.g.g.Y("adnotify",a))};
g.h.ll=function(){this.g.g.Y("discardadnotify")};
g.h.lN=function(a){var b=a.Qb();if(null!=b){var c=a.g.adBreakTime;this.O[c]=b;this.M||(this.g.ne("bl"),0==c&&a.Qb().Zb()||this.g.ne("fb"),this.M=!0)}};
g.h.lU=function(a){null!=a.Qb()&&(a.Qb().Zb()&&this.g.ne("bs"),a.Qb().C.B||a.Qb().Zb()||iY(this))};
g.h.kU=function(a){jY(this,a.getError())};
g.h.eD=function(a){var b=a.getError();"adLoadError"==b.bc()&&a.g===this&&jY(this,b)};
g.h.nU=function(a){hY(this,a&&a.Qb())};
g.h.W=function(){kY(this);this.qb&&(this.qb.Ca("adsManagerLoaded",this.fD,!1,this),this.qb.Ca("adError",this.eD,!1,this));jm(this.P);jm(this.C);g.QF(this.K);this.J=!1;this.o&&(this.o.destroy(),this.o=null);g.Le(this.D);g.Le(this.G);eY.aa.W.call(this)};
g.h.gD=function(a,b,c,d){if(3==b||19==c||2==c)a&&(d.break_type=a.Ze(),d.sst=a.Dc,d.sidx=0),uX(this.g,c,d)};g.p(mY,g.W);mY.prototype.jl=function(a){this.C=-1==a?this.U.getDuration():a;this.o||(this.o=this.R(this.U,"progresssync",this.B));this.B();this.A.show()};
mY.prototype.ll=function(){this.o&&(this.Ca(this.o),this.o=null);this.A.hide()};
mY.prototype.B=function(){var a=this.U.getCurrentTime(),a=Math.ceil(this.C-a);0<a?this.dc(g.T("YTP_AD_NOTIFICATION",{X_SECONDS:a})):this.A.hide()};var nY=null,pY=null;g.qa("yt.www.ads.eventcache.getLastCompanionData",function(){return nY},void 0);
g.qa("yt.www.ads.eventcache.getLastPlaShelfData",function(){return pY},void 0);g.z(tY,tV);tY.A=10;tY.o=1E3;tY.g="livead";g.h=tY.prototype;
g.h.create=function(){tY.aa.create.call(this);this.J.R(this.g,"beginseeking",(0,g.y)(this.Y,this,"beginseeking"));this.J.R(this.g,"endseeking",(0,g.y)(this.Y,this,"endseeking"));this.J.R(this.g,"resize",(0,g.y)(this.Y,this,"resize"));this.J.R(this.g,"presentingplayerstatechange",(0,g.y)(this.Y,this,"presentingplayerstatechange"));this.J.R(this.g,"webglsettingschanged",(0,g.y)(this.Y,this,"webglsettingschanged"));if(sY(this)){var a=jJ(this.app.U);a.addEventListener("updatekevlarcompanion",oY);a.addEventListener("onPlaShelfInfoCardsReady",
qY);window.addEventListener("yt-navigate-start",rY)}this.ne("i");a=this.g.ia().ac||{};this.o=new vna(OV(this),a);this.D=new zna(this,this.g);this.X=!1;if(this.qb)this.qb.g.B.B=Dn();else{var a=this.o.P?void 0:kW(this.F),b=new JQ(this.app,2);this.G=new Zz(jW(this.F),void 0,a,jJ(b),!0);this.G.setSize(-1,-1);this.qb=new gC(this.G)}if(this.o.vmap&&!this.o.fa){this.B=new eY(this);try{this.B.load(this.o.vmap)}catch(c){g.rE(c),this.Pi.g(RX,"vmap_load_exception",void 0),this.B.dispose(),this.B=null,CY(this,
CX(new BX(this)))}}else CY(this,CX(new BX(this)));this.D&&(this.O=this.app.o.g,this.O.subscribe("cuepointupdated",this.hA,this),a=yY(this),null!=a&&(a.F=g.MU(this.app)),a={},a.allowed=this.D.o,wV(this,{},a))};
g.h.destroy=function(){this.M&&DY(this);this.app.Z.experiments.g("disable_new_pause_state3")||g.dV(this.g,this.Yd,void 0);BY(this);g.Me(this.A,this.fa,this.B);this.fa=this.A=null;this.O.unsubscribe("cuepointupdated",this.hA,this);this.D=this.o=this.B=this.O=null;ZV=WV=VV=!1;bW();this.C&&tY.aa.destroy.call(this);if(sY(this)){var a=jJ(this.app.U);a.removeEventListener("updatekevlarcompanion",oY);a.removeEventListener("onPlaShelfInfoCardsReady",qY);window.removeEventListener("yt-navigate-start",rY);
nY=null}};
g.h.isFullscreen=function(){return this.g.isFullscreen()||this.o.G};
g.h.fu=function(){if(this.D){var a=this.D;var b={allowed:a.o};a.g.excludedAds&&(b.ex_ad=a.g.excludedAds);a.A&&(b.at=a.A);a=b}else a=tY.aa.fu.call(this);return a};
g.h.getRootNode=function(){return this.g.getRootNode()};
g.h.getCurrentTime=function(a){return this.app.getCurrentTime(a)};
g.h.eu=function(){return this.P};
g.h.Cs=function(a){tY.aa.Cs.call(this,a);var b=(0,window.parseInt)(a.getId(),10);if(this.A&&!(0,window.isNaN)(b))if("ytp-ad-fadeout"==a.style){var c=this.A,d=c.Ui(b);if(d&&!LX(c.C,d)&&(c=c.B,d.o)){var e=AW(c.g),d=Math.max(0,rX(d)+c.B+c.A-1E3*c.g.getCurrentTime(1));pK(e,"transition","opacity "+String(d)+"ms linear");pK(e,"opacity","0");GX(c,e,d,0)}}else SX(this.A,b);this.B&&!(0,window.isNaN)(b)&&("ytp-ad-fadeout"==a.style?(d=this.B,(c=d.O[b])&&c.Zb()&&d.D.bD(b)):0>b&&(b=this.qb.g,d=new wm("contentComplete"),
b.dispatchEvent(d),d.A&&(Hm(Em(),420706009)||b.B.clear(),null!=b.o&&(d=b.o.Vh(),null!=d&&qA(d,b.B.g)))));if("livead"===a.getId()&&null!=yY(this)){b=yY(this);for(a=Math.floor(a.start/1E3);g.t(b.A[a]);)a++;d=b.ha++;c=0==a?new GV(1):new GV(2,a);d=new pX(b.ba,d,c,AX(b.ba.o,c.g),!1);b.A[a]=d;d.subscribe("adBreakComplete",b.fa,b);xX(d)}};
g.h.Ds=function(a){tY.aa.Ds.call(this,a);var b=(0,window.parseInt)(a.getId(),10),c=1E3*this.getCurrentTime(1);this.A&&!(0,window.isNaN)(b)&&c>a.start&&(0x8000000000000==a.end||0x7ffffffffffff==a.end)&&(c=this.A,(b=c.A[b])&&c.g==b&&!b.o&&b.isVisible&&b.G&&b.g instanceof KW&&b.g.Bc("fullscreen"));this.B&&"ytp-ad-fadeout"==a.style&&this.B.D.Jl();"livead"===a.getId()&&null!=yY(this)&&1E3*this.getCurrentTime(1)>=a.start&&(g.cV(this.g,[a],1),WX(yY(this)))};
g.h.ne=function(a){var b=a;"nl"==a&&(a=this.D,a.C++,b=a.C.toString());this.da[b]=(0,g.F)();"bs"!=b&&"fb"!=b||wV(this,this.da,this.ca)};
g.h.hA=function(a){var b=yY(this);if(null!=b&&null!=b.F){var c=yY(this).F.getCurrentTime();(0,g.G)(a,function(a){0!=c&&a.Pe>c&&(a=new g.oJ(1E3*Math.floor(c+Math.random()*Math.max(a.Pe-10-c,0)),1E3*a.Pe,{id:"livead",priority:2}),uV(this,[a],1))},this)}};
g.h.QC=function(a){switch(a){case "addata":var b=this.o;return{adTag:b.adTag,adTest:b.Qc,forceAdType:b.forceAdType,isAfvSkippableInstreamEnabled:b.X,isAfvStandardInstreamEnabled:b.ba,isBlazer:b.D,isDoubleClickEnabled:b.da,isForcedAd:b.fa,isFreeWheelEnabled:b.ga,isHouseBrandPlayer:b.zc,isLeanback:b.G,isShortform:b.xc,tagForChildDirected:b.tagForChildDirected};case "adstate":return this.eu();case "midrollfreqcap":if(this.B)return b=this.o.o,null!=b?b:0;b=this.A instanceof TX?this.A:null;return null!=
b?b.X:0;case "breakscount":return this.B?(b=this.B,b=null!=b.o?b.o.Ve().length:0):b=this.A?this.A.Db.length:0,b;case "displaystate":return b=null,this.A&&this.A.g&&(b=this.A.g.g),{adFormat:b instanceof gW?b.adType:!1,adSkipped:b instanceof xW?b.D:!1,hasVideoStarted:b instanceof xW?b.G:!1,skippable:b instanceof xW?b.fa:!1};case "getContentVideoData":return b=PV(this),{adModule:b.adModule,partnerTrackingToken:b.pl,title:b.title,videoId:b.videoId};case "loadedadbreaks":if(this.A){a=this.A.A;var c=[];
for(b in a)a.hasOwnProperty(b)&&c.push({isInterruptive:a[Number(b)].o});return c}return 0}};
g.h.ZT=function(){return"addata adstate breakscount displaystate getContentVideoData loadedadbreaks midrollfreqcap".split(" ")};
g.h.Gd=function(){return!1};g.z(LY,g.K);g.h=LY.prototype;g.h.lw=function(){if(!this.g){var a=this.lw;if("lb3"==g.Y(this.U).o)var b=!1;else b=this.U.ia(),b=b.tm||b.captionTracks.length||b.Da&&b.xa&&null!=b.xa.g.en?!0:!1;(a=OY(this,"captions",a,b))&&!this.g&&(this.g=a,this.U.za("onApiChange"))}};
g.h.hw=function(){this.J=this.J||OY(this,"endscreen",this.hw,g.MY(this))};
g.h.ow=function(){var a;if(!(a=this.B)){a=this.ow;var b=g.Y(this.U).experiments;var c=g.QE()&&(OE("ps4 vr")||OE("ps4 pro vr")),d=c&&b.g("enable_spherical_ps4"),c=c&&b.g("enable_mesh_ps4"),e=b.g("enable_mesh_cobalt"),f=b.g("enable_spherical_kabuki"),k=this.U.ia(),l=TN(g.Y(this.U));b=k.If()?c||e||l:k.fh()?l||d||!1||f||b.g("html5_enable_spherical"):k.xg()?l||d||!1||b.g("html5_enable_spherical3d"):k.ii()?l||b.g("html5_enable_anaglyph3d"):l&&(b.g("enable_webgl_noop")||b.g("enable_white_noise"));a=OY(this,
"webgl",a,b)}this.B=a};
g.h.qw=function(){this.M=this.M||OY(this,"ypc",this.qw,g.CP(this.U.ia(),"ypc_module"))};
g.h.pw=function(){this.X=this.X||OY(this,"ypc_clickwrap",this.pw,g.CP(this.U.ia(),"ypc_clickwrap_module"))};
g.h.kw=function(){this.P=this.P||OY(this,"spacecast",this.kw,this.U.ia().spacecastModule)};
g.h.jw=function(){this.O=this.O||OY(this,"heartbeat",this.jw,g.CP(this.U.ia(),"ypc_license_checker_module"))};
g.h.ew=function(){if(!this.A){var a=this.ew;var b=g.Y(this.U);if("3"==b.C)b=!1;else if(b.G.isEmpty()&&"annotation-editor"!=b.o&&"live-dashboard"!=b.o){var c=this.U.ia();b=b.experiments.g("disable_new_iv_module_create_logic")?g.CP(c,"iv3_module"):!!c.Af}else b=!0;if(this.A=OY(this,"annotations_module",a,b)){var a=this.A,d;for(d in this.fa)a.subscribe(d,this.fa[d]);this.U.za("onApiChange")}}};
g.h.iw=function(){this.F=this.F||OY(this,"fresca",this.iw,g.CP(this.U.ia(),"fresca_module"))};
g.h.aq=function(){this.K||(this.K=OY(this,"remote",this.aq,g.Y(this.U).Ab))&&this.K.create()};
g.h.mw=function(){this.C||(this.C=OY(this,"unplugged",this.mw,g.Y(this.U).ua))&&this.C.init()};
g.h.gw=function(){if(!this.G){var a=this.gw;var b=g.Y(this.U);"3"==b.C?b=!1:"creator-endscreen-editor"==b.o?b=!0:(b=this.U.ia(),b=!!b&&!!g.GP(b));(this.G=OY(this,"creatorendscreen",a,b))&&this.U.za("onApiChange")}};
g.h.W=function(){LY.aa.W.call(this);PY(this,!0)};g.z(QY,g.W);QY.B="(max-width: 656px)";QY.A="(min-width: 657px)";QY.o="(min-width: 1294px) and (min-height: 630px)";QY.g="(min-width: 1720px) and (min-height: 980px)";g.h=QY.prototype;g.h.rI=function(){this.D=new g.Mg(0,0,0,0);this.B=new g.Mg(0,0,0,0)};
g.h.ku=function(a){g.Hp(this.element,arguments)};
g.h.jg=function(){if(this.o){var a=this.Za();if(!a.isEmpty()){var b=!g.Rd(a,g.Qg(this.B)),c=RY(this);b&&(this.B.width=a.width,this.B.height=a.height);a=this.app.Z;(c||b||a.ka)&&this.app.g.Y("resize",this.Za())}}};
g.h.uU=function(a,b){SY(this,b)};
g.h.vU=function(a){a.g&&SY(this,a.g)};
g.h.Za=function(){var a=this.app.Z,b=g.vF()==this.element;if(b&&PE())return new g.Qd(window.outerWidth,window.outerHeight);if(b||a.wp){if(window.matchMedia){a="(width: "+window.innerWidth+"px) and (height: "+window.innerHeight+"px)";this.C&&this.C.media==a||(this.C=window.matchMedia(a));var c=this.C&&this.C.matches}if(c)return new g.Qd(window.innerWidth,window.innerHeight)}else if(this.P&&!this.app.pa)for(a=0;a<this.P.length;a++)if(b=this.P[a],b.query.matches)return new g.Qd(b.size.width,b.size.height);
return new g.Qd(this.element.clientWidth,this.element.clientHeight)};
g.h.NH=function(){this.o&&yW(this);(this.app.Z.experiments.g("player_state_change_resize_killswitch")||YY(this)!=this.K)&&this.jg()};
g.h.wU=function(){yW(this)};
g.h.W=function(){this.A&&(this.A.disconnect(),this.A=null);this.G&&g.eG(this.G);this.o=null;QY.aa.W.call(this)};g.z(ZY,g.RF);g.h=ZY.prototype;g.h.rU=function(a){a=GF(a);if(!Od(a,this.C)){var b=2;this.F&&(b|=8);this.C=a;this.qc(b,!0)}};
g.h.WM=function(){this.F&&this.qc(8,!0);this.qc(2,!1)};
g.h.ju=function(a){var b=GF(a);Od(b,this.C)||(this.C=b,(a=g.EF(a))&&this.X(a)&&(this.qc(4,!0),this.g.Ca(this.B),this.B=this.g.R(this.A,"mouseover",this.nD),this.M=this.g.R(this.A,"mouseout",this.nD)))};
g.h.nD=function(a){a=HF(a);a&&this.X(a)||(this.C=new g.Nd(window.NaN,window.NaN),$Y(this))};
g.h.CJ=function(){this.qc(1,!0)};
g.h.bH=function(a){a=g.EF(a);a instanceof window.Element&&!(0<a.tabIndex)||this.qc(1,!0)};
g.h.mD=function(){this.F=!0;this.g.Ca(this.D);this.D=this.g.R(window.document,"mouseup",this.sU)};
g.h.sU=function(){this.F=!1;this.qc(8,!1);this.g.Ca(this.D);this.D=this.g.R(this.A,"mousedown",this.mD)};
g.h.oD=function(a){if(a=a.changedTouches[0])this.ca=a.identifier,this.g.Ca(this.G),this.G=this.g.R(this.A,"touchend",this.tU,void 0,!0),this.qc(1024,!0)};
g.h.tU=function(a){for(var b,c=0;c<a.changedTouches.length;c++){var d=a.changedTouches[c];if(d.identifier==this.ca){b=d;break}}b&&(this.g.Ca(this.G),this.G=this.g.R(this.A,"touchstart",this.oD,void 0,!0),this.qc(1024,!1))};
g.h.qc=function(a,b){var c=!this.o;b?(this.o|=a,a&1&&this.J.start(),a&2&&this.K.start()):(this.o&=~a,a&1&&this.J.stop(),a&2&&this.K.stop(),a&512&&this.O.stop());this.o&512&&!(this.o&128)&&this.O.ce(this.P);var d=!this.o;c!=d&&this.Y("autohideupdate",d)};g.z(bZ,g.W);bZ.prototype.show=function(){bZ.aa.show.call(this);this.M()};
bZ.prototype.M=function(){var a=1-1/1.5;this.B=(this.B+this.J)%(this.width*a);this.C=(this.C+this.G)%(this.height*a);this.A.drawImage(this.K,-1*this.B,-1*this.C);this.A.fillRect(0,this.D,this.width,75);this.D=(this.D+75+7)%this.height-75;this.o.isActive()||this.F.ce()};
bZ.prototype.hide=function(){this.o.stop();this.F.stop();bZ.aa.hide.call(this)};g.z(iZ,g.W);var sqa=/<a\s+href=["']([^"']+)["'](?:\s+target=["']([^"']+)["'])?>([^<>]+)<\/a>/;iZ.prototype.show=function(){iZ.aa.show.call(this);jZ(this,function(a){a.show()})};
iZ.prototype.hide=function(){iZ.aa.hide.call(this);jZ(this,function(a){a.hide()})};
iZ.prototype.C=function(a){if(g.eZ(a,this.o,!ON(g.Y(this.o)))){a={as3:!1,html5:!0,player:!0,cpn:this.o.ia().clientPlaybackNonce};var b=this.o;b.za("onFeedbackArticleRequest",{articleId:3037019,helpContext:"player_error",productData:a});b.isFullscreen()&&g.QU(b)}};g.ra(mZ);var P1=g.v("yt.player.utils.VideoTagPool.instance")||mZ.getInstance();g.qa("yt.player.utils.VideoTagPool.instance",P1,void 0);g.h=mZ.prototype;g.h.Hw=function(a){if(!(this.g.length>=a)){a-=this.g.length;for(var b=0;b<a;b++)pZ(this)}};
g.h.pH=function(a,b){if(this.g.length)return this.g.pop();var c=pZ(this,a,b);a||g.nb(this.g,c);return c};
g.h.aS=function(a){if(a&&g.gb(this.o,a)){a.src&&(OM&&0<a.readyState&&(a.currentTime=Math.max(nqa,0)),a.removeAttribute("src"),a.load(),a.g&&a.g.o&&(a.g&&a.g.dispose(),a.g=null));for(var b in AF)AF[b][0]==a&&g.DF(b);g.nb(this.o,a);g.nb(this.A,a)}};
g.h.sI=function(a){return this.g.length>=(a||1)};
g.h.kG=function(){for(var a=this.A.length-1;0<=a;a--)oZ(this,this.A[a]);this.g.length==this.o.length&&4<=this.g.length||(4>this.o.length?this.Hw(4):(this.g=[],(0,g.G)(this.o,function(a){oZ(this,a)},this)))};
mZ.prototype.fillPool=mZ.prototype.Hw;mZ.prototype.getTag=mZ.prototype.pH;mZ.prototype.releaseTag=mZ.prototype.aS;mZ.prototype.hasTags=mZ.prototype.sI;mZ.prototype.activateTags=mZ.prototype.kG;g.z(qZ,g.W);g.z(sZ,g.W);sZ.prototype.show=function(){sZ.aa.show.call(this);this.G()};
sZ.prototype.hide=function(){sZ.aa.hide.call(this);this.F.stop()};
sZ.prototype.G=function(){var a=g.MU(this.o),b=U1(this.o),c=this.o.g,d=c.app.D.ra(),e=this.o.Z,f=a.Aq(),k=DT(a.ca,"bandwidth"),l=8*g.Za(k)/1024,m=DT(a.ca,"networkactivity"),n=g.Za(m)/1024,q=b.Da;var r=this.o;r=(r=r.o&&r.o.K)?r.C.ib():[0];var w=g.Za(r),A=DT(a.ca,"bufferhealth"),C=g.Za(A),w=120<w||0>w?"Uncertain":w.toFixed(1)+" s, "+(b.isLowLatencyLiveStream?"Optimized for Low Latency":"Optimized for Smooth Streaming");if(a.F){var B=a.F.g;B=B.g+" / "+B.o;UI(uT,fU(a))&&(B+=", SD only")}else B="";var M=
g.PN(),X=zP(b,a.getCurrentTime()),X=X?X.sequence:window.NaN,c=g.UU(c).infopanel,xa=b.videoId,db=b.clientPlaybackNonce,fa=b.clientPlaybackNonce?"":"display:none",f=f.totalVideoFrames?""+(f.droppedVideoFrames||0)+"/"+f.totalVideoFrames:"-",uc=a.B?a.B.va:"",eb;a:{if(b.Ch&&(eb=b.Ch.match(/url=(https?)/))&&2==eb.length){eb=eb[1];break a}eb=""}d={video_id:xa,cpn:db,cpn_style:fa,mime:"",dash:"no",dropped_frames:f,stream_host:uc,stream_type:eb||e.ha,dimensions:d.clientWidth+" x "+d.clientHeight+(1<M?" * "+
M:""),resolution:d.videoWidth+" x "+d.videoHeight,volume:Math.round(this.o.J.getVolume())+"%",bandwidth_kbps:l.toFixed(0)+" Kbps",buffer_health_seconds:C.toFixed(1)+" s",live_latency_style:q?"":"display:none",live_latency_message:w,drm_style:B?"":"display:none",drm:B,sequence_number:X,sequence_number_style:"display:none",network_activity_bytes:n.toFixed(0)+" KB",shader_info:c,shader_info_style:c?"":"display:none"};b.Oa&&(e=MI(b.Oa)?"yes":"no",e+=" ("+II(b.Oa),b.yd&&MI(b.Oa)&&(e+="/"+II(b.yd)),d.dash=
e+")",d.mime=b.Oa.mimeType,e=b.Oa.video.fps,1<e&&(d.resolution+="@"+e),b.Oa.video.g||b.Oa.video.primaries?(e=b.Oa.video.g||"unknown","smpte2084"==e?e+=" (PQ)":"arib-std-b67"==e&&(e+=" (HLG)"),d.color=e+" / "+(b.Oa.video.primaries||"unknown"),d.color_style=""):d.color_style="display:none");(a=cU(a))&&a.video&&(d.optimal_resolution=a.video.width+" x "+a.video.height,1<a.video.fps&&(d.optimal_resolution+="@"+a.video.fps));rZ(this.A,k);rZ(this.D,m);rZ(this.C,r);rZ(this.B,A);this.update(d);this.F.start()};g.z(tZ,g.K);tZ.prototype.get=function(a){var b=g.ab(this.o,function(b){return b[0]==a});
return b?b[1]:null};
tZ.prototype.set=function(a,b){this.remove(a,!0);for(this.o.push([a,b]);this.o.length>this.A;){var c=this.o.shift();this.g&&this.g(c[1])}};
tZ.prototype.remove=function(a,b){if(b&&this.g){var c=this.get(a);if(c)this.g(c);else return}ob(this.o,function(b){return b[0]==a})};
tZ.prototype.W=function(){this.g&&(0,g.G)(this.o,function(a){this.g(a[1])},this)};g.z(vZ,g.K);vZ.prototype.A=function(a){this.o=a[a.length-1].intersectionRatio};
vZ.prototype.W=function(){vZ.aa.W.call(this);this.o=null;this.g&&this.g.disconnect()};g.E3=wf(function(){var a=pa.AudioContext||pa.webkitAudioContext;try{return new a}catch(b){return b.name}});g.p(wZ,g.W);wZ.prototype.show=function(){g.W.prototype.show.call(this);this.o.ce()};
wZ.prototype.hide=function(){this.A.stop();g.W.prototype.hide.call(this)};g.p(g.CZ,g.W);g.p(DZ,g.CZ);g.h=DZ.prototype;g.h.show=function(){this.g||(this.C.R(this.o,"videodatachange",this.B.ce,this.B),this.C.R(this.o,"videoplayerreset",this.B.ce,this.B));g.CZ.prototype.show.call(this)};
g.h.hide=function(){this.C&&g.QF(this.C);g.CZ.prototype.hide.call(this)};
g.h.aM=function(a){var b=g.Y(this.o);b.experiments.g("disable_new_pause_state3")&&ON(b)&&(a=aQ(a.state)&&!aQ(a.g)||PU(this.o)&&g.V(a.state,2),g.ah(this.element,"transition-delay",a?"2s":""));this.B.ce()};
g.h.zR=function(){this.B.ce()};
g.h.ZL=function(){this.element.style.backgroundImage=""};
g.h.nz=function(){var a=g.NU(this.o);3==this.o.Xa()&&(a.yb()||g.V(a,4))?this.A.show():g.GU(this.o).M&&g.GU(this.o).M.BS()?this.A.show():FZ(this.A,this.o,a);this.g&&3!=this.A.g&&this.bT(this.o.Rf(),this.o.ia())};
g.h.bT=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c-0]=arguments[c];for(var c=g.Y(this.o),d,b=g.ka(b),e=b.next();!e.done;e=b.next())if(e=e.value,!(!e||e instanceof g.hP&&!e.videoId)){d=g.OU(this.o).Za();var f=g.PN(),k=d.width*f,f=d.height*f;if(1280<k||720<f)if(d=e.hc(c,"maxresdefault.jpg"))break;if(c.experiments.g("enable_popular_thumbnail_size_serving_for_embeds")){if(854<k||480<f)if(d=e.hc(c,"hq720.jpg")||e.hc(c,"maxresdefault.jpg"))break;if(640<k||360<f)if(d=e.hc(c,"pop2.jpg"))break;
if(560<k||315<f)if(d=e.hc(c,"sddefault.jpg"))break;if(480<k||270<f)if(d=e.hc(c,"pop1.jpg"))break}if(640<k||480<f)if(d=e.hc(c,"maxresdefault.jpg"))break;if(c.experiments.g("enable_embed_quality_improvement")){if(480<k||360<f)if(d=e.hc(c,"sddefault.jpg"))break;if(320<k||180<f)if(d=e.hc(c,"hqdefault.jpg"))break;if(120<k||90<f)if(d=e.hc(c,"mqdefault.jpg"))break}if(320<k||180<f)if(d=e.hc(c,"sddefault.jpg")||e.hc(c,"hqdefault.jpg")||e.hc(c,"mqdefault.jpg"))break;if(d=e.hc(c,"default.jpg"))break}this.D.style.backgroundImage=
d?"url("+d+")":""};g.p(HZ,g.W);HZ.prototype.C=function(a){var b=g.Y(this.o);b.experiments.g("disable_new_pause_state3")&&ON(b)&&g.ah(this.element,"transition-delay",aQ(a.state)&&!aQ(a.g)?"2s":"");GZ(this,a.state)};g.p(JZ,g.OF);JZ.prototype.C=function(){this.B();var a=g.Y(this.U),b=this.U.ia(),c=[];a.J||c.push({src:b.hc(a,"mqdefault.jpg"),sizes:"320x180"});this.g.metadata=new window.MediaMetadata({title:b.title,artist:b.author,artwork:c});a=PU(this.U);this.o.has("nexttrack")!=a&&(c=b=null,a&&(b=(0,g.y)(function(){xZ(this.A,dE(),g.T("YTP_NEXT"));this.U.qj()},this),c=(0,g.y)(function(){BZ(this.A);
this.U.Uk()},this)),IZ(this,"nexttrack",b),IZ(this,"previoustrack",c))};
JZ.prototype.B=function(){var a=g.NU(this.U);a=a.isError()?"none":$P(a)?"playing":"paused";this.g.playbackState=a};
JZ.prototype.W=function(){this.g.playbackState="none";this.g.metadata=null;for(var a=g.ka(this.o),b=a.next();!b.done;b=a.next())IZ(this,b.value,null);g.OF.prototype.W.call(this)};g.p(KZ,g.W);KZ.prototype.O=function(a,b){LZ(this,b);this.D&&MZ(this,this.D)};
KZ.prototype.M=function(a){var b=this.U.ia();this.A!=b.videoId&&LZ(this,b);this.o&&MZ(this,a.state);this.D=a.state};
KZ.prototype.K=function(){this.C.hide();this.A&&(this.B[this.A]=(this.B[this.A]||0)+((0,g.F)()-this.G));this.G=0};g.p(OZ,g.W);OZ.prototype.hide=function(){this.o.stop();this.B.style.display="none";g.W.prototype.hide.call(this)};
OZ.prototype.C=function(a){NZ(this,a.state)};
OZ.prototype.D=function(){NZ(this,g.NU(this.A))};
OZ.prototype.F=function(){this.B.style.display="block"};g.p(PZ,g.xV);g.h=PZ.prototype;g.h.show=function(){var a=RZ(this);g.xV.prototype.show.call(this);this.da&&(this.J.R(window,"blur",this.Sb),this.J.R(window.document,"click",this.uM));a||this.Y("show",!0)};
g.h.hide=function(){var a=RZ(this);g.xV.prototype.hide.call(this);QZ(this);a&&this.Y("show",!1)};
g.h.Me=function(a,b){this.C=a;this.M.show();b?(this.K||(this.K=this.J.R(this.U,"appresize",this.yv)),this.yv()):this.K&&(this.J.Ca(this.K),this.K=null);a&&(a.getAttribute("aria-haspopup"),a.setAttribute("aria-expanded",!0),window.document.activeElement&&g.xe(a,window.document.activeElement)&&this.focus())};
g.h.yv=function(){A1(g.GU(this.U).D,this.element,this.C)};
g.h.Sb=function(){var a=RZ(this);QZ(this);this.M.hide();a&&this.Y("show",!1)};
g.h.Ah=function(a,b){RZ(this)?this.Sb():this.Me(a,b)};
g.h.uM=function(a){var b=IF(a);b&&(g.xe(this.element,b)||this.C&&g.xe(this.C,b)||!g.zV(a))||this.Sb()};g.p(SZ,PZ);SZ.prototype.B=function(a){a?(this.A||(this.A=!0,g.VU(this.o,"mutedAutoplayImpression",{})),this.Me()):this.Sb()};
SZ.prototype.onClick=function(){g.VU(this.o,"mutedAutoplayClick",{videoPlayedSeconds:this.o.getCurrentTime()-this.o.ia().Wx});this.o.yg()};g.p(TZ,g.OF);g.h=TZ.prototype;g.h.init=function(){var a=g.NU(this.g);this.ro(a);this.Gi();this.Bb()};
g.h.jz=function(a,b){if(this.va!=b.videoId){this.va=b.videoId;var c=this.B;c.P=b&&0<b.Kh.length?5E3:3E3;c.qc(512,!0);this.Gi()}};
g.h.SP=function(){this.jz(0,this.g.ia())};
g.h.Jj=function(){var a=g.XU(this.g)&&g.YU(this.g);(a=this.ua||a)||(a=g.GU(this.g).F,a=!!a&&a.kL());return a||this.jb||this.g.app.Z.Yb};
g.h.Hg=function(){var a=!this.Jj();g.S(this.g.getRootNode(),"ytp-menu-shown",!a);var b=this.ba,a=!a;(b.B=a)?b.hide():FZ(b.A,b.o,g.NU(b.o))};
g.h.SL=function(a){if(!g.xe(this.g.getRootNode(),a))return!1;for(;a&&!g.De(a);)a=a==this.g.getRootNode()?null:g.we(a);return!!a};
g.h.ys=function(a){var b=this.g.getRootNode();g.S(b,"ytp-autohide",a);a&&(this.M=!1,g.Ip(b,"ytp-touch-mode"));b=this.g;a=!a;b.za("onVideoAreaChange");b.za(a?"onShowControls":"onHideControls")};
g.h.uQ=function(a){if(aQ(g.NU(this.g))&&!g.Y(this.g).xc){var b=this.g.ia();b.videoId&&this.g.Ry(FP(b))}this.B.o||UZ(this,IF(a))||RZ(this.ca)||(g.NU(this.g),g.LF(a));this.M=!0;g.R(this.g.getRootNode(),"ytp-touch-mode");this.B.qc(2,!0)};
g.h.qQ=function(a){g.zV(a)&&RZ(this.ca)?(this.ca.onClick(),2==this.g.Xa()&&this.g.fd()):UZ(this,IF(a))||(this.B.qc(2,!0),g.zV(a)&&(this.Km()?g.LF(a):(a=g.NU(this.g),g.V(a,2)&&IU(this.g)||yZ(this.F,!$P(a)),g.Y(this.g).sa&&!aQ(a)?this.ha.isActive()?(this.F.hide(),this.ha.stop()):this.ha.start():this.kz())))};
g.h.kz=function(){var a=g.NU(this.g);g.V(a,2)&&IU(this.g)||($P(a)?this.g.sd():(this.g.fd(),window.document.activeElement==this.ba.element&&this.g.getRootNode().focus()))};
g.h.rQ=function(a){UZ(this,IF(a))||3!=this.g.Xa()&&g.QU(this.g)};
g.h.sQ=function(a){VZ(this,.3,a.scale);g.LF(a)};
g.h.tQ=function(a){VZ(this,.1,a.scale)};
g.h.Bb=function(){var a=this.ee(),b=g.OU(this.g).Za(),c=this.g.isFullscreen(),d=this.g.getRootNode();g.Y(this.g).experiments.g("autohide_resize_killswitch")||g.UE&&$Y(this.B);g.S(d,"ytp-fullscreen",c);g.S(d,"ytp-small-mode",!a&&(480>b.width||270>b.height));g.S(d,"ytp-big-mode",a);this.D&&hZ(this.D,b)};
g.h.WP=function(a){this.ro(a.state);this.Gi()};
g.h.Gi=function(){var a=2==this.g.Xa(),b=!0;if(a){var b=g.GU(this.g).o,c;if(c=U1(b.app).isListed)b=b.o,c=null!=b.g&&null!=I(b.g,1)&&null!=I(Uc(b.g),4)&&I(Nc(Uc(b.g),ad,4),1)?!1:!0;b=c}c=g.Y(this.g);var d=c.experiments.g("embed_show_infobar_on_playback")&&c.A&&!c.F&&5==this.g.app.M,a=!!this.va&&!g.HU(this.g)&&(a?b:c.Qc||this.g.isFullscreen()||d);this.O!=a&&(this.O=a,g.S(this.g.getRootNode(),"ytp-hide-info-bar",!a))};
g.h.ro=function(a){var b=aQ(a);b!=this.Hb&&(this.Hb=b,this.Ua&&this.Ca(this.Ua),this.Ua=this.R(g.OU(this.g),"touchstart",this.uQ,void 0,b));var c;(c=a.yb()&&!g.V(a,32))||(c=g.GU(this.g).O,c=!!c&&c.mL());this.B.qc(128,!c);c=3==this.g.Xa();this.B.qc(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.Bb(this.sa,d)||(g.Jp(c,this.sa),this.sa=d,g.Hp(c,d));d=g.Y(this.g);var e=g.V(a,2);g.S(c,"ytp-hide-controls",("3"==d.C?!e:"1"!=d.C)||b);g.S(c,"ytp-native-controls","3"==d.C&&!b&&!e);if(g.V(a,128)){this.D||(this.D=new iZ(this.g),g.L(this,this.D),this.D.Ia(c),g.hV(this.g,this.D.element,5));b=this.D;a=a.g;for(c=0;c<b.B.length;c++)b.Ca(b.B[c]);b.B=[];c=a.messageKey;d=g.Y(b.o);if("YTP_ERROR_GENERIC_WITHOUT_LINK"!=c||d.zc)if("YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK_FLASH"==c||"YTP_HTML5_PROTECTED_FLASH_FALLBACK"==
c)b.dc(kZ(b,c,"https://get.adobe.com/flashplayer/",!1,!0));else if("YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK"!=c||d.zc){a=a.message.split(sqa);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({H:"br"}),c.push(e[f]);d<a.length&&c.push({H:"a",T:{href:a[d],target:a[d+1]},L:[a[d+2]]})}b.dc({H:"span",L:c})}else b.dc(kZ(b,"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK","//"+KN(d)+"/html5"));else if(b.dc(kZ(b,"YTP_ERROR_GENERIC_WITH_LINK_AND_CPN","//support.google.com/youtube/?p=player_error1",
!0)),d.ka&&!d.A)for(a=(0,g.y)(b.C,b),d=b.element.getElementsByTagName("a"),e=0;e<d.length;e++)c=b.R(d[e],"click",a),b.B.push(c);this.D.show()}else this.D&&(this.D.dispose(),this.D=null)};
g.h.Km=function(){return g.XU(this.g)&&g.YU(this.g)?(this.g.Wk(!1,!1),!0):g.HU(this.g)?(g.JU(this.g,!0),!0):!1};
g.h.TL=function(a){this.jb=a;this.Hg()};
g.h.ee=function(){return!1};g.z(WZ,g.xV);WZ.prototype.B=function(){var a=this.A.oh(),a=tW(new rW(a.seekableStart,a.seekableEnd),a.current,0);this.D.style.width=100*a+"%"};
WZ.prototype.C=function(){g.AN(g.Y(this.A))||(2==this.A.Xa()?this.o||(this.show(),this.o=this.R(this.A,"progresssync",this.B),this.B()):this.o&&(this.hide(),this.Ca(this.o),this.o=null))};g.p(ZZ,g.W);ZZ.prototype.W=function(){this.o&&this.o();g.W.prototype.W.call(this)};
ZZ.prototype.D=function(){g.fG("iv-button-mouseover")};
ZZ.prototype.C=function(a){g.XU(this.U);var b=g.Gp(this.U.getRootNode(),"ytp-cards-teaser-shown");g.fG("iv-teaser-clicked",b);a=0==a.screenX&&0==a.screenY;this.U.Wk(!g.YU(this.U),a,"YOUTUBE_DRAWER_MANUAL_OPEN")};
g.p(YZ,g.W);g.h=YZ.prototype;g.h.gC=function(){g.XU(this.U)&&g.YU(this.U)&&this.g&&3!=this.C.g&&this.al()};
g.h.VL=function(){this.al();g.fG("iv-teaser-clicked",!!this.o);this.U.Wk(!0,!1,"YOUTUBE_DRAWER_MANUAL_OPEN")};
g.h.UL=function(){g.fG("iv-teaser-mouseover");this.o&&this.o.stop()};
g.h.MQ=function(a){this.o||!a||g.YU(this.U)||this.A&&this.A.isActive()||(Pna(this,a),g.fG("iv-teaser-shown"))};
g.h.lz=function(){this.G.stop();this.o&&this.o.isActive()&&this.J.start()};
g.h.th=function(){this.J.stop();this.o&&!this.o.isActive()&&this.G.start()};
g.h.xP=function(){this.o&&this.o.stop()};
g.h.vP=function(){this.al()};
g.h.al=function(){!this.o||this.B&&this.B.isActive()||(this.C.hide(),g.Ip(this.U.getRootNode(),"ytp-cards-teaser-shown"),this.B=new g.rt(function(){for(var a=g.ka(this.D),b=a.next();!b.done;b=a.next())this.Ca(b.value);this.D=[];this.o&&(this.o.dispose(),this.o=null);XZ(this.F,!0)},330,this),this.B.start())};
g.h.W=function(){var a=this.U.getRootNode();a&&g.Ip(a,"ytp-cards-teaser-shown");g.Me(this.A,this.B,this.o);g.W.prototype.W.call(this)};g.p(g.b_,g.xV);g.b_.prototype.Fa=function(a,b){g.xV.prototype.Fa.call(this,a,b);this.Y("size-change")};g.p(d_,g.xV);d_.prototype.ga=function(){this.Y("size-change")};
d_.prototype.focus=function(){this.P.focus()};
d_.prototype.ha=function(){this.Y("back")};g.p(g.e_,d_);g.e_.prototype.X=function(){this.D.Y("size-change")};
g.e_.prototype.focus=function(){for(var a=0,b=0;b<this.Ma.length;b++)if("true"==this.Ma[b].element.getAttribute("aria-checked")){a=b;break}this.Ma[a].focus()};g.p(g.i_,PZ);g.h=g.i_.prototype;g.h.show=function(){PZ.prototype.show.call(this);this.Cl()};
g.h.hide=function(){PZ.prototype.hide.call(this);1<this.o.length&&g.m_(this)};
g.h.Cl=function(){n_(this);this.g&&(j_(this),g.sh(this.element,this.size))};
g.h.Oe=function(){var a=this.o.pop();k_(this,a,this.o[this.o.length-1],!0)};
g.h.DS=function(a,b,c){this.F.dispose();this.F=null;g.R(this.element,"ytp-popup-animating");c?(g.R(a.element,"ytp-panel-animate-forward"),g.Ip(b.element,"ytp-panel-animate-back")):(g.R(a.element,"ytp-panel-animate-back"),g.Ip(b.element,"ytp-panel-animate-forward"));g.sh(this.element,this.size);this.D=new g.rt(g.Aa(this.sN,a,b),250,this);this.D.start()};
g.h.sN=function(a){g.Ip(this.element,"ytp-popup-animating");a.detach();g.Jp(a.element,["ytp-panel-animate-back","ytp-panel-animate-forward"]);this.D.dispose();this.D=null};
g.h.mM=function(a){if(!g.JF(a))switch(g.FF(a)){case 27:this.Sb();g.LF(a);break;case 37:1<this.o.length&&this.Oe();g.LF(a);break;case 39:g.LF(a)}};
g.h.focus=function(){this.o[this.o.length-1].focus()};
g.h.W=function(){PZ.prototype.W.call(this);this.F&&this.F.dispose();this.D&&this.D.dispose()};g.p(o_,g.b_);o_.prototype.o=function(a){g.JF(a)||39!=g.FF(a)||(this.element.click(),g.LF(a))};g.p(q_,g.b_);q_.prototype.J=function(){r_(this,!this.o);this.Y("select",this.o)};
q_.prototype.getValue=function(){return this.o};g.p(u_,g.e_);g.h=u_.prototype;g.h.lO=function(){aR(this.G.element)};
g.h.FO=function(){v_(this,this.U.Qk(!0))&&xZ(this.M.F,{H:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{H:"path",T:{d:"M13.5 24.3L7.2 18.0l-2.1 2.1L13.5 28.5 31.5 10.5l-2.1-2.1L13.5 24.3z",fill:"#fff"}}]})};
g.h.GO=function(){v_(this,this.U.Jy())&&xZ(this.M.F,g.TD?{H:"div",ea:["ytp-icon","ytp-icon-code"]}:{H:"svg",T:{height:"100%",viewBox:"0 0 36 36",width:"100%"},L:[{H:"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.lV(this.U,this.o)};
g.h.JO=function(){v_(this,this.U.getVideoUrl(!0,!0))&&xZ(this.M.F,cE());g.lV(this.U,this.B)};
g.h.IO=function(){v_(this,this.U.getVideoUrl(!1,!0))&&xZ(this.M.F,cE());g.lV(this.U,this.A)};
g.h.aP=function(a){r_(this.F,a)};
g.h.bP=function(){var a=this.F.getValue();aoa(this.U.app,a);this.K.Sb();g.lV(this.U,this.F)};
g.h.kQ=function(a){var b=g.MU(this.U.app);b&&b.Sj(new g.UN("feedback",!1,{gpu:TT()}));if(g.eZ(a,this.U,!ON(g.Y(this.U)))){a=this.U;var b=b={as3:!1,html5:!0,player:!0},c=a.bx();c.debug_error&&(b.player_error=c.debug_error.errorCode,b.player_error_details=c.debug_error.errorDetail);b.debug_text=a.Qk(!0);a.za("onFeedbackStartRequest",b);a.isFullscreen()&&g.QU(a)}this.K.Sb()};
g.h.DQ=function(){this.U.Oy();this.K.Sb()};
g.h.XL=function(a,b){t_(this,b)};g.p(y_,g.i_);g.h=y_.prototype;g.h.show=function(){this.G||(this.G=new u_(this.A,this.X,this),g.L(this,this.G),g.l_(this,this.G));g.i_.prototype.show.call(this);g.mV(this.A,this,!0);w_(this.G,!0)};
g.h.hide=function(){x_(this);g.i_.prototype.hide.call(this);g.mV(this.A,this,!1);this.G&&w_(this.G,!1)};
g.h.kO=function(a){var b=IF(a);this.g||b&&(g.Fe(b,"a")||g.Ge(b,"ytp-no-contextmenu"))||(g.LF(a),z_(this),this.element.style.left="",this.element.style.top="",a=GF(a),a.x++,a.y++,this.Me(),b=g.mh(window.document.body),a=g.hD(a,this.size,0,void 0,b,5),g.hh(this.element,g.Sg(a.rect)),g.QF(this.B),this.B.R(window.document,"contextmenu",this.tO),this.B.R(this.A,"fullscreentoggled",this.YL),this.B.R(this.A,"pageTransition",this.IP))};
g.h.tO=function(a){g.JF(a)||g.xe(this.element,IF(a))||this.Sb()};
g.h.YL=function(){this.Sb();z_(this)};
g.h.IP=function(){this.Sb()};var F3,tqa;F3=[{option:g.v3.tp,message:"YTP_COLOR_WHITE"},{option:g.v3.dG,message:"YTP_COLOR_YELLOW"},{option:g.v3.zE,message:"YTP_COLOR_GREEN"},{option:g.v3.iE,message:"YTP_COLOR_CYAN"},{option:g.v3.HD,message:"YTP_COLOR_BLUE"},{option:g.v3.RE,message:"YTP_COLOR_MAGENTA"},{option:g.v3.Nu,message:"YTP_COLOR_RED"},{option:g.v3.Yo,message:"YTP_COLOR_BLACK"}];tqa=[{option:0,text:"0%"},{option:.25,text:"25%"},{option:.5,text:"50%"},{option:.75,text:"75%"},{option:1,text:"100%"}];
g.D_=[{option:"fontFamily",message:"YTP_FONT_FAMILY",options:[{option:g.w3.Hu,message:"YTP_FONT_FAMILY_MONO_SERIF"},{option:g.w3.Mu,message:"YTP_FONT_FAMILY_PROP_SERIF"},{option:g.w3.Gu,message:"YTP_FONT_FAMILY_MONO_SANS"},{option:g.w3.mp,message:"YTP_FONT_FAMILY_PROP_SANS"},{option:g.w3.CASUAL,message:"YTP_FONT_FAMILY_CASUAL"},{option:g.w3.CURSIVE,message:"YTP_FONT_FAMILY_CURSIVE"},{option:g.w3.qp,message:"YTP_FONT_FAMILY_SMALL_CAPS"}]},{option:"color",message:"YTP_FONT_COLOR",options:F3},{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:F3},{option:"backgroundOpacity",message:"YTP_BACKGROUND_OPACITY",options:tqa},{option:"windowColor",message:"YTP_WINDOW_COLOR",options:F3},{option:"windowOpacity",message:"YTP_WINDOW_OPACITY",options:tqa},{option:"charEdgeStyle",message:"YTP_CHAR_EDGE_STYLE",
options:[{option:g.u3.NONE,message:"YTP_EDGE_STYLE_NONE"},{option:g.u3.DROP_SHADOW,message:"YTP_EDGE_STYLE_DROP_SHADOW"},{option:g.u3.RAISED,message:"YTP_EDGE_STYLE_RAISED"},{option:g.u3.DEPRESSED,message:"YTP_EDGE_STYLE_DEPRESSED"},{option:g.u3.hv,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(A_,g.OF);g.h=A_.prototype;
g.h.rx=function(a){var b=!1,c=g.FF(a),d=IF(a),e=!a.altKey&&!a.ctrlKey&&!a.metaKey,f=!1,k=!1,l=g.Y(this.g);g.JF(a)?(e=!1,k=!0):l.Lg&&(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.GU(this.g).B)&&e&&!f&&d.B&&d.B.g)switch(c){case 65:case 68:case 87:case 83:case 107:case 221:case 109:case 219:f=d.B.lx(c)}l.zc||!e||f||(f=String.fromCharCode(c).toLowerCase(),this.A+=f,0=="awesome".indexOf(this.A)?(f=!0,7==this.A.length&&g.Lp(this.g.getRootNode(),
"ytp-color-party")):(this.A=f,f=0=="awesome".indexOf(this.A)));if(e&&!f){switch(c){case 32:k=!$P(g.NU(this.g));yZ(this.o,k);k?this.g.fd():this.g.sd();k=f=!0;break;case 37:this.g.Od()&&(xZ(this.o,jE()),this.g.fe(-5*this.g.Wc()),k=f=!0);break;case 39:this.g.Od()&&(xZ(this.o,bE()),this.g.fe(5*this.g.Wc()),k=f=!0);break;case 38:k=Math.min(this.g.getVolume()+5,100);zZ(this.o,k,!1);this.g.setVolume(k);k=f=!0;break;case 40:k=Math.max(this.g.getVolume()-5,0);zZ(this.o,k,!0);this.g.setVolume(k);k=f=!0;break;
case 27:this.D()&&(k=f=!0);break;case 36:this.g.wc(0);k=f=!0;break;case 35:this.g.wc(window.Infinity),k=f=!0}if("3"!=l.C)switch(c){case 67:g.GU(this.g).g&&(k=this.g.Ac("captions","track"),(f=g.GU(this.g).g)&&f.cC(),f=this.o,k=k&&k.displayName?g.T("YTP_SUBTITLES_OFF"):g.T("YTP_SUBTITLES_ON"),xZ(f,aE(),k),k=f=!0);break;case 79:E_(this,"textOpacity")&&(f=!0);break;case 87:E_(this,"windowOpacity")&&(f=!0);break;case 187:E_(this,"fontSizeIncrement",!1,!0)&&(f=!0);break;case 189:E_(this,"fontSizeIncrement",
!0,!0)&&(f=!0)}var n;48<=c&&57>=c?n=c-48:96<=c&&105>=c&&(n=c-96);null!=n&&(k=this.g.oh(),this.g.wc(n/10*(k.seekableEnd-k.seekableStart)+k.seekableStart),k=f=!0)}}b&&this.Ys(!0);(b||k)&&this.C.qc(2,!0);(f||e&&C_(this,c,a.shiftKey))&&g.LF(a);l.Fb&&(a={keyCode:g.FF(a),altKey:a.altKey,ctrlKey:a.ctrlKey,metaKey:a.metaKey,shiftKey:a.shiftKey,handled:g.JF(a),fullscreen:this.g.isFullscreen()},this.g.za("onKeyPress",a))};
g.h.tx=function(a){a=g.FF(a);var b=g.GU(this.g).B;b&&b.B&&b.B.g&&b.B.ox(a);9==a&&this.Ys(!0)};
g.h.Ys=function(a){g.S(this.g.getRootNode(),"ytp-probably-keyboard-focus",a);g.S(this.F.element,"ytp-probably-keyboard-focus",a)};
g.h.pz=function(a){g.GU(this.g).g&&this.g.Ed("captions","sampleSubtitles",a)};
g.h.W=function(){g.ut(this.B);g.OF.prototype.W.call(this)};g.p(G_,g.W);g.h=G_.prototype;g.h.hide=function(){g.Ip(this.o.getRootNode(),"ytp-expand-pause-overlay");g.W.prototype.hide.call(this)};
g.h.UN=function(){this.X=!0;g.Ip(this.o.getRootNode(),"ytp-expand-pause-overlay");this.G.focus()};
g.h.WN=function(){this.X=!1;g.R(this.o.getRootNode(),"ytp-expand-pause-overlay")};
g.h.nM=function(){I_(this,this.C-this.F)};
g.h.oM=function(){I_(this,this.C+this.F)};
g.h.YN=function(a,b){if(g.eZ(b,this.o,this.fa)){var c=this.A[a],d=c.jc().videoId,e=c.getPlaylistId();g.r2(this.o.app,d,c.Sd,e,void 0,void 0)}};
g.h.pM=function(){this.ks(g.OU(this.o).Za())};
g.h.qM=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.A.length&&(this.X||(g.R(this.o.getRootNode(),"ytp-expand-pause-overlay"),H_(this)),this.J.show()):this.J.hide())};
g.h.ks=function(a){var b=16/9,c=this.da.ee();a=a.width-(c?136:68);for(var c=Math.ceil(a/(c?320:192)),c=(a-8*c)/c,b=Math.floor(c/b),d=0;d<this.D.length;d++){var e=this.D[d].wa["ytp-suggestion-image"];e.style.width=c+"px";e.style.height=b+"px"}this.M.style.height=b+"px";this.P=c;this.F=a;this.C=0;this.hC(0);H_(this)};
g.h.rM=function(){var a=this.o.ia();a.cg?(a=(0,g.se)(a.cg,function(a){return a&&!a.list}),this.A=(0,g.H)(a,function(a){return g.uZ(a)})):this.A.length=0;
Rna(this)};
g.h.hC=function(a){this.M.scrollLeft=-a};
g.p(F_,g.K);F_.prototype.start=function(a,b,c){this.g=a;this.G=b;this.D=c;this.F=(0,g.sG)();this.A()};
F_.prototype.A=function(){var a=(0,g.sG)()-this.F,b=this.B;a=Hia(b,a/this.D);if(0==a)b=b.F;else if(1==a)b=b.G;else var c=Ld(b.F,b.C,a),d=Ld(b.C,b.D,a),b=Ld(b.D,b.G,a),c=Ld(c,d,a),d=Ld(d,b,a),b=Ld(c,d,a);b=g.Id(b,0,1);this.C((this.G-this.g)*b+this.g);1>b&&this.o.start()};g.p(J_,g.W);J_.prototype.A=function(a){g.eZ(a,this.o)&&this.o.Ky(this.kc)};g.p(K_,PZ);g.h=K_.prototype;g.h.show=function(){PZ.prototype.show.call(this);this.F.R(this.A,"videodatachange",this.ls);this.F.R(this.A,"onPlaylistUpdate",this.ls);this.ls()};
g.h.hide=function(){PZ.prototype.hide.call(this);g.QF(this.F);L_(this,null)};
g.h.ls=function(){L_(this,this.A.Rf())};
g.h.ko=function(){var a=this.o.Cn;if(a==this.G)this.B.element.setAttribute("aria-checked",!1),this.B=this.D[this.o.Zd()];else{for(var b=g.ka(this.D),c=b.next();!c.done;c=b.next())c.value.dispose();b=this.o.getLength();this.D=[];for(c=0;c<b;c++){var d=new J_(this.A,this.o,c);this.D.push(d);d.Ia(this.Ma)}this.B=this.D[this.o.Zd()];this.G=a}this.B.element.setAttribute("aria-checked",!0)};
g.h.OQ=function(a){var b=this.A.getVideoUrl(!0);fZ(b,this.A,a)};
g.h.focus=function(){this.B.focus()};
g.h.W=function(){this.hide();PZ.prototype.W.call(this)};g.p(M_,g.W);M_.prototype.A=function(){g.S(this.element,"ytp-playlist-menu-button-tiny",400>g.OU(this.B).Za().width);this.o&&2!=this.B.Xa()?(this.update({text:g.T("YTP_PLAYLIST_POSITION",{CURRENT_POSITION:this.o.Zd()+1,PLAYLIST_LENGTH:this.o.getLength()}),title:g.T("YTP_PLAYLIST_NAME",{PLAYLIST_NAME:this.o.title})}),this.g||(this.show(),l0(this.C))):this.g&&(this.hide(),l0(this.C))};
M_.prototype.D=function(){this.o&&this.o.unsubscribe("shuffle",this.A,this);(this.o=this.B.Rf())&&this.o.subscribe("shuffle",this.A,this);this.A()};g.p(N_,g.W);N_.prototype.B=function(a){this.Lb(g.V(a.state,2))};
N_.prototype.A=function(){g.NU(this.o);this.o.fd()};g.p(O_,PZ);g.h=O_.prototype;g.h.LP=function(a){a=IF(a);g.xe(this.O,a)||g.xe(this.F,a)||this.Ah()};
g.h.Sb=function(){PZ.prototype.Sb.call(this);this.A.Oi(this.element)};
g.h.show=function(){var a=this.g;PZ.prototype.show.call(this);this.zz();a||this.o.za("onSharePanelOpened")};
g.h.zz=function(){g.R(this.element,"ytp-share-panel-loading");g.Ip(this.element,"ytp-share-panel-fail");var a=this.o.ia(),b=this.o.getPlaylistId(),c=b&&this.G.checked;g.S(this.element,"ytp-share-panel-has-playlist",!!b);var d={action_get_share_info:1,feature:"player_embedded",video_id:a.videoId},e=g.Y(this.o);e.Ec&&(d.authuser=e.Ec);e.pageId&&(d.pageid=e.pageId);c&&(d.list=b);g.LE(g.Y(this.o).baseYtUrl+"share_ajax",{method:"GET",onError:(0,g.y)(this.yz,this),Ob:(0,g.y)(function(a,b){if(b){if(b.actions&&
YF(b.actions),!this.na()){g.Ip(this.element,"ytp-share-panel-loading");P_(this);for(var c=b.links,d=0,e=0;e<c.length&&3>d;e++){var f=c[e],k=Sna(f.img);k&&(k=new g.W({H:"a",ea:["ytp-share-panel-service-button","ytp-button"],T:{href:f.url,target:"_blank",title:f.sname},L:[k]}),k.V("click",g.Aa(this.xQ,f.url)),g.Ke(k,$Z(this.A,k.element)),this.B.push(k),d++)}c=new g.W({H:"a",ea:["ytp-share-panel-service-button","ytp-button"],L:[{H:"span",N:"ytp-share-panel-service-button-more",L:[g.TD?{H:"div",ea:["ytp-icon",
"ytp-icon-share-more"]}:{H:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},L:[{H:"rect",T:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{H:"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.T("YTP_MORE")}});c.V("click",(0,g.y)(this.sP,this,b.more));g.Ke(c,$Z(this.A,c.element));this.B.push(c);this.Fa("buttons",this.B)}}else this.yz()},this),
bd:d,withCredentials:!0});a=e.getVideoUrl(a.videoId,c?b:void 0,void 0,!0);this.Fa("link",a);this.Fa("linkText",a);aR(this.D)};
g.h.yz=function(){g.Ip(this.element,"ytp-share-panel-loading");g.R(this.element,"ytp-share-panel-fail")};
g.h.xQ=function(a,b){if(g.zV(b)){var c=void 0,c=void 0===c?{}:c;c.target=c.target||"YouTube";c.width=c.width||"600";c.height=c.height||"600";var d=c;d||(d={});var c=window;var e=a instanceof ud?a:xd("undefined"!=typeof a.href?a.href:String(a));var f=d.target||a.target,k=[];for(l in d)switch(l){case "width":case "height":case "top":case "left":k.push(l+"="+d[l]);break;case "target":case "noreferrer":break;default:k.push(l+"="+(d[l]?1:0))}var l=k.join(",");fc()&&c.navigator&&c.navigator.standalone&&
f&&"_self"!=f?(l=c.document.createElement("A"),g.Gd(l,e),l.setAttribute("target",f),d.noreferrer&&l.setAttribute("rel","noreferrer"),e=window.document.createEvent("MouseEvent"),e.initMouseEvent("click",!0,!0,c,1),l.dispatchEvent(e),c={}):d.noreferrer?(c=c.open("",f,l),e=vd(e),c&&(g.SN&&La(e,";")&&(e="'"+e.replace(/'/g,"%27")+"'"),c.opener=null,e=Hd(jd("b/12014412, meta tag with sanitized URL"),'<META HTTP-EQUIV="refresh" content="0; url='+Ja(e)+'">'),c.document.write(g.Ad(e)),c.document.close())):
c=c.open(vd(e),f,l);c&&(c.opener||(c.opener=window),c.focus());g.LF(b)}};
g.h.sP=function(a,b){fZ(a,this.o,b)&&this.o.za("SHARE_CLICKED")};
g.h.GM=function(a){!a&&RZ(this)&&this.Ah()};
g.h.focus=function(){this.D.focus()};
g.h.W=function(){PZ.prototype.W.call(this);P_(this)};g.p(Q_,g.W);Q_.prototype.F=function(){this.G.Ah(this.element,!1);g.lV(this.o,this)};
Q_.prototype.C=function(){var a=g.Y(this.o);this.Fa("icon",a.experiments.g("embed_new_share_icon")&&a.A?g.TD?{H:"div",ea:["ytp-icon","ytp-icon-ios-share"]}:{H:"svg",T:{height:"100%",version:"1.1",viewBox:"-6 -6 36 36",width:"100%"},L:[{H:"path",Qa:!0,N:"ytp-svg-fill",T:{d:"M16 5l-1.42 1.42-1.59-1.59V16h-1.98V4.83L9.42 6.42 8 5l4-4 4 4zm4 5v11c0 1.1-0.9 2-2 2H6c-1.11 0-2-0.9-2-2V10c0-1.11.89-2 2-2h3v2H6v11h12V10h-3V8h3c1.1 0 2 .89 2 2z"}}]}:g.TD?{H:"div",ea:["ytp-icon","ytp-icon-sharrow"]}:{H:"svg",
T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{H:"path",Qa:!0,N:"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"}}]});var a=a.Wl&&2!=this.o.Xa(),b=g.OU(this.o).Za().width;this.B=!!this.o.ia().videoId&&300<=b&&!a;g.S(this.A,"ytp-share-button-visible",this.B);a=480<b;b=g.Y(this.o);b.experiments.g("enable_share_button_title")&&
b.A&&(g.S(this.A,"ytp-show-share-title",a),this.Fa("share",a?g.T("YTP_SHARE"):""));g.mV(this.o,this,this.B&&this.D)};
Q_.prototype.W=function(){g.W.prototype.W.call(this);g.Ip(this.A,"ytp-share-button-visible")};g.p(R_,g.W);R_.prototype.B=function(){var a=g.MU(this.o.app);a&&a.o.g.webkitShowPlaybackTargetPicker()};
R_.prototype.A=function(){var a=g.MU(this.o.app);this.Lb(!!a&&a.Cc);this.Fa("icon",ZU(this.o)?g.TD?{H:"div",ea:["ytp-icon","ytp-icon-airplay-on"]}:{H:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{H:"path",Qa:!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.TD?{H:"div",ea:["ytp-icon","ytp-icon-airplay-off"]}:{H:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{H:"path",Qa:!0,N:"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(S_,g.xV);g.h=S_.prototype;g.h.dM=function(a){g.V(a.state,32)?T_(this,this.o.ia()):this.G.hide()};
g.h.On=function(){var a=this.o.oh(),b=a.current,c=bO(this.Kb,141),b=this.Kb.g[c].Vo(b);b!=this.M&&(c=dO(this.Kb,b,141),this.D=vW(this.ga,c,141,141,!0),g.hh(this.fa,(this.J-this.D.width)/2),this.M=b);g.ze(this.ha,g.yV(this.P?a.current-a.seekableEnd:a.current));g.DG(this.K);a=(0,g.y)(this.Eo,this);this.K=g.CG(a,1,void 0);this.O.aj()};
g.h.eM=function(a,b){T_(this,b)};
g.h.Eo=function(){g.N(this.A,!1);g.DG(this.K);var a=Math.round(.5*this.D.width),b=Math.round(.5*this.D.height),c=this.o.oh(),d=c.current/(c.seekableEnd-c.seekableStart),c=this.Kb.g[0].kD(),e=this.Kb.g[0].iu(),d=a*(e-c+1)*d-this.J/2,f=Math.floor(d/a)+c,e=Math.min(f+Math.min(20,Math.ceil(this.J/a)),e),f=Math.max(f,c),k;if(this.C>=f&&this.B<=e){for(k=this.C;k>e;k--)g.qe(this.A.children[k-this.B]);for(k=f-1;k>=this.B;k--)g.qe(this.A.children[k-this.B]);for(k=this.B-1;k>=f;k--)this.A.insertBefore(U_(this,
k,a,b),this.A.firstChild);k=this.C+1}else g.ne(this.A),k=f;for(;k<=e;k++){var l=U_(this,k,a,b);this.A.appendChild(l)}for(k=f;k<=e;k++)g.ah(this.A.children[k-f],"transform","translatex("+(-d+(k-c)*a)+"px)");this.B=f;this.C=e;g.N(this.A,!0)};
g.h.cM=function(){for(var a=this.B;a<=this.C;a++)fO(this.Kb,a,this.D.width)};
g.h.bM=function(){var a=g.OU(this.o).Za();this.J!=a.width&&(this.J=a.width,this.Kb&&(this.On(),this.Eo()))};
g.h.fM=function(a){this.element.style.g=a+"px"};
g.h.show=function(){g.xV.prototype.show.call(this);w1(this.da,!1)};
g.h.hide=function(){this.Kb&&T_(this,null);g.xV.prototype.hide.call(this);w1(this.da,!0)};
g.h.W=function(){T_(this,null);g.xV.prototype.W.call(this)};
S_.g=200;g.p(V_,g.W);g.h=V_.prototype;g.h.hM=function(a){g.V(a.state,32)?X_(this,this.o.ia()):this.g&&(g.V(a.state,16)||g.V(a.state,1))||this.B.hide()};
g.h.jM=function(a,b){X_(this,b)};
g.h.iM=function(){var a=g.NU(this.o);(g.V(a,32)||g.V(a,16))&&W_(this)};
g.h.gM=function(){this.C=window.NaN;W_(this)};
g.h.hide=function(){this.Kb&&X_(this,null);g.W.prototype.hide.call(this)};g.p(Z_,g.W);g.h=Z_.prototype;g.h.kM=function(){g.Y(this.A).sa?(g.WU(this.A,this.A.isFullscreen()?"fullscreen_exit":"fullscreen_enter"),g.QU(this.A)):this.o.Ah(this.element,!0)};
g.h.lA=function(){Y_(this);this.o.Me(this.element,!0)};
g.h.lM=function(){g.vF()==this.A.getRootNode()?this.C.start():(this.C.stop(),this.o&&this.o.hide())};
g.h.DG=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.lA()}};
g.h.oz=function(){this.Lb(gZ(this.A))};
g.h.HB=function(a){if(a){var b=g.TD?{H:"div",ea:["ytp-icon","ytp-icon-full-screen-close"]}:{H:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{H:"g",N:"ytp-fullscreen-button-corner-2",L:[{H:"path",Qa:!0,N:"ytp-svg-fill",T:{d:"m 14,14 -4,0 0,2 6,0 0,-6 -2,0 0,4 0,0 z"}}]},{H:"g",N:"ytp-fullscreen-button-corner-3",L:[{H:"path",Qa:!0,N:"ytp-svg-fill",T:{d:"m 22,14 0,-4 -2,0 0,6 6,0 0,-2 -4,0 0,0 z"}}]},{H:"g",N:"ytp-fullscreen-button-corner-0",L:[{H:"path",Qa:!0,N:"ytp-svg-fill",
T:{d:"m 20,26 2,0 0,-4 4,0 0,-2 -6,0 0,6 0,0 z"}}]},{H:"g",N:"ytp-fullscreen-button-corner-1",L:[{H:"path",Qa:!0,N:"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.T("YTP_EXIT_FULLSCREEN");window.document.activeElement==this.element&&this.A.getRootNode().focus()}else b=g.TD?{H:"div",ea:["ytp-icon","ytp-icon-full-screen"]}:{H:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{H:"g",N:"ytp-fullscreen-button-corner-0",L:[{H:"path",Qa:!0,N:"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"}}]},{H:"g",N:"ytp-fullscreen-button-corner-1",L:[{H:"path",Qa:!0,N:"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"}}]},{H:"g",N:"ytp-fullscreen-button-corner-2",L:[{H:"path",Qa:!0,N:"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"}}]},{H:"g",N:"ytp-fullscreen-button-corner-3",L:[{H:"path",Qa:!0,N:"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.T("YTP_FULLSCREEN");this.Fa("icon",
b);this.Fa("title",this.o?null:a);l0(this.D.o)};
g.h.W=function(){this.o||(this.B(),this.B=null);g.W.prototype.W.call(this)};g.p($_,PZ);g.h=$_.prototype;g.h.show=function(){var a=this.g;PZ.prototype.show.call(this);a||(this.B.R(this.o,"presentingplayerstatechange",this.hs),this.B.R(this.o,"videodatachange",this.hs),this.hs())};
g.h.hide=function(){this.B&&(g.QF(this.B),PZ.prototype.hide.call(this))};
g.h.hs=function(){var a=this.o.ia(),b=a.Kh,c;for(c=0;c<b.length;c++){var d=this.A[c];d||(d=new g.W({H:"button",ea:["ytp-multicam-menu-item","ytp-button"],T:{"aria-checked":"{{selected}}","data-id":"{{videoId}}"},L:[{H:"div",N:"ytp-multicam-menu-item-title",L:["{{cameraName}}"]}]}),d.V("click",g.Aa(this.XN,c),this),d.Ia(this.Ma),this.A[c]=d);var e=b[c],f=e.id;if(f!=d.element.getAttribute("data-id")){var k=e.thumbnail_url;!k&&f&&(k=MN(g.Y(this.o),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.A.length;)this.A.pop().dispose();c=g.NU(this.o);a=b.length||!a.Rb();$P(c)||g.V(c,4)||a||!RZ(this)||this.Ah()};
g.h.XN=function(a){this.o.ia();var b=this.o,c=this.o.ia().Kh[a];a=g.MU(b.app,1).g;var d=b.getCurrentTime();if(c.id==a.videoId)g.MU(b.app)!=g.MU(b.app,1)&&(c=b.app,zY(c,wW(c,1)),a.Da||b.wc(d));else{var e=b.app;zY(e,wW(e,4));l2(b.app,{videoId:c.id,title:a.title,start:a.Da?null:d,multifeed_metadata_list:a.ac.multifeed_metadata_list},4)}};
g.h.focus=function(){for(var a=this.o.ia(),b=a.Kh,c=0;c<b.length;c++)if(b[c].id==a.videoId){this.A[c].focus();break}};
g.h.W=function(){g.Me(this.A);PZ.prototype.W.call(this)};g.p(a0,g.W);a0.prototype.F=function(a){this.B("newdata"==a)};
a0.prototype.B=function(a){var b=this.o.ia(),c=b.Kh,d=g.NU(this.o),d=($P(d)||g.V(d,4))&&0<c.length;this.Lb(d);a&&(this.C=!0);if(d){this.C&&this.D.ce();a=null;for(var d="",e=0;e<c.length;e++)if(c[e].id==b.videoId){a=c[e].title;d=g.T("YTP_MULTICAM_INDEX",{CAMERA_INDEX:e+1,CAMERA_COUNT:c.length})+"\n";break}this.update({text:d+a,preview:b.hc(g.Y(this.o),"default.jpg")});l0(this.A)}else this.D.stop()};
a0.prototype.G=function(){y1(this.A,this.element,g.T("YTP_MORE_CAMERAS_AVAILABLE"));this.C=!1};g.z(b0,g.K);var uqa=new jC(0,0,.4,0,.2,1,1,1);b0.prototype.o=function(){var a=(0,g.sG)()-this.C,a=a<this.g?a/this.g:1;this.A(kC(uqa,a));1>a&&this.B.start()};
var Tna=/[0-9.-]+|[^0-9.-]+/g;g.p(i0,g.W);i0.prototype.xd=function(a){this.B=300<=a.width;this.Lb(this.B);g.mV(this.o,this,this.B&&this.G)};
i0.prototype.ha=function(){g.Y(this.o).K?this.o.Le()?(g.WU(this.o,"unmute"),this.o.yg()):(g.WU(this.o,"mute"),this.o.mute()):this.da.Ah(this.element,!0);g.lV(this.o,this)};
i0.prototype.ga=function(a){h0(this,a.volume,a.muted)};
var Una=["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"],Vna=["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(m0,g.W);m0.prototype.A=function(){var a=g.MU(this.o.app);a&&(a=a.o,a.g.webkitSetPresentationMode("picture-in-picture"==a.g.webkitPresentationMode?"inline":"picture-in-picture"))};g.p(o0,g.W);o0.prototype.G=function(a){n0(this,a.state)};
o0.prototype.F=function(){g.S(this.element,"ytp-play-button-playlist",PU(this.o))};
o0.prototype.J=function(){2==this.A?g.WU(this.o,"pause"):3==this.A?g.WU(this.o,"replay"):1==this.A?g.WU(this.o,"play"):4==this.A&&g.WU(this.o,"stop");$P(g.NU(this.o))?this.o.sd():this.o.fd()};
o0.prototype.W=function(){this.B&&this.B();g.W.prototype.W.call(this)};g.p(r0,g.W);g.h=r0.prototype;g.h.rj=function(){s0(this);this.F&&(this.Ca(this.F),this.F=null);this.G=this.o.ia(1);if(this.A=this.o.Rf())this.A.subscribe("shuffle",this.rj,this),this.F=this.R(this.o,"progresssync",this.sM);this.D=t0(this);q0(this);this.xd(g.OU(this.o).Za())};
g.h.xd=function(a){a=void 0===a?g.OU(this.o).Za():a;var b=PU(this.o)||this.B&&g.iV(this.o)||u0(this);this.Lb(b&&(this.B||400<=a.width))};
g.h.tM=function(a){g.WU(this.o,this.B?"next":"previous");var b=!0;this.K?b=g.eZ(a,this.o):g.LF(a);b&&(this.B?this.o.qj(!0):this.D?this.o.wc(0):this.o.Uk(!0))};
g.h.sM=function(){var a=t0(this);a!=this.D&&(this.D=a,q0(this))};
g.h.W=function(){this.C&&(this.C(),this.C=null);s0(this);g.W.prototype.W.call(this)};g.p(w0,g.xV);g.h=w0.prototype;g.h.xM=function(a){if(!g.JF(a)){var b=!1;switch(g.FF(a)){case 36:this.A.wc(0);b=!0;break;case 35:this.A.wc(window.Infinity);b=!0;break;case 34:this.A.fe(-60);b=!0;break;case 33:this.A.fe(60);b=!0;break;case 38:this.A.fe(5);b=!0;break;case 40:this.A.fe(-5),b=!0}b&&g.LF(a)}};
g.h.qz=function(a,b){v0(this,b,"newdata"==a)};
g.h.LH=function(){this.qz("newdata",this.A.ia())};
g.h.wM=function(){D0(this.A.ia())?g.NU(this.A).yb()&&E0(this,!0):E0(this,!1)};
g.h.vM=function(a){0<eQ(a,64)||!D0(this.A.ia())?E0(this,!1):$P(a.state)&&0>eQ(a,64)&&E0(this,!0);this.B&&!g.V(a.state,32)&&3!=this.A.Xa()&&this.B.cancel()};
g.h.AM=function(a,b,c){var d=g.lh(this.element),e=G0(this).g,f=c?c.getAttribute("data-tooltip"):void 0;f&&(a=tW(this.o,Number(c.getAttribute("data-position")),0)*e+g.lh(this.Gb).x);this.ua.x=a-d.x;this.ua.y=b-d.y;c=G0(this);a=sW(this.o,c.o);b=this.Aa;c=c.position+this.xc;d=f||g.yV(this.va?a-this.o.g:a);f=!!f;b.fa||(3==b.o&&b.bf(),1!=b.o&&(b.element.className="ytp-tooltip ytp-bottom",b.o=1,b.K&&b.J.show(),b.B=yP(b.O.ia()),b.B&&b.B.subscribe("l",b.Ez,b)),b.update({text:d,title:""}),g.S(b.element,"ytp-text-detail",
!!f),d=-1,b.B&&(d=bO(b.B,160*b.D),d=b.B.g[d].Vo(a)),B1(b,d),z1(b,!!f,c));g.S(this.A.getRootNode(),"ytp-progress-bar-hover",!g.V(g.NU(this.A),64));z0(this)};
g.h.zM=function(){var a=this.Aa;1==a.o&&a.bf();g.Ip(this.A.getRootNode(),"ytp-progress-bar-hover")};
g.h.yM=function(a,b){g.vE(this.D);this.D=window.NaN;this.Hb=b;this.A.wc(sW(this.o,G0(this).o),!1);g.R(this.element,"ytp-drag");(this.La=$P(g.NU(this.A)))&&this.A.sd()};
g.h.BM=function(){this.da=0;g.Ip(this.element,"ytp-pull-ui");g.Ip(this.element,"ytp-pulling");if(0<this.G){var a=(0,g.sG)(),b=this.G,c=G0(this).position;g.vE(this.D);this.D=$Q((0,g.y)(this.wz,this,a,b,c),0)}if(g.V(g.NU(this.A),32)||3==this.A.Xa())this.A.wc(sW(this.o,G0(this).o)),g.Ip(this.element,"ytp-drag"),this.La&&!g.V(g.NU(this.A),2)&&this.A.fd()};
g.h.wz=function(a,b,c){var d=1-Math.pow(1-((0,g.sG)()-a)/200,3),e=c+d*(this.F*this.C-c);if(0>d||1<d)d=1;F0(this,(1-d)*b,e,this.F);this.D=1>d?$Q((0,g.y)(this.wz,this,a,b,c),0):window.NaN};
g.h.CM=function(a,b){var c=!1,d=!1,e=G0(this);3600<=this.o.getLength()&&(F0(this,this.Hb-b-10,e.position,e.o),d=!0,c=this.G>.1*(this.J?60:40),e=G0(this));g.S(this.element,"ytp-pull-ui",d);c&&g.R(this.element,"ytp-pulling");c=0;e.A&&0>=e.position?c=-1:e.C&&e.position>=e.width&&(c=1);(0,window.isNaN)(this.D)||c&&c==this.da||g.wE(this.D);c&&(this.D=$Q((0,g.y)(this.vz,this,(0,g.sG)(),this.K),0));this.da=c;this.A.wc(sW(this.o,e.o),!1)};
g.h.vz=function(a,b){if(this.da){var c=this.C*(this.X-1);this.K=g.Id(b+this.da*((0,g.sG)()-a)*.3,0,c);y0(this);this.A.wc(sW(this.o,G0(this).o),!1);0<this.K&&this.K<c&&(this.D=$Q((0,g.y)(this.vz,this,a,b),0))}};
g.h.uz=function(){this.Fa("clipstarticon",XD());this.Fa("clipendicon",XD());g.R(this.element,"ytp-clip-hover")};
g.h.rz=function(){this.Fa("clipstarticon",ZD());this.Fa("clipendicon",YD());g.Ip(this.element,"ytp-clip-hover")};
g.h.Pn=function(){this.O=0;this.M=window.Infinity;C0(this);x0(this,this.F,this.ha)};
g.h.xz=function(a){a=g.ka(a);for(var b=a.next();!b.done;b=a.next())if(b=b.value,b.visible){var c=b.getId();if(!this.P[c]){var d=g.je("DIV");b.tooltip&&(d.setAttribute("data-tooltip",b.tooltip),d.setAttribute("data-position",b.start/1E3));this.P[c]=b;this.ka[c]=d;H0(this,b,d);"ytp-chapter-marker"==b.style?this.Pc.appendChild(d):this.Cc.appendChild(d)}}else J0(this,b)};
g.h.DM=function(a){a=g.ka(a);for(var b=a.next();!b.done;b=a.next())J0(this,b.value)};
g.h.W=function(){g.wE(this.D);this.D=window.NaN;B0(this,!1);g.xV.prototype.W.call(this)};g.p(K0,q_);K0.prototype.C=function(){g.GU(this.U).A&&3!=this.U.Xa()?this.A||(c1(this.B,this),this.A=!0):this.A&&(d1(this.B,this),this.A=!1);var a=g.GU(this.U).A;r_(this,!!a&&a.loaded)};
K0.prototype.D=function(a){a?this.U.Tk("annotations_module"):this.U.Hn("annotations_module")};
K0.prototype.W=function(){this.A&&d1(this.B,this);q_.prototype.W.call(this)};g.p(g.L0,g.b_);g.h=g.L0.prototype;g.h.open=function(){g.l_(this.A,this.C)};
g.h.enable=function(a){this.G?a||(this.G=!1,this.sj(!1)):a&&(this.G=!0,this.sj(!0))};
g.h.sj=function(a){a?c1(this.A,this):d1(this.A,this)};
g.h.td=function(a){this.Y("select",a)};
g.h.FM=function(a){"true"!=this.o[a].element.getAttribute("aria-disabled")&&this.td(a)};
g.h.mf=function(a){return a.toString()};
g.h.EM=function(a){g.JF(a)||39!=g.FF(a)||(this.open(),g.LF(a))};
g.h.W=function(){this.G&&d1(this.A,this);g.b_.prototype.W.call(this);for(var a in this.o)this.o[a].dispose()};g.p(O0,g.L0);O0.prototype.F=function(){var a=this.U.Ur();1<a.length?(g.N0(this,(0,g.H)(a,this.B)),this.K=g.Db(a,this.B,this),this.J.dc(a.length?" ("+a.length+")":""),this.Y("size-change"),g.M0(this,this.B(this.U.nh())),this.enable(!0)):this.enable(!1)};
O0.prototype.td=function(a){g.L0.prototype.td.call(this,a);this.U.Wr(this.K[a]);this.A.Oe()};
O0.prototype.B=function(a){return a.toString()};g.p(P0,q_);P0.prototype.C=function(){var a=this.U.Xa();if(2!=a&&3!=a&&g.iV(this.U))this.B||(c1(this.D,this),this.B=!0,this.A.push(this.R(this.U,"videodatachange",this.C)),this.A.push(this.R(this.U,"videoplayerreset",this.C)),this.A.push(this.R(this.U,"onPlaylistUpdate",this.C)),this.A.push(this.R(this.U,"autonavchange",this.F)),this.F(this.U.ia().autonavState));else if(this.B){d1(this.D,this);this.B=!1;for(var a=g.ka(this.A),b=a.next();!b.done;b=a.next())this.Ca(b.value)}};
P0.prototype.F=function(a){r_(this,1!=a)};
P0.prototype.G=function(a){this.U.app.g.za("onAutonavChangeRequest",1!=(a?2:1))};
P0.prototype.W=function(){this.B&&d1(this.D,this);q_.prototype.W.call(this)};g.p(Q0,g.L0);Q0.prototype.B=function(){var a=this.U.Xa();if(2!=a&&3!=a&&(this.F=TU(this.U),this.K=g.RU(this.U),a=this.U.Sr(),g.fV(this.U)&&g.gV(this.U)&&a.unshift("missing-qualities"),g.N0(this,a),a.length)){this.M();this.enable(!0);return}this.enable(!1)};
Q0.prototype.M=function(){var a=g.SU(this.U);this.o[a]&&(this.J=this.U.Rk(),g.M0(this,a),"auto"==a&&this.dc(this.mf(a)),TU(this.U)!=this.F&&this.B())};
Q0.prototype.td=function(a){"missing-qualities"!=a&&(g.L0.prototype.td.call(this,a),this.U.Vk(a),this.A.Sb())};
Q0.prototype.mf=function(a,b){b=void 0===b?!1:b;if("missing-qualities"==a)return{H:"a",T:{href:"https://support.google.com/youtube/?p=missing_quality",target:"_blank"},L:[g.T("YTP_MISSING_FORMATS")]};var c={H:"div",L:[R0(this,a)]},d=g.SU(this.U);b||"auto"!=d||"auto"!=a||(c.L.push(" "),c.L.push(R0(this,this.J,["ytp-menu-label-secondary"])));return c};g.p(S0,g.W);S0.prototype.xd=function(a){this.Lb(this.B&&400<=a.width)};
S0.prototype.C=function(){g.WU(this.U,"settings");if(this.A.g)this.A.Sb();else{var a=g.GU(this.U).g;a&&!a.loaded&&(a.Zr("tracklist",{includeAsr:!0}).length||a.load());this.A.Me(this.element)}};
S0.prototype.o=function(){var a=this.U.Xa(),b=2!=a&&3!=a,c=g.UU(this.U),d=b&&!!g.GU(this.U).B,a=d&&1==c.displayMode,c=d&&2==c.displayMode,b=(d=a||c)||!b?null:this.U.Rk();g.S(this.element,"ytp-hd-quality-badge","hd720"==b||"hd1080"==b||"hd1440"==b);g.S(this.element,"ytp-4k-quality-badge","hd2160"==b);g.S(this.element,"ytp-5k-quality-badge","hd2880"==b);g.S(this.element,"ytp-8k-quality-badge","highres"==b);g.S(this.element,"ytp-3d-badge-grey",d&&a);g.S(this.element,"ytp-3d-badge",d&&c)};g.p(U0,g.L0);g.h=U0.prototype;g.h.ms=function(a){return a.toString()};
g.h.mf=function(a){return"1"==a?g.T("YTP_NORMAL_SPEED"):a.toString()};
g.h.Az=function(){var a=this.U.Xa();this.enable(2!=a&&3!=a)};
g.h.sj=function(a){g.L0.prototype.sj.call(this,a);a?(this.B=this.R(this.U,"onPlaybackRateChange",this.HM),g.N0(this,(0,g.H)(this.U.pj(),this.ms)),g.M0(this,this.ms(this.U.Wc()))):(this.Ca(this.B),this.B=null)};
g.h.HM=function(a){g.M0(this,this.ms(a))};
g.h.td=function(a){g.L0.prototype.td.call(this,a);this.U.Sf((0,window.parseFloat)(a),!0);this.A.Oe()};g.p(W0,g.L0);W0.prototype.O=function(a){return a.option.toString()};
W0.prototype.mf=function(a){return V0(this.M[a])};
W0.prototype.td=function(a){g.L0.prototype.td.call(this,a);this.Y("settingChange",this.K,this.M[a].option)};
W0.prototype.P=function(a){this.Y("settingChange",this.K+"Override",!a);this.A.Oe()};g.p(X0,g.e_);X0.prototype.A=function(a,b){this.Y("settingChange",a,b)};g.p(Z0,g.L0);Z0.prototype.F=function(a){return a.languageCode};
Z0.prototype.mf=function(a){return this.B[a].languageName||""};
Z0.prototype.td=function(a){this.Y("select",a);g.m_(this.A)};g.p($0,g.L0);g.h=$0.prototype;g.h.ts=function(a){return g.Ub(a)?"__off__":a.displayName};
g.h.mf=function(a){return"__off__"==a?g.T("YTP_LANGUAGE_OFF"):"__translate__"==a?g.T("YTP_AUTO_TRANSLATE"):"__contribute__"==a?g.T("YTP_CONTRIBUTE_MENU_ITEM"):("__off__"==a?{}:this.B[a]).displayName};
g.h.td=function(a){"__translate__"==a?this.F.open():"__contribute__"==a?(this.U.sd(),this.U.isFullscreen()&&g.QU(this.U),a=g.NN(g.Y(this.U),this.U.ia()),g.rV(a)):(this.U.Ed("captions","track","__off__"==a?{}:this.B[a]),g.L0.prototype.td.call(this,a),this.A.Oe())};
g.h.bl=function(){var a=-1!=this.U.li().indexOf("captions"),b=this.U.ia().hk;if(a||b){if(a){var c=this.U.Ac("captions","track");var d=this.U.Ac("captions","tracklist",{includeAsr:!0});var e=this.U.Ac("captions","translationLanguages");this.B=g.Db(d,this.ts,this);var f=(0,g.H)(d,this.ts);if(e.length){var k=this.F;var l=e;k.B=g.Db(l,k.F,k);g.N0(k,(0,g.H)(l,k.F));f.push("__translate__")}k=this.ts(c)}else this.B={},f=[],k="__off__";f.unshift("__off__");this.B.__off__={};b&&f.unshift("__contribute__");
this.B[k]||(this.B[k]=c,f.push(k));g.N0(this,f);g.M0(this,k);a?(Y0(this.K,this.U.mi()),this.J.dc(d.length?" ("+d.length+")":""),this.Y("size-change"),a&&e.length&&this.o.__translate__.element.setAttribute("aria-disabled",!!g.Ub(c))):(this.J.dc(""),this.Y("size-change"));this.enable(!0)}else this.enable(!1)};
g.h.Dz=function(a){this.U.Ed("captions","sampleSubtitles",a)};
g.h.OM=function(a){var b=this.U.Ac("captions","track"),b=g.Xb(b);b.translationLanguage=this.F.B[a];this.U.Ed("captions","track",b)};
g.h.NM=function(a,b){if("reset"==a)this.U.Vr();else{var c={};c[a]=b;this.U.Kn(c)}this.Dz(!0);this.M.start();Y0(this.K,this.U.mi())};
g.h.W=function(){g.ut(this.M);g.L0.prototype.W.call(this)};g.p(a1,g.i_);a1.prototype.Me=function(a){b1(this);0<this.B.Ma.length&&g.i_.prototype.Me.call(this,a)};
a1.prototype.show=function(){g.i_.prototype.show.call(this);g.R(this.A.getRootNode(),"ytp-settings-shown")};
a1.prototype.hide=function(){g.i_.prototype.hide.call(this);g.Ip(this.A.getRootNode(),"ytp-settings-shown")};g.p(e1,g.W);
e1.prototype.o=function(){var a=!1;-1!=this.U.li().indexOf("remote")&&(a=1<this.U.Ac("remote","receivers").length);this.Lb(a&&400<=g.OU(this.U).Za().width);var b=1;a&&this.U.Ac("remote","casting")&&(b=2);if(this.A!=b){this.A=b;switch(b){case 1:this.Fa("icon",g.TD?{H:"div",ea:["ytp-icon","ytp-icon-cast-desktop-off"]}:{H:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{H:"path",Qa:!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.Fa("icon",g.UD())}g.S(this.element,"ytp-remote-button-active",!!this.U.Ac("remote","casting"))}};
e1.prototype.C=function(){g.WU(this.U,"remote");if(this.U.Ac("remote","quickCast"))this.U.Ed("remote","quickCast",!0);else{var a=this.B,b=this.element;if(RZ(a))a.Sb();else{b1(a);a:{var c=g.ka(a.B.Ma);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.Me(b));a.Me(b)}}};g.p(f1,g.W);f1.prototype.F=function(){g.WU(this.o,this.o.app.pa?"size_small":"size_large");var a=this.o.app,b=!a.pa;a.Z.experiments.g("player_legacy_set_size_style")&&ooa(a,!0,b);a.g.za("SIZE_CLICKED",b)};
f1.prototype.A=function(){this.Lb(this.o.app.jd&&!this.o.isFullscreen()&&3!=this.o.Xa());if(this.g){var a=this.o.app.pa;if(this.B!=a){var b=a?g.TD?{H:"div",ea:["ytp-icon","ytp-icon-default-view"]}:{H:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},L:[{H:"path",Qa:!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.TD?{H:"div",ea:["ytp-icon","ytp-icon-theater-mode"]}:{H:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",
width:"100%"},L:[{H:"path",Qa:!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.Y(this.o).ba||null==this.B?this.Fa("icon",b):g0(this.D,this.element,b);a=(this.B=a)?g.T("YTP_DEFAULT_VIEW"):g.T("YTP_THEATER_MODE");this.Fa("title",a);l0(this.C)}}};g.p(g1,g.W);g1.prototype.B=function(){g.WU(this.A,"subtitles");var a=g.GU(this.A).g;a&&a.cC()};
g1.prototype.o=function(){var a=!!g.GU(this.A).g;this.Lb(a&&300<=g.OU(this.A).Za().width);a&&this.Fa("pressed",!!this.A.Ac("captions","track").displayName)};g.p(h1,g.W);
h1.prototype.C=function(){var a=g.OU(this.o).Za().width,b=350<=a&&(!this.B||!g.V(g.NU(this.o),64));this.Lb(b);g.S(this.element,"ytp-time-display-allow-autohide",b&&400>a);a=this.o.oh();b&&(b=g.yV(a.current),this.G!=b&&(this.Fa("currenttime",b),this.G=b),b=g.yV(a.duration),this.J!=b&&(this.Fa("duration",b),this.J=b));this.B&&(a=a.isPeggedToLive,this.F!=a&&(this.F=a,this.C(),b=this.D.element,(b.disabled=a)?this.A&&(this.A(),this.A=null,b.removeAttribute("title")):(b.title=g.T("YTP_GOTO_LIVE_TOOLTIP"),this.A=
$Z(this.K,this.D.element))))};
h1.prototype.O=function(a,b){this.B=b.Da;g.S(this.element,"ytp-live",this.B);this.C()};
h1.prototype.M=function(a){a.target==this.D.element?(g.WU(this.o,"live"),this.o.wc(window.Infinity),this.o.fd()):g.WU(this.o,"time")};
h1.prototype.W=function(){this.A&&this.A();g.W.prototype.W.call(this)};g.p(j1,g.W);g.h=j1.prototype;g.h.PM=function(){var a=this.F.ee();this.G!=a&&(this.G=a,i1(this,this.o.getVolume(),this.o.Le()))};
g.h.xd=function(a){this.Lb(350<=a.width)};
g.h.JQ=function(a){if(!g.JF(a)){var b=g.FF(a),c=null;37==b?c=this.C-5:39==b?c=this.C+5:36==b?c=0:35==b&&(c=100);null!=c&&(c=g.Id(c,0,100),0==c?this.o.mute():(this.o.Le()&&this.o.yg(),this.o.setVolume(c)),g.LF(a))}};
g.h.QM=function(a){var b=a.deltaX||-a.deltaY;a.deltaMode?this.o.setVolume(this.C+(0>b?-10:10)):this.o.setVolume(this.C+g.Id(b/10,-10,10));g.LF(a)};
g.h.IQ=function(){g.WU(this.o,"volume");k1(this,this.B,!0,this.A,this.F.M);this.X=this.C;this.o.Le()&&this.o.yg()};
g.h.HQ=function(a){a-=g.lh(this.P).x;this.o.setVolume(100*g.Id(a/(this.G?78:52),0,1))};
g.h.GQ=function(){k1(this,this.B,!1,this.A,this.F.M);0==this.C&&(this.o.mute(),this.o.setVolume(this.X))};
g.h.RM=function(a){i1(this,a.volume,a.muted)};
g.h.Uv=function(){k1(this,this.B,this.D,this.A,this.F.M)};
g.h.Fz=function(a){k1(this,this.B,this.D,a,this.F.M)};
g.h.IB=function(a){g.S(this.element,"ytp-volume-control-hover",a);k1(this,a,this.D,this.A,this.F.M)};
g.h.W=function(){g.W.prototype.W.call(this);g.Ip(this.O,"ytp-volume-slider-active")};g.p(l1,g.W);l1.prototype.C=function(){this.A=!!this.o.ia().videoId;this.Lb(this.A);g.mV(this.o,this,this.A&&this.B);if(this.A){var a=this.o.getVideoUrl(!0,!1,!1,!0);this.Fa("url",a)}};
l1.prototype.D=function(a){g.WU(this.o,"youtube");var b=this.o.getVideoUrl(!g.zV(a),!1,!0,!0);fZ(b,this.o,a);g.lV(this.o,this)};g.p(m1,g.OF);g.h=m1.prototype;g.h.qs=function(){var a=this.B;A0(a);var b=a.A.getCurrentTime();(b<a.O||b>a.M)&&a.Pn();this.O.C()};
g.h.Cz=function(){this.Gt();!this.M.o||this.qs()};
g.h.LO=function(){this.qs();this.F.start()};
g.h.Gt=function(){var a;if(a=!g.Y(this.U).isMobile){a=this.B;var b=2*a.C*g.PN();a=300>1E3*a.o.getLength()/a.A.Wc()/b}a=a&&g.NU(this.U).yb()&&!!window.requestAnimationFrame;b=!a;this.M.o||(a=b=!1);b?this.G||(this.G=this.R(this.U,"progresssync",this.qs)):this.G&&(this.Ca(this.G),this.G=null);a?this.F.isActive()||this.F.start():this.F.stop()};
g.h.cT=function(a){w1(this.A.o,!a)};
g.h.rs=function(){var a=this.A.ee(),b=g.OU(this.U).Za(),c=o1(this),d=Math.max(b.width-2*c,100);if(this.ba!=b.width||this.X!=a){this.ba=b.width;this.X=a;var e=p1(this);this.o.element.style.width=e+"px";this.o.element.style.left=c+"px";var f=this.B;f.xc=c;f.C=e;f.J=a;y0(f);this.A.o.ga=e}c=this.g;b=Math.min(413*(a?1.5:1),Math.round(.82*(b.height-(this.A.ee()?72:50))));c.P=Math.min(570*(a?1.5:1),d);c.O=b;c.Cl();this.Gt()};
g.h.ra=function(){return this.o.element};g.p(g.q1,g.W);g.q1.prototype.A=function(){g.R(this.element,"ytp-sb-subscribed")};
g.q1.prototype.B=function(){g.Ip(this.element,"ytp-sb-subscribed")};g.p(r1,g.W);r1.prototype.ba=function(a){g.WU(this.o,"title");g.lV(this.o,this);var b=this.o.getVideoUrl(!g.zV(a),!1,!0);fZ(b,this.o,a)};
r1.prototype.da=function(a,b,c){var d=c.user_info;if(d){b=d.channel_logo_url||d.image_url;c=d.channel_title||d.username;var e=d.channel_url,f=d.channel_external_id,d=d.subscriber_count;b&&e&&c&&g.oO.test(b)&&s1(this,a,f,c,e,b,d)}};
r1.prototype.G=function(){t1(this);var a=this.o.ia();this.Fa("title",a.title);this.B&&(this.B.o=a.Dl);var b=g.Y(this.o);if(b.experiments.g("embed_view_count")){var c=a.shortViewCount;g.S(this.o.getRootNode(),"ytp-show-title-view-count",!!c);this.Fa("viewCount",c)}!b.J&&a.videoId?(this.Fa("url",this.o.getVideoUrl(!0)),this.A||(this.A=this.R(this.X,"click",this.ba))):this.A&&(this.Fa("url",null),this.Ca(this.A),this.A=null)};g.p(u1,g.W);g.h=u1.prototype;g.h.wP=function(a){3==this.o&&this.bf();a=a.currentTarget;this.o||(a.removeEventListener("mouseover",this.P),a.addEventListener("mouseout",this.ha),x1(this,a,2))};
g.h.uP=function(a){(a=HF(a))&&g.xe(this.A,a)||this.bf()};
g.h.Ez=function(a,b){if(a<=this.C&&this.C<=b){var c=this.C;this.C=window.NaN;B1(this,c)}};
g.h.IJ=function(){fO(this.B,this.C,160*this.D)};
g.h.bf=function(){switch(this.o){case 2:this.A.removeEventListener("mouseout",this.ha),this.A.addEventListener("mouseover",this.P);case 3:3==this.o&&this.da.stop();this.O.removeEventListener("appresize",this.X);this.M||this.A.setAttribute("title",this.F);this.F="";this.A=null;break;case 1:this.B&&(this.B.unsubscribe("l",this.Ez,this),this.B=null),this.O.removeEventListener("videoready",this.X),this.ba.stop()}this.o=null;this.K&&this.J.hide()};
g.h.Oi=function(a){if(this.A)for(var b=0;b<arguments.length;b++)g.xe(arguments[b],this.A)&&this.bf()};
g.h.W=function(){null!=this.o&&this.bf();g.W.prototype.W.call(this)};g.qa("yt.pubsub.publish",g.fG,void 0);g.p(F1,g.W);g.h=F1.prototype;g.h.xd=function(a){this.C=300<=a.width;this.Lb(this.C);a=480<a.width;var b=g.Y(this.o);b.experiments.g("enable_watch_later_button_title")&&b.A&&(g.S(this.F,"ytp-show-watch-later-title",a),this.Fa("watch_later",a?g.T("YTP_WATCH_LATER"):""));g.mV(this.o,this,this.C&&this.J)};
g.h.pR=function(){this.A=!0;this.B=!1;E1(this,1);g.Y(this.o).isMobile&&y1(this.G,this.element);g.Y(this.o).Fb&&this.o.za("WATCH_LATER_VIDEO_ADDED")};
g.h.SM=function(){g.WU(this.o,"watchlater");g.lV(this.o,this);var a=this.o.ia().videoId;g.Y(this.o).Ec?D1(this,a):g.C1(function(){cJ({videoId:a});window.location.reload()},null,"wl_button",800,600)};
g.h.qR=function(a,b){this.B=!1;var c=g.T("YTP_ERROR_GENERIC_WITHOUT_LINK");b&&(c=b.errors&&b.errors.length?b.errors[0]:b.error_message);E1(this,4,c);g.Y(this.o).Fb&&this.o.za("WATCH_LATER_ERROR",c)};
g.h.rR=function(){this.B=this.A=!1;E1(this,2);g.Y(this.o).Fb&&this.o.za("WATCH_LATER_VIDEO_REMOVED")};
g.h.TM=function(){this.B=this.A=!1;E1(this,2)};
g.h.W=function(){g.W.prototype.W.call(this);g.Ip(this.F,"ytp-watch-later-button-visible")};g.p(G1,g.W);G1.prototype.D=function(a){this.Lb(!g.V(a.state,2))};
G1.prototype.B=function(){if(this.A.ia().videoId){var a=this.A.getVideoUrl(!0,!1,!1,!0);this.Fa("url",a);this.o||(this.o=this.V("click",this.C))}else this.o&&(this.Fa("url",null),this.Ca(this.o),this.o=null)};
G1.prototype.C=function(a){var b=this.A.getVideoUrl(!g.zV(a),!1,!0,!0);fZ(b,this.A,a)};g.p(H1,TZ);g.h=H1.prototype;g.h.jq=function(a,b){b?this.X=a:this.X=null;this.Hg()};
g.h.kq=function(a,b){if(b)this.G.push(a);else for(var c=this.G.length;0<=c;c--)if(this.G[c]==a){this.G.splice(c,1);break}this.B.qc(64,0<this.G.length)};
g.h.Jj=function(){g.XU(this.g)&&g.YU(this.g);return!!this.X||TZ.prototype.Jj.call(this)};
g.h.Hg=function(){var a=!this.Jj(),b=a&&g.XU(this.g)&&!g.V(g.NU(this.g),2);a?(this.Pa.show(),this.Sa.show()):(this.Pa.hide(),this.Sa.hide(),this.o.Oi(this.C.element,this.J.element));b?this.J.A.show():this.J.A.hide();g.S(this.C.element,"ytp-cards-available",b);this.A&&n1(this.A,!a);TZ.prototype.Hg.call(this)};
g.h.ys=function(a){a&&(this.o.Oi(this.C.element,this.J.element),this.A&&this.o.Oi(this.A.ra()));TZ.prototype.ys.call(this,a)};
g.h.WL=function(a){var b=this.g.getRootNode();a?b.parentElement?(b.setAttribute("aria-label",g.T("YTP_PLAYER_FULLSCREEN")),b.parentElement.insertBefore(this.fa.element,b),b.parentElement.insertBefore(this.da.element,b.nextSibling)):g.rE(Error("Player not in DOM.")):(b.setAttribute("aria-label",g.T("YTP_PLAYER_NORMAL")),this.fa.detach(),this.da.detach());this.Bb();this.Gi()};
g.h.ee=function(){return this.g.isFullscreen()};
g.h.Bb=function(){var a=this.ee();this.o.D=a?1.5:1;g.S(this.K.element,"ytp-big-mode",a);TZ.prototype.Bb.call(this)};
g.h.Gi=function(){TZ.prototype.Gi.call(this);g.mV(this.g,this.Ja,!!this.O);var a=this.La,b=!!this.O;a.D=b;g.mV(a.o,a,a.B&&b);this.pa&&(a=this.pa,b=!!this.O,a.J=b,g.mV(a.o,a,a.C&&b));if(!this.O)for(this.o.Oi(this.C.element,this.J.element),a=0;a<this.ka.length;a++)b=this.ka[a],RZ(b)&&b.Sb()};
g.h.ro=function(a){this.A&&n1(this.A,this.Jj());TZ.prototype.ro.call(this,a)};
g.h.FP=function(){this.B.qc(128,!1)};
g.h.Km=function(){return this.K.g?(this.K.Sb(),!0):this.G.length?(this.G[this.G.length-1].Sb(),!0):this.X?(this.X.Sb(),!0):TZ.prototype.Km.call(this)};
g.h.vS=function(a,b){this.Ab=b;this.kq(a,b);this.mz()};
g.h.mz=function(){var a=this.Ab||RZ(this.K);this.Aa!=a&&(this.Aa=a,this.g.za("onAutonavPauseRequest",this.Aa))};
g.h.cH=function(){I1(this,this.g.getRootNode(),!0).focus()};
g.h.dH=function(){I1(this,this.g.getRootNode(),!1).focus()};J1.prototype.click=function(a){a=a.element.getAttribute("data-visual-id");g.jV(this,"onLogVeClicked",{id:a})};
J1.prototype.F=function(a){var b=a.element.getAttribute("data-visual-id");g.nb(this.A,a);g.nb(this.o,b);g.nb(this.g,b);a.element.removeAttribute("data-visual-id")};
J1.prototype.pause=function(){this.B=!0};
J1.prototype.resume=function(){this.B=!1;for(var a=g.ka(this.C),b=a.next();!b.done;b=a.next())b=b.value,g.jV(this,b.type,b.data);this.C.length=0};g.p(K1,g.K);g.h=K1.prototype;g.h.zN=function(){N1(this)||g.c2(this,5)};
g.h.QP=function(a){N1(this)||(koa(this),$P(a.A)&&EY(this))};
g.h.Bd=function(){var a=this.C?this.C.Aq():{},b=this.A,c={};b.g&&g.Ba(c,b.g.wL());g.Ba(a,c);(b=this.A.o)&&g.Ba(a,b.fu());a.fs=this.g.isFullscreen();a.volume=Math.round(this.J.getVolume());a.mos=this.J.Le()?1:0;this.Z.experiments.g("html5_enable_embedded_player_visibility_signals")&&this.Z.A&&(this.Cc&&(b=this.Cc,b=null==b.o?null:Math.round(100*b.o)/100,null!=b&&(a.inview=b)),b=this.F.Za(),0<b.height&&0<b.width&&(b=[Math.round(b.height),Math.round(b.width)],c=g.PN(),1<c&&b.push(c),a.size=b.join(":")));
return a};
g.h.getCurrentTime=function(a){return 3==KU(this)?g.LU(this.A).getCurrentTime():(a=g.MU(this,a))?a.getCurrentTime():0};
g.h.getDuration=function(a){return(a=g.MU(this,a))?a.getDuration():0};
g.h.bK=function(a){switch(a.type){case "loadedmetadata":aP("fvb",this.G.g)||this.G.o("fvb");g.LO("fvb",void 0,"video_to_ad");this.rb.start();break;case "loadstart":aP("gv",this.G.g)||this.G.o("gv");g.LO("gv",void 0,"video_to_ad");break;case "progress":case "timeupdate":!aP("l2s",this.G.g)&&2<=$J(iK(a.target))&&this.G.o("l2s");break;case "playing":g.SN&&this.rb.start();var b=this.A.B;a="none"==dh(this.D.g,"display")||0==g.th(this.D.g).Sc();b=!YY(this.F)||b||!this.Z.D||this.Z.Qg;a&&!b&&(this.C.Xd("hidden",
"1",!0),U1(this).yi||poa(this,"hidden",!0))}};
g.h.WO=function(a,b){this.g.za("onLoadProgress",b)};
g.h.KQ=function(){this.g.Y("playbackstalledatstart")};
g.h.cK=function(a,b){this.g.za("onVideoProgress",b)};
g.h.ZJ=function(){this.J.Y("progresssync")};
g.h.BN=function(a){!this.Z.experiments.g("disable_live_head_slowdown")&&0<eQ(a,1)&&!g.V(a.state,64)&&this.o.g.Da&&nU(this.o)&&1<this.g.Wc()&&g2(this,1,!0);var b;if(b=0<eQ(a,2))this.B&&("embedded"==this.Z.g||this.g.isFullscreen()&&!this.va)&&g.EZ(this)?(s2(this,!1,!this.Z.experiments.g("legacy_autoplay_flag")),b=!0):b=!1,b=!b;b&&(b=this.o.o)&&wF(b.g);g.V(a.state,128)&&(b=a.state,m2(this),b=b.g,this.g.za("onError",gqa[b.errorCode]||5),this.g.za("onDetailedError",b));a.state.yb()&&!g.bQ(a.state)&&(b=
U1(this),g.MO("cpn",b.clientPlaybackNonce,"ad_to_video"),b.videoId&&g.MO("docid",b.videoId,"ad_to_video"),b.playbackId&&g.MO("plid",b.playbackId,"ad_to_video"),g.LO("pbresume",void 0,"ad_to_video"));this.g.Y("applicationplayerstatechange",a)};
g.h.NA=function(a){3!=KU(this)&&(!g.V(a.state,32)&&0>eQ(a,16)&&(!g.V(a.state,8)||g.V(a.state,64)||this.D.g.ended||g.V(a.state,2)||EY(this)),this.g.Y("presentingplayerstatechange",a))};
g.h.YJ=function(a){f2(this,cQ(a.state))};
g.h.xN=function(a){"newdata"==a&&doa(this)};
g.h.DN=function(){this.g.za("onPlaybackAudioChange",this.g.nh().Uc.name)};
g.h.hR=function(a){a==this.C.g&&this.g.za("onPlaybackQualityChange",a.Oa.video.quality)};
g.h.Rr=function(a,b,c){if("newdata"==a)PY(this.A),this.g.Y("videoplayerreset",b);else{if(!this.D)return;if("dataloaded"==a)if(b.Z.fg(c.ac),this.C==this.o){if(this.Z.experiments.g("disable_sap_error_check")||!this.o.A.isError()){var d=N1(this);if(d||!this.o.g.zx||this.Z.isMobile){var e=this.o.g;if(!AP(e)||d||mP(this.o.g))e.Rb(),d&&g.c2(this,6),V1(this),d||(e=this.A.o)&&!e.C&&this.A.U.ia(1).adModule&&this.A.o.create();else{var d=e.Da&&!g.PM()?"html5.unsupportedlive":"fmt.noneavailable",f="YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK";
(!EN(this.Z)||bpa||XE()?0:g.sc||e.ld&&mi)&&(f=e.ld?"YTP_HTML5_PROTECTED_FLASH_FALLBACK":"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK_FLASH");g.RT(this.o,d,f,"nosupported.1;f18."+ +(0<=e.Ch.indexOf("itag=18"))+";f43."+ +(0<=e.Ch.indexOf("itag=43")))}}else e="YTP_DEVICE_FALLBACK",(!EN(this.Z)||bpa||XE()?0:g.sc)&&(e="YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK_FLASH"),g.RT(this.o,"html5.unsupportedads",e,void 0)}}else V1(this);1==b.getPlayerType()&&(this.Z.K&&qoa(this),U1(this).Da&&!this.Z.SR&&g.RT(this.o,"html5.unsupportedlive",
"YTP_DEVICE_FALLBACK",void 0),c.Rb()&&(c.bo||c.Nr||c.ue.focEnabled||c.ue.rmktEnabled||U1(this).yp)&&(e=U1(this),j2(this,"part2viewed",1,0x8000000000000),j2(this,"engagedview",Math.max(1,1E3*e.Ef),0x8000000000000),e.Da||(e=1E3*e.lengthSeconds,j2(this,"videoplaytime25",.25*e,e),j2(this,"videoplaytime50",.5*e,e),j2(this,"videoplaytime75",.75*e,e),j2(this,"videoplaytime100",e,0x8000000000000),j2(this,"conversionview",e,0x8000000000000))));this.g.Y("videodatachange",a,c,b.getPlayerType())}this.Z.Fb&&this.g.za("onVideoDataChange",
{type:a,playertype:b.getPlayerType()});a=c.clientScreenNonce;c=c.rootVeType;!this.Z.experiments.g("player_change_screen_killswitch")&&a&&c&&(b=this.da,a!=b.D&&(b.D=a,g.jV(b,"onScreenChanged",{csn:a,root_ve_type:c}),b.g.length&&g.jV(b,"onLogVesShown",{ids:b.g}),b.o=g.qb(b.g)))};
g.h.ym=function(){Z1(this,null);this.g.za("onPlaylistUpdate")};
g.h.Zz=function(a){var b=a.getId(),c=this.o.g;if("part2viewed"==b)c.bB&&g.YE(c.bB),c.Nr&&g.YE(c.Nr);else if("conversionview"==b){var d=this.o;d.C&&EQ(d.C)}else"engagedview"==b&&g.YE(c.bo);c.zj&&(d=foa(this,c.zj,a.getId()),g.YE(d));switch(b){case "videoplaytime25":c.yy&&g.YE(c.yy);g.YE(c.PR);break;case "videoplaytime50":c.zy&&g.YE(c.zy);g.YE(c.QR);break;case "videoplaytime75":c.Ay&&g.YE(c.Ay);g.YE(c.RR);break;case "videoplaytime100":c.wy&&g.YE(c.wy),g.YE(c.OR)}(b=U1(this).yp)&&b[a.getId()]&&(c=b[a.getId()],
g.YE(c,void 0,Tpa.test(c)||Upa.test(c)||Vpa.test(c)),b=b[a.getId()+"gaia"],g.YE(b,void 0,Tpa.test(b)||Upa.test(b)||Vpa.test(b)));this.o.D.F(a)};
g.h.isPeggedToLive=function(){return this.o.isPeggedToLive()};
g.h.aK=function(a,b){var c=a.g;if(1==this.M||2==this.M)c.startSeconds=b;2==this.M?a2(this):this.g.Y("seekto",b)};
g.h.oN=function(){this.g.Y("airplayactivechange")};
g.h.pN=function(){this.g.Y("airplayavailabilitychange")};
g.h.JN=function(){this.g.Y("beginseeking")};
g.h.xO=function(){this.g.Y("endseeking")};
g.h.Fs=function(){var a=this.B.jc(),b=U1(this);b.vh||!this.fa?(b=b.Mf,a=k2(this,a),b&&n2(this,a)):a&&o2(this,a);this.g.za("onPlaylistUpdate")};
g.h.vN=function(a){this.g.za("onCueRangeEnter",a.getId())};
g.h.wN=function(a){this.g.za("onCueRangeExit",a.getId())};
g.h.AN=function(){this.ga||(this.ga=AO(this.gA,this));LQ(this.G,JY(this));if(this.Z.experiments.g("html5_playlist_preload")&&g.EZ(this)){var a=this.B.jc(RQ(this.B));a&&goa(this,a,1,!1)}};
g.h.yN=function(){var a=this.o.g,b=this.o.D.g.g||[],c=this.Ua.videoplaytime100;this.Z.experiments.g("send_pyv_ad_mt_and_abandon_pings")&&a.zj&&0<=b.indexOf(c)&&(a=foa(this,a.zj,"video_abandon"),g.YE(a))};
g.h.PO=function(){this.J.Y("internalAbandon")};
g.h.gA=function(a){a=a.g;if(!(0,window.isNaN)(a)&&0<a&&this.o){var b=this.o;b.C&&0<a&&(b.C.o.o.aft=[a])}};
g.h.qP=function(){this.xs()};
g.h.rP=function(){this.xs()};
g.h.xs=function(){this.Z.Fb&&this.C?this.g.za("onApiChange",this.C.getPlayerType()):this.g.za("onApiChange")};
g.h.nP=function(){var a={volume:g.Id(Math.floor(100*this.D.getVolume()),0,100),muted:this.D.g.muted};a.muted||d2(this,!1);this.K=g.Xb(a);this.g.za("onVolumeChange",a)};
g.h.EO=function(){var a=g.vF();u2(this,a==this.F.element?1:0);loa(this,!!a&&g.xe(this.F.element,a))};
g.h.oQ=function(){2!=this.jb&&u2(this,g.vF()==this.F.element?1:0);this.Z.Sl&&U1(this)&&!U1(this).backgroundable&&this.D&&.33>window.outerHeight*window.outerWidth/(window.screen.width*window.screen.height)&&wF(this.D.g)};
g.h.VO=function(a){3!=KU(this)&&this.g.Y("liveviewshift",a)};
g.h.nQ=function(a){var b=g.WY(this.F);g.Og(this.Qc,b)||(this.Qc=b,this.C&&uU(this.C,"r"),!this.Z.experiments.g("disable_app_resize")&&this.o&&this.o!=this.C&&uU(this.o,"r"),1==this.jb&&this.Ja&&loa(this,!0));this.xc&&g.Rd(this.xc,a)||(this.g.Y("appresize",a),this.xc=a)};
g.h.Od=function(){return this.J.Od()};
g.h.EQ=function(){poa(this,"signature")};
g.h.zP=function(){R1(this);Q1(this)};
g.h.hO=function(){this.g.za("CONNECTION_ISSUE")};
g.h.XJ=function(a){this.g.Y("heartbeatparams",a)};
g.h.Pk=function(){var a=this.g.isFullscreen()||BN(this.Z),b=this.g.app.Z.Yb;return ZU(this.g)?4:FT()?3:a?2:b?1:0};
g.h.W=function(){this.o.dispose();R1(this);g.Me(g.Ob(this.Sa),this.B);g.yO(this.ga);this.ga=0;this.Aa&&this.Aa.dispose();g.K.prototype.W.call(this)};
var G3={};g.qa("yt.player.Application.create",function(a,b){try{var c=g.u(a)?a:"player"+g.za(a);if(G3[c]){try{G3[c].dispose()}catch(e){g.rE(e)}G3[c]=null}var d=new K1(a,b);g.Ke(d,function(){G3[c]=null});
return G3[c]=d}catch(e){throw g.rE(e),e.stack;}},void 0);
var vqa=g.v("ytcsi.tick");vqa&&vqa("pe");/*
gapi.loader.OBJECT_CREATE_TEST_OVERRIDE &&*/
var I2=window,D2=window.document,uoa=I2.location,toa=/\[native code\]/,G2=v2(I2,"gapi",{});var x2;x2=v2(I2,"___jsl",w2());v2(x2,"I",0);v2(x2,"hel",10);var z2=v2(x2,"perf",w2());v2(z2,"g",w2());var yoa=v2(z2,"i",w2());v2(z2,"r",[]);w2();w2();var zoa=w2(),F2=[];F2.push(["jsl",function(a){for(var b in a)if(Object.prototype.hasOwnProperty.call(a,b)){var c=a[b];"object"==typeof c?x2[b]=v2(x2,b,[]).concat(c):v2(x2,b,c)}if(b=a.u)a=v2(x2,"us",[]),a.push(b),(b=/^https:(.*)$/.exec(b))&&a.push("http:"+b[1])}]);
var Ioa=/^(\/[a-zA-Z0-9_\-]+)+$/,Joa=[/\/amp\//,/\/amp$/,/^\/amp$/],Loa=/^[a-zA-Z0-9\-_\.,!]+$/,Foa=/^gapi\.loaded_[0-9]+$/,Koa=/^[a-zA-Z0-9,._-]+$/,Coa=/^https?:\/\/[a-z0-9_.-]+\.google\.com(:\d+)?\/[a-zA-Z0-9_.,!=\-\/]+$/,Boa=/\/cb=/g,Aoa=/\/\//g;zoa.m=function(a,b,c,d){(a=a[0])||B2("missing_hint");return"https://apis.google.com"+Hoa(a,b,c,d)};
var E2=(0,window.decodeURI)("%73cript"),Ooa=/^[-+_0-9\/A-Za-z]+={0,2}$/;G2.load=function(a,b){return Toa(function(){return H2(a,b)})};g.K2.prototype.B=function(){var a=g.v("gapi.config.update");a("googleapis.config/auth/useFirstPartyAuth",!0);a("googleapis.config/auth/useFirstPartyAuthV2",!0);var b=this.g.apiaryHost;D(g.E(b))||a("googleapis.config/root",(-1==b.indexOf("://")?"//":"")+b);b=this.g.Gp;D(g.E(b))||a("googleapis.config/root-1p",(-1==b.indexOf("://")?"//":"")+b);b=g.PD("SESSION_INDEX");a("googleapis.config/sessionIndex",b);g.v("gapi.client.setApiKey")(this.g.innertubeApiKey)};
g.K2.prototype.o=function(){return{context:xG(this.g)}};
g.K2.prototype.A=function(a,b,c){var d,e=!1;0<c.timeout&&(d=g.yE(function(){e||(e=!0,c.gd&&c.gd())},c.timeout));
Xoa(this,a,b,function(a){if(!e)if(e=!0,d&&g.wE(d),a)c.Ob&&c.Ob(a);else if(c.onError)c.onError()})};
var J2=null;})(_yt_player);