mirror of
https://github.com/fabrizioschiavi/pragmatapro.git
synced 2024-08-17 08:50:42 +03:00
7362 lines
1.2 MiB
7362 lines
1.2 MiB
{\rtf1\ansi\ansicpg1252\cocoartf1265\cocoasubrtf210
|
|
{\fonttbl\f0\fnil\fcharset0 PragmataProX;}
|
|
{\colortbl;\red255\green255\blue255;}
|
|
\paperw11900\paperh16840\margl1440\margr1440\vieww21520\viewh18940\viewkind0
|
|
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\sl360\slmult1\pardirnatural
|
|
|
|
\f0\fs36 \cf0 \
|
|
var _yt_player=\{\};(function(g)\{var window=this;var h,p,q,r,v,ca,da,ea,fa,w,ga,ha,ia,ka,na,oa,pa,x,qa,ra,z,sa,ta,ua,A,va,wa,Ea,Ha,Fa,Ga,Ja,Ka,Ma,B,Na,Oa,Ra,Qa,Sa,Ua,Va,Wa,Xa,Ya,Za,$a,bb,ab,fb,eb,ib,kb,lb,nb,pb,ob,qb,rb,sb,tb,vb,ub,wb,zb,Bb,xb,Cb,Db,Eb,Gb,yb,Fb,Hb,Ib,Jb,Kb,Lb,F,H,Mb,Nb,Ob,Pb,Qb,Rb,Sb,Tb,Ub,Wb,Xb,Yb,Zb,$b,Vb,ac,bc,cc,dc,ec,fc,gc,hc,ic,kc,lc,mc,nc,oc,pc,rc,tc,uc,vc,wc,zc,Bc,Ec,Fc,Hc,Jc,Kc,Lc,Nc,Oc,Pc,Qc,Mc,Rc,Uc,Xc,bd,cd,dd,Yc,gd,fd,$c,Vc,Tc,I,id,jd,kd,ld,md,nd,qd,pd,rd,sd,yd,ud,zd,Ad,Bd,Dd,Ed,Gd,Hd,Id,Kd,Ld,Md,Od,Qd,Sd,Td,Pd,Rd,\
|
|
Cd,Jd,Zd,Wd,Ud,Vd,$d,Yd,Xd,Nd,be,ce,de,ee,fe,ge,he,ie,je,J,ke,me,ne,oe,qe,we,ye,ze,Ae,Ce,De,Fe,Ge,Je,Ie,Le,Me,Ne,Pe,Qe,Se,Re,Ze,$e,af,bf,cf,ef,ff,gf,hf,jf,kf,lf,pf,rf,sf,qf,uf,vf,yf,wf,zf,K,Af,Cf,Ef,Ff,Gf,Hf,If,Jf,Kf,Mf,Of,Nf,Qf,Rf,nf,Sf,Tf,Uf,Xf,Vf,Wf,Df,Zf,$f,Yf,mf,ag,bg,cg,dg,gg,fg,eg,hg,ig,ng,og,pg,qg,rg,sg,tg,ug,vg,wg,yg,zg,Ag,Bg,Dg,Eg,Cg,Fg,Gg,Hg,Ig,Kg,Lg,Mg,Ng,Og,Pg,Qg,Rg,Sg,Tg,Ug,Vg,Wg,Yg,Zg,ah,bh,L,ch,dh,eh,fh,gh,mh,oh,ph,qh,rh,hh,kh,sh,ih,uh,th,wh,nh,vh,jh,xh,zh,Ah,Bh,Ch,Dh,Eh,Fh,Gh,Hh,\
|
|
Ih,Jh,Kh,Lh,Mh,Nh,Oh,Ph,Qh,Rh,Th,Vh,Wh,Xh,Yh,$h,di,ei,fi,gi,hi,ii,oi,ni,ki,qi,ri,wi,zi,ti,yi,vi,xi,Ei,Fi,Gi,Hi,Ji,Ki,Li,Ni,Oi,Mi,Si,Ti,Vi,Wi,Xi,Yi,Ui,Zi,aj,M,Qi,gj,ij,hj,jj,kj,lj,mj,bj,qj,pj,sj,rj,tj,uj,vj,wj,xj,yj,zj,Aj,Bj,Cj,Dj,Ej,Fj,Gj,Ij,Kj,Lj,Mj,Nj,Oj,Pj,Qj,Rj,Sj,Uj,Vj,Tj,Wj,Xj,Yj,bk,ak,ek,fk,dk,gk,jk,hk,ik,kk,lk,mk,nk,ok,pk,qk,rk,sk,tk,uk,vk,wk,xk,yk,zk,Bk,Ck,Dk,Ak,Fk,Gk,Ik,Qk,Jk,Ok,Rk,Kk,Tk,Lk,Xk,Uk,Wk,Yk,Zk,al,cl,dl,bl,el,gl,hl,jl,kl,fl,ll,il,nl,ql,rl,pl,sl,ml,ol,tl,ul,vl,xl,yl,wl,zl,Al,Bl,\
|
|
Cl,Dl,El,Fl,si,Gl,Hl,Il,Rl,Ql,Wl,Xl,Yl,Zl,bm,cm,dm,Jl,fm,Ll,Sl,Nl,Kl,Ol,Pl,$l,Ul,Ml,hm,im,km,mm,om,qm,pm,nm,rm,sm,tm,um,vm,wm,xm,ym,zm,Am,Bm,Cm,Dm,Em,Fm,Hm,Gm,Km,Lm,Jm,Mm,Nm,Om,Pm,Qm,Rm,Sm,Um,Vm,Tm,dn,Xm,gn,Wm,hn,kn,cn,bn,an,nn,mn,on,pn,rn,tn,un,vn,wn,xn,An,yn,ln,En,zn,Fn,Cn,Gn,Hn,In,Jn,Kn,Ln,Pn,Mn,Sn,Rn,Wn,Vn,Nn,Tn,Xn,Zn,sn,Qn,Yn,ao,$n,On,qn,jn,Zm,co,fo,eo,go,ho,io,jo,ko,lo,mo,no,oo,po,qo,ro,so,to,uo,vo,wo,zo,Ao,Do,xo,Eo,Fo,Go,Bo,Co,Ho,yo,Jo,Io,Lo,Mo,Ko,No,Oo,Po,Qo,To,Ro,Vo,Wo,Xo,Zo,Yo,$o,Uo,So,\
|
|
ap,op,qp,sp,rp,wp,vp,tp,jp,Ap,xp,Dp,Cp,gp,ep,fp,Ep,Bp,ip,up,zp,kp,yp,np,dp,lp,mp,Gp,Jp,Kp,Lp,Np,Op,Pp,Qp,Rp,Sp,Tp,Up,Mp,Wp,Zp,Vp,dq,eq,fq,gq,iq,kq,mq,nq,oq,pq,rq,sq,tq,uq,zq,vq,yq,Cq,Dq,Eq,O,wq,Fq,Gq,Hq,Iq,Kq,Jq,Lq,Oq,Mq,Nq,Pq,Qq,Rq,P,Sq,Tq,Uq,Vq,Zq,ar,br,$q,Wq,er,fr,gr,hr,jr,ir,kr,lr,tr,sr,ur,vr,wr,xr,yr,Br,Cr,Dr,Hr,Ir,Pr,Qr,Rr,Ur,Sr,Tr,Vr,Xr,Wr,Yr,bs,cs,as,$r,fs,gs,hs,is,Er,Gr,Fr,js,Mr,ls,ks,Kr,ns,Jr,ps,ts,vs,xs,ys,zs,Cs,Ds,Es,Bs,Gs,Is,Hs,Ks,Ls,Ms,Os,Ps,Qs,Rs,Ts,Ss,Vs,Xs,Us,Ws,Zs,Ns,Ys,at,$s,bt,\
|
|
ct,S,dt,et,it,jt,kt,lt,mt,nt,ot,pt,tt,vt,ut,xt,zt,wt,At,Bt,Ct,Dt,Et,Ft,Gt,Ht,Jt,It,Kt,Lt,Mt,Nt,Ot,Pt,Qt,Rt,St,Tt,Ut,Vt,Wt,Xt,Yt,Zt,$t,au,cu,du,fu,eu,gu,hu,ju,iu,ku,lu,nu,ou,pu,qu,ru,tu,uu,vu,wu,xu,yu,zu,Au,Cu,Bu,Eu,Gu,Hu,Iu,Lu,Mu,Ju,Ku,Pu,Qu,Ru,Tu,Su,Uu,Vu,Yu,Zu,$u,cv,fv,gv,bv,av,hv,mv,nv,ov,lv,jv,kv,iv,rv,tv,qv,vv,wv,xv,yv,zv,Av,Cv,Bv,Dv,Ev,Fv,Hv,Iv,Jv,Kv,Lv,Nv,Ov,Qv,Sv,Xv,Zv,$v,Vv,Yv,Pv,Uv,Rv,aw,Tv,Wv,bw,cw,dw,ew,gw,fw,hw,iw,jw,kw,tw,uw,ow,xw,yw,nw,pw,qw,zw,rw,Aw,Bw,vw,Ew,Fw,Gw,Hw,Iw,Jw,Kw,Nw,Ow,\
|
|
Qw,Pw,Tw,Rw,Sw,Uw,Ww,Yw,Zw,$w,ax,bx,baa,cx,caa,daa,dx,faa,gaa,haa,ex,kaa,gx,ix,hx,maa,laa,jx,naa,lx,kx,mx,nx,oaa,ox,px,qx,rx,sx,tx,ux,vx,wx,yx,zx,Bx,Ax,Cx,paa,Dx,Ex,Fx,Gx,Hx,Ix,Jx,Kx,raa,Mx,Nx,Ox,Px,Qx,Rx,Sx,saa,Tx,Ux,Vx,Wx,Xx,Yx,Zx,ay,$x,taa,by,dy,ey,fy,gy,hy,vaa,waa,xaa,yaa,zaa,Aaa,jy,ky,ly,my,ny,Baa,oy,py,qy,ry,Xw,sy,Caa,Daa,ty,Ay,zy,By,uy,Cy,Dy,Ey,Fy,Gaa,Haa,Iaa,Jy,Jaa,Gy,Hy,Kaa,Ly,Ky,My,Faa,Laa,Ny,Iy,Oy,Py,Qy,Ry,Sy,Uy,Vy,Xy,Yy,$y,az,bz,cz,hz,gz,iz,jz,kz,lz,mz,nz,oz,pz,qz,rz,sz,xz,wz,uz,zz,yz,\
|
|
Bz,Cz,Dz,Fz,Ez,Qaa,Gz,Hz,Iz,Jz,Kz,Lz,Mz,Nz,Oz,Pz,Saa,Qz,Rz,Taa,Uaa,Vaa,Tz,Sz,Uz,Vz,Wz,Xz,Yz,Zz,Waa,cA,aA,fA,eA,oA,aba,wA,hba,vA,uA,nA,IA,JA,GA,Ou,MA,NA,OA,PA,zr,DA,QA,RA,HA,EA,TA,VA,mba,WA,XA,YA,ZA,$A,aB,nba,bB,dB,cB,oba,eB,pba,fB,qba,rba,gB,hB,sba,iB,lB,tba,mB,nB,oB,pB,qB,rB,sB,tB,vB,uB,wB,yB,HB,CB,zB,AB,BB,DB,EB,FB,LB,KB,JB,zba,NB,MB,OB,PB,RB,TB,QB,SB,WB,XB,YB,$B,Aba,aC,Bba,Cba,Dba,Eba,Fba,UB,dC,eC,fC,gC,Gba,Hba,Iba,iC,jC,kC,lC,mC,nC,oC,qC,Jba,rr,Kba,rC,sC,Lba,Mba,tC,Nba,Oba,AC,zC,vC,BC,DC,IC,KC,\
|
|
LC,JC,QC,TC,UC,SC,HC,VC,GC,EC,FC,MC,OC,RC,PC,Tba,Uba,Vba,ZC,$C,aD,bD,Wba,Xba,hD,fD,eD,gD,kD,iD,cD,Yba,dD,Zba,jD,$ba,lD,mD,nD,oD,pD,qD,rD,aca,wD,zD,sD,xD,ED,BD,yD,GD,DD,AD,CD,FD,tD,HD,bca,ID,eca,uD,vD,JD,KD,LD,ND,PD,QD,SD,TD,fca,UD,RD,MD,OD,VD,WD,XD,hca,ica,jca,kca,lca,gca,ZD,fE,eE,hE,jE,nE,kE,pE,qE,sE,uE,rE,tE,xE,mca,nca,zE,AE,wE,BE,CE,vE,DE,EE,FE,yE,GE,HE,IE,oca,mE,JE,pca,KE,YD,LE,$D,gE,aE,bE,dE,cE,qca,rca,ME,OE,PE,NE,QE,RE,TE,UE,VE,WE,XE,YE,$E,lE,aF,iE,ZE,tca,dF,eF,fF,gF,jF,lF,mF,nF,uca,qF,rF,tF,\
|
|
sF,uF,vF,zF,xF,yF,wF,AF,pF,BF,CF,EF,hF,FF,GF,iF,kF,HF,JF,KF,IF,MF,NF,vca,OF,PF,wca,QF,RF,xca,SF,yca,zca,UF,Aca,TF,VF,Cca,Dca,WF,YF,$F,ZF,aG,bG,Eca,cG,eG,dG,Fca,hG,Aq,iG,jG,kG,lG,Gca,mG,nG,Du,oG,Wu,mu,pG,dv,qG,rG,Fu,gG,sG,tG,uG,vG,wG,Ica,xG,yG,zG,SE,BG,AG,Jca,DG,EG,FG,GG,HG,IG,JG,hC,KG,Kca,LG,MG,Lca,jB,Mca,Nca,Oca,NG,OG,kB,oE,PG,QG,Pca,RG,Qca,Rca,Vca,Wca,Sca,Tca,Uca,SG,TG,UG,VG,WG,pA,sA,tA,XG,Yca,Xca,YG,Zca,ZG,aH,bH,$ca,cH,dH,eH,fH,gH,Xu,ada,bda,hH,cda,eda,fda,jH,kH,lH,mH,nH,pH,rH,qH,tH,sH,oH,uH,vH,\
|
|
wH,xH,gda,hda,ida,jda,yH,zH,kda,AH,BH,lda,CH,DH,GH,EH,IH,JH,qda,rda,NH,KH,OH,LH,SH,sda,TH,UH,VH,WH,XH,YH,ZH,$H,MH,oda,pda,mda,nda,tda,ws,rs,aI,bI,cI,dI,QH,PH,RH,eI,gI,nI,jI,pI,qI,tI,sI,fI,zI,yI,oI,BI,uI,CI,EI,DI,KI,LI,MI,NI,wI,OI,PI,xI,FI,kI,II,GI,QI,AI,xda,UI,lI,vda,VI,yda,XI,mI,YI,vI,wda,zda,iI,RI,HI,WI,$I,ZI,bJ,T,aJ,cJ,dJ,Ada,lq,gJ,iJ,jJ,R,qs,wy,kJ,mJ,Ar,nJ,oJ,pJ,uv,ww,Lr,qJ,ZB,yy,us,tJ,uJ,vJ,xJ,jq,mw,yJ,Bda,Cda,zJ,AJ,Dda,BJ,CJ,DJ,EJ,FJ,Eda,GJ,HJ,Fda,Gda,Hda,IJ,JJ,Ida,KJ,LJ,MJ,NJ,OJ,PJ,QJ,Jda,\
|
|
RJ,Kda,SJ,TJ,UJ,Lda,Mda,WJ,VJ,XJ,YJ,Nda,Oda,Pda,ZJ,$J,Rda,Qda,Sda,Tda,aK,Uda,bK,Vda,cK,dK,eK,fK,Wda,hK,Xda,gK,iK,jK,Yda,kK,lK,Zda,mK,nK,pK,oK,qK,$da,cF,bF,sK,tK,YC,WC,XC,uK,rK,oF,aea,bea,vK,wK,zK,AK,BK,CK,yK,DK,cea,dea,eea,fea,xK,EK,gea,FK,GK,HK,IK,JK,KK,LK,MK,NK,OK,PK,RK,QK,SK,TK,UK,VK,WK,XK,YK,hJ,ZK,fJ,bL,cL,dL,eL,fL,gL,hL,iL,jL,mL,lL,nL,oL,pL,qL,rL,sL,hea,iea,tL,uL,vL,kea,jea,xL,lea,yL,zL,AL,CL,DL,FL,GL,oea,HL,IL,JL,lJ,pea,nea,KL,LL,ML,qea,rea,OL,sea,PL,QL,NL,RL,SL,TL,tea,vea,XL,wea,xea,UL,uea,\
|
|
VL,ZL,$L,YL,bM,aM,zea,dM,cM,eM,gM,hM,fM,jM,Cea,kM,mM,nM,oM,lM,pM,uM,qM,vM,xM,yM,BM,zM,DM,FM,GM,HM,IM,JM,KM,MM,LM,NM,OM,PM,SM,Eea,RM,TM,WM,V,XM,Fea,$M,ZM,aN,bN,cN,dN,eN,fN,gN,hN,YM,iN,jN,Hea,kN,lN,mN,nN,oN,pN,rN,sN,tN,uN,vN,wN,xN,Iea,Jea,yN,Kea,zN,Lea,Mea,Nea,BN,DN,CN,EN,FN,GN,HN,IN,Pea,Oea,JN,KN,MN,LN,NN,ON,QN,SN,PN,TN,UN,ZN,Rea,aO,bO,cO,eO,fO,iO,kO,lO,Sea,oO,sO,tO,Uea,uO,vO,wO,xO,yO,Vea,Wea,Xea,BO,bfa,EO,Zea,$ea,Yea,afa,FO,zO,dfa,HO,AO,CO,IO,efa,JO,KO,LO,MO,NO,ffa,OO,PO,gfa,jfa,ifa,RO,SO,QO,mO,UO,\
|
|
kfa,mfa,WO,lfa,nfa,XO,YO,ZO,aP,$O,bP,VO,cP,ofa,dP,qfa,rfa,fP,sfa,tfa,gP,hP,iP,jP,ufa,kP,mP,lP,wfa,zP,wP,tP,yfa,BP,xfa,yP,nP,MP,Bfa,CP,AP,Cfa,Dfa,Efa,Ffa,Gfa,Afa,EP,QP,RP,Ifa,SP,TP,UP,VP,XP,YP,WP,Jfa,ZP,Kfa,$P,bQ,cQ,Lfa,dQ,Mfa,gQ,jQ,iQ,kQ,Nfa,lQ,nQ,Sfa,Ofa,rQ,Ufa,Tfa,sQ,tQ,vQ,uQ,Zfa,wQ,zQ,AQ,DQ,FQ,EQ,fga,HQ,CQ,IQ,gga,KQ,JQ,hga,LQ,NQ,PQ,OQ,iga,QQ,jga,RQ,SQ,kga,TQ,lga,mga,nga,oga,UQ,pga,VQ,qga,WQ,XQ,YQ,ZQ,sga,$Q,aR,bR,dR,fR,gR,cR,iR,tga,uga,hR,jR,kR,lR,mR,wga,pR,qR,rR,X,tR,uR,vR,wR,xR,yR,zR,CR,DR,xga,\
|
|
HR,IR,Bga,KR,QR,RR,TR,GR,PR,NR,Hga,Iga,Jga,UR,VR,Kga,Lga,WR,YR,XR,ZR,Mga,Nga,Oga,Pga,aS,dS,eS,fS,gS,hS,iS,jS,kS,Qga,lS,mS,oS,nS,qS,pS,rS,sS,Rga,wS,xS,yS,zS,AS,CS,DS,ES,GS,HS,FS,IS,JS,KS,LS,MS,NS,OS,PS,Sga,SS,TS,QS,RS,VS,ZS,WS,XS,US,YS,Tga,$S,aT,bT,cT,dT,eT,fT,hT,iT,gT,Uga,lT,mT,Vga,nT,Wga,Xga,Yga,Zga,oT,pT,qT,rT,sT,tT,uT,vT,wT,xT,$ga,yT,zT,AT,BT,CT,DT,ET,FT,GT,HT,JT,KT,bha,cha,MT,NT,QT,OT,PT,RT,ST,eha,fha,TT,UT,aU,bU,VT,cU,jha,dU,kha,WT,iha,XT,ZT,$T,hha,jU,kU,lU,qU,mU,rha,sha,rU,uha,pha,tU,qha,vU,\
|
|
tha,wU,xU,yU,xha,yha,zha,zU,Aha,Bha,AU,BU,Cha,DU,EU,FU,GU,Dha,Eha,CU,HU,IU,JU,KU,LU,MU,NU,OU,PU,SU,RU,QU,Hha,TU,kT,jT,WU,Kha,VU,UU,XU,YU,ZU,$U,aV,bV,cV,Mha,iV,jV,lV,fU,rV,vV,wV,xV,Rha,yV,mV,Sha,zV,AV,iU,CV,EV,nha,FV,eU,oha,DV,GV,HV,IV,JV,KV,LV,MV,Vha,Wha,Uha,Xha,BV,Yha,WV,Zha,XV,kV,YV,ZV,$V,aW,bW,$ha,cW,qV,SV,VV,dW,gU,eW,fW,hU,pV,gW,uV,hW,iW,nV,sV,TV,Tha,jW,kW,lW,nW,mW,bia,pW,oW,dia,eia,cia,qW,rW,sW,tW,uW,fia,vW,jia,gia,hia,wW,kia,lia,xW,yW,AW,BW,CW,DW,mia,nia,oia,pia,EW,FW,qia,GW,ria,HW,IW,JW,tia,\
|
|
KW,NW,OW,PW,uia,QW,RW,wia,via,SW,TW,UW,VW,WW,NV,OV,RV,XW,YW,ZW,PV,QV,dV,eX,hV,dX,gV,eV,cX,fV,iX,jX,lX,xia,mX,nX,oX,pX,qX,rX,sX,tX,uX,vX,wX,yia,xX,yX,zX,AX,BX,CX,DX,zia,EX,FX,GX,HX,Aia,IX,JX,KX,LX,NX,MX,Bia,OX,PX,Cia,Dia,QX,RX,TX,UX,Fia,VX,Eia,Jia,Iia,Kia,Hia,Gia,Mia,WX,Nia,YX,SX,Pia,Lia,Sia,Ria,Qia,Tia,Uia,XX,ZX,Via,Yia,Xia,Zia,$ia,Wia,bja,dja,cja,fja,bY,cY,dY,eY,fY,gY,hY,iY,jY,kY,lY,nY,oY,pY,uY,tY,yY,zY,rY,AY,BY,CY,DY,qY,sY,vY,FY,mja,GY,nja,HY,IY,JY,KY,LY,MY,oja,NY,pja,qja,OY,rja,sja,PY,QY,tja,vja,\
|
|
wja,xja,yja,sU,zja,Aja,RY,SY,Cja,UY,WY,Gja,TY,Hja,XY,Bja,Jja,Kja,Lja,ZY,YY,$Y,Mja,Nja,aZ,bZ,Pja,Qja,Rja,fZ,gZ,hZ,iZ,jZ,kZ,lZ,mZ,Sja,Tja,nZ,oZ,pZ,rZ,qZ,sZ,tZ,uZ,wZ,vZ,xZ,yZ,zZ,Wja,CZ,Xja,DZ,Yja,EZ,FZ,BZ,Zja,GZ,HZ,AZ,IZ,JZ,KZ,LZ,NZ,$ja,MZ,OZ,PZ,aka,QZ,RZ,bka,SZ,TZ,Z,XZ,VZ,UZ,cka,YZ,ZZ,$Z,b_,dka,c_,d_,e_,f_,eka,h_,i_,j_,k_,l_,m_,fka,n_,o_,p_,gka,r_,s_,t_,u_,v_,w_,x_,y_,z_,A_,B_,C_,E_,F_,G_,hka,ika,H_,jka,I_,J_,K_,L_,O_,M_,kka,lka,mka,P_,Q_,R_,S_,T_,U_,V_,W_,X_,Y_,Z_,$_,pka,oka,b0,a0,c0,d0,e0,qka,rka,\
|
|
f0,h0,tka,ska,i0,vka,k0,wka,j0,o0,p0,q0,yka,zka,r0,s0,Aka,t0,u0,Bka,w0,Cka,x0,y0,A0,B0,z0,Eka,C0,E0,F0,D0,G0,H0,Fka,I0,Gka,O0,J0,K0,M0,T0,P0,R0,Q0,W0,S0,U0,Hka,N0,L0,X0,Y0,Jka,Z0,Kka,Ika,Lka,Mka,a1,$0,b1,c1,cZ,Oka,Pka,f1,g1,h1,e1,i1,d1,Qka,dZ,j1,k1,l1,m1,n1,o1,q1,r1,Rka,Ska,s1,t1,u1,v1,w1,x1,A1,Vka,Tka,Uka,Wka,B1,E1,C1,F1,I1,J1,L1,O1,N1,M1,Q1,Xka,S1,R1,U1,T1,V1,W1,X1,Y1,Z1,$1,a2,Yka,b2,ala,c2,d2,f2,g2,bla,dla,h2,ela,i2,l2,k2,j2,m2,o2,q2,t2,u2,fla,v2,w2,gla,x2,y2,z2,A2,B2,C2,D2,E2,F2,G2,L2,hla,H2,\
|
|
M2,N2,O2,P2,J2,Q2,R2,S2,T2,V2,X2,Z2,Y2,$2,U2,W2,c3,b3,d3,e3,jla,g3,f3,h3,kla,nla,lla,ola,mla,j3,pla,k3,l3,m3,qla,p3,o3,t3,n3,I2,u3,v3,rla,w3,z3,sla,x3,q3,y3,s3,r3,D3,E3,K2,C3,B3,F3,G3,H3,I3,ula,yla,tla,vla,xla,K3,M3,N3,O3,P3,Q3,R3,S3,T3,U3,zla,V3,X3,W3,Y3,Ala,Z3,Bla,$3,a4,d4,e4,f4,g4,h4,Cla,Dla,c4,j4,l4,Ela,m4,k4,n4,o4,p4,Fla,Gla,Ila,Hla,q4,r4,s4,Jla,Kla,Lla,t4,Mla,w4,z4,A4,u4,x4,y4,v4,B4,z1,y1,D1,E4,F4,G4,H4,K4,n2,N4,D4,O4,R4,b4,P4,s2,r2,A3,T4,L3,U4,W4,X4,V4,b5,d5,e5,f5,Y4,Z4,c5,$4,g5,a5,h5,i5,j5,\
|
|
k5,Qla,Pla,n5,p5,vy,q5,o5,s5,p2,l5,t5,u5,v5,w5,x5,z5,A5,y5,C5,D5,E5,Sla,Tla,F5,G5,Ula,H5,I5,J5,rI,JI,K5,xq,hI,M5,SI,TI,N5,I4,O5,Q5,kL,R5,T5,V5,W5,X5,Y5,$5,a6,b6,Z5,c6,Gv,e6,f6,g6,h6,i6,j6,l6,k6,m6,o6,p6,n6,q6,r6,s6,Vla,t6,u6,v6,w6,z6,A6,y6,x6,C6,B6,D6,E6,F6,G6,I6,K6,H6,M6,L6,N6,O6,P6,Q6,R6,S6,T6,Wla,U6,V6,W6,X6,Y6,Z6,$6,a7,c7,b7,d7,e7,f7,g7,h7,j7,i7,l7,k7,m7,n7,o7,p7,q7,u7,s7,r7,t7,w7,v7,x7,z7,B7,C7,A7,D7,E7,F7,G7,I7,M7,H7,P7,Q7,R7,K7,S7,J7,U7,O7,L7,T7,V7,N7,X7,W7,Y7,Z7,$7,a8,b8,c8,d8,e8,f8,g8,i8,\
|
|
h8,j8,k8,l8,m8,n8,o8,q8,r8,s8,t8,p8,u8,v8,w8,y8,x8,z8,A8,B8,C8,D8,E8,G8,F8,H8,J8,d6,L8,K8,I8,M8,y7,O8,Q8,P8,R8,T8,rJ,N8,U8,sJ,S8,V8,bma,dma,Tra,Z8,Vra,b9,Ura,c9,d9,e9,e2,M4,$8,L4,eJ,f9,h9,g9,i9,C4,j9,k9,Wra,Xra,o9,n9,r9,s9,X8,t9,u9,v9,w9,a9,m9,l9,z9,A9,p9,q9,C9,D9,B9,F9,G9,I9,H9,aL,J9,K9,L9,y9,M9,x9,O9,N9,hq,S4,Q9,P9,R9,S9,wJ,Q4,T9,E9,Y8,U9,Yra,V9,W9,X9,Y9,Z9,Bn,aa,la,ma,C;p=function(a)\{return void 0!==a\};\
|
|
g.ba=function(a,b,c)\{a=a.split(".");c=c||aa;a[0]in c||!c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)!a.length&&p(b)?c[d]=b:c[d]?c=c[d]:c=c[d]=\{\}\};\
|
|
q=function(a,b)\{for(var c=a.split("."),d=b||aa,e;e=c.shift();)if(null!=d[e])d=d[e];else return null;return d\};\
|
|
r=function()\{\};\
|
|
v=function()\{throw Error("unimplemented abstract method");\};\
|
|
ca=function(a)\{a.getInstance=function()\{return a.$b?a.$b:a.$b=new a\}\};\
|
|
da=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\};\
|
|
ea=function(a)\{return"array"==da(a)\};\
|
|
fa=function(a)\{var b=da(a);return"array"==b||"object"==b&&"number"==typeof a.length\};\
|
|
w=function(a)\{return"string"==typeof a\};\
|
|
ga=function(a)\{return"boolean"==typeof a\};\
|
|
ha=function(a)\{return"number"==typeof a\};\
|
|
ia=function(a)\{return"function"==da(a)\};\
|
|
ka=function(a)\{var b=typeof a;return"object"==b&&null!=a||"function"==b\};\
|
|
na=function(a)\{return a[la]||(a[la]=++ma)\};\
|
|
oa=function(a,b,c)\{return a.call.apply(a.bind,arguments)\};\
|
|
pa=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)\}\};\
|
|
x=function(a,b,c)\{x=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?oa:pa;return x.apply(null,arguments)\};\
|
|
qa=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)\}\};\
|
|
ra=function(a,b)\{for(var c in b)a[c]=b[c]\};\
|
|
z=function(a,b)\{function c()\{\}\
|
|
c.prototype=b.prototype;a.L=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.ZQ=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)\}\};\
|
|
sa=function(a)\{if(Error.captureStackTrace)Error.captureStackTrace(this,sa);else\{var b=Error().stack;b&&(this.stack=b)\}a&&(this.message=String(a))\};\
|
|
ta=function(a,b)\{return 0==a.lastIndexOf(b,0)\};\
|
|
ua=function(a,b)\{var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c\};\
|
|
A=function(a)\{return/^[\\s\\xa0]*$/.test(a)\};\
|
|
va=function(a)\{return(0,window.encodeURIComponent)(String(a))\};\
|
|
wa=function(a)\{return(0,window.decodeURIComponent)(a.replace(/\\+/g," "))\};\
|
|
Ea=function(a)\{if(!xa.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(ya,"&"));-1!=a.indexOf("<")&&(a=a.replace(za,"<"));-1!=a.indexOf(">")&&(a=a.replace(Aa,">"));-1!=a.indexOf('"')&&(a=a.replace(Ba,"""));-1!=a.indexOf("'")&&(a=a.replace(Ca,"'"));-1!=a.indexOf("\\x00")&&(a=a.replace(Da,"�"));return a\};\
|
|
Ha=function(a)\{return-1!=a.indexOf("&")?"document"in aa?Fa(a):Ga(a):a\};\
|
|
Fa=function(a)\{var b=\{"&":"&","<":"<",">":">",""":'"'\},c;c=aa.document.createElement("div");return a.replace(Ia,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\})\};\
|
|
Ga=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\}\})\};\
|
|
Ja=function(a,b)\{a.length>b&&(a=a.substring(0,b-3)+"...");return a\};\
|
|
Ka=function(a,b)\{return-1!=a.toLowerCase().indexOf(b.toLowerCase())\};\
|
|
Ma=function(a,b,c)\{a=p(c)?a.toFixed(c):String(a);c=a.indexOf(".");-1==c&&(c=a.length);return La("0",Math.max(0,b-c))+a\};\
|
|
B=function(a)\{return null==a?"":String(a)\};\
|
|
Na=function(a)\{return Array.prototype.join.call(arguments,"")\};\
|
|
Oa=function()\{return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^C()).toString(36)\};\
|
|
Ra=function(a,b)\{for(var c=0,d=Pa(String(a)).split("."),e=Pa(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=Qa(0==l[1].length?0:(0,window.parseInt)(l[1],10),0==m[1].length?0:(0,window.parseInt)(m[1],10))||Qa(0==l[2].length,0==m[2].length)||Qa(l[2],m[2]);l=l[3];m=m[3]\}while(0==c)\}return c\};\
|
|
Qa=function(a,b)\{return a<b?-1:a>b?1:0\};\
|
|
Sa=function(a)\{for(var b=0,c=0;c<a.length;++c)b=31*b+a.charCodeAt(c)>>>0;return b\};\
|
|
Ua=function()\{return"goog_"+Ta++\};\
|
|
Va=function(a)\{var b=Number(a);return 0==b&&A(a)?window.NaN:b\};\
|
|
Wa=function(a)\{return String(a).replace(/\\-([a-z])/g,function(a,c)\{return c.toUpperCase()\})\};\
|
|
Xa=function(a)\{var b=w(void 0)?"undefined".replace(/([-()\\[\\]\{\}+?*.$\\^|,:#<!\\\\])/g,"\\\\$1").replace(/\\x08/g,"\\\\x08"):"\\\\s";return a.replace(new RegExp("(^"+(b?"|["+b+"]+":"")+")([a-z])","g"),function(a,b,e)\{return b+e.toUpperCase()\})\};\
|
|
Ya=function(a)\{(0,window.isFinite)(a)&&(a=String(a));return w(a)?/^\\s*-?0x/i.test(a)?(0,window.parseInt)(a,16):(0,window.parseInt)(a,10):window.NaN\};\
|
|
Za=function(a,b,c)\{a=a.split(b);for(var d=[];0<c&&a.length;)d.push(a.shift()),c--;a.length&&d.push(a.join(b));return d\};\
|
|
$a=function(a)\{return a[a.length-1]\};\
|
|
bb=function(a,b,c)\{b=ab(a,b,c);return 0>b?null:w(a)?a.charAt(b):a[b]\};\
|
|
ab=function(a,b,c)\{for(var d=a.length,e=w(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return f;return-1\};\
|
|
fb=function(a,b)\{var c=eb(a,b,void 0);return 0>c?null:w(a)?a.charAt(c):a[c]\};\
|
|
eb=function(a,b,c)\{for(var d=w(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\};\
|
|
ib=function(a,b)\{return 0<=gb(a,b)\};\
|
|
kb=function(a)\{return 0==a.length\};\
|
|
lb=function(a)\{if(!ea(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0\};\
|
|
nb=function(a,b)\{ib(a,b)||a.push(b)\};\
|
|
pb=function(a,b)\{var c=gb(a,b),d;(d=0<=c)&&ob(a,c);return d\};\
|
|
ob=function(a,b)\{Array.prototype.splice.call(a,b,1)\};\
|
|
qb=function(a,b)\{var c=ab(a,b,void 0);0<=c&&ob(a,c)\};\
|
|
rb=function(a)\{return Array.prototype.concat.apply(Array.prototype,arguments)\};\
|
|
sb=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[]\};\
|
|
tb=function(a,b)\{for(var c=1;c<arguments.length;c++)\{var d=arguments[c];if(fa(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)\}\};\
|
|
vb=function(a,b,c,d)\{Array.prototype.splice.apply(a,ub(arguments,1))\};\
|
|
ub=function(a,b,c)\{return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)\};\
|
|
wb=function(a,b,c)\{function d(a)\{return ka(a)?"o"+na(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\};\
|
|
zb=function(a,b,c)\{return xb(a,c||yb,!1,b)\};\
|
|
Bb=function(a,b)\{return xb(a,b,!0,void 0,void 0)\};\
|
|
xb=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\};\
|
|
Cb=function(a,b)\{a.sort(b||yb)\};\
|
|
Db=function(a,b,c)\{var d=c||yb;Cb(a,function(a,c)\{return d(b(a),b(c))\})\};\
|
|
Eb=function(a,b)\{Db(a,function(a)\{return a[b]\},void 0)\};\
|
|
Gb=function(a,b)\{if(!fa(a)||!fa(b)||a.length!=b.length)return!1;for(var c=a.length,d=Fb,e=0;e<c;e++)if(!d(a[e],b[e]))return!1;return!0\};\
|
|
yb=function(a,b)\{return a>b?1:a<b?-1:0\};\
|
|
Fb=function(a,b)\{return a===b\};\
|
|
Hb=function(a,b,c)\{c=zb(a,b,c);0>c&&vb(a,-(c+1),0,b)\};\
|
|
Ib=function(a,b,c)\{var d=\{\};D(a,function(e,f)\{d[b.call(c,e,f,a)]=e\});\
|
|
return d\};\
|
|
Jb=function(a)\{for(var b=[],c=0;c<a;c++)b[c]=0;return b\};\
|
|
Kb=function(a)\{for(var b=[],c=0;c<arguments.length;c++)\{var d=arguments[c];if(ea(d))for(var e=0;e<d.length;e+=8192)for(var f=Kb.apply(null,ub(d,e,e+8192)),k=0;k<f.length;k++)b.push(f[k]);else b.push(d)\}return b\};\
|
|
Lb=function(a)\{for(var b=Math.random,c=a.length-1;0<c;c--)\{var d=Math.floor(b()*(c+1)),e=a[c];a[c]=a[d];a[d]=e\}\};\
|
|
F=function()\{this.gb=this.gb;this.La=this.La\};\
|
|
H=function(a,b)\{Mb(a,qa(Nb,b))\};\
|
|
Mb=function(a,b)\{a.gb?p(void 0)?b.call(void 0):b():(a.La||(a.La=[]),a.La.push(p(void 0)?x(b,void 0):b))\};\
|
|
Nb=function(a)\{a&&"function"==typeof a.dispose&&a.dispose()\};\
|
|
Ob=function(a)\{for(var b=0,c=arguments.length;b<c;++b)\{var d=arguments[b];fa(d)?Ob.apply(null,d):Nb(d)\}\};\
|
|
Pb=function(a,b,c)\{for(var d in a)b.call(c,a[d],d,a)\};\
|
|
Qb=function(a,b,c)\{var d=\{\},e;for(e in a)b.call(c,a[e],e,a)&&(d[e]=a[e]);return d\};\
|
|
Rb=function(a,b)\{var c=\{\},d;for(d in a)c[d]=b.call(void 0,a[d],d,a);return c\};\
|
|
Sb=function(a,b,c)\{for(var d in a)if(b.call(c,a[d],d,a))return!0;return!1\};\
|
|
Tb=function(a,b)\{for(var c in a)if(!b.call(void 0,a[c],c,a))return!1;return!0\};\
|
|
Ub=function(a)\{var b=0,c;for(c in a)b++;return b\};\
|
|
Wb=function(a,b)\{return Vb(a,b)\};\
|
|
Xb=function(a)\{var b=[],c=0,d;for(d in a)b[c++]=a[d];return b\};\
|
|
Yb=function(a)\{var b=[],c=0,d;for(d in a)b[c++]=d;return b\};\
|
|
Zb=function(a,b)\{for(var c=fa(b),d=c?b:arguments,c=c?0:1;c<d.length&&(a=a[d[c]],p(a));c++);return a\};\
|
|
$b=function(a,b)\{return null!==a&&b in a\};\
|
|
Vb=function(a,b)\{for(var c in a)if(a[c]==b)return!0;return!1\};\
|
|
ac=function(a,b,c)\{for(var d in a)if(b.call(c,a[d],d,a))return d\};\
|
|
bc=function(a,b)\{var c=ac(a,b,void 0);return c&&a[c]\};\
|
|
cc=function(a)\{for(var b in a)return!1;return!0\};\
|
|
dc=function(a)\{for(var b in a)delete a[b]\};\
|
|
ec=function(a,b)\{b in a&&delete a[b]\};\
|
|
fc=function(a,b,c)\{return null!==a&&b in a?a[b]:c\};\
|
|
gc=function(a,b)\{for(var c in a)if(!(c in b)||a[c]!==b[c])return!1;for(c in b)if(!(c in a))return!1;return!0\};\
|
|
hc=function(a)\{var b=\{\},c;for(c in a)b[c]=a[c];return b\};\
|
|
ic=function(a)\{var b=da(a);if("object"==b||"array"==b)\{if(ia(a.clone))return a.clone();var b="array"==b?[]:\{\},c;for(c in a)b[c]=ic(a[c]);return b\}return a\};\
|
|
kc=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<jc.length;f++)c=jc[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])\}\};\
|
|
lc=function(a)\{var b=arguments.length;if(1==b&&ea(arguments[0]))return lc.apply(null,arguments[0]);for(var c=\{\},d=0;d<b;d++)c[arguments[d]]=!0;return c\};\
|
|
mc=function(a,b)\{this.type=a;this.currentTarget=this.target=b;this.g=!1;this.qt=!0\};\
|
|
nc=function(a)\{a.stopPropagation()\};\
|
|
oc=function(a)\{oc[" "](a);return a\};\
|
|
pc=function(a,b)\{try\{return oc(a[b]),!0\}catch(c)\{\}return!1\};\
|
|
rc=function(a,b)\{var c=qc;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)\};\
|
|
tc=function(a)\{return-1!=sc.indexOf(a)\};\
|
|
uc=function()\{return(tc("Chrome")||tc("CriOS"))&&!tc("Edge")\};\
|
|
vc=function()\{return tc("iPhone")&&!tc("iPod")&&!tc("iPad")\};\
|
|
wc=function()\{var a=aa.document;return a?a.documentMode:void 0\};\
|
|
zc=function(a)\{return rc(a,function()\{return 0<=Ra(yc,a)\})\};\
|
|
Bc=function(a)\{return Number(Ac)>=a\};\
|
|
Ec=function(a)\{return Cc?"webkit"+a:Dc?"o"+a.toLowerCase():a.toLowerCase()\};\
|
|
Fc=function(a,b)\{mc.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.charCode=this.keyCode=this.button=this.screenY=this.screenX=this.clientY=this.clientX=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.b=this.state=null;a&&this.init(a,b)\};\
|
|
Hc=function(a)\{return!(!a||!a[Gc])\};\
|
|
Jc=function(a,b,c,d,e)\{this.listener=a;this.b=null;this.src=b;this.type=c;this.eg=!!d;this.Qd=e;this.key=++Ic;this.Jg=this.Fi=!1\};\
|
|
Kc=function(a)\{a.Jg=!0;a.listener=null;a.b=null;a.src=null;a.Qd=null\};\
|
|
Lc=function(a)\{this.src=a;this.b=\{\};this.g=0\};\
|
|
Nc=function(a,b,c,d,e,f)\{var k=b.toString();b=a.b[k];b||(b=a.b[k]=[],a.g++);var l=Mc(b,c,e,f);-1<l?(a=b[l],d||(a.Fi=!1)):(a=new Jc(c,a.src,k,!!e,f),a.Fi=d,b.push(a));return a\};\
|
|
Oc=function(a,b)\{var c=b.type;if(!(c in a.b))return!1;var d=pb(a.b[c],b);d&&(Kc(b),0==a.b[c].length&&(delete a.b[c],a.g--));return d\};\
|
|
Pc=function(a)\{var b=0,c;for(c in a.b)\{for(var d=a.b[c],e=0;e<d.length;e++)++b,Kc(d[e]);delete a.b[c];a.g--\}\};\
|
|
Qc=function(a,b,c,d,e)\{a=a.b[b.toString()];b=-1;a&&(b=Mc(a,c,d,e));return-1<b?a[b]:null\};\
|
|
Mc=function(a,b,c,d)\{for(var e=0;e<a.length;++e)\{var f=a[e];if(!f.Jg&&f.listener==b&&f.eg==!!c&&f.Qd==d)return e\}return-1\};\
|
|
Rc=function(a,b,c,d,e)\{if(ea(b))\{for(var f=0;f<b.length;f++)Rc(a,b[f],c,d,e);return null\}c=Tc(c);return Hc(a)?a.O(b,c,d,e):Uc(a,b,c,!1,d,e)\};\
|
|
Uc=function(a,b,c,d,e,f)\{if(!b)throw Error("Invalid event type");var k=!!e,l=Vc(a);l||(a[Wc]=l=new Lc(a));c=Nc(l,b,c,d,e,f);if(c.b)return c;d=Xc();c.b=d;d.src=a;d.listener=c;if(a.addEventListener)a.addEventListener(b.toString(),d,k);else if(a.attachEvent)a.attachEvent(Yc(b.toString()),d);else throw Error("addEventListener and attachEvent are unavailable.");Zc++;return c\};\
|
|
Xc=function()\{var a=$c,b=ad?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\};\
|
|
bd=function(a,b,c,d,e)\{if(ea(b))\{for(var f=0;f<b.length;f++)bd(a,b[f],c,d,e);return null\}c=Tc(c);return Hc(a)?Nc(a.ld,String(b),c,!0,d,e):Uc(a,b,c,!0,d,e)\};\
|
|
cd=function(a,b,c,d,e)\{if(ea(b))for(var f=0;f<b.length;f++)cd(a,b[f],c,d,e);else c=Tc(c),Hc(a)?a.sa(b,c,d,e):a&&(a=Vc(a))&&(b=Qc(a,b,c,!!d,e))&&dd(b)\};\
|
|
dd=function(a)\{if(ha(a)||!a||a.Jg)return!1;var b=a.src;if(Hc(b))return Oc(b.ld,a);var c=a.type,d=a.b;b.removeEventListener?b.removeEventListener(c,d,a.eg):b.detachEvent&&b.detachEvent(Yc(c),d);Zc--;(c=Vc(b))?(Oc(c,a),0==c.g&&(c.src=null,b[Wc]=null)):Kc(a);return!0\};\
|
|
Yc=function(a)\{return a in ed?ed[a]:ed[a]="on"+a\};\
|
|
gd=function(a,b,c,d)\{var e=!0;if(a=Vc(a))if(b=a.b[b.toString()])for(b=b.concat(),a=0;a<b.length;a++)\{var f=b[a];f&&f.eg==c&&!f.Jg&&(f=fd(f,d),e=e&&!1!==f)\}return e\};\
|
|
fd=function(a,b)\{var c=a.listener,d=a.Qd||a.src;a.Fi&&dd(a);return c.call(d,b)\};\
|
|
$c=function(a,b)\{if(a.Jg)return!0;if(!ad)\{var c=b||q("window.event"),d=new Fc(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 f=a.type,k=c.length-1;!d.g&&0<=k;k--)\{d.currentTarget=c[k];var l=gd(c[k],f,!0,d),e=e&&l\}for(k=0;!d.g&&k<c.length;k++)d.currentTarget=c[k],l=gd(c[k],f,!1,d),e=e&&l\}return e\}return fd(a,new Fc(b,this))\};\
|
|
Vc=function(a)\{a=a[Wc];return a instanceof Lc?a:null\};\
|
|
Tc=function(a)\{if(ia(a))return a;a[hd]||(a[hd]=function(b)\{return a.handleEvent(b)\});\
|
|
return a[hd]\};\
|
|
I=function()\{F.call(this);this.ld=new Lc(this);this.Oa=this;this.ua=null\};\
|
|
id=function(a,b,c,d)\{b=a.ld.b[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.Jg&&k.eg==c)\{var l=k.listener,m=k.Qd||k.src;k.Fi&&Oc(a.ld,k);e=!1!==l.call(m,d)&&e\}\}return e&&0!=d.qt\};\
|
|
jd=function(a,b,c)\{this.B=c;this.o=a;this.A=b;this.g=0;this.b=null\};\
|
|
kd=function(a,b)\{a.A(b);a.g<a.B&&(a.g++,b.next=a.b,a.b=b)\};\
|
|
ld=function(a)\{return function()\{return a\}\};\
|
|
md=function(a)\{var b;b=b||0;return function()\{return a.apply(this,Array.prototype.slice.call(arguments,0,b))\}\};\
|
|
nd=function(a)\{aa.setTimeout(function()\{throw a;\},0)\};\
|
|
qd=function(a,b)\{var c=a;b&&(c=x(a,b));!ia(aa.setImmediate)||aa.Window&&aa.Window.prototype&&!tc("Edge")&&aa.Window.prototype.setImmediate==aa.setImmediate?(od||(od=pd()),od(c)):aa.setImmediate(c)\};\
|
|
pd=function()\{var a=aa.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!tc("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=x(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&&!tc("Trident")&&!tc("MSIE"))\{var b=new a,c=\{\},d=c;b.port1.onmessage=function()\{if(p(c.next))\{c=c.next;var a=c.zp;c.zp=null;a()\}\};\
|
|
return function(a)\{d.next=\{zp: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)\{aa.setTimeout(a,0)\}\};\
|
|
rd=function()\{this.g=this.b=null\};\
|
|
sd=function()\{this.next=this.scope=this.b=null\};\
|
|
yd=function(a,b)\{td||ud();vd||(td(),vd=!0);var c=wd,d=xd.get();d.set(a,b);c.g?c.g.next=d:c.b=d;c.g=d\};\
|
|
ud=function()\{if(aa.Promise&&aa.Promise.resolve)\{var a=aa.Promise.resolve(void 0);td=function()\{a.then(zd)\}\}else td=function()\{qd(zd)\}\};\
|
|
zd=function()\{for(var a;a=wd.remove();)\{try\{a.b.call(a.scope)\}catch(b)\{nd(b)\}kd(xd,a)\}vd=!1\};\
|
|
Ad=function(a)\{a.prototype.then=a.prototype.then;a.prototype.$goog_Thenable=!0\};\
|
|
Bd=function(a)\{if(!a)return!1;try\{return!!a.$goog_Thenable\}catch(b)\{return!1\}\};\
|
|
Dd=function(a,b)\{this.b=0;this.D=void 0;this.A=this.g=this.o=null;this.B=this.C=!1;if(a!=r)try\{var c=this;a.call(b,function(a)\{Cd(c,2,a)\},function(a)\{Cd(c,3,a)\})\}catch(d)\{Cd(this,3,d)\}\};\
|
|
Ed=function()\{this.next=this.context=this.g=this.A=this.b=null;this.o=!1\};\
|
|
Gd=function(a,b,c)\{var d=Fd.get();d.A=a;d.g=b;d.context=c;return d\};\
|
|
Hd=function(a)\{if(a instanceof Dd)return a;var b=new Dd(r);Cd(b,2,a);return b\};\
|
|
Id=function(a)\{return new Dd(function(b,c)\{c(a)\})\};\
|
|
Kd=function(a,b,c)\{Jd(a,b,c,null)||yd(qa(b,a))\};\
|
|
Ld=function(a)\{return new Dd(function(b,c)\{a.length||b(void 0);for(var d=0,e;d<a.length;d++)e=a[d],Kd(e,b,c)\})\};\
|
|
Md=function(a)\{return new Dd(function(b,c)\{var d=a.length,e=[];if(d)for(var f=function(a,c)\{d--;e[a]=c;0==d&&b(e)\},k=function(a)\{c(a)\},l=0,m;l<a.length;l++)m=a[l],Kd(m,qa(f,l),k);\
|
|
else b(e)\})\};\
|
|
Od=function()\{var a,b,c=new Dd(function(c,e)\{a=c;b=e\});\
|
|
return new Nd(c,a,b)\};\
|
|
Qd=function(a,b)\{var c=Gd(b,b,void 0);c.o=!0;Pd(a,c)\};\
|
|
Sd=function(a,b)\{return Rd(a,null,b,void 0)\};\
|
|
Td=function(a,b)\{if(0==a.b)if(a.o)\{var c=a.o;if(c.g)\{for(var d=0,e=null,f=null,k=c.g;k&&(k.o||(d++,k.b==a&&(e=k),!(e&&1<d)));k=k.next)e||(f=k);e&&(0==c.b&&1==d?Td(c,b):(f?(d=f,d.next==c.A&&(c.A=d),d.next=d.next.next):Ud(c),Vd(c,e,3,b)))\}a.o=null\}else Cd(a,3,b)\};\
|
|
Pd=function(a,b)\{a.g||2!=a.b&&3!=a.b||Wd(a);a.A?a.A.next=b:a.g=b;a.A=b\};\
|
|
Rd=function(a,b,c,d)\{var e=Gd(null,null,null);e.b=new Dd(function(a,k)\{e.A=b?function(c)\{try\{var e=b.call(d,c);a(e)\}catch(n)\{k(n)\}\}:a;\
|
|
e.g=c?function(b)\{try\{var e=c.call(d,b);!p(e)&&b instanceof Xd?k(b):a(e)\}catch(n)\{k(n)\}\}:k\});\
|
|
e.b.o=a;Pd(a,e);return e.b\};\
|
|
Cd=function(a,b,c)\{0==a.b&&(a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself")),a.b=1,Jd(c,a.G,a.H,a)||(a.D=c,a.b=b,a.o=null,Wd(a),3!=b||c instanceof Xd||Yd(a,c)))\};\
|
|
Jd=function(a,b,c,d)\{if(a instanceof Dd)return Pd(a,Gd(b||r,c||null,d)),!0;if(Bd(a))return a.then(b,c,d),!0;if(ka(a))try\{var e=a.then;if(ia(e))return Zd(a,e,b,c,d),!0\}catch(f)\{return c.call(d,f),!0\}return!1\};\
|
|
Zd=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)\}\};\
|
|
Wd=function(a)\{a.C||(a.C=!0,yd(a.F,a))\};\
|
|
Ud=function(a)\{var b=null;a.g&&(b=a.g,a.g=b.next,b.next=null);a.g||(a.A=null);return b\};\
|
|
Vd=function(a,b,c,d)\{if(3==c&&b.g&&!b.o)for(;a&&a.B;a=a.o)a.B=!1;if(b.b)b.b.o=null,$d(b,c,d);else try\{b.o?b.A.call(b.context):$d(b,c,d)\}catch(e)\{ae.call(null,e)\}kd(Fd,b)\};\
|
|
$d=function(a,b,c)\{2==b?a.A.call(a.context,c):a.g&&a.g.call(a.context,c)\};\
|
|
Yd=function(a,b)\{a.B=!0;yd(function()\{a.B&&ae.call(null,b)\})\};\
|
|
Xd=function(a)\{sa.call(this,a)\};\
|
|
Nd=function(a,b,c)\{this.o=a;this.g=b;this.b=c\};\
|
|
be=function(a,b)\{I.call(this);this.b=a||1;this.g=b||aa;this.o=x(this.yz,this);this.A=C()\};\
|
|
ce=function(a,b)\{a.b=b;a.Uc&&a.enabled?(a.stop(),a.start()):a.Uc&&a.stop()\};\
|
|
de=function(a,b,c)\{if(ia(a))c&&(a=x(a,c));else if(a&&"function"==typeof a.handleEvent)a=x(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:aa.setTimeout(a,b||0)\};\
|
|
ee=function(a)\{aa.clearTimeout(a)\};\
|
|
fe=function(a,b,c)\{F.call(this);this.b=a;this.A=b||0;this.g=c;this.o=x(this.nq,this)\};\
|
|
ge=function(a)\{a.stop();a.nq()\};\
|
|
he=function(a)\{a.isActive()&&ge(a)\};\
|
|
ie=function(a)\{if(a.classList)return a.classList;a=a.className;return w(a)&&a.match(/\\S+/g)||[]\};\
|
|
je=function(a,b)\{return a.classList?a.classList.contains(b):ib(ie(a),b)\};\
|
|
J=function(a,b)\{a.classList?a.classList.add(b):je(a,b)||(a.className+=0<a.className.length?" "+b:b)\};\
|
|
ke=function(a,b)\{if(a.classList)D(b,function(b)\{J(a,b)\});\
|
|
else\{var c=\{\};D(ie(a),function(a)\{c[a]=!0\});\
|
|
D(b,function(a)\{c[a]=!0\});\
|
|
a.className="";for(var d in c)a.className+=0<a.className.length?" "+d:d\}\};\
|
|
me=function(a,b)\{a.classList?a.classList.remove(b):je(a,b)&&(a.className=le(ie(a),function(a)\{return a!=b\}).join(" "))\};\
|
|
ne=function(a,b)\{a.classList?D(b,function(b)\{me(a,b)\}):a.className=le(ie(a),function(a)\{return!ib(b,a)\}).join(" ")\};\
|
|
oe=function(a,b,c)\{c?J(a,b):me(a,b)\};\
|
|
qe=function(a,b)\{return b?a.replace(pe,""):a\};\
|
|
we=function(a,b)\{for(var c=0,d=0,e=!1,f=qe(a,b).split(re),k=0;k<f.length;k++)\{var l=f[k];se.test(qe(l,void 0))?(c++,d++):te.test(l)?e=!0:ue.test(qe(l,void 0))?d++:ve.test(l)&&(e=!0)\}return 0==d?e?1:0:.4<c/d?-1:1\};\
|
|
ye=function()\{this.b="";this.g=xe\};\
|
|
ze=function(a)\{return a instanceof ye&&a.constructor===ye&&a.g===xe?a.b:"type_error:Const"\};\
|
|
Ae=function(a)\{var b=new ye;b.b=a;return b\};\
|
|
Ce=function()\{this.b="";this.g=Be\};\
|
|
De=function(a)\{var b=new Ce;b.b=a;return b\};\
|
|
Fe=function()\{this.b="";this.g=Ee\};\
|
|
Ge=function(a)\{if(a instanceof Fe&&a.constructor===Fe&&a.g===Ee)return a.b;da(a);return"type_error:SafeUrl"\};\
|
|
Je=function(a)\{if(a instanceof Fe)return a;a=a.Jf?a.Te():String(a);He.test(a)||(a="about:invalid#zClosurez");return Ie(a)\};\
|
|
Ie=function(a)\{var b=new Fe;b.b=a;return b\};\
|
|
Le=function()\{this.b="";this.g=Ke\};\
|
|
Me=function(a)\{if(a instanceof Le&&a.constructor===Le&&a.g===Ke)return a.b;da(a);return"type_error:TrustedResourceUrl"\};\
|
|
Ne=function(a)\{var b=new Le;b.b=a;return b\};\
|
|
Pe=function()\{this.b="";this.o=Oe;this.g=null\};\
|
|
Qe=function(a)\{if(a instanceof Pe&&a.constructor===Pe&&a.o===Oe)return a.b;da(a);return"type_error:SafeHtml"\};\
|
|
Se=function(a)\{function b(a)\{if(ea(a))D(a,b);else\{var e;a instanceof Pe?e=a:(e=null,a.zm&&(e=a.mg()),a=Ea(a.Jf?a.Te():String(a)),e=Re(a,e));d+=Qe(e);e=e.mg();0==c?c=e:0!=e&&c!=e&&(c=null)\}\}\
|
|
var c=0,d="";D(arguments,b);return Re(d,c)\};\
|
|
Re=function(a,b)\{var c=new Pe;c.b=a;c.g=b;return c\};\
|
|
Ze=function(a,b,c)\{var d=null,e,f="";if(b)for(e in b)\{if(!Te.test(e))throw Error('Invalid attribute name "'+e+'".');var k=b[e];if(null!=k)\{var l,m=a;l=e;if(k instanceof ye)k=ze(k);else if("style"==l.toLowerCase())\{if(!ka(k))throw Error('The "style" attribute requires goog.html.SafeStyle or map of style properties, '+typeof k+" given: "+k);if(!(k instanceof Ce))\{var m="",n=void 0;for(n in k)\{if(!/^[-_a-zA-Z0-9]+$/.test(n))throw Error("Name allows only [-_a-zA-Z0-9], got: "+n);var t=k[n];if(null!=t)\{if(t instanceof\
|
|
ye)t=ze(t);else if(Ue.test(t))\{for(var u=!0,y=!0,E=0;E<t.length;E++)\{var G=t.charAt(E);"'"==G&&y?u=!u:'"'==G&&u&&(y=!y)\}u&&y||(t="zClosurez")\}else t="zClosurez";m+=n+":"+t+";"\}\}k=m?De(m):Ve\}k instanceof Ce&&k.constructor===Ce&&k.g===Be?k=k.b:(da(k),k="type_error:SafeStyle")\}else\{if(/^on/i.test(l))throw Error('Attribute "'+l+'" requires goog.string.Const value, "'+k+'" given.');if(l.toLowerCase()in We)if(k instanceof Le)k=Me(k);else if(k instanceof Fe)k=Ge(k);else if(w(k))k=Je(k).Te();else throw Error('Attribute "'+\
|
|
l+'" on tag "'+m+'" requires goog.html.SafeUrl, goog.string.Const, or string, value "'+k+'" given.');\}k.Jf&&(k=k.Te());l=l+'="'+Ea(String(k))+'"';f+=" "+l\}\}e="<"+a+f;null!=c?ea(c)||(c=[c]):c=[];!0===Ye[a.toLowerCase()]?e+=">":(d=Se(c),e+=">"+Qe(d)+"</"+a+">",d=d.mg());(a=b&&b.dir)&&(/^(ltr|rtl|auto)$/i.test(a)?d=0:d=null);return Re(e,d)\};\
|
|
$e=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\};\
|
|
af=function(a,b)\{return Re(b,null)\};\
|
|
bf=function(a,b,c)\{return Math.min(Math.max(a,b),c)\};\
|
|
cf=function(a,b,c)\{return a+c*(b-a)\};\
|
|
ef=function(a)\{return df(arguments,function(a,c)\{return a+c\},0)\};\
|
|
ff=function(a)\{return ef.apply(null,arguments)/arguments.length\};\
|
|
gf=function(a,b)\{this.x=p(a)?a:0;this.y=p(b)?b:0\};\
|
|
hf=function(a,b)\{return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1\};\
|
|
jf=function(a,b)\{this.width=a;this.height=b\};\
|
|
kf=function(a,b)\{return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1\};\
|
|
lf=function(a,b)\{var c;c=b instanceof Fe?b:Je(b);a.href=Ge(c)\};\
|
|
pf=function(a)\{return a?new mf(nf(a)):of||(of=new mf)\};\
|
|
rf=function(a,b)\{var c=b||window.document;return c.querySelectorAll&&c.querySelector?c.querySelectorAll("."+a):qf("*",a,b)\};\
|
|
sf=function(a,b)\{var c=b||window.document,d=null;c.getElementsByClassName?d=c.getElementsByClassName(a)[0]:c.querySelectorAll&&c.querySelector?d=c.querySelector("."+a):d=qf("*",a,b)[0];return d||null\};\
|
|
qf=function(a,b,c)\{var d=window.document;c=c||d;a=a&&"*"!=a?a.toUpperCase():"";if(c.querySelectorAll&&c.querySelector&&(a||b))return c.querySelectorAll(a+(b?"."+b:""));if(b&&c.getElementsByClassName)\{c=c.getElementsByClassName(b);if(a)\{for(var d=\{\},e=0,f=0,k;k=c[f];f++)a==k.nodeName&&(d[e++]=k);d.length=e;return d\}return c\}c=c.getElementsByTagName(a||"*");if(b)\{d=\{\};for(f=e=0;k=c[f];f++)a=k.className,"function"==typeof a.split&&ib(a.split(/\\s+/),b)&&(d[e++]=k);d.length=e;return d\}return c\};\
|
|
uf=function(a,b)\{Pb(b,function(b,d)\{"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:tf.hasOwnProperty(d)?a.setAttribute(tf[d],b):ta(d,"aria-")||ta(d,"data-")?a.setAttribute(d,b):a[d]=b\})\};\
|
|
vf=function(a)\{a=a.document;a="CSS1Compat"==a.compatMode?a.documentElement:a.body;return new jf(a.clientWidth,a.clientHeight)\};\
|
|
yf=function(a)\{var b=wf(a);a=a.parentWindow||a.defaultView;return xf&&zc("10")&&a.pageYOffset!=b.scrollTop?new gf(b.scrollLeft,b.scrollTop):new gf(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)\};\
|
|
wf=function(a)\{return a.scrollingElement?a.scrollingElement:Cc||"CSS1Compat"!=a.compatMode?a.body||a.documentElement:a.documentElement\};\
|
|
zf=function(a)\{return a?a.parentWindow||a.defaultView:window\};\
|
|
K=function(a,b,c)\{return Af(window.document,arguments)\};\
|
|
Af=function(a,b)\{var c=String(b[0]),d=b[1];if(!Bf&&d&&(d.name||d.type))\{c=["<",c];d.name&&c.push(' name="',Ea(d.name),'"');if(d.type)\{c.push(' type="',Ea(d.type),'"');var e=\{\};kc(e,d);delete e.type;d=e\}c.push(">");c=c.join("")\}c=a.createElement(c);d&&(w(d)?c.className=d:ea(d)?c.className=d.join(" "):uf(c,d));2<b.length&&Cf(a,c,b,2);return c\};\
|
|
Cf=function(a,b,c,d)\{function e(c)\{c&&b.appendChild(w(c)?a.createTextNode(c):c)\}\
|
|
for(;d<c.length;d++)\{var f=c[d];!fa(f)||ka(f)&&0<f.nodeType?e(f):D(Df(f)?sb(f):f,e)\}\};\
|
|
Ef=function(a)\{return window.document.createElement(String(a))\};\
|
|
Ff=function(a,b)\{a.appendChild(b)\};\
|
|
Gf=function(a,b)\{Cf(nf(a),a,arguments,1)\};\
|
|
Hf=function(a)\{for(var b;b=a.firstChild;)a.removeChild(b)\};\
|
|
If=function(a,b,c)\{a.insertBefore(b,a.childNodes[c]||null)\};\
|
|
Jf=function(a)\{return a&&a.parentNode?a.parentNode.removeChild(a):null\};\
|
|
Kf=function(a,b)\{var c=b.parentNode;c&&c.replaceChild(a,b)\};\
|
|
Mf=function(a)\{return Lf&&void 0!=a.children?a.children:le(a.childNodes,function(a)\{return 1==a.nodeType\})\};\
|
|
Of=function(a)\{return p(a.firstElementChild)?a.firstElementChild:Nf(a.firstChild)\};\
|
|
Nf=function(a)\{for(;a&&1!=a.nodeType;)a=a.nextSibling;return a\};\
|
|
Qf=function(a)\{var b;if(Pf&&!(xf&&zc("9")&&!zc("10")&&aa.SVGElement&&a instanceof aa.SVGElement)&&(b=a.parentElement))return b;b=a.parentNode;return ka(b)&&1==b.nodeType?b:null\};\
|
|
Rf=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\};\
|
|
nf=function(a)\{return 9==a.nodeType?a:a.ownerDocument||a.document\};\
|
|
Sf=function(a)\{try\{return a.contentWindow||(a.contentDocument?zf(a.contentDocument):null)\}catch(b)\{\}return null\};\
|
|
Tf=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 Hf(a),a.appendChild(nf(a).createTextNode(String(b)))\};\
|
|
Uf=function(a)\{if("outerHTML"in a)return a.outerHTML;var b=nf(a).createElement("DIV");b.appendChild(a.cloneNode(!0));return b.innerHTML\};\
|
|
Xf=function(a)\{var b;if((b="A"==a.tagName||"INPUT"==a.tagName||"TEXTAREA"==a.tagName||"SELECT"==a.tagName||"BUTTON"==a.tagName?!a.disabled&&(!Vf(a)||Wf(a)):Vf(a)&&Wf(a))&&xf)\{var c;!ia(a.getBoundingClientRect)||xf&&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\};\
|
|
Vf=function(a)\{a=a.getAttributeNode("tabindex");return null!=a&&a.specified\};\
|
|
Wf=function(a)\{a=a.tabIndex;return ha(a)&&0<=a&&32768>a\};\
|
|
Df=function(a)\{if(a&&"number"==typeof a.length)\{if(ka(a))return"function"==typeof a.item||"string"==typeof a.item;if(ia(a))return"function"==typeof a.item\}return!1\};\
|
|
Zf=function(a,b,c,d)\{if(!b&&!c)return null;var e=b?b.toUpperCase():null;return Yf(a,function(a)\{return(!e||a.nodeName==e)&&(!c||w(a.className)&&ib(a.className.split(/\\s+/),c))\},d)\};\
|
|
$f=function(a,b)\{return Zf(a,null,b,void 0)\};\
|
|
Yf=function(a,b,c)\{for(var d=0;a&&(null==c||d<=c);)\{if(b(a))return a;a=a.parentNode;d++\}return null\};\
|
|
mf=function(a)\{this.b=a||aa.document||window.document\};\
|
|
ag=function(a)\{a=a.b;return a.parentWindow||a.defaultView\};\
|
|
bg=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,""))\};\
|
|
cg=function(a)\{a=String(a);if(bg(a))try\{return eval("("+a+")")\}catch(b)\{\}throw Error("Invalid JSON string: "+a);\};\
|
|
dg=function(a)\{return eval("("+a+")")\};\
|
|
gg=function(a)\{return eg(new fg(void 0),a)\};\
|
|
fg=function(a)\{this.b=a\};\
|
|
eg=function(a,b)\{var c=[];hg(a,b,c);return c.join("")\};\
|
|
hg=function(a,b,c)\{if(null==b)c.push("null");else\{if("object"==typeof b)\{if(ea(b))\{var d=b;b=d.length;c.push("[");for(var e="",f=0;f<b;f++)c.push(e),e=d[f],hg(a,a.b?a.b.call(d,String(f),e):e,c),e=",";c.push("]");return\}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else\{c.push("\{");f="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(e=b[d],"function"!=typeof e&&(c.push(f),ig(d,c),c.push(":"),hg(a,a.b?a.b.call(b,d,e):e,c),f=","));c.push("\}");return\}\}switch(typeof b)\{case "string":ig(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);\}\}\};\
|
|
ig=function(a,b)\{b.push('"',a.replace(kg,function(a)\{var b=lg[a];b||(b="\\\\u"+(a.charCodeAt(0)|65536).toString(16).substr(1),lg[a]=b);return b\}),'"')\};\
|
|
ng=function(a,b,c,d)\{this.top=a;this.right=b;this.bottom=c;this.left=d\};\
|
|
og=function(a,b,c,d)\{this.left=a;this.top=b;this.width=c;this.height=d\};\
|
|
pg=function(a)\{return new ng(a.top,a.left+a.width,a.top+a.height,a.left)\};\
|
|
qg=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\};\
|
|
rg=function(a)\{return new jf(a.width,a.height)\};\
|
|
sg=function(a)\{return new gf(a.left,a.top)\};\
|
|
tg=function(a)\{F.call(this);this.zc=1;this.o=[];this.A=0;this.b=[];this.g=\{\};this.B=!!a\};\
|
|
ug=function(a,b,c,d)\{if(b=a.g[b])\{var e=a.b;if(b=bb(b,function(a)\{return e[a+1]==c&&e[a+2]==d\}))return a.Nc(b)\}return!1\};\
|
|
vg=function(a,b,c)\{yd(function()\{a.apply(b,c)\})\};\
|
|
wg=function()\{\};\
|
|
yg=function(a)\{if(a instanceof wg)return a;if("function"==typeof a.sc)return a.sc(!1);if(fa(a))\{var b=0,c=new wg;c.next=function()\{for(;;)\{if(b>=a.length)throw xg;if(b in a)return a[b++];b++\}\};\
|
|
return c\}throw Error("Not implemented");\};\
|
|
zg=function(a,b,c)\{if(fa(a))try\{D(a,b,c)\}catch(d)\{if(d!==xg)throw d;\}else\{a=yg(a);try\{for(;;)b.call(c,a.next(),void 0,a)\}catch(d)\{if(d!==xg)throw d;\}\}\};\
|
|
Ag=function(a)\{if(fa(a))return sb(a);a=yg(a);var b=[];zg(a,function(a)\{b.push(a)\});\
|
|
return b\};\
|
|
Bg=function(a,b)\{this.g=\{\};this.b=[];this.ff=this.ya=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 Bg?(c=a.Ua(),d=a.Ra()):(c=Yb(a),d=Xb(a));for(var e=0;e<c.length;e++)this.set(c[e],d[e])\}\};\
|
|
Dg=function(a,b)\{return Cg(a.g,b)\};\
|
|
Eg=function(a)\{if(a.ya!=a.b.length)\{for(var b=0,c=0;b<a.b.length;)\{var d=a.b[b];Cg(a.g,d)&&(a.b[c++]=d);b++\}a.b.length=c\}if(a.ya!=a.b.length)\{for(var e=\{\},c=b=0;b<a.b.length;)d=a.b[b],Cg(e,d)||(a.b[c++]=d,e[d]=1),b++;a.b.length=c\}\};\
|
|
Cg=function(a,b)\{return Object.prototype.hasOwnProperty.call(a,b)\};\
|
|
Fg=function(a)\{if(a.Ra&&"function"==typeof a.Ra)return a.Ra();if(w(a))return a.split("");if(fa(a))\{for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b\}return Xb(a)\};\
|
|
Gg=function(a)\{if(a.Ua&&"function"==typeof a.Ua)return a.Ua();if(!a.Ra||"function"!=typeof a.Ra)\{if(fa(a)||w(a))\{var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b\}return Yb(a)\}\};\
|
|
Hg=function(a,b)\{if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,void 0);else if(fa(a)||w(a))D(a,b,void 0);else for(var c=Gg(a),d=Fg(a),e=d.length,f=0;f<e;f++)b.call(void 0,d[f],c&&c[f],a)\};\
|
|
Ig=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\};\
|
|
Kg=function(a)\{return a.match(Jg)\};\
|
|
Lg=function(a)\{return a?(0,window.decodeURI)(a):a\};\
|
|
Mg=function(a)\{return Lg(Kg(a)[3]||null)\};\
|
|
Ng=function(a)\{return Number(Kg(a)[4]||null)||null\};\
|
|
Og=function(a,b)\{if(a)for(var c=a.split("&"),d=0;d<c.length;d++)\{var e=c[d].indexOf("="),f,k=null;0<=e?(f=c[d].substring(0,e),k=c[d].substring(e+1)):f=c[d];b(f,k?wa(k):"")\}\};\
|
|
Pg=function(a)\{if(a[1])\{var b=a[0],c=b.indexOf("#");0<=c&&(a.push(b.substr(c)),a[0]=b=b.substr(0,c));c=b.indexOf("?");0>c?a[1]="?":c==b.length-1&&(a[1]=void 0)\}return a.join("")\};\
|
|
Qg=function(a,b,c)\{if(ea(b))for(var d=0;d<b.length;d++)Qg(a,String(b[d]),c);else null!=b&&c.push("&",a,""===b?"":"=",va(b))\};\
|
|
Rg=function(a,b,c)\{for(c=c||0;c<b.length;c+=2)Qg(b[c],b[c+1],a);return a\};\
|
|
Sg=function(a,b)\{for(var c in b)Qg(c,b[c],a);return a\};\
|
|
Tg=function(a)\{a=Sg([],a);a[0]="";return a.join("")\};\
|
|
Ug=function(a,b)\{return Pg(2==arguments.length?Rg([a],arguments[1],0):Rg([a],arguments,1))\};\
|
|
Vg=function(a,b)\{return Pg(Sg([a],b))\};\
|
|
Wg=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\};\
|
|
Yg=function(a,b)\{return 0<=Wg(a,0,b,a.search(Xg))\};\
|
|
Zg=function(a,b)\{var c=a.search(Xg),d=Wg(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 wa(a.substr(d,e-d))\};\
|
|
ah=function(a,b)\{for(var c=a.search(Xg),d=0,e,f=[];0<=(e=Wg(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($g,"$1")\};\
|
|
bh=function(a,b,c)\{a=[ah(a,b),"&",b];null!=c&&a.push("=",va(c));return Pg(a)\};\
|
|
L=function(a,b)\{this.g=this.H=this.A="";this.D=null;this.G=this.o="";this.B=!1;var c;a instanceof L?(this.B=p(b)?b:a.B,ch(this,a.A),this.H=a.H,dh(this,a.g),eh(this,a.D),fh(this,a.o),gh(this,a.b.clone()),this.G=a.F()):a&&(c=Kg(String(a)))?(this.B=!!b,ch(this,c[1]||"",!0),this.H=hh(c[2]||""),dh(this,c[3]||"",!0),eh(this,c[4]),fh(this,c[5]||"",!0),gh(this,c[6]||"",!0),this.G=hh(c[7]||"")):(this.B=!!b,this.b=new ih(null,0,this.B))\};\
|
|
ch=function(a,b,c)\{a.A=c?hh(b,!0):b;a.A&&(a.A=a.A.replace(/:$/,""))\};\
|
|
dh=function(a,b,c)\{a.g=c?hh(b,!0):b;return a\};\
|
|
eh=function(a,b)\{if(b)\{b=Number(b);if((0,window.isNaN)(b)||0>b)throw Error("Bad port number "+b);a.D=b\}else a.D=null;return a\};\
|
|
fh=function(a,b,c)\{a.o=c?hh(b,!0):b\};\
|
|
gh=function(a,b,c)\{b instanceof ih?(a.b=b,jh(a.b,a.B)):(c||(b=kh(b,lh)),a.b=new ih(b,0,a.B));return a\};\
|
|
mh=function(a,b,c)\{a.b.set(b,c);return a\};\
|
|
oh=function(a,b,c)\{ea(c)||(c=[String(c)]);nh(a.b,b,c)\};\
|
|
ph=function(a)\{mh(a,"zx",Oa());return a\};\
|
|
qh=function(a)\{return a instanceof L?a.clone():new L(a,void 0)\};\
|
|
rh=function(a,b,c,d)\{var e=new L(null,void 0);a&&ch(e,a);b&&dh(e,b);c&&eh(e,c);d&&fh(e,d);return e\};\
|
|
hh=function(a,b)\{return a?b?(0,window.decodeURI)(a.replace(/%25/g,"%2525")):(0,window.decodeURIComponent)(a):""\};\
|
|
kh=function(a,b,c)\{return w(a)?(a=(0,window.encodeURI)(a).replace(b,sh),c&&(a=a.replace(/%25([0-9a-fA-F]\{2\})/g,"%$1")),a):null\};\
|
|
sh=function(a)\{a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)\};\
|
|
ih=function(a,b,c)\{this.ya=this.b=null;this.g=a||null;this.o=!!c\};\
|
|
uh=function(a)\{a.b||(a.b=new Bg,a.ya=0,a.g&&Og(a.g,function(b,c)\{th(a,wa(b),c)\}))\};\
|
|
th=function(a,b,c)\{uh(a);a.g=null;b=vh(a,b);var d=a.b.get(b);d||a.b.set(b,d=[]);d.push(c);a.ya=a.ya+1\};\
|
|
wh=function(a,b)\{uh(a);b=vh(a,b);return Dg(a.b,b)\};\
|
|
nh=function(a,b,c)\{a.remove(b);0<c.length&&(a.g=null,a.b.set(vh(a,b),sb(c)),a.ya=a.ya+c.length)\};\
|
|
vh=function(a,b)\{var c=String(b);a.o&&(c=c.toLowerCase());return c\};\
|
|
jh=function(a,b)\{b&&!a.o&&(uh(a),a.g=null,a.b.forEach(function(a,b)\{var c=b.toLowerCase();b!=c&&(this.remove(b),nh(this,c,a))\},a));\
|
|
a.o=b\};\
|
|
xh=function(a,b)\{b.match(/\\sstyle\\s*=/);a.innerHTML=b\};\
|
|
zh=function()\{return yh?\{I:"div",fa:["ytp-icon","ytp-icon-cast-desktop-on"]\}:\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"\},P:[\{I:"path",Ea:!0,U:\{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"\}\}]\}\};\
|
|
Ah=function()\{return yh?\{I:"div",fa:["ytp-icon","ytp-icon-clip-clear"]\}:\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 14 14",width:"100%"\},P:[\{I:"path",U:\{d:"M14,14 L14,0 L0,0 L0,14 L14,14 Z"\}\},\{I:"path",U:\{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"\}\}]\}\};\
|
|
Bh=function()\{return yh?\{I:"div",fa:["ytp-icon","ytp-icon-clip-end"]\}:\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 14 14",width:"100%"\},P:[\{I:"path",Ea:!0,U:\{d:"M2,14 L5,11 L5,3 L2,0 L9,0 L9,14 L2,14 L2,14 Z",fill:"#eaeaea"\}\}]\}\};\
|
|
Ch=function()\{return yh?\{I:"div",fa:["ytp-icon","ytp-icon-clip-start"]\}:\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 14 14",width:"100%"\},P:[\{I:"path",Ea:!0,U:\{d:"M12,14 L9,11 L9,3 L12,0 L5,0 L5,14 L12,14 Z",fill:"#eaeaea"\}\}]\}\};\
|
|
Dh=function()\{return yh?\{I:"div",fa:["ytp-icon","ytp-icon-close"]\}:\{I:"svg",U:\{height:"100%",viewBox:"0 0 24 24",width:"100%"\},P:[\{I:"path",U:\{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"\}\}]\}\};\
|
|
Eh=function()\{return yh?\{I:"div",fa:["ytp-icon","ytp-icon-link"]\}:\{I:"svg",U:\{height:"100%",viewBox:"0 0 36 36",width:"100%"\},P:[\{I:"path",U:\{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"\}\}]\}\};\
|
|
Fh=function()\{return yh?\{I:"div",fa:["ytp-icon","ytp-icon-next"]\}:\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"\},P:[\{I:"path",Ea:!0,W:"ytp-svg-fill",U:\{d:"M 12,24 20.5,18 12,12 V 24 z M 22,12 v 12 h 2 V 12 h -2 z"\}\}]\}\};\
|
|
Gh=function()\{return yh?\{I:"div",fa:["ytp-icon","ytp-icon-pause"]\}:\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"\},P:[\{I:"path",Ea:!0,W:"ytp-svg-fill",U:\{d:"M 12,26 16,26 16,10 12,10 z M 21,26 25,26 25,10 21,10 z"\}\}]\}\};\
|
|
Hh=function()\{return yh?\{I:"div",fa:["ytp-icon","ytp-icon-play"]\}:\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"\},P:[\{I:"path",Ea:!0,W:"ytp-svg-fill",U:\{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"\}\}]\}\};\
|
|
Ih=function()\{return yh?\{I:"div",fa:["ytp-icon","ytp-icon-playlist"]\}:\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"\},P:[\{I:"path",Ea:!0,U:\{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"\}\}]\}\};\
|
|
Jh=function()\{return yh?\{I:"div",fa:["ytp-icon","ytp-icon-prev"]\}:\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"\},P:[\{I:"path",Ea:!0,W:"ytp-svg-fill",U:\{d:"m 12,12 h 2 v 12 h -2 z m 3.5,6 8.5,6 V 12 z"\}\}]\}\};\
|
|
Kh=function()\{return yh?\{I:"div",fa:["ytp-icon","ytp-icon-replay"]\}:\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"\},P:[\{I:"path",Ea:!0,W:"ytp-svg-fill",U:\{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"\}\}]\}\};\
|
|
Lh=function()\{return yh?\{I:"div",fa:["ytp-icon","ytp-icon-settings"]\}:\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"\},P:[\{I:"path",Ea:!0,U:\{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"\}\}]\}\};\
|
|
Mh=function()\{return\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 22 22",width:"100%"\},P:[\{I:"svg",U:\{x:"7",y:"1"\},P:[\{I:"circle",fa:["ytp-spinner-dot","ytp-spinner-dot-0"],U:\{cx:"4",cy:"4",r:"2"\}\}]\},\{I:"svg",U:\{x:"11",y:"3"\},P:[\{I:"circle",fa:["ytp-spinner-dot","ytp-spinner-dot-1"],U:\{cx:"4",cy:"4",r:"2"\}\}]\},\{I:"svg",U:\{x:"13",y:"7"\},P:[\{I:"circle",fa:["ytp-spinner-dot","ytp-spinner-dot-2"],U:\{cx:"4",cy:"4",r:"2"\}\}]\},\{I:"svg",U:\{x:"11",y:"11"\},P:[\{I:"circle",fa:["ytp-spinner-dot","ytp-spinner-dot-3"],\
|
|
U:\{cx:"4",cy:"4",r:"2"\}\}]\},\{I:"svg",U:\{x:"7",y:"13"\},P:[\{I:"circle",fa:["ytp-spinner-dot","ytp-spinner-dot-4"],U:\{cx:"4",cy:"4",r:"2"\}\}]\},\{I:"svg",U:\{x:"3",y:"11"\},P:[\{I:"circle",fa:["ytp-spinner-dot","ytp-spinner-dot-5"],U:\{cx:"4",cy:"4",r:"2"\}\}]\},\{I:"svg",U:\{x:"1",y:"7"\},P:[\{I:"circle",fa:["ytp-spinner-dot","ytp-spinner-dot-6"],U:\{cx:"4",cy:"4",r:"2"\}\}]\},\{I:"svg",U:\{x:"3",y:"3"\},P:[\{I:"circle",fa:["ytp-spinner-dot","ytp-spinner-dot-7"],U:\{cx:"4",cy:"4",r:"2"\}\}]\}]\}\};\
|
|
Nh=function()\{return yh?\{I:"div",fa:["ytp-icon","ytp-icon-stop"]\}:\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"\},P:[\{I:"path",Ea:!0,W:"ytp-svg-fill",U:\{d:"M 12,25 19,25 19,11 12,11 z M 19,25 26,25 26,11 19,11 z"\}\}]\}\};\
|
|
Oh=function()\{return yh?\{I:"div",fa:["ytp-icon","ytp-icon-subtitles"]\}:\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"\},P:[\{I:"path",Ea:!0,U:\{d:"M11,11 C9.9,11 9,11.9 9,13 L9,23 C9,24.1 9.9,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 M11,17 L14,17 L14,19 L11,19 L11,17 L11,17 Z M20,23 L11,23 L11,21 L20,21 L20,23 L20,23 Z M25,23 L22,23 L22,21 L25,21 L25,23 L25,23 Z M25,19 L16,19 L16,17 L25,17 L25,19 L25,19 Z",fill:"#fff"\}\}]\}\};\
|
|
Ph=function()\{return yh?\{I:"div",fa:["ytp-icon","ytp-icon-volume-high"]\}:\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"\},P:[\{I:"path",Ea:!0,U:\{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"\}\}]\}\};\
|
|
Qh=function()\{return yh?\{I:"div",fa:["ytp-icon","ytp-icon-volume-low"]\}:\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"\},P:[\{I:"path",Ea:!0,U:\{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"\}\}]\}\};\
|
|
Rh=function()\{return yh?\{I:"div",fa:["ytp-icon","ytp-icon-volume-muted"]\}:\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"\},P:[\{I:"path",Ea:!0,W:"ytp-svg-fill",U:\{d:"M8,21 L12,21 L17,26 L17,10 L12,15 L8,15 L8,21 Z"\}\},\{I:"svg",W:"ytp-svg-sound-mute-group",P:[\{I:"path",Ea:!0,W:"ytp-svg-fill",U:\{d:"M 26.11,15.73 24.85,14.5 22.52,16.76 20.20,14.5 18.94,15.73 21.26,18 18.94,20.26 20.20,21.5 22.52,19.23 24.85,21.5 26.11,20.26 23.79,18 l 2.32,-2.26 0,0 z"\}\}]\}]\}\};\
|
|
Th=function(a,b)\{if(a in b)return b[a];var c=Sh+a.charAt(0).toUpperCase()+a.substr(1);if(c in b)return b[c]\};\
|
|
Vh=function(a,b)\{var c;Uh(a,function(a)\{c=b[a];return!!c\});\
|
|
return c\};\
|
|
Wh=function(a)\{return bb(["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],function(b)\{return"on"+b.toLowerCase()in a\})\};\
|
|
Xh=function()\{var a=window.document;return bb(["fullscreenerror","webkitfullscreenerror","mozfullscreenerror","MSFullscreenError"],function(b)\{return"on"+b.toLowerCase()in a\})\};\
|
|
Yh=function()\{return!!Vh(["fullscreenEnabled","webkitFullscreenEnabled","mozFullScreenEnabled","msFullscreenEnabled"],window.document)\};\
|
|
$h=function()\{var a=Vh(["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"],window.document);return a?a:null\};\
|
|
di=function(a)\{a=a||\{\};this.url=a.url||"";this.urlV9As2=a.url_v9as2||"";this.args=a.args||hc(ai);this.assets=a.assets||\{\};this.attrs=a.attrs||hc(bi);this.params=a.params||hc(ci);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||\{\}\};\
|
|
ei=function(a)\{a instanceof di||(a=new di(a));return a\};\
|
|
fi=function()\{var a=window.navigator.userAgent.match(/Chrome\\/([0-9]+)/);return a?50<=(0,window.parseInt)(a[1],10):!1\};\
|
|
gi=function(a)\{return window.document.currentScript&&(-1!=window.document.currentScript.src.indexOf("?"+a)||-1!=window.document.currentScript.src.indexOf("&"+a))\};\
|
|
hi=function()\{return"function"==typeof window.__onGCastApiAvailable?window.__onGCastApiAvailable:null\};\
|
|
ii=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)\}\};\
|
|
oi=function(a)\{if(a>=ji.length)ki();else\{var b=ji[a],c="chrome-extension://"+b+li;0<=mi.indexOf(b)?ii(c,function(d)\{d?(window.chrome.cast=window.chrome.cast||\{\},window.chrome.cast.extensionId=b,ni(c,ki)):oi(a+1)\}):ni(c,function()\{oi(a+1)\})\}\};\
|
|
ni=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)\};\
|
|
ki=function()\{var a=hi();a&&a(!1,"No cast extension found")\};\
|
|
qi=function()\{if(pi)\{var a=2,b=hi(),c=function()\{a--;0==a&&b&&b(!0)\};\
|
|
window.__onGCastApiAvailable=c;ni("//www.gstatic.com/cast/sdk/libs/sender/0.1/cast_framework.js",ki,c)\}\};\
|
|
ri=function()\{if(0<=window.navigator.userAgent.indexOf("CriOS"))\{var a=window.__gCrWeb&&window.__gCrWeb.message&&window.__gCrWeb.message.invokeOnHost;if(a)\{qi();a(\{command:"cast.sender.init"\});return\}\}window.chrome?(qi(),a=window.navigator.userAgent,0<=a.indexOf("Android")&&0<=a.indexOf("Chrome/")&&window.navigator.presentation?(a=fi()?"50":"",ni("//www.gstatic.com/eureka/clank"+a+li,ki)):oi(0)):ki()\};\
|
|
wi=function()\{var a=si;ti();ui.push(a);vi(ui)\};\
|
|
zi=function(a,b)\{ti();var c=ui,d=xi(a,String(b));kb(c)?yi(d):(vi(c),D(c,function(a)\{a(d)\}))\};\
|
|
ti=function()\{ui||(ui=q("yt.mdx.remote.debug.handlers_")||[],g.ba("yt.mdx.remote.debug.handlers_",ui,void 0))\};\
|
|
yi=function(a)\{var b=(Ai+1)%50;Ai=b;Bi[b]=a;Ci||(Ci=49==b)\};\
|
|
vi=function(a)\{var b=Bi;if(b[0])\{var c=Ai,d=Ci?c:-1;do\{var d=(d+1)%50,e=b[d];D(a,function(a)\{a(e)\})\}while(d!=c);\
|
|
Bi=Array(50);Ai=-1;Ci=!1\}\};\
|
|
xi=function(a,b)\{var c=(C()-Di)/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("")\};\
|
|
Ei=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||""\};\
|
|
Fi=function(a,b)\{return!!b&&(a.id==b||a.uuid==b)\};\
|
|
Gi=function(a)\{return\{name:a.name,screenId:a.id,loungeToken:a.token,dialId:a.uuid\}\};\
|
|
Hi=function(a)\{return new Ei(a)\};\
|
|
Ji=function(a)\{return ea(a)?Ii(a,Hi):[]\};\
|
|
Ki=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"\};\
|
|
Li=function(a)\{return ea(a)?"["+Ii(a,Ki).join(",")+"]":"null"\};\
|
|
Ni=function(a,b,c)\{a&&(a.dataset?a.dataset[Mi(b)]=c:a.setAttribute("data-"+b,c))\};\
|
|
Oi=function(a)\{return a?a.dataset?a.dataset[Mi("loaded")]:a.getAttribute("data-loaded"):null\};\
|
|
Mi=function(a)\{return Pi[a]||(Pi[a]=String(a).replace(/\\-([a-z])/g,function(a,c)\{return c.toUpperCase()\}))\};\
|
|
Si=function(a)\{Qi(Ri,arguments)\};\
|
|
Ti=function(a,b)\{return a in Ri?Ri[a]:b\};\
|
|
Vi=function(a,b)\{ia(a)&&(a=Ui(a));return window.setTimeout(a,b)\};\
|
|
Wi=function(a,b)\{ia(a)&&(a=Ui(a));return window.setInterval(a,b)\};\
|
|
Xi=function(a)\{window.clearTimeout(a)\};\
|
|
Yi=function(a)\{window.clearInterval(a)\};\
|
|
Ui=function(a)\{return a&&window.yterr?function()\{try\{return a.apply(this,arguments)\}catch(b)\{throw Zi(b),b;\}\}:a\};\
|
|
Zi=function(a,b)\{var c=q("yt.logging.errors.log");c?c(a,b,void 0,void 0,void 0):(c=Ti("ERRORS",[]),c.push([a,b,void 0,void 0,void 0]),Si("ERRORS",c))\};\
|
|
aj=function(a)\{Qi($i,arguments)\};\
|
|
M=function(a,b,c)\{var d=b||\{\};if(a=a in $i?$i[a]:c)for(var e in d)a=a.replace(new RegExp("\\\\$"+e,"gi"),function()\{return d[e]\});\
|
|
return a\};\
|
|
Qi=function(a,b)\{if(1<b.length)\{var c=b[0];a[c]=b[1]\}else\{var d=b[0];for(c in d)a[c]=d[c]\}\};\
|
|
gj=function(a,b,c)\{var d=bj();if(d)\{var e=d.subscribe(a,function()\{if(!cj||cj!=e)\{var d=arguments,k;k=function()\{dj[e]&&b.apply(c||window,d)\};\
|
|
try\{ej[a]?k():Vi(k,0)\}catch(l)\{Zi(l)\}\}\},c);\
|
|
dj[e]=!0;fj[a]||(fj[a]=[]);fj[a].push(e);return e\}return 0\};\
|
|
ij=function(a,b)\{var c=gj(a,function(a)\{b.apply(void 0,arguments);hj(c)\},void 0)\};\
|
|
hj=function(a)\{var b=bj();b&&("number"==typeof a?a=[a]:"string"==typeof a&&(a=[(0,window.parseInt)(a,10)]),D(a,function(a)\{b.unsubscribeByKey(a);delete dj[a]\}))\};\
|
|
jj=function(a,b)\{var c=bj();c&&c.publish.apply(c,arguments)\};\
|
|
kj=function(a,b)\{ej[a]=!0;var c=bj();c&&c.publish.apply(c,arguments);ej[a]=!1\};\
|
|
lj=function(a)\{fj[a]&&(a=fj[a],D(a,function(a)\{dj[a]&&delete dj[a]\}),a.length=0)\};\
|
|
mj=function(a)\{var b=bj();if(b)if(b.clear(a),a)lj(a);else for(var c in fj)lj(c)\};\
|
|
bj=function()\{return q("yt.pubsub.instance_")\};\
|
|
qj=function(a,b)\{if(window.spf)\{var c="";if(a)\{var d=a.indexOf("jsbin/"),e=a.lastIndexOf(".js"),f=d+6;-1<d&&-1<e&&e>f&&(c=a.substring(f,e),c=c.replace(nj,""),c=c.replace(oj,""),c=c.replace("debug-",""),c=c.replace("tracing-",""))\}window.spf.script.load(a,c,b)\}else pj(a,b)\};\
|
|
pj=function(a,b)\{var c=rj(a),d=window.document.getElementById(c),e=d&&Oi(d),f=d&&!e;if(e)\{b&&b();return\}b&&(gj(c,b),na(b));if(f)return;d=sj(a,c,function()\{Oi(d)||(Ni(d,"loaded","true"),jj(c),Vi(qa(mj,c),0))\})\};\
|
|
sj=function(a,b,c)\{var d=window.document.createElement("script");d.id=b;d.onload=function()\{c&&(0,window.setTimeout)(c,0)\};\
|
|
d.onreadystatechange=function()\{switch(d.readyState)\{case "loaded":case "complete":d.onload()\}\};\
|
|
d.src=a;a=window.document.getElementsByTagName("head")[0]||window.document.body;a.insertBefore(d,a.firstChild);return d\};\
|
|
rj=function(a)\{var b=window.document.createElement("a");lf(b,a);a=b.href.replace(/^[a-zA-Z]+:\\/\\//,"//");return"js-"+Sa(a)\};\
|
|
tj=function()\{\};\
|
|
uj=function()\{\};\
|
|
vj=function(a)\{this.b=a\};\
|
|
wj=function()\{var a=null;try\{a=window.localStorage||null\}catch(b)\{\}this.b=a\};\
|
|
xj=function()\{var a=null;try\{a=window.sessionStorage||null\}catch(b)\{\}this.b=a\};\
|
|
yj=function(a)\{this.b=a\};\
|
|
zj=function(a)\{this.b=a\};\
|
|
Aj=function(a)\{this.data=a\};\
|
|
Bj=function(a)\{return!p(a)||a instanceof Aj?a:new Aj(a)\};\
|
|
Cj=function(a)\{this.b=a\};\
|
|
Dj=function(a)\{var b=a.creation;a=a.expiration;return!!a&&a<C()||!!b&&b>C()\};\
|
|
Ej=function(a)\{this.b=a\};\
|
|
Fj=function(a,b)\{var c=[];zg(b,function(a)\{var b;try\{b=Ej.prototype.g.call(this,a,!0)\}catch(f)\{if("Storage: Invalid value was encountered"==f)return;throw f;\}p(b)?Dj(b)&&c.push(a):c.push(a)\},a);\
|
|
return c\};\
|
|
Gj=function(a,b)\{var c=Fj(a,b);D(c,function(a)\{Ej.prototype.remove.call(this,a)\},a)\};\
|
|
Ij=function()\{var a=Hj;Gj(a,a.b.sc(!0))\};\
|
|
Kj=function(a,b,c)\{var d=c&&0<c?c:0;c=d?C()+1E3*d:0;if((d=d?Hj:Jj)&&window.JSON)\{w(b)||(b=JSON.stringify(b,void 0));try\{d.set(a,b,c)\}catch(e)\{d.remove(a)\}\}\};\
|
|
Lj=function(a)\{if(!Jj&&!Hj||!window.JSON)return null;var b;try\{b=Jj.get(a)\}catch(c)\{\}if(!w(b))try\{b=Hj.get(a)\}catch(c)\{\}if(!w(b))return null;try\{b=JSON.parse(b,void 0)\}catch(c)\{\}return b\};\
|
|
Mj=function(a)\{Jj&&Jj.remove(a);Hj&&Hj.remove(a)\};\
|
|
Nj=function(a)\{return Ti("EXPERIMENT_FLAGS",\{\})[a]\};\
|
|
Oj=function(a,b)\{for(var c=a.split(b),d=\{\},e=0,f=c.length;e<f;e++)\{var k=c[e].split("=");if(1==k.length&&k[0]||2==k.length)\{var l=wa(k[0]||""),k=wa(k[1]||"");l in d?ea(d[l])?tb(d[l],k):d[l]=[d[l],k]:d[l]=k\}\}return d\};\
|
|
Pj=function(a,b)\{var c=[];Pb(a,function(a,b)\{var d=va(b),e;ea(a)?e=a:e=[a];D(e,function(a)\{""==a?c.push(d):c.push(d+"="+va(a))\})\});\
|
|
return c.join(b)\};\
|
|
Qj=function(a)\{"?"==a.charAt(0)&&(a=a.substr(1));return Oj(a,"&")\};\
|
|
Rj=function(a)\{a=a.split(",");return a=a.map(function(a)\{return Qj(a)\})\};\
|
|
Sj=function(a)\{return-1!=a.indexOf("?")?(a=(a||"").split("#")[0],a=a.split("?",2),Qj(1<a.length?a[1]:a[0])):\{\}\};\
|
|
Uj=function(a,b)\{return Tj(a,b||\{\},!0)\};\
|
|
Vj=function(a,b)\{return Tj(a,b||\{\},!1)\};\
|
|
Tj=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=Qj(e[1]||""),f;for(f in b)if(c||!$b(e,f))e[f]=b[f];return Vg(a,e)+d\};\
|
|
Wj=function(a)\{var b;b||(b=window.location.href);var c=Kg(a)[1]||null,d=Mg(a);c&&d?(a=Kg(a),b=Kg(b),a=a[3]==b[3]&&a[1]==b[1]&&a[4]==b[4]):a=d?Mg(b)==d&&Ng(b)==Ng(a):!0;return a\};\
|
|
Xj=function()\{var a;a||(a=window.document.location.href);a=Kg(a)[1]||null;return null!==a&&"https"==a\};\
|
|
Yj=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\}\};\
|
|
bk=function(a,b,c,d,e,f,k)\{function l()\{4==(m&&"readyState"in m?m.readyState:0)&&b&&Ui(b)(m)\}\
|
|
var m=Zj&&Zj();if(!("open"in m))return null;"onloadend"in m?m.addEventListener("loadend",l,!1):m.onreadystatechange=l;c=(c||"GET").toUpperCase();d=d||"";m.open(c,a,!0);f&&(m.responseType=f);k&&(m.withCredentials=!0);f="POST"==c;if(e=ak(a,e))for(var n in e)m.setRequestHeader(n,e[n]),"content-type"==n.toLowerCase()&&(f=!1);f&&m.setRequestHeader("Content-Type","application/x-www-form-urlencoded");m.send(d);return m\};\
|
|
ak=function(a,b)\{b=b||\{\};var c=Wj(a),d;for(d in ck)\{var e=Ti(ck[d]),f;if((f=e)&&!(f=c))\{f=d;var k=Ti("CORS_HEADER_WHITELIST")||\{\},l=Mg(a);f=l?(k=k[l])?ib(k,f):!1:!0\}f&&(b[d]=e)\}return b\};\
|
|
ek=function(a,b)\{b.method="POST";b.Ib||(b.Ib=\{\});dk(a,b)\};\
|
|
fk=function(a,b)\{var c=Ti("XSRF_FIELD_NAME",void 0),d;b.headers&&(d=b.headers["Content-Type"]);return!b.aR&&(!Mg(a)||b.withCredentials||Mg(a)==window.document.location.hostname)&&"POST"==b.method&&(!d||"application/x-www-form-urlencoded"==d)&&!(b.Ib&&b.Ib[c])\};\
|
|
dk=function(a,b)\{var c=b.format||"JSON";b.eR&&(a=window.document.location.protocol+"//"+window.document.location.hostname+(window.document.location.port?":"+window.document.location.port:"")+a);var d=Ti("XSRF_FIELD_NAME",void 0),e=Ti("XSRF_TOKEN",void 0),f=b.Dc;f&&(f[d]&&delete f[d],a=Uj(a,f));var k=b.postBody||"",f=b.Ib;fk(a,b)&&(f||(f=\{\}),f[d]=e);f&&w(k)&&(d=Qj(k),kc(d,f),k=b.TF&&"JSON"==b.TF?JSON.stringify(d):Tg(d));var l=!1,m,n=bk(a,function(a)\{if(!l)\{l=!0;m&&Xi(m);var d=Yj(a),e=null;if(d||400<=\
|
|
a.status&&500>a.status)e=gk(c,a,b.Uy);if(d)a:if(Nj("ajax_204_success")&&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||aa;d?b.sb&&b.sb.call(f,a,e):b.onError&&b.onError.call(f,a,e);b.Bc&&b.Bc.call(f,a,e)\}\},b.method,k,b.headers,b.responseType,b.withCredentials);\
|
|
b.Lc&&0<b.timeout&&(m=Vi(function()\{l||(l=!0,n.abort(),Xi(m),b.Lc.call(b.context||aa,n))\},b.timeout));\
|
|
return n\};\
|
|
gk=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=dg(a));break;case "XML":if(b=(b=b.responseXML)?hk(b):null)d=\{\},D(b.getElementsByTagName("*"),function(a)\{d[a.tagName]=ik(a)\})\}c&&jk(d);\
|
|
return d\};\
|
|
jk=function(a)\{if(ka(a))for(var b in a)"html_content"==b||ua(b,"_html")?a[b]=af(Ae("HTML that is escaped and sanitized server-side and passed through yt.net.ajax"),a[b]):jk(a[b])\};\
|
|
hk=function(a)\{return a?(a=("responseXML"in a?a.responseXML:a).getElementsByTagName("root"))&&0<a.length?a[0]:null:null\};\
|
|
ik=function(a)\{var b="";D(a.childNodes,function(a)\{b+=a.nodeValue\});\
|
|
return b\};\
|
|
kk=function(a)\{this.A=this.o="";this.b="/api/lounge";this.g=!0;a=a||window.document.location.href;var b=Ng(a)||"";b&&(this.A=":"+b);this.o=Mg(a)||"";a=sc;0<=a.search("MSIE")&&(a=a.match(/MSIE ([\\d.]+)/)[1],0>Ra(a,"10.0")&&(this.g=!1))\};\
|
|
lk=function(a,b,c,d)\{var e=a.b;if(p(d)?d:a.g)e="https://"+a.o+a.A+a.b;return Vg(e+b,c||\{\})\};\
|
|
mk=function(a,b,c,d,e)\{a=\{format:"JSON",method:"POST",context:a,timeout:5E3,withCredentials:!1,sb:qa(a.C,d,!0),onError:qa(a.B,e),Lc:qa(a.D,e)\};c&&(a.Ib=c,a.headers=\{"Content-Type":"application/x-www-form-urlencoded"\});return dk(b,a)\};\
|
|
nk=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)\})\};\
|
|
ok=function(a,b)\{return bb(a,function(a)\{return a.key==b\})\};\
|
|
pk=function(a)\{return Ii(a,function(a)\{return\{key:a.id,name:a.name\}\})\};\
|
|
qk=function(a,b)\{return bb(a,function(a)\{return a||b?!a!=!b?!1:a.id==b.id:!0\})\};\
|
|
rk=function(a,b)\{return bb(a,function(a)\{return Fi(a,b)\})\};\
|
|
sk=function()\{F.call(this);this.da=new tg;H(this,this.da)\};\
|
|
tk=function(a)\{sk.call(this);this.C=a;this.screens=[]\};\
|
|
uk=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.screens.push(b);return!0\};\
|
|
vk=function(a,b)\{var c=a.screens.length!=b.length;a.screens=le(a.screens,function(a)\{return!!qk(b,a)\});\
|
|
for(var d=0,e=b.length;d<e;d++)c=uk(a,b[d])||c;return c\};\
|
|
wk=function(a,b)\{var c=a.screens.length;a.screens=le(a.screens,function(a)\{return!(a||b?!a!=!b?0:a.id==b.id:1)\});\
|
|
return a.screens.length<c\};\
|
|
xk=function(a,b,c,d)\{sk.call(this);this.D=a;this.C=b;this.A=c;this.B=d;this.o=0;this.b=null;this.g=window.NaN\};\
|
|
yk=function(a,b)\{this.g=a;this.b=b+"::"\};\
|
|
zk=function(a)\{var b=new wj;return b.isAvailable()?a?new yk(b,a):b:null\};\
|
|
Bk=function(a)\{this.b=new Bg;a&&Ak(this,a)\};\
|
|
Ck=function(a)\{var b=typeof a;return"object"==b&&a||"function"==b?"o"+na(a):b.substr(0,1)+a\};\
|
|
Dk=function(a,b)\{a.b.set(Ck(b),b)\};\
|
|
Ak=function(a,b)\{for(var c=Fg(b),d=c.length,e=0;e<d;e++)Dk(a,c[e])\};\
|
|
Fk=function(a)\{this.app=this.name=this.id="";this.type="REMOTE_CONTROL";this.avatar=this.username="";this.capabilities=new Bk;this.experiments=new Bk;this.theme="u";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();Ak(this.capabilities,le(b.split(","),qa(Wb,Ek)));a=a.experiments||"";this.experiments.clear();Ak(this.experiments,\
|
|
a.split(","))\}\};\
|
|
Gk=function(a)\{this.b=a||\{cookie:""\}\};\
|
|
Ik=function(a)\{a=(a.b.cookie||"").split(Hk);for(var b=[],c=[],d,e,f=0;e=a[f];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\}\};\
|
|
Qk=function()\{var a=Jk(),b=Kk();Lk()&&Hb(a,b);a=Ok(a);if(kb(a))try\{Pk.remove("remote_sid","/","youtube.com")\}catch(c)\{\}else try\{Pk.set("remote_sid",a.join(","),-1,"/","youtube.com")\}catch(c)\{\}\};\
|
|
Jk=function()\{var a=Lj("yt-remote-connected-devices")||[];Cb(a);return a\};\
|
|
Ok=function(a)\{if(kb(a))return[];var b=a[0].indexOf("#"),c=-1==b?a[0]:a[0].substring(0,b);return Ii(a,function(a,b)\{return 0==b?a:a.substring(c.length)\})\};\
|
|
Rk=function(a)\{Kj("yt-remote-connected-devices",a,86400)\};\
|
|
Kk=function()\{if(Sk)return Sk;var a=Lj("yt-remote-device-id");a||(a=nk(),Kj("yt-remote-device-id",a,31536E3));for(var b=Jk(),c=1,d=a;ib(b,d);)c++,d=a+"#"+c;return Sk=d\};\
|
|
Tk=function()\{return Lj("yt-remote-session-browser-channel")\};\
|
|
Lk=function()\{return Lj("yt-remote-session-screen-id")\};\
|
|
Xk=function(a)\{5<a.length&&(a=a.slice(a.length-5));var b=Ii(Uk(),function(a)\{return a.loungeToken\}),c=Ii(a,function(a)\{return a.loungeToken\});\
|
|
Vk(c,function(a)\{return!ib(b,a)\})&&Wk();\
|
|
Kj("yt-remote-local-screens",a,31536E3)\};\
|
|
Uk=function()\{return Lj("yt-remote-local-screens")||[]\};\
|
|
Wk=function()\{Kj("yt-remote-lounge-token-expiration",!0,86400)\};\
|
|
Yk=function(a,b)\{Kj("yt-remote-session-browser-channel",a);Kj("yt-remote-session-screen-id",b);var c=Jk(),d=Kk();ib(c,d)||c.push(d);Rk(c);Qk()\};\
|
|
Zk=function(a)\{a||(Mj("yt-remote-session-screen-id"),Mj("yt-remote-session-video-id"));Qk();a=Jk();pb(a,Kk());Rk(a)\};\
|
|
al=function()\{if(!$k)\{var a=zk();a&&($k=new yj(a))\}return $k?!!$k.get("yt-remote-use-staging-server"):!1\};\
|
|
cl=function(a)\{tk.call(this,"LocalScreenService");this.g=a;this.b=window.NaN;bl(this);this.info("Initializing with "+Li(this.screens))\};\
|
|
dl=function(a)\{if(a.screens.length)\{var b=Ii(a.screens,function(a)\{return a.id\}),c=lk(a.g,"/pairing/get_lounge_token_batch");\
|
|
mk(a.g,c,\{screen_ids:b.join(",")\},x(a.Kz,a),x(a.Jz,a))\}\};\
|
|
bl=function(a)\{var b=Ji(Uk()),b=le(b,function(a)\{return!a.uuid\});\
|
|
return vk(a,b)\};\
|
|
el=function(a,b)\{Xk(Ii(a.screens,Gi));b&&Wk()\};\
|
|
gl=function(a,b)\{sk.call(this);this.C=b;for(var c=Lj("yt-remote-online-screen-ids")||"",c=c?c.split(","):[],d=\{\},e=this.C(),f=0,k=e.length;f<k;++f)\{var l=e[f].id;d[l]=ib(c,l)\}this.b=d;this.B=a;this.o=this.A=window.NaN;this.g=null;fl("Initialized with "+gg(this.b))\};\
|
|
hl=function(a,b,c)\{var d=lk(a.B,"/pairing/get_screen_availability");mk(a.B,d,\{lounge_token:b.token\},x(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),x(function()\{c(!1)\},a))\};\
|
|
jl=function(a,b)\{var c;a:if(Ub(b)!=Ub(a.b))c=!1;else\{c=Yb(b);for(var d=0,e=c.length;d<e;++d)if(!a.b[c[d]])\{c=!1;break a\}c=!0\}c||(fl("Updated online screens: "+gg(a.b)),a.b=b,a.Y("screenChange"));il(a)\};\
|
|
kl=function(a)\{(0,window.isNaN)(a.o)||Xi(a.o);a.o=Vi(x(a.Zm,a),0<a.A&&a.A<C()?2E4:1E4)\};\
|
|
fl=function(a)\{zi("OnlineScreenService",a)\};\
|
|
ll=function(a)\{var b=\{\};D(a.C(),function(a)\{a.token?b[a.token]=a.id:this.qb("Requesting availability of screen w/o lounge token.")\});\
|
|
return b\};\
|
|
il=function(a)\{a=Yb(Qb(a.b,function(a)\{return a\}));\
|
|
Cb(a);a.length?Kj("yt-remote-online-screen-ids",a.join(","),60):Mj("yt-remote-online-screen-ids")\};\
|
|
nl=function(a)\{tk.call(this,"ScreenService");this.B=a;this.b=this.g=null;this.o=[];this.A=\{\};ml(this)\};\
|
|
ql=function(a,b,c,d,e,f)\{a.info("getAutomaticScreenByIds "+c+" / "+b);c||(c=a.A[b]);var k=a.Gc();if(k=(c?rk(k,c):null)||rk(k,b))\{k.uuid=b;var l=ol(a,k);hl(a.b,l,function(a)\{e(a?l:null)\})\}else c?pl(a,c,x(function(a)\{var f=ol(this,new Ei(\{name:d,\
|
|
screenId:c,loungeToken:a,dialId:b||""\}));hl(this.b,f,function(a)\{e(a?f:null)\})\},a),f):e(null)\};\
|
|
rl=function(a,b)\{for(var c=0,d=a.screens.length;c<d;++c)if(a.screens[c].name==b)return a.screens[c];return null\};\
|
|
pl=function(a,b,c,d)\{a.info("requestLoungeToken_ for "+b);var e=\{Ib:\{screen_ids:b\},method:"POST",context:a,sb: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"))\}\};\
|
|
dk(lk(a.B,"/pairing/get_lounge_token_batch"),e)\};\
|
|
sl=function(a)\{a.screens=a.g.Gc();var b=a.A,c=\{\},d;for(d in b)c[b[d]]=d;b=0;for(d=a.screens.length;b<d;++b)\{var e=a.screens[b];e.uuid=c[e.id]||""\}a.info("Updated manual screens: "+Li(a.screens))\};\
|
|
ml=function(a)\{tl(a);a.g=new cl(a.B);a.g.subscribe("screenChange",x(a.cA,a));sl(a);a.o=Ji(Lj("yt-remote-automatic-screen-cache")||[]);tl(a);a.info("Initializing automatic screens: "+Li(a.o));a.b=new gl(a.B,x(a.Gc,a,!0));a.b.subscribe("screenChange",x(function()\{this.Y("onlineScreenChange")\},a))\};\
|
|
ol=function(a,b)\{var c=a.get(b.id);c?(c.uuid=b.uuid,b=c):((c=rk(a.o,b.uuid))?(c.id=b.id,c.token=b.token,b=c):a.o.push(b),Kj("yt-remote-automatic-screen-cache",Ii(a.o,Gi)));tl(a);a.A[b.uuid]=b.id;Kj("yt-remote-device-id-map",a.A,31536E3);return b\};\
|
|
tl=function(a)\{a.A=Lj("yt-remote-device-id-map")||\{\}\};\
|
|
ul=function(a,b,c)\{sk.call(this);this.K=c;this.G=a;this.g=b;this.o=null\};\
|
|
vl=function(a,b)\{zi(a.K,b)\};\
|
|
xl=function(a,b)\{ul.call(this,a,b,"CastSession");this.b=null;this.A=0;this.C=x(this.gH,this);this.B=x(this.LF,this);this.A=Vi(x(function()\{wl(this,null)\},this),12E4)\};\
|
|
yl=function(a)\{a.info("sendYoutubeMessage_: getMdxSessionStatus "+gg(void 0));var b=\{type:"getMdxSessionStatus"\};a.b?a.b.sendMessage("urn:x-cast:com.google.youtube.mdx",b,r,x(function()\{vl(this,"Failed to send message: getMdxSessionStatus.")\},a)):vl(a,"Sending yt message without session: "+gg(b))\};\
|
|
wl=function(a,b)\{Xi(a.A);if(b)\{if(a.info("onConnectedScreenId_: Received screenId: "+b),!a.o||a.o.id!=b)\{var c=x(a.Bj,a),d=x(a.Kc,a);a.iq(b,c,d,5)\}\}else a.Kc(Error("Waiting for session status timed out."))\};\
|
|
zl=function(a,b)\{ul.call(this,a,b,"DialSession");this.A=this.F=null;this.H="";this.B=null;this.D=r;this.C=window.NaN;this.J=x(this.jH,this);this.b=r\};\
|
|
Al=function(a)\{a.b=a.G.Au(a.H,a.g.label,a.g.friendlyName,x(function(a)\{this.b=r;this.Bj(a)\},a),x(function(a)\{this.b=r;\
|
|
this.Kc(a)\},a))\};\
|
|
Bl=function(a)\{var b=\{\};b.pairingCode=a.H;if(a.B)\{var c=a.B.currentTime||0;b.v=a.B.videoId;b.t=c\}al()&&(b.env_useStageMdx=1);return Tg(b)\};\
|
|
Cl=function(a,b)\{ul.call(this,a,b,"ManualSession");this.b=Vi(x(this.Kf,this,null),150)\};\
|
|
Dl=function(a)\{sk.call(this);this.g=a;this.b=null;this.B=!1;this.o=[];this.A=x(this.AE,this)\};\
|
|
El=function(a,b)\{return b?bb(a.o,function(a)\{return Fi(b,a.label)\},a):null\};\
|
|
Fl=function(a)\{zi("Controller",a)\};\
|
|
si=function(a)\{window.chrome&&window.chrome.cast&&window.chrome.cast.logMessage&&window.chrome.cast.logMessage(a)\};\
|
|
Gl=function(a)\{return a.B||!!a.o.length||!!a.b\};\
|
|
Hl=function(a,b,c)\{Nb(a.b);(a.b=b)?(c?a.Y("yt-remote-cast2-receiver-resumed",b.g):a.Y("yt-remote-cast2-receiver-selected",b.g),b.subscribe("sessionScreen",x(a.Fs,a,b)),b.o?a.Y("yt-remote-cast2-session-change",b.o):c&&a.b.Kf(null)):a.Y("yt-remote-cast2-session-change",null)\};\
|
|
Il=function(a)\{var b=a.g.zu(),c=a.b&&a.b.g;a=Ii(b,function(a)\{c&&Fi(a,c.label)&&(c=null);var b=a.uuid?a.uuid:a.id,d=El(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\};\
|
|
Rl=function(a,b,c,d)\{Jl()?Ll(b)&&(Ml(!0),window.chrome&&window.chrome.cast&&window.chrome.cast.isAvailable?Nl(a,c):(window.__onGCastApiAvailable=function(b,d)\{b?Nl(a,c):(Ol("Failed to load cast API: "+d),Pl(!1),Ml(!1),Mj("yt-remote-cast-available"),Mj("yt-remote-cast-receiver"),Ql(),c(!1))\},d?qj("https://www.gstatic.com/cv/js/sender/v1/cast_sender.js"):ri())):Kl("Cannot initialize because not running Chrome")\};\
|
|
Ql=function()\{Kl("dispose");var a=Sl();a&&a.dispose();Tl=null;g.ba("yt.mdx.remote.cloudview.instance_",null,void 0);Ul(!1);hj(Vl);Vl.length=0\};\
|
|
Wl=function()\{return!!Lj("yt-remote-cast-installed")\};\
|
|
Xl=function()\{var a=Lj("yt-remote-cast-receiver");return a?Ha(a.friendlyName):null\};\
|
|
Yl=function()\{Kl("clearCurrentReciever");Mj("yt-remote-cast-receiver")\};\
|
|
Zl=function()\{return Wl()?Sl()?Tl.getCastSession():(Ol("getCastSelector: Cast is not initialized."),null):(Ol("getCastSelector: Cast API is not installed!"),null)\};\
|
|
bm=function()\{Wl()?Sl()?$l()?(Kl("Requesting cast selector."),Tl.requestSession()):(Kl("Wait for cast API to be ready to request the session."),Vl.push(gj("yt-remote-cast2-api-ready",bm))):Ol("requestCastSelector: Cast is not initialized."):Ol("requestCastSelector: Cast API is not installed!")\};\
|
|
cm=function(a)\{$l()?Sl().setLaunchParams(a):Ol("setLaunchParams called before ready.")\};\
|
|
dm=function(a,b)\{$l()?Sl().setConnectedScreenStatus(a,b):Ol("setConnectedScreenStatus called before ready.")\};\
|
|
Jl=function()\{var a=0<=sc.search(/\\ (CrMo|Chrome|CriOS)\\//);return em||a\};\
|
|
fm=function(a,b)\{Tl.init(a,b)\};\
|
|
Ll=function(a)\{var b=!1;if(!Tl)\{var c=q("yt.mdx.remote.cloudview.instance_");c||(c=new Dl(a),c.subscribe("yt-remote-cast2-availability-change",function(a)\{Kj("yt-remote-cast-available",a);jj("yt-remote-cast2-availability-change",a)\}),c.subscribe("yt-remote-cast2-receiver-selected",function(a)\{Kl("onReceiverSelected: "+a.friendlyName);\
|
|
Kj("yt-remote-cast-receiver",a);jj("yt-remote-cast2-receiver-selected",a)\}),c.subscribe("yt-remote-cast2-receiver-resumed",function(a)\{Kl("onReceiverResumed: "+a.friendlyName);\
|
|
Kj("yt-remote-cast-receiver",a)\}),c.subscribe("yt-remote-cast2-session-change",function(a)\{Kl("onSessionChange: "+Ki(a));\
|
|
a||Mj("yt-remote-cast-receiver");jj("yt-remote-cast2-session-change",a)\}),g.ba("yt.mdx.remote.cloudview.instance_",c,void 0),b=!0);\
|
|
Tl=c\}Kl("cloudview.createSingleton_: "+b);return b\};\
|
|
Sl=function()\{Tl||(Tl=q("yt.mdx.remote.cloudview.instance_"));return Tl\};\
|
|
Nl=function(a,b)\{Pl(!0);Ml(!1);fm(a,function(a)\{a?(Ul(!0),jj("yt-remote-cast2-api-ready")):(Ol("Failed to initialize cast API."),Pl(!1),Mj("yt-remote-cast-available"),Mj("yt-remote-cast-receiver"),Ql());b(a)\})\};\
|
|
Kl=function(a)\{zi("cloudview",a)\};\
|
|
Ol=function(a)\{zi("cloudview",a)\};\
|
|
Pl=function(a)\{Kl("setCastInstalled_ "+a);Kj("yt-remote-cast-installed",a)\};\
|
|
$l=function()\{return!!q("yt.mdx.remote.cloudview.apiReady_")\};\
|
|
Ul=function(a)\{Kl("setApiReady_ "+a);g.ba("yt.mdx.remote.cloudview.apiReady_",a,void 0)\};\
|
|
Ml=function(a)\{g.ba("yt.mdx.remote.cloudview.initializing_",a,void 0)\};\
|
|
hm=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 gm||(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.b=a.pageX;this.g=a.pageY\}\};\
|
|
im=function(a)\{if(window.document.body&&window.document.documentElement)\{var b=window.document.body.scrollTop+window.document.documentElement.scrollTop;a.b=a.clientX+(window.document.body.scrollLeft+window.document.documentElement.scrollLeft);a.g=a.clientY+b\}\};\
|
|
km=function(a,b,c,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 ac(jm,function(e)\{return e[0]==a&&e[1]==b&&e[2]==c&&e[4]==!!d\})\};\
|
|
mm=function(a,b,c,d)\{if(!a||!a.addEventListener&&!a.attachEvent)return"";d=!!d;var e=km(a,b,c,d);if(e)return e;var e=++lm.count+"",f=!("mouseenter"!=b&&"mouseleave"!=b||!a.addEventListener||"onmouseenter"in window.document),k;k=f?function(d)\{d=new hm(d);if(!Yf(d.relatedTarget,function(b)\{return b==a\}))return d.currentTarget=a,d.type=b,c.call(a,d)\}:function(b)\{b=new hm(b);\
|
|
b.currentTarget=a;return c.call(a,b)\};\
|
|
k=Ui(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);jm[e]=[a,b,c,k,d];return e\};\
|
|
om=function(a,b,c)\{var d;return d=mm(a,b,function()\{nm(d);c.apply(a,arguments)\},void 0)\};\
|
|
qm=function(a,b)\{return pm(a,b,function(a)\{return je(a,"iv-card-poll-choice-input")\})\};\
|
|
pm=function(a,b,c)\{var d=a||window.document;return mm(d,"change",function(a)\{var e=Yf(a.target,function(a)\{return a===d||c(a)\});\
|
|
e&&e!==d&&!e.disabled&&(a.currentTarget=e,b.call(e,a))\})\};\
|
|
nm=function(a)\{a&&("string"==typeof a&&(a=[a]),D(a,function(a)\{if(a in jm)\{var b=jm[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 jm[a]\}\}))\};\
|
|
rm=function(a)\{a=a||window.event;a=a.target||a.srcElement;3==a.nodeType&&(a=a.parentNode);return a\};\
|
|
sm=function(a)\{a=a||window.event;return a.path&&a.path.length?a.path[0]:rm(a)\};\
|
|
tm=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\};\
|
|
um=function(a)\{a=a||window.event;var b=a.pageX,c=a.pageY;window.document.body&&window.document.documentElement&&(b||(b=a.clientX+window.document.body.scrollLeft+window.document.documentElement.scrollLeft),c||(c=a.clientY+window.document.body.scrollTop+window.document.documentElement.scrollTop));return new gf(b,c)\};\
|
|
vm=function(a)\{a=a||window.event;a.returnValue=!1;a.preventDefault&&a.preventDefault()\};\
|
|
wm=function(a)\{a=a||window.event;return!1===a.returnValue||a.ir&&a.ir()\};\
|
|
xm=function(a)\{a=a||window.event;return a.keyCode?a.keyCode:a.which\};\
|
|
ym=function(a,b)\{this.action=a;this.params=b||null\};\
|
|
zm=function()\{this.b=C()\};\
|
|
Am=function(a,b)\{this.g=new fg(a);this.b=b?dg:cg\};\
|
|
Bm=function(a)\{this.g=0;this.o=a||100;this.b=[]\};\
|
|
Cm=function(a,b)\{if(b>=a.b.length)throw Error("Out of bounds exception");return a.b.length<a.o?b:(a.g+Number(b))%a.o\};\
|
|
Dm=function(a,b,c)\{F.call(this);this.A=null!=c?x(a,c):a;this.o=b;this.g=x(this.bF,this);this.b=[]\};\
|
|
Em=function(a)\{a.Cf=de(a.g,a.o);a.A.apply(null,a.b)\};\
|
|
Fm=function(a)\{F.call(this);this.A=a;this.g=\{\}\};\
|
|
Hm=function(a,b,c,d,e)\{Gm(a,b,c,d,!1,e)\};\
|
|
Gm=function(a,b,c,d,e,f)\{ea(c)||(c&&(Im[0]=c.toString()),c=Im);for(var k=0;k<c.length;k++)\{var l=Rc(b,c[k],d||a.handleEvent,e||!1,f||a.A||a);if(!l)break;a.g[l.key]=l\}return a\};\
|
|
Km=function(a,b,c,d)\{Jm(a,b,c,d,void 0)\};\
|
|
Lm=function(a,b,c,d,e)\{Jm(a,b,c,d,!1,e)\};\
|
|
Jm=function(a,b,c,d,e,f)\{if(ea(c))for(var k=0;k<c.length;k++)Jm(a,b,c[k],d,e,f);else\{b=bd(b,c,d||a.handleEvent,e,f||a.A||a);if(!b)return;a.g[b.key]=b\}\};\
|
|
Mm=function(a)\{Pb(a.g,function(a,c)\{this.g.hasOwnProperty(c)&&dd(a)\},a);\
|
|
a.g=\{\}\};\
|
|
Nm=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"\}\};\
|
|
Om=function()\{\};\
|
|
Pm=function(a)\{return a.g||(a.g=a.A())\};\
|
|
Qm=function()\{\};\
|
|
Rm=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\};\
|
|
Sm=function(a,b,c,d,e)\{this.b=a;this.o=c;this.F=d;this.D=e||1;this.B=45E3;this.A=new Fm(this);this.g=new be;ce(this.g,250)\};\
|
|
Um=function(a,b,c)\{a.tg=1;a.Ue=ph(b.clone());a.Lf=c;a.C=!0;Tm(a,null)\};\
|
|
Vm=function(a,b,c,d,e)\{a.tg=1;a.Ue=ph(b.clone());a.Lf=null;a.C=c;e&&(a.xt=!1);Tm(a,d)\};\
|
|
Tm=function(a,b)\{a.Eh=C();Wm(a);a.$e=a.Ue.clone();oh(a.$e,"t",a.D);a.Qh=0;a.Wb=a.b.ol(a.b.Jh()?b:null);0<a.Ul&&(a.Fj=new Dm(x(a.qu,a,a.Wb),a.Ul));a.A.O(a.Wb,"readystatechange",a.$F);var c=a.Df?hc(a.Df):\{\};a.Lf?(a.Xj="POST",c["Content-Type"]="application/x-www-form-urlencoded",a.Wb.send(a.$e,a.Xj,a.Lf,c)):(a.Xj="GET",a.xt&&!Cc&&(c.Connection="close"),a.Wb.send(a.$e,a.Xj,null,c));a.b.wd(1)\};\
|
|
dn=function(a,b,c)\{for(var d=!0;!a.tf&&a.Qh<c.length;)\{var e=Xm(a,c);if(e==Ym)\{4==b&&(a.Ef=4,Zm(),d=!1);break\}else if(e==$m)\{a.Ef=4;Zm();d=!1;break\}else an(a,e)\}4==b&&0==c.length&&(a.Ef=1,Zm(),d=!1);a.yd=a.yd&&d;d||(bn(a),cn(a))\};\
|
|
Xm=function(a,b)\{var c=a.Qh,d=b.indexOf("\\n",c);if(-1==d)return Ym;c=Number(b.substring(c,d));if((0,window.isNaN)(c))return $m;d+=1;if(d+c>b.length)return Ym;var e=b.substr(d,c);a.Qh=d+c;return e\};\
|
|
gn=function(a,b)\{a.Eh=C();Wm(a);var c=b?window.location.hostname:"";a.$e=a.Ue.clone();mh(a.$e,"DOMAIN",c);mh(a.$e,"t",a.D);try\{a.zd=new window.ActiveXObject("htmlfile")\}catch(n)\{bn(a);a.Ef=7;Zm();cn(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\{if(k in en)k=en[k];else if(k in fn)k=en[k]=fn[k];else\{var l,m=k.charCodeAt(0);if(31<m&&127>m)l=k;else\{if(256>m)\{if(l="\\\\x",16>m||256<m)l+="0"\}else l="\\\\u",4096>m&&\
|
|
(l+="0");l+=m.toString(16).toUpperCase()\}k=en[k]=l\}e+=k\}\}d+='<script>document.domain="'+e+'"\\x3c/script>'\}d+="</body></html>";c=af(Ae("b/12014412"),d);a.zd.open();a.zd.write(Qe(c));a.zd.close();a.zd.parentWindow.m=x(a.mF,a);a.zd.parentWindow.d=x(a.Ls,a,!0);a.zd.parentWindow.rpcClose=x(a.Ls,a,!1);c=a.zd.createElement("DIV");a.zd.parentWindow.document.body.appendChild(c);d=Je(a.$e.toString());d=Ea(Ge(d));d=af(Ae("b/12014412"),'<iframe src="'+d+'"></iframe>');c.innerHTML=Qe(d);a.b.wd(1)\};\
|
|
Wm=function(a)\{a.Dn=C()+a.B;hn(a,a.B)\};\
|
|
hn=function(a,b)\{if(null!=a.Sg)throw Error("WatchDog timer not null");a.Sg=jn(x(a.DF,a),b)\};\
|
|
kn=function(a)\{a.Sg&&(aa.clearTimeout(a.Sg),a.Sg=null)\};\
|
|
cn=function(a)\{a.b.oq()||a.tf||a.b.Aj(a)\};\
|
|
bn=function(a)\{kn(a);Nb(a.Fj);a.Fj=null;a.g.stop();Mm(a.A);if(a.Wb)\{var b=a.Wb;a.Wb=null;ln(b);b.dispose()\}a.zd&&(a.zd=null)\};\
|
|
an=function(a,b)\{try\{a.b.As(a,b),a.b.wd(4)\}catch(c)\{\}\};\
|
|
nn=function(a,b,c,d,e)\{if(0==d)c(!1);else\{var f=e||0;d--;mn(a,b,function(e)\{e?c(!0):aa.setTimeout(function()\{nn(a,b,c,d,f)\},f)\})\}\};\
|
|
mn=function(a,b,c)\{var d=new window.Image;d.onload=function()\{try\{on(d),c(!0)\}catch(e)\{\}\};\
|
|
d.onerror=function()\{try\{on(d),c(!1)\}catch(e)\{\}\};\
|
|
d.onabort=function()\{try\{on(d),c(!1)\}catch(e)\{\}\};\
|
|
d.ontimeout=function()\{try\{on(d),c(!1)\}catch(e)\{\}\};\
|
|
aa.setTimeout(function()\{if(d.ontimeout)d.ontimeout()\},b);\
|
|
d.src=a\};\
|
|
on=function(a)\{a.onload=null;a.onerror=null;a.onabort=null;a.ontimeout=null\};\
|
|
pn=function(a)\{this.b=a;this.g=new Am(null,!0)\};\
|
|
rn=function(a)\{var b=qn(a.b,a.hh,"/mail/images/cleardot.gif");ph(b);nn(b.toString(),5E3,x(a.My,a),3,2E3);a.wd(1)\};\
|
|
tn=function(a)\{var b=a.b.G;if(null!=b)Zm(),b?(Zm(),sn(a.b,a,!1)):(Zm(),sn(a.b,a,!0));else if(a.Mc=new Sm(a,0,void 0,void 0,void 0),a.Mc.Df=a.Rl,b=a.b,b=qn(b,b.Jh()?a.qh:null,a.Tl),Zm(),!xf||Bc(10))oh(b,"TYPE","xmlhttp"),Vm(a.Mc,b,!1,a.qh,!1);else\{oh(b,"TYPE","html");var c=a.Mc;a=!!a.qh;c.tg=3;c.Ue=ph(b.clone());gn(c,a)\}\};\
|
|
un=function(a)\{I.call(this);this.headers=new Bg;this.J=a||null;this.o=!1;this.H=this.b=null;this.N="";this.g=0;this.C="";this.A=this.M=this.F=this.K=!1;this.B=0;this.D=null;this.ba="";this.R=this.G=!1\};\
|
|
vn=function(a,b)\{a.B=Math.max(0,b)\};\
|
|
wn=function(a)\{return xf&&zc(9)&&ha(a.timeout)&&p(a.ontimeout)\};\
|
|
xn=function(a)\{return"content-type"==a.toLowerCase()\};\
|
|
An=function(a,b)\{a.o=!1;a.b&&(a.A=!0,a.b.abort(),a.A=!1);a.C=b;a.g=5;yn(a);zn(a)\};\
|
|
yn=function(a)\{a.K||(a.K=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))\};\
|
|
ln=function(a,b)\{a.b&&a.o&&(a.getStatus(),a.o=!1,a.A=!0,a.b.abort(),a.A=!1,a.g=b||7,a.dispatchEvent("complete"),a.dispatchEvent("abort"),zn(a))\};\
|
|
En=function(a)\{if(a.o&&"undefined"!=typeof Bn)if(a.H[1]&&4==Cn(a)&&2==a.getStatus())a.getStatus();else if(a.F&&4==Cn(a))de(a.qq,0,a);else if(a.dispatchEvent("readystatechange"),4==Cn(a))\{a.getStatus();a.o=!1;try\{var b=a.getStatus(),c;a:switch(b)\{case 200:case 201:case 202:case 204:case 206:case 304:case 1223:c=!0;break a;default:c=!1\}var d;if(!(d=c))\{var e;if(e=0===b)\{var f=Kg(String(a.N))[1]||null;if(!f&&aa.self&&aa.self.location)var k=aa.self.location.protocol,f=k.substr(0,k.length-1);e=!Dn.test(f?\
|
|
f.toLowerCase():"")\}d=e\}if(d)a.dispatchEvent("complete"),a.dispatchEvent("success");else\{a.g=6;var l;try\{l=2<Cn(a)?a.b.statusText:""\}catch(m)\{l=""\}a.C=l+" ["+a.getStatus()+"]";yn(a)\}\}finally\{zn(a)\}\}\};\
|
|
zn=function(a,b)\{if(a.b)\{Fn(a);var c=a.b,d=a.H[0]?r:null;a.b=null;a.H=null;b||a.dispatchEvent("ready");try\{c.onreadystatechange=d\}catch(e)\{\}\}\};\
|
|
Fn=function(a)\{a.b&&a.R&&(a.b.ontimeout=null);ha(a.D)&&(ee(a.D),a.D=null)\};\
|
|
Cn=function(a)\{return a.b?a.b.readyState:0\};\
|
|
Gn=function(a)\{try\{return a.b?a.b.responseText:""\}catch(b)\{return""\}\};\
|
|
Hn=function(a,b,c)\{this.D=a||null;this.b=1;this.g=[];this.A=[];this.B=new Am(null,!0);this.F=b||null;this.G=null!=c?c:null\};\
|
|
In=function(a,b)\{this.b=a;this.map=b;this.context=null\};\
|
|
Jn=function(a)\{mc.call(this,"statevent",a)\};\
|
|
Kn=function(a,b)\{mc.call(this,"timingevent",a);this.size=b\};\
|
|
Ln=function(a)\{mc.call(this,"serverreachability",a)\};\
|
|
Pn=function(a)\{Mn(a);if(3==a.b)\{var b=a.yh++,c=a.Si.clone();mh(c,"SID",a.o);mh(c,"RID",b);mh(c,"TYPE","terminate");Nn(a,c);b=new Sm(a,0,a.o,b,void 0);b.tg=2;b.Ue=ph(c.clone());(new window.Image).src=b.Ue;b.Eh=C();Wm(b)\}On(a)\};\
|
|
Mn=function(a)\{if(a.Pe)\{var b=a.Pe;b.Mc&&(b.Mc.cancel(),b.Mc=null);b.je=-1;a.Pe=null\}a.zb&&(a.zb.cancel(),a.zb=null);a.fe&&(aa.clearTimeout(a.fe),a.fe=null);Qn(a);a.xc&&(a.xc.cancel(),a.xc=null);a.Qe&&(aa.clearTimeout(a.Qe),a.Qe=null)\};\
|
|
Sn=function(a,b)\{if(0==a.b)throw Error("Invalid operation: sending map when state is closed");a.g.push(new In(a.SB++,b));2!=a.b&&3!=a.b||Rn(a)\};\
|
|
Rn=function(a)\{a.xc||a.Qe||(a.Qe=jn(x(a.Is,a),0),a.oh=0)\};\
|
|
Wn=function(a,b)\{if(1==a.b)\{if(!b)\{a.yh=Math.floor(1E5*Math.random());var c=a.yh++,d=new Sm(a,0,"",c,void 0);d.Df=null;var e=Tn(a),f=a.Si.clone();mh(f,"RID",c);a.D&&mh(f,"CVER",a.D);Nn(a,f);Um(d,f,e);a.xc=d;a.b=2\}\}else 3==a.b&&(b?Vn(a,b):0==a.g.length||a.xc||Vn(a))\};\
|
|
Vn=function(a,b)\{var c,d;b?6<a.vf?(a.g=a.A.concat(a.g),a.A.length=0,c=a.yh-1,d=Tn(a)):(c=b.F,d=b.Lf):(c=a.yh++,d=Tn(a));var e=a.Si.clone();mh(e,"SID",a.o);mh(e,"RID",c);mh(e,"AID",a.Bg);Nn(a,e);c=new Sm(a,0,a.o,c,a.oh+1);c.Df=null;c.setTimeout(Math.round(1E4)+Math.round(1E4*Math.random()));a.xc=c;Um(c,e,d)\};\
|
|
Nn=function(a,b)\{if(a.Zb)\{var c=a.Zb.bq(a);c&&Pb(c,function(a,c)\{mh(b,c,a)\})\}\};\
|
|
Tn=function(a)\{var b=Math.min(a.g.length,1E3),c=["count="+b],d;6<a.vf&&0<b?(d=a.g[0].b,c.push("ofs="+d)):d=0;for(var e=0;e<b;e++)\{var f=a.g[e].b,k=a.g[e].map,f=6>=a.vf?e:f-d;try\{Hg(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.A=a.A.concat(a.g.splice(0,b));\
|
|
return c.join("&")\};\
|
|
Xn=function(a)\{a.zb||a.fe||(a.C=1,a.fe=jn(x(a.Hs,a),0),a.ag=0)\};\
|
|
Zn=function(a)\{if(a.zb||a.fe||3<=a.ag)return!1;a.C++;a.fe=jn(x(a.Hs,a),Yn(a,a.ag));a.ag++;return!0\};\
|
|
sn=function(a,b,c)\{a.Wj=c;a.nd=b.je;a.hz(1,0);a.Si=qn(a,null,a.Ql);Rn(a)\};\
|
|
Qn=function(a)\{null!=a.wf&&(aa.clearTimeout(a.wf),a.wf=null)\};\
|
|
Yn=function(a,b)\{var c=5E3+Math.floor(1E4*Math.random());a.isActive()||(c*=2);return c*b\};\
|
|
ao=function(a,b)\{if(2==b||9==b)\{var c=null;a.Zb&&(c=null);var d=x(a.FG,a);c||(c=new L("//www.google.com/images/cleardot.gif"),ph(c));mn(c.toString(),1E4,d)\}else Zm();$n(a,b)\};\
|
|
$n=function(a,b)\{a.b=0;a.Zb&&a.Zb.Ap(a,b);On(a);Mn(a)\};\
|
|
On=function(a)\{a.b=0;a.nd=-1;if(a.Zb)if(0==a.A.length&&0==a.g.length)a.Zb.bl(a);else\{var b=sb(a.A),c=sb(a.g);a.A.length=0;a.g.length=0;a.Zb.bl(a,b,c)\}\};\
|
|
qn=function(a,b,c)\{var d=qh(c);if(""!=d.g)b&&dh(d,b+"."+d.g),eh(d,d.D);else var e=window.location,d=rh(e.protocol,b?b+"."+e.hostname:e.hostname,e.port,c);a.nh&&Pb(a.nh,function(a,b)\{mh(d,b,a)\});\
|
|
mh(d,"VER",a.vf);Nn(a,d);return d\};\
|
|
jn=function(a,b)\{if(!ia(a))throw Error("Fn must not be null and must be a function");return aa.setTimeout(function()\{a()\},b)\};\
|
|
Zm=function()\{bo.dispatchEvent(new Jn(bo))\};\
|
|
co=function()\{\};\
|
|
fo=function(a,b)\{be.call(this);this.B=0;if(ia(a))b&&(a=x(a,b));else if(a&&ia(a.handleEvent))a=x(a.handleEvent,a);else throw Error("Invalid listener argument");this.D=a;Rc(this,"tick",x(this.C,this));eo(this)\};\
|
|
eo=function(a)\{a.stop();ce(a,5E3+2E4*Math.random())\};\
|
|
go=function(a,b)\{this.J=a;this.C=b;this.o=new tg;this.g=new fo(this.aH,this);this.b=null;this.H=!1;this.B=null;this.G="";this.F=this.A=0;this.D=[]\};\
|
|
ho=function(a)\{return\{firstTestResults:[""],secondTestResults:!a.b.Wj,sessionId:a.b.o,arrayId:a.b.Bg\}\};\
|
|
io=function(a,b)\{a.F=b||0;a.g.stop();a.b&&(3==a.b.b&&Wn(a.b),Pn(a.b));a.F=0\};\
|
|
jo=function(a)\{return!!a.b&&3==a.b.b\};\
|
|
ko=function(a,b)\{(a.C.loungeIdToken=b)||a.g.stop()\};\
|
|
lo=function()\{this.b=[];this.g=[]\};\
|
|
mo=function(a)\{kb(a.b)&&(a.b=a.g,a.b.reverse(),a.g=[])\};\
|
|
no=function(a,b)\{a.g.push(b)\};\
|
|
oo=function(a)\{mo(a);return a.b.pop()\};\
|
|
po=function(a)\{mo(a);return $a(a.b)\};\
|
|
qo=function(a)\{this.index=-1;this.videoId=this.listId="";this.volume=this.b=-1;this.muted=!1;this.audioTrackId=null;this.A=this.o=0;this.g=null;this.reset(a)\};\
|
|
ro=function(a)\{a.audioTrackId=null;a.g=null;a.b=-1;a.o=0;a.A=C()\};\
|
|
so=function(a)\{a.index=-1;a.videoId="";ro(a)\};\
|
|
to=function(a,b)\{a.o=b;a.A=C()\};\
|
|
uo=function(a)\{switch(a.b)\{case 1:return(C()-a.A)/1E3+a.o;case -1E3:return 0\}return a.o\};\
|
|
vo=function(a,b,c)\{var d=a.videoId;a.videoId=b;a.index=c;b!=d&&ro(a)\};\
|
|
wo=function(a)\{var b=\{\};b.index=a.index;b.listId=a.listId;b.videoId=a.videoId;b.playerState=a.b;b.volume=a.volume;b.muted=a.muted;b.audioTrackId=a.audioTrackId;b.trackData=ic(a.g);b.playerTime=a.o;b.playerTimeAt=a.A;return b\};\
|
|
zo=function(a,b)\{sk.call(this);this.g=0;this.A=a;this.D=[];this.C=new lo;this.B=window.NaN;this.o=this.b=null;this.H=x(this.vC,this);this.F=x(this.zh,this);this.G=x(this.uC,this);var c=0;a?(c=a.getProxyState(),3!=c&&(a.subscribe("proxyStateChange",this.Kn,this),xo(this))):c=3;0!=c&&(b?this.Kn(c):Vi(x(function()\{this.Kn(c)\},this),0));\
|
|
yo(this,Zl())\};\
|
|
Ao=function(a)\{return new qo(a.A.getPlayerContextData())\};\
|
|
Do=function(a,b,c,d,e)\{var f=Ao(a),k=e||f.listId;d=d||0;var l=\{videoId:b,currentIndex:d\};vo(f,b,d);p(c)&&(to(f,c),l.currentTime=c);p(k)&&(l.listId=k);Bo(a,"setPlaylist",l);e||Co(a,f)\};\
|
|
xo=function(a)\{D(["remotePlayerChange","remoteQueueChange"],function(a)\{this.D.push(this.A.subscribe(a,qa(this.mE,a),this))\},a)\};\
|
|
Eo=function(a)\{D(a.D,function(a)\{this.A.unsubscribeByKey(a)\},a);\
|
|
a.D.length=0\};\
|
|
Fo=function(a,b)\{50>a.C.Pb()&&no(a.C,b)\};\
|
|
Go=function(a,b,c)\{var d=Ao(a);to(d,c);-1E3!=d.b&&(d.b=b);Co(a,d)\};\
|
|
Bo=function(a,b,c)\{a.A.sendMessage(b,c)\};\
|
|
Co=function(a,b)\{Eo(a);a.A.setPlayerContextData(wo(b));xo(a)\};\
|
|
Ho=function(a)\{Xi(a.B);a.B=Vi(x(function()\{this.Y("remotePlayerChange");this.B=window.NaN\},a),2E3)\};\
|
|
yo=function(a,b)\{a.o&&(a.o.removeUpdateListener(a.H),a.o.removeMediaListener(a.F),a.zh(null));a.o=b;a.o&&(Io("Setting cast session: "+a.o.sessionId),a.o.addUpdateListener(a.H),a.o.addMediaListener(a.F),a.o.media.length&&a.zh(a.o.media[0]))\};\
|
|
Jo=function(a)\{var b=a.b.customData;if(a.b.media)\{var c=a.b.media,d=Ao(a);c.contentId!=d.videoId&&Io("Cast changing video to: "+c.contentId);d.videoId=c.contentId;d.b=b.playerState;to(d,a.b.getEstimatedTime());Co(a,d)\}else Io("No cast media video. Ignoring state update.")\};\
|
|
Io=function(a)\{zi("CP",a)\};\
|
|
Lo=function(a,b,c)\{sk.call(this);this.A=window.NaN;this.M=!1;this.H=this.G=this.J=this.K=window.NaN;this.N=[];this.D=this.F=this.o=this.Ta=this.b=null;this.ia=a;this.N.push(mm(window,"beforeunload",x(this.Dz,this)));this.g=[];this.Ta=new qo;this.ba=b.id;this.b=Ko(this,c);this.b.subscribe("handlerOpened",this.zC,this);this.b.subscribe("handlerClosed",this.wC,this);this.b.subscribe("handlerError",this.xC,this);this.b.subscribe("handlerMessage",this.yC,this);ko(this.b,b.token);this.subscribe("remoteQueueChange",\
|
|
function()\{var a=this.Ta.videoId;Lk()&&Kj("yt-remote-session-video-id",a)\},this)\};\
|
|
Mo=function(a)\{zi("conn",a)\};\
|
|
Ko=function(a,b)\{return new go(lk(a.ia,"/bc",void 0,!1),b)\};\
|
|
No=function(a,b)\{a.Y("proxyStateChange",b)\};\
|
|
Oo=function(a)\{a.A=Vi(x(function()\{Mo("Connecting timeout");this.B(1)\},a),2E4)\};\
|
|
Po=function(a)\{Xi(a.A);a.A=window.NaN\};\
|
|
Qo=function(a)\{Xi(a.K);a.K=window.NaN\};\
|
|
To=function(a)\{Ro(a);a.J=Vi(x(function()\{So(this,"getNowPlaying")\},a),2E4)\};\
|
|
Ro=function(a)\{Xi(a.J);a.J=window.NaN\};\
|
|
Vo=function(a,b)\{b&&(Po(a),Qo(a));b==(jo(a.b)&&(0,window.isNaN)(a.A))?b&&(No(a,1),So(a,"getSubtitlesTrack")):b?(a.R()&&a.Ta.reset(),No(a,1),So(a,"getNowPlaying"),Uo(a)):a.B(1)\};\
|
|
Wo=function(a,b)\{var c=b.params.videoId;delete b.params.videoId;c==a.Ta.videoId&&(cc(b.params)?a.Ta.g=null:a.Ta.g=b.params,a.Y("remotePlayerChange"))\};\
|
|
Xo=function(a,b)\{var c=b.params.videoId||b.params.video_id,d=(0,window.parseInt)(b.params.currentIndex,10);a.Ta.listId=b.params.listId||a.Ta.listId;vo(a.Ta,c,d);a.Y("remoteQueueChange")\};\
|
|
Zo=function(a,b)\{b.params=b.params||\{\};Xo(a,b);Yo(a,b)\};\
|
|
Yo=function(a,b)\{var c=(0,window.parseInt)(b.params.currentTime||b.params.current_time,10);to(a.Ta,(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.Ta.b&&(c=-1E3);a.Ta.b=c;1==a.Ta.b?To(a):Ro(a);a.Y("remotePlayerChange")\};\
|
|
$o=function(a,b)\{var c="true"==b.params.muted;a.Ta.volume=(0,window.parseInt)(b.params.volume,10);a.Ta.muted=c;a.Y("remotePlayerChange")\};\
|
|
Uo=function(a)\{Xi(a.H);a.H=Vi(x(a.B,a,1),864E5)\};\
|
|
So=function(a,b,c)\{c?Mo("Sending: action="+b+", params="+gg(c)):Mo("Sending: action="+b);a.b.sendMessage(b,c)\};\
|
|
ap=function(a)\{tk.call(this,"ScreenServiceProxy");this.$b=a;this.b=[];this.b.push(this.$b.$_s("screenChange",x(this.eH,this)));this.b.push(this.$b.$_s("onlineScreenChange",x(this.$D,this)))\};\
|
|
op=function(a,b)\{Hj&&Ij();Qk();bp||(bp=new kk,al()&&(bp.b="/api/loungedev"));cp||(cp=q("yt.mdx.remote.deferredProxies_")||[],g.ba("yt.mdx.remote.deferredProxies_",cp,void 0));dp();var c=ep();if(!c)\{var d=new nl(bp);g.ba("yt.mdx.remote.screenService_",d,void 0);c=ep();Rl(a,d,function(a)\{a?fp()&&dm(fp(),"YouTube TV"):d.subscribe("onlineScreenChange",function()\{jj("yt-remote-receiver-availability-change")\})\},!(!b||!b.loadCastApiSetupScript))\}if(b&&!q("yt.mdx.remote.initialized_"))\{g.ba("yt.mdx.remote.initialized_",\
|
|
!0,void 0);\
|
|
gp("Initializing: "+gg(b));hp.push(gj("yt-remote-cast2-availability-change",function()\{jj("yt-remote-receiver-availability-change")\}));\
|
|
hp.push(gj("yt-remote-cast2-receiver-selected",function()\{ip(null);jj("yt-remote-auto-connect","cast-selector-receiver")\}));\
|
|
hp.push(gj("yt-remote-cast2-session-change",jp));hp.push(gj("yt-remote-connection-change",function(a)\{a?dm(fp(),"YouTube TV"):kp()||(dm(null,null),Yl())\}));\
|
|
var e=lp();b.isAuto&&(e.id+="#dial");e.name=b.device;e.app=b.app;gp(" -- with channel params: "+gg(e));mp(e);c.start();fp()||np()\}\};\
|
|
qp=function()\{hj(hp);hp.length=0;Nb(pp);pp=null;cp&&(D(cp,function(a)\{a(null)\}),cp.length=0,cp=null,g.ba("yt.mdx.remote.deferredProxies_",null,void 0));\
|
|
bp=null\};\
|
|
sp=function()\{var a=rp();Wl()&&Lj("yt-remote-cast-available")&&a.push(\{key:"cast-selector-receiver",name:"Cast..."\});return a\};\
|
|
rp=function()\{var a;a=ep().$b.$_gos();var b=tp();b&&up()&&(qk(a,b)||a.push(b));return pk(a)\};\
|
|
wp=function()\{var a=vp();!a&&Wl()&&Xl()&&(a=\{key:"cast-selector-receiver",name:Xl()\});return a\};\
|
|
vp=function()\{var a=rp(),b=tp();b||(b=kp());return bb(a,function(a)\{return b&&Fi(b,a.key)?!0:!1\})\};\
|
|
tp=function()\{var a=fp();if(!a)return null;var b=ep().Gc();return rk(b,a)\};\
|
|
jp=function(a)\{gp("remote.onCastSessionChange_: "+Ki(a));if(a)\{var b=tp();b&&b.id==a.id?dm(b.id,"YouTube TV"):(b&&xp(),yp(a,1))\}else xp()\};\
|
|
Ap=function(a,b)\{gp("Connecting to: "+gg(a));if("cast-selector-receiver"==a.key)ip(b||null),cm(b||null);else\{xp();ip(b||null);var c=ep().Gc();(c=rk(c,a.key))?yp(c,1):Vi(function()\{zp(null)\},0)\}\};\
|
|
xp=function()\{$l()?Sl().stopSession():Ol("stopSession called before API ready.");var a=up();a?a.disconnect(1):(kj("yt-remote-before-disconnect",1),kj("yt-remote-connection-change",!1));zp(null)\};\
|
|
Dp=function()\{var a=Bp(),a=a?a.currentTime:0,b=Cp();0==a&&b&&(a=uo(Ao(b)));return a\};\
|
|
Cp=function()\{var a=up();return a&&3!=a.getProxyState()?new zo(a,void 0):null\};\
|
|
gp=function(a)\{zi("remote",a)\};\
|
|
ep=function()\{if(!pp)\{var a=q("yt.mdx.remote.screenService_");pp=a?new ap(a):null\}return pp\};\
|
|
fp=function()\{return q("yt.mdx.remote.currentScreenId_")\};\
|
|
Ep=function(a)\{g.ba("yt.mdx.remote.currentScreenId_",a,void 0)\};\
|
|
Bp=function()\{return q("yt.mdx.remote.connectData_")\};\
|
|
ip=function(a)\{g.ba("yt.mdx.remote.connectData_",a,void 0)\};\
|
|
up=function()\{return q("yt.mdx.remote.connection_")\};\
|
|
zp=function(a)\{var b=up();ip(null);a?up():Ep("");g.ba("yt.mdx.remote.connection_",a,void 0);cp&&(D(cp,function(b)\{b(a)\}),cp.length=0);\
|
|
b&&!a?kj("yt-remote-connection-change",!1):!b&&a&&jj("yt-remote-connection-change",!0)\};\
|
|
kp=function()\{var a=Lk();if(!a)return null;var b=ep().Gc();return rk(b,a)\};\
|
|
yp=function(a,b)\{fp();Ep(a.id);var c=new Lo(bp,a,lp());c.connect(b,Bp());c.subscribe("beforeDisconnect",function(a)\{kj("yt-remote-before-disconnect",a)\});\
|
|
c.subscribe("beforeDispose",function()\{up()&&(up(),zp(null))\});\
|
|
zp(c)\};\
|
|
np=function()\{var a=kp();a?(gp("Resume connection to: "+Ki(a)),yp(a,0)):(Zk(),Yl(),gp("Skipping connecting because no session screen found."))\};\
|
|
dp=function()\{var a=lp();if(cc(a))\{var a=Kk(),b=Lj("yt-remote-session-name")||"",c=Lj("yt-remote-session-app")||"",a=\{device:"REMOTE_CONTROL",id:a,name:b,app:c,"mdx-version":3\};g.ba("yt.mdx.remote.channelParams_",a,void 0)\}\};\
|
|
lp=function()\{return q("yt.mdx.remote.channelParams_")||\{\}\};\
|
|
mp=function(a)\{a?(Kj("yt-remote-session-app",a.app),Kj("yt-remote-session-name",a.name)):(Mj("yt-remote-session-app"),Mj("yt-remote-session-name"));g.ba("yt.mdx.remote.channelParams_",a,void 0)\};\
|
|
Gp=function(a)\{return(a=Fp.exec(a))?a[0]:""\};\
|
|
Jp=function(a)\{var b=Hp.test(a),c;c=(new RegExp("^(https?:)?//([a-z0-9-]\{1,63\}\\\\.)*("+Ip.join("|").replace(/\\./g,".")+")(:[0-9]+)?([/?#]|$)","i")).test(a);!b&&c&&(a=Error("isTrustedLoader("+a+") behavior is not consistent"),.01>Math.random()&&Zi(a,"WARNING"));return b||c\};\
|
|
Kp=function(a)\{a=new L(a);ch(a,window.document.location.protocol);dh(a,window.document.location.hostname);window.document.location.port&&eh(a,window.document.location.port);return a.toString()\};\
|
|
Lp=function(a)\{a=new L(a);ch(a,window.document.location.protocol);return a.toString()\};\
|
|
Np=function()\{return Mp("android")&&Mp("chrome")&&!(Mp("trident/")||Mp("edge/"))\};\
|
|
Op=function()\{return Mp("cobalt")\};\
|
|
Pp=function()\{return Mp("(ps3; leanback shell)")||Mp("ps3")&&Op()\};\
|
|
Qp=function()\{return Mp("(ps4; leanback shell)")||Mp("ps4")&&Op()\};\
|
|
Rp=function()\{var a=/WebKit\\/([0-9]+)/.exec(sc);return!!(a&&600<=a[1])\};\
|
|
Sp=function()\{return em&&Mp("crkey")\};\
|
|
Tp=function()\{return Mp("nintendo wiiu")\};\
|
|
Up=function()\{return Mp("iemobile")||Mp("windows phone")&&Mp("edge")\};\
|
|
Mp=function(a)\{var b=sc;return b?0<=b.toLowerCase().indexOf(a):!1\};\
|
|
Wp=function(a,b,c)\{a&&(c&&!Op()?a&&(a=K("IFRAME",\{src:'javascript:"data:text/html,<body><img src=\\\\"'+a+'\\\\"></body>"',style:"display:none"\}),nf(a).body.appendChild(a)):Vp(a,b))\};\
|
|
Zp=function(a)\{return A(B(a))?!1:Xp.test(a)||Yp.test(a)\};\
|
|
Vp=function(a,b)\{var c=new window.Image,d=""+$p++;bq[d]=c;c.onload=c.onerror=function()\{b&&bq[d]&&b();delete bq[d]\};\
|
|
c.src=a\};\
|
|
dq=function(a,b,c)\{this.start=a;this.end=b;this.A=cq++;a=c||\{\};this.wa=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.b=null;this.tooltip=a.tooltip;this.visible=this.visible;this.style=this.style;this.start=this.start\};\
|
|
eq=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\}\};\
|
|
fq=function(a,b)\{return a.start-b.start||a.B-b.B||a.A-b.A\};\
|
|
gq=function(a,b)\{sk.call(this);this.logEvent=this.Ma="";this.ua=b||"";this.ca=this.loaded=this.D=!1;this.M=this.F=null;this.b=a;if(this.ua)\{var c=zk("yt-html5-player-modules::"+this.ua);c&&(this.M=new yj(c))\}\};\
|
|
iq=function(a)\{var b=a.b;hq(b.app,a.Ma,b.playerType)\};\
|
|
kq=function(a)\{jq(a.b,a.Ma)\};\
|
|
mq=function(a,b,c)\{var d=\{\},e;for(e in b)d[a.Ma+"_"+e]=b[e];b=\{\};for(var f in c)b[a.Ma+"_"+f]=c[f];a=lq(a.b);ra(a.C,d||null);ra(a.A,b||null)\};\
|
|
nq=function(a,b)\{if(!a.M)return null;var c;try\{c=a.M.get(b)\}catch(d)\{a.M&&a.M.remove(b)\}return c\};\
|
|
oq=function(a,b,c)\{if(a.M)try\{a.M.set(b,c)\}catch(d)\{\}\};\
|
|
pq=function(a)\{a.Y("command_stop_redirect_controls")\};\
|
|
rq=function(a)\{return(a=qq[a.toString()])?a:"YTP_ERROR_LICENSE"\};\
|
|
sq=function()\{\};\
|
|
tq=function()\{var a="";try\{var b=window.document.createElement("canvas").getContext("webgl");b&&(b.getExtension("WEBGL_debug_renderer_info"),a=b.getParameter(37446),a=a.replace(/[ :]/g,"_"))\}catch(c)\{\}return a\};\
|
|
uq=function(a,b)\{this.g=a||64;this.b=b||null\};\
|
|
zq=function(a,b,c,d)\{if(O(a,128))return a;var e=a.g,f=a.b,k=b.target;if(!O(a,64)||"ended"!=b.type&&"pause"!=b.type)if("pause"==b.type&&k.Uf()||"ended"==b.type&&(k.Uf()||1>Math.abs(k.getCurrentTime()-k.pf())))0<k.Il()&&k.jc()&&(e=14,f=null);else if("pause"==b.type)O(a,256)?(e^=256)||(e=64):O(a,32)||O(a,2)||O(a,4)||(e=4,O(a,1)&&O(a,8)&&(e|=1),f=null);else if("playing"==b.type)e=8,f=null,O(a,32)&&(e|=32),d&&O(a,1)&&vq(c,k)&&(e|=1);else if("error"==b.type)\{a:\{if(2==k.kb())b="progressive.net";else if(3==\
|
|
k.kb())b="fmt.decode";else if(4==k.kb())b="fmt.unplayable";else\{b=null;break a\}c="mediaElem.1";.001>Math.random()&&(c+=";gpu."+tq());b=\{errorCode:b,errorDetail:c,message:M("YTP_ERROR_GENERIC_WITHOUT_LINK"),messageKey:"YTP_ERROR_GENERIC_WITHOUT_LINK"\}\}b&&(f=b,e|=128)\}else if("progress"==b.type)wq(a)&&vq(c,k)&&(e|=1);else if("seeked"==b.type)e&=-17;else if("seeking"==b.type)e|=16,0>=xq(k)&&(e|=1),e&=-3;else if("waiting"==b.type)O(a,2)||(e|=1);else if("timeupdate"==b.type)O(a,16)||O(a,4)||(e=vq(c,k)?\
|
|
e|1:e&-2),1<k.Be()&&0<k.getCurrentTime()&&(e&=-65);else return a;return yq(a,e,f)\};\
|
|
vq=function(a,b)\{return a?Aq(a,b.getCurrentTime(),Bq(),xq(b)):!1\};\
|
|
yq=function(a,b,c)\{return b==a.g&&c==a.b||b&128&&!c||b&2&&b&16?a:new uq(b,c)\};\
|
|
Cq=function(a,b)\{return yq(a,a.g|b)\};\
|
|
Dq=function(a,b)\{return yq(a,a.g&~b)\};\
|
|
Eq=function(a)\{return yq(a,(a.g|4)&-9)\};\
|
|
O=function(a,b)\{return!!(a.g&b)\};\
|
|
wq=function(a)\{return O(a,8)&&!O(a,2)\};\
|
|
Fq=function(a)\{return O(a,64)&&!O(a,8)&&!O(a,4)\};\
|
|
Gq=function(a)\{return O(a,1)&&!O(a,2)\};\
|
|
Hq=function(a)\{return O(a,128)?-1:O(a,2)?0:O(a,1)&&!O(a,32)?3:O(a,64)?-1:O(a,8)?1:O(a,4)?2:-1\};\
|
|
Iq=function(a,b,c)\{sk.call(this);this.C=b;this.b=7500+Math.floor(15E3*Math.random());this.D=c.innertubeApiKey;this.F=JSON.stringify(\{context:\{client:\{clientName:c.Bm,clientVersion:c.innertubeContextClientVersion,hl:c.Em,gl:c.Cm\}\},videoId:a\});this.G="https://"+(c.apiaryHost||"www.googleapis.com")+"/youtubei/"+c.innertubeApiVersion+"/player/live_state";this.g=new fe(x(this.B,this));H(this,this.g);this.B()?this.g.start(this.b):this.g.start(1E4)\};\
|
|
Kq=function(a)\{F.call(this);this.pa=\{\};this.ua=\{\};this.element=Jq(this,a)\};\
|
|
Jq=function(a,b,c)\{if(ea(b))\{c=0;var d=Ef(b[c++]);if(w(b[c]))\{var e=b[c++];if(e=Lq(a,d,"class",e))Mq(a,d,"class",e),a.pa[e]=d\}else if(ea(b[c]))\{for(var f=b[c++],e=0;e<f.length;e++)a.pa[f[e]]=d;Mq(a,d,"class",f.join(" "))\}for(;c<b.length;c++)\{var k=b[c];ea(k)||k&&k.I?(e=Jq(a,k),d.appendChild(e)):ka(k)?k.element?d.appendChild(k.element):Nq(a,d,k):w(k)&&(k=Lq(a,d,"child",k),null!=k&&d.appendChild(window.document.createTextNode(String(k))))\}\}else\{d=(c=c||"svg"==b.I)?window.document.createElementNS("http://www.w3.org/2000/svg",\
|
|
b.I):window.document.createElement(b.I);if(e=b.W)\{if(e=Lq(a,d,"class",e))Mq(a,d,"class",e),a.pa[e]=d\}else if(f=b.fa)\{for(e=0;e<f.length;e++)a.pa[f[e]]=d;Mq(a,d,"class",f.join(" "))\}if(f=b.P)for(var l=0,e=0;e<f.length;e++)if(k=f[e])if(w(k))k=Lq(a,d,"child",k),null!=k&&d.appendChild(window.document.createTextNode(String(k)));else\{var m=k,k=Jq(a,m,c);d.appendChild(k);m.Ea&&(m=Kq.b(),k.id=m,k=window.document.createElementNS("http://www.w3.org/2000/svg","use"),k.setAttribute("class","ytp-svg-shadow"),\
|
|
k.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+m),If(d,k,l++))\}(b=b.U)&&Nq(a,d,b)\}return d\};\
|
|
Lq=function(a,b,c,d)\{return"\{\{"==d.substr(0,2)?(a.ua[d]=[b,c],null):d\};\
|
|
Oq=function(a)\{return ea(a)&&w(a[0])||ka(a)&&w(a.I)\};\
|
|
Mq=function(a,b,c,d)\{if("child"==c)\{Hf(b);if(!ea(d)||Oq(d))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(Oq(f))c.push(Jq(a,f));else if(f.element)c.push(f.element);else if(w(f)&&-1!=f.indexOf("\\n"))for(var f=f.split("\\n"),k=0;k<f.length;k++)0<k&&c.push(window.document.createElement("br")),c.push(window.document.createTextNode(String(f[k])));else c.push(window.document.createTextNode(String(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())\};\
|
|
Nq=function(a,b,c)\{for(var d in c)\{var e=c[d];null!=e&&Mq(a,b,d,w(e)?Lq(a,b,d,e):e)\}\};\
|
|
Pq=function(a,b)\{a&&(a.style.display=b)\};\
|
|
Qq=function(a,b)\{var c=Th("requestAnimationFrame",window);return Vi(function()\{c?c.call(window,a):a()\},b||0)\};\
|
|
Rq=function(a)\{if(window.document.createRange)\{var b=window.document.createRange();b.selectNodeContents(a);window.getSelection().removeAllRanges();window.getSelection().addRange(b)\}\};\
|
|
P=function(a)\{Kq.call(this,a);this.g=!0;this.ba=[]\};\
|
|
Sq=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\};\
|
|
Tq=function(a)\{return(!ha(a.button)||0==a.button)&&!a.shiftKey&&!a.altKey&&!a.metaKey&&!a.ctrlKey\};\
|
|
Uq=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\};\
|
|
Vq=function(a)\{return Ii(a,function(a)\{a=a.toString(16);return 1<a.length?a:"0"+a\}).join("")\};\
|
|
Zq=function(a,b)\{fa(a);Wq();for(var c=b?Xq:Yq,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,t=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[t],c[f],c[l],c[n])\}return d.join("")\};\
|
|
ar=function(a)\{var b="";$q(a,function(a)\{b+=String.fromCharCode(a)\});\
|
|
return b\};\
|
|
br=function(a)\{var b=[];$q(a,function(a)\{b.push(a)\});\
|
|
return b\};\
|
|
$q=function(a,b)\{function c(b)\{for(;d<a.length;)\{var c=a.charAt(d++),e=cr[c];if(null!=e)return e;if(!A(c))throw Error("Unknown base64 encoding at char: "+c);\}return b\}\
|
|
Wq();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))\}\};\
|
|
Wq=function()\{if(!Yq)\{Yq=\{\};cr=\{\};Xq=\{\};for(var a=0;65>a;a++)Yq[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(a),cr[Yq[a]]=a,Xq[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a),62<=a&&(cr["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a)]=a)\}\};\
|
|
er=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=C(),d=0;d<c%23;d++)a[b]=Math.random();a[b]=Math.floor(256*Math.random())\}if(b=dr)for(c=1,d=0;d<b.length;d++)a[c%16]=a[c%16]^a[(c-1)%16]/4^b.charCodeAt(d),c++;return a\};\
|
|
fr=function()\{for(var a=er(),b=[],c=0;c<a.length;c++)b.push("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(a[c]&63));return b.join("")\};\
|
|
gr=function()\{return Ii(er(),function(a)\{return(a&15).toString(16)\}).join("")\};\
|
|
hr=function(a)\{var b=0;-1!=a.indexOf("h")&&(a=a.split("h"),b=3600*a[0],a=a[1]);-1!=a.indexOf("m")&&(a=a.split("m"),b=60*a[0]+b,a=a[1]);-1!=a.indexOf("s")?(a=a.split("s"),b=1*a[0]+b):b=1*a+b;return b\};\
|
|
jr=function()\{if(null==q("_lact",window))\{var a=(0,window.parseInt)(Ti("LACT"),10),a=(0,window.isFinite)(a)?C()-Math.max(a,0):-1;g.ba("_lact",a,window);-1==a&&ir();mm(window.document,"keydown",ir);mm(window.document,"keyup",ir);mm(window.document,"mousedown",ir);mm(window.document,"mouseup",ir);gj("page-mouse",ir);gj("page-scroll",ir);gj("page-resize",ir)\}\};\
|
|
ir=function()\{null==q("_lact",window)&&(jr(),q("_lact",window));var a=C();g.ba("_lact",a,window);jj("USER_ACTIVE")\};\
|
|
kr=function()\{var a=q("_lact",window);return null==a?-1:Math.max(C()-a,0)\};\
|
|
lr=function()\{\};\
|
|
tr=function()\{Xi(mr);if(!cc(nr))\{for(var a in nr)\{var b=or[a];if(!b)\{b=pr[a];if(!b)continue;b=new b;or[a]=b\}var c=b.b,c=\{client:\{hl:c.Em,gl:c.Cm,clientName:c.Bm,clientVersion:c.innertubeContextClientVersion\}\};Ti("DELEGATED_SESSION_ID")&&(c.user=\{onBehalfOfUser:Ti("DELEGATED_SESSION_ID")\});c=\{context:c\};c.requestTimeMs=Math.round(Bq());c[qr[a]]=nr[a];rr(b,a,c);delete nr[a]\}cc(nr)||sr()\}\};\
|
|
sr=function()\{Xi(mr);mr=Vi(tr,Ti("LOGGING_BATCH_TIMEOUT",1E4))\};\
|
|
ur=function(a)\{var b=window.location;a=Vg(a,\{\})+"";a=a instanceof Fe?a:Je(a);b.href=Ge(a)\};\
|
|
vr=function(a,b)\{var c=Ti("EVENT_ID");c&&(b||(b=\{\}),b.ei||(b.ei=c));if(b)\{var c=b,d=Ti("VALID_SESSION_TEMPDATA_DOMAINS",[]),e=Mg(window.location.href);e&&d.push(e);e=Mg(a);if(ib(d,e)||!e&&ta(a,"/"))if(d=Kg(a),d=Ig(null,null,null,null,d[5],d[6],d[7]),e=d.indexOf("#"),d=0>e?d:d.substr(0,e))Nj("enable_more_related_ve_logging")&&(c.itct||c.ved)&&((e=c.csn)||(e=Ti("client-screen-nonce",void 0))||(e=Ti("EVENT_ID",void 0)),c.csn=e),d="ST-"+Sa(d).toString(36),e=c?Tg(c):"",Pk.set(""+d,e,5,"/","youtube.com"),\
|
|
c&&(c=c.itct||c.ved,d=q("yt.logging.screenreporter.storeParentElement"),c&&d&&d(new lr))\}\};\
|
|
wr=function(a,b)\{window.open(a,b||Sa(a).toString(36))\};\
|
|
xr=function(a)\{var b=!R(a).Oa&&3!=a.getPresentingPlayerType();return a.isFullscreen()||b\};\
|
|
yr=function(a,b,c,d)\{if(!c&&Tq(a))return vm(a),d&&(d=d.itct,R(b).experiments.Z("player_interaction_logging")&&b.app.bc.b.Rb("onLogServerVeClicked",d)),!0;b.pauseVideo();b=a.currentTarget.getAttribute("href");vr(b,d);return!1\};\
|
|
Br=function(a,b,c)\{if(zr(R(b))&&2!=b.getPresentingPlayerType())\{if(Tq(c))return b.isFullscreen()&&Ar(b),vm(c),!0\}else\{var d=Tq(c);d&&b.pauseVideo();vr(a,null);d&&(wr(a),vm(c))\}return!1\};\
|
|
Cr=function(a)\{P.call(this,\{I:"a",W:"ytp-fresca-suggested-central-link",U:\{href:"\{\{link_destination\}\}"\},P:[\{I:"div",W:"ytp-fresca-suggested-promo-central",P:[\{I:"div",W:"ytp-fresca-suggested-header",P:["\{\{suggested_header_central\}\}"]\},\{I:"div",W:"ytp-fresca-suggested-central-image",U:\{style:"\{\{image_style\}\}"\},P:[\{I:"div",W:"ytp-fresca-suggested-image-badge",P:["\{\{badge_content\}\}"]\}]\},\{I:"div",W:"ytp-fresca-suggested-title",P:["\{\{suggested_title\}\}"]\},\{I:"div",W:"ytp-fresca-suggested-content",P:["\{\{suggested_content\}\}"]\}]\}]\});\
|
|
this.b=a;this.O("click",this.o,this)\};\
|
|
Dr=function(a)\{P.call(this,\{I:"div",W:"ytp-fresca-suggested-promo-sidebar",P:[\{I:"div",W:"ytp-fresca-suggested-sidebar-title",P:["\{\{suggested_sidebar_title\}\}"]\},\{I:"button",fa:["ytp-button","ytp-fresca-suggested-sidebar-close-button"],P:["\{\{suggested_sidebar_close\}\}"]\},\{I:"div",W:"ytp-fresca-suggested-sidebar-items",P:["\{\{sidebar_items\}\}"]\}]\});this.b=[];this.o=a;this.A=!1\};\
|
|
Hr=function(a,b)\{a.va("suggested_sidebar_title",b.g?M("YTP_FRESCA_SIDEBAR_PROMO_HEADER",\{STREAMER_NAME:b.g\}):"");a.va("suggested_sidebar_close",Dh());a.S(a.pa["ytp-fresca-suggested-sidebar-close-button"],"click",a.BC);Ob(a.b);a.b=[];D(b.b,function(a,b)\{if(!(5<=b)&&a)\{var c=new P(\{I:"a",W:"ytp-fresca-suggested-sidebar-link",U:\{href:"\{\{link_destination\}\}"\},P:[\{I:"div",W:"ytp-fresca-suggested-sidebar",P:[\{I:"div",W:"ytp-fresca-suggested-image",U:\{style:"\{\{image_style\}\}"\},P:[\{I:"div",W:"ytp-fresca-suggested-image-badge",\
|
|
P:["\{\{badge_content\}\}"]\}]\},\{I:"div",W:"ytp-fresca-suggested-title",P:["\{\{suggested_title\}\}"]\},\{I:"div",W:"ytp-fresca-suggested-content",P:["\{\{suggested_content\}\}"]\}]\}]\}),d="background-image:"+Er(a),k=Fr(a);c.update(\{suggested_title:a.ev,suggested_content:Gr(a),badge_content:k,image_style:d,link_destination:a.getVideoUrl()\});d=c.pa["ytp-fresca-suggested-image-badge"];oe(d,"ytp-fresca-suggested-image-badge-live",a.isLive());d.style.display=k?"":"none";c.O("click",this.RB,this);this.b.push(c)\}\},a);\
|
|
a.va("sidebar_items",a.b)\};\
|
|
Ir=function(a)\{P.call(this,\{I:"div",fa:["ytp-fresca-module"],P:[\{I:"div",W:"ytp-fresca-slant",P:[\{I:"div",W:"ytp-fresca-slant-blur-image"\},\{I:"div",W:"ytp-fresca-slant-inner",P:[\{I:"div",W:"ytp-fresca-slant-overlay"\},\{I:"div",W:"ytp-fresca-slant-arrows"\}]\}]\},\{I:"div",W:"ytp-fresca-band-slate",P:[\{I:"div",W:"ytp-fresca-message",P:[\{I:"h1",W:"ytp-fresca-heading",P:["\{\{heading\}\}"]\},\{I:"h2",W:"ytp-fresca-byline",P:["\{\{byline\}\}"]\},\{I:"h3",W:"ytp-fresca-countdown",P:["\{\{countdown\}\}"]\}]\}]\}]\});this.F=a;this.B=\
|
|
0;this.b=null;this.C=-1;this.A=new Cr(a);H(this,this.A);this.o=new Dr(a);H(this,this.o);this.A.oa();this.A.Ba(this.element);this.o.oa();this.o.Ba(this.element)\};\
|
|
Pr=function(a,b,c)\{if(!a.b||a.b.state!=b.state||a.b.startTime!=b.startTime||a.b.imageUrl!=b.imageUrl||a.b.messageText.join()!=b.messageText.join()||c)if(a.b=b,b=Jr(b),oe(a.element,"ytp-fresca-final-day-easter-egg",b),c=!b&&a.b.imageUrl,b=a.pa["ytp-fresca-slant-blur-image"],c=c?"url("+c+")":"",a.element.style.backgroundImage=c,b.style.backgroundImage=c,b=Kr(a.b),a.update(\{heading:b[0]||"",byline:b[1]||"",countdown:b[2]||""\}),a.D(!0),a.b.g&&!Lr(a.F))if(Mr(a.b.g)&&!Jr(a.b))\{b=a.A;c=a.b.g.b[0];var d;\
|
|
d=a.b.g;d=d.g?M("YTP_FRESCA_CENTRAL_PROMO_HEADER",\{STREAMER_NAME:d.g\}):"";var e="background-image:"+Er(c);b.update(\{suggested_header_central:d,suggested_title:c.ev,suggested_content:Gr(c),badge_content:Fr(c),link_destination:c.getVideoUrl(),image_style:e\});oe(b.pa["ytp-fresca-suggested-image-badge"],"ytp-fresca-suggested-image-badge-live",c.isLive());a.A.show();a.o.oa()\}else b=a.b.g,!(0<b.b.length)||Mr(b)||Jr(a.b)||a.o.A?a.o.oa():(Hr(a.o,a.b.g),a.o.show()),a.A.oa();else a.A.oa(),a.o.oa()\};\
|
|
Qr=function(a)\{var b=Math.floor(C()/1E3);if(b>a)return"";a-=b;return 86400>a?Sq(a):259200>a?M("YTP_FRESCA_COUNTDOWN_HOURS",\{HOURS:Math.floor(a/3600)\}):M("YTP_FRESCA_COUNTDOWN_DAYS",\{DAYS:Math.floor(a/86400)\})\};\
|
|
Rr=function(a,b,c,d,e,f)\{w(a)?(this.C="y"==a?b:0,this.B="m"==a?b:0,this.b="d"==a?b:0,this.g="h"==a?b:0,this.o="n"==a?b:0,this.A="s"==a?b:0):(this.C=a||0,this.B=b||0,this.b=c||0,this.g=d||0,this.o=e||0,this.A=f||0)\};\
|
|
Ur=function(a,b,c)\{ha(a)?(this.date=Sr(a,b||0,c||1),Tr(this,c||1)):ka(a)?(this.date=Sr(a.getFullYear(),a.getMonth(),a.getDate()),Tr(this,a.getDate())):(this.date=new Date(C()),a=this.date.getDate(),this.date.setHours(0),this.date.setMinutes(0),this.date.setSeconds(0),this.date.setMilliseconds(0),Tr(this,a))\};\
|
|
Sr=function(a,b,c)\{b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b\};\
|
|
Tr=function(a,b)\{a.getDate()!=b&&a.date.setUTCHours(a.date.getUTCHours()+(a.getDate()<b?1:-1))\};\
|
|
Vr=function()\{\};\
|
|
Xr=function(a)\{if("number"==typeof a)\{var b=new Vr;b.o=a;var c;c=a;if(0==c)c="Etc/GMT";else\{var d=["Etc/GMT",0>c?"-":"+"];c=Math.abs(c);d.push(Math.floor(c/60)%100);c%=60;0!=c&&d.push(":",Ma(c,2));c=d.join("")\}b.A=c;c=a;0==c?c="UTC":(d=["UTC",0>c?"+":"-"],c=Math.abs(c),d.push(Math.floor(c/60)%100),c%=60,0!=c&&d.push(":",c),c=d.join(""));a=Wr(a);b.B=[c,c];b.b=\{IP:a,Xo:a\};b.g=[];return b\}b=new Vr;b.A=a.id;b.o=-a.std_offset;b.B=a.names;b.b=a.names_ext;b.g=a.transitions;return b\};\
|
|
Wr=function(a)\{var b=["GMT"];b.push(0>=a?"+":"-");a=Math.abs(a);b.push(Ma(Math.floor(a/60)%100,2),":",Ma(a%60,2));return b.join("")\};\
|
|
Yr=function(a,b)\{for(var c=Date.UTC(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate(),b.getUTCHours(),b.getUTCMinutes())/36E5,d=0;d<a.g.length&&c>=a.g[d];)d+=2;return 0==d?0:a.g[d-1]\};\
|
|
bs=function(a,b)\{this.g=[];this.b=b||Zr;"number"==typeof a?$r(this,a):as(this,a)\};\
|
|
cs=function(a)\{return a.getHours?a.getHours():0\};\
|
|
as=function(a,b)\{for(ds&&(b=b.replace(/\\u200f/g,""));b;)\{for(var c=b,d=0;d<es.length;++d)\{var e=b.match(es[d]);if(e)\{var f=e[0];b=b.substring(f.length);0==d&&("''"==f?f="'":(f=f.substring(1,"'"==e[1]?f.length-1:f.length),f=f.replace(/\\'\\'/g,"'")));a.g.push(\{text:f,type:d\});break\}\}if(c===b)throw Error("Malformed pattern part: "+b);\}\};\
|
|
$r=function(a,b)\{var c;if(4>b)c=a.b.ki[b];else if(8>b)c=a.b.Ik[b-4];else if(12>b)c=a.b.to[b-8],c=c.replace("\{1\}",a.b.ki[b-8]),c=c.replace("\{0\}",a.b.Ik[b-8]);else\{$r(a,10);return\}as(a,c)\};\
|
|
fs=function(a,b)\{var c;c=String(b);var d=a.b||Zr;if(void 0!==d.ty)\{for(var e=[],f=0;f<c.length;f++)\{var k=c.charCodeAt(f);e.push(48<=k&&57>=k?String.fromCharCode(d.ty+k-48):c.charAt(f))\}c=e.join("")\}return c\};\
|
|
gs=function(a)\{if(!(a.getHours&&a.getSeconds&&a.getMinutes))throw Error("The date to format has no time (probably a goog.date.Date). Use Date or goog.date.DateTime, or use a pattern without time fields.");\};\
|
|
hs=function(a,b,c,d,e,f)\{var k=b.length;switch(b.charAt(0))\{case "G":return c=0<d.getFullYear()?1:0,4<=k?a.b.wo[c]:a.b.xo[c];case "y":return c=d.getFullYear(),0>c&&(c=-c),2==k&&(c%=100),fs(a,Ma(c,k));case "M":a:switch(c=d.getMonth(),k)\{case 5:k=a.b.Lo[c];break a;case 4:k=a.b.Bk[c];break a;case 3:k=a.b.Ck[c];break a;default:k=fs(a,Ma(c+1,k))\}return k;case "k":return gs(e),fs(a,Ma(cs(e)||24,k));case "S":return fs(a,(e.getTime()%1E3/1E3).toFixed(Math.min(3,k)).substr(2)+(3<k?Ma(0,k-3):""));case "E":return c=\
|
|
d.getDay(),4<=k?a.b.Kk[c]:a.b.Dk[c];case "a":return gs(e),k=cs(e),a.b.xk[12<=k&&24>k?1:0];case "h":return gs(e),fs(a,Ma(cs(e)%12||12,k));case "K":return gs(e),fs(a,Ma(cs(e)%12,k));case "H":return gs(e),fs(a,Ma(cs(e),k));case "c":a:switch(c=d.getDay(),k)\{case 5:k=a.b.Vo[c];break a;case 4:k=a.b.Hk[c];break a;case 3:k=a.b.Gk[c];break a;default:k=fs(a,Ma(c,1))\}return k;case "L":a:switch(c=d.getMonth(),k)\{case 5:k=a.b.Uo[c];break a;case 4:k=a.b.Ek[c];break a;case 3:k=a.b.Fk[c];break a;default:k=fs(a,Ma(c+\
|
|
1,k))\}return k;case "Q":return c=Math.floor(d.getMonth()/3),4>k?a.b.So[c]:a.b.Qo[c];case "d":return fs(a,Ma(d.getDate(),k));case "m":return gs(e),fs(a,Ma(e.getMinutes(),k));case "s":return gs(e),fs(a,Ma(e.getSeconds(),k));case "v":return k=f||Xr(c.getTimezoneOffset()),k.A;case "V":return a=f||Xr(c.getTimezoneOffset()),2>=k?a.A:0<Yr(a,c)?p(a.b.Ow)?a.b.Ow:a.b.DST_GENERIC_LOCATION:p(a.b.Xo)?a.b.Xo:a.b.STD_GENERIC_LOCATION;case "w":return c=a.b.mi,e=new Date(e.getFullYear(),e.getMonth(),e.getDate()),\
|
|
b=a.b.li||0,c=e.valueOf()+864E5*(((p(c)?c:3)-b+7)%7-((e.getDay()+6)%7-b+7)%7),fs(a,Ma(Math.floor(Math.round((c-(new Date((new Date(c)).getFullYear(),0,1)).valueOf())/864E5)/7)+1,k));case "z":return a=f||Xr(c.getTimezoneOffset()),4>k?a.B[0<Yr(a,c)?2:0]:a.B[0<Yr(a,c)?3:1];case "Z":return e=f||Xr(c.getTimezoneOffset()),4>k?(k=-(e.o-Yr(e,c)),a=[0>k?"-":"+"],k=Math.abs(k),a.push(Ma(Math.floor(k/60)%100,2),Ma(k%60,2)),k=a.join("")):k=fs(a,Wr(e.o-Yr(e,c))),k;default:return""\}\};\
|
|
is=function(a)\{this.B=a.thumbnailUrl?a.thumbnailUrl:null;this.b=a.startTimeSecs?(0,window.parseInt)(a.startTimeSecs,10):null;this.ev=a.title;this.g=a.state;this.o=a.currentViewers?(0,window.parseInt)(a.currentViewers,10):null;this.C=a.videoUrl;this.A=a.durationSecs?(0,window.parseInt)(a.durationSecs,10):null\};\
|
|
Er=function(a)\{return(a=a.B)?"url("+a+")":""\};\
|
|
Gr=function(a)\{if("COMPLETE"==a.g)\{var b=Math.floor(C()/1E3);a=a.b?b-a.b:0;return 172800<a?M("YTP_FRESCA_LIVE_DAYS_AGO",\{DAYS:Math.floor(a/86400)\}):3600<a?M("YTP_FRESCA_LIVE_HOURS_AGO",\{HOURS:Math.floor(a/3600)\}):M("YTP_FRESCA_LIVE_RECENTLY")\}return a.isUpcoming()?(b=Math.floor(C()/1E3),a=a.b?a.b-b:0,172800<a?M("YTP_FRESCA_LIVE_IN_DAYS",\{DAYS:Math.floor(a/86400)\}):3600<a?M("YTP_FRESCA_LIVE_IN_HOURS",\{HOURS:Math.floor(a/3600)\}):M("YTP_FRESCA_STREAMING_SOON")):a.o&&2<a.o?M("YTP_FRESCA_VIEWERS_WATCHING_NOW",\
|
|
\{VIEWER_COUNT:a.o\}):M("YTP_FRESCA_NO_VIEWERS_STREAMING_NOW")\};\
|
|
Fr=function(a)\{return"COMPLETE"==a.g&&a.A?Sq(a.A):a.isLive()?M("YTP_FRESCA_LIVE_BADGE"):null\};\
|
|
js=function(a)\{this.g=a.channelName?a.channelName:"";this.b=[];if(a=a.suggestedEvents)for(var b=0;b<a.length;b++)this.b.push(new is(a[b]))\};\
|
|
Mr=function(a)\{return 1==a.b.length&&a.b[0].isLive()\};\
|
|
ls=function(a,b)\{this.state=-1;this.o=a;this.messageText=[];this.A=!1;b&&ks(this,b)\};\
|
|
ks=function(a,b)\{var c=b.lifeCycleState;c&&(a.state=ms[c]||-1);a.startTime=(0,window.parseInt)(b.scheduledStartTime,10);if(c=b.slateBackgroundUrl)a.imageUrl=c;if(c=b.streamStates)a.A=0<=ab(c,function(a)\{a=a.streamState;return!!a&&"STREAM_STATE_ACTIVE"==a\});\
|
|
if(c=b.broadcastId)a.broadcastId=c;a.g=new js(b)\};\
|
|
Kr=function(a)\{return a.messageText.length?a.messageText:ns(a)\};\
|
|
ns=function(a)\{switch(a.state)\{case 6:return!a.b()&&a.o?[M("YTP_FRESCA_EVENT_OFFLINE_PREAMBLE"),null,M("YTP_FRESCA_EVENT_OFFLINE")]:a.b()?[]:[M("YTP_FRESCA_EVENT_VIDEO_INTERRUPTED"),M("YTP_FRESCA_STREAMER_STOPPED_STREAMING")];case 8:case 7:if(!a.startTime)return a.o?[M("YTP_FRESCA_EVENT_OFFLINE_PREAMBLE"),null,M("YTP_FRESCA_EVENT_OFFLINE")]:a.o?[M("YTP_FRESCA_EVENT_OFFLINE")]:[M("YTP_FRESCA_EVENT_OVER_MESSAGE"),M("YTP_FRESCA_COMPLETE_MESSAGE")];default:if(Jr(a))return["Dawn of","The final day","-24 hours remain-"];\
|
|
if(a.startTime)\{var b=Ti("LOCAL_DATE_TIME_CONFIG"),c="";if(b)\{var c=a.startTime,d;d=b.formatLongDate;Zr=\{Bk:b.months,Ek:b.months,Ck:b.shortMonths,Fk:b.shortMonths,ki:b.dateFormats,Kk:b.weekdays,Hk:b.shortMonths,Dk:b.shortWeekdays,Gk:b.shortWeekdays,bp:b.weekendRange,li:b.firstDayOfWeek,mi:b.firstWeekCutoffDay,xk:b.amPms\};c=(new bs(d)).format(new Date(1E3*c))\}b=Math.floor(C()/1E3);return[b<=a.startTime?M("YTP_FRESCA_EVENT_STARTS_IN"):3600>b-a.startTime?M("YTP_FRESCA_EVENT_STARTING_SOON"):M("YTP_FRESCA_EVENT_HASNT_STARTED"),\
|
|
c]\}return a.o?[M("YTP_FRESCA_EVENT_OFFLINE_PREAMBLE"),null,M("YTP_FRESCA_EVENT_OFFLINE")]:a.o?[M("YTP_FRESCA_EVENT_OFFLINE")]:[M("YTP_FRESCA_STAND_BY_MESSAGE")]\}\};\
|
|
Jr=function(a)\{if(!a.startTime)return!1;var b=a.startTime-Math.floor(C()/1E3);return ib(os,a.state)&&86459>=b&&86400<=b\};\
|
|
ps=function(a)\{gq.call(this,a);this.logEvent=this.Ma="fresca";this.o=this.G=!1;this.A=this.g=this.B=null;aj(\{YTP_FRESCA_STARTING_SOON_MESSAGE:"Sta per cominciare...",YTP_FRESCA_EVENT_OVER_MESSAGE:"Questo live stream \\u00e8 terminato.",YTP_FRESCA_COMPLETE_MESSAGE:"Grazie per averlo guardato.",YTP_FRESCA_STAND_BY_MESSAGE:"Resta in attesa.",YTP_FRESCA_EVENT_VIDEO_INTERRUPTED:"Il video \\u00e8 stato interrotto",YTP_FRESCA_STREAMER_STOPPED_STREAMING:"Lo streamer ha interrotto lo streaming.",YTP_FRESCA_EVENT_OFFLINE:"Offline",\
|
|
YTP_FRESCA_EVENT_OFFLINE_PREAMBLE:"Questo stream \\u00e8",YTP_FRESCA_EVENT_STARTS_IN:"Guarda il live stream.",YTP_FRESCA_EVENT_STARTING_SOON:"Il live stream sta per cominciare",YTP_FRESCA_EVENT_HASNT_STARTED:"Il live stream pianificato non \\u00e8 ancora iniziato",YTP_FRESCA_CENTRAL_PROMO_HEADER:"$STREAMER_NAME sta trasmettendo in questo momento.",YTP_FRESCA_SIDEBAR_PROMO_HEADER:"Altri live stream di $STREAMER_NAME",YTP_FRESCA_LIVE_BADGE:"Dal vivo",YTP_FRESCA_LIVE_DAYS_AGO:"Trasmesso in streaming $DAYS giorni fa",\
|
|
YTP_FRESCA_LIVE_HOURS_AGO:"Trasmesso in streaming $HOURS ore fa",YTP_FRESCA_LIVE_RECENTLY:"Trasmesso dal vivo di recente",YTP_FRESCA_LIVE_IN_DAYS:"Dal vivo tra $DAYS giorni",YTP_FRESCA_LIVE_IN_HOURS:"Dal vivo tra $HOURS ore",YTP_FRESCA_VIEWERS_WATCHING_NOW:"$VIEWER_COUNT spettatori attuali",YTP_FRESCA_NO_VIEWERS_STREAMING_NOW:"Sta trasmettendo ora",YTP_FRESCA_COUNTDOWN_DAYS:"$DAYS giorni",YTP_FRESCA_COUNTDOWN_HOURS:"$HOURS ore"\});this.C=!1;this.H="leanback"!=R(this.b).b\};\
|
|
ts=function(a,b)\{if(!a.H)return!1;var c=!!Kr(b).length||!!b.imageUrl;if(!a.o&&6>b.state)return c;if(a.b.app.g.G&&(b.imageUrl||b.messageText.length))return!0;var d=qs(a.b),d=Gq(d)||O(d,2),e;if(e=!a.g.b())(e=!a.o)||(e=!(qs(a.b).Wa()&&!rs(a.b.getVideoData())&&!a.b.app.g.G)&&d);return e||a.G&&a.b.app.g.G||!a.o&&6<b.state?c:!1\};\
|
|
vs=function(a,b)\{var c=ts(a,b);if(!a.o)switch(b.state)\{case 6:b.b()&&(a.o=!0,kq(a));break;case 8:case 7:a.o=!0\}c&&Pr(a.B,b);c&&!a.loaded?(a.load(),us(a.b)):!c&&a.loaded&&(a.unload(),us(a.b))\};\
|
|
xs=function(a)\{return ws(a.getVideoData(),"fresca_module")?new ps(a):null\};\
|
|
ys=function(a,b)\{var c;(c=!a.g)||(c=a.g,c=!(b&&c.broadcastId==b.broadcastId&&c.state==b.state&&c.b()==b.b()&&c.imageUrl==b.imageUrl&&Gb(c.messageText,b.messageText)&&(c.startTime==b.startTime||(0,window.isNaN)(c.startTime)&&(0,window.isNaN)(b.startTime))));if(c)\{a.g=b;c=a.b;var d;d=\{hasActiveStream:b.b(),imageUrl:b.imageUrl,messageText:Kr(b),startTime:b.startTime,state:b.state\};us(c,d)\}\};\
|
|
zs=function()\{if(!xf)return!1;try\{return new window.ActiveXObject("MSXML2.DOMDocument"),!0\}catch(a)\{return!1\}\};\
|
|
Cs=function(a)\{if("undefined"!=typeof window.DOMParser)return(new window.DOMParser).parseFromString(a,"application/xml");if(As)\{var b=Bs();b.loadXML(a);return b\}throw Error("Your browser does not support loading xml documents");\};\
|
|
Ds=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");\};\
|
|
Es=function(a,b)\{if("undefined"!=typeof a.selectSingleNode)\{var c=nf(a);"undefined"!=typeof c.setProperty&&c.setProperty("SelectionLanguage","XPath");return a.selectSingleNode(b)\}if(window.document.implementation.hasFeature("XPath","3.0"))\{var c=nf(a),d=c.createNSResolver(c.documentElement);return c.evaluate(b,a,d,window.XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue\}return null\};\
|
|
Bs=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\};\
|
|
Gs=function()\{return Cc?"Webkit":Fs?"Moz":xf?"ms":Dc?"O":null\};\
|
|
Is=function(a,b,c)\{if(w(b))(b=Hs(a,b))&&(a.style[b]=c);else for(var d in b)\{c=a;var e=b[d],f=Hs(c,d);f&&(c.style[f]=e)\}\};\
|
|
Hs=function(a,b)\{var c=Js[b];if(!c)\{var d=Wa(b),c=d;void 0===a.style[d]&&(d=Gs()+Xa(d),void 0!==a.style[d]&&(c=d));Js[b]=c\}return c\};\
|
|
Ks=function(a,b)\{var c=a.style[Wa(b)];return"undefined"!==typeof c?c:a.style[Hs(a,b)]||""\};\
|
|
Ls=function(a,b)\{var c=nf(a);return c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,null))?c[b]||c.getPropertyValue(b)||"":""\};\
|
|
Ms=function(a,b)\{return Ls(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]\};\
|
|
Os=function(a,b,c)\{var d;b instanceof gf?(d=b.x,b=b.y):(d=b,b=c);a.style.left=Ns(d,!1);a.style.top=Ns(b,!1)\};\
|
|
Ps=function(a)\{return new gf(a.offsetLeft,a.offsetTop)\};\
|
|
Qs=function(a)\{var b;try\{b=a.getBoundingClientRect()\}catch(c)\{return\{left:0,top:0,right:0,bottom:0\}\}xf&&a.ownerDocument.body&&(a=a.ownerDocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+a.body.clientTop);return b\};\
|
|
Rs=function(a)\{if(xf&&!Bc(8))return a.offsetParent;var b=nf(a),c=Ms(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=Ms(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\};\
|
|
Ts=function(a)\{for(var b=new ng(0,window.Infinity,window.Infinity,0),c=pf(a),d=c.b.body,e=c.b.documentElement,f=wf(c.b);a=Rs(a);)if(!(xf&&0==a.clientWidth||Cc&&0==a.clientHeight&&a==d)&&a!=d&&a!=e&&"visible"!=Ms(a,"overflow"))\{var k=Ss(a),l=new gf(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=vf(ag(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\};\
|
|
Ss=function(a)\{var b=nf(a),c=new gf(0,0),d;d=b?nf(b):window.document;d=!xf||Bc(9)||"CSS1Compat"==pf(d).b.compatMode?d.documentElement:d.body;if(a==d)return c;a=Qs(a);b=yf(pf(b).b);c.x=a.left+b.x;c.y=a.top+b.y;return c\};\
|
|
Vs=function(a,b)\{var c=new gf(0,0),d=zf(nf(a));if(!pc(d,"parent"))return c;var e=a;do\{var f=d==b?Ss(e):Us(e);c.x+=f.x;c.y+=f.y\}while(d&&d!=b&&d!=d.parent&&(e=d.frameElement)&&(d=d.parent));return c\};\
|
|
Xs=function(a,b)\{var c=Ws(a),d=Ws(b);return new gf(c.x-d.x,c.y-d.y)\};\
|
|
Us=function(a)\{a=Qs(a);return new gf(a.left,a.top)\};\
|
|
Ws=function(a)\{if(1==a.nodeType)return Us(a);a=a.changedTouches?a.changedTouches[0]:a;return new gf(a.clientX,a.clientY)\};\
|
|
Zs=function(a,b,c)\{if(b instanceof jf)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");Ys(a,b);a.style.height=Ns(c,!0)\};\
|
|
Ns=function(a,b)\{"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a\};\
|
|
Ys=function(a,b)\{a.style.width=Ns(b,!0)\};\
|
|
at=function(a)\{var b=$s;if("none"!=Ms(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\};\
|
|
$s=function(a)\{var b=a.offsetWidth,c=a.offsetHeight,d=Cc&&!b&&!c;return p(b)&&!d||!a.getBoundingClientRect?new jf(b,c):(a=Qs(a),new jf(a.right-a.left,a.bottom-a.top))\};\
|
|
bt=function(a)\{var b=Ss(a);a=at(a);return new og(b.x,b.y,a.width,a.height)\};\
|
|
ct=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)+")")\};\
|
|
S=function(a,b)\{a.style.display=b?"":"none"\};\
|
|
dt=function(a)\{return"none"!=a.style.display\};\
|
|
et=function(a,b)\{if(/^\\d+px?$/.test(b))return(0,window.parseInt)(b,10);var c=a.style.left,d=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;a.style.left=b;var e=a.style.pixelLeft;a.style.left=c;a.runtimeStyle.left=d;return e\};\
|
|
it=function(a)\{var b=Ms(a,"fontSize"),c;c=(c=b.match(ft))&&c[0]||null;if(b&&"px"==c)return(0,window.parseInt)(b,10);if(xf)\{if(String(c)in gt)return et(a,b);if(a.parentNode&&1==a.parentNode.nodeType&&String(c)in ht)return a=a.parentNode,c=Ms(a,"fontSize"),et(a,b==c?"1em":b)\}c=K("SPAN",\{style:"visibility:hidden;position:absolute;line-height:0;padding:0;margin:0;border:0;height:1em;"\});a.appendChild(c);b=c.offsetHeight;Jf(c);return b\};\
|
|
jt=function(a)\{this.g=a||window;this.b=[]\};\
|
|
kt=function(a,b,c)\{c=x(c,a.g);b=om(b,"mouseleave",c);a.b.push(b);return b\};\
|
|
lt=function(a,b,c,d)\{c=x(c,d||a.g);b=qm(b,c);a.b.push(b)\};\
|
|
mt=function(a)\{nm(a.b);a.b.length=0\};\
|
|
nt=function(a,b,c)\{F.call(this);this.wa=null;this.o=!1;this.B=a;this.A=c;this.b=b||window;this.g=x(this.zz,this)\};\
|
|
ot=function(a)\{a=a.b;return a.requestAnimationFrame||a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||a.oRequestAnimationFrame||a.msRequestAnimationFrame||null\};\
|
|
pt=function(a)\{a=a.b;return a.cancelAnimationFrame||a.cancelRequestAnimationFrame||a.webkitCancelRequestAnimationFrame||a.mozCancelRequestAnimationFrame||a.oCancelRequestAnimationFrame||a.msCancelRequestAnimationFrame||null\};\
|
|
tt=function(a)\{a=na(a);delete qt[a];cc(qt)&&rt&&rt.stop()\};\
|
|
vt=function()\{rt||(rt=new fe(function()\{ut()\},20));\
|
|
var a=rt;a.isActive()||a.start()\};\
|
|
ut=function()\{var a=C();Pb(qt,function(b)\{wt(b,a)\});\
|
|
cc(qt)||vt()\};\
|
|
xt=function()\{I.call(this);this.b=0;this.endTime=this.startTime=null\};\
|
|
zt=function(a,b,c,d)\{xt.call(this);if(!ea(a)||!ea(b))throw Error("Start and end parameters must be arrays");if(a.length!=b.length)throw Error("Start and end points must be the same length");this.o=a;this.F=b;this.duration=c;this.C=d;this.g=[];this.progress=this.D=0;this.B=null\};\
|
|
wt=function(a,b)\{a.progress=(b-a.startTime)/(a.endTime-a.startTime);1<=a.progress&&(a.progress=1);a.D=1E3/(b-a.B);a.B=b;At(a,a.progress);1==a.progress?(a.b=0,tt(a),a.Bc(),a.Ah()):a.Wa()&&a.Nm()\};\
|
|
At=function(a,b)\{ia(a.C)&&(b=a.C(b));a.g=Array(a.o.length);for(var c=0;c<a.o.length;c++)a.g[c]=(a.F[c]-a.o[c])*b+a.o[c]\};\
|
|
Bt=function(a,b)\{mc.call(this,a);this.x=b.g[0];this.y=b.g[1];this.duration=b.duration;this.progress=b.progress;this.fps=b.D;this.state=b.b\};\
|
|
Ct=function(a)\{return Math.pow(a,3)\};\
|
|
Dt=function(a)\{return 3*a*a-2*a*a*a\};\
|
|
Et=function(a)\{this.b="number"==typeof a?0<a?1:0>a?-1:null:null==a?null:a?-1:1\};\
|
|
Ft=function(a,b)\{var c=a.g(b,void 0);return-1==(0==c?a.b:c)?"rtl":"ltr"\};\
|
|
Gt=function()\{this.b=[];this.g=fq\};\
|
|
Ht=function(a,b)\{for(var c=[],d=0;d<a.b.length;++d)\{var e=a.b[d];e.contains(b)&&c.push(e);if(e.start>b)break\}return c\};\
|
|
Jt=function(a)\{return a.b.slice(It(a,0x7ffffffffffff),a.b.length)\};\
|
|
It=function(a,b)\{var c=Bb(a.b,function(a)\{return b-a.start||1\});\
|
|
return 0>c?-(c+1):c\};\
|
|
Kt=function(a,b)\{for(var c=void 0,d=0;d<a.b.length;d++)\{var e=a.b[d];e.contains(b)&&(void 0==c||e.end<c)&&(c=e.end);if(e.start>b&&(void 0==c||e.start<c))\{c=e.start;break\}\}return c\};\
|
|
Lt=function(a,b,c,d)\{F.call(this);this.o=window.NaN;this.C=!1;this.B=null;this.D=this.F=this.af=!1;this.M=a;this.K=b;this.G=c;this.H=d;this.J=new fe(this.we,250,this);H(this,this.J);this.A=new fe(this.we,0,this);H(this,this.A);this.g=[];this.b=new Gt\};\
|
|
Mt=function(a)\{a.af=!0;a.we()\};\
|
|
Nt=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.g.indexOf(e)&&(a.g.push(e),c.push([1,e]))\}return c\};\
|
|
Ot=function(a,b)\{var c=[];if(!b.length)return c;b.sort(fq);for(var d=0;d<b.length;d++)\{var e=b[d];a.g.splice(a.g.indexOf(e),1);c.push([2,e])\}return c\};\
|
|
Pt=function(a)\{return ea(a)&&a.length?a[0]:a\};\
|
|
Qt=function(a)\{var b=/.+/;return w(a)&&null!=b&&null!=a&&a.match(b)?a:""\};\
|
|
Rt=function(a,b)\{if(null==a)return b;var c=(0,window.parseInt)(a,0);if((0,window.isNaN)(c))return b;c=c.toString(16);return"#"+"000000".substring(0,6-c.length)+c\};\
|
|
St=function(a)\{return w(a)?a:""\};\
|
|
Tt=function(a,b,c)\{for(var d in b)if(b[d]==a)return a;return c\};\
|
|
Ut=function(a,b)\{return"true"==a||"false"==a?"true"==a:b\};\
|
|
Vt=function(a,b)\{return w(a)?(0,window.parseFloat)(a):b\};\
|
|
Wt=function(a,b,c,d,e)\{a=(0,window.parseFloat)(a);if(null!=a&&!(0,window.isNaN)(a))\{if(d)return bf(a,b,c);if(a>=b&&a<=c)return a\}return e\};\
|
|
Xt=function(a)\{if(null==a)return 0;if("never"==a)return-1;a=a.split(":");if(3<a.length)return 0;var b=0,c=1;D(a,function(a)\{a=(0,window.parseFloat)(a);0>a&&(c=-c);b=60*b+Math.abs(a)\});\
|
|
return c*b\};\
|
|
Yt=function(a,b)\{if(null==a)return null;if(fa(a))\{var c=[];D(a,function(a)\{(a=b(a))&&c.push(a)\});\
|
|
return c\}var d=b(a);return d?[d]:[]\};\
|
|
Zt=function(a)\{function b(a)\{return null!=a&&!(0,window.isNaN)(a)\}\
|
|
return(a=a?new ng((0,window.parseFloat)(a.top),(0,window.parseFloat)(a.right),(0,window.parseFloat)(a.bottom),(0,window.parseFloat)(a.left)):null)&&b(a.top)&&b(a.right)&&b(a.bottom)&&b(a.left)?a:null\};\
|
|
$t=function(a)\{function b(a)\{return le(a.split(/ +/),function(a)\{return""!=a\})\}\
|
|
return null==a?[]:b(a)\};\
|
|
au=function(a,b,c,d)\{this.value=a;this.target=b;this.showLinkIcon=c;this.Cj=d\};\
|
|
cu=function(a)\{if(!a)return null;var b=St(a.value);if(!b)return null;var c=Tt(a.target,bu,"current");return null==c?null:new au(b,c,Ut(a.show_link_icon,!0),null!=a.pause_on_navigation?a.pause_on_navigation:!0)\};\
|
|
du=function(a)\{return a.value?a.value:null\};\
|
|
fu=function(a)\{var b;(b=a)&&!(b=1<a.length?"/"==a.charAt(0)&&"/"!=a.charAt(1):"/"==a)&&(b=eu(a),b="com"==b[0]&&"youtube"==b[1]||"be"==b[0]&&"youtu"==b[1]);return b?-1==a.indexOf("/redirect?"):!1\};\
|
|
eu=function(a)\{a=a.replace(/^(https?:)?\\/\\//,"");a=a.split("/",1);return!a||1>a.length||!a[0]?[]:a[0].toLowerCase().split(".").reverse()\};\
|
|
gu=function(a)\{a=du(a);if(!a)return null;a=a.replace(/https?:\\/\\//g,"");var b;(b=!fu(a))||(b=Lg(Kg(a)[5]||null)||"",b=b.split("/"),b="/"+(1<b.length?b[1]:""),b="/watch"!=b);if(b)return null;b=Sj(a);if(!b||!b.v)return null;if(b.t)return hr(b.t);a=a.split("#",2);return!a||2>a.length?null:(a=Qj(a[1]))&&a.t?hr(a.t):-1\};\
|
|
hu=function(a)\{a=du(a);a=a.replace(/https?:\\/\\//g,"");return fu(a)?(a=Sj(a))&&a.v?a.v:null:null\};\
|
|
ju=function(a,b,c,d)\{(a=du(a))?fu(a)?d=Vj(a,\{feature:"iv",src_vid:c,annotation_id:b\}):(a?(b=eu(a),b="com"==b[0]&&"google"==b[1]&&"plus"==b[2]):b=!1,b&&d?(d=qa(iu,d.pageId,d.Ob),a=new L(a),fh(a,d(a.o)),d=a.toString()):d=a):d=null;return d\};\
|
|
iu=function(a,b,c)\{c=c.replace(/\\/(u|b)\\/[0-9]+/g,"");var d=/^[0-9]+$/;a&&d.test(a)&&(c="/b/"+a+c);b&&d.test(b)&&(c="/u/"+b+c);return c\};\
|
|
ku=function(a,b)\{return b?b:fu(a)?"current":"new"\};\
|
|
lu=function(a,b)\{return a.replace(/(\\[|%5B)([a-zA-Z0-9_]+)(\\]|%5D)/g,function(a,d,e)\{try\{var c=fc(b,e),c=c.toString();if(!A(B(c)))return(0,window.encodeURIComponent)(c).replace(/%2C/g,",")\}catch(k)\{\}return a\})\};\
|
|
nu=function(a)\{this.o=a;this.b=0;this.B=window.NaN;this.g=0;this.ra=[];this.A=mu(this.o);this.C=this.D=0\};\
|
|
ou=function(a)\{a.A.startTime=a.g;a.A.endTime=a.b;a.ra.length&&$a(a.ra).isEmpty()?a.ra[a.ra.length-1]=a.A:a.ra.length&&a.A.isEmpty()||a.ra.push(a.A);a.D+=a.b-a.g;a.A=mu(a.o);a.g=a.b\};\
|
|
pu=function(a)\{return a.D+a.o.g()-a.g\};\
|
|
qu=function(a)\{a.ra.length&&a.b==a.g||ou(a);var b=a.ra;a.ra=[];return b\};\
|
|
ru=function(a,b,c)\{c-=a.B;return b==a.b&&.5<c\};\
|
|
tu=function(a,b)\{this.b=b;this.o=!1;this.videoData=a\};\
|
|
uu=function(a,b,c)\{tu.call(this,b,c);this.C=a\};\
|
|
vu=function(a,b)\{return new Dd(function(c,d)\{b.sb=function(a)\{Yj(a)?c(a):d(a)\};\
|
|
b.onError=d;b.Lc=d;dk(a,b)\})\};\
|
|
wu=function(a,b,c,d)\{function e(d,l,m)\{return Sd(d,function(d)\{return 0>=l||403===d.status?Id(d):f(m).then(function()\{return e(vu(a,b),l-1,Math.pow(2,c-l+1)*m)\})\})\}\
|
|
function f(a)\{return new Dd(function(b)\{(0,window.setTimeout)(b,a)\})\}\
|
|
return e(vu(a,b),c-1,d)\};\
|
|
xu=function()\{var a=Lj("yt-player-volume")||\{\},b=a.volume;return\{volume:(0,window.isNaN)(b)?100:bf(Math.floor(b),0,100),muted:!!a.muted\}\};\
|
|
yu=function()\{return Lj("yt-player-quality")||"auto"\};\
|
|
zu=function(a)\{Kj("yt-player-qoe-failed-count",a,2592E3)\};\
|
|
Au=function()\{return Lj("yt-player-qoe-failed-count")||0\};\
|
|
Cu=function(a)\{F.call(this);this.b=a;this.g=\{\};this.M=window.NaN;this.C=new fe(this.qD,3E4,this);H(this,this.C);this.o="N";this.B=0;this.N=window.NaN;this.R=0;this.G=this.X="";this.aa=-1;this.F=this.H=0;this.K=this.D=!1;this.da=[];this.A=null;(a=window.navigator.getBattery?window.navigator.getBattery():null)&&a.then&&a.then(x(function(a)\{this.A=a\},this));\
|
|
this.J=(this.b.b.experiments.b("html5_disable_qoe_percentage")||0)>Math.floor(100*Math.random());this.b.b.experiments.Z("html5_qoe_unstarted_in_initialization")&&Bu(this,0,"vps",["N"])\};\
|
|
Bu=function(a,b,c,d)\{var e=a.g[c];e||(e=[],a.g[c]=e);e.push(b.toFixed(3)+":"+d.join(":"))\};\
|
|
Eu=function(a,b)\{var c=0<=b?b:Du(a.b),d=a.b.C();if(!(0,window.isNaN)(a.ba)&&!(0,window.isNaN)(d.o))\{var e=d.o-a.ba;0<e&&Bu(a,c,"bwm",[e,(d.C-a.ca).toFixed(3)])\}a.ba=d.o;a.ca=d.C;(0,window.isNaN)(d.b)||Bu(a,c,"bwe",[d.b.toFixed(0)]);(0,window.isNaN)(d.g)||(e=d.g,d.A<e&&(e=d.A),a.N!=e&&(Bu(a,c,"bh",[e.toFixed(3)]),a.N=e));a.A&&Bu(a,c,"bat",[a.A.level,a.A.charging?"1":"0"]);e=a.b.getVisibilityState();a.aa!=e&&(Bu(a,c,"vis",[e]),a.aa=e);Bu(a,c,"cmt",[a.b.g()]);0<d.B&&Bu(a,c,"e2el",[d.B,d.F.toFixed(3),\
|
|
d.D.toFixed(3),d.H.toFixed(3),d.G.toFixed(3)]);null!==a.b.videoData.xb&&(a.g.acc=[a.b.videoData.xb.join(":")])\};\
|
|
Gu=function(a)\{var b=\{event:"streamingstats"\};if(a.b.videoData.g)\{b.fmt=Fu(a.b.videoData.g);var c=a.b.videoData.B;c&&Fu(c)!=b.fmt&&(b.afmt=Fu(c))\}b.cpn=a.b.videoData.clientPlaybackNonce;b.ei=a.b.videoData.eventId;b.el=a.b.b.b;b.docid=a.b.videoData.videoId;b.ns=a.b.b.ia;b.fexp=a.b.b.experiments.experimentIds.toString();b.cl=a.b.b.Ca;a.b.videoData.adFormat&&(b.adformat=a.b.videoData.adFormat);a.b.videoData.xa&&(b.live=a.b.videoData.K?"dvr":"live");b.html5="1";return b\};\
|
|
Hu=function(a,b)\{var c=a.b.b.experiments;c.Z("html5_ajax_qoe")?vu(b,\{\}).then(a.Rs,a.Qs,a):c.Z("html5_ajax_qoe_retry")?wu(b,\{\},3,500).then(a.Rs,a.Qs,a):Wp(b)\};\
|
|
Iu=function(a)\{if(a.b.b.experiments.Z("html5_flush_long_qoe"))\{var b=0,c;for(c in a.g)b+=c.length+df(a.g[c],function(a,b)\{return a+b.length\},0);\
|
|
1500<b&&(new fe(a.Kg,0,a)).start()\}\};\
|
|
Lu=function(a)\{a.b.b.experiments.Z("html5_qoe_unstarted_in_initialization")?Du(a.b):Bu(a,Du(a.b),"vps",["N"]);a.b.videoData.Ke&&Ju(a,"preload");a.b.videoData.ha&&Ku(a,"reload",a.b.videoData.Me);a.b.videoData.Na&&Ju(a,"monitor");a.b.videoData.xa&&Ju(a,"live");a.b.videoData.Co&&D(a.b.videoData.Co.split(","),x(function(a)\{Ku(this,"ytrexp",a)\},a));\
|
|
a.M=Wi(x(a.Kg,a),1E4);a.C.start()\};\
|
|
Mu=function(a,b,c,d)\{var e=a.b.g();c=[c,e.toFixed(3)];d&&c.push(d);Bu(a,b,"error",c)\};\
|
|
Ju=function(a,b)\{var c=a.g.cat||[];c.push(b);a.g.cat=c\};\
|
|
Ku=function(a,b,c,d)\{var e=a.g.ctmp||[],f=-1!=a.da.indexOf(b);f||a.da.push(b);d&&f||(e.push(b+":"+c),a.g.ctmp=e)\};\
|
|
Pu=function(a,b,c,d)\{this.ha=b;this.segments=[];this.experimentIds=[];this.H=this.Na=this.G=this.gb=this.Ha=this.autoplay=this.autonav=!1;this.ca="yt";this.K=this.g=this.C=null;this.X=!1;this.B="watchtime"==c;this.ba="playback"==c;this.Ga="delayplay"==c;this.F="atr"==c;this.Ia="engage"==c;this.ga=this.J=!1;this.La=this.F?"/api/stats/"+c:"//"+b.be+"/api/stats/"+c;d&&(this.G=d.fs,d.rtn&&(this.g=d.rtn),this.B?(this.Tb=d.state,0<d.rti&&(this.C=d.rti)):(this.Oa=d.mos,this.Ya=d.volume,d.at&&(this.adType=\
|
|
d.at)),d.autonav&&(this.autonav=d.autonav));b.experiments.Z("legacy_autoplay_flag")&&(this.autoplay=b.ba);this.tb=b.ua;this.ub=hc(b.o);this.Aa=b.ga;this.xb=b.b;this.experimentIds=b.experiments.experimentIds;this.ia=b.qa;this.ca=b.ia;this.region=b.region;this.bc=b.Ca?b.Ca.toString():"";this.userAge=b.userAge;this.userGender=b.userGender;this.cb=kr();this.J=b.na;this.ga=!b.experiments.Z("limit_visitor_header_on_attestation");this.D=a.oauthToken||this.D;this.adFormat=a.adFormat;this.autoplay=Ou(this.ha,\
|
|
a,this.G);this.autonav=a.Ec||this.autonav;this.K=a.Gd;this.clientPlaybackNonce=a.clientPlaybackNonce;this.R=a.vssCredentialsToken;this.Ca=a.qf;this.o=a.Ed;this.ea=a.ga;a.g&&(this.na=Fu(a.g),a.B&&Fu(a.B)!=this.na&&(this.N=Fu(a.B)));this.H=a.Ca;this.Cb=a.Fd;a.xa&&(this.Sa=a.K?"dvr":"live");this.Db=a.rf;this.playbackId=a.playbackId;this.eventId=a.eventId;this.playlistId=a.Oe||a.playlistId;this.ua=a.tb;this.qa=a.ub;this.dc=a.Oo;this.subscribed=a.subscribed;this.videoId=a.videoId;this.videoMetadata=a.videoMetadata;\
|
|
this.visitorData=a.visitorData;this.osid=a.osid;this.Sb=a.uy;this.referrer=a.referrer;this.la=a.Le||a.Mo;this.searchQuery=a.searchQuery\};\
|
|
Qu=function(a,b)\{if(a.F)return null;var c=a.D&&Xj(),d=a.J&&!!a.visitorData;if(!c&&!d)return null;var e=\{\};c&&(e.Authorization="Bearer "+a.D);d&&(e["X-Goog-Visitor-Id"]=a.visitorData);return\{headers:e,withCredentials:!0,Bc:b\}\};\
|
|
Ru=function(a,b,c,d)\{b.cmt=b.len;b.lact="0";d=d();d=d.toFixed(3);b.rt=(1*d).toString();a=Vg(a,b);c?dk(a,c):Wp(a)\};\
|
|
Tu=function(a)\{var b=\{ns:a.ca,el:a.xb,cpn:a.clientPlaybackNonce,docid:a.videoId,ver:2,referrer:a.referrer,cmt:a.b(a.o),plid:a.playbackId,ei:a.eventId,fmt:a.na,fs:a.G?"1":"0",rt:a.b(a.Za),of:a.Sb,adformat:a.adFormat,content_v:a.tb,euri:a.Aa,subscribed:a.subscribed,lact:a.cb,live:a.Sa,cl:a.bc,mos:a.Oa,q:a.searchQuery,osid:a.osid,state:a.Tb,vm:a.videoMetadata,volume:a.Ya\};ra(b,a.ub);a.autonav&&(b.autonav="1");if(a.ha.experiments.Z("legacy_autoplay_flag"))a.autoplay&&(b.autoplay="1");else if(a.autoplay||\
|
|
a.H)b.autoplay="1";a.gb&&(b["final"]="1");a.H&&(b.splay="1");a.ea&&(b.delay=a.ea);a.ia&&(b.hl=a.ia);a.region&&(b.cr=a.region);p(a.userAge)&&a.userGender&&(b.uga=a.userGender+a.userAge);p(a.da)&&(b.len=a.b(a.da));!a.B&&0<a.experimentIds.length&&(b.fexp=a.experimentIds.toString());null!=a.g&&(b.rtn=a.b(a.g));a.la&&(b.feature=a.la);a.playlistId&&(b.list=a.playlistId);a.ua&&(b.ctrl=a.ua);a.qa&&(b.ytr=a.qa);a.dc&&(b.ssrt="1");a.N&&(b.afmt=a.N);a.aa&&(b.lio=a.b(a.aa));a.B?(b.idpj=a.Cb,b.ldpj=a.Db,null!=\
|
|
a.C&&(b.rti=a.b(a.C))):p(a.adType)&&(b.at=a.adType);(a.ba||a.Ga)&&a.K&&(b.tst=a.K);a.B&&(b.st=Su(a,Ii(a.segments,function(a)\{return a.startTime\})),b.et=Su(a,Ii(a.segments,function(a)\{return a.endTime\})));\
|
|
Uh(a.segments,function(a)\{return 0!=a.visibilityState\})&&(b.vis=Su(a,Ii(a.segments,function(a)\{return a.visibilityState\})));\
|
|
Uh(a.segments,function(a)\{return 1!=a.playbackRate\})&&(b.rate=Su(a,Ii(a.segments,function(a)\{return a.playbackRate\})));\
|
|
Uh(a.segments,function(a)\{return"-"!=a.$k\})&&(b.cc=Ii(a.segments,function(a)\{return a.$k\}).join(","));\
|
|
if(Uh(a.segments,function(a)\{return!!a.Wk\}))\{var c="au";\
|
|
a.ba&&(c="au_d");b[c]=Ii(a.segments,function(a)\{return a.Wk\}).join(",")\}Xj()&&a.R&&(b.ctt=a.R,b.cttype=a.Ca);\
|
|
a.Ia&&(b.etype=p(a.A)?a.A:0);return b\};\
|
|
Su=function(a,b)\{return Ii(b,a.b).join(",")\};\
|
|
Uu=function(a)\{F.call(this);this.b=a;this.g=new Cu(a);H(this,this.g);this.o=new nu(a);this.C="paused";this.D=window.NaN;this.H=[10,10,10,40];this.J=this.G=0;this.N=this.R=this.M=this.K=this.A=!1;this.B=window.NaN;this.ba=new uu(this.o,this.b.videoData,this.b.b)\};\
|
|
Vu=function(a,b,c)\{var d=Du(a.b);c=(0,window.isNaN)(c)?d:c;c=Math.ceil(c);var e=a.H[a.G];a.G+1<a.H.length&&a.G++;c+=e;d=1E3*(c-d);a.D=Vi(x(a.X,a,c,b),d);return c\};\
|
|
Yu=function(a,b)\{var c=Wu(a.b);ra(c,\{state:a.C\});c=new Pu(a.b.videoData,a.b.b,b,c);c.o=a.b.g();if(!a.b.videoData.xa)c.da=a.b.B();else if(a.b.videoData.b)\{var d=Xu(a.b.videoData.b,c.o);d&&(c.aa=d-c.o)\}c.Za=Du(a.b);c.segments=[mu(a.b)];return c\};\
|
|
Zu=function(a,b)\{var c=Yu(a,"watchtime");c.segments=b;c.o=a.o.b;return c\};\
|
|
$u=function(a)\{a.o.update();return Zu(a,qu(a.o))\};\
|
|
cv=function(a)\{a.b.videoData.remarketingUrl&&!a.R&&(av(a,a.b.videoData.remarketingUrl),a.R=!0);a.b.videoData.ppvRemarketingUrl&&!a.N&&(av(a,a.b.videoData.ppvRemarketingUrl),a.N=!0);bv(a)\};\
|
|
fv=function(a,b)\{if(!a.isDisposed())\{O(b.state,2)?(a.C="paused",0<dv(b,2)&&a.A&&$u(a).send()):O(b.state,8)?(a.C="playing",a.A&&(0,window.isNaN)(a.D)&&Vu(a,!1)):a.C="paused";var c=a.g,d=b.state,e=Du(c.b),f;f=b.state;if(O(f,128))f="ER";else if(O(f,16)||O(f,32))f="S";else\{var k=ev[Hq(f)];"B"==k&&O(f,4)&&(k="PB");f=k\}if(f!=c.o)\{k=f;if(!(e<c.B))\{if("PL"==c.o)c.F+=e-c.B;else if("B"==c.o&&c.D&&(c.D=!1,c.H+=e-c.B,!c.K&&10<=c.H&&180>=c.F))\{c.b.F();if(!c.isDisposed()&&!c.J)\{var l=Gu(c);l.qoealert="1";l=Vg(c.b.b.Gd,\
|
|
l);Hu(c,l)\}c.K=!0\}"B"!=k||"PL"!=c.o&&"PB"!=c.o||(c.D=!0);c.B=e\}"B"==f&&"PL"==c.o?Eu(c,e):Bu(c,e,"cmt",[c.b.g().toFixed(3)]);Bu(c,e,"vps",[f]);c.o=f\}O(d,128)&&Mu(c,e,d.b.errorCode,d.b.errorDetail);(O(d,2)||O(d,128))&&c.Kg(e);Iu(c);a.B&&O(b.state,128)&&(a.F("error-100"),Xi(a.B))\}\};\
|
|
gv=function(a)\{a.B=Wi(x(a.F,a,"heartbeat"),3E4)\};\
|
|
bv=function(a)\{a.b.videoData.C.eventLabel=a.b.b.b;a.b.videoData.C.playerStyle=a.b.b.g;a.b.videoData.fd&&(a.b.videoData.C.feature="pyv");a.b.videoData.C.vid=a.b.videoData.videoId;a.b.videoData.C.isAd=!("adunit"!=a.b.b.b&&!a.b.videoData.fd)\};\
|
|
av=function(a,b,c)\{a.b.b.na&&a.b.videoData.visitorData&&Wj(b)?dk(b,\{Bc:c,headers:\{"X-Goog-Visitor-Id":a.b.videoData.visitorData\}\}):Wp(b,c)\};\
|
|
hv=function(a)\{this.$=a;this.b=\{\}\};\
|
|
mv=function(a,b,c,d)\{if(b)\{var e=iv(a,b);a.b[b]=e["p-time"];e["iv-event"]=e.link||e["l-class"]||e["link-id"]?2:7;b=sb(c||[]);30==e["a-type"]&&(c=jv(a,e["a-id"],"cta_annotation_shown"))&&b.push(c);kv(a,e,lv(b,d))\}\};\
|
|
nv=function(a,b,c,d,e,f)\{if(b)\{var k=iv(a,b);k["iv-event"]=3;k["i-time"]=a.b[b]||"";kc(k,d||\{\});b=sb(e||[]);30==k["a-type"]&&(d=jv(a,k["a-id"],"cta_annotation_clicked"))&&b.push(d);kv(a,k,b,c,f)\}\};\
|
|
ov=function(a,b)\{if(b)\{var c=iv(a,b);c["iv-event"]=4;c["i-time"]=a.b[b]||"";var d=[];if(30==c["a-type"])\{var e=jv(a,c["a-id"],"cta_annotation_closed");e&&d.push(e)\}kv(a,c,d)\}\};\
|
|
lv=function(a,b)\{return b?Ii(a,qa(function(a,b)\{return lu(b,a)\},b||\{\})):a\};\
|
|
jv=function(a,b,c)\{a=a.$.getVideoData();if(a.tp)\{if((c=a.tp[c])&&pv.test(c))return a=va("[ANNOTATION_ID]"),0<=c.indexOf("[ANNOTATION_ID]")?c=c.replace("[ANNOTATION_ID]",b):0<=c.indexOf(a)&&(c=c.replace(a,b)),c\}else if(a.ua)return Uj(a.ua,\{label:c,value:"a_id="+b\});return""\};\
|
|
kv=function(a,b,c,d,e)\{var f=1,k,l=-1;if(d)\{var m=!1;k=function()\{f--;f||m||((0,window.clearTimeout)(l),m=!0,d())\};\
|
|
l=(0,window.setTimeout)(function()\{m=!0;d()\},1E3)\}D(c||[],function(a)\{f++;\
|
|
Wp(a,k)\});\
|
|
e&&(f++,0!=e&&a.$.Sf(e,k));qv(a,b,k)\};\
|
|
iv=function(a,b)\{var c=\{\};if(b)\{var d=new ih(b);D(d.Ua(),function(a)\{c[a]=(0,window.escape)(d.get(a,""))\})\}c["p-time"]=a.$.getCurrentTime().toFixed(2);\
|
|
c.ps=R(a.$).g;return c\};\
|
|
rv=function(a,b,c,d)\{d=iv(a,d);d["iv-event"]=b;d["a-id"]||(d["a-id"]="card:drawer");d["a-type"]=51;kv(a,d,c)\};\
|
|
tv=function(a,b,c,d)\{c&&(c=iv(a,c),c["iv-event"]=b,kv(a,c,d))\};\
|
|
qv=function(a,b,c)\{uv(a.$,"iv",b,c)\};\
|
|
vv=function(a,b)\{this.ca=a;this.context=b;this.Cn=!1;this.H=0\};\
|
|
wv=function(a,b,c,d,e,f)\{b=new dq(b,c,\{id:d\});b.namespace="iv-module";e&&(b.b||(b.b=new tg)).subscribe("onEnter",e,a);f&&(b.b||(b.b=new tg)).subscribe("onExit",f,a);a.context.g.wb([b])\};\
|
|
xv=function(a)\{return C()-a.H\};\
|
|
yv=function(a,b,c,d,e,f,k)\{var l=x(function()\{k&&this.context.g.pauseVideo();var a=Sj(b),d=null;"ei"in a&&(d=\{ei:a.ei\},b=ah(b,"ei"));vr(b,d);wr(b,"current"==c?"_top":void 0)\},a);\
|
|
"new"==c&&(l(),l=null);var m=\{\};m.interval=xv(a);nv(a.context.logger,d,l,m,e,f)\};\
|
|
zv=function(a,b)\{ea(b)||(b=[b]);var c=Ii(b,function(a)\{return w(a)?a:a.property+" "+a.duration+"s "+a.timing+" "+a.delay+"s"\});\
|
|
Is(a,"transition",c.join(","))\};\
|
|
Av=function(a,b,c,d)\{F.call(this);this.g=a;c||a.oa();this.B=null==d?b:d;this.b=null;this.o=new fe(this.A,0,this);H(this,this.o)\};\
|
|
Cv=function(a)\{3!=a.b&&(1==a.b||2==a.b?(a.g.oa(),a.b=null,a.o.stop()):a.g.g&&(Bv(a,!0),a.b=3,a.o.start(a.B)))\};\
|
|
Bv=function(a,b)\{var c=a.g.element;b?c.setAttribute("aria-hidden",!0):c.removeAttribute("aria-hidden")\};\
|
|
Dv=function(a,b)\{P.call(this,["div","ytp-cards-teaser",["div","ytp-cards-teaser-box"],["div","ytp-cards-teaser-text",["span","ytp-cards-teaser-label","\{\{text\}\}"]]]);this.$=a;this.F=new Av(this,250,!1,250);H(this,this.F);this.J=b;this.b=null;this.H=new fe(this.QD,300,this);this.G=new fe(this.OD,2E3,this);this.K=new Et(null);this.B=[];this.A=this.o=this.D=this.C=null;this.S(b.element,"mouseover",this.Xv);this.S(b.element,"mouseout",this.Ze);this.S(a,"cardsteasershow",this.aF);this.S(a,"cardsteaserhide",\
|
|
this.gi);this.S(a,"cardstatechange",this.du);this.S(a,"presentingplayerstatechange",this.du);this.O("click",this.nJ);this.O("mouseenter",this.lJ);this.O("mouseleave",this.mJ)\};\
|
|
Ev=function(a)\{if(!a||0==a.length)return"";var b=["ul","ytp-cards-hover-card-metadata"];D(a,function(a)\{b.push(["li","",a])\});\
|
|
return b\};\
|
|
Fv=function(a,b)\{if(b)\{var c=b.jl?"":["h2","ytp-cards-hover-card-title",b.title],d=b.imageUrl,d=["div","ytp-cards-hover-card-image",\{style:d?"background-image: url("+d+");":""\}];d.push(b.videoDuration?["span","iv-card-video-duration",b.videoDuration]:"");c=["a","ytp-cards-hover-card",["div","ytp-cards-video-image",d],["div","ytp-cards-video-desc",c,Ev(b.pe)]];a.o=new P(c);a.o.Ba(a.element);c=sf("ytp-cards-hover-card",void 0);a.S(c,"click",qa(a.bs,b));a.S(c,"mouseenter",a.FA);a.S(c,"mouseleave",a.GA)\}\};\
|
|
Hv=function(a,b)\{a.va("text",b.teaserText);a.element.setAttribute("dir",Ft(a.K,b.teaserText));a.F.show();Fv(a,b.dj);b.dj&&b.dj.jl&&J(a.element,"ytp-cards-combined-teaser");a.C=new fe(function()\{J(this.$.Da(),"ytp-cards-teaser-shown")\},0,a);\
|
|
a.C.start();Gv(a.J,!1);a.b=new fe(a.gi,580+b.durationMs,a);a.b.start();b.Fy&&J(a.element,"ytp-cards-auto-open-hover-card");b.NB&&(new fe(function()\{J(this.$.Da(),"ytp-cards-button-teaser-merge")\},0,a)).start();\
|
|
a.B.push(a.O("mouseover",a.Xv,a));a.B.push(a.O("mouseout",a.Ze,a))\};\
|
|
Iv=function(a,b,c)\{this.id=a;this.timestamp=b.timestamp||0;this.type=b.card_type;this.teaserText=b.teaser_text;this.teaserDurationMs=b.teaser_duration_ms;this.startMs=b.start_ms;this.B=b.auto_open||!1;this.Xa=c;this.sponsored=b.sponsored||!1;a=b.tracking||\{\};this.b=\{dr:a.impression,click:a.click,close:a.close,EG:a.teaser_impression,on:a.teaser_click\}\};\
|
|
Jv=function(a,b,c)\{Iv.call(this,a,b,c);this.channelId=b.channel_id;this.customMessage=b.custom_message;this.profileImageUrl=b.image_url;this.title=b.title;this.pe=b.meta_info;this.url=cu(\{pause_on_navigation:b.pause_on_navigation,target:b.target||"new",value:b.url\})\};\
|
|
Kv=function(a,b,c)\{Iv.call(this,a,b,c);this.imageUrl=b.image_url;this.displayDomain=b.display_domain;this.showLinkIcon=b.show_link_icon;this.o=b.button_icon_url;this.title=b.title;this.customMessage=b.custom_message;this.url=cu(\{pause_on_navigation:b.pause_on_navigation,target:b.target||"new",value:b.url\});this.g=null;b.signin_url&&(this.g=cu(\{target:"current",value:b.signin_url\}));this.D=b.signin_title||null;this.C=b.signin_message||null\};\
|
|
Lv=function(a,b,c)\{Kv.call(this,a,b,c);this.F=b.ypc_flow_type;this.A=b.innertube_request_params\};\
|
|
Nv=function(a,b)\{return Mv&&a.dataset?b in a.dataset?a.dataset[b]:null:a.getAttribute("data-"+String(b).replace(/([A-Z])/g,"-$1").toLowerCase())\};\
|
|
Ov=function(a,b,c)\{this.b=a;this.g=b;this.A=c;this.o=new Et(null)\};\
|
|
Qv=function(a,b)\{var c=["ol",""];D(b.chapters,function(a,b)\{c.push(["li","",["a","iv-click-target",\{href:"#","data-navigation-chapter-index":b\},a.title]])\},a);\
|
|
var d=["div",["iv-card","iv-card-navigation"],["div","iv-card-content",Pv(a,"h2","",b.title),c]],d=new P(d);D(rf("iv-click-target",d.element),function(a)\{this.b.b.O(a,"click",x(this.TD,this,b))\},a);\
|
|
return d\};\
|
|
Sv=function(a,b)\{var c=["ul","",\{role:"radiogroup"\}];D(b.choices,function(a)\{c.push(["li",b.A+"-"+a.index.toString(),["label","",["input","iv-card-poll-choice-input",\{type:"checkbox",role:"radio",name:b.A+a.index.toString(),value:a.index.toString(),"data-poll-choice-index":a.index.toString()\}],["span","iv-card-poll-choice-text",["span","iv-card-poll-choice-percent"],Pv(this,"span",void 0,a.desc)]],["div","iv-card-poll-result",["div","iv-card-poll-result-bar"]]])\},a);\
|
|
var d=\{\};b.o&&(d["aria-label"]=M("YTP_DRAWER_POLL_TITLE_ARIA_LABEL",\{POLL_TITLE:b.title\}));var e=["iv-card","iv-card-poll"],d=[["div","iv-card-content",Pv(a,"h2",d,b.title),["form","",["fieldset","",c]]]];b.o&&(e.push("iv-card-unavailable"),d.push(["div",["iv-card-sign-in"],["h2","",M("YTP_DRAWER_POLL_SIGNIN_TITLE")],["a",["iv-card-sign-in-button","iv-button"],\{href:du(b.o)\},["span",["iv-button-content"],M("YTP_SIGN_IN")]]]));e=new P(["div",e].concat(d));d=e.element;Rv(b,d);lt(a.b.b,d,qa(a.qE,b),\
|
|
a);D(rf("iv-card-poll-choice-input",d),function(a)\{this.b.b.O(a,"focus",qa(this.rs,!0));this.b.b.O(a,"blur",qa(this.rs,!1))\},a);\
|
|
b.o&&a.g(sf("iv-card-sign-in-button",d),b.o,b.id,b.Xa,b.b.click,5);return e\};\
|
|
Xv=function(a,b,c,d)\{var e=Tv(a,b.url,b.id),f=b.displayDomain?["div","iv-card-image-text",b.displayDomain]:"",k=Uv(a,b),l=["iv-card"];b.g&&l.push("iv-card-unavailable");e=["div",l,["a","iv-click-target",\{href:e\},Vv(b.imageUrl,f),["div","iv-card-content",Pv(a,"h2",void 0,b.title),k]]];b.g&&(e=e.concat([["div",["iv-card-sign-in"],Pv(a,"h2",void 0,b.D||""),["p","",b.C],["a",["iv-card-sign-in-button","iv-button"],\{href:du(b.g)\},Pv(a,"span","iv-button-content",M("YTP_SIGN_IN"))]]]));e=new P(e);Wv(a,e,\
|
|
b,c,d);return e\};\
|
|
Zv=function(a,b,c)\{var d=Tv(a,b.url,b.id),e=["yt-badge","standalone-ypc-badge-renderer-icon",b.C?"standalone-ypc-badge-renderer-icon-purchased":"standalone-ypc-badge-renderer-icon-available"],f=\{\},e=b.A&&b.o?["span",e,f,b.o]:"";c=["div",["iv-card",c],["a","iv-click-target",\{href:d\},Vv(b.D,e?["div","iv-card-image-text",e,b.priceText]:""),["div","iv-card-content",["h2","iv-card-primary-link",b.title],Yv(a,b)]]];c=new P(c);Wv(a,c,b);return c\};\
|
|
$v=function(a,b)\{return b.customMessage?Pv(a,"div","iv-card-message",b.customMessage):""\};\
|
|
Vv=function(a,b)\{var c=["div","iv-card-image",\{style:"background-image: url("+a+");"\}];b&&c.push(b);return c\};\
|
|
Yv=function(a,b)\{if(!b.pe||0==b.pe.length)return"";var c=["ul","iv-card-meta-info"];D(b.pe,function(a)\{c.push(Pv(this,"li","",a))\},a);\
|
|
return c\};\
|
|
Pv=function(a,b,c,d)\{c?w(c)?c=\{"class":c\}:ea(c)&&(c=\{"class":c.join(" ")\}):c=\{\};c.dir=Ft(a.o,d);return[b,c,d]\};\
|
|
Uv=function(a,b)\{if(!b.customMessage)return"";var c=["iv-card-action","iv-card-primary-link"],d=\{\};b.o&&(c.push("iv-card-action-icon"),d.style="background-image: url("+b.o+");");d.dir=Ft(a.o,b.customMessage);c=["div",c,d,["span","",b.customMessage]];b.showLinkIcon&&(c.push("\\u00a0"),c.push(["span","iv-card-link-icon"]));return c\};\
|
|
Rv=function(a,b)\{var c=0;D(a.choices,function(a)\{c+=a.count\});\
|
|
for(var c=c||1,d=0;d<a.choices.length;d++)\{var e=a.choices[d],f=sf(a.A+"-"+e.index.toString(),b),e=e.count/c;null==a.g&&(e=0);oe(f.getElementsByTagName("label")[0],"iv-card-poll-choice-checked",a.g==d);f.getElementsByTagName("input")[0].checked=a.g==d;Tf(sf("iv-card-poll-choice-percent",f),M("YTP_DRAWER_POLL_PERCENT",\{PERCENT:Math.floor(100*e).toFixed(0)\}));Is(sf("iv-card-poll-result-bar",f),"transform","scaleX("+e.toFixed(2)+")")\}oe(b,"iv-card-poll-voted",null!=a.g);oe(b,"iv-card-poll-expanded",\
|
|
null!=a.g&&1<a.choices.length)\};\
|
|
aw=function(a,b,c,d)\{d?(c&&a.b.videoData.xa||a.b.g.pauseVideo(),a.b.g.isFullscreen()&&Ar(a.b.g),nv(a.b.logger,b.Xa,d,void 0,b.b.click,5)):a.A(b.url,b.id,b.Xa,b.b.click,5)\};\
|
|
Tv=function(a,b,c)\{return b?ju(b,c,a.b.videoData.videoId,a.b.o):null\};\
|
|
Wv=function(a,b,c,d,e)\{c.g&&bw(a,rf("iv-card-sign-in-button",b.element),c,c.g,e);bw(a,rf("iv-click-target",b.element),c,c.url,d)\};\
|
|
bw=function(a,b,c,d,e)\{D(b,function(a)\{if(e)\{var b=x(function(a)\{a.stopPropagation();a.preventDefault();e();return!1\},this);\
|
|
this.b.b.O(a,"click",b)\}else this.g(a,d,c.id,c.Xa,c.b.click,5)\},a)\};\
|
|
cw=function(a,b,c)\{Iv.call(this,a,b,c);this.title=b.title;this.chapters=b.chapters\};\
|
|
dw=function(a,b,c)\{Iv.call(this,a,b,c);this.o=b.image_url;this.playlistVideoCount=b.playlist_video_count;this.customMessage=b.custom_message;this.title=b.title;this.pe=b.meta_info;this.url=cu(\{pause_on_navigation:b.pause_on_navigation,target:b.target||"new",value:b.url\})\};\
|
|
ew=function(a,b,c)\{Iv.call(this,a,b,c);this.A=this.id.replace(/[^a-z0-9-]/gi,"-");this.title=b.title;this.choices=b.choices;this.g=b.hasOwnProperty("old_vote")?b.old_vote:null;this.o=null;b.signin_url&&(this.o=cu(\{target:"current",value:b.signin_url\}));this.C=b.hasOwnProperty("xsrf_token")?b.xsrf_token:null\};\
|
|
gw=function(a,b,c)\{Kv.call(this,a,b,c);this.offers=[];a=b.offers||[];for(b=0;b<a.length;b++)this.offers.push(new fw(a[b]))\};\
|
|
fw=function(a)\{this.merchant=B(a.merchant);this.price=B(a.price)\};\
|
|
hw=function(a,b,c)\{Kv.call(this,a,b,c);this.F=b.ypc_item_type;this.A=b.ypc_item_id;this.G=b.ypc_flow_type\};\
|
|
iw=function(a,b,c)\{Iv.call(this,a,b,c);this.o=b.image_url;this.videoDuration=b.video_duration||null;this.customMessage=b.custom_message;this.title=b.title;this.pe=b.meta_info;this.A=!!b.is_live_now;this.url=cu(\{pause_on_navigation:b.pause_on_navigation,target:b.target||"new",value:b.url\})\};\
|
|
jw=function(a,b,c)\{Iv.call(this,a,b,c);this.D=b.image_url;this.o=b.badge_symbol||"";this.priceText=b.price_text||"";this.title=b.title;this.pe=b.meta_info;this.A=!!b.is_paygated;this.C=!!b.user_has_entitlement;this.url=cu(\{target:b.target||"new",value:b.url\})\};\
|
|
kw=function(a,b,c)\{vv.call(this,b,c);this.$=a;this.nj=this.X=this.A=this.R=this.aa=!1;this.da=null;this.Zk=new fe(r,c.o.useTabletControls?4E3:3E3);this.ba=new fe(r);this.g=new Ov(c,x(this.Ng,this),x(this.qj,this));a=["div","iv-drawer",["div","iv-drawer-header",\{"aria-role":"heading"\},M("YTP_DRAWER_HEADER_TEXT_2"),["button",["iv-drawer-close-button","ytp-button"],\{"aria-label":M("YTP_DRAWER_CLOSE_BUTTON_ARIA_LABEL"),tabindex:"0"\}]],["div","iv-drawer-content"]];this.F=new P(a);this.C=this.F.element;\
|
|
this.N=new Av(this.F,330);this.kd=sf("iv-drawer-content",this.C);a=["iv-drawer-teaser"];this.g.b.o.experiments.Ly&&a.push("iv-exp-cards-teaser-prominent");a=["div",a,["div","iv-drawer-teaser-box"],["div","iv-drawer-teaser-text"],["button",\{title:M("YTP_DRAWER_HEADER_TEXT_2"),"aria-label":M("YTP_CARDS_BUTTON_ARIA_LABEL"),"aria-haspopup":"true","class":"iv-drawer-open-button"\},["span"]]];new P(a);this.o=[];this.K=this.M=this.B=this.G=this.b=null;this.D=[];wv(this,0,1E3*c.videoData.lengthSeconds,"",\
|
|
this.vy,this.Zy)\};\
|
|
tw=function(a,b)\{var c=b&&b.data&&b.data.card_type;if(c&&lw[c])\{c=new lw[c](b.id,b.data,b.Xa);a.aa||(ke(a.ma(),["html5-stop-propagation","iv-drawer-manager"]),mw(a.$,a.C,5),nw(a),a.M=sf("ytp-cards-button"),a.K=sf("iv-drawer-close-button",a.C),a.aa=!0);ow(a,c.id);var d=pw(a,c);if(d)\{var e=\{ab:c,al:d.element,ur:!1,tj:!1\},f=qw(a,e);vb(a.o,f,0,e);d.Ba(a.kd,f);a.Ei();c.B?wv(a,c.startMs,0x8000000000000,c.id,qa(a.sG,e)):(d=1E3*a.context.g.getCurrentTime(),5E3>d&&d>c.startMs&&a.hn(e,!1),wv(a,c.startMs,c.startMs+\
|
|
1,c.id,qa(a.hn,e,!1)),rw(a))\}\}\};\
|
|
uw=function(a,b)\{b.data.autoOpenMs&&wv(a,b.data.autoOpenMs,0x8000000000000,"",a.zI);b.data.autoCloseMs&&wv(a,b.data.autoCloseMs,0x8000000000000,"",a.Ki)\};\
|
|
ow=function(a,b)\{var c=vw(a,b);c&&(c==a.b&&(a.b=null),a.$.Lu(c.ab.id),Jf(c.al),pb(a.o,c),a.Ei(),rw(a))\};\
|
|
xw=function(a,b,c,d)\{if(!a.A)\{a.N.show();a.G=new fe(function()\{J(this.context.g.Da(),"ytp-iv-drawer-open")\},0,a);\
|
|
a.G.start();a.A=!0;a.H=C();rv(a.context.logger,7,void 0,d&&d.ab?d.ab.Xa:void 0);var e=\{TRIGGER_TYPE:b\};D(a.o,function(a)\{a.tj||(a.tj=!0,mv(this.context.logger,a.ab.Xa,a.ab.b.dr,e))\},a);\
|
|
ww(a.$);c&&(a.B=new fe(function()\{this.J=this.M;this.K.focus()\},330,a),a.B.start())\}\};\
|
|
yw=function(a,b)\{return a.context.o.experiments.Z(b)\};\
|
|
nw=function(a)\{a.context.b.O(sf("iv-drawer-close-button",a.C),"click",a.Qy,a);a.context.b.O(a.kd,"touchend",function()\{this.Zk.start()\},a);\
|
|
a.context.b.O(a.kd,"scroll",a.dz,a);a.da=mm(a.kd,"mousewheel",x(a.AI,a));a.context.A.subscribe("onHideControls",function()\{this.nj=!0\},a);\
|
|
a.context.A.subscribe("onShowControls",function()\{this.nj=!1\},a);\
|
|
a.context.A.subscribe("onVideoAreaChange",function()\{this.nj=je(this.$.Da(),"ytp-autohide")\},a);\
|
|
a.D.push(gj("iv-teaser-shown",a.MB,a));a.D.push(gj("iv-teaser-clicked",a.KB,a));a.D.push(gj("iv-hover-card-clicked",a.JB,a));yw(a,"teaser_on_button_hover")&&a.D.push(gj("iv-button-mouseover",a.AG,a));yw(a,"log_teaser_hover")&&a.D.push(gj("iv-teaser-mouseover",a.LB,a))\};\
|
|
pw=function(a,b)\{switch(b.type)\{case "simple":return Xv(a.g,b);case "collaborator":var c=a.g,d=["div",["iv-card","iv-card-channel"],["a",["iv-click-target","g-hovercard"],\{href:Tv(c,b.url,b.id),"data-ytid":b.channelId\},Vv(b.profileImageUrl),["div","iv-card-content",$v(c,b),["h2","iv-card-primary-link",b.title],Yv(c,b)]]],d=new P(d);Wv(c,d,b);return d;case "donation":return c=a.g,d=x(c.ZC,c,b),Xv(c,b,d,d);case "episode":return Zv(a.g,b,"iv-card-episode");case "movie":return Zv(a.g,b,"iv-card-movie");\
|
|
case "navigation":return Qv(a.g,b);case "playlist":return c=a.g,d=["div",["iv-card","iv-card-playlist"],["a","iv-click-target",\{href:Tv(c,b.url,b.id)\},Vv(b.o,["div","iv-card-image-overlay",["span","iv-card-playlist-video-count",b.playlistVideoCount.toString()]]),["div","iv-card-content",$v(c,b),Pv(c,"h2","iv-card-primary-link",b.title),Yv(c,b)]]],d=new P(d),Wv(c,d,b),d;case "poll":return Sv(a.g,b);case "productListing":var c=a.g,d=Tv(c,b.url,b.id),e=!kb(b.offers),f=["iv-card"],k="",l=Uv(c,b);e&&(f.push("iv-card-product-listing"),\
|
|
k="iv-card-primary-link",l=b.offers[0],e=["div",null],l.price&&e.push(["div","iv-card-offer-price",l.price]),l.merchant&&e.push(["div","iv-card-offer-merchant",l.merchant]),l=e);e=b.sponsored?["div","iv-card-sponsored",M("YTP_SPONSORED"),["div","iv-ad-info-container",["div","iv-ad-info","\{\{adInfo\}\}"],["div","iv-ad-info-icon-container",["div","iv-ad-info-icon"],["div","iv-ad-info-callout"]]]]:"";d=["div",f,\{tabindex:"0"\},["a",["iv-card-image","iv-click-target"],\{style:"background-image: url("+b.imageUrl+\
|
|
");",href:d,"aria-hidden":"true",tabindex:"-1"\}],["div","iv-card-content",e,["a","iv-click-target",\{href:d\},Pv(c,"h2",k,b.title),l]]];d=new P(d);f=Ef("span");Tf(f,M("YTP_SPONSORED_PRODUCT_INFO"));d.Nb(f,"adInfo");Wv(c,d,b);return d;case "tip":return c=a.g,d=x(c.dF,c,b),Xv(c,b,d,d);case "video":return c=a.g,d=Tv(c,b.url,b.id),f=b.videoDuration?["span","iv-card-video-duration",b.videoDuration]:"",k=b.A?["span",["yt-badge","yt-badge-live"],M("YTP_LIVE_NOW")]:"",d=["div",["iv-card","iv-card-video"],["a",\
|
|
"iv-click-target",\{href:d\},Vv(b.o,f),["div","iv-card-content",$v(c,b),Pv(c,"h2","iv-card-primary-link",b.title),Yv(c,b),k]]],d=new P(d),Wv(c,d,b),d\}return null\};\
|
|
qw=function(a,b)\{if(0==a.o.length)return 0;var c=eb(a.o,function(a)\{return b.ab.startMs>a.ab.startMs||b.ab.startMs==a.ab.startMs&&b.ab.timestamp>=a.ab.timestamp?!0:!1\});\
|
|
return-1==c?0:c+1\};\
|
|
zw=function(a)\{return a.b?"productListing"==a.b.ab.type:Vk(a.o,function(a)\{return"productListing"==a.ab.type\})\};\
|
|
rw=function(a)\{oe(a.$.Da(),"ytp-cards-shopping-active",zw(a))\};\
|
|
Aw=function(a,b)\{if(a.F.g)\{var c=new zt([0,a.kd.scrollTop],[0,b.al.offsetTop],600,Dt);a.context.b.O(c,"animate",function(a)\{this.kd.scrollTop=a.y\},a);\
|
|
a.context.b.O(c,"finish",function(a)\{this.kd.scrollTop=a.y\},a);\
|
|
c.play()\}else a.F.fb(!0),a.kd.scrollTop=b.al.offsetTop,a.F.fb(!1)\};\
|
|
Bw=function(a)\{return a.b&&a.b.ab||a.o[0]&&a.o[0].ab\};\
|
|
vw=function(a,b)\{return bb(a.o,function(a)\{return a.ab.id==b\},a)\};\
|
|
Ew=function(a)\{if(!Cw.test(a))throw Error("'"+a+"' is not a valid hex color");4==a.length&&(a=a.replace(Dw,"#$1$1$2$2$3$3"));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)]\};\
|
|
Fw=function(a,b,c,d,e)\{zt.call(this,b,c,d,e);this.element=a\};\
|
|
Gw=function(a,b,c,d,e)\{if(2!=b.length||2!=c.length)throw Error("Start and end points must be 2D");Fw.apply(this,arguments)\};\
|
|
Hw=function(a,b,c)\{vv.call(this,a,b);this.annotation=c;this.isActive=!1\};\
|
|
Iw=function(a,b,c)\{Hw.call(this,a,b,c);this.b=null;this.D=!1;this.g=null;this.o=!1;this.A=0;this.C=this.B=null\};\
|
|
Jw=function(a,b,c,d,e,f)\{this.b=a;this.o=b;this.videoData=c;this.logger=d;this.g=e;this.A=f\};\
|
|
Kw=function(a,b,c)\{this.type=a;this.b=b;this.url=c\};\
|
|
Nw=function(a)\{if(!a)return null;var b=Tt(a.type,Lw),c=Tt(a.trigger,Mw),d=cu(Pt(a.url));Pt(a.subscribeData);return b?new Kw(b,c,d):null\};\
|
|
Ow=function(a,b,c,d,e,f,k,l,m,n,t,u,y,E)\{this.A=a;this.bgColor=b;this.C=c;this.b=d;this.g=e;this.H=f;this.B=k;this.textAlign=l;this.textSize=m;this.D=n;this.F=t;this.effects=u;this.o=y;this.G=E\};\
|
|
Qw=function(a)\{if(!a)return null;var b=Rt(a.fgColor,"#1A1A1A"),c=Rt(a.bgColor,"#FFF"),d=Rt(a.borderColor,"#000"),e=Wt(a.borderWidth,0,5,!1,0),f=Wt(a.bgAlpha,0,1,!1,.8),k=Rt(a.highlightFontColor,"#F2F2F2"),l=Wt(a.highlightWidth,0,5,!1,3),m=St(a.textAlign),n=Wt(a.textSize,3.3,30.1,!0,3.6107),t=St(a.fontWeight),u=Zt(a.padding),y=$t(a.effects),E=Wt(a.cornerRadius,0,10,!0,0);if(a=Pt(a.gradient))\{var G=Wt(a.x1,0,100,!0,0),Y=Wt(a.y1,0,100,!0,0),N=Wt(a.x2,0,100,!0,100),Q=Wt(a.y2,0,100,!0,100),cb=Rt(a.color1,\
|
|
"#FFF"),Ab=Rt(a.color2,"#000");a=new Pw(G,Y,N,Q,cb,Ab,Wt(a.opacity1,0,100,!0,100),Wt(a.opacity2,0,100,!0,0))\}else a=null;return new Ow(b,c,d,e,f,k,l,m,n,t,u,y,E,a)\};\
|
|
Pw=function(a,b,c,d,e,f,k,l)\{this.B=a;this.D=b;this.C=c;this.F=d;this.b=e;this.g=f;this.o=k;this.A=l\};\
|
|
Tw=function(a,b,c)\{var d=a.C,e=a.D,f=a.b?a.b:"xy",k=Rw(c,a.A,f);a=Sw(c,a.g,f);var f=640*b.width*k/100,l=360*b.height*a/100;return new og(0==d?640*b.left*k/100:0<d?d:c.width+d-f,0==e?360*b.top*a/100:0<e?e:c.height+e-l,f,l)\};\
|
|
Rw=function(a,b,c)\{var d=(c="xx"==c||"xy"==c)?640:360;return(d+((c?a.width:a.height)-d)*b)/d\};\
|
|
Sw=function(a,b,c)\{var d=(c="xy"==c||"yy"==c)?360:640;return(d+((c?a.height:a.width)-d)*b)/d\};\
|
|
Uw=function(a,b,c,d,e,f,k,l,m,n,t)\{this.x=a;this.y=b;this.B=c;this.o=d;this.t=e;this.H=f;this.C=k;this.D=l;this.A=m;this.g=n;this.b=t\};\
|
|
Ww=function(a,b)\{if(!a)return null;var c=Vt(a.x,0),d=Vt(a.y,0),e=Vt(a.w,0),f=Vt(a.h,0),k=Xt(a.t),l=Vt(a.scaleSlope,1);return b(c,d,e,f,k,Vt(a.d,0),Vt(a.px,0),Vt(a.py,0),Vt(a.scaleSlopeX,l),Vt(a.scaleSlopeY,l),Tt(a.scaleDimension,Vw,"xy"))\};\
|
|
Yw=function(a,b)\{var c=Xw(b,Tw(a,new og(a.x,a.y,a.B,a.o),b.b)),d=b.b,e=c.clone();d&&!d.contains(c)&&(c.width<d.width?e.left=bf(c.left,d.left,d.left+d.width-c.width):(e.left=d.left,e.width=d.width),c.height<d.height?e.top=bf(c.top,d.top,d.top+d.height-c.height):(e.top=d.top,e.height=d.height));return e\};\
|
|
Zw=function(a)\{return a?Ww(a,function(a,c,d,e,f,k,l,m,n,t,u)\{return new Uw(a,c,d,e,f,k,l,m,n,t,u)\}):null\};\
|
|
$w=function(a,b,c,d,e,f,k,l,m,n,t,u,y)\{Uw.call(this,a,b,c,d,e,l,m,n,t,u,y);this.F=f;this.G=k\};\
|
|
ax=function(a)\{if(!a)return null;var b=Vt(a.sx,0),c=Vt(a.sy,0);return Ww(a,function(a,e,f,k,l,m,n,t,u,y,E)\{return new $w(a,e,f,k,l,b,c,m,n,t,u,y,E)\})\};\
|
|
bx=function(a,b,c,d)\{this.type=a;this.g=b;this.b=c;this.o=d\};\
|
|
baa=function(a)\{if(!a)return null;var b=Tt(a.type,aaa,"rect"),c=Yt(a.rectRegion,Zw),d=Yt(a.anchoredRegion,ax);a=Yt(a.shapelessRegion,Zw);return new bx(b,c,d,a)\};\
|
|
cx=function(a)\{return a.g&&a.g.length?a.g[0]:a.b&&a.b.length?a.b[0]:a.o&&a.o.length?a.o[0]:null\};\
|
|
caa=function(a,b)\{this.g=a;this.b=b\};\
|
|
daa=function(a,b)\{this.state=a;this.b=b\};\
|
|
dx=function(a)\{if(!a)return null;var b=Tt(a.state,eaa);a=Qt(a.ref);return b?new daa(b,a):null\};\
|
|
faa=function(a,b,c,d)\{this.b=a||[];this.o=b||[];this.A=c;this.g=d;this.value=!1\};\
|
|
gaa=function(a)\{if(!a)return null;var b=Yt(a.condition,dx),c=Yt(a.notCondition,dx),d=Ut(a.show_delay,!1);a=Ut(a.hide_delay,!1);return b||c?new faa(b,c,d,a):null\};\
|
|
haa=function(a,b,c)\{D(a.b,qa(b,!1),c);D(a.o,qa(b,!0),c)\};\
|
|
ex=function(a,b,c,d,e,f,k,l,m,n,t,u,y,E,G)\{this.id=a;this.author=b;this.type=c;this.style=d;this.B=e;this.g=f;this.A=k||[];this.F=l||[];this.b=m;this.D=n;this.C=t;this.o=y;this.data=E;this.Xa=G\};\
|
|
kaa=function(a)\{if(!a)return null;var b=Qt(a.id),c=Qt(a.author),d=Tt(a.type,iaa),e=Tt(a.style,fx),f=St(Pt(a.TEXT)),k=St(a.data),k=0!=k.length?cg(k):\{\},l;var m=Pt(a.segment);m?(Qt(m.timeRelative),l=Qt(m.spaceRelative),l=(m=Yt(m.movingRegion,baa))?new caa(l,m):null):l=null;var m=Yt(a.action,Nw),n=Yt(a.trigger,gaa),t=Qw(Pt(a.appearance));t||(t=Qw(\{\}));var u=Tt(a.coordinate_system,jaa,"video_relative"),y=Ut(a.closeable,!0),E=St(a.html_blob);a=St(a.log_data);return b&&d?new ex(b,c,d,e,f,l,m,n,t,u,y,0,\
|
|
E,k,a):null\};\
|
|
gx=function(a)\{return(a=laa(a,function(a)\{return"openUrl"==a.type&&null!=a.url\}))?a.url:null\};\
|
|
ix=function(a)\{return hx(a,function(a)\{return"click"==a.b\})\};\
|
|
hx=function(a,b)\{return Uh(a.A,b,void 0)\};\
|
|
maa=function(a,b,c)\{D(a.A,b,c)\};\
|
|
laa=function(a,b)\{return bb(a.A,b,void 0)\};\
|
|
jx=function(a,b,c)\{D(a.F,b,c)\};\
|
|
naa=function(a,b)\{Ii(a.F,b,void 0)\};\
|
|
lx=function(a)\{return(a=kx(a))?cx(a):null\};\
|
|
kx=function(a)\{a.g?(a=a.g,a=a.b.length?a.b[0]:null):a=null;return a\};\
|
|
mx=function(a,b)\{var c=lx(a);return c&&b?Sw(b,c.g,c.b?c.b:"xy"):1\};\
|
|
nx=function(a,b,c)\{Hw.call(this,a,b,c);this.D=this.A=this.F=!1;this.C=5E3;this.b=null;this.kh=K("DIV","iv-promo-contents");this.g=this.o=this.Cc=null;this.B=new fe(function()\{this.Cc.setAttribute("aria-hidden",!0);S(this.o,!1);S(this.g,!0)\},700,this)\};\
|
|
oaa=function(a)\{var b=a.annotation.data,c;if("cta"==a.annotation.style)c=6;else if("video"==a.annotation.style||"playlist"==a.annotation.style)c=7;a.C=b.collapse_delay_ms||a.C;var d=["iv-promo","iv-promo-inactive"];a.ma().setAttribute("aria-hidden",!0);a.ma().setAttribute("aria-label",M("YTP_INVIDEO_PROMOTION_ARIA_LABEL"));a.ma().tabIndex=0;var e;if(b.image_url)\{e=K("DIV",["iv-promo-img","iv-click-target"]);var f=K("IMG",\{src:b.image_url,"aria-hidden":"true"\});e.appendChild(f);b.video_duration&&!b.is_live?\
|
|
(f=K("SPAN","iv-promo-video-duration",b.video_duration),e.appendChild(f)):b.playlist_length&&(f=K("SPAN","iv-promo-playlist-length",b.playlist_length.toString()),e.appendChild(f));a.Ng(e,gx(a.annotation),a.annotation.id,a.annotation.Xa,null,c)\}f=gx(a.annotation);a.Cc=f?K("A",\{href:du(f),"class":"iv-promo-txt"\}):K("DIV","iv-promo-txt");var k,l,m;switch(a.annotation.style)\{case "cta":case "website":k=K("P",null,K("STRONG",null,b.text_line_1));l=K("P",null,K("SPAN","iv-promo-link",b.text_line_2));J(a.Cc,\
|
|
"iv-click-target");a.Ng(a.Cc,gx(a.annotation),a.annotation.id,a.annotation.Xa,null,c);break;case "playlist":case "video":k=K("P",null,K("SPAN",null,b.text_line_1));l=K("P",null,K("STRONG",null,b.text_line_2));b.is_live&&(k=l,l=K("SPAN",["yt-badge","iv-promo-badge-live"],M("YTP_LIVE_NOW")));J(a.Cc,"iv-click-target");a.Ng(a.Cc,gx(a.annotation),a.annotation.id,a.annotation.Xa,null,c);d.push("iv-promo-video");break;case "vote":k=K("P",null,K("STRONG",null,b.text_line_1)),l=K("P",null,K("SPAN",null,b.text_line_2)),\
|
|
m=K("DIV","iv-promo-button-container"),c=K("BUTTON",["iv-button","iv-promo-button"],K("SPAN","iv-button-content",b.button_text)),a.context.b.O(c,"click",function(a)\{a.stopPropagation();nv(this.context.logger,this.annotation.Xa,null,\{contest_vote:"1"\},(b.tracking||\{\}).vote);var c=this.annotation.data;this.Cc=sf("iv-promo-txt",this.kh);a=sf("iv-promo-button-container",this.kh);var d=K("DIV",["iv-promo-txt","iv-click-target"]),e=K("P",null,K("STRONG",null,c.text_line_3)),c=K("P",null,c.text_line_4);\
|
|
Gf(d,e,c);Jf(a);Kf(d,this.Cc);me(this.ma(),"iv-promo-with-button");this.Ng(d,gx(this.annotation),this.annotation.id,this.annotation.Xa)\},a),m.appendChild(c),d.push("iv-promo-with-button")\}k&&a.Cc.appendChild(k);\
|
|
l&&a.Cc.appendChild(l);a.kh.appendChild(a.Cc);m&&a.kh.appendChild(m);k=K("DIV","iv-promo-actions");a.g=K("BUTTON",["iv-promo-expand","ytp-button"]);a.g.title=M("YTP_EXPAND");a.context.b.O(a.g,"click",qa(a.Vl,5E3),a);k.appendChild(a.g);S(a.g,!1);a.context.b.O(a.ma(),"mouseover",a.Pz,a);a.context.b.O(a.ma(),"mouseout",a.Oz,a);a.context.b.O(a.ma(),"touchend",qa(a.Vl,5E3),a);a.o=K("BUTTON",["iv-promo-close","ytp-button"]);a.o.title=M("YTP_CLOSE");a.context.b.O(a.o,"click",a.BI,a);k.appendChild(a.o);ke(a.ma(),\
|
|
d);e&&Ff(a.ma(),e);Ff(a.ma(),a.kh);Ff(a.ma(),k)\};\
|
|
ox=function(a)\{a.A||a.D||a.b||(J(a.ma(),"iv-promo-collapsed"),a.A=!0,a.B.start())\};\
|
|
px=function(a)\{a.B.stop();a.A&&(me(a.ma(),"iv-promo-collapsed"),a.A=!1,a.Cc&&a.Cc.removeAttribute("aria-hidden"),S(a.g,!1),S(a.o,!0))\};\
|
|
qx=function(a,b)\{a.b||(a.b=de(function()\{this.b&&(ee(this.b),this.b=null);ox(this)\},b,a))\};\
|
|
rx=function(a)\{F.call(this);this.K=[];this.na=a||this\};\
|
|
sx=function(a,b,c,d)\{for(var e=0;e<c.length;e++)a.S(b,c[e],d)\};\
|
|
tx=function(a)\{for(;a.K.length;)\{var b=a.K.pop();b.target.removeEventListener(b.name,b.Gi)\}\};\
|
|
ux=function()\{return!!q("yt.scheduler.instance")\};\
|
|
vx=function(a,b)\{(0,window.isNaN)(b)&&(b=void 0);var c=q("yt.scheduler.instance.addJob");return c?c(a,1,b):void 0===b?(a(),window.NaN):Vi(a,b||0)\};\
|
|
wx=function(a)\{if(!(0,window.isNaN)(a))\{var b=q("yt.scheduler.instance.cancelJob");b?b(a):Xi(a)\}\};\
|
|
yx=function()\{var a=q("yt.scheduler.instance.start");a&&(Xi(xx),a())\};\
|
|
zx=function()\{var a=q("yt.scheduler.instance.pause");a&&(a(),Xi(xx),xx=Vi(yx,800))\};\
|
|
Bx=function(a,b,c)\{this.b=\{\};this.g=!1;this.B="ivTrigger:"+a;this.o=c;haa(b,function(a,b)\{var c=Ax(b.state,b.b);this.o.subscribe(c,x(this.A,this,c,a));this.b[c]=a\},this)\};\
|
|
Ax=function(a,b)\{var c="ivTriggerCondition:"+a;return b?c+":"+b:c\};\
|
|
Cx=function(a,b,c)\{this.o=a;this.annotation=b;this.b=c;this.g=null;this.B=this.isVisible=!1;paa(b,a)\};\
|
|
paa=function(a,b)\{naa(a,function(c)\{return new Bx(a.id,c,b)\})\};\
|
|
Dx=function(a)\{ug(a.o,"resize",a.C,a);ug(a.o,"onVideoAreaChange",a.A,a)\};\
|
|
Ex=function(a)\{a.g&&(a.g.stop(),a.g=null)\};\
|
|
Fx=function(a,b)\{this.start=a<b?a:b;this.end=a<b?b:a\};\
|
|
Gx=function()\{\};\
|
|
Hx=function(a,b,c,d,e,f,k,l)\{this.B=a;this.D=b;this.C=c;this.F=d;this.G=e;this.H=f;this.o=p(k)?k:null;this.A=p(l)?l:null\};\
|
|
Ix=function()\{this.ra=[];this.ya=[];this.Pc=[]\};\
|
|
Jx=function(a,b,c)\{0==$a(a.ra)?a.Pc.length-=2:(a.ra.push(0),a.ya.push(1));a.Pc.push(b,c);a.wc=a.Jd=[b,c]\};\
|
|
Kx=function(a,b,c,d)\{var e=a.wc[0]-b*Math.cos(d*Math.PI/180)+b*Math.cos((d+90)*Math.PI/180),f=a.wc[1]-c*Math.sin(d*Math.PI/180)+c*Math.sin((d+90)*Math.PI/180);a.ra.push(3);a.ya.push(1);a.Pc.push(b,c,d,90,e,f);a.Kh=!1;a.wc=[e,f]\};\
|
|
raa=function(a,b)\{for(var c=a.Pc,d=0,e=0,f=a.ra.length;e<f;e++)\{var k=a.ra[e],l=qaa[k]*a.ya[e];b(k,c.slice(d,d+l));d+=l\}\};\
|
|
Mx=function(a,b)\{this.o=a;this.A=null==b?1:b\};\
|
|
Nx=function(a,b,c)\{this.o=a;this.b=b;this.g=null==c?1:c\};\
|
|
Ox=function()\{\};\
|
|
Px=function(a)\{I.call(this);this.F=a||pf();this.wa=null;this.ud=!1;this.b=null;this.B=void 0;this.C=this.H=this.A=null\};\
|
|
Qx=function(a,b)\{if(a.ud)throw Error("Component already rendered");a.b||a.bj();b?b.insertBefore(a.b,null):a.F.b.body.appendChild(a.b);a.A&&!a.A.ud||a.hg()\};\
|
|
Rx=function(a,b)\{a.H&&D(a.H,b,void 0)\};\
|
|
Sx=function(a,b,c,d,e)\{Px.call(this,e);this.width=a;this.height=b;this.o=c||null;this.J=d||null\};\
|
|
saa=function(a)\{var b=a.pg();return b?b.width/(a.o?new jf(a.o,a.J):a.pg()).width:0\};\
|
|
Tx=function(a,b)\{I.call(this);this.ph=a;this.Pl=b;this[Gc]=!1\};\
|
|
Ux=function(a,b,c,d)\{Tx.call(this,a,b);this.Pl.Jt(this,c);this.fill=d;this.Pl.It(this,d)\};\
|
|
Vx=function(a,b)\{Tx.call(this,a,b)\};\
|
|
Wx=function(a,b,c,d)\{Ux.call(this,a,b,c,d)\};\
|
|
Xx=function(a,b)\{Tx.call(this,a,b)\};\
|
|
Yx=function(a,b,c,d)\{Ux.call(this,a,b,c,d)\};\
|
|
Zx=function(a,b,c,d,e)\{Sx.call(this,a,b,c,d,e);this.g=\{\};this.K=Cc&&!zc(526);this.G=new Fm(this)\};\
|
|
ay=function(a,b,c)\{a=a.F.b.createElementNS("http://www.w3.org/2000/svg",b);c&&$x(a,c);return a\};\
|
|
$x=function(a,b)\{for(var c in b)a.setAttribute(c,b[c])\};\
|
|
taa=function(a)\{var b=[];raa(a,function(a,d)\{switch(a)\{case 0:b.push("M");Array.prototype.push.apply(b,d);break;case 1:b.push("L");Array.prototype.push.apply(b,d);break;case 2:b.push("C");Array.prototype.push.apply(b,d);break;case 3:var c=d[3];b.push("A",d[0],d[1],0,180<Math.abs(c)?1:0,0<c?1:0,d[4],d[5]);break;case 4:b.push("Z")\}\});\
|
|
return b.join(" ")\};\
|
|
by=function(a,b,c)\{if(b in a.g)return a.g[b];var d="_svgdef_"+uaa++;c.setAttribute("id",d);a.g[b]=d;a.D.appendChild(c);return d\};\
|
|
dy=function()\{cy||(cy=new be(400),cy.start());return cy\};\
|
|
ey=function()\{this.b=!1;this.B=this.g=null\};\
|
|
fy=function(a,b,c)\{a.g?(a.g.setSize(b,c),a.g.clear()):(b=new Zx(b,c,void 0,void 0,void 0),a.g=b,a.g.bj(),a.B=K("DIV"),b=a.g.ma(),a.B.appendChild(b));return a.g\};\
|
|
gy=function(a,b,c)\{var d=window.document.createElementNS("http://www.w3.org/2000/svg",a);b&&Pb(b,function(a,b)\{d.setAttribute(b,a)\});\
|
|
for(var e=2;e<arguments.length;e++)d.appendChild(arguments[e]);return d\};\
|
|
hy=function(a,b)\{var c=":"+(Ox.getInstance().b++).toString(36);b.setAttribute("result",c);a.appendChild(b);return c\};\
|
|
vaa=function(a,b)\{var c=hy(a,gy("feGaussianBlur",\{"in":b,stdDeviation:"1.8"\})),c=hy(a,gy("feDiffuseLighting",\{"in":c,surfaceScale:"4",diffuseConstant:"1"\},gy("feDistantLight",\{azimuth:"270",elevation:"15","lighting-color":"white"\}))),c=hy(a,gy("feComposite",\{"in":c,in2:b,operator:"in"\}));return hy(a,gy("feComposite",\{in2:c,"in":b,operator:"arithmetic",k2:1,k3:.5,k4:0\}))\};\
|
|
waa=function(a,b)\{var c=hy(a,gy("feOffset",\{"in":b,dx:"-7",dy:"-7"\})),c=hy(a,gy("feGaussianBlur",\{"in":c,stdDeviation:"3"\})),c=hy(a,gy("feColorMatrix",\{"in":c,type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0"\})),d=hy(a,gy("feColorMatrix",\{"in":b,type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 100 0"\})),d=hy(a,gy("feGaussianBlur",\{"in":d,stdDeviation:"1"\})),c=hy(a,gy("feComposite",\{operator:"out","in":c,in2:d\}));return hy(a,gy("feComposite",\{operator:"over","in":b,in2:c\}))\};\
|
|
xaa=function(a,b)\{return b\};\
|
|
yaa=function(a)\{var b=gy("filter",\{filterUnits:"userSpaceOnUse"\}),c="SourceGraphic";D(a,function(a)\{a:\{switch(a)\{case "bevel":a=vaa;break a;case "dropshadow":a=waa;break a\}a=xaa\}c=a(b,c)\});\
|
|
return b\};\
|
|
zaa=function(a)\{a=le(a,function(a)\{return a in iy\});\
|
|
Cb(a,function(a,c)\{return iy[a]-iy[c]\});\
|
|
return a\};\
|
|
Aaa=function(a)\{return bb(a,function(a)\{return"dropshadow"==a\})?new ng(0,7,7,0):new ng(0,0,0,0)\};\
|
|
jy=function(a,b,c)\{var d=new Ix;Jx(d,a.left+b+c,a.top+c);d.Hb(a.left+a.width-b-c,a.top+c);Kx(d,b,b,-90);d.Hb(a.left+a.width-c,a.top+a.height-b-c);Kx(d,b,b,0);d.Hb(a.left+b+c,a.top+a.height-c);Kx(d,b,b,90);d.Hb(a.left+c,a.top+b+c);Kx(d,b,b,180);d.close();return d\};\
|
|
ky=function(a,b,c,d)\{var e=a.G;e?a=new Hx(e.B*b/100,e.D*c/100,e.C*b/100,e.F*c/100,e.b,e.g,e.o,e.A):(b=a.g,a=new Mx(a.bgColor,d?Math.max(b,.9):b));return a\};\
|
|
ly=function(a,b)\{var c=pg(a),d=Aaa(b);ka(d)?(c.top-=d.top,c.right+=d.right,c.bottom+=d.bottom,c.left-=d.left):(c.top-=d,c.right+=Number(void 0),c.bottom+=Number(void 0),c.left-=Number(void 0));return new og(c.left,c.top,c.right-c.left,c.bottom-c.top)\};\
|
|
my=function(a,b,c)\{if(c.length&&(b=qf("g",void 0,b),b.length))\{var d=zaa(c);if(d)\{c="effects:"+(d?d.join("|"):"");var e=c in a.g?a.g[c]:null;e?a=e:(d=yaa(d),a=0<d.childNodes.length?by(a,c,d):null)\}else a=null;a&&b[0].setAttribute("filter","url(#"+a+")")\}\};\
|
|
ny=function()\{ey.call(this);this.A=0\};\
|
|
Baa=function(a,b)\{var c=a.top-b.y,d=b.x-a.left-a.width,e=b.y-a.top-a.height,f=a.left-b.x,k=Math.max(c,d,e,f);if(0>k)return"i";switch(k)\{case c:return"t";case d:return"r";case e:return"b";case f:return"l"\}return"i"\};\
|
|
oy=function()\{ey.call(this)\};\
|
|
py=function()\{ey.call(this)\};\
|
|
qy=function()\{ny.call(this)\};\
|
|
ry=function(a,b)\{this.b=a;this.g=b||null\};\
|
|
Xw=function(a,b)\{var c;c=a.g?Yw(a.g,new ry(a.b)):a.b;var d=b.clone(),e=c.left;c=c.top;e instanceof gf?(d.left+=e.x,d.top+=e.y):(d.left+=e,ha(c)&&(d.top+=c));return d\};\
|
|
sy=function(a,b,c,d,e)\{this.b=a;this.ba=b;this.C=c;this.ca=d;this.da=e;this.M=!1;this.D=new jt(this);this.N=this.B=this.F=this.K=this.g=null;this.X=!1;this.aa=this.H=this.J=null;this.Lm=new Dm(this.Nz,100,this);this.G=new fe(this.zq,500,this);this.R=this.o=this.A=null\};\
|
|
Caa=function(a,b)\{var c=x(function(a,c,f)\{c=f?ty(this,c,x(f,this)):ty(this,c);this.D.O(b,a,c)\},a);\
|
|
c("mouseover","d",a.fv);c("mouseout","c",a.Ze);c("click","a");c("touchend","a")\};\
|
|
Daa=function(a)\{if(a.b.C)\{var b;hx(a.b,function(a)\{return"close"==a.type\})?b=a.g:(a.A=K("DIV","annotation-close-button"),S(a.A,!1),Ni(a.A,"annotation_id",a.b.id),a.g.appendChild(a.A),b=a.A);\
|
|
var c=function(a)\{a.stopPropagation()\};\
|
|
a.D.O(b,"click",ty(a,"b",c));a.D.O(b,"touchend",ty(a,"b",c))\}\};\
|
|
ty=function(a,b,c)\{return x(function(a)\{if(this.da)c&&c(a);else if(a.event.target instanceof window.Element)\{var d=a.event.target;S(d,!1);try\{var f=window.document.elementFromPoint(a.event.clientX,a.event.clientY);if($f(f,"annotation"))\{var k=window.document.createEvent("MouseEvent");k.initMouseEvent(a.event.type,a.event.bubbles,a.event.cancelable,a.event.view,a.event.detail,a.event.screenX,a.event.screenY,a.event.clientX,a.event.clientY,a.event.ctrlKey,a.event.altKey,a.event.shiftKey,a.event.metaKey,\
|
|
a.event.button,a.event.relatedTarget);f.dispatchEvent(k)\}\}finally\{S(d,!0)\}\}d=bt(a.target);a=new gf(a.clientX,a.clientY);"c"==b&&d.contains(a)||this.ca.Rb(b,this.b)\},a)\};\
|
|
Ay=function(a)\{if(a.g||a.o)\{var b=lx(a.b);if(b)\{var c=uy(a);if(a.g)\{var b=Yw(b,c),d=vy(wy(a.C));Zs(a.g,b.width,b.height);Os(a.g,b.left,b.top);a.K=new og(d.left+b.left,d.top+b.top,b.width,b.height);var e;e=(e=lx(a.b))&&d?Rw(d,e.A,e.b?e.b:"xy"):1;var f=mx(a.b,d),d=a.b.b;d.F?d=d.F:(d="speech"==a.b.style?1.6:.8,d=new ng(d,d,d,d));d=new ng(360*d.top*f/100,640*d.right*e/100,360*d.bottom*f/100,640*d.left*e/100);a.B&&(d.right+=1.5*c.b.height/100);a.g.style.padding=d.top+"px "+d.right+"px "+d.bottom+"px "+\
|
|
d.left+"px";"label"==a.b.style&&a.F&&(a.F.style.padding=a.g.style.padding);var d=c.b,k=!1,l=0,m=0,n;n=vy(wy(a.C));var t=yy(a.C);qg(n,t)?n=null:(t.top+=20,t.height-=40,"player_relative"!=a.b.D&&(t.left-=n.left,t.top-=n.top),n=t);n&&(l=n.top-(b.top+b.height),m=b.top-(n.top+n.height),k=0<l||0<m);if(k&&n)\{d=n;e=l;var f=m,u;a.B&&(m=zy(a,23,b,e,f),a.A&&(u=43-m.width,0<u&&(b.left+m.left-u>d.left&&(m.left-=u),m.width+=u)),u=m,Zs(a.B,m.width,m.height),Os(a.B,m.left,m.top));a.A&&(u?b=new gf(u.left+u.width-\
|
|
23-18,a.X?u.top+2:u.top+u.height-18-2):(u=zy(a,18,b,e,f),b=new gf(u.left,u.top),Zs(a.A,u.width,u.height)),Os(a.A,b));a.N=new og(a.K.left+u.left,a.K.top+u.top,u.width,u.height);a.J=a.D.O(wy(a.C),"mousemove",a.MD)\}else a.B&&(u=e/f*d.height*4.2/100,u=new jf(u,u),"highlight"==a.b.type||"label"==a.b.style?(e=1.5*d.height/100,u=new og(b.width-u.width-e,b.height-u.height-e,u.width,u.height)):u=new og(b.width-u.width-3*d.height/100,(b.height-u.height)/2,u.width,u.height),Zs(a.B,u.width,u.height),Os(a.B,u.left,\
|
|
u.top)),a.A&&(u=9<=d.left+d.width-(b.left+b.width),e=9<=b.top-d.top,Os(a.A,u&&e?new gf(b.width-9,-9):u?new gf(b.width-9,45<b.height?9:b.height-9):e?new gf(45<b.width?b.width-9-18:-9,-9):b.width/d.width>b.height/d.height?new gf(45<b.width?b.width-9-18:-9,b.height-9):new gf(-9,45<b.height?9:b.height-9)))\}a.o&&a.o.o(a.b,c);if(a.g)\{c=a.g;b=a.b.b;c.style.color="highlightText"==a.b.style?b.H:b.A;u=vy(wy(a.C));c.style.fontSize=360*b.textSize*mx(a.b,u)/100+"px";u=a.b.style;c.style.textAlign=b.textAlign?b.textAlign:\
|
|
"title"==u||"highlightText"==u?"center":"left";b.D&&(c.style.fontWeight=b.D);a=a.g;c=a.style.overflow;u=(b=sf("annotation-link-icon",a))?dt(b):!1;e=(d=sf("annotation-close-button",a))?dt(d):!1;u&&S(b,!1);e&&S(d,!1);m=f="";if(l=sf("inner-text",a))f=l.style.overflow,m=l.style.position,l.style.overflow="visible",l.style.position="static";a.style.overflow="scroll";if(a.scrollHeight>a.offsetHeight||a.scrollWidth>a.offsetWidth)\{n=k=it(a);for(var t=5,y=Math.floor(k/2);y;)a.scrollHeight<=a.offsetHeight&&\
|
|
a.scrollWidth<=a.offsetWidth?(t=n,n=Math.min(n+y,k)):n=Math.max(n-y,t),y=Math.floor(y/2),a.style.fontSize=n+"px";n!=t&&(a.scrollHeight>a.offsetHeight||a.scrollWidth>a.offsetWidth)&&(a.style.fontSize=t+"px")\}a.style.overflow=c;l&&(l.style.overflow=f,l.style.position=m);e&&S(d,!0);u&&S(b,!0)\}\}\}\};\
|
|
zy=function(a,b,c,d,e)\{var f=0<e;b=new og(0,c.height-b,Math.max(c.width,b),b);0<d&&(b.top=c.height,20<d&&(b.height+=d-20),J(a.g,"annotation-extend-down"));f&&(b.top=-b.height,20<e&&(c=e-20,b.top-=c,b.height+=c),J(a.g,"annotation-extend-up"),a.X=!0);return b\};\
|
|
By=function(a)\{return"label"!=a.b.style||a.o.b\};\
|
|
uy=function(a)\{var b;b=vy(wy(a.C));if("player_relative"==a.b.D)\{var c=wy(a.C).Ja();b=new og(-b.left,-b.top,c.width,c.height)\}else b=new og(0,0,b.width,b.height);return new ry(b,a.R?lx(a.R):null)\};\
|
|
Cy=function(a,b)\{return b?new og(a.x+b.left,a.y+b.top,b.width,b.height):null\};\
|
|
Dy=function(a)\{gq.call(this,a);this.ca=!0;this.Ma="iv-module";this.logEvent="iv";this.J=0;this.o=\{\};this.K=\{\};this.G=new hv(a);a=Eaa;this.B=new rx(this);H(this,this.B);this.subscribe("onHideControls",this.rD,this);this.subscribe("onShowControls",this.SE,this);this.subscribe("presentingplayerstatechange",this.oE,this);this.subscribe("resize",this.Bs,this);this.subscribe("d",this.mI,this);this.subscribe("c",this.Ze,this);this.subscribe("a",this.dC,this);this.subscribe("b",this.FC,this);this.subscribe("vast_info_card_add",\
|
|
this.rF,this);this.R=K("DIV",[a.lx,"html5-stop-propagation"]);this.ba=K("DIV",a.Kw);this.H=this.g=this.A=this.C=null;this.N=[]\};\
|
|
Ey=function(a,b)\{for(var c=\{\},d=0;d<b.attributes.length;d++)\{var e=b.attributes[d];c[e.name]=e.nodeValue\}for(d=0;d<b.childNodes.length;d++)if(e=b.childNodes[d],e.tagName)\{var f;if(c[e.tagName])f=c[e.tagName];else if("html_blob"==e.tagName||"data"==e.tagName)\{R(a.b).experiments.Z("text_content_for_xml_node_value")&&e.textContent?c[e.tagName]=e.textContent.trim():0<e.childNodes.length&&(f=e.childNodes[0].nodeValue,c[e.tagName]="string"==typeof f?f.trim():f);continue\}else f=[],c[e.tagName]=f;e&&"TEXT"==\
|
|
e.tagName?1==e.childNodes.length&&3==e.childNodes[0].nodeType?f.push(e.childNodes[0].nodeValue):f.push(""):e&&f.push(Ey(a,e))\}return c\};\
|
|
Fy=function(a,b,c)\{return!(a.loaded&&a.J==b&&a.b.getVideoData().videoId==c)\};\
|
|
Gaa=function(a,b)\{var c=Faa(a,b);if(!c&&"marker"!=b.type)return null;jx(b,function(a)\{a=x(this.nF,this,b.id,a);this.subscribe("ivTrigger:"+b.id,a)\},a);\
|
|
return new Cx(a.da,b,c)\};\
|
|
Haa=function(a,b)\{var c=Dy.g(),d=null;switch(b.type)\{case "branding":if(R(a.b).Fd)break;a.C.element.appendChild(c);d=new Iw(c,Gy(a),b);break;case "promotion":mw(a.b,c,4),d=new nx(c,Gy(a),b)\}d&&d.Nj();return d\};\
|
|
Iaa=function(a)\{var b=a.b.getVideoData();if(b.$f)\{var c=R(a.b),d=c.G.get(b.videoId);if(d)\{var e=\{format:"XML",Dc:\{\}\};c.experiments.Z("disable_iv_cors")||(e.method="POST",e.withCredentials=!0);"gaming"==c.g&&(e.Dc.gaming="1");e.Bc=x(function(a,b,c)\{Fy(this,a,b)||(a=Yj(c)&&c.responseXML?c.responseXML:null)&&Hy(this,a)\},a,a.J,b.videoId);\
|
|
ux()&&(e.Bc=Iy(a,e.Bc));e.Ib=\{ic_only:"1"\};Jy(e,d);dk(b.$f,e)\}\}\};\
|
|
Jy=function(a,b)\{a.method="POST";a.Ib=a.Ib||\{\};b.uf&&(a.Ib.ic_xml=b.uf);b.Qg&&(a.Ib.ic_track=b.Qg)\};\
|
|
Jaa=function(a)\{var b=new P(["div"]);S(b.element,!1);var c=new kw(a.b,b.element,Gy(a));b.Ba(a.C.element);c.Nj();return c\};\
|
|
Gy=function(a)\{a.H||(a.H=new Jw(new jt(a),R(a.b),a.b.getVideoData(),a.G,a.b,a.da));return a.H\};\
|
|
Hy=function(a,b)\{for(var c=!1,d=b.getElementsByTagName("annotation"),e=0;e<d.length;e++)\{var f=Ey(a,d[e]),k=null;try\{k=kaa(f)\}catch(l)\{\}k&&(Dy.A(k)?(f=Haa(a,k))&&(a.K[k.id]=f):Dy.B(k)?(a.g||(a.g=Jaa(a)),"card"==k.type?tw(a.g,k):uw(a.g,k),c=!0):(f=Gaa(a,k))&&(a.o[k.id]=f))\}c&&ww(a.b);Pb(a.o,function(a)\{var b=a.annotation;b.g&&b.g.g&&(b=this.o[b.g.g])&&(a.b.R=b.annotation)\},a)\};\
|
|
Kaa=function(a,b,c,d)\{d?Ky(a,b,c):Ly(a,b,c)\};\
|
|
Ly=function(a,b,c)\{if(b=a.o[b])Ex(b),c&&c.g?(a=x(a.yq,a,b),b.g=new fe(a,2E3),b.g.start()):a.yq(b)\};\
|
|
Ky=function(a,b,c)\{if(b=a.o[b])Ex(b),c&&c.A?(a=x(a.Tt,a,b),b.g=new fe(a,2E3),b.g.start()):a.Tt(b)\};\
|
|
My=function(a,b,c)\{if("new"==b.target)return!1;var d=du(b);if(!d)return!1;d=d.replace(/https?:\\/\\//g,"");if(!fu(d))return!1;d=Sj(d);if(d.list||d.p)return!1;b=hu(b);if(!b)return!1;if(c==b)return!0;a=R(a.b);return a.D&&a.Ha?!0:!1\};\
|
|
Faa=function(a,b)\{if(Laa(b))\{var c=b.C||hx(b,function(a)\{return"click"==a||"rollOut"==a||"rollOut"==a\});\
|
|
return new sy(b,x(a.R.appendChild,a.R),a.b,a.da,c)\}return null\};\
|
|
Laa=function(a)\{if("highlight"==a.type||"widget"==a.type)return!0;if("text"==a.type)for(var b in fx)if(a.style==fx[b])return!0;return!1\};\
|
|
Ny=function(a,b,c,d)\{a.Y(Ax(b,d),c,d)\};\
|
|
Iy=function(a,b)\{return x(function()\{if(!this.isDisposed())\{var a=Array.prototype.slice.call(arguments,0);a.unshift(b);b=qa.apply(window,a);this.N.push(vx(b,void 0))\}\},a)\};\
|
|
Oy=function(a)\{return!!a.g&&a.g.isAvailable()\};\
|
|
Py=function(a)\{Oy(a);return!!a.g&&a.g.A\};\
|
|
Qy=function(a,b,c,d)\{Oy(a);a.g&&(c=!!c,b?p(d)?xw(a.g,d,c):xw(a.g,"YOUTUBE_DRAWER_AUTO_OPEN",c):a.g.Ki())\};\
|
|
Ry=function(a,b,c)\{a.b.Va(b?"cardsteasershow":"cardsteaserhide",c)\};\
|
|
Sy=function()\{aj(\{YTP_TRANSLATE_MENU_ITEM:"Traduci sottotitoli",YTP_CONTRIBUTE_MENU_ITEM:"Aggiungi sottotitoli",YTP_ASR_SETTINGS_LABEL:"Sottotitoli automatici",YTP_LANGUAGE_OFF:"Disattivati",YTP_FONT_FAMILY:"Famiglia di caratteri",YTP_FONT_SIZE:"Dimensione carattere",YTP_FONT_COLOR:"Colore carattere",YTP_FONT_OPACITY:"Opacit\\u00e0 carattere",YTP_BACKGROUND_COLOR:"Colore sfondo",YTP_BACKGROUND_OPACITY:"Opacit\\u00e0 dello sfondo",YTP_WINDOW_COLOR:"Colore finestra",YTP_WINDOW_OPACITY:"Opacit\\u00e0 della finestra",\
|
|
YTP_COLOR_WHITE:"Bianco",YTP_COLOR_YELLOW:"Giallo",YTP_COLOR_GREEN:"Verde",YTP_COLOR_CYAN:"Ciano",YTP_COLOR_BLUE:"Blu",YTP_COLOR_MAGENTA:"Magenta",YTP_COLOR_RED:"Rosso",YTP_COLOR_BLACK:"Nero",YTP_FONT_FAMILY_MONO_SERIF:"Serif a spaziatura fissa",YTP_FONT_FAMILY_PROP_SERIF:"Serif proporzionale",YTP_FONT_FAMILY_MONO_SANS:"Sans serif a spaziatura fissa",YTP_FONT_FAMILY_PROP_SANS:"Sans serif proporzionale",YTP_FONT_FAMILY_CASUAL:"Informale",YTP_FONT_FAMILY_CURSIVE:"Corsivo",YTP_FONT_FAMILY_SMALL_CAPS:"Maiuscoletto",\
|
|
YTP_CHAR_EDGE_STYLE:"Stile bordo carattere",YTP_EDGE_STYLE_NONE:"Nessuno",YTP_EDGE_STYLE_RAISED:"In rilievo",YTP_EDGE_STYLE_DEPRESSED:"Incassato",YTP_EDGE_STYLE_OUTLINE:"Delineato",YTP_EDGE_STYLE_DROP_SHADOW:"Ombra",YTP_CLICK_FOR_SETTINGS:"Fare clic su $GEAR_ICON per le impostazioni"\})\};\
|
|
Uy=function(a)\{a=a.split("");Ty.UA(a,3);Ty.SZ(a,2);Ty.UA(a,2);Ty.SZ(a,46);Ty.UA(a,1);Ty.SZ(a,31);Ty.SZ(a,27);return a.join("")\};\
|
|
Vy=function(a,b,c)\{this.g=a||0;this.b=b||0;this.o=c\};\
|
|
Xy=function(a,b,c)\{return new Vy(Wy[a]||0,Wy[b]||0,c)\};\
|
|
Yy=function(a)\{var b=Wy.auto;return a.g==b&&a.b==b\};\
|
|
$y=function(a,b)\{if(b.o&&Yy(b))return Zy;if(b.o||Yy(a))return b;if(a.o||Yy(b))return a;var c=a.g&&b.g?Math.max(a.g,b.g):a.g||b.g,d=a.b&&b.b?Math.min(a.b,b.b):a.b||b.b,c=Math.min(c,d);return c==a.g&&d==a.b?a:new Vy(c,d,!1)\};\
|
|
az=function(a)\{var b=a.b||a.g;return bc(Maa,function(a)\{return Wy[a]==b\})||"auto"\};\
|
|
bz=function()\{sk.call(this);this.b=\{\}\};\
|
|
cz=function(a,b,c)\{if(!a.b[b]&&(c.uf||c.Qg))\{var d=a.b,e=c;Object.isFrozen&&!Object.isFrozen(c)&&(e=Object.create(c),Object.freeze(e));d[b]=e;a.Y("vast_info_card_add",b)\}\};\
|
|
hz=function(a,b)\{var c;(c=a.adformat)||(c=(c=a.attrib)&&$b(dz,c)&&$b(ez,c)?ez[c]+"_"+dz[c]:void 0);if(!c)return null;var d=c.match(fz);if(!d||5!=d.length)return null;d=gz(c);return b.D||b.Qa||d?c:null\};\
|
|
gz=function(a)\{a=a.match(fz);var b=a[3];return!(1==a[1]&&8==b)&&(7==b||8==b||10==b)\};\
|
|
iz=function()\{var a=q("yt.player.utils.videoElement_");a||(a=window.document.createElement("video"),g.ba("yt.player.utils.videoElement_",a,void 0));return a\};\
|
|
jz=function(a)\{var b=iz();try\{if(b.canPlayType)\{a=a?Naa:Oaa;for(var c=0;c<a.length;c++)if(b.canPlayType(a[c]))return null\}return"fmt.noneavailable"\}catch(d)\{return"html5.missingapi"\}\};\
|
|
kz=function(a)\{a=K("DIV",\{"class":a\});window.document.body.appendChild(a);var b="none"==Ls(a,"display");Jf(a);return b\};\
|
|
lz=function(a,b)\{return void 0==b?a:"1"==b?!0:!1\};\
|
|
mz=function(a,b,c)\{for(var d in c)if(c[d]==b)return c[d];return a\};\
|
|
nz=function(a,b)\{return void 0==b?a:Number(b)\};\
|
|
oz=function(a,b)\{return void 0==b?a:b.toString()\};\
|
|
pz=function(a)\{if(a&&(a=a.match(Paa)))\{var b=(0,window.parseFloat)(a[2]);if(0<b)return(0,window.parseFloat)(a[1])/b\}return window.NaN\};\
|
|
qz=function(a,b)\{var c=Wy.auto,d=Wy[b];return d>Wy.medium?new Vy(d,c,!1):d>=c?new Vy(c,d,!1):a\};\
|
|
rz=function(a)\{return a.docid||a.video_id||a.videoId||a.id\};\
|
|
sz=function(a,b)\{this.g=a;this.b=b\};\
|
|
xz=function()\{try\{var a=q("yt.www.ads.biscotti.getId_"),b;if(a)b=a();else\{if(!tz)\{var c=x(uz,aa,2);tz=vu("//googleads.g.doubleclick.net/pagead/id",vz).then(wz,c)\}b=tz\}return b\}catch(d)\{return Id(d)\}\};\
|
|
wz=function(a)\{a=a.responseText;if(!ta(a,")]\}'"))return yz(""),tz=new sz(""),"";a=JSON.parse(a.substr(4)).id;yz(a);tz=new sz(a);zz(18E5,2);return a\};\
|
|
uz=function(a)\{var b=Error("Unable to load /pagead/id");yz("");tz=new sz(void 0,b);0<a&&zz(12E4,a-1);throw b;\};\
|
|
zz=function(a,b)\{Vi(function()\{var a=x(uz,aa,b);Sd(vu("//googleads.g.doubleclick.net/pagead/id",vz).then(wz,a),r)\},a)\};\
|
|
yz=function(a)\{g.ba("yt.www.ads.biscotti.lastId_",a,void 0)\};\
|
|
Bz=function(a,b)\{this.experimentIds=a?a.split(","):[];this.flags=Oj(b||"","&");var c=\{\};D(this.experimentIds,function(a)\{c[a]=!0\});\
|
|
this.experiments=c;this.A=!!c["9405409"];this.B=!!c["9416855"];this.o=!!c["9406692"];this.g=!!c["9406693"]||!!c["9417210"]&&Az&&zc(8);this.Ly=!0;this.enableAudioCast=!!c["9408394"];this.D=!!c["9414740"];this.C=!!c["9407182"]\};\
|
|
Cz=function(a)\{this.languageCode=a.languageCode;this.languageName=a.languageName||null;this.b=a.languageOriginal||null;this.id=a.id||null;this.isDefault=a.is_default||!1\};\
|
|
Dz=function(a)\{a=a||\{\};this.J=a.formats||"";this.A=a.format||1;if(1==this.A)for(var b=this.J.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.g=a.languageCode||"";this.C=a.languageName;this.o=a.kind||"";this.B=a.name;this.wa=a.id;this.K=a.is_servable;this.isDefault=a.is_default;this.F=a.is_translateable;this.G=a.url||null;this.D=a.vss_id||"";this.b=null;a.translationLanguage&&(this.b=new Cz(a.translationLanguage))\};\
|
|
Fz=function(a)\{var b=\{format:a.A,languageCode:a.g,languageName:a.C,displayName:Ez(a),kind:a.o,name:a.B,id:a.wa,is_servable:a.K,is_default:a.isDefault,is_translateable:a.F,vss_id:a.D\};a.b&&(a=a.b,b.translationLanguage=\{languageCode:a.languageCode,languageName:a.languageName,languageOriginal:a.b,id:a.id,is_default:a.isDefault\});return b\};\
|
|
Ez=function(a)\{var b=a.C||"",c=[b];"asr"==a.o&&-1==b.indexOf("(")&&c.push(" (",M("YTP_ASR_SETTINGS_LABEL"),")");a.B&&c.push(" - ",a.B);a.b&&c.push(" >> ",a.b.languageName);return c.join("")\};\
|
|
Qaa=function(a,b)\{var c=new Dz;c.g=a.g;c.C=a.C;c.B=a.B;c.o=a.o;c.isDefault=!1;c.F=a.F;c.D=a.D;c.G=a.G;c.b=b;return c\};\
|
|
Gz=function(a,b)\{this.id=a;this.Vb=b;this.captionTracks=[];this.Ri=this.rl=null;this.xp=0\};\
|
|
Hz=function(a,b,c)\{this.videoInfos=a;this.b=b||null;this.audioTracks=[];this.g=c||null;if(this.b)\{var d=\{\};D(this.b,x(function(a)\{if(a.Vb&&!d[a.id])\{var b=new Gz(a.id,a.Vb);d[a.id]=b;this.audioTracks.push(b)\}\},this))\}\};\
|
|
Iz=function(a)\{return(a=a.exec(sc))?a[1]:""\};\
|
|
Jz=function(a)\{return 0<=Ra(Raa,a)\};\
|
|
Kz=function()\{\};\
|
|
Lz=function()\{this.buffered=new Kz\};\
|
|
Mz=function(a,b)\{this.A=a;this.b=!!b;this.o=!1;this.g=\{\}\};\
|
|
Nz=function(a)\{return a.b?a.A:Vg(a.A,a.g)\};\
|
|
Oz=function(a,b)\{return null!=b&&Nz(b)==Nz(a)\};\
|
|
Pz=function(a,b)\{this.g=a;this.o=b;this.A=0;Object.defineProperty(this,"timestampOffset",\{get:this.TG,set:this.XG\});Object.defineProperty(this,"buffered",\{get:this.RG\})\};\
|
|
Saa=function()\{this.length=0\};\
|
|
Qz=function(a)\{this.activeSourceBuffers=this.sourceBuffers=[];this.b=a;this.g=window.NaN;this.o=0;Object.defineProperty(this,"duration",\{get:this.SG,set:this.WG\});Object.defineProperty(this,"readyState",\{get:this.UG\});this.b.addEventListener("webkitsourceclose",x(this.VG,this),!0)\};\
|
|
Rz=function(a,b,c,d,e)\{rx.call(this);this.g=this.b=null;this.A=b;this.o=window.MediaSource?new window.MediaSource:window.WebKitMediaSource?new window.WebKitMediaSource:new Qz(a);this.C=this.B=this.D=null;this.F=d;this.J=c;this.M=e;sx(this,this.o,["sourceopen","webkitsourceopen"],this.H);sx(this,this.o,["sourceclose","webkitsourceclose"],this.G)\};\
|
|
Taa=function(a,b)\{a.B=b\};\
|
|
Uaa=function(a,b)\{a.C=b\};\
|
|
Vaa=function(a)\{if(!a.D)\{var b;b=a.o;b=b.kJ?b.b.webkitMediaSourceURL:window.URL.createObjectURL(b);a.D=new Mz(b,!0)\}return a.D\};\
|
|
Tz=function(a,b)\{Sz(a)?a.o.duration=b:a.A=b\};\
|
|
Sz=function(a)\{try\{return"open"==a.o.readyState\}catch(b)\{return!1\}\};\
|
|
Uz=function(a)\{try\{return"closed"==a.o.readyState\}catch(b)\{return!0\}\};\
|
|
Vz=function(a)\{return a.b.updating||a.g.updating\};\
|
|
Wz=function()\{return!(!window.MediaSource||!window.MediaSource.isTypeSupported)\};\
|
|
Xz=function(a)\{return a.b?!!a.b.appendBuffer:Wz()\};\
|
|
Yz=function(a)\{if(/opus/.test(a)&&(em&&!Jz("38")||Sp()))return!1;if(window.MediaSource&&window.MediaSource.isTypeSupported)return window.MediaSource.isTypeSupported(a);if(/webm/.test(a)&&!Qp())return!1;'audio/mp4; codecs="mp4a.40.2"'==a&&(a='video/mp4; codecs="avc1.4d401f"');return!!iz().canPlayType(a)\};\
|
|
Zz=function(a)\{this.Tc=a\};\
|
|
Waa=function(a,b,c)\{this.A=a;this.g=b;this.B=c;this.o=\{\};this.b=window.cast&&window.cast.__platform__&&window.cast.__platform__.queryPlatformValue&&window.cast.__platform__.queryPlatformValue("max-video-resolution-vpx")||null\};\
|
|
cA=function(a,b)\{if(2.2!=$z&&jz(a.g))return[];for(var c=\{\},d=iz(),e=0;e<b.length;e++)\{var f=b[e];if(Fu(f.Tc)in Xaa||"5"==Fu(f.Tc)?0:aA(d,f.Tc.mimeType))\{var k=f.Tc.video.quality;c[k]&&2!=c[k].Tc.g||(c[k]=f)\}\}var l=[];c.auto&&l.push(c.auto);D(bA,function(a)\{(f=c[a])&&l.push(f)\});\
|
|
return l\};\
|
|
aA=function(a,b)\{var c=a.canPlayType(b);dA?c=c||Yaa[b]:2.2==$z?c=c||Zaa[b]:Np()&&(c=c||$aa[b]);return!!c\};\
|
|
fA=function()\{return!(!aA(iz(),"application/x-mpegURL")&&!eA())\};\
|
|
eA=function()\{var a=Np()&&!Jz(29),b=Mp("google tv")&&Mp("chrome")&&!Jz(30);return a||b?!1:!!(window.MediaSource||window.WebKitMediaSource||window.HTMLMediaElement&&window.HTMLMediaElement.prototype.webkitSourceAddId)\};\
|
|
oA=function(a,b)\{var c=\{\},d;for(d in b.b)\{var e=b.b[d],f;if(f="304"!=Fu(e.info)||b.o)a:\{f=a;var k=e.info;if("0"!=Fu(k)||f.g)\{var l=k.mimeType,m=\{\};k.video&&(k.video.width&&(m[gA.name]=k.video.width),k.video.height&&(m[hA.name]=k.video.height),k.video.fps&&(m[iA.name]=k.video.fps),k.video.b&&(m[jA.name]=k.video.b),k.b&&(m[kA.name]=8*k.b));k.audio&&k.audio.b&&(m[lA.name]=k.audio.b);k=m;m=void 0;for(m in mA)\{var n=mA[m];if(k[n.name]&&nA(f,n))if(f.b)\{if(f.b[n.name]<k[n.name])\{f=!1;break a\}\}else l=l+"; "+\
|
|
n.name+"="+k[n.name]\}f=Yz(l)\}else f=!0\}f&&(c[e.info.o]=c[e.info.o]||[],c[e.info.o].push(e.info))\}return c\};\
|
|
aba=function(a,b,c)\{var d=\{\},e;Pb(b,function(a,b)\{var f=a.filter(function(a)\{return a.lf?c&&a.lf[c.b]&&c.A[a.mimeType]?"261"==Fu(a)?(e||(e=iz()),!1):!0:!1:!0\},this);\
|
|
f.length&&(d[b]=f)\},a);\
|
|
return d\};\
|
|
wA=function(a,b,c,d,e)\{function f(a)\{return!!k[a]\}\
|
|
var k=oA(a,b);pA(b)&&(k=aba(a,k,c));var l=bba;a.g?!Mp("windows nt 5.1")||qA&&!a.A.Z("html5_prefer_h264_on_xp")||(l=rA):l=cba;c=dba;d&&(a.g&&(l=rA),c=eba);a.A.Z("html5_enable_aac_51_clear")&&(Pp()||Qp()||nA(a,lA))&&(c=fba);(sA(b)||tA(b))&&e&&(c=gba.concat(c));b=bb(l,f);d=bb(c,f);if(!b||!d)return null;"9"==b&&k.h&&(e=function(a,b)\{return Math.max(a,b.video.height)\},c=df(k["9"],e,0),df(k.h,e,0)>1.5*c&&(b="h"));\
|
|
e=k[b];c=k[d];e=uA(a,e);vA(e,c);return new Hz(e,c,hba(a,k,b,d))\};\
|
|
hba=function(a,b,c,d)\{var e=b.h;b=b.a;return e&&b&&("h"!=c||"a"!=d)?(e=uA(a,e),vA(e,b),new Hz(e,b)):null\};\
|
|
vA=function(a,b)\{Cb(a,function(a,b)\{return b.video.width-a.video.width||b.b-a.b\});\
|
|
Cb(b,function(a,b)\{return b.b-a.b\})\};\
|
|
uA=function(a,b)\{var c=Uh(b,function(a)\{return 32<a.video.fps\});\
|
|
c&&(b=a.B||nA(a,iA)?le(b,function(a)\{var b;(b=32<a.video.fps)||(a=a.video,b=!(854<a.width||480<a.height));return b\}):le(b,function(a)\{return!(32<a.video.fps)\}));\
|
|
c&&Pp()&&(b=le(b,function(a)\{return"299"!=Fu(a)\}));\
|
|
return b\};\
|
|
nA=function(a,b)\{if(!(b.name in a.o))\{var c=a.o,d=b.name,e;a.b?e=!!a.b[b.name]:(b.video?(e='video/webm; codecs="vp9"',Yz(e)||(e='video/mp4; codecs="avc1.4d401e"')):(e='audio/webm; codecs="opus"',Yz(e)||(e='audio/mp4; codecs="mp4a.40.2"')),e=Yz(e+"; "+b.name+"="+b.valid)&&!Yz(e+"; "+b.name+"="+b.Ag));c[d]=e\}return a.o[b.name]\};\
|
|
IA=function(a)\{F.call(this);a=hc(a);this.b="detailpage";this.Hm=this.Sa=this.M=!1;this.J=\{\};this.experiments=new Bz(a.fexp,a.fflags);this.forcedExperiments=a.forced_experiments||null;var b;try\{b=window.document.location.toString()\}catch(e)\{b=""\}this.Ia=b;this.H=(this.D=iba.test(this.Ia))?oz("",a.loaderUrl):this.Ia;this.Qa=Jp(this.H);this.X=(this.eh=(this.Ec=lz(!1,a.ssl_stream))||lz(!1,a.ssl))?"https":"http";this.baseYtUrl=Gp(a.BASE_YT_URL)||Gp(this.Ia)||this.X+"://www.youtube.com/";"adunit"==a.el?\
|
|
xA.test(this.H)?this.b="adunit":this.b="embedded":"embedded"==a.el||this.Qa?this.b=mz(this.b,a.el,jba):a.el&&(this.b="embedded");jr();b=null;var c=a.ps,d=ib(yA,c);!c||d&&!this.Qa||(b=c);this.g=b;this.F=(this.Ub=ib(yA,this.g))&&"play"!=this.g;this.bc=!this.F;this.o=\{\};this.o.c=a.c||"web";this.o.cver=a.cver||"html5";this.o.cplayer="UNIPLAYER";this.ea=!(!iz().defaultPlaybackRate||Dc&&!Mp("chrome")||zA||AA||Mp("android")||Mp("silk"));this.isMobile=lz("blazer"==this.g,a.is_html5_mobile_device);this.useMediaVolume=\
|
|
"3"==this.A||this.isMobile||lz(!1,a.use_media_volume);if(b=!this.useMediaVolume)b=iz(),c=b.muted,b.muted=!c,b=b.muted!=c;this.aa=b;this.Le=BA;this.Za=lz("adunit"!=this.b&&"detailpage"!=this.b&&!this.Ub,a.showinfo);this.qc=lz(!1,a.playsinline);b=this.isMobile&&CA&&2.3>=$z;c=DA(this)||!b&&lz("native"==this.g,a.use_native_controls)?"3":"1";this.A="0"!=a.controls?c:"0";this.useTabletControls=this.isMobile;this.color=mz("red",a.color,kba);this.He="3"==this.A||lz(!1,a.modestbranding)&&"red"==this.color;\
|
|
lz(!1,a.nologo)&&(c=this.H,lba.test(c),Jp(c));this.da=0==this.H.indexOf(this.baseYtUrl);this.gd=(c=!this.da&&"detailpage"!=this.b&&!this.F&&!this.Ub)&&!this.He&&"1"==this.A;this.Fd="embedded"==this.b&&c&&!this.Za&&!this.gd;this.rf=this.Ie=b;this.R=AA?!1:!0;this.Ee=this.D||!1;this.ga="detailpage"==this.b?"":(this.H||a.post_message_origin||"").substring(0,128);this.widgetReferrer=oz("",a.widget_referrer);b=this.experiments.Z("legacy_cast2")||lz(!0,a.enablecastapi)||!this.Qa;this.B=!a.disableCast&&b&&\
|
|
"1"==this.A&&!this.isMobile&&("detailpage"==this.b||"embedded"==this.b||"profilepage"==this.b);this.Db=(this.ba=lz(!1,a.autoplay))||"detailpage"==this.b;this.tb=!this.isMobile&&!Tp()&&!Mp("nintendo 3ds")||lz(!1,a.autoplayoverride);b=("detailpage"==this.b||"adunit"==this.b)&&("blazer"==this.g||"mweb-polymer"==this.g);this.Oa=!lz(!0,a.fs);this.Aa=!this.Oa&&(b||Yh());this.Ed=lz(!this.Ub,a.rel);this.Oe="adunit"!=this.b;this.ha="profilepage"==this.b;this.Ya="blazer"==this.g||"mweb-polymer"==this.g;switch(this.g)\{case "blogger":b=\
|
|
"bl";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.ia=b;this.Ob=oz("",a.authuser);this.qf=!!this.Ob&&lz(!this.F,a.showwatchlater);this.Tb=lz(!1,a.disablekb);this.experiments.Z("mweb_autonav")&&EA();this.pageId=oz("",a.pageid);this.Je=qz(Zy,a.vq);this.Ke=oz("",a.playerapiid);this.Ne=lz(!0,a.canplaylive);this.De=lz(this.Ub,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 jf(b,c))):b=null;this.Hd=b;this.mute=this.Qa&&lz(!1,a.mute);this.storeUserVolume=!this.mute&&lz("0"!=this.A,a.store_user_volume);this.Me=lz(!1,a.retryneterr)&&this.Qa;this.ce="3"==this.A?3:mz(void 0,a.iv_load_policy,FA);this.Ha=lz(!1,a.iv_allow_in_place_switch);this.ub=oz("",a.cc_lang_pref);this.la=mz(void 0,a.cc_load_policy,FA);this.ua=void 0==a.content_v?void 0:a.content_v.toString();\
|
|
this.Fe=void 0==a.framer?void 0:a.framer.toString();this.qa=oz("en_US",a.hl);this.region=oz("US",a.cr);this.hostLanguage=oz("en",a.host_language);this.dc=lz(!1,a.privembed);this.oc="";this.Na=new Bk;this.C=lz(!0,a.deviceHasDisplay);this.xb=nz(this.xb,a.ismb);GA(this,a);this.J=a;this.G=new bz;this.N=this.isMobile;b=a;b.innertube_api_key&&b.innertube_api_version&&this.o.c&&b.innertube_context_client_version&&this.hostLanguage&&this.region||this.experiments.Z("disable_innertube_config_reporting")||Zi(Error("MISSING_INNERTUBE_CONFIG,api_key="+\
|
|
b.innertube_api_key+",api_version="+b.innertube_api_version+",interface="+this.o.c+",context_client_version="+b.innertube_context_client_version+",host_language="+this.hostLanguage+",region="+this.region));this.Ge=\{apiaryHost:oz("",b.apiary_host),lp:oz("",b.apiary_host_firstparty),gapiHintOverride:lz(!1,b.gapi_hint_override),gapiHintParams:oz("",b.gapi_hint_params),innertubeApiKey:oz("",b.innertube_api_key),innertubeApiVersion:oz("",b.innertube_api_version),Bm:this.o.c,innertubeContextClientVersion:oz("",\
|
|
b.innertube_context_client_version),Em:this.hostLanguage,Cm:this.region\};this.fd=void 0!=window.WebKitPlaybackTargetAvailabilityEvent;this.K=new Waa(this.experiments,this.C,HA(this)||Pp()||Qp());this.enableSafetyMode=lz(!1,a.enable_safety_mode);this.Cb="detailpage"==this.b&&"blazer"!=this.g&&"mweb-polymer"!=this.g;this.na=lz(!1,a.send_visitor_id_header)||this.experiments.D\};\
|
|
JA=function(a,b)\{a.Sb=b.get("d",a.Sb);a.cb=b.get("f",a.cb)\};\
|
|
GA=function(a,b)\{var c=hz(b,a);c&&(a.J.adformat=b.adformat,gz(c)||(a.b="adunit"));if(c=b.video_id&&b.video_id!=a.oc)a.oc=b.video_id;(b.adpings||c)&&b.adpings&&Qj(b.adpings);var d;a.bc?(d=b.videostats_playback_base_url&&b.videostats_playback_base_url.split("/")[2]||"s.youtube.com",a.experiments.C&&"s.youtube.com"==d&&(d="www.youtube.com")):d="video.google.com";a.be=d;a.Gd="//"+a.be+"/api/stats/qoe";if(b.feature||c)d=b.feature,a.de=d,a.J.feature=d;if(b.referrer||c)d=b.referrer,a.referrer=d,a.J.referrer=\
|
|
d;if(b.q||c)a.searchQuery=b.q;for(var e in KA)c=KA[e],d=b[c],void 0!=d&&(a.o[c]=d);!a.Ca&&b.cl&&(a.Ca=+b.cl);a.userAge=nz(a.userAge,b.user_age);a.userDisplayImage=oz(a.userDisplayImage,b.user_display_image);LA.test(a.userDisplayImage)||(a.userDisplayImage="");a.userDisplayName=oz(a.userDisplayName,b.user_display_name);a.userGender=oz(a.userGender,b.user_gender);a.ca=oz(a.ca,b.eventid);a.ca&&(dr=a.ca);a.csiPageType=oz(a.csiPageType,b.csi_page_type);a.Ga=oz(a.Ga,b.csi_service_name);a.Ya=lz(a.Ya,b.enablecsi);\
|
|
b.enabled_engage_types&&(a.Na=new Bk(b.enabled_engage_types.split(",")));a.Ha=lz(a.Ha,b.iv_allow_in_place_switch)\};\
|
|
Ou=function(a,b,c)\{return b.J&&(a.experiments.Z("legacy_autoplay_flag")||"detailpage"!=a.b||c||b.Ec)\};\
|
|
MA=function(a,b,c)\{b=\{video_id:b,html5:1,page_subscribe:c?1:0\};a.Ob&&(b.authuser=a.Ob);a.pageId&&(b.pageid=a.pageId);return Vg(a.baseYtUrl+"get_video_metadata",b)\};\
|
|
NA=function(a)\{var b=Mg(a.baseYtUrl);(a=Ng(a.baseYtUrl))&&(b+=":"+a);return"www.youtube-nocookie.com"==b?"www.youtube.com":b\};\
|
|
OA=function(a)\{return"gaming"==a.g?"gaming.youtube.com":NA(a)\};\
|
|
PA=function(a,b,c)\{return a.X+"://i1.ytimg.com/vi/"+b+"/"+(c||"hqdefault.jpg")\};\
|
|
zr=function(a)\{return"detailpage"==a.b&&"gaming"!=a.g\};\
|
|
DA=function(a)\{return AA&&!a.qc||Tp()||Mp("nintendo 3ds")?!0:!1\};\
|
|
QA=function(a)\{return Sp()||"TV"==a.o.cplatform\};\
|
|
RA=function()\{return 1<window.devicePixelRatio?window.devicePixelRatio:1\};\
|
|
HA=function(a)\{return"web"==a.o.c.toLowerCase().substr(0,3)\};\
|
|
EA=function()\{q("yt.mobile.blazer.blazer_config.isMobilePersistentUniplayer");return!1\};\
|
|
TA=function(a)\{return a.C&&em&&!SA&&!dA\};\
|
|
VA=function(a)\{return TA(a)||a.C&&qA&&!SA&&zc(38)||a.C&&Dc&&!SA&&zc(27)||a.C&&UA&&!Up()&&zc(11)\};\
|
|
mba=function(a)\{return!a.experiments.Z("html5_stream_ambisonic_audio")||!VA(a)||qA&&!zc(47)?!1:window.AudioContext||window.webkitAudioContext?!0:!1\};\
|
|
WA=function(a)\{this.o=[];this.G=!1;this.A=a;this.C=[];this.D=[];P.call(this,\{I:"div",W:"caption-window",U:\{id:"caption-window-"+a.id\},P:[\{I:"span",W:"captions-text",U:\{tabindex:0,"aria-live":"assertive"\}\}]\});this.B=this.pa["captions-text"];this.aa=null!=this.B.style["box-decoration-break"]||null!=this.B.style["-webkit-box-decoration-break"];this.type=this.J=this.F=0;this.b=null\};\
|
|
XA=function(a)\{var b=1+.25*(a.ig||0);if(0==a.offset||2==a.offset)b*=.8;return b\};\
|
|
YA=function(a,b)\{var c=\{\};if(null!=b.hd||b.background)\{var d=null!=b.hd?b.hd:a.b.Ka.hd,e=Ew(b.background?b.background:a.b.Ka.background);c.background="rgba("+e[0]+","+e[1]+","+e[2]+","+d+")";a.aa&&(c["box-decoration-break"]="clone",c["border-radius"]=a.F/8+"px")\}if(null!=b.ig||null!=b.offset)c["font-size"]=a.J*XA(b)+"px",c["line-height"]="1.32em";d=1;if(b.color||null!=b.bf)e=Ew(b.color||a.b.Ka.color),d=null==b.bf?a.b.Ka.bf:b.bf,e="rgba("+e[0]+","+e[1]+","+e[2]+","+d+")",c.color=e,c.fill=e;if(null!=\
|
|
b.ge&&0!=b.ge)\{e="rgba(34, 34, 34, "+d+")";d="rgba(204, 204, 204, "+d+")";b.Dp&&(d=e=b.Dp);var f;switch(b.ge)\{case 4:f="2px 2px 3px "+e+", 2px 2px 4px "+e+", 2px 2px 5px "+e;break;case 1:f="1px 1px "+e+", 2px 2px "+e+", 3px 3px "+e;break;case 2:f="1px 1px "+d+", 0 1px "+d+", -1px -1px "+e+", 0 -1px "+e;break;case 3:f="0 0 4px "+e+", 0 0 4px "+e+", 0 0 4px "+e+", 0 0 4px "+e\}c["text-shadow"]=f\}f="";switch(b.fontFamily)\{case 1:f='"Courier New", Courier, "Nimbus Mono L", "Cutive Mono", monospace';break;\
|
|
case 2:f='"Times New Roman", Times, Georgia, Cambria, "PT Serif Caption", serif';break;case 3:f='"Deja Vu Sans Mono", "Lucida Console", Monaco, Consolas, "PT Mono", monospace';break;case 5:f='"Comic Sans MS", Impact, Handlee, fantasy';break;case 6:f='"Monotype Corsiva", "URW Chancery L", "Apple Chancery", "Dancing Script", cursive';break;case 7:f=Op()&&Pp()?"sans-serif-smallcaps":'"Arial Unicode Ms", Arial, Helvetica, Verdana, "Marcellus SC", sans-serif';break;case 0:case 4:f='Roboto, "Arial Unicode Ms", Arial, Helvetica, Verdana, "PT Sans Caption", sans-serif'\}f&&\
|
|
(c["font-family"]=f);f=b.offset;null==f&&(f=a.b.Ka.offset);switch(f)\{case 0:c["vertical-align"]="sub";break;case 2:c["vertical-align"]="super"\}7==b.fontFamily&&(c["font-variant"]="small-caps");b.bold&&(c["font-weight"]="bold");b.Im&&(c["font-style"]="italic");b.pn&&(c["text-decoration"]="underline");b.Zl&&(c.visibility="hidden");return c\};\
|
|
ZA=function(a)\{for(var b=1,c=0;c<a.length;c++)\{var d=a[c];w(d.text)&&(b+=d.text.split("\\n").length-1,d.C||0==c||b++)\}return b\};\
|
|
$A=function(a,b,c,d)\{a.G=d||a.G;var e,f=a.C[0];if(f&&c.background==f.background&&c.hd==f.hd&&!!c.Zl==!!f.Zl&&c.ge==f.ge)\{for(d=0;d<a.C.length;d++)if(gc(c,a.C[d]))\{e=a.D[d];break\}if(!e)\{d=\{\};for(var k in c)c[k]!=f[k]&&(d[k]=c[k]);e=window.document.createElement("span");Is(e,YA(a,d));a.D[0].appendChild(e);d=1\}a.D.length=d;a.C.length=d\}else a.D.length=0,a.C.length=0,e=window.document.createElement("span"),Is(e,YA(a,c)),a.B.appendChild(e);if(w(b.text))\{k=b.text.split("\\n");f=a.A.Zf.length;for(d=0;d<k.length;d++)\{var l=\
|
|
0<d||0==a.o.length||!b.C,m=!f||a.o.length+1>=f||d+1<k.length;!l||0==a.o.length&&0==d||e.appendChild(window.document.createElement("br"));k[d]?(l&&e.appendChild(window.document.createTextNode("\\u00a0")),e.appendChild(window.document.createTextNode(k[d])),m&&e.appendChild(window.document.createTextNode("\\u00a0"))):l!=m&&e.appendChild(window.document.createTextNode("\\u00a0"))\}a.C.push(c);a.D.push(e);a.o.push(b)\}else e.appendChild(b.text)\};\
|
|
aB=function(a)\{a.G=!1;a.o=[];a.C=[];a.D=[];Hf(a.B)\};\
|
|
nba=function()\{this.o=[];this.b=[];this.g=-1\};\
|
|
bB=function(a,b)\{return b?a.b.concat(a.o):a.b\};\
|
|
dB=function(a,b)\{switch(b.o)\{case "asr":cB(b,a.o);break;default:if(b.isDefault||0>a.g)a.g=a.b.length;cB(b,a.b)\}\};\
|
|
cB=function(a,b)\{bb(b,x(a.H,a))||b.push(a)\};\
|
|
oba=function(a,b)\{var c=ab(a.b,x(b.H,b));-1!=c&&(a.g=c)\};\
|
|
eB=function(a)\{this.fr=!!a;this.b=new nba;this.B=[]\};\
|
|
pba=function(a,b)\{return bb(bB(a.b,!0),function(a)\{return a.toString()==b\})\};\
|
|
fB=function(a)\{eB.call(this,a.Tb);this.g=null;this.A=void 0;this.o=null;this.B=a.captionTranslationLanguages\};\
|
|
qba=function()\{this.gb=this.ia=!1;this.da=1;this.o=20971520;this.B=8388608;this.b=window.NaN;this.M=3145728;this.N=62914560;this.aa=10485760;this.D=window.NaN;this.na=2;this.qa=25;this.C=2097152;this.J=!1;this.G=1800;this.ca=2;this.g=1.15;this.A=1.05;this.ha=!0;this.liveChunkReadahead=3;this.Oa=Mp("xboxone")||Rp()||Np();this.X=25;this.ba=!1;this.Na=em&&!0;this.Sa=!0;this.ga=this.Ia=this.H=!1;this.Ca=.8;this.F=this.ua=this.la=this.Ha=!1;this.K=0;this.R=this.ea=!1;this.Ga=!0;this.La=this.Aa=!1\};\
|
|
rba=function(a,b)\{1080<b&&!a.ia&&(a.o=36700160,a.B=5242880,a.M=10485760,a.C=4194304,a.ia=!0);2160<b&&!a.gb&&(a.o=104857600,a.D=13107200,a.gb=!0)\};\
|
|
gB=function()\{this.ra=[]\};\
|
|
hB=function(a,b)\{F.call(this);this.F=b;this.D=new gB;this.o=!0;this.G=this.A=this.B=this.C=this.b=null;this.g=window.NaN\};\
|
|
sba=function(a,b)\{a.C=b\};\
|
|
iB=function(a)\{var b;if(b=!a.o&&null!==a.b)b=a.b,b=b.b.Zg(b);return b&&!a.A&&!(a.b&&30<a.b.startTime-a.F.getCurrentTime())\};\
|
|
lB=function(a)\{a.isDisposed();var b;b=a.b;b=b.b.lk(b);if(!a.D.contains(b.b[0].A))\{var c=jB(kB(b));a.A=dk(c,\{format:"RAW",Bc:x(a.H,a),withCredentials:!0\});a.B=b;var c=a.D,d=a.B.b[0].A,e=zb(c.ra,d);0<=e||0>e&&1==(-e-1)%2||(e=-e-1,0<e&&1==d-c.ra[e-1]&&e<c.ra.length&&1==c.ra[e]-d?(ob(c.ra,e),ob(c.ra,e-1)):0<e&&1==d-c.ra[e-1]?c.ra[e-1]=d:e<c.ra.length&&1==c.ra[e]-d?c.ra[e]=d:(vb(c.ra,e,0,d),vb(c.ra,e+1,0,d)))\}a.b=$a(b.b)\};\
|
|
tba=function(a)\{a.g=Wi(x(function()\{iB(this)&&lB(this)\},a),1E3);\
|
|
iB(a)&&lB(a)\};\
|
|
mB=function(a,b)\{eB.call(this);this.o=a;this.g=new hB(0,b)\};\
|
|
nB=function(a)\{WA.call(this,a);this.type=1\};\
|
|
oB=function(a)\{WA.call(this,a);J(this.element,"ytp-caption-window-rollup");this.type=2;this.H=0;this.K=window.NaN;this.M=null;this.R=this.N=void 0;this.X=new fe(this.IE,433,this);H(this,this.X)\};\
|
|
pB=function(a,b,c,d,e,f,k)\{dq.call(this,a,a+b,\{priority:c\});this.o=d;this.text=e;this.C=f||!1;this.g=k||null\};\
|
|
qB=function(a,b,c,d,e)\{dq.call(this,a,a+b,\{priority:c\});this.id=d;this.params=e;this.Zf=[]\};\
|
|
rB=function(a)\{return new qB(0,0x8000000000000,0,"0",a||\{\})\};\
|
|
sB=function(a,b,c,d)\{eB.call(this,d);c||(c=Sj(a).hl||"",c=c.split("_").join("-"));this.o=Uj(a,\{hl:c\});this.A=b;this.C=\{\};this.g=null\};\
|
|
tB=function()\{this.b=[];this.g=[]\};\
|
|
vB=function(a)\{tB.call(this);this.g.push(rB());a=a.firstChild.childNodes;for(var b=0,c=a.length;b<c;b++)uB(a[b],this.b)\};\
|
|
uB=function(a,b)\{var c=a.getAttribute("t"),c=c?(0,window.parseInt)(c,10):1E3*(0,window.parseFloat)(a.getAttribute("start")||0),d=a.getAttribute("d"),d=d?(0,window.parseFloat)(d):1E3*(0,window.parseFloat)(a.getAttribute("dur")||0),e=a.getAttribute("w")||"0",f=!!a.getAttribute("append"),k=f?6:5,l=Cs("<html>"+(a.firstChild&&a.firstChild.nodeValue||"")+"</html>");wB(c,d,k,e,f,l.firstChild,\{\},b)\};\
|
|
wB=function(a,b,c,d,e,f,k,l)\{switch(f.tagName)\{case "b":k.bold=!0;break;case "i":k.Im=!0;break;case "u":k.pn=!0;break;case "font":var m=f.getAttribute("color");xB.test(m);k.color=m\}for(m=0;m<f.childNodes.length;m++)\{var n=f.childNodes[m];if(3==n.nodeType)l.push(new pB(a,b,c,d,n.nodeValue,e||0<m,cc(k)?void 0:k));else\{var t=\{\};ra(t,k);wB(a,b,c,d,e||0<m,n,t,l)\}\}\};\
|
|
yB=function(a)\{tB.call(this);this.o=\{\};for(a=a.firstChild.firstChild;a;)\{switch(a.tagName)\{case "window":var b=a,c=b.getAttribute("id");a:\{var d=b,e=this.o[c];if(d.getAttribute("t")||d.getAttribute("start"))\{b=d.getAttribute("start")?1E3*(0,window.parseFloat)(d.getAttribute("start")):(0,window.parseInt)(d.getAttribute("t"),10);e&&(e.end>=b?e.end=b:e=null);switch(d.getAttribute("op"))\{case "kill":b=null;break a;case "define":e=null\}e||(e=rB());var f=\{\};e&&(ra(f,e.params),e=e.params.Ka)&&(f.Ka=\{\},ra(f.Ka,\
|
|
e));d.getAttribute("rc")&&(f.Fh=(0,window.parseInt)(d.getAttribute("rc"),10));d.getAttribute("cc")&&(f.Kp=(0,window.parseInt)(d.getAttribute("cc"),10));d.getAttribute("ap")&&(e=(0,window.parseInt)(d.getAttribute("ap"),10),f.zi=0>e||8<e?7:e);d.getAttribute("ah")&&(f.pj=(0,window.parseInt)(d.getAttribute("ah"),10));d.getAttribute("av")&&(f.Tj=(0,window.parseInt)(d.getAttribute("av"),10));d.getAttribute("vs")&&(f.isVisible=!!d.getAttribute("vs"));d.getAttribute("ju")&&(f.textAlign=(0,window.parseInt)(d.getAttribute("ju"),\
|
|
10));d.getAttribute("pd")&&(f.Pg=1,0==(0,window.parseInt)(d.getAttribute("pd"),10)&&(f.Pg=0));d.getAttribute("bc")&&(f.Ka||(f.Ka=\{\}),f.Ka.backgroundColor=d.getAttribute("bc"));d.getAttribute("bo")&&(f.Ka||(f.Ka=\{\}),f.Ka.hd=(0,window.parseInt)(d.getAttribute("bo"),10)/100);d.getAttribute("fc")&&(f.Ka||(f.Ka=\{\}),f.Ka.color=d.getAttribute("fc"));d.getAttribute("sd")&&(f.GG=(0,window.parseInt)(d.getAttribute("sd"),10));e=(0,window.parseInt)(d.getAttribute("d"),10)||1E3*(0,window.parseFloat)(d.getAttribute("dur"))||\
|
|
0x8000000000000;d=d.getAttribute("id")||"0";b=new qB(b,e,0,d,f)\}else b=null\}this.o[c]=b;this.g.push(b);break;case "text":for(c=this.b.length,uB(a,this.b);c<this.b.length;c++)b=this.b[c],(f=this.o[b.o])&&f.Zf.push(b)\}a=a.nextSibling\}0==this.g.length&&this.g.push(rB())\};\
|
|
HB=function(a,b)\{tB.call(this);a.firstChild.getAttribute("format");this.o=!!b;for(var c=\{Dj:\{\},nu:\{\},ou:\{\}\},d,e,f=a.firstChild.childNodes,k=0;k<f.length;k++)\{var l=f[k];switch(l.tagName)\{case "head":d=l;break;case "body":e=l\}\}if(d)for(d=d.childNodes,f=0;f<d.length;f++)\{var m=d[f];switch(m.tagName)\{case "pen":var l=m.getAttribute("id"),k=c.Dj,n=c,t=m,m=\{\},u=t.getAttribute("p");u&&ra(m,n.Dj[u]);n=zB(t,"b");null!=n&&(m.bold=n);n=zB(t,"i");null!=n&&(m.Im=n);n=zB(t,"u");null!=n&&(m.pn=n);n=AB(t,"et");\
|
|
null!=n&&(m.ge=n);n=AB(t,"of");null!=n&&(m.offset=n);n=BB(t,"bc");null!=n&&(m.background=n);n=BB(t,"ec");null!=n&&(m.Dp=n);n=BB(t,"fc");null!=n&&(m.color=n);n=AB(t,"fs");void 0!=n&&0!=n&&(m.fontFamily=n);n=CB(t,"sz");void 0!=n&&(m.ig=n/100-1);n=CB(t,"bo");void 0!=n&&(m.hd=n/255);t=CB(t,"fo");void 0!=t&&(m.bf=t/255);k[l]=m;break;case "ws":k=m.getAttribute("id");c.ou[k]=DB(this,c,m);break;case "wp":k=m.getAttribute("id"),c.nu[k]=EB(c,m)\}\}if(e)for(d=\{\},f=-1,e=e.childNodes,k=void 0,l=0;l<e.length;l++)switch(m=\
|
|
e[l],m.tagName)\{case "w":t=FB(this,c,m);if(m=d[t.id])m.end=t.start;d[t.id]=t;this.g.push(t);break;case "p":var t=c,n=m,y=k,u=[],E=CB(n,"t")||0,G=CB(n,"d")||0,Y=n.getAttribute("w")||"0",N=!!zB(n,"a");y&&"\\n"==y.text&&!N&&(N=!0);for(var y=N?6:5,Q=t.Dj[n.getAttribute("p")],cb=n.childNodes,Ab=0;Ab<cb.length;Ab++)\{var jb=cb[Ab];if("s"==jb.tagName)\{0<Ab&&(N=!0);var db=jb,jb=E,jg=G,Nr=Y,Or=N,Un=y,Mk=db.textContent?db.textContent:"",Nk=t.Dj[db.getAttribute("p")],db=CB(db,"t")||0,jb=new pB(jb+db,jg-db,Un,\
|
|
Nr,Mk,Or,Nk)\}else jb=new pB(E,G,y,Y,n.textContent?n.textContent:"",N,Q);u.push(jb)\}n=u;if(0<n.length)for(k=n[n.length-1],t=d[n[0].o],t||(t=FB(this,c,m,f--),this.g.push(t)),m=0;m<n.length;m++)u=n[m],n[m].o=t.id,t.Zf.push(u),this.b.push(u)\}\};\
|
|
CB=function(a,b)\{var c=a.getAttribute(b);if(null!=c)return(0,window.parseFloat)(c)\};\
|
|
zB=function(a,b)\{var c=a.getAttribute(b);if(null!=c)return"1"==c\};\
|
|
AB=function(a,b)\{var c=CB(a,b);if(void 0!=c)return c\};\
|
|
BB=function(a,b)\{var c=a.getAttribute(b);if(null!=c)return xB.test(c),c\};\
|
|
DB=function(a,b,c)\{var d=\{\},e=c.getAttribute("ws");e&&ra(d,b.ou[e]);b=AB(c,"mh");null!=b&&(d.Km=b);b=AB(c,"ju");null!=b&&(d.textAlign=b);b=AB(c,"pd");null!=b?d.Pg=b:a.o&&(d.Pg=1);a=BB(c,"wfc");null!=a&&(d.windowColor=a);c=CB(c,"wfo");void 0!=c&&(d.Tg=c/255);return d\};\
|
|
EB=function(a,b)\{var c=\{\},d=b.getAttribute("wp");d&&ra(c,a.nu[d]);d=AB(b,"ap");null!=d&&(c.zi=d);d=CB(b,"cc");null!=d&&(c.Kp=d);d=CB(b,"ah");null!=d&&(c.pj=d);d=CB(b,"rc");null!=d&&(c.Fh=d);d=CB(b,"av");null!=d&&(c.Tj=d);return c\};\
|
|
FB=function(a,b,c,d)\{d=d||c.getAttribute("id")||"0";var e=CB(c,"t"),f=CB(c,"d")||0x8000000000000,k=\{\};ra(k,EB(b,c));ra(k,DB(a,b,c));return new qB(e,f,0,d,k)\};\
|
|
LB=function(a,b)\{tB.call(this);this.o=rB(\{Km:0\});this.g.push(this.o);for(var c=a.split(uba),d=1;d<c.length;d++)\{var e=c[d],f=b;if(""!=e&&!vba.test(e))\{var k=IB.exec(e);if(k&&3<=k.length)\{var l=JB(k[1]),k=JB(k[2])-l,e=e.substring(IB.lastIndex);IB.lastIndex=0;var f=l+f,l=k,m=e,k=\{\},n=this.o,e=5;if(0>m.indexOf("<"))this.b.push(new pB(f,l,e,n.id,m,!1,cc(k)?void 0:k));else\{m=m.split(wba);1!=m.length&&(e=6,n="_"+xba++,n=new qB(f,l,e,n,\{\}),this.g.push(n));for(var t=f,u=0;u<m.length;u++)\{var y=m[u];if(0==\
|
|
u%2)\{var E=Cs("<html>"+y+"</html>"),G;E.getElementsByTagName("parsererror").length?(G=E.createElement("span"),G.appendChild(E.createTextNode(y))):G=E.firstChild;KB(this,t,l-(t-f),e,n,0<u,G,k,this.b)\}else t=JB(y)\}\}\}IB.lastIndex=0\}\}\};\
|
|
KB=function(a,b,c,d,e,f,k,l,m)\{switch(k.tagName)\{case "b":l.bold=!0;break;case "i":l.Im=!0;break;case "u":l.pn=!0\}for(var n=0;n<k.childNodes.length;n++)\{var t=k.childNodes[n];if(3==t.nodeType)t=new pB(b,c,d,e.id,t.nodeValue,f||0<n,cc(l)?void 0:l),m.push(t),e!=a.o&&e.Zf.push(t);else\{var u=\{\};ra(u,l);KB(a,b,c,d,e,!0,t,u,m)\}\}\};\
|
|
JB=function(a)\{a=a.split(":");for(var b=0,c=0;c<a.length;c++)b=60*b+(0,window.parseFloat)(a[c]);return 1E3*b\};\
|
|
zba=function(a,b,c)\{if("WEBVTT"==a.substring(0,6))return new LB(a,c||0);a=Cs(a);return a&&a.firstChild?"timedtext"==a.firstChild.tagName?3==(0,window.parseInt)(a.firstChild.getAttribute("format"),10)?(b=yba.test(b.g),new HB(a,b)):new yB(a):new vB(a):new tB\};\
|
|
NB=function(a)\{gq.call(this,a,"subtitlesModuleData");this.Ma="captions";this.logEvent="cc";Sy();this.ca=!0;this.aa=!1;this.V=R(a);this.B=null;this.J=wy(a);this.$=a;this.A=\{Ka:\{\}\};this.C=\{Ka:\{\}\};this.X=[];this.N=\{\};this.R=\{\};this.ia=this.K=this.ea=!1;var b=a=this.g=this.o=this.G=this.H=null;MB(this)||(a=new fe(this.sn,0,this),H(this,a),b=new fe(this.fG,2E3,this),H(this,b));this.ha=a;this.la=b;this.ba=new rx(this);H(this,this.ba);this.ga=null\};\
|
|
MB=function(a)\{return"3"!=a.V.A?!1:!!a.$.app.o.Zt()\};\
|
|
OB=function(a,b)\{MB(a);if(b&&a.B.captionTracks.length)\{var c=a.b.$h().xp;if(2==c||3==c)return!0\}if(1==a.V.la||1==a.B.Ho||"alwayson"==a.B.Od("yt:cc")||MB(a))return!0;c=nq(a,"module-enabled");return null!=c?!!c:"on"==a.B.Od("yt:cc")\};\
|
|
PB=function(a)\{return MB(a)?!a.B.xa:a.B.captionTracks.length&&a.b.$h().Ri?!0:OB(a,!0)\};\
|
|
RB=function(a)\{a.g&&a.g==a.o.Re()&&QB(a);a.o.sj(x(a.Js,a),!0,MB(a)?"vtt":void 0,a.b.$h())\};\
|
|
TB=function(a)\{MB(a);a.o.Re()&&SB(a,a.o.Re())\};\
|
|
QB=function(a)\{a.g&&(a.g=null,MB(a)||(iq(a),a.X=[],a.g=null,a.sn()),a.o.qn())\};\
|
|
SB=function(a,b,c)\{MB(a);!b||a.g&&b.H(a.g)||(null!=c&&(a.K=c),a.F?(a.g=b,UB(a),a.Wm("control_subtitles_set_track",Fz(b))):(QB(a),a.g=b,(3!=a.b.getPresentingPlayerType()||a.V.experiments.Z("legacy_control_redirecting"))&&a.o.rj(b,x(a.Ks,a)),a.b.za("captionschanged",Fz(b))))\};\
|
|
WB=function(a,b,c)\{b.migrated=!0;var d=VB.Ka;a.A=\{\};ra(a.A,VB);a.A.Ka=\{\};ra(a.A.Ka,d);a.C=\{Ka:\{\}\};var e=b.backgroundOverride?a.C:a.A,f=b.background||d.background;xB.test(f);e.Ka.background=f;e=b.colorOverride?a.C:a.A;f=b.color||d.color;xB.test(f);e.Ka.color=f;e=b.windowColorOverride?a.C:a.A;f=b.windowColor||VB.windowColor;xB.test(f);e.windowColor=f;e=b.backgroundOpacityOverride?a.C:a.A;f=b.backgroundOpacity;null==f&&(f=d.hd);e.Ka.hd=f;e=b.fontSizeIncrementOverride?a.C:a.A;f=b.fontSizeIncrement;null==\
|
|
f&&(f=d.ig);e.Ka.ig=f;e=b.textOpacityOverride?a.C:a.A;f=b.textOpacity;null==f&&(f=d.bf);e.Ka.bf=f;e=b.windowOpacityOverride?a.C:a.A;f=b.windowOpacity;null==f&&(f=VB.Tg);e.Tg=f;e=b.charEdgeStyleOverride?a.C:a.A;f=b.charEdgeStyle;null==f&&(f=d.ge);e.Ka.ge=f;e=b.fontFamilyOverride?a.C:a.A;f=b.fontFamily;null==f&&(f=d.fontFamily);e.Ka.fontFamily=f;a.eu();c&&oq(a,"display-settings",b)\};\
|
|
XB=function(a)\{var b=VB.Ka,b=\{background:b.background,backgroundOpacity:b.hd,charEdgeStyle:b.ge,color:b.color,fontFamily:b.fontFamily,fontSizeIncrement:b.ig,textOpacity:b.bf,windowColor:VB.windowColor,windowOpacity:VB.Tg\};a=nq(a,"display-settings");for(var c in a)null!=a[c]&&(b[c]=a[c]);return b\};\
|
|
YB=function(a,b,c)\{var d=\{\};ra(d,nq(a,"display-settings"));ra(d,b);WB(a,d,c)\};\
|
|
$B=function(a)\{a.loaded&&(MB(a)||he(a.la),oq(a,"module-enabled",!1),QB(a),ZB(a.b),a.K=!1,a.F?(UB(a),a.Wm("control_subtitles_set_track")):a.b.za("captionschanged",\{\}),MB(a)||TB(a))\};\
|
|
Aba=function(a)\{return NB.prototype.Bb(a)?new NB(a):null\};\
|
|
aC=function(a,b)\{MB(a);if(b&&!a.G)\{var c=rB(\{Pg:0\});a.G=new WA(c);mw(a.b,a.G.element,4);var c=new pB(0,0,0,a.G.A.id,M("YTP_SAMPLE_SUBTITLES")),d=a.J.Ja().width,e=vy(a.J,!0).height;a.G.ef(a.A,a.C,d,e,[c])\}else!b&&a.G&&(a.G.dispose(),a.G=null)\};\
|
|
Bba=function(a,b)\{return a&&w(a)&&xB.test(a)?a:b\};\
|
|
Cba=function(a,b)\{return ha(a)&&!(0,window.isNaN)(a)?Math.max(0,Math.min(1,(0,window.parseFloat)(a))):b\};\
|
|
Dba=function(a,b)\{if(a&&w(a))\{var c=bC.indexOf(a);return-1!=c?c:b\}return b\};\
|
|
Eba=function(a,b)\{if(a&&w(a))\{var c=cC.indexOf(a);return-1!=c?c:b\}return b\};\
|
|
Fba=function(a,b)\{return ha(a)&&!(0,window.isNaN)(a)?bf(a,-2,4):b\};\
|
|
UB=function(a)\{var b=\{\};a.g&&(b=Fz(a.g));a.b.za("captionschanged",b)\};\
|
|
dC=function(a,b,c)\{this.errorCode=a;this.b=b;this.details=c||\{\}\};\
|
|
eC=function(a)\{var b,c;for(c in a)\{var d=(""+a[c]).replace(/[:,]/g,"_");b=(b?b+";":"")+c+"."+d\}return b||""\};\
|
|
fC=function(a)\{this.b=window.Float32Array?new window.Float32Array(a):Array(a);this.g=a-1\};\
|
|
gC=function(a,b)\{a.g=(a.g+1)%a.b.length;a.b[a.g]=b\};\
|
|
Gba=function()\{this.A=new fC(50);this.g=null;this.B=this.o=0;this.b=[]\};\
|
|
Hba=function(a,b)\{0!=a.b.length&&(b.B=a.b.length,b.F=df(a.b,function(a,b)\{return a+b\},0),b.D=$a(a.b),b.H=Math.min.apply(Math,a.b),b.G=Math.max.apply(Math,a.b),a.b=[])\};\
|
|
Iba=function(a,b)\{if(a.g&&!(b>=a.o&&b<a.B))\{var c=a.g.Af(b);a.o=a.g.ze(c);a.B=a.o+a.g.hf(c);c=C()/1E3-hC(a.g,c);gC(a.A,c);a.b.push(c)\}\};\
|
|
iC=function(a)\{this.B=Math.exp(Math.log(.5)/a);this.g=this.A=0\};\
|
|
jC=function()\{var a=[],b=[];return\{start:function(b)\{return a[b]\},\
|
|
end:function(a)\{return b[a]\},\
|
|
length:a.length\}\};\
|
|
kC=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\};\
|
|
lC=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\};\
|
|
mC=function(a,b)\{var c=lC(a,b);return 0<=c?a.end(c):window.NaN\};\
|
|
nC=function(a)\{return a&&a.length?a.end(a.length-1):window.NaN\};\
|
|
oC=function(a,b)\{var c=mC(a,b);return 0<=c?c-b:0\};\
|
|
qC=function()\{this.b=\{apiaryHost:Ti("APIARY_HOST",void 0),lp:Ti("APIARY_HOST_FIRSTPARTY",void 0),gapiHintOverride:Ti("GAPI_HINT_OVERRIDE"),gapiHintParams:Ti("GAPI_HINT_PARAMS",void 0),innertubeApiKey:Ti("INNERTUBE_API_KEY",void 0),innertubeApiVersion:Ti("INNERTUBE_API_VERSION",void 0),Bm:Ti("INNERTUBE_CONTEXT_CLIENT_NAME","WEB"),innertubeContextClientVersion:Ti("INNERTUBE_CONTEXT_CLIENT_VERSION",void 0),Em:Ti("INNERTUBE_CONTEXT_HL",void 0),Cm:Ti("INNERTUBE_CONTEXT_GL",void 0),kR:Ti("XHR_APIARY_HOST",\
|
|
void 0)\};pC||(pC=Jba(this.b))\};\
|
|
Jba=function(a)\{return(new Dd(function(b)\{qj(Ti("GAPI_LOADER_URL",void 0),function()\{try\{q("yt.gapi.load")("client",\{gapiHintOverride:a.gapiHintOverride,_c:\{jsl:\{h:a.gapiHintParams\}\},callback:b\})\}catch(c)\{Zi(c)\}\})\})).then(function()\{\})\};\
|
|
rr=function(a,b,c)\{var d=\{\},e,f=!1;0<d.timeout&&(e=Vi(function()\{f||(f=!0,d.Lc&&d.Lc())\},d.timeout));\
|
|
Kba(a,b,c,function(a)\{if(!f)if(f=!0,e&&Xi(e),a)d.sb&&d.sb(a);else if(d.onError)d.onError()\})\};\
|
|
Kba=function(a,b,c,d)\{var e=\{path:"/youtubei/"+a.b.innertubeApiVersion+"/"+b,headers:\{"X-Goog-Visitor-Id":Ti("VISITOR_DATA")\},method:"POST",body:gg(c)\},f=x(a.g,a);pC.then(function()\{f();q("gapi.client.request")(e).execute(d||r)\})\};\
|
|
rC=function(a,b,c)\{var d=\{\};d.eventTimeMs=Math.round(c||Bq());d[a]=b;nr.log_event=nr.log_event||[];a=nr.log_event;a.push(d);pr.log_event=qC;20<=a.length?tr():sr()\};\
|
|
sC=function(a,b)\{this.version=a;this.args=b\};\
|
|
Lba=function(a)\{if(!a.ff)\{var b=\{\};a.call(b);a.ff=b.version\}return a.ff\};\
|
|
Mba=function(a,b)\{function c()\{a.apply(this,b.args)\}\
|
|
if(!b.args||!b.version)throw Error("yt.pubsub2.Data.deserialize(): serializedData is incomplete.");var d;try\{d=Lba(a)\}catch(e)\{\}if(!d||b.version!=d)throw Error("yt.pubsub2.Data.deserialize(): serializedData version is incompatible.");c.prototype=a.prototype;try\{return new c\}catch(e)\{throw e.message="yt.pubsub2.Data.deserialize(): "+e.message,e;\}\};\
|
|
tC=function(a,b)\{this.topic=a;this.b=b\};\
|
|
Nba=function(a)\{var b=uC,c=vC();c&&c.publish.call(c,b.toString(),b,a)\};\
|
|
Oba=function(a,b)\{var c=uC,d=vC();if(!d)return 0;var e=d.subscribe(c.toString(),function(d,k)\{if(!window.yt.pubsub2.skipSubKey_||window.yt.pubsub2.skipSubKey_!=e)\{var f=function()\{if(wC[e])try\{if(k&&c instanceof tC&&c!=d)try\{k=Mba(c.b,k)\}catch(m)\{throw m.message="yt.pubsub2 cross-binary conversion error for "+c.toString()+": "+m.message,m;\}a.call(b||window,k)\}catch(m)\{Zi(m)\}\};\
|
|
xC[c.toString()]?ux()?vx(f,void 0):Vi(f,0):f()\}\});\
|
|
wC[e]=!0;yC[c.toString()]||(yC[c.toString()]=[]);yC[c.toString()].push(e);return e\};\
|
|
AC=function(a,b)\{var c=Oba(function(d)\{a.apply(b,arguments);zC(c)\},b);\
|
|
return c\};\
|
|
zC=function(a)\{var b=vC();b&&(ha(a)&&(a=[a]),D(a,function(a)\{b.unsubscribeByKey(a);delete wC[a]\}))\};\
|
|
vC=function()\{return q("yt.pubsub2.instance_")\};\
|
|
BC=function(a)\{sC.call(this,1,arguments);this.b=a\};\
|
|
DC=function(a)\{CC&&CC.measure&&CC.measure("measure_above_the_fold",a?a:"navigationStart")\};\
|
|
IC=function(a,b,c)\{if(!b&&"_"!=a[0])\{var d=a;CC.mark&&(Pba.test(d)||(d="mark_"+d),CC.mark(d))\}var d=EC(c),e=b||Bq();d[a]&&(d["_"+a]=d["_"+a]||[d[a]],d["_"+a].push(e));d[a]=e;FC(c)["tick_"+a]=b;Nj("csi_on_gel")?(d=GC(c),"_start"==a?rC("latencyActionBaselined",\{clientActionNonce:d\},b):rC("latencyActionTicked",\{tickName:a,clientActionNonce:d\},b),a=!0):a=!1;a||HC(c)\};\
|
|
KC=function(a,b)\{JC("yt_sts",a,b);IC("_start",void 0,b)\};\
|
|
LC=function(a,b)\{var c=EC(b);return a in c\};\
|
|
JC=function(a,b,c)\{var d=MC(c).info[a]=b;FC(c)["info_"+a]=d;Nj("csi_on_gel")&&(a in NC?(b=\{\},a=NC[a],ib(Qba,a)&&(d=!!d),b[a]=d,c=GC(c),b.clientActionNonce=c,rC("latencyActionInfo",b)):Zi(Error("Unknown label "+a+" logged with GEL CSI.")))\};\
|
|
QC=function(a)\{OC(a);Rba();PC(!1,a)\};\
|
|
TC=function(a,b)\{a:if(!RC(a))\{if(!Nj("send_empty_timing"))\{var c=Ti("CSI_SERVICE_NAME","youtube");if(!Ti((a||"")+"TIMING_ACTION",void 0)||!c)break a\}IC("aa",void 0,a);JC("ap",1,a);JC("yt_fss","c",a);SC(a)\}QC(a);Si(a+"TIMING_AFT_KEYS",b);Si(a+"TIMING_ACTION",a);KC("c",a);g.ba("yt.timing."+(a||"")+"ready_",!0,void 0);HC(a)\};\
|
|
UC=function(a)\{var b=EC(a);if(b.aft)return b.aft;a=Ti((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\};\
|
|
SC=function(a)\{var b=EC(a),c=MC(a).info,d=b._start,e;for(e in b)if(ta(e,"_")&&ea(b[e]))\{var f=e.slice(1);if(f in Sba)\{var k=Ii(b[e],function(a)\{return Math.round(a-d)\});\
|
|
c["all_"+f]=k.join()\}delete b[e]\}f=!!c.ap;if(k=q("yt.timing.reportbuilder_"))\{if(k=k(b,c,a))VC(k,f),QC(a)\}else\{var l=Ti("CSI_SERVICE_NAME","youtube"),k=\{v:2,s:l,action:Ti((a||"")+"TIMING_ACTION",void 0)\},m=c.srt;delete c.srt;void 0===b.srt&&(m||0===m||(m=CC.timing||\{\},m=Math.max(0,m.responseStart-m.navigationStart),(0,window.isNaN)(m)&&c.pt&&(m=c.pt)),m||0===m)&&(c.srt=Math.round(m));if(c.h5jse)\{var n=window.location.protocol+q("ytplayer.config.assets.js");(n=CC.getEntriesByName?CC.getEntriesByName(n)[0]:\
|
|
null)?c.h5jse=Math.round(c.h5jse-n.responseEnd):delete c.h5jse\}b.aft=UC(a);Tba(a)&&"youtube"==l&&(JC("yt_lt","hot_bg",a),l=b.vc,n=b.pbs,delete b.aft,c.aft=Math.round(n-l));for(var t in c)"_"!=t.charAt(0)&&(k[t]=c[t]);b.ps=Bq();c=\{\};t=[];for(e in b)"_"!=e.charAt(0)&&(l=Math.round(b[e]-d),c[e]=l,t.push(e+"."+l));k.rt=t.join(",");(b=q("ytdebug.logTiming"))&&b(k,c);Nj("navigation_only_csi_reset")||QC(a);VC(k,f,a);Nba(new BC(c.aft+(m||0)))\}\};\
|
|
HC=function(a)\{if(!RC(a)||!Nj("navigation_only_csi_reset")&&!a)\{var b=Ti((a||"")+"TIMING_ACTION",void 0),c=EC(a);if(q("yt.timing."+(a||"")+"ready_")&&b&&c._start&&UC(a))if(a)SC(a);else\{var b=!0,d=Ti("TIMING_WAIT",[]);if(d.length)for(var e=0,f=d.length;e<f;++e)if(!(d[e]in c))\{b=!1;break\}b&&SC(a)\}\}\};\
|
|
VC=function(a,b,c)\{if(Nj("debug_csi_data"))\{var d=q("yt.timing.csiData");d||(d=[],g.ba("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,"")||Wp(a,void 0)\}catch(f)\{Wp(a,void 0)\}else Wp(a);PC(!0,c)\};\
|
|
GC=function(a)\{var b=MC(a).nonce;b||(b=fr(),MC(a).nonce=b);return b\};\
|
|
EC=function(a)\{return MC(a).tick\};\
|
|
FC=function(a)\{a=MC(a);"gel"in a||(a.gel=\{\});return a.gel\};\
|
|
MC=function(a)\{return q("ytcsi."+(a||"")+"data_")||OC(a)\};\
|
|
OC=function(a)\{var b=\{tick:\{\},info:\{\}\};g.ba("ytcsi."+(a||"")+"data_",b,void 0);return b\};\
|
|
RC=function(a)\{return!!q("yt.timing."+(a||"")+"pingSent_")\};\
|
|
PC=function(a,b)\{g.ba("yt.timing."+(b||"")+"pingSent_",a,void 0)\};\
|
|
Tba=function(a)\{var b=EC(a),c=b.pbr,d=b.vc,b=b.pbs;return c&&d&&b&&c<d&&d<b&&1==MC(a).info.yt_pvis\};\
|
|
Uba=function()\{switch(Th("visibilityState",window.document))\{case "hidden":return 0;case "visible":return 1;case "prerender":return 2;case "unloaded":return 3\}return-1\};\
|
|
Vba=function(a,b)\{this.b=a;this.g=b;this.o=1\};\
|
|
ZC=function(a,b,c,d)\{d/=a.o;var e=WC(a.b)+1/XC(a.b),f;f=Math.max(.9*(d-3),YC(a.b)+8192*e);c=f/e*a.g.Ca/(b+c);c=Math.min(c,d);c=Math.max(a.g.na,Math.min(a.g.qa,c));return Math.min(a.g.C,Math.max(65536,Math.ceil(c*b)))\};\
|
|
$C=function(a)\{var b=XC(a.b);if(a.g.ea)return b;a=1E-9+YC(a.b)+1048576*WC(a.b);return b*Math.min(1,1048576/(b*a))\};\
|
|
aD=function(a)\{return $C(a)/a.o\};\
|
|
bD=function(a,b,c)\{this.audio=a;this.video=b;this.reason=c\};\
|
|
Wba=function(a,b,c,d)\{this.R=a;this.F=b;this.C=c;this.G=d;this.o=this.J=this.b=null;this.B="i";this.K=-1;this.D=this.A=null;this.g=[];this.M=this.N=0;this.ba=null;this.H=!1\};\
|
|
Xba=function(a,b,c)\{"m"==c&&a.b.isLocked()&&!b.isLocked()&&(c="a");a.H=a.H||!1;if("m"==c&&b.isLocked())return a.B=c,cD(a,b),dD(a),a.o=eD(a),new bD(fD(a),a.o,c);var d;d=a.b;d=d.g==b.g&&d.b==b.b&&d.o==b.o;if("m"==a.B&&a.b.isLocked()&&d)return null;"r"!=c||d||(a.K=-1);cD(a,b);b=eD(a);if("r"==c&&b==a.o)\{if(d)return null;a.o=b;return new bD(fD(a),b,c)\}a.B=c;gD(a);return null\};\
|
|
hD=function(a)\{return!!a.M&&9E4>=Bq()-a.M\};\
|
|
fD=function(a)\{iD(a);return a.A\};\
|
|
eD=function(a)\{iD(a);return a.D\};\
|
|
gD=function(a)\{a.o&&a.D&&jD(a,a.o.info)<jD(a,a.D.info)&&(a.H=a.H||a.D.info.video.width>1.6*a.o.info.video.width||"r"==a.B)\};\
|
|
kD=function(a)\{var b=a.B;a.B="a";a.K=Bq();a.H=!1;return new bD(a.J,a.o,b)\};\
|
|
iD=function(a)\{if(!(!a.b.isLocked()&&-1<a.K&&8E3>Bq()-a.K))\{a.M&&!hD(a)&&(a.M=0,cD(a,a.b));dD(a);var b=aD(a.R);if(a.b.isLocked())a.D=a.C.b[a.g[a.g.length-1].id];else\{for(var c=Math.min(a.N,a.g.length-1),d=b/a.F.A-jD(a,a.A.info);0<c&&!(jD(a,a.g[c])<=d);c--);for(b=b/a.F.g-jD(a,a.A.info);c<a.g.length-1&&!(jD(a,a.g[c+1])>=b);c++);a.N=c;a.D=a.C.b[a.g[c].id];gD(a)\}\}\};\
|
|
cD=function(a,b)\{a.b=b;var c=a.G.videoInfos;if(!a.b.isLocked()&&(c=le(c,function(a)\{return jD(this,a)>this.F.D?!1:!this.C.b[a.id].A\},a),hD(a)))\{var c=le(c,function(a)\{return a.id!=this.ba.id\},a),d=le(c,function(a)\{a=Fu(a);\
|
|
return"140"==a||"134"==a||"243"==a\});\
|
|
d.length&&(c=d)\}c.length||(c=a.G.videoInfos);d=le(c,b.A,b);d.length||(d=[c[0]]);d.sort(x(function(a,b)\{return jD(this,a)-jD(this,b)\},a));\
|
|
for(c=1;c<d.length;c++)\{var e=d[c-1],f=d[c];e.video.width>f.video.width?(ob(d,c),c--):jD(a,e)*a.F.g>jD(a,f)&&(ob(d,c-1),c--)\}a.g=d;rba(a.F,d[d.length-1].video.XF)\};\
|
|
Yba=function(a,b)\{if(b)a.A=a.C.b[b];else\{var c=bb(a.G.b,function(a)\{return!!a.Vb&&a.Vb.isDefault\}),c=c||a.G.b[0];\
|
|
a.A=a.C.b[c.id]\}dD(a)\};\
|
|
dD=function(a)\{if(!a.A.info.Vb&&(a.A=a.C.b[a.G.b[0].id],1<a.G.b.length))\{var b;if(a.b.isLocked())b=240>a.b.b;else\{for(b=0;b+1<a.g.length&&"tiny"==a.g[b].video.quality;)b++;var c=aD(a.R)/a.F.g;b=jD(a,a.A.info)+jD(a,a.g[b])>c\}b&&(a.A=a.C.b[a.G.b[1].id])\}\};\
|
|
Zba=function(a)\{var b=a.F.A,c=aD(a.R)/b-jD(a,a.A.info),b=eb(a.g,function(a)\{return jD(this,a)<c\},a);\
|
|
0>b&&(b=0);a.N=b;a.D=a.C.b[a.g[b].id]\};\
|
|
jD=function(a,b)\{return a.F.Ha&&b.A?b.A:b.b\};\
|
|
$ba=function()\{this.b=this.g=0;this.o=[]\};\
|
|
lD=function(a,b)\{return(a[b]<<24)+(a[b+1]<<16)+(a[b+2]<<8)+a[b+3]\};\
|
|
mD=function(a,b)\{this.start=a;this.end=b;this.length=b-a+1\};\
|
|
nD=function(a)\{a=a.split("-");return 2==a.length&&(a=new mD((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\};\
|
|
oD=function(a,b)\{return new mD(a,a+b-1)\};\
|
|
pD=function()\{this.b=this.g=!1\};\
|
|
qD=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\};\
|
|
rD=function(a,b,c)\{this.ae=a;this.durationSecs=b;this.context=c\};\
|
|
aca=function(a)\{this.b=a;this.o=(0,window.parseInt)(this.b["Sequence-Number"],10)||0;this.ingestionTime=((0,window.parseInt)(this.b["Ingestion-Walltime-Us"],10)||0)/1E6;this.B="T"==this.b["Overlayed-With-Slate"];this.A="T"==this.b["Stream-Finished"];this.g="T"==this.b.Streamable\};\
|
|
wD=function(a,b,c)\{var d=sD(a,0,1836019558);if(!d)return null;var e=sD(a,d.offset+8,1835427940),f=sD(a,d.offset+8,1953653094);if(!e||!f)return null;var k=sD(a,f.offset+8,1952868452),l=sD(a,f.offset+8,1953658222),m=sD(a,f.offset+8,1952867444);if(!k||!l||!m)return null;var n=sD(a,f.offset+8,1935763823);a=sD(a,f.offset+8,1935763834);if(n)\{var t=tD(n),f=tD(n);if(0!=t||1!=f)return null;t=tD(n)\}for(var u=tD(k),y=tD(k),E=u&2,G=u&1?bca(k):0,Y=E?tD(k):0,N=u&8?tD(k):0,f=u&16?tD(k):0,Q=u&32?tD(k):0,u=tD(l),\
|
|
cb=u&1,Ab=u&4,jb=u&256,k=u&512,db=u&1024,jg=u&2048,u=tD(l),Nr=cb?tD(l):0,Or=Ab?tD(l):0,cb=[],Un=[],Mk=[],Nk=[],Lx=0,Xe=0,xc=0;xc<u;xc++)\{var DF=jb?tD(l):N;k&&cb.push(tD(l));var mg=Q;Ab&&0==xc?mg=Or:db&&(mg=tD(l));Un.push(mg);mg=jg?tD(l):0;0==xc&&(Lx=mg);Mk.push(Xe+mg);Nk.push(xc);Xe+=DF\}1<=Math.abs(Xe-b)&&c(\{flaw:"segDurMismatch",dts:Xe.toFixed(),seg:b.toFixed()\});Cb(Nk,function(a,b)\{return Mk[a]-Mk[b]\});\
|
|
c=[];for(xc=0;xc<u;xc++)c[Nk[xc]]=xc;Xe=E?4:0;xc=16*u;N=68+Xe+m.size+xc+(n?n.size:0)+(a?a.size:0);d=N-d.size;l=new eca(N);uD(l,N);uD(l,1836019558);vD(l,e);uD(l,N-24);uD(l,1953653094);uD(l,16+Xe);uD(l,1952868452);uD(l,131072|(E?2:0));uD(l,y);E&&uD(l,Y);vD(l,m);uD(l,20+xc);uD(l,1953658222);uD(l,16781057);uD(l,u);uD(l,G+Nr+d);for(xc=Xe=0;xc<u;xc++)m=c[xc],e=Math.round(b*m/u),m=Math.round(b*(m+1)/u)-e,mg=e-Xe+Lx,uD(l,m),uD(l,k?cb[xc]:f),uD(l,Un[xc]),uD(l,mg),Xe+=m;n&&(uD(l,n.size),uD(l,1935763823),uD(l,\
|
|
0),uD(l,1),uD(l,t+d));a&&vD(l,a);return l.data.buffer\};\
|
|
zD=function(a)\{a=new window.DataView(a.buffer,a.byteOffset,a.byteLength);return(a=xD(a,1836476516))?yD(a):window.NaN\};\
|
|
sD=function(a,b,c)\{for(;AD(a,b);)\{var d=BD(a,b);if(d.type==c)return d;b+=d.size\}return null\};\
|
|
xD=function(a,b)\{for(var c=0;AD(a,c);)\{var d=BD(a,c);if(d.type==b)return d;c=CD(d.type)?c+8:c+d.size\}return null\};\
|
|
ED=function(a)\{return a.data.getUint8(a.offset+8)?DD(a.data,a.offset+12):a.data.getUint32(a.offset+12)\};\
|
|
BD=function(a,b)\{var c=a.getUint32(b),d=a.getUint32(b+4);return new FD(a,b,c,d)\};\
|
|
yD=function(a)\{var b=a.data.getUint8(a.offset+8)?28:20;return a.data.getUint32(a.offset+b)\};\
|
|
GD=function(a)\{return a.data.getUint32(a.offset+16)\};\
|
|
DD=function(a,b)\{return 4294967296*a.getUint32(b)+a.getUint32(b+4)\};\
|
|
AD=function(a,b)\{if(8>a.byteLength-b)return!1;var c=a.getUint32(b);if(8>c)return!1;for(var d=4;8>d;d++)\{var e=a.getInt8(b+d);if(97>e||122<e)return!1\}return a.byteLength-b>=c\};\
|
|
CD=function(a)\{return 1836019558==a||1836019574==a||1953653094==a\};\
|
|
FD=function(a,b,c,d)\{this.data=a;this.offset=b;this.size=c;this.type=d;this.b=8\};\
|
|
tD=function(a)\{var b=a.data.getInt32(a.offset+a.b);a.b+=4;return b\};\
|
|
HD=function(a)\{var b=a.data.getUint32(a.offset+a.b);a.b+=4;return b\};\
|
|
bca=function(a)\{var b=DD(a.data,a.offset+a.b);a.b+=8;return b\};\
|
|
ID=function(a)\{var b,c=[];do b=a.data.getUint8(a.offset+a.b),c.push(b),a.b++;while(0!=b);c.pop()\};\
|
|
eca=function(a)\{this.data=new window.DataView(new window.ArrayBuffer(a));this.b=0\};\
|
|
uD=function(a,b)\{a.data.setInt32(a.b,b);a.b+=4\};\
|
|
vD=function(a,b)\{for(var c=0;c+4<=b.size;)uD(a,b.data.getUint32(b.offset+c)),c+=4;for(;c<b.size;)a.data.setUint8(a.b++,b.data.getUint8(b.offset+c++))\};\
|
|
JD=function(a)\{return(a=sD(a,0,1836019558))?a.offset+a.size:null\};\
|
|
KD=function(a,b)\{for(var c=sD(a,0,b);c;)a.setUint32(c.offset+4,1936419184),c=sD(a,c.offset+c.size,b)\};\
|
|
LD=function(a,b)\{this.g=a;this.b=0;this.o=b||0\};\
|
|
ND=function(a)\{var b=MD(a,!0),c=a.g.byteOffset+a.b,c=new window.DataView(a.g.buffer,c,Math.min(b,a.g.buffer.byteLength-c)),c=new LD(c,a.o+a.b);a.b+=b;return c\};\
|
|
PD=function(a)\{for(var b=MD(a,!0),c=OD(a),d=1;d<b;d++)c=256*c+OD(a);return c\};\
|
|
QD=function(a)\{var b=MD(a,!0);a.b+=b\};\
|
|
SD=function(a)\{var b=a.b;a.b=0;var c=!1;RD(a,440786851)&&(a.b=0,RD(a,408125543)&&(c=!0));a.b=b;return c\};\
|
|
TD=function(a)\{var b=a.b;a.b=0;var c=1E6;RD(a,408125543)&&(MD(a,!0),RD(a,357149030)&&(MD(a,!0),RD(a,2807729)&&(c=PD(a))));a.b=b;return c\};\
|
|
fca=function(a,b)\{var c=a.b;a.b=0;if(!UD(a)||!RD(a,160))return a.b=c,window.NaN;MD(a,!0);if(!RD(a,161))return a.b=c,window.NaN;var d=MD(a,!0);OD(a);var e=OD(a)<<8|OD(a);a.b+=d-3;if(!RD(a,155))return a.b=c,window.NaN;d=PD(a);a.b=c;return(e+d)*b/1E9\};\
|
|
UD=function(a)\{if(SD(a))\{if(!RD(a,408125543))return!1;MD(a,!0)\}if(!RD(a,524531317))return!1;MD(a,!0);return!0\};\
|
|
RD=function(a,b)\{if(a.b>=a.g.byteLength)return!1;for(;MD(a,!1)!=b;)if(QD(a),a.b>=a.g.byteLength)return!1;return!0\};\
|
|
MD=function(a,b)\{var c=OD(a);if(1==c)\{for(var d=c=0;7>d;d++)c=256*c+OD(a);return c\}for(var e=128,d=0;6>d&&e>c;d++)c=256*c+OD(a),e*=128;return b?c-e:c\};\
|
|
OD=function(a)\{return a.g.getUint8(a.b++)\};\
|
|
VD=function(a,b)\{sk.call(this);this.o=0;this.A=a;this.b=[];this.g=null;this.C=b;this.D=this.B=null;this.F=x(function(a)\{this.A.F&&(this.Y("timestamprewrite",a),this.A.F=!1)\},this)\};\
|
|
WD=function(a)\{return a.b.length?a.b[0]:null\};\
|
|
XD=function(a)\{return a.b.length?a.b[a.b.length-1]:null\};\
|
|
hca=function(a,b)\{var c=gca(a,b);D(c,function(a)\{this.b.push(a)\},a);\
|
|
return df(c,function(a,c)\{return c.b==b.b?a:a+c.g.length\},0)\};\
|
|
ica=function(a)\{return Uh(a.b,function(a)\{return a.info.C\})\};\
|
|
jca=function(a,b)\{if(b)\{var c=ab(a.b,function(a)\{return a.info.C\});\
|
|
-1!=c&&(a.b=ub(a.b,0,c+1))\}else a.b=[]\};\
|
|
kca=function(a)\{if(!a.b.length)return 0;for(var b=a.b[0].g.length,c=1;c<a.b.length;c++)a.b[c].b!=a.b[c-1].b&&(b+=a.b[c].g.length);a.g&&(b+=a.g.g.length);return b\};\
|
|
lca=function(a)\{return Ii(a.b,function(a)\{return a.info\})\};\
|
|
gca=function(a,b)\{if(!b.verify()||b.info.b.Gm())\{var c=YD(b.info);c.verification="1";a.Y("error",c||\{\})\}if(ZD(a,b))\{c=$D(b);if(c=sD(c,0,1701671783))\{ID(c);ID(c);HD(c);HD(c);HD(c);HD(c);var d=new window.Uint8Array(new window.ArrayBuffer(c.size-c.b)),e=new window.Uint8Array(c.data.buffer,c.offset+c.b,c.size-c.b);d.set(e);c.b=c.size;c=String.fromCharCode.apply(String,new window.Uint8Array(d.buffer));c=(c=qD(c))?new aca(c):null\}else c=null;b.o=c;b.o&&(b.info.A=b.o.o,b.info.F=b.o.A)\}a.A.la&&ZD(a,b)&&KD($D(b),\
|
|
1701671783);if(a.A.R)\{a.C.jd()||(c=null===a.B?b.info.startTime:a.B,aE(b,c)?a.B=c+bE(b):(c=YD(b.info),c.smst=1,a.Y("error",c||\{\})));if(!a.C.jd()&&(0==b.info.g||a.g)&&1==b.info.b.info.g&&3==b.info.type&&!cE(b)&&b.info.duration&&(a.o+=1E3*(bE(b)-b.info.duration),a.D&&25<=Math.abs(a.o-a.D.o)))\{c=(a.D.o-a.o)/1E3;d=bE(b)+c;e=d*dE(b);if((e=eE(a,b,e))&&e.length)\{var f=YD(b.info);f.fds=d.toFixed(3);f.com=a.o.toFixed(3);a.Y("timestamprewrite",f);a.B+=c;a.o+=1E3*c\}return e?e:fE(a,b)\}if(a.A.ba&&a.C.jd()&&(0==\
|
|
b.info.g||a.g)&&1==b.info.b.info.g)return c=b.info.b.index.Ti(b.info.A),(c=eE(a,b,c))?c:fE(a,b)\}return[b]\};\
|
|
ZD=function(a,b)\{return!a.C.jd()&&3==b.info.type&&1==b.info.b.info.g&&0==b.info.g\};\
|
|
fE=function(a,b)\{if(a.g&&a.g!=b)\{var c=[a.g,b];a.g=null;return c\}return[]\};\
|
|
eE=function(a,b,c)\{var d;if(a.g)\{d=a.g;var e=new window.Uint8Array(d.range.length+b.range.length);e.set(new window.Uint8Array(d.b,d.range.start,d.range.length));e.set(new window.Uint8Array(b.b,b.range.start,b.range.length),d.range.length);d=new window.DataView(e.buffer);JD(d)\}else d=$D(b),d=(e=JD(d))&&e<d.byteLength?d:null;if(!d)return a.g=b,null;(c=wD(d,c,a.F))?(d=JD(d),a.g&&(d-=a.g.range.length,a.g=null),a=gE(b,d),a[0].b=c,a[0].range=oD(0,c.byteLength),a[0].g=oD(0,c.byteLength)):a=null;return a\};\
|
|
hE=function(a,b)\{this.da=a;this.g=b;this.B=[];this.o=new VD(a,b);this.A=this.b=null;this.C=0;this.R=b.info.b;this.K=this.M=!1;this.J=new pD;this.D=null;this.F=0;this.H=b.Tn();this.G=-1\};\
|
|
jE=function(a,b)\{a.B.push(b);a.b=$a(b.info.b);a.C+=iE(b)\};\
|
|
nE=function(a)\{for(;a.B.length&&6==a.B[0].state;)kE(a,a.B.shift());a.B.length&&lE(a.B[0])&&!mE(a.B[0].info.b[0])&&kE(a,a.B[0])\};\
|
|
kE=function(a,b)\{if(!b.N&&b.o)\{var c;c=a.C;b.N=!0;c=c-oE(b.info)+iE(b);a.C=c\}if(lE(b))\{c=b.o;var d=c.o;c.o=[];c.A=$a(d).info;D(d,a.ba,a)\}\};\
|
|
pE=function(a)\{return!(!a.o.b.length||1!=WD(a.o).info.b.info.g||0!=WD(a.o).info.g)\};\
|
|
qE=function(a)\{var b=$D(WD(a.o)),c=JD(b);return(!c||c>b.byteLength)&&1==a.o.b.length\};\
|
|
sE=function(a,b,c)\{qE(a);var d=WD(a.o);a=rE(a);if(!a)return null;c=c||d.info.b.index.Ti(d.info.A);return(b=wD(a,c,b))?b:null\};\
|
|
uE=function(a)\{var b=WD(a.o),c=rE(a);if(c&&(c=JD(c)))if(c>$D(b).byteLength)\{var d=a.o.b[1];tE(a,b.range);tE(a,oD(d.range.start,c-b.range.length))\}else tE(a,oD(b.range.start,c))\};\
|
|
rE=function(a)\{var b=WD(a.o),c=$D(b),d=JD(c);if(!d||d>c.byteLength)\{d=a.o.b[1];a=new window.Uint8Array(b.range.length+d.range.length);a.set(new window.Uint8Array(b.b,b.range.start,b.range.length));a.set(new window.Uint8Array(d.b,d.range.start,d.range.length),b.range.length);d=JD(new window.DataView(a.buffer));if(!d||d>a.byteLength)return null;c=new window.DataView(a.buffer.slice(0,d))\}return c\};\
|
|
tE=function(a,b)\{for(var c=a.o,d=[],e;c.b.length;)\{if(c.b[0].range.end>b.end)\{var f=gE(c.b[0],b.end-c.b[0].range.start+1);e=f[0];c.b[0]=f[1]\}else e=c.b.shift();d.push(e);if(e.range.end==b.end)break\}d.length&&(D(d,a.aa,a),c=$a(d),a.o.b.length&&c.b==WD(a.o).b||(a.C-=c.g.length))\};\
|
|
xE=function(a,b)\{var c=vE(a,b);if(0<=c)return c;a.b=a.g.qg(b).b[0];wE(a)&&(a.A=null);a.o.B=null;a.D=null;a.F=0;return a.b.startTime\};\
|
|
mca=function(a,b)\{var c=a.o.b.length?XD(a.o):a.A;if(b&&c&&!c.C)\{for(var d=c.A,c=[],e=0;e<a.B.length;e++)\{var f=a.B[e];Uh(f.info.b,function(a)\{return a.A==d\})?c.push(f):a.N(f)\}a.B=c;\
|
|
a.b=a.B.length?$a($a(a.B).info.b):null\}else yE(a)\};\
|
|
nca=function(a)\{a.C=0;D(a.B,function(a)\{this.C+=iE(a)\},a);\
|
|
a.C+=kca(a.o)\};\
|
|
zE=function(a,b)\{var c=!!a.g.info.video&&!!a.A&&!a.A.C,d=1<=b&&c;jca(a.o,d);a.M=d;mca(a,2<=b&&c);nca(a)\};\
|
|
AE=function(a)\{a.J.g||a.J.start();zE(a,0);wE(a)&&(a.A=null)\};\
|
|
wE=function(a)\{return!!a.A&&a.A.F\};\
|
|
BE=function(a)\{var b=[];a.A&&b.push(a.A);b=rb(b,lca(a.o));D(a.B,function(a)\{D(a.info.b,function(a)\{3!=a.type&&4!=a.type||b.push(a)\})\});\
|
|
a.b&&!oca(a.b,$a(b))&&b.push(a.b);return b\};\
|
|
CE=function(a)\{if(!a.b||!a.b.o)return!1;a=BE(a);if(!a.length)return!1;for(var b=1;b<a.length;b++)if(!(1E-6>=Math.abs(a[b].B-a[b-1].D)))return!1;return!0\};\
|
|
vE=function(a,b)\{if(CE(a))\{var c;a:\{c=BE(a);for(var d=0;d<c.length;d++)if(c[d].B<=b&&c[d].startTime+c[d].duration>=b)\{c=c[d];break a\}c=null\}if(c)return c.startTime\}return window.NaN\};\
|
|
DE=function(a)\{return Uh(a.B,function(a)\{return 4<=a.state\})\};\
|
|
EE=function(a)\{return!(!a.b||!a.g.Yc()||a.b.b==a.g)\};\
|
|
FE=function(a)\{return EE(a)&&a.b.b.info.b<a.g.info.b\};\
|
|
yE=function(a)\{D(a.B,a.N,a);a.B=[];a.b=null\};\
|
|
GE=function(a)\{return!!a.b&&-1!=a.b.A&&a.b.A<a.g.index.ng()\};\
|
|
HE=function(a)\{if(a.b)\{var b=XD(a.o);b&&3==b.info.type&&b.info.A>a.b.A&&(a.b=b.info)\}\};\
|
|
IE=function(a,b,c,d,e,f,k,l,m)\{this.b=b;this.range=c;this.type=a;this.A=0<=d?d:-1;this.startTime=e||0;this.duration=f||0;this.g=k||0;this.o=0<=l?l:this.range?this.range.length:window.NaN;this.F=!!m;this.range?(this.C=this.g+this.o==this.range.length,this.B=this.startTime+this.duration*this.g/this.range.length,this.G=this.duration*this.o/this.range.length):(this.C=0!=this.o,this.B=this.startTime,this.G=this.duration);this.D=this.B+this.G\};\
|
|
oca=function(a,b)\{return!(!b||b.b!=a.b||b.type!=a.type||(a.range&&b.range?b.range.end!=a.range.end:b.range!=a.range)||b.A!=a.A||b.g+b.o!=a.g+a.o)\};\
|
|
mE=function(a)\{return 1==a.type||2==a.type\};\
|
|
JE=function(a,b)\{return a.b==b.b&&a.range.start+a.g+a.o==b.range.start+b.g\};\
|
|
pca=function(a)\{1==a.length||Vk(a,function(a)\{return!!a.range\});\
|
|
for(var b=1;b<a.length;b++);b=a[a.length-1];return new mD(a[0].range.start+a[0].g,b.range.start+b.g+b.o-1)\};\
|
|
KE=function(a)\{var b="";Pb(YD(a),function(a,d)\{b+=d+"="+a+","\});\
|
|
return b.slice(0,-1)\};\
|
|
YD=function(a)\{var b=\{\};b.itag=Fu(a.b.info);b.seg=a.A;a.range&&(b.range=""+(a.range.start+a.g)+"-"+(a.range.start+a.g+a.o-1));b.time=""+a.B.toFixed(1)+"-"+(a.B+a.G).toFixed(1);return b\};\
|
|
LE=function(a,b,c,d,e)\{this.info=a;this.b=b;this.range=c;this.o=null;this.g=d;this.B=e\};\
|
|
$D=function(a)\{return a.range?new window.DataView(a.b,a.range.start,a.range.length):new window.DataView(a.b)\};\
|
|
gE=function(a,b)\{b=Math.min(b,a.info.o);var c=oD(a.range.start,b);return[new LE(new IE(a.info.type,a.info.b,a.info.range,a.info.A,a.info.startTime,a.info.duration,a.info.g,b,!1),a.b,c,a.g,a.B),new LE(new IE(a.info.type,a.info.b,a.info.range,a.info.A,a.info.startTime,a.info.duration,a.info.g+b,a.info.o-b,a.info.F),a.b,new mD(c.end+1,a.range.end),a.g,!1)]\};\
|
|
aE=function(a,b)\{if(1==a.info.b.info.g)\{for(var c=a.info.b.b,d=new window.DataView(a.b),e=window.NaN,f=window.NaN,k=0;AD(d,k);)\{var l=BD(d,k);(0,window.isNaN)(e)&&(1936286840==l.type?e=GD(l):1836476516==l.type&&(e=yD(l)));if(1952867444==l.type)\{!e&&c&&(e=zD(c));var m=ED(l);(0,window.isNaN)(f)&&(f=b*e-m);var n=l,m=m+f;if(n.data.getUint8(n.offset+8))\{var t=n.data,n=n.offset+12;t.setUint32(n,Math.floor(m/4294967296));t.setUint32(n+4,m&4294967295)\}else n.data.setUint32(n.offset+12,m)\}k=CD(l.type)?k+8:\
|
|
k+l.size\}return!0\}e=new LD(new window.DataView(a.info.b.b.buffer));c=new LD(new window.DataView(a.b));d=b;f=TD(e);e=c.b;c.b=0;if(UD(c)&&RD(c,231))if(k=MD(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.g.setUint8(c.b+f,d&255),d>>>=8;c.b=e;c=!0\}else c=!1;return c\};\
|
|
bE=function(a)\{var b;if(1==a.info.b.info.g)\{for(var c=b=0,d=new window.DataView(a.b);AD(d,b);)\{var e=BD(d,b);if(1936286840==e.type)\{var f=GD(e),k;k=e;var l=k.data.getUint8(k.offset+8);k.data.getUint16(k.offset+(0==l?30:38));k=k.data.getUint32(k.offset+(0==l?36:42));c+=k/f\}b=CD(e.type)?b+8:b+e.size\}b=c||window.NaN;if(!(0<=b))a:\{b=a.info.b.b;for(var c=0,d=new window.DataView(a.b),m,f=0;AD(d,c);)\{e=BD(d,c);if(1836476516==e.type)m=yD(e);else if(1836019558==e.type)\{!m&&b&&(m=zD(b));if(!m)\{b=window.NaN;\
|
|
break a\}l=e;k=m;var n=sD(l.data,l.offset+8,1953653094),t=sD(l.data,n.offset+8,1952868452),l=sD(l.data,n.offset+8,1953658222),n=tD(t);tD(t);n&2&&tD(t);var t=n&8?tD(t):0,u=tD(l),y=u&1,n=u&4,E=u&256,G=u&512,Y=u&1024,u=u&2048,N=HD(l);y&&tD(l);n&&tD(l);for(var Q=y=0;Q<N;Q++)\{var cb=E?tD(l):t;G&&tD(l);n&&0==Q||!Y||tD(l);u&&tD(l);y+=cb\}f+=y/k\}c=CD(e.type)?c+8:c+e.size\}b=f||window.NaN\}\}else m=new LD(new window.DataView(a.info.b.b.buffer)),b=fca(new LD(new window.DataView(a.b)),TD(m));return b||a.info.G\};\
|
|
dE=function(a)\{var b;b=new window.DataView(a.b);b=(b=xD(b,1936286840))?GD(b):window.NaN;(0,window.isNaN)(b)&&(b=a.info.b.b,a=new window.DataView(a.b),b=(a=xD(a,1836476516))?yD(a):b?zD(b):window.NaN);return b\};\
|
|
cE=function(a)\{return 1==a.info.b.info.g?a.o?a.o.B&&!!sD(new window.DataView(a.b),0,1718909296):!1:SD(new LD(new window.DataView(a.b)))\};\
|
|
qca=function(a,b)\{this.g=a;this.C=this.B=!1;this.length=b;this.b=0;this.o=[];if(1==this.g.length&&!this.g[0].range)\{var c=this.g[0],d=oD(0,this.length);this.g[0]=new IE(c.type,c.b,d,c.A,c.startTime,c.duration,c.g,d.length,c.F)\}this.A=null\};\
|
|
rca=function(a)\{var b=a.length-a.b;D(a.o,function(a)\{b+=a.range.length\});\
|
|
return b\};\
|
|
ME=function(a,b,c,d,e)\{this.status=0;this.D=this.response=null;this.G=d;this.B=c;this.J=e;this.g=[];this.C=null;this.A=this.b=0;this.wa=sca++;this.H=window.NaN;this.o=null;a=new window.Request(a,\{method:"GET",credentials:"include"\});(0,window.fetch)(a).then(Ui(x(this.ZF,this)),Ui(x(this.mk,this)));C();this.F=!1;b()\};\
|
|
OE=function(a)\{a.g.push(a.C.subarray(0,a.b));a.b=0;a.C=a.F?null:new window.Uint8Array(NE(a))\};\
|
|
PE=function(a)\{a.o.read().then(Ui(x(a.AC,a)),Ui(x(a.mk,a)));var b=C();a.H=b\};\
|
|
NE=function(a)\{a=a.lg();return Math.max(16384,.125*a)\};\
|
|
QE=function(a,b,c,d,e)\{this.status=0;this.response=null;this.g=this.o=!1;this.b=new window.XMLHttpRequest;this.b.open("GET",a);this.b.responseType="arraybuffer";this.b.withCredentials=!0;this.b.onreadystatechange=x(this.gI,this);this.A=d;this.C=c;this.B=e;a=Ui(x(this.eI,this));this.b.addEventListener("load",a,!1);this.b.addEventListener("error",a,!1);this.b.send();b();this.b.addEventListener("progress",Ui(x(this.fI,this)),!1)\};\
|
|
RE=function(a,b,c,d)\{this.A=a;this.info=b;this.timing=c;this.R=d;this.state=1;this.b=null;this.J=this.D=this.G=0;this.C=window.NaN;this.F=this.g=this.K=null;this.B=0;this.o=null;this.N=!1;this.H=null;this.ba=window.NaN;this.M=0\};\
|
|
TE=function(a)\{var b;b=a.timing;b=\{rt:((C()-b.g)/1E3).toFixed(2),lb:b.b,pt:(b.M/1E3).toFixed(2),pb:b.J\};b.shost=a.g?SE(a.g.b):"";b.rn=a.G.toString();a.B&&(b.rc=a.B.toString());b.ml=""+ +a.info.b[0].b.Yc();410!=a.B&&500!=a.B&&503!=a.B||(b.isPotentialFormatUnavaliable="true");return b\};\
|
|
UE=function(a)\{var b=a.g?SE(a.g.b):"";b in a.R||(a.R[b]=\{af:0,Yt:0\});return a.R[b]\};\
|
|
VE=function(a)\{a.isDisposed();if(2>a.D)a=!0;else\{var b=a.info.g;a=!(a.G>b.o&&1<=b.g)\}return a\};\
|
|
WE=function(a,b)\{a.state=b;if(5<=a.state)\{var c=a.timing;c.A&&(c.A=!1)\}a.K&&a.K(a)\};\
|
|
XE=function(a)\{return Vk(a.info.b,function(a)\{return 3==a.type\})\};\
|
|
YE=function(a)\{if(a.b)\{var b=a.b;a.b=null;b.Wu()\}a=a.timing;a.A&&(a.A=!1)\};\
|
|
$E=function(a)\{var b=a.b.kf("content-type"),c=a.b.lg();return(!ZE(a)||!b||-1!=b.indexOf("text/plain"))&&(!c||2048>=c)\};\
|
|
lE=function(a)\{return 2<=a.state&&!!a.o&&!!a.o.o.length\};\
|
|
aF=function(a,b)\{ZE(a)&&!a.b.lg()&&(a.A.H=!1,a.A.ga=!1);if(b||ZE(a)&&!$E(a))\{if(!a.o)\{var c=b?a.b.xl():a.b.lg();a.o=new qca(a.info.b,c)\}for(;a.b.nr();)for(var c=a.o,d=a.b.St(),e=0,f=0,k=0;k<c.g.length;k++)\{var l=c.g[k];if(e+l.o<=c.b)e+=l.o;else\{var m;m=c;var n=l;1==n.type?(m.B=!0,m=!1):3==n.type||4==n.type?(n=m.B&&!m.C,m.C=!0,m=n):m=!1;var n=c.b-e,t=Math.min(l.o-n,d.length-f);c.o.push(new LE(new IE(l.type,l.b,l.range,l.A,l.startTime,l.duration,l.g+n,t,l.g+n+t==l.range.length&&l.F),d.buffer,oD(d.byteOffset+\
|
|
f,t),oD(d.byteOffset,d.length),m||l.b.Yu()));m=t;c.b+=m;f+=m;e+=l.o;if(f==d.length)break\}\}\}\};\
|
|
iE=function(a)\{return a.o&&a.N?rca(a.o):oE(a.info)\};\
|
|
ZE=function(a)\{return!!(a.A.H||a.A.ga&&a.b&&a.b instanceof ME)\};\
|
|
tca=function(a,b,c,d)\{this.o=a;this.J=b;this.N=c;this.b=this.C=this.g=window.NaN;this.H=this.K=this.A=!1;this.B=0;this.F=this.M=window.NaN;this.D=d\};\
|
|
dF=function(a,b,c)\{if(!a.A)8192<=c&&(a.D||bF(a.o,(b-a.g)/1E3),a.A=!0);else if(!a.D)\{var d=(b-a.C)/1E3,e=c-a.b;0<e&&(.2<d||1024>e?(a.B+=d,.2<d&&cF(a.o,.05,e)):cF(a.o,d,e),a.H=!0)\}a.C=b;a.b=c\};\
|
|
eF=function(a)\{var b=a.J-a.b,b=1E3*(b*a.G.tailDelay+b/a.G.byterate),c=C(),b=8192<=a.b?b+c:b+Math.max(c,a.g+1E3*a.G.delay);a.F=b\};\
|
|
fF=function(a,b,c,d,e,f)\{this.duration=c;this.endTime=b+c;this.ingestionTime=d;this.b=a;this.g=e;this.startTime=b;this.range=f||null\};\
|
|
gF=function(a,b,c,d)\{sk.call(this);this.G=a;this.A=b;this.B=c;this.g=this.o=null;this.J=new Vba(a,b);this.b=null;this.D=new Wba(this.J,b,this.B,d);this.C=this.ea=this.N=this.ga=window.NaN;this.K=!1;this.H=window.NaN;this.ia=0;this.F=!1;this.ua=\{\};this.R="";this.X=this.aa=0;this.ha=b.Ia?new $ba:null;this.la=new iC(5);this.qa=x(function(a)\{this.A.F&&(this.Oc(!1,"qoe.avsync",a),this.A.F=!1)\},this);\
|
|
this.ca=!1;this.na=\{\}\};\
|
|
jF=function(a)\{0==a.C&&(a.o.g.o||hF(a,a.o,!0),a.g.g.o||hF(a,a.g,!0));a.seek(a.C);iF(a,"gv")\};\
|
|
lF=function(a)\{a.b&&a.b.b&&a.b.b.removeEventListener&&(a.b.b.removeEventListener("updateend",x(a.dd,a),!1),a.b.g.removeEventListener("updateend",x(a.dd,a),!1),a.b.b.removeEventListener("error",x(a.wj,a,!0),!1),a.b.g.removeEventListener("error",x(a.wj,a,!1),!1));a.b=null;a.F=!0;kF(a)\};\
|
|
mF=function(a)\{a.b&&Uz(a.b)&&lF(a)\};\
|
|
nF=function(a,b,c)\{if(!b.J.g||!c.remove)return!1;if(c.updating)return!0;if(!b.J.b&&c.buffered.length)return a=c.buffered.end(c.buffered.length-1),c.remove(0,a),b.J.b=!0;b.J.reset();a.Y("seekrequired");return!1\};\
|
|
uca=function(a,b)\{a.J.o=Math.max(1,b)\};\
|
|
qF=function(a,b,c)\{if(a.F&&(!a.A.K||!oF(a.G)))return!1;if(a.B.g)\{if(0<b.B.length)return!1;if(b.H)return!0\}if(!b.b)\{if(!b.g.Yc())return b.g.o||hF(a,b,!1),!1;xE(b,a.C)\}var d=b.B.length+c.B.length;(DE(b)||DE(c)||a.B.isLive)&&--d;if(2<=d+1)return!1;d=b.b;4==d.type&&d.b.Yc()&&(b.b=$a(d.b.Jj(d)),d=b.b);!d.F&&!d.b.Zg(d)||d.b.info.audio&&4==d.type?a=!1:FE(b)&&!a.A.J?a=!0:(!(c=d.F||b.C+c.C>a.A.M||!!(c.b&&!c.b.F&&c.b.D<d.D)&&(!a.B.g||c.b.D&&d.D))&&(c=3==d.type)&&(d=d.D,b=pF(a,b,!0),a.D.b.isLocked()||(c=(Bq()-\
|
|
a.ia)/1E3,b=Math.min(b,30+a.A.ca*c)),c=d>a.C+b),a=c?!1:!0);return a\};\
|
|
rF=function(a,b,c)\{if(!a.b||Sz(a.b)||Xz(a.b))\{var d=a.C,e=a.J;c=ZC(e,b.g.info.b,c.g.info.b,0);e=YC(e.b)+c*WC(e.b)+c/XC(e.b);a:\{d+=Math.max(e,e+5-c/b.g.info.b);a=a.D.H;if(b.B.length)\{if(b.B[0].info.b[0].startTime<=d)break a;yE(b)\}e=b.C;c=b.o;for(var f=0,k=c.b.length-1;0<=k;k--)\{var l=c.b[k];l.info.startTime>d&&(c.b.pop(),c.b.length&&c.b[k-1].b==l.b||(f+=l.g.length))\}b.C=e-f;b.B.length?b.b=$a($a(b.B).info.b):b.o.b.length?b.b=XD(b.o).info:b.b=b.A;a&&b.b&&d<b.b.startTime&&(b.o.B=null,b.D=null,b.F=0,b.b=\
|
|
b.g.qg(d,!0).b[0])\}\}\};\
|
|
tF=function(a,b,c)\{qF(a,b,c);var d=b.b;if(b.H)a.ca=!0,d=b.g.qg(window.Infinity);else if(b.b.b.Yc())\{!FE(b)||a.A.J||a.B.g||(rF(a,b,c),b.b||xE(b,a.C));var d=b.b,e=d.D-a.C,f=!d.range||0==d.o&&0==d.g?0:d.range.length-(d.g+d.o);EE(b)&&(FE(b)||e<=a.A.X)&&0==f&&(a.B.g?d.b=b.g:(f=d.startTime+gF.b,d.o&&(f+=d.duration),xE(b,f),d=b.b));d.b.jd()?(c=ZC(a.J,d.b.info.b,c.g.info.b,e),e=EE(b),c=d.b.Yg(d,c),c.range&&1<c.b.length&&(e?c=d.b.Yg(d,c.b[0].o):(e=c.b[c.b.length-1],f=e.o/c.range.length,!e.C&&.4>f&&(c=d.b.Yg(d,\
|
|
c.range.length-e.o)))),d=c):d=d.b.lk(d)\}else d.b.jd()?(c=ZC(a.J,b.g.info.b,c.g.info.b,0),d=d.b.Yg(d,c)):d=d.b.lk(d);jE(b,sF(a,d))\};\
|
|
sF=function(a,b)\{if(3==b.b[b.b.length-1].type)\{var c;a:\{c=a.D;var d=b.b[0].b;if(d.info.video)\{if(c.o!=d)\{c.o=d;c=kD(c);break a\}\}else c.J=d;c=null\}c&&a.Y("videoformatchange",c)\}c=oE(b);var d=a.G,e=a.J,f=Math.min(2.5,YC(e.b)),e=$C(e);c=new RE(a.A,b,new tca(d,c,c-f*e,a.A.Ga&&a.ca),a.na);d=x(a.GE,a);c.isDisposed();c.K=d;c.start(Math.max(0,b.b[0].B-a.C));return c\};\
|
|
uF=function(a)\{if((0,window.isNaN)(a.ga))\{var b=x(a.dd,a);a.ga=Vi(b,0)\}\};\
|
|
vF=function(a)\{if((0,window.isNaN)(a.N))\{var b=x(function()\{this.N=window.NaN;this.dd()\},a);\
|
|
a.N=Vi(b,1E3)\}\};\
|
|
zF=function(a,b,c,d,e)\{if(c.updating)return!0;var f=WD(b.o);if(!f)return!1;!b.A||b.A.C||JE(b.A,f.info)||(b.A=null,Sz(a.b)&&c.abort(),c.b=null);var k=a.B.isLive&&cE(f),l=!a.B.o&&b.da.ba&&pE(b);a.A.ua&&a.B.o&&0==f.info.g&&1==f.info.b.info.g&&(a.B.g?null!=b.A&&b.A.b==f.info.b:null!=c.b&&c.b==f.info.b.b)&&(KD($D(f),1836019574),KD($D(f),1718909296),f.B=!1);if(!a.B.o||0==f.info.g)if(k=k||a.B.g||f.B,l||!k)\{if(k=f.info.b.b,c.b==k?k=!1:(wF(a,c,k),c.b=k,a.Y("initsegment",c.b),k=c.updating),k)return!0\}else c.b=\
|
|
null;k=pF(a,b,!1);k=a.C+k;null!==d&&0<=d&&(k=Math.min(k,d));if(b.M)d=WD(b.o).range;else a:if(d=b.o,d.b[0].info.B>=k)d=null;else\{var m;for(m=1;m<d.b.length;m++)\{var n=d.b[m].b!=d.b[m-1].b;if(d.b[m].info.B>k||n||d.A.ba)break\}m--;m=d.b[m];var n=m.range.end,t=m.info.D-k;if(d.C.jd()&&d.C.info.audio&&0<=d.A.da&&t>d.A.da)\{k=Math.floor((k-m.info.B)/m.info.G*m.info.o);if(0==k)\{d=null;break a\}n=m.range.start+k-1\}d=new mD(d.b[0].B?0:d.b[0].range.start,n)\}if(!d)return!1;if(l)\{if(qE(b))return!1;if(k=sE(b,a.qa))return xF(a,\
|
|
c,new window.Uint8Array(k),f,b)?(uE(b),!0):!1\}k=new window.Uint8Array(f.b,d.start,d.length);if(a.ha&&f.info.b.info.video&&1==f.info.b.info.g&&(m=a.ha,n=k,0==f.info.g&&(m.g=0,m.b=0,m.o=[]),!((0,window.isNaN)(m.g)||8>n.length)))\{for(var t=new window.DataView(n.buffer,n.byteOffset),u=!1;!u;)if(m.g==m.b)a:\{var u=m,y=t,E=n.length;if(u.g+7>=E)\{for(var G=u.g;G<E;G++)u.o.push(y.getUint8(G));u=!0\}else\{if(0<u.o.length)\{for(G=0;8>u.o.length;G++)u.o.push(y.getUint8(G));G=lD(u.o,0);y=lD(u.o,4);u.o=[]\}else G=y.getUint32(u.b),\
|
|
y=y.getUint32(u.b+4);if(1836019558==y||1836019574==y||1718909296==y||1936286840==y)u.g+=G,u.b=u.g;else if(1835295092==y)u.g+=G,u.b+=8;else\{u.g=window.NaN;u=!0;break a\}u=u.b>=E\}\}else a:if(u=m,E=t,y=n.length,u.b+5>=y)\{for(G=u.b;G<y;G++)u.o.push(E.getUint8(G));u=!0\}else\{if(0<u.o.length)\{for(G=0;6>u.o.length;G++)u.o.push(E.getUint8(G));G=lD(u.o,0);12==G&&6==u.o[4]&&45==u.o[5]&&E.setUint8(u.b+5,63);u.b+=G+4;u.o=[]\}for(;u.b<u.g&&u.b+5<y;)\{G=E.getUint32(u.b);if(0>=G)\{u.g=window.NaN;u=!0;break a\}12==G&&6==\
|
|
E.getUint8(u.b+4)&&45==E.getUint8(u.b+5)&&E.setUint8(u.b+5,63);u.b+=G+4\}u=u.b>=y\}(0,window.isNaN)(m.g)||(m.g-=n.length,m.b-=n.length)\}m=!1;if(3==f.info.type&&(1==f.info.b.info.g||2==f.info.b.info.g))if(m=1==f.info.b.info.g&&a.A.Oa&&!l&&!b.K&&0==f.info.g&&0<f.info.startTime)aE(f,0);else if(a.B.o&&0==f.info.g&&!a.A.R)\{a:if(pE(b)&&!cE(WD(b.o))&&qE(b))e=!1;else\{l=null===b.D?f.info.startTime:b.D;0==aE(f,l)?(l=YD(f.info),l.smst=1,a.Oc(!0,"fmt.unparseable",l)):(n=bE(f),b.D=l+n,a.B.g&&f.info.b.info.video&&\
|
|
yF(a,f,l,n));l=0;f.info.b.info.video&&null!==e&&f.info.duration&&!a.B.g&&(n=1E3*(bE(f)-f.info.duration),e-=b.F+n,25<=Math.abs(e)&&(l=e/1E3));e=l;l=bE(f);n=l+e;e&&!cE(f)&&(t=YD(f.info),t.deltaOffsetMs=1E3*(l-f.info.duration).toFixed(3),t.cumOffsetMs=b.F.toFixed(3),t.finalDurSecs=n.toFixed(3),a.Oc(!1,"qoe.avsync",t));if(pE(b)&&!cE(WD(b.o))&&e&&0<n)\{if(b.F+=1E3*(l-f.info.duration+e),b.D+=e,e=sE(b,r,n*dE(f)))\{if(xF(a,c,new window.Uint8Array(e),f,b))\{uE(b);e=!0;break a\}e=!1;break a\}\}else b.F+=1E3*(l-f.info.duration);\
|
|
e=null\}if(null!=e)return e\}else if(a.A.R&&a.B.g&&f.info.b.info.video)\{e=f.info.b.b;n=l=window.NaN;t=0;for(u=new window.DataView(f.b);AD(u,t);)E=BD(u,t),1936286840==E.type?n=GD(E):1836476516==E.type?n=yD(E):1952867444==E.type&&(0,window.isNaN)(l)&&(l=ED(E)),t=CD(E.type)?t+8:t+E.size;!n&&e&&(n=zD(e));yF(a,f,l/n||f.info.B,bE(f))\}if(!xF(a,c,k,f,b))return!1;b.K=!0;m?(aE(f,f.info.startTime),c.abort(),c.b=null,KE(f.info)):(tE(b,d),KE(b.A),kC(c.buffered));f.B&&(c.b=f.info.b.b,a.Y("initsegment",c.b));return!0\};\
|
|
xF=function(a,b,c,d,e)\{b=wF(a,b,c);return 0!=b?(2!=b&&(d.info.b.info.video?(a=a.A,a.o=Math.floor(.5*a.o),a.N=Math.floor(.5*a.N),a.b=Math.floor(.5*a.b),a.C=Math.floor(.5*a.C)):(a=a.A,a.B=Math.floor(.5*a.B),a.aa=Math.floor(.5*a.aa),a.b=Math.floor(.5*a.b)),AE(e)),!1):!0\};\
|
|
yF=function(a,b,c,d)\{d=new fF(b.info.A,c,d,b.o.ingestionTime+(a.la.o()||0),"sq/"+b.info.A);var e=a.B,f=!1,k;for(k in e.b)d.b>e.b[k].index.Qb()&&(e.b[k].index.ra.push(d),f=!0);f&&(b=b.o,b=b.b["Cuepoint-Type"]?new rD((0,window.parseFloat)(b.b["Cuepoint-Playhead-Time-Sec"])||0,(0,window.parseFloat)(b.b["Cuepoint-Total-Duration-Sec"])||0,b.b["Cuepoint-Context"]):null)&&(b.ae+=c,a=a.B,a.G.push(b),a.Y("cuepointsadded"))\};\
|
|
wF=function(a,b,c)\{try\{Xz(a.b)?b.appendBuffer(c):b.append(c)\}catch(d)\{return 11==d.code?(a.Oc(!1,"html5.invalidstate",\{updating:""+ +b.updating,mrs:a.b.o.readyState\}),2):22!=d.code&&0!=d.message.indexOf("Not enough storage")?(Zi(d),4):1\}return Uz(a.b)?3:0\};\
|
|
AF=function(a,b)\{b.o.subscribe("error",a.HD,a);b.o.subscribe("timestamprewrite",a.cF,a)\};\
|
|
pF=function(a,b,c)\{if(a.A.K&&a.F)return a.A.K;var d=b.g.info.audio?a.A.B:a.A.o;!a.A.J&&a.D.b.isLocked()&&(d=Math.max(d,b.g.info.audio?a.A.aa:a.A.N));c&&(d+=a.A.M);b=a.D.b.isLocked()?b.b?b.b.b.info.b:b.g.info.b:b.R;d/=b;0<a.A.b&&(d=Math.min(d,a.A.b));return d\};\
|
|
BF=function(a)\{if(a.B.isLive)\{if(!a.o.g.index.jf())return window.NaN;var b=a.o.g.index.ng(),c=a.o.g.index.Qb(),d=a.o.g.index;return 1>a.A.liveChunkReadahead?d.ze(c)+d.hf(c)-.2:d.ze(Math.max(b,c-a.A.liveChunkReadahead+1))+.2\}return Math.floor(Math.min(a.o.g.index.Xg(),a.g.g.index.Xg()))\};\
|
|
CF=function(a,b,c,d)\{if(b.g.Yc())if(d)\{var e=mC(d.buffered,c),f=window.NaN,k=b.A;k&&(f=mC(d.buffered,k.b.index.ze(k.A)));if(e==f&&CE(b))return c;d=vE(b,c);if(0<=d)return d;d=b.g.jd()?1:2;zE(b,d);b.g.info.video&&b.A&&!b.A.C&&!ica(b.o)&&b.g.jd()&&(d=b.A,b.o.b.length&&(d=XD(b.o).info),d=b.b||d,d=d.b.Yg(d,d.range.length-(d.o+d.g)),jE(b,sF(a,d)));if((0,window.isNaN)(e))return xE(b,c);xE(b,e+gF.b)\}else xE(b,c);else b.g.o||hF(a,b,!1),0!=c&&yE(b);return c\};\
|
|
EF=function(a,b,c)\{b.g!=c&&(b.g=c,c.o||hF(a,b,!1))\};\
|
|
hF=function(a,b,c)\{var d=c?65536:0;c&&!(0,window.isNaN)(2)&&(d=Math.min(a.A.C,Math.floor(Math.max(d,2*b.g.info.b))));c=b.g.Hl(d);D(c,function(a)\{if("f"!=a.b[0].b.info.o)\{var c=sF(this,a);!mE(a.b[a.b.length-1])&&jE(b,c)\}\},a);\
|
|
b.g.o=!0\};\
|
|
FF=function(a)\{if(!a.g.b)return"";a=SE(a.g.b.b.C.b);return a.substr(0,a.indexOf("."))\};\
|
|
GF=function(a)\{var b=\{lct:a.C.toFixed(3),lsk:a.K,lmf:a.D.b.isLocked(),lbw:XC(a.G).toFixed(3),lhd:YC(a.G).toFixed(3),ltd:(1E9*WC(a.G)).toFixed(3),laa:a.o.A?KE(a.o.A):"",lva:a.g.A?KE(a.g.A):"",lar:a.o.b?KE(a.o.b):"",lvr:a.g.b?KE(a.g.b):"",lvh:FF(a)\};a.b&&!Uz(a.b)&&(b.lab=kC(a.b.b.buffered),b.lvb=kC(a.b.g.buffered));return b\};\
|
|
iF=function(a,b,c)\{a.ua[b]=c?window.performance.timing.navigationStart+c:Bq()\};\
|
|
kF=function(a)\{a.o&&zE(a.o,0);a.g&&zE(a.g,0)\};\
|
|
HF=function(a,b,c)\{this.b=a;this.g=b;this.B=c;this.A=\{\};this.o=null;this.fairPlayCert=""\};\
|
|
JF=function(a)\{return!a.o&&IF()&&"com.microsoft.playready"==a.g\};\
|
|
KF=function(a)\{return!a.o&&IF()&&"com.apple.fps.1_0"==a.g\};\
|
|
IF=function()\{var a=window.MSMediaKeys;Rp()&&!a&&(a=window.WebKitMediaKeys);return a&&a.isTypeSupported?a:null\};\
|
|
MF=function(a)\{var b=em&&Jz("45");a=LF&&a.Z("edge_nonprefixed_eme");var c=qA&&Jz("47");return window.navigator.requestMediaKeySystemAccess&&(b||a||c)\};\
|
|
NF=function(a,b,c,d,e)\{F.call(this);this.B=a;this.J=b;this.F=c;this.g=d;this.b=e;this.sessionId="";this.o=this.H=this.G=this.C=this.D=null;this.A=new rx(this);H(this,this.A);this.g?(this.A.S(this.g,"message",this.fJ),this.A.S(this.g,"keystatuseschange",this.gJ)):this.b&&(sx(this.A,this.b,["mskeymessage","webkitkeymessage"],this.ws),sx(this.A,this.b,["mskeyerror","webkitkeyerror"],this.vs),sx(this.A,this.b,["mskeyadded","webkitkeyadded"],this.us))\};\
|
|
vca=function(a)\{var b=[];a.g.keyStatuses.forEach(function(a,d)\{"usable"==a&&b.push(String.fromCharCode.apply(null,new window.Uint8Array(d)))\});\
|
|
return b\};\
|
|
OF=function(a,b)\{F.call(this);this.g=a;this.b=b;this.C=\{\};this.A=null;this.B=new rx(this);H(this,this.B);this.o=this.D=null\};\
|
|
PF=function(a)\{if(a.b.o)return a.b.o.createMediaKeys().then(Ui(x(function(a)\{this.D=a;this.g.setMediaKeys(a)\},a)));\
|
|
JF(a.b)?a.o=new (IF())(a.b.g):KF(a.b)?(a.o=new (IF())(a.b.g),a.g.webkitSetMediaKeys(a.o)):wca(a);return null\};\
|
|
wca=function(a)\{sx(a.B,a.g,["keymessage","webkitkeymessage"],a.jJ);sx(a.B,a.g,["keyerror","webkitkeyerror"],a.iJ);sx(a.B,a.g,["keyadded","webkitkeyadded"],a.hJ)\};\
|
|
QF=function(a,b)\{var c=a.C[b.sessionId];!c&&a.A&&(c=a.A,a.A=null,c.sessionId=b.sessionId,a.C[b.sessionId]=c);return c\};\
|
|
RF=function()\{this.keys=[];this.values=[]\};\
|
|
xca=function(a)\{a.keys=[];a.values=[]\};\
|
|
SF=function(a,b)\{return eb(a.keys,function(a)\{return Gb(b,a)\})\};\
|
|
yca=function(a,b,c)\{this.url=a;this.interval=b;this.b=c\};\
|
|
zca=function(a,b,c)\{this.b=a;this.headers=b;this.message=c\};\
|
|
UF=function(a,b,c,d,e,f)\{F.call(this);this.o=a;this.b=d;this.b.subscribe("oauthtoken",this.Zu,this);this.A=\{session_id:e\};this.J=f;this.H=0;a=this.o.B;KF(this.o)&&(a=c.b.subarray(4),a=String.fromCharCode.apply(null,new window.Uint16Array(a.buffer,a.byteOffset,a.byteLength/2)).replace("skd://","https://"));TF(this,a);this.C=this.D=!1;var k;try\{k=b.createSession(c)\}catch(l)\{b="t.g",l instanceof window.DOMException&&(b+=";c."+l.code),this.b.Y("licenseerror","drm.unavailable",!0,b,"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK"),\
|
|
k=null\}if(this.g=k)b=this.g,c=this.iI,k=this.hI,a=this.kI,b.D=this.jI,b.C=c,b.G=k,b.H=a,b.o=this,H(this,this.g);this.F=\{\}\};\
|
|
Aca=function(a,b)\{this.message=a;this.number=b;this.b=!1\};\
|
|
TF=function(a,b)\{if(Bca.test(b))\{for(var c in a.A)b=bh(b,c,a.A[c]);a.B=b\}else VF(a,"drm.net",!0,"t.u")\};\
|
|
VF=function(a,b,c,d,e)\{a.isDisposed()||a.b.Y("licenseerror",b,c,d,e);c&&a.dispose()\};\
|
|
Cca=function(a,b)\{return Uh(a,function(a)\{return"HD"==b[a]\})?"auto":"large"\};\
|
|
Dca=function(a)\{if(!a)return\{\};var b=\{\};D(a.split(";"),function(a)\{a=a.split(",");2==a.length&&(b[ar(a[1])]=a[0])\});\
|
|
return b\};\
|
|
WF=function(a,b)\{this.b=a;this.contentType=b||null\};\
|
|
YF=function(a,b,c,d,e,f)\{sk.call(this);a.addKey||a.webkitAddKey||IF()||MF(c);this.X=c;this.D=a;this.b=b;this.ba=!!f;this.subscribe("newlicense",this.WD,this);this.subscribe("newsession",this.XD,this);this.subscribe("sessionready",this.PE,this);this.subscribe("keystatuseschange",this.lI,this);this.R=e||gr();this.H=null;this.o=new RF;this.g=[];this.B=XF;this.G=new OF(a,b);H(this,this.G);this.A=null;JF(b)&&(this.A=new OF(a,b),H(this,this.A));this.K=2;this.F=new rx(this);H(this,this.F);this.J=!1;this.M=\
|
|
null;this.C=!1;a=this.D;this.b.o?this.F.S(a,"encrypted",this.bD):sx(this.F,a,JF(this.b)?["msneedkey"]:["needkey","webkitneedkey"],this.UD);(a=PF(this.G))?a.then(Ui(x(this.GD,this)),Ui(x(this.lC,this))):this.C=!0;this.A&&PF(this.A);this.N=d\};\
|
|
$F=function(a,b,c)\{a.isDisposed()||JF(a.b)==c||a.J&&"widevine"==a.b.b&&!a.N||(a.J=!0,a.o.get(b.b)||(a.g.push(b),1<a.g.length||!a.C||a.o.set(b.b,ZF(a,b))))\};\
|
|
ZF=function(a,b)\{a.o.get(b.b);var c=new UF(a.b,a.G,b,a,a.R,a.ba);c.Zu(a.H);"playready"==a.b.b&&a.X.Z("playready_on_borg")&&(kc(c.A,\{prob:"1"\}),TF(c,c.B));return c\};\
|
|
aG=function(a)\{this.g=\{\};this.g.c1a=x(this.B,this);this.g.c3a=x(this.C,this);this.g.c6a=x(this.A,this);(this.b=a)&&this.b.Cb?this.o=Qj(this.b.Cb):this.o=[]\};\
|
|
bG=function(a,b,c,d)\{this.videoData=a;this.b=b;this.reason=c;this.g=d\};\
|
|
Eca=function(a,b)\{this.V=a;this.b=b\};\
|
|
cG=function(a,b)\{return $y($y(a.V.Je,b.Sa),b.Ya)\};\
|
|
eG=function(a,b)\{var c=yu();return"auto"!=c?Xy("auto",c,!1):dG(a,b)\};\
|
|
dG=function(a,b)\{if(QA(a.V)&&nA(a.V.K,hA))return Zy;var c;c=!!b.o.b;var d;DA(a.V)&&(d=window.screen&&window.screen.width?new jf(window.screen.width,window.screen.height):null);d||(d=a.V.Hd?a.V.Hd.clone():a.b.Ja());(AA||fG||c)&&d.scale(RA());c=d;var e;d=b.o.videoInfos;if(d.length)\{var f=.85;2==d[0].video.projectionType?f*=.5:3==d[0].video.projectionType&&(f*=.25);for(var k=0;k<d.length&&!(e=d[k].video,null===c||e.width*f<c.width&&e.height*f<c.height);k++);e=Xy("auto",e.quality,!1)\}else e=Zy;c=e.b;\
|
|
Sp()&&(c=Math.max(c,Wy.hd1080));(Mp("armv7")||Mp("android"))&&!QA(a.V)&&gG(b.o.videoInfos[0])&&(c=Math.min(c,Wy.large));c=Math.max(c,Wy.medium);e.b!=c&&(e=new Vy(e.g,c,e.o));return e\};\
|
|
Fca=function()\{this.A=this.b=window.NaN;this.g=this.o=!1\};\
|
|
hG=function(a,b)\{a.b=b;a.o=!0\};\
|
|
Aq=function(a,b,c,d)\{var e=1<d;e&&(a.g=!0);if(a.o)b!=a.b&&(a.o=!1);else if(0<b&&a.b==b)return c-a.A>(e||!a.g?1500:400);a.b=b;a.A=c;return a.g&&0>=d\};\
|
|
iG=function()\{this.o=\{\};this.b=\{\};this.g=new fe(this.kG,500,this);H(this,this.g)\};\
|
|
jG=function(a,b)\{return a.b[b]?a.b[b].b.Ra():[]\};\
|
|
kG=function(a)\{this.o=a;this.b=new fC(100);this.g=0\};\
|
|
lG=function(a)\{if(a.Hm)return 4;var b=Th("visibilityState",window.document);return b&&"visible"!=b?3:a.M?2:a.Sa?1:0\};\
|
|
Gca=function()\{this.g=0;this.b=this.C=this.o=this.A=window.NaN;this.B=0;this.G=this.H=this.D=this.F=window.NaN\};\
|
|
mG=function()\{this.endTime=this.startTime=-1;this.$k="-";this.playbackRate=1;this.visibilityState=0;this.Wk=""\};\
|
|
nG=function(a,b,c,d,e,f,k,l,m,n,t)\{this.videoData=a;this.b=b;this.A=c;this.B=d;this.g=e;this.C=f;this.J=k;this.G=l;this.H=m;this.D=n;this.F=t||function()\{\};\
|
|
this.o=null\};\
|
|
Du=function(a)\{return oG(a)()\};\
|
|
oG=function(a)\{if(!a.o)\{var b=qa(function(a)\{var b=Bq();a&&631152E6>=b&&(Zi(Error("invalid yt.now value: "+b)),b=(new Date).getTime());return b\},a.b.experiments.Z("html5_validate_yt_now"));\
|
|
a.o=qa(function(a)\{return Math.round(b()-a)/1E3\},b())\}return a.o\};\
|
|
Wu=function(a)\{var b=a.A();a=a.videoData;var c=\{\};a.g&&(c.fmt=Fu(a.g),a.B&&Fu(a.B)!=Fu(a.g)&&(c.afmt=Fu(a.B)));c.plid=a.playbackId;c.ei=a.eventId;c.list=a.playlistId;c.cpn=a.clientPlaybackNonce;a.videoId&&(c.v=a.videoId);a.Sb&&(c.infringe=1);a.Ca&&(c.splay=1);a.xa&&(c.live=a.K?"dvr":"live");a.J&&(c.autoplay=1);a.Ko&&(c.sdetail=a.Ko);a.Aa&&(c.partnerid=a.Aa);a.osid&&(c.osid=a.osid);ra(b,c);return b\};\
|
|
mu=function(a)\{var b=new mG;b.$k=a.A().cc||"-";b.playbackRate=a.H();var c=a.getVisibilityState();0!=c&&(b.visibilityState=c);a=a.G();a.Vb&&a.Vb.id&&"und"!=a.Vb.id&&(b.Wk=a.Vb.id);return b\};\
|
|
pG=function(a,b)\{this.state=a;this.b=b\};\
|
|
dv=function(a,b)\{return O(a.state,b)&&!O(a.b,b)?1:!O(a.state,b)&&O(a.b,b)?-1:0\};\
|
|
qG=function(a,b)\{this.b=a||0;this.spatialAudioType=b||0\};\
|
|
rG=function(a,b,c,d,e,f,k,l)\{this.id=a;this.g=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.b=k||0;this.A=l||0;this.audio=c||null;this.video=d||null;this.Vb=e||null;this.lf=f||null;this.o=Hca[Fu(this)]||""\};\
|
|
Fu=function(a)\{return a.id.split(";",1)[0]\};\
|
|
gG=function(a)\{return"9"==a.o||"("==a.o||"9h"==a.o\};\
|
|
sG=function(a)\{return!(a.audio&&a.video)\};\
|
|
tG=function(a)\{return 0<=a.indexOf("opus")||0<=a.indexOf("vorbis")||0<=a.indexOf("mp4a")\};\
|
|
uG=function(a)\{return 0<=a.indexOf("vp9")||0<=a.indexOf("vp8")||0<=a.indexOf("avc1")\};\
|
|
vG=function(a,b,c)\{this.name=a;this.id=b;this.isDefault=c\};\
|
|
wG=function(a,b,c,d,e,f,k,l,m,n,t)\{this.width=a;this.height=b;if(!f)a:\{f=Math.max(a,b);a=Math.min(a,b);b=bA[0];for(var u=0;u<bA.length;u++)\{var y=bA[u],E=Wy[y];if(f>=Math.floor(16*E/9)*wG.prototype.o||a>=E*wG.prototype.o)\{f=b;break a\}b=y\}f="tiny"\}this.quality=f;this.XF=Wy[this.quality];this.isAccelerated=!!k;this.fps=c||0;this.A=e||0;this.projectionType=d||0;(c=l)||(c=this.fps,d=this.projectionType,e=Wy[this.quality],c=0==e?M("YTP_AUTO"):e+(2==d||3==d?"s":"p")+(55<c?"60":49<c?"50":39<c?"48":""));\
|
|
this.qualityLabel=c;this.b=m||"";this.primaries=n||"";this.g=!1!==t\};\
|
|
Ica=function(a)\{return xG(function(a,c)\{return wu(a,c,4,1E3)\},a,\{format:"RAW",\
|
|
method:"GET"\})\};\
|
|
xG=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?xG(a,d,c):b\})\};\
|
|
yG=function(a)\{this.o=a;this.B=this.A=this.C="";this.b=\{\};this.g=""\};\
|
|
zG=function(a)\{a.g||(a.g=Jca(a));return a.g\};\
|
|
SE=function(a)\{AG(a);return a.B\};\
|
|
BG=function(a)\{AG(a);return Sb(a.b,function(a)\{return null!==a\})\};\
|
|
AG=function(a)\{if(a.o)\{if(!CG.test(a.o))throw Error("Untrusted URL: "+a.o);var b=qh(a.o);a.C=b.A;a.B=b.g+(null!=b.D?":"+b.D:"");var c=b.o;if(0==c.indexOf("/videoplayback"))a.A="/videoplayback",c=c.substr(14);else if(0==c.indexOf("/api/manifest/"))\{var d=c.indexOf("/",14);0<d?(a.A=c.substr(0,d),c=c.substr(d+1)):(a.A=c,c="")\}d=a.b;a.b=DG(c);ra(a.b,EG(b.J()));ra(a.b,d);a.o="";a.g=""\}\};\
|
|
Jca=function(a)\{AG(a);var b=a.C+(a.C?"://":"//")+a.B+a.A;if(BG(a))\{var c=[];Pb(a.b,function(a,b)\{null!==a&&c.push(b+"="+a)\});\
|
|
b+="?"+c.join("&")\}return b\};\
|
|
DG=function(a)\{a=a.split("/");var b=0;a[0]||b++;for(var c=\{\};b<a.length;b+=2)a[b]&&FG(c,a[b],a[b+1]);return c\};\
|
|
EG=function(a)\{a=a.split("&");for(var b=\{\},c=0;c<a.length;c++)\{var d=a[c],e=d.indexOf("=");0<e?FG(b,d.substr(0,e),d.substr(e+1)):d&&(b[d]="")\}return b\};\
|
|
FG=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\};\
|
|
GG=function(a,b)\{for(var c=a;c;c=c.parentNode)if(c.attributes)\{var d=c.attributes[b];if(d)return d.value\}return""\};\
|
|
HG=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\};\
|
|
IG=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)\};\
|
|
JG=function()\{this.ra=[]\};\
|
|
hC=function(a,b)\{var c=KG(a,b);return c?c.ingestionTime:window.NaN\};\
|
|
KG=function(a,b)\{var c=zb(a.ra,new fF(b,0,0,0,""),function(a,b)\{return a.b-b.b\});\
|
|
return 0<=c?a.ra[c]:null\};\
|
|
Kca=function(a,b)\{var c=zb(a.ra,\{startTime:b\},function(a,b)\{return a.startTime-b.startTime\});\
|
|
return 0<=c?a.ra[c]:a.ra[Math.max(0,-c-2)]\};\
|
|
LG=function(a,b)\{if(b>a.Qb())a.ra=[];else\{var c=ab(a.ra,function(a)\{return a.b>=b\},a);\
|
|
0<c&&a.ra.splice(0,c)\}\};\
|
|
MG=function(a)\{this.b=a;this.g=\{\};this.o=""\};\
|
|
Lca=function(a,b)\{var c=b.indexOf("?");if(0<c)\{var d=EG(b.substr(c+1));Pb(d,function(a,b)\{this.set(b,a)\},a);\
|
|
b=b.substr(0,c)\}d=DG(b);Pb(d,function(a,b)\{this.set(b,a)\},a)\};\
|
|
jB=function(a)\{a.o||(a.o=Mca(a));return a.o\};\
|
|
Mca=function(a)\{var b=zG(a.b),c=[];Pb(a.g,function(a,b)\{c.push(b+"="+a)\});\
|
|
if(!c.length)return b;var d=c.join("&");a=BG(a.b)?"&":"?";return b+a+d\};\
|
|
Nca=function(a,b)\{var c=new yG(b);Pb(a.g,function(a,b)\{c.set(b,null)\});\
|
|
return c\};\
|
|
Oca=function(a)\{this.b=a;this.A=a.clone();this.g=0;this.o=-1\};\
|
|
NG=function(a,b,c)\{this.index=null;this.info=b;this.initRange=c||null;this.b=null;this.A=this.o=!1;this.C=new Oca(a)\};\
|
|
OG=function(a,b,c)\{this.g=a[0].b.C;this.o=b||"";this.b=a;this.range=this.b[0].range&&0<this.b[0].o?pca(this.b):null;this.A=!!c\};\
|
|
kB=function(a,b)\{var c;/http[s]?:\\/\\//.test(a.o)?c=new MG(new yG(a.o)):(c=new MG(a.g.b),a.o&&Lca(c,a.o));var d=b||a.range;d&&c.set("range",d.toString());return c\};\
|
|
oE=function(a)\{if(a.range)return a.range.length;a=a.b[0];return Math.round(a.G*a.b.info.b)\};\
|
|
PG=function(a,b,c,d,e,f)\{NG.call(this,a,b,d);this.index=e||new JG;this.F=c;this.D=!0;this.g=!!f;if(this.B=!c)this.o=!0\};\
|
|
QG=function(a,b,c)\{if(a.g&&0==a.index.hf(b))return a=new IE(3,a,null,b),b=0<=b?"sq/"+b:"",new OG([a],b,!!b);var d=a.index.jq(b),e=a.index.ze(b),f=a.index.hf(b);c?f=c=0:c=0<a.info.b?a.info.b*f:1E3;a=new IE(3,a,null,b,e,f,0,c,b==a.index.Qb()&&!a.D&&0<c);return new OG([a],d)\};\
|
|
Pca=function(a,b,c,d)\{this.b=a;this.ae=b;this.durationSecs=c;this.g=d||window.NaN\};\
|
|
RG=function()\{this.b=[];this.g=null;this.A=0;this.o=[]\};\
|
|
Qca=function(a)\{var b=a.o;a.o=[];return b\};\
|
|
Rca=function()\{this.A=[];this.b=null;this.g=\{\};this.o=\{\}\};\
|
|
Vca=function(a,b,c)\{var d=[];b=b.getElementsByTagName("SegmentTimeline");for(var e=0;e<b.length;e++)\{var f=b[e].parentNode.parentNode,k=null;"Period"==f.nodeName?k=Sca(a):"AdaptationSet"==f.nodeName?k=Tca(a,f.attributes.mimeType.value):"Representation"==f.nodeName&&(k=Uca(a,f.attributes.id.value));if(null==k)return;k.update(b[e],c);tb(d,Qca(k))\}Db(d,function(a)\{return a.ae\});\
|
|
tb(a.A,d)\};\
|
|
Wca=function(a)\{a.b&&(a.b.b=[]);Pb(a.g,function(a)\{a.b=[]\});\
|
|
Pb(a.o,function(a)\{a.b=[]\})\};\
|
|
Sca=function(a)\{a.b||(a.b=new RG);return a.b\};\
|
|
Tca=function(a,b)\{a.g[b]||(a.g[b]=new RG);return a.g[b]\};\
|
|
Uca=function(a,b)\{a.o[b]||(a.o[b]=new RG);return a.o[b]\};\
|
|
SG=function()\{this.ya=0;this.b=new window.Float64Array(128);this.g=new window.Float64Array(128);this.A=1;this.o=!1\};\
|
|
TG=function(a)\{if(a.b.length<a.ya+1)\{var b=2*a.b.length,b=b+2,c=a.b;a.b=new window.Float64Array(b+1);var d=a.g;a.g=new window.Float64Array(b+1);for(b=0;b<a.ya+1;b++)a.b[b]=c[b],a.g[b]=d[b]\}\};\
|
|
UG=function(a,b,c,d,e,f)\{NG.call(this,a,b,c||void 0);this.indexRange=d;this.B=null;this.index=new SG;this.g=e;this.lastModified=f\};\
|
|
VG=function(a,b,c,d)\{for(var e=[];b<=a.index.Qb();b++)\{var f;f=a.index;f=oD(f.kk(b),b+1<f.ya||f.o?f.b[b+1]-f.b[b]:-1);var k=a.index.ze(b),l=a.index.hf(b),m=Math.max(0,c-f.start),n=Math.min(f.end+1,c+d)-(f.start+m);e.push(new IE(3,a,f,b,k,l,m,n,b==a.index.Qb()&&m+n==f.length));if(f.start+m+n>=c+d)break\}return new OG(e)\};\
|
|
WG=function(a,b,c)\{sk.call(this);this.J=this.duration=0;this.isLive=this.o=!1;this.F=Bq();this.B=window.Infinity;this.b=\{\};this.K=a||"";this.D=this.H=0;this.A=null;this.ba=!!b&&b.Z("html5_live_nonzero_first_segment_start_time");this.g=!1;this.G=[];this.aa=!!b&&b.Z("html5_live_self_init_segments");this.C=null;this.ca=c\};\
|
|
pA=function(a)\{return Sb(a.b,function(a)\{return!!a.info.lf\},a)\};\
|
|
sA=function(a)\{return Sb(a.b,function(a)\{return a.info.video?2==a.info.video.projectionType:!1\},a)\};\
|
|
tA=function(a)\{return Sb(a.b,function(a)\{return a.info.video?3==a.info.video.projectionType:!1\},a)\};\
|
|
XG=function(a,b,c,d)\{return d?Xca(a):Yca(a,b,c)\};\
|
|
Yca=function(a,b,c)\{var d=new WG;d.duration=c||0;D(a,function(a)\{var c=YG(a,b,d.duration),e=nD(a.init),l=nD(a.index),m=(0,window.parseInt)(a.clen,10),n=ZG(a.url,c,a.s);a=(0,window.parseInt)(a.lmt,10);n&&(c=new UG(n,c,e,l,m,a),d.b[c.info.id]=c)\});\
|
|
return d\};\
|
|
Xca=function(a)\{var b=new WG;D(a,function(a)\{var c=YG(a);if(a=ZG(a.url,c,a.s))c=new PG(a,c,"",void 0,void 0,!0),b.b[c.info.id]=c\});\
|
|
b.o=!0;b.g=!0;b.isLive=!0;return b\};\
|
|
YG=function(a,b,c)\{var d=a.type,e=a.itag,f=Zca(a),k=null;uG(d)&&(k=(a.size||"640x360").split("x"),k=new wG(+k[0],+k[1],+a.fps,+a.projection_type,void 0,void 0,!!a.isAccelerated,a.quality_label,a.eotf,a.primaries,!!a.isAcceleratedUiEnabled));var l=null,m=null;if(tG(d))\{l=0;if("258"==e||"261"==e)l=6;l=new qG(l,+a.spatial_audio_type);a.name&&(m=new vG(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 t=null;b&&a.drm_families&&\
|
|
(t=\{\},D(a.drm_families.split(","),function(a)\{t[a]=b[a]\}));\
|
|
return new rG(f,d,l,k,m,t,e,c)\};\
|
|
Zca=function(a)\{var b=a.itag;a.xtags&&(b=a.itag+";"+a.xtags);return b\};\
|
|
ZG=function(a,b,c)\{a=new yG(a);a.set("alr","yes");a.set("keepalive","yes");a.set("ratebypass","yes");a.set("mime",(0,window.encodeURIComponent)(b.mimeType.split(";")[0]));c&&a.set("signature",Uy(c));return a\};\
|
|
aH=function(a,b)\{var c=GG(b,"id"),c=c.replace(":",";");"captions"==c&&(c=GG(b,"lang"));var d=GG(b,"mimeType"),e=GG(b,"codecs"),d=e?d+'; codecs="'+e+'"':d,e=(0,window.parseInt)(GG(b,"bandwidth"),10)/8,f=(0,window.parseInt)(HG(b,"BaseURL").getAttribute("yt:contentLength"),10),f=a.duration&&f?f/a.duration:0,k=null;if(uG(d))\{var k=(0,window.parseInt)(GG(b,"width"),10),l=(0,window.parseInt)(GG(b,"height"),10),m=(0,window.parseInt)(GG(b,"frameRate"),10),n=GG(b,"yt:stereoLayout"),t="equirectangular"==GG(b,\
|
|
"yt:projectionType"),u,y;t&&"layout_top_bottom"==n?u=3:t&&!n?u=2:"layout_left_right"==n&&(y=1);k=new wG(k,l,m,u,y)\}y=u=null;if(tG(d))\{u=(0,window.parseInt)(GG(b.getElementsByTagName("AudioChannelConfiguration")[0],"value"),10);var E;y=GG(b,"yt:spatialAudioType");"spatial_audio_type_ambisonics_5_1"==y?E=1:"spatial_audio_type_ambisonics_quad"==y&&(E=2);u=new qG(u,E);E=GG(b,"lang")||"";(y=HG(b,"Role"))?(y=GG(y,"value")||"",y=E&&$b($G,y)?new vG(GG(b,"yt:langName")||E+" - "+y,E+"."+$G[y],"main"==y):null):\
|
|
y=null\}l=null;if(E=HG(b,"ContentProtection"))if((l=E.attributes.schemeIdUri)&&"http://youtube.com/drm/2012/10/10"==l.textContent)for(l=\{\},E=E.firstChild;null!=E;E=E.nextSibling)"yt:SystemURL"==E.nodeName&&(l[E.attributes.type.textContent]=E.textContent.trim());else l=null;return new rG(c,d,u,k,y,l,e,f)\};\
|
|
bH=function(a,b)\{a.D=1;a.F=Bq();return Sd(Ica(b||a.K).then(x(a.N,a)),x(a.R,a))\};\
|
|
$ca=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=nD(a):d=d+"?range="+a));return new fF(b.b,b.ae,b.durationSecs,b.g,d,e)\};\
|
|
cH=function(a)\{return a.isLive&&Bq()-a.F>=a.B\};\
|
|
dH=function(a)\{if(cH(a))a.M();else\{var b=Math.max(0,a.F+a.B-Bq());a.C||(a.C=new fe(a.M,b,a),H(a,a.C));a.C.start(b)\}\};\
|
|
eH=function(a)\{a=a.b;for(var b in a)\{var c=a[b].index;if(c&&c.jf())return c.Xg()\}return window.NaN\};\
|
|
fH=function(a)\{a=a.b;for(var b in a)\{var c=a[b].index;if(c&&c.jf())return c.Vu()\}return 0\};\
|
|
gH=function(a)\{var b=a.b,c;for(c in b)if((a=b[c].index)&&a.jf())\{c=0;for(b=a.ng();b<=a.Qb();b++)c+=a.hf(b);c/=a.Jl();return.5*Math.round(c/.5)\}return window.NaN\};\
|
|
Xu=function(a,b)\{if(!a.isLive)return window.NaN;var c=a.b,d;for(d in c)\{var e=c[d].index;if(e&&e.jf())return c=e.Af(b),hC(e,c)+(b-e.ze(c))\}return window.NaN\};\
|
|
ada=function(a,b)\{Pb(a.b,function(a)\{Pb(b,function(b,c)\{var d=a.C;d.b.set(c,b);d.A.set(c,b)\})\})\};\
|
|
bda=function(a,b)\{if(!a.b["0"])\{var c=new wG(0,0,0,void 0,void 0,"auto"),c=new rG("0","",void 0,c);a.b["0"]=b?new PG(new yG("http://www.youtube.com/videoplayback"),c,""):new UG(new yG("http://www.youtube.com/videoplayback"),c,new mD(0,0),new mD(0,0),0,window.NaN)\}\};\
|
|
hH=function(a,b)\{this.g=[];this.b=\{\};this.o=\{\};this.A=null;this.F=b;cda(this,a)\};\
|
|
cda=function(a,b)\{Pb(b,function(a)\{a.forEach(function(a)\{a.lf&&Pb(a.lf,function(b,c)\{iH[c]&&Pb(iH[c],function(b)\{this.b[b]=this.b[b]||new HF(c,b,a.lf[c]);this.o[c]=this.o[c]||\{\};this.o[c][a.mimeType]=!0\},this)\},this)\},this)\},a);\
|
|
a.g=dda.filter(function(a)\{return!!this.b[a]\},a)\};\
|
|
eda=function(a)\{var b=\{initDataTypes:["cenc","webm"],audioCapabilities:[],videoCapabilities:[]\};Pb(a,function(a,d)\{(0==d.indexOf("audio/")?b.audioCapabilities:b.videoCapabilities).push(\{contentType:d\})\});\
|
|
return[b]\};\
|
|
fda=function(a)\{var b=IF(),c=iz();if(b)\{if(Az)\{a.A(new HF("fairplay","com.apple.fps.1_0",""));return\}var d=function(a,c)\{return b.isTypeSupported(c,a)\}\}else c.addKey||c.webkitAddKey?d=x(c.canPlayType,c):d=function()\{return!1\};\
|
|
c=(c=bb(a.g,function(a)\{var b=this.b[a],c,e;Pb(this.o[b.b],function(f,k)\{d(k,a)&&(b.A[k]=!0,c|=0==k.indexOf("audio/"),e|=0==k.indexOf("video/"))\},this);\
|
|
return c&&e\},a))?a.b[c]:null;\
|
|
a.g=[];a.A(c)\};\
|
|
jH=function(a,b)\{this.zc=a;this.b=b\};\
|
|
kH=function(a)\{this.b=[];if(a)a:\{var b;if(a instanceof kH)\{if(b=a.Ua(),a=a.Ra(),0>=this.Pb())\{for(var c=this.b,d=0;d<b.length;d++)c.push(new jH(b[d],a[d]));break a\}\}else b=Yb(a),a=Xb(a);for(d=0;d<b.length;d++)lH(this,b[d],a[d])\}\};\
|
|
lH=function(a,b,c)\{var d=a.b;d.push(new jH(b,c));b=d.length-1;a=a.b;for(c=a[b];0<b;)if(d=b-1>>1,a[d].zc>c.zc)a[b]=a[d],b=d;else break;a[b]=c\};\
|
|
mH=function()\{kH.call(this)\};\
|
|
nH=function(a)\{sk.call(this);this.o=new mH;this.b=null;this.C=\{\};this.B=a||""\};\
|
|
pH=function(a,b,c)\{for(c=a.og(c);0<=c;)\{var d=a.Cd(c);if(d.o[Math.floor(b/(d.Yb*d.rows))]&&(d=oH(d,b)))return d;c--\}return oH(a.Cd(0),b)\};\
|
|
rH=function(a,b,c)\{c=a.og(c);for(var d,e;0<=c;c--)if(d=a.Cd(c),e=Math.floor(b/(d.Yb*d.rows)),!d.o[e])\{d=a;var f=c,k=f+"-"+e;d.C[k]||(d.C[k]=!0,lH(d.o,f,\{sr:f,zr:e\}))\}qH(a)\};\
|
|
qH=function(a)\{if(!a.b&&!a.o.isEmpty())\{var b=a.o.remove(),c=new window.Image;a.B&&(c.crossOrigin=a.B);c.src=sH(a.Cd(b.sr),b.zr);c.onload=x(a.D,a,b.sr,b.zr);a.b=c\}\};\
|
|
tH=function(a,b,c,d)\{this.o=\{\};this.K=a;this.H=b;a=c.split("#");this.F=(0,window.parseInt)(a[0],10);this.D=(0,window.parseInt)(a[1],10);this.g=(0,window.parseInt)(a[2],10);this.Yb=(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.J=d\};\
|
|
sH=function(a,b)\{var c=a.H,c=c.replace("$N",a.A),c=c.replace("$L",a.K.toString()),c=c.replace("$M",b.toString());a.C&&(c=Vg(c,\{sigh:a.C\}));return Lp(c)\};\
|
|
oH=function(a,b)\{var c=Math.floor(b/(a.Yb*a.rows)),d=a.Yb*a.rows,e=b%d,f=e%a.Yb,e=Math.floor(e/a.Yb),k,l=a.ao()+1-d*c;l<a.Yb?(k=l,d=1):(k=a.Yb,d=l<d?Math.ceil(l/a.Yb):a.rows);return\{url:sH(a,c),Ry:f,Yb:k,jG:e,rows:d,Ar:a.F*k,yr:a.D*d\}\};\
|
|
uH=function(a,b,c)\{nH.call(this,c);this.g=this.Sm(a,b);this.A=\{\};1<this.g.length&&this.Cd(0).isDefault()&&this.g.splice(0,1)\};\
|
|
vH=function(a,b,c)\{return a.Cd(b).Iv(c)\};\
|
|
wH=function(a,b,c,d)\{c=c.split("#");c=[c[1],c[2],0,c[3],c[4],-1,c[0],""].join("#");tH.call(this,a,b,c,0);this.b=null;this.G=d?3:0\};\
|
|
xH=function(a,b)\{this.F=b;uH.call(this,a,0)\};\
|
|
gda=function(a,b)\{this.g=a;this.b=b;this.o=0\};\
|
|
hda=function(a)\{for(var b=[],c=[],d=0,e=a.b.length;d<e;++d)\{var f=a.b[d];f.bitrate<=a.o?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.b=b.concat(c)\};\
|
|
ida=function(a,b,c,d,e,f,k,l,m)\{this.itag=a;this.url=b;this.Jp=c;this.width=d;this.height=e;this.bitrate=k;this.fps=f;this.audioItag=l||null;this.b=m||""\};\
|
|
jda=function(a)\{for(var b=\{\},c=0,d=a.length;c<d;++c)\{var e;e=a[c];var f=e.type.match(/codecs="([^"]*)"/);e=new ida(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\};\
|
|
yH=function(a,b)\{this.Tc=a;this.o=b;this.b=null\};\
|
|
zH=function(a,b,c,d,e,f,k,l,m)\{var n=new qG;d=new wG(d,e,f,null,void 0,k);c=new rG(c,"application/x-mpegURL",n,d,void 0,m);a=new gda(a,b);a.o=l?l:1369843;return new yH(c,a)\};\
|
|
kda=function(a,b,c)\{if(!dA&&!Rp())return[];b=jda(b);if(!b)return[];var d=\{cR:"https://youtube.com/api/drm/fps?ek=uninitialized"\},e,f=[],k=[],l=[],m;for(m in b)\{var n=b[m];if(n.width)\{var t=b[n.audioItag];t&&(f.push(n),e="fairplay"==n.b?d:null,l.push(zH([t],[n],n.itag,n.width,n.height,n.fps,void 0,void 0,e)))\}else k.push(n)\}e=l.reduce(function(a,b)\{return!!b.Tc.lf&&a\},!0)?d:null;\
|
|
l.push(zH(k,f,"93",0,0,0,"auto",c,e));return cA(a.K,l)\};\
|
|
AH=function(a,b)\{this.Tc=a;this.b=b\};\
|
|
BH=function(a,b,c,d,e,f,k,l)\{var m=new qG;c in Wy||(c="small");e&&f?(f=(0,window.parseInt)(f,10),e=(0,window.parseInt)(e,10)):(f=Wy[c],e=Math.round(16*f/9));c=new wG(e,f,0,null,void 0,c,k,void 0,void 0,void 0,l);b=(0,window.unescape)(b.replace(/"/g,'"'));return new AH(new rG(d,b,m,c),a)\};\
|
|
lda=function(a)\{var b=[];D(a,function(a)\{a.url&&b.push(BH(a.url,a.type,"medium","0"))\});\
|
|
return b\};\
|
|
CH=function(a,b)\{for(var c=[],d=0;d<b.length;d++)\{var e=b[d];if(e.sig||e.s)\{var f=e.sig||Uy(e.s);e.url=Uj(e.url,\{signature:f\})\}e.url&&c.push(BH(e.url,e.type,e.quality,e.itag,e.width,e.height,!!e.isAccelerated,!!e.isAcceleratedUiEnabled))\}return cA(a.K,c)\};\
|
|
DH=function(a)\{sk.call(this);this.adModule=!1;this.adaptiveFormats="";this.na=null;this.allowEmbed=!0;this.K=this.backgroundable=!1;this.$f="";this.Sb=this.cp=!1;DH.prototype.Db=DH.g;this.watchAjaxToken=this.Gd=null;this.author="";this.Ed=0;this.Cr=this.Tb=!1;this.clientPlaybackNonce=this.dc=this.bc="";this.contentCheckOk=!1;this.ga=0;this.enableCardioBeforePlayback=this.enableCardio=this.De=!1;this.ea=0;this.ju=this.M=!1;this.cb=this.Fd=0;this.Ec=!1;this.paidContentOverlayDurationMs=0;this.ha=this.isPharma=\
|
|
this.isMdxPlayback=this.isLowLatencyLiveStream=this.isLiveDefaultBroadcast=this.isLiveDestination=this.xa=this.Na=this.isListed=this.Fe=this.jr=this.J=!1;this.Me="";this.Ge=this.mu=this.Ca=!1;this.de=3;this.X=window.NaN;this.liveStartWalltime=0;this.Ie=null;this.rf=this.lengthSeconds=0;this.paygated=!1;this.profilePicture="";this.racyCheckOk=!1;this.autonavState=1;DH.prototype.Sa=Zy;this.H=!1;this.startSeconds=0;this.spacecastModule=!1;this.xb=null;DH.prototype.Ya=Zy;this.ca=null;this.hlsFormats=\
|
|
this.qa=this.title="";this.Hd=null;this.qf="vvt";this.requiresPurchase=!1;this.clipStart=0;this.clipEnd=window.Infinity;this.Ke=this.ia=this.Ga=!1;this.tt="";this.pr=this.$p=!1;this.eh=\{\};this.qo="";this.bu=!1;this.captionTracks=[];this.be=[];this.Aq=0;this.captionTranslationLanguages=[];this.ce=!1;this.Ia=new Gz("und",new vG("Default","und",!0));this.He=0;this.No=this.Do=!1;this.F=null;this.ba=[];this.$t=!1;this.Ne=null;this.Eo=new fe(this.At,5E3,this);H(this,this.Eo);this.G=[];this.A=\{\};this.keywords=\
|
|
\{\};this.C=\{\};EH(this,a)\};\
|
|
GH=function(a,b)\{var c=b||\{\};c.iv_invideo_url&&(a.$f=Lp(c.iv_invideo_url));c.iv_ads_only&&(a.cp="1"==c.iv_ads_only);c.cta_conversion_urls&&(a.tp=c.cta_conversion_urls);a.isPharma=lz(a.isPharma,c.is_pharma);a.author=oz(a.author,c.author);a.Tb=lz(a.Tb,c.cc_asr);var d=c.ttsurl;FH.test(d)?a.bc=d:d&&(d=Kp(d),FH.test(d)&&(a.bc=d));a.bu=void 0!=c.caption_tracks;c.caption_tracks&&c.caption_audio_tracks&&(mda(a,c.caption_tracks),a.be=Rj(c.caption_audio_tracks),c.default_audio_track_index&&(a.Aq=(0,window.parseInt)(c.default_audio_track_index,\
|
|
10)||0),c.caption_translation_languages&&nda(a,c.caption_translation_languages));a.ce=lz(a.ce,c.cc_contribute);a.clientPlaybackNonce=oz(a.clientPlaybackNonce,c.cpn);a.subscribed=oz(a.subscribed,c.subscribed);a.shortViewCount=oz(a.shortViewCount,c.short_view_count_text);a.title=oz(a.title,c.title);a.ypcPreview=oz(a.ypcPreview,c.ypc_preview);a.ypcOrigin=oz(a.ypcOrigin,c.ypc_origin);a.paygated=lz(a.paygated,c.paygated);a.requiresPurchase=lz(a.requiresPurchase,c.requires_purchase);c.keywords&&(a.keywords=\
|
|
oda(c.keywords));c.rvs&&(a.N=Rj(c.rvs));a.contentCheckOk=lz(a.contentCheckOk,"1"==c.cco);a.racyCheckOk=lz(a.racyCheckOk,"1"==c.rco);a.oauthToken=oz(a.oauthToken,c.oauth_token);a.visitorData=oz(a.visitorData,c.visitor_data);c.session_data&&(a.Ha=Oj(c.session_data,"&"));c.endscreen_autoplay_session_data&&(a.Ys=Oj(c.endscreen_autoplay_session_data,"&"));a.Xs=oz(a.Xs,c.endscreen_ad_tracking_data);a.Oe=oz(a.Oe,c.tracking_list||c.tv_list);D(DH.A,function(a)\{a in c&&(this.A[a]=c[a])\},a)\};\
|
|
EH=function(a,b)\{var c=b||\{\};a.K="1"!=c.hlsdvr?!1:eA()?!0:zA&&5>HH?!1:!0;a.Kx=c.ad_query_id;a.Qx=c.agcid;a.Sb="1"==c.infringe||"1"==c.muted;a.Up=c.authkey;a.Ob=c.authuser;a.clientPlaybackNonce||(a.clientPlaybackNonce=c.cpn||fr());a.ry=1E3*nz(C()/1E3,c.timestamp);a.De=lz(a.De,c.cenchd);a.enableCardio=lz(a.enableCardio,c.enable_cardio);a.enableCardioBeforePlayback=lz(a.enableCardioBeforePlayback,c.enable_cardio_before_playback);a.ea=nz(a.ea,c.end||c.endSeconds);a.qc=oz(a.qc,c.itct);a.Fe=lz(a.Fe,c.noiba);\
|
|
a.Na="1"==c.livemonitor;a.xa="1"==c.live_playback||!!c.fresca_preroll;a.isLiveDestination=lz(a.isLiveDestination,c.is_live_destination);a.isLiveDefaultBroadcast="1"==c.live_default_broadcast;a.isLowLatencyLiveStream="1"==c.is_low_latency_live_stream;a.isMdxPlayback=lz(a.isMdxPlayback,c.mdx);a.ha=lz(a.ha,c.reload);a.Me=oz(a.Me,c.reload_reason);a.Ge=lz(a.Ge,c.utpsa);a.or=c.cyc;for(var d in DH.b)\{var e=c[d+"_webp"]||c[d];LA.test(e)&&(a.eh[DH.b[d]]=e)\}d=c.murlmq_webp;LA.test(d)&&(a.qo=d);a.R=oz(a.R,c.vvt);\
|
|
a.Zx=c.osig;a.so=c.ptchn;a.uo=c.oid;a.Oa=c.ptk;a.yo=c.pltype;a.playbackId=c.plid;a.eventId=c.eventid;a.osid=c.osid;a.videoMetadata=c.vm;a.uy=c.of;a.playlistId=oz(a.playlistId,c.list);a.Bo=c.pyv_view_beacon_url;a.fy=c.pyv_quartile25_beacon_url;a.jy=c.pyv_quartile50_beacon_url;a.ly=c.pyv_quartile75_beacon_url;a.by=c.pyv_quartile100_beacon_url;c.remarketing_url&&(a.remarketingUrl=c.remarketing_url);c.ppv_remarketing_url&&(a.ppvRemarketingUrl=c.ppv_remarketing_url);a.Ko=c.sdetail;!a.Le&&c.session_data&&\
|
|
(a.Le=Oj(c.session_data,"&").feature);a.isFling=1==nz(a.isFling?1:0,c.is_fling);a.vnd=nz(a.vnd,c.vnd);a.Ee=oz(a.Ee,c.force_ads_url);a.tb=oz(a.tb,c.ctrl);a.ub=oz(a.ub,c.ytr);a.oc=c.ytrcc;a.Co=c.ytrexp;a.Sa=qz(a.Sa,c.vq);a.Ya=qz(a.Ya,c.suggestedQuality);a.Za=c.approx_threed_layout||0;a.Oo=lz(a.Oo,c.ssrt);a.videoId=rz(c)||a.videoId;a.vssCredentialsToken=oz(a.vssCredentialsToken,c.vss_credentials_token);a.qf=oz(a.qf,c.vss_credentials_token_type);a.ypcGid=oz(a.ypcGid,c.ypc_gid);a.heartbeatToken=oz(a.heartbeatToken,\
|
|
c.heartbeat_token);a.heartbeatInterval=nz(a.heartbeatInterval,c.heartbeat_interval);a.heartbeatRetries=nz(a.heartbeatRetries,c.heartbeat_retries);a.heartbeatSoftFail=lz(a.heartbeatSoftFail,c.heartbeat_soft_fail);if(c.ad3_module||c.ad_module)"1"==c.allow_html5_ads?(a.adModule=!0,"1"==c.ad_preroll&&a.G.push("ad")):"1"!=c.supported_without_ads&&(a.ju=!0);c.adaptive_fmts&&(a.adaptiveFormats=c.adaptive_fmts);void 0!=c.atc&&(a.Cb=c.atc);c.license_info&&(a.na=pda(c.license_info));c.allow_embed&&(a.allowEmbed=\
|
|
"1"==c.allow_embed);c.backgroundable&&(a.backgroundable="1"==c.backgroundable);c.autonav&&(a.Ec="1"==c.autonav);c.autoplay&&(a.J="1"==c.autoplay);c.iv_load_policy&&(a.gd=mz(a.gd,c.iv_load_policy,FA));c.cc_lang_pref&&(a.Go=oz(c.cc_lang_pref,a.Go));c.cc_load_policy&&(a.Ho=mz(a.Ho,c.cc_load_policy,FA));c.channel_path&&(a.dc=oz(c.channel_path,a.dc));"0"==c.dash&&(a.Cr=!0);c.dashmpd&&(a.D=Vg(c.dashmpd,\{cpn:a.clientPlaybackNonce\}),d=/\\/s\\/([0-9A-F.]+)/,e=d.exec(a.D))&&(e=Uy(e[1]),a.D=a.D.replace(d,"/signature/"+\
|
|
e));c.delay&&(a.ga=Va(c.delay));c.drm_session_id&&(a.drmSessionId=c.drm_session_id);void 0!=c.end&&(a.clipEnd=c.end);c.fair_play_cert&&window.atob&&(a.fairPlayCert=(0,window.atob)(c.fair_play_cert));c.featured&&(a.jr="1"==c.featured);c.fmt_list&&(a.fmtList=c.fmt_list);c.fresca_preroll&&a.G.push("fresca");c.idpj&&(a.Fd=Va(c.idpj));c.ismb&&(a.cb=Va(c.ismb));c.is_listed&&(a.isListed=lz(a.isListed,c.is_listed));c.paid_content_overlay_duration_ms&&(a.paidContentOverlayDurationMs=Va(c.paid_content_overlay_duration_ms));\
|
|
c.paid_content_overlay_text&&(a.paidContentOverlayText=c.paid_content_overlay_text);c.url_encoded_fmt_stream_map&&(a.qa=c.url_encoded_fmt_stream_map);c.hls_formats&&(a.hlsFormats=c.hls_formats);c.hlsvp&&(a.hlsvp=c.hlsvp);c.length_seconds&&(a.lengthSeconds=Va(c.length_seconds));c.live_chunk_readahead&&(a.de=nz(a.de,c.live_chunk_readahead));c.live_start_walltime&&(a.liveStartWalltime=Va(c.live_start_walltime));c.live_manifest_duration&&(a.Ie=Va(c.live_manifest_duration));c.ldpj&&(a.rf=Va(c.ldpj));c.loudness&&\
|
|
(a.perceptualLoudnessDb=c.loudness,a.Db=a.perceptualLoudnessDb?Math.pow(10,Math.min(-21-a.perceptualLoudnessDb,0)/20):DH.g);c.partnerid&&(a.Aa=Va(c.partnerid));c.probe_url&&(a.probeUrl=Lp(Vg(c.probe_url,\{cpn:a.clientPlaybackNonce\})));c.profile_picture&&(a.profilePicture=oz(c.profile_picture,a.profilePicture));c.pyv_billable_url&&pv.test(c.pyv_billable_url)&&(a.fd=c.pyv_billable_url);c.pyv_conv_url&&pv.test(c.pyv_conv_url)&&(a.ua=c.pyv_conv_url);c.video_masthead_ad_quartile_urls&&(d=c.video_masthead_ad_quartile_urls,\
|
|
a.Je=d.quartile_0_url,a.ru=d.quartile_25_url,a.kw=d.quartile_50_url,a.oo=d.quartile_75_url,a.pu=d.quartile_100_url);"1"==c.spacecast_module&&(a.G.push("spacecast"),a.spacecastModule=!0);c.spacecast_addrs&&(a.Ne=c.spacecast_addrs.split(","),a.spacecastModule=!0);0<a.startSeconds||(a.startSeconds=nz(a.startSeconds,c.start||c.startSeconds));void 0==c.start||"1"==c.resume||a.xa||(a.clipStart=c.start);c.two_stage_token&&(a.Gd=c.two_stage_token);c.url_encoded_third_party_media&&(a.ca=Rj(c.url_encoded_third_party_media));\
|
|
c.watch_ajax_token&&(a.watchAjaxToken=c.watch_ajax_token);c.ypc_module&&a.G.push("ypc");c.ypc_clickwrap_module&&a.G.push("ypc_clickwrap");a.oy=oz(a.oy,c.ucid);D("baseUrl uid oeid ieid ppe engaged subscribed".split(" "),function(a)\{c[a]&&(this.C[a]=c[a])\},a);\
|
|
a.C.focEnabled=lz(a.C.focEnabled,c.focEnabled);a.C.rmktEnabled=lz(a.C.rmktEnabled,c.rmktEnabled);a.A=c;GH(a,c);qda(a);c.adpings&&(a.Fo=c.adpings?Qj(c.adpings):null);c.feature&&(a.Mo=c.feature);c.referrer&&(a.referrer=c.referrer);c.q&&(a.searchQuery=c.q);c.multifeed_metadata_list&&(a.ba=Rj(c.multifeed_metadata_list))\};\
|
|
IH=function(a)\{return C()>a.ry+18E6\};\
|
|
JH=function(a)\{return!(!a.o||!a.o.videoInfos.length)\};\
|
|
qda=function(a)\{KH(a)||(a.adaptiveFormats&&!a.xa?(LH(a,XG(MH(a,a.adaptiveFormats),a.na,a.lengthSeconds)),pA(a.b)&&(a.ia=!0)):a.D&&(a.Ga=!0))\};\
|
|
rda=function(a)\{return a.g&&Yz('video/webm; codecs="vp9"')&&Sb(a.b,function(a)\{return gG(a.info)\})\};\
|
|
NH=function(a)\{return!(!a.b||!a.b.g)\};\
|
|
KH=function(a)\{return!eA()||a.Cr?!0:!1\};\
|
|
OH=function(a)\{a.isDisposed()||(a.M=!1,a.Y("dataloaded",a.A))\};\
|
|
LH=function(a,b,c)\{c&&a.b&&a.b.dispose();a.b=b;H(a,b);(PH(a)||QH(a)||RH(a))&&a.G.push("webgl");a.b.isLive||(a.xa=!1)\};\
|
|
SH=function(a,b)\{if(!a.isDisposed())\{a.o=null;a.la=null;a.aa=null;var c=KH(a)||b.Hm;if(!c&&a.spacecastAdaptiveFormats)LH(a,XG(MH(a,a.spacecastAdaptiveFormats),a.na,a.lengthSeconds),!0),a.o=wA(b.K,a.b,a.F,!0,!1);else if(a.spacecastFormatMap)\{var d=MH(a,a.spacecastFormatMap);a.aa=CH(b,d);a.o=new Hz(Ii(a.aa,function(a)\{return a.Tc\}))\}a.o&&(d=df(a.o.videoInfos,function(a,b)\{return b.video.isAccelerated&&(!a||a.height<b.video.height)?b.video:a\},null))&&(d=Xy(d.quality,d.quality,!0),a.Sa=d,a.Ya=d);\
|
|
a.o||c||!a.b||(b.C||bda(a.b,a.xa),a.o=wA(b.K,a.b,a.F,!1,mba(b)));a.o||(a.aa=sda(a,b),a.aa.length&&(a.o=new Hz(Ii(a.aa,function(a)\{return a.Tc\}))));\
|
|
tda(a)\}\};\
|
|
sda=function(a,b)\{if(a.hlsFormats)\{var c=MH(a,a.hlsFormats),c=kda(b,c,a.cb);if(c.length)return c\}if(a.ca&&a.mu)return c=lda(a.ca),cA(b.K,c);c=MH(a,a.qa,a.fmtList);if(a.hlsvp)\{var d;d=a.hlsvp;var e=a.cb,f=\{cpn:a.clientPlaybackNonce\};-1==d.indexOf("/ibw/")&&(f.ibw=e?String(e):"1369843");d=\{url:Vg(d,f),type:"application/x-mpegURL",quality:"auto",itag:"93"\};c.push(d)\}return CH(b,c)\};\
|
|
TH=function(a)\{return a.g&&a.g.lf||null\};\
|
|
UH=function(a)\{a.Hd||(a.A.storyboard_spec?a.Hd=new uH(a.A.storyboard_spec,a.lengthSeconds):a.A.live_storyboard_spec&&a.b&&(a.Hd=new xH(a.A.live_storyboard_spec,a.b)));return a.Hd\};\
|
|
VH=function(a)\{return a.b&&!(0,window.isNaN)(fH(a.b))?fH(a.b):0\};\
|
|
WH=function(a,b)\{if(a.b&&a.xa)\{var c=a.b.b[a.g.id];if(!c||!c.index)return null;var d=c.index.Af(b),c=c.index.ze(d);return\{sequence:d,elapsed:Math.floor(1E3*(b-c))\}\}return null\};\
|
|
XH=function(a)\{return!a.isDisposed()&&!(!a.videoId&&!a.ca)\};\
|
|
YH=function(a)\{return!!(a.D||a.adaptiveFormats||a.qa||a.ca||a.spacecastFormatMap||a.spacecastAdaptiveFormats||a.hlsvp)\};\
|
|
ZH=function(a)\{var b=ib(a.G,"ypc");a.ypcPreview&&(b=!1);return XH(a)&&!a.M&&(YH(a)||ib(a.G,"fresca")||b)\};\
|
|
$H=function(a)\{return ZH(a)&&!a.Ga&&!a.ia\};\
|
|
MH=function(a,b,c)\{b=Rj(b);var d=\{\};c&&D(c.split(","),function(a)\{(a=a.match(/^([0-9]+)\\/([0-9]+)x([0-9]+)(\\/|$)/))&&(d[a[1]]=\{width:a[2],height:a[3]\})\});\
|
|
D(b,function(a)\{a.url&&(a.url=Vg(a.url,\{cpn:this.clientPlaybackNonce\}));var b=d[a.itag];b&&(a.width=b.width,a.height=b.height)\},a);\
|
|
return b\};\
|
|
oda=function(a)\{var b=\{\};D(a.split(","),function(a)\{var c=a.split("=");2==c.length?b[c[0]]=c[1]:b[a]=!0\});\
|
|
return b\};\
|
|
pda=function(a)\{a=Rj(a);var b=\{\};D(a,function(a)\{var c=a.family;a=a.url;c&&a&&(b[c]=a)\});\
|
|
return b\};\
|
|
mda=function(a,b)\{for(var c=Rj(b),d=0;d<c.length;d++)\{var e=c[d],f=e.u;FH.test(f)&&a.captionTracks.push(new Dz(\{is_translateable:e.t,languageCode:e.lc,languageName:e.n,url:f,vss_id:e.v,kind:e.k,format:3\}))\}\};\
|
|
nda=function(a,b)\{for(var c=Rj(b),d=0;d<c.length;d++)\{var e=c[d];a.captionTranslationLanguages.push(new Cz(\{languageCode:e.lc,languageName:e.n\}))\}\};\
|
|
tda=function(a)\{for(var b=a.o?a.o.audioTracks:[],b=b.concat(a.Ia),c=0;c<a.be.length;c++)for(var d=a.be[c],e=0;e<b.length;e++)\{var f=b[e],k=f.Vb.id==d.aid;if(f==a.Ia&&c==a.Aq||k)\{if(d.i)for(var k=d.i.split(","),l=0;l<k.length;l++)f.captionTracks[l]=a.captionTracks[(0,window.parseInt)(k[l],10)];d.d&&(f.rl=a.captionTracks[(0,window.parseInt)(d.d,10)]);d.f&&(f.Ri=a.captionTracks[(0,window.parseInt)(d.f,10)]);f.xp=(0,window.parseInt)(d.v,10)\}\}\};\
|
|
ws=function(a,b)\{return!!a.A[b]\};\
|
|
rs=function(a)\{return a.xa&&!a.K\};\
|
|
aI=function(a)\{return a.xa&&a.K\};\
|
|
bI=function(a)\{var b=hc(a.A);!a.xa&&0<a.startSeconds&&(b.start=a.startSeconds);return b\};\
|
|
cI=function(a)\{if(a.Za||a.Od["3D"])return!0;a=a.Od("yt3d:enable");return"true"==a||"LR"==a||"RL"==a\};\
|
|
dI=function(a,b)\{(0,window.isNaN)(a.X)&&(a.X=a.de,a.Na&&a.X--,a.b&&(5<=gH(a.b)||NH(a)&&!a.isLowLatencyLiveStream)&&b.Z("html5_live_disable_dg_pacing")&&a.X++,a.X=Math.max(0,a.X));return a.X\};\
|
|
QH=function(a)\{return a.b&&3!=a.Za?sA(a.b):!1\};\
|
|
PH=function(a)\{if(!a.b)return!1;for(var b in a.b.b)\{var c=a.b.b[b].info.video;if(c&&2==c.projectionType&&3==a.Za)return!0\}return tA(a.b)\};\
|
|
RH=function(a)\{if(cI(a)&&3!=a.Za&&4!=a.Za)return!0;if(a.b)for(var b in a.b.b)\{var c=a.b.b[b].info.video;if(c&&1==c.A)return!0\}return!1\};\
|
|
eI=function(a,b,c,d,e,f)\{sk.call(this);this.Aa=new Fca;this.D=c;this.Oa=d;c=x(function(a,b)\{a=="crn_"+eI.b&&fI(this);e(a,b)\},this);\
|
|
this.C=new Lt(x(this.getCurrentTime,this),x(this.Fu,this),x(this.getPlayerState,this),c);H(this,this.C);this.ia=window.NaN;this.N=this.F=null;this.V=a;this.ua=new Eca(a,this.Oa);this.G=!1;this.H=this.A=null;this.ca=[];this.ga=new pD;this.ba=new pD;this.xb=this.Ha=!1;this.Ia=window.NaN;this.B=new uq;this.qa=[];this.J=b;this.ea=this.K=null;this.M=window.NaN;this.ha=new rx;H(this,this.ha);this.b=new DH;this.g=null;this.aa=window.NaN;this.o=null;this.tb=this.Ga=!1;this.la=window.NaN;this.Ya=this.Za=this.na=\
|
|
this.Ca=!1;this.Na=this.cb=window.NaN;this.Db=a.experiments.Z("html5_force_play_on_suspend_event");this.Sb=a.experiments.Z("html5_force_play_on_suspend_event_limited");this.R=null;this.Tb=this.V.experiments.Z("html5_playing_event_buffer_underrun");this.X=new iG;H(this,this.X);this.X.ib("bufferhealth",x(this.rz,this));this.X.ib("bandwidth",x(this.qz,this));this.X.ib("networkactivity",x(this.uz,this),!0);this.X.start();this.ub=!1;this.Cb=0!=f\};\
|
|
gI=function(a)\{ux()?wx(a.la):Xi(a.la)\};\
|
|
nI=function(a,b,c)\{a.ca.length=0;a.ga.reset();a.ba.reset();a.ia=window.NaN;a.M=window.NaN;a.Ga=!1;a.g&&hI(a.g);iI(a);jI(a);kI(a);gI(a);a.X.clear();Nb(a.b);if(2==a.J||xA.test(a.V.H))b.mu=!0;var d=hz(b.A,a.V);d&&(b.adFormat=d);a.V.M&&(b.autonavState=a.b.autonavState);a.b=b;a.b.subscribe("dataupdated",a.uF,a);a.b.subscribe("dataloaded",a.Hp,a);a.b.subscribe("dataloaderror",a.Vh,a);a.b.subscribe("onStatusFail",a.tF,a);b.ea&&b.ea>b.startSeconds&&(b=b.ea,a.N&&(a.C.Th(a.N),a.N=null),a.N=new dq(1E3*b,0x7ffffffffffff),\
|
|
a.N.namespace=eI.b,a.C.wb([a.N]));jI(a);a.b.ca||(c=new nG(a.b,a.V,c,x(a.Uh,a),x(a.getCurrentTime,a),x(a.vz,a),x(a.Oa.Ja,a.Oa),x(a.Mn,a),x(a.Fu,a),x(a.Nl,a),x(a.Hz,a)),a.o=new Uu(c));a.Ca=!1;lI(a,"newdata");mI(a,new uq)\};\
|
|
jI=function(a)\{if(a.o)\{var b=a.o;if(!b.isDisposed()&&b.A)\{b.C="paused";var c=$u(b);c.gb=!0;c.send();c=b.g;"PL"==c.o&&(c.o="N");var d=Du(c.b);Bu(c,d,"vps",[c.o]);c.Kg(d);Xi(b.B);b.dispose()\}Nb(a.o);a.o=null\}\};\
|
|
pI=function(a)\{if(XH(a.b))return!0;oI(a,"api.invalidparam",void 0,"invalidVideodata.1");return!1\};\
|
|
qI=function(a,b)\{a.Ha=!!b;pI(a)&&!a.ga.g&&(a.ga.start(),a.o&&Lu(a.o.g),a.Hp())\};\
|
|
tI=function(a)\{a.g&&rI(a.g);qI(a);pI(a)&&!O(a.B,128)&&(a.ba.g||(a.ba.start(),mI(a,Cq(a.B,8)),$H(a.b)||mI(a,Cq(a.B,1))),sI(a))\};\
|
|
sI=function(a)\{a.isDisposed();if(!a.ba.b&&a.ga.b&&!O(a.B,128)&&!a.ca.length&&(a.C.af||Mt(a.C),!uI(a)))\{if(a.A)\{var b=a.A;a.xb=!!b.M&&!!b.ba\}a.ba.b=!0;a.b.xa&&(a.seekTo(window.Infinity,!0),vI(a,!0),3==lG(a.V)&&(a.tb=!0));if(a.o)\{b=a.o;b.b.videoData.enableCardio&&b.b.videoData.enableCardioBeforePlayback&&(b.F("connected"),gv(b));if(b.b.videoData.xa)\{var b=b.g,c=b.b.videoData.b;c&&gH(c)&&Ju(b,"live-segment-"+gH(c).toFixed(1));c=dI(b.b.videoData,b.b.b.experiments);Ju(b,"live-readahead-"+c)\}NH(a.b)&&Ku(a.o.g,\
|
|
"manifestless","1",void 0)\}a.Y("playbackready",a);LC("pbr",a.D.b)||(a.D.g("pbr"),IC("pbr",void 0,"video_to_ad"))\}\};\
|
|
fI=function(a,b)\{a.pauseVideo();mI(a,0==b?new uq:new uq(14))\};\
|
|
zI=function(a,b,c,d)\{a.b.g=c;a.b.B=d||c;if(a.o)\{var e=$y($y(dG(a.ua,a.b),wI(a)),xI(a)),e=bb(a.b.o.videoInfos,x(e.A,e)),e=new bG(a.b,c,b,e?Fu(e):"");d&&"i"==b&&yI(a,b,d);d=a.o.g;c=Du(d.b);Bu(d,c,"vfs",[e.b.id,e.g,d.X,e.reason]);d.X=e.b.id;e=d.b.J();if(0<e.width&&0<e.height)\{var e=[Math.round(e.width),Math.round(e.height)],f=RA();1<f&&e.push(f);Bu(d,c,"view",e)\}Bu(d,c,"vps",[d.o]);d.Kg(c)\}a.Y("internalvideoformatchange",a.b,"m"==b)\};\
|
|
yI=function(a,b,c)\{a.b.B=c;if(a.o)\{var d=a.o.g;c=new bG(a.b,c,b,"");var e=Du(d.b);c.b.id!=d.G&&(Bu(d,e,"afs",[c.b.id,d.G,c.reason]),d.G=c.b.id)\}"i"!=b&&a.Y("internalaudioformatchange",a.b,"m"==b)\};\
|
|
oI=function(a,b,c,d)\{var e,f;Vb(uda,c)?e=c:c?f=c:e="YTP_ERROR_GENERIC_WITHOUT_LINK";b=\{errorCode:b,errorDetail:d,message:f||M(e),messageKey:e\};mI(a,yq(a.B,128,b));gI(a);kI(a);AI(a)\};\
|
|
BI=function(a,b)\{a.ca=a.ca.filter(function(a)\{return b!=a\});\
|
|
a.ba.g&&sI(a)\};\
|
|
uI=function(a)\{var b;(b=!!a.ca.length)||(a=a.C.b.b[0],b=!!a&&-0x8000000000000>=a.start);return b\};\
|
|
CI=function(a)\{a.V.experiments.Z("html5_crossorigin_video")&&a.g&&(a.b.ca||!a.b.o||a.b.o.b?a.g.jn(!1):a.g.jn(!0))\};\
|
|
EI=function(a,b)\{a.g&&DI(a);a.g=b;vda(a);CI(a)\};\
|
|
DI=function(a)\{a.b&&a.V.experiments.Z("new_ended_replay")&&(a.b.startSeconds=a.getCurrentTime());a.H&&(a.H.dispose(),a.H=null);a.A&&(uF(a.A),a.A.F=!0);a.g&&(a.o&&a.ga.g&&O(a.B,64)&&!a.b.H&&FI(a),iI(a),tx(a.ha),hI(a.g),a.g=null)\};\
|
|
KI=function(a)\{if(!O(a.B,128))if(a.ub)a.ub=!1,GI(a);else if(tI(a),O(a.B,64)&&mI(a,Cq(a.B,8)),a.ba.b&&a.g)if(a.b.o)\{a.V.experiments.Z("new_ended_replay")&&O(a.B,2)&&a.seekTo(0,!0);if(a.b.xa)\{var b=a.getCurrentTime()<VH(a.b),c=rs(a.b)&&O(a.B,4);(b||c)&&a.seekTo(window.Infinity,!0);HI(a)?vI(a,!0):a.G&&a.seekTo(window.Infinity,!0)\}if(a.b.o.b)b=II(a),a.A.resume();else\{kI(a);var b=a.b.la.g(),c=a.b,d=\{\};c.Oa&&(d.ptk=c.Oa,d.oid=c.uo,d.ptchn=c.so,d.pltype=c.yo);ra(b.g,d);c=a.V.o;ra(b.g,\{c:c.c,cver:c.cver\})\}(c=\
|
|
a.g.g)&&Oz(c,b)?JI(a.g):wda(a,b)\}else b=a.b.xa&&!fA()?"html5.unsupportedlive":"fmt.noneavailable",oI(a,b,"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK","selectableFormats.1")\};\
|
|
LI=function(a,b)\{iI(a);kI(a);b||II(a)\};\
|
|
MI=function(a)\{if(a.b.o)\{var b=wI(a)||Zy;a=le(a.b.o.videoInfos,x(b.A,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\};\
|
|
NI=function(a)\{return $y($y($y(cG(a.ua,a.b),eG(a.ua,a.b)),wI(a)),xI(a))\};\
|
|
wI=function(a)\{return a.b.De?Zy:a.F?a.F.B:JH(a.b)&&a.b.o.b&&pA(a.b.b)?XF:Zy\};\
|
|
OI=function(a,b,c)\{if(!a.isDisposed()&&!O(a.B,128)&&(c&&(a.b.Ya=c),JH(a.b)))\{"m"==b&&c&&Yy(c)&&(b="a");c=NI(a);if(a.b.o.b)\{if(a.A&&"i"!=b)\{var d=a.A;d.isDisposed()||((c=Xba(d.D,c,b))&&d.Y("videoformatchange",c),EF(d,d.g,eD(d.D)),d.D.b.isLocked()&&"m"==b&&(AE(d.g),AE(d.o)),FE(d.g)&&rF(d,d.g,d.o),uF(d))\}\}else\{a:if(d=a.b.aa,c.b)\{for(var e=0;e<d.length;e++)\{var f=d[e].Tc,k=Wy[f.video.quality];if((!c.o||"auto"!=f.video.quality)&&k<=c.b)\{c=d[e];break a\}\}c=d[d.length-1]\}else c=d[0];a.b.la=c;zI(a,b,a.b.la.Tc)\}a.B.Wa()&&\
|
|
KI(a)\}\};\
|
|
PI=function(a)\{ada(a.b.b,\{c:a.V.o.c,cver:a.V.o.cver\});var b=a.V,c=a.b,d=new qba;d.ca=b.experiments.b("html5_throttle_rate")||d.ca;b.experiments.Z("html5_streaming_xhr")&&(d.H=!0);d.K=b.experiments.b("html5_idle_preload_secs");d.F=b.experiments.Z("html5_report_extended_parse_errors");b.experiments.Z("html5_use_mediastream_timestamp")&&(d.R=!0);b.experiments.Z("html5_timeout_fix")&&(d.Aa=!0);b.experiments.Z("html5_fast_fallback")&&(d.La=!0);if(Rp()||b.experiments.Z("dash_html5_safari8_workarounds"))d.ba=\
|
|
!0;Rp()&&(d.da=-1);if(Mp("trident/")||Mp("edge/"))d.b=240;Fs&&(d.N=41943040);if(QA(b)||!Wz())d.o=8388608,d.B=524288,d.M=2097152,d.C=1048576,d.na=1.5,d.qa=15,d.J=!Wz(),d.ha=!1,d.D=4587520,Pp()&&(d.D=786432),d.Ha=!0,d.g*=1.3,d.A*=1.3,d.ua=!0;if(Sp())\{var e="CHROMECAST/ANCHOVY"==b.o.cmodel;d.o=20971520;d.B=1572864;e&&(d.D=812500,d.G=1E3)\}d.Sa=b.C;d.liveChunkReadahead=dI(c,b.experiments);d.Ia=!b.experiments.Z("disable_fpa_sei_removal")&&Mp("windows nt")&&(cI(c)||PH(c));NH(c)&&!b.experiments.Z("disable_html5_manifestless_delay")&&\
|
|
(d.ea=!0);b.experiments.A&&(d.D=window.NaN);if(c=b.experiments.b("html5_deadzone_multiplier"))d.g*=c,d.A*=c;if(c=b.experiments.b("html5_request_sizing_multiplier"))d.Ca=c;b.experiments.Z("html5_strip_emsg")&&(d.la=!0);d.b=b.experiments.b("html5_max_buffer_duration")||d.b;d.X=b.experiments.b("html5_max_buffer_health_for_downgrade")||d.X;b.experiments.Z("disable_html5_streaming_response_timing")&&(d.Ga=!1);a.K.b.o=NH(a.b)?.5:0;a.A=new gF(a.K,d,a.b.b,a.b.o);a.A.subscribe("initsegment",a.uD,a);a.A.subscribe("videoformatchange",\
|
|
a.CD,a);a.A.subscribe("audioformatchange",a.BD,a);a.A.subscribe("error",a.Vh,a);a.A.subscribe("seekrequired",a.mG,a);b=ib(a.ca,"spacecast")||a.Ha;d=a.Mn();d=d.Vb.isDefault?void 0:d;a.A.initialize(a.b.startSeconds,NI(a),b,d);a.b.probeUrl&&(a.A.R=a.b.probeUrl);if(a.ca.length||a.Ha)a.A.F=!0;a.Ha&&FI(a);if(a.V.experiments.b("html5_background_quality_cap"))a:\{a=x(a.BF,a);if(window.document.visibilityState)b="visibilitychange";else\{if(!window.document[Sh+"VisibilityState"])break a;b=Sh+"visibilitychange"\}window.document.addEventListener(b,\
|
|
a,!1)\}\};\
|
|
xI=function(a)\{var b=a.V.experiments.b("html5_background_quality_cap"),c=a.V.experiments.b("html5_background_cap_idle_secs");return!b||kr()/1E3<c?Zy:3==lG(a.V)?new Vy(0,b,!1):Zy\};\
|
|
FI=function(a)\{fv(a.o,new pG(new uq(4),a.B))\};\
|
|
kI=function(a)\{a.A&&(a.A.dispose(),a.A=null);a.H&&(a.H.dispose(),a.H=null)\};\
|
|
II=function(a)\{a.H||(a.A?a.A.seek(a.getCurrentTime()):PI(a),a.H=new Rz(a.g.ma(),a.b.lengthSeconds,a.b.o.videoInfos[0].mimeType,a.b.o.b[0].mimeType,a.V.C),Taa(a.H,x(a.A.By,a.A)),Uaa(a.H,x(function(a)\{oI(this,"fmt.unplayable",void 0,"msi.1;ename."+a.name)\},a)));\
|
|
try\{return Vaa(a.H)\}catch(b)\{return b.message="window.URL object overwritten by external code",window.setTimeout(function()\{throw b;\},0),oI(a,"html5.missingapi","YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK","updateMs.1"),null\}\};\
|
|
GI=function(a)\{IH(a.b);!a.b.H&&a.b.ha||a.na||(a.na=!0,a.Y("signatureexpired"))\};\
|
|
QI=function(a)\{return a.details.isPotentialFormatUnavaliable&&("net.retryexhausted"==a.errorCode||"net.badstatus"==a.errorCode)\};\
|
|
AI=function(a)\{a.g&&(a.g.pause(),iI(a),kI(a),a.b&&(a.b.startSeconds=a.getCurrentTime()),a.M=window.NaN,hI(a.g),O(a.B,128)||mI(a,yq(a.B)),a.V.G.remove(a.b.videoId))\};\
|
|
xda=function(a)\{if(!a.g)return 0;if(rs(a.b))return 1;if(aI(a.b))\{if(a.G)return 1;var b=a.g,c=b.ie(),b=(0<nC(c)&&b.pf()?c.end(c.length-1):0)-VH(a.b);a=RI(a,!0)-VH(a.b);return Math.max(0,Math.min(1,b/a))\}return SI(a.g)\};\
|
|
UI=function(a,b)\{var c=\{\};if(b&&(a.o?ra(c,Tu(Yu(a.o,"playback"))):a.b&&(c.cpn=a.b.clientPlaybackNonce),a.g&&ra(c,TI(a.g)),a.A&&ra(c,GF(a.A)),c.state=a.B.g.toString(16),O(a.B,128)&&(c.debug_error=a.B.b),uI(a)&&(c.preroll="1"),a.b.cb&&(c.ismb=a.b.cb),a.b.isLowLatencyLiveStream&&(c.lowlatency="1"),a.b.xa&&(a.b.b&&gH(a.b.b)&&(c.segduration=gH(a.b.b)),a.R)))\{var d=a.R.A;c.lat=d.b[d.g]||0\}c.debug_videoId=a.b.videoId;return c\};\
|
|
lI=function(a,b)\{a.Y("internalvideodatachange",b||"dataupdated",a,a.b)\};\
|
|
vda=function(a)\{D("loadstart loadeddata loadedmetadata play playing pause ended suspend progress seeking seeked timeupdate durationchange ratechange error waiting abort".split(" "),function(a)\{this.ha.S(this.g,a,this.sH,this)\},a);\
|
|
a.V.fd&&a.g.xh()&&(a.ha.S(a.g,"webkitplaybacktargetavailabilitychanged",a.aC,a),a.ha.S(a.g,"webkitcurrentplaybacktargetiswirelesschanged",a.bC,a))\};\
|
|
VI=function(a)\{var b=a.getCurrentTime(),c=a.b;!LC("pbs",a.D.b)&&CC.measure&&CC.getEntriesByName&&(CC.getEntriesByName("mark_nr")[0]?DC("mark_nr"):DC());c.videoId&&a.D.info("docid",c.videoId);c.eventId&&a.D.info("ei",c.eventId);c.clientPlaybackNonce&&a.D.info("cpn",c.clientPlaybackNonce);0<c.startSeconds&&a.D.info("start",c.startSeconds.toString());a.g&&a.g.ah()&&a.D.info("paused",1);c.g?a.D.info("fmt",Fu(c.g)):a.D.info("fmt","-1");c.Ke&&a.D.info("yt_pre",a.xb?"2":"1");a.V.M&&a.D.info("yt_fs","1");\
|
|
a.D.info("cmt",b.toFixed(3));if(a.A)\{b=a.A;window&&window.performance&&window.performance.getEntriesByName&&(c=window.performance.getEntriesByName(b.ba),c.length&&(c=c[0],iF(b,"vri",c.fetchStart),iF(b,"vdns",c.domainLookupEnd),iF(b,"vreq",c.requestStart),iF(b,"fvb",c.responseStart),iF(b,"vrc",c.responseEnd)),c=window.performance.getEntriesByName(b.M),c.length&&(c=c[0],iF(b,"ari",c.fetchStart),iF(b,"adns",c.domainLookupEnd),iF(b,"areq",c.requestStart),iF(b,"avb",c.responseStart),iF(b,"arc",c.responseEnd)));\
|
|
var b=b.ua,d;for(d in b)a.D.g(d,b[d])\}\};\
|
|
yda=function(a)\{if(a.ia&&a.g)\{var b=a.g.Xi();b.length&&b.end(0)>a.ia&&(a.g.uk(a.ia),a.ia=window.NaN,a.Sa=a.ha.S(a.g,"canplay",a.WC,a))\}\};\
|
|
XI=function(a,b)\{if(a.g&&a.b)\{var c=a.getCurrentTime();if(c<VH(a.b)&&a.B.Wa())a.seekTo(window.Infinity,!0);else\{if(a.G)\{var d=RI(a,!1);if(c<d-WI(a))\{if(a.B.Wa()&&(a.b.Na||rs(a.b)))\{a.seekTo(window.Infinity,!0);return\}a.b.xa&&vI(a,!1)\}\}else a.b.xa&&HI(a,c)&&vI(a,!0);if(a.A&&(d=a.A,d.b))\{d.resume();if(d.K&&!Uz(d.b))\{var e=d.C<=c&&c<d.C+10,f=0<=lC(d.b.g.buffered,d.C+gF.b);e&&f&&(d.K=!1)\}d.K||(d.C=c);vF(d)\}5<c&&(a.b.startSeconds=c);(d=ux())?wx(a.la):Xi(a.la);!Gq(a.B)&&a.g.ah()||O(a.B,128)||(e=x(a.Yz,\
|
|
a),0==a.g.Wi().length?a.la=d?vx(e,100):Vi(e,100):a.la=d?vx(e,500):Vi(e,500));a.b.Ed=c;!b&&a.B.Wa()&&a.o&&(c=a.o,c.o.update(),$H(c.b.videoData)&&c.b.videoData.ga&&!c.M&&pu(c.o)>=c.b.videoData.ga&&(c.A&&c.b.videoData.ga&&(d=Yu(c,"delayplay"),d.Ha=!0,d.send(),c.M=!0),cv(c)),c.ba.A()&&c.ba.send());a.Y("progresssync",a,b)\}\}\};\
|
|
mI=function(a,b)\{var c=a.B;if(b.g!=c.g||b.b!=c.b)\{c=new pG(b,a.B);a.B=b;var d=!a.qa.length;a.qa.push(c);0>dv(c,8)&&(Xi(a.aa),a.aa=window.NaN,vI(a,!1));0<dv(c,8)&&!a.b.H&&(0,window.isNaN)(a.aa)&&(a.aa=Vi(x(a.es,a),15E3));0<dv(c,32)&&vI(a,!1);if(O(c.state,2)&&aI(a.b))\{var e=a.getCurrentTime();a.b.lengthSeconds!=e&&(a.b.lengthSeconds=e,lI(a));XI(a,!0)\}0<dv(c,2)&&a.bn();a.V.experiments.Z("html5_suspend_manifest_on_pause")&&a.b.b&&a.b.xa&&(0>dv(c,8)?a.b.b.C.stop():0<dv(c,8)&&a.b.b.resume());a.V.experiments.Z("html5_check_for_reseek")&&\
|
|
0<dv(c,1)&&(a.Na=Vi(x(a.gG,a),5E3));a.o&&fv(a.o,c);if(d)try\{for(d=0;d<a.qa.length;d++)\{var c=a.qa[d],f=a.C,e=c;if(f.af&&!f.C&&(f.we(),O(e.b,16)))\{var e=f,k=Kt(e.b,Math.max(e.o-2E3,0));null!=k&&0x7ffffffffffff>k&&e.A.start()\}a.Y("statechange",c)\}\}finally\{a.qa.length=0\}\}\};\
|
|
YI=function(a)\{O(a.B,2)||O(a.B,32)||(a.M=window.NaN)\};\
|
|
vI=function(a,b)\{a.b.xa&&a.G!=b&&(a.G=b,a.Y("liveviewshift",b))\};\
|
|
wda=function(a,b)\{zda(a,b);a.V.Le?Vi(x(function()\{JI(this.g)\},a),0):JI(a.g)\};\
|
|
zda=function(a,b)\{a.D.g("vta");IC("vta",void 0,"video_to_ad");rI(a.g,b);if(TH(a.b)&&TH(a.b)&&!a.F&&a.g)\{var c=a.b.F;if(c&&a.g.xh())\{var d=a.g.ma();a.F=new YF(d,c,a.V.experiments,a.b.xa,a.b.drmSessionId,a.V.experiments.Z("html5_disable_drm_retry"));a.F.subscribe("newsession",a.VD,a);a.F.subscribe("licenseerror",a.wD,a);a.F.subscribe("qualitychange",a.xD,a);a.F.subscribe("heartbeatparams",a.rH,a);c=a.F;d=a.b.oauthToken;c.H=d;c.Y("oauthtoken",d)\}else oI(a,"fmt.unplayable","YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK",\
|
|
"drm.1")\}a.H&&zx();Xi(a.aa);a.b.H||(a.aa=Vi(x(a.es,a),15E3))\};\
|
|
iI=function(a)\{a.F&&(a.F.dispose(),a.F=null)\};\
|
|
RI=function(a,b)\{if(!a.g)return 0;if(!a.b.xa)\{var c=a.b;return c.b&&!(0,window.isNaN)(eH(c.b))?eH(c.b):c.lengthSeconds\}if(b&&(a.G||rs(a.b)))return a.getCurrentTime();if(a.A)return c=BF(a.A),Math.max(c,VH(a.b))||0;c=a.g.Xi();return(1>c.length?window.NaN:c.end(c.length-1))||0\};\
|
|
HI=function(a,b)\{void 0==b&&(b=a.getCurrentTime());return b>=RI(a,!1)-WI(a)\};\
|
|
WI=function(a)\{if(!a.b.b)return window.NaN;var b=a.V.experiments.b("html5_allowable_liveness_drift_chunks")||2;0<b&&!a.G&&b--;return b*gH(a.b.b)\};\
|
|
$I=function(a,b,c)\{w(a)&&(a=\{mediaContentUrl:a,startSeconds:b,suggestedQuality:c\});b=/\\/([ve]|embed)\\/([^#?]+)/.exec(a.mediaContentUrl);a.videoId=b&&b[2]?b[2]:null;return ZI(a)\};\
|
|
ZI=function(a,b,c)\{if(ka(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\}\};\
|
|
bJ=function(a,b)\{F.call(this);this.app=a;this.b=null;this.o=\{\};this.A=\{\};this.C=\{\};this.B=\{\};this.g=null;this.playerType=b;T(this,"cueVideoById",this.Nn);T(this,"loadVideoById",this.Ku);T(this,"cueVideoByUrl",this.vH);T(this,"loadVideoByUrl",this.GH);T(this,"playVideo",this.Ad);T(this,"pauseVideo",this.pauseVideo);T(this,"stopVideo",this.ik);T(this,"clearVideo",this.tH);T(this,"getVideoBytesLoaded",this.BH);T(this,"getVideoBytesTotal",this.CH);T(this,"getVideoLoadedFraction",this.On);T(this,"getVideoStartBytes",\
|
|
this.DH);T(this,"cuePlaylist",this.uH);T(this,"loadPlaylist",this.Ju);T(this,"nextVideo",this.fk);T(this,"previousVideo",this.gk);T(this,"playVideoAt",this.Pn);T(this,"setShuffle",this.JH);T(this,"setLoop",this.IH);T(this,"getPlaylist",this.ad);T(this,"getPlaylistIndex",this.zH);T(this,"getPlaylistId",this.ye);T(this,"loadModule",this.ek);T(this,"unloadModule",this.Pu);T(this,"setOption",this.gf);T(this,"getOption",this.Jb);T(this,"getOptions",this.Yh);T(this,"mute",this.mute);T(this,"unMute",this.Qf);\
|
|
T(this,"isMuted",this.bd);T(this,"setVolume",this.setVolume);T(this,"getVolume",this.Mb);T(this,"seekTo",this.seekTo);T(this,"getPlayerState",this.getPlayerState);T(this,"getPlaybackRate",this.yH);T(this,"setPlaybackRate",this.Zh);T(this,"getAvailablePlaybackRates",this.Wh);T(this,"getPlaybackQuality",this.dk);T(this,"setPlaybackQuality",this.hk);T(this,"getAvailableQualityLevels",this.Hu);T(this,"getCurrentTime",this.getCurrentTime);T(this,"getDuration",this.Xh);T(this,"addEventListener",this.addEventListener);\
|
|
T(this,"removeEventListener",this.removeEventListener);T(this,"getVideoUrl",this.getVideoUrl);T(this,"getDebugText",this.ck);T(this,"getVideoEmbedCode",this.Iu);T(this,"getVideoData",this.getVideoData);T(this,"addCueRange",this.Gu);T(this,"removeCueRange",this.Lu);T(this,"setSize",this.setSize);T(this,"getApiInterface",this.wH);T(this,"destroy",this.destroy);T(this,"showVideoInfo",this.Ou);T(this,"hideVideoInfo",this.EH);aJ(this,"getInternalApiInterface",this.xH);aJ(this,"getAdState",this.getAdState);\
|
|
aJ(this,"isNotServable",this.FH);aJ(this,"getUpdatedConfigurationData",this.AH);aJ(this,"updateRemoteReceivers",this.KH);aJ(this,"sendAbandonmentPing",this.HH);aJ(this,"setAutonav",this.Mu);aJ(this,"setAutonavState",this.Nu);aJ(this,"channelSubscribed",r);aJ(this,"channelUnsubscribed",r)\};\
|
|
T=function(a,b,c)\{a.o[b]=x(c,a)\};\
|
|
aJ=function(a,b,c)\{a.A[b]=x(c,a)\};\
|
|
cJ=function(a,b)\{bJ.call(this,a,b);T(this,"getPresentingPlayerType",this.getPresentingPlayerType);T(this,"addInfoCardXml",this.LH);T(this,"cueVideoByPlayerVars",this.MH);T(this,"loadVideoByPlayerVars",this.jk);T(this,"preloadVideoByPlayerVars",this.Su);T(this,"seekBy",this.Bd);T(this,"updatePlaylist",this.cI);T(this,"updateLastActiveTime",this.bI);T(this,"updateVideoData",this.dI);T(this,"getStoryboardFormat",this.RH);T(this,"getProgressState",this.Rf);T(this,"getHousebrandProperties",this.PH);T(this,\
|
|
"setPlaybackQualityRange",this.Uu);T(this,"getCurrentPlaylistSequence",this.OH);T(this,"canPlayType",this.canPlayType);T(this,"sendVideoStatsEngageEvent",this.Sf);T(this,"setCardsVisible",this.ai);T(this,"handleGlobalKeyDown",this.SH);T(this,"getAudioTrack",this.$h);T(this,"setAudioTrack",this.Rn);T(this,"getAvailableAudioTracks",this.Qu);T(this,"getMaxPlaybackQuality",this.QH);T(this,"setSizeStyle",this.ZH);T(this,"forceFrescaUpdate",this.NH);T(this,"setAutonav",this.Mu);T(this,"setAutonavState",\
|
|
this.Nu);T(this,"showControls",this.aI);T(this,"hideControls",this.TH);T(this,"getVisibilityState",this.getVisibilityState);T(this,"shouldSendVisibilityState",this.$H);T(this,"getVideoContentRect",this.Ru);T(this,"setSafetyMode",this.YH);T(this,"setFauxFullscreen",this.WH);T(this,"cancelPlayback",this.wp);T(this,"getVideoStats",this.lq);T(this,"updateSubtitlesUserSettings",this.Sn);T(this,"getSubtitlesUserSettings",this.Qn);T(this,"resetSubtitlesUserSettings",this.Tu);T(this,"isFastLoad",this.UH);\
|
|
T(this,"isPeggedToLive",this.VH);T(this,"setMinimized",this.XH)\};\
|
|
dJ=function(a,b)\{cJ.call(this,a,b)\};\
|
|
Ada=function(a)\{(a=eJ(a.app))&&LI(a,!0)\};\
|
|
lq=function(a)\{return a.app.G\};\
|
|
gJ=function(a)\{a=lq(a).o;return!!a&&fJ(a)\};\
|
|
iJ=function(a)\{a=lq(a);var b=a.o;return b&&hJ(b)?!0:ws(a.$.getVideoData(),"ypc_module")\};\
|
|
jJ=function(a,b)\{a.Va("autonavcancel",b)\};\
|
|
R=function(a)\{return a.app.V\};\
|
|
qs=function(a)\{var b=a.app;a=a.playerType;return 3==b.getPresentingPlayerType()?b.C.N:eJ(b,a).getPlayerState()\};\
|
|
wy=function(a)\{return a.app.D\};\
|
|
kJ=function(a)\{return a.app.R&&!a.isFullscreen()||!!a.ad()\};\
|
|
mJ=function(a)\{if(a=lJ(lq(a),"captions"))a.K=!0,a.loaded?a.g&&a.g!=a.o.Re()?$B(a):a.Js():a.load()\};\
|
|
Ar=function(a)\{if(Yh())if(a.isFullscreen())(a=Vh(["exitFullscreen","webkitExitFullscreen","mozCancelFullScreen","msExitFullscreen"],window.document))&&a.call(window.document);else\{a=wy(a).element;var b=Vh(["requestFullscreen","webkitRequestFullscreen","mozRequestFullScreen","msRequestFullscreen"],a);b&&b.call(a)\}else a.za("onFullscreenToggled",a.isFullscreen())\};\
|
|
nJ=function(a)\{return(a=eJ(a.app))?az(cG(a.ua,a.b)):"unknown"\};\
|
|
oJ=function(a)\{(a=lq(a).g)?a.g?(a=a.g,a=a.b?a.b.Bf():\{\}):a=\{\}:a=\{\};return a\};\
|
|
pJ=function(a,b)\{R(a).experiments.Z("ui_logging")&&uv(a,"controlclicked",\{controlClicked:b\})\};\
|
|
uv=function(a,b,c,d)\{var e=eJ(a.app);c.event=b;a.isFullscreen()&&(c.fs=1);c.ux=1;e.logEvent(c,d)\};\
|
|
ww=function(a)\{a.Va("cardstatechange",Lr(a)&&qJ(a)?1:0)\};\
|
|
Lr=function(a)\{return(a=lJ(lq(a),"iv-module"))?Oy(a):!1\};\
|
|
qJ=function(a)\{return(a=lJ(lq(a),"iv-module"))?Py(a):!1\};\
|
|
ZB=function(a)\{(a=eJ(a.app))&&a.o&&ou(a.o.o)\};\
|
|
yy=function(a)\{a=a.app.ia;var b=wy(a.b).Ja(),b=new og(0,0,b.width,b.height);if(a.B.g&&!rJ(a))\{if(R(a.b).Za)\{var c=sJ(a)?69:48;b.top+=c;b.height-=c\}a.o&&(b.height-=sJ(a.o.b)?72:50)\}return b\};\
|
|
us=function(a,b)\{a.za("onFrescaStateChange",b);var c=eJ(a.app);if(c&&b&&c.o)\{var c=c.o.g,d=b.hasActiveStream;Bu(c,Du(c.b),"stream",[d?"A":"I"])\}\};\
|
|
tJ=function(a)\{return(a=lJ(lq(a),"fresca"))?!!a.B&&a.B.o.g:!1\};\
|
|
uJ=function(a)\{var b=eJ(a.app,1);if(!b)return!1;var c=b.getVideoData();return XH(c)&&!rs(c)&&2!=a.getPresentingPlayerType()&&(!uI(b)||3==a.getPresentingPlayerType())\};\
|
|
vJ=function(a)\{return a.app.ea.play_pause||2==a.getPresentingPlayerType()?!0:!uI(eJ(a.app,1))\};\
|
|
xJ=function(a,b,c)\{var d=a.app;a=c||a.playerType;if(c=eJ(d,a))c.C.Th.apply(c.C,b),a&&d.getPresentingPlayerType()!=a||wJ(d,"cuerangesremoved",b)\};\
|
|
jq=function(a,b)\{var c=eJ(a.app,a.playerType);c&&BI(c,b)\};\
|
|
mw=function(a,b,c)\{a=wy(a).element;var d=Bb(a.children,function(a)\{a=(0,window.parseInt)(a.getAttribute("data-layer"),10);return c-a||1\});\
|
|
0>d&&(d=-(d+1));If(a,b,d);b.setAttribute("data-layer",c)\};\
|
|
yJ=function(a)\{var b=R(a);if(!b.Cb)return!1;var c=a.getVideoData();if(!c)return!1;b=c.xa&&!b.experiments.Z("html5_live_endscreen");return!c.ypcPreview&&!b&&!ib(c.G,"ypc")&&!a.ad()\};\
|
|
Bda=function(a,b)\{var c=new P(["div","ytp-sb",["div","ytp-sb-subscribe",a.subscribeText],["div","ytp-sb-unsubscribe",a.unsubscribeText]]),d=sf("ytp-sb-subscribe",c.element),e=sf("ytp-sb-unsubscribe",c.element);a.subscribed&&J(c.element,"ytp-sb-subscribed");c.S(d,"click",function()\{dk("/subscription_ajax",\{method:"POST",Dc:\{action_create_subscription_to_channel:1,c:b\},Ib:\{feature:a.feature\}\});J(c.element,"ytp-sb-subscribed")\});\
|
|
c.S(e,"click",function()\{dk("/subscription_ajax",\{method:"POST",Dc:\{action_remove_subscriptions:1\},Ib:\{c:b\}\});me(c.element,"ytp-sb-subscribed")\});\
|
|
return c\};\
|
|
Cda=function(a)\{this.id=a.id;this.type=a.type;this.title=a.title;this.metadata=a.metadata;this.callToAction=a.callToAction;this.imageUrl=a.imageUrl;this.B=a.displayImages;this.o=a.animatedDisplayImages;this.F=a.iconUrl;this.left=a.left;this.width=a.width;this.top=a.top;this.aspectRatio=a.aspectRatio;this.startMs=a.startMs;this.endMs=a.endMs;this.videoId=a.videoId;this.videoDuration=a.videoDuration;this.playlistId=a.playlistId;this.playlistLength=a.playlistLength;this.channelId=a.channelId;this.A=\
|
|
a.htmlBlob;this.subscribeButton=a.subscribeButton;this.H=a.isSubscribe;this.b=a.targetUrl;this.C=a.sessionData||\{\};this.J=a.targetTab;this.g=a.accessibilityStr;this.G=a.isPlaceholder;this.impressionUrls=a.impressionUrls;this.D=a.hoverUrls;this.clickUrls=a.clickUrls\};\
|
|
zJ=function(a)\{this.startMs=a.startMs;this.impressionUrls=a.impressionUrls;this.skip=a.skip||!1;this.elements=[];a=a.elements;for(var b=0;b<a.length;b++)this.elements.push(new Cda(a[b]))\};\
|
|
AJ=function(a)\{gq.call(this,a);this.Ma="creatorendscreen";this.o=null;this.G=!1;this.A=null;this.g=\{\};this.C=\{\};this.B=null;this.H=!1;this.J=null\};\
|
|
Dda=function(a)\{return BJ(a)?new AJ(a):null\};\
|
|
BJ=function(a)\{return CJ(R(a).g)?!0:ws(a.getVideoData(),"iv_endscreen_url")\};\
|
|
CJ=function(a)\{return"creator-endscreen-editor"===a\};\
|
|
DJ=function(a,b)\{iq(a);a.B&&(a.B.detach(),a.B.dispose(),a.B=null);for(var c in a.g)\{var d=a.g[c];d.detach();d.dispose()\}a.g=\{\};a.C=\{\};if((a.o=b)&&b.elements)\{c=[];var e=new dq(b.startMs,0x7ffffffffffff,\{id:"ytp-ce-in-endscreen"\});c.push(e);a.B=new P(["div","ytp-ce-shadow"]);mw(a.b,a.B.element,4);for(e=0;e<b.elements.length;++e)\{var f=b.elements[e];var d=f,k=\{VIDEO:a.Iy,PLAYLIST:a.Hy,CHANNEL:a.Gy,WEBSITE:a.Jy\}[d.type];k?(k=k.call(a,d),d.G&&J(k.element,"ytp-ce-placeholder"),d=k):d=null;a.g[f.id]=d;\
|
|
a.C[f.id]=f;mw(a.b,d.element,4);k=new dq(f.startMs,f.endMs,\{id:"ytp-ce-element-"+f.id\});c.push(k);Eda(a,d,f)\}a.wb(c);a.Wn()\}\};\
|
|
EJ=function(a,b)\{var c;b.B&&(c=b.B.thumbnails);!CJ(R(a.b).g)&&a.J&&b.o&&b.o.thumbnails&&(c=b.o.thumbnails);return c?c[c.length-1].url:null\};\
|
|
FJ=function(a)\{return a?\{style:"background-image: url("+a+")"\}:\{\}\};\
|
|
Eda=function(a,b,c)\{b.O("mouseenter",x(a.Vn,a,b,c));b.O("mouseleave",x(a.av,a,b,c));b.O("click",x(a.Xr,a,c));b.O("keypress",x(a.Xr,a,c));b.O("focus",x(function(a,b)\{J(a.element,"ytp-ce-force-expand");this.Vn(a,b)\},a,b,c));\
|
|
b.O("blur",x(function(a,b)\{me(a.element,"ytp-ce-force-expand");this.av(a,b)\},a,b,c));\
|
|
b.O("touchstart",x(a.Vn,a,b,c));var d=sf("ytp-ce-expanding-overlay-hider",b.element);d&&b.S(d,"touchstart",function(a)\{a=a||window.event;a.cancelBubble=!0;a.stopPropagation&&a.stopPropagation();me(b.element,"ytp-ce-element-hover")\});\
|
|
var e=x(function(a,b,c)\{c=Mf(c);D(c,function(c)\{e(c);Xf(c)&&(a.S(c,"focus",x(function(a,b)\{J(a.element,"ytp-ce-force-expand");GJ(this,b.id,!0)\},this,a,b)),a.S(c,"click",x(function(a,b)\{J(a.element,"ytp-ce-force-expand");\
|
|
GJ(this,b.id,!0);this.H=!0\},this,a,b)),a.S(c,"blur",x(function(a,b)\{this.H?(this.H=!1,a.element.focus()):(me(a.element,"ytp-ce-force-expand"),GJ(this,b.id,!1))\},this,a,b)))\},this)\},a,b,c);\
|
|
e(b.element)\};\
|
|
GJ=function(a,b,c)\{oe(a.B.element,"ytp-ce-shadow-show",c);for(var d in a.g)d!=b&&oe(a.g[d].element,"ytp-ce-element-shadow-show",c)\};\
|
|
HJ=function(a,b,c)\{function d()\{k||(f++,f==e.length&&(l.stop(),c&&c()))\}\
|
|
if(!b||CJ(R(a.b).g))c&&c();else\{var e=Fda(a,b),f=0,k=!1,l=new fe(function()\{k=!0\},1E3,a);\
|
|
l.start();for(a=0;a<e.length;a++)Wp(e[a],d)\}\};\
|
|
Fda=function(a,b)\{for(var c=a.b.getVideoData().clientPlaybackNonce,d=a.b.getCurrentTime().toFixed(2),c=\{CPN:c,AD_CPN:c,MT:d\},d=[],e=0;e<b.length;e++)d.push(Gda(b[e],c));return d\};\
|
|
Gda=function(a,b)\{return a.replace(/%5B[a-zA-Z_:]+%5D|\\[[a-zA-Z_:]+\\]/g,function(a)\{var c=(0,window.unescape)(a),c=c.substring(1,c.length-1);return b[c]?(0,window.escape)(b[c]):a\})\};\
|
|
Hda=function(a,b)\{var c=new window.Image;c.onload=x(function()\{this.J=0<c.width&&0<c.height;b()\},a);\
|
|
c.onerror=x(function()\{this.J=!1;b()\},a);\
|
|
c.src="data:image/webp;base64,UklGRlIAAABXRUJQVlA4WAoAAAASAAAAAAAAAAAAQU5JTQYAAAD/////AABBTk1GJgAAAAAAAAAAAAAAAAAAAGQAAABWUDhMDQAAAC8AAAAQBxAREYiI/gcA"\};\
|
|
IJ=function(a)\{gq.call(this,a);this.Ma="heartbeat";this.logEvent="ypc_license";this.C=!1;this.B=0;this.A=!1;this.g=window.NaN;this.o=null\};\
|
|
JJ=function(a)\{return ws(a.getVideoData(),"ypc_license_checker_module")\};\
|
|
Ida=function(a)\{return JJ(a)?new IJ(a):null\};\
|
|
KJ=function(a)\{var b=a.b.getVideoData();return TH(b)?!!a.o:!!b.heartbeatToken\};\
|
|
LJ=function(a,b)\{if(!a.g&&a.C)\{var c=a.b.getVideoData();if(KJ(a)||c.xa)c=b,void 0==c&&(c=a.A?a.o?1E3*a.o.interval:a.b.getVideoData().heartbeatInterval||6E4:1E3),a.g=Vi(x(a.oG,a),c)\}\};\
|
|
MJ=function(a,b,c)\{if(a.g)\{a.g=window.NaN;a.B++;var d=a.b.getVideoData();(d.heartbeatSoftFail?0:a.B>=(a.o?a.o.b:d.heartbeatRetries||5))?(d=M("YTP_ERROR_LICENSE"),oI(a.b.app.g,b?"heartbeat.net":"heartbeat.servererror",d,c)):LJ(a)\}\};\
|
|
NJ=function(a)\{try\{return cg(a)\}catch(b)\{return null\}\};\
|
|
OJ=function(a)\{a.B=0;a.g&&(Xi(a.g),a.g=window.NaN);a.A=!1\};\
|
|
PJ=function(a)\{a=a.fmt_list;if(!a)return\{\};var b=[];D(a,function(a)\{a.itag&&(b[a.itag.toString()]=a)\});\
|
|
return b\};\
|
|
QJ=function(a,b,c,d,e)\{if(!a)return null;var f=b.docid;b=PJ(b);return f&&b?Jda(a,f,b,c,d,e):null\};\
|
|
Jda=function(a,b,c,d,e,f)\{d=Ii(d.split(","),Qj);var k=le(d,function(a)\{return!!c[a.itag]\});\
|
|
if(!k.length)return null;var l=Mg(a)||"",m=Ng(a),n=\{\};D(k,function(a)\{if(a)\{var b=RJ(a);b&&(n[b]=a)\}\});\
|
|
var t=[];D(d,function(a)\{if(c[a.itag])\{var d=eh(dh(qh(a.url),l),m),k=Kg(a.url),d=mh(mh(d,"orig_host",Ig(k[1],k[2],k[3],k[4])),"scid",b),u;for(u in f)d.b.get(u)||mh(d,u,f[u]);a.url=d.toString();u=c[a.itag];"clen"in a&&"byteLen"in u&&(a.clen=u.byteLen.toString());"init"in u&&"index"in u&&"init"in a&&"index"in a&&(a.init=u.init[0].toString()+"-"+u.init[1],a.index=u.index[0].toString()+"-"+u.index[1]);a.isAccelerated="1";e&&(a.isAcceleratedUiEnabled="1")\}else if((u=RJ(a))&&n[u])return;t.push(Tg(a))\});\
|
|
return t.join(",")\};\
|
|
RJ=function(a)\{return a.quality?a.quality:a.quality_label||""\};\
|
|
Kda=function(a,b,c,d)\{var e=SJ(b);e?(e.status="success-prefetch-1",c(e)):a&&!b?c(\{status:"success"\}):a?(a=Vj([a,"v1/cache/videos",b,"metadata"].join("/"),d),dk(a,\{format:"JSON",method:"GET",timeout:2E3,sb:function(a,b)\{null==b&&(b=\{\});b.status="success";c(b)\},\
|
|
onError:function()\{c(\{status:"error"\})\},\
|
|
Lc:function()\{var a=SJ(b);a?(a.status="success-prefetch-2",c(a)):c(\{status:"timeout"\})\}\})):c(\{status:"nodevice"\})\};\
|
|
SJ=function(a)\{var b=window.acceleratorMeta;return(b?b.docid:null)===a?b:null\};\
|
|
TJ=function(a)\{F.call(this);this.b=a\};\
|
|
UJ=function(a,b,c,d,e,f,k)\{this.contentProfileToken=e||null;this.deviceId=f||null;this.hostname=a;this.status=b;this.active=c;this.g=d;this.b=k||null\};\
|
|
Lda=function(a)\{function b()\{throw Error("encoding error");\}\
|
|
null==a&&b();var c=a.content_profile_token||null;c&&!w(c)&&b();var d=a.device_id||null;d&&!w(d)&&b();var e=a.hostname;e&&w(e)||b();var f=a.status||0;f&&!ha(f)&&b();var k=a.last_probe_tstamp||null;null===k||ha(f)||b();var l=a.active||!1;ga(l)||b();a=!1!==a.ux;ga(a)||b();return new UJ(e,f,l,a,c,d,k)\};\
|
|
Mda=function(a)\{var b=0,c=a.length,d=\{tc:-1640531527,Qc:-1640531527,c:314159265\},e;for(e=c;12<=e;e-=12,b+=12)d.tc+=VJ(a,b),d.Qc+=VJ(a,b+4),d.c+=VJ(a,b+8),WJ(d);d.c+=c;switch(e)\{case 11:d.c+=a[b+10]<<24;case 10:d.c+=(a[b+9]&255)<<16;case 9:d.c+=(a[b+8]&255)<<8;case 8:d.Qc+=VJ(a,b+4);d.tc+=VJ(a,b);break;case 7:d.Qc+=(a[b+6]&255)<<16;case 6:d.Qc+=(a[b+5]&255)<<8;case 5:d.Qc+=a[b+4]&255;case 4:d.tc+=VJ(a,b);break;case 3:d.tc+=(a[b+2]&255)<<16;case 2:d.tc+=(a[b+1]&255)<<8;case 1:d.tc+=a[b+0]&255\}return WJ(d)\};\
|
|
WJ=function(a)\{var b=a.tc,c=a.Qc,d=a.c,b=b-c-d^d>>>13,c=c-d-b^b<<8,d=d-b,d=d-c^c>>>13,b=b-c,b=b-d,b=b^d>>>12,c=c-d-b^b<<16,d=d-b,d=d-c^c>>>5,b=b-c,b=b-d,b=b^d>>>3,c=c-d-b^b<<10,d=d-b,d=d-c^c>>>15;a.tc=b;a.Qc=c;return a.c=d\};\
|
|
VJ=function(a,b)\{return XJ(a[b+0])+(XJ(a[b+1])<<8)+(XJ(a[b+2])<<16)+(XJ(a[b+3])<<24)\};\
|
|
XJ=function(a)\{return 127<a?a-256:a\};\
|
|
YJ=function(a)\{this.hash=a\};\
|
|
Nda=function()\{var a=Lj("yt-accelerator-settings-meta");return null==a?null:new YJ((0,window.isNaN)(a.h)?null:a.h)\};\
|
|
Oda=function()\{return new Dd(function(a,b)\{"XSRF_TOKEN"in Ri?a():ij("init",function()\{"XSRF_TOKEN"in Ri?a():b(Error("no XSRF token after init"))\})\})\};\
|
|
Pda=function(a,b,c,d)\{var e=gg(\{appliances:Ii(a,function(a)\{var b=\{active:a.active,status:a.status,ux:a.g\};null!==a.contentProfileToken&&(b.content_profile_token=a.contentProfileToken);null!==a.deviceId&&(b.device_id=a.deviceId);return b\})\}),f=Mda(Uq(e+"v2"));\
|
|
a=Nda();null!==a&&a.hash===f?c():(a=function()\{var a=\{client_info:e\};b&&(a.session_token=b);dk("/accelerator_settings_ajax?action_update=1",\{format:"JSON",method:"POST",Ib:a,timeout:3E4,sb:function()\{var a=new YJ(f);Kj("yt-accelerator-settings-meta",(0,window.isNaN)(a.hash)?\{\}:\{h:a.hash\},600);c()\},\
|
|
onError:function(a)\{d(a)\},\
|
|
Lc:function()\{d(Error("AJAX timeout"))\}\})\},b?a():Oda().then(a,d))\};\
|
|
ZJ=function(a,b,c,d)\{this.status=a;this.contentProfileToken=b||null;this.deviceId=c||null;this.b=!1!==d;this.timestamp=Date.now()\};\
|
|
$J=function(a,b,c,d)\{F.call(this);this.o=sb(a);this.C=b;this.A=d||12E4;this.B=c||5E3;this.b=this.g=null;Qda(this)\};\
|
|
Rda=function(a,b)\{var c=Date.now(),d=a.A,e=!1,f=le(a.o,function(a)\{var b=a.b,f=c-b>=d;e||!a.active||f||(e=!0);return null===b||f||1!=a.status\});\
|
|
return b&&!e?f:le(f,function(a)\{a=a.b;return null===a||c-a>=d\})\};\
|
|
Qda=function(a)\{if(!kb(a.o))\{var b=function(c)\{a.g=null;a.b=Sda(a,Rda(a,c||!1));a.b.then(function()\{a.b=null;a.g=Vi(b,a.A)\})\};\
|
|
b(!0)\}\};\
|
|
Sda=function(a,b)\{var c=Ii(b,function(b)\{return Tda(a,b)\});\
|
|
return Sd(Md(c),function()\{Ii(c,function(a)\{a.cancel()\})\})\};\
|
|
Tda=function(a,b)\{var c=null;return(new Dd(function(a)\{c=dk("//"+b.hostname+"/v1/cache/summary",\{format:"JSON",method:"GET",timeout:this.B,sb:function(b,c)\{var d=!c||!c.hasOwnProperty("ux")||!!c.ux;a(new ZJ(1,c&&c.cs,c&&c.gcdid,d))\},\
|
|
onError:function(b,c)\{var d=2;0===(b&&"status"in b?b.status:-1)&&(d=4);var e=!c||!c.hasOwnProperty("ux")||!!c.ux;a(new ZJ(d,c&&c.cs,c&&c.gcdid,e))\},\
|
|
Lc:function()\{a(new ZJ(3))\}\})\},a)).then(function(a)\{this.C(b,a)\},function()\{null!==c&&(c.abort(),c=null)\},a)\};\
|
|
aK=function(a,b)\{F.call(this);this.o="yt-accelerator-mutex-x-"+a;this.g="yt-accelerator-mutex-y-"+a;this.wa=b||Oa();this.b=0\};\
|
|
Uda=function(a,b,c)\{var d=C()+100;return(new Dd(x(a.A,a,d))).then(function(a)\{try\{b.call(c)\}finally\{Mj(this.g)\}return a\},function(a)\{this.b&&(Xi(this.b),this.b=0);\
|
|
throw a;\},a)\};\
|
|
bK=function(a,b)\{F.call(this);this.zc="yt-accelerator-master-"+a;this.wa=b||Oa();this.b=new aK("master-"+a,this.wa)\};\
|
|
Vda=function(a,b)\{return Uda(a.b,function()\{var a=Lj(this.zc)||null;if(!a||a.id==this.wa||b&&5E3<C()-a.t)Kj(this.zc,\{id:this.wa,t:C()\},120);else throw Error(a.id);\},a)\};\
|
|
cK=function()\{this.b=\{\};this.g=\{\}\};\
|
|
dK=function()\{var a=Lj("yt-accelerator-discover"),b=new cK;b.b=Rb(a&&a.addrmap||\{\},function(a)\{return Lda(a)\});\
|
|
b.g=a&&a.qparamsmap||\{\};return b\};\
|
|
eK=function(a)\{for(var b in a.b)\{var c=a.b[b];if(c.active)return c\}return null\};\
|
|
fK=function(a,b)\{a.g=b\};\
|
|
Wda=function(a)\{return\{addrmap:Rb(a.b,function(a)\{return\{hostname:a.hostname,content_profile_token:a.contentProfileToken,device_id:a.deviceId,status:a.status,active:a.active,ux:a.g,last_probe_tstamp:a.b\}\}),\
|
|
qparamsmap:a.g\}\};\
|
|
hK=function(a,b,c,d)\{F.call(this);this.o=new bK("discover");this.A=0;this.g=null;this.b=dK();this.C=c;this.B=mm(window,"storage",x(this.fA,this));d?fK(this.b,Oj(d,"&")):fK(this.b,\{\});var e=0;if(!kb(a))\{var f=Date.now();a=sb(a);Lb(a);D(a,function(a)\{if(!ta(a,"dummy"))\{var b=this.b.b[a]||null;if(null===b)\{b=this.b;a=new UJ(a,0,!1,!0);if(null!=(b.b[a.hostname]||null))throw Error("entry already exists");b.b[a.hostname]=a;e++\}else 12E5<f-b.b&&(b.b=0)\}\},this)\}!b&&0<e&&!eK(this.b)&&((this.b.b[a[0]]||null).active=\
|
|
!0,gK(this));\
|
|
b&&(this.vr(!0),this.A=Wi(x(this.vr,this),6E4))\};\
|
|
Xda=function(a)\{var b=Date.now(),c=[];D(Xb(a.b.b),function(a)\{a.active&&(!a.b||12E5<b-a.b)?(a.active=!1,a.status=0):!a.active&&1!=a.status&&a.b&&12E5<b-a.b&&c.push(a)\});\
|
|
c&&D(c,function(a)\{delete this.b.b[a.hostname]\},a)\};\
|
|
gK=function(a)\{cc(a.b.b)?a.reset():Kj("yt-accelerator-discover",Wda(a.b),259200);Pda(Xb(a.b.b),a.C,function()\{\},function()\{\})\};\
|
|
iK=function()\{F.call(this);this.g=this.b=null\};\
|
|
jK=function(a)\{gq.call(this,a);this.logEvent=this.Ma="spacecast";this.g=null;this.o=\{\}\};\
|
|
Yda=function(a)\{return a.getVideoData().spacecastModule?new jK(a):null\};\
|
|
kK=function()\{\};\
|
|
lK=function(a)\{gq.call(this,a);this.Ma="ypc_clickwrap";this.logEvent="ypc-clickwrap";aj(\{YTP_YPC_START_RENTAL_HEADER:"Vuoi iniziare questo noleggio?",YTP_YPC_START_RENTAL_BUTTON:"Inizia il noleggio"\});this.o=this.g=null\};\
|
|
Zda=function(a)\{return ws(a.getVideoData(),"ypc_clickwrap_module")?new lK(a):null\};\
|
|
mK=function()\{\};\
|
|
nK=function(a,b,c)\{this.G=0;this.D=a;this.B=b||.5;this.C=c||0;this.F="index";this.g=0;this.A=[]\};\
|
|
pK=function(a,b)\{oK(a,"value");var c=b*a.g,d=0,e=window.NaN;a.A.some(function(a)\{d+=a.weight;e=a.value;if(d>=c)return!0\});\
|
|
return e\};\
|
|
oK=function(a,b)\{a.F!=b&&(a.F=b,Eb(a.A,b))\};\
|
|
qK=function(a)\{this.A=a;this.g=[]\};\
|
|
$da=function(a)\{this.b=a;this.A=this.g=0;this.o=-1;this.D=Bq();this.C=new nK(4,.6);this.F=new iC(4);this.G=new qK(this.b.b);this.b.A?this.B=new iC(this.b.b):this.B=new nK(this.b.b,.5,.1);a=Lj("yt-player-bandwidth")||\{\};this.B.b(this.b.C,0<a.byterate?a.byterate:this.b.B);0<a.delay&&this.C.b(1,Math.min(+a.delay,2));0<a.tailDelay&&this.F.b(1,+a.tailDelay);this.o=Bq()\};\
|
|
cF=function(a,b,c)\{a.b.g&&((0,window.isNaN)(c)||(a.A+=c),(0,window.isNaN)(b)||(a.g+=b));b=Math.max(b,.05);a.B.b(b,c/b);a.D=Bq()\};\
|
|
bF=function(a,b)\{a.b.g&&!(0,window.isNaN)(b)&&(a.g+=b);a.C.b(1,b);-1<a.o&&3E4<Bq()-a.o&&rK(a)\};\
|
|
sK=function(a,b,c)\{a.b.g||((0,window.isNaN)(c)||(a.A+=c),(0,window.isNaN)(b)||(a.g+=b));a.G.b(b,c/b);a.D=Bq()\};\
|
|
tK=function(a,b,c)\{a.b.g&&!(0,window.isNaN)(c)&&(a.g+=c);b=Math.max(b,8192);a.F.b(1,c/b);-1<a.o&&3E4<Bq()-a.o&&rK(a)\};\
|
|
YC=function(a)\{a=a.C.o();a=(0,window.isNaN)(a)?.5:a;return a=Math.min(a,5)\};\
|
|
WC=function(a)\{return a.F.o()||0\};\
|
|
XC=function(a)\{var b=a.B.o(),b=0<b?b:1;if(!a.b.D)return b;a=a.G.o();a=0<a?a:1;return a>2*b?(b+a)/2:b\};\
|
|
uK=function(a)\{var b=\{\};b.delay=YC(a);b.tailDelay=WC(a);b.byterate=XC(a);return b\};\
|
|
rK=function(a)\{Kj("yt-player-bandwidth",uK(a),2592E3);a.o=Bq()\};\
|
|
oF=function(a)\{return 4E3<=Bq()-a.D\};\
|
|
aea=function()\{this.b=17;this.B=13E4;this.C=.5;this.A=!1;this.D=!0;this.o=0;this.g=!1\};\
|
|
bea=function(a)\{var b=new aea;QA(a)&&(b.A=!0,b.C=.1);a.experiments.Z("html5_ewma_bandwidth_estimator")&&(b.A=!0);a.experiments.Z("html5_incremental_cbw")&&(b.g=!0);a.experiments.Z("html5_disable_aux_bandwidth_estimator")&&(b.D=!1);a.xb&&(b.B=a.xb/8);b.b=a.experiments.b("html5_bandwidth_window_size")||b.b;return b\};\
|
|
vK=function(a,b)\{this.type=a||"";this.id=b||""\};\
|
|
wK=function(a)\{return new vK(a.substr(0,2),a.substr(2))\};\
|
|
zK=function(a)\{sk.call(this);this.startSeconds=0;this.H=!1;this.b=0;this.title="";this.A=0;this.g=[];this.D=this.B=!1;this.Ha=this.Ys=this.C=null;this.views=0;this.M=0!=a.fetch;this.o=[];this.b=Math.max(0,a.index||0);this.G=!!a.loop;this.startSeconds=a.startSeconds||0;this.N="1"==a.mob;this.title=a.playlist_title||"";this.description=a.playlist_description||"";this.author=a.author||a.playlist_author||"";this.K=\{\};a.video_id&&(this.g[this.b]=a);a.api&&("string"==typeof a.api&&16==a.api.length?a.list=\
|
|
"PL"+a.api:a.playlist=a.api);this.F=0;if(a.list)switch(a.listType)\{case "user_uploads":cea(this,a.list);break;case "user_favorites":dea(this,a.list);break;case "search":eea(this,a.list);break;default:a.playlist_length&&(this.A=a.playlist_length),this.listId=wK(a.list),a.video?(this.g=a.video.slice(0),this.B=!0):fea(this)\}else if(a.playlist)\{var b=a.playlist.toString().split(",");0<this.b&&(this.g=[]);D(b,function(a)\{a&&this.g.push(\{video_id:a\})\},this);\
|
|
this.A=this.g.length;b=Ii(this.g,function(a)\{return a.video_id\});\
|
|
xK(this,"/list_ajax?style=json&action_get_templist=1",\{video_ids:b.join(",")\});this.B=!0\}yK(this,!!a.shuffle);a.suggestedQuality&&(this.quality=a.suggestedQuality);for(var c in DH.b)b="playlist_"+c,b=a[b+"_webp"]||a[b],LA.test(b)&&(this.K[DH.b[c]]=b);this.J=a.thumbnail_ids?a.thumbnail_ids.split(","):[]\};\
|
|
AK=function(a)\{return!!(a.playlist||a.list||a.api)\};\
|
|
BK=function(a)\{var b=a.b+1;return b>=a.A?0:b\};\
|
|
CK=function(a)\{var b=a.b-1;return 0>b?a.A-1:b\};\
|
|
yK=function(a,b)\{a.H=b;var c=a.o&&null!=a.o[a.b]?a.o[a.b]:a.b;a.o=[];for(var d=0;d<a.g.length;d++)a.o.push(d);a.b=c;a.F++;if(a.H)\{c=a.o[a.b];for(d=1;d<a.o.length;d++)\{var e=Math.floor(Math.random()*(d+1)),f=a.o[d];a.o[d]=a.o[e];a.o[e]=f\}for(d=0;d<a.o.length;d++)a.o[d]==c&&(a.b=d);a.F++\}a.Y("shuffle")\};\
|
|
DK=function(a,b)\{a.b=bf(b,0,a.A-1);a.startSeconds=0\};\
|
|
cea=function(a,b)\{a.D||(a.listId=new vK("UU","PLAYER_"+b),xK(a,"/list_ajax?style=json&action_get_user_uploads_by_user=1",\{username:b\}))\};\
|
|
dea=function(a,b)\{a.D||(a.listId=new vK("FL","PLAYER_"+b),xK(a,"/list_ajax?style=json&action_get_favorited_by_user=1",\{username:b\}))\};\
|
|
eea=function(a,b)\{if(!a.D)\{a.listId=new vK("SR",b);var c=\{search_query:b\};a.N&&(c.mob="1");xK(a,"/search_ajax?style=json&embeddable=1",c)\}\};\
|
|
fea=function(a)\{if(!a.D)\{var b=\{list:a.listId\},c=a.Gb();c&&c.videoId&&(b.v=c.videoId);xK(a,"/list_ajax?style=json&action_get_list=1",b)\}\};\
|
|
xK=function(a,b,c)\{a.M&&dk(Vg(b,c),\{format:"JSON",sb:x(function(a,b)\{EK(this,b)\},a),\
|
|
onError:x(function()\{this.Y("error")\},a)\})\};\
|
|
EK=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.G=b.loop);var c=a.Gb();a.g=[];D(b.video,function(a)\{a&&(a.video_id=a.encrypted_id,this.g.push(a))\},a);\
|
|
a.A=a.g.length;b.index?a.b=b.index:gea(a,c);yK(a,!1);a.D=!1;a.B=!0;a.F++;a.C&&a.C()\}\};\
|
|
gea=function(a,b)\{if(b)\{var c=b.videoId;if(!a.g[a.b]||a.g[a.b].video_id!=c)for(var d=0;d<a.g.length;d++)if(a.g[d].video_id==c)\{a.b=d;break\}\}\};\
|
|
FK=function(a)\{sk.call(this);this.b=a;this.loaded=!1\};\
|
|
GK=function(a)\{P.call(this,a);this.N=new sk;H(this,this.N)\};\
|
|
HK=function(a,b)\{GK.call(this,\{I:"div",fa:["html5-endscreen","ytp-player-content",b||"base-endscreen"]\});this.b=a;this.K=!1\};\
|
|
IK=function()\{P.call(this,["div","ytp-subscribe-card",["img","ytp-author-image",\{src:"\{\{image\}\}"\}],["div","ytp-subscribe-card-right",["div","ytp-author-name","\{\{author\}\}"],["div","html5-subscribe-button-container"]]])\};\
|
|
JK=function(a,b)\{P.call(this,b||\{I:"div",W:"ytp-thumbnail-overlay"\});this.A=new Av(this,250);H(this,this.A);this.b=a\};\
|
|
KK=function(a)\{JK.call(this,a,\{I:"div",fa:["ytp-thumbnail-overlay","ytp-channel-overlay"],P:[\{I:"div",W:"ytp-thumbnail-overlay-image",U:\{style:"\{\{background\}\}"\}\},\{I:"div",W:"ytp-thumbnail-overlay-curtain"\}]\})\};\
|
|
LK=function(a)\{HK.call(this,a,"subscribecard-endscreen");this.o=new KK(a);H(this,this.o);mw(this.b,this.o.element,4);this.A=new IK;H(this,this.A);this.oa()\};\
|
|
MK=function(a)\{return AK(a)?(a.fetch=0,new zK(a)):new DH(a)\};\
|
|
NK=function(a,b,c,d)\{var e=b.Gb();oe(a.element,"ytp-suggestion-set",!!e.videoId);var f=b.Wg();d=b.Hc(c,d?d:"mqdefault.jpg");var k=b instanceof DH?Sq(b.lengthSeconds):null,l=!!f,f=l&&"RD"==wK(f).type;c=\{title:b.title,author:b.author,author_and_views:e.shortViewCount?b.author+" \\u2022 "+e.shortViewCount:b.author,watch:M("YTP_WATCH_VIDEO_OR_PLAYLIST",\{TITLE:b.title\},b.title),duration:k,url:b.Ol(c),is_featured:e.jr,is_list:l,is_mix:f,background:d?"background-image: url("+d+")":""\};b instanceof zK&&(c.playlist_length=\
|
|
b.A);a.update(c)\};\
|
|
OK=function(a)\{var b=R(a).experiments.Z("moving_thumbnails_autonav"),c=\{I:"img",W:"ytp-upnext-moving-thumbnail",U:\{src:"\{\{moving_thumbnail\}\}"\}\},c=\{I:"div",W:"ytp-upnext",U:\{"aria-label":"\{\{watch\}\}"\},P:[\{I:"div",W:"ytp-thumbnail-overlay-image",U:\{style:"\{\{background\}\}"\}\},b?c:null,\{I:"div",W:"ytp-thumbnail-overlay-curtain"\},\{I:"span",W:"ytp-upnext-top",P:[\{I:"span",W:"ytp-upnext-header",P:[M("YTP_PLAYLIST_UP_NEXT")]\},\{I:"span",W:"ytp-upnext-title",P:["\{\{title\}\}"]\},\{I:"span",W:"ytp-upnext-author",P:["\{\{author\}\}"]\}]\},\
|
|
\{I:"a",W:"ytp-upnext-autoplay-icon",U:\{href:"\{\{url\}\}"\},P:[\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 98 98",width:"100%"\},P:[\{I:"circle",W:"ytp-svg-autoplay-circle",U:\{cx:"49",cy:"49",fill:"#000","fill-opacity":"0.8",r:"48"\}\},\{I:"circle",W:"ytp-svg-autoplay-ring",U:\{cx:"-49",cy:"49","fill-opacity":"0",r:"46.5",stroke:"#FFFFFF","stroke-dasharray":"293","stroke-dashoffset":"-293","stroke-width":"4",transform:"rotate(-90)"\}\},\{I:"polygon",W:"ytp-svg-autoplay-triangle",U:\{fill:"#fff",points:"32,27 72,49 32,71"\}\}]\}]\},\
|
|
\{I:"span",W:"ytp-upnext-bottom",P:[\{I:"span",W:"ytp-upnext-cancel"\},\{I:"span",W:"ytp-upnext-paused",P:[M("YTP_AUTOPLAY_PAUSED_2")]\}]\},\{I:"span",W:"ytp-upnext-close"\}]\};P.call(this,c);var d=this.pa["ytp-upnext-cancel"],c=this.pa["ytp-upnext-close"],e=new P(\{I:"button",fa:["ytp-upnext-cancel-button","ytp-button"],U:\{tabindex:0,"aria-label":M("YTP_AUTOPLAY_CANCEL")\},P:[M("YTP_CANCEL")]\});H(this,e);e.O("click",this.Pr,this);e.Ba(d);d=new P(\{I:"button",fa:["ytp-upnext-close-button","ytp-button"]\});H(this,\
|
|
d);d.O("click",this.Pr,this);d.Ba(c);this.o=a;this.G=this.pa["ytp-svg-autoplay-ring"];this.C=this.B=this.b=this.A=null;this.D=new fe(this.Li,5E3,this);H(this,this.D);this.F=0;this.S(this.pa["ytp-upnext-autoplay-icon"],"click",this.gE);this.Or();this.S(a,"autonavvisibility",this.Or);b&&this.S(this.pa["ytp-upnext-moving-thumbnail"],"load",this.VJ)\};\
|
|
PK=function(a)\{a.b||(jj("a11y-announce",M("YTP_PLAYLIST_UP_NEXT")+" "+a.A.title),a.F=Bq(),a.b=new fe(a.Tk,25,a),a.Tk());me(a.element,"ytp-upnext-autoplay-paused")\};\
|
|
RK=function(a)\{QK(a);a.F=Bq();a.Tk();J(a.element,"ytp-upnext-autoplay-paused")\};\
|
|
QK=function(a)\{a.b&&(a.b.dispose(),a.b=null)\};\
|
|
SK=function(a)\{var b=R(a),c=b.experiments.Z("video_wall_moving_thumbnails_autoplay"),d=b.experiments.Z("video_wall_moving_thumbnails_hover"),c=c||d;this.B=b.D;b=em||Dc?\{style:"will-change: opacity"\}:null;d=\{I:"img",W:"ytp-videowall-moving-thumbnail",U:\{src:"\{\{moving_thumbnail\}\}"\}\};P.call(this,\{I:"a",W:"ytp-videowall-still",U:\{href:"\{\{url\}\}",target:this.B?"_blank":null,"aria-label":"\{\{watch\}\}","data-is-featured":"\{\{is_featured\}\}","data-is-list":"\{\{is_list\}\}","data-is-mix":"\{\{is_mix\}\}"\},P:[\{I:"div",\
|
|
W:"ytp-videowall-still-image",U:\{style:"\{\{background\}\}"\}\},c?d:null,\{I:"span",W:"ytp-videowall-still-featured-label",P:[M("YTP_FEATURED")]\},\{I:"span",W:"ytp-videowall-still-info",P:[\{I:"span",W:"ytp-videowall-still-info-bg",P:[\{I:"span",W:"ytp-videowall-still-info-content",U:b,P:[\{I:"span",W:"ytp-videowall-still-info-title",P:["\{\{title\}\}"]\},\{I:"span",W:"ytp-videowall-still-info-author",P:["\{\{author_and_views\}\}"]\},\{I:"span",W:"ytp-videowall-still-info-duration",P:["\{\{duration\}\}"]\}]\}]\}]\},\{I:"span",fa:["ytp-videowall-still-listlabel-regular",\
|
|
"ytp-videowall-still-listlabel"],P:[\{I:"span",W:"ytp-videowall-still-listlabel-icon"\},M("YTP_PLAYLIST"),\{I:"span",W:"ytp-videowall-still-listlabel-length",P:[" (",\{I:"span",P:["\{\{playlist_length\}\}"]\},")"]\}]\},\{I:"span",fa:["ytp-videowall-still-listlabel-mix","ytp-videowall-still-listlabel"],P:[\{I:"span",W:"ytp-videowall-still-listlabel-mix-icon"\},M("YTP_MIX"),\{I:"span",W:"ytp-videowall-still-listlabel-length",P:[" (50+)"]\}]\}]\});this.o=a;this.b=null;this.O("click",this.vI);this.O("keypress",this.wI);\
|
|
c&&this.S(this.pa["ytp-videowall-moving-thumbnail"],"load",this.yI)\};\
|
|
TK=function(a)\{if(5E5<XC(a.o.app.la))\{var b=a.b.Vi();b&&a.update(\{moving_thumbnail:b\})\}\};\
|
|
UK=function(a,b)\{HK.call(this,a,"videowall-endscreen");this.aa=a;this.X=b;this.F=0;this.B=[];this.G=this.C=this.o=null;this.H=this.R=!1;this.D=new rx(this);H(this,this.D);this.J=new fe(qa(J,this.element,"ytp-show-tiles"),0);H(this,this.J);var c=new P(\{I:"button",fa:["ytp-button","ytp-endscreen-previous"],U:\{"aria-label":M("YTP_PREVIOUS")\},P:[\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 32 32",width:"100%"\},P:[\{I:"path",U:\{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"\}\}]\}]\});\
|
|
H(this,c);c.Ba(this.element);c.O("click",this.EC,this);this.M=new Kq(\{I:"div",W:"ytp-endscreen-content"\});H(this,this.M);this.M.Ba(this.element);c=new P(\{I:"button",fa:["ytp-button","ytp-endscreen-next"],U:\{"aria-label":M("YTP_NEXT")\},P:[\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 32 32",width:"100%"\},P:[\{I:"path",U:\{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"\}\}]\}]\});H(this,c);c.Ba(this.element);c.O("click",this.DC,this);this.A=new OK(a);H(this,this.A);mw(this.b,\
|
|
this.A.element,4);this.oa()\};\
|
|
VK=function(a)\{return yJ(a.b)&&a.Xk()&&!a.G\};\
|
|
WK=function(a)\{return Ii(a.N,function(a)\{return MK(a)\})\};\
|
|
XK=function(a,b,c)\{return 0==b&&a.o.length&&(b=c/UK.b,2<=c/UK.b&&2<=b&&R(a.b).experiments.Z("video_wall_emphasize_first"))?2*UK.b:UK.b\};\
|
|
YK=function(a)\{var b=fJ(a.X);b!=a.R&&(a.R=b,a.b.Va("autonavvisibility"))\};\
|
|
g.$K=function(a)\{FK.call(this,a);aj(\{\});this.g=null;this.o=new rx(this);H(this,this.o);var b=R(a);ZK(a)?this.g=new UK(this.b,this):b.ha?this.g=new LK(this.b):this.g=new HK(this.b);H(this,this.g);mw(this.b,this.g.element,4);this.kt();this.o.S(a,"videodatachange",this.kt,this);this.o.S(a,"crn_endscreen",this.nI,this);this.o.S(a,"crx_endscreen",this.oI,this)\};\
|
|
hJ=function(a)\{var b=a.b.getVideoData(),c=!ZK(a.b)||!(!b.N||!b.N.length),b=ws(b,"ypc_module");a=aL(a.b.app);return c&&!b&&!a\};\
|
|
ZK=function(a)\{a=R(a);return a.Ed&&!a.ha\};\
|
|
fJ=function(a)\{return a.g instanceof UK&&a.g.g&&VK(a.g)\};\
|
|
bL=function(a)\{this.$=a;this.g=null;this.b=new og(0,0,0,0);this.B=new jf(0,0);this.A=this.o=0;UA&&zc(11)&&(this.g=window.document.createElement("canvas").getContext("2d"),zc(12.10532)||(this.o=3))\};\
|
|
cL=function(a,b,c,d,e,f)\{e>=f?(d+=Math.random()*f|0,f=1):(c+=Math.random()*e|0,e=1);try\{a.g.drawImage(b,c,d,e,f,c,d,e,f)\}catch(k)\{if(!(k instanceof window.DOMException)||"IndexSizeError"!=k.name)throw k;\}a=a.g.getImageData(c,d,e,f).data;for(b=0;b<a.length;b+=4)if(255<a[b]+a[b+1]+a[b+2]+a[b+3])return!0;return!1\};\
|
|
dL=function(a,b,c)\{this.F=b||!1;this.C=c||null;this.g="precision mediump float;\\nuniform sampler2D uSplr;\\nvarying vec2 vTexCrd;\\nvoid main(void) \{\\n gl_FragColor = texture2D(uSplr, vTexCrd);\\n\}";this.B=new bL(a)\};\
|
|
eL=function(a,b)\{dL.call(this,a);this.g="precision mediump float;\\nuniform sampler2D uSplr;\\nuniform int mode;\\nvarying vec2 vTexCrd;\\nuniform mat4 mLt;\\nuniform mat4 mRt;\\nvoid anaglyph(float x, float y) \{\\n x *= 0.5;\\n vec4 cLt = texture2D(uSplr, vec2(x, y));\\n vec4 cRt = texture2D(uSplr, vec2(0.5 + x, y));\\n gl_FragColor = mLt * cLt + mRt * cRt;\\n\}\\nvoid main(void) \{\\n if (mode == 2) \{\\n anaglyph(vTexCrd.x, vTexCrd.y);\\n \}\\n else if (mode == 1) \{\\n gl_FragColor = texture2D(uSplr, vec2(vTexCrd.x * 0.5, vTexCrd.y));\\n \}\\n\}";\
|
|
this.D=b;this.A=null;this.b=Lj("yt-player-webgl-anaglyph-3d-display-mode")||2;this.o=!0\};\
|
|
fL=function(a,b)\{dL.call(this,a,!0,b);this.g="precision highp float;\\nuniform sampler2D uSplr;\\nuniform sampler2D uNoiseSplr;\\nuniform float seed;\\nuniform float amount;\\nuniform float offset;\\nvarying vec2 vTexCrd;\\nvoid main(void) \{\\n vec4 col = vec4(texture2D(uSplr, vTexCrd).xyz, 1.0);\\n vec4 noiseCol = texture2D(uNoiseSplr, vTexCrd + seed);\\n float maxCol = max(max(col.x, col.y), col.z);\\n float amt = amount * smoothstep(0.0, 0.1, maxCol);\\n amt = amt * smoothstep(0.0, 0.1, 1.0 - maxCol);\\n col.xyz = col.xyz + (noiseCol.x - offset) * amt;\\n gl_FragColor = col;\\n\}";\
|
|
this.o=null;this.$=a;this.J=R(a).experiments.Z("white_noise_with_interval");this.G=R(a).experiments.b("white_noise_amount")||.05;this.H=R(a).experiments.b("white_noise_offset")||-.5;this.A=0\};\
|
|
gL=function(a,b)\{fL.call(this,a,b);this.g="precision highp float;\\nuniform sampler2D uSplr;\\nuniform float seed;\\nuniform int mode;\\nvarying vec2 vTexCrd;\\nfloat noise(vec2 crd)\\n\{\\n return fract(sin(crd.y * 99.87 + crd.x * 0.0978) * seed);\\n\}\\nvoid main(void) \{\\n if (mode == 0) \{ gl_FragColor = texture2D(uSplr,vTexCrd); return; \}\\n vec2 texCrdMinusx = vec2(vTexCrd.x - 0.00156, vTexCrd.y);\\n vec2 texCrdMinusy = vec2(vTexCrd.x, vTexCrd.y - 0.00277);\\n vec4 orjcol = texture2D(uSplr,vTexCrd);\\n vec4 col = orjcol * 1.8 -\\n texture2D(uSplr,texCrdMinusx) * 0.4 -\\n texture2D(uSplr,texCrdMinusy) * 0.4;\\n vec4 diff = orjcol * 2.0 -\\n texture2D(uSplr,texCrdMinusx) -\\n texture2D(uSplr,texCrdMinusy);\\n float fDiff = length(diff);\\n float maxCol = max(max(orjcol.x, orjcol.y), orjcol.z);\\n float namt = 0.035;\\n namt = namt * smoothstep(0.0, 0.1, maxCol);\\n namt = namt * smoothstep(0.0, 0.1, 1.0 - maxCol);\\n float noiseL = noise(gl_FragCoord.xy) * namt;\\n float eamt = smoothstep(0.0, 0.05, fDiff);\\n col = eamt * col + (1.0 - eamt) * orjcol;\\n col.xyz = col.xyz + ((1.0 - eamt) * noiseL);\\n gl_FragColor = col;\\n\}";\
|
|
this.b=null;this.D=!1\};\
|
|
hL=function(a)\{this.length=a.length||a;for(var b=0;b<this.length;b++)this[b]=a[b]||0\};\
|
|
iL=function(a)\{this.length=a.length||a;for(var b=0;b<this.length;b++)this[b]=a[b]||0\};\
|
|
jL=function(a)\{var b=a[0],c=a[1];a=a[2];return Math.sqrt(b*b+c*c+a*a)\};\
|
|
mL=function(a,b,c,d,e,f,k)\{this.D=f;this.B=Math.cos(k);this.C=Math.sin(k);this.b=kL(a);this.g=kL(a);this.o=kL(a);this.A=kL(a);c.connect(this.b,b.w,0);c.connect(this.g,b.x,0);c.connect(this.o,b.y,0);c.connect(this.A,b.z,0);this.b.connect(d,0,e);this.g.connect(d,0,e);this.o.connect(d,0,e);this.A.connect(d,0,e);lL(this,0,0);this.b.gain.value=1-this.D\};\
|
|
lL=function(a,b,c)\{var d=Math.sin(b);b=Math.cos(b);var e=Math.sin(c);c=Math.cos(c);a.g.gain.value=b*c*a.B-d*a.C;a.o.gain.value=d*c*a.B+b*a.C;a.A.gain.value=e*a.B\};\
|
|
nL=function(a,b,c)\{this.b=a;this.o=c;this.A=this.g=null\};\
|
|
oL=function(a,b,c)\{nL.call(this,a,0,c);this.C=this.B=null\};\
|
|
pL=function(a)\{return 1==a?\{w:2,x:0,y:1,z:4,channelCount:6\}:2==a?\{w:0,x:3,y:1,z:2,channelCount:4\}:\{\}\};\
|
|
qL=function()\{this.b=new window.Float32Array(16);this.o=new window.Float32Array(16);this.g=new window.Float32Array(16);this.identity()\};\
|
|
rL=function(a,b)\{for(var c=0;16>c;c+=4)a.g[c+0]=a.b[c+0]*b[0]+a.b[c+1]*b[4]+a.b[c+2]*b[8]+a.b[c+3]*b[12],a.g[c+1]=a.b[c+0]*b[1]+a.b[c+1]*b[5]+a.b[c+2]*b[9]+a.b[c+3]*b[13],a.g[c+2]=a.b[c+0]*b[2]+a.b[c+1]*b[6]+a.b[c+2]*b[10]+a.b[c+3]*b[14],a.g[c+3]=a.b[c+0]*b[3]+a.b[c+1]*b[7]+a.b[c+2]*b[11]+a.b[c+3]*b[15];c=a.b;a.b=a.g;a.g=c\};\
|
|
sL=function(a)\{var b=new window.Float32Array(3),c=jL(a);b[0]=a[0]/c;b[1]=a[1]/c;b[2]=a[2]/c;a=1/(Math.abs(b[0])+Math.abs(b[1])+Math.abs(b[2]));b[0]*=a;b[1]*=a;b[2]*=a;0<b[2]&&(a=(1-Math.abs(b[0]))*(0<b[1]?1:-1),b[0]=(1-Math.abs(b[1]))*(0<b[0]?1:-1),b[1]=a);b[0]*=.5;b[1]*=.5;b[2]*=.5;b[0]+=.5;b[1]+=.5;a=Math.floor(256*b[0]);b=Math.floor(256*b[1]);256==a&&--a;256==b&&--b;return\{x:a,y:255-b\}\};\
|
|
hea=function(a)\{function b(a,b)\{var c,d=b;for(c=0;a[c]!=b;++c)\{var e=a[c];a[c]=d;d=e\}a[c]=d;return c\}\
|
|
var c=a.length,d=Array(2*c+3),e=0;d[0]=0;d[1]=c>>8&255;d[2]=c&255;for(var e=3,f=Array(256),k=Array(256),l=Array(256),m=0;256>m;++m)f[m]=m,k[m]=m,l[m]=0;for(var n=0,t=0,m=0;m<c;++m)\{var u=a[m],y=b(f,u);k[t]==u?l[t]+=4:0==(l[t]>>=1)&&(k[t]=u,l[t]=1);1<l[u]&&b(f,k[u]);t=u;0==y&&++n;if(0!=y||m+1==c)\{for(;0<n;)--n,0==n%2?d[e++]=0:d[e++]=254,n>>=1;if(255==y||254==y)d[e++]=255;0!=y&&(d[e++]=y)\}\}return d.slice(0,e)\};\
|
|
iea=function()\{this.C=this.F=this.g=this.D=this.o=0;this.B=new window.Float32Array(3);this.A=-1;this.b=[]\};\
|
|
tL=function(a,b)\{this.F=a;this.o=null;this.R=b;this.B=new qL;this.ca=this.da=this.ga=this.La=null;this.C=.872;this.ba=this.aa=this.X=this.g=this.b=0;this.J=!0;this.A=this.D=0;this.H=new window.Float32Array(3);this.K=new bL(a);this.ea=new iea\};\
|
|
uL=function(a,b)\{tL.call(this,a,b);this.N=null;this.G=Lj("yt-player-webgl-spherical-3d-display-mode")||1;this.M=!0\};\
|
|
vL=function(a,b,c)\{this.D=c;this.A=wy(a).b;this.H=10;this.B=!0;this.R=this.M=this.X=this.o=this.g=null;this.ba=b;this.b=null;this.$=a;this.C=new og(0,0,0,0);this.J=!1;this.G=!0\};\
|
|
kea=function(a,b)\{a.g=window.document.createElement("canvas");if(!a.g)return 1;a.D.appendChild(a.g);var c=b||R(a.$).experiments.Z("webgl_use_creation_attribs")?\{alpha:!1,antialias:!1,depth:!1,failIfMajorPerformanceCaveat:b\}:null;try\{a.o=a.g.getContext("webgl",c)||(b?null:a.g.getContext("experimental-webgl"))\}catch(e)\{return 2\}if(null==a.o)return 3;c=jea(a);if(0!=c)return c;var c=a.o,d=c.createBuffer();c.bindBuffer(c.ARRAY_BUFFER,d);c.bufferData(c.ARRAY_BUFFER,new window.Float32Array([-1,-1,0,1,-1,\
|
|
0,-1,1,0,1,1,0]),c.STATIC_DRAW);a.M=d;c=a.o;d=c.createTexture();c.activeTexture(c.TEXTURE0);c.bindTexture(c.TEXTURE_2D,d);c.texParameteri(c.TEXTURE_2D,c.TEXTURE_MIN_FILTER,c.LINEAR);c.texParameteri(c.TEXTURE_2D,c.TEXTURE_MAG_FILTER,c.LINEAR);c.texParameteri(c.TEXTURE_2D,c.TEXTURE_WRAP_S,c.CLAMP_TO_EDGE);c.texParameteri(c.TEXTURE_2D,c.TEXTURE_WRAP_T,c.CLAMP_TO_EDGE);a.X=d;c=a.o;c.clearColor(0,0,0,1);c.clear(c.COLOR_BUFFER_BIT|c.DEPTH_BUFFER_BIT);c.bindBuffer(c.ARRAY_BUFFER,a.M);c.vertexAttribPointer(a.N,\
|
|
3,c.FLOAT,!1,0,0);a.K();a.A.crossOrigin="use-credentials";return 0\};\
|
|
jea=function(a)\{var b=a.o,c=b.createShader(b.VERTEX_SHADER);b.shaderSource(c,a.b.Ll());b.compileShader(c);if(!b.getShaderParameter(c,b.COMPILE_STATUS))return 4;var d=b.createShader(b.FRAGMENT_SHADER);b.shaderSource(d,a.b.Cl());b.compileShader(d);if(!b.getShaderParameter(d,b.COMPILE_STATUS))return 5;var e=b.createProgram();b.attachShader(e,c);if(1!=b.getProgramParameter(e,b.ATTACHED_SHADERS))return 6;b.attachShader(e,d);if(2!=b.getProgramParameter(e,b.ATTACHED_SHADERS))return 7;b.linkProgram(e);if(0==\
|
|
b.getProgramParameter(e,b.LINK_STATUS))return 8;b.validateProgram(e);b.useProgram(e);if(0==b.getProgramParameter(e,b.VALIDATE_STATUS))return 9;a.N=b.getAttribLocation(e,"aVertPos");b.enableVertexAttribArray(a.N);a.R=e;a.b.Yd(b,a.R,a.D);return 0\};\
|
|
g.wL=function(a)\{FK.call(this,a);this.o=new rx(this);H(this,this.o);this.A=new P(\{I:"div",W:"webgl"\});H(this,this.A);this.$=a;this.g=null;this.load()\};\
|
|
xL=function(a,b)\{if(a.g)\{var c=a.g;c.b&&c.b.ci(b)\}\};\
|
|
lea=function(a)\{a=a.A;this.o=a.ypc_offer_button_text;this.description=a.ypc_offer_description;this.heading=a.ypc_offer_headline;this.A=a.ypc_full_video_message;this.offerId=a.ypc_offer_id;this.b=a.ypc_buy_url;this.thumbnail=a.ypc_item_thumbnail;LA.test(this.thumbnail)||(this.thumbnail="");this.title=a.ypc_item_title;this.g=a.ypc_item_url;this.videoId=a.ypc_vid\};\
|
|
yL=function()\{GK.call(this,["div",["ytp-drawer","html5-stop-propagation"],["div","ytp-drawer-content","\{\{content\}\}"],["button",["ytp-drawer-close-button","ytp-button"],Dh()],["button",["ytp-drawer-open-button","ytp-button"]]]);this.S(this.pa["ytp-drawer-close-button"],"click",this.o);this.S(this.pa["ytp-drawer-open-button"],"click",this.show);this.b=new fe(qa(me,this.element,"ytp-drawer-closed"),0);H(this,this.b);this.Nb(null);this.oa()\};\
|
|
zL=function(a,b,c)\{sk.call(this);this.o=0==c;this.b=new yL;this.b.subscribe("close-clicked",this.B,this);H(this,this.b);this.A=window.document.createElement("div");J(this.A,"html5-ypc-endscreen");this.g=new P(\{I:"div",W:"html5-ypc-module",P:[\{I:"div",W:"html5-ypc-action-heading",P:["\{\{heading\}\}"]\},\{I:"div",W:"html5-ypc-thumbnail",P:["\{\{thumbnail_element\}\}"]\},\{I:"div",W:"html5-ypc-title",P:["\{\{title\}\}"]\},\{I:"div",W:"html5-ypc-description",P:["\{\{description\}\}"]\},\{I:"button",fa:["html5-ypc-purchase",\
|
|
"ytp-button"],P:["\{\{button_label\}\}"]\}]\});H(this,this.g);this.D=this.g.pa["html5-ypc-purchase"];this.g.S(this.D,"click",this.C,this);c=b.title;b.g&&(c=["a",\{href:b.g,target:"blank_"\},b.title]);var d="";b.thumbnail&&(d=["img",\{src:b.thumbnail\}]);this.g.update(\{heading:b.heading,title:c,thumbnail_element:d,description:b.description,button_label:b.o\});this.Ba(a)\};\
|
|
AL=function(a)\{a.o||(a.A.appendChild(a.g.element),a.b.Nb(null),Pq(a.A,"block"))\};\
|
|
g.BL=function(a)\{FK.call(this,a);this.g=this.C=this.o=null;this.D=new fe(function()\{var a=this.g;a.o||a.b.oa()\},0,this);\
|
|
this.A=null;this.B=new rx(this);H(this,this.B);this.load()\};\
|
|
CL=function(a,b)\{F.call(this);this.F=b;this.B=this.g=this.o=null;this.b=[];this.J=\{\};this.A=\{\};this.C=\{\};this.G=null;this.$=a;this.D=[];this.H=null;this.K=R(a).experiments.Z("no_player_module_warnings")||.05<=Math.random()\};\
|
|
DL=function(a)\{var b=R(a.$);if("leanback"==b.b||b.Ub||!b.Ed&&!b.ha)return!1;var c=a.$.getPresentingPlayerType();if(2==c||3==c)return!1;if(b.experiments.Z("html5_live_endscreen"))return!0;a=a.$.getVideoData();return!!a&&!a.xa\};\
|
|
FL=function(a,b,c,d)\{try\{var e=q(EL[b]);R(a.$).experiments.Z("player_no_remote_modules")&&(e=mea[b]);if(d)\{if(e)\{var f=a.F,k=e._version;k?a.K||k==f||Zi(Error("Module "+b+" out of sync: "+f+" != "+k,"WARNING")):e._version=f;return new e(a.$)\}nea(a,b,c)\}else jq(a.$,b)\}catch(l)\{jq(a.$,b),Zi(l)\}return null\};\
|
|
GL=function(a)\{a.o&&(Nb(a.o),a.o=null);a.g&&(Nb(a.g),a.g=null);a.B&&(Nb(a.B),a.B=null);a.b=le(a.b,function(a)\{try\{a.destroy()\}catch(c)\{Zi(c)\}return!1\},a)\};\
|
|
oea=function(a,b,c)\{HL(a);a.H=b;a.D=sb(c);D(a.b,function(a)\{0<=gb(c,a.Ma)&&(a.F=b,a.zj(!!a.F))\})\};\
|
|
HL=function(a)\{D(a.D,function(a)\{if(a=lJ(this,a))a.F=null,a.zj(!1)\},a);\
|
|
a.H=null;a.D=[]\};\
|
|
IL=function(a)\{a=lJ(a,"iv-module");return!(!a||!a.loaded)\};\
|
|
JL=function(a,b)\{if(!b)return Ii(a.b,function(a)\{return a.Ma\});\
|
|
var c=lJ(a,b);return c?c.Tf():[]\};\
|
|
lJ=function(a,b)\{return bb(a.b,function(a)\{return a.Ma==b\})\};\
|
|
pea=function(a)\{var b=\{\};D(a.b,function(a)\{ra(b,a.bi())\});\
|
|
return b\};\
|
|
nea=function(a,b,c)\{if(a.F)\{for(var d=a.F+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=window.document.createElement("script"),f=!0);var n=x(function()\{this.isDisposed()||c.call(this)\},a),t=x(function()\{this.isDisposed()||jq(this.$,b)\},a);\
|
|
k.onload=qa(function(a)\{qd(n);a&&a()\},k.onload);\
|
|
k.onerror=qa(function(a)\{qd(t);a&&a()\},k.onerror);\
|
|
k.onreadystatechange=qa(function(a)\{switch(k.readyState)\{case "loaded":case "complete":qd(n,this)\}a&&a()\},k.onreadystatechange);\
|
|
f&&(k.src=d,d=window.document.getElementsByTagName("head")[0]||window.document.body,d.insertBefore(k,d.firstChild),Mb(a,function()\{k.parentNode&&k.parentNode.removeChild(k);g.ba(EL[b],null,void 0)\}))\}\};\
|
|
KL=function(a,b,c)\{this.b=b;this.g=c;this.B=a;this.o=!0\};\
|
|
LL=function(a,b)\{mc.call(this,"adError");this.o=a;this.b=b?b:null\};\
|
|
ML=function(a,b,c)\{mc.call(this,a);this.o=b;this.b=null!=c?c:null\};\
|
|
qea=function(a)\{this.b=a\};\
|
|
rea=function()\{var a=NL();return OL(a,"disableExperiments")\};\
|
|
OL=function(a,b)\{if($b(a.b,b))\{var c=a.b[b];if(ga(c))return c\}return!1\};\
|
|
sea=function(a)\{if($b(a.b,"forceExperimentIds"))\{a=a.b.forceExperimentIds;var b=[],c=0;ea(a)&&D(a,function(a)\{ha(a)&&(b[c++]=a)\});\
|
|
return b\}return null\};\
|
|
PL=function(a)\{return(a=a.match(/^\\w\{2,3\}([-_]|$)/))?a[0].replace(/[_-]/g,""):""\};\
|
|
QL=function()\{this.o="always";this.F=4;this.A=1;this.g=!1;this.J=this.C=!0;this.H=!1;this.D=!0;this.G=null\};\
|
|
NL=function()\{var a=U;if(null==a.G)\{var b=\{\},c=(new L(zf().location.href)).b;if(wh(c,"tcnfp"))try\{b=cg(c.get("tcnfp"))\}catch(d)\{\}a.G=new qea(b)\}return a.G\};\
|
|
RL=function()\{\};\
|
|
SL=function(a,b,c,d)\{this.wa=a;this.b=bf(c||0,0,1);this.g=null!=d?d:!0\};\
|
|
TL=function(a)\{this.wa=a;this.g=new Bg;this.b=null\};\
|
|
tea=function(a)\{var b=Math.random(),c=0,d=a.g.Ra();D(d,function(a)\{c+=a.b\},a);\
|
|
var e=1<c?c:1;a.b=null;for(var f=0,k=0;k<d.length;++k)if(f+=d[k].b,f/e>=b)\{a.b=d[k];break\}\};\
|
|
vea=function()\{this.o=null!=aa.G_testRunner;this.b=new RL;this.g=new Bg;UL(this,"GvnExternalLayer",31061774,.01);UL(this,"GvnExternalLayer",31061775,.01);UL(this,"GvnExternalLayer",41351016,.05);UL(this,"GvnExternalLayer",41351017,.05);UL(this,"GvnExternalLayer",41351020,.05);UL(this,"GvnExternalLayer",41351021,.05);UL(this,"GvnExternalLayer",41351088,.01);UL(this,"GvnExternalLayer",41351089,.01);UL(this,"GvnExternalLayer",136961001,.01);UL(this,"GvnExternalLayer",136961002,.01);UL(this,"GvnExternalLayer",\
|
|
420706008,.05);UL(this,"GvnExternalLayer",420706009,.05);UL(this,"GvnExternalLayer",231422001,.05);UL(this,"GvnExternalLayer",231422002,.05);UL(this,"GvnExternalLayer",31061780,.01);UL(this,"GvnExternalLayer",31061781,.01);UL(this,"GvnExternalLayer",31061782,.01);UL(this,"GvnExternalLayer",420706010,.2);UL(this,"GvnExternalLayer",420706011,.2);UL(this,"ActiveViewExternalLayer",21592054,.05);UL(this,"ActiveViewExternalLayer",21592055,.05);UL(this,"GvnExternalLayer",21592052,.01);UL(this,"GvnExternalLayer",\
|
|
21592053,.01);UL(this,"GvnExternalLayer",420706024,.01);UL(this,"GvnExternalLayer",420706025,.01);uea(this);var a;a=NL();a=sea(a);null!=a&&(this.o=!1,VL(this,a.map(String)))\};\
|
|
XL=function()\{WL||(WL=new vea);return WL\};\
|
|
wea=function(a,b)\{a.b=b\};\
|
|
xea=function()\{var a=XL();D(a.g.Ua(),function(a)\{ta(a,"FORCED_PUB_EXP_LAYER_")&&this.g.remove(a)\},a)\};\
|
|
UL=function(a,b,c,d)\{A(B(b))||(0,window.isNaN)(c)||0>=c||(c=new SL(c,0,d),YL(a,b).g.set(c.getId(),c))\};\
|
|
uea=function(a)\{rea()||D(a.g.Ra(),function(a)\{tea(a)\},a)\};\
|
|
VL=function(a,b)\{D(b,function(a)\{var b=Number(a);a="FORCED_PUB_EXP_LAYER_"+a;(0,window.isNaN)(b)||0>=b||A(B(a))||(YL(this,a).b=new SL(b,0,0,!0))\},a)\};\
|
|
ZL=function(a,b)\{return a.o?!1:Uh(a.g.Ra(),function(a)\{return!!a.b&&a.b.getId()==b\})\};\
|
|
$L=function(a)\{if(a.o)return"";var b=[];D(a.g.Ra(),function(a)\{(a=a.b)&&a.g&&b.push(a.getId())\});\
|
|
return b.sort().join(",")\};\
|
|
YL=function(a,b)\{var c=a.g.get(b);null==c&&(c=new TL(b),a.g.set(b,c));return c\};\
|
|
bM=function(a)\{return null!=a?aM(yea,a):!1\};\
|
|
aM=function(a,b)\{try\{var c=(new L(b)).g,c=c.replace(/^www./i,"");return Uh(a,function(a)\{return zea(a,c)\})\}catch(d)\{return!1\}\};\
|
|
zea=function(a,b)\{if(A(B(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\};\
|
|
dM=function(a)\{var b=!1;cM(a,Aea)?b=!1:bM(a)?b=!0:"https:"==window.location.protocol&&(cM(a,Bea)||U.b())&&(b=!0);if(b)\{b=new L(a);if("https"==b.A)return a;ch(b,"https");return b.toString()\}return a\};\
|
|
cM=function(a,b)\{return(new RegExp("^https?://([a-z0-9-]\{1,63\}\\\\.)*("+b.join("|").replace(/\\./g,"\\\\.")+")(:[0-9]+)?([/?#]|$)","i")).test(a)\};\
|
|
eM=function(a)\{window.open(a,"_blank")\};\
|
|
gM=function(a,b,c)\{null==a?a="":(mh(a,"label",b),null!=c&&mh(a,"value",c.join(";")),a=a.toString());fM(a)\};\
|
|
hM=function(a,b,c,d)\{null!=a&&null!=b&&(a=lu(a,b));try\{if(null!=c)\{b=a;var e=(c||\{\}).viewability||"na";if(A(B(e)))a=b;else\{var f=new L(b);wh(f.b,"label")?(mh(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=lu(c,k);if(2048>l.length)\{a=l;break a\}\}a=c\}\}catch(m)\{\}return a\};\
|
|
fM=function(a,b,c,d)\{a=hM(a,b,c,void 0);try\{a=dM(a);var e=XL(),f=!U.b()||ZL(e,41351089)||e.b.Z("html5_detect_image_pings"),k=e.b.Z("html5_try_beacons");null!=d&&d?iM.Gt(a,f):U.D?iM.qG(a,f,k):iM.Lj(a,f,k)\}catch(l)\{\}\};\
|
|
jM=function(a,b)\{null!=a&&D(a,function(a)\{fM(a,b)\})\};\
|
|
Cea=function(a,b)\{if(A(B(b)))return a;var c=new L(a),d=c.g;return null!=d&&ua(d,".g.doubleclick.net")?(mh(c,"ged",b),c.toString()):a\};\
|
|
kM=function(a,b)\{this.message=a;this.errorCode=b\};\
|
|
mM=function(a,b,c)\{return lM("adLoadError",a,b||null,ub(arguments,2))\};\
|
|
nM=function(a,b,c)\{return lM("adPlayError",a,b||null,ub(arguments,2))\};\
|
|
oM=function(a,b,c,d,e)\{var f=a.apply(null,rb([c,d],ub(arguments,3)));b.dispatchEvent(new ML("log",null,f))\};\
|
|
lM=function(a,b,c,d)\{if(c instanceof KL)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 KL(a,b,e);a.A=c;return a\};\
|
|
pM=function(a,b,c,d)\{var e=nM.apply(null,rb([b,c],ub(arguments,3)));a.dispatchEvent(new LL(e))\};\
|
|
uM=function()\{return!qM()&&(tc("iPod")||tc("iPhone")||tc("Android")||tc("IEMobile"))\};\
|
|
qM=function()\{return tc("iPad")||tc("Android")&&!tc("Mobile")||tc("Silk")\};\
|
|
vM=function()\{return uM()||qM()\};\
|
|
xM=function()\{return Dea&&!wM||Ka(sc,"iPod")\};\
|
|
yM=function()\{return xM()||wM\};\
|
|
BM=function(a)\{return SA&&zM(AM,a)\};\
|
|
zM=function(a,b)\{if(null==CM[b])\{var c=DM(a);c?(c=c.replace(/_/g,"."),CM[b]=0<=Ra(c,b)):CM[b]=!1\}return CM[b]\};\
|
|
DM=function(a)\{A(EM)&&(a=a.exec(sc))&&(EM=a[1]);return EM\};\
|
|
FM=function()\{var a=sc;return a?Ka(a,"Nintendo WiiU"):!1\};\
|
|
GM=function()\{var a;if(!(a=Ka(sc,"CrKey")||Ka(sc,"PlayStation")||Ka(sc,"Roku")))if(a=sc)\{var b=Ka(a,"AppleTV")||Ka(a,"GoogleTV")||Ka(a,"HbbTV")||Ka(a,"NetCast.TV")||Ka(a,"Opera TV")||Ka(a,"POV_TV")||Ka(a,"SMART-TV")||Ka(a,"SmartTV");a=ZL(XL(),420706011)?b||Ka(a,"TV Store")||Ka(a,"OMI/")||Ka(a,"Presto")&&Ka(a,"Linux")&&!Ka(a,"X11")&&!Ka(a,"Android")&&!Ka(a,"Mobi"):b\}else a=!1;return a||Ka(sc,"Xbox")\};\
|
|
HM=function()\{return xM()||SA&&!BM(4)||!U.b()&&GM()?!1:!0\};\
|
|
IM=function()\{this.reset()\};\
|
|
JM=function(a,b)\{null!=b&&a.g!=b?(a.b=1,a.g=b):a.b=null!=b?a.b+1:1;return a.b\};\
|
|
KM=function()\{this.g=this.b=null\};\
|
|
MM=function()\{this.b=LM();this.J=-1;this.K=this.M=this.C=this.H=this.g=null;this.B=LM();this.A=null;this.R=this.D=this.F="";this.G=this.N=this.X=this.o=null;this.ba=!1\};\
|
|
LM=function()\{return Math.floor(4503599627370496*Math.random())\};\
|
|
NM=function(a)\{null==a.C&&(a.C=new IM);return a.C\};\
|
|
OM=function(a)\{if(U.g)\{var b;return"h.3.0.0"\}b="h."+a.R;null!=a.o&&(b+="/n."+a.o,null!=a.g&&(b+="/"+a.g));return b\};\
|
|
PM=function()\{this.b=.01>Math.random();this.g=Math.floor(4503599627370496*Math.random())\};\
|
|
SM=function(a,b,c,d)\{if(a.b||d)\{c=c||\{\};c.lid=b;c.sdkv=OM(QM);b=$L(XL());A(B(b))||(c.e=b);c=Eea(a,c);var e=new L("http://pagead2.googlesyndication.com/pagead/gen_204");Pb(c,function(a,b)\{mh(e,b,null!=a?"boolean"==typeof a?a?"t":"f":""+a:"")\},a);\
|
|
a=RM();ch(e,a.A);fM(e.toString())\}\};\
|
|
Eea=function(a,b)\{b.id="";var c=RM();b.c=a.g;b.domain=c.g;return b\};\
|
|
RM=function()\{var a=zf(),b=window.document;return new L(a.parent==a?a.location.href:b.referrer)\};\
|
|
TM=function()\{\};\
|
|
WM=function(a,b,c)\{a.b=null;b||(b=[]);a.D=void 0;a.A=-1;a.g=b;a:\{if(a.g.length)\{b=a.g.length-1;var d=a.g[b];if(d&&"object"==typeof d&&!ea(d)&&!(UM&&d instanceof window.Uint8Array))\{a.B=b-a.A;a.o=d;break a\}\}a.B=Number.MAX_VALUE\}a.C=\{\};if(c)for(b=0;b<c.length;b++)d=c[b],d<a.B?(d+=a.A,a.g[d]=a.g[d]||VM):a.o[d]=a.o[d]||VM\};\
|
|
V=function(a,b)\{if(b<a.B)\{var c=b+a.A,d=a.g[c];return d===VM?a.g[c]=[]:d\}d=a.o[b];return d===VM?a.o[b]=[]:d\};\
|
|
XM=function(a,b,c)\{a.b||(a.b=\{\});if(!a.b[c])\{var d=V(a,c);d&&(a.b[c]=new b(d))\}return a.b[c]\};\
|
|
Fea=function(a)\{var b=YM;a.b||(a.b=\{\});if(!a.b[1])\{for(var c=V(a,1),d=[],e=0;e<c.length;e++)d[e]=new b(c[e]);a.b[1]=d\}b=a.b[1];b==VM&&(b=a.b[1]=[]);return b\};\
|
|
$M=function(a)\{if(a.b)for(var b in a.b)\{var c=a.b[b];if(ea(c))for(var d=0;d<c.length;d++)c[d]&&ZM(c[d]);else c&&ZM(c)\}\};\
|
|
ZM=function(a)\{$M(a);return a.g\};\
|
|
aN=function(a)\{var b;if(ea(a))\{for(var c=Array(a.length),d=0;d<a.length;d++)null!=(b=a[d])&&(c[d]="object"==typeof b?aN(b):b);return c\}if(UM&&a instanceof window.Uint8Array)return new window.Uint8Array(a);c=\{\};for(d in a)null!=(b=a[d])&&(c[d]="object"==typeof b?aN(b):b);return c\};\
|
|
bN=function(a)\{WM(this,a,null)\};\
|
|
cN=function(a)\{WM(this,a,null)\};\
|
|
dN=function(a)\{WM(this,a,null)\};\
|
|
eN=function(a)\{WM(this,a,null)\};\
|
|
fN=function(a)\{WM(this,a,null)\};\
|
|
gN=function(a)\{WM(this,a,null)\};\
|
|
hN=function(a)\{WM(this,a,Gea)\};\
|
|
YM=function(a)\{WM(this,a,null)\};\
|
|
iN=function()\{\};\
|
|
jN=function()\{return Math.round(C()/1E3)\};\
|
|
Hea=function(a)\{var b;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:jN()\};\
|
|
kN=function(a)\{for(var b=[],c=a=zf(a.ownerDocument);c!=a.top;c=c.parent)if(c.frameElement)b.push(c.frameElement);else break;return b\};\
|
|
lN=function()\{this.b=\{\};this.g=0\};\
|
|
mN=function(a,b)\{this.B=a;this.o=!0;this.b=b\};\
|
|
nN=function(a,b)\{mN.call(this,String(a),b);this.A=a;this.b=!!b\};\
|
|
oN=function(a,b)\{mN.call(this,a,b)\};\
|
|
pN=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 oN("",new og(c,b,Number(a[3])-c,Number(a[2])-b))\}return new oN("",new og(0,0,0,0))\};\
|
|
rN=function()\{qN||(qN=new lN);return qN\};\
|
|
sN=function(a)\{var b=new og(-Number.MAX_VALUE/2,-Number.MAX_VALUE/2,Number.MAX_VALUE,Number.MAX_VALUE),c=new og(0,0,0,0);if(!a||0==a.length)return c;for(var d=0;d<a.length;d++)\{var e;a:\{e=b;var f=a[d],k=Math.max(e.left,f.left),l=Math.min(e.left+e.width,f.left+f.width);if(k<=l)\{var m=Math.max(e.top,f.top),f=Math.min(e.top+e.height,f.top+f.height);if(m<=f)\{e.left=k;e.top=m;e.width=l-k;e.height=f-m;e=!0;break a\}\}e=!1\}if(!e)return c\}return b\};\
|
|
tN=function(a,b)\{var c=a.getBoundingClientRect(),d=Vs(a,b);return new og(Math.round(d.x),Math.round(d.y),Math.round(c.right-c.left),Math.round(c.bottom-c.top))\};\
|
|
uN=function(a,b,c)\{if(b&&c)\{var d;a:\{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 og(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;a.setItem(new mN("vp",d));d&&0<d?(e=pg(b),f=pg(c),e=e.top>=f.top&&e.top<f.bottom):e=!1;a.setItem(new nN(512,e));d&&0<d?(e=pg(b),f=pg(c),e=e.bottom<=f.bottom&&e.bottom>f.top):e=!1;a.setItem(new nN(1024,\
|
|
e));d&&0<d?(e=pg(b),f=pg(c),e=e.left>=f.left&&e.left<f.right):e=!1;a.setItem(new nN(2048,e));d&&0<d?(b=pg(b),c=pg(c),c=b.right<=c.right&&b.right>c.left):c=!1;a.setItem(new nN(4096,c))\}\};\
|
|
vN=function()\{this.g=-1\};\
|
|
wN=function()\{this.b=\{\};return this\};\
|
|
xN=function(a,b)\{a.b.eb=fc(a.b,"eb",0)|b\};\
|
|
Iea=function(a,b)\{var c=0;Zb(zf(),"ima","video","client","tagged")&&(c=1);var d;d=null;a&&(d=a());if(d)\{var e=d;d=rN();d.b=\{\};var f=new nN(32,!0);f.o=!1;d.setItem(f);f=zf().document;f=f.webkitVisibilityState||f.mozVisibilityState||f.visibilityState||f.msVisibilityState||"";d.setItem(new nN(64,"hidden"!=f.toLowerCase().substring(f.length-6)?!0:!1));var k;try\{var l;var m=zf().top;try\{l=!!m.location.href||""===m.location.href\}catch(u)\{l=!1\}if(l)\{var n=kN(e);k=n&&0!=n.length?"1":"0"\}else k="2"\}catch(u)\{k=\
|
|
"2"\}d.setItem(new nN(256,"2"==k));d.setItem(new nN(128,"1"==k));n=l=zf().top;"2"==k&&(n=zf());m=tN(e,n);d.setItem(new oN("er",m));var t;try\{t=n.document&&!n.document.body?null:vf(n||window)\}catch(u)\{t=null\}t?(n=yf(pf(n.document).b),d.setItem(new nN(16384,!!n)),t=n?new og(n.x,n.y,t.width,t.height):null):t=null;d.setItem(new oN("vi",t));if(t&&"1"==k)\{k=kN(e);e=[];for(n=0;n<k.length;n++)(f=tN(k[n],l))&&e.push(f);e.push(t);t=sN(e)\}uN(d,m,t);d.g&&(k=jN()-d.g,d.setItem(new mN("ts",k)));d.g=jN()\}else d=\
|
|
rN(),d.b=\{\},d.g=jN(),d.setItem(new nN(32,!1));this.o=d;this.b=new wN;this.b.set("ve",4);c&&xN(this.b,1);Zb(zf(),"ima","video","client","crossdomainTag")&&xN(this.b,4);Zb(zf(),"ima","video","client","sdkTag")&&xN(this.b,8);Zb(zf(),"ima","video","client","jsTag")&&xN(this.b,2);b&&fc(b,"fullscreen",!1)&&xN(this.b,16);this.g=d=null;if(c&&(c=Zb(zf(),"ima","video","client"),c.getEData))\{this.g=c.getEData();if(c=Zb(zf(),"ima","video","client","getLastSnapshotFromTop"))if(k=c())this.g.extendWithDataFromTopIframe(k.tagstamp,\
|
|
k.playstamp,k.lactstamp),c=this.o,d=k.er,k=k.vi,d&&k&&(d=pN(d).getValue(),k=pN(k).getValue(),e=null,c.getItem("er")&&(e=c.getItem("er").getValue(),e.top+=d.top,e.left+=d.left,c.setItem(new oN("er",e))),c.getItem("vi")&&(t=c.getItem("vi").getValue(),t.top+=d.top,t.left+=d.left,l=[],l.push(t),l.push(d),l.push(k),d=sN(l),uN(c,e,d),c.setItem(new oN("vi",k))));a:\{if(this.g)\{if(this.g.getTagLoadTimestamp)\{d=this.g.getTagLoadTimestamp();break a\}if(this.g.getTimeSinceTagLoadSeconds)\{d=this.g.getTimeSinceTagLoadSeconds();\
|
|
break a\}\}d=null\}\}this.b.set("td",jN()-Hea(d))\};\
|
|
Jea=function(a,b)\{try\{var c=new Iea(a,b),d=[],e=Number(c.b.get("eb"));c.b.remove("eb");var f,k=c.b,l=[],m;for(m in k.b)l.push(m+k.b[m]);(f=l.join("_"))&&d.push(f);if(c.g)\{var n=c.g.serialize();n&&d.push(n)\}var t,u=c.o;f=e;k=[];f||(f=0);for(var y in u.b)\{var E=u.b[y];if(E instanceof nN)E.getValue()&&(f|=E.A);else\{var G,Y=u.b[y];(G=Y.o?Y.g():"")&&k.push(y+G)\}\}k.push("eb"+String(f));(t=k.join("_"))&&d.push(t);c.b.set("eb",e);return d.join("_")\}catch(N)\{return"tle;"+Ja(N.name,12)+";"+Ja(N.message,40)\}\};\
|
|
yN=function(a)\{try\{return!!a&&null!=a.location.href&&pc(a,"foo")\}catch(b)\{return!1\}\};\
|
|
Kea=function()\{var a=[2,1];if(!(1E-4>Math.random()))\{var b=Math.random();if(.05>b)\{var c=window;try\{var d=new window.Uint32Array(1);c.crypto.getRandomValues(d);b=d[0]/65536/65536\}catch(e)\{b=Math.random()\}return a[Math.floor(b*a.length)]\}\}return null\};\
|
|
zN=function(a,b)\{for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&b.call(void 0,a[c],c,a)\};\
|
|
Lea=function()\{var a=aa;try\{for(var b=null;b!=a;b=a,a=a.parent)switch(a.location.protocol)\{case "https:":return!0;case "http:":case "file:":return!1\}\}catch(c)\{\}return!0\};\
|
|
Mea=function()\{var a=AN;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""\};\
|
|
Nea=function(a,b)\{this.b=a;this.g=b\};\
|
|
BN=function(a,b)\{this.url=a;this.lr=!!b;this.depth=ha(void 0)?void 0:null\};\
|
|
DN=function(a)\{a=a?a:CN();for(var b=new BN(aa.location.href,!1),c=a.length-1,d=c;0<=d;--d)\{var e=a[d];if(e.url&&!e.lr)\{b=e;break\}\}d=null;e=a.length&&a[c].url;0!=b.depth&&e&&(d=a[c]);return new Nea(b,d)\};\
|
|
CN=function()\{var a=aa,b=[],c,d=null;do\{var e=a;yN(e)?(c=e.location.href,d=e.document&&e.document.referrer||null):(c=d,d=null);b.push(new BN(c||""));try\{a=e.parent\}catch(f)\{a=null\}\}while(a&&e!=a);a=0;for(e=b.length-1;a<=e;++a)b[a].depth=e-a;e=aa;if(e.location&&e.location.ancestorOrigins&&e.location.ancestorOrigins.length==b.length-1)for(a=1;a<b.length;++a)c=b[a],c.url||(c.url=e.location.ancestorOrigins[a-1]||"",c.lr=!0);return b\};\
|
|
EN=function(a,b,c,d)\{a.addEventListener?a.addEventListener(b,c,d||!1):a.attachEvent&&a.attachEvent("on"+b,c)\};\
|
|
FN=function(a,b,c)\{a.removeEventListener?a.removeEventListener(b,c,!1):a.detachEvent&&a.detachEvent("on"+b,c)\};\
|
|
GN=function(a,b,c,d,e)\{this.C=c||4E3;this.o=a||"&";this.D=b||",$";this.A=p(d)?d:"trn";this.G=e||null;this.B=!1;this.g=\{\};this.F=0;this.b=[]\};\
|
|
HN=function(a,b)\{var c=\{\};c[a]=b;return[c]\};\
|
|
IN=function(a,b,c,d)\{a.b.push(b);a.g[b]=HN(c,d)\};\
|
|
Pea=function(a,b,c,d)\{b=b+"//"+c+d;var e=Oea(a)-d.length-0;if(0>e)return"";a.b.sort(function(a,b)\{return a-b\});\
|
|
d=null;c="";for(var f=0;f<a.b.length;f++)for(var k=a.b[f],l=a.g[k],m=0;m<l.length;m++)\{if(!e)\{d=null==d?k:d;break\}var n=JN(l[m],a.o,a.D);if(n)\{n=c+n;if(e>=n.length)\{e-=n.length;b+=n;c=a.o;break\}else a.B&&(c=e,n[c-1]==a.o&&--c,b+=n.substr(0,c),c=a.o,e=0);d=null==d?k:d\}\}f="";a.A&&null!=d&&(f=c+a.A+"="+(a.G||d));return b+f+""\};\
|
|
Oea=function(a)\{if(!a.A)return a.C;var b=1,c;for(c in a.g)b=c.length>b?c.length:b;return a.C-a.A.length-b-a.o.length-1\};\
|
|
JN=function(a,b,c,d,e)\{var f=[];zN(a,function(a,l)\{var k=KN(a,b,c,d,e);k&&f.push(l+"="+k)\});\
|
|
return f.join(b)\};\
|
|
KN=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(KN(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)(JN(a,b,c,d,e+1)):"...";return(0,window.encodeURIComponent)(String(a))\};\
|
|
MN=function(a,b,c,d,e)\{try\{var f;c instanceof GN?f=c:(f=new GN,zN(c,function(a,b)\{var c=f,d=c.F++,e=HN(b,a);c.b.push(d);c.g[d]=e\}));\
|
|
if((d?a.o:Math.random())<(e||a.b))\{var k=Pea(f,a.g,a.A,a.B+b+"&");LN(aa,k)\}\}catch(l)\{\}\};\
|
|
LN=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);FN(d,"load",e);FN(d,"error",e)\};\
|
|
EN(d,"load",e);EN(d,"error",e)\}d.src=b;a.google_image_requests.push(d)\};\
|
|
NN=function(a,b,c)\{this.o=a;this.B=b;this.g=c;this.A=this.b\};\
|
|
ON=function(a,b,c)\{this.message=a;this.b=b||"";this.g=c||-1\};\
|
|
QN=function(a,b,c,d,e)\{var f;try\{f=c()\}catch(m)\{var k=a.g;try\{var l=PN(m),k=(e||a.A).call(a,b,l,void 0,d)\}catch(n)\{a.b("pAR",n)\}if(!k)throw m;\}finally\{\}return f\};\
|
|
SN=function(a,b,c,d)\{var e=RN;return function()\{for(var f=[],k=0;k<arguments.length;++k)f[k]=arguments[k];return QN(e,a,function()\{return b.apply(c,f)\},d)\}\};\
|
|
PN=function(a)\{return new ON(TN(a),a.fileName,a.lineNumber)\};\
|
|
TN=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\};\
|
|
UN=function(a)\{a.u_tz=-(new Date).getTimezoneOffset();var b;try\{b=W.history.length\}catch(c)\{b=0\}a.u_his=b;if(b=!!W.navigator)b="unknown"!==typeof W.navigator.javaEnabled;a.u_java=b&&!!W.navigator.javaEnabled&&W.navigator.javaEnabled();W.screen&&(a.u_h=W.screen.height,a.u_w=W.screen.width,a.u_ah=W.screen.availHeight,a.u_aw=W.screen.availWidth,a.u_cd=W.screen.colorDepth);W.navigator&&W.navigator.plugins&&(a.u_nplug=W.navigator.plugins.length);W.navigator&&W.navigator.mimeTypes&&(a.u_nmime=W.navigator.mimeTypes.length)\};\
|
|
ZN=function(a,b)\{var c=Qea;if(!VN)return QN(RN,a,b,void 0,c);var d=WN?W.performance.now():C(),c=QN(RN,a,b,void 0,c),d=Math.round((WN?W.performance.now():C())-d);XN.push(a+"."+d);YN||(YN=W.setTimeout(Rea,500));return c\};\
|
|
Rea=function()\{XN.length&&(MN($N,"execution_time",\{data:XN.join(","),nav_api:WN?1:0\},!0,VN?1:0),XN=[],W.clearTimeout(YN),YN=void 0)\};\
|
|
aO=function(a,b,c,d)\{return SN(a,b,c,d)\};\
|
|
bO=function(a,b)\{return SN(a,b,void 0,void 0)\};\
|
|
cO=function(a)\{return\{visible:1,hidden:2,prerender:3,preview:4\}[a.webkitVisibilityState||a.mozVisibilityState||a.visibilityState||""]||0\};\
|
|
eO=function()\{var a;dO.mozVisibilityState?a="mozvisibilitychange":dO.webkitVisibilityState?a="webkitvisibilitychange":dO.visibilityState&&(a="visibilitychange");return a\};\
|
|
fO=function(a)\{a=a.match(/[\\d]+/g);if(!a)return"";a.length=3;return a.join(".")\};\
|
|
iO=function()\{var a=W&&W.document;gO.e=-1;gO.i=6;gO.n=7;gO.t=8;if(!hO)\{var b=[];zN(gO,function(a,c)\{b[a+1]=c\});\
|
|
var c=b.join("");hO=(c=a&&a[c])&&x(c,a)\}return hO\};\
|
|
kO=function()\{return fG&&Az&&Jz("6.0.1")&&0<=Ra(jO,"10.1")?!0:!1\};\
|
|
lO=function(a,b)\{var c=a||W;c.top!=c&&(c=c.top);try\{return c.document&&!c.document.body?new jf(-1,-1):b?(new jf(c.innerWidth,c.innerHeight)).round():vf(c||window).round()\}catch(d)\{return new jf(-12245933,-12245933)\}\};\
|
|
Sea=function()\{var a=mO.getInstance().F,b=0<=nO?oO()-nO:-1,c=pO?oO()-qO:-1,d=0<=rO?oO()-rO:-1,e;if(79463068==a)return 500;if(947190538==a)a=[4E3],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\};\
|
|
oO=function()\{return(new Date).getTime()-Tea\};\
|
|
sO=function()\{var a=K("DIV");a.style.cssText="position:relative;left:0px;top:0px;width:0;height:0;";return a\};\
|
|
tO=function(a)\{for(var b;a&&a!=a.parentElement;)\{if(a.style&&"none"==Ks(a,"display"))return!0;b=a;a=a.parentElement\}if(b&&(a=nf(b)))\{var c,d;try\{if(c=zf(a))d=c.frameElement\}catch(e)\{return!1\}if(c&&d&&c!=c.parent)return tO(d)\}return!1\};\
|
|
Uea=function()\{this.B=[0,0,0,0,0];this.o=[0,0,0,0,0];this.b=[0,0,0,0,0];this.D=[0,0,0,0,0];this.A=this.F=this.C=this.g=-1\};\
|
|
uO=function(a,b,c,d)\{c=SN(d||"osd_or_lidar::"+b,c,void 0,void 0);EN(a,b,c,void 0);return c\};\
|
|
vO=function(a,b)\{this.A=null;this.D=a;this.G=b||1;this.b="u"\};\
|
|
wO=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.G)\{case 4:return a.D?(e=Math.floor(.3*c),f=Math.floor(.3*d),[new gf(e,f),new gf(c-e,f),new gf(e,d-f),new gf(c-e,d-f)]):[new gf(e,0),new gf(0,f),new gf(e,d-1),new gf(c-1,f)];case 3:return[new gf(c-1,0),new gf(e,f),new gf(0,d-1)];default:return[new gf(e,f)]\}\};\
|
|
xO=function(a,b)\{var c;try\{c=b||a.A.getBoundingClientRect()\}catch(e)\{c=new ng(0,0,0,0)\}var d=wO(a,c);D(d,function(a)\{a.x+=c.left;a.y+=c.top\});\
|
|
return d\};\
|
|
yO=function(a,b)\{vO.call(this,a,b);this.g=[];this.F=!1;this.o=-1;this.B=this.C=0\};\
|
|
Vea=function(a,b,c)\{this.snapshot=a;this.g=b;this.b=c\};\
|
|
Wea=function(a,b,c)\{if(!(b&&b.getBoundingClientRect&&0<=Ra(jO,"11")&&c)||xf&&9>yc||0<a.g.length)return!1;try\{var d=b.getBoundingClientRect()\}catch(n)\{return!1\}var e="DIV"==b.tagName||"INS"==b.tagName,f=nf(b),k=[];if(e)\{var l=sO(),d=wO(a,d);D(d,function(a,b)\{var d=new zO("e",f,c,String(b));this.g.push(d);k.push(x(d.F,d,l,a))\},a);\
|
|
If(b,l,0)\}else d=xO(a,d),D(d,function(a,d)\{var e=new zO("e",f,c,String(d));this.g.push(e);k.push(x(e.D,e,b,a))\},a);\
|
|
var m=!0;D(k,function(a)\{m=m&&a()\});\
|
|
m?(a.b="l",a.A=b,a.F=!e):(D(a.g,function(a)\{a.remove()\}),a.g=[]);\
|
|
return m\};\
|
|
Xea=function(a)\{if(a.A&&a.F)\{var b=xO(a);D(b,function(a,b)\{this.g[b]&&AO(this.g[b],a)\},a)\}\};\
|
|
BO=function(a)\{D(a.g,function(a)\{a.remove()\});\
|
|
a.g=[];a.b="d"\};\
|
|
bfa=function(a)\{var b=C(),c=a.C?b-a.C:0,d=-1,e=Ii(a.g,function(a)\{return CO(a,b)\});\
|
|
4==a.g.length?d=a.D?Yea(e):Zea(e):3==a.g.length?d=$ea(e):1==a.g.length&&(d=[-1,0,1,2,3,5][CO(a.g[0],b)+1]);a.B=d==a.o?a.B+c:0;c=new Vea(d,a.o,c);a.o=d;a.C=b;afa(a,d);Xea(a);return c\};\
|
|
EO=function(a)\{var b=Jb(Ub(DO));D(a,function(a)\{0<=a&&++b[a]\});\
|
|
return b\};\
|
|
Zea=function(a)\{a=EO(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\};\
|
|
$ea=function(a)\{var b=EO(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\};\
|
|
Yea=function(a)\{a=EO(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\};\
|
|
afa=function(a,b)\{if(0==b&&FO(a))a.b="n";else switch(b)\{case -1:a.b="d";break;case 0:a.b="l";break;case 1:a.b="f";break;case 2:a.b="c";break;case 3:case 4:case 5:case 6:a.b="r"\}\};\
|
|
FO=function(a)\{return"n"==a.b?!0:"l"==a.b&&3E3<=a.B\};\
|
|
zO=function(a,b,c,d)\{this.b=null;this.A=a;this.wa="e"==a?String(c)+"~"+String(d):"";this.g=[];this.o=-1;this.C=0;this.B=Jb(Ub(cfa));this.H=Jb(Ub(DO));"e"==this.A&&(GO[this.wa]=x(this.G,this));xf?(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="'+HO(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=dfa(this,b);a.width=1;a.height=1;a.style.zIndex=-999999;this.b=a\};\
|
|
dfa=function(a,b)\{function c(a,c,d)\{var e=b.createElement("param");e.name=c;e.value=d;a.appendChild(e)\}\
|
|
var d=HO(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="s"==a.A?"":"hidden";e.style.opacity=0;return e\};\
|
|
HO=function(a,b)\{var c=Ug("//pagead2.googlesyndication.com/osd/hbe.swf","id",a.wa);"s"==a.A&&(c="//pagead2.googlesyndication.com/osd/hbts.swf");b&&(c=Ug(c,"delay","1"));return c\};\
|
|
AO=function(a,b)\{a.b&&!hf(b,Ps(a.b))&&Os(a.b,b)\};\
|
|
CO=function(a,b)\{if("e"==a.A)\{var c=null;try\{c=a.b.it()\}catch(f)\{\}null===c?(c=0,0<a.o&&(c=2)):c=c?3:4;++a.H[c+1];a.o=c\}else\{var d=Number(b),e=IO(a);efa(a,e,d);c=a.g[a.g.length-1];if(null===e)\{if(e=d=0,0<a.o||ha(c.Rj))e=d=2\}else null===c.Rj||c.timeMs>=d?(d=10<=e?4:0,e=0):e>c.Rj?(c=(e-c.Rj)/(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.o=d;a.C=e\}return a.o\};\
|
|
IO=function(a)\{var b=null;try\{b=a.b.fc()\}catch(c)\{\}return b\};\
|
|
efa=function(a,b,c)\{var d=c-1E3,e=a.g.length;D(a.g,function(a,b)\{a.timeMs<=d&&(e=Math.min(e,b+1))\});\
|
|
var f=a.g.length-e;0<f&&a.g.splice(e,f);a.g.unshift(\{Rj:b,timeMs:c\})\};\
|
|
JO=function()\{this.C=!0;this.g=new zO("s",dO);this.B=!1;this.G=this.D=this.N=this.b=this.A=this.F=this.J=this.K=this.M=this.o=this.H=null\};\
|
|
KO=function(a,b)\{b!==a.b&&(a.b=b,a.M(b))\};\
|
|
LO=function(a)\{var b=IO(a.g);null===a.N&&null!==b&&null!==a.D&&(a.N=C()-a.D);return b\};\
|
|
MO=function(a)\{var b=a.H.getBoundingClientRect(),c;c=null!=a.J?a.J.clone():new gf(Math.floor((b.right-b.left)/2),Math.floor((b.bottom-b.top)/2));a.B&&(c.x+=b.left,c.y+=b.top);return c\};\
|
|
NO=function(a)\{a.B&&(a.K=MO(a));AO(a.g,a.K);a.F=W.setTimeout(bO("osd_or_lidar::sfm_tpto",x(a.ba,a)),125)\};\
|
|
ffa=function(a)\{if(a.C)\{var b=x(function()\{1===cO(dO)?(this.A=null,NO(this)):(W.clearTimeout(this.F),KO(this,0))\},a),c=eO();\
|
|
if(c)\{var d=uO(dO,c,b,"osd_or_lidar::sfm_pv");a.G=function()\{FN(dO,c,d);this.G=null\}\}a.C=!1;\
|
|
a.b=null;b()\}\};\
|
|
OO=function(a)\{a.C||(W.clearTimeout(a.F),null===a.G||a.G(),a.C=!0)\};\
|
|
PO=function(a,b)\{vO.call(this,a,b);this.g=[];this.B=this.F=null;this.o=!0;this.C=null\};\
|
|
gfa=function(a,b,c)\{if(null!==a.B)return!1;a.A=b;a.F=c;c=b.getBoundingClientRect();c="DIV"==b.tagName||"INS"==b.tagName?wO(a,c):xO(a,c);for(var d=0;d<c.length;++d)\{var e=c[d],f=new JO,k;k=f;var l=b,m=x(a.H,a),n=e;if(null!==k.D)k=!1;else\{var t="DIV"==l.tagName||"INS"==l.tagName;k.B=!t;k.H=l;e=MO(k);if(null!=n)\{e=n;n=new gf(0,0);if(k.B)\{var u=k.H.getBoundingClientRect();n.x+=u.left;n.y+=u.top\}k.J=new gf(e.x-n.x,e.y-n.y)\}k.M=m;t?(k.o=sO(),If(l,k.o,0),l=k.g.F(k.o,e)):l=k.g.D(l,e);l?(k.D=C(),k.K=e,k=!0):\
|
|
(k.g.remove(),k.o&&Jf(k.o),k=!1)\}if(!k)return QO(a),a.b="c",!1;a.g.push(f)\}a.B=C();a.b="l";return!0\};\
|
|
jfa=function(a)\{var b=Jb(Ub(hfa));D(a.g,function(a)\{null!=a.b&&0<=a.b&&++b[a.b]\});\
|
|
switch(a.G)\{case 4:return ifa(a,b);case 3:return 1==a.g[0].b&&1==a.g[2].b?3:1==a.g[1].b?2:0<b[1]?1:0;default:return 1==b[1]?2:0\}\};\
|
|
ifa=function(a,b)\{var c=b[1];if(a.D)\{if(3<=c)return 2;if(2==c)return 5;if(0<c)return 4\}else\{if(4==c)return 3;if(3==c)return 2;if(0<c)return 1\}return 0\};\
|
|
RO=function(a)\{a.o&&null!==a.B&&"d"!=a.b&&(D(a.g,function(a)\{ffa(a)\}),a.b="r",a.o=!1)\};\
|
|
SO=function(a)\{a.o||(D(a.g,function(a)\{OO(a)\}),a.o=!0)\};\
|
|
QO=function(a)\{SO(a);D(a.g,function(a)\{OO(a);a.g&&(a.g.remove(),a.g=null);a.o&&(Jf(a.o),a.o=null)\});\
|
|
a.g=[];a.b="d"\};\
|
|
mO=function()\{this.D=!1;this.F=void 0;this.g=!yN(W.top);var a=CN();this.G=0<a.length&&null!=a[a.length-1]&&null!=a[a.length-1].url?Mg(a[a.length-1].url)||"":"";this.A=this.C=this.b=null;this.H=0;this.o=!1;this.B=new ng(0,0,0,0)\};\
|
|
UO=function(a,b,c)\{this.position=TO.clone();this.ba=0;this.J=new Uea;this.bc=-2;this.rf=C();this.Ge=-1;this.aa=b;this.ca=-1!=b;this.ia=-1;this.ha=null;this.Ee=c;this.Ie=this.be=r;this.X=this.element=a;this.g=null;this.da=1;this.Ha=!1;this.A=null;this.Ec=this.Ia=!1;this.xb=1;this.Fe=!0;this.Cb=!1;this.qf=mO.getInstance().H++;this.Hd=this.o=0\};\
|
|
kfa=function(a,b,c,d,e)\{if(a.ca)\{var f=W.innerWidth,k=W.innerHeight,l=new ng(Math.round(W.mozInnerScreenY),Math.round(W.mozInnerScreenX+f),Math.round(W.mozInnerScreenY+k),Math.round(W.mozInnerScreenX));c=new ng(W.screenY+d,W.screenX+c.width,W.screenY+c.height,W.screenX);e||(d=new ng(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.ba=f*k);a.df(l,c,b,e,!0,!0)\}\};\
|
|
mfa=function(a,b,c)\{if(a.ca)\{var d=iO();if(d)\{c||VO(a,W,!0);if(a.Ec)var e=lfa(a,d),d=!0;else var e=Math.floor((a.position.left+a.position.right)/2),f=Math.floor((a.position.top+a.position.bottom)/2),k=yf(window.document),e=d(e-k.x,f-k.y)?.5:0,d=!1;a.df(a.position,e,b,c,!0,d)\}\}\};\
|
|
WO=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\}\};\
|
|
lfa=function(a,b)\{var c=yf(window.document),d=a.xb,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),t=!!b(e,l);if(d)l=WO(f,l,function(a)\{return!!b(e,a)\}),k=WO(e,k,function(a)\{return!!b(a,f)\});\
|
|
else if(n)l=WO(f,l,function(a)\{return!!b(k,a)\}),e=WO(k,e,function(a)\{return!!b(a,f)\});\
|
|
else if(t)f=WO(l,f,function(a)\{return!!b(e,a)\}),k=WO(e,k,function(a)\{return!!b(a,l)\});\
|
|
else if(m)f=WO(l,f,function(a)\{return!!b(k,a)\}),e=WO(k,e,function(a)\{return!!b(a,l)\});\
|
|
else\{var u=Math.floor((e+k)/2),y=Math.floor((f+l)/2);if(!b(u,y))return 0;f=WO(y,f,function(a)\{return!!b(u,a)\});\
|
|
l=WO(y,l,function(a)\{return!!b(u,a)\});\
|
|
e=WO(u,e,function(a)\{return!!b(a,y)\});\
|
|
k=WO(u,k,function(a)\{return!!b(a,y)\})\}return(l-f)*(k-e)/c\};\
|
|
nfa=function(a,b,c,d,e)\{a.ca&&(d||VO(a,W,e),a.df(a.position,c,b,d,!1,!0))\};\
|
|
XO=function(a,b,c)\{a.ca&&a.df(a.position,c?a.o:a.Hd,b,c,!0,!0)\};\
|
|
YO=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\};\
|
|
ZO=function(a,b)\{a.da=3;if(!a.X||kO())return a.Ha=!0,!1;var c=new yO(!1,a.da),d=Wea(c,a.X,String(a.qf));d?(a.Ie=b,a.g=c):a.Ha=!0;return d\};\
|
|
aP=function(a,b)\{if(!a.element||!kO())return!1;a.da=3;var c=new PO(!1,a.da),d=gfa(c,a.element,x(function(a)\{$O(this,oO(),!1,b,[0,.01,.5,1,.01,.3][a])\},a));\
|
|
d&&(a.A=c,RO(c));return d\};\
|
|
$O=function(a,b,c,d,e)\{a.ca&&bP(a)&&(c?a.A&&SO(a.A):(VO(a,d,!0),a.A&&RO(a.A)),a.df(a.position,e||a.o,b,c,!1,!1),!a.We()||a.Fm()||a.A&&QO(a.A))\};\
|
|
bP=function(a)\{return null!==a.A&&"d"!=a.A.getStatus()\};\
|
|
VO=function(a,b,c,d)\{if(d)a.position=d;else\{b=c?b:b.top;try\{var e=TO.clone(),f=new gf(0,0);if(a.X)\{var k=1==a.Ee;!c&&k&&tO(a.X)||(e=a.X.getBoundingClientRect());f=Vs(a.X,b)\}var l=f.x,m=f.y;a.position=new ng(Math.round(m),Math.round(l+(e.right-e.left)),Math.round(m+(e.bottom-e.top)),Math.round(l))\}catch(n)\{a.position=TO.clone()\}\}a.ba=(a.position.bottom-a.position.top)*(a.position.right-a.position.left)\};\
|
|
cP=function(a,b)\{var c=Math.pow(10,b);return Math.floor(a*c)/c\};\
|
|
ofa=function(a)\{a.g&&BO(a.g);a.A&&QO(a.A)\};\
|
|
dP=function(a)\{var b=!1,c=a.X;W.document&&W.document.body&&12==a.Ee&&(c=W.document.body);a.Cb=!0;if(!a.Cb||null===c)return!1;ZN("osd_adblock::sunio",function()\{var d=new W.IntersectionObserver(function(b)\{try\{var e;if(!b||!b.length||0>=b.length)e=null;else\{for(var k=b[0],l=1;l<b.length;l++)b[l].time>k.time&&(k=b[l]);e=k\}if(e)\{var m,n=e.boundingClientRect;m=new ng(n.top,n.right,n.bottom,n.left);a.o=bf(e.intersectionRect.width*e.intersectionRect.height/(e.boundingClientRect.width*e.boundingClientRect.height),\
|
|
0,1);a.Hd=a.o;VO(a,W,!0,m)\}\}catch(t)\{try\{d.unobserve(c),RN.b("osd_adblock::nioc",t,void 0,void 0)\}catch(u)\{\}\}\},pfa);\
|
|
d.observe(c);qfa(c);b=!0\});\
|
|
return b\};\
|
|
qfa=function(a)\{if(a&&(a=a.style))\{var b=a.opacity;a.opacity=.98;a.opacity=.99;a.opacity=b\}\};\
|
|
rfa=function()\{this.b=\{\};for(var a in eP)this.b[eP[a]]=0\};\
|
|
fP=function(a,b)\{0==a.b[b]&&(a.b[b]=1)\};\
|
|
sfa=function(a)\{var b=0,c;for(c in a.b)\{var d=(0,window.parseInt)(c,10);1==a.b[d]&&(b+=d,a.b[d]=2)\}return b\};\
|
|
tfa=function()\{this.H=this.C=0;this.g=-1;this.B=this.o=this.F=this.G=this.b=0;this.D=!1;this.A=[0,0,0,0,0]\};\
|
|
gP=function(a,b,c)\{var d=a.H;pO||c||-1==a.g||(d+=b-a.g);return d\};\
|
|
hP=function(a,b,c,d)\{UO.call(this,b,c,d);this.G=new tfa;this.oc=[0,0,0,0,0];this.dc=[0,0,0,0,0];this.qa=[0,0,0,0,0];this.ub=this.ga=0;this.F=\{\};this.D=new rfa;this.Ed=\{\};this.Lg=this.C="";this.Je=!1;this.cb=[];this.N=void 0;this.Fd=this.Me=this.Ne=this.gd=!1;this.K=void 0;this.M=-1;this.H=this.ea=this.Sb=void 0;this.la=!1;this.Na=this.Aa=this.La=0;this.Oa=1;this.Za=0;this.Ya=-1;this.fd=!1;this.Ga=this.Db=0;this.ua=!1;this.gb=this.qc=this.Sa=this.Ca=this.b=this.R=this.He=0;this.na=-1;this.de=this.ce=\
|
|
0;this.Le=this.Gd=this.Oe=this.B=!1;this.De=0;this.Ke=!1;this.tb=r;this.Tb=0;b=mO.getInstance();VO(this,a,b.g)\};\
|
|
iP=function(a)\{return p(a)&&0<=a&&1>=a\};\
|
|
jP=function(a,b)\{if(-1==a.aa)return 0;var c=b-a.aa||1,d=1E4;p(a.M)&&-1!=a.M&&(d=Math.max(d,a.M/3));return c>d?1:c\};\
|
|
ufa=function(a)\{var b=0;.5<=a.o&&(b+=1);iP(a.H)&&(b+=2);a.ua&&(b+=4);a.B&&(b+=8);-1!=a.ia&&(b+=16,1==a.ia&&(b+=32));a.la&&(b+=128);a.la&&0<a.o&&(b+=256);return b\};\
|
|
kP=function(a,b)\{tb(a.cb,Jb(b-a.cb.length+1));a.cb[b]=cP(a.o,2)\};\
|
|
mP=function(a,b)\{var c=a.Ed[b];if(null!=c)return c;a:if(ib(vfa,b))c=!0;else\{c=a.F[b];if(p(c)&&(a.F[b]=!0,!c))\{c=!0;break a\}c=!1\}c=lP(a,c,c);"fully_viewable_audible_half_duration_impression"==b&&(c.std="csm");return c\};\
|
|
lP=function(a,b,c)\{if(a.Ia)return\{"if":0\};var d=a.position.clone();d.round();var e=Ii(a.cb,function(a)\{return 100*a|0\}),f=mO.getInstance(),k=a.G,l=\{\};\
|
|
a.Tb&&(l.nes=a.Tb);l["if"]=f.g?1:void 0;l.sdk=a.K?a.K:void 0;l.t=a.rf;l.p=[d.top,d.left,d.bottom,d.right];l.tos=a.J.B;l.mtos=a.J.o;l.ps=void 0;l.pt=e;l.vht=gP(k,oO(),!!a.N);l.mut=k.G;l.a=a.H;l.ns=a.De;l.fs=a.B?1:0;l.ft=a.Db;l.at=k.F;l.as=k.D?1:0;l.atos=k.A;l.uac=a.He;l.vpt=a.Za;l.is=ufa(a);l.ic=sfa(a.D);if("h"==a.K||"as"==a.K)l.gmm="2";a.Ec&&(l.efpf=a.xb);a.g&&(l.swf=a.g.getStatus(),l.px=a.da);a.A&&(l.sfm=a.A.getStatus(),l.px=a.da);0<a.de&&(l.nnut=a.de);l.tcm=a.Oa;l.nmt=a.qc;l.bt=a.gb;l.pst=a.na;\
|
|
l.mmct=a.ce;l.vpaid=a.Sb;l.dur=a.M;l.vmtime=a.Aa;l.vmtos=a.oc;l.vmmtos=a.dc;b&&(a.We()&&(l.dtos=k.C,l.vmdtos=a.ga,l.dav=k.B,l.dtoss=a.ub+1,c&&(k.C=0,k.B=0,a.ga=0,a.ub++)),l.dat=k.o,l.dft=a.Ga,c&&(k.o=0,a.Ga=0));!a.We()&&2E3<=a.ga&&(l.vmdtos=a.ga);f.A&&(l.ps=[f.A.width,f.A.height]);l.dom=f.G;a.Ha&&(l.fmf="1",l.px=a.da);a.gd&&(l.ven="1");a.Ne&&(l.veh="1");a.R&&(l.vds=a.R);a.b&&(l.vmer=a.b);a.Ca&&(l.vmmk=a.Ca);a.Sa&&(l.vmiec=a.Sa);mO.getInstance();nP()?(l.c=cP(a.o,2),l.ss=cP(wfa(a),2)):l.tth=oO()-oP;\
|
|
l.mc=cP(a.J.A,2);l.lte=cP(a.bc,2);return l\};\
|
|
wfa=function(a)\{if(a.B)return 1;var b=W.screen.width*W.screen.height;return 0>=b?-1:a.ba*a.o/b\};\
|
|
zP=function()\{if(!pP)\{pP=!0;var a=aa.requestAnimationFrame||aa.webkitRequestAnimationFrame||aa.mozRequestAnimationFrame||aa.oRequestAnimationFrame||aa.msRequestAnimationFrame;if(!qP&&!rP&&!sP)\{var b;if(a)\{var c=SN("osd_or_lidar::throttled_scroll_raf_callback",tP,void 0,void 0);b=function()\{a(function()\{W.setTimeout(c,0)\})\}\}else b=tP;\
|
|
uP=new Dm(SN("osd_or_lidar::throttled_scroll_timeout",b,void 0,void 0),100);b=x(uP.sg,uP);qP=uO(W,"scroll",b,"osd_or_lidar::throttled_scroll")\}if(!vP&&!rP&&!sP)\{if(a)\{var d=SN("osd_or_lidar::throttled_resize_raf_callback",wP,void 0,void 0);b=function()\{a(function()\{W.setTimeout(d,0)\})\}\}else b=wP;\
|
|
xP=new Dm(SN("osd_or_lidar::throttled_resize_timeout",b,void 0,void 0),100);b=x(xP.sg,xP);vP=uO(W,"resize",b,"osd_or_lidar::throttled_resize")\}xfa();yP()\}\};\
|
|
wP=function()\{AP(!1);tP()\};\
|
|
tP=function()\{BP(CP(),!1)\};\
|
|
yfa=function()\{var a,b=mO.getInstance();DP&&!b.o&&(b.b=lO(W,DP));if(rP)return a=new EP,a.H=!0,a;if(sP)return a=new EP,a.C=!0,a;if(FP)\{a=GP;AP(!1);var c=mO.getInstance(),d=c.C,b=d.height-a;0>=b&&(b=d.height,a=0);c.b=new jf(d.width,b);b=new EP;b.F=!0;b.A=c.b;b.b=d;b.B=a;return b\}if(HP)return a=new EP,a.D=!0,a;if(IP)return a=new EP,a.G=!0,a;if(JP)return a=new EP,a.J=!0,a;a:\{var b=b.b,e=new EP;e.A=b;e.g=!1;if(null!=b&&-1!=b.width&&-1!=b.height&&-12245933!=b.width&&-12245933!=b.height)\{var f=mO.getInstance();\
|
|
if(f.o)a=f.B;else try\{var f=DP,k=W||W,k=k.top,c=b||lO(k,f),d=yf(pf(k.document).b);a=-1==c.width||-12245933==c.width?new ng(c.width,c.width,c.width,c.width):new ng(d.y,d.x+c.width,d.y+c.height,d.x)\}catch(l)\{a=e;break a\}e.o=a;e.g=!0\}a=e\}return a\};\
|
|
BP=function(a,b)\{var c;if(!KP)if(window.clearTimeout(LP),LP=null,0==a.length)b||MP();else\{var d=yfa(),e=mO.getInstance();try\{var f=oO();if(d.C)for(c=0;c<a.length;c++)XO(a[c],f,b);else if(d.H)for(c=0;c<a.length;c++)XO(a[c],f,b);else if(d.F&&d.b)for(c=0;c<a.length;c++)kfa(a[c],f,d.b,d.B,b);else if(d.D)for(c=0;c<a.length;c++)mfa(a[c],f,b);else if(d.G)D(a,function(a)\{if(b)\{if(a.g)\{var c=a.g;3<=c.o&&(c.o=3);a.o=0\}\}else if(a.g&&"d"!=a.g.getStatus())\{var c=bfa(a.g),d=[0,0,0,0,0,.01,.5,1,.01,.3],e=d[c.snapshot+\
|
|
1];a.o=d[c.g+1];a.df(a.position,e,a.aa+c.b,!1,!0,!1);!a.We()||a.Fm()||a.Fe||a.g&&BO(a.g);(c=2==c.snapshot||FO(a.g))||(c=a.g,c="f"==c.b&&3E3<=c.B);c&&(a.Ie(a),a.Fe=!1,a.g&&BO(a.g))\}\});\
|
|
else if(d.J)for(c=0;c<a.length;c++)$O(a[c],f,b,W);else if(d.g&&d.o)for(c=0;c<a.length;c++)nfa(a[c],f,d.o,b,e.g);++zfa\}finally\{b?D(a,function(a)\{a.o=0\}):MP()\}\}\};\
|
|
xfa=function()\{var a=yP,b=eO();b&&(NP=NP||uO(dO,b,a,"osd_or_lidar::visibility"))\};\
|
|
yP=function()\{var a=nP(),b=oO();a?(pO||(qO=b,D(OP,function(a)\{var c=a.G;c.H=gP(c,b,!!a.N)\})),pO=!0,AP(!0)):(pO=!1,oP=b,D(OP,function(a)\{a.ca&&(a.G.g=b)\}));\
|
|
BP(CP(),!a)\};\
|
|
nP=function()\{if(Afa())return!0;var a=cO(W.document);return 1==a||0==a\};\
|
|
MP=function()\{W&&(LP=W.setTimeout(bO("osd_or_lidar::psamp_to",function()\{BP(CP(),!1)\}),Sea()))\};\
|
|
Bfa=function(a)\{return bb(OP,function(b)\{return b.C==a\})\};\
|
|
CP=function()\{return 0==OP.length?PP:0==PP.length?OP:rb(PP,OP)\};\
|
|
AP=function(a)\{var b=mO.getInstance();b.b=b.o?(new jf(b.B.bb(),b.B.getHeight())).round():lO(W,DP);if(!a)\{b.C=W&&W.outerWidth?new jf(W.outerWidth,W.outerHeight):new jf(-12245933,-12245933);var c;a=W;a.top!=a&&(a=a.top);var d=0,e=0,f=mO.getInstance().b;try\{var k=a.document,l=k.body,m=k.documentElement;if("CSS1Compat"==k.compatMode&&m.scrollHeight)d=m.scrollHeight!=f.height?m.scrollHeight:m.offsetHeight,e=m.scrollWidth!=f.width?m.scrollWidth:m.offsetWidth;else\{var n=m.scrollHeight,t=m.scrollWidth,u=\
|
|
m.offsetHeight,y=m.offsetWidth;m.clientHeight!=u&&(n=l.scrollHeight,t=l.scrollWidth,u=l.offsetHeight,y=l.offsetWidth);n>f.height?n>u?(d=n,e=t):(d=u,e=y):n<u?(d=n,e=t):(d=u,e=y)\}c=new jf(e,d)\}catch(E)\{c=new jf(-12245933,-12245933)\}b.A=c\}\};\
|
|
Cfa=function()\{D(PP.concat(OP),function(a)\{dP(a)&&(rP=!0)\});\
|
|
return rP\};\
|
|
Dfa=function()\{var a=W.navigator.userAgent;var b=a.indexOf("Firefox/");if(0<=b)\{var b=Math.floor(a.substr(b+8))||-1,c=a.indexOf("Mac OS X 10."),d=-1;0<=c&&(d=Number(a.substr(c+12,1))||-1);var e=0<d?-1:a.indexOf("Windows NT "),c=-1;0<=e&&(c=\{"6.0":0,"6.1":1,"6.2":2\}[a.substr(e+11,3)]||-1);a=148;5<=d?a=4<=b?108:3<=b?127:108:0<=c&&(16==b||17==b||18==b)&&(a=[[146,146,146],[148,147,148],[131,130,136]][c][b-16])\}else a=null;null!==a&&(GP=a,FP=!0)\};\
|
|
Efa=function(a,b)\{var c=!1;D(OP,function(b)\{b=aP(b,a);c=c||b\});\
|
|
(JP=c)&&D(OP,function(a)\{bP(a)||b(a)\});\
|
|
return c\};\
|
|
Ffa=function(a)\{var b=!1;D(OP,function(c)\{c=ZO(c,a);b=b||c\});\
|
|
(IP=b)&&D(OP,function(b)\{b.g||a(b)\});\
|
|
return b\};\
|
|
Gfa=function(a)\{D(a,function(a)\{null==bb(OP,function(b)\{return b.element==a.element&&b.Lg==a.Lg\})&&OP.push(a)\})\};\
|
|
Afa=function()\{return Uh(OP,function(a)\{return a.B\})\};\
|
|
EP=function()\{this.b=this.A=null;this.B=0;this.o=null;this.g=this.J=this.G=this.D=this.F=this.C=this.H=!1\};\
|
|
QP=function()\{this.g=64;this.b=Array(4);this.C=Array(this.g);this.A=this.o=0;this.reset()\};\
|
|
RP=function(a,b,c)\{c||(c=0);var d=Array(16);if(w(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.b[0];c=a.b[1];var e=a.b[2],f=a.b[3],k;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.b[0]=a.b[0]+b&4294967295;a.b[1]=a.b[1]+(e+(k<<21&4294967295|k>>>11))&4294967295;a.b[2]=a.b[2]+e&4294967295;a.b[3]=a.b[3]+f&4294967295\};\
|
|
Ifa=function()\{var a=CN(),b=a.length-1,c=DN(a),a=c.b,d=c.g,c=[];d?(a&&c.push(SP(b,[d.url,2],0,[a.url,0],a.depth)),c.push(SP(b,[d.url,2],0))):a.url&&(c.push(SP(b,void 0,void 0,[a.url,0],a.depth)),(d=(d=Hfa.exec(a.url))&&d[0]||"")&&c.push(SP(b,[d,1],a.depth)));c.push(SP(b));return c\};\
|
|
SP=function(a,b,c,d,e)\{a=[a];if(p(b)&&p(c))\{for(var f=0;f<c;f++)a.push("");a.push(b)\}if(p(d)&&p(e))\{b=e-a.length+1;for(f=0;f<b;f++)a.push("");a.push(d)\}return a\};\
|
|
TP=function()\{var a=Ifa();return Ii(a,function(a)\{return KN(a)\})\};\
|
|
UP=function(a)\{return function(b)\{return!p(b[a])&&p(0)?0:b[a]\}\};\
|
|
VP=function()\{return function(a)\{if(!p(a.tth))return"1"\}\};\
|
|
XP=function()\{var a=[0,2,4];return function(b)\{b=b.tos;if(ea(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 p(a)?WP(c,a):c\}\}\};\
|
|
YP=function(a,b)\{return function(c)\{c=c[a];if(ea(c))return WP(c,b)\}\};\
|
|
WP=function(a,b)\{return le(a,function(a,d)\{return ib(b,d)\})\};\
|
|
Jfa=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("&")\};\
|
|
ZP=function()\{this.o=this.g=this.A=!1;this.b=\{\};this.b.start=this.wA;this.b.firstquartile=this.mA;this.b.midpoint=this.rA;this.b.thirdquartile=this.xA;this.b.complete=this.iA;this.b.pause=this.tA;this.b.resume=this.uA;this.b.skip=this.vA;this.b.viewable_impression=this.zA;this.b.mute=this.sA;this.b.unmute=this.yA;this.b.fullscreen=this.nA;this.b.exitfullscreen=this.lA;this.b.fully_viewable_audible_half_duration_impression=this.oA;this.b.measurable_impression=this.qA;this.b.abandon=this.hA;this.b.engagedview=\
|
|
this.kA;this.b.impression=this.pA;this.b.creativeview=this.jA\};\
|
|
Kfa=function(a)\{var b=mO.getInstance();(function()\{b.o=!1;$P(this)\}).call(a)\};\
|
|
$P=function(a)\{if(null!=W.IntersectionObserver)\{var b=Kea();b&&D(OP,function(a)\{a.Tb=b\});\
|
|
if(2==b&&Cfa())\{zP();return\}\}var c;Fs&&ha(W.screenX)&&ha(W.mozInnerScreenX)&&ha(W.outerWidth)?(Dfa(),c=!0):c=!1;if(c)zP();else if(c=xf&&zc(8)&&ia(iO())?HP=!0:!1,c)zP();else\{if(kO())\{if(Efa(W,x(a.Yl,a)))\{zP();a.o=!0;return\}\}else if(Ffa(x(a.Yl,a)))\{zP();a.g=!0;return\}window.clearTimeout(LP);LP=null;aQ="i";KP=!0\}\};\
|
|
bQ=function(a,b)\{var c=a.G;c.H=gP(c,oO(),!!a.N);c=!nP();BP([a],c);a.N=!0;return mP(a,b)\};\
|
|
cQ=function(a)\{if(w(a))\{var b=ab(OP,function(b)\{return b.C==a\});\
|
|
0<=b&&(ofa(OP[b]),ob(OP,b))\}\};\
|
|
Lfa=function(a,b,c)\{var d=bb(OP,function(a)\{return a.element==c\});\
|
|
null!==d&&d.C!=b&&(cQ(d.C),d=null);d||(d=dQ(a,c),d.C=b,d.K="h");return d\};\
|
|
dQ=function(a,b)\{var c;c=new hP(W,b,-1,7);c.be=x(a.Lz,a);mO.getInstance().F=79463069;Gfa([c]);zP();return c\};\
|
|
Mfa=function(a,b)\{var c=ac(eQ,function(b)\{return b==a\}),c=\{v:"481v",\
|
|
e:fQ[c]\},d=mP(b,a);kc(c,d);b.Ed[a]=d;return gQ(c,hQ)\};\
|
|
gQ=function(a,b,c,d,e)\{var f=\{\};if(p(a))for(var k in b)\{var l=b[k];k in Object.prototype||null!=l&&(ia(l)?f[k]=l(a):f[k]=a[l])\}p(c)&&kc(f,c);a=Nfa(f);0!=a.length&&p(d)&&p(e)&&(e=e(a),a+="&"+d+"="+e);return a\};\
|
|
jQ=function(a,b)\{var c=\{v:"481v"\};c.nas=OP.length;c.msg=a;if(p(b))\{var d=iQ(b);d&&(c.e=fQ[d])\}return c\};\
|
|
iQ=function(a)\{var b=a.toLowerCase();return ac(eQ,function(a)\{return a==b\})\};\
|
|
kQ=function(a,b)\{var c=a[b];p(c)&&(a[b]=Math.floor(1E3*c))\};\
|
|
Nfa=function(a)\{var b=[];Pb(a,function(a,d)\{d in Object.prototype||"undefined"==typeof a||(ea(a)&&(a=a.join(",")),b.push([d,"=",a].join("")))\});\
|
|
return b.join("&")\};\
|
|
lQ=function(a)\{return!a||"function"!==typeof a||0>String(Function.prototype.toString).indexOf("[native code]")?!1:0<=String(a).indexOf("[native code]")&&!0||!1\};\
|
|
nQ=function(a)\{return!!(1<<a&mQ)\};\
|
|
Sfa=function()\{try\{Ofa()\}catch(d)\{\}var a="a=1&b="+mQ+"&",b=[],c=99;D(Pfa,function(a,c)\{var d=!1;try\{d=a(W)\}catch(k)\{\}b[c/32>>>0]|=d<<c%32\});\
|
|
D(b,function(b,e)\{a+=String.fromCharCode(c+e)+"="+(b>>>0).toString(16)+"&"\});\
|
|
c=105;D(Qfa,function(b)\{var d="false";try\{d=b(W)\}catch(f)\{\}a+=String.fromCharCode(c++)+"="+d+"&"\});\
|
|
D(Rfa,function(b)\{var d="";try\{var f=b(W),d=Zq(Uq(f),!0)\}catch(k)\{\}a+=String.fromCharCode(c++)+"="+d+"&"\});\
|
|
return a.slice(0,-1)\};\
|
|
Ofa=function()\{if(!oQ)\{var a=function()\{pQ=!0;W.document.removeEventListener("webdriver-evaluate",a,!0)\};\
|
|
W.document.addEventListener("webdriver-evaluate",a,!0);var b=function()\{qQ=!0;W.document.removeEventListener("webdriver-evaluate-response",b,!0)\};\
|
|
W.document.addEventListener("webdriver-evaluate-response",b,!0);oQ=!0\}\};\
|
|
rQ=function()\{ZP.call(this)\};\
|
|
Ufa=function(a,b,c)\{var d=bb(OP,x(function(a)\{return a.element?sQ(a.element,c)==b&&a.Lg==c:!1\},a));\
|
|
null!==d&&d.C!=b&&(cQ(d.C),d=void 0);if(d)return d;d=Tfa(c);if(d=bb(d,x(function(a)\{return sQ(a,c)==b\},a)))return d=dQ(a,d),d.K="as",d.C=b,d.Lg=c,d\};\
|
|
Tfa=function(a)\{var b=W.document,c=Kb(Ii(["embed","object"],function(a)\{return sb(b.getElementsByTagName(a))\})),d="metricID"+a;\
|
|
return c=le(c,function(a)\{if(!a||!ka(a)||1!=a.nodeType||!ia(a.getBoundingClientRect))return!1;var b=a.getBoundingClientRect();return 0!=b.width&&0!=b.height&&a[d]&&ia(a[d])?!0:!1\})\};\
|
|
sQ=function(a,b)\{var c="metricID"+b;if(!a||!a[c]||!ia(a[c]))return null;var d;try\{d=a[c]()\}catch(e)\{return null\}return d.queryID\};\
|
|
tQ=function(a,b)\{mO.getInstance();var c;switch(a.K)\{case "h":c=q("ima.common.triggerExternalActivityEvent");break;case "a":c=q("ima.common.triggerExternalActivityEvent");break;case "n":c=q("ima.bridge.triggerExternalActivityEvent");break;case "as":var d="triggerExternalActivityEvent"+a.Lg;a.element&&ia(a.element[d])&&(c=function(b,c,e)\{a.element[d](e)\});\
|
|
break;default:return a.R|=4,!1\}if(ia(c))\{var e=Mfa(b,a);try\{return c(a.C,e,b),!0\}catch(f)\{a.R|=2\}\}else a.R|=1;return!1\};\
|
|
vQ=function(a)\{var b=\{\};b.viewability=gQ(a,hQ);var c;c=mQ=(new Date).getTime();var d=nQ(5);c=(pQ?!d:d)?c|2:c&-3;d=nQ(2);c=(qQ?!d:d)?c|8:c&-9;c=\{s1:(c>>>0).toString(16)\};b.moatViewability=gQ(a,Vfa,c,"h",uQ("kArwaWEsTs"));b.integralAdsViewability=gQ(a,Wfa,\{\},"h",uQ("b96YPMzfnx"));b.doubleVerifyViewability=gQ(a,Xfa,\{\},"h",uQ("yb8Wev6QDg"));b.googleViewability=gQ(a,Yfa,c);return b\};\
|
|
uQ=function(a)\{return function(b)\{var c=new QP;c.update(b+a);return Vq(c.B()).slice(-8)\}\};\
|
|
Zfa=function(a,b,c)\{a=mO.getInstance();if(a.D!=b)\{a.D=b;var d=Uh(OP,function(a)\{return a.Ke\});\
|
|
D(OP,function(a)\{b||d||(a.aa=c);a.Gd=b;a.Ke=!1\})\}\};\
|
|
wQ=function()\{var a=\{\};a.moatInit=Sfa();return a\};\
|
|
zQ=function(a,b,c)\{var d;d=rQ.getInstance();var e=\{\};kc(e,\{opt_adElement:void 0,opt_fullscreen:void 0\},c||\{\});if(e.opt_bounds)d=vQ(jQ("ol",a));else\{b:\{if(iQ(a))\{if(xQ)\{d=jQ("ue",a);break b\}b=d.Ml(b,e);if(!b)\{d=jQ("nf",a);break b\}if(!d.A)\{d.A=!0;try\{nO=oO();for(var f=c=W,k=0;c&&c!=c.parent;)c=c.parent,k++,yN(c)&&(f=c);yQ=f;AP(!1);var l=W.document;if(l.body&&l.body.getBoundingClientRect)\{var m=mO.getInstance();m.g?m.o?Kfa(d):$P(d):zP()\}else xQ=!0\}catch(n)\{throw OP=[],PP=[],n;\}\}"i"==aQ&&(b.Ia=!0,d.fn(b));\
|
|
b.Ec=!0;b.xb=2;l=e.opt_fullscreen;p(l)&&(b.B=!!l);a=a.toLowerCase();ib($fa,a)&&(b.Le||(b.Le=!0,"i"!=aQ&&(KP=!1),rP&&!b.Cb&&dP(b),!d.g||b.g||b.Ha||ZO(b,x(d.Yl,d)),d.o&&!bP(b)&&aP(b,W),b.F=\{\},b.F.firstquartile=!1,b.F.midpoint=!1,b.F.thirdquartile=!1,b.F.complete=!1,b.F.pause=!1,b.F.skip=!1,b.F.viewable_impression=!1,b.ub=0,l=p(e)?e.opt_nativeTime:void 0,rO=l=ha(l)?l:oO(),b.ca=!0,m=!1,nP()||(m=!0,b.G.g=l),BP([b],m)),d.tq(b));if(l=d.b[a])if(d=l.call(d,b,e),p(d))\{e=jQ(void 0,a);kc(e,d);d=e;break b\}\}d=\
|
|
void 0\}d=vQ(d)\}return d\};\
|
|
AQ=function()\{\};\
|
|
DQ=function(a,b)\{if(null==a||0>=a.width||0>=a.height)throw nM(BQ,null,"ad slot size",a.toString());this.g=a;this.b=null!=b?b:new AQ;this.B=CQ(aga,this.b.o)?this.b.o:"All";this.A=CQ(cga,this.b.creativeType)?this.b.creativeType:"All";this.D=CQ(dga,this.b.A)?this.b.A:"SelectExactMatch";this.F=CQ(ega,this.b.g)?this.b.g:"DisallowResize";this.o=null!=this.b.B?this.b.B:[];this.C=ha(this.b.b)&&0<this.b.b&&100>=this.b.b?this.b.b:90\};\
|
|
FQ=function(a,b)\{var c=[];D(b,function(a)\{a.Kq()&&((0,window.isNaN)(a.b.b)||(0,window.isNaN)(a.Fl())||a.Fl()==a.b.b)&&EQ(this,a)?c.push(a):(a=fga(this,a),null!=a&&a.Kq()&&c.push(a))\},a);\
|
|
return c\};\
|
|
EQ=function(a,b)\{var c;if(c="Flash"!=b.yc()||GQ)\{if(c="All"==a.B||a.B==b.b.aa)c=b.yc(),c=null!=c?"All"==a.A||a.A==c:!0;c&&(c=b.o,c=kb(a.o)?!0:null!=c?0<=gb(a.o,c):!1)\}if(c)\{var d=b.gm();if("IgnoreSize"==a.D||kf(a.g,d))c=!0;else if(c="SelectNearMatch"==a.D)"ResizeSmaller"==a.F&&(d=d.width<=a.g.width&&d.height<=a.g.height?d:HQ(d,a.g)),c=d.width,d=d.height,c=c>a.g.width||d>a.g.height||c<a.C/100*a.g.width||d<a.C/100*a.g.height?!1:!0\}else c=!1;return c\};\
|
|
fga=function(a,b)\{var c=b.A;return null!=c?bb(c,function(a)\{return EQ(this,a)\},a):null\};\
|
|
HQ=function(a,b)\{var c=Math.min(b.width/a.width,b.height/a.height);return new jf(c*a.width,c*a.height)\};\
|
|
CQ=function(a,b)\{return null!=b&&Vb(a,b)\};\
|
|
IQ=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)\};\
|
|
gga=function(a)\{var b=\{\};D(a.split(","),function(a)\{var c=a.split("=");2==c.length&&(a=Pa(c[0]),c=Pa(c[1]),0<a.length&&(b[a]=c))\});\
|
|
return b\};\
|
|
KQ=function(a,b)\{if(a[b])return JQ(a[b]);var c=b.toLowerCase(),d;for(d in a)if(d&&d.toLowerCase()==c)return JQ(a[d]);return!1\};\
|
|
JQ=function(a)\{return a?-1!=a.toString().search(/(?:true|1)/i):!1\};\
|
|
hga=function()\{this.g=this.o=1;this.b=this.A=0;this.B=1\};\
|
|
LQ=function()\{I.call(this);this.b=null;this.C=new Fm(this);H(this,this.C);this.g=new Bg;this.G=new Bg;this.A=this.B=null;this.o=!1;this.D=(ia(null),null)\};\
|
|
NQ=function()\{null!=MQ||(MQ=new LQ);return MQ\};\
|
|
PQ=function(a)\{if(null==a)return!1;if(xM()&&null!=a.webkitDisplayingFullscreen)return a.webkitDisplayingFullscreen;var b=window.screen.availWidth||window.screen.width,c=window.screen.availHeight||window.screen.height;a=OQ(a);return 0>=b-a.width&&42>=c-a.height\};\
|
|
OQ=function(a)\{return ia(a.getBoundingClientRect)&&Rf(nf(a),a)?a.getBoundingClientRect():\{left:a.offsetLeft,top:a.offsetTop,width:a.offsetWidth,height:a.offsetHeight\}\};\
|
|
iga=function(a,b)\{a.B=b\};\
|
|
QQ=function(a,b,c,d,e)\{if(a.o)\{if(a.D)return a.D(b,c,e);e=e||\{\};if(d=d?a.G.get(d):U.B)null!=e.opt_fullscreen||(e.opt_fullscreen=PQ(d)),null!=e.opt_adElement||(e.opt_adElement=d);null==e.opt_bounds&&a.B&&(e.opt_bounds=OQ(a.B));return ZN("lidar::handlevast_html5",qa(zQ,b,c,e))||\{\}\}return\{\}\};\
|
|
jga=function()\{var a=NQ();if(!a.o)return null;if(null!=a.A)return a.A;a.A=ZN("lidar::getinitsignals_html5",wQ)||null;return a.A\};\
|
|
RQ=function(a,b)\{var c=[];a.g.forEach(qa(function(a,b,c,k)\{c==b&&a.push(k)\},c,b));\
|
|
D(c,a.g.remove,a.g)\};\
|
|
SQ=function(a)\{if(ia(window.Goog_AdSense_Lidar_getUrlSignalsArray))\{var b=\{\};b.pageSignals=window.Goog_AdSense_Lidar_getUrlSignalsArray();a.b.send("activityMonitor","pageSignals",b)\}\};\
|
|
kga=function(a,b,c)\{if(!U.C)return"";var d=b?a.G.get(b):U.B;a=\{\};null!=c&&(a.fullscreen=c);c="";try\{c=Jea(function()\{return d\},a)\}catch(e)\{c="sdktle;"+Ja(e.name,12)+";"+Ja(e.message,40)\}return c\};\
|
|
TQ=function(a,b,c)\{if(kb(a))return null;a=le(a,function(a)\{var b=a.A;return"application/x-mpegurl"==B(a.b).toLowerCase()||"progressive"==b\});\
|
|
kb(c)||(c=Ii(c,function(a)\{return a.toLowerCase()\}),a=le(a,function(a)\{return ib(c,B(a.b).toLowerCase())\}));\
|
|
if(!ha(b)||0>=b)b=uM()?500:1E3;return lga(a,b)\};\
|
|
lga=function(a,b)\{return mga(a,b)||nga(a,b)||oga(a,b)\};\
|
|
mga=function(a,b)\{var c=null;D(a,function(a)\{var d=a.Xe,f=a.Vd;d>b||f<b||!(null==c||c.Xe>d)||(c=a)\});\
|
|
return c\};\
|
|
nga=function(a,b)\{var c=null;D(a,function(a)\{var d=a.Xe,f=a.Vd;f>b||(null==c||c.Vd<f?c=a:null!=c&&c.Vd==f&&c.Xe>d&&(c=a))\});\
|
|
return c\};\
|
|
oga=function(a,b)\{var c=null;D(a,function(a)\{var d=a.Xe,f=a.Vd;if(!(d<b))if(null!=c&&c.Xe==d&&c.Vd<f)c=a;else if(null==c||c.Xe>d)c=a\});\
|
|
return c\};\
|
|
UQ=function()\{I.call(this);this.C=this.G=this.K=this.D=!1;this.g=0;this.A=[];this.F=!1;this.N=this.M=window.Infinity;this.o=0;this.J=!1;this.B=new Fm(this);this.H=\{\}\};\
|
|
pga=function(a)\{VQ(a);!(a.b instanceof I)&&"ontouchstart"in window.document.documentElement&&yM()?(a.H=\{touchstart:x(a.hF,a),touchmove:x(a.gF,a),touchend:x(a.fF,a)\},Pb(a.H,function(a,c)\{this.b.addEventListener(c,a,!1)\},a)):a.B.O(a.b,"click",a.Lq)\};\
|
|
VQ=function(a)\{a.B.sa(a.b,"click",a.Lq);Pb(a.H,function(a,c)\{this.b.removeEventListener(c,a,!1)\},a);\
|
|
a.H=\{\}\};\
|
|
qga=function(a,b)\{a.A=[];D(b,function(a)\{nb(this.A,a.identifier)\},a)\};\
|
|
WQ=function(a,b)\{return Uh(b,function(a)\{return ib(this.A,a.identifier)\},a)\};\
|
|
XQ=function(a)\{null!=a?aM(rga,a)?(a=a.match(/yt_vid\\/([a-zA-Z0-9_-]\{11\})/),a=null!=a&&1<a.length?a[1]:null):a=bM(a)?sga(a):null:a=null;return a\};\
|
|
YQ=function(a,b,c)\{if(null==a)return null;c=new L((null!=c?c:"//www.youtube.com/")+"watch");var d=c.b;d.set("v",a);d.set("feature",b?"trueview-instream":"instream");gh(c,d);return c.toString()\};\
|
|
ZQ=function(a)\{return null===a?!1:"pharma"==(new L(a)).F().toLowerCase()\};\
|
|
sga=function(a)\{if(A(B(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 L(a)).b;return wh(a,"v")?a.get("v").toString():wh(a,"video_id")?a.get("video_id").toString():null\};\
|
|
$Q=function(a)\{return A(B(a))?null:"//i1.ytimg.com/vi/"+a+"/mqdefault.jpg"\};\
|
|
aR=function()\{I.call(this)\};\
|
|
bR=function(a)\{I.call(this);this.b=a;this.R=new Bm(4);this.o=0;this.N=this.A=this.J=this.F=!1;this.K=this.sd();this.H=this.Gf();this.ba=15E3;this.M=!1\};\
|
|
dR=function(a)\{a.J=!1;a.A=!1;a.F=!1;a.o=0;a.N=!1;a.R.clear();cR(a);Nb(a.B)\};\
|
|
fR=function(a)\{a.A||(a.A=!0,cR(a),a.dispatchEvent("start"),HM()||!SA||BM(3)||xM()&&(!yM()||!zM(eR,4))||a.pm())\};\
|
|
gR=function(a)\{for(var b=a.b.buffered.length-1;0<=b;)\{if(a.b.buffered.start(b)<=a.b.currentTime)return a.b.buffered.end(b);b--\}return 0\};\
|
|
cR=function(a)\{a.G&&(ee(a.G),a.G=null)\};\
|
|
iR=function()\{I.call(this);this.buffered=new hR;this.b=new Fm(this);var a=NL();if(a)\{a:\{if($b(a.b,"videoElementMockDuration")&&(a=a.b.videoElementMockDuration,ha(a)))break a;a=window.NaN\}this.duration=a\}\};\
|
|
tga=function()\{var a=["video/mp4"],b=["video/ogg"],c=new iR;c.canPlayType=function(c)\{return ib(a,c)?"probably":ib(b,c)?"maybe":""\};\
|
|
c.width=0;c.height=0;c.offsetWidth=0;c.offsetHeight=0;return c\};\
|
|
uga=function(a)\{this.startTime=0;this.endTime=a\};\
|
|
hR=function()\{this.length=0;this.b=[]\};\
|
|
jR=function()\{throw Error("Do not instantiate directly");\};\
|
|
kR=function()\{jR.call(this)\};\
|
|
lR=function()\{jR.call(this)\};\
|
|
mR=function(a,b)\{var c;a:\{var d=a(b||vga,void 0,void 0);c=pf().createElement("DIV");d=wga(d);c.innerHTML=d;if(1==c.childNodes.length&&(d=c.firstChild,1==d.nodeType))\{c=d;break a\}\}return c\};\
|
|
wga=function(a)\{if(!ka(a))return String(a);if(a instanceof jR)\{if(a.Ld===nR)return a.gc();if(a.Ld===oR)return Ea(a.gc())\}return"zSoyz"\};\
|
|
pR=function(a,b)\{return null!=a&&a.Ld===b\};\
|
|
qR=function(a)\{if(null!=a)switch(a.he)\{case 1:return 1;case -1:return-1;case 0:return 0\}return null\};\
|
|
rR=function()\{jR.call(this)\};\
|
|
X=function(a)\{return null!=a&&a.Ld===nR?a:a instanceof Pe?sR(Qe(a),a.mg()):sR(Ea(String(String(a))),qR(a))\};\
|
|
tR=function()\{jR.call(this)\};\
|
|
uR=function()\{jR.call(this)\};\
|
|
vR=function()\{jR.call(this)\};\
|
|
wR=function()\{jR.call(this)\};\
|
|
xR=function()\{jR.call(this)\};\
|
|
yR=function(a,b)\{this.content=String(a);this.he=null!=b?b:null\};\
|
|
zR=function(a)\{function b(a)\{this.content=a\}\
|
|
b.prototype=a.prototype;return function(a)\{return new b(String(a))\}\};\
|
|
CR=function(a,b,c)\{var d="key_"+a+":"+b,e=AR[d];if(void 0===e||0>e)AR[d]=0,BR[d]=c;else if(0==e)throw Error('Encountered two active delegates with the same priority ("'+a+":"+b+'").');\};\
|
|
DR=function(a,b)\{var c=BR["key_"+a+":"+b];c||""==b||(c=BR["key_"+a+":"]);return c?c:xga\};\
|
|
xga=function()\{return""\};\
|
|
HR=function(a)\{return pR(a,nR)?String(String(a.gc()).replace(ER,"").replace(FR,"<")).replace(yga,GR):Ea(String(a))\};\
|
|
IR=function(a)\{return pR(a,nR)?String(String(a.gc()).replace(ER,"").replace(FR,"<")).replace(zga,GR):String(a).replace(Aga,GR)\};\
|
|
Bga=function(a)\{return"%"+a.charCodeAt(0).toString(16)\};\
|
|
KR=function(a)\{a=va(String(a));JR.lastIndex=0;return JR.test(a)?a.replace(JR,Bga):a\};\
|
|
QR=function(a)\{pR(a,LR)||pR(a,MR)?a=NR(a):a instanceof Fe?a=NR(Ge(a)):a instanceof Le?a=NR(Me(a)):(a=String(a),a=Cga.test(a)?a.replace(OR,PR):"about:invalid#zSoyz");return a\};\
|
|
RR=function(a)\{pR(a,LR)||pR(a,MR)?a=NR(a):a instanceof Fe?a=NR(Ge(a)):a instanceof Le?a=NR(Me(a)):(a=String(a),a=Dga.test(a)?a.replace(OR,PR):"about:invalid#zSoyz");return a\};\
|
|
TR=function(a)\{var b=SR[1]||(SR[1]=new Et(1)),c=qR(a);null==c&&(c=we(a+"",pR(a,nR)));return Ega(c!=b.b?-1==c?'dir="rtl"':1==c?'dir="ltr"':"":"")\};\
|
|
GR=function(a)\{return Fga[a]\};\
|
|
PR=function(a)\{return Gga[a]\};\
|
|
NR=function(a)\{return String(a).replace(OR,PR)\};\
|
|
Hga=function(a,b,c)\{return""+DR("a",a.Oi)(a,null,c)\};\
|
|
Iga=function(a)\{return'<div class="videoAdUi"><div class="videoAdUiTopBar"><div class="videoAdUiAttributionContainer videoAdUiAttributionContainer-gvn"><div class="videoAdUiAttribution"'+X(TR(a.Id))+">"+X(a.Id)+'</div></div></div><div class="videoAdUiProgressBar" dir="ltr"><div class="videoAdUiProgress"></div></div></div>'\};\
|
|
Jga=function(a)\{return'<div class="videoAdUi"><div class="videoAdUiTopBar"><div class="videoAdUiAttributionContainer videoAdUiAttributionContainer-gvn"><div class="videoAdUiAttribution"'+X(TR(a.Id))+">"+X(a.Id)+'</div></div><div class="videoAdUiLearnMoreText videoAdUiLearnMoreText-gvn">'+X(a.Cg)+'<div class="videoAdUiLearnMoreIcon"></div></div></div><div class="videoAdUiProgressBar" dir="ltr"><div class="videoAdUiProgress"></div></div></div>'\};\
|
|
UR=function()\{return sR('<div class="videoAdUiPreSkipContainer"><div class="videoAdUiPreSkipButton"><div class="videoAdUiPreSkipText"></div><div class="videoAdUiPreSkipThumbnail" aria-hidden="true"></div></div></div>')\};\
|
|
VR=function(a)\{return""+DR("b",a.Oi)(a,null,void 0)\};\
|
|
Kga=function(a)\{return'<div class="videoAdUiSkipContainer html5-stop-propagation"><button class="videoAdUiSkipButton videoAdUiAction">'+X(a.Vt)+'<div class="videoAdUiSkipIcon"></div></button></div>'\};\
|
|
Lga=function(a)\{return'<div class="videoAdUiSkipContainer html5-stop-propagation"><button class="videoAdUiSkipButton videoAdUiAction"><div class="videoAdUiSkipButtonText">'+X(a.Vt)+'</div><div class="videoAdUiExperimentalSkipIcon"></div></button></div>'\};\
|
|
WR=function(a)\{var b="";a=2<=a.Mh&&1<=a.fh?"Annuncio\\u00a0"+(X(a.fh)+("\\u00a0in "+(X(a.Mh)+(" "+X(a.Lh))))):"Annuncio "+X(a.Lh);return b+=a\};\
|
|
YR=function()\{var a=XR(),b=sR("</a>"),a="Visita "+(X(a)+("Impostazioni degli annunci"+(X(b)+" di Google per ulteriori informazioni sul targeting degli annunci o per disattivare gli annunci personalizzati.")));return sR(""+("<div class='videoAdUiAdSettingsLongTooltip'>"+a+"</div>"))\};\
|
|
XR=function()\{return sR('<a href="https://www.google.com/settings/ads/onweb" target="_blank">')\};\
|
|
ZR=function(a)\{return sR("<div class='videoAdUiPopupBackground'><div class='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='videoAdUiPopupPositioner'><form class='videoAdUiPopupFrame'><div class='videoAdUiPopupHeading videoAdUiHideIfEmpty'>"+X(a.heading)+"</div><div class='videoAdUiPopupText'>"+X(a.message)+\
|
|
"</div><div class='videoAdUiPopupButtons'>"+X(a.buttons)+"</div></form></div></div>")\};\
|
|
Mga=function(a)\{for(var b="<ul class='videoAdUiWhyThisAdReasons videoAdUiHideIfEmpty'>",c=a.targetingReasons,d=c.length,e=0;e<d;e++)b+="<li>"+X(c[e])+"</li>";b+="</ul><div class='videoAdUiWhyThisAdGenericMessage'>"+X(a.vl)+"</div><a class='videoAdUiWhyThisAdMute videoAdUiHideIfEmpty'>"+X(a.mute)+"</a><a class='videoAdUiWhyThisAdControl videoAdUiHideIfEmpty' href='https://www.google.com/settings/ads/onweb' target='_blank'>"+X(a.control)+"</a>";a=""+ZR(\{heading:$R(""+X(a.heading)),message:$R(b),buttons:$R("<button class='videoAdUiWhyThisAdCloseButton videoAdUiPopupDefaultButton'>"+\
|
|
X(a.close)+"</button>")\});return sR(a)\};\
|
|
Nga=function(a)\{for(var b=""+X(a.question),c=a.options,d=c.length,e=0;e<d;e++)var f=c[e],b=b+("<label for='videoAdUiMuteOption"+HR(e)+"'><input type='radio' id='videoAdUiMuteOption"+HR(e)+"' name='videoAdUiMuteOption' class='videoAdUiMuteOption"+HR(e)+"' />"+X(f)+"</label>");a=""+ZR(\{heading:$R(X(a.heading)+" <a class='videoAdUiMuteUndo'>"+X(a.undo)+"</a>"),message:$R(b),buttons:$R("<button class='videoAdUiMuteCancel videoAdUiPopupButton'>"+X(a.cancel)+"</button><button class='videoAdUiMuteConfirm videoAdUiPopupDefaultButton'>"+\
|
|
X(a.confirm)+"</button>")\});return sR(a)\};\
|
|
Oga=function(a)\{var b=String(""+a.heading);return sR(ZR(\{heading:b?new yR(b,void 0):"",message:$R(""+X(a.message)),buttons:$R("<button class='videoAdUiMuteCancel videoAdUiPopupButton'>"+X(a.cancel)+"</button><button class='videoAdUiMuteConfirm videoAdUiPopupDefaultButton'>"+X(a.confirm)+"</button>")\}))\};\
|
|
Pga=function()\{return sR('<div class=\\'videoAdUiMuteToggleButton\\'><div class=\\'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=\\'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>')\};\
|
|
aS=function(a,b,c)\{if(null==a||!Rf(nf(a),a))throw nM(BQ,null,"containerElement","element");this.B=a;this.g=this.b=null;this.A=b;this.C=c||!1;this.o=null;this.b=K("DIV",\{style:"display:none;"\});a=NL();OL(a,"useVideoElementMock")?(a=tga(),b=K("DIV",\{style:"position:absolute;width:100%;height:100%;top:0px;left:0px;"\}),ra(b,a),a.gh=K("DIV",\{style:"position:absolute;width:100%;height:100%;top:0px;left:0px;background-color:#000"\}),a.Qj=K("P",\{style:"position:absolute;top:25%;margin-left:10px;font-size:24px;color:#fff;"\}),\
|
|
a.gh.appendChild(a.Qj),b.appendChild(a.gh),a.b.O(a,["loadeddata","playing","pause","ended"],a.vF),a=b):a=K("VIDEO",\{style:"background-color:#000;position:absolute;width:100%;height:100%;",title:"Pubblicit\\u00e0"\});a.setAttribute("webkit-playsinline",!0);this.g=a;this.B.appendChild(this.b);this.b.appendChild(this.g);this.A&&(a=K("DIV",\{id:this.A,style:"display:none;background-color:#000;position:absolute;width:100%;height:100%;"\}),this.b.appendChild(a));this.C&&(this.o=K("DIV",\{style:"position:absolute;width:100%;height:100%;"\}),\
|
|
this.b.appendChild(this.o))\};\
|
|
dS=function(a)\{I.call(this);this.M="ima-chromeless-video";var b=null;null!=a&&(w(a)?this.M=a:b=a);this.N=new Fm(this);this.C=null;this.A=!1;this.ea=this.sd();this.ga=this.Gf();this.H=-1;this.aa=!1;this.D=-1;this.o=this.X=this.J=null;this.ba="";this.g=!1;this.ca=null!=b;this.ia=this.K=this.da=this.b=null;this.B=void 0;this.G=this.ha=null;this.F=this.la=0;this.ca?(this.g=!0,this.b=b,this.B=2):(a=x(this.Xy,this),bS?a():(cS.push(a),a=Ef("script"),a.src="https://www.youtube.com/iframe_api",b=window.document.getElementsByTagName("script")[0],\
|
|
b.parentNode.insertBefore(a,b)))\};\
|
|
eS=function(a,b,c)\{var d=\{autoplay:"1"\};if(null!=a.o)\{var e=a.o.C;null!=e&&(d.agcid=e);e=a.o.A;null!=e&&(d.adformat=e);e=a.o.B;null!=e&&(d.ad_query_id=e);(e=a.o.D)&&(d.cta_conversion_urls=e);(e=a.o.F)&&(d.endscreen_ad_tracking_data=e);a.o.isPharma()&&(d.is_pharma=1);d.iv_load_policy=a.o.J?1:3;a.o.G&&(d.noiba=1);a.o.M&&(d.utpsa=1);a.o.K&&(d.autoplay="1");a.o.o&&kc(d,a.o.o)\}e=XQ(b);null===e?d.url_encoded_third_party_media="url="+(0,window.encodeURIComponent)(b)+"&type="+(0,window.encodeURIComponent)(null===\
|
|
c?"":c):d.videoId=e;!U.b()&&ZL(XL(),41351017)&&(d.enabled_engage_types="3,4,5");a.A=!1;a.o&&a.o.g?(a.ha=d,a.b.preloadVideoByPlayerVars(a.ha)):a.b.cueVideoByPlayerVars(d);a.dispatchEvent("loaded")\};\
|
|
fS=function(a)\{a.N.sa(a.C,"tick",a.Ur);null!=a.C&&(a.C.stop(),a.C=null)\};\
|
|
gS=function(a)\{null!=a.qa&&ee(a.qa)\};\
|
|
hS=function(a)\{I.call(this);this.sessionId=a||Ua();this.g=[]\};\
|
|
iS=function(a,b,c,d,e)\{mc.call(this,a);this.Jc=b;this.Wd=c;this.Fq=d;this.o=e\};\
|
|
jS=function(a,b)\{hS.call(this,b);this.o=a;this.xd=null;this.A=new Fm(this);this.logger=null;this.A.O(zf(),"message",this.receive)\};\
|
|
kS=function(a)\{if(null==a||!w(a)||!ta(a,"ima://"))return null;a=a.substr(6);try\{return cg(a)\}catch(b)\{return null\}\};\
|
|
Qga=function(a,b,c,d)\{var e=\{\};e.name=b;e.type=c;null!=d&&(e.data=d);e.sid=a.sessionId;e.channel=a.o;return"ima://"+gg(e)\};\
|
|
lS=function(a,b)\{if(null==b)return!1;var c=b.channel;if(null==c||c!=a.o)return!1;c=b.sid;return null==c||"*"!=a.sessionId&&c!=a.sessionId?!1:!0\};\
|
|
mS=function(a,b)\{I.call(this);this.A=a;this.o=b;this.b=\{\};this.g=new Fm(this);this.g.O(zf(),"message",this.B)\};\
|
|
oS=function(a,b,c,d)\{a.b.hasOwnProperty(b)||(c=new jS(b,c),a.g.O(c,a.A,function(a)\{a=new nS(a.type,a.Jc,a.Wd,a.Fq,a.getOrigin(),b);this.dispatchEvent(a)\}),c.xd=d,c.connect(),a.b[b]=c)\};\
|
|
nS=function(a,b,c,d,e,f)\{iS.call(this,a,b,c,d,e);this.b=f\};\
|
|
qS=function()\{var a=q("google.ima.gptProxyInstance",zf());if(null!=a)return a;Fm.call(this);this.o=new mS("gpt",!0);H(this,this.o);this.O(this.o,"gpt",this.C);this.b=null;pS()||zf().top===zf()||(this.b=new mS("gpt",!1),H(this,this.b),this.O(this.b,"gpt",this.B))\};\
|
|
pS=function()\{return!!q("googletag.cmd",zf())\};\
|
|
rS=function()\{var a=q("googletag.console",zf());return null!=a?a:null\};\
|
|
sS=function(a,b,c,d,e,f,k,l,m,n,t,u,y,E)\{this.A=a;this.B=n;this.C=b;this.D=d;this.G=l;this.H=u;this.J=e;this.M=f;this.K=y;this.b=k;this.g=m;this.o=t;this.F=E\};\
|
|
Rga=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,t,u)\{if("%"==n)return"%";var e=c.shift();if("undefined"==typeof e)throw Error("[goog.string.format] Not enough arguments");arguments[0]=e;return tS[n].apply(null,arguments)\})\};\
|
|
wS=function(a,b)\{I.call(this);this.g=new Fm(this);this.G=!1;this.H=Ua();this.F=new Bg;var c=this.H,d=(Lea()?"https:":"http:")+Rga("//imasdk.googleapis.com/js/core/bridge0.0.0_%s.html","en"),e;a:\{var f=window;try\{do\{try\{if(0==f.location.href.indexOf(d)||0==f.document.referrer.indexOf(d))\{e=!0;break a\}\}catch(k)\{\}f=f.parent\}while(f!=f.top)\}catch(k)\{\}e=!1\}e&&(d+="?f="+c);c=K("IFRAME",\{src:d+"#"+c,style:"border:0; opacity:0; margin:0; padding:0; position:relative;"\});Km(this.g,c,"load",this.pz);a.appendChild(c);\
|
|
this.o=c;c=this.F.get("*");null==c&&(c=new jS(this.H,"*"),this.G&&(c.xd=Sf(this.o),c.connect()),this.F.set("*",c));this.D=c;this.C=b;this.b=this.C.g;this.A=this.B=null;this.g.O(this.D,"mouse",this.Mz);this.g.O(this.D,"touch",this.gA);null!=this.b&&(this.g.O(this.D,"displayContainer",this.Iz),this.g.O(this.D,"videoDisplay",this.dA),this.g.O(this.D,"preloadVideoDisplay",this.Wz),this.g.O(this.b,Xb(uS),this.Zd),this.g.O(this.b,vS,this.Zd));c=zf();d=q("google.ima.gptProxyInstance",c);null==d&&(d=new qS,\
|
|
g.ba("google.ima.gptProxyInstance",d,c))\};\
|
|
xS=function(a,b)\{var c=Ss(a.o),d=Ii(b,function(a)\{return window.document.createTouch(window,this.o,a.identifier,a.pageX+c.x,a.pageY+c.y,a.screenX,a.screenY)\},a);\
|
|
return window.document.createTouchList.apply(window.document,d)\};\
|
|
yS=function(a)\{a=a.playbackOptions;return new sS(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)\};\
|
|
zS=function(a,b,c,d,e)\{if(!(e||null!=a&&Rf(nf(a),a)))throw nM(BQ,null,"containerElement","element");this.C=a;var f=e=null!=b||null!=d,k=!1;U.g||(U.g||yM()||SA&&!BM(4)||GM())&&e||(vM()||GM()||(k=!0),f=!1);this.D=f;this.H=k||f&&null!=d;U.g?a=null:(e=K("DIV",\{style:"position:absolute"\}),a.insertBefore(e,a.firstChild),a=e);this.o=a;this.b=this.D||!this.o||U.g||!vM()?null:new aS(this.o,null,!0);a=null;this.D?b?a=new bR(b):d&&(a=new dS(d)):this.b&&(a=new bR(this.b.g));this.g=a;this.B=this.A=null;a=SA&&\
|
|
!BM(4);e=xM()&&vM();this.b&&this.g&&this.o&&!this.D&&!GM()&&!a&&!e&&this.o&&(this.A=new aS(this.o,null,!0),this.B=new bR(this.A.g));this.F=this.g?c||null:null;this.J=null!=this.F;SM(PM.getInstance(),8,\{enabled:this.D,yt:null!=d,customClick:null!=this.F\});null===this.o?(b=this.C,U.B=b):this.D&&b&&!ia(b.getBoundingClientRect)&&(b=this.C,U.B=b);this.G=null==this.o||U.g?null:new wS(this.o,this)\};\
|
|
AS=function(a)\{return a.J&&a.F?a.F:null!=a.b?a.b.o:null\};\
|
|
CS=function(a,b)\{var c=[],d="",e="";if(null!=b)\{for(var d=b,e=[],f=0;d&&25>f;++f)\{var k;a:\{if(d&&d.nodeName&&d.parentElement)\{k=d.nodeName.toString().toLowerCase();for(var l=d.parentElement.childNodes,m=0,n=0;n<l.length;++n)\{var t=l[n];if(t.nodeName&&t.nodeName.toString().toLowerCase()===k)\{if(d===t)\{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 u=\
|
|
e.parent;for(k=0;u&&u!==e&&25>k;++k)\{for(var y=u.frames,l=0;l<y.length;++l)if(e===y[l])\{f.push(l);break\}e=u;u=e.parent\}\}catch(E)\{\}e=f.join()\}else e=""\}c.push(d,e);if(null!=a)\{for(u=0;u<BS.length-1;++u)c.push(Zg(a,BS[u])||"");u=Zg(a,"videoad_start_delay");y="";u&&(u=(0,window.parseInt)(u,10),y=0>u?"postroll":0==u?"preroll":"midroll");c.push(y)\}else for(u=0;u<BS.length;++u)c.push("");c=c.join(":");u=c.length;if(0==u)c=0;else\{y=305419896;for(d=0;d<u;d++)y^=(y<<5)+(y>>2)+c.charCodeAt(d)&4294967295;c=\
|
|
0<y?y:4294967296+y\}return c.toString()\};\
|
|
DS=function()\{I.call(this);this.currentTime=0\};\
|
|
ES=function(a)\{DS.call(this);this.currentTime=a.currentTime;if(!("currentTime"in a)||(0,window.isNaN)(a.currentTime))throw nM(BQ,null,"content","currentTime");this.g=a;this.b=new be(250);this.o=new Fm(this);Hm(this.o,this.b,"tick",this.A,this)\};\
|
|
GS=function(a,b)\{I.call(this);this.b=a;this.C=!!b;this.A=FS(this);if(!this.A)\{var c=xf&&!zc("7")?"readystatechange":"load";this.g=Rc(this.b,c,this.B,!1,this);this.o=window.setInterval(x(this.B,this),100)\}\};\
|
|
HS=function(a)\{a.o&&(window.clearInterval(a.o),a.o=null)\};\
|
|
FS=function(a)\{var b=!1;try\{if(a.C||!xf||zc("11"))var c=a.b,d=(c.contentDocument||c.contentWindow.document).body,b=a.C?!!d&&!!d.firstChild:!!d;else b="complete"==a.b.readyState\}catch(e)\{\}return b\};\
|
|
IS=function()\{I.call(this);this.A=!1;this.impressionUrls=[]\};\
|
|
JS=function(a,b,c)\{mc.call(this,a);this.o=b||null;this.b=c||null\};\
|
|
KS=function(a,b)\{this.G=a;this.F=Ii(b,function(a)\{return a.clone()\});\
|
|
this.D="";this.g=null;this.o=this.B=0;this.A=!0;this.C=[];this.b=[]\};\
|
|
LS=function(a,b,c,d,e,f)\{a.D="<div></div>";a.g=b;a.B=c;a.o=d;a.A=!1;a.C=e||[];a.b=f||[]\};\
|
|
MS=function(a)\{a.D="";a.g=null;a.B=0;a.o=0;a.A=!0;a.C=[];a.b=[]\};\
|
|
NS=function()\{IS.call(this);this.F=[];this.C=!1;this.o="not_loaded";this.g=null;this.B=0;this.b=null;this.G=new mf\};\
|
|
OS=function(a)\{var b=["googletag","googletag.cmd"];return bb(a,function(a)\{return Vk(b,function(b)\{return null!==q(b,a)\})\})||null\};\
|
|
PS=function(a,b,c)\{var d=0,e=0;null!=b&&(b=new L(b.b),d=Number(b.b.get("pod")||0),e=Number(b.b.get("ppos")||0));if(null!=a.setVideoSession)try\{a.setVideoSession(QM.b,d,e,c)\}catch(f)\{\}\};\
|
|
Sga=function(a,b)\{var c=QS(a);if(null!==c)\{PS(c,b,!0);try\{c.refreshAllSlots()\}catch(d)\{\}\}\};\
|
|
SS=function(a,b,c)\{a=RS(a);if(null!=a)try\{a.setVideoContent(b,c)\}catch(d)\{\}\};\
|
|
TS=function(a,b)\{a.D=b;SS(a,"","");var c=QS(a);null===c||PS(c,null,!1)\};\
|
|
QS=function(a)\{null==a.b&&US(a);return null!=a.b&&null!=a.b.googletag&&null!=a.b.googletag.companionAds?a.b.googletag.companionAds():null\};\
|
|
RS=function(a)\{null==a.b&&US(a);return null!=a.b&&null!=a.b.googletag&&null!=a.b.googletag.pubads?a.b.googletag.pubads():null\};\
|
|
VS=function(a)\{a.g&&(a.g.stop(),a.g.sa("tick",a.ts,!1,a),a.g.dispose(),a.g=null)\};\
|
|
ZS=function(a)\{if("retrieved"!=a.o&&"not_available"!=a.o&&null!==QS(a))\{var b;var c=QS(a);if(null!==c&&null!=c.getDisplayAdsCorrelator)try\{b=c.getDisplayAdsCorrelator()\}catch(f)\{b=null\}else b=null;switch(b)\{case "not_loaded":case "not_available":a.o=b;break;default:b=Number(b),(0,window.isNaN)(b)?a.o="not_available":(a.D=b,a.o="retrieved")\}\}(b=WS(a))||(b=XS(a)&&"not_available"==a.o);if(b)\{if(!a.H&&XS(a))\{var d;try\{if(null==a.b)d=[];else\{var e=a.b.googleGetCompanionAdSlots();d=Ii(e,a.rG,a)\}\}catch(f)\{d=\
|
|
[]\}a.F=d;a.H=!0\}a.A=!0;VS(a);WS(a)?a.dispatchEvent(new JS("companions_success")):YS(a)\}else a.g||(a.B=C()+5E3,a.g=new be(100),a.g.O("tick",a.ts,!1,a),a.g.start())\};\
|
|
WS=function(a)\{return XS(a)&&"retrieved"==a.o\};\
|
|
XS=function(a)\{a.C||(US(a),a.C=null!=a.b&&null!=a.b.googleGetCompanionAdSlots);return a.C\};\
|
|
US=function(a)\{var b=ag(a.G);try\{a.b=OS([b,b.top])\}catch(c)\{a.b=null\}\};\
|
|
YS=function(a)\{a.dispatchEvent(new JS("companion_initialization_failed",Error("Partial or full service initialization failure.")))\};\
|
|
Tga=function(a,b,c)\{var d=new GS(b,!0);d.A?$S(a,c,b):bd(d,"ifload",qa(function(a)\{$S(this,c,a)\},b),!1,a)\};\
|
|
$S=function(a,b,c)\{a.dispatchEvent(new JS("companion_slot_init",null,b));var d=c;"IFRAME"==c.tagName&&(d=(c.contentDocument||c.contentWindow.document).body);null!=d&&Rc(d,"click",x(a.JC,a,b),!1,a)\};\
|
|
aT=function(a,b)\{mc.call(this,a);this.b=b\};\
|
|
bT=function(a)\{mc.call(this,a)\};\
|
|
cT=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.b=Zb(b,"thumbnails","default","url"));if(b=a.statistics)this.videoCount=b.videoCount;if(a=a.brandingSettings)this.g=Zb(a,"image","bannerImageUrl")\}\};\
|
|
dT=function()\{this.b=new Bg\};\
|
|
eT=function(a,b)\{this.o=a;this.b=b\};\
|
|
fT=function(a,b)\{eT.call(this,"progress",a);this.g=b\};\
|
|
hT=function(a,b)\{D(b,function(a)\{var b=a.Fb().toLowerCase(),c=gT(this,b);c.push(a);this.b.set(b,c)\},a)\};\
|
|
iT=function(a,b,c,d)\{b=b.toLowerCase();var e=gT(a,b);null!=d?(d=new fT(c,d),null!=d?e.push(d):e.push(new eT(b,c))):e.push(new eT(b,c));a.b.set(b,e)\};\
|
|
gT=function(a,b)\{return null!=b?a.b.get(b.toLowerCase())||[]:[]\};\
|
|
Uga=function(a,b)\{var c=gT(a,"progress");D(c,function(a)\{jT(a.g,b)\});\
|
|
Cb(c,function(a,b)\{return kT(a.g)-kT(b.g)\})\};\
|
|
lT=function(a,b)\{return Ii(gT(a,b)||[],function(a)\{return a.b\})\};\
|
|
mT=function(a,b)\{this.b=null!=a?a:new dT;this.H=null!=b?b:[]\};\
|
|
Vga=function(a,b)\{var c=b.b;D(c.Ua(),function(a)\{hT(this.b,c.get(a))\},a)\};\
|
|
nT=function(a,b)\{var c=lT(a.b,b);return null!=c?c:[]\};\
|
|
Wga=function(a)\{return'<div class="text-container '+(a.image?"pyv":"")+'"><div class="text-inner-container">'+(a.image?(a.Kb?'<a class="text-image-link" target="_blank" href="'+X(a.Kb)+'">':'<a class="text-image-link" target="_blank">')+'<img src="'+X(a.image)+'" class="text-image">'+(a.duration?'<div class="text-image-duration">'+X(a.duration)+"</div>":"")+"</a>":"")+(a.Kb?'<a class="text-title" href="'+X(a.Kb)+'" target="_blank" dir='+X(a.dir)+">"+X(a.title)+"</a>":"")+'<div class="text-description" dir='+\
|
|
X(a.dir)+">"+X(a.text)+"</div>"+(a.ku&&a.Kb?'<a target="_blank" href="'+X(a.Kb)+'" class="text-ad-channel">'+X(a.ku)+"</a>":"")+"</div></div>"\};\
|
|
Xga=function(a)\{return'<div class="flash-container '+(a.eg?"click-capture":"")+'">'+(a.Kb?'<a class="click-layer" target="_blank" href="'+X(a.Kb)+'"></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="'+X(a.width)+'" height="'+X(a.height)+'"><param name="movie" value="'+X(a.url)+'"><param name="quality" value="high"><param name="wmode" value="transparent"><param name="AllowScriptAccess" value="never"><param name="FlashVars" value="clickTAG='+\
|
|
KR(a.Kb)+'"><embed width="'+X(a.width)+'" height="'+X(a.height)+'" wmode="transparent" type="application/x-shockwave-flash" src="'+X(a.url)+'" allowscriptaccess="never" pluginspage="//www.macromedia.com/go/getflashplayer" flashvars="clickTAG='+KR(a.Kb)+'"></object></div>'\};\
|
|
Yga=function(a)\{return'<div class="image-container" id="'+X(a.id)+'" style="width:'+X(a.width)+";height:"+X(a.height)+';">'+(a.Kb?'<a target="_blank" href="'+X(a.Kb)+'">':'<a target="_blank">')+'<img src="'+X(a.url)+'" border="0"></a></div>'\};\
|
|
Zga=function(a)\{return'<div class="image-container" id="'+X(a.id)+'">'+(a.Kb?'<a target="_blank" href="'+X(a.Kb)+'">':'<a target="_blank">')+'<img src="'+X(a.url)+'" border="0" style="max-width:100%;max-height:100%;"></a></div>'\};\
|
|
oT=function(a)\{return'<div class="image-container" id="'+X(a.id)+'" style="width:'+X(a.width)+";height:"+X(a.height)+';"></div>'\};\
|
|
pT=function()\{this.R=-1;this.D=\{\};this.ha="";this.zg=new dT\};\
|
|
qT=function(a,b,c)\{a.ha=b;a.D=c\};\
|
|
rT=function(a,b)\{var c=[],d=a.Ui();D(d,function(a)\{a=gT(a.zg,b)||[];c=rb(a,c)\},a);\
|
|
return c\};\
|
|
sT=function(a,b,c)\{var d=c||!1;return bb(b.B,function(a)\{var b=a.b==this.b;return a instanceof this.constructor&&(d||b)\},a)\};\
|
|
tT=function(a,b,c,d,e,f,k,l,m,n)\{this.A=a;this.b=b;this.D=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.Xe=e;this.Vd=f;this.C=k;this.B=l;this.g=dM(B(m));this.o=n\};\
|
|
uT=function(a,b,c,d,e,f)\{pT.call(this);this.R=a;this.o=b;this.g=c;this.K=sb(d);this.ea=null;this.A=e;this.ua=sb(f);wb(this.ua,null,function(a)\{return a.G\})\};\
|
|
vT=function(a)\{var b=new Bg,c=a.Ui();D(c,function(a)\{if(a instanceof uT)\{var c=a.g;D(c.Ua(),function(a)\{b.set(a,rb(c.get(a),b.get(a)||[]))\},this)\}\},a);\
|
|
return b\};\
|
|
wT=function(a,b)\{var c=bb(a.K,function(a)\{return!A(B(a.b))&&-1!=a.b.indexOf(b)&&("VPAID"==a.o||"surveys"==a.o)\});\
|
|
return null!=c?c.g:null\};\
|
|
xT=function(a,b,c)\{F.call(this);this.g=a;this.o=b;this.C=c;this.B=0;this.b=new Fm(this);$ga(this)\};\
|
|
$ga=function(a)\{a.C.forEach(function(a,c)\{this.b.O(c,"mousedown",this.D);this.b.O(c,"mouseup",this.G)\},a);\
|
|
a.b.O(a.o,"mouseover",a.F)\};\
|
|
yT=function(a,b,c)\{this.type=a;this.label=b;this.Ma=c\};\
|
|
zT=function(a,b)\{return new yT(a,1,b)\};\
|
|
AT=function(a)\{return new yT("m",3,a)\};\
|
|
BT=function(a)\{return zT("m",a)\};\
|
|
CT=function(a)\{this.Pa=a||\{\}\};\
|
|
DT=function(a,b,c)\{a=a.Pa[b];return null!=a?a:c\};\
|
|
ET=function(a,b)\{return DT(a,b,"")\};\
|
|
FT=function(a,b,c)\{a=a.Pa;a[b]||(a[b]=[]);return a[b][c]\};\
|
|
GT=function(a,b)\{return a.Pa[b]?a.Pa[b].length:0\};\
|
|
HT=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?p(void 0)?HT(a,b,void 0,d):a:c\};\
|
|
JT=function()\{var a=window.event||IT;if(!a)return null;var b;(b=a.which?1<<aha[a.which-1]:a.button)&&a.shiftKey&&(b|=8);b&&a.altKey&&(b|=16);b&&a.ctrlKey&&(b|=32);return b\};\
|
|
KT=function(a,b,c)\{F.call(this);this.g=a;this.B=b;this.H=c;this.A=0;this.b=\{\};this.o=new Fm(this);H(this,this.o);bha(this)\};\
|
|
bha=function(a)\{D(a.H,function(a)\{this.o.O(a.element,"mousedown",this.D,!0);this.o.O(a.element,"mouseup",qa(this.G,a),!0)\},a);\
|
|
a.o.O(a.B,"mouseenter",a.F)\};\
|
|
cha=function(a,b)\{Pb(a.b,function(a,d)\{b=bh(b,d,a)\});\
|
|
return b\};\
|
|
MT=function(a,b,c,d,e)\{pT.call(this);A(B(a))&&(a=Ua()+"_ima");this.wa=B(a);this.na=b;this.aa=c;this.X=d;this.B=e;this.H=[];null!=this.X?this.la=LT[this.X]||"Other":this.la=null\};\
|
|
NT=function(a,b,c,d,e)\{MT.call(this,a,b,c,d,e);this.La=this.o=null;this.qa=-2;this.g=null;this.ga=this.M=r;this.N=[];this.Ha=[];this.A=!1\};\
|
|
QT=function(a,b)\{a.g=b;null!=a.o&&null!=b&&(OT(a,a.M),PT(a,a.ga))\};\
|
|
OT=function(a,b)\{null!=a.g&&null!=a.o&&D(a.N,function(a)\{this.g.sa(a,"click",this.M);!A(B(this.Td()))&&this.g.O(a,"click",b)\},a);\
|
|
a.M=b\};\
|
|
PT=function(a,b)\{null!=a.g&&null!=a.o&&(a.g.sa(a.o,"creativeview",a.ga),a.g.O(a.o,"creativeview",b));a.ga=b\};\
|
|
RT=function(a,b)\{var c=a.wa,d=\{\};d.style="cursor:default;position:relative;z-index:1001;height:"+a.getHeight()+"px;";"Text"!=a.yc()&&(d.style+="width:"+a.bb()+"px");A(B(c))||(d.id=c);return K("DIV",d,b)\};\
|
|
ST=function(a)\{if(!a.A)return null;var b=rT(a,"start");tb(b,rT(a,"creativeview"));if(null!=b&&!kb(b))\{var c=[];D(b,function(a)\{if(!A(B(a)))\{var b;b=pf().Az("IFRAME",\{frameborder:0,style:"border:0;vertical-align:bottom;",src:dha\});Is(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",dM(a.b));b.setAttribute("id",d);this.Ha.push(d);nb(c,b)\}\},a);\
|
|
return c\}return null\};\
|
|
eha=function(a,b)\{if(null!=a.o)if(XL().b.Z("cleanup_text_overlay_spam_signals"))\{var c=[];D(a.N,function(a)\{c.push(\{element:a,Py:this.Bl(a)\})\},a);\
|
|
new KT(b,a.o,c)\}else c=new Bg,D(a.N,function(a)\{c.set(a,this.Bl(a))\},a),new xT(b,a.o,c)\};\
|
|
fha=function(a)\{var b=[],c=a.Ui();D(c,function(a)\{b=rb(b,a.H)\},a);\
|
|
return b\};\
|
|
TT=function(a,b,c)\{var d=c||!1;return bb(b.B,function(a)\{var b=a.b==this.b;return this instanceof a.constructor&&(d||b)\},a)\};\
|
|
UT=function(a,b)\{NT.call(this,a,b,"Static","text","")\};\
|
|
aU=function(a,b,c)\{var d=\{\};a=new VT(a,p(b)?b:null,p(c)?c:null);WT(d,a);b=a.error;d.ERRORCODE=1E3>b.g?b.g:900;XT(d);ZT(d,a);$T(d,a);b=a.error.kb();d.ERROR_MSG=a.error.b;d.IMA_ERROR=b;d.INTERNAL_ID="0";d.BLOCKING_ERROR=-1!=gb(gha,b)?"1":"0";d.YT_ERROR_CODE=3;return d\};\
|
|
bU=function(a,b)\{var c=\{\},d=new VT(null,a,p(b)?b:null);WT(c,d);XT(c);ZT(c,d);$T(c,d);c.BREAK_TYPE="0";c.SLOT_POS="0";c.MIDROLL_POS="0";if(null!=d.g)\{var e=d.g.o;if(null!=e&&null!=e.sf&&null!=e.sf.video_start_delay)e=e.sf.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.A;c.BREAK_TYPE=0==e.A?"1":-1==e.A?"3":"2";c.SLOT_POS=e.g-1;var e=d.g.o,e=null!=e&&null!=e.Eb&&null!=e.Eb.GET_MIDROLL_POSITION_IN_SEC?e.Eb.GET_MIDROLL_POSITION_IN_SEC:null,\
|
|
f=Math.round(d.g.A.b),e=0<f&&e?e(f):f;0<e&&(c.MIDROLL_POS=e)\}\}hha(c,d);iha(c,d);d=a.Aa;for(e=a;null!=e;)d=e.qa+","+d,e=e.g;c.RWT=d;return c\};\
|
|
VT=function(a,b,c)\{this.error=a;this.g=b;this.b=c\};\
|
|
cU=function(a,b)\{null!=b&&(a.VIEWABILITY=b)\};\
|
|
jha=function()\{var a=jga();if(null!=a)return a.moatInit\};\
|
|
dU=function(a,b,c,d,e)\{d&&!U.b()||!kha(c,b)?a[c]="":(d=e(),null!=d&&(a[c]=d,iM.mr(b)&&(a[c]=(0,window.encodeURIComponent)(a[c]))))\};\
|
|
kha=function(a,b)\{return Uh(lha[a],function(a)\{return null!=b.match(a)\})\};\
|
|
WT=function(a,b)\{a.CACHEBUSTING=\{toString:function()\{return Math.round(1E8*Math.random()+1E8).toString().slice(1)\}\};\
|
|
a.ASSETURI=\{toString:function()\{return null!=b.b?b.b.getVideoUrl():""\}\}\};\
|
|
iha=function(a,b)\{a.AD_CPN=\{toString:function()\{return b.b.kg()\}\};\
|
|
a.AD_MT=\{toString:function()\{return Math.round(Math.max(0,1E3*b.b.getCurrentTime())).toString()\}\};\
|
|
a.MT=\{toString:function()\{return b.b?Math.round(Math.max(0,1E3*b.b.getCurrentTime(1))).toString():"0"\}\};\
|
|
a.P_W=\{toString:function()\{return null!=b.b&&null!=b.b.sd()?b.b.sd().width.toString():""\}\};\
|
|
a.P_H=\{toString:function()\{return null!=b.b&&null!=b.b.sd()?b.b.sd().height.toString():""\}\}\};\
|
|
XT=function(a)\{a.SDKV=OM(QM);a.EL="adunit";a.CONN="0";a.WT=\{toString:function()\{return Date.now()\}\}\};\
|
|
ZT=function(a,b)\{if(null!=b.g&&null!=b.g.o&&null!=b.g.o.Eb&&U.b())\{var c=b.g.o.Eb;D(mha,function(b)\{b in c&&(a[b]=c[b])\})\}\};\
|
|
$T=function(a,b)\{if(null!=b.g)\{a.AD_ID=nha(b.g);a.AD_SYS=oha(b.g);var c=eU(b.g);a.AQI=null!=c?c:"";a.AD_V=\{toString:function()\{if(null!=b.b)\{var a=XQ(b.b.getVideoUrl());if(null!=a)return a\}return"0"\}\};\
|
|
a.FORMAT_NAMESPACE="0";a.FORMAT_TYPE="0";a.FORMAT_SUBTYPE="0";c=[];try\{c=fU(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"\}\};\
|
|
hha=function(a,b)\{null!=b.g&&(a.AD_LEN=\{toString:function()\{var a=gU(b.g);return 0>a?"-1":Math.round(1E3*a).toString()\}\},a.VOL=\{toString:function()\{return null!=b.b?b.b.Hf()?"0":Math.round(100*b.b.Sd()).toString():""\}\})\};\
|
|
jU=function(a,b,c)\{var d=null,e=c+b;D(a.B,function(f)\{if(KQ(f.D,"rm"))\{var k=bU(a);hU(a)&&(k.FILLED_OPPORTUNITY=0);jM(a.J,k);(k=a.o)&&k.afcRmFallback&&(d=f)\}else\{if(k=f instanceof NT)0==c&&0==b||f instanceof UT?k=!0:(k=f.td(),k=k.width<=b&&k.height<=c);if(k&&(k=0==c&&0==b?0:c-f.td().height+b-f.td().width,"Flash"!=f.yc()||GQ))if(null==d)d=f,e=k;else if(k==e&&f.b<d.b||k<e)d=f,e=k\}\});\
|
|
iU(a,d)\};\
|
|
kU=function(a)\{var b=null;D(a.B,function(a)\{a instanceof uT&&(null===b||a.b<b.b)&&(b=a)\});\
|
|
iU(a,b)\};\
|
|
lU=function(a,b,c,d)\{this.C=a;this.H=b;this.ads=0<this.C.length?this.C:this.H;this.F=c;this.D=this.K=!0;this.o=-1;this.b=null;this.N=this.A=0;this.R=d;this.logger=null\};\
|
|
qU=function(a,b,c)\{var d=[],e=x(function(a)\{this.g()?mU(this,function(a)\{d.push(a);e(null)\},function(a)\{301==a.kb()?c(mM(nU)):e(a)\}):0<d.length?b(d):(null==a&&(a=mM(oU)),1012==a.kb()&&(a=mM(pU)),c(a))\},a);\
|
|
e(null)\};\
|
|
mU=function(a,b,c)\{null!=a.b?pha(a,b,c):a.g()?qha(a,b,x(function(a)\{!this.g()||!U.b()&&301==a.kb()?c(a):mU(this,b,c)\},a)):c(new KL("adLoadError","The ad source contains no more ads.",1005))\};\
|
|
rha=function(a,b)\{a.D=b;a.ads=a.J(a.C,a.H);a.o=-1\};\
|
|
sha=function(a,b,c,d)\{var e=a.F.clone();e.g="";e.b=b.Sa;rU(a,b,e,c,d)\};\
|
|
rU=function(a,b,c,d,e)\{var f=b.getExtension("LocalRedirect");null!=f&&(f=f.o,null!=f&&(c.g=f));a.R.fetch(c,x(function(a)\{a instanceof lU?(tha(a,b,this.D&&b.Ga,b.Ia),d(a)):a instanceof sU?e(new KL("adLoadError","Ad source cannot contain playlist response.",2)):e(new KL("adLoadError","Unknown ad source.",2))\},a),e)\};\
|
|
uha=function(a)\{var b=0;for(a=a.g;null!=a;)a=a.g,b++;return b\};\
|
|
pha=function(a,b,c)\{a.b.g()?mU(a.b,x(function(a)\{this.B(a,b,x(function(a)\{this.g()?mU(this,b,c):c(a)\},this))\},a),x(function(a)\{tU(this.ads[this.o],a);\
|
|
this.b=null;U.b()||301!=a.kb()?this.g()?mU(this,b,c):c(a):c(a)\},a)):(0==a.b.A&&tU(a.ads[a.o],mM(uU)),a.b=null,mU(a,b,c))\};\
|
|
tU=function(a,b)\{if(b.o)\{1012==b.kb()&&(b=mM(pU));var c=aU(b,a);jM(a.La,c)\}\};\
|
|
qha=function(a,b,c)\{a.o++;var d=a.ads[a.o];d.X||d.ba?d.ba?sha(a,d,x(function(a)\{this.b=a;mU(this,b,c)\},a),x(function(a)\{a=vU(a);\
|
|
tU(d,a);c(a)\},a)):uha(d)>=U.F?(a=mM(vha,null,String(U.F)),tU(d,a),c(a)):a.K?a.G(d,x(function(a)\{this.b=a;\
|
|
mU(this,b,c)\},a),x(function(a)\{a=vU(a);\
|
|
tU(d,a);c(a)\},a)):c(mM(wha)):a.B(d,b,c)\};\
|
|
vU=function(a)\{switch(a.kb())\{case 300:case 301:case 302:case 303:case 200:case 1012:break;default:a=mM(uU)\}return a\};\
|
|
tha=function(a,b,c,d)\{D(a.ads,function(a)\{a.g=b\});\
|
|
rha(a,c);a.K=d\};\
|
|
wU=function(a)\{mT.call(this);this.g=(0,window.isNaN)(a)?-1:a\};\
|
|
xU=function(a,b,c,d)\{lU.call(this,[],a,b,c);this.M=d\};\
|
|
yU=function(a)\{return sR('<div class="iv-endcap-background"><div class="iv-endcap-slot"><div class="iv-endcap-card"><a class="iv-endcap-image" href="'+HR(QR(a.target))+'" target="_blank"><img src="'+HR(RR(a.image))+'"></a><div class="iv-endcap-text" dir='+IR(a.dir)+'><a href="'+HR(QR(a.target))+'" target="_blank"><div class="iv-endcap-headline">'+X(a.headline)+'</div><div class="iv-endcap-description">'+X(a.description)+'</div></a></div><a class="iv-endcap-action" href="'+HR(QR(a.target))+'" target="_blank" dir='+\
|
|
IR(a.dir)+">"+X(a.action)+'</a></div></div><div class="iv-endcap-bottom"><svg class="iv-endcap-countdown" viewBox="0 0 20 20"><circle class="iv-endcap-countdown-inner" r="5" cx="10" cy="10" /><circle class="iv-endcap-countdown-outer" r="10" cx="10" cy="10" /></svg></div></div>')\};\
|
|
xha=function(a,b,c)\{c=c||\{\};var d='<div class="iv-cards-companion"><div class="iv-cards-attribution"><span class="yt-badge yt-badge-ad">'+sR("Annuncio")+"</span>";a.ip&&a.Kb&&(b="Acquista prodotti su "+X(a.ip),d+='<a href="'+HR(QR(a.Kb))+'" target="_blank">'+b+"</a>");d+='<div class="yt-uix-hovercard ad-info-container"><span class="yt-uix-hovercard-target" data-position="topright" data-orientation="horizontal"><span class="ad-info-icon"></span></span><div class="yt-uix-hovercard-content"><p>'+X(a.ee)+\
|
|
'</p></div></div></div><div class="iv-cards-slider"><div class="iv-cards-slider-body"><ul class="iv-cards-slider-list">';b=a.cards;for(var e=b.length,f=0;f<e;f++)\{var k;k=b[f];k=sR('<div class="iv-cards-slider-unit"><a href="'+HR(QR(k.target))+'" target="_blank"><div class="iv-cards-slider-image"><span class="iv-cards-image-helper"></span><img src="'+HR(RR(k.image))+'"></div><div class="yt-ui-ellipsis yt-ui-ellipsis-4 iv-cards-slider-text">'+X(k.headline)+'</div><span class="iv-cards-slider-action">'+\
|
|
X(k.action)+"</span></a></div>");d+='<li class="iv-cards-slider-item">'+k+"</li>"\}d+="</ul></div>"+(a.lG?'<button class="iv-cards-slider-button iv-cards-slider-prev" type="button" onclick="'+(c.pl?"/*"+c.pl+"*/":"")+';return false;"><span class="iv-cards-slider-prev-icon yt-uix-tooltip yt-sprite" data-tooltip-text="'+HR(a.Us)+'" title="'+HR(a.Us)+'" /></button><button class="iv-cards-slider-button iv-cards-slider-next" type="button" onclick="'+(c.pl?"/*"+c.pl+"*/":"")+';return false;"><span class="iv-cards-slider-next-icon yt-uix-tooltip yt-sprite" data-tooltip-text="'+\
|
|
HR(a.Br)+'" title="'+HR(a.Br)+'"></span></button>':"")+"</div></div>";return sR(d)\};\
|
|
yha=function(a)\{return sR('<div class="iv-website-companion">'+(a.Ci?'<img class="iv-website-companion-banner" src="'+HR(RR(a.Ci))+'">':"")+'<div class="iv-website-companion-block"><div class="iv-website-companion-icon"><img src="'+HR(RR(a.Bq))+'"></div><div class="iv-website-companion-text"><div class="iv-website-companion-header">'+X(a.headline)+'</div><div class="iv-website-companion-desc"><span class="iv-website-companion-ad-badge">'+sR("Annuncio")+'</span><span class="iv-website-companion-domain">'+\
|
|
X(a.descriptionText)+'</span></div></div><a class="iv-website-companion-action yt-uix-button yt-uix-button-size-default yt-uix-button-primary" href="'+HR(QR(a.target))+'" target="_blank">'+X(a.ep)+"</a></div></div>")\};\
|
|
zha=function(a)\{return sR('<div class="iv-website-companion">'+(a.Ci?'<a href="'+HR(QR(a.target))+'" target="_blank"><img class="iv-website-companion-banner" src="'+HR(RR(a.Ci))+'"></a>':"")+'<div class="iv-website-companion-block"><a href="'+HR(QR(a.target))+'" target="_blank"><div class="iv-website-companion-icon"><img src="'+HR(RR(a.Bq))+'"></div></a><div class="iv-website-companion-text"><a href="'+HR(QR(a.target))+'" target="_blank"><div class="iv-website-companion-header">'+X(a.headline)+'</div></a><a href="'+\
|
|
HR(QR(a.target))+'" target="_blank"><div class="iv-website-companion-desc"><span class="iv-website-companion-ad-badge">'+sR("Annuncio")+'</span><span class="iv-website-companion-domain">'+X(a.descriptionText)+'</span></div></a></div><a class="iv-website-companion-action yt-uix-button yt-uix-button-size-default yt-uix-button-primary" href="'+HR(QR(a.target))+'" target="_blank">'+X(a.ep)+"</a></div></div>")\};\
|
|
zU=function(a)\{L.call(this,a);this.C=new Bg;a=this.o;var b=a.indexOf(";"),c=null;0<=b?(fh(this,a.substring(0,b)),c=a.substring(b+1)):fh(this,a);Aha(this,c)\};\
|
|
Aha=function(a,b)\{A(B(b))||D(b.split(";"),function(a)\{var b=a.indexOf("=");if(0<b)\{var c=wa(a.substring(0,b));a=wa(a.substring(b+1));b=this.C.get(c);null!=b?ib(b,a)||b.push(a):b=[B(a)];this.C.set(c,b)\}\},a)\};\
|
|
Bha=function(a)\{if(A(B("ord")))return null;a=a.C.get("ord");return null!=a?a:null\};\
|
|
AU=function(a,b,c)\{A(B(b))||(c=Ii(c,B),a.C.set(b,c))\};\
|
|
BU=function(a,b)\{var c=[B(b)];tb(c,Cha(a));return c.join(";")\};\
|
|
Cha=function(a)\{var b=Bha(a);null!=b?A(B("ord"))||a.C.remove("ord"):b=[B(C())];var c=[];D(a.C.Ua(),function(a)\{D(this.C.get(a),function(b)\{tb(c,a+"="+b)\})\},a);\
|
|
tb(c,"ord="+b[0]);AU(a,"ord",b);return c\};\
|
|
DU=function(a)\{if(null==a)return!1;a=new L(a);var b=a.o;return ua(a.g,"googleads.g.doubleclick.net")&&CU("/pagead/(live/)?ads",b)\};\
|
|
EU=function(a)\{a=a.b;return null!=a?"bid.g.doubleclick.net"==(new L(a)).g:!1\};\
|
|
FU=function(a)\{if(null==a)return!1;var b=new zU(a);a=b.g;b=BU(b,b.o);return!ua(a,".g.doubleclick.net")&&ua(a,"doubleclick.net")&&CU("/(ad|pfad)[x|i|j]?/",b)\};\
|
|
GU=function(a)\{if(null==a)return!1;a=new L(a);var b=a.o;return ua(a.g,"doubleclick.net")&&CU("/gampad/(live/)?ads",b)\};\
|
|
Dha=function(a)\{return DU(a.b)||FU(a.b)||GU(a.b)||EU(a)\};\
|
|
Eha=function(a)\{a=a.b;if(null==a)return null;a=(new L(a)).b;return null!=a.get("ms")?B(a.get("ms")):null\};\
|
|
CU=function(a,b)\{return A(B(b))?!1:(new RegExp(a)).test(b)\};\
|
|
HU=function(a)\{return mM(Fha,null,a.parentNode.nodeName,a.nodeName)\};\
|
|
IU=function(a)\{return mM(Gha,null,a.parentNode.nodeName,a.nodeName)\};\
|
|
JU=function(a,b)\{return null!=a?le(Mf(a),function(a)\{return a.nodeName==b\}):[]\};\
|
|
KU=function(a,b)\{var c=a.getAttribute(b);return null!=c?c.toLowerCase():null\};\
|
|
LU=function(a,b)\{if(null==a)return null;var c="";D(a.childNodes,function(a)\{if(4==a.nodeType||3==a.nodeType)c+=a.nodeValue\});\
|
|
c=Pa(c);return b?Ha(c):c\};\
|
|
MU=function(a,b,c,d)\{null!=a&&D(Mf(a),function(a)\{if(a.nodeName==b)c.call(d,a);else throw HU(a);\})\};\
|
|
NU=function(a)\{return A(B(a))?window.NaN:Va(B(a))\};\
|
|
OU=function(a,b)\{if(null!=a)\{var c=a.split(":");if(3==c.length)return c=new Rr(0,0,0,Va(c[0]),Va(c[1]),Va(c[2])),60*(60*(24*c.b+c.g)+c.o)+c.A\}return null!=b?b:-1\};\
|
|
PU=function(a,b)\{if(!A(B(a)))switch(a.toLowerCase())\{case "true":case "1":return!0;case "false":case "0":return!1\}return null!=b?b:!1\};\
|
|
SU=function(a,b)\{if(b)return a;var c;c=null!=a&&/(doubleclick.net|googleadservices.com)/.test(a)?-1!=a.indexOf("/pagead/adview")?QU(a)?0:2:-1!=a.indexOf("/pcs/view")?Hha(a)?0:2:-1!=a.indexOf("/pagead/conversion")?QU(a)?1:2:2:2;0==c||1==c?(c=RU(a,"&sdkv="+OM(QM)),QM.ba&&(c=RU(c,"&ssss=gima"))):c=a;return c\};\
|
|
RU=function(a,b)\{var c=a.indexOf("&adurl=");return-1!=c?Na(a.substr(0,c),b,a.substr(c,a.length)):a+b\};\
|
|
QU=function(a)\{return Vk(Iha,function(b)\{return Yg(a||"",b)\})\};\
|
|
Hha=function(a)\{return Vk(Jha,function(b)\{return Yg(a||"",b)\})\};\
|
|
TU=function(a,b)\{this.b=a;this.g=b\};\
|
|
kT=function(a)\{return a.g?-1:a.b\};\
|
|
jT=function(a,b)\{a.g&&(a.g=!1,a.b=a.b*b/100)\};\
|
|
WU=function(a,b,c)\{var d=new dT;MU(a,"Tracking",function(a)\{var e=KU(a,"event"),k=SU(LU(a),b);UU(k)&&null!=e&&(null!=c&&(k=c(e,k)),"progress"==e?(a=KU(a,"offset"),a=VU(a),null!=a&&iT(d,e,k,a)):iT(d,e,k))\});\
|
|
return d\};\
|
|
Kha=function(a)\{if(A(B(a)))return null;a=new L(a);if("thismessage"!=a.A||"extensions"!=a.g)return null;a=a.o;if(!ta(a,"/"))return null;a=a.substr(1);return A(B(a))?null:a\};\
|
|
VU=function(a)\{if(A(B(a)))return null;var b=null;0<a.indexOf("%")?(a=Number(a.substr(0,a.indexOf("%"))),!(0,window.isNaN)(a)&&0<=a&&(b=new TU(a,!0))):(a=OU(a),0<=a&&(b=new TU(a,!1)));return b\};\
|
|
UU=function(a)\{var b=!0;if(A(B(a)))b=!1;else try\{new L(a)\}catch(c)\{b=!1\}return b\};\
|
|
XU=function(a,b)\{mT.call(this);this.g=a;this.o=b\};\
|
|
YU=function()\{\};\
|
|
ZU=function(a,b)\{mT.call(this,b);this.g=a\};\
|
|
$U=function(a)\{mT.call(this);this.g=a\};\
|
|
aV=function(a,b,c,d)\{this.b=a;this.A=b;this.o=c;this.g=null!=d?d:!1\};\
|
|
bV=function(a,b)\{a.b.F=b;D(a.A,function(a)\{bV(a,b)\},a)\};\
|
|
cV=function(a,b)\{NT.call(this,"1",Lha,"Html",null,"dummy");this.C=0;this.ia=a.length;QT(this,new Fm(this));this.ca=Mha(a,b);this.Ga=sf("iv-cards-slider-list",this.ca);if(this.J=sf("iv-cards-slider-prev",this.ca))this.g.O(this.J,"click",this.Aa),S(this.J,!1);(this.da=sf("iv-cards-slider-next",this.ca))&&this.g.O(this.da,"click",this.Ca)\};\
|
|
Mha=function(a,b)\{var c=Ii(a,function(a)\{var b=dV(a),c=eV(b);a=a.Vg(0);return\{headline:ET(b,"headline"),description:ET(b,"description"),image:fV(gV(b)),action:ET(c,"price"),target:hV(a),merchant:ET(c,"merchant")\}\}),d=3<a.length;\
|
|
return mR(xha,\{cards:c,ip:c[0].merchant,Br:sR("Avanti"),Us:sR("Indietro"),ee:YR(),Kb:b,lG:d\})\};\
|
|
iV=function(a)\{a.Ga.style.left=125*-a.C+"px";a.J&&S(a.J,0<a.C);a.da&&S(a.da,a.C<a.ia-3)\};\
|
|
jV=function(a)\{NT.call(this,"1",Nha,"Html",null,"website_actions_companion");QT(this,new Fm(this));XL().b.Z("website_companion_all_elements_clickable");var b=a.$i(),c=b&&b.b(),d=b&&b.g();a=a.Vg(0);b=\{headline:b&&ET(b,"headline")||"",Bq:c&&fV(c)||"",Ci:d&&fV(d)||"",ep:a&&ET(a,"title")||"",descriptionText:b&&ET(b,"description")||"",target:a&&hV(a)||""\};this.C=XL().b.Z("website_companion_all_elements_clickable")?mR(zha,b):mR(yha,b)\};\
|
|
lV=function(a,b,c,d,e,f,k,l,m,n,t,u,y,E,G,Y)\{this.gb=a;this.ea=b;this.N=c;this.Na=d;this.na=(0,window.isNaN)(k)||""==k||0==k?-1:k;this.La=l?sb(l):[];this.J=m?sb(m):[];this.B=n?sb(n):[];this.ga=[];this.G=[];this.F=null;this.R=[];this.ua=!0;this.g=this.b=null;this.D=new Bg(u);this.ba=null!=Y;this.Ga=(this.X=null!=y)?E||!1:!1;this.Ia=this.zB?G||!1:!1;this.Oa=B(y);this.Sa=B(Y);this.Ha=this.o=null;this.A=new hga;this.ca=new jf(0,0);this.K=String(Math.floor(1E9*Math.random()));this.aa=this.da=this.C=null;\
|
|
this.Aa=C();this.Ca=this.qa=0;this.ia=this.ha=!1;this.H=[];this.M=null;this.la=!1;D(this.B,function(a)\{a.F=this\},this);\
|
|
kV(this,t)\};\
|
|
fU=function(a)\{var b=a.getExtension("AdFormat");if(null!=b&&ua(b.g+"_"+b.o+"_"+b.A,"2_4"))return b.g+"_"+b.o+"_"+b.A;b=mV(a);b=nV(a,oV)?"14":KQ(b,"hideMaster")||KQ(b,"blockAllAds")?"3":a.ob()?pV(a)?"2_3":a.isSkippable()?qV(a)?"2_1":"2_2":"2":"1";return rV(a)+"_"+b\};\
|
|
rV=function(a)\{return hU(a)?4:nV(a,oV)?14:nV(a,Oha)?17:nV(a,Pha)?15:sV(a,Qha)||sV(a,tV)?1:uV(a)?2:0\};\
|
|
vV=function(a)\{return null!=a.ea?a.ea:""\};\
|
|
wV=function(a)\{return null!=a.g?rb(wV(a.g),a.La):a.La\};\
|
|
xV=function(a)\{return null!=a.g?rb(xV(a.g),a.J):a.J\};\
|
|
Rha=function(a)\{if(!U.b())return[];var b=a.J;a.J=[];return b\};\
|
|
yV=function(a)\{return null!=a.g?rb(a.G,yV(a.g)):a.G\};\
|
|
mV=function(a)\{return null!=a.b?a.b.D:\{\}\};\
|
|
Sha=function(a)\{var b=\{\};D(a.B,function(a)\{a=a.D;for(var c in a)b[c]=a[c]\});\
|
|
return b\};\
|
|
zV=function(a)\{return null!=a.b?a.b.ha:""\};\
|
|
AV=function(a,b)\{var c=[];D(a.D.Ra(),function(a)\{tb(c,nT(a,b))\});\
|
|
return c\};\
|
|
iU=function(a,b)\{a.b=b;a.ca=null!=a.b&&a.b instanceof NT?a.b.td():new jf(0,0);if(U.b()&&Tha(a)&&kb(yV(a)))Uha(a,a.H);else\{var c=XL().b;U.b()&&kb(yV(a))&&c.Z("enable_website_actions_info_cards")&&c.Z("enable_website_actions_info_cards_companion")&&BV(a,a.H)\}\};\
|
|
CV=function(a)\{return null!=a.gb?a.gb:""\};\
|
|
EV=function(a)\{if(null==a.g||DV(a.g.N))return[];var b=[CV(a.g)];tb(b,EV(a.g));return b\};\
|
|
nha=function(a)\{var b=EV(a).reverse();b.push(CV(a));return b\};\
|
|
FV=function(a)\{if(null==a.g||DV(a.g.N))return[];var b=[vV(a.g)];tb(b,FV(a.g));return b\};\
|
|
eU=function(a)\{if(!U.b())return null;if(null!=a.g)\{var b=eU(a.g);if(null!=b)return b\}a=a.getExtension("viral");return null!=a?a.g:null\};\
|
|
oha=function(a)\{var b=FV(a).reverse();b.push(vV(a));return b\};\
|
|
DV=function(a)\{return"YT:ADSENSE"==a||"YT:DOUBLECLICK"==a\};\
|
|
GV=function(a)\{if(null==a.g)return[a.N];var b=GV(a.g);b.push(a.N);DV(b[0])&&b.shift();return b\};\
|
|
HV=function(a)\{a=a.getExtension("waterfall");return null!=a&&-1!=a.g?a.g:-1\};\
|
|
IV=function(a)\{if(-1!=a.na)return a.na;a=a.getExtension("pod");return null!=a&&-1!=a.g?a.g:-1\};\
|
|
JV=function(a)\{a.la||(a.la=!0,a.M.N++,null!=a.g&&JV(a.g))\};\
|
|
KV=function(a)\{return a.M instanceof xU&&a.M.g()?a.M:null!=a.g?KV(a.g):null\};\
|
|
LV=function(a,b,c,d)\{a=yV(a);return FQ(new DQ(new jf(b,c),d),a)\};\
|
|
MV=function(a)\{var b=a.o.xg,c=a.o.wg;if(!b||!c)if(a=a.o.b?Zg(a.o.b,"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 jf(b,c)\};\
|
|
Vha=function(a,b,c)\{var d=new NV;d.Pa.type=4;var e=a.getExtension("AdSense"),f=new OV;f.Pa.hide_in_drawer=!0;f.Pa.show_in_endcap=!0;d.zf=function()\{return f\};\
|
|
var k=new PV;k.Pa.headline=b;var l=new QV;l.Pa.image_url=c;k.b=function()\{return l\};\
|
|
k.Pa.description=e&&e.g||"";d.$i=function()\{return k\};\
|
|
var m=[new RV];m[0].Pa.target=SV(a)||"";b=sR("Visitaci");m[0].setTitle(b);d.Vg=function(a)\{return m[a]\};\
|
|
d.ak=function()\{return m.length\};\
|
|
a.R=[d]\};\
|
|
Wha=function(a)\{var b=le(a,function(a)\{return!!DT(a.zf(),"show_in_endcap",void 0)\});\
|
|
0==b.length&&0<a.length&&XL().b.Z("enable_ad_video_end_renderers")&&(b=a.slice(1,2));return b\};\
|
|
Uha=function(a,b)\{var c=le(b,function(a)\{return!!DT(a.zf(),"show_in_companion",void 0)\});\
|
|
kb(c)&&(c=b);c=new cV(c,SV(a));c.F=a;c.A=!0;TV(a,new aV(c,[],null,!0))\};\
|
|
Xha=function(a,b)\{var c=bb(yV(a),function(a)\{return"Image"==a.yc()\}),c=c&&c.b.B||b.g,d=a.getExtension("AdSense"),d=d&&d.g,e=b.authorName,f=b.b,k=sR("Visitaci"),l=SV(a);\
|
|
if(!d||!f||!l)return null;var m=new NV;m.Pa.type=4;var n=new OV;n.Pa.hide_in_drawer=!0;n.Pa.show_in_companion=!0;m.zf=function()\{return n\};\
|
|
var t=new PV;t.Pa.headline=e;var u=new QV;u.Pa.image_url=f;t.b=function()\{return u\};\
|
|
var y=new QV;y.Pa.image_url=c;t.g=function()\{return y\};\
|
|
t.Pa.description=d;m.$i=function()\{return t\};\
|
|
var E=[new RV];E[0].Pa.target=l;E[0].setTitle(k);m.Vg=function(a)\{return E[a]\};\
|
|
m.ak=function()\{return E.length\};\
|
|
return[m]\};\
|
|
BV=function(a,b)\{var c=bb(b,function(a)\{return 4==a.Fb()&&!!DT(a.zf(),"show_in_companion",void 0)\});\
|
|
c&&(c=new jV(c),c.F=a,c.A=!0,TV(a,new aV(c,[],null,!0)))\};\
|
|
Yha=function(a)\{if(!a.o||nV(a,UV)&&!nV(a,["ADSENSE/ADX"]))return[];var b=MV(a);if(0>=b.width||0>=b.height)return[];var c=new AQ;c.creativeType="All";c.o="All";c.A="SelectNearMatch";c.b=40;var d=LV(a,b.width,b.height,c);if(!kb(d))return d;c.g="ResizeSmaller";d=le(yV(a),function(a)\{return a.b.wh()\},a);\
|
|
return FQ(new DQ(new jf(b.width,b.height),c),d)\};\
|
|
WV=function(a)\{if(kb(a.R))return!1;var b=XL().b;if(b.Z("only_show_endcap_for_longer_video_ads")&&VV(a)<b.b("ad_duration_threshold_for_showing_endcap_seconds"))return!1;a=a.R[0].Fb();return b.Z("enable_ad_video_end_renderers")&&1==a||b.Z("enable_website_actions_info_cards_endcap")&&4==a\};\
|
|
Zha=function(a)\{var b=null,c=0;D(Yha(a),function(a)\{var d;d=MV(this);d=!a.b.wh()||a.bb()<=d.width&&a.getHeight()<=d.height?a.gm():HQ(a.gm(),d);d=d.width*d.height;d>c&&(c=d,b=a)\},a);\
|
|
return b\};\
|
|
XV=function(a,b)\{return b||null==a.g?a.ga:rb(a.ga,XV(a.g))\};\
|
|
kV=function(a,b)\{a.ga=b?sb(b):[];D(a.ga,function(a)\{tb(this.G,sb(a.b))\},a);\
|
|
D(a.G,function(a)\{bV(a,this)\},a);\
|
|
U.b()&&a.ob()&&(a.G=le(a.G,function(a)\{return 60>=a.getHeight()\}))\};\
|
|
YV=function(a,b)\{return Uh(a.B,function(a)\{return a instanceof uT&&"linear"==b||a instanceof NT&&"nonlinear"==b?!0:!1\})\};\
|
|
ZV=function(a)\{return-1!=gU(a)&&0!=gU(a)&&7>=gU(a)\};\
|
|
$V=function(a)\{var b=a.b;return nV(a,UV)&&null!=b&&b instanceof NT&&(90<a.ca.height||null!=a.o&&a.o.jg)\};\
|
|
aW=function(a,b)\{if(null==b)return null;var c=b.getExtension("adx");return null!=c?c:aW(a,b.g)\};\
|
|
bW=function(a)\{var b=aW(a,a.g);if(null!=b)\{if("skippable"==b.g)return b.o;if("nonskippable"==b.g)return null\}var b=null,c=new TU(5,!1),d=$ha(a);"implicit"==d&&(b=c);var e=a.b;null==b&&null!=e&&e instanceof uT&&(b=e.A);null!=b||"explicit"!=d||(b=c);return U.b()&&a.ob()&&null!=b?(0,window.isNaN)(a.o.B)?c:new TU(a.o.B,!1):b\};\
|
|
$ha=function(a)\{if(null!=bb(a.D.Ra(),function(a)\{return!kb(nT(a,"skip"))\}))return"implicit";\
|
|
var b=a.D.get("DFP");if(b instanceof ZU)switch(b.g)\{case "InstreamSelect":return"implicit";case "Generic":return"explicit"\}a=a.b;return U.b()&&null!=a&&(a=a.zg,null!=a&&!kb(gT(a,"skip")))?"explicit":"none"\};\
|
|
cW=function(a)\{if(null==a.o)return!1;var b=a.o.b;null!=b&&ua(b,"/PrefetchedAd")&&null!=a.g&&(b=a.g.D.get("LocalRedirect"),b=null!=b?b.Nd():null);(a=DU(b)||GU(b)||FU(b))||(null==b?a=!1:(b=(new L(b)).g,a=ua(b,"viral.adsense.net")));return a\};\
|
|
qV=function(a)\{if(null==a.ea||null==a.o)return!1;var b;(b=cW(a)||!1)&&!(b=nV(a,UV)&&!nV(a,["ADSENSE/ADX"]))&&(nV(a,tV)?(b=a.D.get("DFP"),b=null!=b?"InstreamSelect"==b.g:!1):b=!1);if(b||a.g&&a.g.ba&&cW(a.g))return!0;a=sV(a,["ADSENSE/ADX"])||a.g&&uV(a);return U.b()&&!a\};\
|
|
SV=function(a)\{return null===a.b?null:a.b.Td()\};\
|
|
VV=function(a)\{return null!=a.b?a.b.R:-1\};\
|
|
dW=function(a)\{return null!==a.F?10:WV(a)?(a=XL().b.b("ad_video_end_renderer_duration_milliseconds"),(0,window.isNaN)(a)?5:Math.round(a/1E3)):0\};\
|
|
gU=function(a)\{return VV(a)+dW(a)\};\
|
|
eW=function(a)\{return null===a.b?null:a.b.wm()\};\
|
|
fW=function(a)\{return null===a.b?null:a.b.um()\};\
|
|
hU=function(a)\{return null!=a.g&&hU(a.g)||nV(a,aia)\};\
|
|
pV=function(a)\{var b=eW(a);return nV(a,["402"])||w(b)&&null!==b.match("//s0.2mdn.net/instream/html5/survey/survey.html")\};\
|
|
gW=function(a)\{return nV(a,UV)&&qV(a)&&!ZV(a)&&!A(B(a.C))&&null!==bW(a)&&0<kT(bW(a))\};\
|
|
uV=function(a)\{return sV(a,UV)||sV(a,["402"])\};\
|
|
hW=function(a)\{a=a.getExtension("InfoCards");return null!=a?a.g:null\};\
|
|
iW=function(a)\{a=a.getExtension("InfoCardsTracking");return null!=a?a.g:null\};\
|
|
nV=function(a,b)\{return null!=a.ea?ib(b,a.N):!1\};\
|
|
sV=function(a,b)\{for(var c=GV(a),d=c.length-1;0<=d;d--)if("UNKNOWN"!=c[d])\{if(ib(b,c[d]))return!0;break\}return!1\};\
|
|
TV=function(a,b)\{a.G=[b]\};\
|
|
Tha=function(a)\{return a.ob()&&0<a.H.length&&Vk(a.H,function(a)\{return 1==a.Fb()\})\};\
|
|
jW=function()\{I.call(this);this.o=[]\};\
|
|
kW=function()\{return new lV("empty-ad","GDFP","GDFP","",0,0,0,[],[],[],[],new Bg)\};\
|
|
lW=function(a)\{jW.call(this);this.b=a;this.F=null;this.D=!1;this.A=null;this.B=new Fm;Hm(this.B,this.b,["companions_success","companion_initialization_failed"],this.OE,this);Hm(this.B,this.b,"companion_display_error",this.LC,this);Hm(this.B,this.b,["companion_slot_init","companion_click"],this.HC,this);this.b.A?this.D=!0:this.b.initialize()\};\
|
|
nW=function(a)\{var b=a.A;a.A=null;if(null!=a.b)if(kb(a.o))mW(a,Error("Companion slots not available."));else if(null!=b)\{var c=bia(a,b);a.b.Gq(a.o);0<c.length&&b.ua&&a.b.sp(c,b)\}else mW(a,Error("Invalid master ad."))\};\
|
|
mW=function(a,b)\{a.dispatchEvent(new aT("companion_display_error",b))\};\
|
|
bia=function(a,b)\{var c=[],d=[];D(a.o,function(a)\{MS(a);Uh(a.F,function(d)\{a:\{d=LV(b,d.width,d.height);if(!kb(d)&&(d=cia(d,c),null!=d))\{var e=d.o;if(null!=e&&0!=a.G.indexOf(e))\{d=!1;break a\}e=d.b.H;tb(e,AV(b,"companionClick"));var f=AV(b,"companionImpression"),k=U.b()&&"Html"==d.b.aa&&d.g;c.push(d);if(k)LS(a,d.hc(),d.bb(),d.getHeight(),f,e);else\{var k=d.gc(),t=d.bb(),u=d.getHeight();d="IFrame"!=d.b.aa;a.D=k;a.g=null;a.B=t;a.o=u;a.A=d;a.C=f||[];a.b=e||[]\}d=!0;break a\}d=!1\}return d\},this)||d.push(a)\},\
|
|
a);\
|
|
var e=oW(b);a.C=pW(e,c);a.C||D(a.o,function(a)\{MS(a)\},a);\
|
|
return d\};\
|
|
pW=function(a,b)\{if(null==a)return!0;var c=a.b;return"all"==a.g?dia(c,b):"any"==a.g?eia(c,b):!0\};\
|
|
oW=function(a)\{return null==a||null==a.b||(0,window.isNaN)(a.b.b)?null:bb(XV(a,!0),function(a)\{a=a.b;return kb(a)?!1:(0,window.isNaN)(a[0].b.b)?!1:a[0].b.b==a[0].Fl()\})\};\
|
|
dia=function(a,b)\{return Vk(a,function(a)\{return ib(b,a)\})\};\
|
|
eia=function(a,b)\{return Uh(a,function(a)\{return ib(b,a)\})\};\
|
|
cia=function(a,b)\{return bb(a,function(a)\{return!ib(b,a)\})\};\
|
|
qW=function(a)\{this.b=a\};\
|
|
rW=function(a,b)\{mc.call(this,"adsManagerLoaded");this.b=a;this.o=b\};\
|
|
sW=function(a,b,c,d)\{a.b.Rc(new qW(b),c,d);return a.b\};\
|
|
tW=function(a)\{mc.call(this,a);this.A=[];this.o=\{\};this.B=null;this.b=!0\};\
|
|
uW=function()\{this.o=new Bg;this.g=!U.b()&&.01>Math.random();this.A=0;this.b="0";this.B=""\};\
|
|
fia=function()\{var a=uW.getInstance();a.sendMessage("ff",a.A);a.A=0\};\
|
|
vW=function(a,b,c,d)\{d=d||\{\};var e=new L("https://ssl.google-analytics.com/collect?v=1&t=timing&tid=UA-68696278-1&utc="+gia());d.cid=hia(a);d.utv=b;d.utt=c;d.cd6=OM(QM);b=$L(XL());A(B(b))||(d.xid=b);Pb(d,function(a,b)\{mh(e,b,a)\},a);\
|
|
return e.toString()\};\
|
|
jia=function(a,b)\{if(null!=b)\{var c=wa(b),c=iia.exec(c),d=B((new L(b)).b.get("client"));a.b=c&&2==c.length?c[1]:A(d)?"0":d\}else a.b="0"\};\
|
|
gia=function()\{var a=QM.o,b="html5";null!=a&&(Ka(a,"android")?b="android":Ka(a,"ios")&&(b="ios"));return b\};\
|
|
hia=function(a)\{A(a.B)&&(a.B="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)\}));\
|
|
return a.B\};\
|
|
wW=function(a,b,c)\{this.C=b;this.b=c;this.B=null;this.o=new Fm(this);this.H=a;this.A=this.g=null;this.F=!1\};\
|
|
kia=function(a)\{if(null===a.B)xW(a);else\{var b=new L(a.B.b),c=B(b.b.get("vid")),b=B(b.b.get("cmsid")),d=a.b.F,e=a.b.D;a.b.F=c;a.b.D=b;if(A(B(c))||A(B(b)))xW(a);else if(c==d&&b==e)xW(a);else\{var f=a.C.yf();SS(f,c,b);Sga(f,a.B);f.cn();a.A=new be(100);Hm(a.o,a.A,"tick",function()\{var a;a:\{var b=RS(f);if(null!=b)try\{a=!1!==b.isAdRequestFinished();break a\}catch(m)\{a=!0;break a\}a=!1\}a?xW(this):f.cn()\},a);\
|
|
a.A.start()\}\}\};\
|
|
lia=function(a)\{a.g=new be;Lm(a.o,a.g,"tick",function()\{xW(this)\},a);\
|
|
ce(a.g,a.H);a.g.start()\};\
|
|
xW=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.F=!0;null===a.D||a.D()\};\
|
|
yW=function()\{I.call(this);this.b=new Bg;this.g=null;this.G=new Fm(this);H(this,this.G);this.B="";this.A=this.H=this.D=this.o=null;this.F=-1\};\
|
|
AW=function()\{null!=zW||(zW=new yW);return zW\};\
|
|
BW=function(a,b)\{var c=\{\};c.queryId=a;c.viewabilityString=b;AW().dispatchEvent(new ML("measurable_impression",null,c))\};\
|
|
CW=function(a,b)\{var c=\{\};c.queryId=a;c.viewabilityString=b;AW().dispatchEvent(new ML("viewable_impression",null,c))\};\
|
|
DW=function(a,b,c)\{var d=\{\};d.queryId=a;d.viewabilityString=b;d.eventName=c;AW().dispatchEvent(new ML("externalActivityEvent",null,d))\};\
|
|
mia=function(a,b)\{a.o=b\};\
|
|
nia=function(a,b)\{if(a.g)if(a.A)\{var c=C()-a.F;b(a.A+"_ct"+c)\}else\{var d=a.b,c=window.setTimeout(function()\{b("timeout");D(d.Ua(),function(a)\{d.get(a)===b&&d.remove(a)\})\},200);\
|
|
a.b.set(c,b);var e=\{\};e.osdId=a.B;e.eventId=c;PM.getInstance().b&&(a.C=C(),e.loggingId=Math.random(),SM(PM.getInstance(),43,\{step:"sendingMessage",logid:e.loggingId,time:a.C\}));a.g.send("activityMonitor","fetchAdTagUrl",e)\}else b("")\};\
|
|
oia=function(a)\{return ia(a.getBoundingClientRect)&&Rf(nf(a),a)?a.getBoundingClientRect():\{left:a.offsetLeft,top:a.offsetTop,width:a.offsetWidth,height:a.offsetHeight\}\};\
|
|
pia=function(a,b,c,d)\{if(a.g)\{var e=\{\};e.queryId=c;e.vastEvent=b;a.B&&(e.osdId=a.B);e.isOverlay=null!=a.o;a.o&&(e.overlayBounds=oia(a.o));if(ZL(XL(),41351021)||ZL(XL(),31061781))\{var f=\{\};f.opt_fullscreen=e.isFullscreen;e.isOverlay&&(f.opt_bounds=e.overlayBounds);d(zQ(b,c,f))\}else\{var k=a.b;b=window.setTimeout(function()\{d(\{viewability:"timeout"\});D(k.Ua(),function(a)\{k.get(a)===d&&k.remove(a)\})\},200);\
|
|
a.b.set(b,d);e.eventId=b\}a.g.send("activityMonitor","reportVastEvent",e)\}else d(\{\})\};\
|
|
EW=function()\{\};\
|
|
FW=function(a,b,c)\{this.g=a;this.b=c;this.o=b\};\
|
|
qia=function(a)\{this.o=a\};\
|
|
GW=function(a)\{this.o=a;this.g=this.b=!1\};\
|
|
ria=function(a,b,c)\{this.b=a;this.g=b;this.o=c\};\
|
|
HW=function()\{this.b=new Bg\};\
|
|
IW=function(a,b,c)\{if((0,window.isNaN)(c)||!ha(c))throw Error("Incorrect time offset.");var d=[];Dg(a.b,c)&&(d=a.b.get(c,[]));D(b,function(a)\{null!=a&&nb(d,a)\});\
|
|
a.b.set(c,d)\};\
|
|
JW=function(a,b)\{this.b=a;this.g=b\};\
|
|
tia=function(a)\{var b=new HW;D(Mf(Of(a.b)),function(a)\{switch(a.nodeName)\{case "Preroll":a=KW(this,a);IW(b,a,0);break;case "Midroll":var c=KU(a,"timeOffset"),e=OU(c);if(-1==e)throw mM(LW,null,"timeOffset",B(c));a=KW(this,a);IW(b,a,e);break;case "Postroll":a=KW(this,a);IW(b,a,-1);break;default:throw mM(MW,null,a.parentNode.nodeName,a.nodeName);\}\},a);\
|
|
if(0==b.b.Ua().length)throw mM(sia);return b\};\
|
|
KW=function(a,b)\{var c=[];D(Mf(b),function(a)\{switch(a.nodeName)\{case "Ad":var b=B(LU(a));if(!A(b))\{a=KU(a,"bumper");var d=this.g.clone();d.b=b;b=new GW(d);b.b=null!=a;b.g="always"==a;nb(c,b)\}break;default:throw mM(MW,null,a.parentNode.nodeName,a.nodeName);\}\},a);\
|
|
return c\};\
|
|
NW=function(a,b,c)\{mT.call(this);this.g=a;this.o=b;this.A=c\};\
|
|
OW=function()\{\};\
|
|
PW=function()\{this.B=null;this.C="http://www.google.com/adsense/support";this.D=0;this.b=15;this.A=5;this.o=3;this.g=!1\};\
|
|
uia=function(a,b)\{a.b=b\};\
|
|
QW=function(a,b,c,d,e,f,k,l,m,n,t)\{mT.call(this,n,t);this.B=a;this.C=b;this.A=c;this.D=m;this.F=k;this.o=f;this.g=e\};\
|
|
RW=function()\{\};\
|
|
wia=function(a,b)\{var c;D(Mf(b),function(a)\{switch(a.nodeName)\{case "context":c="default"==a.getAttribute("data")?new PW:null;break;case "params":null!=c&&via(this,c,a)\}\},a);\
|
|
return c\};\
|
|
via=function(a,b,c)\{D(Mf(c),function(a)\{var c=a.attributes[0].value;switch(a.nodeName)\{case "attribution_url":b.C=c;break;case "attribution_text":b.B=c;break;case "signals":b.D=(0,window.parseInt)(c,10);break;case "audio_muted_on_start":b.g=PU(c,!1)\}\},a)\};\
|
|
SW=function()\{\};\
|
|
TW=function()\{\};\
|
|
UW=function()\{\};\
|
|
VW=function()\{\};\
|
|
WW=function(a)\{this.Pa=a||\{\}\};\
|
|
NV=function(a)\{this.Pa=a||\{\}\};\
|
|
OV=function(a)\{this.Pa=a||\{\}\};\
|
|
RV=function(a)\{this.Pa=a||\{\}\};\
|
|
XW=function(a)\{this.Pa=a||\{\}\};\
|
|
YW=function(a)\{this.Pa=a||\{\}\};\
|
|
ZW=function(a)\{this.Pa=a||\{\}\};\
|
|
PV=function(a)\{this.Pa=a||\{\}\};\
|
|
QV=function(a)\{this.Pa=a||\{\}\};\
|
|
dV=function(a)\{return new YW(a.Pa.product_card)\};\
|
|
eX=function()\{if(!$W)\{var a=\{\};$W=\{Xb:a\};a.type=aX;a.id=bX;a.link_url=bX;a.title=bX;a.image=BT(cX());var b=dX();a.event=AT(b);a.target=bX\}return $W\};\
|
|
hV=function(a)\{return ET(a,"target")\};\
|
|
dX=function()\{if(!fX)\{var a=\{\};fX=\{Xb:a\};a.type=aX;a.base_url=bX\}return fX\};\
|
|
gV=function(a)\{return new QV(a.Pa.image)\};\
|
|
eV=function(a)\{return new ZW(FT(a,"offer",0))\};\
|
|
cX=function()\{if(!gX)\{var a=\{\};gX=\{Xb:a\};a.image_url=bX;a.thumbnail_url=bX;a.image_height=hX;a.image_width=hX\}return gX\};\
|
|
fV=function(a)\{return ET(a,"image_url")\};\
|
|
iX=function(a,b,c)\{mT.call(this,c);this.g=a;this.o=b||null\};\
|
|
jX=function(a)\{this.b=a\};\
|
|
lX=function(a,b,c)\{for(var d=\{\},e=0;e<b.attributes.length;e++)\{var f=b.attributes[e],k=c.Xb[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]=kX[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.Xb[f.nodeName],l=lX(a,f,k.Ma);3==k.label?(d[f.nodeName]||(d[f.nodeName]=[]),d[f.nodeName].push(l)):d[f.nodeName]=l\}return d\};\
|
|
xia=function(a,b)\{var c=new dT;D(Mf(b),function(a)\{"CustomTracking"==a.nodeName&&null!=Mf(a)&&(c=WU(a,!1,x(function(a,b)\{return mX(a,b)\},this)))\},a);\
|
|
return c\};\
|
|
mX=function(a,b)\{return lu(b,\{ACTTYPE:\{toString:function()\{switch(a)\{case "video_card_endcap_action":return"action_headline_click";default:return""\}\}\}\})\};\
|
|
nX=function(a,b)\{mT.call(this);this.o=a;this.g=B(b)\};\
|
|
oX=function(a,b)\{this.logger=null;this.o=b;this.b=\{\};this.g=[];this.b.CustomTracking=WU;this.b.UI=this.B\};\
|
|
pX=function(a,b)\{if(null==b)return null;var c=\{\};D(Mf(b),function(a)\{c[a.nodeName]=null!=this.b[a.nodeName]?this.b[a.nodeName].call(this,a):null\},a);\
|
|
return null!=c.UI?c:null\};\
|
|
qX=function(a,b,c,d,e,f)\{mT.call(this,f);this.o=a;this.B=b;this.C=c;this.A=d;this.g=e\};\
|
|
rX=function(a)\{return null!=a.g?a.g.length:0\};\
|
|
sX=function()\{oX.call(this,0,"mute_");this.b.SurveyOptions=this.A\};\
|
|
tX=function(a,b,c,d)\{mT.call(this);this.A=a;this.o=b;this.B=c;this.g=d\};\
|
|
uX=function()\{\};\
|
|
vX=function()\{mT.call(this)\};\
|
|
wX=function()\{\};\
|
|
yia=function(a,b)\{D(Mf(b),function(a)\{a.nodeName==this.b.ay&&LU(a)\},a)\};\
|
|
xX=function(a,b,c,d)\{mT.call(this);this.o=a;this.A=b;this.B=c;this.g=d\};\
|
|
yX=function()\{\};\
|
|
zX=function(a)\{mT.call(this);this.g=a\};\
|
|
AX=function()\{\};\
|
|
BX=function(a,b,c,d,e,f,k,l,m)\{mT.call(this,e);this.A=a;this.B=b;this.C=c;this.o=d;this.g=f||null;this.G=k||null;this.F=l||null;this.D=m||null\};\
|
|
CX=function()\{oX.call(this,0,"why_this_ad_");this.g.push("targeting_reason")\};\
|
|
DX=function(a,b)\{return null!=a?Vk(b,function(b)\{return b in a\}):!1\};\
|
|
zia=function(a,b)\{return null!=a?Uh(b,function(b)\{return b in a\}):!1\};\
|
|
EX=function()\{\};\
|
|
FX=function()\{mT.call(this)\};\
|
|
GX=function()\{\};\
|
|
HX=function()\{\};\
|
|
Aia=function(a,b)\{this.b=a;this.g=b\};\
|
|
IX=function(a,b,c,d)\{NT.call(this,a,b,"Static",c,d);this.yp=!1\};\
|
|
JX=function(a,b,c,d)\{NT.call(this,a,b,"Html",c,d)\};\
|
|
KX=function(a,b,c,d)\{NT.call(this,a,b,"Static",c,d)\};\
|
|
LX=function(a,b,c,d,e)\{NT.call(this,a,b,c,d,e)\};\
|
|
NX=function(a,b,c)\{if(kb(c))return new NT(a,b,"",null,"");var d=MX(c);c=d.g;var e=d.b,d=d.o;switch(c)\{case "Html":return new JX(a,b,e,d);case "Static":switch(LT[e])\{case "Image":return new KX(a,b,e,d);case "Flash":return new IX(a,b,e,d);case "Text":return new UT(a,b)\}\}return new LX(a,b,c,e,d)\};\
|
|
MX=function(a)\{var b=bb(a,function(a)\{return"Static"==a.g&&"Flash"==LT[a.b]\}),c=bb(a,function(a)\{return"IFrame"==a.g\}),d=bb(a,function(a)\{return"Html"==a.g\}),e=bb(a,function(a)\{return"Static"==a.g&&"Image"==LT[a.b]\}),f=bb(a,function(a)\{return"Static"==a.g&&"Text"==LT[a.b]\});\
|
|
return GQ&&null!=b?b:null!=c?c:null!=d?d:null!=e?e:null!=f?f:a[0]\};\
|
|
Bia=function(a,b,c,d,e,f)\{var k=MX(f),l=NX(a.id,a.size,[k]);l.A=!0;l.G=a.apiFramework;l.ba=b;l.H=c;l.b=d;e&&(l.zg=e);pb(f,k);var m=[];D(f,function(f)\{f=NX(a.id,a.size,[f]);f.A=!0;f.G=a.apiFramework;f.ba=b;f.H=c;f.b=d;e&&(f.zg=e);m.push(new aV(f,[],a.adSlotId))\});\
|
|
return new aV(l,m,a.adSlotId)\};\
|
|
OX=function(a,b,c)\{this.g=a;this.b=b;this.o=c\};\
|
|
PX=function(a,b,c,d,e,f,k)\{this.o=a;this.G=b;this.B=c;this.C=d;this.g=e;this.D=f;this.F=k;this.b=this.o.Kd()\};\
|
|
Cia=function(a)\{dt(a.b)||(S(a.b,!0),D(a.F,function(a)\{fM(a)\}))\};\
|
|
Dia=function(a,b,c,d,e,f,k,l,m,n)\{b=NX("icon"+a,b,n);b.G=k;b.ba=l.iconClickThrough;return new PX(b,a,c,d,e,f,m)\};\
|
|
QX=function(a)\{this.A=a;this.logger=null\};\
|
|
RX=function(a)\{if(null==a)return!1;a=Of(a);return null!=a&&"VAST"==a.nodeName\};\
|
|
TX=function(a,b)\{var c=[],d=null;try\{var e=Cs(a),f=Of(e);null!=f&&"CompanionAds"==f.nodeName&&(d=SX(QX.prototype,f,b))\}catch(k)\{\}null!=d&&c.push(d);return c\};\
|
|
UX=function(a)\{if(null==a)return 0;a=(0,window.parseInt)(a.getAttribute("version"),10);return ha(a)&&!(0,window.isNaN)(a)?a:0\};\
|
|
Fia=function(a)\{var b=[],c=Of(a.A),d=UX(c);MU(c,a.b.mw,function(a)\{var c;c=VX(a);if(null==c)throw HU(a);var e=a.getAttribute(this.g.pi);a=Number(a.getAttribute(this.g.Ro));c=Eia(this,c,e||null,a||0);null!=c&&(c.Ca=d,b.push(c))\},a);\
|
|
return b\};\
|
|
VX=function(a)\{var b=null;D(Mf(a),function(a)\{switch(a.nodeName)\{case "InLine":case "Wrapper":b=a;break;default:throw HU(a);\}\});\
|
|
return b\};\
|
|
Eia=function(a,b,c,d)\{var e,f,k=[],l=[],m=[],n=[],t=new Bg,u,y=b.nodeName==a.b.ky,E=y,G=y,Y;D(Mf(b),function(a)\{switch(a.nodeName)\{case this.b.gy:if(y)\{if(null!=u)throw IU(a);u=LU(a);Y=Kha(u);E=PU(b.getAttribute(this.g.tw),E);G=PU(b.getAttribute(this.g.Xw),G)\}else throw HU(a);break;case this.b.pw:e=LU(a);break;case this.b.qw:f=LU(a);break;case this.b.Nw:LU(a);break;case this.b.Yx:LU(a);break;case this.b.si:a=LU(a);UU(a)&&k.push(SU(a));break;case this.b.ERROR:a=LU(a);l.push(SU(a));break;case this.b.Hw:a=\
|
|
Gia(this,a);m=a.creatives;n=a.Sy;break;case this.b.Uw:t=Hia(this,a,Y)\}\},a);\
|
|
return new lV(B(c),e,Iia(e),f,0,0,d,l,k,m,n,t,u,E,G,Jia(t))\};\
|
|
Jia=function(a)\{var b=null;a=a.get("AdSense");null!=a&&(a=nT(a,"vast2tracking"),null!=a&&!kb(a)&&(b=a[0]));return b\};\
|
|
Iia=function(a)\{if(A(B(a)))return"UNKNOWN";a=a.toUpperCase();switch(a)\{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":return a;default:return"UNKNOWN"\}\};\
|
|
Kia=function(a)\{if(A(B(a)))return"none";switch(a)\{case "all":case "any":case "none":return a;default:return"none"\}\};\
|
|
Hia=function(a,b,c)\{var d=new Bg;try\{var e=JU(b,a.b.Tw);D(e,function(a)\{var b=a.getAttribute(this.g.Zo);null!=b&&(b=b.toLowerCase());switch(b)\{case "geo":a=(new GX).parse(a);break;case "pod":a=(new EX).parse(a);break;case "waterfall":a=(new HX).parse(a);break;case "dart":a=(new TW).parse(a);break;case "dfp":b="DFP";a=(new UW).parse(a);break;case "adsense":b="AdSense";a=(new SW).parse(a);break;case "textad":b="TextAd";a=(new yX).parse(a);break;case "templatead":b="TemplateAd";a=(new wX).parse(a);break;\
|
|
case "infocards":var b="InfoCards",e=new jX(!0);a=e.parse(a);break;case "infocardstracking":b="InfoCardsTracking";e=new jX(!1);a=e.parse(a);break;case c:case "prefetchedad":b="LocalRedirect";if(null==a)a=null;else\{var e=null,f=JU(a,"AdXml");1==f.length&&(e='<?xml version="1.0" encoding="UTF-8"?>'+Ds(Of(f[0])));a=JU(a,"VASTAdTagURI");f=null;1==a.length&&(f=a[0].textContent);a=new nX(e,f)\}break;case "viral":b="viral";a=(new AX).parse(a);break;case "adx":b="adx";a=(new YU).parse(a);break;case "why_this_ad":b=\
|
|
"why_this_ad";a=(new CX).parse(a);break;case "mute":b="mute";a=(new sX).parse(a);break;case "sodar":a=(new uX).parse(a);break;case "adformat":b="AdFormat";a=(new OW).parse(a);break;default:e=new VW,b="generic",a=e.parse(a)\}null!=a&&(e=d.get(b),null!=e?"generic"==b&&(Vga(e,a.b),d.set(b,e)):d.set(b,a))\},a)\}catch(f)\{if(!ia(f.kb)||1105==f.kb())throw f;\
|
|
\}return d\};\
|
|
Gia=function(a,b)\{var c=[],d=[];MU(b,a.b.Gw,function(a)\{var b=a.getAttribute(this.g.Ro),e;A(B(b))||(e=(0,window.parseFloat)(b));var l=a.getAttribute(this.g.pi),m=!1;D(Mf(a),function(a)\{switch(a.nodeName)\{case this.b.LINEAR:if(m)throw IU(a);a=Lia(this,a,(0,window.isNaN)(e)?0:e,l||null);tb(c,a);m=!0;break;case this.b.Cw:if(m)throw IU(a);a=SX(this,a,(0,window.isNaN)(e)?void 0:e);tb(d,a);m=!0;break;case this.b.Fx:if(m)throw IU(a);a=Mia(this,a,(0,window.isNaN)(e)?0:e,l||null);tb(c,a);m=!0\}\},this)\},a);\
|
|
return\{creatives:c,Sy:d\}\};\
|
|
Mia=function(a,b,c,d)\{var e=[],f=new dT;D(Mf(b),function(a)\{switch(a.nodeName)\{case this.b.Ex:a=Nia(this,a,c,d);null!=a&&e.push(a);break;case this.b.Jk:f=WU(a);break;default:throw HU(a);\}\},a);\
|
|
0!=e.length||f.isEmpty()||(a=new NT(null,new jf(-1,-1),"",null,""),a.b=c,a.gb=d,e.push(a));D(e,function(a)\{f&&(a.zg=f)\});\
|
|
return e\};\
|
|
WX=function(a,b)\{var c=\{\};c.id=b.getAttribute(a.g.pi);c.adSlotId=b.getAttribute(a.g.ow);c.apiFramework=b.getAttribute(a.g.ji);var d=Va(b.getAttribute(a.g.wi)),e=Va(b.getAttribute(a.g.ni));c.size=new jf(d,e);d=b.getAttribute(a.g.Sw);e=b.getAttribute(a.g.Rw);A(B(d))||A(B(e))||(c.bR=new jf(Va(d),Va(e)));return c\};\
|
|
Nia=function(a,b,c,d)\{var e=WX(a,b);b.getAttribute(a.g.ji);b.getAttribute(a.g.Rx);b.getAttribute(a.g.rx);var f=b.getAttribute(a.g.Bx),f=OU(f,-1),k=[];new Bg;var l=\{\},m="",n,t=[];D(Mf(b),function(a)\{switch(a.nodeName)\{case this.b.Hx:t.push(LU(a));break;case this.b.Gx:n=LU(a);break;case this.b.wk:l=XX(a);m=B(LU(a));break;case this.b.ri:case this.b.ti:case this.b.oi:a=YX(this,a);null!=a&&k.push(a);break;default:throw HU(a);\}\},a);\
|
|
a=NX(e.id,e.size,k);qT(a,m,l);a.G=e.apiFramework;a.ba=n;a.H=t;a.qa=f;a.b=c;a.gb=d;return a\};\
|
|
YX=function(a,b)\{var c=KU(b,a.g.Iw);if(null!=c&&"text/javascript"==c)return null;var d;a:switch(d=b.nodeName,d)\{case a.b.ti:d="Static";break a;case a.b.ri:d="IFrame";break a;case a.b.oi:d="Html";break a;default:throw mM(Oia,null,d);\}var e=LU(b);null!=e||(e="");return new OX(d,c,e)\};\
|
|
SX=function(a,b,c)\{var d=[],e=Kia(KU(b,a.g.Nx));MU(b,a.b.Bw,function(a)\{a=Pia(this,a,c);null!=a&&d.push(a)\},a);\
|
|
return new Aia(d,e)\};\
|
|
Pia=function(a,b,c)\{var d=WX(a,b),e=[],f=new dT,k,l=[];D(Mf(b),function(a)\{switch(a.nodeName)\{case this.b.Ew:l.push(LU(a));break;case this.b.Jk:f=WU(a,!0);break;case this.b.Dw:k=LU(a);break;case this.b.uw:LU(a);break;case this.b.wk:LU(a);break;case this.b.ri:case this.b.ti:case this.b.oi:a=YX(this,a);null!=a&&e.push(a);break;default:throw HU(a);\}\},a);\
|
|
return kb(e)?null:Bia(d,k,l,c,f,e)\};\
|
|
Lia=function(a,b,c,d)\{var e=new dT,f=\{\},k="",l=[],m,n=new Bg,t=[],u=[],y,E=VU(KU(b,a.g.Tx));D(Mf(b),function(a)\{switch(a.nodeName)\{case this.b.$w:u=Qia(this,a);break;case this.b.wk:f=XX(a);k=B(LU(a));break;case this.b.zk:y=OU(LU(a),0);break;case this.b.Jk:e=WU(a);break;case this.b.xx:t=Ria(this,a);break;case this.b.hy:a=Sia(this,a);n=a.customClicks;m=a.clickThrough;l=a.clickTrackingUrls;break;default:throw HU(a);\}\},a);\
|
|
D(l,function(a)\{iT(e,"click",a)\});\
|
|
a=new uT(y,m,n,t,E,u);qT(a,k,f);a.b=c;a.gb=d;e&&(a.zg=e);return a\};\
|
|
Sia=function(a,b)\{var c,d=[],e=new Bg;D(Mf(b),function(a)\{switch(a.nodeName)\{case this.b.zw:c=LU(a);break;case this.b.Aw:a=LU(a);d.push(a);break;case this.b.Lw:var b=KU(a,this.g.pi);null!=b||(b="");var f=e.get(b,[]);f.push(LU(a));e.set(b,f);break;default:throw HU(a);\}\},a);\
|
|
return\{clickThrough:c,clickTrackingUrls:d,customClicks:e\}\};\
|
|
Ria=function(a,b)\{var c=[];MU(b,a.b.wx,function(a)\{var b=KU(a,this.g.Mw),d=KU(a,this.g.Zo),k=KU(a,this.g.iy),l=Va(a.getAttribute(this.g.wi)),m=Va(a.getAttribute(this.g.ni)),n=a.getAttribute(this.g.ji),t=LU(a),u=NU(a.getAttribute(this.g.po)),y=NU(a.getAttribute(this.g.Ax));a=NU(a.getAttribute(this.g.vx));b=new tT(b,d,k,u,y,a,l,m,t,n);c.push(b)\},a);\
|
|
return c\};\
|
|
Qia=function(a,b)\{var c=[];MU(b,a.b.Zw,function(a)\{a=Tia(this,a);null!=a&&c.push(a)\},a);\
|
|
return c\};\
|
|
Tia=function(a,b)\{var c=b.getAttribute(a.g.Jx),d=KU(b,a.g.my),e=KU(b,a.g.qy),f=Va(b.getAttribute(a.g.wi)),k=Va(b.getAttribute(a.g.ni)),f=new jf(f,k),k=b.getAttribute(a.g.ji),l=VU(KU(b,a.g.Ix)),m=b.getAttribute(a.g.zk),m=OU(m,-1),n=[],t=[],u=\{\};D(Mf(b),function(a)\{switch(a.nodeName)\{case this.b.gx:t.push(LU(a));break;case this.b.ax:u=Uia(this,a);break;case this.b.ri:case this.b.ti:case this.b.oi:a=YX(this,a);null!=a&&n.push(a);break;default:throw HU(a);\}\},a);\
|
|
return kb(n)?null:Dia(c,f,d,e,m,l,k,u,t,n)\};\
|
|
Uia=function(a,b)\{var c=[],d;D(Mf(b),function(a)\{switch(a.nodeName)\{case this.b.bx:d=LU(a);break;case this.b.fx:c.push(LU(a));break;default:throw HU(a);\}\},a);\
|
|
return\{iconClickThrough:d,dR:c\}\};\
|
|
XX=function(a)\{a=LU(a);return null!=a?gga(a):\{\}\};\
|
|
ZX=function(a,b)\{this.g=a;this.b=b\};\
|
|
Via=function(a)\{var b=[],c=JU(a,"vmap:Extensions")[0];if(c)\{var d;MU(c,"vmap:Extension",function(a)\{"vmap:YTBreakTime"==c.getAttribute("type")&&(d=a)\});\
|
|
if(d&&(b=JU(d,"yt:BreakTime"),!kb(b)))return Ii(b,function(a)\{return KU(a,"timeOffset")\})\}return[KU(a,"timeOffset")]\};\
|
|
Yia=function(a)\{var b=new HW;D(Mf(Of(a.g)),function(a)\{if("vmap:AdBreak"==a.nodeName)\{var c=Wia(this,a);a=Via(a);D(a,function(a,d)\{var e=OU(a);0<d&&(c=Xia(this,c));if("start"==a||0==e)IW(b,c,0);else if("end"==a)IW(b,c,-1);else\{if(-1==e)throw mM(LW,null,"timeOffset",B(a));IW(b,c,e)\}\},this)\}\},a);\
|
|
if(0==b.b.Ua().length)throw mM(oU);return b\};\
|
|
Xia=function(a,b)\{return Ii(b,function(a)\{var b=new GW(a.o.clone());b.b=a.b;b.g=a.g;return b\},a)\};\
|
|
Zia=function(a)\{a=KU(a,"timeOffset");var b=OU(a);return"start"==a||0==b?0:"end"==a||-1==b?-1:1E3*b\};\
|
|
$ia=function(a)\{return(a=bb(Mf(a),function(a)\{return"vmap:VASTData"==a.nodeName||"vmap:VASTAdData"==a.nodeName\}))?bb(Mf(a),function(a)\{return"VAST"==a.nodeName\}):null\};\
|
|
Wia=function(a,b)\{var c=[],d="",e=null,f=!1,k=!1;D(Mf(b),function(a)\{switch(a.nodeName)\{case "vmap:AdSource":if(!e)\{try\{e=Es(a,"vmap:VASTData/VAST")||Es(a,"vmap:VASTAdData/VAST")\}catch(u)\{\}e||(e=$ia(a));if(!e)\{var b=JU(a,"vmap:AdTagURI"),c="";b.length&&(c=B(LU(b[0])));if(A(c))throw mM(aja,null,a.parentNode.nodeName,a.nodeName);d=c\}\}break;case "vmap:Extensions":a=JU(a,"vmap:Extension"),a=bja(this,a),null!=a&&(f=!0,a=KU(a,"suppress_bumper"),k=null!=a?"true"==a:!0)\}\},a);\
|
|
var l=null;e?l=cja(a,e):A(d)||(l=dja(a,d));l&&(U.b()&&(l.Rh=Zia(b)),l=new GW(l),l.b=f,l.g=f&&!k,nb(c,l));return c\};\
|
|
bja=function(a,b)\{return bb(b,function(a)\{return"bumper"==KU(a,"type")\},a)\};\
|
|
dja=function(a,b)\{var c=a.b.clone();A(c.g)||(c.g="");c.b=b;return c\};\
|
|
cja=function(a,b)\{var c=a.b.clone();c.g=Ds(b);c.b="";return c\};\
|
|
fja=function(a,b)\{if(null!=a)\{var c;null==a?c=!1:(c=Of(a),c=null!=c&&"Playlist"==c.nodeName);if(c)return uW.getInstance().g=!1,new JW(a,b);null==a?c=!1:(c=Of(a),c=null!=c&&"vmap:VMAP"==c.nodeName);if(c)return uW.getInstance().g=!1,new ZX(a,b);if(RX(a))\{if(!RX(a))throw mM(MW);c=Of(a);var d=UX(c);if(1>d||3<d)throw mM(eja);c=JU(c,"Ad");if(kb(c))throw mM($X);c=VX(c[0]);if(null==c)throw mM(aY);if(1!=JU(c,"AdSystem").length)throw mM(aY);return new QX(a)\}\}return null\};\
|
|
bY=function()\{\};\
|
|
cY=function(a,b)\{this.g=a;this.o=b\};\
|
|
dY=function(a,b)\{"auto"!=a.g.Pf&&"click"!=a.g.Pf||b.set("vpa",a.g.Pf)\};\
|
|
eY=function(a)\{A("")||(a.set("mpt",""),A("")||a.set("mpv",""))\};\
|
|
fY=function(a,b)\{var c=a.o.o,d=a.o.g;null!=c&&b.set("js","ima-"+c);null!=d&&b.set("an",d);c=a.g.G;null!=c&&b.set("mv",c+"."+(a.g.F||""))\};\
|
|
gY=function(a,b)\{b.set("osd",2);-1!=a.o.J&&b.set("frm",a.o.J);var c=a.o.X;null!=c&&b.set("ms",c);b.set("sdr",1)\};\
|
|
hY=function(a)\{return U.g?"h.3.0.0":null!=a.o?OM(a.o):null\};\
|
|
iY=function()\{this.b=["video"]\};\
|
|
jY=function(a)\{switch(a)\{case 1:return"endslate";default:return"fullslot"\}\};\
|
|
kY=function(a,b,c,d)\{if(null!=d)\{var e=NM(b);c=null!=c.Zj?c.Zj:JM(e,d);1!=c&&a.set("ad_block",c);null==b.K&&(b.K=new KM);c=b.K;var f=d!=b.M;(e=0==e.b%100||f)||(e=36E5<(null===c.b?0:(new Ur).getTime()-c.b));e&&c.reset();b.M=d;b=c.g;null!==b&&a.set("tok",b)\}\};\
|
|
lY=function(a,b)\{a.set("sz",Math.max(null!=b.xg?b.xg:0,null!=b.qd?b.qd:0)+"x"+Math.max(null!=b.wg?b.wg:0,null!=b.pd?b.pd:0))\};\
|
|
nY=function(a)\{var b=\{\};UN(b);for(var c in b)a.set(c,b[c]);a.set("dt",mY)\};\
|
|
oY=function(a)\{if(a.Eb&&a.Eb.LACT)\{var b=a.Eb.LACT.toString();if(b)return Ya(b)\}return a.D\};\
|
|
pY=function(a)\{return U.b()&&a.Eb&&a.Eb.VIS?a.Eb.VIS.toString():null\};\
|
|
uY=function(a,b,c,d)\{var e=new Bg;e.set("ad_type",c.adType);GQ&&e.set("flash",jO);lY(e,a);qY(c)&&(e.set("ea","0"),null!=a.qd&&null!=a.pd&&e.set("image_size",rY(c,a.qd,a.pd,a.jg)));sY(e,d);e.set("lact",oY(a));(d=pY(a))&&e.set("yt_vis",d);e.set("videoad_start_delay",a.Rh);nY(e);tY(a,e,!0);XL().b.Z("no_ad_block_param")||kY(e,b,c,a.A);return e\};\
|
|
tY=function(a,b,c)\{A(B(a.referrer))||(a=a.referrer,c&&(a=va(a)),vY("ref",a,b))\};\
|
|
yY=function(a,b,c)\{a=null!=b?b.split("_"):a;D(a,function(a)\{if(!Vb(gja,a))throw mM(BQ,null,"ad_type",String(b));\});\
|
|
if(c)\{var d=[];D(a,function(a)\{ib(wY,a)||d.push(a)\});\
|
|
a=d\}if(!HM())\{d=[];D(a,function(a)\{"video"==a?d.push("standardvideo"):"skippablevideo"!=a&&d.push(a)\});\
|
|
if(0==d.length)throw mM(xY,null,"skippablevideo");a=d\}return a\};\
|
|
zY=function(a,b)\{return null!=b?b.split(/[+, ]/):a\};\
|
|
rY=function(a,b,c,d)\{a.g&&(c=Math.min(c,90));var e=0,f=0;a=!U.b();d=d&&a;a&&(e=15,f=65);var k=[];D(hja,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(",")\};\
|
|
AY=function(a,b)\{return null==b||(0,window.isNaN)(b)?a:Number(b)\};\
|
|
BY=function(a,b)\{return null!=b?String(b):null!=a?a:null\};\
|
|
CY=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\};\
|
|
DY=function(a,b,c)\{return null!=b&&Vb(c,b)?b:a\};\
|
|
qY=function(a)\{return Uh(wY,function(b)\{return ib(a.b,b)\})\};\
|
|
sY=function(a,b)\{GQ?a.set("ca_type","flash"):a.set("ca_type","image");if(null!=b)\{var c=b.o;null!=c&&0<c.length&&(c=c[0].F,0<c.length&&(a.set("ca_w",c[0].width),a.set("ca_h",c[0].height)))\}\};\
|
|
vY=function(a,b,c)\{null!=b&&c.set(a,b)\};\
|
|
FY=function(a,b,c)\{cY.call(this,a,b);var d=new iY;a=(new L(a.b)).b;d.sm=DY(d.sm,a.get("cust_age"),ija);d.xi=DY(d.xi,a.get("adsafe"),EY);d.b=yY(d.b,a.get("ad_type"));d.adType=d.b.join("_");d.Lk=AY(d.Lk,a.get("videoad_start_delay"));d.Mk=BY(d.Mk,a.get("slotname"));d.rm=CY(d.rm,a.get("adtest"))||"on"==a.get("adtest");d.Qk=CY(d.Qk,a.get("scs"));d.Rk=BY(d.Rk,a.get("alternate_ad_url"));d.channels=zY(d.channels,a.get("channel"));d.nl=AY(d.nl,a.get("cpm"));d.lh=BY(d.lh,a.get("description_url"));d.experimentIds=\
|
|
BY(d.experimentIds,a.get("eid"));d.gender=DY(d.gender,a.get("cust_gender"),jja);d.g=CY(d.g,a.get("overlay"));d.host=BY(d.host,a.get("host"));d.o=zY(d.o,a.get("h_ch"));d.hostTierId=AY(d.hostTierId,a.get("ht_id"));d.isLiveStream=CY(d.isLiveStream,a.get("lsv"));var e;null!=this.g.language?e=this.g.language:(e=aa.navigator||null,e=PL(e.language||e.userLanguage||e.browserLanguage||e.systemLanguage||""));var f=null!=a.get("hl")?String(a.get("hl")):null;e=BY(f,e);var k;null!=e&&!A(B(e))&&(k=PL(e));d.language=\
|
|
BY(d.language,k);d.Yq=AY(d.Yq,a.get("linearAdSlotWidth"));d.Xq=AY(d.Xq,a.get("linearAdSlotHeight"));d.uj=AY(d.uj,a.get("max_ad_duration"));d.Jm=AY(d.Jm,a.get("min_ad_duration"));d.vj=AY(d.vj,a.get("sdmax"));d.$q=AY(d.$q,a.get("nonLinearAdSlotWidth"));d.Zq=AY(d.Zq,a.get("nonLinearAdSlotHeight"));d.Hg=BY(d.Hg,a.get("client"));d.Ej=BY(d.Ej,a.get("t_pyv"));k=a.get("sdki");d.Kj=AY(d.Kj,w(k)?(0,window.parseInt)(k,16):k);d.tagForChildDirectedTreatment=AY(d.tagForChildDirectedTreatment,a.get("tfcd"));d.targeting=\
|
|
DY(d.targeting,a.get("targeting"),kja);d.mj=AY(d.mj,a.get("video_format"));d.Bn=AY(d.Bn,a.get("video_cpm"));d.tm=BY(d.tm,a.get("loeid"));d.Hn=BY(d.Hn,a.get("yt_pt"));d.En=BY(d.En,a.get("ytdevice"));d.Fn=BY(d.Fn,a.get("ytdevicever"));d.Gn=BY(d.Gn,a.get("dbp"));d.A=BY(d.A,a.get("ms"));d.adBlock=AY(d.adBlock,a.get("adBlock"));d.url=BY(d.url,a.get("url"));d.Yk=BY(d.Yk,a.get("avo"));d.An=BY(d.An,a.get("v_p"));XL().b.Z("no_ad_block_param")||(d.Zj=AY(d.Zj,a.get("ad_block")));this.b=d;this.G=b;this.H=c;A(B(this.b.experimentIds))||\
|
|
(b=this.b.experimentIds.split(","),VL(XL(),b))\};\
|
|
mja=function(a)\{return Uh(lja,function(a)\{return ib(this.b.b,a)\},a)\};\
|
|
GY=function(a)\{return U.b()?1:ib(a.b.adType.split("_"),"text")?3:1\};\
|
|
nja=function(a)\{a=a.b.channels?a.b.channels:[];wb(a);a=ub(a,0,30);return a.join("+")\};\
|
|
HY=function(a,b)\{cY.call(this,a,b)\};\
|
|
IY=function(a,b)\{cY.call(this,a,b)\};\
|
|
JY=function(a)\{cY.call(this,a,null)\};\
|
|
KY=function(a)\{cY.call(this,a,null)\};\
|
|
LY=function(a,b)\{cY.call(this,a,b);U.b()&&XL().b.Z("doubleclick_gpt_retagging")&&(this.o.B=LM())\};\
|
|
MY=function(a)\{if(A(B(a)))return!1;a=new L(a);if(!a.A||"http"!=a.A&&"https"!=a.A)return!1;a=a.g;return-1==a.indexOf(".")||a.match(/^[\\.0-9]*$/)?!1:!0\};\
|
|
oja=function(a)\{var b=[];D(a,function(a)\{0<a.length&&b.push(Ii(a,function(a)\{return a.width+"x"+a.height\}).join("|"))\});\
|
|
return b.join(",")\};\
|
|
NY=function(a,b,c)\{LY.call(this,a,b);var d=XL();this.G=A(B(a.o));a=new iY;a.b=yY(a.b,this.g.o);a.adType=a.b.join("_");a.experimentIds=BY(a.experimentIds,this.g.C);this.b=a;this.H=b;this.D=c;A(B(this.b.experimentIds))||VL(d,this.b.experimentIds.split(","))\};\
|
|
pja=function(a)\{var b=uY(a.g,a.H,a.b,a.D);b.set("sdkv",hY(a));b.set("sdki",a.C().toString(16));return b\};\
|
|
qja=function(a,b)\{var c=pja(a),d=Ii(c.Ua(),function(a)\{var b=c.get(a);return a+"="+(null!=b?b:"")\});\
|
|
mh(b,"afvparams",d.join("&"))\};\
|
|
OY=function(a,b,c)\{cY.call(this,a,b);XL();this.G=A(B(a.o));a=new iY;a.b=yY(a.b,this.g.o);a.adType=a.b.join("_");a.experimentIds=BY(a.experimentIds,this.g.C);this.b=a;this.H=b;this.D=c;A(B(this.b.experimentIds))||(c=this.b.experimentIds.split(","),b=XL(),VL(b,c))\};\
|
|
rja=function(a)\{var b=uY(a.g,a.H,a.b,a.D);b.set("sdkv",hY(a));return b\};\
|
|
sja=function(a,b)\{var c=rja(a),d=Ii(c.Ua(),function(a)\{var b=c.get(a);return a+"="+(null!=b?b:"")\});\
|
|
AU(b,"afvparams",[va(d.join("&"))])\};\
|
|
PY=function(a,b)\{cY.call(this,a,b)\};\
|
|
QY=function(a,b)\{var c=new L(lu(a.g.b,tja(a,b)));ch(c,"https");return c\};\
|
|
tja=function(a,b)\{if(null==a.g||null==a.g.Eb)return\{\};var c=\{\},d=a.g.Eb;D(uja,function(a)\{a in d&&(c[a]=d[a])\});\
|
|
if(!XL().b.Z("no_ad_block_param"))\{var e=vja(a,d.DESCRIPTION_URL);e&&(c.AD_BLOCK=e)\}null!=b&&(c.BISCOTTI_ID=b);return c\};\
|
|
vja=function(a,b)\{if(null==b)return null;var c=JM(NM(a.o),b);return 1!=c?c:null\};\
|
|
wja=function(a,b)\{var c;if(!FU(a.b)&&!GU(a.b)||A(B(a.o))||null==a.b||-1==a.b.search("afvbase="))if(FU(a.b))c=new IY(a,QM);else if(DU(a.b))c=new FY(a,QM,b);else if(GU(a.b))c=new LY(a,QM);else if(EU(a))c=new HY(a,QM);else if(c=a.b,null==c?c=!1:(c=(new L(c)).g,c=ua(c,".fwmrm.net")),c)c=new JY(a);else\{c=a.b;if(null==c)c=!1;else\{c=new L(c);var d=c.o;c=ua(c.g,"youtube.com")&&CU("/get_midroll_info",d)\}c=c?new PY(a,QM):new KY(a)\}else c=FU(a.b)?new OY(a,QM,b):new NY(a,QM,b);return c\};\
|
|
xja=function(a)\{a=le(a,function(a)\{return 0<IV(a)\});\
|
|
Cb(a,function(a,c)\{return IV(a)-IV(c)\});\
|
|
return a\};\
|
|
yja=function(a)\{return le(a,function(a)\{return-1==IV(a)\})\};\
|
|
sU=function(a)\{this.b=a\};\
|
|
zja=function()\{this.b=0\};\
|
|
Aja=function(a,b,c,d,e,f,k)\{var l=!!k,m=x(function(a)\{d(a,Error(Nm(a)))\},a);\
|
|
k=x(function(a)\{l||6!=a?m(a):RY(this,b,!1,c,m,e,f)\},a);\
|
|
RY(a,b,!0,c,k,e,f)\};\
|
|
RY=function(a,b,c,d,e,f,k)\{var l=new un;l.G=c;vn(l,Bja(f));var m=new Fm,n=x(function()\{m.dispose();l.dispose()\},a);\
|
|
c=x(function()\{e(l.g);n()\},a);\
|
|
Lm(m,l,"success",function()\{var a;try\{a=l.b?l.b.responseXML:null\}catch(E)\{a=null\}if(null==a)\{var b=Gn(l);try\{a=Cs(b)\}catch(E)\{a:if(window.document.implementation&&window.document.implementation.createDocument)a=window.document.implementation.createDocument("","parsererror",null);else\{if(As&&(a=Bs()))\{a.appendChild(a.createNode(1,"parsererror",""));break a\}throw Error("Your browser does not support creating new documents");\}\}\}d(a);n()\},a);\
|
|
Lm(m,l,["error","timeout"],c,a);var t;"POST"==k&&(b=new L(b),t=b.b.toString(),gh(b,""),b=b.toString());a.b=C();l.send(dM(b),k,t)\};\
|
|
SY=function(a,b,c,d,e)\{this.B=a;this.o=b;this.A=c;this.b=d;this.C=e\};\
|
|
Cja=function(a,b,c,d)\{var e;try\{e=Cs(b.g)\}catch(f)\{d(mM(MW,f));return\}null!=e?TY(a,e,b,c,d):d(mM(MW))\};\
|
|
UY=function(a,b,c,d)\{var e;if(e=null!=b.b)\{a:\{try\{wa(b.b)\}catch(f)\{e=!1;break a\}e=!0\}e=!e\}e?d(mM(Dja,null,b.b)):U.C?nia(AW(),x(a.g,a,b,c,d)):a.g(b,c,d)\};\
|
|
WY=function(a,b,c,d,e,f)\{b=Cea(b,f);f=c.fj&&aM(Eja,b)?"POST":"GET";Aja(a.o,b,x(function(a)\{TY(this,a,c,d,e)\},a),x(function(a,b)\{var d;\
|
|
d=8==a?mM(nU):5==a||6==a?mM(Fja):mM(VY,b);e(d);d="third_party";DU(c.b)?d="adsense":FU(c.b)?d="dart":GU(c.b)&&(d="xfp");d=\{rt:d,ec:a\};SM(PM.getInstance(),18,d,!0)\},a),a.C,f,c.Bi);\
|
|
Gja(c)\};\
|
|
Gja=function(a)\{var b="third_party";DU(a.b)?b="adsense":FU(a.b)?b="dart":GU(a.b)?b="xfp":EU(a)&&(b="dbm");a=\{rt:b\};SM(PM.getInstance(),17,a,!0)\};\
|
|
TY=function(a,b,c,d,e)\{var f;try\{var k=fja(b,c);if(!k)throw mM(MW);f=k.o();Hja(a,f,c,d)\}catch(l)\{l instanceof KL?e(l):e(mM(Ija,l))\}\};\
|
|
Hja=function(a,b,c,d)\{var e=b.b;if(null!=e)d(new sU(e));else\{e=b.o;if(null==e)throw mM($X);D(e,function(a)\{a.o=c;var d=NL();d&&OL(d,"useCompanionsAsEndSlate")&&(a.F=Zha(a));var d=[],e=a.getExtension("InfoCards");if(null!=e)for(var e=e.o?e.o:new WW,f=0;f<GT(e,"card");f++)d.push(new NV(FT(e,"card",f)));a.H=d;a.R=Wha(a.H);a.qa=this.o.b;U.b()&&(a.Ha=b.g)\},a);\
|
|
var f=xja(e),k=yja(e),l;0<k.length&&0<=HV(k[0])?l=new xU(k,c,a,a.B):l=new lU(f,k,c,a);D(e,function(a)\{a.M=l\});\
|
|
d(l)\}\};\
|
|
XY=function(a)\{this.b=a+C()\};\
|
|
Bja=function(a)\{var b=C();a=a.b-b;return 0<a?a:0\};\
|
|
Jja=function(a,b)\{this.b=a;this.g=b;U.g&&NQ().init();var c;a:\{try\{c=window.top.location.href\}catch(d)\{c=2;break a\}c=null!=c?c==window.document.location.href?0:1:2\}QM.J=c\};\
|
|
Kja=function(a,b,c,d)\{if(U.b())\{var e=b.$j;e&&wea(XL(),e)\}e=null;null==a.b||U.b()&&XL().b.Z("stop_using_ima_sdk_gpt_request_activity")||(e=new wW(1E3,a.b,a.g));var f=Eha(b);null!=f&&Dha(b)&&(a.g.X=f);(new SY(a.g,new zja,a.b,e,new XY(8E3))).fetch(b,x(function(a)\{a instanceof sU?c(a):qU(a,c,d)\},a),d)\};\
|
|
Lja=function(a)\{this.o=a;this.g=new lo;this.b=!1\};\
|
|
ZY=function(a,b,c,d)\{var e=x(function(a)\{c(a);oo(this.g);this.b=!1;YY(this)\},a),f=x(function(a)\{d(a);\
|
|
oo(this.g);this.b=!1;YY(this)\},a);\
|
|
no(a.g,x(function()\{Kja(this.o,b,e,f)\},a));\
|
|
YY(a)\};\
|
|
YY=function(a)\{if(!a.b)\{var b=po(a.g);null!=b&&(a.b=!0,b())\}\};\
|
|
$Y=function(a,b,c)\{I.call(this);this.A=new Lja(new Jja(b,c));this.g=b;this.b=!0;this.o=c;U.J&&ZL(XL(),31061782)&&(Rc(window,"beforeunload",x(this.B,this)),a=new L("http://pagead2.googlesyndication.com/pagead/gen_204"),b=Math.random(),mh(a,"id",""),mh(a,"lid",46),mh(a,"e",31061782),mh(a,"source","loader"),mh(a,"eventid",b),mh(a,"eventtype","begin"),iM.Lj(a.toString(),!0),mh(a,"eventtype","unload"),this.C=a.toString())\};\
|
|
Mja=function(a,b,c)\{if(a.b)\{var d=null!=c?c:\{\};uW.getInstance().end("rtr");jia(uW.getInstance(),b.b);uW.getInstance().start("vl");ZY(a.A,b,x(function(a)\{aZ(this,a,d)\},a),x(function(a)\{bZ(this,a,d)\},a))\}\};\
|
|
Nja=function(a,b,c)\{if(!a.b)\{var d=null!=c?c:\{\};ZY(a.A,b,x(function(a)\{aZ(this,a,d)\},a),x(function(a)\{bZ(this,a,d)\},a))\}\};\
|
|
aZ=function(a,b,c)\{if(a.b)if(b instanceof sU)b=new cZ(b.b,a),b.F=a.g,a.dispatchEvent(new rW(b,c));else\{var d;try\{d=dZ(b),d.F=a.g,a.dispatchEvent(new rW(d,c)),uW.getInstance().end("vl")\}catch(e)\{bZ(a,mM(eZ,null),c)\}\}else b instanceof sU?bZ(a,mM(Oja,null,"Unsupported ad format."),c):(d=new tW("adsLoaderSdkAdLoaded"),d.A=b,d.o=c,a.dispatchEvent(d))\};\
|
|
bZ=function(a,b,c)\{a.b?("always"==U.o&&null!=a.g&&a.g.uh(kW()),a.dispatchEvent(new LL(b,c))):(c=new tW("adsLoaderSdkAdError"),c.B=b,a.dispatchEvent(c))\};\
|
|
Pja=function(a)\{return'<div class="close-padding"><a class="close-button" title="'+X(a.close)+'" role="button" tabindex="0"></a></div>'\};\
|
|
Qja=function()\{return'<div class="recall-button"></div>'\};\
|
|
Rja=function(a)\{return'<a target="_blank" href="'+X(a.url)+'" class="attribution-button">'+X(a.text)+"</a>"\};\
|
|
fZ=function(a,b)\{this.H=a;this.G=K("DIV",\{"class":"controls"\});this.b=K("DIV",\{"class":"adDisplay"\});this.R=b||r;this.Qd=new Fm(this)\};\
|
|
gZ=function(a)\{var b=K("DIV",\{"class":"ima-container"\});zv(b,"opacity 0.4s");a.Qd.O(b,"mouseover",a.EA);a.Qd.O(b,"mouseout",a.KG);b.appendChild(a.G);a.G.appendChild(a.b);return b\};\
|
|
hZ=function(a)\{var b=window.document.createEvent("Event");b.initEvent("creativeview",!0,!0);a.dispatchEvent(b)\};\
|
|
iZ=function(a,b)\{this.J=a;this.N=new Bg;this.M=15E3;this.D=K("SPAN");fZ.call(this,a[0],b);this.b.appendChild(this.D)\};\
|
|
jZ=function(a,b)\{fZ.call(this,a[0],b);this.A=a;J(this.b,"ima-container-stack")\};\
|
|
kZ=function(a,b,c,d,e)\{xt.call(this);this.g=a;this.B=b;this.D=c;this.o=d;this.C=ea(e)?e:[e]\};\
|
|
lZ=function(a,b,c,d,e)\{return new kZ(a,b,\{opacity:d\},\{opacity:e\},\{property:"opacity",duration:b,timing:c,delay:0\})\};\
|
|
mZ=function(a,b)\{return lZ(a,b,"ease-out",0,1)\};\
|
|
Sja=function(a)\{return'<a target="_blank" href="'+X(a.url)+'" class="fullslot-attribution-button">'+X(a.text)+"</a>"\};\
|
|
Tja=function(a)\{return'<div class="fullslot-autoclose">'+X(a.Ey)+"</div></div>"\};\
|
|
nZ=function(a)\{return"L'annuncio si chiuder\\u00e0 tra "+X(a.Ug)\};\
|
|
oZ=function(a)\{I.call(this);this.B=new be(200);H(this,this.B);this.o=0;this.g=!1;this.K=a;this.H=new Fm(this);this.H.O(this.B,"tick",this.rE)\};\
|
|
pZ=function(a)\{a.B.stop();a.g=!1\};\
|
|
rZ=function()\{I.call(this);this.b=!1;this.o=this.A=this.g=null;this.B=new Fm(this);this.g=mR(Pga);this.A=sf("videoAdUiUnmutedIcon",this.g);this.o=sf("videoAdUiMutedIcon",this.g);qZ(this);this.B.O(this.g,"click",this.C)\};\
|
|
qZ=function(a)\{a.A&&a.o&&(a.b?(Is(a.A,"display","none"),Is(a.o,"display","block")):(Is(a.A,"display","block"),Is(a.o,"display","none")))\};\
|
|
sZ=function(a,b)\{I.call(this);this.F=a;this.B=1;this.D=this.A=this.g=this.b=null;this.G=new Fm(this);H(this,this.G);this.C=new UQ;H(this,this.C);this.H=!0;this.o=!1;this.b=mR(UR);this.g=sf("videoAdUiPreSkipButton",this.b);this.A=sf("videoAdUiPreSkipText",this.g);this.A.style.letterSpacing="0.1px";this.D=sf("videoAdUiPreSkipThumbnail",this.g);Tf(this.A,"Video will play after ad");var c=$Q(this.F.J)||"";if(this.F.showContentThumbnail&&!A(B(c)))\{var d=Ef("img");d.setAttribute("src",c);J(d,"videoAdUiPreSkipThumbnailImage");\
|
|
this.D.appendChild(d)\}else S(this.g,!1);S(this.b,!1);b.appendChild(this.b);this.G.O(this.C,"click",this.J);this.C.ib(this.D)\};\
|
|
tZ=function(a)\{if(!Uja.test(a))throw Error("'"+a+"' is not a valid alpha hex color");5==a.length&&(a=a.replace(Vja,"#$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]\};\
|
|
uZ=function(a)\{var b=a.slice(0);b[3]=Math.round(1E3*a[3])/1E3;return"rgba("+b.join(",")+")"\};\
|
|
wZ=function(a,b)\{I.call(this);this.o=a;this.X=0;this.N=!1;this.A=0==kT(this.o.skipOffset)?3:1;this.g=this.R=this.b=this.da=this.K=this.G=this.B=null;this.D=new Fm(this);this.F=this.J=this.H=null;this.ba=!1;this.M=new UQ;this.aa="";var c=a.F;this.C=null!=c&&null!=XM(c,cN,1)?XM(XM(c,cN,1),dN,1):null;this.B=mR(UR);this.G=sf("videoAdUiPreSkipButton",this.B);this.K=sf("videoAdUiPreSkipText",this.G);this.da=sf("videoAdUiPreSkipThumbnail",this.G);Tf(this.K,VR(\{Ug:vZ(this)\}));c=$Q(this.o.J)||"";if(this.o.showContentThumbnail&&\
|
|
!A(B(c)))\{var d=Ef("img");d.setAttribute("src",c);J(d,"videoAdUiPreSkipThumbnailImage");this.da.appendChild(d)\}else J(this.K,"videoAdUiPreSkipTextOnly");c=XL().b.Z("use_new_skip_icon");this.g=mR(c?Lga:Kga,\{Vt:Pa("Salta annuncio "+X(""))\});this.b=sf("videoAdUiSkipButton",this.g);c&&(this.R=sf("videoAdUiSkipButtonText",this.b));Wja(this);"4.4.4"===(SA?DM(AM):"")&&(this.G.style.backgroundColor="black",this.b.style.backgroundColor="black");S(this.B,!1);b.appendChild(this.B);0==kT(this.o.skipOffset)?this.dispatchEvent("skipshown"):\
|
|
(S(this.g,!1),ct(this.g,0));b.appendChild(this.g);this.D.O(this.M,"click",this.BG);this.M.ib(this.b)\};\
|
|
vZ=function(a)\{return null!=a.o.skipOffset&&-1!=kT(a.o.skipOffset)?kT(a.o.skipOffset):-1\};\
|
|
xZ=function(a,b)\{var c=vZ(a);if(!(0>c))\{var c=Math.ceil(c-b),d=" "+c;60<=c&&(d=" "+IQ(c));c=VR(\{Ug:d,Oi:a.aa\});Tf(a.K,c)\}\};\
|
|
yZ=function(a)\{null!=a.F&&(ee(a.F),a.F=null)\};\
|
|
zZ=function(a,b)\{null!=a.G&&S(a.G,b);null!=a.b&&S(a.b,b)\};\
|
|
Wja=function(a)\{if(null!=a.C)\{var b=null!=a.C.getStyle()&&null!=XM(a.C.getStyle(),gN,1)?V(XM(a.C.getStyle(),gN,1),1):null,c=null!=XM(a.C,fN,2)&&null!=XM(XM(a.C,fN,2),gN,1)?V(XM(XM(a.C,fN,2),gN,1),1):null;b&&(a.b.style.backgroundColor=uZ(tZ(b)),c&&(a.D.O(Qf(a.b),"mouseover",function()\{this.b.style.backgroundColor=uZ(tZ(c))\}),a.D.O(Qf(a.b),"mouseout",function()\{this.b.style.backgroundColor=uZ(tZ(b))\})));\
|
|
if(null!=XM(a.C,hN,3)&&null!=a.R)\{var d=Fea(XM(a.C,hN,3));0<d.length&&V(d[0],1)&&Tf(a.R,V(d[0],1))\}\}\};\
|
|
CZ=function(a,b,c)\{I.call(this);this.b=a;this.ba=!1;this.Ha=c;this.ga=this.ca=this.N=this.C=this.K=this.R=this.G=this.Ca=this.ha=this.Ga=this.ea=this.H=this.g=null;this.na=!1;this.Aa=this.ia=this.la=this.J=this.M=this.F=this.A=this.B=this.qa=this.da=this.aa=this.D=null;this.o=new Fm(this);this.Ia=[];this.X=[];this.ba=!this.b.B&&U.b();a=\{Id:this.b.Id,Cg:this.b.Cg,ee:this.b.ee,Oi:this.ba?"redesign2014q4":""\};this.g=mR(this.b.H,a);this.b.da||this.o.O(this.g,"touchmove",this.fB);this.da=sf("videoAdUiProgress",\
|
|
this.g);this.qa=sf("videoAdUiBuffer",this.g);this.H=sf("videoAdUiAttributionContainer",this.g);this.ea=sf("videoAdUiAttributionIconContainer",this.g);this.ha=sf("videoAdUiAttribution",this.g);this.b.g&&(J(b,"videoAdUiInstreamBadgeExperiment"),this.Ga=sf("videoAdUiAttributionBadge",this.H),c=WR(\{Lh:"",fh:0,Mh:0\}),Tf(this.Ga,Pa(c)));this.Ca=sf("videoAdUiVisitAdvertiserLink",this.g);this.G=sf("videoAdUiVisitAdvertiserLinkText",this.g);this.R=sf("videoAdUiVisitAdvertiserIcon",this.g);this.K=sf("videoAdUiAuthorIcon",\
|
|
this.g);this.C=sf("videoAdUiAuthorName",this.g);this.N=sf("videoAdUiLearnMore",this.g);this.ca=sf("videoAdUiLearnMoreText",this.g);this.ba?(this.J=sf("videoAdUiTopButtonShare",this.g),this.la=sf("videoAdUiTopButtonShareTooltip",this.g),this.ia=sf("videoAdUiTopButtonInfo",this.g),this.Aa=sf("videoAdUiTopButtonWatchLater",this.g)):this.J=sf("videoAdUiShare",this.g);this.D=sf("videoAdUiTitle",this.g);this.aa=sf("videoAdUiTopBar",this.g);this.ga=sf("videoAdUiBottomBar",this.g);null!=this.K&&this.o.O(this.K,\
|
|
"click",this.Cy);null!=this.C&&(c=new UQ,this.X.push(c),this.o.O(c,"click",this.Dy),c.ib(this.C));null!=this.N&&(c=new UQ,c.J=!0,this.X.push(c),this.o.O(c,"click",this.rr),c.ib(this.N));null!=this.ca&&(c=new UQ,c.J=!0,this.X.push(c),this.o.O(c,"click",this.rr),c.ib(this.ca));null!=this.J&&this.o.O(this.J,"click",this.yG);null!=this.D&&(c=new UQ,this.X.push(c),this.o.O(c,"click",this.IG),c.ib(this.D));null==this.aa||!U.b()&&vM()||this.o.O(this.g,"mouseover",this.xG);null!=this.G&&this.o.O(this.G,"click",\
|
|
this.Yj);null!=this.R&&this.o.O(this.R,"click",this.Yj);null!=this.H&&null!=this.b.C&&AZ(this.b.C)&&(J(this.H,"videoAdUiWtaClickable"),this.o.O(this.H,"click",this.OF),this.o.O(this,"why_this_ad_got_it",this.QG));null!=this.b.skipOffset?(this.A=new wZ(this.b,this.g),this.A.Of(this),this.A.aa=a.Oi):XL().b.Z("show_thumbnail_on_standard")&&(this.F=new sZ(this.b,this.g),H(this,this.F),this.F.Of(this));this.b.R&&(this.M=new rZ,this.M.Of(this),this.ga.insertBefore(this.M.g,this.H));400>=((0,window.parseInt)(Ls(b,\
|
|
"width"),10)||b.width)&&J(this.g,"videoAdUi-mobile");this.b.B&&(J(this.g,"blazer"),window.settings&&window.settings.isTablet?J(this.g,"tablet"):J(this.g,"phone"));a=$f(b,"html5-video-player");null!=a&&(this.ba&&J(a,"videoAdUiRedesign"),oe(a,"ytp-video-ad-learn-more-ui",this.b.o));S(this.g,!1);b.appendChild(this.g);this.b.o||this.ba||!this.b.M||(this.B=K("DIV",\{style:"width:100%;height:100%;pointer-events:auto;"\}),this.g.appendChild(this.B));BZ(this)\};\
|
|
Xja=function(a)\{null!=a.B&&S(a.B,!1)\};\
|
|
DZ=function(a)\{a.A&&(a.A.dispose(),a.A=null)\};\
|
|
Yja=function(a,b)\{a.Ia=b;D(b,function(a)\{a.A=this.g;a.A.appendChild(a.b);var b=a.b,c=at(a.A),c="left"==a.B?"0px":"right"==a.B?c.width-a.o.td().width+"px":a.B+"px",f;f=at(a.A);f="bottom"==a.C?"0px":"top"==a.C?f.height-a.o.td().height+"px":f.height-a.o.td().height-Ya(a.C)+"px";Is(b,\{position:"absolute",overflow:"hidden",left:c,bottom:f\});S(a.b,!1)\},a)\};\
|
|
EZ=function(a)\{null!=a.G&&(S(a.G,!0),Tf(a.G,a.b.visitAdvertiserText));null!=a.R&&S(a.R,!0)\};\
|
|
FZ=function(a,b)\{if(null!=a.g)\{var c=$f(Qf(a.g),"html5-video-player");null!=c&&oe(c,"ytp-ad-end-cap",b)\}\};\
|
|
BZ=function(a)\{var b=a.b.aa&&(a.Ha>a.b.ea||0==a.Ha),c=b&&a.b.ga,d=b&&a.b.La,e=b&&a.b.A,f=b&&a.b.X,b=b&&a.b.G,k=a.b.ba&&a.b.b,l="0px",m;m=a.b.F;m=U.b()&&null!=m&&null!=XM(m,cN,1)&&null!=XM(XM(m,cN,1),eN,2)&&V(XM(XM(m,cN,1),eN,2),1)?!1:!0;null!=a.D&&(S(a.D,b),null!=a.K&&S(a.K,c),null!=a.C&&S(a.C,d),null!=a.N&&S(a.N,e),null!=a.J&&(S(a.J,f),f&&a.dispatchEvent("videoShareShown")),null!=a.ia&&S(a.ia,!1),null!=a.Aa&&S(a.Aa,!1),null!=a.aa&&S(a.aa,b||c||d||e));null!=a.H&&GZ(a);null!=a.da&&(S(a.da,k),k&&(l=\
|
|
Ls(a.da,"height")));null!=a.ga&&Is(a.ga,"bottom",l);null!=a.ca&&S(a.ca,U.b()&&a.b.o&&!e);null!=a.ea&&S(a.ea,a.b.K);null!=a.Ca&&S(a.Ca,m)\};\
|
|
Zja=function(a,b,c,d,e)\{var f;f=a.b.g?"":WR(\{Lh:"",fh:0,Mh:0\});a.b.b&&a.b.N&&(b=IQ(c-b),b=a.b.g?b:a.b.B?" \\u2022 "+b:a.ba?" \\u00b7 "+b:": ("+b+")",f=a.b.g?b:WR(\{Lh:b,fh:d,Mh:e\}));Tf(a.ha,f);GZ(a)\};\
|
|
GZ=function(a)\{S(a.H,a.b.D&&(!a.b.b||a.na))\};\
|
|
HZ=function(a,b)\{this.B=a;this.o=b;this.g=this.A=this.C=this.b=null\};\
|
|
AZ=function(a)\{return null!=a.B||null!=a.o\};\
|
|
IZ=function(a,b,c)\{b=sf(b,a.b);null!=b&&a.A.O(b,"click",c)\};\
|
|
JZ=function(a,b,c)\{null!=a.b&&a.b.parentElement.removeChild(a.b);a.b=mR(b,c);IZ(a,"videoAdUiPopupCloseIcon",a.Ji);a.C.appendChild(a.b);b=sf("videoAdUiPopupFrame",a.b);null!=b&&Rc(b,"submit",function(a)\{a.preventDefault()\});\
|
|
a=sf("videoAdUiPopupDefaultButton",a.b);null!=a&&a.focus()\};\
|
|
KZ=function()\{this.Id=WR(\{Lh:"",fh:0,Mh:0\});this.Cg="Ulteriori informazioni "+X("");this.visitAdvertiserText="Visita il sito dell'inserzionista";this.ee=YR();this.skipOffset=null;this.ea=6E3;this.D=!0;this.K=!1;this.N=this.b=this.M=!0;this.X=this.ba=this.R=this.A=!1;this.aa=!0;this.G=this.La=this.ga=this.ca=this.o=!1;this.H=null;this.showContentThumbnail=!0;this.g=this.B=!1;this.F=null;this.da=!1\};\
|
|
LZ=function(a,b,c,d)\{var e=new KZ;e.o=a;e.ha=b;e.skipOffset=c;e.J=null!=d?d.vg:null;e.M=d.NG;e.H=Hga;e.ia=YQ(b,null!=c,d.cg);e.showContentThumbnail=null!=d.vg&&d.showContentThumbnail;e.F=d.Cq;e.da=d.fz;return e\};\
|
|
NZ=function(a,b,c,d,e)\{oZ.call(this,b.b);this.F=b;this.D=c;this.G=this.F.b;this.b=a;this.A=this.C=null;J(this.b,jY(this.D));a=this.b;b=new KZ;b.skipOffset=new TU(this.F.A,!1);this.A=new wZ(b,a);d&&d.text&&(d=mR(Sja,d),this.b.appendChild(d));e?(e=this.b,d=nZ(\{Ug:MZ(this.G)\}),a=mR(Tja,\{Ey:d\}),Tf(a,d),e.appendChild(a),e=a):e=null;this.C=e\};\
|
|
$ja=function(a)\{var b=sf("videoAdUiSkipButton",a.b);return b?Xs(b,a.b):new gf(0,0)\};\
|
|
MZ=function(a)\{a=Math.ceil(a);return"0:"+(10>a?"0"+a:""+a)\};\
|
|
OZ=function()\{F.call(this);this.B="";this.o=new dT;this.g=new Bg;this.C=[];this.G=!1;this.b=\{\};this.F=\{\};this.A=-1;this.D=[]\};\
|
|
PZ=function(a,b)\{if(U.g)\{var c=QQ(NQ(),b.type,a.B);a.H(b.type,c)\}else pia(AW(),b.type,a.B,x(a.H,a,b.type))\};\
|
|
aka=function(a,b)\{null!=b&&D(b,function(a)\{ib(this.D,a)||this.D.push(a)\},a)\};\
|
|
QZ=function(a,b,c)\{null!=c.viewability&&cU(a.b,c.viewability);var d;U.g||(d=AW().H||void 0);var e=[];D(b,function(a)\{var b=this.b;dU(b,a,"MOAT_INIT",!0,jha);dU(b,a,"MOAT_VIEWABILITY",!0,ld(c.moatViewability||""));dU(b,a,"IAS_VIEWABILITY",!0,ld(c.integralAdsViewability||""));dU(b,a,"DV_VIEWABILITY",!0,ld(c.doubleVerifyViewability||""));dU(b,a,"GOOGLE_VIEWABILITY",!1,ld(c.googleViewability||""));e.push(hM(a,this.b,c,d))\},a);\
|
|
cU(a.b,"na");return e\};\
|
|
RZ=function(a,b,c)\{D(b,function(a)\{fM(a,void 0,void 0,c)\},a)\};\
|
|
bka=function(a,b)\{switch(b)\{case "abandon":return!Dg(a.g,b)&&!Dg(a.g,"skip")&&!Dg(a.g,"instreamAdComplete")&&(Dg(a.g,"impression")||a.G);case "click":return!0;case "instreamAdComplete":case "complete":return!Dg(a.g,b)&&!Dg(a.g,"skip");default:return!Dg(a.g,b)\}\};\
|
|
SZ=function(a,b)\{I.call(this);this.b=a;this.g=new Fm(this);H(this,this.g);this.g.O(b,["companion_impression","companion_click"],this.o)\};\
|
|
TZ=function(a)\{I.call(this);this.ads=a;this.H=null;this.da=new Fm(this);H(this,this.da);this.J="normal";this.A=this.volume=null;this.g=new iN;this.Ha=!1;this.content=\{\};this.B=new OZ;this.ga=!1;AW();this.Ca=ZL(XL(),41351021)||ZL(XL(),31061781);this.qa=x(this.xz,this);this.ba=null;var b=0;D(a,function(a)\{b+=gU(a)\});\
|
|
D(a,function(b,d)\{var c=b.A;c.o=a.length;var f=d+1;c.g=f;c.B=f\})\};\
|
|
Z=function(a)\{if(UZ(a))\{if(a.H.isSkippable()&&!HM())throw nM(xY,null,"skippablevideo");if(null!=eW(a.H)&&VZ(a,a.H.g))throw nM(xY,null,"vpaidWithSkippabilityOverride");return a.H\}throw nM(WZ,null,"An ad has not been selected.\\n"+Error().stack);\};\
|
|
XZ=function(a,b)\{a.H=b;if(U.g)\{var c=NQ();RQ(c,a.qa);b&&c.g.set(b.K,a.qa)\}\};\
|
|
VZ=function(a,b)\{return null==b?!1:null!=b.getExtension("adx")?!0:VZ(a,b.g)\};\
|
|
UZ=function(a)\{return null!==a.H\};\
|
|
cka=function(a)\{return Uh(a.ads,function(a)\{return Uh(YZ(a),function(a)\{return!A(B(XQ(a.g)))\})\},a)\};\
|
|
YZ=function(a)\{var b=a.g;if(b&&b.ba&&(b=b.B,!kb(b)&&b[0]instanceof uT))return b[0].K;b=a.b;return ZZ(a)?b.K:[]\};\
|
|
ZZ=function(a)\{a=a.b;return null!=a&&a instanceof uT\};\
|
|
$Z=function(a)\{null==a.G&&(a.G=new Fm(a));return a.G\};\
|
|
b_=function(a,b)\{var c=XL().b;if(!(c.Z("enable_website_actions_info_cards")&&c.Z("enable_website_actions_info_cards_companion")&&!kb(yV(b))&&!yV(b)[0].g&&U.b()&&gW(b)||null==a.F||(Mm(a.da),Km(a.da,a.F,"companion_display_error",function()\{\}),c=a.F.uh(b),null!=c&&(a.da.O(c,"companion_impression",a.IC),a.da.O(c,"companion_click",a.Pm),U.b()&&(c=new SZ(b,c),a.ka("companionInitialized",c))),a.F.np())))throw nM(a_);\
|
|
\};\
|
|
dka=function(a)\{D(a.ads,function(a)\{if(a=a.getExtension("sodar"))\{var b=a.A,d=a.o,e=a.B,f=a.g;a="//tpc.googlesyndication.com/sodar/"+(0,window.encodeURIComponent)(b)+".js";var k="//pagead2.googlesyndication.com/bg/"+(0,window.encodeURIComponent)(e)+".js";if(b&&d&&e&&f)\{var e=window,b=e.document,l=\{\};l._scs_=d;l._bgu_=k;l._bgp_=f;l._li_="v_h.0.0.0";(d=e.GoogleTyFxhY)&&"function"==typeof d.push||(d=e.GoogleTyFxhY=[]);d.push(l);d=b.createElement("script");d.type="text/javascript";d.async=!0;d.src=a;\
|
|
b.getElementsByTagName("head")[0].appendChild(d)\}\}\})\};\
|
|
c_=function(a,b)\{PZ(a.B,new mc(b))\};\
|
|
d_=function(a,b)\{PZ(a.B,new mc(b));a.ka(b)\};\
|
|
e_=function(a)\{if(!a.ga)throw nM(WZ,null,"Ads manager is not correctly configured.");\};\
|
|
f_=function(a,b)\{for(var c=b;null!=c;)D(c.D.Ra(),a.aG,a),c=c.g\};\
|
|
eka=function(a)\{if(!ea(a))throw nM(WZ,null,"adsRenderingSettings.mimeTypes should be an array");var b=rb(Xb(g_),Xb(LT));D(a,function(a)\{if(!ib(b,a))throw nM(WZ,null,"Invalid or unsuppoted mime type "+a);\})\};\
|
|
h_=function(a)\{TZ.call(this,a);this.D=null;this.ha=K("DIV",\{style:"display:none;position:absolute;top:0;left:0;bottom:0;right:0;z-index:2000"\});this.N=!1;this.aa=[]\};\
|
|
i_=function(a,b)\{var c=fha(b);D(c,function(a)\{iT(this.B.o,"click",a)\},a)\};\
|
|
j_=function(a,b)\{var c=aU(b,Z(a)),d=wV(Z(a));jM(d,c)\};\
|
|
k_=function(a)\{h_.call(this,a);this.R=!1;this.C=this.M=null;this.ca=!1\};\
|
|
l_=function(a)\{var b=a.ads[0].getExtension("AdSense"),c=b.B,b=b.C;a=\{text:null!=c?c:a.ea.B,url:null!=b?b:a.ea.C\};null==a.text&&(a.text=sR("Annunci Google"));return a\};\
|
|
m_=function(a)\{return UZ(a)&&$V(Z(a))\};\
|
|
fka=function(a)\{var b=n_(a);b.rba=a.N;SM(PM.getInstance(),37,b)\};\
|
|
n_=function(a)\{var b=[],c=[];D(a.M,function(a)\{b.push(a.bb()+"x"+a.getHeight());c.push(a.yc())\},a);\
|
|
var d=\{\};d.pid=uW.getInstance().b;d.fsmode=null!=a.C;0<b.length&&(d.cz=b.join(","));0<c.length&&(d.ct=c.join(","));d.vm=a.J;return d\};\
|
|
o_=function(a,b)\{if(a.C)\{a.cj(new mc("close"));var c=\{\};c.pid=uW.getInstance().b;c.evt=b;SM(PM.getInstance(),35,c)\}\};\
|
|
p_=function(a,b)\{mc.call(this,"vpaidEventType");this.b=a;this.data=b\};\
|
|
gka=function(a,b)\{function c(a,b)\{for(var c in a)for(var d=c.toLowerCase(),e=0;e<q_.length;e++)\{var m=q_[e];if(d==m)throw Error('Cannot override "'+m+'" '+b+', got "'+c+'" with value "'+a[c]+'"');\}\}\
|
|
c(a,"attribute");c(b,"param")\};\
|
|
r_=function(a,b)\{Px.call(this,b);this.J=a;this.o=new Fm(this);this.g=new Bg\};\
|
|
s_=function(a)\{return a.ma()?a.ma().firstChild:null\};\
|
|
t_=function(a)\{TZ.call(this,a);this.N=this.o=null;this.D=!0;this.Aa=this.ha=this.X=!1;this.na=Ua();this.ca=this.ia=0;this.aa=-1;this.C=null;this.R=0;this.M=1;this.ea=-1;this.la=!1\};\
|
|
u_=function(a)\{var b=a.uc("getAdLinear");return ga(b)?b:a.D\};\
|
|
v_=function(a)\{var b;b=a.uc("getAdRemainingTime");b=ha(b)?b:-2;if(!ha(b)||0>b)b=30;ee(a.ea);a.ea=de(a.stop,1E3*b,a)\};\
|
|
w_=function(a,b,c,d)\{d=nM(b,c,d);var e=aU(d,Z(a)),f=wV(Z(a));jM(f,e);b.message=d.b;pM(a,b,c)\};\
|
|
x_=function(a)\{a.la||(a.la=!0,d_(a,"complete"))\};\
|
|
y_=function(a)\{I.call(this);this.C=a;this.b=null;this.A=-1;this.B=!1;this.g=Ua()\};\
|
|
z_=function(a)\{TZ.call(this,a);this.o=null;this.na=\{\};this.D=!0;this.ea=this.ca=this.X=!1;this.R=this.ha=0;this.C=null;this.N=0;this.M=1;this.aa=-1;this.la=!1;this.ia=2==U.A\};\
|
|
A_=function(a)\{var b=a.kc("getAdLinear");return ga(b)?b:a.D\};\
|
|
B_=function(a)\{var b;b=a.kc("getAdRemainingTime");b=ha(b)?b:-2;if(!ha(b)||0>b)b=30;ee(a.aa);a.aa=de(a.stop,1E3*b,a)\};\
|
|
C_=function(a)\{a.la||(a.la=!0,d_(a,"complete"))\};\
|
|
E_=function(a,b)\{var c=nM(D_,b,void 0),d=aU(c,Z(a)),e=wV(Z(a));jM(e,d);D_.message=c.b;pM(a,D_,b)\};\
|
|
F_=function(a,b)\{this.b=a;this.g=b\};\
|
|
G_=function(a)\{ML.call(this,"adMetadata",a)\};\
|
|
hka=function(a,b,c)\{var d=r,e=new L("https://www.googleapis.com/youtube/v3/videos");mh(e,"id",a);mh(e,"part","snippet,status");mh(e,"fields","items/id,items/snippet/title,items/snippet/channelId,items/status/privacyStatus");null!=c&&(b=x(b,c),d=x(d,c));H_(new un,e,b,d)\};\
|
|
ika=function(a,b,c)\{var d=r,e=new L("https://www.googleapis.com/youtube/v3/channels");mh(e,"id",a);mh(e,"part","snippet,statistics,brandingSettings");mh(e,"fields","items/id,items/snippet/title,items/snippet/thumbnails/default/url,items/statistics/videoCount,items/brandingSettings/image/bannerImageUrl");null!=c&&(b=x(b,c),d=x(d,c));H_(new un,e,b,d)\};\
|
|
H_=function(a,b,c,d)\{mh(b,"key","AIzaSyA-dlBUjVQeuc4a6ZN4RkNUYDFddrVLxrA");vn(a,2E3);var e=new Fm(a);Km(e,a,"success",function(a)\{a=a.target;var b;b=a.b?cg(a.b.responseText):void 0;c(b||\{\});e.dispose();a.dispose()\});\
|
|
Km(e,a,["error","timeout"],function(a)\{a=a.target;var b=null;0!=a.g&&(b=Error(Nm(a.g)));d(b);e.dispose();a.dispose()\});\
|
|
a.send(b)\};\
|
|
jka=function(a,b)\{this.g=a;this.b=b\};\
|
|
I_=function(a)\{this.D=a;this.b=[];this.g=new be(500);H(this,this.g);this.A=new Fm(this);Hm(this.A,this.g,"tick",this.B,this);H(this,this.A);this.o=1;this.C=!1\};\
|
|
J_=function(a)\{a.g.enabled||(a.B(),a.g.start())\};\
|
|
K_=function(a)\{var b=0,c=0;2<a.b.length&&(b=a.b[a.b.length-1].b-a.b[0].b,c=a.b[a.b.length-1].g-a.b[0].g);SM(PM.getInstance(),47,\{t:a.C,lpp:a.o,wl:a.b.length,se:b,me:c,n:!1,am:!1\},!0)\};\
|
|
L_=function(a)\{if(a&&a.items&&a.items.length)\{a=a.items[0];this.videoId=a.id;var b=a.snippet;a.snippet&&(this.channelId=b.channelId,this.title=b.title);if(a=a.status)this.isListed="unlisted"!=a.privacyStatus\}\};\
|
|
O_=function(a,b,c,d,e)\{oZ.call(this,d);this.G=a;this.N=b;this.M=e;this.A=new Fm(this);H(this,this.A);this.C=new UQ;H(this,this.C);this.J=new UQ;H(this,this.J);this.F=new UQ;H(this,this.F);(a=M_(c))?(c=a(c),b.appendChild(c),b=sf("iv-endcap-action",c),this.A.O(this.C,"click",this.D),this.C.ib(b),b=sf("iv-endcap-text",c),this.A.O(this.J,"click",this.D),this.J.ib(b),b=sf("iv-endcap-image",c),this.A.O(this.F,"click",this.D),this.F.ib(b),b=c):b=null;this.b=b?sf("iv-endcap-countdown-inner",b):null;null!=\
|
|
this.b&&Is(this.b,"stroke-dasharray","0 "+N_)\};\
|
|
M_=function(a)\{switch(a.Fb())\{case 1:return kka;case 4:return lka\}return null\};\
|
|
kka=function(a)\{var b=dV(a);a=0<a.ak()?a.Vg(0):null;return mR(yU,\{headline:ET(b,"headline"),description:ET(b,"description"),image:fV(gV(b)),action:a?ET(a,"title"):"",target:a?hV(a)||ET(a,"link_url"):""\})\};\
|
|
lka=function(a)\{var b=a.$i();a=0<a.ak()?a.Vg(0):null;return mR(yU,\{headline:ET(b,"headline"),description:ET(b,"description"),image:fV(b.b()),action:a?ET(a,"title"):"",target:a?hV(a)||ET(a,"link_url"):""\})\};\
|
|
mka=function()\{return sR('<div class="videoAdInterstitial"><p>Il video verr\\u00e0 riprodotto al termine dell\\'annuncio.</p></div>')\};\
|
|
P_=function()\{F.call(this);this.o=mR(mka);this.b=0\};\
|
|
Q_=function(a)\{a.b&&(ee(a.b),a.g(r))\};\
|
|
R_=function(a)\{mc.call(this,a)\};\
|
|
S_=function(a)\{I.call(this);this.A=a;this.K=new Bg;this.G=-1;this.H=this.M=!1;this.D=""\};\
|
|
T_=function(a)\{this.paused=!1;this.mute=a.Hf();this.volume=a.Sd()\};\
|
|
U_=function(a,b,c,d)\{if(!c||null==a.K.get(b))\{d&&!a.H&&(b="error");a.K.set(b,!0);a:\{c=b;if(a.o&&a.o.b.A)\{if("click"==c)break a;"videoLearnMoreClicked"==c&&PZ(a.A,new mc("click"))\}d=nka[c]||null;null!=d&&null!=a.b&&a.b.gn(d);PZ(a.A,new mc(c))\}a.dispatchEvent(b)\}\};\
|
|
V_=function(a)\{0>a.G||a.M||!a.b.fg(a.G)&&!a.b.oe()||!a.H||(a.M=!0,U_(a,"engagedview",!0,!0),a.dispatchEvent(new R_("viewCount")))\};\
|
|
W_=function(a)\{V_(a);if(U.b())\{var b=a.A;if(!(Dg(b.g,"skip")||0>b.A))for(var c=gT(b.o,"progress"),d=b.A;d<c.length;d++)\{var e=c[d];b.A=d+1;fM(e.b,b.b)\}\}U_(a,"complete",!0,!0)\};\
|
|
X_=function(a)\{TZ.call(this,a);this.C=this.o=null;this.aa=!1;this.N=new S_(this.B);this.ia=this.Aa=this.ca=!1;this.na=this.X=1;this.M=null;this.Ia=new P_;this.la=new Bk;this.Na=!1;this.ha=[];this.ea=!1;this.D=this.R=null;this.Ga=!vM()&&U.b()\};\
|
|
Y_=function(a,b)\{var c=de(function()\{this.la.remove(c);b.call(this)\},0,a);\
|
|
Dk(a.la,c)\};\
|
|
Z_=function(a)\{a.R&&(Nb(a.R),a.R=null);Nb(a.o);a.o=null;Nb(a.N);Nb(a.B);a.ia=!1\};\
|
|
$_=function(a)\{a.Gh();null!=a.D&&K_(a.D);UZ(a)?a.start():a.stop()\};\
|
|
pka=function(a)\{if(!UZ(a))return!1;var b=a.A.Pd();if(null==b)return!1;var c=Z(a),d;if(d=c.F?c.F.b.wh()?c.F.b.xm():c.F.gc():"")oka(a,b,d);else if(WV(c)&&(d=c.R,d=kb(d)?null:d[0],null!=d&&ia(M_(d))))\{var e=1==d.Fb()&&!XL().b.Z("ad_video_end_disable_auto_open_drawer");a.C=new O_(a.b,b,d,dW(c),e);$Z(a).O(a.C,"click",x(a.Qp,a,null));a.o&&FZ(a.o,!0);a.A.Zc()\}null!=a.C&&($Z(a).O(a.C,"timeUpdate",a.Os),$Z(a).O(a.C,"end",a.gz),a.C.start(),d_(a,"video_card_endcap_impression"));return null!=a.C\};\
|
|
oka=function(a,b,c)\{SM(PM.getInstance(),34,\{evt:"start"\},!0);var d=K("DIV");J(d,"controls");var e=K("DIV");J(e,"adDisplay");J(e,"endslate");e.innerHTML=c;(c=Mf(e)[0])&&Is(c,\{margin:"0 auto"\});D(c.getElementsByTagName("a"),function(a)\{var b=a.getAttribute("href");b&&$Z(this).O(a,"click",x(this.Qp,this,b))\},a);\
|
|
d.appendChild(e);e=new PW;uia(e,dW(Z(a)));e.A=0;e.o=0;a.C=new NZ(d,e,1,\{\},!0);$Z(a).O(a.C,"skip",a.Rp);b.appendChild(a.C.b);a.A.Zc();a.o&&(Xja(a.o),DZ(a.o))\};\
|
|
b0=function(a,b)\{a0(a);null!=a.b&&a.b.Uq();a.ka("complete");d_(a,b);c_(a,"instreamAdComplete");$_(a)\};\
|
|
a0=function(a)\{a.C&&(a.C.dispose(),a.C=null);a.o&&FZ(a.o,!1);a.aa=!1\};\
|
|
c0=function(a)\{var b=UZ(a)?Z(a).C:null;if(b)\{var c;a:\{if(UZ(a)&&(c=hW(a.H),null!=c))break a;c=""\}var d;a:\{if(UZ(a)&&(d=iW(a.H),null!=d))break a;d=""\}(c||d)&&a.b.jm(b,c||null,d||null)\}\};\
|
|
d0=function(a,b,c,d)\{b=gT(b.b,c);kb(b)||(a[d]=b[0].b)\};\
|
|
e0=function(a,b,c)\{b=c.getExtension(b);null!=b&&(d0(a,b,"annotation_click","cta_annotation_clicked"),d0(a,b,"annotation_close","cta_annotation_closed"),d0(a,b,"annotation_start","cta_annotation_shown"))\};\
|
|
qka=function(a,b)\{var c=nV(b,UV)&&!b.X?CV(b):null,d=b.isSkippable()&&!qV(b),e=null!=a.o&&a.o.b.o,f=b.o,k=ZQ(a.Nq());if(!k)\{var l=b.getExtension("AdSense");null!=l&&(k=l.isPharma())\}var m=XL().b,l=m.Z("use_variable_load_timeout")?m.b("variable_load_timeout_ms"):a.g.Ud,n=fU(b),t;a.o?(t=\{\},e0(t,"AdSense",b),e0(t,"dart",b),e0(t,"DFP",b)):t=null;var f=f?f.Pj:!1,u=eU(b),y=a.g.Fg,m=m.Z("legacy_autoplay_flag"),E;E=AV(Z(a),"endscreenClick");E=kb(E)?null:gg(\{endscreenClick:E\});return new sS(n,c,0,t,e,d,l,f,\
|
|
!1,u,y,k,m,E)\};\
|
|
rka=function(a)\{var b=0,c=0;D(a.ads,function(a)\{!ZZ(a)||U.b()&&0!=c||(c++,b+=gU(a))\},a);\
|
|
var d=1;D(a.ads,function(a)\{var b=a.A;b.o=c;ZZ(a)&&(b.g=d,b.B=d,d++)\},a)\};\
|
|
f0=function(a)\{var b=a.g;return b&&b.ba&&(b=b.B,!kb(b)&&b[0]instanceof uT)?b[0].Td():SV(a)\};\
|
|
h0=function(a,b)\{if(!ZZ(b))throw nM(g0);var c=b.b;if(!A(B(null)))return new tT("","","",0,0,0,0,0,null,"");var d=YZ(b),e=a.b.an(d,a.g.bitrate,a.g.sh||[],null!=b&&!0&&(U.b()||a.A.ij()||a.A.bm()||vM()));ska(d,a.g.bitrate,e,vV(b));if(null!=e)return c.ea=e;try\{tka(a,b)\}catch(f)\{\}throw nM(uka);\};\
|
|
tka=function(a,b)\{if(PM.getInstance().b)\{var c=new Bk,d=!1;D(YZ(b),function(a)\{Dk(c,a.b);"VPAID"==a.o&&(d=!0)\},a);\
|
|
var e=a.b.Yi(),e=\{aid:CV(b),mt:c.Ra().join(","),smt:e.join(","),hvp:d,st:GV(b).join(",")\};SM(PM.getInstance(),28,e)\}\};\
|
|
ska=function(a,b,c,d)\{if(!U.b())try\{var e=Ii(a,function(a)\{return a.Vd\}),f=Ii(a,function(a)\{return a.b\});\
|
|
a=\{\};a.brs=e.join(",");a.mts=f.join(",");a.pubbr=b;a.selbr=null===c?-1:c.Vd;a.selmt=null===c?"":c.b;a.ic=!1;a.nat=!1;a.iyh=bM(c.g)?"1":"0";a.as=d;SM(PM.getInstance(),22,a)\}catch(k)\{\}\};\
|
|
i0=function(a,b)\{b in a.ha||(a.ha.push(b),a.ka(b))\};\
|
|
vka=function(a)\{var b=Z(a),c=\{\};c.pubbr=a.g.bitrate;c.ic=!1;c.nat=!1;if(null!=b)\{a=YZ(b);var d=b.b,d=d?d.ea:null,e=Ii(a,function(a)\{return a.Vd\});\
|
|
a=Ii(a,function(a)\{return a.b\});\
|
|
c.brs=e.join(",");c.mts=a.join(",");c.as=vV(b);null===d?(c.selbr=-1,c.selmt="",c.iyh="0",c.murl=""):(c.selbr=d.Vd,c.selmt=d.b,c.iyh=bM(d.g)?"1":"0",c.murl=d.g)\}SM(PM.getInstance(),45,c)\};\
|
|
k0=function(a,b,c)\{b.kb();var d=null;UZ(a)&&(JV(Z(a)),d=KV(Z(a)));null!=d?wka(a,Z(a),d,b,c):(j0(a,c),a.Gh(),UZ(a)?(oM(nM,a,b,c,void 0),a.start()):(pM(a,b,c),a.stop()))\};\
|
|
wka=function(a,b,c,d,e)\{b=x(function(a)\{a=a[0];this.Ym(Z(this),a);UZ(this)?(oM(nM,this,d,e,void 0),this.start()):k0(this,l0,nM(l0))\},a);\
|
|
a=x(function()\{k0(this,m0,nM(m0))\},a);\
|
|
qU(c,b,a)\};\
|
|
j0=function(a,b)\{var c=nM(n0,b),c=aU(c,Z(a),a.b),d=wV(Z(a));jM(d,c)\};\
|
|
o0=function(a)\{if(U.g)\{var b=f0(Z(a));null!=b&&eM(b)\}a.ka("click")\};\
|
|
p0=function(a,b)\{Vb(xka,b)&&Hm($Z(a),a.N,b,a.Ms,a)\};\
|
|
q0=function(a)\{if(!a.ea)\{var b=Z(a),c=b.C;if(gW(b)&&!U.b()&&!a.A.ij()&&c)\{var b=a.b.getCurrentTime(),d=a.b.rd(),e=new L("//s.youtube.com/s");mh(e,"ns","yt");mh(e,"el","adunit");mh(e,"docid",c);mh(e,"eurl",window.document.URL);mh(e,"len",d.toFixed(2));mh(e,"tv","1");mh(e,"ps","trueview-instream");mh(e,"st",b.toFixed(2));mh(e,"et",b.toFixed(2));mh(e,"rt",b.toFixed(2));fM(e.toString());a.ea=!0\}\}\};\
|
|
yka=function(a)\{var b=Z(a).da;if(null!=b)\{var b=b.videoId,c=a.g.cg;if(A(B(b)))b=null;else\{var c=new L((null!=c?c:"//www.youtube.com/")+"watch"),d=c.b;d.set("v",b);gh(c,d);c.G="action=share";b=c.toString()\}null!=b&&(eM(b),a.Et())\}\};\
|
|
zka=function(a)\{a=r0(a)||s0(a);null!=a&&gM(a,"sharebuttondisplayed")\};\
|
|
r0=function(a)\{a=Z(a).getExtension("AdSense");return null!=a?new L(a.A):null\};\
|
|
s0=function(a)\{if(a=Z(a).b)if(a=rT(a,"start"),!kb(a))return new L(a[0].b);return null\};\
|
|
Aka=function(a)\{var b=Z(a),c=b.da;null!=c&&(b=YQ(c.videoId,null!=bW(b),a.g.cg),null!==b&&(a.b.pause(),eM(b)))\};\
|
|
t0=function(a)\{Y_(a,function()\{this.ka("skip");$_(this)\})\};\
|
|
u0=function(a,b)\{hka(b,function(a)\{a=new L_(a);UZ(this)&&Z(this).C==a.videoId&&(Bka(this,a),!A(B(a.channelId))&&a.isListed&&ika(a.channelId,function(a)\{a=new cT(a);var b=Z(this),c=XL().b;if(null!=this.o)\{var d=this.o,l=a.authorName;d.b.La=!A(B(l));d.b.authorName=l;null!=d.C&&Tf(d.C,(new yR("da "+d.b.authorName,void 0)).gc());BZ(d);d=this.o;l=a.b;d.b.ga=!A(B(l));if(null!=d.K)\{var m=Ef("img");m.setAttribute("src",l);J(m,"videoAdUiAuthorIconImage");d.K.appendChild(m);null!=d.D&&J(d.D,"videoAdUiTitleWithAuthorIcon");\
|
|
null!=d.C&&J(d.C,"videoAdUiAuthorNameWithAuthorIcon")\}BZ(d)\}UZ(this)&&(Z(this).aa=a,this.ka("youTubeChannelMetadata"));if((kb(yV(b))||!yV(b)[0].g)&&c.Z("enable_website_actions_info_cards")&&c.Z("enable_website_actions_info_cards_companion")&&U.b()&&gW(b)&&(d=Xha(b,a)))\{BV(b,d);try\{b_(this,b)\}catch(y)\{k0(this,a_,y)\}\}if(d=this.o)d=Z(this),l=d.da,d=U.b()&&kb(yV(d))&&null!=d.aa&&null!=l&&l.isListed;if(d)\{$Z(this).O(window,"message",this.Gz);var d=Z(this),l=d.aa.channelId,m=fU(d),n=this.g.vg,t=this.g.cg,\
|
|
t=new L((null!=t?t:"//www.youtube.com/")+"ad_companion"),u=t.b;u.set("adformat",m);u.set("p",l);u.set("render","video_wall_companion");n&&u.set("content",n);l=new LX("1",new jf(300,250),"IFrame",null,t.toString());l.F=d;l.A=!0;TV(b,new aV(l,[],null,!0));b_(this,b)\}!WV(b)&&c.Z("enable_website_actions_info_cards")&&c.Z("enable_website_actions_info_cards_endcap")&&gW(b)&&Vha(b,a.authorName,a.b)\},this))\},a)\};\
|
|
Bka=function(a,b)\{if(null!=a.o&&b.isListed)\{var c=a.o,d=b.title;c.b.G=!A(B(d));c.b.title=d;v0.test(qe(c.b.title,void 0));null!=c.D&&Tf(c.D,c.b.title);BZ(c);c=a.o;null!=c.la?Tf(c.la,"Condividi"):null!=c.J&&Tf(c.J,"Condividi")\}UZ(a)&&(Z(a).da=b,a.ka("youTubeVideoMetadata"))\};\
|
|
w0=function(a)\{var b=Z(a).aa;if(null!=b)\{var c;c=a.g.cg;b=B(b.channelId);c=A(b)?null:(null!=c?c:"//www.youtube.com/")+"channel/"+(ta(b,"UC")&&24==b.length?b:"UC"+b);null!==c&&(a.b.pause(),eM(c))\}\};\
|
|
Cka=function(a)\{var b=uW.getInstance();if(b.g)\{var c=\{\};if(null!=a.M)\{var d=(new L(a.M.g)).g;if(null!=d)\{var d=Za(d,".",10),e=d.length;2<=e&&(c.cd1=d[e-2]+"."+d[e-1])\}c.cm1=a.M.Xe;c.cd3=a.M.b;c.cd5=b.b;c.cm2=a.g.bitrate;c.cd2=bM(a.M.g)?"1":"0";d=a.M.bb();e=a.M.getHeight();null!=d&&null!=e&&(c.cd8=d+"x"+e);a.b&&(d=a.b.sd(),c.cd4=d.width+"x"+d.height);a=a.M.D;A(B(a))||(c.cd7=a)\}b.end("bt",c)\}\};\
|
|
x0=function(a,b)\{mc.call(this,"vpaidEvent");this.sessionId=b\};\
|
|
y0=function(a)\{TZ.call(this,a);this.Ga=this.la=this.ia=!1;this.ca=[];this.X=Ua();this.o=null;this.C=!0;this.ha=-1;this.ea=new be(500);this.na=this.aa=-1;this.N=1;this.Aa=this.Ia="";this.R=!1;this.M=2==U.A\};\
|
|
A0=function(a)\{var b=zV(Z(a)),c=B(SV(Z(a))),d=eW(Z(a)),c=\{desiredBitrate:a.g.bitrate,creativeData:b,viewMode:a.J,clickThroughUrl:c,adUrl:d\};eW(Z(a)).match("//s0.2mdn.net/instream/html5/survey/survey.html")&&0<=b.indexOf("yt_override")&&null!=a.g.surveyCreativeData&&(c.creativeData=a.g.surveyCreativeData);z0(a,"initAd",c);D(a.ca,function(a)\{z0(this,a.type,a.params)\},a);\
|
|
a.ia=!0;a.ca=[]\};\
|
|
B0=function(a,b,c)\{c=c||null;a.ia?z0(a,b,c):a.ca.push(\{type:b,params:c\})\};\
|
|
z0=function(a,b,c)\{c=c||\{\};c.session=a.X;c.type=b;a.M?window.parent.postMessage(gg(c),"*"):null!=a.D.contentWindow&&a.D.contentWindow.postMessage(gg(c),"*")\};\
|
|
Eka=function(a,b)\{var c=\{\};b=Pa(b);var d;b.length?d=b.split(/\\s+/):d=[];D(d,function(a)\{c[a]=!0\});\
|
|
Pb(Dka,function(a,b)\{XL().b.Z(b)&&(c[a]=!0)\},a);\
|
|
return Yb(c).join(" ")\};\
|
|
C0=function(a,b,c,d)\{d=nM(b,c,d);var e=aU(d,Z(a)),f=wV(Z(a));jM(f,e);b.message=d.b;pM(a,b,c)\};\
|
|
E0=function(a,b)\{if(w(b.type))switch(b.type)\{case "friendlyReady":A0(a);break;case "videoCall":switch(b.func)\{case "load":case "play":a.A.th();a.Aa!=b.src&&(a.Aa=b.src,a.o.load(b.src,b.mimetype));a.o.play();break;case "pause":a.o.pause()\}break;case "returnDuration":a.aa=b.duration;break;case "returnRemainingTime":a.ha=b.remainingTime;break;case "AdClickThru":c_(a,"click");a.ka("click");break;case "AdDurationChange":a.aa=b.duration;a.ha=b.remainingTime;Z(a).b.R=a.aa;a.ka("durationChange");break;case "AdError":C0(a,\
|
|
D_,Error(b.message));a.stop();break;case "AdExpandedChange":a.ka("expandedChanged");break;case "AdImpression":var c=Z(a);kb(yV(c))||b_(a,c);a.ka("impression");break;case "AdLinearChange":c=b.isLinear;!a.C&&c?(a.ka("contentPauseRequested"),B0(a,"becameLinear")):!c&&a.C&&(a.ka("contentResumeRequested"),B0(a,"becameNonlinear"),B0(a,"getAdRemainingTime"),B0(a,"getAdDuration"));a.C=c;var d=Z(a);d.ha=!0;d.ia=c;a.ka("linearChanged");break;case "AdLoaded":ee(a.na);a.la=!0;d=b.companions;c=Z(a);kb(yV(c))&&\
|
|
(d=TX(d,c.b.b),kb(d)||kV(c,d));D0(a);d_(a,"loaded");break;case "AdPaused":a.R=!0;d_(a,"pause");break;case "AdPlaying":a.R=!1;d_(a,"resume");break;case "AdRemainingTimeChange":a.ha=b.remainingTime;break;case "AdSkipped":d_(a,"skip");a.stop();break;case "AdSkippableStateChange":d_(a,"skippableStateChanged");break;case "AdStarted":c_(a,"impression");c_(a,"creativeview");a.ka("start");break;case "AdStopped":c_(a,"stop");a.stop();break;case "AdUserAcceptInvitation":a.C?c_(a,"acceptinvitationlinear"):c_(a,\
|
|
"acceptinvitation");break;case "AdUserMinimize":c_(a,"collapse");break;case "AdUserClose":d_(a,"userClose");break;case "AdVideoComplete":d_(a,"complete");break;case "AdVideoFirstQuartile":d_(a,"firstquartile");break;case "AdVideoMidpoint":d_(a,"midpoint");break;case "AdVideoStart":c_(a,"start");break;case "AdVideoThirdQuartile":d_(a,"thirdquartile");break;case "AdVolumeChange":c=b.volume;c!=a.N&&a.ka("volumeChange");0==c&&0!=a.N?(c_(a,"mute"),a.ka("mute")):0==a.N&&0!=c&&c_(a,"unmute");a.N=c;a.o.setVolume(c);\
|
|
break;case "Ping":fM(b.url)\}\};\
|
|
F0=function(a,b)\{z0(a,"wrapperCall",\{messageType:b\})\};\
|
|
D0=function(a)\{a.la&&a.Ga&&(B0(a,"startAd"),a.ea.start(),a.C||(B0(a,"becameNonlinear"),B0(a,"getAdRemainingTime")),B0(a,"getAdDuration"))\};\
|
|
G0=function(a,b,c,d,e,f,k)\{I.call(this);this.g=this.D=0;this.J=a;this.Fc=b;this.ia=c;this.B=null;this.K=d;this.da=f;this.ba=U.o;this.G=this.H=this.C=this.b=null;this.ca=this.ga=-1;this.aa="normal";this.N=null;this.A=e;this.o=[];this.ha=this.R=this.ea=this.M=!1;this.X=k;Fka(this)\};\
|
|
H0=function(a,b,c,d)\{a.ga=b;a.ca=c;null!=d&&(a.aa=d);null!=a.b&&a.b.Xc(b,c,d)\};\
|
|
Fka=function(a)\{D(a.J,function(a)\{a=new L(a.o.b);var b=a.b.get("max_ad_duration");p(b)||a.b.get("pmxd")\})\};\
|
|
I0=function(a)\{return a.D<a.J.length&&null!=a.J[a.D]\};\
|
|
Gka=function(a,b)\{var c;if(c=U.b()&&!kb(b)&&0==a.Fc)c=b[0],c=null!=c&&null==eW(c)&&YV(c,"nonlinear");return c?(c=FV(b[0]),"ADSENSE"==(0<c.length?c.pop():vV(b[0])).toUpperCase()):!1\};\
|
|
O0=function(a)\{!I0(a)||2<=a.o.length-a.g?a.ea||(K0(a),L0(a)&&M0(a,a.g)&&N0(a,a.g),a.ea=!0,a.dispatchEvent("adBreakInitialized")):J0(a)\};\
|
|
J0=function(a)\{var b=a.J[a.D];Hm(a.F,a.K,"adsLoaderSdkAdLoaded",a.Kr,a);U.o="on_master_ad";Nja(a.K,b.o,b)\};\
|
|
K0=function(a)\{null==a.Fc||Uh(a.o,function(a)\{return!a.g\})||(a.o=le(a.o,function(a)\{return!(a.g&&!a.o)\}))\};\
|
|
M0=function(a,b)\{var c;b<a.o.length?(c=a.o[b],kb(c.b)?c=!1:(c=c.b[0],c=null!=c?!KQ(mV(c),"rm"):!1)):c=!1;return c\};\
|
|
T0=function(a)\{if(M0(a,a.g))\{var b=a.o[a.g];try\{a.R?P0(a,a.b):L0(a)?(Q0(a),a.b=a.H,a.C=a.G,a.H=null,a.G=null,a.A.Dq()):(Q0(a),a.C=new Fm(a),a.b=R0(a,b,a.C),P0(a,a.b));null!=a.B&&(a.B.dispose(),a.B=null);if(S0(a.b))\{var c=a.Ab();if(null==c||!$V(c))\{var d=Z(a.b).b;if(null!==d)\{var e=d.qa;0>=e&&!a.da.qp||(0>=e&&(e=15),a.B=new be(1E3*e),Lm(a.C,a.B,"tick",a.YD,a))\}\}\}if(S0(a.b))a.dispatchEvent("contentResumeRequested"),a.A.Zc(),a.b.start(),null!=a.B&&a.B.start();else\{var f=a.b;if(null!=f&&f instanceof X_)a.A.th(),\
|
|
a.b.start();else\{var k=a.b;if(null!=k&&k instanceof y0)a.A.Zc(),a.b.ob()?a.A.th():a.dispatchEvent("contentResumeRequested"),a.b.start();else\{var l=a.b;if(null!=l&&(l instanceof t_||l instanceof z_))a.A.Zc(),a.b.ob()||a.dispatchEvent("contentResumeRequested"),a.b.start();else throw Error("Unknown ads manager type.");\}\}\}L0(a)&&M0(a,a.g+1)&&N0(a,a.g+1)\}catch(m)\{a.g++,T0(a)\}I0(a)&&J0(a)\}else a.dispatchEvent("contentResumeRequested"),U0(a)\};\
|
|
P0=function(a,b)\{if(null===b)throw Error("Ads manager must be constructed before initialization");b.init(a.aa);null!=a.N&&b.setVolume(a.N)\};\
|
|
R0=function(a,b,c)\{b=dZ(b.b);var d=new F_(a.A,L0(a));b.F=a.X;Hm(c,b,V0,a.Lr,a);Hm(c,b,"companionBackfill",a.Lr,a);Hm(c,b,"adError",a.XB,a);Hm(c,b,"allAdsCompleted",r,a);Hm(c,b,"contentPauseRequested",a.JA,a);Hm(c,b,"contentResumeRequested",a.KA,a);Hm(c,b,"userClose",a.LA,a);Hm(c,b,"autoClose",a.IA,a);b.Rc(d,\{currentTime:0\},a.da);b.Xc(a.ga,a.ca,a.aa);return b\};\
|
|
Q0=function(a)\{a.A.Ff();null!=a.B&&(a.B.dispose(),a.B=null);null!=a.C&&(a.C.dispose(),a.C=null);null!=a.b&&(a.b.destroy(),a.b=null)\};\
|
|
W0=function(a)\{null!=a.G&&(a.G.dispose(),a.G=null);null!=a.H&&(a.H.destroy(),a.H=null)\};\
|
|
S0=function(a)\{return null!=a&&a instanceof h_\};\
|
|
U0=function(a)\{a.M=!1;a.dispatchEvent("allAdsCompleted")\};\
|
|
Hka=function(a,b,c)\{if("loaded"==b||"start"==b||"adMetadata"==b||"companionBackfill"==b||"firstquartile"==b)\{var d=0,e=0;D(a.o,function(a,b)\{var c=a.b;d+=c.length;b<this.g&&(e+=c.length)\},a);\
|
|
b=c.A;c=e+b.B;b.o=d+(a.J.length-a.D);b.g=c;b.A=a.ia;b.b=a.Fc\}\};\
|
|
N0=function(a,b)\{var c=a.o[b];a.G=new Fm(a);a.H=R0(a,c,a.G);P0(a,a.H)\};\
|
|
L0=function(a)\{null===a.A?a=!1:(a=a.A,a=!(null===a||a.hj()||U.b()||xM()||GM()||SA&&!BM(4))&&!1);return a\};\
|
|
X0=function(a)\{mc.call(this,a);this.b=null\};\
|
|
Y0=function(a,b,c)\{I.call(this);this.b=a;this.o=[];this.B=null!=c&&ga(c.backlog)?c.backlog:!1;this.C=null!=c&&ha(c.prefetch)&&0<=c.prefetch?c.prefetch:0;this.A=null;this.g=!1;Ika(this,b)\};\
|
|
Jka=function(a)\{this.b=a;this.o=this.g=!1\};\
|
|
Z0=function(a)\{a.b.start();a.g=!0\};\
|
|
Kka=function(a)\{if(a.g)\{var b=bb(a.o,function(a)\{return-1==a.b\},a);\
|
|
null!=b&&$0(a,!0,b)\}\};\
|
|
Ika=function(a,b)\{D(b,function(a)\{if((0,window.isNaN)(a))throw Error("The ad play time is not a number:"+a);Hb(this.o,new Jka(a),function(a,b)\{return yb(a.b,b.b)\})\},a)\};\
|
|
Lka=function(a,b)\{for(var c=[],d=0;d<a.o.length;d++)\{var e=a.o[d];-1!=e.b&&e.b<=b&&nb(c,e)\}return c\};\
|
|
Mka=function(a,b)\{for(var c=0;c<a.o.length;c++)\{var d=a.o[c];if(-1!=d.b&&b>=d.b-a.C&&b<d.b&&!a.o[c].g)return d\}return null\};\
|
|
a1=function(a)\{a.dispatchEvent(new X0("contentTrackingError"))\};\
|
|
$0=function(a,b,c)\{if(null!=c)\{if(!c.g)\{var d=new X0("requestAds");d.b=c.b;a.dispatchEvent(d);c.g=!0\}b&&!c.o&&(b=new X0("playAds"),b.b=c.b,a.dispatchEvent(b),c.o=!0)\}\};\
|
|
b1=function(a,b)\{F.call(this);this.A=a;this.b=-1;this.o=b\};\
|
|
c1=function(a,b)\{if(0==b.Fc||0>=a.o||0>=a.b)return!1;var c=C()/1E3,d=b.Fc-a.A.currentTime;0<d&&(c+=d);return c-a.b<=a.o\};\
|
|
cZ=function(a,b)\{TZ.call(this,[]);this.N=a;this.K=new Bg;this.C=this.o=null;this.X=new lo;this.D=null;this.aa=b;this.na=this.ca=!1;this.M=null;this.la=0;this.ea=this.ha=-1;this.ia=null;this.Aa=0;this.R=!1\};\
|
|
Oka=function(a,b)\{if(null!==a.A)\{var c=1;a.la=0;D(b,function(a)\{if((0,window.isNaN)(a))throw mM(LW,null,"timeOffset",String(a));if(-1!=a&&-1>=a)\{var b=this.N;if((0,window.isNaN)(a)||!ha(a))throw Error("Incorrect time offset.");Dg(b.b,a)&&b.b.remove(a)\}else if(b=ha(a)&&!(0,window.isNaN)(a)?this.N.b.get(a,[]):[],!kb(b))\{this.la+=b.length;var d;d=0==a||-1==a?a:c++;b=new G0(b,a,d,this.aa,this.A,this.g,this.F);if(Dg(this.K,a))throw mM(Nka,null,"Multiple ad breaks cannot share same ad play time.");this.K.set(a,\
|
|
b)\}\},a)\}\};\
|
|
Pka=function(a,b)\{a.M=$a(b);Uh(b,function(a)\{if(-1==a)return this.M=a,!0;this.M=this.M<a?a:this.M;return!1\},a)\};\
|
|
f1=function(a,b)\{a.R=!1;a.gg(b);0==b.Fc?a.jj():(-1==b.Fc?(d1(a)||!U.b()&&a.ca)&&e1(a):Z0(a.C),a.D=null)\};\
|
|
g1=function(a)\{null!=a.G&&(a.G.dispose(),a.G=null);a.ca=!1;null!=a.C&&a.C.Lb()\};\
|
|
h1=function(a)\{if(null==a.D)\{var b=oo(a.X);if(null!=b)\{a.D=b;var c=a.K.get(a.D.b);if(null!=c)if(b=b.type,"requestAds"!=b&&"playAds"!=b)a.D=null,h1(a);else if(null!=a.ia&&c1(a.ia,c))a.D=null,h1(a);else if("requestAds"==b)a.R?(a.X.isEmpty()||"playAds"!=po(a.X).type||oo(a.X),f1(a,c)):(b=$Z(a),Hm(b,c,V0,a.dispatchEvent,a),Hm(b,c,"adError",a.Zp,a),Hm(b,c,"allAdsCompleted",a.Er,a),Hm(b,c,"contentPauseRequested",a.Mq,a),Hm(b,c,"contentResumeRequested",a.jj,a),Hm(b,c,"userClose",a.RA,a),Hm(b,c,"autoClose",\
|
|
a.QA,a),Hm(b,c,"adBreakInitialized",a.Gr,a),c.init(a.ha,a.ea,a.J));else\{if("playAds"==b)if(a.R)f1(a,c);else if(null!=a.o&&a.o.Wa()&&a.gg(a.o),a.o=c,a.o.setVolume(a.volume),H0(a.o,a.ha,a.ea,a.J),a.o.R)\{c=a.o;if(c.g<c.o.length)\{b=c.o[c.g];Q0(c);try\{c.C=new Fm(c),c.b=R0(c,b,c.C)\}catch(d)\{c.g++,T0(c)\}\}a.ka("contentResumeRequested");a.C.getCurrentTime()>=a.Aa?null!=a.o&&a.o.start():a.D=null\}else a.o.start()\}else a.D=null,h1(a)\}\}\};\
|
|
e1=function(a)\{if(!a.na)\{a.na=!0;a.aa.b=!0;try\{SM(PM.getInstance(),44,\{cmpl:!0\})\}catch(b)\{\}a.ka("allAdsCompleted");-1==a.M&&i1(a)\}\};\
|
|
i1=function(a)\{ZL(XL(),420706009)||QM.clear();null!=a.F&&(a=a.F.yf(),null!=a&&TS(a,QM.b))\};\
|
|
d1=function(a)\{return 0==a.K.Ra().length\};\
|
|
Qka=function(a)\{return null!=a.o?a.o:null!=a.D?a.K.get(a.D.b):null\};\
|
|
dZ=function(a)\{if(kb(a))throw Error("Ads manager creation failure, no ads.");var b=a[0],c=pV(b)&&U.b(),c=0!=U.A||c;switch(null!=eW(b)&&c?"vpaid":GQ&&null!=fW(b)&&0!=U.A?"flash_vpaid":nV(b,UV)&&null==eW(b)&&YV(b,"nonlinear")?"overlay":YV(b,"linear")?"video":YV(b,"nonlinear")&&null==eW(b)?"overlay":null)\{case "overlay":return nV(b,UV)?new k_(a):new h_(a);case "video":return new X_(a);case "vpaid":return new y0(a);case "flash_vpaid":return 2==U.A?new z_(a):new t_(a)\}throw Error("Ads manager creation failure, failed to determine ad type.");\
|
|
\};\
|
|
j1=function(a)\{I.call(this);this.g=a;a=new lW(new NS);this.b=new $Y(0,a,QM);this.b.O("adsManagerLoaded",this.dispatchEvent,!1,this);this.b.O("adError",this.dispatchEvent,!1,this);this.b.O("adLoadError",this.dispatchEvent,!1,this)\};\
|
|
k1=function(a,b,c)\{xea();var d="",e=DN(),f=e.g,e=e.b;f&&f.url?d=f.url:e&&e.url&&(d=e.url);b.location=d;b.referrer=window.document.referrer;b.$c=CS(b.b,a.g.C);b.nn=a.g.H;Mja(a.b,b,c)\};\
|
|
l1=function(a,b)\{cJ.call(this,a,b)\};\
|
|
m1=function(a)\{this.app=a;gq.call(this,a.$a)\};\
|
|
n1=function(a,b,c)\{this.V=a;this.b=b||"";this.o=c||null;this.A=!1\};\
|
|
o1=function(a,b)\{var c=a.V;if(c.Ya&&("detailpage"==c.b||"leanback"==c.b||"embedded"==c.b&&(c.ba&&c.tb||c.experiments.Z("html5_playlist_preload")))&&!a.A)\{a.A=!0;Ti("TIMING_ACTION")||Si("TIMING_ACTION",a.V.csiPageType);a.V.Ga&&Si("CSI_SERVICE_NAME",a.V.Ga);if(a.o)\{var c=a.o.C,d;for(d in c)IC(d,c[d],a.b);d=a.o.A;for(var e in d)JC(e,d[e],a.b);e=a.o;e.C=\{\};e.A=\{\}\}JC("yt_pvis",Uba(),a.b);JC("yt_pt","html5",a.b);b&&!LC("pbs",a.b)&&a.g("pbs",b);e=a.V;("detailpage"!=e.b||"blazer"==e.g)&&LC("_start",a.b)&&\
|
|
SC(a.b)\}\};\
|
|
q1=function(a,b)\{this.b=a;this.g=ha(b)?b:null;if(ib(p1,this.b))\{if(!ha(this.g)||0>this.g)throw Error("Must have valid offset");\}else if(null!==this.g)throw Error("Must not have offset");\};\
|
|
r1=function(a)\{var b=a.g;if(null!==b)return b;switch(a.b)\{case 1:return 0;case 3:return-1;default:return-100\}\};\
|
|
Rka=function(a,b)\{var c=a.b,d=b.b;if(c!=d)\{if(1==c||3==d)return-1;if(1==d||3==c)return 1\}var e=a.g,f=b.g;return e!=f?null===e?1:null===f?-1:e-f:c-d\};\
|
|
Ska=function()\{var a;a:\{try\{a=window.top.location.href\}catch(b)\{a=2;break a\}a=null!=a?a==window.document.location.href?0:1:2\}a=\{dt:mY,flash:jO||"0",frm:a\};UN(a);return a\};\
|
|
s1=function(a)\{return a?-1!=a.toString().search(/(?:true|1)/i):!1\};\
|
|
t1=function(a,b)\{if(a)\{var c="getErrorCode"in a?a.kb():null;c?b.error_code=c:(c="getMessage"in a&&ia(a.getMessage)?a.b:a.message,c=Ja(c||"",50),b.error_message=c)\}\};\
|
|
u1=function(a,b)\{if(a)\{var c=EV(a).reverse();b.ad_id=rb(c,CV(a)).join(",");c=FV(a).reverse();b.ad_sys=rb(c,vV(a)).join(",");c=eU(a);null!=c&&(b.aqi=c)\}\};\
|
|
v1=function(a,b)\{if(a[b])return s1(a[b]);var c=b.toLowerCase(),d;for(d in a)if(d&&d.toLowerCase()==c)return s1(a[d]);return!1\};\
|
|
w1=function(a)\{var b="";a&2&&a&1?b="video":a&2?b="skippablevideo":a&1&&(b="standardvideo");a&4&&(b&&(b+="_"),b+="text_image_flash");return b\};\
|
|
x1=function(a,b,c)\{var d=new iN;d.cg=b.baseYtUrl;d.vg=c.videoId;d.yn=!0;d.hu=!0;d.iu=a.X;d.showContentThumbnail=a.showContentThumbnail;d.Fg=\{\};c.tb&&(d.Fg.ctrl=c.tb);c.ub&&(d.Fg.ytr=c.ub);c.oc&&(d.Fg.ytrcc=c.oc);c.isMdxPlayback&&(d.Fg.mdx="1");a.B?(d.Sk=!0,d.$y=!0,d.showContentThumbnail=!1,d.wn=!0,d.xn=!0,d.yn=!1):a.C&&(d.Sk=!0);d.Cq=a.Sa;return d\};\
|
|
A1=function(a)\{var b=new bY;b.B=a.g.Ca;var c=a.app.D.Ja();b.xg=c.width;b.wg=c.height;b.qd=c.width;b.pd=100;b.Pp=!0;c=new RL;c.Z=x(y1(a).experiments.Z,y1(a).experiments);c.b=x(y1(a).experiments.b,y1(a).experiments);c.g=x(y1(a).experiments.F,y1(a).experiments);b.$j=c;if(c=b.Pp?kr():-1)b.D=c;a.g.tagForChildDirected&&(b.Pj=!0);a.g.cb&&(b.fj=!0);c=z1(a);b.Eb=\{CA_TYPE:GQ?"flash":"image",CONTENT_V:c.videoId,CPN:c.clientPlaybackNonce,LACT:Tka(a),VIS:Uka(a)\};Pb(Ska(),function(a,c)\{b.Eb[c.toUpperCase()]=a\});\
|
|
b.afcRmFallback=a.g.H;y1(a).experiments.Z("ad_block_content_id")&&(b.A="yt_"+z1(a).videoId);b.language=y1(a).qa;b.Di=Vka(y1(a).experiments);return b\};\
|
|
Vka=function(a)\{var b=null,c=null;xz().then(function(a)\{b=a\},function(a)\{c=a\});\
|
|
if(null!=b)return b;if(null!=c)return c;var d=a.b("html5_serverside_biscotti_id_wait_ms"),e=a.Z("html5_serverside_call_server_on_biscotti_timeout"),f=Error("Timed out while waiting for Biscotti ID");if(0==d)return e?"NO_BID":f;if((0,window.isNaN)(d))return xz();var k;a=new Dd(function(a,b)\{k=new fe(function()\{e?a("NO_BID"):b(f)\},d);\
|
|
k.start()\});\
|
|
a=Ld([xz(),a]);Qd(Sd(a,r),function()\{k.dispose()\});\
|
|
return a\};\
|
|
Tka=function(a)\{return\{toString:function()\{return null==a||a.isDisposed()?a=null:kr().toString()\}\}\};\
|
|
Uka=function(a)\{return\{toString:function()\{return null==a||a.isDisposed()?a=null:lG(y1(a)).toString()\}\}\};\
|
|
Wka=function(a)\{return\{toString:function()\{if(null==a||a.isDisposed())return a=null;var b=a.D?a.D.g():null;return null==b||0>b?"0":Math.ceil(.001*C()-b).toString()\}\}\};\
|
|
B1=function(a,b,c,d)\{this.g=this.A="";this.o=a;this.C=b;this.b=c;this.B=d\};\
|
|
E1=function(a)\{var b=C1(a);b.format="2_3";b.at="2_3";b.trsp="1";D1(a.b,3,b)\};\
|
|
C1=function(a)\{var b=\{\};b.l_ns=a.C;b.l_state=a.B;b.break_type=a.o.b;b.sst=r1(a.o);b.sidx=0;a.A&&(b.at=a.A);a.g&&(b.ad_id=a.g);return b\};\
|
|
F1=function(a)\{F.call(this);this.g=new fe(x(this.D,this),1E3);H(this,this.g);this.C=null!=a&&0<a.b("mpu_visible_threshold_count")?a.b("mpu_visible_threshold_count"):2;this.B=this.o=0;this.b=Od();this.A=!1\};\
|
|
I1=function()\{var a=q("yt.www.watch.ads.loadAfc");ia(a)?(a(),G1=!0):H1=!0\};\
|
|
J1=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"\};\
|
|
L1=function()\{var a=q("window.google_show_companion_ad"),b;b=q("yt.www.watch.ads.getGlobals");ia(a)&&ia(b)?(b=b(),b=!(!b||!b.length)):b=!1;b?a():K1=!0\};\
|
|
O1=function(a)\{L1();M1();return N1(a)\};\
|
|
N1=function(a)\{P1||(P1=new F1(a));a=P1;a.A||(a.g.start(),a.A=!0);return a.b.o\};\
|
|
M1=function()\{P1&&(P1.dispose(),P1=null)\};\
|
|
Q1=function()\{var a=q("yt.www.watch.ads.setCompanion");a&&a()\};\
|
|
Xka=function(a)\{var b=q("yt.www.watch.ads.showForcedMpu");b&&b(a)\};\
|
|
S1=function(a,b,c,d)\{sk.call(this);this.C=!!b;this.D=a;this.g=c||a;this.G=!!d;this.b=new rx(this);this.B=this.F=null;this.A=this.o=!1;b&&(Cc&&a.setAttribute("draggable","true"),a.style.setProperty("touch-action","none"));R1(this)\};\
|
|
R1=function(a)\{a.B=null;a.F=null;a.b.S(a.g,T1("over"),a.vu);a.b.S(a.g,"touchstart",a.Jn);a.C&&a.b.S(a.g,T1("down"),a.PB)\};\
|
|
U1=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\};\
|
|
T1=function(a)\{return window.navigator.msPointerEnabled?"MSPointer"+a.charAt(0).toUpperCase()+a.substr(1):"mouse"+a\};\
|
|
V1=function(a,b)\{this.g=a;this.b=b\};\
|
|
W1=function(a)\{return a.b-a.g\};\
|
|
X1=function(a,b)\{return a.g+b*W1(a)\};\
|
|
Y1=function(a,b,c)\{return W1(a)?bf((b-a.g)/W1(a),0,1):null!=c?c:window.Infinity\};\
|
|
Z1=function()\{this.g=this.position=this.A=this.b=this.B=this.o=this.width=window.NaN\};\
|
|
$1=function(a,b,c,d,e)\{var f=b.yr/b.rows,k=Math.min(c/(b.Ar/b.Yb),d/f),l=b.Ar*k,m=b.yr*k,l=Math.floor(l/b.Yb)*b.Yb,m=Math.floor(m/b.rows)*b.rows,n=l/b.Yb,t=m/b.rows,u=-b.Ry*n,y=-b.jG*t;e&&45>=f&&(t-=1/k);n-=2/k;a=a.style;a.width=n+"px";a.height=t+"px";e||(d=(d-t)/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+") "+u+"px "+y+"px/"+l+"px "+m+"px";if(e)return new jf(n,t)\};\
|
|
a2=function(a,b,c,d)\{sk.call(this);this.b=a;this.g=d;this.videoData=null;this.adType=c;this.adSystem=b\};\
|
|
Yka=function(a,b)\{this.b=a;this.g=b||0\};\
|
|
b2=function(a)\{var b=[];D(a.split("_"),function(a,b)\{this[b]=Va(a)\},b);\
|
|
return new Yka(Vb(Zka,b[1])?b[1]:0,Vb($ka,b[2])?b[2]:0)\};\
|
|
ala=function()\{this.clickThroughUrl="";this.isSkippable=!1;this.skipShown=this.skip=r;this.skipTime=0;this.videoUrl=this.videoId="";this.adSystem=0;this.muteAdInfo=this.whyThisAdInfo=null;this.whyThisAdClosed=this.whyThisAdClicked=this.muteAd=this.sendAdsPing=r\};\
|
|
c2=function(a)\{var b;b=["div","video-ads",["div","video-ad-status-bar",["div","video-ad-label",M("YTP_ADVERTISEMENT")]],["div","ad-container"]];P.call(this,b);this.o=a;this.b=this.B=this.A=null\};\
|
|
d2=function(a)\{a.A||(a.A=a.pa["ad-container"],R(a.o).R&&J(a.A,"ad-container-single-media-element-annotations"));return a.A\};\
|
|
f2=function(a)\{a.b&&(R(a.o).R?(a.b.Tv("ad-video"),e2(a.o.app,a.b),a.b=null):(a.b.$s(),hI(a.b)))\};\
|
|
g2=function(a)\{if(!a.B)\{var b=Ef("div");ke(b,["video-click-tracking","ad-video"]);d2(a).appendChild(b);a.B=b\}return a.B\};\
|
|
bla=function(a)\{this.b=a\};\
|
|
dla=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\};\
|
|
h2=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;default:return 0\}\};\
|
|
ela=function(a,b)\{this.B=null;this.o=window.NaN;this.g=null;this.b=a;this.A=b\};\
|
|
i2=function(a,b,c)\{a.b.Y("AD_LOGGING_EVENT",b,c)\};\
|
|
l2=function(a,b,c)\{j2(a);var d=k2(a);c&&ra(d,c);d.ad_error=b;i2(a,7,d)\};\
|
|
k2=function(a)\{var b=\{\},c=a.b.videoData,d=a.b.aq(),e=a.b.Yn();u1(a.b.Ab(),b);d&&0<d&&(b.ad_len=d);b.ad_v="0";c&&c.videoId?b.ad_v=c.videoId:e&&(c=Mg(e),b.ad_dom=c,a.A.g.C&&(b.ad_v_url=e.substr(0,512)));e=a.b;(e=e.g?e.g.kg():null)&&(b.ad_cpn=e);b.format=a.b.ed();b.at=a.b.Se();b.ad_mt=Math.round(1E3*Math.max(fla(a.b),0));return b\};\
|
|
j2=function(a)\{a.B||(a.B="InstreamAdDisplay ("+a.b.ed()+")")\};\
|
|
m2=function(a,b)\{F.call(this);this.A=Math.max(0,a);this.o=this.g=0;this.B=b;this.b=window.NaN\};\
|
|
o2=function(a,b,c,d,e,f,k)\{a2.call(this,b,a,2,c);this.J=!1;this.D=this.N=this.K=null;this.b.subscribe("control_toggle_play_pause",this.rv,this);this.b.subscribe("control_play",this.Um,this);this.b.subscribe("control_pause",this.Tm,this);this.B=new ela(this,this.b);this.o=new jt(this);this.A=n2(b);this.A.subscribe("statechange",this.pv,this);this.A.subscribe("internalAbandon",this.Dr,this);this.A.subscribe("internalvideodatachange",this.qv,this);this.C=this.F=!1;this.R=d;this.M=!!e;this.ba=!!f;this.G=\
|
|
k;this.H=new m2(15E3,x(this.pk,this))\};\
|
|
q2=function(a,b)\{var c=y1(a.b);a.b.g.X&&"3"==c.A&&(c=a.b.app.D,c.G=!b,p2(c))\};\
|
|
t2=function(a)\{TC("ad_to_video",["pbresume"]);a.G&&JC("yt_abt",a.G,"ad_to_video");a.videoData&&a.videoData.clientPlaybackNonce&&JC("ad_cpn",a.videoData.clientPlaybackNonce,"ad_to_video");IC("adc",void 0,"ad_to_video");AI(n2(a.b));r2(a.b,0);s2(a.b,0);a.Y("adEnd",a);q2(a,!0)\};\
|
|
u2=function(a,b)\{y1(a.b).experiments.Z("html5_ad_error_releases")?AI(a.A):fI(a.A);r2(a.b,0);a.Y("adError",b)\};\
|
|
fla=function(a)\{return a.A?a.A.getCurrentTime():0\};\
|
|
v2=function(a)\{a=a.Ab();return a?(a=a.D.get("why_this_ad"))?\{menuTitle:a.A,targetingReasonHeader:a.B,targetingReasons:sb(a.C),closeButton:a.o,adSettingsLink:sb(a.g),controlText:a.G,continueButton:a.F,cancelButton:a.D\}:null:null\};\
|
|
w2=function(a)\{a=a.Ab();if(!a)return null;a=a.D.get("mute");if(!a)return null;for(var b=rX(a),c=[],d=0;d<b;d++)c.push(\{label:a.g[d].label,url:a.g[d].url\});return\{goneText:a.o,questionText:a.B,undoText:a.C,hoverText:a.A,surveyOptions:c\}\};\
|
|
gla=function(a,b)\{this.b=a;this.B=b;this.b.ed();this.g=this.A=0;this.o=null\};\
|
|
x2=function(a,b,c)\{a.b.Y("AD_LOGGING_EVENT",b,c)\};\
|
|
y2=function(a)\{var b=\{\};u1(a.b.Ab(),b);a.A&&a.g&&(b.ot=a.g-a.A);var c;c=a.B.isFullscreen()?2:a.B.app.ha?1:0;b.ad_ps=c;b.format=a.b.ed();b.at=a.b.Se();return b\};\
|
|
z2=function(a,b,c,d)\{a2.call(this,b,a,1,c);this.o=null;this.C=!1;this.F=null;this.B=new gla(this,b);this.A=new jt(this);this.D=!!d\};\
|
|
A2=function(a,b)\{a.F!=b&&(a.F=b)\};\
|
|
B2=function(a,b,c,d)\{F.call(this);this.K=null;this.R=a;this.g=b.rb;this.F=b;this.H=b.getId();this.b=c;this.C=d;this.o=new B1(this.g,this.$g(),c,d);this.B=null;this.N=new Fm(this);this.A=new Fm(this);this.M=/^(http(s)?:\\/\\/)(.*.)?youtube.com\\/.*$/\};\
|
|
C2=function(a)\{var b=new q1(2,10);a.g=b;a.o.o=b\};\
|
|
D2=function(a,b)\{a.K=b;var c=b.ed();a.o.A=c\};\
|
|
E2=function(a,b)\{var c=q("yt.www.watch.ads.setAdId");c&&c(b);a.o.g=b\};\
|
|
F2=function(a)\{a=r1(a.g);return 0==a||-1==a?a:1E3*a\};\
|
|
G2=function(a)\{O1(y1(a.b).experiments).then(function()\{E1(this.o)\},r,a)\};\
|
|
L2=function(a)\{var b=a.F,c=a.g;b.b=a.K;b.rb=c;H(b,b.b);0==b.wa&&(a=b.b.Se(),b.o.ga.at=a);b.b instanceof o2?b.g=!0:b.b instanceof H2?b.isVisible=!1:b.b instanceof I2?b.isVisible=!1:b.b instanceof J2&&(b.isVisible=!1);b.A="loaded";K2(b)\};\
|
|
hla=function(a)\{this.b=a\};\
|
|
H2=function(a)\{a2.call(this,a,2,3,null);this.B=this.A=this.o=0\};\
|
|
M2=function(a)\{a.o&&(Yi(a.o),a.o=0,a.A=0,a.B=0)\};\
|
|
N2=function(a,b,c)\{B2.call(this,2,a,b,c);this.D=new hla(this.b.g);J1()\};\
|
|
O2=function(a,b,c)\{this.g=this.C="";this.F=null;this.A=!1;this.B=this.o="";a&&(this.C=a,this.isLiveStream=b.isLiveStream,this.A=b.Ya,this.D=c,b=this.C,c=b.indexOf(";sz="),a=Oj(b.substring(c),";"),b=b.substring(0,c).split("pfadx"),a=2!=b.length?null:\{Ky:b[0],UF:b[1],YF:a\})&&(this.o=a.Ky,this.B=a.UF,this.F=a.YF)\};\
|
|
P2=function(a)\{this.g=a?a:""\};\
|
|
J2=function(a,b,c,d)\{z2.call(this,1,a,b,d);this.G=c\};\
|
|
Q2=function(a,b,c)\{B2.call(this,1,a,b,c);a=this.b.g;this.ba=a.ga?new P2(a.adTag):new O2(a.adTag,a,this.H)\};\
|
|
R2=function(a,b,c,d)\{Q2.call(this,a,b,c|d);this.J=c;this.G=d;this.D=null;J1()\};\
|
|
S2=function(a,b)\{var c=b.Ab(),d=FV(c);d.unshift(vV(c));for(c=0;c<d.length;++c)\{var e=ila[d[c].toUpperCase()];if(e)\{a.D=e;return\}\}a.D=0\};\
|
|
T2=function(a,b)\{this.B=[];this.K=a;this.J=b||null;this.A=this.b=!1;this.o=void 0;this.G=this.M=this.D=!1;this.C=0;this.g=null;this.F=0\};\
|
|
V2=function(a,b,c)\{a.b=!0;a.o=c;a.A=!b;U2(a)\};\
|
|
X2=function(a)\{if(a.b)\{if(!a.G)throw new W2;a.G=!1\}\};\
|
|
Z2=function(a,b,c)\{Y2(a,b,null,c)\};\
|
|
Y2=function(a,b,c,d)\{a.B.push([b,c,d]);a.b&&U2(a)\};\
|
|
$2=function(a)\{return Uh(a.B,function(a)\{return ia(a[1])\})\};\
|
|
U2=function(a)\{if(a.C&&a.b&&$2(a))\{var b=a.C,c=a3[b];c&&(aa.clearTimeout(c.wa),delete a3[b]);a.C=0\}a.g&&(a.g.F--,delete a.g);for(var b=a.o,d=c=!1;a.B.length&&!a.D;)\{var e=a.B.shift(),f=e[0],k=e[1],e=e[2];if(f=a.A?k:f)try\{var l=f.call(e||a.J,b);p(l)&&(a.A=a.A&&(l==b||l instanceof Error),a.o=b=l);if(Bd(b)||"function"===typeof aa.Promise&&b instanceof aa.Promise)d=!0,a.D=!0\}catch(m)\{b=m,a.A=!0,$2(a)||(c=!0)\}\}a.o=b;d&&(l=x(a.H,a,!0),d=x(a.H,a,!1),b instanceof T2?(Y2(b,l,d),b.M=!0):b.then(l,d));c&&(b=\
|
|
new b3(b),a3[b.wa]=b,a.C=b.wa)\};\
|
|
W2=function()\{sa.call(this)\};\
|
|
c3=function()\{sa.call(this)\};\
|
|
b3=function(a)\{this.wa=aa.setTimeout(x(this.g,this),0);this.b=a\};\
|
|
d3=function(a,b)\{var c=b.g;this.D=c.forceAdUrl;var d=0,c=c.forceAdType.toUpperCase();"INVIDEO"==c?d=4:"INSTREAM"==c?d=1:"MPU"==c&&(d=8);B2.call(this,2,a,b,d)\};\
|
|
e3=function()\{this.B=new P(["button",["ad-carousel-nav-button","ad-carousel-nav-prev"],\{type:"button",onclick:"return false;"\},["span",["ad-carousel-prev-icon","yt-uix-tooltip","yt-sprite"],\{"data-tooltip-text":"Prev",title:"Prev"\}]]);H(this,this.B);this.B.O("click",this.F,this);this.A=new P(["button",["ad-carousel-nav-button","ad-carousel-nav-next"],\{type:"button",onclick:"return false;"\},["span",["ad-carousel-next-icon","yt-uix-tooltip","yt-sprite"],\{"data-tooltip-text":"Next",title:"Next"\}]]);\
|
|
H(this,this.A);this.A.O("click",this.D,this);P.call(this,["div","ad-carousel",["div","ad-carousel-clip",["ul",["ad-carousel-list","ad-carousel-list-animation"],"\{\{items\}\}"]],this.B,this.A]);this.C=this.pa["ad-carousel-list"];this.o=0;this.b=[]\};\
|
|
jla=function(a,b)\{a.clear();a.b=Ii(b,function(a)\{var b=new P(["li","ad-carousel-listitem",["div","ad-carousel-item",a]]);H(b,a);return b\});\
|
|
a.va("items",a.b)\};\
|
|
g3=function(a)\{a.C&&Is(a.C,"left",(2>a.b.length?0:-a.o*a.b[1].element.clientWidth)+"px");a.B.fb(0<a.o);a.A.fb(a.o<a.b.length-f3(a))\};\
|
|
f3=function(a)\{return 2>a.b.length?1:Math.floor((a.element.clientWidth-a.b[0].element.clientWidth)/a.b[1].element.clientWidth)+1\};\
|
|
h3=function()\{this.b=new e3;this.B=new rx(this);H(this,this.B);this.C=new fe(this.tn,200,this);H(this,this.C);var a=["div","iv-btp-companion",["div","iv-btp-block-clicks"],["div","iv-btp-attribution",["span","iv-btp-title","\{\{title\}\}"],["div",["yt-uix-hovercard","ad-info-container"],["span","iv-btp-sponsored",M("YTP_SPONSORED")],["span","yt-uix-hovercard-target",\{"data-position":"topright","data-orientation":"horizontal"\},["span","ad-info-icon"]],["div","yt-uix-hovercard-content",["span","ytp-ad_settings",\
|
|
M("YTP_SPONSORED_PRODUCT_INFO")]]]],this.b];GK.call(this,a);this.A=this.pa["iv-btp-block-clicks"];this.o=new fe(qa(function(a)\{S(a,!1)\},this.A),1E3);\
|
|
H(this,this.o);this.B.S(window,"resize",this.Rz)\};\
|
|
kla=function(a,b)\{a.clear();S(a.A,!0);var c=Ii(b,x(a.Vy,a));a.va("title",0<b.length?ET(b[0],"teaser_text"):"");jla(a.b,c);a.tn()\};\
|
|
nla=function(a)\{return lla().then(qa(mla,a))\};\
|
|
lla=function()\{i3||(i3=ola()?Hd():new Dd(function(a)\{ij("watchAdsInit",a)\}));\
|
|
return i3\};\
|
|
ola=function()\{var a=q("yt.www.watch.ads.promotionShelfShow");return ia(a)\};\
|
|
mla=function(a)\{var b=q("yt.www.watch.ads.promotionShelfClear");b&&b();b=q("yt.www.watch.ads.promotionShelfShow");null!=b&&b(a)\};\
|
|
j3=function(a,b)\{a2.call(this,a,14,14,b);this.o=new h3;H(this,this.o)\};\
|
|
pla=function(a)\{var b=a.g.Ab().H,c=le(b,function(a)\{return!!DT(a.zf(),"show_in_promotion_shelf",void 0)\});\
|
|
kb(c)&&(c=b);kb(c)||(kla(a.o,c),nla(a.o.element).then(a.o.start,null,a.o))\};\
|
|
k3=function(a,b,c)\{B2.call(this,14,a,b,c)\};\
|
|
l3=function(a,b,c)\{B2.call(this,14,a,b,c)\};\
|
|
m3=function(a,b)\{return"9t_D9IIh_ZI"==b.ea||a.experiments.Z("enable_html5_freewheel_longform")\};\
|
|
qla=function(a,b,c,d,e)\{this.A=a;this.o=b;this.b=c;this.V=y1(this.A);this.B=d;this.C=z1(this.A).lengthSeconds;this.D=e;this.g="html5";n3(this)&&"embedded"==this.V.b?this.g="html5_embed":AA||zA?this.g="html5_ios":Mp("android")?this.g="html5_android":Up()?this.g="html5_wp":Pp()?this.g="html5_ps3":"leanback"==this.V.b?(a=(Zb(window,"environment","brand")||"").toLowerCase(),b=(Zb(window,"environment","model")||"").toLowerCase(),this.g="roku"==a||"bskyb"==a?"roku":"wiiu"==b?"wii":"html5_tv_leanback"):\
|
|
Tp()?this.g="html5_wii":n3(this)&&(this.g="html5_desktop")\};\
|
|
p3=function(a)\{var b="";a.b.A&&!a.b.o?b=";linear-skippable":!a.b.A&&a.b.o&&(b=";video");return o3(a)+b\};\
|
|
o3=function(a)\{return q3(a.o)?"preroll":r3(a.o)?"postroll":"midroll"\};\
|
|
t3=function(a)\{return(a=a.A.o)?Uh(a.o,function(a)\{return s3(a)||r3(a)\}):!1\};\
|
|
n3=function(a)\{return!t3(a)||m3(a.V,a.b)\};\
|
|
I2=function(a,b)\{z2.call(this,4,a,b)\};\
|
|
u3=function(a,b,c)\{B2.call(this,4,a,b,c);var d=this.b.g;this.D=B(d.Ha);var e=z1(this.b)&&z1(this.b).spacecastModule;this.G=new qla(b,a,d,c,!!e)\};\
|
|
v3=function(a,b,c)\{this.o=a;this.b=b;this.g=c||0\};\
|
|
rla=function(a)\{return 0<((a.b|a.g)&3)\};\
|
|
w3=function(a,b,c,d,e)\{sk.call(this);this.D=!0;this.g=!1;this.isVisible=!0;this.A="unloaded";this.F=!1;this.wa=b;this.o=a;this.rb=c;this.C=d;this.B=this.b=null;this.G=!!e\};\
|
|
z3=function(a)\{return q3(a)?x3(a)&&y3(a)?-0x8000000000000:0:ha(a.rb.g)?1E3*r1(a.rb):0x8000000000000\};\
|
|
sla=function(a)\{var b=!y1(a.o).experiments.Z("disable_fetching_previous_nonadjacent_midrolls");return q3(a)||b&&a.o.b&&1E3*a.o.b.getCurrentTime()>=z3(a)?!1:Vk(a.C,function(a)\{switch(a.Fb())\{case 1:case 2:case 3:case 5:return!0;default:return!1\}\})\};\
|
|
x3=function(a)\{return"loaded"==a.A||"error"==a.A\};\
|
|
q3=function(a)\{return 1==a.rb.b\};\
|
|
y3=function(a)\{if(!x3(a))throw Error("Preroll status is undefined before ad load.");return q3(a)&&a.g\};\
|
|
s3=function(a)\{return 2==a.rb.b\};\
|
|
r3=function(a)\{return 3==a.rb.b\};\
|
|
D3=function(a)\{a.A="loading";q3(a)&&!Uh(a.C,rla)&&kq(a.o);if(a.G)a.A="loaded",a.g=!0,K2(a);else\{var b=a.C.shift();b?(q3(a)&&A3(a.o,"nl"),b=b.create(a,a.o),H(a,b),b.load()):(D1(a.o,2,B3(a,\{\})),C3(a,!1),a.A="error",K2(a))\}\};\
|
|
E3=function(a)\{a.b&&(a.b.Fa("adEnd",a.Ir,a),a.b.Fa("adError",a.jv,a),a.b.Fa("AD_LOGGING_EVENT",a.hs,a),a.b.Fa("select",a.hv,a),a.b.Fa("adCompanionInitialized",a.kv,a))\};\
|
|
K2=function(a)\{a.Y("adBreakComplete",a)\};\
|
|
C3=function(a,b)\{a.B&&(a.B.Nf(\{FILLED_OPPORTUNITY:b?1:0\}),a.B.dispose(),a.B=null)\};\
|
|
B3=function(a,b)\{b.break_type=a.rb.b;b.sst=r1(a.rb);b.sidx=0;return b\};\
|
|
F3=function(a)\{var b=0;a.K&&(b|=1);a.J&&(b|=2);var c=0;a.D&&(a.F&&(c=4),b||a.ba||(b=c,c=0));a=new Bg;a.set(3,b);a.set(4,c);return a\};\
|
|
G3=function(a,b)\{var c=[];if(a.ca)return c.push("pla"==(a.forceAdType||"").toLowerCase()?new v3(8,16):new v3(4,0)),c;if(a.independentBreakOffsets&&5==b)return a.ba&&c.push(new v3(7,16)),c;if(a.M)\{var d=0;if(a.o||a.A)d|=1;a.N&&(d|=4);a.R&&(d|=8);c.push(new v3(5,d))\}d=0;a.G&&(a.o&&(d|=1),a.A&&(d|=2),a.N&&a.D&&(d|=4),a.R&&a.D&&(d|=8));var e=F3(a),f=e.get(3);d&&f&&tla(a,b)?c.push(new v3(3,d,f)):(d&&c.push(new v3(2,d)),f&&c.push(new v3(1,f)));a.independentBreakOffsets||f&4||!a.ba||c.push(new v3(7,16));\
|
|
(d=e.get(4))&&c.push(new v3(1,d));return c\};\
|
|
H3=function(a)\{this.b=a\};\
|
|
I3=function(a)\{var b=[];D(ula(a),function(a,d)\{var c=new w3(this.b,d,a,G3(this.b.g,a.b));b.push(c)\},a);\
|
|
return b\};\
|
|
ula=function(a)\{var b=a.b.g,c=[];if(b.M&&!m3(y1(a.b),b))c=J3;else if(b.ha)\{var d=b.ha.split(",");for(a=0;a<d.length;a++)\{var e=Va(d[a]),e=0>e?new q1(3):0<e?new q1(2,e):new q1(1);c.push(e)\}\}else c=J3;if(b.independentBreakOffsets)for(b=b.independentBreakOffsets.split(","),a=0;a<b.length;a++)c.push(new q1(5,Va(b[a])));Cb(c,Rka);return c\};\
|
|
yla=function(a,b)\{this.V=a;this.B=this.V.isMobile;this.C="leanback"==this.V.b;this.b=this.B||this.C;this.X=!this.C&&!DA(a);this.o=s1(b.instream);this.isLiveStream=1==b.livestream;this.A=s1(b.trueview);this.da=s1(b.aftv);this.ha=b.ad_slots;this.independentBreakOffsets=b.independent_break_offsets;this.adFlags=b.ad_flags||0;this.ia=b.cafe_experiment_id;this.adTag=b.ad_tag;this.Oa=!!b.adtest;this.afvAdTag=b.afv_ad_tag;vla(this.afvAdTag);this.afvInvideoAdTag=b.afv_invideo_ad_tag;this.na=(0,window.parseInt)(b.ad_age,\
|
|
10);this.applyFadeOnMidrolls=!!b.apply_fade_on_midrolls&&(this.o||this.A)&&!this.V.useMediaVolume;this.Aa=b.cid;this.ea=rz(b);this.dynamicAllocationAdTag=b.dynamic_allocation_ad_tag;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.Ca=(0,window.parseInt)(b.forced_skip_offset,10);this.forceAdType=b.force_ad_type;this.forceAdUrl=b.force_ad_url;this.Ha=b.freewheel_ad_tag;this.gender=bc(wla,function(a)\{return a==b.ad_gender\});\
|
|
this.gb=b.dbp;this.H=s1(b.afc_rm_fallback);this.Ya=!!b.mpu;this.F=s1(b.afv)&&!this.b;this.J=this.da&&this.A;this.K=this.da&&this.o&&!s1(b.no_afv_instream);this.G=s1(b.dclk);this.ga=s1(b.gpt_migration);this.ca=s1(b.forced_ad);this.M=1==(0,window.parseInt)(b.tpas_ad_type_id,10);this.Za=!!b.fqsf;this.N=s1(b.invideo)&&!this.b;this.R=s1(b.mpu)&&!this.b;this.ba=!!b.pla;this.Ga=s1(b.shortform);this.D=s1(b.sffb);this.ua=b.ad_language_iso639_2;this.maxDynamicAllocationAdTagLength=(0,window.parseInt)(b.max_dynamic_allocation_ad_tag_length,\
|
|
10);(0,window.isNaN)(this.maxDynamicAllocationAdTagLength)&&(this.maxDynamicAllocationAdTagLength=2E3);this.g=(0,window.parseInt)(b.midroll_freqcap,10);(0,window.isNaN)(this.g)&&(this.g=-1);this.midrollPrefetchSize=(0,window.parseInt)(b.midroll_prefetch_size,10)||0;this.Ia=b.pla_ad_tag;ga(b.show_content_thumbnail)&&(this.showContentThumbnail=b.show_content_thumbnail);this.tagForChildDirected=s1(b.tag_for_child_directed);this.serverPrefetchedVast=b.server_prefetched_vast;this.surveyCreativeData=b.surveyCreativeData;\
|
|
this.aa=this.da&&this.D&&!this.F;this.la=this.F||this.aa;this.Na=(0,window.parseInt)(b.ad_device,10);this.qa=b.tpas_video_id;this.La=b.tpas_partner_id;this.vmap=b.vmap;this.Ub=this.V.Ub;this.cb=b.post_ad_requests;this.showContentThumbnail=!0;this.Sa=xla(b.serialized_ad_ux_config)\};\
|
|
tla=function(a,b)\{if(A(B(a.dynamicAllocationAdTag)))return!1;var c=(a.o||a.A)&&a.G;a.D&&a.G&&(c=c||a.N||a.R);if(!c)return!1;c=a.J||a.K;if(!(c||a.D&&a.F))return!1;if(1==b&&a.serverPrefetchedVast)return!0;var d=a.dynamicAllocationAdTag.length+330+(a.ga?25:102);window.document.referrer&&(d+=va("ref="+va(window.document.referrer)).length);c||(d+=41);return d<=a.maxDynamicAllocationAdTagLength\};\
|
|
vla=function(a)\{A(B(a))||(new L(a)).b.get("channel")\};\
|
|
xla=function(a)\{if(a)try\{var b=cg(a);return new bN(b)\}catch(c)\{\}return null\};\
|
|
K3=function(a,b)\{F.call(this);this.C=a;this.o=new Fm(this);H(this,this.o);this.g=null;this.b=!1;this.o.O(b,"companionImpression",this.B);this.o.O(b,"companionClick",this.A)\};\
|
|
M3=function(a,b)\{F.call(this);this.b=a;this.H=b;this.D=a.b.getVideoData();this.A=[];this.g=0;this.o=window.NaN;this.B=this.C=this.F=0;this.G=!1;var c=y1(a).experiments;this.K=c.Z("enable_dynamic_ad_break")&&!!this.D.lengthSeconds&&600<this.D.lengthSeconds;this.M=c.b("dynamic_ad_break_pause_threshold_sec")||5;this.R=c.b("dynamic_ad_break_seek_threshold_sec")||120;this.K&&L3(this.b,this.J,this)\};\
|
|
N3=function(a)\{return(a.b.A?a.G:!!a.b.o&&0==a.b.o.o.length)&&1==a.b.getPresentingPlayerType()\};\
|
|
O3=function(a,b)\{var c=null!=Sj(y1(a.b).H).debugjs,d=a.D.videoId,e=a.D.eventId,f=a.g,k;k=a.A.length?a.A[a.A.length-1]:Math.max(a.H.g(),a.C);k=C()/1E3-k-a.B;c=Uj("/gen_204?"+Tg(\{a:"longform-dynamic-ad-break-desktop-"+b,vid:d,eid:e,mt:f,cwt:k,dt:C()/1E3,dab:a.A,paet:Math.max(a.H.g(),a.C),debug:c\}),\{\});Wp(c)\};\
|
|
P3=function(a)\{F.call(this);this.b=a;this.g=window.NaN;this.B=\{\};a=a.g;this.C=a.fadeInDurationMilliseconds;this.D=a.fadeInStartMilliseconds;this.o=a.fadeOutDurationMilliseconds;this.A=a.fadeOutStartMilliseconds;this.Xt()\};\
|
|
Q3=function(a,b)\{a.B[b]&&(xJ(a.b.b,[a.B[b]],void 0),delete a.B[b])\};\
|
|
R3=function(a,b,c,d)\{0>=c||((0,window.isNaN)(a.g)||Xi(a.g),c=C()+c,a.g=0==d?Qq(x(a.vv,a,b,c,100),0):Qq(x(a.uv,a,b,c,100),0))\};\
|
|
S3=function(a,b,c)\{a=z1(a.b).Db;b.setVolume(c*a)\};\
|
|
T3=function(a)\{P3.call(this,a)\};\
|
|
U3=function(a,b,c)\{F.call(this);this.b=a;this.D=b;this.B=c;this.o=-1;this.C=window.NaN;this.B&&0<this.b.g.g&&this.b.subscribe("endseeking",this.A,this)\};\
|
|
zla=function(a,b)\{V3(a);0<b&&(a.C=Vi(x(a.A,a),1E3*b))\};\
|
|
V3=function(a)\{Xi(a.C);a.C=window.NaN\};\
|
|
X3=function(a,b)\{if(!a.B||!s3(b)&&!r3(b))return!1;var c=a.b.g.g;if(0>=c||0>=a.o)return!1;var d=C()/1E3,e=W3(a,b)-a.b.b.getCurrentTime();0<e&&(d+=e);return d-a.o<=c\};\
|
|
W3=function(a,b)\{return r3(b)?a.b.b.getVideoData().lengthSeconds:r1(b.rb)\};\
|
|
Y3=function(a,b)\{F.call(this);this.J=this.b=null;this.M=[];this.N=window.NaN;this.o=b;this.G=[];this.A=\{\};this.D=\{\};this.g=a;var c=a.g,d=!c.isLiveStream&&Uh(this.o,function(a)\{return s3(a)||r3(a)\});\
|
|
this.B=new U3(this.g,this,d);this.C=c.applyFadeOnMidrolls?new P3(a):new T3(a);this.ga=new M3(this.g,this.B);this.aa=Uh(this.o,function(a)\{return q3(a)\})\};\
|
|
Ala=function(a)\{a.G.length||(a.G=le(a.o,function(a)\{return"unloaded"==a.A\}),0==a.G.length?kq(a.g):(a.aa||kq(a.g),Z3(a)))\};\
|
|
Z3=function(a)\{if(a.G.length)\{var b=a.G.shift();b.subscribe("adBreakComplete",a.Dg,a);b.subscribe("adCompanionInitialized",a.Qm,a);D3(b)\}\};\
|
|
Bla=function(a,b)\{function c(a)\{return a&&5!=a.rb.b\}\
|
|
var d=gb(a.o,b),e=ub(a.o,d+1);return\{previous:bb(ub(a.o,0,d),c),next:bb(e,c)\}\};\
|
|
$3=function(a,b,c)\{var d=z3(b);if(!(0,window.isNaN)(d))\{var e=\{\};e.priority=-2!=r1(b.rb)?2:3;e.id=String(b.getId());e.visible=b.isVisible;d=a.C.Rt(b,d);c=a.C.Qt(b,c);c=new dq(d,c,e);a.D[b.getId()]=c;a.g.wb([c]);a.C.fp(b)\}\};\
|
|
a4=function(a,b)\{var c=b.getId();a.D[c]&&(Q3(a.C,c),xJ(a.g.b,[a.D[c]],void 0),delete a.D[c])\};\
|
|
d4=function(a,b)\{if(p(b))\{var c=a.qk(b);if(c)if(a.b==c&&!c.g&&c.isVisible)c.show();else\{if(a.b)\{if(5==c.rb.b)\{a.b.g?a.M.push(b):c.show();return\}a.xf(a.b)\}if(X3(a.B,c))a.b=null,c=a.D[c.getId()],c.visible||(c.visible=!0,a.g.b.wb([c],1));else\{5!=c.rb.b&&(a.b=c);c.subscribe("adBreakComplete",a.Mm,a);c.subscribe("adCompanionInitialized",a.Qm,a);if(c.g)\{1!=c.rb.b&&TC("video_to_ad",["apbs"]);b4(a.g);var d=a.B.g(),d=\{tfla:0<d?Math.floor(C()/1E3-d):0\};c4(a.g.ba,"show_instream_ads",d)\}a.C.wv(c);c.show()\}\}\}\};\
|
|
e4=function(a,b,c)\{Y3.call(this,a,b);this.H=[];this.K=[];this.F=[];this.X=c;this.ba=window.NaN;this.R=a.g.g;var d=!y1(a).experiments.Z("disable_fetching_previous_nonadjacent_midrolls"),e=1E3*a.b.getCurrentTime(),d=d?null:fb(b,function(b)\{return a.b&&e>=z3(b)\});\
|
|
if(1<=c)for(c=0;c<b.length;c++)\{var f=b[c];if(sla(f)&&f!=d)\{var k=new w3(f.o,f.wa,f.rb,f.C,!0);b[c]=k;this.H.push(f)\}\}this.aa||this.Gg()\};\
|
|
f4=function(a)\{Xi(a.ba);a.ba=window.NaN\};\
|
|
g4=function(a,b)\{Y3.call(this,a,b);this.ba=a;this.X=!0;this.H=[];this.ea=1;this.K=0\};\
|
|
h4=function(a)\{if(null==a.b&&0<a.H.length)\{var b=a.H[0];b.isVisible?(a.X=a.F.G,a.ca=Math.ceil(C()/1E3),b.subscribe("adBreakComplete",a.R,a),a.b=b,b.show()):a.R()\}else null!=a.b&&a.K++\};\
|
|
Cla=function(a,b)\{this.G=a;this.C=b;this.F=C();this.B=0;this.b=a.g;this.A=\{\};this.D=new bla(a);var c=[];this.b.M&&this.b.o&&c.push("4_2");this.b.G&&(this.b.o&&c.push("1_2"),this.b.A&&c.push("1_2_1"),this.b.N&&c.push("1_1"),this.b.R&&c.push("1_3"));this.b.J&&c.push("2_2_1");this.b.K&&c.push("2_2");this.b.F&&c.push("2_1");(this.b.la||this.b.H)&&c.push("2_3");this.b.ba&&c.push("14_14");this.g=c.join(",");this.o="";this.A.allowed=this.g;(c=this.b.excludedAds)&&(this.A.ex_ads=c)\};\
|
|
Dla=function(a)\{this.b=a\};\
|
|
c4=function(a,b,c)\{var d=i4,d=d||i4;Uh(d,function(a)\{return y1(this.b).experiments.Z(a)\},a)&&(c=c||\{\},c.cdp=1,c["var"]=b,c.sdkv="h.3.0",a.b.log(c))\};\
|
|
j4=function(a)\{if(!/^\\d+?(:\\d+)\{0,2\}(\\.\\d+)?$/.test(a))return null;var b=0;D(a.split(":"),function(a)\{b=60*b+Math.abs((0,window.parseFloat)(a))\});\
|
|
return 1E3*b\};\
|
|
l4=function(a,b,c)\{F.call(this);this.g=a;this.A=b;this.F=c;this.B=this.C=-1;this.b=k4(this.A.ne());a=this.A.ne();a.length&&(a=a[a.length-1],-1==a&&this.g.wb([this.b[a]]));0<this.g.g.g&&this.g.subscribe("endseeking",this.o,this)\};\
|
|
Ela=function(a,b)\{m4(a);0<b&&(a.B=Vi(x(a.o,a),1E3*b))\};\
|
|
m4=function(a)\{-1!=a.B&&(Xi(a.B),a.B=-1)\};\
|
|
k4=function(a)\{if(!a.length)return\{\};for(var b=\{\},c=0;c<a.length-1;c++)\{var d=a[c],e;e=a[c+1];e=-1==e?0x8000000000000:1E3*e;b[d]=new dq(-1==d?0x8000000000000:1E3*d,0x8000000000000==e?e:e-1,\{id:String(d),visible:!0\})\}d=a[a.length-1];b[d]=new dq(-1==d?0x8000000000000:1E3*d,0x8000000000000,\{id:String(d),visible:!0\});return b\};\
|
|
n4=function()\{F.call(this)\};\
|
|
o4=function(a)\{F.call(this);this.b=a;this.g=null;this.o=\{\};this.B=\{\};a=a.g;this.C=a.fadeInDurationMilliseconds;this.F=a.fadeInStartMilliseconds;this.G=a.fadeOutDurationMilliseconds;this.A=a.fadeOutStartMilliseconds;this.H=1E3*this.b.b.getVideoData().lengthSeconds;this.D=this.A+this.G;L3(this.b,this.Gv,this)\};\
|
|
p4=function(a,b)\{return 0!=b&&-1!=b&&-2!=b&&0<b&&b<a.H\};\
|
|
Fla=function(a)\{a=a.getAttribute("breakType");return!!a&&Uh(a.split(","),function(a)\{a=Pa(a);return"linear"==a\})\};\
|
|
Gla=function(a)\{var b,c=3;b=!0;c=c?c:0;b=b?b:!1;var d=(0,window.parseFloat)(Ma(a/1E3,2,c));a=Math.floor(d/60);var e=Math.floor(a/60);a%=60;c=Ma(d%60,2,c);b=c=e||b?e+":"+Ma(a,2)+":"+c:a+":"+c;return 1==b.split(":")[0].length?"0".concat(b):b\};\
|
|
Ila=function(a,b)\{var c=Math.max(Math.abs(a.A),Math.abs(a.D));D(b,x(function(a)\{var d=Uh(b,function(b)\{return a!=b&&b>=a-c&&b<=a+c\}),f=Hla(this,a);\
|
|
!d&&f&&(this.o[f]=a)\},a));\
|
|
return 0<Ub(a.o)\};\
|
|
Hla=function(a,b)\{var c=1E3*Math.round((b+a.D)/1E3),d=b+a.A,e=b+a.F;return p4(a,b)&&p4(a,c)&&p4(a,d)&&p4(a,e)?c:null\};\
|
|
q4=function(a,b,c,d)\{0>=c||(d=0==d?a.Fv:a.Ev,c=C()+c,a.g=Qq(x(d,a,b,c,100),0))\};\
|
|
r4=function(a,b,c)\{a=z1(a.b).Db;b.setVolume(c*a)\};\
|
|
s4=function(a)\{F.call(this);this.D=this.o=this.A=this.F=this.g=null;this.N=this.K=this.H=!1;this.b=a;this.J=this.G=null;this.R=\{\};this.ba=new Fm(this);this.C=new Fm(this);this.M=this.B=null\};\
|
|
Jla=function(a,b,c)\{a=a.cloneNode(!0);a.setAttribute("timeOffset",b);D(a.getElementsByTagName("VASTAdTagURI"),function(a)\{var d,f,k;"end"==b?(d="post",f=-1,k="postroll"):(d="mid",f=j4(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\};\
|
|
Kla=function(a,b)\{var c=Cs(b),d=c.childNodes[0];if(!d)return b;var e=bb(Mf(d),function(a)\{return"#1"==a.getAttribute("timeOffset")\});\
|
|
if(e)\{var f=bb(Mf(e),function(a)\{return"Extensions"==a.localName\}),k=f?Mf(f):[],k=bb(k,function(a)\{return"YTBreakTime"==a.getAttribute("type")\}),f=(f=f.removeChild(k))?Mf(f):[],l=e,m=1;\
|
|
D(f,function(a)\{a=a.getAttribute("timeOffset");a=Jla(e,a,m);m++;d.insertBefore(a,l.nextSibling);l=a\});\
|
|
d.removeChild(e)\}f=a.B.Vs(d);f||(Nb(a.B),a.B=new n4);return e||f?Ds(c):b\};\
|
|
Lla=function(a)\{var b=x1(a.b.g,y1(a.b),z1(a.b));b.az=!0;b.qp=!1;b.Ss=10;b.Vm=a.B.hq();return b\};\
|
|
t4=function(a,b)\{var c=a.D?a.D.g():0,c=\{tfla:0<c?Math.floor(C()/1E3-c):0\};c4(a.b.ba,b,c)\};\
|
|
Mla=function(a,b)\{var c=mV(b),d=u4(b);if(v1(c,"rm")&&a.b.g.H)return a.A=new H2(a.b),v4(a,a.A),a.A.show(),!1;if(v1(c,"blockAllAds"))return a.g.Nf(),a.A=new J2(a.b,a.g,1,!0),!1;if(v1(c,"hideMaster")&&14!=d)return a.A=new J2(a.b,a.g,0,!0),!1;c=a.g;14==d?(a.A=new j3(a.b,c),w4(a,b)):a.A=new z2(d,a.b,c,!0);a.A.show();a.H=!1;return!0\};\
|
|
w4=function(a,b)\{J1();var c;if(b)\{var d=b.A.b,e=x4(b);c=14==b2(fU(b)).b?16:4;d=0<d?new q1(e,d):new q1(e);c=new B1(d,rV(b),a.b,c)\}O1(y1(a.b).experiments).then(qa(function(a)\{a&&E1(a)\},c),r)\};\
|
|
z4=function(a,b)\{if(b&&"adLoadError"==b.Fb())\{var c=a.b.g;!c.b&&c.la&&(a.A=new H2(a.b),v4(a,a.A),a.A.show());y4(a)\}\};\
|
|
A4=function(a)\{a.A&&(a.A.dispose(),a.A=null)\};\
|
|
u4=function(a)\{var b=FV(a);a=0<b.length?b.pop():vV(a);a=Nla[a.toUpperCase()];return null!=a?a:0\};\
|
|
x4=function(a)\{a=a.A.b;return 0==a?1:0<a?2:-1==a?3:0\};\
|
|
y4=function(a)\{a.K||(kq(a.b),a.K=!0)\};\
|
|
v4=function(a,b)\{y1(a.b).experiments.Z("fix_vmap_afc_mpu_api_stats_ads")&&b.subscribe("AD_LOGGING_EVENT",x(a.SD,a,Qka(a.g)))\};\
|
|
B4=function(a)\{m1.call(this,a);this.logEvent=this.Ma="ad";this.g=this.o=this.C=null;this.R=this.X=!1;this.A=this.J=null;U.g=!0;U.C=!1;U.J=!1;U.H=!0;U.D=!Op();U.A=0;a=a.V.experiments.b("sdk_wrapper_levels_allowed");!(0,window.isNaN)(a)&&0<a&&(U.F=a);this.H=null;this.ea=\{\};this.ga=\{at:"0"\};this.G=new c2(this.b);mw(this.b,this.G.element,4);this.aa=this.B=null;this.N=-1;this.ba=new Dla(this);this.K=new rx(this);H(this,this.K)\};\
|
|
z1=function(a)\{return C4(a.app)\};\
|
|
y1=function(a)\{return a.app.V\};\
|
|
D1=function(a,b,c)\{if(a.C)\{a=a.C;c=c||\{\};var d=(C()-a.F)/1E3;c.art=d;d=y1(a.G);d.de&&(c.feature=d.cb);c.ad_flags=a.b.adFlags;(d=a.b.Aa)&&(c.cid=d);c.mt=a.C.getCurrentTime();(d=kr())&&(c.lact=d);(d=a.C.Xh())&&(c.len=d);a.b.Za&&(c.fqsf=1);c.sdkv="3";c.ad_event=b;if(3==b||4==b)a.o=c.at;b=a.D;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=c&&c.ad_event?h2(c.ad_event):0;a=8==a||0!=a?!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);e=\{\};e.device=b.b.g.Na;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":ib(p1,Va(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=dla(d);break;case "error_code":f.ima_error=d;case "error_message":f.error_msg=d;break;case "ad_event":f.event=\
|
|
h2(d);break;case "ck_xy":a=d.split("x"),2==a.length&&(f.i_x=a[0],f.i_y=a[1])\}\}k=n2(b.b);f=z1(b.b);e.cpn=f.clientPlaybackNonce;e.content_v=f.videoId;c.at&&c.at.match(/\\d+_2.*/g)?(c=b.b.o,e.mt=null!=c&&null!=c.b?1E3*r1(c.b.rb):0):e.mt=Math.round(1E3*k.getCurrentTime());c=y1(b.b);e.ei=f.eventId;e.lact=kr();e.vol=Math.round(b.b.app.$a.Mb());e.vis=lG(c);c=D4(b.b);e.p_w=c.width;e.p_h=c.height;e.rt=C();if(c=(c=k.g?k.g.ma():null)&&nf(c)===window.document?Ts(c):null)e.pv_h=c.getHeight(),e.pv_w=c.bb();k=Gg(e);\
|
|
if("undefined"==typeof k)throw Error("Keys are undefined");c=new ih(null,0,void 0);e=Fg(e);for(f=0;f<k.length;f++)a=k[f],d=e[f],ea(d)?nh(c,a,d):th(c,a,d);b=new L(y1(b.b).baseYtUrl+"api/stats/ads");gh(b,c);Wp(b.toString())\}\}\};\
|
|
E4=function(a,b,c)\{c=c||\{\};c.ad_error=b;D1(a,7,c)\};\
|
|
F4=function(a,b,c)\{a.app.$a.za(b,c)\};\
|
|
G4=function(a)\{a.X||(Wp(y1(a).baseYtUrl+"mac_204?action_fcts=1"),a.X=!0)\};\
|
|
H4=function(a)\{return a.o instanceof g4?a.o:null\};\
|
|
K4=function(a)\{if(y1(a).experiments.Z("legacy_ad_media_element"))if(a=a.G,R(a.o).R)a=a.o.app.o;else\{if(!a.b)\{var b;b=a.o.app;if(b.V.R)\{var c=b.o.Kl(),d=b.o.tk();b.ua=new og(c.x,c.y,d.width,d.height);DI(b.B);b.o.Vf(!1);b.o.Wf(1);hI(b.o);b=b.o\}else b=new I4(J4.getTag(void 0,void 0));a.b=b;a.b.co("video-stream");a.b.co("ad-video")\}a=a.b\}else a=eJ(a.app).g;return a\};\
|
|
n2=function(a)\{if(!a.B)\{var b=hc(y1(a).J);y1(a).experiments.Z("legacy_autoplay_flag")&&(b.autoplay="1");b.eventid=z1(a).eventId;b.content_v=z1(a).videoId;b=new IA(b);b.b="adunit";a.B=new eI(b,2,new n1(b,""),a.app.D,x(a.app.N.Rb,a.app.N))\}return a.B\};\
|
|
N4=function(a)\{if(a.B&&a.B==eJ(a.app))\{var b=a.app;a=a.B;L4(b);a!=b.g&&M4(b,b.g)\}\};\
|
|
D4=function(a)\{return a.g.C?(a=a.app.D.Ja(),new og(0,0,a.width,a.height)):bt(a.Da())\};\
|
|
O4=function(a,b)\{A3(a,"bd");var c;c=a.g;var d=c.midrollPrefetchSize;c=c.isLiveStream?new g4(a,b):0<d?new e4(a,b,d):new Y3(a,b);a.o=c;Ala(a.o)\};\
|
|
R4=function(a)\{P4(a);var b=a.app;Vi(function()\{Q4(b)\},0)\};\
|
|
b4=function(a)\{a.R=!0;a.Y("command_redirect_controls",a,["play_pause"],void 0);a.A||a.pauseVideo()\};\
|
|
P4=function(a)\{f2(a.G);a.R=!1;pq(a);a.app.V.G.remove(n2(a).getVideoData().videoId)\};\
|
|
s2=function(a,b)\{switch(b)\{case 1:a.N=1;F4(a,"onAdStart");break;case 0:a.N=0,F4(a,"onAdEnd")\}\};\
|
|
r2=function(a,b,c)\{c&&F4(a,"onAdInfoChange",c);a=a.app;1==b&&(a.H.g("vr"),a.ca||(a.ca=AC(a.Tr,a)),VI(a.B),o1(a.H,S4(a)));c=a.V;"leanback"==c.b&&c.Qa&&a.b.za("onAdStateChange",b)\};\
|
|
A3=function(a,b)\{var c=b;"nl"==b&&(c=a.C,c.B++,c=c.B.toString());a.ea[c]=C();"bs"!=c&&"fb"!=c||mq(a,a.ea,a.ga)\};\
|
|
T4=function(a)\{return!!(a.g.D&&a.o&&1<a.o.o.length)\};\
|
|
L3=function(a,b,c)\{a.b.addEventListener("applicationplayerstatechange",b,c)\};\
|
|
U4=function(a)\{WM(this,a,Ola)\};\
|
|
W4=function(a,b)\{F.call(this);this.A=!R(a.b).experiments.Z("legacy_control_redirecting");this.g=a;a.b.addEventListener("onVolumeChange",this.yj,this);a.b.addEventListener("onCaptionsTrackListChanged",this.gs,this);this.A&&a.b.addEventListener("captionschanged",this.Qr,this);this.B=!1;this.b=b;b.subscribe("proxyStateChange",this.ys,this);b.subscribe("remotePlayerChange",this.Bh,this);b.subscribe("remoteQueueChange",this.Rm,this);this.J=new uq;this.F=this.D=window.NaN;this.H=0;this.o=\{\};this.C=null;\
|
|
this.G=new Dm(this.HG,1E3,this);H(this,this.G);this.K=0;var c=this.g.b.Jb("captions","track");cc(c)||V4(this,c);this.Rm();this.Bh()\};\
|
|
X4=function(a,b)\{var c=a.g,d=a.g.b.getVideoData().lengthSeconds;c.J=b||0;c.b.Va("progresssync",b,d)\};\
|
|
V4=function(a,b)\{if(Y4(a)&&!a.B)\{if(b)\{var c=\{style:a.g.b.Jb("captions","displaySettings")\};kc(c,b);a.b.ln(Z4(a),c)\}else a.b.ln(Z4(a),null);a.o=Ao(a.b).g\}\};\
|
|
b5=function(a)\{a.b.pause();var b=Ao(a.b);X4(a,uo(b));$4(a);a5(a,new uq(4))\};\
|
|
d5=function(a)\{a.b.play();c5(a);a5(a,new uq(8))\};\
|
|
e5=function(a,b)\{var c=a.g.b.ad();c?Do(a.b,Z4(a),b,c.b,c.listId.toString()):Do(a.b,Z4(a),b);a5(a,new uq(1))\};\
|
|
f5=function(a,b)\{if(b)\{var c=a.g.b.Jb("captions","tracklist",\{fr:1\});c&&c.length?(a.g.b.gf("captions","track",b),a.A&&(a.B=!1)):(a.g.b.ek("captions"),a.B=!0)\}else a.g.b.gf("captions","track",\{\})\};\
|
|
Y4=function(a)\{return Ao(a.b).videoId==Z4(a)\};\
|
|
Z4=function(a)\{return a.g.b.getVideoData().videoId\};\
|
|
c5=function(a)\{$4(a);if(!a.b.isDisposed())\{var b=Ao(a.b);b.Wa()&&a5(a,new uq(8));X4(a,uo(b));a.D=Vi(x(function()\{c5(this)\},a),500)\}\};\
|
|
$4=function(a)\{Xi(a.D);a.D=window.NaN\};\
|
|
g5=function(a)\{Xi(a.F);a.F=window.NaN\};\
|
|
a5=function(a,b)\{g5(a);var c=a.J;a.J=b;var d=a.g;d.N=b;d.b.Va("presentingplayerstatechange",new pG(b,c))\};\
|
|
h5=function(a)\{m1.call(this,a);this.Ma=this.logEvent="remote";this.A=\{key:nk(),name:M("YTP_MDX_MY_COMPUTER")\};this.o=null;this.C=[];this.H=this.K=this.g=null;this.G=[this.A];this.B=this.A;this.N=new uq;this.J=0\};\
|
|
i5=function(a,b,c)\{var d=c||a.A;b.unshift(a.A);a.G=b||[a.A];d=bb(b,function(a)\{return a.key==d.key\});\
|
|
a.B=d||a.A;a.app.$a.za("onMdxReceiversChange")\};\
|
|
j5=function(a,b)\{a.B=b||a.A;if(b.key==a.A.key)xp();else\{var c=0,d="",e=a.b.ad();e&&(c=e.b,d=e.listId.toString());if(e=a.b.ad())\{for(var f=[],k=0;k<e.A;k++)f[k]=e.Gb(k).videoId;e=f\}else e=[a.b.getVideoData().videoId];c=\{videoIds:e,listId:d,videoId:a.b.getVideoData().videoId,index:c,currentTime:a.b.getCurrentTime()\};Ap(b,c);Nb(a.o);a.o=null;a.load()\}\};\
|
|
k5=function(a)\{GK.call(this,["div","html5-video-player",\{tabindex:-1,id:a.X.attrs.id\},["div","html5-video-container",\{"data-layer":0\}]]);Ni(this.element,"version",a.X.assets.js);this.app=a;this.H=null;this.o=this.pa["html5-video-container"];this.R=!!this.o;this.B=new og(0,0,0,0);this.b=null;this.D=new og(0,0,0,0);this.J=this.M=0;this.G=!1;this.F=window.NaN;a=a.V;this.C=null;this.addEventListener=x(this.element.addEventListener,this.element);this.removeEventListener=x(this.element.removeEventListener,\
|
|
this.element);this.dispatchEvent=function()\{\};\
|
|
a=zr(a)&&"blazer"!=a.g&&"mweb-polymer"!=a.g&&window.matchMedia?x(window.matchMedia,window):r;this.K=a("(max-width: 656px)");this.ca=a("(min-width: 657px)");this.da=a("(min-width: 1294px) and (min-height: 630px)");this.aa=a("(min-width: 1720px) and (min-height: 980px)");this.X=a("(min-width: 1320px) and (min-height: 870px)");this.A=null;aj(\{YTP_ADVERTISEMENT:"Pubblicit\\u00e0",YTP_AIRPLAY:"AirPlay",YTP_AUDIO_TRACK_TITLE:"Traccia audio",YTP_AUTO:"Auto",YTP_AUTO_WITH_QUALITY_2:"Automatica ($VIDEO_QUALITY)",\
|
|
YTP_CARDS_BUTTON_ARIA_LABEL:"Mostra schede",YTP_CHANGE_QUALITY_WITH_QUALITY_2:"Modifica qualit\\u00e0 ($VIDEO_QUALITY)",YTP_COPY_DEBUG_INFO:"Copia info di debug",YTP_COPY_VIDEO_URL:"Copia URL video",YTP_COPY_VIDEO_URL_AT_TIME:"Copia l'URL del video in corrispondenza del minuto corrente",YTP_DRAWER_CLOSE_BUTTON_ARIA_LABEL:"Nascondi schede",YTP_DRAWER_HEADER_TEXT_2:"Altre informazioni",YTP_DRAWER_POLL_PERCENT:"$PERCENT%",YTP_DRAWER_POLL_SIGNIN_TITLE:"Vuoi votare?",YTP_DRAWER_POLL_TITLE_ARIA_LABEL:"$POLL_TITLE - Accedi per votare.",\
|
|
YTP_GET_DEBUG_INFO:"Informazioni di debug",YTP_GET_VIDEO_URL:"Visualizza l'URL del video",YTP_GET_VIDEO_URL_AT_TIME:"Visualizza l'URL del video al minuto corrente",YTP_GET_EMBED:"Visualizza il codice di incorporamento",YTP_DECREASE_PLAYBACK_SPEED:"Diminuisci la velocit\\u00e0 di riproduzione",YTP_PLAYBACK_SPEED_CHANGED:"La velocit\\u00e0 \\u00e8 $RATE",YTP_DEFAULT_VIEW:"Visualizzazione predefinita",YTP_EMBED_COPY:"Copia codice per l'incorporamento",YTP_ERROR_GENERIC_WITHOUT_LINK:"Si \\u00e8 verificato un errore. Riprova pi\\u00f9 tardi.",\
|
|
YTP_ERROR_GENERIC_WITH_LINK_AND_CPN:"Si \\u00e8 verificato un errore. Riprova pi\\u00f9 tardi. (ID riproduzione: $CPN) $BEGIN_LINKUlteriori informazioni$END_LINK",YTP_EXIT_FULLSCREEN:"Esci dalla modalit\\u00e0 a schermo intero",YTP_FULLSCREEN_GENERIC_ERROR:"Schermo intero non disponibile. $BEGIN_LINKUlteriori informazioni$END_LINK",YTP_FULLSCREEN_UNSUPPORTED_ERROR:"Il tuo browser non supporta la modalit\\u00e0 a schermo intero. $BEGIN_LINKUlteriori informazioni$END_LINK",YTP_VOLUME_UNSUPPORTED_ERROR:"Il tuo browser non supporta la modifica di volume. $BEGIN_LINKUlteriori informazioni$END_LINK",\
|
|
YTP_FEATURED:"In primo piano",YTP_FULLSCREEN:"Schermo intero",YTP_INCREASE_PLAYBACK_SPEED:"Aumenta la velocit\\u00e0 di riproduzione",YTP_INVIDEO_PROMOTION_ARIA_LABEL:"Promozione",YTP_GOTO_LIVE_TOOLTIP:"Passa alla trasmissione dal vivo.",YTP_KEYBOARD_SHORTCUTS:"Scorciatoie da tastiera",YTP_LIVE:"Dal vivo",YTP_LIVE_NOW:"IN DIRETTA ORA",YTP_LOOP:"Loop",YTP_MIX:"Mix",YTP_MORE:"Altro",YTP_MDX_TITLE:"Riproduci su",YTP_MDX_TOOLTIP:"Riproduci sulla TV",YTP_MDX_MY_COMPUTER:"Questo computer",YTP_MDX_CAST_SELECTOR:"Cast...",\
|
|
YTP_MUTE:"Disattiva audio",YTP_NEXT:"Avanti",YTP_NEXT_VIDEO_IN:"Prossimo video tra $TIME_LEFT",YTP_NORMAL_SPEED:"Normale",YTP_ON:"On",YTP_OFF:"Off",YTP_OPTIONS:"Opzioni",YTP_PLAY_ALL:"Riproduci tutti",YTP_PLAY_PAUSE:"Passa da riproduzione a pausa e viceversa",YTP_PREVIOUS:"Indietro",YTP_PLAYBACK_STALLED_AT_START:"Se la riproduzione non inizia a breve, prova a riavviare il dispositivo.",YTP_MISSING_FORMATS:"Mancano delle opzioni?",YTP_PLAYLIST:"Playlist",YTP_PLAYLIST_UP_NEXT:"Prossimo video",YTP_QUALITY_TITLE:"Qualit\\u00e0",\
|
|
YTP_SUGGESTED_VIDEOS:"Video consigliati",YTP_REPLAY:"Rivedi",YTP_REPORT_ISSUE:"Segnala problema di riproduzione",YTP_SEEK_BACK:"Cerca indietro di 10 secondi",YTP_SEEK_FORWARD:"Cerca avanti di 10 secondi",YTP_SEEK_PERCENT:"Cerca in 0%-90%.",YTP_SETTINGS:"Impostazioni",YTP_SHARE:"Condividi",YTP_SHARE_LINK:"Condividi link",YTP_SHARE_WITH_PLAYLIST_2:"Includi playlist",YTP_SHOW_VIDEO_INFO:"Statistiche per nerd",YTP_SIGN_IN:"Accedi",YTP_SPHERICAL_CONTROL:"Controlli dei video sferici. Utilizza le frecce per spostarti all'interno del video.",\
|
|
YTP_SPEED_TITLE:"Velocit\\u00e0",YTP_ST_COLLAPSE:"Comprimi",YTP_ST_EXPAND:"Espandi",YTP_SUBTITLES:"Sottotitoli",YTP_SUBTITLES_TOOLTIP:"Sottotitoli",YTP_SUBTITLES_OFF:"Sottotitoli disattivati",YTP_SUBTITLES_ON:"Sottotitoli attivati",YTP_THREED_SHORT:"3D",YTP_THREED_VIEWMODE_2D:"2D",YTP_THREED_VIEWMODE_ANAGLYPH:"Anaglifo",YTP_THEATER_MODE:"Modalit\\u00e0 cinema",YTP_TOGGLE_FULLSCREEN:"Attiva/disattiva schermo intero.",YTP_TOGGLE_MUTE:"Attiva/disattiva audio",YTP_UNMUTE:"Riattiva audio",YTP_URL_NAVIGATE:"Guarda su YouTube",\
|
|
YTP_URL_NAVIGATE_TO:"Guarda su $WEBSITE",YTP_WATCH_ALL:"Guarda l'intero video",YTP_WATCH_LATER:"Guarda pi\\u00f9 tardi",YTP_WATCH_LATER_AS_2:"Guarda pi\\u00f9 tardi come $USER_NAME",YTP_ADDED_TO_WATCH_LATER_AS:"Aggiunto come $USER_NAME",YTP_WEBGL_3D_ANAGLYPH:"Anaglifo",YTP_WEBGL_3D_2D:"2D",YTP_SUBSCRIBE_AS:"Iscriviti come $USER_NAME",YTP_LIKE_AS:'Aggiungi "Mi piace" come $USER_NAME',YTP_DISLIKE_AS:'Aggiungi "Non mi piace" come $USER_NAME',YTP_WATCH_NEXT:"Guarda in seguito",YTP_PLAY:"Riproduci",YTP_WATERMARK:"Filigrana",\
|
|
YTP_ERROR_STREAMING_UNAVAILABLE:"Riproduzione video non disponibile in questo momento perch\\u00e9 il video \\u00e8 stato scaricato per la visualizzazione offline.",YTP_ERROR_LICENSE:"Spiacenti, si \\u00e8 verificato un errore con la licenza di questo video.",YTP_ERROR_VIDEO_NOT_FOUND:"Impossibile trovare questo video.",YTP_ERROR_ALREADY_PINNED_ON_A_DEVICE:"Questo video \\u00e8 gi\\u00e0 stato scaricato sul numero massimo di dispositivi consentito dal titolare del copyright. Prima di poter riprodurre il video qui, devi svincolarlo da un altro dispositivo.",\
|
|
YTP_ERROR_CANNOT_ACTIVATE_RENTAL:"Si \\u00e8 verificato un errore durante l'attivazione del noleggio. Ricarica questa pagina o riprova pi\\u00f9 tardi.",YTP_ERROR_PURCHASE_NOT_FOUND:"Questo video richiede il pagamento.",YTP_ERROR_PURCHASE_REFUNDED:"L'acquisto di questo video \\u00e8 stato rimborsato.",YTP_ERROR_STOPPED_BY_ANOTHER_PLAYBACK:"Il tuo account sta riproducendo questo video in un'altra posizione. Ricarica questa pagina per riprendere la visione.",YTP_ERROR_TOO_MANY_STREAMS_PER_USER:"Riproduzione interrotta perch\\u00e9 sono in riproduzione troppi video appartenenti allo stesso account.",\
|
|
YTP_ERROR_TOO_MANY_STREAMS_PER_ENTITLEMENT:"Riproduzione interrotta perch\\u00e9 il video \\u00e8 stato riprodotto su troppi dispositivi.",YTP_ERROR_STREAMING_DEVICES_QUOTA_PER_24H_EXCEEDED:"Sono stati utilizzati troppi dispositivi/indirizzi IP in 24 ore.",YTP_ERROR_UNUSUAL_ACTIVITY:"A causa di attivit\\u00e0 insolite nell'account, questo video non \\u00e8 al momento disponibile.",YTP_ERROR_NOT_SIGNED_IN:"Accedi per riprendere la visione.",YTP_CLOSE:"Chiudi",YTP_EXPAND:"Espandi",YTP_ANNOTATIONS:"Annotazioni",\
|
|
YTP_DONE:"Fine",YTP_SHARE_THIS_PLAYLIST:"Condividi questa playlist",YTP_UPLOADED_BY_2:"di $AUTHOR",YTP_SEEK_SLIDER:"Dispositivo di scorrimento",YTP_PAUSE:"Pausa",YTP_AUTOPLAY:"Riproduzione automatica",YTP_AUTOPLAY_COUNTDOWN_2:"Prossimo video tra $SECONDS_LEFT",YTP_AUTOPLAY_PAUSED:"Sei impegnato? Abbiamo messo in pausa la riproduzione automatica.",YTP_AUTOPLAY_PAUSED_2:"Riproduzione automatica in pausa.",YTP_AUTOPLAY_CANCEL:"Annulla riproduzione automatica",YTP_WATCH_VIDEO_OR_PLAYLIST:"Guarda $TITLE",\
|
|
YTP_CANCEL:"Annulla",YTP_ON_GOOGLE_PLUS:"Su Google+",YTP_STILL_THERE:"Sei ancora l\\u00ec? In questo caso, fai clic sul pulsante in basso per continuare a guardare la playlist.",YTP_DISMISS:"OK",YTP_RESET:"Reimposta",YTP_STOP:"Interrompi la riproduzione dal vivo",YTP_LIKE:"Mi piace",YTP_DISLIKE:"Non mi piace",YTP_SCREENREADER_VOLUME_SETTING:"volume",YTP_SCREENREADER_VOLUME_MUTED:"audio disattivato",YTP_SCREENREADER_VOLUME_MUTE:"disattiva audio",YTP_SCREENREADER_VOLUME_UNMUTE:"riattiva audio",YTP_SCREENREADER_CONTROL_TOGGLE:"attiva/disattiva",\
|
|
YTP_SAMPLE_SUBTITLES:"I sottotitoli hanno questo aspetto",YTP_HTML5_CONTEXT_MENU_LINK:"Informazioni sul player HTML5",YTP_HTML5_PROTECTED_FLASH_FALLBACK:"Per guardare questo video, installa l'ultima versione di Flash Player o prova un altro browser. $BEGIN_LINKScarica Flash Player$END_LINK.",YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK:"Questo formato video non \\u00e8 supportato.",YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK:"Il browser attualmente non riconosce nessuno dei formati video disponibili. $BEGIN_LINKFai clic qui per consultare le nostre domande frequenti sul video HTML5.$END_LINK",\
|
|
YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK_FLASH:"\\u00c8 necessario Adobe Flash Player per la riproduzione del video. $BEGIN_LINKScarica la versione aggiornata di Flash Player$END_LINK.",YTP_ERROR_CAST_SESSION_DEVICE_MISMATCHED:"Il dispositivo della sessione di trasmissione non corrisponde a quello richiesto.",YTP_ERROR_CAST_SESSION_VIDEO_MISMATCHED:"Il video della sessione di trasmissione non corrisponde a quello richiesto.",YTP_ERROR_CAST_TOKEN_EXPIRED:"La sessione di trasmissione \\u00e8 scaduta. Aggiorna.",\
|
|
YTP_ERROR_CAST_TOKEN_FAILED:"Sessione di trasmissione non disponibile. Aggiorna o riprova pi\\u00f9 tardi.",YTP_ERROR_CAST_TOKEN_MALFORMED:"Sessione di trasmissione non valida. Aggiorna o riprova pi\\u00f9 tardi.",YTP_ERROR_GEO_FAILURE:"Questo video non \\u00e8 disponibile nel tuo Paese.",YTP_ERROR_INVALID_DRM_MESSAGE:"Il messaggio specifico del sistema DRM non \\u00e8 valido.",YTP_ERROR_RENTAL_EXPIRED:"Il noleggio di questo video \\u00e8 scaduto.",YTP_ERROR_RETRYABLE_ERROR:"Si \\u00e8 verificato un errore temporaneo del server. Riprova pi\\u00f9 tardi.",\
|
|
YTP_ERROR_SERVER_ERROR:"Si \\u00e8 verificato un errore interno del server. Riprova pi\\u00f9 tardi.",YTP_ERROR_STREAMING_NOT_ALLOWED:"Riproduzione non consentita perch\\u00e9 il video \\u00e8 vincolato a un altro dispositivo.",YTP_ERROR_UNSUPPORTED_DEVICE:"Riproduzione non supportata su questo dispositivo.",YTP_ERROR_VIDEO_FORBIDDEN:"L'accesso a questo video non \\u00e8 consentito.",YTP_ERROR_FORMAT_UNAVALIABLE:"Questo video non \\u00e8 disponibile nella qualit\\u00e0 selezionata. Riprova pi\\u00f9 tardi.",\
|
|
YTP_MDX_STATUS_CONNECTED:"In riproduzione su",YTP_MDX_STATUS_CONNECTING:"Connessione a",YTP_MDX_STATUS_ERROR:"Errore su",YTP_MDX_PLAYER_ERROR:"Questo video non \\u00e8 disponibile per la riproduzione remota.",YTP_MDX_PLAYER_RECONNECT_TIME:"Controlla la tua connessione Internet. Nuovo tentativo tra $FORMATTED_TIME...",YTP_MDX_PLAYER_RECONNECT_BUTTON:"Riconnetti",YTP_DEVICE_FALLBACK:"Spiacenti, il video non \\u00e8 disponibile su questo dispositivo.",YTP_AD_INTERRUPT_MESSAGE:"Il video verr\\u00e0 riprodotto al termine dell'annuncio.",\
|
|
YTP_VISIT_ADVERTISERS_SITE:"Visita il sito dell'inserzionista",YTP_PROGRESS_LABEL_2:"$PLAY_PROGRESS di $DURATION",YTP_PLAYLIST_NAME:"Playlist: $PLAYLIST_NAME",YTP_PLAYLIST_POSITION:"$CURRENT_POSITION/$PLAYLIST_LENGTH",YTP_SHARE_PANEL_ERROR:"Si \\u00e8 verificato un errore durante il recupero delle informazioni di condivisione. Riprova pi\\u00f9 tardi.",YTP_PLAYLIST_AUTHOR_AND_POSITION:"di $AUTHOR \\u2022 $CURRENT_POSITION/$PLAYLIST_LENGTH",YTP_PLAYER_NORMAL:"Video player di YouTube",YTP_PLAYER_FULLSCREEN:"Video player di YouTube a schermo intero",\
|
|
YTP_SPONSORED:"Sponsorizzati",YTP_SPONSORED_PRODUCT_INFO:"Visualizzi questo prodotto perch\\u00e9 riteniamo sia attinente al video. Google potrebbe ricevere un compenso da parte del commerciante.",YTP_SPONSORED_PRODUCT_BADGE:"Acquista",YTP_AD_SETTINGS_INFO:"Visita la pagina delle $BEGIN_FORMATImpostazioni annuncio$END_FORMAT di Google per ulteriori informazioni sul targeting degli annunci o sulla disattivazione degli annunci personalizzati.",YTP_PIP:"Picture in picture",YTP_AUTO_TRANSLATE:"Traduzione automatica",\
|
|
YTP_SWITCH_CAMERA:"Cambia fotocamera",YTP_MULTICAM_INDEX:"Video $CAMERA_INDEX di $CAMERA_COUNT",YTP_MORE_CAMERAS_AVAILABLE:"Altre fotocamere disponibili",YTP_VIDEO_SUBTITLES_OVERRIDE:"Sostituisci opzioni video",YTP_VIDEO_SUBTITLES_OVERRIDE_DESC:"Consenti l'uso di uno stile diverso per i sottotitoli se specificato dal video."\});this.app.$a.addEventListener("initializingmode",this.AA,this);this.app.$a.addEventListener("videoplayerreset",this.CA,this);this.app.$a.addEventListener("videodatachange",this.dJ,\
|
|
this);this.app.$a.addEventListener("presentingplayerstatechange",this.Xz,this)\};\
|
|
Qla=function(a,b)\{a.b=b;a.G=!1;if(!a.b.parentNode)try\{If(a.o,a.b,0)\}catch(d)\{var c="videoElement_: "+!!a.b+", containerElement: "+!!a.o+", containerElement.childNodes: "+!(!a.o||!a.o.childNodes)+", containerInitiallyTruthy: "+a.R+", isDisposed: "+a.isDisposed();throw Error(c);\}a.A&&(a.A.disconnect(),a.A=null);!a.app.V.experiments.Z("no_detect_bad_extensions2")&&window.MutationObserver&&(a.A=new window.MutationObserver(x(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 og(0,0,0,0),l5(this))\}\},a)),a.A.observe(a.b,\{attributes:!0\}));\
|
|
a.D=new og(0,0,0,0);l5(a);p2(a);Pla(a)\};\
|
|
Pla=function(a)\{J(a.b,"video-stream");J(a.b,"html5-main-video");var b=a.app.V;b.Oa&&a.b.setAttribute("data-no-fullscreen",!0);b.qc&&(a.b.setAttribute("webkit-playsinline",""),a.b.setAttribute("playsinline",""));b.Ie&&a.S(a.b,"click",a.b.play,a.b)\};\
|
|
n5=function(a,b)\{if(a.b)\{var c=a.app.V;dA&&(a.b.setAttribute("x-webkit-airplay","allow"),b.title?a.b.setAttribute("title",b.title):a.b.removeAttribute("title"));var d;c.rf&&b.videoId?d=b.Hc(c,"default.jpg"):c.experiments.Z("legacy_poster_behavior")||Cc&&!m5&&!Np()||(d="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");d&&(a.b.poster=d)\}c=b.Od("yt:bgcolor");a.o.style.backgroundColor=c?c:"";a.M=pz(b.Od("yt:stretch"));c=b.Od("yt:crop");a.J="fullwidth"==c?window.Infinity:\
|
|
pz(c)\};\
|
|
p5=function(a)\{return(a=a.b)?o5(a.videoWidth,a.videoHeight):window.NaN\};\
|
|
vy=function(a,b)\{var c=a.Ja(),d=q5(a,c,p5(a),b);return new og((c.width-d.width)/2,(c.height-d.height)/2,d.width,d.height)\};\
|
|
q5=function(a,b,c,d)\{c=a.M||c;a=(0,window.isNaN)(c)?c:a.J||c;var e=o5(b.width,b.height);(0,window.isFinite)(a)||(a=Math.max(c,e));var f;a>e?f=\{width:b.width,height:b.width/a,aspectRatio:a\}:a<e?f=\{width:b.height*a,height:b.height,aspectRatio:a\}:f=\{width:b.width,height:b.height,aspectRatio:e\};d||(0,window.isNaN)(c)||(c>a?f.width=f.height*c:c<a&&(f.height=f.width/c),f.aspectRatio=c);return f\};\
|
|
o5=function(a,b)\{return 1>Math.abs(r5*b-a)||1>Math.abs(r5/a-b)?r5:a/b\};\
|
|
s5=function(a)\{a=(a=eJ(a.app))&&a.getPlayerState();return!a||O(a,2)||Fq(a)\};\
|
|
p2=function(a)\{var b="3"==a.app.V.A&&!a.G&&!s5(a);a.b.controls=b;a.b.tabIndex=b?0:-1\};\
|
|
l5=function(a)\{var b=p5(a),c=a.Ja(),d=1,e=dA?!0:"3"!=a.app.V.A&&!(0,window.isNaN)(p5(a)),f=!1,k=q5(a,c,b),l=Up()&&!a.app.V.experiments.Z("legacy_mie_display");s5(a)?(b=-c.height,dA?b*=window.devicePixelRatio:UA&&(b-=window.screen.height),b=new og(0,b,c.width,c.height),l&&(a.b.style.display="none")):(e&&!(0,window.isNaN)(b)?(d=k.aspectRatio/b,b=new og((c.width-k.width/d)/2,(c.height-k.height)/2,k.width/d,k.height)):b=new og(0,0,c.width,c.height),l&&(a.b.style.display=""));qg(a.D,b)||(a.D=b,Zs(a.b,\
|
|
rg(b)),Os(a.b,sg(b)),f=!0);c=new og((c.width-k.width)/2,(c.height-k.height)/2,k.width,k.height);qg(a.B,c)||(a.B=c,f=!0);Is(a.b,"transform",1==d?"none":"scaleX("+d+")");return f\};\
|
|
t5=function()\{this.b=[];this.g=[]\};\
|
|
u5=function(a,b,c)\{c=window.document.createElement(c?"audio":"video");ra(c,Rla);mm(c,"loadeddata",x(c.g,c));AA&&6<=HH&&mm(c,"webkitbeginfullscreen",x(c.play,c));b||c.src||c.load();a.g.push(c);return c\};\
|
|
v5=function(a,b,c,d)\{sk.call(this);this.A=a;this.N=x(b,null);this.g=0;this.C=!1;this.o=new gf(window.NaN,window.NaN);this.b=new rx(this);H(this,this.b);b=d?4E3:3E3;this.F=new fe(qa(this.yb,1,!1),b,this);H(this,this.F);this.G=new fe(qa(this.yb,2,!1),b,this);H(this,this.G);this.J=new fe(qa(this.yb,512,!1),0,this);H(this,this.J);this.M=c&&0<c.ba.length?5E3:3E3;d||(this.K=this.b.S(a,"mouseover",this.Nv),this.b.S(a,"mousemove",this.$I),this.b.S(a,"mouseleave",this.QB));Fs?this.b.S(a,"keypress",this.AB):\
|
|
this.b.S(a,"focusin",this.lz);this.B=this.b.S(a,"mousedown",this.Mv);this.D=this.b.S(a,"touchstart",this.Ov);this.R=null;this.yb(640,!0)\};\
|
|
w5=function(a)\{a.yb(4,!1);a.H&&(a.b.sa(a.H),a.H=null,a.K=a.b.S(a.A,"mouseover",a.Nv))\};\
|
|
x5=function(a,b)\{P.call(this,["canvas"]);this.element.width=a;this.element.height=b;this.width=a;this.height=b;this.context=this.element.getContext("2d");this.b=window.NaN;this.F=null\};\
|
|
z5=function(a,b)\{x5.call(this,a,b);this.H=null;this.C=this.D=this.A=this.o=0;this.B=-75;J(this.element,"ytp-tv-static");y5(this,a,b)\};\
|
|
A5=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\};\
|
|
y5=function(a,b,c)\{if(b&&c)\{a.width=a.element.width=b;a.height=a.element.height=c;var d=window.document.createElement("canvas");d.width=b;d.height=c;for(var e=d.getContext("2d"),f=e.getImageData(0,0,b,c),k=b*c,l=0;l<k;l++)\{var m=4*l;f.data[m]=f.data[m+1]=f.data[m+2]=Math.floor(35*Math.random());f.data[m+3]=255\}e.putImageData(f,0,0);a.H=d;a.D=A5(b);a.C=A5(c/10);a.context.scale(1.5,1.5);a.context.fillStyle="rgba(255, 255, 255, 0.02)"\}\};\
|
|
C5=function(a)\{P.call(this,["div",["ytp-error"],\{role:"alert"\},["div","ytp-error-content",["div","ytp-error-content-wrap","\{\{content\}\}"]]]);this.o=a;this.A=[];void 0==B5&&(a=window.document.createElement("canvas"),B5=!(!a.getContext||!a.getContext("2d")));B5&&(this.b=new z5(1,1),this.b.Ba(this.element,0),H(this,this.b));a=wy(this.o).Ja();this.b&&y5(this.b,a.width,a.height)\};\
|
|
D5=function(a,b,c,d,e)\{e||(e=R(a.o).D);a=d?\{CPN:a.o.getVideoData().clientPlaybackNonce\}:null;b=M(b,a).split(/\\$(BEGIN|END)_LINK/);return["span",null,b[0],["br"],["a",\{href:c,target:e?"_blank":null\},b[2]],b[4]]\};\
|
|
E5=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&&Wp(c.data.follow_on_url)\}\};\
|
|
Sla=function(a,b,c)\{F5("add_to_watch_later_list",a,b,c)\};\
|
|
Tla=function(a,b,c)\{F5("delete_from_watch_later_list",a,b,c)\};\
|
|
F5=function(a,b,c,d)\{dk(c?c+"playlist_video_ajax?action_"+a+"=1":"/playlist_video_ajax?action_"+a+"=1",\{method:"POST",Dc:\{feature:b.feature||null,authuser:b.Ob||null,pageid:b.pageId||null\},Ib:\{video_ids:b.videoIds||null,source_playlist_id:b.sourcePlaylistId||null,full_list_id:b.fullListId||null,delete_from_playlists:b.gR||null,add_to_playlists:b.XQ||null,plid:Ti("PLAYBACK_ID")||null\},context:b.context,onError:b.onError,sb:function(a,c)\{var d=c.result;d&&d.actions&&E5(d.actions);b.sb.call(this,a,c)\},\
|
|
Bc:b.Bc,withCredentials:!!d\})\};\
|
|
G5=function(a,b)\{P.call(this,\{I:"svg",U:\{width:a,height:b,viewbox:"0 0 "+a+" "+b\},P:[\{I:"polyline",U:\{stroke:"white",fill:"none",points:"\{\{points\}\}"\}\}]\});this.o=a;this.b=b\};\
|
|
Ula=function(a,b)\{for(var c=Math.max.apply(Math,b)||1,d=[],e=0;e<b.length;e++)d.push(e/b.length*a.o+","+a.b*(1-b[e]/c));return d.join(" ")\};\
|
|
H5=function(a,b)\{a.va("points",Ula(a,b))\};\
|
|
I5=function(a)\{var b;b=["button",["html5-video-info-panel-close","ytp-button"],\{title:"close"\},"[x]"];P.call(this,["div","html5-video-info-panel",b,["div","html5-video-info-panel-content",["div","",["div","","Video ID:"],["span","","\{\{video_id\}\}"]],["div","",["div","","Dimensions:"],["span","","\{\{dimensions\}\}"]],["div","",["div","","Resolution:"],["span","","\{\{resolution\}\}"]],["div","",["div","","Volume:"],["span","","\{\{volume\}\}"]],["div","",["div","","Stream Host:"],["span","","\{\{stream_host\}\}"]],\
|
|
["div","",["div","","Stream Type:"],["span","","\{\{stream_type\}\}"]],["div",\{style:"\{\{cpn_style\}\}"\},["div","","CPN:"],["span",\{style:"font-family:monospace"\},"\{\{cpn\}\}"]],["div","",["div","","Mime Type:"],["span","","\{\{mime\}\}"]],["div","",["div","","DASH:"],["span","","\{\{dash\}\}"]],["div",\{style:"\{\{color_style\}\}"\},["div","","Color:"],["span","","\{\{color\}\}"]],["div",\{style:"\{\{drm_style\}\}"\},["div","","Protected:"],["span","","\{\{drm\}\}"]],["div","",["div","","Connection Speed:"],["span","",["span","","\{\{bandwidth_sparkline\}\}"],\
|
|
["span","","\{\{bandwidth_kbps\}\}"]]],["div","",["div","","Buffer Health:"],["span","",["span","","\{\{buffer_health_sparkline\}\}"],["span","","\{\{buffer_health_seconds\}\}"]]],["div","",["div","","Network Activity:"],["span","",["span","","\{\{network_activity_sparkline\}\}"],["span","","\{\{network_activity_bytes\}\}"]]],["div",\{style:"\{\{live_latency_style\}\}"\},["div","","Live Latency:"],["span","",["span","","\{\{live_latency_sparkline\}\}"],["span","","\{\{live_latency_message\}\}"]]],["div","",["div","","Dropped Frames:"],\
|
|
["span","","\{\{dropped_frames\}\}"]],["div",\{style:"\{\{sequence_number_style\}\}"\},["div","","Sequence Number:"],["span","","\{\{sequence_number\}\}"]]]]);b&&this.S(this.pa["html5-video-info-panel-close"],"click",this.oa);this.o=new G5(200,14);H(this,this.o);this.va("bandwidth_sparkline",this.o);this.B=new G5(200,14);H(this,this.B);this.va("live_latency_sparkline",this.B);this.A=new G5(200,14);H(this,this.A);this.va("buffer_health_sparkline",this.A);this.C=new G5(200,14);H(this,this.C);this.va("network_activity_sparkline",\
|
|
this.C);this.D=new fe(this.F,500,this);H(this,this.D);this.b=a\};\
|
|
J5=function()\{F.call(this);this.g=null;this.C=this.B=!1;this.A=new I;H(this,this.A)\};\
|
|
rI=function(a,b)\{var c="";b&&(K5(a,b),c=Nz(b));a.jc()&&""==c||(c&&a.jc()!=c&&a.fo(c),b&&b.b||a.load(),a.C||(a.addEventListener("volumechange",a.Ip,!1,a),a.C=!0))\};\
|
|
JI=function(a)\{a.Uf()&&a.seekTo(0);if(!a.jc()&&a.g)\{var b=Nz(a.g);a.fo(b);a.g.b||a.load()\}a.play();L5&&7<=HH&&om(a,"playing",x(function()\{Vi(x(this.Yp,this,this.getCurrentTime(),0),500)\},a))\};\
|
|
K5=function(a,b)\{a.g&&Oz(a.g,b)||(a.g&&a.g.dispose(),a.g=b)\};\
|
|
xq=function(a)\{return oC(a.ie(),a.getCurrentTime())\};\
|
|
hI=function(a)\{a.jc()&&(dA&&0<a.getCurrentTime()&&a.seekTo(0),a.gt(),a.load(),a.g&&a.g.b&&K5(a,null))\};\
|
|
M5=function(a)\{var b=a.ie();return 0<nC(b)&&a.pf()?mC(b,a.getCurrentTime()):0\};\
|
|
SI=function(a)\{var b=a.pf();return window.Infinity==b?1:b?M5(a)/b:0\};\
|
|
TI=function(a)\{return\{vct:a.getCurrentTime().toFixed(3),vd:a.pf().toFixed(3),vpl:kC(a.Wi()),vbu:kC(a.ie()),vpa:a.ah(),vsk:a.Sv(),ven:a.Uf(),vpr:a.sk(),vrs:a.Be(),vns:a.Il(),vec:a.kb(),vvol:a.Dd()\}\};\
|
|
N5=function(a,b,c)\{mc.call(this,b,a);this.b=c||null\};\
|
|
I4=function(a)\{J5.call(this);this.b=a;this.o=\{\}\};\
|
|
O5=function(a)\{this.g=null;this.o=[];this.A=!1;this.b=null;this.$=a\};\
|
|
Q5=function(a)\{a.g||(a.g=P5.createMediaElementSource(a.b.ma()));return a.g\};\
|
|
kL=function(a)\{var b=P5.createGain();a.o.push(b);return b\};\
|
|
R5=function(a,b)\{var c=P5.createChannelSplitter(b);a.o.push(c);return c\};\
|
|
T5=function(a,b)\{var c=P5.createChannelMerger(b);a.o.push(c);return c\};\
|
|
V5=function(a)\{for(var b;0<a.o.length;)b=a.o.pop(),b.disconnect();a.g&&a.g.disconnect()\};\
|
|
W5=function(a,b,c,d)\{rx.call(this);this.S(a,"click",this.H);this.S(a,"dblclick",this.F);this.G=b;this.A=c;this.B=d||null;this.g=new fe(this.D,200,this);H(this,this.g);this.b=!0;this.o=!1;this.C=null\};\
|
|
X5=function(a)\{GK.call(this,\{I:"div",W:"ytp-ad-persistent-progress-bar-container",P:[\{I:"div",W:"ytp-ad-persistent-progress-bar"\}]\});this.o=a;this.C=this.pa["ytp-ad-persistent-progress-bar"];this.b=null;this.S(a,"presentingplayerstatechange",this.B);this.oa();this.B()\};\
|
|
Y5=function(a)\{P.call(this,\{I:"div",W:"ytp-bezel",U:\{role:"status","aria-label":"\{\{label\}\}"\},P:[\{I:"div",W:"ytp-bezel-icon",P:["\{\{icon\}\}"]\}]\});this.A=new fe(this.B,10,this);H(this,this.A);this.o=new fe(this.C,10,this);H(this,this.o);this.b=new fe(this.D,500,this);H(this,this.b);this.$=a;this.oa()\};\
|
|
$5=function(a)\{var b=qs(a.$);wq(b)?(b=a.$.getVideoData(),b.xa&&!b.K?Z5(a,Nh(),M("YTP_STOP")):Z5(a,Gh(),M("YTP_PAUSE"))):O(b,64)||Z5(a,Hh(),M("YTP_PLAY"))\};\
|
|
a6=function(a,b,c)\{0>=b?(c=Rh(),b=M("YTP_SCREENREADER_VOLUME_MUTED")):(c=c?Qh():Ph(),b=Math.floor(b)+"% "+M("YTP_SCREENREADER_VOLUME_SETTING"));Z5(a,c,b)\};\
|
|
b6=function(a,b,c)\{c=c?yh?\{I:"div",fa:["ytp-icon","ytp-icon-fast-rewind"]\}:\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"\},P:[\{I:"path",Ea:!0,W:"ytp-svg-fill",U:\{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"\}\}]\}:yh?\{I:"div",fa:["ytp-icon","ytp-icon-fast-forward"]\}:\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"\},P:[\{I:"path",Ea:!0,W:"ytp-svg-fill",U:\{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=M("YTP_PLAYBACK_SPEED_CHANGED",\
|
|
\{RATE:b\});Z5(a,c,b)\};\
|
|
Z5=function(a,b,c)\{a.va("label",c||"");a.va("icon",b);he(a.o);he(a.b);a.A.start()\};\
|
|
c6=function(a,b)\{var c=["button",["ytp-button","ytp-cards-button"],\{"aria-label":M("YTP_CARDS_BUTTON_ARIA_LABEL"),"aria-owns":"ytp-cards","aria-haspopup":!0\},["span","ytp-cards-button-icon-default",yh?\{I:"div",fa:["ytp-icon","ytp-icon-info-card"]\}:\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"\},P:[\{I:"path",Ea:!0,W:"ytp-svg-fill",U:\{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"\}\}]\}],\
|
|
["span","ytp-cards-button-icon-shopping",yh?\{I:"div",fa:["ytp-icon","ytp-icon-shopping-card"]\}:\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"\},P:[\{I:"path",W:"ytp-svg-shadow",U:\{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"\}\},\{I:"path",W:"ytp-svg-fill",U:\{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"\}\},\{I:"path",W:"ytp-svg-shadow-fill",U:\{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"\}\}]\}]];P.call(this,\
|
|
c);this.$=a;this.C=b;this.b=null;this.o=new Av(this,250,!0,100);H(this,this.o);this.oa();this.O("click",this.A);this.O("mouseover",this.B);Gv(this,!0)\};\
|
|
Gv=function(a,b)\{b?(a.element.title=M("YTP_DRAWER_HEADER_TEXT_2"),a.b=d6(a.C.g,a.element)):(a.b(),a.b=null,a.element.title="")\};\
|
|
e6=function(a,b,c,d,e)\{this.$=a;this.M=b;this.ga=!!e;this.da=this.R=this.K=null;GK.call(this,c);this.H=new Av(this,d,!0);H(this,this.H);GK.call(this,c);this.oa();this.C=null\};\
|
|
f6=function(a)\{a.C&&(window.document.activeElement&&Rf(a.element,window.document.activeElement)&&(Xf(a.C),a.C.focus()),a.C.removeAttribute("aria-expanded"),a.C=null);a.K&&(a.sa(a.K),a.sa(a.R),a.sa(a.da))\};\
|
|
g6=function(a)\{return a.g&&3!=a.H.b\};\
|
|
h6=function(a,b,c)\{this.b=[];this.A=null;this.size=new jf(0,0);this.D=this.F=null;this.X=this.aa=0;e6.call(this,a,b,\{I:"div",fa:["ytp-popup",c||null]\},100,!0);this.O("keydown",this.HJ)\};\
|
|
i6=function(a,b)\{!je(b.element,"ytp-panel-animate-back")&&je(b.element,"ytp-panel-animate-forward");a.A&&a.A.Fa("size-change",a.Ph,a);a.A=b;a.A.subscribe("size-change",a.Ph,a)\};\
|
|
j6=function(a)\{Zs(a.element,a.aa||"100%",a.X||"100%");var b=a.A;b.element.style.width="";b.element.style.height="";b.element.style.maxWidth="100%";b.element.style.maxHeight="100%";b.X.element.style.height="";var c=at(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.da&&(d=at(b.pa["ytp-panel-header"]).height);b.X.element.style.height=c.height-d+"px";a.size=c\};\
|
|
l6=function(a,b)\{a.b.push(b);var c=a.A;c?k6(a,c,b):(i6(a,b),b.Ba(a.element))\};\
|
|
k6=function(a,b,c,d)\{m6(a);b.Fa("back",a.re,a);c.subscribe("back",a.re,a);i6(a,c);if(a.g)\{J(c.element,d?"ytp-panel-animate-back":"ytp-panel-animate-forward");c.Ba(a.element);c.focus();a.element.scrollLeft=0;a.element.scrollTop=0;var e=a.size;j6(a);Zs(a.element,e);a.F=new fe(qa(a.CG,b,c,d),20,a);a.F.start()\}else c.Ba(a.element),b.detach()\};\
|
|
m6=function(a)\{a.F&&ge(a.F);a.D&&ge(a.D)\};\
|
|
o6=function(a,b,c,d)\{GK.call(this,a);this.priority=b;c&&n6(this,c);d&&this.Nb(d)\};\
|
|
p6=function(a,b,c)\{b=b?b:[];b.push("ytp-menuitem");a=a?a:\{\};"role"in a||(a.role="menuitem");c||"tabindex"in a||(a.tabindex=0);return\{I:c?"a":"div",fa:b,U:a,P:[\{I:"div",W:"ytp-menuitem-label",P:["\{\{label\}\}"]\},\{I:"div",W:"ytp-menuitem-content",P:["\{\{content\}\}"]\}]\}\};\
|
|
n6=function(a,b)\{a.va("label",b)\};\
|
|
q6=function(a,b,c,d,e)\{var f=\{I:"div",W:"ytp-panel"\};if(c)\{var k="ytp-panel-title",l=\{I:"div",W:"ytp-panel-header",P:[\{I:"button",fa:["ytp-button",k],P:[c]\}]\};if(e)\{var m="ytp-panel-options";l.P.push(\{I:"button",fa:["ytp-button",m],P:[d]\})\}f.P=[l]\}GK.call(this,f);this.X=b;b.Ba(this.element);this.da=!1;c&&(this.S(this.pa[k],"click",this.ga),this.da=!0,e&&this.S(this.pa[m],"click",e));b.subscribe("size-change",this.ca,this);this.S(a,"fullscreentoggled",this.ca)\};\
|
|
r6=function(a,b,c,d,e)\{this.o=new GK(\{I:"div",W:"ytp-panel-menu",U:\{role:"menu",id:b||null\}\});H(this,this.o);q6.call(this,a,this.o,c,d,e);this.b=[]\};\
|
|
s6=function(a,b,c)\{if(c)a.b.push(b),a.o.element.appendChild(b.element);else\{c=zb(a.b,b,Vla);if(0<=c)return;c=~c;vb(a.b,c,0,b);If(a.o.element,b.element,c)\}b.subscribe("size-change",a.R,a);a.o.Y("size-change")\};\
|
|
Vla=function(a,b)\{return b.priority-a.priority\};\
|
|
t6=function(a)\{var b=p6(\{"aria-haspopup":!0\});o6.call(this,b,a);this.O("keydown",this.b)\};\
|
|
u6=function(a,b)\{a.element.setAttribute("aria-haspopup",b)\};\
|
|
v6=function(a,b)\{this.b=!1;var c=p6(\{role:"menuitemcheckbox","aria-checked":this.b\});o6.call(this,c,b,a,\{I:"div",W:"ytp-menuitem-toggle-checkbox"\});this.O("click",this.G)\};\
|
|
w6=function(a,b)\{a.b=b;a.element.setAttribute("aria-checked",a.b)\};\
|
|
z6=function(a,b,c)\{this.$=a;this.M=b;this.G=c;r6.call(this,a);this.F=new t6(8);H(this,this.F);s6(this,this.F,!0);this.F.O("click",this.pD,this);this.D=new t6(7);H(this,this.D);s6(this,this.D,!0);this.D.O("click",this.oD,this);this.C=new t6(6);H(this,this.C);s6(this,this.C,!0);this.C.O("click",this.mD,this);this.J=new v6(M("YTP_LOOP"),5);H(this,this.J);s6(this,this.J,!0);this.J.O("click",this.ED,this);this.K=new o6(p6(\{href:"\{\{href\}\}",target:"_blank"\},void 0,!0),4,M("YTP_REPORT_ISSUE"));H(this,this.K);\
|
|
s6(this,this.K,!0);this.K.O("click",this.FE,this);this.H=new t6(3);H(this,this.H);s6(this,this.H,!0);this.H.O("click",this.lD,this);b=new o6(p6(),2,M("YTP_SHOW_VIDEO_INFO"));H(this,b);s6(this,b,!0);b.O("click",this.TE,this);b="//"+NA(R(this.$))+"/html5";b=new o6(p6(\{href:b,target:"_blank"\},void 0,!0),1,M("YTP_HTML5_CONTEXT_MENU_LINK"));H(this,b);s6(this,b,!0);b.O("click",this.TB,this);this.B=new GK(\{I:"div",fa:["ytp-copytext","ytp-no-contextmenu"],U:\{draggable:!1,tabindex:1\},P:["\{\{text\}\}"]\});H(this,\
|
|
this.B);this.B.O("click",this.SC,this);this.aa=new q6(a,this.B);H(this,this.aa);this.A=null;b=window.document.queryCommandSupported&&window.document.queryCommandSupported("copy");em&&zc(43)&&(b=!0);qA&&!zc(41)&&(b=!1);b&&(this.A=new P(\{I:"input",W:"ytp-html5-clipboard"\}),H(this,this.A),this.A.Ba(this.element));this.S(a,"loopchange",this.DD);this.S(a,"videodatachange",this.sJ);x6(this);y6(this,this.$.getVideoData())\};\
|
|
A6=function(a,b)\{var c;if(a.A)\{a.A.element.value=b;a.A.element.select();try\{c=window.document.execCommand("copy")\}catch(d)\{\}\}c?a.G.vb():(a.B.Nb(b,"text"),l6(a.G,a.aa),Rq(a.B.element),a.A&&(a.A=null,x6(a)));return c\};\
|
|
y6=function(a,b)\{var c=R(a.$),d=!c.F&&!!b.videoId;"play"!=c.g?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.g&&(c.fmt=Fu(b.g)),b.clientPlaybackNonce&&(c.cpn=b.clientPlaybackNonce),b.Aa&&(c.partnerid=b.Aa),c=Vg("//support.google.com/googleplay/",c));a.C.fb(d&&b.allowEmbed);a.F.fb(d);a.D.fb(d&&!b.xa);a.K.Nb(c,"href")\};\
|
|
x6=function(a)\{var b=!!a.A;n6(a.H,M(b?"YTP_COPY_DEBUG_INFO":"YTP_GET_DEBUG_INFO"));u6(a.H,!b);n6(a.C,M(b?"YTP_EMBED_COPY":"YTP_GET_EMBED"));u6(a.C,!b);n6(a.F,M(b?"YTP_COPY_VIDEO_URL":"YTP_GET_VIDEO_URL"));u6(a.F,!b);n6(a.D,M(b?"YTP_COPY_VIDEO_URL_AT_TIME":"YTP_GET_VIDEO_URL_AT_TIME"));u6(a.D,!b)\};\
|
|
C6=function(a,b)\{this.B=a;this.o=new rx(this);H(this,this.o);this.G=null;h6.call(this,a,b);J(this.element,"ytp-contextmenu");B6(this)\};\
|
|
B6=function(a)\{tx(a.o);var b=R(a.B);"gvn"!=b.g&&"gvn-experiment"!=b.g&&a.o.S(wy(a.B),"contextmenu",a.RC)\};\
|
|
D6=function(a)\{a.B.isFullscreen()?mw(a.B,a.element,9):a.Ba(window.document.body)\};\
|
|
E6=function(a)\{this.F=new rx(this);JK.call(this,a,\{I:"div",fa:["ytp-thumbnail-overlay","ytp-cued-thumbnail-overlay"],P:[\{I:"div",W:"ytp-thumbnail-overlay-image"\}]\});this.H=a;this.G=this.pa["ytp-thumbnail-overlay-image"];this.B=new fe(this.Zv,0,this);H(this,this.B);var b=R(a);b.experiments.Z("moving_thumbnails_cued_state")&&(this.o=new P(\{I:"img",W:"ytp-thumbnail-overlay-moving",U:\{src:"\{\{url\}\}"\}\}),H(this,this.o),this.o.Ba(this.element),this.C=new fe(this.RD,5500,this),H(this,this.C),this.D=new Av(this.o,\
|
|
500),H(this,this.D),this.S(this.o.element,"load",this.wJ),this.S(this.element,"mouseenter",this.uJ),this.S(this.element,"mouseleave",this.vJ));this.Zv();this.S(a,"presentingplayerstatechange",this.yJ);"detailpage"==b.b&&this.S(a,"videoplayerreset",this.xJ)\};\
|
|
F6=function(a,b,c)\{var d=Fq(c),e=!R(b).experiments.Z("disable_new_pause_state3");b=O(c,2)&&!iJ(b)&&(!e||!aL(b.app));d||b?a.show():(Cv(a),O(c,1)||a.stop())\};\
|
|
G6=function(a,b,c,d,e,f,k)\{rx.call(this);this.b=a;this.H=c;this.F=d;this.A=e;this.g=f;this.G=k;this.o="";a=qa(this.B,!1);this.S(b,"mousedown",a);this.S(c.element,"mousedown",a);this.S(b,"keydown",this.C);this.S(c.element,"keydown",this.C);this.S(b,"keyup",this.D);this.S(c.element,"keyup",this.D)\};\
|
|
I6=function(a,b,c)\{var d=!1,e=R(a.b);if(!e.Tb)\{switch(b)\{case 80:c&&(Z5(a.g,Jh(),M("YTP_PREVIOUS")),a.b.gk(),d=!0);break;case 78:c&&(Z5(a.g,Fh(),M("YTP_NEXT")),a.b.fk(),d=!0);break;case 74:Z5(a.g,yh?\{I:"div",fa:["ytp-icon","ytp-icon-rewind-ten-seconds"]\}:\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"\},P:[\{I:"path",Ea:!0,W:"ytp-svg-fill",U:\{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.b.Bd(-10*a.b.app.M);d=!0;break;case 76:Z5(a.g,yh?\{I:"div",fa:["ytp-icon","ytp-icon-forward-ten-seconds"]\}:\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"\},P:[\{I:"path",Ea:!0,W:"ytp-svg-fill",U:\{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.b.Bd(10*a.b.app.M);d=!0;break;case 77:a.b.bd()?(a.b.Qf(),a6(a.g,a.b.Mb(),!1)):(a.b.mute(),a6(a.g,0,!0));d=!0;break;case 75:$5(a.g);wq(qs(a.b))?a.b.pauseVideo():a.b.Ad();d=!0;break;case 190:if(c)\{if(e.ea)for(b=a.b.Wh(),c=a.b.app.M,e=0;e<b.length-1;e++)b[e]==c&&(d=b[e+1],a.b.Zh(d,!0),b6(a.g,d,!1),d=!0)\}else H6(a,1),d=!0;break;case 188:if(c)\{if(e.ea)for(b=a.b.Wh(),c=a.b.app.M,e=b.length-1;1<=e;e--)b[e]==c&&(d=b[e-1],a.b.Zh(d,!0),b6(a.g,d,!0),d=!0)\}else H6(a,-1),d=!0;break;case 70:xr(a.b)&&(Ar(a.b),\
|
|
d=!0)\}d&&a.F.yb(2,!0)\}return d\};\
|
|
K6=function(a,b,c,d)\{if(lJ(lq(a.b),"captions"))\{for(var e=a.b.Jb("captions","displaySettings"),f,k=0;k<J6.length;k++)\{var l=J6[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.b.Sn(d);return!0\}return!1\};\
|
|
H6=function(a,b)\{if(O(qs(a.b),4))\{var c=a.b.getVideoData().g;c&&(c=c.video)&&a.b.Bd(b/(c.fps||30))\}\};\
|
|
M6=function(a)\{var b=["ytp-large-play-button","ytp-button"],c=R(a);c.N&&!c.Ub?c=yh?\{I:"div",fa:["ytp-icon","ytp-icon-large-play-button-hover"]\}:\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 68 48",width:"100%"\},P:[\{I:"path",W:"ytp-large-play-button-bg",U:\{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"\}\},\{I:"path",U:\{d:"m 26.96,13.67 18.37,9.62 -18.37,9.55 -0.00,-19.17 z",fill:"#fff"\}\},\{I:"path",U:\{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.Ub?yh?\{I:"div",fa:["ytp-icon","ytp-icon-house-brand-large-play-button"]\}:\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 60 60",width:"100%"\},P:[\{I:"path",W:"ytp-large-play-button-bg",U:\{"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"\}\},\{I:"path",U:\{d:"M21,41.65 L21,18 L43.7,29.85 L21,41.65 Z",fill:"#fff"\}\}]\}:yh?\{I:"div",fa:["ytp-icon","ytp-icon-large-play-button"]\}:\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 68 48",width:"100%"\},P:[\{I:"path",W:"ytp-large-play-button-bg",U:\{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"\}\},\{I:"path",U:\{d:"m 26.96,13.67 18.37,9.62 -18.37,9.55 -0.00,-19.17 z",fill:"#fff"\}\},\{I:"path",U:\{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"\}\}]\});P.call(this,\{I:"button",fa:b,U:\{"aria-label":"\{\{label\}\}"\},P:[c]\});this.b=a;this.A=!1;this.o=new Av(this,250);H(this,this.o);this.S(a,"presentingplayerstatechange",this.B);L6(this,qs(a))\};\
|
|
L6=function(a,b)\{if(R(a.b).Oe&&!a.A)\{F6(a.o,a.b,b);var c;c=(c=a.b.getVideoData())&&c.title?M("YTP_WATCH_VIDEO_OR_PLAYLIST",\{TITLE:c.title\}):M("YTP_PLAY");a.va("label",c)\}else a.oa()\};\
|
|
N6=function(a)\{P.call(this,["div",["ytp-button","ytp-paid-content-overlay"]]);this.$=a;this.B=null;this.o=!1;this.A=new Av(this,250,!1,100);H(this,this.A);this.b=null;this.S(a,"videodatachange",this.F)\};\
|
|
O6=function(a,b,c)\{var d=b.Gb(c),e=R(a),f=d.Hc(e,"default.jpg");P.call(this,\{I:"a",fa:["ytp-video-menu-item","ytp-button"],U:\{role:"menuitemradio","aria-label":d.title,href:e.getVideoUrl(d.videoId,b.listId?b.listId.toString():null)\},P:[\{I:"div",W:"ytp-video-menu-item-index",P:[""+(c+1)]\},\{I:"div",W:"ytp-video-menu-item-now-playing",P:["\\u25b6"]\},\{I:"div",W:"ytp-video-menu-item-thumbnail",U:\{style:f?"background-image: url("+f+");":null\}\},\{I:"div",W:"ytp-video-menu-item-title",P:[d.title]\},\{I:"div",\
|
|
W:"ytp-video-menu-item-author",P:[M("YTP_UPLOADED_BY_2",\{AUTHOR:d.author\})]\}]\});this.b=a;this.o=c;this.O("click",this.A)\};\
|
|
P6=function(a,b)\{this.o=a;e6.call(this,a,b,\{I:"div",W:"ytp-playlist-menu",U:\{role:"dialog"\},P:[\{I:"div",W:"ytp-playlist-menu-header",P:[\{I:"div",W:"ytp-playlist-menu-title",P:[\{I:"a",W:"ytp-playlist-menu-title-name",U:\{href:"\{\{playlisturl\}\}"\},P:["\{\{title\}\}"]\},\{I:"button",fa:["ytp-playlist-menu-close","ytp-button"],U:\{"aria-label":M("YTP_CLOSE")\},P:[Dh()]\}]\},\{I:"div",W:"ytp-playlist-menu-subtitle",P:["\{\{subtitle\}\}"]\}]\},\{I:"div",W:"ytp-playlist-menu-items",U:\{role:"menu"\}\}]\},250);this.S(this.pa["ytp-playlist-menu-close"],\
|
|
"click",this.vb);this.S(this.pa["ytp-playlist-menu-title-name"],"click",this.eF);this.B=this.D=this.b=null;this.F=this.pa["ytp-playlist-menu-items"];this.A=[]\};\
|
|
Q6=function(a,b)\{a.b!=b&&(a.b&&a.b.Fa("shuffle",a.$m,a),a.b=b,a.D=null,b?b.subscribe("shuffle",a.$m,a):a.g&&a.oa())\};\
|
|
R6=function(a,b,c)\{var d=\{I:"button",fa:["ytp-playlist-menu-button","ytp-button"],U:\{title:"\{\{title\}\}","aria-owns":"ytp_playlist_menu","aria-haspopup":!0,"aria-label":M("YTP_PLAYLIST")\},P:[\{I:"div",W:"ytp-playlist-menu-button-icon",P:[Ih()]\},\{I:"div",W:"ytp-playlist-menu-button-text",P:["\{\{text\}\}"]\}]\};P.call(this,d);this.A=a;this.b=null;this.B=b.g;this.S(a,"videodatachange",this.C);this.S(a,"onPlaylistUpdate",this.C);this.S(a,"presentingplayerstatechange",this.o);this.S(a,"appresize",this.o);this.oa();\
|
|
this.C();Mb(this,d6(this.B,this.element));this.O("click",x(c.cf,c,this.element,!1))\};\
|
|
S6=function(a,b)\{P.call(this,\{I:"button",fa:["ytp-replay-button","ytp-button"],U:\{title:M("YTP_REPLAY")\},P:[Kh()]\});this.b=a;this.S(a,"presentingplayerstatechange",this.A);this.O("click",this.o,this);var c=qs(a);this.fb(O(c,2));d6(b.g,this.element)\};\
|
|
T6=function(a,b)\{var c=\{I:"div",W:"ytp-share-panel",U:\{id:"ytp-share-panel",role:"dialog","aria-labelledby":"ytp-share-panel-title"\},P:[\{I:"button",fa:["ytp-share-panel-close","ytp-button"],U:\{title:M("YTP_CLOSE")\},P:[Dh()]\},\{I:"div",W:"ytp-share-panel-inner-content",P:[\{I:"div",W:"ytp-share-panel-title",U:\{id:"ytp-share-panel-title"\},P:[M("YTP_SHARE")]\},\{I:"a",fa:["ytp-share-panel-link","ytp-no-contextmenu"],U:\{href:"\{\{link\}\}",target:"_blank",title:M("YTP_SHARE_LINK"),"aria-label":M("YTP_SHARE_LINK")\},\
|
|
P:["\{\{linkText\}\}"]\},\{I:"label",W:"ytp-share-panel-include-playlist",P:[\{I:"input",W:"ytp-share-panel-include-playlist-checkbox",U:\{type:"checkbox",checked:!0\}\},M("YTP_SHARE_WITH_PLAYLIST_2")]\},\{I:"div",W:"ytp-share-panel-loading-spinner",P:[Mh()]\},\{I:"div",W:"ytp-share-panel-service-buttons",P:["\{\{buttons\}\}"]\},\{I:"div",W:"ytp-share-panel-error",P:[M("YTP_SHARE_PANEL_ERROR")]\}]\}]\};e6.call(this,a,b,c,250);this.o=a;this.A=b.g;this.b=[];this.G=this.pa["ytp-share-panel-inner-content"];this.D=this.pa["ytp-share-panel-close"];\
|
|
this.S(this.D,"click",this.vb);Mb(this,d6(this.A,this.D));this.F=this.pa["ytp-share-panel-include-playlist-checkbox"];this.S(this.F,"click",this.cw);this.B=this.pa["ytp-share-panel-link"];Mb(this,d6(this.A,this.B));this.O("click",this.eE);this.S(a,"videoplayerreset",this.oa);this.S(a,"fullscreentoggled",this.NJ)\};\
|
|
Wla=function(a)\{switch(a)\{case "facebook":return yh?\{I:"div",fa:["ytp-icon","ytp-icon-share-facebook"]\}:\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"\},P:[\{I:"rect",U:\{fill:"#fff",height:"34",width:"34",x:"2",y:"2"\}\},\{I:"path",U:\{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 yh?\{I:"div",fa:["ytp-icon","ytp-icon-share-googleplus"]\}:\{I:"svg",U:\{height:"100%",version:"1.0",viewBox:"0 0 38 38",width:"100%"\},P:[\{I:"rect",U:\{fill:"#fff",height:"34",width:"34",x:"2",y:"2"\}\},\{I:"path",U:\{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 yh?\{I:"div",fa:["ytp-icon","ytp-icon-share-twitter"]\}:\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"\},P:[\{I:"rect",U:\{fill:"#fff",height:"34",width:"34",x:"2",y:"2"\}\},\{I:"path",U:\{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\}\};\
|
|
U6=function(a)\{for(var b=0;b<a.b.length;b++)a.b[b].detach(),Nb(a.b[b]);a.b=[]\};\
|
|
V6=function(a,b,c,d)\{P.call(this,\{I:"button",fa:["ytp-button","ytp-share-button"],U:\{title:M("YTP_SHARE"),"aria-haspopup":!0,"aria-owns":"ytp-share-panel"\},P:[yh?\{I:"div",fa:["ytp-icon","ytp-icon-sharrow"]\}:\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"\},P:[\{I:"path",Ea:!0,W:"ytp-svg-fill",U:\{d:"m 20.20,14.19 0,-4.45 7.79,7.79 -7.79,7.79 0,-4.56 C 16.27,20.69 12.10,21.81 9.34,24.76 8.80,25.13 7.60,27.29 8.12,25.65 9.08,21.32 11.80,17.18 15.98,15.38 c 1.33,-0.60 2.76,-0.98 4.21,-1.19 z"\}\}]\}]\});\
|
|
this.b=a;this.A=d;this.O("click",x(c.cf,c,this.element,!1));this.S(a,"videodatachange",this.o);this.S(a,"appresize",this.o);this.o();Mb(this,d6(b.g,this.element))\};\
|
|
W6=function(a)\{P.call(this,\{I:"div",W:"ytp-webgl-spherical-control",U:\{tabindex:0,"aria-label":M("YTP_SPHERICAL_CONTROL")\},P:[yh?\{I:"div",fa:["ytp-icon","ytp-icon-spherical-control"]\}:\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 50 50",width:"100%"\},P:[\{I:"circle",Ea:!0,U:\{cx:"25",cy:"25",fill:"#fff",r:"24"\}\},\{I:"path",Ea:!0,U:\{d:"M11.46,29.41 L9.97,30.90 L4,24.95 L9.97,19 L11.46,20.48 L7.00,24.95 L11.46,29.41 M42.46,24.95 L38,20.48 L39.48,19 L45.46,24.95 L39.48,30.90 L38,29.41 L42.46,24.95 M24.5,42.43 L28.96,37.96 L30.45,39.45 L24.5,45.43 L18.54,39.45 L20.03,37.96 L24.5,42.43 M24.5,6.97 L20.03,11.43 L18.54,9.94 L24.5,3.96 L30.45,9.94 L28.96,11.43 L24.5,6.97 Z",\
|
|
fill:"#999"\}\}]\}]\});this.b=a;this.aa=this.da=this.o=this.A=null;this.B=[];this.M=!1;this.R=null;this.C=new nt(x(this.OJ,this),null);H(this,this.C);this.N=-1;this.X=this.D=this.G=this.F=this.J=this.H=0;this.K=!1;this.S(a,"videodatachange",this.ko);this.S(a,"onApiChange",this.ko);this.oa();this.ko()\};\
|
|
X6=function(a,b,c,d)\{a.J=bf(b+a.J,-1,1);a.G=bf(c+a.G,-1,1);a.X=bf(d+a.X,-1,1);a.M||(a.M=!0,J(a.element,"ytp-dragging"),a.N=C(),a.C.start())\};\
|
|
Y6=function(a)\{a.C.stop();a.M=!1;a.J=0;a.G=0;a.X=0;a.B=[];me(a.element,"ytp-dragging")\};\
|
|
Z6=function(a,b,c,d,e,f)\{var k=f-a.N;a.F=(a.H*a.F+(b-e.yaw))/(k+a.H);a.D=(a.H*a.D+(c-e.pitch))/(k+a.H);a.N=f;a.H=k;b=\{shader:"Spherical",yaw:b,pitch:c,fov:d\};(a=lq(a.b).g)&&xL(a,b)\};\
|
|
$6=function(a,b)\{if(-1<a.B.indexOf(b))return!0;var c=!1;switch(b)\{case 37:case 65:X6(a,1,0,0);c=!0;break;case 39:case 68:X6(a,-1,0,0);c=!0;break;case 38:case 87:X6(a,0,1,0);c=!0;break;case 40:case 83:X6(a,0,-1,0);c=!0;break;case 107:X6(a,0,0,-1);c=!0;break;case 109:X6(a,0,0,1),c=!0\}c&&a.B.push(b);return c\};\
|
|
a7=function(a,b)\{var c=a.B.indexOf(b);if(-1<c)switch(a.B.splice(c,1),b)\{case 37:case 65:X6(a,-1,0,0);break;case 39:case 68:X6(a,1,0,0);break;case 38:case 87:X6(a,0,-1,0);break;case 40:case 83:X6(a,0,1,0);break;case 107:X6(a,0,0,1);break;case 109:X6(a,0,0,-1)\}0==a.B.length&&(a.M=!1)\};\
|
|
c7=function(a)\{P.call(this,\{I:"div",W:"ytp-spinner",P:[\{I:"span",W:"ytp-spinner-svg",P:[Mh()]\},\{I:"div",W:"ytp-spinner-message",P:[M("YTP_PLAYBACK_STALLED_AT_START")]\}]\});this.A=this.pa["ytp-spinner-message"];this.o=a;this.b=new fe(this.show,500,this);this.S(a,"presentingplayerstatechange",this.D);this.S(a,"onFrescaStateChange",this.B);this.S(a,"playbackstalledatstart",this.C);b7(this,qs(a))\};\
|
|
b7=function(a,b)\{var c;O(b,128)?c=0:!(c=O(b,16))&&(c=O(b,1))&&(c=lJ(lq(a.o),"fresca"),c=!(c&&c.loaded));c?a.b.start():a.oa()\};\
|
|
d7=function(a,b)\{P.call(this,\{I:"button",fa:["ytp-airplay-button","ytp-button"],U:\{title:M("YTP_AIRPLAY")\},P:["\{\{icon\}\}"]\});this.b=a;this.O("click",this.A);this.S(a,"airplayactivechange",this.o);this.S(a,"airplayavailabilitychange",this.o);this.o();Mb(this,d6(b.g,this.element))\};\
|
|
e7=function(a,b)\{GK.call(this,\{I:"div",W:"ytp-storyboard",P:[\{I:"div",W:"ytp-storyboard-filmstrip",P:[\{I:"div",W:"ytp-storyboard-thumbnail"\}]\},\{I:"div",W:"ytp-storyboard-lens",P:[\{I:"div",W:"ytp-storyboard-lens-thumbnail"\},\{I:"div",W:"ytp-storyboard-lens-timestamp-wrapper",P:[\{I:"span",W:"ytp-storyboard-lens-timestamp"\}]\}]\}]\});this.A=a;this.aa=b.g;this.M=new Dm(this.GB,250,this);H(this,this.M);this.F=wy(a).Ja().width;this.o=this.pa["ytp-storyboard-filmstrip"];this.da=this.pa["ytp-storyboard-lens"];\
|
|
this.ca=this.pa["ytp-storyboard-lens-thumbnail"];this.ga=this.pa["ytp-storyboard-lens-timestamp"];this.X=this.pa["ytp-storyboard-thumbnail"];Jf(this.X);this.G=0;this.R=!1;this.K=this.C=this.B=window.NaN;this.b=this.D=null;this.H=new rx(this);this.J=new Av(this,100);this.S(this.A,"appresize",this.aA);this.S(this.A,"presentingplayerstatechange",this.zJ)\};\
|
|
f7=function(a,b)\{var c=!!a.b;c&&a.b.Fa("l",a.Vj,a);a.b=b&&UH(b);a.R=!!b&&b.xa;a.b?(c||(a.H.S(a.A,"videodatachange",a.AJ),a.H.S(a.A,"progresssync",a.vk),a.H.S(a.A,"videoplayerreset",a.vk)),a.b.subscribe("l",a.Vj,a),a.K=window.NaN,a.B=window.NaN,a.C=window.NaN,a.vk(),a.J.show(200)):(c&&tx(a.H),a.M.stop(),wx(a.G),Cv(a.J),a.J.stop())\};\
|
|
g7=function(a,b,c,d)\{var e=a.X.cloneNode(!1);a=pH(a.b,b,c);$1(e,a,c,d);return e\};\
|
|
h7=function(a)\{P.call(this,\{I:"div",W:"ytp-storyboard-framepreview",P:[\{I:"div",W:"ytp-storyboard-framepreview-img"\}]\});this.D=this.pa["ytp-storyboard-framepreview-img"];this.b=a;this.o=null;this.A=window.NaN;this.B=new rx(this);this.C=new Av(this,100);this.S(this.b,"presentingplayerstatechange",this.BJ)\};\
|
|
j7=function(a,b)\{var c=!!a.o;a.o=b&&UH(b);a.o?(c||(a.B.S(a.b,"videodatachange",a.DJ),a.B.S(a.b,"progresssync",a.CJ),a.B.S(a.b,"appresize",a.bA)),a.A=window.NaN,i7(a),a.C.show(200)):(c&&tx(a.B),Cv(a.C),a.C.stop())\};\
|
|
i7=function(a)\{var b=a.b.getCurrentTime(),c=wy(a.b).Ja(),d=a.o.og(c.width),b=vH(a.o,d,b);b!=a.A&&(a.A=b,rH(a.o,b,c.width),b=pH(a.o,b,c.width),$1(a.D,b,c.width,c.height))\};\
|
|
l7=function(a,b)\{P.call(this,\{I:"button",fa:["ytp-fullscreen-button","ytp-button"],U:\{title:"\{\{title\}\}"\},P:["\{\{icon\}\}"]\});this.o=a;this.B=b;this.b=null;this.A=d6(b.g,this.element);this.C=new fe(this.Ny,2E3,this);H(this,this.C);this.S(a,"fullscreentoggled",this.Lt);this.S(a,"presentingplayerstatechange",this.$v);this.O("click",this.EJ);if(Yh())\{var c=wy(this.o);this.S(c,Xh(),this.Zr);this.S(c,Wh(window.document),this.FJ)\}R(a).Aa||k7(this);this.$v();this.Lt(a.isFullscreen())\};\
|
|
k7=function(a)\{if(!a.b)\{var b=M(null!=Vh(["requestFullscreen","webkitRequestFullscreen","mozRequestFullScreen","msRequestFullscreen"],window.document.body)?"YTP_FULLSCREEN_GENERIC_ERROR":"YTP_FULLSCREEN_UNSUPPORTED_ERROR").split(/\\$(BEGIN|END)_LINK/);a.b=new e6(a.o,a.B,\{I:"div",fa:["ytp-popup","ytp-generic-popup"],U:\{role:"alert",tabindex:0\},P:[b[0],\{I:"a",U:\{href:"https://support.google.com/youtube/answer/6276924",target:"_blank"\},P:[b[2]]\},b[4]]\},100,!0);H(a,a.b);a.b.subscribe("show",x(a.B.ul,a.B,\
|
|
a.b));mw(a.o,a.b.element,4);a.element.setAttribute("aria-disabled",!0);a.element.setAttribute("aria-haspopup",!0);a.A();a.A=null\}\};\
|
|
m7=function(a,b,c)\{P.call(this,\{I:"button",fa:["ytp-multicam-button","ytp-button"],U:\{title:M("YTP_SWITCH_CAMERA"),"aria-haspopup":!0,"data-preview":"\{\{preview\}\}","data-tooltip-text":"\{\{text\}\}"\},P:[yh?\{I:"div",fa:["ytp-icon","ytp-icon-switch-camera"]\}:\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"\},P:[\{I:"path",Ea:!0,U:\{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.b=!1;this.A=b.g;this.C=new fe(this.D,0,this);H(this,this.C);this.O("click",x(c.cf,c,this.element,!1));this.S(a,"presentingplayerstatechange",qa(this.B,!1));this.S(a,"videodatachange",this.F);this.B(!0);Mb(this,d6(this.A,this.element))\};\
|
|
n7=function(a,b)\{this.A=new rx(this);H(this,this.A);var c=\{I:"div",W:"ytp-multicam-menu",U:\{role:"dialog"\},P:[\{I:"div",W:"ytp-multicam-menu-header",P:[\{I:"div",W:"ytp-multicam-menu-title",P:[M("YTP_SWITCH_CAMERA"),\{I:"button",fa:["ytp-multicam-menu-close","ytp-button"],U:\{"aria-label":M("YTP_CLOSE")\},P:[Dh()]\}]\}]\},\{I:"div",W:"ytp-multicam-menu-items"\}]\};e6.call(this,a,b,c,250);this.S(this.pa["ytp-multicam-menu-close"],"click",this.vb);this.b=a;this.B=this.pa["ytp-multicam-menu-items"];this.o=[]\};\
|
|
o7=function(a,b,c,d,e,f,k,l)\{this.o=a;this.D=b;this.b=c;this.B=d;this.g=e;this.C=f;this.A=k;this.F=l\};\
|
|
p7=function()\{this.o=null;this.B=this.b=0;this.A=new nt(this.g,null,this);H(this,this.A)\};\
|
|
q7=function(a,b)\{if("path"==b.I)return b.U.d;if(b.P)for(var c=0;c<b.P.length;c++)\{var d=b.P[c];if(d&&!w(d)&&(d=q7(a,d)))return d\}\};\
|
|
u7=function(a,b,c)\{c=q7(a,c);var d=b.getElementsByTagName("path")[0],e=d.getAttribute("d");if(d.getAttribute("id"))\{var f=Kq.b();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=r7(e),m=r7(c);s7(a,function(a)\{d.setAttribute("d",t7(l,m,a))\},200)\};\
|
|
s7=function(a,b,c)\{a.o=b;a.B=Bq();a.b=c;a.g()\};\
|
|
r7=function(a)\{var b=[];a=a.match(Xla);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\};\
|
|
t7=function(a,b,c)\{var d,e="";for(d=0;d<a.length;d++)var f=a[d],e=ha(f)?e+(f+(b[d]-f)*c):e+f;return e\};\
|
|
w7=function(a,b)\{var c=R(a);P.call(this,\{I:"button",fa:["ytp-mute-button","ytp-button"],U:c.aa?\{title:"\{\{title\}\}"\}:\{"aria-disabled":!0,"aria-haspopup":!0\},P:["\{\{icon\}\}"]\});this.va("icon",Rh());this.b=a;this.M=b.g;this.o=this.A=window.NaN;R(this.b).N||(this.B=this.element.getElementsByTagName("path")[0],this.F=this.element.getElementsByTagName("svg")[1],this.H=this.B.getAttribute("d"));this.C=new p7;H(this,this.C);this.O("click",this.G);this.S(a,"appresize",this.D);this.S(a,"onVolumeChange",this.N);\
|
|
var d=null;c.aa?Mb(this,d6(b.g,this.element)):(c=M("YTP_VOLUME_UNSUPPORTED_ERROR").split(/\\$(BEGIN|END)_LINK/),d=new e6(a,b,\{I:"span",fa:["ytp-popup","ytp-generic-popup"],U:\{tabindex:0\},P:[c[0],\{I:"a",U:\{href:"https://support.google.com/youtube/?p=noaudio",target:"_blank"\},P:[c[2]]\},c[4]]\},100,!0),H(this,d),d.subscribe("show",x(b.ul,b,d)),mw(a,d.element,4));this.K=d;this.D(wy(a).Ja());v7(this,a.Mb(),a.bd())\};\
|
|
v7=function(a,b,c)\{var d=c?0:b/100;b=R(a.b);if(b.N)d=0==d?Rh():0<d&&.5>d?Qh():Ph(),d!=a.J&&(a.va("icon",d),a.J=d);else if(d=d?.5*Math.ceil(d/.5):-.5,a.o!=d)\{var e=a.A;(0,window.isNaN)(e)?x7(a,d):s7(a.C,x(function(a)\{x7(this,e+(this.o-e)*a)\},a),250);\
|
|
a.o=d\}b.aa&&(a.va("title",c?M("YTP_UNMUTE"):M("YTP_MUTE")),y7(a.M))\};\
|
|
x7=function(a,b)\{a.A=b;var c=a.H,d=bf(2*b,0,1);d&&(c+=" "+t7(Yla,Zla,d),(d=bf(2*(b-.5),0,1))&&(c+=" "+t7($la,ama,d)));a.B.setAttribute("d",c);a.F.style.opacity=Math.max(b/-.5,0)\};\
|
|
z7=function(a,b)\{P.call(this,\{I:"button",fa:["ytp-pip-button","ytp-button"],U:\{title:M("YTP_PIP")\},P:[yh?\{I:"div",fa:["ytp-icon","ytp-icon-pip"]\}:\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"\},P:[\{I:"path",Ea:!0,U:\{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.b=\
|
|
a;this.O("click",this.o);Mb(this,d6(b.g,this.element))\};\
|
|
B7=function(a,b)\{P.call(this,\{I:"button",fa:["ytp-play-button","ytp-button"],U:\{title:"\{\{title\}\}","aria-label":"\{\{label\}\}"\},P:["\{\{icon\}\}"]\});this.b=a;this.o=null;this.B=b.g;this.A=null;this.C=new p7;H(this,this.C);this.S(a,"fullscreentoggled",this.D);this.S(a,"presentingplayerstatechange",this.F);this.S(a,"videodatachange",this.D);A7(this,qs(a));this.O("click",this.G,this)\};\
|
|
C7=function(a)\{switch(a)\{case 1:return Hh();case 2:return Gh();case 3:return Kh();case 4:return Nh();default:return null\}\};\
|
|
A7=function(a,b)\{var c,d=rs(a.b.getVideoData()),e=!1;wq(b)?c=d?4:2:O(b,2)?(c=3,e=d):c=1;a.element.disabled=e;if(a.o!=c)\{var f;switch(c)\{case 2:f=M("YTP_PAUSE");break;case 3:f=M("YTP_REPLAY");break;case 1:f=M("YTP_PLAY");break;case 4:f=M("YTP_STOP")\}3==c?(a.A||(a.A=d6(a.B,a.element)),a.update(\{title:f,label:null,icon:C7(c)\})):(a.A&&(a.A(),a.A=null),a.update(\{title:null,label:f\}),(d=C7(c))&&a.o&&3!=a.o&&!R(a.b).N?u7(a.C,a.element,d):a.va("icon",d));y7(a.B);a.o=c\}\};\
|
|
D7=function(a,b,c)\{var d,e;c?(d="ytp-next-button",e=Fh()):(d="ytp-prev-button",e=Jh());P.call(this,\{I:"a",fa:[d,"ytp-button"],U:\{title:"\{\{title\}\}",href:"\{\{url\}\}","data-preview":"\{\{preview\}\}","data-tooltip-text":"\{\{text\}\}","data-duration":"\{\{duration\}\}","aria-disabled":"\{\{disabled\}\}","data-next":"\{\{next\}\}","data-prev":"\{\{prev\}\}"\},P:[e]\});this.b=a;this.J=b.g;this.A=c;this.o=this.F=null;this.H=!1;this.D=this.G=this.B=null;this.C=!1;this.S(a,"fullscreentoggled",this.bh);this.S(a,"videodatachange",this.bh);\
|
|
this.S(a,"onPlaylistUpdate",this.bh);this.A||this.S(a,"appresize",this.aw);this.bh()\};\
|
|
E7=function(a)\{a.o&&a.o.Fa("shuffle",a.bh,a)\};\
|
|
F7=function(a)\{return!!a.o&&!a.A&&3<=a.b.getCurrentTime()&&2!=a.b.getPresentingPlayerType()\};\
|
|
G7=function(a)\{var b=\{duration:null,preview:null,text:null,title:null,url:null\},c=R(a.b),d=kJ(a.b),e=a.A&&yJ(a.b);if(a.C)b.title=M("YTP_REPLAY");else if(d)\{var f=null;a.o&&(f=a.o.Gb(a.A?BK(a.o):CK(a.o)));if(f)\{if(f.videoId)\{var k=a.o.listId;b.url=c.getVideoUrl(f.videoId,k?k.toString():void 0)\}b.text=f.title;b.duration=f.lengthSeconds?Sq(f.lengthSeconds):null;b.preview=f.Hc(c,"default.jpg")\}b.title=M(a.A?"YTP_NEXT":"YTP_PREVIOUS")\}else e&&(a.F.N&&a.F.N.length&&(f=MK(a.F.N[0]),b.url=f.Ol(c),b.text=\
|
|
f.title,b.duration=f instanceof DH?Sq(f.lengthSeconds):null,b.preview=f.Hc(c,"default.jpg")),b.title=M("YTP_NEXT"));b.disabled=!e&&!d;a.update(b);a.H=!!b.url;e||d||a.C?a.B||(a.B=d6(a.J,a.element),a.G=a.O("click",a.JJ,a)):a.B&&(a.B(),a.B=null,a.sa(a.G),a.G=null);y7(a.J)\};\
|
|
I7=function(a,b)\{GK.call(this,\{I:"div",W:"ytp-progress-bar-container",U:\{"aria-disabled":!0\},P:[\{I:"div",W:"ytp-progress-bar",U:\{tabindex:0,role:"slider","aria-label":M("YTP_SEEK_SLIDER"),"aria-valuemin":"\{\{ariamin\}\}","aria-valuemax":"\{\{ariamax\}\}","aria-valuenow":"\{\{arianow\}\}","aria-valuetext":"\{\{arianowtext\}\}"\},P:[\{I:"div",W:"ytp-progress-bar-padding"\},\{I:"div",W:"ytp-progress-list",P:[\{I:"div",fa:["ytp-play-progress","ytp-swatch-background-color"]\},\{I:"div",W:"ytp-load-progress"\},\{I:"div",W:"ytp-hover-progress"\},\
|
|
\{I:"div",W:"ytp-clip-start-exclude"\},\{I:"div",W:"ytp-clip-end-exclude"\},\{I:"div",W:"ytp-ad-progress-list"\},\{I:"div",W:"ytp-marker-crenellation-list"\},\{I:"div",W:"ytp-marker-progress-list"\}]\},\{I:"div",W:"ytp-scrubber-container",P:[\{I:"div",fa:["ytp-scrubber-button","ytp-swatch-background-color"],P:[\{I:"div",W:"ytp-scrubber-pull-indicator"\}]\}]\}]\},\{I:"div",W:"ytp-bound-time-left",P:["\{\{boundTimeLeft\}\}"]\},\{I:"div",W:"ytp-bound-time-right",P:["\{\{boundTimeRight\}\}"]\},\{I:"div",W:"ytp-clip-start",U:\{title:M("YTP_WATCH_ALL")\},\
|
|
P:["\{\{clipstarticon\}\}"]\},\{I:"div",W:"ytp-clip-end",U:\{title:M("YTP_WATCH_ALL")\},P:["\{\{clipendicon\}\}"]\}]\});this.va("clipstarticon",Ch());this.va("clipendicon",Bh());this.o=a;this.Ca=b.g;this.na=!1;this.B=this.Oa=0;this.R=1;this.Sa=this.F=0;this.C=window.NaN;this.Ga=!1;this.G=this.X=0;this.tb=this.pa["ytp-ad-progress-list"];this.ub=this.pa["ytp-marker-progress-list"];this.Ha=this.pa["ytp-marker-crenellation-list"];this.M=\{\};this.ea=\{\};this.J=window.Infinity;var c=b.g;this.aa=this.pa["ytp-clip-end"];\
|
|
Mb(this,d6(c,this.aa));this.ha=new S1(this.aa,!0);H(this,this.ha);this.ha.subscribe("hoverstart",this.Sr,this);this.ha.subscribe("hoverend",this.Rr,this);this.S(this.aa,"click",this.Hj);this.Aa=this.pa["ytp-clip-end-exclude"];this.xb=this.pa["ytp-clip-start-exclude"];this.K=0;this.da=this.pa["ytp-clip-start"];Mb(this,d6(c,this.da));this.ia=new S1(this.da,!0);H(this,this.ia);this.ia.subscribe("hoverstart",this.Sr,this);this.ia.subscribe("hoverend",this.Rr,this);this.S(this.da,"click",this.Hj);this.Na=\
|
|
this.pa["ytp-load-progress"];this.ga=0;this.Db=this.pa["ytp-play-progress"];this.ca=this.pa["ytp-hover-progress"];this.D=0;this.cb=this.pa["ytp-progress-bar"];this.A=null;this.Ya=this.pa["ytp-scrubber-button"];this.Cb=this.pa["ytp-scrubber-container"];this.la=new gf;this.Ia=new Z1;this.b=new V1(0,0);this.H=this.qa=!1;this.Za=null;this.S(a,"presentingplayerstatechange",this.Tz);this.S(a,"videodatachange",this.bw);this.S(a,"videoplayerreset",this.Sz);this.S(a,"cuerangesadded",this.gu);this.S(a,"cuerangesremoved",\
|
|
this.dG);this.S(a,"cuerangemarkersupdated",this.gu);this.S(a,"onPlaybackQualityChange",this.Zz);H7(this,a.getVideoData(),!0)\};\
|
|
M7=function(a)\{if(a.B)\{var b=a.o.Rf(),c=new V1(b.seekableStart,b.seekableEnd),d=Y1(c,b.loaded,0),b=Y1(c,b.current,0),e=a.b.g!=c.g||a.b.b!=c.b;a.b=c;J7(a,b,d);e&&K7(a);L7(a)\}\};\
|
|
H7=function(a,b,c)\{var d=!!b&&XH(b);a.qa=d&&b.K;N7(a,uJ(a.o));c&&(d?(c=b.clipEnd,a.K=b.clipStart,a.J=c,O7(a),J7(a,a.D,a.ga)):a.Hj(),b=a.Ca,1==b.b&&b.Ic());M7(a)\};\
|
|
P7=function(a)\{return!!a&&XH(a)&&!!a.g&&a.g.video.isAccelerated&&a.g.video.g\};\
|
|
Q7=function(a,b)\{a.Ga=b;oe(a.Na,"ytp-fast-load",b)\};\
|
|
R7=function(a,b,c,d)\{b=bf(b,0,a.H?60:40);a.F=b;var e=a.R;a.R=b/(a.H?60:40)*(Math.max(W1(a.b)/a.B,1)-1)+1;b=a.B*a.R;a.G=bf(d*b-c,0,b-a.B);e!=a.R&&K7(a)\};\
|
|
K7=function(a)\{var b=S7(a),c=-b.o/b.b,d=(-b.o+b.width)/b.b,e=Mf(a.Ha),f=0;if(a.F>.2*(a.H?60:40))for(var k=W1(a.b)/60*d,l=Math.ceil(W1(a.b)/60*c);l<k;l++)\{var m=e[f];m||(m=window.document.createElement("div"),a.Ha.appendChild(m));f++;m.className=0==l%60?"ytp-60m-progress":0==l%30?"ytp-30m-progress":0==l%15?"ytp-15m-progress":"ytp-1m-progress";m.style.left=(60*l/W1(a.b)-c)*b.b+"px"\}b=a.qa?a.b.b:0;a.update(\{boundTimeLeft:Sq(X1(a.b,c)-b),boundTimeRight:Sq(X1(a.b,d)-b)\});for(c=e.length-1;c>=f;c--)Jf(e[c]);\
|
|
a.element.style.height=a.F+(a.H?8:5)+"px";a.Y("height-change",a.F);a.Ya.style.height=a.F+(a.H?20:13)+"px";for(var n in a.M)T7(a,a.M[n],a.ea[n]);O7(a);J7(a,a.D,a.ga)\};\
|
|
S7=function(a)\{var b=a.la.x,c=a.B*a.R,b=bf(b,0,a.B);a.Ia.update(b,a.B,-a.G,-(c-a.G-a.B));return a.Ia\};\
|
|
J7=function(a,b,c)\{a.D=b;a.ga=c;var d=S7(a),e=a.b.b,f=X1(a.b,a.D);a.update(\{ariamin:Math.floor(a.b.g),ariamax:Math.floor(e),arianow:Math.floor(f),arianowtext:M("YTP_PROGRESS_LABEL_2",\{PLAY_PROGRESS:Sq(f),DURATION:Sq(e)\})\});var e=Y1(a.b,a.K,0),k=Y1(a.b,a.J,1),f=bf(b,e,k);c=a.Ga?1:bf(c,e,k);k=b*d.b+d.o;a.Ya.style.display=0<=k&&b<=d.width?"":"none";Is(a.Cb,"transform","translateX("+k+"px)");U7(a,a.Db,d,e,f);U7(a,a.Na,d,e,c)\};\
|
|
U7=function(a,b,c,d,e,f)\{b.style.left=Math.max(d*c.b+c.o,0)+"px";d=Math.min((e-d)*c.b+c.o,c.width);f||R(a.o).isMobile?(b.style.width=d+"px",Ks(b,"transform")):Is(b,"transform","scalex("+(c.width?d/c.width:0)+")")\};\
|
|
O7=function(a)\{var b=a.K>a.b.g,c=0<a.b.b&&a.J<a.b.b;oe(a.element,"ytp-clip-start-enabled",b);oe(a.element,"ytp-clip-end-enabled",c);b=b?Y1(a.b,a.K,0):0;c=c?Y1(a.b,a.J,1):1;a.da.style.left=Math.round(1E3*b)/10+"%";a.aa.style.left=Math.round(1E3*c)/10+"%";a.xb.style.width=Math.round(1E3*b)/10+"%";a.Aa.style.left=Math.round(1E3*c)/10+"%";a.Aa.style.width=Math.round(1E3*(1-c))/10+"%"\};\
|
|
L7=function(a)\{var b=S7(a);U7(a,a.ca,b,a.D,b.g);oe(a.ca,"ytp-hover-progress-light",b.g>a.D)\};\
|
|
T7=function(a,b,c)\{var d=S7(a),e=Y1(a.b,b.start/1E3,0),f,k=eq(b)/d.width;switch(b.style)\{case "ytp-chapter-marker":f=e+k/2;e-=k/2;break;default:f=Y1(a.b,b.end/1E3,1),k!=Number.POSITIVE_INFINITY&&(e=bf(e,0,f-k)),f=Math.min(f,e+k),b.color&&(c.style.background=b.color)\}U7(a,c,d,e,f,!0);c.className=b.style\};\
|
|
V7=function(a,b)\{var c=b.getId();a.M[c]==b&&(Jf(a.ea[c]),delete a.M[c],delete a.ea[c])\};\
|
|
N7=function(a,b)\{b?a.A||(a.element.removeAttribute("aria-disabled"),a.A=new S1(a.cb,!0),a.A.subscribe("hovermove",a.vE,a),a.A.subscribe("hoverend",a.uE,a),a.A.subscribe("dragstart",a.tE,a),a.A.subscribe("dragmove",a.xE,a),a.A.subscribe("dragend",a.wE,a),a.Za=a.O("keydown",a.LJ)):a.A&&(a.element.setAttribute("aria-disabled",!0),a.sa(a.Za),a.A.cancel(),a.A.dispose(),a.A=null)\};\
|
|
X7=function(a)\{P.call(this,\{I:"div",W:"ytp-remote",P:[\{I:"div",W:"ytp-remote-display-status",P:[\{I:"div",W:"ytp-remote-display-status-icon",P:[zh()]\},\{I:"div",W:"ytp-remote-display-status-text",P:["\{\{statustext\}\}"]\},\{I:"div",W:"ytp-remote-display-status-receiver",P:["\{\{receiver\}\}"]\}]\}]\});this.b=new Av(this,250);H(this,this.b);this.o=a;this.S(a,"presentingplayerstatechange",this.A);W7(this,qs(a))\};\
|
|
W7=function(a,b)\{if(3==a.o.getPresentingPlayerType())\{var c;c=O(b,128)?M("YTP_MDX_PLAYER_ERROR"):M("YTP_MDX_STATUS_CONNECTED");var d=a.o.Jb("remote","currentReceiver");a.update(\{statustext:c,receiver:d.name\});a.b.show()\}else Cv(a.b)\};\
|
|
Y7=function(a,b,c)\{P.call(this,\{I:"button",fa:["ytp-remote-button","ytp-button"],U:\{title:M("YTP_MDX_TOOLTIP")\},P:["\{\{icon\}\}"]\});this.$=a;this.B=c;this.o=null;this.S(a,"onMdxReceiversChange",this.b);this.S(a,"presentingplayerstatechange",this.b);this.S(a,"appresize",this.b);this.b();this.O("click",this.A,this);Mb(this,d6(b.g,this.element))\};\
|
|
Z7=function(a,b)\{v6.call(this,M("YTP_ANNOTATIONS"),5);this.B=b;this.$=a;this.o=!1;this.S(a,"videodatachange",this.A);this.S(a,"onApiChange",this.A);this.subscribe("select",this.C,this);this.A()\};\
|
|
$7=function(a,b,c,d,e,f)\{var k=p6(\{"aria-haspopup":!0\});o6.call(this,k,b,a);this.b=d;this.F=null;this.o=\{\};this.C=new r6(c,void 0,a,e,f);H(this,this.C);this.O("keydown",this.MJ);this.O("click",this.open)\};\
|
|
a8=function(a,b)\{for(var c=a.C,d=0;d<c.b.length;d++)c.b[d].Fa("size-change",c.R,c);c.b=[];Hf(c.o.element);c.o.Y("size-change");for(var c=\{\},d=!1,e=0;e<b.length;e++)\{var f=b[e],k=a.o[f],l=f==a.F;l&&(d=!0);k&&k.priority==-e?(n6(a.o[f],a.md(f,!0)),delete a.o[f]):(k=new o6(\{I:"div",fa:["ytp-menuitem"],U:\{tabindex:0,role:"menuitemradio","aria-checked":l?!0:null\},P:[\{I:"div",fa:["ytp-menuitem-label"],P:["\{\{label\}\}"]\}]\},-e,a.md(f,!0)),k.O("click",x(a.aE,a,f)));c[f]=k;s6(a.C,k,!0)\}d||(a.F=null);for(f in a.o)a.o[f].dispose();\
|
|
a.o=c\};\
|
|
b8=function(a,b)\{$7.call(this,M("YTP_AUDIO_TRACK_TITLE"),2,a,b);this.$=a;this.G=new P(\{I:"div",P:[\{I:"span",P:[M("YTP_AUDIO_TRACK_TITLE")]\},\{I:"span",W:"ytp-menuitem-label-count",P:["\{\{content\}\}"]\}]\});n6(this,this.G);this.H=\{\};this.A=!1;this.S(a,"videodatachange",this.D);this.S(a,"onPlaybackAudioChange",this.D);this.D()\};\
|
|
c8=function(a,b)\{v6.call(this,M("YTP_AUTOPLAY"),6);this.D=b;this.$=a;this.B=!1;this.o=[];this.S(a,"presentingplayerstatechange",this.A);this.subscribe("select",this.F,this);this.A()\};\
|
|
d8=function(a,b)\{$7.call(this,M("YTP_QUALITY_TITLE"),1,a,b);J(this.C.element,"ytp-quality-menu");this.$=a;this.H=\{\};this.D="unknown";this.A=!1;this.S(a,"videodatachange",this.B);this.S(a,"videoplayerreset",this.B);this.S(a,"onPlaybackQualityChange",this.G);this.B()\};\
|
|
e8=function(a,b,c)\{var d=(a=a.H[b])?a.qualityLabel:(d=Wy[b])?d+"p":M("YTP_AUTO");c=\{I:"span",fa:c,P:[d]\};var e;a&&a.isAccelerated&&a.g?c.P.push(\{I:"div",W:"ytp-menuitem-badge-container",P:[\{I:"svg",U:\{fill:"#00838f",height:"11px",viewBox:"0 0 48 48",width:"11px"\},P:[\{I:"path",U:\{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"\}\},\{I:"path",U:\{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"\}\}]\}]\}):"highres"==b?e="8K":"hd2880"==b?e="5K":"hd2160"==b?e="4K":0==b.indexOf("hd")&&(e="HD");e&&(c.P.push(" "),c.P.push(\{I:"sup",W:"ytp-swatch-color",P:[e]\}));return c\};\
|
|
f8=function(a,b)\{$7.call(this,M("YTP_MDX_TITLE"),0,a,b);this.$=a;this.A=!1;this.G=\{\};this.S(a,"onMdxReceiversChange",this.D);this.S(a,"presentingplayerstatechange",this.D);this.D()\};\
|
|
g8=function(a,b)\{$7.call(this,M("YTP_SPEED_TITLE"),4,a,b);this.$=a;this.A=!1;this.B=null;this.S(a,"presentingplayerstatechange",this.dw);this.dw()\};\
|
|
i8=function(a,b,c,d)\{var e=M("YTP_VIDEO_SUBTITLES_OVERRIDE");$7.call(this,h8(d),a,b,c,e,x(this.NF,this));J(this.element,"ytp-subtitles-options-menu-item");this.G=d.option.toString();this.H=Ib(d.options,this.gw,this);this.A=new r6(b,void 0,e);H(this,this.A);a=new o6(\{I:"div",W:"ytp-menuitemtitle",P:[M("YTP_VIDEO_SUBTITLES_OVERRIDE_DESC")]\},0);H(this,a);s6(this.A,a,!0);this.D=new o6(\{I:"div",W:"ytp-menuitem",U:\{role:"menuitemradio",tabindex:0\},P:[\{I:"div",W:"ytp-menuitem-label",P:[M("YTP_ON")]\}]\},-1);\
|
|
H(this,this.D);s6(this.A,this.D,!0);this.S(this.D.element,"click",qa(this.wt,!0));this.B=new o6(\{I:"div",W:"ytp-menuitem",U:\{role:"menuitemradio",tabindex:0\},P:[\{I:"div",W:"ytp-menuitem-label",P:[M("YTP_OFF")]\}]\},-2);H(this,this.B);s6(this.A,this.B,!0);this.S(this.B.element,"click",qa(this.wt,!1));a8(this,Ii(d.options,this.gw))\};\
|
|
h8=function(a)\{return(a.message?M(a.message):a.text)||""\};\
|
|
j8=function(a,b)\{r6.call(this,a,void 0,M("YTP_OPTIONS"));this.A=\{\};for(var c=0;c<J6.length;c++)\{var d=J6[c],e=new i8(-c,a,b,d);H(this,e);e.subscribe("settingChange",this.B,this);this.A[d.option.toString()]=e;s6(this,e,!0)\}c=new o6(p6(),-J6.length,M("YTP_RESET"));H(this,c);c.O("click",x(this.B,this,"reset",!0));s6(this,c,!0)\};\
|
|
k8=function(a,b)\{for(var c in b)\{var d=a.A[c];if(d)\{var e=b[c].toString(),f=!!b[c+"Override"];d.o[e]&&(d.Ce(e),d.D.element.setAttribute("aria-checked",!f),d.B.element.setAttribute("aria-checked",f))\}\}\};\
|
|
l8=function(a,b)\{$7.call(this,M("YTP_AUTO_TRANSLATE"),0,a,b);this.A=\{\}\};\
|
|
m8=function(a,b)\{$7.call(this,M("YTP_SUBTITLES"),3,a,b,M("YTP_OPTIONS"),x(this.zG,this));this.$=a;this.H=!1;this.A=\{\};this.G=new P(\{I:"div",P:[\{I:"span",P:[M("YTP_SUBTITLES")]\},\{I:"span",W:"ytp-menuitem-label-count",P:["\{\{content\}\}"]\}]\});H(this,this.G);n6(this,this.G);this.D=new l8(a,b);H(this,this.D);this.D.subscribe("select",this.jF,this);this.B=new j8(a,b);H(this,this.B);this.B.subscribe("settingChange",this.RJ,this);this.S(a,"videodatachange",this.ii);this.S(a,"onApiChange",this.ii);this.S(a,\
|
|
"onCaptionsTrackListChanged",this.ii);this.S(a,"captionschanged",this.ii);this.ii()\};\
|
|
n8=function(a,b)\{$7.call(this,M("YTP_THREED_SHORT"),7,a,b);this.$=a;this.A=!1;this.S(a,"videodatachange",this.D);this.B=null;this.D()\};\
|
|
o8=function(a,b)\{this.o=a;this.B=new r6(a);H(this,this.B);h6.call(this,a,b,"ytp-settings-menu");this.J=this.G=null;this.ca=!1;l6(this,this.B)\};\
|
|
q8=function(a)\{if(!a.ca)\{a.ca=!0;var b=new d8(a.o,a);H(a,b);b=new m8(a.o,a);H(a,b);b=new Z7(a.o,a);H(a,b);R(a.o).ea&&(b=new g8(a.o,a),H(a,b));b=new n8(a.o,a);H(a,b);R(a.o).Cb&&(b=new c8(a.o,a),H(a,b));b=new b8(a.o,a);H(a,b);R(a.o).B&&(a.J=new f8(a.o,a),H(a,a.J));p8(a.G,a.B.b.length)\}\};\
|
|
r8=function(a,b)\{s6(a.B,b);p8(a.G,a.B.b.length)\};\
|
|
s8=function(a,b)\{a.g&&1>=a.B.b.length&&a.oa();var c=a.B;pb(c.b,b);b.Fa("size-change",c.R,c);c.o.element.removeChild(b.element);c.o.Y("size-change");p8(a.G,a.B.b.length)\};\
|
|
t8=function(a,b,c)\{P.call(this,\{I:"button",fa:["ytp-button","ytp-settings-button"],U:\{"aria-haspopup":!0,"aria-owns":"ytp-main-menu-id",title:M("YTP_SETTINGS")\},P:[Lh()]\});this.o=c;this.$=a;this.B=!0;this.O("click",this.C);this.S(a,"onPlaybackQualityChange",this.b);this.S(a,"videodatachange",this.b);this.S(a,"webglsettingschanged",this.b);this.S(a,"appresize",this.A);Mb(this,d6(b.g,this.element));this.b();this.A(wy(a).Ja())\};\
|
|
p8=function(a,b)\{a.B=!!b;a.A(wy(a.$).Ja())\};\
|
|
u8=function(a,b)\{P.call(this,\{I:"button",fa:["ytp-size-button","ytp-button"],U:\{title:"\{\{title\}\}"\},P:["\{\{icon\}\}"]\});this.b=a;this.B=b.g;this.A=null;this.C=new p7;H(this,this.C);this.S(a,"sizestylechange",this.o);this.S(a,"fullscreentoggled",this.o);this.S(a,"presentingplayerstatechange",this.o);this.o();this.O("click",this.D);Mb(this,d6(this.B,this.element))\};\
|
|
v8=function(a,b)\{P.call(this,\{I:"button",fa:["ytp-subtitles-button","ytp-button"],U:\{"aria-pressed":"\{\{pressed\}\}",title:M("YTP_SUBTITLES_TOOLTIP")\},P:[Oh()]\});this.o=a;this.S(a,"videodatachange",this.b);this.S(a,"appresize",this.b);this.S(a,"onApiChange",this.b);this.S(a,"onCaptionsTrackListChanged",this.b);this.S(a,"captionschanged",this.b);this.b();this.O("click",this.A);Mb(this,d6(b.g,this.element))\};\
|
|
w8=function(a,b)\{P.call(this,\{I:"div",fa:["ytp-time-display","notranslate"],P:[\{I:"span",W:"ytp-time-current",P:["\{\{currenttime\}\}"]\},\{I:"span",W:"ytp-time-separator",P:[" / "]\},\{I:"span",W:"ytp-time-duration",P:["\{\{duration\}\}"]\}]\});this.B=new P(\{I:"button",fa:["ytp-live-badge","ytp-button"],U:\{disabled:!0\},P:[M("YTP_LIVE")]\});H(this,this.B);this.B.Ba(this.element);this.b=a;this.G=b.g;this.o=null;this.C=this.A=!1;this.F=this.D=null;this.O("click",this.SJ);this.S(a,"presentingplayerstatechange",this.dh);\
|
|
this.S(a,"appresize",this.dh);this.S(a,"liveviewshift",this.TJ);this.S(a,"videodatachange",this.UJ);var c=a.getVideoData();c&&(this.A=c.xa,oe(this.element,"ytp-live",this.A));this.dh()\};\
|
|
y8=function(a,b,c)\{P.call(this,\{I:"div",W:"ytp-volume-panel",U:\{role:"slider","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":"\{\{valuenow\}\}","aria-valuetext":"\{\{valuetext\}\}",tabindex:0\},P:[\{I:"div",W:"ytp-volume-slider",P:[\{I:"div",W:"ytp-volume-slider-handle"\}]\}]\});this.b=a;this.D=b;this.K=c;this.H=!1;this.G=sJ(b);this.N=this.B=0;this.M=this.pa["ytp-volume-slider"];this.R=this.pa["ytp-volume-slider-handle"];this.F=new S1(this.M,!0);H(this,this.F);this.F.subscribe("dragstart",this.YE,this);\
|
|
this.F.subscribe("dragmove",this.XE,this);this.F.subscribe("dragend",this.WE,this);this.J=null;this.o=this.A=this.C=!1;this.S(a,"onVolumeChange",this.YJ);this.S(a,"appresize",this.iw);this.S(a,"fullscreentoggled",this.WJ);this.S(a,"onShowControls",this.Gp);this.S(a,"onHideControls",this.Gp);this.S(this.element,"keydown",this.ZE);this.S(this.element,"focus",qa(this.hw,!0));this.S(this.element,"blur",qa(this.hw,!1));this.iw(wy(a).Ja());x8(this,a.Mb(),a.bd())\};\
|
|
x8=function(a,b,c)\{var d=Math.floor(b),e=d+"% "+M("YTP_SCREENREADER_VOLUME_SETTING")+(c?" "+M("YTP_SCREENREADER_VOLUME_MUTED"):"");c=c?0:b/100;a.va("valuenow",d);a.va("valuetext",e);a.R.style.left=(a.G?60:40)*c+"px";a.B=b\};\
|
|
z8=function(a,b,c,d,e)\{var f=a.A||a.C||a.o||a.H;a.A=b;a.C=c;a.o=d;a.H=e;b=a.A||a.C||a.o||a.H;f!=b&&(b?a.J=a.S(a.element,"wheel",a.XJ):(a.sa(a.J),a.J=null),oe(a.K,"ytp-volume-slider-active",b))\};\
|
|
A8=function(a,b)\{var c=R(a),d=OA(c);0==d.indexOf("www.")&&(d=d.substring(4));var e=["ytp-youtube-button","ytp-button","yt-uix-sessionlink"];(c="gaming"==c.g)&&e.push("ytp-youtube-gaming-button");P.call(this,\{I:"a",fa:e,U:\{href:"\{\{url\}\}",target:"_blank",title:M("YTP_URL_NAVIGATE_TO",\{WEBSITE:d\}),"data-sessionlink":"feature=player-button"\},P:[c?yh?\{I:"div",fa:["ytp-icon","ytp-icon-logo-gaming"]\}:\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 98 36",width:"100%"\},P:[\{I:"path",Ea:!0,W:"ytp-svg-fill",\
|
|
U:\{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"\}\},\
|
|
\{I:"path",fa:["ytp-svg-fill","ytp-svg-fill-logo-tube-text"],U:\{d:"M23,12 L43,12 L43,24 L23,24 Z",fill:"none"\}\},\{I:"path",Ea:!0,fa:["ytp-svg-fill","ytp-svg-fill-logo-tube-lozenge"],U:\{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"\}\},\{I:"g",Ea:!0,W:"ytp-svg-fill",P:[\{I:"path",U:\{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"\}\},\
|
|
\{I:"path",U:\{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"\}\},\
|
|
\{I:"path",U:\{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"\}\},\
|
|
\{I:"path",U:\{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"\}\},\
|
|
\{I:"path",U:\{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"\}\},\
|
|
\{I:"path",U:\{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"\}\}]\}]\}:\
|
|
yh?\{I:"div",fa:["ytp-icon","ytp-icon-logo"]\}:\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 51 36",width:"100%"\},P:[\{I:"path",Ea:!0,W:"ytp-svg-fill",U:\{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"\}\},\
|
|
\{I:"path",fa:["ytp-svg-fill","ytp-svg-fill-logo-tube-text"],U:\{d:"M23,12 L43,12 L43,24 L23,24 Z",fill:"none"\}\},\{I:"path",Ea:!0,fa:["ytp-svg-fill","ytp-svg-fill-logo-tube-lozenge"],U:\{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.b=a;this.O("click",this.A);this.S(a,"videodatachange",this.o);this.o();Mb(this,d6(b.g,this.element))\};\
|
|
B8=function(a,b,c)\{rx.call(this);var d=R(a);this.$=a;this.b=b;this.N=window.NaN;this.M=null;this.H=c;this.H.subscribe("autohideupdate",this.ew,this);c=!Fq(qs(a));var e=new P(\{I:"div",W:"ytp-gradient-bottom"\});H(this,e);mw(a,e.element,8);this.F=new Av(e,250,c,100);H(this,this.F);this.g=new P(\{I:"div",W:"ytp-chrome-bottom",P:[\{I:"div",W:"ytp-chrome-controls"\}]\});H(this,this.g);mw(a,this.g.element,8);this.D=new Av(this.g,250,c,100);H(this,this.D);c=this.g.element.children[0];this.o=new o8(a,b);H(this,\
|
|
this.o);mw(a,this.o.element,6);this.o.subscribe("show",this.MG,this);this.o.subscribe("show",x(b.wG,b,this.o));this.A=new I7(a,b);H(this,this.A);this.A.Ba(this.g.element,0);e=new e7(a,b);H(this,e);mw(a,e.element,4);this.A.subscribe("height-change",e.tG,e);e=new h7(a);H(this,e);mw(a,e.element,4);e=new Kq(\{I:"div",W:"ytp-left-controls"\});H(this,e);e.Ba(c);var f=new D7(a,b,!1);H(this,f);f.Ba(e.element);f=new B7(a,b);H(this,f);f.Ba(e.element);f=new D7(a,b,!0);H(this,f);f.Ba(e.element);var k=new P(\{I:"span"\});\
|
|
H(this,k);k.Ba(e.element);if(!d.useMediaVolume&&(f=new w7(a,b),H(this,f),f.Ba(k.element),d.aa))\{f=new y8(a,b,this.g.element);H(this,f);f.Ba(k.element);k=new S1(k.element);H(this,k);var l=x(f.Mt,f,!0);k.subscribe("hoverstart",l);k=new S1(e.element);H(this,k);f=x(f.Mt,f,!1);k.subscribe("hoverend",f)\}this.G=new w8(a,b);H(this,this.G);this.G.Ba(e.element);e=new Kq(\{I:"div",W:"ytp-right-controls"\});H(this,e);e.Ba(c);c=new v8(a,b);H(this,c);c.Ba(e.element);c=new t8(a,b,this.o);H(this,c);this.o.G=c;c.Ba(e.element);\
|
|
c=new n7(a,b);H(this,c);mw(a,c.element,5);c.subscribe("show",x(b.tl,b,c));c=new m7(a,b,c);H(this,c);c.Ba(e.element);d.gd&&(c=new A8(a,b),H(this,c),c.Ba(e.element));c=new u8(a,b);H(this,c);c.Ba(e.element);d.B&&(c=new X7(a),H(this,c),mw(a,c.element,4),c=new Y7(a,b,this.o),H(this,c),c.Ba(e.element));d.fd&&(d=new d7(a,b),H(this,d),d.Ba(e.element));d=iz();d.webkitSetPresentationMode&&ia(d.webkitSupportsPresentationMode)&&d.webkitSupportsPresentationMode("picture-in-picture")&&(d=new z7(a,b),H(this,d),\
|
|
d.Ba(e.element));this.J=new l7(a,b);H(this,this.J);this.J.Ba(e.element);this.B=new nt(this.sD,null,this);H(this,this.B);this.C=null;this.S(a,"appresize",this.mo);this.S(a,"fullscreentoggled",this.mo);this.S(a,"presentingplayerstatechange",this.un);this.mo()\};\
|
|
C8=function(a,b)\{Fq(qs(a.$))||b?b&&(Cv(a.D),Cv(a.F),a.b.g.dg(a.ma())):b||(a.D.show(),a.F.show(),a.ew())\};\
|
|
D8=function(a)\{var b=wy(a.$).Ja().width;return Math.max(b-24*(sJ(a.b)?2:1),100)\};\
|
|
E8=function(a)\{P.call(this,\{I:"div",W:"ytp-title",P:[\{I:"a",W:"ytp-title-channel-logo",U:\{href:"\{\{channelImageLink\}\}",target:"_blank"\}\},\{I:"div",W:"ytp-title-text",P:[\{I:"a",fa:["ytp-title-link","yt-uix-sessionlink"],U:\{target:"_blank",href:"\{\{url\}\}","data-sessionlink":"feature=player-title"\},P:[\{I:"span",W:"ytp-title-playlist-icon",P:[Ih()]\},\{I:"span",P:["\{\{title\}\}"]\}]\},\{I:"a",W:"ytp-title-channel-name",U:\{href:"\{\{channelNameLink\}\}",target:"_blank"\},P:["\{\{channelName\}\}"]\}]\}]\});this.b=a;this.o=null;\
|
|
this.G=this.pa["ytp-title-link"];this.F=this.pa["ytp-title-channel-logo"];this.J=this.pa["ytp-title-playlist-icon"];this.C=this.B=null;this.S(a,"videodatachange",this.A);this.S(a,"videoplayerreset",this.A);this.S(a,"appresize",this.D);this.D(wy(a).Ja());this.A()\};\
|
|
G8=function(a)\{var b=a.b.getVideoData(),c=b.videoId&&2==a.b.getPresentingPlayerType();c&&b.videoId==a.B?J(a.element,"ytp-title-extra-info"):(me(a.element,"ytp-title-extra-info"),c&&(b.author&&b.dc&&b.profilePicture?F8(a,b.videoId,b.author,b.dc,b.profilePicture):b.videoId!=a.C&&(c=MA(R(a.b),b.videoId,!1),dk(c,\{method:"GET",sb:x(a.H,a,b.videoId),withCredentials:!0\}),a.C=b.videoId)))\};\
|
|
F8=function(a,b,c,d,e)\{d=R(a.b).X+"://"+NA(R(a.b))+d;a.F.style.backgroundImage="url("+e+")";a.va("channelImageLink",d);a.va("channelNameLink",d);a.va("channelName",M("YTP_UPLOADED_BY_2",\{AUTHOR:c\}));a.B=b;G8(a)\};\
|
|
H8=function(a,b)\{var c=wy(a).Ja();P.call(this,\{I:"div",P:[\{I:"div",W:"ytp-tooltip-bg",P:[\{I:"div",W:"ytp-tooltip-duration",P:["\{\{duration\}\}"]\}]\},\{I:"div",W:"ytp-tooltip-text-wrapper",P:[\{I:"div",W:"ytp-tooltip-image"\},\{I:"div",W:"ytp-tooltip-title",P:["\{\{title\}\}"]\},\{I:"span",W:"ytp-tooltip-text",P:["\{\{text\}\}"]\}]\}]\});this.M=a;this.ca=b;this.X=R(a).isMobile;this.G=this.pa["ytp-tooltip-bg"];this.ga=this.pa["ytp-tooltip-image"];this.aa=x(this.ND,this);this.K=x(this.PD,this);this.o=null;this.D=new Av(this,\
|
|
100);H(this,this.D);this.b=null;this.J=!1;this.A=null;this.C=window.NaN;this.F="";this.da=c.width;this.H=!0;this.B=1;this.N=new fe(this.HB,250,this);H(this,this.N);this.R=new fe(this.Ic,5E3,this);H(this,this.R)\};\
|
|
J8=function(a,b)\{if(null!=a.b)if(b)switch(a.b)\{case 3:I8(a);a.D.show();break;case 2:I8(a);a.D.show(400);break;default:a.D.show()\}else Cv(a.D);a.H=b\};\
|
|
d6=function(a,b)\{if(a.X)return r;b.addEventListener("mouseover",a.K);return x(function()\{this.o==b&&this.Ic();b.removeEventListener("mouseover",this.K)\},a)\};\
|
|
L8=function(a,b,c)\{if(a.b)if(3==a.b)a.Ic();else return;K8(a,b,3,c)\};\
|
|
K8=function(a,b,c,d)\{(0,window.isNaN)(a.C)||(a.C=window.NaN,a.G.style.background="");a.o=b;a.J=!!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.ga.style.backgroundImage="url("+b+")";oe(a.element,"ytp-tooltip-image-enabled",!!b);a.b=c;a.M.addEventListener("appresize",a.Ic,a);a.H&&(I8(a),a.D.show(3==a.b?0:400))\};\
|
|
I8=function(a)\{var b=a.o.getAttribute("data-tooltip-text");if(b&&!a.J)\{a.va("text",b);var c=a.o.getAttribute("data-duration");a.update(\{title:a.F,duration:c\});var d=a.o.getAttribute("data-preview"),e=160*a.B,f=90*a.B,k=120*a.B,l=90*a.B;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";ke(a.element,["ytp-text-detail","ytp-preview"]);oe(a.element,"ytp-has-duration",\
|
|
!!c)\}else a.va("text",a.F),ne(a.element,["ytp-text-detail","ytp-preview","ytp-has-duration"]);M8(a,!!b)\};\
|
|
M8=function(a,b,c)\{a.element.style.maxWidth=b?"":Math.min(a.da,200*a.B)+"px";N8(a.ca,a.element,a.o,c,1==a.b);a.element.style.top?J(a.element,"ytp-bottom"):a.element.style.bottom&&J(a.element,"ytp-top");3==a.b&&a.R.start()\};\
|
|
y7=function(a)\{a.o&&!a.J&&a.o.hasAttribute("title")&&(a.F=a.o.getAttribute("title"),a.o.removeAttribute("title"),a.H&&I8(a))\};\
|
|
O8=function(a,b)\{oe(a.element,"ytp-preview",0<=b);if(!(0>b||b==a.C))\{a.C=b;var c=160*a.B,d=160*a.B,e=pH(a.A,a.C,c);$1(a.G,e,c,d,!0);a.N.start()\}\};\
|
|
Q8=function(a,b,c)\{P.call(this,\{I:"button",fa:["ytp-watch-later-button","ytp-button"],U:\{title:"\{\{title\}\}","data-tooltip-image":"\{\{image\}\}"\},P:["\{\{icon\}\}"]\});this.b=a;this.C=b.g;this.D=c;J(c,"ytp-watch-later-button-visible");this.B=null;this.A=this.o=!1;this.O("click",this.ZJ,this);this.S(a,"videoplayerreset",this.$J);this.S(a,"appresize",this.jw);this.jw(wy(a).Ja());P8(this,2);Mb(this,d6(b.g,this.element))\};\
|
|
P8=function(a,b,c)\{if(b!=a.B)\{var d;switch(b)\{case 3:d=Mh();break;case 1:d=yh?\{I:"div",fa:["ytp-icon","ytp-icon-watch-later-added"]\}:\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"\},P:[\{I:"path",Ea:!0,W:"ytp-svg-fill",U:\{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=yh?\{I:"div",fa:["ytp-icon","ytp-icon-watch-later"]\}:\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"\},P:[\{I:"path",Ea:!0,W:"ytp-svg-fill",\
|
|
U:\{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=yh?\{I:"div",fa:["ytp-icon","ytp-icon-alert"]\}:\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"\},P:[\{I:"path",Ea:!0,W:"ytp-svg-fill",U:\{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.va("icon",\
|
|
d);a.B=b\}c?a.update(\{title:c,image:null\}):(b=R(a.b),b.userDisplayName?(c=\{USER_NAME:b.userDisplayName\},a.update(\{title:a.o?M("YTP_ADDED_TO_WATCH_LATER_AS",c):M("YTP_WATCH_LATER_AS_2",c),image:b.userDisplayImage\})):a.update(\{title:M("YTP_WATCH_LATER"),image:null\}));y7(a.C)\};\
|
|
R8=function(a)\{P.call(this,\{I:"a",fa:["ytp-watermark","yt-uix-sessionlink"],U:\{target:"_blank",href:"\{\{url\}\}","aria-label":M("YTP_URL_NAVIGATE_TO",\{WEBSITE:OA(R(a))\}),"data-sessionlink":"feature=player-watermark"\},P:[yh?\{I:"div",fa:["ytp-icon","ytp-icon-watermark"]\}:\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 77 34",width:"100%"\},P:[\{I:"path",Ea:!0,W:"ytp-svg-fill",U:\{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"\}\},\
|
|
\{I:"path",fa:["ytp-svg-fill","ytp-svg-fill-logo-tube-text"],U:\{d:"m 34,5.07 40,0 0,24 -40,0 z",fill:"none"\}\},\{I:"path",Ea:!0,fa:["ytp-svg-fill","ytp-svg-fill-logo-tube-lozenge"],U:\{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.o=a;this.b=null;this.S(a,"videodatachange",this.A);this.S(a,"presentingplayerstatechange",this.C);a=qs(a);this.fb(!O(a,2));this.A()\};\
|
|
T8=function(a)\{rx.call(this);Sy();var b=R(a),c=wy(a);this.b=a;bma(this);var d=qs(a);this.qa=!1;this.la=!0;this.da=!1;this.M=null;this.F=[];var e=new E6(a);H(this,e);mw(a,e.element,4);var f=new c7(a);H(this,f);mw(a,f.element,4);this.D=new Y5(a);H(this,this.D);mw(a,this.D.element,4);var k=new P(\{I:"div",W:"ytp-gradient-top"\});H(this,k);mw(a,k.element,1);this.ia=new Av(k,250,!0,100);H(this,this.ia);this.A=new P(\{I:"div",W:"ytp-chrome-top"\});H(this,this.A);mw(a,this.A.element,1);this.ha=new Av(this.A,\
|
|
250,!0,100);H(this,this.ha);this.ba=[];this.N=new M6(a);H(this,this.N);this.N.Ba(e.element);k=a.getVideoData();this.B=new v5(c,x(this.oJ,this),k,b.useTabletControls);H(this,this.B);this.B.subscribe("autohideupdate",this.pJ,this);this.g=new H8(a,this);H(this,this.g);mw(a,this.g.element,4);this.G=new c6(a,this);H(this,this.G);mw(a,this.G.element,2);var l=new Dv(a,this.G);H(this,l);mw(a,l.element,5);l=new N6(a);H(this,l);mw(a,l.element,4);l=new P6(a,this);H(this,l);mw(a,l.element,5);l.subscribe("show",\
|
|
x(this.tl,this,l));this.ba.push(l);l=new R6(a,this,l);H(this,l);l.Ba(this.A.element);l=new E8(a);H(this,l);l.Ba(this.A.element);l=new Kq(\{I:"div",W:"ytp-chrome-top-buttons"\});H(this,l);l.Ba(this.A.element);if(b.qf)\{var m=new Q8(a,this,this.A.element);H(this,m);m.Ba(l.element)\}m=new T6(a,this);H(this,m);mw(a,m.element,5);m.subscribe("show",x(this.tl,this,m));this.ba.push(m);m=new V6(a,this,m,this.A.element);H(this,m);m.Ba(l.element);l=null;VA(b)&&(l=new W6(a),H(this,l),mw(a,l.element,3));(this.o="1"==\
|
|
b.A?new B8(a,this,this.B):null)&&H(this,this.o);"3"==b.A&&(m=new S6(a,this),H(this,m),mw(a,m.element,8));b.Aa&&"3"!=b.A?(m=new W5(c,x(this.Ds,this),x(this.JE,this),x(this.Cs,this)),H(this,m)):this.S(c,"click",x(function(a)\{this.Cs(a)||this.Ds(a)\},this));\
|
|
this.S(c,"touchstart",this.KE);this.H=new C6(a,this);H(this,this.H);this.H.subscribe("show",this.cu,this);this.aa=!1;b.Fd&&(m=new R8(a),H(this,m),mw(a,m.element,7));m=new X5(a);H(this,m);mw(a,m.element,4);this.ea=k.videoId;this.C=null;this.J=!1;this.X=[];this.ga=new P(\{I:"div",U:\{tabindex:0\}\});this.ga.O("focus",this.mz,this);this.ca=new P(\{I:"div",U:\{tabindex:0\}\});this.ca.O("focus",this.nz,this);k=a.Da();k.setAttribute("aria-label",M("YTP_PLAYER_NORMAL"));switch(b.color)\{case "white":J(k,"ytp-color-white");\
|
|
break;case "blue":J(k,"ytp-color-blue")\}(this.R=b.useTabletControls?null:new G6(a,c,this.H,this.B,l,this.D,x(this.Tp,this)))&&H(this,this.R);this.S(a,"appresize",this.ho);this.S(a,"fullscreentoggled",this.qJ);this.S(a,"presentingplayerstatechange",this.rJ);this.S(a,"videodatachange",this.Yv);this.S(a,"videoplayerreset",this.nE);this.S(a,"autonavvisibility",this.Nh,this);this.S(a,"cardstatechange",this.Rg,this);this.S(a,"minimized",this.Rg,this);this.S(a,"onFrescaStateChange",this.Rg,this);S8(this,\
|
|
d);this.Nh();this.ho();this.ua=[c.o,f.element,e.element,this.D.element,this.N.element]\};\
|
|
rJ=function(a)\{var b=Lr(a.b)&&qJ(a.b);tJ(a.b);return a.da||b||!!a.M||tJ(a.b)||a.b.app.V.Sa\};\
|
|
N8=function(a,b,c,d,e)\{b.style.left="";b.style.top="";b.style.bottom="";var f=at(b);e=e||a.o&&Rf(a.o.ma(),c);if(null==d||!e)var k=at(c),l=Xs(c,a.b.Da());d=(null==d?l.x+k.width/2:d)-f.width/2;if(e)k=12*(sJ(a.o.b)?2:1),l=D8(a.o),c=wy(a.b).Ja().height,d=bf(d,k,k+l-f.width),f=c-(sJ(a.o.b)?72:50)-f.height;else if(Rf(a.A.element,c))\{if(k=wy(a.b).Ja().width,d=bf(d,12,k-f.width-12),f=sJ(a)?69:48,"gvn"==R(a.b).g||"gvn-experiment"==R(a.b).g)f+=20\}else a=wy(a.b).Ja(),d=bf(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"\};\
|
|
U8=function(a,b)\{if(!b)return!1;var c=wy(a.b).b;if(c&&Rf(c,b))return c.controls;for(c=0;c<a.ua.length;c++)if(Rf(a.ua[c],b))return!1;return je(b,"ytp-player-content")||je(b,"html5-endscreen")||b==a.b.Da()?!1:!0\};\
|
|
sJ=function(a)\{return a.b.isFullscreen()\};\
|
|
S8=function(a,b)\{var c=b.Wa()&&!O(b,32);a.B.yb(128,!c);c=3==a.b.getPresentingPlayerType();a.B.yb(256,c);var c=a.b.Da(),d;O(b,2)?d=["ended-mode"]:(d=[],O(b,8)?d.push("playing-mode"):O(b,4)&&d.push("paused-mode"),O(b,1)&&!O(b,32)&&d.push("buffering-mode"),O(b,32)&&d.push("seeking-mode"),O(b,64)&&d.push("unstarted-mode"));Gb(a.X,d)||(ne(c,a.X),a.X=d,ke(c,d));a.o&&C8(a.o,rJ(a));d=R(a.b);var e=Fq(b),f=O(b,2);oe(c,"ytp-hide-controls",("3"==d.A?!f:"1"!=d.A)||e);oe(c,"ytp-native-controls","3"==d.A&&!e&&!f);\
|
|
if(O(b,128))\{a.C||(a.C=new C5(a.b),H(a,a.C),a.C.Ba(c),mw(a.b,a.C.element,4));c=a.C;d=b.b;for(e=0;e<c.A.length;e++)c.sa(c.A[e]);c.A=[];e=d.messageKey;f=R(c.o);if("YTP_ERROR_GENERIC_WITHOUT_LINK"!=e||f.Ub)if("YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK_FLASH"==e||"YTP_HTML5_PROTECTED_FLASH_FALLBACK"==e)c.Nb(D5(c,e,"https://get.adobe.com/flashplayer/",!1,!0));else if("YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK"!=e||f.Ub)\{d=d.message.split(cma);e=["span",null];for(f=0;f<d.length;f+=3)\{var k=d[f++].split("\\n");\
|
|
e.push(k[0]);for(var l=1;l<k.length;l++)e.push(["br"]),e.push(k[l]);f<d.length&&e.push(["a",\{href:d[f],target:d[f+1]\},d[f+2]])\}c.Nb(e)\}else c.Nb(D5(c,"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK","//"+NA(f)+"/html5"));else if(c.Nb(D5(c,"YTP_ERROR_GENERIC_WITH_LINK_AND_CPN","//support.google.com/youtube/?p=player_error1",!0)),f.da&&!f.D)for(d=x(c.B,c),e=c.element.getElementsByTagName("a"),f=0;f<e.length;f++)k=c.S(e[f],"click",d),c.A.push(k);a.C.show()\}else a.C&&(a.C.dispose(),a.C=null)\};\
|
|
V8=function(a,b,c)\{b=c?b.lastElementChild:b.firstElementChild;for(var d=null;b;)\{if("none"!=Ls(b,"display")&&"true"!=b.getAttribute("aria-hidden"))\{var e;0<=b.tabIndex?e=b:e=V8(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\};\
|
|
bma=function(a)\{a=R(a.b);var b=a.N;if(kz("ytp-normal-css-loaded"))\{var c=kz("ytp-sprite-mode-css-loaded");b!=c&&Zi(Error("Player sprite mode mismatch. playerInSpriteMode: "+b+", spriteModeCssServed: "+c+", isMobile: "+a.isMobile),"WARNING")\}\};\
|
|
dma=function(a)\{this.b=a;this.g=\{\}\};\
|
|
Tra=function(a)\{var b;a:\{var c=a.args.legacy_config;if(c)\{var d=c?cg(c):null;if(d)\{var e,f=new U4(d),k=V(f,1),l=V(f,2),m=V(f,3),n=V(f,4),t=V(f,5),u=V(f,6),y=V(f,7),E=V(f,8),G=V(f,9),Y=V(f,10),N=V(f,11),Q=V(f,12),cb=V(f,13),Ab=V(f,14),jb=V(f,15),db=V(f,16),jg=V(f,17),Nr=V(f,18),Or=V(f,19),Un=V(f,20),Mk=V(f,21),Nk=V(f,22),Lx=V(f,23),Xe=V(f,24),xc=V(f,25),DF=V(f,26),mg=V(f,27),cca=V(f,28),dca=V(f,29),ema=V(f,30),fma=V(f,31),gma=V(f,32),hma=V(f,33),jma=V(f,34),kma=V(f,35),lma=V(f,36),mma=V(f,37),nma=\
|
|
V(f,38),oma=V(f,39),pma=V(f,40),qma=V(f,41),rma=V(f,42),sma=V(f,43),tma=V(f,44),uma=V(f,45),vma=V(f,46),wma=V(f,47),xma=V(f,48),yma=V(f,49),zma=V(f,50),Ama=V(f,51),Bma=V(f,52),Cma=V(f,53),Dma=V(f,54),Ema=V(f,55),Fma=V(f,56),Gma=V(f,57),Hma=V(f,58),Ima=V(f,59),Jma=V(f,60),Kma=V(f,61),Lma=V(f,62),Mma=V(f,63),Nma=V(f,64),Oma=V(f,65),Pma=V(f,66),Qma=V(f,67),Rma=V(f,68),Sma=V(f,69),Tma=V(f,70),Uma=V(f,71),Vma=V(f,72),Wma=V(f,73),Xma=V(f,74),Yma=V(f,75),Zma=V(f,76),$ma=V(f,77),ana=V(f,78),bna=V(f,79),cna=\
|
|
V(f,80),dna=V(f,81),ena=V(f,82),fna=V(f,83),gna=V(f,84),hna=V(f,85),ina=V(f,86),jna=V(f,87),kna=V(f,88),lna=V(f,89),mna=V(f,90),nna=V(f,91),ona=V(f,92),pna=V(f,93),qna=V(f,94),rna=V(f,95),sna=V(f,96),tna=V(f,97),una=V(f,98),vna=V(f,99),wna=V(f,100),xna=V(f,101),yna=V(f,102),zna=V(f,103),Ana=V(f,104),Bna=V(f,105),Cna=V(f,106),Dna=V(f,107),Ena=V(f,108),Fna=V(f,109),Gna=V(f,110),Hna=V(f,111),Ina=V(f,112),Jna=V(f,113),Kna=V(f,114),Lna=V(f,115),Mna=V(f,116),Nna=V(f,117),Ona=V(f,118),Pna=V(f,119),Qna=V(f,\
|
|
120),Rna=V(f,121),Sna=V(f,122),Tna=V(f,123),Una=V(f,124),Vna=V(f,125),Wna=V(f,126),Xna=V(f,127),Yna=V(f,128),Zna=V(f,129),$na=V(f,130),aoa=V(f,131),boa=V(f,132),coa=V(f,133),doa=V(f,134),eoa=V(f,135),foa=V(f,136),goa=V(f,137),hoa=V(f,138),ioa=V(f,139),joa=V(f,140),koa=V(f,141),loa=V(f,142),moa=V(f,143),noa=V(f,144),ooa=V(f,145),poa=V(f,146),qoa=V(f,147),roa=V(f,148),soa=V(f,149),toa=V(f,150),uoa=V(f,151),voa=V(f,153),woa=V(f,154),xoa=V(f,155),yoa=V(f,156),zoa=V(f,157),Aoa=V(f,158),Boa=V(f,159),Coa=\
|
|
V(f,160),Doa=V(f,161),Eoa=V(f,162),Foa=V(f,163),Goa=V(f,164),Hoa=V(f,165),Ioa=V(f,166),Joa=V(f,167),Koa=V(f,168),Loa=V(f,169),Moa=V(f,170),Noa=V(f,171),Ooa=V(f,172),Poa=V(f,173),Qoa=V(f,174),Roa=V(f,175),Soa=V(f,176),Toa=V(f,177),Uoa=V(f,178),Voa=V(f,179),Woa=V(f,180),Xoa=V(f,181),Yoa=V(f,182),Zoa=V(f,183),$oa=V(f,184),apa=V(f,185),bpa=V(f,186),cpa=V(f,187),dpa=V(f,188),epa=V(f,189),fpa=V(f,190),gpa=V(f,191),hpa=V(f,192),ipa=V(f,193),jpa=V(f,194),kpa=V(f,195),lpa=V(f,196),mpa=V(f,197),npa=V(f,198),\
|
|
opa=V(f,199),ppa=V(f,200),qpa=V(f,201),rpa=V(f,202),spa=V(f,203),tpa=V(f,204),upa=V(f,205),vpa=V(f,206),wpa=V(f,207),xpa=V(f,208),ypa=V(f,209),zpa=V(f,210),Apa=V(f,211),Bpa=V(f,212),Cpa=V(f,213),Dpa=V(f,214),Epa=V(f,215),Fpa=V(f,216),Gpa=V(f,217),Hpa=V(f,218),Ipa=V(f,219),Jpa=V(f,220),Kpa=V(f,221),Lpa=V(f,222),Mpa=V(f,223),Npa=V(f,224),Opa=V(f,225),Ppa=V(f,226),Qpa=V(f,227),Rpa=V(f,228),Spa=V(f,229),Tpa=V(f,230),Upa=V(f,231),Vpa=V(f,232),Wpa=V(f,233),Xpa=V(f,234),Ypa=V(f,235),Zpa=V(f,236),$pa=V(f,\
|
|
237),aqa=V(f,238),bqa=V(f,239),cqa=V(f,240),dqa=V(f,241),eqa=V(f,242),fqa=V(f,243),gqa=V(f,245),hqa=V(f,246),iqa=V(f,247),jqa=V(f,248),kqa=V(f,249),lqa=V(f,250),mqa=V(f,251),nqa=V(f,252),oqa=V(f,253),pqa=V(f,254),qqa=V(f,255),rqa=V(f,256),sqa=V(f,257),tqa=V(f,258),uqa=V(f,259),vqa=V(f,260),wqa=V(f,261),xqa=V(f,262),yqa=V(f,263),zqa=V(f,264),Aqa=V(f,265),Bqa=V(f,266),Cqa=V(f,267),Dqa=V(f,268),Eqa=V(f,269),Fqa=V(f,270),Gqa=V(f,271),Hqa=V(f,272),Iqa=V(f,273),Jqa=V(f,275),Kqa=V(f,276),Lqa=V(f,277),Mqa=\
|
|
V(f,278),Nqa=V(f,279),Oqa=V(f,280),Pqa=V(f,281),Qqa=V(f,282),Rqa=V(f,283),Sqa=V(f,284),Tqa=V(f,285),Uqa=V(f,286),Vqa=V(f,287),Wqa=V(f,288),Xqa=V(f,289),Yqa=V(f,290),Zqa=V(f,291),$qa=V(f,292),ara=V(f,293),bra=V(f,294),cra=V(f,295),dra=V(f,296),era=V(f,297),fra=V(f,298),gra=V(f,299),hra=V(f,300),ira=V(f,301),jra=V(f,302),kra=V(f,303),lra=V(f,304),mra=V(f,306),nra=V(f,307),ora=V(f,308),pra=V(f,309),qra=V(f,310),rra=V(f,311),sra=V(f,312),tra=V(f,313),ura=V(f,314),vra=V(f,315),wra=V(f,316),xra=V(f,317),\
|
|
yra=V(f,318),zra=V(f,319),Ara=V(f,320),Bra=V(f,321),Cra=V(f,322),Dra=V(f,323),Era=V(f,324),Fra=V(f,325),Gra=V(f,326),Hra=V(f,327),Ira=V(f,328),Jra=V(f,329),Kra=V(f,330),Lra=V(f,331),Mra=V(f,332),Nra=V(f,333),Ora=V(f,334),Pra=V(f,335),Qra=V(f,336),rM=V(f,337);e=\{el:k,ps:l,autonav:m,autoplay:n,eventid:t,fexp:u,fflags:y,isHtml5MobileDevice:E,legacyBehavior:G,playerErrorLogFraction:Y,canWatchLater:N,mute:Q,partnerid:cb,showinfo:Ab,ss:jb,watchXlb:db,dclk:jg,ivModule:Nr,iv3Module:Or,iv3EditModule:Un,ivInvideoUrl:Mk,\
|
|
ivLoadPolicy:Nk,atc:Lx,loudness:Xe,infringe:xc,subtitlesXlb:DF,ccFont:mg,ccModule:cca,ccFontsUrl:dca,cc3Module:ema,ttsurl:fma,ccAsr:gma,ccContribute:hma,ccAutoCaps:jma,ccLoadPolicy:kma,captionTracks:lma,captionAudioTracks:mma,captionTranslationLanguages:nma,defaultAudioTrackIndex:oma,cr:pma,hostLanguage:qma,hl:rma,enablecsi:sma,csiPageType:tma,c:uma,cbr:vma,cbrver:wma,cos:xma,cosver:yma,cplatform:zma,cbrand:Ama,cmodel:Bma,cnetwork:Cma,isRtl:Dma,enhanceModule:Ema,enhanceXlb:Fma,regionModule:Gma,previewSplitMode:Hma,\
|
|
status:Ima,reason:Jma,errorcode:Kma,errordetail:Lma,apiaryHost:Mma,apiaryHostFirstparty:Nma,gapiHintOverride:Oma,gapiHintParams:Pma,innertubeApiKey:Qma,innertubeApiVersion:Rma,innertubeContextClientVersion:Sma,loaderurl:Tma,multicameraModule:Uma,multicameraPreroll:Vma,multifeedMetadataList:Wma,allowEmbed:Xma,allowedDomains:Yma,ypcItemTitle:Zma,ypcItemUrl:$ma,ypcItemThumbnail:ana,ypcOfferHeadline:bna,ypcOfferDescription:cna,ypcOfferId:dna,ypcOfferButtonText:ena,ypcFullVideoMessage:fna,ypcModule:gna,\
|
|
ypcVid:hna,ypcLicenseCheckerModule:ina,heartbeatServerUrl:jna,ypcLicenseSessionToken:kna,purchaseId:lna,heartbeatToken:mna,heartbeatInterval:nna,heartbeatRetries:ona,ypcClickwrapModule:pna,ypcClickwrapMessage:qna,livestream:rna,livePlayback:sna,authTimeout:tna,hlsdvr:una,streaminglibModule:vna,frescaModule:wna,frescaPreroll:xna,frescaXlb:yna,enableCardio:zna,enableCardioBeforePlayback:Ana,liveChunkReadahead:Bna,innertubeClientVersion:Cna,adHost:Dna,adHostTierId:Ena,coreDbp:Fna,googleCustAge:Gna,googleCustGender:Hna,\
|
|
pyvAdChannel:Ina,showPyvInRelated:Jna,tagForChildDirected:Kna,playerWide:Lna,enablesizebutton:Mna,bannerUrl:Nna,profilePicture:Ona,channelTitle:Pna,spacecastAddress:Qna,timestamp:Rna,fmtList:Sna,urlEncodedFmtStreamMap:Tna,adaptiveFmts:Una,licenseInfo:Vna,idup:Wna,dashmpd:Xna,hlsvp:Yna,hlsFormats:Zna,probeUrl:$na,storyboardSpec:aoa,liveStoryboardSpec:boa,ismb:coa,surveySmartpixelUrl:doa,surveycreativedata:eoa,threedXlb:foa,threedModule:goa,threedConverted:hoa,approxThreedLayout:ioa,threedLayout:joa,\
|
|
t:koa,token:loa,noGetVideoLog:moa,tmi:noa,plid:ooa,pltype:poa,ptchn:qoa,ptk:roa,oid:soa,idpj:toa,ldpj:uoa,userAge:voa,userGender:woa,sw:xoa,remarketingUrl:yoa,ppvRemarketingUrl:zoa,rmktenabled:Aoa,baseurl:Boa,videostatsPlaybackBaseUrl:Coa,subscribed:Doa,engaged:Eoa,vid:Foa,uid:Goa,aid:Hoa,focenabled:Ioa,socialenabled:Joa,ytfocenabled:Koa,ytfochistoryenabled:Loa,ssrt:Moa,delay:Noa,cl:Ooa,osid:Poa,vm:Qoa,videoId:Roa,title:Soa,lengthSeconds:Toa,keywords:Uoa,ucid:Voa,allowRatings:Woa,avgRating:Xoa,viewCount:Yoa,\
|
|
author:Zoa,thumbnailUrl:$oa,isListed:apa,liveDefaultBroadcast:bpa,vq:cpa,watermark:dpa,accountPlaybackToken:epa,watchAjaxToken:fpa,yvaXlb:gpa,yvaModule:hpa,yvaPreroll:ipa,ypcXlb:jpa,authuser:kpa,pageid:lpa,userDisplayName:mpa,userDisplayImage:npa,playlistTitle:opa,playlistLength:ppa,index:qpa,iurl:rpa,iurlmq:spa,iurlhq:tpa,iurlsd:upa,iurlmaxres:vpa,iurlWebp:wpa,iurlmqWebp:xpa,iurlhqWebp:ypa,iurlsdWebp:zpa,iurlmaxresWebp:Apa,start:Bpa,end:Cpa,resume:Dpa,of:Epa,list:Fpa,q:Gpa,referrer:Hpa,sdetail:Ipa,\
|
|
sourceid:Jpa,externalList:Kpa,forcedExperiments:Lpa,cctp:Mpa,adformat:Npa,listtype:Opa,privembed:Ppa,afvInstreamMax:Qpa,adLanguageIso6392:Rpa,adTag:Spa,afvAdTagRestrictedToInstream:Tpa,maxDynamicAllocationAdTagLength:Upa,asLaunchedInCountry:Vpa,adFlags:Wpa,adPreroll:Xpa,aftv:Ypa,invideo:Zpa,dynamicAllocationAdTag:$pa,gutTag:aqa,pyvInRelatedCafeExperimentId:bqa,afvAdTag:cqa,YQ:dqa,loeid:eqa,adDevice:fqa,cafeExperimentId:gqa,adsenseVideoDocId:hqa,fw:iqa,adSlots:jqa,shortform:kqa,tpasPartnerId:lqa,instream:mqa,\
|
|
trueview:nqa,midrollFreqcap:oqa,mpvid:pqa,mpu:qqa,afv:rqa,tpasAdTypeId:sqa,tpasVideoId:tqa,sffb:uqa,contentOwnerName:vqa,afvMergeEnabled:wqa,excludedAds:xqa,noAfvInstream:yqa,adAge:zqa,adGender:Aqa,adLoggingFlag:Bqa,showContentThumbnail:Cqa,cid:Dqa,afvInvideoAdTag:Eqa,allowHtml5Ads:Fqa,supportedWithoutAds:Gqa,instreamLong:Hqa,adBreaks:Iqa,afcRmFallback:Jqa,allowAdInAutoplay:Kqa,c4:Lqa,dbp:Mqa,fqsf:Nqa,gptMigration:Oqa,xfp:Pqa,midrollPrefetchSize:Qqa,trueviewLactt:Rqa,xfpTag:Sqa,advideo:Tqa,ad3Module:Uqa,\
|
|
vmap:Vqa,serverPrefetchedVast:Wqa,amsBaseTag:Xqa,fadeOutStartMilliseconds:Yqa,fadeOutDurationMilliseconds:Zqa,fadeInStartMilliseconds:$qa,fadeInDurationMilliseconds:ara,applyFadeOnMidrolls:bra,adModule:cra,pla:dra,plaAdTag:era,vastAdsModule:fra,forcedSkipOffset:gra,enabledEngageTypes:hra,freewheelAdTag:ira,postAdRequests:jra,enablejsapi:kra,ssl:lra,baseYtUrl:mra,controls:nra,disablekb:ora,jsapicallback:pra,svt:qra,canplaylive:rra,storeUserVolume:sra,useMediaVolume:tra,sslStream:ura,dash:vra,liveStartWalltime:wra,\
|
|
oauthToken:xra,visitorData:yra,vvt:zra,osig:Ara,paygated:Bra,videoMastheadAdQuartileUrls:Cra,tvList:Dra,pyvViewBeaconUrl:Era,pyvQuartile25BeaconUrl:Fra,pyvQuartile50BeaconUrl:Gra,pyvQuartile75BeaconUrl:Hra,pyvQuartile100BeaconUrl:Ira,pyvBillableUrl:Jra,rco:Kra,cco:Lra,feature:Mra,isFling:Nra,ctrl:Ora,ytr:Pra,ytrcc:Qra,startseconds:null==rM?rM:+rM,sentiment:V(f,338),spacecastFormatMap:V(f,339),spacecastAdaptiveFormats:V(f,340),suggestedquality:V(f,341),rvs:V(f,342),urlEncodedThirdPartyMedia:V(f,343),\
|
|
vssCredentialsToken:V(f,344),vssCredentialsType:V(f,345),ypcGid:V(f,346),ypcPreview:V(f,347),ypcOrigin:V(f,348),requiresPurchase:V(f,349),mdx:V(f,350),retryneterr:V(f,351),itct:V(f,352),ypcOverlayTimeout:V(f,353),app:V(f,354),pyvConvUrl:V(f,356),cver:V(f,357),on3g:V(f,358),autohide:V(f,359),useNativeControls:V(f,360),useTabletControls:V(f,361),codeDbp:V(f,362),rel:V(f,363),attrib:V(f,364),showwatchlater:V(f,365),spacecastModule:V(f,367),fairPlayCert:V(f,368),showEndToEndLatency:V(f,369),heartbeatSoftFail:V(f,\
|
|
370),drmSessionId:V(f,371),ivEndscreenUrl:V(f,372),allowAdsPayCreator:V(f,373),externalPlayVideo:V(f,374),disablecast:V(f,375),pyvAdTag:V(f,376),channelUrl:V(f,378),channelThumbnail:V(f,379),forceAdType:V(f,380),forceAdUrl:V(f,381),forcedAd:V(f,382),serializedAdBreakRenderers:V(f,383),spacecastAddrs:V(f,384),serializedAdUxConfig:V(f,385),shortViewCountText:V(f,386),murlmqWebp:V(f,387),isLiveDestination:V(f,388)\};var S5=\{\},Nu;for(Nu in e)\{var Rra=W8[Nu]?W8[Nu]:Nu.replace(/([a-z\\d])([A-Z])/g,"$1_$2").toLowerCase();\
|
|
S5[Rra]=e[Nu]\}b=S5;break a\}\}b=null\}var sM;if(b)\{var Zh=a.args,am=b,GB=[],Sc;for(Sc in Zh)Sra[Sc]||(am.hasOwnProperty(Sc)?typeof Zh[Sc]!=typeof am[Sc]?GB.push("wrong type. key ["+Sc+"]: ("+typeof Zh[Sc]+") "+Zh[Sc]+"; ("+typeof am[Sc]+") "+am[Sc]):Zh[Sc]!==am[Sc]&&GB.push("values differ. key ["+Sc+"]: ("+typeof Zh[Sc]+") "+Zh[Sc]+"; ("+typeof am[Sc]+") "+am[Sc]):GB.push("missing. key ["+Sc+" ]: ("+typeof Zh[Sc]+") "+Zh[Sc]));sM=GB\}else sM=[];for(var aq=sM,U5=Math.floor(Math.random()*aq.length),aq=\
|
|
aq.slice(U5).concat(aq.slice(0,U5)),tM=0;tM<aq.length;tM++)Zi(Error("Discrepancy in legacy config: "+aq[tM]))\};\
|
|
Z8=function(a,b)\{F.call(this);this.X=ei(b);Tra(this.X);var c=this.X.args||\{\};this.V=new IA(c);H(this,this.V);this.V.experiments.Z("legacy_autoplay_flag")||"detailpage"!=this.V.b||(c.autoplay="1");this.qc=lz("detailpage"==this.V.b&&"blazer"!=this.V.g||"books"==this.V.g,c.enablesizebutton);this.ha=lz(!1,c.player_wide);this.R=this.V.Qa&&lz(!1,c.external_list);this.Sb=this.V.Qa&&lz(!1,c.external_play_video);this.na=new rx(this);H(this,this.na);this.Ec=new mK;this.Na=null;this.N=new tg;this.aa=new tg;\
|
|
this.bc=new dma(this.aa);this.b=new dJ(this);H(this,this.b);this.$a=new dJ(this,1);H(this,this.$a);this.D=new k5(this);H(this,this.D);this.D.subscribe("resize",this.oH,this);this.K=1;this.Sa=\{\};this.ba=this.V.storeUserVolume?xu():\{volume:100,muted:this.V.mute\};this.$=this.V.Qa?new cJ(this,1):new bJ(this,1);H(this,this.$);this.o=null;this.Oa=\{\};this.la=new $da(bea(this.V));this.cb=\{internalAbandon:this.hC,internalvideodatachange:this.gC,playbackready:this.iC,playbackstarted:this.jC,statechange:this.kC,\
|
|
signatureexpired:this.UE\};this.G=Ura(this);H(this,this.G);this.H=new n1(this.V,"",this.G);this.g=Vra(this);this.g.K=this.la;this.oc=\{airplayactivechange:this.ZB,airplayavailabilitychange:this.$B,beginseeking:this.sC,endseeking:this.cD,internalaudioformatchange:this.mC,internalvideodatachange:this.Ln,internalvideoformatchange:this.wF,liveviewshift:this.lH,playbackstalledatstart:this.$E,progresssync:this.nH,seekto:this.pH,onLoadProgress:this.zD,onVideoProgress:this.yF,playbackready:this.lE,statechange:this.mH,\
|
|
connectionissue:this.OC,heartbeatparams:this.kH,videoelementevent:this.qH\};this.J=this.B=null;this.tb=this.ub=-1;this.ua=this.C=this.F=null;this.ea=\{\};this.Ca=null;this.Db=new fe(this.D.nf,16,this.D);H(this,this.Db);this.Za=!1;this.da=!0;this.Ia=this.A=null;this.Ha=!1;this.M=this.V.D?1:X8(this,Lj("yt-player-playback-rate")||1);this.qa=null;this.xb=!1;this.Cb=this.dc=null;this.Ya=this.ca=0;this.Ga=!1;this.ga=null;this.Aa=this.Sb&&this.V.experiments.Z("kevlar_allow_multistep_video_init");this.Tb=new fe(function()\{Y8(this,\
|
|
sp(),wp())\},2E3,this);\
|
|
H(this,this.Tb);this.b.addEventListener("crn_"+Z8.o,this.eC,this);this.b.addEventListener("crx_"+Z8.o,this.fC,this);this.b.addEventListener("crn_"+Z8.g,this.Mr,this);this.b.addEventListener("crx_"+Z8.g,this.Mr,this);this.D.initialize(a);yh=this.V.N;Wra(this);this.H.g("fs");Xra(this);this.ia=new T8(this.b);H(this,this.ia);pJ(this.$a,"init")\};\
|
|
Vra=function(a)\{var b=new eI(a.V,1,a.H,a.D,x(a.N.Rb,a.N),!a.Aa);$8(a,b,a.cb);return b\};\
|
|
b9=function(a,b)\{var c=a.g,d=a.cb,e;for(e in d)c.Fa(e,d[e],a);a.g.dispose();a.g=b;$8(a,b,a.cb);a9(a)\};\
|
|
Ura=function(a)\{var b="",c=a.X.assets.js||"";"/base.js"==c.substr(-8)&&(b=c.substr(0,c.length-8)+"/");0==b.indexOf("//")&&(b=a.V.X+":"+b);b=new CL(a.b,b);c=\{\};c.loaded=x(a.ks,a);c.unloaded=x(a.ls,a);c.destroyed=x(a.Om,a);c.command_redirect_controls=x(a.Du,a);c.command_stop_redirect_controls=x(a.Oj,a);b.G=c;a.V.G.subscribe("vast_info_card_add",qa(b.WF,"vast_info_card_add"),b);return b\};\
|
|
c9=function(a,b)\{a.Na||(a.Na=new I5(a),H(a,a.Na),mw(a.b,a.Na.element,4));a.Na.fb(b)\};\
|
|
d9=function(a)\{var b=J4.getTag(!0,!a.V.C);a.o=new I4(b);a.B&&EI(a.B,a.o);a.o.Vf(a.Ha);a.o.Wf(a.M);a.V.useMediaVolume?(a.qa&&a.na.sa(a.qa),a.qa=a.na.S(a.o,"volumechange",a.ID)):(a.o.setVolume(a.ba.volume/100),a.o.fi(a.ba.muted));Qla(a.D,b);try\{rI(a.o)\}catch(c)\{b="activate.1;emsg."+c.message.replace(/[;:,]/g,"_"),oI(a.g,"html5.missingapi","YTP_ERROR_UNSUPPORTED_DEVICE",b)\}\};\
|
|
e9=function(a)\{if(a.o)\{a.qa&&(a.na.sa(a.qa),a.qa=null);a.B&&DI(a.B);var b=a.D;b.b&&(Jf(b.b),b.b=null);J4.releaseTag(a.o.ma());a.o=null\}\};\
|
|
e2=function(a,b)\{a.V.R?(a.ua&&(a.o.Uv(new gf(a.ua.left,a.ua.top)),a.o.setSize(rg(a.ua)),a.ua=null),hI(a.o),DI(a.B),EI(a.B,a.o),a.o.Vf(a.Ha),a.o.Wf(a.M)):J4.releaseTag(b.ma())\};\
|
|
M4=function(a,b)\{a.B!=b&&(a.B&&(GL(a.G),wJ(a,"cuerangesremoved",a.B.C.b.b||[]),L4(a)),b!=a.g&&(a.Oa[b.J]=b),a.B=b,b.K=a.la,a.o&&EI(b,a.o),$8(a,b,a.oc),a.Ln("newdata",b,b.getVideoData()),b.ga.b&&a.Ln("dataloaded",b,b.getVideoData()),b.getVideoData().g&&a.b.za("onPlaybackQualityChange",b.getVideoData().g.video.quality),wJ(a,"cuerangesadded",a.B.C.b.b||[]),wq(b.getPlayerState())&&KI(b))\};\
|
|
$8=function(a,b,c)\{for(var d in c)b.subscribe(d,c[d],a)\};\
|
|
L4=function(a)\{DI(a.B);var b=a.B,c=a.oc,d;for(d in c)b.Fa(d,c[d],a);b=a.B;b!=a.g&&(c=b.J,a.Oa[c]==b&&delete a.Oa[c]);a.B=null\};\
|
|
eJ=function(a,b)\{return b?1==b?a.g:a.Oa[b]||null:a.B\};\
|
|
f9=function(a)\{var b=a.G,c=a.Ec.b(a.V);b.Lp();b.Mp();b.Np();D(c,b.Wy,b);a.b.Va("videoready",a.getVideoData())\};\
|
|
h9=function(a)\{if(a.V.B)\{a.C||(a.C=new h5(a),g9(a,a.C));var b=wp();i5(a.C,sp(),b);var c=a.C;c&&!c.D&&c.Bb(a.$a)&&c.create();a.V.experiments.Z("legacy_cast2")&&b&&a.C.load()\}\};\
|
|
g9=function(a,b)\{H(a,b);b.subscribe("loaded",a.ks,a);b.subscribe("unloaded",a.ls,a);b.subscribe("command_redirect_controls",a.Du,a);b.subscribe("command_stop_redirect_controls",a.Oj,a)\};\
|
|
i9=function(a,b)\{b&&b.D&&("ad"==b.Ma&&ne(a.D.element,["ytp-ad-overlay-open","ytp-ad-overlay-closed"]),b.destroy())\};\
|
|
C4=function(a)\{return a.g.getVideoData()\};\
|
|
j9=function(a,b)\{var c=eJ(a,b);return(c=c?c.g:null)?SI(c):0\};\
|
|
k9=function(a,b,c)\{(a=eJ(a,c||1))&&fI(a,b)\};\
|
|
Wra=function(a)\{var b=new DH(a.X.args);XH(b)&&(nI(a.g,b,x(a.bk,a)),(a.V.experiments.Z("legacy_autoplay_flag")?a.V.Db:b.J)&&(a.V.tb||a.V.experiments.B)&&qI(a.g))\};\
|
|
Xra=function(a)\{var b=a.D;b.isDisposed();var c=b.app.V;c.R||b.bo("tag-pool-enabled");c.Ub&&b.bo("house-brand");"gvn"!=c.g&&"gvn-experiment"!=c.g||b.bo("ytp-gvn");"gvn-experiment"==c.g&&(b.element.style.backgroundColor="transparent");c.da&&(b.F=gj("yt-dom-content-change",b.nf,b));b.S(window,"resize",b.nf,b);b=a.$;b.b=a.D.element;for(var d in b.o)b.b[d]=b.o[d];for(d in b.A)b.b[d]=b.A[d];(d=Wh(a.D.element))&&a.na.S(a.D,d,a.kD);a.na.S(window,"resize",a.HE);b=a.X.args;d9(a);if(!O(a.g.getPlayerState(),\
|
|
128)||!a.V.experiments.Z("legacy_startup_error_handling"))\{d=C4(a);a.b.za("onVolumeChange",a.ba);b&&AK(b)&&((c=zr(a.V))&&!a.R&&(b.fetch=0),l9(a,b),c&&!a.R?m9(a):XH(d)||(b=a.A,c=x(a.qs,a),b.C=c,b.B&&Vi(b.C,0)));if(b=a.X.args.jsapicallback)ia(b)||(b=q(b)),b&&x(b,aa,a.V.Ke);a.V.B&&(b="embedded"==a.V.b,c=void 0,!a.V.experiments.Z("legacy_cast2")&&b&&(c=\{device:"Desktop",app:"youtube-desktop"\}),op(b,c),a.Tb.ve());M4(a,a.g);O(a.g.getPlayerState(),128)||(b=jz(a.V.C),"fmt.noneavailable"==b?oI(a.g,b,"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK",\
|
|
"nocanplaymedia.1"):"html5.missingapi"==b?oI(a.g,b,"YTP_ERROR_UNSUPPORTED_DEVICE","nocanplaymedia.1"):(a.V.experiments.Z("legacy_autoplay_flag")?a.V.Db:d.J)&&a.V.tb&&XH(d)?n9(a):"leanback"!=a.V.b&&o9(a))\}\};\
|
|
o9=function(a)\{a.b.Va("initializingmode");p9(a,2)\};\
|
|
n9=function(a)\{if(O(a.g.getPlayerState(),128))return!1;if(a.J)\{var b=a.J.getVideoData(),c=a.g.getVideoData();b.videoId==c.videoId&&(b.autonavState=c.autonavState,b=a.J,a.J=null,b9(a,b))\}a.b.Va("initializingmode");M4(a,a.g);p9(a,3);if(!(b=!a.V.R||EA()&&!a.xb))\{if(b=a.ga)b=a.ga,b=!!b.b&&a.o==b.b;b=b&&a.xb\}b&&(e9(a),d9(a),EI(a.g,a.o));tI(a.g);if(O(a.g.getPlayerState(),128))return!1;q9(a,3);return a.xb=!0\};\
|
|
r9=function(a,b)\{a.Ha!=b&&(a.Ha=b,a.B==a.g&&a.o.Vf(b),a.b.Va("loopchange",b))\};\
|
|
s9=function(a,b,c)\{!(0,window.isNaN)(b)&&a.o&&(b=X8(a,b),a.M!=b&&(a.M=b,a.g==a.B&&a.o.Wf(b),c&&!a.V.D&&Kj("yt-player-playback-rate",b),a.b.za("onPlaybackRateChange",b)))\};\
|
|
X8=function(a,b)\{var c=1,c=a.b.Wh();return c=1>b?bb(c,function(a)\{return a>=b\}):fb(c,function(a)\{return a<=b\})\};\
|
|
t9=function(a,b)\{var c=eJ(a,b);return c?c.Mn():a.getVideoData().Ia\};\
|
|
u9=function(a,b)\{var c=eJ(a,b);return c?c.Uh():0\};\
|
|
v9=function(a,b)\{var c=UI(a.g,b);if(a.B&&a.B!=a.g)\{var d=UI(a.B,b),e;for(e in d)c["ad_"+e]=d[e]\}b&&a.o&&(d=a.o.tk(),c["0sz"]=0==d.width*d.height,c.op=a.o.getStyle("opacity"),d=a.o.Kl().y+a.o.tk().height,c.yof=0>=d,c.dis=a.o.getStyle("display"));(d=tq())&&(c.gpu=d);c.cgr=!0;c.debug_playbackQuality=a.$a.dk();c.debug_date=(new Date).toString();delete c.uga;delete c.q;return gg(c)\};\
|
|
w9=function(a,b)\{return 3==a.getPresentingPlayerType()?Hq(a.C.N):2==b?a.tb:a.ub\};\
|
|
a9=function(a)\{i9(a,a.F);a.V.B&&i9(a,a.C);a.Oj();r9(a,!1);a.Sa=\{\};a=a.H;var b=a.o;b.C=\{\};b.A=\{\};a.A=!1\};\
|
|
m9=function(a)\{var b=x9();if(b)if(!b.list)a.fl();else if(a.A&&a.A.listId.toString()==b.list)if(0<=b.index)\{var c=b.video;a.b.isFullscreen()&&((c=c[a.A.b])&&c.encrypted_id!=a.A.Gb().videoId||(b.index=a.A.b));EK(a.A,b);a.Ia&&y9(a,a.Ia)\}else a.Ia=null\};\
|
|
l9=function(a,b)\{if(a.A)\{a.A.Fa("error",a.fl,a);Nb(a.A);a.A=null;var c=lJ(a.G,"playlist");c&&(pb(a.G.b,c),c.destroy())\}b&&(a.R&&(b.fetch=0),a.A=new zK(b),a.A.subscribe("error",a.fl,a))\};\
|
|
z9=function(a,b,c,d)\{b in a.Sa||(c=new dq(c,d,\{id:b,priority:1\}),c.namespace=Z8.g,a.g.C.wb([c]),a.Sa[b]=c)\};\
|
|
A9=function(a,b,c)\{c=\{label:c\};a.V.experiments.Z("send_pyv_ad_mt_and_abandon_pings")&&(a=1E3*a.getCurrentTime(),c.ad_mt=Math.round(Math.max(0,a)).toString());return Uj(b,c)\};\
|
|
p9=function(a,b)\{b!=a.K&&(2==b&&(q9(a,-1),q9(a,5)),a.K=b,a.b.Va("appstatechange",b))\};\
|
|
q9=function(a,b)\{a.B&&2==a.B.J?a.tb!=b&&(a.tb=b,a.b.za("onAdStateChange",b)):a.ub!=b&&(a.ub=b,a.b.za("onStateChange",b))\};\
|
|
C9=function(a,b,c,d)\{a.V.experiments.Z("legacy_autoplay_flag")||"detailpage"!=a.V.b||(b.autoplay="1");var e=new DH(b);d||(b&&AK(b)?(zr(a.V)&&!a.R&&(b.fetch=0),l9(a,b)):a.A&&l9(a,null),a.R=lz(!1,b.external_list),zr(a.V)&&!a.R&&m9(a));return B9(a,e,c)\};\
|
|
D9=function(a,b)\{a.J&&a.J.getVideoData().videoId==b.videoId||(b.Ke=!0,a.J||(a.J=new eI(a.V,1,a.H,a.D,x(a.N.Rb,a.N)),a.J.K=a.la),nI(a.J,b,x(a.bk,a)),qI(a.J,!0))\};\
|
|
B9=function(a,b,c)\{LC("_start",a.H.b)||(KC("p",a.H.b),a.H.info("srt",0));var d;if(a.J&&a.J.getVideoData().videoId==b.videoId)d=a.J,a.J=null,b9(a,d);else\{d=eJ(a,c);if(!d)return!1;a.Db.stop();E9(a,c);nI(d,b,x(a.bk,a))\}if(!pI(d))return!1;a.Za&&(d.na=!1,a.Za=!1);if(d==a.g)return p9(a,1),n9(a);tI(d);return!0\};\
|
|
F9=function(a,b,c)\{c=eJ(a,c);b&&c==a.g&&(c.getVideoData().Ca=!0)\};\
|
|
G9=function(a,b,c)\{var d=eJ(a,c);d&&(E9(a,c),nI(d,b,x(a.bk,a)),GA(d.V,b.A),d==a.g&&(p9(a,1),o9(a)))\};\
|
|
I9=function(a,b,c,d,e,f)\{if(!b&&!d)throw Error("Playback source is invalid");a.b.isFullscreen()&&!a.Aa||"detailpage"!=a.V.b?(f=a.H,c=f.o,c.C=\{\},c.A=\{\},f.A=!1,a.H.reset(),b=\{video_id:b\},e&&(b.autoplay="1"),d?(b.list=d,a.da=!1,H9(a,b,void 0,void 0,void 0)):C9(a,b,1)):(e=c||\{\},e.lact=kr(),e.vis=lG(a.V),a.Sb||"gaming"==a.V.g?a.b.za("onPlayVideo",\{videoId:b,sessionData:e,listId:d\}):(a=f&&a.getVideoData().isLiveDestination?a.V.H:a.V.getVideoUrl(b,d),q("yt.player.exports.navigate")(a,e,!0),(window.ytspf||\
|
|
\{\}).enabled?window.spf.navigate(a):ur(a)))\};\
|
|
H9=function(a,b,c,d,e)\{if(ka(b)&&!ea(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 d=\{index:c,startSeconds:d,suggestedQuality:e\},w(b)&&16==b.length?d.list="PL"+b:d.playlist=b,b=d;l9(a,b);b=a.A;a=x(a.qs,a);b.C=a;b.B&&Vi(b.C,0)\};\
|
|
aL=function(a)\{zr(a.V)&&!a.R&&m9(a);return!(!a.A||!a.A.hasNext())\};\
|
|
J9=function(a,b)\{C4(a).autonavState=b;a.b.Va("autonavchange",b)\};\
|
|
K9=function(a,b,c)\{!a.R||a.b.isFullscreen()&&!a.Aa?a.A?zr(a.V)&&!a.b.isFullscreen()?y9(a,"yt.www.watch.lists.next"):(a.A.hasNext(b)&&DK(a.A,BK(a.A)),a.A.B?B9(a,a.A.Gb(void 0,c),1):a.da=!1):yJ(a.b)&&eJ(a,1).getVideoData().N&&(b=Ii(eJ(a,1).getVideoData().N,MK)[0],I9(a,b.Gb().videoId,b.Ha,b.Wg(),c)):a.b.za("onPlaylistNext")\};\
|
|
L9=function(a,b)\{if(a.R&&(!a.b.isFullscreen()||a.Aa))a.b.za("onPlaylistPrevious");else if(a.A)if(zr(a.V)&&!a.b.isFullscreen())y9(a,"yt.www.watch.lists.prev");else\{var c=a.A;(c.G||b||0<=c.b-1)&&DK(a.A,CK(a.A));a.A.B?B9(a,a.A.Gb(),1):a.da=!1\}\};\
|
|
y9=function(a,b)\{var c=q(b);if(c)\{var d=x9();d&&d.list&&c();a.Ia=null\}else a.Ia=b\};\
|
|
M9=function(a,b)\{!a.R||a.b.isFullscreen()&&!a.Aa?a.A&&(a.A.B?B9(a,a.A.Gb(b),1):a.da=!1,DK(a.A,b)):a.b.za("onPlaylistIndex",b)\};\
|
|
x9=function()\{var a=q("yt.www.watch.lists.getState");return a?a():null\};\
|
|
O9=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 dq(1E3*c,1E3*d,b);c.namespace=Z8.o;N9(a,[c],1);return!0\};\
|
|
N9=function(a,b,c)\{var d=eJ(a,c);d&&(d.C.wb(b),c&&a.getPresentingPlayerType()!=c||wJ(a,"cuerangesadded",b))\};\
|
|
hq=function(a,b,c)\{var d=eJ(a,c);if(d)\{for(var d=d.C,e=[],f=d.b.b,k=f.length-1;0<=k;k--)\{var l=f[k];if(l.namespace==b)\{var m=d.g.indexOf(l);0<=m&&d.g.splice(m,1);var n=d.b,m=n.b,n=zb(m,l,n.g);0<=n&&ob(m,n);e.push(l)\}\}d.we();c&&a.getPresentingPlayerType()!=c||wJ(a,"cuerangesremoved",e)\}\};\
|
|
S4=function(a)\{var b=Bq(),c=a.getCurrentTime();a=a.getVideoData();return b-Math.max(1E3*(c-a.startSeconds),0)\};\
|
|
Q9=function(a,b,c)\{a.ba=b;c&&a.V.storeUserVolume&&!a.V.useMediaVolume&&(c=\{volume:Math.floor(b.volume),muted:b.muted\},c.unstorable||(Kj("yt-player-volume",c),Kj("yt-player-volume",c,2592E3)));P9(a);a.V.useMediaVolume||(b=hc(b),a.V.storeUserVolume||(b.unstorable=!0),a.b.za("onVolumeChange",b))\};\
|
|
P9=function(a)\{var b=a.getVideoData();b.Sb||(a.o.setVolume(a.ba.volume*(a.V.useMediaVolume?DH.g:b.Db)/100),a.o.fi(a.ba.muted))\};\
|
|
R9=function(a,b)\{var c=window.screen&&window.screen.orientation;if(a.V.experiments.Z("lock_fullscreen")&&c&&c.lock)if(b)\{var d=0==c.type.indexOf("portrait"),e=d;if(a.V.experiments.Z("lock_fullscreen_auto"))\{var f=p5(a.D);1>f?e=!0:1<f&&(e=!1)\}if(!a.Ga||e!=d)\{if(c=c.lock(e?"portrait":"landscape"))c["catch"](r);a.Ga=!0\}\}else a.Ga&&(a.Ga=!1,c.unlock())\};\
|
|
S9=function(a,b)\{var c=!!b,d=!!a.Ya!=c;a.Ya=b;a.V.experiments.Z("legacy_player_fullscreen_order")?d&&(a.H.g("fsc"),a.V.M=c,a.D.nf()):(a.V.M=c,a.D.nf(),d&&a.H.g("fsc"));d&&(a.b.Va("fullscreentoggled",c),d=C4(a),c=\{fullscreen:c,videoId:d.ypcOrigin||d.videoId,time:a.getCurrentTime()\},a.$a.ye()&&(c.listId=a.$a.ye()),a.b.za("onFullscreenChange",c))\};\
|
|
wJ=function(a,b,c)\{a.b.Va(b,c);if(c&&QA(a.V))\{var d;switch(b)\{case "cuerangemarkersupdated":d="onCueRangeMarkersUpdated";break;case "cuerangesadded":d="onCueRangesAdded";break;case "cuerangesremoved":d="onCueRangesRemoved"\}d&&a.b.za(d,c)\}\};\
|
|
Q4=function(a,b)\{var c=eJ(a,b);c&&(2==a.K?n9(a):!a.V.experiments.Z("new_ended_replay")&&O(c.getPlayerState(),2)?a.seekTo(0):KI(c))\};\
|
|
T9=function(a)\{var b=a.g.getVideoData(),b=new DH(\{video_id:b.videoId,oauth_token:b.oauthToken\});G9(a,b,1)\};\
|
|
E9=function(a,b)\{zC(a.ca);a.ca=0;var c=eJ(a,b);c&&1!=a.K&&2!=a.K&&(GL(a.G),1==b&&i9(a,a.F),AI(c),wJ(a,"cuerangesremoved",a.B.C.b.b||[]),c.C.reset())\};\
|
|
Y8=function(a,b,c)\{a.V.B&&(a.C||(a.C=new h5(a),g9(a,a.C)),i5(a.C,b,c),6!=a.K&&(a.C.Bb(a.$a)?(1!=a.K&&3!=a.K||!c||i9(a,a.F),b.length&&1!=a.K&&h9(a)):i9(a,a.C)))\};\
|
|
U9=function(a,b)\{if(a.V.experiments.Z("legacy_control_redirecting"))\{if(!vJ(a.$a))return;var c=a.ea.play_pause?a.Ca:null;if(c)\{c.Ac("control_play");return\}\}else\{c=a.getPresentingPlayerType();if(2==c)\{a.F&&a.F.Ac("control_play");return\}if(3==c)\{a.C&&a.C.Ac("control_play");return\}\}Q4(a,b)\};\
|
|
Yra=function(a,b)\{if(a.V.experiments.Z("legacy_control_redirecting"))\{if(!vJ(a.$a))return;var c=a.ea.play_pause?a.Ca:null;if(c)\{c.Ac("control_pause");return\}\}else\{c=a.getPresentingPlayerType();if(2==c)\{a.F&&a.F.Ac("control_pause");return\}if(3==c)\{a.C&&a.C.Ac("control_pause");return\}\}a.pauseVideo(b)\};\
|
|
V9=function(a,b,c,d,e)\{var f=eJ(a,e);if(!f||2!=f.J&&!rs(f.getVideoData()))\{if(a.V.experiments.Z("legacy_control_redirecting"))\{if(f=a.ea.seek?a.Ca:null)\{f.Ac("control_seek",b);return\}\}else if(3==a.getPresentingPlayerType()&&a.C)\{a.C.Ac("control_seek",b);return\}a.seekTo(b,c,d,e)\}\};\
|
|
W9=function(a,b,c)\{a.qc=b;a.ha=c;a.b.Va("sizestylechange",b,c);a.D.nf()\};\
|
|
X9=function(a,b,c,d,e)\{c=a.V.Qa&&a.F&&b==a.F.Ma?a.F.Ae(c,d):(a.V.Qa||e)&&a.C&&a.C.D&&b==a.C.Ma?a.C.Ae(c,d):b&&c?(a=lJ(a.G,b))?a.Ae(c,d):null:null;return c\};\
|
|
Y9=function(a,b,c)\{if(b)\{if(a.V.Qa&&a.F&&b==a.F.Ma)return a.F.Tf();if((a.V.Qa||c)&&a.C&&a.C.D&&b==a.C.Ma)return a.C.Tf()\}else return b=JL(a.G),a.V.Qa&&a.F&&b.push(a.F.Ma),(a.V.Qa||c)&&a.C&&a.C.D&&b.push(a.C.Ma),b;return JL(a.G,b)\};\
|
|
Z9=function(a,b,c)\{if(!a.Za)\{c&&(e9(a),d9(a));a.Za=!0;c=eJ(a);c.na=!0;c.o&&Ku(c.o.g,"reloading",b,void 0);c=a.getVideoData();var d=\{\};d.video_id=c.videoId;c.xa||(d.start=eJ(a).getCurrentTime(),d.resume="1");d.autoplay=1;d.reload=1;d.reload_reason=b;C9(a,d)\}\};\
|
|
Bn=Bn||\{\};aa=this;la="closure_uid_"+(1E9*Math.random()>>>0);ma=0;C=Date.now||function()\{return+new Date\};z(sa,Error);sa.prototype.name="CustomError";var of;var Pa=String.prototype.trim?function(a)\{return a.trim()\}:function(a)\{return a.replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,"")\},ya=/&/g,za=/</g,Aa=/>/g,Ba=/"/g,Ca=/'/g,Da=/\\x00/g,xa=/[\\x00&<>"']/,Ia=/&([^;\\s<&]+);?/g,fn=\{"\\x00":"\\\\0",\
|
|
"\\b":"\\\\b","\\f":"\\\\f","\\n":"\\\\n","\\r":"\\\\r","\\t":"\\\\t","\\x0B":"\\\\x0B",'"':'\\\\"',"\\\\":"\\\\\\\\","<":"<"\},en=\{"'":"\\\\'"\},La=String.prototype.repeat?function(a,b)\{return a.repeat(b)\}:function(a,b)\{return Array(b+1).join(a)\},Ta=2147483648*Math.random()|0;var gb=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(w(a))return w(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\},Zra=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(w(a))return w(b)&&1==b.length?a.lastIndexOf(b,c):-1;for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1\},D=Array.prototype.forEach?function(a,b,c)\{Array.prototype.forEach.call(a,b,c)\}:function(a,b,c)\{for(var d=a.length,e=w(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)\},le=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=w(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\},Ii=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=w(a)?a.split(""):a,k=0;k<d;k++)k in f&&(e[k]=b.call(c,f[k],k,a));\
|
|
return e\},df=Array.prototype.reduce?function(a,b,c,d)\{d&&(b=x(b,d));\
|
|
return Array.prototype.reduce.call(a,b,c)\}:function(a,b,c,d)\{var e=c;\
|
|
D(a,function(c,k)\{e=b.call(d,e,c,k,a)\});\
|
|
return e\},Uh=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=w(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return!0;\
|
|
return!1\},Vk=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=w(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&!b.call(c,e[f],f,a))return!1;\
|
|
return!0\};F.prototype.gb=!1;F.prototype.isDisposed=function()\{return this.gb\};\
|
|
F.prototype.dispose=function()\{this.gb||(this.gb=!0,this.T())\};\
|
|
F.prototype.T=function()\{if(this.La)for(;this.La.length;)this.La.shift()()\};var jc="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");mc.prototype.stopPropagation=function()\{this.g=!0\};\
|
|
mc.prototype.preventDefault=function()\{this.qt=!1\};oc[" "]=r;var sc;a:\{var $9=aa.navigator;if($9)\{var a$=$9.userAgent;if(a$)\{sc=a$;break a\}\}sc=""\};var Dc=tc("Opera"),xf=tc("Trident")||tc("MSIE"),LF=tc("Edge"),UA=LF||xf,Fs=tc("Gecko")&&!(Ka(sc,"WebKit")&&!tc("Edge"))&&!(tc("Trident")||tc("MSIE"))&&!tc("Edge"),Cc=Ka(sc,"WebKit")&&!tc("Edge"),m5=Cc&&tc("Mobile"),fG=tc("Macintosh"),SA=tc("Android"),Dea=vc(),wM=tc("iPad"),b$;a:\{var c$="",d$=function()\{var a=sc;if(Fs)return/rv\\:([^\\);]+)(\\)|;)/.exec(a);if(LF)return/Edge\\/([\\d\\.]+)/.exec(a);if(xf)return/\\b(?:MSIE|rv)[: ]([^\\);]+)(\\)|;)/.exec(a);if(Cc)return/WebKit\\/(\\S+)/.exec(a);if(Dc)return/(?:Version)[ \\/]?(\\S+)/.exec(a)\}();\
|
|
d$&&(c$=d$?d$[1]:"");if(xf)\{var e$=wc();if(null!=e$&&e$>(0,window.parseFloat)(c$))\{b$=String(e$);break a\}\}b$=c$\}var yc=b$,qc=\{\},f$=aa.document,Ac=f$&&xf?wc()||("CSS1Compat"==f$.compatMode?(0,window.parseInt)(yc,10):5):void 0;var ad=!xf||Bc(9),$ra=xf&&!zc("9");!Cc||zc("528");Fs&&zc("1.9b")||xf&&zc("8")||Dc&&zc("9.5")||Cc&&zc("528");Fs&&!zc("8")||xf&&zc("9");var asa=\{yk:"click",gP:"rightclick",OL:"dblclick",GN:"mousedown",MN:"mouseup",LN:"mouseover",KN:"mouseout",JN:"mousemove",HN:"mouseenter",IN:"mouseleave",mP:"selectionchange",nP:"selectstart",MQ:"wheel",gN:"keypress",fN:"keydown",hN:"keyup",bL:"blur",wM:"focus",PL:"deactivate",xM:xf?"focusin":"DOMFocusIn",yM:xf?"focusout":"DOMFocusOut",sL:"change",aP:"reset",lP:"select",OP:"submit",UM:"input",RO:"propertychange",gM:"dragstart",bM:"drag",dM:"dragenter",fM:"dragover",eM:"dragleave",iM:"drop",cM:"dragend",\
|
|
dQ:"touchstart",cQ:"touchmove",bQ:"touchend",aQ:"touchcancel",ZK:"beforeunload",BL:"consolemessage",GL:"contextmenu",WL:"DOMContentLoaded",ERROR:"error",IM:"help",LOAD:"load",zN:"losecapture",sO:"orientationchange",WO:"readystatechange",bP:"resize",iP:"scroll",mQ:"unload",hL:"canplay",iL:"canplaythrough",jM:"durationchange",nM:"emptied",ENDED:"ended",qN:"loadeddata",rN:"loadedmetadata",PAUSE:"pause",PLAY:"play",PLAYING:"playing",VO:"ratechange",jP:"seeked",kP:"seeking",DP:"stalled",PP:"suspend",TP:"timeupdate",\
|
|
FQ:"volumechange",JQ:"waiting",CM:"hashchange",vO:"pagehide",wO:"pageshow",KO:"popstate",HL:"copy",yO:"paste",ML:"cut",VK:"beforecopy",WK:"beforecut",XK:"beforepaste",pO:"online",mO:"offline",MESSAGE:"message",AL:"connect",IK:Ec("AnimationStart"),GK:Ec("AnimationEnd"),HK:Ec("AnimationIteration"),gQ:Ec("TransitionEnd"),DO:"pointerdown",JO:"pointerup",CO:"pointercancel",GO:"pointermove",IO:"pointerover",HO:"pointerout",EO:"pointerenter",FO:"pointerleave",BM:"gotpointercapture",AN:"lostpointercapture",\
|
|
RN:"MSGestureChange",SN:"MSGestureEnd",TN:"MSGestureHold",UN:"MSGestureStart",VN:"MSGestureTap",WN:"MSGotPointerCapture",XN:"MSInertiaStart",YN:"MSLostPointerCapture",ZN:"MSPointerCancel",$N:"MSPointerDown",aO:"MSPointerEnter",bO:"MSPointerHover",cO:"MSPointerLeave",dO:"MSPointerMove",eO:"MSPointerOut",fO:"MSPointerOver",gO:"MSPointerUp",TEXT:"text",QP:"textInput",yL:"compositionstart",zL:"compositionupdate",xL:"compositionend",sM:"exit",oN:"loadabort",pN:"loadcommit",sN:"loadredirect",tN:"loadstart",\
|
|
uN:"loadstop",dP:"responsive",wP:"sizechanged",oQ:"unresponsive",EQ:"visibilitychange",KP:"storage",aM:"DOMSubtreeModified",XL:"DOMNodeInserted",ZL:"DOMNodeRemoved",$L:"DOMNodeRemovedFromDocument",YL:"DOMNodeInsertedIntoDocument",UL:"DOMAttrModified",VL:"DOMCharacterDataModified",YK:"beforeprint",wK:"afterprint"\};z(Fc,mc);\
|
|
Fc.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?Fs&&(pc(e,"nodeName")||(e=null)):"mouseover"==c?e=a.fromElement:"mouseout"==c&&(e=a.toElement);this.relatedTarget=e;null===d?(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.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.b=a;a.defaultPrevented&&this.preventDefault()\};\
|
|
Fc.prototype.stopPropagation=function()\{Fc.L.stopPropagation.call(this);this.b.stopPropagation?this.b.stopPropagation():this.b.cancelBubble=!0\};\
|
|
Fc.prototype.preventDefault=function()\{Fc.L.preventDefault.call(this);var a=this.b;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,$ra)try\{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1\}catch(b)\{\}\};var Gc="closure_listenable_"+(1E6*Math.random()|0),Ic=0;Lc.prototype.remove=function(a,b,c,d)\{a=a.toString();if(!(a in this.b))return!1;var e=this.b[a];b=Mc(e,b,c,d);return-1<b?(Kc(e[b]),ob(e,b),0==e.length&&(delete this.b[a],this.g--),!0):!1\};var Wc="closure_lm_"+(1E6*Math.random()|0),ed=\{\},Zc=0,hd="__closure_events_fn_"+(1E9*Math.random()>>>0);z(I,F);I.prototype[Gc]=!0;h=I.prototype;h.Of=function(a)\{this.ua=a\};\
|
|
h.addEventListener=function(a,b,c,d)\{Rc(this,a,b,c,d)\};\
|
|
h.removeEventListener=function(a,b,c,d)\{cd(this,a,b,c,d)\};\
|
|
h.dispatchEvent=function(a)\{var b,c=this.ua;if(c)\{b=[];for(var d=1;c;c=c.ua)b.push(c),++d\}c=this.Oa;d=a.type||a;if(w(a))a=new mc(a,c);else if(a instanceof mc)a.target=a.target||c;else\{var e=a;a=new mc(d,c);kc(a,e)\}var e=!0,f;if(b)for(var k=b.length-1;!a.g&&0<=k;k--)f=a.currentTarget=b[k],e=id(f,d,!0,a)&&e;a.g||(f=a.currentTarget=c,e=id(f,d,!0,a)&&e,a.g||(e=id(f,d,!1,a)&&e));if(b)for(k=0;!a.g&&k<b.length;k++)f=a.currentTarget=b[k],e=id(f,d,!1,a)&&e;return e\};\
|
|
h.T=function()\{I.L.T.call(this);this.ld&&Pc(this.ld);this.ua=null\};\
|
|
h.O=function(a,b,c,d)\{return Nc(this.ld,String(a),b,!1,c,d)\};\
|
|
h.sa=function(a,b,c,d)\{return this.ld.remove(String(a),b,c,d)\};jd.prototype.get=function()\{var a;0<this.g?(this.g--,a=this.b,this.b=a.next,a.next=null):a=this.o();return a\};var od;var xd=new jd(function()\{return new sd\},function(a)\{a.reset()\},100);\
|
|
rd.prototype.remove=function()\{var a=null;this.b&&(a=this.b,this.b=this.b.next,this.b||(this.g=null),a.next=null);return a\};\
|
|
sd.prototype.set=function(a,b)\{this.b=a;this.scope=b;this.next=null\};\
|
|
sd.prototype.reset=function()\{this.next=this.scope=this.b=null\};var td,vd=!1,wd=new rd;Ed.prototype.reset=function()\{this.context=this.g=this.A=this.b=null;this.o=!1\};\
|
|
var Fd=new jd(function()\{return new Ed\},function(a)\{a.reset()\},100);\
|
|
Dd.prototype.then=function(a,b,c)\{return Rd(this,ia(a)?a:null,ia(b)?b:null,c)\};\
|
|
Ad(Dd);Dd.prototype.cancel=function(a)\{0==this.b&&yd(function()\{var b=new Xd(a);Td(this,b)\},this)\};\
|
|
Dd.prototype.G=function(a)\{this.b=0;Cd(this,2,a)\};\
|
|
Dd.prototype.H=function(a)\{this.b=0;Cd(this,3,a)\};\
|
|
Dd.prototype.F=function()\{for(var a;a=Ud(this);)Vd(this,a,this.b,this.D);this.C=!1\};\
|
|
var ae=nd;z(Xd,sa);Xd.prototype.name="cancel";z(be,I);h=be.prototype;h.enabled=!1;h.Uc=null;h.yz=function()\{if(this.enabled)\{var a=C()-this.A;0<a&&a<.8*this.b?this.Uc=this.g.setTimeout(this.o,this.b-a):(this.Uc&&(this.g.clearTimeout(this.Uc),this.Uc=null),this.dispatchEvent("tick"),this.enabled&&(this.Uc=this.g.setTimeout(this.o,this.b),this.A=C()))\}\};\
|
|
h.start=function()\{this.enabled=!0;this.Uc||(this.Uc=this.g.setTimeout(this.o,this.b),this.A=C())\};\
|
|
h.stop=function()\{this.enabled=!1;this.Uc&&(this.g.clearTimeout(this.Uc),this.Uc=null)\};\
|
|
h.T=function()\{be.L.T.call(this);this.stop();delete this.g\};z(fe,F);h=fe.prototype;h.wa=0;h.T=function()\{fe.L.T.call(this);this.stop();delete this.b;delete this.g\};\
|
|
h.start=function(a)\{this.stop();this.wa=de(this.o,p(a)?a:this.A)\};\
|
|
h.ve=function(a)\{this.isActive()||this.start(a)\};\
|
|
h.stop=function()\{this.isActive()&&ee(this.wa);this.wa=0\};\
|
|
h.isActive=function()\{return 0!=this.wa\};\
|
|
h.nq=function()\{this.wa=0;this.b&&this.b.call(this.g)\};var Ye=\{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\};var pe=/<[^>]*>|&[^;]+;/g,v0=RegExp("[\\u0591-\\u06ef\\u06fa-\\u07ff\\u200f\\ufb1d-\\ufdff\\ufe70-\\ufefc]"),ue=RegExp("[A-Za-z\\u00c0-\\u00d6\\u00d8-\\u00f6\\u00f8-\\u02b8\\u0300-\\u0590\\u0800-\\u1fff\\u200e\\u2c00-\\ufb1c\\ufe00-\\ufe6f\\ufefd-\\uffff]"),se=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]"),te=/^http:\\/\\/.*/,yba=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Arab|Hebr|Thaa|Nkoo|Tfng))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i,\
|
|
re=/\\s+/,ve=/[\\d\\u06f0-\\u06f9]/;ye.prototype.Jf=!0;ye.prototype.Te=function()\{return this.b\};\
|
|
ye.prototype.toString=function()\{return"Const\{"+this.b+"\}"\};\
|
|
var xe=\{\};Ce.prototype.Jf=!0;var Be=\{\};Ce.prototype.Te=function()\{return this.b\};\
|
|
var Ve=De(""),Ue=/^([-,."'%_!# a-zA-Z0-9]+|(?:rgb|hsl)a?\\([0-9.%, ]+\\))$/;Fe.prototype.Jf=!0;Fe.prototype.Te=function()\{return this.b\};\
|
|
Fe.prototype.zm=!0;Fe.prototype.mg=function()\{return 1\};\
|
|
var He=/^(?:(?:https?|mailto|ftp):|[^&:/?#]*(?:[/?#]|$))/i,Ee=\{\};Ie("about:blank");Le.prototype.Jf=!0;Le.prototype.Te=function()\{return this.b\};\
|
|
Le.prototype.zm=!0;Le.prototype.mg=function()\{return 1\};\
|
|
var Ke=\{\};Pe.prototype.zm=!0;Pe.prototype.mg=function()\{return this.g\};\
|
|
Pe.prototype.Jf=!0;Pe.prototype.Te=function()\{return this.b\};\
|
|
var Te=/^[a-zA-Z0-9-]+$/,We=\{action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0\},bsa=\{APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0\},Oe=\{\};Re("<!DOCTYPE html>",0);Re("",0);Re("<br>",0);h=gf.prototype;h.clone=function()\{return new gf(this.x,this.y)\};\
|
|
h.ceil=function()\{this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this\};\
|
|
h.floor=function()\{this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this\};\
|
|
h.round=function()\{this.x=Math.round(this.x);this.y=Math.round(this.y);return this\};\
|
|
h.scale=function(a,b)\{var c=ha(b)?b:a;this.x*=a;this.y*=c;return this\};h=jf.prototype;h.clone=function()\{return new jf(this.width,this.height)\};\
|
|
h.aspectRatio=function()\{return this.width/this.height\};\
|
|
h.isEmpty=function()\{return!(this.width*this.height)\};\
|
|
h.ceil=function()\{this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this\};\
|
|
h.floor=function()\{this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this\};\
|
|
h.round=function()\{this.width=Math.round(this.width);this.height=Math.round(this.height);return this\};\
|
|
h.scale=function(a,b)\{var c=ha(b)?b:a;this.width*=a;this.height*=c;return this\};var Bf=!xf||Bc(9),Lf=!Fs&&!xf||xf&&Bc(9)||Fs&&zc("1.9.1");xf&&zc("9");var Pf=xf||Dc||Cc;var tf=\{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"\};h=mf.prototype;h.ma=function(a)\{return w(a)?this.b.getElementById(a):a\};\
|
|
h.getElementsByTagName=function(a,b)\{return(b||this.b).getElementsByTagName(a)\};\
|
|
h.Az=function(a,b,c)\{return Af(this.b,arguments)\};\
|
|
h.createElement=function(a)\{return this.b.createElement(String(a))\};\
|
|
h.appendChild=Ff;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\};\
|
|
h.removeNode=Jf;h.contains=Rf;var lg=\{'"':'\\\\"',"\\\\":"\\\\\\\\","/":"\\\\/","\\b":"\\\\b","\\f":"\\\\f","\\n":"\\\\n","\\r":"\\\\r","\\t":"\\\\t","\\x0B":"\\\\u000b"\},kg=/\\uffff/.test("\\uffff")?/[\\\\\\"\\x00-\\x1f\\x7f-\\uffff]/g:/[\\\\\\"\\x00-\\x1f\\x7f-\\xff]/g;h=ng.prototype;h.bb=function()\{return this.right-this.left\};\
|
|
h.getHeight=function()\{return this.bottom-this.top\};\
|
|
h.clone=function()\{return new ng(this.top,this.right,this.bottom,this.left)\};\
|
|
h.contains=function(a)\{return this&&a?a instanceof ng?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\};\
|
|
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\};\
|
|
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\};\
|
|
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\};\
|
|
h.scale=function(a,b)\{var c=ha(b)?b:a;this.left*=a;this.right*=a;this.top*=c;this.bottom*=c;return this\};h=og.prototype;h.clone=function()\{return new og(this.left,this.top,this.width,this.height)\};\
|
|
h.contains=function(a)\{return a instanceof gf?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\};\
|
|
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\};\
|
|
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\};\
|
|
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\};\
|
|
h.scale=function(a,b)\{var c=ha(b)?b:a;this.left*=a;this.width*=a;this.top*=c;this.height*=c;return this\};z(tg,F);h=tg.prototype;h.subscribe=function(a,b,c)\{var d=this.g[a];d||(d=this.g[a]=[]);var e=this.zc;this.b[e]=a;this.b[e+1]=b;this.b[e+2]=c;this.zc=e+3;d.push(e);return e\};\
|
|
h.Nc=function(a)\{var b=this.b[a];if(b)\{var c=this.g[b];0!=this.A?(this.o.push(a),this.b[a+1]=r):(c&&pb(c,a),delete this.b[a],delete this.b[a+1],delete this.b[a+2])\}return!!b\};\
|
|
h.Rb=function(a,b)\{var c=this.g[a];if(c)\{for(var d=Array(arguments.length-1),e=1,f=arguments.length;e<f;e++)d[e-1]=arguments[e];if(this.B)for(e=0;e<c.length;e++)\{var k=c[e];vg(this.b[k+1],this.b[k+2],d)\}else\{this.A++;try\{for(e=0,f=c.length;e<f;e++)k=c[e],this.b[k+1].apply(this.b[k+2],d)\}finally\{if(this.A--,0<this.o.length&&0==this.A)for(;c=this.o.pop();)this.Nc(c)\}\}return 0!=e\}return!1\};\
|
|
h.clear=function(a)\{if(a)\{var b=this.g[a];b&&(D(b,this.Nc,this),delete this.g[a])\}else this.b.length=0,this.g=\{\}\};\
|
|
h.Pb=function(a)\{if(a)\{var b=this.g[a];return b?b.length:0\}a=0;for(b in this.g)a+=this.Pb(b);return a\};\
|
|
h.T=function()\{tg.L.T.call(this);this.clear();this.o.length=0\};var xg="StopIteration"in aa?aa.StopIteration:\{message:"StopIteration",stack:""\};wg.prototype.next=function()\{throw xg;\};\
|
|
wg.prototype.sc=function()\{return this\};h=Bg.prototype;h.Pb=function()\{return this.ya\};\
|
|
h.Ra=function()\{Eg(this);for(var a=[],b=0;b<this.b.length;b++)a.push(this.g[this.b[b]]);return a\};\
|
|
h.Ua=function()\{Eg(this);return this.b.concat()\};\
|
|
h.isEmpty=function()\{return 0==this.ya\};\
|
|
h.clear=function()\{this.g=\{\};this.ff=this.ya=this.b.length=0\};\
|
|
h.remove=function(a)\{return Cg(this.g,a)?(delete this.g[a],this.ya--,this.ff++,this.b.length>2*this.ya&&Eg(this),!0):!1\};\
|
|
h.get=function(a,b)\{return Cg(this.g,a)?this.g[a]:b\};\
|
|
h.set=function(a,b)\{Cg(this.g,a)||(this.ya++,this.b.push(a),this.ff++);this.g[a]=b\};\
|
|
h.forEach=function(a,b)\{for(var c=this.Ua(),d=0;d<c.length;d++)\{var e=c[d],f=this.get(e);a.call(b,f,e,this)\}\};\
|
|
h.clone=function()\{return new Bg(this)\};\
|
|
h.sc=function(a)\{Eg(this);var b=0,c=this.ff,d=this,e=new wg;e.next=function()\{if(c!=d.ff)throw Error("The map has changed since the iterator was created");if(b>=d.b.length)throw xg;var e=d.b[b++];return a?e:d.g[e]\};\
|
|
return e\};var Jg=/^(?:([^:/?#.]+):)?(?:\\/\\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$/,Xg=/#|$/,$g=/[?&]($|#)/;L.prototype.toString=function()\{var a=[],b=this.A;b&&a.push(kh(b,g$,!0),":");var c=this.g;if(c||"file"==b)a.push("//"),(b=this.H)&&a.push(kh(b,g$,!0),"@"),a.push(va(c).replace(/%25([0-9a-fA-F]\{2\})/g,"%$1")),c=this.D,null!=c&&a.push(":",String(c));if(c=this.o)this.g&&"/"!=c.charAt(0)&&a.push("/"),a.push(kh(c,"/"==c.charAt(0)?csa:dsa,!0));(c=this.b.toString())&&a.push("?",c);(c=this.F())&&a.push("#",kh(c,esa));return a.join("")\};\
|
|
L.prototype.clone=function()\{return new L(this)\};\
|
|
L.prototype.J=function()\{return this.b.toString()\};\
|
|
L.prototype.F=function()\{return this.G\};\
|
|
var g$=/[#\\/\\?@]/g,dsa=/[\\#\\?:]/g,csa=/[\\#\\?]/g,lh=/[\\#\\?@]/g,esa=/#/g;h=ih.prototype;h.Pb=function()\{uh(this);return this.ya\};\
|
|
h.remove=function(a)\{uh(this);a=vh(this,a);return Dg(this.b,a)?(this.g=null,this.ya=this.ya-this.b.get(a).length,this.b.remove(a)):!1\};\
|
|
h.clear=function()\{this.b=this.g=null;this.ya=0\};\
|
|
h.isEmpty=function()\{uh(this);return 0==this.ya\};\
|
|
h.Ua=function()\{uh(this);for(var a=this.b.Ra(),b=this.b.Ua(),c=[],d=0;d<b.length;d++)for(var e=a[d],f=0;f<e.length;f++)c.push(b[d]);return c\};\
|
|
h.Ra=function(a)\{uh(this);var b=[];if(w(a))wh(this,a)&&(b=rb(b,this.b.get(vh(this,a))));else\{a=this.b.Ra();for(var c=0;c<a.length;c++)b=rb(b,a[c])\}return b\};\
|
|
h.set=function(a,b)\{uh(this);this.g=null;a=vh(this,a);wh(this,a)&&(this.ya=this.ya-this.b.get(a).length);this.b.set(a,[b]);this.ya=this.ya+1;return this\};\
|
|
h.get=function(a,b)\{var c=a?this.Ra(a):[];return 0<c.length?String(c[0]):b\};\
|
|
h.toString=function()\{if(this.g)return this.g;if(!this.b)return"";for(var a=[],b=this.b.Ua(),c=0;c<b.length;c++)for(var d=b[c],e=va(d),d=this.Ra(d),f=0;f<d.length;f++)\{var k=e;""!==d[f]&&(k+="="+va(d[f]));a.push(k)\}return this.g=a.join("&")\};\
|
|
h.clone=function()\{var a=new ih;a.g=this.g;this.b&&(a.b=this.b.clone(),a.ya=this.ya);return a\};var yh=void 0;var Sh=Cc?"webkit":Fs?"moz":xf?"ms":Dc?"o":"",h$=q("yt.dom.getNextId_");if(!h$)\{h$=function()\{return++fsa\};\
|
|
g.ba("yt.dom.getNextId_",h$,void 0);var fsa=0\};var ai=\{enablejsapi:1\},bi=\{\},ci=\{allowscriptaccess:"always",allowfullscreen:"true",bgcolor:"#000000"\};di.prototype.clone=function()\{var a=new di,b;for(b in this)if(this.hasOwnProperty(b))\{var c=this[b];"object"==da(c)?a[b]=hc(c):a[b]=c\}return a\};var li=gi("loadGamesSDK")?"/cast_game_sender.js":"/cast_sender.js",pi=gi("loadCastFramework"),mi=["boadgeojelhgndaghljhdicfkmllpafd","dliochdbjfkdbacpmhlcpmleaejidimm","enhhojjnijigcajfphajepfemndkmdlo","fmfcbgogabcbclcofgocippekhfcmgfj"],i$=["pkedcjkdefgpdelpbcmbmeomcjbeemfm","fjhoaacokmgbjemoflkofnenfaiekifl"],ji=fi()?i$.concat(mi):mi.concat(i$);var qA=tc("Firefox"),AA=vc()||tc("iPod"),zA=tc("iPad"),BA=tc("Android")&&!(uc()||tc("Firefox")||tc("Opera")||tc("Silk")),em=uc(),Az=tc("Safari")&&!(uc()||tc("Coast")||tc("Opera")||tc("Edge")||tc("Silk")||tc("Android"))&&!(vc()||tc("iPad")||tc("iPod"));var Di=C(),ui=null,Bi=Array(50),Ai=-1,Ci=!1;var Pi=\{\};var Ri=window.yt&&window.yt.config_||window.ytcfg&&window.ytcfg.data_||\{\};g.ba("yt.config_",Ri,void 0);g.ba("yt.tokens_",window.yt&&window.yt.tokens_||\{\},void 0);var $i=window.yt&&window.yt.msgs_||q("window.ytcfg.msgs")||\{\};g.ba("yt.msgs_",$i,void 0);var Bq=window.performance&&window.performance.timing&&window.performance.now?function()\{return window.performance.timing.navigationStart+window.performance.now()\}:function()\{return(new Date).getTime()\};var gsa=q("yt.pubsub.instance_")||new tg;tg.prototype.subscribe=tg.prototype.subscribe;tg.prototype.unsubscribeByKey=tg.prototype.Nc;tg.prototype.publish=tg.prototype.Rb;tg.prototype.clear=tg.prototype.clear;g.ba("yt.pubsub.instance_",gsa,void 0);var dj=q("yt.pubsub.subscribedKeys_")||\{\};g.ba("yt.pubsub.subscribedKeys_",dj,void 0);var fj=q("yt.pubsub.topicToKeys_")||\{\};g.ba("yt.pubsub.topicToKeys_",fj,void 0);var ej=q("yt.pubsub.isSynchronous_")||\{\};g.ba("yt.pubsub.isSynchronous_",ej,void 0);\
|
|
var cj=q("yt.pubsub.skipSubId_")||null;g.ba("yt.pubsub.skipSubId_",cj,void 0);var nj=/\\.vflset|-vfl[a-zA-Z0-9_+=-]+/,oj=/-[a-zA-Z]\{2,3\}_[a-zA-Z]\{2,3\}(?=(\\/|$))/;tj.prototype.set=v;tj.prototype.get=v;tj.prototype.remove=v;z(uj,tj);uj.prototype.Pb=function()\{var a=0;zg(this.sc(!0),function()\{a++\});\
|
|
return a\};\
|
|
uj.prototype.sc=v;uj.prototype.clear=function()\{var a=Ag(this.sc(!0)),b=this;D(a,function(a)\{b.remove(a)\})\};z(vj,uj);h=vj.prototype;h.isAvailable=function()\{if(!this.b)return!1;try\{return this.b.setItem("__sak","1"),this.b.removeItem("__sak"),!0\}catch(a)\{return!1\}\};\
|
|
h.set=function(a,b)\{try\{this.b.setItem(a,b)\}catch(c)\{if(0==this.b.length)throw"Storage mechanism: Storage disabled";throw"Storage mechanism: Quota exceeded";\}\};\
|
|
h.get=function(a)\{a=this.b.getItem(a);if(!w(a)&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a\};\
|
|
h.remove=function(a)\{this.b.removeItem(a)\};\
|
|
h.Pb=function()\{return this.b.length\};\
|
|
h.sc=function(a)\{var b=0,c=this.b,d=new wg;d.next=function()\{if(b>=c.length)throw xg;var d=c.key(b++);if(a)return d;d=c.getItem(d);if(!w(d))throw"Storage mechanism: Invalid value was encountered";return d\};\
|
|
return d\};\
|
|
h.clear=function()\{this.b.clear()\};\
|
|
h.key=function(a)\{return this.b.key(a)\};z(wj,vj);z(xj,vj);yj.prototype.set=function(a,b)\{p(b)?this.b.set(a,gg(b)):this.b.remove(a)\};\
|
|
yj.prototype.get=function(a)\{var b;try\{b=this.b.get(a)\}catch(c)\{return\}if(null!==b)try\{return cg(b)\}catch(c)\{throw"Storage: Invalid value was encountered";\}\};\
|
|
yj.prototype.remove=function(a)\{this.b.remove(a)\};z(zj,yj);zj.prototype.set=function(a,b)\{zj.L.set.call(this,a,Bj(b))\};\
|
|
zj.prototype.g=function(a)\{a=zj.L.get.call(this,a);if(!p(a)||a instanceof Object)return a;throw"Storage: Invalid value was encountered";\};\
|
|
zj.prototype.get=function(a)\{if(a=this.g(a))\{if(a=a.data,!p(a))throw"Storage: Invalid value was encountered";\}else a=void 0;return a\};z(Cj,zj);Cj.prototype.set=function(a,b,c)\{if(b=Bj(b))\{if(c)\{if(c<C())\{Cj.prototype.remove.call(this,a);return\}b.expiration=c\}b.creation=C()\}Cj.L.set.call(this,a,b)\};\
|
|
Cj.prototype.g=function(a,b)\{var c=Cj.L.g.call(this,a);if(c)if(!b&&Dj(c))Cj.prototype.remove.call(this,a);else return c\};z(Ej,Cj);var Hj,j$=new wj;Hj=j$.isAvailable()?new Ej(j$):null;var Jj,k$=new xj;Jj=k$.isAvailable()?new Ej(k$):null;var Ek=\{PK:"atp",xP:"ska",UO:"que",hO:"mus",tP:"sus"\};var Zj=null;"undefined"!=typeof window.XMLHttpRequest?Zj=function()\{return new window.XMLHttpRequest\}:"undefined"!=typeof window.ActiveXObject&&(Zj=function()\{return new window.ActiveXObject("Microsoft.XMLHTTP")\});var ck=\{"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"\};kk.prototype.C=function(a,b,c,d)\{b?a(d):a(\{text:c.responseText\})\};\
|
|
kk.prototype.B=function(a,b)\{a(Error("Request error: "+b.status))\};\
|
|
kk.prototype.D=function(a)\{a(Error("request timed out"))\};z(sk,F);sk.prototype.subscribe=function(a,b,c)\{return this.isDisposed()?0:this.da.subscribe(a,b,c)\};\
|
|
sk.prototype.Fa=function(a,b,c)\{return this.isDisposed()?!1:ug(this.da,a,b,c)\};\
|
|
sk.prototype.Nc=function(a)\{return this.isDisposed()?!1:this.da.Nc(a)\};\
|
|
sk.prototype.Y=function(a,b)\{return this.isDisposed()?!1:this.da.Rb.apply(this.da,arguments)\};z(tk,sk);h=tk.prototype;h.Gc=function()\{return this.screens\};\
|
|
h.contains=function(a)\{return!!qk(this.screens,a)\};\
|
|
h.get=function(a)\{return a?rk(this.screens,a):null\};\
|
|
h.start=v;h.Sh=v;h.remove=v;h.Oh=v;h.info=function(a)\{zi(this.C,a)\};z(xk,sk);var l$=[2E3,2E3,1E3,1E3,1E3,2E3,2E3,5E3,5E3,1E4];h=xk.prototype;h.start=function()\{!this.b&&(0,window.isNaN)(this.g)&&this.yu()\};\
|
|
h.stop=function()\{this.b&&(this.b.abort(),this.b=null);(0,window.isNaN)(this.g)||(Xi(this.g),this.g=window.NaN)\};\
|
|
h.T=function()\{this.stop();xk.L.T.call(this)\};\
|
|
h.yu=function()\{this.g=window.NaN;this.b=dk(lk(this.D,"/pairing/get_screen"),\{method:"POST",Ib:\{pairing_code:this.C\},timeout:5E3,sb:x(this.cH,this),onError:x(this.bH,this),Lc:x(this.dH,this)\})\};\
|
|
h.cH=function(a,b)\{this.b=null;var c=b.screen||\{\};c.dialId=this.A;c.name=this.B;this.Y("pairingComplete",new Ei(c))\};\
|
|
h.bH=function(a)\{this.b=null;a.status&&404==a.status?this.o>=l$.length?this.Y("pairingFailed",Error("DIAL polling timed out")):(a=l$[this.o],this.g=Vi(x(this.yu,this),a),this.o++):this.Y("pairingFailed",Error("Server error "+a.status))\};\
|
|
h.dH=function()\{this.b=null;this.Y("pairingFailed",Error("Server not responding"))\};z(yk,uj);yk.prototype.set=function(a,b)\{this.g.set(this.b+a,b)\};\
|
|
yk.prototype.get=function(a)\{return this.g.get(this.b+a)\};\
|
|
yk.prototype.remove=function(a)\{this.g.remove(this.b+a)\};\
|
|
yk.prototype.sc=function(a)\{var b=this.g.sc(!0),c=this,d=new wg;d.next=function()\{for(var d=b.next();d.substr(0,c.b.length)!=c.b;)d=b.next();return a?d.substr(c.b.length):c.g.get(d)\};\
|
|
return d\};h=Bk.prototype;h.Pb=function()\{return this.b.Pb()\};\
|
|
h.remove=function(a)\{return this.b.remove(Ck(a))\};\
|
|
h.clear=function()\{this.b.clear()\};\
|
|
h.isEmpty=function()\{return this.b.isEmpty()\};\
|
|
h.contains=function(a)\{return Dg(this.b,Ck(a))\};\
|
|
h.Ra=function()\{return this.b.Ra()\};\
|
|
h.clone=function()\{return new Bk(this)\};\
|
|
h.sc=function()\{return this.b.sc(!1)\};var hsa=\{\},Hk=/\\s*;\\s*/;h=Gk.prototype;h.isEnabled=function()\{return window.navigator.cookieEnabled\};\
|
|
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+'"');p(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(C()+1E3*c)).toUTCString();this.b.cookie=a+"="+b+e+d+c+f\};\
|
|
h.get=function(a,b)\{for(var c=a+"=",d=(this.b.cookie||"").split(Hk),e=0,f;f=d[e];e++)\{if(0==f.lastIndexOf(c,0))return f.substr(c.length);if(f==a)return""\}return b\};\
|
|
h.remove=function(a,b,c)\{var d=p(this.get(a));this.set(a,"",0,b,c);return d\};\
|
|
h.Ua=function()\{return Ik(this).keys\};\
|
|
h.Ra=function()\{return Ik(this).values\};\
|
|
h.isEmpty=function()\{return!this.b.cookie\};\
|
|
h.Pb=function()\{return this.b.cookie?(this.b.cookie||"").split(Hk).length:0\};\
|
|
h.clear=function()\{for(var a=Ik(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])\};\
|
|
var Pk=new Gk("undefined"==typeof window.document?null:window.document);Pk.g=3950;var $k,Sk="";z(cl,tk);h=cl.prototype;h.start=function()\{bl(this)&&this.Y("screenChange");!Lj("yt-remote-lounge-token-expiration")&&dl(this);Xi(this.b);this.b=Vi(x(this.start,this),1E4)\};\
|
|
h.Sh=function(a,b)\{bl(this);uk(this,a);el(this,!1);this.Y("screenChange");b(a);a.token||dl(this)\};\
|
|
h.remove=function(a,b)\{var c=bl(this);wk(this,a)&&(el(this,!1),c=!0);b(a);c&&this.Y("screenChange")\};\
|
|
h.Oh=function(a,b,c,d)\{var e=bl(this),f=this.get(a.id);f?(f.name!=b&&(f.name=b,el(this,!1),e=!0),c(a)):d(Error("no such local screen."));e&&this.Y("screenChange")\};\
|
|
h.T=function()\{Xi(this.b);cl.L.T.call(this)\};\
|
|
h.Kz=function(a)\{bl(this);var b=this.screens.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)\}el(this,!b);b&&zi(this.C,"Missed "+b+" lounge tokens.")\};\
|
|
h.Jz=function(a)\{zi(this.C,"Requesting lounge tokens failed: "+a)\};z(gl,sk);h=gl.prototype;h.start=function()\{var a=(0,window.parseInt)(Lj("yt-remote-fast-check-period")||"0",10);(this.A=C()-144E5<a?0:a)?kl(this):(this.A=C()+3E5,Kj("yt-remote-fast-check-period",this.A),this.Zm())\};\
|
|
h.isEmpty=function()\{return cc(this.b)\};\
|
|
h.update=function()\{fl("Updating availability on schedule.");var a=this.C(),b=Qb(this.b,function(b,d)\{return b&&!!rk(a,d)\},this);\
|
|
jl(this,b)\};\
|
|
h.T=function()\{Xi(this.o);this.o=window.NaN;this.g&&(this.g.abort(),this.g=null);gl.L.T.call(this)\};\
|
|
h.Zm=function()\{Xi(this.o);this.o=window.NaN;this.g&&this.g.abort();var a=ll(this);if(Ub(a))\{var b=lk(this.B,"/pairing/get_screen_availability");this.g=mk(this.B,b,\{lounge_token:Yb(a).join(",")\},x(this.ME,this,a),x(this.LE,this))\}else jl(this,\{\}),kl(this)\};\
|
|
h.ME=function(a,b)\{this.g=null;var c=Yb(ll(this));if(Gb(c,Yb(a)))\{for(var c=b.screens||[],d=\{\},e=0,f=c.length;e<f;++e)d[a[c[e].loungeToken]]="online"==c[e].status;jl(this,d);kl(this)\}else this.qb("Changing Screen set during request."),this.Zm()\};\
|
|
h.LE=function(a)\{this.qb("Screen availability failed: "+a);this.g=null;kl(this)\};\
|
|
h.qb=function(a)\{zi("OnlineScreenService",a)\};z(nl,tk);h=nl.prototype;h.start=function()\{this.g.start();this.b.start();this.screens.length&&(this.Y("screenChange"),this.b.isEmpty()||this.Y("onlineScreenChange"))\};\
|
|
h.Sh=function(a,b,c)\{this.g.Sh(a,b,c)\};\
|
|
h.remove=function(a,b,c)\{this.g.remove(a,b,c);this.b.update()\};\
|
|
h.Oh=function(a,b,c,d)\{this.g.contains(a)?this.g.Oh(a,b,c,d):(a="Updating name of unknown screen: "+a.name,zi(this.C,a),d(Error(a)))\};\
|
|
h.Gc=function(a)\{return a?this.screens:rb(this.screens,le(this.o,function(a)\{return!this.contains(a)\},this))\};\
|
|
h.zu=function()\{return le(this.Gc(!0),function(a)\{return!!this.b.b[a.id]\},this)\};\
|
|
h.Au=function(a,b,c,d,e)\{this.info("getDialScreenByPairingCode "+a+" / "+b);var f=new xk(this.B,a,b,c);f.subscribe("pairingComplete",x(function(a)\{Nb(f);d(ol(this,a))\},this));\
|
|
f.subscribe("pairingFailed",function(a)\{Nb(f);e(a)\});\
|
|
f.start();return x(f.stop,f)\};\
|
|
h.fH=function(a,b,c,d)\{dk(lk(this.B,"/pairing/get_screen"),\{method:"POST",Ib:\{pairing_code:a\},timeout:5E3,sb:x(function(a,d)\{var e=new Ei(d.screen||\{\});if(!e.name||rl(this,e.name))\{var f;a:\{f=e.name;for(var m=2,n=b(f,m);rl(this,n);)\{m++;if(20<m)break a;n=b(f,m)\}f=n\}e.name=f\}c(ol(this,e))\},this),\
|
|
onError:x(function(a)\{d(Error("pairing request failed: "+a.status))\},this),\
|
|
Lc:x(function()\{d(Error("pairing request timed out."))\},this)\})\};\
|
|
h.T=function()\{Nb(this.g);Nb(this.b);nl.L.T.call(this)\};\
|
|
h.cA=function()\{sl(this);this.Y("screenChange");this.b.update()\};\
|
|
nl.prototype.dispose=nl.prototype.dispose;z(ul,sk);h=ul.prototype;h.Bj=function(a)\{this.o=a;this.Y("sessionScreen",this.o)\};\
|
|
h.Kc=function(a)\{this.isDisposed()||(a&&vl(this,""+a),this.o=null,this.Y("sessionScreen",null))\};\
|
|
h.info=function(a)\{zi(this.K,a)\};\
|
|
h.Kf=v;h.Mj=v;h.Cu=function()\{return null\};\
|
|
h.stop=v;h.kn=function(a)\{var b=this.g;a?(b.displayStatus=new window.chrome.cast.ReceiverDisplayStatus(a,[]),b.displayStatus.showStop=!0):b.displayStatus=null;window.chrome.cast.setReceiverDisplayStatus(b,x(function()\{this.info("Updated receiver status for "+b.friendlyName+": "+a)\},this),x(function()\{vl(this,"Failed to update receiver status for: "+b.friendlyName)\},this))\};\
|
|
h.T=function()\{this.kn("");ul.L.T.call(this)\};z(xl,ul);h=xl.prototype;h.Mj=function(a)\{if(this.b)\{if(this.b==a)return;vl(this,"Overriding cast sesison with new session object");this.b.removeUpdateListener(this.C);this.b.removeMessageListener("urn:x-cast:com.google.youtube.mdx",this.B)\}this.b=a;this.b.addUpdateListener(this.C);this.b.addMessageListener("urn:x-cast:com.google.youtube.mdx",this.B);yl(this)\};\
|
|
h.Kf=function(a)\{this.info("launchWithParams no-op for Cast: "+gg(a))\};\
|
|
h.stop=function()\{this.b?this.b.stop(x(function()\{this.Kc()\},this),x(function()\{this.Kc(Error("Failed to stop receiver app."))\},this)):this.Kc(Error("Stopping cast device witout session."))\};\
|
|
h.kn=r;h.T=function()\{this.info("disposeInternal");Xi(this.A);this.A=0;this.b&&(this.b.removeUpdateListener(this.C),this.b.removeMessageListener("urn:x-cast:com.google.youtube.mdx",this.B));this.b=null;xl.L.T.call(this)\};\
|
|
h.LF=function(a,b)\{if(!this.isDisposed())if(b)\{var c=dg(b);if(c)\{var d=""+c.type,c=c.data||\{\};this.info("onYoutubeMessage_: "+d+" "+gg(c));switch(d)\{case "mdxSessionStatus":wl(this,c.screenId);break;default:vl(this,"Unknown youtube message: "+d)\}\}else vl(this,"Unable to parse message.")\}else vl(this,"No data in message.")\};\
|
|
h.iq=function(a,b,c,d)\{ql(this.G,this.g.label,a,this.g.friendlyName,x(function(e)\{e?b(e):0<=d?(vl(this,"Screen "+a+" appears to be offline. "+d+" retries left."),Vi(x(this.iq,this,a,b,c,d-1),300)):c(Error("Unable to fetch screen."))\},this),c)\};\
|
|
h.Cu=function()\{return this.b\};\
|
|
h.gH=function(a)\{this.isDisposed()||a||(vl(this,"Cast session died."),this.Kc())\};z(zl,ul);h=zl.prototype;h.Mj=function(a)\{this.A=a;this.A.addUpdateListener(this.J)\};\
|
|
h.Kf=function(a)\{this.B=a;this.D()\};\
|
|
h.stop=function()\{this.b();this.b=r;Xi(this.C);this.A?this.A.stop(x(this.Kc,this,null),x(this.Kc,this,"Failed to stop DIAL device.")):this.Kc()\};\
|
|
h.T=function()\{this.b();this.b=r;Xi(this.C);this.A&&this.A.removeUpdateListener(this.J);this.A=null;zl.L.T.call(this)\};\
|
|
h.jH=function(a)\{this.isDisposed()||a||(vl(this,"DIAL session died."),this.b(),this.b=r,this.Kc())\};\
|
|
h.Am=function(a)\{this.H=nk();if(this.B)\{var b=new window.chrome.cast.DialLaunchResponse(!0,Bl(this));a(b);Al(this)\}else this.D=x(function()\{Xi(this.C);this.D=r;this.C=window.NaN;var b=new window.chrome.cast.DialLaunchResponse(!0,Bl(this));a(b);Al(this)\},this),this.C=Vi(x(function()\{this.D()\},this),100)\};\
|
|
h.yB=function(a,b)\{ql(this.G,this.F.receiver.label,a,this.g.friendlyName,x(function(a)\{a&&a.token?(this.Bj(a),b(new window.chrome.cast.DialLaunchResponse(!1))):this.Am(b)\},this),x(function(a)\{vl(this,"Failed to get DIAL screen: "+a);\
|
|
this.Am(b)\},this))\};z(Cl,ul);Cl.prototype.stop=function()\{this.Kc()\};\
|
|
Cl.prototype.Mj=r;Cl.prototype.Kf=function()\{Xi(this.b);this.b=window.NaN;var a=rk(this.G.Gc(),this.g.label);a?this.Bj(a):this.Kc(Error("No such screen"))\};\
|
|
Cl.prototype.T=function()\{Xi(this.b);this.b=window.NaN;Cl.L.T.call(this)\};z(Dl,sk);h=Dl.prototype;\
|
|
h.init=function(a,b)\{window.chrome.cast.timeout.requestSession=3E4;var c=new window.chrome.cast.SessionRequest("233637DE");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,x(this.Es,this),x(this.DE,this),d,e);c.customDialLaunchCallback=x(this.XC,this);window.chrome.cast.initialize(c,x(function()\{this.isDisposed()||\
|
|
(window.chrome.cast.addReceiverActionListener(this.A),wi(),this.g.subscribe("onlineScreenChange",x(this.Bu,this)),this.o=Il(this),window.chrome.cast.setCustomReceivers(this.o,r,x(function(a)\{this.qb("Failed to set initial custom receivers: "+gg(a))\},this)),this.Y("yt-remote-cast2-availability-change",Gl(this)),b(!0))\},this),x(function(a)\{this.qb("Failed to initialize API: "+gg(a));\
|
|
b(!1)\},this))\};\
|
|
h.uG=function(a,b)\{Fl("Setting connected screen ID: "+a+" -> "+b);if(this.b)\{var c=this.b.o;if(!a||c&&c.id!=a)Fl("Unsetting old screen status: "+this.b.g.friendlyName),Nb(this.b),this.b=null\}if(a&&b)\{if(!this.b)\{c=rk(this.g.Gc(),a);if(!c)\{Fl("setConnectedScreenStatus: Unknown screen.");return\}var d=El(this,c);d||(Fl("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.o.push(d),\
|
|
window.chrome.cast.setCustomReceivers(this.o,r,x(function(a)\{this.qb("Failed to set initial custom receivers: "+gg(a))\},this)));\
|
|
Fl("setConnectedScreenStatus: new active receiver: "+d.friendlyName);Hl(this,new Cl(this.g,d),!0)\}this.b.kn(b)\}else Fl("setConnectedScreenStatus: no screen.")\};\
|
|
h.vG=function(a)\{this.isDisposed()?this.qb("Setting connection data on disposed cast v2"):this.b?this.b.Kf(a):this.qb("Setting connection data without a session")\};\
|
|
h.iH=function()\{this.isDisposed()?this.qb("Stopping session on disposed cast v2"):this.b?(this.b.stop(),Nb(this.b),this.b=null):Fl("Stopping non-existing session")\};\
|
|
h.requestSession=function()\{window.chrome.cast.requestSession(x(this.Es,this),x(this.QE,this))\};\
|
|
h.T=function()\{this.g.Fa("onlineScreenChange",x(this.Bu,this));window.chrome&&window.chrome.cast&&window.chrome.cast.removeReceiverActionListener(this.A);var a=si,b=q("yt.mdx.remote.debug.handlers_");pb(b||[],a);Nb(this.b);Dl.L.T.call(this)\};\
|
|
h.qb=function(a)\{zi("Controller",a)\};\
|
|
h.Fs=function(a,b)\{this.b==a&&(b||Hl(this,null),this.Y("yt-remote-cast2-session-change",b))\};\
|
|
h.AE=function(a,b)\{if(!this.isDisposed())if(a)switch(Fl("onReceiverAction_ "+a.label+" / "+a.friendlyName+"-- "+b),b)\{case window.chrome.cast.ReceiverAction.CAST:if(this.b)if(this.b.g.label!=a.label)Fl("onReceiverAction_: Stopping active receiver: "+this.b.g.friendlyName),this.b.stop();else\{Fl("onReceiverAction_: Casting to active receiver.");this.b.o&&this.Y("yt-remote-cast2-session-change",this.b.o);break\}switch(a.receiverType)\{case window.chrome.cast.ReceiverType.CUSTOM:Hl(this,new Cl(this.g,a));\
|
|
break;case window.chrome.cast.ReceiverType.DIAL:Hl(this,new zl(this.g,a));break;case window.chrome.cast.ReceiverType.CAST:Hl(this,new xl(this.g,a));break;default:this.qb("Unknown receiver type: "+a.receiverType)\}break;case window.chrome.cast.ReceiverAction.STOP:this.b&&this.b.g.label==a.label?this.b.stop():this.qb("Stopping receiver w/o session: "+a.friendlyName)\}else this.qb("onReceiverAction_ called without receiver.")\};\
|
|
h.XC=function(a)\{if(this.isDisposed())return window.Promise.reject(Error("disposed"));var b=a.receiver;b.receiverType!=window.chrome.cast.ReceiverType.DIAL&&(this.qb("Not DIAL receiver: "+b.friendlyName),b.receiverType=window.chrome.cast.ReceiverType.DIAL);var c=this.b?this.b.g:null;if(!c||c.label!=b.label)return this.qb("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.b.o)return Fl("Reselecting dial screen."),\
|
|
this.Y("yt-remote-cast2-session-change",this.b.o),window.Promise.resolve(new window.chrome.cast.DialLaunchResponse(!1));this.qb('Changing CAST intent from "'+c.receiverType+'" to "dial" for '+b.friendlyName);Hl(this,new zl(this.g,b))\}b=this.b;b.F=a;return b.F.appState==window.chrome.cast.DialAppState.RUNNING?new window.Promise(x(b.yB,b,(b.F.extraData||\{\}).screenId||null)):new window.Promise(x(b.Am,b))\};\
|
|
h.Es=function(a)\{if(!this.isDisposed())\{Fl("New cast session ID: "+a.sessionId);var b=a.receiver;if(b.receiverType!=window.chrome.cast.ReceiverType.CUSTOM)\{if(!this.b)if(b.receiverType==window.chrome.cast.ReceiverType.CAST)Fl("Got resumed cast session before resumed mdx connection."),Hl(this,new xl(this.g,b),!0);else\{this.qb("Got non-cast session without previous mdx receiver event, or mdx resume.");return\}var c=this.b.g,d=rk(this.g.Gc(),c.label);d&&Fi(d,b.label)&&c.receiverType!=window.chrome.cast.ReceiverType.CAST&&\
|
|
b.receiverType==window.chrome.cast.ReceiverType.CAST&&(Fl("onSessionEstablished_: manual to cast session change "+b.friendlyName),Nb(this.b),this.b=new xl(this.g,b),this.b.subscribe("sessionScreen",x(this.Fs,this,this.b)),this.b.Kf(null));this.b.Mj(a)\}\}\};\
|
|
h.hH=function()\{return this.b?this.b.Cu():null\};\
|
|
h.QE=function(a)\{this.isDisposed()||(this.qb("Failed to estabilish a session: "+gg(a)),a.code!=window.chrome.cast.ErrorCode.CANCEL&&Hl(this,null))\};\
|
|
h.DE=function(a)\{Fl("Receiver availability updated: "+a);if(!this.isDisposed())\{var b=Gl(this);this.B=a==window.chrome.cast.ReceiverAvailability.AVAILABLE;Gl(this)!=b&&this.Y("yt-remote-cast2-availability-change",Gl(this))\}\};\
|
|
h.Bu=function()\{if(!this.isDisposed())\{var a=Gl(this);this.o=Il(this);Fl("Updating custom receivers: "+gg(this.o));window.chrome.cast.setCustomReceivers(this.o,r,x(function()\{this.qb("Failed to set custom receivers.")\},this));\
|
|
var b=Gl(this);b!=a&&this.Y("yt-remote-cast2-availability-change",b)\}\};\
|
|
Dl.prototype.setLaunchParams=Dl.prototype.vG;Dl.prototype.setConnectedScreenStatus=Dl.prototype.uG;Dl.prototype.stopSession=Dl.prototype.iH;Dl.prototype.getCastSession=Dl.prototype.hH;Dl.prototype.requestSession=Dl.prototype.requestSession;Dl.prototype.init=Dl.prototype.init;Dl.prototype.dispose=Dl.prototype.dispose;var Tl=null,Vl=[];hm.prototype.preventDefault=function()\{this.event&&(this.event.returnValue=!1,this.event.preventDefault&&this.event.preventDefault())\};\
|
|
hm.prototype.ir=function()\{return this.event?!1===this.event.returnValue:!1\};\
|
|
hm.prototype.stopPropagation=function()\{this.event&&(this.event.cancelBubble=!0,this.event.stopPropagation&&this.event.stopPropagation())\};\
|
|
hm.prototype.stopImmediatePropagation=function()\{this.event&&(this.event.cancelBubble=!0,this.event.stopImmediatePropagation&&this.event.stopImmediatePropagation())\};\
|
|
var gm=\{stopImmediatePropagation:1,stopPropagation:1,preventMouseEvent:1,preventManipulation:1,preventDefault:1,layerX:1,layerY:1,scale:1,rotation:1,webkitMovementX:1,webkitMovementY:1\};var jm=q("yt.events.listeners_")||\{\};g.ba("yt.events.listeners_",jm,void 0);var lm=q("yt.events.counter_")||\{count:0\};g.ba("yt.events.counter_",lm,void 0);new zm;zm.prototype.set=function(a)\{this.b=a\};\
|
|
zm.prototype.reset=function()\{this.set(C())\};\
|
|
zm.prototype.get=function()\{return this.b\};Am.prototype.stringify=function(a)\{return eg(this.g,a)\};\
|
|
Am.prototype.parse=function(a)\{return this.b(a)\};h=Bm.prototype;h.get=function(a)\{a=Cm(this,a);return this.b[a]\};\
|
|
h.set=function(a,b)\{a=Cm(this,a);this.b[a]=b\};\
|
|
h.Pb=function()\{return this.b.length\};\
|
|
h.isEmpty=function()\{return 0==this.b.length\};\
|
|
h.clear=function()\{this.g=this.b.length=0\};\
|
|
h.Ra=function()\{for(var a=this.Pb(),b=this.Pb(),c=[],a=this.Pb()-a;a<b;a++)c.push(this.get(a));return c\};\
|
|
h.Ua=function()\{for(var a=[],b=this.Pb(),c=0;c<b;c++)a[c]=c;return a\};z(Dm,F);h=Dm.prototype;h.Og=!1;h.Ch=0;h.Cf=null;h.sg=function(a)\{this.b=arguments;this.Cf||this.Ch?this.Og=!0:Em(this)\};\
|
|
h.stop=function()\{this.Cf&&(ee(this.Cf),this.Cf=null,this.Og=!1,this.b=[])\};\
|
|
h.pause=function()\{this.Ch++\};\
|
|
h.resume=function()\{this.Ch--;this.Ch||!this.Og||this.Cf||(this.Og=!1,Em(this))\};\
|
|
h.T=function()\{Dm.L.T.call(this);this.stop()\};\
|
|
h.bF=function()\{this.Cf=null;this.Og&&!this.Ch&&(this.Og=!1,Em(this))\};z(Fm,F);var Im=[];Fm.prototype.O=function(a,b,c,d)\{return Gm(this,a,b,c,d)\};\
|
|
Fm.prototype.sa=function(a,b,c,d,e)\{if(ea(b))for(var f=0;f<b.length;f++)this.sa(a,b[f],c,d,e);else c=c||this.handleEvent,e=e||this.A||this,c=Tc(c),d=!!d,b=Hc(a)?Qc(a.ld,String(b),c,d,e):a?(a=Vc(a))?Qc(a,b,c,d,e):null:null,b&&(dd(b),delete this.g[b.key]);return this\};\
|
|
Fm.prototype.T=function()\{Fm.L.T.call(this);Mm(this)\};\
|
|
Fm.prototype.handleEvent=function()\{throw Error("EventHandler.handleEvent not implemented");\};Om.prototype.g=null;Om.prototype.b=v;Om.prototype.A=v;var m$;z(Qm,Om);Qm.prototype.b=function()\{var a=Rm(this);return a?new window.ActiveXObject(a):new window.XMLHttpRequest\};\
|
|
Qm.prototype.A=function()\{var a=\{\};Rm(this)&&(a[0]=!0,a[1]=!0);return a\};\
|
|
m$=new Qm;h=Sm.prototype;h.Df=null;h.yd=!1;h.Sg=null;h.Dn=null;h.Eh=null;h.tg=null;h.Ue=null;h.$e=null;h.Lf=null;h.Wb=null;h.Qh=0;h.zd=null;h.Xj=null;h.Ef=null;h.rh=-1;h.xt=!0;h.tf=!1;h.Ul=0;h.Fj=null;var $m=\{\},Ym=\{\};h=Sm.prototype;h.setTimeout=function(a)\{this.B=a\};\
|
|
h.$F=function(a)\{a=a.target;var b=this.Fj;b&&3==Cn(a)?b.sg():this.qu(a)\};\
|
|
h.qu=function(a)\{try\{if(a==this.Wb)a:\{var b=Cn(this.Wb),c=this.Wb.g,d=this.Wb.getStatus();if(xf&&!Bc(10)||Cc&&!zc("420+"))\{if(4>b)break a\}else if(3>b||3==b&&!Dc&&!Gn(this.Wb))break a;this.tf||4!=b||7==c||(8==c||0>=d?this.b.wd(3):this.b.wd(2));kn(this);var e=this.Wb.getStatus();this.rh=e;var f=Gn(this.Wb);(this.yd=200==e)?(4==b&&bn(this),this.C?(dn(this,b,f),Dc&&this.yd&&3==b&&(this.A.O(this.g,"tick",this.SF),this.g.start())):an(this,f),this.yd&&!this.tf&&(4==b?this.b.Aj(this):(this.yd=!1,Wm(this)))):\
|
|
(this.Ef=400==e&&0<f.indexOf("Unknown SID")?3:0,Zm(),bn(this),cn(this))\}\}catch(k)\{\}finally\{\}\};\
|
|
h.SF=function()\{var a=Cn(this.Wb),b=Gn(this.Wb);this.Qh<b.length&&(kn(this),dn(this,a,b),this.yd&&4!=a&&Wm(this))\};\
|
|
h.mF=function(a)\{jn(x(this.lF,this,a),0)\};\
|
|
h.lF=function(a)\{this.tf||(kn(this),an(this,a),Wm(this))\};\
|
|
h.Ls=function(a)\{jn(x(this.kF,this,a),0)\};\
|
|
h.kF=function(a)\{this.tf||(bn(this),this.yd=a,this.b.Aj(this),this.b.wd(4))\};\
|
|
h.cancel=function()\{this.tf=!0;bn(this)\};\
|
|
h.DF=function()\{this.Sg=null;var a=C();0<=a-this.Dn?(2!=this.tg&&this.b.wd(3),bn(this),this.Ef=2,Zm(),cn(this)):hn(this,this.Dn-a)\};h=pn.prototype;h.Rl=null;h.Mc=null;h.Gj=!1;h.pq=null;h.Qi=null;h.Sl=null;h.Tl=null;h.Vc=null;h.je=-1;h.qh=null;h.hh=null;h.connect=function(a)\{this.Tl=a;a=qn(this.b,null,this.Tl);Zm();this.pq=C();var b=this.b.F;null!=b?(this.qh=b[0],(this.hh=b[1])?(this.Vc=1,rn(this)):(this.Vc=2,tn(this))):(oh(a,"MODE","init"),this.Mc=new Sm(this,0,void 0,void 0,void 0),this.Mc.Df=this.Rl,Vm(this.Mc,a,!1,null,!0),this.Vc=0)\};\
|
|
h.My=function(a)\{if(a)this.Vc=2,tn(this);else\{Zm();var b=this.b;b.nd=b.Pe.je;ao(b,9)\}a&&this.wd(2)\};\
|
|
h.ol=function(a)\{return this.b.ol(a)\};\
|
|
h.oq=function()\{return!1\};\
|
|
h.As=function(a,b)\{this.je=a.rh;if(0==this.Vc)if(b)\{try\{var c=this.g.parse(b)\}catch(d)\{c=this.b;c.nd=this.je;ao(c,2);return\}this.qh=c[0];this.hh=c[1]\}else c=this.b,c.nd=this.je,ao(c,2);else if(2==this.Vc)if(this.Gj)Zm(),this.Sl=C();else if("11111"==b)\{if(Zm(),this.Gj=!0,this.Qi=C(),c=this.Qi-this.pq,!xf||Bc(10)||500>c)this.je=200,this.Mc.cancel(),Zm(),sn(this.b,this,!0)\}else Zm(),this.Qi=this.Sl=C(),this.Gj=!1\};\
|
|
h.Aj=function()\{this.je=this.Mc.rh;if(this.Mc.yd)0==this.Vc?this.hh?(this.Vc=1,rn(this)):(this.Vc=2,tn(this)):2==this.Vc&&((!xf||Bc(10)?!this.Gj:200>this.Sl-this.Qi)?(Zm(),sn(this.b,this,!1)):(Zm(),sn(this.b,this,!0)));else\{0==this.Vc?Zm():2==this.Vc&&Zm();var a=this.b;a.nd=this.je;ao(a,2)\}\};\
|
|
h.Jh=function()\{return this.b.Jh()\};\
|
|
h.isActive=function()\{return this.b.isActive()\};\
|
|
h.wd=function(a)\{this.b.wd(a)\};z(un,I);var Dn=/^https?$/i,isa=["POST","PUT"];h=un.prototype;\
|
|
h.send=function(a,b,c,d)\{if(this.b)throw Error("[goog.net.XhrIo] Object is active with another request="+this.N+"; newUri="+a);b=b?b.toUpperCase():"GET";this.N=a;this.C="";this.g=0;this.K=!1;this.o=!0;this.b=this.J?this.J.b():m$.b();this.H=this.J?Pm(this.J):Pm(m$);this.b.onreadystatechange=x(this.qq,this);try\{this.getStatus(),this.M=!0,this.b.open(b,String(a),!0),this.M=!1\}catch(f)\{this.getStatus();An(this,f);return\}a=c||"";var e=this.headers.clone();d&&Hg(d,function(a,b)\{e.set(b,a)\});\
|
|
d=bb(e.Ua(),xn);c=aa.FormData&&a instanceof aa.FormData;!ib(isa,b)||d||c||e.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");e.forEach(function(a,b)\{this.b.setRequestHeader(b,a)\},this);\
|
|
this.ba&&(this.b.responseType=this.ba);"withCredentials"in this.b&&this.b.withCredentials!==this.G&&(this.b.withCredentials=this.G);try\{Fn(this),0<this.B&&(this.R=wn(this.b),this.getStatus(),this.R?(this.b.timeout=this.B,this.b.ontimeout=x(this.rq,this)):this.D=de(this.rq,this.B,this)),this.getStatus(),this.F=!0,this.b.send(a),this.F=!1\}catch(f)\{this.getStatus(),An(this,f)\}\};\
|
|
h.rq=function()\{"undefined"!=typeof Bn&&this.b&&(this.C="Timed out after "+this.B+"ms, aborting",this.g=8,this.getStatus(),this.dispatchEvent("timeout"),ln(this,8))\};\
|
|
h.T=function()\{this.b&&(this.o&&(this.o=!1,this.A=!0,this.b.abort(),this.A=!1),zn(this,!0));un.L.T.call(this)\};\
|
|
h.qq=function()\{this.isDisposed()||(this.M||this.F||this.A?En(this):this.zE())\};\
|
|
h.zE=function()\{En(this)\};\
|
|
h.isActive=function()\{return!!this.b\};\
|
|
h.getStatus=function()\{try\{return 2<Cn(this)?this.b.status:-1\}catch(a)\{return-1\}\};h=Hn.prototype;h.nh=null;h.xc=null;h.zb=null;h.Ql=null;h.Si=null;h.rp=null;h.aj=null;h.yh=0;h.SB=0;h.Zb=null;h.Qe=null;h.fe=null;h.wf=null;h.Pe=null;h.Wj=null;h.Bg=-1;h.qr=-1;h.nd=-1;h.oh=0;h.ag=0;h.vf=8;var bo=new I;z(Jn,mc);z(Kn,mc);z(Ln,mc);h=Hn.prototype;h.connect=function(a,b,c,d,e)\{Zm();this.Ql=b;this.nh=c||\{\};d&&p(e)&&(this.nh.OSID=d,this.nh.OAID=e);this.Pe=new pn(this);this.Pe.Rl=null;this.Pe.g=this.B;this.Pe.connect(a)\};\
|
|
h.oq=function()\{return 0==this.b\};\
|
|
h.Is=function(a)\{this.Qe=null;Wn(this,a)\};\
|
|
h.Hs=function()\{this.fe=null;this.zb=new Sm(this,0,this.o,"rpc",this.C);this.zb.Df=null;this.zb.Ul=0;var a=this.rp.clone();mh(a,"RID","rpc");mh(a,"SID",this.o);mh(a,"CI",this.Wj?"0":"1");mh(a,"AID",this.Bg);Nn(this,a);if(!xf||Bc(10))mh(a,"TYPE","xmlhttp"),Vm(this.zb,a,!0,this.aj,!1);else\{mh(a,"TYPE","html");var b=this.zb,c=!!this.aj;b.tg=3;b.Ue=ph(a.clone());gn(b,c)\}\};\
|
|
h.As=function(a,b)\{if(0!=this.b&&(this.zb==a||this.xc==a))if(this.nd=a.rh,this.xc==a&&3==this.b)if(7<this.vf)\{var c;try\{c=this.B.parse(b)\}catch(f)\{c=null\}if(ea(c)&&3==c.length)if(0==c[0])a:\{if(!this.fe)\{if(this.zb)if(this.zb.Eh+3E3<this.xc.Eh)Qn(this),this.zb.cancel(),this.zb=null;else break a;Zn(this);Zm()\}\}else this.qr=c[1],0<this.qr-this.Bg&&37500>c[2]&&this.Wj&&0==this.ag&&!this.wf&&(this.wf=jn(x(this.qC,this),6E3));else ao(this,11)\}else b!=hsa.NL.b&&ao(this,11);else if(this.zb==a&&Qn(this),!A(b))\{c=\
|
|
this.B.parse(b);ea(c);for(var d=0;d<c.length;d++)\{var e=c[d];this.Bg=e[0];e=e[1];2==this.b?"c"==e[0]?(this.o=e[1],this.aj=e[2],e=e[3],null!=e?this.vf=e:this.vf=6,this.b=3,this.Zb&&this.Zb.Cp(this),this.rp=qn(this,this.Jh()?this.aj:null,this.Ql),Xn(this)):"stop"==e[0]&&ao(this,7):3==this.b&&("stop"==e[0]?ao(this,7):"noop"!=e[0]&&this.Zb&&this.Zb.Bp(this,e),this.ag=0)\}\}\};\
|
|
h.qC=function()\{null!=this.wf&&(this.wf=null,this.zb.cancel(),this.zb=null,Zn(this),Zm())\};\
|
|
h.Aj=function(a)\{var b;if(this.zb==a)Qn(this),this.zb=null,b=2;else if(this.xc==a)this.xc=null,b=1;else return;this.nd=a.rh;if(0!=this.b)if(a.yd)1==b?(C(),bo.dispatchEvent(new Kn(bo,a.Lf?a.Lf.length:0)),Rn(this),this.A.length=0):Xn(this);else\{var c=a.Ef,d;if(!(d=3==c||7==c||0==c&&0<this.nd))\{if(d=1==b)this.xc||this.Qe||1==this.b||2<=this.oh?d=!1:(this.Qe=jn(x(this.Is,this,a),Yn(this,this.oh)),this.oh++,d=!0);d=!(d||2==b&&Zn(this))\}if(d)switch(c)\{case 1:ao(this,5);break;case 4:ao(this,10);break;case 3:ao(this,\
|
|
6);break;case 7:ao(this,12);break;default:ao(this,2)\}\}\};\
|
|
h.hz=function(a)\{if(!ib(arguments,this.b))throw Error("Unexpected channel state: "+this.b);\};\
|
|
h.FG=function(a)\{a?Zm():(Zm(),$n(this,8))\};\
|
|
h.ol=function(a)\{if(a)throw Error("Can't create secondary domain capable XhrIo object.");a=new un;a.G=!1;return a\};\
|
|
h.isActive=function()\{return!!this.Zb&&this.Zb.isActive(this)\};\
|
|
h.wd=function()\{bo.dispatchEvent(new Ln(bo))\};\
|
|
h.Jh=function()\{return!(!xf||Bc(10))\};\
|
|
h=co.prototype;h.Cp=function()\{\};\
|
|
h.Bp=function()\{\};\
|
|
h.Ap=function()\{\};\
|
|
h.bl=function()\{\};\
|
|
h.bq=function()\{return\{\}\};\
|
|
h.isActive=function()\{return!0\};z(fo,be);fo.prototype.C=function()\{if(500<this.b)\{var a=this.b;24E4>2*a&&(a*=2);ce(this,a)\}this.D()\};\
|
|
fo.prototype.start=function()\{fo.L.start.call(this);this.B=C()+this.b\};\
|
|
fo.prototype.stop=function()\{this.B=0;fo.L.stop.call(this)\};z(go,co);h=go.prototype;h.subscribe=function(a,b,c)\{return this.o.subscribe(a,b,c)\};\
|
|
h.Fa=function(a,b,c)\{return ug(this.o,a,b,c)\};\
|
|
h.Nc=function(a)\{return this.o.Nc(a)\};\
|
|
h.Y=function(a,b)\{return this.o.Rb.apply(this.o,arguments)\};\
|
|
h.dispose=function()\{this.H||(this.H=!0,this.o.clear(),io(this),Nb(this.o))\};\
|
|
h.isDisposed=function()\{return this.H\};\
|
|
h.connect=function(a,b,c)\{if(!this.b||2!=this.b.b)\{this.G="";this.g.stop();this.B=a||null;this.A=b||0;a=this.J+"/test";b=this.J+"/bind";var d=new Hn("1",c?c.firstTestResults:null,c?c.secondTestResults:null),e=this.b;e&&(e.Zb=null);d.Zb=this;this.b=d;e?this.b.connect(a,b,this.C,e.o,e.Bg):c?this.b.connect(a,b,this.C,c.sessionId,c.arrayId):this.b.connect(a,b,this.C)\}\};\
|
|
h.sendMessage=function(a,b)\{var c=\{_sc:a\};b&&kc(c,b);this.g.enabled||2==(this.b?this.b.b:0)?this.D.push(c):jo(this)&&Sn(this.b,c)\};\
|
|
h.Cp=function()\{eo(this.g);this.B=null;this.A=0;if(this.D.length)\{var a=this.D;this.D=[];for(var b=0,c=a.length;b<c;++b)Sn(this.b,a[b])\}this.Y("handlerOpened")\};\
|
|
h.Ap=function(a,b)\{var c=2==b&&401==this.b.nd;if(4!=b&&!c)\{if(6==b||410==this.b.nd)c=this.g,c.stop(),ce(c,500);this.g.start()\}this.Y("handlerError",b)\};\
|
|
h.bl=function(a,b,c)\{if(!this.g.enabled)this.Y("handlerClosed");else if(c)for(a=0,b=c.length;a<b;++a)\{var d=c[a].map;d&&this.D.push(d)\}\};\
|
|
h.bq=function()\{var a=\{v:2\};this.G&&(a.gsessionid=this.G);0!=this.A&&(a.ui=""+this.A);0!=this.F&&(a.ui=""+this.F);this.B&&kc(a,this.B);return a\};\
|
|
h.Bp=function(a,b)\{"S"==b[0]?this.G=b[1]:"gracefulReconnect"==b[0]?(eo(this.g),this.g.start(),Pn(this.b)):this.Y("handlerMessage",new ym(b[0],b[1]))\};\
|
|
h.aH=function()\{this.g.stop();var a=this.b,b=0;a.zb&&b++;a.xc&&b++;0!=b?this.g.start():this.connect(this.B,this.A)\};h=lo.prototype;h.Pb=function()\{return this.b.length+this.g.length\};\
|
|
h.isEmpty=function()\{return kb(this.b)&&kb(this.g)\};\
|
|
h.clear=function()\{this.b=[];this.g=[]\};\
|
|
h.contains=function(a)\{return ib(this.b,a)||ib(this.g,a)\};\
|
|
h.remove=function(a)\{var b;b=this.b;var c=Zra(b,a);0<=c?(ob(b,c),b=!0):b=!1;return b||pb(this.g,a)\};\
|
|
h.Ra=function()\{for(var a=[],b=this.b.length-1;0<=b;--b)a.push(this.b[b]);for(var c=this.g.length,b=0;b<c;++b)a.push(this.g[b]);return a\};qo.prototype.reset=function(a)\{this.listId="";so(this);this.volume=-1;this.muted=!1;a&&(this.index=a.index,this.listId=a.listId,this.videoId=a.videoId,this.b=a.playerState,this.volume=a.volume,this.muted=a.muted,this.audioTrackId=a.audioTrackId,this.g=a.trackData,this.o=a.playerTime,this.A=a.playerTimeAt)\};\
|
|
qo.prototype.Wa=function()\{return 1==this.b\};\
|
|
qo.prototype.clone=function()\{return new qo(wo(this))\};z(zo,sk);h=zo.prototype;h.play=function()\{1==this.g?(this.b?this.b.play(null,r,x(function()\{this.qb("Failed to play video with cast v2 channel.");Bo(this,"play")\},this)):Bo(this,"play"),Go(this,1,uo(Ao(this))),Ho(this)):Fo(this,this.play)\};\
|
|
h.pause=function()\{1==this.g?(this.b?this.b.pause(null,r,x(function()\{this.qb("Failed to pause video with cast v2 channel.");Bo(this,"pause")\},this)):Bo(this,"pause"),Go(this,2,uo(Ao(this))),Ho(this)):Fo(this,this.pause)\};\
|
|
h.seekTo=function(a)\{if(1==this.g)\{if(this.b)\{var b=Ao(this),c=new window.chrome.cast.media.SeekRequest;c.currentTime=a;b.Wa()||3==b.b?c.resumeState=window.chrome.cast.media.ResumeState.PLAYBACK_START:c.resumeState=window.chrome.cast.media.ResumeState.PLAYBACK_PAUSE;this.b.seek(c,r,x(function()\{this.qb("Failed to seek in video with cast v2 channel.");Bo(this,"seekTo",\{newTime:a\})\},this))\}else Bo(this,"seekTo",\{newTime:a\});\
|
|
Go(this,3,a);Ho(this)\}else Fo(this,qa(this.seekTo,a))\};\
|
|
h.stop=function()\{if(1==this.g)\{this.b?this.b.stop(null,r,x(function()\{this.qb("Failed to stop video with cast v2 channel.");Bo(this,"stopVideo")\},this)):Bo(this,"stopVideo");\
|
|
var a=Ao(this);so(a);Co(this,a);Ho(this)\}else Fo(this,this.stop)\};\
|
|
h.setVolume=function(a,b)\{if(1==this.g)\{var c=Ao(this);if(this.o)\{if(c.volume!=a)\{var d=Math.round(a)/100;this.o.setReceiverVolumeLevel(d,x(function()\{Io("set receiver volume: "+d)\},this),x(function()\{this.qb("failed to set receiver volume.")\},this))\}c.muted!=b&&this.o.setReceiverMuted(b,x(function()\{Io("set receiver muted: "+b)\},this),x(function()\{this.qb("failed to set receiver muted.")\},this))\}else\{var e=\{volume:a,\
|
|
muted:b\};-1!=c.volume&&(e.delta=a-c.volume);Bo(this,"setVolume",e)\}c.muted=b;c.volume=a;Co(this,c)\}else Fo(this,qa(this.setVolume,a,b))\};\
|
|
h.ln=function(a,b)\{if(1==this.g)\{var c=Ao(this);if(b)\{c.g=\{trackName:b.name,languageCode:b.languageCode,sourceLanguageCode:b.translationLanguage?b.translationLanguage.languageCode:"",languageName:b.languageName,format:b.format,kind:b.kind\};var d=\{videoId:a,style:gg(b.style)\};kc(d,c.g);Bo(this,"setSubtitlesTrack",d)\}else d=\{videoId:a\},Bo(this,"setSubtitlesTrack",d);Co(this,c)\}else Fo(this,qa(this.ln,a,b))\};\
|
|
h.xu=function(a,b)\{if(1==this.g)\{Bo(this,"setAudioTrack",\{videoId:a,audioTrackId:b.Vb.id\});var c=Ao(this);c.audioTrackId=b.Vb.id;Co(this,c)\}else Fo(this,qa(this.xu,a,b))\};\
|
|
h.dispose=function()\{if(3!=this.g)\{var a=this.g;this.g=3;this.Y("proxyStateChange",a,this.g)\}zo.L.dispose.call(this)\};\
|
|
h.T=function()\{Xi(this.B);this.B=window.NaN;Eo(this);this.A=null;this.C.clear();yo(this,null);zo.L.T.call(this)\};\
|
|
h.Kn=function(a)\{if((a!=this.g||2==a)&&3!=this.g&&0!=a)\{var b=this.g;this.g=a;this.Y("proxyStateChange",b,a);if(1==a)for(;!this.C.isEmpty();)oo(this.C).apply(this);else 3==a&&this.dispose()\}\};\
|
|
h.mE=function(a)\{("remotePlayerChange"!=a||(0,window.isNaN)(this.B))&&this.Y(a)\};\
|
|
h.vC=function(a)\{if(!a)this.zh(null),yo(this,null);else if(this.o.receiver.volume)\{a=this.o.receiver.volume;var b=Ao(this),c=Math.round(100*a.level||0);if(b.volume!=c||b.muted!=a.muted)Io("Cast volume update: "+a.level+(a.muted?" muted":"")),b.volume=c,b.muted=!!a.muted,Co(this,b)\}\};\
|
|
h.zh=function(a)\{Io("Cast media: "+!!a);this.b&&this.b.removeUpdateListener(this.G);if(this.b=a)this.b.addUpdateListener(this.G),Jo(this),Ho(this)\};\
|
|
h.uC=function(a)\{a?(Jo(this),Ho(this)):this.zh(null)\};\
|
|
h.qb=function(a)\{zi("CP",a)\};z(Lo,sk);h=Lo.prototype;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);p(e)&&(k.currentIndex=e);c&&(this.Ta.listId=c);this.Ta.videoId=d;this.Ta.index=e||0;this.Ta.state=3;to(this.Ta,f);this.D="UNSUPPORTED";Mo("Connecting with setPlaylist and params: "+gg(k));this.b.connect(\{method:"setPlaylist",params:gg(k)\},a,Tk())\}else Mo("Connecting without params"),this.b.connect(\{\},a,Tk());Oo(this)\};\
|
|
h.dispose=function()\{this.isDisposed()||(this.Y("beforeDispose"),No(this,3));Lo.L.dispose.call(this)\};\
|
|
h.T=function()\{Po(this);Ro(this);Qo(this);Xi(this.G);this.G=window.NaN;Xi(this.H);this.H=window.NaN;this.o=null;nm(this.N);this.N.length=0;this.b.dispose();Lo.L.T.call(this);this.D=this.F=this.g=this.Ta=this.b=null\};\
|
|
h.Dz=function()\{this.B(2)\};\
|
|
h.zC=function()\{Mo("Channel opened");this.M&&(this.M=!1,Qo(this),this.K=Vi(x(function()\{Mo("Timing out waiting for a screen.");this.B(1)\},this),15E3));\
|
|
Yk(ho(this.b),this.ba)\};\
|
|
h.wC=function()\{Mo("Channel closed");(0,window.isNaN)(this.A)?Zk(!0):Zk();this.dispose()\};\
|
|
h.xC=function(a)\{Zk();(0,window.isNaN)(this.C())?(Mo("Channel error: "+a+" without reconnection"),this.dispose()):(this.M=!0,Mo("Channel error: "+a+" with reconnection in "+this.C()+" ms"),No(this,2))\};\
|
|
h.yC=function(a)\{a.params?Mo("Received: action="+a.action+", params="+gg(a.params)):Mo("Received: action="+a.action+" \{\}");switch(a.action)\{case "loungeStatus":a=cg(a.params.devices);this.g=Ii(a,function(a)\{return new Fk(a)\});\
|
|
a=!!bb(this.g,function(a)\{return"LOUNGE_SCREEN"==a.type\});\
|
|
Vo(this,a);break;case "loungeScreenConnected":Vo(this,!0);break;case "loungeScreenDisconnected":qb(this.g,function(a)\{return"LOUNGE_SCREEN"==a.type\});\
|
|
Vo(this,!1);break;case "remoteConnected":var b=new Fk(cg(a.params.device));bb(this.g,function(a)\{return b?a.id==b.id:!1\})||nb(this.g,b);\
|
|
break;case "remoteDisconnected":b=new Fk(cg(a.params.device));qb(this.g,function(a)\{return b?a.id==b.id:!1\});\
|
|
break;case "gracefulDisconnect":break;case "playlistModified":Xo(this,a);break;case "nowPlaying":Zo(this,a);break;case "onStateChange":Yo(this,a);break;case "onVolumeChanged":$o(this,a);break;case "onSubtitlesTrackChanged":Wo(this,a);break;case "nowAutoplaying":this.F=a.params.videoId;break;case "autoplayDismissed":break;case "autoplayUpNext":this.F=a.params.videoId;break;case "onAutoplayModeChanged":this.D=a.params.autoplayMode;break;default:Mo("Unrecognized action: "+a.action)\}\};\
|
|
h.hG=function()\{if(this.o)\{var a=this.o;this.o=null;this.Ta.videoId!=a&&So(this,"getNowPlaying")\}\};\
|
|
Lo.prototype.subscribe=Lo.prototype.subscribe;Lo.prototype.unsubscribeByKey=Lo.prototype.Nc;Lo.prototype.ga=function()\{var a=3;this.isDisposed()||(a=0,(0,window.isNaN)(this.C())?jo(this.b)&&(0,window.isNaN)(this.A)&&(a=1):a=2);return a\};\
|
|
Lo.prototype.getProxyState=Lo.prototype.ga;Lo.prototype.B=function(a)\{Mo("Disconnecting with "+a);Po(this);this.Y("beforeDisconnect",a);1==a&&Zk();io(this.b,a);this.dispose()\};\
|
|
Lo.prototype.disconnect=Lo.prototype.B;Lo.prototype.ca=function()\{var a=this.Ta;this.o&&(a=this.Ta.clone(),vo(a,this.o,a.index));return wo(a)\};\
|
|
Lo.prototype.getPlayerContextData=Lo.prototype.ca;Lo.prototype.ha=function(a)\{var b=new qo(a);b.videoId&&b.videoId!=this.Ta.videoId&&(this.o=b.videoId,Xi(this.G),this.G=Vi(x(this.hG,this),5E3));var c=[];this.Ta.listId==b.listId&&this.Ta.videoId==b.videoId&&this.Ta.index==b.index||c.push("remoteQueueChange");this.Ta.b==b.b&&this.Ta.volume==b.volume&&this.Ta.muted==b.muted&&uo(this.Ta)==uo(b)&&gg(this.Ta.g)==gg(b.g)||c.push("remotePlayerChange");this.Ta.reset(a);D(c,function(a)\{this.Y(a)\},this)\};\
|
|
Lo.prototype.setPlayerContextData=Lo.prototype.ha;Lo.prototype.R=function()\{var a=this.b.C.id,b=bb(this.g,function(b)\{return"REMOTE_CONTROL"==b.type&&b.id!=a\});\
|
|
return b?b.id:""\};\
|
|
Lo.prototype.getOtherConnectedRemoteId=Lo.prototype.R;Lo.prototype.C=function()\{var a=this.b;return a.g.enabled?a.g.B-C():window.NaN\};\
|
|
Lo.prototype.getReconnectTimeout=Lo.prototype.C;Lo.prototype.X=function()\{return this.D||"UNSUPPORTED"\};\
|
|
Lo.prototype.getAutoplayMode=Lo.prototype.X;Lo.prototype.aa=function()\{return this.F||""\};\
|
|
Lo.prototype.getAutoplayVideoId=Lo.prototype.aa;Lo.prototype.la=function()\{if(!(0,window.isNaN)(this.C()))\{var a=this.b.g;a.enabled&&(a.stop(),a.start(),a.C())\}\};\
|
|
Lo.prototype.reconnect=Lo.prototype.la;Lo.prototype.ea=function(a,b)\{So(this,a,b);Uo(this)\};\
|
|
Lo.prototype.sendMessage=Lo.prototype.ea;z(ap,tk);h=ap.prototype;h.Gc=function(a)\{return this.$b.$_gs(a)\};\
|
|
h.contains=function(a)\{return!!this.$b.$_c(a)\};\
|
|
h.get=function(a)\{return this.$b.$_g(a)\};\
|
|
h.start=function()\{this.$b.$_st()\};\
|
|
h.Sh=function(a,b,c)\{this.$b.$_a(a,b,c)\};\
|
|
h.remove=function(a,b,c)\{this.$b.$_r(a,b,c)\};\
|
|
h.Oh=function(a,b,c,d)\{this.$b.$_un(a,b,c,d)\};\
|
|
h.T=function()\{for(var a=0,b=this.b.length;a<b;++a)this.$b.$_ubk(this.b[a]);this.b.length=0;this.$b=null;ap.L.T.call(this)\};\
|
|
h.eH=function()\{this.Y("screenChange")\};\
|
|
h.$D=function()\{this.Y("onlineScreenChange")\};\
|
|
nl.prototype.$_st=nl.prototype.start;nl.prototype.$_gspc=nl.prototype.fH;nl.prototype.$_gsppc=nl.prototype.Au;nl.prototype.$_c=nl.prototype.contains;nl.prototype.$_g=nl.prototype.get;nl.prototype.$_a=nl.prototype.Sh;nl.prototype.$_un=nl.prototype.Oh;nl.prototype.$_r=nl.prototype.remove;nl.prototype.$_gs=nl.prototype.Gc;nl.prototype.$_gos=nl.prototype.zu;nl.prototype.$_s=nl.prototype.subscribe;nl.prototype.$_ubk=nl.prototype.Nc;var bp=null,cp=null,pp=null,hp=[];var Fp=/^https?:\\/\\/(([-\\w]*www[-\\w]*\\.|[-\\w]*web[-\\w]*\\.|[-\\w]*canary[-\\w]*\\.|[-\\w]*qa[-\\w]*\\.|[-\\w]*dev[-\\w]*\\.|[-\\w]\{1,3\}\\.)+youtube(education|-nocookie)?\\.com\\/|(m\\.)?[a-z0-9\\-]\{1,63\}\\.([a-z]\{3\}|i)\\.corp\\.google\\.com(:[0-9]+)?\\/|0\\.borg-playground-[a-z0-9\\-]+\\.youtube-dev\\.([a-z]\{2\}|i)\\.borg\\.google\\.com(:[0-9]+)?\\/|m?web-ppg\\.corp\\.google\\.com\\/|(?:uytfe\\.corp|dev-uytfe\\.corp|uytfe\\.sandbox)\\.google\\.com\\/|(docs|drive)\\.google\\.com\\/(a\\/[^/\\\\%]+\\/|)|play\\.google\\.com\\/|[A-Za-z0-9]+\\.prod\\.google\\.com(:[0-9]+)?\\/)/,\
|
|
FH=/^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]+)?([\\/\\?\\#]|$)/,Bca=/^https?:\\/\\/([A-Za-z0-9-]\{1,63\}\\.)*(corp\\.google\\.com|borg\\.google\\.com|prod\\.google\\.com|sandbox\\.google\\.com|youtube\\.com)(:[0-9]+)?([\\/\\?\\#]|$)/,iba=/^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(\\/+|\\?|#|$)/,\
|
|
LA=/^((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?:\\/\\/(s2\\.googleusercontent\\.com\\/s2\\/favicons\\?|yt[3-4]\\.ggpht\\.com\\/|([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]+)?([\\/\\?\\#]|$))/,\
|
|
Yp=/^https?.*#ocr$|^https?:\\/\\/(secure\\-..\\.imrworldwide\\.com\\/|cdn\\.imrworldwide\\.com\\/|aksecure\\.imrworldwide\\.com\\/)/,pv=/^https?:\\/\\/(www\\.google\\.com\\/(aclk|pagead\\/conversion)|www\\.googleadservices\\.com\\/(aclk|pagead\\/(aclk|conversion))|googleads\\.g\\.doubleclick\\.net\\/(aclk|pagead\\/conversion)|www\\.youtube-nocookie\\.com\\/api\\/ads\\/trueview_redirect|www\\.googleadservices\\.com\\/trueview_inred)/,Xp=/^https?:\\/\\/(www\\.google\\.com\\/pagead\\/sul|www\\.youtube\\.com\\/pagead\\/sul|www\\.youtube\\.com\\/pagead\\/psul)/,\
|
|
CG=/^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|ed\\.video\\.google\\.com|vp\\.video\\.l\\.google\\.com|youtube\\.com|youtubeeducation\\.com|xfx7\\.com)(:[0-9]+)?([\\/\\?\\#]|$)/,xA=/^https?:\\/\\/(www\\.gstatic\\.com\\/doubleclick\\/studio\\/innovation\\/ytplayer|www\\.gstatic\\.com\\/doubleclick\\/studio\\/innovation\\/h5\\/layouts\\/tetris|s[01](qa)?\\.2mdn\\.net\\/ads\\/richmedia\\/studio\\/mu\\/templates\\/tetris|tpc\\.googlesyndication\\.com\\/safeframe\\/|lightbox-(demos|builder)\\.appspot\\.com\\/|([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]+)?([\\/\\?\\#]|$))/,\
|
|
lba=/^https?:\\/\\/(sf\\.api\\.[a-z0-9\\-]+\\.km\\.playstation\\.net\\/|([A-Za-z0-9-]\{1,63\}\\.)*(themis\\.dl\\.playstation\\.net)(:[0-9]+)?([\\/\\?\\#]|$))/,Hp=/^https?:\\/\\/((www\\.|encrypted\\.)?google(\\.com|\\.co)?\\.[a-z]\{2,3\}\\/(search|webhp)\\?|24e12c4a-a-95274a9c-s-sites.googlegroups.com\\/a\\/google.com\\/flash-api-test-harness\\/apiharness.swf|www\\.gstatic\\.com\\/doubleclick\\/studio\\/innovation\\/h5\\/layouts\\/tetris|s[01](qa)?\\.2mdn\\.net\\/ads\\/richmedia\\/studio\\/mu\\/templates\\/tetris|tpc\\.googlesyndication\\.com\\/safeframe\\/|lightbox-(demos|builder)\\.appspot\\.com\\/|([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|talkgadget\\.google\\.com|survey\\.g\\.doubleclick\\.net|youtube\\.com|youtube\\.googleapis\\.com|youtube-nocookie\\.com|youtubeeducation\\.com|vevo\\.com)(:[0-9]+)?([\\/\\?\\#]|$))/;var Ip=["2mdn.net"];var dA=AA||zA;var bq=\{\},$p=0;var cq=1;dq.prototype.getId=function()\{return this.wa\};\
|
|
dq.prototype.getId=dq.prototype.getId;dq.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)\};z(gq,sk);h=gq.prototype;h.wb=function(a,b)\{for(var c=0;c<a.length;c++)a[c].namespace=this.Ma;this.b.wb(a,b)\};\
|
|
h.create=function()\{this.D||(this.Bb(this.b),J(this.b.Da(),this.Ma+"-created"),this.b.addEventListener("crn_"+this.Ma,this.Xd,this),this.b.addEventListener("crx_"+this.Ma,this.qe,this),this.D=!0)\};\
|
|
h.destroy=function()\{this.loaded&&this.unload();me(this.b.Da(),this.Ma+"-created");this.b.removeEventListener("crn_"+this.Ma,this.Xd,this);this.b.removeEventListener("crx_"+this.Ma,this.qe,this);this.D=!1;this.Y("destroyed",this.Ma)\};\
|
|
h.load=function()\{this.loaded=!0;J(this.b.Da(),this.Ma+"-loaded");this.Y("loaded",this.Ma)\};\
|
|
h.unload=function()\{this.loaded=!1;me(this.b.Da(),this.Ma+"-loaded");this.Y("unloaded",this.Ma)\};\
|
|
h.Xd=function()\{\};\
|
|
h.qe=function()\{\};\
|
|
h.Ac=function()\{\};\
|
|
h.log=function(a)\{uv(this.b,this.logEvent,a)\};\
|
|
h.bi=function()\{return null\};\
|
|
h.Ae=function()\{\};\
|
|
h.Tf=function()\{return[]\};\
|
|
h.Bb=function()\{return!1\};\
|
|
h.Wm=function(a,b)\{this.F&&this.F.Ac&&this.F.Ac.apply(this.F,arguments)\};\
|
|
h.zj=function()\{\};var uda=\{FK:"YTP_ERROR_ALREADY_PINNED_ON_A_DEVICE",AUTHENTICATION_EXPIRED:"ERROR_AUTHENTICATION_EXPIRED",MK:"ERROR_AUTHENTICATION_MALFORMED",NK:"ERROR_AUTHENTICATION_MISSING",TK:"ERROR_BAD_REQUEST",gL:"YTP_ERROR_CANNOT_ACTIVATE_RENTAL",qL:"ERROR_CGI_PARAMS_MALFORMED",rL:"ERROR_CGI_PARAMS_MISSING",SL:"YTP_DEVICE_FALLBACK",qM:"YTP_ERROR_LICENSE",vM:"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK_FLASH",zM:"YTP_ERROR_FORMAT_UNAVALIABLE",AM:"YTP_ERROR_GEO_FAILURE",OM:"YTP_ERROR_GENERIC_WITHOUT_LINK",QM:"YTP_HTML5_PROTECTED_FLASH_FALLBACK",\
|
|
PM:"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK",eN:"YTP_ERROR_INVALID_DRM_MESSAGE",lN:"LEARN_MORE",lO:"YTP_ERROR_NOT_SIGNED_IN",SO:"YTP_ERROR_PURCHASE_NOT_FOUND",TO:"YTP_ERROR_PURCHASE_REFUNDED",ZO:"YTP_ERROR_RENTAL_EXPIRED",lL:"YTP_ERROR_CAST_SESSION_DEVICE_MISMATCHED",mL:"YTP_ERROR_CAST_SESSION_VIDEO_MISMATCHED",oL:"YTP_ERROR_CAST_TOKEN_FAILED",nL:"YTP_ERROR_CAST_TOKEN_EXPIRED",pL:"YTP_ERROR_CAST_TOKEN_MALFORMED",qP:"YTP_ERROR_SERVER_ERROR",JP:"YTP_ERROR_STOPPED_BY_ANOTHER_PLAYBACK",LP:"YTP_ERROR_STREAMING_DEVICES_QUOTA_PER_24H_EXCEEDED",\
|
|
MP:"YTP_ERROR_STREAMING_NOT_ALLOWED",NP:"YTP_ERROR_STREAMING_UNAVAILABLE",fP:"YTP_ERROR_RETRYABLE_ERROR",$P:"YTP_ERROR_TOO_MANY_STREAMS_PER_USER",ZP:"YTP_ERROR_TOO_MANY_STREAMS_PER_ENTITLEMENT",pQ:"YTP_ERROR_UNSUPPORTED_DEVICE",qQ:"YTP_ERROR_UNUSUAL_ACTIVITY",AQ:"YTP_ERROR_VIDEO_FORBIDDEN",BQ:"YTP_ERROR_VIDEO_NOT_FOUND"\},qq=\{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 jba=\{vK:"adunit",RL:"detailpage",lM:"editpage",mM:"embedded",kN:"leanback",NO:"previewpage",PO:"profilepage",nQ:"unplugged"\};var HH,L5;var n$=sc,o$=n$.match(/\\((iPad|iPhone|iPod)( Simulator)?;/);if(!o$||2>o$.length)HH=void 0;else\{var p$=n$.match(/\\((iPad|iPhone|iPod)( Simulator)?; (U; )?CPU (iPhone )?OS (\\d+_\\d)[_ ]/);HH=p$&&6==p$.length?Number(p$[5].replace("_",".")):0\}(L5=0<=HH)&&0<=sc.search("Safari")&&sc.search("Version");var jsa=L5&&4>HH?.1:0,Rla=new sq;sq.prototype.b=null;sq.prototype.getCurrentTime=function()\{return this.currentTime||0\};\
|
|
sq.prototype.g=function()\{this.hasAttribute("controls")&&this.setAttribute("controls","true")\};uq.prototype.Wa=function()\{return O(this,8)&&!O(this,64)&&!O(this,2)\};var os=[1,2,3,4,5],ms=\{LIFE_CYCLE_CREATED:1,LIFE_CYCLE_READY:2,LIFE_CYCLE_TESTING:4,LIFE_CYCLE_TESTING_STARTING:3,LIFE_CYCLE_LIVE:6,LIFE_CYCLE_LIVE_STARTING:5,LIFE_CYCLE_COMPLETE:8,LIFE_CYCLE_COMPLETE_STARTING:7\};z(Iq,sk);Iq.prototype.A=function()\{this.g.isActive()&&ge(this.g)\};\
|
|
Iq.prototype.B=function()\{var a=\{headers:\{"Content-Type":"application/json"\},Dc:\{alt:"json",key:this.D\},postBody:this.F,format:"JSON",timeout:1E4,sb:x(this.H,this),onError:x(this.o,this),Lc:x(this.o,this)\};this.C&&(a.headers["X-Goog-Visitor-Id"]=this.C);ek(this.G,a)\};\
|
|
Iq.prototype.H=function(a)\{this.isDisposed()||(200<=a.status&&400>a.status?(a=JSON.parse(a.responseText),this.Y("payload",a),this.b=7500+Math.floor(15E3*Math.random()),this.g.start(this.b)):this.o())\};\
|
|
Iq.prototype.o=function()\{this.isDisposed()||(this.Y("error"),192E4>this.b&&(this.b*=2),this.g.start(this.b))\};var r5=16/9,ksa=[.25,.5,1,1.25,1.5,2];z(Kq,F);h=Kq.prototype;h.Ba=function(a,b)\{p(b)?If(a,this.element,b):a.appendChild(this.element)\};\
|
|
h.detach=function()\{Jf(this.element)\};\
|
|
h.update=function(a)\{for(var b in a)this.va(b,a[b])\};\
|
|
h.va=function(a,b)\{var c=this.ua["\{\{"+a+"\}\}"];c&&Mq(this,c[0],c[1],b)\};\
|
|
h.T=function()\{this.pa=\{\};this.ua=\{\};this.detach();Kq.L.T.call(this)\};\
|
|
Kq.g=1;Kq.b=function()\{return"ytp-svg-"+Kq.g++\};z(P,Kq);h=P.prototype;h.Nb=function(a,b)\{this.va(b||"content",a)\};\
|
|
h.show=function()\{this.g||(Pq(this.element,""),this.g=!0)\};\
|
|
h.oa=function()\{this.g&&(Pq(this.element,"none"),this.g=!1)\};\
|
|
h.fb=function(a)\{a?this.show():this.oa()\};\
|
|
h.O=function(a,b,c)\{return this.S(this.element,a,b,c)\};\
|
|
h.S=function(a,b,c,d)\{c=x(c,d||this);d=\{target:a,type:b,listener:c\};this.ba.push(d);a.addEventListener(b,c);return d\};\
|
|
h.sa=function(a)\{for(var b=0;b<this.ba.length;b++)if(this.ba[b]==a)\{a=this.ba.splice(b,1)[0];a.target.removeEventListener(a.type,a.listener);break\}\};\
|
|
h.focus=function()\{Xf(this.element)||this.element.hasAttribute("tabindex");this.element.focus()\};\
|
|
h.T=function()\{for(;this.ba.length;)\{var a=this.ba.pop();a.target.removeEventListener(a.type,a.listener)\}P.L.T.call(this)\};var Yq=null,cr=null,Xq=null;var dr=C().toString();var qr=\{log_event:"events",log_interaction:"interactions"\},or=\{\},pr=\{\},mr=0,nr=q("yt.logging.transport.logsQueue_")||\{\};g.ba("yt.logging.transport.logsQueue_",nr,void 0);z(Cr,P);Cr.prototype.o=function(a)\{if(!Tq(a)||R(this.b).experiments.Z("disable_fresca_video_navigation"))yr(a,this.b,!0);else\{var b=a.currentTarget.getAttribute("href");I9(this.b.app,b.substring(b.length-11),void 0,void 0,void 0,void 0);vm(a)\}\};z(Dr,P);h=Dr.prototype;h.RB=function(a)\{if(!Tq(a)||R(this.o).experiments.Z("disable_fresca_video_navigation"))yr(a,this.o,!0);else\{var b=a.currentTarget.getAttribute("href");I9(this.o.app,b.substring(b.length-11),void 0,void 0,void 0,void 0);vm(a)\}\};\
|
|
h.BC=function()\{this.A=!0;this.oa()\};\
|
|
h.show=function()\{var a=!this.g;Dr.L.show.call(this);a&&us(this.o)\};\
|
|
h.oa=function()\{var a=this.g;Dr.L.oa.call(this);a&&us(this.o)\};\
|
|
h.T=function()\{Ob(this.b);Dr.L.T.call(this)\};z(Ir,P);Ir.prototype.D=function(a)\{var b;b=this.b;b.startTime?(b=b.state,b=6==b||8==b||7==b?!1:!0):b=!1;oe(this.element,"ytp-fresca-inline-countdown",b&&!0);oe(this.element,"ytp-fresca-show-countdown",b&&!1);if(b)\{if(!a&&(a=this.b.startTime-Math.floor(C()/1E3),a=259200<=a?0:86459<=a?1:86400<=a?2:0<=a?3:-3600<=a?4:5,a!=this.C))\{this.C=a;Pr(this,this.b,!0);return\}Jr(this.b)||this.va("countdown",Qr(this.b.startTime));Xi(this.B);this.B=Vi(x(this.D,this),1E3)\}\};\
|
|
Ir.prototype.T=function()\{Xi(this.B);Ir.L.T.call(this)\};var Zr=\{xo:["BC","AD"],wo:["Before Christ","Anno Domini"],Lo:"JFMAMJJASOND".split(""),Uo:"JFMAMJJASOND".split(""),Bk:"January February March April May June July August September October November December".split(" "),Ek:"January February March April May June July August September October November December".split(" "),Ck:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),Fk:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),Kk:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),\
|
|
Hk:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),Dk:"Sun Mon Tue Wed Thu Fri Sat".split(" "),Gk:"Sun Mon Tue Wed Thu Fri Sat".split(" "),Dx:"SMTWTFS".split(""),Vo:"SMTWTFS".split(""),So:["Q1","Q2","Q3","Q4"],Qo:["1st quarter","2nd quarter","3rd quarter","4th quarter"],xk:["AM","PM"],ki:["EEEE, MMMM d, y","MMMM d, y","MMM d, y","M/d/yy"],Ik:["h:mm:ss a zzzz","h:mm:ss a z","h:mm:ss a","h:mm a"],to:["\{1\} 'at' \{0\}","\{1\} 'at' \{0\}","\{1\}, \{0\}","\{1\}, \{0\}"],li:6,bp:[5,6],mi:5\},Zr=\{xo:["a.C.",\
|
|
"d.C."],wo:["a.C.","d.C."],Lo:"GFMAMGLASOND".split(""),Uo:"GFMAMGLASOND".split(""),Bk:"gennaio febbraio marzo aprile maggio giugno luglio agosto settembre ottobre novembre dicembre".split(" "),Ek:"Gennaio Febbraio Marzo Aprile Maggio Giugno Luglio Agosto Settembre Ottobre Novembre Dicembre".split(" "),Ck:"gen feb mar apr mag giu lug ago set ott nov dic".split(" "),Fk:"gen feb mar apr mag giu lug ago set ott nov dic".split(" "),Kk:"domenica luned\\u00ec marted\\u00ec mercoled\\u00ec gioved\\u00ec venerd\\u00ec sabato".split(" "),\
|
|
Hk:"Domenica Luned\\u00ec Marted\\u00ec Mercoled\\u00ec Gioved\\u00ec Venerd\\u00ec Sabato".split(" "),Dk:"dom lun mar mer gio ven sab".split(" "),Gk:"dom lun mar mer gio ven sab".split(" "),Dx:"DLMMGVS".split(""),Vo:"DLMMGVS".split(""),So:["T1","T2","T3","T4"],Qo:["1\\u00ba trimestre","2\\u00ba trimestre","3\\u00ba trimestre","4\\u00ba trimestre"],xk:["AM","PM"],ki:["EEEE d MMMM y","d MMMM y","dd MMM y","dd/MM/yy"],Ik:["HH:mm:ss zzzz","HH:mm:ss z","HH:mm:ss","HH:mm"],to:["\{1\} \{0\}","\{1\} \{0\}","\{1\}, \{0\}","\{1\}, \{0\}"],\
|
|
li:0,bp:[5,6],mi:3\};Rr.prototype.clone=function()\{return new Rr(this.C,this.B,this.b,this.g,this.o,this.A)\};\
|
|
Rr.prototype.times=function(a)\{return new Rr(this.C*a,this.B*a,this.b*a,this.g*a,this.o*a,this.A*a)\};\
|
|
h=Ur.prototype;h.Wp=Zr.li;h.Xp=Zr.mi;h.clone=function()\{var a=new Ur(this.date);a.Wp=this.Wp;a.Xp=this.Xp;return a\};\
|
|
h.getFullYear=function()\{return this.date.getFullYear()\};\
|
|
h.getMonth=function()\{return this.date.getMonth()\};\
|
|
h.getDate=function()\{return this.date.getDate()\};\
|
|
h.getTime=function()\{return this.date.getTime()\};\
|
|
h.getDay=function()\{return this.date.getDay()\};\
|
|
h.getUTCFullYear=function()\{return this.date.getUTCFullYear()\};\
|
|
h.getUTCMonth=function()\{return this.date.getUTCMonth()\};\
|
|
h.getUTCDate=function()\{return this.date.getUTCDate()\};\
|
|
h.getUTCHours=function()\{return this.date.getUTCHours()\};\
|
|
h.getUTCMinutes=function()\{return this.date.getUTCMinutes()\};\
|
|
h.getTimezoneOffset=function()\{return this.date.getTimezoneOffset()\};\
|
|
h.set=function(a)\{this.date=new Date(a.getFullYear(),a.getMonth(),a.getDate())\};\
|
|
h.toString=function()\{return[this.getFullYear(),Ma(this.getMonth()+1,2),Ma(this.getDate(),2)].join("")+""\};\
|
|
h.valueOf=function()\{return this.date.valueOf()\};var es=[/^\\'(?:[^\\']|\\'\\')*(\\'|$)/,/^(?:G+|y+|M+|k+|S+|E+|a+|h+|K+|H+|c+|L+|Q+|d+|m+|s+|v+|V+|w+|z+|Z+)/,/^[^\\'GyMkSEahKHcLQdmsvVwzZ]+/];\
|
|
bs.prototype.format=function(a,b)\{if(!a)throw Error("The date to format must be non-null.");var c=b?6E4*(a.getTimezoneOffset()-(b.o-Yr(b,a))):0,d=c?new Date(a.getTime()+c):a,e=d;b&&d.getTimezoneOffset()!=a.getTimezoneOffset()&&(d=new Date(d.getTime()+6E4*(d.getTimezoneOffset()-a.getTimezoneOffset())),e=new Date(a.getTime()+(c+(0<c?-864E5:864E5))));for(var c=[],f=0;f<this.g.length;++f)\{var k=this.g[f].text;1==this.g[f].type?c.push(hs(this,k,a,d,e,b)):c.push(k)\}return c.join("")\};\
|
|
var ds=!1;is.prototype.isLive=function()\{return"LIVE"==this.g\};\
|
|
is.prototype.isUpcoming=function()\{return"NOT_YET_LIVE"==this.g\};\
|
|
is.prototype.getVideoUrl=function()\{return this.C\};ls.prototype.b=function()\{return this.A\};z(ps,gq);h=ps.prototype;h.Bb=function()\{return ws(this.b.getVideoData(),"fresca_module")\};\
|
|
h.create=function(a)\{ps.L.create.call(this);var b=R(this.b);fA()?(this.G=this.o=!1,this.H&&(this.B=new Ir(this.b),mw(this.b,this.B.element,4)),this.A=a||null,this.A||(a=this.b.getVideoData(),this.A=new Iq(a.videoId,a.visitorData||Ti("VISITOR_DATA",""),b.Ge)),this.A.subscribe("payload",this.BE,this),this.A.subscribe("error",this.xs,this),this.b.addEventListener("presentingplayerstatechange",this.bv,this)):oI(this.b.app.g,"html5.unsupportedlive","YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK","nolive.1")\};\
|
|
h.destroy=function()\{this.b.removeEventListener("presentingplayerstatechange",this.bv,this);Ob(this.A,this.B);this.g=null;ps.L.destroy.call(this)\};\
|
|
h.bv=function(a)\{this.g&&(this.G=O(a.state,2),Gq(qs(this.b))&&this.A.A(),vs(this,this.g))\};\
|
|
h.xs=function()\{if(!this.o)\{var a=this.b.getVideoData();a.hlsvp||a.D?R(this.b).experiments.Z("disable_fresca_error_fallback")||(this.o=!0,kq(this)):(ys(this,new ls(this.b.getVideoData().isLiveDefaultBroadcast)),vs(this,this.g))\}\};\
|
|
h.BE=function(a)\{if(!a||a.error)this.xs();else\{var b=this.g?this.g.broadcastId:"",c=this.b.getVideoData();ys(this,new ls(c.isLiveDefaultBroadcast,a));this.C=this.C||c.isLiveDefaultBroadcast&&""!=b&&b!=this.g.broadcastId;if(6!=this.g.state||(c.hlsvp||c.D)&&!this.C)\{if(this.C&&ts(this,this.g)&&(a=this.g.broadcastId.substring(0,11),a!=c.videoId))\{I9(this.b.app,a,void 0,void 0,!0,!0);return\}vs(this,this.g)\}else this.C=!1,a=\{video_id:c.videoId\},c.isLiveDestination&&(a.is_live_destination="1"),this.b.jk(a)\}\};var As=xf&&zs();var Js=\{\},ft=/[^\\d]+$/,gt=\{cm:1,"in":1,mm:1,pc:1,pt:1\},ht=\{em:1,ex:1\};jt.prototype.O=function(a,b,c,d)\{c=x(c,d||this.g);a=mm(a,b,c);this.b.push(a);return a\};\
|
|
jt.prototype.sa=function(a)\{nm(a);pb(this.b,a)\};z(nt,F);h=nt.prototype;h.start=function()\{this.stop();this.o=!1;var a=ot(this),b=pt(this);a&&!b&&this.b.mozRequestAnimationFrame?(this.wa=Rc(this.b,"MozBeforePaint",this.g),this.b.mozRequestAnimationFrame(null),this.o=!0):this.wa=a&&b?a.call(this.b,this.g):this.b.setTimeout(md(this.g),20)\};\
|
|
h.stop=function()\{if(this.isActive())\{var a=ot(this),b=pt(this);a&&!b&&this.b.mozRequestAnimationFrame?dd(this.wa):a&&b?b.call(this.b,this.wa):this.b.clearTimeout(this.wa)\}this.wa=null\};\
|
|
h.isActive=function()\{return null!=this.wa\};\
|
|
h.zz=function()\{this.o&&this.wa&&dd(this.wa);this.wa=null;this.B.call(this.A,C())\};\
|
|
h.T=function()\{this.stop();nt.L.T.call(this)\};var qt=\{\},rt=null;z(xt,I);h=xt.prototype;h.play=v;h.stop=v;h.pause=v;h.Wa=function()\{return 1==this.b\};\
|
|
h.xj=function()\{this.Sc("begin")\};\
|
|
h.Ah=function()\{this.Sc("end")\};\
|
|
h.Bc=function()\{this.Sc("finish")\};\
|
|
h.Sc=function(a)\{this.dispatchEvent(a)\};z(zt,xt);h=zt.prototype;h.play=function(a)\{if(a||0==this.b)this.progress=0,this.g=this.o;else if(this.Wa())return!1;tt(this);this.startTime=a=C();-1==this.b&&(this.startTime-=this.duration*this.progress);this.endTime=this.startTime+this.duration;this.B=this.startTime;this.progress||this.xj();this.Sc("play");-1==this.b&&this.Sc("resume");this.b=1;var b=na(this);b in qt||(qt[b]=this);vt();wt(this,a);return!0\};\
|
|
h.stop=function(a)\{tt(this);this.b=0;a&&(this.progress=1);At(this,this.progress);this.Sc("stop");this.Ah()\};\
|
|
h.pause=function()\{this.Wa()&&(tt(this),this.b=-1,this.Sc("pause"))\};\
|
|
h.T=function()\{0==this.b||this.stop(!1);this.Sc("destroy");zt.L.T.call(this)\};\
|
|
h.destroy=function()\{this.dispose()\};\
|
|
h.Nm=function()\{this.Sc("animate")\};\
|
|
h.Sc=function(a)\{this.dispatchEvent(new Bt(a,this))\};\
|
|
z(Bt,mc);Et.prototype.g=we;z(Lt,F);h=Lt.prototype;h.wb=function(a)\{this.we();var b=this.b;if(1<a.length&&a.length>b.b.length)b.b=b.b.concat(a),b.b.sort(b.g);else for(var c=0;c<a.length;c++)\{var d=a[c];!b.b.length||0<b.g(d,b.b[b.b.length-1])?b.b.push(d):Hb(b.b,d,b.g)\}this.o=window.NaN;this.we()\};\
|
|
h.Th=function(a)\{for(var b=arguments.length-1;0<=b;b--)\{var c=arguments[b];if(c)\{var d=this.g.indexOf(c);0<=d&&this.g.splice(d,1);var e=this.b,d=e.b,c=zb(d,c,e.g);0<=c&&ob(d,c)\}\}this.we()\};\
|
|
h.reset=function()\{this.af=this.C=!1;this.A.stop();this.b.b=[];this.g=[];this.we();this.B=null\};\
|
|
h.we=function()\{this.D=!0;if(!this.F)\{for(var a=3;this.D&&a;)\{this.D=!1;this.F=!0;if(this.af&&!this.C)\{this.A.stop();var b=this.G();O(b,32)&&this.J.start();for(var c=O(this.G(),2)?0x8000000000000:1E3*this.M(),d=O(b,2),e=[],f=[],k=0;k<this.g.length;k++)\{var l=this.g[k];l.active&&(d?0x8000000000000>l.end:!l.contains(c))&&f.push(l)\}e=e.concat(Ot(this,f));if(d)b=Ht(this.b,0x7ffffffffffff),b=b.concat(Jt(this.b));else if(this.o<=c&&b.Wa()&&!O(b,16)&&!O(b,32))\{b=this.b;d=c;f=[];for(k=It(b,this.o);k<b.b.length&&\
|
|
!(l=b.b[k],(l.end<=d||l.contains(d))&&f.push(l),l.start>d);++k);b=f\}else b=Ht(this.b,c);e=e.concat(Nt(this,b));this.o=c;!this.C&&this.B&&(this.B=null);c=e;for(e=0;e<c.length;e++)b=c[e],d=b[1],1==b[0]?(d.b&&d.b.Rb("onEnter",d),this.H("crn_"+d.namespace,d)):(d.b&&d.b.Rb("onExit",d),this.H("crx_"+d.namespace,d))\}this.F=!1;a--\}this.G().Wa()&&(a=Kt(this.b,this.o),null!=a&&0x7ffffffffffff>a&&(a=(a-this.o)/this.K(),this.A.start(a)))\}\};\
|
|
h.T=function()\{this.B=this.b=this.g=null;Lt.L.T.call(this)\};var bu=\{LL:"current",kO:"new"\};nu.prototype.update=function()\{var a=this.o.g()||0,b=Du(this.o);if(a!=this.b||ru(this,a,b))\{if(a<this.b||a-this.b>b-this.B+2||ru(this,a,b))ou(this),this.g=a;this.B=b;this.b=a\}\};tu.prototype.B=v;tu.prototype.g=function()\{return\{ps:this.b.g,el:this.b.b\}\};\
|
|
tu.prototype.send=function()\{if(!this.o)\{var a;a=this.g();a=Vg(this.B(),a);this.b.na&&this.videoData.visitorData&&Wj(a)?dk(a,\{headers:\{"X-Goog-Visitor-Id":this.videoData.visitorData\}\}):Wp(a);this.o=!0\}\};\
|
|
tu.prototype.A=v;z(uu,tu);uu.prototype.B=function()\{return this.b.baseYtUrl+"set_awesome"\};\
|
|
uu.prototype.g=function()\{var a=uu.L.g.call(this);ra(a,this.b.o);ra(a,\{html5:"1",video_id:this.videoData.videoId,eurl:this.b.ga,framer:this.b.Fe,list:this.videoData.Oe||this.videoData.playlistId,w:bf(this.videoData.Ed/this.videoData.lengthSeconds,0,1),l:this.videoData.lengthSeconds,plid:this.videoData.playbackId,ei:this.videoData.eventId,access_token:this.videoData.oauthToken,tpmt:pu(this.C),cpn:this.videoData.clientPlaybackNonce,feature:this.videoData.Mo\});this.videoData.adFormat&&(a.adformat=this.videoData.adFormat);\
|
|
var b;(b=(b=this.videoData.referrer)?b.slice(0,128):"")&&(a.referrer=b);if(this.b.experiments.Z("legacy_autoplay_flag")?this.b.ba:this.videoData.J)a.autoplay="1";this.b.Ob&&(a.authuser=this.b.Ob);this.b.pageId&&(a.pageid=this.b.pageId);this.videoData.Ca&&(a.splay="1");this.videoData.subscribed&&(a.subscribed=this.videoData.subscribed);ra(a,uu.L.g.call(this));ra(a,this.b.o);return a\};\
|
|
uu.prototype.A=function()\{if(this.o||!this.b.bc||this.b.dc||!this.videoData.lengthSeconds)return!1;var a=Math.min(.8*this.videoData.lengthSeconds,180);return pu(this.C)>=a\};var Maa=\{OK:"auto",VP:"tiny",mN:"light",BP:"small",yx:"medium",jN:"large",HM:"hd720",DM:"hd1080",EM:"hd1440",FM:"hd2160",GM:"hd2880",MM:"highres",UNKNOWN:"unknown"\},Wy=\{auto:0,tiny:144,light:144,small:240,medium:360,large:480,hd720:720,hd1080:1080,hd1440:1440,hd2160:2160,hd2880:2880,highres:4320\},bA="highres hd2880 hd2160 hd1440 hd1080 hd720 large medium small tiny".split(" ");z(Cu,F);var ev=\{5:"N","-1":"N",3:"B",0:"EN",2:"PA",1:"PL"\};h=Cu.prototype;\
|
|
h.Kg=function(a)\{if(!(this.isDisposed()||cc(this.g)||this.J))\{a=0<=a?a:Du(this.b);Eu(this,a);this.b.b.experiments.Z("html5_qoe_count_failed")&&Au()&&Ku(this,"failedping",Au().toString());var b=this.b.D(),c=b.droppedVideoFrames,d=c-this.R;if(c>b.totalVideoFrames||5E3<d)this.onError("html5.badframedropcount","df."+c+";tf."+b.totalVideoFrames);else 0<d&&Bu(this,a,"df",[d]);this.R=c;a=Gu(this);kc(a,this.b.b.o);a=Vg(this.b.b.Gd,a);for(var e in this.g)a+="&"+e+"="+this.g[e].join(",");Hu(this,a);this.g=\
|
|
\{\};this.C.start()\}\};\
|
|
h.Qs=function()\{this.b.b.experiments.Z("html5_qoe_count_failed")&&zu(Au()+1)\};\
|
|
h.Rs=function()\{this.b.b.experiments.Z("html5_qoe_count_failed")&&Au()&&zu(0)\};\
|
|
h.Ht=function()\{this.b.videoData.F&&Ju(this,"drm-"+this.b.videoData.F.b)\};\
|
|
h.onError=function(a,b)\{var c=Du(this.b);Mu(this,c,a,b);Eu(this,c);Iu(this)\};\
|
|
h.qD=function()\{var a=Du(this.b);"PL"==this.o&&(Bu(this,a,"vps",[this.o]),this.Kg(a))\};\
|
|
h.T=function()\{Cu.L.T.call(this);Yi(this.M)\};Pu.prototype.send=function(a)\{if(!this.X)\{var b=Tu(this),b=Vg(this.La,b);if(this.F)this.M&&(a=\{method:"POST",Ib:\{atr:this.M\}\},(this.J||this.ga)&&this.visitorData&&(a.headers=\{"X-Goog-Visitor-Id":this.visitorData\}),dk(b,a));else\{var c=Qu(this,a);c?dk(b,c):Wp(b,a)\}this.X=!0\}\};\
|
|
Pu.prototype.b=function(a)\{return(1*a.toFixed(3)).toString()\};z(Uu,F);Uu.prototype.X=function(a,b)\{if(!this.isDisposed())\{this.D=window.NaN;this.o.update();var c=qu(this.o),d=Zu(this,c);b&&(d.C=a);var e=400<this.J;!(1<c.length)&&c[0].isEmpty()||e||(d.g=Vu(this,!0,a));d.send();this.J++\}\};\
|
|
Uu.prototype.onError=function(a,b)\{this.g.onError(a,b)\};\
|
|
Uu.prototype.F=function(a)\{var b=this.b.b,c=this.b.videoData,d=\{ns:b.ia,el:b.b,eurl:b.ga,fmt:c.g?Fu(c.g):0,html5:1,list:c.playlistId,plid:c.playbackId,cpn:c.clientPlaybackNonce,ei:c.eventId,ps:b.g,noflv:1,st:this.b.g(),video_id:c.videoId,metric:a\};if(b.experiments.Z("legacy_autoplay_flag")?b.ba:c.J)d.autoplay="1";"heartbeat"==a&&(d.tpmt=pu(this.o));ra(d,b.o);av(this,Vg("//www.youtube.com/live_204",d))\};\
|
|
Uu.prototype.T=function()\{Uu.L.T.call(this);Xi(this.D);this.D=window.NaN;var a=this.o;Yi(a.C);a.C=window.NaN\};h=vv.prototype;h.Nj=function()\{this.context.A.subscribe("resize",this.Ei,this)\};\
|
|
h.ma=function()\{return this.ca\};\
|
|
h.Ng=function(a,b,c,d,e,f)\{this.context.b.O(a,"click",qa(this.qj,b,c,d,e||[],f||0),this);this.context.b.O(a,"touchstart",qa(function()\{this.Cn=!1\}),this);\
|
|
this.context.b.O(a,"touchmove",qa(function()\{this.Cn=!0\}),this)\};\
|
|
h.qj=function(a,b,c,d,e,f)\{if(this.Cn)return!1;f&&(f.stopPropagation(),f.preventDefault());(b=ju(a,b,this.context.videoData.videoId))&&yv(this,b,ku(b,a.target),c,d,e,a.Cj);return!1\};\
|
|
h.show=function()\{this.H=C()\};\
|
|
h.nk=function()\{\};\
|
|
h.destroy=function()\{Jf(this.ma())\};\
|
|
h.Ei=function()\{\};var lsa=function(a)\{var b=!1,c;return function()\{b||(c=a(),b=!0);return c\}\}(function()\{if(xf)return zc("10.0");\
|
|
var a=Ef("DIV"),b=Cc?"-webkit":Fs?"-moz":xf?"-ms":Dc?"-o":null,c=\{transition:"opacity 1s linear"\};b&&(c[b+"-transition"]="opacity 1s linear");b=\{style:c\};if(!Te.test("div"))throw Error("Invalid tag name <div>.");if("DIV"in bsa)throw Error("Tag name <div> is not allowed for SafeHtml.");b=Ze("div",b,void 0);a.innerHTML=Qe(b);return""!=Ks(a.firstChild,"transition")\});z(Av,F);Av.prototype.show=function(a)\{1!=this.b&&2!=this.b&&(3==this.b&&this.A(),4==this.b?(this.g.show(),this.b=null,this.o.stop()):this.g.g||(Bv(this,!0),this.b=1,a?this.o.start(a):this.A()))\};\
|
|
Av.prototype.A=function()\{switch(this.b)\{case 1:this.g.show();this.b=2;this.o.start(10);break;case 2:Bv(this,!1);this.b=null;break;case 3:this.g.oa();Bv(this,!1);this.b=4;this.o.start(0);break;case 4:this.b=null\}\};\
|
|
Av.prototype.stop=function()\{for(;null!=this.b&&4!=this.b;)this.o.stop(),this.A()\};\
|
|
Av.prototype.T=function()\{this.g.isDisposed()||this.g.element.removeAttribute("aria-hidden");Av.L.T.call(this)\};z(Dv,P);h=Dv.prototype;h.du=function()\{Lr(this.$)&&qJ(this.$)&&this.g&&3!=this.F.b&&this.gi()\};\
|
|
h.nJ=function(a)\{this.o&&Rf(this.o.element,rm(a))||(this.A&&this.A.jl?this.bs(this.A):(this.gi(),jj("iv-teaser-clicked",!!this.b),this.$.ai(!0,!1,"YOUTUBE_DRAWER_MANUAL_OPEN")))\};\
|
|
h.lJ=function()\{jj("iv-teaser-mouseover");this.b.stop()\};\
|
|
h.mJ=function()\{me(this.element,"ytp-cards-auto-open-hover-card")\};\
|
|
h.aF=function(a)\{this.b||!a||qJ(this.$)||this.C&&this.C.isActive()||(this.A=a.dj,Hv(this,a),jj("iv-teaser-shown"))\};\
|
|
h.bs=function(a)\{a.Cj&&this.$.pauseVideo();vr(a.Ws,void 0);wr(a.Ws,a.target);jj("iv-hover-card-clicked")\};\
|
|
h.FA=function()\{J(this.element,"ytp-hover-card-active")\};\
|
|
h.GA=function()\{me(this.element,"ytp-hover-card-active")\};\
|
|
h.Xv=function()\{this.G.stop();this.b&&this.b.isActive()&&this.H.start()\};\
|
|
h.Ze=function()\{this.H.stop();this.b&&!this.b.isActive()&&this.G.start()\};\
|
|
h.QD=function()\{this.b&&this.b.stop()\};\
|
|
h.OD=function()\{this.gi()\};\
|
|
h.gi=function()\{!this.b||this.D&&this.D.isActive()||(this.o&&(this.o.detach(),this.o=null),this.A=null,Cv(this.F),me(this.$.Da(),"ytp-cards-teaser-shown"),me(this.$.Da(),"ytp-cards-button-teaser-merge"),me(this.element,"ytp-cards-combined-teaser"),this.D=new fe(function()\{for(var a=0;a<this.B.length;a++)this.sa(this.B[a]);this.B=[];this.b&&(this.b.dispose(),this.b=null);Gv(this.J,!0)\},330,this),this.D.start())\};\
|
|
h.T=function()\{var a=this.$.Da();a&&me(a,"ytp-cards-teaser-shown");Ob(this.C,this.D,this.b,this.o,this.A);Dv.L.T.call(this)\};z(Jv,Iv);z(Kv,Iv);z(Lv,Kv);var Mv=!xf;h=Ov.prototype;h.TD=function(a,b)\{var c=(0,window.parseInt)(Nv(b.target,"navigationChapterIndex"),10);this.b.g.seekTo(a.chapters[c].time_ms/1E3,!0);var d=\{\};d["link-id"]=c;nv(this.b.logger,a.Xa,void 0,d,a.b.click,5)\};\
|
|
h.rs=function(a,b)\{var c=Zf(b.target,"label");c&&oe(c,"iv-card-poll-choice-focused",a)\};\
|
|
h.qE=function(a,b)\{var c=$f(b.target,"iv-card-poll");if(c)if(a.o)sf("iv-card-sign-in-button",c).click();else\{var d=(0,window.parseInt)(Nv(b.target,"pollChoiceIndex"),10);if(null==a.g)a.choices[d].count++,a.g=d;else if(a.g!=d)\{var e=a.choices[a.g];e.count=Math.max(e.count-1,0);a.choices[d].count++;a.g=d\}else e=a.choices[a.g],e.count=Math.max(e.count-1,0),a.g=null;Rv(a,c);ek(this.b.videoData.$f,\{Dc:\{action_poll_vote:1\},Ib:\{poll_id:a.id,index:d,session_token:a.C\}\});c=\{\};c["link-id"]=d;nv(this.b.logger,\
|
|
a.Xa,void 0,c,a.b.click,5)\}\};\
|
|
h.ZC=function(a)\{var b=q("yt.www.ypc.bootstrap.api.loadOffersForInnertubeRequestParams");b&&(b=qa(b,a.F,a.A));aw(this,a,!0,b)\};\
|
|
h.dF=function(a)\{var b=q("yt.www.ypc.bootstrap.api.loadOffers");b&&(b=qa(b,a.F,a.A,a.G));aw(this,a,!1,b)\};z(cw,Iv);z(dw,Iv);z(ew,Iv);z(gw,Kv);z(hw,Kv);z(iw,Iv);z(jw,Iv);z(kw,vv);h=kw.prototype;h.isAvailable=function()\{var a;if(a=!!this.o.length)(a=this.$.Da())?(a=at(a),a=177<a.width&&177<a.height):a=!1;return a\};\
|
|
h.vy=function()\{this.X&&xw(this,"YOUTUBE_DRAWER_AUTO_OPEN")\};\
|
|
h.Zy=function()\{(this.X=this.A)&&this.Ki()\};\
|
|
h.zI=function()\{xw(this,"YOUTUBE_DRAWER_AUTO_OPEN")\};\
|
|
h.Ki=function()\{this.A&&(Cv(this.N),me(this.context.g.Da(),"ytp-iv-drawer-open"),this.A=!1,rv(this.context.logger,10),ww(this.$),this.B&&this.B.stop(),this.B=new fe(function()\{this.J&&(this.J.focus(),this.J=null)\},330,this),this.B.start())\};\
|
|
h.Ei=function()\{var a=this.isAvailable();S(this.ma(),a);oe(this.context.g.Da(),"ytp-iv-drawer-enabled",a);a&&(this.R||(rv(this.context.logger,11),this.R=!0),D(this.o,function(a)\{a.ur||(a.ur=!0,tv(this.context.logger,11,a.ab.Xa))\},this));\
|
|
ww(this.$)\};\
|
|
h.destroy=function()\{var a=lJ(lq(this.$),"iv-module");a&&Ry(a,!1,void 0);this.$.Da().removeChild(this.C);hj(this.D);nm(this.da);this.G&&this.G.dispose();this.B&&this.B.dispose();kw.L.destroy.call(this)\};\
|
|
var lw=\{collaborator:Jv,donation:Lv,episode:jw,navigation:cw,movie:jw,playlist:dw,poll:ew,productListing:gw,simple:Kv,tip:hw,video:iw\};h=kw.prototype;\
|
|
h.AI=function(a)\{this.Zk.start();a.preventDefault();a=a||window.event;var b=0;"MozMousePixelScroll"==a.type?b=0==(a.axis==a.HORIZONTAL_AXIS)?a.detail:0:window.opera?b=a.detail:b=0==a.wheelDelta%120?"WebkitTransform"in window.document.documentElement.style?window.chrome&&0==window.navigator.platform.indexOf("Mac")?a.wheelDeltaY/-30:a.wheelDeltaY/-1.2:a.wheelDelta/-1.6:a.wheelDeltaY/-3;if(a=b)this.kd.scrollTop+=a\};\
|
|
h.hn=function(a,b)\{if(!je(this.$.Da(),"ytp-cards-teaser-shown"))\{this.b!=a&&(this.b=a,rw(this));if(dt(this.ma()))\{var c;(c=b)||(2==this.context.g.getPresentingPlayerType()?c=1==((0,window.isNaN)(void 0)?this.context.g.getAdState():void 0):(c=(0,window.isNaN)(void 0)?this.context.g.getPlayerState():void 0,c=1==c||0==c&&0===this.context.g.getCurrentTime()));if(c&&a.ab.teaserDurationMs)\{c=null;if("video"==a.ab.type&&yw(this,"hover_card_for_video_card_teaser"))\{var d=a.ab,e=d.url?ju(d.url,a.ab.id,this.context.videoData.videoId,\
|
|
this.context.o):null,f=e?ku(e,d.url.target):null;e&&f&&(c=\{$Q:d.id,title:d.title,Ws:e,target:"current"==f?"_top":void 0,Cj:d.url.Cj,imageUrl:d.o,videoDuration:d.videoDuration,pe:d.pe,jl:yw(this,"combined_teaser_link")\})\}c=\{teaserText:a.ab.teaserText,durationMs:b?2E3:a.ab.teaserDurationMs,dj:c,NB:yw(this,"merge_button_with_teaser"),Fy:b&&yw(this,"hover_card_on_button_hover")\};(d=lJ(lq(this.$),"iv-module"))&&Ry(d,!0,c)\}\}this.ba.isActive()||((!this.A||!this.Zk.isActive()&&this.nj)&&Aw(this,a),this.ba.start(910+\
|
|
a.ab.teaserDurationMs))\}\};\
|
|
h.AG=function()\{this.b&&this.hn(this.b,!0)\};\
|
|
h.sG=function(a)\{this.A||(this.b=a,rw(this),Aw(this,a),xw(this,"YOUTUBE_DRAWER_AUTO_OPEN",!1,a))\};\
|
|
h.Qy=function()\{this.A&&(rv(this.context.logger,4,Bw(this).b.close),this.Ki())\};\
|
|
h.dz=function()\{oe(this.C,"iv-drawer-scrolled",0<this.kd.scrollTop)\};\
|
|
h.MB=function()\{var a=Bw(this);tv(this.context.logger,8,a.Xa,a.b.EG)\};\
|
|
h.LB=function()\{var a=this.b;tv(this.context.logger,13,a.ab.Xa,void 0);var b=yw(this,"hover_card_for_video_card_teaser");"video"==a.ab.type&&b&&(a=this.b,a.tj||(a.tj=!0,mv(this.context.logger,a.ab.Xa,a.ab.b.dr)))\};\
|
|
h.JB=function()\{var a=this.b.ab;nv(this.context.logger,a.Xa,void 0,void 0,a.b.click,5)\};\
|
|
h.KB=function(a)\{var b=Bw(this);this.b?a?(a=this.context.logger,tv(a,9,b.Xa,b.b.on)):(a=this.context.logger,tv(a,12,b.Xa,b.b.on)):(a=this.context.logger,rv(a,12,b.b.on));a.$.Sf(4,void 0)\};var Dw=/#(.)(.)(.)/,Cw=/^#(?:[0-9a-f]\{3\})\{1,2\}$/i;z(Fw,zt);Fw.prototype.A=r;Fw.prototype.Nm=function()\{this.A();Fw.L.Nm.call(this)\};\
|
|
Fw.prototype.Ah=function()\{this.A();Fw.L.Ah.call(this)\};\
|
|
Fw.prototype.xj=function()\{this.A();Fw.L.xj.call(this)\};\
|
|
z(Gw,Fw);Gw.prototype.A=function()\{this.element.style.left=Math.round(this.g[0])+"px";this.element.style.top=Math.round(this.g[1])+"px"\};z(Hw,vv);Hw.prototype.Nj=function()\{Hw.L.Nj.call(this);var a=this.annotation.data;"start_ms"in a&&"end_ms"in a&&wv(this,this.annotation.data.start_ms,this.annotation.data.end_ms,this.annotation.id,this.show,this.nk)\};z(Iw,Hw);Iw.prototype.G=function(a,b,c,d)\{this.g.stop();if(!this.o)\{var e=at(a);Ys(a,e.width);Ys(b,e.width);Os(c,e.width,e.height-Math.max(Math.min(e.height,d)/2+Math.round(10),20));this.o=!0;S(a,!0);this.B=new fe(function()\{J(this.ma(),"iv-branding-active")\},0,this);\
|
|
this.B.start()\}\};\
|
|
Iw.prototype.F=function(a,b)\{me(this.ma(),"iv-branding-active");this.C=new fe(function()\{S(a,!1);Ys(b,0)\},250);\
|
|
this.C.start();this.o=!1\};\
|
|
Iw.prototype.show=function()\{if(!this.isActive)\{Iw.L.show.call(this);if(!this.D)\{J(this.ma(),"iv-branding");var a=this.annotation.data;this.A=a.image_width;this.b=K("IMG",\{src:a.image_url,"class":"branding-img iv-click-target",width:a.image_width,height:a.image_height\});S(this.b,!1);var b=K("DIV","branding-img-container",this.b);this.ma().appendChild(b);var c=K("DIV","iv-branding-context-name");Tf(c,a.channel_name);var d=K("DIV","iv-branding-context-subscribe");this.annotation.o?xh(d,this.annotation.o):\
|
|
a.num_subscribers&&Tf(d,a.num_subscribers);b=K("DIV","iv-branding-context-subscribe-caret");c=K("DIV","branding-context-container-inner",b,c,d);S(c,!1);d=K("DIV","branding-context-container-outer",c);Is(d,"right",this.A+"px");this.ma().appendChild(d);this.Ng(this.b,gx(this.annotation),this.annotation.id,this.annotation.Xa);this.g=new fe(qa(this.F,c,d),500,this);this.context.b.O(this.ma(),"mouseover",x(this.G,this,c,d,b,a.image_height));this.context.b.O(this.ma(),"mouseout",x(this.g.start,this.g));\
|
|
this.D=!0\}mv(this.context.logger,this.annotation.Xa);S(this.ma(),!0);this.isActive=!0;var a=this.b,e,b=bt(a).width,c=ha(void 0)?void 0:b;e=e||0;Os(a,c);e=new Gw(a,[c,a.offsetTop],[c-b-e,a.offsetTop],200,Ct);this.context.b.O(e,"begin",qa(S,a,!0));e.play()\}\};\
|
|
Iw.prototype.nk=function()\{this.isActive&&(S(this.ma(),!1),this.isActive=!1)\};var Lw=\{CLOSE:"close",rO:"openUrl",Xx:"subscribe"\},Mw=\{yk:"click",CLOSE:"close",HIDDEN:"hidden",hP:"rollOut",Px:"rollOver",Sx:"shown"\};var Vw=\{RQ:"xx",SQ:"xy",VQ:"yx",WQ:"yy"\};z($w,Uw);var aaa=\{vw:"anchored",XO:"rect",rP:"shapeless"\};var eaa=\{CLOSED:"closed",AO:"playerControlShow",Px:"rollOver",Sx:"shown"\};var fx=\{vw:"anchored",yw:"branding",CHANNEL:"channel",KL:"cta",LM:"highlightText",iN:"label",PLAYLIST:"playlist",LO:"popup",CP:"speech",Xx:"subscribe",WP:"title",VIDEO:"video",IQ:"vote",LQ:"website"\},iaa=\{yw:"branding",jL:"card",hM:"drawer",KM:"highlight",CN:"marker",QO:"promotion",TEXT:"text",OQ:"widget"\},jaa=\{CQ:"video_relative",BO:"player_relative"\};ex.prototype.showLinkIcon=function()\{return hx(this,function(a)\{return null!=a.url&&a.url.showLinkIcon\})\};z(nx,Hw);h=nx.prototype;h.show=function()\{this.isActive||(nx.L.show.call(this),this.F||(oaa(this),this.F=!0),S(this.ma(),!0),this.annotation&&this.annotation.Xa&&mv(this.context.logger,this.annotation.Xa),me(this.ma(),"iv-promo-inactive"),this.ma().removeAttribute("aria-hidden"),this.isActive=!0,this.b&&(ee(this.b),this.b=null),px(this),qx(this,this.C))\};\
|
|
h.nk=function()\{this.isActive&&(J(this.ma(),"iv-promo-inactive"),this.isActive=!1,this.ma().setAttribute("aria-hidden",!0))\};\
|
|
h.qj=function(a,b,c,d,e,f)\{return this.A?!1:nx.L.qj.call(this,a,b,c,d,e,f)\};\
|
|
h.Vl=function(a,b)\{b.stopPropagation();px(this);qx(this,a);this.Cc.focus()\};\
|
|
h.Pz=function(a)\{this.D=!0;this.Vl(500,a)\};\
|
|
h.Oz=function()\{this.D=!1;ox(this)\};\
|
|
h.BI=function(a)\{a.stopPropagation();this.nk();ov(this.context.logger,this.annotation.Xa)\};\
|
|
h.destroy=function()\{this.B.dispose();nx.L.destroy.call(this)\};var FA=\{vN:1,wN:2,xN:3\};z(rx,F);rx.prototype.S=function(a,b,c,d)\{c=Ui(x(c,d||this.na));a.addEventListener(b,c);a=\{target:a,name:b,Gi:c\};this.K.push(a);return a\};\
|
|
rx.prototype.sa=function(a)\{for(var b=0;b<this.K.length;b++)if(this.K[b]==a)\{this.K.splice(b,1);a.target.removeEventListener(a.name,a.Gi);break\}\};\
|
|
rx.prototype.T=function()\{tx(this);rx.L.T.call(this)\};var xx=0;Bx.prototype.A=function(a,b,c,d)\{this.b[a]=b?!c:c;a=Tb(this.b,function(a)\{return a\});\
|
|
this.g!=a&&(this.g=a,this.o.Rb(this.B,a,d))\};Cx.prototype.show=function()\{this.isVisible=!0;this.b&&(this.b.show(),this.o.subscribe("resize",this.C,this),this.o.subscribe("onVideoAreaChange",this.A,this))\};\
|
|
Cx.prototype.destroy=function()\{if(this.b)\{Dx(this);var a=this.b;mt(a.D);a.Lm.dispose();a.G.dispose();a.g&&Jf(a.g);a.o&&a.o.ma()&&Jf(a.o.ma())\}Ex(this)\};\
|
|
Cx.prototype.A=function()\{Ay(this.b)\};\
|
|
Cx.prototype.C=function()\{Ay(this.b)\};Fx.prototype.clone=function()\{return new Fx(this.start,this.end)\};Gx.prototype.b=v;Gx.prototype.g=v;z(Hx,Gx);Hx.prototype.b=function()\{return this.G\};\
|
|
Hx.prototype.g=function()\{return this.H\};Ix.prototype.Jd=null;Ix.prototype.wc=null;Ix.prototype.Kh=!0;var qaa=[2,2,6,6,0];h=Ix.prototype;h.clear=function()\{this.ra.length=0;this.ya.length=0;this.Pc.length=0;delete this.Jd;delete this.wc;delete this.Kh;return this\};\
|
|
h.Hb=function(a)\{var b=$a(this.ra);if(null==b)throw Error("Path cannot start with lineTo");1!=b&&(this.ra.push(1),this.ya.push(0));for(b=0;b<arguments.length;b+=2)\{var c=arguments[b],d=arguments[b+1];this.Pc.push(c,d)\}this.ya[this.ya.length-1]+=b/2;this.wc=[c,d]\};\
|
|
h.close=function()\{var a=$a(this.ra);if(null==a)throw Error("Path cannot start with close");4!=a&&(this.ra.push(4),this.ya.push(1),this.wc=this.Jd);return this\};\
|
|
h.clone=function()\{var a=new this.constructor;a.ra=this.ra.concat();a.ya=this.ya.concat();a.Pc=this.Pc.concat();a.Jd=this.Jd&&this.Jd.concat();a.wc=this.wc&&this.wc.concat();a.Kh=this.Kh;return a\};\
|
|
h.transform=function(a)\{if(!this.Kh)throw Error("Non-simple path");a.transform(this.Pc,0,this.Pc,0,this.Pc.length/2);this.Jd&&a.transform(this.Jd,0,this.Jd,0,1);this.wc&&this.Jd!=this.wc&&a.transform(this.wc,0,this.wc,0,1);return this\};\
|
|
h.isEmpty=function()\{return 0==this.ra.length\};z(Mx,Gx);Nx.prototype.bb=function()\{return this.o\};ca(Ox);Ox.prototype.b=0;z(Px,I);h=Px.prototype;h.HA=Ox.getInstance();h.getId=function()\{return this.wa||(this.wa=":"+(this.HA.b++).toString(36))\};\
|
|
h.ma=function()\{return this.b\};\
|
|
h.Of=function(a)\{if(this.A&&this.A!=a)throw Error("Method not supported");Px.L.Of.call(this,a)\};\
|
|
h.bj=function()\{this.b=this.F.createElement("DIV")\};\
|
|
h.hg=function()\{this.ud=!0;Rx(this,function(a)\{!a.ud&&a.ma()&&a.hg()\})\};\
|
|
h.mh=function()\{Rx(this,function(a)\{a.ud&&a.mh()\});\
|
|
this.B&&Mm(this.B);this.ud=!1\};\
|
|
h.T=function()\{this.ud&&this.mh();this.B&&(this.B.dispose(),delete this.B);Rx(this,function(a)\{a.dispose()\});\
|
|
this.b&&Jf(this.b);this.A=this.b=this.C=this.H=null;Px.L.T.call(this)\};\
|
|
h.hc=function()\{return this.b\};\
|
|
h.removeChild=function(a,b)\{if(a)\{var c=w(a)?a:a.getId();a=this.C&&c?fc(this.C,c)||null:null;if(c&&a)\{ec(this.C,c);pb(this.H,a);b&&(a.mh(),a.b&&Jf(a.b));c=a;if(null==c)throw Error("Unable to set parent component");c.A=null;Px.L.Of.call(c,null)\}\}if(!a)throw Error("Child is not in parent component");return a\};z(Sx,Px);h=Sx.prototype;h.ih=null;h.setSize=v;h.pg=function()\{return this.ud?at(this.ma()):ha(this.width)&&ha(this.height)?new jf(this.width,this.height):null\};\
|
|
h.clear=v;h.It=v;h.Jt=v;h.Mi=v;h.resume=function()\{\};z(Tx,I);h=Tx.prototype;h.Pl=null;h.ph=null;h.ma=function()\{return this.ph\};\
|
|
h.addEventListener=function(a,b,c,d)\{Rc(this.ph,a,b,c,d)\};\
|
|
h.removeEventListener=function(a,b,c,d)\{cd(this.ph,a,b,c,d)\};\
|
|
h.T=function()\{Tx.L.T.call(this);var a=this.ph;if(a)if(Hc(a))a.ld&&Pc(a.ld);else if(a=Vc(a))\{var b=0,c;for(c in a.b)for(var d=a.b[c].concat(),e=0;e<d.length;++e)dd(d[e])&&++b\}\};z(Ux,Tx);Ux.prototype.fill=null;z(Vx,Tx);Vx.prototype.clear=v;Vx.prototype.setSize=v;z(Wx,Ux);z(Xx,Vx);Xx.prototype.clear=function()\{Hf(this.ma())\};\
|
|
Xx.prototype.setSize=function(a,b)\{$x(this.ma(),\{width:a,height:b\})\};\
|
|
z(Yx,Wx);var cy;z(Zx,Sx);var uaa=0;h=Zx.prototype;\
|
|
h.It=function(a,b)\{var c=a.ma();if(b instanceof Mx)c.setAttribute("fill",b.o),c.setAttribute("fill-opacity",b.A);else if(b instanceof Hx)\{var d="lg-"+b.B+"-"+b.D+"-"+b.C+"-"+b.F+"-"+b.b()+"-"+b.g(),e=d in this.g?this.g[d]:null;if(!e)\{var e=ay(this,"linearGradient",\{x1:b.B,y1:b.D,x2:b.C,y2:b.F,gradientUnits:"userSpaceOnUse"\}),f="stop-color:"+b.b();ha(b.o)&&(f+=";stop-opacity:"+b.o);f=ay(this,"stop",\{offset:"0%",style:f\});e.appendChild(f);f="stop-color:"+b.g();ha(b.A)&&(f+=";stop-opacity:"+b.A);f=ay(this,\
|
|
"stop",\{offset:"100%",style:f\});e.appendChild(f);e=by(this,d,e)\}c.setAttribute("fill","url(#"+e+")")\}else c.setAttribute("fill","none")\};\
|
|
h.Jt=function(a,b)\{var c=a.ma();if(b)\{c.setAttribute("stroke",b.b);c.setAttribute("stroke-opacity",b.g);var d=b.bb();w(d)&&-1!=d.indexOf("px")?c.setAttribute("stroke-width",(0,window.parseFloat)(d)/saa(this)):c.setAttribute("stroke-width",d)\}else c.setAttribute("stroke","none")\};\
|
|
h.bj=function()\{var a=ay(this,"svg",\{width:this.width,height:this.height,overflow:"hidden"\}),b=ay(this,"g");this.D=ay(this,"defs");this.ih=new Xx(b,this);a.appendChild(this.D);a.appendChild(b);this.b=a;this.o&&(this.ma().setAttribute("preserveAspectRatio","none"),this.K?this.Uj():this.ma().setAttribute("viewBox","0 0 "+(this.o?this.o+" "+this.J:"")))\};\
|
|
h.Uj=function()\{if(this.ud)\{var a=this.pg();if(0==a.width)this.ma().style.visibility="hidden";else\{this.ma().style.visibility="";var b=a.width/this.o,a=a.height/this.J;this.ih.ma().setAttribute("transform","scale("+b+" "+a+") translate(0 0)")\}\}\};\
|
|
h.setSize=function(a,b)\{Zs(this.ma(),a,b)\};\
|
|
h.pg=function()\{if(!Fs)return this.ud?at(this.ma()):Zx.L.pg.call(this);var a=this.width,b=this.height,c=w(a)&&-1!=a.indexOf("%"),d=w(b)&&-1!=b.indexOf("%");if(!this.ud&&(c||d))return null;var e,f;c&&(e=this.ma().parentNode,f=at(e),a=(0,window.parseFloat)(a)*f.width/100);d&&(e=e||this.ma().parentNode,f=f||at(e),b=(0,window.parseFloat)(b)*f.height/100);return new jf(a,b)\};\
|
|
h.clear=function()\{this.ih.clear();Hf(this.D);this.g=\{\}\};\
|
|
h.Mi=function(a,b,c,d)\{a=ay(this,"path",\{d:taa(a)\});b=new Yx(a,this,b,c);(d||this.ih).ma().appendChild(b.ma());return b\};\
|
|
h.hg=function()\{var a=this.pg();Zx.L.hg.call(this);a||this.dispatchEvent("resize");if(this.K)\{var a=this.width,b=this.height;"string"==typeof a&&-1!=a.indexOf("%")&&"string"==typeof b&&-1!=b.indexOf("%")&&this.G.O(dy(),"tick",this.Uj);this.Uj()\}\};\
|
|
h.mh=function()\{Zx.L.mh.call(this);this.K&&this.G.sa(dy(),"tick",this.Uj)\};\
|
|
h.T=function()\{delete this.g;delete this.D;delete this.ih;this.G.dispose();delete this.G;Zx.L.T.call(this)\};ey.prototype.ma=function()\{return this.B\};\
|
|
ey.prototype.o=function()\{\};var iy=\{bevel:1,dropshadow:2\};z(ny,ey);\
|
|
ny.prototype.o=function(a,b)\{var c=lx(a);if(c)\{var d=Yw(c,b);if(!(0>=d.width||0>=d.height))\{var e;if(e=(c=(c=kx(a))&&c.b?c.b:null)&&c.length?c[0]:null)\{var f=sg(Xw(b,Tw(e,new og(e.F,e.G,e.B,e.o),b.b))),k=d.clone(),c=new og(f.x,f.y,1,1),l=Math.max(k.left+k.width,c.left+c.width),m=Math.max(k.top+k.height,c.top+c.height);k.left=Math.min(k.left,c.left);k.top=Math.min(k.top,c.top);k.width=l-k.left;k.height=m-k.top;var c=a.b,k=ly(k,c.effects),l=fy(this,k.width,k.height),m=ky(c,k.width,k.height,this.b),\
|
|
d=new og(d.left-k.left,d.top-k.top,d.width,d.height),n=new gf(f.x-k.left,f.y-k.top);this.A=17*Sw(b.b,e.g,e.b?e.b:"xy");e=c.o;var f=a.b,t=this.b&&ix(a),u=t?f.b+1:f.b,t=(f=u?new Nx(u,t?f.A:f.C):null)?f.bb()/2:0,u=Baa(d,n),y=this.C(d,e,n,u),E=n.x,n=n.y,G=d.width,Y=d.height,N=d.left,d=d.top,Q=new Ix;Jx(Q,N+e+t,d+t);"t"==u&&(Q.Hb(y.start,d+t),Q.Hb(E,n),Q.Hb(y.end,d+t));Q.Hb(N+G-e-t,d+t);Kx(Q,e,e,-90);"r"==u&&(Q.Hb(N+G-t,y.start),Q.Hb(E,n),Q.Hb(N+G-t,y.end));Q.Hb(N+G-t,d+Y-e-t);Kx(Q,e,e,0);"b"==u&&(Q.Hb(y.end,\
|
|
d+Y-t),Q.Hb(E,n),Q.Hb(y.start,d+Y-t));Q.Hb(N+e+t,d+Y-t);Kx(Q,e,e,90);"l"==u&&(Q.Hb(N+t,y.end),Q.Hb(E,n),Q.Hb(N+t,y.start));Q.Hb(N+t,d+e+t);Kx(Q,e,e,180);Q.close();l.Mi(Q,f,m);if(m=this.ma())J(m,"annotation-shape"),J(m,"annotation-speech-shape"),Os(m,k.left,k.top),Zs(m,k.width,k.height),my(l,m,c.effects)\}\}\}\};\
|
|
ny.prototype.C=function(a,b,c,d)\{function e(a,c,d,e)\{a=Math.min(Math.max(e-2*b,0),a);c=bf(c-a/2,d+b,d+e-a-b);return new Fx(c,c+a)\}\
|
|
return"t"==d||"b"==d?e(this.A,c.x,a.left,a.width):"l"==d||"r"==d?e(this.A,c.y,a.top,a.height):new Fx(0,0)\};z(oy,ey);oy.prototype.o=function(a,b)\{var c=lx(a);if(c)\{var d=Yw(c,b);if(!(0>=d.width||0>=d.height))\{var e=a.b,c=ly(d,e.effects),f=fy(this,c.width,c.height),k=new og(0,0,d.width,d.height),l=e.o,d=new Nx(!e.B&&this.b?1:e.B,e.bgColor),m=new Mx("#000",0),n=d?d.bb()/2+1:0,k=jy(k,l,n);f.Mi(k,d,m);f=this.ma();J(f,"annotation-shape");e=e.g;ct(f,this.b?Math.max(e,.9):e);Os(f,c.left,c.top);Zs(f,c.width,c.height)\}\}\};z(py,ey);py.prototype.o=function(a,b)\{var c=lx(a);if(c)\{var d=Yw(c,b);if(!(0>=d.width||0>=d.height))\{var c=a.b,e=ly(d,c.effects),f=fy(this,e.width,e.height),k=ky(c,d.width,d.height,this.b),d=new og(0,0,d.width,d.height),l=c.o,m=a.b,n=this.b&&ix(a),t=n?m.b+1:m.b,n=(m=t?new Nx(t,n?m.A:m.C):null)?m.bb()/2+1:0,d=jy(d,l,n);f.Mi(d,m,k);if(k=this.ma())J(k,"annotation-shape"),J(k,"annotation-popup-shape"),Os(k,e.left,e.top),Zs(k,e.width,e.height),my(f,k,c.effects)\}\}\};z(qy,ny);qy.prototype.C=function(a,b,c,d)\{function e(a,c,d,e)\{a=Math.min(Math.max(e-2*b,0),a);c=c<=d+e/2?Math.max(d+e/4-a/2,d+b):Math.min(d+3*e/4-a/2,d+e-a-b);return new Fx(c,c+a)\}\
|
|
return"t"==d||"b"==d?e(this.A,c.x,a.left,a.width):"l"==d||"r"==d?e(this.A,c.y,a.top,a.height):new Fx(0,0)\};h=sy.prototype;h.fv=function()\{this.M||(this.A&&S(this.A,!0),this.B&&S(this.B,!0),this.o&&(this.o.b=!0,ct(this.g,By(this)?1:0),this.o.o(this.b,uy(this))),this.G.isActive()&&this.G.stop(),this.M=!0,this.H=kt(this.D,wy(this.C),function(a)\{this.Lm.stop();this.Ze(a)\}))\};\
|
|
h.Ze=function()\{this.M&&(this.N?this.G.start():this.zq(),this.o&&(this.o.b=!1,ct(this.g,By(this)?1:0),this.o.o(this.b,uy(this))),this.M=!1,this.H&&(this.D.sa(this.H),this.H=null))\};\
|
|
h.zq=function()\{this.A&&S(this.A,!1);this.B&&S(this.B,!1)\};\
|
|
h.MD=function(a)\{this.aa=a;this.Lm.sg()\};\
|
|
h.Nz=function()\{var a=this.aa,b=new gf(a.clientX,a.clientY),c=Ss(this.C.Da()),d=Cy(c,this.K),c=(this.B&&dt(this.B)||this.A&&dt(this.A))&&Cy(c,this.N);d&&d.contains(b)||c&&c.contains(b)?this.fv():this.Ze(a)\};\
|
|
h.show=function()\{var a=this.b.b,a=(a&&0==a.g||"title"==this.b.style||"highlightText"==this.b.style?!1:!0)&&!this.o,b=!this.g,c="widget"==this.b.type;if(a)\{var d=uy(this),e=null;"highlight"==this.b.type||"label"==this.b.style?e=new oy:"popup"==this.b.style?e=new py:"anchored"==this.b.style?e=new ny:"speech"==this.b.style&&(e=new qy);e&&(e.o(this.b,d),this.o=e,d=e.ma())&&(S(d,!1),J(d,"annotation-type-"+this.b.type.toLowerCase()),this.ba(d))\}if(b)\{d=["annotation"];"highlightText"!=this.b.style||d.push("annotation-no-mouse");\
|
|
d.push("annotation-type-"+this.b.type.toLowerCase());this.g=K("DIV",d);S(this.g,!1);this.b.B&&(this.F=K("DIV","inner-text"),"label"==this.b.style&&(J(this.F,"label-text"),this.F.style.backgroundColor=this.b.b.bgColor),Tf(this.F,this.b.B),this.g.appendChild(this.F));Ni(this.g,"annotation_id",this.b.id);this.ba(this.g);Caa(this,this.g);if(ix(this.b)&&this.b.showLinkIcon())\{if(e=gx(this.b))d=this.g,e=new L(du(e)),d.title=e.g+e.o;this.B=K("SPAN","annotation-link-icon");S(this.B,!1);this.g.appendChild(this.B)\}Daa(this);\
|
|
ix(this.b)||(this.g.style.cursor="default")\}c&&("subscribe"==this.b.style?sf("yt-uix-subscription-button",this.g)||xh(this.g,this.b.o):this.b.o&&xh(this.g,this.b.o));if(a||b)\{a:\{a=this.b.g.b;if(a.length&&(a=cx(a[0])))\{a=a.H;break a\}a=0\}this.g&&(this.g.style.zIndex=a);this.o&&this.o.ma()&&(this.o.ma().style.zIndex=a)\}S(this.g,!0);ct(this.g,By(this)?1:0);Ay(this);this.o&&this.o.ma()&&S(this.o.ma(),!0)\};z(Dy,gq);Dy.C="AnnotationsModule";var Eaa=\{UK:"video-annotations",Kw:"video-custom-annotations",lx:"video-legacy-annotations"\};Dy.A=function(a)\{switch(a.type)\{case "branding":case "promotion":return!0\}return!1\};\
|
|
Dy.B=function(a)\{return"card"==a.type||"drawer"==a.type\};\
|
|
Dy.o=function(a)\{return Dy.Bb(a)?new Dy(a):null\};\
|
|
Dy.Bb=function(a)\{var b=R(a);return"leanback"==b.b?!1:!b.G.isEmpty()||Dy.b(b.g)?!0:ws(a.getVideoData(),"iv3_module")\};\
|
|
Dy.g=function()\{var a=K("DIV",["annotation","annotation-type-custom"]);S(a,!1);return a\};\
|
|
Dy.b=function(a)\{switch(a)\{case "annotation-editor":case "live-dashboard":return!0\}return!1\};\
|
|
h=Dy.prototype;h.Ae=function(a,b)\{if(!Dy.b(R(this.b).g))return null;switch(a)\{case "loadCustomAnnotationsXml":var c=Cs(b);c&&Hy(this,c);return!0;case "removeCustomAnnotationById":return b&&this.g&&(ow(this.g,b),ww(this.b)),!0\}return null\};\
|
|
h.Tf=function()\{return Dy.b(R(this.b).g)?["loadCustomAnnotationsXml","removeCustomAnnotationById"]:[]\};\
|
|
h.Bb=function()\{return Dy.Bb(this.b)\};\
|
|
h.create=function()\{Dy.L.create.call(this);this.B.S(this.b,"onVideoAreaChange",x(this.Y,this,"onVideoAreaChange"));this.B.S(this.b,"onHideControls",x(this.Y,this,"onHideControls"));this.B.S(this.b,"onShowControls",x(this.Y,this,"onShowControls"));this.B.S(this.b,"resize",x(this.Y,this,"resize"));this.B.S(this.b,"presentingplayerstatechange",x(this.Y,this,"presentingplayerstatechange"));this.C=new P(["div",["ytp-player-content","ytp-iv-player-content"]]);mw(this.b,this.C.element,4);this.A=new P(["div",\
|
|
["ytp-iv-video-content"]]);this.A.element.appendChild(K("DIV","video-annotations",this.R,this.ba));var a=R(this.b),b=this.b.getVideoData();1!=(a.ce||b.gd)&&null===a.G.get(b.videoId)||this.load()\};\
|
|
h.destroy=function()\{tx(this.B);me(this.b.Da(),"ytp-iv-drawer-open");this.C.detach();this.C.dispose();this.A.dispose();Dy.L.destroy.call(this)\};\
|
|
h.Bs=function()\{if(this.A)\{var a=vy(wy(this.b),!0);Zs(this.A.element,a.width,a.height);Os(this.A.element,a.left,a.top)\}\};\
|
|
h.oE=function(a)\{O(a.state,2)&&(Oy(this)&&Py(this)&&2!=this.b.getPresentingPlayerType()&&Qy(this,!1),Ry(this,!1))\};\
|
|
h.load=function()\{Dy.L.load.call(this);this.J++;var a=this.b.getVideoData(),b=a.videoId,c=x(this.iD,this,b,this.J);ux()&&(c=Iy(this,c));c=\{format:"XML",Bc:c,Dc:\{\}\};a.isPharma&&(c.Dc.pharma="1");c.method="POST";c.withCredentials=!0;var d=R(this.b);"gaming"==d.g&&(c.Dc.gaming="1");(b=d.G.get(b))&&Jy(c,b);a.$f&&(b=b&&b.uf,a.cp&&!b||dk(a.$f,c));mw(this.b,this.A.element,4);this.Bs()\};\
|
|
h.unload=function()\{qv(this.G,\{"iv-event":1\});iq(this);Pb(this.o,function(a)\{a.destroy()\});\
|
|
Pb(this.K,function(a)\{a.destroy()\});\
|
|
this.H=null;this.g&&(this.g.destroy(),this.g=null,ww(this.b));this.o=\{\};this.K=\{\};Dy.L.unload.call(this);this.A.detach()\};\
|
|
h.iD=function(a,b,c)\{if(!Fy(this,b,a)&&(a=Yj(c)&&c.responseXML?c.responseXML:null))\{Hy(this,a);J(this.b.Da(),this.Ma+"-loaded");a=[];for(var d in this.o)\{b=this.o[d].annotation;if(b.g)if(c=b.g,c.b.length)if(c=c.b[0].g||c.b[0].b||c.b[0].o,!c||2>c.length)c=null;else\{var e=c.length-1;c=0>=c[0].t&&0>=c[e].t?null:\{start:c[0].t,end:c[e].t\}\}else c=null;else c=null;if(e=c)if(c=1E3*e.start,e=1E3*e.end,0==c&&(c++,e++),!(e<c))\{var f=\{id:d\};"marker"==b.type&&(f.style="ytp-chapter-marker",f.tooltip=b.B,f.visible=\
|
|
!0);b=new dq(c,e,f);a.push(b)\}\}this.wb(a)\}\};\
|
|
h.rF=function(a)\{this.D&&a==this.b.getVideoData().videoId&&(this.loaded?Iaa(this):this.load())\};\
|
|
h.Xd=function(a)\{Dy.L.Xd.call(this,a);a=a.getId();var b=this.o[a];b&&!b.B&&(b=b.annotation,Ky(this,a),mv(this.G,b.Xa))\};\
|
|
h.qe=function(a)\{Dy.L.qe.call(this,a);Ly(this,a.getId())\};\
|
|
h.yq=function(a)\{if(a)\{a.isVisible=!1;if(a.b)\{Dx(a);var b=a.b;b.g&&S(b.g,!1);b.o&&b.o.ma()&&S(b.o.ma(),!1);b.J&&(b.D.sa(b.J),b.J=null)\}Ny(this,"shown",!1,a.annotation.id);this.Ni(a.annotation,"hidden")\}\};\
|
|
h.Tt=function(a)\{a&&(a.show(),Ny(this,"shown",!0,a.annotation.id),this.Ni(a.annotation,"shown"))\};\
|
|
h.nF=function(a,b,c)\{var d=this.o[a];if(d&&b.value!=c)\{b.value=c;var e=!1;jx(d.annotation,function(a)\{e|=a.value\});\
|
|
Kaa(this,a,b,e)\}\};\
|
|
h.dC=function(a)\{if(a&&a.id)\{var b=gx(a);if(b)\{var c=du(b);if(c)\{var d=x(this.Ni,this,a,"click"),e=this.b.getVideoData();if("new"==ku(c,b.target)||My(this,b,e.videoId))d(),d=null;nv(this.G,a.Xa,d)\}\}\}\};\
|
|
h.Ni=function(a,b)\{maa(a,function(c)\{if(c.b==b&&"openUrl"==c.type)\{var d=this.b.getVideoData(),e;if(!(e=!My(this,c.url,d.videoId)))\{e=hu(c.url);var f=gu(c.url);if(e)\{if(d.videoId==e)this.b.seekTo(f||0);else\{var k=Gy(this).g;I9(k.app,e,void 0,void 0,void 0,void 0);f&&uJ(Gy(this).g)&&Gy(this).g.seekTo(f)\}e=!0\}else e=!1;e=!e\}e&&(d=ju(c.url,a.id,d.videoId,R(this.b)))&&(this.b.pauseVideo(),e=ku(d,c.url.target),c=d,d="current"==e?"_top":void 0,e=Sj(c),f=null,"ei"in e&&(f=\{ei:e.ei\},c=ah(c,"ei")),vr(c,f),\
|
|
wr(c,d))\}\},this)\};\
|
|
h.rD=function()\{Ny(this,"playerControlShow",!1)\};\
|
|
h.SE=function()\{Ny(this,"playerControlShow",!0)\};\
|
|
h.mI=function(a)\{Ny(this,"rollOver",!0,a.id)\};\
|
|
h.Ze=function(a)\{Ny(this,"rollOver",!1,a.id)\};\
|
|
h.FC=function(a)\{if(a||a.id)this.o[a.id].B=!0,Ly(this,a.id),a&&(ov(this.G,a.Xa),this.Ni(a,"close")),Ny(this,"closed",!0,a.id)\};\
|
|
h.T=function()\{for(var a=this.N,b=0,c=a.length;b<c;b++)wx(a[b]);this.N.length=0;Dy.L.T.call(this)\};var xB=/^#(?:[0-9a-f]\{3\})\{1,2\}$/i,cC="default monoSerif propSerif monoSans propSans casual cursive smallCaps".split(" "),bC=["none","raised","depressed","uniform","dropShadow"],msa=["left","right","center"],VB=\{windowColor:"#080808",Tg:0,textAlign:2,zi:7,pj:50,Tj:100,Ka:\{background:"#080808",hd:.75,ge:0,color:"#fff",fontFamily:4,ig:0,bf:1,offset:1\}\};var q$=[\{option:"#fff",message:"YTP_COLOR_WHITE"\},\{option:"#ff0",message:"YTP_COLOR_YELLOW"\},\{option:"#0f0",message:"YTP_COLOR_GREEN"\},\{option:"#0ff",message:"YTP_COLOR_CYAN"\},\{option:"#00f",message:"YTP_COLOR_BLUE"\},\{option:"#f0f",message:"YTP_COLOR_MAGENTA"\},\{option:"#f00",message:"YTP_COLOR_RED"\},\{option:"#080808",message:"YTP_COLOR_BLACK"\}],r$=[\{option:0,text:"0%"\},\{option:.25,text:"25%"\},\{option:.5,text:"50%"\},\{option:.75,text:"75%"\},\{option:1,text:"100%"\}],J6=[\{option:"fontFamily",message:"YTP_FONT_FAMILY",\
|
|
options:[\{option:1,message:"YTP_FONT_FAMILY_MONO_SERIF"\},\{option:2,message:"YTP_FONT_FAMILY_PROP_SERIF"\},\{option:3,message:"YTP_FONT_FAMILY_MONO_SANS"\},\{option:4,message:"YTP_FONT_FAMILY_PROP_SANS"\},\{option:5,message:"YTP_FONT_FAMILY_CASUAL"\},\{option:6,message:"YTP_FONT_FAMILY_CURSIVE"\},\{option:7,message:"YTP_FONT_FAMILY_SMALL_CAPS"\}]\},\{option:"color",message:"YTP_FONT_COLOR",options:q$\},\{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:q$\},\{option:"backgroundOpacity",message:"YTP_BACKGROUND_OPACITY",options:r$\},\{option:"windowColor",message:"YTP_WINDOW_COLOR",options:q$\},\{option:"windowOpacity",message:"YTP_WINDOW_OPACITY",options:r$\},\{option:"charEdgeStyle",message:"YTP_CHAR_EDGE_STYLE",options:[\{option:0,message:"YTP_EDGE_STYLE_NONE"\},\{option:4,message:"YTP_EDGE_STYLE_DROP_SHADOW"\},\
|
|
\{option:1,message:"YTP_EDGE_STYLE_RAISED"\},\{option:2,message:"YTP_EDGE_STYLE_DEPRESSED"\},\{option:3,message:"YTP_EDGE_STYLE_OUTLINE"\}]\},\{option:"textOpacity",message:"YTP_FONT_OPACITY",options:[\{option:.25,text:"25%"\},\{option:.5,text:"50%"\},\{option:.75,text:"75%"\},\{option:1,text:"100%"\}]\}];lc("A AREA BUTTON HEAD INPUT LINK MENU META OPTGROUP OPTION PROGRESS STYLE SELECT SOURCE TEXTAREA TITLE TRACK".split(" "));var Ty=\{Dm:function(a)\{a.reverse()\},\
|
|
UA:function(a,b)\{a.splice(0,b)\},\
|
|
SZ:function(a,b)\{var c=a[0];a[0]=a[b%a.length];a[b]=c\}\};var XF=Xy("auto","large",!1),Zy=Xy("auto","auto",!1);Vy.prototype.isLocked=function()\{return this.o&&!!this.g&&this.g==this.b\};\
|
|
Vy.prototype.A=function(a)\{if(!a.video)return!1;a=Wy[a.video.quality];return this.g<=a&&(!this.b||this.b>=a)\};z(bz,sk);bz.prototype.remove=function(a)\{var b=this.get(a);delete this.b[a];return b\};\
|
|
bz.prototype.get=function(a)\{return this.b[a]||null\};\
|
|
bz.prototype.isEmpty=function()\{return cc(this.b)\};var dz=\{"ad-trueview-indisplay-pv":6,"ad-trueview-insearch":7\},ez=\{"ad-trueview-indisplay-pv":2,"ad-trueview-insearch":2\},fz=/^(\\d*)_((\\d*)_?(\\d*))$/;var $z,CA;var s$=sc,s$=s$.toLowerCase();if(-1!=s$.indexOf("android"))\{var t$=s$.match(/android\\D*(\\d\\.\\d)[^\\;|\\)]*[\\;\\)]/);if(t$)$z=Number(t$[1]);else\{var u$=\{cupcake:1.5,donut:1.6,eclair:2,froyo:2.2,gingerbread:2.3,honeycomb:3,"ice cream sandwich":4,jellybean:4.1\},v$=s$.match("("+Yb(u$).join("|")+")");$z=v$?u$[v$[0]]:0\}\}else $z=void 0;CA=0<=$z;var B5,Naa=['video/mp4; codecs="avc1.42001E, mp4a.40.2"','video/webm; codecs="vp8.0, vorbis"'],Oaa=['audio/mp4; codecs="mp4a.40.2"'];var Paa=/^([0-9\\.]+)\\:([0-9\\.]+)$/;sz.prototype.then=function(a,b,c)\{try\{if(p(this.g))return a?Hd(a.call(c,this.g)):Hd(this.g);if(p(this.b))\{if(!b)return Id(this.b);var d=b.call(c,this.b);return!p(d)&&this.b instanceof Xd?Id(this.b):Hd(d)\}throw Error("Invalid Result_ state");\}catch(e)\{return Id(e)\}\};\
|
|
Ad(sz);var vz=\{format:"RAW",method:"GET",timeout:5E3,withCredentials:!0\},tz=null;var kba=\{YO:"red",NQ:"white",aL:"blue"\};Bz.prototype.Z=function(a)\{return"true"==this.flags[a]\};\
|
|
Bz.prototype.b=function(a)\{return(0,window.parseFloat)(this.flags[a])\};\
|
|
Bz.prototype.F=function(a)\{return this.flags[a]?this.flags[a].toString():""\};var Hca=\{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",250:"o",251:"o",194:"*",195:"*",220:"*",221:"*",196:"*",197:"*",198:"V",\
|
|
279:"(",280:"(",273:"(",274:"(",275:"(",276:"(",314:"(",277:"("\};var gA=\{name:"width",video:!0,valid:640,Ag:99999\},hA=\{name:"height",video:!0,valid:360,Ag:99999\},iA=\{name:"framerate",video:!0,valid:30,Ag:9999\},kA=\{name:"bitrate",video:!0,valid:3E5,Ag:2E9\},jA=\{name:"eotf",video:!0,valid:"bt709",Ag:"catavision"\},lA=\{name:"channels",video:!1,valid:2,Ag:99\},mA=\{wi:gA,ni:hA,o:iA,po:kA,g:jA,b:lA\};Cz.prototype.toString=function()\{return this.languageCode+"_"+this.languageName+"_"+this.b+"_"+this.id+"_"+this.isDefault\};Dz.prototype.toString=function()\{return this.g+": "+Ez(this)+" - "+this.D\};\
|
|
Dz.prototype.H=function(a)\{return a?this.toString()==a.toString():!1\};Gz.prototype.b=function()\{return this.Vb\};\
|
|
Gz.prototype.toString=function()\{return this.Vb.name\};\
|
|
Gz.prototype.getLanguageInfo=Gz.prototype.b;var Raa=function()\{if(qA)return Iz(/Firefox\\/([0-9.]+)/);if(xf||LF||Dc)return yc;if(em)return Iz(/Chrome\\/([0-9.]+)/);if(Az&&!(vc()||tc("iPad")||tc("iPod")))return Iz(/Version\\/([0-9.]+)/);if(AA||zA)\{var a=/Version\\/(\\S+).*Mobile\\/(\\S+)/.exec(sc);if(a)return a[1]+"."+a[2]\}else if(BA)return(a=Iz(/Android\\s+([0-9.]+)/))?a:Iz(/Version\\/([0-9.]+)/);return""\}();Kz.prototype.start=function()\{return 0\};\
|
|
Kz.prototype.end=function()\{return window.Infinity\};\
|
|
Kz.prototype.length=1;h=Lz.prototype;h.addEventListener=function()\{\};\
|
|
h.removeEventListener=function()\{\};\
|
|
h.dispatchEvent=function()\{\};\
|
|
h.abort=function()\{\};\
|
|
h.remove=function()\{\};\
|
|
h.appendBuffer=function()\{\};Mz.prototype.dispose=function()\{if(!this.o)\{if(this.b)try\{window.URL.revokeObjectURL(this.A)\}catch(a)\{\}this.o=!0\}\};\
|
|
Mz.prototype.isDisposed=function()\{return this.o\};h=Pz.prototype;h.append=function(a)\{this.g.webkitSourceAppend(this.o,a)\};\
|
|
h.abort=function()\{this.g.webkitSourceAbort(this.o)\};\
|
|
h.RG=function()\{return this.g.webkitSourceState==this.g.SOURCE_CLOSED?new Saa:this.g.webkitSourceBuffered(this.o)\};\
|
|
h.TG=function()\{return this.A\};\
|
|
h.XG=function(a)\{this.A=a;this.g.webkitSourceTimestampOffset(this.o,a)\};h=Qz.prototype;h.addEventListener=function(a,b,c)\{this.b.addEventListener(a,b,c)\};\
|
|
h.removeEventListener=function(a,b,c)\{this.b.removeEventListener(a,b,c)\};\
|
|
h.kJ=function()\{return this.b.webkitMediaSourceURL\};\
|
|
h.addSourceBuffer=function(a)\{var b=(this.o++).toString();this.b.webkitSourceAddId(b,a);a=new Pz(this.b,b);this.sourceBuffers.push(a);return a\};\
|
|
h.removeSourceBuffer=function(a)\{for(var b=0;b<this.sourceBuffers.length;b++)if(a===this.sourceBuffers[b])\{this.b.webkitSourceRemoveId(a.o);for(a=b+1;a<this.sourceBuffers.length;a++)this.sourceBuffers[a-1]=this.sourceBuffers[a];this.sourceBuffers.pop();break\}\};\
|
|
h.UG=function()\{switch(this.b.webkitSourceState)\{case this.b.SOURCE_CLOSED:return"closed";case this.b.SOURCE_OPEN:return"open";case this.b.SOURCE_ENDED:return"ended"\}return""\};\
|
|
h.endOfStream=function(a)\{var b=this.b.EOS_NO_ERROR;"network"==a?b=this.b.EOS_NETWORK_ERR:"decode"==a&&(b=this.b.EOS_DECODE_ERR);this.b.webkitSourceEndOfStream(b)\};\
|
|
h.VG=function()\{lb(this.sourceBuffers)\};\
|
|
h.SG=function()\{return this.g\};\
|
|
h.WG=function(a)\{this.g=a;this.b.webkitSourceSetDuration&&this.b.webkitSourceSetDuration(a)\};z(Rz,rx);Rz.prototype.H=function()\{if(!this.isDisposed()&&Sz(this)&&!(0,window.isNaN)(this.A))\{this.o.duration=this.A;this.A=window.NaN;try\{this.b=this.o.addSourceBuffer(this.F),this.M?this.g=this.o.addSourceBuffer(this.J):this.g=new Lz,this.B&&(this.B(this),this.B=null)\}catch(a)\{this.C&&this.C(a)\}\}\};\
|
|
Rz.prototype.G=function()\{this.dispose()\};var Xaa=\{52:!0,53:!0,54:!0,55:!0,60:!0,79:!0,87:!0\};Zz.prototype.g=function()\{return null\};var bba="9h 9 h 8 ( H *".split(" "),rA="h98H(*".split(""),dba="oMavAV".split(""),gba=["sa"],fba="moMavAV".split(""),eba="aoMvAV".split(""),cba=["f"],Zaa=\{'video/mp4; codecs="avc1.42001E, mp4a.40.2"':"maybe"\},$aa=\{"application/x-mpegURL":"maybe"\},Yaa=\{"application/x-mpegURL":"maybe"\};var yA="blogger books docs google-live play picasaweb gmail".split(" ");z(IA,F);var KA=\{cL:"cbrand",dL:"cbr",eL:"cbrver",aN:"c",dN:"cver",cN:"ctheme",bN:"cplayer",FN:"cmodel",jO:"cnetwork",tO:"cos",uO:"cosver",zO:"cplatform"\};IA.prototype.getVideoUrl=function(a,b,c,d,e)\{b=\{list:b\};c&&(e?b.time_continue=c:b.t=c);c=OA(this);d&&"www.youtube.com"==c?d="https://youtu.be/"+a:(d=this.X+"://"+c+"/watch",b.v=a,dA&&(a=q("yt.www.ads.biscotti.lastId_")||"")&&(b.ebc=a));return Vg(d,b)\};\
|
|
IA.prototype.isAd=function()\{return"adunit"==this.b\};z(WA,P);h=WA.prototype;h.Fb=function()\{return this.type\};\
|
|
h.ef=function(a,b,c,d,e,f)\{var k=b.Ka;if(!this.b||f)e=e||this.o,aB(this),this.b=\{\},ra(this.b,a),ra(this.b,this.A.params),ra(this.b,b),f=\{\},ra(f,a.Ka),this.A.params.Ka&&ra(f,this.A.params.Ka),b.Ka&&ra(f,b.Ka),this.b.Ka=f,this.J=d/360*16,this.F=this.J*XA(f),a="",this.b.Tg&&(a=Ew(this.b.windowColor),a="rgba("+a[0]+","+a[1]+","+a[2]+","+this.b.Tg+")"),b=\{"background-color":a,display:!1===this.b.isVisible?"none":"","text-align":msa[this.b.textAlign]\},this.aa&&(b["border-radius"]=a?this.F/8+"px":""),Is(this.element,\
|
|
b),this.element.setAttribute("dir",1==this.b.Pg?"rtl":"ltr");this.Ih(e,c,k)\};\
|
|
h.Ih=function(a,b,c)\{var d=this.b.zi,e=!1,f=!1;switch(d)\{case 0:case 1:case 2:e=!0;break;case 6:case 7:case 8:f=!0\}oe(this.element,"ytp-caption-window-top",e);oe(this.element,"ytp-caption-window-bottom",f);f=this.gq();e=this.fq();b*=.96;f>b&&(f=b);Is(this.element,\{top:0,left:0,right:"",bottom:"",width:f?f+"px":"96%",height:e?e+"px":"96%",margin:"",transform:""\});this.Vk(a,c);a=\{transform:"",top:"",left:""\};f||(a.width="");e||(a.height="");c=.96*this.b.pj+2;switch(d)\{case 0:case 3:case 6:a.left=c+\
|
|
"%";break;case 1:case 4:case 7:a.left=c+"%";c=this.B.offsetWidth;f||c?(f=f||c+1,a.width=f+"px",a["margin-left"]=f/-2+"px"):a.transform+=" translateX(-50%)";break;case 2:case 5:case 8:a.right=100-c+"%"\}f=.96*this.b.Tj+2;switch(d)\{case 0:case 1:case 2:a.top=f+"%";break;case 3:case 4:case 5:a.top=f+"%";(d=e||this.B.offsetHeight)?(a.height=d+"px",a["margin-top"]=d/-2+"px"):a.transform+=" translateY(-50%)";break;case 6:case 7:case 8:a.bottom=100-f+"%"\}Is(this.element,a)\};\
|
|
h.Vk=function(a,b)\{for(var c=0;c<a.length&&a[c]==this.o[c];c++);if(this.G||this.o.length>c)c=0,aB(this);for(;c<a.length;c++)\{var d=a[c],e=\{\};ra(e,this.b.Ka);ra(e,d.g);b&&ra(e,b);$A(this,d,e)\}\};\
|
|
h.gq=function()\{return 0\};\
|
|
h.fq=function()\{return 0\};z(eB,F);h=eB.prototype;h.rj=v;h.cq=function(a)\{var b=this.b.g,c=bB(this.b,!0);a&&0>b&&0<c.length&&(b=0);return 0>b?null:c[b]\};\
|
|
h.Re=function()\{return null\};\
|
|
h.sj=v;h.seek=function()\{\};\
|
|
h.qn=function()\{\};\
|
|
h.rg=v;h.T=function()\{eB.L.T.call(this);this.qn()\};z(fB,eB);h=fB.prototype;h.rj=function(a,b)\{this.isDisposed();var c=this.rg(a),d=x(function(c)\{this.o=null;b(c.responseText,a)\},this);\
|
|
this.o&&this.o.abort();this.o=dk(c,\{format:"RAW",sb:d,withCredentials:!0\});this.g&&this.g.Ri!=a&&(this.g.rl=a)\};\
|
|
h.sj=function(a,b,c,d)\{this.A=c;if(this.g=d||null)for(b=0;b<this.g.captionTracks.length;b++)dB(this.b,this.g.captionTracks[b]);a()\};\
|
|
h.rg=function(a)\{var b=a.G,c=\{\};if(this.A||a.A)c.fmt=this.A||"srv"+a.A;a.b&&(c.tlang=a.b.languageCode);return Uj(b,c)\};\
|
|
h.Re=function()\{return this.g?this.g.Ri:null\};\
|
|
h.cq=function()\{return this.g?this.g.rl:null\};\
|
|
h.T=function()\{this.o&&this.o.abort();fB.L.T.call(this)\};gB.prototype.contains=function(a)\{a=zb(this.ra,a);return 0<=a||0>a&&1==(-a-1)%2\};\
|
|
gB.prototype.length=function()\{return this.ra.length/2\};z(hB,F);hB.prototype.T=function()\{Yi(this.g);this.g=window.NaN;this.o=!0;this.A&&this.A.abort()\};\
|
|
hB.prototype.resume=function()\{this.o=!1;Yi(this.g);this.seek(this.F.getCurrentTime());tba(this)\};\
|
|
hB.prototype.seek=function(a)\{this.b=$a(this.G.qg(a).b)\};\
|
|
hB.prototype.H=function(a)\{this.isDisposed();null==a.responseText||400<=a.status||this.o||null===this.C||this.C(a.responseText,1E3*this.B.b[0].startTime);this.A=this.B=null\};z(mB,eB);h=mB.prototype;h.rj=function(a,b)\{sba(this.g,function(c,d)\{b(c,a,d)\});\
|
|
this.g.G=this.o.b[a.g];this.g.resume()\};\
|
|
h.sj=function(a)\{dB(this.b,new Dz(\{format:1,languageCode:"en",languageName:"English",name:"",is_servable:!0,is_default:!0,is_translateable:!1\}));a()\};\
|
|
h.seek=function(a)\{this.g.seek(a)\};\
|
|
h.qn=function()\{var a=this.g;Yi(a.g);a.g=window.NaN;a.o=!0\};\
|
|
h.rg=function()\{return""\};\
|
|
h.T=function()\{this.g.dispose();mB.L.T.call(this)\};z(nB,WA);var nsa=\{Zl:!0\};nB.prototype.Vk=function(a,b)\{var c,d=this.A.Zf;nB.L.Vk.call(this,a,b);var e,f;for(c=a.length;c<d.length;c++)\{var k=d[c];f&&k.g==e||(f=\{\},ra(f,this.b.Ka),ra(f,k.g),b&&ra(f,b),ra(f,nsa));$A(this,k,f,!0);e=k.g\}\};z(oB,WA);h=oB.prototype;h.IE=function()\{me(this.element,"ytp-rollup-mode");var a=this.M||this.o,b=this.R;this.M=null;this.Ih(a,b,this.N)\};\
|
|
h.gq=function()\{var a=this.A.params.Kp;if(!this.H&&a)\{var b=window.document.createElement("span");Tf(b,"\\u00a0"+La("\\u2014",a)+"\\u00a0");Is(b,YA(this,this.b.Ka));this.B.appendChild(b);this.H=b.offsetWidth;this.B.removeChild(b)\}return this.H\};\
|
|
h.ef=function(a,b,c,d,e,f)\{f&&(this.H=window.NaN);oB.L.ef.call(this,a,b,c,d,e,f)\};\
|
|
h.fq=function()\{return 1.32*this.A.params.Fh*this.F\};\
|
|
h.Ih=function(a,b,c)\{this.N=c;this.R=b;for(var d=0,e=0;d<this.o.length&&e<a.length;d++)this.o[d]==a[e]&&e++;var f=ZA(a),k=!1,d=0;if(0<e&&e<a.length)\{var e=this.o.concat(a.slice(e)),l=ZA(e)-f;0<l&&(this.M=a,a=e,d-=l,k=!0)\}f<this.A.params.Fh&&(k=!0,d+=this.A.params.Fh-f);!(0,window.isNaN)(this.K)&&k&&(J(this.element,"ytp-rollup-mode"),this.X.start());d!=this.K&&(f="",d&&(f="translateY("+Math.ceil(1.32*d*this.F)+"px)"),Is(this.B,"transform",f),this.K=d);oB.L.Ih.call(this,a,b,c)\};z(pB,dq);z(qB,dq);z(sB,eB);sB.prototype.rj=function(a,b)\{this.isDisposed();var c=this.rg(a),d=x(function(c)\{this.g=null;b(c.responseText,a)\},this);\
|
|
this.g&&this.g.abort();this.g=dk(c,\{format:"RAW",sb:d,withCredentials:!0\});oba(this.b,a)\};\
|
|
sB.prototype.sj=function(a,b,c)\{var d=this.o;b=\{type:"list",tlangs:1,v:this.A,fmts:Number(b||!1),vssids:1\};this.fr&&(b.asrs=1);d=Uj(d,b);b=x(function(b)\{this.g=null;if((b=b.responseXML)&&b.firstChild)\{for(var d=this.b,e=b.getElementsByTagName("track"),l=e.length,m=0;m<l;m++)\{var n=e[m].getAttribute("formats"),t=c,u=e[m].getAttribute("lang_code"),y=e[m].getAttribute("lang_translated"),E=e[m].getAttribute("name"),G=e[m].getAttribute("kind"),Y=e[m].getAttribute("id"),N="true"==e[m].getAttribute("lang_default"),\
|
|
Q="true"==e[m].getAttribute("cantran"),cb=e[m].getAttribute("vss_id");dB(d,new Dz(\{formats:n,format:t,languageCode:u,languageName:y,name:E,kind:G,id:Y,is_servable:!0,is_default:N,is_translateable:Q,vss_id:cb\}))\}b=b.getElementsByTagName("target");d=b.length;for(e=0;e<d;e++)l=b[e].getAttribute("lang_code"),m=b[e].getAttribute("lang_translated"),n=b[e].getAttribute("lang_original"),t=b[e].getAttribute("id"),u="true"==b[e].getAttribute("lang_default"),l=\{languageCode:l,languageName:m,languageOriginal:n,\
|
|
id:t,is_default:u\},this.C[l.languageCode]=l.languageName,this.B.push(new Cz(l))\}a()\},this);\
|
|
this.g&&this.g.abort();this.g=dk(d,\{format:"RAW",sb:b,withCredentials:!0\})\};\
|
|
sB.prototype.rg=function(a)\{var b=this.o,c=\{v:this.A,type:"track",lang:a.g,name:a.B,kind:a.o,fmt:a.A\};a.b&&(c.tlang=a.b.languageCode);return b=Uj(b,c)\};\
|
|
sB.prototype.T=function()\{this.g&&this.g.abort();sB.L.T.call(this)\};z(vB,tB);z(yB,tB);z(HB,tB);z(LB,tB);var xba=0,vba=/^NOTE/,uba=/(?:\\r\\n|\\r|\\n)\{2,\}/,IB=RegExp("^((?:[\\\\d]\{2\}:)?[\\\\d]\{2\}:[\\\\d]\{2\}\\\\.[\\\\d]\{3\})[\\\\t ]+--\\x3e[\\\\t ]+((?:[\\\\d]\{2\}:)?[\\\\d]\{2\}:[\\\\d]\{2\}\\\\.[\\\\d]\{3\}).*(?:\\r\\n|\\r|\\n)","gm"),wba=/<((?:[\\d]\{2\}:)?[\\d]\{2\}:[\\d]\{2\}\\.[\\d]\{3\})>/;z(NB,gq);h=NB.prototype;h.create=function()\{NB.L.create.call(this);this.B=this.b.getVideoData();MB(this)||this.ba.S(this.b,"resize",this.eu);this.ba.S(this.b,"onPlaybackAudioChange",this.nC);var a=nq(this,"display-settings")||\{\};if(a.migrated)WB(this,a);else\{gc(a,osa)&&(a=\{\});for(var b in a)a[b+"Override"]=!0;WB(this,a,!0)\}PB(this)&&this.load()\};\
|
|
h.destroy=function()\{tx(this.ba);NB.L.destroy.call(this)\};\
|
|
h.load=function()\{this.ia="1"==this.B.A.cc_auto_caps||"1"==this.V.J.cc_auto_caps;NB.L.load.call(this);if(this.B.xa)this.o=new mB(this.B.b,this.b),this.ga=this.ba.S(this.b,"seekto",this.pI);else\{var a=this.B.Go||this.V.ub||this.B.Od("yt:cc_default_lang")||this.V.qa,a=a&&a.split("_").join("-");this.B.captionTracks.length?this.o=new fB(this.B):this.o=new sB(this.B.bc,this.B.videoId,a,this.B.Tb)\}RB(this)\};\
|
|
h.unload=function()\{this.F&&(UB(this),this.Wm("control_subtitles_set_track"));if(MB(this))for(var a=qf("track",void 0,this.J.b),b=0;b<a.length;b++)Jf(a[b]);else aC(this,!1),QB(this),this.ga&&this.ba.sa(this.ga),this.o.dispose(),this.o=null;this.K=this.aa=!1;NB.L.unload.call(this)\};\
|
|
h.Js=function()\{if(MB(this))for(var a=bB(this.o.b,!0),b=0;b<a.length;b++)\{var c=a[b],d=\{kind:"subtitles",label:Ez(c),srclang:c.g,src:this.o.rg(c)\};c.isDefault&&(d["default"]=1);this.$.app.o.mp([K("TRACK",d)])\}else if(c=this.K||OB(this,!this.aa),a=bB(this.o.b,!0),0<a.length)\{this.aa=!0;b=this.g&&-1!=a.indexOf(this.g);if(c&&!b)if(c=this.o.cq(),!c&&this.K&&(c=a[0]),c)this.ea=!0,SB(this,c),b=!0;else if(a=this.o.b.o,a.length&&(a=a[0].toString(),this.K||this.ia))a=pba(this.o,a),SB(this,a,void 0),b=!0;this.b.za("onCaptionsTrackListChanged");\
|
|
b||TB(this)\}else if(this.o.Re())TB(this);else if(a=lq(this.b),b=lJ(a,this.Ma))pb(a.b,b),b.destroy()\};\
|
|
h.Ks=function(a,b,c)\{MB(this);if(a&&b==this.g)\{a=zba(a,b,c);this.ea&&(this.ea=!1,this.b.za("onCaptionsTrackListChanged"));c=\{trackName:b.B,trackKind:b.o\};b.b?(c.trackLangCode=b.b.languageCode,c.fromLangCode=b.g):c.trackLangCode=b.g;this.log(c);if(this.g!=this.o.Re())\{if(this.K&&!QA(this.V)&&"WEB_UNPLUGGED"!=this.V.o.c)\{this.H||(b=rB(\{zi:0,pj:5,Tj:5,Fh:2,textAlign:0,Pg:0\}),this.H=new WA(b));mw(this.b,this.H.element,4);c=M("YTP_CLICK_FOR_SETTINGS").split("$GEAR_ICON");var d;b=new Kq(Lh());H(this.H,\
|
|
b);d=b.element;b=this.H.A.id;c=[new pB(0,0,0,b,c[0]),new pB(0,0,0,b,d,!0),new pB(0,0,0,b,c[1],!0)];(d=Ez(this.g))&&c.unshift(new pB(0,0,0,b,d));b=this.J.Ja().width;d=vy(this.J,!0).height;this.H.ef(this.A,this.C,b,d,c);this.la.ve()\}(this.K||QA(this.V))&&oq(this,"module-enabled",!0);ZB(this.b)\}this.wb(a.g.concat(a.b))\}\};\
|
|
h.Xd=function(a)\{this.X.push(a);this.ha.ve()\};\
|
|
h.qe=function(a)\{pb(this.X,a);this.ha.ve()\};\
|
|
h.VF=function(a)\{if(this.g)if(a instanceof qB)\{var b=this.N[a.id];b&&b.A!=a&&(b.dispose(),delete this.N[a.id],b=null);if(!b)\{var b=this.N,c=a.id;a:switch(null!=a.params.Km?a.params.Km:a.params.GG?2:1<a.Zf.length?1:0)\{case 1:a=new nB(a);break a;case 2:a=new oB(a);break a;default:a=new WA(a)\}b=b[c]=a;oe(b.element,"captions-asr","asr"==this.g.o)\}\}else b=a.o,this.R[b]||(this.R[b]=[]),this.R[b].push(a)\};\
|
|
h.fG=function()\{this.H.detach();this.H.dispose();this.H=null\};\
|
|
h.sn=function()\{MB(this);this.ha.stop();dc(this.R);this.X.sort(fq);D(this.X,this.VF,this);var a=this.J.Ja().width,b=vy(this.J,!0).height;Pb(this.N,function(c,d)\{!this.R[d]||this.G?(c.dispose(),delete this.N[d]):(c.element.parentNode||mw(this.b,c.element,4),c.ef(this.A,this.C,a,b,this.R[d]))\},this)\};\
|
|
var osa=\{background:"#080808",backgroundOpacity:1,charEdgeStyle:3,color:"#fff",fontFamily:4,fontSizeIncrement:0,textOpacity:1,windowColor:"#080808",windowOpacity:0\};h=NB.prototype;h.eu=function()\{if(!MB(this))\{var a=this.J.Ja().width,b=vy(this.J,!0).height;Pb(this.N,function(c)\{c.ef(this.A,this.C,a,b,void 0,!0)\},this);\
|
|
this.G&&this.G.ef(this.A,this.C,a,b,void 0,!0);this.H&&this.H.ef(this.A,this.C,a,b,void 0,!0);this.sn()\}\};\
|
|
h.Ae=function(a,b)\{switch(a)\{case "fontSize":if((0,window.isNaN)(b))break;var c=bf(b,-2,4);YB(this,\{fontSizeIncrement:c\});return c;case "reload":b&&RB(this);break;case "stickyLoading":void 0!=b&&this.V.Qa&&oq(this,"module-enabled",!!b);break;case "track":if(b)\{if(MB(this))break;if(!ka(b))break;if(cc(b))\{$B(this);break\}for(var d,e=bB(this.o.b,!0),c=0;c<e.length;c++)\{var f=e[c];f.g!=b.languageCode||d&&f.C!=b.languageName||(d=b.translationLanguage?Qaa(f,b.translationLanguage):f)\}d&&SB(this,d,!0)\}else return this.g&&\
|
|
this.g!=this.o.Re()?Fz(this.g):\{\};return"";case "tracklist":return this.aa?Ii(bB(this.o.b,b&&b.includeAsr),function(a)\{return Fz(a)\}):[];\
|
|
case "translationLanguages":return this.aa?this.o.B:[];case "displaySettings":d=XB(this);if(QA(this.V)&&b&&ka(b))if(b.reset)WB(this,\{\},!0);else\{f=\{\};for(c in b)switch(c)\{case "color":case "background":case "windowColor":f[c]=Bba(b[c],d[c]);break;case "textOpacity":case "backgroundOpacity":case "windowOpacity":f[c]=Cba(b[c],d[c]);break;case "charEdgeStyle":f[c]=Dba(b[c],d[c]);break;case "fontSizeIncrement":f[c]=Fba(b[c],d[c]);break;case "fontFamilyOption":f.fontFamily=Eba(b[c],d[c])\}for(e in f)f[e+\
|
|
"Override"]=!0;YB(this,f,!0);d=XB(this)\}d.fontFamilyOption=cC[d.fontFamily];d.charEdgeStyle=bC[d.charEdgeStyle];return d;case "sampleSubtitles":MB(this)||void 0==b||aC(this,!!b);break;case "xmlTrack":b&&this.V.Qa&&(QB(this),MB(this)||(c=b.xml,this.g=new Dz(\{languageName:b.name\}),this.Ks(c,this.g)))\}\};\
|
|
h.Tf=function()\{var a="reload fontSize track tracklist translationLanguages displaySettings sampleSubtitle".split(" ");this.V.Qa&&a.push("stickyLoading","xmlTrack");return a\};\
|
|
h.Bb=function(a)\{if("lb3"==R(a).g)return!1;a=a.getVideoData();var b;if(b=a.xa)b=a.b,b=!(!b||null==b.b.en);return!!(a.bc||a.captionTracks.length||b)\};\
|
|
h.zj=function(a)\{a?QB(this):this.loaded&&(this.unload(),this.load())\};\
|
|
h.pI=function()\{this.o.seek(this.b.getCurrentTime())\};\
|
|
h.bi=function()\{var a=this.g;return a?\{cc:a.D\}:null\};\
|
|
h.nC=function()\{this.B.captionTracks.length&&(this.loaded?RB(this):PB(this)&&this.load())\};fC.prototype.forEach=function(a)\{for(var b=this.g+1;b<this.b.length;b++)a(this.b[b]||0);for(b=0;b<=this.g;b++)a(this.b[b]||0)\};\
|
|
fC.prototype.Ra=function()\{var a=[];this.forEach(x(a.push,a));return a\};\
|
|
fC.prototype.clear=function()\{for(var a=this.b.length,b=0;b<a;b++)this.b[b]=0;this.g=this.b.length-1\};iC.prototype.b=function(a,b)\{var c=Math.pow(this.B,a);this.g=b*(1-c)+c*this.g;this.A+=a\};\
|
|
iC.prototype.o=function()\{return this.g/(1-Math.pow(this.B,this.A))\};var pC=null;qC.prototype.g=function()\{var a=q("gapi.config.update");a("googleapis.config/auth/useFirstPartyAuth",!0);var b=this.b.apiaryHost;A(B(b))||a("googleapis.config/root",(-1==b.indexOf("://")?"//":"")+b);b=this.b.lp;A(B(b))||a("googleapis.config/root-1p",(-1==b.indexOf("://")?"//":"")+b);a("googleapis.config/sessionIndex",Ti("SESSION_INDEX"));q("gapi.client.setApiKey")(this.b.innertubeApiKey)\};tC.prototype.toString=function()\{return this.topic\};var psa=q("yt.pubsub2.instance_")||new tg;tg.prototype.subscribe=tg.prototype.subscribe;tg.prototype.unsubscribeByKey=tg.prototype.Nc;tg.prototype.publish=tg.prototype.Rb;tg.prototype.clear=tg.prototype.clear;g.ba("yt.pubsub2.instance_",psa,void 0);var wC=q("yt.pubsub2.subscribedKeys_")||\{\};g.ba("yt.pubsub2.subscribedKeys_",wC,void 0);var yC=q("yt.pubsub2.topicToKeys_")||\{\};g.ba("yt.pubsub2.topicToKeys_",yC,void 0);var xC=q("yt.pubsub2.isAsync_")||\{\};g.ba("yt.pubsub2.isAsync_",xC,void 0);\
|
|
g.ba("yt.pubsub2.skipSubKey_",null,void 0);var CC=window.performance||window.mozPerformance||window.msPerformance||window.webkitPerformance||\{\};z(BC,sC);var uC=new tC("timing-sent",BC);var Sba=\{vc:!0\},Pba=/^mark_/i,NC=\{ad_at:"adType",cpn:"clientPlaybackNonce",csn:"clientScreenNonce",yt_lt:"loadType",yt_ad:"isMonetized",yt_ad_pr:"prerollAllowed",yt_red:"isRedSubscriber",yt_vis:"isVisible"\},Qba=["isMonetized","prerollAllowed","isRedSubscriber","isVisible"],Rba=x(CC.clearResourceTimings||CC.webkitClearResourceTimings||CC.mozClearResourceTimings||CC.msClearResourceTimings||CC.oClearResourceTimings||r,CC);mD.prototype.toString=function()\{return this.start+"-"+(null==this.end?"":this.end)\};pD.prototype.start=function()\{this.g=!0\};\
|
|
pD.prototype.reset=function()\{this.b=this.g=!1\};FD.prototype.skip=function(a)\{this.b+=a\};z(VD,sk);hE.prototype.ba=function(a)\{switch(a.info.type)\{case 1:case 2:this.X(a);break;case 4:var b=a.info.b.lt(a);a=a.info;var c=this.b;c&&c.b==a.b&&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.A==a.A&&c.g==a.g&&c.o==a.o&&(this.b=$a(b).info);D(b,this.ba,this);break;case 3:this.C+=hca(this.o,a)\}\};\
|
|
hE.prototype.X=function(a)\{if(gG(a.info.b.info)&&"9h"!=a.info.b.info.o&&1==a.info.type)\{var b=new window.DataView(a.b),c=new LD(b);SD(c);RD(c,408125543);c=ND(c);RD(c,374648427);c=ND(c);RD(c,174);c=ND(c);RD(c,224);c=ND(c);if(RD(c,21936))\{var d=c.o+c.b,c=MD(c,!0);b.setUint8(d-2,236);b.setUint8(d-1,128|c+1)\}\}a.info.b.Xl(a)\};\
|
|
hE.prototype.aa=function(a)\{this.A=a=a.info;this.M&&this.A.C&&(this.M=!1);this.R=Math.max(this.R,a.b.info.b)\};\
|
|
hE.prototype.N=function(a)\{a.dispose();this.C-=iE(a)\};LE.prototype.verify=function()\{if(this.info.o!=this.range.length)return!1;if(1==this.info.b.info.g)\{if(8>this.info.o||4==this.info.type)return!0;var a=$D(this),b=a.getUint32(0,!1),a=a.getUint32(4,!1);if(2==this.info.type)return b==this.info.o&&1936286840==a;if(3==this.info.type&&0==this.info.g)return 1836019558==a||1936286840==a||1937013104==a||1718909296==a||1701671783==a||1936419184==a\}else if(2==this.info.b.info.g)\{if(4>this.info.o||4==this.info.type)return!0;a=$D(this);b=a.getUint32(0,!1);if(3==\
|
|
this.info.type&&0==this.info.g)return 524531317==b||440786851==b\}return!0\};var sca=0;h=ME.prototype;h.ZF=function(a)\{this.status=a.status;a.ok?(this.o=a.body.getReader(),this.B?(this.D=a.headers,this.J(),this.C=new window.Uint8Array(NE(this)),PE(this)):this.o.cancel("Cancelling")):this.mk()\};\
|
|
h.AC=function(a)\{if(this.B)if(C(),a.done)this.o=null,this.mk();else\{a=a.value;this.A+=a.length;var b=a.length>=Math.max(NE(this)/2,16384),c=a.length+this.b>NE(this);(b||c)&&0!==this.b&&OE(this);b?this.g.push(a):(this.C.set(a,this.b),this.b+=a.length);this.B(\{timeStamp:C(),loaded:this.A\});PE(this)\}\};\
|
|
h.mk=function()\{this.B&&(this.F=!0,this.G())\};\
|
|
h.kf=function(a)\{return this.D.get(a)\};\
|
|
h.xq=function()\{return!!this.D\};\
|
|
h.xl=function()\{return this.A\};\
|
|
h.lg=function()\{return+this.kf("content-length")\};\
|
|
h.wq=function()\{return 200<=this.status&&300>this.status&&!!this.A\};\
|
|
h.nr=function()\{return!!this.g.length||this.F&&0<this.b\};\
|
|
h.St=function()\{this.g.length||OE(this);return this.g.shift()\};\
|
|
h.Xu=function()\{this.g.length||OE(this);return this.g[0]\};\
|
|
h.Wu=function()\{this.o&&this.o.cancel("Cancelling");this.G=this.B=null\};h=QE.prototype;h.eI=function(a)\{if(!this.g)\{this.status=this.b.status;try\{this.response=this.b.response\}catch(b)\{\}this.o=!0;this.A(a)\}\};\
|
|
h.gI=function()\{2==this.b.readyState&&this.B()\};\
|
|
h.fI=function(a)\{this.g||(this.status=this.b.status,this.C(a))\};\
|
|
h.xq=function()\{return 2<=this.b.readyState\};\
|
|
h.kf=function(a)\{try\{return this.b.getResponseHeader(a)\}catch(b)\{return Zi(b),""\}\};\
|
|
h.lg=function()\{return+this.kf("content-length")\};\
|
|
h.xl=function()\{return this.response.byteLength\};\
|
|
h.wq=function()\{return 200<=this.status&&300>this.status&&!!this.response&&!!this.response.byteLength\};\
|
|
h.nr=function()\{return this.o&&!!this.response&&!!this.response.byteLength\};\
|
|
h.St=function()\{var a=this.response;this.response=null;return new window.Uint8Array(a)\};\
|
|
h.Xu=function()\{return new window.Uint8Array(this.response)\};\
|
|
h.Wu=function()\{this.g=!0;this.b.abort()\};RE.A=!1;RE.g=1E4;RE.b=2048;RE.o="X-Bandwidth-Est";h=RE.prototype;h.kb=function()\{return this.F\};\
|
|
h.start=function(a)\{var b=1==this.state,c=7==this.state;1==this.state||5==this.state||c&&VE(this);WE(this,2);this.ba=0<=a?a:window.NaN;if(c)\{var d=UE(this),c=2<=this.D;if(d=this.A.La&&0<d.af&&0==d.Yt)d=this.info.g,d=!(this.G>d.o&&1<=d.g);if(d||c)\{c=this.info.g;if(!(this.G<=c.o))\{c.g++;c.o=w$-1;var d=zG(c.A),e=new L(d);e.g.match("\\\\.googlevideo\\\\.com$")?(dh(e,"redirector.googlevideo.com"),d=e.toString()):e.g.match("r[1-9].*\\\\.c\\\\.youtube\\\\.com$")?(dh(e,"www.youtube.com"),d=e.toString()):d=Kp(d);c.b=\
|
|
new yG(d);c.g&&(d=""+c.g,c.b.set("cmo=pf",d),c.A.set("cmo=pf",d))\}this.D=0\}else\{this.D++;b=1E4*(.5+Math.random());1==this.D&&(b=2E3);Vi(x(this.Un,this,a),b);return\}\}b?this.Un(a):Vi(x(this.Un,this,a),0)\};\
|
|
h.Un=function(a)\{if(!this.isDisposed())\{this.G=w$++;if(this.o)\{var b=this.info,c=this.o.b;this.H=b.range?new mD(b.range.start+c,b.range.end):oD(c,this.o.length);this.g=kB(this.info,this.H)\}else this.H=this.info.range,this.g=kB(this.info);this.g.set("rn",this.G.toString());this.D&&this.g.set("playerretry",this.D.toString());0<=a&&this.g.set("rbuf",(1E3*a).toFixed().toString());this.info.A&&this.g.set("headm",Math.max(0,this.A.liveChunkReadahead-1).toString());a=jB(this.g);try\{var d=x(this.HF,this),\
|
|
e=x(this.KF,this),f=x(this.JF,this),k=x(this.IF,this);this.b=(this.A.H||this.A.ga&&5>this.ba)&&"function"==typeof window.fetch&&window.ReadableByteStream&&XE(this)?new ME(a,e,f,d,k):new QE(a,e,f,d,k)\}catch(l)\{this.F="net.ssl",WE(this,7)\}0<this.A.G&&(this.C=Vi(x(this.jt,this),this.A.G));this.g.get("itag");this.g.get("range");C()\}\};\
|
|
h.KF=function()\{this.J=0;UE(this).af+=1;var a=this.timing;a.g=C();a.C=a.g;a.b=0;a.K=!1;a.H=!1;a.B=0;a.G=uK(a.o);eF(a);a.M=a.F-a.g\};\
|
|
h.JF=function(a)\{if(!this.isDisposed())\{this.B=this.b.status;aF(this,!1);var b=this.timing,c=a.timeStamp;a=a.loaded;c=c>b.g&&4E12>c?c:C();50>c-b.C||dF(b,c,a);b=this.timing;b.b>b.N&&8192<b.b&&4>this.state?WE(this,4):ZE(this)&&lE(this)&&WE(this,Math.max(3,this.state))\}\};\
|
|
h.IF=function()\{!this.isDisposed()&&!this.M&&this.b.xq()&&this.b.kf("X-Walltime-Ms")&&(this.M=(C()-this.b.kf("X-Walltime-Ms"))/1E3)\};\
|
|
h.HF=function()\{var a=this.b;if(!this.isDisposed())\{this.C&&(Xi(this.C),this.C=window.NaN);this.B=a.status;var b=!1;if(400<=a.status)b=!0,this.F="net.badstatus";else if(a.wq())\{var c="";$E(this)&&(c=a.Xu(),2048<c.length?c="":(c=String.fromCharCode.apply(String,c),c=CG.test(c)?c:""));if(c)\{var a=this.info.g,d=this.g;d.b===a.b&&(a.b=Nca(d,c));WE(this,5)\}else\{var c=a.lg(),a=a.xl(),d=!!this.H&&this.H.length,e=!0;!c&&d?e=d==a:!d&&c?e=c==a:d&&c&&(e=d==c&&c==a);e?(aF(this,!0),e=XE(this)?this.b.kf("X-Bandwidth-Est"):\
|
|
0,c=this.timing,d=C(),e=e?(0,window.parseInt)(e,10):0,c.K||(c.K=!0,d=d>c.g&&4E12>d?d:C(),dF(c,d,a),c.D&&e?cF(c.o,c.b/e,c.b):(e=(d-c.g)/1E3,(e<=c.o.b.o||!c.o.b.o)&&!c.H&&8192<=c.b&&cF(c.o,e,a),8192<=c.b&&tK(c.o,a,c.B)),sK(c.o,(d-c.g)/1E3,c.b),c.A&&(c.A=!1)),C(),UE(this).Yt+=1,WE(this,6)):(b=!0,this.F="net.closed")\}\}else b=!0,this.F="net.connect";b&&(VE(this),WE(this,7),C())\}\};\
|
|
h.jt=function()\{this.C=window.NaN;if(!(this.isDisposed()||this.A.Na&&this.b&&8192<=this.timing.b&&"quic"==this.b.kf("client-protocol")))\{var a=C(),b=!1;if(8192<=this.timing.b)\{var c=this.timing.F;eF(this.timing);this.timing.F-c>=.8*this.A.G?(this.J++,b=5<=this.J):this.J=0\}else b=this.timing,b=5E3<a-(b.g+1E3*b.G.delay);b?(b=this.timing,a=a>b.g&&4E12>a?a:C(),c=(a-b.g)/1E3,b.D||(8192<=b.b?(b.B+=(a-b.C)/1E3,tK(b.o,b.J,b.B)):bF(b.o,c)),sK(b.o,c,b.b),YE(this),this.F="net.timeout",WE(this,7)):this.C=Vi(x(this.jt,\
|
|
this),this.A.G)\}\};\
|
|
h.isDisposed=function()\{return-1==this.state\};\
|
|
h.dispose=function()\{mE(this.info.b[0])&&6!=this.state&&(this.info.b[0].b.o=!1);WE(this,-1);this.K=null;YE(this);Xi(this.C);this.C=window.NaN\};z(gF,sk);gF.D=!1;gF.b=2/24;gF.B=1E3;gF.A=.2;gF.g=1E4;gF.C=1800;gF.o="Not enough storage";h=gF.prototype;h.initialize=function(a,b,c,d)\{a=a||0;var e=this.D;d=d&&d.id;e.B="i";"auto"!=yu()&&(e.B="s");cD(e,b);Yba(e,d);e.J=e.A;Zba(e);e.o=e.D;b=kD(e);this.o=new hE(this.A,b.audio);this.g=new hE(this.A,b.video);AF(this,this.o);AF(this,this.g);this.g.o.D=this.o.o;this.Y("videoformatchange",b);this.C=a;c?(this.F=!0,vF(this)):jF(this)\};\
|
|
h.resume=function()\{this.F&&(this.F=!1)\};\
|
|
h.By=function(a)\{this.o.K=!1;this.g.K=!1;this.o.A=null;this.g.A=null;this.resume();this.b=a;Xz(a)&&(a.b.addEventListener("updateend",x(this.dd,this),!1),a.g.addEventListener("updateend",x(this.dd,this),!1),a.b.addEventListener("error",x(this.wj,this,!0),!1),a.g.addEventListener("error",x(this.wj,this,!1),!1));iF(this,"msa");IC("msa",void 0,"video_to_ad");CC.measure&&CC.getEntriesByName("vta").length&&CC.measure("measure_vta_to_msa","vta");this.ba&&this.M&&yx();this.dd();this.ea=Wi(x(this.dd,this),\
|
|
1E4)\};\
|
|
h.GE=function(a)\{if(!this.isDisposed()&&3<=a.state)\{var b=a.info.b[0].b,c=!this.ba&&b.info.video,d=!this.M&&b.info.audio,e=Math.max(0,a.info.b[0].B-this.C);if(5==a.state)c?iF(this,"vrr"):d&&iF(this,"arr"),a.start(e);else if(6==a.state||this.A.H&&3<=a.state&&!(5<=a.state))\{c?(this.ba=a.g?jB(a.g):"",zx()):d&&(this.M=a.g?jB(a.g):"");b=b.info.video?this.g:this.o;this.B.g&&(b.H=!1,a.M&&this.la.b(1,a.M));if(e=mE(a.info.b[0]))e=a.info,e=!!mE(e.b[e.b.length-1]);e&&D(a.o.o,b.X,b);this.dd()\}else if(4==a.state)this.dd(),\
|
|
c&&zx();else if(7==a.state&&VE(a))\{if(this.Oc(!1,a.kb(),TE(a)),!this.isDisposed())\{if(c=b.info.video&&(0<a.D||410==a.B||500==a.B||503==a.B)&&90&&!hD(this.D))\{var d=this.D,f=b.info;hD(d);d.ba=f;d.M=Bq();d.K=-1;cD(d,d.b)\}d=8192<=a.timing.b&&a.A.Aa;if((a.info.b[0].b.Yc()||d)&&7==a.state&&("net.timeout"==a.F||"net.connect"==a.F&&204==a.B)||c)\{b=b.info.video?this.g:this.o;for(e=0;e<b.B.length&&a!==b.B[e];e++);if(e==b.B.length)a.dispose();else\{for(;e<b.B.length;)b.N(b.B.pop());3==a.info.b[0].type?(a.o&&\
|
|
a.o.A?(a=a.o.A,a=new IE(a.type,a.b,a.range,a.A,a.startTime+a.duration,0,a.g+a.o,0,!1)):(a=a.info.b[0],a=new IE(a.type,a.b,a.range,a.A,a.startTime,0,a.g,0,!1)),b.b=a):b.b=null\}this.dd()\}else a.start(e)\}\}else mE(a.info.b[0])?(b.A=!0,this.dd()):this.Oc(!0,"net.retryexhausted",TE(a))\}\};\
|
|
h.dd=function()\{this.ga=window.NaN;mF(this);if(this.b&&Sz(this.b)&&!Vz(this.b))if(this.B.isLive)(0,window.isNaN)(this.H)?(this.H=this.C+3600,Tz(this.b,this.H)):this.H<=this.C+1800&&(this.H+=1800,Tz(this.b,this.H));else\{var a=Math.max(this.o.g.index.Xg(),this.g.g.index.Xg());(!(0,window.isFinite)(this.H)||this.H!=a)&&0<a&&(Tz(this.b,a),this.H=a)\}if(!this.isDisposed())if(cH(this.B)&&3==this.B.D)this.Oc(!0,"manifest.net.retryexhausted",\{rc:this.B.H.toString()\});else if(this.B.isLive&&(GE(this.g)||GE(this.o))&&\
|
|
(a=BF(this),(0,window.isNaN)(a)||this.seek(a)),"prerender"==window.document.webkitVisibilityState)vF(this);else if(mF(this),nE(this.g),!this.isDisposed()&&(nE(this.o),!this.isDisposed()))\{if(this.B.g)\{HE(this.g);HE(this.o);var b=-1!=this.g.G,a=-1!=this.o.G;if(!b||!a)if(b=!b&&WD(this.g.o),a=!a&&WD(this.o.o),b||a)\{var a=b?this.g:this.o,b=b?this.o:this.g,c=WD(a.o).info.A;if(-1!=b.G&&b.G!=c)\{var d=b.G;zE(a,0);xE(a,window.Infinity);a.b.A=d-1;this.Oc(!1,"qoe.avsync",\{start:"1",target:b.G,actual:c\})\}else a.G=\
|
|
c\}WD(this.g.o)&&(this.ca=WD(this.g.o).o.g)\}this.o.g.o||(!this.F||oF(this.G)?jF(this):vF(this));!this.b||nF(this,this.o,this.b.b)||nF(this,this.g,this.b.g)||((a=zF(this,this.g,this.b.g,null,this.o.F))&&!this.aa&&(this.aa=C(),iF(this,"vda"),IC("vda",void 0,"video_to_ad"),this.X&&zx()),b=mC(this.b.g.buffered,this.C+gF.b),(0,window.isNaN)(b)&&!wE(this.g)&&this.b.b.buffered.length||(wE(this.g)&&(b=window.NaN),b=zF(this,this.o,this.b.b,b,null),a|=b,b&&!this.X&&(this.X=C(),iF(this,"ada"),IC("ada",void 0,\
|
|
"video_to_ad"),this.aa&&zx())),wE(this.g)&&wE(this.o)&&Sz(this.b)&&!Vz(this.b)&&(b=this.b,Sz(b)&&b.o.endOfStream(),rK(this.G)),a&&!Xz(this.b)&&uF(this));EF(this,this.g,eD(this.D));EF(this,this.o,fD(this.D));this.g.g.A||this.o.g.A?this.Oc(!0,"net.retryexhausted",\{metadata:"1",video:this.g.g.A?"1":"0",audio:this.o.g.A?"1":"0"\}):(qF(this,this.g,this.o)&&tF(this,this.g,this.o),qF(this,this.o,this.g)&&tF(this,this.o,this.g),this.A.ha&&this.R&&!this.F&&oF(this.G)&&(a=this.R,this.R="",b=Mg(a),dk(a,\{format:"RAW",\
|
|
responseType:"arraybuffer",timeout:15E3,onError:x(this.Oc,this,!1,"pathprobe.net",\{shost:b\})\})),this.B.o&&vF(this))\}\};\
|
|
h.wj=function(a)\{a=(a=a?this.o:this.g)&&a.A;this.Oc(!0,"fmt.unplayable",a?YD(a):void 0)\};\
|
|
h.HD=function(a)\{this.Oc(!0,"fmt.unparseable",a)\};\
|
|
h.cF=function(a)\{this.Oc(!1,"qoe.avsync",a)\};\
|
|
h.seek=function(a)\{if(!(this.isDisposed()||this.g.H||this.o.H))\{mF(this);this.ia=Bq();this.g.g=eD(this.D);var b=CF(this,this.g,a,this.b&&this.b.g);this.o.g=fD(this.D);var c=CF(this,this.o,b,this.b&&this.b.b);this.C=Math.max(a,b,c);this.K=!0;uF(this)\}\};\
|
|
h.T=function()\{lF(this);this.o&&(yE(this.o),yE(this.g));Yi(this.ea);Xi(this.N);this.g=this.o=null;gF.L.T.call(this)\};\
|
|
h.Oc=function(a,b,c)\{this.isDisposed()||(this.Y("error",new dC(b,a,c)),a&&(this.b&&Sz(this.b)&&(a=this.b,Sz(a)&&a.o.endOfStream("network")),this.dispose()))\};var iH=\{playready:["com.youtube.playready","com.microsoft.playready"],widevine:["com.widevine.alpha"]\},dda=rb(iH.widevine,iH.playready);z(NF,F);h=NF.prototype;h.fJ=function(a)\{this.D.call(this.o,new window.Uint8Array(a.message))\};\
|
|
h.gJ=function()\{this.H.call(this.o,vca(this))\};\
|
|
h.Nr=function(a,b)\{Zi(b);var c=a;b instanceof window.DOMException&&(c+=";n."+b.name+";m."+b.message);this.C.call(this.o,c)\};\
|
|
h.ws=function(a)\{this.D.call(this.o,a.message)\};\
|
|
h.vs=function(a)\{var b;this.b?(b=this.b.error.code,a=this.b.error.systemCode):(b=a.errorCode&&a.errorCode.code,a=a.systemCode);this.C.call(this.o,";c."+b+";sc."+a)\};\
|
|
h.us=function()\{this.G.call(this.o)\};\
|
|
h.update=function(a)\{this.g?this.g.update(a).then(null,Ui(x(this.Nr,this,"t.u"))):this.b?this.b.update(a):this.B.addKey?this.B.addKey(this.J.g,a,this.F,this.sessionId):this.B.webkitAddKey(this.J.g,a,this.F,this.sessionId)\};\
|
|
h.T=function()\{this.B=null;NF.L.T.call(this)\};z(OF,F);h=OF.prototype;\
|
|
h.createSession=function(a)\{var b=a.b;if(this.b.o)\{var c=this.D.createSession(),b=c.generateRequest(a.contentType,b),c=new NF(null,null,null,c,null);b.then(null,Ui(x(c.Nr,c,"t.g")));return c\}if(JF(this.b))\{c=new window.Uint8Array(270);for(a=0;135>a;a++)c[2*a]='<PlayReadyCDMData type="LicenseAcquisition"><LicenseAcquisition version="1.0" Proactive="true"></LicenseAcquisition></PlayReadyCDMData>'.charCodeAt(a);b=this.o.createSession("video/mp4",b,c);return new NF(null,null,null,null,b)\}if(KF(this.b))\{c=\
|
|
b.subarray(4);c=String.fromCharCode.apply(null,new window.Uint16Array(c.buffer,c.byteOffset,c.byteLength/2)).match(/ek=([0-9a-f]+)/)[1];a="";for(var d=0;d<c.length;d+=2)a+=String.fromCharCode((0,window.parseInt)(c.substr(d,2),16));for(var e=this.b.fairPlayCert,c=new window.Uint8Array(new window.ArrayBuffer(e.length)),d=0;d<e.length;d++)c[d]=e.charCodeAt(d);for(var d=new window.ArrayBuffer(2*a.length),e=new window.Uint16Array(d),f=0;f<a.length;f++)e[f]=a.charCodeAt(f);a=new window.Uint8Array(d);d=\
|
|
0;f=new window.ArrayBuffer(b.byteLength+4+a.byteLength+4+c.byteLength);e=new window.Uint8Array(f);f=new window.DataView(f);e.set(b);d+=b.byteLength;f.setUint32(d,a.length,!0);d+=4;e.set(a,d);d+=a.length;f.setUint32(d,c.byteLength,!0);e.set(c,d+4);b=this.o.createSession("video/mp4",e);return new NF(null,null,null,null,b)\}this.g.generateKeyRequest?this.g.generateKeyRequest(this.b.g,b):this.g.webkitGenerateKeyRequest(this.b.g,b);return this.A=new NF(this.g,this.b,b,null,null)\};\
|
|
h.jJ=function(a)\{var b=QF(this,a);b&&b.ws(a)\};\
|
|
h.iJ=function(a)\{var b=QF(this,a);b&&b.vs(a)\};\
|
|
h.hJ=function(a)\{(a=QF(this,a))&&a.us()\};\
|
|
h.T=function()\{this.g=null;OF.L.T.call(this)\};RF.prototype.get=function(a)\{a=SF(this,a);return-1!=a?this.values[a]:null\};\
|
|
RF.prototype.remove=function(a)\{a=SF(this,a);-1!=a&&(this.keys.splice(a,1),this.values.splice(a,1))\};\
|
|
RF.prototype.set=function(a,b)\{var c=SF(this,a);-1!=c?this.values[c]=b:(this.keys.push(a),this.values.push(b))\};z(UF,F);h=UF.prototype;h.Zu=function(a)\{this.G=a\};\
|
|
h.jI=function(a)\{if(!this.isDisposed())\{this.D||(this.D=!0,this.b.Y("newsession",this));if(JF(this.o))\{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(br(a.childNodes[0].data))\}if(KF(this.o))for(b=Zq(a),a=new window.Uint8Array(new window.ArrayBuffer(b.length)),c=0;c<b.length;c++)a[c]=b.charCodeAt(c);a=new Aca(a,++this.H);this.Dt(a)\}\};\
|
|
h.hI=function()\{this.isDisposed()||this.C||(this.b.Y("sessionready"),this.C=!0)\};\
|
|
h.kI=function(a)\{this.isDisposed()||this.b.Y("keystatuseschange",Cca(a,this.F))\};\
|
|
h.Dt=function(a)\{a=\{format:"RAW",method:"POST",postBody:a.message,responseType:"arraybuffer",withCredentials:!0,sb:x(this.yD,this,a),onError:x(this.ds,this,a)\};var b=this.B;this.G&&(b=bh(b,"access_token",this.G));dk(b,a)\};\
|
|
h.yD=function(a,b)\{if(!this.isDisposed())if(0!=b.status&&b.response)\{var c;c=new window.Uint8Array(b.response);var d=String.fromCharCode.apply(String,c.subarray(0,16384)),e=d.indexOf("\\r\\n"),f=d.indexOf("\\r\\n\\r\\n"),k;-1==f?c=null:(k=d.slice(0,e).match(/^GLS\\/1.\\d ([0-9]\{1,3\}) (\\w+)$/),null==k?c=null:(k=Ya(k[1]),d=qD(d.slice(e+2)),c=null==d?null:new zca(k,d,c.subarray(f+4))));if(c)if(0!=c.b)VF(this,"drm.auth",!0,"t.f;c."+c.b,rq(c.b));else\{f=null;(d=c.headers["Heartbeat-Url"])&&(f=new yca(d,(0,window.parseInt)(c.headers["Heartbeat-Interval-Secs"],\
|
|
10)||60,(0,window.parseInt)(c.headers["Heartbeat-Num-Retries"],10)||4));f&&this.b.Y("newlicense",f);if(d=f=c.headers["Authorized-Format-Types"])d=this.g,d=!(d.g&&d.g.keyStatuses);d&&(f=f?f.split(","):null,this.b.Y("keystatuseschange",f&&ib(f,"HD")?"auto":"large"));c.headers["Key-Ids"]&&(this.F=Dca(c.headers["Key-Ids"]));KF(this.o)&&(c.message=new window.Uint8Array(br(String.fromCharCode.apply(null,c.message))));this.g.update(c.message)\}else VF(this,"drm.net",!0,"t.p","YTP_ERROR_SERVER_ERROR")\}else this.ds(a,\
|
|
b)\};\
|
|
h.iI=function(a)\{this.isDisposed()||VF(this,"drm.keyerror",!0,"t.s"+a)\};\
|
|
h.ds=function(a,b)\{var c,d=!1;a.b||this.J?(c="drm.net.retryexhausted",d=!0):c=b.status?"drm.net.badstatus":"drm.net.connect";VF(this,c,d,"t.r;c."+b.status);d||this.H!=a.number||(a.b=!0,Vi(x(this.Dt,this,a),5E3))\};\
|
|
h.T=function()\{this.b=null;UF.L.T.call(this)\};z(YF,sk);h=YF.prototype;h.bD=function(a)\{a=new WF(new window.Uint8Array(a.initData),a.initDataType);$F(this,a,!0)\};\
|
|
h.UD=function(a)\{$F(this,new WF(a.initData,a.contentType),!0)\};\
|
|
h.GD=function()\{this.isDisposed()||(this.C=!0,this.g.length&&ZF(this,this.g[0]))\};\
|
|
h.lC=function(a)\{if(!this.isDisposed())\{Zi(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")\}\};\
|
|
h.WD=function(a)\{this.isDisposed()||!a||this.M||(this.M=a,this.Y("heartbeatparams",a))\};\
|
|
h.XD=function()\{this.isDisposed()||(this.g.shift(),this.g.length&&ZF(this,this.g[0]))\};\
|
|
h.PE=function()\{if(JF(this.b)&&(this.K--,0==this.K))\{var a=this.A;a.g.msSetMediaKeys(a.o)\}\};\
|
|
h.lI=function(a)\{this.isDisposed()||JF(this.b)||"auto"!=a||this.B==Zy||(this.B=Zy,this.Y("qualitychange"))\};\
|
|
h.T=function()\{this.b.o&&this.D.setMediaKeys(null);this.D=null;this.g=[];D(this.o.values,function(a)\{a.dispose()\});\
|
|
xca(this.o);YF.L.T.call(this)\};aG.prototype.B=function()\{var a=q("yt.abuse.botguardInitialized");return a&&a()?(a=q("yt.abuse.invokeBotguard")())?"r1a="+a:null:null\};\
|
|
aG.prototype.C=function(a)\{return"r3a="+Math.floor(this.b.lengthSeconds%Va(a.c3a))\};\
|
|
aG.prototype.A=function(a)\{a=Va(a.c);var b;b=q("yt.abuse.dclkstatus.checkDclkStatus")();return"r6a="+(a^b)\};z(iG,F);h=iG.prototype;h.start=function()\{this.g.start()\};\
|
|
h.stop=function()\{this.g.stop()\};\
|
|
h.ib=function(a,b,c)\{this.o[a]=b;this.b[a]=new kG(!!c)\};\
|
|
h.clear=function()\{for(var a in this.b)this.b[a].clear()\};\
|
|
h.kG=function()\{for(var a in this.o)this.b[a].update(this.o[a]());this.g.start()\};\
|
|
kG.prototype.update=function(a)\{this.o?(gC(this.b,a-this.g),this.g=a):gC(this.b,a)\};\
|
|
kG.prototype.clear=function()\{this.b.clear();this.g=0\};mG.prototype.isEmpty=function()\{return this.endTime==this.startTime\};nG.prototype.getVisibilityState=function()\{return lG(this.b)\};vG.prototype.g=function()\{return this.name\};\
|
|
vG.prototype.getId=function()\{return this.id\};\
|
|
vG.prototype.b=function()\{return this.isDefault\};\
|
|
vG.prototype.toString=function()\{return this.name\};\
|
|
vG.prototype.getName=vG.prototype.g;vG.prototype.getId=vG.prototype.getId;vG.prototype.getIsDefault=vG.prototype.b;wG.prototype.o=1.3;yG.prototype.set=function(a,b)\{this.b[a]!==b&&(this.b[a]=b,this.g="")\};\
|
|
yG.prototype.get=function(a)\{AG(this);return this.b[a]||null\};\
|
|
yG.prototype.clone=function()\{var a=new yG(this.o);a.C=this.C;a.A=this.A;a.B=this.B;a.b=hc(this.b);a.g=this.g;return a\};h=JG.prototype;h.hf=function(a)\{return(a=KG(this,a))?a.duration:0\};\
|
|
h.Ti=function(a)\{return this.hf(a)\};\
|
|
h.ng=function()\{return this.ra.length?this.ra[0].b:-1\};\
|
|
h.Qb=function()\{return this.ra.length?this.ra[this.ra.length-1].b:-1\};\
|
|
h.Xg=function()\{var a=this.ra[this.ra.length-1];return a?a.endTime:window.NaN\};\
|
|
h.Vu=function()\{return this.ra[0].startTime\};\
|
|
h.Jl=function()\{return this.ra.length\};\
|
|
h.kk=function()\{return 0\};\
|
|
h.Af=function(a)\{return(a=Kca(this,a))?a.b:-1\};\
|
|
h.jq=function(a)\{return KG(this,a).g\};\
|
|
h.ze=function(a)\{return(a=KG(this,a))?a.startTime:0\};\
|
|
h.jf=function()\{return 0<this.ra.length\};MG.prototype.set=function(a,b)\{this.b.get(a);this.g[a]=b;this.o=""\};\
|
|
MG.prototype.get=function(a)\{return this.g[a]||this.b.get(a)\};var w$=0;h=NG.prototype;h.jd=v;h.Tn=v;h.Gm=function()\{return!1\};\
|
|
h.Yc=function()\{return!!this.b&&!!this.index&&this.index.jf()\};\
|
|
h.Zg=v;h.Yu=function()\{return!1\};\
|
|
h.Hl=v;h.Yg=v;h.lk=v;h.qg=v;h.Xl=v;h.lt=function(a)\{return[a]\};\
|
|
h.Jj=function(a)\{return[a]\};z(PG,NG);h=PG.prototype;h.jd=function()\{return!1\};\
|
|
h.Tn=function()\{return this.g\};\
|
|
h.Yu=function()\{return this.B\};\
|
|
h.Hl=function()\{return this.g||this.B?[]:[new OG([new IE(1,this,this.initRange)],this.F)]\};\
|
|
h.lk=function(a)\{this.Zg(a);return QG(this,a.C?a.A+1:a.A,!1)\};\
|
|
h.qg=function(a,b)\{if(this.g&&ha(a)&&!(0,window.isFinite)(a))return new OG([new IE(3,this,null,-1)],"",!0);var c=this.index.Af(a);b&&(c=Math.min(this.index.Qb(),c+1));return QG(this,c,!0)\};\
|
|
h.Xl=function(a)\{this.b=new window.Uint8Array($D(a).buffer)\};\
|
|
h.Gm=function()\{return!1\};\
|
|
h.Zg=function(a)\{return 0==a.o||this.g?!0:this.index.Qb()>a.A&&this.index.ng()<=a.A+1\};\
|
|
h.update=function(a,b,c)\{var d=this.index;if(0!=a.length)if(a=sb(a),0==d.ra.length)d.ra=a;else\{var e=d.ra.length?$a(d.ra).endTime:0,f=a[0].b-d.Qb();1<f&&lb(d.ra);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.ra.push(a[f])\}\}LG(this.index,c);this.D=b\};\
|
|
h.Yc=function()\{return this.g||this.B?!0:PG.L.Yc.call(this)\};RG.prototype.update=function(a,b)\{var c=void 0;this.g&&(c=this.g);var d=new RG,e=a.getElementsByTagName("S");if(e.length)\{var f=+GG(a,"timescale")||1,k=+GG(a,"startNumber")||0,l;l=((+e[0].getAttribute("t")||0)-(+GG(a,"presentationTimeOffset")||0))/f;l=c?c.ae+c.durationSecs:b?l:0;var m;m=Date.parse(GG(a,"yt:segmentIngestTime"));var n=Date.parse(GG(a,"yt:mpdResponseTime")),n=C()-n;m=(m+n)/1E3;n=c?k-c.b:1;d.A=0<n?0:-n+1;for(n=0;n<e.length;n++)for(var t=e[n],u=+t.getAttribute("d")/f,y=(t.getAttribute("yt:sid")||\
|
|
0)/f,E=+t.getAttribute("r")||0,G=0;G<=E;G++)if(c&&k<=c.b)k++;else\{var Y=new Pca(k,l,u,m+y);d.b.push(Y);var N;N=t;var Q=f,cb=Y.ae,Ab=N.getAttribute("yt:cuepointTimeOffset"),Y=N.getAttribute("yt:cuepointDuration");Ab&&Y?(cb=+Ab/Q+cb,Q=+Y/Q,N=N.getAttribute("yt:cuepointContext")||null,N=new rD(cb,Q,N)):N=null;N&&d.o.push(N);k++;l+=u;m+=u+y\}d.b.length&&(d.g=$a(d.b))\}this.A=d.A;this.g=d.g||this.g;tb(this.b,d.b);tb(this.o,d.o)\};h=SG.prototype;h.kk=function(a)\{return this.b[a]\};\
|
|
h.ze=function(a)\{return this.g[a]/this.A\};\
|
|
h.hf=function(a)\{a=this.Ti(a);return 0<=a?a/this.A:-1\};\
|
|
h.Ti=function(a)\{return a+1<this.ya||this.o?this.g[a+1]-this.g[a]:-1\};\
|
|
h.ng=function()\{return 0\};\
|
|
h.Qb=function()\{return this.ya-1\};\
|
|
h.Xg=function()\{return this.o?this.g[this.ya]/this.A:window.NaN\};\
|
|
h.Vu=function()\{return 0\};\
|
|
h.Jl=function()\{return this.ya\};\
|
|
h.jq=function()\{return""\};\
|
|
h.Af=function(a)\{a=zb(this.g.subarray(0,this.ya),a*this.A);return 0<=a?a:Math.max(0,-a-2)\};\
|
|
h.jf=function()\{return 0<=this.Qb()\};z(UG,NG);h=UG.prototype;h.Hl=function(a)\{var b=new IE(1,this,this.initRange),c=new IE(2,this,this.indexRange),d=[],e=[b];JE(b,c)?e.push(c):(d.push(new OG([c])),a=0);(0,window.isNaN)(this.g)?a=0:a>this.g&&(a=this.g);b=e[e.length-1];c=b.range.end-e[0].range.start+1;a>c&&e.push(new IE(4,this,oD(b.range.end+1,a-c)));d.push(new OG(e));return d\};\
|
|
h.Xl=function(a)\{if(1==a.info.type)\{if(this.b)return;var b;a.b.slice?b=new window.Uint8Array(a.b.slice(a.range.start,a.range.end+1)):(b=new window.Uint8Array(a.b,a.range.start,a.range.end+1),b=new window.Uint8Array(b));this.b=b\}else if(2==a.info.type)\{if(this.B||0<=this.index.Qb())return;if(1==this.info.g)\{b=this.index;var c=$D(a),d=a.info.range.start;a=0;var e=c.getUint32(0,!1),f=c.getUint8(a+8);a+=12;var k=c.getUint32(a+4,!1);b.A=k;a+=8;0==f?(f=c.getUint32(a,!1),k=c.getUint32(a+4,!1),a+=8):(f=4294967296*\
|
|
c.getUint32(a,!1)+c.getUint32(a+4,!1),k=4294967296*c.getUint32(a+8,!1)+c.getUint32(a+12,!1),a+=16);b.b[0]=k+(e+d);b.g[0]=f;b.o=!0;d=c.getUint16(a+2,!1);a+=4;for(e=0;e<d;e++)\{var l=c.getUint32(a,!1),k=c.getUint32(a+4,!1);a+=12;f=b;f.ya++;TG(f);f.b[f.ya]=f.b[f.ya-1]+l;f.g[f.ya]=f.g[f.ya-1]+k\}\}else this.B=$D(a)\}if(2==this.info.g&&this.b&&this.B)\{a=new window.DataView(this.b.buffer);b=this.index;k=this.B;c=this.indexRange.end;a=new LD(a);if(RD(a,440786851)&&(QD(a),RD(a,408125543)&&(e=a,f=e.b,d=MD(e,!0),\
|
|
e.b=f,a=ND(a),e=a.o+a.b,RD(a,357149030))))\{a=ND(a);for(var l=1E6,m=1E9,f=0;!(a.b>=a.g.byteLength);)\{var n=MD(a,!1);if(2807729==n)l=PD(a);else if(2807730==n)m=PD(a);else if(17545==n)\{var f=a,n=MD(f,!0),t=0;4==n?t=f.g.getFloat32(f.b):8==n&&(t=f.g.getFloat64(f.b));f.b+=n;f=t\}else QD(a)\}b.A=m/l;a=new LD(k);if(RD(a,475249515))\{a=ND(a);k=!0;for(l=!1;RD(a,187);)\{m=ND(a);n=e;if(RD(m,179))if(t=PD(m),RD(m,183))\{for(var m=ND(m),u=n;RD(m,241);)u=PD(m)+n;t=[u,t]\}else t=null;else t=null;k&&c==t[0]&&(l=!0);k=!1;\
|
|
l&&(t[0]+=1);m=b;n=t[0];t=t[1];TG(m);m.b[m.ya]=n;m.g[m.ya]=t;m.ya++\}c=d+e;a=f;TG(b);b.o=!0;b.g[b.ya]=a;b.b[b.ya]=c\}\}this.B=null\}\};\
|
|
h.lt=function(a)\{for(var b=this.Jj(a.info),c=[],d=a.B,e=0;e<b.length;e++)c.push(new LE(b[e],a.b,oD(b[e].range.start+b[e].g-a.info.range.start+a.range.start,b[e].o),a.g,d)),d=!1;return c\};\
|
|
h.Jj=function(a)\{for(var b=0;b<this.index.Qb()&&a.range.start>=this.index.kk(b+1);)b++;return VG(this,b,a.range.start,a.range.length).b\};\
|
|
h.Zg=function(a)\{return this.Yc()?!0:(0,window.isNaN)(this.g)?!1:a.range.end+1<this.g\};\
|
|
h.Yg=function(a,b)\{this.Zg(a);if(!this.Yc())\{var c=oD(a.range.end+1,b);c.end+1>this.g&&(c=new mD(c.start,this.g-1));return new OG([new IE(4,a.b,c)])\}4==a.type&&(c=this.Jj(a),a=c[c.length-1]);var c=0,d=a.range.start+a.g+a.o;3==a.type&&(c=a.A,d==a.range.end+1&&(c+=1));return VG(this,c,d,b)\};\
|
|
h.qg=function(a,b)\{var c=this.index.Af(a);b&&(c=Math.min(this.index.Qb(),c+1));return VG(this,c,this.index.kk(c),0)\};\
|
|
h.Gm=function()\{var a;if(a=this.Yc()&&!(0,window.isNaN)(this.g))a=this.index,a=(a.o?a.b[a.ya]:-1)!=this.g;return a\};\
|
|
h.jd=function()\{return!0\};\
|
|
h.Tn=function()\{return!1\};z(WG,sk);\
|
|
WG.prototype.X=function(a)\{var b=a.getElementsByTagName("Representation");if(0<a.getElementsByTagName("SegmentList").length)\{this.o=!0;this.A||(this.A=new Rca);Vca(this.A,a,this.ba);this.Y("refresh");for(a=0;a<b.length;a++)\{var c=aH(this,b[a]),d=this.isLive&&1==c.g&&this.aa;if(!this.b[c.id])\{var e=ZG(HG(b[a],"BaseURL").textContent,c),f=HG(b[a],"Initialization"),k=GG(f,"sourceURL"),f=nD(GG(f,"range"));d&&(k="",f=void 0);this.b[c.id]=new PG(e,c,k,null===f?void 0:f)\}for(var c=this.b[c.id],e=this.A,k=\
|
|
c,f=Za(k.info.mimeType,";",1)[0],k=e.o[k.info.id]||e.g[f]||e.b||null,e=ub(HG(b[a],"SegmentList").getElementsByTagName("SegmentURL"),k.A),k=k.b,f=[],l=0;l<e.length;l++)f.push($ca(e[l],k[l],d));c.update(f,this.isLive,this.J)\}Wca(this.A);return!0\}this.duration=IG(GG(a,"mediaPresentationDuration"));a:\{for(a=0;a<b.length;a++)\{k=b[a];d=aH(this,k);e=HG(k,"BaseURL");c=ZG(e.textContent,d);f=HG(k,"SegmentBase");k=nD(f.attributes.indexRange.value);f=nD(f.getElementsByTagName("Initialization")[0].attributes.range.value);\
|
|
e=(0,window.parseInt)(e.getAttribute("yt:contentLength"),10);d=new UG(c,d,f,k,e,window.NaN);if(!d)\{b=!1;break a\}this.b[d.info.id]=d\}b=!0\}return b\};\
|
|
var $G=\{commentary:1,alternate:2,dub:3,main:4\};WG.prototype.N=function(a)\{this.H=a.status;a=a.responseText;a=(new window.DOMParser).parseFromString(a,"text/xml").getElementsByTagName("MPD")[0];this.B=1E3*IG(GG(a,"minimumUpdatePeriod"))||window.Infinity;this.isLive=window.Infinity>this.B&&0!=this.ca;this.J=(0,window.parseInt)(GG(a,"yt:earliestMediaSequence"),10)||0;Vk(a.getElementsByTagName("Period"),this.X,this);this.D=2;this.Y("loaded");(0,window.isFinite)(this.B)&&dH(this);return this\};\
|
|
WG.prototype.R=function(a)\{this.H=a.status;this.D=3;this.Y("loaderror");return Id(a)\};\
|
|
WG.prototype.M=function()\{if(1!=this.D&&!this.isDisposed())\{var a;a:\{a=this.b;for(var b in a)\{var c=a[b].index;if(c&&c.jf())\{a=c.Qb()+1;break a\}\}a=0\}a=Vg(this.K,\{start_seq:a.toString()\});bH(this,a)\}\};\
|
|
WG.prototype.resume=function()\{(0,window.isFinite)(this.B)&&dH(this)\};z(hH,F);hH.prototype.C=function(a)\{this.A=a;MF(this.F)?this.B():fda(this)\};\
|
|
hH.prototype.B=function()\{if(!this.isDisposed())if(0==this.g.length)this.A(null);else\{var a=this.g.shift(),b=this.b[a],c=eda(this.o[b.b]);window.navigator.requestMediaKeySystemAccess(a,c).then(Ui(x(this.D,this,b)),Ui(x(this.B,this,b)))\}\};\
|
|
hH.prototype.D=function(a,b)\{if(!this.isDisposed())\{a.o=b;var c=b.getConfiguration();D([c.audioCapabilities,c.videoCapabilities],function(b)\{D(b,function(b)\{a.A[b.contentType]=!0\})\});\
|
|
this.A(a)\}\};jH.prototype.getValue=function()\{return this.b\};\
|
|
jH.prototype.clone=function()\{return new jH(this.zc,this.b)\};h=kH.prototype;h.remove=function()\{var a=this.b,b=a.length,c=a[0];if(!(0>=b))\{if(1==b)lb(a);else\{a[0]=a.pop();for(var a=0,b=this.b,d=b.length,e=b[a];a<d>>1;)\{var f=2*a+1,k=2*a+2,f=k<d&&b[k].zc<b[f].zc?k:f;if(b[f].zc>e.zc)break;b[a]=b[f];a=f\}b[a]=e\}return c.getValue()\}\};\
|
|
h.Ra=function()\{for(var a=this.b,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].getValue());return b\};\
|
|
h.Ua=function()\{for(var a=this.b,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].zc);return b\};\
|
|
h.clone=function()\{return new kH(this)\};\
|
|
h.Pb=function()\{return this.b.length\};\
|
|
h.isEmpty=function()\{return kb(this.b)\};\
|
|
h.clear=function()\{lb(this.b)\};z(mH,kH);z(nH,sk);nH.prototype.og=v;nH.prototype.Cd=v;nH.prototype.D=function(a,b)\{this.b=this.b.onload=null;var c=this.Cd(a);c.o[b]=!0;qH(this);var d=c.Yb*c.rows,e=b*d,c=[e,Math.min(e+d-1,c.Dl()-1)];this.Y("l",c[0],c[1])\};\
|
|
nH.prototype.T=function()\{this.b&&(this.b=this.b.onload=null);nH.L.T.call(this)\};h=tH.prototype;h.bb=function()\{return this.F\};\
|
|
h.getHeight=function()\{return this.D\};\
|
|
h.Dl=function()\{return this.g\};\
|
|
h.isDefault=function()\{return-1!=this.A.indexOf("default")\};\
|
|
h.Iv=function(a)\{return bf(0==this.B?Math.round(a*this.g/this.J):Math.round(1E3*a/this.B),0,this.Dl()-1)\};\
|
|
h.ao=function()\{return this.g-1\};\
|
|
h.Jv=function()\{return this.g?0:-1\};\
|
|
h.Kv=function()\{\};z(uH,nH);h=uH.prototype;h.Sm=function(a,b)\{for(var c=[],d=a.split("|"),e=d[0],f=1;f<d.length;f++)\{var k=this.vp(f-1,e,d[f],b);180>k.getHeight()&&c.push(k)\}return c\};\
|
|
h.vp=function(a,b,c,d)\{return new tH(a,b,c,d)\};\
|
|
h.Cd=function(a)\{return this.g[a]\};\
|
|
h.og=function(a)\{var b=this.A[a];if(b)return b;for(var b=this.g.length,c=0;c<b;c++)if(this.Cd(c).bb()>=a)return this.A[a]=c;this.A[a]=b-1;return b-1\};\
|
|
h.Lv=function()\{\};z(wH,tH);h=wH.prototype;h.Dl=function()\{return this.b?this.b.Jl():-1\};\
|
|
h.Iv=function(a)\{var b=this.rows*this.Yb*this.G,c=-1,d=-1,e=this.b;e&&(c=e.Qb(),d=e.Af(a));return d>c-b?-1:d\};\
|
|
h.ao=function()\{return this.b?this.b.Qb():-1\};\
|
|
h.Jv=function()\{return this.b?this.b.ng():-1\};\
|
|
h.Kv=function(a)\{this.b=a?a.index:null\};z(xH,uH);xH.prototype.Sm=function(a,b)\{return xH.L.Sm.call(this,"$N|"+a,b)\};\
|
|
xH.prototype.vp=function(a,b,c)\{return new wH(a,b,c,this.F.isLive)\};\
|
|
xH.prototype.Lv=function(a)\{for(var b=0;b<this.g.length;b++)this.g[b].Kv(a)\};z(yH,Zz);\
|
|
yH.prototype.g=function()\{if(!this.b||this.b.isDisposed())\{var a=this.o;hda(a);for(var b=["#EXTM3U","#EXT-X-INDEPENDENT-SEGMENTS"],c=\{\},d=0,e=a.g.length;d<e;++d)\{var f=a.g[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.b.length;d<e;++d)\{var k=a.b[d],f=c[k.audioItag];b.push("#EXT-X-STREAM-INF:BANDWIDTH="+(k.bitrate+f.bitrate)+',CODECS="'+(k.Jp+","+f.Jp)+'",RESOLUTION='+(k.width+"x"+k.height)+',AUDIO="'+\
|
|
f.itag.toString()+'",CLOSED-CAPTIONS=NONE');b.push(k.url)\}this.b=new Mz("data:application/x-mpegurl;charset=utf-8,"+(0,window.encodeURIComponent)(b.join("\\n")))\}return this.b\};z(AH,Zz);AH.prototype.g=function()\{return new Mz(this.b)\};z(DH,sk);DH.D=/\\/img\\/watermark\\/youtube_(hd_)?watermark(-vfl\\S\{6\})?.png$/;DH.g=1;DH.B=-21;DH.C=18E3;DH.o="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(" ");DH.A="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(" ");\
|
|
DH.b=\{iurl:"default.jpg",iurlmq:"mqdefault.jpg",iurlhq:"hqdefault.jpg",iurlsd:"sddefault.jpg",iurlmaxres:"maxresdefault.jpg"\};h=DH.prototype;h.BB=function(a)\{(this.F=a)&&"fairplay"==this.F.b&&(this.F.fairPlayCert=this.fairPlayCert);OH(this)\};\
|
|
h.VC=function(a)\{this.isDisposed()||(LH(this,a),this.xa&&this.b.subscribe("refresh",this.Vr,this),IC("mrc"),pA(this.b)&&(this.ia=!0),OH(this))\};\
|
|
h.UC=function(a)\{this.isDisposed()||(this.M=!1,this.Y("dataloaderror",new dC("manifest.net.retryexhausted",!0,\{backend:"manifest",rc:a.status\})))\};\
|
|
h.Vr=function()\{this.b.isLive||this.b.Fa("refresh",this.Vr,this);this.Fp()\};\
|
|
h.Fp=function()\{var a;a=this.b;var b=this.He;a=a.A?ub(a.A.A,b):a.G.length?ub(a.G,b):[];0<a.length&&(this.Y("cuepointupdated",a),this.He+=a.length)\};\
|
|
h.Od=function(a)\{return w(this.keywords[a])?this.keywords[a]:null\};\
|
|
h.At=function()\{var a=\{format:"RAW",method:"GET",withCredentials:this.Do\};this.No&&this.visitorData&&(a.headers=\{"X-Goog-Visitor-Id":this.visitorData\});xG(vu,this.tt,a).then(Ui(this.nD),Ui(this.$r),this);IC("vir");IC("vir",void 0,"video_to_ad")\};\
|
|
h.Hc=function(a,b)\{if(30==this.Aa)\{var c=this.eh["default.jpg"];return c?c:this.videoId?Vg("//docs.google.com/vt",\{id:this.videoId,authuser:this.Ob,authkey:this.Up\}):"//docs.google.com/images/doclist/cleardot.gif"\}b||(b="hqdefault.jpg");return(c=this.eh[b])||a.F||"sddefault.jpg"==b||"maxresdefault.jpg"==b?c:PA(a,this.videoId,b)\};\
|
|
h.Vi=function()\{return this.qo\};\
|
|
h.nD=function(a)\{if(!this.isDisposed())\{var b=a.responseText;if(b)\{this.M=!1;var c=Qj(b);"fail"==c.status?this.Y("onStatusFail",c):(IC("virc"),IC("virc",void 0,"video_to_ad"),D(DH.o,function(a)\{a in this.A&&(c[a]=this.A[a])\},this),EH(this,c),ZH(this)?OH(this):this.Y("dataloaderror",new dC("manifest.net.retryexhausted",!0,\{successButUnplayable:"1"\})))\}else this.$r(a)\}\};\
|
|
h.$r=function(a)\{if(!this.isDisposed())\{var b="manifest.net.retryexhausted",c=!0,d=\{backend:"gvi",rc:a.status\};this.$p&&(this.pr?d.retried="1":(this.pr=!0,c=!1,b=a.status?"manifest.net.badstatus":"manifest.net.connect",this.Eo.start()));this.Y("dataloaderror",new dC(b,c,d))\}\};\
|
|
h.Wg=function()\{return null\};\
|
|
h.Gb=function()\{return this\};\
|
|
h.Ol=function(a)\{return a.getVideoUrl(this.videoId)\};z(eI,sk);eI.g=2;eI.o=5;eI.A=5;eI.b="endcr";h=eI.prototype;h.T=function()\{Xi(this.aa);Yi(this.Ia);Xi(this.Na);jI(this);kI(this);gI(this);DI(this);Ob(this.ea,this.b);this.N=null;this.Ca=!1\};\
|
|
h.getVideoData=function()\{return this.b\};\
|
|
h.Hp=function()\{if($H(this.b))this.V.experiments.Z("html5_fix_double_error")&&O(this.B,128)||($H(this.b),this.ga.b=!0,4!=this.J&&(this.ca=sb(this.b.G)),SH(this.b,this.V),JH(this.b)&&(this.b.xa&&(this.R=new Gba),this.b.o.b&&PI(this),OI(this,"i")),lI(this,"dataloaded"),this.ba.g&&sI(this));else\{var a=this.b;if(a.xa&&a.adaptiveFormats&&!a.$t&&(rs(a)||this.V.experiments.Z("html5_manifestless_always")))\{if(a=this.b,!KH(a))\{a.$t=!0;var b=XG(MH(a,a.adaptiveFormats),a.na,a.lengthSeconds,!0);rda(b)||a.bu?\
|
|
b.dispose():(a.Ga=!1,LH(a,b),b.subscribe("cuepointsadded",a.Fp,a),pA(a.b)&&(a.ia=!0));OH(a)\}\}else if(this.b.Ga)\{a=this.b;b=this.V.experiments;a.M=!0;a.Ga=!1;CG.test(a.D)||Zi(Error("DASH MPD Origin invalid: "+a.D),"WARNING");var c=a.D,d=b.b("html5_dash_mpd_version");d&&(c=Vg(c,\{mpd_version:d\}));!a.isLowLatencyLiveStream&&b.Z("html5_live_disable_dg_pacing")&&(c=Vg(c,\{pacing:0\}));bH(new WG(c,b,a.xa),c).then(a.VC,a.UC,a);IC("mrs")\}else if(this.b.ia)this.o&&(a=this.o.g,Ju(a,"protected"),a.b.videoData.F?\
|
|
a.Ht():a.b.videoData.subscribe("dataloaded",a.Ht,a)),a=this.b,b=this.V.K,c=this.V.experiments,pA(a.b),b=new hH(oA(b,a.b),c),H(a,b),a.ia=!1,a.M=!0,b.C(x(a.BB,a));else if(!this.b.M&&(this.Cb||this.na))\{a:\{var a=this.V,b=this.b,d=this.Oa.Ja(),e=lG(this.V),f=this.V.M;switch(b.Aa)\{case 38:a=b.videoId.indexOf(":");c=Vg("//play.google.com/books/volumes/"+b.videoId.slice(0,a)+"/content/media",\{aid:b.videoId.slice(a+1),sig:b.Zx\});break a;case 30:c="//docs.google.com/";a.baseYtUrl!=IA.prototype.baseYtUrl&&\
|
|
(c=a.baseYtUrl);c=Vg(c+"get_video_info",\{docid:b.videoId,authuser:b.Ob,authkey:b.Up,eurl:a.ga\});break a;case 33:c=Vg("//google-liveplayer.appspot.com/get_video_info",\{key:b.videoId\});break a;default:c=\{html5:"1",video_id:b.videoId,cpn:b.clientPlaybackNonce,eurl:a.ga,ps:a.g,el:a.b,hl:a.qa,list:b.playlistId,agcid:b.Qx,aqi:b.Kx,sts:17039,lact:kr()\},a.forcedExperiments&&(c.forced_experiments=a.forcedExperiments),b.R?c.vvt=b.R:b.oauthToken&&(c.access_token=b.oauthToken),b.adFormat&&(c.adformat=b.adFormat),\
|
|
a.ub&&(c.cc_lang_pref=a.ub),a.la&&2!=a.la&&(c.cc_load_policy=a.la),a.mute&&(c.mute=a.mute),b.gd&&2!=a.ce&&(c.iv_load_policy=b.gd),b.qc&&(c.itct=b.qc),Ou(a,b,f)&&(c.autoplay="1"),b.Ec&&(c.autonav="1"),b.Fe&&(c.noiba="1"),b.isMdxPlayback&&(c.mdx="1"),b.oc&&(c.ytrcc=b.oc),b.Ge&&(c.utpsa="1"),b.isFling&&(c.is_fling="1"),b.vnd&&(c.vnd=b.vnd),b.Ee&&(c.force_ad_param_ad_type="video_ad",c.force_ad_param_url=b.Ee,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),b.Ca&&(c.splay="1"),b.ypcPreview&&(c.ypc_preview="1"),a.ua&&(c.content_v=a.ua),b.Na&&(c.livemonitor=1),a.Ob&&(c.authuser=a.Ob),a.pageId&&(c.pageid=a.pageId),a.ca&&(c.ei=a.ca),a.Ec&&(c.ssl_stream="1"),a.D&&(c.iframe="1"),b.Gd&&(c.tst=b.Gd),b.contentCheckOk&&(c.cco="1"),b.racyCheckOk&&(c.rco="1"),a.Qa&&b.liveStartWalltime&&(c.live_start_walltime=b.liveStartWalltime),a.Qa&&b.Ie&&(c.live_manifest_duration=b.Ie),a.Qa&&b.or&&(c.cyc=b.or),0!=e&&(c.vis=e),a.enableSafetyMode&&(c.enable_safety_mode=\
|
|
"1"),a.widgetReferrer&&(c.widget_referrer=a.widgetReferrer.substring(0,128)),(b=a.J.embedding_app)&&(c.embedding_app=b),(b=a.J.developer_api_key)&&(c.developer_api_key=b),ra(c,a.o),c=Vg(a.baseYtUrl+"get_video_info",c)\}\}a=!this.V.isAd();b=this.b;d=this.V.na;e=!this.V.experiments.Z("disable_gvi_cors");b.isDisposed()||(b.tt=c,b.$p=a,b.No=!!d,b.Do=!!e,b.M=!0,b.At())\}\}\};\
|
|
h.logEvent=function(a,b)\{if(this.o)\{var c=this.o,d=\{\};d.rt=Du(c.b).toFixed(3);ra(d,Wu(c.b));var e=c.b.b,f=c.b.videoData,k=\{ns:e.ia,html5:"1",el:e.b,ps:e.g,fexp:e.experiments.experimentIds.join(",")||void 0,feature:f.Le||e.de||void 0,ctrl:f.tb||void 0,ytr:f.ub||void 0,list:f.playlistId,d:e.Sb,f:e.cb\};if(e.experiments.Z("legacy_autoplay_flag")?e.ba:f.J)k.autoplay="1";f.subscribed&&(k.subscribed=f.subscribed);ra(d,k);delete d.fexp;ra(d,a);d=Uj(c.b.b.baseYtUrl+"player_204",d);av(c,d,b)\}\};\
|
|
h.getPlayerState=function()\{return this.B\};\
|
|
h.Mn=function()\{var a=this.getVideoData(),b=a.B;if(!b)return a.Ia;var c=bb(this.b.o?this.b.o.audioTracks:[],function(a)\{return a.id==b.id\});\
|
|
return c?c:a.Ia\};\
|
|
h.BF=function()\{OI(this,"v")\};\
|
|
h.uD=function(a)\{if(this.F)\{var b=this.F;if(JF(b.b))\{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&&$F(b,new WF(a),!1)\}\}\};\
|
|
h.CD=function(a)\{zI(this,a.reason,a.video.info,a.audio.info);var b=UH(this.b);b&&b.Lv(a.video);this.R&&(this.R.g=a.audio.index)\};\
|
|
h.BD=function(a)\{yI(this,a.reason,a.audio.info)\};\
|
|
h.Vh=function(a)\{if("html5.invalidstate"==a.errorCode&&this.g)\{var b=this.g.kb();a.details.merr=b?b.toString():"0"\}IH(this.b)&&403==a.details.rc?(b=a.errorCode,b="net.badstatus"==b||"manifest.net.retryexhausted"==b):b=!1;if(b)O(this.B,4)?(this.ub=!0,kI(this)):GI(this);else if(QI(a)&&this.b.o.g)a=this.b,a.o=a.o.g,LI(this),KI(this);else if(a.b)b=this.A?this.A.D.b:null,b=QI(a)&&b&&b.isLocked()?"YTP_ERROR_FORMAT_UNAVALIABLE":void 0,oI(this,a.errorCode,b,eC(a.details));else if(this.o)this.o.onError(a.errorCode,\
|
|
eC(a.details))\};\
|
|
h.pauseVideo=function(a)\{O(this.B,64)&&!a&&(O(this.B,8)?mI(this,Eq(this.B)):mI(this,Dq(this.B,8)));this.g&&(O(this.B,128)||(a?mI(this,Cq(this.B,256)):mI(this,Eq(this.B))),this.g.pause())\};\
|
|
h.seekTo=function(a,b,c)\{if(!this.g||!this.ba.b||!this.g.jc()&&this.V.experiments.Z("new_ended_replay"))this.b.startSeconds=a||0;else\{var d;if(a&&!(0,window.isFinite)(a)&&this.b.H&&NH(this.b)&&this.A)\{d=this.A;kF(d);var e=Math.max(d.g.D,d.o.D),f=d.g;f.H=!0;f.G=-1;xE(f,window.Infinity);f.D=e;f=d.o;f.H=!0;f.G=-1;xE(f,window.Infinity);f.D=e;var f=d.B,k;for(k in f.b)LG(f.b[k].index,window.Infinity);uF(d);d=e+.1\}d||(d=bf(a||0,VH(this.b),RI(this,!1)));a=this.b.xa&&!O(this.B,4)&&HI(this,d);vI(this,a);this.M=\
|
|
this.b.startSeconds=d;hG(this.Aa,d);b?this.Eu():(O(this.B,32)||(mI(this,Cq(this.B,32)),O(this.B,8)&&this.pauseVideo(!0),this.Y("beginseeking",this)),c&&(this.ea||(this.ea=new fe(this.Eu,c,this)),this.ea.start()),XI(this,!0));this.N&&d>this.b.ea&&(this.C.Th(this.N),this.N=null);d<RI(this,!1)&&mI(this,Dq(this.B,2));this.Y("seekto",this,d)\}\};\
|
|
h.Eu=function()\{if(!(0,window.isNaN)(this.M)&&this.g)\{var a=this.Uh();!this.b.xa&&this.M>=Math.floor(a)?(this.M=a,this.Y("endseeking",this),this.pauseVideo(!0),fI(this)):(this.A&&this.A.seek(this.M),(!this.b.xa||1<=this.g.Be())&&this.g.seekTo(this.M))\}this.ea&&(this.ea.dispose(),this.ea=null);O(this.B,32)&&(mI(this,Cq(Dq(this.B,32),16)),this.Y("endseeking",this))\};\
|
|
h.getCurrentTime=function()\{if(!(0,window.isNaN)(this.M))return this.M;var a=0;this.g&&1<=this.g.Be()?a=this.g.getCurrentTime():this.b&&(a=this.V.experiments.Z("new_ended_replay")?this.b.startSeconds||0:this.b.Ed||this.b.startSeconds||0);this.V.experiments.Z("new_ended_replay")&&(a=bf(a,VH(this.b),RI(this,!1)));return a\};\
|
|
h.Uh=function()\{return this.b.lengthSeconds?this.b.lengthSeconds:RI(this,!1)?RI(this,!1):0\};\
|
|
h.vz=function()\{var a=new Gca;if(this.K&&this.A)\{var b=this.K;a.o=b.A;a.C=b.g;a.b=XC(b);b=this.A;b.b&&!Uz(b.b)&&(a.g=oC(b.b.g.buffered,b.C),a.A=oC(b.b.b.buffered,b.C));a.b=$C(b.J);XC(b.G);YC(b.G);WC(b.G)\}else this.g&&(a.g=xq(this.g));this.R&&Hba(this.R,a);return a\};\
|
|
h.uF=function()\{if(this.F)\{var a=this.F,b=this.b.oauthToken;a.H=b;a.Y("oauthtoken",b)\}CI(this);lI(this)\};\
|
|
h.tF=function(a)\{oI(this,"auth",(0,window.unescape)(a.reason),a.errordetail||"sec."+a.errorcode)\};\
|
|
h.sH=function(a)\{var b=a.target.jc();if(this.g&&this.g.jc()&&this.g.jc()==b)\{var c=!1;switch(a.type)\{case "error":if(this.V.Me&&2==this.g.kb())\{(0,window.setTimeout)(x(function()\{this.g&&(this.b.la&&this.g.load(),KI(this))\},this),500);\
|
|
if(this.o)this.o.onError("progressive.net");return\}break;case "durationchange":var d=this.g.pf();(!this.H||(0,window.isFinite)(d)&&0<d)&&1!=d&&this.b.lengthSeconds!=d&&(this.b.lengthSeconds=d,lI(this));break;case "ratechange":this.A&&uca(this.A,this.g.sk());Mt(this.C);break;case "loadedmetadata":this.b.startSeconds&&(0<this.g.Xi().length?this.V.experiments.Z("new_ended_replay")?this.seekTo(this.b.startSeconds,!0):this.g.uk(this.b.startSeconds):(this.ia=this.b.startSeconds,this.pauseVideo(!0)));case "loadstart":Yi(this.Ia);\
|
|
this.dl()||(this.Ia=Wi(x(this.dl,this),100));break;case "progress":yda(this);case "suspend":XI(this);this.Y("onLoadProgress",this,xda(this));O(this.B,8)&&(this.Db?c=!0:this.Sb&&((0,window.isNaN)(this.cb)||this.cb+1<this.g.getCurrentTime())&&(c=!0,this.cb=this.g.getCurrentTime()));break;case "seeked":YI(this);break;case "seeking":d=this.V.experiments.Z("disable_html5_videoplayer_seeking_time")?this.g.getCurrentTime():this.getCurrentTime();this.A&&this.A.seek(d);hG(this.Aa,d);break;case "playing":this.D.g("plev");\
|
|
IC("plev",void 0,"video_to_ad");this.tb&&(this.tb=!1,HI(this)||this.seekTo(window.Infinity,!0));Xi(this.Na);this.Na=window.NaN;break;case "timeupdate":if(this.V.experiments.Z("html5_ignore_first_0_timeupdate")&&this.g&&!this.g.getCurrentTime()&&!this.Ga)return;this.Ga=!!this.g.getCurrentTime();this.dl();YI(this);XI(this);if(!this.g||this.g.jc()!=b)return;this.Y("onVideoProgress",this,this.g.getCurrentTime());this.R&&this.G&&Iba(this.R,this.g.getCurrentTime());break;case "waiting":if(0<this.g.Wi().length&&\
|
|
0==this.g.ie().length&&0<this.g.getCurrentTime()&&5>this.g.getCurrentTime()&&this.A)return\}this.g&&this.g.jc()==b&&(this.Y("videoelementevent",a),a=zq(this.B,a,this.Aa,this.Tb),mI(this,a),c&&this.g.play())\}\};\
|
|
h.aC=function(a)\{a="available"==a.b.availability;a!=this.Za&&(this.Za=a,this.Y("airplayavailabilitychange"))\};\
|
|
h.bC=function()\{var a=this.g.Rv();a!=this.Ya&&(function()\{this.V.Hm=a\}.apply(this),this.Ya=a)&&(SH(this.b,this.V),OI(this,"m"));\
|
|
this.Y("airplayactivechange")\};\
|
|
h.dl=function()\{var a=this.g;a&&this.Ga&&!this.b.H&&!LC("vfp",this.D.b)&&2<=a.Be()&&!a.Uf()&&0<nC(a.ie())&&this.D.g("vfp");if((a=this.g)&&!this.b.H&&0<a.pf()&&(!LC("pbp",this.D.b)&&a.ah()&&2<=a.Be()&&0<nC(a.ie())&&this.D.g("pbp"),0<a.getCurrentTime()))\{Yi(this.Ia);Xi(this.aa);this.aa=window.NaN;this.b.H=!0;VI(this);if(this.o)\{a=this.o;if(!a.A)\{var b=Yu(a,"playback");a.H=[10+a.b.videoData.Fd,10,10,40+a.b.videoData.rf-a.b.videoData.Fd,40];var c=a.o;Yi(c.C);c.C=window.NaN;c.C=Wi(x(c.update,c),100);c.B=\
|
|
Du(c.o);c.A=mu(c.o);b.g=Vu(a,!0);b.Na=!0;b.send();a.b.videoData.Oa&&(b=a.b.b,c=a.b.videoData,b=Vg(b.baseYtUrl+"ptracking",\{html5:"1",video_id:c.videoId,cpn:c.clientPlaybackNonce,plid:c.playbackId,ei:c.eventId,ptk:c.Oa,oid:c.uo,ptchn:c.so,pltype:c.yo,content_v:b.ua\}),av(a,b));a.b.videoData.enableCardio&&(a.F("playback"),a.B||gv(a));a.b.videoData.ga||cv(a);a.A=!0;a=a.o;a.b=a.o.g();a.B=Du(a.o);!(0==a.g&&5>a.b)&&2<a.b-a.g&&(a.g=a.b)\}Vi(x(this.bn,this),4500)\}this.Y("playbackstarted");ux()&&yx();return!0\}return!1\};\
|
|
h.WC=function()\{this.Sa&&(this.ha.sa(this.Sa),delete this.Sa,JI(this.g))\};\
|
|
h.Yz=function()\{if(this.g)\{var a=this.getCurrentTime();if(O(this.B,8)&&Aq(this.Aa,a,Bq(),xq(this.g)))\{var b=this.Uh();!this.b.xa&&b&&1>Math.abs(b-a)?fI(this):mI(this,Cq(this.B,1))\}else O(this.B,4)&&Gq(this.B)&&5<xq(this.g)&&mI(this,Dq(this.B,1));XI(this)\}\};\
|
|
h.qz=function()\{return this.A?$C(this.A.J):this.K?XC(this.K):0\};\
|
|
h.rz=function()\{return this.g?xq(this.g):0\};\
|
|
h.uz=function()\{return this.K?this.K.A:0\};\
|
|
h.gG=function()\{var a;if(a=O(this.B,1)&&this.A)\{a=this.A;var b=this.getCurrentTime();if(!a.b||Uz(a.b))a=!1;else\{var c=lC(a.b.g.buffered,b),d=lC(a.b.b.buffered,b);a=!!(-1==c&&a.g.b&&a.g.b.startTime>b||-1==d&&a.o.b&&a.o.b.startTime>b)\}\}a&&(this.o&&Ku(this.o.g,"reseek","1",void 0),this.V.experiments.Z("html5_reseek_on_infinite_buffer")&&this.seekTo(this.getCurrentTime(),!0))\};\
|
|
h.Hz=function()\{this.b.xa||this.Y("connectionissue")\};\
|
|
h.mG=function()\{this.g.seekTo(this.g.getCurrentTime()+.1)\};\
|
|
h.VD=function(a)\{var b=\{\};ra(b,this.V.o);b.cpn=this.b.clientPlaybackNonce;this.b.R&&(b.vvt=this.b.R);this.V.Ob&&(b.authuser=this.V.Ob);this.V.pageId&&(b.pageid=this.V.pageId);kc(a.A,b);TF(a,a.B)\};\
|
|
h.wD=function(a,b,c,d)\{d=p(d)?d:"YTP_ERROR_LICENSE";c=c.substr(0,256);if(b)oI(this,a,d,c);else if(this.o)this.o.onError(a,c)\};\
|
|
h.xD=function()\{OI(this,"r");lI(this)\};\
|
|
h.rH=function(a)\{this.Y("heartbeatparams",a)\};\
|
|
h.es=function()\{if(!this.b.H&&this.g)\{0<this.g.Be()&&5<=xq(this.g)&&(mI(this,Cq(this.B,1)),this.Y("playbackstalledatstart"));if(this.o)\{var a=\{preroll:""+ +uI(this)\};this.A&&ra(a,GF(this.A));this.g&&ra(a,TI(this.g));this.o.onError("qoe.start15s",eC(a))\}this.Y("loadsofttimeout")\}\};\
|
|
h.bn=function()\{if(!this.Ca)\{var a=new aG(this.b),b;"c1a"in a.o?(b=q("yt.abuse.botguardInitialized"),b=!(b&&b())):b=!1;if(b)Vi(x(this.bn,this),4500);else\{var c;if(a.b&&a.b.Cb)\{b=[a.b.Cb];for(c in a.g)if(a.o[c]&&a.g[c])\{var d=a.g[c](a.o);d&&b.push(d)\}c=b.join("&")\}else c=null;c&&this.o&&(a=this.o,a.K||(b=Yu(a,"atr"),b.M=c,b.send(),a.K=!0),this.Ca=!0)\}\}\};\
|
|
h.Fu=function()\{return this.g?this.g.sk():1\};\
|
|
h.Nl=function()\{return this.g?this.g.Qv():\{\}\};var x$=\{"api.invalidparam":2,auth:150,"drm.auth":150,"heartbeat.net":150,"heartbeat.servererror":150,"heartbeat.stop":150,"html5.unsupportedads":5,"fmt.noneavailable":5,"fmt.decode":5,"fmt.unplayable":5,"html5.missingapi":5,"html5.unsupportedlive":5,"drm.unavailable":5\};z(bJ,F);h=bJ.prototype;h.wH=function()\{return Yb(this.o)\};\
|
|
h.xH=function()\{return Yb(this.A)\};\
|
|
h.ma=function()\{return this.b\};\
|
|
h.addEventListener=function(a,b)\{if(w(b))\{var c=b,d=function()\{q(c).apply(window,arguments)\};\
|
|
b=this.C[c]=d\}this.app.aa.subscribe(a,b)\};\
|
|
h.iz=function(a,b)\{var c=w(b)?a+b:a+na(b);if(!this.B[c])\{var d;w(b)?d=function()\{q(b).apply(window,arguments)\}:d=b;\
|
|
var e=x(function(a)\{d(\{target:this.g,data:a\})\},this);\
|
|
this.B[c]=e;this.app.aa.subscribe(a,e)\}\};\
|
|
h.removeEventListener=function(a,b)\{if(w(b))\{var c=this.C[b];ec(this.C,b);b=c\}ug(this.app.aa,a,b)\};\
|
|
h.jz=function(a,b)\{var c=w(b)?a+b:a+na(b),d=this.B[c];d&&(ug(this.app.aa,a,d),ec(this.B,c))\};\
|
|
h.getPlayerState=function()\{return w9(this.app)\};\
|
|
h.seekTo=function(a,b)\{F9(this.app,!0,this.playerType);V9(this.app,a,b,void 0,this.playerType)\};\
|
|
h.getCurrentTime=function()\{return this.app.getCurrentTime(this.playerType)\};\
|
|
h.Xh=function()\{return u9(this.app,this.playerType)\};\
|
|
h.Mb=function()\{return this.app.ba.volume\};\
|
|
h.setVolume=function(a)\{a=bf(Math.floor(a),0,100);Q9(this.app,\{volume:a,muted:this.bd()\})\};\
|
|
h.bd=function()\{return this.app.ba.muted\};\
|
|
h.mute=function()\{Q9(this.app,\{muted:!0,volume:this.Mb()\})\};\
|
|
h.Qf=function()\{Q9(this.app,\{muted:!1,volume:Math.max(5,this.Mb())\})\};\
|
|
h.Ad=function()\{F9(this.app,!0,this.playerType);U9(this.app,this.playerType)\};\
|
|
h.pauseVideo=function()\{Yra(this.app,this.playerType)\};\
|
|
h.ik=function()\{var a=this.app;a.V.da&&(a.b.isFullscreen()&&Ar(a.b),a.b.Va("pageTransition"));T9(a)\};\
|
|
h.tH=function()\{\};\
|
|
h.yH=function()\{return this.app.M\};\
|
|
h.Zh=function(a)\{s9(this.app,a)\};\
|
|
h.Wh=function()\{return this.app.V.ea?ksa:[1]\};\
|
|
h.dk=function()\{var a=eJ(this.app,this.playerType);return a&&(a=a.getVideoData().g)?a.video.quality:"unknown"\};\
|
|
h.hk=function(a)\{if(!this.app.V.isMobile)\{var b=eJ(this.app,this.playerType);b&&OI(b,"p",Xy(a,a,!0))\}\};\
|
|
h.Hu=function()\{var a=eJ(this.app,this.playerType);return a?(a=Ii(MI(a),function(a)\{return a.quality\}),a.length&&("auto"==a[0]&&a.shift(),a=a.concat(["auto"])),a):[]\};\
|
|
h.BH=function()\{return this.On()\};\
|
|
h.CH=function()\{return 1\};\
|
|
h.On=function()\{return j9(this.app)\};\
|
|
h.DH=function()\{return 0\};\
|
|
h.setSize=function()\{this.app.D.nf()\};\
|
|
h.Mu=function(a)\{J9(this.app,a?2:1)\};\
|
|
h.Nu=function(a)\{J9(this.app,a)\};\
|
|
h.ek=function(a)\{var b=this.app.G;b.isAvailable(a)&&(a=lJ(b,a))&&!a.loaded&&a.load()\};\
|
|
h.Pu=function(a)\{var b=this.app.G;b.isAvailable(a)&&(a=lJ(b,a))&&a.loaded&&a.unload()\};\
|
|
h.Ku=function(a,b,c)\{a=C9(this.app,ZI(a,b,c),this.playerType);F9(this.app,a,this.playerType)\};\
|
|
h.Nn=function(a,b,c)\{var d=this.playerType;G9(this.app,new DH(ZI(a,b,c)),d)\};\
|
|
h.GH=function(a,b,c)\{a=$I(a,b,c);b=C9(this.app,a,this.playerType);F9(this.app,b,this.playerType);b=this.app;(a=(new L(a.mediaContentUrl)).b)&&JA(b.V,a)\};\
|
|
h.vH=function(a,b,c)\{a=$I(a,b,c);b=this.playerType;G9(this.app,new DH(a),b);b=this.app;(a=(new L(a.mediaContentUrl)).b)&&JA(b.V,a)\};\
|
|
h.getVideoUrl=function()\{var a=this.app.V;if(a.F)return"";var b=C4(this.app),c=void 0;b.xa||(c=Math.floor(this.app.getCurrentTime(1)));return a.getVideoUrl(b.videoId,this.ye()||void 0,c)\};\
|
|
h.ck=function()\{return v9(this.app)\};\
|
|
h.Iu=function()\{var a=this.app.V;if(a.F)a="";else\{var b=C4(this.app).videoId,c=this.app.D.Ja(),d=this.ye()||void 0,b="https://"+OA(a)+"/embed/"+b;d&&(b=Vg(b,\{list:d\}));d=b;b=c.width;c=c.height;a=a.experiments.Z("legacy_embed_snippet")?'<iframe width="'+b+'" height="'+c+'" src="'+Ea(d)+'" frameborder="0" allowfullscreen></iframe>':'<div style="position:relative;height:0;padding-bottom:'+Math.round(1E4*c/b)/100+'%"><iframe src="'+Ea(d)+'" style="position:absolute;width:100%;height:100%;left:0" frameborder="0" allowfullscreen></iframe></div>'\}return a\};\
|
|
h.Gu=function(a,b,c)\{return O9(this.app,a,b,c)\};\
|
|
h.Lu=function(a)\{a:\{for(var b=this.app,c=b.g.C.b.b||[],d=0;d<c.length;d++)\{var e=c[d];if(e.getId()==a)\{b.g.C.Th(e);wJ(b,"cuerangesremoved",[e]);a=!0;break a\}\}a=!1\}return a\};\
|
|
h.Ju=function(a,b,c,d)\{var e=this.app;e.da=!1;H9(e,a,b,c,d);F9(this.app,!0,this.playerType)\};\
|
|
h.uH=function(a,b,c,d)\{var e=this.app;e.da=!0;H9(e,a,b,c,d)\};\
|
|
h.fk=function()\{K9(this.app);F9(this.app,!0,this.playerType)\};\
|
|
h.gk=function()\{L9(this.app);F9(this.app,!0,this.playerType)\};\
|
|
h.Pn=function(a)\{M9(this.app,a);F9(this.app,!0,this.playerType)\};\
|
|
h.JH=function(a)\{var b=this.app.A;b&&yK(b,a)\};\
|
|
h.IH=function(a)\{var b=this.app.A;b&&(b.G=a)\};\
|
|
h.ad=function()\{var a=this.app.A;if(!a)return null;for(var b=[],c=0;c<a.A;c++)\{var d=a.Gb(c);d&&b.push(d.videoId)\}return b\};\
|
|
h.zH=function()\{var a=this.app.A;return a?a.b:-1\};\
|
|
h.ye=function()\{var a=this.app.A;return a&&a.listId?a.listId.toString():null\};\
|
|
h.gf=function(a,b,c)\{return X9(this.app,a,b,c)\};\
|
|
h.Jb=function(a,b,c)\{return X9(this.app,a,b,c)\};\
|
|
h.Yh=function(a)\{return Y9(this.app,a)\};\
|
|
h.getVideoData=function()\{var a=\{\},b=eJ(this.app,this.playerType);b&&(b=b.getVideoData(),a.video_id=b.videoId,a.author=b.author,a.title=b.title);(b=this.ye())&&(a.list=b);return a\};\
|
|
h.Ou=function()\{c9(this.app,!0)\};\
|
|
h.EH=function()\{c9(this.app,!1)\};\
|
|
h.getAdState=function()\{return this.app.getAdState()\};\
|
|
h.FH=function(a)\{if(a!=this.app.X.args.video_id)return!1;a=(a=eJ(this.app,1))?a.getPlayerState():null;return!(!a||!O(a,128)||5!=x$[a.b.errorCode])\};\
|
|
h.AH=function()\{var a=this.app.X.clone();ra(a.args,bI(C4(this.app)));return a\};\
|
|
h.KH=function(a,b)\{Y8(this.app,a,b)\};\
|
|
h.destroy=function()\{this.app.dispose()\};\
|
|
h.HH=function()\{var a=eJ(this.app);a&&!O(a.getPlayerState(),128)&&(a.Y("internalAbandon"),jI(a),gI(a))\};\
|
|
h.T=function()\{if(this.b)\{for(var a in this.o)this.b[a]=null;for(a in this.A)this.b[a]=null;this.b=null\}this.C=this.B=null;bJ.L.T.call(this)\};z(cJ,bJ);h=cJ.prototype;h.getPresentingPlayerType=function()\{return this.app.getPresentingPlayerType()\};\
|
|
h.Gu=function(a,b,c,d,e)\{return O9(this.app,a,b,c,d,e)\};\
|
|
h.LH=function(a,b,c)\{cz(this.app.V.G,a,\{uf:b,Qg:c\})\};\
|
|
h.MH=function(a)\{var b=this.playerType;G9(this.app,new DH(a),b)\};\
|
|
h.getPlayerState=function(a)\{return w9(this.app,a)\};\
|
|
h.jk=function(a,b)\{C9(this.app,a,this.playerType,b)\};\
|
|
h.Su=function(a)\{var b=this.app,c=this.playerType;c&&1!=c||b.J&&b.J.getVideoData().videoId==a.videoId||(a=new DH(a),D9(b,a))\};\
|
|
h.Ad=function()\{U9(this.app,this.playerType)\};\
|
|
h.seekTo=function(a,b)\{V9(this.app,a,b,void 0,this.playerType)\};\
|
|
h.Ju=function(a,b,c,d)\{var e=this.app;e.da=!1;H9(e,a,b,c,d)\};\
|
|
h.fk=function(a)\{K9(this.app,a)\};\
|
|
h.gk=function(a)\{L9(this.app,a)\};\
|
|
h.Pn=function(a)\{M9(this.app,a)\};\
|
|
h.Bd=function(a,b,c)\{var d=this.app,e=this.playerType;V9(d,d.getCurrentTime()+a,b,c,e)\};\
|
|
h.cI=function(a)\{if(a)\{var b=this.ye();if(!b||b==a.list)\{var c=a.video;(b=this.app.A)?this.app.$a.isFullscreen()&&((c=c[b.b])&&c.encrypted_id!=b.Gb().videoId||(a.index=b.b)):l9(this.app,\{list:a.list,index:a.index,playlist_length:c.length\});EK(this.app.A,a)\}\}else a=this.app,m9(a),a.b.za("onPlaylistUpdate")\};\
|
|
h.bI=function()\{ir()\};\
|
|
h.dI=function(a,b)\{var c=eJ(this.app,this.playerType||1);c&&(c=c.getVideoData(),b?(EH(c,a),ZH(c)&&OH(c)):(GH(c,a),c.Y("dataupdated")))\};\
|
|
h.RH=function()\{var a=this.app.getVideoData();return a.A.storyboard_spec||a.A.live_storyboard_spec\};\
|
|
h.PH=function()\{var a=this.app.V;return\{Ub:a.Ub,Qa:a.Qa\}\};\
|
|
h.getVideoData=function()\{var a=cJ.L.getVideoData.call(this),b=eJ(this.app,this.playerType);b&&(b=b.getVideoData(),a.backgroundable=b.backgroundable,a.cpn=b.clientPlaybackNonce,a.isLive=b.xa,a.itct=b.qc);return a\};\
|
|
h.getCurrentTime=function(a)\{return a?this.app.getCurrentTime(a):cJ.L.getCurrentTime.call(this)\};\
|
|
h.Xh=function(a)\{return a?u9(this.app,a):cJ.L.Xh.call(this)\};\
|
|
h.Rf=function()\{var a=this.app.getVideoData(),b=eJ(this.app),c=uJ(this.app.$a),d=a.clipEnd,a=a.clipStart,e=this.getCurrentTime(),f=this.Xh(),k=b.b.xa&&b.b.b?Xu(b.b.b,b.getCurrentTime()):window.NaN,l=eJ(this.app,void 0);if(l)var m=M5(l.g),l=(0,window.isNaN)(m)?l.getCurrentTime():m;else l=0;return\{allowSeeking:c,clipEnd:d,clipStart:a,current:e,displayedStart:-1,duration:f,ingestionTime:k,loaded:l,seekableEnd:RI(b,!0),seekableStart:VH(b.b)\}\};\
|
|
h.On=function(a)\{return j9(this.app,a)\};\
|
|
h.canPlayType=function(a)\{return this.app.canPlayType(a)\};\
|
|
h.Uu=function(a,b)\{var c=eJ(this.app,this.playerType);if(c)\{b=b||a;var d=Xy(a,b,!0);Kj("yt-player-quality",b,2592E3);OI(c,"m",d)\}\};\
|
|
h.OH=function()\{return WH(this.app.getVideoData(),this.app.getCurrentTime())\};\
|
|
h.Sf=function(a)\{var b=this.app,c=eJ(b,this.playerType);c&&b.V.Na.contains(a.toString())&&c.o&&(b=Yu(c.o,"engage"),b.A=a,b.send(void 0))\};\
|
|
h.ai=function(a,b,c)\{var d=lJ(this.app.G,"iv-module");d&&Oy(d)&&Qy(d,a,b,c)\};\
|
|
h.SH=function(a,b)\{var c=this.app;c.ia&&(c=c.ia,c.R&&I6(c.R,a,b))\};\
|
|
h.$h=function()\{return t9(this.app,this.playerType)\};\
|
|
h.Rn=function(a)\{a:\{var b=this.app,c=this.playerType;if(b.V.experiments.Z("legacy_control_redirecting"))\{var d=b.ea.set_audio_track?b.Ca:null;if(d)\{d.Ac("control_set_audio_track",a);break a\}\}else if(3==b.getPresentingPlayerType()&&b.C)\{b.C.Ac("control_set_audio_track",a);break a\}if(c=b=eJ(b,c))if(c=!b.isDisposed()&&!O(b.B,128)&&b.b.o.b)c=b.A,c.isDisposed()?a=!0:(d=c.D,a=a.id,d.B="m",d.A=d.C.b[a],d.J=fD(d),c.Y("audioformatchange",new bD(d.J,d.o,d.B)),c.b&&!c.b.b.remove?a=!1:(EF(c,c.o,fD(c.D)),AE(c.g),\
|
|
AE(c.o),uF(c),a=!0)),c=!a;c&&(LI(b),KI(b))\}\};\
|
|
h.Qu=function()\{var a=eJ(this.app,this.playerType);return a.b.o?a.b.o.audioTracks:[]\};\
|
|
h.QH=function()\{var a=eJ(this.app,this.playerType);return a&&a.getVideoData().g?az(eG(a.ua,a.b)):"unknown"\};\
|
|
h.ZH=function(a,b)\{W9(this.app,a,b)\};\
|
|
h.NH=function()\{var a=lJ(this.app.G,"fresca");a&&a.A.A()\};\
|
|
h.aI=function()\{var a=this.app.ia;a.da=!1;a.Rg()\};\
|
|
h.TH=function()\{var a=this.app.ia;a.da=!0;a.Rg()\};\
|
|
h.getVisibilityState=function()\{return lG(this.app.V)\};\
|
|
h.$H=function()\{return!0\};\
|
|
h.Ru=function(a)\{return vy(this.app.D,a)\};\
|
|
h.YH=function(a)\{this.app.V.enableSafetyMode=a\};\
|
|
h.WH=function(a)\{Yh();S9(this.app,a?2:0)\};\
|
|
h.wp=function()\{var a=eJ(this.app),b=a.V.experiments.Z("disable_html5_stopvideo_cancel_requests");a.pauseVideo(b);a.A&&(a.A.F=!0,b||kF(a.A));if(b=a=this.app.G.o)b=fJ(a)?!!a.g.A.b:!1;b&&jJ(this.app.$a,!0)\};\
|
|
h.ik=function()\{var a=this.app.V;!a.experiments.Z("disable_new_pause_state3")&&zr(a)&&"blazer"!=a.g?this.wp():cJ.L.ik.call(this)\};\
|
|
h.lq=function()\{return UI(eJ(this.app,this.playerType),!0)\};\
|
|
h.Sn=function(a)\{var b=lJ(this.app.G,"captions");YB(b,a,!0)\};\
|
|
h.Qn=function()\{var a=lJ(this.app.G,"captions");return a?XB(a):null\};\
|
|
h.Tu=function()\{var a=lJ(this.app.G,"captions");WB(a,\{\},!0)\};\
|
|
h.UH=function()\{var a=eJ(this.app,this.playerType);if(!a)return!1;a=a.getVideoData();return!!a&&XH(a)&&!!a.g&&a.g.video.isAccelerated&&a.g.video.g\};\
|
|
h.VH=function()\{return this.app.g.G\};\
|
|
h.Ku=function(a,b,c)\{this.jk(ZI(a,b,c))\};\
|
|
h.XH=function(a)\{var b=this.app;b.V.Sa=a;b.b.Va("minimized")\};z(dJ,cJ);h=dJ.prototype;h.Da=function()\{return wy(this).element\};\
|
|
h.ad=function()\{return this.app.A\};\
|
|
h.getVideoData=function(a)\{return(a=eJ(this.app,a||this.playerType))&&a.getVideoData()\};\
|
|
h.isFullscreen=function()\{return this.app.V.M\};\
|
|
h.addEventListener=function(a,b,c)\{this.app.N.subscribe(a,b,c)\};\
|
|
h.removeEventListener=function(a,b,c)\{ug(this.app.N,a,b,c)\};\
|
|
h.Va=function(a,b)\{R(this).Qa&&("videodatachange"==a||"audiotrackchanged"==a||"resize"==a||"cardstatechange"==a)&&this.app.aa.Rb.apply(this.app.aa,arguments);this.app.N.Rb.apply(this.app.N,arguments)\};\
|
|
h.za=function(a,b)\{this.app.aa.Rb.apply(this.app.aa,arguments);this.app.N.Rb.apply(this.app.N,arguments)\};\
|
|
h.hk=function(a)\{this.Uu(a,a)\};\
|
|
h.ck=function(a)\{return v9(this.app,a)\};\
|
|
h.getVideoUrl=function(a,b,c,d)\{var e=this.getPresentingPlayerType(),f=2==e;d&&f&&(f=!1,e=1);d=this.getVideoData(e);if(!d)return"";var k;a||d.xa||(k=Math.floor(this.getCurrentTime(e)));return this.app.V.getVideoUrl(d.videoId,f?void 0:this.ye()||void 0,k,b,c)\};\
|
|
h.ai=function(a,b,c)\{var d=lJ(lq(this),"iv-module");d&&Qy(d,a,b,c)\};\
|
|
h.Sf=function(a,b)\{var c=this.app,d=eJ(c,this.playerType);d&&c.V.Na.contains(a.toString())?d.o?(c=Yu(d.o,"engage"),c.A=a,c.send(b)):b&&b():b&&b()\};\
|
|
h.wb=function(a,b)\{N9(this.app,a,b||this.playerType)\};\
|
|
h.Jb=function(a,b,c)\{return X9(this.app,a,b,c,!0)\};\
|
|
h.Yh=function(a)\{return Y9(this.app,a,!0)\};\
|
|
h.gf=function(a,b,c)\{return X9(this.app,a,b,c,!0)\};\
|
|
h.Zh=function(a,b)\{s9(this.app,a,b)\};\
|
|
h.setVolume=function(a)\{a=bf(a,0,100);Q9(this.app,\{volume:a,muted:this.bd()\},!0)\};\
|
|
h.mute=function()\{Q9(this.app,\{muted:!0,volume:this.Mb()\},!0)\};\
|
|
h.Qf=function()\{Q9(this.app,\{muted:!1,volume:Math.max(5,this.Mb())\},!0)\};z(AJ,gq);h=AJ.prototype;h.Bb=function()\{return BJ(this.b)\};\
|
|
h.create=function()\{AJ.L.create.call(this);this.load()\};\
|
|
h.load=function()\{AJ.L.load.call(this);this.b.addEventListener("resize",this.Wn,this);var a=CJ(R(this.b).g)?function()\{\}:x(this.kz,this);\
|
|
Hda(this,a)\};\
|
|
h.unload=function()\{DJ(this,null);this.b.removeEventListener("resize",this.Wn,this);this.A&&(this.A.abort(),this.A=null);AJ.L.unload.call(this)\};\
|
|
h.Ae=function(a,b)\{if(!CJ(R(this.b).g))return null;switch(a)\{case "loadCustomEndscreenJson":var c=new zJ(b);DJ(this,c);return!0;case "unloadCustomEndscreenJson":return DJ(this,null),!0\}return null\};\
|
|
h.kz=function()\{var a=this.b.getVideoData().videoId;this.A&&this.A.abort();var a=\{method:"GET",Bc:x(this.eD,this,a),Dc:\{v:a\}\},b=R(this.b);b.experiments.Z("endscreen_cors")&&(a.method="POST",a.withCredentials=!0,"gaming"==b.g&&(a.Dc.gaming="1"));"embedded"==R(this.b).b&&(a.Dc.ptype="embedded");if(b=this.b.getVideoData().Xs)a.method="POST",a.Ib=\{ad_tracking:b\};if(b=this.b.getVideoData().A.iv_endscreen_url)this.A=dk(b,a)\};\
|
|
h.eD=function(a,b)\{var c=this.A=null;if(200==b.status)\{var d=b.responseText;")]\}"==d.substring(0,3)&&(d=d.substring(3),c=new zJ(JSON.parse(d)))\}DJ(this,c)\};\
|
|
for(var y$=[346,426,470,506,570,640,853,1280,1920],z$=[],A$=0;A$<y$.length;A$++)z$.push("ytp-ce-size-"+y$[A$]);var qsa=["ytp-ce-top-left-quad","ytp-ce-top-right-quad","ytp-ce-bottom-left-quad","ytp-ce-bottom-right-quad"];h=AJ.prototype;\
|
|
h.Wn=function()\{if(this.o&&this.o.elements)\{var a=this.b.Ru(),b=a.width,c=a.height,d=b/c,e;e=yy(this.b).width;for(var f=null,k=-1,l=0;l<y$.length;l++)\{var m=Math.abs(e-y$[l]);if(-1==k||f>=m)k=l,f=m\}e=z$[k];for(f=0;f<this.o.elements.length;++f)\{var l=this.o.elements[f].id,k=this.g[l],m=this.C[l],n=m.width*d/m.aspectRatio,l=Math.round(n*c),t=a.left+Math.round(m.left*b),u=a.top+Math.round(m.top*c);Zs(k.element,Math.round(m.width*b),l);Os(k.element,t,u);ne(k.element,qsa);J(k.element,[["ytp-ce-top-left-quad",\
|
|
"ytp-ce-top-right-quad"],["ytp-ce-bottom-left-quad","ytp-ce-bottom-right-quad"]][Math.round(m.top+n/2)][Math.round(m.left+m.width/2)]);ne(k.element,z$);J(k.element,e);(k=qf("div","ytp-ce-expanding-overlay-body",k.element)[0])&&Is(k,"height",l+"px")\}\}\};\
|
|
h.Xd=function(a)\{AJ.L.Xd.call(this,a);if("ytp-ce-in-endscreen"==a.getId())HJ(this,this.o.impressionUrls),this.G=!1,this.o.skip&&1==this.b.getPlayerState()&&(a=this.b,k9(a.app,!0,a.playerType),this.b.seekTo(window.Infinity),this.G=!0);else if(!this.G)\{a=a.getId().substring(15);var b=this.g[a],c=this.C[a];J(b.element,"ytp-ce-element-show");b.element.removeAttribute("aria-hidden");HJ(this,c.impressionUrls);R(this.b).Qa&&this.b.za("endscreenelementshown",a)\}\};\
|
|
h.qe=function(a)\{if("ytp-ce-in-endscreen"!=a.getId()&&!this.G)\{var b=a.getId().substring(15),c=this.g[b];me(c.element,"ytp-ce-element-show");c.element.setAttribute("aria-hidden",!0);AJ.L.qe.call(this,a);R(this.b).Qa&&this.b.za("endscreenelementhidden",b)\}\};\
|
|
h.Iy=function(a)\{return new P(["div",["ytp-ce-element","ytp-ce-video"],\{tabindex:0,"aria-label":a.g,"aria-hidden":!0\},["div","ytp-ce-element-shadow"],["div","ytp-ce-covering-image",FJ(EJ(this,a))],["div","ytp-ce-covering-shadow-top"],["a","ytp-ce-covering-overlay",\{href:a.b,tabindex:"-1"\},["div",["ytp-ce-video-title","yt-ui-ellipsis","yt-ui-ellipsis-2"],a.title],["div","ytp-ce-video-duration",a.videoDuration]]])\};\
|
|
h.Hy=function(a)\{return new P(["div",["ytp-ce-element","ytp-ce-playlist"],\{tabindex:0,"aria-label":a.g,"aria-hidden":!0\},["div","ytp-ce-element-shadow"],["div","ytp-ce-covering-image",FJ(EJ(this,a))],["div","ytp-ce-covering-shadow-top"],["a","ytp-ce-covering-overlay",\{href:a.b,tabindex:"-1"\},["div",["ytp-ce-playlist-title","yt-ui-ellipsis","yt-ui-ellipsis-2"],a.title],["div","ytp-ce-playlist-count",["div","ytp-ce-playlist-icon"],["div","ytp-ce-playlist-count-text",a.playlistLength]]]])\};\
|
|
h.Gy=function(a)\{var b=new P(["div",["ytp-ce-element","ytp-ce-channel",a.H?"ytp-ce-channel-this":"ytp-ce-channel-that"],\{tabindex:0,"aria-label":a.g,"aria-hidden":!0\},["div","ytp-ce-element-shadow"],["div","ytp-ce-expanding-overlay",["div","ytp-ce-expanding-overlay-hider"],["div","ytp-ce-expanding-overlay-background"],["div","ytp-ce-expanding-overlay-content",["div","ytp-ce-expanding-overlay-body",["div","ytp-ce-expanding-overlay-body-padding",["a",["ytp-ce-channel-title","ytp-ce-link"],a.title,\{href:a.b,\
|
|
target:"_blank",tabindex:"-1"\}],a.A||a.subscribeButton?["div","ytp-ce-channel-subscribe"]:"",a.metadata?["div",["ytp-ce-channel-metadata","yt-ui-ellipsis","yt-ui-ellipsis-3"],a.metadata]:""]]]],["div","ytp-ce-expanding-image",FJ(EJ(this,a))]]),c=qf("div","ytp-ce-channel-subscribe",b.element)[0];a.A?xh(c,a.A):a.subscribeButton&&(J(c,"ytp-ce-subscribe-button"),a=Bda(a.subscribeButton,a.channelId),c.appendChild(a.element));return b\};\
|
|
h.Jy=function(a)\{return new P(["div",["ytp-ce-element","ytp-ce-website"],\{tabindex:0,"aria-label":a.g,"aria-hidden":!0\},["div","ytp-ce-element-shadow"],["div","ytp-ce-expanding-overlay",["div","ytp-ce-expanding-overlay-hider"],["div","ytp-ce-expanding-overlay-background"],["div","ytp-ce-expanding-overlay-content",["div","ytp-ce-expanding-overlay-body",["div","ytp-ce-expanding-overlay-body-padding",["div","ytp-ce-website-title",a.title],["div","ytp-ce-website-metadata",a.metadata],["a",["ytp-ce-website-goto",\
|
|
"ytp-ce-link"],a.callToAction,\{href:a.b,target:"_blank",tabindex:"-1"\}]]]]],["div","ytp-ce-expanding-image",FJ(EJ(this,a))],["div","ytp-ce-expanding-icon",FJ(a.F)]])\};\
|
|
h.Xr=function(a,b)\{if(!(!a.b||b&&b.keyCode&&13!=b.keyCode))\{for(var c=b.target;c&&!je(c,"ytp-ce-element");)\{je(c,"subscribe-label")&&HJ(this,a.clickUrls);if(je(c,"ytp-ce-channel-subscribe"))return;c=Qf(c)\}b.preventDefault();b.stopPropagation();b.ctrlKey||b.metaKey||"new"==a.J?(HJ(this,a.clickUrls),this.zt(),this.b.pauseVideo(),this.$u(a.b,a.C,"_blank")):(c=x(this.$u,this,a.b,a.C,"_top"),c=x(this.zt,this,c),HJ(this,a.clickUrls,c))\}\};\
|
|
h.Vn=function(a,b)\{J(a.element,"ytp-ce-element-hover");HJ(this,b.D);GJ(this,b.id,!0)\};\
|
|
h.av=function(a,b)\{me(a.element,"ytp-ce-element-hover");GJ(this,b.id,!1)\};\
|
|
h.$u=function(a,b,c)\{vr(a,b);wr(a,c)\};\
|
|
h.zt=function(a)\{this.b.Sf(17,a)\};z(IJ,gq);h=IJ.prototype;h.Bb=function()\{return JJ(this.b)\};\
|
|
h.create=function()\{IJ.L.create.call(this);var a=new dq(1E3,0x7ffffffffffff,\{priority:0\});this.wb([a]);this.b.addEventListener("heartbeatparams",this.cv,this);this.b.addEventListener("presentingplayerstatechange",this.dv,this);this.b.addEventListener("videoplayerreset",this.Ns,this)\};\
|
|
h.destroy=function()\{OJ(this);IJ.L.destroy.call(this);this.b.removeEventListener("heartbeatparams",this.cv,this);this.b.removeEventListener("presentingplayerstatechange",this.dv,this);this.b.removeEventListener("videoplayerreset",this.Ns,this)\};\
|
|
h.Xd=function()\{this.C=!0;LJ(this,2E3)\};\
|
|
h.cv=function(a)\{this.o=a;LJ(this,2E3)\};\
|
|
h.dv=function(a)\{O(a.state,2)||O(a.state,64)?OJ(this):(O(a.state,1)||O(a.state,8))&&LJ(this,2E3)\};\
|
|
h.Ns=function()\{3!==this.b.getPresentingPlayerType()&&LJ(this,2E3)\};\
|
|
h.oG=function()\{var a,b,c=R(this.b),d=this.b.getVideoData();b=c.baseYtUrl;3==this.b.getPresentingPlayerType()?this.g=window.NaN:O(qs(this.b),4)?this.g=window.NaN:KJ(this)||d.xa?(!TH(d)||d.xa?(a="GET",c=c.o,b=Vg(b+"heartbeat",\{video_id:d.videoId,heartbeat_token:d.heartbeatToken,c:c.c,cver:c.cver,cbrand:c.cbrand,cmodel:c.cmodel,vvt:d.R,access_token:d.oauthToken\})):(a="GET",b=Vg(this.o.url,\{request_id:gr()\}),d.R&&(b=Vg(b,\{vvt:d.R\})),d.oauthToken&&(b=Vg(b,\{access_token:d.oauthToken\}))),b=Vg(b,\{cpn:d.clientPlaybackNonce\}),\
|
|
dk(b,\{format:"RAW",method:a,timeout:3E4,sb:x(this.DB,this),onError:x(this.CB,this),Lc:x(this.EB,this),withCredentials:!0\})):OJ(this)\};\
|
|
h.DB=function(a)\{if(this.g)\{a=a.responseText;var b;b=(b=NJ(a))?"ok"==b.status?b.stop_heartbeat?2:0:"stop"==b.status?1:"live_stream_offline"==b.status?0:-1:(b=a.match(B$))?"0"==b[1]?0:1:-1;if(-1==b)MJ(this,!1,"decode");else if(2!=b||KJ(this))if(this.B=0,this.g=window.NaN,1==b)\{this.A=!1;b=this.b;var c="YTP_ERROR_LICENSE",d=NJ(a);d?a=d.reason||M(c):((a=a.match(B$))&&(a=(0,window.parseInt)(a[1],10))&&(c=rq(a)),a=M(c));oI(b.app.g,"heartbeat.stop",a,void 0)\}else this.A=!0,LJ(this);else OJ(this),this.A=\
|
|
!0\}\};\
|
|
h.CB=function(a)\{MJ(this,!0,"net-"+a.status)\};\
|
|
h.EB=function()\{MJ(this,!0,"timeout")\};\
|
|
var B$=/^GLS\\/1.0 (\\d+) (\\w+).*?\\r\\n\\r\\n([\\S\\s]*)$/;z(TJ,F);TJ.prototype.T=function()\{this.b=null;TJ.L.T.call(this)\};z($J,F);$J.prototype.T=function()\{this.stop();$J.L.T.call(this)\};\
|
|
$J.prototype.stop=function()\{null!==this.g&&(Xi(this.g),this.g=null);null!==this.b&&(this.b.cancel(),this.b=null)\};z(aK,F);aK.prototype.T=function()\{this.b&&(Xi(this.b),this.b=0);aK.L.T.call(this)\};\
|
|
aK.prototype.A=function(a,b,c)\{for(;;)\{if(C()>=a)\{c(Error("tryLock expired"));return\}Kj(this.o,this.wa,.5);if(!Lj(this.g))break\}Kj(this.g,this.wa,.5);if(Lj(this.o)==this.wa)b(this.wa);else\{var d=this;this.b=Vi(function()\{d.b=0;Lj(d.g)==d.wa?b(d.wa):d.A(a,b,c)\},50)\}\};\
|
|
z(bK,F);bK.prototype.T=function()\{this.b.dispose();bK.L.T.call(this)\};\
|
|
bK.prototype.id=function()\{return this.wa\};z(hK,F);h=hK.prototype;h.T=function()\{hK.L.T.call(this);this.A&&(Yi(this.A),this.A=0);this.o&&(this.o.dispose(),this.o=null);this.g&&(this.g.dispose(),this.g=null);nm(this.B)\};\
|
|
h.vr=function(a)\{this.isDisposed()||Vda(this.o,a).then(function()\{this.isDisposed()||this.g||(Xda(this),this.g=new $J(Xb(this.b.b),x(this.sE,this)))\},function()\{this.g&&(this.g.dispose(),this.g=null)\},this)\};\
|
|
h.sE=function(a,b)\{a.contentProfileToken=b.contentProfileToken;null!==b.deviceId&&(a.deviceId=b.deviceId);a.status=b.status;1===a.status?a.b=b.timestamp:a.active=!1;a.g=b.b;if(null===eK(this.b))\{var c=Xb(this.b.b);Lb(c);for(var d=c.length,e=0;e<d;++e)\{var f=c[e];if(1===f.status)\{f.active=!0;break\}\}\}gK(this)\};\
|
|
h.reset=function()\{this.b=new cK;Mj("yt-accelerator-discover")\};\
|
|
h.fA=function(a)\{"yt-accelerator-discover"===a.event.key&&(this.b=dK())\};z(iK,F);ca(iK);iK.prototype.init=function(a)\{this.b||(this.b=new hK(a.addresses||[],!!a.probe,a.xsrfToken||"",a.applianceQueryParams||""),this.g=new TJ(this.b))\};\
|
|
iK.prototype.T=function()\{this.g&&(this.g.dispose(),this.g=null);this.b&&(this.b.dispose(),this.b=null);iK.L.T.call(this);delete iK.$b\};z(jK,gq);h=jK.prototype;h.Bb=function()\{return!!this.b.getVideoData().spacecastModule\};\
|
|
h.create=function()\{jK.L.create.call(this);if(this.b.getVideoData().Ne)\{var a=\{addresses:this.b.getVideoData().Ne,probe:!0\};window.environment&&window.environment.xsrf_token&&(a.xsrfToken=window.environment.xsrf_token);iK.getInstance().init(a)\}var b;a:\{a=(a=Lj("yt-accelerator-discover"))&&a.addrmap||\{\};for(b in a)\{var c=a[b];if(c.active&&(c=c.last_probe_tstamp,!(c&&12E5<Date.now()-c)))\{b="//"+b;break a\}\}b=null\}this.g=b;this.o=(b=Lj("yt-accelerator-discover"))&&b.qparamsmap||\{\};this.load()\};\
|
|
h.destroy=function()\{jK.L.destroy.call(this);this.g=null;this.o=\{\}\};\
|
|
h.load=function()\{jK.L.load.call(this);if(this.g)\{var a=this.b.getVideoData().videoId,b=C();Kda(this.g,a,x(this.BA,this,a,b),this.o)\}else kq(this)\};\
|
|
h.Ae=function(a)\{switch(a)\{case "getVideo":a=this.b.getVideoData();var b=!!(a&&XH(a)&&a.g&&a.g.video.isAccelerated);return\{docid:a.videoId,isAccelerated:b\}\}\};\
|
|
h.BA=function(a,b,c)\{if(this.g)\{b=C()-b;var d=!1,e=this.b.getVideoData(),f="unknown",k=PJ(c),l=!0;e.xb=Yb(k);if(c)\{c.status&&(f=c.status);"ux"in c&&(l=!!c.ux);if(k=QJ(this.g,c,e.adaptiveFormats,l,this.o))e.spacecastAdaptiveFormats=k;if(c=QJ(this.g,c,e.qa,l,this.o))e.spacecastFormatMap=c;if(k||c)SH(e,R(this.b)),e.aa||Ada(this.b),d=az(e.Sa),this.b.hk(d),d=!0\}(c=2==this.b.getPresentingPlayerType())&&!d?yd(function()\{var a=this.b.app;a.F&&a.F.D&&(a=a.F,a.B&&(a=a.A?a.A.A:a.o.b.b,null!=a&&a.pk()))\},this):\
|
|
kq(this);\
|
|
jj("yt-spacecast-cache-watch-video-cached",a,d);a=\{a:"spacecast",module:"player",status:f,docid:a,cached:d?1:0,"cache-latency":b,cpn:e.clientPlaybackNonce,fmts:e.xb.join(","),isAd:c?1:0\};kc(a,this.o);Wp("/gen_204?"+Tg(a),void 0)\}\};kK.prototype.b=v;z(lK,gq);h=lK.prototype;h.Bb=function()\{return ws(this.b.getVideoData(),"ypc_clickwrap_module")\};\
|
|
h.create=function()\{lK.L.create.call(this);this.load()\};\
|
|
h.load=function()\{lK.L.load.call(this);this.g=new P(\{I:"div",fa:["ytp-ypc-clickwrap-overlay","ytp-player-content"],P:[\{I:"h2",W:"ytp-ypc-clickwrap-header",P:[M("YTP_YPC_START_RENTAL_HEADER")]\},\{I:"div",W:"ytp-ypc-clickwrap-description",P:[this.b.getVideoData().A.ypc_clickwrap_message]\},\{I:"button",fa:["ytp-ypc-clickwrap-confirm","ytp-button"],P:[M("YTP_YPC_START_RENTAL_BUTTON")]\}]\});mw(this.b,this.g.element,4);H(this,this.g);this.o=this.g.pa["ytp-ypc-clickwrap-confirm"];this.g.S(this.o,"click",this.NC,\
|
|
this)\};\
|
|
h.unload=function()\{lK.L.unload.call(this);this.g.detach();this.g.dispose();this.g=null\};\
|
|
h.NC=function()\{kq(this);this.destroy()\};z(mK,kK);mK.prototype.b=function()\{return[Dy.o,Dda,xs,Ida,Yda,Aba,Zda]\};nK.prototype.b=function(a,b)\{oK(this,"index");this.A.push(\{index:this.G++,weight:a,value:b\});this.g+=a;for(oK(this,"index");this.g>this.D;)\{var c=this.g-this.D,d=this.A[0];d.weight<=c?(this.g-=d.weight,this.A.shift()):(this.g-=c,d.weight-=c)\}\};\
|
|
nK.prototype.o=function()\{return this.C?(pK(this,this.B-this.C)+pK(this,this.B)+pK(this,this.B+this.C))/3:pK(this,this.B)\};qK.prototype.b=function(a,b)\{this.g.push(b);this.g.length>this.A&&this.g.shift()\};\
|
|
qK.prototype.o=function()\{return ff.apply(null,this.g)\};vK.prototype.toString=function()\{return this.type+this.id\};z(zK,sk);h=zK.prototype;h.hasNext=function(a)\{return this.G||!!a||this.b+1<this.A\};\
|
|
h.Gb=function(a,b)\{var c=void 0!=a?a:this.b,c=this.g&&c in this.g?this.g[this.o[c]]:null,d=null;c&&(b&&(c.autoplay="1"),d=new DH(c),d.startSeconds=this.startSeconds||d.clipStart||0,this.listId&&(d.playlistId=this.listId.toString()));return d\};\
|
|
h.Hc=function(a,b)\{b=b||"hqdefault.jpg";var c=this.K[b];if(c||a.F||"sddefault.jpg"==b||"maxresdefault.jpg"==b)return c;if(this.J.length)return PA(a,this.J[0],b)\};\
|
|
h.Vi=function()\{return null\};\
|
|
h.Wg=function()\{return this.listId?this.listId.toString():null\};\
|
|
h.Ol=function(a)\{return a.getVideoUrl(this.Gb().videoId,this.Wg())\};\
|
|
h.T=function()\{this.C=null;Ob(this.g);zK.L.T.call(this)\};z(FK,sk);FK.prototype.load=function()\{this.loaded=!0\};\
|
|
FK.prototype.unload=function()\{this.loaded=!1\};\
|
|
FK.prototype.T=function()\{this.loaded&&this.unload();FK.L.T.call(this)\};z(GK,P);GK.prototype.subscribe=function(a,b,c)\{return this.N.subscribe(a,b,c)\};\
|
|
GK.prototype.Fa=function(a,b,c)\{return this.N.Fa(a,b,c)\};\
|
|
GK.prototype.Nc=function(a)\{return this.N.Nc(a)\};\
|
|
GK.prototype.Y=function(a,b)\{return this.N.Y.apply(this.N,arguments)\};z(HK,GK);HK.prototype.create=function()\{this.K=!0\};\
|
|
HK.prototype.destroy=function()\{this.K=!1\};\
|
|
HK.prototype.Xk=function()\{return!1\};z(IK,P);z(JK,P);z(KK,JK);KK.prototype.fb=function(a)\{a?this.A.show():Cv(this.A)\};z(LK,HK);LK.prototype.create=function()\{LK.L.create.call(this);Hf(this.element);this.A.Ba(this.element);var a=this.b.getVideoData().videoId;a&&(a=MA(R(this.b),a,!0),dk(a,\{method:"GET",sb:this.B,context:this,Uy:!0\}))\};\
|
|
LK.prototype.B=function(a,b)\{if(this.K)\{var c=b.user_info,d=c.channel_banner_url;LA.test(d)||(d="");var e=c.channel_logo_url||c.image_url;LA.test(e)||(e="");this.o.va("background",d?"background-image: url("+d+")":"");this.A.va("image",e);this.A.va("author",c.channel_title||c.username);c=c.subscription_button_html;d=this.A.pa["html5-subscribe-button-container"];c?d.innerHTML=Qe(c):Hf(d)\}\};\
|
|
LK.prototype.show=function()\{LK.L.show.call(this);this.o.fb(!0)\};\
|
|
LK.prototype.oa=function()\{LK.L.oa.call(this);this.o.fb(!1)\};z(OK,P);h=OK.prototype;h.Li=function()\{this.B&&(this.D.stop(),this.sa(this.C),this.C=null,this.B.close(),this.B=null)\};\
|
|
h.Or=function()\{this.fb(gJ(this.o))\};\
|
|
h.ZD=function()\{window.focus();this.Li()\};\
|
|
h.Tk=function()\{var a=Math.min(Bq()-this.F,1E4),a=Math.min(a/1E4,1);this.G.setAttribute("stroke-dashoffset",-293*(a+1));1<=a?this.select(!0):this.b&&this.b.start()\};\
|
|
h.select=function(a)\{var b=R(this.o);if(b.experiments.Z("autonav_notifications")&&a&&window.Notification&&window.document.hasFocus)\{var c=window.Notification.permission;uv(this.o,"xwebnotifications",\{permission:c\});"default"==c?window.Notification.requestPermission():"granted"!=c||window.document.hasFocus()||(c=this.A.Gb(),this.Li(),this.B=new window.Notification(M("YTP_PLAYLIST_UP_NEXT"),\{body:c.title,icon:c.Hc(b)\}),this.C=this.S(this.B,"click",this.ZD),this.D.start())\}QK(this);b=this.A.Gb().videoId;\
|
|
I9(this.o.app,b,a?this.A.Ys:this.A.Ha,this.A.Wg(),void 0,void 0)\};\
|
|
h.gE=function(a)\{!wm(a)&&Tq(a)&&(this.select(),vm(a))\};\
|
|
h.Pr=function(a)\{vm(a);pJ(this.o,"autonavcancel");jJ(this.o,!0)\};\
|
|
h.VJ=function(a)\{120<rm(a).naturalWidth&&J(this.element,"ytp-moving-thumbnail-loaded")\};\
|
|
h.T=function()\{QK(this);this.Li();OK.L.T.call(this)\};z(SK,P);h=SK.prototype;h.Mg=function()\{var a=this.b.Gb().videoId;I9(this.o.app,a,this.b.Ha,this.b.Wg(),void 0,void 0)\};\
|
|
h.vI=function(a)\{yr(a,this.o,!this.o.isFullscreen()&&this.B,this.b.Ha)&&this.Mg()\};\
|
|
h.xI=function()\{this.sa(this.A);this.A=null;TK(this)\};\
|
|
h.wI=function(a)\{switch(a.keyCode)\{case 13:case 32:wm(a)||(this.Mg(),vm(a))\}\};\
|
|
h.yI=function(a)\{120<rm(a).naturalWidth&&J(this.element,"ytp-videowall-moving-thumbnail-loaded")\};z(UK,HK);UK.b=2;h=UK.prototype;h.create=function()\{UK.L.create.call(this);var a=this.b.getVideoData();a&&(this.o=WK(a),this.C=a);this.mf();this.D.S(this.b,"appresize",this.mf);this.D.S(this.b,"videodatachange",this.uI);this.D.S(this.b,"autonavchange",this.sq);this.D.S(this.b,"autonavcancel",this.Cz);this.D.S(this.element,"transitionend",this.iF)\};\
|
|
h.destroy=function()\{tx(this.D);Ob(this.B);this.B=[];this.o=null;UK.L.destroy.call(this);me(this.element,"ytp-show-tiles");this.J.stop()\};\
|
|
h.Xk=function()\{return 1!=this.C.autonavState\};\
|
|
h.show=function()\{UK.L.show.call(this);me(this.element,"ytp-show-tiles");R(this.b).isMobile?ge(this.J):this.J.start();(this.H||this.G&&this.G!=this.C.clientPlaybackNonce)&&jJ(this.b,!1);var a=VK(this);yJ(this.b)&&R(this.b).experiments.Z("ui_logging")&&this.X.log(\{cancelButtonShow:a?"1":"0",state:this.Xk()?"enabled":"disabled"\});a?(YK(this),2==this.C.autonavState?R(this.b).experiments.Z("fast_autonav_in_background")&&3==this.b.getVisibilityState()?this.A.select(!0):PK(this.A):3==this.C.autonavState&&\
|
|
RK(this.A)):(jJ(this.b,!0),YK(this))\};\
|
|
h.oa=function()\{UK.L.oa.call(this);RK(this.A);YK(this)\};\
|
|
h.iF=function(a)\{rm(a)==this.element&&this.mf()\};\
|
|
h.mf=function()\{if(this.o&&this.o.length)\{var a=R(this.b).experiments.Z("video_wall_moving_thumbnails_hover");J(this.element,"ytp-endscreen-paginate");for(var b=at(this.element),c=b.width/b.height,d=96/54,e=UK.b,f=UK.b,k=Math.max(b.width/96,2),l=Math.max(b.height/54,2),m=this.o.length,n=Math.pow(UK.b,2),t=m*n,u=XK(this,0,l),y=XK(this,1,l),t=t+(Math.pow(u,2)-n),t=t+(Math.pow(y,2)-n),t=t-n;0<t&&(e<k||f<l);)\{var E=e/UK.b,G=f/UK.b,Y=e<=k-UK.b&&t>=G*n,N=f<=l-UK.b&&t>=E*n;if((E+1)/G*d/c>c/(E/(G+1)*d)&&\
|
|
N)t-=E*n,f+=UK.b;else if(Y)t-=G*n,e+=UK.b;else if(N)t-=E*n,f+=UK.b;else break\}d=!1;k=UK.b+u;t>=3*n&&6>=m*n-t&&(f>=k||e>=k)&&y<=UK.b&&(d=!0);t=96*e;n=54*f;c=t/n<c?b.height/n:b.width/t;c=Math.min(c,2);t*=c;n*=c;t*=bf(b.width/t||1,1,1.21);n*=bf(b.height/n||1,1,1.21);t=Math.floor(Math.min(b.width,t));n=Math.floor(Math.min(b.height,n));b=this.M.element;Zs(b,t,n);Is(b,\{marginLeft:t/-2+"px",marginTop:n/-2+"px"\});c=this.A;k=this.o[0];c.A=k;NK(c,k,R(c.o),"hqdefault.jpg");me(c.element,"ytp-moving-thumbnail-loaded");\
|
|
c.update(\{moving_thumbnail:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"\});5E5<XC(c.o.app.la)&&(k=c.A.Vi())&&c.update(\{moving_thumbnail:k\});oe(this.element,"ytp-endscreen-takeover",VK(this));YK(this);c=t+4;t=n+4;n=0;k=!VK(this);l=!1;for(E=0;E<e;E++)for(G=0;G<f;G++)if(Y=y>UK.b&&1<=n&&!l?n+1:n,N=0,d&&E>=e-UK.b&&G>=f-UK.b?N=1:0==G%UK.b&&0==E%UK.b&&(G<u&&E<u?0==G&&0==E&&(N=u):y>UK.b&&G>=f-y&&E>=e-y?G==f-y&&E==e-y&&(l=!0,Y=1,N=y):N=UK.b),Y=(Y+this.F)%m,Y=0>Y*m?Y+m:Y,\
|
|
0!=N)\{var Q=this.B[n];Q||(Q=new SK(this.b),this.B[n]=Q,b.appendChild(Q.element));var cb=Math.floor(t*G/f),Ab=Math.floor(c*E/e),jb=Math.floor(t*(G+N)/f)-cb-4,db=Math.floor(c*(E+N)/e)-Ab-4;Os(Q.element,Ab,cb);Zs(Q.element,db,jb);Is(Q.element,"transitionDelay",(G+E)/20+"s");oe(Q.element,"ytp-videowall-still-mini",1==N);oe(Q.element,"ytp-videowall-still-large",2<N);N=Q;Y=this.o[Y];Q=k&&!a;N.b=Y;cb=R(N.o);NK(N,Y,cb,je(N.element,"ytp-videowall-still-large")?"hqdefault.jpg":"mqdefault.jpg");me(N.element,\
|
|
"ytp-videowall-moving-thumbnail-loaded");N.update(\{moving_thumbnail:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"\});Q?(J(N.element,"ytp-videowall-active"),TK(N)):cb.experiments.Z("video_wall_moving_thumbnails_hover")&&!N.A&&(N.A=N.O("mouseover",N.xI));n++\}oe(this.element,"ytp-endscreen-paginate",n<m);for(a=this.B.length-1;a>=n;a--)Q=this.B[a],Jf(Q.element),Nb(Q);this.B.length=n\}\};\
|
|
UK.o=2;UK.g=1.21;h=UK.prototype;h.uI=function()\{var a=this.b.getVideoData();this.C!=a&&(this.F=0,this.o=WK(a),this.C=a,this.mf())\};\
|
|
h.DC=function()\{this.F+=this.B.length;this.mf()\};\
|
|
h.EC=function()\{this.F-=this.B.length;this.mf()\};\
|
|
h.sq=function(a)\{1==a?(this.H=!1,this.G=this.C.clientPlaybackNonce,QK(this.A),this.g&&this.mf()):(this.H=!0,this.g&&VK(this)&&(2==a?PK(this.A):3==a&&RK(this.A)))\};\
|
|
h.Cz=function(a)\{if(a)\{a=[];for(var b=0;b<this.o.length;b++)\{var c=this.o[b].Ha;c&&a.push(c.itct)\}b=this.aa;if(R(b).experiments.Z("player_interaction_logging"))\{for(var b=b.app.bc,c=[],d=0;d<a.length;d++)\{var e=a[d];b.g[e]||(b.g[e]=!0,c.push(e))\}0<c.length&&b.b.Rb("onLogServerVesShown",c)\}this.sq(1)\}else this.G=null,this.H=!1;this.mf()\};z(g.$K,FK);h=g.$K.prototype;h.T=function()\{var a=this.b;hq(a.app,"endscreen",a.playerType);g.$K.L.T.call(this)\};\
|
|
h.load=function()\{g.$K.L.load.call(this);this.g.show();R(this.b).ha&&.01>Math.random()&&this.log(\{trailerEndscreenShow:1\})\};\
|
|
h.log=function(a)\{uv(this.b,"end",a)\};\
|
|
h.unload=function()\{g.$K.L.unload.call(this);this.g.oa();this.g.destroy()\};\
|
|
h.nI=function(a)\{hJ(this)&&(this.g.K||this.g.create(),"load"==a.getId()&&this.load())\};\
|
|
h.oI=function(a)\{"load"==a.getId()&&this.loaded&&this.unload()\};\
|
|
h.kt=function()\{var a=this.b;hq(a.app,"endscreen",a.playerType);var a=Math.max(1E3*(this.b.getVideoData().lengthSeconds-10),0),a=new dq(a,0x8000000000000,\{id:"preload",namespace:"endscreen"\}),b=new dq(0x8000000000000,0x8000000000000,\{id:"load",priority:6,namespace:"endscreen"\});this.b.wb([a,b])\};bL.prototype.jc=function(a)\{if(null===this.g)return a;var b=new jf(a.videoWidth,a.videoHeight);if(!kf(b,this.B)&&(this.g.canvas.width=b.width,this.g.canvas.height=b.height,this.b.top=0,this.b.left=0,this.b.width=b.width,this.b.height=b.height,this.B=b,0<this.o))\{this.o=3;var c=p5(wy(this.$)),d=16/9;c<d?(this.b.width=b.width*c/d,this.b.left=Math.ceil(.5*(b.width-this.b.width)),this.b.width|=0):c>d&&(this.b.height=b.height*d/c,this.b.top=Math.ceil(.5*(b.height-this.b.height)),this.b.height|=0)\}0<this.o&&\
|
|
(this.A^=1,2<=this.b.top?(this.A?cL(this,a,0,0,this.b.width,this.b.top-1):cL(this,a,0,a.videoHeight-this.b.top+1,this.b.width,this.b.top-1))&&--this.o:2<=this.b.left&&(this.A?cL(this,a,0,0,this.b.left-1,this.b.height):cL(this,a,a.videoWidth-this.b.left+1,0,this.b.left-1,this.b.height))&&--this.o,0>=this.o&&(this.b.top=0,this.b.left=0,this.b.width=a.videoWidth,this.b.height=a.videoHeight));try\{this.g.drawImage(a,this.b.left,this.b.top,this.b.width,this.b.height,0,0,this.B.width,this.B.height)\}catch(e)\{if(!(e instanceof\
|
|
window.DOMException)||"IndexSizeError"!=e.name)throw e;\}return this.g.canvas\};\
|
|
bL.prototype.destroy=function()\{null!=this.g&&(this.g.canvas.remove?this.g.canvas.remove():this.g.canvas.removeNode(!0),this.g=null)\};h=dL.prototype;h.Ll=function()\{return"attribute vec3 aVertPos;\\nvarying vec2 vTexCrd;\\nvoid main(void) \{\\n vTexCrd = vec2((aVertPos.x + 1.0) * 0.5, (1.0 - aVertPos.y) * 0.5);\\n gl_Position = vec4(aVertPos, 1.0);\\n\}"\};\
|
|
h.Cl=function()\{return this.g\};\
|
|
h.Yd=function(a,b)\{a.uniform1i(a.getUniformLocation(b,"uSplr"),0)\};\
|
|
h.gv=function()\{\};\
|
|
h.Xn=function(a)\{this.F&&(360>=Wy[a]?this.C(!0):this.C(!1))\};\
|
|
h.Md=function(a,b)\{a.texImage2D(a.TEXTURE_2D,0,a.RGBA,a.RGBA,a.UNSIGNED_BYTE,this.B.jc(b));a.drawArrays(a.TRIANGLE_STRIP,0,4)\};\
|
|
h.Ts=function()\{return!0\};\
|
|
h.Bf=function()\{return\{shader:"NoOp"\}\};\
|
|
h.ci=function()\{\};\
|
|
h.destroy=function()\{this.B&&this.B.destroy()\};z(eL,dL);eL.prototype.Yd=function(a,b,c)\{eL.L.Yd.call(this,a,b,c);a.uniformMatrix4fv(a.getUniformLocation(b,"mLt"),!1,new window.Float32Array([.456,-.04,-.015,0,.5,-.038,-.021,0,.176,-.016,-.005,0,0,0,0,1]));a.uniformMatrix4fv(a.getUniformLocation(b,"mRt"),!1,new window.Float32Array([-.043,.378,-.072,0,-.088,.734,-.113,0,0,-.018,1.226,0,0,0,0,1]));this.A=a.getUniformLocation(b,"mode");a.uniform1i(this.A,this.b)\};\
|
|
eL.prototype.Md=function(a,b,c)\{this.o&&(a.uniform1i(this.A,this.b),this.o=!1);eL.L.Md.call(this,a,b,c)\};\
|
|
eL.prototype.Bf=function()\{return\{shader:"Anaglyph3D",displayMode:this.b\}\};\
|
|
eL.prototype.ci=function(a)\{"Anaglyph3D"==a.shader&&(void 0!=a.displayMode&&(this.b=(0,window.parseInt)(a.displayMode,10),Kj("yt-player-webgl-anaglyph-3d-display-mode",this.b),this.o=!0),this.D())\};z(fL,dL);\
|
|
fL.prototype.Yd=function(a,b,c)\{fL.L.Yd.call(this,a,b,c);c=new window.Uint8Array(4194304);for(var d=0;4194304>d;d++)c[d]=255*Math.random();d=a.createTexture();a.activeTexture(a.TEXTURE1);a.bindTexture(a.TEXTURE_2D,d);a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MIN_FILTER,a.NEAREST);a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MAG_FILTER,a.NEAREST);a.texParameteri(a.TEXTURE_2D,a.TEXTURE_WRAP_S,a.REPEAT);a.texParameteri(a.TEXTURE_2D,a.TEXTURE_WRAP_T,a.REPEAT);a.texImage2D(a.TEXTURE_2D,0,a.LUMINANCE,2048,2048,\
|
|
0,a.LUMINANCE,a.UNSIGNED_BYTE,c);a.uniform1i(a.getUniformLocation(b,"uNoiseSplr"),1);a.uniform1f(a.getUniformLocation(b,"amount"),this.G);a.uniform1f(a.getUniformLocation(b,"offset"),this.H);this.o=a.getUniformLocation(b,"seed");(a=this.$.getVideoData())&&a.g&&this.Xn(a.g.video.quality)\};\
|
|
fL.prototype.Md=function(a,b,c)\{if(this.J)\{var d=C();1E3<d-this.A&&(this.A=d,a.uniform1f(this.o,Math.random()))\}else a.uniform1f(this.o,Math.random());fL.L.Md.call(this,a,b,c)\};\
|
|
fL.prototype.Bf=function()\{return\{shader:"WhiteNoise"\}\};z(gL,fL);gL.prototype.Yd=function(a,b,c)\{gL.L.Yd.call(this,a,b,c);this.b=a.getUniformLocation(b,"mode");a.uniform1i(this.b,1)\};\
|
|
gL.prototype.Md=function(a,b,c)\{this.D&&(a.uniform1i(this.b,1),this.D=!1);gL.L.Md.call(this,a,b,c)\};\
|
|
gL.prototype.Bf=function()\{return\{shader:"EdgeEnhance"\}\};hL.prototype.b=4;hL.prototype.set=function(a,b)\{b=b||0;for(var c=0;c<a.length&&b+c<this.length;c++)this[b+c]=a[c]\};\
|
|
hL.prototype.toString=Array.prototype.join;"undefined"==typeof window.Float32Array&&(hL.BYTES_PER_ELEMENT=4,hL.prototype.BYTES_PER_ELEMENT=hL.prototype.b,hL.prototype.set=hL.prototype.set,hL.prototype.toString=hL.prototype.toString,g.ba("Float32Array",hL,void 0));iL.prototype.b=8;iL.prototype.set=function(a,b)\{b=b||0;for(var c=0;c<a.length&&b+c<this.length;c++)this[b+c]=a[c]\};\
|
|
iL.prototype.toString=Array.prototype.join;if("undefined"==typeof window.Float64Array)\{try\{iL.BYTES_PER_ELEMENT=8\}catch(a)\{\}iL.prototype.BYTES_PER_ELEMENT=iL.prototype.b;iL.prototype.set=iL.prototype.set;iL.prototype.toString=iL.prototype.toString;g.ba("Float64Array",iL,void 0)\};mL.prototype.destroy=function()\{this.A=this.o=this.g=this.b=null\};nL.prototype.G=function()\{V5(this.b);var a=R5(this.b,this.o.channelCount),b=T5(this.b,2),c=65*Math.PI/180;this.g=new mL(this.b,this.o,a,b,0,.45,c);this.A=new mL(this.b,this.o,a,b,1,.45,-1*c);Q5(this.b).connect(a);b.connect(P5.destination)\};\
|
|
nL.prototype.D=function()\{this.g.destroy();this.A.destroy();this.A=this.g=null;V5(this.b);Q5(this.b).connect(P5.destination)\};\
|
|
nL.prototype.F=function(a,b)\{this.g&&(lL(this.g,a,b),lL(this.A,a,b))\};\
|
|
nL.prototype.destroy=function()\{this.g&&(V5(this.b),this.D())\};z(oL,nL);oL.prototype.G=function()\{V5(this.b);var a=R5(this.b,this.o.channelCount),b=P5.destination;b.channelCount=Math.min(6,b.maxChannelCount);b.channelInterpretation="discrete";var b=T5(this.b,6),c=Math.PI/6;this.g=new mL(this.b,this.o,a,b,0,.65,c);this.A=new mL(this.b,this.o,a,b,1,.65,-1*c);c=120*Math.PI/180;this.B=new mL(this.b,this.o,a,b,4,.65,c);this.C=new mL(this.b,this.o,a,b,5,.65,-1*c);Q5(this.b).connect(a);b.connect(P5.destination)\};\
|
|
oL.prototype.D=function()\{this.B.destroy();this.C.destroy();this.C=this.B=null;oL.L.D.call(this)\};\
|
|
oL.prototype.F=function(a,b)\{this.g&&(lL(this.g,a,b),lL(this.A,a,b),lL(this.B,a,b),lL(this.C,a,b))\};qL.prototype.identity=function()\{this.b.set([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1])\};\
|
|
qL.prototype.get=function()\{return this.b\};h=tL.prototype;h.Ll=function()\{return"attribute vec3 aVertPos;\\nvarying vec3 pos;\\nvoid main() \{\\n gl_Position = vec4(aVertPos.xyz, 1.0);\\n pos = aVertPos;\\n\}"\};\
|
|
h.Cl=function()\{return"precision mediump float;varying vec3 pos;uniform sampler2D uSplr;uniform mat4 uVMat;uniform float uFOVx;uniform float uFOVy;\\n#define INV_PI 0.3183\\nvoid main() \{ vec3 ray = vec3(pos.x * tan(uFOVx), pos.y * tan(uFOVy), -1); ray = (uVMat * vec4(ray, 1.0)).xyz; ray = normalize(ray); vec2 texCrd = vec2(0.5 + atan(ray.x, -1.0 * ray.z) * INV_PI * 0.5, acos(ray.y) * INV_PI); gl_FragColor = vec4(texture2D(uSplr, texCrd).xyz, 1.0);\}"\};\
|
|
h.Yd=function(a,b)\{this.La=a.getUniformLocation(b,"uVMat");this.da=a.getUniformLocation(b,"uFOVx");this.ca=a.getUniformLocation(b,"uFOVy");this.ga=a.getUniformLocation(b,"uSplr");a.uniform1i(this.ga,0);var c;var d=this.F;c=d.getVideoData();var e;(e=!c)||(c.B&&c.B.audio?(e=c.B.audio.spatialAudioType,e=!!e&&0!=e):e=!1,e=!e);if(e)c=null;else\{d=d.app;if(d.o.xh()&&d.V.experiments.Z("html5_stream_ambisonic_audio"))\{d.ga||(d.ga=new O5(d.b),d.ga.initialize(),H(d,d.ga));e=d.ga;var f=d.o;f.xh()&&(e.b?e.b!=\
|
|
f&&(V5(e),e.b=f,e.g=null):e.b=f);d=d.ga\}else d=null;d&&P5&&P5.createMediaElementSource&&d.b?(c=c.B.audio.spatialAudioType,e=P5.destination,c=6<=e.maxChannelCount&&!qA?new oL(d,0,pL(c)):2<=e.maxChannelCount?new nL(d,0,pL(c)):null):c=null\}if(this.o=c)this.o.G(),this.o.F(this.D,this.A)\};\
|
|
h.gv=function()\{this.J=!0\};\
|
|
h.Xn=r;\
|
|
h.Md=function(a,b)\{var c=this.b,d=this.g;if(this.J)\{a.g>a.b?(this.b=this.C,this.g=Math.atan(Math.tan(this.C)*a.b/a.g)):(this.g=this.C,this.b=Math.atan(Math.tan(this.C)*a.g/a.b));a.uniform1f(this.da,this.b);a.uniform1f(this.ca,this.g);this.A=bf(this.A,-Math.PI/2,Math.PI/2);this.B.identity();var e=this.B,f=this.A,k=Math.sin(f),f=Math.cos(f);e.o.set([1,0,0,0,0,f,k,0,0,-k,f,0,0,0,0,1]);rL(e,e.o);e=this.B;f=this.D;k=Math.sin(f);f=Math.cos(f);e.o.set([f,0,-k,0,0,1,0,0,k,0,f,0,0,0,0,1]);rL(e,e.o);a.uniformMatrix4fv(this.La,\
|
|
!1,this.B.get());this.J=!1\}e=C();if(this.ea)\{this.H[0]=-this.B.get()[8];this.H[1]=-this.B.get()[9];this.H[2]=-this.B.get()[10];var k=this.ea,f=this.H,l=this.F.getCurrentTime(),m=e/1E3,n=this.F.getPlayerState(),t=null,u,y,E;1==n?(u=k.o,E=k.F,y=l):(u=k.D,E=k.C,y=m);var G=0!=k.b.length;if(G)\{var Y=150<=k.b.length;if(k.A!=n||.5<y-E||y<E||Y)\{t=null;if(5<=k.b.length)\{for(var t=k.b,G=Array(2*t.length),N=Y=0,Q=0;Q<t.length;++Q)G[Q]=t[Q].x-Y&255,G[Q+t.length]=t[Q].y-N&255,Y=t[Q].x,N=t[Q].y;Y=hea(G);t=k.o;\
|
|
G=1==k.A?k.g:0;Y=Zq(Y,!0);N="";for(Q=Y.length-1;0<=Q&&"."==Y.charAt(Q);--Q)N+="=";Y=Y.substring(0,Y.length-N.length)+N;t=\{start:t,duration:G,data:Y\}\}k.b=[];k.g=0;G=!1\}\}if(1==n||2==n||3==n)\{if(G)for(u=u+k.g+.2;u<y;)\{Y=(u-E)/(y-E);k.g+=.2;var G=k.B,N=f,Q=Y,Y=new window.Float32Array(3),cb=jL(G),Ab=jL(N),jb=(G[0]*N[0]+G[1]*N[1]+G[2]*N[2])/(cb*Ab);if(.999999<jb)cb=G[0],Ab=G[1],G=G[2],Y[0]=(N[0]-cb)*Q+cb,Y[1]=(N[1]-Ab)*Q+Ab,Y[2]=(N[2]-G)*Q+G;else\{var db,jg;-.999999>jb?(jb=new window.Float32Array(3),db=\
|
|
(cb+Ab)/2,G[0]?(db/=Math.sqrt(G[0]*G[0]+G[1]+G[1]),jb[0]=-G[1]*db,jb[1]=G[0]*db,jb[2]=0):(db/=Math.sqrt(G[2]*G[2]+G[1]+G[1]),jb[0]=0,jb[1]=-G[2]*db,jb[2]=G[1]*db),.5>=Q?(Ab=cb,N=jb,Q*=2):(G=jb,Q=2*Q-1),db=Math.PI/2,jg=1):(db=Math.acos(jb),jg=Math.sqrt(1-jb*jb));jb=Math.sin((1-Q)*db)/jg/cb;db=Math.sin(Q*db)/jg/Ab;Q=(1-Q)*cb+Q*Ab;Y[0]=(G[0]*jb+N[0]*db)*Q;Y[1]=(G[1]*jb+N[1]*db)*Q;Y[2]=(G[2]*jb+N[2]*db)*Q\}G=Y;k.b.push(sL(G));u+=.2\}else k.o=l,k.D=m,k.b.push(sL(f)),k.g=0;k.B=f;k.F=l;k.C=m;k.A=n\}k=t;k&&\
|
|
(f=eJ(this.F.app))&&f.o&&(f=f.o.g,l=k.start,m=k.duration,k=k.data,Bu(f,Du(f.b),"dir",[l.toFixed(3),m.toFixed(3),k]))\}(this.X!=this.b||this.aa!=this.g)&&3E4<e-this.ba&&c==this.b&&d==this.g&&(this.X=this.b,this.aa=this.g,this.ba=e,(c=eJ(this.F.app))&&c.o&&(c=c.o.g,d=Math.round(360*this.b/Math.PI),e=Math.round(360*this.g/Math.PI),Bu(c,Du(c.b),"fov",[d,e])));a.texImage2D(a.TEXTURE_2D,0,a.RGBA,a.RGBA,a.UNSIGNED_BYTE,this.K.jc(b));a.drawArrays(a.TRIANGLE_STRIP,0,4)\};\
|
|
h.Ts=function()\{return!1\};\
|
|
h.Bf=function()\{return\{shader:"Spherical",yaw:this.D,pitch:this.A,fov:this.C\}\};\
|
|
h.ci=function(a)\{if("Spherical"==a.shader||"Spherical3D"==a.shader)a.yaw&&(this.D=a.yaw),a.pitch&&(this.A=a.pitch),a.fov&&(this.C=bf(a.fov,.32,1.05)),this.o&&this.o.F(this.D,this.A),this.J=!0,this.R()\};\
|
|
h.destroy=function()\{this.K&&this.K.destroy();this.o&&this.o.destroy()\};z(uL,tL);h=uL.prototype;h.Ll=function()\{return"attribute vec3 aVertPos;\\nvarying vec3 pos;\\nvoid main() \{\\n gl_Position = vec4(aVertPos.xyz, 1.0);\\n pos = aVertPos;\\n\}"\};\
|
|
h.Cl=function()\{return"precision mediump float;varying vec3 pos;uniform sampler2D uSplr;uniform int mode;uniform mat4 uVMat;uniform float uFOVx;uniform float uFOVy;\\n#define INV_PI 0.3183\\nmat4 mRt = mat4(-.043, .378, -.072, 0.0, -.088, .734, -.113, 0.0, 0.0, -0.018, 1.226, 0.0, 0.0, 0.0, 0.0, 1.0);mat4 mLt = mat4(.456, -.04, -.015, 0.0, .5, -.038, -.021, 0.0, .176, -0.016, -.005, 0.0, 0.0, 0.0, 0.0, 1.0);void anaglyph(float x, float y) \{ y *= 0.5; vec4 cLt = texture2D(uSplr, vec2(x, y)); vec4 cRt = texture2D(uSplr, vec2(x, 0.5 + y)); gl_FragColor = mLt * cLt + mRt * cRt;\}void main() \{ vec3 ray = vec3(pos.x * tan(uFOVx), pos.y * tan(uFOVy), -1); ray = (uVMat * vec4(ray, 1.0)).xyz; ray = normalize(ray); vec2 texCrd = vec2(0.5 + atan(ray.x, -1.0 * ray.z) * INV_PI * 0.5, acos(ray.y) * INV_PI); if (mode == 2) \{ anaglyph(texCrd.x, texCrd.y); \} else \{ texCrd.y *= 0.5; gl_FragColor = texture2D(uSplr, texCrd); \}\}"\};\
|
|
h.Yd=function(a,b,c)\{uL.L.Yd.call(this,a,b,c);this.N=a.getUniformLocation(b,"mode");a.uniform1i(this.N,this.G)\};\
|
|
h.Md=function(a,b,c,d)\{this.M&&(a.uniform1i(this.N,this.G),this.M=!1);uL.L.Md.call(this,a,b,c,d)\};\
|
|
h.Bf=function()\{var a=uL.L.Bf.call(this);a.shader="Spherical3D";a.displayMode=this.G;return a\};\
|
|
h.ci=function(a)\{void 0!=a.displayMode&&(this.G=(0,window.parseInt)(a.displayMode,10),Kj("yt-player-webgl-spherical-3d-display-mode",this.G),this.M=!0,this.R());uL.L.ci.call(this,a)\};vL.prototype.K=function()\{this.J=!1;if(this.o&&(this.A.videoWidth||this.A.videoHeight))\{if(0==this.H)\{var a=vy(wy(this.$));if(!qg(this.C,a))\{this.C=a;var b,c,d,a=wy(this.$).Ja();this.b.Ts()?("Anaglyph3D"!=this.ba?b=!1:(b=p5(wy(this.$)),c=this.$.getVideoData(),b=(0,window.isNaN)(b)||c.Od("yt:stretch")||c.Od("yt:crop")?!1:.01>Math.abs(b-32/9)||.01>Math.abs(b-8/9)),b?(16*a.height/9>a.width?(b=a.width,c=9*b/16):(c=a.height,b=16*c/9),d=(a.height-c)/2,a=(a.width-b)/2):(b=this.C.width,c=this.C.height,d=\
|
|
this.C.top,a=this.C.left)):(b=a.width,c=a.height,a=d=0);a=new og(a|0,d|0,b|0,c|0);this.D.style.left=a.left+"px";this.D.style.top=a.top+"px";this.g.style.width=a.width+"px";this.g.style.height=a.height+"px";b=RA();this.g.width=a.width*b;this.g.height=a.height*b;this.o.g=a.width*b;this.o.b=a.height*b;this.o.viewport(0,0,a.width*b,a.height*b);this.b.gv()\}\}this.b.Md(this.o,this.A,this.M,this.X)\}this.B&&this.F()\};\
|
|
vL.prototype.aa=function(a)\{this.G!=a&&this.g&&((this.G=a)?(this.D.appendChild(this.g),this.F(),UA||(this.A.style.display="none")):(Jf(this.g),this.A.style.display=""))\};\
|
|
vL.prototype.F=function()\{!this.J&&this.G&&((0,window.requestAnimationFrame)(this.K.bind(this)),this.J=!0)\};z(g.wL,FK);\
|
|
g.wL.b=function(a)\{var b=R(a).o.c.toLowerCase(),c=a.getVideoData();a=R(a);return(a.experiments.o||VA(a))&&RH(c)?"Anaglyph3D":(a.experiments.g||VA(a))&&QH(c)?"Spherical":(a.experiments.Z("html5_enable_spherical3d")||VA(a))&&PH(c)?"Spherical3D":a.experiments.Z("enable_webgl_noop")&&"web"==b&&TA(a)?"NoOp":(a.experiments.Z("enable_white_noise")||a.experiments.Z("white_noise_with_interval"))&&"web"==b&&(TA(a)||a.C&&qA&&!SA&&zc(38))?"WhiteNoise":a.experiments.Z("enable_edge_enhance")&&"web"==b&&TA(a)?"EdgeEnhance":\
|
|
null\};\
|
|
h=g.wL.prototype;h.rI=function()\{var a=this.g;a.B||(0,window.requestAnimationFrame)(a.K.bind(a))\};\
|
|
h.jE=function(a)\{var b=this.g;b.b&&b.b.Xn(a)\};\
|
|
h.qI=function(a)\{var b=this.g,c=b.B;b.B=O(a.state,8);b.B&&!c&&b.F()\};\
|
|
h.load=function()\{g.wL.L.load.call(this);this.A.Ba(wy(this.b).o);this.g=new vL(this.$,g.wL.b(this.$),this.A.element);this.o.S(this.b,"resize",this.rI);this.o.S(this.b,"onPlaybackQualityChange",this.jE);this.o.S(this.b,"presentingplayerstatechange",this.qI);var a;a:\{a=this.g;a.b=null;var b=a.aa.bind(a),c=x(a.F,a),d=!1;switch(a.ba)\{case "Anaglyph3D":a.b=new eL(a.$,c);break;case "Spherical":a.b=new tL(a.$,c);break;case "WhiteNoise":a.b=new fL(a.$,b);d=!0;break;case "EdgeEnhance":a.b=new gL(a.$,b);break;\
|
|
case "NoOp":a.b=new dL(a.$,!0,b);break;case "Spherical3D":a.b=new uL(a.$,c)\}if(a.b)\{a.H=kea(a,d);if(0==a.H)\{a.G&&!UA&&(a.A.style.display="none");a=!0;break a\}a.$.app.g.Vh(new dC("html5.missingapi.webgl",!1,void 0))\}a=!1\}a?(jq(this.b,"webgl"),this.b.za("onApiChange")):(jq(this.b,"webgl"),this.unload())\};\
|
|
h.unload=function()\{g.wL.L.unload.call(this);var a=this.g;a.g&&(Jf(a.g),a.g=null);a.o=null;a.B=!1;a.b&&a.b.destroy();a.b=null;a.A.removeAttribute("crossorigin");a.A.style.display="";a.H=10;this.g=null;this.A.detach();tx(this.o)\};z(yL,GK);yL.prototype.o=function()\{this.oa();this.Y("close-clicked")\};\
|
|
yL.prototype.oa=function()\{this.b.stop();J(this.element,"ytp-drawer-closed")\};\
|
|
yL.prototype.Nb=function(a)\{a?(yL.L.Nb.call(this,a),Pq(this.element,"block")):Pq(this.element,"none")\};\
|
|
yL.prototype.show=function()\{this.b.start()\};z(zL,sk);zL.prototype.T=function()\{zL.L.T.call(this);this.o||Jf(this.A)\};\
|
|
zL.prototype.Ba=function(a)\{this.o||(this.b.Ba(a),this.b.Nb(this.g.element),a.appendChild(this.A))\};\
|
|
zL.prototype.B=function()\{this.Y("ypcModuleCloseClicked")\};\
|
|
zL.prototype.C=function()\{this.Y("ypcContentRequest")\};z(g.BL,FK);h=g.BL.prototype;h.cG=function(a)\{this.g&&"dataupdated"==a||(this.unload(),this.load())\};\
|
|
h.load=function()\{g.BL.L.load.call(this);this.B.S(this.b,"crn_ypc",this.sI,this);this.B.S(this.b,"crx_ypc",this.tI,this);this.B.S(this.b,"videodatachange",this.cG,this);var a=this.b.getVideoData();this.o=new lea(a);this.A=new P(\{I:"div",fa:["ytp-player-content","ytp-ypc-player-content"]\});mw(this.b,this.A.element,4);if(this.o.videoId&&!a.ypcPreview)\{for(var b=\{autoplay:"1",oauth_token:a.oauthToken,video_id:this.o.videoId,ypc_origin:a.videoId,ypc_preview:"1"\},c=DH.o,d=0;d<c.length;d++)\{var e=c[d];\
|
|
a.A.hasOwnProperty(e)&&(b[e]=a.A[e])\}this.b.jk(b,!0)\}else this.o.videoId&&(this.C=new P(\{I:"div",W:"html5-ypc-overlay",P:[this.o.A]\}),this.C.Ba(this.A.element)),this.o.offerId&&(b=1E4,a.A.hasOwnProperty("ypc_overlay_timeout")&&(b=(0,window.parseInt)(a.A.ypc_overlay_timeout,10)),this.g=new zL(this.A.element,this.o,b),this.g.subscribe("ypcContentRequest",this.QC,this),this.g.subscribe("ypcModuleCloseClicked",this.KD,this),DL(lq(this.b))&&(c=new dq(0x8000000000000,0x8000000000000,\{priority:2,namespace:"ypc"\}),\
|
|
this.b.wb([c])),c=this.g,c.o||c.b.show(),this.D.start(b)),!this.o.videoId&&this.g?AL(this.g):a.ypcPreview?(this.b.za("ypcStateChanged",!0),jq(this.b,"ypc")):this.g||jq(this.b,"ypc")\};\
|
|
h.unload=function()\{this.A&&(this.A.detach(),this.A.dispose(),this.A=null);tx(this.B);var a=this.b;hq(a.app,"ypc",a.playerType);this.D.stop();Ob(this.C,this.g);this.g=this.C=null;g.BL.L.unload.call(this);this.b.za("ypcStateChanged",!1)\};\
|
|
h.sI=function()\{AL(this.g)\};\
|
|
h.tI=function()\{var a=this.g;a.o||(Pq(a.A,"none"),a.b.Nb(a.g.element))\};\
|
|
h.QC=function()\{this.o.b?"embedded"==R(this.b).b?wr(this.o.b):ur(this.o.b):this.o.offerId&&(this.b.isFullscreen()&&Ar(this.b),this.b.za("onYpcContentRequest",this.o.offerId))\};\
|
|
h.KD=function()\{this.log(\{a:"ypc-checkout",label:"ypc-player-module-close-click",playertype:"html5"\})\};\
|
|
h.log=function(a)\{uv(this.b,"ypc",a)\};z(CL,F);var mea=\{webgl:g.wL,endscreen:g.$K,ypc:g.BL\},EL=\{webgl:"yt.player.modules.WebGlModule2",endscreen:"yt.player.modules.EndScreenModule2",ypc:"yt.player.modules.YpcModule2"\};h=CL.prototype;h.Lp=function()\{this.o=this.o||FL(this,"endscreen",this.Lp,DL(this))\};\
|
|
h.Mp=function()\{var a;if(!(a=this.g))\{a=this.Mp;var b=R(this.$),c;if(c=VA(b)||b.experiments.Z("html5_enable_spherical3d")||b.experiments.Z("enable_webgl_noop")||b.experiments.g||b.experiments.o)c=this.$.getVideoData(),c=QH(c)||PH(c)||RH(c)||b.experiments.Z("enable_edge_enhance")||b.experiments.Z("enable_white_noise")||b.experiments.Z("white_noise_with_interval");a=FL(this,"webgl",a,c)\}this.g=a\};\
|
|
h.Np=function()\{this.B=this.B||FL(this,"ypc",this.Np,ws(this.$.getVideoData(),"ypc_module"))\};\
|
|
h.Wy=function(a)\{var b;var c=na(a);b=this.J[c];if(!b&&(b=a(this.$)))\{a=this.J[c]=b;for(var d in this.G)a.subscribe(d,this.G[d]);H(this,b)\}b&&b.Bb(this.$)&&!ib(this.b,b)&&(this.b.push(b),b.create(),ib(this.D,b.Ma)&&(b.F=this.H,b.zj(!!b.F)))\};\
|
|
h.WF=function(a,b)\{D(this.b,function(c)\{c.Y(a,b)\})\};\
|
|
h.isAvailable=function(a)\{a=lJ(this,a);return!(!a||!a.ca)\};z(KL,Error);KL.prototype.kb=function()\{return this.g\};\
|
|
KL.prototype.Fb=function()\{return this.B\};\
|
|
KL.prototype.toString=function()\{return"AdError "+this.kb()+": "+this.b+(null!=this.A?" Caused by: "+this.A:"")\};z(LL,mc);LL.prototype.getError=function()\{return this.o\};var V0="adMetadata callFlashVpaidMethod click companionBackfill companionInitialized complete destroyInsecureFlashVpaid durationChange firstquartile impression initInsecureFlashVpaid loaded log mediaUrlPinged midpoint mute pause resume skipshown skippableStateChanged skip start thirdquartile trackingUrlPinged videoClicked volumeChange vpaidEvent youTubeChannelMetadata".split(" "),C$="abandon acceptinvitation acceptinvitationlinear click close collapse companionClick complete creativeview endscreenClick engagedview exitfullscreen expand externalActivityEvent 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(" "),\
|
|
rsa="acceptinvitation click close collapse creativeview expand progress".split(" "),D$=["viewable_impression","measurable_impression","externalActivityEvent"],E$=\{measurable_impression:"measurable_impression",viewable_impression:"viewable_impression",fully_viewable_audible_half_duration_impression:"fully_viewable_audible_half_duration_impression"\};z(ML,mc);ML.prototype.jb=function()\{return this.o\};\
|
|
var xka=\{cK:"adCanPlay",DL:"contentPauseRequested",FL:"contentResumeRequested",yk:"click",zQ:"videoClicked",vo:"engagedview",tM:"expandedChanged",FP:"start",si:"impression",Io:"measurable_impression",$o:"viewable_impression",Ao:"fully_viewable_audible_half_duration_impression",uM:"externalActivityEvent",PAUSED:"pause",eP:"resume",zo:"firstquartile",Jo:"midpoint",Yo:"thirdquartile",ro:"complete",kM:"durationChange",QK:"autoClose",sQ:"userClose",tQ:"userRecall",MO:"prefetched",LOADED:"loaded",EK:"allAdsCompleted",\
|
|
To:"skip",Ux:"skipshown",nN:"linearChanged",zP:"skippableStateChanged",dK:"adMetadata",bK:"adBreakReady",yN:"log",VOLUME_CHANGED:"volumeChange",HQ:"mute",tL:"companionBackfill",UQ:"youTubeVideoMetadata",TQ:"youTubeChannelMetadata",rQ:"urlNavigationRequested",fQ:"trackingUrlPinged",vQ:"video_card_endcap_action",wQ:"video_card_endcap_collapse",xQ:"video_card_endcap_dismiss",yQ:"video_card_endcap_impression",QQ:"why_this_ad_url",PQ:"why_this_ad_got_it",iO:"MUTE_AD",wL:"companionInitialized",vL:"companionImpression",\
|
|
uL:"companionClick",EN:"mediaUrlPinged"\};var iM=\{hx:5E3,ix:15E3,Lx:"://secure-...imrworldwide.com/ ://cdn.imrworldwide.com/ ://aksecure.imrworldwide.com/ ://[^.]*.moatads.com ://youtube[0-9]+.moatpixel.com www.google.com/pagead/sul www.youtube.com/pagead/sul www.youtube.com/pagead/psul".split(" "),Mx:/\\bocr\\b/,ll:0,te:\{\},qG:function(a,b,c)\{a&&(iM.mr(a)?iM.Gt(a,b):iM.Lj(a,b,c))\},\
|
|
mr:function(a)\{return A(B(a))?!1:0<=a.indexOf("://pagead2.googlesyndication.com/pagead/gen_204?id=yt3p&sr=1&")||(new L(a)).F().match(iM.Mx)?!0:null!=bb(iM.Lx,function(b)\{return null!=a.match(b)\})\},\
|
|
Gt:function(a,b)\{if(a)\{var c='javascript:"data:text/html,<body><img src=\\\\"'+a+'\\\\"></body>"';b?iM.kr(function(b)\{iM.Bt(b?c:'javascript:"data:text/html,<body><object data=\\\\"'+a+'\\\\" width=1 height=1 style=\\\\"visibility:hidden;\\\\"></body>"')\}):iM.Bt(c)\}\},\
|
|
Bt:function(a)\{var b=K("IFRAME",\{src:a,style:"display:none"\});a=nf(b).body;var c,d=de(function()\{dd(c);Jf(b)\},iM.ix);\
|
|
c=bd(b,["load","error"],function()\{de(function()\{ee(d);Jf(b)\},iM.hx)\});\
|
|
a.appendChild(b)\},\
|
|
kr:function(a,b)\{var c=iM.te.imageLoadingEnabled;if(null!=c)a(c);else\{var d=!1,c=function(b,c)\{delete iM.te[c];d||(d=!0,null!=iM.te.imageLoadingEnabled||(iM.te.imageLoadingEnabled=b),a(b))\};\
|
|
b?b(c):iM.IB(c)\}\},\
|
|
IB:function(a)\{var b=new window.Image,c,d=""+iM.ll++;iM.te[d]=b;b.onload=function()\{(0,window.clearTimeout)(c);a(!0,d)\};\
|
|
c=(0,window.setTimeout)(function()\{a(!1,d)\},300);\
|
|
b.src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="\},\
|
|
pG:function(a)\{if(a)\{var b=Ef("OBJECT");b.data=a;b.width="1";b.height="1";b.style.visibility="hidden";var c=""+iM.ll++;iM.te[c]=b;b.onload=b.onerror=function()\{delete iM.te[c]\};\
|
|
window.document.body.appendChild(b)\}\},\
|
|
Ct:function(a)\{if(a)\{var b=new window.Image,c=""+iM.ll++;iM.te[c]=b;b.onload=b.onerror=function()\{delete iM.te[c]\};\
|
|
b.src=a\}\},\
|
|
Lj:function(a,b,c)\{if(a)\{if(c)try\{if(aa.navigator&&aa.navigator.sendBeacon&&aa.navigator.sendBeacon(a,""))return\}catch(d)\{\}b?iM.kr(function(b)\{b?iM.Ct(a):iM.pG(a)\}):iM.Ct(a)\}\}\};QL.prototype.b=function()\{return this.H\};\
|
|
var U=new QL;var UV=["ADSENSE","ADSENSE/ADX"],Qha=["DART","DART_DFA","DART_DFP"],aia=["FREEWHEEL","YT:FREEWHEEL"],oV=["SHOPPING","YT:SHOPPING"],tV=["GDFP"],Pha=["VIRAL","ADSENSE-VIRAL"],Oha=["VIRAL-RESERVE"],LT=\{"application/flash":"Flash","application/shockwave-flash":"Flash","application/x-shockwave-flash":"Flash","image/jpeg":"Image","image/jpg":"Image","image/png":"Image","image/gif":"Image",text:"Text"\},g_=\{ON:"video/mp4",QN:"video/mpeg",BN:"application/x-mpegURL",oO:"video/ogg",RP:"video/3gpp",KQ:"video/webm",\
|
|
NN:"audio/mpeg",PN:"audio/mp4"\};RL.prototype.Z=function()\{return!1\};\
|
|
RL.prototype.b=function()\{return window.NaN\};\
|
|
RL.prototype.g=function()\{return""\};SL.prototype.getId=function()\{return this.wa\};TL.prototype.getId=function()\{return this.wa\};var WL=null;var rga=["*.googlesyndication.com","gcdn.2mdn.net"],yea=["*.youtu.be","*.youtube.com"],Bea="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(" "),Aea=["c.googlesyndication.com"],\
|
|
Eja=["googleads.g.doubleclick.net","pubads.g.doubleclick.net"];kM.prototype.kb=function()\{return this.errorCode\};\
|
|
var Oja=new kM("Unable to request ads from server. Cause: \{0\}.",1005),Fja=new kM("Unable to request ads from server due to network error.",1012),LW=new kM("Cannot parse the \{0\} value for the adslist response: \{1\}.",900),WZ=new kM("Invalid usage of the API. Cause: \{0\}",900),l0=new kM("Asset fallback ad replacement failed.",1021),m0=new kM("Asset fallback no ad replacement.",1021),a_=new kM("Unable to display one or more required companions.",602),VY=new kM("There was a problem requesting ads from the server.",\
|
|
1005),F$=new kM("There was a problem requesting the biscotti ID.",1005),Dja=new kM("Ad tag URI \{0\} is invalid. It must be properly encoded before being passed.",1013),xY=new kM("The provided ad type: \{0\} is not supported.",1005),BQ=new kM("The provided \{0\} information: \{1\} is invalid.",1101),ssa=new kM("The provided skip offset was invalid.",1105),tsa=new kM("The extension contained is neither skippable nor nonskippable.",1105),oU=new kM("The response does not contain any valid ads.",1009),usa=new kM("The overlay ad content could not be displayed since creative dimensions do not align with display area.",\
|
|
501),sia=new kM("The ad playlist response was malformed or empty.",1010),MW=new kM("The ad response was not understood and cannot be parsed.",1010),Ija=new kM("An unexpected error occurred and the cause is not known. Refer to the inner error for more info.",900),Nka=new kM("The ad response contains unexpected element. Cause \{0\}.",1010),eZ=new kM("No assets were found in the VAST ad response.",200),Gha=new kM("Duplicate node in <\{0\}>: \{1\}",101),$X=new kM("The VAST response document is empty.",1009),\
|
|
uka=new kM("Linear assets were found in the VAST ad response, but none of them matched the video player's capabilities.",403),nU=new kM("Ad request reached a timeout.",301),aY=new kM("VAST response was malformed and could not be parsed.",100),G$=new kM("VAST media file loading reached a timeout of \{0\} seconds.",402),pU=new kM("Ad request could not be completed due to a network error.",301),vsa=new kM("Non linear assets were found in the VAST ad response, but none of them matched the video player's capabilities.",\
|
|
503),H$=new kM("There was an error displaying the media file.",405),vha=new kM("The maximum number of VAST wrappers (\{0\}) has been reached.",302),wsa=new kM("VAST media file duration differs from the VAST response duration by \{0\} seconds.",202),g0=new kM("Video player received an ad with unexpected or incompatible linearity",201),Fha=new kM("Unknown node in <\{0\}>: \{1\}",101),Oia=new kM("Invalid VAST resource type: \{0\}",101),eja=new kM("Invalid VAST version",102),wha=new kM("No additional VAST wrappers allowed.",\
|
|
300),uU=new kM("No Ads VAST response after one or more Wrappers",303),n0=new kM("There was an error playing the video ad.",400),aja=new kM("VMAP unsupported node in <\{0\}>: \{1\}",1010),D_=new kM("An unexpected error occurred within the VPAID creative. Refer to the inner error for more info.",901);var vS="abort canplay canplaythrough durationchange emptied loadstart loadeddata loadedmetadata progress ratechange seeked seeking stalled suspend waiting".split(" ");var CM=\{\},EM="",eR=/OS (\\S+) like/,AM=/Android ([\\d\\.]+)/;IM.prototype.reset=function()\{this.b=0;this.g=null\};KM.prototype.reset=function()\{this.g=this.b=null\};var QM=new MM;MM.prototype.clear=function()\{this.b=LM();this.C=this.H=this.g=null;this.B=LM();this.A=null;this.R=this.D=this.F="";this.G=this.N=this.o=null;this.ba=!1\};ca(PM);var UM="function"==typeof window.Uint8Array,VM=[];TM.prototype.toString=function()\{$M(this);return this.g.toString()\};\
|
|
TM.prototype.getExtension=function(a)\{if(this.o)\{this.b||(this.b=\{\});var b=a.o;if(a.A)\{if(a.g())return this.b[b]||(this.b[b]=Ii(this.o[b]||[],function(b)\{return new a.b(b)\})),this.b[b]\}else if(a.g())return!this.b[b]&&this.o[b]&&(this.b[b]=new a.b(this.o[b])),this.b[b];\
|
|
return this.o[b]\}\};\
|
|
TM.prototype.clone=function()\{return new this.constructor(aN(ZM(this)))\};z(bN,TM);z(cN,TM);z(dN,TM);dN.prototype.getStyle=function()\{return XM(this,fN,1)\};\
|
|
z(eN,TM);z(fN,TM);z(gN,TM);z(hN,TM);var Gea=[1];hN.prototype.getStyle=function()\{return XM(this,fN,2)\};\
|
|
z(YM,TM);YM.prototype.getStyle=function()\{return XM(this,fN,3)\};h=iN.prototype;h.Ay=!1;h.kp=!1;h.pp=!0;h.cg=null;h.bitrate=-1;h.vg=null;h.$y=!1;h.sh=null;h.surveyCreativeData=null;h.NG=!0;h.xn=!1;h.OG=!1;h.yn=!1;h.zn=!1;h.hu=!1;h.iu=!0;h.fz=!1;h.PG=!0;h.Sk=!1;h.az=!1;h.YG=0;h.showContentThumbnail=!0;h.wn=!1;h.Fg=null;h.Ud=15E3;h.qp=!0;h.Ss=0;h.Vm=-1;h.Cq=null;window.console&&"function"===typeof window.console.log&&x(window.console.log,window.console);var qN=null;mN.prototype.getValue=function()\{return this.b\};\
|
|
mN.prototype.g=function()\{return String(this.b)\};\
|
|
z(nN,mN);nN.prototype.g=function()\{return this.b?"1":"0"\};\
|
|
z(oN,mN);oN.prototype.g=function()\{return this.b?Math.round(this.b.top)+"."+Math.round(this.b.left)+"."+(Math.round(this.b.top)+Math.round(this.b.height))+"."+(Math.round(this.b.left)+Math.round(this.b.width)):""\};\
|
|
lN.prototype.setItem=function(a)\{this.b[a.B]=a\};\
|
|
lN.prototype.getItem=function(a)\{return fc(this.b,a,null)\};vN.prototype.reset=v;vN.prototype.update=v;vN.prototype.B=v;wN.prototype.remove=function(a)\{ec(this.b,a)\};\
|
|
wN.prototype.set=function(a,b)\{this.b[a]=b\};\
|
|
wN.prototype.get=function(a)\{return fc(this.b,a,null)\};new be(200);var I$=\{currentTime:1,duration:2,isVpaid:4,volume:8,isYouTube:16,isPlaying:32\},eQ=\{Wo:"start",zo:"firstquartile",Jo:"midpoint",Yo:"thirdquartile",ro:"complete",zx:"metric",PAUSE:"pause",Ox:"resume",To:"skip",$o:"viewable_impression",Cx:"mute",ey:"unmute",Ak:"fullscreen",Qw:"exitfullscreen",Ao:"fully_viewable_audible_half_duration_impression",Io:"measurable_impression",lw:"abandon",vo:"engagedview",si:"impression",Jw:"creativeview",LOADED:"loaded"\},$fa="start firstquartile midpoint thirdquartile resume loaded".split(" "),\
|
|
vfa=["abandon"],fQ=\{UNKNOWN:-1,Wo:0,zo:1,Jo:2,Yo:3,ro:4,zx:5,PAUSE:6,Ox:7,To:8,$o:9,Cx:10,ey:11,Ak:12,Qw:13,Ao:14,Io:15,lw:16,vo:17,si:18,Jw:19,LOADED:20\},eP=\{DQ:1,LK:2,JK:4,Ak:8,SK:16,RK:32,KK:64,IL:128,xO:256\};var dO=window.document,W=window;var Hfa=/https?:\\/\\/[^\\/]+/;NN.prototype.b=function(a,b,c,d,e)\{try\{var f=e||this.B,k=new GN;k.B=!0;IN(k,1,"context",a);b instanceof ON||(b=PN(b));IN(k,2,"msg",b.message.substring(0,512));b.b&&IN(k,3,"file",b.b);0<b.g&&IN(k,4,"line",b.g.toString());b=\{\};if(d)try\{d(b)\}catch(m)\{\}d=[b];k.b.push(5);k.g[5]=d;var l=DN();l.g&&IN(k,6,"top",l.g.url||"");IN(k,7,"url",l.b.url||"");MN(this.o,f,k,!1,c)\}catch(m)\{try\{MN(this.o,f,\{context:"ecmserr",rctx:a,msg:TN(m),url:l.b.url\},!1,c)\}catch(n)\{\}\}return this.g\};var $N,RN,YN,XN=[],VN=1E-4>Math.random(),WN=!(!W.performance||!W.performance.now);$N=new function()\{this.g="http:"===W.location.protocol?"http:":"https:";this.A="pagead2.googlesyndication.com";this.B="/pagead/gen_204?id=";this.b=.01;this.o=Math.random()\};\
|
|
RN=new NN($N,"jserror",!0);var Qea=RN.b;var J$=!1,K$="";\
|
|
(function()\{if(window.navigator.plugins&&window.navigator.plugins.length)\{var a=window.navigator.plugins["Shockwave Flash"];if(a&&(J$=!0,a.description))\{K$=fO(a.description);return\}if(window.navigator.plugins["Shockwave Flash 2.0"])\{J$=!0;K$="2.0.0.11";return\}\}if(window.navigator.mimeTypes&&window.navigator.mimeTypes.length&&(a=window.navigator.mimeTypes["application/x-shockwave-flash"],J$=!(!a||!a.enabledPlugin)))\{K$=fO(a.enabledPlugin.description);return\}try\{var b=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");J$=\
|
|
!0;K$=fO(b.GetVariable("$version"));return\}catch(c)\{\}try\{b=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");J$=!0;K$="6.0.21";return\}catch(c)\{\}try\{b=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash"),J$=!0,K$=fO(b.GetVariable("$version"))\}catch(c)\{\}\})();\
|
|
var GQ=J$,jO=K$;var gO=\{\},hO=null;gO.le=0;gO.nt=2;gO.Fr=3;gO.Po=5;gO.me=1;gO.om=4;var oP=0,Tea=(new Date).getTime(),nO=-1,pO=!1,qO=-1,rO=-1;if(dO&&dO.URL)\{var AN=dO.URL,xsa=!(AN&&0<Mea().length);RN.g=xsa\};vO.prototype.getStatus=function()\{return this.b\};\
|
|
z(yO,vO);var DO=\{lQ:-1,LOADING:0,Yw:1,Fw:2,kx:3,VISIBLE:4\},cfa=\{LOADING:0,Yw:1,Fw:2,YP:3,nO:4,iQ:5,jQ:6,hQ:7,qO:8,XP:9\},GO=\{\};zO.prototype.F=function(a,b)\{if(!this.b)return!1;this.b.style.position="absolute";AO(this,b);var c=!0;try\{a.appendChild(this.b)\}catch(d)\{c=!1\}return c\};\
|
|
zO.prototype.D=function(a,b)\{if(!this.b||!a.parentNode)return!1;this.b.style.position="fixed";AO(this,b);var c=!0;try\{a.parentNode&&a.parentNode.insertBefore(this.b,a.nextSibling)\}catch(d)\{c=!1\}return c\};\
|
|
zO.prototype.remove=function()\{if(this.b)try\{Jf(this.b)\}catch(a)\{\}this.b=null\};\
|
|
zO.prototype.G=function(a)\{this.o=a?3:4\};\
|
|
g.ba("gteh",aO("osd_or_lidar::gteh_ex",function(a,b)\{var c=GO[a];ia(c)&&c(b)\}),void 0);\
|
|
var hfa=\{kx:0,VISIBLE:1\},ysa=new gf(-99999,0);JO.prototype.ba=function()\{var a=LO(this);if(null===a)NO(this);else if(null===this.A)this.A=a,NO(this);else\{var b=a-this.A;this.A=a;0==(4<=b?1:0)?(NO(this),KO(this,0)):(AO(this.g,ysa),this.F=W.setTimeout(bO("osd_or_lidar::sfm_cpto",x(this.R,this)),125))\}\};\
|
|
JO.prototype.R=function()\{var a=LO(this),b=a-this.A;this.A=a;a=4<=b?1:0;NO(this);KO(this,0==a?1:0)\};\
|
|
z(PO,vO);PO.prototype.H=function()\{var a=jfa(this);this.C!=a&&(this.C=a,this.F(a))\};ca(mO);var TO=new ng(0,0,0,0),pfa=\{threshold:[0,.3,.5,.75,1]\};h=UO.prototype;\
|
|
h.df=function(a,b,c,d,e,f,k)\{k=this.kq(c,k||\{\});var l=this.J,m,n;ha(b)?n=this.jh(b):(m=b,n=this.jh(a,m));f&&(l.A=Math.max(l.A,n));f=cO(dO);this.ia=0==f?-1:1==f?0:1;f=YO(n);var t=YO(this.o);ha(b)||(this.ha=new jf(m.right-m.left,m.bottom-m.top));this.vn(f,k,t,e,d,m);this.o=d?0:n;this.aa=c;0<n&&(0>l.C&&(l.C=c),l.F=c);-1==this.Ge&&this.We()&&(this.Ge=c);-2==this.bc&&(this.bc=a&&a!=TO&&0!=this.ba&&this.ha&&this.ha.height&&this.ha.width?this.jh(a,new ng(0,this.ha.width,this.ha.height,0)):-1);this.be(this)\};\
|
|
h.kq=function(a)\{if(-1==this.aa)return 0;a=a-this.aa||1;return 1E4<a?1:a\};\
|
|
h.jh=function(a,b)\{if(ha(a))return a;if(b)\{var c;c=null===a||null===b?TO.clone():new ng(Math.max(a.top,b.top),Math.min(a.right,b.right),Math.min(a.bottom,b.bottom),Math.max(a.left,b.left));return 0>=this.ba||0>=c.bb()||0>=c.getHeight()?0:(c.bottom-c.top)*(c.right-c.left)/this.ba\}return 0\};\
|
|
h.Pk=function(a,b)\{var c=this.J;-1!=a&&(c.B[a]+=b)\};\
|
|
h.Ok=function(a,b)\{var c=this.J;-1!=a&&(c.b[a]+=b,c.b[a]>c.o[a]&&(c.o[a]=c.b[a]))\};\
|
|
h.Nk=function(a)\{-1!=a&&(this.J.b[a]=0)\};\
|
|
h.vn=function(a,b,c,d,e,f)\{var k=-1==c||-1==a?-1:Math.max(c,a);c=d&&-1!=c&&2>=c?k:c;-1!=c&&this.Pk(c,b);d=this.J;f=f||null;k=this.ba;f?(-1!=c&&2>=c&&-1!=d.g&&(d.D[d.g]+=b),f=100*k/((f.bottom-f.top)*(f.right-f.left)),d.g=20<=f?0:10<=f?1:5<=f?2:2.5<=f?3:4):d.g=-1;for(f=c;0<=f&&4>=f;f++)this.Ok(f,b);for(f=0;4>=f;++f)(f<a||e||-1==a)&&this.Nk(f)\};\
|
|
h.Fm=function()\{return!1\};\
|
|
h.We=function()\{return!1\};z(hP,UO);h=hP.prototype;\
|
|
h.df=function(a,b,c,d,e,f,k)\{k=k||this.tb(this)||\{\};this.M=k.duration||this.M;this.Sb=k.isVpaid||this.Sb;this.la=f;this.ea=k.volume;iP(this.ea)||(this.He++,iP(this.H)&&(this.ea=this.H));hP.L.df.call(this,a,b,c,d,e,f,k);-1==this.Ya&&this.fd&&(this.Ya=this.Za);(a=this.We())&&fP(this.D,1);iP(this.H)&&fP(this.D,2);this.ua&&fP(this.D,4);this.B&&fP(this.D,8);-1!=this.ia&&(fP(this.D,16),1==this.ia&&fP(this.D,32));this.ua&&a&&fP(this.D,64);this.la&&fP(this.D,128);this.la&&0<this.o&&fP(this.D,256)\};\
|
|
h.kq=function(a,b)\{var c=p(b.currentTime)?b.currentTime:this.Aa,d=jP(this,a),e=c-this.Aa,f=b.isYouTube,k=p(b.isPlaying)?b.isPlaying:!0;2!=this.Oa?(0<=e?(this.Na+=d,this.gb+=Math.max(d-e,0),this.La=Math.min(e,this.Na)):(this.qc+=Math.abs(e),this.La=0),0!=e&&(this.Na=0),-1==this.na&&0<e&&(this.na=0<=rO?oO()-rO:-1)):(k||this.N||(this.gb+=d),-1==this.na&&k&&(this.na=0<=rO?oO()-rO:-1));this.Aa=c;if(f)\{if(1==this.Oa)return this.La;if(2==this.Oa)return k?d:0\}return jP(this,a)\};\
|
|
h.jh=function(a,b)\{return this.Gd?0:this.B?1:hP.L.jh.call(this,a,b)\};\
|
|
h.Pk=function(a,b)\{hP.L.Pk.call(this,a,b);this.oc[a]+=this.La;if(2>=a)\{var c=this.G;c.C+=b;this.ga+=this.La\}\};\
|
|
h.Ok=function(a,b)\{hP.L.Ok.call(this,a,b);this.qa[a]+=this.La;this.qa[a]>this.dc[a]&&(this.dc[a]=this.qa[a])\};\
|
|
h.Nk=function(a)\{hP.L.Nk.call(this,a);this.qa[a]=0\};\
|
|
h.vn=function(a,b,c,d,e,f)\{if(!this.N)\{hP.L.vn.call(this,a,b,c,d,e,f);a=-1==c||-1==a?-1:Math.max(c,a);e=d&&-1!=c&&2>=c?a:c;this.Za+=b;this.Oe&&(this.Db+=b,this.Ga+=b);this.Oe=this.B;this.ua=(c=iP(this.ea)&&.1<=this.ea)&&iP(this.H)&&.1<=this.H;d=this.G;a=-1!=e&&2>=e;if(this.ua)\{d.F+=b;for(d.o+=b;0<=e&&4>=e;e++)d.A[e]+=b;a?d.B+=b:d.b+=b;d.b>d.G&&(d.G=d.b)\}else d.D=!1;if(a||!c)d.b=0;b=this.ea;this.H=p(b)?Number(b)?cP(b,3):0:b\}\};\
|
|
h.Fm=function()\{return!0\};\
|
|
h.We=function()\{var a=this.J;return 2E3<=Math.max(a.b[2],a.o[2])\};var qP=null,uP=null,vP=null,xP=null,NP=null,pP=!1,OP=[],PP=[],KP=!1,LP=null,GP=0,FP=!1,HP=!1,sP=!1,rP=!1,IP=!1,JP=!1,DP=qM()||uM(),zfa=0;z(QP,vN);QP.prototype.reset=function()\{this.b[0]=1732584193;this.b[1]=4023233417;this.b[2]=2562383102;this.b[3]=271733878;this.A=this.o=0\};\
|
|
QP.prototype.update=function(a,b)\{p(b)||(b=a.length);for(var c=b-this.g,d=this.C,e=this.o,f=0;f<b;)\{if(0==e)for(;f<=c;)RP(this,a,f),f+=this.g;if(w(a))for(;f<b;)\{if(d[e++]=a.charCodeAt(f++),e==this.g)\{RP(this,d);e=0;break\}\}else for(;f<b;)if(d[e++]=a[f++],e==this.g)\{RP(this,d);e=0;break\}\}this.o=e;this.A+=b\};\
|
|
QP.prototype.B=function()\{var a=Array((56>this.o?this.g:2*this.g)-this.o);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;for(var c=8*this.A,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.b[b]>>>d&255;return a\};var hQ=\{v:"v",e:"e",nas:"nas",msg:"msg","if":"if",sdk:"sdk",p:"p",tos:"tos",mtos:"mtos",ps:"ps",pt:"pt",vht:"vht",mut:"mut",a:"a",ns:"ns",ft:"ft",dft:"dft",at:"at",dat:"dat",as:"as",uac:"uac",vpt:"vpt",gmm:"gmm",std:"std",efpf:"efpf",swf:"swf",px:"px",fm:"sfm",nnut:"nnut",vmer:"vmer",vmmk:"vmmk",vmiec:"vmiec",nmt:"nmt",mmct:"mmct",tcm:"tcm",bt:"bt",pst:"pst",vpaid:"vpaid",dur:"dur",vmtime:"vmtime",vmtos:"vmtos",vmmtos:"vmmtos",dtos:"dtos",vmdtos:"vmdtos",dtoss:"dtoss",dom:"dom",fmf:"fmf",ven:"ven",\
|
|
veh:"veh",vds:"vds",is:"is",ic:"ic",c:"c",mc:"mc",lte:"lte",tth:"tth",femt:"femt",femvt:"femvt",emc:"emc",emuc:"emuc",emb:"emb",nes:"nes"\},Vfa=\{c:UP("c"),at:"at",atos:YP("atos",[0,2,4]),ta:VP(),a:"a",dur:"dur",p:"p",tos:XP(),j:"dom",mtos:YP("mtos",[0,2,4]),gmm:"gmm",ss:UP("ss"),vsv:ld("w1"),t:"t"\},Yfa=\{vmtime:"vmtime",vmtos:"vmtos",vmmtos:"vmmtos",vmdtos:"vmdtos",tcm:"tcm",vmer:"vmer",vmmk:"vmmk",vmiec:"vmiec",bt:"bt",pst:"pst",nmt:"nmt",mmct:"mmct",c:UP("c"),at:"at",atos:YP("atos",[0,2,4]),avt:YP("atos",\
|
|
[2]),dav:"dav",ta:VP(),a:"a",dur:"dur",p:"p",tos:XP(),j:"dom",mtos:YP("mtos",[0,2,4]),gmm:"gmm",ss:UP("ss"),vsv:ld("w1"),t:"t"\},Wfa=\{a:"a",tos:XP(),at:"at",c:UP("c"),mtos:YP("mtos",[0,2,4]),dur:"dur",fs:"fs",p:"p",vpt:"vpt",vsv:ld("ias_w1"),dom:"dom",gmm:"gmm",t:"t"\},Xfa=\{tos:XP(),at:"at",c:UP("c"),mtos:YP("mtos",[0,2,4]),p:"p",vpt:"vpt",vsv:ld("dv_w1"),gmm:"gmm",dom:"dom",t:"t"\};var yQ=null,aQ="",xQ=!1;h=ZP.prototype;h.Ml=function()\{\};\
|
|
h.tq=r;h.ht=r;h.Ep=r;h.hp=r;h.Yl=function(a)\{if(a)\{if(!a.Je)\{var b=mP(a,"start"),b=gQ(b,hQ),c=yQ||W,d=[];d.push("v=481v");d.push("r=fp");d.push("efm="+(this.g?1:0));d.push("esfm="+(this.o?1:0));d.push(b);d.push(Jfa(c));LN(W,("//pagead2.googlesyndication.com/pagead/gen_204?id=lidarvf&"+d.join("&")).substring(0,2E3),void 0);a.Je=!0\}a.Ia=!0;this.fn(a)\}\};\
|
|
h.wA=function(a)\{a.De++;kP(a,0);.1<=a.H&&(a.G.D=!0);return mP(a,"start")\};\
|
|
h.mA=function(a)\{kP(a,1);BP([a],!nP());return mP(a,"firstquartile")\};\
|
|
h.rA=function(a)\{kP(a,2);a.fd=!0;BP([a],!nP());return mP(a,"midpoint")\};\
|
|
h.xA=function(a)\{kP(a,3);BP([a],!nP());return mP(a,"thirdquartile")\};\
|
|
h.iA=function(a)\{kP(a,4);BP([a],!nP());var b=mP(a,"complete");a.B=!1;cQ(a.C);return b\};\
|
|
h.tA=function(a)\{return bQ(a,"pause")\};\
|
|
h.hA=function(a)\{return bQ(a,"abandon")\};\
|
|
h.uA=function(a)\{var b=nP();a.N&&!b&&(a.G.g=oO());BP([a],!b);a.N=!1;return mP(a,"resume")\};\
|
|
h.zA=function(a)\{var b=mP(a,"viewable_impression");a.Ne=!0;return b\};\
|
|
h.vA=function(a)\{var b=!nP();BP([a],b);b=mP(a,"skip");a.B=!1;cQ(a.C);return b\};\
|
|
h.sA=function(a)\{BP([a],!nP());return mP(a,"mute")\};\
|
|
h.yA=function(a)\{BP([a],!nP());return mP(a,"unmute")\};\
|
|
h.nA=function(a)\{a.B=!0;BP([a],!nP());return mP(a,"fullscreen")\};\
|
|
h.lA=function(a)\{a.B=!1;BP([a],!nP());return mP(a,"exitfullscreen")\};\
|
|
h.oA=function(a)\{return mP(a,"fully_viewable_audible_half_duration_impression")\};\
|
|
h.qA=function(a)\{return mP(a,"measurable_impression")\};\
|
|
h.kA=function(a)\{return mP(a,"engagedview")\};\
|
|
h.pA=function(a)\{return mP(a,"impression")\};\
|
|
h.jA=function(a)\{return mP(a,"creativeview")\};\
|
|
h.Lz=function(a)\{a.We()&&!a.gd&&this.ht(a);this.Ep(a)\};\
|
|
h.fn=r;var mQ=(new Date).getTime(),oQ=!1,pQ=!1,qQ=!1,Pfa=[function(a)\{return!(!a.chrome||!a.chrome.webstore)\},\
|
|
function(a)\{return!!a.document.documentMode\},\
|
|
function(a)\{return!!a.document.fonts.ready\},\
|
|
function()\{return nQ(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 nQ(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 nQ(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 nQ(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 nQ(4)\},\
|
|
function(a)\{return"srcset"in a.document.createElement("img")\},\
|
|
function()\{return pQ\},\
|
|
function()\{return qQ\},\
|
|
function()\{return nQ(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 nQ(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]||lQ(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 lQ(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 nQ(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 lQ(a.CSS.supports)\},\
|
|
function()\{return lQ(window.Intl.Collator)\},\
|
|
function(a)\{return lQ(a.document.createElement("dialog").show)\},\
|
|
function()\{return nQ(8)\},\
|
|
function(a)\{return lQ(a.document.createElement("div").animate([\{transform:"scale(1)",ez:"ease-in"\},\{transform:"scale(1.3)",ez:"ease-in"\}],\{duration:1300,fR:1\}).reverse)\},\
|
|
function(a)\{return lQ(a.document.createElement("div").animate)\},\
|
|
function(a)\{return lQ(a.document.documentElement.webkitRequestFullScreen)\},\
|
|
function(a)\{return lQ(a.navigator.getBattery)\},\
|
|
function(a)\{return lQ(a.navigator.permissions.query)\},\
|
|
function()\{return!1\},\
|
|
function()\{return nQ(9)\},\
|
|
function()\{return lQ(window.webkitRequestAnimationFrame)\},\
|
|
function(a)\{return lQ(a.BroadcastChannel.call)\},\
|
|
function(a)\{return lQ(a.FontFace)\},\
|
|
function(a)\{return lQ(a.Gamepad)\},\
|
|
function()\{return nQ(10)\},\
|
|
function(a)\{return lQ(a.MutationEvent)\},\
|
|
function(a)\{return lQ(a.MutationObserver)\},\
|
|
function(a)\{return lQ(a.crypto.getRandomValues)\},\
|
|
function(a)\{return lQ(a.document.body.createShadowRoot)\},\
|
|
function(a)\{return lQ(a.document.body.webkitCreateShadowRoot)\},\
|
|
function(a)\{return lQ(a.fetch)\},\
|
|
function()\{return nQ(11)\},\
|
|
function(a)\{return lQ(a.navigator.serviceWorker.register)\},\
|
|
function(a)\{return lQ(a.navigator.webkitGetGamepads)\},\
|
|
function(a)\{return lQ(a.speechSynthesis.speak)\},\
|
|
function(a)\{return lQ(a.webkitRTCPeerConnection)\},\
|
|
function(a)\{return a.CSS.supports("--fake-var","0")\},\
|
|
function()\{return nQ(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 nQ(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 nQ(14)\},\
|
|
function(a)\{return"undefined"==typeof a.navigator.jR\},\
|
|
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")\}],Qfa=[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\}],Rfa=[function(a)\{return a.navigator.userAgent\},\
|
|
function(a)\{return a.navigator.platform\},\
|
|
function(a)\{return a.navigator.vendor\}];z(rQ,ZP);ca(rQ);h=rQ.prototype;h.Ml=function(a,b)\{mO.getInstance();var c;b.opt_adElement?c=Lfa(this,a,b.opt_adElement):(c=Ufa(this,a,b.opt_sdkID||""))||(c=Bfa(a)||void 0);c&&c.tb==r&&(c.tb=x(this.hp,this));return c\};\
|
|
h.hp=function(a)\{mO.getInstance();a.b=0;a.Sa=0;var b;if("as"==a.K)\{var c="getVideoMetadata"+a.Lg;if(ia(a.element[c]))try\{b=a.element[c]()\}catch(e)\{a.b|=4\}else a.b|=2\}else if("h"==a.K)if(c=q("ima.common.getVideoMetadata"),ia(c))try\{b=c(a.C)\}catch(e)\{a.b|=4\}else a.b|=2;else a.b|=1;a.b||(p(b)?null===b?a.b|=16:cc(b)?a.b|=32:null!=b.errorCode&&(a.Sa=b.errorCode,a.b|=64):a.b|=8);null!=b||(b=\{\});c=b;a.Ca=0;for(var d in I$)null==c[d]&&(a.Ca|=I$[d]);null!=c.currentTime||a.ce++;kQ(c,"currentTime");kQ(c,"duration");\
|
|
return b\};\
|
|
h.ht=function(a)\{tQ(a,"viewable_impression")&&(a.gd=!0)\};\
|
|
h.Ep=function(a)\{var b=a.G.A[0];(15E3<=b||a.fd&&(-1!=a.M?b>=a.M/2:-1!=a.Ya&&b>=a.Ya))&&!a.Fd&&tQ(a,"fully_viewable_audible_half_duration_impression")&&(a.Fd=!0)\};\
|
|
h.tq=function(a)\{a.Me||a.Ia||!tQ(a,"measurable_impression")||(a.Me=!0)\};\
|
|
h.fn=function()\{\};\
|
|
g.ba("Goog_AdSense_Lidar_sendVastEvent",aO("lidar::handlevastevent_ex",zQ,void 0,function()\{return\{v:"481","if":mO.getInstance().g?"1":"0",nas:String(OP.length)\}\}),void 0);\
|
|
g.ba("Goog_AdSense_Lidar_getViewability",SN("lidar::getviewability_ex",function(a,b)\{var c;c=rQ.getInstance();var d=\{\};kc(d,\{opt_adElement:void 0,opt_fullscreen:void 0\},b||\{\});d.opt_bounds?c=vQ(jQ("ol")):(xQ?c=jQ("ue"):(c=c.Ml(a,d))?(d=jQ(),kc(d,lP(c,!0,!1)),c=d):c=jQ("nf"),c=vQ(c));return c\},void 0,void 0),void 0);\
|
|
g.ba("Goog_AdSense_Lidar_getInitSignals",SN("lidar::getinitsignals_ex",wQ,void 0,void 0),void 0);g.ba("Goog_AdSense_Lidar_getUrlSignalsArray",aO("lidar::geturlsignalsarray_ex",function()\{return TP()\}),void 0);\
|
|
g.ba("Goog_AdSense_Lidar_getUrlSignalsList",aO("lidar::geturlsignalslist_ex",function()\{return gg(TP())\}),void 0);var cga=\{IMAGE:"Image",Ww:"Flash",ALL:"All"\},aga=\{NM:"Html",RM:"IFrame",GP:"Static",ALL:"All"\},dga=\{SM:"IgnoreSize",oP:"SelectExactMatch",pP:"SelectNearMatch"\},ega=\{TL:"DisallowResize",cP:"ResizeSmaller"\};z(LQ,I);var MQ=null;LQ.prototype.destroy=function()\{this.C.sa(this.b,"activityMonitor",this.F);this.A=null;this.o=!1;this.g.clear()\};\
|
|
LQ.prototype.T=function()\{this.destroy();LQ.L.T.call(this)\};\
|
|
LQ.prototype.init=function(a)\{if(!this.o)\{if(this.b=a||null)this.C.O(this.b,"activityMonitor",this.F),SQ(this);if(U.C&&!(aa.ima&&aa.ima.video&&aa.ima.video.client&&aa.ima.video.client.tagged))\{g.ba("ima.video.client.sdkTag",!0,void 0);var b=aa.document;a=b.createElement("script");var c=b.location.protocol;"http:"!=c&&"https:"!=c&&(c="");a.src=c+"//s0.2mdn.net/instream/video/client.js";a.async=!0;a.type="text/javascript";b=b.getElementsByTagName("script")[0];b.parentNode.insertBefore(a,b)\}this.o=!0\}\};\
|
|
LQ.prototype.F=function(a)\{var b=a.Wd,c=b.queryId,d=\{\};d.eventId=b.eventId;switch(a.Jc)\{case "getPageSignals":SQ(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=QQ(this,e,c,a,f);this.b.send("activityMonitor","viewability",d);break;case "fetchAdTagUrl":d=\{\},d.eventId=b.eventId,a=b.osdId,c=null,$b(b,"isFullscreen")&&(c=b.isFullscreen),$b(b,"loggingId")&&(b=b.loggingId,d.loggingId=b,\
|
|
SM(PM.getInstance(),43,\{step:"beforeLookup",logid:b,time:C()\},!0)),d.engagementString=kga(this,a,c),this.b.send("activityMonitor","engagement",d)\}\};\
|
|
g.ba("ima.common.getVideoMetadata",function(a)\{a=NQ().g.get(a);return ia(a)?a():\{\}\},void 0);\
|
|
g.ba("ima.common.triggerViewEvent",function(a,b)\{var c=\{\};c.queryId=a;c.viewabilityString=b;var d=NQ().b;d?d.send("activityMonitor","viewableImpression",c):NQ().dispatchEvent(new ML("viewable_impression",null,c))\},void 0);\
|
|
g.ba("ima.common.triggerViewabilityMeasurementUpdate",function(a,b)\{var c=NQ().b,d=\{\};d.queryId=a;d.viewabilityData=b;c&&c.send("activityMonitor","viewabilityMeasurement",d)\},void 0);\
|
|
g.ba("ima.common.triggerMeasurableEvent",function(a,b)\{var c=\{\};c.queryId=a;c.viewabilityString=b;var d=NQ().b;d?d.send("activityMonitor","measurableImpression",c):NQ().dispatchEvent(new ML("measurable_impression",null,c))\},void 0);\
|
|
g.ba("ima.common.triggerExternalActivityEvent",function(a,b,c)\{var d=\{\};d.queryId=a;d.viewabilityString=b;d.eventName=c;(a=NQ().b)?a.send("activityMonitor","externalActivityEvent",d):NQ().dispatchEvent(new ML("externalActivityEvent",null,d))\},void 0);\
|
|
g.ba("ima.common.updateEngagementDetectionValue",function(a)\{if(U.C)\{var b=NQ().b;if(b)\{var c=\{\};c.engagementString=a;b.send("activityMonitor","engagementData",c)\}\}\},void 0);\
|
|
NQ();z(UQ,I);h=UQ.prototype;h.ib=function(a)\{null==a||this.D||(this.b=a,pga(this),this.D=!0)\};\
|
|
h.Lb=function()\{null!=this.b&&this.D&&(VQ(this),this.C=this.G=this.D=!1,this.g=0,this.A=[],this.F=!1)\};\
|
|
h.hF=function(a)\{this.G=!0;this.g=a.touches.length;this.o&&(window.clearTimeout(this.o),this.o=0,this.K=!0);(this.F=WQ(this,a.touches)||1!=a.touches.length)?this.N=this.M=window.Infinity:(this.M=a.touches[0].clientX,this.N=a.touches[0].clientY);qga(this,a.touches)\};\
|
|
h.gF=function(a)\{this.g=a.touches.length;if(!yM()||!zM(eR,8)||Math.pow(a.changedTouches[0].clientX-this.M,2)+Math.pow(a.changedTouches[0].clientY-this.N,2)>Math.pow(5,2))this.C=!0\};\
|
|
h.fF=function(a)\{this.J?this.sl():(!this.G||1!=this.g||this.C||this.K||this.F||!WQ(this,a.changedTouches)||(this.o=window.setTimeout(x(this.sl,this),300)),this.g=a.touches.length,0==this.g&&(this.C=this.G=!1,this.A=[]),this.K=!1)\};\
|
|
h.Lq=function()\{this.sl()\};\
|
|
h.sl=function()\{this.o=0;this.dispatchEvent(new mc("click"))\};\
|
|
h.T=function()\{this.Lb();this.B.dispose();this.B=null;UQ.L.T.call(this)\};z(aR,I);var uS=\{$K:"beginFullscreen",yk:"click",oM:"end",pM:"endFullscreen",ERROR:"error",LOADED:"loaded",DN:"mediaLoadTimeout",PAUSE:"pause",PLAY:"play",yP:"skip",Ux:"skipShown",sP:"shareClicked",Wo:"start",UP:"timeUpdate",kL:"cardsStateChange",SP:"timedMetadata",GQ:"volumeChange"\};h=aR.prototype;h.Yi=v;h.an=v;h.Hh=v;h.load=v;h.getVideoUrl=v;h.setVolume=v;h.Sd=v;h.play=v;h.pause=v;h.Ve=v;h.Hf=v;h.lj=v;h.Gf=v;h.fg=v;h.If=v;h.getCurrentTime=v;h.km=v;h.rd=v;h.oe=v;h.sd=v;h.lm=v;h.Rq=function()\{return!1\};\
|
|
h.Wa=function()\{return!0\};\
|
|
h.getError=v;h.gn=r;h.Tq=r;h.ib=v;h.Lb=v;h.jm=r;h.kg=function()\{return null\};\
|
|
h.Uq=r;h.Sq=r;z(bR,aR);h=bR.prototype;h.an=function(a,b,c,d)\{if(d&&(d=bb(a,function(a)\{return null!==XQ(a.g)\}),null!==d))return d;\
|
|
a=le(a,function(a)\{var b=a.b;A(B(a.g))||"progressive"!=a.A&&"application/x-mpegurl"!=B(b).toLowerCase()?a=!1:(b=B(b).toLowerCase(),a=A(b)||BM(2.3)&&-1!=b.indexOf("application/ogg")?!1:SA&&(-1!=b.indexOf("video/mp4")||-1!=b.indexOf("video/3gpp"))||yM()&&(-1!=b.indexOf("application/x-mpegurl")||-1!=b.indexOf("application/vnd.apple.mpegurl"))?!0:!A(this.b.canPlayType(b)));return a\},this);\
|
|
return TQ(a,b,c)\};\
|
|
h.Yi=function()\{return le(Xb(g_),function(a)\{return!A(this.b.canPlayType(a))\},this)\};\
|
|
h.Hh=function(a)\{this.ba=0<a.b?a.b:15E3\};\
|
|
h.load=function(a)\{dR(this);this.b.src=a;this.b.load()\};\
|
|
h.getVideoUrl=function()\{return this.b.src\};\
|
|
h.setVolume=function(a)\{this.b.volume=a\};\
|
|
h.Sd=function()\{return this.b.volume\};\
|
|
h.play=function()\{this.M=!1;de(this.b.play,0,this.b);this.G||(this.G=de(this.Oy,this.ba,this))\};\
|
|
h.pause=function()\{this.M=!0;this.b.pause()\};\
|
|
h.Ve=function()\{return this.b.paused?yM()||em?this.b.currentTime<this.b.duration:!0:!1\};\
|
|
h.Hf=function()\{return this.b.muted\};\
|
|
h.lj=function()\{xM()&&this.b.webkitDisplayingFullscreen&&this.b.webkitExitFullscreen()\};\
|
|
h.Gf=function()\{return PQ(this.b)\};\
|
|
h.fg=function(a)\{var b;a:\{for(b=this.R.Ra();b.length;)\{var c=b.pop();if(0<c)\{b=c;break a\}\}b=-1\}return b>=a\};\
|
|
h.If=function(a)\{this.b.currentTime=a\};\
|
|
h.getCurrentTime=function()\{return this.b.currentTime\};\
|
|
h.km=function()\{return gR(this)\};\
|
|
h.rd=function()\{return(0,window.isNaN)(this.b.duration)?-1:this.b.duration\};\
|
|
h.oe=function()\{return this.b.ended\};\
|
|
h.sd=function()\{return new jf(this.b.offsetWidth,this.b.offsetHeight)\};\
|
|
h.lm=function()\{return this.b.seeking\};\
|
|
h.T=function()\{this.Lb();this.b=null;bR.L.T.call(this)\};\
|
|
h.getError=function()\{return this.b.error\};\
|
|
h.ib=function()\{this.Lb();this.g=new Fm(this);this.g.O(this.b,vS,this.fE);this.g.O(this.b,"canplay",this.tC);this.g.O(this.b,"ended",this.hB);this.g.O(this.b,"webkitbeginfullscreen",this.pm);this.g.O(this.b,"webkitendfullscreen",this.Wq);this.g.O(this.b,"pause",this.jB);this.g.O(this.b,"playing",this.pE);this.g.O(this.b,"timeupdate",this.kB);this.g.O(this.b,"volumechange",this.lB);this.g.O(this.b,"error",this.Vq);this.g.O(this.b,BA||yM()&&(!yM()||!zM(eR,8))?"loadeddata":"canplay",this.AD);this.C=\
|
|
new UQ;this.g.O(this.C,"click",this.gB);this.C.ib(this.b);this.D=new be(1E3);this.g.O(this.D,"tick",this.iB);this.D.start()\};\
|
|
h.Lb=function()\{null!=this.C&&(this.C.Lb(),this.C=null);null!=this.D&&this.D.dispose();null!=this.g&&(this.g.dispose(),this.g=null);dR(this)\};\
|
|
h.fE=function(a)\{this.dispatchEvent(a.type)\};\
|
|
h.tC=function()\{var a;if(a=Az)a=sc,a=!(a&&(Ka(a,"SMART-TV")||Ka(a,"SmartTV")));a&&!this.N&&(this.If(.001),this.N=!0)\};\
|
|
h.AD=function()\{this.J||(this.J=!0,this.dispatchEvent("loaded"))\};\
|
|
h.pE=function()\{this.dispatchEvent("play");yM()||BA||fR(this)\};\
|
|
h.kB=function()\{if(!this.A&&(yM()||BA))\{if(0>=this.getCurrentTime())return;if(BA&&this.oe()&&1==this.rd())\{this.Vq();return\}fR(this)\}if(yM()||FM())\{if(1.5<this.getCurrentTime()-this.o)\{this.F=!0;this.If(this.o);return\}this.F=!1;this.getCurrentTime()>this.o&&(this.o=this.getCurrentTime())\}var a=this.R;a.b[a.g]=this.b.currentTime;a.g=(a.g+1)%a.o;this.dispatchEvent("timeUpdate")\};\
|
|
h.lB=function()\{this.dispatchEvent("volumeChange")\};\
|
|
h.jB=function()\{var a;this.A&&yM()&&!this.M&&2>gR(this)-this.b.currentTime?(this.B=new be(250),this.g.O(this.B,"tick",this.pC),this.B.start(),a=!0):a=!1;a||this.dispatchEvent("pause")\};\
|
|
h.hB=function()\{var a=ZL(XL(),136961002),b=!0;if(yM()||FM()||a&&SA)b=this.o>=this.b.duration-1.5;!this.F&&b&&this.dispatchEvent("end")\};\
|
|
h.pm=function()\{this.dispatchEvent("beginFullscreen")\};\
|
|
h.Wq=function()\{this.dispatchEvent("endFullscreen")\};\
|
|
h.Vq=function()\{cR(this);this.dispatchEvent("error")\};\
|
|
h.gB=function()\{this.dispatchEvent("click")\};\
|
|
h.iB=function()\{var a=this.sd(),b=this.Gf();if(a.width!=this.K.width||a.height!=this.K.height)!this.H&&b?this.pm():this.H&&!b&&this.Wq(),this.K=a,this.H=b\};\
|
|
h.Oy=function()\{if(!this.A)\{try\{SM(PM.getInstance(),16)\}catch(a)\{\}dR(this);this.dispatchEvent("mediaLoadTimeout")\}\};\
|
|
h.pC=function()\{if(this.oe()||!this.Ve())Nb(this.B);else\{var a=this.b.duration-this.b.currentTime,b=gR(this)-this.b.currentTime;0<b&&(2<=b||2>a)&&(Nb(this.B),this.play())\}\};z(iR,I);hR.prototype.start=function(a)\{return this.b[a].startTime\};\
|
|
hR.prototype.end=function(a)\{return this.b[a].endTime\};\
|
|
h=iR.prototype;h.readyState=0;h.seeking=!1;h.currentTime=0;h.duration=window.NaN;h.paused=!0;h.ended=!1;h.autoplay=!1;h.controls=!1;h.volume=1;h.muted=!1;h.src="";h.currentSrc="";h.pB=1;h.playbackRate=0;h.xe=null;h.oj=0;h.QF=4;h.gh=null;h.Qj=null;\
|
|
h.play=function()\{this.ended&&(this.currentTime=0,this.dispatchEvent("timeupdate"));this.paused&&(this.paused=!1,this.dispatchEvent("play"),this.readyState=this.QF,2>=this.readyState?this.dispatchEvent("waiting"):this.dispatchEvent("playing"));if(null===this.xe||this.xe.isDisposed())this.xe=new be(10),this.xe.O("tick",x(this.au,this));this.oj=C();this.xe.start();this.seeking=this.autoplay=!1\};\
|
|
h.pause=function()\{this.autoplay=!1;this.paused||(this.xe.stop(),this.paused=!0,this.dispatchEvent("timeupdate"),this.dispatchEvent("pause"))\};\
|
|
h.load=function()\{this.readyState=0;this.paused=!0;this.seeking=!1;this.dispatchEvent("loadstart");this.setProperty("duration",(0,window.isNaN)(this.duration)?10+20*Math.random():this.duration);var a=this.buffered;a.b.push(new uga(this.duration));a.length=a.b.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.pB\};\
|
|
h.setProperty=function(a,b)\{switch(a)\{case "currentTime":var c=Number(b);this.seeking=!0;this.dispatchEvent("seeking");this.seeking=!1;this.currentTime=c;this.dispatchEvent("seeked");this.au();break;case "duration":this.duration=Number(b);this.dispatchEvent("durationchange");break;case "volume":this.volume=Number(b),this.dispatchEvent("volumechange")\}\};\
|
|
h.au=function()\{var a=C()-this.oj,b=this.currentTime+a/1E3;this.oj+=a;2<this.readyState&&(this.currentTime=Math.min(b,this.duration));this.dispatchEvent("timeupdate");this.currentTime==this.duration&&(this.ended=this.paused=!0,this.xe.stop(),this.dispatchEvent("ended"))\};\
|
|
h.T=function()\{this.xe&&this.xe.dispose();this.b.dispose()\};\
|
|
h.vF=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.Qj&&(this.Qj.innerText=b);c&&this.gh&&(this.gh.style.backgroundColor=c)\};xf&&zc(8);var nR=\{\},LR=\{\},MR=\{\},oR=\{\};jR.prototype.he=null;jR.prototype.gc=function()\{return this.content\};\
|
|
jR.prototype.toString=function()\{return this.content\};\
|
|
z(kR,jR);z(lR,jR);var vga=\{\};z(rR,jR);rR.prototype.Ld=nR;z(tR,jR);tR.prototype.Ld=\{\};tR.prototype.he=1;z(uR,jR);uR.prototype.Ld=LR;uR.prototype.he=1;z(vR,jR);vR.prototype.Ld=MR;vR.prototype.he=1;z(wR,jR);wR.prototype.Ld=\{\};wR.prototype.he=1;z(xR,lR);xR.prototype.Ld=\{\};xR.prototype.he=1;z(yR,kR);yR.prototype.Ld=oR;var sR=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.he=d);return c\}\}(rR);\
|
|
zR(tR);zR(uR);zR(vR);var Ega=zR(wR);zR(xR);var AR=\{\},BR=\{\},$R=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.he=d);return c\}\}(rR),JR=/['()]/g,SR=\{\},Fga=\{"\\x00":"�",\
|
|
"\\t":"	","\\n":" ","\\x0B":"","\\f":"","\\r":" "," ":" ",'"':""","&":"&","'":"'","-":"-","/":"/","<":"<","=":"=",">":">","`":"`","\\u0085":"…","\\u00a0":" ","\\u2028":"
","\\u2029":"
"\},Gga=\{"\\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"\},yga=/[\\x00\\x22\\x27\\x3c\\x3e]/g,Aga=/[\\x00\\x09-\\x0d \\x22\\x26\\x27\\x2d\\/\\x3c-\\x3e`\\x85\\xa0\\u2028\\u2029]/g,zga=/[\\x00\\x09-\\x0d \\x22\\x27\\x2d\\/\\x3c-\\x3e`\\x85\\xa0\\u2028\\u2029]/g,OR=/[\\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,\
|
|
Cga=/^(?![^#?]*\\/(?:\\.|%2E)\{2\}(?:[\\/?#]|$))(?:(?:https?|mailto):|[^&:\\/?#]*(?:[\\/?#]|$))/i,Dga=/^[^&:\\/?#]*(?:[\\/?#]|$)|^https?:|^data:image\\/[a-z0-9+]+;base64,[a-z0-9+\\/]+=*$|^blob:/i,ER=/<(?:!|\\/?([a-zA-Z][a-zA-Z0-9:\\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g,FR=/</g;CR("a","",function(a)\{a=a||\{\};return'<div class="videoAdUi"><div class="videoAdUiTopBar videoAdUiTopBarWithGradients"><div class="videoAdUiAuthorIcon"></div><div class="videoAdUiTitle ellipsisText"></div><div class="videoAdUiAuthorName ellipsisText"></div><div class="videoAdUiLearnMore">'+X(a.Cg)+'</div><div class="videoAdUiShare"></div></div><div class="videoAdUiBottomBar"><div class="videoAdUiLearnMoreText">'+X(a.Cg)+'<div class="videoAdUiLearnMoreIcon"></div></div><div class="videoAdUiAttributionContainer"><div class="videoAdUiAttribution"'+\
|
|
X(TR(a.Id))+">"+X(a.Id)+'</div><div class="videoAdUiAttributionIconContainer"><div class="videoAdUiAttributionIcon" id="videoAdUiAttributionIcon"></div><div class="videoAdUiAdInfoPopup"><div class="videoAdUiAdInfoPopupCallout"></div><div class="videoAdUiAdInfoPopupText" '+X(TR(a.ee))+">"+X(a.ee)+'</div></div></div></div></div><div class="videoAdUiProgressBar" dir="ltr"><div class="videoAdUiBuffer"></div><div class="videoAdUiProgress"></div></div></div>'\});\
|
|
CR("a","redesign2014q4",function(a)\{a=a||\{\};return'<div class="videoAdUi"><div class="videoAdUiTopBar videoAdUiTopBarWithGradients"><div class="videoAdUiAuthorIcon"></div><div class="videoAdUiTopButtons"><div class="videoAdUiTopButton videoAdUiTopButtonInfo"><div class="videoAdUiTopButtonCallout"><div class="videoAdUiTopButtonTooltip">'+X(a.infoText)+'</div></div></div><div class="videoAdUiTopButton videoAdUiTopButtonShare"><div class="videoAdUiTopButtonCallout"><div class="videoAdUiTopButtonTooltip videoAdUiTopButtonShareTooltip">'+\
|
|
X(a.hR)+'</div></div></div><div class="videoAdUiTopButton videoAdUiTopButtonWatchLater"><div class="videoAdUiTopButtonCallout"><div class="videoAdUiTopButtonTooltip">'+X(a.iR)+'</div></div></div></div><div class="videoAdUiTitle ellipsisText"></div><div class="videoAdUiAuthorName ellipsisText"></div></div><div class="videoAdUiBottomBar"><div class="videoAdUiBottomBarText"><div class="videoAdUiAttributionContainer"><div class="videoAdUiAttributionBadge yt-badge yt-badge-ad"></div><div class="videoAdUiAttribution"'+\
|
|
X(TR(a.Id))+">"+X(a.Id)+'</div><div class="videoAdUiAttributionIconContainer"><div class="videoAdUiAttributionIcon" id="videoAdUiAttributionIcon"></div><div class="videoAdUiAdInfoPopup"><div class="videoAdUiAdInfoPopupCallout"></div><div class="videoAdUiAdInfoPopupText" '+X(TR(a.ee))+">"+X(a.ee)+'</div></div></div></div><div class="videoAdUiVisitAdvertiserLink"><div class="videoAdUiVisitAdvertiserLinkText"></div><div class="videoAdUiVisitAdvertiserIcon"></div></div></div></div><div class="videoAdUiProgressBar" dir="ltr"><div class="videoAdUiBuffer"></div><div class="videoAdUiProgress"></div></div></div>'\});\
|
|
CR("b","",function(a)\{a=a||\{\};return"Puoi ignorare questo annuncio tra "+X(a.Ug)\});\
|
|
CR("b","redesign2014q4",function(a)\{a=a||\{\};return"Potrai andare direttamente al video tra "+X(a.Ug)\});z(aS,F);aS.prototype.initialize=function()\{vM()&&this.g.load()\};\
|
|
aS.prototype.T=function()\{Jf(this.b);aS.L.T.call(this)\};\
|
|
aS.prototype.show=function()\{var a=this.b;null!=a&&(a.style.display="block")\};z(dS,aR);var zsa=["video/mp4","video/webm"],Asa=\{el:"adunit",controls:0,html5:1,playsinline:1,ps:"gvn",showinfo:0\},cS=[],bS=!1;h=dS.prototype;h.an=function(a,b,c)\{var d=bb(a,function(a)\{return null!==XQ(a.g)\});\
|
|
if(null!==d)return d;a=le(a,function(a)\{a=B(a.b);return this.g?this.b.canPlayType(a):ib(zsa,a)\},this);\
|
|
kb(c)||(d=TQ(a,b,c));return null!=d?d:TQ(a,b,[])\};\
|
|
h.Hh=function(a)\{this.o=a\};\
|
|
h.load=function(a,b)\{null!==a&&(this.ba=a,this.g?eS(this,a,b):(this.J=a,this.X=b))\};\
|
|
h.getVideoUrl=function()\{return this.ba\};\
|
|
h.setVolume=function(a)\{this.ca?this.dispatchEvent("volumeChange"):this.g?(a=bf(100*a,0,100),this.b.setVolume(a),this.D=-1,this.dispatchEvent("volumeChange")):this.D=a\};\
|
|
h.Sd=function()\{return this.g?this.b.getVolume()/100:this.D\};\
|
|
h.play=function()\{if(!A(B(this.ba)))\{if(!this.A)\{gS(this);var a=15E3;null!=this.o&&0<this.o.b&&(a=this.o.b);this.qa=de(this.iE,a,this)\}this.g?(this.aa=!1,!this.A&&this.o&&this.o.g?this.b.loadVideoByPlayerVars(this.ha):this.b.playVideo()):this.aa=!0\}\};\
|
|
h.pause=function()\{this.g&&this.A&&this.b.pauseVideo()\};\
|
|
h.Ve=function()\{return this.g?2==this.b.getPlayerState(this.B):!1\};\
|
|
h.Hf=function()\{return this.g?this.b.isMuted():0==this.Sd()\};\
|
|
h.lj=function()\{\};\
|
|
h.Gf=function()\{var a=U.g?U.B:window.document.getElementById(this.M);return a?PQ(a):!1\};\
|
|
h.fg=function(a)\{return this.g?this.b.getCurrentTime(this.B)>=a:!1\};\
|
|
h.If=function(a)\{this.g?this.b.seekTo(a,!1):this.H=a\};\
|
|
h.getCurrentTime=function(a)\{return this.g?this.b.getCurrentTime(a||this.B):-1\};\
|
|
h.km=function()\{return this.g&&this.A?this.b.getVideoLoadedFraction(this.B)*this.b.getDuration(this.B):0\};\
|
|
h.rd=function()\{return this.g&&this.A?this.b.getDuration(this.B):-1\};\
|
|
h.getError=function()\{return null\};\
|
|
h.Yi=function()\{return Xb(g_)\};\
|
|
h.oe=function()\{return this.g?0==this.b.getPlayerState(this.B):!1\};\
|
|
h.sd=function()\{var a=U.g?U.B:window.document.getElementById(this.M);return a?new jf(a.offsetWidth,a.offsetHeight):new jf(0,0)\};\
|
|
h.lm=function()\{return!1\};\
|
|
h.Rq=function()\{return 1==this.la\};\
|
|
h.Wa=function()\{return this.g?1==this.b.getPlayerState(this.B):!1\};\
|
|
h.nB=function()\{var a=this.sd(),b=this.Gf();if(a.width!=this.ea.width||a.height!=this.ea.height)!this.ga&&b?this.dispatchEvent("beginFullscreen"):this.ga&&!b&&this.dispatchEvent("endFullscreen"),this.ea=a,this.ga=b\};\
|
|
h.ib=function()\{this.da=x(this.ms,this);this.K=x(this.qm,this);this.ia=x(this.os,this);this.na=x(this.RE,this);this.ca&&(this.b.addEventListener("onAdStateChange",this.K),this.b.addEventListener("onReady",this.da),this.b.addEventListener("onStateChange",this.K),this.b.addEventListener("onVolumeChange",this.ia),this.b.addEventListener("onSharePanelOpened",this.na));this.R=new be(1E3);this.N.O(this.R,"tick",this.nB);this.R.start()\};\
|
|
h.Lb=function()\{this.ca&&(this.b.removeEventListener("onAdStateChange",this.K),this.b.removeEventListener("onReady",this.da),this.b.removeEventListener("onStateChange",this.K),this.b.removeEventListener("onVolumeChange",this.ia),this.b.removeEventListener("onSharePanelOpened",this.na));null!=this.R&&this.R.dispose()\};\
|
|
h.Xy=function()\{var a=hc(Asa);ZL(XL(),21592053)&&(a.ps="gvn-experiment");var b=this.M,a=\{playerVars:a,events:\{cardstatechange:x(this.mB,this),onError:x(this.oB,this),onReady:x(this.ms,this),onAdStateChange:x(this.qm,this),onStateChange:x(this.qm,this),onVolumeChange:x(this.os,this)\}\},c=q("YT");this.b=null!=c&&null!=c.Player?new c.Player(b,a):null\};\
|
|
h.oB=function()\{this.dispatchEvent("error")\};\
|
|
h.ms=function()\{this.g=!0;this.G&&this.jm(this.G.videoId,this.G.uf,this.G.Qg);-1!=this.D&&(this.setVolume(this.D),this.D=-1);null!=this.J&&(eS(this,this.J,this.X),this.X=this.J=null);-1!=this.H&&(this.If(this.H),this.H=-1);this.aa&&this.play()\};\
|
|
h.mB=function(a)\{this.la=a.data;this.dispatchEvent("cardsStateChange")\};\
|
|
h.qm=function(a)\{switch(a.data)\{case 0:this.A?this.dispatchEvent("end"):this.dispatchEvent("error");break;case 1:this.A||(gS(this),this.A=!0,this.F=0,this.dispatchEvent("start"));this.dispatchEvent("play");fS(this);this.C=new be(100);this.N.O(this.C,"tick",this.Ur);this.C.start();break;case 2:this.dispatchEvent("pause"),fS(this)\}\};\
|
|
h.os=function()\{this.dispatchEvent("volumeChange")\};\
|
|
h.RE=function()\{this.dispatchEvent("shareClicked")\};\
|
|
h.Ur=function()\{if(AA||FM())\{if(1.5<this.getCurrentTime()-this.F)\{this.g&&this.b.seekTo(this.F,!0);return\}this.getCurrentTime()>this.F&&(this.F=this.getCurrentTime())\}this.dispatchEvent("timeUpdate")\};\
|
|
h.iE=function()\{this.dispatchEvent("mediaLoadTimeout")\};\
|
|
h.jm=function(a,b,c)\{if(b||c)this.g?this.b.addInfoCardXml(a,b,c):this.G=\{videoId:a,uf:b,Qg:c\}\};\
|
|
h.kg=function()\{if(!this.g)return null;var a=this.b.getVideoData();return a?a.cpn:null\};\
|
|
h.gn=function(a)\{this.g&&XQ(this.getVideoUrl())&&this.b.sendVideoStatsEngageEvent(a)\};\
|
|
h.Tq=function(a)\{this.g&&this.b.setCardsVisible(a,!1,"YOUTUBE_DRAWER_AUTO_OPEN")\};\
|
|
h.Uq=function()\{this.g&&this.b.showControls()\};\
|
|
h.Sq=function()\{this.g&&this.b.hideControls()\};\
|
|
h.T=function()\{fS(this);gS(this);this.Lb();this.g=!1;this.N.dispose();this.H=-1;this.X=null;this.aa=!1;this.J=null;this.D=-1;this.da=this.b=this.o=null;this.A=!1;this.ba="";dS.L.T.call(this)\};\
|
|
g.ba("onYouTubeIframeAPIReady",function()\{bS=!0;D(cS,function(a)\{a()\});\
|
|
lb(cS)\},window);z(hS,I);hS.prototype.b=!1;hS.prototype.connect=function()\{for(this.b=!0;!kb(this.g);)\{var a=this.g.shift();this.sendMessage(a.name,a.type,a.data)\}\};\
|
|
hS.prototype.send=function(a,b,c)\{this.b?this.sendMessage(a,b,c):this.g.push(\{name:a,type:b,data:c\})\};\
|
|
hS.prototype.sendMessage=v;z(iS,mc);iS.prototype.getOrigin=function()\{return this.o\};\
|
|
iS.prototype.toString=function()\{return""\};z(jS,hS);jS.prototype.sendMessage=function(a,b,c)\{null!=this.xd&&null!=this.xd.postMessage&&this.xd.postMessage(Qga(this,a,b,c),"*");null!=this.xd&&null==this.xd.postMessage&&SM(PM.getInstance(),11)\};\
|
|
jS.prototype.T=function()\{this.A.dispose();jS.L.T.call(this)\};\
|
|
jS.prototype.receive=function(a)\{a=a.b;var b=kS(a.data);if(lS(this,b))\{if(null==this.xd)this.xd=a.source,this.b||this.connect();else if(this.xd!=a.source)return;lS(this,b)&&this.dispatchEvent(new iS(b.name,b.type,b.data||\{\},b.sid,a.origin))\}\};z(mS,I);mS.prototype.send=function(a)\{var b=a.b;this.b.hasOwnProperty(b)&&this.b[b].send(a.type,a.Jc,a.Wd)\};\
|
|
mS.prototype.T=function()\{this.g.dispose();for(var a in this.b)Nb(this.b[a]);mS.L.T.call(this)\};\
|
|
mS.prototype.B=function(a)\{a=a.b;var b=kS(a.data);if(null!=b)\{var c=b.channel;if(this.o&&!this.b.hasOwnProperty(c))\{var d=b.sid;oS(this,c,d,a.source);this.dispatchEvent(new nS(b.name,b.type,b.data||\{\},d,a.origin,c))\}\}\};\
|
|
z(nS,iS);z(qS,Fm);\
|
|
qS.prototype.C=function(a)\{var b=a.getOrigin(),c=Kg("//imasdk.googleapis.com"),b=Kg(b);if(c[3]==b[3]&&c[4]==b[4])if(null!=this.b)oS(this.b,a.b,a.Fq,zf().parent),null!=this.b&&this.b.send(a);else if(c=a.Wd,null!=c&&p(c.scope))\{var b=c.scope,c=c.args,d;if("proxy"==b)c=a.Jc,"isGptPresent"==c?d=pS():"isConsolePresent"==c&&(d=null!=rS());else if(pS())if("pubads"==b||"companionAds"==b)\{d=a.Jc;var e,f=zf().googletag;if(null!=f&&null!=f[b]&&(f=f[b](),null!=f&&(d=f[d],null!=d)))try\{e=d.apply(f,c)\}catch(k)\{\}d=e\}else if("console"==\
|
|
b)\{if(f=a.Jc,e=rS(),null!=e&&(f=e[f],null!=f))try\{f.apply(e,c)\}catch(k)\{\}\}else if(null===b)\{e=a.Jc;d=zf();if(ib(["googleGetCompanionAdSlots","googleSetCompanionAdContents"],e)&&(e=d[e],null!=e))try\{f=e.apply(d,c)\}catch(k)\{\}d=f\}p(d)&&(a.Wd.returnValue=d,this.o.send(a))\}\};\
|
|
qS.prototype.B=function(a)\{this.o.send(a)\};sS.prototype.isPharma=function()\{return this.H\};var tS=\{s:function(a,b,c)\{return(0,window.isNaN)(c)||""==c||a.length>=Number(c)?a:a=-1<b.indexOf("-",0)?a+La(" ",Number(c)-a.length):La(" ",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;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+La(" ",a):f+La(0<=b.indexOf("0",0)?"0":" ",a)+d\},\
|
|
d:function(a,b,c,d,e,f,k,l)\{return tS.f((0,window.parseInt)(a,10),b,c,d,0,f,k,l)\}\};\
|
|
tS.i=tS.d;tS.u=tS.d;z(wS,I);h=wS.prototype;h.T=function()\{this.g.dispose();null!==this.A&&(this.A.dispose(),this.A=null);zg(this.F.sc(!1),function(a)\{a.dispose()\});\
|
|
this.F.clear();Jf(this.o);wS.L.T.call(this)\};\
|
|
h.Mz=function(a)\{var b=a.Wd,c=Ss(this.o),d=window.document.createEvent("MouseEvent");d.initMouseEvent(a.Jc,!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(!Az||yM()||0==window.document.webkitIsFullScreen)this.o.blur(),window.focus();this.o.dispatchEvent(d)\};\
|
|
h.gA=function(a)\{var b=a.Wd,c=Ss(this.o),d=window.document.createEvent("TouchEvent");d.initTouchEvent(a.Jc,!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,xS(this,b.touches),xS(this,b.targetTouches),xS(this,b.changedTouches),b.scale,b.rotation);this.o.dispatchEvent(d)\};\
|
|
h.dA=function(a)\{if(null!=this.b)\{var b=a.Wd;switch(a.Jc)\{case "startTracking":this.b.ib();break;case "stopTracking":this.b.Lb();break;case "exitFullscreen":this.b.lj();break;case "play":this.b.play();break;case "pause":this.b.pause();break;case "load":this.b.load(b.videoUrl,b.mimeType);break;case "setCurrentTime":this.b.If(b.currentTime);break;case "setPlaybackOptions":this.b.Hh(yS(b));break;case "setVolume":this.b.setVolume(b.volume)\}\}\};\
|
|
h.Wz=function(a)\{if(null!=this.B)\{var b=a.Wd;switch(a.Jc)\{case "startTracking":this.B.ib();break;case "stopTracking":this.B.Lb();break;case "setPlaybackOptions":this.B.Hh(yS(b));break;case "load":this.B.load(b.videoUrl,b.mimeType)\}\}\};\
|
|
h.Zd=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.b.oe();break;case "play":a="play";break;case "skip":a="skip";break;case "start":a="start";break;case "timeUpdate":a="timeupdate";b.currentTime=this.b.getCurrentTime();b.duration=\
|
|
this.b.rd();break;case "volumeChange":a="volumeChange";b.volume=this.b.Sd();break;case "loadedmetadata":a=a.type;b.duration=this.b.rd();break;case "abort":case "canplay":case "canplaythrough":case "durationchange":case "emptied":case "loadstart":case "loadeddata":case "progress":case "ratechange":case "seeked":case "seeking":case "stalled":case "suspend":case "waiting":a=a.type;break;default:return\}this.D.send("videoDisplay",a,b)\};\
|
|
h.Iz=function(a)\{switch(a.Jc)\{case "showVideo":null!=this.A?this.A.Lb():(this.A=new UQ,this.g.O(this.A,"click",this.sF));this.A.ib(AS(this.C));a=this.C;null!=a.b&&a.b.show();break;case "hide":null!==this.A&&(this.A.dispose(),this.A=null);a=this.C;null!=a.b&&(a=a.b.b,null!=a&&(a.style.display="none"));break;case "getPreloadDisplay":null!=this.b&&null==this.B&&(this.B=this.C.B);break;case "swapVideoDisplays":if(null!=this.b&&null!=this.B)\{this.g.sa(this.b,Xb(uS),this.Zd);this.g.sa(this.b,vS,this.Zd);\
|
|
a=this.C;if(a.b&&a.g&&a.A&&a.B)\{var b=a.g;a.g=a.B;a.B=b;b=a.b;a.b=a.A;a.A=b;null!=a.G&&(b=a.G,a=a.g,null!=b.b&&(b.g.sa(b.b,Xb(uS),b.Zd),b.g.sa(b.b,vS,b.Zd)),b.b=a,b.g.O(b.b,Xb(uS),b.Zd),b.g.O(b.b,vS,b.Zd))\}this.b=this.C.g;this.B=this.C.B;this.g.O(this.b,Xb(uS),this.Zd);this.g.O(this.b,vS,this.Zd)\}\}\};\
|
|
h.sF=function()\{this.D.send("displayContainer","videoClick")\};\
|
|
h.pz=function()\{zg(this.F.sc(!1),function(a)\{a.xd=Sf(this.o);a.connect()\},this);\
|
|
this.G=!0\};zS.prototype.initialize=function()\{null!=this.b&&this.b.initialize();null!=this.A&&this.A.initialize()\};\
|
|
zS.prototype.destroy=function()\{Nb(this.b);Nb(this.A);Nb(this.G);Nb(this.g);Nb(this.B);Jf(this.o)\};\
|
|
zS.prototype.setSize=function(a,b)\{var c=this.o;null!=c&&(-1==a?(c.style.right="0",c.style.left="0"):c.style.width=a+"px",-1==b?(c.style.bottom="0",c.style.top="0"):c.style.height=b+"px");null!=this.G&&(c=this.G,c.o.width=-1==a?"100%":a,c.o.height=-1==b?"100%":b)\};var BS="ad_type vpos mridx pos vad_type videoad_start_delay".split(" ");z(DS,I);DS.prototype.start=v;DS.prototype.stop=v;z(ES,DS);ES.prototype.start=function()\{this.b.start()\};\
|
|
ES.prototype.stop=function()\{this.b.stop()\};\
|
|
ES.prototype.T=function()\{ES.L.T.call(this);this.o.dispose();this.b.dispose()\};\
|
|
ES.prototype.A=function()\{if("currentTime"in this.g&&!(0,window.isNaN)(this.g.currentTime))\{var a=this.currentTime;this.currentTime=this.g.currentTime;a!=this.currentTime&&this.dispatchEvent(new mc("currentTimeUpdate"))\}else this.dispatchEvent(new mc("contentWrapperError")),this.stop()\};z(GS,I);GS.prototype.g=null;GS.prototype.T=function()\{delete this.b;HS(this);dd(this.g);GS.L.T.call(this)\};\
|
|
GS.prototype.B=function()\{FS(this)&&(HS(this),dd(this.g),this.g=null,this.A=!0,this.dispatchEvent("ifload"))\};z(IS,I);h=IS.prototype;h.initialize=v;h.dm=v;h.Iq=v;h.Hq=v;h.Jq=v;h.eq=v;h.mq=v;h.Gq=v;h.sp=v;h.cn=v;h.Nt=v;h.Nf=v;z(JS,mc);JS.prototype.getError=function()\{return this.o\};KS.prototype.gc=function()\{return this.D\};\
|
|
KS.prototype.hc=function()\{return this.g\};\
|
|
KS.prototype.clone=function()\{var a=new KS(this.G,this.F);if(null!=this.g)LS(a,this.hc(),this.B,this.o,this.C,this.b);else\{var b=this.gc(),c=this.B,d=this.o,e=this.A,f=this.C,k=this.b;a.D=b;a.g=null;a.B=c;a.o=d;a.A=e;a.C=f||[];a.b=k||[]\}return a\};z(NS,IS);ca(NS);h=NS.prototype;h.T=function()\{this.g&&this.g.dispose();NS.L.T.call(this)\};\
|
|
h.initialize=function()\{if(!this.A)\{var a;var b=ag(new mf);try\{q("googletag"),OS([b,b.top]),a=!0\}catch(c)\{a=!1\}a?ZS(this):(this.A=!0,this.o="not_available")\}\};\
|
|
h.Hq=function()\{\};\
|
|
h.dm=function()\{return this.A?Ii(this.F,function(a)\{return a.clone()\}):[]\};\
|
|
h.eq=function()\{return this.A&&"retrieved"==this.o?this.D:void 0\};\
|
|
h.Iq=function()\{var a=this.dm();return null!=a?Ii(a,function(a)\{return a.F\}):void 0\};\
|
|
h.Jq=function()\{\};\
|
|
h.mq=function()\{\};\
|
|
h.Gq=function(a)\{try\{this.b.googleSetCompanionAdContents(Ii(a,this.zy,this)),this.Nf()\}catch(b)\{this.dispatchEvent(new JS("companion_display_error",b))\}\};\
|
|
h.sp=function(a,b)\{var c;if(c=0!=a.length)c=GV(b),c=DV(c[0])&&1<c.length?c[1]:c[0],c="GDFP"==c;if(c)\{c=[];for(var d=0;d<a.length;d++)c.push(a[d].G);var d=b.o,e=QS(this);if(null!==e)\{PS(e,d,!1);try\{e.notifyUnfilledSlots(c)\}catch(f)\{\}\}\}\};\
|
|
h.cn=function()\{\};\
|
|
h.ts=function()\{0<this.B&&C()>=this.B?(this.A=!0,VS(this),YS(this)):ZS(this)\};\
|
|
h.rG=function(a)\{var b=Ii(a.adSizes,function(a)\{return new jf(a.adWidth,a.adHeight)\});\
|
|
return new KS(a.slotId,b)\};\
|
|
h.zy=function(a)\{var b=\{\};b.slotId=a.G;b.adContent=a.gc();b.adWidth=a.B;b.adHeight=a.o;b.friendlyIframeRendering=a.A;null==a.g&&kb(a.b)||(b.onAdContentSet=x(this.KC,this,a));return b\};\
|
|
h.KC=function(a,b)\{if(null!=a.g)\{var c=Of(b);c||(c=Ef("div"),b.appendChild(c));var d=a.hc();c.appendChild(d);$S(this,a,c)\}else c=a.A?b.querySelector("iframe"):(c=Of(b))?Of(c):null,(c=c&&"IFRAME"==c.tagName?c:null)&&Tga(this,c,a)\};\
|
|
h.JC=function(a)\{this.dispatchEvent(new JS("companion_click",null,a))\};\
|
|
h.Nt=function(a)\{this.impressionUrls=a\};\
|
|
h.Nf=function(a)\{jM(this.impressionUrls,a)\};z(aT,mc);aT.prototype.getError=function()\{return this.b\};z(bT,mc);cT.prototype.videoCount=0;eT.prototype.Fb=function()\{return this.o\};\
|
|
z(fT,eT);dT.prototype.isEmpty=function()\{return this.b.isEmpty()\};pT.prototype.wm=function()\{return null\};\
|
|
pT.prototype.um=function()\{return null\};\
|
|
pT.prototype.jb=function()\{return this.F\};\
|
|
pT.prototype.Ui=function()\{for(var a=[this],b=this.F.g;b;)\{var c=sT(this,b)||sT(this,b,!0);null!=c&&a.push(c);b=b.g\}return a\};tT.prototype.bb=function()\{return this.C\};\
|
|
tT.prototype.getHeight=function()\{return this.B\};z(uT,pT);uT.prototype.Td=function()\{return this.o\};\
|
|
uT.prototype.Gl=function(a)\{var b="";Uh(this.K,function(c)\{var d=c.g;return!A(B(a))&&a!=c.b||null==d||A(B(d))?!1:(b=d,!0)\},this);\
|
|
return b\};\
|
|
uT.prototype.wm=function()\{return wT(this,"javascript")\};\
|
|
uT.prototype.um=function()\{return wT(this,"x-shockwave-flash")\};z(xT,F);xT.prototype.D=function()\{this.A=C()\};\
|
|
xT.prototype.G=function(a)\{var b=null!=a.target.href?a.target:a.target.parentNode,c=[];this.g&1&&c.push("nm="+this.B);this.g&2&&c.push("nb="+this.C.get(b));if(this.g&8)\{var d=Ss(this.o);c.push("nx="+(a.clientX-d.x));c.push("ny="+(a.clientY-d.y))\}this.g&16&&null!=this.A&&c.push("clkt="+(C()-this.A));0<c.length&&(b.href+=0<=b.href.indexOf("?")?"&"+c.join("&"):"?"+c.join("&"))\};\
|
|
xT.prototype.F=function()\{this.B++\};\
|
|
xT.prototype.T=function()\{xT.L.T.call(this);this.b.dispose()\};var L$=zT("f"),hX=zT("i"),M$=zT("b"),aX=zT("e"),bX=zT("s");var aha=[0,2,1],IT=null;window.document.addEventListener&&window.document.addEventListener("mousedown",function(a)\{IT=a\},!0);\
|
|
window.mb=function(a)\{if(a)\{var b=JT();b&&(window.css?(0,window.css)(a.id,"mb",b,void 0,void 0):a&&(a.href=HT(a.href,"mb",b,void 0)))\}\};z(KT,F);KT.prototype.D=function()\{this.C=C()\};\
|
|
KT.prototype.G=function(a,b)\{var c=a.element;1==(this.g&1)&&(0==this.A&&this.A++,this.b.nm=this.A);2==(this.g&2)&&(this.b.nb=a.Py);if(8==(this.g&8))\{var d=Ss(this.B);this.b.nx=Math.round(b.clientX-d.x);this.b.ny=Math.round(b.clientY-d.y)\}16==(this.g&16)&&null!=this.C&&(d=C()-this.C,this.b.clkt=d);512==(this.g&512)&&(d=JT())&&(this.b.mb=d);"A"==c.tagName.toUpperCase()&&lf(c,cha(this,c.href))\};\
|
|
KT.prototype.F=function()\{this.A++\};var dha=xf?'javascript:""':"about:blank";z(MT,pT);h=MT.prototype;h.hc=v;h.gc=function()\{return Uf(this.hc())\};\
|
|
h.wh=function()\{return!1\};\
|
|
h.xm=function()\{return this.wh()?Uf(this.hc(!0)):""\};\
|
|
h.yc=function()\{return this.la\};\
|
|
h.td=function()\{return this.na\};\
|
|
h.bb=function()\{return this.td().width\};\
|
|
h.getHeight=function()\{return this.td().height\};\
|
|
h.wm=function()\{return"VPAID"==this.G?this.B:null\};\
|
|
h.um=function()\{return"VPAID"==this.G&&"Flash"==this.X?this.B:null\};\
|
|
h.Td=function()\{return this.ba\};z(NT,MT);h=NT.prototype;h.Yf=function(a)\{null==this.g||A(B(this.Td()))||(this.g.O(a,"click",this.M),this.N.push(a))\};\
|
|
h.hc=function(a)\{a?(null==this.La&&(this.La=this.Kd(a),Gf(this.La,ST(this))),a=this.La):(null==this.o&&(this.o=this.Kd(),Gf(this.o,ST(this))),a=this.o);null!=this.g&&this.g.O(a,"creativeview",this.ga);return a\};\
|
|
h.Kd=v;h.Bl=function()\{XL().b.Z("cleanup_text_overlay_spam_signals");return 2\};\
|
|
h.Ui=function()\{for(var a=[this],b=this.jb().g;b;)\{var c=this.A?sT(this,b)||sT(this,b,!0):TT(this,b)||TT(this,b,!0);null!=c&&a.push(c);b=b.g\}return a\};z(UT,NT);h=UT.prototype;h.td=function()\{return new jf(this.bb(),this.getHeight())\};\
|
|
h.getHeight=function()\{return 63\};\
|
|
h.bb=function()\{return null!=this.C?bt(this.C).width:0\};\
|
|
h.Bl=function(a)\{return XL().b.Z("cleanup_text_overlay_spam_signals")?je(a,"text-image-link")?9:je(a,"text-ad-channel")?1:0:je(a,"text-image")?9:je(a,"text-ad-channel")?1:0\};\
|
|
h.Kd=function()\{var a=this.jb(),b=a.getExtension("AdSense"),c=a.getExtension("TextAd"),d=c.o,e="rtl";null!=d&&(e=v0.test(qe(d,void 0))?"rtl":"ltr");d=\{title:d,text:c.A+" "+c.B,dir:e,Kb:this.Td()\};if(c=c.g)d.image=dM(c),a=bb(a.B,function(a)\{return a instanceof uT\}),null!=a&&(d.duration=IQ(a.R));\
|
|
b.g&&(d.ku=b.g);this.C=mR(Wga,d);D(this.C.getElementsByTagName("a"),this.Yf,this);this.C.id=this.wa;this.C.style.height=this.getHeight()+"px";return this.C\};var gha=[202,1009],mha=["CONTENT_V","CPN","DISALLOW","LACT","VIS"],lha=\{MOAT_INIT:["://yts.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","://pagead2.googlesyndication.com","://([a-z0-9]+[.])*youtube.com"]\};lU.prototype.g=function()\{return null!=this.b&&this.b.g()?!0:0<this.ads.length&&this.o<this.ads.length-1\};\
|
|
lU.prototype.J=function(a,b)\{return this.D?0<a.length?a:b:ub(b,0,1)\};\
|
|
lU.prototype.B=function(a,b,c)\{var d;if(!(d=null!=a.b))\{var e=this.F;d=e.qd||0;e=e.pd||0;nV(a,UV)&&!a.X?YV(a,"nonlinear")?jU(a,d,e):kU(a):YV(a,"linear")?kU(a):YV(a,"nonlinear")&&jU(a,d,e);d=null!=a.b\}d?(this.A++,b(a)):(b=kb(a.B)?mM(aY):a.ob()?mM(eZ):mM(vsa),d=aU(b,a),KQ(Sha(a),"rm")?b.o=!1:jM(a.La,d),c(b))\};\
|
|
lU.prototype.G=function(a,b,c)\{var d=this.F.clone();d.g="";d.b=a.Oa;d.$c=CS(d.b,d.ej);rU(this,a,d,b,c)\};z(wU,mT);z(xU,lU);xU.prototype.g=function()\{if(null!=this.b&&this.b.g())return!0;var a=0==this.A||this.A==this.N;return 0<this.ads.length&&this.o<this.ads.length-1&&a\};\
|
|
xU.prototype.J=function(a,b)\{return b\};\
|
|
xU.prototype.B=function(a,b,c)\{var d;d=null==this.b?HV(a):HV(this.ads[this.o]);this.M.A=d;xU.L.B.call(this,a,b,c)\};\
|
|
xU.prototype.G=function(a,b,c)\{this.M.A=-1;xU.L.G.call(this,a,b,c)\};z(zU,L);zU.prototype.toString=function()\{return BU(this,zU.L.toString.call(this))\};\
|
|
zU.prototype.J=function()\{return""\};\
|
|
zU.prototype.F=function()\{return""\};\
|
|
zU.prototype.clone=function()\{return new zU(this.toString())\};var Iha=["ai","sigh"],Jha=["xai","sig"];z(XU,mT);YU.prototype.parse=function(a)\{a=Of(a);var b=LU(a),c;"skippable"==b?c="skippable":"nonskippable"==b&&(c="nonskippable");if(null==c)throw mM(tsa);a=a.getAttribute("offset");a=VU(a);if("skippable"==c&&null==a)throw mM(ssa);return new XU(c,a)\};z(ZU,mT);z($U,mT);h=aV.prototype;h.gc=function()\{return this.b.gc()\};\
|
|
h.hc=function()\{return this.b.hc()\};\
|
|
h.yc=function()\{return this.b.yc()\};\
|
|
h.bb=function()\{return this.b.bb()\};\
|
|
h.getHeight=function()\{return this.b.getHeight()\};\
|
|
h.Kq=function()\{return!A(B(this.b.B))\};\
|
|
h.Fl=function()\{var a=this.b.jb().b;return null!=a?a.b:window.NaN\};\
|
|
h.gm=function()\{return this.b.td()\};\
|
|
h.jb=function()\{return this.b.jb()\};z(cV,NT);var Lha=new jf(300,250);cV.prototype.Aa=function()\{this.C=Math.max(0,this.C-1);iV(this)\};\
|
|
cV.prototype.Ca=function()\{this.C=Math.min(this.ia-3,this.C+1);iV(this)\};\
|
|
cV.prototype.Kd=function()\{return this.ca\};z(jV,NT);var Nha=new jf(300,250);jV.prototype.Kd=function()\{return this.C\};h=lV.prototype;h.yc=function()\{if(null!=eW(this))return"application/javascript";if(null!=fW(this))return"application/x-shockwave-flash";var a=this.b,b="";if(null===a)return b;if(a instanceof uT)a=a.ea,null===a||(b=B(a.b));else if(a instanceof NT)switch(a.aa)\{case "IFrame":case "Html":case "Static":b=B(a.X)\}return b\};\
|
|
h.getExtension=function(a)\{return this.D.get(a)\};\
|
|
h.ob=function()\{return this.ha?this.ia:$V(this)?!0:nV(this,UV)?"video"==this.Na:YV(this,"linear")\};\
|
|
h.isSkippable=function()\{return null!=bW(this)\};\
|
|
h.zB=function()\{return this.X\};\
|
|
h.bb=function()\{return this.ob()?0:this.ca.width\};\
|
|
h.getHeight=function()\{return this.ob()?0:this.ca.height\};\
|
|
h.toString=function()\{return"Ad: "+this.gb\};z(jW,I);jW.prototype.uh=v;jW.prototype.np=function()\{return!0\};\
|
|
jW.prototype.yf=function()\{return null\};z(lW,jW);h=lW.prototype;h.T=function()\{this.destroy();lW.L.T.call(this)\};\
|
|
h.destroy=function()\{null!=this.B&&this.B.dispose();this.A=null;D(this.o,function(a)\{MS(a)\},this);\
|
|
this.g=null\};\
|
|
h.uh=function(a)\{Nb(this.g);this.g=new I;this.A=a;this.C=!0;this.D?nW(this):(this.C=pW(oW(a),[]),this.C||(this.g=this.A=null));return this.g\};\
|
|
h.np=function()\{return this.C\};\
|
|
h.OE=function()\{null!=this.F&&(this.F.stop(),this.F.dispose(),this.F=null);if(null!=this.b)\{var a=this.b.dm();null!=a&&(this.o=a)\}this.D=!0;null!=this.A&&nW(this);this.dispatchEvent(new mc("initialized"))\};\
|
|
h.LC=function(a)\{mW(this,a.getError())\};\
|
|
h.HC=function(a)\{if(null!=a.b)\{var b=a.b;"companion_slot_init"==a.type?(jM(b.C),qd(function()\{null!=this.g&&this.g.dispatchEvent(new bT("companion_impression"))\},this)):"companion_click"==a.type&&(jM(b.b),null!=this.g&&this.g.dispatchEvent(new bT("companion_click")))\}\};\
|
|
h.yf=function()\{return this.b\};h=qW.prototype;h.Al=function()\{return AS(this.b)\};\
|
|
h.Zi=function()\{return this.b.C\};\
|
|
h.Pd=function()\{return this.b.C\};\
|
|
h.gj=function()\{var a=this.b.g;return null!=a?a:new dS\};\
|
|
h.th=function()\{var a=this.b;null!=a.b&&a.b.show()\};\
|
|
h.Zc=function()\{\};\
|
|
h.ql=function()\{return null!=this.b.F\};\
|
|
h.hj=function()\{return this.b.D\};\
|
|
h.bm=function()\{return!1\};\
|
|
h.ij=function()\{return this.b.H\};\
|
|
h.setSize=function(a,b)\{this.b.setSize(a,b)\};\
|
|
h.Ff=function()\{\};\
|
|
h.$l=function()\{return null\};\
|
|
h.Dq=function()\{\};z(rW,mc);z(tW,mc);ca(uW);var iia=/iu\\=\\/(\\d+)\\//;uW.prototype.start=function(a)\{this.g&&this.o.set(a,C())\};\
|
|
uW.prototype.end=function(a,b)\{if(this.g&&Dg(this.o,a))\{var c=C()-this.o.get(a),d=vW(this,a,c,b);fM(d);this.o.remove(a);this.A+=c\}\};\
|
|
uW.prototype.sendMessage=function(a,b,c)\{this.g&&(a=vW(this,a,b,c),fM(a))\};wW.prototype.start=function(a,b)\{this.B=a;this.D=b;lia(this);this.C.D?this.G():Lm(this.o,this.C,"initialized",this.G,this)\};\
|
|
wW.prototype.G=function()\{var a=this.C.yf(),b=a.eq(),c=a.mq(),d=a.Jq(),e=a.Hq(),a=a.Iq();null!=b&&(this.b.B=b);null!=c&&(this.b.b=c);null==d||A(d)||(this.b.F=d);null==e||A(e)||(this.b.D=e);null!=a&&(this.b.G=a);kia(this)\};z(yW,I);var zW=null;yW.prototype.destroy=function()\{this.G.sa(this.g,"activityMonitor",this.J);this.g=null\};\
|
|
yW.prototype.J=function(a)\{var b=a.Wd;switch(a.Jc)\{case "appStateChanged":Zfa(rQ.getInstance(),b.appState,b.nativeTime);break;case "externalActivityEvent":DW(b.queryId,b.viewabilityString,b.eventName);break;case "measurableImpression":BW(b.queryId,b.viewabilityString);break;case "pageSignals":this.H=b.pageSignals;break;case "viewableImpression":CW(b.queryId,b.viewabilityString);break;case "engagementData":b=b.engagementString;AW().A=b;AW().F=C();break;case "viewability":a=b.eventId;window.clearTimeout(a);\
|
|
var c=this.b.get(a);c&&(this.b.remove(a),c(b.viewabilityData));break;case "viewabilityMeasurement":rQ.getInstance();mO.getInstance();break;case "engagement":a=b.eventId;window.clearTimeout(a);c=this.b.get(a);if(PM.getInstance().b)\{var d=-1;this.C&&(d=C()-this.C);var e=!1;c||(e=!0);$b(b,"loggingId")&&SM(PM.getInstance(),43,\{step:"receivedResponse",time:C(),timeout:e,logid:b.loggingId,timediff:d\})\}c&&(this.b.remove(a),c(b.engagementString))\}\};\
|
|
g.ba("ima.bridge.getNativeViewability",function(a,b)\{AW();b(\{\})\},void 0);\
|
|
g.ba("ima.bridge.getVideoMetadata",function()\{var a=AW().D;return ia(a)?a():\{\}\},void 0);\
|
|
g.ba("ima.bridge.triggerViewEvent",CW,void 0);g.ba("ima.bridge.triggerMeasurableEvent",BW,void 0);g.ba("ima.bridge.triggerExternalActivityEvent",DW,void 0);EW.prototype.o=v;z(GW,qia);z(JW,EW);JW.prototype.o=function()\{return new FW(this.b,null,tia(this))\};z(NW,mT);OW.prototype.parse=function(a)\{if(null==a)return null;var b,c,d;D(Mf(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 NW(b,c,d):null\};z(QW,mT);QW.prototype.isPharma=function()\{return this.D\};RW.prototype.parse=function(a)\{var b;MU(a,"config",function(a)\{null!=b||(b=wia(this,a))\},this);\
|
|
return b\};SW.prototype.parse=function(a)\{if(null==a)return null;var b,c,d,e,f,k,l,m=!1,n=!1;D(Mf(a),function(a)\{switch(a.nodeName)\{case "AttributionText":c=LU(a);break;case "AttributionUrl":d=LU(a);break;case "ConversionUrl":f=LU(a);break;case "CustomTracking":null!=Mf(a)&&(e=WU(a));break;case "is_pharma":a=KU(a,"bool");n=PU(B(a));break;case "CheckedEvents":a=Mf(a);b=Ii(a,function(a)\{return KU(a,"id")\});\
|
|
null!=b||(b=[]);break;case "PreviousAdInformation":LU(a);break;case "VisibleUrl":k=LU(a);break;case "UI":l=(new RW).parse(a);break;case "ShowYouTubeAnnotations":var t=LU(a);m=PU(B(t),!1);case "QueryId":LU(a)\}\},this);\
|
|
null!=l||(l=new PW);return new QW(c,d,f,0,k,l,m,0,n,e,b)\};TW.prototype.parse=function(a)\{if(null==a)return null;var b;D(Mf(a),function(a)\{switch(a.nodeName)\{case "CustomTracking":null!=Mf(a)&&(b=WU(a))\}\});\
|
|
a=null;null!=b&&0<gT(b,"skip").length&&(a="Generic");return new ZU(a,b)\};UW.prototype.parse=function(a)\{if(null==a)return null;var b,c;D(Mf(a),function(a)\{switch(a.nodeName)\{case "SkippableAdType":b=LU(a);break;case "CustomTracking":null!=Mf(a)&&(c=WU(a))\}\});\
|
|
return new ZU(b,c)\};VW.prototype.parse=function(a)\{if(null==a)return null;var b;D(Mf(a),function(a)\{switch(a.nodeName)\{case "CustomTracking":null!=Mf(a)&&(b=WU(a))\}\},this);\
|
|
return new mT(b)\};var N$;z(WW,CT);var O$;z(NV,CT);var P$,Q$;z(OV,CT);var $W;z(RV,CT);var fX;z(XW,CT);var R$;z(YW,CT);var S$;z(ZW,CT);var T$,U$;z(PV,CT);var V$,W$,X$,gX;z(QV,CT);var Y$;h=NV.prototype;h.Fb=function()\{return DT(this,"type",0)\};\
|
|
h.$i=function()\{return new PV(this.Pa.website_card)\};\
|
|
h.zf=function()\{return new OV(this.Pa.placement)\};\
|
|
h.ak=function()\{return GT(this,"action")\};\
|
|
h.Vg=function(a)\{return new RV(FT(this,"action",a))\};\
|
|
RV.prototype.Fb=function()\{return DT(this,"type",0)\};\
|
|
RV.prototype.getId=function()\{return ET(this,"id")\};\
|
|
RV.prototype.setTitle=function(a)\{this.Pa.title=a\};\
|
|
XW.prototype.Fb=function()\{return DT(this,"type",0)\};\
|
|
PV.prototype.b=function()\{return new QV(this.Pa.icon)\};\
|
|
PV.prototype.g=function()\{return new QV(this.Pa.banner_image)\};var kX;\
|
|
kX=\{event:\{type:\{TYPE_DISMISS_ENDCAP:11,TYPE_ACTION_ENDCAP:9,TYPE_NONE:0,TYPE_COLLAPSE:3,TYPE_ACTION:6,TYPE_HEADLINE_CLICK:5,TYPE_IMPRESSION_GALLERY:7,TYPE_EXPAND:2,TYPE_IMPRESSION:1,TYPE_COLLAPSE_ENDCAP:10,TYPE_DISMISS:4,TYPE_IMPRESSION_ENDCAP:8\}\},card:\{prominence:\{PROMINENCE_FEATURE:2,PROMINENCE_NONE:0,PROMINENCE_HIGHLIGHT:1\},type:\{TYPE_WEBSITE:4,TYPE_NONE:0,TYPE_APP:2,TYPE_LOCATION:5,TYPE_PRODUCT:1,TYPE_VOTE:3\}\},ad_card:\{attribution_position:\{POSITION_BOTTOM_LEFT:0,POSITION_TOP_RIGHT:2,POSITION_TOP_LEFT:1,\
|
|
POSITION_BOTTOM_RIGHT:3\}\},action:\{type:\{TYPE_HELPOUTS:15,TYPE_CHANNEL:2,TYPE_APPLICATION_STORE:4,TYPE_INLINE_APPLICATION_STORE:19,TYPE_NONE:0,TYPE_RESPONSE:12,TYPE_HEADLINE:1,TYPE_SUBSCRIPTION:6,TYPE_MERCH:9,TYPE_EXTERNAL:16,TYPE_INTERNAL:13,TYPE_LETTERMAN:14,TYPE_VOTE:18,TYPE_RESULTS:11,TYPE_ATTRIBUTION:5,TYPE_FUNDRAISING:10,TYPE_VIDEO:3,TYPE_IRDB:8,TYPE_PLAYLIST:7,TYPE_COLLAPSE:17\}\}\};z(iX,mT);jX.prototype.parse=function(a)\{var b=Ds(a);if(A(B(b)))return null;var c;if(this.b)\{c=lX;if(!N$)\{var d=\{\};N$=\{Xb:d\};if(!O$)\{var e=\{\};O$=\{Xb:e\};e.type=aX;if(!P$)\{var f=\{\};P$=\{Xb:f\};f.major_version=hX;f.minor_version=hX\}e.version=BT(P$);e.priority=hX;e.start_time_ms=zT("j");e.end_time_ms=zT("j");e.action=AT(eX());e.event=AT(dX());V$||(f=\{\},V$=\{Xb:f\},f.headline=bX,f.description=bX,f.attribution_icon_url=bX,f.skippable_seconds=hX,f.attribution_position=aX);e.ad_card=BT(V$);if(!R$)\{f=\{\};R$=\{Xb:f\};f.headline=\
|
|
bX;f.image=BT(cX());f.description=bX;f.rating=L$;f.review_text=bX;if(!S$)\{var k=\{\};S$=\{Xb:k\};k.merchant=bX;k.price=bX;k.shipping=bX;k.shipping_tax=bX;k.condition=bX;k.unit_price=bX;k.energy_label=bX;k.description=bX;k.rating=L$;k.review_text=bX;k.action=AT(eX());k.event=AT(dX())\}f.offer=AT(S$)\}e.product_card=BT(R$);T$||(f=\{\},T$=\{Xb:f\},f.app_id=bX,f.app_name=bX,f.icon=BT(cX()),f.price=bX,f.rating_image=bX,f.review_count=hX,f.app_store_logo=BT(cX()),f.button_text=bX,f.screenshots=AT(cX()),f.rating=\
|
|
L$,f.back_button_text=bX,f.screenshots_text=bX,f.cover_photo=BT(cX()));e.app_card=BT(T$);U$||(f=\{\},U$=\{Xb:f\},f.headline=bX,f.description=bX,f.icon=BT(cX()),f.banner_image=BT(cX()));e.website_card=BT(U$);e.prominence=aX;W$||(f=\{\},W$=\{Xb:f\},f.call_to_action_text=bX);e.social_card=BT(W$);X$||(f=\{\},X$=\{Xb:f\},f.vote_line_1=bX,f.vote_line_2=bX,f.confirm_line_1=bX,f.confirm_line_2=bX);e.vote_card=BT(X$);e.sponsored=M$;e.teaser_text=bX;Q$||(f=\{\},Q$=\{Xb:f\},f.hide_in_drawer=M$,f.show_in_endcap=M$,f.show_in_companion=\
|
|
M$,f.show_in_cta=M$,f.override_clickthrough=M$,f.show_in_promotion_shelf=M$);e.placement=BT(Q$);Y$||(f=\{\},Y$=\{Xb:f\},f.latitude_e6=hX,f.longitude_e6=hX,f.address=bX,f.image=BT(cX()),f.headline=bX);e.location_card=BT(Y$)\}d.card=AT(O$);d.event=AT(dX())\}a=c(this,a,N$);a=c=new WW(a);d=new dT;for(e=0;e<GT(a,"card");e++)if(f=new NV(FT(a,"card",e)),DT(f.zf(),"show_in_endcap",void 0))for(k=0;k<GT(f,"event");k++)\{var l=new XW(FT(f,"event",k)),m=null;switch(l.Fb())\{case 9:m="video_card_endcap_action";break;\
|
|
case 10:m="video_card_endcap_collapse";break;case 11:m="video_card_endcap_dismiss";break;case 8:m="video_card_endcap_impression"\}m&&iT(d,m,mX(m,ET(l,"base_url")))\}a=d\}else a=xia(this,a);return new iX(b,c,a)\};z(nX,mT);nX.prototype.Nd=function()\{return this.g\};oX.prototype.B=function(a)\{var b=\{\};D(this.g,function(a)\{b[a]=[]\});\
|
|
var c=new RegExp("^"+this.o);D(Mf(a),function(a)\{"config"==a.nodeName&&D(Mf(a),function(a)\{"params"==a.nodeName&&D(Mf(a),function(a)\{var d=this.o?a.nodeName.replace(c,""):a.nodeName,e=a.getAttribute("data");null!=e||(e=LU(a));null!=a.getAttribute("learn_more")&&(e+="|");ib(this.g,d)?b[d].push(e):b[d]=e\},this)\},this)\},this);\
|
|
return b\};z(qX,mT);z(sX,oX);sX.prototype.parse=function(a)\{if(null==a)return null;a=pX(this,a);var b=a.UI;return new qX(b.gone,b.question,b.undo,b.hover_text,a.SurveyOptions||[],a.CustomTracking)\};\
|
|
sX.prototype.A=function(a)\{var b=[],c=0;D(Mf(a),function(a)\{if("SurveyOption"==a.nodeName)\{var d,f;D(Mf(a),function(a)\{switch(a.nodeName)\{case "DisplayName":d=LU(a);break;case "URL":f=LU(a)\}\},this);\
|
|
null!=d&&null!=f&&(b.push(\{label:d,url:f\}),c++)\}\},this);\
|
|
return b\};z(tX,mT);uX.prototype.b=\{Wx:"Siub",Vx:"Scs",xw:"Bgub",ww:"Bgp"\};uX.prototype.parse=function(a)\{if(null==a)return null;var b,c,d,e;D(Mf(a),function(a)\{switch(a.nodeName)\{case this.b.Wx:b=LU(a);break;case this.b.Vx:c=LU(a);break;case this.b.xw:d=LU(a);break;case this.b.ww:e=LU(a)\}\},this);\
|
|
return b&&c&&d&&e?new tX(b,c,d,e):null\};z(vX,mT);wX.prototype.b=\{$x:"TEMPLATE_PARAMETERS",ay:"TEMPLATE_URL"\};wX.prototype.parse=function(a)\{if(null==a)return null;D(Mf(a),function(a)\{switch(a.nodeName)\{case this.b.$x:yia(this,a)\}\},this);\
|
|
return new vX\};z(xX,mT);yX.prototype.b=\{mx:"Line1",ox:"Line2",qx:"Line3",jx:"ImageUrl"\};yX.prototype.parse=function(a)\{if(null==a)return null;var b,c,d,e;D(Mf(a),function(a)\{switch(a.nodeName)\{case this.b.mx:b=LU(a,!0);break;case this.b.ox:c=LU(a,!0);break;case this.b.qx:d=LU(a,!0);break;case this.b.jx:e=LU(a)\}\},this);\
|
|
return new xX(b,c,d,e)\};z(zX,mT);AX.prototype.parse=function(a)\{if(null==a)return null;var b;D(Mf(a),function(a)\{switch(a.nodeName)\{case "ViralExtensionData":a=a.getAttribute("query_id"),A(B(a))||(b=a)\}\},this);\
|
|
return new zX(b)\};z(BX,mT);z(CX,oX);var Bsa=["menu","got_it","targeting_reason_header"],Csa=[["generic_message_left","generic_message_hypertext","generic_message_right"]];CX.prototype.parse=function(a)\{if(null==a)return null;a=pX(this,a);var b=a.UI;if(!DX(b,Bsa))return null;var c,d=!0,e=!1;D(Csa,function(a)\{zia(b,a)&&(DX(b,a)?e=!0:d=!1)\});\
|
|
var f=b.targeting_reason;if(!d||!e||0==f.length)return null;null!=b.generic_message_left&&(c=[b.generic_message_left,b.generic_message_hypertext,b.generic_message_right]);return new BX(b.menu,b.targeting_reason_header,b.targeting_reason,b.got_it,a.CustomTracking,c,b.control)\};EX.prototype.parse=function(a)\{if(null==a)return null;a=a.getAttribute("sequence");a=null!=a?Va(a):window.NaN;a=(0,window.isNaN)(a)?-1:a;return new $U(a)\};z(FX,mT);GX.prototype.parse=function(a)\{return null!=a?new FX:null\};HX.prototype.parse=function(a)\{if(null==a)return null;a=a.getAttribute("fallback_index");a=null!=a?Va(a):window.NaN;return new wU(a)\};z(IX,NT);IX.prototype.Kd=function()\{var a=this.G,a=null!=a&&"clicktag"==a.toLowerCase(),a=\{url:dM(B(this.B)),width:this.bb(),height:this.getHeight(),Kb:this.Td(),eg:this.yp||!a\},b=U.b()&&KQ(this.D,"hideMaster")?oT:Xga,a=mR(b,a);a.style.width=this.bb()+"px";a.style.height=this.getHeight()+"px";a.id=this.wa;D(a.getElementsByTagName("object"),this.Yf,this);D(a.getElementsByTagName("a"),this.Yf,this);return a\};z(JX,NT);JX.prototype.Kd=function()\{var a=K("DIV");a.innerHTML=this.B;this.Yf(a);return RT(this,a)\};z(KX,NT);KX.prototype.gc=function()\{var a=KX.L.gc.call(this);this.A&&(a=a.replace('src=""','src="'+dM(B(this.B))+'"'));return a\};\
|
|
KX.prototype.xm=function()\{var a=KX.L.xm.call(this);this.A&&(a=a.replace('src=""','src="'+dM(B(this.B))+'"'));return a\};\
|
|
KX.prototype.Kd=function(a)\{var b="";this.A||(b=dM(B(this.B)));b=\{id:this.wa,url:b,Kb:this.Td(),width:this.bb()+"px",height:this.getHeight()+"px"\};a=U.b()&&KQ(this.D,"hideMaster")?oT:a?Zga:Yga;a=mR(a,b);D(a.getElementsByTagName("a"),this.Yf,this);return a\};\
|
|
KX.prototype.wh=function()\{return!0\};z(LX,NT);LX.prototype.Kd=function()\{var a=B(this.B);A(B(this.Td()))||(a=new L(a),mh(a,"clickTAG",va(this.Td())),a=a.toString());var b=K("IFRAME",\{marginwidth:0,marginheight:0,hspace:0,vspace:0,frameborder:0,scrolling:"no"\},null);b.height=this.getHeight();"Text"!=this.yc()&&(b.width=this.bb());b.setAttribute("src",dM(a));this.Yf(b);return RT(this,b)\};OX.prototype.yc=function()\{return null!=this.b?LT[this.b]||"Other":null\};PX.prototype.hc=function()\{return this.b\};\
|
|
PX.prototype.update=function(a,b)\{var c=null!=this.D?kT(this.D):0;this.g=0<=this.g?this.g:b;c<=a&&c+this.g>=a?Cia(this):S(this.b,!1)\};z(QX,EW);\
|
|
QX.prototype.b=\{mw:"Ad",wk:"AdParameters",pw:"AdSystem",qw:"AdTitle",aK:"Advertiser",uw:"AltText",zw:"ClickThrough",Aw:"ClickTracking",Bw:"Companion",Cw:"CompanionAds",Dw:"CompanionClickThrough",Ew:"CompanionClickTracking",Gw:"Creative",JL:"CreativeExtensions",Hw:"Creatives",Lw:"CustomClick",Nw:"Description",zk:"Duration",ERROR:"Error",Tw:"Extension",Uw:"Extensions",oi:"HTMLResource",Zw:"Icon",$w:"Icons",ax:"IconClicks",bx:"IconClickThrough",fx:"IconClickTracking",gx:"IconViewTracking",ri:"IFrameResource",si:"Impression",\
|
|
TM:"InLine",LINEAR:"Linear",wx:"MediaFile",xx:"MediaFiles",Ex:"NonLinear",Fx:"NonLinearAds",Gx:"NonLinearClickThrough",Hx:"NonLinearClickTracking",OO:"Pricing",ti:"StaticResource",Yx:"Survey",eQ:"Tracking",Jk:"TrackingEvents",uQ:"VAST",gy:"VASTAdTagURI",hy:"VideoClicks",ky:"Wrapper"\};\
|
|
QX.prototype.g=\{ow:"adSlotID",tw:"allowMultipleAds",ji:"apiFramework",po:"bitrate",Iw:"creativeType",Mw:"delivery",zk:"duration",rM:"event",Xw:"followAdditionalWrappers",Rw:"expandedHeight",Sw:"expandedWidth",ni:"height",pi:"id",rx:"maintainAspectRatio",vx:"maxBitrate",Ax:"minBitrate",Bx:"minSuggestedDuration",Ix:"offset",Jx:"program",Nx:"required",Rx:"scalable",Ro:"sequence",Tx:"skipoffset",Zo:"type",VERSION:"version",iy:"codec",wi:"width",my:"xPosition",qy:"yPosition"\};\
|
|
QX.prototype.o=function()\{return new FW(this.A,Fia(this),null)\};z(ZX,EW);ZX.prototype.o=function()\{return new FW(this.g,null,Yia(this))\};h=bY.prototype;\
|
|
h.clone=function()\{var a=new bY;"auto"==this.Pf?a.Pf="auto":"click"==this.Pf&&(a.Pf="click");a.b=this.b;a.sf=hc(this.sf);a.g=this.g;a.Di=this.Di;a.A=this.A;a.Eb=hc(this.Eb);a.B=this.B;a.location=this.location;a.referrer=this.referrer;a.D=this.D;a.language=this.language;a.xg=this.xg;a.wg=this.wg;a.qd=this.qd;a.pd=this.pd;a.$c=this.$c;a.Pj=this.Pj;a.fj=this.fj;a.Bi=this.Bi;a.nn=this.nn;a.o=this.o;a.Rh=this.Rh;a.ej=this.ej;a.afcRmFallback=this.afcRmFallback;a.G=this.G;a.F=this.F;a.jg=this.jg;a.$j=this.$j;\
|
|
a.tr=this.tr;return a\};\
|
|
h.sf=null;h.Di=null;h.Eb=null;h.Pf="unknown";h.tr=0;h.xg=0;h.wg=0;h.qd=0;h.pd=0;h.jg=!1;h.$c=null;h.Pj=!1;h.fj=!1;h.Bi=!1;h.nn=!0;h.$j=new RL;h.Rh=0;h.Pp=!0;h.ej=null;h.afcRmFallback=!1;cY.prototype.F=function()\{var a=this.A(this.B());return Bd(a)?a.then(function(a)\{return a.toString()\}):a instanceof Error?a:a.toString()\};\
|
|
cY.prototype.C=function()\{var a;a=1;HM()&&(a+=4);if(!U.b())\{var b=0;ZL(XL(),41351017)&&(b+=7168);a+=b\}return a\};\
|
|
cY.prototype.A=v;cY.prototype.B=v;var EY=\{kQ:"ultrahigh",JM:"high",yx:"medium"\},ija=\{xK:1E3,yK:1001,zK:1002,AK:1003,BK:1004,CK:1005,DK:1006\},jja=\{tx:1,Vw:2\},kja=\{CL:"content",uP:"site",vP:"site_content"\};h=iY.prototype;h.xi="high";h.rm=!1;h.Lk=1;h.Mk=null;h.adType="video";h.adBlock=1;h.sm=null;h.Qk=!0;h.Rk=null;h.nl=null;h.lh=null;h.experimentIds=null;h.gender=null;h.host=null;h.hostTierId=null;h.isLiveStream=!1;h.language=null;h.Yq=null;h.Xq=null;h.uj=1E5;h.vj=null;h.$q=null;h.Zq=null;h.Jm=0;h.Hg=null;h.Ej=null;h.Kj=null;\
|
|
h.targeting=null;h.tagForChildDirectedTreatment=-1;h.url=null;h.mj=null;h.Bn=null;h.tm=null;h.Hn=null;h.En=null;h.Fn=null;h.Gn=null;h.Yk=null;h.An=null;h.Zj=null;var mY=(new Date).getTime();var gja=\{fL:"bumpervideo",Ww:"flash",IMAGE:"image",AP:"skippablevideo",EP:"standardvideo",HP:"staticimage",TEXT:"text",VIDEO:"video"\},wY=["flash","image","staticimage"],hja=[new jf(200,200),new jf(250,250),new jf(300,250),new jf(336,280),new jf(450,50),new jf(468,60),new jf(480,70),new jf(728,90)];z(FY,cY);var lja=["bumpervideo","skippablevideo","standardvideo","video"];FY.prototype.D=\{rw:"allow",Pw:"exclude",$O:"require"\};FY.prototype.C=function()\{var a=FY.L.C.call(this);U.b()&&this.b.Kj&&(a|=this.b.Kj);return a\};\
|
|
FY.prototype.A=function(a)\{var b=new L(this.g.b),c=new L("//"+b.g+b.o),b=a.Ua();D(b,function(b)\{mh(c,b,a.get(b))\});\
|
|
ch(c,"https");return c\};\
|
|
FY.prototype.B=function()\{var a=new Bg;a.set("sdkv",hY(this));a.set("sdki",this.C().toString(16));a.set("video_product_type",null!=this.b.Hg?U.b()?5:ta(this.b.Hg,"ca-games-")?4:ta(this.b.Hg,"ca-video-")?0:-1:-1);a.set("correlator",this.G.b);a.set("client",this.b.Hg);U.b()&&!A(B(this.b.url))?a.set("url",this.b.url):a.set("url",this.g.location?this.g.location:this.g.referrer);null!=this.g.$c&&a.set("adk",this.g.$c);a.set("num_ads",GY(this));a.set("channel",nja(this));a.set("output","xml_vast3");this.b.rm&&\
|
|
a.set("adtest","on");GQ&&a.set("flash",jO);vY("alternate_ad_url",this.b.Rk,a);vY("cpm",this.b.nl,a);lY(a,this.g);U.b()||Vb(EY,this.b.xi)&&a.set("adsafe",this.b.xi);this.b.host&&(a.set("host",this.b.host),vY("ht_id",this.b.hostTierId,a),null!=this.b.o&&vY("h_ch",this.b.o.join("+"),a));vY("hl",this.b.language,a);vY("cust_age",this.b.sm,a);vY("cust_gender",this.b.gender,a);-1!=this.b.tagForChildDirectedTreatment&&vY("tfcd",this.b.tagForChildDirectedTreatment,a);vY("slotname",this.b.Mk,a);if(qY(this.b)&&\
|
|
(a.set("ea","0"),null!=this.g.qd&&null!=this.g.pd))\{var b=rY(this.b,this.g.qd,this.g.pd,this.g.jg);a.set("image_size",b);A(b)&&(this.b.b=yY(this.b.b,this.b.adType,!0),this.b.adType=this.b.b.join("_"))\}a.set("ad_type",this.b.adType);b=$L(XL());A(B(b))||a.set("eid",b);nY(a);b=this.g.A||this.b.lh;XL().b.Z("no_ad_block_param")||kY(a,this.G,this.b,b);a.set("unviewed_position_start","1");b=this.b.Lk;a.set("videoad_start_delay",null!=b?b:1);fY(this,a);gY(this,a);dY(this,a);mja(this)&&a.set("video_format",\
|
|
null!=this.b.mj&&U.b()?this.b.mj:em&&Jz(6)||qA&&Jz(4)||BM(2.3)?43:18);a.set("t_pyv",null!=this.b.Ej?this.b.Ej:ib(this.b.adType.split("_"),"text")?this.D.rw:this.D.Pw);vY("min_ad_duration",this.b.Jm,a);0<this.b.uj&&a.set("max_ad_duration",Math.round(1.1*(this.b.uj||0)+0*GY(this)));0<this.b.vj&&a.set("sdmax",Math.round(1.1*(this.b.vj||0)+0*GY(this)));sY(a,this.H);U.b()&&(b=XQ(this.b.lh),null!=b&&a.set("video_doc_id","yt_"+b));vY("description_url",this.b.lh,a);U.b()&&(vY("lact",oY(this.g),a),vY("loeid",\
|
|
this.b.tm,a),vY("lsv",this.b.isLiveStream,a),this.b.Qk||vY("scs","false",a),vY("targeting",this.b.targeting,a),vY("video_cpm",this.b.Bn,a),vY("yt_pt",this.b.Hn,a),vY("ytdevice",this.b.En,a),vY("ytdevicever",this.b.Fn,a),vY("yt_vis",pY(this.g),a),vY("dbp",this.b.Gn,a),vY("avo",this.b.Yk,a),vY("v_p",this.b.An,a));null!=a.get("ms")||vY("ms",this.b.A,a);eY(a);tY(this.g,a,!1);null!=this.g.sf&&vY("loc",this.g.sf.page_location,a);return a\};z(HY,cY);HY.prototype.A=function(a)\{var b=new L(this.g.b);D(a.Ua(),function(c)\{A(a.get(c))?b.b.remove(c):mh(b,c,a.get(c))\});\
|
|
ch(b,"https");return b\};\
|
|
HY.prototype.B=function()\{var a=new Bg;a.set("sdkv",hY(this));gY(this,a);dY(this,a);eY(a);null!=this.g.$c&&a.set("adk",this.g.$c);return a\};z(IY,cY);IY.prototype.B=function()\{return new Bg\};\
|
|
IY.prototype.A=function()\{var a=new zU(this.g.b),b=hY(this);b&&AU(a,"dc_sdkv",[b]);(b=this.C().toString(16))&&AU(a,"dc_sdki",[b]);(b=this.o.H)&&AU(a,"dc_submodel",[b]);null!=this.g.$c&&AU(a,"dc_adk",[this.g.$c]);b=new Bg;fY(this,b);gY(this,b);dY(this,b);eY(b);Dg(b,"js")&&AU(a,"dc_js",[b.get("js")]);Dg(b,"msid")&&AU(a,"dc_msid",[b.get("msid")]);Dg(b,"frm")&&AU(a,"dc_frm",[b.get("frm")]);Dg(b,"osd")&&AU(a,"dc_osd",[b.get("osd")]);Dg(b,"sdr")&&AU(a,"dc_sdr",[b.get("sdr")]);AU(a,"dcmt",["text/xml"]);\
|
|
Dg(b,"vpa")&&AU(a,"vpa",[b.get("vpa")]);Dg(b,"mpt")&&AU(a,"mpt",[b.get("mpt")]);Dg(b,"mpv")&&AU(a,"mpv",[b.get("mpv")]);ch(a,"https");return a\};z(JY,cY);JY.prototype.A=function(a)\{a=new L(a.get("adTagUrl"));ch(a,"https");return a\};\
|
|
JY.prototype.F=function()\{var a=B(this.B().get("adTagUrl"));return a=a.replace(/^http:/i,"https:")\};\
|
|
JY.prototype.B=function()\{var a=new Bg;a.set("adTagUrl",this.g.b);a.set("adsResponse",this.g.g);return a\};z(KY,cY);KY.prototype.A=function(a)\{return new L(a.get("adTagUrl"))\};\
|
|
KY.prototype.B=function()\{var a=new Bg;a.set("adTagUrl",this.g.b);a.set("adsResponse",this.g.g);return a\};z(LY,cY);LY.prototype.A=function(a)\{var b=new L(this.g.b);D(a.Ua(),function(c)\{A(a.get(c))?b.b.remove(c):mh(b,c,a.get(c))\});\
|
|
ch(b,"https");return b\};\
|
|
LY.prototype.B=function()\{var a=new Bg,b=$L(XL());A(B(b))||a.set("eid",b);a.set("sdkv",hY(this));a.set("sdki",this.C().toString(16));a.set("correlator",this.o.B);a.set("scor",this.o.b);null!=this.g.$c&&a.set("adk",this.g.$c);fY(this,a);gY(this,a);dY(this,a);eY(a);var b=(new L(this.g.b)).b,c=new iY;c.g=CY(c.g,b.get("overlay"));a.set("afvsz",rY(c,this.g.qd,this.g.pd,this.g.jg));b=this.o.A;null!=b&&(this.o.A=null,a.set("fbidx",b));b=this.o.N;null!=b&&a.set("ppid",b);b="null";c=this.o.g;null!=c?b=c:MY(this.g.location)?\
|
|
b=this.g.location:MY(this.g.referrer)&&(b=this.g.referrer);a.set("url",b);b=this.o.H;null!=b&&a.set("submodel",b);b=this.o.G;null==b||U.b()||(b=oja(b),a.set("ciu_szs",b));a.set("impl","");a.set("unviewed_position_start","1");return a\};z(NY,LY);NY.prototype.A=function(a)\{a=NY.L.A.call(this,a);this.G||qja(this,a);return a\};z(OY,IY);OY.prototype.A=function(a)\{a=OY.L.A.call(this,a);this.G||sja(this,a);return a\};z(PY,cY);var uja="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(" ");PY.prototype.A=function()\{if(!/\\[BISCOTTI_ID\\]/.test(this.g.b))return QY(this);var a=this.g.Di;return Bd(a)?a.then(function(a)\{return QY(this,a)\},function(a)\{throw mM(F$,a);\
|
|
\},this):a instanceof Error?mM(F$,a):QY(this,a)\};\
|
|
PY.prototype.B=function()\{return new Bg\};SY.prototype.fetch=function(a,b,c)\{A(B(a.g))?GU(a.b)&&null!=this.b&&!this.b.F?this.b.start(a,x(function()\{UY(this,a,b,c)\},this)):UY(this,a,b,c):Cja(this,a,b,c)\};\
|
|
SY.prototype.g=function(a,b,c,d)\{var e=wja(a,this.A).F();Bd(e)?e.then(function(e)\{WY(this,e,a,b,c,d)\},function(a)\{a instanceof KL?c(a):c(mM(VY,a))\},this):e instanceof KL?c(e):e instanceof Error?c(mM(VY,e)):WY(this,e,a,b,c,d)\};XY.prototype.reset=function(a)\{this.b=a+C()\};z($Y,I);$Y.prototype.B=function()\{ZL(XL(),31061782)&&iM.Lj(this.C,!0)\};var Dsa=\{NORMAL:"normal",Ak:"fullscreen"\};z(fZ,F);h=fZ.prototype;h.vh=!1;h.Qq=1E3;h.wr=30;h.xr=45E3;h.Zs=15E3;h.lu=!1;h.kl=function()\{var a=gZ(this);this.b.appendChild(this.H);hZ(this.H);this.play();return a\};\
|
|
h.ma=function()\{null==this.K&&(this.K=this.kl());return this.K\};\
|
|
h.play=function()\{null==this.g&&(this.g=de(function()\{this.vh||(this.Pq(),this.lu=!0);this.g=null\},this.lu?this.Zs:this.xr,this))\};\
|
|
h.stop=function()\{null!=this.g&&(ee(this.g),this.g=null)\};\
|
|
h.show=function()\{ct(this.ma(),1);null!=this.o&&(ee(this.o),this.o=null)\};\
|
|
h.Pq=function()\{ct(this.ma(),this.wr/100);null==this.o&&(this.o=de(function()\{this.R();this.o=null\},400,this))\};\
|
|
h.EA=function()\{this.show();this.vh=!0;this.C=de(function()\{this.vh&&this.stop();this.C=null\},this.Qq,this)\};\
|
|
h.KG=function()\{null!=this.C&&(ee(this.C),this.C=null);this.vh&&this.play();this.vh=!1\};\
|
|
h.T=function()\{fZ.L.T.call(this);this.stop();Nb(this.Qd)\};z(iZ,fZ);h=iZ.prototype;h.kl=function()\{var a=gZ(this);J(a,"ima-container-rotator");this.F=K("DIV");this.b.appendChild(this.F);D(this.J,function(a,c)\{J(a,"ima-container-highlight");var b=63/this.J.length*(c+.5)-5,e=K("DIV",\{id:Ua(),"class":"ima-container-selector"\});e.style.top=b+"px";this.Qd.O(e,"click",function(a)\{this.Mg(a.target)\});\
|
|
this.N.set(e.id,a);this.D.appendChild(e)\},this);\
|
|
this.Mg(Of(this.D));this.play();return a\};\
|
|
h.play=function()\{null==this.A&&(this.A=new be(this.M),this.Qd.O(this.A,"tick",this.iG));iZ.L.play.call(this);this.A.start()\};\
|
|
h.stop=function()\{null!=this.A&&this.A.stop();iZ.L.stop.call(this)\};\
|
|
h.iG=function()\{var a=this.B;this.Mg((p(a.nextElementSibling)?a.nextElementSibling:Nf(a.nextSibling))||Of(this.B.parentNode))\};\
|
|
h.Mg=function(a)\{this.B&&me(this.B,"ima-container-active");J(a,"ima-container-active");var b=this.N.get(a.id);Kf(b,this.F);this.B=a;this.F=b;hZ(b)\};z(jZ,fZ);jZ.prototype.Pq=r;jZ.prototype.kl=function()\{var a=gZ(this);D(this.A,function(a)\{J(a,"ima-container-highlight");this.b.appendChild(a);hZ(a)\},this);\
|
|
this.play();return a\};z(kZ,xt);h=kZ.prototype;h.play=function()\{if(this.Wa())return!1;this.xj();this.Sc("play");this.startTime=C();this.b=1;if(lsa())return Is(this.g,this.D),this.A=de(this.Bz,void 0,this),!0;this.mn(!1);return!1\};\
|
|
h.Bz=function()\{at(this.g);zv(this.g,this.C);Is(this.g,this.o);this.A=de(x(this.mn,this,!1),1E3*this.B)\};\
|
|
h.stop=function()\{this.Wa()&&this.mn(!0)\};\
|
|
h.mn=function(a)\{Is(this.g,"transition","");ee(this.A);Is(this.g,this.o);this.endTime=C();this.b=0;a?this.Sc("stop"):this.Bc();this.Ah()\};\
|
|
h.T=function()\{this.stop();kZ.L.T.call(this)\};\
|
|
h.pause=function()\{\};z(oZ,I);h=oZ.prototype;h.start=function()\{this.im();this.o=0;pZ(this);this.g=!0;this.B.start()\};\
|
|
h.play=function()\{this.g||(pZ(this),this.g=!0,this.B.start())\};\
|
|
h.pause=function()\{this.g&&pZ(this)\};\
|
|
h.stop=function()\{this.g&&pZ(this);this.dispatchEvent("end")\};\
|
|
h.im=function()\{\};\
|
|
h.rE=function()\{this.o+=.2;this.hm(this.o,this.K);this.dispatchEvent("timeUpdate");0>=this.K-this.o&&this.stop()\};\
|
|
h.hm=r;h.T=function()\{this.g=!1;this.H.dispose();oZ.L.T.call(this)\};z(rZ,I);rZ.prototype.C=function()\{this.b?this.dispatchEvent("videoUnmuteClicked"):this.dispatchEvent("videoMuteClicked")\};\
|
|
rZ.prototype.T=function()\{this.B.dispose();this.B=null;rZ.L.T.call(this)\};z(sZ,I);sZ.prototype.T=function()\{null!=this.b&&(Jf(this.b),this.b=null);sZ.L.T.call(this)\};\
|
|
sZ.prototype.update=function(a,b)\{0>=b||(0>a?this.B=1:1==this.B?(mZ(this.b,.5).play(),S(this.b,!0),this.B=2):5<a&&this.H&&(this.H=!1,S(this.A,!1),this.o=!1))\};\
|
|
sZ.prototype.J=function()\{this.o||(S(this.A,!0),this.o=!0)\};var Vja=/#(.)(.)(.)(.)/,Uja=/^#(?:[0-9a-f]\{4\})\{1,2\}$/i;z(wZ,I);h=wZ.prototype;h.T=function()\{null!=this.H&&(this.H.dispose(),this.H=null);null!=this.J&&(this.J.dispose(),this.J=null);yZ(this);null!=this.B&&(Jf(this.B),this.B=null);null!=this.b&&(this.b=null);null!=this.g&&(Jf(this.g),this.g=null);this.M.dispose();this.M=null;this.D.dispose();this.D=null;this.ba=!1;wZ.L.T.call(this)\};\
|
|
h.update=function(a,b)\{this.X=b;if(!(0>=this.X||null==this.o.skipOffset||0>kT(this.o.skipOffset)))\{var c=kT(this.o.skipOffset);c>=this.X||3==this.A||(0>a?this.A=1:a<=c?(2!=this.A&&(xZ(this,0),mZ(this.B,.5).play(),S(this.B,!0)),this.A=2):(3!=this.A&&(S(this.g,!0),this.J=new kZ(this.B,.5,\{opacity:1,visibility:"shown"\},\{opacity:.9,visibility:"hidden"\},\{property:"opacity",duration:.5,timing:"ease-out",delay:0\}),this.H=mZ(this.g,.5),this.J.play(),this.H.play(),this.b.autofocus&&this.b.focus(),this.D.O(Qf(this.g),\
|
|
"mouseover",this.eG),this.D.O(Qf(this.g),"mouseout",this.Pt),this.Pt()),this.A=3,this.dispatchEvent("skipshown")))\}2==this.A&&xZ(this,a)\};\
|
|
h.skip=function()\{return null==this.o.skipOffset||3!=this.A||this.N?!1:(this.N=!0,this.dispatchEvent("PUBLISHER_INVOKED_SKIP"),!0)\};\
|
|
h.BG=function(a)\{U.b()||a.stopPropagation();3!=this.A||this.N||(this.N=!0,this.dispatchEvent("skip"))\};\
|
|
h.Pt=function()\{null==this.F&&"4.4.4"!==(SA?DM(AM):"")&&(this.F=de(function()\{this.ba=!0;lZ(this.g,.5,"ease-in",1,.5).play();this.F=null\},this.ba?5E3:15E3,this))\};\
|
|
h.eG=function()\{ct(this.g,1);yZ(this)\};z(CZ,I);h=CZ.prototype;h.show=function()\{null!=this.g&&S(this.g,!0)\};\
|
|
h.skip=function()\{var a;if(a=null!=this.A)a=this.A,a=null!=a.o.skipOffset&&3==a.A;return a?this.A.skip():!1\};\
|
|
h.T=function()\{null!=this.g&&(Jf(this.g),this.g=null);DZ(this);D(this.X,function(a)\{a.Lb()\});\
|
|
this.X=[];this.B=null;this.o.dispose();this.o=null;this.na=!1;CZ.L.T.call(this)\};\
|
|
h.update=function(a,b,c,d,e)\{this.na=!0;null!=this.g&&(null!=this.ha&&Zja(this,a,c,d,e),null!=this.da&&Ys(this.da,a/c*100+"%"),null!=this.qa&&Ys(this.qa,b/c*100+"%"),0<c&&null!=this.b.skipOffset&&null!=this.A&&(jT(this.b.skipOffset,c),this.A.update(a,c)),0<c&&null!=this.F&&this.F.update(a,c),this.b.G&&0<c&&5>c-a&&J(this.aa,"videoAdUiTopBarNoFade"),D(this.Ia,function(b)\{b.update(a,c)\},this))\};\
|
|
h.Cy=function()\{this.dispatchEvent("videoAuthorIconClicked")\};\
|
|
h.Dy=function()\{this.dispatchEvent("videoAuthorClicked")\};\
|
|
h.rr=function()\{this.dispatchEvent("videoLearnMoreClicked")\};\
|
|
h.yG=function()\{this.dispatchEvent("videoShareClicked")\};\
|
|
h.IG=function()\{this.dispatchEvent("videoTitleClicked")\};\
|
|
h.fB=function(a)\{a.preventDefault()\};\
|
|
h.Yj=function()\{this.dispatchEvent("click")\};\
|
|
h.xG=function()\{J(this.aa,"videoAdUiTopBarTransitions")\};\
|
|
h.OF=function()\{var a=$f(this.g,"html5-video-player");if(null!=a)\{var b=this.b.C;null!=a&&(b.A=new Fm(b),b.g=new I,b.g.Of(this),b.C=a,b.Ps(),b.g.dispatchEvent("why_this_ad_url"));null!=this.A&&zZ(this.A,!1);null!=this.F&&(a=this.F,null!=a.g&&(S(a.g,!1),a.o=!0))\}\};\
|
|
h.QG=function()\{null!=this.A&&zZ(this.A,!0);if(null!=this.F)\{var a=this.F;null!=a.g&&(S(a.g,!0),a.o=!0)\}\};h=HZ.prototype;\
|
|
h.Ps=function()\{var a=\{heading:"",targetingReasons:[],learnMore:"",vl:"",control:"",mute:""\};if(null!=this.B)\{a.heading=this.B.B;var b=this.B.g;if(b&&3==b.length)\{var c=b[1],d=b[2],b=sR(X(b[0])+XR()+X(c)+sR("</a>")+X(d));a.vl=b\}a.targetingReasons=sb(this.B.C);a.close=this.B.o\}else a.vl=YR(),a.close="Got It";null!=this.o&&(a.mute=this.o.A);JZ(this,Mga,a);IZ(this,"videoAdUiWhyThisAdCloseButton",this.Ji);IZ(this,"videoAdUiWhyThisAdControl",this.Op);IZ(this,"videoAdUiWhyThisAdMute",this.MF);a=sf("videoAdUiWhyThisAdGenericMessage",\
|
|
this.b);null!=a&&(a=a.getElementsByTagName("A")[0],null!=a&&this.A.O(a,"click",this.Op))\};\
|
|
h.Ji=function()\{null!=this.A&&(this.A.dispose(),this.A=null);AZ(this)&&null!=this.b&&(null!=this.g&&(this.g.dispatchEvent("why_this_ad_got_it"),this.g.dispose(),this.g=null),this.b.parentElement.removeChild(this.b),this.b=null)\};\
|
|
h.Op=function()\{null!=this.g&&this.g.dispatchEvent("why_this_ad_settings_url")\};\
|
|
h.MF=function()\{if(null!=this.o)\{this.g.dispatchEvent("mute_interaction_url");var a,b=rX(this.o);if(0==b)a=\{heading:"",message:"Are you sure you want to stop seeing this ad?",confirm:"YES",cancel:"CANCEL"\},JZ(this,Oga,a),IZ(this,"videoAdUiMuteCancel",this.Ps),IZ(this,"videoAdUiMuteConfirm",this.Ty);else\{this.g.dispatchEvent("mute_url");a=\{heading:this.o.o,undo:this.o.C,question:this.o.B,options:[],confirm:"SEND",cancel:"CLOSE"\};var c;c=this.o?(c=gT(this.o.b,"mute_undo_url"))&&0<c.length:!1;c||(a.undo=\
|
|
"");for(c=0;c<b;c++)a.options.push(this.o.g[c].label);JZ(this,Nga,a);IZ(this,"videoAdUiMuteUndo",this.JG);IZ(this,"videoAdUiMuteConfirm",this.DG);IZ(this,"videoAdUiMuteCancel",this.il)\}\}\};\
|
|
h.Ty=function()\{this.g.dispatchEvent("mute_url");this.il()\};\
|
|
h.JG=function()\{this.g.dispatchEvent("mute_undo_url");this.Ji()\};\
|
|
h.DG=function()\{if(null!=this.o)\{for(var a=rX(this.o),b=!1,c=0;c<a;c++)\{var d=sf("videoAdUiMuteOption"+c,this.b);if(null!=d&&d.checked)\{b=!0;fM(this.o.g[c].url);break\}\}if(!b)return\}this.il()\};\
|
|
h.il=function()\{this.g.dispatchEvent("MUTE_AD");this.Ji()\};z(NZ,oZ);h=NZ.prototype;h.start=function()\{this.im();this.A.update(0,this.G);mZ(this.b,this.F.o).play();this.H.O(this.A,"skip",this.yy);NZ.L.start.call(this)\};\
|
|
h.im=function()\{var a=at(this.b);if(1==this.D)\{var b=400>=(0,window.parseInt)(Ls(this.b,"width"),10)||400>=a.width;oe(this.b,"videoAdUi-mobile",b)\}else if(2==this.D)\{var c=Of(this.b),d=at(c),e=65>=(a.height-d.height)/2;oe(this.b,"fullslotAdUi-mobile",e);b=165>=(a.width-d.width)/2;oe(this.b,"videoAdUi-mobile",b&&e);c.style.top=Math.max(5,Math.floor((a.height-d.height-65)/2))+"px"\}\};\
|
|
h.yy=function()\{this.pause();this.dispatchEvent("skip")\};\
|
|
h.hm=function(a,b)\{this.A.update(a,b);if(this.C)\{var c=nZ(\{Ug:MZ(b-a)\});Tf(this.C,c)\}\};\
|
|
h.T=function()\{this.A&&this.A.dispose();Hf(this.b);NZ.L.T.call(this)\};z(OZ,F);OZ.prototype.H=function(a,b)\{var c=hc(b||\{\});if("timeout"==(c.viewability||""))\{var d=this.F[a];null!=d&&(c.viewability=d)\}if("impression"==a&&!this.G&&null!=this.C&&0<this.C.length)\{var d=U.D&&ib(this.D,"impression"),e=QZ(this,this.C,c);RZ(this,e,d);this.G=!0\}bka(this,a)&&(e=lT(this.o,a),0<e.length&&(d=U.D&&ib(this.D,a),c=QZ(this,e,c),RZ(this,c,d),this.g.set(a,!0)))\};z(SZ,I);SZ.prototype.o=function(a)\{switch(a.type)\{case "companion_impression":this.dispatchEvent(new ML("companionImpression",this.b));break;case "companion_click":this.dispatchEvent(new ML("companionClick",this.b))\}\};z(TZ,I);h=TZ.prototype;h.Gh=function()\{var a=gb(this.ads,this.H);-1!=a&&++a<this.ads.length?XZ(this,this.ads[a]):XZ(this,null)\};\
|
|
h.Ym=function(a,b)\{this.ads[gb(this.ads,a)]=b;XZ(this,b)\};\
|
|
h.vt=function()\{if(!UZ(this))\{if(kb(this.ads))throw nM(eZ);XZ(this,this.ads[0]);if(null==this.H.b)throw mM(eZ);\}\};\
|
|
h.ka=function(a,b)\{var c=UZ(this)?Z(this):null;this.dispatchEvent(new ML(a,c,b))\};\
|
|
h.IC=function()\{\};\
|
|
h.Pm=function()\{\};\
|
|
h.destroy=function()\{this.dispose()\};\
|
|
h.T=function()\{UZ(this)&&(iU(this.H,null),this.H=null);Nb(this.G);this.F=this.G=null;this.ga=!1;U.g?RQ(NQ(),this.qa):this.Ca&&(AW().D=null);TZ.L.T.call(this)\};\
|
|
h.ne=function()\{return[]\};\
|
|
h.Ab=function()\{return this.ads[0]\};\
|
|
h.init=function(a)\{e_(this);this.kj(a);this.Ha=!0;this.Eg();!U.g&&this.Ca&&(AW().D=this.qa)\};\
|
|
h.Eg=function()\{this.ka("loaded")\};\
|
|
h.Nf=function(a)\{UZ(this)&&U.b()&&jM(xV(Z(this)),a)\};\
|
|
h.Ft=r;\
|
|
h.Rc=function(a,b,c)\{if(!this.ga)\{if(null==a)throw nM(BQ,null,"displayContainer");if(null!=c)\{var d=new Bk(Yb(this.g)),e=Yb(c);a:\{var f=d.contains;if("function"==typeof e.every)d=e.every(f,d);else if(fa(e)||w(e))d=Vk(e,f,d);else\{for(var k=Gg(e),l=Fg(e),m=l.length,n=0;n<m;n++)if(!f.call(d,l[n],k&&k[n],e))\{d=!1;break a\}d=!0\}\}if(!d)throw nM(BQ,null,"opt_adsRenderingSettings should be instance of AdsRenderingSettings");d=this.g;if(null==c.bitrate||0>=c.bitrate)c.bitrate=-1;null==c.sh&&(c.sh=[]);eka(c.sh);\
|
|
if(!ha(c.Ud)||0>=c.Ud)c.Ud=15E3;kc(d,c)\}this.content=b;this.A=a;this.vt();this.b=this.A.gj(cka(this));this.ga=!0\}\};\
|
|
h.ue=function(a)\{a=KQ(mV(a),"rm")?a.J:xV(a);D(a,function(a)\{nb(this.B.C,a)\},this)\};\
|
|
h.$d=function(a,b)\{D(b,function(b)\{b=rT(a,b);hT(this.B.o,b)\},this)\};\
|
|
h.Ig=function(a)\{if(a instanceof uT)\{var b=vT(a);D(b.Ua(),function(a)\{var c=b.get(a);D(c,function(b)\{iT(this.B.o,a,b)\},this)\},this)\}\};\
|
|
h.getCurrentTime=function()\{return-1\};\
|
|
h.Wc=function()\{return-1\};\
|
|
h.Rd=function()\{return-1\};\
|
|
h.Wa=function()\{return null!=this.b?this.b.Wa():!1\};\
|
|
h.Xc=function(a,b,c)\{this.kj(c)\};\
|
|
h.pause=r;h.resume=r;h.skip=r;h.muteAd=r;h.whyThisAdClicked=r;h.whyThisAdClosed=r;h.start=function()\{e_(this);if(!this.Ha)throw mM(WZ,null,"Must call init before start.");\};\
|
|
h.stop=function()\{this.destroy()\};\
|
|
h.yg=function()\{return null!=this.volume?this.volume:0\};\
|
|
h.setVolume=function(a)\{((0,window.isNaN)(a)||0>a||1<a)&&pM(this,BQ,null,"volume",String(a));this.volume=a\};\
|
|
h.kj=function(a)\{if(!Vb(Dsa,a))throw nM(BQ,null,"view mode",a);this.J=a\};\
|
|
h.Gl=function()\{return null\};\
|
|
h.Nq=function()\{return null\};\
|
|
h.Kt=function()\{return null\};\
|
|
h.kg=function()\{return null\};\
|
|
h.Mf=function()\{c_(this,"abandon")\};\
|
|
h.xz=function()\{return\{currentTime:this.getCurrentTime(),duration:this.Wc(),isPlaying:this.Wa(),isVpaid:UZ(this)&&null!=eW(Z(this)),isYouTube:U.b(),volume:this.yg()\}\};\
|
|
h.aG=function(a)\{var b=rb(C$,Xb(E$));wb(b);D(b,function(b)\{var c=gT(a.b,b);kb(c)||this.Xm(b,c)\},this);\
|
|
aka(this.B,a.H)\};\
|
|
h.Xm=function(a,b)\{D(b,function(a)\{iT(this.B.o,a.Fb(),a.b)\},this)\};z(h_,TZ);h=h_.prototype;h.start=function()\{h_.L.start.call(this);this.A.Zc();this.D=this.A.Pd();if(null!=this.D)\{c_(this,"show_ad");Hf(this.D);var a=this.up();U.g?iga(NQ(),a):mia(AW(),a);this.D.appendChild(a);this.Hi();D(this.aa,function(a)\{a()\});\
|
|
lb(this.aa);this.N=!0\}\};\
|
|
h.Xc=function(a,b,c)\{h_.L.Xc.call(this,a,b,c);this.Hi()\};\
|
|
h.T=function()\{Nb(this.o);this.A=this.o=null;this.N=!1;U.g?NQ().B=null:AW().o=null;null!=this.D&&(Hf(this.D),this.D=null);h_.L.T.call(this)\};\
|
|
h.up=function()\{var a=Z(this).b;if(null==a)throw a=nM(eZ),j_(this,a),a;var b=Z(this);QT(a,$Z(this));OT(a,this.Ez);a.A||PT(a,qa(this.Wl,b,a));try\{b_(this,b)\}catch(d)\{throw j_(this,d),d;\}this.ue(b);var c=bU(b,this.b);this.B.b=c;b.b&&(this.ue(b),(b=b.b)&&this.$d(b,rsa));this.$d(a,["start"]);i_(this,a);return this.Ai([a.hc()])\};\
|
|
h.Oq=function(a,b)\{return new fZ(a[0],b)\};\
|
|
h.Ai=function(a)\{null!=this.o&&this.o.stop();this.o=this.Oq(a,x(this.Pi,this));a=this.o.ma();oe(a,"autoalign",this.g.pp);U.b()&&oe(a,"viewmode-fullscreen","fullscreen"==this.J);a.appendChild(this.ha);$Z(this).O(a,"click",nc);(UZ(this)&&nV(Z(this),UV)||this.g.hu)&&this.Uk(this.o.b);return a\};\
|
|
h.Uk=function(a)\{var b=$Z(this);this.X=mR(Qja);b.O(this.X,"click",this.$z);var c=mR(Pja,\{close:"Chiudi"\});b.O(c,"click",this.cj);J(a,"extra-padding");null!=this.ia&&728<=this.ia.bb()&&J(a,"wide-overlay-ad");a.appendChild(c)\};\
|
|
h.Hi=function(a,b)\{if(null!=this.o)\{var c=a?a:0,d=b?b:0,e=at(this.A.Pd()),f;f=U.b()?at(Of(this.o.b)):at(this.o.b);if(f.width+c>e.width||f.height+d>e.height)throw c=nM(usa,null),j_(this,c),d=\{\},d.pid=uW.getInstance().b,d.cz=f.width+"x"+f.height,d.sz=e.width+"x"+e.height,d.ct=Z(this).b.yc(),d.vm=this.J,SM(PM.getInstance(),38,d,!0),this.stop(),c;\}\};\
|
|
h.Ez=function(a)\{d_(this,"click");nc(a)\};\
|
|
h.cj=function()\{c_(this,"close");this.Pi(!0)\};\
|
|
h.Wl=function(a,b)\{PT(b,r);this.N?this.Dh(a,b):this.aa.push(x(this.Dh,this,a,b))\};\
|
|
h.Dh=function(a)\{a=bU(a,this.b);this.B.b=a;d_(this,"impression");c_(this,"creativeview");d_(this,"start")\};\
|
|
h.Pi=function(a)\{null!=this.o&&(this.o.stop(),null!=this.X&&Kf(this.X,this.o.b),a?this.ka("userClose"):this.ka("autoClose"))\};\
|
|
h.$z=function(a)\{nc(a);this.o.show();this.o.play();Kf(this.o.b,this.X);de(function()\{S(this.ha,!1)\},500,this);\
|
|
S(this.ha,!0);this.ka("userRecall")\};z(k_,h_);h=k_.prototype;h.Oq=function(a,b)\{if(this.R||null==b)b=r;var c;U.b()&&this.R?c=new fZ(a[0],b):1<a.length?m_(this)||"fullscreen"==this.J&&U.b()?c=new jZ(a):(c=new iZ(a),c.M=15E3):c=new fZ(a[0],b);c.Qq=100;this.R&&(c.wr=30);c.xr=45E3;c.Zs=6E3;oe(c.b,"scalable",this.R);oe(c.ma(),"yt-text-overlay",U.b()&&this.R);return c\};\
|
|
h.nG=function(a)\{var b=a.b;null!=b?(null==this.ea&&(this.ea=a.getExtension("AdSense").o),PT(b,qa(this.Wl,a,b)),OT(b,qa(this.Fz,a,b)),"Text"==b.yc()&&(this.R=!0),this.M.push(b)):(b=mM(eZ),b=aU(b,a),jM(wV(a),b))\};\
|
|
h.Rc=function(a,b,c)\{k_.L.Rc.call(this,a,b,c);this.g.pp=!0;a=Z(this);kb(yV(a))?U.b()&&this.ka("companionBackfill"):b_(this,a)\};\
|
|
h.up=function()\{null==this.M&&(this.M=[],D(this.ads,this.nG,this));if(0==this.M.length)throw nM(eZ);var a=[];D(this.M,function(b)\{QT(b,$Z(this));"Flash"!=b.yc()||b.jb().getExtension("TemplateAd")||(b.yp=!0);a.push(b.hc());eha(b,this.ea.D)\},this);\
|
|
if(0==a.length)throw nM(eZ);fka(this);return this.Ai(a)\};\
|
|
h.start=function()\{k_.L.start.call(this);!this.ca&&m_(this)&&(this.ca=!0,this.ka("contentPauseRequested"));null!=this.C&&this.C.start();if(this.N)\{var a=n_(this);SM(PM.getInstance(),33,a)\}\};\
|
|
h.cj=function(a)\{k_.L.cj.call(this,a);D(this.M,function(a)\{var b=bU(a.jb(),this.b);this.B.b=b;this.$d(a,["close"]);c_(this,"close");this.B=new OZ\},this)\};\
|
|
h.Pi=function(a)\{k_.L.Pi.call(this,a);m_(this)&&(null!=this.D&&Hf(this.D),this.ca&&(this.ca=!1,this.ka("contentResumeRequested")))\};\
|
|
h.Ai=function(a)\{a=k_.L.Ai.call(this,a);if(m_(this))\{var b=jY(2);J(this.o.b,b);J(a,b)\}return a\};\
|
|
h.Uk=function(a)\{if(m_(this))\{var b=Qf(a);b&&((a=Mf(a)[0])&&Is(a,\{margin:"0 auto"\}),a=this.ads[0].getExtension("AdSense").o||new PW,this.C=new NZ(b,a,2,l_(this),!0),$Z(this).O(this.C,"skip",this.eA),$Z(this).O(this.C,"end",this.PA))\}else k_.L.Uk.call(this,a),b=mR(Rja,l_(this)),a.appendChild(b)\};\
|
|
h.Wl=function(a,b)\{this.N?this.Dh(a,b):this.aa.push(x(this.Dh,this,a,b));PT(b,r);this.ka("impression")\};\
|
|
h.Dh=function(a,b)\{var c=bU(a,this.b);this.B.b=c;this.ue(a);this.$d(b,["creativeview"]);c_(this,"impression");c_(this,"creativeview");d_(this,"start");this.B=new OZ\};\
|
|
h.Fz=function(a,b,c)\{c=Ws(c);a=a.getExtension("AdSense");a=new L(a.A);var d=b.bb();(0,window.isNaN)(d)&&(d=at(b.hc()).width);var e=b.getHeight();(0,window.isNaN)(e)&&(e=at(b.hc()).height);b=XL();b=["0","aw="+d,"ah="+e,"nx="+c.x,"ny="+c.y,"viewMode="+this.J,"sdkv=h.0.0.0","eids="+$L(b)];U.b()||(c=at(this.A.Pd()),d=this.C?$ja(this.C):new gf(-1,-1),b=b.concat(["bw="+c.width,"bh="+c.height,"sx="+d.x,"sy="+d.y]));gM(a,"elementclick",b);D(this.M,function(a)\{var b=bU(a.jb(),this.b);this.B.b=b;i_(this,a);\
|
|
c_(this,"click");this.B=new OZ\},this);\
|
|
this.ka("click")\};\
|
|
h.kj=function(a)\{this.J!=a&&(k_.L.kj.call(this,a),this.ka("expandedChanged"))\};\
|
|
h.Hi=function()\{k_.L.Hi.call(this,this.C?15:0,this.C?65:0)\};\
|
|
h.eA=function()\{o_(this,"skip")\};\
|
|
h.PA=function()\{o_(this,"close")\};z(p_,mc);var q_=["classid","data","movie","type","typemustmatch"];z(r_,Px);h=r_.prototype;h.yi="sameDomain";h.setSize=function(a,b)\{this.G=w(a)?a:Math.round(a)+"px";this.D=w(b)?b:Math.round(b)+"px";this.ma()&&Zs(s_(this),this.G,this.D);return this\};\
|
|
h.hg=function()\{r_.L.hg.call(this);for(var a=this.ma(),b=this.g.Ua(),c=this.g.Ra(),d=[],e=0;e<b.length;e++)d.push(va(b[e])+"="+va(c[e]));var b=d.join("&"),f;if(xf&&!Bc(11))\{d=this.J;c=\{allowFullScreen:"true",AllowScriptAccess:this.yi,allowNetworking:"all",bgcolor:"#000000",FlashVars:b,quality:"high",SeamlessTabbing:"false",wmode:"window"\};b=\{"class":"goog-ui-media-flash-object",id:this.getId(),name:this.getId()\};gka(b,c);e=\{allownetworking:"none",allowscriptaccess:"never",movie:d\};d=\{\};for(f in e)d[f]=\
|
|
e[f];for(f in c)\{var k=f.toLowerCase();k in e&&delete d[k];d[f]=c[f]\}c=[];for(f in d)c.push(Ze("param",\{name:f,value:d[f]\}));f=$e(\{classid:"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"\},\{\},b);f=Ze("object",f,c)\}else f=\{AllowScriptAccess:this.yi,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:"window"\},f=$e(\{src:this.J,type:"application/x-shockwave-flash",pluginspage:"https://www.macromedia.com/go/getflashplayer"\},\
|
|
\{allownetworking:"none",allowscriptaccess:"never"\},f),f=Ze("embed",f);a.innerHTML=Qe(f);this.G&&this.D&&this.setSize(this.G,this.D);this.o.O(this.ma(),Xb(asa),nc)\};\
|
|
h.bj=function()\{if(null!=this.K&&!(0<=Ra(jO,this.K)))throw Error("Method not supported");var a=this.F.createElement("DIV");a.className="goog-ui-media-flash";this.b=a\};\
|
|
h.T=function()\{r_.L.T.call(this);this.g=null;this.o.dispose();this.o=null\};z(t_,TZ);var Esa=Ne(ze(Ae("https://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf")));Ne(ze(Ae("http://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf")));h=t_.prototype;h.T=function()\{this.X=!1;this.o&&(this.o.dispose(),this.N=null);ee(this.aa);this.D&&this.ka("contentResumeRequested");this.ka("allAdsCompleted");t_.L.T.call(this)\};\
|
|
h.Rd=function()\{var a=this.uc("getAdRemainingTime");return ha(a)?a:-1\};\
|
|
h.yg=function()\{var a=this.uc("getAdVolume");return ha(a)?a:-1\};\
|
|
h.Rc=function(a,b,c)\{t_.L.Rc.call(this,a,b,c);this.D=Z(this).b instanceof uT\};\
|
|
h.init=function(a)\{t_.L.init.call(this,a);window[this.na]=x(this.WA,this);$Z(this).O(AW(),D$,this.ZA);this.o=new r_(Esa);this.o.setSize(this.ia,this.ca);this.o.yi="always";a=fW(Z(this));A(B(a))?(w_(this,D_,Error("Flash VPAID ad url is empty.")),this.stop()):(this.o.g.set("vpaid",a),this.o.g.set("vpaidEventHandler",this.na),this.A.Zc(),Qx(this.o,this.A.Pd()),this.N=s_(this.o),this.aa=de(this.YA,this.g.Ud,this))\};\
|
|
h.start=function()\{if(this.X)\{t_.L.start.call(this);var a=Z(this);this.B.B=a.K;var b=bU(a);this.B.b=b;if(b=a.b)this.ue(a),this.$d(b,C$),this.Ig(b),f_(this,a);this.A.Zc();c_(this,"show_ad");this.setVolume(this.M);this.C=new be(250);$Z(this).O(this.C,"tick",this.XA);this.D?this.ka("contentPauseRequested"):(this.ka("contentResumeRequested"),v_(this));this.C.start();this.uc("startAd")\}else this.ha=!0\};\
|
|
h.stop=function()\{this.Aa||(this.Aa=!0,this.uc("stopAd"),this.A.Ff(),null!=this.C&&(this.C.stop(),this.C=null),t_.L.stop.call(this))\};\
|
|
h.Xc=function(a,b,c)\{t_.L.Xc.call(this,a,b,c);this.ia=a;this.ca=b;this.uc("resizeAd",a,b,c)\};\
|
|
h.pause=function()\{null!=this.C&&this.C.stop();this.uc("pauseAd")\};\
|
|
h.resume=function()\{null!=this.C&&this.C.start();this.uc("resumeAd")\};\
|
|
h.setVolume=function(a)\{this.M=a;this.uc("setAdVolume",a)\};\
|
|
h.Eg=function()\{\};\
|
|
h.ob=function()\{return u_(this)\};\
|
|
h.skip=function()\{this.uc("skipAd")\};\
|
|
h.Wc=function()\{var a=this.uc("getAdDuration");if(ha(a))return a;a=this.Rd();return 0<=a?this.R/1E3+a:-2\};\
|
|
h.XA=function()\{this.R+=250\};\
|
|
h.uc=function(a)\{if(!this.o||!this.N)return null;for(var b=[],c=0;c<arguments.length;c++)b.push(arguments[c]);var c=b.shift(),d=!1;this.X&&(d=!0);if("handshakeVersion"==c||"initAd"==c)d=!0;if(d)try\{if(null!=this.N[c])return this.N[c].apply(this.N,b)\}catch(e)\{\}return null\};\
|
|
h.ZA=function(a)\{var b=a.type;if(ib(D$,b))\{if("externalActivityEvent"==b&&(b=a.b.eventName,!E$[b]))return;d_(this,b)\}\};\
|
|
h.YA=function()\{w_(this,G$,null,(this.g.Ud/1E3).toString());this.stop()\};\
|
|
h.getCurrentTime=function()\{return this.R/1E3\};\
|
|
h.WA=function(a,b)\{switch(a)\{case "flashReady":this.uc("handshakeVersion","2.0");var c=zV(Z(this));this.N.initAd(this.ia,this.ca,this.J,this.g.bitrate,c);break;case "AdLoaded":ee(this.aa);this.X=!0;var c=this.uc("getAdCompanions"),d=w(c)?c:"",c=Z(this);kb(yV(c))&&(d=TX(d,c.b.b),kb(d)||kV(c,d));d_(this,"loaded");this.ha&&(this.ha=!1,this.start());break;case "AdStarted":c_(this,"impression");c_(this,"creativeview");this.ka("start");break;case "AdVideoStart":c_(this,"start");break;case "AdClickThru":b&&\
|
|
b.playerHandles&&((c=b.url)||(c=B(SV(Z(this)))),null!=c&&eM(c));c_(this,"click");this.ka("click");break;case "AdDurationChange":this.ka("durationChange");break;case "AdRemainingTimeChange":this.ka("durationChange");v_(this);break;case "AdError":c="AdError";b&&(c=b.message);w_(this,D_,Error(c));this.stop();break;case "AdExpandedChange":this.ka("expandedChanged");break;case "AdImpression":c=Z(this);kb(yV(c))||b_(this,c);this.ka("impression");break;case "AdLinearChange":c=u_(this);!this.D&&c?(this.ka("contentPauseRequested"),\
|
|
ee(this.ea)):this.D&&!c&&(this.ka("contentResumeRequested"),v_(this));this.D=c;d=this.H;d.ha=!0;d.ia=c;this.ka("linearChanged");break;case "AdVolumeChange":c=this.yg();c!=this.M&&(c!=this.M&&this.ka("volumeChange"),0==c&&0!=this.M?(c_(this,"mute"),this.ka("mute")):0==this.M&&0!=c&&c_(this,"unmute"),this.M=c);break;case "AdPaused":d_(this,"pause");break;case "AdUserClose":d_(this,"userClose");break;case "AdUserMinimize":c_(this,"collapse");break;case "AdVideoFirstQuartile":d_(this,"firstquartile");\
|
|
break;case "AdVideoMidpoint":d_(this,"midpoint");break;case "AdVideoThirdQuartile":d_(this,"thirdquartile");break;case "AdVideoComplete":x_(this);break;case "AdUserAcceptInvitation":this.D?c_(this,"acceptinvitationlinear"):c_(this,"acceptinvitation");break;case "AdStopped":x_(this);c_(this,"stop");this.stop();break;case "AdSkipped":d_(this,"skip");break;case "AdSkippableStateChange":d_(this,"skippableStateChanged");break;case "AdPlaying":d_(this,"resume");break;case "AdLog":this.ka("log")\}\};z(y_,I);var Fsa=Ne(ze(Ae("https://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf")));Ne(ze(Ae("http://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf")));h=y_.prototype;h.dispose=function()\{this.o&&(this.o.dispose(),this.b=null);window[this.g]&&delete window[this.g];ee(this.A)\};\
|
|
h.load=function(a,b,c,d)\{window[this.g]=x(this.NA,this);this.o=new r_(Fsa);this.o.setSize(b,c);this.o.yi="always";this.o.g.set("vpaid",a);this.o.g.set("vpaidEventHandler",this.g);Qx(this.o,this.C);this.b=s_(this.o);this.A=de(this.OA,d,this)\};\
|
|
h.MA=function(a)\{if(!this.b)return null;var b=Array.prototype.slice.call(arguments),c=b.shift();if(!this.B&&"handshakeVersion"!=c&&"initAd"!=c)return null;try\{if(this.b[c])return this.b[c].apply(this.b,b)\}catch(d)\{\}return null\};\
|
|
h.NA=function(a,b)\{"AdLoaded"==a&&(ee(this.A),this.B=!0);this.dispatchEvent(new p_(a,b||null))\};\
|
|
h.OA=function()\{this.dispatchEvent("loadError")\};z(z_,TZ);h=z_.prototype;h.T=function()\{this.X=!1;null===this.o?this.ia&&this.dispatchEvent(new ML("destroyInsecureFlashVpaid",Z(this))):this.o.dispose();this.D&&this.ka("contentResumeRequested");this.ka("allAdsCompleted");z_.L.T.call(this)\};\
|
|
h.Rd=function()\{var a=this.kc("getAdRemainingTime");return ha(a)?a:-1\};\
|
|
h.yg=function()\{var a=this.kc("getAdVolume");return ha(a)?a:-1\};\
|
|
h.Rc=function(a,b,c)\{z_.L.Rc.call(this,a,b,c);this.D=Z(this).b instanceof uT\};\
|
|
h.init=function(a)\{z_.L.init.call(this,a);a=fW(Z(this));A(B(a))?(E_(this,Error("Flash VPAID ad url is empty.")),this.stop()):($Z(this).O(AW(),D$,this.VA),this.ia?this.dispatchEvent(new ML("initInsecureFlashVpaid",Z(this),\{url:B(a)\})):null===this.A.Pd()?(E_(this,Error("Container must be provided for flash VPAID.")),this.stop()):(this.A.Zc(),null===this.o&&(this.o=new y_(this.A.Pd())),$Z(this).O(this.o,"loadError",this.jD),$Z(this).O(this.o,"vpaidEventType",this.TA),this.o.load(a,this.ha,this.R,this.g.Ud)))\};\
|
|
h.start=function()\{if(this.X)\{z_.L.start.call(this);var a=Z(this);this.B.B=a.K;var b=bU(a);this.B.b=b;if(b=a.b)this.ue(a),this.$d(b,C$),this.Ig(b),f_(this,a);this.A.Zc();c_(this,"show_ad");this.setVolume(this.M);this.C=new be(250);$Z(this).O(this.C,"tick",this.SA);this.D?this.ka("contentPauseRequested"):(this.ka("contentResumeRequested"),B_(this));this.C.start();this.kc("startAd")\}else this.ca=!0\};\
|
|
h.stop=function()\{this.ea||(this.kc("stopAd"),this.A.Ff(),null!=this.C&&(this.C.stop(),this.C=null),z_.L.stop.call(this),this.ea=!0)\};\
|
|
h.Xc=function(a,b,c)\{z_.L.Xc.call(this,a,b,c);if(null!==this.o)\{var d=this.o;d.o&&d.o.setSize(a,b)\}this.ha=a;this.R=b;this.kc("resizeAd",a,b,c)\};\
|
|
h.pause=function()\{null!=this.C&&this.C.stop();this.kc("pauseAd")\};\
|
|
h.resume=function()\{null!=this.C&&this.C.start();this.kc("resumeAd")\};\
|
|
h.setVolume=function(a)\{this.M=a;this.kc("setAdVolume",a)\};\
|
|
h.Eg=r;h.ob=function()\{return A_(this)\};\
|
|
h.skip=function()\{this.kc("skipAd")\};\
|
|
h.Wc=function()\{var a=this.kc("getAdDuration");if(ha(a))return a;a=this.Rd();return 0<=a?this.N/1E3+a:-2\};\
|
|
h.SA=function()\{this.N+=250\};\
|
|
h.kc=function(a)\{if(this.ea)return null;for(var b=[],c=0;c<arguments.length;c++)b.push(arguments[c]);return this.ia?(c=b.shift(),this.dispatchEvent(new ML("callFlashVpaidMethod",Z(this),\{methodName:c,args:b\})),this.na[c]):null===this.o?null:this.o.MA.apply(this.o,b)\};\
|
|
h.VA=function(a)\{var b=a.type;if(ib(D$,b))\{if("externalActivityEvent"==b&&(b=a.b.eventName,!E$[b]))return;d_(this,b)\}\};\
|
|
h.jD=function()\{E_(this,Error("Flash VPAID loader failed to load."));this.stop()\};\
|
|
h.getCurrentTime=function()\{return this.N/1E3\};\
|
|
h.TA=function(a)\{var b=a.data;switch(a.b)\{case "flashVpaidMethodResults":b&&(this.na[b.methodName]=b.result);break;case "flashReady":this.kc("handshakeVersion","2.0");b=zV(Z(this));this.kc("initAd",this.ha,this.R,this.J,this.g.bitrate,b);break;case "AdLoaded":this.X=!0;b=this.kc("getAdCompanions");a=w(b)?b:"";b=Z(this);kb(yV(b))&&(a=TX(a,b.b.b),kb(a)||kV(b,a));d_(this,"loaded");this.ca&&(this.ca=!1,this.start());break;case "AdStarted":c_(this,"impression");c_(this,"creativeview");this.ka("start");\
|
|
break;case "AdVideoStart":c_(this,"start");break;case "AdClickThru":b&&b.playerHandles&&((b=b.url)||(b=B(SV(Z(this)))),b&&eM(b));c_(this,"click");this.ka("click");break;case "AdDurationChange":this.ka("durationChange");break;case "AdRemainingTimeChange":this.ka("durationChange");B_(this);break;case "AdError":a="AdError";b&&(a=b.message);E_(this,Error(a));this.stop();break;case "AdExpandedChange":this.ka("expandedChanged");break;case "AdImpression":b=Z(this);kb(yV(b))||b_(this,b);this.ka("impression");\
|
|
break;case "AdLinearChange":b=A_(this);!this.D&&b?(this.ka("contentPauseRequested"),ee(this.aa)):this.D&&!b&&(this.ka("contentResumeRequested"),B_(this));this.D=b;a=this.H;a.ha=!0;a.ia=b;this.ka("linearChanged");break;case "AdVolumeChange":b=this.yg();b!=this.M&&(this.ka("volumeChange"),0==b&&0!=this.M?(c_(this,"mute"),this.ka("mute")):0==this.M&&0!=b&&c_(this,"unmute"),this.M=b);break;case "AdPaused":d_(this,"pause");break;case "AdUserClose":d_(this,"userClose");break;case "AdUserMinimize":c_(this,\
|
|
"collapse");break;case "AdVideoFirstQuartile":d_(this,"firstquartile");break;case "AdVideoMidpoint":d_(this,"midpoint");break;case "AdVideoThirdQuartile":d_(this,"thirdquartile");break;case "AdVideoComplete":C_(this);break;case "AdUserAcceptInvitation":this.D?c_(this,"acceptinvitationlinear"):c_(this,"acceptinvitation");break;case "AdStopped":C_(this);c_(this,"stop");this.stop();break;case "AdSkipped":d_(this,"skip");break;case "AdSkippableStateChange":d_(this,"skippableStateChanged");break;case "AdPlaying":d_(this,\
|
|
"resume");break;case "AdLog":this.ka("log")\}\};h=F_.prototype;h.Al=function()\{return this.b.Al()\};\
|
|
h.Zi=function()\{return this.b.Zi()\};\
|
|
h.Pd=function()\{return this.b.Pd()\};\
|
|
h.gj=function(a)\{return this.g?this.b.$l():this.b.gj(a)\};\
|
|
h.setSize=function(a,b)\{this.b.setSize(a,b)\};\
|
|
h.ql=function()\{return this.b.ql()\};\
|
|
h.hj=function()\{return this.b.hj()\};\
|
|
h.bm=function()\{return this.b.bm()\};\
|
|
h.ij=function()\{return this.b.ij()\};\
|
|
h.Ff=r;h.th=r;h.Zc=r;h.$l=function()\{return this.b.$l()\};\
|
|
h.Dq=r;z(G_,ML);z(I_,F);I_.prototype.T=function()\{this.g.enabled&&this.g.stop();this.b=[];I_.L.T.call(this)\};\
|
|
I_.prototype.B=function()\{var a=1E3*this.D.getCurrentTime(),b=C();this.b.push(new jka(a,b));for(a=b-this.b[0].b;1E4<a;)this.b.shift(),a=b-this.b[0].b;2>this.b.length?b=!0:(a=this.b.length-1,b=this.b[a].b-this.b[0].b,a=this.b[a].g-this.b[0].g,3E3>b||0>a?b=!0:(b=a/b,b<this.o&&(this.o=b),b=.5<=b));b||(this.C=!0,b=this.D,null!=b.D&&K_(b.D),k0(b,H$,nM(H$)))\};L_.prototype.isListed=!0;z(O_,oZ);var N_=Math.ceil(10*3.14);O_.prototype.D=function(a)\{U.b()||a.stopPropagation();this.dispatchEvent("click")\};\
|
|
O_.prototype.start=function()\{O_.L.start.call(this);null==this.b?this.stop():this.G&&(this.M&&780<=at(this.N).width&&this.G.Tq(!0),this.G.Sq())\};\
|
|
O_.prototype.hm=function(a,b)\{var c=a/b*N_+" "+N_;null!=this.b&&Is(this.b,"stroke-dasharray",c)\};z(P_,F);P_.prototype.show=function(a,b)\{Q_(this);AA&&a?(a.appendChild(this.o),this.b=de(x(this.g,this,b),2E3)):b()\};\
|
|
P_.prototype.g=function(a)\{this.b=0;Jf(this.o);a()\};\
|
|
P_.prototype.T=function()\{Q_(this);P_.L.T.call(this)\};z(R_,mc);z(S_,I);T_.prototype.muted=function(a,b)\{return!this.mute&&a||0!=this.volume&&0==b\};\
|
|
var nka=\{click:3,videoLearnMoreClicked:3,videoShareClicked:8,videoTitleClicked:14,videoAuthorClicked:15,videoAuthorIconClicked:15\};h=S_.prototype;h.T=function()\{this.Lb();S_.L.T.call(this)\};\
|
|
h.Lb=function()\{null!=this.g&&this.g.dispose();null!=this.b&&this.b.Lb();null!=this.C&&this.C.dispose();this.C=null;null!=this.F&&this.F.dispose();this.F=null;this.K.clear();this.G=-1;this.D="";this.H=this.M=!1\};\
|
|
h.ib=function(a,b,c,d)\{this.Lb();this.A.B=a.K;this.b=b;this.o=d||null;this.b.ib();this.B=new T_(this.b);this.J=c||null;this.g=new Fm(this);this.D=a.K;a=U.g?NQ():AW();this.g.O(a,"externalActivityEvent",this.hD);this.g.O(a,"measurable_impression",this.FD);this.g.O(a,"viewable_impression",this.AF);this.g.O(this.b,"timeUpdate",this.wB);this.g.O(this.b,"volumeChange",this.xB);this.g.O(this.b,"pause",this.tB);this.g.O(this.b,"play",this.uB);this.g.O(this.b,"end",this.dD);this.g.O(this.b,"beginFullscreen",\
|
|
this.rB);this.g.O(this.b,"endFullscreen",this.gD);this.g.O(this.b,"skip",this.ar);this.g.O(this.b,"skipShown",this.Gs);this.g.O(this.b,"start",this.vB);this.g.O(this.b,"error",this.qB);this.g.O(this.b,"mediaLoadTimeout",this.sB);null!=this.o&&(this.g.O(this.o,"urlNavigationRequested",this.oF),this.g.O(this.o,"videoShareShown",this.zF),this.g.O(this.o,"skipshown",this.Gs),this.g.O(this.o,"skip",this.ar),this.g.O(this.o,"PUBLISHER_INVOKED_SKIP",this.yE),this.g.O(this.o,"MUTE_AD videoAuthorIconClicked videoAuthorClicked videoClicked videoLearnMoreClicked videoMuteClicked videoTitleClicked videoShareClicked videoUnmuteClicked why_this_ad_url why_this_ad_got_it why_this_ad_settings_url why_this_ad_learn_more mute_interaction_url mute_url mute_undo_url".split(" "),\
|
|
this.oz))\};\
|
|
h.FD=function(a)\{var b=a.b;this.A.F.measurable_impression=null!=b?b.viewabilityString:null;a.b.queryId==this.D&&U_(this,"measurable_impression",!0,!1)\};\
|
|
h.AF=function(a)\{a=a.b;a.queryId==this.D&&(this.A.F.viewable_impression=null!=a?a.viewabilityString:null,U_(this,"viewable_impression",!0,!0))\};\
|
|
h.hD=function(a)\{a=a.b;var b=E$[a.eventName];b&&a.queryId==this.D&&(this.A.F[b]=null!=a?a.viewabilityString:null,U_(this,b,!0,!0))\};\
|
|
h.wB=function()\{var a=this.b.rd();if(-1!=a)\{this.b.fg(.25*a)&&U_(this,"firstquartile",!0,!0);this.b.fg(.5*a)&&U_(this,"midpoint",!0,!0);this.b.fg(.75*a)&&U_(this,"thirdquartile",!0,!0);var b=this.A,c=this.b.getCurrentTime();if(!Dg(b.g,"skip"))\{0>b.A&&(Uga(b.o,a),b.A=0);for(var a=gT(b.o,"progress"),d=b.A;d<a.length;d++)\{var e=a[d];if(kT(e.g)>c)break;b.A=d+1;fM(e.b,b.b)\}\}\}V_(this)\};\
|
|
h.vB=function()\{this.H=!0;U_(this,"impression",!0,!0);U_(this,"creativeview",!0,!0);null!=this.J||null!=this.o||this.g.O(this.b,"click",this.ym);null!=this.J&&(this.C=new UQ,this.g.O(this.C,"click",this.ym,!1),this.C.ib(this.J));null!=this.o&&(this.F=new UQ,this.g.O(this.F,"click",this.ym,!1),this.F.ib(this.o));U_(this,"start",!0,!0);(this.b.Hf()||0==this.b.Sd())&&U_(this,"mute",!1,!1)\};\
|
|
h.xB=function()\{var a=this.b.Hf(),b=this.b.Sd(),c=this.B;c.mute&&!a||!a&&0==c.volume&&0<b?U_(this,"unmute",!1,!1):this.B.muted(a,b)&&U_(this,"mute",!1,!1);this.B.mute=a;this.B.volume=b\};\
|
|
h.tB=function()\{this.b.oe()?W_(this):this.b.Ve()&&!this.b.lm()&&(this.B.paused=!0,U_(this,"pause",!1,!1))\};\
|
|
h.uB=function()\{this.B.paused&&(this.B.paused=!1,U_(this,"resume",!1,!1))\};\
|
|
h.dD=function()\{W_(this)\};\
|
|
h.ym=function()\{U_(this,"click",!1,!1)\};\
|
|
h.qB=function()\{U_(this,"error",!1,!1)\};\
|
|
h.sB=function()\{U_(this,"mediaLoadTimeout",!1,!1)\};\
|
|
h.Gs=function()\{U_(this,"skipshown",!0,!1)\};\
|
|
h.oz=function(a)\{U_(this,a.type,!1,!1)\};\
|
|
h.oF=function(a)\{this.dispatchEvent(a)\};\
|
|
h.zF=function()\{U_(this,"videoShareShown",!0,!1)\};\
|
|
h.ar=function()\{U_(this,"skip",!0,!1)\};\
|
|
h.yE=function()\{U_(this,"skip",!0,!1)\};\
|
|
h.rB=function()\{U_(this,"fullscreen",!1,!1)\};\
|
|
h.gD=function()\{U_(this,"exitfullscreen",!1,!1)\};z(X_,TZ);h=X_.prototype;h.T=function()\{a0(this);this.Ia.dispose();Z_(this);D(this.la.Ra(),ee);var a=!1;null!=this.A&&(a=this.A.hj(),this.A.Ff(),this.A=null);this.ca&&(this.ca=!1,this.b.Ve()||this.b.oe()||this.b.pause(),yM()&&!a&&(this.b.If(.001),this.b.load("","")),xM()&&this.b.Gf()&&!a&&this.b.lj(),this.ka("contentResumeRequested"),this.ka("allAdsCompleted"));null!=this.D&&(Nb(this.D),this.D=null);X_.L.T.call(this)\};\
|
|
h.muteAd=function()\{U.b()&&(c_(this,"mute_interaction_url"),c_(this,"mute_url"),this.ka("MUTE_AD"),Y_(this,function()\{$_(this)\}))\};\
|
|
h.whyThisAdClicked=function()\{U.b()&&c_(this,"why_this_ad_url")\};\
|
|
h.whyThisAdClosed=function()\{U.b()&&c_(this,"why_this_ad_got_it")\};\
|
|
h.Gh=function()\{Z_(this);X_.L.Gh.call(this);UZ(this)&&(this.B=new OZ,this.N=new S_(this.B),this.ea=!1,this.ka("loaded"))\};\
|
|
h.Ym=function(a,b)\{Z_(this);a.ob()&&b.ob()&&null==eW(b)&&null==fW(b)&&(X_.L.Ym.call(this,a,b),UZ(this)&&(this.B=new OZ,this.N=new S_(this.B),this.ea=!1))\};\
|
|
h.Pm=function(a)\{X_.L.Pm.call(this,a);null!=this.b&&this.b.gn(1)\};\
|
|
h.Qp=function(a,b)\{b.preventDefault();this.aa||(this.aa=!0,d_(this,"video_card_endcap_action"));a&&(this.C.pause(),eM(a))\};\
|
|
h.Rp=function()\{Y_(this,function()\{b0(this,"video_card_endcap_dismiss")\})\};\
|
|
h.gz=function()\{b0(this,"video_card_endcap_collapse")\};\
|
|
h.FB=function(a,b,c)\{var d=XQ(b);d&&(a.C=d);var e=a.getExtension("AdSense");null!=e&&null!=e.o&&e.o.g&&this.setVolume(0);if(this.g.iu)\{d=a.getExtension("AdSense");(e=this.Ga)||(e=null===b?!1:"modules"==(new L(b)).F().toLowerCase()||ZQ(b));var e=e||null!=d&&d.F,d=ZV(a)?null:bW(a),f;if(U.b()||GM())f=0;else\{if(f=vM())\{b:\{for(f=0;f<this.ads.length;++f)\{var k;c:\{k=this.ads[f];do if(nV(k,UV))\{k=!1;break c\}while(k=k.g);k=!0\}if(!k)\{f=!1;break b\}\}f=vM()\}f=!f||null==this.A||!this.A.ql()\}f=f||gW(a)||this.g.zn\}if(f||\
|
|
!U.b()&&e)this.g.xn=!0,this.g.zn=!0;if(U.b()||this.g.zn)\{f=A(B(SV(a)))?!1:this.g.xn;k=XL().b.Z("enable_instream_ad_badge");var l=this.g,m=U.b()||!1,n=U.b(),d=LZ(e,a.C,d,l);d.A=f;d.R=l.OG;d.ba=m;d.N=!0;d.K=n;d.g=k;d.B=l.wn;d.X=l.yn;d.ca=l.PG;d.ea=0;l.wn&&(d.Cg="Visita inserzionista")\}else uV(a)?(f=a.C,!A(B(f))&&null!==d&&0<kT(d)&&(e=!0),d=LZ(e,f,d,this.g),d.H=e?Jga:Iga):(d=LZ(e,a.C,d,this.g),d.aa=!1,d.D=!1,d.b=!1);e=d;f=this.A.Zi();null===f?f=window.document.body:Hf(f);k=Z(this);l=1E3*gU(k);m=k.getExtension("why_this_ad");\
|
|
n=k.getExtension("mute");e.C=new HZ(m,n);AZ(e.C)&&(m=null!=m?m.A:void 0,n="<span class='videoAdUiAdSettingsShortTooltip'>",n=m?n+X(m):n+"Click for Ad Settings",m=sR(n+"</span>"),e.ee=m);this.o=new CZ(e,f,l);f=k.C;null!=f&&(c0(this),e.ca&&u0(this,f));e=this.o;e.M&&(e=e.M,f=0==this.X,e.b!=f&&(e.b=f,qZ(e)));this.Ga&&(f=a.getExtension("AdSense"),null!=f?(e=this.o,f=B(f.g),null!=e.G&&(S(e.G,!0),f=new L(f),f=(f.g+f.o).replace(/^www\\./i,""),A(B(f))?EZ(e):Tf(e.G,f)),null!=e.R&&S(e.R,!0)):EZ(this.o));e=[];\
|
|
d.D&&e.push("adAttribution");d.b&&e.push("countdown")\}else d&&this.g.Sk&&(c0(this),u0(this,d));if(d=this.b)this.N.ib(a,this.b,this.A.Al(),this.o),$Z(this).O(this.N,"engagedview urlNavigationRequested videoAuthorIconClicked videoAuthorClicked videoClicked videoLearnMoreClicked videoMuteClicked videoShareClicked videoShareShown videoTitleClicked videoUnmuteClicked start".split(" "),this.Ms),$Z(this).O(this.b,"loaded",this.xF),$Z(this).O(this.b,"cardsStateChange",this.$A),$Z(this).O(this.b,"timeUpdate",\
|
|
this.Os),$Z(this).O(this.b,"volumeChange",this.cB),$Z(this).O(this.b,"shareClicked",this.Et),this.ue(a),e=bU(a,this.b),this.B.b=e,e=a.b,null!=e&&e instanceof uT&&(this.$d(e,C$),this.Ig(e),e=$Z(this),Hm(e,this.N,"error",this.aB,this),Hm(e,this.N,"mediaLoadTimeout",this.bB,this)),f_(this,a),a.isSkippable()&&(this.N.G=30),d.Hh(qka(this,a)),d.load(b,c)\};\
|
|
h.PF=function(a,b,c)\{null!==a.F&&SM(PM.getInstance(),34,\{evt:"filled"\},!0);this.Aa||(this.Aa=!0,this.ka("contentPauseRequested"));this.FB(a,b,c);this.ca=!0;this.setVolume(this.X);this.o&&(A(B(f0(a)))?(b=this.o,null!=b.B&&(b.o.sa(b.B,"click",b.Yj),Is(b.B,"cursor","default"))):(b=this.o,null!=b.B&&(b.o.O(b.B,"click",b.Yj),null!=b.N&&!dt(b.N)&&Is(b.B,"cursor","pointer"))),b=a.b.ua,kb(b)||Yja(this.o,b),this.o.show());c_(this,"show_ad");this.A.th();try\{b_(this,a)\}catch(d)\{k0(this,a_,d);return\}uW.getInstance().end("pi");\
|
|
uW.getInstance().start("bt");this.Ia.show(this.A.Zi(),x(this.b.play,this.b))\};\
|
|
h.Eg=function()\{rka(this);this.ka("loaded");this.dispatchEvent(new G_(Z(this)))\};\
|
|
h.skip=function()\{UZ(this)&&Z(this).isSkippable()&&(null!=this.o?this.o.skip():(c_(this,"skip"),t0(this)))\};\
|
|
h.Ft=function()\{d_(this,"skipshown")\};\
|
|
h.start=function()\{X_.L.start.call(this);uW.getInstance().start("pi");this.ha=[];try\{var a=Z(this);this.M=h0(this,a);Y_(this,x(X_.prototype.PF,this,a,this.M.g,this.M.b))\}catch(b)\{j0(this,b),this.Gh(),UZ(this)?(oM(nM,this,n0,b,void 0),this.start()):(this.ca?oM(nM,this,n0,b,void 0):(null!=this.F&&this.F.uh(kW()),pM(this,n0,b)),this.stop())\}\};\
|
|
h.yg=function()\{e_(this);return this.b.Hf()?0:this.b.Sd()\};\
|
|
h.setVolume=function(a)\{e_(this);this.ca?this.b.setVolume(a):this.X=a\};\
|
|
h.pause=function()\{e_(this);this.C?this.C.pause():this.b.pause();if(null!=this.D)\{var a=this.D;a.g.enabled&&a.g.stop();a.b=[]\}\};\
|
|
h.resume=function()\{e_(this);this.C?this.C.play():this.b.play();null!=this.D&&J_(this.D)\};\
|
|
h.getCurrentTime=function()\{e_(this);var a=this.C?this.C.o:0;return this.b.getCurrentTime()+a\};\
|
|
h.Wc=function()\{e_(this);var a=UZ(this)?dW(Z(this)):0;return this.b.rd()+a\};\
|
|
h.Rd=function()\{e_(this);var a=this.Wc(),b=this.getCurrentTime();return 0<=a&&0<=b?Math.max(0,a-b):-1\};\
|
|
h.kg=function()\{return this.b.kg()\};\
|
|
h.aB=function()\{this.b.getError();k0(this,n0,nM(n0,this.b.getError()))\};\
|
|
h.bB=function()\{vka(this);k0(this,G$,nM(G$,null,(this.g.Ud/1E3).toString()))\};\
|
|
h.Xm=function(a,b)\{X_.L.Xm.call(this,a,b);p0(this,a)\};\
|
|
h.Ms=function(a)\{switch(a.type)\{case "start":Cka(this);fia();this.ka("start");dka(this);null!=this.D&&(Nb(this.D),this.D=null);ZL(XL(),420706025)&&!U.b()&&(this.D=new I_(this),J_(this.D));break;case "impression":this.ka("impression");break;case "why_this_ad_url":this.Na=this.b.Ve();i0(this,"why_this_ad_url");this.pause();break;case "pause":this.ka("pause");break;case "why_this_ad_got_it":i0(this,"why_this_ad_got_it");this.Na||this.resume();break;case "resume":this.ka("resume");break;case "firstquartile":this.ka("firstquartile");\
|
|
break;case "midpoint":this.ka("midpoint");break;case "thirdquartile":this.ka("thirdquartile");break;case "complete":pka(this)||(this.ka("complete"),c_(this,"instreamAdComplete"),$_(this));break;case "click":this.o&&this.o.b.A?this.b.Ve()?this.resume():this.pause():o0(this);break;case "engagedview":q0(this);this.ka("engagedview");break;case "urlNavigationRequested":this.dispatchEvent(a);break;case "videoAuthorIconClicked":w0(this);break;case "videoAuthorClicked":w0(this);break;case "videoClicked":this.ka("videoClicked");\
|
|
break;case "videoLearnMoreClicked":this.C&&!this.aa&&(this.aa=!0,d_(this,"video_card_endcap_action"));this.b.pause();ZL(XL(),41351017)&&q0(this);o0(this);break;case "videoShareClicked":yka(this);break;case "videoShareShown":zka(this);break;case "videoTitleClicked":Aka(this);break;case "videoMuteClicked":this.na=this.X;this.setVolume(0);break;case "videoUnmuteClicked":this.setVolume(this.na);break;case "skipshown":this.ka("skippableStateChanged");break;case "skip":this.C?this.Rp():t0(this);break;case "MUTE_AD":this.ka("MUTE_AD"),\
|
|
Y_(this,function()\{$_(this)\})\}\};\
|
|
h.Mf=function()\{X_.L.Mf.call(this);this.R&&(Nb(this.R),this.R=null)\};\
|
|
h.Et=function()\{var a=r0(this)||s0(this);null!=a&&gM(a,"sharebuttonclicked")\};\
|
|
h.ue=function(a)\{X_.L.ue.call(this,a);p0(this,"impression")\};\
|
|
h.$d=function(a,b)\{X_.L.$d.call(this,a,b);D(b,function(a)\{p0(this,a)\},this)\};\
|
|
h.Ig=function(a)\{X_.L.Ig.call(this,a);a instanceof uT&&(a=vT(a),D(a.Ua(),function(a)\{p0(this,a)\},this))\};\
|
|
h.Nq=function()\{if(!UZ(this))return null;try\{return h0(this,Z(this)).g\}catch(a)\{return null\}\};\
|
|
h.Gl=function()\{if(!UZ(this))return null;var a=Z(this);if(!ZZ(a))throw nM(g0);a=a.b.K;return kb(a)?null:a[0].g\};\
|
|
h.xF=function()\{this.ka("adCanPlay")\};\
|
|
h.$A=function()\{var a=this.o;null!=a.g&&oe(a.g,"ytp-iv-drawer-open",this.b.Rq())\};\
|
|
h.Os=function()\{var a=this.Wc(),b;e_(this);b=this.C?this.Wc():this.b.km();var c=this.getCurrentTime(),d=0,e=0;UZ(this)&&(e=Z(this),d=e.A.g,e=e.A.o);if(null!=this.o&&0<=a&&0<=c)\{if(!this.ia&&3==Z(this).Ca)\{var f=this.b.rd(),k=VV(Z(this)),f=Math.abs(f-k);2<f&&(f=nM(wsa,null,Number(f).toFixed(2)),f=aU(f,Z(this),this.b),k=wV(Z(this)),jM(k,f));this.ia=!0\}this.o.update(c,b,a,d,e)\}\};\
|
|
h.cB=function()\{var a=this.b.Sd();if(a!=this.X&&(this.X=a,this.ka("volumeChange"),0==a&&this.ka("mute"),this.o))\{var b=this.o;b.M&&(b=b.M,a=0==a,b.b!=a&&(b.b=a,qZ(b)))\}\};\
|
|
h.Gz=function(a)\{var b=a.b;if("companion-setup-complete"==b.data)\{a=Z(this);var c=(0,window.encodeURIComponent)(B(SV(a)))+","+(0,window.encodeURIComponent)((r0(this)||s0(this)).toString());b.source.postMessage(c,"*");b=b.source.frameElement;b.parentNode.style.cssText="";b.width=370;b.height=null!=SV(a)?210:185\}else"pause-video"==b.data&&this.pause()\};z(x0,mc);z(y0,TZ);h=y0.prototype;\
|
|
h.init=function(a)\{y0.L.init.call(this,a);this.na=de(this.eB,this.g.Ud,this);$Z(this).O(window,"message",this.CF);$Z(this).O(this.ea,"tick",this.RF);a=U.g?NQ():AW();$Z(this).O(a,D$,this.dB);if(this.M)this.dispatchEvent(new x0(0,this.X));else\{a=eW(Z(this));if(/\\.html(\\?.*)?$/.test(a))\{if(a.match("//s0.2mdn.net/instream/html5/survey/survey.html"))\{var b="it".replace("-","_");a=a.replace(".html","_"+b+".html");null!=this.g.vg&&(a=bh(a,"v",this.g.vg));U.b()&&(b=Zg(a,"st"),b=Eka(this,b?b+" yt":"yt"),a=\
|
|
bh(a,"st",b))\}a=B(a)\}else\{var b=new L(a),c=new L("http://tpc.googlesyndication.com/pagead/js/loader12.html");"https"==b.A&&ch(c,"https");this.Ia=b.g;a=gh(c,a||"",void 0).toString()\}this.D=K("IFRAME",\{src:dM(a),allowtransparency:!0,background:"transparent",style:"border:0; opacity:1; margin:0; overflow:hidden;padding:0; width:100%; height:100%;position: absolute;display:none;"\});$Z(this).O(this.D,"load",this.Yy);this.A.Pd().appendChild(this.D)\}\};\
|
|
h.Rc=function(a,b,c)\{y0.L.Rc.call(this,a,b,c);this.C=Z(this).b instanceof uT;this.o=a.gj(!1);this.M||($Z(this).O(this.o,"click end error loaded mediaLoadTimeout pause play timeUpdate volumeChange".split(" "),this.EE),$Z(this).O(this.o,vS,this.GC))\};\
|
|
h.stop=function()\{this.ea.stop();this.A.Ff();y0.L.stop.call(this)\};\
|
|
h.ob=function()\{return 1==this.C\};\
|
|
h.start=function()\{y0.L.start.call(this);if(!U.b())\{var a=\{\};a.pid=uW.getInstance().b;a.dn=this.Ia;a["if"]=this.M;SM(PM.getInstance(),29,a,!0)\}a=Z(this);this.B.B=a.K;var b=bU(a,this.o);this.B.b=b;if(b=a.b)this.ue(a),this.$d(b,C$),this.Ig(b),f_(this,a);this.o.ib();c_(this,"show_ad");this.A.Zc();null!=this.D&&(this.D.style.display="block");this.o.setVolume(this.N);this.Ga=!0;this.C&&this.ka("contentPauseRequested");D0(this)\};\
|
|
h.Xc=function(a,b,c)\{y0.L.Xc.call(this,a,b,c);B0(this,"resizeAd",\{width:a,height:b,viewMode:c\})\};\
|
|
h.pause=function()\{this.R||B0(this,"pauseAd")\};\
|
|
h.resume=function()\{this.R&&B0(this,"resumeAd")\};\
|
|
h.setVolume=function(a)\{this.N=a;y0.L.setVolume.call(this,a);B0(this,"setAdVolume",\{value:a\})\};\
|
|
h.T=function()\{this.M&&this.dispatchEvent(new x0(0,this.X));Jf(this.D);this.C&&(!this.la||this.o.Ve()||this.o.oe()||this.o.pause(),this.ka("contentResumeRequested"));this.ka("allAdsCompleted");this.ia=!1;this.ca=[];ee(this.na);this.ea.dispose();y0.L.T.call(this)\};\
|
|
h.Eg=function()\{\};\
|
|
h.Yy=function()\{if(!this.M)\{var a=this.o.Yi();kb(a)&&(a=this.g.sh);B0(this,"wrapperCall",\{messageType:"supportedMimeTypes",supportedMimeTypes:a\})\}A0(this)\};\
|
|
var Dka=\{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_skip_in_10s:"skip-10",use_skip_in_15s:"skip-15",use_skip_in_20s:"skip-20",use_survey_length_15s:"time-15",use_survey_length_45s:"time-45",use_skip_in_0s:"sec-0",use_survey_length_unlimited:"time-ul",hide_advertisement_text:"nat",use_skip_survey_text:"skip_survey"\};h=y0.prototype;\
|
|
h.CF=function(a)\{a=a.b;if(this.M)\{if(a=kS(a.data),null!=a)\{try\{var b=cg(a.data)\}catch(c)\{return\}null!=b&&b.session==this.X&&E0(this,b)\}\}else if(a.source==this.D.contentWindow)\{try\{b=cg(a.data)\}catch(c)\{return\}b.session==this.X&&E0(this,b)\}\};\
|
|
h.eB=function()\{C0(this,G$,null,(this.g.Ud/1E3).toString());this.stop()\};\
|
|
h.dB=function(a)\{var b=a.type;if(ib(D$,b))\{if("externalActivityEvent"==b&&(b=a.b.eventName,!E$[b]))return;d_(this,b)\}\};\
|
|
h.EE=function(a)\{switch(a.type)\{case "timeUpdate":a=this.o.rd();var b=this.o.getCurrentTime();z0(this,"wrapperCall",\{messageType:"timeupdate",duration:a,currentTime:b\});break;case "end":F0(this,"ended");break;case "loaded":F0(this,"loadstart");break;case "mediaLoadTimeout":F0(this,"stalled");break;case "play":F0(this,"playing");break;default:F0(this,a.type)\}\};\
|
|
h.GC=function(a)\{a=a.type;"loadedmetadata"==a?(a=this.o.rd(),z0(this,"wrapperCall",\{messageType:"loadedmetadata",duration:a\})):F0(this,a)\};\
|
|
h.getCurrentTime=function()\{return-1==this.Wc()||-1==this.Rd()?-1:this.Wc()-this.Rd()\};\
|
|
h.Wc=function()\{return this.aa\};\
|
|
h.Rd=function()\{return this.ha\};\
|
|
h.Wa=function()\{return!this.R\};\
|
|
h.RF=function()\{B0(this,"getAdRemainingTime")\};z(G0,I);h=G0.prototype;h.init=function(a,b,c)\{H0(this,a,b,c);null==this.F&&(this.F=new Fm(this),Hm(this.F,this.K,"adsLoaderSdkAdError",this.WB,this));O0(this)\};\
|
|
h.start=function()\{this.M=!0;K0(this);0<this.o.length?T0(this):("always"==U.o&&null!=this.X&&this.X.uh(kW()),oM(mM,this,oU,void 0,void 0),0==this.Fc&&this.dispatchEvent("contentResumeRequested"),U0(this))\};\
|
|
h.destroy=function()\{null!=this.F&&(this.F.dispose(),this.F=null);Q0(this);W0(this);U.o=this.ba;this.M=!1\};\
|
|
h.Ab=function()\{return this.g<this.o.length?this.o[this.g].b[0]:null\};\
|
|
h.Wa=function()\{return this.M\};\
|
|
h.pause=function()\{null!=this.b&&this.b.pause()\};\
|
|
h.resume=function()\{null!=this.b&&this.b.resume()\};\
|
|
h.skip=function()\{null!=this.b&&this.b.skip()\};\
|
|
h.Mf=function()\{null!=this.b&&this.b.Mf()\};\
|
|
h.getCurrentTime=function()\{return null!=this.b?this.b.getCurrentTime():-1\};\
|
|
h.setVolume=function(a)\{null!=a&&(this.N=a,null!=this.b&&this.b.setVolume(this.N))\};\
|
|
h.Kr=function(a)\{U.o=this.ba;var b=a.A;kb(b)?this.D++:(a=a.o,a.b&&D(b,function(a)\{a.ua=!1\},this),this.R=Gka(this,b),nb(this.o,new ria(b,a.b,a.g)),this.D++,this.F.sa(this.K,"adsLoaderSdkAdLoaded",this.Kr,!1,this));\
|
|
O0(this)\};\
|
|
h.WB=function()\{U.o=this.ba;oM(mM,this,oU,void 0,void 0);this.D++;if(!I0(this)||2<=this.o.length-this.g)\{var a=mM(oU);this.dispatchEvent(new LL(a))\}O0(this)\};\
|
|
h.YD=function()\{Q0(this);W0(this);U0(this)\};\
|
|
h.XB=function(a)\{a=a.getError().kb();try\{var b=\{\};b.ec=a;SM(PM.getInstance(),44,b)\}catch(c)\{\}this.g++;T0(this)\};\
|
|
h.LA=function()\{this.dispatchEvent("userClose")\};\
|
|
h.IA=function()\{this.dispatchEvent("autoClose")\};\
|
|
h.KA=function()\{this.g++;T0(this)\};\
|
|
h.JA=function()\{this.ha||(this.dispatchEvent("contentPauseRequested"),this.ha=!0)\};\
|
|
h.Lr=function(a)\{if("impression"==a.type)try\{SM(PM.getInstance(),44,\{imp:!0\})\}catch(b)\{\}"vpaidEvent"!=a.type&&Hka(this,a.type,a.jb());this.dispatchEvent(a)\};z(X0,mc);z(Y0,I);h=Y0.prototype;h.ib=function()\{this.g||(null==this.A&&(this.A=new Fm(this)),this.A.O(this.b,"currentTimeUpdate",this.Eq,!1),this.A.O(this.b,"contentWrapperError",this.hE,!1));this.b.start();this.g=!0\};\
|
|
h.getCurrentTime=function()\{return this.b.currentTime\};\
|
|
h.Lb=function()\{null!=this.A&&(this.A.dispose(),this.A=null);this.b.stop();this.g=!1\};\
|
|
h.Eq=function()\{if(this.g)\{var a=this.b.currentTime;if((0,window.isNaN)(a)||0>a)a1(this);else\{var b=Lka(this,a);this.B?D(b,function(a)\{$0(this,!0,a)\},this):$0(this,!0,$a(b));\
|
|
$0(this,!1,Mka(this,a))\}\}\};\
|
|
h.hE=function()\{a1(this)\};z(b1,F);b1.prototype.g=function()\{return this.b\};z(cZ,TZ);h=cZ.prototype;\
|
|
h.Rc=function(a,b,c)\{null!=this.C&&(this.C.Lb(),this.C.dispose(),this.C=null);cZ.L.Rc.call(this,a,b,c);a=this.N.b.Ua();b=new ES(b);var d=4;c&&0<=c.Vm&&(d=c.Vm);this.Aa=null!=c?c.Ss:0;this.C=new Y0(b,a,\{prefetch:d\});Oka(this,a);a=this.N.b.Ua();Pka(this,a);null!=this.C&&(g1(this),c=$Z(this),Hm(c,this.C,["requestAds","playAds","contentTrackingError"],this.handleEvent,this),Hm(c,this.C,"adBreakReady",this.VB,this),Hm(c,this.aa,"contentComplete",this.PC,this),this.aa.b=!1);this.K.get(0);try\{c=\{cfg:!0\},\
|
|
c.ads=this.la,SM(PM.getInstance(),44,c)\}catch(e)\{\}\};\
|
|
h.init=function(a)\{cZ.L.init.call(this,a);this.C.ib();this.C.Eq();a=ha(0)&&!(0,window.isNaN)(0)?this.N.b.get(0,[]):[];kb(a)&&this.ka("contentResumeRequested")\};\
|
|
h.Eg=function()\{this.ne();this.dispatchEvent(new G_(null))\};\
|
|
h.destroy=function()\{this.dispose()\};\
|
|
h.T=function()\{this.aa.b=!0;if(0<this.K.Pb())\{var a=this.K.Ra();D(a,this.gg,this);this.K.clear()\}g1(this);i1(this);null!=this.A&&(this.A.Ff(),this.A=null);cZ.L.T.call(this)\};\
|
|
h.stop=function()\{null!=this.o&&(this.gg(this.o),this.jj())\};\
|
|
h.Xc=function(a,b,c)\{cZ.L.Xc.call(this,a,b,c);this.ha=a;this.ea=b;this.J=c;null!=this.o&&H0(this.o,this.ha,this.ea,this.J)\};\
|
|
h.pause=function()\{null!=this.o&&this.o.pause()\};\
|
|
h.resume=function()\{null!=this.o&&this.o.resume()\};\
|
|
h.skip=function()\{null!=this.o&&this.o.skip()\};\
|
|
h.Mf=function()\{null!=this.o&&this.o.Mf()\};\
|
|
h.setVolume=function(a)\{cZ.L.setVolume.call(this,a);null!=this.o&&this.o.setVolume(a)\};\
|
|
h.getCurrentTime=function()\{return null!=this.o?this.o.getCurrentTime():-1\};\
|
|
h.Wc=function()\{var a;null!=this.o?(a=this.o,a=null!=a.b?a.b.Wc():-1):a=-1;return a\};\
|
|
h.Rd=function()\{var a;null!=this.o?(a=this.o,a=null!=a.b?a.b.Rd():-1):a=-1;return a\};\
|
|
h.ne=function()\{return this.N.b.Ua()\};\
|
|
h.Ab=function()\{return null!=this.o?this.o.Ab():null\};\
|
|
h.vt=function()\{\};\
|
|
h.handleEvent=function(a)\{"contentTrackingError"!=a.type&&(no(this.X,a),h1(this))\};\
|
|
h.RA=function()\{this.ka("userClose")\};\
|
|
h.QA=function()\{this.ka("autoClose")\};\
|
|
h.gg=function(a)\{a.destroy();this.K.remove(a.Fc);this.o=null;null!=this.G&&(this.G.sa(a,V0,this.dispatchEvent,!1,this),this.G.sa(a,"adError",this.Zp,!1,this),this.G.sa(a,"allAdsCompleted",this.Er,!1,this),this.G.sa(a,"contentPauseRequested",this.Mq,!1,this),this.G.sa(a,"contentResumeRequested",this.jj,!1,this),this.G.sa(a,"adBreakInitialized",this.Gr,!1,this))\};\
|
|
h.PC=function(a)\{this.ca=!0;-1==this.M?a.b=!1:U.b()&&!d1(this)||e1(this);Kka(this.C)\};\
|
|
h.VB=function(a)\{var b=a.b;a=0==b;var c=-1==b;this.R?(a?this.ka("contentResumeRequested"):!c||U.b()&&!d1(this)||e1(this),this.R=!1):(c?de(function()\{var a=this.K.get(b);a&&this.gg(a);U.b()&&!d1(this)||e1(this)\},500,this):a&&de(function()\{this.ka("contentResumeRequested")\},100,this),a=\{\},a.adBreakTime=b,this.dispatchEvent(new ML("adBreakReady",null,a)))\};\
|
|
h.Zp=function(a)\{var b=a.getError(),c=b.kb();try\{var d=\{\};d.ec=c;SM(PM.getInstance(),44,d)\}catch(e)\{\}U.b()&&b&&"adLoadError"==b.Fb()&&this.dispatchEvent(a)\};\
|
|
h.Er=function(a)\{this.gg(a.target);(d1(this)||!U.b()&&this.ca)&&e1(this);this.D=null;h1(this)\};\
|
|
h.Mq=function()\{var a=this.C;a.b.stop();a.g=!1;this.ka("contentPauseRequested")\};\
|
|
h.jj=function()\{this.ka("contentResumeRequested");this.na||Z0(this.C);this.D=null\};\
|
|
h.Gr=function(a)\{this.D=null;a=a.target;var b=\{\};b.adBreakTime=a.Fc;this.dispatchEvent(new ML("prefetched",a.Ab(),b));h1(this)\};\
|
|
h.ka=function(a)\{var b=null;null!=this.o&&(b=this.o.Ab());this.dispatchEvent(new ML(a,b))\};\
|
|
h.Kt=function(a,b)\{return this.ia=new b1(a,b)\};z(j1,I);j1.prototype.T=function()\{null!=this.b&&(this.b.sa("adsManagerLoaded",this.dispatchEvent),this.b.sa("adError",this.dispatchEvent),this.b.sa("adLoadError",this.dispatchEvent),this.b=null);j1.L.T.call(this)\};z(l1,cJ);h=l1.prototype;h.Ad=function()\{F9(this.app,!0,this.playerType);Q4(this.app,this.playerType)\};\
|
|
h.pauseVideo=function()\{this.app.pauseVideo(this.playerType)\};\
|
|
h.Bd=function(a,b,c)\{F9(this.app,!0,this.playerType);var d=this.app,e=this.playerType;d.seekTo(d.getCurrentTime()+a,b,c,e)\};\
|
|
h.seekTo=function(a,b)\{F9(this.app,!0,this.playerType);this.app.seekTo(a,b,void 0,this.playerType)\};\
|
|
h.ik=function()\{T9(this.app)\};z(m1,gq);m1.prototype.getAdState=function()\{return-1\};n1.prototype.reset=function()\{QC(this.b)\};\
|
|
n1.prototype.g=function(a,b)\{IC(a,b,this.b)\};\
|
|
n1.prototype.info=function(a,b)\{JC(a,b,this.b)\};\
|
|
(function()\{var a=window.document;if(a&&"hidden"in a)return"hidden";var b=Gs();return b?(b=b.toLowerCase(),b+=Xa("hidden"),!p(a)||b in a?b:null):null\})();var p1=[2,5];z(F1,F);F1.prototype.T=function()\{F1.L.T.call(this);this.b.b()\};\
|
|
F1.prototype.D=function()\{this.o++;var a=q("yt.www.watch.ads.isAfcAdVisible");a&&ia(a)&&a()&&this.B++;this.B>=this.C?this.b.g():5<=this.o?this.b.b("Timed out waiting for MPU to become visible"):this.g.start()\};var P1,H1=!1,K1=!1,G1=!1;gj("showCompanionAdLoaded",function()\{K1&&(L1(),K1=!1)\});\
|
|
gj("watchAdsInit",function()\{H1&&(H1=!1,I1())\});var Zka=\{rK:0,pK:1,oK:2,qK:3,nK:4,iK:5,lK:6,mK:7,kK:8,hK:9,uK:10,gK:11,jK:12,fK:13,sK:14,eK:15,tK:16\},$ka=\{XM:0,YM:1,$M:2,ZM:3,VM:4,WM:5,QL:6\};z(S1,sk);h=S1.prototype;h.cancel=function()\{this.A&&(this.A=!1,this.Y("dragend",0,0,null));this.o&&(this.o=!1,this.Y("hoverend",0,0,null),tx(this.b),R1(this))\};\
|
|
h.vu=function(a)\{tx(this.b);this.b.S(this.g,T1("move"),this.tu);this.b.S(this.g,T1("out"),this.uu);this.b.S(this.g,"touchstart",this.Jn);this.C&&this.b.S(this.g,T1("down"),this.In);var b=rm(a);a=um(a);this.o=!0;this.Y("hoverstart",a.x,a.y,b);this.Y("hovermove",a.x,a.y,b)\};\
|
|
h.tu=function(a)\{var b=rm(a);a=um(a);if(this.B)\{var c=tm(this.B),d=um(this.B);d.x==a.x&&d.y==a.y&&c==b||this.Y("hovermove",a.x,a.y,b)\}else this.Y("hovermove",a.x,a.y,b);this.B=null\};\
|
|
h.uu=function(a)\{var b=um(a),c=tm(a);c&&Rf(this.D,c)?(this.B=a,this.Y("hovermove",b.x,b.y,c)):(tx(this.b),R1(this),this.o=!1,this.Y("hoverend",b.x,b.y,c))\};\
|
|
h.PB=function(a)\{this.vu(a);this.In(a)\};\
|
|
h.In=function(a)\{if(!ha(a.button)||0==a.button)\{tx(this.b);this.b.S(window.document,T1("move"),this.OB);this.b.S(window.document,T1("up"),this.ZG);var b=rm(a);if(Cc)this.b.S(this.g,"dragstart",this.bz);else if(vm(a),(UA||Fs)&&b)a:\{for(var c=b;c;)\{if(Xf(c)||"-1"===c.getAttribute("tabindex"))\{c.focus();break a\}c=c.parentElement\}window.document.activeElement.blur()\}this.A=!0;a=um(a);this.Y("dragstart",a.x,a.y,b);this.Y("dragmove",a.x,a.y,b)\}\};\
|
|
h.bz=function(a)\{vm(a)\};\
|
|
h.OB=function(a)\{var b=rm(a);b==window.document&&(b=null);a=um(a);this.Y("hovermove",a.x,a.y,b);this.Y("dragmove",a.x,a.y,b)\};\
|
|
h.ZG=function(a)\{tx(this.b);this.A=!1;var b=sm(a),c=rm(a);a=um(a);b&&Rf(this.D,b)?(this.b.S(this.g,T1("move"),this.tu),this.b.S(this.g,T1("out"),this.uu),this.b.S(this.g,T1("down"),this.In),this.b.S(this.g,"touchstart",this.Jn),this.Y("dragend",a.x,a.y,c)):(R1(this),this.o=!1,this.Y("dragend",a.x,a.y,c),this.Y("hoverend",a.x,a.y,c))\};\
|
|
h.Jn=function(a)\{var b=a.changedTouches[0];b&&(tx(this.b),this.b.S(this.g,"touchmove",this.$G),this.b.S(this.g,"touchend",this.wu),this.b.S(this.g,"touchcancel",this.wu),this.F=b.identifier,a=rm(a),this.o||(this.o=!0,this.Y("hoverstart",b.pageX,b.pageY,a)),this.Y("hovermove",b.pageX,b.pageY,a),this.C&&(this.A=!0,this.Y("dragstart",b.pageX,b.pageY,a),this.Y("dragmove",b.pageX,b.pageY,a)))\};\
|
|
h.$G=function(a)\{var b=U1(this,a);b&&(vm(a),a=rm(a),this.Y("hovermove",b.pageX,b.pageY,a),this.C&&this.Y("dragmove",b.pageX,b.pageY,a))\};\
|
|
h.wu=function(a)\{var b=U1(this,a);if(b)\{tx(this.b);R1(this);this.o=!1;var c=rm(a);this.C&&(this.G||vm(a),this.A=!1,this.Y("dragend",b.pageX,b.pageY,c));this.Y("hoverend",b.pageX,b.pageY,c)\}\};\
|
|
h.T=function()\{this.C&&(Cc&&this.D.removeAttribute("draggable"),this.D.style.removeProperty("touch-action"));tx(this.b);S1.L.T.call(this)\};Z1.prototype.update=function(a,b,c,d)\{this.width=b;this.o=c;this.B=d;this.b=b-c-d;this.A=bf(a-c,0,this.b);this.position=this.A+c;this.g=this.A/this.b\};z(a2,sk);h=a2.prototype;h.ed=function()\{return this.adSystem+"_"+this.adType\};\
|
|
h.Se=function()\{return this.ed()\};\
|
|
h.Ab=function()\{return this.g?this.g.Ab():null\};\
|
|
h.aq=v;h.yl=v;h.Yn=v;h.show=v;h.pk=r;z(c2,P);c2.prototype.T=function()\{c2.L.T.call(this);this.b&&(e2(this.o.app,this.b),this.b=null);f2(this);Hf(d2(this));Hf(g2(this));this.B=this.A=null;delete this.o\};z(m2,F);m2.prototype.start=function()\{(0,window.isNaN)(this.b)&&(this.o=C(),this.b=de(this.B,this.A-this.g,this))\};\
|
|
m2.prototype.stop=function()\{(0,window.isNaN)(this.b)||(this.o=this.g=0,ee(this.b),this.b=window.NaN)\};\
|
|
m2.prototype.pause=function()\{(0,window.isNaN)(this.b)||(this.g=C()-this.o,ee(this.b),this.b=window.NaN)\};\
|
|
m2.prototype.T=function()\{(0,window.isNaN)(this.b)||ee(this.b)\};z(o2,a2);o2.b=15;h=o2.prototype;h.pk=function()\{l2(this.B,13);this.M||this.g.destroy();this.C=this.F=!1;t2(this)\};\
|
|
h.ed=function()\{var a;a=this.Ab();var b=fU(a);if(4==b2(b).g)return b;if(pV(a))a=3;else if(a.isSkippable())a=qV(a)?1:2;else return this.adSystem+"_"+this.adType;return this.adSystem+"_"+this.adType+"_"+a\};\
|
|
h.Se=function()\{return this.adSystem+"_"+this.adType\};\
|
|
h.show=function()\{var a=this.b,b=n2(a);M4(a.app,b);this.B.o=Bq();this.D=this.b.Da();this.A.subscribe("progresssync",this.Jr,this);this.b.g.X&&Jf(sf("video-ad-status-bar",this.D));ke(this.D,["ad-showing","ad-interrupting"]);this.b.subscribe("resize",this.Zn,this);try\{this.o.O(this.g,"adError",this.HI),this.o.O(this.g,"click",this.GI),this.o.O(this.g,"complete",this.MC),this.o.O(this.g,"engagedview",this.fD),this.o.O(this.g,"pause",this.nv),this.o.O(this.g,"start",this.ov),this.o.O(this.g,"skip",this.KI),\
|
|
this.o.O(this.g,"MUTE_AD",this.pk),this.o.O(this.g,"skippableStateChanged",this.VE),this.o.O(this.g,"youTubeChannelMetadata",this.JD),this.o.O(this.g,"companionInitialized",this.II),this.o.O(d2(this.b.G),"mouseup",this.JI),this.Zn(),this.M||this.g.start()\}catch(c)\{u2(this,c)\}a=y1(this.b);this.b.g.B&&a.experiments.Z("ad_info_icon_in_card")&&F4(this.b,"onAdMetadataAvailable",\{showAdInfoIcon:!0\})\};\
|
|
h.qv=function(a,b,c)\{if("newdata"==a&&this.videoData!=c)\{a=new ala;a.isSkippable=this.R;a.skip=x(this.g.skip,this.g);a.muteAd=x(this.g.muteAd,this.g);a.whyThisAdClicked=x(this.g.whyThisAdClicked,this.g);a.whyThisAdClosed=x(this.g.whyThisAdClosed,this.g);a.sendAdsPing=Wp;a.skipShown=x(this.g.Ft,this.g);if(b=this.Ab())\{a.clickThroughUrl=SV(b)||"";var d;(d=this.b.g.Ca)||(d=c.lengthSeconds,(b=bW(b))?(jT(b,d),d=kT(b)):d=null);a.skipTime=d||0;a.adSystem=this.adSystem;if(b=v2(this))a.whyThisAdInfo=b;if(d=\
|
|
w2(this))a.muteAdInfo=d;var e=y1(this.b);this.b.g.B&&e.experiments.Z("ad_info_icon_in_card")&&(e=\{showAdInfoIcon:!0\},e.whyThisAdInfo=b,e.muteAdInfo=d,F4(this.b,"onAdMetadataAvailable",e))\}a.videoId=c.videoId;a.videoId||(a.videoUrl=this.Yn()||"");c.spacecastModule=this.ba;r2(this.b,-1,a)\}this.videoData=c\};\
|
|
h.pv=function(a)\{a=a.state;O(a,1)||this.H.pause();O(a,128)?u2(this,Error(a.b.message||"Video player error.")):O(a,1)&&this.H.start()\};\
|
|
h.ov=function()\{this.J=!0;this.C=!1;if(!this.F)\{this.F=!0;var a=this.B;j2(a);var b=k2(a);if((0,window.isNaN)(a.o))j2(a);else\{var c=Bq()-a.o;b.ad_stl=c\}i2(a,4,b);s2(this.b,1);q2(this,!1);this.G&&1!=this.G&&JC("yt_abt",this.G,"video_to_ad");this.videoData&&this.videoData.clientPlaybackNonce&&JC("ad_cpn",this.videoData.clientPlaybackNonce,"video_to_ad");this.videoData&&this.videoData.videoId&&JC("docid",this.videoData.videoId,"video_to_ad");JC("cpn",z1(this.b).clientPlaybackNonce,"video_to_ad");IC("apbs",\
|
|
void 0,"video_to_ad");(a=M("ADS_INSTREAM_FIRST_PLAY"))&&F4(this.b,"onAdAnnounce",a)\}r2(this.b,1);this.Y("adPlay",this)\};\
|
|
h.nv=function()\{this.J&&(this.J=!1,r2(this.b,2))\};\
|
|
h.MC=function()\{if(!this.C)\{var a=this.B;j2(a);var b=k2(a),c=a.b.yl();c?b.ad_fmt=c:j2(a);i2(a,5,b);y1(this.b).Qa&&F4(this.b,"onAdComplete");t2(this);this.C=this.F=!1\}\};\
|
|
h.fD=function()\{var a=this.B;a.b.Y("AD_LOGGING_EVENT",777,k2(a))\};\
|
|
h.KI=function()\{this.C=!0;var a=this.B,b=k2(a),c=a.b.yl();c?b.ad_fmt=c:j2(a);i2(a,14,b);y1(this.b).Qa&&F4(this.b,"onAdSkip");t2(this)\};\
|
|
h.VE=function()\{var a=M("ADS_INSTREAM_SKIPPABLE");a&&F4(this.b,"onAdAnnounce",a)\};\
|
|
h.JD=function()\{var a=this.Ab();if(a)\{var b=a.da,a=a.aa,c=y1(this.b),d=v2(this),e=w2(this);if(a&&b)f=\{\},f.videoTitle=b.title,f.channelThumbnailUrl=a.b,f.channelTitle=a.authorName,f.channelVideoCount=a.videoCount,f.showAdInfoIcon=this.b.g.B&&c.experiments.Z("ad_info_icon_in_card"),f.whyThisAdInfo=d,f.muteAdInfo=e,F4(this.b,"onAdMetadataAvailable",f);else if(this.b.g.B&&c.experiments.Z("ad_info_icon_in_card"))\{var f=\{showAdInfoIcon:!0\};f.whyThisAdInfo=d;f.muteAdInfo=e;F4(this.b,"onAdMetadataAvailable",\
|
|
f)\}\}\};\
|
|
h.II=function(a)\{a=a.event;var b=a.b;b&&b instanceof I&&this.Y("adCompanionInitialized",a.jb(),b)\};\
|
|
h.HI=function(a)\{var b=\{\};try\{b.error_code=a.event.getError().kb()\}catch(c)\{b.error_code=900,b.error_message=c.toString()\}l2(this.B,32,b);u2(this,a.event.getError())\};\
|
|
h.GI=function()\{var a=this.B;j2(a);var b=k2(a);if(a.g)\{var c=D4(a.A);b.ck_xy=Math.round(a.g.x-c.left)+"x"+Math.round(a.g.y-c.top);b.ck_wh=c.width+"x"+c.height\}i2(a,15,b);this.g.pause();this.Y("select")\};\
|
|
h.Jr=function()\{\};\
|
|
h.Dr=function()\{this.g.Mf();q2(this,!0)\};\
|
|
h.T=function()\{this.b.Fa("control_toggle_play_pause",this.rv,this);this.b.Fa("control_play",this.Um,this);this.b.Fa("control_pause",this.Tm,this);this.b.Fa("resize",this.Zn,this);mt(this.o);this.A.Fa("statechange",this.pv,this);this.A.Fa("internalAbandon",this.Dr,this);this.A.Fa("internalvideodatachange",this.qv,this);this.A.Fa("progresssync",this.Jr,this);this.M||this.g.destroy();this.K&&(Hf(this.K),this.K=null);this.N&&(Jf(this.N),this.N=null);this.D&&(ne(this.D,["ad-showing","ad-interrupting"]),\
|
|
this.D=null);this.C=!1;N4(this.b);this.H.dispose();this.H=null;o2.L.T.call(this)\};\
|
|
h.aq=function()\{return this.A.Uh()\};\
|
|
h.yl=function()\{return this.videoData&&this.videoData.g?this.videoData.g.mimeType:null\};\
|
|
h.Yn=function()\{return this.videoData&&this.videoData.la?Nz(this.videoData.la.g()):null\};\
|
|
h.rv=function()\{this.J?this.Tm():this.Um()\};\
|
|
h.Um=function()\{this.g.resume();this.ov()\};\
|
|
h.Tm=function()\{this.g.pause();this.nv()\};\
|
|
h.Zn=function()\{Zs(d2(this.b.G),this.b.app.D.Ja())\};\
|
|
h.JI=function(a)\{p(a.b)||im(a);var b=a.b;p(a.g)||im(a);this.B.g=new gf(b,a.g)\};z(z2,a2);h=z2.prototype;\
|
|
h.show=function()\{if(!this.C||!T4(this.b))\{J(this.b.Da(),"ad-showing");this.o=d2(this.b.G);var a=this.g.Ab().getHeight();this.o.style.height=Ns(a,!0);J(this.o,"ad-overlay");this.A.O(this.o,"mouseup",this.NI);try\{this.A.O(this.g,"autoClose",this.oC),this.A.O(this.g,"userClose",this.pF),this.A.O(this.g,"userRecall",this.qF),this.A.O(this.g,"click",this.MI),this.A.O(this.g,"impression",this.tD),this.A.O(this.g,"adError",this.LI),A2(this,"normal"),this.D||this.g.start(),this.$n(),this.b.subscribe("resize",\
|
|
this.rk,this),this.b.subscribe("presentingplayerstatechange",this.tv,this),this.Y("adEnd",this)\}catch(b)\{this.Y("adError",b)\}\}\};\
|
|
h.T=function()\{mt(this.A);this.b.Fa("resize",this.rk,this);this.b.Fa("presentingplayerstatechange",this.tv,this);me(this.b.Da(),"ad-showing");this.g&&(this.D||this.g.destroy(),this.g=null);this.o&&me(this.o,"ad-overlay");this.o=null;this.C=!1;z2.L.T.call(this)\};\
|
|
h.pF=function()\{this.o&&this.g&&this.g.Ab()&&(this.o.style.height=Ns(0,!0));this.C=!0;var a=this.B;a.g=C();var b=y2(a);x2(a,6,b);this.b.Y("overlay_ad_close")\};\
|
|
h.oC=function()\{this.b.Y("overlay_ad_close")\};\
|
|
h.qF=function()\{this.b.Y("overlay_ad_open")\};\
|
|
h.MI=function()\{this.b.pauseVideo();var a=this.B;a.g=C();var b=y2(a);if(a.o)\{var c=D4(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\}x2(a,100,b)\};\
|
|
h.tD=function()\{var a=M("ADS_OVERLAY_IMPRESSION");a&&F4(this.b,"onAdAnnounce",a);this.b.Y("overlay_ad_open")\};\
|
|
h.NI=function(a)\{this.B.o=a.target==a.currentTarget?null:new gf(a.pageX,a.pageY)\};\
|
|
h.LI=function(a)\{a=a.event.getError();this.Y("adError",a)\};\
|
|
h.tv=function(a)\{O(a.state,16)&&A2(this,"normal")\};\
|
|
h.rk=function()\{\};\
|
|
h.$n=function()\{var a=this.B;a.A=C();var b=y2(a);x2(a,3,b)\};z(B2,F);B2.g="rm";B2.b=10;B2.B=200;B2.o=200;B2.A=190;h=B2.prototype;\
|
|
h.load=function()\{var a;a=this.b.app.D.Ja();var b;this.b.g.b?b=!1:(b=0<(this.C&3)?190:200,b=200>a.width||a.height<b);if(b)\{b=this.o;var c=C1(b);c.ck_wh=a.width+"x"+a.height;E4(b.b,14,c);Q1();this.od(Error("The player size is too small."))\}else if(this.B=this.b.J)a=this.o,D1(a.b,9,C1(a)),a=A1(this.b),(b=this.b.g.serverPrefetchedVast)&&0<(this.C&3)?(a.g=b,this.b.g.serverPrefetchedVast=void 0):(a.b=this.Nd(),a.Bi=!this.gr()),this.B.O("adsManagerLoaded",this.mv,!1,this),this.B.O("adError",this.lv,!1,\
|
|
this),this.Ij(this.B,a)\};\
|
|
h.zl=function()\{var a=x1(this.b.g,y1(this.b),z1(this.b));a.surveyCreativeData=this.b.g.surveyCreativeData;a.YG=this.$g();return a\};\
|
|
h.$g=function()\{return this.R\};\
|
|
h.Nd=v;h.gr=function()\{return!0\};\
|
|
h.mv=function(a)\{if(a.o===this)\{IC("aml");IC("aml",void 0,"video_to_ad");try\{var b=this.zl(),c=a.b\}catch(d)\{this.Ye(d);return\}this.A.O(c,"companionBackfill",x(this.EI,this,c));this.A.O(c,"loaded",x(this.DI,this,c));this.A.O(c,"adError",x(this.CI,this,c));this.A.O(c,"allAdsCompleted",r);this.A.O(c,"contentPauseRequested",r);this.A.O(c,"contentResumeRequested",r);c=sW(a,this.b.H,\{\},b);try\{c.init("normal")\}catch(d)\{c.destroy(),this.Ye(d)\}\}\};\
|
|
h.DI=function(a,b)\{Mm(this.A);var c=b.jb(),d=c.ob(),e=this.o,f=C1(e);f.ad_man=d?"instream":"overlay";D1(e.b,12,f);e=a.Gl();switch(d?this.ug(a,c,e):this.ke(a,c))\{case 0:L2(this);break;case 1:a.destroy();this.od(Error("Unable to create a display state."));break;case 2:c=this.o;E4(c.b,21,C1(c));a.destroy();this.od(Error("Fallback to next ad."));break;case 3:this.od(Error("SpaceCast user skipping instream ad not hosted on YouTube."));break;default:a.destroy()\}\};\
|
|
h.CI=function(a,b)\{Mm(this.A);a.destroy();this.Ye(b.getError())\};\
|
|
h.lv=function(a)\{var b=a.getError();"adLoadError"==b.Fb()&&a.b===this&&this.Ye(b)\};\
|
|
h.EI=function()\{G2(this)\};\
|
|
h.ug=function(a,b,c)\{var d=z1(this.b)&&z1(this.b).spacecastModule;if(d&&c&&!this.M.test(c))return 3;E2(this,CV(b));D2(this,new o2(this.$g(),this.b,a,b.isSkippable(),void 0,d,this.g.b));return 0\};\
|
|
h.ke=function(a,b)\{E2(this,CV(b));D2(this,new z2(this.$g(),this.b,a));return 0\};\
|
|
h.Ye=function(a)\{if(a)\{var b=this.o,c=C1(b);a&&t1(a,c);E4(b.b,32,c);this.od(a)\}\};\
|
|
h.od=function()\{D3(this.F)\};\
|
|
h.T=function()\{this.B&&(this.B.sa("adsManagerLoaded",this.mv,!1,this),this.B.sa("adError",this.lv,!1,this));Mm(this.N);Mm(this.A);B2.L.T.call(this)\};\
|
|
h.Ij=function(a,b)\{try\{k1(a,b,this),IC("ar"),IC("ar",void 0,"video_to_ad")\}catch(c)\{this.Ye(c)\}\};z(H2,a2);h=H2.prototype;h.show=function()\{if(y1(this.b).experiments.Z("fix_vmap_afc_mpu_api_stats_ads"))if(G1)this.uq();else\{var a=y1(this.b).experiments;I1();M1();N1(a).then(x(this.FI,this),x(this.uq,this))\}else I1(),this.o=Wi(x(this.Vz,this),1E3)\};\
|
|
h.T=function()\{M2(this);H2.L.T.call(this)\};\
|
|
h.Vz=function()\{var a=q("yt.www.watch.ads.isAfcAdVisible");this.A++;var b=\{\};b.at=this.Se();a&&a()&&this.B++;2<=this.B?(b.format=this.ed(),M2(this),this.Y("AD_LOGGING_EVENT",3,b),this.Y("adEnd",this)):5<=this.A&&(M2(this),this.Y("AD_LOGGING_EVENT",2,b),this.Y("adEnd",this))\};\
|
|
h.FI=function()\{var a=\{\};a.at=this.Se();a.format=this.ed();this.Y("AD_LOGGING_EVENT",3,a);this.Y("adEnd",this)\};\
|
|
h.uq=function()\{var a=\{\};a.at=this.Se();this.Y("AD_LOGGING_EVENT",2,a);this.Y("adEnd",this)\};z(N2,B2);N2.prototype.zl=function()\{var a=N2.L.zl.call(this);a.kp=0==this.H;a.Ay=T4(this.b)?a.kp:!0;return a\};\
|
|
N2.prototype.Nd=function()\{var a;a=this.D;(a=4==this.C&&a.b.afvInvideoAdTag?a.b.afvInvideoAdTag:a.b.afvAdTag)?(ta(a,"http:")&&(a=a.substr(5)),a=Uj(a,\{videoad_start_delay:F2(this)\})):a="";return a\};\
|
|
N2.prototype.ke=function(a,b)\{if(this.b.g.b)return 1;1==this.g.b&&(C2(this),D1(this.b,1));return N2.L.ke.call(this,a,b)\};\
|
|
N2.prototype.od=function(a)\{var b=this.b.g;b.b?N2.L.od.call(this,a):b.aa||this.C&4?(D2(this,new H2(this.b)),L2(this)):N2.L.od.call(this,a)\};O2.prototype.b=function(a,b)\{var c,d=[];b&1&&(c=0==a?"pre":-1==a?"post":"mid;pos="+this.D,d.push("480x360"));b&2&&(c=0==a?"pre":-1==a?"post":"mid;pos="+this.D,d.push("480x361"));b&12&&d.push("480x70");var e=[],f,k;b&12&&(e.push("300x250"),f="watch-channel-brand-div",k=1);0<(b&3)&&(e.push("300x60"),f="watch-longform-ad",k=1);var l=k;k=ic(this.F);c&&(k.pos=c);l&&null==k.tile&&(k.tile=l.toString());f&&null==k.kmyd&&(k.kmyd=f);e&&0<e.length&&this.A&&null==k.ciu_szs&&(k.ciu_szs=e.join(","));k.dcmt="text/xml";\
|
|
if(this.isLiveStream||null==k.ord)\{if(!this.g||this.isLiveStream)this.g=Math.floor(999999999*Math.random()).toString();k.ord=this.g\}d&&d.length&&null!=k.sz&&"WIDTHxHEIGHT"==k.sz&&ec(k,"sz");e=Pj(k,";");d&&d.length&&null==k.sz&&(e="sz="+d.join(",")+";"+e);return[this.o,"pfadx",this.B,";",e,"?"].join("")\};P2.prototype.b=function(a,b)\{if(0<(b&3))\{var c="mid",d="midroll";0==a?(c="pre",d="preroll"):-1==a&&(c="post",d="postroll");var e=new L(this.g),f=e.b,k=f.get("scp",""),k=k?k+"&":"";-1==k.indexOf("pos")&&f.set("scp",k+("pos="+c));f.set("vpos",d);return e.toString()\}return this.g\};z(J2,z2);J2.prototype.rk=function()\{\};\
|
|
J2.prototype.ed=function()\{return"1_3"\};\
|
|
J2.prototype.$n=function()\{1==this.G?this.Y("AD_LOGGING_EVENT",2,\{\}):J2.L.$n.call(this)\};z(Q2,B2);Q2.prototype.Nd=function()\{return this.ba.b(r1(this.g),this.C)\};\
|
|
Q2.prototype.ke=function(a,b)\{E2(this,CV(b));var c=mV(b);if(v1(c,"rm"))return 1==this.C||T4(this.b)||Q1(),a.Nf(),this.b.g.H?(D2(this,new H2(this.b)),0):2;if(v1(c,"blockAllAds"))return a.Nf(),D2(this,new J2(this.b,a,1)),0;if(v1(c,"hideMaster"))return D2(this,new J2(this.b,a,0)),0;if(this.b.g.b)return 1;D2(this,new z2(this.$g(),this.b,a));return 0\};z(R2,Q2);var ila=\{GDFP:1,DART:1,DART_DFP:1,DART_DFA:1,ADSENSE:2,"ADSENSE/ADX":2\};h=R2.prototype;h.Nd=function()\{if(this.b.g.ga)\{var a=new P2(this.b.g.dynamicAllocationAdTag);return a.b(r1(this.g),this.J)\}a=new O2(this.b.g.dynamicAllocationAdTag,this.b.g,this.H);return a.b(r1(this.g),this.J)\};\
|
|
h.Ij=function(a,b)\{if(this.G)\{b.o=w1(this.G);var c=this.b.g.ia;c&&(b.C=c);b.Rh=F2(this)\}R2.L.Ij.call(this,a,b)\};\
|
|
h.ug=function(a,b,c)\{S2(this,a);return 1!=this.D&&2!=this.D?1:R2.L.ug.call(this,a,b,c)\};\
|
|
h.ke=function(a,b)\{S2(this,a);switch(this.D)\{case 1:return R2.L.ke.call(this,a,b);case 2:var c;this.b.g.b?c=1:(1==this.g.b&&(C2(this),D1(this.b,1)),E2(this,CV(b)),D2(this,new z2(2,this.b,a)),c=0);return c;default:return 1\}\};\
|
|
h.$g=function()\{return this.D||0\};\
|
|
h.od=function(a)\{var b=this.b.g;b.b?R2.L.od.call(this,a):b.aa||this.G&4?(D2(this,new H2(this.b)),L2(this)):R2.L.od.call(this,a)\};/*\
|
|
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.\
|
|
*/\
|
|
T2.prototype.cancel=function(a)\{if(this.b)this.o instanceof T2&&this.o.cancel();else\{if(this.g)\{var b=this.g;delete this.g;a?b.cancel(a):(b.F--,0>=b.F&&b.cancel())\}this.K?this.K.call(this.J,this):this.G=!0;this.b||(a=new c3,X2(this),V2(this,!1,a))\}\};\
|
|
T2.prototype.H=function(a,b)\{this.D=!1;V2(this,a,b)\};\
|
|
T2.prototype.Gi=function(a)\{X2(this);V2(this,!0,a)\};\
|
|
T2.prototype.then=function(a,b,c)\{var d,e,f=new Dd(function(a,b)\{d=a;e=b\});\
|
|
Y2(this,d,function(a)\{a instanceof c3?f.cancel():e(a)\});\
|
|
return f.then(a,b,c)\};\
|
|
Ad(T2);z(W2,sa);W2.prototype.message="Deferred has already fired";W2.prototype.name="AlreadyCalledError";z(c3,sa);c3.prototype.message="Deferred was canceled";c3.prototype.name="CanceledError";b3.prototype.g=function()\{delete a3[this.wa];throw this.b;\};\
|
|
var a3=\{\};z(d3,B2);d3.g="https://www.googleapis.com/urlshortener/v1/url?key=AIzaSyBbSB-E7SYd1iggX6r2b5C7ljvO6fVqaj0&shortUrl=";d3.o="43";d3.b=function(a)\{var b=new T2;dk(a,\{format:"RAW",method:"GET",timeout:5E3,withCredentials:!0,Lc:function()\{var c=Error(a+" timed out");X2(b);V2(b,!1,c)\},\
|
|
onError:function(c)\{c=Error("Problem loading "+a+" with status code "+c.status);X2(b);V2(b,!1,c)\},\
|
|
sb:function(a)\{b.Gi(a)\}\});\
|
|
return b\};\
|
|
d3.prototype.Nd=function()\{return""\};\
|
|
d3.prototype.Ij=function(a,b)\{var c=this.C;c&1||c&4||c&8?this.D?c&8?Xka(this.D):("goo.gl"==Mg(this.D)?(c=d3.b("https://www.googleapis.com/urlshortener/v1/url?key=AIzaSyBbSB-E7SYd1iggX6r2b5C7ljvO6fVqaj0&shortUrl="+this.D),Z2(c,function(a)\{a=cg(a.responseText);if(!a)throw Error("Invalid expanded forced ad URL.");if(!a.longUrl)throw Error("Missing forced ad URL information.");a=new L(a.longUrl);mh(a,"video_format","43");return d3.b(a.toString())\},this)):c=d3.b(this.D),Z2(c,function(c)\{b.g=c.responseText;\
|
|
k1(a,b,this)\},this),Y2(c,null,this.Ye,this)):this.Ye(Error("Invalid empty URL")):this.Ye(Error("Invalid request type: "+c))\};z(e3,P);e3.prototype.clear=function()\{for(var a=0;a<this.b.length;a++)this.b[a].detach(),Nb(this.b[a]);this.b=[]\};\
|
|
e3.prototype.F=function(a)\{vm(a);this.o=Math.max(0,this.o-f3(this));g3(this)\};\
|
|
e3.prototype.D=function(a)\{vm(a);this.o=Math.min(this.b.length-1,this.o+f3(this));g3(this)\};z(h3,GK);h=h3.prototype;h.T=function()\{h3.L.T.call(this);this.clear()\};\
|
|
h.clear=function()\{this.b.clear();this.o.stop()\};\
|
|
h.start=function()\{this.o.start();this.tn()\};\
|
|
h.tn=function()\{g3(this.b)\};\
|
|
h.Vy=function(a)\{var b=dV(a),c=eV(b),d;d=new RV(FT(c,"action",0));var e=ET(c,"merchant"),f=["div","iv-btp-card-review",["div","iv-btp-card-rating",["span","iv-btp-card-rating-bg",["span","iv-btp-card-rating-fg",\{style:"width: "+Math.floor(100*DT(c,"rating",0)/5)+"%;"\}]]],["span","iv-btp-card-reviews",ET(c,"review_text")]];.01>DT(c,"rating",0)&&(f=["div"]);var k=["div","iv-btp-card-merchant",["span","iv-btp-card-merchant-text",e]];d=\{href:hV(d),target:"_blank"\};var e=["div","iv-btp-card-image",["img",\
|
|
\{src:fV(gV(b))\}]],l=["div",["yt-ui-ellipsis","yt-ui-ellipsis-2","iv-btp-card-short-info"],["span","iv-btp-card-action",ET(c,"price")],k],b=["div","iv-btp-card-long-info",["div","iv-btp-card-text-box",["div","iv-btp-card-text-valign",["div",["yt-ui-ellipsis","yt-ui-ellipsis-4","iv-btp-card-headline"],ET(b,"headline")]]],["span","iv-btp-card-action",ET(c,"price")],k,f],c=["div","iv-btp-impressions"];a=eV(dV(a));f=\{TRIGGER_TYPE:"YOUTUBE_DRAWER_AUTO_OPEN"\};for(k=0;k<GT(a,"event");k++)\{var m=new XW(FT(a,\
|
|
"event",k));7==m.Fb()&&(m=lu(ET(m,"base_url"),f),c.push(["img",\{src:m\}]))\}return new P(["div","iv-btp-card",["a","iv-btp-card-content",d,e,l,b,c]])\};\
|
|
h.Rz=function()\{this.C.start()\};var i3=null;z(j3,a2);j3.prototype.show=function()\{var a=z1(this.b).videoId;if(a)\{var b=this.g.Ab();cz(y1(this.b).G,a,\{uf:hW(b)||null,Qg:iW(b)||null\});y1(this.b).experiments.Z("enable_pla_desktop_shelf")&&pla(this);a=\{\};a.format=this.ed();a.at=this.Se();u1(b,a);this.Y("AD_LOGGING_EVENT",3,a)\}\};z(k3,B2);k3.prototype.Nd=function()\{return this.b.g.Ia||""\};\
|
|
k3.prototype.gr=function()\{return!1\};\
|
|
k3.prototype.ke=function(a,b)\{E2(this,CV(b));D2(this,new j3(this.b,a));5!=this.g.b&&G2(this);return 0\};\
|
|
k3.prototype.ug=function()\{return 1\};z(l3,k3);l3.prototype.Nd=function()\{return this.b.g.forceAdUrl||""\};z(I2,z2);I2.prototype.rk=function()\{\};\
|
|
I2.prototype.ed=function()\{return"4_3"\};z(u3,B2);\
|
|
u3.prototype.Nd=function()\{var a;if(A(this.D)||0!=r1(this.g))\{var b=this.G;if(b.b.La&&b.b.qa)\{a=\{\};var c="youtube_watch_"+b.g;a.nw="10613";a.asnw=b.b.La;a.ssnw=b.b.La;a.caid=b.b.qa;a.vdur=b.C;a.csid=c;a.resp="vast2";a.metr="121";c=\{\};(0,window.isNaN)(b.b.na)||(c._fw_d_001=b.b.na);b.b.gender&&(c._fw_d_002=b.b.gender);b.b.ua&&(c["_fwu:10613:lang"]=b.b.ua);b.b.gb&&(c._fw_dbp=b.b.gb);b.b.ea&&(c._fw_distributorvideoassetid=b.b.ea);c._fw_yt_type=t3(b)?"long":"short";if(n3(b))\{a.prof=t3(b)?"10613:youtube_html5_w_midroll":"10613:10613_youtube_html5_2014";\
|
|
a.crtp="youtube";a.flag=q3(b.o)?"+slcb+qtcb+amcb+exvt+emcr":"+slcb+qtcb+amcb+emcr";var d="",e;if(b.B&1&&!b.D)\{e=\{\};d=o3(b);if(s3(b.o))\{var f;if(s3(b.o))\{f=0;var k=b.A.o;if(k)for(var k=k.o,l=0;l<k.length&&(s3(k[l])&&f++,k[l].getId()!=b.o.getId());l++);\}else f=0;d+=f\}e.slid=d;e.ptgt="a";e.slau=p3(b);e.tpos=r3(b.o)?b.C.toString():r1(b.o.rb).toString();d=Pj(e,"&")+";";e=\{slid:"page_display1",w:"300",h:"60",ptgt:"s",slau:"display",flag:"+cmpn"\};d+=Pj(e,"&")+";"\}b.B&4&&(e=\{slid:"overlay",ptgt:"a",slau:"overlay"\},\
|
|
e.tpos=q3(b.o)?"10":r3(b.o)?b.C.toString():r1(b.o.rb).toString(),d+=Pj(e,"&")+";",e=\{slid:"page_display2",w:"300",h:"250",ptgt:"s",slau:"display",flag:"+cmpn"\},d+=Pj(e,"&")+";");b.B&8&&(e=\{slid:"dis",w:"300",h:"250",ptgt:"s",slau:"display",flag:"+cmpn"\},d+=Pj(e,"&")+";");b=d.substr(0,d.length-1);a="//2975c.v.fwmrm.net/ad/g/1?"+Pj(a,"&")+";"+Pj(c,"&")+";"+b\}else e="10613:10613_youtube_"+b.g.split("_")[0],a.prof="10613:10613_youtube_"+b.g,a.crtp="vast2s",a.flag="+emcr",d=\{\},b.D||(d.ptgt="a",d.slid=\
|
|
"preroll",d.slau=p3(b),d.w="480",d.h="360",d.tpos="0",d.tpcl="preroll",d.envp=e,d.cd="1440,900"),a="//2975c.v.fwmrm.net/ad/g/1?"+Pj(a,"&")+";"+Pj(c,"&")+";"+Pj(d,"&")\}else a=""\}else a=this.D;return a\};\
|
|
u3.prototype.ug=function(a,b)\{return u3.L.ug.call(this,a,b,null)\};\
|
|
u3.prototype.ke=function(a,b)\{var c=mV(b);return v1(c,"rm")?(this.F.B=hc(a),2):this.b.g.b?1:v1(c,"hideMaster")?(a.F&&a.F.yf()&&a.F.yf().Nt(Rha(a.Ab())),D2(this,new I2(this.b,a)),0):u3.L.ke.call(this,a,b)\};v3.prototype.Fb=function()\{return this.o\};\
|
|
v3.prototype.create=function(a,b)\{switch(this.o)\{case 1:return new N2(a,b,this.b);case 2:return new Q2(a,b,this.b);case 3:return new R2(a,b,this.b,this.g);case 5:return new u3(a,b,this.b);case 4:return new d3(a,b);case 7:return new k3(a,b,this.b);case 8:return new l3(a,b,this.b);default:return null\}\};z(w3,sk);h=w3.prototype;h.getId=function()\{return this.wa\};\
|
|
h.show=function()\{this.F?this.b instanceof z2&&A2(this.b,"normal"):(this.F=!0,this.b instanceof o2&&A3(this.o,"bs"),this.b.subscribe("adEnd",this.Ir,this),this.b.subscribe("adError",this.jv,this),this.b.subscribe("AD_LOGGING_EVENT",this.hs,this),this.b.subscribe("select",this.hv,this),this.b.subscribe("adCompanionInitialized",this.kv,this),this.b.show(),C3(this,!0))\};\
|
|
h.Ir=function()\{this.g&&(E3(this),G4(this.o));K2(this)\};\
|
|
h.jv=function(a)\{if(a)\{var b=\{\};t1(a,b);B3(this,b);E4(this.o,32,b)\}E3(this);K2(this)\};\
|
|
h.hs=function(a,b)\{B3(this,b);D1(this.o,a,b)\};\
|
|
h.hv=function()\{this.D=!1\};\
|
|
h.kv=function(a,b)\{this.Y("adCompanionInitialized",a,b)\};\
|
|
h.T=function()\{E3(this);this.b=null;null!=this.B&&(this.B.dispose(),this.B=null);w3.L.T.call(this)\};var J3=[new q1(1)];var wla=\{tx:"m",Vw:"f"\};z(K3,F);K3.prototype.B=function(a)\{a=null!=a.jb()?a.jb().C:null;if(null!=a)\{var b=this.C;b.B&&b.B.getVideoData().videoId==a?(a=b.B,a.o?(b=a.o,a=Yu(b,"engage"),a.A=1,b=oG(b.b),a=qa(Ru,a.La,Tu(a),Qu(a),b)):a=null):a=null;this.g=a\}\};\
|
|
K3.prototype.A=function()\{this.b&&this.g&&this.g()\};z(M3,F);M3.prototype.N=function()\{this.o=window.NaN\};\
|
|
M3.prototype.J=function()\{if(O(qs(this.b.b),8))\{if(N3(this))\{this.C=this.C||C()/1E3;this.F&&(this.B+=C()/1E3-this.F);var a=this.b.getCurrentTime(1);0!=this.g&&Math.abs(a-this.g)>this.R?(this.g=this.b.getCurrentTime(1),O3(this,"seek"),this.B=0,this.A.push(C()/1E3)):(0,window.isNaN)(this.o)&&0!=this.g&&(O3(this,"pause"),this.B=0,this.A.push(C()/1E3));Xi(this.o);this.o=window.NaN;this.g=0\}\}else O(qs(this.b.b),4)&&0==this.g&&N3(this)&&(this.g=this.b.getCurrentTime(1),this.o=Vi(x(this.N,this),1E3*this.M),\
|
|
this.F=C()/1E3)\};\
|
|
M3.prototype.T=function()\{Xi(this.o);this.o=window.NaN;this.g=0;this.b.Fa("applicationplayerstatechange",this.J,this)\};z(P3,F);h=P3.prototype;h.Xt=function()\{this.b.subscribe("beginseeking",this.Ii,this)\};\
|
|
h.Rt=function(a,b)\{return a.g&&s3(a)?b+this.A+this.o:b\};\
|
|
h.Qt=function(a,b)\{return!a.g||r3(a)||0x7ffffffffffff==b||0x8000000000000==b?b:b+this.A+this.o\};\
|
|
h.fp=function(a)\{if(a.g&&s3(a)&&!(0>=this.o))\{var b=\{priority:2,id:String(a.getId()),style:"ytp-ad-fadeout"\},c=z3(a)+this.A,b=new dq(c,c+this.o-1,b);this.B[a.getId()]=b;this.b.wb([b])\}\};\
|
|
h.wv=function(a)\{a.g&&s3(a)&&(Q3(this,a.getId()),this.Ii())\};\
|
|
h.Ii=function()\{(0,window.isNaN)(this.g)||(Xi(this.g),this.g=window.NaN);var a=K4(this.b);S3(this,a,this.b.app.$a.Mb()/100);a.nc("transition","");a.nc("opacity","1")\};\
|
|
h.xv=function(a)\{var b=z3(a)+this.A+this.o,b=50>=1E3*this.b.getCurrentTime(1)-b;a.g&&s3(a)&&b&&(a=.001*(z3(a)+this.D),this.b.seekTo(a),0>=this.C||(a=K4(this.b),a.nc("opacity","0"),S3(this,a,0),Vi(x(this.OI,this),0)))\};\
|
|
h.OI=function()\{var a=K4(this.b);a.nc("transition","opacity "+String(this.C)+"ms linear");a.nc("opacity","1");R3(this,a,this.C,1)\};\
|
|
h.vv=function(a,b,c)\{if(!(0,window.isNaN)(this.g))\{var d=Math.max(1,b-C()),d=-1*a.Dd()*c/d,d=Math.max(0,a.Dd()+d);S3(this,a,d);this.g=0<d?Qq(x(this.vv,this,a,b,c),c):window.NaN\}\};\
|
|
h.uv=function(a,b,c)\{if(!(0,window.isNaN)(this.g))\{var d=Math.max(1,b-C()),e=this.b.app.$a.Mb()/100,d=(e-a.Dd())*c/d,d=Math.min(e,a.Dd()+d);S3(this,a,d);this.g=d<e?Qq(x(this.uv,this,a,b,c),c):window.NaN\}\};\
|
|
h.T=function()\{this.Ii();this.b.Fa("beginseeking",this.Ii,this)\};z(T3,P3);h=T3.prototype;h.Xt=r;h.Rt=function(a,b)\{return b\};\
|
|
h.Qt=function(a,b)\{return b\};\
|
|
h.fp=r;h.wv=r;h.xv=r;h.T=r;z(U3,F);U3.prototype.A=function()\{var a=this.b.g.g;if(this.B&&!(0>=a))\{var b=this.b.b.getCurrentTime(),c=[],d=null,e=Number.MAX_VALUE;Pb(this.D.A,function(a)\{a.isDisposed();if(a.isVisible&&!(0>=W3(this,a)))\{var f;f=a.getId();f=this.D.D[f];if(W3(this,a)>b)\{var k=!X3(this,a);k!=f.visible&&(f.visible=k,c.push(f));k||(f=W3(this,a)-b,f<e&&(e=f,d=a))\}else f.visible||(f.visible=!0,c.push(f))\}\},this);\
|
|
0<c.length&&this.b.b.wb(c,1);if(d)\{var f=0;0<this.o&&(f=C()/1E3-this.o);zla(this,a-f-e+2)\}else V3(this)\}\};\
|
|
U3.prototype.g=function()\{return this.o\};\
|
|
U3.prototype.T=function()\{V3(this);this.b.Fa("endseeking",this.A,this)\};z(Y3,F);h=Y3.prototype;h.Dg=function(a)\{a.Fa("adBreakComplete",this.Dg,this);a.Fa("adCompanionInitialized",this.Qm,this);this.N=Vi(x(this.UB,this,a),0)\};\
|
|
h.Qm=function(a,b)\{Nb(this.J);this.J=new K3(this.g,b)\};\
|
|
h.UB=function(a)\{var b=Bla(this,a),c=b.previous,b=b.next;this.N=window.NaN;var d,e=!1;switch(a.rb.b)\{case 5:d=0x7ffffffffffff;e=!0;break;case 3:d=0x8000000000000;break;default:d=b&&ha(b.rb.g)?z3(b)-1:0x7ffffffffffff\}0==a.wa&&(A3(this.g,"bl"),y3(a)||A3(this.g,"fb"));"loaded"!=a.A||0==a.wa&&y3(a)&&b&&1E3*this.g.b.getCurrentTime()>=z3(b)?(c&&x3(c)&&!e&&(b=d,d=z3(c),d>b&&(b=d),a4(this,c),$3(this,c,b)),this.xf(a)):(this.A[a.getId()]=a,$3(this,a,d),kq(this.g));Ub(this.A)==this.o.length&&this.B.A();Z3(this)\};\
|
|
h.xf=function(a)\{a.Fa("adBreakComplete",this.Dg,this);this.b&&a==this.b&&(this.b=null,null!=this.J&&a.g&&(this.J.b=!0));a4(this,a);pb(this.o,a);delete this.A[a.getId()];Nb(a)\};\
|
|
h.qk=function(a)\{return this.A[a]\};\
|
|
h.Mm=function(a)\{if(a.g)for(!r3(a)&&a.D?(R4(this.g),this.C.xv(a)):y3(a)&&!a.D?R4(this.g):P4(this.g),this.xf(a),a=this.B.g(),a=\{tfla:0<a?Math.floor(C()/1E3-a):0\},c4(this.g.ba,"set_previous_ad_end_time",a),a=this.B,a.B&&0<a.b.g.g&&(a.o=C()/1E3,a.A());!kb(this.M);)d4(this,this.M.shift());else a.isVisible||this.xf(a)\};\
|
|
h.T=function()\{Xi(this.N);Nb(this.C);Nb(this.B);Nb(this.ga);D(this.o,this.xf,this);Y3.L.T.call(this);Nb(this.J)\};z(e4,Y3);h=e4.prototype;h.qk=function(a)\{a=e4.L.qk.call(this,a);if(!a)return null;if(!a.G)return a;var b;b=null;if(this.F.length)\{var c=b=this.F.shift();c.rb=a.rb;c.wa=a.getId()\}b&&"loaded"==b.A?(a.Fa("adBreakComplete",this.Dg,this),this.A[a.getId()]=b,this.o[this.o.indexOf(a)]=b,Nb(a)):(this.Gg(),b&&(Nb(b),b=null,this.xf(a)));b&&!b.g&&this.Gg();return b\};\
|
|
h.Dg=function(a)\{!q3(a)&&(2!=a.rb.b||10!=r1(a.rb))||"loaded"==a.A&&a.g||this.Gg();e4.L.Dg.call(this,a)\};\
|
|
h.Mm=function(a)\{a.g&&10<this.R?(f4(this),this.ba=Vi(x(this.Gg,this),1E3*(this.R-10))):this.Gg();e4.L.Mm.call(this,a)\};\
|
|
h.Gg=function()\{if(!this.isDisposed())for(f4(this);this.H.length&&this.K.length+this.F.length<this.X;)\{var a=this.H.shift();a.subscribe("adBreakComplete",this.Hr,this);this.K.push(a);D3(a)\}\};\
|
|
h.Hr=function(a)\{a.Fa("adBreakComplete",this.Hr,this);pb(this.K,a);this.F.push(a)\};\
|
|
h.T=function()\{f4(this);D(this.K,Nb);D(this.F,Nb);D(this.H,Nb);e4.L.T.call(this)\};z(g4,Y3);g4.prototype.getVideoData=function()\{return null\};\
|
|
g4.prototype.da=function(a)\{"loaded"==a.A&&this.H.push(a);a.Fa("adBreakComplete",this.da,this)\};\
|
|
g4.prototype.R=function()\{if(null!=this.b&&0<this.H.length)\{var a=this.H.shift();delete this.A[r1(a.rb)];var b=Math.floor(C()/1E3)-this.ca;this.ca=null;a.Fa("adBreakComplete",this.R,this);this.xf(a);this.b=null\}0<this.K?(this.K--,h4(this)):(R4(this.ba),(0,window.isFinite)(b)&&(this.X?this.F.seekTo(window.Infinity,!0):this.F.seekTo(this.F.getCurrentTime()+b,!0)))\};var i4=[];z(l4,F);l4.prototype.D=function()\{this.b||(this.b=k4(this.A.ne()));this.g.b.wb(Xb(this.b),1)\};\
|
|
l4.prototype.o=function()\{if(this.b)\{var a=this.g.b.getCurrentTime(),b=[],c=null,d=Number.MAX_VALUE;D(this.A.ne(),function(e)\{var f=this.b[e];if(f)\{var k=this.A.K.get(e);k&&k.Fc>a?(e=!c1(this.F,k),e!=f.visible&&(f.visible=e,b.push(f)),e||(f=k.Fc-a,f<d&&(d=f,c=k))):!k||k.Wa()?(xJ(this.g.b,[f],void 0),delete this.b[e]):!f.visible&&k&&(f.visible=!0,b.push(f))\}\},this);\
|
|
0<b.length&&this.g.b.wb(b,1);var e=this.g.g.g;if(0>=e)if(c)\{var f=0;0<this.C&&(f=C()/1E3-this.C);Ela(this,e-f-d+2)\}else m4(this)\}\};\
|
|
l4.prototype.T=function()\{l4.L.T.call(this);this.g.Fa("endseeking",this.o,this);m4(this)\};z(n4,F);h=n4.prototype;h.hq=function()\{return 4\};\
|
|
h.Sj=function(a)\{return a\};\
|
|
h.Vs=function()\{return!1\};\
|
|
h.gp=r;h.di=r;h.yv=r;h.zv=r;h.Av=r;z(o4,F);h=o4.prototype;h.hq=function()\{return 4-this.A/1E3\};\
|
|
h.Sj=function(a)\{return $b(this.o,1E3*a)?this.o[1E3*a]/1E3:a\};\
|
|
h.Vs=function(a)\{var b=!1,c=\{\};D(Mf(a),x(function(a)\{var d;if(d=(d=a.getAttribute("timeOffset"))?j4(d):null)b=b||Fla(a),c[d]=a\},this));\
|
|
if(!b||0==Ub(c))return!1;a=Ii(Yb(c),function(a)\{return(0,window.parseInt)(a,10)\});\
|
|
if(!Ila(this,a))return!1;Pb(c,x(function(a,b)\{var c=(0,window.parseInt)(ac(this.o,function(a)\{return a==b\}),10);\
|
|
c&&a.setAttribute("timeOffset",Gla(c))\},this));\
|
|
return!0\};\
|
|
h.gp=function(a)\{if(!(0>=this.G))\{var b=[];D(a,x(function(a)\{if($b(this.o,1E3*a))\{var c=new dq(1E3*this.Sj(a)+this.A,1E3*a+500,\{priority:2,id:String(a),style:"ytp-ad-fadeout"\});this.B[a]=c;b.push(c)\}\},this));\
|
|
this.b.wb(b)\}\};\
|
|
h.yv=function(a)\{if($b(this.o,1E3*a))\{var b=K4(this.b);null!==b&&(a=Math.max(0,1E3*a-1E3*this.b.getCurrentTime(1)),b.nc("transition","opacity "+String(a)+"ms linear"),b.nc("opacity","0"),q4(this,b,a,0))\}\};\
|
|
h.zv=function(a)\{p4(this,1E3*a)&&(this.B[a]&&(xJ(this.b.b,[this.B[a]],void 0),delete this.B[a]),this.di())\};\
|
|
h.Gv=function()\{O(qs(this.b.b),4)&&this.di()\};\
|
|
h.di=function()\{var a=K4(this.b);null!==a&&(null!=this.g&&(Xi(this.g),this.g=null),r4(this,a,this.b.app.$a.Mb()/100),a.nc("transition",""),a.nc("opacity","1"))\};\
|
|
h.Av=function(a)\{if($b(this.o,1E3*a))\{var b=1E3*a;200>=1E3*this.b.getCurrentTime(1)-b&&(this.b.seekTo(this.Sj(a)+this.F/1E3),0>=this.C||(a=K4(this.b),null!==a&&(a.nc("opacity","0"),r4(this,a,0),null!=this.g&&Xi(this.g),this.g=Qq(x(this.ZI,this),0))))\}\};\
|
|
h.ZI=function()\{var a=K4(this.b);null!==a&&(a.nc("transition","opacity "+String(this.C)+"ms linear"),a.nc("opacity","1"),q4(this,a,this.C,1))\};\
|
|
h.Fv=function(a,b,c)\{if(null!==this.g)\{var d=Math.max(1,b-C()),d=-1*a.Dd()*c/d,d=Math.max(0,a.Dd()+d);r4(this,a,d);0<d?this.g=Qq(x(this.Fv,this,a,b,c),c):this.g=null\}\};\
|
|
h.Ev=function(a,b,c)\{if(null!==this.g)\{var d=Math.max(1,b-C()),e=this.b.app.$a.Mb()/100,d=(e-a.Dd())*c/d,d=Math.min(e,a.Dd()+d);r4(this,a,d);d<e?this.g=Qq(x(this.Ev,this,a,b,c),c):this.g=null\}\};\
|
|
h.T=function()\{this.di();this.b.Fa("applicationplayerstatechange",this.Gv,this);o4.L.T.call(this)\};z(s4,F);var Nla=\{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,GOOGLEADS:14\};h=s4.prototype;\
|
|
h.load=function(a)\{if(this.G=this.b.J)\{var b=this.b.g;this.B=b.applyFadeOnMidrolls?new o4(this.b):new n4;var c=A1(this.b);c.g=Kla(this,a);c.ej=this.b.H.C;c.Eb.TSLA=Wka(this);c.Eb.GET_MIDROLL_POSITION_IN_SEC=x(this.B.Sj,this.B);c.Eb.DESCRIPTION_URL="http://www.youtube.com/video/"+z1(this.b).videoId;if(a=F3(b).get(3))if(c.o=w1(a),b=b.ia)c.C=b;this.G.O("adsManagerLoaded",this.Cv,!1,this);this.G.O("adError",this.Bv,!1,this);k1(this.G,c,this);A3(this.b,"bd")\}\};\
|
|
h.Cv=function(a)\{if(a.o===this)\{var b=\{\};Object.defineProperty(b,"currentTime",\{get:x(function()\{return this.b.getCurrentTime(1)\},this),\
|
|
enumerable:!0\});Object.defineProperty(b,"duration",\{get:x(function()\{return this.b.b.getVideoData().lengthSeconds\},this),\
|
|
enumerable:!0\});try\{var c=Lla(this);this.g=sW(a,this.b.H,b,c)\}catch(d)\{z4(this,d);return\}if(this.D=this.g.Kt(b,this.b.g.g))\{this.B.gp(this.g.ne());this.M=new M3(this.b,this.D);this.F=new l4(this.b,this.g,this.D);H(this,this.F);Vi(x(this.F.D,this.F),0);ib(this.g.ne(),0)||y4(this);this.C.O(this.g,"companionBackfill",x(this.VI,this));this.C.O(this.g,"prefetched",x(this.YB,this));this.C.O(this.g,"loaded",x(this.SI,this));this.C.O(this.g,"adError",x(this.RI,this),!1);this.C.O(this.g,"start",x(this.TI,\
|
|
this));this.C.O(this.g,"complete",x(this.QI,this));this.C.O(this.g,"companionInitialized",x(this.WI,this));this.C.O(this.g,"contentPauseRequested",x(this.XI,this));this.C.O(this.g,"contentResumeRequested",x(this.YI,this));this.C.O(this.g,"allAdsCompleted",x(this.cC,this));L3(this.b,this.Dv,this);try\{this.g.init("normal"),this.g.start()\}catch(d)\{c4(this.b.ba,"vmap_ads_manager_init_exception",void 0),this.g.destroy(),this.g=null,z4(this,d)\}\}\}\};\
|
|
h.Dv=function()\{if(O(qs(this.b.b),16)||O(qs(this.b.b),32))\{var a=this.g;null!=a.C&&(a=a.C,a.b.stop(),a.g=!1)\}else a=this.g,null!=a.C&&Z0(a.C)\};\
|
|
h.WI=function(a)\{if(a=a.b)Nb(this.J),this.J=new K3(this.b,a)\};\
|
|
h.XI=function(a)\{A4(this);if((this.o=a.jb())&&this.o.ob())\{a=u4(this.o);var b=x4(this.o);this.A=new o2(a,this.b,this.g,this.o.isSkippable(),!0,void 0,b);1!=b&&TC("video_to_ad",["apbs"]);b4(this.b);this.B.zv(this.o.A.b);this.A.show();t4(this,"show_instream_ads")\}\};\
|
|
h.YI=function(a)\{y4(this);this.b.getCurrentTime(1)<this.b.b.getVideoData().lengthSeconds&&(R4(this.b),this.o&&this.o.ob()&&(this.B.Av(this.o.A.b),null!=this.J&&(this.J.b=!0)));a=a.jb();this.H?this.o=null:y1(this.b).experiments.Z("fix_vmap_afc_mpu_api_stats_ads")&&!a&&this.A instanceof H2||A4(this);var b=!0;if(a&&a!==this.o&&!a.ob())\{b=this.g;if(null!=b.o&&b.o.R&&!this.H)\{this.H=!0;b=this.F;if(null!=b.b[0])\{var c=b.b[0];delete b.b[0];b.b[0]=new dq(1E4,c.end,\{id:"10",visible:!0\});c.visible=!1;b.g.b.wb([c,\
|
|
b.b[0]],1);b.g.wb([b.b[0]])\}this.o=a;return\}b=Mla(this,a)\}this.o&&this.o.ob()&&G4(this.b);this.o&&this.o.ob()?(t4(this,"set_previous_ad_end_time"),b=this.D,0<b.o&&(b.b=C()/1E3),b=this.F,b.C=C()/1E3,b.o()):a&&a!==this.o&&!a.ob()&&b&&(b=this.F,b.C=C()/1E3,b.o());this.F.D();this.o=a\};\
|
|
h.cC=function()\{this.M.G=!0\};\
|
|
h.TI=function(a)\{(a=a.jb())&&this.A&&(a=u4(a),this.A.adSystem=a)\};\
|
|
h.QI=function(a)\{a.jb().ob()||this.o!==a.jb()||(A4(this),this.o=null)\};\
|
|
h.YB=function(a)\{var b=a.jb();if(null!=b)\{var c=a.b.adBreakTime;this.R[c]=b;this.N||(A3(this.b,"bl"),0==c&&a.jb().ob()||A3(this.b,"fb"),this.N=!0)\}\};\
|
|
h.SI=function(a)\{if(null!=a.jb())\{a.jb().ob()&&A3(this.b,"bs");var b=a.jb().A;0<b.b&&(this.H=!1);b.A||a.jb().ob()||y4(this)\}\};\
|
|
h.RI=function(a)\{z4(this,a.getError())\};\
|
|
h.Bv=function(a)\{var b=a.getError();"adLoadError"==b.Fb()&&a.b===this&&z4(this,b)\};\
|
|
h.VI=function(a)\{w4(this,a&&a.jb())\};\
|
|
h.T=function()\{A4(this);this.G&&(this.G.sa("adsManagerLoaded",this.Cv,!1,this),this.G.sa("adError",this.Bv,!1,this));Mm(this.ba);Mm(this.C);this.b.b.removeEventListener("applicationplayerstatechange",this.Dv,this);this.K=!1;this.g&&(this.g.destroy(),this.g=null);Nb(this.B);Nb(this.M);Nb(this.J);s4.L.T.call(this)\};\
|
|
h.SD=function(a,b,c)\{if(y1(this.b).experiments.Z("fix_vmap_afc_mpu_api_stats_ads"))\{if(a)\{a=a.Fc;var d=1;-1==a?d=3:0<a&&(d=2);c.break_type=d;c.sst=a;c.sidx=0\}D1(this.b,b,c)\}\};z(B4,m1);B4.o=10;B4.g=1E3;B4.b="livead";B4.Bb=function(a)\{return!!a.$a.getVideoData().adModule\};\
|
|
h=B4.prototype;h.Bb=function()\{return B4.Bb(this.app)\};\
|
|
h.create=function()\{B4.L.create.call(this);this.K.S(this.b,"beginseeking",x(this.Y,this,"beginseeking"));this.K.S(this.b,"endseeking",x(this.Y,this,"endseeking"));this.K.S(this.b,"resize",x(this.Y,this,"resize"));this.K.S(this.b,"presentingplayerstatechange",x(this.Y,this,"presentingplayerstatechange"));this.K.S(this.b,"webglsettingschanged",x(this.Y,this,"webglsettingschanged"));A3(this,"i");this.g=new yla(y1(this),this.b.getVideoData().A||\{\});this.C=new Cla(this,this.b);this.X=!1;if(this.J)this.J.b.o.B=\
|
|
LM();else\{var a=this.g.X?void 0:g2(this.G),b=new l1(this.app,2),c=d2(this.G);b.g||(b.g=hc(b.o),b.g.addEventListener=x(b.iz,b),b.g.removeEventListener=x(b.jz,b));this.H=new zS(c,void 0,a,b.g,!0);this.H.setSize(-1,-1);this.J=new j1(this.H)\}if(this.g.vmap&&!this.g.ca)\{this.A=new s4(this);try\{this.A.load(this.g.vmap)\}catch(d)\{Zi(d),c4(this.ba,"vmap_load_exception",void 0),this.A.dispose(),this.A=null,O4(this,I3(new H3(this)))\}\}else O4(this,I3(new H3(this)));this.C&&(a=\{\},a.allowed=this.C.g,mq(this,\{\},\
|
|
a))\};\
|
|
h.destroy=function()\{this.R&&P4(this);this.app.V.experiments.Z("disable_new_pause_state3")||iq(this);N4(this);Ob(this.o,this.B,this.A);this.C=this.g=this.A=this.aa=this.B=this.o=null;f2(this.G);K1=H1=G1=!1;M1();this.D&&B4.L.destroy.call(this)\};\
|
|
h.getPresentingPlayerType=function()\{return this.app.getPresentingPlayerType()\};\
|
|
h.isFullscreen=function()\{return this.b.isFullscreen()||this.g.C\};\
|
|
h.bi=function()\{var a;if(this.C)\{a=this.C;var b=\{allowed:a.g\};a.b.excludedAds&&(b.ex_ad=a.b.excludedAds);a.o&&(b.at=a.o);a=b\}else a=B4.L.bi.call(this);return a\};\
|
|
h.Da=function()\{return this.b.Da()\};\
|
|
h.getVideoData=function()\{return this.aa\};\
|
|
h.getCurrentTime=function(a)\{return this.app.getCurrentTime(a)\};\
|
|
h.pauseVideo=function()\{var a=this.app;Vi(function()\{a.pauseVideo()\},0)\};\
|
|
h.seekTo=function(a)\{var b=this.app;Vi(function()\{b.seekTo(a)\},0)\};\
|
|
h.getAdState=function()\{return this.N\};\
|
|
h.Xd=function(a)\{B4.L.Xd.call(this,a);var b=(0,window.parseInt)(a.getId(),10);if(this.o&&!(0,window.isNaN)(b))if("ytp-ad-fadeout"==a.style)\{var c=this.o,d=c.qk(b);if(d&&!X3(c.B,d)&&(c=c.C,d.g))\{var e=K4(c.b),d=Math.max(0,z3(d)+c.A+c.o-1E3*c.b.getCurrentTime(1));e.nc("transition","opacity "+String(d)+"ms linear");e.nc("opacity","0");R3(c,e,d,0)\}\}else d4(this.o,b);this.A&&!(0,window.isNaN)(b)&&("ytp-ad-fadeout"==a.style?(d=this.A,(c=d.R[b])&&c.ob()&&d.B.yv(b)):0>b?(b=this.J.b,d=new tW("contentComplete"),\
|
|
b.dispatchEvent(d),d.b&&(ZL(XL(),420706009)||b.o.clear(),null!=b.g&&(d=b.g.yf(),null!=d&&TS(d,b.o.b)))):(b=this.A,null!=b.o&&(b=b.g,null!=b.o&&b.o.start())));if("livead"===a.getId()&&null!=H4(this))\{b=H4(this);for(a=Math.floor(a.start/1E3);p(b.A[a]);)a++;d=b.ea++;c=0==a?new q1(1):new q1(2,a);d=new w3(b.ba,d,c,G3(b.ba.g,c.b),!1);b.A[a]=d;d.subscribe("adBreakComplete",b.da,b);D3(d)\}\};\
|
|
h.qe=function(a)\{B4.L.qe.call(this,a);var b=(0,window.parseInt)(a.getId(),10),c=1E3*this.getCurrentTime(1);this.o&&!(0,window.isNaN)(b)&&c>a.start&&(0x8000000000000==a.end||0x7ffffffffffff==a.end)&&(c=this.o,(b=c.A[b])&&c.b==b&&!b.g&&b.isVisible&&b.F&&b.b instanceof z2&&A2(b.b,"fullscreen"));this.A&&"ytp-ad-fadeout"==a.style&&this.A.B.di();"livead"===a.getId()&&null!=H4(this)&&1E3*this.getCurrentTime(1)>=a.start&&(xJ(this.b,[a],1),h4(H4(this)))\};\
|
|
h.Ac=function(a)\{this.Y(a)\};\
|
|
h.TC=function(a)\{var b=H4(this);if(null!=b&&null!=b.F)\{var c=H4(this).F.getCurrentTime();D(a,function(a)\{0!=c&&a.ae>c&&(a=new dq(1E3*Math.floor(c+Math.random()*Math.max(a.ae-10-c,0)),1E3*a.ae,\{id:"livead",priority:2\}),this.wb([a],1))\},this)\}\};\
|
|
h.Ae=function(a)\{switch(a)\{case "addata":var b=this.g;return\{adTag:b.adTag,adTest:b.Oa,forceAdType:b.forceAdType,isAfvSkippableInstreamEnabled:b.J,isAfvStandardInstreamEnabled:b.K,isBlazer:b.B,isDoubleClickEnabled:b.G,isForcedAd:b.ca,isFreeWheelEnabled:b.M,isHouseBrandPlayer:b.Ub,isLeanback:b.C,isShortform:b.Ga,tagForChildDirected:b.tagForChildDirected\};case "adstate":return this.getAdState();case "midrollfreqcap":if(this.A)return b=this.g.g,null!=b?b:0;b=this.o instanceof e4?this.o:null;return null!=\
|
|
b?b.R:0;case "breakscount":return this.A?(b=this.A,b=null!=b.g?b.g.ne().length:0):b=this.o?this.o.o.length:0,b;case "displaystate":return b=null,this.o&&this.o.b&&(b=this.o.b.b),\{adFormat:b instanceof a2?b.adType:!1,adSkipped:b instanceof o2?b.C:!1,hasVideoStarted:b instanceof o2?b.F:!1,skippable:b instanceof o2?b.R:!1\};case "getContentVideoData":return b=z1(this),\{adModule:b.adModule,partnerTrackingToken:b.Oa,title:b.title,videoId:b.videoId\};case "loadedadbreaks":if(this.o)\{a=this.o.A;var c=[];for(b in a)a.hasOwnProperty(b)&&\
|
|
c.push(\{isInterruptive:a[Number(b)].g\});return c\}return 0\}\};\
|
|
h.Tf=function()\{return"addata adstate breakscount displaystate getContentVideoData loadedadbreaks midrollfreqcap".split(" ")\};z(U4,TM);var Ola=[241];U4.prototype.getStatus=function()\{return V(this,59)\};\
|
|
U4.prototype.setVideoId=function(a)\{175<this.B?this.g[175+this.A]=a:this.o[175]=a\};\
|
|
U4.prototype.setTitle=function(a)\{176<this.B?this.g[176+this.A]=a:this.o[176]=a\};\
|
|
U4.prototype.hasFeature=function()\{return null!=V(this,332)\};z(W4,F);h=W4.prototype;\
|
|
h.T=function()\{a5(this,new uq);$4(this);g5(this);this.g.b.removeEventListener("onVolumeChange",this.yj,this);this.g.b.removeEventListener("onCaptionsTrackListChanged",this.gs,this);this.A&&this.g.b.removeEventListener("captionschanged",this.Qr,this);var a=this.b;a&&"function"==typeof a.isDisposed&&a.isDisposed()||(this.b.Fa("proxyStateChange",this.ys,this),this.b.Fa("remotePlayerChange",this.Bh,this),this.b.Fa("remoteQueueChange",this.Rm,this));f5(this,this.o);this.C&&this.g.b.Rn(this.C);this.b=this.g=\
|
|
null\};\
|
|
h.Hv=function(a,b)\{2==this.b.g||(Y4(this)?this.Uz.apply(this,arguments):this.Qz.apply(this,arguments))\};\
|
|
h.Qr=function(a)\{this.Hv("control_subtitles_set_track",cc(a)?null:a)\};\
|
|
h.Qz=function(a,b)\{var c=Array.prototype.slice.call(arguments,1);switch(a)\{case "control_toggle_play_pause":case "control_play":case "control_pause":e5(this,this.g.b.getCurrentTime());break;case "control_seek":e5(this,c[0])\}\};\
|
|
h.Uz=function(a,b)\{if(1081==Ao(this.b).b)switch(a)\{case "control_toggle_play_pause":case "control_play":case "control_pause":if(this.A)break;case "control_seek":return\}var c=Array.prototype.slice.call(arguments,1);switch(a)\{case "control_toggle_play_pause":Ao(this.b).Wa()?b5(this):d5(this);break;case "control_play":d5(this);break;case "control_pause":b5(this);break;case "control_seek":this.K=c[0];this.G.sg();break;case "control_subtitles_set_track":V4(this,c[0]);break;case "control_set_audio_track":c=\
|
|
c[0],Y4(this)&&(this.b.xu(Z4(this),c),this.C=c)\}\};\
|
|
h.yj=function(a)\{if(Y4(this))\{this.b.Fa("remotePlayerChange",this.Bh,this);var b=Math.round(a.volume);a=!!a.muted;var c=Ao(this.b);b==c.volume&&a==c.muted||this.b.setVolume(b,a);this.b.subscribe("remotePlayerChange",this.Bh,this)\}\};\
|
|
h.gs=function()\{cc(this.o)||f5(this,this.o);this.B=!1\};\
|
|
h.ys=function(a,b)\{g5(this);2==b&&this.Wt()\};\
|
|
h.Bh=function()\{if(Y4(this))\{$4(this);var a=Ao(this.b);switch(a.b)\{case 1081:if(!this.A)break;case 1:c5(this);a5(this,new uq(8));break;case 3:a5(this,new uq(1));break;case 0:a5(this,new uq(2));this.G.stop();var b=this.g.b;k9(b.app,!0,b.playerType);X4(this,this.g.b.getVideoData().lengthSeconds);break;case 2:a5(this,new uq(4));X4(this,uo(a));break;case -1:a5(this,new uq);break;case -1E3:b=\{errorCode:"mdx.remoteerror",message:M("YTP_MDX_PLAYER_ERROR")\},a5(this,new uq(128,b))\}0==this.H&&(b=this.g.b,k9(b.app,\
|
|
!1,b.playerType));this.H=a.b;a=Ao(this.b).g;b=this.o;(a||b?a&&b&&a.trackName==b.trackName&&a.languageCode==b.languageCode&&a.languageName==b.languageName&&a.format==b.format&&a.kind==b.kind:1)||(this.o=a,f5(this,a));a=Ao(this.b);-1==a.volume||Math.round(this.g.b.Mb())==a.volume&&this.g.b.bd()==a.muted||(this.g.b.removeEventListener("onVolumeChange",this.yj,this),a.muted?this.g.b.mute():this.g.b.Qf(),this.g.b.setVolume(a.volume),this.g.b.addEventListener("onVolumeChange",this.yj,this))\}else X4(this,\
|
|
0),$4(this),a5(this,new uq)\};\
|
|
h.Rm=function()\{Y4(this)||(X4(this,0),$4(this),a5(this,new uq))\};\
|
|
h.HG=function()\{var a=this.K;$4(this);X4(this,a);-1==Ao(this.b).b?e5(this,a):this.b.seekTo(a);a5(this,new uq(1))\};\
|
|
h.Wt=function()\{g5(this);$4(this);var a=this.b.A.getReconnectTimeout();2!=this.b.g||(0,window.isNaN)(a)||(this.F=Vi(x(this.Wt,this),1E3))\};z(h5,m1);var Gsa=["play_pause","seek","set_audio_track"],Hsa=["captions"];h=h5.prototype;h.Bb=function()\{return 1<this.G.length\};\
|
|
h.create=function()\{h5.L.create.call(this);this.C.push(gj("yt-remote-before-disconnect",this.rC,this));this.C.push(gj("yt-remote-connection-change",this.zs,this));this.C.push(gj("yt-remote-auto-connect",this.CE,this));this.zs();var a=this.b.app.K;this.B&&this.B!=this.A&&1!=a&&3!=a&&this.load()\};\
|
|
h.destroy=function()\{hj(this.C);this.C.length=0;Nb(this.g);this.g=null;h5.L.destroy.call(this)\};\
|
|
h.load=function()\{if(!this.loaded)\{h5.L.load.call(this);this.g&&(this.o=new W4(this,this.g));this.b.pauseVideo();this.Y("command_redirect_controls",this,Gsa,Hsa);var a=Dp();if(0!=a)\{var b=this.g?Ao(this.g).videoId:null;b&&b!=this.b.getVideoData().videoId||Vi(x(function()\{this.J=a||0;this.b.Va("progresssync",a,void 0)\},this),0)\}\}\};\
|
|
h.unload=function()\{this.loaded&&(this.B=this.A,pq(this),Nb(this.o),this.o=null,h5.L.unload.call(this))\};\
|
|
h.T=function()\{this.D&&this.destroy();Ob(this.o,this.g);this.g=this.o=null;h5.L.T.call(this)\};\
|
|
h.Ac=function(a,b)\{this.o&&this.o.Hv.apply(this.o,arguments)\};\
|
|
h.getCurrentTime=function()\{return this.J\};\
|
|
h.rC=function(a)\{1==a&&(this.K=this.g?Ao(this.g):null);this.H=a\};\
|
|
h.zs=function()\{var a=Cp();a?(this.g=a,this.H=this.K=null,this.load(),this.o||(this.o=new W4(this,this.g))):(Nb(this.g),this.g=null,this.loaded&&1==this.H&&(this.unload(),(a=this.K)&&a.videoId==this.b.getVideoData().videoId?this.b.Nn(a.videoId,uo(a)):this.b.Nn(this.b.getVideoData().videoId)))\};\
|
|
h.CE=function(a)\{a=ok(this.G,a);j5(this,a);i5(this,sp(),wp())\};\
|
|
h.Ae=function(a,b)\{switch(a)\{case "casting":return!!this.g&&!!this.o;case "receivers":return this.G;case "currentReceiver":return b&&("cast-selector-receiver"==b.key?bm():j5(this,b)),this.B;case "castSelector":var c=sp(),c=1==c.length&&"cast-selector-receiver"==c[0].key;b&&c&&bm();return c\}\};\
|
|
h.Tf=function()\{return["casting","receivers","currentReceiver","castSelector"]\};z(k5,GK);k5.B="(max-width: 656px)";k5.A="(min-width: 657px)";k5.o="(min-width: 1294px) and (min-height: 630px)";k5.b="(min-width: 1720px) and (min-height: 980px)";k5.g="(min-width: 1320px) and (min-height: 870px)";h=k5.prototype;h.initialize=function(a)\{this.H=w(a)?window.document.getElementById(a):a;this.Ba(this.H)\};\
|
|
h.AA=function()\{this.D=new og(0,0,0,0);this.B=new og(0,0,0,0)\};\
|
|
h.bo=function(a)\{ke(this.element,arguments)\};\
|
|
h.nf=function()\{if(this.b)\{var a=this.Ja();if(!a.isEmpty())\{var b=!kf(a,rg(this.B)),c=l5(this);b&&(this.B.width=a.width,this.B.height=a.height);a=this.app.V;(c||b||a.da)&&this.Y("resize")\}\}\};\
|
|
h.dJ=function(a,b)\{n5(this,b)\};\
|
|
h.CA=function(a)\{a.getVideoData()&&n5(this,a.getVideoData())\};\
|
|
h.Ja=function()\{var a=this.app.V,b=$h()==this.element;if(b&&Np())return new jf(window.outerWidth,window.outerHeight);if(b||a.Ee)\{var c;window.matchMedia&&(a="(width: "+window.innerWidth+"px) and (height: "+window.innerHeight+"px)",this.C&&this.C.media==a||(this.C=window.matchMedia(a)),c=this.C&&this.C.matches);if(c)return new jf(window.innerWidth,window.innerHeight)\}else if(this.K)\{if(this.app.ha)return new jf(this.element.clientWidth,this.element.clientHeight);if(this.K.matches)return new jf(426,\
|
|
240);a=this.app.ha;if((a?this.X:this.aa).matches)return new jf(1280,720);if(a||this.da.matches)return new jf(854,480);if(this.ca.matches)return new jf(640,360)\}return new jf(this.element.clientWidth,this.element.clientHeight)\};\
|
|
h.Xz=function()\{this.b&&p2(this);this.nf()\};\
|
|
h.T=function()\{this.A&&(this.A.disconnect(),this.A=null);this.F&&hj(this.F);this.b=this.o=this.H=null;k5.L.T.call(this)\};ca(t5);var J4=q("yt.player.utils.VideoTagPool.instance")||t5.getInstance();g.ba("yt.player.utils.VideoTagPool.instance",J4,void 0);h=t5.prototype;h.Vp=function(a)\{if(!(this.b.length>=a))\{a-=this.b.length;for(var b=0;b<a;b++)\{var c=u5(this);this.b.push(c)\}\}\};\
|
|
h.wz=function(a,b)\{return this.b.length?this.b.pop():u5(this,a,b)\};\
|
|
h.bG=function(a)\{if(a&&ib(this.g,a))\{a.src&&(dA&&0<a.readyState&&(a.currentTime=Math.max(jsa,0)),a.removeAttribute("src"),a.load(),!a.b||!a.b.b||a.b&&Oz(a.b,null)||(a.b&&a.b.dispose(),a.b=null));for(var b in jm)jm[b][0]==a&&nm(b);pb(this.g,a)\}\};\
|
|
h.DA=function(a)\{return this.b.length>=(a||1)\};\
|
|
h.wy=function()\{this.b.length==this.g.length&&4<=this.b.length||(4>this.g.length?this.Vp(4):(this.b=[],D(this.g,function(a)\{a.src||a.load();this.b.push(a)\},this)))\};\
|
|
t5.prototype.fillPool=t5.prototype.Vp;t5.prototype.getTag=t5.prototype.wz;t5.prototype.releaseTag=t5.prototype.bG;t5.prototype.hasTags=t5.prototype.DA;t5.prototype.activateTags=t5.prototype.wy;z(v5,sk);h=v5.prototype;h.$I=function(a)\{a=um(a);if(!hf(a,this.o))\{var b=2;this.C&&(b|=8);this.o=a;this.yb(b,!0)\}\};\
|
|
h.QB=function()\{this.C&&this.yb(8,!0);this.yb(2,!1)\};\
|
|
h.Nv=function(a)\{var b=um(a);hf(b,this.o)||(this.o=b,(a=rm(a))&&this.N(a)&&(this.yb(4,!0),this.b.sa(this.K),this.K=null,this.H=this.b.S(this.A,"mouseout",this.aJ)))\};\
|
|
h.aJ=function(a)\{a=tm(a);a&&this.N(a)||(this.o=new gf(window.NaN,window.NaN),w5(this))\};\
|
|
h.AB=function()\{this.yb(1,!0)\};\
|
|
h.lz=function(a)\{a=rm(a);a instanceof window.Element&&!(0<a.tabIndex)||this.yb(1,!0)\};\
|
|
h.Mv=function()\{this.C=!0;this.b.sa(this.B);this.B=this.b.S(window.document,"mouseup",this.bJ)\};\
|
|
h.bJ=function()\{this.C=!1;this.yb(8,!1);this.b.sa(this.B);this.B=this.b.S(this.A,"mousedown",this.Mv)\};\
|
|
h.Ov=function(a)\{if(a=a.changedTouches[0])this.R=a.identifier,this.b.sa(this.D),this.D=this.b.S(this.A,"touchend",this.cJ),this.yb(1024,!0)\};\
|
|
h.cJ=function(a)\{for(var b,c=0;c<a.changedTouches.length;c++)\{var d=a.changedTouches[c];if(d.identifier==this.R)\{b=d;break\}\}b&&(this.b.sa(this.D),this.D=this.b.S(this.A,"touchstart",this.Ov),this.yb(1024,!1))\};\
|
|
h.yb=function(a,b)\{this.isDisposed();var c=!this.g;b?(this.g|=a,a&1&&this.F.start(),a&2&&this.G.start()):(this.g&=~a,a&1&&this.F.stop(),a&2&&this.G.stop(),a&512&&this.J.stop());this.g&512&&!(this.g&128)&&this.J.ve(this.M);var d=!this.g;c!=d&&this.Y("autohideupdate",d)\};z(x5,P);x5.prototype.G=function(a,b)\{Xi(this.b);this.context&&(this.b=Qq(x(this.G,this,a,b),b),a.call(this,new Date-this.F))\};\
|
|
x5.prototype.T=function()\{Xi(this.b);this.context=null;x5.L.T.call(this)\};z(z5,x5);z5.prototype.show=function()\{z5.L.show.call(this);var a=this.J;this.F=new Date;this.G(a,75)\};\
|
|
z5.prototype.J=function()\{var a=1-1/1.5;this.o=(this.o+this.D)%(this.width*a);this.A=(this.A+this.C)%(this.height*a);this.context.drawImage(this.H,-1*this.o,-1*this.A);this.context.fillRect(0,this.B,this.width,75);this.B=(this.B+75+7)%this.height-75\};\
|
|
z5.prototype.oa=function()\{Xi(this.b);z5.L.oa.call(this)\};z(C5,P);var cma=/<a\\s+href=["']([^"']+)["'](?:\\s+target=["']([^"']+)["'])?>([^<>]+)<\\/a>/;C5.prototype.show=function()\{C5.L.show.call(this);this.b&&this.b.show()\};\
|
|
C5.prototype.oa=function()\{C5.L.oa.call(this);this.b&&this.b.oa()\};\
|
|
C5.prototype.B=function(a)\{if(yr(a,this.o,!zr(R(this.o))))\{a=\{as3:!1,html5:!0,player:!0,cpn:this.o.getVideoData().clientPlaybackNonce\};var b=this.o;b.za("onFeedbackArticleRequest",\{articleId:3037019,helpContext:"player_error",productData:a\});b.isFullscreen()&&Ar(b)\}\};z(G5,P);z(I5,P);I5.prototype.show=function()\{I5.L.show.call(this);this.F()\};\
|
|
I5.prototype.oa=function()\{I5.L.oa.call(this);this.D.stop()\};\
|
|
I5.prototype.F=function()\{var a=eJ(this.b),b=this.b.getVideoData(),c=this.b.D.b,d=this.b.V,e=a.Nl(),f=jG(a.X,"bandwidth"),k=8*$a(f)/1024,l=jG(a.X,"networkactivity"),m=$a(l)/1024,n=b.xa,t;t=this.b;t=(t=t.g&&t.g.R)?t.A.Ra():[0];var u=$a(t),y=jG(a.X,"bufferhealth"),E=$a(y),u=120<u||0>u?"Uncertain":u.toFixed(1)+" s, "+(b.isLowLatencyLiveStream?"Optimized for Low Latency":"Optimized for Smooth Streaming"),G=a.F?a.F.b:null,Y=G&&G.b,N=RA(),Q=WH(b,a.getCurrentTime()),Q=Q?Q.sequence:window.NaN,cb=b.videoId,\
|
|
Ab=b.clientPlaybackNonce,jb=b.clientPlaybackNonce?"":"display:none",e=e.totalVideoFrames?""+(e.droppedVideoFrames||0)+"/"+e.totalVideoFrames:"-",a=a.A?FF(a.A):"",db;a:\{if(b.qa&&(db=b.qa.match(/url=(https?)/))&&2==db.length)\{db=db[1];break a\}db=""\}c=\{video_id:cb,cpn:Ab,cpn_style:jb,mime:"",dash:"no",dropped_frames:e,stream_host:a,stream_type:db||d.X,dimensions:c.clientWidth+" x "+c.clientHeight+(1<N?" * "+N:""),resolution:c.videoWidth+" x "+c.videoHeight,volume:Math.round(this.b.$a.Mb())+"%",bandwidth_kbps:k.toFixed(0)+\
|
|
" Kbps",buffer_health_seconds:E.toFixed(1)+" s",live_latency_style:n?"":"display:none",live_latency_message:u,drm_style:Y?"":"display:none",drm:Y?G.b+" / "+G.g:"",sequence_number:Q,sequence_number_style:"display:none",network_activity_bytes:m.toFixed(0)+" KB"\};b.g&&(d=sG(b.g)?"yes":"no",d+=" ("+Fu(b.g),b.B&&sG(b.g)&&(d+="/"+Fu(b.B)),c.dash=d+")",c.mime=b.g.mimeType,d=b.g.video.fps,1<d&&(c.resolution+="@"+d),b.g.video.b||b.g.video.primaries?(d=b.g.video.b||"unknown","smpte2084"==d?d+=" (PQ)":"arib-std-b67"==\
|
|
d&&(d+=" (HLG)"),c.color=d+" / "+(b.g.video.primaries||"unknown"),c.color_style=""):c.color_style="display:none");H5(this.o,f);H5(this.C,l);H5(this.B,t);H5(this.A,y);this.update(c);this.D.start()\};z(J5,F);h=J5.prototype;h.xh=v;h.jc=v;h.fo=v;h.gt=v;h.sk=v;h.Wf=v;h.Vf=v;h.canPlayType=v;h.ah=v;h.Sv=v;h.Uf=v;h.eo=v;h.fi=v;h.Wi=v;h.ie=v;h.Xi=v;h.getCurrentTime=v;h.uk=v;h.pf=v;h.load=v;h.pause=v;h.play=v;h.Be=v;h.Il=v;h.kb=v;h.Qv=v;h.Kl=v;h.Uv=v;h.tk=v;h.setSize=v;h.Dd=v;h.setVolume=v;h.Rv=v;h.Vv=v;h.Wv=v;h.jn=v;h.setAttribute=v;h.mp=v;h.Zt=v;h.Pv=v;h.removeAttribute=v;h.co=v;h.Tv=v;h.hasAttribute=v;h.nc=v;h.getStyle=v;h.$s=v;\
|
|
h.Yp=function(a,b)\{this.ah()||this.getCurrentTime()>a||10<b||(this.play(),Vi(x(this.Yp,this,this.getCurrentTime(),b+1),500))\};\
|
|
h.seekTo=function(a)\{0<this.Be()&&(L5&&4>HH&&(a=Math.max(.1,a)),this.uk(a))\};\
|
|
h.addEventListener=function(a,b,c,d)\{this.A.O(a,b,!1,d);this.Sp(a)\};\
|
|
h.removeEventListener=function(a,b,c,d)\{this.A.sa(a,b,!1,d)\};\
|
|
h.dispatchEvent=function(a)\{return this.A.dispatchEvent(a)\};\
|
|
h.Ip=function()\{this.B&&!this.eo()&&this.fi(!0)\};\
|
|
h.T=function()\{this.C&&this.removeEventListener("volumechange",this.Ip,!1,this);J5.L.T.call(this)\};\
|
|
h.Sp=v;z(N5,mc);N5.prototype.preventDefault=function()\{N5.L.preventDefault.call(this);this.b&&this.b.preventDefault()\};\
|
|
N5.prototype.stopPropagation=function()\{N5.L.stopPropagation.call(this);this.b&&this.b.stopPropagation()\};z(I4,J5);h=I4.prototype;h.xh=function()\{return!0\};\
|
|
h.ma=function()\{return this.b\};\
|
|
h.jc=function()\{return this.b.src\};\
|
|
h.fo=function(a)\{var b=this.b.playbackRate;this.b.src=a;this.b.playbackRate=b\};\
|
|
h.gt=function()\{this.b.removeAttribute("src")\};\
|
|
h.sk=function()\{return this.b.playbackRate\};\
|
|
h.Wf=function(a)\{this.b.playbackRate=a\};\
|
|
h.Vf=function(a)\{this.b.loop=a\};\
|
|
h.canPlayType=function(a,b)\{return this.b.canPlayType(a,b)\};\
|
|
h.ah=function()\{return this.b.paused\};\
|
|
h.Sv=function()\{return this.b.seeking\};\
|
|
h.Uf=function()\{return this.b.ended\};\
|
|
h.eo=function()\{return this.b.muted\};\
|
|
h.fi=function(a)\{this.b.muted=a\};\
|
|
h.Wi=function()\{return this.b.played||jC()\};\
|
|
h.ie=function()\{return this.b.buffered||jC()\};\
|
|
h.Xi=function()\{return this.b.seekable||jC()\};\
|
|
h.getCurrentTime=function()\{return this.b.currentTime\};\
|
|
h.uk=function(a)\{this.b.currentTime=a\};\
|
|
h.pf=function()\{return this.b.duration\};\
|
|
h.load=function()\{var a=this.b.playbackRate;this.b.load();this.b.playbackRate=a\};\
|
|
h.pause=function()\{this.b.pause()\};\
|
|
h.play=function()\{var a=this.b.play();a&&a.then&&a.then(void 0,function(a)\{1E-4>Math.random()&&Zi(a)\})\};\
|
|
h.Be=function()\{return this.b.readyState\};\
|
|
h.Il=function()\{return this.b.networkState\};\
|
|
h.kb=function()\{return this.b.error?this.b.error.code:null\};\
|
|
h.Qv=function()\{var a=\{\};if(this.b)\{if(this.b.getVideoPlaybackQuality)return this.b.getVideoPlaybackQuality();this.b.webkitDecodedFrameCount&&(a.totalVideoFrames=this.b.webkitDecodedFrameCount,a.droppedVideoFrames=this.b.webkitDroppedFrameCount)\}return a\};\
|
|
h.Rv=function()\{return!!this.b.webkitCurrentPlaybackTargetIsWireless\};\
|
|
h.Vv=function()\{return!!this.b.webkitShowPlaybackTargetPicker()\};\
|
|
h.Wv=function()\{this.b.webkitSetPresentationMode("picture-in-picture"==this.b.webkitPresentationMode?"inline":"picture-in-picture")\};\
|
|
h.Kl=function()\{return Ps(this.b)\};\
|
|
h.Uv=function(a)\{return Os(this.b,a)\};\
|
|
h.tk=function()\{return at(this.b)\};\
|
|
h.setSize=function(a)\{return Zs(this.b,a)\};\
|
|
h.Dd=function()\{return this.b.volume\};\
|
|
h.setVolume=function(a)\{this.b.volume=a\};\
|
|
h.Sp=function(a)\{if(!this.o[a])\{var b=x(this.eJ,this);this.b.addEventListener(a,b);this.o[a]=b\}\};\
|
|
h.eJ=function(a)\{this.dispatchEvent(new N5(this,a.type,a))\};\
|
|
h.jn=function(a)\{a?this.b.setAttribute("crossorigin","anonymous"):this.b.removeAttribute("crossorigin")\};\
|
|
h.setAttribute=function(a,b)\{this.b.setAttribute(a,b)\};\
|
|
h.removeAttribute=function(a)\{this.b.removeAttribute(a)\};\
|
|
h.hasAttribute=function(a)\{return this.b.hasAttribute(a)\};\
|
|
h.mp=function(a)\{for(var b=0;b<a.length;b++)this.b.appendChild(a[b])\};\
|
|
h.Zt=function()\{return!!this.b.textTracks\};\
|
|
h.Pv=function()\{this.b.webkitExitFullScreen&&this.b.webkitExitFullScreen()\};\
|
|
h.co=function(a)\{J(this.b,a)\};\
|
|
h.Tv=function(a)\{me(this.b,a)\};\
|
|
h.nc=function(a,b)\{Is(this.b,a,b)\};\
|
|
h.getStyle=function(a)\{return Ks(this.b,a)\};\
|
|
h.$s=function()\{Jf(this.b)\};\
|
|
h.T=function()\{for(var a in this.o)this.b.removeEventListener(a,this.o[a]);I4.L.T.call(this)\};var P5=null;O5.prototype.initialize=function()\{var a=window.AudioContext||window.webkitAudioContext;if(a&&!P5)try\{P5=new a\}catch(b)\{this.$.app.g.Vh(new dC("html5.webaudio",!1,\{name:b.name\}))\}\};\
|
|
O5.prototype.isDisposed=function()\{return this.A\};\
|
|
O5.prototype.dispose=function()\{this.A=!0;V5(this);this.b=this.g=null\};z(W5,rx);W5.prototype.H=function(a)\{this.B&&this.B(a)?this.o=!0:this.g.isActive()?(this.g.stop(),this.A(a),this.o=this.b=!1):(this.C=a,this.g.start(),this.b=!0)\};\
|
|
W5.prototype.F=function(a)\{this.o?this.o=!1:this.b&&this.A(a)\};\
|
|
W5.prototype.D=function()\{this.G(this.C);this.b=!0\};z(X5,GK);X5.prototype.A=function()\{var a=this.o.Rf();this.C.style.width=100*Y1(new V1(a.seekableStart,a.seekableEnd),a.current,0)+"%"\};\
|
|
X5.prototype.B=function()\{2==this.o.getPresentingPlayerType()?this.b||(this.show(),this.b=this.S(this.o,"progresssync",this.A),this.A()):this.b&&(this.oa(),this.sa(this.b),this.b=null)\};z(Y5,P);Y5.prototype.D=function()\{this.element.removeAttribute("aria-hidden");this.oa()\};\
|
|
Y5.prototype.B=function()\{this.show();this.o.start()\};\
|
|
Y5.prototype.C=function()\{this.element.setAttribute("aria-hidden",!0);this.b.start()\};z(c6,P);c6.prototype.T=function()\{this.b&&this.b();c6.L.T.call(this)\};\
|
|
c6.prototype.B=function()\{jj("iv-button-mouseover")\};\
|
|
c6.prototype.A=function(a)\{Lr(this.$);var b=je(this.$.Da(),"ytp-cards-teaser-shown");jj("iv-teaser-clicked",b);a=0==a.screenX&&0==a.screenY;this.$.ai(!qJ(this.$),a,"YOUTUBE_DRAWER_MANUAL_OPEN")\};z(e6,GK);h=e6.prototype;h.show=function()\{var a=g6(this);e6.L.show.call(this);this.ga&&(this.K=this.S(window,"blur",this.vb),this.R=this.S(window.document,"click",this.KJ));a||this.Y("show",!0)\};\
|
|
h.oa=function()\{var a=g6(this);e6.L.oa.call(this);f6(this);a&&this.Y("show",!1)\};\
|
|
h.Xf=function(a,b)\{this.C=a;this.H.show();a&&(b&&(this.da=this.S(this.$,"appresize",this.jp),this.jp()),a.getAttribute("aria-haspopup"),a.setAttribute("aria-expanded",!0),window.document.activeElement&&Rf(a,window.document.activeElement)&&this.focus())\};\
|
|
h.jp=function()\{N8(this.M,this.element,this.C)\};\
|
|
h.vb=function()\{var a=g6(this);f6(this);Cv(this.H);a&&this.Y("show",!1)\};\
|
|
h.cf=function(a,b)\{g6(this)?this.vb():this.Xf(a,b)\};\
|
|
h.KJ=function(a)\{var b=sm(a);b&&(Rf(this.element,b)||this.C&&Rf(this.C,b)||!Tq(a))||this.vb()\};z(h6,e6);h=h6.prototype;h.show=function()\{h6.L.show.call(this);this.Ph()\};\
|
|
h.oa=function()\{h6.L.oa.call(this);m6(this);1>=this.b.length||(this.A.Fa("back",this.re,this),this.b[this.b.length-1].detach(),i6(this,this.b[0]),this.b=[this.A],this.A.Ba(this.element),this.Ph())\};\
|
|
h.Ph=function()\{m6(this);this.g&&(j6(this),Zs(this.element,this.size))\};\
|
|
h.re=function()\{var a=this.b.pop();k6(this,a,this.b[this.b.length-1],!0)\};\
|
|
h.CG=function(a,b,c)\{this.F.dispose();this.F=null;J(this.element,"ytp-popup-animating");c?(J(a.element,"ytp-panel-animate-forward"),me(b.element,"ytp-panel-animate-back")):(J(a.element,"ytp-panel-animate-back"),me(b.element,"ytp-panel-animate-forward"));Zs(this.element,this.size);this.D=new fe(qa(this.GJ,a,b),250,this);this.D.start()\};\
|
|
h.GJ=function(a)\{me(this.element,"ytp-popup-animating");a.detach();ne(a.element,["ytp-panel-animate-back","ytp-panel-animate-forward"]);this.D.dispose();this.D=null\};\
|
|
h.HJ=function(a)\{if(!wm(a))switch(xm(a))\{case 27:this.vb();vm(a);break;case 37:1<this.b.length&&this.re();vm(a);break;case 39:vm(a)\}\};\
|
|
h.focus=function()\{this.A.focus()\};\
|
|
h.T=function()\{h6.L.T.call(this);this.F&&this.F.dispose();this.D&&this.D.dispose()\};z(o6,GK);o6.prototype.va=function(a,b)\{o6.L.va.call(this,a,b);this.Y("size-change")\};z(q6,GK);q6.prototype.ca=function()\{this.Y("size-change")\};\
|
|
q6.prototype.focus=function()\{this.X.focus()\};\
|
|
q6.prototype.ga=function()\{this.Y("back")\};z(r6,q6);r6.prototype.R=function()\{this.o.Y("size-change")\};\
|
|
r6.prototype.focus=function()\{for(var a=0,b=0;b<this.b.length;b++)if("true"==this.b[b].element.getAttribute("aria-checked"))\{a=b;break\}this.b[a].focus()\};z(t6,o6);t6.prototype.b=function(a)\{wm(a)||39!=xm(a)||(this.element.click(),vm(a))\};z(v6,o6);v6.prototype.G=function()\{w6(this,!this.b);this.Y("select",this.b)\};\
|
|
v6.prototype.getValue=function()\{return this.b\};z(z6,r6);h=z6.prototype;h.TB=function(a)\{Tq(a)&&this.$.pauseVideo();this.G.vb()\};\
|
|
h.SC=function()\{Rq(this.B.element)\};\
|
|
h.lD=function()\{A6(this,this.$.ck(!0))&&Z5(this.M.D,\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"\},P:[\{I:"path",U:\{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"\}\}]\})\};\
|
|
h.mD=function()\{A6(this,this.$.Iu())&&Z5(this.M.D,yh?\{I:"div",fa:["ytp-icon","ytp-icon-code"]\}:\{I:"svg",U:\{height:"100%",viewBox:"0 0 36 36",width:"100%"\},P:[\{I:"path",U:\{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"\}\}]\})\};\
|
|
h.pD=function()\{A6(this,this.$.getVideoUrl(!0,!0))&&Z5(this.M.D,Eh())\};\
|
|
h.oD=function()\{A6(this,this.$.getVideoUrl(!1,!0))&&Z5(this.M.D,Eh())\};\
|
|
h.DD=function(a)\{w6(this.J,a)\};\
|
|
h.ED=function()\{var a=this.J.getValue();r9(this.$.app,a);this.G.vb()\};\
|
|
h.FE=function(a)\{var b=eJ(this.$.app);b&&b.Vh(new dC("feedback",!1,\{gpu:tq()\}));if(yr(a,this.$,!zr(R(this.$))))\{a=this.$;var b=\{as3:!1,html5:!0,player:!0\},c=a.lq();c.debug_error&&(b.player_error=c.debug_error.errorCode,b.player_error_details=c.debug_error.errorDetail);b.debug_text=a.ck(!0);a.za("onFeedbackStartRequest",b);a.isFullscreen()&&Ar(a)\}this.G.vb()\};\
|
|
h.TE=function()\{this.$.Ou();this.G.vb()\};\
|
|
h.sJ=function(a,b)\{y6(this,b)\};z(C6,h6);h=C6.prototype;h.show=function()\{this.G||(this.G=new z6(this.B,this.M,this),H(this,this.G),l6(this,this.G));C6.L.show.call(this)\};\
|
|
h.oa=function()\{B6(this);C6.L.oa.call(this)\};\
|
|
h.RC=function(a)\{var b=sm(a);if(!(this.g||b&&(Zf(b,"a")||$f(b,"ytp-no-contextmenu"))))\{vm(a);D6(this);this.element.style.left="";this.element.style.top="";var c=um(a);c.x++;c.y++;this.Xf();b=Ts(window.document.body);a=this.size;c=c.clone();a=a.clone();if(b)\{var d=c,e=a,f=5;65==(f&65)&&(d.x<b.left||d.x>=b.right)&&(f&=-2);132==(f&132)&&(d.y<b.top||d.y>=b.bottom)&&(f&=-5);d.x<b.left&&f&1&&(d.x=b.left);if(f&16)\{var k=d.x;d.x<b.left&&(d.x=b.left);d.x+e.width>b.right&&(e.width=Math.min(b.right-d.x,k+e.width-\
|
|
b.left),e.width=Math.max(e.width,0))\}d.x+e.width>b.right&&f&1&&(d.x=Math.max(b.right-e.width,b.left));d.y<b.top&&f&4&&(d.y=b.top);f&32&&(k=d.y,d.y<b.top&&(d.y=b.top),d.y+e.height>b.bottom&&(e.height=Math.min(b.bottom-d.y,k+e.height-b.top),e.height=Math.max(e.height,0)));d.y+e.height>b.bottom&&f&4&&(d.y=Math.max(b.bottom-e.height,b.top))\}b=new og(0,0,0,0);b.left=c.x;b.top=c.y;b.width=a.width;b.height=a.height;Os(this.element,sg(b));tx(this.o);this.o.S(window.document,"contextmenu",this.YC);this.o.S(this.B,\
|
|
"fullscreentoggled",this.tJ);this.o.S(this.B,"pageTransition",this.bE)\}\};\
|
|
h.YC=function(a)\{wm(a)||Rf(this.element,sm(a))||this.vb()\};\
|
|
h.tJ=function()\{this.vb();D6(this)\};\
|
|
h.bE=function()\{this.vb()\};z(E6,JK);h=E6.prototype;h.show=function()\{this.g||(this.F.S(this.b,"videodatachange",this.B.ve,this.B),this.F.S(this.b,"videoplayerreset",this.B.ve,this.B));E6.L.show.call(this)\};\
|
|
h.oa=function()\{tx(this.F);E6.L.oa.call(this)\};\
|
|
h.uJ=function()\{this.C.isActive()||(this.D.show(),this.C.start())\};\
|
|
h.vJ=function()\{this.C.isActive()&&(this.C.stop(),Cv(this.D))\};\
|
|
h.RD=function()\{Cv(this.D)\};\
|
|
h.wJ=function(a)\{120<rm(a).naturalWidth&&J(this.element,"ytp-moving-thumbnail-loaded")\};\
|
|
h.yJ=function(a)\{var b=R(this.b);b.experiments.Z("disable_new_pause_state3")&&zr(b)&&(a=Fq(a.state)&&!Fq(a.b)||kJ(this.b)&&O(a.state,2),Is(this.element,"transition-delay",a?"2s":""));this.B.ve()\};\
|
|
h.xJ=function()\{this.element.style.backgroundImage=""\};\
|
|
h.Zv=function()\{3==this.b.getPresentingPlayerType()?this.A.show():F6(this.A,this.b,qs(this.b));this.g&&3!=this.A.b&&this.LG(this.b.ad(),this.b.getVideoData())\};\
|
|
h.LG=function(a)\{for(var b=R(this.b),c,d,e=0;e<arguments.length;e++)\{var f=arguments[e];if(!(!f||f instanceof DH&&!f.videoId))\{d=wy(this.b).Ja();var k=d.width,l=d.height,m=b.experiments.Z("hq_cued_thumbnail")&&!b.isMobile;320<k&&180<l&&(c=f.Vi());if(m?640<k||480<l:900<k||600<l)if(d=f.Hc(b,"maxresdefault.jpg"))break;if(m?320<k||180<l:430<k||320<l)if(d=f.Hc(b,"sddefault.jpg")||f.Hc(b,"hqdefault.jpg")||f.Hc(b,"mqdefault.jpg"))break;if(d=f.Hc(b,"default.jpg"))break\}\}this.G.style.backgroundImage=d?"url("+\
|
|
d+")":"";this.o&&(this.o.va("url","data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"),(b=c)&&5E5<XC(this.H.app.la)&&this.o.va("url",b))\};z(G6,rx);\
|
|
G6.prototype.C=function(a)\{var b=!1,c=xm(a),d=sm(a),e=!a.altKey&&!a.ctrlKey&&!a.metaKey,f=!1,k=!1,l=R(this.b);wm(a)?(e=!1,k=!0):l.Tb&&(e=!1);if(9==c)b=!0;else\{if(d)switch(c)\{case 32:case 13:if("BUTTON"==d.tagName||"A"==d.tagName||"INPUT"==d.tagName)b=!0,e=!1;else if(e)\{var m=d.getAttribute("role");!m||"option"!=m&&"button"!=m&&0!=m.indexOf("menuitem")||(b=!0,d.click(),f=!0)\}break;case 37:case 39:case 36:case 35:b="slider"==d.getAttribute("role");break;case 38:case 40:m=d.getAttribute("role"),d=38==\
|
|
c?d.previousSibling:d.nextSibling,"slider"==m?b=!0:e&&("option"==m?(d&&"option"==d.getAttribute("role")&&d.focus(),f=b=!0):m&&0==m.indexOf("menuitem")&&(d&&d.hasAttribute("role")&&0==d.getAttribute("role").indexOf("menuitem")&&d.focus(),f=b=!0))\}if(this.A&&this.A.g&&e&&!f)switch(c)\{case 65:case 68:case 87:case 83:case 107:case 109:f=$6(this.A,c)\}l.Ub||!e||f||(f=String.fromCharCode(c).toLowerCase(),this.o+=f,0=="awesome".indexOf(this.o)?(f=!0,7==this.o.length&&(m=this.b.Da(),d=!je(m,"ytp-color-party"),\
|
|
oe(m,"ytp-color-party",d))):(this.o=f,f=0=="awesome".indexOf(this.o)));if(e&&!f)\{switch(c)\{case 32:$5(this.g);wq(qs(this.b))?this.b.pauseVideo():this.b.Ad();k=f=!0;break;case 37:Z5(this.g,yh?\{I:"div",fa:["ytp-icon","ytp-icon-rewind-five-seconds"]\}:\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"\},P:[\{I:"path",Ea:!0,W:"ytp-svg-fill",U:\{d:"M 18,11 V 7 l -5,5 5,5 v -4 c 3.3,0 6,2.7 6,6 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 h -2 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 0,-4.4 -3.6,-8 -8,-8 z m -1.3,8.9 .2,-2.2 h 2.4 v .7 h -1.7 l -0.1,.9 c 0,0 .1,0 .1,-0.1 0,-0.1 .1,0 .1,-0.1 0,-0.1 .1,0 .2,0 h .2 c .2,0 .4,0 .5,.1 .1,.1 .3,.2 .4,.3 .1,.1 .2,.3 .3,.5 .1,.2 .1,.4 .1,.6 0,.2 0,.4 -0.1,.5 -0.1,.1 -0.1,.3 -0.3,.5 -0.2,.2 -0.3,.2 -0.4,.3 C 18.5,22 18.2,22 18,22 17.8,22 17.6,22 17.5,21.9 17.4,21.8 17.2,21.8 17,21.7 16.8,21.6 16.8,21.5 16.7,21.3 16.6,21.1 16.6,21 16.6,20.8 h .8 c 0,.2 .1,.3 .2,.4 .1,.1 .2,.1 .4,.1 .1,0 .2,0 .3,-0.1 L 18.5,21 c 0,0 .1,-0.2 .1,-0.3 v -0.6 l -0.1,-0.2 -0.2,-0.2 c 0,0 -0.2,-0.1 -0.3,-0.1 h -0.2 c 0,0 -0.1,0 -0.2,.1 -0.1,.1 -0.1,0 -0.1,.1 0,.1 -0.1,.1 -0.1,.1 h -0.7 z"\}\}]\});\
|
|
this.b.Bd(-5*this.b.app.M);k=f=!0;break;case 39:Z5(this.g,yh?\{I:"div",fa:["ytp-icon","ytp-icon-forward-five-seconds"]\}:\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"\},P:[\{I:"path",Ea:!0,W:"ytp-svg-fill",U:\{d:"m 10,19 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 h -2 c 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 0,-3.3 2.7,-6 6,-6 v 4 l 5,-5 -5,-5 v 4 c -4.4,0 -8,3.6 -8,8 z m 6.7,.9 .2,-2.2 h 2.4 v .7 h -1.7 l -0.1,.9 c 0,0 .1,0 .1,-0.1 0,-0.1 .1,0 .1,-0.1 0,-0.1 .1,0 .2,0 h .2 c .2,0 .4,0 .5,.1 .1,.1 .3,.2 .4,.3 .1,.1 .2,.3 .3,.5 .1,.2 .1,.4 .1,.6 0,.2 0,.4 -0.1,.5 -0.1,.1 -0.1,.3 -0.3,.5 -0.2,.2 -0.3,.2 -0.5,.3 C 18.3,22 18.1,22 17.9,22 17.7,22 17.5,22 17.4,21.9 17.3,21.8 17.1,21.8 16.9,21.7 16.7,21.6 16.7,21.5 16.6,21.3 16.5,21.1 16.5,21 16.5,20.8 h .8 c 0,.2 .1,.3 .2,.4 .1,.1 .2,.1 .4,.1 .1,0 .2,0 .3,-0.1 L 18.4,21 c 0,0 .1,-0.2 .1,-0.3 v -0.6 l -0.1,-0.2 -0.2,-0.2 c 0,0 -0.2,-0.1 -0.3,-0.1 h -0.2 c 0,0 -0.1,0 -0.2,.1 -0.1,.1 -0.1,0 -0.1,.1 0,.1 -0.1,.1 -0.1,.1 h -0.6 z"\}\}]\});\
|
|
this.b.Bd(5*this.b.app.M);k=f=!0;break;case 38:k=Math.min(this.b.Mb()+5,100);a6(this.g,k,!1);this.b.setVolume(k);k=f=!0;break;case 40:k=Math.max(this.b.Mb()-5,0);a6(this.g,k,!0);this.b.setVolume(k);k=f=!0;break;case 27:this.G()&&(k=f=!0);break;case 36:this.b.seekTo(0);k=f=!0;break;case 35:this.b.seekTo(window.Infinity),k=f=!0\}if("3"!=l.A)switch(c)\{case 67:lJ(lq(this.b),"captions")&&(f=this.b.Jb("captions","track"),mJ(this.b),k=this.g,f=f&&f.displayName?M("YTP_SUBTITLES_OFF"):M("YTP_SUBTITLES_ON"),\
|
|
Z5(k,Oh(),f),k=f=!0);break;case 66:K6(this,"background")&&(f=!0);break;case 79:K6(this,"textOpacity")&&(f=!0);break;case 87:K6(this,"windowOpacity")&&(f=!0);break;case 187:K6(this,"fontSizeIncrement",!1,!0)&&(f=!0);break;case 189:K6(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.b.Rf(),this.b.seekTo(n/10*(k.seekableEnd-k.seekableStart)+k.seekableStart),k=f=!0)\}\}b&&this.B(!0);(b||k)&&this.F.yb(2,!0);(f||e&&I6(this,c,a.shiftKey))&&vm(a);l.Qa&&\
|
|
(a=\{keyCode:xm(a),altKey:a.altKey,ctrlKey:a.ctrlKey,metaKey:a.metaKey,shiftKey:a.shiftKey,handled:wm(a),fullscreen:this.b.isFullscreen()\},this.b.za("onKeyPress",a))\};\
|
|
G6.prototype.D=function(a)\{a=xm(a);this.A&&this.A.g&&a7(this.A,a);9==a&&this.B(!0)\};\
|
|
G6.prototype.B=function(a)\{oe(this.b.Da(),"ytp-keyboard-focus",a);oe(this.H.element,"ytp-keyboard-focus",a)\};z(M6,P);M6.prototype.B=function(a)\{var b=R(this.b);b.experiments.Z("disable_new_pause_state3")&&zr(b)&&Is(this.element,"transition-delay",Fq(a.state)&&!Fq(a.b)?"2s":"");L6(this,a.state)\};z(N6,P);N6.prototype.F=function(a,b)\{if(!this.b&&b.paidContentOverlayDurationMs&&b.paidContentOverlayText)\{var c=b.paidContentOverlayText;this.b=new fe(this.C,b.paidContentOverlayDurationMs,this);H(this,this.b);Tf(this.element,c);this.S(this.$,"presentingplayerstatechange",this.D)\}this.b&&this.B!=b.videoId&&(this.B=b.videoId,this.o=!!b.paidContentOverlayDurationMs)\};\
|
|
N6.prototype.D=function(a)\{O(a.state,8)&&this.o?(this.o=!1,this.A.show(),this.b.start()):(O(a.state,2)||Fq(a.state))&&he(this.b)\};\
|
|
N6.prototype.C=function()\{Cv(this.A)\};z(O6,P);O6.prototype.A=function(a)\{yr(a,this.b)&&this.b.Pn(this.o)\};z(P6,e6);h=P6.prototype;h.show=function()\{P6.L.show.call(this);this.o.addEventListener("videodatachange",this.hi,this);this.o.addEventListener("onPlaylistUpdate",this.hi,this);this.hi()\};\
|
|
h.oa=function()\{P6.L.oa.call(this);this.o.removeEventListener("videodatachange",this.hi,this);this.o.removeEventListener("onPlaylistUpdate",this.hi,this);Q6(this,null)\};\
|
|
h.hi=function()\{Q6(this,this.o.ad());var a=this.b.author;this.update(\{title:this.b.title,subtitle:M(a?"YTP_PLAYLIST_AUTHOR_AND_POSITION":"YTP_PLAYLIST_POSITION",\{AUTHOR:a,CURRENT_POSITION:this.b.b+1,PLAYLIST_LENGTH:this.b.A\}),playlisturl:this.o.getVideoUrl(!0)\});this.$m()\};\
|
|
h.$m=function()\{var a=this.b.F;if(a==this.D)this.B.element.setAttribute("aria-checked",!1),this.B=this.A[this.b.b];else\{for(var b=0;b<this.A.length;b++)this.A[b].dispose();var c=this.b.A;this.A=[];for(b=0;b<c;b++)\{var d=new O6(this.o,this.b,b);this.A.push(d);d.Ba(this.F)\}this.B=this.A[this.b.b];this.D=a\}this.B.element.setAttribute("aria-checked",!0)\};\
|
|
h.eF=function(a)\{var b=this.o.getVideoUrl(!0);Br(b,this.o,a)\};\
|
|
h.focus=function()\{this.B.focus()\};\
|
|
h.T=function()\{this.oa();P6.L.T.call(this)\};z(R6,P);R6.prototype.o=function()\{this.b&&2!=this.A.getPresentingPlayerType()&&400<=wy(this.A).Ja().width?(this.update(\{text:M("YTP_PLAYLIST_POSITION",\{CURRENT_POSITION:this.b.b+1,PLAYLIST_LENGTH:this.b.A\}),title:M("YTP_PLAYLIST_NAME",\{PLAYLIST_NAME:this.b.title\})\}),this.g||(this.show(),y7(this.B))):this.g&&(this.oa(),y7(this.B))\};\
|
|
R6.prototype.C=function()\{this.b&&this.b.Fa("shuffle",this.o,this);(this.b=this.A.ad())&&this.b.subscribe("shuffle",this.o,this);this.o()\};z(S6,P);S6.prototype.A=function(a)\{this.fb(O(a.state,2))\};\
|
|
S6.prototype.o=function()\{qs(this.b);this.b.Ad()\};z(T6,e6);h=T6.prototype;h.eE=function(a)\{a=sm(a);Rf(this.G,a)||Rf(this.D,a)||this.cf()\};\
|
|
h.vb=function()\{T6.L.vb.call(this);this.A.dg(this.element)\};\
|
|
h.show=function()\{var a=this.g;T6.L.show.call(this);this.cw();a||this.o.za("onSharePanelOpened")\};\
|
|
h.cw=function()\{J(this.element,"ytp-share-panel-loading");me(this.element,"ytp-share-panel-fail");var a=this.o.getVideoData(),b=this.o.ye(),c=b&&this.F.checked;oe(this.element,"ytp-share-panel-has-playlist",!!b);var d=\{action_get_share_info:1,feature:"player_embedded",video_id:a.videoId\},e=R(this.o);e.Ob&&(d.authuser=e.Ob);e.pageId&&(d.pageid=e.pageId);c&&(d.list=b);dk(R(this.o).baseYtUrl+"share_ajax",\{method:"GET",onError:x(this.Ut,this),sb:x(function(a,b)\{if(b)\{if(b.actions&&E5(b.actions),!this.isDisposed())\{me(this.element,\
|
|
"ytp-share-panel-loading");U6(this);for(var c=b.links,d=0,e=0;e<c.length&&3>d;e++)\{var f=c[e],k=Wla(f.img);k&&(k=new P(\{I:"a",fa:["ytp-share-panel-service-button","ytp-button"],U:\{href:f.url,target:"_blank",title:f.sname\},P:[k]\}),k.O("click",qa(this.NE,f.url)),Mb(k,d6(this.A,k.element)),this.b.push(k),d++)\}c=new P(\{I:"a",fa:["ytp-share-panel-service-button","ytp-button"],P:[\{I:"span",W:"ytp-share-panel-service-button-more",P:[yh?\{I:"div",fa:["ytp-icon","ytp-icon-share-more"]\}:\{I:"svg",U:\{height:"100%",\
|
|
version:"1.1",viewBox:"0 0 38 38",width:"100%"\},P:[\{I:"rect",U:\{fill:"#fff",height:"34",width:"34",x:"2",y:"2"\}\},\{I:"path",U:\{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"\}\}]\}]\}],U:\{href:b.more,target:"_blank",title:M("YTP_MORE")\}\});c.O("click",x(this.LD,this,b.more));Mb(c,d6(this.A,c.element));this.b.push(c);this.va("buttons",this.b)\}\}else this.Ut()\},this),\
|
|
Dc:d,withCredentials:!0\});a=e.getVideoUrl(a.videoId,c?b:void 0,void 0,!0);this.va("link",a);this.va("linkText",a);Rq(this.B)\};\
|
|
h.Ut=function()\{me(this.element,"ytp-share-panel-loading");J(this.element,"ytp-share-panel-fail")\};\
|
|
h.NE=function(a,b)\{if(Tq(b))\{var c=\{\};c.target=c.target||"YouTube";c.width=c.width||"600";c.height=c.height||"600";var d=c;d||(d=\{\});var c=window,e;e=a instanceof Fe?a:Je("undefined"!=typeof a.href?a.href:String(a));var f=d.target||a.target,k=[],l;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))\}l=k.join(",");(vc()||tc("iPad")||tc("iPod"))&&c.navigator&&c.navigator.standalone&&f&&\
|
|
"_self"!=f?(l=c.document.createElement("A"),lf(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=Ge(e),c&&(UA&&-1!=e.indexOf(";")&&(e="'"+e.replace(/'/g,"%27")+"'"),c.opener=null,e=af(Ae("b/12014412, meta tag with sanitized URL"),'<META HTTP-EQUIV="refresh" content="0; url='+Ea(e)+'">'),c.document.write(Qe(e)),c.document.close())):\
|
|
c=c.open(Ge(e),f,l);c&&(c.opener||(c.opener=window),c.focus());vm(b)\}\};\
|
|
h.LD=function(a,b)\{Br(a,this.o,b)&&this.o.za("SHARE_CLICKED")\};\
|
|
h.NJ=function(a)\{!a&&g6(this)&&this.cf()\};\
|
|
h.focus=function()\{this.B.focus()\};\
|
|
h.T=function()\{T6.L.T.call(this);U6(this)\};z(V6,P);V6.prototype.o=function()\{var a=R(this.b).De&&2!=this.b.getPresentingPlayerType();oe(this.A,"ytp-share-button-visible",!!this.b.getVideoData().videoId&&300<=wy(this.b).Ja().width&&!a)\};\
|
|
V6.prototype.T=function()\{V6.L.T.call(this);me(this.A,"ytp-share-button-visible")\};z(W6,P);var Isa=.0035*.006;h=W6.prototype;\
|
|
h.ko=function()\{var a=oJ(this.b).shader;"Spherical"==a||"Spherical3D"==a?this.g||(a=wy(this.b).o,J(this.b.Da(),"ytp-webgl-spherical"),this.show(),this.A=new S1(a,!0,null,!0),this.A.subscribe("dragstart",this.aD,this),this.A.subscribe("dragmove",this.Wr,this),this.A.subscribe("dragend",this.$C,this),this.o=new S1(this.element,!0),this.o.subscribe("dragstart",this.dE,this),this.o.subscribe("dragend",this.cE,this),this.da=this.O("keydown",this.QJ),this.aa=this.O("keyup",this.vD),this.S(a,"click",this.PJ,\
|
|
this)):this.g&&(Y6(this),me(this.b.Da(),"ytp-webgl-spherical"),this.oa(),this.A.dispose(),this.A=null,this.o.dispose(),this.o=null,this.sa(this.da),this.sa(this.aa))\};\
|
|
h.dE=function(a,b,c)\{var d=Ss(c);a=a-d.x-c.clientWidth/2;b=b-d.y-c.clientHeight/2;Math.abs(a)>Math.abs(b)?X6(this,0<a?-1:1,0,0):X6(this,0,0<b?-1:1,0)\};\
|
|
h.cE=function()\{Y6(this);this.C.start()\};\
|
|
h.aD=function(a,b)\{Y6(this);this.K=!1;this.R=new gf(a,b);J(this.b.Da(),"ytp-dragging")\};\
|
|
h.Wr=function(a,b)\{var c=new gf(a,b),d;d=this.R;d=new gf(c.x-d.x,c.y-d.y);2<Math.sqrt(d.x*d.x+d.y*d.y)&&(this.K=!0);this.R=c;var c=oJ(this.b),e=c.fov,f=Math.PI*e*.8,k=wy(this.b).Ja();d.scale(1/k.width*f,1/k.height*f);Z6(this,c.yaw+d.x,c.pitch+d.y,e,c,C())\};\
|
|
h.$C=function(a,b)\{this.Wr(a,b);me(this.b.Da(),"ytp-dragging");this.C.start()\};\
|
|
h.PJ=function(a)\{this.K&&(a.stopPropagation(),this.K=!1)\};\
|
|
h.OJ=function(a)\{if(1E-5>Math.abs(this.F)&&1E-5>Math.abs(this.D)&&!this.J&&!this.G&&0==this.B.length)Y6(this),this.D=this.F=0;else\{var b=oJ(this.b),c=b.yaw,d=b.pitch,e=b.fov,f=a-this.N,k=Isa*e,c=c+(this.F+(k*this.J-.006*this.F)*f)*f,d=d+(this.D+(k*this.G-.006*this.D)*f)*f;Z6(this,c,d,e,b,a);this.C.start()\}\};\
|
|
h.QJ=function(a)\{!wm(a)&&$6(this,xm(a))&&vm(a)\};\
|
|
h.vD=function(a)\{a7(this,xm(a))\};\
|
|
h.T=function()\{this.o&&(this.A.dispose(),this.A=null,this.o.dispose(),this.o=null);W6.L.T.call(this)\};z(c7,P);c7.prototype.oa=function()\{this.b.stop();this.A.style.display="none";c7.L.oa.call(this)\};\
|
|
c7.prototype.D=function(a)\{b7(this,a.state)\};\
|
|
c7.prototype.B=function()\{b7(this,qs(this.o))\};\
|
|
c7.prototype.C=function()\{this.A.style.display="block"\};z(d7,P);d7.prototype.A=function()\{var a=eJ(this.b.app);a&&a.g.Vv()\};\
|
|
d7.prototype.o=function()\{var a=eJ(this.b.app);this.fb(!!a&&a.Za);a=eJ(this.b.app);this.va("icon",a&&a.Ya?yh?\{I:"div",fa:["ytp-icon","ytp-icon-airplay-on"]\}:\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"\},P:[\{I:"path",Ea:!0,U:\{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"\}\}]\}:\
|
|
yh?\{I:"div",fa:["ytp-icon","ytp-icon-airplay-off"]\}:\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"\},P:[\{I:"path",Ea:!0,W:"ytp-svg-fill",U:\{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"\}\}]\})\};z(e7,GK);e7.g=20;e7.o=141;e7.A=.5;e7.b=200;h=e7.prototype;h.zJ=function(a)\{O(a.state,32)?f7(this,this.A.getVideoData()):Cv(this.J)\};\
|
|
h.vk=function()\{var a=this.A.Rf(),b=a.current,b=vH(this.b,this.b.og(141),b);if(b!=this.K)\{var c=pH(this.b,b,141);this.D=$1(this.ca,c,141,141,!0);Os(this.da,(this.F-this.D.width)/2);this.K=b\}Tf(this.ga,Sq(this.R?a.current-a.seekableEnd:a.current));wx(this.G);a=x(this.Vj,this);this.G=vx(a,void 0);this.M.sg()\};\
|
|
h.AJ=function(a,b)\{f7(this,b)\};\
|
|
h.Vj=function()\{S(this.o,!1);wx(this.G);var a=Math.round(.5*this.D.width),b=Math.round(.5*this.D.height),c=this.A.Rf(),d=c.current/(c.seekableEnd-c.seekableStart),c=this.b.Cd(0).Jv(),e=this.b.Cd(0).ao(),d=a*(e-c+1)*d-this.F/2,f=Math.floor(d/a)+c,e=Math.min(f+Math.min(20,Math.ceil(this.F/a)),e),f=Math.max(f,c),k;if(this.C>=f&&this.B<=e)\{for(k=this.C;k>e;k--)Jf(this.o.children[k-this.B]);for(k=f-1;k>=this.B;k--)Jf(this.o.children[k-this.B]);for(k=this.B-1;k>=f;k--)this.o.insertBefore(g7(this,k,a,b),\
|
|
this.o.firstChild);k=this.C+1\}else Hf(this.o),k=f;for(;k<=e;k++)this.o.appendChild(g7(this,k,a,b));for(k=f;k<=e;k++)Is(this.o.children[k-f],"transform","translatex("+(-d+(k-c)*a)+"px)");this.B=f;this.C=e;S(this.o,!0)\};\
|
|
h.GB=function()\{for(var a=this.B;a<=this.C;a++)rH(this.b,a,this.D.width)\};\
|
|
h.aA=function()\{var a=wy(this.A).Ja();this.F!=a.width&&(this.F=a.width,this.b&&(this.vk(),this.Vj()))\};\
|
|
h.tG=function(a)\{this.element.style.b=a+"px"\};\
|
|
h.show=function()\{e7.L.show.call(this);J8(this.aa,!1)\};\
|
|
h.oa=function()\{this.b&&f7(this,null);e7.L.oa.call(this);J8(this.aa,!0)\};\
|
|
h.T=function()\{f7(this,null);e7.L.T.call(this)\};z(h7,P);h=h7.prototype;h.BJ=function(a)\{O(a.state,32)?j7(this,this.b.getVideoData()):this.g&&(O(a.state,16)||O(a.state,1))||Cv(this.C)\};\
|
|
h.DJ=function(a,b)\{j7(this,b)\};\
|
|
h.CJ=function()\{var a=qs(this.b);(O(a,32)||O(a,16))&&i7(this)\};\
|
|
h.bA=function()\{this.A=window.NaN;i7(this)\};\
|
|
h.oa=function()\{this.o&&j7(this,null);h7.L.oa.call(this)\};z(l7,P);h=l7.prototype;h.EJ=function()\{R(this.o).Aa?(pJ(this.o,this.o.isFullscreen()?"fullscreen_exit":"fullscreen_enter"),Ar(this.o)):this.b.cf(this.element,!0)\};\
|
|
h.Zr=function()\{k7(this);this.b.Xf(this.element,!0)\};\
|
|
h.FJ=function()\{R(this.o).experiments.Z("disable_fullscreen_check")||($h()==this.o.Da()?this.C.start():(this.C.stop(),this.b&&this.b.oa()))\};\
|
|
h.Ny=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.Zr()\}\};\
|
|
h.$v=function()\{this.fb(xr(this.o))\};\
|
|
h.Lt=function(a)\{var b;a?(b=yh?\{I:"div",fa:["ytp-icon","ytp-icon-full-screen-close"]\}:\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"\},P:[\{I:"g",W:"ytp-fullscreen-button-corner-2",P:[\{I:"path",Ea:!0,W:"ytp-svg-fill",U:\{d:"m 14,14 -4,0 0,2 6,0 0,-6 -2,0 0,4 0,0 z"\}\}]\},\{I:"g",W:"ytp-fullscreen-button-corner-3",P:[\{I:"path",Ea:!0,W:"ytp-svg-fill",U:\{d:"m 22,14 0,-4 -2,0 0,6 6,0 0,-2 -4,0 0,0 z"\}\}]\},\{I:"g",W:"ytp-fullscreen-button-corner-0",P:[\{I:"path",Ea:!0,W:"ytp-svg-fill",\
|
|
U:\{d:"m 20,26 2,0 0,-4 4,0 0,-2 -6,0 0,6 0,0 z"\}\}]\},\{I:"g",W:"ytp-fullscreen-button-corner-1",P:[\{I:"path",Ea:!0,W:"ytp-svg-fill",U:\{d:"m 10,22 4,0 0,4 2,0 0,-6 -6,0 0,2 0,0 z"\}\}]\}]\},a=M("YTP_EXIT_FULLSCREEN"),window.document.activeElement==this.element&&this.o.Da().focus()):(b=yh?\{I:"div",fa:["ytp-icon","ytp-icon-full-screen"]\}:\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"\},P:[\{I:"g",W:"ytp-fullscreen-button-corner-0",P:[\{I:"path",Ea:!0,W:"ytp-svg-fill",U:\{d:"m 10,16 2,0 0,-4 4,0 0,-2 L 10,10 l 0,6 0,0 z"\}\}]\},\
|
|
\{I:"g",W:"ytp-fullscreen-button-corner-1",P:[\{I:"path",Ea:!0,W:"ytp-svg-fill",U:\{d:"m 20,10 0,2 4,0 0,4 2,0 L 26,10 l -6,0 0,0 z"\}\}]\},\{I:"g",W:"ytp-fullscreen-button-corner-2",P:[\{I:"path",Ea:!0,W:"ytp-svg-fill",U:\{d:"m 24,24 -4,0 0,2 L 26,26 l 0,-6 -2,0 0,4 0,0 z"\}\}]\},\{I:"g",W:"ytp-fullscreen-button-corner-3",P:[\{I:"path",Ea:!0,W:"ytp-svg-fill",U:\{d:"M 12,20 10,20 10,26 l 6,0 0,-2 -4,0 0,-4 0,0 z"\}\}]\}]\},a=M("YTP_FULLSCREEN"));this.va("icon",b);this.va("title",this.b?null:a);y7(this.B.g)\};\
|
|
h.T=function()\{this.b||(this.A(),this.A=null);l7.L.T.call(this)\};z(m7,P);m7.prototype.F=function(a)\{this.B("newdata"==a)\};\
|
|
m7.prototype.B=function(a)\{var b=this.o.getVideoData(),c=b.ba,d=qs(this.o),d=(wq(d)||O(d,4))&&0<c.length;this.fb(d);a&&(this.b=!0);if(d)\{this.b&&this.C.ve();a=null;for(var d="",e=0;e<c.length;e++)if(c[e].id==b.videoId)\{a=c[e].title;d=M("YTP_MULTICAM_INDEX",\{CAMERA_INDEX:e+1,CAMERA_COUNT:c.length\})+"\\n";break\}this.update(\{text:d+a,preview:b.Hc(R(this.o),"default.jpg")\});y7(this.A)\}\};\
|
|
m7.prototype.D=function()\{L8(this.A,this.element,M("YTP_MORE_CAMERAS_AVAILABLE"));this.b=!1\};z(n7,e6);h=n7.prototype;h.show=function()\{var a=this.g;n7.L.show.call(this);a||(this.A.S(this.b,"presentingplayerstatechange",this.jo),this.A.S(this.b,"videodatachange",this.jo),this.jo())\};\
|
|
h.oa=function()\{tx(this.A);n7.L.oa.call(this)\};\
|
|
h.jo=function()\{for(var a=this.b.getVideoData(),b=a.ba,c=0;c<b.length;c++)\{var d=this.o[c];d||(d=new P(\{I:"button",fa:["ytp-multicam-menu-item","ytp-button"],U:\{"aria-checked":"\{\{selected\}\}","data-id":"\{\{videoId\}\}"\},P:[\{I:"div",W:"ytp-multicam-menu-item-title",P:["\{\{cameraName\}\}"]\}]\}),d.O("click",qa(this.CC,c),this),d.Ba(this.B),this.o[c]=d);var e=b[c],f=e.id;if(f!=d.element.getAttribute("data-id"))\{var k=e.thumbnail_url;!k&&f&&(k=PA(R(this.b),f,"default.jpg"));d.element.style.backgroundImage=k?"url("+\
|
|
k+")":""\}d.update(\{cameraName:e.title,videoId:f,selected:f==a.videoId?!0:null\})\}for(;c<this.o.length;)this.o.pop().dispose();a=qs(this.b);wq(a)||O(a,4)||b.length||!g6(this)||this.cf()\};\
|
|
h.CC=function(a)\{var b=this.b,c=this.b.getVideoData().ba[a];a=eJ(b.app,1).getVideoData();var d=b.getCurrentTime();if(c.id==a.videoId)c=eJ(b.app,1),eJ(b.app)!=c&&(M4(b.app,c),a.xa||b.seekTo(d));else\{var e=eJ(b.app,4);e||(e=new eI(R(b),4,b.app.H,wy(b),x(b.app.N.Rb,b.app.N)));eJ(b.app)!=e&&M4(b.app,e);C9(b.app,\{videoId:c.id,title:a.title,start:a.xa?null:d,multifeed_metadata_list:a.A.multifeed_metadata_list\},4)\}\};\
|
|
h.focus=function()\{for(var a=this.b.getVideoData(),b=a.ba,c=0;c<b.length;c++)if(b[c].id==a.videoId)\{this.o[c].focus();break\}\};\
|
|
h.T=function()\{Ob(this.o);n7.L.T.call(this)\};o7.prototype.clone=function()\{return new o7(this.o,this.D,this.b,this.B,this.g,this.C,this.A,this.F)\};z(p7,F);var Z$=new o7(0,0,.4,0,.2,1,1,1);p7.prototype.g=function()\{var a=Bq()-this.B,a=a<this.b?a/this.b:1,b;if(0==a)b=Z$.o;else if(1==a)b=Z$.A;else\{b=cf(Z$.o,Z$.b,a);var c=cf(Z$.b,Z$.g,a),d=cf(Z$.g,Z$.A,a);b=cf(b,c,a);c=cf(c,d,a);b=cf(b,c,a)\}this.o(b);1>a&&this.A.start()\};\
|
|
var Xla=/[0-9.-]+|[^0-9.-]+/g;z(w7,P);\
|
|
var Yla=["M",19,",",17.2," L",19,",",18.8," C",19.296,",",18.664," ",19.5,",",18.354," ",19.5,",",18," C",19.5,",",17.652," ",19.296,",",17.348," ",19,",",17.2," Z"],Zla=["M",19,",",14," L",19,",",22," C",20.48,",",21.32," ",21.5,",",19.77," ",21.5,",",18," C",21.5,",",16.26," ",20.48,",",14.74," ",19,",",14," Z"],$la=["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"],ama=["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"];w7.prototype.D=function(a)\{this.fb(300<=a.width)\};\
|
|
w7.prototype.G=function()\{R(this.b).aa?this.b.bd()?(pJ(this.b,"unmute"),this.b.Qf()):(pJ(this.b,"mute"),this.b.mute()):this.K.cf(this.element,!0)\};\
|
|
w7.prototype.N=function(a)\{v7(this,a.volume,a.muted)\};z(z7,P);z7.prototype.o=function()\{var a=eJ(this.b.app);a&&a.g.Wv()\};z(B7,P);B7.prototype.F=function(a)\{A7(this,a.state)\};\
|
|
B7.prototype.D=function()\{oe(this.element,"ytp-play-button-playlist",kJ(this.b))\};\
|
|
B7.prototype.G=function()\{2==this.o?pJ(this.b,"pause"):3==this.o?pJ(this.b,"replay"):1==this.o?pJ(this.b,"play"):4==this.o&&pJ(this.b,"stop");wq(qs(this.b))?this.b.pauseVideo():this.b.Ad()\};\
|
|
B7.prototype.T=function()\{this.A&&this.A();B7.L.T.call(this)\};z(D7,P);h=D7.prototype;h.bh=function()\{E7(this);this.D&&(this.sa(this.D),this.D=null);this.F=this.b.getVideoData(1);if(this.o=this.b.ad())this.o.subscribe("shuffle",this.bh,this),this.D=this.S(this.b,"progresssync",this.IJ);this.C=F7(this);G7(this);this.aw(wy(this.b).Ja())\};\
|
|
h.aw=function(a)\{var b=kJ(this.b)||this.A&&yJ(this.b);this.fb(b&&(this.A||400<=a.width))\};\
|
|
h.JJ=function(a)\{pJ(this.b,this.A?"next":"previous");var b=!0;this.H?b=yr(a,this.b):vm(a);b&&(this.A?this.b.fk(!0):this.C?this.b.seekTo(0):this.b.gk(!0))\};\
|
|
h.IJ=function()\{var a=F7(this);a!=this.C&&(this.C=a,G7(this))\};\
|
|
h.T=function()\{this.B&&(this.B(),this.B=null);E7(this);D7.L.T.call(this)\};z(I7,GK);h=I7.prototype;h.LJ=function(a)\{if(!wm(a))\{var b=!1;switch(xm(a))\{case 36:this.o.seekTo(0);b=!0;break;case 35:this.o.seekTo(window.Infinity);b=!0;break;case 34:this.o.Bd(-60);b=!0;break;case 33:this.o.Bd(60);b=!0;break;case 38:this.o.Bd(5);b=!0;break;case 40:this.o.Bd(-5),b=!0\}b&&vm(a)\}\};\
|
|
h.bw=function(a,b)\{H7(this,b,"newdata"==a)\};\
|
|
h.Sz=function()\{this.bw("newdata",this.o.getVideoData())\};\
|
|
h.Zz=function()\{P7(this.o.getVideoData())?qs(this.o).Wa()&&Q7(this,!0):Q7(this,!1)\};\
|
|
h.Tz=function(a)\{0<dv(a,64)||!P7(this.o.getVideoData())?Q7(this,!1):wq(a.state)&&0>dv(a,64)&&Q7(this,!0);this.A&&!O(a.state,32)&&this.A.cancel()\};\
|
|
h.vE=function(a,b,c)\{var d=Ss(this.element),e=S7(this).b,f=c?c.getAttribute("data-tooltip"):void 0;f&&(a=Y1(this.b,Number(c.getAttribute("data-position")),0)*e+Ss(this.cb).x);this.la.x=a-d.x;this.la.y=b-d.y;c=S7(this);a=X1(this.b,c.g);b=this.Ca;c=c.position+this.Oa;d=f||Sq(this.qa?a-this.b.b:a);f=!!f;b.X||(3==b.b&&b.Ic(),1!=b.b&&(b.element.className="ytp-tooltip ytp-bottom",b.b=1,b.H&&b.D.show(),b.A=UH(b.M.getVideoData()),b.A&&b.A.subscribe("l",b.Yr,b)),b.update(\{text:d,title:""\}),oe(b.element,"ytp-text-detail",\
|
|
!!f),d=-1,b.A&&(d=b.A.og(160*b.B),d=vH(b.A,d,a)),O8(b,d),M8(b,!!f,c));oe(this.ca,"ytp-hover-progress-shown",!O(qs(this.o),64));L7(this)\};\
|
|
h.uE=function()\{var a=this.Ca;1==a.b&&a.Ic();me(this.ca,"ytp-hover-progress-shown")\};\
|
|
h.tE=function(a,b)\{Yi(this.C);this.C=window.NaN;this.Sa=b;this.o.seekTo(X1(this.b,S7(this).g),!1);J(this.element,"ytp-drag");(this.na=wq(qs(this.o)))&&this.o.pauseVideo()\};\
|
|
h.wE=function()\{this.X=0;me(this.element,"ytp-pull-ui");me(this.element,"ytp-pulling");if(0<this.F)\{var a=Bq(),b=this.F,c=S7(this).position;Yi(this.C);this.C=Qq(x(this.fu,this,a,b,c),0)\}O(qs(this.o),32)&&(this.o.seekTo(X1(this.b,S7(this).g)),me(this.element,"ytp-drag"),this.na&&!O(qs(this.o),2)&&this.o.Ad())\};\
|
|
h.fu=function(a,b,c)\{var d=1-Math.pow(1-(Bq()-a)/200,3),e=c+d*(this.D*this.B-c);if(0>d||1<d)d=1;R7(this,(1-d)*b,e,this.D);this.C=1>d?Qq(x(this.fu,this,a,b,c),0):window.NaN\};\
|
|
h.xE=function(a,b)\{var c=!1,d=!1,e=S7(this);3600<=W1(this.b)&&(R7(this,this.Sa-b-10,e.position,e.g),d=!0,c=this.F>.1*(this.H?60:40),e=S7(this));oe(this.element,"ytp-pull-ui",d);c&&J(this.element,"ytp-pulling");c=0;e.o&&0>=e.position?c=-1:e.B&&e.position>=e.width&&(c=1);(0,window.isNaN)(this.C)||c&&c==this.X||Xi(this.C);c&&(this.C=Qq(x(this.ut,this,Bq(),this.G),0));this.X=c;this.o.seekTo(X1(this.b,e.g),!1)\};\
|
|
h.ut=function(a,b)\{if(this.X)\{var c=this.B*(this.R-1);this.G=bf(b+this.X*(Bq()-a)*.3,0,c);K7(this);this.o.seekTo(X1(this.b,S7(this).g),!1);0<this.G&&this.G<c&&(this.C=Qq(x(this.ut,this,a,b),0))\}\};\
|
|
h.Sr=function()\{this.va("clipstarticon",Ah());this.va("clipendicon",Ah());J(this.element,"ytp-clip-hover")\};\
|
|
h.Rr=function()\{this.va("clipstarticon",Ch());this.va("clipendicon",Bh());me(this.element,"ytp-clip-hover")\};\
|
|
h.Hj=function()\{this.K=0;this.J=window.Infinity;O7(this);J7(this,this.D,this.ga)\};\
|
|
h.gu=function(a)\{for(var b=0;b<a.length;b++)\{var c=a[b];if(c.visible)\{var d=c.getId();if(!this.M[d])\{var e=window.document.createElement("div");c.tooltip&&(e.setAttribute("data-tooltip",c.tooltip),e.setAttribute("data-position",c.start/1E3));this.M[d]=c;this.ea[d]=e;T7(this,c,e);"ytp-chapter-marker"==c.style?this.ub.appendChild(e):this.tb.appendChild(e)\}\}else V7(this,c)\}\};\
|
|
h.dG=function(a)\{for(var b=0;b<a.length;b++)V7(this,a[b])\};\
|
|
h.T=function()\{Xi(this.C);this.C=window.NaN;N7(this,!1);I7.L.T.call(this)\};z(X7,P);X7.prototype.A=function(a)\{W7(this,a.state)\};z(Y7,P);\
|
|
Y7.prototype.b=function()\{var a=!1;-1!=this.$.Yh().indexOf("remote")&&(a=1<this.$.Jb("remote","receivers").length);this.fb(a&&400<=wy(this.$).Ja().width);var b=1;a&&this.$.Jb("remote","casting")&&(b=2);if(this.o!=b)\{this.o=b;switch(b)\{case 1:this.va("icon",yh?\{I:"div",fa:["ytp-icon","ytp-icon-cast-desktop-off"]\}:\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"\},P:[\{I:"path",Ea:!0,U:\{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.va("icon",zh())\}oe(this.element,"ytp-remote-button-active",!!this.$.Jb("remote","casting"))\}\};\
|
|
Y7.prototype.A=function()\{pJ(this.$,"remote");if(this.$.Jb("remote","castSelector"))this.$.isFullscreen()&&Ar(this.$),this.$.gf("remote","castSelector",!0);else\{var a=this.B,b=this.element;g6(a)?a.vb():(q8(a),a.J.open(),a.Xf(b))\}\};z(Z7,v6);Z7.prototype.A=function()\{lJ(lq(this.$),"iv-module")&&3!=this.$.getPresentingPlayerType()?this.o||(r8(this.B,this),this.o=!0):this.o&&(s8(this.B,this),this.o=!1);w6(this,IL(lq(this.$)))\};\
|
|
Z7.prototype.C=function(a)\{IL(lq(this.$));a?this.$.ek("iv-module"):this.$.Pu("iv-module")\};z($7,o6);h=$7.prototype;h.open=function()\{l6(this.b,this.C)\};\
|
|
h.Ce=function(a)\{if(this.F)\{var b=this.o[this.F];b.element.getAttribute("aria-checked");b.element.removeAttribute("aria-checked")\}this.o[a].element.setAttribute("aria-checked",!0);this.Nb(this.md(a));this.F=a\};\
|
|
h.ac=function(a)\{this.Ce(a);this.Y("select",a)\};\
|
|
h.aE=function(a)\{"true"!=this.o[a].element.getAttribute("aria-disabled")&&this.ac(a)\};\
|
|
h.md=function(a)\{return a.toString()\};\
|
|
h.MJ=function(a)\{wm(a)||39!=xm(a)||(this.open(),vm(a))\};\
|
|
h.T=function()\{$7.L.T.call(this);for(var a in this.o)this.o[a].dispose()\};z(b8,$7);b8.prototype.D=function()\{var a=this.$.Qu();1<a.length?(a8(this,Ii(a,this.B)),this.H=Ib(a,this.B,this),this.G.Nb(a.length?" ("+a.length+")":""),this.Y("size-change"),this.Ce(this.B(this.$.$h())),this.A||(r8(this.b,this),this.A=!0)):this.A&&(s8(this.b,this),this.A=!1)\};\
|
|
b8.prototype.ac=function(a)\{b8.L.ac.call(this,a);this.$.Rn(this.H[a]);this.b.re()\};\
|
|
b8.prototype.B=function(a)\{return a.toString()\};z(c8,v6);c8.prototype.A=function()\{var a=this.$.getPresentingPlayerType();if(2!=a&&3!=a&&yJ(this.$))this.B||(r8(this.D,this),this.B=!0,this.o.push(this.S(this.$,"videodatachange",this.A)),this.o.push(this.S(this.$,"videoplayerreset",this.A)),this.o.push(this.S(this.$,"onPlaylistUpdate",this.A)),this.o.push(this.S(this.$,"autonavchange",this.C)),this.C(this.$.getVideoData().autonavState));else if(this.B)for(s8(this.D,this),this.B=!1,a=0;a<this.o.length;a++)this.sa(this.o[a])\};\
|
|
c8.prototype.C=function(a)\{w6(this,1!=a)\};\
|
|
c8.prototype.F=function(a)\{this.$.app.b.za("onAutonavChangeRequest",1!=(a?2:1))\};z(d8,$7);d8.prototype.B=function()\{var a=this.$.getPresentingPlayerType();if(2!=a&&3!=a)\{for(var a=\{\},b=MI(eJ(this.$.app)),c=0;c<b.length;c++)\{var d=b[c];a[d.quality]=d\}this.H=a;a=this.$.Hu();b=this.$.getVideoData().g;if(b=!!b&&!sG(b))b=this.$.getVideoData(),b=!!(b.adaptiveFormats||b.hlsFormats||b.D);b&&a.unshift("missing-qualities");a8(this,a);if(a.length)\{this.G();this.A||(r8(this.b,this),this.A=!0);return\}\}this.A&&(s8(this.b,this),this.A=!1)\};\
|
|
d8.prototype.G=function()\{var a=nJ(this.$);this.o[a]&&(this.D=this.$.dk(),this.Ce(a),"auto"==a&&this.Nb(this.md(a)))\};\
|
|
d8.prototype.ac=function(a)\{"missing-qualities"!=a&&(d8.L.ac.call(this,a),this.$.hk(a),this.b.vb())\};\
|
|
d8.prototype.md=function(a,b)\{if("missing-qualities"==a)return\{I:"a",U:\{href:"https://support.google.com/youtube/?p=missing_quality",target:"_blank"\},P:[M("YTP_MISSING_FORMATS")]\};var c=\{I:"div",P:[e8(this,a)]\},d=nJ(this.$);b||"auto"!=d||"auto"!=a||(c.P.push(" "),c.P.push(e8(this,this.D,["ytp-menu-label-secondary"])));return c\};z(f8,$7);f8.prototype.D=function()\{var a=-1!=this.$.Yh().indexOf("remote")?this.$.Jb("remote","receivers"):[];1<a.length&&!this.$.Jb("remote","castSelector")?(this.G=Ib(a,this.B,this),a8(this,Ii(a,this.B)),a=this.$.Jb("remote","currentReceiver"),this.Ce(this.B(a)),this.A||(r8(this.b,this),this.A=!0)):this.A&&(s8(this.b,this),this.A=!1)\};\
|
|
f8.prototype.B=function(a)\{return a.key\};\
|
|
f8.prototype.md=function(a)\{return"cast-selector-receiver"==a?M("YTP_MDX_CAST_SELECTOR"):this.G[a].name\};\
|
|
f8.prototype.ac=function(a)\{f8.L.ac.call(this,a);this.$.gf("remote","currentReceiver",this.G[a]);this.b.vb()\};z(g8,$7);h=g8.prototype;h.El=function(a)\{return a.toString()\};\
|
|
h.md=function(a)\{return"1"==a?M("YTP_NORMAL_SPEED"):a.toString()\};\
|
|
h.dw=function()\{var a=this.$.getPresentingPlayerType();2!=a&&3!=a?this.A||(r8(this.b,this),this.A=!0,this.B=this.S(this.$,"onPlaybackRateChange",this.kE),a8(this,Ii(this.$.Wh(),this.El)),this.Ce(this.El(this.$.app.M))):this.A&&(s8(this.b,this),this.A=!1,this.sa(this.B),this.B=null)\};\
|
|
h.kE=function(a)\{this.Ce(this.El(a))\};\
|
|
h.ac=function(a)\{g8.L.ac.call(this,a);this.$.Zh((0,window.parseFloat)(a),!0);this.b.re()\};z(i8,$7);h=i8.prototype;h.NF=function()\{l6(this.b,this.A)\};\
|
|
h.gw=function(a)\{return a.option.toString()\};\
|
|
h.md=function(a)\{return h8(this.H[a])\};\
|
|
h.ac=function(a)\{i8.L.ac.call(this,a);this.Y("settingChange",this.G,this.H[a].option)\};\
|
|
h.wt=function(a)\{this.Y("settingChange",this.G+"Override",!a);this.b.re()\};z(j8,r6);j8.prototype.B=function(a,b)\{this.Y("settingChange",a,b)\};z(l8,$7);l8.prototype.B=function(a)\{return a.languageCode\};\
|
|
l8.prototype.md=function(a)\{return this.A[a].languageName||""\};\
|
|
l8.prototype.ac=function(a)\{this.Y("select",a);a=this.b;var b=a.b.pop(),c=a.b[0];a.b=[c];k6(a,b,c,!0)\};z(m8,$7);h=m8.prototype;h.no=function(a)\{return cc(a)?"__off__":a.displayName\};\
|
|
h.md=function(a)\{return"__off__"==a?M("YTP_LANGUAGE_OFF"):"__translate__"==a?M("YTP_AUTO_TRANSLATE"):"__contribute__"==a?M("YTP_CONTRIBUTE_MENU_ITEM"):("__off__"==a?\{\}:this.A[a]).displayName\};\
|
|
h.ac=function(a)\{"__translate__"==a?this.D.open():"__contribute__"==a?(this.$.pauseVideo(),this.$.isFullscreen()&&Ar(this.$),a=this.$.getVideoData(),wr(R(this.$).baseYtUrl+"timedtext_video?ref=player&v="+a.videoId)):(this.$.gf("captions","track","__off__"==a?\{\}:this.A[a]),m8.L.ac.call(this,a),this.b.re())\};\
|
|
h.zG=function()\{l6(this.b,this.B)\};\
|
|
h.ii=function()\{var a=-1!=this.$.Yh().indexOf("captions"),b=this.$.getVideoData().ce;if(a||b)\{var c,d;if(a)\{var e=this.$.Jb("captions","track"),f=this.$.Jb("captions","tracklist",\{includeAsr:!0\}),k=this.$.Jb("captions","translationLanguages");this.A=Ib(f,this.no,this);c=Ii(f,this.no);if(k.length)\{d=this.D;var l=k;d.A=Ib(l,d.B,d);a8(d,Ii(l,d.B));c.push("__translate__")\}d=this.no(e)\}else this.A=\{\},c=[],d="__off__";c.unshift("__off__");this.A.__off__=\{\};b&&c.unshift("__contribute__");this.A[d]||(this.A[d]=\
|
|
e,c.push(d));a8(this,c);this.Ce(d);a?(k8(this.B,this.$.Qn()),this.G.Nb(f.length?" ("+f.length+")":""),this.Y("size-change"),a&&k.length&&this.o.__translate__.element.setAttribute("aria-disabled",!!cc(e))):(this.G.Nb(""),this.Y("size-change"));this.H||(r8(this.b,this),this.H=!0)\}else this.H&&(s8(this.b,this),this.H=!1)\};\
|
|
h.jF=function(a)\{var b=this.$.Jb("captions","track"),b=hc(b);b.translationLanguage=this.D.A[a];this.$.gf("captions","track",b)\};\
|
|
h.RJ=function(a,b)\{if("reset"==a)this.$.Tu();else\{var c=\{\};c[a]=b;this.$.Sn(c)\}k8(this.B,this.$.Qn())\};z(n8,$7);var Jsa=\{1:"YTP_THREED_VIEWMODE_2D",2:"YTP_THREED_VIEWMODE_ANAGLYPH"\};n8.prototype.md=function(a)\{return M(Jsa[(0,window.parseInt)(a,10)])\};\
|
|
n8.prototype.D=function()\{var a=oJ(this.$);"Anaglyph3D"==a.shader||"Spherical3D"==a.shader?(this.A||(this.B=a.shader,r8(this.b,this),this.A=!0,a8(this,[(1).toString(),(2).toString()])),a=a.displayMode,void 0!=a&&this.Ce(a.toString())):this.A&&(s8(this.b,this),this.A=!1)\};\
|
|
n8.prototype.ac=function(a)\{n8.L.ac.call(this,a);a=\{shader:this.B,displayMode:a\};var b=lq(this.$).g;b&&xL(b,a);this.b.re();this.$.Va("webglsettingschanged",oJ(this.$))\};z(o8,h6);o8.prototype.Xf=function(a)\{q8(this);0<this.B.b.length&&o8.L.Xf.call(this,a)\};\
|
|
o8.prototype.show=function()\{o8.L.show.call(this);J(this.o.Da(),"ytp-settings-shown")\};\
|
|
o8.prototype.oa=function()\{o8.L.oa.call(this);me(this.o.Da(),"ytp-settings-shown")\};z(t8,P);t8.prototype.A=function(a)\{this.fb(this.B&&400<=a.width)\};\
|
|
t8.prototype.C=function()\{pJ(this.$,"settings");this.o.g?this.o.vb():(this.$.ek("captions"),this.o.Xf(this.element))\};\
|
|
t8.prototype.b=function()\{var a=this.$.getPresentingPlayerType(),b=2!=a&&3!=a,c=oJ(this.$),c=(a=b&&("Anaglyph3D"==c.shader||"Spherical3D"==c.shader))&&1==(0,window.parseInt)(c.displayMode,10),b=a||!b?null:this.$.dk();oe(this.element,"ytp-hd-quality-badge","hd720"==b||"hd1080"==b||"hd1440"==b);oe(this.element,"ytp-4k-quality-badge","hd2160"==b);oe(this.element,"ytp-5k-quality-badge","hd2880"==b);oe(this.element,"ytp-8k-quality-badge","highres"==b);oe(this.element,"ytp-3d-badge-grey",a&&c);oe(this.element,\
|
|
"ytp-3d-badge",a&&!c)\};z(u8,P);u8.prototype.D=function()\{pJ(this.b,this.b.app.ha?"size_small":"size_large");var a=this.b.app,b=!a.ha;a.V.experiments.Z("player_legacy_set_size_style")&&W9(a,!0,b);a.b.za("SIZE_CLICKED",b)\};\
|
|
u8.prototype.o=function()\{this.fb(this.b.app.qc&&!this.b.isFullscreen()&&3!=this.b.getPresentingPlayerType());if(this.g)\{var a=this.b.app.ha;if(this.A!=a)\{var b=a?yh?\{I:"div",fa:["ytp-icon","ytp-icon-default-view"]\}:\{I:"svg",U:\{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"\},P:[\{I:"path",Ea:!0,U:\{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"\}\}]\}:yh?\{I:"div",fa:["ytp-icon","ytp-icon-theater-mode"]\}:\{I:"svg",U:\{height:"100%",version:"1.1",\
|
|
viewBox:"0 0 36 36",width:"100%"\},P:[\{I:"path",Ea:!0,U:\{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"\}\}]\};R(this.b).N||null==this.A?this.va("icon",b):u7(this.C,this.element,b);a=(this.A=a)?M("YTP_DEFAULT_VIEW"):M("YTP_THEATER_MODE");this.va("title",a);y7(this.B)\}\}\};z(v8,P);v8.prototype.A=function()\{pJ(this.o,"subtitles");mJ(this.o)\};\
|
|
v8.prototype.b=function()\{var a=!!lJ(lq(this.o),"captions");this.fb(a&&300<=wy(this.o).Ja().width);a&&this.va("pressed",!!this.o.Jb("captions","track").displayName)\};z(w8,P);h=w8.prototype;h.dh=function()\{var a=wy(this.b).Ja().width,b=350<=a&&(!this.A||!O(qs(this.b),64));this.fb(b);oe(this.element,"ytp-time-display-allow-autohide",b&&400>a);b&&(a=this.b.Rf(),b=Sq(a.current),this.D!=b&&(this.va("currenttime",b),this.D=b),a=Sq(a.duration),this.F!=a&&(this.va("duration",a),this.F=a))\};\
|
|
h.TJ=function(a)\{if(this.C!=a)\{this.C=a;this.dh();var b=this.B.element;(b.disabled=a)?this.o&&(this.o(),this.o=null,b.removeAttribute("title")):(b.title=M("YTP_GOTO_LIVE_TOOLTIP"),this.o=d6(this.G,this.B.element))\}\};\
|
|
h.UJ=function(a,b)\{this.A=b.xa;oe(this.element,"ytp-live",this.A);this.dh()\};\
|
|
h.SJ=function(a)\{a.target==this.B.element?(pJ(this.b,"live"),this.b.seekTo(window.Infinity),this.b.Ad()):pJ(this.b,"time")\};\
|
|
h.T=function()\{this.o&&this.o();w8.L.T.call(this)\};z(y8,P);h=y8.prototype;h.WJ=function()\{var a=sJ(this.D);this.G!=a&&(this.G=a,x8(this,this.b.Mb(),this.b.bd()))\};\
|
|
h.iw=function(a)\{this.fb(350<=a.width)\};\
|
|
h.ZE=function(a)\{if(!wm(a))\{var b=xm(a),c=null;37==b?c=this.B-5:39==b?c=this.B+5:36==b?c=0:35==b&&(c=100);null!=c&&(c=bf(c,0,100),0==c?this.b.mute():(this.b.bd()&&this.b.Qf(),this.b.setVolume(c)),vm(a))\}\};\
|
|
h.XJ=function(a)\{var b=a.deltaX||-a.deltaY;a.deltaMode?this.b.setVolume(this.B+(0>b?-10:10)):this.b.setVolume(this.B+bf(b/10,-10,10));vm(a)\};\
|
|
h.YE=function()\{pJ(this.b,"volume");z8(this,this.A,!0,this.o,this.D.J);this.N=this.B;this.b.bd()&&this.b.Qf()\};\
|
|
h.XE=function(a)\{a-=Ss(this.M).x;this.b.setVolume(100*bf(a/(this.G?78:52),0,1))\};\
|
|
h.WE=function()\{z8(this,this.A,!1,this.o,this.D.J);0==this.B&&(this.b.mute(),this.b.setVolume(this.N))\};\
|
|
h.YJ=function(a)\{x8(this,a.volume,a.muted)\};\
|
|
h.Gp=function()\{z8(this,this.A,this.C,this.o,this.D.J)\};\
|
|
h.hw=function(a)\{z8(this,this.A,this.C,a,this.D.J)\};\
|
|
h.Mt=function(a)\{oe(this.element,"ytp-volume-control-hover",a);z8(this,a,this.C,this.o,this.D.J)\};\
|
|
h.T=function()\{y8.L.T.call(this);me(this.K,"ytp-volume-slider-active")\};z(A8,P);A8.prototype.o=function()\{var a=!!this.b.getVideoData().videoId;this.fb(a);a&&(a=this.b.getVideoUrl(!0,!1,!1,!0),this.va("url",a))\};\
|
|
A8.prototype.A=function(a)\{pJ(this.b,"youtube");var b=this.b.getVideoUrl(!Tq(a),!1,!0,!0);Br(b,this.b,a)\};z(B8,rx);h=B8.prototype;h.lo=function()\{var a=this.A;M7(a);var b=a.o.getCurrentTime();(b<a.K||b>a.J)&&a.Hj();this.G.dh()\};\
|
|
h.ew=function()\{this.un();!this.H.g||this.lo()\};\
|
|
h.sD=function()\{this.lo();this.B.start()\};\
|
|
h.un=function()\{var a;if(a=!R(this.$).isMobile)a=this.A,a=300>1E3*W1(a.b)/(2*a.B*RA());a=a&&qs(this.$).Wa()&&!!window.requestAnimationFrame;var b=!a;this.H.g||(a=b=!1);b?this.C||(this.C=this.S(this.$,"progresssync",this.lo)):this.C&&(this.sa(this.C),this.C=null);a?this.B.isActive()||this.B.start():this.B.stop()\};\
|
|
h.MG=function(a)\{J8(this.b.g,!a)\};\
|
|
h.mo=function()\{var a=sJ(this.b),b=wy(this.$).Ja(),c=12*(sJ(this.b)?2:1),d=Math.max(b.width-2*c,100);if(this.N!=b.width||this.M!=a)\{this.N=b.width;this.M=a;var e=D8(this);this.g.element.style.width=e+"px";this.g.element.style.left=c+"px";var f=this.A;f.Oa=c;f.B=e;f.H=a;K7(f);this.b.g.da=e\}c=this.o;b=Math.min(413*(a?1.5:1),Math.round(.82*(b.height-(sJ(this.b)?72:50))));c.aa=Math.min(570*(a?1.5:1),d);c.X=b;c.Ph();this.un()\};\
|
|
h.ma=function()\{return this.g.element\};z(E8,P);E8.prototype.D=function(a)\{a=400>a.width&&this.b.ad()&&2!=this.b.getPresentingPlayerType();this.J.style.display=a?"":"none"\};\
|
|
E8.prototype.K=function(a)\{pJ(this.b,"title");var b=this.b.getVideoUrl(!Tq(a),!1,!0);Br(b,this.b,a)\};\
|
|
E8.prototype.H=function(a,b,c)\{var d=c.user_info;d&&(b=d.channel_logo_url||d.image_url,c=d.channel_title||d.username,d=d.channel_url,b&&d&&c&&LA.test(b)&&F8(this,a,c,d,b))\};\
|
|
E8.prototype.A=function()\{G8(this);var a=this.b.getVideoData();this.va("title",a.title);!R(this.b).F&&a.videoId?(this.va("url",this.b.getVideoUrl(!0)),this.o||(this.o=this.S(this.G,"click",this.K))):this.o&&(this.va("url",null),this.sa(this.o),this.o=null)\};z(H8,P);h=H8.prototype;h.PD=function(a)\{3==this.b&&this.Ic();a=a.currentTarget;this.b||(a.removeEventListener("mouseover",this.K),a.addEventListener("mouseout",this.aa),K8(this,a,2))\};\
|
|
h.ND=function(a)\{(a=tm(a))&&Rf(this.o,a)||this.Ic()\};\
|
|
h.Yr=function(a,b)\{if(a<=this.C&&this.C<=b)\{var c=this.C;this.C=window.NaN;O8(this,c)\}\};\
|
|
h.HB=function()\{rH(this.A,this.C,160*this.B)\};\
|
|
h.Ic=function()\{switch(this.b)\{case 2:this.o.removeEventListener("mouseout",this.aa),this.o.addEventListener("mouseover",this.K);case 3:3==this.b&&this.R.stop();this.M.removeEventListener("appresize",this.Ic,this);this.J||(this.o.hasAttribute("title"),this.o.setAttribute("title",this.F));this.F="";this.o=null;break;case 1:this.A&&(this.A.Fa("l",this.Yr,this),this.A=null),this.M.removeEventListener("videoready",this.Ic,this),this.N.stop()\}this.b=null;this.H&&Cv(this.D)\};\
|
|
h.dg=function(a)\{if(this.o)for(var b=0;b<arguments.length;b++)Rf(arguments[b],this.o)&&this.Ic()\};\
|
|
h.T=function()\{null!=this.b&&this.Ic();H8.L.T.call(this)\};z(Q8,P);h=Q8.prototype;h.jw=function(a)\{this.fb(300<=a.width)\};\
|
|
h.EF=function()\{this.o=!0;this.A=!1;P8(this,1);R(this.b).isMobile&&L8(this.C,this.element);R(this.b).Qa&&this.b.za("WATCH_LATER_VIDEO_ADDED")\};\
|
|
h.ZJ=function()\{pJ(this.b,"watchlater");var a=this.b.getVideoData().videoId;if(!this.A)\{this.A=!0;P8(this,3);var b=R(this.b);(this.o?Tla:Sla)(\{videoIds:a,Ob:b.Ob,pageId:b.pageId,onError:this.FF,sb:this.o?this.GF:this.EF,context:this\},b.baseYtUrl,!0)\}\};\
|
|
h.FF=function(a,b)\{this.A=!1;var c=M("YTP_ERROR_GENERIC_WITHOUT_LINK");b&&(c=b.errors&&b.errors.length?b.errors[0]:b.error_message);P8(this,4,c);R(this.b).Qa&&this.b.za("WATCH_LATER_ERROR",c)\};\
|
|
h.GF=function()\{this.A=this.o=!1;P8(this,2);R(this.b).Qa&&this.b.za("WATCH_LATER_VIDEO_REMOVED")\};\
|
|
h.$J=function()\{this.A=this.o=!1;P8(this,2)\};\
|
|
h.T=function()\{Q8.L.T.call(this);me(this.D,"ytp-watch-later-button-visible")\};z(R8,P);R8.prototype.C=function(a)\{this.fb(!O(a.state,2))\};\
|
|
R8.prototype.A=function()\{if(this.o.getVideoData().videoId)\{var a=this.o.getVideoUrl(!0,!1,!1,!0);this.va("url",a);this.b||(this.b=this.O("click",this.B))\}else this.b&&(this.va("url",null),this.sa(this.b),this.b=null)\};\
|
|
R8.prototype.B=function(a)\{var b=this.o.getVideoUrl(!Tq(a),!1,!0,!0);Br(b,this.o,a)\};z(T8,rx);h=T8.prototype;h.Yv=function(a,b)\{if(this.ea!=b.videoId)\{this.ea=b.videoId;var c=this.B;c.M=b&&0<b.ba.length?5E3:3E3;c.yb(512,!0);this.Nh()\}\};\
|
|
h.nE=function()\{this.Yv(0,this.b.getVideoData())\};\
|
|
h.tl=function(a,b)\{b?this.M=a:this.M=null;this.Rg()\};\
|
|
h.ul=function(a,b)\{if(b)this.F.push(a);else for(var c=this.F.length;0<=c;c--)if(this.F[c]==a)\{this.F.splice(c,1);break\}this.B.yb(64,0<this.F.length)\};\
|
|
h.Rg=function()\{var a=!rJ(this),b=a&&Lr(this.b)&&!O(qs(this.b),2);a?(this.ha.show(),this.ia.show()):(Cv(this.ha),Cv(this.ia),this.g.dg(this.A.element,this.G.element));b?this.G.o.show():Cv(this.G.o);oe(this.A.element,"ytp-cards-available",b);oe(this.b.Da(),"ytp-menu-shown",!a);var b=this.N,c=!a;(b.A=c)?b.oa():F6(b.o,b.b,qs(b.b));this.o&&C8(this.o,!a)\};\
|
|
h.oJ=function(a)\{for(;a&&!Xf(a);)a=a==this.b.Da()?null:Qf(a);for(var b=a;b;)\{if(je(b,"video-ads"))\{a=null;break\}b=b==this.b.Da()?null:Qf(b)\}return!!a\};\
|
|
h.pJ=function(a)\{var b=this.b.Da();oe(b,"ytp-autohide",a);a&&(this.g.dg(this.A.element,this.G.element),this.o&&this.g.dg(this.o.ma()),this.J=!1,me(b,"ytp-touch-mode"));b=this.b;a=!a;b.za("onVideoAreaChange");b.za(a?"onShowControls":"onHideControls")\};\
|
|
h.KE=function(a)\{if(Fq(qs(this.b))&&!R(this.b).dc)\{var b=this.b.getVideoData();b.videoId&&this.b.Su(bI(b))\}this.B.g||U8(this,sm(a))||(qs(this.b),vm(a));this.J=!0;J(this.b.Da(),"ytp-touch-mode");this.B.yb(2,!0)\};\
|
|
h.Cs=function(a)\{if(U8(this,sm(a)))return!0;this.B.yb(2,!0);return!Tq(a)||this.Tp()?!0:Fq(qs(this.b))?(this.b.Ad(),!0):!1\};\
|
|
h.Ds=function(a)\{U8(this,sm(a));a=qs(this.b);O(a,2)&&iJ(this.b)||($5(this.D),wq(a)?this.b.pauseVideo():(this.b.Ad(),window.document.activeElement==this.N.element&&this.b.Da().focus()))\};\
|
|
h.JE=function(a)\{U8(this,sm(a))||3!=this.b.getPresentingPlayerType()&&Ar(this.b)\};\
|
|
h.qJ=function(a)\{var b=this.b.Da();a?b.parentElement?(b.setAttribute("aria-label",M("YTP_PLAYER_FULLSCREEN")),b.parentElement.insertBefore(this.ga.element,b),b.parentElement.insertBefore(this.ca.element,b.nextSibling)):Zi(Error("Player not in DOM.")):(b.setAttribute("aria-label",M("YTP_PLAYER_NORMAL")),this.ga.detach(),this.ca.detach());this.ho();this.Nh()\};\
|
|
h.ho=function()\{var a=sJ(this),b=wy(this.b).Ja(),c=this.b.isFullscreen(),d=this.b.Da();R(this.b).experiments.Z("autohide_resize_killswitch")||em&&w5(this.B);this.g.B=a?1.5:1;oe(d,"ytp-fullscreen",c);oe(d,"ytp-small-mode",!a&&480>b.width);oe(d,"ytp-big-mode",a);oe(this.H.element,"ytp-big-mode",a);this.C&&(a=this.C,a.b&&y5(a.b,b.width,b.height))\};\
|
|
h.rJ=function(a)\{S8(this,a.state);this.Nh()\};\
|
|
h.Nh=function()\{var a=!this.b.getVideoData().isListed&&2==this.b.getPresentingPlayerType(),a=!!this.ea&&!gJ(this.b)&&!a&&(2==this.b.getPresentingPlayerType()||R(this.b).Za||this.b.isFullscreen());if(this.la!=a&&(this.la=a,oe(this.b.Da(),"ytp-hide-info-bar",!a),!a))for(this.g.dg(this.A.element,this.G.element),a=0;a<this.ba.length;a++)\{var b=this.ba[a];g6(b)&&b.vb()\}\};\
|
|
h.Tp=function()\{return this.H.g?(this.H.vb(),!0):this.F.length?(this.F[this.F.length-1].vb(),!0):this.M?(this.M.vb(),!0):Lr(this.b)&&qJ(this.b)?(this.b.ai(!1,!1),!0):gJ(this.b)?(jJ(this.b,!0),!0):!1\};\
|
|
h.wG=function(a,b)\{this.qa=b;this.ul(a,b);this.cu()\};\
|
|
h.cu=function()\{var a=this.qa||g6(this.H);this.aa!=a&&(this.aa=a,this.b.za("onAutonavPauseRequest",this.aa))\};\
|
|
h.mz=function()\{V8(this,this.b.Da(),!0).focus()\};\
|
|
h.nz=function()\{V8(this,this.b.Da(),!1).focus()\};var Sra=\{legacy_config:!0,player_response:!0,polymer_player_response:!0\},W8=\{baseurl:"baseUrl",focenabled:"focEnabled",loaderurl:"loaderUrl",rmktenabled:"rmktEnabled",ytfocenabled:"ytfocEnabled",ytfochistoryenabled:"ytfocHistoryEnabled",suggestedquality:"suggestedQuality"\};z(Z8,F);Z8.B="defaultcontext";Z8.b=\{\};Z8.o="appapi";Z8.g="appad";Z8.create=function(a,b)\{try\{var c=Z8.A(a);if(Z8.b[c])\{try\{Z8.b[c].dispose()\}catch(e)\{Zi(e)\}Z8.b[c]=null\}var d=new Z8(a,b);Mb(d,function()\{Z8.b[c]=null\});\
|
|
return Z8.b[c]=d\}catch(e)\{throw Zi(e),e.stack;\}\};\
|
|
Z8.A=function(a)\{return w(a)?a:"player"+na(a)\};\
|
|
h=Z8.prototype;h.iC=function()\{this.V.B&&wp()||p9(this,5)\};\
|
|
h.lE=function(a)\{this.V.B&&wp()||(P9(this),wq(a.getPlayerState())&&Q4(this))\};\
|
|
h.Ot=function(a)\{var b=this.D.element;oe(b,"ytp-ad-overlay-open",a);oe(b,"ytp-ad-overlay-closed",!a)\};\
|
|
h.canPlayType=function(a)\{return!!iz().canPlayType(a)\};\
|
|
h.getVideoData=function()\{return this.B.getVideoData()\};\
|
|
h.bk=function()\{var a=this.B?this.B.Nl():\{\};ra(a,pea(this.G));this.F&&ra(a,this.F.bi());a.fs=this.b.isFullscreen();a.volume=Math.round(this.$a.Mb());a.mos=this.$a.bd()?1:0;return a\};\
|
|
h.getCurrentTime=function(a)\{return 3==this.getPresentingPlayerType()?this.C.getCurrentTime():(a=eJ(this,a))?a.getCurrentTime():0\};\
|
|
h.getPresentingPlayerType=function()\{var a;if(a=this.V.B&&this.C)a=this.C,a=!!a.g&&!!a.o;return a?3:eJ(this).J\};\
|
|
h.qH=function(a)\{switch(a.type)\{case "loadedmetadata":LC("fvb",this.H.b)||this.H.g("fvb");IC("fvb",void 0,"video_to_ad");this.Db.start();break;case "loadstart":LC("gv",this.H.b)||this.H.g("gv");IC("gv",void 0,"video_to_ad");break;case "progress":case "timeupdate":!LC("l2s",this.H.b)&&2<=nC(a.target.ie())&&this.H.g("l2s");break;case "playing":a=this.G.g,"none"!=this.o.getStyle("display")||s5(this.D)||a||(Ku(this.B.o.g,"hidden","1",!0),this.V.experiments.Z("disable_html5_reload_hidden")||this.getVideoData().ha||\
|
|
Z9(this,"hidden",!0))\}\};\
|
|
h.zD=function(a,b)\{this.b.za("onLoadProgress",b)\};\
|
|
h.$E=function()\{this.b.Va("playbackstalledatstart")\};\
|
|
h.yF=function(a,b)\{this.b.za("onVideoProgress",b)\};\
|
|
h.nH=function()\{this.$a.Va("progresssync",void 0,void 0)\};\
|
|
h.kC=function(a)\{!this.V.experiments.Z("disable_live_head_slowdown")&&0<dv(a,1)&&!O(a.state,64)&&C4(this).xa&&HI(this.g)&&1<this.M&&s9(this,1,!0);if(0<dv(a,2))\{var b;this.A&&("embedded"==this.V.b||this.b.isFullscreen())&&aL(this)?(K9(this,!1,!this.V.experiments.Z("legacy_autoplay_flag")),b=!0):b=!1;!b&&DA(this.V)&&this.g.g.Pv()\}if(O(a.state,128))\{b=a.state.b.errorCode;if(this.V.experiments.Z("html5_retry_media_element_errors")&&!this.getVideoData().ha&&("fmt.decode"==b||"fmt.unplayable"==b))\{Z9(this,\
|
|
b);return\}b=a.state;E9(this);b=b.b;this.b.za("onError",x$[b.errorCode]||5);this.b.za("onDetailedError",b)\}a.state.Wa()&&!Gq(a.state)&&(b=this.getVideoData(),JC("cpn",b.clientPlaybackNonce,"ad_to_video"),b.videoId&&JC("docid",b.videoId,"ad_to_video"),b.playbackId&&JC("plid",b.playbackId,"ad_to_video"),IC("pbresume",void 0,"ad_to_video"));this.b.Va("applicationplayerstatechange",a)\};\
|
|
h.mH=function(a)\{!O(a.state,32)&&0>dv(a,16)&&(!O(a.state,8)||O(a.state,64)||this.o.Uf()||O(a.state,2)||Q4(this));this.b.Va("presentingplayerstatechange",a);q9(this,Hq(a.state))\};\
|
|
h.gC=function(a)\{"newdata"==a&&a9(this)\};\
|
|
h.mC=function(a)\{a==this.B.getVideoData()&&this.b.za("onPlaybackAudioChange",t9(this).Vb.name)\};\
|
|
h.wF=function(a)\{var b=this.B.getVideoData();a==b&&this.b.za("onPlaybackQualityChange",a.g.video.quality)\};\
|
|
h.Ln=function(a,b,c)\{if("newdata"==a)GL(this.G),this.g==this.B?(this.o.Vf(this.Ha),this.o.Wf(this.M)):(this.o.Vf(!1),this.o.Wf(1)),this.b.Va("videoplayerreset",b);else\{if(!this.o)return;if("dataloaded"==a)if(GA(b.V,c.A),this.B==this.g)\{this.V.B&&op("embedded"==this.V.b);var d=this.V.B&&!!wp();if(d||!C4(this).ju||this.V.isMobile)\{var e=C4(this);if(!YH(e)||d||JH(this.g.b))\{$H(e);d&&p9(this,6);e=!1;d=B4.Bb;!this.F&&d(this)&&(this.F=new B4(this),g9(this,this.F),e=!0);try\{var f=this.F;f&&!f.D&&f.Bb(this.$a)&&\
|
|
f.create()\}catch(k)\{Zi(k),this.g&&BI(this.g,"ad")\}e&&(f=this.F,d=C4(this),e=eJ(this),d.subscribe("cuepointupdated",f.TC,f),f.aa=d,f=H4(f),null!=f&&(f.F=e),this.F.subscribe("overlay_ad_open",qa(this.Ot,!0),this),this.F.subscribe("overlay_ad_close",qa(this.Ot,!1),this));h9(this);f9(this)\}else f=e.xa&&!fA()?"html5.unsupportedlive":"fmt.noneavailable",d="YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK",(!HA(this.V)||m5||Up()?0:xf||e.na&&Az)&&(d=e.na?"YTP_HTML5_PROTECTED_FLASH_FALLBACK":"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK_FLASH"),\
|
|
oI(this.g,f,d,"nosupported.1")\}else e="YTP_DEVICE_FALLBACK",(!HA(this.V)||m5||Up()?0:xf)&&(e="YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK_FLASH"),oI(this.g,"html5.unsupportedads",e,void 0)\}else f9(this);1==b.J&&(this.getVideoData().Sb?(e=this.o,e.B=!0,e.fi(!0)):(this.o.B=!1,Q9(this,this.ba)),this.getVideoData().xa&&!this.V.Ne&&oI(this.g,"html5.unsupportedlive","YTP_DEVICE_FALLBACK",void 0),$H(c)&&(c.fd||c.Je||c.C.focEnabled||c.C.rmktEnabled||this.getVideoData().Fo)&&(e=this.getVideoData(),z9(this,"part2viewed",\
|
|
1,0x8000000000000),z9(this,"engagedview",Math.max(1,1E3*e.ga),0x8000000000000),e.xa||(e=1E3*e.lengthSeconds,z9(this,"videoplaytime25",.25*e,e),z9(this,"videoplaytime50",.5*e,e),z9(this,"videoplaytime75",.75*e,e),z9(this,"videoplaytime100",e,0x8000000000000),z9(this,"conversionview",e,0x8000000000000))));this.b.Va("videodatachange",a,c,b.J)\}this.V.Qa&&this.b.za("onVideoDataChange",\{type:a,playertype:b.J\})\};\
|
|
h.fl=function()\{l9(this,null);this.b.za("onPlaylistUpdate")\};\
|
|
h.Mr=function(a)\{var b=a.getId(),c=C4(this);if("part2viewed"==b)c.Bo&&Wp(c.Bo),c.Je&&Wp(c.Je);else if("conversionview"==b)\{var d=this.g;d.o&&bv(d.o)\}else"engagedview"==b&&Wp(c.fd);c.ua&&(d=A9(this,c.ua,a.getId()),Wp(d));switch(b)\{case "videoplaytime25":c.ru&&Wp(c.ru);Wp(c.fy);break;case "videoplaytime50":c.kw&&Wp(c.kw);Wp(c.jy);break;case "videoplaytime75":c.oo&&Wp(c.oo);Wp(c.ly);break;case "videoplaytime100":c.pu&&Wp(c.pu),Wp(c.by)\}(b=this.getVideoData().Fo)&&b[a.getId()]&&(c=b[a.getId()],Wp(c,void 0,\
|
|
Zp(c)),b=b[a.getId()+"gaia"],Wp(b,void 0,Zp(b)));this.g.C.Th(a)\};\
|
|
h.seekTo=function(a,b,c,d)\{b=0!=b;if(d=eJ(this,d))2==this.K&&n9(this),d.seekTo(a,b,c)\};\
|
|
h.pH=function(a,b)\{var c=a.getVideoData();if(1==this.K||2==this.K)c.startSeconds=b;2==this.K?n9(this):this.b.Va("seekto",b)\};\
|
|
h.ZB=function()\{this.b.Va("airplayactivechange")\};\
|
|
h.$B=function()\{this.b.Va("airplayavailabilitychange")\};\
|
|
h.sC=function()\{this.b.Va("beginseeking")\};\
|
|
h.cD=function()\{this.b.Va("endseeking")\};\
|
|
h.qs=function()\{var a=this.A.Gb(),b=this.getVideoData();b.J||!this.da?(b=b.Ca,a=B9(this,a),b&&F9(this,a)):a&&G9(this,a)\};\
|
|
h.eC=function(a)\{this.b.za("onCueRangeEnter",a.getId())\};\
|
|
h.fC=function(a)\{this.b.za("onCueRangeExit",a.getId())\};\
|
|
h.jC=function()\{this.ca||(this.ca=AC(this.Tr,this));o1(this.H,S4(this));if(this.V.experiments.Z("html5_playlist_preload")&&aL(this))\{var a=this.A.Gb(BK(this.A));a&&D9(this,a)\}\};\
|
|
h.hC=function()\{var a=C4(this),b=this.g.C.b.b||[],c=this.Sa.videoplaytime100;this.V.experiments.Z("send_pyv_ad_mt_and_abandon_pings")&&a.ua&&0<=b.indexOf(c)&&(a=A9(this,a.ua,"video_abandon"),Wp(a))\};\
|
|
h.Tr=function(a)\{a=a.b;if(!(0,window.isNaN)(a)&&0<a&&this.g)\{var b=this.g;b.o&&0<a&&(b.o.g.g.aft=[a])\}\};\
|
|
h.ks=function(a)\{"remote"==a?(2==this.K&&n9(this),p9(this,6),i9(this,this.F)):this.Om()\};\
|
|
h.ls=function(a)\{"remote"!=a||this.V.B&&wp()||(Q4(this),this.pauseVideo());this.Om()\};\
|
|
h.Om=function()\{this.V.Qa&&this.B?this.b.za("onApiChange",this.B.J):this.b.za("onApiChange")\};\
|
|
h.ID=function()\{var a=\{volume:bf(Math.floor(100*this.o.Dd()),0,100),muted:this.o.eo()\};this.ba=hc(a);this.b.za("onVolumeChange",a)\};\
|
|
h.kD=function()\{var a=$h();S9(this,a==this.D.element?1:0);R9(this,this.V.experiments.Z("lock_fullscreen_tag")?Rf(this.D.element,a||null):a==this.D.element)\};\
|
|
h.oH=function()\{var a=vy(this.D);qg(this.dc,a)||(this.dc=a,this.B&&OI(this.B,"r"),!this.V.experiments.Z("disable_app_resize")&&this.g&&this.g!=this.B&&OI(this.g,"r"),1==this.Ya&&this.Ga&&R9(this,!0));a=this.D.Ja();this.b.Va("resize",a);this.Cb&&kf(this.Cb,a)||(this.b.Va("appresize",a),this.Cb=a)\};\
|
|
h.HE=function()\{2!=this.Ya&&S9(this,$h()==this.D.element?1:0)\};\
|
|
h.lH=function(a)\{this.b.Va("liveviewshift",a)\};\
|
|
h.pauseVideo=function(a)\{(a=eJ(this,a))&&a.pauseVideo()\};\
|
|
h.getAdState=function()\{return this.F?this.F.getAdState():-1\};\
|
|
h.Du=function(a,b,c)\{this.V.experiments.Z("legacy_control_redirecting")&&(this.Oj(),this.Ca=a,b&&D(b,function(a)\{this.ea[a]=!0\},this),c&&oea(this.G,a,c))\};\
|
|
h.Oj=function()\{this.Ca=null;this.ea=\{\};HL(this.G)\};\
|
|
h.UE=function()\{Z9(this,"signature")\};\
|
|
h.OC=function()\{this.b.za("CONNECTION_ISSUE")\};\
|
|
h.kH=function(a)\{this.b.za("heartbeatparams",a)\};\
|
|
h.T=function()\{this.V.B&&qp();this.g.dispose();this.J&&this.J.dispose();e9(this);Ob(Xb(this.Oa),this.A);zC(this.ca);this.ca=0;Z8.L.T.call(this)\};g.ba("yt.player.Application.create",Z8.create,void 0);var $$=q("ytcsi.tick");$$&&$$("pe");\})(_yt_player);\
|
|
} |