var _yt_player={};(function(g){var window=this;var ba,da,la,ma,na,pa,oa,qa,ra,sa,ua,baa,caa,va,wa,daa,eaa,xa,ya,za,Aa,Ba,Ea,Ia,Ja,gaa,haa,Ta,Ua,iaa,jaa,ab,kaa,ib,jb,laa,pb,lb,maa,nb,naa,oaa,paa,ub,vb,Db,Eb,Gb,Jb,Mb,Nb,Pb,Tb,Vb,Wb,Zb,$b,fc,gc,ic,hc,kc,raa,lc,saa,taa,oc,pc,sc,tc,waa,vc,uc,Bc,Fc,Gc,Hc,zaa,Caa,Daa,Lc,Oc,Eaa,Faa,Nc,Qc,Iaa,Vc,Xc,Zc,bd,cd,dd,Laa,fd,gd,hd,id,Naa,jd,rd,ud,xd,Bd,Cd,Id,Jd,Md,Kd,Od,Pd,Vd,Saa,Yd,zd,de,be,ce,Qaa,ee,yd,Uaa,Vaa,me,he,qe,se,pe,te,we,xe,ye,ze,Ae,Be,Ce,De,Ee,Fe,Ge,He,Ie,Je,Me,Ne,Oe,Pe,Qe,Re,Se,Te,$e,We,af,Waa,bf, cf,df,ef,Ze,ff,hf,gf,kf,lf,jf,mf,nf,Xaa,tf,Zaa,wf,xf,yf,Af,Ef,$aa,Bf,Hf,Of,Nf,bba,Df,Tf,Uf,Vf,Wf,Yf,cba,Zf,$f,dba,eg,gg,hg,jg,kg,mg,ng,og,rg,sg,eba,ug,xg,yg,tg,vg,ig,pg,gba,Bg,zg,Ag,Dg,fba,Cg,Hg,Ig,hba,iba,jba,Jg,Lg,Ng,Og,Pg,Ug,Vg,Wg,Xg,Yg,Zg,ah,ch,dh,fh,mba,hh,ih,lh,mh,nba,rh,sh,th,uh,wh,xh,yh,Eh,Ih,Jh,Kh,Nh,Mh,Oh,Gh,oba,Uh,Vh,Wh,pba,qba,Xh,Yh,ai,ci,bi,di,ei,sba,uba,vba,xba,gi,hi,ii,ji,ni,oi,ri,pi,Aba,qi,si,ti,vi,ui,wi,xi,Ai,Bba,Bi,Di,Ei,Cba,Gi,Ii,Li,Mi,Ni,Oi,Pi,Dba,Qi,Ri,Si,Ti,Ui,Vi,Wi,Xi,Yi,Zi, Eba,$i,ej,fj,hj,gj,ij,jj,kj,lj,Gba,Hba,oj,Iba,qj,rj,pj,sj,tj,Jba,uj,Kba,vj,Lba,xj,Oba,yj,Bj,Cj,Dj,Ej,Pba,Gj,Hj,Jj,Kj,Lj,Mj,Nj,Qba,Pj,Qj,Rj,Sj,Tj,Uj,Wj,Vj,Sba,Tba,Xj,Yj,Zj,ak,bk,dk,ek,fk,gk,hk,ck,ik,jk,kk,lk,Uba,Vba,mk,nk,Wba,ok,pk,Xba,rk,Yba,sk,tk,uk,Zba,vk,wk,yk,Ak,Bk,Ck,Dk,Ek,xk,zk,aca,Fk,Gk,Jk,Kk,cca,Lk,dca,eca,Mk,Nk,fca,Ok,Qk,gca,Sk,hca,Tk,Uk,ica,Vk,jca,Wk,kca,Xk,Yk,Zk,lca,$k,al,bl,mca,cl,dl,el,fl,nca,hl,gl,oca,pca,jl,il,ml,nl,ll,qca,uca,tca,pl,vca,wca,xca,zca,yca,ql,rl,sl,Aca,ul,wl,Bca,Cca,Dca, xl,yl,zl,Al,Eca,Bl,Cl,Fca,Dl,El,Hca,Fl,Hl,Gl,Il,Kl,Ll,Ml,Ol,Jca,Pl,Ica,Ql,Rl,Kca,Lca,Tl,Vl,Wl,Xl,Yl,Ul,bm,cm,Zl,dm,em,Mca,fm,gm,hm,im,jm,km,lm,mm,pm,Pca,om,Qca,qm,sm,nm,rm,tm,um,Sca,Tca,ym,zm,Am,vm,Bm,Cm,Uca,Rca,Vca,Wca,Xca,Fm,Dm,Yca,$ca,ada,Hm,Im,Jm,Lm,fda,bda,Pm,Qm,Rm,Sm,Tm,gda,Um,Vm,Wm,hda,ida,jda,Xm,kda,lda,Zm,oda,an,$m,bn,cn,dn,pda,qda,en,jn,hn,on,pn,rn,tda,un,wn,vn,rda,zn,Cn,vda,wda,xda,En,Dn,Gn,Hn,yda,Bda,Kn,In,zda,Ada,Mn,Cda,Ln,Fda,Eda,Nn,Rn,Sn,Tn,Un,Jda,Wn,Kda,Xn,Yn,$n,ao,bo,co,eo,fo,ho, io,Lda,mo,no,Mda,Oda,yo,zo,Bo,Co,Jo,Ko,Lo,Mo,No,Oo,Po,Rda,Qda,Uo,Vo,Sda,Tda,$o,ap,bp,cp,Uda,fp,gp,hp,ip,kp,lp,mp,np,pp,qp,rp,sp,Wda,tp,up,vp,Zda,Yda,wp,xp,yp,zp,Ap,Cp,Ep,eea,cea,dea,hea,fea,gea,Fp,Hp,iea,Ip,jea,Jp,Lp,Np,Op,Pp,Kp,Mp,Sp,Rp,Tp,Up,lea,Wp,Yp,Zp,cq,aq,fq,nq,qq,pq,oea,pea,sq,uq,vq,qea,yq,wq,Bq,sea,Dq,Eq,Fq,Gq,Iq,Mq,Kq,Nq,Oq,Pq,Sq,Rq,tea,Uq,vea,wea,Zq,Yq,yea,$q,ar,zea,er,Aea,Bea,cr,gr,ir,jr,lr,mr,nr,pr,qr,sr,ur,vr,hr,yr,wr,Cea,Br,Ar,Dr,Er,Fr,Hr,Gr,Eea,Kr,Lr,Mr,Nr,Vr,Ur,Wr,Fea,Jea,ds,es,fs, gs,Lea,Mea,ns,os,ps,ws,xs,As,zs,ys,Cs,Nea,Ls,Ns,Os,Ps,Ss,Ts,Oea,Qs,Rs,Vs,Xs,Ys,at,Zs,ct,bt,dt,Pea,gt,Gp,ht,Rea,pt,ot,Sea,ut,vt,xt,zt,At,Et,Tea,Lt,Nt,Kt,Mt,Uea,Qt,Rt,St,Ut,Vt,Wt,Xt,Yt,Zt,$t,au,bu,cu,du,eu,gu,fu,Vea,hu,iu,Xea,ku,nu,Yea,ju,ru,tu,pu,mu,uu,vu,ou,qu,wu,xu,yu,Wea,zu,Zea,Au,Bu,Cu,Iu,$ea,Eu,Ku,Mu,Pu,Lu,Ju,Qu,Su,Tu,afa,Uu,Vu,Du,Fu,Gu,Hu,Ou,Nu,Wu,Xu,Yu,$u,Zu,bfa,av,bv,cv,dv,cfa,fv,ev,hv,iv,jv,kv,lv,mv,ov,pv,qv,rv,dfa,tv,efa,ffa,gfa,hfa,vv,wv,xv,yv,zv,Av,Bv,Ev,Fv,Gv,Iv,Jv,Kv,Mv,Nv,Ov,Pv,Lv,qfa, Qv,Rv,Sv,Tv,rfa,sfa,Vv,tfa,Xv,Wv,Yv,$v,aw,bw,cw,ew,ufa,fw,vfa,gw,jw,kw,lw,hw,ow,gv,pw,qw,rw,tw,uw,nw,vw,ww,xw,yw,zw,Aw,Bw,Cw,Ew,Fw,Dw,Gw,Hw,xfa,Iw,Jw,Kw,Lw,Mw,yfa,zfa,Dfa,Efa,Afa,Bfa,Cfa,Nw,Ow,Ffa,Qw,Rw,Sw,Tw,Uw,Gfa,Vw,Xw,Yw,Hfa,Ifa,Zw,$w,Jfa,Kfa,Lfa,ax,Mfa,ex,bx,hx,Nfa,Ofa,ix,Pfa,Qfa,jx,kx,Rfa,lx,mx,Sfa,Tfa,Ufa,nx,fx,Vfa,ox,px,rx,sx,tx,ux,vx,Wfa,wx,yx,zx,Ax,Bx,Cx,Dx,Gx,Hx,Ix,Jx,Kx,Lx,Xfa,Nx,Mx,Ox,Px,Qx,Rx,Sx,Yfa,ey,Tx,Zfa,dy,$fa,iy,jy,ky,ly,my,ny,py,qy,ry,sy,cga,ty,uy,vy,yy,wy,zy,Ay,By,dga,ega,Cy, Ey,Dy,Fy,fga,Hy,Iy,Jy,Ky,Ly,My,Gy,Ny,Q,Oy,Py,Qy,Ry,Ty,hga,Uy,Vy,xz,S,yz,zz,Az,Bz,Cz,ez,qz,oz,wz,Fz,Jz,bz,az,$y,Lz,kz,nga,oga,pga,Nz,Oz,Qz,Rz,Sz,Tz,Pz,Uz,qga,Yz,$z,rga,aA,uga,wga,vga,cA,tga,sga,bA,dA,xga,eA,yga,Aga,zga,Bga,fA,Cga,gA,hA,Dga,Ega,iA,Gga,jA,Fga,lA,nA,oA,pA,qA,Hga,rA,Iga,Jga,mA,sA,tA,Kga,uA,wA,yA,AA,CA,BA,DA,EA,zA,FA,GA,Mga,HA,JA,KA,NA,MA,OA,PA,RA,Nga,XA,WA,QA,YA,Oga,ZA,$A,cB,jB,nB,oB,fB,qB,rB,pB,uB,iB,Uga,dB,hB,lB,mB,eB,aB,vB,bB,Vga,gB,xB,Xga,DB,Zga,GB,LB,HB,MB,$ga,NB,PB,QB,RB,OB,SB,aha, TB,KB,XB,cha,bha,$B,aC,bC,dC,eC,IB,eha,fha,gha,hha,iha,jha,kha,lha,mha,nha,qha,rha,sha,uha,AB,vha,mC,WB,wha,qC,rC,tC,uC,FB,YB,EB,hC,fC,gC,CB,BB,vC,wC,yC,xC,zC,AC,BC,DC,EC,FC,GC,HC,IC,JC,KC,yha,NC,OC,QC,RC,SC,TC,UC,ZC,$C,aD,bD,dD,eD,fD,cD,kD,jD,lD,mD,oD,pD,zD,xD,AD,yD,BD,CD,ED,FD,GD,JD,LD,MD,ND,OD,PD,QD,RD,Aha,TD,SD,Bha,UD,YD,KD,$D,cE,dE,eE,fE,gE,jE,kE,iE,Cha,lE,mE,nE,pE,rE,Eha,xE,yE,zE,AE,Fha,Gha,vE,BE,CE,EE,FE,GE,HE,IE,JE,KE,LE,ME,DE,Hha,OE,NE,Iha,Jha,Kha,Lha,PE,QE,Mha,Nha,Oha,Pha,RE,Qha,Rha,Sha, Tha,Uha,SE,TE,YE,XE,$E,UE,aF,bF,cF,VE,dF,WE,ZE,eF,jF,hF,iF,lF,fF,kF,gF,mF,nF,Wha,oF,pF,rF,sF,qF,uF,vF,tF,xF,Xha,wF,yF,zF,Yha,AF,BF,CF,$ha,IF,aia,JF,KF,LF,DF,EF,Zha,GF,HF,FF,MF,OF,QF,PF,RF,SF,TF,VF,UF,WF,$F,bG,cG,dG,fG,gG,aG,YF,XF,ZF,hG,iG,jG,kG,eG,lG,mG,nG,oG,cia,rG,qG,dia,pG,sG,tG,eia,hia,iia,jia,zG,AG,kia,BG,vG,uG,fia,wG,xG,gia,yG,lia,mia,CG,DG,nia,EG,oia,IG,FG,HG,GG,pia,qia,KG,ria,JG,LG,MG,NG,OG,PG,QG,RG,uia,tia,sia,SG,UG,VG,WG,YG,ZG,aH,bH,eH,dH,gH,xia,wia,hH,zia,yia,nH,Aia,mH,Bia,pH,qH,jH,lH, oH,TG,kH,$G,via,rH,sH,iH,XG,Cia,tH,Dia,uH,vH,wH,xH,Eia,yH,zH,Fia,AH,BH,CH,DH,Gia,Hia,EH,FH,IH,Iia,Kia,JH,Lia,KH,LH,GH,Nia,MH,NH,OH,Oia,Pia,Qia,PH,HH,QH,RH,UH,XH,Sia,Ria,WH,ZH,VH,YH,TH,$H,Tia,Uia,aI,cI,bI,eI,Via,Wia,fI,gI,iI,jI,hI,kI,lI,mI,oI,rI,qI,sI,tI,Yia,uI,pI,vI,Zia,$ia,yI,AI,CI,BI,DI,EI,zI,xI,aja,II,cja,KI,MI,NI,LI,OI,GI,eja,PI,QI,HI,FI,RI,JI,dja,fja,bja,SI,UI,VI,TI,WI,gja,XI,YI,bJ,zJ,$I,dJ,AJ,BJ,EJ,CJ,ija,FJ,IJ,HJ,ZI,mJ,MJ,LJ,QJ,JJ,UJ,TJ,SJ,XJ,NJ,gD,$J,ZJ,aK,dK,hja,eJ,VJ,iK,kja,kK,hK,lja,lK, mK,nK,mja,jK,pK,oK,eK,gK,rK,tJ,RJ,tK,sK,qK,nja,yJ,vK,GJ,cJ,wK,fK,yK,zK,AK,BK,uK,KJ,CK,WJ,cK,FK,LK,ZK,bL,gL,pja,hL,iL,qja,rja,jL,lL,nL,oL,pL,qL,sja,rL,sL,Y,tL,vL,wL,uL,xL,yL,zL,AL,tja,vja,uja,BL,wja,CL,DL,EL,FL,GL,HL,IL,JL,KL,xja,LL,ML,NL,OL,QL,RL,Aja,SL,PL,TL,UL,Cja,yja,VL,zja,WL,XL,YL,ZL,$L,dM,eM,Dja,fM,Eja,Fja,gM,kM,jM,hM,iM,Kja,lM,mM,eka,fka,gka,nM,pM,hka,qM,sM,rM,tM,vM,ika,jka,xM,DM,HM,IM,kka,zM,CM,EM,BM,GM,FM,LM,JM,KM,MM,AM,yM,NM,lka,OM,PM,RM,mka,SM,QM,TM,UM,VM,WM,XM,YM,nka,ZM,$M,aN,bN,cN,dN, oka,eN,fN,gN,hN,iN,jN,kN,lN,mN,nN,oN,pN,qN,rN,sN,tN,uN,vN,wN,xN,yN,pka,zN,qka,uka,ska,tka,vka,wka,xka,AN,rka,BN,CN,DN,EN,FN,GN,HN,IN,JN,KN,LN,MN,NN,ON,PN,QN,RN,SN,TN,VN,WN,ZN,XN,YN,yka,$N,aO,cO,bO,dO,eO,fO,zka,Bka,Cka,iO,Dka,hO,gO,Aka,jO,kO,lO,Eka,mO,nO,oO,pO,qO,rO,sO,uO,Fka,wO,vO,Gka,Hka,xO,Ika,yO,Jka,Kka,zO,Mka,Lka,AO,Nka,BO,CO,DO,EO,FO,Z,GO,HO,Oka,KO,LO,MO,NO,PO,RO,Pka,QO,SO,TO,UO,VO,WO,XO,YO,ZO,$O,aP,Ska,bP,cP,dP,fP,gP,iP,eP,hP,Uka,jP,Vka,kP,lP,mP,nP,oP,Wka,pP,qP,Xka,rP,Yka,sP,tP,uP,Zka,vP,$ka, wP,ala,yP,AP,BP,CP,bla,dla,ela,DP,fla,FP,hla,gla,jla,EP,GP,KP,HP,JP,IP,NP,OP,tO,ila,MP,QP,RP,kla,SP,TP,WP,ZP,$P,aQ,cQ,dQ,eQ,fQ,gQ,hQ,iQ,kQ,lQ,mQ,nQ,pQ,rQ,sQ,tQ,uQ,vQ,wQ,xQ,yQ,zQ,lla,AQ,BQ,CQ,DQ,EQ,FQ,HQ,IQ,JQ,mla,ola,pla,rla,qla,LQ,MQ,NQ,tla,OQ,PQ,QQ,RQ,SQ,TQ,UQ,xla,ula,wla,vla,VQ,WQ,yla,XQ,YQ,zla,Ala,Bla,Cla,ZQ,Dla,Ela,$Q,Hla,Gla,Ila,aR,bR,Jla,Kla,Lla,eR,Mla,Nla,Ola,Pla,fR,dR,hR,iR,jR,kR,lR,mR,nR,qR,rR,sR,tR,uR,Qla,vR,Rla,wR,xR,yR,zR,AR,BR,DR,CR,ER,FR,GR,HR,IR,JR,KR,Sla,Tla,LR,Ula,Vla,MR,Wla,NR, OR,PR,Xla,QR,RR,SR,TR,Yla,Zla,ama,bma,WR,YR,UR,$la,VR,cma,ZR,$R,dma,aS,cS,bS,dS,eS,fS,gS,hS,jS,fma,kS,lS,mS,nS,oS,qS,rS,sS,tS,uS,vS,wS,xS,yS,zS,AS,BS,CS,ES,FS,HS,IS,JS,KS,MS,LS,OS,NS,jma,SS,TS,RS,VS,US,XS,WS,YS,ZS,aT,$S,bT,cT,dT,fT,eT,hT,kT,mT,nT,oT,pT,qT,rT,sT,uT,vT,wT,xT,yT,CT,AT,zT,BT,ET,DT,FT,GT,IT,LT,JT,OT,PT,QT,MT,RT,XT,ST,bU,cU,UT,gU,fU,$T,eU,WT,dU,hU,ZT,jU,kU,lU,mU,oma,sU,uU,vU,yU,zU,xU,CU,DU,EU,FU,GU,HU,JU,IU,KU,LU,MU,NU,PU,RU,QU,OU,SU,TU,VU,WU,XU,pma,YU,ZU,$U,aV,bV,qma,cV,dV,eV,fV,iV,hV, jV,lV,mV,oV,nV,qV,rV,pV,tV,uV,wV,xV,rma,yV,zV,sma,AV,DV,FV,tma,GV,HV,KV,LV,HD,JV,OV,PV,QV,NV,SV,RV,TV,uma,UV,VV,WV,ZV,$V,YV,XV,bW,aW,cW,dW,eW,fW,gW,hW,iW,jW,kW,mW,lW,vma,oW,pW,qW,rW,sW,uW,wW,xW,yW,zW,wma,CW,DW,xma,EW,GW,HW,IW,AW,gT,LW,KW,MW,NW,HT,OW,yma,zma,PW,SW,TW,QW,UW,RW,WW,XW,VW,YW,ZW,aX,cX,bX,eX,Cma,fX,Dma,jX,gX,lX,mX,nX,dX,pX,hX,qX,oX,kX,fL,sX,Ema,Fma,Gma,vX,Hma,BX,zX,xX,yX,uX,wX,AX,CX,Jma,Ima,DX,HX,FX,IX,GX,JX,KX,Kma,LX,NX,OX,MX,QX,uM,RX,SX,oja,TX,UX,VX,WX,XX,YX,Mma,Lma,aY,cY,dY,cL,gY,Sma, fY,dL,eY,kY,lY,mY,nY,oY,Qma,Rma,sY,rY,$X,wY,ZX,xY,yY,HK,zY,BY,qY,pY,EY,iY,kL,wM,iX,vY,EX,rX,GY,HY,DY,CY,JY,PK,PP,DD,KY,uY,LY,NY,jY,RK,FY,OY,PY,QY,RY,Pma,AY,SY,Oma,TY,aa,fa,UY,Jaa,Uc,Oa,faa;ba=function(a){return function(){return aa[a].apply(this,arguments)}}; g.ca=function(a,b){return aa[a]=b}; da=function(a){var b=0;return function(){return bb?null:g.Da(a)?a.charAt(b):a[b]}; g.Wa=function(a,b,c){for(var d=a.length,e=g.Da(a)?a.split(""):a,f=0;f=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}; laa=function(a){for(var b={},c=0,d=0;d>1,n;c?n=b.call(e,a[m],m,a):n=b(d,a[m]);0b?1:ac&&g.kb(a,-(c+1),0,b)}; g.tb=function(a,b,c){var d={};(0,g.y)(a,function(e,f){d[b.call(c,e,f,a)]=e}); return d}; oaa=function(a){for(var b=[],c=0;c")&&(a=a.replace(zb,">"));-1!=a.indexOf('"')&&(a=a.replace(Ab,"""));-1!=a.indexOf("'")&&(a=a.replace(Bb,"'"));-1!=a.indexOf("\x00")&&(a=a.replace(Cb,"�"))}return a}; Eb=function(a,b){return-1!=a.toLowerCase().indexOf(b.toLowerCase())}; g.Hb=function(a,b){for(var c=0,d=Fb(String(a)).split("."),e=Fb(String(b)).split("."),f=Math.max(d.length,e.length),k=0;0==c&&kb?1:0}; Jb=function(a){return-1!=g.Ib.indexOf(a)}; g.Kb=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)}; g.Lb=function(a,b,c){var d={},e;for(e in a)b.call(c,a[e],e,a)&&(d[e]=a[e]);return d}; Mb=function(a,b){var c={},d;for(d in a)c[d]=b.call(void 0,a[d],d,a);return c}; Nb=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1}; g.Ob=function(a,b){for(var c in a)if(!b.call(void 0,a[c],c,a))return!1;return!0}; Pb=function(a){for(var b in a)return a[b]}; g.Qb=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b}; g.Rb=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b}; g.Sb=function(a,b){var c=g.La(b),d=c?b:arguments;for(c=c?0:1;cb&&(a=a.substring(0,b-3)+"...");return a}; g.$c=function(a,b){var c=g.Ca(void 0)?a.toFixed(void 0):String(a),d=c.indexOf(".");-1==d&&(d=c.length);return Kaa("0",Math.max(0,b-d))+c}; g.ad=function(a){return null==a?"":String(a)}; bd=function(a){for(var b=0,c=0;c>>0;return b}; cd=function(a){var b=Number(a);return 0==b&&g.wb(a)?NaN:b}; dd=function(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})}; g.ed=function(a){return String(a).replace(/([A-Z])/g,"-$1").toLowerCase()}; Laa=function(a){var b=g.Da(void 0)?"undefined".replace(/([-()\[\]{}+?*.$\^|,:#=a}; g.pd=function(a,b,c){return Math.min(Math.max(a,b),c)}; g.qd=function(a,b){var c=a%b;return 0>c*b?c+b:c}; rd=function(a,b,c){return a+c*(b-a)}; g.sd=function(a){return a*Math.PI/180}; g.td=function(a,b){this.x=g.Ca(a)?a:0;this.y=g.Ca(b)?b:0}; ud=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1}; g.vd=function(a,b){this.width=a;this.height=b}; g.wd=function(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1}; xd=function(a){return a.width*a.height}; Bd=function(a){return a?new yd(zd(a)):Ad||(Ad=new yd)}; Cd=function(a,b){return g.Da(b)?a.getElementById(b):b}; g.Ed=function(a,b){var c=b||document;return c.querySelectorAll&&c.querySelector?c.querySelectorAll("."+a):g.Dd(document,"*",a,b)}; g.Fd=function(a,b){var c=b||document;if(c.getElementsByClassName)c=c.getElementsByClassName(a)[0];else{c=document;var d=b||c;c=d.querySelectorAll&&d.querySelector&&a?d.querySelector(a?"."+a:""):g.Dd(c,"*",a,b)[0]||null}return c||null}; g.Dd=function(a,b,c,d){a=d||a;b=b&&"*"!=b?String(b).toUpperCase():"";if(a.querySelectorAll&&a.querySelector&&(b||c))return a.querySelectorAll(b+(c?"."+c:""));if(c&&a.getElementsByClassName){a=a.getElementsByClassName(c);if(b){d={};for(var e=0,f=0,k;k=a[f];f++)b==k.nodeName&&(d[e++]=k);d.length=e;return d}return a}a=a.getElementsByTagName(b||"*");if(c){d={};for(f=e=0;k=a[f];f++)b=k.className,"function"==typeof b.split&&g.$a(b.split(/\s+/),c)&&(d[e++]=k);d.length=e;return d}return a}; Id=function(a,b){g.Kb(b,function(c,d){c&&"object"==typeof c&&c.Ef&&(c=c.ee());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:Hd.hasOwnProperty(d)?a.setAttribute(Hd[d],c):ub(d,"aria-")||ub(d,"data-")?a.setAttribute(d,c):a[d]=c})}; Jd=function(a){a=a.document;a="CSS1Compat"==a.compatMode?a.documentElement:a.body;return new g.vd(a.clientWidth,a.clientHeight)}; Md=function(a){var b=Kd(a);a=a.parentWindow||a.defaultView;return g.Ld&&g.ld("10")&&a.pageYOffset!=b.scrollTop?new g.td(b.scrollLeft,b.scrollTop):new g.td(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)}; Kd=function(a){return a.scrollingElement?a.scrollingElement:g.Nd||"CSS1Compat"!=a.compatMode?a.body||a.documentElement:a.documentElement}; Od=function(a){return a?a.parentWindow||a.defaultView:window}; g.Qd=function(a,b,c){var d=arguments,e=document,f=String(d[0]),k=d[1];if(!Paa&&k&&(k.name||k.type)){f=["<",f];k.name&&f.push(' name="',g.Yc(k.name),'"');if(k.type){f.push(' type="',g.Yc(k.type),'"');var l={};g.ec(l,k);delete l.type;k=l}f.push(">");f=f.join("")}f=e.createElement(f);k&&(g.Da(k)?f.className=k:g.Ka(k)?f.className=k.join(" "):Id(f,k));2a}; Qaa=function(a){if(a&&"number"==typeof a.length){if(g.Na(a))return"function"==typeof a.item||"string"==typeof a.item;if(g.Ma(a))return"function"==typeof a.item}return!1}; g.fe=function(a,b,c,d){if(!b&&!c)return null;var e=b?String(b).toUpperCase():null;return ee(a,function(f){return(!e||f.nodeName==e)&&(!c||g.Da(f.className)&&g.$a(f.className.split(/\s+/),c))},!0,d)}; ee=function(a,b,c,d){a&&!c&&(a=a.parentNode);for(c=0;a&&(null==d||c<=d);){if(b(a))return a;a=a.parentNode;c++}return null}; yd=function(a){this.g=a||g.u.document||document}; Uaa=function(a){return(0,g.ge)(a,function(b){b=b.toString(16);return 1>2;f=(f&3)<<4|l>>4;l=(l&15)<<2|n>>6;n&=63;m||(n=64,k||(l=64));d.push(c[p],c[f],c[l],c[n])}return d.join("")}; g.le=function(a){for(var b=[],c=0,d=0;d>=8);b[c++]=e}return g.ke(b,!0)}; Vaa=function(a){var b=[];me(a,function(c){b.push(c)}); return b}; g.ne=function(a){var b=a.length,c=3*b/4;c%3?c=Math.floor(c):"="===a[b-1]&&(c="="===a[b-2]?c-2:c-1);var d=new Uint8Array(c),e=0;me(a,function(f){d[e++]=f}); return d.subarray(0,e)}; me=function(a,b){function c(m){for(;d>4);64!=k&&(b(f<<4&240|k>>2),64!=l&&b(k<<6&192|l))}}; he=function(){if(!je){je={};oe={};ie={};for(var a=0;65>a;a++)je[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(a),oe[je[a]]=a,ie[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a),62<=a&&(oe["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a)]=a)}}; qe=function(a,b,c){this.i=null;this.A=this.B=this.g=this.l=this.o=0;this.u=!1;a&&pe(this,a,b,c)}; se=function(a,b,c){if(re.length){var d=re.pop();a&&pe(d,a,b,c);return d}return new qe(a,b,c)}; pe=function(a,b,c,d){b=b.constructor===Uint8Array?b:b.constructor===ArrayBuffer?new Uint8Array(b):b.constructor===Array?new Uint8Array(b):b.constructor===String?g.ne(b):new Uint8Array(0);a.i=b;a.o=g.Ca(c)?c:0;a.l=g.Ca(d)?a.o+d:a.i.length;a.g=a.o}; te=function(a){var b=a.i;var c=b[a.g+0];var d=c&127;if(128>c)return a.g+=1,d;c=b[a.g+1];d|=(c&127)<<7;if(128>c)return a.g+=2,d;c=b[a.g+2];d|=(c&127)<<14;if(128>c)return a.g+=3,d;c=b[a.g+3];d|=(c&127)<<21;if(128>c)return a.g+=4,d;c=b[a.g+4];d|=(c&15)<<28;if(128>c)return a.g+=5,d>>>0;a.g+=5;128<=b[a.g++]&&128<=b[a.g++]&&128<=b[a.g++]&&128<=b[a.g++]&&a.g++;return d}; we=function(a){this.g=se(a,void 0,void 0);this.u=this.g.g;this.i=this.l=-1;this.o=!1}; xe=function(a){var b=a.g;(b=b.g==b.l)||(b=a.o)||(b=a.g,b=b.u||0>b.g||b.g>b.l);if(b)return!1;a.u=a.g.g;b=te(a.g);var c=b&7;if(0!=c&&5!=c&&1!=c&&2!=c&&3!=c&&4!=c)return a.o=!0,!1;a.l=b>>>3;a.i=c;return!0}; ye=function(a){switch(a.i){case 0:if(0!=a.i)ye(a);else{for(a=a.g;a.i[a.g]&128;)a.g++;a.g++}break;case 1:1!=a.i?ye(a):(a=a.g,a.g+=8);break;case 2:if(2!=a.i)ye(a);else{var b=te(a.g);a=a.g;a.g+=b}break;case 5:5!=a.i?ye(a):(a=a.g,a.g+=4);break;case 3:b=a.l;do{if(!xe(a)){a.o=!0;break}if(4==a.i){a.l!=b&&(a.o=!0);break}ye(a)}while(1)}}; ze=function(a){a=a.g;a:{for(var b,c=0,d,e=0;4>e;e++)if(b=a.i[a.g++],c|=(b&127)<<7*e,128>b){a.B=c>>>0;a.A=0;break a}b=a.i[a.g++];c|=(b&127)<<28;d=0|(b&127)>>4;if(128>b)a.B=c>>>0,a.A=d>>>0;else{for(e=0;5>e;e++)if(b=a.i[a.g++],d|=(b&127)<<7*e+3,128>b){a.B=c>>>0;a.A=d>>>0;break a}a.u=!0}}b=a.B;c=a.A;if(a=c&2147483648)b=~b+1>>>0,c=~c>>>0,0==b&&(c=c+1>>>0);b=4294967296*c+b;return a?-b:b}; Ae=function(a){var b=te(a.g);a=a.g;var c=a.i,d=a.g,e=d+b;b=[];for(var f="";dk)b.push(k);else if(192>k)continue;else if(224>k){var l=c[d++];b.push((k&31)<<6|l&63)}else if(240>k){l=c[d++];var m=c[d++];b.push((k&15)<<12|(l&63)<<6|m&63)}else if(248>k){l=c[d++];m=c[d++];var n=c[d++];k=(k&7)<<18|(l&63)<<12|(m&63)<<6|n&63;k-=65536;b.push((k>>10&1023)+55296,(k&1023)+56320)}8192<=b.length&&(f+=String.fromCharCode.apply(null,b),b.length=0)}c=f;if(8192>=b.length)b=String.fromCharCode.apply(null, b);else{e="";for(f=0;fb||a.g+b>a.i.length)a.u=!0,b=new Uint8Array(0);else{var c=a.i.subarray(a.g,a.g+b);a.g+=b;b=c}return b}; Ce=function(){this.g=[]}; De=function(a,b){for(;127>>=7;a.g.push(b)}; Ee=function(a,b){a.g.push(b>>>0&255);a.g.push(b>>>8&255);a.g.push(b>>>16&255);a.g.push(b>>>24&255)}; Fe=function(){this.l=[];this.i=0;this.g=new Ce}; Ge=function(a,b){De(a.g,8*b+2);var c=a.g.end();a.l.push(c);a.i+=c.length;c.push(a.i);return c}; He=function(a,b){var c=b.pop();for(c=a.i+a.g.length()-c;127>>=7,a.i++;b.push(c);a.i++}; Ie=function(a){for(var b=new Uint8Array(a.i+a.g.length()),c=a.l,d=c.length,e=0,f=0;fb;b++)a.g.push(c&127|128),c>>=7;a.g.push(1)}}; Me=function(a,b,c){if(null!=c&&null!=c){De(a.g,8*b);a=a.g;var d=c;c=0>d;d=Math.abs(d);b=d>>>0;d=Math.floor((d-b)/4294967296);d>>>=0;c&&(d=~d>>>0,b=(~b>>>0)+1,4294967295>>7|b<<25)>>>0,b>>>=7;a.g.push(c)}}; Ne=function(a,b,c){null!=c&&(De(a.g,8*b+1),a=a.g,b=c>>>0,c=Math.floor((c-b)/4294967296)>>>0,Ke=b,Le=c,Ee(a,Ke),Ee(a,Le))}; Oe=function(a,b,c){if(null!=c){De(a.g,8*b+1);a=a.g;var d=c;d=(c=0>d?1:0)?-d:d;0===d?(Le=0<1/d?0:2147483648,Ke=0):isNaN(d)?(Le=2147483647,Ke=4294967295):1.7976931348623157E308>>0,Ke=0):2.2250738585072014E-308>d?(d/=Math.pow(2,-1074),Le=(c<<31|d/4294967296)>>>0,Ke=d>>>0):(b=Math.floor(Math.log(d)/Math.LN2),1024==b&&(b=1023),d*=Math.pow(2,-b),Le=(c<<31|b+1023<<20|1048576*d&1048575)>>>0,Ke=4503599627370496*d>>>0);Ee(a,Ke);Ee(a,Le)}}; Pe=function(a,b,c){null!=c&&(De(a.g,8*b),a.g.g.push(c?1:0))}; Qe=function(a,b,c){if(null!=c){b=Ge(a,b);for(var d=a.g,e=0;ef)d.g.push(f);else if(2048>f)d.g.push(f>>6|192),d.g.push(f&63|128);else if(65536>f)if(55296<=f&&56319>=f&&e+1=k&&(f=1024*(f-55296)+k-56320+65536,d.g.push(f>>18|240),d.g.push(f>>12&63|128),d.g.push(f>>6&63|128),d.g.push(f&63|128),e++)}else d.g.push(f>>12|224),d.g.push(f>>6&63|128),d.g.push(f&63|128)}He(a,b)}}; Re=function(a,b,c,d){null!=c&&(b=Ge(a,b),d(c,a),He(a,b))}; Se=function(a,b,c,d){if(null!=c)for(var e=0;ec.keyCode||void 0!=c.returnValue)){a:{var f=!1;if(0==c.keyCode)try{c.keyCode=-1;break a}catch(m){f=!0}if(f||void 0==c.returnValue)c.returnValue=!0}c=[];for(f=d.currentTarget;f;f=f.parentNode)c.push(f);f=a.type;for(var k=c.length-1;!d.wh&&0<=k;k--){d.currentTarget=c[k];var l=Of(c[k],f,!0,d);e=e&&l}for(k=0;!d.wh&&ka.i&&(a.i++,b.next=a.g,a.g=b)}; Wf=function(a){g.u.setTimeout(function(){throw a;},0)}; Yf=function(a,b){var c=a;b&&(c=(0,g.x)(a,b));!g.Ma(g.u.setImmediate)||g.u.Window&&g.u.Window.prototype&&!Jb("Edge")&&g.u.Window.prototype.setImmediate==g.u.setImmediate?(Xf||(Xf=cba()),Xf(c)):g.u.setImmediate(c)}; cba=function(){var a=g.u.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!Jb("Presto")&&(a=function(){var e=document.createElement("IFRAME");e.style.display="none";Iaa(e);document.documentElement.appendChild(e);var f=e.contentWindow;e=f.document;e.open();e.write(g.Mc(Pc));e.close();var k="callImmediate"+Math.random(),l="file:"==f.location.protocol?"*":f.location.protocol+"//"+f.location.host;e=(0,g.x)(function(m){if(("*"==l||m.origin== l)&&m.data==k)this.port1.onmessage()},this); f.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){f.postMessage(k,l)}}}); if("undefined"!==typeof a&&!Jb("Trident")&&!Jb("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(g.Ca(c.next)){c=c.next;var e=c.Zu;c.Zu=null;e()}}; return function(e){d.next={Zu:e};d=d.next;b.port2.postMessage(0)}}return"undefined"!==typeof document&&"onreadystatechange"in document.createElement("SCRIPT")?function(e){var f=document.createElement("SCRIPT"); f.onreadystatechange=function(){f.onreadystatechange=null;f.parentNode.removeChild(f);f=null;e();e=null}; document.documentElement.appendChild(f)}:function(e){g.u.setTimeout(e,0)}}; Zf=function(){this.i=this.g=null}; $f=function(){this.next=this.scope=this.wf=null}; g.dg=function(a,b){ag||dba();bg||(ag(),bg=!0);cg.add(a,b)}; dba=function(){if(g.u.Promise&&g.u.Promise.resolve){var a=g.u.Promise.resolve(void 0);ag=function(){a.then(eg)}}else ag=function(){Yf(eg)}}; eg=function(){for(var a;a=cg.remove();){try{a.wf.call(a.scope)}catch(b){Wf(b)}Vf(fg,a)}bg=!1}; gg=function(a){a.prototype.$goog_Thenable=!0}; hg=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}}; jg=function(a,b){this.g=0;this.B=void 0;this.o=this.i=this.l=null;this.u=this.A=!1;if(a!=g.Ha)try{var c=this;a.call(b,function(d){ig(c,2,d)},function(d){ig(c,3,d)})}catch(d){ig(this,3,d)}}; kg=function(){this.next=this.context=this.onRejected=this.l=this.g=null;this.i=!1}; mg=function(a,b,c){var d=lg.get();d.l=a;d.onRejected=b;d.context=c;return d}; ng=function(a){if(a instanceof jg)return a;var b=new jg(g.Ha);ig(b,2,a);return b}; og=function(a){return new jg(function(b,c){c(a)})}; rg=function(a,b,c){pg(a,b,c,null)||g.dg(g.Qa(b,a))}; sg=function(a){return new jg(function(b,c){a.length||b(void 0);for(var d=0,e;db&&(b=a.length);var c=a.indexOf("?");if(0>c||c>b){c=b;var d=""}else d=a.substring(c+1,b);return[a.substr(0,c),d,a.substr(b)]}; Wg=function(a,b){return b?a?a+"&"+b:b:a}; Xg=function(a,b){if(!b)return a;var c=Vg(a);c[1]=Wg(c[1],b);return c[0]+(c[1]?"?"+c[1]:"")+c[2]}; Yg=function(a,b,c){if(g.Ka(b))for(var d=0;dd)return null;var e=a.indexOf("&",d);if(0>e||e>c)e=c;d+=b.length+1;return Xc(a.substr(d,e-d))}; g.gh=function(a,b){for(var c=a.search(eh),d=0,e,f=[];0<=(e=dh(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(lba,"$1")}; mba=function(a,b){var c=Vg(a),d=c[1],e=[];d&&(0,g.y)(d.split("&"),function(f){var k=f.indexOf("=");b.hasOwnProperty(0<=k?f.substr(0,k):f)||e.push(f)}); c[1]=Wg(e.join("&"),g.$g(b));return c[0]+(c[1]?"?"+c[1]:"")+c[2]}; hh=function(){this.g={};return this}; ih=function(a,b){a.g.eb=$b(a.g,"eb",0)|b}; g.kh=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d}; lh=function(a,b){return a==b?!0:a&&b?a.top==b.top&&a.right==b.right&&a.bottom==b.bottom&&a.left==b.left:!1}; mh=function(a,b,c){b instanceof g.td?(a.left+=b.x,a.right+=b.x,a.top+=b.y,a.bottom+=b.y):(a.left+=b,a.right+=b,g.Fa(c)&&(a.top+=c,a.bottom+=c));return a}; g.nh=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}; g.oh=function(a){return new g.kh(a.top,a.left+a.width,a.top+a.height,a.left)}; g.ph=function(a,b){return a==b?!0:a&&b?a.left==b.left&&a.width==b.width&&a.top==b.top&&a.height==b.height:!1}; g.qh=function(a){return new g.td(a.left,a.top)}; nba=function(){this.g={};this.i=0}; rh=function(a,b){this.u=a;this.l=!0;this.g=b}; sh=function(a,b){rh.call(this,String(a),b);this.o=a;this.g=!!b}; th=function(a,b){rh.call(this,a,b)}; uh=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 th("",new g.nh(c,b,Number(a[3])-c,Number(a[2])-b))}return new th("",new g.nh(0,0,0,0))}; wh=function(){vh||(vh=new nba);return vh}; xh=function(a,b){a.g[b.getName()]=b}; g.zh=function(a,b,c){if(g.Da(b))(b=yh(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=yh(c,d);f&&(c.style[f]=e)}}; yh=function(a,b){var c=Ah[b];if(!c){var d=dd(b);c=d;void 0===a.style[d]&&(d=(g.Nd?"Webkit":g.Bh?"Moz":g.Ld?"ms":g.Ch?"O":null)+Laa(d),void 0!==a.style[d]&&(c=d));Ah[b]=c}return c}; g.Dh=function(a,b){var c=a.style[dd(b)];return"undefined"!==typeof c?c:a.style[yh(a,b)]||""}; Eh=function(a,b){var c=zd(a);return c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,null))?c[b]||c.getPropertyValue(b)||"":""}; g.Fh=function(a,b){return Eh(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]}; g.Hh=function(a,b,c){if(b instanceof g.td){var d=b.x;b=b.y}else d=b,b=c;a.style.left=Gh(d,!1);a.style.top=Gh(b,!1)}; Ih=function(a){return new g.td(a.offsetLeft,a.offsetTop)}; Jh=function(a){try{var b=a.getBoundingClientRect()}catch(c){return{left:0,top:0,right:0,bottom:0}}g.Ld&&a.ownerDocument.body&&(a=a.ownerDocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+a.body.clientTop);return b}; Kh=function(a){if(g.Ld&&!g.od(8))return a.offsetParent;var b=zd(a),c=g.Fh(a,"position"),d="fixed"==c||"absolute"==c;for(a=a.parentNode;a&&a!=b;a=a.parentNode)if(11==a.nodeType&&a.host&&(a=a.host),c=g.Fh(a,"position"),d=d&&"static"==c&&a!=b.documentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||"fixed"==c||"absolute"==c||"relative"==c))return a;return null}; g.Lh=function(a){var b=zd(a),c=new g.td(0,0);var d=b?zd(b):document;d=!g.Ld||g.od(9)||"CSS1Compat"==Bd(d).g.compatMode?d.documentElement:d.body;if(a==d)return c;a=Jh(a);b=Md(Bd(b).g);c.x=a.left+b.x;c.y=a.top+b.y;return c}; Nh=function(a,b){var c=new g.td(0,0),d=Od(zd(a));if(!id(d,"parent"))return c;var e=a;do{var f=d==b?g.Lh(e):Mh(e);c.x+=f.x;c.y+=f.y}while(d&&d!=b&&d!=d.parent&&(e=d.frameElement)&&(d=d.parent));return c}; g.Ph=function(a,b){var c=Oh(a),d=Oh(b);return new g.td(c.x-d.x,c.y-d.y)}; Mh=function(a){a=Jh(a);return new g.td(a.left,a.top)}; Oh=function(a){if(1==a.nodeType)return Mh(a);a=a.changedTouches?a.changedTouches[0]:a;return new g.td(a.clientX,a.clientY)}; g.Rh=function(a,b,c){if(b instanceof g.vd)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");g.Qh(a,b);a.style.height=Gh(c,!0)}; Gh=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a}; g.Qh=function(a,b){a.style.width=Gh(b,!0)}; g.Sh=function(a){var b=oba;if("none"!=g.Fh(a,"display"))return b(a);var c=a.style,d=c.display,e=c.visibility,f=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=f;c.visibility=e;return a}; oba=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=g.Nd&&!b&&!c;return g.Ca(b)&&!d||!a.getBoundingClientRect?new g.vd(b,c):(a=Jh(a),new g.vd(a.right-a.left,a.bottom-a.top))}; g.Th=function(a,b){a.style.display=b?"":"none"}; Uh=function(a){var b=new g.nh(-Number.MAX_VALUE/2,-Number.MAX_VALUE/2,Number.MAX_VALUE,Number.MAX_VALUE),c=new g.nh(0,0,0,0);if(!a||0==a.length)return c;for(var d=0;d=f.top&&e.topf.top):e=!1;xh(a,new sh(1024, e));d&&0=f.left&&e.leftc.left):c=!1;xh(a,new sh(4096,c))}}; pba=function(a,b){var c=0;g.Sb(Od(),"ima","video","client","tagged")&&(c=1);var d=null;a&&(d=a());if(d){var e=d;d=wh();d.g={};var f=new sh(32,!0);f.l=!1;xh(d,f);f=Od().document;f=f.visibilityState||f.webkitVisibilityState||f.mozVisibilityState||f.msVisibilityState||"";xh(d,new sh(64,"hidden"!=f.toLowerCase().substring(f.length-6)?!0:!1));try{var k=Od().top;try{var l=!!k.location.href||""===k.location.href}catch(r){l=!1}if(l){var m=nf(e);var n=m&&0!=m.length?"1":"0"}else n="2"}catch(r){n="2"}xh(d, new sh(256,"2"==n));xh(d,new sh(128,"1"==n));m=l=Od().top;"2"==n&&(m=Od());k=Vh(e,m);xh(d,new th("er",k));try{var p=m.document&&!m.document.body?null:Jd(m||window)}catch(r){p=null}p?(m=Md(Bd(m.document).g),xh(d,new sh(16384,!!m)),p=m?new g.nh(m.x,m.y,p.width,p.height):null):p=null;xh(d,new th("vi",p));if(p&&"1"==n){n=nf(e);e=[];for(m=0;ma&&b.setFullYear(b.getFullYear()-1900);return b}; Yh=function(a,b){a.getDate()!=b&&a.date.setUTCHours(a.date.getUTCHours()+(a.getDate()e?encodeURIComponent(vi(a,b,c,d,e+1)):"...";return encodeURIComponent(String(a))}; wi=function(a,b,c){a.g.push(b);a.l[b]=c}; xi=function(a,b,c,d){a.g.push(b);a.l[b]=ti(c,d)}; Ai=function(a,b,c){b=b+"//pagead2.googlesyndication.com"+c;var d=Bba(a)-c.length;if(0>d)return"";a.g.sort(function(p,r){return p-r}); c=null;for(var e="",f=0;f=n.length){d-=n.length;b+=n;e=a.i;break}else a.u&&(e=d,n[e-1]==a.i&&--e,b+=n.substr(0,e),e=a.i,d=0);c=null==c?k:c}}f="";a.o&&null!=c&&(f=e+a.o+"="+c);return b+f+""}; Bba=function(a){if(!a.o)return 4E3;var b=1,c;for(c in a.l)b=c.length>b?c.length:b;return 4E3-a.o.length-b-a.i.length-1}; Bi=function(a,b,c,d){if(Math.random()<(d||.01))try{if(c instanceof si)var e=c;else e=new si,ei(c,function(k,l){var m=e,n=m.A++;wi(m,n,ti(l,k))}); var f=Ai(e,a.g,"/pagead/gen_204?id="+b+"&");f&&ji(g.u,f)}catch(k){}}; g.Ci=function(a,b){this.start=aMath.random())}; Ii=function(a){a&&Hi&&Fi()&&(Hi.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_start"),Hi.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_end"))}; Li=function(){var a=Ji;this.o=Ki;this.l="jserror";this.i=!0;this.g=null;this.u=this.oi;this.Aa=void 0===a?null:a}; Mi=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}; Ni=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 2E3d?500:k}; fj=function(){}; hj=function(){if(!gj())throw Error();}; gj=function(){return!(!G||!G.performance)}; ij=function(a){return{visible:1,hidden:2,prerender:3,preview:4,unloaded:5}[a.visibilityState||a.webkitVisibilityState||a.mozVisibilityState||""]||0}; jj=function(){}; kj=function(a,b){this.g=a;this.depth=b}; lj=function(a){function b(l,m){return null==l?m:l} a=a||pi();var c=Math.max(a.length-1,0),d=ri(a);a=d.g;var e=d.i,f=d.l,k=[];f&&k.push(new kj([f.url,f.fr?2:0],b(f.depth,1)));e&&e!=f&&k.push(new kj([e.url,2],0));a.url&&a!=f&&k.push(new kj([a.url,0],b(a.depth,c)));d=(0,g.ge)(k,function(l,m){return k.slice(0,k.length-m)}); !a.url||(f||e)&&a!=f||(e=uba(a.url))&&d.push([new kj([e,1],b(a.depth,c))]);d.push([]);return(0,g.ge)(d,function(l){return Gba(c,l)})}; Gba=function(a,b){(0,g.mj)(b,function(e){return 0<=e.depth}); var c=nj(b,function(e,f){return Math.max(e,f.depth)},-1),d=oaa(c+2); d[0]=a;(0,g.y)(b,function(e){return d[e.depth+1]=e.g}); return d}; Hba=function(){var a=lj();return(0,g.ge)(a,function(b){return ui(b)})}; oj=function(){this.i=new jj;this.g=gj()?new hj:new fj}; Iba=function(){pj();var a=G.document;return!!(a&&a.body&&a.body.getBoundingClientRect&&g.Ma(G.setInterval)&&g.Ma(G.clearInterval)&&g.Ma(G.setTimeout)&&g.Ma(G.clearTimeout))}; qj=function(){pj();return Hba()}; rj=function(){}; pj=function(){return rj.getInstance().getContext()}; sj=function(a){for(var b=0,c=a,d=0;a&&a!=a.parent;)a=a.parent,d++,di(a)&&(c=a,b=d);return{yd:c,level:b}}; tj=function(a){var b=a!==a.top,c=a.top===sj(a).yd;if(b&&c&&null!=a.top.mraid)return{Ln:a.top.mraid,vo:3};a=a.mraid;return null!=a?b?c?{Ln:a,vo:2}:{Ln:a,vo:1}:{Ln:a,vo:0}:null}; Jba=function(a){return(a=a.document)&&g.Ma(a.elementFromPoint)}; uj=function(a){$e(this,a,null,null)}; Kba=function(a){this.o=a;this.g=-1;this.i=this.l=0}; vj=function(a,b){return function(c){for(var d=[],e=0;e=a}; Qba=function(){var a=g.Ib;return a?(0,g.Oj)("AppleTV;Apple TV;GoogleTV;HbbTV;NetCast.TV;Opera TV;POV_TV;SMART-TV;SmartTV;TV Store;AmazonWebAppPlatform;OMI/".split(";"),function(b){return Eb(a,b)})?!0:Eb(a,"Presto")&&Eb(a,"Linux")&&!Eb(a,"X11")&&!Eb(a,"Android")&&!Eb(a,"Mobi"):!1}; Pj=function(){this.F=!1;this.i=!di(G.top);this.D=bi()||ci();var a=pi();this.domain=0c.height?n>r?(e=n,f=p):(e=r,f=v):nc++;){if(a===b)return!0;try{if(a=g.Zd(a)||a){var d=zd(a),e=d&&Od(d),f=e&&e.frameElement;f&&(a=f)}}catch(k){break}}return!1}; Tba=function(a,b,c){if(!a||!b)return!1;b=mh(a.clone(),-b.left,-b.top);a=(b.left+b.right)/2;b=(b.top+b.bottom)/2;var d=ni();di(d.top)&&d.top&&d.top.document&&(d=d.top);if(!Jba(d))return!1;a=d.document.elementFromPoint(a,b);if(!a)return!1;b=(b=(b=zd(c))&&b.defaultView&&b.defaultView.frameElement)&&Sba(b,a);d=a===c;a=!d&&a&&ee(a,function(e){return e===c}); return!(b||d||a)}; Xj=function(a,b,c,d){return Pj.getInstance().i?!1:0>=a.Me()||0>=a.getHeight()?!0:c&&d?Gj(208,function(){return Tba(a,b,c)}):!1}; Yj=function(a,b,c){var d=new g.kh(0,0,0,0);this.time=a;this.volume=null;this.i=b;this.g=d;this.l=c}; Zj=function(a,b,c,d,e,f,k,l){this.A=a;this.B=b;this.o=c;this.i=d;this.g=e;this.l=f;this.u=l}; ak=function(a){this.l=a;this.i=0;this.g=null}; bk=function(a,b,c){this.yd=a;this.X=void 0===c?"na":c;this.o=[];this.I=!1;this.g=new Yj(-1,!0,this);this.l=this;this.D=this.B=b;this.aa=this.Y=this.A=!1;this.P="uk";this.ib=!1}; dk=function(a,b){a.aa||(a.aa=!0,a.P=b,a.D=0,a.l==a&&(a.B=0,ck(a)))}; ek=function(a,b){g.$a(a.o,b)||(a.o.push(b),b.eh(a.l),b.Cf(a.g),b.df()&&(a.A=!0))}; fk=function(a){a=a.l;a.Kx();a.Jx();var b=Pj.getInstance();b.A=Pi(!1,a.yd,b.D);a.FF();a.g.g=a.yw()}; gk=function(a){a.A=a.o.length?(0,g.Oj)(a.o,function(b){return b.df()}):!1}; hk=function(a){var b=g.gb(a.o);(0,g.y)(b,function(c){c.Cf(a.g)})}; ck=function(a){var b=g.gb(a.o);(0,g.y)(b,function(c){c.eh(a.l)}); a.l!=a||hk(a)}; ik=function(a,b){var c;if(!(c=a.Y)){c=a.g;var d=a.A;c=!(b&&(void 0===d||!d||c.volume==b.volume)&&c.i==b.i&&lh(c.g,b.g))}a.g=b;c&&hk(a)}; jk=function(a,b,c,d){this.element=a;this.i=new g.kh(0,0,0,0);this.D=new g.kh(0,0,0,0);this.u=this.g=b;this.Ja=c;this.I=d;this.ib=!1;this.timestamp=-1;this.o=new Zj(b.g,this.element,this.i,new g.kh(0,0,0,0),0,0,$i(),0)}; kk=function(a){this.ib=!1;this.g=a}; lk=function(a,b,c){this.l=void 0===c?0:c;this.i=a;this.g=null==b?"":b}; Uba=function(a){switch(Math.trunc(a.l)){case -16:return-16;case -8:return-8;case 0:return 0;case 8:return 8;case 16:return 16;default:return 16}}; Vba=function(a,b){return new lk(a.i,a.g,a.l+b)}; mk=function(a,b){return a.lb.l?!1:a.ib.i?!1:typeof a.gtypeof b.g?!1:a.g=a.length)throw Pk;if(b in a)return a[b++];b++}}; return c}throw Error("Not implemented");}; g.Rk=function(a,b,c){if(g.La(a))try{(0,g.y)(a,b,c)}catch(d){if(d!==Pk)throw d;}else{a=Qk(a);try{for(;;)b.call(c,a.next(),void 0,a)}catch(d){if(d!==Pk)throw d;}}}; gca=function(a){if(g.La(a))return g.gb(a);a=Qk(a);var b=[];g.Rk(a,function(c){b.push(c)}); return b}; Sk=function(){this.o=this.g=this.l=this.i=this.u=0}; hca=function(a){var b={};var c=(0,g.D)()-a.u;b=(b.ptlt=c,b);(c=a.i)&&(b.pnk=c);(c=a.l)&&(b.pnc=c);(c=a.o)&&(b.pnmm=c);(a=a.g)&&(b.pns=a);return b}; Tk=function(){Qi.call(this);this.fullscreen=!1;this.volume=void 0;this.paused=!1;this.l=-1}; Uk=function(a){return Nj(a.volume)&&.1<=a.volume}; ica=function(){var a={};this.i=(a.vs=[1,0],a.vw=[0,1],a.am=[2,2],a.a=[4,4],a.f=[8,8],a.bm=[16,16],a.b=[32,32],a.avw=[0,64],a.pv=[256,256],a.gdr=[0,512],a.p=[0,1024],a.r=[0,2048],a.m=[0,4096],a.um=[0,8192],a.ef=[0,16384],a.s=[0,32768],a.pmx=[0,16777216],a);this.g={};for(var b in this.i)0=a.A/2:gl(a.T)?b>=a.T:!1:!1}; gl=function(a){return 1==Yi(xj.getInstance().Ja,"gmpd")?0c.time?b:c},a[0])}; Dl=function(a,b,c,d){Bl.call(this,a,b,c,d);this.A=this.B=this.l=null}; El=function(a){return a.l&&a.l.takeRecords?a.l.takeRecords():[]}; Hca=function(a){if(!a.element)return!1;var b=a.element,c=a.g.yd,d=xj.getInstance();a.l=new c.IntersectionObserver(vj(d.g.g,function(e){return Cl(a,e)}),Gca); 1==Yi(d.Ja,"roio")&&(d=function(){a.l.unobserve(b);a.l.observe(b);Cl(a,El(a))},c.ResizeObserver?(a.B=new c.ResizeObserver(d),a.B.observe(b)):c.MutationObserver&&(a.A=new g.u.MutationObserver(d),a.A.observe(b,{attributes:!0, childList:!0,characterData:!0,subtree:!0})));a.l.observe(b);Cl(a,El(a));return!0}; Fl=function(a){a=void 0===a?G:a;kk.call(this,new bk(a,2))}; Hl=function(){var a=Gl();bk.call(this,G.top,a,"geo")}; Gl=function(){xj.getInstance();var a=Pj.getInstance();return a.i||a.o?0:2}; Il=function(){}; g.Jl=function(a,b,c){g.A.call(this);this.l=null!=c?(0,g.x)(a,c):a;this.Zc=b;this.i=(0,g.x)(this.FD,this);this.g=[]}; Kl=function(a){a.Aa=g.Gg(a.i,a.Zc);a.l.apply(null,a.g)}; Ll=function(){this.done=!1;this.g={AC:0,Hu:0,Rs:0,Lv:0,Pq:-1};this.H=this.o=this.B=this.u=this.D=null;this.I=!1;this.i=null;this.R=0;this.l=new ak(this)}; Ml=function(){var a=xj.getInstance().Sa;return"nio"===a||"aio"===a||"omid"===a}; Ol=function(){var a=Nl;if(!a.I){a.I=!0;if(!a.D&&!Ml()){var b=Hj(137,function(c){for(var d=[],e=0;eg.Rb(Zca).length?null:nj(b,function(c,d){var e=d.toLowerCase().split("=");if(2!=e.length||!g.Ca(Gm[e[0]])||!Gm[e[0]](e[1]))throw Error("Entry ("+e[0]+", "+e[1]+") is invalid.");c[e[0]]=e[1];return c},{})}catch(c){return null}}; ada=function(a,b){if(void 0==a.g)return 0;switch(a.u){case "mtos":return a.i?Ck(b.i,a.g):Ck(b.l,a.g);case "tos":return a.i?Ak(b.i,a.g):Ak(b.l,a.g)}return 0}; Hm=function(a,b,c,d){$k.call(this,b,d);this.B=a;this.A=c}; Im=function(a){$k.call(this,"fully_viewable_audible_half_duration_impression",a)}; Jm=function(a){return!a||"function"!==typeof a||0>String(Function.prototype.toString).indexOf("[native code]")?!1:0<=String(a).indexOf("[native code]")&&!0||!1}; Lm=function(a){return!!(1<>>0]|=f<>>0).toString(16)+"&"}); c=105;(0,g.y)(dda,function(d){var e="false";try{e=d(G)}catch(f){}a+=String.fromCharCode(c++)+"="+e+"&"}); (0,g.y)(eda,function(d){var e="";try{e=g.le(d(G))}catch(f){}a+=String.fromCharCode(c++)+"="+e+"&"}); return a.slice(0,-1)}; bda=function(){if(!Mm){var a=function(){Nm=!0;G.document.removeEventListener("webdriver-evaluate",a,!0)}; G.document.addEventListener("webdriver-evaluate",a,!0);var b=function(){Om=!0;G.document.removeEventListener("webdriver-evaluate-response",b,!0)}; G.document.addEventListener("webdriver-evaluate-response",b,!0);Mm=!0}}; Pm=function(){this.i=64;this.g=Array(4);this.u=Array(this.i);this.o=this.l=0;this.reset()}; Qm=function(a,b,c){c||(c=0);var d=Array(16);if(g.Da(b))for(var e=0;16>e;++e)d[e]=b.charCodeAt(c++)|b.charCodeAt(c++)<<8|b.charCodeAt(c++)<<16|b.charCodeAt(c++)<<24;else for(e=0;16>e;++e)d[e]=b[c++]|b[c++]<<8|b[c++]<<16|b[c++]<<24;b=a.g[0];c=a.g[1];e=a.g[2];var f=a.g[3];var k=b+(f^c&(e^f))+d[0]+3614090360&4294967295;b=c+(k<<7&4294967295|k>>>25);k=f+(e^b&(c^e))+d[1]+3905402710&4294967295;f=b+(k<<12&4294967295|k>>>20);k=e+(c^f&(b^c))+d[2]+606105819&4294967295;e=f+(k<<17&4294967295|k>>>15);k=c+(b^e&(f^ b))+d[3]+3250441966&4294967295;c=e+(k<<22&4294967295|k>>>10);k=b+(f^c&(e^f))+d[4]+4118548399&4294967295;b=c+(k<<7&4294967295|k>>>25);k=f+(e^b&(c^e))+d[5]+1200080426&4294967295;f=b+(k<<12&4294967295|k>>>20);k=e+(c^f&(b^c))+d[6]+2821735955&4294967295;e=f+(k<<17&4294967295|k>>>15);k=c+(b^e&(f^b))+d[7]+4249261313&4294967295;c=e+(k<<22&4294967295|k>>>10);k=b+(f^c&(e^f))+d[8]+1770035416&4294967295;b=c+(k<<7&4294967295|k>>>25);k=f+(e^b&(c^e))+d[9]+2336552879&4294967295;f=b+(k<<12&4294967295|k>>>20);k=e+ (c^f&(b^c))+d[10]+4294925233&4294967295;e=f+(k<<17&4294967295|k>>>15);k=c+(b^e&(f^b))+d[11]+2304563134&4294967295;c=e+(k<<22&4294967295|k>>>10);k=b+(f^c&(e^f))+d[12]+1804603682&4294967295;b=c+(k<<7&4294967295|k>>>25);k=f+(e^b&(c^e))+d[13]+4254626195&4294967295;f=b+(k<<12&4294967295|k>>>20);k=e+(c^f&(b^c))+d[14]+2792965006&4294967295;e=f+(k<<17&4294967295|k>>>15);k=c+(b^e&(f^b))+d[15]+1236535329&4294967295;c=e+(k<<22&4294967295|k>>>10);k=b+(e^f&(c^e))+d[1]+4129170786&4294967295;b=c+(k<<5&4294967295| k>>>27);k=f+(c^e&(b^c))+d[6]+3225465664&4294967295;f=b+(k<<9&4294967295|k>>>23);k=e+(b^c&(f^b))+d[11]+643717713&4294967295;e=f+(k<<14&4294967295|k>>>18);k=c+(f^b&(e^f))+d[0]+3921069994&4294967295;c=e+(k<<20&4294967295|k>>>12);k=b+(e^f&(c^e))+d[5]+3593408605&4294967295;b=c+(k<<5&4294967295|k>>>27);k=f+(c^e&(b^c))+d[10]+38016083&4294967295;f=b+(k<<9&4294967295|k>>>23);k=e+(b^c&(f^b))+d[15]+3634488961&4294967295;e=f+(k<<14&4294967295|k>>>18);k=c+(f^b&(e^f))+d[4]+3889429448&4294967295;c=e+(k<<20&4294967295| k>>>12);k=b+(e^f&(c^e))+d[9]+568446438&4294967295;b=c+(k<<5&4294967295|k>>>27);k=f+(c^e&(b^c))+d[14]+3275163606&4294967295;f=b+(k<<9&4294967295|k>>>23);k=e+(b^c&(f^b))+d[3]+4107603335&4294967295;e=f+(k<<14&4294967295|k>>>18);k=c+(f^b&(e^f))+d[8]+1163531501&4294967295;c=e+(k<<20&4294967295|k>>>12);k=b+(e^f&(c^e))+d[13]+2850285829&4294967295;b=c+(k<<5&4294967295|k>>>27);k=f+(c^e&(b^c))+d[2]+4243563512&4294967295;f=b+(k<<9&4294967295|k>>>23);k=e+(b^c&(f^b))+d[7]+1735328473&4294967295;e=f+(k<<14&4294967295| k>>>18);k=c+(f^b&(e^f))+d[12]+2368359562&4294967295;c=e+(k<<20&4294967295|k>>>12);k=b+(c^e^f)+d[5]+4294588738&4294967295;b=c+(k<<4&4294967295|k>>>28);k=f+(b^c^e)+d[8]+2272392833&4294967295;f=b+(k<<11&4294967295|k>>>21);k=e+(f^b^c)+d[11]+1839030562&4294967295;e=f+(k<<16&4294967295|k>>>16);k=c+(e^f^b)+d[14]+4259657740&4294967295;c=e+(k<<23&4294967295|k>>>9);k=b+(c^e^f)+d[1]+2763975236&4294967295;b=c+(k<<4&4294967295|k>>>28);k=f+(b^c^e)+d[4]+1272893353&4294967295;f=b+(k<<11&4294967295|k>>>21);k=e+(f^ b^c)+d[7]+4139469664&4294967295;e=f+(k<<16&4294967295|k>>>16);k=c+(e^f^b)+d[10]+3200236656&4294967295;c=e+(k<<23&4294967295|k>>>9);k=b+(c^e^f)+d[13]+681279174&4294967295;b=c+(k<<4&4294967295|k>>>28);k=f+(b^c^e)+d[0]+3936430074&4294967295;f=b+(k<<11&4294967295|k>>>21);k=e+(f^b^c)+d[3]+3572445317&4294967295;e=f+(k<<16&4294967295|k>>>16);k=c+(e^f^b)+d[6]+76029189&4294967295;c=e+(k<<23&4294967295|k>>>9);k=b+(c^e^f)+d[9]+3654602809&4294967295;b=c+(k<<4&4294967295|k>>>28);k=f+(b^c^e)+d[12]+3873151461&4294967295; f=b+(k<<11&4294967295|k>>>21);k=e+(f^b^c)+d[15]+530742520&4294967295;e=f+(k<<16&4294967295|k>>>16);k=c+(e^f^b)+d[2]+3299628645&4294967295;c=e+(k<<23&4294967295|k>>>9);k=b+(e^(c|~f))+d[0]+4096336452&4294967295;b=c+(k<<6&4294967295|k>>>26);k=f+(c^(b|~e))+d[7]+1126891415&4294967295;f=b+(k<<10&4294967295|k>>>22);k=e+(b^(f|~c))+d[14]+2878612391&4294967295;e=f+(k<<15&4294967295|k>>>17);k=c+(f^(e|~b))+d[5]+4237533241&4294967295;c=e+(k<<21&4294967295|k>>>11);k=b+(e^(c|~f))+d[12]+1700485571&4294967295;b=c+ (k<<6&4294967295|k>>>26);k=f+(c^(b|~e))+d[3]+2399980690&4294967295;f=b+(k<<10&4294967295|k>>>22);k=e+(b^(f|~c))+d[10]+4293915773&4294967295;e=f+(k<<15&4294967295|k>>>17);k=c+(f^(e|~b))+d[1]+2240044497&4294967295;c=e+(k<<21&4294967295|k>>>11);k=b+(e^(c|~f))+d[8]+1873313359&4294967295;b=c+(k<<6&4294967295|k>>>26);k=f+(c^(b|~e))+d[15]+4264355552&4294967295;f=b+(k<<10&4294967295|k>>>22);k=e+(b^(f|~c))+d[6]+2734768916&4294967295;e=f+(k<<15&4294967295|k>>>17);k=c+(f^(e|~b))+d[13]+1309151649&4294967295; c=e+(k<<21&4294967295|k>>>11);k=b+(e^(c|~f))+d[4]+4149444226&4294967295;b=c+(k<<6&4294967295|k>>>26);k=f+(c^(b|~e))+d[11]+3174756917&4294967295;f=b+(k<<10&4294967295|k>>>22);k=e+(b^(f|~c))+d[2]+718787259&4294967295;e=f+(k<<15&4294967295|k>>>17);k=c+(f^(e|~b))+d[9]+3951481745&4294967295;a.g[0]=a.g[0]+b&4294967295;a.g[1]=a.g[1]+(e+(k<<21&4294967295|k>>>11))&4294967295;a.g[2]=a.g[2]+e&4294967295;a.g[3]=a.g[3]+f&4294967295}; Rm=function(){this.i=null}; Sm=function(a){return function(b){var c=new Pm;c.update(b+a);return Uaa(c.digest()).slice(-8)}}; Tm=function(a,b){this.i=a;this.l=b}; gda=function(a){var b=cm(a)?"custom_metric_viewable":a;a=Vb(kl,function(c){return c==b}); return am[a]}; Um=function(a,b,c){Tm.call(this,a,b);this.o=c}; Vm=function(){tm.call(this);this.A=void 0;this.F=null;this.B=!1;this.D={};this.l=new Rm}; Wm=function(){var a=Vm.getInstance(),b="h"==zm(a)||"b"==zm(a),c="exc"!=xj.getInstance().Sa;b&&c&&(a.B=!0,a.F=new uca)}; hda=function(a,b,c){c=c.opt_configurable_tracking_events;if(null!=a.i&&g.Ka(c)){var d=a.i;Dba(c);(0,g.y)(c,function(e){var f=(0,g.ge)(e.gR,function(k){var l=$ca(k);if(null==l)k=null;else if(k=new Yca,null!=l.visible&&(k.g=l.visible/100),null!=l.audible&&(k.i=1==l.audible),null!=l.time){var m="mtos"==l.timetype?"mtos":"tos",n=vb(l.time,"%")?"%":"ms";l=parseInt(l.time,10);"%"==n&&(l/=100);"ms"==n?(k.l=l,k.o=-1):(k.l=-1,k.o=l);k.u=void 0===m?"tos":m}return k}); (0,g.Oj)(f,function(k){return null==k})||nca(b,new Hm(e.id,e.event,f,d))})}}; ida=function(){var a=xl.getInstance().g,b="";a&&(b=a.getName());a=xj.getInstance();return"exc"===a.Sa||"nis"===a.Sa||"nis"===b}; jda=function(a,b,c){var d=rl(tl,b);d||(d=c.opt_nativeTime||-1,d=um(a,b,zm(a),d),c.opt_osdId&&(d.Cg=c.opt_osdId));return d}; Xm=function(a,b,c){var d=rl(tl,b);d||(d=um(a,b,"n",c.opt_nativeTime||-1),d.F=Pj.getInstance().F);return d}; kda=function(a,b){var c=rl(tl,b);c||(c=um(a,b,"h",-1));return c}; lda=function(a){var b=xj.getInstance();switch(zm(a)){case "b":return"ytads.bulleit.triggerExternalActivityEvent";case "n":return"ima.bridge.triggerExternalActivityEvent";case "h":if("exc"==b.Sa)return"ima.bridge.triggerExternalActivityEvent";case "m":case "ml":return"ima.common.triggerExternalActivityEvent"}return null}; Zm=function(a,b,c,d){c=void 0===c?{}:c;var e={};g.ec(e,{opt_adElement:void 0,opt_fullscreen:void 0},c);if(e.opt_bounds)return a.l.g(bm("ol",d));if(g.Ca(d))if(c=Zl(d),g.Ca(c))if(wm)b=bm("ue",d);else if(b=a.Oj(b,e))if(a.o&&3==b.Cc)b="stopped";else{b:{Tca(a);"i"==xm&&(b.Kf=!0,a.Vs(b));c=e.opt_fullscreen;g.Ca(c)&&Kk(b,!!c);var f;if(c=!Pj.getInstance().o&&!(Eb(g.Ib,"CrKey")||Eb(g.Ib,"PlayStation")||Eb(g.Ib,"Roku")||Qba()||Eb(g.Ib,"Xbox")))pj(),c=0===ij(mi);if(f=c){switch(b.fe()){case 1:Bm(a,b,"pv");break; case 2:a.Os(b)}ym("pv")}c=d.toLowerCase();!f&&g.$a(mda,c)&&Uca(a,b,e);0!=b.Cc&&g.$a(nda,c)&&!b.Kf&&!a.u&&b.kh&&(f=b.kh,f.g||(f.g=al(f,b)));(f=b.Eh[c])&&Vk(b.yc,f);switch(b.fe()){case 1:var k=cm(c)?a.H.custom_metric_viewable:a.H[c];break;case 2:k=a.R[c]}if(k&&(d=k.call(a,b,e,d),g.Ca(d))){e=bm(void 0,c);g.ec(e,d);d=e;break b}d=void 0}3==b.Cc&&(a.o?b.Sa&&b.Sa.mn():a.wj(b));b=d}else b=bm("nf",d);else b=void 0;else wm?b=bm("ue"):(b=a.Oj(b,e))?(d=bm(),g.ec(d,ll(b,!0,!1,!1)),b=d):b=bm("nf");return g.Da(b)? a.o&&"stopped"===b?Ym:a.l.g(void 0):a.l.g(b)}; oda=function(a,b,c){a=Pj.getInstance();if(a.F!=b){a.F=b;var d=(0,g.Oj)(tl.g,function(e){return e.ya}); (0,g.y)(tl.g,function(e){b||d||(e.li=c);e.F=b;e.ya=!1})}}; an=function(a,b){var c;if(b.Cg&&$m(a)){var d=a.D[b.Cg];d?c=function(f,k){d.l(f,k)}:null!==d&&Jj(379,Error())}else c=g.w("ima.common.triggerViewabilityMeasurementUpdate"); if(g.Ma(c)){var e=oca(b);e.nativeVolume=a.A;c(b.gc,e)}}; $m=function(a){return"exc"==xj.getInstance().Sa||"h"!=zm(a)&&zm(a),!1}; bn=function(a){var b={};return b.viewability=a.g,b.googleViewability=a.l,b.moatInit=a.u,b.moatViewability=a.A,b.integralAdsViewability=a.o,b.doubleVerifyViewability=a.i,b}; cn=function(a,b,c){c=void 0===c?{}:c;a=Zm(Vm.getInstance(),b,c,a);return bn(a)}; dn=function(a){if(!a)return"";a=a.split("#")[0].split("?")[0];a=a.toLowerCase();0==a.indexOf("//")&&(a=window.location.protocol+a);/^[\w\-]*:\/\//.test(a)||(a=window.location.href);var b=a.substring(a.indexOf("://")+3),c=b.indexOf("/");-1!=c&&(b=b.substring(0,c));a=a.substring(0,a.indexOf("://"));if("http"!==a&&"https"!==a&&"chrome-extension"!==a&&"file"!==a&&"android-app"!==a&&"chrome-search"!==a&&"app"!==a)throw Error("Invalid URI scheme in origin: "+a);c="";var d=b.indexOf(":");if(-1!=d){var e= b.substring(d+1);b=b.substring(0,d);if("http"===a&&"80"!==e||"https"===a&&"443"!==e)c=":"+e}return a+"://"+b+c}; pda=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;p=n=0} function b(r){for(var v=k,z=0;64>z;z+=4)v[z/4]=r[z]<<24|r[z+1]<<16|r[z+2]<<8|r[z+3];for(z=16;80>z;z++)r=v[z-3]^v[z-8]^v[z-14]^v[z-16],v[z]=(r<<1|r>>>31)&4294967295;r=e[0];var C=e[1],F=e[2],E=e[3],K=e[4];for(z=0;80>z;z++){if(40>z)if(20>z){var R=E^C&(F^E);var V=1518500249}else R=C^F^E,V=1859775393;else 60>z?(R=C&F|E&(C|F),V=2400959708):(R=C^F^E,V=3395469782);R=((r<<5|r>>>27)&4294967295)+R+K+V+v[z]&4294967295;K=E;E=F;F=(C<<30|C>>>2)&4294967295;C=r;r=R}e[0]=e[0]+r&4294967295;e[1]=e[1]+C&4294967295;e[2]= e[2]+F&4294967295;e[3]=e[3]+E&4294967295;e[4]=e[4]+K&4294967295} function c(r,v){if("string"===typeof r){r=unescape(encodeURIComponent(r));for(var z=[],C=0,F=r.length;Cn?c(l,56-n):c(l,64-(n-56));for(var z=63;56<=z;z--)f[z]=v&255,v>>>=8;b(f);for(z=v=0;5>z;z++)for(var C=24;0<=C;C-=8)r[v++]=e[z]>>C&255;return r} for(var e=[],f=[],k=[],l=[128],m=1;64>m;++m)l[m]=0;var n,p;a();return{reset:a,update:c,digest:d,YC:function(){for(var r=d(),v="",z=0;zb)throw Error("Bad port number "+b);a.u=b}else a.u=null}; on=function(a,b,c){b instanceof g.qn?(a.l=b,rda(a.l,a.B)):(c||(b=rn(b,sda)),a.l=new g.qn(b,a.B))}; g.sn=function(a,b,c){a.l.set(b,c)}; g.tn=function(a){return a instanceof g.kn?a.clone():new g.kn(a,void 0)}; pn=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}; rn=function(a,b,c){return g.Da(a)?(a=encodeURI(a).replace(b,tda),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}; tda=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}; g.qn=function(a,b){this.Da=this.g=null;this.i=a||null;this.l=!!b}; un=function(a){a.g||(a.g=new g.gn,a.Da=0,a.i&&Ug(a.i,function(b,c){a.add(Xc(b),c)}))}; wn=function(a,b){un(a);b=vn(a,b);return hn(a.g.i,b)}; g.xn=function(a,b,c){a.remove(b);0=b){a.g=d[k];break}}; Bda=function(){this.i=null!=g.u.G_testRunner;this.g=new g.gn;Fn.g||(In(this,"GvnExternalLayer",31061774,.01),In(this,"GvnExternalLayer",31061775,.01),In(this,"GvnExternalLayer",41351088,.01),In(this,"GvnExternalLayer",41351089,.01),In(this,"GvnExternalLayer",420706008,.05),In(this,"GvnExternalLayer",420706009,.05),In(this,"GvnExternalLayer",41351073,.01),In(this,"GvnExternalLayer",41351074,.01),In(this,"GvnExternalLayer",41351075,.01),In(this,"GvnExternalLayer",634360101,0),In(this,"GvnExternalLayer", 634360102,0),In(this,"GvnExternalLayer",21592080,.1),In(this,"GvnExternalLayer",21592081,.1),In(this,"GvnExternalLayer",413051059,.05),In(this,"GvnExternalLayer",413051060,.05),In(this,"GvnExternalLayer",324123E3,.05),In(this,"GvnExternalLayer",324123001,.05),In(this,"GvnExternalLayer",420706068,.01),In(this,"GvnExternalLayer",420706069,.01),In(this,"GvnExternalLayer",324123020,.01),In(this,"GvnExternalLayer",324123021,.01));In(this,"ActiveViewExternalLayer",953563515,.01);In(this,"ActiveViewExternalLayer", 953563516,.01);In(this,"ActiveViewExternalLayer",953563517,.01);zda(this);var a=Dn();a=xda(a);null!=a&&(this.i=!1,Ada(this,a.map(String)))}; Kn=function(){Jn||(Jn=new Bda);return Jn}; In=function(a,b,c,d){g.wb(g.ad(b))||isNaN(c)||0>=c||(c=new Gn(c,d),Ln(a,b).i.set(c.getId(),c))}; zda=function(a){wda()||(0,g.y)(a.g.Bc(),function(b){yda(b)},a)}; Ada=function(a,b){(0,g.y)(b,function(c){var d=Number(c);c="FORCED_PUB_EXP_LAYER_"+c;isNaN(d)||0>=d||g.wb(g.ad(c))||(Ln(this,c).g=new Gn(d,0,!0))},a)}; Mn=function(a,b){return a.i?!1:(0,g.Oj)(a.g.Bc(),function(c){return!!c.g&&c.g.getId()==b})}; Cda=function(){var a=Kn();if(a.i)return"";var b=[];(0,g.y)(a.g.Bc(),function(c){(c=c.g)&&c.l&&b.push(c.getId())}); return b.sort().join(",")}; Ln=function(a,b){var c=a.g.get(b);null==c&&(c=new Hn(b),a.g.set(b,c));return c}; Fda=function(a){try{var b=(new g.kn(a)).g;b=b.replace(/^www./i,"");return(0,g.Oj)(Dda,function(c){return Eda(c,b)})}catch(c){return!1}}; Eda=function(a,b){if(g.wb(g.ad(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}; Nn=function(a,b){return(new RegExp("^https?://([a-z0-9-]{1,63}\\.)*("+b.join("|").replace(/\./g,"\\.")+")(:[0-9]+)?([/?#]|$)","i")).test(a)}; Rn=function(a,b,c,d){null!=a&&null!=b&&(a=g.Bn(a,b));try{if(null!=c){b=a;var e=(c||{}).viewability||"na";if(g.wb(g.ad(e)))a=b;else{var f=new g.kn(b);wn(f.l,"label")?(g.sn(f,"acvw",e),a=f.toString().replace(/%2C/g,",")):a=b}}a:{c=a;e=void 0;var k=c.length-11-2;if(!(-1==c.indexOf("URL_SIGNALS")||2048<=k||!e&&!window.Goog_AdSense_Lidar_getUrlSignalsArray))for(e=e||window.Goog_AdSense_Lidar_getUrlSignalsArray(),k={},f=0;fl.length){a=l;break a}}a= c}}catch(r){}try{l=a;k=!1;Nn(l,Gda)?k=!1:null!=l&&Fda(l)?k=!0:"https:"==window.location.protocol&&(Nn(l,Hda)||Fn.g)&&(k=!0);if(k){var m=new g.kn(l);"https"==m.o?a=l:(g.ln(m,"https"),a=m.toString())}else a=l;var n=Kn(),p=!Fn.g||Mn(n,41351089);m=!1;Fn.g||!Mn(Kn(),634360102)||(m=!0);null!=d&&d?On.CA(a,p):Fn.i?On.PM(a,p,m):On.Tk(a,p,m)}catch(r){}}; Sn=function(a){return(a=a.exec(g.Ib))?a[1]:""}; Tn=function(a){return 0<=g.Hb(Ida,a)}; Un=function(){this.g=null;this.l="";this.i=null}; Jda=function(){var a="h."+Vn.l;null!=Vn.i&&(a+="/n."+Vn.i,null!=Vn.g&&(a+="/"+Vn.g));return a}; Wn=function(){this.g=.01>Math.random();this.i=Math.floor(4503599627370496*Math.random())}; Kda=function(a,b){b.id="ima_html5";var c=Xn();b.c=a.i;b.domain=c.g;return b}; Xn=function(){var a=Od(),b=document;return new g.kn(a.parent==a?a.location.href:b.referrer)}; Yn=function(){g.Qf.call(this);this.g=new g.gn;this.i=null;this.ca=new g.yn(this);g.B(this,this.ca);this.o=null;this.l=-1}; $n=function(){null!=Zn||(Zn=new Yn);return Zn}; ao=function(a,b){var c={};c.queryId=a;c.viewabilityString=b;$n().dispatchEvent(new Cn("measurable_impression",null,c))}; bo=function(a,b){var c={};c.queryId=a;c.viewabilityString=b;$n().dispatchEvent(new Cn("viewable_impression",null,c))}; co=function(a,b,c){var d={};d.queryId=a;d.viewabilityString=b;d.eventName=c;$n().dispatchEvent(new Cn("externalActivityEvent",null,d))}; eo=function(a){if(a=a.match(/[\d]+/g))a.length=3}; fo=function(){g.Qf.call(this);this.g=null;this.ca=new g.yn(this);g.B(this,this.ca);this.A=new g.gn;this.u=new g.gn;this.i=!1;this.l=null}; ho=function(){null!=go||(go=new fo);return go}; io=function(a){if(g.Ma(window.Goog_AdSense_Lidar_getUrlSignalsArray)){var b={};b.pageSignals=window.Goog_AdSense_Lidar_getUrlSignalsArray();a.g.send("activityMonitor","pageSignals",b)}}; Lda=function(a,b,c){var d=b?a.u.get(b):Fn.o;a={};null!=c&&(a.fullscreen=c);c="";try{c=qba(function(){return d},a)}catch(e){c="sdktle;"+Zc(e.name,12)+";"+Zc(e.message,40)}return c}; g.jo=function(){}; g.ko=function(a,b){var c=a.g(b);return-1==(0==c?null:c)?"rtl":"ltr"}; mo=function(a,b){var c="key_"+a+":"+b,d=lo[c];if(void 0===d||0>d)lo[c]=0;else if(0==d)throw Error('Encountered two active delegates with the same priority ("'+a+":"+b+'").');}; no=function(a){if(a.classList)return a.classList;a=a.className;return g.Da(a)&&a.match(/\S+/g)||[]}; g.oo=function(a,b){return a.classList?a.classList.contains(b):g.$a(no(a),b)}; g.H=function(a,b){a.classList?a.classList.add(b):g.oo(a,b)||(a.className+=0=c)return 0;if(1<=c)return 1;for(var d=0,e=1,f=0,k=0;8>k;k++){f=Vo(a,c);var l=(Vo(a,c+1E-6)-f)/1E-6;if(1E-6>Math.abs(f-b))return c;if(1E-6>Math.abs(l))break;else fk;k++)f(0,g.D)()}; g.ep=function(a){this.g=a}; Uda=function(){}; fp=function(){}; gp=function(a){this.g=a}; hp=function(){var a=null;try{a=window.localStorage||null}catch(b){}this.g=a}; ip=function(){var a=null;try{a=window.sessionStorage||null}catch(b){}this.g=a}; kp=function(a,b){this.i=a;this.g=null;if(g.Ld&&!g.od(9)){jp||(jp=new g.gn);this.g=jp.get(a);this.g||(b?this.g=document.getElementById(b):(this.g=document.createElement("userdata"),this.g.addBehavior("#default#userData"),document.body.appendChild(this.g)),jp.set(a,this.g));try{this.g.load(this.i)}catch(c){this.g=null}}}; lp=function(a){return"_"+encodeURIComponent(a).replace(/[.!~*'()%]/g,function(b){return Vda[b]})}; mp=function(a){try{a.g.save(a.i)}catch(b){throw"Storage mechanism: Quota exceeded";}}; np=function(a,b){this.i=a;this.g=b+"::"}; g.op=function(a){var b=new hp;return b.isAvailable()?a?new np(b,a):b:null}; pp=function(a,b){this.g=a;this.i=b}; qp=function(a){this.g=[];if(a)a:{if(a instanceof qp){var b=a.Pd();a=a.Bc();if(0>=this.g.length){for(var c=this.g,d=0;d>1,a[d].g>c.g)a[b]=a[d],b=d;else break;a[b]=c}; sp=function(){qp.call(this)}; Wda=function(a){this.cv=a}; tp=function(a,b,c){this.o=a;this.i=b;this.g=c||[];this.Lh=new Map}; up=function(a){$e(this,a,Xda,null)}; vp=function(a){$e(this,a,null,null)}; Zda=function(a,b){var c=hf(a,vp,1);0f&&(c=a.substring(f,e),c=c.replace(mea,""),c=c.replace(nea,""),c=c.replace("debug-",""),c=c.replace("tracing-",""))}spf.script.load(a,c,b)}else oea(a,b,c)}; oea=function(a,b,c){c=void 0===c?null:c;var d=sq(a),e=document.getElementById(d),f=e&&cq(e),k=e&&!f;f?b&&b():(b&&(f=g.lq(d,b),b=""+g.Pa(b),tq[b]=f),k||(e=pea(a,d,function(){cq(e)||(g.bq(e,"loaded","true"),g.oq(d),g.eq(g.Qa(qq,d),0))},c)))}; pea=function(a,b,c,d){d=void 0===d?null:d;var e=g.Rd("SCRIPT");e.id=b;e.onload=function(){c&&setTimeout(c,0)}; e.onreadystatechange=function(){switch(e.readyState){case "loaded":case "complete":e.onload()}}; d&&e.setAttribute("nonce",d);Vc(e,ai(a));a=document.getElementsByTagName("head")[0]||document.body;a.insertBefore(e,a.firstChild);return e}; sq=function(a){var b=document.createElement("a");g.Tc(b,a);a=b.href.replace(/^[a-zA-Z]+:\/\//,"//");return"js-"+bd(a)}; uq=function(){this.Td=!1;this.g=null}; vq=function(a,b,c){try{a.g=new window.botguard.bg(b)}catch(d){g.$p(d)}c&&c(b)}; qea=function(){}; g.xq=function(a,b){return wq(a,1,b)}; yq=function(){}; g.zq=function(){return!!g.w("yt.scheduler.instance")}; wq=function(a,b,c){isNaN(c)&&(c=void 0);var d=g.w("yt.scheduler.instance.addJob");return d?d(a,b,c):void 0===c?(a(),NaN):g.eq(a,c||0)}; g.Aq=function(a){if(!isNaN(a)){var b=g.w("yt.scheduler.instance.cancelJob");b?b(a):g.gq(a)}}; Bq=function(a){var b=g.w("yt.scheduler.instance.setPriorityThreshold");b&&b(a)}; sea=function(){if("1"!=g.Sb(g.Xp("PLAYER_CONFIG",{}),"args","privembed")){var a=function(){Cq=!0;"google_ad_status"in window?Wp("DCLKSTAT",1):Wp("DCLKSTAT",2)}; g.rq("//static.doubleclick.net/instream/ad_status.js",a);rea.push(g.xq(function(){if(!(Cq||"google_ad_status"in window)){if(a){var b=""+g.Pa(a);(b=tq[b])&&g.mq(b)}Cq=!0;Wp("DCLKSTAT",3)}},5E3))}}; Dq=function(){return g.w("yt.ads.biscotti.lastId_")||""}; Eq=function(a){g.Ga("yt.ads.biscotti.lastId_",a,void 0)}; Fq=function(a){a=a.split("&");for(var b={},c=0,d=a.length;ck.status)?k.json().then(m,function(){m(null)}):m(null)}}); b.fz&&0l.status,r=500<=l.status&&600>l.status;if(m||p||r)n=zea(c,l,b.fR);if(m)a:if(l&&204==l.status)m=!0;else{switch(c){case "XML":m=0==parseInt(n&&n.return_code,10);break a;case "RAW":m=!0;break a}m=!!n}n=n||{};p=b.context||g.u;m?b.onSuccess&&b.onSuccess.call(p,l,n):b.onError&&b.onError.call(p,l,n);b.ed&&b.ed.call(p,l,n)}},b.method,d,b.headers,b.responseType, b.withCredentials); b.ne&&0"',style:"display:none"}),zd(a).body.appendChild(a))):e?cr(a,b,"POST",e,d):g.Xp("USE_NET_AJAX_FOR_PING_TRANSPORT",!1)||d?cr(a,b,"GET","",d):((c=Vp.EXPERIMENT_FLAGS)&&c.web_use_beacon_api_for_ad_click_server_pings&&-1!=g.Qg(g.Sg(5,a)).indexOf("/aclk")&&"1"===fh(a, "ae")&&"1"===fh(a,"act")?wr(a)?(b&&b(),c=!0):c=!1:c=!1,c||Cea(a,b)))}; yr=function(a,b,c){c=void 0===c?"":c;wr(a,c)?b&&b():g.xr(a,b,void 0,void 0,c)}; wr=function(a,b){try{if(window.navigator&&window.navigator.sendBeacon&&window.navigator.sendBeacon(a,void 0===b?"":b))return!0}catch(c){}return!1}; Cea=function(a,b){var c=new Image,d=""+Dea++;zr[d]=c;c.onload=c.onerror=function(){b&&zr[d]&&b();delete zr[d]}; c.src=a}; Br=function(a,b){var c=g.bc(b),d;return xg(new jg(function(e,f){c.onSuccess=function(k){g.Wq(k)?e(k):f(new Ar("Request failed, status="+k.status,"net.badstatus",k))}; c.onError=function(k){f(new Ar("Unknown request error","net.unknown",k))}; c.ne=function(k){f(new Ar("Request timed out","net.timeout",k))}; d=g.br(a,c)}),function(e){e instanceof Cg&&d.abort(); return og(e)})}; g.Cr=function(a,b,c,d){function e(k,l,m){return xg(k,function(n){return 0>=l||403===n.lh.status?og(new Ar("Request retried too many times","net.retryexhausted",n.lh)):f(m).then(function(){return e(Br(a,b),l-1,Math.pow(2,c-l+1)*m)})})} function f(k){return new jg(function(l){setTimeout(l,k)})} return e(Br(a,b),c-1,d)}; Ar=function(a,b,c){Ta.call(this,a+", errorCode="+b);this.errorCode=b;this.lh=c;this.name="PromiseAjaxError"}; Dr=function(a){this.l=void 0===a?null:a;this.i=0;this.g=null}; Er=function(a){var b=new Dr;a=void 0===a?null:a;b.i=2;b.g=void 0===a?null:a;return b}; Fr=function(a){var b=new Dr;a=void 0===a?null:a;b.i=1;b.g=void 0===a?null:a;return b}; Hr=function(a){Ta.call(this,a.message||a.description||a.name);this.isMissing=a instanceof Gr;this.isTimeout=a instanceof Ar&&"net.timeout"==a.errorCode;this.isCanceled=a instanceof Cg}; Gr=function(){Ta.call(this,"Biscotti ID is missing from server")}; Eea=function(){if("1"===g.Sb(g.Xp("PLAYER_CONFIG",{}),"args","privembed"))return og(Error("Biscotti ID is not available in private embed mode"));Ir||(Ir=xg(Br("//googleads.g.doubleclick.net/pagead/id",Jr).then(Kr),function(a){return Lr(2,a)})); return Ir}; Kr=function(a){a=a.responseText;if(!ub(a,")]}'"))throw new Gr;a=JSON.parse(a.substr(4));if(1<(a.type||1))throw new Gr;a=a.id;Eq(a);Ir=Fr(a);Mr(18E5,2);return a}; Lr=function(a,b){var c=new Hr(b);Eq("");Ir=Er(c);0Hea&&(m=1),Wp("BATCH_CLIENT_COUNTER",m),k={serializedEventId:k,clientCounter:m},f.serializedClientEventId=k,$r&&as&&g.Tq("log_gel_rtt_web")&&(f.previousBatchInfo={serializedClientEventId:$r,roundtripMs:as}),$r=k,as=0;g.bs(b,a,f,{retry:Iea.has(a),onSuccess:(0,g.x)(Jea,this,g.M())})}if(d.previousDispatchMs){c=e-d.previousDispatchMs;var n=d.diffCount||0;d.averageTimeBetweenDispatchesMs=n?(d.averageTimeBetweenDispatchesMs*n+c)/(n+1): c;d.diffCount=n+1}d.previousDispatchMs=e}; Jea=function(a){as=Math.round(g.M()-a)}; ds=function(){var a=document;if("visibilityState"in a)return a.visibilityState;var b=cs+"VisibilityState";if(b in a)return a[b]}; es=function(a,b){var c;(0,g.Oj)(a,function(d){c=b[d];return!!c}); return c}; fs=function(a){this.type="";this.state=this.source=this.data=this.currentTarget=this.relatedTarget=this.target=null;this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.ctrlKey=this.altKey=!1;this.rotation=this.clientY=this.clientX=0;this.changedTouches=this.touches=null;try{a=a||window.event;if(!a)return;this.event=a}catch(c){return}for(var b in a)b in Kea||(this[b]=a[b]);this.rotation=a.rotation;(b=a.target||a.srcElement)&&3==b.nodeType&&(b=b.parentNode);this.target=b;if(b=a.relatedTarget)try{b= b.nodeName?b:null}catch(c){b=null}else"mouseover"==this.type?b=a.fromElement:"mouseout"==this.type&&(b=a.toElement);this.relatedTarget=b;this.clientX=void 0!=a.clientX?a.clientX:a.pageX;this.clientY=void 0!=a.clientY?a.clientY:a.pageY;this.keyCode=a.keyCode?a.keyCode:a.which;this.charCode=a.charCode||("keypress"==this.type?this.keyCode:0);this.altKey=a.altKey;this.ctrlKey=a.ctrlKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.g=a.pageX;this.i=a.pageY}; gs=function(a){if(document.body&&document.documentElement){var b=document.body.scrollTop+document.documentElement.scrollTop;a.g=a.clientX+(document.body.scrollLeft+document.documentElement.scrollLeft);a.i=a.clientY+b}}; Lea=function(a,b,c,d){d=void 0===d?{}:d;a.addEventListener&&("mouseenter"!=b||"onmouseenter"in document?"mouseleave"!=b||"onmouseenter"in document?"mousewheel"==b&&"MozBoxSizing"in document.documentElement.style&&(b="MozMousePixelScroll"):b="mouseout":b="mouseover");return Vb(hs,function(e){var f=Ea(e[4])&&e[4]==!!d,k=g.Na(e[4])&&g.Na(d)&&g.ac(e[4],d);return!!e.length&&e[0]==a&&e[1]==b&&e[2]==c&&(f||k)})}; g.ks=function(a,b,c,d){d=void 0===d?{}:d;if(!a||!a.addEventListener&&!a.attachEvent)return"";var e=Lea(a,b,c,d);if(e)return e;e=++is.count+"";var f=!("mouseenter"!=b&&"mouseleave"!=b||!a.addEventListener||"onmouseenter"in document);var k=f?function(l){l=new fs(l);if(!ee(l.relatedTarget,function(m){return m==a},!0))return l.currentTarget=a,l.type=b,c.call(a,l)}:function(l){l=new fs(l); l.currentTarget=a;return c.call(a,l)}; k=Zp(k);a.addEventListener?("mouseenter"==b&&f?b="mouseover":"mouseleave"==b&&f?b="mouseout":"mousewheel"==b&&"MozBoxSizing"in document.documentElement.style&&(b="MozMousePixelScroll"),js()||Ea(d)?a.addEventListener(b,k,d):a.addEventListener(b,k,!!d.capture)):a.attachEvent("on"+b,k);hs[e]=[a,b,c,k,d];return e}; Mea=function(a,b,c,d){var e=a||document;return g.ks(e,b,function(f){var k=ee(f.target,function(l){return l===e||d(l)},!0); k&&k!==e&&!k.disabled&&(f.currentTarget=k,c.call(k,f))})}; g.ls=function(a){a&&("string"==typeof a&&(a=[a]),(0,g.y)(a,function(b){if(b in hs){var c=hs[b],d=c[0],e=c[1],f=c[3];c=c[4];d.removeEventListener?js()||Ea(c)?d.removeEventListener(e,f,c):d.removeEventListener(e,f,!!c.capture):d.detachEvent&&d.detachEvent("on"+e,f);delete hs[b]}}))}; g.ms=function(a){a=a||window.event;a=a.target||a.srcElement;3==a.nodeType&&(a=a.parentNode);return a}; ns=function(a){a=a||window.event;if(a.composedPath&&g.Ma(a.composedPath))var b=a.composedPath();else a.path&&(b=a.path);return b&&b.length?b[0]:g.ms(a)}; os=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}; ps=function(a){a=a||window.event;var b=a.pageX,c=a.pageY;document.body&&document.documentElement&&(g.Fa(b)||(b=a.clientX+document.body.scrollLeft+document.documentElement.scrollLeft),g.Fa(c)||(c=a.clientY+document.body.scrollTop+document.documentElement.scrollTop));return new g.td(b,c)}; g.qs=function(a){a=a||window.event;a.returnValue=!1;a.preventDefault&&a.preventDefault()}; g.rs=function(a){a=a||window.event;return!1===a.returnValue||a.Yw&&a.Yw()}; g.ts=function(a){a=a||window.event;return a.keyCode?a.keyCode:a.which}; g.us=function(a,b,c,d){return Mea(a,b,c,function(e){return g.oo(e,d)})}; g.vs=function(a,b,c){var d=void 0===d?{}:d;var e;return e=g.ks(a,b,function(){g.ls(e);c.apply(a,arguments)},d)}; ws=function(a){for(var b in hs)hs[b][0]==a&&g.ls(b)}; xs=function(a){this.D=a;this.g=null;this.o=0;this.u=null;this.l=0;this.i=[];for(a=0;4>a;a++)this.i.push(0);this.Ta=0;this.B=g.ks(window,"mousemove",(0,g.x)(this.H,this));this.F=fq((0,g.x)(this.A,this),25)}; As=function(){var a={},b=void 0===a.pE?!0:a.pE;a=void 0===a.tM?!1:a.tM;if(null==g.w("_lact",window)){var c=parseInt(g.Xp("LACT"),10);c=isFinite(c)?(0,g.D)()-Math.max(c,0):-1;g.Ga("_lact",c,window);g.Ga("_fact",c,window);-1==c&&ys();g.ks(document,"keydown",ys);g.ks(document,"keyup",ys);g.ks(document,"mousedown",ys);g.ks(document,"mouseup",ys);b&&(a?g.ks(window,"touchmove",function(){zs("touchmove",200)},{passive:!0}):(g.ks(window,"resize",function(){zs("resize",200)}),g.ks(window,"scroll",function(){zs("scroll", 200)}))); new xs(function(){zs("mouse",100)}); g.ks(document,"touchstart",ys,{passive:!0});g.ks(document,"touchend",ys,{passive:!0})}}; zs=function(a,b){Bs[a]||(Bs[a]=!0,g.xq(function(){ys();Bs[a]=!1},b))}; ys=function(){null==g.w("_lact",window)&&As();var a=(0,g.D)();g.Ga("_lact",a,window);-1==g.w("_fact",window)&&g.Ga("_fact",a,window);(a=g.w("ytglobal.ytUtilActivityCallback_"))&&a()}; Cs=function(){var a=g.w("_lact",window),b;null==a?b=-1:b=Math.max((0,g.D)()-a,0);return b}; g.Es=function(a,b,c,d){d=void 0===d?{}:d;var e={};e.eventTimeMs=Math.round(d.timestamp||g.M());e[a]=b;e.context={lastActivityMs:String(d.timestamp?-1:Cs())};g.Tq("log_sequence_info_on_gel_web")&&d.xh&&(a=e.context,b=d.xh,Ds[b]=b in Ds?Ds[b]+1:0,a.sequence={index:Ds[b],groupKey:b},d.dD&&delete Ds[d.xh]);(d=d.uj)?(a={},d.videoId?a.videoId=d.videoId:d.playlistId&&(a.playlistId=d.playlistId),Zr[d.token]=a,d=Wr("log_event",d.token)):d=Wr("log_event");d.push(e);c&&(Tr.log_event=new c);d.length>=(Uq("web_logging_max_batch")|| 100)?Vr():Ur()}; g.Yr=function(a){a={client:{hl:a.Vq,gl:a.Uq,clientName:a.Sq,clientVersion:a.Tq,configInfo:a.sE}};var b=window.devicePixelRatio;b&&1!=b&&(a.client.screenDensityFloat=String(b));g.Xp("DELEGATED_SESSION_ID")&&!g.Tq("pageid_as_header_web")&&(a.user={onBehalfOfUser:g.Xp("DELEGATED_SESSION_ID")});return a}; Nea=function(a,b,c){c=void 0===c?{}:c;var d={"X-Goog-Visitor-Id":c.visitorData||g.Xp("VISITOR_DATA","")};if(b&&b.includes("www.youtube-nocookie.com"))return d;(b=c.dR||g.Xp("AUTHORIZATION"))||(a?b="Bearer "+g.w("gapi.auth.getToken")().bR:b=g.fn());b&&(d.Authorization=b,d["X-Goog-AuthUser"]=g.Xp("SESSION_INDEX",0),g.Tq("pageid_as_header_web")&&(d["X-Goog-PageId"]=g.Xp("DELEGATED_SESSION_ID")));return d}; g.Js=function(a,b,c,d){Fs.set(""+a,b,c,"/",void 0===d?"youtube.com":d,!1)}; g.Ks=function(a,b,c){Fs.remove(""+a,void 0===b?"/":b,void 0===c?"youtube.com":c)}; Ls=function(){var a;(a=g.op("yt.innertube"))||(a=new kp("yt.innertube"),a=a.isAvailable()?a:null);this.g=a?new cp(a):null;this.i=document.domain||window.location.hostname}; g.Ms=function(a){this.g=a||{Qq:Yp("INNERTUBE_API_KEY"),Rq:Yp("INNERTUBE_API_VERSION"),sE:g.Xp("INNERTUBE_CONTEXT_CLIENT_CONFIG_INFO"),Sq:g.Xp("INNERTUBE_CONTEXT_CLIENT_NAME","WEB"),Tq:Yp("INNERTUBE_CONTEXT_CLIENT_VERSION"),Vq:Yp("INNERTUBE_CONTEXT_HL"),Uq:Yp("INNERTUBE_CONTEXT_GL"),Lm:Yp("INNERTUBE_HOST_OVERRIDE")||"",tE:!!g.Xp("INNERTUBE_USE_THIRD_PARTY_AUTH",!1)}}; g.bs=function(a,b,c,d){!g.Xp("VISITOR_DATA")&&.01>Math.random()&&g.L(Error("Missing VISITOR_DATA when sending innertube request."),"WARNING");c={headers:{"Content-Type":"application/json"},method:"POST",wb:c,Rz:"JSON",ne:function(){d.ne()}, fz:d.ne,onSuccess:function(k,l){if(d.onSuccess)d.onSuccess(l)}, qR:function(k){if(d.onSuccess)d.onSuccess(k)}, onError:function(k,l){if(d.onError)d.onError(l)}, pR:function(k){if(d.onError)d.onError(k)}, timeout:d.timeout,withCredentials:!0};var e="",f=a.g.Lm;f&&(e=f);f=Nea(a.g.tE||!1,e,d);Object.assign(c.headers,f);c.headers.Authorization&&!e&&(c.headers["x-origin"]=window.location.origin);a=g.Lq(""+e+("/youtubei/"+a.g.Rq+"/"+b),{alt:"json",key:a.g.Qq});try{g.Tq("use_fetch_for_op_xhr")?yea(a,c):g.fr(a,c)}catch(k){if("InvalidAccessError"==k)g.L(Error("An extension is blocking network request."),"WARNING");else throw k;}}; Ns=function(a,b,c){c=void 0===c?{}:c;var d=g.Ms;g.Xp("ytLoggingEventsDefaultDisabled",!1)&&g.Ms==g.Ms&&(d=null);g.Es(a,b,d,c)}; Os=function(a){"ADS_CLIENT_EVENT_TYPE_UNSPECIFIED"!==a&&Ns("adsClientStateChange",{adsClientEvent:{eventType:a}})}; Ps=function(a){var b=es(["requestFullscreen","webkitRequestFullscreen","mozRequestFullScreen","msRequestFullscreen"],a);b&&b.call(a)}; Ss=function(a){var b;Qs()?Rs()==a&&(b=document):b=a;b&&(a=es(["exitFullscreen","webkitExitFullscreen","mozCancelFullScreen","msExitFullscreen"],b))&&a.call(b)}; Ts=function(a){return g.Xa(["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],function(b){return"on"+b.toLowerCase()in a})}; Oea=function(){var a=document;return g.Xa(["fullscreenerror","webkitfullscreenerror","mozfullscreenerror","MSFullscreenError"],function(b){return"on"+b.toLowerCase()in a})}; Qs=function(){return!!es(["fullscreenEnabled","webkitFullscreenEnabled","mozFullScreenEnabled","msFullscreenEnabled"],document)}; Rs=function(){var a=es(["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"],document);return a?a:null}; g.Us=function(a){g.A.call(this);this.P=[];this.uc=a||this}; Vs=function(a,b,c,d){for(var e=0;e1E5*Math.random()){b=0==a.indexOf("info")?"WARNING":"ERROR";var c=Error("CSI data exceeded logging limit with key");c.params=a;gt(c,b)}return!0}return!1}; Sea=function(){var a=g.M(),b;for(b in qt)6E4b;b++){c=(0,g.D)();for(var d=0;da.sb())a.segments=[];else{var c=g.Wa(a.segments,function(d){return d.zb>=b},a); 0a.byteLength-b)return!1;var c=a.getUint32(b);if(8>c||a.byteLength-bc;c++){var d=a.getInt8(b+c);if(97>d||122=a.i.byteLength}; Iu=function(a,b,c){var d=new Bu(c);if(!Du(d,a))return!1;d=Eu(d);if(!Fu(d,b))return!1;for(a=0;b;)b>>>=8,a++;b=d.l+d.g;var e=Gu(d,!0);d=a+(d.l+d.g-b)+e;d=9d;d++)c=256*c+Ou(a);return c}d=128;for(var e=0;6>e&&d>c;e++)c=256*c+Ou(a),d*=128;return b?c-d:c}; Hu=function(a,b){b||(b=Math.ceil(Math.log(a+2)/Math.log(2)/7));for(var c=1<<8-b,d=[];d.length=Math.abs(a.D-b.A)||a.i+1==b.i&&0==b.l&&a.o?!0:!1}; dv=function(a){return a.i+(a.o?1:0)}; cfa=function(a){1==a.length||(0,g.mj)(a,function(c){return!!c.range}); for(var b=1;b=b.Bu||1<=d.g)if(a=Wv(a),c=vv(c,Mv(a)),c.i+c.g<=d.i+d.g)return!0;return!1}; Wv=function(a){a.l||(a.l=Pv(a.o));return a.l}; Yv=function(a){return 1=1.3*Math.floor(16*l/9)||d>=1.3*l)return e;e=k}return"tiny"}; ow=function(a,b,c,d,e,f,k,l,m){this.id=a;this.containerType=nw(b);this.mimeType=b;this.g=k||0;this.u=l||0;this.audio=void 0===c?null:c;this.video=void 0===d?null:d;this.kb=void 0===e?null:e;this.captionTrack=void 0===m?null:m;this.l=void 0===f?null:f;this.i=wfa[gv(this)]||"";this.o=null}; gv=function(a){return a.id.split(";",1)[0]}; pw=function(a){return"9"==a.i||"("==a.i||"9h"==a.i||"(h"==a.i}; qw=function(a){return"9h"==a.i||"(h"==a.i}; g.nv=function(a){return 1==a.containerType}; rw=function(a){return"application/x-mpegURL"==a.mimeType}; tw=function(a){return/(opus|vorbis|mp4a|dtse|ac-3|ec-3)/.test(a)}; uw=function(a){return a.includes("vtt")||a.includes("text/mp4")}; nw=function(a){return 0<=a.indexOf("/mp4")?1:0<=a.indexOf("/webm")?2:0<=a.indexOf("/x-flv")?3:0<=a.indexOf("/vtt")?4:0}; vw=function(a,b,c,d,e){var f=new fw;b in g.iw||(b="small");d&&e?(e=parseInt(e,10),d=parseInt(d,10)):(e=g.iw[b],d=Math.round(16*e/9));b=new jw(d,e,0,null,void 0,b,void 0,void 0,void 0);a=unescape(a.replace(/"/g,'"'));return new ow(c,a,f,b)}; ww=function(a,b,c){this.info=b;this.initRange=c||null;this.F=this.g=null;this.B=!1;this.u=null;this.I=0;this.o=new tfa(a);this.l=null;this.R=NaN;this.A=null}; xw=function(a,b){a.info&&a.info.video&&4==a.info.video.projectionType&&!a.l&&(g.nv(a.info)?a.l=Yea(b):2==a.info.containerType&&(a.l=$ea(b)))}; yw=function(a,b,c,d,e,f){f=void 0===f?0:f;ww.call(this,a,b,d);this.index=e||new g.Tt;this.D=f;this.M=c;this.H=!0;if(this.i=!c)this.B=!0}; zw=function(){return!("function"!=typeof window.fetch||!window.ReadableStream)}; Aw=function(a){if(a.Hj())return!1;a=a.rd("content-type");return"audio/mp4"==a||"video/mp4"==a}; Bw=function(a){return a.g?a.R&&a.D&&zw()?3:2:a.M?-1:1}; Cw=function(a,b,c,d,e){e=void 0===e?Infinity:e;this.segments=[];this.g=a;this.A=void 0===b?0:b;this.i=void 0===c?!1:c;this.l=-1;this.u=void 0===d?0:d;this.B=e;this.o=null}; Ew=function(a,b,c){b=Dw(a,b);return 0<=b&&(c||!a.segments[b].g)}; Fw=function(a){return a.segments.length?a.segments[a.segments.length-1]:null}; Dw=function(a,b){return g.ob(a.segments,{zb:b},function(c,d){return c.zb-d.zb})}; Gw=function(a,b,c){return new St(b,Math.max(0,c.startTime-(c.zb-b)*a.g),a.g,0,"sq/"+b,void 0,void 0,!0)}; Hw=function(a,b,c,d,e,f,k){d=void 0===d?!1:d;e=void 0===e?14400:e;f=void 0===f?0:f;k=void 0===k?Infinity:k;yw.call(this,a,b,"",void 0,void 0,c);this.index=new Cw(c||0,e,d,f,k)}; xfa=function(a,b,c,d,e){this.zb=a;this.g=b;this.durationSecs=c;this.i=d||NaN;this.l=e||NaN}; Iw=function(a,b,c){for(;a;a=a.parentNode)if(a.attributes&&(!c||a.nodeName==c)){var d=a.getAttribute(b);if(d)return d}return""}; Jw=function(a,b){for(var c=a;c;c=c.parentNode){var d=c.getElementsByTagName(b);if(0=l)if(l=e.shift(),k=(k=m.exec(l))?+k[1]/1E3:0)l=(l=n.exec(l))?+l[1]:0,l+=1; else return;c.push(new St(p,f,k,NaN,"sq/"+(p+1)));f+=k;l--}a.index.append(c)}}; g.Pw=function(){this.Da=0;this.g=new Float64Array(128);this.i=new Float64Array(128);this.o=1;this.l=!1}; Qw=function(a){if(a.g.length=c+d)break}return new $v(e)}; Tw=function(){this.length=1}; Uw=function(){this.buffered=new Tw}; Gfa=function(a,b){return Vw(function(c,d){return g.Cr(c,d,4,1E3)},a,b)}; g.Ww=function(a){var b;a.responseType&&"text"!=a.responseType?"arraybuffer"==a.responseType&&(b=Au(new Uint8Array(a.response))):b=a.responseText;return!b||2048=a.D}; kx=function(a){var b=a.D;isFinite(b)&&(jx(a)?a.Nx():(b=Math.max(0,a.I+b-g.M()),a.o||(a.o=new g.J(a.Nx,b,a),g.B(a,a.o)),a.o.start(b)))}; Rfa=function(a){a=a.g;for(var b in a){var c=a[b].index;if(c.Eb())return c.sb()+1}return 0}; lx=function(a){if(!isNaN(a.H))return a.H;var b=a.g,c;for(c in b){var d=b[c].index;if(d.Eb()){b=0;for(c=d.we();c<=d.sb();c++)b+=d.getDuration(c);b/=d.Uh();b=.5*Math.round(b/.5);d.Uh()>a.Y&&(a.H=b);return b}if(a.isLive&&(d=b[c],d.D))return d.D}return NaN}; mx=function(a,b){for(var c in a.g){var d=a.g[c].index;if(d.Eb()){var e=d.Le(b),f=d.Dr(e);if(f)return f+b-d.Kc(e)}}return NaN}; Sfa=function(a,b){var c=Wb(a.g,function(e){return e.index.Eb()}); if(!c)return NaN;c=c.index;var d=c.Le(b);return c.Kc(d)==b?b:d=b)return c}catch(d){}return-1}; Cx=function(a,b){if(!a)return NaN;var c=Bx(a,b);return 0<=c?a.end(c):NaN}; Dx=function(a){return a&&a.length?a.end(a.length-1):NaN}; Gx=function(a,b){var c=Cx(a,b);return 0<=c?c-b:0}; Hx=function(a,b,c){for(var d=[],e=[],f=0;fc||(d.push(Math.max(b,a.start(f))-b),e.push(Math.min(c,a.end(f))-b));return zx(d,e)}; Ix=function(a,b){g.N.call(this);var c=this;this.g=a;this.u=b;this.A=this.i=this.o=null;this.l=function(d){return c.N(d.type,c)}; this.supports(3)&&(this.g.addEventListener("updateend",this.l),this.g.addEventListener("error",this.l))}; Jx=function(a,b,c,d){g.N.call(this);var e=this;this.g=a;this.F={error:function(){!e.fa()&&e.isActive()&&e.N("error",e)}, updateend:function(){!e.fa()&&e.isActive()&&e.N("updateend",e)}}; Xs(this.g,this.F);this.i=b;this.D=c;this.u=0;this.o=Infinity;this.A=0;this.B=this.l=d}; Kx=function(a,b){this.g=a;this.i=!!b;this.l=!1}; Lx=function(a,b){b=void 0===b?!1:b;g.A.call(this);this.u=new g.Us(this);g.B(this,this.u);this.i=this.g=null;this.l=a;var c=this.l;c=c.sG?c.g.webkitMediaSourceURL:window.URL.createObjectURL(c);this.kk=new Kx(c,!0);this.A=b;this.o=null;Vs(this.u,this.l,["sourceopen","webkitsourceopen"],this.AL);Vs(this.u,this.l,["sourceclose","webkitsourceclose"],this.zL)}; Xfa=function(a,b){Mx(a)?g.dg(function(){return b(a)}):a.o=b}; Nx=function(a,b){try{a.l.duration=b}catch(c){}}; Mx=function(a){try{return"open"==a.l.readyState}catch(b){return!1}}; Ox=function(a){try{return"closed"==a.l.readyState}catch(b){return!0}}; Px=function(){return!(!window.MediaSource||!window.MediaSource.isTypeSupported)}; Qx=function(a){return a.g?!!a.g.supports(0):Px()}; Rx=function(a,b,c,d){if(!a.g||!a.i)return null;var e=a.g.isView()?a.g.g:a.g,f=a.i.isView()?a.i.g:a.i,k=new Lx(a.l,!0);k.kk=a.kk;e=new Jx(e,b,c,d);b=new Jx(f,b,c,d);k.g=e;k.i=b;g.B(k,e);g.B(k,b);Mx(a)||a.g.ro(a.g.Ib());return k}; Sx=function(a,b,c){this.g=a;this.B=b;this.D=void 0===c?!1:c;this.o=!!g.w("cast.receiver.platform.canDisplayType");a=g.w("cast.receiver.platform.getValue");this.i=!this.o&&a&&a("max-video-resolution-vpx")||null;this.l={};this.A=!1;this.u=!0}; Yfa=function(a,b){var c=gv(b);if("0"===c)return!0;var d=b.mimeType;if("1"==b.i&&a.A||b.video&&(lw(b.video)||"bt2020"==b.video.primaries)&&!(24=c)}; sy=function(){g.N.call(this);this.Ba={}}; cga=function(){var a=g.It("yt-player-volume")||{},b=a.volume;return{volume:isNaN(b)?100:g.pd(Math.floor(b),0,100),muted:!!a.muted}}; ty=function(a){g.Ht("yt-player-bandwidth",a,2592E3)}; uy=function(){return g.It("yt-player-quality")||"auto"}; vy=function(a,b){var c="";49parseInt(b.get("dhmu",c.toString()),10));this.Gl=c;this.ea="3"==this.l||this.g||Q(!1,a.use_media_volume);this.M=ux();this.sm=g.Zy;c=Q(!1,a.is_dni);this.uc=Q(!1,a.opt_out_deprecation);this.u=S(this,"embed_new_info_bar")&&$y(this)&&!this.uc;this.Hh=S(this,"embed_api_deprecation")&&$y(this)&&!c&&!this.uc||Q(!az(this)&&!bz(this)&&!this.Kb,a.showinfo);this.mf=Q(!1,a.playsinline);b=this.g&&cz&&0=dz;d=this.g;d=ez(this)||!b&&Q(d,a.use_native_controls)?"3":"1";this.l="0"!=a.controls?d:"0";this.ld= this.g;this.color=Oy("red",a.color,lga);this.Pl="3"==this.l||Q(!1,a.modestbranding)&&"red"==this.color;this.ga=!this.i;this.ej=(d=!this.ga&&!bz(this)&&!this.H&&!this.Kb&&!az(this))&&!this.Pl&&"1"==this.l;this.fj=g.fz(this)&&d&&"0"==this.l&&!this.ej;this.Nn=this.om=b;this.gj=gz&&!g.ld(601)?!1:!0;this.Fl=this.i||!1;this.ya=bz(this)?"":(this.loaderUrl||a.post_message_origin||"").substring(0,128);this.widgetReferrer=Qy("",a.widget_referrer);this.Mb=(!this.vb||Q(!0,a.enablecastapi))&&"1"==this.l&&!this.g&& (bz(this)||g.fz(this)||g.hz(this))&&!g.iz(this);this.Sm=tx()||sx();this.kd=!this.g&&!hr("nintendo wiiu")&&!hr("nintendo 3ds")||Q(!1,a.autoplayoverride);this.Qc=Q(!1,a.mutedautoplay)&&!1;b=(bz(this)||az(this))&&"blazer"==this.playerStyle;this.Rb=!Q(!0,a.fs);this.X=!this.Rb&&(b||Qs());this.Al=S(this,"uniplayer_block_pip")&&ir()&&Tn(58)&&!ur();this.Ea=S(this,"embed_api_deprecation")&&$y(this)&&!c&&!this.uc||Q(!this.Kb,a.rel);this.Rm=Q(!1,a.co_rel);this.A=g.O(this.experiments,"embeds_use_parent_target_for_anchor_tags")&& ur&&0=dz?"_top":"_blank";this.Ia=g.hz(this);this.hd="blazer"==this.playerStyle;switch(this.playerStyle){case "blogger":c="bl";break;case "gmail":c="gm";break;case "books":c="gb";break;case "docs":c="gd";break;case "google-live":c="gl";break;case "play":c="gp";break;case "chat":c="hc";break;case "hangouts-meet":c="hm";break;case "photos-edu":case "picasaweb":c="pw";break;default:c="yt"}this.Y=c;this.lc=Qy("",a.authuser);this.Ah=(this.i&&!this.oa||!!this.lc)&&Q(!this.H,this.vb?a.showwatchlater: void 0);this.tb=Q(!1,a.disablekb);this.Ad=Qy("",a.ecver);this.loop=Q(!1,a.loop);this.pageId=Qy("",a.pageid);this.Km=Q(!0,a.canplaylive);this.Cl=Q(this.Kb,a.ss);(c=a.video_container_override)?(b=c.split("x"),2!=b.length?c=null:(c=parseInt(b[0],10),b=parseInt(b[1],10),c=isNaN(c)||isNaN(b)||0>=c*b?null:new g.vd(c,b))):c=null;this.hj=c;this.mute=Q(!1,a.mute);this.jd=!this.mute&&Q("0"!=this.l,a.store_user_volume);this.Zf="3"==this.l?3:Oy(void 0,a.iv_load_policy,jz);this.dg=Qy("",a.cc_lang_pref);c=Oy(2, a.cc_load_policy,jz);"3"==this.l&&2==c&&(c=3);this.eg=c;this.Yb=Qy("en_US",a.hl);this.region=Qy("US",a.cr);this.jf=Qy("en",a.host_language);this.zl=!this.oa&&Math.random()=navigator.hardwareConcurrency&&(b=c);(c=g.P(a.experiments,"html5_av1_thresh_hcc"))&&4> "+a.g.languageName);return c.join("")}; Yz=function(a,b){this.id=a;this.kb=b;this.captionTracks=[];this.qm=this.Vp=this.g=null;this.Gp="UNKNOWN"}; $z=function(a,b,c){this.videoInfos=a;this.g=b||null;this.audioTracks=[];this.i=c||null;if(Zz){if(this.g){var d={};(0,g.y)(this.g,(0,g.x)(function(e){if(e.kb&&!d[e.id]){var f=new Yz(e.id,e.kb);d[e.id]=f;this.audioTracks.push(f)}},this))}}else rga(this)}; rga=function(a){if(a.g)for(var b=new Set,c=g.q(a.g),d=c.next();!d.done;d=c.next())if(d=d.value,d.kb&&!b.has(d.kb.id)){var e=new Yz(d.id,d.kb);b.add(d.kb.id);a.audioTracks.push(e)}}; aA=function(a,b,c){var d={},e;for(e in c.g){var f=c.g[e],k=gv(f.info);""==f.info.i||("304"==k||"266"==k)&&a.F||a.H&&"h"==f.info.i&&f.info.video&&1080k}).concat(l); l.length&&(f["19"]=l)}Yw(c)&&(f=uga(b,f,d));b=oga(a);d=pga(a);b=g.Xa(b,e);d=g.Xa(d,e);if(!b||!d)return Er();"9"==b&&f.h&&(l=bA(f["9"]),bA(f.h)>1.5*l&&(b="h"),c.Te&&!$fa(a.A)&&(b="h"));a=f[b];c=f[d];if(!a.length)return Er();cA(a,c);return Fr(new $z(a,c,vga(f,b,d)))}; vga=function(a,b,c){var d=a.h;"f"==b&&(d=a[b]);var e=a.a;b=a[b]!=d;a=a[c]!=e;return d&&e&&(b||a)?(cA(d,e),new $z(d,e)):null}; cA=function(a,b){g.qb(a,function(c,d){return d.ua().height*d.ua().width-c.ua().height*c.ua().width||d.g-c.g}); g.qb(b,function(c,d){return d.g-c.g})}; tga=function(a,b){var c=nj(b,function(d,e){return 32c&&(b=a.u&&(a.B||Tx(a,Yx))?(0,g.Xd)(b,function(d){return 32E.width*E.height*E.fps))var E=C}}else n.push(C)}}m=p.reduce(function(K,R){return R.xf.Mm()&&K},!0)?l:null; d=Math.max(d,g.P(a.experiments,"html5_hls_initial_bitrate"));E=E||{};p.push(jA(n,c,e,"93",void 0===E.width?0:E.width,void 0===E.height?0:E.height,void 0===E.fps?0:E.fps,f,"auto",d,m));return jy(a.o,p,yz(a,b))}; jA=function(a,b,c,d,e,f,k,l,m,n,p){d=new ow(d,"application/x-mpegURL",new fw,new jw(e,f,k,null,void 0,m),void 0,p);a=new Cga(a,b,c);a.u=n?n:1369843;return new iA(d,a,l)}; Fga=function(a){a=g.q(a);for(var b=a.next();!b.done;b=a.next())if(b=b.value,b.url&&(b=b.url.split("expire/"),!(1>=b.length)))return+b[1].split("/")[0];return NaN}; lA=function(){return xa(function(a){kA||(kA=new Promise(function(b,c){var d=indexedDB.open("yt-player-local-media",2);d.onerror=c;d.onsuccess=function(e){return b(e.target.result)}; d.onupgradeneeded=function(e){e=e.target.result;e.createObjectStore("index");e.createObjectStore("media")}})); return a["return"](kA)})}; nA=function(a,b,c){var d;return xa(function(e){if(1==e.g)return ua(e,lA(),2);d=e.u;return e["return"](mA(d.transaction(a,"readwrite").objectStore(a).put(c,b)))})}; oA=function(a,b){var c;return xa(function(d){if(1==d.g)return ua(d,lA(),2);c=d.u;return d["return"](mA(c.transaction(a).objectStore(a).get(b)))})}; pA=function(){var a=window.localStorage&&window.localStorage["yt-player-lv"];return a?a.split(","):[]}; qA=function(a,b,c,d){var e;xa(function(f){e=a+"-"+b.id+"-"+c;return f["return"](nA("media",e,d))})}; Hga=function(a,b,c){var d,e;xa(function(f){d=a+(b?":v":":a");e=nA("index",d,c);b&&(e=e.then(function(){var k=pA();k.includes(a)||(k.push(a),window.localStorage["yt-player-lv"]=k.join(","))})); return f["return"](e)})}; rA=function(a){return!!a&&pA().includes(a)}; Iga=function(a){return xa(function(b){return b["return"](Promise.all([oA("index",a+":a"),oA("index",a+":v")]).then(function(c){return c.join(",")}))})}; Jga=function(a,b,c){return xa(function(d){return d["return"](oA("media",a+"-"+b+"-"+c))})}; mA=function(a){return new Promise(function(b,c){a.onsuccess=function(){return b(a.result)}; a.onerror=function(){return c()}})}; sA=function(a,b){this.xf=a;this.g=b}; tA=function(a,b){this.xf=a;this.g=b}; Kga=function(a){var b=[];(0,g.y)(a,function(c){if(c.url){var d=vw(c.type,"medium","0");b.push(new tA(d,c.url))}}); return b}; uA=function(a){if(a){var b=[],c;for(c in a)Lga.has(c)||b.push(c);b.length&&(b.sort(),g.L(Error("Unknown house brand player vars: "+b.join(",")),"WARNING"))}}; g.vA=function(a,b,c,d){this.dd=new Set;this.F=a;this.H=b;a=c.split("#");this.A=parseInt(a[0],10);this.u=parseInt(a[1],10);this.l=parseInt(a[2],10);this.columns=parseInt(a[3],10);this.rows=parseInt(a[4],10);this.g=parseInt(a[5],10);this.o=a[6];this.B=a[7];this.I=d}; wA=function(a,b){var c=a.H;c=c.replace("$N",a.o);c=c.replace("$L",a.F.toString());c=c.replace("$M",b.toString());a.B&&(c=g.bh(c,{sigh:a.B}));return Gv(c)}; g.xA=function(a,b){b>=a.Qr()&&a.zk();var c=Math.floor(b/(a.columns*a.rows)),d=a.columns*a.rows,e=b%d,f=e%a.columns;e=Math.floor(e/a.columns);var k=a.zk()+1-d*c;if(k=b)return a.u.set(b,d),d;a.u.set(b,c-1);return c-1}; FA=function(a,b,c,d){c=c.split("#");c=[c[1],c[2],0,c[3],c[4],-1,c[0],""].join("#");g.vA.call(this,a,b,c,0);this.i=null;this.D=d?3:0}; GA=function(a,b,c){DA.call(this,a,0,void 0,b);for(a=0;a=d){d=MA(k.url);g.Cv(d)&&(b[e]=d);break}(c=a.pop())&&1280<=c.width&&(c=MA(c.url),g.Cv(c)&&(b["maxresdefault.jpg"]=c));return b}; MA=function(a){return a.startsWith("//")?"https:"+a:a}; OA=function(a,b){this.version=a;this.args=b}; PA=function(a,b){this.topic=a;this.g=b}; RA=function(a,b){var c=QA();c&&c.publish.call(c,a.toString(),a,b)}; Nga=function(a,b){var c=SA,d=QA();if(!d)return 0;var e=d.subscribe(c.toString(),function(f,k){var l=g.w("ytPubsub2Pubsub2SkipSubKey");l&&l==e||(l=function(){if(TA[e])try{if(k&&c instanceof PA&&c!=f)try{var m=c.g,n=k;if(!n.args||!n.version)throw Error("yt.pubsub2.Data.deserialize(): serializedData is incomplete.");try{if(!m.Jg){var p=new m;m.Jg=p.version}var r=m.Jg}catch(v){}if(!r||n.version!=r)throw Error("yt.pubsub2.Data.deserialize(): serializedData version is incompatible.");try{k=Reflect.construct(m, g.gb(n.args))}catch(v){throw v.message="yt.pubsub2.Data.deserialize(): "+v.message,v;}}catch(v){throw v.message="yt.pubsub2.pubsub2 cross-binary conversion error for "+c.toString()+": "+v.message,v;}a.call(b||window,k)}catch(v){g.L(v)}},UA[c.toString()]?g.zq()?g.xq(l):g.eq(l,0):l())}); TA[e]=!0;VA[c.toString()]||(VA[c.toString()]=[]);VA[c.toString()].push(e);return e}; XA=function(a,b){var c=Nga(function(d){a.apply(b,arguments);WA(c)},b); return c}; WA=function(a){var b=QA();b&&(g.Fa(a)&&(a=[a]),(0,g.y)(a,function(c){b.unsubscribeByKey(c);delete TA[c]}))}; QA=function(){return g.w("ytPubsub2Pubsub2Instance")}; YA=function(){var a=g.Xp("TIMING_TICK_EXPIRATION");a||(a={},Wp("TIMING_TICK_EXPIRATION",a));return a}; Oga=function(){var a=YA(),b;for(b in a)g.Aq(a[b]);Wp("TIMING_TICK_EXPIRATION",{})}; ZA=function(a,b){OA.call(this,1,arguments)}; $A=function(a,b){OA.call(this,1,arguments);this.g=a}; cB=function(a){aB(a);Pga();bB(!1,a);a||(g.Xp("TIMING_ACTION")&&Wp("PREVIOUS_ACTION",g.Xp("TIMING_ACTION")),Wp("TIMING_ACTION",""))}; jB=function(a,b,c,d){c=c?c:a;dB("c",c);cB(c);if(d||g.Tq("custom_csi_timeline_use_gel"))eB(c).useGel=!0;Wp(c+"TIMING_AFT_KEYS",b);Wp(c+"TIMING_ACTION",a);fB("c",c);gB(c)&&(a={},a.actionType=Qga[Yp((c||"")+"TIMING_ACTION")]||"LATENCY_ACTION_UNKNOWN",b=hB(c),pt(a,b));g.Ga("ytglobal.timing"+(c||"")+"ready_",!0,void 0);iB(c)}; nB=function(a,b,c){if(!b&&"_"!=a[0]){var d=a;kB.mark&&(ub(d,"mark_")||(d="mark_"+d),c&&(d+=" ("+c+")"),kB.mark(d))}d=lB(c);var e=b||g.M();d[a]&&(d["_"+a]=d["_"+a]||[d[a]],d["_"+a].push(e));d[a]=e;e=YA();var f=e[a];f&&(g.Aq(f),e[a]=0);mB(c)["tick_"+a]=b;c||b||g.M();gB(c)?(e=hB(c),"_start"==a?ot("baseline_"+e)||Ns("latencyActionBaselined",{clientActionNonce:e},{timestamp:b}):ot("tick_"+a+"_"+e)||Ns("latencyActionTicked",{tickName:a,clientActionNonce:e},{timestamp:b}),b=!0):b=!1;b||iB(c);return d[a]}; oB=function(a){var b="above_the_fold";kB&&kB.measure&&(ub(b,"measure_")||(b="measure_"+b),a?kB.measure(b,a):kB.measure(b))}; fB=function(a,b){pB("yt_sts",a,b);nB("_start",void 0,b)}; qB=function(a,b){var c=lB(b);return a in c}; rB=function(a){qB("_start","video_to_ad")&&!qB(a,"video_to_ad")&&nB(a,void 0,"video_to_ad")}; pB=function(a,b,c){eB(c).info[a]=b;if(gB(c))if(mB(c)["info_"+a]=b,a in sB){var d=sB[a];g.$a(Rga,d)&&(b=!!b);a in tB&&(b=tB[a]+b.toUpperCase());a={};d=d.split(".");for(var e=a,f=0;f=dz&&(m.g=!0);if(a=c)a=S(d,"disable_html5_ambisonic_audio")||!(g.Iz(d)||S(d,"html5_enable_spherical")||S(d,"html5_enable_spherical3d"))?!1:Jz(d);a&&(m.B=!0);b&&(m.g=!0,m.M=!0);k&&!g.O(d.experiments,"html5_otf_prefer_vp9")&&(m.g=!0);g.O(d.experiments,"html5_enable_aac51")&& Tx(d.o,by)&&(m.l=!0);!g.O(d.experiments,"html5_enable_ac3")&&Tx(d.o,by)&&(m.u=!0);!g.O(d.experiments,"html5_kaios_hd_killswitch")&&Yy&&(m.I=480);if(e||c)m.F=!1;m.H=!1;b=Nz(d);0b&&window.SourceBuffer&&SourceBuffer.prototype.changeType&&(m.i=b);2160<=b&&(m.R=!0);m.A=l;return m}; LB=function(a,b){var c;(c=!b)||(c=!(!HB(a)&&a.adaptiveFormats));if(c)return!1;c=IB(a,b);var d=a.Mp,e=a.lengthSeconds,f=a.sa,k=a.hi,l=a.Oa.experiments,m=Mfa(c);c=f||k?Lfa(c,k,d,l):3==m&&JB?Kfa(c,d,e,l):Jfa(c,d,e,l);0kC?!1:!0:!1;a.oe=27;b.isLowLatencyLiveStream&&(a.isLowLatencyLiveStream=!0);if(e=b.latencyClass)a.latencyClass=tha[e]||"UNKNOWN";a.zj=!0;if(b=b.liveChunkReadahead)a.liveChunkReadahead=b;if(c=c&&c.livePlayerConfig)if(c.hasSubfragmentedFmp4&&(a.hasSubfragmentedFmp4=!0),c.defraggedFromSubfragments&& (a.defraggedFromSubfragments=!0),c=c.liveExperimentalContentId)a.liveExperimentalContentId=parseInt(c,10);e=!0}else b.isUpcoming&&(e=!0);e&&(a.sa=!0,d.adformat&&"8"!=d.adformat.split("_")[1]||(a.ra("live_fresca_v2")?a.Fc.push("heartbeat"):(a.Uc=!0,a.Fc.push("fresca"))),a.tl=!0,a.jm=!0)}}; AB=function(a,b){a.showShareButton=!!b;if(b){var c=b.buttonRenderer&&b.buttonRenderer.navigationEndpoint;c&&(a.al=!!c.copyTextEndpoint)}}; vha=function(a,b){var c=b.thumbnailPreviewRenderer;if(a.Iz){var d=c.controlBgHtml;null!=d&&(a.tf=d,a.Pb=!0);a.Jz&&(d=c.defaultThumbnail)&&(a.ff=NA(d))}a.Ah=!!c.addToWatchLaterButton;AB(a,c.shareButton)}; g.lC=function(a){return a.sa&&!a.allowLiveDvr}; mC=function(a){return a.sa&&a.allowLiveDvr}; WB=function(a){return a.Jf()||a.If()||a.di()||a.Df()}; wha=function(a){a.va=a.va.i}; g.nC=function(a){if(a.mt)return null;var b=a.mx;b||(b=a.Ka&&a.Ka.endscreen&&a.Ka.endscreen.endscreenUrlRenderer&&a.Ka.endscreen.endscreenUrlRenderer.url);return b||null}; g.oC=function(a){return a.mt?null:a.Ka&&a.Ka.endscreen&&a.Ka.endscreen.endscreenRenderer||null}; g.pC=function(a){return a.adFormat&&"1_5"!=a.adFormat?"adunit":a.Oa.T}; qC=function(a){if(a.isAd()&&a.videoId!=a.Oa.na)return a.Oa.na}; rC=function(a){return a.rh||"detailpage"==g.pC(a)}; g.sC=function(a){return rC(a)?"detailpage"==g.pC(a)?a.fi||0a.length?NaN:a.end(a.length-1)}; EC=function(a,b){a.o&&null!=b&&b.g==a.o.g||(a.o&&a.o.dispose(),a.o=b)}; FC=function(a){return Gx(a.ue(),a.getCurrentTime())}; GC=function(a){var b=a.ue();return 0a.g+(a.u?.001:0)&&b(d||!a.l?1500:400);a.g=b;a.o=c;return!1}; g.PC=function(a,b){this.g=a||64;this.i=void 0===b?null:b}; QC=function(a,b){return OC(a,b.getCurrentTime(),g.M(),FC(b))}; RC=function(a,b,c){return b==a.g&&c==a.i||void 0!=b&&(b&128&&!c||b&2&&b&16)?a:new g.PC(b,c)}; SC=function(a,b){return RC(a,a.g|b)}; TC=function(a,b){return RC(a,a.g&~b)}; UC=function(a,b,c){return RC(a,(a.g|b)&~c)}; g.T=function(a,b){return!!(a.g&b)}; g.VC=function(a,b){return b.g==a.g&&b.i==a.i}; g.WC=function(a){return g.T(a,8)&&!g.T(a,512)&&!g.T(a,64)&&!g.T(a,2)}; g.XC=function(a){return g.T(a,8)&&!g.T(a,2)&&!g.T(a,1024)}; g.YC=function(a){return g.T(a,1)&&!g.T(a,2)}; ZC=function(a){return g.T(a,128)?-1:g.T(a,2)?0:g.T(a,64)?-1:g.T(a,1)&&!g.T(a,32)?3:g.T(a,8)?1:g.T(a,4)?2:-1}; $C=function(a){this.i=window.Float32Array?new Float32Array(a):Array(a);this.l=this.g=a-1}; aD=function(a){return a.i[a.g]||0}; bD=function(){g.A.call(this);this.l={};this.g={};this.i=new g.J(this.o,250,this);g.B(this,this.i)}; dD=function(a,b,c,d){a.l[b]=c;a.g[b]=new cD(!!d)}; eD=function(a,b){if(a.g[b]){var c=a.g[b].g;for(var d=[];c.l!=c.g;)c.l=(c.l+1)%c.i.length,d.push(c.i[c.l]);c=d}else c=[];return c}; fD=function(a,b){return a.g[b]?aD(a.g[b].g):0}; cD=function(a){this.l=a;this.g=new $C(100);this.i=NaN}; kD=function(a){var b=g.U(a),c=a.getVideoData(),d=a.i,e=d.app.u,f=e.ha(),k=b.tq(),l=b.X,m=8*fD(l,"bandwidth")/1024,n=fD(l,"networkactivity")/1024,p=fD(l,"bufferhealth");if(b.B){var r=b.O.useInnertubeDrmService()?"IT/":"";r+=b.B.g.Od()+"/"+qy(gD(b));r+="/"+b.B.Od()}else r="";var v=b.getPlayerState().g.toString(16);var z=e.getCurrentTime().toFixed(2),C=Ax(e.ue(),",",3);v="s:"+v+" t:"+z+" b:"+C+" ";e.fk()&&(v+="S");e.yg()&&(v+="P");e.Se()&&(v+="E");e=g.Dz();d=g.hD(d).qE;z=c.va&&!c.va.g?"display:none": "";if((C=c.clientPlaybackNonce)&&16==C.length){for(var F=0,E="",K=0;10>K;K++)if(F=(F<<6)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".indexOf(C.charAt(K)),4==K%5){for(var R="",V=0;6>V;V++)R="0123456789ABCDEFGHJKMNPQRSTVWXYZ".charAt(F&31)+R,F>>=5;E+=R}C=E.substr(0,4)+" "+E.substr(4,4)+" "+E.substr(8,4)}else C="";m={video_id_and_cpn:c.videoId+" / "+C,codecs:"",dims_and_frames:"",bandwidth_kbps:m.toFixed(0)+" Kbps",buffer_health_seconds:p.toFixed(2)+" s",drm_style:r?"":"display:none", drm:r,debug_info:v,bandwidth_style:z,network_activity_style:z,network_activity_bytes:n.toFixed(0)+" KB",shader_info:d,shader_info_style:d?"":"display:none",playback_categories:""};n=f.clientWidth+"x"+f.clientHeight+(1a)if(c.latencyClass&&"UNKNOWN"!=c.latencyClass)switch(c.latencyClass){case "NORMAL":k="Optimized for Normal Latency";break;case "LOW":k="Optimized for Low Latency";break;case "ULTRALOW":k="Optimized for Ultra Low Latency";break;default:k="Unknown Latency Setting"}else k= c.isLowLatencyLiveStream?"Optimized for Low Latency":"Optimized for Smooth Streaming";f+=k;(c=b.getPlaylistSequenceForTime(b.getCurrentTime()))&&(f+=", seq "+c.sequence);m.live_mode=f}b.isGapless()&&(m.playback_categories+="Gapless ");m.playback_categories_style=m.playback_categories?"":"display:none";m.bandwidth_samples=eD(l,"bandwidth");m.network_activity_samples=eD(l,"networkactivity");m.live_latency_samples=eD(l,"livelatency");m.buffer_health_samples=eD(l,"bufferhealth");return m}; jD=function(a){var b=/codecs="([^"]*)"/.exec(a.mimeType);return b&&b[1]?b[1]+" ("+gv(a)+")":gv(a)}; lD=function(){return"ytp-id-"+zha++}; g.nD=function(a){g.A.call(this);this.i={};this.Ya={};this.element=mD(this,a)}; mD=function(a,b,c){c=c||"svg"==b.C;if(c){var d=document.createElementNS("http://www.w3.org/2000/svg",b.C);g.Gz&&(b.L||(b.L={}),b.L.focusable="false")}else d=g.Rd(b.C);var e;if(e=b.G){if(e=oD(a,d,"class",e))pD(a,d,"class",e),a.i[e]=d}else if(e=b.W){for(var f=0;f=d&&(g.L(Error("invalid yt.global.now value: "+d)),d=(new Date).getTime()+2);return d},g.O(a.rb.experiments,"html5_validate_yt_now")); a.i=g.Qa(function(c){return Math.round(b()-c)/1E3},b()); a.D()}return a.i}; g.WD=function(a){var b=a.pd();g.Ra(b,a.videoData.pd());return b}; YD=function(a){if(navigator.connection&&navigator.connection.type)return XD[navigator.connection.type]||XD.other;if(g.uz(a.rb)){a=navigator.userAgent;if(/[Ww]ireless[)]/.test(a))return 3;if(/[Ww]ired[)]/.test(a))return 1}return 0}; KD=function(a){var b=new JD;b.Fp=a.pd().cc||"-";b.playbackRate=a.getPlaybackRate();var c=a.getVisibilityState();0!=c&&(b.visibilityState=c);a.rb.cg&&(b.cg=1);c=a.getAudioTrack();c.kb&&c.kb.id&&"und"!=c.kb.id&&(b.xp=c.kb.id);b.connectionType=YD(a);b.volume=a.pd().volume;b.muted=a.pd().muted;return b}; g.ZD=function(a,b){this.state=a;this.g=b}; $D=function(a,b){return g.T(a.state,b)&&!g.T(a.g,b)?1:!g.T(a.state,b)&&g.T(a.g,b)?-1:0}; g.aE=function(a,b){return 0<$D(a,b)}; g.bE=function(a,b){return a.B+"timedtext_video?ref=player&v="+b.videoId}; cE=function(a){g.A.call(this);this.g=a;this.i=new LD(a);this.u="paused";this.A=NaN;this.F=[10,10,10,40];this.H=this.D=0;this.P=this.M=this.aa=this.T=this.R=this.I=this.l=!1;this.o=NaN}; dE=function(a,b,c){var d=g.VD(a.g);c=isNaN(c)?d:c;c=Math.ceil(c);var e=a.F[a.D];a.D+1=a.wg?0:b}; zE=function(a){var b=a.Ta-1;return 0>b?a.wg-1:b}; AE=function(a,b){a.Ta=g.pd(b,0,a.wg-1);a.startSeconds=0}; Fha=function(a,b){if(!a.ik){a.listId=new g.uE("SR",b);var c={search_query:b};a.XH&&(c.mob="1");vE(a,"/search_ajax?style=json&embeddable=1",c)}}; Gha=function(a){if(!a.ik){var b=b||a.listId;b={list:b};var c=a.ua();c&&c.videoId&&(b.v=c.videoId);vE(a,"/list_ajax?style=json&action_get_list=1",b)}}; vE=function(a,b,c){a.HC&&g.br(g.bh(b,c),{format:"JSON",onSuccess:(0,g.x)(function(d,e){BE(this,e)},a), onError:(0,g.x)(function(){this.N("error")},a)})}; BE=function(a,b){if(b.video&&b.video.length){a.title=b.title;a.description=b.description;a.views=b.views;a.author=b.author;var c=b.loop;c&&(a.loop=c);c=a.ua();a.Ba=[];b.video.forEach(function(e){e&&(e.video_id=e.encrypted_id,this.Ba.push(e))},a); a.wg=a.Ba.length;var d=b.index;d?a.Ta=d:a.Ej(c);a.setShuffle(!1);a.ik=!1;a.dd=!0;a.Xm++;a.Ok&&a.Ok()}}; CE=function(a,b,c){this.audio=a;this.video=b;this.reason=c}; EE=function(a,b){this.P=a;this.aa=b;this.g=new DE(0,0,null);this.o=8;this.l=[];this.B=[];this.u=this.F=NaN;this.M=this.i=this.H=0;this.A=NaN;this.T=0;this.R=!1;this.D=null;this.I=0}; FE=function(a){return{startTime:a.A/a.i,duration:a.M/a.i}}; GE=function(a){a.A=NaN;a.M=0;a.D=null;a.I=0}; HE=function(a){return!isNaN(a.u)&&a.i?a.u/a.i:a.T}; IE=function(a,b,c){var d=b.getUint32(c);b=b.getUint32(c+4);a.g=new DE(b,d,a.g);return 8}; JE=function(a){a.i&&!isNaN(a.F)&&(a.u=Math.floor(a.F*a.i),a.F=NaN)}; KE=function(a){return 0==a.g.type||1836019574==a.g.type||1952867444==a.g.type||1936286840==a.g.type||1953653094==a.g.type||1836019558==a.g.type||1836476516==a.g.type}; LE=function(a,b,c){for(var d=c;d=e)break;var f=c.getUint32(d+4);if(1836019574==f)d+=8;else{if(1886614376==f){f=a.subarray(d,d+e);var k=new Uint8Array(b.length+f.length);k.set(b);k.set(f,b.length);b=k}d+=e}}return b}; Kha=function(a){a=zu(a,1886614376);(0,g.y)(a,function(b){return!b.i}); return(0,g.ge)(a,function(b){return new Uint8Array(b.data.buffer,b.offset+b.data.byteOffset,b.size)})}; Lha=function(a){var b=nj(a,function(e,f){return e+f.length},0),c=new Uint8Array(b),d=0; (0,g.y)(a,function(e){c.set(e,d);d+=e.length}); return c}; PE=function(a){return g.ke(a,!0).replace(/[\.]{1,2}$/,"")}; QE=function(a,b,c,d){var e=this;this.i=a;a=Xu(this.i.get("range")||"");if(!a)throw Error("bad range");this.o=a;this.u=c;this.status=0;this.response=null;this.g=[];this.dd=0;this.l="";Mha(this).then(d,function(f){e.l=""+f||"unknown_err";d()}); b()}; Mha=function(a){var b,c,d,e,f,k,l,m,n,p,r,v,z;return xa(function(C){if(1==C.g){a.status=200;b=a.i.get("docid");c=a.i.get("fmtid");d=+a.i.get("csz");if(!b||!c||!d)throw Error("Invalid local URL");e=a.o;f=Math.floor(e.start/d);k=Math.floor(e.end/d);l=f}if(5!=C.g)return l<=k?C=ua(C,Jga(b,c,l),5):(C.g=0,C=void 0),C;m=C.u;n=l*d;p=(l+1)*d;r=Math.max(0,e.start-n);v=Math.min(e.end+1,p)-(r+n);z=new Uint8Array(m.buffer,r,v);a.g.push(z);a.dd+=v;a.ddb)return!0;var c=a.g.sb();return bb)return 1;c=a.g.sb();return bf?(a.u+=e,.2=a.i.policy.o:!1}; aF=function(a){return UE(a,a.l)}; bF=function(a){a.M=a.g+1E3*a.X.delay;a.ma=!1}; cF=function(a,b){var c=a.R.g[0].i;a.F=Math.min(a.F,Rha(a.B,c,a.g,b));a.I=Math.min(a.I,Sha(a.B,c,a.g,b,a.R.l));a.F<=a.g?bF(a):(a.M=a.F,a.ma=!0)}; VE=function(a){a.B&&cF(a,(0,g.D)());return a.ma}; dF=function(a,b){b=void 0===b?(0,g.D)():b;if(a.B){cF(a,b);var c=a.H?a.B?1!=TE(a):!1:a.F!=a.I;if(c){if(c=a.I,bd&&a.i.policy.A&&(d=0);d=1E3*(d*a.X.stall+d/a.X.byterate);d=aF(a)?d+b:d+Math.max(b,c);a.P=d}; WE=function(a){return Nv(a.R.i.i)}; ZE=function(a,b){for(var c="";4095>6&63)+"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(a&63)+"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(b>>6&63)+"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(b&63))}; eF=function(a,b,c,d,e,f){this.status=0;this.I=this.response=null;this.aa=d;this.P=c;this.Y=e;this.u=f;this.o=[];this.l=null;this.i=this.g=0;Vha++;this.A=null;this.B=this.u.Wf&&window.AbortController?new AbortController:null;c={method:"GET",credentials:"include"};this.B&&(c.signal=this.B.signal);a=new Request(a,c);fetch(a).then(Zp((0,g.x)(this.xM,this)),Zp((0,g.x)(this.Ox,this)));(0,g.D)();this.M=this.D=this.F=this.H=!1;this.R="";this.T=new g.J(this.Js,50,this);b()}; jF=function(a,b){a.i+=b.length;var c=b.length;var d=fF(a)?1:Math.max(gF(a)/2,16384);c=c>=d;d=b.length+a.g>gF(a);a.M?((c||d)&&0!==a.g&&hF(a),c?a.o.push(b):iF(a,b)):(iF(a,b),a.i>=(fF(a)?1:16384)&&hF(a))}; hF=function(a){a.M=!0;a.o.push(a.l.subarray(0,a.g));a.g=0;a.l=a.H?null:new Uint8Array(gF(a))}; iF=function(a,b){if(b.length+a.g>gF(a)){var c=new Uint8Array(a.g+b.length);c.set(a.l,0);a.l=c}a.l.set(b,a.g);a.g+=b.length}; lF=function(a){if(!a.D){a.H=!0;if(kF(a)&&!a.o.length&&!a.g&&!a.F&&a.i){Aw(a);if(!a.l||8>a.l.length)a.l=new Uint8Array(8);var b=new DataView(a.l.buffer,0,8);b.setUint32(0,8);b.setUint32(4,1936419184);a.g=8;a.i+=8}a.aa()}}; fF=function(a){return a.u.Mb&&a.u.g&&Aw(a)}; kF=function(a){return a.u.lf&&a.u.g&&Aw(a)}; gF=function(a){a=a.Hj()||0;return Math.max(16384,.125*a)}; mF=function(a,b,c,d,e){this.status=0;this.response=null;this.i=this.o=!1;this.l=NaN;this.g=new XMLHttpRequest;this.g.open("GET",a);this.g.responseType="arraybuffer";this.g.withCredentials=!0;this.g.onreadystatechange=(0,g.x)(this.JF,this);this.u=d;this.B=c;this.A=e;a=Zp((0,g.x)(this.HF,this));this.g.addEventListener("load",a,!1);this.g.addEventListener("error",a,!1);this.g.send();b();this.g.addEventListener("progress",Zp((0,g.x)(this.IF,this)),!1)}; nF=function(a,b,c,d){this.o=a;this.info=b;this.timing=c;this.T=d;this.state=1;this.g=this.aa=null;this.B=this.M=0;this.P=new g.J(this.DM,a.H,this);this.u=this.i=this.D=null;this.A=0;this.I=this.l=null;this.R=0;this.Y=this.H=!1;this.F=this.o.Ca&&(cw(this.info)||bw(this.info))}; Wha=function(a,b){a.D=b}; oF=function(a){var b=SE(a.timing);b.shost=a.i?Mv(a.i.g):"";b.rn=a.M.toString();a.A&&(b.rc=a.A.toString());b.itag=""+gv(a.info.g[0].g.info);b.ml=""+ +a.info.g[0].g.sc();b.sq=""+a.info.g[0].i;if(a.i){var c=a.i.g;Lv(c);var d=decodeURIComponent(c.get("mn")||"").split(",");b.ifi=""+ +("/videoplayback"==c.i&&1b.g&&4E12>c?c:(0,g.D)();$E(b,c,1024*b.T);var d=(c-b.g)/1E3;if(2!=TE(b))if(aF(b))b.u+=(c-b.A)/1E3,Hy(b.i,b.l,b.u);else{if(!VE(b)&&!WE(b)){var e=b.i;e.B.i(1,d);Gy(e)}b.Z=c}e=b.i;var f=b.Y,k=bw(b.R);e.A.i(d,b.l/d);e.l=g.M();k||e.i.i(1,d-f);Jy(b.i,(c-b.A)/1E3,0)}}else(0,g.D)();"net.nocontent"!=a.u&&("net.timeout"==a.u||"net.connect"==a.u?(b=pF(a),b.i+=1):(b=pF(a),b.g+=1),a.info.i.g++);qF(a,7)}; sF=function(a){if(1==a.state)return!0;a=pF(a);return 100>a.i&&6>a.g}; qF=function(a,b){a.state=b;if(5<=a.state){var c=a.timing;c.o&&(c.o=!1)}a.D&&a.D(a)}; uF=function(a,b){if(b){var c=pF(a);c.l+=1}tF(a);a.u="net.timeout";rF(a)}; vF=function(a){return(0,g.mj)(a.info.g,function(b){return 3==b.type})}; tF=function(a){if(a.g){var b=a.g;a.g=null;b.abort()}a=a.timing;a.o&&(a.o=!1)}; xF=function(a){var b=a.g.rd("content-type"),c=a.g.Hj();(b=(!wF(a)||!b||-1!=b.indexOf("text/plain"))&&(!c||2048>=c))&&wF(a)&&fF(a.g);return b}; Xha=function(a,b){var c=(0,g.x)(a.eM,a),d=(0,g.x)(a.hM,a),e=(0,g.x)(a.gM,a),f=(0,g.x)(a.fM,a);return Nv(a.i.g)?new QE(a.i,d,e,c):a.o.D&&(a.o.iu&&!isNaN(a.info.l)&&a.info.l>a.o.WA?0:zw()&&vF(a))?new eF(b,d,e,c,f,a.o):new mF(b,d,e,c,f)}; wF=function(a){return a.g?a.g.lt():!1}; yF=function(a){return 2<=a.state&&!!a.l&&!!a.l.g.length}; zF=function(a,b){if(b||wF(a)&&!xF(a)){if(!a.l){if(wF(a))a.info.range&&(c=a.info.range.length);else var c=a.g.xn();a.l=new Nha(a.info.g,c)}for(;a.g.ug();){c=a.l;for(var d=a.g.jt(),e=b&&!a.g.ug(),f=0,k=0,l=g.q(c.i),m=l.next();!m.done;m=l.next())if(m=m.value,m.range&&f+m.La<=c.l)f+=m.La;else{var n=c,p=m;if(1==p.type){n.u=!0;var r=!1}else 3==p.type||4==p.type?(p=n.u&&!n.A,n.A=!0,r=p):r=!1;n=c;var v=c.l-f,z=k;p=d;r=r||m.g.Gx();var C=p.length-z;m.range&&(C=Math.min(m.La-v,C));v=hv(m,m.l+v,C,m.range?m.l+ v+C==m.range.length:!!e);z=Yu(p.byteOffset+z,C);n.g.push(new kv(v,p.buffer,z,r));n=C;c.l+=n;k+=n;f+=m.La;if(k==d.length)break}}}}; Yha=function(a){if(!a.o.g||!isNaN(a.info.l)&&0a.info.g[0].i)return!1}return!0}; AF=function(a,b,c){g.N.call(this);this.B=0;this.o=a;this.i=[];this.l=null;this.u=b;this.aa=c;this.A=this.H=NaN;this.D=null;this.Y=(0,g.x)(function(d){this.o.au&&(this.N("timestamprewrite",d),this.o.au=!1)},this); this.T=this.R=this.M=this.g=null;this.P=!1;this.I=this.F=null;this.o.A&&(this.I=new Hha(this.o,this.u));this.o.R&&(this.g=new EE(this.o,this.aa))}; BF=function(a){return a.i.length?a.i[0]:null}; CF=function(a){return a.i.length?a.i[a.i.length-1]:null}; $ha=function(a,b,c){b=Zha(a,b,c);(0,g.y)(b,function(d){a.i.push(d);a.I&&OE(a.I,d)})}; IF=function(a,b){try{if(1==b.info.type){var c=lv(b);if(!a.o.Zt&&qw(b.info.g.info)&&"bt2020"==b.info.g.info.ua().primaries){var d=new Bu(c);if(Du(d,[408125543,374648427,174,224,21936,21937])){var e=d.l+d.g;129==c.getUint8(e)&&1==c.getUint8(e+1)&&c.setUint8(e+1,9)}}DF(b);b.info.g.info.xe()&&xw(b.info.g,c);EF(b);FF(a,b)&&(qv(b),rv(b));if(a.u.info.audio&&g.nv(b.info.g.info))if(a.o.Hl){var f=lv(b),k=g.lu(f,0,1701606260),l=g.lu(f,0,1836476516);if(k&&l){k.skip(2);var m=Xt(k),n=Zt(k);c=[];d=[];e=[];f=[]; if(m)for(m=0;m=V.g)){var ue=V.A,Xe=V.g/1E3,ve=V.l/1E3;ve=void 0===ve?Xe:ve;ue.g.i(ve,V.i/Xe);ue.l=g.M()}V.g=0;V.i=0;V.l=0}}}if(a.o.ou&&a.o.g){if(!a.g.R&&!k.info.o){var vl=null;break b}}else if(isNaN(a.g.A)){vl= null;break b}var md=a.g,fH=k.info.g.info;if(md.B.length){md.R=!1;for(var Pn=0,Qr=g.q(md.B),qg=Qr.next();!qg.done;qg=Qr.next())Pn+=qg.value.byteLength;if(!md.D||md.D.length-md.IR_)mz=!1;else{for(var jJ=R_-1;0<=jJ;jJ--)zi.i.setUint8(zi.g+jJ,Hs&255),Hs>>>=8;zi.g=Jja;mz=!0}}else mz=!1}if(mz)a.H=lz+pv(k);else{var S_=ev(k.info);S_.smst="1";HF(a,S_)}vl= k}var T_=vl;if(!T_)return[];c=T_;FF(a,c)&&(qv(c),rv(c),c.l&&(a.M=c?c.l:null,a.P=!!a.g,iv(c.info,c.l),iv(a.R,c.l),!c.info.g.g&&c.i&&c.l.o&&(c.info.g.g=mv(c,c.l.o))));c.i&&(DF(c),EF(c));var kJ=c,Gd=a.M;if(Gd){if(kJ.info.o){a.P=!1;a.F=null;if(a.g){var U_=FE(a.g);GE(a.g);var lJ=U_.startTime;var V_=U_.duration}else lJ=ov(kJ),V_=pv(kJ);var W_=new St(Gd.i,lJ,V_,Gd.ingestionTime,"sq/"+Gd.i,void 0,void 0,!1);a.N("segmentinfo",W_);var nz;if(nz=Gd.g["Cuepoint-Type"]?new eu(NF?parseFloat(Gd.g["Cuepoint-Playhead-Time-Sec"])|| 0:-(parseFloat(Gd.g["Cuepoint-Playhead-Time-Sec"])||0),parseFloat(Gd.g["Cuepoint-Total-Duration-Sec"])||0,Gd.g["Cuepoint-Context"],Gd.g["Cuepoint-Identifier"]||"",bia[Gd.g["Cuepoint-Event"]||""]||"unknown",parseFloat(Gd.g["Cuepoint-Playhead-Time-Sec"])||0):null)nz.g+=lJ,a.N("cuepoint",nz,Gd.i);var X_=W_}else{if(a.P&&a.g&&!isNaN(a.g.A)){var Lja=FE(a.g).startTime;var nJ=new St(Gd.i,Lja,Gd.B,Gd.ingestionTime,"sq/"+Gd.i,void 0,void 0,!0);a.F=nJ;a.N("placeholderinfo",nJ);a.P=!1;var Y_=nJ}else Y_=null; X_=Y_}var Z_=X_}else Z_=null;var oJ=Z_;var $_=c;if(a.o.iA)if(oJ){jv($_.info,oJ);for(var a0=g.q(b.info.g),pJ=a0.next();!pJ.done;pJ=a0.next())jv(pJ.value,oJ)}else a.F&&jv($_.info,a.F);c.info.o&&(a.M=null);GF(a,c)}if(a.o.ju&&!a.u.ae()&&OF(a,c)&&3==c.info.type&&c.info.duration&&!a.o.R){var b0=c;a.B+=1E3*(pv(b0)-b0.info.duration);if(a.D&&Math.abs(a.B-a.D.B)>=a.o.vA){var $l=c,qJ=(a.D.B-a.B)/1E3,c0=pv($l)+qJ,Mja=new DataView($l.g),d0=g.lu(Mja,0,1936286840);var rJ=d0?vu(d0):NaN;if(isNaN(rJ)){var e0=$l.info.g.g, Nja=new DataView($l.g),f0=g.lu(Nja,0,1836476516);rJ=f0?mu(f0):e0?nu(e0):NaN}var pz=PF(a,$l,c0*rJ);if(pz&&pz.length){var sJ=ev($l.info);sJ.fds=c0.toFixed(3);sJ.com=a.B.toFixed(3);a.N("timestamprewrite",sJ);a.H+=qJ;a.B+=1E3*qJ}return pz?pz:QF(a,$l)}}if(a.o.ab&&a.u.ae()&&OF(a,c)){var rz=c,Oja=rz.info.g.index.hq(rz.info.i),h0=PF(a,rz,Oja);var i0=h0?h0:QF(a,rz)}else{if(a.u.A&&a.u.ae()&&c.info.i==c.info.g.index.sb()&&OF(a,c)){var sz=c;var j0=RF(a,sz);if(j0){var Rf=g.lu(j0,0,1953658222);if(Rf){Rf.skip(1); var vo=Wt(Rf)<<16|Xt(Rf),Pja=vo&1,Qja=vo&4;if(vo&256){var Rja=vo&512,Sja=vo&1024,Tja=vo&2048,k0=Zt(Rf);if(!(2>k0)){Pja&&Rf.skip(4);Qja&&Rf.skip(4);var Uja=Zt(Rf);Rf.skip((k0-1)*(4+(Rja?4:0)+(Sja?4:0)+(Tja?4:0))-4);Rf.data.setUint32(Rf.offset+Rf.g,Uja)}}}var uJ=[];a.l&&a.l!=sz&&(uJ.push(a.l),a.l=null);uJ.push(sz);var l0=uJ}else l0=null;var m0=l0;var n0=m0?m0:QF(a,sz)}else{var tz=c;if(a.D&&a.D.u.A&&tz.info.xe()&&!(a.getDuration()>=a.D.getDuration())&&a.u.ae()&&tz.info.i==tz.info.g.index.sb()&&OF(a, tz)){var Is=c,Vja=a.D.getDuration()-a.getDuration();var vJ=RF(a,Is);if(vJ){var wo=1+Vja/Is.info.duration,wg=g.lu(vJ,0,1952868452),Sf=g.lu(vJ,0,1953658222);if(wg&&Sf){wg.skip(1);var wJ=Wt(wg)<<16|Xt(wg);wg.skip(4);wJ&1&&wg.skip(8);wJ&2&&wg.skip(4);if(wJ&8){var Wja=wg.g,o0=Zt(wg);wg.data.setUint32(wg.offset+Wja,1=e.range.start+e.l&&f.range.start+f.l+f.La<=e.range.start+e.l+e.La:f.i==e.i&&f.l>=e.l&&(f.l+f.La<=e.l+e.La||e.o))})); 3!=e.type&&4!=e.type||b.push(e)})}); a.i&&!bfa(a.i,g.Va(b),a.i.g.ae())&&b.push(a.i);return b}; XF=function(a,b){if(!a.length)return!1;for(var c=b+1;c=b){b=f;break a}}b=e}return 0>b?NaN:XF(a,c?b:0)?a[b].startTime:NaN}; hG=function(a){return(0,g.Oj)(a.o,function(b){return 4<=b.state})}; iG=function(a){return!(!a.i||a.i.g==a.g)}; jG=function(a){return iG(a)&&a.g.sc()&&a.i.g.info.gb&&a.Db)return!0;return!1}; kia=function(a){return new CE(a.H,a.u,a.o.reason)}; BG=function(a){return a.o.isLocked()}; vG=function(a){a.R=g.M();a.aa=!1;return new CE(a.H,a.u,a.o.reason)}; uG=function(a,b){a.o=b;var c=a.D.videoInfos;if(!BG(a)){var d=g.M()-6E4;c=(0,g.Xd)(c,function(l){if(l.g>this.B.F)return!1;l=this.A.g[l.id];return l.R>d?!1:4k.video.width?(g.bb(e,c),c--):yG(a,f)*a.B.i>yG(a,k)&&(g.bb(e,c-1),c--)}c=e[e.length-1];a.g=e;efa(a.B,c)}; fia=function(a,b){if(b)a.l=a.A.g[b];else{var c=g.Xa(a.D.g,function(d){return!!d.kb&&d.kb.isDefault}); c=c||a.D.g[0];a.l=a.A.g[c.id]}wG(a)}; wG=function(a){if(!a.l||!a.B.A)if(!a.l||!a.l.info.kb)if(a.l=a.A.g[a.D.g[0].id],1a.o.g;else{for(b=0;b+1c}b&&(a.l=a.A.g[a.D.g[1].id])}}; xG=function(a){if(!a.i||!a.B.A)if(BG(a))a.i=a.A.g[a.g[a.g.length-1].id];else{for(var b=Math.min(a.F,a.g.length-1),c=sG(a.P),d=yG(a,a.l.info),e=c/a.B.l-d;0=c);b++);a.i=a.A.g[a.g[b].id];a.F=b}}; gia=function(a){var b=a.B.l,c=sG(a.P)/b-yG(a,a.l.info);b=g.Ya(a.g,function(d){return yG(this,d)b&&(b=0);a.F=b;a.i=a.A.g[a.g[b].id]}; yG=function(a,b){if(!a.M[b.id]){var c=a.A.g[b.id].index.qw(a.T,15);c=b.u&&a.u&&a.u.index.Eb()?c||b.u:c||b.g;a.M[b.id]=c}return a.M[b.id]}; lia=function(a,b){var c=Wb(a.A.g,function(d){return gv(d.info)==b}); if(!c)throw Error("Itag "+b+" from server not known.");return c}; mia=function(a){var b=[];if("s"==a.o.reason||"m"==a.o.reason)return b;var c=!1;if(Ifa(a.A)){for(var d=Math.max(0,a.F-2);d=c)a.H=NaN;else{var d=Ly(a.P),e=b.index.g;c=Math.max(1,d/c);a.H=Math.round(1E3*Math.max(((c-1)*e+a.g.I)/c,e-a.g.Sb))}}}; oia=function(a,b){var c=(0,g.D)()/1E3,d=c-a.A,e=c-a.D,f=e>=a.g.mf,k=!1;if(f){var l=0;!isNaN(b)&&b>a.B&&(l=b-a.B,a.B=b);l/e=a.g.Sb&&!a.o;if(!f&&!c&&FG(a,b))return NaN;c&&(a.o=!0);a:{d=k;c=(0,g.D)()/1E3-(a.M.g()||0)-a.F.l-a.g.I;f=a.l.startTime;c=f+c;if(d){if(isNaN(b)){GG(a,NaN,"n",b);f=NaN;break a}d=b-a.g.Rb;dc)break}return d}; KG=function(a,b){for(var c=[],d=g.q(a.g),e=d.next();!e.done&&!(e=e.value,e.contains(b)&&c.push(e),e.start>b);e=d.next());return c}; ria=function(a){return a.g.slice(JG(a,0x7ffffffffffff),a.g.length)}; JG=function(a,b){var c=pb(a.g,function(d){return b-d.start||1}); return 0>c?-(c+1):c}; LG=function(a,b){for(var c=NaN,d=g.q(a.g),e=d.next();!e.done;e=d.next())if(e=e.value,e.contains(b)&&(isNaN(c)||e.endb&&(isNaN(c)||e.starta.g.length)a.g=a.g.concat(b),a.g.sort(a.i);else for(var c=g.q(b),d=c.next();!d.done;d=c.next())d=d.value,!a.g.length||0l.end:!l.contains(c))&&f.push(l)}e=e.concat(RG(a,f));if(d){b=KG(a.g,0x7ffffffffffff);var m=b.filter(function(p){return 0x8000000000000>p.end}); var n=ria(a.g)}else b=a.o<=c&&g.WC(b)&&!g.T(b,16)&&!g.T(b,32)?qia(a.g,a.o,c):KG(a.g,c);e=e.concat(QG(a,b));m&&(e=e.concat(RG(a,m)));n&&(e=e.concat(QG(a,n)));a.o=c;tia(a,e)}}; tia=function(a,b){for(var c=g.q(b),d=c.next();!d.done;d=c.next()){d=d.value;var e=d[1];1==d[0]?(e.i&&e.i.N("onEnter",e),a.F(g.tE(e.namespace),e)):(e.i&&e.i.N("onExit",e),a.F("crx_"+e.namespace,e))}}; sia=function(a){return g.T(a.D(),2)?0x8000000000000:1E3*a.R()}; SG=function(){var a=this;this.g=this.i=iaa;this.l=new jg(function(b,c){a.i=b;a.g=c})}; UG=function(a,b,c,d,e,f,k){g.N.call(this);var l=this;this.P=a;this.g=b;this.u=c;this.ga=new tG;this.Ra=k||null;this.F=new oG(a,b);this.B=new eia(this.F,b,this.u,d);a=hia(this.B,e,f&&f.id);this.o=new SF(this.g,a.audio,(0,g.x)(this.Ou,this));this.i=new SF(this.g,a.video,(0,g.x)(this.Ou,this));TG(this,this.o);TG(this,this.i);this.i.l.D=this.o.l;this.M=this.i.B;this.l=null;this.xa={updateend:this.GF,error:this.wI};this.Z=new g.J(this.Xe,0,this);g.B(this,this.Z);this.na=new g.J(this.Xe,1E3,this);g.B(this, this.na);this.jb=new g.J(this.Xe,void 0,this);g.B(this,this.jb);this.Ia=new g.J(this.Xe,1E4,this);g.B(this,this.Ia);this.A=NaN;this.R=!1;this.I=NaN;this.Ea=0;this.Y=this.aa=this.H=!1;this.ma="";this.wa=new Cy(5);this.oa={};this.Ca=NaN;this.ya=this.M=!1;(this.D=nia(this.g,this.P,this.wa,function(m,n){if(l.i.g.sc()&&l.o.g.sc()&&l.l&&l.l.i&&l.l.g)if(n&&l.u.i&&(-1==l.i.u||-1==l.o.u))var p=!0;else p=$F(l.i,m,l.l.i,n),isNaN(p)?p=!1:(p=$F(l.o,l.g.Ea?m:p,l.l.g,n),p=isNaN(p)?!1:!0);else p=!1;return p}))&& this.D.subscribe("ctmp",this.Dc,this); this.Ya=NaN;this.ea=this.Qa=null;this.T=NaN;this.X=0;this.tb=this.ab=!1}; VG=function(a,b){b=b||a.i&&a.i.i&&a.i.i.startTime||a.A;var c=a.i;var d=a.B;var e=d.i&&d.i.index.Le(b)||0;d.T!=e&&(d.M={},d.T=e,uG(d,d.o));e=!BG(d)&&-1=a.g.kA&&!a.g.Lb||!a.g.Qt&&0=a.g.kB)return!1;d=b.i;if(!d)return!0;if(!Yv(d.g.o))return!1;4==d.type&&d.g.sc()&&(b.i=g.Va(d.g.lo(d)),d=b.i);if(!d.u&&!d.g.Lf(d)|| d.g.info.audio&&4==d.type)return!1;if(jG(b)&&!a.g.Z)return!0;if(!(c=d.u||cG(b)&&cG(b)+cG(c)>a.g.ma||!!(c.i&&!c.i.u&&c.i.Dc}return c||a.g.DB&&(a=b.A)&&a.isLocked()?!1:!0}; bH=function(a,b,c){if((!a.l||Mx(a.l)||Qx(a.l))&&!a.R&&a.B.aa){var d=a.A;a=a.F;c=rG(a,b.g.info.g,c.g.info.g,0);var e=Iy(a.i)+c/Ly(a.i);d+=Math.max(e,e+a.g.Qc-c/b.g.info.g);a:{if(b.o.length){if(b.o[0].info.g[0].startTime<=d)break a;eG(b)}a=b.l;for(c=a.i.length-1;0<=c;c--)a.i[c].info.startTime>d&&a.i.pop();b.o.length?b.i=g.Va(g.Va(b.o).info.g):b.l.i.length?b.i=CF(b.l).info:b.i=TF(b);b.i&&dk&&(e=d.g.mh(d,e.range.length-c.La)))),d=e):(0>d.i&&(c=ev(d),c.pr=""+b.o.length,a.R&&(c.sk="1"),a.Dc("nosq",d.B+";"+yx(c))),d=k.pi(d))}else d.g.ae()?(c=rG(a.F,b.g.info.g,c.g.info.g,0),d=d.g.mh(d,c)):d=d.g.pi(d);a=dH(a,d);b.o.push(a);b.i=g.Va(a.info.g)}}; dH=function(a,b){3==b.g[b.g.length-1].type&&gH(a,jia(a.B,b.g[0].g));var c=ew(b);c=new Uha(a.P,c,cia(a.F,c),b,a.Qa);a.g.Nn&&(c.D=[]);var d=new nF(a.g,b,c,a.oa);c.wa=function(){return Yha(d)?d.o.Il&&window.performance&&window.performance.now&&d.g&&d.g.bi()&&wF(d)&&fF(d.g)?d.info.g[0].g.info.video?3:4:2:1}; Wha(d,(0,g.x)(a.XK,a));3==b.g.length&&1==b.g[0].type&&2==b.g[1].type&&4==b.g[2].type&&b.g[0].g.info.video&&(d.aa=mia(a.B));d.start(Math.max(0,b.g[0].A-a.A));return d}; gH=function(a,b){b&&a.N("videoformatchange",b)}; xia=function(a,b){var c=b.info.g[0].g,d=c.info.video?a.i:a.o;wia(a,d,b);bw(b.info)&&!aw(b.info)&&((0,g.y)(b.l.g,function(e){IF(d.l,e)}),a.g.Fl||a.N("metadata",c))}; wia=function(a,b,c){if(a.u.i&&b&&(b.B&&(wF(c),b.B=!1),c.R&&a.wa.i(1,c.R),b=c.g?parseInt(c.g.rd("X-Head-Seqnum"),10):null)){a=a.u;for(var d in a.g)c=a.g[d].index,c.i&&(c.l=Math.max(c.l,b))}}; hH=function(a,b,c){a:{b=b.info;var d=a.g.Yt,e=null,f=b.g[0];if(b.range)e=Yu(b.range.start,Math.min(4096,b.range.length));else if(d){if(b.o&&0<=b.o.indexOf("/range/")||"1"==b.i.o.get("defrag")||"1"==b.i.o.get("otf")){c=null;break a}e=Yu(0,4096)}else if(f.g.info.video){c=null;break a}b=new $u(5,f.g,e,"createProbeRequestInfo_"+f.B,f.i);b=new $v([b]);b.A=c;c=b}c&&dH(a,c)}; zia=function(a){var b=-1!=a.i.u,c=-1!=a.o.u;if(!b||!c)if(b=!b&&BF(a.i.l),c=!c&&BF(a.o.l),b||c){c=b?a.i:a.o;b=b?a.o:a.i;var d=BF(c.l).info.i;if(-1!=b.u&&b.u!=d&&(iH(a,!1,"qoe.avsync",{start:"1",target:String(b.u),actual:String(d)}),!a.g.El)){nx(a.u,d,c==a.i);yia(c,b.u);return}c.u=d;c.D=NaN;if(-1!=b.u){var e=Math.max(b.g.index.Kc(b.u),c.g.index.Kc(c.u));a.ea&&(a.ea.resolve(e+.1),a.ea=null);g.dg(function(){return jH(a,e)})}}}; yia=function(a,b){fG(a);bG(a,Infinity);var c=a.D;a.l.A=c;a.D=c;c=a.i;c.B="correctTrack_";c.i=b-1}; nH=function(a){var b=a.l.g,c=a.l.i;a.o.g.A&&kH(b,a.o.g.A);if(Aia(a)){if(a.g.fj){if(!b.Wg()){var d=BF(a.o.l);d&&lH(a,b,d)}c.Wg()||(b=BF(a.i.l))&&lH(a,c,b)}}else{if(a.D){d=a.D;var e=a.o,f=Dx(a.l.i.oc());if(d.u)d=oia(d,f);else{if(f=BF(e.l)){var k=f.l;k&&k.u&&k.l&&(e=e.o.length?e.o[0]:null)&&3<=e.state&&7!=e.state&&0==e.info.l&&wF(e)&&(d.u=e,d.F=k,d.l=f.info,d.A=(0,g.D)()/1E3,d.D=d.A,d.B=d.l.startTime)}d=NaN}d&&a.N("seekplayerrequired",d,!0)}if(d=mH(a,a.i,c,null))e=a.ga,e.l||(e.l=(0,g.D)(),e.Mc("vda"), rB("vda"),e.i&&Bq(4));e=BF(a.i.l);a.g.ea&&!d&&e&&(a.tb||a.Dc("sbp",a.l.i.fb({ns:fv(e.info)})),a.tb=!0);if(a.l&&!Ox(a.l)){c=Cx(c.oc(),a.A+cH);if(!isNaN(c)||aG(a.i)||!b.oc().length||a.g.aa){if(aG(a.i)||a.g.aa)c=NaN;if(b=mH(a,a.o,b,c))c=a.ga,c.i||(c.i=(0,g.D)(),c.Mc("ada"),rB("ada"),c.l&&Bq(4));d=d||b}!a.fa()&&a.l&&(!a.g.tb&&aG(a.i)&&aG(a.o)&&Mx(a.l)&&!a.l.Sd()&&(b=TF(a.o).g,b==a.u.g[b.info.id]&&(b=a.l,Mx(b)&&b.l.endOfStream(),b=a.P,ty(My(b)),b.u=g.M())),d&&!Qx(a.l)&&g.Do(a.Z))}}}; Aia=function(a){if(a.g.ya)return!1;var b;if(!(b=nG(a.i))&&(b=a.R)){b=a.F;var c=a.i,d=a.o;if(0==c.o.length&&0==d.o.length)b=!0;else{var e=0,f=JF(c.l).concat(JF(d.l));f=g.q(f);for(var k=f.next();!k.done;k=f.next())e+=k.value.La;c=c.g.info.g+d.g.info.g;e/=c;b=10c*(10-e)/sG(b)}(b=!b)||(b=a.i,b=0a.A||360=d)d=null;else{for(k=1;kd||l||f.o.ab);k++);d=f.i.slice(0,k)}if(!d)return!1;f=e.i?0:e.range.start;f=new Uint8Array(e.g,f,d[d.length- 1].range.end-f+1);if(!Bia(a,c,f,d,b))return!1;c=b.l;for(f=0;ff.info.D&&(b.remove(c.start(d),c.end(c.length-1)),e=!0);a=Math.max(0,Math.min(a.A,f.info.startTime)-5);!e&&a&&b.remove(0,a);return!1}a.N("reattachrequired");return!1}; pH=function(a,b,c,d){var e="fmt.unplayable";"i"==c&&(e="html5.invalidstate");if("x"==c||"m"==c)e="fmt.unparseable",d.g.u=e,d.g.info.video&&!AG(a.B)&&zG(a.B,d.g);d=ev(d);d.mrs=a.l.l.readyState;d.origin=b;d.reason=c;iH(a,"i"!=c,e,d)}; qH=function(a,b,c){Ufa(a.u,b,c)&&c&&g.dg(function(){if(a.ya)a.ya=!1,jH(a,b.startTime);else{var d=b.startTime;if(!a.fa()&&a.g.X&&a.M&&-1!=a.i.u&&-1!=a.o.u){var e=a.g.ku?0:.1;a.Ad+b.duration+e?3>a.X?(a.X++,a.seek(a.A)):(a.Dc("iterativeSeeking","incomplete;count."+a.X,!1),a.X=0,a.M=!1,a.N("seekplayerrequired",d+.1,!0)):(a.Dc("iterativeSeeking","done;count."+a.X,!1),a.X=0,a.M=!1)}}})}; jH=function(a,b){!a.fa()&&a.g.X&&a.M&&-1!=a.i.u&&-1!=a.o.u&&(a.M=!1,a.N("seekplayerrequired",b+.1,!0))}; lH=function(a,b,c){c.info.g.sc();var d=c.info.g.g;if(null==d||b.Wg()==d)return!1;var e=d,f=b.wm();if(a.g.kf&&f&&b.isView()&&g.nv(c.info.g.info)){var k=new DataView(d.buffer,d.byteOffset,d.byteLength);(f=Zea(k,f))?e=new Uint8Array(f.buffer,f.byteOffset,f.byteLength):a.Dc("fenc","1")}d=oH(a,b,e,null,d);if("s"!=d)return pH(a,"sepInit",d,c.info),!0;(c=c.info.g.F)&&a.N("newDrmInfo",c.type,c.key);return b.Sd()}; oH=function(a,b,c,d,e){try{b.appendBuffer(c,d,e)}catch(f){if(11==f.code)return"i";if(12==f.code)return"x";if(22!=f.code&&0!=f.message.indexOf("Not enough storage"))return g.L(f),"u";a.g.Oc&&(b=Ax(b.oc()).replace(/,/g,"_"),a.Dc("quex","br."+b+";e."+f));return"q"}return Ox(a.l)?"m":"s"}; TG=function(a,b){b.l.subscribe("error",a.RJ,a);b.l.subscribe("timestamprewrite",a.WJ,a);var c=(0,g.x)(a.TJ,a,b);b.l.subscribe("placeholderinfo",c,void 0);c=(0,g.x)(a.UJ,a,b);b.l.subscribe("placeholderrollback",c,void 0);c=(0,g.x)(a.VJ,a,b);b.l.subscribe("segmentinfo",c,void 0);c=a.SJ.bind(a);b.l.subscribe("gaplessinfo",c,void 0);b==a.i&&b.l.subscribe("cuepoint",a.QJ,a)}; kH=function(a,b){var c=0+b.duration,d=-b.g;0==a.tm()&&c==a.gq()||a.Ws(0,c);d!=a.Ib()&&a.ro(d)}; $G=function(a,b,c){if(a.H)return 1;var d=b.g.info.audio?a.g.B:a.g.u;!a.g.Z&&BG(a.B)&&(d=Math.max(d,b.g.info.audio?a.g.na:a.g.T));c&&(d+=a.g.ma);var e=BG(a.B)?b.i?b.i.g.info.g:b.g.info.g:b.F;d/=e;0c&&a.Dc("bwcapped","1",!0),c=Math.max(c, 15),d=Math.min(d,c));return d}; via=function(a){if(!a.Ra)return Infinity;var b=(0,g.Xd)(OG(a.Ra),function(d){return"ad"==d.namespace}); b=g.q(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,c.start/1E3>a.A)return c.start/1E3;return Infinity}; rH=function(a,b,c){if(!a.g.sc())return 0!=b&&eG(a),b;var d=$F(a,b,c);if(!isNaN(d))return d;fG(a);return c&&(c=Cx(c.oc(),b),!isNaN(c))?(bG(a,c+cH),b):bG(a,b)}; sH=function(a,b,c,d){c.sc()||c.B||!Yv(c.o)||(d=c.Th(d?dia(a.F,c.info):0),(0,g.y)(d,function(e){if("f"!=e.g[0].g.info.i){var f=dH(this,e);aw(e)&&(b.o.push(f),b.i=g.Va(f.info.g))}},a),c.B=!0)}; iH=function(a,b,c,d){a.fa()||(d=new g.xx(c,b,d),g.Pa(a),yx(d.details),a.N("error",d),"html5.invalidstate"!=c&&"fmt.unplayable"!=d.errorCode&&"fmt.unparseable"!=c&&b&&a.dispose())}; XG=function(a){fG(a.o);fG(a.i)}; Cia=function(a,b){var c=b.info.video?a.i:a.o;null!=c&&sH(a,c,b,!1)}; tH=function(a){a=a?a.o.length?a.o[0]:null:null;return!!a&&2<=a.state&&!(5<=a.state)}; Dia=function(a,b,c){this.url=a;this.interval=b;this.g=c}; uH=function(){g.N.apply(this,arguments)}; vH=function(a,b,c){this.initData=a;this.contentType=(void 0===b?"":b)||null;this.isPrefetch=void 0===c?!1:c;this.g=this.cryptoPeriodIndex=NaN;this.i=[]}; wH=function(a){a:{var b=a.initData;try{for(var c=0,d=new DataView(b.buffer);c=e)break;if(1886614376==d.getUint32(c+4)){var f=32;if(0=b&&(a=.75*b),c=.5*(b-a),a=new xH(c,b,b-c-a,this)):a=null;break a;case "widevine":a=new RH(g.O(b,"disable_license_delay"), c,this);break a}a=null}if(this.A=a)g.B(this,this.A),this.A.subscribe("rotated_need_key_info_ready",this.Lu,this);TH(this,"cks"+this.g.Od())}; XH=function(a,b,c){a.Z=!0;0!=a.l.length&&a.O.va&&a.O.va.g?VH(a):WH(a,new vH(b,c))}; Sia=function(a,b){if(Qz(a.g)&&!a.M){var c=Jha(b);if(0!=c.length){var d=new vH(c);a.M=!0;navigator.requestMediaKeySystemAccess("com.microsoft.playready",[{initDataTypes:["keyids","cenc"],audioCapabilities:[{contentType:'audio/mp4; codecs="mp4a"'}],videoCapabilities:[{contentType:'video/mp4; codecs="avc1"'}]}]).then(function(e){e.createMediaKeys().then(function(f){Ria(a,f,d)})},null)}}}; Ria=function(a,b,c){var d=b.createSession(),e=a.i.values[0],f=Kia(e);d.addEventListener("message",function(k){Pia(k.message,d,a.g.o,f)}); d.addEventListener("keystatuseschange",function(){d.keyStatuses.forEach(function(k,l){"usable"==l&&(a.P=!0,YH(a,NH(e,a.P)))})}); d.generateRequest("cenc",c.initData)}; WH=function(a,b){a.fa()||(TH(a,"initd"+b.initData.length+"ct"+b.contentType),a.aa&&a.oa||(a.aa=!0,"widevine"==a.g.flavor?(wH(b),a.N("widevine_set_need_key_info",b)):a.Lu(b)))}; ZH=function(a){a.fa()||(a.R=!0,TH(a,"onmdkrdy"),VH(a))}; VH=function(a){if(a.Z&&a.R&&!a.H){for(;a.l.length;){var b=a.l[0];if(a.i.get(b.initData))if("fairplay"==a.g.flavor)a.i.remove(b.initData);else{a.l.shift();continue}wH(b);break}if(a.l.length){b=a.l[0];a.i.get(b.initData);a.H=!0;var c=new IH(a.O,a.o,a.F,b,a,a.ga);a.i.set(b.initData,c)}}}; YH=function(a,b){var c=my("auto",b,!1,"l");if(g.O(a.o.experiments,"html5_drm_start_from_null_constraint")){if(ly(a.B,c))return}else if(ry(a.B,b))return;a.B=c;a.N("qualitychange");TH(a,"updtlq"+b)}; TH=function(a,b){YB(a.O)&&a.Nb.N("ctmp","drmlog",b)}; $H=function(a,b,c,d){this.videoData=a;this.g=b;this.reason=c;this.i=d}; Tia=function(a,b){this.videoData=a;this.va=b}; Uia=function(a,b,c){return cha(b,c).then(function(){return(S(a,"disable_index_range_auth")||!b.Im||!b.va.g||b.Te()||b.ek()?0:/&init=0-0&/.test(b.adaptiveFormats))?Er(new g.xx("auth",!0,{init:"1"})):Fr(new Tia(b,b.va))},function(d){d instanceof Error&&g.$p(d); d=b.sa&&!g.fy(a.o)?"html5.unsupportedlive":"fmt.noneavailable";var e={buildRej:"1",a:""+ +!!b.adaptiveFormats,d:""+ +!!b.Nd,f18:""+ +(0<=b.Vi.indexOf("itag=18")),c18:""+ +px('video/mp4; codecs="avc1.42001E, mp4a.40.2"'),f43:""+ +(0<=b.Vi.indexOf("itag=43")),c43:""+ +px('video/webm; codecs="vp8.0, vorbis"')};b.ia&&(e.f133=""+ +!!b.ia.g["133"],e.f140=""+ +!!b.ia.g["140"],e.c140=""+ +rx('audio/mp4; codecs="mp4a.40.2"'),e.f242=""+ +!!b.ia.g["242"],e.c242=""+ +rx('video/webm; codecs="vp9"'));return new g.xx(d, !0,e)})}; aI=function(a,b){g.N.call(this);this.g=a;this.I=b;this.H=this.A=this.B=this.l=this.i=this.u=this.F=this.o=0;this.D=1}; cI=function(a,b,c){g.uz(a.g)&&(c=py(c,bI(a,b)));return c}; bI=function(a,b){if(g.uz(a.g)&&Tx(a.g.o,Xx))var c=b.va.videoInfos[0].ua().Tb;else{var d=!!b.va.g;ez(a.g)&&(c=window.screen&&window.screen.width?new g.vd(window.screen.width,window.screen.height):null);c||(c=a.g.hj?a.g.hj.clone():a.I.getPlayerSize());if(gz||dI||d){d=c;var e=g.Dz(),f=g.Fa(void 0)?void 0:e;d.width*=e;d.height*=f}var k=b.va.videoInfos;if(k.length){d=.85;e=k[0].ua();4!=e.projectionType&&2!=e.projectionType&&3!=e.projectionType||cz||(d=.45);e=k[0];f=e.ua();k=g.q(k);for(var l=k.next();!l.done&& !(e=f=l.value,f=f.ua(),null===c||f.width*dg.M()-a.u?0:e||0f?a.l+1:0;if(!d||g.uz(a.g)||!fI(a,b))return!1;a.i=e>d?a.i+1:0;if(3!=a.i)return!1;gI(a,b.videoData.za);a.N("ctmp","dfd",hI());return!0}; fI=function(a,b){if(a.ra("html5_restore_perf_cap"))return!0;if(!b.videoData.za)return!1;if("1"==b.videoData.za.i)return!0;var c=a.g.g?240:360;return b.videoData.za.ua().Tb>c}; gI=function(a,b){var c=b.ua().Tb-1;yy(b.i,b.ua().fps,c);a.g.Wf=new ky(0,c,!1,"b")}; iI=function(a,b){if(a.ra("html5_restore_perf_cap")){for(var c=0,d=a.g.g?240:360,e=g.q(b.va.videoInfos),f=e.next();!f.done;f=e.next()){f=f.value;var k=f.i,l=f.ua().fps;k=+wy()[vy(k,l)]||0;f=f.ua().Tb;if(!k||Math.max(k,d)>=f){c=f;break}}return new ky(0,c,!1,"b")}return a.g.Wf}; jI=function(a,b){a.ra("html5_log_media_perf_info")&&(a.N("ctmp","perfdb",hI()),a.N("ctmp","hwc",""+navigator.hardwareConcurrency,!0),b&&a.N("ctmp","mcdb",b.va.videoInfos.filter(function(c){return!1===c.o}).map(function(c){return gv(c)}).join("-")))}; hI=function(){var a=Mb(wy(),function(b){return""+b}); return yx(a)}; kI=function(a,b){g.A.call(this);this.g=a;this.R=b;this.l=-1;this.I=!1;this.o=-1;this.i=new g.PC;this.D=this.B=this.H=0;this.A=new g.J(this.u,6E4,this);g.B(this,this.A);this.F=!1}; lI=function(a){0<=a.l||(3==a.g.getVisibilityState()?a.I=!0:(a.l=g.VD(a.g),a.A.start()))}; mI=function(a){if(!(0>a.o)){var b=g.VD(a.g),c=b-a.H;a.H=b;8==a.i.g?a.B+=c:g.YC(a.i)&&!g.T(a.i,16)&&(a.D+=c)}}; oI=function(a){g.A.call(this);var b=this;this.g=a;this.i={};this.M=1;this.X=NaN;this.l="N";this.A=this.ma=this.ga=this.Y=this.o=0;this.P=this.na="";this.Z=0;this.wa=-1;this.ea=1;this.I=this.R=0;this.aa=this.H=!1;this.xa=[];this.B=null;this.D=this.T=this.F=!1;(a=navigator.getBattery?navigator.getBattery():null)&&a.then&&a.then(function(c){b.B=c}); g.nI(this,0,"vps",["N"])}; g.nI=function(a,b,c,d){var e=a.i[c];e||(e=[],a.i[c]=e);e.push(b.toFixed(3)+":"+d.join(":"))}; rI=function(a,b){b=0<=b?b:g.VD(a.g);var c=a.g.l();if(!isNaN(a.oa)&&!isNaN(c.l)){var d=c.l-a.oa;0=c-d}; BI=function(a){return Math.max(a.F()-AI(a,!0),a.O.Ab())}; DI=function(a,b,c){b=CI(a,b);c||b?b&&(a.o=!0):a.o=!1;a.A=2==a.g.i||3==a.g.i&&a.o}; EI=function(a,b){var c=CI(a,b);a.B!=c&&a.N("livestatusshift",c);a.B=c}; zI=function(a){return a.O.ia?lx(a.O.ia)||5:5}; xI=function(a,b){b=Math.max(Math.max(a.g.H,Math.ceil(a.g.l/zI(a))),b);return Math.min(Math.min(8,Math.floor(a.g.D/zI(a))),b)}; aja=function(){this.H=1;this.l=0;this.D=Infinity;this.F=0;this.o=!0;this.g=2;this.i=1;this.u=!1;this.B=NaN;this.I=this.A=!1}; II=function(a,b){g.N.call(this);var c=this;this.Z=b;var d={};this.Y=(d.seekplayerrequired=this.KM,d.videoformatchange=this.tG,d);this.ra("html5_unrewrite_timestamps")&&(this.Y.timestamp=this.VM);this.O=a;this.ga=null;this.ma=new bja(b);this.X=new g.Us;g.B(this,this.X);this.F=this.l=this.u=this.g=null;this.i=NaN;this.B=0;this.A=null;this.R=NaN;this.D=this.H=null;this.aa=this.I=!1;this.oa=new g.J(function(){var e={tgt:c.i};c.u&&g.Ra(e,c.u.fb());c.g&&g.Ra(e,c.g.fb());if(isFinite(c.i)&&0c.i+10);if(!f||l)c.g.seekTo(k),e.elem="1"}if(f=c.u)f=c.u,f=tH(f.i)||tH(f.o);f||c.N("ctmp","seektimeout",yx(e))},1E4); g.B(this,this.oa);this.P=new g.J(function(){c.I=!0;GI(c)}); g.B(this,this.P);this.na=new g.J(function(){return HI(c)}); g.B(this,this.na);this.o=0;this.M=!0;this.T=!1;this.ea=0}; cja=function(a,b){a.ga=b;a.O.sa&&(a.F=new $ia(function(){a:{if(a.ga&&a.ga.va.g){if(NB(a.O)&&a.u){var d=a.u.wa.g()||0;break a}if(a.O.ia){d=a.O.ia.F;break a}}d=0}return d}),a.l=new yI(a.O,a.Z.experiments,function(){return a.qc(!0)})); var c=a.ma.g&&a.O.isAd();a.O.startSeconds&&isFinite(a.O.startSeconds)&&1E9=a.i)RI(a);else if(!a.O.sa&&a.i>=a.qc()-.1)a.i=a.qc(),a.A.resolve(a.qc()),a.N("ended");else try{a.g.seekTo(a.i-a.o),a.R=a.i-a.o,a.B=a.i}catch(c){}}}; FI=function(a){if(!a.g||0==a.g.je()||0b.startSeconds){var c=b.endSeconds;a.P&&(a.removeCueRange(a.P),a.P=null);a.P=new g.qE(1E3*c,0x7ffffffffffff);a.P.namespace="endcr";a.addCueRange(a.P)}}; MJ=function(a,b,c,d){a.O.za=c;d&&LJ(a,b,d);var e=g.iD(a);d=a.u;e=new $H(a.O,c,b,e?gv(e):"");if(d.g){c=d.g;d=g.VD(c.g);g.nI(c,d,"vfs",[e.g.id,e.i,c.na,e.reason]);c.na=e.g.id;e=c.g.B();if(0=a.start);return b}; UJ=function(a,b){if(a.g&&b.ha()==a.g.ha()&&(b.isView()||a.g.isView())){if(b.isView()||!a.g.isView())g.Ws(a.na),a.g=b,RJ(a),KI(a.A,a.g)}else{a.g&&SJ(a);if(!a.i.isError()){var c=TC(a.i,512);g.T(c,8)&&!g.T(c,2)&&(c=SC(c,1));yJ(a,c)}a.g=b;a.g.setLoop(a.Oc);a.g.setPlaybackRate(a.Qa);RJ(a);TJ(a);KI(a.A,a.g)}}; TJ=function(a){if(g.O(a.o.experiments,"html5_prewarm_mse")&&ey()&&Px()&&a.g)try{a.g.Yn()}catch(b){}}; SJ=function(a,b,c){b=void 0===b?!1:b;c=void 0===c?!1:c;if(a.g){var d=a.getCurrentTime();01E3*m);l&&(f=f?Math.min(f,k):k)}if(m=k=g.P(b.g.experiments,"html5_hfr_quality_cap"))a:{m=c.va;if(m.g)for(m=g.q(m.videoInfos),l=m.next();!l.done;l=m.next())if(32b.g;c||d||b?a.N("reattachrequired"):(jG(a.i)&&bH(a,a.i,a.o),g.Do(a.Z))}}}; aK=function(a){a.ra("html5_nonblocking_media_capabilities")?ZJ(a):$J(a)}; dK=function(a){Tfa(a.O.ia,{cpn:a.O.clientPlaybackNonce,c:a.o.deviceParams.c,cver:a.o.deviceParams.cver});var b=a.o,c=a.O,d=new g.uv;d.ku=S(b,"html5_seek_accuracy_allowance_killswitch");d.Cu=S(b,"html5_unrewrite_timestamps");S(b,"html5_streaming_xhr")&&(d.D=!0);S(b,"html5_streaming_debug")&&(d.D=!0,d.R=!0);g.P(b.experiments,"html5_max_av_sync_drift")&&(d.vA=g.P(b.experiments,"html5_max_av_sync_drift"));g.P(b.experiments,"html5_min_secs_between_format_selections")&&(d.AB=g.P(b.experiments,"html5_min_secs_between_format_selections")); d.Lb=S(b,"html5_stop_overlapping_requests");d.xa=g.P(b.experiments,"html5_min_readbehind_secs");d.xB=g.P(b.experiments,"html5_min_readbehind_cap_secs");g.uz(b)&&(d.xa=g.P(b.experiments,"tvhtml5_min_readbehind_secs"));d.fj=S(b,"html5_append_init_while_paused");d.kd=g.P(b.experiments,"html5_max_readahead_bandwidth_cap");d.aa=S(b,"html5_disable_audio_append_cap");d.Bl=S(b,"html5_disable_non_contiguous");d.Ad=g.P(b.experiments,"html5_post_interrupt_readahead");d.Oc=S(b,"html5_log_quota_exceeded");d.I= g.P(b.experiments,"html5_subsegment_readahead_target_buffer_health_secs");d.Sb=g.P(b.experiments,"html5_subsegment_readahead_timeout_secs");d.xu=g.P(b.experiments,"html5_subsegment_readahead_min_buffer_health_secs");d.Rb=g.P(b.experiments,"html5_subsegment_readahead_min_buffer_health_secs_on_timeout");d.yu=g.P(b.experiments,"html5_subsegment_readahead_min_load_speed");d.mf=g.P(b.experiments,"html5_subsegment_readahead_load_speed_check_interval");d.zu=g.P(b.experiments,"html5_subsegment_readahead_seek_latency_fudge"); d.Mb=S(b,"html5_streaming_xhr_optimize_lengthless_mp4");d.Ca=S(b,"html5_peak_shave");d.Pt=S(b,"html5_peak_shave_always_include_sd");d.iu=S(b,"html5_restrict_streaming_xhr_on_sqless_requests");d.WA=g.P(b.experiments,"html5_max_headm_for_streaming_xhr");d.Qt=S(b,"html5_pipeline_manifestless_allow_nonstreaming");d.Wt=S(b,"html5_prefer_server_bwe3");d.Hh=1024*g.P(b.experiments,"html5_video_tbd_min_kb");d.Yt=S(b,"html5_probe_live_using_range");d.ou=S(b,"html5_streaming_xhr_buffer_mdat");d.lf=S(b,"html5_streaming_xhr_no_mp4_holdback_chunk"); d.Rm=S(b,"html5_last_slice_transition");d.Cl=S(b,"html5_disable_incomplete_incremental_parse_error");d.mu=S(b,"html5_store_xhr_headers_readable");d.om=g.P(b.experiments,"html5_incremental_parser_buffer_duration_secs");d.sm=g.P(b.experiments,"html5_incremental_parser_buffer_extra_bytes");d.Il=S(b,"html5_enable_packet_train_response_rate");var e=g.P(b.experiments,"html5_probe_secondary_during_timeout_miss_count");e&&(d.hf=e,d.Bu=1);d.Ia=g.P(b.experiments,"html5_probe_primary_delay_base_ms")||d.Ia;S(b, "html5_drm_start_from_null_constraint")&&(d.zl=!0);d.ld=S(b,"html5_no_placeholder_rollbacks");d.vu=S(b,"html5_subsegment_readahead_enable_mffa");d.Ea=S(b,"html5_platform_whitelisted_for_frame_accurate_seeks");d.jf=S(b,"html5_reattach_on_stuck");d.Eu=S(b,"html5_webm_init_skipping");d.ej=S(b,"html5_adaptation_fix");d.Ya=g.P(b.experiments,"html5_request_size_padding_secs")||d.Ya;d.ij=S(b,"html5_clamp_with_padding");d.Ry=S(b,"html5_log_timestamp_offset");d.Gl=S(b,"html5_disable_new_live_flags");d.Dl= S(b,"html5_disable_incremental_traf_timescale");d.El=S(b,"html5_disable_manifestless_sqless_sync");d.Hl=S(b,"html5_gapless_audio");d.aa=S(b,"html5_no_audio_append_cap");d.Wb=S(b,"html5_abs_buffer_health");d.Km=S(b,"html5_interruption_resets_seeked_time");d.jd=g.P(b.experiments,"html5_max_live_dvr_window_plus_margin_secs")||d.jd;d.Wf=S(b,"html5_use_streaming_xhr_abort_support");d.Sm=S(b,"html5_limit_adaptation_requests");d.Yb=S(b,"html5_explicitly_dispose_xhr");d.Al=S(b,"html5_delay_streaming_reads"); d.DB=S(b,"html5_gapless_no_requests_after_lock");S(b,"html5_media_common_config_killswitch")||(d.o=c.maxReadAheadMediaTimeMs/1E3||d.o,e=b.schedule,e.g.g()==e.policy.l?d.P=10:d.P=c.minReadAheadMediaTimeMs/1E3||d.P,d.Xb=c.readAheadGrowthRateMs/1E3||d.Xb);pr()&&(d.ab=!0);g.Bh&&(d.T=41943040);d.Z=!Px();g.uz(b)||!Px()?(e=b.experiments,d.u=8388608,d.B=524288,d.hj=5,d.ma=2097152,d.Y=1048576,d.eu=1.5,d.Ra=15,d.KB=!1,d.F=4587520,mr()&&(d.F=786432),d.i*=1.1,d.l*=1.1,d.Qa=!0,d.T=d.u,d.na=d.B,d.zd=g.O(e,"persist_disable_player_preload_on_tv")|| g.O(e,"persist_disable_player_preload_on_tv_for_living_room")||!1):b.g&&(d.i*=1.3,d.l*=1.3);g.qx&&hr("crkey")&&(e="CHROMECAST/ANCHOVY"==b.deviceParams.cmodel,d.u=20971520,d.B=1572864,e&&(d.F=812500,d.H=1E3,d.Du=5,d.Y=2097152));!S(b,"html5_disable_firefox_init_skipping")&&g.Vx&&(d.Qa=!0);if(NB(c)){d.Pl=!0;d.ju=!1;d.jb=S(b,"html5_shrink_live_timestamps");d.X=d.jb||S(b,"html5_manifestless_synchronized");if("ULTRALOW"==c.latencyClass||"LOW"==c.latencyClass&&!S(b,"html5_disable_low_pipeline"))d.kA=2,d.kB= 4;d.g=c.hasSubfragmentedFmp4;d.M=c.defraggedFromSubfragments}c.isAd()&&(d.wa=0,d.uc=0);PB(c)&&(d.R=!0);QB(c)&&(d.R=!0,d.D=!0);d.ga=S(b,"html5_enable_subsegment_readahead_v3")||S(b,"html5_ultra_low_latency_subsegment_readahead")&&"ULTRALOW"==c.latencyClass;d.iA=NB(c);d.oa=c.Hf;d.Nn=d.oa&&(/^rq[a-f]/.test(c.clientPlaybackNonce)||YB(c));/^pp/.test(c.clientPlaybackNonce)&&(d.XC=!0,d.cu=!0);vr()&&/(K\d{3}|KS\d{3}|KU\d{3})/.test(b.deviceParams.cmodel)&&!S(b,"html5_disable_move_pssh_to_moov")&&Yw(c.ia)&& (d.Qa=!1);Yw(c.ia)&&(d.jf=!1);if(c.sa){e=lx(c.ia);var f=g.P(b.experiments,"html5_live_abr_head_miss_fraction"),k=g.P(b.experiments,"html5_live_abr_repredict_fraction");f&&e&&(d.hd=Math.min(e*f,d.hd));k&&e&&(d.H=Math.min(1E3*e*k,d.H))}f=0;S(b,"html5_live_use_alternate_bandwidth_window_sizes")&&(f=b.schedule.policy.g,c.sa&&(f=g.P(b.experiments,"ULTRALOW"==c.latencyClass?"html5_live_ultra_low_latency_bandwidth_window":c.isLowLatencyLiveStream?"html5_live_low_latency_bandwidth_window":"html5_live_normal_latency_bandwidth_window")|| f));e=b.schedule;e.policy.u=NB(c)?.5:0;if(!e.policy.i&&f&&(e=e.g,f=Math.round(f*e.I),f!=e.l)){k=Array(f);var l=Math.min(f,e.A?e.l:e.o),m=e.o-l;0>m&&(m+=e.l);for(var n=0;na.O.endSeconds&&isFinite(b)&&(a.removeCueRange(a.P),a.P=null);ba.D.getDuration()&&Nx(a.D,c)):Nx(a.D,d);var e=a.l,f=a.D;WG(e);if(!f.g&&!f.i){var k=e.i.g.info.mimeType,l=e.o.g.info.mimeType,m=new Ix("fakesb"==l?new Uw:f.l.addSourceBuffer(l),nw(l)),n=new Ix("fakesb"==k?new Uw:f.l.addSourceBuffer(k),nw(k));f.g=m;f.i=n;g.B(f,m);g.B(f,n)}e.i.A=f.i;e.o.A=f.g;e.l=f;e.resume();Xs(f.g,e.xa,e);Xs(f.i, e.xa,e);e.g.Ry&&e.Dc("toff",""+f.g.supports(1),!0);e.Xe();a.N("mediasourceattached")}}catch(p){g.L(p,"WARNING"),a.lk(new g.xx("fmt.unplayable",!0,{msi:"1",ename:p.name}))}})}; hK=function(a){a.l?a.l.seek(a.getCurrentTime()-a.Ib()):dK(a)}; lja=function(a){return 403==a.details.rc?(a=a.errorCode,"net.badstatus"==a||"manifest.net.retryexhausted"==a):!1}; lK=function(a){return a.Ca||"yt"!=a.o.Y?!1:a.O.ce?10>a.O.cf:!a.O.cf}; mK=function(a){a.Ca||(a.Ca=!0,a.N("signatureexpired"))}; nK=function(a){return"net.retryexhausted"==a.errorCode||"net.badstatus"==a.errorCode&&!!a.details.fmt_unav}; mja=function(a,b){if(a.g&&("fmt.unplayable"==b.errorCode||"html5.invalidstate"==b.errorCode)){var c=a.g.We();b.details.merr=c?c.toString():"0";b.details.msg=a.g.nk()}}; jK=function(a,b,c){if(a.uc+3E4>(0,g.D)())return!a.O.ce&&(a.o.Z+=1,10c.g)&&2=k.i&&ef.u||(0,g.D)()-f.D=c.g.videoData.se&&(c.l&&c.g.videoData.se&&(e=eE(c,"delayplay"),e.Ca=!0,e.send(),c.R=!0),jE(c))),a.O.sa&&(0,g.D)()>a.kf+6283&&(!a.isAtLiveHead()||a.O.ia&&jx(a.O.ia)||(c=a.u,c.g&&(c=c.g,d=c.g.l(),e=g.VD(c.g),qI(c,e,d),d=d.A,isNaN(d)||g.nI(c,e,"e2el",[d.toFixed(3)]))),g.Ez(a.o)&&a.Ma("rawlat","l."+fD(a.X,"rawlivelatency").toFixed(3)),a.kf=(0,g.D)()),a.O.za&&rw(a.O.za)&&(c=AJ(a))&&c.videoHeight!=a.Yb&& (a.Yb=c.videoHeight,a.ra("html5_log_hls_video_height_change_as_format_change")&&a.O.Wd&&"auto"==a.O.Wd.xf.ua().quality&&a.O.Qf)))for(c=g.q(a.O.Qf),e=c.next();!e.done;e=c.next())if(e=e.value,e.getHeight()==a.Yb&&"auto"!=e.xf.ua().quality){MJ(a,"a",e.Od());break}Wia(a.R,a.F,a.g)&&aK(a);c=a.R;e=a.O.za;0>=g.P(c.g.experiments,"hfr_dropped_framerate_fallback_threshold")||!(e&&e.ua()&&32$D(c,8)||g.aE(c,1024))&&a.ea.stop(); !g.aE(c,8)||a.O.ce||g.T(c.state,1024)||a.ea.start();g.T(c.state,8)&&0>$D(c,16)&&!g.T(c.state,32)&&!g.T(c.state,2)&&a.playVideo();g.T(c.state,2)&&mC(a.O)&&(e=a.getCurrentTime(),a.O.lengthSeconds!=e&&(a.O.lengthSeconds=e,tJ(a)),qK(a,!0));g.aE(c,2)&&(a.Us(),uK(a));a.O.ia&&a.O.sa&&!a.mf&&(0>$D(c,8)?(e=a.O.ia,e.o&&e.o.stop()):g.aE(c,8)&&a.O.ia.resume());e=a.u;e.i&&(f=e.i,f.fa()||(g.T(c.state,2)?(f.u="paused",g.aE(c,2)&&f.l&&gE(f).send()):g.T(c.state,8)?(f.u="playing",f.l&&isNaN(f.A)&&dE(f,!1)):f.u="paused", f.o&&g.T(c.state,128)&&(f.B("error-100"),g.gq(f.o))));if(e.g){f=e.g;var k=c.state,l=g.VD(f.g),m=Yia(f,c.state);if(m!=f.l){if(!(l=f.I&&(f.g.A(),f.i.qoealert=["1"],f.aa=!0)}"B"!=m||"PL"!=f.l&&"PB"!=f.l||(f.H=!0);f.o=l}"B"==m&&"PL"==f.l||f.g.videoData.Hf?rI(f,l):g.nI(f,l,"cmt",[f.g.g().toFixed(3)]);g.nI(f,l,"vps",[m]);f.l=m;f.Y=l;f.o=l;f.D= !0}m=k.i;g.T(k,128)&&m&&tI(f,l,m.errorCode,m.jA);(g.T(k,2)||g.T(k,128))&&f.u(l);g.T(k,8)&&f.g.videoData.Ci&&!f.F&&(f.i.user_intent=[g.VD(f.g).toString()],f.F=!0);sI(f)}e.l&&(e=e.l,mI(e),e.i=c.state,!(g.aE(c,1024)||g.aE(c,2048)||g.aE(c,512)||g.aE(c,4))||0<=e.o||(e.l=-1,e.A.stop()),c.state.isError()&&e.u());if(d&&!a.fa())try{for(var p=g.q(a.tb),r=p.next();!r.done;r=p.next()){var v=r.value,z=a.H;c=v;if(z.started&&(z.i(),g.T(c.g,16))){c=z;var C=LG(c.g,Math.max(c.o-2E3,0));!isNaN(C)&&0x7ffffffffffff>C&& c.u.start()}a.N("statechange",v)}}finally{a.tb.length=0}}}; vK=function(a,b){g.T(a.i,128)||(yJ(a,UC(a.i,1028,9)),a.Ma("dompaused",b),a.N("onDompaused"))}; GJ=function(a){if(!a.g||!a.O.va)return!1;var b=null;a.O.va.g?(b=iK(a),a.l.resume()):(eJ(a),a.O.Wd&&(b=a.O.Wd.qk()));var c=b;var d=a.g.qn();b=!1;d&&null!=c&&c.g==d.g||(UB("vta",void 0,""),rB("vta"),0d&&(d=-(d+1));Vd(a,b,d);b.setAttribute("data-layer",c)}; g.YK=function(a){var b=g.X(a);if(!b.Qa)return!1;var c=a.getVideoData();if(!c||3==a.getPresentingPlayerType())return!1;var d=!c.isLiveDefaultBroadcast||g.O(b.experiments,"allow_poltergust_autoplay");d=c.sa&&(!g.O(b.experiments,"allow_live_autoplay")||!d);var e=!!a.getPlaylist();g.O(b.experiments,"player_allow_autonav_after_playlist")&&(e=(a=a.getPlaylist())&&a.hasNext());return!c.bj&&!d&&!g.$a(c.Fc,"ypc")&&!e}; ZK=function(a,b,c,d){g.X(a).F&&oja(a.app.T,b,c,d)}; g.$K=function(a,b){g.X(a).F&&a.app.T.click(b)}; g.aL=function(a,b,c){if(g.X(a).F&&(a=a.app.T,a.g.has(b),c?a.i.add(b):a.i["delete"](b),c&&!a.l.has(b))){c=g.Ct();var d=b.visualElement;c&&d&&g.mt(c,d);a.l.add(b)}}; bL=function(a,b){return g.X(a).F?a.app.T.g.has(b):!1}; g.eL=function(a,b){if(a.app.getPresentingPlayerType()==b){var c=a.app,d=g.U(c,b);d&&(d!=c.l?cL(c,c.l):dL(c))}}; gL=function(a,b,c){c=void 0===c?Infinity:c;b=void 0===b?-1:b;c=void 0===c?Infinity:c;fL(a.app.na,void 0===b?-1:b,c)}; pja=function(a){if(!a.ra("html5_inline_video_quality_survey"))return!1;var b=g.U(a.app);if(!b)return!1;var c=b.getVideoData();if(!c.za||!c.za.video||1080>c.za.video.Tb||c.Vw)return!1;var d=/^qsa/.test(c.clientPlaybackNonce),e="r";0<=c.za.id.indexOf(";")&&(d=/^[a-p]/.test(c.clientPlaybackNonce),e="x");a.ra("html5_inline_video_quality_survey_always")&&(d=!0,e="a");return d?(b.Ma("iqss",e,!0),!0):!1}; hL=function(a,b){document.requestStorageAccess().then(a,b)}; iL=function(a){return a.isTimeout?"NO_BID":"ERR_BID"}; qja=function(){var a=null;Nr().then(function(b){return a=b},function(b){return a=iL(b)}); return a}; rja=function(){var a=Hg(1E3,"NO_BID");return ug(xg(sg([Nr(),a]),iL),function(){return a.cancel()})}; jL=function(a){this.g=a;this.l=g.P(g.X(a).experiments,"bulleit_get_midroll_info_timeout_ms")||8E3;this.o=this.i=1}; lL=function(a,b,c,d){c=void 0===c?{}:c;var e=c.SC,f=c.Sc,k=void 0===c.bB?0:c.bB;d=void 0===d?"":d;c=a.g.getVideoData(1);var l={AD_BLOCK:a.i++,AD_BREAK_LENGTH:e?e.durationSecs:0,AUTONAV_STATE:g.X(a.g).Qa?hga()?3:2:1,CA_TYPE:"image",CPN:c.clientPlaybackNonce,DRIFT_FROM_HEAD_MS:1E3*kL(a.g.app),LACT:Cs(),LIVE_INDEX:e?a.o++:1,LIVE_TARGETING_CONTEXT:e&&e.context?e.context:"",MIDROLL_POS:f?Math.round(f.start/1E3):0,MIDROLL_POS_MS:f?Math.round(f.start):0,VIS:a.g.getVisibilityState(),TSLA:k,P_H:g.JK(a.g).getPlayerSize().height, P_W:g.JK(a.g).getPlayerSize().width},m=Rq(Qq);Object.keys(m).forEach(function(n){null!=m[n]&&(l[n.toUpperCase()]=m[n].toString())}); ""!==d&&(l.BISCOTTI_ID=d);d={abv:"45"};(e=g.X(a.g).xa)&&Pq(b)&&(d.forced_experiments=e);b=Mq(g.Bn(b,l),d);d=b.split("?");if(2!=d.length)return og(Error("Invalid AdBreakInfo URL"));e=g.q(d);d=e.next().value;f=e.next().value;e={};c.oauthToken&&Oq()&&(e.Authorization="Bearer "+c.oauthToken);if(f=(c=g.Hq(f))&&c.post_data)k=g.Hq(c.post_data),Object.assign(c,k),delete c.post_data;return f?Br(d,{Rv:!0,format:"RAW",headers:e,method:"POST",wb:c,timeout:a.l,withCredentials:!0}):Br(b,{Rv:!0,format:"RAW",headers:e, method:"GET",timeout:a.l,withCredentials:!0})}; g.mL=function(a){g.N.call(this);this.player=a;this.loaded=!1}; nL=function(a,b,c,d){this.o=a;this.g=null;this.l=b;this.i=0;this.A=void 0===c?!1:c;this.visible=!0;this.u=void 0===d?!1:d}; oL=function(a,b,c,d,e){g.qE.call(this,b.start,b.end,{id:d,namespace:"ad",priority:e,visible:c});this.l=a.kind||"AD_PLACEMENT_KIND_UNKNOWN";this.g=!1;this.o=null}; pL=function(a){return"AD_PLACEMENT_KIND_START"==a.l}; qL=function(a){return"AD_PLACEMENT_KIND_MILLISECONDS"==a.l}; sja=function(a){return a.end-a.start}; rL=function(a,b,c){c=void 0===c?!1:c;switch(a.kind){case "AD_PLACEMENT_KIND_START":return new g.Ci(-0x8000000000000,-0x8000000000000);case "AD_PLACEMENT_KIND_END":return c?new g.Ci(Math.max(0,b.o-b.i),0x7ffffffffffff):new g.Ci(0x7ffffffffffff,0x8000000000000);case "AD_PLACEMENT_KIND_MILLISECONDS":var d=a.adTimeOffset;a=parseInt(d.offsetStartMilliseconds,10);d=parseInt(d.offsetEndMilliseconds,10);-1===d&&(d=b.o);if(c&&(d=a,a=Math.max(0,a-b.i),a==d))break;return new g.Ci(a,d);case "AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED":return a= b.g,d=1E3*a.g,c?da.g||ka.g||(!c||f>c.maxBitrate?c=e:c&&f==c.maxBitrate&&kc.maxBitrate&&(c=e));return c}; BL=function(a,b){this.g=a;this.i=b.length;this.adBreakLengthSeconds=b.reduce(function(e,f){return e+f},0); for(var c=0,d=a+1;d=a.i}; FL=function(){this.g=[];this.l=null;this.o=!0;this.i=0}; GL=function(a,b){b&&a.g.push(b)}; HL=function(a){if(!a)return[];var b=[];a=g.q(a);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.loggingUrls){c=g.q(c.loggingUrls);for(var d=c.next();!d.done;d=c.next())b.push({baseUrl:d.value.baseUrl})}return b}; IL=function(a){if(!a)return[];var b=[];a.forEach(function(c){c.command.loggingUrls.forEach(function(d){b.push({baseUrl:d.baseUrl,offsetMilliseconds:c.adVideoOffset.milliseconds})})}); return b}; JL=function(a){return a&&a.adVideoOffset&&a.adVideoOffset.percent||0}; KL=function(a){return"AD_VIDEO_PROGRESS_KIND_PERCENT"==a.adVideoOffset.kind}; xja=function(a){a=a.playbackCommands;if(!a)return{};var b={};b.impression=HL(a.impressionCommands)||[];b.error=HL(a.errorCommands)||[];b.mute=HL(a.muteCommands)||[];b.unmute=HL(a.unmuteCommands)||[];b.pause=HL(a.pauseCommands)||[];b.rewind=HL(a.rewindCommands)||[];b.resume=HL(a.resumeCommands)||[];b.skip=HL(a.skipCommands)||[];b.close=HL(a.closeCommands)||[];b.clickthrough=HL(a.clickthroughCommands)||[];b.fullscreen=HL(a.fullscreenCommands)||[];b.active_view_viewable=HL(a.activeViewViewableCommands)|| [];b.active_view_measurable=HL(a.activeViewMeasurableCommands)||[];b.active_view_fully_viewable_audible_half_duration=HL(a.activeViewFullyViewableAudibleHalfDurationCommands)||[];b.end_fullscreen=HL(a.endFullscreenCommands)||[];b.channel_clickthrough=HL(a.channelClickthroughCommands)||[];b.abandon=HL(a.abandonCommands)||[];b.progress=IL(a.progressCommands.filter(function(c){return"AD_VIDEO_PROGRESS_KIND_MILLISECONDS"==c.adVideoOffset.kind})); b.start=IL(a.progressCommands.filter(function(c){return KL(c)&&1E-6>=Math.abs(JL(c)-0)})); b.first_quartile=IL(a.progressCommands.filter(function(c){return KL(c)&&1E-6>=Math.abs(JL(c)-.25)})); b.midpoint=IL(a.progressCommands.filter(function(c){return KL(c)&&1E-6>=Math.abs(JL(c)-.5)})); b.third_quartile=IL(a.progressCommands.filter(function(c){return KL(c)&&1E-6>=Math.abs(JL(c)-.75)})); b.complete=IL(a.progressCommands.filter(function(c){return KL(c)&&1E-6>=Math.abs(JL(c)-1)})); return b}; LL=function(a,b){b=void 0===b?!0:b;AL.call(this,a,xja(a));this.l=b;this.i=a.questions?a.questions.reduce(function(c,d){var e=d.instreamSurveyAdSingleSelectQuestionRenderer||d.instreamSurveyAdMultiSelectQuestionRenderer;return e?c+(e.surveyAdQuestionCommon.durationMilliseconds||0)/1E3:c},0):0}; ML=function(a,b,c,d){this.id=b;this.H=a.placementStartPings||[];this.F=a.placementEndPings||[];this.i=d.g;b=a.config&&a.config.adPlacementConfig;if(!b)throw Error("Malformed AdPlacementRenderer: missing AdPlacementConfig");var e=a.renderer&&a.renderer.adBreakServiceRenderer&&a.renderer.adBreakServiceRenderer||{};this.l=(this.o=e.getAdBreakUrl||"")?0:2;d.i=parseInt(e.prefetchMilliseconds,10)||0;d.visible=!b.hideCueRangeMarker;var f=rL(b,d);if(null==f)d=new oL(b,new g.Ci(-1,-1),!1,"adcuerange:invalid", 2),d.g=!0,d=[null,d];else{e=g.Ho(g.Go.getInstance());var k=d.A||d.g;f=new oL(b,f,d.visible&&!k,"adcuerange:"+e,2);k=null;if(d.g||0e?d:d.substr(0,e)))if(c&&(b.itct||b.ved)&&(b.csn=b.csn||g.Ct()),f){var f=parseInt(f,10);isFinite(f)&&0=d)throw Error("Timed out while waiting for GPT services");return Hg(200).then(function(){return c(d-1)})}}; a.g=ng().then(function(){return c(b)})}return a.g}; kM=function(a,b,c){var d=Hg(5E3).then(function(){throw Error("Timed out while waiting for GPT set companion");}),e=new jg(function(f,k){var l=hM(); if(l){var m=iM(l);if(m&&0!=m.length){var n={};n.slotId=m[0].slotId;n.adContent="
";n.adWidth=b;n.adHeight=c;n.friendlyIframeRendering=!1;n.onAdContentSet=function(p){var r=g.Ca(p.firstElementChild)?p.firstElementChild:Yd(p.firstChild);r||(r=g.Rd("div"),p.appendChild(r));a&&r.appendChild(a);f()}; (l=l.googleSetCompanionAdContents)?l([n]):k(Error("Missing googleSetCompanionAdContents API"))}else k(Error("No slots registered with GPT services"))}else k(Error("Failed to find GPT services"))}); return sg([e,d])}; jM=function(){var a=hM();if(!a)return!1;a=iM(a);return g.Ka(a)&&0!=a.length?null!=Cd(document,"google_companion_ad_div"):!1}; hM=function(){var a=Od();return g.w("googletag.cmd",a)?a:null}; iM=function(a){a=void 0!==a.googleGetCompanionAdSlots?Zp(a.googleGetCompanionAdSlots)():void 0;return void 0!==a&&0=c*a.o.Xt||d)&&FM(a,"first_quartile");(b>=c*a.o.pu||d)&&FM(a,"midpoint");(b>=c*a.o.wu||d)&&FM(a,"third_quartile")}; EM=function(a,b,c,d){if(null==a.A){if(cd||d>c)return;FM(a,b)}; BM=function(a,b,c){if(0f.i&&f.Jc()}}; pN=function(a,b){b.SLOT_POS="1";sL.call(this,"backfill-mpu-companion",a,b)}; qN=function(a,b,c,d,e){OM.call(this,a,b,c,d,e)}; rN=function(a,b,c,d,e){OM.call(this,a,b,c,d,e)}; sN=function(a,b){sL.call(this,"invideo-overlay",a,b)}; tN=function(a,b){sL.call(this,"invideo-overlay-as-cta",a,b)}; uN=function(a,b,c,d,e){OM.call(this,a,b,c,d,e);this.i=b}; vN=function(a,b){sL.call(this,"persisting-overlay",a,b)}; wN=function(a,b,c,d,e){OM.call(this,a,b,c,d,e);this.i=b}; xN=function(a){return a?g.yB(a):null}; yN=function(a){if(!a||!a.loggingUrls)return[];a=a.loggingUrls.map(function(b){return b.baseUrl}); return 0===a.length?[]:a}; pka=function(a){return a.cancelRenderer&&a.cancelRenderer.buttonRenderer?(a=a.cancelRenderer.buttonRenderer.serviceEndpoint)&&a.muteAdEndpoint?a:null:null}; zN=function(a){var b={};b.baseUrl=a;return{loggingUrls:[b],pingingEndpoint:{hack:!0}}}; qka=function(a,b,c,d,e,f){this.l=a;this.i=b;this.g=c;this.o=d;this.A=e;this.u=f}; uka=function(a,b,c){var d=rka();c&&(d.adNextParams=c);if(b.skipOrPreviewRenderer)switch(Object.keys(b.skipOrPreviewRenderer)[0]){case "skipAdRenderer":ska(a,d,b.skipOrPreviewRenderer.skipAdRenderer)}if(b.adInfoRenderer)switch(Object.keys(b.adInfoRenderer)[0]){case "adHoverTextButtonRenderer":tka(a,d,b.adInfoRenderer.adHoverTextButtonRenderer)}d.isBumper=EL(a.g)&&!d.isSkippable;d.isPostroll=a.g.isPostroll;a.g.isSkippable();b=a.g.u;c=a.g.getVideoUrl();b?d.videoId=b:c&&(d.videoUrl=c);if(b=(b=a.g.B)&& b.urlEndpoint)d.clickThroughUrl=b.url||"";d.sendAdsPing=function(e){a.u.send(e,a.i,{})}; return d}; ska=function(a,b,c){b.isSkippable=!0;b.skipTime=c.skipOffsetMilliseconds?Math.floor(c.skipOffsetMilliseconds/1E3):0;if(c.skippableRenderer)switch(Object.keys(c.skippableRenderer)[0]){case "skipButtonRenderer":var d=c.skippableRenderer.skipButtonRenderer;b.skip=function(){var e=d.adRendererCommands&&d.adRendererCommands.clickCommand;e&&g.O(g.X(a.A).experiments,"enable_on_skip_command_for_bulleit_living_room")?AN(a,e):a.o.bh()}; b.skipShown=function(){AN(a,d.adRendererCommands&&d.adRendererCommands.impressionCommand)}}}; tka=function(a,b,c){if(c.button&&c.button.buttonRenderer&&c.button.buttonRenderer.serviceEndpoint&&c.button.buttonRenderer.serviceEndpoint.adInfoDialogEndpoint){var d=c.button.buttonRenderer.serviceEndpoint.adInfoDialogEndpoint.dialog;d&&d.adInfoDialogRenderer&&(vka(a,b,d.adInfoDialogRenderer),b.whyThisAdInfo.menuTitle=xN(c.hoverText)||"",d.adInfoDialogRenderer.muteAdRenderer&&(c=d.adInfoDialogRenderer.muteAdRenderer.buttonRenderer)&&wka(a,b,c))}}; vka=function(a,b,c){var d=xN(c.confirmLabel)||"",e=xN(c.title)||"",f=c.adReasons?c.adReasons.map(function(k){return xN(k)||""}):[]; b.whyThisAdInfo={closeButton:d,menuTitle:"",targetingReasonHeader:e,targetingReasons:f,adSettingsLink:null,cancelButton:null,continueButton:null,controlText:null};b.whyThisAdClicked=function(){AN(a,c.impressionEndpoints)}; b.whyThisAdClosed=function(){AN(a,c.confirmServiceEndpoint)}}; wka=function(a,b,c){if(c.navigationEndpoint&&c.navigationEndpoint.adFeedbackEndpoint&&c.navigationEndpoint.adFeedbackEndpoint.content){var d=c.navigationEndpoint.adFeedbackEndpoint.content.adFeedbackRenderer;if(d){var e={goneText:"",questionText:"",undoText:"",hoverText:xN(c.text)||"",surveyOptions:[]};b.muteAdInfo=e;c=yN(c.navigationEndpoint);var f=zN(c[1]),k=[zN(c[0])];(c=pka(d))&&k.push(c);var l=!1;b.muteAdClicked=function(){l=!0;AN(a,f)}; b.muteAd=function(){l||AN(a,f);l=!1;AN(a,k)}; xka(b,d)}}}; xka=function(a,b){a.muteAdInfo.goneText=xN(b.title)||"";a.muteAdInfo.questionText=xN(b.reasonsTitle)||"";b.undoRenderer&&(a.muteAdInfo.undoText=xN(b.undoRenderer.buttonRenderer.text)||"");for(var c=a.muteAdInfo.surveyOptions,d=g.q(b.reasons||[]),e=d.next();!e.done;e=d.next()){var f=e.value;e=xN(f.reason)||"";f=yN(f.endpoint);c.push({label:e,url:f[0]})}}; AN=function(a,b){b&&(g.Ka(b)?b.forEach(function(c){return a.l.Ha(c,a.i)}):a.l.Ha(b,a.i))}; rka=function(){return{adNextParams:"",adSystem:0,attributionInfo:null,clickThroughUrl:"",isBumper:!1,isPostroll:!1,isSkippable:!1,muteAdInfo:null,skipTime:0,videoId:"",videoUrl:"",whyThisAdInfo:null,muteAd:function(){}, muteAdClicked:function(){}, sendAdsPing:function(){}, skip:function(){}, skipShown:function(){}, whyThisAdClicked:function(){}, whyThisAdClosed:function(){}}}; BN=function(a,b){sL.call(this,"pla-shelf",a,b)}; CN=function(a,b,c,d,e){OM.call(this,a,b,UL(c,{TRIGGER_TYPE:"YOUTUBE_SHELF_SHOW"}),d,e);this.i=b}; DN=function(a,b){sL.call(this,"shopping-companion",a,b)}; EN=function(a,b,c,d,e){OM.call(this,a,b,c,d,e)}; FN=function(a){sL.call(this,"survey",a);this.g=!1}; GN=function(a,b,c,d,e,f){OM.call(this,a,b,c,d,e,2);var k=this;this.o=b;this.i=null;this.ca=new g.Us;g.B(this,this.ca);g.O(g.X(this.ba).experiments,"enable_survey_termination_on_resize")&&this.ca.K(this.ba,"resize",function(){return k.Va()}); this.B=f}; HN=function(a,b){sL.call(this,"survey-interstitial",a,b)}; IN=function(a,b,c,d,e){OM.call(this,a,b,c,d,e,2);this.i=b}; JN=function(a){sL.call(this,"ad-text-interstitial",a)}; KN=function(a,b,c,d,e,f){OM.call(this,a,b,c,d,e);this.o=b;this.i=b.g.durationMilliseconds||0;this.Aa=null;this.B=f}; LN=function(a,b){g.A.call(this);this.o=Math.max(0,a);this.l=this.i=0;this.u=b;this.g=null}; MN=function(a){a.g&&(a.g.stop(),a.g.dispose(),a.g=null)}; NN=function(){sL.call(this,"ad-attribution-bar");this.adPodPositionInfoString=null;this.adPodPosition=0;this.adPodLength=1;this.adBreakLengthSeconds=0;this.adBadgeText=null;this.adBreakRemainingLengthSeconds=0;this.adVideoId=null}; ON=function(a){a=void 0===a?null:a;sL.call(this,"ad-channel-thumbnail");this.channelIconThumbnailUrl=a}; PN=function(a){a=void 0===a?null:a;sL.call(this,"ad-title");this.videoTitle=a}; QN=function(a){a=void 0===a?null:a;sL.call(this,"advertiser-name");this.channelName=a}; RN=function(a){sL.call(this,"player-overlay",a)}; SN=function(a){sL.call(this,"skip-button",a)}; TN=function(a){sL.call(this,"visit-advertiser",a);var b={};var c=a.text;a=a.navigationEndpoint;null!=c&&null!=c.runs&&null!=a?(b.runs=[g.bc(c.runs[0])],b.runs[0].navigationEndpoint=a):(b={text:"\uad11\uace0\uc8fc \uc0ac\uc774\ud2b8 \ubc29\ubb38"},a&&(b.navigationEndpoint=a),b={runs:[b]});this.visitAdvertiserLabel=b}; g.UN=function(a,b){var c={},d;for(d in b)c.Yo=b[d],a=a.replace(new RegExp("\\$"+d,"gi"),function(e){return function(){return e.Yo}}(c)),c={Yo:c.Yo}; return a}; VN=function(a,b,c,d,e,f,k,l,m){OM.call(this,a,b,c,d,e,1);var n=this;this.i=b;this.B=k;this.Z=g.O(g.X(a).experiments,"bulleit_use_video_end_cuerange_for_completion");this.T=g.O(g.X(a).experiments,"bulleit_publish_external_playback_events");this.M=new g.Us(this);g.B(this,this.M);this.D=new g.J(function(){n.Ob("load_timeout")},g.O(g.X(a).experiments,"use_variable_load_timeout")?g.P(g.X(a).experiments,"variable_load_timeout_ms"):1E4); g.B(this,this.D);this.o=null;g.O(g.X(a).experiments,"enable_bulleit_buffer_timer")&&(this.o=new LN(g.O(g.X(a).experiments,"use_variable_buffer_timeout")?g.P(g.X(a).experiments,"variable_buffer_timeout_ms"):15E3,function(){n.Ob("buffer_timeout")}),g.B(this,this.o)); this.X=!g.O(g.X(a).experiments,"bulleit_unstarted_event_killswitch");this.F=!1;this.Y=m(this);this.aa=f;this.I=l;this.P=!1}; WN=function(a){var b=new NN;b.adBadgeText="\uad11\uace0";var c=a.i.o;1=a.i.end||(a.i.end=b,a.N("Shortened the latest cuerange",b))}; dO=function(a){g.A.call(this);this.g=[];var b=a.subscribe("Shortened the latest cuerange",this.i,this);g.pf(this,function(){a.Mf(b)})}; eO=function(a){g.A.call(this);this.g=new dO(a.kM);g.B(this,this.g);this.i=new $N(a.UC)}; fO=function(){AL.apply(this,arguments)}; zka=function(a,b,c){this.l=a;this.g=b;this.i=c;this.o=a.getCurrentTime()}; Bka=function(a,b){var c=void 0===c?Date.now():c;if(a.i)for(var d=a.g.clientPlaybackNonce,e=g.q(b),f=e.next();!f.done;f=e.next()){f=f.value;var k=c;gO({cuepointTrigger:{type:"CUEPOINT_TYPE_AD",event:Aka(f.event),cuepointId:f.identifier,totalCueDurationMs:1E3*f.durationSecs,playheadTimeMs:f.i,cueStartTimeMs:1E3*f.g,cuepointReceivedTimeMs:k,contentCpn:d}});"unknown"===f.event&&hO("DAI_ERROR_TYPE_CUEPOINT_WITH_INVALID_EVENT",d);f=f.g+f.i/1E3;f>a.o&&a.l.getCurrentTime()>f&&hO("DAI_ERROR_TYPE_LATE_CUEPOINT", d)}}; Cka=function(a,b,c){a.i&&gO({daiStateTrigger:{totalCueDurationMs:b,filledAdsDurationMs:c,contentCpn:a.g.clientPlaybackNonce}})}; iO=function(a,b){a.i&&gO({driftRecoveryInfo:{contentCpn:a.g.clientPlaybackNonce,cueIdentifier:b.cueIdentifier||void 0,driftRecoveryMs:b.driftRecoveryMs.toString(),breakDurationMs:Math.round(b.wx-b.Oz).toString(),driftFromHeadMs:Math.round(1E3*kL(a.l.app)).toString()}})}; Dka=function(a,b){a.i&&gO({adTrimmingInfo:{contentCpn:a.g.clientPlaybackNonce,cueIdentifier:b.cueIdentifier||void 0,adMediaInfo:b.GC}})}; hO=function(a,b){gO({daiStateTrigger:{errorType:a,contentCpn:b}})}; gO=function(a){Ns("adsClientStateChange",a)}; Aka=function(a){switch(a){case "unknown":return"CUEPOINT_EVENT_UNKNOWN";case "start":return"CUEPOINT_EVENT_START";case "continue":return"CUEPOINT_EVENT_CONTINUE";case "stop":return"CUEPOINT_EVENT_STOP";case "predictStart":return"CUEPOINT_EVENT_PREDICT_START"}}; jO=function(a){this.i=a;this.aa=(a=!g.O(g.X(this.i).experiments,"html5_ad_csi_tracker_initialization_killswitch"))?g.X(this.i).deviceParams.c:g.Xp("INNERTUBE_CLIENT_NAME",void 0);this.Y=a?g.X(this.i).deviceParams.cver:g.Xp("INNERTUBE_CLIENT_VERSION",void 0);this.P=a?g.X(this.i).deviceParams.cbrand:"";this.T=a?g.X(this.i).deviceParams.cmodel:"";this.H="AD_PLACEMENT_KIND_UNKNOWN";this.u=this.F=this.B=this.A=null;this.g="unknown_type";this.I=!0;this.R=this.l=this.D=!1;this.M="vod";this.o=null}; kO=function(a){a.A=null;a.B=null;a.F=null;a.u=null;a.o=null;a.H="AD_PLACEMENT_KIND_UNKNOWN";a.g="unknown_type";a.D=!1;a.l=!1}; lO=function(a){a.l=!1;a=g.O(g.X(a.i).experiments,"ad_to_video_use_gel");jB("ad_to_video",["pbresume"],void 0,a)}; Eka=function(a){switch(a){case "AD_PLACEMENT_KIND_START":return"1";case "AD_PLACEMENT_KIND_MILLISECONDS":case "AD_PLACEMENT_KIND_COMMAND_TRIGGERED":case "AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED":return"2";case "AD_PLACEMENT_KIND_END":return"3";default:return"unknown"}}; mO=function(a){this.g=a}; nO=function(a){a=[a,a.o].filter(function(d){return!!d}); for(var b=g.q(a),c=b.next();!c.done;c=b.next())c.value.g=!0;return a}; oO=function(a,b){var c=a.g;g.dg(function(){g.SK(c.g,b,1);for(var d=g.q(b),e=d.next();!e.done;e=d.next())e=e.value,c.B["delete"](e),c.u["delete"](e)})}; pO=function(a,b,c,d,e,f,k,l){g.N.call(this);this.kc=a;this.ba=b;this.P=g.O(g.X(b).experiments,"bulleit_terminate_ad_when_ending_with_commands");this.g=d;this.u=this.g.g instanceof AL?this.g.g:null;this.i=null;this.I=!1;this.A=c;this.H=(a=b.getVideoData(1))&&a.sa||!1;this.M=0;this.T=!1;this.aa=g.O(g.X(b).experiments,"abort_ad_on_browser_autoplay_blocked");this.re=e;this.Nh=f;this.Xf=k;this.R=!1;this.ac=l}; qO=function(a){if(rM(a.ba)){var b=a.ba.getVideoData(2);(b=a.g.D[b.hc]||null)?(!a.i||a.i&&a.i.u!==b)&&a.Vb(b):a.yk()}else 1===a.ba.getPresentingPlayerType()&&a.i&&a.yk()}; rO=function(a){(a=a.baseUrl)&&g.xr(a,void 0,On.ir(a))}; sO=function(a,b){var c=a.A,d=a.g.ub().l,e=a.bw(),f=a.dw();var k=a.isLiveStream()?"live":"vod";kO(c);var l=c.i.getVideoData(1),m=c.i.getVideoData(2);l&&(c.A=l.clientPlaybackNonce,c.F=l.videoId);m&&(c.B=m.clientPlaybackNonce,c.u=m.videoId,c.o=m.adFormat);c.H=d;0>=f?kO(c):(c.g=c.I?b?"unknown_type":"video_to_ad":b?"ad_to_video":"ad_to_ad",c.M=k,c.R=e+1==f,c.D=!0,c.D&&(oE("c",c.aa,c.g),oE("cver",c.Y,c.g),g.O(g.X(c.i).experiments,"html5_ad_csi_tracker_initialization_killswitch")||(oE("cbrand",c.P,c.g), oE("cmodel",c.T,c.g)),oE("yt_pt","html5",c.g),oE("yt_pre","2",c.g),oE("yt_abt",Eka(c.H),c.g),c.A&&oE("cpn",c.A,c.g),c.F&&oE("docid",c.F,c.g),c.B&&oE("ad_cpn",c.B,c.g),c.u&&oE("ad_docid",c.u,c.g),oE("yt_vst",c.M,c.g),c.o&&oE("ad_at",c.o,c.g)))}; uO=function(a,b){b=void 0===b?!1:b;tO(a.kc,a.g.ub(),a);!b&&g.O(g.X(a.ba).experiments,"enable_client_monitoring_for_bulleit_adplacement_schedule")&&Os("ADS_CLIENT_EVENT_TYPE_ADPLACEMENT_SCHEDULED");a.ac&&!a.g.B&&(Fka(a,a.ew()),a.g.B=!0)}; Fka=function(a,b){for(var c=vO(a),d=a.g.ub().start,e=[],f=g.q(b),k=f.next();!k.done;k=f.next()){k=k.value;if(c<=d)break;var l=wO(k);e.push({jR:k.u,rR:(1E3*k.i).toString(),xR:l.toString()});l=d+l;var m=Math.min(l,c);if(!Gka(a,k,d,m)||l!==m)break;d=l}c=b.reduce(function(n,p){return n+wO(p)},0); Cka(a.re,sja(a.g.ub()),c);Dka(a.re,{cueIdentifier:a.g.i&&a.g.i.identifier,GC:e})}; wO=function(a){var b=1E3*a.i;return 0=c.g.length||c.g[a]>b?null:c.g[a]);return Math.min(b,null===c?Infinity:c)}; Gka=function(a,b,c,d){c=a.Xf.create(b,TL(RL(a.g))).Qv(c,d);if(!c)return!1;a.g.D[c]=b;return!0}; Hka=function(a){if(a.T)return function(c){c.seekTo(Infinity,!0)}; var b=Math.floor((0,g.D)()/1E3)-a.M;return function(c){c.seekTo(c.getCurrentTime()+b,!0)}}; xO=function(a,b,c,d){this.g=a;this.i=b;this.l=c;this.o=d}; Ika=function(a){return yO(a.renderer&&a.renderer.adBreakServiceRenderer&&a.renderer.adBreakServiceRenderer.getAdBreakUrl||"")}; yO=function(a){if(!a)return!1;a=fh(a,"post_data");if(!a)return!1;try{var b=decodeURIComponent(a)}catch(c){return g.L(c),!1}return b?b.split("&").some(function(c){c=c.split("=");return 1=a.B?a.o.g:a.o.g.slice(a.B)}; Uka=function(a){this.g=new xO(function(b){b=new pO(a.kc,a.ba,a.Hv(),b,a.re,a.Nh,a.Xf,a.ac);uO(b);return b},function(b){return new zO(a.kc,a.ba,a.BC,b,a.re)},function(b){var c=a.Bo(b.g); b=new dP(a.kc,a.ba,a.RC,b,a.bN,c,a.Tc);g.B(b,c);return b},function(b){b=new fP(a.kc,a.ba,a.Hv(),b,a.re,a.Nh,a.Xf,a.ac); uO(b);return b})}; jP=function(a,b,c,d){d=Vka(c,d);var e={C:"div"};d&&(e={C:"div",G:"image-companion",J:[{C:"img",L:{src:d.url,border:"0",style:"cursor:pointer;"}}]});AO.call(this,e,a,b);this.l=c;this.xc=new $O(a,b);g.B(this,this.xc);this.xc.g(this.element,0);this.l.adInfoRenderer&&this.l.adInfoRenderer.adHoverTextButtonRenderer?this.xc.init(Y("watch-ad-info-hover-button"),this.l.adInfoRenderer.adHoverTextButtonRenderer,{}):g.L(Error("ImageCompanionAdRenderer has no ad info renderer."));if(a=this.i["image-companion"])void 0!== d.width&&void 0!==d.height&&g.Rh(a,d.width,d.height),this.da("click",this.A,this),this.vf(c.impressionCommands)}; Vka=function(a,b){if(!a.image||!a.image.thumbnail)return null;var c=a.image.thumbnail;return null==c.thumbnails?null:g.Xa(c.thumbnails||[],function(d){return d.width==b.width&&d.height==b.height})}; kP=function(a){fO.call(this,a);this.i=(0,g.ge)((a.image&&a.image.thumbnail?a.image.thumbnail.thumbnails:null)||[],function(b){return new g.vd(b.width,b.height)})}; lP=function(a,b){FL.call(this);a.adStart&&a.adStart.adMessageRenderer&&GL(this,[new cN(a.adStart.adMessageRenderer)]);if(a.linearAds)for(var c=[],d=g.q(a.linearAds),e=d.next();!e.done;e=d.next())e=e.value,e.instreamVideoAdRenderer?(e=b(e.instreamVideoAdRenderer),GL(this,[e]),c.push(e.i)):e.adActionInterstitialRenderer?(e=new ZM(e.adActionInterstitialRenderer),GL(this,[e])):e.adIntroRenderer&&(e=new bN(e.adIntroRenderer),GL(this,[e]),this.i=1),this.g.filter(function(f){return f.some(function(k){return k instanceof CL})}).forEach(function(f,k){for(var l=g.q(f),m=l.next();!m.done;m=l.next())if(m=m.value,m instanceof CL){var n=new BL(k,c); m.o=n}})}; mP=function(a,b){FL.call(this);if(a.renderers){for(var c=[],d=g.q(a.renderers),e=d.next();!e.done;e=d.next())e=e.value,e.instreamVideoAdRenderer&&(e=b(e.instreamVideoAdRenderer),GL(this,[e]),c.push(e.i));this.g.forEach(function(f,k){for(var l=g.q(f),m=l.next();!m.done;m=l.next())if(m=m.value,m instanceof CL){var n=new BL(k,c);m.o=n}})}}; nP=function(a,b,c){FL.call(this);this.u=g.O(c,"use_full_player_survey_interstitial_on_web");c=a.persistingOverlay;var d=a.adVideoStart;c&&c.persistingAdOverlayRenderer?c=new gN(c.persistingAdOverlayRenderer):d&&d.surveyTextInterstitialRenderer&&!this.u?(this.o=!1,c=new jN(d.surveyTextInterstitialRenderer)):c=null;this.l=c;c=a.adVideoStart;null==c?c=null:c.adActionInterstitialRenderer?(this.i=1,c=[new ZM(c.adActionInterstitialRenderer)]):c=c.adTextInterstitialRenderer?[new kN(c.adTextInterstitialRenderer)]: c.adMessageRenderer?[new cN(c.adMessageRenderer)]:c.surveyTextInterstitialRenderer&&this.u?[new jN(c.surveyTextInterstitialRenderer)]:null;GL(this,c);a:{if(c=a.linearAd){if(c.instreamVideoAdRenderer){b=[b(c.instreamVideoAdRenderer)];break a}if(c.instreamSurveyAdRenderer){b=[new LL(c.instreamSurveyAdRenderer,!(this.l instanceof jN))];break a}}b=null}GL(this,b);(a=a.adVideoEnd)?a.adActionInterstitialRenderer?(this.i=1,a=[new ZM(a.adActionInterstitialRenderer)]):a=null:a=null;GL(this,a)}; oP=function(a,b){this.i=a;this.g=b}; Wka=function(a){var b=new WL(a.Np,a.experiments);return{oq:function(){return b}}}; pP=function(a){this.g=a}; qP=function(a,b,c,d){try{var e=b.renderer,f=b.config&&b.config.adPlacementConfig&&b.config.adPlacementConfig.kind,k=e?a.g.create(e,f):null;return new ML(b,c,k,d)}catch(l){g.L(l)}}; Xka=function(a){var b=new pP(a.CC);return{Zv:function(){return b}}}; rP=function(a){g.A.call(this);this.g=a;this.l=new jka(a.ba);this.i=new qM(a.ba);g.B(this,this.i)}; Yka=function(a){return function(){return new jO(a.g.ba)}}; sP=function(a){return function(b,c){return new xM(b,a.l,c,a.g.ba,a.i,a.g.Kk,a.g.ac)}}; tP=function(a){g.A.call(this);var b=this;this.i=a;this.g=null;g.pf(this,function(){return b.g=null}); var c=Ts(a);if(c){var d=function(){b.g&&b.g(!!Rs())}; this.i.addEventListener(c,d);g.pf(this,function(){b.i.removeEventListener(c,d)})}}; uP=function(a){g.A.call(this);this.g=a}; Zka=function(a){var b=window.document;return g.Ez(g.X(a))?new tP(b):new uP(a)}; vP=function(a){g.A.call(this);this.g=new zka(a.ba,a.Np,a.ac)}; $ka=function(a){this.o=a;a=g.X(a).experiments;this.l=g.O(a,"enable_html5_midroll_tsla_update")||g.O(a,"enable_html5_midroll_tsla_update_for_living_room");this.i=!1;this.g=-1}; wP=function(a){a.g=(0,g.D)()/1E3;if(!a.i||a.l)g.xr(g.X(a.o).B+"mac_204?action_fcts=1"),a.i=!0}; ala=function(a){return 0c.width||b.height>c.height}; dR=function(a,b,c){var d=g.bc(a.macros),e=g.Sh(b);d.AW={toString:function(){return e.width.toString()}}; d.AH={toString:function(){return e.height.toString()}}; var f=g.Ph(c,b).floor();d.I_X={toString:function(){return f.x.toString()}}; d.NX={toString:function(){return f.x.toString()}}; d.I_Y={toString:function(){return f.y.toString()}}; d.NY={toString:function(){return f.y.toString()}}; d.NM={toString:function(){return a.I.toString()}}; a.H.forEach(function(k){return a.ka.Ha(k,d)}); a.api.pauseVideo()}; hR=function(a,b){var c=a.api.getRootNode();g.I(c,"ytp-ad-overlay-open",b);g.I(c,"ytp-ad-overlay-closed",!b)}; iR=function(a,b,c){AQ.call(this,a,b,{C:"div",G:"ytp-ad-message-overlay",J:[{C:"div",G:"ytp-ad-message-slot"}]},"ad-message",c);var d=this;this.T=-1;this.X=this.i["ytp-ad-message-slot"];this.u=new g.tD({C:"span",G:"ytp-ad-message-container"});this.u.g(this.X);g.B(this,this.u);this.o=new EQ(this.api,this.ka,"ytp-ad-message-text");g.B(this,this.o);this.o.g(this.u.element);this.H=new g.GQ(this.u,400,!1,100,function(){return d.hide()}); g.B(this,this.H);this.B=0;this.I=!1;this.hide()}; jR=function(a,b){var c=a.api.getRootNode();g.I(c,"ytp-ad-overlay-open",b);g.I(c,"ytp-ad-overlay-closed",!b)}; kR=function(a,b,c,d){d=void 0===d?!1:d;Z.call(this,a,b,{C:"div",G:"ytp-ad-seek-ad-slot"},"seek-ad");this.I=null;this.T=0;this.u=this.A=this.l=this.o=null;this.B=c;g.B(this,this.B);this.H=null;this.X=!1;this.Z=d;this.hide()}; lR=function(a,b,c){AQ.call(this,a,b,{C:"div",G:"ytp-ad-skip-ad-slot"},"skip-ad",c);this.H=!1;this.B=0;this.u=this.o=null;this.hide()}; mR=function(a,b){a.H||(a.H=!0,a.o&&(b?a.o.H.hide():a.o.hide()),b?a.u.af():a.u.show())}; nR=function(a,b,c){Z.call(this,a,b,{C:"div",G:"ytp-ad-persisting-overlay",J:[{C:"div",G:"ytp-ad-persisting-overlay-skip"}]},"persisting-overlay");this.o=this.i["ytp-ad-persisting-overlay-skip"];this.l=c;g.B(this,this.l);this.hide()}; g.oR=function(a){var b=Math.abs(Math.floor(a)),c=Math.floor(b/86400),d=Math.floor(b%86400/3600),e=Math.floor(b%3600/60);b=Math.floor(b%60);var f="";0d&&(f+="0"));if(0e&&(f+="0");f+=e+":";10>b&&(f+="0");f+=b;return 0<=a?f:"-"+f}; g.pR=function(a){return(!g.Fa(a.button)||0==a.button)&&!a.shiftKey&&!a.altKey&&!a.metaKey&&!a.ctrlKey}; qR=function(a,b,c){AQ.call(this,a,b,{C:"span",G:"ytp-ad-duration-remaining"},"ad-duration-remaining",c);this.o=null;this.hide()}; rR=function(a,b){EQ.call(this,a,b,"ytp-video-ad-top-bar-title","ad-title")}; sR=function(a,b,c){AQ.call(this,a,b,{C:"div",W:["ytp-flyout-cta","ytp-flyout-cta-inactive"],J:[{C:"div",G:"ytp-flyout-cta-icon-container"},{C:"div",G:"ytp-flyout-cta-body",J:[{C:"div",G:"ytp-flyout-cta-text-container",J:[{C:"div",G:"ytp-flyout-cta-headline-container"},{C:"div",G:"ytp-flyout-cta-description-container"}]},{C:"div",G:"ytp-flyout-cta-action-button-container"}]}]},"flyout-cta",c);this.H=new TP(this.api,this.ka,"ytp-flyout-cta-icon");g.B(this,this.H);this.H.g(this.i["ytp-flyout-cta-icon-container"]); this.B=new EQ(this.api,this.ka,"ytp-flyout-cta-headline");g.B(this,this.B);this.B.g(this.i["ytp-flyout-cta-headline-container"]);this.u=new EQ(this.api,this.ka,"ytp-flyout-cta-description");g.B(this,this.u);this.u.g(this.i["ytp-flyout-cta-description-container"]);this.o=new zQ(this.api,this.ka,["ytp-flyout-cta-action-button"]);g.B(this,this.o);this.o.g(this.i["ytp-flyout-cta-action-button-container"]);this.I=null;this.T=0;this.hide()}; tR=function(a,b,c,d){c=void 0===c?[]:c;d=void 0===d?"toggle-button":d;var e=Y("ytp-ad-toggle-button-input");Z.call(this,a,b,{C:"div",W:["ytp-ad-toggle-button"].concat(c),J:[{C:"label",G:"ytp-ad-toggle-button-label",L:{"for":e},J:[{C:"span",G:"ytp-ad-toggle-button-icon",J:[{C:"span",G:"ytp-ad-toggle-button-untoggled-icon",V:"{{untoggledIconTemplateSpec}}"},{C:"span",G:"ytp-ad-toggle-button-toggled-icon",V:"{{toggledIconTemplateSpec}}"}]},{C:"input",G:"ytp-ad-toggle-button-input",L:{id:e,type:"checkbox"}}, {C:"span",G:"ytp-ad-toggle-button-text",V:"{{buttonText}}"},{C:"span",G:"ytp-ad-toggle-button-tooltip",V:"{{tooltipText}}"}]}]},d);this.u=this.i["ytp-ad-toggle-button"];this.l=this.i["ytp-ad-toggle-button-input"];this.X=this.i["ytp-ad-toggle-button-icon"];this.B=this.i["ytp-ad-toggle-button-untoggled-icon"];this.A=this.i["ytp-ad-toggle-button-toggled-icon"];this.T=this.i["ytp-ad-toggle-button-text"];this.o=null;this.H=!1;this.I=null;this.hide()}; uR=function(a){a.H&&(a.isToggled()?(g.Th(a.B,!1),g.Th(a.A,!0)):(g.Th(a.B,!0),g.Th(a.A,!1)))}; Qla=function(a,b){var c=null;a.o&&(c=(b?[a.o.defaultServiceEndpoint,a.o.defaultNavigationEndpoint]:[a.o.toggledServiceEndpoint]).filter(function(d){return null!=d})); return c||[]}; vR=function(a,b,c){Z.call(this,a,b,{C:"div",G:"ytp-ad-instream-user-sentiment-container"},"instream-user-sentiment",void 0===c?null:c);var d=this;this.l=null;this.u=new tR(this.api,this.ka,["ytp-ad-instream-user-sentiment-like-button"]);g.B(this,this.u);this.u.g(this.element);this.o=new tR(this.api,this.ka,["ytp-ad-instream-user-sentiment-dislike-button"]);g.B(this,this.o);this.o.g(this.element);this.A=new g.GQ(this,400,!1,500,function(){return d.hide()}); g.B(this,this.A);this.B=null;this.hide()}; Rla=function(a,b){a.u.init(Y("toggle-button"),a.l.likeButton.toggleButtonRenderer,b);a.o.init(Y("toggle-button"),a.l.dislikeButton.toggleButtonRenderer,b);a.B=a.K(a.element,"change",a.Ky)}; wR=function(a,b){zQ.call(this,a,b,["ytp-ad-visit-advertiser-button"],"visit-advertiser");this.u=null}; xR=function(a,b,c){c=void 0===c?!1:c;Z.call(this,a,b,{C:"span",G:"ytp-ad-simple-ad-badge"},"simple-ad-badge");this.l=c;this.hide()}; yR=function(a,b){this.i=a;this.g=b}; zR=function(a,b){return a.i+b*a.getLength()}; AR=function(a,b,c){if(!a.getLength())return null!=c?c:Infinity;a=(b-a.i)/a.getLength();return g.pd(a,0,1)}; BR=function(a,b){g.tD.call(this,{C:"div",G:"ytp-ad-persistent-progress-bar-container",J:[{C:"div",G:"ytp-ad-persistent-progress-bar"}]});this.u=a;this.o=b;g.B(this,this.o);this.D=this.i["ytp-ad-persistent-progress-bar"];this.l=-1;this.K(a,"presentingplayerstatechange",this.B);this.hide();this.B()}; DR=function(a,b,c){Z.call(this,a,b,{C:"div",G:"ytp-ad-player-overlay",J:[{C:"div",G:"ytp-ad-player-overlay-flyout-cta"},{C:"div",G:"ytp-ad-player-overlay-instream-info"},{C:"div",G:"ytp-ad-player-overlay-skip-or-preview"},{C:"div",G:"ytp-ad-player-overlay-progress-bar"},{C:"div",G:"ytp-ad-player-overlay-instream-user-sentiment"}]},"player-overlay");this.B=this.i["ytp-ad-player-overlay-flyout-cta"];this.o=this.i["ytp-ad-player-overlay-instream-info"];this.A=null;if(CR(this)){a=g.Qd("div");g.H(a,"ytp-ad-player-overlay-top-bar-gradients"); b=this.o;b.parentNode&&b.parentNode.insertBefore(a,b);if((b=this.api.getVideoData(2))&&b.he&&b.title){var d=new rR(this.api,this.ka);d.g(a);d.init(Y("ad-title"),{text:b.title},this.macros);g.B(this,d)}this.A=a}this.u=this.i["ytp-ad-player-overlay-skip-or-preview"];this.I=this.i["ytp-ad-player-overlay-progress-bar"];this.H=this.i["ytp-ad-player-overlay-instream-user-sentiment"];this.l=c;g.B(this,this.l);this.hide()}; CR=function(a){a=g.X(a.api);return Fz(a)&&a.g}; ER=function(a,b){Z.call(this,a,b,{C:"div",G:"ytp-ad-survey-answer"},"survey-answer");this.o=this.i["ytp-ad-survey-answer"];this.l=null;this.u="";this.hide()}; FR=function(a,b){Z.call(this,a,b,{C:"div",G:"ytp-ad-survey-none-of-the-above"},"survey-none-of-the-above");this.o=this.i["ytp-ad-survey-none-of-the-above"];this.l=null;this.hide()}; GR=function(a,b){zQ.call(this,a,b,["ytp-ad-survey-submit-button"],"survey-submit")}; HR=function(a,b,c){Z.call(this,a,b,{C:"div",G:"ytp-ad-survey-player-overlay",J:[{C:"div",G:"ytp-ad-survey-player-overlay-instream-info"},{C:"div",G:"ytp-ad-survey-player-overlay-skip-preview-submit",J:[{C:"div",G:"ytp-ad-survey-player-overlay-skip-or-preview"},{C:"div",G:"ytp-ad-survey-player-overlay-submit"}]},{C:"div",G:"ytp-ad-survey-player-overlay-instream-user-sentiment"}]},"survey-player-overlay");this.B=this.i["ytp-ad-survey-player-overlay-instream-info"];this.o={};this.H=this.i["ytp-ad-survey-player-overlay-skip-or-preview"]; this.l=null;this.I=this.i["ytp-ad-survey-player-overlay-submit"];this.u=null;this.A=c;g.B(this,this.A);this.hide()}; IR=function(a,b,c,d){Z.call(this,a,b,{C:"div",G:"ytp-ad-survey-question",J:[{C:"div",W:["ytp-ad-survey-question-text","ytp-ad-survey-question-foreground"]},{C:"div",W:["ytp-ad-survey-answers","ytp-ad-survey-question-foreground"]},{C:"div",W:["ytp-ad-survey-question-player-overlay","ytp-ad-survey-question-foreground"]},{C:"div",G:"ytp-ad-survey-question-background"}]},c);this.question=this.i["ytp-ad-survey-question"];this.ea=this.i["ytp-ad-survey-question-background"];this.T=this.i["ytp-ad-survey-question-text"]; this.answers=this.i["ytp-ad-survey-answers"];this.I=this.i["ytp-ad-survey-question-player-overlay"];this.B=null;this.u=[];this.l=null;this.A=(0,g.D)();this.Z=d}; JR=function(a,b,c){var d=new ER(a.api,a.ka);d.g(a.answers);d.init(Y("survey-answer"),b,c);a.u.push(d)}; KR=function(a,b){if(b){var c=b.background;c&&c.instreamSurveyAdBackgroundImageRenderer&&(c=(c=c.instreamSurveyAdBackgroundImageRenderer.image)&&SP(c)||"",g.wb(c)?g.$p(Error("Found ThumbnailDetails without valid image URL")):g.zh(a.ea,"backgroundImage","url("+c+")"));Sla(a,b)}else g.L(Error("addCommonComponents() needs to be called before starting countdown."))}; Sla=function(a,b){if(null==b.durationMilliseconds||void 0==b.durationMilliseconds||0==b.durationMilliseconds)g.L(Error("durationMilliseconds unset or 0 for SurveyAdQuestionCommon: "+JSON.stringify(b)));else{a.A=(0,g.D)();a.l=new OQ(b.durationMilliseconds,a.ka,a.Z);g.B(a,a.l);if(b.timeoutCommands){var c=b.timeoutCommands;a.l.subscribe("r",function(){c.forEach(function(e){return a.ka.Ha(e,a.macros)})})}if(a.l&&b.instreamAdPlayerOverlay&&b.instreamAdPlayerOverlay.instreamSurveyAdPlayerOverlayRenderer)try{var d= new HR(a.api,a.ka,a.l); d.g(a.I);d.init(Y("survey-player-overlay"),b.instreamAdPlayerOverlay.instreamSurveyAdPlayerOverlayRenderer,a.macros);a.B=d;g.B(a,d);a.lA()}catch(e){g.L(Error("ISAPOR had an error when initializing. Error: "+(e+" SurveyAdQuestionCommon: "+JSON.stringify(b))))}else g.L(Error("ISAPOR was not present in renderer. SurveyAdQuestionCommon: "+JSON.stringify(b)));a.l&&b.durationMilliseconds&&0a.Ba.length?0:-a.l*a.Ba[1].element.clientWidth)+"px");g.sD(a.u,0a.Ba.length?1:Math.round((a.element.clientWidth-a.Ba[0].element.clientWidth)/a.Ba[1].element.clientWidth)+1}; dS=function(){SO.call(this,!0);this.Cd=new aS}; eS=function(){SO.call(this,!1);this.i=new g.W({C:"div",G:"iv-btp-card",J:[{C:"a",G:"iv-btp-card-content",J:[{C:"div",V:"{{cards}}"}]}]});g.B(this,this.i);var a={C:"div",G:"iv-btp-card-merchant",J:[{C:"span",G:"iv-btp-card-merchant-text",V:"{{merchant}}"}]};this.o=new g.nD({C:"div",W:["iv-btp-small-card","yt-uix-hovercard-target"],L:{"data-position":"bottomright","data-orientation":"vertical"},J:[{C:"div",W:["iv-btp-card-image","yt-uix-hovercard-anchor"],V:"{{image}}"},{C:"div",G:"iv-btp-card-info", J:[{C:"span",G:"iv-btp-card-action",V:"{{price}}"},a]},{C:"div",W:["yt-uix-hovercard-content","iv-btp-hovercard"],V:"{{hovercard}}"}]});g.B(this,this.o);this.g=new g.nD({C:"div",G:"iv-btp-large-card",J:[{C:"div",G:"iv-btp-card-image",J:[{C:"span"},{C:"div",G:"iv-btp-card-image-aligned",V:"{{image}}"}]},{C:"div",G:"iv-btp-card-info",J:[{C:"div",G:"iv-btp-card-text-box",J:[{C:"div",G:"iv-btp-card-text-valign",J:[{C:"div",W:["yt-ui-ellipsis","yt-ui-ellipsis-4","iv-btp-card-headline"],V:"{{headline}}"}]}]}, {C:"span",G:"iv-btp-card-action",V:"{{price}}"},a,{C:"div",V:"{{review}}"}]}]});g.B(this,this.g);this.l=new g.nD({C:"div",G:"iv-btp-hovercard-text-box",J:[{C:"a",J:[{C:"div",W:["yt-ui-ellipsis","yt-ui-ellipsis-4","iv-btp-hovercard-headline"],V:"{{headline}}"}]},{C:"div",G:"iv-btp-hovercard-info",J:[{C:"span",G:"iv-btp-hovercard-action",V:"{{price}}"},a]},{C:"div",V:"{{review}}"}]});g.B(this,this.l);this.u=new g.nD({C:"div",G:"iv-btp-card-review",J:[{C:"div",G:"iv-btp-card-rating",J:[{C:"span",G:"iv-btp-card-rating-bg", J:[{C:"span",G:"iv-btp-card-rating-fg"}]}]},{C:"span",G:"iv-btp-card-reviews",V:"{{reviewText}}"}]});g.B(this,this.u);this.o.updateValue("hovercard",this.l);this.i.updateValue("cards",[this.o,this.g]);this.md()}; fS=function(a,b,c){c=c?RO(c):null;a.updateValue(b,c)}; gS=function(a,b){TO.call(this,a,b,function(){return new ema.gp}); this.g=null;this.md()}; hS=function(){SO.call(this,!0);this.g=new g.W({C:"div",G:"iv-btp-companion",J:[{C:"div",G:"iv-btp-block-clicks"},{C:"div",G:"iv-btp-attribution",J:[{C:"span",G:"iv-btp-title",V:"{{shopText}}"},{C:"div",G:"ad-info-container",J:[{C:"span",G:"iv-btp-sponsored",V:"{{sponsoredText}}"},{C:"button",G:"ad-info-icon"}]}]}]});g.B(this,this.g);this.l=this.g.i["iv-btp-block-clicks"];this.i=new TR;g.B(this,this.i);this.o=Yla(this.i,this.g.element);this.md()}; jS=function(a,b){TO.call(this,a,b,function(){return new iS.sC}); this.ca=new g.Us(this);g.B(this,this.ca);this.oh=[];this.Zd=null;this.Cd=new iS.bp;g.B(this,this.Cd);this.view.append(this.Cd);this.qe=new iS.NB(a,b,new CO(this.Hc().g.i["ad-info-icon"]));g.B(this,this.qe);this.qe.Ih(this.view);this.md()}; fma=function(a){var b=a.Hc();g.Th(b.l,!0);sg([a.Zd,Hg(1E3)]).then(function(){g.Th(b.l,!1)})}; kS=function(){SO.call(this,!0);var a=this;this.o=this.i=0;this.g=new g.W({C:"div",G:"iv-cards-slider",J:[{C:"div",G:"iv-cards-slider-body",J:[{C:"ul",G:"iv-cards-slider-list"}]},{C:"button",W:["iv-cards-slider-button","iv-cards-slider-prev"],L:{type:"button",onclick:";return false;"},J:[{C:"span",W:["iv-cards-slider-prev-icon","yt-sprite"]}]},{C:"button",W:["iv-cards-slider-button","iv-cards-slider-next"],L:{type:"button",onclick:";return false;"},J:[{C:"span",W:["iv-cards-slider-next-icon","yt-sprite"]}]}]}); this.B=g.Fd("iv-cards-slider-list",this.g.element);if(this.l=g.Fd("iv-cards-slider-prev",this.g.element))this.g.K(this.l,"click",function(){a.dispatchEvent({type:"prevbuttonclick"})}),g.Th(this.l,!1); (this.u=g.Fd("iv-cards-slider-next",this.g.element))&&this.g.K(this.u,"click",function(){a.dispatchEvent({type:"nextbuttonclick"})}); g.B(this,this.g)}; lS=function(a){a.B.style.left=125*-a.i+"px";a.l&&g.Th(a.l,0b;b++){var c=new g.W({C:"a",G:"ytp-suggestion-link",L:{href:"{{link}}",target:a.A,"aria-label":"{{aria_label}}"},J:[{C:"div",G:"ytp-suggestion-image",J:[{C:"div",L:{"data-is-live":"{{is_live}}"},G:"ytp-suggestion-duration",V:"{{duration}}"}]},{C:"div",G:"ytp-suggestion-title",L:{title:"{{hover_title}}"},V:"{{title}}"}, {C:"div",G:"ytp-suggestion-author",V:"{{views_or_author}}"}]});g.B(this,c);c.g(this.F.element);var d=c.i["ytp-suggestion-link"];g.zh(d,"transitionDelay",b/20+"s");this.Y.K(d,"click",g.Qa(this.kH,b));this.B.push(c)}this.H=new g.W({C:"button",W:["ytp-button","ytp-next"],L:{"aria-label":"\ub354 \ub9ce\uc740 \ucd94\ucc9c \ub3d9\uc601\uc0c1 \ubcf4\uae30"},J:[g.YP()]});g.B(this,this.H);this.H.g(this.element);this.H.da("click",this.iH,this);this.Y.K(this.o,"videodatachange",this.wy);LS(this,g.JK(this.o).getPlayerSize()); this.wy();this.show()}; LS=function(a,b,c){var d=g.X(a.o),e=16/9,f=650<=b.width,k=480>b.width||290>b.height,l=Math.min(a.l.length,a.B.length);if(150>=Math.min(b.width,b.height)||0==l||!d.Ea)a.hide();else{var m;if(f){var n=m=28;a.u=16}else n=m=8,a.u=8;if(k){var p=6;f=14;var r=12;k=24;d=12}else p=8,f=18,r=16,k=36,d=16;b=b.width-(48+m+n);m=Math.ceil(b/150);m=Math.min(3,m);m=b/m-a.u;n=Math.floor(m/e);n+100>c&&50m?a.hide():a.show();for(c=0;c< l;c++){e=a.B[c];var v=e.i["ytp-suggestion-image"];v.style.width=m+"px";v.style.height=n+"px";e.i["ytp-suggestion-title"].style.width=m+"px";e.i["ytp-suggestion-author"].style.width=m+"px";e=e.i["ytp-suggestion-duration"];e.style.display=e&&100>m?"none":""}l=f+p+r+4;a.P=l+d+(n-k)/2;a.F.element.style.height=n+l+"px";a.X=m;a.D=b;a.A=0;a.yy(0);NS(a)}}; OS=function(a,b){var c=g.pd(b,a.D-a.l.length*(a.X+a.u),0);a.ga.start(a.A,c,1E3);a.A=c;NS(a)}; NS=function(a){a.H.element.style.bottom=a.P+"px";a.I.element.style.bottom=a.P+"px";var b=a.A,c=a.D-a.l.length*(a.X+a.u);g.I(a.element,"ytp-scroll-min",0<=b);g.I(a.element,"ytp-scroll-max",b<=c)}; jma=function(a){for(var b=0;bb.width||290>b.height?(e={C:"div",W:["ytp-icon","ytp-icon-error-exclamation-small"]},f=xQ(),k=0):650<=b.width&&(e={C:"div",W:["ytp-icon","ytp-icon-error-exclamation-large"]},f=g.UP?{C:"div",W:["ytp-icon","ytp-icon-youtube-logo-redirect-extra-large"]}:{C:"svg",L:{fill:"#fff",height:"100%",viewBox:"0 0 24 24",width:"100%"},J:[{C:"path",L:{d:"M0 0h24v24H0V0z",fill:"none"}},{C:"path",L:{d:"M21.58 7.19c-.23-.86-.91-1.54-1.77-1.77C18.25 5 12 5 12 5s-6.25 0-7.81.42c-.86.23-1.54.91-1.77 1.77C2 8.75 2 12 2 12s0 3.25.42 4.81c.23.86.91 1.54 1.77 1.77C5.75 19 12 19 12 19s6.25 0 7.81-.42c.86-.23 1.54-.91 1.77-1.77C22 15.25 22 12 22 12s0-3.25-.42-4.81zM10 15V9l5.2 3-5.2 3z"}}]}, k=2);if(k!==a.D){e={"ytp-error-icon-container":e,"ytp-small-redirect":f};f=g.q(Object.keys(e));for(var l=f.next();!l.done;l=f.next()){l=l.value;var m=a.i[l];g.Ud(m);(new g.W(e[l])).g(m)}a.D=k}}c.style.paddingTop=(b.height-a.u.element.clientHeight)/2-d/2+"px"}; WS=function(a,b){if(a.o)try{b.call(a,a.o)}catch(c){a.o.dispose(),a.o=null}}; YS=function(a){a=a.split(kma);for(var b=[],c=0;cc):c&&d&&(a.l=new g.J(a.M,d,a),g.B(a,a.l),g.ae(g.Fd("ytp-paid-content-overlay-text",a.element),c))}; dT=function(a,b){a.l&&g.T(b,8)&&a.D&&(a.D=!1,a.A.show(),a.F=(0,g.D)(),a.l.start())}; fT=function(a){g.W.call(this,{C:"div",G:"ytp-spinner",J:[IS(),{C:"div",G:"ytp-spinner-message",V:"\uc7a0\uc2dc \ud6c4 \uc7ac\uc0dd\uc774 \uc2dc\uc791\ub418\uc9c0 \uc54a\uc73c\uba74 \uae30\uae30\ub97c \ub2e4\uc2dc \uc2dc\uc791\ud574 \ubcf4\uc138\uc694."}]});this.u=this.i["ytp-spinner-message"];this.o=a;this.l=new g.J(this.show,500,this);g.B(this,this.l);this.K(a,"presentingplayerstatechange",this.A);this.K(a,"onFrescaStateChange",this.B);this.K(a,"playbackstalledatstart",this.D);eT(this,g.IK(a))}; eT=function(a,b){if(g.T(b,128))var c=0;else!(c=g.T(b,16))&&(c=g.T(b,1))&&(c=g.EK(a.o).Uc,c=!(c&&c.loaded));c?a.l.start():a.hide()}; hT=function(a,b){g.W.call(this,{C:"button",W:["ytp-airplay-button","ytp-button"],L:{title:"AirPlay"},V:"{{icon}}"});this.l=a;this.da("click",this.u);this.K(a,"airplayactivechange",this.o);this.K(a,"airplayavailabilitychange",this.o);this.o();g.pf(this,gT(b.Za(),this.element))}; g.jT=function(a){g.tD.call(this,{C:"div",G:"ytp-gradient-bottom"});this.o=g.Rd("CANVAS");this.o.width=1;this.l=this.o.getContext("2d");this.u=NaN;this.A=g.iz(g.X(a));g.iT(this,g.JK(a).getPlayerSize().height)}; g.iT=function(a,b){if(a.l){var c=Math.floor(b*(a.A?1:.4));c=Math.max(c,47);var d=c+2;if(a.u!=d){a.u=d;a.o.height=d;a.l.clearRect(0,0,1,d);var e=a.l.createLinearGradient(0,2,0,2+c);if(a.A)e.addColorStop(.133,"rgba(0, 0, 0, 0.2)"),e.addColorStop(.44,"rgba(0, 0, 0, 0.243867)"),e.addColorStop(1,"rgba(0, 0, 0, 0.8)");else{var f=c-42;e.addColorStop(0,"rgba(0, 0, 0, 0)");e.addColorStop(f/c,"rgba(0, 0, 0, 0.3)");e.addColorStop(1,"rgba(0, 0, 0, 0.68)")}a.l.fillStyle=e;a.l.fillRect(0,2,1,c);a.element.style.height= d+"px";a.element.style.backgroundImage="url("+a.o.toDataURL()+")"}}}; kT=function(a,b,c,d,e){var f=b.es/b.rows,k=Math.min(c/(b.gs/b.columns),d/f),l=b.gs*k,m=b.es*k;l=Math.floor(l/b.columns)*b.columns;m=Math.floor(m/b.rows)*b.rows;var n=l/b.columns,p=m/b.rows,r=-b.column*n,v=-b.row*p;e&&45>=f&&(p-=1/k);n-=2/k;a=a.style;a.width=n+"px";a.height=p+"px";e||(d=(d-p)/2,c=(c-n)/2,a.marginTop=Math.floor(d)+"px",a.marginBottom=Math.ceil(d)+"px",a.marginLeft=Math.floor(c)+"px",a.marginRight=Math.ceil(c)+"px");a.background="url("+b.url+") "+r+"px "+v+"px/"+l+"px "+m+"px"}; g.lT=function(a){g.W.call(this,{C:"div",G:"ytp-storyboard-framepreview",J:[{C:"div",G:"ytp-storyboard-framepreview-img"}]});this.D=this.i["ytp-storyboard-framepreview-img"];this.l=a;this.xd=null;this.A=NaN;this.o=new g.Us(this);g.B(this,this.o);this.u=new g.GQ(this,100);g.B(this,this.u);this.K(this.l,"presentingplayerstatechange",this.F)}; mT=function(a,b){var c=!!a.xd;a.xd=b;a.xd?(c||(a.o.K(a.l,"videodatachange",function(){mT(a,a.l.de())}),a.o.K(a.l,"progresssync",a.H),a.o.K(a.l,"appresize",a.B)),a.A=NaN,nT(a),a.u.show(200)):(c&&g.Ws(a.o),a.u.hide(),a.u.stop())}; nT=function(a){var b=a.l.getCurrentTime(),c=g.JK(a.l).getPlayerSize(),d=zA(a.xd,c.width);b=EA(a.xd,d,b);b!=a.A&&(a.A=b,CA(a.xd,b,c.width),b=AA(a.xd,b,c.width),kT(a.D,b,c.width,c.height))}; oT=function(a,b){g.W.call(this,{C:"button",W:["ytp-fullerscreen-edu-button","ytp-button"],J:[{C:"div",W:["ytp-fullerscreen-edu-text"],V:"\uc2a4\ud06c\ub864\ud574\uc11c \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uae30"},{C:"div",W:["ytp-fullerscreen-edu-chevron"],J:[g.UP?{C:"div",W:["ytp-icon","ytp-icon-chevron-down"]}:{C:"svg",L:{height:"100%",viewBox:"0 0 24 24",width:"100%"},J:[{C:"path",L:{d:"M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z",fill:"#fff"}}]}]}]});ZK(a,this.element,this,61214); this.l=a;this.D=b;this.A=new g.GQ(this,250,void 0,100);g.B(this,this.A);this.B=this.u=!1;this.K(a,"fullscreentoggled",this.o);this.K(a,"presentingplayerstatechange",this.o);this.da("click",this.F);this.o()}; pT=function(a,b,c,d){d=void 0===d?!1:d;g.tD.call(this,b);this.X=a;this.ga=d;this.I=null;this.H=new g.Us(this);g.B(this,this.H);this.T=new g.GQ(this,c,!0,void 0,null,(0,g.x)(this.nD,this));g.B(this,this.T);this.l=null}; qT=function(a){a.l&&(document.activeElement&&g.$d(a.element,document.activeElement)&&(de(a.l),a.l.focus()),a.l.removeAttribute("aria-expanded"),a.l=null);g.Ws(a.H);a.I=null}; rT=function(a){return a.Fa()&&4!=a.T.g}; g.tT=function(a,b){g.W.call(this,{C:"button",W:["ytp-fullscreen-button","ytp-button"],L:{title:"{{title}}"},V:"{{icon}}"});this.o=a;this.B=b;this.l=null;this.u=gT(b.Za(),this.element);this.A=new g.J(this.NC,2E3,this);g.B(this,this.A);this.K(a,"fullscreentoggled",this.GA);this.K(a,"presentingplayerstatechange",this.qy);this.da("click",this.SG);if(Qs()){var c=g.JK(this.o);this.K(c,Oea(),this.hz);this.K(c,Ts(document),this.TG)}g.X(a).X||sT(this);this.qy();this.GA(a.isFullscreen())}; sT=function(a){if(!a.l){var b=(null!=es(["requestFullscreen","webkitRequestFullscreen","mozRequestFullScreen","msRequestFullscreen"],document.body)?"\uc804\uccb4 \ud654\uba74\uc744 \uc0ac\uc6a9\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4. $BEGIN_LINK\uc790\uc138\ud788 \uc54c\uc544\ubcf4\uae30$END_LINK":"\ube0c\ub77c\uc6b0\uc800\uc5d0\uc11c \uc804\uccb4 \ud654\uba74\uc744 \uc9c0\uc6d0\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4. $BEGIN_LINK\uc790\uc138\ud788 \uc54c\uc544\ubcf4\uae30$END_LINK").split(/\$(BEGIN|END)_LINK/); a.l=new pT(a.o,{C:"div",W:["ytp-popup","ytp-generic-popup"],L:{role:"alert",tabindex:"0"},J:[b[0],{C:"a",L:{href:"https://support.google.com/youtube/answer/6276924",target:g.X(a.o).A},V:b[2]},b[4]]},100,!0);a.l.hide();g.B(a,a.l);a.l.subscribe("show",(0,g.x)(a.B.Aj,a.B,a.l));g.XK(a.o,a.l.element,4);a.element.setAttribute("aria-disabled",!0);a.element.setAttribute("aria-haspopup",!0);(0,a.u)();a.u=null}}; uT=function(a,b){g.W.call(this,{C:"button",W:["ytp-miniplayer-button","ytp-button"],L:{title:"{{title}}"},J:[lQ()]});this.l=a;this.o=!1;this.da("click",this.A);this.K(a,"fullscreentoggled",this.u);this.updateValue("title",KS(a,"\uc18c\ud615 \ud50c\ub808\uc774\uc5b4","i"));g.pf(this,gT(b.Za(),this.element));ZK(a,this.element,this,62946);this.u()}; vT=function(a){var b={C:"div",G:"ytp-multicam-menu",L:{role:"dialog"},J:[{C:"div",G:"ytp-multicam-menu-header",J:[{C:"div",G:"ytp-multicam-menu-title",J:["\uce74\uba54\ub77c \uc804\ud658",{C:"button",W:["ytp-multicam-menu-close","ytp-button"],L:{"aria-label":"\ub2eb\uae30"},J:[g.bQ()]}]}]},{C:"div",G:"ytp-multicam-menu-items"}]};pT.call(this,a,b,250);this.A=new g.Us(this);g.B(this,this.A);this.K(this.i["ytp-multicam-menu-close"],"click",this.nb);this.o=a;this.Ba=this.i["ytp-multicam-menu-items"]; this.u=[];this.hide()}; wT=function(a,b,c){g.W.call(this,{C:"button",W:["ytp-multicam-button","ytp-button"],L:{title:"\uce74\uba54\ub77c \uc804\ud658","aria-haspopup":"true","data-preview":"{{preview}}","data-tooltip-text":"{{text}}"},J:[g.UP?{C:"div",W:["ytp-icon","ytp-icon-switch-camera"]}:{C:"svg",L:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{C:"path",Ga:!0,L:{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.B=a;this.u=!1;this.l=b.Za();this.A=new g.J(this.F,400,this);g.B(this,this.A);this.da("click",(0,g.x)(c.Ge,c,this.element,!1));this.K(a,"presentingplayerstatechange",g.Qa(this.o,!1));this.K(a,"videodatachange",this.D);this.o(!0);g.pf(this,gT(this.l,this.element))}; xT=function(){g.A.call(this);this.u=null;this.o=this.g=0;this.l=new g.Ao(this.i,null,this);g.B(this,this.l)}; yT=function(a,b){if("path"==b.C)return b.L.d;if(b.J)for(var c=0;cd?uQ():tQ(),d!=a.u&&(a.updateValue("icon",d),a.u=d);else{b=0==d?1:50.2*(a.D?60:40)){var k=c*(a.o.getLength()/60),l=d*(a.o.getLength()/60);for(k=Math.ceil(k);k=f;c--)g.Wd(e[c]);a.element.style.height=a.I+(a.D?8:5)+"px";a.N("height-change",a.I);a.zd.style.height=a.I+(a.D?20:13)+"px";for(var p in a.T)dU(a,p);eU(a);$T(a);UT(a,a.H,a.ea)}; cU=function(a){var b=a.Ra.x,c=a.A*a.X;b=g.pd(b,0,a.A);a.Rb.update(b,a.A,-a.M,-(c-a.M-a.A));return a.Rb}; UT=function(a,b,c){a.H=b;a.ea=c;var d=cU(a),e=a.o.g,f=zR(a.o,a.H);a.update({ariamin:Math.floor(a.o.i),ariamax:Math.floor(e),arianow:Math.floor(f),arianowtext:g.UN("$PLAY_PROGRESS/$DURATION",{PLAY_PROGRESS:g.oR(f),DURATION:g.oR(e)})});e=a.ga;f=a.Z;a.F&&2!=a.l.getPresentingPlayerType()&&(e=a.F.startTimeMs/1E3,f=a.F.endTimeMs/1E3);e=AR(a.o,e,0);var k=AR(a.o,f,1);f=g.pd(b,e,k);c=g.pd(c,e,k);g.zh(a.Ad,"transform","translateX("+(b*d.g+d.l)+"px)");fU(a,a.ld,d,e,f);fU(a,a.kd,d,e,c)}; gU=function(a,b,c){b=Math.max(c*b.g+b.l,0);a.style.left=b+"px";return b}; fU=function(a,b,c,d,e,f){f=void 0===f?!1:f;gU(b,c,d);d=g.pd((e-d)*c.g+c.l,0,c.width);f||g.X(a.l).g?b.style.width=d+"px":g.zh(b,"transform","scalex("+(c.width?d/c.width:0)+")")}; $T=function(a){var b=!!a.F&&2!=a.l.getPresentingPlayerType(),c=a.ga,d=a.Z;b&&a.F&&(c=a.F.startTimeMs/1E3,d=a.F.endTimeMs/1E3);var e=c>a.o.i,f=0d&&(e=!0);break}}c.style.display=e?"none":""}}; WT=function(a){var b=cU(a);fU(a,a.Sb,b,a.H,b.i);g.I(a.Sb,"ytp-hover-progress-light",b.i>a.H)}; dU=function(a,b){var c=a.T[b],d=a.ya[b],e=cU(a),f=AR(a.o,c.start/1E3,0),k=Eha(c,a.D),l=k/e.width;switch(c.style){case "ytp-chapter-marker":var m=f+l/2;f-=l/2;d.style.borderRadius=k+"px";break;default:m=AR(a.o,c.end/1E3,1),l!=Number.POSITIVE_INFINITY&&(f=g.pd(f,0,m-l)),m=Math.min(m,f+l)}c.color&&(d.style.background=c.color);fU(a,d,e,f,m,!0);(c=a.P[b])&&c.setAttribute("data-left",gU(c,e,f))}; hU=function(a,b){var c=b.getId();if(a.T[c]==b){g.Wd(a.ya[c]);delete a.T[c];delete a.ya[c];var d=a.P[c];d&&(g.Wd(d),delete a.P[c],c=a.na,d=g.ob(c,b,g.sE),0<=d&&g.bb(c,d))}}; ZT=function(a,b){b?a.B||(a.element.removeAttribute("aria-disabled"),a.B=new g.$s(a.Xb,!0),a.B.subscribe("hovermove",a.GK,a),a.B.subscribe("hoverend",a.FK,a),a.B.subscribe("dragstart",a.EK,a),a.B.subscribe("dragmove",a.IK,a),a.B.subscribe("dragend",a.HK,a),a.Wb=a.da("keydown",a.hH)):a.B&&(a.element.setAttribute("aria-disabled",!0),a.Na(a.Wb),a.B.cancel(),a.B.dispose(),a.B=null)}; g.iU=function(a){var b=2*a.A*g.Dz();return 1E3*a.o.getLength()/a.l.getPlaybackRate()/b}; jU=function(a,b){var c=g.wD({role:"menuitemcheckbox","aria-checked":"false"});g.vD.call(this,c,b,a,{C:"div",G:"ytp-menuitem-toggle-checkbox"});this.o=!1;this.da("click",this.I)}; kU=function(a,b){a.o=b;a.element.setAttribute("aria-checked",a.o)}; lU=function(a,b){jU.call(this,"\ud2b9\uc218\ud6a8\uacfc",5);this.A=b;this.u=a;this.l=!1;this.K(a,"videodatachange",this.B);this.K(a,"onApiChange",this.B);this.subscribe("select",this.D,this);this.B()}; mU=function(a,b,c,d,e){var f={C:"div",G:"ytp-panel"};if(c){var k="ytp-panel-title";var l={C:"div",G:"ytp-panel-header",J:[{C:"button",W:["ytp-button",k],J:[c]}]};if(e){var m="ytp-panel-options";l.J.push({C:"button",W:["ytp-button",m],J:[d]})}f.J=[l]}g.tD.call(this,f);this.X=b;b.g(this.element);this.ea=!1;c&&(this.K(this.i[k],"click",this.na),this.ea=!0,e&&this.K(this.i[m],"click",e));b.subscribe("size-change",this.ma,this);this.K(a,"fullscreentoggled",this.ma)}; g.nU=function(a,b,c,d,e){b=void 0===b?null:b;var f={role:"menu"};b&&(f.id=b);b=new g.tD({C:"div",G:"ytp-panel-menu",L:f});mU.call(this,a,b,c,d,e);this.D=b;g.B(this,this.D);this.Ba=[]}; g.oU=function(a,b,c){if(void 0===c?0:c)a.Ba.push(b),a.D.element.appendChild(b.element);else{c=g.ob(a.Ba,b,oma);if(0<=c)return;c=~c;g.kb(a.Ba,c,0,b);Vd(a.D.element,b.element,c)}b.subscribe("size-change",a.Z,a);a.D.N("size-change")}; g.pU=function(a,b){b.unsubscribe("size-change",a.Z,a);a.fa()||(g.cb(a.Ba,b),a.D.element.removeChild(b.element),a.D.N("size-change"))}; g.qU=function(a){for(var b=g.q(a.Ba),c=b.next();!c.done;c=b.next())c.value.unsubscribe("size-change",a.Z,a);a.Ba=[];g.Ud(a.D.element);a.D.N("size-change")}; oma=function(a,b){return b.priority-a.priority}; g.rU=function(a,b,c,d,e,f){var k=g.wD({"aria-haspopup":"true"});g.vD.call(this,k,b,a);this.o=d;this.H=!1;this.D=null;this.u={};this.F=new g.nU(c,void 0,a,e,f);g.B(this,this.F);this.da("keydown",this.lH);this.da("click",this.open)}; sU=function(a){if(a.D){var b=a.u[a.D];b.element.getAttribute("aria-checked");b.element.removeAttribute("aria-checked");a.D=null}}; g.tU=function(a,b){g.qU(a.F);for(var c={},d=!1,e=0;e=a.A.Ba.length&&a.hide();g.pU(a.A,b);GU(a.F,a.A.Ba.length)}; qma=function(a,b){a.F=b;a.element.id=b.element.getAttribute("aria-owns")}; cV=function(a,b,c){g.W.call(this,{C:"button",G:"ytp-button",L:{title:"TV\uc5d0\uc11c \uc7ac\uc0dd","aria-haspopup":"true"},V:"{{icon}}"});this.l=a;this.A=c;this.u=null;this.K(a,"onMdxReceiversChange",this.o);this.K(a,"presentingplayerstatechange",this.o);this.K(a,"appresize",this.o);this.o();this.da("click",this.B,this);g.pf(this,gT(b.Za(),this.element))}; dV=function(a,b){g.W.call(this,{C:"button",W:["ytp-size-button","ytp-button"],L:{title:"{{title}}"},V:"{{icon}}"});this.l=a;this.A=b.Za();this.u=null;this.B=new xT;g.B(this,this.B);this.K(a,"sizestylechange",this.o);this.K(a,"fullscreentoggled",this.o);this.K(a,"presentingplayerstatechange",this.o);this.o();this.da("click",this.D);g.pf(this,gT(this.A,this.element))}; eV=function(a,b){g.W.call(this,{C:"button",W:["ytp-subtitles-button","ytp-button"],L:{"aria-pressed":"{{pressed}}",title:KS(a,"\uc790\ub9c9","c")},J:[sQ()]});this.o=a;this.K(a,"videodatachange",this.l);this.K(a,"appresize",this.l);this.K(a,"onApiChange",this.l);this.K(a,"onCaptionsTrackListChanged",this.l);this.K(a,"captionschanged",this.l);this.l();this.da("click",this.u);g.pf(this,gT(b.Za(),this.element))}; g.gV=function(a,b){g.W.call(this,{C:"div",W:["ytp-time-display","notranslate"],J:[{C:"span",G:"ytp-time-current",V:"{{currenttime}}"},{C:"span",G:"ytp-time-separator",V:" / "},{C:"span",G:"ytp-time-duration",V:"{{duration}}"}]});this.l=new g.W({C:"button",W:["ytp-live-badge","ytp-button"],L:{disabled:"true"},V:"{{content}}"});this.l.ob("\uc2e4\uc2dc\uac04");g.B(this,this.l);this.l.g(this.element);this.u=a;this.I=b.Za();this.o=null;this.A=!1;this.F=null;this.H=!1;this.D=this.B=null;this.da("click", this.M);this.K(a,"presentingplayerstatechange",this.Nc);this.K(a,"appresize",this.Nc);this.K(a,"videodatachange",this.P);var c=a.getVideoData();c&&fV(this,c);this.Nc()}; fV=function(a,b){a.A=b.sa;a.H=b.isPremiere;g.I(a.element,"ytp-live",a.A)}; iV=function(a,b,c){g.W.call(this,{C:"div",G:"ytp-volume-panel",L:{role:"slider","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":"{{valuenow}}","aria-valuetext":"{{valuetext}}",tabindex:"0"},J:[{C:"div",G:"ytp-volume-slider",J:[{C:"div",G:"ytp-volume-slider-handle"}]}]});this.l=a;this.D=b;this.P=c;this.I=!1;this.F=b.ec();this.Y=this.A=0;this.T=this.i["ytp-volume-slider"];this.X=this.i["ytp-volume-slider-handle"];this.H=new g.$s(this.T,!0);g.B(this,this.H);this.H.subscribe("dragstart",this.wL, this);this.H.subscribe("dragmove",this.vL,this);this.H.subscribe("dragend",this.tL,this);this.M=null;this.o=this.u=this.B=!1;this.K(a,"onVolumeChange",this.BH);this.K(a,"appresize",this.jc);this.K(a,"fullscreentoggled",this.yH);this.K(a,"onShowControls",this.jv);this.K(a,"onHideControls",this.jv);this.K(this.element,"keydown",this.yL);this.K(this.element,"focus",g.Qa(this.Gy,!0));this.K(this.element,"blur",g.Qa(this.Gy,!1));this.jc(g.JK(a).getPlayerSize());hV(this,a.getVolume(),a.isMuted())}; hV=function(a,b,c){var d=Math.floor(b),e=d+"% \ubcfc\ub968"+(c?" \uc74c\uc18c\uac70\ub428":"");c=c?0:b/100;a.updateValue("valuenow",d);a.updateValue("valuetext",e);a.X.style.left=(a.F?60:40)*c+"px";a.A=b}; jV=function(a,b,c,d,e){var f=a.u||a.B||a.o||a.I;a.u=b;a.B=c;a.o=d;a.I=e;b=a.u||a.B||a.o||a.I;f!=b&&(b?a.M=a.K(a.element,"wheel",a.zH):(a.Na(a.M),a.M=null),g.I(a.P,"ytp-volume-slider-active",b))}; g.kV=function(a,b){var c=g.X(a),d=Az(c);0==d.indexOf("www.")&&(d=d.substring(4));var e=["ytp-youtube-button","ytp-button","yt-uix-sessionlink"],f=g.iz(c);f&&e.push("ytp-youtube-music-button");g.W.call(this,{C:"a",W:e,L:{href:"{{url}}",target:c.A,title:g.UN("$WEBSITE\uc5d0\uc11c \ubcf4\uae30",{WEBSITE:d}),"data-sessionlink":"feature=player-button"},J:[f?g.UP?{C:"div",W:["ytp-icon","ytp-icon-youtube-music-logo"]}:{C:"svg",L:{viewBox:"0 0 77 20"},J:[{C:"g",L:{fill:"none"},J:[{C:"path",L:{d:"M27.71 3.30a3.53 3.53 0 0 0-2.49-2.49c-2.19-.59-11.00-.59-11.00-.59s-8.81 0-11.00.59A3.53 3.53 0 0 0 .71 3.30c-.59 2.20-.59 6.8-.59 6.8s0 4.59.59 6.8a3.53 3.53 0 0 0 2.49 2.49c2.19.59 11.00.59 11.00.59s8.81 0 11.00-.59a3.53 3.53 0 0 0 2.49-2.49c.59-2.20.59-6.8.59-6.8s-.00-4.59-.59-6.8z", fill:"red"}},{C:"path",L:{d:"M11.39 14.34l7.32-4.23-7.32-4.24zM40.69 7.88c-.50 2.56-.88 5.69-1.08 6.98h-.14c-.16-1.33-.54-4.44-1.06-6.97l-1.29-6.28h-3.92v16.95h2.43V4.60l.24 1.30 2.47 12.66h2.43L43.21 5.91l.26-1.31v13.97h2.43V1.62h-3.96L40.7 7.88zm11.80 8.14c-.22.46-.70.78-1.19.78-.56 0-.78-.44-.78-1.53V6.19h-2.78v9.25c0 2.28.74 3.33 2.39 3.33 1.12 0 2.03-.50 2.66-1.71h.06l.24 1.51h2.17V6.19h-2.78v9.84h.00zm8.15-4.94c-.90-.66-1.47-1.11-1.47-2.08 0-.68.32-1.07 1.08-1.07.78 0 1.04.54 1.06 2.40l2.33-.1c.18-3.01-.80-4.26-3.36-4.26-2.37 0-3.54 1.07-3.54 3.27 0 2 .96 2.91 2.53 4.1 1.35 1.05 2.13 1.63 2.13 2.48 0 .64-.40 1.09-1.10 1.09-.82 0-1.31-.78-1.18-2.16l-2.35.04c-.36 2.56.66 4.06 3.40 4.06 2.39 0 3.64-1.11 3.64-3.33.00-2.02-1.00-2.82-3.18-4.44zm4.71-4.88h2.66v12.38h-2.66zm1.35-4.88c-1.02 0-1.51.38-1.51 1.71 0 1.37.48 1.71 1.51 1.71 1.04 0 1.51-.34 1.51-1.71 0-1.27-.46-1.71-1.51-1.71zm10.25 12.80l-2.43-.12c0 2.18-.24 2.88-1.06 2.88s-.96-.78-.96-3.35V11.12c0-2.48.16-3.27.98-3.27.76 0 .96.74.96 3.05l2.41-.16c.16-1.92-.08-3.23-.82-3.98-.54-.54-1.37-.80-2.51-.80-2.7 0-3.80 1.45-3.80 5.53v1.73c0 4.20.94 5.55 3.70 5.55 1.17 0 1.97-.24 2.51-.76.78-.73 1.08-1.98 1.02-3.90z", fill:"#fff"}}]}]}:g.UP?{C:"div",W:["ytp-icon","ytp-icon-logo"]}:{C:"svg",L:{height:"100%",version:"1.1",viewBox:"0 0 67 36",width:"100%"},J:[{C:"path",Ga:!0,G:"ytp-svg-fill",L:{d:"M 45.09 10 L 45.09 25.82 L 47.16 25.82 L 47.41 24.76 L 47.47 24.76 C 47.66 25.14 47.94 25.44 48.33 25.66 C 48.72 25.88 49.16 25.99 49.63 25.99 C 50.48 25.99 51.1 25.60 51.5 24.82 C 51.9 24.04 52.09 22.82 52.09 21.16 L 52.09 19.40 C 52.12 18.13 52.05 17.15 51.90 16.44 C 51.75 15.74 51.50 15.23 51.16 14.91 C 50.82 14.59 50.34 14.44 49.75 14.44 C 49.29 14.44 48.87 14.57 48.47 14.83 C 48.27 14.96 48.09 15.11 47.93 15.29 C 47.78 15.46 47.64 15.65 47.53 15.86 L 47.51 15.86 L 47.51 10 L 45.09 10 z M 8.10 10.56 L 10.96 20.86 L 10.96 25.82 L 13.42 25.82 L 13.42 20.86 L 16.32 10.56 L 13.83 10.56 L 12.78 15.25 C 12.49 16.62 12.31 17.59 12.23 18.17 L 12.16 18.17 C 12.04 17.35 11.84 16.38 11.59 15.23 L 10.59 10.56 L 8.10 10.56 z M 30.10 10.56 L 30.10 12.58 L 32.59 12.58 L 32.59 25.82 L 35.06 25.82 L 35.06 12.58 L 37.55 12.58 L 37.55 10.56 L 30.10 10.56 z M 19.21 14.46 C 18.37 14.46 17.69 14.63 17.17 14.96 C 16.65 15.29 16.27 15.82 16.03 16.55 C 15.79 17.28 15.67 18.23 15.67 19.43 L 15.67 21.06 C 15.67 22.24 15.79 23.19 16 23.91 C 16.21 24.62 16.57 25.15 17.07 25.49 C 17.58 25.83 18.27 26 19.15 26 C 20.02 26 20.69 25.83 21.19 25.5 C 21.69 25.17 22.06 24.63 22.28 23.91 C 22.51 23.19 22.63 22.25 22.63 21.06 L 22.63 19.43 C 22.63 18.23 22.50 17.28 22.27 16.56 C 22.04 15.84 21.68 15.31 21.18 14.97 C 20.68 14.63 20.03 14.46 19.21 14.46 z M 56.64 14.47 C 55.39 14.47 54.51 14.84 53.99 15.61 C 53.48 16.38 53.22 17.60 53.22 19.27 L 53.22 21.23 C 53.22 22.85 53.47 24.05 53.97 24.83 C 54.34 25.40 54.92 25.77 55.71 25.91 C 55.97 25.96 56.26 25.99 56.57 25.99 C 57.60 25.99 58.40 25.74 58.96 25.23 C 59.53 24.72 59.81 23.94 59.81 22.91 C 59.81 22.74 59.79 22.61 59.78 22.51 L 57.63 22.39 C 57.62 23.06 57.54 23.54 57.40 23.83 C 57.26 24.12 57.01 24.27 56.63 24.27 C 56.35 24.27 56.13 24.18 56.00 24.02 C 55.87 23.86 55.79 23.61 55.75 23.25 C 55.71 22.89 55.68 22.36 55.68 21.64 L 55.68 21.08 L 59.86 21.08 L 59.86 19.16 C 59.86 17.99 59.77 17.08 59.58 16.41 C 59.39 15.75 59.07 15.25 58.61 14.93 C 58.15 14.62 57.50 14.47 56.64 14.47 z M 23.92 14.67 L 23.92 23.00 C 23.92 24.03 24.11 24.79 24.46 25.27 C 24.82 25.76 25.35 26.00 26.09 26.00 C 27.16 26.00 27.97 25.49 28.5 24.46 L 28.55 24.46 L 28.76 25.82 L 30.73 25.82 L 30.73 14.67 L 28.23 14.67 L 28.23 23.52 C 28.13 23.73 27.97 23.90 27.77 24.03 C 27.57 24.16 27.37 24.24 27.15 24.24 C 26.89 24.24 26.70 24.12 26.59 23.91 C 26.48 23.70 26.43 23.35 26.43 22.85 L 26.43 14.67 L 23.92 14.67 z M 36.80 14.67 L 36.80 23.00 C 36.80 24.03 36.98 24.79 37.33 25.27 C 37.60 25.64 37.97 25.87 38.45 25.96 C 38.61 25.99 38.78 26.00 38.97 26.00 C 40.04 26.00 40.83 25.49 41.36 24.46 L 41.41 24.46 L 41.64 25.82 L 43.59 25.82 L 43.59 14.67 L 41.09 14.67 L 41.09 23.52 C 40.99 23.73 40.85 23.90 40.65 24.03 C 40.45 24.16 40.23 24.24 40.01 24.24 C 39.75 24.24 39.58 24.12 39.47 23.91 C 39.36 23.70 39.31 23.35 39.31 22.85 L 39.31 14.67 L 36.80 14.67 z M 56.61 16.15 C 56.88 16.15 57.08 16.23 57.21 16.38 C 57.33 16.53 57.42 16.79 57.47 17.16 C 57.52 17.53 57.53 18.06 57.53 18.78 L 57.53 19.58 L 55.69 19.58 L 55.69 18.78 C 55.69 18.05 55.71 17.52 55.75 17.16 C 55.79 16.81 55.87 16.55 56.00 16.39 C 56.13 16.23 56.32 16.15 56.61 16.15 z M 19.15 16.19 C 19.50 16.19 19.75 16.38 19.89 16.75 C 20.03 17.12 20.09 17.7 20.09 18.5 L 20.09 21.97 C 20.09 22.79 20.03 23.39 19.89 23.75 C 19.75 24.11 19.51 24.29 19.15 24.30 C 18.80 24.30 18.54 24.11 18.41 23.75 C 18.28 23.39 18.22 22.79 18.22 21.97 L 18.22 18.5 C 18.22 17.7 18.28 17.12 18.42 16.75 C 18.56 16.38 18.81 16.19 19.15 16.19 z M 48.63 16.22 C 48.88 16.22 49.08 16.31 49.22 16.51 C 49.36 16.71 49.45 17.05 49.50 17.52 C 49.55 17.99 49.58 18.68 49.58 19.55 L 49.58 21 L 49.59 21 C 49.59 21.81 49.57 22.45 49.5 22.91 C 49.43 23.37 49.32 23.70 49.16 23.89 C 49.00 24.08 48.78 24.17 48.51 24.17 C 48.30 24.17 48.11 24.12 47.94 24.02 C 47.76 23.92 47.62 23.78 47.51 23.58 L 47.51 17.25 C 47.59 16.95 47.75 16.70 47.96 16.50 C 48.17 16.31 48.39 16.22 48.63 16.22 z "}}]}]}); this.l=a;this.o=!1;ZK(a,this.element,this,28666);this.da("click",this.A);this.K(a,"videodatachange",this.u);this.u();g.pf(this,gT(b.Za(),this.element))}; lV=function(a,b,c){g.Us.call(this);var d=this,e=g.X(a);this.l=a;this.o=b;this.oa=NaN;this.ga=null;this.M=c;this.M.subscribe("autohideupdate",this.Cy,this);c=!g.IK(a).isCued();var f;g.iz(e)||g.O(g.X(a).experiments,"html5_player_dynamic_bottom_gradient")?this.ea=f=new g.jT(a):f=new g.W({C:"div",G:"ytp-gradient-bottom"});g.B(this,f);g.XK(a,f.element,8);this.aa=new g.GQ(f,250,c,100);g.B(this,this.aa);this.i=new g.W({C:"div",G:"ytp-chrome-bottom",J:[{C:"div",G:"ytp-chrome-controls"}]});g.B(this,this.i); g.XK(a,this.i.element,8);this.T=new g.GQ(this.i,250,c,100);g.B(this,this.T);this.Y=this.i.element.children[0];this.g=new ZU(a);g.pf(this.g,function(){a.H==d.g&&(a.H=null)}); g.B(this,this.g);a.H=this.g;g.XK(a,this.g.element,6);this.g.subscribe("show",this.qN,this);this.g.subscribe("show",(0,g.x)(b.it,b,this.g));this.B=new g.TT(a,b);g.B(this,this.B);this.B.g(this.i.element,0);c=new g.lT(a);g.B(this,c);g.XK(a,c.element,4);c=new g.nD({C:"div",G:"ytp-left-controls"});g.B(this,c);c.g(this.Y);f=new g.NT(a,b,!1);g.B(this,f);f.g(c.element);e.R||(f=new g.KT(a,b),g.B(this,f),f.g(c.element));f=new g.NT(a,b,!0);g.B(this,f);f.g(c.element);var k=new g.W({C:"span"});g.B(this,k);k.g(c.element); if(!e.ea&&(this.A=new ET(a,b),g.B(this,this.A),this.A.g(k.element),e.M)){f=new iV(a,b,this.i.element);g.B(this,f);f.g(k.element);k=new g.$s(k.element);g.B(this,k);var l=(0,g.x)(f.HA,f,!0);k.subscribe("hoverstart",l);k=new g.$s(c.element);g.B(this,k);f=(0,g.x)(f.HA,f,!1);k.subscribe("hoverend",f)}this.X=new g.gV(a,b);g.B(this,this.X);this.X.g(c.element);c=new g.nD({C:"div",G:"ytp-right-controls"});g.B(this,c);c.g(this.Y);this.I=null;g.O(e.experiments,"external_fullscreen_with_edu")&&e.externalFullscreen&& Cz(e)&&(this.I=new oT(a,b),g.B(this,this.I),this.I.g(c.element));f=new eV(a,b);g.B(this,f);f.g(c.element);f=new FU(a,b,this.g);g.B(this,f);qma(this.g,f);f.g(c.element);f=new vT(a);g.B(this,f);g.XK(a,f.element,5);f.subscribe("show",(0,g.x)(b.Ug,b,f));f=new wT(a,b,f);g.B(this,f);f.g(c.element);f=a.getVideoData();if(e.ej||f.Pb&&"1"==e.l)this.D=new g.kV(a,b),g.B(this,this.D),this.D.g(c.element);e.showMiniplayerButton&&!g.O(g.X(a).experiments,"web_player_pip")&&(this.u=new uT(a,b),g.B(this,this.u),this.u.g(c.element)); this.R=new IT(a,b);g.B(this,this.R);this.R.g(c.element);f.kt||this.R.hide();e.Sb||(f=new dV(a,b),g.B(this,f),f.g(c.element));e.Mb&&(f=new cV(a,b,this.g),g.B(this,f),f.g(c.element));e.Gh&&(e=new hT(a,b),g.B(this,e),e.g(c.element));this.Z=new g.tT(a,b);g.B(this,this.Z);this.Z.g(c.element);this.F=new g.Ao(this.uH,null,this);g.B(this,this.F);this.H=null;this.K(a,"appresize",this.Va);this.K(a,"fullscreentoggled",this.Va);this.K(a,"presentingplayerstatechange",this.Xr);this.K(a,"videodatachange",this.vH); this.Va()}; mV=function(a,b){g.IK(a.l).isCued()||b?b&&(a.T.hide(),a.aa.hide(),a.A&&a.A.qb(!1),a.D&&a.D.qb(!1),a.u&&a.u.qb(!1),a.o.Za().sf(a.ha())):b||(a.T.show(),a.aa.show(),a.A&&a.A.qb(!0),a.D&&a.D.qb(!0),a.u&&a.u.qb(!0),a.Cy())}; oV=function(a){var b=g.JK(a.l).getPlayerSize().width;return Math.max(b-2*nV(a),100)}; nV=function(a){var b=a.o.ec();return 12*(a.l.getVideoData().Pb?0:b?2:1)}; qV=function(a){var b=tv(g.X(a).experiments,"mweb_muted_autoplay_animation"),c=[],d=[];"none"!=b&&(c.push("ytp-unmute-animated"),d.push({C:"div",W:["ytp-unmute-box"]}),"expand"==b?c.push("ytp-unmute-expand"):"shrink"==b&&c.push("ytp-unmute-shrink"));pT.call(this,a,{C:"button",W:["ytp-unmute","ytp-popup","ytp-button"].concat(c),J:[{C:"div",G:"ytp-unmute-inner",J:[{C:"div",W:["ytp-unmute-icon"],J:[g.UP?{C:"div",W:["ytp-icon","ytp-icon-volume-muted-dark"]}:{C:"svg",L:{height:"100%",version:"1.1",viewBox:"0 0 36 36", width:"100%"},J:[{C:"path",Ga:!0,G:"ytp-svg-fill",L:{d:"m 21.48,17.98 c 0,-1.77 -1.02,-3.29 -2.5,-4.03 v 2.21 l 2.45,2.45 c .03,-0.2 .05,-0.41 .05,-0.63 z m 2.5,0 c 0,.94 -0.2,1.82 -0.54,2.64 l 1.51,1.51 c .66,-1.24 1.03,-2.65 1.03,-4.15 0,-4.28 -2.99,-7.86 -7,-8.76 v 2.05 c 2.89,.86 5,3.54 5,6.71 z M 9.25,8.98 l -1.27,1.26 4.72,4.73 H 7.98 v 6 H 11.98 l 5,5 v -6.73 l 4.25,4.25 c -0.67,.52 -1.42,.93 -2.25,1.18 v 2.06 c 1.38,-0.31 2.63,-0.95 3.69,-1.81 l 2.04,2.05 1.27,-1.27 -9,-9 -7.72,-7.72 z m 7.72,.99 -2.09,2.08 2.09,2.09 V 9.98 z"}}]}]}, {C:"div",W:["ytp-unmute-text"],V:"\ud0ed\ud558\uc5ec \uc74c\uc18c\uac70 \ud574\uc81c"}].concat(d)}]},100);this.o=a;this.u=this.A=!1;ZK(this.o,this.element,this,51663);this.K(a,"mutedautoplaychange",this.B,this);this.K(a,"presentingplayerstatechange",this.D);this.da("click",this.onClick,this);a=a.isMutedByMutedAutoplay();g.sD(this,a);a&&pV(this)}; rV=function(a){a.A||(a.A=!0,g.$K(a.o,a.element))}; pV=function(a){a.u||(a.u=!0,g.aL(a.o,a.element,!0))}; g.sV=function(a){g.Us.call(this);var b=g.X(a),c=g.JK(a);this.api=a;this.Yb=!1;this.D=null;this.Sb=!1;this.Rb=new g.J(this.CI,0,this);g.B(this,this.Rb);this.ga=new CS(a);g.B(this,this.ga);g.XK(a,this.ga.element,4);var d=ir()&&67<=gr();if(!hr("tizen")&&!Yy&&!d){var e=new fT(a);g.B(this,e);e=e.element;g.XK(a,e,4)}d=a.getVideoData();this.i=new AS(c,(0,g.x)(this.HG,this),d,b.ld);g.B(this,this.i);this.i.subscribe("autohideupdate",this.Fk,this);var f=new bT(a);g.B(this,f);g.XK(a,f.element,4);this.Ca=new qV(a); g.B(this,this.Ca);g.XK(this.api,this.Ca.element,2);this.Wb=this.api.isMutedByMutedAutoplay();this.K(a,"mutedautoplaychange",this.IG);this.xa=new g.J(this.Hn,200,this);g.B(this,this.xa);this.Ya=d.videoId;this.o=null;this.Lb=!1;this.Mb=null;this.Ea=[];d=a.getRootNode();d.setAttribute("aria-label","YouTube \ub3d9\uc601\uc0c1 \ud50c\ub808\uc774\uc5b4");switch(b.color){case "white":g.H(d,"ytp-color-white")}g.iz(b)&&g.H(d,"ytp-music-player");!g.O(g.X(a).experiments,"disable_mediasession2")&&navigator.mediaSession&& !navigator.mediaSession.metadata&&navigator.mediaSession.setActionHandler&&(d=new aT(a),g.B(this,d));this.T=null;this.K(a,"appresize",this.zi);this.K(a,"presentingplayerstatechange",this.BK);this.K(a,"videodatachange",this.ly);this.K(a,"videoplayerreset",this.yK);this.K(a,"autonavvisibility",this.Tf,this);this.K(a,"sizestylechange",this.Tf,this);g.O(g.X(a).experiments,"player_minimized_controls_killswitch")&&this.K(a,"minimized",this.Kd,this);this.K(a,"onFrescaStateChange",this.Kd,this);this.K(c, "click",this.bL,this);this.K(c,"dblclick",this.cL,this);b.X&&(this.K(c,"gesturechange",this.dL,this),this.K(c,"gestureend",this.eL,this));this.na=[c.u,this.ga.element];e&&this.na.push(e)}; tV=function(a){return g.O(g.X(a.api).experiments,"player_minimized_controls_killswitch")?a.api.app.F.g:!1}; uV=function(a,b){if(!b)return!1;var c=a.api.app.u;if(c.xg()&&(c=c.ha())&&g.$d(c,b))return c.controls;for(c=0;c1+b&&a.api.toggleFullscreen()}; sma=function(a){if(AV(a))return!1;var b=a.api.getVideoData();if(b.vx)return!1;var c=!!a.Ya&&!a.api.Re();if(2==a.api.getPresentingPlayerType())return a=g.EK(a.api).o,c&&(null===a.g?c=!1:(c=a.g,c=(a=c.g.getVideoData(2))?a.he&&!c.I:!1)),c;var d=g.X(a.api);if(!a.T){var e;b.yj?(e=b.yj.embedPreview)?(e=e.thumbnailPreviewRenderer,e=e.videoDetails&&e.videoDetails.embeddedPlayerOverlayVideoDetailsRenderer||null):e=null:e=null;a.T=e}return!$y(d)||g.O(d.experiments,"embed_hide_info_bar_killswitch")||!b.Pb|| a.T&&a.T.collapsedRenderer&&a.T.expandedRenderer?g.O(d.experiments,"embed_api_deprecation")&&b.Pb&&5==a.api.app.R?c:c&&(d.Hh||a.api.isFullscreen()||d.Sb):!1}; AV=function(a){var b=g.X(a.api),c=g.T(g.IK(a.api),128);return b.i&&c&&!a.api.isFullscreen()&&!LK(a.api)}; g.BV=function(a,b){return uw(a.info.mimeType)?b?gv(a.info)==b:!0:!1}; g.CV=function(a,b){if(null!=a.ia&&g.Ez(g.X(b))&&!a.ia.i&&null!=a.ia.g.rawcc)return!0;if(!a.Te())return!1;var c=!!a.ia&&a.ia.i&&Object.values(a.ia.g).some(function(e){return g.BV(e,"386")}),d=!!a.ia&&!a.ia.i&&Hfa(a.ia); return c||d}; DV=function(a,b,c){g.A.call(this);this.ma=b;this.na=c;this.P=this.F=this.Uc=this.I=this.D=this.l=this.aa=this.Pc=this.u=this.H=this.i=null;this.X={};this.Z={};this.ea=null;this.g=a;this.T=this.ga=this.Y=this.B=this.R=this.A=this.M=this.o=null;this.oa=g.O(g.X(a).experiments,"web_player_defer_modules")}; g.EV=function(a){var b=g.X(a.g);if(g.Kz(b)||b.Kb||!b.Ea&&!b.Ia)return!1;var c=a.g.getPresentingPlayerType();if(2==c)return!1;if(3==c)return g.O(b.experiments,"desktop_enable_autoplay");a=a.g.getVideoData();if(!a)return!1;c=!a.isLiveDefaultBroadcast||g.O(b.experiments,"allow_poltergust_autoplay");return!(a.sa&&(!g.O(b.experiments,"allow_live_autoplay")||!c))}; FV=function(a){a.oa&&(a.Rp(),a.Pp(),a.Qp())}; tma=function(a){var b=a.g.getVideoData(),c=g.X(a.g).experiments,d=g.or(),e=g.O(c,"enable_spherical_kabuki");a=g.Iz(g.X(a.g));if(b.Df())return d||e||a||g.O(c,"html5_enable_spherical");if(b.If())return a||d||e||g.O(c,"html5_enable_spherical");if(b.Jf())return a||d||g.O(c,"html5_enable_spherical3d");if(b.di())return a||g.O(c,"html5_enable_anaglyph3d")||!1;d=b.za&&b.za.video&&lw(b.za.video);return a&&!g.ZB(b)&&!b.isVisualizerEligible&&!d&&(g.O(c,"enable_webgl_noop")||g.O(c,"html5_enable_bicubicsharp")|| g.O(c,"html5_enable_smartsharp"))}; GV=function(a){g.O(g.X(a.g).experiments,"web_player_ux_module_wait")&&a.F&&g.UK(a.g,"ux")}; HV=function(a){if(a=a.g.getVideoData(1).getPlayerResponse())if(a=a.adPlacements)for(var b=0;bMath.random()){var v=Error("Unable to load player module");v.params=b+".js from "+d+" on "+(document.location&&document.location.origin)+".";g.L(v)}Yf(p);r&&r()},k.onerror); k.onreadystatechange=g.Qa(function(r){switch(k.readyState){case "loaded":case "complete":Yf(n,this)}r&&r()},k.onreadystatechange); f&&((e=g.X(a.g).jb)&&k.setAttribute("nonce",e),Vc(k,ai(d)),e=document.getElementsByTagName("HEAD")[0]||document.body,e.insertBefore(k,e.firstChild),g.pf(a,function(){k.parentNode&&k.parentNode.removeChild(k);g.IV[b]=null;"annotations_module"==b&&(g.IV.creatorendscreen=null)}))}}; g.MV=function(a){g.W.call(this,{C:"div",J:[{C:"div",G:"ytp-bezel-text-wrapper",J:[{C:"div",G:"ytp-bezel-text",V:"{{title}}"}]},{C:"div",G:"ytp-bezel",L:{role:"status","aria-label":"{{label}}"},J:[{C:"div",G:"ytp-bezel-icon",V:"{{icon}}"}]}]});this.u=new g.J(this.show,10,this);g.B(this,this.u);this.l=new g.J(this.hide,500,this);g.B(this,this.l);this.o=a;this.hide()}; OV=function(a,b){if(b)g.T(g.IK(a.o),64)||NV(a,mQ(),"\uc7ac\uc0dd");else{var c=a.o.getVideoData();c.sa&&!c.allowLiveDvr?NV(a,rQ(),"\uc2e4\uc2dc\uac04 \uc7ac\uc0dd \uc911\uc9c0"):NV(a,kQ(),"\uc77c\uc2dc\uc911\uc9c0")}}; PV=function(a,b,c){if(0>=b){c=vQ();b="\uc74c\uc18c\uac70\ub428";var d=0}else c=c?uQ():tQ(),d=Math.floor(b),b=d+"\ubcfc\ub968";NV(a,c,b,d+"%")}; QV=function(a,b){var c=b?g.UP?{C:"div",W:["ytp-icon","ytp-icon-fast-rewind"]}:{C:"svg",L:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{C:"path",Ga:!0,G:"ytp-svg-fill",L:{d:"M 17,24 V 12 l -8.5,6 8.5,6 z m .5,-6 8.5,6 V 12 l -8.5,6 z"}}]}:g.UP?{C:"div",W:["ytp-icon","ytp-icon-fast-forward"]}:{C:"svg",L:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{C:"path",Ga:!0,G:"ytp-svg-fill",L:{d:"M 10,24 18.5,18 10,12 V 24 z M 19,12 V 24 L 27.5,18 19,12 z"}}]},d=a.o.getPlaybackRate(), e=g.UN("\uc18d\ub3c4 $RATE",{RATE:String(d)});NV(a,c,e,d+"x")}; NV=function(a,b,c,d){d=void 0===d?"":d;a.updateValue("label",void 0===c?"":c);a.updateValue("icon",b);g.Fo(a.l);a.u.start();a.updateValue("title",d);g.I(a.element,"ytp-bezel-text-hide",!d)}; SV=function(a,b,c){g.W.call(this,{C:"button",W:["ytp-button","ytp-cards-button"],L:{"aria-label":"\uce74\ub4dc \ubcf4\uae30","aria-owns":"iv-drawer","aria-haspopup":"true","data-tooltip-opaque":String(g.X(a).u)},J:[{C:"span",G:"ytp-cards-button-icon-default",J:[{C:"div",G:"ytp-cards-button-icon",J:[g.UP?{C:"div",W:["ytp-icon","ytp-icon-info-card"]}:{C:"svg",L:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{C:"path",Ga:!0,G:"ytp-svg-fill",L:{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"}}]}]}, {C:"div",G:"ytp-cards-button-title",V:"\uc815\ubcf4"}]},{C:"span",G:"ytp-cards-button-icon-shopping",J:[{C:"div",G:"ytp-cards-button-icon",J:[g.UP?{C:"div",W:["ytp-icon","ytp-icon-shopping-card"]}:{C:"svg",L:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{C:"path",G:"ytp-svg-shadow",L:{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"}},{C:"path",G:"ytp-svg-fill",L:{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"}},{C:"path",G:"ytp-svg-shadow-fill",L:{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"}}]}]},{C:"div", G:"ytp-cards-button-title",V:"\uc1fc\ud551"}]}]});this.o=a;this.A=b;this.l=null;this.u=new g.GQ(this,250,!0,100);g.B(this,this.u);g.I(c,"ytp-show-cards-title",g.X(a).u);this.hide();this.da("click",this.B);this.da("mouseover",this.D);RV(this,!0)}; RV=function(a,b){b?a.l=gT(a.A.Za(),a.element):(a.l(),a.l=null)}; TV=function(a,b,c){g.W.call(this,{C:"div",G:"ytp-cards-teaser",J:[{C:"div",G:"ytp-cards-teaser-box"},{C:"div",G:"ytp-cards-teaser-text",J:[{C:"span",G:"ytp-cards-teaser-label",V:"{{text}}"}]}]});var d=this;this.o=a;this.T=b;this.D=new g.GQ(this,250,!1,250);g.B(this,this.D);this.B=c;this.l=null;this.I=new g.J(this.fK,300,this);g.B(this,this.I);this.H=new g.J(this.cK,2E3,this);g.B(this,this.H);this.P=new g.jo;this.F=[];this.u=null;this.M=new g.J(function(){d.element.style.margin=0},250); g.B(this,this.M);this.A=null;this.K(c.element,"mouseover",this.ny);this.K(c.element,"mouseout",this.Bg);this.K(a,"cardsteasershow",this.DL);this.K(a,"cardsteaserhide",this.Ak);this.K(a,"cardstatechange",this.oB);this.K(a,"presentingplayerstatechange",this.oB);this.K(a,"appresize",this.Sr);this.K(a,"onShowControls",this.Sr);this.K(a,"onHideControls",this.OC);this.da("click",this.dN);this.da("mouseenter",this.JG)}; uma=function(a,b){a.updateValue("text",b.teaserText);a.element.setAttribute("dir",g.ko(a.P,b.teaserText));a.D.show();a.u=new g.J(function(){g.H(this.o.getRootNode(),"ytp-cards-teaser-shown");this.Sr()},0,a); a.u.start();RV(a.B,!1);a.l=new g.J(a.Ak,580+b.durationMs,a);a.l.start();a.F.push(a.da("mouseover",a.ny,a));a.F.push(a.da("mouseout",a.Bg,a))}; UV=function(a){var b=g.wD({"aria-haspopup":"true"});g.vD.call(this,b,a);this.da("keydown",this.l)}; VV=function(a,b){a.element.setAttribute("aria-haspopup",b)}; WV=function(a,b,c){var d={};b&&(d.v=b);c&&(d.list=c);a={name:a,locale:void 0,feature:void 0};for(var e in d)a[e]=d[e];d=g.bh("/sharing_services",a);g.xr(d)}; ZV=function(a,b,c,d){g.nU.call(this,a);this.l=a;this.M=c;this.P=d;this.A=new UV(8);g.B(this,this.A);g.oU(this,this.A,!0);this.A.da("click",this.tJ,this);ZK(a,this.A.element,this.A,28659);this.u=new UV(7);g.B(this,this.u);g.oU(this,this.u,!0);this.u.da("click",this.sJ,this);ZK(a,this.u.element,this.u,28660);this.o=new UV(6);g.B(this,this.o);g.oU(this,this.o,!0);this.o.da("click",this.qJ,this);ZK(a,this.o.element,this.o,28658);this.B=new jU("\uc5f0\uc18d \uc7ac\uc0dd",5);g.B(this,this.B);g.oU(this, this.B,!0);this.B.da("click",this.MJ,this);ZK(a,this.B.element,this.B,28661);this.T=new g.vD(g.wD({href:"{{href}}",target:g.X(a).A},void 0,!0),4,"\uc7ac\uc0dd \ubb38\uc81c\ud574\uacb0");g.B(this,this.T);g.oU(this,this.T,!0);this.T.da("click",this.UK,this);this.I=new UV(3);g.B(this,this.I);g.oU(this,this.I,!0);this.I.da("click",this.pJ,this);b=new g.vD(g.wD(),2,"\uc804\ubb38 \ud1b5\uacc4\n");g.B(this,b);g.oU(this,b,!0);b.da("click",this.rL,this);this.H=new g.tD({C:"div",W:["ytp-copytext","ytp-no-contextmenu"], L:{draggable:"false",tabindex:"1"},V:"{{text}}"});g.B(this,this.H);this.H.da("click",this.bJ,this);this.ga=new mU(a,this.H);g.B(this,this.ga);this.F=null;b=document.queryCommandSupported&&document.queryCommandSupported("copy");g.qx&&g.ld(43)&&(b=!0);g.Vx&&!g.ld(41)&&(b=!1);b&&(this.F=new g.W({C:"textarea",G:"ytp-html5-clipboard",L:{readonly:""}}),g.B(this,this.F),this.F.g(this.element));this.K(a,"loopchange",this.kz);this.K(a,"videodatachange",this.NG);XV(this);YV(this,this.l.getVideoData())}; $V=function(a,b){if(a.F){var c=a.F.element;c.value=b;c.select();try{var d=document.execCommand("copy")}catch(e){}}d?a.M.nb():(a.H.ob(b,"text"),g.AU(a.M,a.ga),JS(a.H.element),a.F&&(a.F=null,XV(a)));return d}; YV=function(a,b){var c=g.X(a.l),d=2==a.l.getPresentingPlayerType(),e=!d||b.he;e=!c.H&&!!b.videoId&&e;"play"!=c.playerStyle?c="https://support.google.com/youtube/?p=report_playback":(c={contact_type:"playbackissue",html5:1,ei:b.eventId,v:b.videoId,p:"movies_playback"},b.za&&(c.fmt=gv(b.za)),b.clientPlaybackNonce&&(c.cpn=b.clientPlaybackNonce),b.oe&&(c.partnerid=b.oe),c=g.bh("//support.google.com/googleplay/",c));g.sD(a.o,e&&b.allowEmbed);g.sD(a.A,e);g.sD(a.u,e&&!b.sa);a.T.ob(c,"href");g.sD(a.B,!b.sa&& !d)}; XV=function(a){var b=!!a.F;g.uD(a.I,b?"\ub514\ubc84\uadf8 \uc815\ubcf4 \ubcf5\uc0ac":"\ub514\ubc84\uadf8 \uc815\ubcf4 \ud655\uc778");VV(a.I,!b);g.uD(a.o,b?"\uc18c\uc2a4 \ucf54\ub4dc \ubcf5\uc0ac":"\uc18c\uc2a4 \ucf54\ub4dc \ud655\uc778");VV(a.o,!b);g.uD(a.A,b?"\ub3d9\uc601\uc0c1 URL \ubcf5\uc0ac":"\ub3d9\uc601\uc0c1 URL \ud655\uc778");VV(a.A,!b);g.uD(a.u,b?"\ud604\uc7ac \uc2dc\uac04\uc5d0 \ub3d9\uc601\uc0c1 URL \ubcf5\uc0ac":"\ud604\uc7ac \uc2dc\uac04\uc758 \ub3d9\uc601\uc0c1 URL \ud655\uc778");VV(a.u, !b)}; bW=function(a,b,c){g.wU.call(this,a);this.o=a;this.ea=b;this.Z=c;this.F=new g.Us(this);g.B(this,this.F);this.A=null;ZK(a,this.element,this,28656);g.H(this.element,"ytp-contextmenu");aW(this);this.hide()}; aW=function(a){g.Ws(a.F);"gvn"!=g.X(a.o).playerStyle&&a.F.K(g.JK(a.o),"contextmenu",a.aJ)}; cW=function(a){a.o.isFullscreen()?g.XK(a.o,a.element,9):a.g(document.body)}; dW=function(a,b,c,d,e,f){g.Us.call(this);this.g=a;this.D=c;this.A=d;this.i=e;this.B=f;this.u=new g.J(g.Qa(this.ry,!1),1E3,this);g.B(this,this.u);this.l="";this.o=g.O(g.X(this.g).experiments,"migrate_player_shortcuts_to_global_killswitch");a=g.Qa(this.Zs,!1);this.K(b,"mousedown",a);this.K(c.element,"mousedown",a);this.K(b,"keydown",this.Kw);this.K(c.element,"keydown",this.Kw);this.K(b,"keyup",this.Lw);this.K(c.element,"keyup",this.Lw)}; eW=function(a,b,c,d){var e=g.EK(a.g).i;if(e&&e.loaded){e=a.g.getSubtitlesUserSettings();for(var f,k=0;ke;e++){var f=new g.W({C:"a",G:"ytp-suggestion-link",L:{href:"{{link}}",target:c.A,"aria-label":"{{aria_label}}"},J:[{C:"div",G:"ytp-suggestion-image"}, {C:"div",G:"ytp-suggestion-overlay",L:d,J:[{C:"div",G:"ytp-suggestion-title",V:"{{title}}"},{C:"div",G:"ytp-suggestion-author",V:"{{author_and_views}}"},{C:"div",L:{"data-is-live":"{{is_live}}"},G:"ytp-suggestion-duration",V:"{{duration}}"}]}]});g.B(this,f);f.g(this.F.element);var k=f.i["ytp-suggestion-link"];g.zh(k,"transitionDelay",e/20+"s");this.u.K(k,"click",g.Qa(this.ZG,e));this.B.push(f)}this.I=new g.W({C:"button",W:["ytp-button","ytp-next"],L:{"aria-label":"\ub354 \ub9ce\uc740 \ucd94\ucc9c \ub3d9\uc601\uc0c1 \ubcf4\uae30"}, J:[g.YP()]});g.B(this,this.I);this.I.g(this.element);this.I.da("click",this.XG,this);c=new g.W({C:"button",W:["ytp-button","ytp-collapse"],L:{"aria-label":"\ub2eb\uae30"},J:[g.UP?{C:"div",W:["ytp-icon","ytp-icon-small-close"]}:{C:"svg",L:{height:"100%",viewBox:"0 0 16 16",width:"100%"},J:[{C:"path",L:{d:"M13 4L12 3 8 7 4 3 3 4 7 8 3 12 4 13 8 9 12 13 13 12 9 8z",fill:"#fff"}}]}]});g.B(this,c);c.g(this.element);c.da("click",this.TI,this);this.H=new g.W({C:"button",W:["ytp-button","ytp-expand"],V:"\ub3d9\uc601\uc0c1 \ub354\ubcf4\uae30"}); g.B(this,this.H);this.H.g(this.element);this.H.da("click",this.UI,this);this.u.K(this.l,"appresize",this.Va);this.u.K(this.l,"fullscreentoggled",this.aH);this.u.K(this.l,"presentingplayerstatechange",this.bH);this.u.K(this.l,"videodatachange",this.cH);this.Va(g.JK(this.l).getPlayerSize())}; mW=function(a,b){var c=g.pd(b,a.D-a.o.length*(a.Y+8),0);a.ea.start(a.A,c,1E3);a.A=c;lW(a)}; lW=function(a){var b=a.Z.ec();b=a.ma/2+(b?32:16);a.I.element.style.bottom=b+"px";a.M.element.style.bottom=b+"px";b=a.A;var c=a.D-a.o.length*(a.Y+8);g.I(a.element,"ytp-scroll-min",0<=b);g.I(a.element,"ytp-scroll-max",b<=c)}; vma=function(a){for(var b=0;bb||b==a.B)){a.B=b;var c=160*a.A,d=160*a.A,e=AA(a.u,a.B,c);kT(a.H,e,c,d,!0);a.ga.start()}}; yma=function(a,b,c){PW("add_to_watch_later_list",a,b,c)}; zma=function(a,b,c){PW("delete_from_watch_later_list",a,b,c)}; PW=function(a,b,c,d){g.br(c?c+"playlist_video_ajax?action_"+a+"=1":"/playlist_video_ajax?action_"+a+"=1",{method:"POST",ud:{feature:b.feature||null,authuser:b.lc||null,pageid:b.pageId||null},wb:{video_ids:b.videoIds||null,source_playlist_id:b.sourcePlaylistId||null,full_list_id:b.fullListId||null,delete_from_playlists:b.uR||null,add_to_playlists:b.cR||null,plid:g.Xp("PLAYBACK_ID")||null},context:b.context,onError:b.onError,onSuccess:function(e,f){b.onSuccess.call(this,e,f)}, ed:b.ed,withCredentials:!!d})}; SW=function(a,b,c){g.W.call(this,{C:"button",W:["ytp-watch-later-button","ytp-button"],L:{title:"{{title}}","data-tooltip-image":"{{image}}","data-tooltip-opaque":String(g.X(a).u)},J:[{C:"div",G:"ytp-watch-later-icon",V:"{{icon}}"},{C:"div",G:"ytp-watch-later-title",V:"\ub098\uc911\uc5d0 \uc2dc\uccad\ud558\uae30"}]});this.l=a;this.F=b;this.B=b.Za();AW(this.B);this.D=null;this.A=this.u=this.o=!1;ZK(a,this.element,this,28665);this.da("click",this.CH,this);this.K(a,"videoplayerreset",this.DH);this.K(a, "appresize",this.jc);this.K(a,"videodatachange",this.jc);this.jc();a=g.X(this.l);var d=g.It("yt-player-watch-later-pending");a.i&&d?(zy(),QW(this,d.videoId)):RW(this,2);g.I(c,"ytp-show-watch-later-title",a.u);g.pf(this,gT(b.Za(),this.element))}; TW=function(a,b){wma(function(){zy({videoId:b});window.location.reload()},zz(g.X(a.l)))}; QW=function(a,b){if(!a.u){a.u=!0;RW(a,3);var c=g.X(a.l);(a.o?zma:yma)({videoIds:b,lc:c.lc,pageId:c.pageId,onError:a.ZL,onSuccess:a.o?a.aM:a.YL,context:a},c.B,!0)}}; UW=function(a,b){RW(a,4,b);g.X(a.l).vb&&a.l.la("WATCH_LATER_ERROR",b)}; RW=function(a,b,c){var d=g.X(a.l),e=a.F.vg()&&g.O(d.experiments,"embeds_enable_new_smallmode")&&d.u;if(b!=a.D){switch(b){case 3:var f=IS();break;case 1:f=WP();break;case 2:f=d.D&&e?{C:"div",W:["ytp-icon","ytp-icon-watch-later-large"]}:g.UP?{C:"div",W:["ytp-icon","ytp-icon-watch-later"]}:{C:"svg",L:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{C:"path",Ga:!0,G:"ytp-svg-fill",L:{d:"M18,8 C12.47,8 8,12.47 8,18 C8,23.52 12.47,28 18,28 C23.52,28 28,23.52 28,18 C28,12.47 23.52,8 18,8 L18,8 Z M16,19.02 L16,12.00 L18,12.00 L18,17.86 L23.10,20.81 L22.10,22.54 L16,19.02 Z"}}]}; break;case 4:f=g.O(d.experiments,"watch_later_icon_change_killswitch")?g.UP?{C:"div",W:["ytp-icon","ytp-icon-alert"]}:{C:"svg",L:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{C:"path",Ga:!0,G:"ytp-svg-fill",L:{d:"M21,7.91 L19.60,20.91 L16.39,20.91 L15,7.91 L21,7.91 Z M18,27.91 C16.61,27.91 15.5,26.79 15.5,25.41 C15.5,24.03 16.61,22.91 18,22.91 C19.38,22.91 20.5,24.03 20.5,25.41 C20.5,26.79 19.38,27.91 18,27.91 Z"}}]}:g.UP?{C:"div",W:["ytp-icon","ytp-icon-warning"]}:{C:"svg",L:{height:"100%", version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{C:"path",Ga:!0,L:{d:"M7,27.5h22L18,8.5L7,27.5z M19,24.5h-2v-2h2V24.5z M19,20.5h-2V16.5h2V20.5z",fill:"#fff"}}]}}a.updateValue("icon",f);a.D=b}c?a.update({title:c,image:null}):d.aa?(b={USER_NAME:d.aa},a.update({title:a.o?g.UN("$USER_NAME(\uc73c)\ub85c \ucd94\uac00\ud588\uc2b5\ub2c8\ub2e4.",b):g.UN("\ub098\uc911\uc5d0 $USER_NAME(\uc73c)\ub85c \ubcf4\uae30",b),image:Lz(d)})):a.update({title:"\ub098\uc911\uc5d0 \uc2dc\uccad\ud558\uae30",image:null}); HT(a.B)}; WW=function(a){var b=g.X(a);g.W.call(this,{C:"a",W:["ytp-watermark","yt-uix-sessionlink"],L:{target:b.A,href:"{{url}}","aria-label":g.UN("$WEBSITE\uc5d0\uc11c \ubcf4\uae30",{WEBSITE:Az(b)}),"data-sessionlink":"feature=player-watermark"},J:[wQ()]});this.l=a;this.o=null;this.u=!1;ZK(a,this.element,this,76758);this.K(a,"videodatachange",this.A);this.K(a,"presentingplayerstatechange",this.D);this.K(a,"appresize",this.Va);VW(this,g.IK(a));this.A();this.Va(g.JK(a).getPlayerSize())}; XW=function(a,b){return!!(g.O(b.experiments,"embeds_enable_smaller_watermark_on_mobile")&&480>a.width)}; VW=function(a,b){var c=!g.T(b,2);g.sD(a,c);g.aL(a.l,a.element,c)}; YW=function(a){g.sV.call(this,a);var b=this,c=g.JK(a),d=g.X(a),e=d.u;this.ma=g.O(d.experiments,"embeds_enable_new_smallmode")&&e;this.Ra=48;this.Qa=69;d.i&&d.u&&(g.H(a.getRootNode(),"ytp-embed"),this.Ra=60,this.Qa=89);e&&g.H(a.getRootNode(),"ytp-embed-playlist");this.ma&&g.H(a.getRootNode(),"ytp-embeds-smallmode");this.Y=null;this.H=[];this.I=new g.MV(a);g.B(this,this.I);g.XK(a,this.I.element,4);var f=new g.W({C:"div",G:"ytp-gradient-top"});g.B(this,f);g.XK(a,f.element,1);this.tb=new g.GQ(f,250,!0, 100);g.B(this,this.tb);this.l=new g.W({C:"div",G:"ytp-chrome-top"});g.B(this,this.l);g.XK(a,this.l.element,1);this.jb=new g.GQ(this.l,250,!0,100);g.B(this,this.jb);this.Z=[];this.F=new g.JW(a,this);g.B(this,this.F);g.XK(a,this.F.element,4);d.i&&d.Ea&&(this.Xb=new kW(a,this),g.B(this,this.Xb),g.XK(a,this.Xb.element,4));f=new pW(a);g.B(this,f);g.XK(a,f.element,5);f.subscribe("show",(0,g.x)(this.Ug,this,f));this.Z.push(f);this.X=new rW(a,this,f);g.B(this,this.X);e||this.X.g(this.l.element);this.ab=new HW(a, this);g.B(this,this.ab);this.ab.g(this.l.element);f=new g.nD({C:"div",G:"ytp-chrome-top-buttons"});g.B(this,f);f.g(this.l.element);this.ya=f;var k=g.O(d.experiments,"embed_info_bar_top_right_subscribe")&&d.i;k||(this.B=new SW(a,this,this.l.element),g.B(this,this.B),this.B.g(f.element));k||(k=new g.tW(a,this),g.B(this,k),g.XK(a,k.element,5),k.subscribe("show",(0,g.x)(this.Ug,this,k)),this.Z.push(k),this.A=new g.vW(a,this,k,this.l.element),g.B(this,this.A),this.A.g(f.element));d.El&&(k=new wW(a),g.B(this, k),g.XK(a,k.element,4));e&&this.X.g(f.element);this.aa=new SV(a,this,this.l.element);g.B(this,this.aa);this.aa.g(f.element);e=new TV(a,this,this.aa);g.B(this,e);e.g(f.element);this.ma&&(this.u=new gW(a,this),g.B(this,this.u),g.XK(a,this.u.element,5),this.u.subscribe("show",function(){b.Ug(b.u,rT(b.u))}),this.Z.push(this.u),this.wa=new jW(a,this,this.u),g.B(this,this.wa),this.wa.g(f.element)); (this.g="1"==d.l?new lV(a,this,this.i):null)&&g.B(this,this.g);"3"==d.l&&(e=new sW(a,this),g.B(this,e),g.XK(a,e.element,8));this.R=new bW(a,this,this.I);g.B(this,this.R);this.R.subscribe("show",this.mB,this);this.Ia=!1;d.fj&&(e=new WW(a),g.B(this,e),g.XK(a,e.element,7));e=new BR(a,new rS(a));g.B(this,e);g.XK(a,e.element,4);this.ea=new g.W({C:"div",L:{tabindex:"0"}});this.ea.da("focus",this.lD,this);g.B(this,this.ea);this.oa=new g.W({C:"div",L:{tabindex:"0"}});this.oa.da("focus",this.mD,this);g.B(this, this.oa);(this.M=d.ld?null:new dW(a,c,this.R,this.i,this.I,(0,g.x)(this.Qh,this)))&&g.B(this,this.M);this.na.push(this.I.element);this.K(a,"fullscreentoggled",this.KG);this.K(a,"offlineslatestatechange",this.oK,this);this.K(a,"cardstatechange",this.Kd,this)}; ZW=function(a,b,c){b=c?b.lastElementChild:b.firstElementChild;for(var d=null;b;){if("none"!=Eh(b,"display")&&"true"!=b.getAttribute("aria-hidden")){var e=void 0;0<=b.tabIndex?e=b:e=ZW(a,b,c);e&&(d?c?e.tabIndex>d.tabIndex&&(d=e):e.tabIndexe)return"";var k=1E3*f.Ab();if(dk)return"";var l;k=g.q(a.i);for(var m=k.next();!m.done;m=k.next()){m=m.value;if(d>=m.nd&&dm.nd||e==m.nd)return"";d==m.td&&(l=m)}k="childplayback_"+Bma++;m={Sc:fX(c,!0),Ri:Infinity,target:null};var n={hc:k,playerVars:b,playerType:2,durationMs:c,nd:d,td:e,lg:m};a.i=a.i.concat(n).sort(function(v,z){return v.nd-z.nd}); l?gX(a,l,{Sc:fX(l.durationMs,!0),Ri:Infinity,target:n}):(b={Sc:fX(d,!1),Ri:d,target:n},a.B.set(b.Sc,b),f.addCueRange(b.Sc));b=g.O(a.P.experiments,"html5_gapless_preloading");if(a.l==a.g.yb()&&(f=1E3*f.getCurrentTime(),f>=n.nd&&fb)break;if(k>b)return{Lp:e,os:b-f};c=k-e.td/1E3}return{Lp:null,os:b-c}}; dX=function(a,b){var c=a.D||a.g.yb().getPlayerState();oX(a,!0);var d=nX(a,b),e=d.Lp;d=d.os;var f=e&&!kX(a,e)||!e&&a.l!=a.g.yb(),k=1E3*d;k=a.o&&a.o.start<=k&&k<=a.o.end;!f&&k||lX(a);e?hX(a,e,d,c):pX(a,d,c)}; pX=function(a,b,c){var d=a.l;if(d!=a.g.yb()){var e=d.getPlayerType();g.LP(a.g.app,e)}d.seekTo(b,!0);qX(a,c)}; hX=function(a,b,c,d){var e=kX(a,b);if(!e){g.LP(a.g.app,b.playerType);var f=new g.zB(a.P,b.playerVars);f.hc=b.hc;f.ie=!0;rX(a.g.app,f,b.playerType,void 0)}f=a.g.yb();e||f.addCueRange(b.lg.Sc);f.seekTo(c,!0);qX(a,d)}; qX=function(a,b){var c=a.g.yb(),d=c.getPlayerState();g.XC(b)&&!g.XC(d)?c.playVideo():g.T(b,4)&&!g.T(d,4)&&c.pauseVideo()}; oX=function(a,b){a.R=NaN;a.I.stop();a.u&&b&&gK(a.u);a.D=null;a.u=null}; kX=function(a,b){var c=a.g.yb();return!!c&&c.getVideoData().hc==b.hc}; fL=function(a,b,c){b=void 0===b?-1:b;c=void 0===c?Infinity:c;for(var d=b,e=c,f=g.q(a.B),k=f.next();!k.done;k=f.next()){var l=g.q(k.value);k=l.next().value;l=l.next().value;l.Ri>=d&&l.target&&l.target.td<=e&&(a.l.removeCueRange(k),l.Sc.dispose(),a.B["delete"](k))}d=b;e=c;f=[];k=g.q(a.i);for(l=k.next();!l.done;l=k.next())if(l=l.value,l.nd>=d&&l.td<=e){var m=a;m.F==l&&lX(m);kX(m,l)&&g.eL(m.g,l.playerType);l.lg.Sc.dispose()}else f.push(l);a.i=f;d=nX(a,b/1E3);b=d.Lp;d=d.os;b&&(d*=1E3,sX(a,b,d,b.td==b.nd+ b.durationMs?b.nd+d:b.td));nX(a,c/1E3)}; sX=function(a,b,c,d){b.durationMs=c;b.td=d;d={Sc:fX(c,!0),Ri:c,target:null};gX(a,b,d);kX(a,b)&&1E3*a.g.yb().getCurrentTime()>c&&(b=mX(a,b)/1E3,c=a.g.yb().getPlayerState(),pX(a,b,c))}; Ema=function(){this.g=this.M=this.D=this.A=!1;this.H=0;this.R=!1;this.u=0;this.F=this.B=this.l=!0;this.o=this.P=!1;this.I=!0;this.i=0}; Fma=function(a){var b=new Ema;b.A=g.O(a.experiments,"html5_pseudo_gapless");b.D=g.O(a.experiments,"html5_gapless_disable_preload_at_finish");b.M=g.O(a.experiments,"html5_gaplesstransition_error_new_elem");b.g=g.O(a.experiments,"html5_gapless_allow_late_transitions");b.H=g.P(a.experiments,"html5_gapless_ended_transition_buffer_ms");b.R=g.O(a.experiments,"html5_full_gapless_content_resume");b.u=g.P(a.experiments,"html5_gapless_max_played_ranges");g.O(a.experiments,"html5_gapless_error_check_killswitch2")&& (b.l=!1);g.O(a.experiments,"html5_gapless_channel_count_check_killswitch")&&(b.B=!1);g.O(a.experiments,"html5_gapless_encryption_upgrade_check_killswitch")&&(b.F=!1);b.P=g.O(a.experiments,"html5_gapless_trim_readbehind");b.o=g.O(a.experiments,"html5_gapless_manage_live_readahead");b.i=g.P(a.experiments,"html5_gapless_seek_tolerance_secs");b.i&&(b.I=!1);return b}; g.tX=function(a,b,c,d){d=void 0===d?!1:d;g.CC.call(this);this.g=a;this.i=b;this.A=c;this.H=d}; Gma=function(a,b,c,d){var e=c.getVideoData(),f=b.getVideoData();if(a.l&&c.getPlayerState().isError())return"player-error";if(!a.g){if(b.getCurrentTime()>(d-3E3)/1E3)return"too-close"}else if(b.getCurrentTime()>d/1E3+1)return"in-the-past";if(f.sa&&!isFinite(d))return"live-infinite";if(a.u&&((b=b.g)&&b.isView()&&(b=b.g),b&&b.Vh().length>a.u))return"played-ranges";if(a.g&&!e.va)return null;if(!e.va.g||!f.va.g)return"non-dash";if(e.va.videoInfos[0].containerType!=f.va.videoInfos[0].containerType)return"container"; if(g.ZB(f)&&g.ZB(e))return"content-protection";f=f.va.g[0].audio;e=e.va.g[0].audio;return f.sampleRate==e.sampleRate||g.qx?a.B&&(f.g||2)!=(e.g||2)?"channel-count":null:"sample-rate"}; vX=function(a,b,c,d){g.A.call(this);var e=this;this.l=a;this.i=b;this.g=c;this.A=this.u=null;this.R=d-1E3*b.Ib();this.F=-1;this.H=!1;this.B=new SG;this.B.then(void 0,function(){}); this.I=new g.J(function(){return uX(e,"timeout")},1E4); g.B(this,this.I);this.D=this.l.A&&!!(!a.R&&c.getCurrentTime()||isFinite(d));this.o={status:0,error:null}}; Hma=function(a){var b,c,d,e,f,k;return xa(function(l){if(1==l.g){if(!a.l.g)return 5!=a.o.status?l=l["return"](Promise.resolve("nonsense")):(l.g=2,l=void 0),l;a.I.start();return ua(l,a.B,2)}b=a.i.g;if(b.Se())return uX(a,"ended_in_finishTransition"),l["return"](Promise.reject());if(a.g.D!=a.A)return uX(a,"next_reloaded"),l["return"](Promise.reject());c=wX(a);d=c.Qy;e=c.Py;SJ(a.i,!1,a.l.D);f=xX(b,d,e,a.g.getVideoData().sa);UJ(a.g,f);a.D&&(a.g.seekTo(a.g.getCurrentTime()+.001,!0,void 0,!0,!1,a.l.i),f.play()); k=b.fb();k.cpn=a.i.getVideoData().clientPlaybackNonce;k.st=""+d;k.et=""+e;a.g.Ma("gapless",yx(k));a.i.Ma("gaplessTo",a.g.getVideoData().clientPlaybackNonce);g.dg(function(){!a.g.getVideoData().ce&&g.XC(a.g.getPlayerState())&&tK(a.g)}); yX(a,6);a.dispose();return l["return"](Promise.resolve())})}; BX=function(a){if(a.g.getVideoData().va){kK(a.g,a.A);yX(a,3);zX(a);var b=AX(a),c=b.LA;b=b.WM;c.subscribe("updateend",a.xi,a);b.subscribe("updateend",a.xi,a);a.xi(c);a.xi(b)}}; zX=function(a){a.i.unsubscribe("internalvideodatachange",a.Lg,a);a.g.unsubscribe("internalvideodatachange",a.Lg,a);a.i.unsubscribe("mediasourceattached",a.Lg,a);a.g.unsubscribe("statechange",a.ey,a)}; xX=function(a,b,c,d){return new g.tX(a.isView()?a.g:a,b,c,d)}; yX=function(a,b){b<=a.o.status||(a.o={status:b,error:null},5==b&&a.B.resolve(void 0))}; uX=function(a,b){if(!a.fa()&&!a.isFinished()){var c=4<=a.o.status;a.o={status:Infinity,error:b};if(a.i&&a.g){var d=a.g.getVideoData().clientPlaybackNonce;a.i.Ma("gaplessError","cpn."+d+";msg."+b);a.l.M&&(d=a.i,d.O.ie=!1,c&&pK(d),d.l&&(c=d.l,c.g.tb=!1,c.l&&nH(c)))}a.B.reject(void 0);a.dispose()}}; wX=function(a){var b=a.i.g;b=b.isView()?b.i:0;var c=a.i.getVideoData().sa?Infinity:wK(a.i,!0);c=Math.min(a.R/1E3,c)+b;var d=a.D?100:0;a=c-a.g.getCurrentTime()+a.g.Ib()+d;return{WC:b,Qy:a,VC:c,Py:Infinity}}; AX=function(a){return{LA:a.u.g.g,WM:a.u.i.g}}; CX=function(a){g.A.call(this);var b=this;this.l=a;this.B=this.i=this.g=null;this.F=!1;this.A=null;this.o=Fma(g.X(this.l));this.u=null;this.D=function(){return g.dg(function(){return Ima(b)})}}; Jma=function(a,b,c,d){d=void 0===d?0:d;a.g&&DX(a);a.A=new SG;a.g=b;var e=c,f=a.l.yb(),k=f.getVideoData().sa?Infinity:1E3*wK(f,!0);e>k&&(e=k-a.o.H,a.F=!0);f.getCurrentTime()>=e/1E3?a.D():(a.i=f,a.l.addEventListener(g.tE("vqueued"),a.D),e=isFinite(e)||e/1E3>a.i.getDuration()?e:0x8000000000000,a.B=new g.qE(e,0x8000000000000,{namespace:"vqueued"}),a.i.addCueRange(a.B));f=d/=1E3;e=b.getVideoData().ia;if(d&&e&&a.i){k=d;var l=0;a.o.o&&b.getVideoData().sa&&(f=Math.min(c/1E3,wK(a.i,!0)),l=Math.max(0,f-a.i.getCurrentTime()), k=Math.min(d,wK(b)+l));f=Sfa(e,k)||d;f!=d&&a.g.Ma("qvaln","st."+d+";at."+f+";rm."+(l+";ct."+k))}b=f;a.g.getVideoData().Ci=!0;a.g.getVideoData().ie=!0;EJ(a.g,!0);d="";a.i&&(d=g.VD(a.i.u.o),e=a.i.getVideoData().clientPlaybackNonce,d="crt."+(1E3*d).toFixed()+";cpn."+e);a.g.Ma("queued",d);0!=b&&(d=a.o.o,a.o.i&&(b+=.01),a.g.seekTo(b,!0,void 0,d,a.o.I,a.o.i));a.u=new vX(a.o,a.l.yb(),a.g,c);c=a.u;Infinity!=c.o.status&&(yX(c,1),c.i.subscribe("internalvideodatachange",c.Lg,c),c.g.subscribe("internalvideodatachange", c.Lg,c),c.i.subscribe("mediasourceattached",c.Lg,c),c.g.subscribe("statechange",c.ey,c),c.Lg());return a.A}; Ima=function(a){var b,c;return xa(function(d){switch(d.g){case 1:if(a.fa()||!a.A)return d["return"]();a.F&&ZI(a.l.yb(),!0,!1);if(!a.u){d.g=2;break}b=Hma(a.u);if(!a.o.g){d.g=2;break}d.A=4;return ua(d,b,6);case 6:d.g=2;d.A=0;break;case 4:d.A=0,d.l=null;case 2:EX(a.l.app,a.g);var e=a.g.getPlayerType();g.LP(a.l.app,e);a.l.playVideo();c=a.A;DX(a);return d["return"](c.resolve(void 0))}})}; DX=function(a){a.i&&(a.l.removeEventListener(g.tE("vqueued"),a.D),a.i.removeCueRange(a.B),a.B.dispose(),a.i=null,a.B=null);if(a.u){if(!a.u.isFinished()){var b=a.u;Infinity!=b.o.status&&uX(b,"Canceled")}a.u=null}a.A=null;a.g=null;a.F=!1}; HX=function(a,b){g.A.call(this);var c=this;this.o=a||NaN;this.l=b||null;this.i=new g.J(function(){FX(c);GX(c)}); g.B(this,this.i);this.g=[]}; FX=function(a){var b=g.M();a.g.forEach(function(c){c.expire=c;c++)b.push(c/100);b={threshold:b};(this.g=window.IntersectionObserver?new IntersectionObserver((0,g.x)(this.l,this),b):null)&&this.g.observe(a)}; KX=function(a){var b=a.g;g.W.call(this,{C:"div",W:["html5-video-player"],L:{tabindex:"-1",id:a.ya.attrs.id},J:[{C:"div",G:"html5-video-container",L:{"data-layer":"0"}}]});b.transparentBackground&&this.In("ytp-transparent");g.bq(this.element,"version",a.ya.assets.js);this.app=a;this.u=this.i["html5-video-container"];this.o=new g.nh(0,0,0,0);this.l=null;this.F=new g.nh(0,0,0,0);this.I=this.T=this.P=NaN;this.B=!1;this.H=NaN;this.M=!1;this.D=null;this.addEventListener=(0,g.x)(this.element.addEventListener, this.element);this.removeEventListener=(0,g.x)(this.element.removeEventListener,this.element);this.dispatchEvent=function(){}; this.Y=(0,g.x)(function(){this.element.focus()},this); Cz(b)&&"blazer"!=b.playerStyle&&window.matchMedia&&(this.Z="desktop-polymer"==b.playerStyle?[{query:window.matchMedia("(max-width: 656px)"),size:new g.vd(426,240)},{query:window.matchMedia("(max-width: 856px)"),size:new g.vd(640,360)},{query:window.matchMedia("(max-width: 999px)"),size:new g.vd(854,480)},{query:window.matchMedia("(min-width: 1720px) and (min-height: 980px)"),size:new g.vd(1280,720)},{query:window.matchMedia("(min-width: 1294px) and (min-height: 630px)"),size:new g.vd(854,480)},{query:window.matchMedia("(min-width: 1000px)"), size:new g.vd(640,360)}]:[{query:window.matchMedia("(max-width: 656px)"),size:new g.vd(426,240)},{query:window.matchMedia("(min-width: 1720px) and (min-height: 980px)"),size:new g.vd(1280,720)},{query:window.matchMedia("(min-width: 1294px) and (min-height: 630px)"),size:new g.vd(854,480)},{query:window.matchMedia("(min-width: 657px)"),size:new g.vd(640,360)}]);this.X=b.useFastSizingOnWatchDefault;this.A=new g.vd(NaN,NaN);Kma(this);this.K(a.i,"mutedautoplaychange",this.MG)}; Kma=function(a){var b=a.app.i,c=(0,g.x)(a.hE,a),d=(0,g.x)(a.iE,a),e=(0,g.x)(a.LG,a),f=(0,g.x)(a.UD,a);b.addEventListener("initializingmode",c);b.addEventListener("videoplayerreset",d);b.addEventListener("videodatachange",e);b.addEventListener("presentingplayerstatechange",f);g.pf(a,function(){b.removeEventListener("initializingmode",c);b.removeEventListener("videoplayerreset",d);b.removeEventListener("videodatachange",e);b.removeEventListener("presentingplayerstatechange",f)})}; LX=function(a){a.l&&(a.l.removeEventListener("focus",a.Y),g.Wd(a.l),a.l=null)}; NX=function(a){var b=g.O(a.app.g.experiments,"html5_aspect_from_adaptive_format"),c=g.U(a.app);if(c=c?c.getVideoData():null){if(c.If()||c.Jf()||c.Df())return 16/9;if(b&&c.Im()&&c.va.g)return b=c.va.videoInfos[0].video,MX(b.width,b.height)}return(a=a.l)?MX(a.videoWidth,a.videoHeight):b?16/9:NaN}; OX=function(a,b,c,d){var e=c;isNaN(a.I)?isNaN(a.T)||(e=a.T):e=a.I;a=MX(b.width,b.height);isFinite(e)||(e=Math.max(c,a));var f;e>a?f={width:b.width,height:b.width/e,aspectRatio:e}:ee?f.width=f.height*c:cMath.abs(PX*b-a)||1>Math.abs(PX/a-b)?PX:a/b}; QX=function(a){if(1==a.app.R)return!1;if(6==a.app.R)return!0;var b=g.U(a.app);if(!b||JJ(b))return!1;var c=g.IK(a.app.i);a=!g.T(c,2)||!g.O(a.app.g.experiments,"html5_leanback_gapless_elem_display_killswitch")&&b&&b.getVideoData().ie;b=g.T(c,1024);return c&&a&&!b&&!c.isCued()}; uM=function(a){var b="3"==a.app.g.l&&!a.B&&QX(a)&&!a.app.Qa;a.l.controls=b;a.l.tabIndex=b?0:-1;b?a.l.removeEventListener("focus",a.Y):g.O(a.app.g.experiments,"disable_focus_redirect")||a.l.addEventListener("focus",a.Y)}; RX=function(a){var b=a.getPlayerSize(),c=1,d=!1,e=OX(a,b,a.getVideoAspectRatio()),f=qr();if(QX(a)){var k=NX(a);var l=isNaN(k)||g.hy||dI&&g.Hz;rr&&!g.ld(601)?k=e.aspectRatio:l=l||"3"==a.app.g.l;l?l=new g.nh(0,0,b.width,b.height):(c=e.aspectRatio/k,l=new g.nh((b.width-e.width/c)/2,(b.height-e.height)/2,e.width/c,e.height),1==c&&g.Hz&&(k=l.width-b.height*k,0Math.random()&&(this.ra("web_player_sentinel_is_uniplayer")||g.$p(Error("Player flag missing: web_player_sentinel_is_uniplayer")))}; Mma=function(a){var b=new bJ(a.g,1,a.ea,a.D,(0,g.x)(a.X.N,a.X),(0,g.x)(a.i.getVisibilityState,a.i),a.F);b.setPlaybackRate(a.g.i?1:ZX(a,parseFloat(g.It("yt-player-playback-rate"))||1));Xs(b,a.Mb,a);return b}; Lma=function(a){var b="",c=a.ya.assets;c=c?c.js||"":"";0==c.indexOf("//")&&(c=a.g.protocol+":"+c);"/base.js"==c.substr(-8)&&(b=c.substr(0,c.length-8)+"/");!g.O(a.g.experiments,"web_player_module_url_debug_killswitch")&&(c=Error().stack)&&(c=c.match(/\((.*?\/(debug-)?player-.*?):\d+:\d+\)/))&&(c=c[1],c.includes(b)||g.L(Error("Player module URL mismatch: "+(c+" vs "+b+".")),"WARNING"));b=new DV(a.i,b,a);c={};a=(c.destroyed=(0,g.x)(a.sI,a),c);b.ea=a;return b}; aY=function(a,b){var c=a.isVideoInfoVisible();a.aa||(a.aa=new XX(a),g.B(a,a.aa),g.XK(a.i,a.aa.element,4));g.sD(a.aa,b);$X(a)&&c!=b&&g.KK(a.o).zt();c=a.A;b&&c&&c.Ma("sfn","1",!0)}; cY=function(a){var b=bY.getTag(!0,!a.g.deviceHasDisplay);a.u=new g.LC(b);g.B(a,a.u);a.A&&UJ(a.A,a.u);try{a.g.ea?(a.Ia&&a.H.Na(a.Ia),a.Ia=a.H.K(a.u,"volumechange",a.XJ)):(a.u.setVolume(a.I.volume/100),a.u.Li(a.I.muted))}catch(d){var c="setvolume.1;emsg."+(d.message&&d.message.replace(/[;:,]/g,"_"));g.aJ(a.l,"html5.missingapi","UNSUPPORTED_DEVICE",c,void 0);return}g.Ws(a.oa);Sma(a);c=a.D;c.l=b;c.B=!1;c.l.parentNode||Vd(c.u,c.l,0);c.F=new g.nh(0,0,0,0);RX(c);uM(c);g.H(c.l,"video-stream");g.H(c.l,"html5-main-video"); b=c.app.g;b.Rb&&c.l.setAttribute("data-no-fullscreen",!0);b.mf&&(c.l.setAttribute("webkit-playsinline",""),c.l.setAttribute("playsinline",""));b.om&&c.l&&c.K(c.l,"click",c.l.play,c.l);try{a.u.pe()}catch(d){c="activate.1;emsg."+(d.message&&d.message.replace(/[;:,]/g,"_")),g.aJ(a.l,"html5.missingapi","UNSUPPORTED_DEVICE",c,void 0)}}; dY=function(a){a.u&&(a.Ia&&(a.H.Na(a.Ia),a.Ia=null),g.Ws(a.oa),a.A&&SJ(a.A,!0),LX(a.D),a.u.xg()&&bY.releaseTag(a.u.ha()),a.u=null)}; g.LP=function(a,b){var c=g.U(a,b);c||(c=eY(a,b),fY(a,c));cL(a,c)}; cL=function(a,b){if(a.A!=b){var c=null;a.A&&(c=a.A.getPlayerState(),LV(a.o,3),RK(a,"cuerangesremoved",OG(a.A.H)||[]),a.Ea&&!b.isGapless()&&a.A.isGapless()&&a.u&&a.u.stopVideo(),dL(a));fY(a,b);a.A=b;a.u&&UJ(b,a.u);Xs(b,a.ld,a);a.zr("newdata",b,b.getVideoData());c&&!g.VC(c,b.getPlayerState())&&a.Gz(new g.ZD(b.getPlayerState(),c));b.aa.isFinished()&&a.zr("dataloaded",b,b.getVideoData());(c=(c=b.getVideoData().za)&&c.video)&&a.i.la("onPlaybackQualityChange",c.quality);RK(a,"cuerangesadded",OG(a.A.H)|| []);a.ra("web_player_play_dompaused_presenting_killswitch")?g.XC(b.getPlayerState())?b.playVideo():g.T(b.getPlayerState(),2)&&gY(a):(c=b.getPlayerState(),g.T(c,2)?gY(a):g.T(c,8)&&b.playVideo())}}; gY=function(a){if(a.B&&g.fz(a.g)&&g.hY(a)){var b=g.O(a.g.experiments,"html5_player_autonav_logging");a.nextVideo(!1,b);b=!0}else b=!1;b||((b=a.l.g)&&b.Cj(),g.O(a.g.experiments,"web_player_state_on_player_change_killswitch")||iY(a,ZC(HK(a))))}; Sma=function(a){var b=a.u;sx()?a.oa.K(b,"webkitpresentationmodechanged",a.gL):tx()&&(a.oa.K(b,"enterpictureinpicture",function(){XI(a.F,!0)}),a.oa.K(b,"leavepictureinpicture",function(){XI(a.F,!1)})); !a.ra("web_player_ios_vis2_killswitch")&&gz&&(a.oa.K(b,"webkitbeginfullscreen",function(){jY(a,1)}),a.oa.K(b,"webkitendfullscreen",function(){jY(a,0)}))}; fY=function(a,b){if(b!=a.l){var c=b.getPlayerType();a.uc[c]=b}}; dL=function(a){var b;if(b=a.Z)b=a.u,b=!!b&&b==a.Z.l;b&&(dY(a),cY(a));a.A&&(SJ(a.A),Ys(a.A,a.ld,a));a.A=null}; g.U=function(a,b){return b?1==b?a.l:a.uc[b]||null:a.A}; eY=function(a,b){var c=a.ea;2==b&&(c=new nE(a.g));return new bJ(a.g,b,c,a.D,(0,g.x)(a.X.N,a.X),(0,g.x)(a.i.getVisibilityState,a.i),a.F)}; kY=function(a,b){return wM(a,b)?a.l:b}; lY=function(a,b){var c=a.A;return c&&b==a.l&&wM(a,b)&&wM(a,c)?c:b}; mY=function(a){var b=a.getVideoData(),c=10=c?d=c:(d=Math.floor(100*b+.001)%5,d=0==d?b:Math.floor(100*(b-.01*d)+.001)/100));return d}; xY=function(a,b){var c=g.U(a,b);return c?wM(a,c)?(c=kY(a,c),rK(c)-c.getCurrentTime()+a.getCurrentTime(b)):rK(c):0}; yY=function(a,b,c){if(wM(a,c)){c=c.getVideoData();a=a.na;for(var d=g.q(a.i),e=d.next();!e.done;e=d.next())if(e=e.value,c.hc==e.hc){b+=e.nd/1E3;break}d=b;a=g.q(a.i);for(e=a.next();!e.done;e=a.next()){e=e.value;if(c.hc==e.hc)break;var f=e.nd/1E3;if(fe?f=!0:1=f}}); la("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=za(this,b,"startsWith");b+="";for(var e=d.length,f=b.length,k=Math.max(0,Math.min(c|0,d.length)),l=0;l=f}}); la("String.prototype.repeat",function(a){return a?a:function(b){var c=za(this,null,"repeat");if(0>b||1342177279>>=1)c+=c;return d}}); la("Array.prototype.keys",function(a){return a?a:function(){return Aa(this,function(b){return b})}}); la("Array.prototype.values",function(a){return a?a:function(){return Aa(this,function(b,c){return c})}}); var Uma="function"==typeof Object.assign?Object.assign:function(a,b){for(var c=1;cb?-c:c}}); la("Array.prototype.fill",function(a){return a?a:function(b,c,d){var e=this.length||0;0>c&&(c=Math.max(0,e+c));if(null==d||d>e)d=e;d=Number(d);0>d&&(d=Math.max(0,e+d));for(c=Number(c||0);cf&&(f=Math.max(f+e,0));f>>0);faa=0;g.D=Date.now||function(){return+new Date};g.Sa(Ta,Error);Ta.prototype.name="CustomError";var Ad;g.Sa(Ua,Ta);Ua.prototype.name="AssertionError";var Za,nj;Za=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if(g.Da(a))return g.Da(b)&&1==b.length?a.indexOf(b,0):-1; for(var c=0;cc&&(c=Math.max(0,a.length+c));if(g.Da(a))return g.Da(b)&&1==b.length?a.lastIndexOf(b,c):-1;for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1}; g.y=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=g.Da(a)?a.split(""):a,f=0;f/g,Ab=/"/g,Bb=/'/g,Cb=/\x00/g,qaa=/[\x00&<>"']/;a:{var YY=g.u.navigator;if(YY){var ZY=YY.userAgent;if(ZY){g.Ib=ZY;break a}}g.Ib=""};var dc="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");var Xma={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};oc.prototype.Ef=!0;oc.prototype.ee=function(){return this.g}; oc.prototype.toString=function(){return"Const{"+this.g+"}"}; var nc={},mc={},Haa=g.qc("");var Yma=RegExp("[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]"),nW=RegExp("^[\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]"),QS=RegExp("^[^\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]*[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]"), PS=RegExp("^[^A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]*[\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]"),Zma=/^http:\/\/.*/,$ma=/\s+/,ana=/[\d\u06f0-\u06f9]/;sc.prototype.Ef=!0;sc.prototype.ee=function(){return this.i.toString()}; sc.prototype.Mq=!0;sc.prototype.g=function(){return 1}; var vaa=/%{(\w+)}/g,uaa=/^((https:)?\/\/[0-9a-z.:[\]-]+\/|\/[^/\\]|[^:/\\%]+\/|[^:/\\%]*[?#]|about:blank#)/i,rc={};g.xc.prototype.Ef=!0;g.xc.prototype.ee=function(){return this.i.toString()}; g.xc.prototype.Mq=!0;g.xc.prototype.g=function(){return 1}; var yaa=/^(?:audio\/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-wav|wav|webm)|image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)|text\/csv|video\/(?:mpeg|mp4|ogg|webm|quicktime))(?:;\w+=(?:\w+|"[\w;=]+"))*$/i,xaa=/^data:([^,]*);base64,[a-z0-9+\/]+=*$/i,Ac=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,wc={};Bc("about:blank");Fc.prototype.Ef=!0;var Ec={};Fc.prototype.ee=function(){return this.g}; var bna=Gc(""),Aaa=/^[-,."'%_!# a-zA-Z0-9\[\]]+$/,Jc=RegExp("\\b(url\\([ \t\n]*)('[ -&(-\\[\\]-~]*'|\"[ !#-\\[\\]-~]*\"|[!#-&*-\\[\\]-~]*)([ \t\n]*\\))","g"),Ic=RegExp("\\b(hsl|hsla|rgb|rgba|matrix|calc|minmax|fit-content|repeat|(rotate|scale|translate)(X|Y|Z|3d)?)\\([-+*/0-9a-z.%\\[\\], ]+\\)","g"),Baa=/\/\*/;Lc.prototype.Mq=!0;Lc.prototype.g=function(){return this.l}; Lc.prototype.Ef=!0;Lc.prototype.ee=function(){return this.i.toString()}; var $Y=/^[a-zA-Z0-9-]+$/,cna={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},dna={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},Kc={};Qc("",0);var Pc=Qc("",0);Qc("
",0);var Gaa=lc(function(){var a=document.createElement("div"),b=document.createElement("div");b.appendChild(document.createElement("div"));a.appendChild(b);b=a.firstChild.firstChild;a.innerHTML=g.Mc(Pc);return!b.parentElement});var Kaa=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)};hd[" "]=g.Ha;var dI,MY,aZ,bZ,ena,Xy,Yy,bK,cZ;g.Ch=Jb("Opera");g.Ld=Jb("Trident")||Jb("MSIE");g.hy=Jb("Edge");g.Gz=g.hy||g.Ld;g.Bh=Jb("Gecko")&&!(Eb(g.Ib,"WebKit")&&!Jb("Edge"))&&!(Jb("Trident")||Jb("MSIE"))&&!Jb("Edge");g.Nd=Eb(g.Ib,"WebKit")&&!Jb("Edge");dI=Jb("Macintosh");MY=Jb("Windows");g.tr=Jb("Android");aZ=fd();bZ=Jb("iPad");ena=Jb("iPod");Xy=gd();Yy=Eb(g.Ib,"KaiOS");bK=Eb(g.Ib,"GAFP"); a:{var dZ="",eZ=function(){var a=g.Ib;if(g.Bh)return/rv:([^\);]+)(\)|;)/.exec(a);if(g.hy)return/Edge\/([\d\.]+)/.exec(a);if(g.Ld)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(g.Nd)return/WebKit\/(\S+)/.exec(a);if(g.Ch)return/(?:Version)[ \/]?(\S+)/.exec(a)}(); eZ&&(dZ=eZ?eZ[1]:"");if(g.Ld){var fZ=jd();if(null!=fZ&&fZ>parseFloat(dZ)){cZ=String(fZ);break a}}cZ=dZ}var kd=cZ,Maa={},gZ;gZ=g.u.document&&g.Ld?jd():void 0;var Oaa=gZ;var Paa=!g.Ld||g.od(9),Raa=!g.Bh&&!g.Ld||g.Ld&&g.od(9)||g.Bh&&g.ld("1.9.1"),Taa=g.Ld||g.Ch||g.Nd;g.td.prototype.clone=function(){return new g.td(this.x,this.y)}; g.td.prototype.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this}; g.td.prototype.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this}; g.td.prototype.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};g.h=g.vd.prototype;g.h.clone=function(){return new g.vd(this.width,this.height)}; g.h.aspectRatio=function(){return this.width/this.height}; g.h.isEmpty=function(){return!xd(this)}; g.h.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this}; g.h.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this}; g.h.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};var Hd={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"};g.h=yd.prototype;g.h.ha=function(){return Cd(this.g,void 0)}; g.h.getElementsByTagName=function(a,b){return(b||this.g).getElementsByTagName(String(a))}; g.h.createElement=function(a){return this.g.createElement(String(a))}; g.h.appendChild=g.Td;g.h.append=function(a,b){Pd(zd(a),a,arguments,1)}; g.h.canHaveChildren=function(a){if(1!=a.nodeType)return!1;switch(a.tagName){case "APPLET":case "AREA":case "BASE":case "BR":case "COL":case "COMMAND":case "EMBED":case "FRAME":case "HR":case "IMG":case "INPUT":case "IFRAME":case "ISINDEX":case "KEYGEN":case "LINK":case "NOFRAMES":case "NOSCRIPT":case "META":case "OBJECT":case "PARAM":case "SCRIPT":case "SOURCE":case "STYLE":case "TRACK":case "WBR":return!1}return!0}; g.h.removeNode=g.Wd;g.h.contains=g.$d;var gz,jC;g.Vx=gc();gz=fd()||Jb("iPod");jC=Jb("iPad");g.Zy=g.jc();g.qx=hc();g.Hz=ic()&&!gd();var je=null,oe=null,ie=null;var Ke=0,Le=0;var re=[];qe.prototype.clone=function(){return se(this.i,this.o,this.l-this.o)}; qe.prototype.clear=function(){this.i=null;this.g=this.l=this.o=0;this.u=!1}; qe.prototype.reset=function(){this.g=this.o};we.prototype.reset=function(){this.g.reset();this.i=this.l=-1};Ce.prototype.length=function(){return this.g.length}; Ce.prototype.end=function(){var a=this.g;this.g=[];return a};Fe.prototype.reset=function(){this.l=[];this.g.end();this.i=0};var Ue="function"==typeof Uint8Array,Ve=[];Te.prototype.toString=function(){lf(this);return this.i.toString()}; Te.prototype.clone=function(){return new this.constructor(mf(jf(this)))};g.u.console&&"function"===typeof g.u.console.log&&(0,g.x)(g.u.console.log,g.u.console);var of={};var Jf=!g.Ld||g.od(9),fna=g.Ld&&!g.ld("9"),aba=function(){if(!g.u.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}}); try{g.u.addEventListener("test",g.Ha,b),g.u.removeEventListener("test",g.Ha,b)}catch(c){}return a}();g.A.prototype.ib=!1;g.A.prototype.fa=function(){return this.ib}; g.A.prototype.dispose=function(){this.ib||(this.ib=!0,this.U())}; g.A.prototype.U=function(){if(this.qh)for(;this.qh.length;)this.qh.shift()()};g.sf.prototype.stopPropagation=function(){this.wh=!0}; g.sf.prototype.preventDefault=function(){this.defaultPrevented=!0;this.tA=!1};var FW;FW=g.Nd?"webkitAnimationEnd":g.Ch?"oanimationend":"animationend";g.Sa(tf,g.sf);var gna={2:"touch",3:"pen",4:"mouse"}; tf.prototype.init=function(a,b){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;var e=a.relatedTarget;e?g.Bh&&(id(e,"nodeName")||(e=null)):"mouseover"==c?e=a.fromElement:"mouseout"==c&&(e=a.toElement);this.relatedTarget=e;d?(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.clientX=void 0!== a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=a.pointerId||0;this.pointerType=g.Da(a.pointerType)?a.pointerType:gna[a.pointerType]||"";this.state=a.state;this.g=a;a.defaultPrevented&&this.preventDefault()}; tf.prototype.stopPropagation=function(){tf.bb.stopPropagation.call(this);this.g.stopPropagation?this.g.stopPropagation():this.g.cancelBubble=!0}; tf.prototype.preventDefault=function(){tf.bb.preventDefault.call(this);var a=this.g;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,fna)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var Yaa;g.uf="closure_listenable_"+(1E6*Math.random()|0);Yaa=0;xf.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.listeners[f];a||(a=this.listeners[f]=[],this.g++);var k=Af(a,b,d,e);-1>>0);g.Sa(g.Qf,g.A);g.Qf.prototype[g.uf]=!0;g.h=g.Qf.prototype;g.h.ct=function(a){this.H=a}; g.h.addEventListener=function(a,b,c,d){g.Cf(this,a,b,c,d)}; g.h.removeEventListener=function(a,b,c,d){g.Kf(this,a,b,c,d)}; g.h.dispatchEvent=function(a){var b=this.H;if(b){var c=[];for(var d=1;b;b=b.H)c.push(b),++d}b=this.Z;d=a.type||a;if(g.Da(a))a=new g.sf(a,b);else if(a instanceof g.sf)a.target=a.target||b;else{var e=a;a=new g.sf(d,b);g.ec(a,e)}e=!0;if(c)for(var f=c.length-1;!a.wh&&0<=f;f--){var k=a.currentTarget=c[f];e=Tf(k,d,!0,a)&&e}a.wh||(k=a.currentTarget=b,e=Tf(k,d,!0,a)&&e,a.wh||(e=Tf(k,d,!1,a)&&e));if(c)for(f=0;!a.wh&&fc?"":0==c?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date((0,g.D)()+1E3*c)).toUTCString();this.g.cookie=a+"="+b+e+d+c+f}; g.h.get=function(a,b){for(var c=a+"=",d=(this.g.cookie||"").split(";"),e=0,f;e=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1}; g.h.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this}; g.h.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this}; g.h.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};g.h=g.nh.prototype;g.h.clone=function(){return new g.nh(this.left,this.top,this.width,this.height)}; g.h.contains=function(a){return a instanceof g.td?a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height:this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height}; g.h.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this}; g.h.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this}; g.h.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};var vh=null;rh.prototype.getName=function(){return this.u}; rh.prototype.getValue=function(){return this.g}; rh.prototype.i=function(){return String(this.g)}; g.Sa(sh,rh);sh.prototype.i=function(){return this.g?"1":"0"}; g.Sa(th,rh);th.prototype.i=function(){return this.g?Math.round(this.g.top)+"."+Math.round(this.g.left)+"."+(Math.round(this.g.top)+Math.round(this.g.height))+"."+(Math.round(this.g.left)+Math.round(this.g.width)):""};var Ah={};new g.Fg(200);var qk;qk=["av.key","js","unreleased"].slice(-1)[0];var mi=document,G=window;g.hZ={Vt:["BC","AD"],Ut:["Before Christ","Anno Domini"],hu:"JFMAMJJASOND".split(""),ru:"JFMAMJJASOND".split(""),ep:"January February March April May June July August September October November December".split(" "),jp:"January February March April May June July August September October November December".split(" "),hp:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),kp:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),pp:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "), mp:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),ip:"Sun Mon Tue Wed Thu Fri Sat".split(" "),lp:"Sun Mon Tue Wed Thu Fri Sat".split(" "),kC:"SMTWTFS".split(""),tu:"SMTWTFS".split(""),qu:["Q1","Q2","Q3","Q4"],lu:["1st quarter","2nd quarter","3rd quarter","4th quarter"],Zo:["AM","PM"],yl:["EEEE, MMMM d, y","MMMM d, y","MMM d, y","M/d/yy"],np:["h:mm:ss a zzzz","h:mm:ss a z","h:mm:ss a","h:mm a"],St:["{1} 'at' {0}","{1} 'at' {0}","{1}, {0}","{1}, {0}"],cj:6,Au:[5,6],dj:5}; g.hZ={Vt:["BC","AD"],Ut:["\uae30\uc6d0\uc804","\uc11c\uae30"],hu:"1\uc6d4 2\uc6d4 3\uc6d4 4\uc6d4 5\uc6d4 6\uc6d4 7\uc6d4 8\uc6d4 9\uc6d4 10\uc6d4 11\uc6d4 12\uc6d4".split(" "),ru:"1\uc6d4 2\uc6d4 3\uc6d4 4\uc6d4 5\uc6d4 6\uc6d4 7\uc6d4 8\uc6d4 9\uc6d4 10\uc6d4 11\uc6d4 12\uc6d4".split(" "),ep:"1\uc6d4 2\uc6d4 3\uc6d4 4\uc6d4 5\uc6d4 6\uc6d4 7\uc6d4 8\uc6d4 9\uc6d4 10\uc6d4 11\uc6d4 12\uc6d4".split(" "),jp:"1\uc6d4 2\uc6d4 3\uc6d4 4\uc6d4 5\uc6d4 6\uc6d4 7\uc6d4 8\uc6d4 9\uc6d4 10\uc6d4 11\uc6d4 12\uc6d4".split(" "), hp:"1\uc6d4 2\uc6d4 3\uc6d4 4\uc6d4 5\uc6d4 6\uc6d4 7\uc6d4 8\uc6d4 9\uc6d4 10\uc6d4 11\uc6d4 12\uc6d4".split(" "),kp:"1\uc6d4 2\uc6d4 3\uc6d4 4\uc6d4 5\uc6d4 6\uc6d4 7\uc6d4 8\uc6d4 9\uc6d4 10\uc6d4 11\uc6d4 12\uc6d4".split(" "),pp:"\uc77c\uc694\uc77c \uc6d4\uc694\uc77c \ud654\uc694\uc77c \uc218\uc694\uc77c \ubaa9\uc694\uc77c \uae08\uc694\uc77c \ud1a0\uc694\uc77c".split(" "),mp:"\uc77c\uc694\uc77c \uc6d4\uc694\uc77c \ud654\uc694\uc77c \uc218\uc694\uc77c \ubaa9\uc694\uc77c \uae08\uc694\uc77c \ud1a0\uc694\uc77c".split(" "), ip:"\uc77c\uc6d4\ud654\uc218\ubaa9\uae08\ud1a0".split(""),lp:"\uc77c\uc6d4\ud654\uc218\ubaa9\uae08\ud1a0".split(""),kC:"\uc77c\uc6d4\ud654\uc218\ubaa9\uae08\ud1a0".split(""),tu:"\uc77c\uc6d4\ud654\uc218\ubaa9\uae08\ud1a0".split(""),qu:["1\ubd84\uae30","2\ubd84\uae30","3\ubd84\uae30","4\ubd84\uae30"],lu:["\uc81c 1/4\ubd84\uae30","\uc81c 2/4\ubd84\uae30","\uc81c 3/4\ubd84\uae30","\uc81c 4/4\ubd84\uae30"],Zo:["\uc624\uc804","\uc624\ud6c4"],yl:["y\ub144 M\uc6d4 d\uc77c EEEE","y\ub144 M\uc6d4 d\uc77c", "y. M. d.","yy. M. d."],np:["a h\uc2dc m\ubd84 s\ucd08 zzzz","a h\uc2dc m\ubd84 s\ucd08 z","a h:mm:ss","a h:mm"],St:["{1} {0}","{1} {0}","{1} {0}","{1} {0}"],cj:6,Au:[5,6],dj:5};g.h=g.Zh.prototype;g.h.Vv=g.hZ.cj;g.h.Xv=g.hZ.dj;g.h.clone=function(){var a=new g.Zh(this.date);a.Vv=this.Vv;a.Xv=this.Xv;return a}; g.h.getFullYear=function(){return this.date.getFullYear()}; g.h.getMonth=function(){return this.date.getMonth()}; g.h.getDate=function(){return this.date.getDate()}; g.h.getTime=function(){return this.date.getTime()}; g.h.getDay=function(){return this.date.getDay()}; g.h.getUTCFullYear=function(){return this.date.getUTCFullYear()}; g.h.getUTCMonth=function(){return this.date.getUTCMonth()}; g.h.getUTCDate=function(){return this.date.getUTCDate()}; g.h.getUTCHours=function(){return this.date.getUTCHours()}; g.h.getUTCMinutes=function(){return this.date.getUTCMinutes()}; g.h.getTimezoneOffset=function(){return this.date.getTimezoneOffset()}; g.h.set=function(a){this.date=new Date(a.getFullYear(),a.getMonth(),a.getDate())}; g.h.add=function(a){if(a.g||a.months){var b=this.getMonth()+a.months+12*a.g,c=this.getFullYear()+Math.floor(b/12);b%=12;0>b&&(b+=12);a:{switch(b){case 1:var d=0!=c%4||0==c%100&&0!=c%400?28:29;break a;case 5:case 8:case 10:case 3:d=30;break a}d=31}d=Math.min(d,this.getDate());this.date.setDate(1);this.date.setFullYear(c);this.date.setMonth(b);this.date.setDate(d)}a.days&&(a=new Date((new Date(this.getFullYear(),this.getMonth(),this.getDate(),12)).getTime()+864E5*a.days),this.date.setDate(1),this.date.setFullYear(a.getFullYear()), this.date.setMonth(a.getMonth()),this.date.setDate(a.getDate()),Yh(this,a.getDate()))}; g.h.toString=function(){return[this.getFullYear(),g.$c(this.getMonth()+1,2),g.$c(this.getDate(),2)].join("")+""}; g.h.valueOf=function(){return this.date.valueOf()};var $h=g.Ha;var tba=/https?:\/\/[^\/]+/,rba={QN:"allow-forms",RN:"allow-modals",SN:"allow-orientation-lock",TN:"allow-pointer-lock",UN:"allow-popups",VN:"allow-popups-to-escape-sandbox",WN:"allow-presentation",XN:"allow-same-origin",YN:"allow-scripts",ZN:"allow-top-navigation",aO:"allow-top-navigation-by-user-activation"},wba=lc(function(){return sba()});var yba=lc(function(){var a=!1;try{var b=Object.defineProperty({},"passive",{get:function(){a=!0}}); g.u.addEventListener("test",null,b)}catch(c){}return a});var Nba={dQ:1,SQ:2,KP:3};var ki=!!window.google_async_iframe_id,li=ki&&window.parent||window;var zba=/^https?:\/\/(\w|-)+\.cdn\.ampproject\.(net|org)(\?|\/|$)/;g.Ci.prototype.clone=function(){return new g.Ci(this.start,this.end)}; g.Ci.prototype.getLength=function(){return this.end-this.start};var iZ=null;var Hi=g.u.performance,hna=!!(Hi&&Hi.mark&&Hi.measure&&Hi.clearMarks),Fi=lc(function(){var a;if(a=hna){var b;if(null===iZ){iZ="";try{a="";try{a=g.u.top.location.hash}catch(c){a=g.u.location.hash}a&&(iZ=(b=a.match(/\bdeid=([\d,]+)/))?b[1]:"")}catch(c){}}b=iZ;a=!!b.indexOf&&0<=b.indexOf("1337")}return a}); Gi.prototype.disable=function(){this.g=!1;this.events!=this.i.google_js_reporting_queue&&(Fi()&&(0,g.y)(this.events,Ii),this.events.length=0)}; Gi.prototype.start=function(a,b){if(!this.g)return null;var c=Ei()||Di();c=new Cba(a,b,c);var d="goog_"+c.label+"_"+c.uniqueId+"_start";Hi&&Fi()&&Hi.mark(d);return c}; Gi.prototype.end=function(a){if(this.g&&g.Fa(a.value)){var b=Ei()||Di();a.duration=b-a.value;b="goog_"+a.label+"_"+a.uniqueId+"_end";Hi&&Fi()&&Hi.mark(b);!this.g||2048=k;k=!(0=k)||c;this.g[e].update(f&&l,d,!f||k)}};Fk.prototype.update=function(a,b,c,d){this.B=-1!=this.B?Math.min(this.B,b.Xa):b.Xa;this.I=Math.max(this.I,b.Xa);this.R=-1!=this.R?Math.min(this.R,b.Gc):b.Gc;this.P=Math.max(this.P,b.Gc);this.oa.update(b.Gc,c.Gc,b.g,a,d);this.l.update(b.Xa,c.Xa,b.g,a,d);c=d||c.hh!=b.hh?c.isVisible()&&b.isVisible():c.isVisible();b=!b.isVisible()||b.g;this.Y.update(c,a,b)}; Fk.prototype.jh=function(){return this.Y.l>=this.ga};var Hk=new g.kh(0,0,0,0);g.t(Jk,g.A);g.h=Jk.prototype;g.h.U=function(){this.element&&(this.Sg.ks&&(ii(this.element,"mouseover",this.Sg.ks),this.Sg.ks=null),this.Sg.hs&&(ii(this.element,"mouseout",this.Sg.hs),this.Sg.hs=null));this.dl&&this.dl.dispose();this.Sa&&this.Sa.dispose();delete this.gn;delete this.hn;delete this.lB;delete this.element;delete this.xj;delete this.Sg;delete this.dl;delete this.Sa;delete this.Ja;g.A.prototype.U.call(this)}; g.h.Qd=function(){return this.Sa?this.Sa.i:this.position}; g.h.Cs=function(a){xj.getInstance().Cs(a)}; g.h.Cf=function(){}; g.h.eh=function(){}; g.h.df=function(){return!1}; g.h.Am=function(){return new Fk}; g.h.qd=function(){return this.gn}; g.h.Ax=function(){}; g.h.zx=function(){}; g.h.Hw=function(){}; g.h.Ho=function(){}; g.h.kl=function(a,b,c,d,e,f,k,l){f=void 0===f?{}:f;k=void 0===k?this.xw(c,f):k;l=void 0===l?-1:l;if(!this.Kf){g.Fa(b)||(this.Ek=new g.td(a.left-b.left,a.top-b.top));if(this.im){f=this.zp(a,b,d,f,l);e=e&&this.Qb.Xa>=(this.hh()?.3:.5);this.Gt(k,f,e);this.li=c;0=Vj(this.Qd())||Xj(c,b,this.xj,d))return 0;d=Vj(c)/Vj(this.Qd());c=Wj(c,b);return this.Zk()?Math.max(d,c):d}; g.h.hh=function(){return!1}; g.h.Zk=function(){return!1}; g.h.fe=function(){return 0}; g.h.jh=function(){return this.gn.jh()};var Pk="StopIteration"in g.u?g.u.StopIteration:{message:"StopIteration",stack:""};Ok.prototype.next=function(){throw Pk;}; Ok.prototype.nf=function(){return this};g.t(Tk,Qi);Xk.prototype.getValue=function(){return this.i}; Xk.prototype.update=function(a,b){32<=a||(this.g&1<=c||(c=g.w("ima.bridge.getNativeViewability"),g.Ma(c)&&(c(this.gc,function(d){b.ma=!1;b.F&&(b.ya=!0);g.Xb(d)&&b.wa++;b.Ho(d)}),this.ma=!0,this.Qa=a))}; g.h.zx=function(a){var b=xj.getInstance();a-this.Ia>ej(b.l)&&(a=g.w("ima.admob.getViewability"),g.Ma(a)&&a(this.gc))}; g.h.Hw=function(a){this.Ia=$i();this.Ho(a)}; g.h.Ho=function(a){var b=a.opt_nativeViewBounds||{},c=a.opt_nativeViewVisibleBounds||{},d=a.opt_nativeTime||-1,e=a.opt_nativeVolume;b=new g.kh(b.top||0,b.left+b.width||0,b.top+b.height||0,b.left||0);a=a.opt_nativeViewHidden?jna.clone():new g.kh(c.top||0,c.left+c.width||0,c.top+c.height||0,c.left||0);c=void 0;if("n"==this.u||"ml"==this.u)c={volume:e};e=c;e=void 0===e?{}:e;this.position=b;this.kl(b,a,d,!1,!0,e)}; g.h.kl=function(a,b,c,d,e,f,k,l){var m=this;f=void 0===f?{}:f;var n=this.oa(this)||{};g.ec(n,f);this.A=n.duration||this.A;this.H=n.isVpaid||this.H;this.ea=n.isYouTube||this.ea;Jk.prototype.kl.call(this,a,b,c,d,e,n,k,l);(1!=Yi(xj.getInstance().Ja,"buvpe")||this.kh&&this.kh.g)&&(0,g.y)(this.B,function(p){p.g||(p.g=al(p,m))})}; g.h.Gt=function(a,b,c){Jk.prototype.Gt.call(this,a,b,c);el(this).update(a,b,this.Qb,c);this.ga=Uk(this.Qb)&&Uk(b);-1==this.T&&this.Ca&&(this.T=this.qd().g.g);this.yc.l=0;a=this.Qb;b=this.jh();.5<=a.Xa&&Vk(this.yc,"vs");b&&Vk(this.yc,"vw");Nj(a.volume)&&Vk(this.yc,"am");this.ga&&Vk(this.yc,"a");this.ci&&Vk(this.yc,"f");-1!=a.i&&(Vk(this.yc,"bm"),1==a.i&&Vk(this.yc,"b"));this.ga&&b&&Vk(this.yc,"avw");0e?1:d}e=c-this.R;var f=0;0<=e?(this.I+=d,this.aa+=Math.max(d-e,0),f=Math.min(e,this.I)):this.na+=Math.abs(e);0!=e&&(this.I=0);-1==this.xa&&0=a.bottom||a.left>=a.right?new g.kh(0,0,0,0):a;a=this.g.g;var c=0,d=0,e=0;0<(this.i.bottom-this.i.top)*(this.i.right-this.i.left)&&(this.Zw(b)?b=new g.kh(0,0,0,0):(c=Pj.getInstance().u,e=new g.kh(0,c.height,c.width,0),c=Wj(b,this.i),d=Wj(b,Pj.getInstance().g),e=Wj(b,e)));b=b.top>=b.bottom||b.left>=b.right?new g.kh(0,0,0,0):mh(b,-this.i.left,-this.i.top);this.o=new Zj(a,this.element,this.i,b,c,d,0,e)}; g.h.getName=function(){return this.u.getName()}; g.h.Cf=function(a){if(!this.element){var b=Pj.getInstance().A;this.i=b?b:new g.kh(0,0,0,0)}jk.prototype.Cf.call(this,a)};g.t(Al,kk);g.h=Al.prototype;g.h.getName=function(){return(this.i?this.i:this.g).getName()}; g.h.yf=function(){return(this.i?this.i:this.g).yf()}; g.h.Af=function(){return(this.i?this.i:this.g).Af()}; g.h.init=function(a){this.o=a;(0,g.y)(this.l,function(b){return b.initialize()}); ek(this.g,this);return!0}; g.h.dispose=function(){(0,g.y)(this.l,function(a){a.dispose()}); kk.prototype.dispose.call(this)}; g.h.Oi=function(){return(0,g.Oj)(this.l,function(a){return a.Oi()})}; g.h.Je=function(){return(0,g.Oj)(this.l,function(a){return a.Je()})}; g.h.vr=function(a,b,c){return new zl(a,this.g,b,c)}; g.h.eh=function(a){0==a.Af()&&this.o(a.Ij(),this)}; g.h.Cf=function(a){this.i=a.l}; g.h.df=function(){return!1};g.t(Bl,zl);g.h=Bl.prototype;g.h.wr=function(){var a=this;this.H||(this.H=$i());if(Gj(298,function(){return Hca(a)}))return!0; dk(this.g,"msf");return!1}; g.h.Rl=function(){}; g.h.Zw=function(){return!1}; g.h.Vu=function(){}; g.h.yf=function(){var a={};return Object.assign(this.g.yf(),(a.niot_obs=this.H,a.niot_cbk=this.F,a))};var Gca={threshold:[0,.3,.5,.75,1]};g.t(Dl,Bl);Dl.prototype.getName=function(){return"nio"}; Dl.prototype.mn=function(){if(this.l&&this.element)try{this.l.unobserve(this.element),this.B?(this.B.unobserve(this.element),this.B=null):this.A&&(this.A.disconnect(),this.A=null)}catch(a){}}; Dl.prototype.rf=function(){var a=El(this);0=e?1:0})}}("qnc",[1, .5,0]),qmv:"qmv",qa:"qas",a:"a"};g.t(dm,$k);dm.prototype.l=function(a){return a.qd().jh()};g.t(gm,Mca);gm.prototype.g=function(a){var b=new em;b.g=fm(a,lna);b.l=fm(a,nna);return b};var Nca=new g.kh(0,0,0,0);g.t(hm,zl);g.h=hm.prototype;g.h.wr=function(){jm(this);return!0}; g.h.Cf=function(){zl.prototype.rf.call(this)}; g.h.Wu=function(){}; g.h.Rl=function(){}; g.h.rf=function(){jm(this);zl.prototype.rf.call(this)};g.t(im,hm);im.prototype.getName=function(){return"nis"};g.t(km,kk);km.prototype.Oi=function(){return 1===Yi(xj.getInstance().Ja,"imams")&&this.Je()}; km.prototype.getName=function(){return"nis"}; km.prototype.Je=function(){var a=Pj.getInstance();xj.getInstance();return a.o&&!1}; km.prototype.vr=function(a,b,c){return new im(this.g,b,c)};var Oca={NN:"addEventListener",YO:"getMaxSize",ZO:"getScreenSize",aP:"getState",bP:"getVersion",mQ:"removeEventListener"};g.t(lm,bk);g.h=lm.prototype;g.h.Je=function(){return null!=this.i}; g.h.yf=function(){var a={};this.T&&(a.mraid=this.T);this.M&&(a.mlc=1);this.H&&(a.mtop=this.H);this.F&&(a.mse=this.F);return a}; g.h.Ii=function(a,b){for(var c=[],d=1;d=d);return d})};g.t(Im,$k);Im.prototype.l=function(a){var b=Ak(a.qd().i,1);return hl(a,b)};var Km=(0,g.D)(),Mm=!1,Nm=!1,Om=!1,cda=[function(a){return!(!a.chrome||!a.chrome.webstore)}, function(a){return!!a.document.documentMode}, function(a){return!!a.document.fonts.ready}, function(){return Lm(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 Lm(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 Lm(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 Lm(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 Lm(4)}, function(a){return"srcset"in a.document.createElement("img")}, function(){return Nm}, function(){return Om}, function(){return Lm(5)}, function(a){a=a.document.createElement("div");a.style.width="1px";a.style.width="-webkit-min-content";a.style.width="min-content";return"1px"!=a.style.width}, function(a){a=a.document.createElement("div");a.style.width="1px";a.style.width="calc(1px - 1px)";a.style.width="-webkit-calc(1px - 1px)";return"1px"!=a.style.width}, function(){var a=!1;eval('var DummyFunction1 = function(x){ "use strict"; var a = 12; b = a + x*35; }');try{DummyFunction1()}catch(b){a=!0}return a}, function(){var a=!1;try{DummyFunction2()}catch(b){a=!0}return a}, function(){return!1}, function(){return Lm(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]||Jm(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 Jm(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 Lm(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 Jm(a.CSS.supports)}, function(){return Jm(Intl.Collator)}, function(a){return Jm(a.document.createElement("dialog").show)}, function(){return Lm(8)}, function(a){return Jm(a.document.createElement("div").animate([{transform:"scale(1)",easing:"ease-in"},{transform:"scale(1.3)",easing:"ease-in"}],{duration:1300,iterations:1}).reverse)}, function(a){return Jm(a.document.createElement("div").animate)}, function(a){return Jm(a.document.documentElement.webkitRequestFullScreen)}, function(a){return Jm(a.navigator.getBattery)}, function(a){return Jm(a.navigator.permissions.query)}, function(){return!1}, function(){return Lm(9)}, function(){return Jm(webkitRequestAnimationFrame)}, function(a){return Jm(a.BroadcastChannel.call)}, function(a){return Jm(a.FontFace)}, function(a){return Jm(a.Gamepad)}, function(){return Lm(10)}, function(a){return Jm(a.MutationEvent)}, function(a){return Jm(a.MutationObserver)}, function(a){return Jm(a.crypto.getRandomValues)}, function(a){return Jm(a.document.body.createShadowRoot)}, function(a){return Jm(a.document.body.webkitCreateShadowRoot)}, function(a){return Jm(a.fetch)}, function(){return Lm(11)}, function(a){return Jm(a.navigator.serviceWorker.register)}, function(a){return Jm(a.navigator.webkitGetGamepads)}, function(a){return Jm(a.speechSynthesis.speak)}, function(a){return Jm(a.webkitRTCPeerConnection)}, function(a){return a.CSS.supports("--fake-var","0")}, function(){return Lm(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 Lm(13)}, function(a){return a.CSS.supports("position","sticky")}, function(a){return void 0===a.document.createElement("style").scoped}, function(a){return a.performance.getEntriesByType("resource")instanceof Array}, function(){return"undefined"==typeof InstallTrigger}, function(){return"object"==typeof(new Intl.Collator).resolvedOptions()}, function(a){return"boolean"==typeof a.navigator.onLine}, function(){return Lm(14)}, function(a){return"undefined"==typeof a.navigator.yR}, function(a){return"number"==typeof a.performance.now()}, function(){return 0==(new Uint16Array(1))[0]}, function(a){return-1==a.ActiveXObject.toString().indexOf("native")}, function(a){return-1==Object.prototype.toString.call(a.HTMLElement).indexOf("Constructor")}],dda=[function(a){a=a.document.createElement("div"); var b=null,c=["{45EA75A0-A269-11D1-B5BF-0000F8051515}","{3AF36230-A269-11D1-B5BF-0000F8051515}","{89820200-ECBD-11CF-8B85-00AA005B4383}"];try{a.style.behavior="url(#default#clientcaps)"}catch(e){}for(var d=0;dthis.l?this.i:2*this.i)-this.l);a[0]=128;for(var b=1;bb;++b)for(var d=0;32>d;d+=8)a[c++]=this.g[b]>>>d&255;return a};g.t(Rm,gm);Rm.prototype.g=function(a){var b=gm.prototype.g.call(this,a);var c=Km=(0,g.D)();var d=Lm(5);c=(Nm?!d:d)?c|2:c&-3;d=Lm(2);c=(Om?!d:d)?c|8:c&-9;c={s1:(c>>>0).toString(16)};this.i||(this.i=fda());b.u=this.i;b.A=fm(a,mna,c,"h",Sm("kArwaWEsTs"));b.o=fm(a,ona,{},"h",Sm("b96YPMzfnx"));b.i=fm(a,pna,{},"h",Sm("yb8Wev6QDg"));return b};Tm.prototype.report=function(a,b){var c=this.g(b);if(g.Ma(c)){var d={};d=(d.sv="765",d.cb="j",d.e=gda(a),d);var e=ml(b,a,Sj());g.ec(d,e);b.yB[a]=e;d=2==b.fe()?Yba(d).join("&"):this.l.g(d).g;try{return c(b.gc,d,a),0}catch(f){return 2}}else return 1}; Tm.prototype.g=function(){return g.w(this.i)};g.t(Um,Tm);Um.prototype.g=function(a){if(!a.Cg)return Tm.prototype.g.call(this,a);var b=this.o[a.Cg];if(b)return function(c,d,e){b.i(c,d,e)}; Jj(393,Error());return null};g.t(Vm,tm);g.h=Vm.prototype;g.h.Oj=function(a,b){var c=this,d=xj.getInstance(),e=xl.getInstance();if(null!=e.g)switch(e.g.getName()){case "nis":var f=Xm(this,a,b)}else switch(d.Sa){case "nis":f=Xm(this,a,b);break;case "gsv":f=jda(this,a,b);break;case "exc":f=kda(this,a)}f||(b.opt_overlayAdElement?f=void 0:b.opt_adElement?f=Vca(this,a,b.opt_adElement,b.opt_osdId):f=rl(tl,a)||void 0);f&&1==f.fe()&&(f.oa==g.Ha&&(f.oa=function(k){return c.Bx(k)}),hda(this,f,b)); return f}; g.h.Bx=function(a){a.i=0;a.P=0;if("h"==a.u||"n"==a.u){if(ida())var b=g.w("ima.bridge.getVideoMetadata");else if(a.Cg&&$m(this)){var c=this.D[a.Cg];c?b=function(e){return c.g(e)}:null!==c&&Jj(379,Error())}else b=g.w("ima.common.getVideoMetadata"); if(g.Ma(b))try{var d=b(a.gc)}catch(e){a.i|=4}else a.i|=2}else if("b"==a.u)if(b=g.w("ytads.bulleit.getVideoMetadata"),g.Ma(b))try{d=b(a.gc)}catch(e){a.i|=4}else a.i|=2;else if("ml"==a.u)if(b=g.w("ima.common.getVideoMetadata"),g.Ma(b))try{d=b(a.gc)}catch(e){a.i|=4}else a.i|=2;else a.i|=1;a.i||(g.Ca(d)?null===d?a.i|=16:g.Xb(d)?a.i|=32:null!=d.errorCode&&(a.P=d.errorCode,a.i|=64):a.i|=8);null!=d||(d={});Wca(d,a);Nj(d.volume)&&Nj(this.A)&&(d.volume*=this.A);return d}; g.h.Bv=function(){if($m(this))return new Um("ima.common.triggerExternalActivityEvent",this.l,this.D);var a=lda(this);return null!=a?new Tm(a,this.l):null}; g.h.wq=function(){var a=this.i,b=tm.prototype.wq.call(this);b.push(new Im(a));return b}; g.h.Os=function(a){!a.g&&a.Kf&&Am(this,a,"overlay_unmeasurable_impression")&&(a.g=!0)}; g.h.nA=function(a){a.MA&&(a.jh()?Am(this,a,"overlay_viewable_end_of_session_impression"):Am(this,a,"overlay_unviewable_impression"),a.MA=!1)}; g.h.Hq=function(a){this.u&&1==a.fe()&&an(this,a)}; g.h.Vs=function(a){this.u&&1==a.fe()&&an(this,a)}; g.h.ho=function(a,b,c,d){a=tm.prototype.ho.call(this,a,b,c,d);this.B&&(b=this.F,null==a.l&&(a.l=new Sk),b.g[a.gc]=a.l,a.l.u=kna);return a}; g.h.wj=function(a){a&&1==a.fe()&&this.B&&delete this.F.g[a.gc];return tm.prototype.wj.call(this,a)}; Ia(Vm);var Ym=new em;Ym.u="stopped";Ym.g="stopped";Ym.l="stopped";Ym.A="stopped";Ym.o="stopped";Ym.i="stopped";Object.freeze(Ym);var qna=Hj(193,cn,void 0,Dm);g.Ga("Goog_AdSense_Lidar_sendVastEvent",qna,void 0);var rna=Hj(194,function(a,b){b=void 0===b?{}:b;var c=Zm(Vm.getInstance(),a,b);return bn(c)}); g.Ga("Goog_AdSense_Lidar_getViewability",rna,void 0);var sna=Hj(195,function(){return qj()}); g.Ga("Goog_AdSense_Lidar_getUrlSignalsArray",sna,void 0);var tna=Hj(196,function(){return g.Kg(qj())}); g.Ga("Goog_AdSense_Lidar_getUrlSignalsList",tna,void 0);var uea=(new Date).getTime();g.h=g.gn.prototype;g.h.Bc=function(){jn(this);for(var a=[],b=0;b2*this.Da&&jn(this),!0):!1}; g.h.get=function(a,b){return hn(this.i,a)?this.i[a]:b}; g.h.set=function(a,b){hn(this.i,a)||(this.Da++,this.g.push(a),this.Jg++);this.i[a]=b}; g.h.forEach=function(a,b){for(var c=this.Pd(),d=0;d=d.g.length)throw Pk;var f=d.g[b++];return a?f:d.i[f]}; return e};g.kn.prototype.toString=function(){var a=[],b=this.o;b&&a.push(rn(b,qZ,!0),":");var c=this.g;if(c||"file"==b)a.push("//"),(b=this.D)&&a.push(rn(b,qZ,!0),"@"),a.push(g.Wc(c).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.u,null!=c&&a.push(":",String(c));if(c=this.i)this.g&&"/"!=c.charAt(0)&&a.push("/"),a.push(rn(c,"/"==c.charAt(0)?una:vna,!0));(c=this.l.toString())&&a.push("?",c);(c=this.A)&&a.push("#",rn(c,wna));return a.join("")}; g.kn.prototype.resolve=function(a){var b=this.clone(),c=!!a.o;c?g.ln(b,a.o):c=!!a.D;c?b.D=a.D:c=!!a.g;c?g.mn(b,a.g):c=null!=a.u;var d=a.i;if(c)g.nn(b,a.u);else if(c=!!a.i){if("/"!=d.charAt(0))if(this.g&&!this.i)d="/"+d;else{var e=b.i.lastIndexOf("/");-1!=e&&(d=b.i.substr(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(-1!=e.indexOf("./")||-1!=e.indexOf("/.")){d=ub(e,"/");e=e.split("/");for(var f=[],k=0;k"';b?On.fx(function(d){On.AA(d?c:'javascript:""')}):On.AA(c)}}, AA:function(a){var b=g.Qd("IFRAME",{src:a,style:"display:none"});a=zd(b).body;var c=g.Gg(function(){g.Lf(d);g.Wd(b)},On.dC); var d=Bf(b,["load","error"],function(){g.Gg(function(){g.u.clearTimeout(c);g.Wd(b)},On.cC)}); a.appendChild(b)}, fx:function(a,b){var c=On.Rf.imageLoadingEnabled;if(null!=c)a(c);else{var d=!1;c=function(e,f){delete On.Rf[f];d||(d=!0,null!=On.Rf.imageLoadingEnabled||(On.Rf.imageLoadingEnabled=e),a(e))}; b?b(c):On.IE(c)}}, IE:function(a){var b=new Image,c=""+On.Op++;On.Rf[c]=b;b.onload=function(){clearTimeout(d);a(!0,c)}; var d=setTimeout(function(){a(!1,c)},300); b.src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="}, OM:function(a){if(a){var b=g.Rd("OBJECT");b.data=a;b.width="1";b.height="1";b.style.visibility="hidden";var c=""+On.Op++;On.Rf[c]=b;b.onload=b.onerror=function(){delete On.Rf[c]}; document.body.appendChild(b)}}, BA:function(a){if(a){var b=new Image,c=""+On.Op++;On.Rf[c]=b;b.onload=b.onerror=function(){delete On.Rf[c]}; b.src=a}}, Tk:function(a,b,c){if(a){if(c)try{if(g.u.navigator&&g.u.navigator.sendBeacon&&g.u.navigator.sendBeacon(a,""))return}catch(d){}b?On.fx(function(d){d?On.BA(a):On.OM(a)}):On.BA(a)}}, uD:function(a){a=g.zc(g.Cc(a));if("about:invalid#zClosurez"===a)return"";a=g.Mc(Oc(a)).toString();return g.Wc(g.Kg(a))}};g.Sa(g.yn,g.A);var rZ=[];g.h=g.yn.prototype;g.h.da=function(a,b,c,d){g.Ka(b)||(b&&(rZ[0]=b.toString()),b=rZ);for(var e=0;e=f-l.width&&42>=k-l.height}b.opt_fullscreen=f}null!=b.opt_adElement||(b.opt_adElement=e)}c=jZ.Mk(471,g.Qa(cn,a,c,b),void 0)||{}}else c={};d.viewabilityData=c;this.g.send("activityMonitor","viewability",d);break;case "fetchAdTagUrl":c={},c.eventId=b.eventId,e=b.osdId,d= null,Tb(b,"isFullscreen")&&(d=b.isFullscreen),Tb(b,"loggingId")&&(a=b.loggingId,c.loggingId=a,Wn.getInstance().report(43,{step:"beforeLookup",logid:a,time:(0,g.D)()},!0)),c.engagementString=Lda(this,e,d),this.g.send("activityMonitor","engagement",c)}}; g.Ga("ima.common.getVideoMetadata",function(a){a=ho().A.get(a);return g.Ma(a)?a():{}},void 0); g.Ga("ima.common.triggerViewEvent",function(a,b){var c={};c.queryId=a;c.viewabilityString=b;var d=ho().g;d?d.send("activityMonitor","viewableImpression",c):ho().dispatchEvent(new Cn("viewable_impression",null,c))},void 0); g.Ga("ima.common.triggerViewabilityMeasurementUpdate",function(a,b){var c=ho().g,d={};d.queryId=a;d.viewabilityData=b;c&&c.send("activityMonitor","viewabilityMeasurement",d)},void 0); g.Ga("ima.common.triggerMeasurableEvent",function(a,b){var c={};c.queryId=a;c.viewabilityString=b;var d=ho().g;d?d.send("activityMonitor","measurableImpression",c):ho().dispatchEvent(new Cn("measurable_impression",null,c))},void 0); g.Ga("ima.common.triggerExternalActivityEvent",function(a,b,c){var d={};d.queryId=a;d.viewabilityString=b;d.eventName=c;(a=ho().g)?a.send("activityMonitor","externalActivityEvent",d):ho().dispatchEvent(new Cn("externalActivityEvent",null,d))},void 0); ho();g.jo.prototype.g=function(a){var b=0,c=0,d=!1;a=a.split($ma);for(var e=0;e.");if("DIV"in dna)throw Error("Tag name
is not allowed for SafeHtml.");c=null;var d="";if(b)for(n in b){if(!$Y.test(n))throw Error('Invalid attribute name "'+n+'".');var e=b[n];if(null!=e){var f=n;var k=e;if(k instanceof oc)k= pc(k);else if("style"==f.toLowerCase()){e=void 0;if(!g.Na(k))throw Error('The "style" attribute requires goog.html.SafeStyle or map of style properties, '+typeof k+" given: "+k);if(!(k instanceof Fc)){var l="";for(e in k){if(!/^[-_a-zA-Z0-9]+$/.test(e))throw Error("Name allows only [-_a-zA-Z0-9], got: "+e);var m=k[e];null!=m&&(m=g.Ka(m)?(0,g.ge)(m,Hc).join(" "):Hc(m),l+=e+":"+m+";")}k=l?Gc(l):bna}k instanceof Fc&&k.constructor===Fc&&k.i===Ec?e=k.g:(Ja(k),e="type_error:SafeStyle");k=e}else{if(/^on/i.test(f))throw Error('Attribute "'+ f+'" requires goog.string.Const value, "'+k+'" given.');if(f.toLowerCase()in cna)if(k instanceof sc)k=tc(k).toString();else if(k instanceof g.xc)k=g.zc(k);else if(g.Da(k))k=g.Cc(k).ee();else throw Error('Attribute "'+f+'" on tag "div" requires goog.html.SafeUrl, goog.string.Const, or string, value "'+k+'" given.');}k.Ef&&(k=k.ee());f=f+'="'+Db(String(k))+'"';d+=" "+f}}var n="":(c=Faa(d),n+=">"+g.Mc(c).toString()+"
",c=c.g());(b= b&&b.dir)&&(/^(ltr|rtl|auto)$/i.test(b)?c=0:c=null);b=Qc(n,c);g.Sc(a,b);return""!=g.Dh(a.firstChild,"transition")});g.Sa(yo,g.to);g.h=yo.prototype;g.h.play=function(){if(1==this.g)return!1;this.o();this.be("play");this.startTime=(0,g.D)();this.g=1;if(zna())return g.zh(this.i,this.F),this.A=g.Gg(this.qM,void 0,this),!0;this.xq(!1);return!1}; g.h.qM=function(){g.Sh(this.i);Oda(this.i,this.D);g.zh(this.i,this.u);this.A=g.Gg((0,g.x)(this.xq,this,!1),1E3*this.B)}; g.h.stop=function(){1==this.g&&this.xq(!0)}; g.h.xq=function(a){g.zh(this.i,"transition","");g.u.clearTimeout(this.A);g.zh(this.i,this.u);this.endTime=(0,g.D)();this.g=0;a?this.be("stop"):this.ed();this.l()}; g.h.U=function(){this.stop();yo.bb.U.call(this)}; g.h.pause=function(){};g.Sa(g.Ao,g.A);g.h=g.Ao.prototype;g.h.start=function(){this.stop();this.o=!1;var a=Bo(this),b=Co(this);a&&!b&&this.i.mozRequestAnimationFrame?(this.g=g.Cf(this.i,"MozBeforePaint",this.l),this.i.mozRequestAnimationFrame(null),this.o=!0):this.g=a&&b?a.call(this.i,this.l):this.i.setTimeout(raa(this.l),20)}; g.h.Qj=function(){this.isActive()||this.start()}; g.h.stop=function(){if(this.isActive()){var a=Bo(this),b=Co(this);a&&!b&&this.i.mozRequestAnimationFrame?g.Lf(this.g):a&&b?b.call(this.i,this.g):this.i.clearTimeout(this.g)}this.g=null}; g.h.isActive=function(){return null!=this.g}; g.h.CD=function(){this.o&&this.g&&g.Lf(this.g);this.g=null;this.A.call(this.u,(0,g.D)())}; g.h.U=function(){this.stop();g.Ao.bb.U.call(this)};g.Sa(g.J,g.A);g.h=g.J.prototype;g.h.Rj=0;g.h.U=function(){g.J.bb.U.call(this);this.stop();delete this.g;delete this.i}; g.h.start=function(a){this.stop();this.Rj=g.Gg(this.l,g.Ca(a)?a:this.Zc)}; g.h.stop=function(){this.isActive()&&g.u.clearTimeout(this.Rj);this.Rj=0}; g.h.isActive=function(){return 0!=this.Rj}; g.h.Cw=function(){this.Rj=0;this.g&&this.g.call(this.i)};(function(){if(MY){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(g.Ib))?a[1]:"0"}return dI?(a=/10[_.][0-9_.]+/,(a=a.exec(g.Ib))?a[0].replace(/_/g,"."):"10"):g.tr?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(g.Ib))?a[1]:""):aZ||bZ||ena?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(g.Ib))?a[1].replace(/_/g,"."):""):""})();Ia(g.Go);g.Go.prototype.g=0;g.Sa(g.Io,g.Qf);g.h=g.Io.prototype;g.h.oE=g.Go.getInstance();g.h.getId=function(){return this.P||(this.P=g.Ho(this.oE))}; g.h.ha=function(){return this.i}; g.h.ct=function(a){if(this.F&&this.F!=a)throw Error("Method not supported");g.Io.bb.ct.call(this,a)}; g.h.Dq=ba(0);g.h.Bj=function(){Jo(this,function(a){a.fh&&a.Bj()}); this.u&&g.An(this.u);this.fh=!1}; g.h.U=function(){this.fh&&this.Bj();this.u&&(this.u.dispose(),delete this.u);Jo(this,function(a){a.dispose()}); this.i&&g.Wd(this.i);this.F=this.i=this.A=this.D=null;g.Io.bb.U.call(this)}; g.h.removeChild=function(a,b){if(a){var c=g.Da(a)?a:a.getId();a=this.A&&c?$b(this.A,c)||null:null;if(c&&a){Zb(this.A,c);g.cb(this.D,a);b&&(a.Bj(),a.i&&g.Wd(a.i));c=a;if(null==c)throw Error("Unable to set parent component");c.F=null;g.Io.bb.ct.call(c,null)}}if(!a)throw Error("Child is not in parent component");return a};vc(g.qc("https://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf"));vc(g.qc("http://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf"));new ArrayBuffer(0);Lo("d");Mo("d");No("d");Lo("f");Mo("f");No("f");Lo("i");Mo("i");No("i");Lo("j");Mo("j");No("j");No("j");Lo("u");Mo("u");No("u");Lo("v");Mo("v");No("v");No("v");Lo("b");Mo("b");No("b");Lo("e");Mo("e");No("e");Lo("s");Mo("s");No("s");Lo("B");Mo("B");No("B");Lo("x");Mo("x");No("x");Lo("y");Mo("y");No("y");No("y");Lo("g");Mo("g");No("g");Lo("h");Mo("h");No("h");No("h");Lo("n");Mo("n");No("n");Lo("o");Mo("o");No("o");No("o");vc(g.qc("https://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf"));vc(g.qc("http://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf"));Oo.prototype.g=null;Oo.prototype.getOptions=function(){var a;(a=this.g)||(a={},g.Qo(this)&&(a[0]=!0,a[1]=!0),a=this.g=a);return a};g.Sa(Po,Oo);g.tZ=new Po;new g.gn;vc(g.qc("https://www.youtube.com/iframe_api"));var uZ=[];g.Ga("onYouTubeIframeAPIReady",function(){(0,g.y)(uZ,function(a){a()}); ab(uZ)},window);(function(){for(var a=["ms","moz","webkit","o"],b=0,c;c=a[b]&&!g.u.requestAnimationFrame;++b)g.u.requestAnimationFrame=g.u[c+"RequestAnimationFrame"],g.u.cancelAnimationFrame=g.u[c+"CancelAnimationFrame"]||g.u[c+"CancelRequestAnimationFrame"];if(!g.u.requestAnimationFrame){var d=0;g.u.requestAnimationFrame=function(e){var f=(new Date).getTime(),k=Math.max(0,16-(f-d));d=f+k;return g.u.setTimeout(function(){e(f+k)},k)}; g.u.cancelAnimationFrame||(g.u.cancelAnimationFrame=function(e){clearTimeout(e)})}})(); var Ro=[[],[]],So=0,To=!1,Pda=0;Uo.prototype.clone=function(){return new Uo(this.g,this.B,this.l,this.u,this.o,this.A,this.i,this.D)};g.Wo.prototype.i=0;g.Wo.prototype.reset=function(){this.g=this.l=this.o;this.i=0}; g.Wo.prototype.getValue=function(){return this.l};g.Sa(g.Yo,g.A);g.h=g.Yo.prototype;g.h.subscribe=function(a,b,c){var d=this.i[a];d||(d=this.i[a]=[]);var e=this.u;this.g[e]=a;this.g[e+1]=b;this.g[e+2]=c;this.u=e+3;d.push(e);return e}; g.h.unsubscribe=function(a,b,c){if(a=this.i[a]){var d=this.g;if(a=g.Xa(a,function(e){return d[e+1]==b&&d[e+2]==c}))return this.ah(a)}return!1}; g.h.ah=function(a){var b=this.g[a];if(b){var c=this.i[b];0!=this.o?(this.l.push(a),this.g[a+1]=g.Ha):(c&&g.cb(c,a),delete this.g[a],delete this.g[a+1],delete this.g[a+2])}return!!b}; g.h.N=function(a,b){var c=this.i[a];if(c){for(var d=Array(arguments.length-1),e=1,f=arguments.length;e=c.length)throw Pk;var e=c.key(b++);if(a)return e;e=c.getItem(e);if(!g.Da(e))throw"Storage mechanism: Invalid value was encountered";return e}; return d}; g.h.clear=function(){this.g.clear()}; g.h.key=function(a){return this.g.key(a)};g.Sa(hp,gp);g.Sa(ip,gp);g.Sa(kp,fp);var Vda={".":".2E","!":".21","~":".7E","*":".2A","'":".27","(":".28",")":".29","%":"."},jp=null;g.h=kp.prototype;g.h.isAvailable=function(){return!!this.g}; g.h.set=function(a,b){this.g.setAttribute(lp(a),b);mp(this)}; g.h.get=function(a){a=this.g.getAttribute(lp(a));if(!g.Da(a)&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a}; g.h.remove=function(a){this.g.removeAttribute(lp(a));mp(this)}; g.h.nf=function(a){var b=0,c=this.g.XMLDocument.documentElement.attributes,d=new Ok;d.next=function(){if(b>=c.length)throw Pk;var e=c[b++];if(a)return decodeURIComponent(e.nodeName.replace(/\./g,"%")).substr(1);e=e.nodeValue;if(!g.Da(e))throw"Storage mechanism: Invalid value was encountered";return e}; return d}; g.h.clear=function(){for(var a=this.g.XMLDocument.documentElement,b=a.attributes.length;0=b)){if(1==b)ab(a);else{a[0]=a.pop();a=0;b=this.g;for(var d=b.length,e=b[a];a>1;){var f=2*a+1,k=2*a+2;f=ke.g)break;b[a]=b[f];a=f}b[a]=e}return c.getValue()}}; g.h.Bc=function(){for(var a=this.g,b=[],c=a.length,d=0;d=this.o&&this.u())};Ip.prototype.set=function(a,b){b=void 0===b?!0:b;0<=a&&52>a&&0===a%1&&this.i[a]!=b&&(this.i[a]=b,this.g=-1)}; Ip.prototype.get=function(a){return!!this.i[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. */ Jp.prototype.cancel=function(a){if(this.g)this.l instanceof Jp&&this.l.cancel();else{if(this.i){var b=this.i;delete this.i;a?b.cancel(a):(b.D--,0>=b.D&&b.cancel())}this.R?this.R.call(this.I,this):this.F=!0;this.g||(a=new Sp(this),Np(this),Lp(this,!1,a))}}; Jp.prototype.H=function(a,b){this.B=!1;Lp(this,a,b)}; Jp.prototype.Vl=function(a){Np(this);Lp(this,!0,a)}; Jp.prototype.then=function(a,b,c){var d,e,f=new jg(function(k,l){d=k;e=l}); Op(this,d,function(k){k instanceof Sp?f.cancel():e(k)}); return f.then(a,b,c)}; gg(Jp);Jp.prototype.isError=function(a){return a instanceof Error}; g.Sa(Mp,Ta);Mp.prototype.message="Deferred has already fired";Mp.prototype.name="AlreadyCalledError";g.Sa(Sp,Ta);Sp.prototype.message="Deferred was canceled";Sp.prototype.name="CanceledError";Rp.prototype.l=function(){delete Qp[this.g];throw this.i;}; var Qp={};/* Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABLITY OR NON-INFRINGEMENT. See the Apache Version 2.0 License for specific language governing permissions and limitations under the License. */ g.Sa(Tp,Te);g.Sa(Up,Te);var kea=[2,13,14];g.M=window.ytcsi&&window.ytcsi.now?window.ytcsi.now:window.performance&&window.performance.timing&&window.performance.now?function(){return window.performance.timing.navigationStart+window.performance.now()}:function(){return(new Date).getTime()};var Vp=window.yt&&window.yt.config_||window.ytcfg&&window.ytcfg.data_||{};g.Ga("yt.config_",Vp,void 0);var dq={};var Ana=g.w("ytPubsubPubsubInstance")||new g.Yo;g.Yo.prototype.subscribe=g.Yo.prototype.subscribe;g.Yo.prototype.unsubscribeByKey=g.Yo.prototype.ah;g.Yo.prototype.publish=g.Yo.prototype.N;g.Yo.prototype.clear=g.Yo.prototype.clear;g.Ga("ytPubsubPubsubInstance",Ana,void 0);var iq=g.w("ytPubsubPubsubSubscribedKeys")||{};g.Ga("ytPubsubPubsubSubscribedKeys",iq,void 0);var kq=g.w("ytPubsubPubsubTopicToKeys")||{};g.Ga("ytPubsubPubsubTopicToKeys",kq,void 0);g.jq=g.w("ytPubsubPubsubIsSynchronous")||{}; g.Ga("ytPubsubPubsubIsSynchronous",g.jq,void 0);var mea=/\.vflset|-vfl[a-zA-Z0-9_+=-]+/,nea=/-[a-zA-Z]{2,3}_[a-zA-Z]{2,3}(?=(\/|$))/,tq={};uq.prototype.initialize=function(a,b,c,d,e){var f=this;b?(this.Td=!0,g.rq(b,function(){f.Td=!1;if(window.botguard)vq(f,c,d);else{var k=sq(b),l=document.getElementById(k);l&&(qq(k),l.parentNode.removeChild(l));k=Error("Unable to load Botguard");k.params="from "+b;g.$p(k)}},e)):a&&(eval(a),window.botguard?vq(this,c,d):g.$p(Error("Unable to load Botguard from JS")))}; uq.prototype.dispose=function(){this.g=null};g.t(yq,qea);yq.prototype.start=function(){var a=g.w("yt.scheduler.instance.start");a&&a()}; yq.prototype.pause=function(){var a=g.w("yt.scheduler.instance.pause");a&&a()}; Ia(yq);yq.getInstance();var rea=[],Cq=!1;var Qq=new function(){var a=window.document;this.g=window;this.i=a}; g.Ga("yt.ads_.signals_.getAdSignalsString",function(a){return Gq(Sq(a))},void 0);(0,g.D)();var Vq=g.Ca(XMLHttpRequest)?function(){return new XMLHttpRequest}:g.Ca(ActiveXObject)?function(){return new ActiveXObject("Microsoft.XMLHTTP")}:null;var Xq={Authorization:"AUTHORIZATION","X-Goog-Visitor-Id":"SANDBOXED_VISITOR_ID","X-YouTube-Client-Name":"INNERTUBE_CONTEXT_CLIENT_NAME","X-YouTube-Client-Version":"INNERTUBE_CONTEXT_CLIENT_VERSION","X-Youtube-Identity-Token":"ID_TOKEN","X-YouTube-Page-CL":"PAGE_CL","X-YouTube-Page-Label":"PAGE_BUILD_LABEL","X-YouTube-Variants-Checksum":"VARIANTS_CHECKSUM"},xea="app debugcss debugjs expflag force_ad_params force_viral_ad_response_params forced_experiments internalcountrycode internalipoverride absolute_experiments conditional_experiments sbb sr_bns_address".split(" "), dr=!1;var rr=gz||jC;var zr={},Dea=0;g.t(Ar,Ta);Dr.prototype.then=function(a,b,c){return this.l?this.l.then(a,b,c):1===this.i&&a?(a=a.call(c,this.g),hg(a)?a:Fr(a)):2===this.i&&b?(a=b.call(c,this.g),hg(a)?a:Er(a)):this}; Dr.prototype.getValue=function(){return this.g}; gg(Dr);g.t(Hr,Ta);Hr.prototype.name="BiscottiError";g.t(Gr,Ta);Gr.prototype.name="BiscottiMissingError";var Jr={format:"RAW",method:"GET",timeout:5E3,withCredentials:!0},Ir=null;var Hea=Math.pow(2,16)-1,$r=null,as=0,Gea={log_event:"events",log_interaction:"interactions"},vZ=Object.create(null);vZ.log_event="GENERIC_EVENT_LOGGING";vZ.log_interaction="INTERACTION_LOGGING";var Iea=new Set(["log_event"]),Tr={},Or=0,Pr=0,Sr=g.w("ytLoggingTransportLogPayloadsQueue_")||{};g.Ga("ytLoggingTransportLogPayloadsQueue_",Sr,void 0);var Zr=g.w("ytLoggingTransportTokensToCttTargetIds_")||{};g.Ga("ytLoggingTransportTokensToCttTargetIds_",Zr,void 0); var Xr=g.w("ytLoggingTransportDispatchedStats_")||{};g.Ga("ytLoggingTransportDispatchedStats_",Xr,void 0);g.Ga("ytytLoggingTransportCapturedTime_",g.w("ytLoggingTransportCapturedTime_")||{},void 0);var Bna=0,cs=g.Nd?"webkit":g.Bh?"moz":g.Ld?"ms":g.Ch?"o":"";g.Ga("ytDomDomGetNextId",g.w("ytDomDomGetNextId")||function(){return++Bna},void 0);var Kea={stopImmediatePropagation:1,stopPropagation:1,preventMouseEvent:1,preventManipulation:1,preventDefault:1,layerX:1,layerY:1,screenX:1,screenY:1,scale:1,rotation:1,webkitMovementX:1,webkitMovementY:1};fs.prototype.preventDefault=function(){this.event&&(this.event.returnValue=!1,this.event.preventDefault&&this.event.preventDefault())}; fs.prototype.Yw=function(){return this.event?!1===this.event.returnValue:!1}; fs.prototype.stopPropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopPropagation&&this.event.stopPropagation())}; fs.prototype.stopImmediatePropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopImmediatePropagation&&this.event.stopImmediatePropagation())};var hs=g.w("ytEventsEventsListeners")||{};g.Ga("ytEventsEventsListeners",hs,void 0);var is=g.w("ytEventsEventsCounter")||{count:0};g.Ga("ytEventsEventsCounter",is,void 0);var Cna=lc(function(){var a=!1;try{var b=Object.defineProperty({},"passive",{get:function(){a=!0}}); window.addEventListener("test",null,b)}catch(c){}return a}),js=lc(function(){var a=!1; try{var b=Object.defineProperty({},"capture",{get:function(){a=!0}}); window.addEventListener("test",null,b)}catch(c){}return a});g.Sa(xs,g.A);xs.prototype.H=function(a){g.Ca(a.g)||gs(a);var b=a.g;g.Ca(a.i)||gs(a);this.g=new g.td(b,a.i)}; xs.prototype.Qd=function(){return this.g||new g.td}; xs.prototype.A=function(){if(this.g){var a=g.M();if(0!=this.o){var b=this.u,c=this.g,d=b.x-c.x;b=b.y-c.y;d=Math.sqrt(d*d+b*b)/(a-this.o);this.i[this.Ta]=.5c;c++)b+=this.i[c]||0;3<=b&&this.D();this.l=d}this.o=a;this.u=this.g;this.Ta=(this.Ta+1)%4}}; xs.prototype.U=function(){window.clearInterval(this.F);g.ls(this.B)};var Bs={};var Ds=g.w("ytLoggingGelSequenceIdObj_")||{};g.Ga("ytLoggingGelSequenceIdObj_",Ds,void 0);Ls.prototype.set=function(a,b,c,d){c=c||31104E3;this.remove(a);if(this.g)try{this.g.set(a,b,(0,g.D)()+1E3*c);return}catch(f){}var e="";if(d)try{e=escape(g.Kg(b))}catch(f){return}else e=escape(b);g.Js(a,e,c,this.i)}; Ls.prototype.get=function(a,b){var c=void 0,d=!this.g;if(!d)try{c=this.g.get(a)}catch(e){d=!0}if(d&&(c=Fs.get(""+a,void 0))&&(c=unescape(c),b))try{c=JSON.parse(c)}catch(e){this.remove(a),c=void 0}return c}; Ls.prototype.remove=function(a){this.g&&this.g.remove(a);g.Ks(a,"/",this.i)};new Ls;g.t(g.Us,g.A);g.Us.prototype.K=function(a,b,c,d,e){c=Zp((0,g.x)(c,d||this.uc));c={target:a,name:b,Vl:c};var f;e&&Cna()&&(f={passive:!0});a.addEventListener(b,c.Vl,f);this.P.push(c);return c}; g.Us.prototype.Na=function(a){for(var b=0;bthis.info.La||4==this.info.type)return!0;var b=lv(this),c=b.getUint32(0,!1);b=b.getUint32(4,!1);a.infotype=this.info.type.toString();a.slicesize=c.toString();a.boxtype=b.toString();if(2==this.info.type)return c==this.info.La&&1936286840==b;if(3==this.info.type&&0==this.info.l)return 1836019558==b||1936286840== b||1937013104==b||1718909296==b||1701671783==b||1936419184==b}else if(2==this.info.g.info.containerType){if(4>this.info.La||4==this.info.type)return!0;c=lv(this).getUint32(0,!1);a.ebm=c.toString();if(3==this.info.type&&0==this.info.l)return 524531317==c||440786851==c}return!0};var kfa=/^https?:\/\/([^.]*\.moatads\.com\/|e[0-9]+\.yt\.srs\.doubleverify\.com|pagead2\.googlesyndication\.com\/pagead\/gen_204\?id=yt3p&sr=1&|pm\.adsafeprotected\.com\/youtube|pm\.test-adsafeprotected\.com\/youtube|youtube[0-9]+\.moatpixel\.com\/)/,ifa=/^http:\/\/0\.[a-z0-9\-_]+\.[a-z0-9\-_]+\.l2gfe\.[a-z0-9_]+\.([a-z]{2}|i)\.borg\.google\.com(:[0-9]+)?\/|^https:\/\/([a-z]+\.)?[a-z0-9\-]{1,63}\.demos\.corp\.google\.com\/|^https?:\/\/((?:uytfe\.corp|dev-uytfe\.corp|uytfe\.sandbox)\.google\.com\/|([-\w]*www[-\w]*\.|[-\w]*web[-\w]*\.|[-\w]*canary[-\w]*\.|[-\w]*dev[-\w]*\.|[-\w]{1,3}\.)+youtube(-nocookie|kids)?\.com\/|([A-Za-z0-9-]{1,63}\.)*(youtube\.googleapis\.com)(:[0-9]+)?\/|([a-z]+\.)?[a-z0-9\-]{1,63}\.([a-z]{3}|i)\.corp\.google\.com(:[0-9]+)?\/|([a-z]+\.)?[a-z0-9\-]{1,63}\.c\.googlers\.com(:[0-9]+)?\/|(docs|drive)\.google\.com\/(a\/[^/\\%]+\/|)|(tv|tv-green-qa|tv-release-qa)\.youtube\.com\/|[A-Za-z0-9]+(-v6)?\.prod\.google\.com(:[0-9]+)?\/|m?web-ppg\.corp\.google\.com\/|play\.google\.com\/)/, lfa=/^https?:\/\/(www\.google\.com\/pagead\/xsul|www\.youtube\.com\/pagead\/slav)/,pfa=/^https:\/\/([A-Za-z0-9-]{1,63}\.)+demos\.corp\.google\.com\/(?!url\b)|^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|c\.googlers\.com|docs\.google\.com|drive\.google\.com|prod\.google\.com|plus\.google\.com|mail\.google\.com|youtube\.com|youtube\-nocookie\.com|youtubekids\.com)(:[0-9]+)?\/|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?\/(?!url\b))/,Jia=/^https:\/\/([A-Za-z0-9-]{1,63}\.)+demos\.corp\.google\.com\/(?!url\b)|^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|c\.googlers\.com|borg\.google\.com|prod\.google\.com|youtube\.com|youtubekids\.com)(:[0-9]+)?\/|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?\/(?!url\b))/, nfa=/^((http(s)?):)?\/\/((((lh[3-6](-tt|-d[a-g,z])?\.((ggpht)|(googleusercontent)|(google)))|(([1-4]\.bp\.blogspot)|(bp[0-3]\.blogger))|((((cp|ci|gp)[3-6])|(ap[1-2]))\.(ggpht|googleusercontent))|(gm[1-4]\.ggpht)|(((yt[3-4])|(sp[1-3]))\.(ggpht|googleusercontent)))\.com)|(dp[3-6]\.googleusercontent\.cn)|(dp4\.googleusercontent\.com)|(photos\-image\-(dev|qa)(-auth)?\.corp\.google\.com)|((dev|dev2|dev3|qa|qa2|qa3|qa-red|qa-blue|canary)[-.]lighthouse\.sandbox\.google\.com\/image)|(image\-(dev|qa)\-lighthouse(-auth)?\.sandbox\.google\.com(\/image)?))\/|^https:\/\/([A-Za-z0-9-]{1,63}\.)+demos\.corp\.google\.com\/(?!url\b)|^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|c\.googlers\.com|borg\.google\.com|docs\.google\.com|drive\.google\.com|googleplex\.com|play\.google\.com|prod\.google\.com|plus\.google\.com|video\.google\.com|youtube\.com|ytimg\.com|ytimg\.sandbox\.google\.com|chat\.google\.com)(:[0-9]+)?\/|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?\/(?!url\b)|s2\.googleusercontent\.com\/s2\/favicons\?|yt[3-4]\.ggpht\.com\/)/, jfa=/^https?.*#ocr$|^https?:\/\/(aksecure\.imrworldwide\.com\/|cdn\.imrworldwide\.com\/|secure\-..\.imrworldwide\.com\/)/,ofa=/^https?:\/\/(googleads\.g\.doubleclick\.net\/(aclk|pagead\/conversion)|www\.google\.com\/(aclk|pagead\/conversion)|www\.googleadservices\.com\/(aclk|pagead\/(aclk|conversion))|www\.youtube\.com\/pagead\/conversion)/,mfa=/^((http(s)?):)?\/\/((((lh[3-6](-tt|-d[a-g,z])?\.((ggpht)|(googleusercontent)|(google)))|(([1-4]\.bp\.blogspot)|(bp[0-3]\.blogger))|((((cp|ci|gp)[3-6])|(ap[1-2]))\.(ggpht|googleusercontent))|(gm[1-4]\.ggpht)|(((yt[3-4])|(sp[1-3]))\.(ggpht|googleusercontent)))\.com)|(dp[3-6]\.googleusercontent\.cn)|(dp4\.googleusercontent\.com)|(photos\-image\-(dev|qa)(-auth)?\.corp\.google\.com)|((dev|dev2|dev3|qa|qa2|qa3|qa-red|qa-blue|canary)[-.]lighthouse\.sandbox\.google\.com\/image)|(image\-(dev|qa)\-lighthouse(-auth)?\.sandbox\.google\.com(\/image)?))\/|^https:\/\/([A-Za-z0-9-]{1,63}\.)+demos\.corp\.google\.com\/(?!url\b)|^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|c\.googlers\.com|borg\.google\.com|docs\.google\.com|drive\.google\.com|googleplex\.com|googlevideo\.com|play\.google\.com|prod\.google\.com|lh3\.photos\.google\.com|plus\.google\.com|mail\.google\.com|youtube\.com|xfx7\.com|yt\.akamaized\.net|chat\.google\.com)(:[0-9]+)?\/|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?\/(?!url\b)|([A-Za-z0-9-]{1,63}\.)*c\.lh3(-d[a-gz])?\.(googleusercontent|photos\.google)\.com\/.*$)/, jga=/^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(imasdk\.googleapis\.com|2mdn\.net|googlesyndication\.com|corp\.google\.com|c\.googlers\.com|borg\.google\.com|googleads\.g\.doubleclick\.net|prod\.google\.com|static\.doubleclick\.net|static\.googleadsserving\.cn|studioapi\.doubleclick\.net|youtube\.com|youtube\.googleapis\.com|youtube\-nocookie\.com|youtubekids\.com|ytimg\.com|ytimg\.sandbox\.google\.com)(:[0-9]+)?\/|lightbox-(demos|builder)\.appspot\.com\/|s[01](qa)?\.2mdn\.net\/ads\/richmedia\/studio\/mu\/templates\/tetris|www\.gstatic\.com\/doubleclick\/studio\/innovation\/h5\/layouts\/tetris|www\.gstatic\.com\/doubleclick\/studio\/innovation\/ytplayer)/, iga=/^https:\/\/([A-Za-z0-9-]{1,63}\.)+demos\.corp\.google\.com\/(?!url\b)|^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(imasdk\.googleapis\.com|corp\.google\.com|c\.googlers\.com|borg\.google\.com|docs\.google\.com|drive\.google\.com|googleads\.g\.doubleclick\.net|googleplex\.com|play\.google\.com|prod\.google\.com|photos\.google\.com|get\.google\.com|class\.photos\.google\.com|plus\.google\.com|books\.googleusercontent\.com|blogger\.com|mail\.google\.com|play\-books\-internal\-sandbox\.googleusercontent\.com|talkgadget\.google\.com|survey\.g\.doubleclick\.net|youtube\.com|youtube\.googleapis\.com|youtube\-nocookie\.com|youtubekids\.com|vevo\.com|jamboard\.google\.com|chat\.google\.com|meet\.google\.com|crowdsource\.google\.com)(:[0-9]+)?\/|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?\/(?!url\b)|(www\.|encrypted\.)?google\.(cat|com(\.(a[fgiru]|b[dhnorz]|c[ouy]|do|e[cgt]|fj|g[hit]|hk|jm|kh|kw|l[bcy]|m[mtxy]|n[afgip]|om|p[aeghkry]|qa|s[abglv]|t[jnrw]|ua|uy|vc|vn))?|a[cdelmstz]|c[acdfghilmnvz]|b[aefgijsty]|ee|es|d[ejkmz]|g[aefglmpry]|f[imr]|i[emoqrst]|h[nrtu]|k[giz]|je|jo|m[degklnsuvw]|l[aiktuv]|n[eloru]|p[lnst]|s[cehikmnort]|r[osuw]|us|t[dgklmnot]|ws|vg|vu|co\.(ao|bw|ck|cr|i[dln]|jp|ke|kr|ls|ma|mz|nz|th|tz|u[gkz]|ve|vi|z[amw]))\/(search|webhp)\?|lightbox-(demos|builder)\.appspot\.com\/|s0\.2mdn\.net\/instream\/html5\/native\/|s[01](qa)?\.2mdn\.net\/ads\/richmedia\/studio\/mu\/templates\/tetris|www\.gstatic\.com\/doubleclick\/studio\/innovation\/h5\/layouts\/tetris)/, xZ=/^(https\:\/\/googleads\.g\.doubleclick\.net|https\:\/\/play\.google\.com|https\:\/\/photos\.google\.com|https\:\/\/get\.google\.com|https\:\/\/class\.photos\.google\.com|https\:\/\/plus\.google\.com|https\:\/\/mail\.google\.com|https\:\/\/talkgadget\.google\.com|https\:\/\/jamboard\.google\.com|https\:\/\/chat\.google\.com|https\:\/\/crowdsource\.google\.com)$|^http:\/\/0\.[a-z0-9\-_]+\.[a-z0-9\-_]+\.[a-z0-9\-_]+\.([a-z]{2}|i)\.borg\.google\.com(:[0-9]+)?$|^http:\/\/[A-Za-z0-9]+(-v6)?\.prod\.google\.com(:[0-9]+)?$|^https:\/\/((staging|stream|today)\.)?meet\.google\.com$|^https:\/\/([A-Za-z0-9-]{1,63}\.)*youtube\.com$|^https:\/\/([A-Za-z0-9-]{1,63}\.)+demos\.corp\.google\.com$|^https:\/\/([A-Za-z0-9-]{1,63}\.)+sandbox\.google\.com$|^https:\/\/(books|play-books-internal-sandbox)\.googleusercontent\.com$|^https:\/\/(draft|www|(www\.)?daily\.alpha|(www\.)?weekly\.alpha|(www\.)?dev\.sandbox|(www\.)?autopush\.sandbox|(www\.)?restore\.sandbox)\.blogger\.com$|^https?:\/\/(((docs|m|sing|ss|sss|www)\.)?drive\.google\.com$|([A-Za-z0-9-]{1,63}\.)*corp\.google\.com(:[0-9]+)?$|([A-Za-z0-9-]{1,63}\.)*googleplex\.com(:[0-9]+)?$|(www\.|encrypted\.)google\.(cat|com(\.(a[fgiru]|b[dhnorz]|c[ouy]|do|e[cgt]|fj|g[hit]|hk|jm|kh|kw|l[bcy]|m[mtxy]|n[afgip]|om|p[aeghkry]|qa|s[abglv]|t[jnrw]|ua|uy|vc|vn))?|a[cdelmstz]|c[acdfghilmnvz]|b[aefgijsty]|ee|es|d[ejkmz]|g[aefglmpry]|f[imr]|i[emoqrst]|h[nrtu]|k[giz]|je|jo|m[degklnsuvw]|l[aiktuv]|n[eloru]|p[lnst]|s[cehikmnort]|r[osuw]|us|t[dgklmnot]|ws|vg|vu|co\.(ao|bw|ck|cr|i[dln]|jp|ke|kr|ls|ma|mz|nz|th|tz|u[gkz]|ve|vi|z[amw]))$|docs\.google\.com$|imasdk\.googleapis\.com$|lightbox-(demos|builder)\.appspot\.com$|s[01](qa)?\.2mdn\.net$|survey\.g\.doubleclick\.net$|www\.gstatic\.com$)/;var Hv={jk:function(a){a.reverse()}, GE:function(a,b){a.splice(0,b)}, pZ:function(a,b){var c=a[0];a[0]=a[b%a.length];a[b%a.length]=c}};Jv.prototype.set=function(a,b){this.g[a]!==b&&(this.g[a]=b,this.l="")}; Jv.prototype.get=function(a){Lv(this);return this.g[a]||null}; Jv.prototype.clone=function(){var a=new Jv(this.o);a.u=this.u;a.i=this.i;a.A=this.A;a.g=g.bc(this.g);a.l=this.l;return a};Tv.prototype.set=function(a,b){this.g.get(a);this.i[a]=b;this.l=""}; Tv.prototype.get=function(a){return this.i[a]||this.g.get(a)};var Wx={name:"width",video:!0,valid:640,Qe:99999},Xx={name:"height",video:!0,valid:360,Qe:99999},Yx={name:"framerate",video:!0,valid:30,Qe:9999},Zx={name:"bitrate",video:!0,valid:3E5,Qe:2E9},Ux={name:"eotf",video:!0,valid:"bt709",Qe:"catavision"},by={name:"channels",video:!1,valid:2,Qe:99},$x={name:"cryptoblockformat",video:!0,valid:"subsample",Qe:"invalidformat"},ay={name:"decode-to-texture",video:!0,valid:"false",Qe:"nope"},gy={name:"codecs",video:!0,valid:"av01.0.05M.08",Qe:"av99.0.05M.08"},cy= {WQ:Wx,iP:Xx,VO:Yx,jO:Zx,NO:Ux,vO:by,AO:$x,EO:ay,hO:gy};var wfa={0:"f",160:"h",133:"h",134:"h",135:"h",136:"h",137:"h",264:"h",266:"h",138:"h",298:"h",299:"h",304:"h",305:"h",140:"a",141:"ah",327:"sa",258:"m",380:"mac3",328:"meac3",161:"H",142:"H",143:"H",144:"H",222:"H",223:"H",145:"H",224:"H",225:"H",146:"H",226:"H",227:"H",147:"H",384:"H",376:"H",385:"H",377:"H",149:"A",261:"M",381:"MAC3",329:"MEAC3",278:"9",242:"9",243:"9",244:"9",247:"9",248:"9",271:"9",313:"9",272:"9",302:"9",303:"9",308:"9",315:"9",330:"9h",331:"9h",332:"9h",333:"9h",334:"9h",335:"9h", 336:"9h",337:"9h",171:"v",338:"so",250:"o",251:"o",194:"*",195:"*",220:"*",221:"*",196:"*",197:"*",198:"V",279:"(",280:"(",317:"(",318:"(",273:"(",274:"(",357:"(",358:"(",275:"(",359:"(",360:"(",276:"(",314:"(",561:"(",277:"(",362:"(h",363:"(h",364:"(h",365:"(h",366:"(h",367:"(h",368:"(h",562:"(h",394:"1",395:"1",396:"1",397:"1",398:"1",399:"1",400:"1",401:"1",402:"1",386:"3",387:"w",406:"6"};gw.prototype.getName=function(){return this.name}; gw.prototype.getId=function(){return this.id}; gw.prototype.getIsDefault=function(){return this.isDefault}; gw.prototype.toString=function(){return this.name}; gw.prototype.getName=gw.prototype.getName;gw.prototype.getId=gw.prototype.getId;gw.prototype.getIsDefault=gw.prototype.getIsDefault;var aga={fO:"auto",GQ:"tiny",CP:"light",wQ:"small",IP:"medium",AP:"large",hP:"hd720",dP:"hd1080",eP:"hd1440",fP:"hd2160",gP:"hd2880",mP:"highres",UNKNOWN:"unknown"};var yZ;yZ={};g.iw=(yZ.auto=0,yZ.tiny=144,yZ.light=144,yZ.small=240,yZ.medium=360,yZ.large=480,yZ.hd720=720,yZ.hd1080=1080,yZ.hd1440=1440,yZ.hd2160=2160,yZ.hd2880=2880,yZ.highres=4320,yZ);var mw="highres hd2880 hd2160 hd1440 hd1080 hd720 large medium small tiny".split(" ");ow.prototype.ua=function(){return this.video}; ow.prototype.Mm=function(){return!!this.l}; ow.prototype.xe=function(){return!!this.video};g.h=ww.prototype;g.h.ae=function(){}; g.h.ck=function(){}; g.h.dr=function(){return!1}; g.h.sc=function(){return!!this.g&&this.index.Eb()}; g.h.Lf=function(){}; g.h.Gx=function(){return!1}; g.h.Th=function(){}; g.h.mh=function(){}; g.h.pi=function(){}; g.h.zf=function(){}; g.h.Gm=function(){}; g.h.Hx=function(a){return[a]}; g.h.lo=function(a){return[a]}; g.h.Wn=function(){}; g.h.xm=function(){};g.t(yw,ww);g.h=yw.prototype;g.h.ae=function(){return!1}; g.h.ck=function(){return!1}; g.h.Gx=function(){return this.i}; g.h.Th=function(){if(this.i)return[];var a=new $u(1,this,this.initRange,"getMetadataRequestInfos");return[new $v([a],this.M)]}; g.h.mh=function(){return null}; g.h.pi=function(a){this.Lf(a);return this.si(a.o?a.i+1:a.i,!1)}; g.h.zf=function(a,b){b=void 0===b?!1:b;var c=this.index.Le(a);b&&(c=Math.min(this.index.sb(),c+1));return this.si(c,!0)}; g.h.Gm=function(a){this.g=new Uint8Array(lv(a).buffer)}; g.h.dr=function(){return!1}; g.h.Lf=function(a){return 0==a.La?!0:this.index.sb()>a.i&&this.index.we()<=a.i+1}; g.h.update=function(a,b,c){this.index.append(a);Ut(this.index,c);this.H=b}; g.h.sc=function(){return this.i?!0:ww.prototype.sc.call(this)}; g.h.si=function(a,b){var c=this.index.qq(a),d=this.index.Kc(a),e=this.index.getDuration(a),f;b?e=f=0:f=0a&&c.startTime<=a?c:-1==b?Gw(this,Math.max(c.zb-Math.ceil((c.startTime-a)/this.g),0),c):Gw(this,c.zb+Math.ceil((a-c.endTime)/this.g),c)}; g.h.ng=function(a){if(!this.i)return g.Tt.prototype.ng.call(this,a);if(!this.segments.length)return null;var b=Dw(this,a);return 0<=b?this.segments[b]:Gw(this,a,this.segments[Math.max(-(b+2),0)])};g.t(Hw,yw);g.h=Hw.prototype;g.h.ck=function(){return!0}; g.h.sc=function(){return!0}; g.h.Lf=function(a){return!a.u}; g.h.Th=function(){return[]}; g.h.zf=function(a,b){if(g.Fa(a)&&!isFinite(a)){var c=new $u(3,this,null,"mlLiveGetReqInfoStubForTime",-1,void 0,this.D,void 0,this.D*this.info.g);return new $v([c],"")}return yw.prototype.zf.call(this,a,b)}; g.h.si=function(a,b){if(Ew(this.index,a))return yw.prototype.si.call(this,a,b);var c=this.index.Kc(a),d=b?0:this.D*this.info.g;c=new $u(3,this,null,"mlLiveCreateReqInfoForSeg",a,c,void 0,void 0,d,a==this.index.sb()&&!this.H&&0a.i&&this.index.we()<=a.i+1}; g.h.xm=function(){return this.initRange&&this.indexRange?this.initRange.length+this.indexRange.length:0}; g.h.Wn=function(){return!1};g.h=g.Pw.prototype;g.h.wn=function(a){return this.g[a]}; g.h.Kc=function(a){return this.i[a]/this.o}; g.h.Dm=ba(1);g.h.Dr=function(){return NaN}; g.h.getDuration=function(a){a=this.hq(a);return 0<=a?a/this.o:-1}; g.h.hq=function(a){return a+1=this.sb())return 0;for(var c=0,d=this.Kc(a)+b,e=a;ethis.Kc(e);e++)c=Math.max(c,(e+1=this.index.wn(b+1);)b++;return Sw(this,b,a.range.start,a.range.length).g}; g.h.Lf=function(a){return this.sc()?!0:isNaN(this.i)?!1:a.range.end+1this.i&&(c=new Wu(c.start,this.i-1));c=[new $u(4,a.g,c,"getNextRequestInfoByLength")];return new $v(c)}4==a.type&&(c=this.lo(a),a=c[c.length-1]);c=0;var d=a.range.start+a.l+a.La;3==a.type&&(c=a.i,d==a.range.end+1&&(c+=1));return Sw(this,c,d,b)}; g.h.pi=function(){return null}; g.h.zf=function(a,b){var c=this.index.Le(a);b&&(c=Math.min(this.index.sb(),c+1));return Sw(this,c,this.index.wn(c),0)}; g.h.dr=function(){var a;if(a=this.sc()&&!isNaN(this.i))a=this.index,a=(a.l?a.g[a.Da]:-1)!=this.i;return a}; g.h.ae=function(){return!0}; g.h.ck=function(){return!1}; g.h.xm=function(){return this.indexRange.length+this.initRange.length}; g.h.Wn=function(){return this.indexRange&&this.initRange&&this.initRange.end+1==this.indexRange.start?!0:!1};Tw.prototype.start=function(){return 0}; Tw.prototype.end=function(){return Infinity};g.h=Uw.prototype;g.h.addEventListener=function(){}; g.h.removeEventListener=function(){}; g.h.dispatchEvent=function(){return!1}; g.h.abort=function(){}; g.h.remove=function(){}; g.h.appendBuffer=function(){};g.t(Xw,g.N);g.h=Xw.prototype;g.h.If=function(){return Nb(this.g,function(a){return a.info.video?2==a.info.video.projectionType:!1})}; g.h.Jf=function(){return Nb(this.g,function(a){return a.info.video?3==a.info.video.projectionType:!1})}; g.h.Df=function(){return Nb(this.g,function(a){return a.info.video?4==a.info.video.projectionType:!1})}; g.h.di=function(){return Nb(this.g,function(a){return a.info.video?1==a.info.video.stereoLayout:!1})}; g.h.oM=function(a){var b=a.getElementsByTagName("Representation");if(0this.D&&this.oa;this.T=parseInt(Iw(a,fx(this,"earliestMediaSequence")),10)||0; if(b=Date.parse(Lw(Iw(a,fx(this,"mpdResponseTime")))))this.F=((0,g.D)()-b)/1E3;this.isLive&&0>=a.getElementsByTagName("SegmentTimeline").length||(0,g.mj)(a.getElementsByTagName("Period"),this.oM,this);this.A=2;this.N("loaded");kx(this);return this}; g.h.MD=function(a){this.M=a.lh.status;this.A=3;this.N("loaderror");return og(a.lh)}; g.h.Nx=function(){if(1!=this.A&&!this.fa()){var a=g.bh(this.sourceUrl,{start_seq:Rfa(this).toString()});xg(ix(this,a),function(){})}}; g.h.resume=function(){kx(this)}; g.h.qc=function(){var a=this.g,b=!1,c=NaN,d=NaN,e;for(e in a){var f=a[e],k=f.index;k.Eb()&&(f.A&&(b=!0),k=k.Sh(),f.info.audio&&(isNaN(c)||kthis.tm()?(this.g.appendWindowEnd=b,this.g.appendWindowStart=a):(this.g.appendWindowStart=a,this.g.appendWindowEnd=b)}; g.h.ro=function(a){this.supports(1)&&(this.g.timestampOffset=a)}; g.h.Ib=function(){return this.supports(1)?this.g.timestampOffset:0}; g.h.oc=function(){try{return this.g.buffered}catch(a){return zx([],[])}}; g.h.Sd=function(){return this.g.updating}; g.h.Wg=function(){return this.i}; g.h.wm=function(){return this.A}; g.h.Et=function(a,b){this.u!=a&&(this.supports(4),this.g.changeType(b));this.u=a}; g.h.lq=function(){return this.o}; g.h.isView=function(){return!1}; g.h.supports=function(a){switch(a){case 1:return void 0!=this.g.timestampOffset;case 0:return!!this.g.appendBuffer;case 2:return!!this.g.remove;case 3:return!!this.g.removeEventListener;case 4:return!!this.g.changeType;default:return!1}}; g.h.Cp=function(){return!this.Sd()}; g.h.isLocked=function(){return!1}; g.h.fb=function(a){a.to=""+this.g.timestampOffset;a.up=""+ +this.Sd();a.aw=(this.g.appendWindowStart||0).toFixed(3)+"-"+(this.g.appendWindowEnd||Infinity).toFixed(3);try{a.bu=Ax(this.g.buffered)}catch(b){}return yx(a)}; g.h.U=function(){this.supports(3)&&(this.g.removeEventListener("updateend",this.l),this.g.removeEventListener("error",this.l));g.N.prototype.U.call(this)};g.t(Jx,g.N);g.h=Jx.prototype;g.h.appendBuffer=function(a,b,c){if(this.g.tm()!=this.u+this.i||this.g.gq()!=this.o+this.i||this.g.Ib()!=this.A+this.i)this.g.supports(1),this.g.Ws(this.u+this.i,this.o+this.i),this.g.ro(this.A+this.i);this.g.appendBuffer(a,b,c)}; g.h.abort=function(){this.g.abort()}; g.h.remove=function(a,b){this.g.remove(a+this.i,b+this.i)}; g.h.Ws=function(a,b){this.u=a;this.o=b}; g.h.tm=function(){return this.u}; g.h.gq=function(){return this.o}; g.h.ro=function(a){this.A=a}; g.h.Ib=function(){return this.A}; g.h.oc=function(){return Hx(this.g.oc(),this.i,this.D)}; g.h.Sd=function(){return this.g.Sd()}; g.h.Wg=function(){return this.g.Wg()}; g.h.wm=function(){return this.g.wm()}; g.h.Et=function(a,b){return this.g.Et(a,b)}; g.h.supports=function(a){return this.g.supports(a)}; g.h.lq=function(){return this.g.lq()}; g.h.isView=function(){return!0}; g.h.Cp=function(){return this.g.Cp()?this.l:!1}; g.h.isLocked=function(){return this.B&&!this.l}; g.h.fb=function(a){return this.g.fb(a)+(";vw."+this.i+"-"+this.D)}; g.h.U=function(){Ys(this.g,this.F);g.N.prototype.U.call(this)}; g.h.isActive=function(){return this.l}; g.h.setActive=function(a){this.l=a;this.B=this.B||this.l};Kx.prototype.dispose=function(){if(!this.l){if(this.i)try{URL.revokeObjectURL(this.g)}catch(a){}this.l=!0}}; Kx.prototype.fa=function(){return this.l};g.t(Lx,g.A);g.h=Lx.prototype;g.h.getDuration=function(){return this.l.duration}; g.h.isView=function(){return this.A}; g.h.Sd=function(){return!!(this.g&&this.g.Sd()||this.i&&this.i.Sd())}; g.h.AL=function(){!this.fa()&&Mx(this)&&this.o&&(this.o(this),this.o=null)}; g.h.zL=function(){this.dispose()};var zZ={cupcake:1.5,donut:1.6,eclair:2,froyo:2.2,gingerbread:2.3,honeycomb:3,"ice cream sandwich":4,jellybean:4.1,kitkat:4.4,lollipop:5.1,marshmallow:6,nougat:7.1},AZ;a:{var BZ=g.Ib;BZ=BZ.toLowerCase();if(-1!=BZ.indexOf("android")){var CZ=BZ.match(/android\s*(\d+(\.\d+)?)[^;|)]*[;)]/);if(CZ){var DZ=parseFloat(CZ[1]);if(100>DZ){AZ=DZ;break a}}var EZ=BZ.match("("+g.Rb(zZ).join("|")+")");AZ=EZ?zZ[EZ[0]]:0}else AZ=void 0}var dz=AZ,cz=0<=dz;Sx.prototype.canPlayType=function(a,b){var c=a.canPlayType?a.canPlayType(b):!1;rr?c=c||Ena[b]:2.2==dz?c=c||Fna[b]:ir()&&(c=c||Gna[b]);return!!c}; var Fna={'video/mp4; codecs="avc1.42001E, mp4a.40.2"':"maybe"},Gna={"application/x-mpegURL":"maybe"},Ena={"application/x-mpegURL":"maybe"};g.h=iy.prototype;g.h.Od=function(){return this.xf}; g.h.qk=function(){return null}; g.h.jw=function(){var a=this.qk();return a?+g.Jq(a.g).expire:NaN}; g.h.Ts=function(){}; g.h.getHeight=function(){return this.xf.ua().height};ky.prototype.isLocked=function(){return this.l&&!!this.i&&this.i==this.g}; ky.prototype.o=function(a){return a.video?ry(this,a.video.quality):!1}; var YJ=my("auto","hd1080",!1,"l"),SH=my("auto","large",!1,"l"),oy=my("auto","auto",!1,"p");my("small","auto",!1,"p");var jz={DP:1,EP:2,FP:3};g.t(sy,g.N);sy.prototype.add=function(a,b){!this.Ba[a]&&(b.Xl||b.Yl||b.At)&&(this.Ba[a]=fc(b),this.N("vast_info_card_add",a))}; sy.prototype.remove=function(a){var b=this.get(a);delete this.Ba[a];return b}; sy.prototype.get=function(a){return this.Ba[a]||null}; sy.prototype.isEmpty=function(){return g.Xb(this.Ba)};Cy.prototype.i=function(a,b){var c=Math.pow(this.u,a);this.l=b*(1-c)+c*this.l;this.o+=a}; Cy.prototype.g=function(){return this.l/(1-Math.pow(this.u,this.o))};Ey.prototype.i=function(a,b){var c=Math.min(this.l,Math.max(1,Math.round(a*this.I)));c+this.o>=this.l&&(this.A=!0);for(;c--;)this.u[this.o]=b,this.o=(this.o+1)%this.l;this.D=!0}; Ey.prototype.g=function(){return this.F?(Fy(this,this.B-this.F)+Fy(this,this.B)+Fy(this,this.B+this.F))/3:Fy(this,this.B)};var gga=/^([0-9\.]+):([0-9\.]+)$/;var Sy=g.w("ytglobal.prefsUserPrefsPrefs_")||{};g.Ga("ytglobal.prefsUserPrefsPrefs_",Sy,void 0);g.h=Ty.prototype;g.h.get=function(a,b){Vy(a);Uy(a);var c=void 0!==Sy[a]?Sy[a].toString():null;return null!=c?c:b?b:""}; g.h.set=function(a,b){Vy(a);Uy(a);if(null==b)throw Error("ExpectedNotNull");Sy[a]=b.toString()}; g.h.remove=function(a){Vy(a);Uy(a);delete Sy[a]}; g.h.save=function(){g.Js(this.g,this.dump(),63072E3)}; g.h.clear=function(){g.Yb(Sy)}; g.h.dump=function(){var a=[],b;for(b in Sy)a.push(b+"="+encodeURIComponent(String(Sy[b])));return a.join("&")}; Ia(Ty);var Wy="blogger books docs google-live play chat hangouts-meet photos-edu picasaweb gmail jamboard".split(" ");g.t(xz,g.A); xz.prototype.Sf=function(a){this.na=Qy(this.na,a.video_id);this.Ra=Qy(this.Ra,a.eventid);for(var b in FZ){var c=FZ[b],d=a[c];void 0!=d&&(this.deviceParams[c]=d)}this.userAge=Py(this.userAge,a.user_age);this.P=Qy(this.P,a.user_display_image);g.Cv(this.P)||(this.P="");this.aa=Qy(this.aa,a.user_display_name);this.lf=Qy(this.lf,a.user_gender);this.zd=Qy(this.zd,a.csi_page_type);this.ab=Qy(this.ab,a.csi_service_name);this.hd=Q(this.hd,a.enablecsi);if(a=a.enabled_engage_types)this.hf=new Set(a.split(","))}; xz.prototype.getVideoUrl=function(a,b,c,d,e){b={list:b};c&&(e?b.time_continue=c:b.t=c);c=Az(this);d&&"www.youtube.com"==c?d="https://youtu.be/"+a:g.vz(this)?(d="https://"+c+"/fire",b.v=a):(d=this.protocol+"://"+c+"/watch",b.v=a,rr&&(a=Dq())&&(b.ebc=a));return g.bh(d,b)}; xz.prototype.getVideoEmbedCode=function(a,b,c){var d="https://"+Az(this)+"/embed/"+a;c&&(d=g.bh(d,{list:c}));a=!S(this,"enable_responsive_embed_snippet");S(this,"embed_snippet_includes_version")&&(d=g.bh(d,{ecver:a?"1":"2"}));c=b.width;b=b.height;a?(a=g.Yc(d),b=''):(a=Math.round(360*c/b),b='
');return b}; var FZ={kO:"cbrand",lO:"cbr",mO:"cbrver",sP:"c",vP:"cver",uP:"ctheme",tP:"cplayer",JP:"cmodel",MP:"cnetwork",RP:"cos",SP:"cosver",YP:"cplatform"},mga=["www.youtube-nocookie.com","youtube.googleapis.com"];Oz.prototype.clone=function(a){return new Oz(this.flavor,a,this.o,this.u)}; Oz.prototype.fb=function(){return{flavor:this.flavor,keySystem:this.g}}; Oz.prototype.Od=function(){switch(this.g){case "com.youtube.playready":return"PRY";case "com.microsoft.playready":return"PRM";case "com.widevine.alpha":return"WVA";case "com.youtube.widevine.l3":return"WVY";case "com.youtube.fairplay":return"FPY";case "com.apple.fps.1_0":return"FPA";default:return this.g}}; var GZ={},Vz=(GZ.playready=["com.youtube.playready","com.microsoft.playready"],GZ.widevine=["com.youtube.widevine.l3","com.widevine.alpha"],GZ);g.h=g.Wz.prototype;g.h.getId=function(){return this.H}; g.h.getName=function(){return this.u}; g.h.toString=function(){return this.i+": "+g.Xz(this)+" - "+this.A}; g.h.Br=ba(3);g.h.isValid=function(){return!(!this.i||this.g&&!this.g.languageCode)};Yz.prototype.getLanguageInfo=function(){return this.kb}; Yz.prototype.toString=function(){return this.kb.name}; Yz.prototype.getLanguageInfo=Yz.prototype.getLanguageInfo;$z.prototype.getAvailableAudioTracks=function(){return this.audioTracks}; var Zz=!1;g.t(dA,g.A);dA.prototype.D=function(){(this.B=!this.B&&"widevine"==this.i[this.g[0]].flavor)||this.g.shift();eA(this)}; dA.prototype.F=function(a,b){this.fa()||(a.i=b,yga(this,a),this.l.push(a),g.O(this.u,"html5_drm_fallback_to_playready_on_retry")||this.ll?(this.g.shift(),eA(this)):this.A(this.l))};g.t(iA,iy);iA.prototype.jw=function(){return this.l}; iA.prototype.qk=function(){if(!this.g||this.g.fa()){var a=this.i;Ega(a);var b=["#EXTM3U","#EXT-X-INDEPENDENT-SEGMENTS"],c={};a:if(a.i)var d=a.i;else{d=g.q(a.l);for(var e=d.next();!e.done;e=d.next())if(e=e.value,e.kb&&e.kb.getIsDefault()){d=e.kb.getId();break a}d=""}e=0;for(var f=a.l.length;ek.getHeight()&&c.push(k)}return c}; DA.prototype.A=function(a,b,c,d){return new g.vA(a,b,c,d)};g.t(FA,g.vA);g.h=FA.prototype;g.h.jq=function(){return this.i.Uh()}; g.h.Gn=function(a){var b=this.rows*this.columns*this.D,c=this.i,d=c.sb();a=c.Le(a);return a>d-b?-1:a}; g.h.zk=function(){return this.i.sb()}; g.h.Qr=function(){return this.i.we()}; g.h.KA=function(a){this.i=a};g.t(GA,DA);GA.prototype.l=function(a,b){return DA.prototype.l.call(this,"$N|"+a,b)}; GA.prototype.A=function(a,b,c){return new FA(a,b,c,this.isLive)};var IA={iurl:"default.jpg",iurlmq:"mqdefault.jpg",iurlhq:"hqdefault.jpg",iurlsd:"sddefault.jpg",iurlpop1:"pop1.jpg",iurlpop2:"pop2.jpg",iurlhq720:"hq720.jpg",iurlmaxres:"maxresdefault.jpg"},LA={120:"default.jpg",320:"mqdefault.jpg",480:"hqdefault.jpg",560:"pop1.jpg",640:"sddefault.jpg",854:"pop2.jpg",1280:"hq720.jpg"};PA.prototype.toString=function(){return this.topic};var Ina=g.w("ytPubsub2Pubsub2Instance")||new g.Yo;g.Yo.prototype.subscribe=g.Yo.prototype.subscribe;g.Yo.prototype.unsubscribeByKey=g.Yo.prototype.ah;g.Yo.prototype.publish=g.Yo.prototype.N;g.Yo.prototype.clear=g.Yo.prototype.clear;g.Ga("ytPubsub2Pubsub2Instance",Ina,void 0);var TA=g.w("ytPubsub2Pubsub2SubscribedKeys")||{};g.Ga("ytPubsub2Pubsub2SubscribedKeys",TA,void 0);var VA=g.w("ytPubsub2Pubsub2TopicToKeys")||{};g.Ga("ytPubsub2Pubsub2TopicToKeys",VA,void 0); var UA=g.w("ytPubsub2Pubsub2IsAsync")||{};g.Ga("ytPubsub2Pubsub2IsAsync",UA,void 0);g.Ga("ytPubsub2Pubsub2SkipSubKey",null,void 0);var kB=window.performance||window.mozPerformance||window.msPerformance||window.webkitPerformance||{};g.t(ZA,OA);g.t($A,OA);var Tga=new PA("aft-recorded",ZA),SA=new PA("timing-sent",$A);var Wga={vc:!0},HZ={},sB=(HZ.ad_allowed="adTypesAllowed",HZ.yt_abt="adBreakType",HZ.ad_cpn="adClientPlaybackNonce",HZ.ad_docid="adVideoId",HZ.yt_ad_an="adNetworks",HZ.ad_at="adType",HZ.browse_id="browseId",HZ.p="httpProtocol",HZ.t="transportProtocol",HZ.cpn="clientPlaybackNonce",HZ.cseg="creatorInfo.creatorSegment",HZ.csn="clientScreenNonce",HZ.docid="videoId",HZ.is_continuation="isContinuation",HZ.is_nav="isNavigation",HZ.b_p="kabukiInfo.browseParams",HZ.is_prefetch="kabukiInfo.isPrefetch",HZ.is_secondary_nav= "kabukiInfo.isSecondaryNav",HZ.prev_browse_id="kabukiInfo.prevBrowseId",HZ.query_source="kabukiInfo.querySource",HZ.voz_type="kabukiInfo.vozType",HZ.yt_lt="loadType",HZ.mver="creatorInfo.measurementVersion",HZ.yt_ad="isMonetized",HZ.nr="webInfo.navigationReason",HZ.ncnp="webInfo.nonPreloadedNodeCount",HZ.prt="playbackRequiresTap",HZ.pis="playerInfo.playerInitializedState",HZ.paused="playerInfo.isPausedOnLoad",HZ.yt_pt="playerType",HZ.fmt="playerInfo.itag",HZ.yt_pl="watchInfo.isPlaylist",HZ.yt_pre= "playerInfo.preloadType",HZ.yt_ad_pr="prerollAllowed",HZ.pa="previousAction",HZ.yt_red="isRedSubscriber",HZ.st="serverTimeMs",HZ.aq="tvInfo.appQuality",HZ.br_trs="tvInfo.bedrockTriggerState",HZ.label="tvInfo.label",HZ.is_mdx="tvInfo.isMdx",HZ.preloaded="tvInfo.isPreloaded",HZ.query="unpluggedInfo.query",HZ.upg_chip_ids_string="unpluggedInfo.upgChipIdsString",HZ.yt_vst="videoStreamType",HZ.vph="viewportHeight",HZ.vpw="viewportWidth",HZ.yt_vis="isVisible",HZ),Sga="ap c cver cbrand cmodel ei srt yt_fss yt_li plid all_vc vpil vpni vpst yt_eil vpni2 vpil2 icrc icrt pa GetHome_rid GetBrowse_rid GetPlayer_rid GetSearch_rid GetWatchNext_rid cmt d_vpct d_vpnfi d_vpni pc pfa pfeh pftr prerender psc rc start tcrt tcrc ssr vpr vps yt_abt yt_fn yt_fs yt_pft yt_pre yt_pt yt_pvis yt_ref yt_sts".split(" "), Qga={ad_to_ad:"LATENCY_ACTION_AD_TO_AD",ad_to_video:"LATENCY_ACTION_AD_TO_VIDEO",app_startup:"LATENCY_ACTION_APP_STARTUP",browse:"LATENCY_ACTION_BROWSE",channels:"LATENCY_ACTION_CHANNELS",channel:"LATENCY_ACTION_CREATOR_CHANNEL_DASHBOARD","channel.analytics":"LATENCY_ACTION_CREATOR_CHANNEL_ANALYTICS","channel.comments":"LATENCY_ACTION_CREATOR_CHANNEL_COMMENTS","channel.copyright":"LATENCY_ACTION_CREATOR_CHANNEL_COPYRIGHT","channel.monetization":"LATENCY_ACTION_CREATOR_CHANNEL_MONETIZATION","channel.translations":"LATENCY_ACTION_CREATOR_CHANNEL_TRANSLATIONS", "channel.videos":"LATENCY_ACTION_CREATOR_CHANNEL_VIDEOS",chips:"LATENCY_ACTION_CHIPS",embed:"LATENCY_ACTION_EMBED",home:"LATENCY_ACTION_HOME",library:"LATENCY_ACTION_LIBRARY",live:"LATENCY_ACTION_LIVE",prebuffer:"LATENCY_ACTION_PREBUFFER",prefetch:"LATENCY_ACTION_PREFETCH",results:"LATENCY_ACTION_RESULTS",search:"LATENCY_ACTION_RESULTS",search_ui:"LATENCY_ACTION_SEARCH_UI",search_zero_state:"LATENCY_ACTION_SEARCH_ZERO_STATE",tenx:"LATENCY_ACTION_TENX",video_to_ad:"LATENCY_ACTION_VIDEO_TO_AD",watch:"LATENCY_ACTION_WATCH", "watch,watch7":"LATENCY_ACTION_WATCH","watch,watch7_html5":"LATENCY_ACTION_WATCH","watch,watch7ad":"LATENCY_ACTION_WATCH","watch,watch7ad_html5":"LATENCY_ACTION_WATCH",wn_comments:"LATENCY_ACTION_LOAD_COMMENTS","video.analytics":"LATENCY_ACTION_CREATOR_VIDEO_ANALYTICS","video.comments":"LATENCY_ACTION_CREATOR_VIDEO_COMMENTS","video.edit":"LATENCY_ACTION_CREATOR_VIDEO_EDIT","video.translations":"LATENCY_ACTION_CREATOR_VIDEO_TRANSLATIONS","video.video_editor":"LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR", "video.video_editor_async":"LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR_ASYNC","video.monetization":"LATENCY_ACTION_CREATOR_VIDEO_MONETIZATION"},Rga="isContinuation isNavigation kabukiInfo.isPrefetch kabukiInfo.isSecondaryNav isMonetized playerInfo.isPausedOnLoad prerollAllowed isRedSubscriber tvInfo.isMdx tvInfo.isPreloaded isVisible watchInfo.isPlaylist playbackRequiresTap".split(" "),IZ={},tB=(IZ.mver="MEASUREMENT_VERSION_",IZ.pis="PLAYER_INITIALIZED_STATE_",IZ.yt_pt="LATENCY_PLAYER_",IZ.pa="LATENCY_ACTION_", IZ.yt_vst="VIDEO_STREAM_TYPE_",IZ),wB=!1,Pga=(0,g.x)(kB.clearResourceTimings||kB.webkitClearResourceTimings||kB.mozClearResourceTimings||kB.msClearResourceTimings||kB.oClearResourceTimings||g.Ha,kB),oE=pB,Nma=dB,UB=nB;var JZ;var KZ=g.Ib,LZ=KZ.match(/\((iPad|iPhone|iPod)( Simulator)?;/);if(!LZ||2>LZ.length)JZ=void 0;else{var MZ=KZ.match(/\((iPad|iPhone|iPod)( Simulator)?; (U; )?CPU (iPhone )?OS (\d+_\d)[_ ]/);JZ=MZ&&6==MZ.length?Number(MZ[5].replace("_",".")):0}var kC=JZ,vV=0<=kC;vV&&0<=g.Ib.search("Safari")&&g.Ib.search("Version");var NZ={},dha=(NZ.ALWAYS=1,NZ.BY_REQUEST=3,NZ);g.t(g.zB,g.N);g.h=g.zB.prototype;g.h.Sf=function(a,b){b?(this.Uk(a),eC(this)&&TB(this)):(DB(this,a),this.N("dataupdated"))}; g.h.Uk=function(a){a=a||{};var b=a.status;null!=b&&(this.Em="fail"==b);b=a.errordetail;null!=b&&(this.errorDetail=b);b=a.errorcode;null!=b&&(this.errorCode=b);b=a.reason;null!=b&&(this.errorReason=b);b=a.subreason;null!=b&&(this.Ph=b);this.clientPlaybackNonce||(this.clientPlaybackNonce=a.cpn||vt());b=a.raw_embedded_player_response;if(!b){var c=a.embedded_player_response;c&&(b=JSON.parse(c))}b&&(this.yj=b);this.yj&&(b=this.yj.embedPreview)&&vha(this,b);b=a.raw_player_response;b||(c=a.player_response)&& (b=JSON.parse(c));b&&(this.Ka=b);if(this.Ka){(b=this.Ka.annotations)&&eha(this,b);(b=this.Ka.attestation)&&fha(this,b);(b=this.Ka.heartbeatParams)&&iha(this,b);(b=this.Ka.multicamera)&&jha(this,b);(b=this.Ka.overlay)&&kha(this,b);if(b=this.Ka.playabilityStatus)lha(this,b),(c=b.errorScreen)&&sha(this,c);(c=this.Ka.playbackTracking)&&mha(this,c,a);(c=this.Ka.playerConfig)&&nha(this,c);var d=this.Ka.streamingData;d&&qha(this,d,c||null);!this.ra("web_player_response_playback_tracking_killswitch")&&(d= this.Ka.trackingParams)&&(this.Gf=d);if(d=this.Ka.videoDetails)rha(this,d),uha(this,d,c||null,a);b&&hha(this,b,d||null);if(b=this.Ka.interstitialPods)for(b=g.q(b),c=b.next();!c.done;c=b.next())switch(d=c.value,c=d.interstitials.map(function(e){return(e=e.playerVars)&&Object.assign({is_yto_interstitial:!0},g.Hq(e))})[0],d.podConfig.playbackPlacement){case "INTERSTITIAL_PLAYBACK_PLACEMENT_PRE":this.interstitials=this.interstitials.concat({time:0, playerVars:c,No:5});break;case "INTERSTITIAL_PLAYBACK_PLACEMENT_POST":this.interstitials=this.interstitials.concat({time:0x7ffffffffffff,playerVars:c,No:6});break;case "INTERSTITIAL_PLAYBACK_PLACEMENT_INSERT_AT_VIDEO_TIME":d=parseInt(d.podConfig.timeToInsertAtMillis,10),this.interstitials=this.interstitials.concat({time:d,playerVars:c,No:0==d?5:7})}this.Ld&&this.eventId&&(this.Ld=Mq(this.Ld,{ei:this.eventId}));(b=this.Ka.captions)&&b.playerCaptionsTracklistRenderer&&gha(this,b.playerCaptionsTracklistRenderer); this.Ka.chapterMarkers&&(this.chapterMarkers=this.Ka.chapterMarkers)}b=a.hlsdvr;null!=b&&(this.allowLiveDvr="1"==b?ey()?!0:jC&&5>kC?!1:!0:!1);this.adQueryId=a.ad_query_id||null;this.adSafetyReason=a.encoded_ad_safety_reason||null;this.FC=a.agcid||null;this.Iu=a.ad_id||null;this.Ku=a.ad_sys||null;this.Nv=a.encoded_ad_playback_context||null;this.Ng=Q(this.Ng,a.infringe||a.muted);this.authKey=a.authkey;this.lc=a.authuser;this.zj=Q(this.zj,a.enable_cardio);this.jm=Q(this.jm,a.enable_cardio_before_playback); this.endSeconds=Py(this.endSeconds,this.ys||a.end||a.endSeconds);this.Gf=Qy(this.Gf,a.itct);this.Zq=Q(this.Zq,a.noiba);this.bk="1"==a.livemonitor;this.Om=Q(this.Om,a.is_live_destination);this.sa=Q(this.sa,a.live_playback);!this.Un&&(this.hi="1"==a.post_live_playback,this.isLiveDefaultBroadcast="1"==a.live_default_broadcast,this.isLowLatencyLiveStream="1"==a.is_low_latency_live_stream,b=a.latency_class)&&(this.latencyClass=Oy("UNKNOWN",b,Hna));this.isMdxPlayback=Q(this.isMdxPlayback,a.mdx);if(b=a.mdx_control_mode)this.mdxControlMode= g.Fa(b)?b:cd(b);this.Yq=Q(this.Yq,a.is_inline_playback_no_ad);this.cf=Py(this.cf,a.reload_count);this.reloadReason=Qy(this.reloadReason,a.reload_reason);this.uo=Q(this.uo,a.show_content_thumbnail);this.jr=Q(this.jr,a.utpsa);this.qt=Q(this.qt,a.third_party_remapped_ad);this.cycToken=a.cyc||null;this.dB=a.tkn||null;b=KA(a);0=this.va.videoInfos.length)&&(a=rw(this.va.videoInfos[0]),a!=("fairplay"==this.cd.flavor)))for(b=g.q(this.Di),c=b.next();!c.done;c=b.next())if(c=c.value,a==("fairplay"==c.flavor)){this.cd=c;break}}; g.h.gt=function(a){this.Qf=a;this.ht(new $z((0,g.ge)(this.Qf,function(b){return b.Od()})))}; g.h.pd=function(){var a={};this.za&&(a.fmt=gv(this.za),this.Zb&&gv(this.Zb)!=gv(this.za)&&(a.afmt=gv(this.Zb)));a.ei=this.eventId;a.list=this.playlistId;a.cpn=this.clientPlaybackNonce;this.videoId&&(a.v=this.videoId);this.Ng&&(a.infringe=1);this.tg&&(a.splay=1);var b=bC(this);b&&(a.live=b);this.rh&&(a.autoplay=1);this.fo&&(a.sdetail=this.fo);this.oe&&(a.partnerid=this.oe);this.osid&&(a.osid=this.osid);return a}; g.h.de=function(){if(!this.xd)if(this.Ka&&this.Ka.storyboards){var a=this.Ka.storyboards,b=a.playerStoryboardSpecRenderer;b&&b.spec?this.xd=new DA(b.spec,this.lengthSeconds):(a=a.playerLiveStoryboardSpecRenderer)&&a.spec&&this.ia&&(b=Pb(this.ia.g).index)&&(this.xd=new GA(a.spec,this.ia.isLive,b))}else this.xo?this.xd=new DA(this.xo,this.lengthSeconds):this.bn&&this.ia&&(a=Pb(this.ia.g).index)&&(this.xd=new GA(this.bn,this.ia.isLive,a));return this.xd}; g.h.getStoryboardFormat=function(){if(this.Ka&&this.Ka.storyboards){var a=this.Ka.storyboards;return(a=a.playerStoryboardSpecRenderer||a.playerLiveStoryboardSpecRenderer)&&a.spec||null}return this.xo||this.bn}; g.h.qc=function(){return this.ia&&!isNaN(this.ia.qc())?this.ia.qc():NB(this)?0:this.lengthSeconds}; g.h.Ab=function(){return this.ia&&!isNaN(this.ia.Ab())?this.ia.Ab():0}; g.h.getPlaylistSequenceForTime=function(a){if(this.ia&&this.za){var b=this.ia.g[this.za.id];if(!b)return null;var c=b.index.Le(a);b=b.index.Kc(c);return{sequence:c,iR:Math.floor(1E3*(a-b))}}return null}; g.h.isValid=function(){return!this.fa()&&!(!this.videoId&&!this.Qi)}; g.h.Eb=function(){return eC(this)&&!this.Mg&&!this.ji}; g.h.zA=function(){var a={format:"RAW",method:"GET",withCredentials:this.oA},b={};this.Ji&&this.visitorData&&(b["X-Goog-Visitor-Id"]=this.visitorData);var c=tv(this.Oa.experiments,"debug_dapper_trace_id");c&&(b["X-Google-DapperTraceInfo"]=c);0=this.Qs||400==a||429==a,c=200kC?.1:0,Ama=new AC;g.h=AC.prototype;g.h.Fh=null;g.h.pe=function(a){var b="";a&&(BC(this,a),b=a.g);this.src&&""==b||(b&&this.src!=b&&(this.src=b),a&&a.i||this.load())}; g.h.getDuration=function(){return this.duration||0}; g.h.getCurrentTime=function(){return this.currentTime||0}; g.h.MC=function(){this.hasAttribute("controls")&&this.setAttribute("controls","true")};g.t(g.CC,g.A);g.h=g.CC.prototype;g.h.Ch=ba(7);g.h.qn=function(){return this.o}; g.h.pe=function(a){var b="";a&&(EC(this,a),b=a.g);this.Vc()&&""==b||(b&&this.Vc()!=b&&(this.vn(b),this.l&&(this.l.dispose(),this.l=null)),a&&a.i||this.load(),this.F||(this.addEventListener("volumechange",this.kv),this.F=!0))}; g.h.Yn=function(){if(!this.l||this.l.fa()){var a=this.ha();a=window.MediaSource?new window.MediaSource:window.WebKitMediaSource?new window.WebKitMediaSource:new wx(a);a=new Lx(a);this.pe(a.kk);this.l=a}}; g.h.pn=function(){this.I||(this.u=null);if(this.u)return this.u;this.Yn();var a=this.l;this.l=null;return this.u=a}; g.h.playVideo=function(){this.Se()&&this.seekTo(0);!this.Vc()&&this.o&&(g.L(Error("playVideo without src")),this.vn(this.o.g),this.o.i||this.load());var a=this.play();!a&&vV&&7<=kC&&g.vs(this,"playing",(0,g.x)(function(){g.eq((0,g.x)(this.Yv,this,this.getCurrentTime(),0),500)},this)); return a}; g.h.Yv=function(a,b){this.yg()||this.getCurrentTime()>a||10kC&&(a=Math.max(.1,a)),this.po(a))}; g.h.stopVideo=function(){!this.l&&this.Vc()&&(rr&&0b-this.A+2||PD(this,a,b))){var d=this.i.pd();c=d.volume;var e=c!=this.I;d=d.muted;d!=this.H?(this.H=d,c=!0):(!e||0<=this.u||(this.I=c,this.u=b),c=b-this.u,0<=this.u&&2e;!(1e&&0!=e&&d.g==e||g.Ht("yt-player-quality",qy(d),2592E3)}}$J(c)}}; g.h.getCurrentPlaylistSequence=function(){return g.U(this.app).getPlaylistSequenceForTime(this.app.getCurrentTime())}; g.h.getPlaylistSequenceForTime=function(a){return g.U(this.app).getPlaylistSequenceForTime(a)}; g.h.getCurrentBroadcastId=function(){var a=this.app.o.Uc;return a?a.gw():null}; g.h.sendVideoStatsEngageEvent=function(a){this.app.sendVideoStatsEngageEvent(a,this.playerType)}; g.h.setCardsVisible=function(a,b,c){var d=this.app.o.l;d&&d.Bd()&&d.setCardsVisible(a,b,c)}; g.h.handleGlobalKeyDown=function(a,b,c,d,e){var f=g.ID(this);f&&f.handleGlobalKeyDown(a,void 0===b?!1:b,void 0===c?!1:c,void 0===d?!1:d,void 0===e?!1:e)}; g.h.handleGlobalKeyUp=function(a,b,c,d,e){var f=g.ID(this);f&&f.handleGlobalKeyUp(a,void 0===b?!1:b,void 0===c?!1:c,void 0===d?!1:d,void 0===e?!1:e)}; g.h.gD=function(){return this.getAudioTrack()}; g.h.getAudioTrack=function(){var a=g.U(this.app,this.playerType);return a?a.getAudioTrack():this.app.getVideoData().vj}; g.h.setAudioTrack=function(a){3==this.getPresentingPlayerType()&&g.KK(this.app.o).bf("control_set_audio_track",a);var b=g.U(this.app,this.playerType);if(b&&!b.fa()&&!g.T(b.i,128))if(b.O.va.g)b.l.setAudioTrack(a);else{a:{var c=b.O;if(c.Zb&&!rw(c.Zb)||a==c.Sk||!c.Qf||0>=c.Qf.length)c=!1;else{for(var d=g.q(c.Qf),e=d.next();!e.done;e=d.next()){e=e.value;if(!(e instanceof iA)){c=!1;break a}var f=a.kb.getId();e.i&&(e.i.i=f,e.g=null)}c.Sk=a;c=!0}}c&&(b.N("internalaudioformatchange",b.O,!0),GJ(b)&&b.Ma("hlsaudio", a.id))}}; g.h.hD=function(){return this.getAvailableAudioTracks()}; g.h.getAvailableAudioTracks=function(){return g.U(this.app,this.playerType).getAvailableAudioTracks()}; g.h.getMaxPlaybackQuality=function(){var a=g.U(this.app,this.playerType);return a&&a.getVideoData().za?qy(a.F?cI(a.R,a.F,gD(a)):oy):"unknown"}; g.h.getUserPlaybackQualityPreference=function(){var a=g.U(this.app,this.playerType);return a?a.getUserPlaybackQualityPreference():"auto"}; g.h.setSizeStyle=function(a,b){this.app.setSizeStyle(a,b)}; g.h.forceFrescaUpdate=function(){var a=this.app.o.Uc;a&&a.oD()}; g.h.showControls=function(){var a=g.ID(this);a&&a.showControls(!0)}; g.h.hideControls=function(){var a=g.ID(this);a&&a.showControls(!1)}; g.h.getVisibilityState=function(){var a=this.app.g;a=this.app.F.g&&!g.O(a.experiments,"kevlar_miniplayer_disable_vis");return this.app.getVisibilityState(this.ri(),this.isFullscreen()||ez(this.app.g),a,this.isInline(),this.app.F.o)}; g.h.isFullscreen=function(){return this.app.isFullscreen()}; g.h.isInline=function(){return this.app.isInline()}; g.h.ri=function(){var a=g.U(this.app,this.playerType);return!!a&&a.I.i}; g.h.shouldSendVisibilityState=function(){return!0}; g.h.getVideoContentRect=function(a){a=this.app.D.getVideoContentRect(a);return{left:a.left,top:a.top,width:a.width,height:a.height}}; g.h.setSafetyMode=function(a){this.app.g.enableSafetyMode=a}; g.h.setUserEngagement=function(a){this.app.g.kf!=a&&(this.app.g.kf=a,(a=g.U(this.app,this.playerType))&&$J(a))}; g.h.setFauxFullscreen=function(a){Qs();jY(this.app,a?2:0)}; g.h.toggleFullscreen=function(){var a=this.app.g;a.externalFullscreen?this.isFullscreen()?Ss(window.document.documentElement):Ps(window.document.documentElement):Qs()?this.isFullscreen()?Ss(LY(this.app)):g.O(a.experiments,"web_player_fullscreen_video_killswitch")||"3"!=a.l?Ps(this.app.D.element):(a=this.app.u.ha())&&Ps(a):this.la("onFullscreenToggled",this.isFullscreen())}; g.h.cancelPlayback=function(){var a=this.app.o.o;a&&a.created&&a.destroy();(a=g.U(this.app))&&a.stopVideo();(a=this.app.o.H)&&a.vE()&&g.GK(this.app.P,!0)}; g.h.stopVideo=function(){var a=this.app.g;!g.O(a.experiments,"disable_new_pause_state3")&&Cz(a)&&"blazer"!=a.playerStyle?this.cancelPlayback():zD.prototype.stopVideo.call(this)}; g.h.getVideoStats=function(){return g.U(this.app,this.playerType).fb(!0)}; g.h.toggleSubtitles=function(){var a=this.app.o.i;a&&a.gN()}; g.h.updateSubtitlesUserSettings=function(a){this.app.o.i.tB(a,!0)}; g.h.getSubtitlesUserSettings=function(){var a=this.app.o.i;return a?a.BD():null}; g.h.resetSubtitlesUserSettings=function(){this.app.o.i.HM()}; g.h.isAtLiveHead=function(a){return this.app.isAtLiveHead(void 0,void 0===a?!0:a)}; g.h.setMinimized=function(a){this.app.setMinimized(a)}; g.h.setInline=function(a){this.app.setInline(a)}; g.h.getDebugText=function(a){return this.app.getDebugText(a)}; g.h.setSphericalProperties=function(a){if(a){var b=this.app.o.u;b&&b.setSphericalProperties(a,!0)}}; g.h.getSphericalProperties=function(){var a=this.app.o.u;return a?a.getSphericalProperties():{}}; g.h.setBlackout=function(a){this.app.setBlackout(a)}; g.h.onAdUxClicked=function(a){this.N("aduxclicked",a)}; g.h.setVolume=function(a,b){ED(this,a,b)}; g.h.mute=function(a){FD(this,a)}; g.h.unMute=function(a){GD(this,a)}; g.h.isMutedByMutedAutoplay=function(){return this.app.Qa}; g.h.loadModule=function(a){if("annotations_module"==a){var b=this.app.o.l;b&&!b.loaded&&b.load()}zD.prototype.loadModule.call(this,a)}; g.h.unloadModule=function(a){if("annotations_module"==a){var b=this.app.o.l;b&&b.loaded&&b.unload()}zD.prototype.unloadModule.call(this,a)}; g.h.setOption=function(a,b,c){if(!b)return null;var d=this.app.o;switch(a){case "ad":return(a=d.o)&&a.zc&&a.zc(b,c);case "kids":return(a=wz(g.X(d.g))?d.A:null)&&a.zc(b,c);case "remote":return(a=g.KK(d))&&a.zc(b,c);case "unplugged":return(a=g.vz(g.X(d.g))?d.B:null)&&a.zc(b,c);case "annotations_module":return(a=d.l)&&a.zc(b,c);case "creatorendscreen":return(a=d.D)&&a.zc(b,c)}return zD.prototype.setOption.call(this,a,b,c)}; g.h.getOptions=function(a){var b=this.app.o;switch(a){case "ad":return(b=b.o)&&b.getOptions&&b.getOptions();case "remote":return(b=g.KK(b))&&b.getOptions();case "annotations_module":return(b=b.l)&&b.getOptions();case "creatorendscreen":return(b=b.D)&&b.getOptions();case "unplugged":return(b=g.vz(g.X(b.g))?b.B:null)&&b.getOptions();case "kids":return(b=wz(g.X(b.g))?b.A:null)&&b.getOptions()}if(!a){a=zD.prototype.getOptions.call(this);if(!a)return a;b.o&&a.push("ad");g.KK(b)&&a.push("remote");b.l&& a.push("annotations_module");b.D&&a.push("creatorendscreen");g.vz(g.X(b.g))&&b.B&&a.push("unplugged");wz(g.X(b.g))&&b.A&&a.push("kids");return a}return zD.prototype.getOptions.call(this,a)}; g.h.getPlayerSize=function(){var a=this.app.D.getPlayerSize();return{width:a.width,height:a.height}}; g.h.setGlobalCrop=function(a){this.app.D.setGlobalCrop(a)}; g.h.wakeUpControls=function(){var a=g.ID(this);a&&a.Ir()}; g.h.getVideoAspectRatio=function(){return this.app.D.getVideoAspectRatio()}; g.h.setUseFastSizingOnWatch=function(a){this.app.D.setUseFastSizingOnWatch(a)}; g.h.setInternalSize=function(a,b){this.app.D.setInternalSize(new g.vd(a,b))}; g.h.updateFullerscreenEduButtonVisibility=function(a){var b=mE(this);b&&(b.u=a,b.o())}; g.h.updateFullerscreenEduButtonSubtleModeState=function(a){var b=mE(this);b&&(g.I(b.element,"ytp-fullerscreen-edu-button-subtle",a),a&&!b.B&&(b.element.setAttribute("title","\uc2a4\ud06c\ub864\ud574\uc11c \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uae30"),g.pf(b,gT(b.D.Za(),b.element)),b.B=!0))};nE.prototype.reset=function(){cB("")}; nE.prototype.info=function(a,b){oE(a,b,"")};g.t(g.qE,g.A);g.qE.prototype.getId=function(){return this.A}; g.qE.prototype.toString=function(){return"CueRange{"+this.namespace+":"+this.A+"}["+rE(this.start)+", "+rE(this.end)+"]"}; g.qE.prototype.contains=function(a,b){return a>=this.start&&(athis.status&&!!this.i}; g.h.ug=function(){return!!this.o.length||(this.H||kF(this))&&0this.status&&!!this.response&&!!this.response.byteLength}; g.h.ug=function(){return this.o&&!!this.response&&!!this.response.byteLength}; g.h.jt=function(){this.ug();var a=this.response;this.response=null;return new Uint8Array(a)}; g.h.Er=function(){this.ug();return new Uint8Array(this.response)}; g.h.abort=function(){this.i=!0;this.g.abort()}; g.h.lt=function(){return!1}; g.h.Ks=function(){return!1}; g.h.yn=function(){return""};g.h=nF.prototype;g.h.start=function(a){qF(this,2);this.M=++nF.g;this.l?(this.I=ufa(this.info,this.l.l,this.l.length),this.i=g.dw(this.info,this.o,this.T,this.I)):(this.I=this.info.range,this.i=g.dw(this.info,this.o,this.T));var b=!1;if(this.o.Ca&&2>this.info.i.g&&this.F){var c=this.i.get("aitags");if(c&&(cw(this.info)||bw(this.info))&&this.aa&&"auto"==uy()&&Ay()){var d=Xc(c).split(","),e=[];(0,g.y)(this.aa,function(f){g.$a(d,f)&&e.push(f)}); 0d.g&&4E12>a?a:(0,g.D)();$E(d,a,b);50>a-d.A&&aF(d)&&3!=TE(d)||YE(d,a,b,c);b=this.timing;b.l>b.ya&&UE(b,b.l)&&4>this.state?qF(this,4):wF(this)&&yF(this)&&qF(this,Math.max(3,this.state))}}; g.h.fM=function(){if(!this.fa()&&this.g){if(!this.R&&this.g.bi()&&this.g.rd("X-Walltime-Ms")){var a=parseInt(this.g.rd("X-Walltime-Ms"),10);this.R=((0,g.D)()-a)/1E3}this.g.bi()&&this.g.rd("X-Restrict-Formats-Hint")&&this.o.mu&&!Ay()&&g.Ht("yt-player-headers-readable",!0,2592E3)}}; g.h.eM=function(){var a=this.g;if(!this.fa()&&a){this.P.stop();this.A=a.status;var b=!1;if(400<=a.status)b=!0,this.u="net.badstatus";else if(a.Jq()){var c="";xF(this)&&(c=a.Er(),2048a.g&&4E12>d?d:(0,g.D)();$E(a,d,c);YE(a,d,c);var f=TE(a);if(2==f&&e)XE(a,a.l/e,a.l);else if(2==f||1==f)e=(d-a.g)/1E3,(e<=a.i.policy.u||!a.i.policy.u)&&!a.ea&&aF(a)&&XE(a,e,c),aF(a)&&Hy(a.i,c,a.u);c=a.i;d=(d-a.g)/1E3;e=a.Y;f=bw(a.R);c.A.i(d,a.l/d);c.l=g.M();f||c.i.i(1,d-e)}a.o&&(a.o=!1)}a=pF(this);g.M();a.started=0;a.i=0;a.g=0;this.info.i.g=0;qF(this,6)}}else b=!0,this.u= 204==a.status?"net.nocontent":"net.connect";b&&rF(this)}}; g.h.DM=function(){if(!this.fa()){var a=(0,g.D)(),b=!1;aF(this.timing)?(a=this.timing.P,dF(this.timing),this.timing.P-a>=.8*this.o.H?(this.B++,b=5<=this.B):this.B=0):(b=this.timing,b.B&&cF(b,(0,g.D)()),a-=b.M,this.o.hf&&01E3*this.o.hd);this.B&&this.D&&this.D(this);b?uF(this,!1):this.P.start()}}; g.h.fa=function(){return-1==this.state}; g.h.dispose=function(){bw(this.info)&&6!=this.state&&(this.info.g[0].g.B=!1);qF(this,-1);this.D=null;this.P.dispose();tF(this)}; nF.DEBUG=!1;nF.g=0;g.t(AF,g.N);AF.prototype.getDuration=function(){return this.u.index.Sh()};SF.prototype.M=function(a){a=a.info;a.g.info.g>=this.F&&(this.F=a.g.info.g)}; SF.prototype.getDuration=function(){return this.g.index.Sh()};oG.prototype.setPlaybackRate=function(a){this.l=Math.max(1,a)}; oG.prototype.getPlaybackRate=function(){return this.l};tG.prototype.ua=function(){this.Mc("gv")}; tG.prototype.Mc=function(a,b){this.u[a]=b?window.performance.timing.navigationStart+b:g.M()};CG.prototype.send=function(){g.br(this.i,{format:"RAW",responseType:"arraybuffer",timeout:1E4,ed:this.l,ne:this.l,context:this});this.g=g.M()}; CG.prototype.l=function(a){var b={rc:a.status,lb:a.response?a.response.byteLength:0,rt:((g.M()-this.g)/1E3).toFixed(3),shost:g.Tg(this.i),trigger:this.A};204==a.status||a.response?this.o&&this.o(yx(b)):this.u(new g.xx("pathprobe.net",!1,b))};g.t(DG,g.N);g.t(NG,g.A);NG.prototype.removeCueRange=function(a){if(!this.fa()){for(var b=arguments.length-1;0<=b;b--){var c=arguments[b];if(c){g.cb(this.l,c);var d=this.g,e=d.g;c=g.ob(e,c,d.i);0<=c&&g.bb(e,c)}}this.i()}}; NG.prototype.reset=function(){this.started=!1;this.u.stop();this.g.g=[];this.l=[];this.i()}; NG.prototype.i=function(){this.A=!0;if(!this.B){for(var a=3;this.A&&a;)this.A=!1,this.B=!0,uia(this),this.B=!1,a--;g.WC(this.D())&&(a=LG(this.g,this.o),!isNaN(a)&&0x7ffffffffffff>a&&(a=(a-this.o)/this.I(),this.u.start(a)))}}; NG.prototype.U=function(){this.l=[];this.g.g=[];g.A.prototype.U.call(this)};SG.prototype.then=function(a,b){return this.l.then(a,b)}; SG.prototype.resolve=function(a){this.i(a)}; SG.prototype.reject=function(a){this.g(a)};g.t(UG,g.N);g.h=UG.prototype; g.h.initialize=function(a,b,c){a=a||0;this.N("videoformatchange",kia(this.B));if(this.u.i){if(this.g.BB){b=Bw(this.g);for(var d in this.u.g)this.u.g[d].index.o=b}this.Qa=new Pha(this.g,this.i.g.index)}this.D&&EG(this.D,this.i.g);this.g.D&&zw()&&this.Dc("streaming","ac."+(this.g.Wf&&!!window.AbortController),!0);this.A=this.u.i?0:a;c?(this.g.zd?(this.ab=c,this.H=!0,this.aa=c):(this.H=!0,this.aa=!1),g.Do(this.na)):(a=0==this.A,sH(this,this.i,this.i.g,a),sH(this,this.o,this.o.g,a),this.seek(this.A), this.ga.ua())}; g.h.resume=function(){if(this.H||this.Y)this.aa=this.Y=this.H=!1,this.Xe()}; g.h.setAudioTrack=function(a){if(!this.fa()){var b=this.B;b.l=b.A.g[a.id];b.H=b.l;this.N("audioformatchange",new CE(b.H,b.u,"m"));this.N("reattachrequired")}}; g.h.setPlaybackRate=function(a){a!=this.F.getPlaybackRate()&&this.F.setPlaybackRate(a)}; g.h.XK=function(a){var b=this.g.hf;if(!(!(b&&2<=a.state)||5<=a.state||a.Bg.M()|| hH(this,a,!1))}}}; g.h.Xe=function(){ZG(this);if(this.l&&Mx(this.l)&&!this.l.Sd()){var a=TF(this.i);a=this.g.Rm&&a&&a.u;this.u.isLive&&!a?isNaN(this.I)?(this.I=this.A+3600,Nx(this.l,this.I)):this.I<=this.A+1800&&(this.I=Math.max(this.I+1800,this.A+3600),Nx(this.l,this.I)):this.l.isView()||(a=Math.max(this.o.getDuration(),this.i.getDuration()),(!isFinite(this.I)||this.I!=a)&&0=c||cthis.l&&(this.l=c,g.Xb(this.g)||(this.g={},this.o.stop(),this.i.stop())),this.g[b]=a,g.Do(this.i))}}; xH.prototype.u=function(){for(var a in this.g)this.N("rotated_need_key_info_ready",new vH(Eia(this.g[a],this.l,a),"fairplay",!0));this.g={}};var ZZ={},Mna=(ZZ.DRM_TRACK_TYPE_AUDIO="AUDIO",ZZ.DRM_TRACK_TYPE_SD="SD",ZZ.DRM_TRACK_TYPE_HD="HD",ZZ.DRM_TRACK_TYPE_UHD1="UHD1",ZZ);g.t(AH,g.A);AH.prototype.u=function(a){this.fa()||(0!=a.status&&a.response?(UB("drm_net_r"),a=new Uint8Array(a.response),(a=zH(a))?this.l(a):this.g(this,"drm.net","t.p")):this.o(a))}; AH.prototype.o=function(a){this.fa()||this.g(this,a.status?"drm.net.badstatus":"drm.net.connect","t.r;c."+a.status)}; AH.prototype.B=function(a){if(!this.fa()){UB("drm_net_r");a:{var b="LICENSE_STATUS_OK"==a.status?0:9999,c=null;try{c=g.ne(a.license)}catch(n){}if(0!=b||c){c=new yH(b,c);0!=b&&a.reason&&(c.errorMessage=a.reason);if(a.authorizedFormats){b={};for(var d=[],e={},f=g.q(a.authorizedFormats),k=f.next();!k.done;k=f.next()){k=k.value;var l=Mna[k.trackType];if(l){"HD"==l&&a.isHd720&&(l="HD720");b[l]||(d.push(l),b[l]=!0);var m=null;try{m=g.ne(k.keyId)}catch(n){}if(!m){a=null;break a}e[PE(m)]=l}}c.g=d;c.i=e}a= c}else a=null}a?this.l(a):this.g(this,"drm.net","t.p;p.i")}}; AH.prototype.A=function(a){this.fa()||(a=a.error,this.g(this,"drm.net.badstatus","t.r;p.i;c."+a.code+";s."+a.status))};g.t(BH,g.A);g.h=BH.prototype;g.h.OF=function(a){if(this.u){var b=a.messageType||"license-request";this.u.call(this.l,new Uint8Array(a.message),b)}}; g.h.PF=function(){this.D&&this.D.call(this.l,this.g.keyStatuses)}; g.h.Vy=function(a,b){g.L(b);if(this.o){var c=a;b instanceof DOMException&&(c+=";n."+b.name+";m."+b.message);this.o.call(this.l,c)}}; g.h.XI=function(){this.fa()||hr("xboxone")&&this.o&&this.o.call(this.l,"closed")}; g.h.rz=function(a){this.u&&this.u.call(this.l,a.message,"license-request")}; g.h.qz=function(a){if(this.o){if(this.i){var b=this.i.error.code;a=this.i.error.systemCode}else b=a.errorCode&&a.errorCode.code,a=a.systemCode;this.o.call(this.l,"t.prefixedKeyError;c."+b+";sc."+a)}}; g.h.pz=function(){this.B&&this.B.call(this.l)}; g.h.update=function(a){if(this.g)return this.g.update(a).then(null,Zp((0,g.x)(this.Vy,this,"t.update")));this.i?this.i.update(a):this.A.addKey?this.A.addKey(this.H.g,a,this.F,this.sessionId):this.A.webkitAddKey(this.H.g,a,this.F,this.sessionId);return Fr()}; g.h.U=function(){this.g&&this.g.close();this.A=null;g.A.prototype.U.call(this)};g.t(CH,g.A);g.h=CH.prototype; g.h.createSession=function(a){var b=a.initData;if(this.g.i){var c=this.u.createSession();"com.youtube.fairplay"==this.g.g&&(b=EH(this,b));b=c.generateRequest(a.contentType,b);c=new BH(null,null,null,c,null);b.then(null,Zp((0,g.x)(c.Vy,c,"t.generateRequest")));return c}if(Qz(this.g)){c=new Uint8Array(270);for(a=0;135>a;a++)c[2*a]=''.charCodeAt(a);b=this.l.createSession("video/mp4", b,c);return new BH(null,null,null,null,b)}if(Tz(this.g))return b=EH(this,b),b=this.l.createSession("video/mp4",b),new BH(null,null,null,null,b);this.i.generateKeyRequest?this.i.generateKeyRequest(this.g.g,b):this.i.webkitGenerateKeyRequest(this.g.g,b);return this.o=new BH(this.i,this.g,b,null,null)}; g.h.SF=function(a){var b=FH(this,a);b&&b.rz(a)}; g.h.RF=function(a){var b=FH(this,a);b&&b.qz(a)}; g.h.QF=function(a){var b=FH(this,a);b&&b.pz(a)}; g.h.U=function(){g.A.prototype.U.call(this);delete this.i};var $Z={},Mia=($Z.widevine="DRM_SYSTEM_WIDEVINE",$Z.fairplay="DRM_SYSTEM_FAIRPLAY",$Z.playready="DRM_SYSTEM_PLAYREADY",$Z);g.t(IH,g.A);g.h=IH.prototype; g.h.MF=function(a,b){if(!this.fa()){HH(this,"onkmtyp"+b);if(!g.O(this.l.experiments,"html5_provisioning_killswitch"))switch(b){case "license-request":case "license-renewal":case "license-release":break;case "individualization-request":Lia(this,a);return;default:this.Nb.N("ctmp","message_type","t."+b+";l."+a.byteLength)}this.H||(UB("drm_gk_f"),this.H=!0,this.Nb.N("newsession",this));if(Rz(this.i)){var c=JH(a);if(!c)return;a=c}if("fairplay"==this.i.flavor){c=g.ke(a);for(var d=new Uint8Array(c.length), e=0;e=Math.abs(e.value.cryptoPeriodIndex-c)){c=!0;break a}c=!1}c=!c}c?c=0:(c=a.g,c=1E3*Math.max(0,Math.random()*((isNaN(c)?120:c)-30)));this.g.push({time:b+c,info:a});g.Do(this.i,c)};g.t(UH,g.N);g.h=UH.prototype;g.h.ha=function(){return this.D}; g.h.jJ=function(a){TH(this,"onecpt");XH(this,new Uint8Array(a.initData),a.initDataType)}; g.h.iK=function(a){TH(this,"onndky");XH(this,a.initData,a.contentType)}; g.h.PJ=function(){var a=this;if(!this.fa())if(!g.O(this.o.experiments,"html5_drm_set_server_cert")||g.uz(this.o)&&!g.kr())ZH(this);else{var b=Hia(this.F);b?b.then(Zp(function(c){YB(a.O)&&a.N("ctmp","ssc",c)}),Zp(function(c){a.N("ctmp","ssce","n."+c.name+";m."+c.message)})).then(Zp(function(){return ZH(a)})):ZH(this)}}; g.h.zI=function(a){if(!this.fa()){g.L(a);var b="t.a";a instanceof DOMException&&(b+=";n."+a.name+";m."+a.message);this.N("licenseerror","drm.unavailable",!0,b,"HTML5_NO_AVAILABLE_FORMATS_FALLBACK")}}; g.h.Lu=function(a){this.l.push(a);VH(this)}; g.h.kK=function(a){this.fa()||(TH(this,"onnelcswhb"),a&&!this.Y&&(this.Y=a,this.N("heartbeatparams",a)))}; g.h.lK=function(){this.fa()||(TH(this,"newlcssn"),this.l.shift(),this.H=!1,VH(this))}; g.h.nL=function(){if(Qz(this.g)&&(TH(this,"onsnrdy"),this.X--,0==this.X)){var a=this.u;a.i.msSetMediaKeys(a.l)}}; g.h.TF=function(a){this.fa()||(TH(this,"onksch"),YH(this,NH(a,this.P)))}; g.h.uJ=function(){this.fa()||this.M||!Sz(this.g)||(TH(this,"onhdet"),this.I=YJ,this.N("hdproberequired"),this.N("qualitychange"))}; g.h.U=function(){this.g.i&&this.D.setMediaKeys(null);this.D=null;this.l=[];for(var a=g.q(this.i.values),b=a.next();!b.done;b=a.next())b.value.dispose();a=this.i;a.keys=[];a.values=[];this.T&&(this.T.dispose(),this.T=null);g.N.prototype.U.call(this)}; g.h.fb=function(){for(var a={systemInfo:this.g.fb(),sessions:[]},b=g.q(this.i.values),c=b.next();!c.done;c=b.next())a.sessions.push(c.value.fb());return a}; g.h.Od=function(){return 0>=this.i.values.length?"no session":this.i.values[0].Od()+(this.A?"/KR":"")};g.t(aI,g.N);aI.prototype.setPlaybackRate=function(a){this.D=a}; aI.prototype.ra=function(a){return g.O(this.g.experiments,a)};g.t(kI,g.A);kI.prototype.u=function(){if(!(this.F||0>this.l)){mI(this);var a=g.VD(this.g)-this.l,b="n";g.YC(this.i)&&(b="b");g.T(this.i,16)&&(b="s");a=0>this.o?a:this.o-this.l;var c=this.g.rb.Oc+36E5=this.o+30)&&(g.nI(this,a,"vps",[this.l]),this.o=a),!g.Xb(this.i))){rI(this,a);var b=a,c=this.g.u(),d=c.droppedVideoFrames||0,e=c.totalVideoFrames||0,f=d-this.ga,k=e&&!this.ma;if(d>c.totalVideoFrames||5E3=this.qc();this.l&&(l=CI(this.l,k));(l=l||!g.lC(this.O))||this.N("ctmp","seeknotallowed",k+";"+this.qc());if(!l)return this.A&&(this.A=null,PI(this)),ng(this.getCurrentTime());if(a==this.i&&this.I)return this.D;this.I&&JI(this);this.D||(this.D=new SG);a&&!isFinite(a)&&LI(this,!1);k=a;OI(this)&&!(this.g&&0a.l&&3!=a.g.getVisibilityState()&&lI(a));g.P(this.o.experiments,"html5_background_quality_cap")&&this.l&&aK(this);this.o.Gl&&!this.O.backgroundable&&this.g&&!this.I.i&&(this.I.isBackground()&&this.g.qn()?(this.Ma("bgmobile","suspend"),g.PJ(this,!0)):this.I.isBackground()||GJ(this)&&this.Ma("bgmobile","resume"))}; g.h.jK=function(a,b){this.B?WH(this.B,new vH(b,a)):this.ab.push({type:a,info:b})}; g.h.lz=function(){g.hy&&this.Z&&this.Z.g&&this.B&&(Sia(this.B,this.Z.g),this.Z=null)}; g.h.RL=function(a){this.O.vB=my("auto",a,!1,"u");aK(this)}; g.h.cF=function(a){MJ(this,a.reason,a.video.info,a.audio.info)}; g.h.JJ=function(a){LJ(this,a.reason,a.audio.info)}; g.h.lk=function(a){var b=this;mja(this,a);if("html5.invalidstate"!=a.errorCode&&"fmt.unplayable"!=a.errorCode&&"fmt.unparseable"!=a.errorCode||!jK(this,a.errorCode,a.details)){var c=/^pp/.test(this.O.clientPlaybackNonce);if(lja(a)){a.details.sts="18088";if(lK(this)){g.T(this.i,4)||g.T(this.i,512)?(this.Qc=!0,eJ(this)):(a.g&&(a.details.e=a.errorCode,a.errorCode="qoe.restart",a.g=!1),this.u.onError(a.errorCode,yx(a.details)),mK(this));return}a:if(!(6048E5>g.M()-this.o.Oc)){try{window.location.reload(!0); break a}catch(f){}this.ra("tvhtml5_retire_old_players")&&g.uz(this.o)&&oK(this)}}if(nK(a)&&this.O.va&&this.O.va.i)this.u.onError(a.errorCode,yx(a.details)),this.Ma("highrepfallback","1",!0),!this.ra("html5_hr_logging_killswitch")&&/^hr/.test(this.O.clientPlaybackNonce)&&btoa&&this.Ma("afmts",btoa(this.O.adaptiveFormats),!0),wha(this.O),cJ(this),eJ(this),iK(this),this.playVideo();else if(a.g){c=this.l?this.l.B.o:null;if(nK(a)&&c&&c.isLocked())var d="FORMAT_UNAVAILABLE";else if(!this.ra("web_player_gvi_captcha_redirect_killswitch")&& !this.o.Kb&&"auth"==a.errorCode&&429==a.details.rc){d="TOO_MANY_REQUESTS";var e="6"}g.aJ(this,a.errorCode,d,yx(a.details),e)}else this.u.onError(a.errorCode,yx(a.details)),c&&"manifest.net.connect"==a.errorCode&&(a="https://www.youtube.com/generate_204?cpn="+this.O.clientPlaybackNonce+"&t="+g.M(),(new CG(a,"manifest",function(f){b.Wf=!0;b.Ma("pathprobe",f)},function(f){return b.u.onError(f.errorCode,yx(f.details))})).send())}}; g.h.pauseVideo=function(a){a=void 0===a?!1:a;if((g.T(this.i,64)||g.T(this.i,2))&&!a)if(g.T(this.i,8))yJ(this,UC(this.i,4,8));else return;if(this.g||g.O(this.o.experiments,"html5_pause_video_fix"))g.T(this.i,128)||(a?yJ(this,SC(this.i,256)):yJ(this,UC(this.i,4,8))),this.g&&this.g.pause(),g.lC(this.O)&&this.l&&WJ(this,!1)}; g.h.stopVideo=function(){this.pauseVideo();this.l&&(WJ(this,!1),XG(this.l))}; g.h.seekTo=function(a,b,c,d,e,f){a=void 0===a?0:a;b=void 0===b?!1:b;d=void 0===d?!1:d;e=void 0===e?!1:e;f=void 0===f?0:f;g.T(this.i,2)&&GJ(this);this.A.seekTo(a,b,d,c,e,f)}; g.h.getCurrentTime=function(){return this.A.getCurrentTime()}; g.h.getPlaylistSequenceForTime=function(a){return this.O.getPlaylistSequenceForTime(a-this.Ib())}; g.h.getDuration=function(){return this.O.lengthSeconds?this.O.lengthSeconds+this.Ib():fK(this)?fK(this):0}; g.h.yD=function(){var a=new dga;if(this.l){var b=this.o.schedule;a.l=b.F;a.u=b.H;a.bandwidthEstimate=Ly(b);a.g="d."+Iy(b).toFixed(2)+";st."+(1E9*(b.o.g()||0)).toFixed(2)+";bw."+b.g.g().toFixed(0)+";abw."+b.A.g().toFixed(0)+";v50."+Fy(b.i,.5).toFixed(2)+";v92."+Fy(b.i,.92).toFixed(2)+";v96."+Fy(b.i,.96).toFixed(2)+";v98."+Fy(b.i,.98).toFixed(2);b=this.l;if(b.l&&!Ox(b.l)&&(a.i=dG(b.i,b.A),a.o=dG(b.o,b.A),b.g.oa)){var c=cG(b.i),d=cG(b.o),e=Ax(b.l.i.oc(),"_"),f=Ax(b.l.g.oc(),"_");a.g=(a.g||"")+(";lvq."+ c+";laq."+d+";lvb."+e+";lab."+f)}a.bandwidthEstimate=pG(b.F)}else this.g&&(a.i=FC(this.g));a.A=this.pw();return a}; g.h.fb=function(a){var b={};if(void 0===a?0:a){g.Ra(b,this.u.fb());this.g&&(g.Ra(b,this.g.fb()),g.Ra(b,this.tq()));this.l&&g.Ra(b,this.l.fb());this.B&&(b.drm=this.B.fb());b.state=this.i.g.toString(16);g.T(this.i,128)&&(b.debug_error=this.i.i);JJ(this)&&(b.prerolls=this.M.join(","));this.O.Ff&&(b.ismb=this.O.Ff);"UNKNOWN"!=this.O.latencyClass&&(b.latency_class=this.O.latencyClass);this.O.isLowLatencyLiveStream&&(b.lowlatency="1");this.O.sa&&(this.O.ia&&lx(this.O.ia)&&(b.segduration=lx(this.O.ia)), a=this.A,b.lat=a.F?aD(a.F.o):0,b.liveutcstart=this.O.liveUtcStartSeconds);b.relative_loudness=this.O.Pk.toFixed(3);if(a=g.iD(this))b.optimal_format=a.ua().qualityLabel;b.user_qual=uy()}b.debug_videoId=this.O.videoId;return b}; g.h.addCueRange=function(a){var b=this.H;a=[a];b.i();MG(b.g,a);b.o=NaN;b.i()}; g.h.removeCueRange=function(a){this.H.removeCueRange(a)}; g.h.TL=function(){tJ(this)}; g.h.SL=function(){g.aJ(this,"auth",unescape(this.O.errorReason),this.O.errorDetail||"sec."+this.O.errorCode,this.O.errorDetail,this.O.Ph||void 0)}; g.h.togglePictureInPicture=function(){this.g&&this.g.togglePictureInPicture()}; g.h.dF=function(a){var b=a.target.Vc();if(this.g&&this.g.Vc()&&this.g.Vc()==b){BK(this,a.type);switch(a.type){case "error":var c=JC(this.g)||"";if("capability.changed"==c){FJ(this);return}if(0this.g.getCurrentTime()&&this.l)return;break;case "resize":CK(this);this.O.za&&"auto"==this.O.za.ua().quality&&this.N("internalvideoformatchange",this.O,!1);break;case "pause":if(this.ld&&g.T(this.i,8)&&!g.T(this.i,1024)&&0==this.getCurrentTime()&&g.Hz){vK(this,"safari_autoplay_disabled");return}}if(this.g&&this.g.Vc()==b){this.N("videoelementevent",a);b=this.i;if(!g.T(b,128)){c=this.wa;e=this.g;var f=this.o.experiments;d=b.g;e=e?e:a.target;var k=e.getCurrentTime();if(!g.T(b,64)||"ended"!=a.type&& "pause"!=a.type){var l=e.Se()||1Math.abs(k-e.getDuration());k="ended"==a.type||"waiting"==a.type||"timeupdate"==a.type&&!g.T(b,4)&&!NC(c,k);if("pause"==a.type&&e.Se()||l&&k)0Math.random()&&(f+=";gpu."+(0,g.DJ)());d={errorCode:d,errorMessage:g.OJ[e]|| "",bq:e,jA:f}}else d=null;b=RC(b,c,d)}!g.T(this.i,1)&&g.T(b,1)&&AK(this,"evt_"+a.type);yJ(this,b)}}}; g.h.oI=function(a){a="available"==a.g.availability;a!=this.Wb&&(this.Wb=a,this.N("airplayavailabilitychange"))}; g.h.pI=function(){var a=this,b=g.M();if(isNaN(this.Xb)||!(2E3>b-this.Xb)){var c=this.g.ri();this.Xb=b;c!=this.I.i&&(gja(this.I,c),FJ(this).then(function(){return GJ(a)})); this.N("airplayactivechange")}}; g.h.Jp=function(){var a=this.g;a&&this.xa&&!this.O.ce&&!qB("vfp","")&&2<=a.je()&&!a.Se()&&0Math.abs(c-a)?this.g.nn()?this.seekTo(0,!0):ZI(this):this.ra("html5_reseek_in_pfx")&&1.1this.zd)a="drm.sessionlimitexhausted",b=!1;else if(this.ra("html5_drm_fallback_to_playready_on_retry")&&"drm.keyerror"==a&&2>this.Ad&&(this.Ad++,cJ(this),1=b)break;this.l.seekTo(g.pd(b-(Number(a.seekOffsetMilliseconds)||0)/1E3,0,b));break;case "AD_PLAYER_CONTROLS_ACTION_RESUME":this.l.resume()}};AL.prototype.ak=function(){return!1}; AL.prototype.M=function(){return function(){return null}};g.t(CL,AL);g.h=CL.prototype;g.h.bd=function(){return!0}; g.h.Ec=function(){return!1}; g.h.isSkippable=function(){return null!=this.aa}; g.h.getVideoUrl=function(){return this.H}; g.h.ak=function(){return!0};g.t(LL,AL);LL.prototype.bd=function(){return!0}; LL.prototype.Ec=function(){return!1}; LL.prototype.ak=function(){return!0}; LL.prototype.M=function(){return function(){return g.Fd("video-ads")}};ML.prototype.ub=function(){return this.I}; ML.prototype.isPostroll=function(){return"AD_PLACEMENT_KIND_END"==this.ub().l};var Bja=["FINAL","CPN","MIDROLL_POS","SDKV","SLOT_POS"];WL.prototype.send=function(a,b,c){try{var d=a.match(Rg);if("https"===d[1])var e=a;else d[1]="https",e=Pg("https",d[2],d[3],d[4],d[5],d[6],d[7]);var f=this.i?Fn.i:On.ir(e),k=g.Bn(e,Cja(b,c,f));a=void 0;Pq(e)&&(k=ch(k,"abv","45"),this.g&&tC(this.g)&&this.l&&(a={Authorization:"Bearer "+tC(this.g)}));this.i?Rn(k,b,void 0,f):g.xr(k,void 0,f,a)}catch(l){}};XL.prototype.g=function(){return"loggingUrls"}; XL.prototype.i=function(a,b,c){c=void 0===c?{}:c;a=g.q(a);for(var d=a.next();!d.done;d=a.next())d=d.value,d.baseUrl&&this.l.send(d.baseUrl,b,c)};YL.prototype.g=function(){return"muteAdEndpoint"}; YL.prototype.i=function(a){var b=this;switch(a.type){case "SKIP":g.dg(function(){var c=b.l;c.i&&c.i.Ze()&&c.i.yk()})}};ZL.prototype.g=function(){return"pingingEndpoint"}; ZL.prototype.i=function(){};dM.prototype.g=function(){return"urlEndpoint"}; dM.prototype.i=function(a,b){if(a.url){var c=g.Bn(a.url,b);g.cM(c)}};g.t(eM,g.A);fM.prototype.showCompanion=function(a,b,c){return gM(this).then(function(){return kM(a,b,c)})};mM.prototype.showCompanion=function(a,b){b.contentVideoId||(b.contentVideoId=a);this.i.la("updateKevlarOrC3Companion",b)};var oM=null;g.t(nM,g.N);g.Ga("ytads.bulleit.getVideoMetadata",function(a){var b=pM();return b.g.hasOwnProperty(a)?b.g[a].fy():{}},void 0); g.Ga("ytads.bulleit.triggerExternalActivityEvent",function(a,b,c){var d=pM();c=gka(c);null!==c&&d.N(c,{queryId:a,viewabilityString:b})},void 0);g.t(qM,g.A);g.t(xM,g.A);g.t(OM,g.N);g.h=OM.prototype;g.h.fy=function(){return{}}; g.h.mo=function(){}; g.h.gb=function(a){this.Qg();this.N(a)}; g.h.Mw=function(){}; g.h.Qg=function(){QM(this,this.H,3);this.H=[]}; g.h.getDuration=function(){return this.ba.getDuration(2,!1)}; g.h.Xj=function(){var a=this.g;yM(a)||!LM(a,"impression")&&!LM(a,"start")||LM(a,"abandon")||LM(a,"complete")||LM(a,"skip")||(AM(a)?GM(a,"pause"):FM(a,"pause"))}; g.h.Zh=function(){this.R?g.O(g.X(this.ba).experiments,"bulleit_add_post_play_adblock_error")&&this.Ob("ui_unstable"):this.A||this.Jb()}; g.h.Jc=function(){IM(this.g,this.getDuration())}; g.h.Ic=function(){var a=this.g;!LM(a,"impression")||LM(a,"skip")||LM(a,"complete")||GM(a,"abandon")}; g.h.bh=function(){var a=this.g;if(AM(a))var b=!1;else b=g.X(a.g),b=g.uz(b)&&!g.Ez(b)&&g.O(g.X(a.g).experiments,"ensure_only_one_ads_termination_ping_for_bulleit_living_room")||g.O(g.X(a.g).experiments,"ensure_only_one_ads_termination_ping_for_bulleit")?!0:!1;b?!LM(a,"impression")||LM(a,"abandon")||LM(a,"complete")||FM(a,"skip"):FM(a,"skip")}; g.h.Jb=function(){if(!this.A){var a=TM(this);this.g.l.AD_CPN=a;HM(this.g);this.A=!0}}; g.h.Ob=function(a){a=a||"";var b="",c="",d="";rM(this.ba)&&(b=g.IK(this.ba,2).g,this.ba.app.u&&(c=this.ba.app.u.je(),null!=this.ba.app.u.We()&&(d=this.ba.app.u.We())));var e=this.g;e.l=UL(e.l,SL(3,"There was an error playing the video ad. Error code: "+(a+"; s:"+b+"; rs:")+(c+"; ec:"+d)));FM(e,"error")}; g.h.ai=function(){}; g.h.bA=function(){this.N("c")}; g.h.cA=function(){this.N("h")}; g.h.dA=function(){this.N("i")}; g.h.eA=function(){this.N("j")}; g.h.fA=function(){this.N("k")}; g.h.gA=function(){this.N("l")}; g.h.hA=function(){this.N("q")}; g.h.dispose=function(){this.fa()||(this.Qg(),this.l.unsubscribe("c",this.bA,this),this.l.unsubscribe("h",this.cA,this),this.l.unsubscribe("i",this.dA,this),this.l.unsubscribe("j",this.eA,this),this.l.unsubscribe("k",this.fA,this),this.l.unsubscribe("l",this.gA,this),this.l.unsubscribe("q",this.hA,this),hka(this.l,this),g.N.prototype.dispose.call(this))}; g.h.Qv=function(){return""};g.t(UM,AL);UM.prototype.bd=function(){return!1}; UM.prototype.Ec=function(){return!0};g.t(VM,sL);g.t(WM,OM);WM.prototype.Vb=function(){var a=this,b=new VM(this.u.g,this.macros),c=this.ba.getVideoData(2);c&&c.Vd&&XM(this,c,b)?YM(this,c,b):(this.i=function(d,e,f){e&&2==f&&XM(a,e,b)&&e.Vd&&(a.i&&(a.ba.removeEventListener("videodatachange",a.i),a.i=null),YM(a,e,b))},this.ba.addEventListener("videodatachange",this.i))}; WM.prototype.ai=function(a){MM(this.g,a)}; WM.prototype.U=function(){this.i&&(this.ba.removeEventListener("videodatachange",this.i),this.i=null);OM.prototype.U.call(this)};g.t(ZM,AL);ZM.prototype.bd=function(){return!0}; ZM.prototype.Ec=function(){return!1};g.t($M,sL);g.t(aN,OM);g.h=aN.prototype;g.h.Vb=function(){0=this.D&&(g.L(Error("durationMs was specified incorrectly with a value of: "+this.D)),this.Jc());this.Jb();this.ba.addEventListener("progresssync",this.F)}; g.h.Ic=function(){OM.prototype.Ic.call(this);this.gb("b")}; g.h.Jb=function(){OM.prototype.Jb.call(this);this.o=Math.floor(this.ba.getCurrentTime());this.i=this.o+this.D/1E3;RM(this,[new nN(this.B.g)]);var a=this.ba.getVideoData(1);a=a&&a.clientPlaybackNonce||"";var b=g.Ct();b&&Ns("adNotify",{clientScreenNonce:b,adMediaTimeSec:this.i,timeToAdBreakSec:Math.ceil(this.i-this.o),clientPlaybackNonce:a,videoAdBreakOffsetSec:Math.floor(this.B.g.videoAdBreakOffsetMs/1E3)});g.T(g.IK(this.ba,1),512)&&(a=(a=this.ba.getVideoData(1))&&a.clientPlaybackNonce||"",(b=g.Ct())&& Ns("adNotifyFailure",{clientScreenNonce:b,adMediaTimeSec:this.i,timeToAdBreakSec:Math.ceil(this.i-this.o),clientPlaybackNonce:a,videoAdBreakOffsetSec:Math.floor(this.B.g.videoAdBreakOffsetMs/1E3)}),this.Jc())}; g.h.Jc=function(){OM.prototype.Jc.call(this);this.gb("f")}; g.h.Ob=function(a){OM.prototype.Ob.call(this,a);this.gb("g")}; g.h.gb=function(a){this.ba.removeEventListener("progresssync",this.F);this.Qg();this.N(a)}; g.h.dispose=function(){this.ba.removeEventListener("progresssync",this.F);OM.prototype.dispose.call(this)};g.t(pN,sL);g.t(qN,OM);qN.prototype.Vb=function(){var a=new pN(this.u.g,this.macros);RM(this,[a])};g.t(rN,OM);rN.prototype.Vb=function(){var a=TM(this);this.g.l.AD_CPN=a;HM(this.g)};g.t(sN,sL);g.t(tN,sL);g.t(uN,OM);uN.prototype.Vb=function(){var a;if(a=g.O(g.X(this.ba).experiments,"render_enhanced_overlays_as_ctas_for_desktop"))a=this.i.g,a=a.contentSupportedRenderer?!!a.contentSupportedRenderer.enhancedTextOverlayAdContentRenderer:!1;a?(a=new tN(this.i.g,this.macros),RM(this,[a])):(a=new sN(this.i.g,this.macros),RM(this,[a]))};g.t(vN,sL);g.t(wN,OM);wN.prototype.Vb=function(){this.Jb()}; wN.prototype.Jb=function(){RM(this,[new vN(this.i.g,this.macros)]);OM.prototype.Jb.call(this)}; wN.prototype.Ob=function(a){OM.prototype.Ob.call(this,a);this.gb("g")};g.t(BN,sL);g.t(CN,OM);CN.prototype.Vb=function(){var a=new BN(this.i.g,this.macros);RM(this,[a])};g.t(DN,sL);g.t(EN,OM);EN.prototype.Vb=function(){var a=new DN(this.u.g,this.macros);RM(this,[a])}; EN.prototype.ai=function(a){MM(this.g,a)};g.t(FN,sL);g.t(GN,OM);g.h=GN.prototype;g.h.Va=function(){450>g.JK(this.ba).getPlayerSize().width&&(g.Ws(this.ca),this.Ic())}; g.h.Vb=function(){this.Jb()}; g.h.mo=function(){this.i&&!g.O(g.X(this.ba).experiments,"use_full_player_survey_interstitial_on_web")&&(this.i.g=!0,mka(this,[this.i]))}; g.h.Jb=function(){this.i=new FN(this.o.g);this.i.g=this.o.l;RM(this,[this.i]);OM.prototype.Jb.call(this)}; g.h.getDuration=function(){return this.o.i}; g.h.Ic=function(){OM.prototype.Ic.call(this);this.gb("a")}; g.h.bh=function(){OM.prototype.bh.call(this);this.gb("f")}; g.h.Ob=function(a){OM.prototype.Ob.call(this,a);this.gb("g")}; g.h.gb=function(a){this.Qg();"a"!=a&&wP(this.B.T);this.N(a)}; g.h.ai=function(a){switch(a){case "skip-button":this.bh();break;case "survey-submit":this.gb("f")}};g.t(HN,sL);g.t(IN,OM);IN.prototype.Vb=function(){this.Jb()}; IN.prototype.Jb=function(){RM(this,[new HN(this.i.g,this.macros)]);OM.prototype.Jb.call(this)}; IN.prototype.Ic=function(){OM.prototype.Ic.call(this);this.gb("a")}; IN.prototype.Ob=function(a){OM.prototype.Ob.call(this,a);this.gb("g")};g.t(JN,sL);g.t(KN,OM);g.h=KN.prototype;g.h.Vb=function(){0b){c=b-a;for(var e=this.ba.app.na,f=void 0,k,l=g.q(e.i),m=l.next();!m.done;m=l.next())if(m=m.value,m.hc==d){k=m;break}k&&(void 0==f&&(f=k.td),sX(e,k,c,f))}return d}; g.h.dispose=function(){sM(this.ba)&&!this.I&&this.ba.stopVideo(2);OM.prototype.dispose.call(this)};$N.prototype.reduce=function(a){switch(a.event){case "start":case "continue":case "predictStart":case "stop":break;case "unknown":return;default:return}var b=a.identifier;var c=this.g[b];c?b=c:(c={Mh:null,rx:-Infinity},b=this.g[b]=c);c=a.g+a.i/1E3;if(!(c=c?null:c,null===c)a=null;else{switch(a.event){case "start":case "continue":case "stop":break;default:a=null;break a}d=Math.max(a.g,0);a={TC:new g.Ci(d,c),uE:new eu(d,c-d,a.context,a.identifier,a.event,a.i)}}a&&(c=a.uE,b.Mh=a.TC,this.i.mz(c))}}; $N.prototype.updateTime=function(){};g.t(aO,g.N); aO.prototype.reduce=function(a){switch(a.event){case "start":case "continue":case "predictStart":case "stop":break;case "unknown":return;default:return}var b=a.g+a.i/1E3;if(!(b=b?null:b,null!== b){switch(a.event){case "start":case "continue":if(this.l.hasOwnProperty(a.identifier))break a;break;case "predictStart":case "stop":break a;default:break a}var c=Math.max(a.g,0);this.i=new g.Ci(c,b);a=new eu(c,b-c,a.context,a.identifier,a.event,a.i);this.l[a.identifier]=null;this.g=a.g+a.i/1E3+5;this.N("Identified a new cuerange",a)}}}; aO.prototype.updateTime=function(a){this.i&&(this.i.end<=a||!(null===this.g||a$D(a,4)&&!(0>$D(a,2))&&(d=this.i.g,yM(d)||(AM(d)?GM(d,"resume"):FM(d,"resume")));!g.O(g.X(this.ba).experiments,"html5_dai_handle_suspended_state_killswitch")&&this.ac&&g.aE(a,512)&&!g.YC(a.state)&&lO(this.A)}}; g.h.hy=function(){}; g.h.resume=function(){this.i&&this.i.mo()}; g.h.Nr=function(){this.P?this.i&&this.i.gb("f"):this.Ze()&&this.uf()}; g.h.yk=function(){this.Nr()}; g.h.gy=function(a){var b=this.kc;b.l&&g.O(g.X(b.g).experiments,"html5_bulleit_dai_publish_ad_ux_killswitch")||b.g.la("onAdUxUpdate",a)}; g.h.onAdUxClicked=function(a){this.i.ai(a)}; g.h.bw=function(){return 0}; g.h.dw=function(){return 1}; g.h.Co=function(a){this.ac&&this.g.B&&this.g.ub().start<=a&&a=Math.abs(c-this.g.ub().end/1E3)):c=!0;if(c&&!this.g.A.hasOwnProperty("ad_placement_end")){c=g.q(this.g.F);for(var d=c.next();!d.done;d=c.next())rO(d.value);this.g.A.ad_placement_end=!0}c=this.g.u;null!==c&&(iO(this.re,{cueIdentifier:this.g.i&&this.g.i.identifier,driftRecoveryMs:c,Oz:this.g.ub().start,wx:vO(this)}),this.g.u=null);b||this.ac?IP(this.kc,!0): this.H&&this.Mr()&&this.gk()?IP(this.kc,!1,Hka(this)):IP(this.kc,!1);sO(this,!0)}; g.h.Or=function(a){QP(this.kc,a)}; g.h.nq=function(){return this.u}; g.h.isLiveStream=function(){return this.H}; g.h.reset=function(){return new pO(this.kc,this.ba,this.A.reset(),this.g,this.re,this.Nh,this.Xf,this.ac)}; g.h.U=function(){g.qf(this.i);this.i=null;g.N.prototype.U.call(this)};xO.prototype.create=function(a){return(a.g instanceof FL?this.o:a.g instanceof fO?this.l:""===a.o?this.g:this.i)(a)};g.t(zO,g.N);g.h=zO.prototype;g.h.ub=function(){return this.g.ub()}; g.h.Fn=function(){return OL(this.g)}; g.h.Mr=function(){return NL(this.g)}; g.h.gi=function(){return!1}; g.h.wk=function(){return!1}; g.h.onAdUxClicked=function(){}; g.h.Eq=function(a){var b=this;if(!g.O(g.X(this.u).experiments,"ensure_only_one_resolved_midroll_response_on_web")||1!==this.g.l&&2!==this.g.l){var c=[];this.Fn()||(c=nO(a));this.g.l=1;ug(this.A.fetch(this.g.o,{SC:this.g.i||void 0,Sc:this.g.ub(),bB:ala(this.i.T)}).then(function(d){if(!b.fa()){var e=c;d=Mka(b,d);var f=b.o;f.i&&d.isEmpty&&hO("DAI_ERROR_TYPE_NO_AD_BREAK_RENDERER",f.g.clientPlaybackNonce);d.ix||!yO(b.g.o)&&d.isEmpty&&b.B||(b.g.l=2,oO(new mO(b.i),e),yO(b.g.o)&&(f=b.i,e=f.aa,f.aa=null,e&& (d.rp.some(Jka)&&(e.renderer.backfillMpuCompanionAdRenderer.type="BACKFILL_MPU_TYPE_AFV"),f=b.i,e=[e],e=DP(f,e),GP(f,e),b.l=!0)),d.isEmpty||(e=b.i,d=d.rp,d=DP(e,d),GP(e,d)))}},function(){oO(new mO(b.i),c); var d=b.o;d.i&&hO("DAI_ERROR_TYPE_AD_REQUEST_FAIL",d.g.clientPlaybackNonce)}),function(){2!==b.g.l&&(b.g.l=0); (b.Fn()||b.l)&&FP(b.i)})}}; g.h.xk=function(){}; g.h.Co=function(){};g.t(AO,g.W);AO.prototype.vf=function(a){var b=this;if(a=void 0===a?null:a){var c=this.u;a.forEach(function(d){return b.o.Ha(d,c)})}}; AO.prototype.Ha=function(a){(a=void 0===a?null:a)&&this.o.Ha(a,this.u)};g.t(BO,g.A);BO.prototype.append=function(a){if(!this.D)throw Error("This does not support the append operation");this.Ml(a.ha())}; BO.prototype.Ml=function(a){this.ha().appendChild(a)}; g.t(CO,BO);CO.prototype.ha=function(){return this.g};g.t(EO,g.A);var b_=new WeakSet;g.t(Z,g.tD);g.h=Z.prototype;g.h.Ih=function(a){a.append(this.Ca)}; g.h.bind=function(a){if(this.ga)this.Jn(a);else if(a.renderer){var b=Object.assign({},DO(this.api,this.ka),a.macros);this.init(a.id,a.renderer,b,a)}return Promise.resolve()}; g.h.init=function(a,b,c){this.ga=a;this.element.setAttribute("id",this.ga);this.xa&&g.H(this.element,this.xa);this.F=b&&b.adRendererCommands;this.macros=c;this.D=b.trackingParams||null;null!=this.D&&KO(this,this.element,this.D)}; g.h.Jn=function(){}; g.h.clear=function(){}; g.h.hide=function(){g.tD.prototype.hide.call(this);null!=this.D&&LO(this,this.element,!1)}; g.h.show=function(){g.tD.prototype.show.call(this);if(!this.Ia){this.Ia=!0;var a=this.F&&this.F.impressionCommand;a&&this.ka.Ha(a,this.macros,null)}null!=this.D&&LO(this,this.element,!0)}; g.h.onClick=function(a){if(this.D&&!b_.has(a)){var b=this.element;bL(this.api,b)&&this.Fa()&&g.$K(this.api,b);b_.add(a)}(a=this.F&&this.F.clickCommand)&&this.ka.Ha(a,this.macros,this.iw())}; g.h.iw=function(){return null}; g.h.IH=function(a){var b=this.M;b.B=!0;b.i=a.touches.length;b.g.isActive()&&(b.g.stop(),b.u=!0);a=a.touches;b.A=FO(b,a)||1!=a.length;var c=a.item(0);b.A||!c?(b.D=Infinity,b.F=Infinity):(b.D=c.clientX,b.F=c.clientY);for(c=b.l.length=0;cMath.pow(5,2))b.o=!0}; g.h.GH=function(a){if(this.M){var b=this.M,c=a.changedTouches;c&&b.B&&1==b.i&&!b.o&&!b.u&&!b.A&&FO(b,c)&&(b.H=a,b.g.start());b.i=a.touches.length;0===b.i&&(b.B=!1,b.o=!1,b.l.length=0);b.u=!1}}; g.h.U=function(){this.clear(null);this.Na(this.wa);for(var a=g.q(this.P),b=a.next();!b.done;b=a.next())this.Na(b.value);g.tD.prototype.U.call(this)};g.t(NO,g.A);NO.prototype.U=function(){this.i&&g.ls(this.i);this.g.clear();OO=null;g.A.prototype.U.call(this)}; NO.prototype.register=function(a,b){b&&this.g.set(a,b)}; var OO=null;g.t(SO,BO);SO.prototype.addEventListener=function(a,b){this.A.subscribe(a,b)}; SO.prototype.removeEventListener=function(a,b){this.A.unsubscribe(a,b)}; SO.prototype.dispatchEvent=function(a){this.A.N(a.type,a)};g.t(TO,g.A);g.h=TO.prototype;g.h.Ih=function(a){a.append(this.view)}; g.h.bind=function(a){var b=a.renderer,c=b.trackingParams;if(this.l&&this.l!=c)throw Error("Cannot re-bind presenter with new tracking params");if(c){this.l=c;var d=this.view,e=this.Bb,f=d.ha();g.X(e).F&&g.IO(e.app.T,f,d);g.X(e).F&&g.JO(e.app.T,f,c)}this.i=b.impressionEndpoints||[];this.macros=Object.assign({},a.macros);return this.nj(a)}; g.h.Fa=function(){return this.o}; g.h.show=function(){this.view.show();this.o=!0;var a=this.Bb,b=this.view.ha();bL(a,b)&&g.aL(a,b,!0);this.vf(this.i);this.i=[]}; g.h.hide=function(){this.Lq();this.o=!1;var a=this.Bb,b=this.view.ha();bL(a,b)&&g.aL(a,b,!1)}; g.h.Lq=function(){this.view.hide()}; g.h.onClick=function(a){a=void 0===a?{}:a;this.Jk(a);if(this.Fa()){a=this.Bb;var b=this.view.ha();bL(a,b)&&g.$K(a,b)}}; g.h.Ha=function(a){this.jj.Ha(a,UO(this))}; g.h.vf=function(a){var b=this,c=UO(this);a.forEach(function(d){return b.jj.Ha(d,c)})};g.t(VO,g.N);g.h=VO.prototype;g.h.ha=function(){return this.g.element}; g.h.show=function(){if(!this.g.Fa()){this.ca.K(document,"click",this.CF);this.g.show();var a=this.ha(),b=g.Sh(Kh(this.o)).width,c=g.Sh(this.o),d=Ih(this.o);a.style.top=d.y+c.height+"px";a.style.right=b-d.x-c.width+"px"}}; g.h.hide=function(){this.g.Fa()&&(this.g.hide(),g.Ws(this.ca))}; g.h.setTitle=function(a){a?this.l.show():this.l.hide();this.l.ob(XO(a))}; g.h.CF=function(a){this.g.Fa()&&(a=a.target,g.$d(this.o,a)||(g.$d(this.i.i["ytp-ad-info-dialog-confirm-button"],a)?this.N("confirmClick"):g.$d(this.g.element,a)||this.N("externalClick")))}; var Qka={yO:"confirmClick",TO:"externalClick"};g.t(YO,SO);YO.prototype.setTitle=function(a){this.g.setTitle(a)}; YO.prototype.show=function(){this.g.show()}; YO.prototype.hide=function(){this.g.hide()}; YO.prototype.ha=function(){return this.g.ha()};var Rka={OB:YO},Ona=["confirmClick","externalClick"];g.t(ZO,TO);g.h=ZO.prototype;g.h.nj=function(a){var b=this.Hc();a=a.renderer;var c=b.g,d=a.confirmLabel||null;d?c.i.show():c.i.hide();c.i.ob(XO(d));b.setTitle(a.title||null);b.g.g.ob(XO(a.dialogMessage||null));g.Ud(WO(b.g));c=g.q(a.adReasons||[]);for(d=c.next();!d.done;d=c.next())d=d.value,WO(b.g).appendChild(g.Qd("li",null,XO(d)));this.g=a.confirmServiceEndpoint||null;return Promise.resolve()}; g.h.Lq=function(){TO.prototype.Lq.call(this);this.g&&(this.Ha(this.g),this.g=null)}; g.h.Jk=function(a){switch(a.type){case "confirmClick":case "externalClick":this.hide()}}; g.h.Hc=function(){return this.view}; g.h.md=function(){function a(e){return b.onClick(e)} for(var b=this,c=g.q(Ona),d=c.next();!d.done;d=c.next())this.ca.K(this.view,d.value,a)};g.t($O,Z);g.h=$O.prototype;g.h.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);(a=(a=b.button&&b.button.buttonRenderer&&b.button.buttonRenderer.navigationEndpoint&&b.button.buttonRenderer.navigationEndpoint.adInfoDialogEndpoint)&&a.dialog&&a.dialog.adInfoDialogRenderer)?(b.hoverText?(b=RO(b.hoverText),Vd(this.l,b,0)):this.l=null,this.qe.bind({renderer:a,macros:c}),this.show()):g.L(Error("adInfoDialogRenderer is missing in AdHoverTextButtonRenderer"))}; g.h.Kq=function(){this.l&&g.Th(this.l,!1)}; g.h.EF=function(){this.qe.Fa()||this.l&&g.Th(this.l,!0)}; g.h.DF=function(){this.qe.show();this.Kq()}; g.h.clear=function(){this.hide()};g.t(aP,AO);g.t(bP,fO);g.h=bP.prototype;g.h.bd=function(){return!1}; g.h.Ec=function(){return!0}; g.h.ow=function(){var a=this.g,b=new Kja;b.url=a.iframeUrl||null;b.width=a.iframeWidth||0;b.height=a.iframeHeight||0;b.impressionTrackingUrls=cP(a.impressionCommands||[]);b.clickTrackingUrls=cP(a.onClickCommands||[]);b.adInfoRenderer=a.adInfoRenderer||null;a=new lM;a.iframeCompanionRenderer=b;return a}; g.h.mw=function(){return[new g.vd(300,60)]}; g.h.uv=function(a,b){return new aP(a,b,this.g)};g.t(dP,OM);g.h=dP.prototype;g.h.Eq=function(a){if(!pL(a)){var b=new mO(this.F);a=nO(a);oO(b,a)}this.xk()}; g.h.xk=function(){var a=this;if(this.i instanceof bP){var b=this.ba.getVideoData(2);if(!b||b.Td||null==this.i.g||this.i.g.adVideoId!=b.videoId){this.o=function(c,d,e){d&&2==e&&null!=a.i.g&&a.i.g.adVideoId==d.videoId&&(a.o&&(a.ba.removeEventListener("videodatachange",a.o),a.o=null),d.he&&PM(a))}; this.ba.addEventListener("videodatachange",this.o);return}if(!b.he)return}PM(this)}; g.h.Vb=function(){var a=this;KP(this.F,this);if(tM(this.ba)){var b=this.ba.getVideoData(1),c=this.i.ow();null!=c&&(c.macros=Object.assign({},this.macros),this.I.showCompanion(b.videoId,c))}else{var d=this.i.mw();eka(this.I).then(function(e){a:{if(d&&e){e=g.q(e);for(var f=e.next();!f.done;f=e.next()){f=f.value;for(var k=g.q(d),l=k.next();!l.done;l=k.next())if(l=l.value,l.width==f.width&&l.height==f.height){e=l;break a}}}e=null}e&&(f=a.i.uv(a.ba,a.F,e),null!=f&&(g.B(a,f),k=a.I,k.g&&k.g.showCompanion(f.element, e.width,e.height)))})}if(this.i instanceof bP){this.D=function(e){var f; if(f=e.data)try{f=Pq(e.source.document.location.origin)}catch(l){f=!1}if(f)if(f=a.i.g,"companion-setup-complete"==e.data)try{e.source.postMessage(JSON.stringify(f),"*");var k=e.source.frameElement;k.parentNode.style.cssText="";k.width=String(f.iframeWidth);k.height=String(f.iframeHeight)}catch(l){g.$p(l)}else"pause-video"==e.data&&a.ba.pauseVideo()}; try{window.addEventListener("message",this.D)}catch(e){g.L(e)}}}; g.h.onAdUxClicked=function(a){MM(this.g,a)}; g.h.ub=function(){return this.B.ub()}; g.h.Fn=function(){return OL(this.B)}; g.h.Mr=function(){return NL(this.B)}; g.h.gi=function(){return!0}; g.h.wk=function(){return this.B.g.Ec()}; g.h.Co=function(){}; g.h.U=function(){if(this.D)try{window.removeEventListener("message",this.D),this.D=null}catch(a){g.L(a)}this.o&&(this.ba.removeEventListener("videodatachange",this.o),this.o=null);OM.prototype.U.call(this)};var Tka=Object.freeze([ZM,bN,LL,jN,kN,CL]);g.t(fP,pO);g.h=fP.prototype;g.h.ew=function(){return this.o.g.map(function(a){return a[0]})}; g.h.gx=function(){for(var a=g.q(hP(this)),b=a.next();!b.done;b=a.next())if(b.value.some(function(c){return c.bd()}))return!0; return!1}; g.h.gk=function(){return this.D instanceof CL||this.D instanceof bN}; g.h.Pz=function(){this.ac?rM(this.ba)&&qO(this):(this.o.o||gP(this),iP(this))}; g.h.Vb=function(a){if(g.O(g.X(this.ba).experiments,"enable_composite_ad_player_presentation_for_bulleit")){var b=eP(a);this.D&&b&&this.F!==b&&(b?JP(this.kc):NP(this.kc),this.F=b)}this.D=a;this.ac&&(this.B=this.o.g.findIndex(function(c){return c.some(function(d){return d===a})})); pO.prototype.Vb.call(this,a)}; g.h.uf=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;this.l&&(g.qf(this.l),this.l=null);pO.prototype.uf.call(this,a,b)}; g.h.yk=function(){this.P&&(this.B=this.o.g.length,this.l&&this.l.gb("f"),this.i&&this.i.gb("f"));this.uf()}; g.h.hy=function(a){iP(this,a)}; g.h.Nr=function(){this.ph()}; g.h.Pr=function(a){pO.prototype.Pr.call(this,a);a=a.state;g.T(a,2)&&this.l?this.l.Jc():g.WC(a)?(null==this.l&&gP(this),this.l&&this.l.Zh()):a.isError()&&this.l&&this.l.Ob(a.i.errorCode)}; g.h.ph=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;this.ac||(QP(this.kc,0),a?this.uf(a,b):iP(this))}; g.h.Sy=function(){1==this.o.i?this.uf():this.ph()}; g.h.onAdUxClicked=function(a){pO.prototype.onAdUxClicked.call(this,a);this.l&&this.l.ai(a)}; g.h.nq=function(){var a=hP(this);return a.length&&a[0].length?a[0][0]:null}; g.h.U=function(){g.qf(this.l);this.l=null;pO.prototype.U.call(this)}; g.h.Ze=function(){return g.O(g.X(this.ba).experiments,"enable_composite_ad_player_presentation_for_bulleit")?this.F:pO.prototype.Ze.call(this)}; g.h.wk=function(){return this.o.g.every(function(a){return a.every(function(b){return b.Ec()})})}; g.h.reset=function(){return new fP(this.kc,this.ba,this.A.reset(),this.g,this.re,this.Nh,this.Xf,this.ac)}; g.h.bw=function(){return this.B}; g.h.dw=function(){return this.o.g.length};g.t(jP,AO);jP.prototype.A=function(a){g.$d(this.xc.element,a.target)||(g.qs(a),this.vf(this.l.onClickCommands),this.Ha(this.l.clickthroughEndpoint),this.ba.onAdUxClicked("image-companion"),this.ba.pauseVideo())};g.t(kP,fO);g.h=kP.prototype;g.h.bd=function(){return!1}; g.h.Ec=function(){return!0}; g.h.ow=function(){var a=new lM;a.imageCompanionAdRenderer=this.g;return a}; g.h.mw=function(){return this.i}; g.h.uv=function(a,b,c){return new jP(a,b,this.g,c)};g.t(lP,FL);g.t(mP,FL);g.t(nP,FL);oP.prototype.create=function(a,b){function c(K){return new CL(K,d.i,b||"AD_PLACEMENT_KIND_UNKNOWN")} var d=this,e=a.instreamVideoAdRenderer,f=a.clientForecastingAdRenderer,k=a.invideoOverlayAdRenderer,l=a.videowallIframeCompanionAdRenderer,m=a.imageCompanionAdRenderer,n=a.instreamSurveyAdRenderer,p=a.plaShelfRenderer,r=a.sandwichedLinearAdRenderer,v=a.shoppingCompanionCarouselRenderer,z=a.backfillMpuCompanionAdRenderer,C=a.actionCompanionAdRenderer,F=a.multipleInstreamVideoAdRenderer,E=a.linearAdSequenceRenderer;return null!=e&&e.playerVars?c(e):null!=f?new eN(f):null!=k?new fN(k):null!=l?new bP(l): null!=m?new kP(m):null!=n?new LL(n):null!=r?new nP(r,c,this.g):null!=F?new mP(F,c):null!=p?new hN(p):null!=v?new iN(v):null!=z?new dN(z):null!=C?new UM(C):null!=E?new lP(E,c):null};pP.prototype.create=function(a,b,c,d){d=void 0===d?null:d;var e=[];c=void 0===c?0:c;if(d){d=g.q(d);for(var f=d.next();!f.done;f=d.next()){f=f.value;var k=b,l=new nL(k.o,k.l,k.A,k.u),m=k.g;m&&(l.g=new eu(m.g,m.durationSecs,m.context,m.identifier,m.event,m.i));k.i&&(l.i=k.i);l.visible=k.visible;k=l;k.g=f;e.push(qP(this,a[0],c,k));c++}}else for(a=g.q(a),d=a.next();!d.done;d=a.next())e.push(qP(this,d.value,c,b)),c++;return e};g.t(rP,g.A);g.t(tP,g.A);tP.prototype.addEventListener=function(a,b){this.g=b}; tP.prototype.removeEventListener=function(){this.g=null}; g.t(uP,g.A);uP.prototype.addEventListener=function(a,b,c){this.g.addEventListener(a,b,c)}; uP.prototype.removeEventListener=function(a,b){this.g.removeEventListener(a,b)};g.t(vP,g.A);var xP=null,zP=null;g.Ga("yt.www.ads.eventcache.getLastCompanionData",function(){return xP},void 0); g.Ga("yt.www.ads.eventcache.getLastPlaShelfData",function(){return zP},void 0);g.t(CP,g.N);g.h=CP.prototype; g.h.init=function(){var a=this.g.getVideoData();if(a.Bp||g.Xp("SERVED_VIA_SPF_HISTORY"))g.O(g.X(this.g).experiments,"directly_unlock_preroll_on_cached_playbacks_for_bulleit")?this.R():FP(this);else{if(tM(this.g)){var b=BD(this.g);b.addEventListener("updateKevlarOrC3Companion",yP);b.addEventListener("onPlaShelfInfoCardsReady",AP);window.addEventListener("yt-navigate-start",BP)}this.ca.K(this.g,"applicationplayerstatechange",this.wG);this.ca.K(this.g,g.tE("ad"),this.En,this);this.ca.K(this.g,"crx_ad", this.xG,this);this.ca.K(this.g,"aduxclicked",this.kI);this.ca.K(this.g,"videodatachange",this.AG);b=a.getPlayerResponse()||{};b=bla(b);b=ela(this,b);b=DP(this,b);0$D(a,16)&&(this.H.forEach(this.En,this),this.H.clear())}; g.h.AG=function(){if(this.i){var a=this.i;a.ac&&qO(a)}if(this.l){a=1E3*this.g.getCurrentTime();for(var b=g.q(this.u.keys()),c=b.next();!c.done;c=b.next())if(c=c.value,c.start<=a&&aMath.random())&&g.$p(Error("Found AdImage without valid image URL")):(this.l?g.zh(this.element,"backgroundImage","url("+b+")"):Id(this.element,{src:b}),Id(this.element,{alt:a&&a.accessibility&&a.accessibility.label||""}),this.show())}; TP.prototype.clear=function(){this.hide()};g.t(zQ,Z); zQ.prototype.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);this.l=b;if(null==b.text&&null==b.icon)g.$p(Error("ButtonRenderer did not have text or an icon set."));else{switch(b.style||null){case "STYLE_UNKNOWN":a="ytp-ad-button-link";break;default:a=null}null!=a&&g.H(this.element,a);null!=b.text&&(a=g.yB(b.text),g.wb(a)||(this.element.setAttribute("aria-label",a),this.A=new g.tD({C:"span",G:"ytp-ad-button-text",V:a}),g.B(this,this.A),this.A.g(this.element)));null!=b.icon&&(b=yQ(b.icon),null!= b&&(this.o=new g.tD({C:"span",G:"ytp-ad-button-icon",J:[b]}),g.B(this,this.o)),this.B?Vd(this.element,this.o.element,0):this.o.g(this.element))}}; zQ.prototype.clear=function(){this.hide()}; zQ.prototype.onClick=function(a){var b=this;Z.prototype.onClick.call(this,a);lla(this).forEach(function(c){return b.ka.Ha(c,b.macros)}); this.api.onAdUxClicked(this.componentType)};var hma={seekableStart:0,seekableEnd:1,current:0};g.t(AQ,Z);AQ.prototype.clear=function(){this.dispose()};g.t(DQ,AQ);g.h=DQ.prototype;g.h.init=function(a,b,c){AQ.prototype.init.call(this,a,b,c);g.zh(this.u,"stroke-dasharray","0 "+this.o);this.show()}; g.h.clear=function(){this.hide()}; g.h.hide=function(){CQ(this);AQ.prototype.hide.call(this)}; g.h.show=function(){BQ(this);AQ.prototype.show.call(this)}; g.h.vh=function(){this.hide()}; g.h.Dg=function(){if(this.l){var a=this.l.getProgressState();null!=a&&null!=a.current&&g.zh(this.u,"stroke-dasharray",a.current/a.seekableEnd*this.o+" "+this.o)}};g.t(EQ,Z);EQ.prototype.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);this.l=b;this.isTemplated()||g.ae(this.element,GO(this.l));if(b.backgroundImage&&(a=(a=b.backgroundImage.thumbnail)?SP(a):"",c=this.api.getVideoData()&&this.api.getVideoData().uo,a&&c&&(this.element.style.backgroundImage="url("+a+")",this.element.style.backgroundSize="100%"),b.style&&b.style.adTextStyle))switch(b.style.adTextStyle.fontSize){case "AD_FONT_SIZE_MEDIUM":this.element.style.fontSize="26px"}this.show()}; EQ.prototype.isTemplated=function(){return this.l.isTemplated||!1}; EQ.prototype.clear=function(){this.hide()};g.t(g.GQ,g.A);g.h=g.GQ.prototype;g.h.show=function(a){1!=this.g&&2!=this.g&&(4==this.g&&this.Go(),5==this.g?(this.l.show(),this.g=null,this.i.stop(),this.o&&this.o()):this.l.Fa()||(HQ(this,!0),this.g=1,a?this.i.start(a):this.Go()))}; g.h.hide=function(){4!=this.g&&(1==this.g||2==this.g?(this.l.hide(),this.g=null,this.i.stop()):this.l.Fa()&&(HQ(this,!0),this.g=4,this.i.start(this.B)))}; g.h.Go=function(){switch(this.g){case 1:this.l.show();this.g=2;this.i.start(10);break;case 2:HQ(this,!1);this.g=3;this.i.start(this.A);break;case 3:this.g=null;this.o&&this.o();break;case 4:this.l.hide();HQ(this,!1);this.g=5;this.i.start(0);break;case 5:this.g=null,this.u&&this.u()}}; g.h.stop=function(){for(;null!=this.g&&5!=this.g;)this.i.stop(),this.Go()}; g.h.U=function(){this.l.fa()||this.l.element.removeAttribute("aria-hidden");g.A.prototype.U.call(this)};g.t(IQ,AQ);g.h=IQ.prototype; g.h.init=function(a,b,c){AQ.prototype.init.call(this,a,b,c);a=b.durationMilliseconds;g.Fa(a)&&0>a&&g.L(Error("durationMilliseconds was specified incorrectly in AdPreviewRenderer with a value of: "+a));this.ma&&g.H(this.o.element,"countdown-next-to-thumbnail");a=b.durationMilliseconds;this.I=null==a||0===a?this.l.Hy():a;if(b.templatedCountdown)var d=b.templatedCountdown.templatedAdText;else b.staticPreview&&(d=b.staticPreview);this.u.init(Y("ad-text"),d,c);this.api.getVideoData()&&this.api.getVideoData().uo&& b.thumbnail?this.B.init(Y("ad-image"),b.thumbnail,c):this.T.hide()}; g.h.af=function(){this.H.show(100);this.show()}; g.h.clear=function(){this.hide()}; g.h.hide=function(){this.o.hide();this.u.hide();this.B.hide();CQ(this);AQ.prototype.hide.call(this)}; g.h.show=function(){BQ(this);this.o.show();this.u.show();this.B.show();AQ.prototype.show.call(this)}; g.h.vh=function(){this.hide()}; g.h.Dg=function(){if(null!=this.l){var a=this.l.getProgressState();null!=a&&null!=a.current&&(a=1E3*a.current,!this.X&&a>=this.I?(g.O(g.X(this.api).experiments,"enable_pubsub_for_skip_transition_bulleit")||this.H.hide(),this.X=!0,this.N("t")):this.u&&this.u.isTemplated()&&(a=Math.max(0,Math.ceil((this.I-a)/1E3)),a!=this.Z&&(FQ(this.u,{TIME_REMAINING:String(a)}),this.Z=a)))}};g.t(JQ,g.A);g.h=JQ.prototype;g.h.U=function(){this.reset();g.A.prototype.U.call(this)}; g.h.reset=function(){g.Ws(this.ca);this.u=!1;this.g&&this.g.stop();this.o.stop();this.i&&(this.i=!1,this.A.play())}; g.h.start=function(){this.reset();this.ca.K(this.l,"mouseover",this.dK,this);this.ca.K(this.l,"mouseout",this.aK,this);this.g?this.g.start():(this.u=this.i=!0,g.zh(this.l,{opacity:this.D}))}; g.h.dK=function(){this.i&&(this.i=!1,this.A.play());this.o.stop();this.g&&this.g.stop()}; g.h.aK=function(){this.u?this.o.start():this.g&&this.g.start()}; g.h.Pu=function(){this.i||(this.i=!0,this.B.play(),this.u=!0)};var nla=lc(function(){return new mla}),sla=lc(function(){return new pla});g.t(MQ,AQ);g.h=MQ.prototype; g.h.init=function(a,b,c){AQ.prototype.init.call(this,a,b,c);this.H=b;this.ya=tla(this);!b||g.Xb(b)?g.L(Error("SkipButtonRenderer was not specified or empty.")):!b.message||g.Xb(b.message)?g.L(Error("SkipButtonRenderer.message was not specified or empty.")):(a={iconType:"SKIP_NEXT"},b=yQ(a),null==b?g.L(Error("Icon for SkipButton was unable to be retrieved. yt.innertube.Icon.IconType: "+a.iconType+".")):(this.B=new g.tD({C:"button",W:["ytp-ad-skip-button","ytp-button"],J:[{C:"span",G:"ytp-ad-skip-button-icon", J:[b]}]}),g.B(this,this.B),this.B.g(this.u.element),this.o=new EQ(this.api,this.ka,"ytp-ad-skip-button-text"),this.o.init(Y("ad-text"),this.H.message,c),g.B(this,this.o),Vd(this.B.element,this.o.element,0)),g.O(g.X(this.api).experiments,"bulleit_use_touch_events_for_skip")&&MO(this))}; g.h.af=function(){this.T.show();this.show()}; g.h.clear=function(){this.X.reset();this.hide()}; g.h.hide=function(){this.u.hide();this.o&&this.o.hide();CQ(this);AQ.prototype.hide.call(this);NQ(this)}; g.h.onClick=function(a){if(null!=this.B&&(a&&g.qs(a),AQ.prototype.onClick.call(this,a),this.N("u"),!this.ya))this.api.onAdUxClicked(this.componentType)}; g.h.iw=function(){return"skip"}; g.h.show=function(){this.X.start();this.u.show();this.o&&this.o.show();BQ(this);AQ.prototype.show.call(this);g.Do(this.na)}; g.h.vh=function(){this.Z=!0;this.N("v")}; g.h.Dg=function(){!this.Z&&this.ma&&1E3*this.l.getProgressState().current>=this.ma&&(this.Z=!0,this.N("v"))};g.t(OQ,g.N);g.h=OQ.prototype;g.h.Hy=function(){return this.i}; g.h.start=function(){this.l||(this.l=!0,this.Aa.start())}; g.h.stop=function(){this.l&&(this.l=!1,this.Aa.stop())}; g.h.EH=function(){this.g+=100;var a=!1;this.g>this.i&&(this.g=this.i,this.Aa.stop(),a=!0);this.o={seekableStart:0,seekableEnd:this.i/1E3,current:this.g/1E3};this.u&&this.u.Nc(this.o.current);this.N("s");a&&this.N("r")}; g.h.getProgressState=function(){return this.o};g.t(PQ,Z);g.h=PQ.prototype; g.h.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);if(b.image&&b.image.thumbnail)if(b.headline)if(b.description)if(b.backgroundImage&&b.backgroundImage.thumbnail)if(b.actionButton&&b.actionButton.buttonRenderer)if(a=b.durationMilliseconds||0,!g.Fa(a)||0>=a)g.L(Error("durationMilliseconds was specified incorrectly in AdActionInterstitialRenderer with a value of: "+a));else if(b.navigationEndpoint){var d=this.api.getVideoData(2);if(null!=d){var e=b.image.thumbnail.thumbnails;null!=e&&0=a?g.L(Error("durationMilliseconds was specified incorrectly in AdTextInterstitialRenderer with a value of: "+a)):(this.l.init(Y("ad-text"),b.text,c),this.show())):g.L(Error("AdTextInterstitialRenderer has no message AdText."))}; g.h.clear=function(){this.hide()}; g.h.show=function(){SQ(!0);Z.prototype.show.call(this)}; g.h.hide=function(){SQ(!1);Z.prototype.hide.call(this)}; g.h.onClick=function(){};g.t(TQ,Z); TQ.prototype.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);a=b.hoverText||null;b=b.button&&b.button.buttonRenderer||null;null==b?g.L(Error("AdHoverTextButtonRenderer.button was not set in response.")):(this.button=new zQ(this.api,this.ka),g.B(this,this.button),this.button.init(Y("button"),b,this.macros),this.button.g(this.element),this.B&&!g.oo(this.button.element,"ytp-ad-clickable")&&g.H(this.button.element,"ytp-ad-clickable"),a&&(this.o=new g.tD({C:"div",G:"ytp-ad-hover-text-container"}),this.A&& (b=new g.tD({C:"div",G:"ytp-ad-hover-text-callout"}),b.g(this.o.element),g.B(this,b)),g.B(this,this.o),this.o.g(this.element),b=RO(a),Vd(this.o.element,b,0)),this.show())}; TQ.prototype.hide=function(){this.button&&this.button.hide();this.o&&this.o.hide();Z.prototype.hide.call(this)}; TQ.prototype.show=function(){this.button&&this.button.show();Z.prototype.show.call(this)};g.t(UQ,Z);g.h=UQ.prototype;g.h.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);b.reasons?null==b.confirmLabel?g.L(Error("AdFeedbackRenderer.confirmLabel was not set.")):(null==b.cancelLabel&&g.$p(Error("AdFeedbackRenderer.cancelLabel was not set.")),null==b.title&&g.$p(Error("AdFeedbackRenderer.title was not set.")),xla(this,b)):g.L(Error("AdFeedbackRenderer.reasons were not set."))}; g.h.clear=function(){ws(this.A);ws(this.B);this.u.length=0;this.hide()}; g.h.hide=function(){this.l&&this.l.hide();this.o&&this.o.hide();Z.prototype.hide.call(this)}; g.h.show=function(){this.l&&this.l.show();this.o&&this.o.show();Z.prototype.show.call(this)}; g.h.Ly=function(){this.api.onAdUxClicked("ad-feedback-dialog-close-button");this.N("w");this.hide()}; g.h.PL=function(){this.hide()}; VQ.prototype.ha=function(){return this.g.element}; VQ.prototype.isChecked=function(){return this.l.checked};g.t(WQ,Z);g.h=WQ.prototype;g.h.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);this.l=b;b.dialogMessages||null!=b.title?null==b.confirmLabel?g.L(Error("ConfirmDialogRenderer.confirmLabel was not set.")):null==b.cancelLabel?g.L(Error("ConfirmDialogRenderer.cancelLabel was not set.")):yla(this,b):g.L(Error("Neither ConfirmDialogRenderer.title nor ConfirmDialogRenderer.dialogMessages were set."))}; g.h.clear=function(){g.Ws(this.ca);this.hide()}; g.h.ts=function(){this.hide()}; g.h.rs=function(){var a=this.l.cancelEndpoint;a&&this.ka.Ha(a,this.macros);this.hide()}; g.h.us=function(){var a=this.l.confirmNavigationEndpoint||this.l.confirmEndpoint;a&&this.ka.Ha(a,this.macros);this.hide()};g.t(XQ,WQ);XQ.prototype.ts=function(a){WQ.prototype.ts.call(this,a);this.api.onAdUxClicked("ad-mute-confirm-dialog-close-button")}; XQ.prototype.rs=function(a){WQ.prototype.rs.call(this,a);this.api.onAdUxClicked("ad-mute-confirm-dialog-close-button")}; XQ.prototype.us=function(a){WQ.prototype.us.call(this,a);this.api.onAdUxClicked("ad-mute-confirm-dialog-confirm-button");this.N("x")};g.t(YQ,Z);g.h=YQ.prototype; g.h.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);this.B=b;if(null==b.dialogMessage&&null==b.title)g.L(Error("Neither AdInfoDialogRenderer.dialogMessage nor AdInfoDialogRenderer.title was set."));else{null==b.confirmLabel&&g.$p(Error("AdInfoDialogRenderer.confirmLabel was not set."));if(a=b.closeOverlayRenderer&&b.closeOverlayRenderer.buttonRenderer||null)this.l=new zQ(this.api,this.ka,["ytp-ad-info-dialog-close-button"],"ad-info-dialog-close-button"),g.B(this,this.l),this.l.init(Y("button"), a,this.macros),this.l.g(this.element);b.title&&(a=g.yB(b.title),this.updateValue("title",a));if(b.adReasons)for(a=b.adReasons,c=0;c=a&&g.L(Error("durationMs was specified incorrectly in AdMessageRenderer with a value of: "+a));a=b.durationMs;this.B=null==a||0===a?0:a+1E3*this.l.getProgressState().current;if(b.text)var d=b.text.templatedAdText;else b.staticMessage&&(d=b.staticMessage);this.o.init(Y("ad-text"),d,c);this.o.g(this.u.element);this.H.show(100);this.show()}; g.h.clear=function(){this.hide()}; g.h.hide=function(){jR(this,!1);AQ.prototype.hide.call(this);this.u.hide();this.o.hide();CQ(this)}; g.h.show=function(){jR(this,!0);AQ.prototype.show.call(this);BQ(this);this.u.show();this.o.show()}; g.h.vh=function(){this.hide()}; g.h.Dg=function(){if(null!=this.l){var a=this.l.getProgressState();null!=a&&null!=a.current&&(a=1E3*a.current,!this.I&&a>=this.B?(this.H.hide(),this.I=!0):this.o&&this.o.isTemplated()&&(a=Math.max(0,Math.ceil((this.B-a)/1E3)),a!=this.T&&(FQ(this.o,{TIME_REMAINING:String(a)}),this.T=a)))}};g.t(kR,Z);g.h=kR.prototype; g.h.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);this.I=b;a=this.I.seekableDurationMilliseconds;this.T=g.Fa(a)?a:5E3;var d=b&&b.preSeekRenderer&&b.preSeekRenderer.adPreviewRenderer||null,e=b&&b.seekableRenderer&&b.seekableRenderer.skipButtonRenderer||null;if(null==e)g.L(Error("SeekableRenderer was not set in SeekAdRenderer."));else if(a=b&&b.notSeekedRenderer&&b.notSeekedRenderer.skipButtonRenderer||null,null==a)g.L(Error("NotSeekedRenderer was not set in SeekAdRenderer."));else if(b&&b.postSeekRenderer&& b.postSeekRenderer.adPreviewRenderer||b&&b.postSeekRenderer&&b.postSeekRenderer.skipButtonRenderer){d&&(this.o=new IQ(this.api,this.ka,this.B,!1),this.o.init(Y("ad-preview"),d,c),this.o.subscribe("t",this.AK,this),g.B(this,this.o),this.o.g(this.element),this.o.af());this.l=new MQ(this.api,this.ka,this.B);this.l.init(Y("skip-button"),e,c);this.l.subscribe("u",this.kL,this);d=this.T;this.o&&(d+=this.o.I);this.l.ma=d;this.l.subscribe("v",this.lL,this);g.B(this,this.l);this.l.g(this.element);null==this.o&& this.l.af();this.A=new MQ(this.api,this.ka,this.B);this.A.init(Y("skip-button"),a,c);g.B(this,this.A);this.A.g(this.element);a:{b=b.postSeekRenderer;if(b.adPreviewRenderer){b=b.adPreviewRenderer;a=this.B;if(this.Z){a=b.durationMilliseconds;if(null==a||0==a){g.L(Error("durationMilliseconds must be specified for persistingAdPreviewRenderer"));break a}this.H=new OQ(a,this.ka,!1);g.B(this,this.H);a=this.H}this.u=new IQ(this.api,this.ka,a,!1);this.u.init(Y("ad-preview"),b,c)}else b.skipButtonRenderer&& (this.u=new MQ(this.api,this.ka,this.B),this.u.init(Y("skip-button"),b.skipButtonRenderer,c));g.B(this,this.u);this.u.g(this.element)}this.show()}else g.L(Error("PostSeekRenderer was not set in SeekAdRenderer."))}; g.h.show=function(){this.o?this.o.show():this.l&&!this.l.Fa()&&this.l.show();Z.prototype.show.call(this)}; g.h.clear=function(){this.o&&this.o.clear();this.l&&this.l.clear();this.A&&this.A.clear();this.u&&this.u.clear();Z.prototype.hide.call(this)}; g.h.hide=function(){this.o&&this.o.hide();this.l&&this.l.hide();this.A&&this.A.hide();this.u&&this.u.hide();Z.prototype.hide.call(this)}; g.h.AK=function(){this.o&&this.o.H.hide();this.l&&this.l.af()}; g.h.kL=function(){this.X=!0;if(this.l){var a=this.l;a.T.hide();NQ(a)}this.u&&(this.H&&this.H.start(),this.u.af())}; g.h.lL=function(){if(!this.X){if(this.l){var a=this.l;a.T.hide();NQ(a)}this.A&&this.A.af()}};g.t(lR,AQ);g.h=lR.prototype; g.h.init=function(a,b,c){AQ.prototype.init.call(this,a,b,c);a=b&&b.preskipRenderer&&b.preskipRenderer.adPreviewRenderer||{};if(a=g.Xb(a)?null:a){this.B=null!=a.durationMilliseconds&&void 0!==a.durationMilliseconds?a.durationMilliseconds:5E3;var d="countdown_next_to_thumbnail"==tv(g.X(this.api).experiments,"preskip_button_style_ads_backend")&&oz(g.X(this.api));this.o=new IQ(this.api,this.ka,this.l,d);this.o.init(Y("preskip-component"),a,c);this.o.af();g.B(this,this.o);this.o.g(this.element);g.O(g.X(this.api).experiments, "enable_pubsub_for_skip_transition_bulleit")&&this.o.subscribe("t",this.DK,this)}else b.skipOffsetMilliseconds&&(this.B=b.skipOffsetMilliseconds);b=b&&b.skippableRenderer&&b.skippableRenderer.skipButtonRenderer||{};b=g.Xb(b)?null:b;null==b?g.L(Error("SkipButtonRenderer was not set in player response.")):(this.u=new MQ(this.api,this.ka,this.l),this.u.init(Y("skip-button"),b,c),g.B(this,this.u),this.u.g(this.element),this.show())}; g.h.show=function(){this.H&&this.u?this.u.show():this.o&&this.o.show();BQ(this);AQ.prototype.show.call(this)}; g.h.vh=function(){}; g.h.clear=function(){this.o&&this.o.clear();this.u&&this.u.clear();CQ(this);AQ.prototype.hide.call(this)}; g.h.hide=function(){this.o&&this.o.hide();this.u&&this.u.hide();CQ(this);AQ.prototype.hide.call(this)}; g.h.DK=function(){mR(this,!0)}; g.h.Dg=function(){g.O(g.X(this.api).experiments,"enable_pubsub_for_skip_transition_bulleit")?this.o||1E3*this.l.getProgressState().current>=this.B&&mR(this,!0):1E3*this.l.getProgressState().current>=this.B&&mR(this,!0)};g.t(nR,Z);nR.prototype.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);b.skipAd&&(a=b.skipAd,a.seekAdRenderer?(b=new kR(this.api,this.ka,this.l,!0),b.g(this.o),b.init(Y("seek-ad"),a.seekAdRenderer,this.macros),g.B(this,b)):a.skipAdRenderer&&(b=new lR(this.api,this.ka,this.l),b.g(this.o),b.init(Y("skip-button"),a.skipAdRenderer,this.macros),g.B(this,b)));this.show()};g.t(qR,AQ);g.h=qR.prototype;g.h.init=function(a,b,c){AQ.prototype.init.call(this,a,b,c);if(b.templatedCountdown){a=b.templatedCountdown.templatedAdText;if(!a.isTemplated){g.$p(Error("AdDurationRemainingRenderer has no templated ad text."));return}this.o=new EQ(this.api,this.ka);this.o.init(Y("ad-text"),a,{});this.o.g(this.element);g.B(this,this.o)}this.show()}; g.h.clear=function(){this.hide()}; g.h.hide=function(){CQ(this);AQ.prototype.hide.call(this)}; g.h.vh=function(){this.hide()}; g.h.Dg=function(){if(null!=this.l){var a=this.l.getProgressState();if(null!=a&&null!=a.current&&this.o){a=(this.l instanceof OQ?a.seekableEnd:this.api.getDuration(2))-a.current;var b=g.oR(a);FQ(this.o,{FORMATTED_AD_DURATION_REMAINING:String(b),TIME_REMAINING:String(Math.ceil(a))})}}}; g.h.show=function(){BQ(this);AQ.prototype.show.call(this)};g.t(rR,EQ);rR.prototype.onClick=function(a){EQ.prototype.onClick.call(this,a);this.api.onAdUxClicked(this.componentType)};g.t(sR,AQ);g.h=sR.prototype; g.h.init=function(a,b,c){AQ.prototype.init.call(this,a,b,c);if(b.image&&b.image.thumbnail)if(b.headline)if(b.description)if(b.actionButton&&b.actionButton.buttonRenderer&&b.actionButton.buttonRenderer.navigationEndpoint){a=this.api.getVideoData(2);if(null!=a)if(b.image&&b.image.thumbnail){var d=b.image.thumbnail.thumbnails;null!=d&&0=this.T&&(CQ(this),g.qo(this.element,"ytp-flyout-cta-inactive"))}}; g.h.vh=function(){this.clear()}; g.h.clear=function(){this.hide()}; g.h.show=function(){this.o&&this.o.show();AQ.prototype.show.call(this)}; g.h.hide=function(){this.o&&this.o.hide();AQ.prototype.hide.call(this)};g.t(tR,Z);g.h=tR.prototype; g.h.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);this.o=b;if(null==b.defaultText&&null==b.defaultIcon)g.L(Error("ToggleButtonRenderer must have either text or icon set."));else if(null==b.defaultIcon&&null!=b.toggledIcon)g.L(Error("ToggleButtonRenderer cannot have toggled icon set without a default icon."));else{if(b.style){switch(b.style.styleType){case "STYLE_UNKNOWN":case "STYLE_DEFAULT":a="ytp-ad-toggle-button-default-style";break;default:a=null}null!=a&&g.H(this.u,a)}a={};b.defaultText? (c=g.yB(b.defaultText),g.wb(c)||(a.buttonText=c,this.l.setAttribute("aria-label",c))):g.Th(this.T,!1);b.defaultTooltip&&(a.tooltipText=b.defaultTooltip);b.defaultIcon?(c=yQ(b.defaultIcon),this.updateValue("untoggledIconTemplateSpec",c),b.toggledIcon?(this.H=!0,c=yQ(b.toggledIcon),this.updateValue("toggledIconTemplateSpec",c)):(g.Th(this.B,!0),g.Th(this.A,!1)),g.Th(this.l,!1)):g.Th(this.X,!1);g.Xb(a)||this.update(a);b.isToggled&&(g.H(this.u,"ytp-ad-toggle-button-toggled"),this.toggleButton(b.isToggled)); uR(this);this.I=this.K(this.element,"change",this.Jy);g.O(g.X(this.api).experiments,"bulleit_use_touch_events_for_magpie")&&MO(this,this.I);this.show()}}; g.h.onClick=function(a){0a)g.L(Error("timeoutSeconds was specified incorrectly in SurveyTextInterstitialRenderer with a value of: "+a));else if(b.timeoutCommands)if(b.text)if(b.ctaButton&&b.ctaButton.buttonRenderer)if(b.brandImage)if(b.backgroundImage&&b.backgroundImage.thumbnailLandscapePortraitRenderer&&b.backgroundImage.thumbnailLandscapePortraitRenderer.landscape){this.o?QR(this.I,b.backgroundImage.thumbnailLandscapePortraitRenderer.landscape):this.H&& QR(this.H,b.backgroundImage.thumbnailLandscapePortraitRenderer.landscape);QR(this.Z,b.brandImage);g.ae(this.ea,g.yB(b.text));this.o?(this.l=new zQ(this.api,this.ka,["ytp-ad-survey-interstitial-action-button-fp"]),g.B(this,this.l),this.l.g(this.X)):this.B&&(this.l=new zQ(this.api,this.ka,["ytp-ad-survey-interstitial-action-button"]),g.B(this,this.l),this.l.g(this.B));this.l.init(Y("button"),b.ctaButton.buttonRenderer,c);this.l.show();var e=b.timeoutCommands;this.A=new OQ(1E3*a);this.A.subscribe("r", function(){d.u.hide();e.forEach(function(f){return d.ka.Ha(f,c)}); d.o&&d.ka.Ha({adLifecycleCommand:{action:"END_LINEAR_AD"}},c)}); g.B(this,this.A);this.K(this.element,"click",function(f){return Xla(d,f,b)}); this.u.show(100);b.impressionCommands&&b.impressionCommands.forEach(function(f){return d.ka.Ha(f,c)})}else g.L(Error("SurveyTextInterstitialRenderer has no landscape background image.")); else g.L(Error("SurveyTextInterstitialRenderer has no brandImage."));else g.L(Error("SurveyTextInterstitialRenderer has no button."));else g.L(Error("SurveyTextInterstitialRenderer has no text."));else g.L(Error("timeoutSeconds was specified yet no timeoutCommands where specified"))}; PR.prototype.clear=function(){this.hide()}; PR.prototype.show=function(){RR(!0);Z.prototype.show.call(this)}; PR.prototype.hide=function(){RR(!1);Z.prototype.hide.call(this)};g.t(SR,Z);g.h=SR.prototype; g.h.init=function(a,b,c){var d=this;Z.prototype.init.call(this,a,b,c);this.l&&(this.l.cancel(),this.l=null);this.l=new jg(g.Ha);b.bannerImage?b.iconImage?b.headline?b.description?b.actionButton&&b.actionButton.buttonRenderer?b.navigationEndpoint?(b.adInfoRenderer&&b.adInfoRenderer.adHoverTextButtonRenderer?this.xc.init(Y("watch-ad-info-hover-button"),b.adInfoRenderer.adHoverTextButtonRenderer,c):g.L(Error("ActionCompanionAdRenderer has no ad info renderer.")),this.u.init(Y("ad-image"),b.bannerImage, c),this.X.init(Y("ad-image"),b.iconImage,c),this.B.init(Y("ad-text"),b.headline,c),this.A.init(Y("ad-text"),b.description,c),this.o.init(Y("button"),b.actionButton.buttonRenderer,c),g.ae(this.i["yt-badge-ad"],"\uad11\uace0"),this.T=b.impressionCommands||[],this.H=b.navigationEndpoint,this.ca.K(this.element,"click",this.hK,this),Promise.race([this.l,this.Z.showCompanion(this.element,300,250)]).then(function(){return d.show()})):g.L(Error("ActionCompanionAdRenderer has no navigation endpoint.")):g.L(Error("ActionCompanionAdRenderer has no button.")): g.L(Error("ActionCompanionAdRenderer has no description string.")):g.L(Error("ActionCompanionAdRenderer has no headline string.")):g.L(Error("ActionCompanionAdRenderer has no icon image.")):g.L(Error("ActionCompanionAdRenderer has no banner image."))}; g.h.clear=function(){g.Ws(this.ca);this.hide()}; g.h.show=function(){var a=this;this.o.show();Z.prototype.show.call(this);this.T.forEach(function(b){return a.ka.Ha(b,a.macros)})}; g.h.hide=function(){this.o.hide();Z.prototype.hide.call(this)}; g.h.hK=function(a){a=a.target;g.$d(this.xc.element,a)||(this.H&&!g.$d(this.o.element,a)&&this.ka.Ha(this.H,this.macros),this.api.onAdUxClicked("action-companion"),this.api.pauseVideo())}; g.h.U=function(){this.l&&(this.l.cancel(),this.l=null);Z.prototype.U.call(this)};g.t(TR,g.A);TR.prototype.U=function(){this.A&&g.mq(this.A);this.l&&(this.l.cancel(),this.l=null);this.u&&g.mq(this.u);this.g&&(this.g.cancel(),this.g=null);this.i&&(this.i.cancel(),this.i=null);this.o&&(this.o.stop(),this.o=null);g.A.prototype.U.call(this)};g.t($R,Z);$R.prototype.init=function(a,b,c){var d=this;Z.prototype.init.call(this,a,b,c);this.l&&(this.l.cancel(),this.l=null);this.l=new jg(g.Ha);"BACKFILL_MPU_TYPE_AFV"==b.type?Promise.race([this.l,ama(this.o)]).then(function(){d.show()}):"BACKFILL_MPU_TYPE_AFC"==b.type&&Promise.race([this.l, bma(this.o)]).then(function(){d.show()},function(e){e instanceof Cg||dma(d,b)})}; $R.prototype.U=function(){this.l&&(this.l.cancel(),this.l=null);Z.prototype.U.call(this)};g.t(aS,g.W);aS.prototype.clear=function(){for(var a=g.q(this.Ba),b=a.next();!b.done;b=a.next())g.qf(b.value);this.Ba=[]}; aS.prototype.D=function(a){g.qs(a);this.l=Math.max(0,this.l-bS(this));cS(this)}; aS.prototype.B=function(a){g.qs(a);this.l=Math.min(this.Ba.length-1,this.l+bS(this));cS(this)}; aS.prototype.U=function(){this.clear();g.W.prototype.U.call(this)};g.t(dS,SO);g.h=dS.prototype;g.h.ha=function(){return this.Cd.element}; g.h.Ml=function(a){var b=this.Cd,c=new g.W({C:"li",G:"ad-carousel-listitem",J:[{C:"div",G:"ad-carousel-item"}]});c.i["ad-carousel-item"].appendChild(a);b.Ba.push(c);b.A.appendChild(c.element)}; g.h.show=function(){this.Cd.show()}; g.h.hide=function(){this.Cd.hide()}; g.h.clear=function(){this.Cd.clear()};var Pna={ON:"adinfoclick",OP:"offerclick",PP:"offernavclick"};g.t(eS,SO);eS.prototype.show=function(){this.i.show()}; eS.prototype.hide=function(){this.i.hide()}; eS.prototype.md=function(){var a=this;this.i.da("click",function(){a.dispatchEvent({type:"offerclick"})}); for(var b=g.q((this.i.element||document).getElementsByTagName("A")),c=b.next();!c.done;c=b.next())this.i.K(c.value,"click",function(){a.dispatchEvent({type:"offernavclick"})})}; eS.prototype.ha=function(){return this.i.element};var ema={gp:eS};g.t(gS,TO); gS.prototype.nj=function(a){var b=this.Hc();a=a.renderer;this.g=a.clickthroughEndpoint||null;var c=a.headline||null;fS(b.l,"headline",c);fS(b.g,"headline",c);c=a.merchant||null;fS(b.o,"merchant",c);fS(b.l,"merchant",c);fS(b.g,"merchant",c);c=a.priceText||null;fS(b.o,"price",c);fS(b.l,"price",c);fS(b.g,"price",c);c=(c=a.image&&0b&&this.i.start()};g.t(MS,g.W);g.h=MS.prototype;g.h.hide=function(){this.T=!0;g.W.prototype.hide.call(this)}; g.h.show=function(){this.T=!1;g.W.prototype.show.call(this)}; g.h.isHidden=function(){return this.T}; g.h.iH=function(){OS(this,this.A-this.D)}; g.h.jH=function(){OS(this,this.A+this.D)}; g.h.kH=function(a,b){var c=this.l[a],d=c.Cb;if(g.GS(b,this.o,this.Z,d||void 0)){var e=c.ua().videoId;c=c.getPlaylistId();g.IY(this.o.app,e,d,c,void 0,void 0)}}; g.h.wy=function(){var a=this,b=this.o.getVideoData(),c=g.X(this.o);this.Z=b.Pb?!1:c.i;if(b.suggestions){var d=(0,g.Xd)(b.suggestions,function(e){return e&&!e.list}); this.l=(0,g.ge)(d,function(e){e=g.DS(c,e);g.B(a,e);return e})}else this.l.length=0; jma(this);b.Pb?this.M.update({title:g.UN("$DNI_RELATED_CHANNEL\uc758 \ub3d9\uc601\uc0c1 \ub354\ubcf4\uae30",{DNI_RELATED_CHANNEL:b.author})}):this.M.update({title:"YouTube\uc5d0\uc11c \ub3d9\uc601\uc0c1 \ub354\ubcf4\uae30"})}; g.h.yy=function(a){this.F.element.scrollLeft=-a};g.t(SS,g.W);SS.prototype.show=function(){g.W.prototype.show.call(this);this.F()}; SS.prototype.F=function(){var a=1-1/1.5;this.u=(this.u+this.M)%(this.width*a);this.A=(this.A+this.I)%(this.height*a);this.o.drawImage(this.H,-1*this.u,-1*this.A);this.o.fillRect(0,this.B,this.width,75);this.B=(this.B+75+7)%this.height-75;this.l.isActive()||g.Do(this.D)}; SS.prototype.hide=function(){this.l.stop();this.D.stop();g.W.prototype.hide.call(this)};g.t(VS,g.W);VS.prototype.show=function(){g.W.prototype.show.call(this);WS(this,function(a){a.show()}); this.A&&XS(this,g.JK(this.l).getPlayerSize())}; VS.prototype.hide=function(){g.W.prototype.hide.call(this);WS(this,function(a){a.hide()})}; VS.prototype.F=function(a){if(g.GS(a,this.l,!Cz(g.X(this.l)))){a={as3:!1,html5:!0,player:!0,cpn:this.l.getVideoData().clientPlaybackNonce};var b=this.l;b.la("onFeedbackArticleRequest",{articleId:3037019,helpContext:"player_error",productData:a});b.isFullscreen()&&b.toggleFullscreen()}}; var kma=/([^<>]+)<\/a>/;g.t(aT,g.Us);aT.prototype.u=function(){this.o();var a=this.g.getVideoData();if(a.isValid()){var b=[];g.X(this.g).H||b.push({src:a.Ac("mqdefault.jpg"),sizes:"320x180"});this.i.metadata=new MediaMetadata({title:a.title,artist:a.author,artwork:b});a=LK(this.g);if(this.l.has("nexttrack")!=a){var c=b=null;a&&(b=(0,g.x)(function(){this.g.nextVideo()},this),c=(0,g.x)(function(){this.g.previousVideo()},this)); $S(this,"nexttrack",b);$S(this,"previoustrack",c)}}}; aT.prototype.o=function(){var a=g.IK(this.g);a=a.isError()?"none":g.XC(a)?"playing":"paused";this.i.playbackState=a}; aT.prototype.U=function(){this.i.playbackState="none";this.i.metadata=null;for(var a=g.q(this.l),b=a.next();!b.done;b=a.next())$S(this,b.value,null);g.Us.prototype.U.call(this)};g.t(bT,g.W);bT.prototype.T=function(a,b){cT(this,b);this.B&&dT(this,this.B)}; bT.prototype.P=function(a){var b=this.I.getVideoData();this.o!=b.videoId&&cT(this,b);this.l&&dT(this,a.state);this.B=a.state}; bT.prototype.M=function(){this.A.hide();this.o&&(this.u[this.o]=(this.u[this.o]||0)+((0,g.D)()-this.F));this.F=0};g.t(fT,g.W);fT.prototype.hide=function(){this.l.stop();this.u.style.display="none";g.W.prototype.hide.call(this)}; fT.prototype.A=function(a){eT(this,a.state)}; fT.prototype.B=function(){eT(this,g.IK(this.o))}; fT.prototype.D=function(){this.u.style.display="block"};g.t(hT,g.W);hT.prototype.u=function(){var a=g.U(this.l.app);a&&a.g&&a.g.Cr()}; hT.prototype.o=function(){var a=g.U(this.l.app);g.sD(this,!!a&&a.Wb);this.updateValue("icon",this.l.ri()?g.UP?{C:"div",W:["ytp-icon","ytp-icon-airplay-on"]}:{C:"svg",L:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{C:"path",Ga:!0,L:{d:"M11,13 L25,13 L25,21 L11,21 L11,13 Z M12,28 L24,28 L18,22 L12,28 Z M27,9 L9,9 C7.9,9 7,9.9 7,11 L7,23 C7,24.1 7.9,25 9,25 L13,25 L13,23 L9,23 L9,11 L27,11 L27,23 L23,23 L23,25 L27,25 C28.1,25 29,24.1 29,23 L29,11 C29,9.9 28.1,9 27,9 L27,9 Z",fill:"#fff"}}]}: g.UP?{C:"div",W:["ytp-icon","ytp-icon-airplay-off"]}:{C:"svg",L:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{C:"path",Ga:!0,G:"ytp-svg-fill",L:{d:"M12,28 L24,28 L18,22 L12,28 Z M27,9 L9,9 C7.9,9 7,9.9 7,11 L7,23 C7,24.1 7.9,25 9,25 L13,25 L13,23 L9,23 L9,11 L27,11 L27,23 L23,23 L23,25 L27,25 C28.1,25 29,24.1 29,23 L29,11 C29,9.9 28.1,9 27,9 L27,9 Z"}}]})};g.t(g.jT,g.tD);g.jT.prototype.U=function(){this.l=null;g.tD.prototype.U.call(this)};g.t(g.lT,g.W);g.lT.prototype.F=function(a){g.T(a.state,32)?mT(this,this.l.de()):this.Fa()&&(g.T(a.state,16)||g.T(a.state,1))||this.u.hide()}; g.lT.prototype.H=function(){var a=g.IK(this.l);(g.T(a,32)||g.T(a,16))&&nT(this)}; g.lT.prototype.B=function(){this.A=NaN;nT(this)}; g.lT.prototype.hide=function(){this.xd&&mT(this,null);g.W.prototype.hide.call(this)};g.t(oT,g.W);oT.prototype.F=function(){g.$K(this.l,this.element);this.l.la("onFullerscreenEduClicked")}; oT.prototype.o=function(){this.l.isFullscreen()?this.u?this.A.hide():this.A.show():this.hide();g.aL(this.l,this.element,this.l.isFullscreen()&&!this.u)};g.t(pT,g.tD);g.h=pT.prototype;g.h.show=function(){var a=rT(this);g.tD.prototype.show.call(this);this.ga&&(this.H.K(window,"blur",this.nb),this.H.K(document,"click",this.fH));a||this.N("show",!0)}; g.h.hide=function(){var a=rT(this);g.tD.prototype.hide.call(this);qT(this);a&&this.N("show",!1)}; g.h.sd=function(a,b){this.l=a;this.T.show();b?(this.I||(this.I=this.H.K(this.X,"appresize",this.Mu)),this.Mu()):this.I&&(this.H.Na(this.I),this.I=null)}; g.h.nD=function(){this.l&&(this.l.getAttribute("aria-haspopup"),this.l.setAttribute("aria-expanded",!0),g.O(g.X(this.X).experiments,"embeds_enable_new_playlist_killswitch")?document.activeElement&&g.$d(this.l,document.activeElement)&&this.focus():this.focus())}; g.h.Mu=function(){g.ID(this.X).Lk(this.element,this.l)}; g.h.nb=function(){var a=rT(this);qT(this);this.T.hide();a&&this.N("show",!1)}; g.h.Ge=function(a,b){rT(this)?this.nb():this.sd(a,b)}; g.h.fH=function(a){var b=ns(a);b&&(g.$d(this.element,b)||this.l&&g.$d(this.l,b)||!g.pR(a))||this.nb()};g.t(g.tT,g.W);g.h=g.tT.prototype;g.h.SG=function(){g.X(this.o).X?this.o.toggleFullscreen():this.l.Ge(this.element,!0)}; g.h.hz=function(){sT(this);this.l.sd(this.element,!0)}; g.h.TG=function(){Rs()==this.o.getRootNode()?this.A.start():(this.A.stop(),this.l&&this.l.hide())}; g.h.NC=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.hz()}}; g.h.qy=function(){g.sD(this,FS(this.o))}; g.h.GA=function(a){if(a){var b=g.UP?{C:"div",W:["ytp-icon","ytp-icon-full-screen-close"]}:{C:"svg",L:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{C:"g",G:"ytp-fullscreen-button-corner-2",J:[{C:"path",Ga:!0,G:"ytp-svg-fill",L:{d:"m 14,14 -4,0 0,2 6,0 0,-6 -2,0 0,4 0,0 z"}}]},{C:"g",G:"ytp-fullscreen-button-corner-3",J:[{C:"path",Ga:!0,G:"ytp-svg-fill",L:{d:"m 22,14 0,-4 -2,0 0,6 6,0 0,-2 -4,0 0,0 z"}}]},{C:"g",G:"ytp-fullscreen-button-corner-0",J:[{C:"path",Ga:!0,G:"ytp-svg-fill", L:{d:"m 20,26 2,0 0,-4 4,0 0,-2 -6,0 0,6 0,0 z"}}]},{C:"g",G:"ytp-fullscreen-button-corner-1",J:[{C:"path",Ga:!0,G:"ytp-svg-fill",L:{d:"m 10,22 4,0 0,4 2,0 0,-6 -6,0 0,2 0,0 z"}}]}]};a=KS(this.o,"\uc804\uccb4\ud654\uba74 \uc885\ub8cc","f");document.activeElement==this.element&&this.o.getRootNode().focus()}else b=g.UP?{C:"div",W:["ytp-icon","ytp-icon-full-screen"]}:{C:"svg",L:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{C:"g",G:"ytp-fullscreen-button-corner-0",J:[{C:"path",Ga:!0, G:"ytp-svg-fill",L:{d:"m 10,16 2,0 0,-4 4,0 0,-2 L 10,10 l 0,6 0,0 z"}}]},{C:"g",G:"ytp-fullscreen-button-corner-1",J:[{C:"path",Ga:!0,G:"ytp-svg-fill",L:{d:"m 20,10 0,2 4,0 0,4 2,0 L 26,10 l -6,0 0,0 z"}}]},{C:"g",G:"ytp-fullscreen-button-corner-2",J:[{C:"path",Ga:!0,G:"ytp-svg-fill",L:{d:"m 24,24 -4,0 0,2 L 26,26 l 0,-6 -2,0 0,4 0,0 z"}}]},{C:"g",G:"ytp-fullscreen-button-corner-3",J:[{C:"path",Ga:!0,G:"ytp-svg-fill",L:{d:"M 12,20 10,20 10,26 l 6,0 0,-2 -4,0 0,-4 0,0 z"}}]}]},a=KS(this.o,"\uc804\uccb4\ud654\uba74", "f");this.updateValue("icon",b);this.updateValue("title",this.l?null:a);HT(this.B.Za())}; g.h.U=function(){this.l||(this.u(),this.u=null);g.W.prototype.U.call(this)};g.t(uT,g.W);uT.prototype.A=function(){this.l.la("onCollapseMiniplayer");g.$K(this.l,this.element)}; uT.prototype.u=function(){this.o=!this.l.isFullscreen();g.sD(this,this.o);g.aL(this.l,this.element,this.o&&this.R)}; uT.prototype.qb=function(a){g.W.prototype.qb.call(this,a);g.aL(this.l,this.element,this.o&&a)};g.t(vT,pT);g.h=vT.prototype;g.h.show=function(){var a=this.Fa();pT.prototype.show.call(this);a||(this.A.K(this.o,"presentingplayerstatechange",this.Tr),this.A.K(this.o,"videodatachange",this.Tr),this.Tr())}; g.h.hide=function(){this.A&&(g.Ws(this.A),pT.prototype.hide.call(this))}; g.h.Tr=function(){var a=this.o.getVideoData(),b=a.Kg,c;for(c=0;ca&&this.l.start()}; var Sna=new Uo(0,0,.4,0,.2,1,1,1),lma=/[0-9.-]+|[^0-9.-]+/g;g.t(ET,g.W);ET.prototype.jc=function(a){this.A=300<=a.width;g.sD(this,this.A);g.aL(this.l,this.element,this.A&&this.R)}; ET.prototype.ga=function(){g.X(this.l).M?this.l.isMuted()?this.l.unMute():this.l.mute():this.X.Ge(this.element,!0);g.$K(this.l,this.element)}; ET.prototype.ea=function(a){DT(this,a.volume,a.muted)}; ET.prototype.qb=function(a){g.W.prototype.qb.call(this,a);g.aL(this.l,this.element,this.A&&a)}; var mma=["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"],nma=["M",19,",",11.29," C",21.89,",",12.15," ",24,",",14.83," ",24,",",18," C",24,",",21.17," ",21.89,",",23.85," ",19,",",24.71," L",19,",",26.77," C",23.01,",",25.86," ",26,",",22.28," ",26,",",18," C",26,",",13.72," ", 23.01,",",10.14," ",19,",",9.23," L",19,",",11.29," Z"];g.t(IT,g.W);IT.prototype.o=function(){this.l.togglePictureInPicture()};g.t(g.KT,g.W);g.KT.prototype.D=function(a){JT(this,a.state)}; g.KT.prototype.A=function(){g.I(this.element,"ytp-play-button-playlist",LK(this.l))}; g.KT.prototype.F=function(){g.XC(g.IK(this.l))?this.l.pauseVideo():this.l.playVideo()};g.t(g.NT,g.W);g.h=g.NT.prototype;g.h.Ai=function(){OT(this);this.D&&(this.Na(this.D),this.D=null);this.O=this.l.getVideoData(1);if(this.u=this.l.getPlaylist())this.u.subscribe("shuffle",this.Ai,this),this.D=this.K(this.l,"progresssync",this.dH);this.B=PT(this);MT(this);this.jc(g.JK(this.l).getPlayerSize())}; g.h.jc=function(a){a=void 0===a?g.JK(this.l).getPlayerSize():a;var b=LK(this.l)||this.o&&g.YK(this.l)||QT(this);g.sD(this,b&&(this.o||400<=a.width))}; g.h.eH=function(a){var b=!0;this.H?b=g.GS(a,this.l):g.qs(a);b&&(this.o&&5==this.l.getPresentingPlayerType()?this.l.N("ytoprerollinternstitialnext"):this.o?this.l.nextVideo(!0):this.B?this.l.seekTo(0):this.l.previousVideo(!0))}; g.h.dH=function(){var a=PT(this);a!=this.B&&(this.B=a,MT(this))}; g.h.U=function(){this.A&&(this.A(),this.A=null);OT(this);g.W.prototype.U.call(this)};RT.prototype.update=function(a,b,c,d){this.width=b;this.l=c;this.u=d;this.g=b-c-d;this.position=g.pd(a,c,c+this.g);this.o=this.position-c;this.i=this.o/this.g};g.t(g.TT,g.tD);g.h=g.TT.prototype;g.h.Nc=function(){XT(this);var a=this.l.getCurrentTime();(athis.Z)&&this.jo()}; g.h.hH=function(a){if(!g.rs(a)){var b=!1;switch(g.ts(a)){case 36:this.l.seekTo(0);b=!0;break;case 35:this.l.seekTo(Infinity);b=!0;break;case 34:this.l.seekBy(-60);b=!0;break;case 33:this.l.seekBy(60);b=!0;break;case 38:this.l.seekBy(5);b=!0;break;case 40:this.l.seekBy(-5),b=!0}b&&g.qs(a)}}; g.h.QI=function(a){switch(g.ts(a)){case 13:this.l.seekTo(Number(a.currentTarget.getAttribute("data-position")))}}; g.h.uy=function(a,b){ST(this,b,"newdata"==a)}; g.h.SD=function(){this.uy("newdata",this.l.getVideoData())}; g.h.gH=function(a){this.B&&!g.T(a.state,32)&&3!=this.l.getPresentingPlayerType()&&this.B.cancel()}; g.h.pB=function(a){(this.F=a)?(this.updateValue("clipstarticon",hQ()),this.updateValue("clipendicon",hQ()),this.updateValue("clipstarttitle",null),this.updateValue("clipendtitle",null)):(this.updateValue("clipstarticon",aQ()),this.updateValue("clipendicon",$P()),this.updateValue("clipstarttitle","\uc804\uccb4 \ub3d9\uc601\uc0c1 \ubcf4\uae30"),this.updateValue("clipendtitle","\uc804\uccb4 \ub3d9\uc601\uc0c1 \ubcf4\uae30"));$T(this);UT(this,this.H,this.ea)}; g.h.GK=function(a,b,c){var d=g.Lh(this.element),e=cU(this).g,f=c?c.getAttribute("data-tooltip"):void 0,k=c?c.getAttribute("data-position"):void 0,l=c?c.getAttribute("data-offset-y"):void 0;k&&(a=AR(this.o,Number(c.getAttribute("data-position")),0)*e+g.Lh(this.Xb).x);this.Ra.x=a-d.x;this.Ra.y=b-d.y;a=cU(this);c=zR(this.o,a.i);b=f||g.oR(this.ab?c-this.o.g:c);a=a.position+this.Ca;c=g.O(g.X(this.l).experiments,"web_player_storyboard_timestamp_killswitch")?c:c-this.l.Ib();d=this.ma;f=!!f;l=l?parseInt(l, 10):0;d.na||(3==d.o&&d.Pe(),1!=d.o&&(d.element.className="ytp-tooltip ytp-bottom",d.o=1,d.P&&d.I.show(),d.u=d.Y.de(),d.u&&d.u.subscribe("l",d.gz,d)),d.update({text:b,title:""}),g.I(d.element,"ytp-text-detail",!!f),b=-1,d.u&&(b=zA(d.u,160*d.A),b=EA(d.u,b,c)),OW(d,b),NW(d,!!f,a,l));g.I(this.l.getRootNode(),"ytp-progress-bar-hover",!g.T(g.IK(this.l),64));WT(this)}; g.h.FK=function(){g.aU(this.ma);g.qo(this.l.getRootNode(),"ytp-progress-bar-hover")}; g.h.EK=function(a,b){this.u&&(this.u.dispose(),this.u=null);this.Yb=b;this.l.seekTo(zR(this.o,cU(this).i),!1);g.H(this.element,"ytp-drag");(this.jb=g.XC(g.IK(this.l)))&&this.l.pauseVideo()}; g.h.HK=function(){this.Ea=0;g.qo(this.element,"ytp-pull-ui");g.qo(this.element,"ytp-pulling");this.u&&(this.u.dispose(),this.u=null);0a||1a&&this.u.start()}; g.h.IK=function(a,b){var c=!1,d=!1,e=cU(this);3600<=this.o.getLength()&&(bU(this,this.Yb-b-10,e.position,e.i),d=!0,c=this.I>.1*(this.D?60:40),e=cU(this));g.I(this.element,"ytp-pull-ui",d);c&&g.H(this.element,"ytp-pulling");c=0;e.l&&0>=e.position?c=-1:e.u&&e.position>=e.width&&(c=1);this.Ea!=c&&(this.Ea=c,this.u&&(this.u.dispose(),this.u=null),c&&(this.u=new g.Ao((0,g.x)(this.JM,this,g.M(),this.M)),this.u.start()));this.l.seekTo(zR(this.o,e.i),!1)}; g.h.JM=function(a,b){var c=this.A*(this.X-1);this.M=g.pd(b+this.Ea*(g.M()-a)*.3,0,c);g.VT(this);this.l.seekTo(zR(this.o,cU(this).i),!1);0(a.deltaX||-a.deltaY)?-this.D:this.D;this.yh(b);g.qs(a)}; g.h.uL=function(a){a=(a-g.Lh(this.o).x)/this.I*this.B+this.minimumValue;this.yh(a)}; g.h.yh=function(a,b){b=void 0===b?"":b;var c=g.pd(a,this.minimumValue,this.maximumValue);""==b&&(b=c.toString());this.updateValue("valuenow",c);this.updateValue("valuetext",b);this.T.style.left=(c-this.minimumValue)/this.B*(this.I-this.M)+"px";this.l=c}; g.h.focus=function(){this.P.focus()};g.t(JU,HU);JU.prototype.X=function(){this.A.setPlaybackRate(this.l,!0)}; JU.prototype.yh=function(a){HU.prototype.yh.call(this,a,KU(this,a).toString());this.u&&(IU(this),this.Y())}; JU.prototype.Z=function(){var a=this.A.getPlaybackRate();KU(this,this.l)!=a&&(this.yh(a),IU(this))};g.t(LU,g.tD);LU.prototype.focus=function(){this.l.focus()};g.t(MU,mU);g.t(NU,g.rU);g.h=NU.prototype;g.h.ze=function(a){return"1"==a?"\ubcf4\ud1b5":a.toLocaleString()}; g.h.Ay=function(){var a=this.l.getPresentingPlayerType();this.enable(2!=a&&3!=a);RU(this)}; g.h.Bi=function(a){g.rU.prototype.Bi.call(this,a);a?(this.M=this.K(this.l,"onPlaybackRateChange",this.pH),RU(this),PU(this,this.l.getPlaybackRate())):(this.Na(this.M),this.M=null)}; g.h.pH=function(a){var b=this.l.getPlaybackRate();this.I.includes(b)||QU(this,b);PU(this,a)}; g.h.Lc=function(a){g.rU.prototype.Lc.call(this,a);a==this.A?this.l.setPlaybackRate(this.B,!0):this.l.setPlaybackRate(parseFloat(a),!0);this.o.Gd()};var c_,d_;c_=[{option:"#fff",text:"\ud770\uc0c9"},{option:"#ff0",text:"\ub178\ub780\uc0c9"},{option:"#0f0",text:"\ub179\uc0c9"},{option:"#0ff",text:"\uccad\ub85d\uc0c9"},{option:"#00f",text:"\ud30c\ub780\uc0c9"},{option:"#f0f",text:"\uc790\ud64d\uc0c9"},{option:"#f00",text:"\ube68\uac04\uc0c9"},{option:"#080808",text:"\uac80\uc740\uc0c9"}];d_=[{option:0,text:SU(0)},{option:.25,text:SU(.25)},{option:.5,text:SU(.5)},{option:.75,text:SU(.75)},{option:1,text:SU(1)}]; g.UU=[{option:"fontFamily",text:"\uae00\uaf34 \ubaa8\uc74c",options:[{option:1,text:"\uace0\uc815 \ub108\ube44 Serif"},{option:2,text:"\ube44\ub840 \ub108\ube44 Serif"},{option:3,text:"\uace0\uc815 \ub108\ube44 Sans-Serif"},{option:4,text:"\ube44\ub840 \ub108\ube44 Sans-Serif"},{option:5,text:"\uce90\uc8fc\uc5bc"},{option:6,text:"\ud544\uae30\uccb4"},{option:7,text:"\uc791\uc740 \ub300\ubb38\uc790"}]},{option:"color",text:"\uae00\uaf34 \uc0c9\uc0c1",options:c_},{option:"fontSizeIncrement",text:"\uae00\uaf34 \ud06c\uae30", options:[{option:-2,text:SU(.5)},{option:-1,text:SU(.75)},{option:0,text:SU(1)},{option:1,text:SU(1.5)},{option:2,text:SU(2)},{option:3,text:SU(3)},{option:4,text:SU(4)}]},{option:"background",text:"\ubc30\uacbd \uc0c9\uc0c1",options:c_},{option:"backgroundOpacity",text:"\ubc30\uacbd \ubd88\ud22c\uba85\ub3c4",options:d_},{option:"windowColor",text:"\ucc3d \uc0c9\uc0c1",options:c_},{option:"windowOpacity",text:"\ucc3d \ubd88\ud22c\uba85\ub3c4",options:d_},{option:"charEdgeStyle",text:"\uae00\uc790 \ud14c\ub450\ub9ac \uc2a4\ud0c0\uc77c", options:[{option:0,text:"\uc5c6\uc74c"},{option:4,text:"\uadf8\ub9bc\uc790"},{option:1,text:"\ub192\uc784"},{option:2,text:"\ub0ae\ucda4"},{option:3,text:"\uc724\uacfd\uc120"}]},{option:"textOpacity",text:"\uae00\uaf34 \ubd88\ud22c\uba85\ub3c4",options:[{option:.25,text:SU(.25)},{option:.5,text:SU(.5)},{option:.75,text:SU(.75)},{option:1,text:SU(1)}]}];g.t(TU,g.rU);g.h=TU.prototype;g.h.le=function(a){g.rU.prototype.le.call(this,a)}; g.h.Ey=function(a){return a.option.toString()}; g.h.getOption=function(a){return this.M[a]}; g.h.ze=function(a){return this.getOption(a).text||""}; g.h.Lc=function(a){g.rU.prototype.Lc.call(this,a);this.N("settingChange",this.I,this.M[a].option)}; g.h.Fy=function(a){this.N("settingChange",this.I+"Override",!a);this.o.Gd()};g.t(VU,g.nU);VU.prototype.o=function(a,b){this.N("settingChange",a,b)};g.t(XU,g.rU);XU.prototype.A=function(a){return a.languageCode}; XU.prototype.ze=function(a){return this.l[a].languageName||""}; XU.prototype.Lc=function(a){this.N("select",a);g.BU(this.o)};g.t(YU,g.rU);g.h=YU.prototype;g.h.Yr=function(a){return g.Xb(a)?"__off__":a.displayName}; g.h.ze=function(a){return"__off__"==a?"\uc0ac\uc6a9 \uc548\ud568":"__translate__"==a?"\uc790\ub3d9 \ubc88\uc5ed":"__contribute__"==a?"\uc790\ub9c9 \ucd94\uac00":("__off__"==a?{}:this.B[a]).displayName}; g.h.Lc=function(a){"__translate__"==a?this.A.open():"__contribute__"==a?(this.l.pauseVideo(),this.l.isFullscreen()&&this.l.toggleFullscreen(),a=g.bE(g.X(this.l),this.l.getVideoData()),g.cM(a)):(this.l.setOption("captions","track","__off__"==a?{}:this.B[a]),g.rU.prototype.Lc.call(this,a),this.o.Gd())}; g.h.Ck=function(){var a=this.l.getOptions();a=a&&-1!=a.indexOf("captions");var b=this.l.getVideoData();b=b&&b.Wl;if(a||b){if(a){var c=this.l.getOption("captions","track");var d=this.l.getOption("captions","tracklist",{includeAsr:!0});var e=this.l.getOption("captions","translationLanguages");this.B=g.tb(d,this.Yr,this);var f=(0,g.ge)(d,this.Yr);if(e.length&&!g.Xb(c)){var k=c.translationLanguage;if(k&&k.languageName){var l=k.languageName;k=e.findIndex(function(m){return m.languageName==l}); paa(e,k)}pma(this.A,e);f.push("__translate__")}e=this.Yr(c)}else this.B={},f=[],e="__off__";f.unshift("__off__");this.B.__off__={};b&&f.unshift("__contribute__");this.B[e]||(this.B[e]=c,f.push(e));g.tU(this,f);this.le(e);c&&c.translationLanguage?this.A.le(this.A.A(c.translationLanguage)):sU(this.A);a&&WU(this.I,this.l.getSubtitlesUserSettings());this.P.ob(d&&d.length?" ("+d.length+")":"");this.N("size-change");this.enable(!0)}else this.enable(!1)}; g.h.Dy=function(a){this.l.setOption("captions","sampleSubtitles",a)}; g.h.xH=function(a){var b=this.l.getOption("captions","track");b=g.bc(b);b.translationLanguage=this.A.l[a];this.l.setOption("captions","track",b)}; g.h.wH=function(a,b){if("reset"==a)this.l.resetSubtitlesUserSettings();else{var c={};c[a]=b;this.l.updateSubtitlesUserSettings(c)}this.Dy(!0);this.M.start();WU(this.I,this.l.getSubtitlesUserSettings())}; g.h.pL=function(a){a||g.Fo(this.M)}; g.h.U=function(){g.Fo(this.M);g.rU.prototype.U.call(this)};g.t(ZU,g.wU);ZU.prototype.sd=function(a){$U(this);0a);a=this.u.getProgressState();b&&(b=g.oR(a.current),this.B!=b&&(this.updateValue("currenttime",b),this.B=b),b=g.oR(a.duration),this.D!=b&&(this.updateValue("duration",b),this.D=b));this.A&&(a=a.isAtLiveHead,this.F!=a&&(this.F=a,this.Nc(),b=this.l.element,b.disabled=a,g.O(g.X(this.u).experiments,"enable_live_premiere_web_player_indicator")&&this.l.ob(this.H? "\ucd5c\ucd08 \uacf5\uac1c":"\uc2e4\uc2dc\uac04"),a?this.o&&(this.o(),this.o=null,b.removeAttribute("title")):(b.title="\uc2e4\uc2dc\uac04 \ubc29\uc1a1\uc73c\ub85c \uac74\ub108\ub701\ub2c8\ub2e4.",this.o=gT(this.I,this.l.element))))}; g.gV.prototype.P=function(a,b){fV(this,b);this.Nc()}; g.gV.prototype.M=function(a){a.target==this.l.element&&(this.u.seekTo(Infinity),this.u.playVideo())}; g.gV.prototype.U=function(){this.o&&this.o();g.W.prototype.U.call(this)};g.t(iV,g.W);g.h=iV.prototype;g.h.yH=function(){var a=this.D.ec();this.F!=a&&(this.F=a,hV(this,this.l.getVolume(),this.l.isMuted()))}; g.h.jc=function(a){g.sD(this,350<=a.width)}; g.h.yL=function(a){if(!g.rs(a)){var b=g.ts(a),c=null;37==b?c=this.A-5:39==b?c=this.A+5:36==b?c=0:35==b&&(c=100);null!=c&&(c=g.pd(c,0,100),0==c?this.l.mute():(this.l.isMuted()&&this.l.unMute(),this.l.setVolume(c)),g.qs(a))}}; g.h.zH=function(a){var b=a.deltaX||-a.deltaY;a.deltaMode?this.l.setVolume(this.A+(0>b?-10:10)):this.l.setVolume(this.A+g.pd(b/10,-10,10));g.qs(a)}; g.h.wL=function(){jV(this,this.u,!0,this.o,this.D.ii());this.Y=this.A;this.l.isMuted()&&this.l.unMute()}; g.h.vL=function(a){a-=g.Lh(this.T).x;this.l.setVolume(100*g.pd(a/(this.F?78:52),0,1))}; g.h.tL=function(){jV(this,this.u,!1,this.o,this.D.ii());0==this.A&&(this.l.mute(),this.l.setVolume(this.Y))}; g.h.BH=function(a){hV(this,a.volume,a.muted)}; g.h.jv=function(){jV(this,this.u,this.B,this.o,this.D.ii())}; g.h.Gy=function(a){jV(this,this.u,this.B,a,this.D.ii())}; g.h.HA=function(a){g.I(this.element,"ytp-volume-control-hover",a);jV(this,a,this.B,this.o,this.D.ii())}; g.h.U=function(){g.W.prototype.U.call(this);g.qo(this.P,"ytp-volume-slider-active")};g.t(g.kV,g.W);g.kV.prototype.u=function(){this.o=!!this.l.getVideoData().videoId;g.sD(this,this.o);g.aL(this.l,this.element,this.o&&this.R);if(this.o){var a=this.l.getVideoUrl(!0,!1,!1,!0);this.updateValue("url",a)}}; g.kV.prototype.A=function(a){var b=this.l.getVideoUrl(!g.pR(a),!1,!0,!0);HS(b,this.l,a);g.$K(this.l,this.element)}; g.kV.prototype.qb=function(a){g.W.prototype.qb.call(this,a);g.aL(this.l,this.element,this.o&&a)};g.t(lV,g.Us);g.h=lV.prototype;g.h.Wr=function(){this.B.Nc();this.X.Nc()}; g.h.Cy=function(){this.Xr();this.M.g?this.Wr():g.aU(this.B.ma)}; g.h.uH=function(){this.Wr();this.F.start()}; g.h.Xr=function(){var a=!g.X(this.l).g&&300>g.iU(this.B)&&g.WC(g.IK(this.l))&&!!window.requestAnimationFrame,b=!a;this.M.g||(a=b=!1);b?this.H||(this.H=this.K(this.l,"progresssync",this.Wr)):this.H&&(this.Na(this.H),this.H=null);a?this.F.isActive()||this.F.start():this.F.stop()}; g.h.qN=function(a){var b=this.o.Za();a=!a;if(null!=b.o)if(a)switch(b.o){case 3:case 2:MW(b);b.I.show();break;default:b.I.show()}else b.I.hide();b.P=a}; g.h.Va=function(){var a=this.o.ec(),b=g.JK(this.l).getPlayerSize(),c=nV(this),d=Math.max(b.width-2*c,100);if(this.oa!=b.width||this.ga!=a){this.oa=b.width;this.ga=a;var e=oV(this);this.i.element.style.width=e+"px";this.i.element.style.left=c+"px";var f=this.B;f.Ca=c;f.A=e;f.D=a;g.VT(f);this.o.Za().ea=e}c=this.g;e=Math.min(413*(a?1.5:1),Math.round(.82*(b.height-(this.o.ec()?72:50))));c.P=Math.min(570*(a?1.5:1),d);c.M=e;c.Ui();this.Xr();g.O(g.X(this.l).experiments,"html5_player_dynamic_bottom_gradient")&& g.iT(this.ea,b.height)}; g.h.vH=function(){var a=this.l.getVideoData();this.Y.style.background=a.Pb?a.tf:"";g.sD(this.R,a.kt)}; g.h.ha=function(){return this.i.element};g.t(qV,pT);qV.prototype.B=function(a){a?(pV(this),this.sd()):(this.u&&rV(this),this.nb())}; qV.prototype.D=function(a){this.o.isMutedByMutedAutoplay()&&g.aE(a,2)&&this.nb()}; qV.prototype.onClick=function(){this.o.unMute();rV(this)};g.t(g.sV,g.Us);g.h=g.sV.prototype;g.h.init=function(){var a=g.IK(this.api);this.Mi(a);this.Tf();this.zi()}; g.h.ly=function(a,b){if(this.Ya!=b.videoId){this.Ya=b.videoId;var c=this.i;c.P=b&&0this.api.getPlayerSize().width||290>this.api.getPlayerSize().height)}; g.h.ii=function(){return this.Lb}; g.h.An=function(){return null}; g.h.Hr=function(){var a=g.JK(this.api).getPlayerSize();return new g.nh(0,0,a.width,a.height)}; g.h.handleGlobalKeyDown=function(){return!1}; g.h.handleGlobalKeyUp=function(){return!1}; g.h.Lk=function(){}; g.h.showControls=function(a){if(void 0!=a){var b=g.JK(this.api);ez(b.app.g);b.B=!a;uM(b)}}; g.h.Ir=function(){}; g.h.ww=function(){return null};g.Tna=.0035*.006;g.IV={};var Una=[2,5];var e_=!1,f_=!1;g.lq("showCompanionAdLoaded",function(){if(f_){var a=g.w("window.google_show_companion_ad");var b=g.w("yt.www.watch.ads.getGlobals");g.Ma(a)&&g.Ma(b)?(b=b(),b=!(!b||!b.length)):b=!1;b?a():f_=!0;f_=!1}}); g.lq("watchAdsInit",function(){if(e_){e_=!1;var a=g.w("yt.www.watch.ads.loadAfc");g.Ma(a)?a():e_=!0}});new function(){this.g=g.Fa(void 0)?void 0:null;if(g.$a(Una,1)){if(!g.Fa(this.g)||0>this.g)throw Error("Must have valid offset");}else if(null!==this.g)throw Error("Must not have offset");};g.t(DV,g.A);g.h=DV.prototype;g.h.yv=function(){if(!this.i){var a=this.yv;if("lb3"==g.X(this.g).playerStyle)var b=!1;else b=this.g.getVideoData(),b=!!b.qj||!!b.captionTracks.length||g.CV(b,this.g);(a=KV(this,"captions",a,b))&&!this.i&&(this.i=a,a.Wk()&&a.load(),this.g.la("onApiChange"))}}; g.h.Rp=function(){this.H=this.H||KV(this,"endscreen",this.Rp,g.EV(this))}; g.h.Dv=function(){this.u=KV(this,"webgl",this.Dv,tma(this))}; g.h.Vk=function(){return this.g.getVideoData().Vk()}; g.h.Fv=function(){(this.Pc=this.Pc||KV(this,"ypc",this.Fv,this.Vk()))&&this.Pc.load()}; g.h.Ev=function(){var a;if(!(a=this.aa)){a=this.Ev;var b=this.g.getVideoData();a=KV(this,"ypc_clickwrap",a,b.aj&&!b.ar)}this.aa=a}; g.h.vv=function(){var a=!this.I;this.I=this.I||KV(this,"heartbeat",this.vv,this.g.getVideoData().tl);a&&this.I&&this.g.N("offlineslatestatechange")}; g.h.Pp=function(){if(!this.l){var a=this.Pp;var b=g.X(this.g);var c=this.g.getVideoData();b=c.jx||"3"==b.l?!1:b.I.isEmpty()&&"annotation-editor"!=b.playerStyle&&"live-dashboard"!=b.playerStyle?g.O(b.experiments,"disable_new_iv_module_create_logic")?c.Qm:!!c.Ld:!0;if(this.l=KV(this,"annotations_module",a,b)){a=this.l;for(var d in this.ea)b=d,a.subscribe(b,this.ea[b]);this.g.la("onApiChange")}}}; g.h.tv=function(){this.Uc=this.Uc||KV(this,"fresca",this.tv,this.g.getVideoData().Uc)}; g.h.Sp=function(){this.R||(this.R=KV(this,"remote",this.Sp,g.X(this.g).Mb))&&this.R.create()}; g.h.Tp=function(){this.ga||(this.ga=KV(this,"music",this.Tp,g.iz(g.X(this.g))))&&this.ga.init()}; g.h.zv=function(){this.B||(this.B=KV(this,"unplugged",this.zv,g.vz(g.X(this.g))))&&this.B.init()}; g.h.wv=function(){this.A||(this.A=KV(this,"kids",this.wv,wz(g.X(this.g))))&&this.A.init()}; g.h.Av=function(){GV(this);!this.F&&(this.F=KV(this,"ux",this.Av,g.X(this.g).ma))&&(this.F.init(),this.g.la("onApiChange"))}; g.h.xv=function(){this.Y||(this.Y=KV(this,"miniplayer",this.xv,g.X(this.g).showMiniplayerUiWhenMinimized))&&this.Y.init()}; g.h.qv=function(){var a;if(!(a=this.M)){a=this.qv;var b=g.X(this.g);b=g.O(b.experiments,"web_player_show_music_in_this_video")&&"desktop-polymer"==b.playerStyle;a=KV(this,"attribution",a,b)}(this.M=a)&&this.M.pe()}; g.h.Qp=function(){if(!this.D){var a=this.Qp;var b=g.X(this.g);"3"==b.l?b=!1:"creator-endscreen-editor"==b.playerStyle?b=!0:(b=this.g.getVideoData(),b=!!b&&(!!g.nC(b)||!!g.oC(b)));(this.D=KV(this,"creatorendscreen",a,b))&&this.g.la("onApiChange")}}; g.h.Gv=function(){(this.P=this.P||KV(this,"yto",this.Gv,!!this.g.getVideoData().Fc.includes("yto")))&&this.P.init()}; g.h.Cv=function(){var a=this.Cv;var b=g.X(this.g);b=this.g.getVideoData().isVisualizerEligible&&Jz(b)&&g.O(b.experiments,"web_player_music_visualizer")&&"desktop-polymer"==b.playerStyle&&g.Iz(b)&&!(g.hy&&!g.ld(42));(this.T=KV(this,"visualizer",a,b))&&this.T.pe()}; g.h.Pj=function(){var a={};this.i&&g.Ra(a,this.i.Pj());return a}; g.h.U=function(){g.A.prototype.U.call(this);LV(this,1,!0)};g.t(g.MV,g.W);g.MV.prototype.show=function(){g.W.prototype.show.call(this);g.Do(this.l)}; g.MV.prototype.hide=function(){this.u.stop();g.W.prototype.hide.call(this)};g.t(SV,g.W);SV.prototype.U=function(){this.l&&this.l();g.W.prototype.U.call(this)}; SV.prototype.D=function(){g.oq("iv-button-mouseover")}; SV.prototype.B=function(a){this.o.Bd();var b=g.oo(this.o.getRootNode(),"ytp-cards-teaser-shown");g.oq("iv-teaser-clicked",b);a=0==a.screenX&&0==a.screenY;this.o.setCardsVisible(!this.o.Ie(),a,"YOUTUBE_DRAWER_MANUAL_OPEN")};g.t(TV,g.W);g.h=TV.prototype;g.h.oB=function(){this.o.Bd()&&this.o.Ie()&&this.Fa()&&4!=this.D.g&&this.Ak()}; g.h.dN=function(){this.Ak();g.oq("iv-teaser-clicked",!!this.l);this.o.setCardsVisible(!0,!1,"YOUTUBE_DRAWER_MANUAL_OPEN")}; g.h.JG=function(){g.oq("iv-teaser-mouseover");this.l&&this.l.stop()}; g.h.DL=function(a){this.l||!a||this.o.Ie()||this.u&&this.u.isActive()||(uma(this,a),g.oq("iv-teaser-shown"))}; g.h.Sr=function(){if(g.X(this.o).u&&this.Fa()){var a=this.B.element.offsetLeft,b=g.Fd("ytp-cards-button-icon"),c=this.o.isFullscreen()?54:36;if(b){var d=a+b.offsetLeft;this.element.style.marginRight=this.B.element.offsetParent.offsetWidth-a-b.offsetLeft-c+"px";this.element.style.marginLeft=d+"px"}}}; g.h.OC=function(){g.X(this.o).u&&this.T.vg()&&this.Fa()&&this.M.start()}; g.h.ny=function(){this.H.stop();this.l&&this.l.isActive()&&this.I.start()}; g.h.Bg=function(){this.I.stop();this.l&&!this.l.isActive()&&this.H.start()}; g.h.fK=function(){this.l&&this.l.stop()}; g.h.cK=function(){this.Ak()}; g.h.Ak=function(){!this.l||this.A&&this.A.isActive()||(g.oq("iv-teaser-hidden"),this.D.hide(),g.qo(this.o.getRootNode(),"ytp-cards-teaser-shown"),this.A=new g.J(function(){for(var a=g.q(this.F),b=a.next();!b.done;b=a.next())this.Na(b.value);this.F=[];this.l&&(this.l.dispose(),this.l=null);RV(this.B,!0)},330,this),this.A.start())}; g.h.U=function(){var a=this.o.getRootNode();a&&g.qo(a,"ytp-cards-teaser-shown");g.rf(this.u,this.A,this.l);g.W.prototype.U.call(this)};g.t(UV,g.vD);UV.prototype.l=function(a){g.rs(a)||39!=g.ts(a)||(this.element.click(),g.qs(a))};g.t(ZV,g.nU);g.h=ZV.prototype;g.h.bJ=function(){JS(this.H.element)}; g.h.pJ=function(){$V(this,this.l.getDebugText(!0))&&NV(this.P,WP())}; g.h.qJ=function(){$V(this,this.l.getVideoEmbedCode())&&NV(this.P,g.UP?{C:"div",W:["ytp-icon","ytp-icon-code"]}:{C:"svg",L:{height:"100%",viewBox:"0 0 36 36",width:"100%"},J:[{C:"path",L:{d:"M14.1 24.9L7.2 18.0l6.9-6.9L12.0 9.0l-9.0 9.0 9.0 9.0 2.1-2.1zm7.8 .0l6.9-6.9-6.9-6.9L24.0 9.0l9.0 9.0-9.0 9.0-2.1-2.1z",fill:"#fff"}}]});g.$K(this.l,this.o.element);WV("EMBED",this.l.getVideoData().videoId,this.l.getPlaylistId()||void 0)}; g.h.tJ=function(){$V(this,this.l.getVideoUrl(!0,!0))&&NV(this.P,gQ());g.$K(this.l,this.A.element);WV("COPY_PASTE",this.l.getVideoData().videoId,this.l.getPlaylistId()||void 0)}; g.h.sJ=function(){$V(this,this.l.getVideoUrl(!1,!0))&&NV(this.P,gQ());g.$K(this.l,this.u.element);WV("COPY_PASTE",this.l.getVideoData().videoId,this.l.getPlaylistId()||void 0)}; g.h.kz=function(a){kU(this.B,a)}; g.h.MJ=function(){var a=this.B.getValue();wY(this.l.app,a);this.M.nb();g.$K(this.l,this.B.element)}; g.h.UK=function(a){this.l.reportPlaybackIssue();if(g.GS(a,this.l,!Cz(g.X(this.l)))){a=this.l;var b={as3:!1,html5:!0,player:!0};b=b||{};var c=a.getVideoStats().debug_error;c&&(b.player_error=c.errorCode,b.player_error_details=c.errorDetail);b.debug_text=a.getDebugText(!0);a.la("onFeedbackStartRequest",b);a.isFullscreen()&&a.toggleFullscreen()}this.M.nb()}; g.h.rL=function(){this.l.showVideoInfo();this.M.nb()}; g.h.NG=function(a,b){YV(this,b)}; g.h.qb=function(a){g.nU.prototype.qb.call(this,a);g.aL(this.l,this.o.element,a);g.aL(this.l,this.A.element,a);g.aL(this.l,this.u.element,a);g.aL(this.l,this.B.element,a)};g.t(bW,g.wU);g.h=bW.prototype;g.h.show=function(){this.A||(this.A=new ZV(this.o,this.ea,this,this.Z),g.B(this,this.A),g.AU(this,this.A));this.A.kz(yK(this.o.app.A));g.wU.prototype.show.call(this);g.aL(this.o,this.element,!0);this.A.qb(!0)}; g.h.hide=function(){aW(this);g.wU.prototype.hide.call(this);g.aL(this.o,this.element,!1);this.A&&this.A.qb(!1)}; g.h.aJ=function(a){var b=ns(a);if(!(this.Fa()||b&&(g.fe(b,"a")||g.fe(b,null,"ytp-no-contextmenu",void 0)))){g.qs(a);cW(this);b=this.o.getVideoData();g.I(this.element,"ytp-dni",b.Pb);this.element.style.left="";this.element.style.top="";a=ps(a);a.x++;a.y++;this.sd();var c=document.body;b=new g.kh(0,Infinity,Infinity,0);var d=Bd(c);for(var e=d.g.body,f=d.g.documentElement,k=Kd(d.g);c=Kh(c);)if(!(g.Ld&&0==c.clientWidth||g.Nd&&0==c.clientHeight&&c==e)&&c!=e&&c!=f&&"visible"!=g.Fh(c,"overflow")){var l= g.Lh(c),m=new g.td(c.clientLeft,c.clientTop);l.x+=m.x;l.y+=m.y;b.top=Math.max(b.top,l.y);b.right=Math.min(b.right,l.x+c.clientWidth);b.bottom=Math.min(b.bottom,l.y+c.clientHeight);b.left=Math.max(b.left,l.x)}e=k.scrollLeft;k=k.scrollTop;b.left=Math.max(b.left,e);b.top=Math.max(b.top,k);d=d.g;d=Jd(d.parentWindow||d.defaultView||window);b.right=Math.min(b.right,e+d.width);b.bottom=Math.min(b.bottom,k+d.height);d=0<=b.top&&0<=b.left&&b.bottom>b.top&&b.right>b.left?b:null;b=this.size;a=a.clone();b=b.clone(); d&&(k=a,e=b,f=5,65==(f&65)&&(k.x=d.right)&&(f&=-2),132==(f&132)&&(k.y=d.bottom)&&(f&=-5),k.xd.right&&(e.width=Math.min(d.right-k.x,c+e.width-d.left),e.width=Math.max(e.width,0))),k.x+e.width>d.right&&f&1&&(k.x=Math.max(d.right-e.width,d.left)),k.yd.bottom&&(e.height=Math.min(d.bottom-k.y,c+e.height-d.top),e.height=Math.max(e.height, 0))),k.y+e.height>d.bottom&&f&4&&(k.y=Math.max(d.bottom-e.height,d.top)));d=new g.nh(0,0,0,0);d.left=a.x;d.top=a.y;d.width=b.width;d.height=b.height;g.Hh(this.element,g.qh(d));g.Ws(this.F);this.F.K(document,"contextmenu",this.gJ);this.F.K(this.o,"fullscreentoggled",this.OG);this.F.K(this.o,"pageTransition",this.rK)}}; g.h.gJ=function(a){if(!g.rs(a)){var b=ns(a);g.$d(this.element,b)||this.nb();g.X(this.o).Bl&&g.qs(a)}}; g.h.OG=function(){this.nb();cW(this)}; g.h.rK=function(){this.nb()};g.t(dW,g.Us);g.h=dW.prototype; g.h.Kw=function(a){var b=!1,c=g.ts(a),d=ns(a),e=!a.altKey&&!a.ctrlKey&&!a.metaKey,f=!1,k=!1,l=g.X(this.g);g.rs(a)?(e=!1,k=!0):l.tb&&(e=!1);if(9==c)b=!0;else{if(d)switch(c){case 32:case 13:if("BUTTON"==d.tagName||"A"==d.tagName||"INPUT"==d.tagName)b=!0,e=!1;else if(e){var m=d.getAttribute("role");!m||"option"!=m&&"button"!=m&&0!=m.indexOf("menuitem")||(b=!0,d.click(),f=!0)}break;case 37:case 39:case 36:case 35:b="slider"==d.getAttribute("role");break;case 38:case 40:m=d.getAttribute("role"),d=38== c?d.previousSibling:d.nextSibling,"slider"==m?b=!0:e&&("option"==m?(d&&"option"==d.getAttribute("role")&&d.focus(),f=b=!0):m&&0==m.indexOf("menuitem")&&(d&&d.hasAttribute("role")&&0==d.getAttribute("role").indexOf("menuitem")&&d.focus(),f=b=!0))}if(e&&!f)switch(c){case 37:this.g.fc()&&this.o&&(NV(this.i,pQ()),this.g.seekBy(-5*this.g.getPlaybackRate()),k=f=!0);break;case 39:this.g.fc()&&this.o&&(NV(this.i,eQ()),this.g.seekBy(5*this.g.getPlaybackRate()),k=f=!0);break;case 38:f=Math.min(this.g.getVolume()+ 5,100);PV(this.i,f,!1);this.g.setVolume(f);k=f=!0;break;case 40:f=Math.max(this.g.getVolume()-5,0);PV(this.i,f,!0);this.g.setVolume(f);k=f=!0;break;case 36:this.g.fc()&&(this.g.seekTo(0),k=f=!0);break;case 35:this.g.fc()&&(this.g.seekTo(Infinity),k=f=!0)}}b&&this.Zs(!0);(b||k)&&this.A.Fb(2,!0);(f||e&&this.handleGlobalKeyDown(c,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey))&&g.qs(a);l.vb&&(a={keyCode:g.ts(a),altKey:a.altKey,ctrlKey:a.ctrlKey,metaKey:a.metaKey,shiftKey:a.shiftKey,handled:g.rs(a),fullscreen:this.g.isFullscreen()}, this.g.la("onKeyPress",a))}; g.h.Lw=function(a){this.handleGlobalKeyUp(g.ts(a),a.shiftKey,a.ctrlKey,a.altKey,a.metaKey)}; g.h.handleGlobalKeyUp=function(a){var b=!1,c=g.EK(this.g).u;c&&(c=c.Gg)&&c.Fa()&&(c.Jw(a),b=!0);9==a&&(this.Zs(!0),b=!0);return b}; g.h.handleGlobalKeyDown=function(a,b){var c=!1,d=g.X(this.g);if(d.tb)return c;var e=g.EK(this.g).u;if(e&&(e=e.Gg)&&e.Fa())switch(a){case 65:case 68:case 87:case 83:case 107:case 221:case 109:case 219:c=e.Iw(a)}if(!d.Kb&&!c)if(c=String.fromCharCode(a).toLowerCase(),this.l+=c,0=="awesome".indexOf(this.l)){if(c=!0,7==this.l.length){e=this.g.getRootNode();var f=!g.oo(e,"ytp-color-party");g.I(e,"ytp-color-party",f)}}else this.l=c,c=0=="awesome".indexOf(this.l);if(!c){switch(a){case 80:b&&!d.R&&(NV(this.i, nQ(),"\uc774\uc804"),this.g.previousVideo(),c=!0);break;case 78:b&&!d.R&&(NV(this.i,iQ(),"\ub2e4\uc74c"),this.g.nextVideo(),c=!0);break;case 74:this.g.fc()&&(NV(this.i,g.UP?{C:"div",W:["ytp-icon","ytp-icon-rewind-ten-seconds"]}:{C:"svg",L:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{C:"path",Ga:!0,G:"ytp-svg-fill",L:{d:"M 18,11 V 7 l -5,5 5,5 v -4 c 3.3,0 6,2.7 6,6 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 h -2 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 0,-4.4 -3.6,-8 -8,-8 z M 16.9,22 H 16 V 18.7 L 15,19 v -0.7 l 1.8,-0.6 h .1 V 22 z m 4.3,-1.8 c 0,.3 0,.6 -0.1,.8 l -0.3,.6 c 0,0 -0.3,.3 -0.5,.3 -0.2,0 -0.4,.1 -0.6,.1 -0.2,0 -0.4,0 -0.6,-0.1 -0.2,-0.1 -0.3,-0.2 -0.5,-0.3 -0.2,-0.1 -0.2,-0.3 -0.3,-0.6 -0.1,-0.3 -0.1,-0.5 -0.1,-0.8 v -0.7 c 0,-0.3 0,-0.6 .1,-0.8 l .3,-0.6 c 0,0 .3,-0.3 .5,-0.3 .2,0 .4,-0.1 .6,-0.1 .2,0 .4,0 .6,.1 .2,.1 .3,.2 .5,.3 .2,.1 .2,.3 .3,.6 .1,.3 .1,.5 .1,.8 v .7 z m -0.9,-0.8 v -0.5 c 0,0 -0.1,-0.2 -0.1,-0.3 0,-0.1 -0.1,-0.1 -0.2,-0.2 -0.1,-0.1 -0.2,-0.1 -0.3,-0.1 -0.1,0 -0.2,0 -0.3,.1 l -0.2,.2 c 0,0 -0.1,.2 -0.1,.3 v 2 c 0,0 .1,.2 .1,.3 0,.1 .1,.1 .2,.2 .1,.1 .2,.1 .3,.1 .1,0 .2,0 .3,-0.1 l .2,-0.2 c 0,0 .1,-0.2 .1,-0.3 v -1.5 z"}}]}), this.g.seekBy(-10*this.g.getPlaybackRate()),c=!0);break;case 76:this.g.fc()&&(NV(this.i,g.UP?{C:"div",W:["ytp-icon","ytp-icon-forward-ten-seconds"]}:{C:"svg",L:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{C:"path",Ga:!0,G:"ytp-svg-fill",L:{d:"m 10,19 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 h -2 c 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 0,-3.3 2.7,-6 6,-6 v 4 l 5,-5 -5,-5 v 4 c -4.4,0 -8,3.6 -8,8 z m 6.8,3 H 16 V 18.7 L 15,19 v -0.7 l 1.8,-0.6 h .1 V 22 z m 4.3,-1.8 c 0,.3 0,.6 -0.1,.8 l -0.3,.6 c 0,0 -0.3,.3 -0.5,.3 C 20,21.9 19.8,22 19.6,22 19.4,22 19.2,22 19,21.9 18.8,21.8 18.7,21.7 18.5,21.6 18.3,21.5 18.3,21.3 18.2,21 18.1,20.7 18.1,20.5 18.1,20.2 v -0.7 c 0,-0.3 0,-0.6 .1,-0.8 l .3,-0.6 c 0,0 .3,-0.3 .5,-0.3 .2,0 .4,-0.1 .6,-0.1 .2,0 .4,0 .6,.1 .2,.1 .3,.2 .5,.3 .2,.1 .2,.3 .3,.6 .1,.3 .1,.5 .1,.8 v .7 z m -0.8,-0.8 v -0.5 c 0,0 -0.1,-0.2 -0.1,-0.3 0,-0.1 -0.1,-0.1 -0.2,-0.2 -0.1,-0.1 -0.2,-0.1 -0.3,-0.1 -0.1,0 -0.2,0 -0.3,.1 l -0.2,.2 c 0,0 -0.1,.2 -0.1,.3 v 2 c 0,0 .1,.2 .1,.3 0,.1 .1,.1 .2,.2 .1,.1 .2,.1 .3,.1 .1,0 .2,0 .3,-0.1 l .2,-0.2 c 0,0 .1,-0.2 .1,-0.3 v -1.5 z"}}]}), this.g.seekBy(10*this.g.getPlaybackRate()),c=!0);break;case 37:this.g.fc()&&!this.o&&(NV(this.i,pQ()),this.g.seekBy(-5*this.g.getPlaybackRate()),c=!0);break;case 39:this.g.fc()&&!this.o&&(NV(this.i,eQ()),this.g.seekBy(5*this.g.getPlaybackRate()),c=!0);break;case 77:this.g.isMuted()?(this.g.unMute(),PV(this.i,this.g.getVolume(),!1)):(this.g.mute(),PV(this.i,0,!0));c=!0;break;case 32:case 75:d.R||(c=!g.XC(g.IK(this.g)),OV(this.i,c),c?this.g.playVideo():this.g.pauseVideo(),c=!0);break;case 190:b?d.wa&& (c=this.g.getPlaybackRate(),this.g.setPlaybackRate(c+.25,!0),QV(this.i,!1),c=!0):this.g.fc()&&(fW(this,1),c=!0);break;case 188:b?d.wa&&(c=this.g.getPlaybackRate(),this.g.setPlaybackRate(c-.25,!0),QV(this.i,!0),c=!0):this.g.fc()&&(fW(this,-1),c=!0);break;case 70:FS(this.g)&&(this.g.toggleFullscreen(),c=!0);break;case 27:this.B()&&(c=!0)}if("3"!=d.l)switch(a){case 67:g.EK(this.g).i&&(d=this.g.getOption("captions","track"),this.g.toggleSubtitles(),d=!d||d&&!d.displayName?"\uc790\ub9c9 \uc0ac\uc6a9 \uc911": "\uc790\ub9c9 \uc0ac\uc6a9 \uc911\uc9c0",NV(this.i,sQ(),d),c=!0);break;case 79:eW(this,"textOpacity");break;case 87:eW(this,"windowOpacity");break;case 187:case 61:eW(this,"fontSizeIncrement",!1,!0);break;case 189:case 173:eW(this,"fontSizeIncrement",!0,!0)}var k;48<=a&&57>=a?k=a-48:96<=a&&105>=a&&(k=a-96);null!=k&&this.g.fc()&&(d=this.g.getProgressState(),this.g.seekTo(k/10*(d.seekableEnd-d.seekableStart)+d.seekableStart),c=!0);c&&this.A.Fb(2,!0)}return c}; g.h.Zs=function(a){g.I(this.g.getRootNode(),"ytp-probably-keyboard-focus",a);g.I(this.D.element,"ytp-probably-keyboard-focus",a)}; g.h.ry=function(a){g.EK(this.g).i&&this.g.setOption("captions","sampleSubtitles",a)}; g.h.U=function(){g.Fo(this.u);g.Us.prototype.U.call(this)};g.t(gW,pT);g.h=gW.prototype;g.h.VG=function(a){a=ns(a);g.$d(this.element,a)&&(g.$d(this.D,a)||g.$d(this.u,a)||this.Ge())}; g.h.nb=function(){pT.prototype.nb.call(this);this.A.sf(this.element)}; g.h.show=function(){this.Fa()&&this.B.N("OVERFLOW_PANEL_OPENED");pT.prototype.show.call(this);iW(this,!0)}; g.h.hide=function(){pT.prototype.hide.call(this);iW(this,!1)}; g.h.UG=function(a){!a&&rT(this)&&this.Ge()}; g.h.focus=function(){0g.M()-this.na)g.qs(b),document.activeElement.blur();else{var c=this.o[a],d=c.Cb;if(g.GS(b,this.l,this.ga,d||void 0)){var e=c.ua().videoId;c=c.getPlaylistId();g.IY(this.l.app,e,d,c,void 0,void 0)}}}; g.h.aH=function(){this.Va(g.JK(this.l).getPlayerSize())}; g.h.bH=function(a){if(!(g.T(a.state,1)||g.T(a.state,16)||g.T(a.state,32))){var b=!g.O(g.X(this.l).experiments,"embeds_disable_pauseoverlay_on_autoplay_blocked_killswitch")&&g.T(a.state,2048);!g.T(a.state,4)||g.T(a.state,2)||b?this.T.hide():this.o.length&&(this.X||(g.H(this.l.getRootNode(),"ytp-expand-pause-overlay"),lW(this)),this.T.show(),this.na=g.M())}}; g.h.Va=function(a){var b=16/9,c=this.Z.ec();a=a.width-(c?112:58);c=Math.ceil(a/(c?320:192));c=(a-8*c)/c;b=Math.floor(c/b);for(var d=0;dg.JK(this.o).getPlayerSize().width&&!a);this.l&&2!=this.o.getPresentingPlayerType()?(this.update({text:g.UN("$CURRENT_POSITION/$PLAYLIST_LENGTH",{CURRENT_POSITION:String(this.l.Ta+1),PLAYLIST_LENGTH:String(this.l.getLength())}),title:g.UN("\uc7ac\uc0dd\ubaa9\ub85d: $PLAYLIST_NAME",{PLAYLIST_NAME:this.l.title})}),this.Fa()||(this.show(),HT(this.A)),this.D=!0):this.Fa()&&(this.hide(),HT(this.A))}; rW.prototype.qb=function(a){g.W.prototype.qb.call(this,a);g.aL(this.o,this.element,this.D&&a)}; rW.prototype.B=function(){this.l&&this.l.unsubscribe("shuffle",this.u,this);(this.l=this.o.getPlaylist())&&this.l.subscribe("shuffle",this.u,this);this.u()};g.t(sW,g.W);sW.prototype.u=function(a){g.sD(this,g.T(a.state,2))}; sW.prototype.o=function(){g.IK(this.l);this.l.playVideo()};g.t(g.tW,pT);g.h=g.tW.prototype;g.h.oH=function(a){a=ns(a);g.$d(this.M,a)||g.$d(this.D,a)||this.Ge()}; g.h.nb=function(){pT.prototype.nb.call(this);this.u.sf(this.element)}; g.h.show=function(){var a=this.Fa();pT.prototype.show.call(this);this.zy();a||this.o.la("onSharePanelOpened")}; g.h.zy=function(){g.H(this.element,"ytp-share-panel-loading");g.qo(this.element,"ytp-share-panel-fail");var a=this.o.getVideoData(),b=this.o.getPlaylistId(),c=b&&this.F.checked;g.I(this.element,"ytp-share-panel-has-playlist",!!b);var d={action_get_share_info:1,feature:"player_embedded",video_id:a.videoId},e=g.X(this.o);e.lc&&(d.authuser=e.lc);e.pageId&&(d.pageid=e.pageId);c&&(d.list=b);g.br(g.X(this.o).B+"share_ajax",{method:"GET",onError:(0,g.x)(this.PA,this),onSuccess:(0,g.x)(function(f,k){if(k){if(!this.fa()){g.qo(this.element, "ytp-share-panel-loading");uW(this);for(var l=k.links,m=0,n=0;nm;n++){var p=l[n];a:switch(p.img){case "facebook":var r=g.UP?{C:"div",W:["ytp-icon","ytp-icon-share-facebook"]}:{C:"svg",L:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},J:[{C:"rect",L:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{C:"path",L:{d:"M 34.2,0 3.8,0 C 1.70,0 .01,1.70 .01,3.8 L 0,34.2 C 0,36.29 1.70,38 3.8,38 l 30.4,0 C 36.29,38 38,36.29 38,34.2 L 38,3.8 C 38,1.70 36.29,0 34.2,0 l 0,0 z m -1.9,3.8 0,5.7 -3.8,0 c -1.04,0 -1.9,.84 -1.9,1.9 l 0,3.8 5.7,0 0,5.7 -5.7,0 0,13.3 -5.7,0 0,-13.3 -3.8,0 0,-5.7 3.8,0 0,-4.75 c 0,-3.67 2.97,-6.65 6.65,-6.65 l 4.75,0 z", fill:"#39579b"}}]};break a;case "twitter":r=g.UP?{C:"div",W:["ytp-icon","ytp-icon-share-twitter"]}:{C:"svg",L:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},J:[{C:"rect",L:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{C:"path",L:{d:"M 34.2,0 3.8,0 C 1.70,0 .01,1.70 .01,3.8 L 0,34.2 C 0,36.29 1.70,38 3.8,38 l 30.4,0 C 36.29,38 38,36.29 38,34.2 L 38,3.8 C 38,1.70 36.29,0 34.2,0 l 0,0 z M 29.84,13.92 C 29.72,22.70 24.12,28.71 15.74,29.08 12.28,29.24 9.78,28.12 7.6,26.75 c 2.55,.40 5.71,-0.60 7.41,-2.06 -2.50,-0.24 -3.98,-1.52 -4.68,-3.56 .72,.12 1.48,.09 2.17,-0.05 -2.26,-0.76 -3.86,-2.15 -3.95,-5.07 .63,.28 1.29,.56 2.17,.60 C 9.03,15.64 7.79,12.13 9.21,9.80 c 2.50,2.75 5.52,4.99 10.47,5.30 -1.24,-5.31 5.81,-8.19 8.74,-4.62 1.24,-0.23 2.26,-0.71 3.23,-1.22 -0.39,1.23 -1.17,2.09 -2.11,2.79 1.03,-0.14 1.95,-0.38 2.73,-0.77 -0.47,.99 -1.53,1.9 -2.45,2.66 l 0,0 z", fill:"#01abf0"}}]};break a;default:r=null}r&&(r=new g.W({C:"a",W:["ytp-share-panel-service-button","ytp-button"],L:{href:p.url,target:"_blank",title:p.sname},J:[r]}),r.da("click",g.Qa(this.mL,p.url)),g.pf(r,gT(this.u,r.element)),this.A.push(r),m++)}l=new g.W({C:"a",W:["ytp-share-panel-service-button","ytp-button"],J:[{C:"span",G:"ytp-share-panel-service-button-more",J:[g.UP?{C:"div",W:["ytp-icon","ytp-icon-share-more"]}:{C:"svg",L:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},J:[{C:"rect", L:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{C:"path",L:{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"}}]}]}],L:{href:k.more,target:"_blank",title:"\ub354\ubcf4\uae30"}});l.da("click",(0,g.x)(this.ZJ,this,k.more));g.pf(l,gT(this.u,l.element));this.A.push(l);this.updateValue("buttons",this.A)}}else this.PA(null,null)},this), ud:d,withCredentials:!0});a=e.getVideoUrl(a.videoId,c?b:void 0,void 0,!0);this.updateValue("link",a);this.updateValue("linkText",a);this.updateValue("shareLinkWithUrl",g.UN("$URL \ub9c1\ud06c \uacf5\uc720",{URL:a}));JS(this.B)}; g.h.PA=function(){g.qo(this.element,"ytp-share-panel-loading");g.H(this.element,"ytp-share-panel-fail")}; g.h.mL=function(a,b){if(g.pR(b)){var c=void 0===c?{}:c;c.target=c.target||"YouTube";c.width=c.width||"600";c.height=c.height||"600";c||(c={});var d=window;var e=a instanceof g.xc?a:g.Cc("undefined"!=typeof a.href?a.href:String(a));var f=c.target||a.target,k=[];for(l in c)switch(l){case "width":case "height":case "top":case "left":k.push(l+"="+c[l]);break;case "target":case "noopener":case "noreferrer":break;default:k.push(l+"="+(c[l]?1:0))}var l=k.join(",");gd()&&d.navigator&&d.navigator.standalone&& f&&"_self"!=f?(l=d.document.createElement("A"),g.Tc(l,e),l.setAttribute("target",f),c.noreferrer&&l.setAttribute("rel","noreferrer"),c=document.createEvent("MouseEvent"),c.initMouseEvent("click",!0,!0,d,1),l.dispatchEvent(c),d={}):c.noreferrer?(d=d.open("",f,l),c=g.zc(e),d&&(g.Gz&&-1!=c.indexOf(";")&&(c="'"+c.replace(/'/g,"%27")+"'"),d.opener=null,c=g.Rc(g.qc("b/12014412, meta tag with sanitized URL"),''),d.document.write(g.Mc(c)),d.document.close())):(d=d.open(g.zc(e),f,l))&&c.noopener&&(d.opener=null);if(c=d)c.opener||(c.opener=window),c.focus();g.qs(b)}}; g.h.ZJ=function(a,b){HS(a,this.o,b)&&this.o.la("SHARE_CLICKED")}; g.h.nH=function(a){!a&&rT(this)&&this.Ge()}; g.h.focus=function(){this.B.focus()}; g.h.U=function(){pT.prototype.U.call(this);uW(this)};g.t(g.vW,g.W);g.vW.prototype.D=function(){var a=g.X(this.l),b=this.l.getVideoData(),c=this.l.getPlaylistId();a=a.getVideoUrl(b.videoId,c,void 0,!0);if(b.al){b=g.Rd("TEXTAREA");b.textContent=a;document.body.appendChild(b);b.focus();b.select();try{document.execCommand("copy")}catch(d){}document.body.removeChild(b)}else navigator.share?navigator.share({title:b.title,url:a}):(this.A.Qh(),this.F.Ge(this.element,!1));g.$K(this.l,this.element)}; g.vW.prototype.u=function(){var a=g.X(this.l),b=this.l.getVideoData(),c=this.A.vg()&&g.O(a.experiments,"embeds_enable_new_smallmode")&&a.u;b.al?(c=c&&a.D?{C:"div",W:["ytp-icon","ytp-icon-share-copylink-large"]}:g.UP?{C:"div",W:["ytp-icon","ytp-icon-share-copylink"]}:{C:"svg",L:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{C:"path",Ga:!0,G:"ytp-svg-fill",L:{d:"M21.9,8.3H11.3c-0.9,0-1.7,.8-1.7,1.7v12.3h1.7V10h10.6V8.3z M24.6,11.8h-9.7c-1,0-1.8,.8-1.8,1.8v12.3 c0,1,.8,1.8,1.8,1.8h9.7c1,0,1.8-0.8,1.8-1.8V13.5C26.3,12.6,25.5,11.8,24.6,11.8z M24.6,25.9h-9.7V13.5h9.7V25.9z"}}]}, this.updateValue("title-attr","\ub3d9\uc601\uc0c1 \ub9c1\ud06c \ubcf5\uc0ac")):(c=c&&a.D?{C:"div",W:["ytp-icon","ytp-icon-sharrow-large"]}:g.UP?{C:"div",W:["ytp-icon","ytp-icon-sharrow"]}:{C:"svg",L:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},J:[{C:"path",Ga:!0,G:"ytp-svg-fill",L:{d:"m 20.20,14.19 0,-4.45 7.79,7.79 -7.79,7.79 0,-4.56 C 16.27,20.69 12.10,21.81 9.34,24.76 8.80,25.13 7.60,27.29 8.12,25.65 9.08,21.32 11.80,17.18 15.98,15.38 c 1.33,-0.60 2.76,-0.98 4.21,-1.19 z"}}]}, this.updateValue("title-attr","\uacf5\uc720"));this.updateValue("icon",c);a=a.Cl&&2!=this.l.getPresentingPlayerType()||!b.showShareButton;c=g.JK(this.l).getPlayerSize().width;this.o=!!b.videoId&&300<=c&&!a;g.I(this.B,"ytp-share-button-visible",this.o);g.aL(this.l,this.element,this.o&&this.R)}; g.vW.prototype.qb=function(a){g.W.prototype.qb.call(this,a);g.aL(this.l,this.element,this.o&&a)}; g.vW.prototype.U=function(){g.W.prototype.U.call(this);g.qo(this.B,"ytp-share-button-visible")};g.t(wW,pT);wW.prototype.show=function(){pT.prototype.show.call(this);this.B.start()}; wW.prototype.hide=function(){pT.prototype.hide.call(this);this.B.stop()}; wW.prototype.Z=function(){var a=this.o.getCurrentTime();a>this.A/1E3&&a(b.height-k.height)/2?l.y-f.height-12:l.y+k.height+12);a.style.top=f+(e||0)+"px";a.style.left=c+"px"}; g.h.Fk=function(a){a&&(this.F.sf(this.l.element),this.g&&this.F.sf(this.g.ha()));g.sV.prototype.Fk.call(this,a)}; g.h.Hr=function(a){var b=g.JK(this.api).getPlayerSize();b=new g.nh(0,0,b.width,b.height);if(a||this.i.g&&!this.Fg())g.X(this.api).Hh&&(a=this.ec()?this.Qa:this.Ra,b.top+=a,b.height-=a),this.g&&(b.height-=this.g.o.ec()?72:50);return b}; g.h.KG=function(a){var b=this.api.getRootNode();a?b.parentElement?(b.setAttribute("aria-label","YouTube \ub3d9\uc601\uc0c1 \ud50c\ub808\uc774\uc5b4 \uc804\uccb4\ud654\uba74 \ubaa8\ub4dc"),g.X(this.api).externalFullscreen||(b.parentElement.insertBefore(this.ea.element,b),b.parentElement.insertBefore(this.oa.element,b.nextSibling))):g.L(Error("Player not in DOM.")):(b.setAttribute("aria-label","YouTube \ub3d9\uc601\uc0c1 \ud50c\ub808\uc774\uc5b4"),g.qD(this.ea),g.qD(this.oa));this.zi();this.Tf()}; g.h.ec=function(){return this.api.isFullscreen()||!1}; g.h.showControls=function(a){this.Sb=!a;this.Kd()}; g.h.zi=function(){var a=this.ec();this.F.A=a?1.5:1;g.I(this.R.element,"ytp-big-mode",a);this.Kd();if(this.ma)if(this.vg())this.B&&hW(this.u,this.B),this.A&&hW(this.u,this.A);else{a=this.u;for(var b=g.q(a.o),c=b.next();!c.done;c=b.next())g.qD(c.value);a.o=[];this.B&&!g.$d(this.ya.element,this.B.element)&&this.B.g(this.ya.element,0);this.A&&!g.$d(this.ya.element,this.A.element)&&this.A.g(this.ya.element,1)}this.Tf();g.sV.prototype.zi.call(this)}; g.h.Tf=function(){g.sV.prototype.Tf.call(this);var a=this.ma&&this.vg();g.aL(this.api,this.ab.element,!!this.D);this.X&&this.X.qb(!!this.D);a?this.wa&&this.wa.qb(!!this.D):(this.A&&this.A.qb(!!this.D),this.B&&this.B.qb(!!this.D));if(!this.D)for(this.F.sf(this.l.element),a=0;a=a)){a-=this.g.length;for(var b=0;b=(a||1)}; g.h.zC=function(){for(var a=this.l.length-1;0<=a;a--)bX(this,this.l[a]);this.g.length==this.i.length&&4<=this.g.length||(4>this.i.length?this.Uv(4):(this.g=[],(0,g.y)(this.i,function(b){bX(this,b)},this)))}; aX.prototype.fillPool=aX.prototype.Uv;aX.prototype.getTag=aX.prototype.AD;aX.prototype.releaseTag=aX.prototype.zM;aX.prototype.hasTags=aX.prototype.jE;aX.prototype.activateTags=aX.prototype.zC;g.t(eX,g.A);g.h=eX.prototype;g.h.uG=function(a){if(this.l==this.g.yb()){var b=this.B.get(a);jX(this,b.target,b.Ri,a)}else{b=this.i.find(function(e){return e.lg.Sc==a}); var c=b.lg,d=c.target;c=c.Ri;d?jX(this,d,c,a):Dma(this,b.td,c,a)}}; g.h.LK=function(){var a=this.F;lX(this);a&&(kX(this,a),this.g.yb().addCueRange(a.lg.Sc))}; g.h.seekTo=function(a,b,c){a=void 0===a?0:a;c=void 0===c?null:c;if(void 0===b?0:b)dX(this,a);else{b=this.g.yb();var d=b==this.u?this.D:null;oX(this,!1);this.R=a;null!=c&&this.I.start(c);b&&(this.D=d||b.getPlayerState(),eK(b),this.u=b)}}; g.h.vG=function(a){var b=this;if(g.aE(a,128)){var c=this.i.find(function(d){return kX(b,d)}); c&&(lX(this),a=new g.PC(8),c=mX(this,c)/1E3,pX(this,c,a))}}; g.h.U=function(){oX(this,!1);fL(this);g.A.prototype.U.call(this)}; var Bma=0;g.t(g.tX,g.CC);g.h=g.tX.prototype;g.h.isView=function(){return!0}; g.h.Vh=function(){return Hx(this.g.Vh(),this.i,this.A)}; g.h.ue=function(){return Hx(this.g.ue(),this.i,this.A)}; g.h.Bm=function(){return Hx(this.g.Bm(),this.i,this.A)}; g.h.getCurrentTime=function(){return this.g.getCurrentTime()-this.i}; g.h.po=function(a){this.g.po(a+this.i)}; g.h.getDuration=function(){return isFinite(this.A)&&!this.H?this.A-this.i:this.g.getDuration()-this.i}; g.h.play=function(){this.g.getCurrentTime()e?uX(this,"next_player_future"):(this.F=d,this.u=Rx(a,c,d,!0),this.A=Rx(a,e,f,!1),a=this.g.getVideoData().clientPlaybackNonce,this.i.Ma("gaplessPrep","cpn."+a),kK(this.i,this.u),UJ(this.i,xX(b,c,d,this.i.getVideoData().sa)), yX(this,2),BX(this))))}}; g.h.xi=function(a){var b=AX(this),c=(b=a==b.LA)?this.u.g:this.u.i,d=b?this.A.g:this.A.i;if(c.isActive()&&!d.isActive()){var e=this.F;a=a.oc();if(0<=Bx(a,e-.01)){yX(this,4);c.setActive(!1);this.g.Ma("sbh","1");if(this.D&&this.l.P&&(a=this.i.getCurrentTime()-10,0this.o;)c=this.g.shift(),IX(this,c,!0);GX(this)}; HX.prototype.remove=function(a,b){b=void 0===b?!1:b;var c=this.g.find(function(d){return d.key==a}); c&&(IX(this,c,b),g.eb(this.g,function(d){return d.key==a}),GX(this))}; HX.prototype.U=function(){var a=this;g.A.prototype.U.call(this);this.g.forEach(function(b){IX(a,b,!0)}); this.g=[]};g.t(JX,g.A);JX.prototype.l=function(a){this.i=a[a.length-1].intersectionRatio}; JX.prototype.U=function(){g.A.prototype.U.call(this);this.i=null;this.g&&this.g.disconnect()};g.Vna=lc(function(){var a=window.AudioContext||window.webkitAudioContext;try{return new a}catch(b){return b.name}});g.t(KX,g.W);g.h=KX.prototype;g.h.hE=function(){this.F=new g.nh(0,0,0,0);this.o=new g.nh(0,0,0,0)}; g.h.In=function(a){g.po(this.element,arguments)}; g.h.ye=function(){if(this.l){var a=this.getPlayerSize();if(!a.isEmpty()){var b=this.o;b=!g.wd(a,new g.vd(b.width,b.height));var c=RX(this);b&&(this.o.width=a.width,this.o.height=a.height);a=this.app.g;(c||b||a.ga)&&this.app.i.N("resize",this.getPlayerSize())}}}; g.h.LG=function(a,b){this.updateVideoData(b)}; g.h.iE=function(a){a.getVideoData()&&this.updateVideoData(a.getVideoData())}; g.h.updateVideoData=function(a){if(this.l){var b=this.app.g;rr&&(this.l.setAttribute("x-webkit-airplay","allow"),a.title?this.l.setAttribute("title",a.title):this.l.removeAttribute("title"));WB(a)?this.l.setAttribute("disableremoteplayback",""):this.l.removeAttribute("disableremoteplayback");this.l.setAttribute("controlslist","nodownload");b.Nn&&a.videoId&&(this.l.poster=a.Ac("default.jpg"))}b=g.cC(a,"yt:bgcolor");this.u.style.backgroundColor=b?b:"";this.P=Ry(g.cC(a,"yt:stretch"));this.T=Ry(g.cC(a, "yt:crop"),!0);g.I(this.element,"ytp-dni",a.Pb);this.ye()}; g.h.setGlobalCrop=function(a){this.I=Ry(a,!0);this.ye()}; g.h.getPlayerSize=function(){var a=this.app.g,b=this.app.P.isFullscreen();if(b&&ir())return new g.vd(window.outerWidth,window.outerHeight);if(b||a.Fl){if(window.matchMedia){a="(width: "+window.innerWidth+"px) and (height: "+window.innerHeight+"px)";this.D&&this.D.media==a||(this.D=window.matchMedia(a));var c=this.D&&this.D.matches}if(c)return new g.vd(window.innerWidth,window.innerHeight)}else{if(!isNaN(this.A.width)&&!isNaN(this.A.height))return this.A.clone();if(this.Z&&this.X&&!this.app.isWidescreen())for(a= 0;a=c,b.dis=this.u.Mj("display"));(a=a?(0,g.DJ)():null)&&(b.gpu=a);b.cgr=!0;b.debug_playbackQuality=this.P.getPlaybackQuality();b.debug_date=(new Date).toString();delete b.uga;delete b.q;(a=this.o.Uc)&&(b=TY(b,a.fb(),"fresca_"));return JSON.stringify(b,null,2)}; g.h.getPresentingPlayerType=function(){return 1==this.R?1:$X(this)?3:g.U(this).getPlayerType()}; g.h.YE=function(a){switch(a.type){case "loadedmetadata":qB("fvb","")||UB("fvb",void 0,"");rB("fvb");this.tb.start();break;case "loadstart":qB("gv","")||UB("gv",void 0,"");rB("gv");break;case "progress":case "timeupdate":!qB("l2s","")&&2<=Dx(a.target.ue())&&UB("l2s",void 0,"");break;case "playing":g.Gz&&this.tb.start();if(g.uz(this.g))a=!1;else{var b=this.o.u;a="none"==this.u.Mj("display")||0==xd(this.u.pk());var c=QX(this.D),d=this.A.getVideoData(),e=!this.ra("web_player_music_reload_hidden_killswitch")&& Fz(this.g);d=FB(d);b=!c||b||e||d||this.g.cg;a=a&&!b}a&&(this.A.Ma("hidden","1",!0),this.getVideoData().cf||(this.ra("html5_new_elem_on_hidden")?(this.getVideoData().cf=1,this.nz(null),this.A.playVideo()):PY(this,"hidden",!0)))}}; g.h.GJ=function(a,b){this.i.la("onLoadProgress",b)}; g.h.BL=function(){this.i.N("playbackstalledatstart")}; g.h.ZE=function(a,b){if(!this.ra("web_player_continuous_video_progress_killswitch")){var c=lY(this,a);b=yY(this,c.getCurrentTime(),c)}this.i.la("onVideoProgress",b)}; g.h.hJ=function(){this.i.la("onDompaused")}; g.h.JK=function(){this.P.N("progresssync")}; g.h.UE=function(a){if(1==this.getPresentingPlayerType()){g.aE(a,1)&&!g.T(a.state,64)&&nY(this).sa&&this.l.isAtLiveHead()&&1this.l.getDuration()-1?this.l.seekTo(this.Y.start/1E3,!0):this.setLoopRange(null)}; g.h.isAtLiveHead=function(a,b){b=void 0===b?!1:b;var c=g.U(this,a);if(!c)return!1;var d=kY(this,c);c=lY(this,c);return d==c||this.ra("html5_continuous_liveness_killswitch")?d.isAtLiveHead(void 0,b):d.isAtLiveHead(yY(this,c.getCurrentTime(),c),!0)}; g.h.seekTo=function(a,b,c,d){b=0!=b;if(d=g.U(this,d))2==this.R&&rY(this),wM(this,d)?this.na.seekTo(a,b,c):d.seekTo(a,b,c)}; g.h.seekBy=function(a,b,c,d){this.seekTo(this.getCurrentTime()+a,b,c,d)}; g.h.XE=function(){this.i.la("SEEK_COMPLETE")}; g.h.jL=function(a,b){var c=a.getVideoData();if(1==this.R||2==this.R)c.startSeconds=b;2==this.R?rY(this):this.i.la("SEEK_TO",b)}; g.h.mI=function(){this.i.N("airplayactivechange")}; g.h.nI=function(){this.i.N("airplayavailabilitychange")}; g.h.GI=function(){this.i.N("beginseeking")}; g.h.kJ=function(){this.i.N("endseeking")}; g.h.getStoryboardFormat=function(a){return(a=g.U(this,a))?kY(this,a).getVideoData().getStoryboardFormat():null}; g.h.de=function(a){return(a=g.U(this,a))?kY(this,a).getVideoData().de():null}; g.h.enqueueVideoByPlayerVars=function(a,b,c,d){c=void 0===c?Infinity:c;d=void 0===d?"":d;wM(this);a=new g.zB(this.g,a);d&&(a.hc=d);c=void 0===c?Infinity:c;b=b||this.A.getPlayerType();var e;g.O(this.g.experiments,"html5_gapless_preloading")&&(e=vY(this,b,a,!0));e||(e=eY(this,b),zJ(e,a,(0,g.x)(this.pd,this)));iX(this,e,c)}; g.h.clearQueue=function(){this.Ea.clearQueue()}; g.h.loadVideoByPlayerVars=function(a,b,c,d){this.g.Kb&&uA(a);var e=new g.zB(this.g,a);c||(a&&xE(a)?(Cz(this.g)&&!this.M&&(a.fetch=0),pY(this,a)):this.B&&pY(this,null),a&&(this.M=Q(!1,a.external_list)),Cz(this.g)&&!this.M&&qY(this));return rX(this,e,b,d)}; g.h.preloadVideoByPlayerVars=function(a,b,c,d,e,f){b=void 0===b?1:b;c=void 0===c?NaN:c;d=void 0===d?"":d;e=void 0===e?"":e;f=void 0===f?!1:f;var k=b+"_"+(a.docid||a.video_id||a.videoId||a.id||null)+"_"+e,l;if(!(l=this.Ya.get(k))&&(l=this.A)){l=this.A.getPlayerType();var m=this.A.getVideoData().videoId,n=this.A.getVideoData().hc;l=k==l+"_"+m+"_"+n}l||(this.g.Kb&&uA(a),a=new g.zB(this.g,a),e&&(a.hc=e),f&&(a.ie=!0),e=b+"_"+a.videoId+"_"+a.hc,a.Ci=!0,f=eY(this,b),zJ(f,a,(0,g.x)(this.pd,this)),!g.O(this.g.experiments, "unplugged_tvhtml5_video_preload_no_dryrun")&&1==b&&"TVHTML5_UNPLUGGED"==this.g.deviceParams.c||EJ(f,!0),this.Ya.set(e,f,c||3600),c="prefetch_"+a.videoId,jB("prefetch",["pfp"],c),oE("docid",a.videoId,c),oE("plt",b,c),oE("c",this.g.deviceParams.c,c),oE("cver",this.g.deviceParams.cver,c),d&&oE("pftr",d,c))}; g.h.setMinimized=function(a){this.F.setMinimized(a);a=this.o;(a=g.X(a.g).showMiniplayerUiWhenMinimized?a.Y:null)&&(this.F.g?a.load():a.unload());this.i.N("minimized")}; g.h.setInline=function(a){this.F.setInline(a)}; g.h.gL=function(){"picture-in-picture"==this.u.ha().webkitPresentationMode?XI(this.F,!0):XI(this.F,!1)}; g.h.togglePictureInPicture=function(){var a=g.U(this);a&&a.togglePictureInPicture()}; g.h.cueVideoByPlayerVars=function(a,b){this.g.Kb&&uA(a);if(a&&xE(a)){this.xa=!0;pY(this,a);var c=this.B.ua();if(c&&c.isValid())HY(this,c,b);else this.B.onReady((0,g.x)(this.On,this))}else b||(b=this.getPresentingPlayerType()),1==b&&this.Zl(),HY(this,new g.zB(this.g,a),b)}; g.h.cuePlaylist=function(a,b,c,d){this.xa=!0;a=zC(a,b,c,d);pY(this,a);this.B.onReady((0,g.x)(this.On,this))}; g.h.loadPlaylist=function(a,b,c,d){this.xa=!1;a=zC(a,b,c,d);pY(this,a);this.B.onReady((0,g.x)(this.On,this))}; g.h.On=function(){var a=this.B.ua();if(a){var b=this.getVideoData();b.rh||!this.xa?(b=b.tg,a=rX(this,a),b&&GY(this,a)):HY(this,a)}this.i.la("onPlaylistUpdate")}; g.h.nextVideo=function(a,b){var c=this,d=this.l.getVideoData().suggestions;if(g.YK(this.i)&&d){d=(0,g.ge)(d,function(f){return g.DS(c.g,f)}); d=d[0];var e=b?d.Pv:d.Cb;g.IY(this,d.ua().videoId,e,d.getPlaylistId(),b)}else this.M?this.i.la("onPlaylistNext"):3==this.getPresentingPlayerType()?g.KK(this.o).nextVideo():this.B&&(Cz(this.g)&&!this.i.isFullscreen()?DY(this,"yt.www.watch.lists.next"):(this.B.hasNext(a)&&AE(this.B,yE(this.B)),this.B.dd?(d=b&&g.O(this.g.experiments,"html5_player_autonav_logging"),rX(this,this.B.ua(void 0,b,d),1)):this.xa=!1))}; g.h.previousVideo=function(a){this.M?this.i.la("onPlaylistPrevious"):3==this.getPresentingPlayerType()?g.KK(this.o).Xn():this.B&&(Cz(this.g)&&!this.i.isFullscreen()?DY(this,"yt.www.watch.lists.prev"):(this.B.Oe(a)&&AE(this.B,zE(this.B)),this.B.dd?rX(this,this.B.ua(),1):this.xa=!1))}; g.h.playVideoAt=function(a){this.M?this.i.la("onPlaylistIndex",a):this.B&&(this.B.dd?rX(this,this.B.ua(a),1):this.xa=!1,AE(this.B,a))}; g.h.getPlaylist=function(){return this.B}; g.h.tI=function(a){this.i.la("onCueRangeEnter",a.getId())}; g.h.uI=function(a){this.i.la("onCueRangeExit",a.getId())}; g.h.yI=function(){this.getPresentingPlayerType();this.wa||(this.wa=XA(this.cz,this));pE(this.ea,this.A.getVideoData(),PP(this));oY(this)&&this.g.i&&"embedded"==g.pC(nY(this))&&this.Qc&&.01>Math.random()&&CD(this.ma,"autoplayTriggered",{intentional:this.jd});this.Qc=!1;var a=g.Ct(this.zd||(this.F.g?3:0));if(a){var b={cpn:this.getVideoData().clientPlaybackNonce,csn:a};if(g.O(this.g.experiments,"web_playback_associated_ve")&&null!=this.getVideoData().Gf){var c=g.it(this.getVideoData().Gf);g.mt(a,c); b.playbackVe=g.jt(c)}CD(this.ma,"playbackAssociated",b)}this.ra("web_player_inline_botguard")&&(a=this.getVideoData().botguardData)&&(Wp("BG_I",a.interpreterScript),Wp("BG_IU",a.interpreterUrl),Wp("BG_P",a.program),Qt(this.g.jb))}; g.h.wJ=function(){this.P.N("internalAbandon");this.ra("html5_ad_module_cleanup_killswitch")||AY(this)}; g.h.cz=function(a){a=a.g;if(!isNaN(a)&&0window.outerHeight*window.outerWidth/(window.screen.width*window.screen.height)&&this.u.Cj()}; g.h.FJ=function(a){3!=this.getPresentingPlayerType()&&this.i.N("liveviewshift",a)}; g.h.playVideo=function(a){if(a=g.U(this,a))2==this.R?rY(this):g.O(this.g.experiments,"html5_restore_userreload_killswitch")&&a.getPlayerState().isError()?PY(this,"user"):(null!=this.aa&&this.aa.Fa()&&this.aa.start(),g.T(a.getPlayerState(),2)?this.seekTo(0):a.playVideo())}; g.h.pauseVideo=function(a){(a=g.U(this,a))&&a.pauseVideo()}; g.h.stopVideo=function(){var a=this.l.getVideoData(),b=new g.zB(this.g,{video_id:a.Nt||a.videoId,oauth_token:a.oauthToken});g.O(this.g.experiments,"html5_stopVideo_copy_thumbs_killswitch")||(b.ff=g.bc(a.ff));this.ra("web_player_stop_video_cancel_presenting_killswitch")||FY(this,6);HY(this,b,1);null!=this.aa&&this.aa.stop()}; g.h.sendVideoStatsEngageEvent=function(a,b,c){(b=g.U(this,b))&&this.g.hf.has(a.toString())?b.sendVideoStatsEngageEvent(a,c):c&&c()}; g.h.updatePlaylist=function(){qY(this);this.i.la("onPlaylistUpdate")}; g.h.setSizeStyle=function(a,b){this.Ad=a;this.Xb=b;this.i.N("sizestylechange",a,b);this.D.ye()}; g.h.isWidescreen=function(){return this.Xb}; g.h.isInline=function(){return this.F.isInline()}; g.h.getAdState=function(){if(!this.ra("web_player_mdx_ad_killswitch")&&3==this.getPresentingPlayerType())return g.KK(this.o).getAdState();if(!wM(this)){var a=this.o.o;if(a)return a.getAdState()}return-1}; g.h.YK=function(a){var b=this.D.getVideoContentRect();g.ph(this.kd,b)||(this.kd=b,this.A&&$J(this.A),this.l&&this.l!=this.A&&$J(this.l),1==this.F.l&&this.Ra&&NY(this,!0));this.Wb&&g.wd(this.Wb,a)||(this.i.N("appresize",a),this.Wb=a)}; g.h.fc=function(){return this.P.fc()}; g.h.sL=function(){this.getPresentingPlayerType();PY(this,"signature",void 0,!0)}; g.h.nz=function(){dY(this);cY(this)}; g.h.WK=function(a){kK(a,this.u.pn())}; g.h.ZI=function(){this.i.la("CONNECTION_ISSUE")}; g.h.VE=function(a){this.i.N("heartbeatparams",a)}; g.h.setBlackout=function(a){this.g.cg=a;this.A&&(g.wI(this.A.u),this.g.M&&RY(this))}; g.h.nK=function(){var a=g.U(this);a&&g.xK(a,!this.i.dk())}; g.h.IJ=function(){this.i.la("onLoadedMetadata")}; g.h.iJ=function(){this.i.la("onDrmOutputRestricted")}; g.h.U=function(){this.o.dispose();this.na.dispose();this.l.dispose();dY(this);g.rf(g.Qb(this.uc),this.B);WA(this.wa);this.wa=0;g.A.prototype.U.call(this)}; g.h.ra=function(a){return g.O(this.g.experiments,a)}; g.h.setScreenLayer=function(a){this.zd=a}; var g_={};g.Ga("yt.player.Application.create",function(a,b){try{var c=g.Da(a)?a:"player"+g.Pa(a),d=g_[c];if(d){try{d.dispose()}catch(f){g.L(f)}g_[c]=null}var e=new YX(a,b);g.pf(e,function(){g_[c]=null}); return g_[c]=e}catch(f){throw g.L(f),f.stack;}},void 0); var h_=g.w("ytcsi.tick");h_&&h_("pe");})(_yt_player);