var _yt_player={};(function(g){var window=this;var ba,da,la,ma,na,pa,oa,ra,sa,ta,ua,baa,caa,va,wa,daa,eaa,xa,ya,za,Fa,gaa,haa,Pa,Qa,iaa,jaa,kaa,Wa,$a,fb,jb,kb,nb,sb,pb,laa,qb,maa,naa,oaa,yb,Fb,Gb,Ib,Lb,Qb,Tb,Xb,Zb,$b,fc,gc,mc,nc,pc,oc,sc,uc,qaa,raa,vc,zc,Ac,Cc,uaa,Ec,Fc,Gc,Hc,Ic,waa,Jc,Nc,yaa,Pc,zaa,Aaa,Sc,Tc,Vc,Xc,Zc,$c,Iaa,bd,ad,dd,ed,jd,hd,ld,md,nd,od,Jaa,Maa,Naa,sd,ud,zd,Oaa,yd,Bd,Cd,Hd,Ld,Md,Pd,Sd,Wd,Uaa,be,ee,ce,ge,he,je,ae,ne,pe,se,ue,te,Ud,xe,ze,Ce,Ae,Be,Waa,De,Td,Ge,Ie,Oe,Ne,Je,Se,Ue,Re,Ve,We,Xe,Ye,Ze,$e,af,bf,jf,ef,ff,kf,Zaa,hf,lf,$aa,
mf,pf,of,qf,rf,sf,tf,uf,vf,wf,xf,yf,zf,Af,Bf,nf,Cf,Df,eba,Jf,Lf,Mf,gba,Pf,Qf,Rf,Tf,Xf,hba,Uf,$f,hg,gg,jba,Wf,kg,lg,mg,ng,pg,lba,qg,rg,mba,wg,yg,zg,Cg,Eg,Fg,Gg,Ig,nba,pba,qba,Ng,Kg,Lg,Ag,Hg,sba,Qg,Og,Pg,Sg,rba,Rg,oba,tba,Xg,uba,vba,wba,xba,yba,Zg,ah,ch,dh,jh,kh,lh,mh,nh,oh,qh,sh,uh,wh,Cba,xh,yh,Ah,Bh,Dba,Gh,Hh,Ih,Jh,Mh,Nh,Oh,Sh,Th,Xh,Yh,Zh,ai,ci,bi,di,Vh,Eba,oi,mi,ni,qi,ri,si,Fba,Gba,ti,ui,vi,xi,wi,yi,zi,Jba,Lba,Mba,Nba,Pba,Bi,Ci,Di,Ei,Fi,Gi,Ki,Mi,Ni,Oi,Sba,Pi,Qi,Ri,Si,Ti,Tba,Wi,Xi,Yi,Zi,Uba,Vba,$i,
ej,fj,gj,hj,ij,jj,kj,nj,lj,Yba,mj,oj,pj,rj,qj,sj,tj,Zba,uj,vj,$ba,aca,yj,bca,Aj,Bj,zj,Cj,Dj,Ej,Fj,Hj,pca,Ij,Jj,Kj,Lj,Mj,Nj,Pj,Rj,Uj,Vj,Wj,Xj,ak,bk,ck,qca,ek,fk,gk,hk,ik,jk,kk,lk,rca,sca,mk,nk,ok,pk,tca,qk,rk,tk,sk,vca,wca,uk,vk,wk,xca,yk,zk,Ak,Bk,Ck,Dk,Ek,Fk,Hk,Ik,Jk,yca,Kk,Gk,Lk,Mk,Nk,Ok,zca,Aca,Pk,Qk,Bca,Rk,Sk,Cca,Uk,Dca,Vk,Wk,Xk,Yk,Zk,$k,al,bl,Eca,cl,Fca,dl,el,gl,il,jl,kl,ll,ml,fl,hl,Hca,nl,ql,rl,Mca,tl,ul,Lca,Nca,vl,wl,Oca,Pca,sl,xl,Qca,Rca,yl,Al,Sca,Cl,Tca,Dl,Gl,Hl,Uca,Il,Vca,Jl,Kl,Ll,Wca,Ml,
Nl,Ol,Xca,Pl,Ql,Rl,Yca,Tl,Sl,Zca,Vl,Ul,Yl,Xl,$ca,dda,cda,$l,eda,fda,gda,ida,hda,am,jda,cm,dm,kda,lda,em,fm,gm,hm,mda,im,oda,jm,qda,lm,mm,nm,pm,sda,qm,rda,tda,uda,rm,sm,vda,wda,um,wm,xm,ym,vm,Bm,Cm,zm,Dm,Em,yda,Fm,Gm,Hm,Im,zda,Jm,Km,Ada,Mm,Lm,Nm,Bda,Om,Pm,Dda,Eda,Tm,Um,Vm,Qm,Wm,Xm,Fda,Cda,Gda,Ida,Hda,Jda,$m,Ym,Kda,Mda,Nda,bn,cn,dn,fn,Sda,Oda,kn,ln,mn,nn,on,Tda,pn,qn,rn,Uda,Vda,Wda,Xda,Yda,sn,aea,un,tn,vn,wn,xn,bea,yn,cea,dea,zn,Dn,En,Cn,Fn,Gn,eea,Mn,Nn,Pn,hea,Sn,Un,Wn,Vn,fea,Zn,Yn,bo,ao,eo,iea,ho,
io,jo,ko,lo,kea,lea,no,mea,oo,po,Q,mo,nea,qo,ro,so,to,uo,oea,qea,yo,zo,rea,sea,vo,pea,wo,Bo,Co,Ao,uea,Eo,Do,wea,Go,Fo,Ho,Io,Ko,Lo,Jo,No,zea,Oo,Qo,Ro,So,To,Po,Uo,Vo,Wo,Xo,Yo,ap,bp,ep,hp,cp,jp,lp,mp,np,op,pp,qp,rp,sp,tp,vp,xp,wp,yp,zp,Ap,Bea,Bp,Cp,Dp,Ep,Gp,Hp,Ip,Jp,Cea,Dea,Kp,Lp,Op,Rp,Qp,Iea,Tp,Np,Up,Jea,Wp,Vp,Kea,Xp,Zp,Lea,aq,$p,cq,dq,eq,Mea,fq,gq,hq,iq,jq,kq,nq,oq,pq,qq,rq,sq,R,vq,yq,zq,Nea,Aq,S,Eq,Gq,Sea,Iq,Oq,Pq,Qq,Sq,Dq,Nq,Lq,$ea,afa,bfa,cfa,Tq,Uq,Vq,Wq,Yq,Zq,Xq,dfa,br,cr,dr,er,efa,fr,gr,hr,ir,
kr,jr,mr,nr,ffa,gfa,or,rr,pr,qr,sr,ur,hfa,ifa,vr,wr,jfa,xr,yr,Dr,Er,lfa,Gr,Hr,Ir,Jr,nfa,Kr,Lr,Sr,Tr,Mr,Ur,Vr,rfa,Nr,qfa,Or,Pr,Qr,Rr,pfa,cs,ds,es,is,ufa,vfa,js,xfa,yfa,ls,Bfa,ns,wfa,os,ps,qs,rs,Cfa,ts,us,vs,Dfa,xs,ys,zs,As,Efa,Cs,Bs,Ffa,ws,Ds,Pp,Es,Fs,Gfa,Hfa,Gs,Ifa,Js,Ns,Qs,Rs,ar,$q,Jfa,Kfa,Lfa,Mfa,Ss,Ts,Us,Vs,Ws,Nfa,Ofa,Pfa,Qfa,Rfa,Sfa,Tfa,Xs,at,Zs,bt,Ys,ct,Ufa,Vfa,Wfa,Xfa,dt,Zfa,ft,it,aga,lt,nt,kt,ot,pt,qt,rt,tt,ut,vt,wt,xt,zt,Ct,ega,Bt,At,Dt,Et,Ft,Gt,It,$r,fga,Qt,Rt,St,Tt,Jt,kga,Ut,Vt,Wt,Xt,bs,
$t,bu,Xr,cu,du,eu,Zr,Yr,au,fu,gu,hu,iu,ju,ku,lu,nga,oga,mga,pga,Zt,qga,tu,rga,uu,Ht,vu,wu,xu,sga,yu,tga,Nt,Yt,ru,zu,Au,Bu,qu,as,Mt,Du,Pt,Eu,Fu,Kt,Ot,pu,lga,Gu,Hu,Iu,vga,Ju,wga,Ku,Pu,Qu,Ru,Bga,Su,Tu,Uu,Vu,Wu,Xu,Yu,$u,av,bv,Zu,cv,dv,ev,fv,gv,hv,jv,Ega,Gga,Iga,iv,Jga,Kga,Lga,lv,kv,mv,nv,pv,qv,wv,vv,xv,yv,Mga,Dv,Ev,Gv,Fv,Hv,Iv,Jv,Kv,Lv,Nga,Mv,Oga,Nv,Ov,Pv,Qv,Sv,Tv,Pga,Rv,Uv,Qga,Vv,Xv,Rga,Yv,Zv,$v,aw,bw,cw,Sga,ew,fw,Tga,hw,iw,Uga,mw,nw,ow,pw,qw,rw,tw,Vga,uw,vw,ww,yw,xw,Wga,zw,Aw,Bw,Cw,Xga,Dw,Ew,Zga,Yga,
Fw,Gw,Hw,Iw,Jw,Kw,Lw,Mw,Nw,Ow,Pw,Qw,Rw,Sw,Tw,Uw,et,Vw,$ga,Xw,Yw,Zw,$w,ax,Ww,bx,cx,dx,nu,Hs,Ps,mu,ou,jx,gt,Os,ix,Ls,Is,Ks,Ms,lx,ht,hx,ox,px,rx,aha,sx,tx,ux,vx,wx,xx,yx,zx,Ax,Bx,Cx,Dx,Ex,Fx,Gx,bha,Hx,Ix,Jx,Kx,Lx,Mx,cha,Nx,Ox,Px,Qx,Rx,Sx,Ux,Vx,eha,Wx,fha,dha,hha,Xx,iha,Zx,Tx,gha,mha,lha,kha,Yx,$x,ay,by,dy,ey,fy,gy,hy,iy,jy,ky,ly,my,oy,py,ry,qy,ty,nha,oha,wy,uy,By,vy,Cy,Ay,qha,rha,Ey,Fy,Ly,sha,Gy,tha,Hy,Ky,Jy,Iy,Oy,Py,Ny,Qy,wha,Ry,Sy,xha,yha,Ty,Uy,Vy,Xy,zha,Wy,$y,Yy,Aha,Bha,Cha,az,bz,cz,dz,ez,fz,gz,hz,
iz,jz,kz,lz,mz,nz,oz,Gha,Fha,qz,pz,Hha,tz,Iha,uz,vz,Jha,wz,Eha,xz,Az,Lha,Kha,Bz,zz,Ez,Nha,Fz,Oha,Gz,Cz,Hz,Iz,Jz,Qha,Rha,Kz,Lz,Sha,Mz,Nz,Oz,sz,Tha,Pz,Qz,rz,Uha,Rz,Sz,Tz,Uz,Vha,Vz,Wz,Xz,Zz,$z,Yz,Zha,Wha,Xha,bA,eA,fA,dA,cA,aA,gA,iA,jA,lA,nA,kA,oA,pA,bia,rA,qA,sA,cia,dia,tA,uA,vA,wA,xA,yA,zA,AA,fia,BA,hia,HA,CA,DA,EA,OA,IA,KA,JA,RA,MA,LA,PA,NA,jia,GA,FA,SA,kia,TA,gia,UA,VA,WA,mia,XA,$A,aB,cB,bB,dB,eB,fB,oia,nia,pia,hB,qia,ria,iB,jB,gB,sia,kB,lB,tia,mB,uia,via,wia,xia,nB,oB,pB,rB,sB,tB,qB,vB,yia,zia,uB,
wB,xB,yB,zB,AB,Aia,BB,EB,GB,FB,HB,IB,JB,KB,MB,LB,OB,NB,PB,Dia,TB,UB,VB,WB,XB,YB,ZB,$B,aC,bC,cC,eC,fC,dC,gC,hC,iC,Eia,jC,Fia,mC,nC,kC,lC,pC,tC,qC,rC,oC,sC,Gia,uC,vC,wC,xC,zC,yC,Hia,BC,AC,Jia,Kia,Iia,CC,Lia,Mia,Nia,Oia,DC,Qia,Ria,Sia,ks,Tia,Uia,GC,Wia,HC,IC,JC,KC,LC,MC,NC,OC,QC,RC,SC,YC,XC,bD,cD,VC,dD,eD,fD,gD,UC,WC,ZC,iD,cja,jD,dja,kD,lD,mD,nD,oD,pD,eja,qD,fja,gja,rD,hja,ija,sD,tD,jja,lja,mja,uD,nja,wD,yD,rja,vD,sja,zD,Via,AD,uja,vja,BD,wja,xja,DD,GD,yja,ID,HD,JD,zja,iia,KD,LD,OD,PD,QD,RD,SD,Bja,TD,
UD,VD,WD,MD,Dja,Eja,ZD,Fja,$D,aE,bE,YD,cE,XD,dE,Gja,QA,Ija,mA,Hja,eE,fE,gE,hE,iE,Jja,Kja,nE,oE,pE,qE,Lja,tE,uE,vE,wE,yE,zE,AE,BE,CE,EE,FE,IE,Nja,JE,LE,NE,PE,OE,QE,KE,ME,TE,SE,UE,VE,Pja,XE,ZE,aF,eF,cF,sF,rF,Sja,Tja,uF,vF,wF,xF,yF,AF,CF,EF,HF,IF,LF,KF,Uja,NF,Vja,Wja,Yja,RF,Zja,SF,TF,$ja,XF,aka,bka,VF,ZF,bG,dG,eG,fG,hG,iG,jG,lG,mG,aG,nG,$F,qG,rG,oG,cka,uG,tG,wG,xG,yG,AG,zG,eka,DG,EG,FG,GG,IG,JG,KG,NG,OG,fka,LG,MG,PG,QG,RG,SG,hka,ika,ZG,$G,aH,fH,iH,kH,nH,oH,rH,pH,tH,sH,uH,jka,xH,DH,CH,EH,kka,oka,pka,
OH,MH,RH,UH,TH,SH,WH,qka,aI,cI,dI,ska,kI,jI,tka,oI,pI,rI,sI,tI,xI,uka,FI,HI,II,JI,KI,LI,MI,NI,OI,PI,QI,RI,SI,UI,TI,vka,VI,WI,XI,YI,xka,$I,cJ,yka,ZI,gJ,hJ,eJ,bJ,iJ,jJ,dJ,fJ,kJ,lJ,wka,mJ,nJ,oJ,tJ,vJ,zka,qJ,wJ,yJ,BJ,xJ,uJ,CJ,Aka,DJ,EJ,pJ,rJ,sJ,AJ,zJ,GJ,HJ,JJ,IJ,Bka,KJ,LJ,MJ,Cka,OJ,NJ,QJ,RJ,SJ,TJ,UJ,VJ,WJ,YJ,ZJ,$J,aK,bK,cK,dK,Dka,Eka,fK,gK,hK,iK,jK,kK,lK,oK,pK,qK,sK,vK,wK,xK,zK,uK,Nka,AK,BK,CK,DK,Oka,Pka,EK,Qka,GK,FK,IK,KK,LK,MK,NK,PK,Rka,QK,Ska,RK,UK,VK,WK,SK,ZK,PJ,$K,aL,bL,cL,dL,YK,eL,fL,gL,hL,iL,jL,
kL,lL,nL,oL,mL,pL,qL,Uka,rL,sL,tL,uL,vL,Vka,Wka,$ka,ala,Xka,Yka,Zka,wL,xL,bla,zL,BL,CL,DL,dla,EL,GL,HL,ela,fla,gla,IL,KL,kla,jla,ila,LL,hla,ML,RL,mla,nla,SL,ola,TL,pla,UL,VL,qla,WL,XL,rla,sla,tla,YL,PL,ula,ZL,$L,bM,cM,dM,eM,fM,vla,gM,hM,iM,jM,kM,lM,mM,nM,oM,pM,qM,rM,sM,tM,uM,wla,wM,vM,xM,yM,zM,AM,BM,xla,OM,CM,NM,yla,RM,SM,TM,UM,VM,WM,YM,ZM,aN,bN,Ala,cN,dN,eN,gN,hN,fN,iN,jN,kN,lN,Bla,Cla,mN,oN,nN,pN,Dla,rN,sN,tN,uN,vN,wN,qN,xN,yN,zN,AN,BN,CN,DN,FN,GN,HN,cO,dO,eO,fO,gO,Jla,hO,iO,SN,ZN,YN,bO,lO,oO,PN,
ON,NN,Kla,qO,XN,Mla,Nla,Ola,rO,tO,uO,vO,wO,sO,xO,AO,BO,Pla,DO,CO,EO,Qla,IO,Rla,Sla,HO,GO,FO,JO,Tla,LO,Ula,Wla,Vla,Xla,MO,Yla,PO,OO,NO,QO,Zla,RO,ama,SO,$la,UO,cma,VO,dma,ema,fma,gma,hma,jma,bma,WO,kma,XO,lma,YO,aP,nma,pma,oma,cP,qma,bP,dP,eP,sma,fP,gP,tma,wma,xma,kP,hP,yma,zma,mP,nP,Dma,rP,uP,Jma,Fma,wP,xP,vP,Oma,Hma,Sma,Ema,qP,tP,Ima,oP,Ama,Pma,Cma,Tma,pP,yP,Vma,$ma,CP,GP,DP,ana,HP,bna,cna,dna,IP,JP,ena,KP,FP,hna,jna,kna,lna,OP,mna,QP,EP,nna,pna,qna,rna,sna,tna,una,vna,wna,xna,zna,Ana,Bna,Dna,Ena,
VP,Fna,gna,Gna,WP,XP,YP,ZP,$P,aQ,BP,MP,RP,SP,Yma,Wma,bQ,Jna,Kna,dQ,Lna,eQ,fQ,hQ,iQ,rQ,pQ,sQ,qQ,tQ,uQ,Nna,Ona,Pna,Rna,Sna,Tna,Una,Vna,Wna,Xna,Yna,Zna,aoa,xQ,doa,eoa,BQ,foa,CQ,goa,hoa,DQ,EQ,FQ,ioa,GQ,joa,IQ,JQ,KQ,LQ,MQ,OQ,QQ,SQ,UQ,WQ,koa,XQ,loa,noa,YQ,VQ,ZQ,$Q,ooa,bR,aR,dR,eR,fR,poa,qoa,soa,toa,roa,gR,hR,uoa,iR,jR,voa,xoa,yoa,rR,Boa,Coa,sR,zoa,Aoa,pR,tR,vR,yR,Doa,Eoa,zR,BR,CR,Foa,DR,ER,FR,Goa,Hoa,GR,AR,Ioa,Loa,Joa,Koa,Moa,Noa,Ooa,HR,Qoa,Poa,Roa,Soa,Toa,Uoa,Voa,Woa,Xoa,Yoa,Zoa,$oa,IR,bpa,LR,NR,JR,OR,
cpa,PR,apa,dpa,KR,MR,fpa,hpa,SR,gpa,ipa,UR,QR,TR,RR,jpa,VR,kpa,WR,YR,ZR,aS,lpa,$R,mpa,cS,bS,npa,opa,dS,eS,ppa,qpa,rpa,spa,fS,gS,upa,xpa,ypa,iS,zpa,kS,jS,lS,Apa,tpa,wpa,hS,vpa,nS,Cpa,Dpa,oS,Fpa,pS,Epa,Gpa,qS,sS,tS,vS,Kpa,rS,Ipa,Hpa,Jpa,Lpa,wS,xS,Mpa,uS,Npa,Opa,Ppa,yS,Qpa,AS,Rpa,Spa,zS,BS,CS,Tpa,Upa,Wpa,HS,IS,JS,Vpa,DS,Xpa,ES,FS,Ypa,GS,Zpa,$pa,KS,aqa,bqa,cqa,fqa,eqa,dqa,MS,LS,gqa,iqa,jqa,kqa,hqa,lqa,mqa,NS,OS,nqa,oqa,pqa,sqa,rqa,qqa,PS,QS,RS,tqa,TS,US,WS,wqa,xqa,YS,yqa,Aqa,zqa,Bqa,Eqa,Dqa,Fqa,Iqa,Hqa,
Jqa,Cqa,$S,Gqa,Kqa,Lqa,VS,vqa,Mqa,aT,ZS,SS,Nqa,Oqa,Pqa,bT,cT,Qqa,dT,Rqa,Sqa,Uqa,Tqa,eT,fT,gT,Wqa,Vqa,Xqa,Yqa,hT,jT,Zqa,ara,bra,cra,kT,era,iT,fra,gra,hra,ira,jra,kra,mra,lra,lT,mT,nT,oT,ora,qra,pra,qT,rT,pT,rra,sra,tra,sT,vra,ura,wra,xra,Bra,yra,zra,Cra,Dra,Ara,uT,Era,Fra,Hra,Ira,yT,xT,Jra,Kra,wT,vT,Gra,AT,Nra,DT,FT,GT,ET,HT,Mra,Pra,Qra,Rra,CT,zT,BT,Ora,Sra,Lra,Tra,Vra,Wra,Ura,IT,Xra,JT,KT,LT,MT,NT,OT,QT,RT,XT,csa,TT,ZT,aU,dU,bU,dsa,eU,hU,gU,PT,bsa,lU,esa,gsa,iU,pU,rU,isa,qU,jsa,mU,uU,wU,vU,xU,Yra,
UT,sU,AU,osa,CU,nsa,psa,qsa,DU,rsa,ssa,BU,usa,tsa,lsa,msa,FU,VT,hsa,wsa,vsa,EU,WT,HU,fU,ST,IU,zU,ysa,JU,zsa,GU,jU,Asa,tU,ksa,MU,RU,fV,Hsa,Isa,mV,Jsa,nV,oV,pV,qV,rV,Ksa,Lsa,Msa,uV,Osa,Psa,Qsa,Rsa,Ssa,Tsa,Usa,xV,Wsa,Vsa,AV,zV,Xsa,BV,Ysa,Zsa,ata,bta,dta,eta,fta,gta,hta,ita,jta,kta,mta,nta,ota,pta,qta,sta,tta,uta,vta,IV,wta,xta,KV,NV,OV,PV,QV,RV,yta,TV,SV,UV,VV,Ata,WV,YV,Bta,$V,aW,bW,cW,dW,eW,Cta,Dta,fW,Fta,gW,Hta,Gta,hW,Ita,Jta,iW,Lta,jW,lW,kW,mW,Mta,Nta,oW,nW,qW,rW,Ota,Pta,sW,tW,uW,vW,wW,Qta,xW,yW,
Rta,zW,AW,BW,CW,Sta,Vta,DW,Tta,Uta,EW,Xta,Yta,Zta,GW,cua,bua,dua,eua,fua,IW,gua,jua,hua,lua,OW,mua,PW,LW,oua,RW,NW,QW,iua,nua,pua,kua,UW,VW,qua,bX,cX,rua,fX,eX,sua,iX,tua,jX,kX,lX,nX,mX,oX,pX,uua,qX,vua,xua,wua,rX,sX,tX,vX,yua,wX,xX,yX,zX,zua,CX,DX,EX,Aua,HX,GX,IX,JX,KX,Bua,Cua,LX,MX,Eua,Dua,NX,OX,PX,Fua,Hua,Gua,Iua,Jua,Lua,Kua,TX,UX,Nua,Oua,VX,Pua,WX,XX,Qua,$ua,Yua,Zua,Tua,Wua,Xua,Sua,Rua,Uua,ava,bva,$X,Vua,bY,cY,dY,cva,dva,eva,gva,fva,iY,kY,hva,lY,iva,mva,nva,mY,nY,ova,pva,pY,sva,oY,qY,rva,rY,qva,
tva,sY,vva,uva,wva,tY,xva,vY,uY,wY,yY,AY,CY,DY,yva,zva,Ava,Bva,EY,FY,GY,HY,IY,JY,KY,Cva,Dva,LY,MY,Eva,NY,OY,PY,Fva,Gva,Kva,Iva,Hva,RY,Jva,SY,Mva,Lva,TY,Nva,UY,VY,Ova,Pva,Qva,ZY,$Y,aZ,Rva,bZ,dZ,Sva,WY,cZ,YY,XY,iZ,jZ,Tva,fZ,Uva,hZ,Vva,Wva,Xva,Zva,Yva,cwa,bwa,kZ,lZ,dwa,ewa,mZ,nZ,oZ,fwa,pZ,rZ,qZ,sZ,hwa,gwa,iwa,jwa,kwa,lwa,uZ,vZ,wZ,mwa,nwa,xZ,pwa,yZ,owa,zZ,qwa,AZ,BZ,rwa,swa,uwa,twa,vwa,CZ,DZ,wwa,xwa,ywa,Awa,FZ,GZ,HZ,EZ,zwa,IZ,tZ,eZ,Cwa,JZ,KZ,MZ,ZX,YX,gZ,OZ,PZ,Dwa,QZ,RZ,Ewa,aY,Fwa,TZ,SZ,BY,UZ,LZ,hY,Hwa,
Jwa,Iwa,VZ,Lwa,Mwa,Nwa,XZ,YZ,Qna,Pwa,Qwa,a_,Rwa,$Z,c_,b_,d_,Swa,e_,f_,g_,h_,i_,Uwa,Twa,j_,Vwa,Wwa,k_,l_,Xwa,m_,Ywa,Zwa,n_,o_,$wa,p_,bxa,q_,r_,cxa,s_,t_,u_,dxa,exa,v_,w_,x_,fxa,gxa,ixa,hxa,z_,jxa,kxa,A_,B_,C_,pW,nxa,mxa,E_,oxa,FW,pxa,rxa,sxa,qxa,G_,uxa,txa,vxa,F_,H_,wxa,I_,J_,L_,yxa,M_,N_,Bxa,Dxa,O_,Exa,Fxa,zxa,T_,Gxa,Q_,P_,Hxa,V_,Kxa,Lxa,Jxa,W_,X_,Ixa,Mxa,Z_,Oxa,Y_,b0,$_,c0,a0,d0,Qxa,f0,Rxa,Sxa,zY,Txa,Uxa,h0,j0,g0,Vxa,Wxa,Fsa,Yxa,k0,l0,m0,Zxa,n0,aya,$xa,hya,q0,r0,jV,t0,iya,s0,Gsa,xY,w0,x0,y0,jya,
NZ,z0,eya,fya,kya,C0,o0,mya,gya,nya,F0,Bsa,G0,pya,B0,A0,I0,v0,Cxa,Axa,lya,Nxa,S_,K0,L0,H0,qya,sya,XU,Gwa,vQ,tya,E0,N0,vya,O0,ZU,J0,P0,Q0,wya,xya,dya,oya,yya,cya,zya,R0,S0,aa,fa,T0,yy,Taa,Gd,La,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 b<a.length?{done:!1,value:a[b++]}:{done:!0}}};
g.r=function(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):{next:da(a)}};
g.ea=function(a){if(!(a instanceof Array)){a=g.r(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a};
g.t=function(a,b){a.prototype=fa(b.prototype);a.prototype.constructor=a;if(ha)ha(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.fa=b.prototype};
la=function(a,b){if(b){for(var c=ia,d=a.split("."),e=0;e<d.length-1;e++){var f=d[e];f in c||(c[f]={});c=c[f]}d=d[d.length-1];e=c[d];f=b(e);f!=e&&null!=f&&ka(c,d,{configurable:!0,writable:!0,value:f})}};
ma=function(){ma=function(){};
ia.Symbol||(ia.Symbol=aaa)};
na=function(a,b){this.o=a;ka(this,"description",{configurable:!0,writable:!0,value:b})};
pa=function(){ma();var a=ia.Symbol.iterator;a||(a=ia.Symbol.iterator=ia.Symbol("Symbol.iterator"));"function"!=typeof Array.prototype[a]&&ka(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return oa(da(this))}});
pa=function(){}};
oa=function(a){pa();a={next:a};a[ia.Symbol.iterator]=function(){return this};
return a};
ra=function(){this.B=!1;this.A=null;this.D=void 0;this.o=1;this.G=0;this.C=null};
sa=function(a){if(a.B)throw new TypeError("Generator is already running");a.B=!0};
ta=function(a,b){a.C={AK:b,RM:!0};a.o=a.G};
ua=function(a,b,c){a.o=c;return{value:b}};
baa=function(a){this.o=new ra;this.A=a};
caa=function(a,b){sa(a.o);var c=a.o.A;if(c)return va(a,"return"in c?c["return"]:function(d){return{value:d,done:!0}},b,a.o["return"]);
a.o["return"](b);return wa(a)};
va=function(a,b,c,d){try{var e=b.call(a.o.A,c);if(!(e instanceof Object))throw new TypeError("Iterator result "+e+" is not an object");if(!e.done)return a.o.B=!1,e;var f=e.value}catch(k){return a.o.A=null,ta(a.o,k),wa(a)}a.o.A=null;d.call(a.o,f);return wa(a)};
wa=function(a){for(;a.o.o;)try{var b=a.A(a.o);if(b)return a.o.B=!1,{value:b.value,done:!1}}catch(c){a.o.D=void 0,ta(a.o,c)}a.o.B=!1;if(a.o.C){b=a.o.C;a.o.C=null;if(b.RM)throw b.AK;return{value:b["return"],done:!0}}return{value:void 0,done:!0}};
daa=function(a){this.next=function(b){sa(a.o);a.o.A?b=va(a,a.o.A.next,b,a.o.F):(a.o.F(b),b=wa(a));return b};
this["throw"]=function(b){sa(a.o);a.o.A?b=va(a,a.o.A["throw"],b,a.o.F):(ta(a.o,b),b=wa(a));return b};
this["return"]=function(b){return caa(a,b)};
pa();this[Symbol.iterator]=function(){return this}};
eaa=function(a){function b(d){return a.next(d)}
function c(d){return a["throw"](d)}
return new Promise(function(d,e){function f(k){k.done?d(k.value):Promise.resolve(k.value).then(b,c).then(f,e)}
f(a.next())})};
xa=function(a){return eaa(new daa(new baa(a)))};
ya=function(a,b,c){if(null==a)throw new TypeError("The 'this' value for String.prototype."+c+" must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First argument to String.prototype."+c+" must not be a regular expression");return a+""};
za=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};
g.Aa=function(a){return void 0!==a};
g.v=function(a){return"string"==typeof a};
g.Ba=function(a){return"boolean"==typeof a};
g.Ca=function(a){return"number"==typeof a};
g.Da=function(a,b,c){a=a.split(".");c=c||g.x;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)!a.length&&g.Aa(b)?c[d]=b:c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}};
g.y=function(a,b){for(var c=a.split("."),d=b||g.x,e=0;e<c.length;e++)if(d=d[c[e]],null==d)return null;return d};
g.z=function(){};
g.Ea=function(a){a.jd=void 0;a.getInstance=function(){return a.jd?a.jd:a.jd=new a}};
Fa=function(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";
else if("function"==b&&"undefined"==typeof a.call)return"object";return b};
g.Ga=function(a){return"array"==Fa(a)};
g.Ia=function(a){var b=Fa(a);return"array"==b||"object"==b&&"number"==typeof a.length};
g.Ja=function(a){return"function"==Fa(a)};
g.Ka=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b};
g.Ma=function(a){return a[La]||(a[La]=++faa)};
gaa=function(a,b,c){return a.call.apply(a.bind,arguments)};
haa=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}};
g.A=function(a,b,c){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?g.A=gaa:g.A=haa;return g.A.apply(null,arguments)};
g.Na=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var d=c.slice();d.push.apply(d,arguments);return a.apply(this,d)}};
g.Oa=function(a,b){for(var c in b)a[c]=b[c]};
g.B=function(a,b){function c(){}
c.prototype=b.prototype;a.fa=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.A4=function(d,e,f){for(var k=Array(arguments.length-2),l=2;l<arguments.length;l++)k[l-2]=arguments[l];return b.prototype[e].apply(d,k)}};
Pa=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,Pa);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))};
Qa=function(a,b){for(var c=a.split("%s"),d="",e=c.length-1,f=0;f<e;f++)d+=c[f]+(f<b.length?b[f]:"%s");Pa.call(this,d+c[e])};
iaa=function(){};
g.Ra=function(a){return a[a.length-1]};
jaa=function(a,b){for(var c=g.v(a)?a.split(""):a,d=a.length-1;0<=d;--d)d in c&&b.call(void 0,c[d],d,a)};
kaa=function(a,b){var c=0;(0,g.C)(a,function(d,e,f){b.call(void 0,d,e,f)&&++c},void 0);
return c};
g.Ua=function(a,b,c){b=g.Sa(a,b,c);return 0>b?null:g.v(a)?a.charAt(b):a[b]};
g.Sa=function(a,b,c){for(var d=a.length,e=g.v(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return f;return-1};
Wa=function(a,b){var c=g.Va(a,b,void 0);return 0>c?null:g.v(a)?a.charAt(c):a[c]};
g.Va=function(a,b,c){for(var d=g.v(a)?a.split(""):a,e=a.length-1;0<=e;e--)if(e in d&&b.call(c,d[e],e,a))return e;return-1};
g.Ya=function(a,b){return 0<=Xa(a,b)};
g.Za=function(a){return 0==a.length};
$a=function(a){if(!g.Ga(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0};
g.bb=function(a,b){g.Ya(a,b)||a.push(b)};
g.db=function(a,b){var c=Xa(a,b),d;(d=0<=c)&&g.cb(a,c);return d};
g.cb=function(a,b){return 1==Array.prototype.splice.call(a,b,1).length};
g.eb=function(a,b){var c=g.Sa(a,b,void 0);0<=c&&g.cb(a,c)};
fb=function(a,b){var c=0;jaa(a,function(d,e){b.call(void 0,d,e,a)&&g.cb(a,e)&&c++})};
g.gb=function(a){return Array.prototype.concat.apply([],arguments)};
g.ib=function(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]};
jb=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(g.Ia(d)){var e=a.length||0,f=d.length||0;a.length=e+f;for(var k=0;k<f;k++)a[e+k]=d[k]}else a.push(d)}};
g.lb=function(a,b,c,d){Array.prototype.splice.apply(a,kb(arguments,1))};
kb=function(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};
nb=function(a,b,c){function d(n){return g.Ka(n)?"o"+g.Ma(n):(typeof n).charAt(0)+n}
b=b||a;c=c||d;for(var e={},f=0,k=0;k<a.length;){var l=a[k++],m=c(l);Object.prototype.hasOwnProperty.call(e,m)||(e[m]=!0,b[f++]=l)}b.length=f};
g.rb=function(a,b,c){return pb(a,c||qb,!1,b)};
sb=function(a,b){return pb(a,b,!0,void 0,void 0)};
pb=function(a,b,c,d,e){for(var f=0,k=a.length,l;f<k;){var m=f+k>>1,n;c?n=b.call(e,a[m],m,a):n=b(d,a[m]);0<n?f=m+1:(k=m,l=!n)}return l?f:~f};
g.tb=function(a,b){a.sort(b||qb)};
laa=function(a,b){var c=qb;g.tb(a,function(d,e){return c(b(d),b(e))})};
g.ub=function(a,b){if(!g.Ia(a)||!g.Ia(b)||a.length!=b.length)return!1;for(var c=a.length,d=maa,e=0;e<c;e++)if(!d(a[e],b[e]))return!1;return!0};
qb=function(a,b){return a>b?1:a<b?-1:0};
maa=function(a,b){return a===b};
g.vb=function(a,b,c){c=g.rb(a,b,c);0>c&&g.lb(a,-(c+1),0,b)};
g.wb=function(a,b,c){var d={};(0,g.C)(a,function(e,f){d[b.call(c,e,f,a)]=e});
return d};
naa=function(a){for(var b=[],c=0;c<a;c++)b[c]="";return b};
oaa=function(a){if(!arguments.length)return[];for(var b=[],c=arguments[0].length,d=1;d<arguments.length;d++)arguments[d].length<c&&(c=arguments[d].length);for(d=0;d<c;d++){for(var e=[],f=0;f<arguments.length;f++)e.push(arguments[f][d]);b.push(e)}return b};
g.xb=function(a,b){return 0==a.lastIndexOf(b,0)};
yb=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c};
g.E=function(a){return/^[\s\xa0]*$/.test(a)};
Fb=function(a,b){if(b)a=a.replace(zb,"&amp;").replace(Ab,"&lt;").replace(Bb,"&gt;").replace(Cb,"&quot;").replace(Db,"&#39;").replace(Eb,"&#0;");else{if(!paa.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(zb,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(Ab,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(Bb,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(Cb,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(Db,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(Eb,"&#0;"))}return a};
Gb=function(a,b){return-1!=a.toLowerCase().indexOf(b.toLowerCase())};
g.Jb=function(a,b){for(var c=0,d=Hb(String(a)).split("."),e=Hb(String(b)).split("."),f=Math.max(d.length,e.length),k=0;0==c&&k<f;k++){var l=d[k]||"",m=e[k]||"";do{l=/(\d*)(\D*)(.*)/.exec(l)||["","","",""];m=/(\d*)(\D*)(.*)/.exec(m)||["","","",""];if(0==l[0].length&&0==m[0].length)break;c=Ib(0==l[1].length?0:parseInt(l[1],10),0==m[1].length?0:parseInt(m[1],10))||Ib(0==l[2].length,0==m[2].length)||Ib(l[2],m[2]);l=l[3];m=m[3]}while(0==c)}return c};
Ib=function(a,b){return a<b?-1:a>b?1:0};
Lb=function(a){return-1!=g.Kb.indexOf(a)};
g.Mb=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)};
g.Nb=function(a,b,c){var d={},e;for(e in a)b.call(c,a[e],e,a)&&(d[e]=a[e]);return d};
g.Pb=function(a,b){var c={},d;for(d in a)c[d]=b.call(void 0,a[d],d,a);return c};
Qb=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1};
g.Rb=function(a,b){for(var c in a)if(!b.call(void 0,a[c],c,a))return!1;return!0};
g.Sb=function(a){var b=0,c;for(c in a)b++;return b};
Tb=function(a){for(var b in a)return a[b]};
g.Ub=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b};
g.Vb=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b};
g.Wb=function(a,b){var c=g.Ia(b),d=c?b:arguments;for(c=c?0:1;c<d.length;c++){if(null==a)return;a=a[d[c]]}return a};
Xb=function(a,b){return null!==a&&b in a};
g.Yb=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1};
Zb=function(a,b,c){for(var d in a)if(b.call(c,a[d],d,a))return d};
$b=function(a,b){var c=Zb(a,b,void 0);return c&&a[c]};
g.dc=function(a){for(var b in a)return!1;return!0};
g.ec=function(a){for(var b in a)delete a[b]};
fc=function(a,b){b in a&&delete a[b]};
gc=function(a,b,c){return null!==a&&b in a?a[b]:c};
g.hc=function(a,b){for(var c in a)if(!(c in b)||a[c]!==b[c])return!1;for(c in b)if(!(c in a))return!1;return!0};
g.ic=function(a){var b={},c;for(c in a)b[c]=a[c];return b};
g.jc=function(a){var b=Fa(a);if("object"==b||"array"==b){if(g.Ja(a.clone))return a.clone();b="array"==b?[]:{};for(var c in a)b[c]=g.jc(a[c]);return b}return a};
g.lc=function(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<kc.length;f++)c=kc[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};
mc=function(a){var b=a;Object.isFrozen&&!Object.isFrozen(a)&&(b=Object.create(a),Object.freeze(b));return b};
nc=function(){return Lb("Firefox")||Lb("FxiOS")};
pc=function(){return Lb("Safari")&&!(oc()||Lb("Coast")||Lb("Opera")||Lb("Edge")||nc()||Lb("Silk")||Lb("Android"))};
oc=function(){return(Lb("Chrome")||Lb("CriOS"))&&!Lb("Edge")};
g.qc=function(){return Lb("Android")&&!(oc()||nc()||Lb("Opera")||Lb("Silk"))};
g.rc=function(a){return encodeURIComponent(String(a))};
sc=function(a){return decodeURIComponent(a.replace(/\+/g," "))};
g.tc=function(a){return a=Fb(a,void 0)};
uc=function(a){return-1!=a.indexOf("&")?"document"in g.x?qaa(a):raa(a):a};
qaa=function(a){var b={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"'};var c=g.x.document.createElement("div");return a.replace(saa,function(d,e){var f=b[d];if(f)return f;if("#"==e.charAt(0)){var k=Number("0"+e.substr(1));isNaN(k)||(f=String.fromCharCode(k))}f||(c.innerHTML=d+" ",f=c.firstChild.nodeValue.slice(0,-1));return b[d]=f})};
raa=function(a){return a.replace(/&([^;]+);/g,function(b,c){switch(c){case "amp":return"&";case "lt":return"<";case "gt":return">";case "quot":return'"';default:if("#"==c.charAt(0)){var d=Number("0"+c.substr(1));if(!isNaN(d))return String.fromCharCode(d)}return b}})};
vc=function(a,b){a.length>b&&(a=a.substring(0,b-3)+"...");return a};
g.xc=function(a,b,c){a=g.Aa(c)?a.toFixed(c):String(a);c=a.indexOf(".");-1==c&&(c=a.length);return wc("0",Math.max(0,b-c))+a};
g.G=function(a){return null==a?"":String(a)};
g.yc=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^(0,g.H)()).toString(36)};
zc=function(a){for(var b=0,c=0;c<a.length;++c)b=31*b+a.charCodeAt(c)>>>0;return b};
Ac=function(){return"goog_"+taa++};
g.Bc=function(a){var b=Number(a);return 0==b&&g.E(a)?NaN:b};
Cc=function(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})};
g.Dc=function(a){return String(a).replace(/([A-Z])/g,"-$1").toLowerCase()};
uaa=function(a){var b=g.v(void 0)?"undefined".replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08"):"\\s";return a.replace(new RegExp("(^"+(b?"|["+b+"]+":"")+")([a-z])","g"),function(c,d,e){return d+e.toUpperCase()})};
Ec=function(a){isFinite(a)&&(a=String(a));return g.v(a)?/^\s*-?0x/i.test(a)?parseInt(a,16):parseInt(a,10):NaN};
Fc=function(){return Lb("iPhone")&&!Lb("iPod")&&!Lb("iPad")};
Gc=function(){return Fc()||Lb("iPad")||Lb("iPod")};
Hc=function(a){Hc[" "](a);return a};
Ic=function(a,b){try{return Hc(a[b]),!0}catch(c){}return!1};
waa=function(a,b){var c=vaa;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};
Jc=function(){var a=g.x.document;return a?a.documentMode:void 0};
g.Lc=function(a){return waa(a,function(){return 0<=g.Jb(Kc,a)})};
g.Mc=function(a){return Number(xaa)>=a};
Nc=function(a){return function(){return a}};
g.Oc=function(a){return a};
yaa=function(a){var b=b||0;return function(){return a.apply(this,Array.prototype.slice.call(arguments,0,b))}};
Pc=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}};
zaa=function(a,b){var c=0;return function(d){g.x.clearTimeout(c);var e=arguments;c=g.x.setTimeout(function(){a.apply(b,e)},50)}};
Aaa=function(a){function b(){d=g.x.setTimeout(c,1E3);a.apply(void 0,f)}
function c(){d=0;e&&(e=!1,b())}
var d=0,e=!1,f=[];return function(k){f=arguments;d?e=!0:b()}};
Sc=function(a,b){this.o=a===Qc&&b||"";this.A=Rc};
Tc=function(a){return a instanceof Sc&&a.constructor===Sc&&a.A===Rc?a.o:"type_error:Const"};
g.Uc=function(a){return new Sc(Qc,a)};
Vc=function(a,b){return b?a.replace(Baa,""):a};
Xc=function(a,b){for(var c=0,d=0,e=!1,f=Vc(a,b).split(Caa),k=0;k<f.length;k++){var l=f[k];Wc.test(Vc(l,void 0))?(c++,d++):Daa.test(l)?e=!0:Eaa.test(Vc(l,void 0))?d++:Faa.test(l)&&(e=!0)}return 0==d?e?1:0:.4<c/d?-1:1};
Zc=function(){this.A="";this.C=Yc};
$c=function(a){if(a instanceof Zc&&a.constructor===Zc&&a.C===Yc)return a.A;Fa(a);return"type_error:TrustedResourceUrl"};
Iaa=function(a,b){var c=Tc(a);if(!Gaa.test(c))throw Error("Invalid TrustedResourceUrl format: "+c);var d=c.replace(Haa,function(e,f){if(!Object.prototype.hasOwnProperty.call(b,f))throw Error('Found marker, "'+f+'", in format string, "'+c+'", but no valid label mapping found in args: '+JSON.stringify(b));var k=b[f];return k instanceof Sc?Tc(k):encodeURIComponent(String(k))});
return ad(d)};
bd=function(a){return ad(Tc(a))};
ad=function(a){var b=new Zc;b.A=a;return b};
dd=function(){this.A="";this.C=cd};
g.fd=function(a){return ed(a).toString()};
ed=function(a){if(a instanceof dd&&a.constructor===dd&&a.C===cd)return a.A;Fa(a);return"type_error:SafeUrl"};
g.id=function(a){if(a instanceof dd)return a;a="object"==typeof a&&a.Yf?a.Se():String(a);gd.test(a)||(a="about:invalid#zClosurez");return hd(a)};
jd=function(a){if(a instanceof dd)return a;a="object"==typeof a&&a.Yf?a.Se():String(a);gd.test(a)||(a="about:invalid#zClosurez");return hd(a)};
hd=function(a){var b=new dd;b.A=a;return b};
ld=function(){this.o="";this.A=kd};
md=function(a){if(a instanceof ld&&a.constructor===ld&&a.A===kd)return a.o;Fa(a);return"type_error:SafeStyle"};
nd=function(a){var b=new ld;b.o=a;return b};
od=function(a){if(a instanceof dd)return'url("'+g.fd(a).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';a=a instanceof Sc?Tc(a):Jaa(String(a));if(/[{;}]/.test(a))throw new Qa("Value does not allow [{;}], got: %s.",[a]);return a};
Jaa=function(a){var b=a.replace(pd,"$1").replace(pd,"$1").replace(qd,"url");if(Kaa.test(b)){if(Laa.test(a))return"zClosurez";for(var c=b=!0,d=0;d<a.length;d++){var e=a.charAt(d);"'"==e&&c?b=!b:'"'==e&&b&&(c=!c)}if(!b||!c||!Maa(a))return"zClosurez"}else return"zClosurez";return Naa(a)};
Maa=function(a){for(var b=!0,c=/^[-_a-zA-Z0-9]$/,d=0;d<a.length;d++){var e=a.charAt(d);if("]"==e){if(b)return!1;b=!0}else if("["==e){if(!b)return!1;b=!1}else if(!b&&!c.test(e))return!1}return b};
Naa=function(a){return a.replace(qd,function(b,c,d,e){var f="";d=d.replace(/^(['"])(.*)\1$/,function(k,l,m){f=l;return m});
b=g.id(d).Se();return c+f+b+f+e})};
sd=function(){this.o="";this.A=rd};
ud=function(){this.A="";this.B=td;this.C=null};
g.vd=function(a){if(a instanceof ud&&a.constructor===ud&&a.B===td)return a.A;Fa(a);return"type_error:SafeHtml"};
zd=function(a){if(a instanceof ud)return a;var b="object"==typeof a,c=null;b&&a.jv&&(c=a.o());a=Fb(b&&a.Yf?a.Se():String(a));return yd(a,c)};
Oaa=function(a){function b(e){g.Ga(e)?(0,g.C)(e,b):(e=zd(e),d+=g.vd(e).toString(),e=e.o(),0==c?c=e:0!=e&&c!=e&&(c=null))}
var c=0,d="";(0,g.C)(arguments,b);return yd(d,c)};
yd=function(a,b){var c=new ud;c.A=a;c.C=b;return c};
Bd=function(a,b,c){var d=null,e="";if(b)for(p in b){if(!Ad.test(p))throw Error('Invalid attribute name "'+p+'".');var f=b[p];if(null!=f){var k=a;var l=p;var m=f;if(m instanceof Sc)m=Tc(m);else if("style"==l.toLowerCase()){f=void 0;k=m;if(!g.Ka(k))throw Error('The "style" attribute requires goog.html.SafeStyle or map of style properties, '+typeof k+" given: "+k);if(!(k instanceof ld)){m="";for(f in k){if(!/^[-_a-zA-Z0-9]+$/.test(f))throw Error("Name allows only [-_a-zA-Z0-9], got: "+f);var n=k[f];
null!=n&&(n=g.Ga(n)?(0,g.I)(n,od).join(" "):od(n),m+=f+":"+n+";")}k=m?nd(m):Paa}m=md(k)}else{if(/^on/i.test(l))throw Error('Attribute "'+l+'" requires goog.string.Const value, "'+m+'" given.');if(l.toLowerCase()in Qaa)if(m instanceof Zc)m=$c(m).toString();else if(m instanceof dd)m=g.fd(m);else if(g.v(m))m=g.id(m).Se();else throw Error('Attribute "'+l+'" on tag "'+k+'" requires goog.html.SafeUrl, goog.string.Const, or string, value "'+m+'" given.');}m.Yf&&(m=m.Se());l=l+'="'+Fb(String(m))+'"';e+=" "+
l}}var p="<"+a+e;null!=c?g.Ga(c)||(c=[c]):c=[];!0===Raa[a.toLowerCase()]?p+=">":(d=Oaa(c),p+=">"+g.vd(d).toString()+"</"+a+">",d=d.o());(a=b&&b.dir)&&(/^(ltr|rtl|auto)$/i.test(a)?d=0:d=null);return yd(p,d)};
Cd=function(a,b,c){var d={},e;for(e in a)d[e]=a[e];for(e in b)d[e]=b[e];for(e in c){var f=e.toLowerCase();if(f in a)throw Error('Cannot override "'+f+'" attribute, got "'+e+'" with value "'+c[e]+'"');f in b&&delete d[f];d[e]=c[e]}return d};
g.Dd=function(a,b){Tc(a);Tc(a);return yd(b,null)};
g.Ed=function(a,b){if(Saa())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=g.vd(b)};
g.Fd=function(a,b){var c=b instanceof dd?b:jd(b);a.href=ed(c)};
Hd=function(a,b){a.src=$c(b);if(null===Gd)b:{var c=g.x.document;if((c=c.querySelector&&c.querySelector("script[nonce]"))&&(c=c.nonce||c.getAttribute("nonce"))&&Taa.test(c)){Gd=c;break b}Gd=""}c=Gd;c&&a.setAttribute("nonce",c)};
g.Jd=function(a,b,c){return Math.min(Math.max(a,b),c)};
g.Kd=function(a,b){var c=a%b;return 0>c*b?c+b:c};
Ld=function(a,b,c){return a+c*(b-a)};
Md=function(a,b,c){return Math.abs(a-b)<=(c||1E-6)};
g.Nd=function(a){return a*Math.PI/180};
g.Od=function(a,b){this.x=g.Aa(a)?a:0;this.y=g.Aa(b)?b:0};
Pd=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1};
g.Qd=function(a,b){this.width=a;this.height=b};
g.Rd=function(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1};
Sd=function(a){return a.width*a.height};
Wd=function(a){return a?new Td(Ud(a)):Vd||(Vd=new Td)};
g.Yd=function(a,b){var c=b||document;return c.querySelectorAll&&c.querySelector?c.querySelectorAll("."+a):g.Xd(document,"*",a,b)};
g.Zd=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.Xd(c,"*",a,b)[0]||null}return c||null};
g.Xd=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.Ya(b.split(/\s+/),c)&&(d[e++]=k);d.length=e;return d}return a};
Uaa=function(a,b){g.Mb(b,function(c,d){c&&"object"==typeof c&&c.Yf&&(c=c.Se());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:$d.hasOwnProperty(d)?a.setAttribute($d[d],c):g.xb(d,"aria-")||g.xb(d,"data-")?a.setAttribute(d,c):a[d]=c})};
be=function(a){a=a.document;a=ae(a)?a.documentElement:a.body;return new g.Qd(a.clientWidth,a.clientHeight)};
ee=function(a){var b=ce(a);a=a.parentWindow||a.defaultView;return g.de&&g.Lc("10")&&a.pageYOffset!=b.scrollTop?new g.Od(b.scrollLeft,b.scrollTop):new g.Od(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)};
ce=function(a){return a.scrollingElement?a.scrollingElement:!g.fe&&ae(a)?a.documentElement:a.body||a.documentElement};
ge=function(a){return a?a.parentWindow||a.defaultView:window};
g.ie=function(a,b,c){return he(document,arguments)};
he=function(a,b){var c=String(b[0]),d=b[1];if(!Vaa&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',g.tc(d.name),'"');if(d.type){c.push(' type="',g.tc(d.type),'"');var e={};g.lc(e,d);delete e.type;d=e}c.push(">");c=c.join("")}c=a.createElement(c);d&&(g.v(d)?c.className=d:g.Ga(d)?c.className=d.join(" "):Uaa(c,d));2<b.length&&je(a,c,b,2);return c};
je=function(a,b,c,d){function e(k){k&&b.appendChild(g.v(k)?a.createTextNode(k):k)}
for(;d<c.length;d++){var f=c[d];!g.Ia(f)||g.Ka(f)&&0<f.nodeType?e(f):(0,g.C)(Waa(f)?g.ib(f):f,e)}};
g.ke=function(a){return document.createElement(String(a))};
g.le=function(a){return document.createTextNode(String(a))};
ae=function(a){return"CSS1Compat"==a.compatMode};
g.me=function(a,b){a.appendChild(b)};
ne=function(a,b){je(Ud(a),a,arguments,1)};
g.oe=function(a){for(var b;b=a.firstChild;)a.removeChild(b)};
pe=function(a,b,c){a.insertBefore(b,a.childNodes[c]||null)};
g.qe=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null};
se=function(a){return Xaa&&void 0!=a.children?a.children:(0,g.re)(a.childNodes,function(b){return 1==b.nodeType})};
ue=function(a){return g.Aa(a.firstElementChild)?a.firstElementChild:te(a.firstChild)};
te=function(a){for(;a&&1!=a.nodeType;)a=a.nextSibling;return a};
g.ve=function(a){var b;if(Yaa&&!(g.de&&g.Lc("9")&&!g.Lc("10")&&g.x.SVGElement&&a instanceof g.x.SVGElement)&&(b=a.parentElement))return b;b=a.parentNode;return g.Ka(b)&&1==b.nodeType?b:null};
g.we=function(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a};
Ud=function(a){return 9==a.nodeType?a:a.ownerDocument||a.document};
xe=function(a){try{return a.contentWindow||(a.contentDocument?ge(a.contentDocument):null)}catch(b){}return null};
g.ye=function(a,b){if("textContent"in a)a.textContent=b;else if(3==a.nodeType)a.data=String(b);else if(a.firstChild&&3==a.firstChild.nodeType){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=String(b)}else{g.oe(a);var c=Ud(a);a.appendChild(c.createTextNode(String(b)))}};
ze=function(a){if("outerHTML"in a)return a.outerHTML;var b=Ud(a).createElement("DIV");b.appendChild(a.cloneNode(!0));return b.innerHTML};
Ce=function(a){var b;if((b="A"==a.tagName&&a.hasAttribute("href")||"INPUT"==a.tagName||"TEXTAREA"==a.tagName||"SELECT"==a.tagName||"BUTTON"==a.tagName?!a.disabled&&(!Ae(a)||Be(a)):Ae(a)&&Be(a))&&g.de){var c;!g.Ja(a.getBoundingClientRect)||g.de&&null==a.parentElement?c={height:a.offsetHeight,width:a.offsetWidth}:c=a.getBoundingClientRect();a=null!=c&&0<c.height&&0<c.width}else a=b;return a};
Ae=function(a){return g.de&&!g.Lc("9")?(a=a.getAttributeNode("tabindex"),null!=a&&a.specified):a.hasAttribute("tabindex")};
Be=function(a){a=a.tabIndex;return g.Ca(a)&&0<=a&&32768>a};
Waa=function(a){if(a&&"number"==typeof a.length){if(g.Ka(a))return"function"==typeof a.item||"string"==typeof a.item;if(g.Ja(a))return"function"==typeof a.item}return!1};
g.Ee=function(a,b,c,d){if(!b&&!c)return null;var e=b?String(b).toUpperCase():null;return De(a,function(f){return(!e||f.nodeName==e)&&(!c||g.v(f.className)&&g.Ya(f.className.split(/\s+/),c))},!0,d)};
g.Fe=function(a,b){return g.Ee(a,null,b,void 0)};
De=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};
Td=function(a){this.o=a||g.x.document||document};
Ge=function(a){a=a.o;return a.parentWindow||a.defaultView};
g.He=function(a){for(var b=[],c=0,d=0;d<a.length;d++){var e=a.charCodeAt(d);255<e&&(b[c++]=e&255,e>>=8);b[c++]=e}return b};
Ie=function(a){return(0,g.I)(a,function(b){b=b.toString(16);return 1<b.length?b:"0"+b}).join("")};
g.Me=function(a,b){g.Ia(a);Je();for(var c=b?Ke:Le,d=[],e=0;e<a.length;e+=3){var f=a[e],k=e+1<a.length,l=k?a[e+1]:0,m=e+2<a.length,n=m?a[e+2]:0,p=f>>2;f=(f&3)<<4|l>>4;l=(l&15)<<2|n>>6;n&=63;m||(n=64,k||(l=64));d.push(c[p],c[f],c[l],c[n])}return d.join("")};
Oe=function(a){var b=[];Ne(a,function(c){b.push(c)});
return b};
g.Pe=function(a){var b=a.length,c=0;"="===a[b-2]?c=2:"="===a[b-1]&&(c=1);var d=new Uint8Array(Math.ceil(3*b/4)-c),e=0;Ne(a,function(f){d[e++]=f});
return d.subarray(0,e)};
Ne=function(a,b){function c(m){for(;d<a.length;){var n=a.charAt(d++),p=Qe[n];if(null!=p)return p;if(!g.E(n))throw Error("Unknown base64 encoding at char: "+n);}return m}
Je();for(var d=0;;){var e=c(-1),f=c(0),k=c(64),l=c(64);if(64===l&&-1===e)break;b(e<<2|f>>4);64!=k&&(b(f<<4&240|k>>2),64!=l&&b(k<<6&192|l))}};
Je=function(){if(!Le){Le={};Qe={};Ke={};for(var a=0;65>a;a++)Le[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(a),Qe[Le[a]]=a,Ke[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a),62<=a&&(Qe["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a)]=a)}};
Se=function(a,b,c){this.A=null;this.F=this.G=this.o=this.C=this.B=0;this.D=!1;a&&Re(this,a,b,c)};
Ue=function(a,b,c){if(Te.length){var d=Te.pop();a&&Re(d,a,b,c);return d}return new Se(a,b,c)};
Re=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.Pe(b):new Uint8Array(0);a.A=b;a.B=g.Aa(c)?c:0;a.C=g.Aa(d)?a.B+d:a.A.length;a.o=a.B};
Ve=function(a){var b=a.A;var c=b[a.o+0];var d=c&127;if(128>c)return a.o+=1,d;c=b[a.o+1];d|=(c&127)<<7;if(128>c)return a.o+=2,d;c=b[a.o+2];d|=(c&127)<<14;if(128>c)return a.o+=3,d;c=b[a.o+3];d|=(c&127)<<21;if(128>c)return a.o+=4,d;c=b[a.o+4];d|=(c&15)<<28;if(128>c)return a.o+=5,d>>>0;a.o+=5;128<=b[a.o++]&&128<=b[a.o++]&&128<=b[a.o++]&&128<=b[a.o++]&&a.o++;return d};
We=function(a){this.o=Ue(a,void 0,void 0);this.D=this.o.o;this.A=this.C=-1;this.B=!1};
Xe=function(a){var b=a.o;if(b.o==b.C||a.getError())return!1;a.D=a.o.o;b=Ve(a.o);var c=b&7;if(0!=c&&5!=c&&1!=c&&2!=c&&3!=c&&4!=c)return a.B=!0,!1;a.C=b>>>3;a.A=c;return!0};
Ye=function(a){switch(a.A){case 0:if(0!=a.A)Ye(a);else{for(a=a.o;a.A[a.o]&128;)a.o++;a.o++}break;case 1:1!=a.A?Ye(a):(a=a.o,a.o+=8);break;case 2:if(2!=a.A)Ye(a);else{var b=Ve(a.o);a=a.o;a.o+=b}break;case 5:5!=a.A?Ye(a):(a=a.o,a.o+=4);break;case 3:b=a.C;do{if(!Xe(a)){a.B=!0;break}if(4==a.A){a.C!=b&&(a.B=!0);break}Ye(a)}while(1)}};
Ze=function(a){a=a.o;a:{for(var b,c=0,d,e=0;4>e;e++)if(b=a.A[a.o++],c|=(b&127)<<7*e,128>b){a.G=c>>>0;a.F=0;break a}b=a.A[a.o++];c|=(b&127)<<28;d=0|(b&127)>>4;if(128>b)a.G=c>>>0,a.F=d>>>0;else{for(e=0;5>e;e++)if(b=a.A[a.o++],d|=(b&127)<<7*e+3,128>b){a.G=c>>>0;a.F=d>>>0;break a}a.D=!0}}b=a.G;c=a.F;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};
$e=function(a){var b=Ve(a.o);a=a.o;var c=a.A,d=a.o,e=d+b;b=[];for(var f="";d<e;){var k=c[d++];if(128>k)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;f<b.length;f+=8192)k=kb(b,f,f+8192),e+=String.fromCharCode.apply(null,k);b=e}a.o=d;return c+b};
af=function(a){var b=Ve(a.o);a=a.o;if(0>b||a.o+b>a.A.length)a.D=!0,b=new Uint8Array(0);else{var c=a.A.subarray(a.o,a.o+b);a.o+=b;b=c}return b};
bf=function(){};
jf=function(a,b,c,d){a.o=null;b||(b=[]);a.G=void 0;a.B=-1;a.C=b;a:{if(b=a.C.length){--b;var e=a.C[b];if(!(null===e||"object"!=typeof e||g.Ga(e)||cf&&e instanceof Uint8Array)){a.D=b-a.B;a.A=e;break a}}a.D=Number.MAX_VALUE}a.F={};if(c)for(b=0;b<c.length;b++)e=c[b],e<a.D?(e+=a.B,a.C[e]=a.C[e]||df):(ef(a),a.A[e]=a.A[e]||df);if(d&&d.length)for(b=0;b<d.length;b++){e=c=void 0;for(var f=a,k=d[b],l=0;l<k.length;l++){var m=k[l],n=ff(f,m);null!=n&&(e=m,c=n,hf(f,m,void 0))}e&&hf(f,e,c)}};
ef=function(a){var b=a.D+a.B;a.C[b]||(a.A=a.C[b]={})};
ff=function(a,b){if(b<a.D){var c=b+a.B,d=a.C[c];return d===df?a.C[c]=[]:d}if(a.A)return d=a.A[b],d===df?a.A[b]=[]:d};
kf=function(a,b){var c=ff(a,b);return null==c?c:!!c};
Zaa=function(a){if(null==a||a instanceof Uint8Array)return a;if(g.v(a))return g.Pe(a);Fa(a);return null};
hf=function(a,b,c){b<a.D?a.C[b+a.B]=c:(ef(a),a.A[b]=c)};
lf=function(a,b,c){a.o||(a.o={});if(!a.o[c]){var d=ff(a,c);d&&(a.o[c]=new b(d))}return a.o[c]};
$aa=function(a){mf(a,nf,1);var b=a.o[1];b==df&&(b=a.o[1]=[]);return b};
mf=function(a,b,c){a.o||(a.o={});if(!a.o[c]){for(var d=ff(a,c),e=[],f=0;f<d.length;f++)e[f]=new b(d[f]);a.o[c]=e}};
pf=function(a){if(a.o)for(var b in a.o){var c=a.o[b];if(g.Ga(c))for(var d=0;d<c.length;d++)c[d]&&of(c[d]);else c&&of(c)}};
of=function(a){pf(a);return a.C};
qf=function(a){if(g.Ga(a)){for(var b=Array(a.length),c=0;c<a.length;c++){var d=a[c];null!=d&&(b[c]="object"==typeof d?qf(d):d)}return b}if(cf&&a instanceof Uint8Array)return new Uint8Array(a);b={};for(c in a)d=a[c],null!=d&&(b[c]="object"==typeof d?qf(d):d);return b};
rf=function(a){jf(this,a,null,null)};
sf=function(a){jf(this,a,null,null)};
tf=function(a){jf(this,a,null,aba)};
uf=function(a){jf(this,a,null,bba)};
vf=function(a){jf(this,a,null,cba)};
wf=function(a){jf(this,a,null,null)};
xf=function(a){jf(this,a,null,null)};
yf=function(a){jf(this,a,null,null)};
zf=function(a){jf(this,a,null,null)};
Af=function(a){jf(this,a,null,null)};
Bf=function(a){jf(this,a,dba,null)};
nf=function(a){jf(this,a,null,null)};
Cf=function(a){return lf(a,sf,1)};
Df=function(a){for(var b=[],c=a=ge(a.ownerDocument);c!=a.top;c=c.parent)if(c.frameElement)b.push(c.frameElement);else break;return b};
eba=function(a){var b=g.y("window.location.href");null==a&&(a='Unknown Error of type "null/undefined"');if(g.v(a))return{message:a,name:"Unknown error",lineNumber:"Not available",fileName:b,stack:"Not available"};var c=!1;try{var d=a.lineNumber||a.line||"Not available"}catch(f){d="Not available",c=!0}try{var e=a.fileName||a.filename||a.sourceURL||g.x.$googDebugFname||b}catch(f){e="Not available",c=!0}return!c&&a.lineNumber&&a.fileName&&a.stack&&a.message&&a.name?a:(b=a.message,null==b&&(a.constructor&&
a.constructor instanceof Function?(a.constructor.name?b=a.constructor.name:(b=a.constructor,Ef[b]?b=Ef[b]:(b=String(b),Ef[b]||(c=/function\s+([^\(]+)/m.exec(b),Ef[b]=c?c[1]:"[Anonymous]"),b=Ef[b])),b='Unknown Error of type "'+b+'"'):b="Unknown Error of unknown type"),{message:b,name:a.name||"UnknownError",lineNumber:d,fileName:e,stack:a.stack||"Not available"})};
g.K=function(){this.Bb=this.Bb;this.dj=this.dj};
g.L=function(a,b){g.Ff(a,g.Na(g.Gf,b))};
g.Ff=function(a,b){a.Bb?g.Aa(void 0)?b.call(void 0):b():(a.dj||(a.dj=[]),a.dj.push(g.Aa(void 0)?(0,g.A)(b,void 0):b))};
g.Gf=function(a){a&&"function"==typeof a.dispose&&a.dispose()};
g.Hf=function(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];g.Ia(d)?g.Hf.apply(null,d):g.Gf(d)}};
g.If=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.jj=!1;this.NF=!0};
Jf=function(a){a.stopPropagation()};
Lf=function(a){return g.fe?"webkit"+a:g.Kf?"o"+a.toLowerCase():a.toLowerCase()};
Mf=function(a,b){g.If.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.o=null;a&&this.init(a,b)};
g.Of=function(a){return!(!a||!a[g.Nf])};
gba=function(a,b,c,d,e){this.listener=a;this.o=null;this.src=b;this.type=c;this.capture=!!d;this.Tf=e;this.key=++fba;this.Vk=this.Ro=!1};
Pf=function(a){a.Vk=!0;a.listener=null;a.o=null;a.src=null;a.Tf=null};
Qf=function(a){this.src=a;this.listeners={};this.o=0};
Rf=function(a,b){var c=b.type;if(!(c in a.listeners))return!1;var d=g.db(a.listeners[c],b);d&&(Pf(b),0==a.listeners[c].length&&(delete a.listeners[c],a.o--));return d};
g.Sf=function(a){var b=0,c;for(c in a.listeners){for(var d=a.listeners[c],e=0;e<d.length;e++)++b,Pf(d[e]);delete a.listeners[c];a.o--}};
Tf=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.Vk&&f.listener==b&&f.capture==!!c&&f.Tf==d)return e}return-1};
g.Vf=function(a,b,c,d,e){if(d&&d.once)return Uf(a,b,c,d,e);if(g.Ga(b)){for(var f=0;f<b.length;f++)g.Vf(a,b[f],c,d,e);return null}c=Wf(c);return g.Of(a)?a.X(b,c,g.Ka(d)?!!d.capture:!!d,e):Xf(a,b,c,!1,d,e)};
Xf=function(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var k=g.Ka(e)?!!e.capture:!!e,l=g.Yf(a);l||(a[Zf]=l=new Qf(a));c=l.add(b,c,d,k,f);if(c.o)return c;d=hba();c.o=d;d.src=a;d.listener=c;if(a.addEventListener)iba||(e=k),void 0===e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent($f(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");bg++;return c};
hba=function(){var a=jba,b=cg?function(c){return a.call(b.src,b.listener,c)}:function(c){c=a.call(b.src,b.listener,c);
if(!c)return c};
return b};
Uf=function(a,b,c,d,e){if(g.Ga(b)){for(var f=0;f<b.length;f++)Uf(a,b[f],c,d,e);return null}c=Wf(c);return g.Of(a)?a.Mh(b,c,g.Ka(d)?!!d.capture:!!d,e):Xf(a,b,c,!0,d,e)};
g.dg=function(a,b,c,d,e){if(g.Ga(b))for(var f=0;f<b.length;f++)g.dg(a,b[f],c,d,e);else d=g.Ka(d)?!!d.capture:!!d,c=Wf(c),g.Of(a)?a.Ka(b,c,d,e):a&&(a=g.Yf(a))&&(b=a.Dm(b,c,d,e))&&g.eg(b)};
g.eg=function(a){if(g.Ca(a)||!a||a.Vk)return!1;var b=a.src;if(g.Of(b))return Rf(b.Le,a);var c=a.type,d=a.o;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent($f(c),d):b.addListener&&b.removeListener&&b.removeListener(d);bg--;(c=g.Yf(b))?(Rf(c,a),0==c.o&&(c.src=null,b[Zf]=null)):Pf(a);return!0};
$f=function(a){return a in fg?fg[a]:fg[a]="on"+a};
hg=function(a,b,c,d){var e=!0;if(a=g.Yf(a))if(b=a.listeners[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var f=b[a];f&&f.capture==c&&!f.Vk&&(f=gg(f,d),e=e&&!1!==f)}return e};
gg=function(a,b){var c=a.listener,d=a.Tf||a.src;a.Ro&&g.eg(a);return c.call(d,b)};
jba=function(a,b){if(a.Vk)return!0;if(!cg){var c=b||g.y("window.event"),d=new Mf(c,this),e=!0;if(!(0>c.keyCode||void 0!=c.returnValue)){a:{var f=!1;if(0==c.keyCode)try{c.keyCode=-1;break a}catch(m){f=!0}if(f||void 0==c.returnValue)c.returnValue=!0}c=[];for(f=d.currentTarget;f;f=f.parentNode)c.push(f);f=a.type;for(var k=c.length-1;!d.jj&&0<=k;k--){d.currentTarget=c[k];var l=hg(c[k],f,!0,d);e=e&&l}for(k=0;!d.jj&&k<c.length;k++)d.currentTarget=c[k],l=hg(c[k],f,!1,d),e=e&&l}return e}return gg(a,new Mf(b,
this))};
g.Yf=function(a){a=a[Zf];return a instanceof Qf?a:null};
Wf=function(a){if(g.Ja(a))return a;a[ig]||(a[ig]=function(b){return a.handleEvent(b)});
return a[ig]};
g.jg=function(){g.K.call(this);this.Le=new Qf(this);this.jb=this;this.xa=null};
kg=function(a,b,c,d){b=a.Le.listeners[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,f=0;f<b.length;++f){var k=b[f];if(k&&!k.Vk&&k.capture==c){var l=k.listener,m=k.Tf||k.src;k.Ro&&Rf(a.Le,k);e=!1!==l.call(m,d)&&e}}return e&&0!=d.NF};
lg=function(a,b){this.C=a;this.B=b;this.A=0;this.o=null};
mg=function(a,b){a.B(b);100>a.A&&(a.A++,b.next=a.o,a.o=b)};
ng=function(a){g.x.setTimeout(function(){throw a;},0)};
pg=function(a,b){var c=a;b&&(c=(0,g.A)(a,b));c=kba(c);!g.Ja(g.x.setImmediate)||g.x.Window&&g.x.Window.prototype&&!Lb("Edge")&&g.x.Window.prototype.setImmediate==g.x.setImmediate?(og||(og=lba()),og(c)):g.x.setImmediate(c)};
lba=function(){var a=g.x.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!Lb("Presto")&&(a=function(){var e=document.createElement("IFRAME");e.style.display="none";e.src="";document.documentElement.appendChild(e);var f=e.contentWindow;e=f.document;e.open();e.write("");e.close();var k="callImmediate"+Math.random(),l="file:"==f.location.protocol?"*":f.location.protocol+"//"+f.location.host;e=(0,g.A)(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&&!Lb("Trident")&&!Lb("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(g.Aa(c.next)){c=c.next;var e=c.tA;c.tA=null;e()}};
return function(e){d.next={tA: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.x.setTimeout(e,0)}};
qg=function(){this.A=this.o=null};
rg=function(){this.next=this.scope=this.o=null};
g.vg=function(a,b){sg||mba();tg||(sg(),tg=!0);ug.add(a,b)};
mba=function(){if(g.x.Promise&&g.x.Promise.resolve){var a=g.x.Promise.resolve(void 0);sg=function(){a.then(wg)}}else sg=function(){pg(wg)}};
wg=function(){for(var a;a=ug.remove();){try{a.o.call(a.scope)}catch(b){ng(b)}mg(xg,a)}tg=!1};
yg=function(a){a.prototype.$goog_Thenable=!0};
zg=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};
g.Bg=function(a,b){this.o=0;this.G=void 0;this.B=this.A=this.C=null;this.D=this.F=!1;if(a!=g.z)try{var c=this;a.call(b,function(d){Ag(c,2,d)},function(d){Ag(c,3,d)})}catch(d){Ag(this,3,d)}};
Cg=function(){this.next=this.context=this.onRejected=this.C=this.o=null;this.A=!1};
Eg=function(a,b,c){var d=Dg.get();d.C=a;d.onRejected=b;d.context=c;return d};
Fg=function(a){if(a instanceof g.Bg)return a;var b=new g.Bg(g.z);Ag(b,2,a);return b};
Gg=function(a){return new g.Bg(function(b,c){c(a)})};
Ig=function(a,b,c){Hg(a,b,c,null)||g.vg(g.Na(b,a))};
nba=function(a){return new g.Bg(function(b,c){a.length||b(void 0);for(var d=0,e;d<a.length;d++)e=a[d],Ig(e,b,c)})};
g.Jg=function(a){return new g.Bg(function(b,c){var d=a.length,e=[];if(d)for(var f=function(n,p){d--;e[n]=p;0==d&&b(e)},k=function(n){c(n)},l=0,m;l<a.length;l++)m=a[l],Ig(m,g.Na(f,l),k);
else b(e)})};
pba=function(){var a,b,c=new g.Bg(function(d,e){a=d;b=e});
return new oba(c,a,b)};
qba=function(a,b){var c=Eg(b,b,void 0);c.A=!0;Kg(a,c)};
g.Mg=function(a,b){return Lg(a,null,b,void 0)};
Ng=function(a,b){if(0==a.o)if(a.C){var c=a.C;if(c.A){for(var d=0,e=null,f=null,k=c.A;k&&(k.A||(d++,k.o==a&&(e=k),!(e&&1<d)));k=k.next)e||(f=k);e&&(0==c.o&&1==d?Ng(c,b):(f?(d=f,d.next==c.B&&(c.B=d),d.next=d.next.next):Og(c),Pg(c,e,3,b)))}a.C=null}else Ag(a,3,b)};
Kg=function(a,b){a.A||2!=a.o&&3!=a.o||Qg(a);a.B?a.B.next=b:a.A=b;a.B=b};
Lg=function(a,b,c,d){var e=Eg(null,null,null);e.o=new g.Bg(function(f,k){e.C=b?function(l){try{var m=b.call(d,l);f(m)}catch(n){k(n)}}:f;
e.onRejected=c?function(l){try{var m=c.call(d,l);!g.Aa(m)&&l instanceof Rg?k(l):f(m)}catch(n){k(n)}}:k});
e.o.C=a;Kg(a,e);return e.o};
Ag=function(a,b,c){0==a.o&&(a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself")),a.o=1,Hg(c,a.J,a.K,a)||(a.G=c,a.o=b,a.C=null,Qg(a),3!=b||c instanceof Rg||rba(a,c)))};
Hg=function(a,b,c,d){if(a instanceof g.Bg)return Kg(a,Eg(b||g.z,c||null,d)),!0;if(zg(a))return a.then(b,c,d),!0;if(g.Ka(a))try{var e=a.then;if(g.Ja(e))return sba(a,e,b,c,d),!0}catch(f){return c.call(d,f),!0}return!1};
sba=function(a,b,c,d,e){function f(m){l||(l=!0,d.call(e,m))}
function k(m){l||(l=!0,c.call(e,m))}
var l=!1;try{b.call(a,k,f)}catch(m){f(m)}};
Qg=function(a){a.F||(a.F=!0,g.vg(a.H,a))};
Og=function(a){var b=null;a.A&&(b=a.A,a.A=b.next,b.next=null);a.A||(a.B=null);return b};
Pg=function(a,b,c,d){if(3==c&&b.onRejected&&!b.A)for(;a&&a.D;a=a.C)a.D=!1;if(b.o)b.o.C=null,Sg(b,c,d);else try{b.A?b.C.call(b.context):Sg(b,c,d)}catch(e){Tg.call(null,e)}mg(Dg,b)};
Sg=function(a,b,c){2==b?a.C.call(a.context,c):a.onRejected&&a.onRejected.call(a.context,c)};
rba=function(a,b){a.D=!0;g.vg(function(){a.D&&Tg.call(null,b)})};
Rg=function(a){Pa.call(this,a)};
oba=function(a,b,c){this.o=a;this.resolve=b;this.reject=c};
g.Ug=function(a,b){g.jg.call(this);this.Fd=a||1;this.ao=b||g.x;this.oA=(0,g.A)(this.nd,this);this.KC=(0,g.H)()};
g.Vg=function(a,b,c){if(g.Ja(a))c&&(a=(0,g.A)(a,c));else if(a&&"function"==typeof a.handleEvent)a=(0,g.A)(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:g.x.setTimeout(a,b||0)};
g.Wg=function(a){g.x.clearTimeout(a)};
tba=function(){var a=null;return g.Mg(new g.Bg(function(b,c){a=g.Vg(function(){b("NO_BID")},1E3);
-1==a&&c(Error("Failed to schedule timer."))}),function(b){g.Wg(a);
throw b;})};
Xg=function(){return Math.round((0,g.H)()/1E3)};
uba=function(a){var b=window.performance&&window.performance.timing&&window.performance.timing.domLoading&&0<window.performance.timing.domLoading?Math.round(window.performance.timing.domLoading/1E3):null;return null!=b?b:null!=a?a:Xg()};
vba=function(){this.A=-1};
wba=function(a){return/^\s*$/.test(a)?!1:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/(?:"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)[\s\u2028\u2029]*(?=:|,|]|}|$)/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,""))};
xba=function(a){try{return g.x.JSON.parse(a)}catch(d){var b=d}a=String(a);if(wba(a))try{var c=eval("("+a+")");b&&Yg("Invalid JSON: "+a,b);return c}catch(d){}throw Error("Invalid JSON string: "+a);};
g.$g=function(a){var b=[];Zg(new yba,a,b);return b.join("")};
yba=function(){};
Zg=function(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(g.Ga(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f<b;f++)c.push(e),Zg(a,d[f],c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");e="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(f=b[d],"function"!=typeof f&&(c.push(e),ah(d,c),c.push(":"),Zg(a,f,c),e=","));c.push("}");return}}switch(typeof b){case "string":ah(b,c);break;case "number":c.push(isFinite(b)&&
!isNaN(b)?String(b):"null");break;case "boolean":c.push(String(b));break;case "function":c.push("null");break;default:throw Error("Unknown type: "+typeof b);}}};
ah=function(a,b){b.push('"',a.replace(zba,function(c){var d=bh[c];d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).substr(1),bh[c]=d);return d}),'"')};
ch=function(a){this.o=a||{cookie:""}};
dh=function(a){a=(a.o.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=Hb(a[f]),d=e.indexOf("="),-1==d?(b.push(""),c.push(e)):(b.push(e.substring(0,d)),c.push(e.substring(d+1)));return{keys:b,values:c}};
g.eh=function(a,b,c,d,e,f,k){var l="";a&&(l+=a+":");c&&(l+="//",b&&(l+=b+"@"),l+=c,d&&(l+=":"+d));e&&(l+=e);f&&(l+="?"+f);k&&(l+="#"+k);return l};
g.fh=function(a){return a.match(Aba)};
g.gh=function(a){return a?decodeURI(a):a};
g.hh=function(a){return g.gh(g.fh(a)[3]||null)};
g.ih=function(a){return Number(g.fh(a)[4]||null)||null};
jh=function(a,b){if(a)for(var c=a.split("&"),d=0;d<c.length;d++){var e=c[d].indexOf("="),f=null;if(0<=e){var k=c[d].substring(0,e);f=c[d].substring(e+1)}else k=c[d];b(k,f?sc(f):"")}};
kh=function(a){var b=a.indexOf("#");0>b&&(b=a.length);var c=a.indexOf("?");if(0>c||c>b){c=b;var d=""}else d=a.substring(c+1,b);return[a.substr(0,c),d,a.substr(b)]};
lh=function(a,b){return b?a?a+"&"+b:b:a};
mh=function(a,b){if(!b)return a;var c=kh(a);c[1]=lh(c[1],b);return c[0]+(c[1]?"?"+c[1]:"")+c[2]};
nh=function(a,b,c){if(g.Ga(b))for(var d=0;d<b.length;d++)nh(a,String(b[d]),c);else null!=b&&c.push(a+(""===b?"":"="+g.rc(b)))};
oh=function(a,b){for(var c=[],d=b||0;d<a.length;d+=2)nh(a[d],a[d+1],c);return c.join("&")};
g.ph=function(a){var b=[],c;for(c in a)nh(c,a[c],b);return b.join("&")};
qh=function(a,b){var c=2==arguments.length?oh(arguments[1],0):oh(arguments,1);return mh(a,c)};
g.rh=function(a,b){var c=g.ph(b);return mh(a,c)};
sh=function(a,b,c,d){for(var e=c.length;0<=(b=a.indexOf(c,b))&&b<d;){var f=a.charCodeAt(b-1);if(38==f||63==f)if(f=a.charCodeAt(b+e),!f||61==f||38==f||35==f)return b;b+=e+1}return-1};
uh=function(a,b){var c=a.search(th),d=sh(a,0,b,c);if(0>d)return null;var e=a.indexOf("&",d);if(0>e||e>c)e=c;d+=b.length+1;return sc(a.substr(d,e-d))};
g.vh=function(a,b){for(var c=a.search(th),d=0,e,f=[];0<=(e=sh(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(Bba,"$1")};
wh=function(a,b,c){a=g.vh(a,b);c=null!=c?"="+g.rc(c):"";return mh(a,b+c)};
Cba=function(a,b){var c=kh(a),d=c[1],e=[];d&&(0,g.C)(d.split("&"),function(f){var k=f.indexOf("=");b.hasOwnProperty(0<=k?f.substr(0,k):f)||e.push(f)});
c[1]=lh(e.join("&"),g.ph(b));return c[0]+(c[1]?"?"+c[1]:"")+c[2]};
xh=function(){this.o={};return this};
yh=function(a,b){a.o.eb=gc(a.o,"eb",0)|b};
g.zh=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};
Ah=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};
Bh=function(a,b,c){b instanceof g.Od?(a.left+=b.x,a.right+=b.x,a.top+=b.y,a.bottom+=b.y):(a.left+=b,a.right+=b,g.Ca(c)&&(a.top+=c,a.bottom+=c));return a};
g.Ch=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};
g.Dh=function(a){return new g.zh(a.top,a.left+a.width,a.top+a.height,a.left)};
g.Eh=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.Fh=function(a){return new g.Od(a.left,a.top)};
Dba=function(){this.o={};this.A=0};
Gh=function(a,b){this.D=a;this.C=!0;this.o=b};
Hh=function(a,b){Gh.call(this,String(a),b);this.B=a;this.o=!!b};
Ih=function(a,b){Gh.call(this,a,b)};
Jh=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 Ih("",new g.Ch(c,b,Number(a[3])-c,Number(a[2])-b))}return new Ih("",new g.Ch(0,0,0,0))};
Mh=function(){Kh||(Kh=new Dba);return Kh};
Nh=function(a,b){a.o[b.D]=b};
g.Ph=function(a,b,c){if(g.v(b))(b=Oh(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=Oh(c,d);f&&(c.style[f]=e)}};
Oh=function(a,b){var c=Qh[b];if(!c){var d=Cc(b);c=d;void 0===a.style[d]&&(d=(g.fe?"Webkit":g.Rh?"Moz":g.de?"ms":g.Kf?"O":null)+uaa(d),void 0!==a.style[d]&&(c=d));Qh[b]=c}return c};
Sh=function(a,b){var c=a.style[Cc(b)];return"undefined"!==typeof c?c:a.style[Oh(a,b)]||""};
Th=function(a,b){var c=Ud(a);return c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,null))?c[b]||c.getPropertyValue(b)||"":""};
g.Uh=function(a,b){return Th(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]};
g.Wh=function(a,b,c){if(b instanceof g.Od){var d=b.x;b=b.y}else d=b,b=c;a.style.left=Vh(d,!1);a.style.top=Vh(b,!1)};
Xh=function(a){return new g.Od(a.offsetLeft,a.offsetTop)};
Yh=function(a){try{var b=a.getBoundingClientRect()}catch(c){return{left:0,top:0,right:0,bottom:0}}g.de&&a.ownerDocument.body&&(a=a.ownerDocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+a.body.clientTop);return b};
Zh=function(a){if(g.de&&!g.Mc(8))return a.offsetParent;var b=Ud(a),c=g.Uh(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.Uh(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};
ai=function(a){for(var b=new g.zh(0,Infinity,Infinity,0),c=Wd(a),d=c.o.body,e=c.o.documentElement,f=ce(c.o);a=Zh(a);)if(!(g.de&&0==a.clientWidth||g.fe&&0==a.clientHeight&&a==d)&&a!=d&&a!=e&&"visible"!=g.Uh(a,"overflow")){var k=g.$h(a),l=new g.Od(a.clientLeft,a.clientTop);k.x+=l.x;k.y+=l.y;b.top=Math.max(b.top,k.y);b.right=Math.min(b.right,k.x+a.clientWidth);b.bottom=Math.min(b.bottom,k.y+a.clientHeight);b.left=Math.max(b.left,k.x)}d=f.scrollLeft;f=f.scrollTop;b.left=Math.max(b.left,d);b.top=Math.max(b.top,
f);c=be(Ge(c)||window);b.right=Math.min(b.right,d+c.width);b.bottom=Math.min(b.bottom,f+c.height);return 0<=b.top&&0<=b.left&&b.bottom>b.top&&b.right>b.left?b:null};
g.$h=function(a){var b=Ud(a),c=new g.Od(0,0);var d=b?Ud(b):document;d=!g.de||g.Mc(9)||ae(Wd(d).o)?d.documentElement:d.body;if(a==d)return c;a=Yh(a);b=ee(Wd(b).o);c.x=a.left+b.x;c.y=a.top+b.y;return c};
ci=function(a,b){var c=new g.Od(0,0),d=ge(Ud(a));if(!Ic(d,"parent"))return c;var e=a;do{var f=d==b?g.$h(e):bi(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.ei=function(a,b){var c=di(a),d=di(b);return new g.Od(c.x-d.x,c.y-d.y)};
bi=function(a){a=Yh(a);return new g.Od(a.left,a.top)};
di=function(a){if(1==a.nodeType)return bi(a);a=a.changedTouches?a.changedTouches[0]:a;return new g.Od(a.clientX,a.clientY)};
g.gi=function(a,b,c){if(b instanceof g.Qd)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");g.fi(a,b);a.style.height=Vh(c,!0)};
Vh=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a};
g.fi=function(a,b){a.style.width=Vh(b,!0)};
g.hi=function(a){var b=Eba;if("none"!=g.Uh(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};
Eba=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=g.fe&&!b&&!c;return g.Aa(b)&&!d||!a.getBoundingClientRect?new g.Qd(b,c):(a=Yh(a),new g.Qd(a.right-a.left,a.bottom-a.top))};
g.ii=function(a){var b=g.$h(a);a=g.hi(a);return new g.Ch(b.x,b.y,a.width,a.height)};
g.ji=function(a,b){var c=a.style;"opacity"in c?c.opacity=b:"MozOpacity"in c?c.MozOpacity=b:"filter"in c&&(c.filter=""===b?"":"alpha(opacity="+100*Number(b)+")")};
g.M=function(a,b){a.style.display=b?"":"none"};
g.ki=function(a){return"none"!=a.style.display};
oi=function(a){var b=Ud(a),c=g.de&&a.currentStyle;if(c&&ae(Wd(b).o)&&"auto"!=c.width&&"auto"!=c.height&&!c.boxSizing)return b=g.li(a,c.width,"width","pixelWidth"),a=g.li(a,c.height,"height","pixelHeight"),new g.Qd(b,a);c=new g.Qd(a.offsetWidth,a.offsetHeight);if(g.de){b=mi(a,"paddingLeft");var d=mi(a,"paddingRight"),e=mi(a,"paddingTop"),f=mi(a,"paddingBottom");b=new g.zh(e,d,f,b)}else b=Th(a,"paddingLeft"),d=Th(a,"paddingRight"),e=Th(a,"paddingTop"),f=Th(a,"paddingBottom"),b=new g.zh(parseFloat(e),
parseFloat(d),parseFloat(f),parseFloat(b));g.de&&!g.Mc(9)?(d=ni(a,"borderLeft"),e=ni(a,"borderRight"),f=ni(a,"borderTop"),a=ni(a,"borderBottom"),a=new g.zh(f,e,a,d)):(d=Th(a,"borderLeftWidth"),e=Th(a,"borderRightWidth"),f=Th(a,"borderTopWidth"),a=Th(a,"borderBottomWidth"),a=new g.zh(parseFloat(f),parseFloat(e),parseFloat(a),parseFloat(d)));return new g.Qd(c.width-a.left-b.left-b.right-a.right,c.height-a.top-b.top-b.bottom-a.bottom)};
g.li=function(a,b,c,d){if(/^\d+px?$/.test(b))return parseInt(b,10);var e=a.style[c],f=a.runtimeStyle[c];a.runtimeStyle[c]=a.currentStyle[c];a.style[c]=b;b=a.style[d];a.style[c]=e;a.runtimeStyle[c]=f;return+b};
mi=function(a,b){var c=a.currentStyle?a.currentStyle[b]:null;return c?g.li(a,c,"left","pixelLeft"):0};
ni=function(a,b){if("none"==(a.currentStyle?a.currentStyle[b+"Style"]:null))return 0;var c=a.currentStyle?a.currentStyle[b+"Width"]:null;return c in pi?pi[c]:g.li(a,c,"left","pixelLeft")};
qi=function(a){var b=new g.Ch(-Number.MAX_VALUE/2,-Number.MAX_VALUE/2,Number.MAX_VALUE,Number.MAX_VALUE),c=new g.Ch(0,0,0,0);if(!a||0==a.length)return c;for(var d=0;d<a.length;d++){a:{var e=b;var f=a[d],k=Math.max(e.left,f.left),l=Math.min(e.left+e.width,f.left+f.width);if(k<=l){var m=Math.max(e.top,f.top);f=Math.min(e.top+e.height,f.top+f.height);if(m<=f){e.left=k;e.top=m;e.width=l-k;e.height=f-m;e=!0;break a}}e=!1}if(!e)return c}return b};
ri=function(a,b){var c=a.getBoundingClientRect(),d=ci(a,b);return new g.Ch(Math.round(d.x),Math.round(d.y),Math.round(c.right-c.left),Math.round(c.bottom-c.top))};
si=function(a,b,c){if(b&&c){a:{var d=Math.max(b.left,c.left);var e=Math.min(b.left+b.width,c.left+c.width);if(d<=e){var f=Math.max(b.top,c.top),k=Math.min(b.top+b.height,c.top+c.height);if(f<=k){d=new g.Ch(d,f,e-d,k-f);break a}}d=null}e=d?d.height*d.width:0;f=d?b.height*b.width:0;d=d&&f?Math.round(e/f*100):0;Nh(a,new Gh("vp",d));d&&0<d?(e=g.Dh(b),f=g.Dh(c),e=e.top>=f.top&&e.top<f.bottom):e=!1;Nh(a,new Hh(512,e));d&&0<d?(e=g.Dh(b),f=g.Dh(c),e=e.bottom<=f.bottom&&e.bottom>f.top):e=!1;Nh(a,new Hh(1024,
e));d&&0<d?(e=g.Dh(b),f=g.Dh(c),e=e.left>=f.left&&e.left<f.right):e=!1;Nh(a,new Hh(2048,e));d&&0<d?(b=g.Dh(b),c=g.Dh(c),c=b.right<=c.right&&b.right>c.left):c=!1;Nh(a,new Hh(4096,c))}};
Fba=function(a,b){var c=0;g.Wb(ge(),"ima","video","client","tagged")&&(c=1);var d=null;a&&(d=a());if(d){var e=d;d=Mh();d.o={};var f=new Hh(32,!0);f.C=!1;Nh(d,f);f=ge().document;f=f.visibilityState||f.webkitVisibilityState||f.mozVisibilityState||f.msVisibilityState||"";Nh(d,new Hh(64,"hidden"!=f.toLowerCase().substring(f.length-6)?!0:!1));try{var k=ge().top;try{var l=!!k.location.href||""===k.location.href}catch(q){l=!1}if(l){var m=Df(e);var n=m&&0!=m.length?"1":"0"}else n="2"}catch(q){n="2"}Nh(d,
new Hh(256,"2"==n));Nh(d,new Hh(128,"1"==n));m=l=ge().top;"2"==n&&(m=ge());k=ri(e,m);Nh(d,new Ih("er",k));try{var p=m.document&&!m.document.body?null:be(m||window)}catch(q){p=null}p?(m=ee(Wd(m.document).o),Nh(d,new Hh(16384,!!m)),p=m?new g.Ch(m.x,m.y,p.width,p.height):null):p=null;Nh(d,new Ih("vi",p));if(p&&"1"==n){n=Df(e);e=[];for(m=0;m<n.length;m++)(f=ri(n[m],l))&&e.push(f);e.push(p);p=qi(e)}si(d,k,p);d.A&&(n=Xg()-d.A,Nh(d,new Gh("ts",n)));d.A=Xg()}else d=Mh(),d.o={},d.A=Xg(),Nh(d,new Hh(32,!1));
this.C=d;this.o=new xh;this.o.set("ve",4);c&&yh(this.o,1);g.Wb(ge(),"ima","video","client","crossdomainTag")&&yh(this.o,4);g.Wb(ge(),"ima","video","client","sdkTag")&&yh(this.o,8);g.Wb(ge(),"ima","video","client","jsTag")&&yh(this.o,2);b&&gc(b,"fullscreen",!1)&&yh(this.o,16);this.A=d=null;if(c&&(c=g.Wb(ge(),"ima","video","client"),c.getEData)){this.A=c.getEData();if(c=g.Wb(ge(),"ima","video","client","getLastSnapshotFromTop"))if(n=c())this.A.extendWithDataFromTopIframe(n.tagstamp,n.playstamp,n.lactstamp),
c=this.C,d=n.er,n=n.vi,d&&n&&(d=Jh(d).getValue(),n=Jh(n).getValue(),e=null,gc(c.o,"er",null)&&(e=gc(c.o,"er",null).getValue(),e.top+=d.top,e.left+=d.left,Nh(c,new Ih("er",e))),gc(c.o,"vi",null)&&(p=gc(c.o,"vi",null).getValue(),p.top+=d.top,p.left+=d.left,l=[],l.push(p),l.push(d),l.push(n),d=qi(l),si(c,e,d),Nh(c,new Ih("vi",n))));a:{if(this.A){if(this.A.getTagLoadTimestamp){d=this.A.getTagLoadTimestamp();break a}if(this.A.getTimeSinceTagLoadSeconds){d=this.A.getTimeSinceTagLoadSeconds();break a}}d=
null}}this.o.set("td",Xg()-uba(d))};
Gba=function(a,b){try{var c=new Fba(a,b),d=[],e=Number(c.o.get("eb"));c.o.remove("eb");var f,k=c.o,l=[],m;for(m in k.o)l.push(m+k.o[m]);(f=l.join("_"))&&d.push(f);if(c.A){var n=c.A.serialize();n&&d.push(n)}var p,q=c.C;f=e;k=[];f||(f=0);for(var u in q.o){var w=q.o[u];if(w instanceof Hh)w.getValue()&&(f|=w.B);else{var D,F=q.o[u];(D=F.C?F.A():"")&&k.push(u+D)}}k.push("eb"+String(f));(p=k.join("_"))&&d.push(p);c.o.set("eb",e);return d.join("_")}catch(J){return"tle;"+vc(J.name,12)+";"+vc(J.message,40)}};
ti=function(a,b,c,d){if(d)c=a+("&"+b+"="+c);else{var e="&"+b+"=",f=a.indexOf(e);0>f?c=a+e+c:(f+=e.length,e=a.indexOf("&",f),c=0<=e?a.substring(0,f)+c+a.substring(e):a.substring(0,f)+c)}return 2E3<c.length?g.Aa(void 0)?ti(a,b,void 0,d):a:c};
ui=function(){};
vi=function(a){Hba();return ad(a)};
xi=function(){return!wi()&&(Lb("iPod")||Lb("iPhone")||Lb("Android")||Lb("IEMobile"))};
wi=function(){return Lb("iPad")||Lb("Android")&&!Lb("Mobile")||Lb("Silk")};
yi=function(a){try{return!!a&&null!=a.location.href&&Ic(a,"foo")}catch(b){return!1}};
zi=function(a,b){if(a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&b.call(void 0,a[c],c,a)};
Jba=function(){var a=[];zi(Iba,function(b){a.push(b)});
return a};
Lba=function(a){return(a=Kba.exec(a))&&a[0]||""};
Mba=function(){var a=g.x;try{for(var b=null;b!=a;b=a,a=a.parent)switch(a.location.protocol){case "https:":return!0;case "file:":return!1;case "http:":return!1}}catch(c){}return!0};
Nba=function(){var a=Ai;if(!a)return"";var b=/.*[&#?]google_debug(=[^&]*)?(&.*)?$/;try{var c=b.exec(decodeURIComponent(a));if(c)return c[1]&&1<c[1].length?c[1].substring(1):"true"}catch(d){}return""};
Pba=function(){var a=g.ke("IFRAME").sandbox,b=a&&a.supports;if(!b)return{};var c={};(0,g.C)(Oba(),function(d){b.call(a,d)&&(c[d]=!0)});
return c};
Bi=function(a){return a?a.passive&&Qba()?a:a.capture||!1:!1};
Ci=function(a,b,c,d){return a.addEventListener?(a.addEventListener(b,c,Bi(d)),!0):!1};
Di=function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,Bi(void 0))};
Ei=function(a,b){a.google_image_requests||(a.google_image_requests=[]);var c=a.document.createElement("img");c.src=b;a.google_image_requests.push(c)};
Fi=function(a){a=void 0===a?g.x:a;var b=a.context||a.AMP_CONTEXT_DATA;if(!b)try{b=a.parent.context||a.parent.AMP_CONTEXT_DATA}catch(c){}try{if(b&&b.pageViewId&&b.canonicalUrl)return b}catch(c){}return null};
Gi=function(a){a.u_tz=-(new Date).getTimezoneOffset();var b=void 0===b?N:b;try{var c=b.history.length}catch(d){c=0}a.u_his=c;if(c=!!N.navigator)c="unknown"!==typeof N.navigator.javaEnabled;a.u_java=c&&!!N.navigator.javaEnabled&&N.navigator.javaEnabled();N.screen&&(a.u_h=N.screen.height,a.u_w=N.screen.width,a.u_ah=N.screen.availHeight,a.u_aw=N.screen.availWidth,a.u_cd=N.screen.colorDepth);N.navigator&&N.navigator.plugins&&(a.u_nplug=N.navigator.plugins.length);N.navigator&&N.navigator.mimeTypes&&(a.u_nmime=
N.navigator.mimeTypes.length)};
Ki=function(){if(Hi&&!yi(Ii)){var a="."+Ji.domain;try{for(;2<a.split(".").length&&!yi(Ii);)Ji.domain=a=a.substr(a.indexOf(".")+1),Ii=window.parent}catch(b){}yi(Ii)||(Ii=window)}return Ii};
Mi=function(){var a=window.event||Li;if(!a)return null;var b;(b=a.which?1<<Rba[a.which-1]:a.button)&&a.shiftKey&&(b|=8);b&&a.altKey&&(b|=16);b&&a.ctrlKey&&(b|=32);return b};
Ni=function(a,b,c){a&&null!==b&&b!=b.top&&(b=b.top);try{return(void 0===c?0:c)?(new g.Qd(b.innerWidth,b.innerHeight)).round():be(b||window).round()}catch(d){return new g.Qd(-12245933,-12245933)}};
Oi=function(a,b,c){try{a&&(b=b.top);var d=Ni(a,b,void 0===c?!1:c),e=ee(Wd(b.document).o);if(-12245933==d.width){var f=d.width;var k=new g.zh(f,f,f,f)}else k=new g.zh(e.y,e.x+d.width,e.y+d.height,e.x);return k}catch(l){return new g.zh(-12245933,-12245933,-12245933,-12245933)}};
Sba=function(a){var b={};(0,g.C)(a,function(c){var d=c.event,e=b[d];b.hasOwnProperty(d)?null===e||c.o(e)||(b[d]=null):b[d]=c});
fb(a,function(c){return null===b[c.event]})};
Pi=function(){this.vb=0;this.A=!1;this.C=-1;this.Mi=!1;this.o=0};
Qi=function(a){this.B=a;this.o=null;this.A=!1;this.C=null};
Ri=function(a){a.A=!0;return a};
Si=function(a,b){a.C=void 0===b?null:b};
Ti=function(a,b){null===a.o&&g.Yb(a.B,b)&&(a.o=b)};
Tba=function(a,b){a.C&&(0,g.C)(b,function(c){c=a.C[c];void 0!==c&&Ti(a,c)})};
Wi=function(){this.o={};this.A=!0;this.C={}};
Xi=function(a,b,c){a.o[b]||(a.o[b]=new Qi(c));return a.o[b]};
Yi=function(a,b){if(Xb(a.C,b))return a.C[b];var c=a.o[b];if(c)return c.getValue()};
Zi=function(a){var b={},c=g.Nb(a.o,function(d){return d.A});
g.Mb(c,function(d,e){var f=void 0!==a.C[e]?String(a.C[e]):d.A&&null!==d.o?String(d.o):"";0<f.length&&(b[e]=f)},a);
return b};
Uba=function(a){a=Zi(a);var b=[];g.Mb(a,function(c,d){d in Object.prototype||"undefined"!=typeof c&&b.push([d,":",c].join(""))});
return b};
Vba=function(a,b){a.A&&(0,g.C)(g.Ub(a.o),function(c){return Tba(c,b)})};
$i=function(){return(0,g.H)()-Wba};
ej=function(a){var b=0<=aj?$i()-aj:-1,c=bj?$i()-cj:-1,d=0<=dj?$i()-dj:-1;if(947190542==a)return 100;if(79463069==a)return 200;a=[2E3,4E3];var e=[250,500,1E3];var f=b;-1!=c&&c<b&&(f=c);for(b=0;b<a.length;++b)if(f<a[b]){var k=e[b];break}void 0===k&&(k=e[a.length]);return-1!=d&&1500<d&&4E3>d?500:k};
fj=function(){};
gj=function(){if(!N||!N.performance)throw Error();};
hj=function(a){return{visible:1,hidden:2,prerender:3,preview:4,unloaded:5}[a.visibilityState||a.webkitVisibilityState||a.mozVisibilityState||""]||0};
ij=function(a){var b;a.visibilityState?b="visibilitychange":a.mozVisibilityState?b="mozvisibilitychange":a.webkitVisibilityState&&(b="webkitvisibilitychange");return b};
jj=function(){};
kj=function(){return 0===hj(Ji)};
nj=function(a){a=a||lj();for(var b=new mj(g.x.location.href,g.x,!1),c=null,d=a.length-1,e=d;0<=e;--e){var f=a[e];!c&&Xba.test(f.url)&&(c=f);if(f.url&&!f.Iv){b=f;break}}e=null;f=a.length&&a[d].url;0!=b.depth&&f&&(e=a[d]);return new Yba(b,e,c)};
lj=function(){var a=g.x,b=[],c=null;do{var d=a;if(yi(d)){var e=d.location.href;c=d.document&&d.document.referrer||null}else e=c,c=null;b.push(new mj(e||"",d));try{a=d.parent}catch(f){a=null}}while(a&&d!=a);d=0;for(a=b.length-1;d<=a;++d)b[d].depth=a-d;d=g.x;if(d.location&&d.location.ancestorOrigins&&d.location.ancestorOrigins.length==b.length-1)for(a=1;a<b.length;++a)e=b[a],e.url||(e.url=d.location.ancestorOrigins[a-1]||"",e.Iv=!0);return b};
Yba=function(a,b,c){this.o=a;this.A=b;this.C=c};
mj=function(a,b,c){this.url=a;this.Md=b;this.Iv=!!c;this.depth=g.Ca(void 0)?void 0:null};
oj=function(){this.A="&";this.B=g.Aa(void 0)?void 0:"trn";this.D=!1;this.C={};this.F=0;this.o=[]};
pj=function(a,b){var c={};c[a]=b;return[c]};
rj=function(a,b,c,d,e){var f=[];zi(a,function(k,l){var m=qj(k,b,c,d,e);m&&f.push(l+"="+m)});
return f.join(b)};
qj=function(a,b,c,d,e){if(null==a)return"";b=b||"&";c=c||",$";"string"==typeof c&&(c=c.split(""));if(a instanceof Array){if(d=d||0,d<c.length){for(var f=[],k=0;k<a.length;k++)f.push(qj(a[k],b,c,d+1,e));return f.join(c[d])}}else if("object"==typeof a)return e=e||0,2>e?encodeURIComponent(rj(a,b,c,d,e+1)):"...";return encodeURIComponent(String(a))};
sj=function(a,b,c){a.o.push(b);a.C[b]=c};
tj=function(a,b,c,d){a.o.push(b);a.C[b]=pj(c,d)};
Zba=function(a){if(!a.B)return 4E3;var b=1,c;for(c in a.C)b=c.length>b?c.length:b;return 4E3-a.B.length-b-a.A.length-1};
uj=function(a,b){this.o=a;this.depth=b};
vj=function(a){function b(l,m){return null==l?m:l}
a=a||lj();var c=Math.max(a.length-1,0),d=nj(a);a=d.o;var e=d.A,f=d.C,k=[];f&&k.push(new uj([f.url,f.Iv?2:0],b(f.depth,1)));e&&e!=f&&k.push(new uj([e.url,2],0));a.url&&a!=f&&k.push(new uj([a.url,0],b(a.depth,c)));d=(0,g.I)(k,function(l,m){return k.slice(0,k.length-m)});
!a.url||(f||e)&&a!=f||(e=Lba(a.url))&&d.push([new uj([e,1],b(a.depth,c))]);d.push([]);return(0,g.I)(d,function(l){return $ba(c,l)})};
$ba=function(a,b){(0,g.wj)(b,function(e){return 0<=e.depth});
var c=(0,g.xj)(b,function(e,f){return Math.max(e,f.depth)},-1),d=naa(c+2);
d[0]=a;(0,g.C)(b,function(e){return d[e.depth+1]=e.o});
return d};
aca=function(){var a=vj();return(0,g.I)(a,function(b){return qj(b)})};
yj=function(){this.o=new jj;N&&N.performance&&new gj};
bca=function(){zj();var a=N.document;return!!(a&&a.body&&a.body.getBoundingClientRect&&g.Ja(N.setInterval)&&g.Ja(N.clearInterval)&&g.Ja(N.setTimeout)&&g.Ja(N.clearTimeout))};
Aj=function(){zj();return aca()};
Bj=function(){};
zj=function(){return Bj.getInstance().getContext()};
Cj=function(a){for(var b=0,c=a,d=0;a&&a!=a.parent;)a=a.parent,d++,yi(a)&&(c=a,b=d);return{Md:c,level:b}};
Dj=function(){var a=N!==N.top,b=N.top===Cj(N).Md;if(a&&b&&null!=N.top.mraid)return{Jw:N.top.mraid,Rx:3};var c=N.mraid;return null!=c?a?b?{Jw:c,Rx:2}:{Jw:c,Rx:1}:{Jw:c,Rx:0}:null};
Ej=function(a){return(a=a.document)&&g.Ja(a.elementFromPoint)};
Fj=function(a,b){this.A=(void 0===a?0:a)||0;this.o=(void 0===b?"":b)||""};
Hj=function(){this.B=void 0;this.F=0;this.A=new Fj(0,"");this.o=0;this.bb="ns";this.D=-1;this.C="";this.Ua=new Wi;Si(Ri(Xi(this.Ua,"nio_mode",Gj)),cca);Si(Ri(Xi(this.Ua,"geo_mode",Gj)),dca);Si(Ri(Xi(this.Ua,"aio_mode",Gj)),eca);Si(Ri(Xi(this.Ua,"mv",fca)),gca);Xi(this.Ua,"omid",Gj);Ri(Xi(this.Ua,"osd",Gj));Ri(Xi(this.Ua,"epoh",Gj));Ri(Xi(this.Ua,"epph",Gj));Ri(Xi(this.Ua,"me",Gj));Si(Ri(Xi(this.Ua,"umt",Gj)),hca);Si(Ri(Xi(this.Ua,"gmpd",Gj)),ica);Si(Ri(Xi(this.Ua,"sel",Gj)),jca);Si(Ri(Xi(this.Ua,
"mce",Gj)),kca);Si(Ri(Xi(this.Ua,"buvpe",Gj)),lca);Ri(Xi(this.Ua,"phel",Gj));Ri(Xi(this.Ua,"phell",Gj));Ri(Xi(this.Ua,"oseid",mca));Si(Ri(Xi(this.Ua,"xefp",Gj)),nca);Si(Ri(Xi(this.Ua,"efp_mode",Gj)),oca);Ri(Xi(this.Ua,"xdi",Gj));Ri(Xi(this.Ua,"amp",Gj));Ri(Xi(this.Ua,"uup",Gj))};
pca=function(){var a="https:";N&&N.location&&"http:"===N.location.protocol&&(a="http:");this.A=a;this.o=.01};
Ij=function(a,b,c,d){if(Math.random()<(d||a.o))try{if(c instanceof oj)var e=c;else e=new oj,zi(c,function(k,l){var m=e,n=m.F++;sj(m,n,pj(l,k))});
var f=e.Xa(a.A,"pagead2.googlesyndication.com","/pagead/gen_204?id="+b+"&","");f&&zj().Rn(f)}catch(k){}};
Jj=function(a,b,c){c=void 0===c?{}:c;this.error=a;this.context=b.context;this.msg=b.message||"";this.id=b.id||"jserror";this.meta=c};
Kj=function(a){return!!(a.error&&a.meta&&a.id)};
Lj=function(){var a=g.x.performance;return a&&a.now&&a.timing?Math.floor(a.now()+a.timing.navigationStart):(0,g.H)()};
Mj=function(){var a=void 0===a?g.x:a;return(a=a.performance)&&a.now?a.now():null};
Nj=function(a,b,c,d,e){this.label=a;this.type=b;this.value=c;this.duration=void 0===d?0:d;this.uniqueId=this.label+"_"+this.type+"_"+Math.random();this.slotId=e};
Pj=function(a,b){this.events=[];this.o=b||g.x;var c=null;b&&(b.google_js_reporting_queue=b.google_js_reporting_queue||[],this.events=b.google_js_reporting_queue,c=b.google_measure_js_timing);this.A=Oj()||(null!=c?c:Math.random()<a)};
Rj=function(a){a&&Qj&&Oj()&&(Qj.clearMarks("goog_"+a.uniqueId+"_start"),Qj.clearMarks("goog_"+a.uniqueId+"_end"))};
Uj=function(){var a=Sj;this.B=Tj;this.C="jserror";this.A=!0;this.o=null;this.D=this.Tg;this.Ea=void 0===a?null:a};
Vj=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};
Wj=function(a){Jj.call(this,Error(a),{message:a})};
Xj=function(a,b,c,d){if(Math.random()<(d||.01))try{if(c instanceof oj)var e=c;else e=new oj,zi(c,function(k,l){var m=e,n=m.F++;sj(m,n,pj(l,k))});
var f=e.Xa(a.o,"pagead2.googlesyndication.com","/pagead/gen_204?id="+b+"&","");f&&Ei(g.x,f)}catch(k){}};
ak=function(){var a=Yj;this.B=Zj;this.C="jserror";this.A=!0;this.o=null;this.D=this.Tg;this.Ea=void 0===a?null:a};
bk=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};
ck=function(){var a=Ki();a&&"undefined"!=typeof a.google_measure_js_timing&&(a.google_measure_js_timing||Sj.disable())};
qca=function(a){dk.Hx(function(b){(0,g.C)(a,function(c){c(b)})})};
ek=function(a,b){return dk.kj(a,b,void 0,void 0)};
fk=function(a,b,c,d){return dk.lx(a,b,c,d)};
gk=function(a,b){dk.Tg(a,b,void 0,void 0)};
hk=function(a,b,c,d){var e=void 0===e?!1:e;c=fk(d,c);Ci(a,b,c,{capture:e});return c};
ik=function(a){var b=Hj.getInstance().A;b&&(b.A&&(a[4]=b.A),b.o&&(a[12]=b.o))};
jk=function(a){var b=[];g.Mb(a,function(c,d){var e=encodeURIComponent(d),f=c;g.v(f)&&(f=encodeURIComponent(f));b.push(e+"="+f)});
b.push("24="+(0,g.H)());return b.join("\n")};
kk=function(a,b,c,d){if(!a)return{value:d,done:!1};d=b(d,a);var e=c(d,a);return!e&&Ic(a,"parentElement")?kk(g.ve(a),b,c,d):{done:e,value:d}};
lk=function(a,b,c,d){if(!a)return d;d=kk(a,b,c,d);if(!d.done)try{var e=Ud(a),f=e&&ge(e);return lk(f&&f.frameElement,b,c,d.value)}catch(k){}return d.value};
rca=function(a){var b=!g.de||g.Lc(8);return lk(a,function(c,d){var e=Ic(d,"style")&&d.style&&Sh(d,"visibility");return{hidden:"hidden"===e,visible:b&&"visible"===e}},function(c){return c.hidden||c.visible},{hidden:!1,
visible:!1}).hidden};
sca=function(a){return lk(a,function(b,c){return!(!Ic(c,"style")||!c.style||"none"!==Sh(c,"display"))},function(b){return b},!1)?!0:rca(a)};
mk=function(a){return new g.zh(a.top,a.right,a.bottom,a.left)};
nk=function(a){return null!=a&&0<=a&&1>=a};
ok=function(){var a=zj().o;return kj()?-1:a.isVisible()?0:1};
pk=function(a){if(!a)return null;a=a.split("-");return 4==a.length?new g.zh(g.Bc(a[0]),g.Bc(a[3]),g.Bc(a[2]),g.Bc(a[1])):null};
tca=function(a){void 0!=a&&("?"===a.charAt(0)&&(a=a.substring(1)),jh(a,function(b,c){return c}))};
qk=function(a,b){try{try{var c=mk(a.getBoundingClientRect())}catch(m){c=new g.zh(0,0,0,0)}var d=c.right-c.left,e=c.bottom-c.top,f=ci(a,b),k=f.x,l=f.y;return new g.zh(Math.round(l),Math.round(k+d),Math.round(l+e),Math.round(k))}catch(m){return uca.clone()}};
rk=function(a,b){return a.left<=b.right&&b.left<=a.right&&a.top<=b.bottom&&b.top<=a.bottom?new g.zh(Math.max(a.top,b.top),Math.min(a.right,b.right),Math.min(a.bottom,b.bottom),Math.max(a.left,b.left)):new g.zh(0,0,0,0)};
tk=function(a,b){var c=sk(b);return 0===c?0:sk(a)/c};
sk=function(a){return Math.max(a.bottom-a.top,0)*Math.max(a.right-a.left,0)};
vca=function(a,b){if(!a||!b)return!1;for(var c=0;null!==a&&100>c++;){if(a===b)return!0;try{if(a=g.ve(a)||a){var d=Ud(a),e=d&&ge(d),f=e&&e.frameElement;f&&(a=f)}}catch(k){break}}return!1};
wca=function(a,b,c){if(!a||!b)return!1;b=Bh(a.clone(),-b.left,-b.top);a=(b.left+b.right)/2;b=(b.top+b.bottom)/2;var d=Ki();yi(d.top)&&d.top&&d.top.document&&(d=d.top);if(!Ej(d))return!1;a=d.document.elementFromPoint(a,b);if(!a)return!1;b=(b=(b=Ud(c))&&b.defaultView&&b.defaultView.frameElement)&&vca(b,a);d=a===c;a=!d&&a&&De(a,function(e){return e===c});
return!(b||d||a)};
uk=function(a,b,c,d){return 4==Hj.getInstance().o?!1:0>=a.ab()||0>=a.getHeight()?!0:c&&d?ek(208,function(){return wca(a,b,c)}):!1};
vk=function(a,b,c){var d=void 0===d?null:d;this.time=a;this.volume=null;this.C=b;ok();this.o=null;this.A=d;this.B=c};
wk=function(a,b,c,d,e,f,k,l){this.F=a;this.G=b;this.B=c;this.o=d;this.A=e;this.C=f;this.D=l};
xca=function(){var a=g.Kb;return a?(0,g.xk)("AppleTV;GoogleTV;HbbTV;NetCast.TV;Opera TV;POV_TV;SMART-TV;SmartTV;TV Store;OMI/".split(";"),function(b){return Gb(a,b)})?!0:Gb(a,"Presto")&&Gb(a,"Linux")&&!Gb(a,"X11")&&!Gb(a,"Android")&&!Gb(a,"Mobi"):!1};
yk=function(){return Gb(g.Kb,"CrKey")||Gb(g.Kb,"PlayStation")||Gb(g.Kb,"Roku")||xca()||Gb(g.Kb,"Xbox")};
zk=function(){this.L=!1;this.A=!yi(N.top);this.M=wi()||xi();var a=lj();this.domain=0<a.length&&null!=a[a.length-1]&&null!=a[a.length-1].url?g.hh(a[a.length-1].url)||"":"";this.B=this.F=this.o=null;this.D=new g.zh(0,0,0,0);this.C=!1;this.K=this.G=null;this.H=0;this.J=!(!N||!Dj())};
Ak=function(a,b){a.F=b.screen?new g.Qd(b.screen.width,b.screen.height):null};
Bk=function(a,b){a.o=a.C&&a.A?a.G?a.G:new g.zh(0,0,0,0):Oi(!0,b,a.M)};
Ck=function(a,b){var c=a.o?new g.Qd(a.o.ab(),a.o.getHeight()):new g.Qd(0,0);var d=b;d=void 0===d?N:d;null!==d&&d!=d.top&&(d=d.top);var e=0,f=0;try{var k=d.document,l=k.body,m=k.documentElement;if("CSS1Compat"==k.compatMode&&m.scrollHeight)e=m.scrollHeight!=c.height?m.scrollHeight:m.offsetHeight,f=m.scrollWidth!=c.width?m.scrollWidth:m.offsetWidth;else{var n=m.scrollHeight,p=m.scrollWidth,q=m.offsetHeight,u=m.offsetWidth;m.clientHeight!=q&&(n=l.scrollHeight,p=l.scrollWidth,q=l.offsetHeight,u=l.offsetWidth);
n>c.height?n>q?(e=n,f=p):(e=q,f=u):n<q?(e=n,f=p):(e=q,f=u)}var w=new g.Qd(f,e)}catch(D){w=new g.Qd(-12245933,-12245933)}a.B=w};
Dk=function(){if(0<zk.getInstance().H)return!0;var a=zj().o.isVisible(),b=kj();return a||b};
Ek=function(a){this.C=a;this.A=0;this.o=null};
Fk=function(a,b,c){this.Md=a;this.O=void 0===c?"na":c;this.C=[];this.K=!1;this.o=new vk(-1,!0,this);this.A=this;this.G=this.B=b;this.L=this.M=this.F=!1;this.V="uk";this.Bb=!1};
Hk=function(a,b){a.L||(a.L=!0,a.V=b,a.G=0,a.Gr(),a.A==a&&(a.B=0,Gk(a)))};
Ik=function(a,b){g.Ya(a.C,b)||(a.C.push(b),b.Ah(a.A),b.Pg(a.o),b.rg()&&(a.F=!0))};
Jk=function(a,b){g.db(a.C,b);a.F&&b.rg()&&yca(a)};
yca=function(a){a.F=a.C.length?(0,g.xk)(a.C,function(b){return b.rg()}):!1};
Kk=function(a){var b=g.ib(a.C);(0,g.C)(b,function(c){c.Pg(a.o)})};
Gk=function(a){var b=g.ib(a.C);(0,g.C)(b,function(c){c.Ah(a.A)});
a.A!=a||Kk(a)};
Lk=function(a,b){var c;if(!(c=a.M)){c=a.o;var d=a.F;c=!(b&&(void 0===d||!d||c.volume==b.volume)&&c.C==b.C&&Ah(c.o,b.o)&&c.A==b.A)}a.o=b;c&&Kk(a)};
Mk=function(a,b,c,d){this.element=a;this.A=new g.zh(0,0,0,0);this.D=this.o=b;this.Ua=c;this.H=d;this.Bb=!1;this.B=new wk(b.o,this.element,this.A,new g.zh(0,0,0,0),0,0,$i(),0)};
Nk=function(a){this.Bb=!1;this.o=a};
Ok=function(a,b,c){this.A=void 0===c?0:c;this.wc=a;this.o=null==b?"":b};
zca=function(a){switch(Math.trunc(a.A)){case -16:return-16;case -8:return-8;case 0:return 0;case 8:return 8;case 16:return 16;default:return 16}};
Aca=function(a,b){return new Ok(a.wc,a.o,a.A+b)};
Pk=function(a,b){return a.A<b.A?!0:a.A>b.A?!1:a.wc<b.wc?!0:a.wc>b.wc?!1:typeof a.o<typeof b.o?!0:typeof a.o>typeof b.o?!1:a.o<b.o};
Qk=function(){this.C=0;this.o=[];this.A=!1};
Bca=function(a,b){(0,g.C)(b.o,function(c){a.add(c.wc,c.o,zca(c))})};
Rk=function(a,b){var c=void 0===c?0:c;var d=void 0===d?!0:d;zi(b,function(e,f){d&&void 0===e||a.add(f,e,c)});
return a};
Sk=function(a){var b=Cca;a.A&&(g.tb(a.o,function(c,d){return Pk(d,c)?1:Pk(c,d)?-1:0}),a.A=!1);
return(0,g.xj)(a.o,function(c,d){var e=b(d);return""+c+(""!=c&&""!=e?"&":"")+e},"")};
Cca=function(a){var b=a.wc;a=a.o;return""===a?b:g.Ba(a)?a?b:"":g.Ga(a)?0===a.length?b:b+"="+a.join():b+"="+(g.Ya(["mtos","tos","p"],b)?a:encodeURIComponent(a))};
Uk=function(a){var b=void 0===b?!0:b;this.o=new Qk;void 0!==a&&Bca(this.o,a);b&&this.o.add("v",Tk,-16)};
Dca=function(a){var b=[],c=[];g.Mb(a,function(d,e){if(!(e in Object.prototype)&&"undefined"!=typeof d){g.Ga(d)&&(d=d.join(","));var f=[e,"=",d].join("");switch(e){case "adk":case "r":case "tt":case "error":case "mtos":case "tos":case "p":case "bs":case "aio":case "nio":case "iem":b.unshift(f);break;case "req":case "url":case "referrer":case "iframe_loc":c.push(f);break;default:b.push(f)}}});
return b.concat(c)};
Vk=function(){if(Tk&&"unreleased"!==Tk)return Tk};
Wk=function(a){var b=void 0===b?4E3:b;a=a.toString();if(!/&v=[^&]+/.test(a)){var c=Vk();a=c?a+"&v="+encodeURIComponent(c):a}a=a.substring(0,b);zj().Rn(a)};
Xk=function(){this.o=0};
Yk=function(a){this.J=a;this.H=!1};
Zk=function(){Yk.call(this,"capability")};
$k=function(){Yk.call(this,"diff")};
al=function(){Yk.call(this,"capt");this.B=[];this.C=[]};
bl=function(a,b){return kaa(oaa(a,b),function(c){return c[0]!==c[1]})};
Eca=function(a,b){function c(d){return.25*Math.floor(d/.25)}
return bl((0,g.I)(a,c),(0,g.I)(b,c))};
cl=function(a,b,c,d,e){e=void 0===e?[new Zk,new $k,new al]:e;g.K.call(this);this.o=a.Yv(b,c,this);this.o.Zv();this.C=e;this.A=d};
Fca=function(a,b,c){(0,g.C)(a.C,function(d){var e=a.A;if(!d.H&&(d.F(b,c),d.G())){d.H=!0;var f=d.D(),k=new Qk;k.add("id","av-js");k.add("type","verif");k.add("vtype",d.J);d=Xk.getInstance();k.add("i",d.o++);k.add("adk",e);Rk(k,f);e=new Uk(k);Wk(e)}})};
dl=function(){this.A=this.C=this.B=this.o=0};
el=function(a){this.A=a=void 0===a?Gca:a;this.o=(0,g.I)(this.A,function(){return new dl})};
gl=function(a,b){return fl(a,function(c){return c.o},void 0===b?!0:b)};
il=function(a,b){return hl(a,b,function(c){return c.o})};
jl=function(a){return fl(a,function(b){return b.C},!0)};
kl=function(a,b){return hl(a,b,function(c){return c.C})};
ll=function(a,b){return hl(a,b,function(c){return c.A})};
ml=function(a){(0,g.C)(a.o,function(b){b.A=0})};
fl=function(a,b,c){a=(0,g.I)(a.o,function(d){return b(d)});
return c?a:Hca(a)};
hl=function(a,b,c){var d=g.Va(a.A,function(e){return b<=e});
return-1==d?0:c(a.o[d])};
Hca=function(a){return(0,g.I)(a,function(b,c,d){return 0<c?d[c]-d[c-1]:d[c]})};
nl=function(){this.o=new el;this.Y=new dl;this.M=this.G=-1;this.ga=1E3;this.ea=new el([1,.9,.8,.7,.6,.5,.4,.3,.2,.1,0])};
ql=function(a,b,c){g.K.call(this);this.position=ol.clone();this.nq=this.Bp();this.Rv=-2;this.YV=(0,g.H)();this.CG=-1;this.xk=b;this.gp=-1!=b;this.bj=null;this.opacity=-1;this.IF=c;this.LG=this.oq=g.z;this.Pj=this.element=a;this.UG=this.Sg=!1;this.iu=1;this.si={Iw:null,Hw:null};this.kG=!0;this.ol=null;this.kk=!1;Hj.getInstance().F++;this.IC=0;this.Bc=this.xu();this.yG=-1;this.Uu=0;this.bb=null;this.bo=new g.zh(0,0,0,0);a=this.Ua=new Wi;Xi(a,"od",Ica);Ri(Xi(a,"opac",Gj));Xi(a,"ue",Gj);Xi(a,"ud",Gj);
Ri(Xi(a,"mkm",Gj));Ri(Xi(a,"gcm",Gj));Ri(Xi(a,"cm",Gj));Ri(Xi(a,"sela",Gj));Ri(Ri(Xi(a,"sbeos",Gj)));Ri(Xi(a,"hac",Jca));Ri(Xi(a,"rav",Kca));Ri(Xi(a,"mwt",Gj));if(a=this.element&&this.element.getAttribute)a=this.element,a=/-[a-z]/.test("googleAvInapp")?!1:g.pl&&a.dataset?"googleAvInapp"in a.dataset:a.hasAttribute?a.hasAttribute("data-"+g.Dc("googleAvInapp")):!!a.getAttribute("data-"+g.Dc("googleAvInapp"));a&&(zk.getInstance().J=!0);1==this.IF?(a=this.Ua.o.od)&&Ti(a,1):(a=this.Ua.o.od)&&Ti(a,0)};
rl=function(a,b){if(b!=a.kk){a.kk=b;var c=zk.getInstance();b?c.H++:0<c.H&&c.H--}};
Mca=function(a,b,c){if(Ej(N)){c||sl(a,N,!0);var d=Lca(a,function(e,f){return N.document.elementFromPoint(e,f)});
a.wj(a.Cd(),d,b,c,!1)}};
tl=function(a,b,c){a.Bc.vb=g.Jd(b,0,1);a.IC=a.Bc.vb;a.Bc.o=g.Jd(c,0,1)};
ul=function(a,b,c){if(c(b))return b;for(;;){var d=Math.floor((a+b)/2);if(d==a||d==b)return a;c(d)?a=d:b=d}};
Lca=function(a,b){var c=ee(document),d=a.iu,e=a.Cd(),f=Math.floor(e.left-c.x)+1,k=Math.floor(e.top-c.y)+1,l=Math.floor(e.right-c.x)-d,m=Math.floor(e.bottom-c.y)-d;c=(m-k)*(l-f);if(k>m||f>l)return 0;d=!!b(f,k);e=!!b(l,m);if(d&&e)return 1;var n=!!b(l,k),p=!!b(f,m);if(d)m=ul(k,m,function(w){return!!b(f,w)}),l=ul(f,l,function(w){return!!b(w,k)});
else if(n)m=ul(k,m,function(w){return!!b(l,w)}),f=ul(l,f,function(w){return!!b(w,k)});
else if(p)k=ul(m,k,function(w){return!!b(f,w)}),l=ul(f,l,function(w){return!!b(w,m)});
else if(e)k=ul(m,k,function(w){return!!b(l,w)}),f=ul(l,f,function(w){return!!b(w,m)});
else{var q=Math.floor((f+l)/2),u=Math.floor((k+m)/2);if(!b(q,u))return 0;k=ul(u,k,function(w){return!!b(q,w)});
m=ul(u,m,function(w){return!!b(q,w)});
f=ul(q,f,function(w){return!!b(w,u)});
l=ul(q,l,function(w){return!!b(w,u)})}return(m-k)*(l-f)/c};
Nca=function(a,b,c,d,e){d||sl(a,N,e);a.wj(a.Cd(),c,b,d,!1)};
vl=function(a,b,c){var d=a.Bc.o,e=c?a.Bc.vb:a.IC,f=a.Cd();a.bo&&!Ah(a.bo,new g.zh(0,0,0,0))&&(e=Bh(a.bo.clone(),f.left,f.top));a.wj(f,e,b,c,!1,{},void 0,d)};
wl=function(a,b){var c=b.create(a.Pj,a.Ua,a);if(c=null!=c&&c.Zv()?c:null)a.bb=c};
Oca=function(a,b,c){if(a.bb){a.bb.Lj();var d=a.bb.B,e=d.F.o;if(null!=d.o&&e){var f=d.B;a.bj=new g.Od(f.left-e.left,f.top-e.top);a.bo=d.o}e=a.ll()?d.C:d.A;a.wj(a.Cd(),e,b,c,!1,void 0,void 0,d.D)}};
Pca=function(a){if(a.gp&&a.ol){var b=1==Yi(a.Ua,"od"),c=zk.getInstance().D,d=a.ol,e=a.bb?a.bb.ig():Hj.getInstance().bb,f=new g.Qd(c.ab(),c.getHeight());c=a.ll();a={sj:e,bj:a.bj,Cy:f,ll:c,vb:a.Bc.vb,YG:b};if(b=d.o){b.Lj();e=b.B;f=e.F.o;var k=null,l=null;null!=e.o&&f&&(k=e.B,k=new g.Od(k.left-f.left,k.top-f.top),l=new g.Qd(f.right-f.left,f.bottom-f.top));c={sj:b.ig(),bj:k,Cy:l,ll:c,YG:!1,vb:c?e.C:e.A}}else c=null;c&&Fca(d,a,c)}};
sl=function(a,b,c,d){if(d)a.position=d;else{b=c?b:b.top;a.position=ol.clone();try{if(a.Pj){var e=1==a.IF;switch(Yi(a.Ua,"hac")){case 1:var f=!1;break;case 2:f=!0;break;default:f=e}!c&&f&&sca(a.Pj)||(a.position=qk(a.Pj,b))}}catch(k){}}};
xl=function(a,b){var c=Math.pow(10,b);return Math.floor(a*c)/c};
Qca=function(a){ek(151,function(){var b=Fi(N).observeIntersection(function(c){try{if(!c||!c.length||0>=c.length)var d=null;else{for(var e=c[0],f=1;f<c.length;f++)c[f].time>e.time&&(e=c[f]);d=e}if(c=d){var k=c.intersectionRect.width*c.intersectionRect.height/(c.boundingClientRect.width*c.boundingClientRect.height),l=mk(c.boundingClientRect),m=mk(c.intersectionRect);tl(a,k,k*sk(l)/(N.screen.height*N.screen.width));sl(a,N,!0,l);var n=rk(l,m);a.bo=0>=sk(a.Cd())||n.top>=n.bottom||n.left>=n.right?new g.zh(0,
0,0,0):Bh(n,-l.left,-l.top)}}catch(p){try{b(),gk(537,p)}catch(q){}}})})};
Rca=function(a,b){var c=Hj.getInstance().bb;if(b=void 0===b?g.z:b)a.LG=b;switch(c){case "aio":Qca(a)}};
yl=function(){};
Al=function(a){if(a instanceof yl)return a;if("function"==typeof a.be)return a.be(!1);if(g.Ia(a)){var b=0,c=new yl;c.next=function(){for(;;){if(b>=a.length)throw zl;if(b in a)return a[b++];b++}};
return c}throw Error("Not implemented");};
g.Bl=function(a,b,c){if(g.Ia(a))try{(0,g.C)(a,b,c)}catch(d){if(d!==zl)throw d;}else{a=Al(a);try{for(;;)b.call(c,a.next(),void 0,a)}catch(d){if(d!==zl)throw d;}}};
Sca=function(a){if(g.Ia(a))return g.ib(a);a=Al(a);var b=[];g.Bl(a,function(c){b.push(c)});
return b};
Cl=function(){this.B=this.o=this.C=this.A=this.D=0};
Tca=function(a){var b={};var c=(0,g.H)()-a.D;b=(b.ptlt=c,b);(c=a.A)&&(b.pnk=c);(c=a.C)&&(b.pnc=c);(c=a.B)&&(b.pnmm=c);(a=a.o)&&(b.pns=a);return b};
Dl=function(){Pi.call(this);this.fullscreen=!1;this.volume=void 0;this.paused=!1;this.B=-1};
Gl=function(a){return nk(a.volume)&&.1<=a.volume};
Hl=function(){var a={};this.A=(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.o={};for(var b in this.A)0<this.A[b][1]&&(this.o[b]=0);this.C=0};
Uca=function(a){return Il(a,g.Vb(a.A))};
Il=function(a,b){var c=0,d;for(d in a.o)g.Ya(b,d)&&1==a.o[d]&&(c+=a.A[d][1],a.o[d]=2);return c};
Vca=function(a){var b=0,c;for(c in a.o){var d=a.o[c];if(1==d||2==d)b+=a.A[c][1]}return b};
Jl=function(){this.o=this.A=0};
Kl=function(){nl.call(this);this.A=new dl;this.O=this.J=this.L=0;this.H=-1;this.ha=new dl;this.D=new dl;this.C=new el;this.F=this.B=-1;this.K=new dl;this.ga=2E3;this.V=new Jl;this.ba=new Jl;this.aa=new Jl};
Ll=function(a,b,c){var d=a.O;bj||c||-1==a.H||(d+=b-a.H);return d};
Wca=function(){this.o=!1};
Ml=function(a,b){this.o=!1;this.B=a;this.G=b;this.A=0};
Nl=function(a,b){if(a.C(b)){var c=a.G.report(a.B,b);a.A|=c;return 0==c}return!1};
Ol=function(a,b,c,d,e,f){e=void 0===e?null:e;f=void 0===f?[]:f;ql.call(this,b,c,d);this.ba=0;this.B={};this.Uc=new Hl;this.aD={};this.Zc="";this.Wh=null;this.jb=!1;this.C=[];this.Si=e;this.G=f;this.D=void 0;this.F=-1;this.ma=this.K=void 0;this.L=this.M=0;this.Y=-1;this.ia=this.Ia=!1;this.yl=this.Wa=0;this.sa=!1;this.Oa=this.Ra=-1;this.O=this.H=this.o=0;this.Ab=this.ea=-1;this.Sa=0;this.La=new el;this.aa=this.xa=this.ga=0;this.Aa=-1;this.ya=0;this.J=!1;this.ha=null;this.Kc=0;this.Fa=!1;this.ka=g.z;
this.V=[this.Bp()];this.UG=!0;this.iu=2;b=zk.getInstance();sl(this,a,b.A);this.xj={};this.xj.pause="p";this.xj.resume="r";this.xj.skip="s";this.xj.mute="m";this.xj.unmute="um";this.xj.exitfullscreen="ef";this.A=null};
Xca=function(a,b,c){a.Kc=1;a.B={};a.B.firstquartile=!1;a.B.midpoint=!1;a.B.thirdquartile=!1;a.B.complete=!1;a.B.pause=!1;a.B.skip=!1;a.B.viewable_impression=!1;a.ba=0;c||(a.Td().H=b)};
Pl=function(a){return g.Aa(a)?Number(a)?xl(a,3):0:a};
Ql=function(a,b){var c;null!=b&&b<a.V.length?c=b:c=a.V.length-1;return a.V[c]};
Rl=function(a){var b=!!Yi(Hj.getInstance().Ua,"umt");return a.K||!b&&!a.ma?0:1};
Yca=function(a,b){(0,g.xk)(a.G,function(c){return c.B==b.B})||a.G.push(b)};
Tl=function(a,b,c){return 15E3<=b?!0:a.Ia?(void 0===c?0:c)?!0:Sl(a.F)?b>=a.F/2:Sl(a.Y)?b>=a.Y:!1:!1};
Sl=function(a){return 1==Yi(Hj.getInstance().Ua,"gmpd")?0<a:-1!=a};
Zca=function(a){var b={},c=zk.getInstance();b.insideIframe=c.A;b.unmeasurable=a.Sg;b.position=a.Cd();b.exposure=a.Bc.vb;b.documentSize=c.B;b.viewportSize=new g.Qd(c.o.ab(),c.o.getHeight());null!=a.A&&(b.presenceData=a.A);b.screenShare=a.Bc.o;return b};
Vl=function(a,b){Ul(a.C,b,function(){return{aH:0,Vm:void 0}});
a.C[b]={aH:xl(a.Bc.vb,2),Vm:a.Uc.C}};
Ul=function(a,b,c){for(var d=a.length;d<b+1;)a.push(c()),d++};
Yl=function(a,b,c){var d=a.aD[b];if(null!=d)return d;d=$ca(a,b);var e=Zb(Wl,function(f){return f==b});
c=Xl(a,d,d,c,ada[Wl[e]]);"fully_viewable_audible_half_duration_impression"==b&&(c.std="csm",c.ic=Il(a.Uc,["gdr"]));return c};
Xl=function(a,b,c,d,e){if(a.Sg)return{"if":0};var f=a.Cd().clone();f.round();var k=(0,g.I)(a.C,function(q){return 100*q.aH|0}),l=zk.getInstance(),m=Hj.getInstance(),n=a.Td(),p={};
p["if"]=l.A?1:void 0;p.sdk=a.D?a.D:void 0;p.t=a.YV;p.p=[f.top,f.left,f.bottom,f.right];p.tos=gl(n.o,!1);p.mtos=jl(n.o);p.mcvt=n.Y.C;p.ps=void 0;p.pt=k;f=Ll(n,$i(),2==a.Kc);p.vht=f;p.mut=n.ha.C;p.a=Pl(a.Bc.volume);p.mv=Pl(n.F);p.fs=a.kk?1:0;p.ft=n.K.o;p.at=n.D.o;p.as=.1<=n.B?1:0;p.atos=gl(n.C);p.ssb=gl(n.ea,!1);p.amtos=jl(n.C);p.uac=a.Wa;p.vpt=n.A.o;"nio"==m.bb&&(p.nio=1,p.avms="nio");p.gmm="4";p.gdr=Tl(a,n.A.o,!0)?1:0;a.UG&&(p.efpf=a.iu);0<a.ya&&(p.nnut=a.ya);p.tcm=Rl(a);p.nmt=a.xa;p.bt=a.aa;p.pst=
a.Aa;p.vpaid=a.K;p.dur=a.F;p.vmtime=a.M;p.is=a.Uc.C;1<=a.C.length&&(p.i0=a.C[0].Vm);2<=a.C.length&&(p.i1=a.C[1].Vm);3<=a.C.length&&(p.i2=a.C[2].Vm);4<=a.C.length&&(p.i3=a.C[3].Vm);p.cs=Vca(a.Uc);b&&(p.ic=Uca(a.Uc),p.dvpt=n.A.A,p.dvs=ll(n.o,.5),p.dfvs=ll(n.o,1),p.davs=ll(n.C,.5),p.dafvs=ll(n.C,1),c&&(n.A.A=0,ml(n.o),ml(n.C)),a.Pi()&&(p.dtos=n.L,p.dav=n.J,p.dtoss=a.ba+1,c&&(n.L=0,n.J=0,a.ba++)),p.dat=n.D.A,p.dft=n.K.A,c&&(n.D.A=0,n.K.A=0));l.B&&(p.ps=[l.B.width,l.B.height]);l.o&&(p.bs=[l.o.ab(),l.o.getHeight()]);
l.F&&(p.scs=[l.F.width,l.F.height]);p.dom=l.domain;a.yl&&(p.vds=a.yl);if(0<a.G.length||a.Si)b=g.ib(a.G),a.Si&&b.push(a.Si),p.pings=(0,g.I)(b,function(q){return q.toString()});
b=(0,g.I)((0,g.re)(a.G,function(q){return q.D()}),function(q){return q.getId()});
nb(b);p.ces=b;a.o&&(p.vmer=a.o);a.H&&(p.vmmk=a.H);a.O&&(p.vmiec=a.O);p.avms=a.bb?a.bb.ig():Hj.getInstance().bb;a.bb&&g.lc(p,a.bb.Kg());"exc"==m.bb&&(p.femt=a.ea,p.femvt=a.Ab,p.emc=a.Sa,p.emb=gl(a.La,!1),p.emuc=a.ga,p.avms="exc");d?(p.c=xl(a.Bc.vb,2),p.ss=xl(a.Bc.o,2)):p.tth=$i()-Zl;p.mc=xl(n.M,2);p.nc=xl(n.G,2);p.mv=Pl(n.F);p.nv=Pl(n.B);p.lte=xl(a.Rv,2);d=Ql(a,e);jl(n.o);p.qmtos=jl(d.o);p.qnc=xl(d.G,2);p.qmv=Pl(d.F);p.qnv=Pl(d.B);p.qas=.1<=d.B?1:0;p.qi=a.Zc;null!==a.ha&&(p.nvat=a.ha?1:0);p.avms||
(p.avms="geo");p.psm=n.V.o;p.psv=n.V.getValue();p.psfv=n.ba.getValue();p.psa=n.aa.getValue();m=Uba(m.Ua);m.length&&(p.veid=m);a.A&&g.lc(p,Tca(a.A));return p};
$ca=function(a,b){if(g.Ya(bda,b))return!0;var c=a.B[b];return g.Aa(c)?(a.B[b]=!0,!c):!1};
dda=function(){this.o={};var a=ge();$l(this,a,document);var b=cda();try{if("1"==b){for(var c=a.parent;c!=a.top;c=c.parent)$l(this,c,c.document);$l(this,a.top,a.top.document)}}catch(d){}};
cda=function(){var a=document.documentElement;try{if(!yi(ge().top))return"2";var b=[],c=ge(a.ownerDocument);for(a=c;a!=c.top;a=a.parent)if(a.frameElement)b.push(a.frameElement);else break;return b&&0!=b.length?"1":"0"}catch(d){return"2"}};
$l=function(a,b,c){hk(c,"mousedown",function(){return eda(a)},301);
hk(b,"scroll",function(){return fda(a)},302);
hk(c,"touchmove",function(){return gda(a)},303);
hk(c,"mousemove",function(){return hda(a)},304);
hk(c,"keydown",function(){return ida(a)},305)};
eda=function(a){g.Mb(a.o,function(b){1E5<b.C||++b.C})};
fda=function(a){g.Mb(a.o,function(b){1E5<b.o||++b.o})};
gda=function(a){g.Mb(a.o,function(b){1E5<b.o||++b.o})};
ida=function(a){g.Mb(a.o,function(b){1E5<b.A||++b.A})};
hda=function(a){g.Mb(a.o,function(b){1E5<b.B||++b.B})};
am=function(){this.o=[];this.A=[]};
jda=function(a,b){return null!=b&&(0,g.xk)(a.o,function(c){return c.element===b})};
cm=function(a){return g.Ua(bm.o,function(b){return b.Zc==a})};
dm=function(){var a=bm;return 0==a.o.length?a.A:0==a.A.length?a.o:g.gb(a.A,a.o)};
kda=function(a){var b=bm;a=(0,g.re)(a,function(c){return!jda(b,c.element)});
b.o.push.apply(b.o,g.ea(a))};
lda=function(a){var b=bm,c=[];(0,g.C)(a,function(d){(0,g.xk)(b.o,function(e){return e.element===d.element&&e.Zc===d.Zc})||(b.o.push(d),c.push(d))})};
em=function(){this.o=this.A=null};
fm=function(a,b){function c(d,e){a.o=null;b(d,e)}
if(null==a.A)return!1;a.o=g.Ua(a.A,function(d){return null!=d&&d.qj()&&d.init(c)});
return null!=a.o};
gm=function(a,b,c,d){Mk.call(this,a,b,c,d);this.G=this.F=null};
hm=function(a,b){try{if(b.length){a.F||(a.F=$i());var c=mda(b);a.A=mk(c.boundingClientRect);var d=Bh(mk(c.intersectionRect),-a.A.left,-a.A.top);$i();var e=c.boundingClientRect.width*c.boundingClientRect.height,f=c.intersectionRect.width*c.intersectionRect.height;var k=e?f/e:0;e=0;var l=c.intersectionRect.width*c.intersectionRect.height,m=a.o.o.o;m&&(e=(m.bottom-m.top)*(m.right-m.left));var n=c.intersectionRect.width*c.intersectionRect.height,p=window.screen.height*window.screen.width;a.B=new wk(a.o.o,
a.element,a.A,d,k,e?l/e:0,0,n&&p?n/p:0)}}catch(q){a.hn(),gk(299,q)}};
mda=function(a){return(0,g.xj)(a,function(b,c){return b.time>c.time?b:c},a[0])};
im=function(a,b,c,d){gm.call(this,a,b,c,d);this.C=null};
oda=function(a){if(!a.element)return!1;var b=a.element;a.C=new a.o.Md.IntersectionObserver(function(c){return hm(a,c)},nda);
a.C.observe(b);1===Yi(Hj.getInstance().Ua,"nio_mode")&&hm(a,a.C&&a.C.takeRecords?a.C.takeRecords():[]);return!0};
jm=function(a){a=void 0===a?N:a;Nk.call(this,new Fk(a,2))};
qda=function(){a:{var a=Hj.getInstance().Ua;a=Yi(a,"mv");if(null!=a&&(a=pda[a])&&(a=a())&&a.Kf())break a;a=null}this.o=a};
g.km=function(a,b,c){g.K.call(this);this.C=null!=c?(0,g.A)(a,c):a;this.Fd=b;this.A=(0,g.A)(this.cL,this);this.o=[]};
lm=function(a){a.Ea=g.Vg(a.A,a.Fd);a.C.apply(null,a.o)};
mm=function(){this.done=!1;this.o={JJ:0,Xz:0,Bx:0,aB:0,ov:-1};this.K=this.B=this.G=this.D=this.H=null;this.L=!1;this.A=null;this.M=0;this.C=new Ek(this)};
nm=function(){var a=Hj.getInstance().bb;return"nio"===a||"aio"===a||"omid"===a};
pm=function(){var a=om;if(!a.L){a.L=!0;if(!a.H&&!nm()){var b=fk(137,function(c){for(var d=[],e=0;e<arguments.length;++e)d[e-0]=arguments[e];return a.F.apply(a,g.ea(d))});
a.D=new g.km(b,100);a.H=hk(N,"scroll",function(c){for(var d=[],e=0;e<arguments.length;++e)d[e-0]=arguments[e];null!==a.D&&a.D.Im.apply(a.D,g.ea(d))},138)}a.G||nm()||(b=fk(140,function(c){for(var d=[],e=0;e<arguments.length;++e)d[e-0]=arguments[e];
return a.F.apply(a,g.ea(d))}),a.B=new g.km(b,100),a.G=hk(N,"resize",function(c){for(var d=[],e=0;e<arguments.length;++e)d[e-0]=arguments[e];
null!==a.B&&a.B.Im.apply(a.B,g.ea(d))},141));
rda(a,function(c){for(var d=[],e=0;e<arguments.length;++e)d[e-0]=arguments[e];return a.J.apply(a,g.ea(d))});
a.J()}};
sda=function(){var a=em.getInstance();null!=a.o&&a.o.o?(a=a.o.o,a.nD(),a.kD(),a.mD(),a.lD(),a.o.o=a.o.o||new g.zh(0,0,0,0)):zk.getInstance().update(N)};
qm=function(a,b,c,d){if(!a.done&&(a.C.cancel(),0!=b.length)){a.A=null;var e=zk.getInstance();try{sda();var f=$i(),k=Hj.getInstance();k.D=f;if(null!=em.getInstance().o)for(d=0;d<b.length;d++)Oca(b[d],f,c);else switch(k.bb){case "exc":for(d=0;d<b.length;d++)vl(b[d],f,c);break;case "nis":for(e=0;e<b.length;e++)g.Aa(d)?b[e].Wr(d):b[e].TC(f);break;case "gsv":for(e=0;e<b.length;e++)g.Aa(d)?b[e].WB(d):b[e].SC(f);break;case "aio":case "nio":for(d=0;d<b.length;d++)vl(b[d],f,c);break;case "iem":for(d=0;d<b.length;d++)Mca(b[d],
f,c);break;case "geo":if(e.K)for(d=0;d<b.length;d++)Nca(b[d],f,e.K,c,e.A)}for(d=0;d<b.length;d++)Pca(b[d]);a.o.Bx+=$i()-f;++a.o.aB}finally{c?(0,g.C)(b,function(l){l.Bc.vb=0}):a.C.schedule()}}};
rda=function(a,b){if(!a.K){var c=fk(142,b);zj();var d=ij(Ji);d&&Ci(Ji,d,c,{capture:!1})&&(a.K=c)}};
tda=function(){var a=om;if(void 0===b){Hj.getInstance();var b=[];b.push(a.V)}b=g.r(b);for(var c=b.next();!c.done;c=b.next())if(c.value.call(a,N))return!0;return!1};
uda=function(a){var b=new qda;a.element&&(b=b.o?new cl(b.o,a.element,a.Ua,a.C||0):null)&&(a.ol=b)};
rm=function(){var a=em.getInstance();if(null!=a.o){var b=a.o;(0,g.C)(dm(),function(c){return wl(c,b)})}};
sm=function(a,b){var c=a.M;bj&&(c+=b-cj);return c};
vda=function(a){var b=om;a=void 0===a?function(){return{}}:a;
dk.Lx("av-js");Tj.o=.01;qca([function(c){var d=Hj.getInstance(),e={};e=(e.bin=d.o,e.type="error",e);d=Zi(d.Ua);if(!b.A){var f=N.document,k=0<=aj?$i()-aj:-1,l=$i();-1==b.o.ov&&(k=l);var m=zk.getInstance(),n=Zi(Hj.getInstance().Ua),p=dm();try{if(0<p.length){var q=m.o;q&&(n.bs=[q.ab(),q.getHeight()]);var u=m.B;u&&(n.ps=[u.width,u.height]);N.screen&&(n.ss=[N.screen.width,N.screen.height])}else n.url=encodeURIComponent(N.location.href.substring(0,512)),f.referrer&&(n.referrer=encodeURIComponent(f.referrer.substring(0,
512)));n.tt=k;n.pt=aj;switch(Hj.getInstance().bb){case "iem":n.iem=1;break;case "aio":n.aio=1;break;case "nio":n.nio=1}void 0!==N.google_osd_load_pub_page_exp&&(n.olpp=N.google_osd_load_pub_page_exp);n.deb=[1,b.o.JJ,b.o.Xz,b.o.Bx,b.o.aB,b.o.ov,0,b.C.A].join("-");n.tvt=sm(b,l);m.J&&(n.inapp=1);if(null!==N&&N!=N.top){0<p.length&&(n.iframe_loc=encodeURIComponent(N.location.href.substring(0,512)));var w=m.D;n.is=[w.ab(),w.getHeight()]}}catch(D){n.error=1}b.A=n}g.lc(c,e,d,g.ic(b.A),a());if(q=Vk())u={},
g.lc(c,(u.v=encodeURIComponent(q),u))}])};
wda=function(){var a=tm||N;if(!a)return"";var b=[];if(!a.location||!a.location.href)return"";b.push("url="+encodeURIComponent(a.location.href.substring(0,512)));a.document&&a.document.referrer&&b.push("referrer="+encodeURIComponent(a.document.referrer.substring(0,512)));return b.join("&")};
um=function(a){return function(b){return!g.Aa(b[a])&&g.Aa(0)?0:b[a]}};
wm=function(){var a=[0,2,4];return function(b){b=b.tos;if(g.Ga(b)){for(var c=Array(b.length),d=0;d<b.length;d++)c[d]=0<d?c[d-1]+b[d]:b[d];return g.Aa(a)?vm(c,a):c}}};
xm=function(a,b){return function(c){c=c[a];if(g.Ga(c))return vm(c,b)}};
ym=function(a){var b=xda;return function(c){return b(c)?c[a]:void 0}};
vm=function(a,b){return(0,g.re)(a,function(c,d){return g.Ya(b,d)})};
Bm=function(a,b){var c={sv:"712",cb:"j"};c.nas=bm.o.length;c.msg=a;if(g.Aa(b)){var d=zm(b);d&&(c.e=Am[d])}return c};
Cm=function(a){return g.xb(a,"custom_metric_viewable")};
zm=function(a){var b=Cm(a)?"custom_metric_viewable":a.toLowerCase();return Zb(Wl,function(c){return c==b})};
Dm=function(a,b){Ml.call(this,a,b)};
Em=function(){this.A=this.B=this.F=this.D=this.C=this.o=""};
yda=function(){};
Fm=function(a,b,c,d,e){var f={};if(g.Aa(a))if(null!=b)for(var k in b){var l=b[k];k in Object.prototype||null!=l&&(g.Ja(l)?f[k]=l(a):f[k]=a[l])}else g.lc(f,a);g.Aa(c)&&g.lc(f,c);a=Sk(Rk(new Qk,f));0<a.length&&g.Aa(d)&&g.Aa(e)&&(e=e(a),a+="&"+d+"="+e);return a};
Gm=function(){};
Hm=function(a,b,c,d){Mk.call(this,a,b,c,d)};
Im=function(a){a=zda(a);var b=a.length?a[a.length-1]:new Fk(N,0);Nk.call(this,b);this.C=a;this.B=g.z;this.A=null};
zda=function(a){if(!a.length)return[];a=(0,g.re)(a,function(c){return null!=c&&c.qj()});
for(var b=1;b<a.length;b++)Ik(a[b-1],a[b]);return a};
Jm=function(){Fk.call(this,N,1,"osd");this.Y=[];this.H=this.D=this.J=0;this.M=!0};
Km=function(a){var b=0;a=a.Md;try{if(a&&a.Goog_AdSense_getAdAdapterInstance)return a}catch(c){}for(;a&&5>b;){try{if(a.google_osd_static_frame)return a.google_osd_static_frame}catch(c){}try{if(a.aswift_0&&a.aswift_0.google_osd_static_frame)return a.aswift_0.google_osd_static_frame}catch(c){}b++;a=a!=a.parent?a.parent:null}return null};
Ada=function(a){var b={};ik(b);b[0]="goog_request_monitoring";b[6]=4;b[16]=!1;b[19]=Hj.getInstance().C;try{var c=jk(b);a.postMessage(c,"*")}catch(d){}};
Mm=function(a){++a.H;if(2==a.J)Lm(a);else{if(10<a.H){if(20<a.H){Hk(a,"no");return}11==a.H&&(zj().clearInterval(a.D),a.D=zj().setInterval(fk(197,function(){return Mm(a)}),500))}if(a.Md.postMessage)if(Hj.getInstance().A.isValid()){var b=Km(a);
b&&Ada(b)}else Hk(a,"ib");else Hk(a,"c")}};
Lm=function(a){zj().clearInterval(a.D);a.D=0};
Nm=function(a,b){var c=Km(a),d=!c;d&&(c=a.Md.parent);if(c&&c.postMessage)try{c.postMessage(b,"*"),d&&a.Md.postMessage(b,"*")}catch(e){}};
Bda=function(a,b){(0,g.C)(a.Y,function(c){c(b)})};
Om=function(){this.B=this.K=!1;this.A=null;this.C=new Gm;this.o=null;var a={};this.J=(a.start=this.QL,a.firstquartile=this.LL,a.midpoint=this.NL,a.thirdquartile=this.RL,a.complete=this.JL,a.pause=this.bx,a.resume=this.MF,a.skip=this.PL,a.viewable_impression=this.xh,a.mute=this.tl,a.unmute=this.tl,a.fullscreen=this.ML,a.exitfullscreen=this.KL,a.fully_viewable_audible_half_duration_impression=this.xh,a.measurable_impression=this.xh,a.abandon=this.bx,a.engagedview=this.xh,a.impression=this.xh,a.creativeview=
this.xh,a.progress=this.tl,a.custom_metric_viewable=this.xh,a.bufferstart=this.bx,a.bufferfinish=this.MF,a);a={};this.L=(a.overlay_resize=this.OL,a.abandon=this.Pu,a.close=this.Pu,a.collapse=this.Pu,a.overlay_unmeasurable_impression=function(b){return Yl(b,"overlay_unmeasurable_impression",Dk())},a.overlay_viewable_immediate_impression=function(b){return Yl(b,"overlay_viewable_immediate_impression",Dk())},a.overlay_unviewable_impression=function(b){return Yl(b,"overlay_unviewable_impression",Dk())},
a.overlay_viewable_end_of_session_impression=function(b){return Yl(b,"overlay_viewable_end_of_session_impression",Dk())},a);
Hj.getInstance().o=3;Cda(this)};
Pm=function(a,b,c,d){b=a.mr(null,d,!0,b);b.D=c;b.oq=function(e){a.Nu(e)};
kda([b]);return b};
Dda=function(){var a=[],b=zk.getInstance(),c=Hj.getInstance();Yi(c.Ua,"osd")&&b.C&&b.A&&"exc"!=c.bb&&(b.C=!1,a.push(Jm.getInstance()));return[new Im(a)]};
Eda=function(a){if(!a.K){a.K=!0;try{var b=$i(),c=Hj.getInstance(),d=zk.getInstance();aj=b;N&&N.document&&(tm=Cj(N).Md,d.update(N),Ck(d,N),Ak(d,N));if("nis"!==c.bb&&"gsv"!==c.bb)if(bca()){om.o.Xz=0;om.o.ov=$i()-b;"ns"==c.bb&&(c.bb="geo");var e=Dda(),f=em.getInstance();f.A=e;if(fm(f,function(){d.C=!1;Qm()}))om.done||(rm(),Ik(f.o.o,a),pm());
else if(d.A&&"exc"!=c.bb){var k=!!Yi(c.Ua,"osd");if(d.C&&d.A&&!k){var l=Jm.getInstance();l.initialize();Ik(l,a)}else Qm()}else pm()}else Rm=!0}catch(m){throw bm.reset(),m;}}};
Tm=function(a){om.C.cancel();Sm=a;om.done=!0};
Um=function(a){var b=Hj.getInstance();if(null==a.A)switch(b.bb){case "nis":a.A="n";break;case "gsv":a.A="m";break;default:a.A="h"}return a.A};
Vm=function(a,b,c){if(null==a.o)return b.yl|=4,!1;a=a.o.report(c,b);b.yl|=a;return 0==a};
Qm=function(){var a=[new jm(N)],b=em.getInstance();b.A=a;fm(b,function(){Tm("i")})?om.done||(rm(),pm()):tda()?pm():Tm("i")};
Wm=function(a,b,c){if(!b.jb){var d=Yl(b,"start",Dk());a=a.C.o(d).o;var e={};e.r=c;e.v="712v";jh(a,function(f,k){return e[f]="mtos"==f||"tos"==f?k:encodeURIComponent(k)});
c=wda();jh(c,function(f,k){return e[f]=encodeURIComponent(k)});
e.id="lidarvf";c="//pagead2.googlesyndication.com/pagead/gen_204?"+Sk(Rk(new Qk,e));Wk(c);b.jb=!0}};
Xm=function(a,b,c,d){qm(om,[a],!Dk(),d);Vl(a,c);4!=c&&Ul(a.V,c,a.Bp);return Yl(a,b,Dk())};
Fda=function(a,b,c){if(0==b.Kc){"i"!=Sm&&(om.done=!1);var d=em.getInstance();null!=d.o&&wl(b,d.o);Rca(b,function(f){for(var k=[],l=0;l<arguments.length;++l)k[l-0]=arguments[l];return a.IL.apply(a,g.ea(k))});
uda(b);d=g.Aa(c)?c.opt_nativeTime:void 0;dj=d=g.Ca(d)?d:$i();b.gp=!0;var e=Dk();Xca(b,d,e);qm(om,[b],!e,c)}};
Cda=function(a){vda(function(){var b=Ym();null!=a.A&&(b.sdk=a.A);b.avms=Hj.getInstance().bb;return b})};
Gda=function(a){a.bb&&a.bb.hn();var b=a.Te();if(1==b)var c=bm.o;else if(2==b)c=bm.A;else return;fb(c,function(e){return e===a});
var d=a.Zc;(0,g.C)(c,function(e){e.Te()===b&&e.Zc===d&&e.bb&&e.bb.hn()});
fb(c,function(e){return e.Te()===b&&e.Zc===d})};
Ida=function(a,b,c,d){var e=g.Ua(bm.o,function(f){return f.element===c});
null!==e&&e.Zc!==b&&(a.ep(e),e=null);e||(e=Hda(a,c,b),e.D=Um(a),d&&(e.Wh=d));return e};
Hda=function(a,b,c){b=a.mr(b,$i(),!1,c);b.oq=(0,g.A)(a.Nu,a);0==bm.A.length&&(Hj.getInstance().B=79463069);lda([b]);pm();return b};
Jda=function(a,b){b.H=0;for(var c in Zm)null==a[c]&&(b.H|=Zm[c]);$m(a,"currentTime");$m(a,"duration")};
$m=function(a,b){var c=a[b];g.Aa(c)&&0<c&&(a[b]=Math.floor(1E3*c))};
Ym=function(){var a=zk.getInstance(),b={};return b.sv="712",b["if"]=a.A?"1":"0",b.nas=String(bm.o.length),b};
Kda=function(){this.o=void 0;this.A=!1;this.C=0;this.B=-1;this.D="tos"};
Mda=function(a){try{var b=a.split(",");return b.length>g.Vb(Lda).length?null:(0,g.xj)(b,function(c,d){var e=d.toLowerCase().split("=");if(2!=e.length||!g.Aa(an[e[0]])||!an[e[0]](e[1]))throw Error("Entry ("+e[0]+", "+e[1]+") is invalid.");c[e[0]]=e[1];return c},{})}catch(c){return null}};
Nda=function(a,b){if(void 0==a.o)return 0;switch(a.D){case "mtos":return a.A?kl(b.C,a.o):kl(b.o,a.o);case "tos":return a.A?il(b.C,a.o):il(b.o,a.o)}return 0};
bn=function(a,b,c,d){Ml.call(this,b,d);this.Ja=a;this.F=c};
cn=function(a){Ml.call(this,"fully_viewable_audible_half_duration_impression",a)};
dn=function(a){return!a||"function"!==typeof a||0>String(Function.prototype.toString).indexOf("[native code]")?!1:0<=String(a).indexOf("[native code]")&&!0||!1};
fn=function(a){return!!(1<<a&en)};
Sda=function(){try{Oda()}catch(d){}var a="a=1&b="+en+"&",b=[],c=99;(0,g.C)(Pda,function(d,e){var f=!1;try{f=d(N)}catch(k){}b[e/32>>>0]|=f<<e%32});
(0,g.C)(b,function(d,e){a+=String.fromCharCode(c+e)+"="+(d>>>0).toString(16)+"&"});
c=105;(0,g.C)(Qda,function(d){var e="false";try{e=d(N)}catch(f){}a+=String.fromCharCode(c++)+"="+e+"&"});
(0,g.C)(Rda,function(d){var e="";try{var f=d(N);e=g.Me(g.He(f),!0)}catch(k){}a+=String.fromCharCode(c++)+"="+e+"&"});
return a.slice(0,-1)};
Oda=function(){if(!gn){var a=function(){hn=!0;N.document.removeEventListener("webdriver-evaluate",a,!0)};
N.document.addEventListener("webdriver-evaluate",a,!0);var b=function(){jn=!0;N.document.removeEventListener("webdriver-evaluate-response",b,!0)};
N.document.addEventListener("webdriver-evaluate-response",b,!0);gn=!0}};
kn=function(){this.A=64;this.o=Array(4);this.D=Array(this.A);this.B=this.C=0;this.reset()};
ln=function(a,b,c){c||(c=0);var d=Array(16);if(g.v(b))for(var e=0;16>e;++e)d[e]=b.charCodeAt(c++)|b.charCodeAt(c++)<<8|b.charCodeAt(c++)<<16|b.charCodeAt(c++)<<24;else for(e=0;16>e;++e)d[e]=b[c++]|b[c++]<<8|b[c++]<<16|b[c++]<<24;b=a.o[0];c=a.o[1];e=a.o[2];var f=a.o[3];var k=b+(f^c&(e^f))+d[0]+3614090360&4294967295;b=c+(k<<7&4294967295|k>>>25);k=f+(e^b&(c^e))+d[1]+3905402710&4294967295;f=b+(k<<12&4294967295|k>>>20);k=e+(c^f&(b^c))+d[2]+606105819&4294967295;e=f+(k<<17&4294967295|k>>>15);k=c+(b^e&(f^
b))+d[3]+3250441966&4294967295;c=e+(k<<22&4294967295|k>>>10);k=b+(f^c&(e^f))+d[4]+4118548399&4294967295;b=c+(k<<7&4294967295|k>>>25);k=f+(e^b&(c^e))+d[5]+1200080426&4294967295;f=b+(k<<12&4294967295|k>>>20);k=e+(c^f&(b^c))+d[6]+2821735955&4294967295;e=f+(k<<17&4294967295|k>>>15);k=c+(b^e&(f^b))+d[7]+4249261313&4294967295;c=e+(k<<22&4294967295|k>>>10);k=b+(f^c&(e^f))+d[8]+1770035416&4294967295;b=c+(k<<7&4294967295|k>>>25);k=f+(e^b&(c^e))+d[9]+2336552879&4294967295;f=b+(k<<12&4294967295|k>>>20);k=e+
(c^f&(b^c))+d[10]+4294925233&4294967295;e=f+(k<<17&4294967295|k>>>15);k=c+(b^e&(f^b))+d[11]+2304563134&4294967295;c=e+(k<<22&4294967295|k>>>10);k=b+(f^c&(e^f))+d[12]+1804603682&4294967295;b=c+(k<<7&4294967295|k>>>25);k=f+(e^b&(c^e))+d[13]+4254626195&4294967295;f=b+(k<<12&4294967295|k>>>20);k=e+(c^f&(b^c))+d[14]+2792965006&4294967295;e=f+(k<<17&4294967295|k>>>15);k=c+(b^e&(f^b))+d[15]+1236535329&4294967295;c=e+(k<<22&4294967295|k>>>10);k=b+(e^f&(c^e))+d[1]+4129170786&4294967295;b=c+(k<<5&4294967295|
k>>>27);k=f+(c^e&(b^c))+d[6]+3225465664&4294967295;f=b+(k<<9&4294967295|k>>>23);k=e+(b^c&(f^b))+d[11]+643717713&4294967295;e=f+(k<<14&4294967295|k>>>18);k=c+(f^b&(e^f))+d[0]+3921069994&4294967295;c=e+(k<<20&4294967295|k>>>12);k=b+(e^f&(c^e))+d[5]+3593408605&4294967295;b=c+(k<<5&4294967295|k>>>27);k=f+(c^e&(b^c))+d[10]+38016083&4294967295;f=b+(k<<9&4294967295|k>>>23);k=e+(b^c&(f^b))+d[15]+3634488961&4294967295;e=f+(k<<14&4294967295|k>>>18);k=c+(f^b&(e^f))+d[4]+3889429448&4294967295;c=e+(k<<20&4294967295|
k>>>12);k=b+(e^f&(c^e))+d[9]+568446438&4294967295;b=c+(k<<5&4294967295|k>>>27);k=f+(c^e&(b^c))+d[14]+3275163606&4294967295;f=b+(k<<9&4294967295|k>>>23);k=e+(b^c&(f^b))+d[3]+4107603335&4294967295;e=f+(k<<14&4294967295|k>>>18);k=c+(f^b&(e^f))+d[8]+1163531501&4294967295;c=e+(k<<20&4294967295|k>>>12);k=b+(e^f&(c^e))+d[13]+2850285829&4294967295;b=c+(k<<5&4294967295|k>>>27);k=f+(c^e&(b^c))+d[2]+4243563512&4294967295;f=b+(k<<9&4294967295|k>>>23);k=e+(b^c&(f^b))+d[7]+1735328473&4294967295;e=f+(k<<14&4294967295|
k>>>18);k=c+(f^b&(e^f))+d[12]+2368359562&4294967295;c=e+(k<<20&4294967295|k>>>12);k=b+(c^e^f)+d[5]+4294588738&4294967295;b=c+(k<<4&4294967295|k>>>28);k=f+(b^c^e)+d[8]+2272392833&4294967295;f=b+(k<<11&4294967295|k>>>21);k=e+(f^b^c)+d[11]+1839030562&4294967295;e=f+(k<<16&4294967295|k>>>16);k=c+(e^f^b)+d[14]+4259657740&4294967295;c=e+(k<<23&4294967295|k>>>9);k=b+(c^e^f)+d[1]+2763975236&4294967295;b=c+(k<<4&4294967295|k>>>28);k=f+(b^c^e)+d[4]+1272893353&4294967295;f=b+(k<<11&4294967295|k>>>21);k=e+(f^
b^c)+d[7]+4139469664&4294967295;e=f+(k<<16&4294967295|k>>>16);k=c+(e^f^b)+d[10]+3200236656&4294967295;c=e+(k<<23&4294967295|k>>>9);k=b+(c^e^f)+d[13]+681279174&4294967295;b=c+(k<<4&4294967295|k>>>28);k=f+(b^c^e)+d[0]+3936430074&4294967295;f=b+(k<<11&4294967295|k>>>21);k=e+(f^b^c)+d[3]+3572445317&4294967295;e=f+(k<<16&4294967295|k>>>16);k=c+(e^f^b)+d[6]+76029189&4294967295;c=e+(k<<23&4294967295|k>>>9);k=b+(c^e^f)+d[9]+3654602809&4294967295;b=c+(k<<4&4294967295|k>>>28);k=f+(b^c^e)+d[12]+3873151461&4294967295;
f=b+(k<<11&4294967295|k>>>21);k=e+(f^b^c)+d[15]+530742520&4294967295;e=f+(k<<16&4294967295|k>>>16);k=c+(e^f^b)+d[2]+3299628645&4294967295;c=e+(k<<23&4294967295|k>>>9);k=b+(e^(c|~f))+d[0]+4096336452&4294967295;b=c+(k<<6&4294967295|k>>>26);k=f+(c^(b|~e))+d[7]+1126891415&4294967295;f=b+(k<<10&4294967295|k>>>22);k=e+(b^(f|~c))+d[14]+2878612391&4294967295;e=f+(k<<15&4294967295|k>>>17);k=c+(f^(e|~b))+d[5]+4237533241&4294967295;c=e+(k<<21&4294967295|k>>>11);k=b+(e^(c|~f))+d[12]+1700485571&4294967295;b=c+
(k<<6&4294967295|k>>>26);k=f+(c^(b|~e))+d[3]+2399980690&4294967295;f=b+(k<<10&4294967295|k>>>22);k=e+(b^(f|~c))+d[10]+4293915773&4294967295;e=f+(k<<15&4294967295|k>>>17);k=c+(f^(e|~b))+d[1]+2240044497&4294967295;c=e+(k<<21&4294967295|k>>>11);k=b+(e^(c|~f))+d[8]+1873313359&4294967295;b=c+(k<<6&4294967295|k>>>26);k=f+(c^(b|~e))+d[15]+4264355552&4294967295;f=b+(k<<10&4294967295|k>>>22);k=e+(b^(f|~c))+d[6]+2734768916&4294967295;e=f+(k<<15&4294967295|k>>>17);k=c+(f^(e|~b))+d[13]+1309151649&4294967295;
c=e+(k<<21&4294967295|k>>>11);k=b+(e^(c|~f))+d[4]+4149444226&4294967295;b=c+(k<<6&4294967295|k>>>26);k=f+(c^(b|~e))+d[11]+3174756917&4294967295;f=b+(k<<10&4294967295|k>>>22);k=e+(b^(f|~c))+d[2]+718787259&4294967295;e=f+(k<<15&4294967295|k>>>17);k=c+(f^(e|~b))+d[9]+3951481745&4294967295;a.o[0]=a.o[0]+b&4294967295;a.o[1]=a.o[1]+(e+(k<<21&4294967295|k>>>11))&4294967295;a.o[2]=a.o[2]+e&4294967295;a.o[3]=a.o[3]+f&4294967295};
mn=function(){this.A=null};
nn=function(a){return function(b){var c=new kn;c.update(b+a);return Ie(c.digest()).slice(-8)}};
on=function(a,b){this.A=a;this.C=b};
Tda=function(a){var b=Cm(a)?"custom_metric_viewable":a;a=Zb(Wl,function(c){return c==b});
return Am[a]};
pn=function(a,b,c){on.call(this,a,b);this.B=c};
qn=function(){Om.call(this);this.D=void 0;this.H=null;this.F=!1;this.G={};this.C=new mn};
rn=function(){var a=qn.getInstance(),b="h"==Um(a)||"b"==Um(a),c="exc"!=Hj.getInstance().bb;b&&c&&(a.F=!0,a.H=new dda)};
Uda=function(a,b,c){c=c.opt_configurable_tracking_events;if(null!=a.o&&g.Ga(c)){var d=a.o;Sba(c);(0,g.C)(c,function(e){var f=(0,g.I)(e.C4,function(k){var l=Mda(k);if(null==l)k=null;else if(k=new Kda,null!=l.visible&&(k.o=l.visible/100),null!=l.audible&&(k.A=1==l.audible),null!=l.time){var m="mtos"==l.timetype?"mtos":"tos",n=yb(l.time,"%")?"%":"ms";l=parseInt(l.time,10);"%"==n&&(l/=100);"ms"==n?(k.C=l,k.B=-1):(k.C=-1,k.B=l);k.D=void 0===m?"tos":m}return k});
(0,g.xk)(f,function(k){return null==k})||Yca(b,new bn(e.id,e.event,f,d))})}};
Vda=function(a,b,c){var d=cm(b);d||(d=c.opt_nativeTime||-1,d=Pm(a,b,Um(a),d),c.opt_osdId&&(d.Wh=c.opt_osdId));return d};
Wda=function(a,b,c){var d=cm(b);d||(d=Pm(a,b,"n",c.opt_nativeTime||-1),d.J=zk.getInstance().L);return d};
Xda=function(a,b){var c=cm(b);c||(c=Pm(a,b,"h",-1));return c};
Yda=function(a){var b=Hj.getInstance();switch(Um(a)){case "b":return"ytads.bulleit.triggerExternalActivityEvent";case "n":return"ima.bridge.triggerExternalActivityEvent";case "h":if("exc"==b.bb)return"ima.bridge.triggerExternalActivityEvent";case "m":case "ml":return"ima.common.triggerExternalActivityEvent"}return null};
sn=function(a,b,c,d){c=void 0===c?{}:c;var e={};g.lc(e,{opt_adElement:void 0,opt_fullscreen:void 0},c);if(e.opt_bounds)return a.C.o(Bm("ol",d));if(g.Aa(d))if(c=zm(d),g.Aa(c))if(Rm)b=Bm("ue",d);else if(b=a.Fp(b,e)){b:{Eda(a);"i"==Sm&&(b.Sg=!0,a.Fx(b));c=e.opt_fullscreen;g.Aa(c)&&rl(b,!!c);var f;if(f=!zk.getInstance().J&&!yk()&&kj(zj().o)){switch(b.Te()){case 1:Wm(a,b,"pv");break;case 2:a.wx(b)}Tm("pv")}c=d.toLowerCase();!f&&g.Ya(Zda,c)&&Fda(a,b,e);0!=b.Kc&&g.Ya($da,c)&&!b.Sg&&!a.B&&b.Si&&(f=b.Si,f.o||
(f.o=Nl(f,b)));(f=b.xj[c])&&b.Uc.Ga(f);switch(b.Te()){case 1:var k=Cm(c)?a.J.custom_metric_viewable:a.J[c];break;case 2:k=a.L[c]}if(k&&(d=k.call(a,b,e,d),g.Aa(d))){e=Bm(void 0,c);g.lc(e,d);d=e;break b}d=void 0}3==b.Kc&&a.ep(b);b=d}else b=Bm("nf",d);else b=void 0;else Rm?b=Bm("ue"):(b=a.Fp(b,e))?(d=Bm(),g.lc(d,Xl(b,!0,!1,!1)),b=d):b=Bm("nf");return g.v(b)?a.C.o(void 0):a.C.o(b)};
aea=function(a,b,c){a=zk.getInstance();if(a.L!=b){a.L=b;var d=(0,g.xk)(bm.o,function(e){return e.Fa});
(0,g.C)(bm.o,function(e){b||d||(e.xk=c);e.J=b;e.Fa=!1})}};
un=function(a,b){var c;if(b.Wh&&tn(a)){var d=a.G[b.Wh];d?c=function(f,k){d.C(f,k)}:null!==d&&gk(379,Error())}else c=g.y("ima.common.triggerViewabilityMeasurementUpdate");
if(g.Ja(c)){var e=Zca(b);e.nativeVolume=a.D;c(b.Zc,e)}};
tn=function(a){return"exc"==Hj.getInstance().bb||"h"!=Um(a)&&Um(a),!1};
vn=function(a){var b={};return b.viewability=a.o,b.googleViewability=a.C,b.moatInit=a.D,b.moatViewability=a.F,b.integralAdsViewability=a.B,b.doubleVerifyViewability=a.A,b};
wn=function(a,b,c){c=void 0===c?{}:c;a=sn(qn.getInstance(),b,c,a);return vn(a)};
xn=function(){this.Ea=null;this.A="jserror";this.C=!1;this.o=null};
bea=function(){this.S={}};
yn=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};
cea=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;p=n=0}
function b(q){for(var u=k,w=0;64>w;w+=4)u[w/4]=q[w]<<24|q[w+1]<<16|q[w+2]<<8|q[w+3];for(w=16;80>w;w++)q=u[w-3]^u[w-8]^u[w-14]^u[w-16],u[w]=(q<<1|q>>>31)&4294967295;q=e[0];var D=e[1],F=e[2],J=e[3],O=e[4];for(w=0;80>w;w++){if(40>w)if(20>w){var qa=J^D&(F^J);var Ta=1518500249}else qa=D^F^J,Ta=1859775393;else 60>w?(qa=D&F|J&(D|F),Ta=2400959708):(qa=D^F^J,Ta=3395469782);qa=((q<<5|q>>>27)&4294967295)+qa+O+Ta+u[w]&4294967295;O=J;J=F;F=(D<<30|D>>>2)&4294967295;D=q;q=qa}e[0]=e[0]+q&4294967295;e[1]=e[1]+D&4294967295;
e[2]=e[2]+F&4294967295;e[3]=e[3]+J&4294967295;e[4]=e[4]+O&4294967295}
function c(q,u){if("string"===typeof q){q=unescape(encodeURIComponent(q));for(var w=[],D=0,F=q.length;D<F;++D)w.push(q.charCodeAt(D));q=w}u||(u=q.length);w=0;if(0==n)for(;w+64<u;)b(q.slice(w,w+64)),w+=64,p+=64;for(;w<u;)if(f[n++]=q[w++],p++,64==n)for(n=0,b(f);w+64<u;)b(q.slice(w,w+64)),w+=64,p+=64}
function d(){var q=[],u=8*p;56>n?c(l,56-n):c(l,64-(n-56));for(var w=63;56<=w;w--)f[w]=u&255,u>>>=8;b(f);for(w=u=0;5>w;w++)for(var D=24;0<=D;D-=8)q[u++]=e[w]>>D&255;return q}
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,rK:function(){for(var q=d(),u="",w=0;w<q.length;w++)u+="0123456789ABCDEF".charAt(Math.floor(q[w]/16))+"0123456789ABCDEF".charAt(q[w]%16);return u}}};
dea=function(a,b,c){var d=[],e=[];if(1==(g.Ga(c)?2:1))return e=[b,a],(0,g.C)(d,function(l){e.push(l)}),zn(e.join(" "));
var f=[],k=[];(0,g.C)(c,function(l){k.push(l.key);f.push(l.value)});
c=Math.floor((new Date).getTime()/1E3);e=g.Za(f)?[c,b,a]:[f.join(":"),c,b,a];(0,g.C)(d,function(l){e.push(l)});
a=zn(e.join(" "));a=[c,a];g.Za(k)||a.push(k.join(""));return a.join("_")};
zn=function(a){var b=cea();b.update(a);return b.rK().toLowerCase()};
g.An=function(){var a=[],b=yn(String(g.x.location.href)),c=g.x.__OVERRIDE_SID;null==c&&(c=(new ch(document)).get("SID"));if(c&&(b=(c=0==b.indexOf("https:")||0==b.indexOf("chrome-extension:"))?g.x.__SAPISID:g.x.__APISID,null==b&&(b=(new ch(document)).get(c?"SAPISID":"APISID")),b)){c=c?"SAPISIDHASH":"APISIDHASH";var d=String(g.x.location.href);return d&&b&&c?[c,dea(yn(d),b,a||null)].join(" "):null}return null};
g.Bn=function(a,b){this.A={};this.o=[];this.fi=this.Pa=0;var c=arguments.length;if(1<c){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else if(a)if(a instanceof g.Bn)for(c=a.Gb(),d=0;d<c.length;d++)this.set(c[d],a.get(c[d]));else for(d in a)this.set(d,a[d])};
Dn=function(a,b){return Cn(a.A,b)};
En=function(a){if(a.Pa!=a.o.length){for(var b=0,c=0;b<a.o.length;){var d=a.o[b];Cn(a.A,d)&&(a.o[c++]=d);b++}a.o.length=c}if(a.Pa!=a.o.length){var e={};for(c=b=0;b<a.o.length;)d=a.o[b],Cn(e,d)||(a.o[c++]=d,e[d]=1),b++;a.o.length=c}};
Cn=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};
Fn=function(a){if(a.wb&&"function"==typeof a.wb)return a.wb();if(g.v(a))return a.split("");if(g.Ia(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return g.Ub(a)};
Gn=function(a){if(a.Gb&&"function"==typeof a.Gb)return a.Gb();if(!a.wb||"function"!=typeof a.wb){if(g.Ia(a)||g.v(a)){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return g.Vb(a)}};
eea=function(a,b){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,void 0);else if(g.Ia(a)||g.v(a))(0,g.C)(a,b,void 0);else for(var c=Gn(a),d=Fn(a),e=d.length,f=0;f<e;f++)b.call(void 0,d[f],c&&c[f],a)};
g.Hn=function(a,b){this.A=this.H=this.B="";this.D=null;this.J=this.C="";this.F=!1;var c;a instanceof g.Hn?(this.F=g.Aa(b)?b:a.F,g.In(this,a.B),this.H=a.H,g.Jn(this,a.A),g.Kn(this,a.D),g.Ln(this,a.C),Mn(this,a.o.clone()),this.J=a.Bi()):a&&(c=g.fh(String(a)))?(this.F=!!b,g.In(this,c[1]||"",!0),this.H=Nn(c[2]||""),g.Jn(this,c[3]||"",!0),g.Kn(this,c[4]),g.Ln(this,c[5]||"",!0),Mn(this,c[6]||"",!0),this.J=Nn(c[7]||"")):(this.F=!!b,this.o=new g.On(null,this.F))};
g.In=function(a,b,c){a.B=c?Nn(b,!0):b;a.B&&(a.B=a.B.replace(/:$/,""))};
g.Jn=function(a,b,c){a.A=c?Nn(b,!0):b;return a};
g.Kn=function(a,b){if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.D=b}else a.D=null;return a};
g.Ln=function(a,b,c){a.C=c?Nn(b,!0):b};
Mn=function(a,b,c){b instanceof g.On?(a.o=b,fea(a.o,a.F)):(c||(b=Pn(b,gea)),a.o=new g.On(b,a.F));return a};
g.Qn=function(a,b,c){a.o.set(b,c);return a};
g.Rn=function(a){return a instanceof g.Hn?a.clone():new g.Hn(a,void 0)};
Nn=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""};
Pn=function(a,b,c){return g.v(a)?(a=encodeURI(a).replace(b,hea),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null};
hea=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)};
g.On=function(a,b){this.Pa=this.o=null;this.A=a||null;this.C=!!b};
Sn=function(a){a.o||(a.o=new g.Bn,a.Pa=0,a.A&&jh(a.A,function(b,c){a.add(sc(b),c)}))};
Un=function(a){var b=Gn(a);if("undefined"==typeof b)throw Error("Keys are undefined");var c=new g.On(null,void 0);a=Fn(a);for(var d=0;d<b.length;d++){var e=b[d],f=a[d];g.Ga(f)?g.Tn(c,e,f):c.add(e,f)}return c};
Wn=function(a,b){Sn(a);b=Vn(a,b);return Dn(a.o,b)};
g.Tn=function(a,b,c){a.remove(b);0<c.length&&(a.A=null,a.o.set(Vn(a,b),g.ib(c)),a.Pa=a.Pa+c.length)};
Vn=function(a,b){var c=String(b);a.C&&(c=c.toLowerCase());return c};
fea=function(a,b){b&&!a.C&&(Sn(a),a.A=null,a.o.forEach(function(c,d){var e=d.toLowerCase();d!=e&&(this.remove(d),g.Tn(this,e,c))},a));
a.C=b};
g.Xn=function(a){g.K.call(this);this.B=a;this.A={}};
Zn=function(a,b,c,d,e){Yn(a,b,c,d,!1,e)};
Yn=function(a,b,c,d,e,f){g.Ga(c)||(c&&($n[0]=c.toString()),c=$n);for(var k=0;k<c.length;k++){var l=g.Vf(b,c[k],d||a.handleEvent,e||!1,f||a.B||a);if(!l)break;a.A[l.key]=l}return a};
bo=function(a,b,c,d,e){ao(a,b,c,d,!1,e)};
ao=function(a,b,c,d,e,f){if(g.Ga(c))for(var k=0;k<c.length;k++)ao(a,b,c[k],d,e,f);else{b=Uf(b,c,d||a.handleEvent,e,f||a.B||a);if(!b)return a;a.A[b.key]=b}return a};
g.co=function(a){g.Mb(a.A,function(b,c){this.A.hasOwnProperty(c)&&g.eg(b)},a);
a.A={}};
eo=function(a,b,c){g.K.call(this);this.A=a;this.C=b;this.F=c;this.D=0;this.o=new g.Xn(this);iea(this)};
iea=function(a){a.F.forEach(function(b,c){this.o.X(c,"mousedown",this.G);this.o.X(c,"mouseup",this.J)},a);
a.o.X(a.C,"mouseover",a.H)};
g.fo=function(a,b){return a.replace(jea,function(c,d){try{var e=gc(b,d);if(null==e)return c;e=e.toString();if(""==e||!g.E(g.G(e)))return encodeURIComponent(e).replace(/%2C/g,",")}catch(f){}return c})};
ho=function(a,b){var c=[],d="",e="";if(null!=b){d=b;e=!0;e=void 0===e?!1:e;for(var f=[],k=0;d&&25>k;++k){var l="";void 0!==e&&e||(l=(l=9!==d.nodeType&&d.id)?"/"+l:"");a:{if(d&&d.nodeName&&d.parentElement){var m=d.nodeName.toString().toLowerCase();for(var n=d.parentElement.childNodes,p=0,q=0;q<n.length;++q){var u=n[q];if(u.nodeName&&u.nodeName.toString().toLowerCase()===m){if(d===u){m="."+p;break a}++p}}}m=""}f.push((d.nodeName&&d.nodeName.toString().toLowerCase())+l+m);d=d.parentElement}d=f.join();
if(b){e=(e=b.ownerDocument)&&(e.defaultView||e.parentWindow)||null;f=[];if(e)try{var w=e.parent;for(k=0;w&&w!==e&&25>k;++k){var D=w.frames;for(l=0;l<D.length;++l)if(e===D[l]){f.push(l);break}e=w;w=e.parent}}catch(F){}e=f.join()}else e=""}c.push(d,e);if(null!=a){for(w=0;w<go.length-1;++w)c.push(uh(a,go[w])||"");w=uh(a,"videoad_start_delay");D="";w&&(w=parseInt(w,10),D=0>w?"postroll":0==w?"preroll":"midroll");c.push(D)}else for(w=0;w<go.length;++w)c.push("");c=c.join(":");w=c.length;if(0==w)c=0;else{D=
305419896;for(d=0;d<w;d++)D^=(D<<5)+(D>>2)+c.charCodeAt(d)&4294967295;c=0<D?D:4294967296+D}return c.toString()};
io=function(a,b,c){this.o=a;this.A=b;this.C=c};
jo=function(a,b){this.o=a;this.og=b};
ko=function(a,b){g.If.call(this,"adError");this.A=a;this.o=b?b:null};
lo=function(a,b,c){g.If.call(this,a);this.A=b;this.o=null!=c?c:null};
kea=function(a){this.o=a};
lea=function(){var a=mo();return no(a,"disableExperiments")};
no=function(a,b){if(Xb(a.o,b)){var c=a.o[b];if(g.Ba(c))return c}return!1};
mea=function(a){if(Xb(a.o,"forceExperimentIds")){a=a.o.forceExperimentIds;var b=[],c=0;g.Ga(a)&&(0,g.C)(a,function(d){g.Ca(d)&&(b[c++]=d)});
return b}return null};
oo=function(a){return(a=a.match(/^\w{2,3}([-_]|$)/))?a[0].replace(/[_-]/g,""):""};
po=function(){this.C="always";this.L=4;this.F=1;this.o=this.K=this.B=!1;this.aa=this.J=!0;this.Y=this.A=this.O=!1;this.H=!0;this.M=null;this.Oa=this.D=this.V=!1;try{this.ba=vj(void 0)[0]}catch(a){}};
Q=function(){return P.O};
mo=function(){var a=P;if(null==a.M){var b={},c=(new g.Hn(ge().location.href)).o;if(Wn(c,"tcnfp"))try{b=JSON.parse(c.get("tcnfp"))}catch(d){}a.M=new kea(b)}return a.M};
nea=function(a){switch(a){case "BREAK_TYPE_PRE_ROLL":return 1;case "BREAK_TYPE_MID_ROLL":return 2;case "BREAK_TYPE_POST_ROLL":return 3;case "BREAK_TYPE_INDEPENDENT":return 5;case "BREAK_TYPE_RELATED":return 6;default:return 0}};
qo=function(a){g.If.call(this,a);this.B=[];this.C={};this.o=null;this.A=!0};
ro=function(a,b,c){this.C=b;this.o=c;this.B=a;this.A=!0};
so=function(){};
to=function(a,b,c){this.Ja=a;this.o=g.Jd(b||0,0,1);this.A=null!=c?c:!0};
uo=function(a){this.Ja=a;this.A=new g.Bn;this.kb=this.o=null};
oea=function(a){var b=Math.random(),c=0,d=a.A.wb();(0,g.C)(d,function(l){c+=l.o},a);
var e=1<c?c:1;a.o=null;for(var f=0,k=0;k<d.length;++k)if(f+=d[k].o,f/e>=b){a.o=d[k];break}};
qea=function(){this.A=null!=g.x.G_testRunner;this.C=new so;this.o=new g.Bn;Q()||(vo(this,"GvnExternalLayer",31061774,.01),vo(this,"GvnExternalLayer",31061775,.01),vo(this,"GvnExternalLayer",41351088,.01),vo(this,"GvnExternalLayer",41351089,.01),vo(this,"GvnExternalLayer",420706008,.05),vo(this,"GvnExternalLayer",420706009,.05),vo(this,"GvnExternalLayer",41351073,.01),vo(this,"GvnExternalLayer",41351074,.01),vo(this,"GvnExternalLayer",41351075,.01),vo(this,"GvnExternalLayer",634360101,0),vo(this,"GvnExternalLayer",
634360102,0),vo(this,"GvnExternalLayer",21592080,.1),vo(this,"GvnExternalLayer",21592081,.1),vo(this,"GvnExternalLayer",413051059,.05),vo(this,"GvnExternalLayer",413051060,.05),vo(this,"GvnExternalLayer",324123E3,.05),vo(this,"GvnExternalLayer",324123001,.05),vo(this,"GvnExternalLayer",420706068,.01),vo(this,"GvnExternalLayer",420706069,.01),vo(this,"GvnExternalLayer",324123020,.01),vo(this,"GvnExternalLayer",324123021,.01));vo(this,"ActiveViewExternalLayer",953563515,.01);vo(this,"ActiveViewExternalLayer",
953563516,.01);vo(this,"ActiveViewExternalLayer",953563517,.01);pea(this);var a=mo();a=mea(a);null!=a&&(this.A=!1,wo(this,a.map(String)))};
yo=function(){xo||(xo=new qea);return xo};
zo=function(){return yo().C};
rea=function(a,b){a.C=b};
sea=function(){var a=yo();(0,g.C)(a.o.Gb(),function(b){g.xb(b,"FORCED_PUB_EXP_LAYER_")&&this.o.remove(b)},a)};
vo=function(a,b,c,d){g.E(g.G(b))||isNaN(c)||0>=c||(c=new to(c,d),Ao(a,b).A.set(c.getId(),c))};
pea=function(a){lea()||(0,g.C)(a.o.wb(),function(b){oea(b)},a)};
wo=function(a,b){(0,g.C)(b,function(c){var d=Number(c);c="FORCED_PUB_EXP_LAYER_"+c;isNaN(d)||0>=d||g.E(g.G(c))||(Ao(this,c).o=new to(d,0,!0))},a)};
Bo=function(a,b){return a.A?!1:(0,g.xk)(a.o.wb(),function(c){return!!c.o&&c.o.getId()==b})};
Co=function(a){if(a.A)return"";var b=[];(0,g.C)(a.o.wb(),function(c){(c=c.o)&&c.A&&b.push(c.getId())});
return b.sort().join(",")};
Ao=function(a,b){var c=a.o.get(b);null==c&&(c=new uo(b),a.o.set(b,c));return c};
uea=function(a){var b=[];(0,g.C)(tea,function(c){(c=(c=Ao(a,c))?c.o:null)&&b.push(c.getId())});
return b};
Eo=function(a){return null!=a?Do(vea,a):!1};
Do=function(a,b){try{var c=(new g.Hn(b)).A;c=c.replace(/^www./i,"");return(0,g.xk)(a,function(d){return wea(d,c)})}catch(d){return!1}};
wea=function(a,b){if(g.E(g.G(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};
Go=function(a){var b=!1;Fo(a,xea)?b=!1:Eo(a)?b=!0:"https:"==window.location.protocol&&(Fo(a,yea)||Q())&&(b=!0);if(b){b=new g.Hn(a);if("https"==b.B)return a;g.In(b,"https");return b.toString()}return a};
Fo=function(a,b){return(new RegExp("^https?://([a-z0-9-]{1,63}\\.)*("+b.join("|").replace(/\./g,"\\.")+")(:[0-9]+)?([/?#]|$)","i")).test(a)};
Ho=function(a){if(g.E(g.G(a)))return!1;a=new g.Hn(a);if(!a.B||"http"!=a.B&&"https"!=a.B)return!1;a=a.A;return-1==a.indexOf(".")||a.match(/^[\.0-9]*$/)?!1:!0};
Io=function(a){g.E(g.G(a))||(a=g.id(a),a=g.fd(a),window.open(a,"_blank"))};
Ko=function(a,b,c){null!=a?(g.Qn(a,"label",b),null!=c&&g.Qn(a,"value",c.join(";")),a=a.toString()):a="";Jo(a)};
Lo=function(a,b,c,d){null!=a&&null!=b&&(a=g.fo(a,b));try{if(null!=c){b=a;var e=(c||{}).viewability||"na";if(g.E(g.G(e)))a=b;else{var f=new g.Hn(b);Wn(f.o,"label")?(g.Qn(f,"acvw",e),a=f.toString().replace(/%2C/g,",")):a=b}}a:{c=a;var k=c.length-11-2;if(!(-1==c.indexOf("URL_SIGNALS")||2048<=k||!d&&!window.Goog_AdSense_Lidar_getUrlSignalsArray))for(d=d||window.Goog_AdSense_Lidar_getUrlSignalsArray(),k={},e=0;e<d.length;++e){k.URL_SIGNALS=d[e];var l=g.fo(c,k);if(2048>l.length){a=l;break a}}a=c}}catch(m){}return a};
Jo=function(a,b,c,d){a=Lo(a,b,c,void 0);try{a=Go(a);var e=yo(),f=!Q()||Bo(e,41351089);b=!1;Q()||!Bo(yo(),634360102)||(b=!0);null!=d&&d?Mo.ZF(a,f):P.H?Mo.BV(a,f,b):Mo.Rn(a,f,b)}catch(k){}};
No=function(a,b){null!=a&&(0,g.C)(a,function(c){Jo(c,b)})};
zea=function(a,b){if(g.E(g.G(b)))return a;var c=new g.Hn(a),d=c.A;return null!=d&&yb(d,".g.doubleclick.net")?(g.Qn(c,"ged",b),c.toString()):a};
Oo=function(a,b){this.message=a;this.errorCode=b};
Qo=function(a,b,c){return Po("adLoadError",a,b||null,kb(arguments,2))};
Ro=function(a,b,c){return Po("adPlayError",a,b||null,kb(arguments,2))};
So=function(a,b,c,d,e){var f=a.apply(null,g.gb([c,d],kb(arguments,3)));b.dispatchEvent(new lo("log",null,f))};
To=function(a,b,c){So(Ro,a,b,c,void 0)};
Po=function(a,b,c,d){if(c instanceof ro)return c;var e=b.errorCode;b=b.message;if(0<d.length)for(var f=0;f<d.length;f++)b=b.replace(new RegExp("\\{"+f+"\\}","ig"),d[f]);a=new ro(a,b,e);a.Um=c;return a};
Uo=function(a,b,c,d){var e=Ro.apply(null,g.gb([b,c],kb(arguments,3)));a.dispatchEvent(new ko(e))};
Vo=function(a,b){g.If.call(this,"vpaidEventType");this.o=a;this.data=b};
Wo=function(a){return(a=a.exec(g.Kb))?a[1]:""};
Xo=function(a){return 0<=g.Jb(Aea,a)};
Yo=function(){return xi()||wi()};
ap=function(){return Zo&&!$o||Gb(g.Kb,"iPod")};
bp=function(){return ap()||$o};
ep=function(a){return bp()&&cp(dp,a)};
hp=function(a){return g.fp&&cp(gp,a)};
cp=function(a,b){if(null==ip[b]){var c=jp(a);c?(c=c.replace(/_/g,"."),ip[b]=0<=g.Jb(c,b)):ip[b]=!1}return ip[b]};
jp=function(a){g.E(kp)&&(a=a.exec(g.Kb))&&(kp=a[1]);return kp};
lp=function(){var a=g.Kb;return a?Gb(a,"Nintendo WiiU"):!1};
mp=function(){return Zo&&!$o&&ep(10)&&Q()||!Q()&&(Zo&&!$o&&ep(10),0)?!0:ap()||g.fp&&!hp(4)||!Q()&&yk()?!1:!0};
np=function(){var a;(a=P.o||!1)||(a=!1);return a||bp()&&(Zo&&!$o&&ep(10),!0)||g.fp&&!hp(4)||yk()?!0:!1};
op=function(a){return!(null===a||a.gk()||Q()||ap()||yk()||g.fp&&!hp(4))};
pp=function(){this.reset()};
qp=function(a,b){null!=b&&a.A!=b?(a.o=1,a.A=b):a.o=null!=b?a.o+1:1;return a.o};
rp=function(a,b,c,d,e,f){g.v(a)?(this.o="y"==a?b:0,this.months="m"==a?b:0,this.days="d"==a?b:0,this.hours="h"==a?b:0,this.minutes="n"==a?b:0,this.seconds="s"==a?b:0):(this.o=a||0,this.months=b||0,this.days=c||0,this.hours=d||0,this.minutes=e||0,this.seconds=f||0)};
g.up=function(a){g.Ca(a)?(this.date=sp(a,0,1),tp(this,1)):g.Ka(a)?(this.date=sp(a.getFullYear(),a.getMonth(),a.getDate()),tp(this,a.getDate())):(this.date=new Date((0,g.H)()),a=this.date.getDate(),this.date.setHours(0),this.date.setMinutes(0),this.date.setSeconds(0),this.date.setMilliseconds(0),tp(this,a))};
sp=function(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b};
tp=function(a,b){a.getDate()!=b&&a.date.setUTCHours(a.date.getUTCHours()+(a.getDate()<b?1:-1))};
vp=function(){this.A=this.o=null};
xp=function(){this.o=wp();this.L=-1;this.M=this.V=this.D=this.K=this.A=null;this.B=wp();this.C=null;this.Y=this.G=this.J="";this.H=this.O=this.aa=this.F=null;this.ba=0};
wp=function(){return Math.floor(4503599627370496*Math.random())};
yp=function(a){null==a.D&&(a.D=new pp);return a.D};
zp=function(a){if(P.o)return"h.3.0.0";var b="h."+a.Y;null!=a.F&&(b+="/n."+a.F,null!=a.A&&(b+="/"+a.A));return b};
Ap=function(){this.o=.01>Math.random();this.A=Math.floor(4503599627370496*Math.random())};
Bea=function(a,b){b.id="ima_html5";var c=Bp();b.c=a.A;b.domain=c.A;return b};
Bp=function(){var a=ge(),b=document;return new g.Hn(a.parent==a?a.location.href:b.referrer)};
Cp=function(){this.eg=1E4};
Dp=function(){g.jg.call(this)};
Ep=function(){g.jg.call(this);this.o=new g.Bn;this.A=null;this.Z=new g.Xn(this);g.L(this,this.Z);this.D="";this.B=this.J=this.G=this.C=null;this.H=-1};
Gp=function(){null!=Fp||(Fp=new Ep);return Fp};
Hp=function(a,b){var c={};c.queryId=a;c.viewabilityString=b;Gp().dispatchEvent(new lo("measurable_impression",null,c))};
Ip=function(a,b){var c={};c.queryId=a;c.viewabilityString=b;Gp().dispatchEvent(new lo("viewable_impression",null,c))};
Jp=function(a,b,c){var d={};d.queryId=a;d.viewabilityString=b;d.eventName=c;Gp().dispatchEvent(new lo("externalActivityEvent",null,d))};
Cea=function(a,b){if(a.A)if(a.B){var c=(0,g.H)()-a.H;b(a.B+"_ct"+c)}else{var d=a.o;c=window.setTimeout(function(){b("timeout");(0,g.C)(d.Gb(),function(f){d.get(f)===b&&d.remove(f)})},200);
a.o.set(c,b);var e={};e.osdId=a.D;e.eventId=c;Ap.getInstance().isLoggingEnabled()&&(a.F=(0,g.H)(),e.loggingId=Math.random(),Ap.getInstance().report(43,{step:"sendingMessage",logid:e.loggingId,time:a.F}));a.A.send("activityMonitor","fetchAdTagUrl",e)}else b("")};
Dea=function(a,b,c,d){if(a.A){var e={};e.queryId=c;e.vastEvent=b;a.D&&(e.osdId=a.D);e.isOverlay=null!=a.C;a.C&&(e.overlayBounds=g.ii(a.C));var f=a.o;b=window.setTimeout(function(){d({viewability:"timeout"});(0,g.C)(f.Gb(),function(k){f.get(k)===d&&f.remove(k)})},200);
a.o.set(b,d);e.eventId=b;a.A.send("activityMonitor","reportVastEvent",e)}else d({})};
Kp=function(){};
Lp=function(a){a=a.match(/[\d]+/g);if(!a)return"";a.length=3;return a.join(".")};
Op=function(a,b){if(null==a||0>=a.width||0>=a.height)throw Ro(Mp,null,"ad slot size",a.toString());this.A=a;this.o=null!=b?b:new Kp;this.D=Np(Eea,this.o.C)?this.o.C:"All";this.B=Np(Fea,this.o.creativeType)?this.o.creativeType:"All";this.G=Np(Gea,this.o.B)?this.o.B:"SelectExactMatch";this.H=Np(Hea,this.o.A)?this.o.A:"DisallowResize";this.C=null!=this.o.D?this.o.D:[];this.F=g.Ca(this.o.o)&&0<this.o.o&&100>=this.o.o?this.o.o:90};
Rp=function(a,b){var c=[];(0,g.C)(b,function(d){!g.E(g.G(d.o.A))&&(isNaN(d.o.o)||isNaN(Pp(d))||Pp(d)==d.o.o)&&Qp(this,d)?c.push(d):(d=Iea(this,d),null!=d&&!g.E(g.G(d.o.A))&&c.push(d))},a);
return c};
Qp=function(a,b){var c;if(c="Flash"!=b.Ad()||Sp){if(c="All"==a.D||a.D==b.o.M)c=b.Ad(),c=null!=c?"All"==a.B||a.B==c:!0;c&&(c=b.C,c=g.Za(a.C)?!0:null!=c?0<=Xa(a.C,c):!1)}if(c){var d=b.o.ie();if("IgnoreSize"==a.G||g.Rd(a.A,d))c=!0;else if(c="SelectNearMatch"==a.G)"ResizeSmaller"==a.H?(d=d.width<=a.A.width&&d.height<=a.A.height?d:Tp(d,a.A),c=d.width,d=d.height):(c=d.width,d=d.height),c=c>a.A.width||d>a.A.height||c<a.F/100*a.A.width||d<a.F/100*a.A.height?!1:!0}else c=!1;return c};
Iea=function(a,b){var c=b.A;return null!=c?g.Ua(c,function(d){return Qp(this,d)},a):null};
Tp=function(a,b){var c=Math.min(b.width/a.width,b.height/a.height);return new g.Qd(c*a.width,c*a.height)};
Np=function(a,b){return null!=b&&g.Yb(a,b)};
Up=function(a){a=0>a?0:Math.round(a);return 3600<=a?""+Math.floor(a/3600)+":"+("0"+Math.floor(a/60)%60).slice(-2)+":"+("0"+a%60).slice(-2):""+Math.floor(a/60)%60+":"+("0"+a%60).slice(-2)};
Jea=function(a){var b={};(0,g.C)(a.split(","),function(c){var d=c.split("=");2==d.length&&(c=Hb(d[0]),d=Hb(d[1]),0<c.length&&(b[c]=d))});
return b};
Wp=function(a,b){if(a[b])return Vp(a[b]);var c=b.toLowerCase(),d;for(d in a)if(d&&d.toLowerCase()==c)return Vp(a[d]);return!1};
Vp=function(a){return a?-1!=a.toString().search(/(?:true|1)/i):!1};
Kea=function(){this.o=this.Ee=1;this.A=this.B=0;this.C=1};
Xp=function(){g.jg.call(this);this.o=null;this.Z=new g.Xn(this);g.L(this,this.Z);this.A=new g.Bn;this.F=new g.Bn;this.B=null;this.C=!1;this.D=null};
Zp=function(){null!=Yp||(Yp=new Xp);return Yp};
Lea=function(){Zp();var a=yo(),b=Hj.getInstance().Ua;a=uea(a);Vba(b,a)};
aq=function(a){if(null==a)return!1;if(ap()&&null!=a.webkitDisplayingFullscreen)return a.webkitDisplayingFullscreen;var b=window.screen.availWidth||window.screen.width,c=window.screen.availHeight||window.screen.height;a=$p(a);return 0>=b-a.width&&42>=c-a.height};
$p=function(a){return g.Ja(a.getBoundingClientRect)&&g.we(Ud(a),a)?a.getBoundingClientRect():{left:a.offsetLeft,top:a.offsetTop,width:a.offsetWidth,height:a.offsetHeight}};
cq=function(a,b,c,d,e){if(a.C){if(a.D)return a.D(b,c,e);e=e||{};if(d=d?a.F.get(d):P.G)null!=e.opt_fullscreen||(e.opt_fullscreen=aq(d)),null!=e.opt_adElement||(e.opt_adElement=d);a.B&&(P.o&&(e.opt_overlayAdElement=a.B),null!=e.opt_bounds||(e.opt_bounds=$p(a.B)));return bq.kj(471,g.Na(wn,b,c,e),void 0,void 0)||{}}return{}};
dq=function(a,b){var c=[];a.A.forEach(g.Na(function(d,e,f,k){f==e&&d.push(k)},c,b));
(0,g.C)(c,a.A.remove,a.A)};
eq=function(a){if(g.Ja(window.Goog_AdSense_Lidar_getUrlSignalsArray)){var b={};b.pageSignals=window.Goog_AdSense_Lidar_getUrlSignalsArray();a.o.send("activityMonitor","pageSignals",b)}};
Mea=function(a,b,c){if(!P.J)return"";var d=b?a.F.get(b):P.G;a={};null!=c&&(a.fullscreen=c);c="";try{c=Gba(function(){return d},a)}catch(e){c="sdktle;"+vc(e.name,12)+";"+vc(e.message,40)}return c};
fq=function(a,b){g.If.call(this,a);this.o=b};
gq=function(a,b){this.J=a;this.H=(0,g.I)(b,function(c){return c.clone()});
this.G="";this.B=null;this.o=this.C=0;this.A=!0;this.D=[];this.F=[]};
hq=function(a,b,c,d,e){a.G="<div></div>";a.B=b;a.C=c;a.o=d;a.A=!1;a.D=e||[];a.F=[]};
iq=function(a){a.G="";a.B=null;a.C=0;a.o=0;a.A=!0;a.D=[];a.F=[]};
jq=function(a){g.If.call(this,a)};
kq=function(a){if(a&&a.items&&a.items.length){a=a.items[0];this.channelId=a.id;var b=a.snippet;b&&(this.authorName=b.title,this.channelIconThumbnailUrl=g.Wb(b,"thumbnails","default","url"));if(b=a.statistics)this.videoCount=b.videoCount;if(a=a.brandingSettings)this.o=g.Wb(a,"image","bannerImageUrl")}};
g.lq=function(a){this.o="number"==typeof a?0<a?1:0>a?-1:null:null==a?null:a?-1:1};
g.mq=function(a,b){var c=a.A(b,void 0);return-1==(0==c?a.o:c)?"rtl":"ltr"};
nq=function(){throw Error("Do not instantiate directly");};
oq=function(a,b){this.content=String(a);this.Xl=null!=b?b:null};
pq=function(){nq.call(this)};
qq=function(){nq.call(this)};
rq=function(a,b){return null!=a&&a.Nj===b};
sq=function(a){if(null!=a)switch(a.Xl){case 1:return 1;case -1:return-1;case 0:return 0}return null};
R=function(a){return rq(a,tq)?a:a instanceof ud?uq(g.vd(a).toString(),a.o()):uq(g.tc(String(String(a))),sq(a))};
vq=function(a){return a instanceof nq?!!a.Xc():!!a};
yq=function(a,b,c){var d="key_"+a+":"+b,e=wq[d];if(void 0===e||0>e)wq[d]=0,xq[d]=c;else if(0==e)throw Error('Encountered two active delegates with the same priority ("'+a+":"+b+'").');};
zq=function(a,b){var c=xq["key_"+a+":"+b];c||""==b||(c=xq["key_"+a+":"]);return c?c:Nea;throw Error('Found no active impl for delegate call to "'+a+(b?":"+b:"")+'" (and delcall does not set allowemptydefault="true").');};
Nea=function(){return""};
Aq=function(a){return a.replace(/<\//g,"<\\/").replace(/\]\]>/g,"]]\\>")};
S=function(a){return rq(a,tq)?String(String(a.Xc()).replace(Bq,"").replace(Cq,"&lt;")).replace(Oea,Dq):g.tc(String(a))};
Eq=function(a){return rq(a,tq)?String(String(a.Xc()).replace(Bq,"").replace(Cq,"&lt;")).replace(Pea,Dq):String(a).replace(Qea,Dq)};
Gq=function(a){rq(a,Fq)?a=a.Xc().replace(/([^"'\s])$/,"$1 "):(a=String(a),a=Rea.test(a)?a:"zSoyz");return a};
Sea=function(a){return"%"+a.charCodeAt(0).toString(16)};
Iq=function(a){a=g.rc(String(a));Hq.lastIndex=0;return Hq.test(a)?a.replace(Hq,Sea):a};
Oq=function(a){rq(a,Jq)||rq(a,Kq)?a=Lq(a):a instanceof dd?a=Lq(g.fd(a)):a instanceof Zc?a=Lq($c(a).toString()):(a=String(a),a=Tea.test(a)?a.replace(Mq,Nq):"about:invalid#zSoyz");return a};
Pq=function(a){rq(a,Jq)||rq(a,Kq)?a=Lq(a):a instanceof dd?a=Lq(g.fd(a)):a instanceof Zc?a=Lq($c(a).toString()):(a=String(a),a=Uea.test(a)?a.replace(Mq,Nq):"about:invalid#zSoyz");return a};
Qq=function(a){rq(a,Vea)?a=Aq(a.Xc()):null==a?a="":a instanceof ld?a=Aq(md(a)):a instanceof sd?(a instanceof sd&&a.constructor===sd&&a.A===rd?a=a.o:(Fa(a),a="type_error:SafeStyleSheet"),a=Aq(a)):(a=String(a),a=Wea.test(a)?a:"zSoyz");return a};
Sq=function(a){var b=Rq[1]||(Rq[1]=new g.lq(1)),c=sq(a);null==c&&(c=Xc(a+"",null!=a&&a.Nj===tq));return Xea(c!=b.o?-1==c?'dir="rtl"':1==c?'dir="ltr"':"":"")};
Dq=function(a){return Yea[a]};
Nq=function(a){return Zea[a]};
Lq=function(a){return String(a).replace(Mq,Nq)};
$ea=function(a){var b=a.title,c=a.text,d=a.mh,e=a.dir,f=a.image,k=a.duration,l=a.pW;a=a.XG;return'<div class="'+S("text-container")+" "+(f?S("pyv"):"")+'"><div class="'+S("text-inner-container")+'">'+(f?(d?'<a class="'+S("text-image-link")+'" target="_blank" href="'+S(Oq(d))+'">':'<a class="'+S("text-image-link")+'" target="_blank">')+'<img src="'+S(Pq(f))+'" class="'+S("text-image")+" "+(a?S("yt-video-image"):"")+'">'+(k?'<div class="'+S("text-image-duration")+'">'+R(k)+"</div>":"")+"</a>":"")+(d?
'<a class="'+S("text-title")+'" href="'+S(Oq(d))+'" target="_blank" dir='+Eq(e)+">"+R(b)+"</a>":"")+'<div class="'+S("text-description")+'" dir='+Eq(e)+">"+R(c)+"</div>"+(vq(l)&&vq(d)?'<a target="_blank" href="'+S(Oq(d))+'" class="'+S("text-ad-channel")+'">'+R(l)+"</a>":"")+"</div></div>"};
afa=function(a){var b=a.url,c=a.width,d=a.height,e=a.mh;a=a.capture;return'<div class="'+S("flash-container")+" "+(a?S("click-capture"):"")+'">'+(e?'<a class="click-layer" target="_blank" href="'+S(Oq(e))+'"></a>':"")+'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="//download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+S(c)+'" height="'+S(d)+'"><param name="movie" value="'+S(b)+'"><param name="quality" value="high"><param name="wmode" value="transparent"><param name="AllowScriptAccess" value="never"><param name="FlashVars" value="clickTAG='+
Iq(e)+'"><embed width="'+S(c)+'" height="'+S(d)+'" wmode="transparent" type="application/x-shockwave-flash" src="'+S(Oq(b))+'" allowscriptaccess="never" pluginspage="//www.macromedia.com/go/getflashplayer" flashvars="clickTAG='+Iq(e)+'"></object></div>'};
bfa=function(a){var b=a.id,c=a.url,d=a.mh,e=a.width;a=a.height;return'<div class="'+S("image-container")+'" id="'+S(b)+'" style="width:'+S(Qq(e))+";height:"+S(Qq(a))+';">'+(d?'<a target="_blank" href="'+S(Oq(d))+'">':'<a target="_blank">')+'<img src="'+S(Pq(c))+'" border="0"></a></div>'};
cfa=function(a){var b=a.id,c=a.url;a=a.mh;return'<div class="'+S("image-container")+'" id="'+S(b)+'">'+(a?'<a target="_blank" href="'+S(Oq(a))+'">':'<a target="_blank">')+'<img src="'+S(Pq(c))+'" border="0" style="max-width:100%;max-height:100%;"></a></div>'};
Tq=function(a){var b=a.id,c=a.width;a=a.height;return'<div class="'+S("image-container")+'" id="'+S(b)+'" style="width:'+S(Qq(c))+";height:"+S(Qq(a))+';"></div>'};
Uq=function(){this.o=new g.Bn};
Vq=function(a,b){this.A=a;this.C=b};
Wq=function(a,b){Vq.call(this,"progress",a);this.o=b};
Yq=function(a,b){(0,g.C)(b,function(c){var d=c.Xb().toLowerCase(),e=Xq(this,d);e.push(c);this.o.set(d,e)},a)};
Zq=function(a,b,c,d){b=b.toLowerCase();c=null!=d?new Wq(c,d):new Vq(b,c);d=Xq(a,b);d.push(c);a.o.set(b,d)};
Xq=function(a,b){return null!=b?a.o.get(b.toLowerCase(),[]):[]};
dfa=function(a,b){var c=Xq(a,"progress");(0,g.C)(c,function(d){$q(d.o,b)});
g.tb(c,function(d,e){return ar(d.o)-ar(e.o)})};
br=function(a,b){return(0,g.I)(Xq(a,b),function(c){return c.Xa()})};
cr=function(){this.ka=-1;this.H={};this.ya="";this.jk=new Uq};
dr=function(a,b,c){a.ya=b;a.H=c};
er=function(a,b){var c=[],d=a.yp();(0,g.C)(d,function(e){e=Xq(e.jk,b)||[];c=g.gb(e,c)},a);
return c};
efa=function(a){a=er(a,"feedbackShown");return(0,g.I)(a||[],function(b){return b.Xa()})};
fr=function(a,b,c){var d=c||!1;return g.Ua(b.F,function(e){var f=e.o==this.o;return e instanceof this.constructor&&(d||f)},a)};
gr=function(a,b,c,d,e,f,k,l,m){this.C=a;this.o=b;isNaN(c)&&isNaN(d)&&isNaN(e)?e=d=0:isNaN(d)&&!isNaN(e)?d=e:!isNaN(d)&&isNaN(e)?e=d:!isNaN(c)&&isNaN(d)&&isNaN(e)&&(d=e=c);this.Ti=d;this.gg=e;this.F=f;this.B=k;this.D=Go(g.G(l));this.A=m};
hr=function(a,b,c,d,e,f){cr.call(this);this.ka=a;this.B=b;this.C=c;this.A=g.ib(d);this.D=null;this.F=e;this.xa=g.ib(f);nb(this.xa,null,function(k){return k.L})};
ir=function(a){var b=new g.Bn,c=a.yp();(0,g.C)(c,function(d){if(d instanceof hr){var e=d.C;(0,g.C)(e.Gb(),function(f){b.set(f,g.gb(e.get(f),b.get(f)||[]))},this)}},a);
return b};
kr=function(a){return jr(a,"x-shockwave-flash")};
jr=function(a,b){var c=g.Ua(a.A,function(d){return!g.E(g.G(d.o))&&-1!=d.o.indexOf(b)&&("VPAID"==d.A||"surveys"==d.A)});
return null!=c?c:null};
mr=function(a,b,c,d,e){cr.call(this);g.E(g.G(a))&&(a=Ac()+"_ima");this.Ja=g.G(a);this.Ia=b;this.M=c;this.sa=d;this.A=e;this.L=[];null!=this.sa?this.ba=lr[this.sa]||"Other":this.ba=null};
nr=function(a,b,c){g.K.call(this);this.A=a;this.D=b;this.K=c;this.B=0;this.o={};this.C=new g.Xn(this);g.L(this,this.C);ffa(this)};
ffa=function(a){(0,g.C)(a.K,function(b){this.C.X(b.element,"mousedown",this.G,!0);this.C.X(b.element,"mouseup",g.Na(this.J,b),!0)},a);
a.C.X(a.D,"mouseenter",a.H)};
gfa=function(a,b){g.Mb(a.o,function(c,d){b=wh(b,d,c)});
return b};
or=function(a,b,c,d,e){mr.call(this,a,b,c,d,e);this.ha=this.B=null;this.Fa=-2;this.C=null;this.ea=this.Y=g.z;this.aa=[];this.Ra=[];this.F=!1;this.kb=null};
rr=function(a,b){a.C=b;null!=a.B&&null!=b&&(pr(a,a.Y),qr(a,a.ea))};
pr=function(a,b){null!=a.C&&null!=a.B&&(0,g.C)(a.aa,function(c){this.C.Ka(c,"click",this.Y);!g.E(g.G(this.uf()))&&this.C.X(c,"click",b)},a);
a.Y=b};
qr=function(a,b){null!=a.C&&null!=a.B&&(a.C.Ka(a.B,"creativeview",a.ea),a.C.X(a.B,"creativeview",b));a.ea=b};
sr=function(a,b){var c=a.Ja,d={};d.style="cursor:default;position:relative;z-index:1001;height:"+a.getHeight()+"px;";"Text"!=a.Ad()&&(d.style+="width:"+a.ab()+"px");g.E(g.G(c))||(d.id=c);return g.ie("DIV",d,b)};
ur=function(a){if(!a.F)return null;var b=er(a,"start");jb(b,er(a,"creativeview"));if(null!=b&&!g.Za(b)){var c=[];(0,g.C)(b,function(d){if(!g.E(g.G(d))){var e=Wd().dL("IFRAME",{frameborder:0,style:"border:0;vertical-align:bottom;"});var f=$c(tr).toString();e.src=f;g.Ph(e,{display:"block",height:"0px",width:"0px"});f="iframe"+Math.floor(1E9*Math.random());e.setAttribute("height",0);e.setAttribute("width",0);e.setAttribute("src",Go(d.Xa()));e.setAttribute("id",f);this.Ra.push(f);g.bb(c,e)}},a);
return c}return null};
hfa=function(a,b){if(null!=a.B)if(zo().o("cleanup_text_overlay_spam_signals")){var c=[];(0,g.C)(a.aa,function(d){c.push({element:d,hK:this.ru(d)})},a);
new nr(b,a.B,c)}else c=new g.Bn,(0,g.C)(a.aa,function(d){c.set(d,this.ru(d))},a),new eo(b,a.B,c)};
ifa=function(a){var b=[],c=a.yp();(0,g.C)(c,function(d){b=g.gb(b,d.L)},a);
return b};
vr=function(a,b,c){var d=c||!1;return g.Ua(b.F,function(e){var f=e.o==this.o;return this instanceof e.constructor&&(d||f)},a)};
wr=function(a,b){this.o=null!=a?a:new Uq;this.J=null!=b?b:[]};
jfa=function(a,b){var c=b.o;(0,g.C)(c.Gb(),function(d){Yq(this.o,c.get(d))},a)};
xr=function(a,b){var c=br(a.o,b);return null!=c?c:[]};
yr=function(a){if(a.classList)return a.classList;a=a.className;return g.v(a)&&a.match(/\S+/g)||[]};
g.zr=function(a,b){return a.classList?a.classList.contains(b):g.Ya(yr(a),b)};
g.T=function(a,b){a.classList?a.classList.add(b):g.zr(a,b)||(a.className+=0<a.className.length?" "+b:b)};
g.Ar=function(a,b){if(a.classList)(0,g.C)(b,function(e){g.T(a,e)});
else{var c={};(0,g.C)(yr(a),function(e){c[e]=!0});
(0,g.C)(b,function(e){c[e]=!0});
a.className="";for(var d in c)a.className+=0<a.className.length?" "+d:d}};
g.Br=function(a,b){a.classList?a.classList.remove(b):g.zr(a,b)&&(a.className=(0,g.re)(yr(a),function(c){return c!=b}).join(" "))};
g.Cr=function(a,b){a.classList?(0,g.C)(b,function(c){g.Br(a,c)}):a.className=(0,g.re)(yr(a),function(c){return!g.Ya(b,c)}).join(" ")};
g.U=function(a,b,c){c?g.T(a,b):g.Br(a,b)};
Dr=function(a,b){var c=!g.zr(a,b);g.U(a,b,c);return c};
Er=function(a,b){var c=a(b||kfa,void 0,void 0);var d=Wd().createElement("DIV");c=lfa(c);g.Ed(d,g.Dd(g.Uc("Soy HTML template."),c));1==d.childNodes.length&&(c=d.firstChild,1==c.nodeType&&(d=c));return d};
lfa=function(a){if(!g.Ka(a))return String(a);if(a instanceof nq){if(a.Nj===tq)return a.Xc();if(a.Nj===Fr)return g.tc(a.Xc())}return"zSoyz"};
Gr=function(a,b){or.call(this,a,b,"Static","text","")};
Hr=function(a){null!=a?Do(mfa,a)?(a=a.match(/yt_vid\/([a-zA-Z0-9_-]{11})/),a=null!=a&&1<a.length?a[1]:null):a=Eo(a)?nfa(a):null:a=null;return a};
Ir=function(a,b,c){if(null==a)return null;c=new g.Hn((null!=c?c:"//www.youtube.com/")+"watch");var d=c.o;d.set("v",a);d.set("feature",b?"trueview-instream":"instream");Mn(c,d);return c.toString()};
Jr=function(a){return null===a?!1:"pharma"==(new g.Hn(a)).Bi().toLowerCase()};
nfa=function(a){if(g.E(g.G(a)))return null;var b=a.match(/^https?:\/\/[^\/]*youtu\.be\/([a-zA-Z0-9_-]+)$/);if(null!=b&&2==b.length)return b[1];b=a.match(/^https?:\/\/[^\/]*youtube.com\/video\/([a-zA-Z0-9_-]+)$/);if(null!=b&&2==b.length)return b[1];b=a.match(/^https?:\/\/[^\/]*youtube.com\/watch\/([a-zA-Z0-9_-]+)$/);if(null!=b&&2==b.length)return b[1];a=(new g.Hn(a)).o;return Wn(a,"v")?a.get("v").toString():Wn(a,"video_id")?a.get("video_id").toString():null};
Kr=function(a){return g.E(g.G(a))?null:"//i1.ytimg.com/vi/"+a+"/mqdefault.jpg"};
Lr=function(a){return g.E(g.G(a))?!1:null!=a.match(/^https:\/\/[^\/]*youtube(?:kids)?.com\/api\/stats\/ads/)};
Sr=function(a,b,c){var d={};a=new Mr(a,g.Aa(b)?b:null,g.Aa(c)?c:null);Nr(d,a);b=a.error;d.ERRORCODE=1E3>b.o?b.o:900;Or(d);Pr(d,a);Qr(d,a);b=a.error.Fb();d.ERROR_MSG=a.error.Ud();d.IMA_ERROR=b;d.INTERNAL_ID="0";b=-1!=Xa(ofa,b);d.BLOCKING_ERROR=b?"1":"0";d.YT_ERROR_CODE=3;Rr(d,a);return d};
Tr=function(a,b){var c={},d=new Mr(null,a,g.Aa(b)?b:null);Nr(c,d);Or(c);Pr(c,d);Qr(c,d);Rr(c,d);pfa(c,d);qfa(c,d);d=a.jb;for(var e=a;null!=e;)d=e.Oa+","+d,e=e.A;c.RWT=d;return c};
Mr=function(a,b,c){this.error=a;this.o=b;this.display=c};
Ur=function(a,b){null!=b&&(a.VIEWABILITY=b)};
Vr=function(a,b,c,d){rfa(c,b)?a[c]=d||"":a[c]=""};
rfa=function(a,b){return(0,g.xk)(sfa[a],function(c){return null!=b.match(c)})};
Nr=function(a,b){a.CACHEBUSTING={toString:function(){return Math.round(1E8*Math.random()+1E8).toString().slice(1)}};
a.ASSETURI={toString:function(){return null!=b.display?b.display.getVideoUrl():""}};
a.TIMESTAMP={toString:function(){return(new Date).toISOString()}}};
qfa=function(a,b){a.AD_CPN={toString:function(){return b.display.Ne()}};
a.AD_MT={toString:function(){return Math.round(Math.max(0,1E3*b.display.getCurrentTime())).toString()}};
a.MT={toString:function(){return b.display?Math.round(Math.max(0,1E3*b.display.getCurrentTime(1))).toString():"0"}};
a.P_W={toString:function(){return null!=b.display&&null!=b.display.Bh()?b.display.Bh().width.toString():""}};
a.P_H={toString:function(){return null!=b.display&&null!=b.display.Bh()?b.display.Bh().height.toString():""}}};
Or=function(a){a.SDKV=zp(Wr);a.EL="adunit";a.CONN="0";a.WT={toString:function(){return Date.now()}};
a.VED=""};
Pr=function(a,b){if(null!=b.o&&null!=b.o.C&&null!=b.o.C.dc&&Q()){var c=b.o.C.dc;(0,g.C)(tfa,function(d){d in c&&(a[d]=c[d])})}};
Qr=function(a,b){if(null!=b.o){a.AD_ID=Xr(b.o);a.AD_SYS=Yr(b.o);var c=Zr(b.o);a.AQI=null!=c?c:"";a.AD_V={toString:function(){if(null!=b.display){var d=Hr(b.display.getVideoUrl());if(null!=d)return d}return"0"}};
a.FORMAT_NAMESPACE="0";a.FORMAT_TYPE="0";a.FORMAT_SUBTYPE="0";c=[];try{c=$r(b.o).split("_")}catch(d){}1<=c.length&&(a.FORMAT_NAMESPACE=c[0]);2<=c.length&&(a.FORMAT_TYPE=c[1]);3<=c.length&&(a.FORMAT_SUBTYPE=c[2]);a.FINAL="1"}};
Rr=function(a,b){a.BREAK_TYPE="0";a.SLOT_POS="0";a.MIDROLL_POS="0";if(null!=b.o){var c=b.o.C;if(null!=c&&null!=c.gi&&null!=c.gi.video_start_delay)c=c.gi.video_start_delay,0==c?a.BREAK_TYPE="1":-1==c?a.BREAK_TYPE="3":(a.BREAK_TYPE="2",a.MIDROLL_POS=c);else{c=b.o.B;a.BREAK_TYPE=0==c.B?"1":-1==c.B?"3":"2";var d=b.o.Ue();d&&(a.BREAK_TYPE=d);a.SLOT_POS=c.o-1;c=b.o.C;c=null!=c&&null!=c.dc&&null!=c.dc.GET_MIDROLL_POSITION_IN_SEC?c.dc.GET_MIDROLL_POSITION_IN_SEC:null;d=Math.round(b.o.B.A);c=0<d&&c?c(d):d;
0<c&&(a.MIDROLL_POS=c)}}};
pfa=function(a,b){null!=b.o&&(a.AD_LEN={toString:function(){var c=b.o.getDuration();return 0>c?"-1":Math.round(1E3*c).toString()}},a.VOL={toString:function(){return null!=b.display?b.display.isMuted()?"0":Math.round(100*b.display.getVolume()).toString():""}})};
cs=function(a,b,c){var d=null,e=c+b;(0,g.C)(a.F,function(f){if(Wp(f.H,"rm")){var k=Tr(a);as(a)&&(k.FILLED_OPPORTUNITY=0);No(a.K,k);(k=a.C)&&k.afcRmFallback&&(d=f)}else{if(k=f instanceof or)0==c&&0==b||f instanceof Gr?k=!0:(k=f.ie(),k=k.width<=b&&k.height<=c);k&&(k=0==c&&0==b?0:c-f.ie().height+b-f.ie().width,"Flash"!=f.Ad()||Sp)&&(null!=d?k<e?(d=f,e=k):k==e&&("Flash"==d.Ad()&&"Javascript"==f.Ad()?d=f:f.o<d.o&&(d=f)):(d=f,e=k))}});
bs(a,d)};
ds=function(a){var b=null;(0,g.C)(a.F,function(c){c instanceof hr&&(null===b||c.o<b.o)&&(b=c)});
bs(a,b)};
es=function(a,b,c,d){this.B=a;this.G=b;this.ads=0<this.B.length?this.B:this.G;this.F=c;this.D=this.H=!0;this.A=-1;this.o=null;this.K=this.C=0;this.L=d;this.logger=null};
is=function(a,b,c){var d=[],e=(0,g.A)(function(f){this.Vf()?this.Pe(function(k){d.push(k);e(null)},function(k){301==k.Fb()?c(Qo(fs)):e(k)}):0<d.length?b(d):(null==f&&(f=Qo(gs)),1012==f.Fb()&&(f=Qo(hs)),c(f))},a);
e(null)};
ufa=function(a,b){a.D=b;a.ads=a.pB(a.B,a.G);a.A=-1};
vfa=function(a,b,c,d){var e=a.F.clone();e.A="";e.o=b.tc;js(a,b,e,c,d)};
js=function(a,b,c,d,e){var f=b.getExtension("LocalRedirect");null!=f&&(f=f.C,null!=f&&(c.A=f));a.L.fetch(c,(0,g.A)(function(k){k instanceof es?(wfa(k,b,this.D&&b.Ab,b.Pb),d(k)):k instanceof ks?e(new ro("adLoadError","Ad source cannot contain playlist response.",2)):e(new ro("adLoadError","Unknown ad source.",2))},a),e)};
xfa=function(a){var b=0;for(a=a.A;null!=a;)a=a.A,b++;return b};
yfa=function(a,b,c){a.o.Vf()?a.o.Pe((0,g.A)(function(d){this.Yq(d,b,(0,g.A)(function(e){this.Vf()?this.Pe(b,c):c(e)},this))},a),(0,g.A)(function(d){ls(this.ads[this.A],d);
this.o=null;Q()||301!=d.Fb()?this.Vf()?this.Pe(b,c):c(d):c(d)},a)):(0==a.o.C&&ls(a.ads[a.A],Qo(ms)),a.o=null,a.Pe(b,c))};
ls=function(a,b){if(b.A){1012==b.Fb()&&(b=Qo(hs));var c=Sr(b,a),d=a.ka;Q()&&303==b.Fb()&&(d=(0,g.re)(d,function(e){return-1==e.indexOf(".youtube.com/api/stats/ads")}));
No(d,c)}};
Bfa=function(a,b,c){a.A++;var d=a.ads[a.A];d.ga||d.sa?d.sa?vfa(a,d,(0,g.A)(function(e){this.o=e;this.Pe(b,c)},a),(0,g.A)(function(e){e=ns(e);
ls(d,e);c(e)},a)):xfa(d)>=P.L?(a=Qo(zfa,null,String(P.L)),ls(d,a),c(a)):a.H?a.kx(d,(0,g.A)(function(e){this.o=e;
this.Pe(b,c)},a),(0,g.A)(function(e){e=ns(e);
ls(d,e);c(e)},a)):c(Qo(Afa)):a.Yq(d,b,c)};
ns=function(a){switch(a.Fb()){case 300:case 301:case 302:case 303:case 200:case 1012:break;default:a=Qo(ms)}return a};
wfa=function(a,b,c,d){(0,g.C)(a.ads,function(e){e.A=b});
ufa(a,c);a.H=d};
os=function(a){wr.call(this);this.A=isNaN(a)?-1:a};
ps=function(a,b,c,d){es.call(this,[],a,b,c);this.J=d};
qs=function(a){var b=a.ads.length-(0>a.A?1:a.A+1);return null!=a.o&&a.o instanceof ps?b+qs(a.o):b};
rs=function(a){g.Hn.call(this,a);this.G=new g.Bn;a=this.C;var b=a.indexOf(";"),c=null;0<=b?(g.Ln(this,a.substring(0,b)),c=a.substring(b+1)):g.Ln(this,a);Cfa(this,c)};
Cfa=function(a,b){g.E(g.G(b))||(0,g.C)(b.split(";"),function(c){var d=c.indexOf("=");if(0<d){var e=sc(c.substring(0,d));c=sc(c.substring(d+1));d=this.G.get(e);null!=d?g.Ya(d,c)||d.push(c):d=[g.G(c)];this.G.set(e,d)}},a)};
ts=function(a,b){if(g.E(g.G(b)))return null;var c=a.G.get(b);return null!=c?c:null};
us=function(a,b,c){g.E(g.G(b))||(c=g.I(c,g.G),a.G.set(b,c))};
vs=function(a,b){var c=[g.G(b)];jb(c,Dfa(a));return c.join(";")};
Dfa=function(a){var b=ts(a,"ord");null!=b?g.E(g.G("ord"))||a.G.remove("ord"):b=[g.G((0,g.H)())];var c=[];(0,g.C)(a.G.Gb(),function(d){(0,g.C)(this.G.get(d),function(e){jb(c,d+"="+e)})},a);
jb(c,"ord="+b[0]);us(a,"ord",b);return c};
xs=function(a){if(null==a)return!1;a=new g.Hn(a);var b=a.C;return yb(a.A,"googleads.g.doubleclick.net")&&ws("/pagead/(live/)?ads",b)};
ys=function(a){a=a.o;return null!=a?"bid.g.doubleclick.net"==(new g.Hn(a)).A:!1};
zs=function(a){if(null==a)return!1;var b=new rs(a);a=b.A;b=vs(b,b.C);return!yb(a,".g.doubleclick.net")&&yb(a,"doubleclick.net")&&ws("/(ad|pfad)[x|i|j]?/",b)};
As=function(a){if(null==a)return!1;a=new g.Hn(a);var b=a.C;return yb(a.A,"doubleclick.net")&&ws("/gampad/(live/)?ads",b)};
Efa=function(a){return xs(a.o)||zs(a.o)||As(a.o)||ys(a)};
Cs=function(a){a=a.o;return null!=a?Bs(a):!1};
Bs=function(a){a=new g.Hn(a);var b=a.C;return yb(a.A,"youtube.com")&&ws("/get_midroll_info",b)};
Ffa=function(a){a=a.o;if(null==a)return null;a=(new g.Hn(a)).o;return null!=a.get("ms")?g.G(a.get("ms")):null};
ws=function(a,b){return g.E(g.G(b))?!1:(new RegExp(a)).test(b)};
Ds=function(a,b,c,d){this.o=a;this.A=b;this.C=c;this.B=null!=d?d:!1};
Pp=function(a){a=a.o.Tb().o;return null!=a?a.o:NaN};
Es=function(a,b){a.o.J=b;(0,g.C)(a.A,function(c){Es(c,b)},a)};
Fs=function(a){var b=a.headline,c=a.description,d=a.image,e=a.action,f=a.target,k=a.dir;a=a.VJ;return uq('<div class="'+S("iv-endcap-background")+'">'+(a?'<a class="'+S("iv-endcap-slot")+'" href="'+S(Oq(f))+'" target="_blank"><div class="'+S("iv-endcap-card")+'"><div class="'+S("iv-endcap-image")+'"><img src="'+S(Pq(d))+'"></div><div class="'+S("iv-endcap-text")+'" dir='+Eq(k)+'><div><div class="'+S("iv-endcap-headline")+'">'+R(b)+'</div><div class="'+S("iv-endcap-description")+'">'+R(c)+'</div></div></div><div class="'+
S("iv-endcap-action")+'">'+(e?R(e):'<span class="'+S("iv-endcap-action-icon")+'"></span>')+"</div></div></a>":'<div class="'+S("iv-endcap-slot")+'"><div class="'+S("iv-endcap-card")+'"><a class="'+S("iv-endcap-image")+'" href="'+S(Oq(f))+'" target="_blank"><img src="'+S(Pq(d))+'"></a><div class="'+S("iv-endcap-text")+'" dir='+Eq(k)+'><a href="'+S(Oq(f))+'" target="_blank"><div class="'+S("iv-endcap-headline")+'">'+R(b)+'</div><div class="'+S("iv-endcap-description")+'">'+R(c)+'</div></a></div><a class="'+
S("iv-endcap-action")+'" href="'+S(Oq(f))+'" target="_blank" dir='+Eq(k)+">"+(e?R(e):'<span class="'+S("iv-endcap-action-icon")+'"></span>')+"</a></div></div>")+'<div class="'+S("iv-endcap-bottom")+'"><svg class="'+S("iv-endcap-countdown")+'" viewBox="0 0 20 20"><circle class="'+S("iv-endcap-countdown-inner")+'" r="5" cx="10" cy="10"/><circle class="'+S("iv-endcap-countdown-outer")+'" r="10" cx="10" cy="10"/></svg></div></div>')};
Gfa=function(a){var b=a.cards,c=a.advertiserName,d=a.YP,e=a.cV,f=a.mf,k=a.mh;a=a.uV;var l='<div class="'+S("iv-cards-companion")+'"><div class="'+S("iv-cards-attribution")+'"><span class="'+S("yt-badge")+" "+S("yt-badge-ad")+'">'+Gs()+"</span>";vq(c)&&vq(k)&&(l+='<a class="'+S("ad-companion-clickthrough")+'" href="'+S(Oq(k))+'" target="_blank">',c='\u0422\u043e\u0432\u0430\u0440\u044b \u0440\u0435\u043a\u043b\u0430\u043c\u043e\u0434\u0430\u0442\u0435\u043b\u044f "'+(R(c)+'"'),l=l+c+"</a>");l+='<div class="'+
S("yt-uix-hovercard")+" "+S("ad-info-container")+'"><span class="'+S("yt-uix-hovercard-target")+'" data-position="topright" data-orientation="horizontal"><span class="ad-info-icon"></span></span><div class="'+S("yt-uix-hovercard-content")+'"><p>'+R(f)+'</p></div></div></div><div class="'+S("iv-cards-slider")+'"><div class="'+S("iv-cards-slider-body")+'"><ul class="'+S("iv-cards-slider-list")+'">';f=b.length;for(c=0;c<f;c++){var m=b[c];k='<li class="'+S("iv-cards-slider-item")+'">';var n=m.headline,
p=m.image,q=m.action;m=m.target;m=uq('<div class="'+S("iv-cards-slider-unit")+'"><a href="'+S(Oq(m))+'" target="_blank"><div class="'+S("iv-cards-slider-image")+'"><span class="'+S("iv-cards-image-helper")+'"></span><img src="'+S(Pq(p))+'"></div><div class="'+S("yt-ui-ellipsis")+" "+S("yt-ui-ellipsis-4")+" "+S("iv-cards-slider-text")+'">'+R(n)+'</div><span class="'+S("iv-cards-slider-action")+'">'+R(q)+"</span></a></div>");l+=k+m+"</li>"}l+="</ul></div>"+(a?'<button class="'+S("iv-cards-slider-button")+
" "+S("iv-cards-slider-prev")+'" type="button" onclick=";return false;"><span class="'+S("iv-cards-slider-prev-icon")+" "+S("yt-uix-tooltip")+" "+S("yt-sprite")+'" data-tooltip-text="'+S(e)+'" title="'+S(e)+'"></span></button><button class="'+S("iv-cards-slider-button")+" "+S("iv-cards-slider-next")+'" type="button" onclick=";return false;"><span class="'+S("iv-cards-slider-next-icon")+" "+S("yt-uix-tooltip")+" "+S("yt-sprite")+'" data-tooltip-text="'+S(d)+'" title="'+S(d)+'"></span></button>':"")+
"</div></div>";return uq(l)};
Hfa=function(a){var b=a.headline,c=a.iconImageUrl,d=a.WJ,e=a.actionTitle,f=a.descriptionText,k=a.target;a=a.mf;return uq('<div class="'+S("iv-website-companion")+'"><div class="'+S("yt-uix-hovercard")+" "+S("ad-info-container")+" "+S("iv-website-companion-ad-info")+'"><span class="'+S("yt-uix-hovercard-target")+'" data-position="topright" data-orientation="horizontal"><span class="ad-info-icon"></span></span><div class="'+S("yt-uix-hovercard-content")+'"><p>'+R(a)+'</p></div></div><a href="'+S(Oq(k))+
'" target="_blank">'+(d?'<img class="'+S("iv-website-companion-banner")+'" src="'+S(Pq(d))+'">':"")+'<div class="'+S("iv-website-companion-block")+'"><div class="'+S("iv-website-companion-icon")+'"><img src="'+S(Pq(c))+'"></div><div class="'+S("iv-website-companion-text")+'"><div class="'+S("iv-website-companion-header")+'">'+R(b)+'</div><div class="'+S("iv-website-companion-desc")+'"><span class="'+S("yt-badge")+" "+S("yt-badge-ad")+'">'+Gs()+'</span><span class="'+S("iv-website-companion-domain")+
'">'+R(f)+'</span></div></div><div class="'+S("iv-website-companion-action")+" "+S("yt-uix-button-size-default")+" "+S("yt-uix-button-primary")+'">'+(e?R(e):'<span class="'+S("iv-website-companion-action-icon")+'"></span>')+"</div></div></a></div>")};
Gs=function(){return uq("\u0420\u0435\u043a\u043b\u0430\u043c\u0430")};
Ifa=function(a){var b=Hs(a);if(!b)return{};var c=Is(b);return c?{shoppingCompanionCarouselItemRenderer:{headline:Js(b.Bd()),merchant:Js(Ks(c)),image:{thumbnails:[{url:Ls(b).getImageUrl()}]},priceText:Js(Ms(c)),clickthroughEndpoint:Ns(Os(Ps(a)))}}:{}};
Js=function(a){return{runs:[{text:a}]}};
Ns=function(a){a=a||"";return{webNavigationEndpointData:{url:a},urlEndpoint:{url:a,target:"TARGET_NEW_WINDOW"}}};
Qs=function(a){return{baseUrl:a}};
Rs=function(a,b){this.o=a;this.A=b};
ar=function(a){return a.A?-1:a.o};
$q=function(a,b){a.A&&(a.A=!1,a.o=a.o*b/100)};
Jfa=function(a,b,c){b=c||b;a=a||{};return""+zq("a",a.lp)(a,b)};
Kfa=function(a){a=a||{};a=a.mf;return uq('<div class="'+S("videoAdUiAttributionIconContainer")+" "+S("standAloneAdInfoButton")+'"><div class="'+S("videoAdUiAttributionIcon")+'" id="videoAdUiAttributionIcon"></div><div class="'+S("videoAdUiAdInfoPopup")+'"><div class="'+S("videoAdUiAdInfoPopupCallout")+'"></div><div class="'+S("videoAdUiAdInfoPopupText")+'" '+Gq(Sq(a))+">"+R(a)+"</div></div></div>")};
Lfa=function(a){a=a.ki;return'<div class="'+S("videoAdUi")+'"><div class="'+S("videoAdUiTopBar")+'"><div class="'+S("videoAdUiAttributionContainer")+" "+S("videoAdUiAttributionContainer-gvn")+'"><div class="'+S("videoAdUiAttribution")+'" '+Gq(Sq(a))+">"+R(a)+'</div></div></div><div class="'+S("videoAdUiProgressBar")+'" dir="ltr"><div class="'+S("videoAdUiProgress")+'"></div></div></div>'};
Mfa=function(a){var b=a.ki;a=a.learnMoreText;return'<div class="'+S("videoAdUi")+'"><div class="'+S("videoAdUiTopBar")+'"><div class="'+S("videoAdUiAttributionContainer")+" "+S("videoAdUiAttributionContainer-gvn")+'"><div class="'+S("videoAdUiAttribution")+'" '+Gq(Sq(b))+">"+R(b)+'</div></div><div class="'+S("videoAdUiLearnMoreText")+" "+S("videoAdUiLearnMoreText-gvn")+'">'+R(a)+'<div class="'+S("videoAdUiLearnMoreIcon")+'"></div></div></div><div class="'+S("videoAdUiProgressBar")+'" dir="ltr"><div class="'+
S("videoAdUiProgress")+'"></div></div></div>'};
Ss=function(){return uq('<div class="'+S("videoAdUiPreSkipContainer")+'"><div class="'+S("videoAdUiPreSkipButton")+'"><div class="'+S("videoAdUiPreSkipText")+'"></div><div class="'+S("videoAdUiPreSkipThumbnail")+'" aria-hidden="true"></div></div></div>')};
Ts=function(a){a=a||{};a=a.aj;return uq('<div class="'+S("videoAdUiPreSkipContainer")+" "+S("videoAdUiPreSkipContainerPlainThumbnailCountdown")+'"><div class="'+S("videoAdUiPreSkipButton")+'"><div class="'+S("videoAdUiPreSkipText")+'">You can skip to'+R(a)+'video in</div><div class="'+S("videoAdUiPreSkipThumbnail")+'"><div class="'+S("videoAdUiPreSkipThumbnailCountdown")+'"><span class="'+S("videoAdUiPreSkipTextTimeLeft")+'"></span></div></div></div></div>')};
Us=function(){return"\u041f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f"};
Vs=function(a){a=a||{};return"\u0412\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0432\u0438\u0434\u0435\u043e \u043d\u0430\u0447\u043d\u0435\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 "+R(a.oe)};
Ws=function(a){a=a||{};var b=a.oe;return"Ad will end"+(R(a.aj)+("in "+R(b)))};
Nfa=function(a){var b=a.brandName,c=a.aK;a=a.ZJ;return uq('<div class="'+S("videoAdUiBrandPrecapContainer")+" "+S("html5-stop-propagation")+'"><div class="'+S("videoAdUiBrandPrecapContent")+'"><div class="'+S("videoAdUiBrandPrecapImageContainer")+'" aria-hidden="true"><img class="'+S("videoAdUiBrandPrecapBrandImage")+'" src="'+S(Pq(a))+'"></div><div class="'+S("videoAdUiBrandPrecapTextContainer")+'"><div class="'+S("videoAdUiBrandPrecapBrandName")+'">'+R(b)+'</div><div class="'+S("videoAdUiBrandPrecapBrandMessage")+
'">'+R(c)+"</div></div></div></div>")};
Ofa=function(a){a=a.XJ;return uq('<div class="'+S("videoAdUiBrandPrecapContainer")+" "+S("html5-stop-propagation")+'"><img class="'+S("videoAdUiBrandPrecapAutoGenImage")+'" src="'+S(Pq(a))+'"></div>')};
Pfa=function(a){a=a||{};a=a.preMessageText;return uq('<div class="'+S("videoAdUiBrandInteractionUnit")+" "+S("html5-stop-propagation")+'"><span class="'+S("videoAdUiBrandInteractionPreMessageText")+'">'+R(a)+'</span><div class="'+S("videoAdUiBrandInteractionButtonContainer")+'"><button class="'+S("videoAdUiBrandInteractionButton")+" "+S("videoAdUiBrandInteractionLikeButton")+'"><div class="'+S("videoAdUiBrandInteractionIcon")+" "+S("videoAdUiBrandInteractionLikeIcon")+'"></div></button><span class="'+
S("videoAdUiBrandInteractionMessageBox")+" "+S("videoAdUiLikeMsg")+'"></span></div><div class="'+S("videoAdUiBrandInteractionButtonContainer")+'"><button class="'+S("videoAdUiBrandInteractionButton")+" "+S("videoAdUiBrandInteractionDislikeButton")+'"><div class="'+S("videoAdUiBrandInteractionIcon")+" "+S("videoAdUiBrandInteractionDislikeIcon")+'"></div></button><span class="'+S("videoAdUiBrandInteractionMessageBox")+" "+S("videoAdUiDislikeMsg")+'"></span></div></div>')};
Qfa=function(a){a=a.postMessageText;return uq('<div class="'+S("videoAdUiBrandInteractionUnit")+" "+S("videoAdUiBrandInteractionUnitConfirmationMsg")+" "+S("html5-stop-propagation")+'"><div class="'+S("videoAdUiBrandInteractionPostMessageText")+'">'+R(a)+"</div></div>")};
Rfa=function(a){a=a.Sx;return'<div class="'+S("videoAdUiSkipContainer")+" "+S("html5-stop-propagation")+'"><button class="'+S("videoAdUiSkipButton")+" "+S("videoAdUiAction")+'">'+R(a)+'<div class="'+S("videoAdUiSkipIcon")+'"></div></button></div>'};
Sfa=function(a){a=a.Sx;return'<div class="'+S("videoAdUiSkipContainer")+" "+S("html5-stop-propagation")+'"><button class="'+S("videoAdUiSkipButton")+" "+S("videoAdUiAction")+'"><div class="'+S("videoAdUiSkipButtonExperimentalText")+'">'+R(a)+'</div><div class="'+S("videoAdUiSkipIcon")+'"></div></button></div>'};
Tfa=function(a){a=a.Sx;return'<div class="'+S("videoAdUiSkipContainer")+" "+S("html5-stop-propagation")+" "+S("videoAdUiSkipContainerWithThumbnail")+'"><div class="'+S("videoAdUiSkipText")+'">'+R(a)+'</div><button class="'+S("videoAdUiSkipButton")+" "+S("videoAdUiAction")+" "+S("videoAdUiSkipButtonWithThumbnail")+'"><div class="'+S("videoAdUiSkipIconContainer")+'"><div class="'+S("videoAdUiSkipIcon")+'"></div></div></button></div>'};
Xs=function(a){var b=a.Zx,c=a.gt,d=a.ey;a="";2<=d&&1<=c?(b="\u041e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0435 "+(R(c)+(" \u0438\u0437 "+(R(d)+(" "+R(b))))),a+=b):(b="\u041e\u0441\u0442\u0430\u043b\u043e\u0441\u044c "+R(b),a+=b);return a};
at=function(){var a=Ys(),b=uq("</a>");return uq("<div class='"+S("videoAdUiAdSettingsLongTooltip")+"'>"+Zs({nA:$s(""+R(a)),fB:$s(""+R(b))})+"</div>")};
Zs=function(a){var b=a.fB;a="\u041f\u043e\u0441\u0435\u0442\u0438\u0442\u0435 "+(R(a.nA)+("\u0440\u0430\u0437\u0434\u0435\u043b \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0439 Google"+(R(b)+", \u0447\u0442\u043e\u0431\u044b \u0443\u0437\u043d\u0430\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435 \u043e \u0442\u0430\u0440\u0433\u0435\u0442\u0438\u043d\u0433\u0435 \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0439 \u0438\u043b\u0438 \u043e\u0442\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f \u043e\u0442 \u0430\u0434\u0440\u0435\u0441\u043d\u043e\u0439 \u0440\u0435\u043a\u043b\u0430\u043c\u044b.")));
return uq(a)};
bt=function(){return uq("\u0421 \u0432\u0438\u0434\u0435\u043e, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u044b \u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435.")};
Ys=function(){return uq('<a href="https://adssettings.google.com" target="_blank">')};
ct=function(a){var b=a.heading,c=a.message,d=a.buttons;return uq((a.uy?"<div class='"+S("videoAdUiPopupBackgroundMobile")+"'>":"<div class='"+S("videoAdUiPopupBackground")+"'>")+"<div class='"+S("videoAdUiPopupCloseIcon")+'\'><svg height="100%" viewBox="0 0 24 24" width="100%"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" fill="#fff"></path></svg></div><div class=\''+S("videoAdUiPopupPositioner")+"'><form class='"+S("videoAdUiPopupFrame")+
"'><div class='"+S("videoAdUiPopupHeading")+" "+S("videoAdUiHideIfEmpty")+"'>"+R(b)+"</div><div class='"+S("videoAdUiPopupText")+"'>"+R(c)+"</div><div class='"+S("videoAdUiPopupButtons")+"'>"+R(d)+"</div></form></div></div>")};
Ufa=function(a){var b=a.heading,c=a.targetingReasons,d=a.nu,e=a.control,f=a.mute,k=a.close;a=a.uy;for(var l="<ul class='"+S("videoAdUiWhyThisAdReasons")+" "+S("videoAdUiHideIfEmpty")+"'>",m=c.length,n=0;n<m;n++)l+="<li>"+R(c[n])+"</li>";l+="</ul><div class='"+S("videoAdUiWhyThisAdGenericMessage")+"'>"+R(d)+"</div><a class='"+S("videoAdUiWhyThisAdMute")+" "+S("videoAdUiHideIfEmpty")+"'>"+R(f)+"</a><a class='"+S("videoAdUiWhyThisAdControl")+" "+S("videoAdUiHideIfEmpty")+"' href='https://adssettings.google.com' target='_blank'>"+
R(e)+"</a>";b=""+ct({heading:$s(""+R(b)),message:$s(l),buttons:$s("<button class='"+S("videoAdUiWhyThisAdCloseButton")+" "+S("videoAdUiPopupDefaultButton")+"'>"+R(k)+"</button>"),uy:a});return uq(b)};
Vfa=function(a){var b=a.heading,c=a.undo,d=a.options,e=a.confirm,f=a.cancel;a=""+R(a.question);for(var k=d.length,l=0;l<k;l++){var m=d[l];a+="<label for='"+S("videoAdUiMuteOption")+S(l)+"'><input type='radio' id='"+S("videoAdUiMuteOption")+S(l)+"' name='"+S("videoAdUiMuteOption")+"' class='"+S("videoAdUiMuteOption")+S(l)+"'/>"+R(m)+"</label>"}b=""+ct({heading:$s(R(b)+" <a class='"+S("videoAdUiMuteUndo")+"'>"+R(c)+"</a>"),message:$s(a),buttons:$s("<button class='"+S("videoAdUiMuteCancel")+" "+S("videoAdUiPopupButton")+
"'>"+R(f)+"</button><button class='"+S("videoAdUiMuteConfirm")+" "+S("videoAdUiPopupDefaultButton")+"'>"+R(e)+"</button>")});return uq(b)};
Wfa=function(a){var b=a.confirm,c=a.cancel,d=String(""+a.heading);return uq(ct({heading:d?new oq(d,void 0):"",message:$s(""+R(a.message)),buttons:$s("<button class='"+S("videoAdUiMuteCancel")+" "+S("videoAdUiPopupButton")+"'>"+R(c)+"</button><button class='"+S("videoAdUiMuteConfirm")+" "+S("videoAdUiPopupDefaultButton")+"'>"+R(b)+"</button>")}))};
Xfa=function(){return uq("<div class='"+S("videoAdUiMuteToggleButton")+"'><div class='"+S("videoAdUiMutedIcon")+'\'><svg width="100%" height="100%" viewBox="0 0 16 16"><path d="M2.398,5.5496307 L0,5.5496307 L0,10.4483665 L2.4,10.4483665 L7,15.5093253 L7,0.4886719 L2.398,5.5496307 Z" fill="#fff"></path><path d="M9.6314915,5.9285684 L10.6837982,4.9386188 L12.8157457,6.9442323 L14.9476933,4.9386188 L16,5.9285684 L13.8680525,7.9341818 L16,9.9397952 L14.9476933,10.9297447 L12.8157457,8.9241313 L10.6837982,10.9297447 L9.6314915,9.9397952 L11.7634391,7.9341818 L9.6314915,5.9285684 Z" fill="#fff"></path></svg></div><div class=\''+
S("videoAdUiUnmutedIcon")+'\'><svg width="100%" height="100%" viewBox="0 0 16 16"><path d="M2.398,5.5496307 L0,5.5496307 L0,10.4483665 L2.4,10.4483665 L7,15.5093253 L7,0.4886719 L2.398,5.5496307 Z" fill="#fff"></path><path d="M9,11.4457379 C10.7427023,10.9390412 12,9.5931906 12,7.9969959 C12,6.4008011 10.7427023,5.0549506 9,4.5492552 L9,11.4457379 Z" fill="#fff"></path><path d="M14.2494529,8 C14.2494529,11.0361747 12.0131291,13.5866817 9,14.3156841 L9,16 C12.9934354,15.2419577 16,11.9484291 16,8 C16,4.0505695 12.9934354,0.7570409 9,0 L9,1.6833146 C12.0131291,2.4123169 14.2494529,4.9638253 14.2494529,8 L14.2494529,8 Z" fill="#fff"></path></svg></div></div>')};
dt=function(a,b,c){or.call(this,"1",Yfa,"Html",null,"dummy");this.G=0;this.Aa=a.length;rr(this,new g.Xn(this));this.V=Zfa(a,b);this.Sa=g.Zd("iv-cards-slider-list",this.V);if(this.O=g.Zd("iv-cards-slider-prev",this.V))this.C.X(this.O,"click",this.Oa),g.M(this.O,!1);(this.ga=g.Zd("iv-cards-slider-next",this.V))&&this.C.X(this.ga,"click",this.La);a=g.Zd("ad-companion-clickthrough",this.V);this.C.X(this.V,"click",g.Na(function(d,e,f){f.target!=d&&No(e)},a,c))};
Zfa=function(a,b){var c=(0,g.I)(a,function(e){var f=Hs(e),k=Is(f);e=Ps(e);return{headline:f.Bd(),description:et(f,"description"),image:Ls(f).getImageUrl(),action:Ms(k),target:Os(e),merchant:Ks(k)}}),d=3<a.length;
return Er(Gfa,{cards:c,advertiserName:c[0].merchant,YP:uq("\u0414\u0430\u043b\u0435\u0435"),cV:uq("\u041d\u0430\u0437\u0430\u0434"),mf:at(),mh:b,uV:d})};
ft=function(a){a.Sa.style.left=125*-a.G+"px";a.O&&g.M(a.O,0<a.G);a.ga&&g.M(a.ga,a.G<a.Aa-3)};
it=function(a){or.call(this,"1",$fa,"Html",null,"website_actions_companion");rr(this,new g.Xn(this));var b=a.A(),c=b&&b.Ig(),d=b&&b.xp();a=Ps(a);b={headline:b&&b.Bd()||"",iconImageUrl:c&&c.getImageUrl()||"",WJ:d&&d.getImageUrl()&&-1==d.getImageUrl().indexOf("/default_banner")&&d.getImageUrl()||"",actionTitle:a&&gt(a)||"",descriptionText:b&&ht(b)||"",target:a&&Os(a)||"",mf:at()};this.G=Er(Hfa,b)};
aga=function(){if(!g.de)return!1;try{return new ActiveXObject("MSXML2.DOMDocument"),!0}catch(a){return!1}};
lt=function(a,b){if(b&&!a)throw Error("Can't create document with namespace and no root tag");if(document.implementation&&document.implementation.createDocument)return document.implementation.createDocument(b||"",a||"",null);if(jt){var c=kt();if(c)return a&&c.appendChild(c.createNode(1,a,b||"")),c}throw Error("Your browser does not support creating new documents");};
g.mt=function(a){if("undefined"!=typeof DOMParser)return(new DOMParser).parseFromString(a,"application/xml");if(jt){var b=kt();b.loadXML(a);return b}throw Error("Your browser does not support loading xml documents");};
nt=function(a){var b=a.xml;if(b)return b;if("undefined"!=typeof XMLSerializer)return(new XMLSerializer).serializeToString(a);throw Error("Your browser does not support serializing XML documents");};
kt=function(){var a=new ActiveXObject("MSXML2.DOMDocument");a.resolveExternals=!1;a.validateOnParse=!1;try{a.setProperty("ProhibitDTD",!0),a.setProperty("MaxXMLSize",2048),a.setProperty("MaxElementDepth",256)}catch(b){}return a};
ot=function(a){return Qo(cga,null,a.parentNode.nodeName,a.nodeName)};
pt=function(a){return Qo(dga,null,a.parentNode.nodeName,a.nodeName)};
qt=function(a){var b=lt(a.tagName,a.namespaceURI),c=ue(b);c||(c=b.createElementNS(a.namespaceURI,a.tagName),b.appendChild(c));for(var d=0;d<a.attributes.length;d++){var e=a.attributes.item(d);c.setAttribute(e.name,e.value)}for(;d=a.firstChild;)c.appendChild(d);return b};
rt=function(a,b){return null!=a?(0,g.re)(se(a),function(c){return c.nodeName==b}):[]};
tt=function(a,b){var c=a.getAttribute(b);return null!=c?c.toLowerCase():null};
ut=function(a,b){if(null==a)return null;for(var c="",d=0,e=a.childNodes.length;d<e;d++){var f=a.childNodes[d];switch(f.nodeType){case 4:case 3:c+=f.nodeValue}}c=Hb(c);return b?uc(c):c};
vt=function(a,b,c,d){if(null!=a){a=se(a);for(var e=0,f=a.length;e<f;e++){var k=a[e];if(k.nodeName!=b)throw ot(k);c.call(d,k)}}};
wt=function(a){a=g.G(a);return g.E(a)?NaN:g.Bc(a)};
xt=function(a,b){if(null!=a){var c=a.split(":");if(3==c.length)return c=new rp(0,0,0,g.Bc(c[0]),g.Bc(c[1]),g.Bc(c[2])),60*(60*(24*c.days+c.hours)+c.minutes)+c.seconds}return null!=b?b:-1};
zt=function(a,b){var c=g.G(a);if(!g.E(c))switch(c.toLowerCase()){case "true":case "1":return!0;case "false":case "0":return!1}return null!=b?b:!1};
Ct=function(a,b,c){var d=new Uq;vt(a,"Tracking",function(e){var f=tt(e,"event"),k=ut(e);At(k)&&null!=f&&(null!=c&&(k=c(f,k)),"progress"==f?(e=tt(e,"offset"),e=Bt(e),null!=e&&Zq(d,f,k,e)):Zq(d,f,k))});
return d};
ega=function(a){if(g.E(g.G(a)))return null;a=new g.Hn(a);if("thismessage"!=a.B||"extensions"!=a.A)return null;a=a.C;if(!g.xb(a,"/"))return null;a=a.substr(1);return g.E(g.G(a))?null:a};
Bt=function(a){if(g.E(g.G(a)))return null;var b=a.indexOf("%");if(0<b){if(a=Number(a.substr(0,b)),!isNaN(a)&&0<=a)return new Rs(a,!0)}else if(a=xt(a),0<=a)return new Rs(a,!1);return null};
At=function(a){if(g.E(g.G(a)))return!1;try{new g.Hn(a)}catch(b){return!1}return!0};
Dt=function(a,b){wr.call(this);this.A=a;this.C=b};
Et=function(){};
Ft=function(a,b){wr.call(this,b);this.A=a};
Gt=function(a){wr.call(this);this.A=a};
It=function(a,b,c,d,e,f,k,l,m,n,p,q,u,w){this.Aa=a;this.ma=b;this.O=c;this.Qb=d;this.Ra=isNaN(e)||""==e||0==e?-1:e;this.ka=f?g.ib(f):[];this.K=k?g.ib(k):[];this.F=l?g.ib(l):[];this.ia=[];this.J=[];this.M=null;this.aa=[];this.Ia=!0;this.A=this.o=this.H=null;this.Y=new g.Bn(n);this.sa=null!=w;this.Ab=(this.ga=null!=p)?q||!1:!1;this.Pb=this.VM?u||!1:!1;this.Zb=g.G(p);this.tc=g.G(w);this.La=this.C=null;this.B=new Kea;this.ba=new g.Qd(0,0);this.L=String(Math.floor(1E9*Math.random()));this.Wa=this.ea=this.V=
this.G=null;this.jb=(0,g.H)();this.Sa=this.Oa=0;this.ya=this.xa=!1;this.D=[];this.ha=null;this.Fa=!1;this.yc=zo().o("send_ad_id_on_non_yt_hosted_for_ima_living_room")&&k.some(function(D){return D.includes("ad_rmp=3")});
(0,g.C)(this.F,function(D){D.J=this},this);
Ht(this,m)};
$r=function(a){var b=a.getExtension("AdFormat",!0);if(null!=b&&yb(b.A+"_"+b.C+"_"+b.B,"2_4"))return b.A+"_"+b.C+"_"+b.B;b=Jt(a);b=Kt(a,Lt)?"14":Wp(b,"hideMaster")||Wp(b,"blockAllAds")?"3":a.Yb()?Mt(a)?"2_3":a.isSkippable()?Nt(a)?"2_1":"2_2":"2":"1";return fga(a)+"_"+b};
fga=function(a){if(as(a))return 4;if(Kt(a,Lt))return 14;if(Ot(a,gga))return 17;if(Ot(a,hga))return 15;if(Ot(a,iga)||Ot(a,jga))return 1;var b=zo();return b&&b.o("fix_petra_ad_format")&&(null!=a.C?(b=a.C.o,null!=b&&yb(b,"/PrefetchedAd")&&null!=a.A&&(b=a.A.Y.get("LocalRedirect"),b=null!=b?b.uh():null)):b=null,null!=b&&(As(b)||zs(b)))?1:Pt(a)?2:0};
Qt=function(a){return null!=a.ma?a.ma:""};
Rt=function(a){return null!=a.A?g.gb(Rt(a.A),a.ka):a.ka};
St=function(a){return null!=a.A?g.gb(St(a.A),a.K):a.K};
Tt=function(a){return null!=a.A?g.gb(a.J,Tt(a.A)):a.J};
Jt=function(a){return null!=a.o?a.o.H:{}};
kga=function(a){var b={};(0,g.C)(a.F,function(c){c=c.H;for(var d in c)b[d]=c[d]});
return b};
Ut=function(a){return null!=a.o?a.o.ya:""};
Vt=function(a){return a.getExtension("why_this_ad",!0)};
Wt=function(a){return a.getExtension("mute",!0)};
Xt=function(a,b){var c=[];(0,g.C)(a.Y.wb(),function(d){jb(c,xr(d,b))});
return c};
bs=function(a,b){a.o=b;a.ba=new g.Qd(0,0);if(null!=a.o){a.o instanceof or&&(a.ba=a.o.ie());var c=a.A;if(null!=c){var d=fr(a.o,c)||fr(a.o,c,!0);bs(c,d)}}Q()&&lga(a)&&g.Za(Tt(a))?Q()&&P.A?(c=a.D,g.Za(c)?c={}:(d=Hs(c[0])&&Is(Hs(c[0]))&&Ks(Is(Hs(c[0])))||"",d='\u0422\u043e\u0432\u0430\u0440\u044b \u0440\u0435\u043a\u043b\u0430\u043c\u043e\u0434\u0430\u0442\u0435\u043b\u044f "'+(R(d)+'"'),d=uq(d),c={shoppingCompanionCarouselRenderer:{shopText:Js(uc(d.toString())),itemList:{horizontalListRenderer:{items:(0,g.I)(c,
Ifa),visibleItemCount:3,webHorizontalListRendererExtensionData:{nextButton:{buttonRenderer:{style:"STYLE_DEFAULT",size:"SIZE_DEFAULT",icon:{iconType:"CHEVRON_RIGHT"}}},previousButton:{buttonRenderer:{style:"STYLE_DEFAULT",size:"SIZE_DEFAULT",icon:{iconType:"CHEVRON_LEFT"}}}}}},adBadgeText:Js(Gs().toString()),clickToAdvSiteEndpoint:Ns(Yt(a)),clickTrackingEndpoints:[{loggingUrls:(0,g.I)(Xt(a,"companionClick"),Qs)}],impressionEndpoints:[{loggingUrls:(0,g.I)(Xt(a,"companionImpression"),Qs)}]}}),a.H=c):
mga(a,a.D):Q()&&g.Za(Tt(a))&&!zo().o("website_actions_holdback")&&Zt(a,a.D)};
$t=function(a){return null!=a.Aa?a.Aa:""};
bu=function(a){var b=zo(),c=!1;b&&b.o("report_full_ad_systems_in_youtube_tracking_pings")&&(c=!0);if(null==a.A||au(a.A.O)&&!c)return[];b=[$t(a.A)];jb(b,bu(a.A));return b};
Xr=function(a){var b=bu(a).reverse();b.push($t(a));return b};
cu=function(a){if(null==a.A||au(a.A.O))return[];var b=a.A.o;null!=b?(b=b.ia,b=null!=b?b:""):b="";b=[b];jb(b,cu(a.A));return b};
du=function(a){var b=zo(),c=!1;b&&b.o("report_full_ad_systems_in_youtube_tracking_pings")&&(c=!0);if(null==a.A||au(a.A.O)&&!c)return[];b=[Qt(a.A)];jb(b,du(a.A));return b};
eu=function(a){if(a.A){var b=eu(a.A);if(b)return b}return(a=a.getExtension("metrics"))?a.A:null};
Zr=function(a){return(a=a.getExtension("viral",!0))?a.A:null};
Yr=function(a){var b=du(a).reverse();b.push(Qt(a));return b};
au=function(a){return"YT:ADSENSE"==a||"YT:DOUBLECLICK"==a};
fu=function(a){if(null==a.A)return[a.O];var b=fu(a.A);b.push(a.O);au(b[0])&&b.shift();return b};
gu=function(a){a=a.getExtension("waterfall");return null!=a&&-1!=a.we()?a.we():-1};
hu=function(a){if(-1!=a.Ra)return a.Ra;a=a.getExtension("pod");return null!=a&&-1!=a.A?a.A:-1};
iu=function(a){a.Fa||(a.Fa=!0,a.ha.K++,null!=a.A&&iu(a.A))};
ju=function(a){if(a.ha instanceof ps){var b=a.ha;if(0<qs(b))return b}return null!=a.A?ju(a.A):null};
ku=function(a,b,c,d){a=Tt(a);return Rp(new Op(new g.Qd(b,c),d),a)};
lu=function(a){var b=a.C.fk,c=a.C.ek;if(!b||!c)if(a=a.C.o?uh(a.C.o,"sz"):null)a=a.split("x"),2==a.length&&(b=parseInt(a[0],10)||0,c=parseInt(a[1],10)||0);return new g.Qd(b,c)};
nga=function(a,b){var c=g.Ua(a.aa,function(f){return 4==f.Xb()&&mu(f.Qe())});
if(c){var d=c.A();if(!d.Ig().getImageUrl()){var e=new nu;e.o.image_url=b.channelIconThumbnailUrl;d.Ig=function(){return e}}d.Bd()||(d.Bd=function(){return b.authorName});
c.A=function(){return d}}};
oga=function(a){return(0,g.re)(a,function(b){return mu(b.Qe())})};
mga=function(a,b){var c=(0,g.re)(b,function(d){return ou(d.Qe())});
g.Za(c)&&(c=b);c=new dt(c,Yt(a),Xt(a,"companionClick"));c.J=a;c.F=!0;pu(a,new Ds(c,[],null,!0))};
pga=function(a,b){var c=g.Ua(a.D,function(l){return 4==l.Xb()&&ou(l.Qe())});
if(!c)return null;var d=c.A();if(!d.Ig().getImageUrl()){var e=new nu;e.o.image_url=b.channelIconThumbnailUrl;d.Ig=function(){return e}}if(!d.xp().getImageUrl()){var f=new nu,k=g.Ua(Tt(a),function(l){return"Image"==l.Ad()});
f.o.image_url=k&&k.o.A||b.o;d.xp=function(){return f}}d.Bd()||(d.Bd=function(){return b.authorName});
c.A=function(){return d};
return c};
Zt=function(a,b){var c=g.Ua(b,function(l){return 4==l.Xb()&&ou(l.Qe())});
if(c){var d=c.A(),e=d&&d.Ig().getImageUrl(),f=d&&d.xp().getImageUrl(),k=d&&d.Bd();e&&k&&(P.A?(c=Ps(c),a.H={actionCompanionRenderer:{headline:k,iconImageUrl:e,bannerImageUrl:f,actionTitle:c&&gt(c)||void 0,descriptionText:d&&ht(d)||void 0,target:c&&Os(c)||void 0,impressionEndpoints:[{loggingUrls:(0,g.I)(Xt(a,"companionImpression"),function(l){return{baseUrl:l}})}]}}):(d=new it(c),d.J=a,d.F=!0,pu(a,new Ds(d,[],null,!0))))}};
qga=function(a){if(!a.C||qu(a)&&!Kt(a,["ADSENSE/ADX"]))return[];var b=lu(a);if(0>=b.width||0>=b.height)return[];var c=new Kp;c.creativeType="All";c.C="All";c.B="SelectNearMatch";c.o=40;var d=ku(a,b.width,b.height,c);if(!g.Za(d))return d;c.A="ResizeSmaller";d=(0,g.re)(Tt(a),function(e){return e.o.Sm()},a);
return Rp(new Op(new g.Qd(b.width,b.height),c),d)};
tu=function(a){if(g.Za(a.aa))return!1;var b=zo();if(15>ru(a))return!1;var c=a.aa[0].Xb();if(4==c){var d=a.aa[0].A();a=d&&d.Ig().getImageUrl();d=d&&d.Bd();if(!a||!d)return!1}return!b.o("website_actions_holdback")&&4==c};
rga=function(a){var b=null,c=0;(0,g.C)(qga(a),function(d){var e=lu(this);e=!d.o.Sm()||d.ab()<=e.width&&d.getHeight()<=e.height?d.o.ie():Tp(d.o.ie(),e);e=e.width*e.height;e>c&&(c=e,b=d)},a);
return b};
uu=function(a,b){return b||null==a.A?a.ia:g.gb(a.ia,uu(a.A))};
Ht=function(a,b){a.ia=b?g.ib(b):[];(0,g.C)(a.ia,function(m){jb(this.J,g.ib(m.o))},a);
(0,g.C)(a.J,function(m){Es(m,this)},a);
if(Q()&&(a.Yb()&&(a.J=(0,g.re)(a.J,function(m){return 60>=m.getHeight()})),P.A)){var c=a.J&&a.J[0];
if(c&&"Static"===c.o.M){var d=c.o.uf(),e=c.o.L;jb(e,Xt(a,"companionClick"));var f=Xt(a,"companionImpression"),k=c.ab(),l=c.getHeight();a.H={imageCompanionAdRenderer:{impressionCommands:[{loggingUrls:(0,g.I)(f,function(m){return{baseUrl:m}}),
pingingEndpoint:{hack:!0}}],onClickCommands:[{loggingUrls:(0,g.I)(e,function(m){return{baseUrl:m}}),
pingingEndpoint:{hack:!0}}],image:{thumbnail:{thumbnails:[{url:c.o.A,width:k,height:l}]}},clickthroughEndpoint:{urlEndpoint:{url:d}}}}}}};
vu=function(a,b){return(0,g.xk)(a.F,function(c){return c instanceof hr&&"linear"==b||c instanceof or&&"nonlinear"==b?!0:!1})};
wu=function(a){var b=a.o;return qu(a)&&null!=b&&b instanceof or&&(90<a.ba.height||null!=a.C&&a.C.Sj)};
xu=function(a,b){if(null==b)return null;var c=b.getExtension("adx");return null!=c?c:xu(a,b.A)};
sga=function(a,b){var c=yu(a);if(!c)return null;$q(c,b);return ar(c)};
yu=function(a){var b=a.A,c=xu(a,b);if(null!=c){if("skippable"==c.A)return c.C;if("nonskippable"==c.A)return null}c=null;var d=new Rs(5,!1),e=tga(a);"implicit"==e&&(c=d);var f=a.o;null==c&&null!=f&&f instanceof hr&&(c=f.F);null!=c||"explicit"!=e||(c=d);e=zo();return Q()&&a.Yb()&&null!=c?e.o("enable_skip_button_offset_mutation")?c:d:null==c&&null!=b&&e.o("ima_check_wrapper_skippability")?yu(b):c};
tga=function(a){if(null!=g.Ua(a.Y.wb(),function(c){return!g.Za(xr(c,"skip"))}))return"implicit";
var b=a.Y.get("DFP");if(b instanceof Ft)switch(b.A){case "InstreamSelect":return"implicit";case "Generic":return"explicit"}a=a.o;return Q()&&null!=a&&(a=a.jk,null!=a&&!g.Za(Xq(a,"skip")))?"explicit":"none"};
Nt=function(a){return null!=a.ma&&null!=a.C?!0:!1};
Yt=function(a){return null===a.o?null:a.o.uf()};
ru=function(a){return null!=a.o?a.o.getDuration():-1};
zu=function(a){return null===a.M?tu(a)?7:0:10};
Au=function(a){return null===a.o?null:a.o.fv()};
Bu=function(a){return null===a.o?null:a.o.ev()};
qu=function(a){return Kt(a,Cu)||Kt(a,["ADSENSE-VIRAL"])};
as=function(a){return null!=a.A&&as(a.A)||Kt(a,uga)};
Mt=function(a){var b=Au(a);return Kt(a,["402"])||g.v(b)&&null!==b.match("//s0.2mdn.net/instream/html5/survey/survey.html")};
Du=function(a){return qu(a)&&Nt(a)&&!a.isBumper()&&!g.E(g.G(a.G))&&null!==yu(a)&&0<ar(yu(a))};
Pt=function(a){return Ot(a,Cu)||Ot(a,["402"])};
Eu=function(a){a=a.getExtension("InfoCards");return null!=a?a.A:null};
Fu=function(a){a=a.getExtension("InfoCardsTracking");return null!=a?a.A:null};
Kt=function(a,b){return null!=a.ma?g.Ya(b,a.O):!1};
Ot=function(a,b){for(var c=fu(a),d=c.length-1;0<=d;d--)if("UNKNOWN"!=c[d]){if(g.Ya(b,c[d]))return!0;break}return!1};
pu=function(a,b){a.J=[b]};
lga=function(a){return a.Yb()&&0<a.D.length&&(0,g.wj)(a.D,function(b){return 1==b.Xb()})};
Gu=function(a){return 0<a.D.length&&(0,g.wj)(a.D,function(b){return 4==b.Xb()})};
Hu=function(a,b){g.jg.call(this);this.o=a;this.Je=new g.Xn(this);g.L(this,this.Je);this.Je.X(b,["companion_impression","companion_click"],this.A)};
Iu=function(){g.jg.call(this);this.F=this.J=this.L=this.G=!1;this.o=0;this.C=[];this.H=!1;this.V=this.M=Infinity;this.A=0;this.D=!1;this.B=new g.Xn(this);this.K={}};
vga=function(a){Ju(a);!(a.yi instanceof g.jg)&&"ontouchstart"in document.documentElement&&bp()?(a.K={touchstart:(0,g.A)(a.fU,a),touchmove:(0,g.A)(a.eM,a),touchend:(0,g.A)(a.eU,a)},g.Mb(a.K,function(b,c){this.yi.addEventListener(c,b,!1)},a)):a.B.X(a.yi,"click",a.nC)};
Ju=function(a){a.B.Ka(a.yi,"click",a.nC);g.Mb(a.K,function(b,c){this.yi.removeEventListener(c,b,!1)},a);
a.K={}};
wga=function(a,b){a.C=[];(0,g.C)(b,function(c){g.bb(this.C,c.identifier)},a)};
Ku=function(a,b){return(0,g.xk)(b,function(c){return g.Ya(this.C,c.identifier)},a)};
g.Lu=function(a){if(!xga.test(a))throw Error("'"+a+"' is not a valid hex color");4==a.length&&(a=a.replace(yga,"#$1$1$2$2$3$3"));a=a.toLowerCase();a=parseInt(a.substr(1),16);return[a>>16,a>>8&255,a&255]};
g.Mu=function(a){if(!zga.test(a))throw Error("'"+a+"' is not a valid alpha hex color");5==a.length&&(a=a.replace(Aga,"#$1$1$2$2$3$3$4$4"));a=a.toLowerCase();return[parseInt(a.substr(1,2),16),parseInt(a.substr(3,2),16),parseInt(a.substr(5,2),16),parseInt(a.substr(7,2),16)/255]};
g.Nu=function(a){var b=a.slice(0);b[3]=Math.round(1E3*a[3])/1E3;return"rgba("+b.join(",")+")"};
g.Ou=function(){g.jg.call(this);this.o=0;this.endTime=this.startTime=null};
Pu=function(a,b){g.Ga(b)||(b=[b]);var c=(0,g.I)(b,function(d){return g.v(d)?d:d.property+" "+d.duration+"s "+d.timing+" "+d.delay+"s"});
g.Ph(a,"transition",c.join(","))};
Qu=function(a,b,c,d,e){g.Ou.call(this);this.A=a;this.D=b;this.G=c;this.C=d;this.F=g.Ga(e)?e:[e]};
Ru=function(a,b){g.jg.call(this);this.G=b;this.wa=a;this.gj=null;this.Z=new g.Xn(this);g.L(this,this.Z);this.A=new Iu;g.L(this,this.A);var c=lf(Cf(a.o),yf,6);this.B=(this.o=null!=ff(c,5)&&!!kf(c,5))||null==ff(c,7)?"#000000FF":ff(c,7);this.C=this.o||null==ff(c,8)?"#FFFFFFFF":ff(c,8);c=this.o?{XJ:g.G(ff(c,6))}:{brandName:g.G(ff(c,1)),aK:g.G(ff(c,3)),ZJ:g.G(ff(c,2))};this.Xe=Bga(this,c);null!=this.Xe&&g.M(this.Xe,!1);b.appendChild(this.Xe);this.Z.X(this.A,"click",this.F);this.A.Cb(this.Xe)};
Bga=function(a,b){if(a.o){var c=Er(Ofa,b);var d=g.Zd("videoAdUiBrandPrecapAutogenImage",c)}else{c=Er(Nfa,b);d=g.Zd("videoAdUiBrandPrecapContent",c);null!=a.B&&(c.style.backgroundColor=g.Nu(g.Mu(a.B)));if(null!=a.C){var e=g.Zd("videoAdUiBrandPrecapBrandName",d),f=g.Zd("videoAdUiBrandPrecapBrandMessage",d);e.style.color=g.Nu(g.Mu(a.C));f.style.color=g.Nu(g.Mu(a.C))}d=g.Zd("videoAdUiBrandPrecapImageContainer",d);d=g.Zd("videoAdUiBrandPrecapBrandImage",d)}null!=d&&(d.M4=function(){return!1});
return c};
Su=function(a,b){(new Qu(a.Xe,.2,{opacity:b?"0":"1"},{opacity:b?"1":"0"},[{property:"opacity",duration:.2,timing:"ease-in-out",delay:0}])).play()};
Tu=function(a,b){var c=g.Fe(g.ve(a.G),"html5-video-player");null!=c&&g.U(c,"ytp-ad-display-override",b)};
Uu=function(a,b){var c={action:"condor-brand-precap",event:b,ei:"[EID]",cpn:"[CPN]",content_v:"[CONTENT_V]",ad_cpn:"[AD_CPN]",ad_v:"[AD_V]",ad_id:"[AD_ID]",ad_len:"[AD_LEN]"};c=null!=c?c:{};var d=new g.Hn("//www.youtube.com/gen_204");g.In(d,"https");c=Un(c);Mn(d,c);d=d.toString();d=g.fo(d,a.wa.Oa);Jo(d)};
Vu=function(a,b,c,d,e,f){wr.call(this,f);this.C=a;this.D=b;this.F=c;this.B=d;this.A=e};
Wu=function(a){return null!=a.A?a.A.length:0};
Xu=function(a,b,c,d,e,f,k,l,m,n){wr.call(this,e);this.A=a;this.B=b;this.D=c||"";this.F=d||[];this.C=f||null;this.H=k||null;this.L=l||null;this.G=m||null;this.K=n||null};
Yu=function(a,b){this.B=a;this.A=b;this.C=this.Z=this.D=this.o=null;this.F=xi()};
$u=function(a,b,c){null!=b&&(a.Z=new g.Xn(a),a.C=new g.jg,a.C.Zh(c),a.D=b,a.kF(),Zu(a,"why_this_ad_url"))};
av=function(a,b,c){b=g.Zd(b,a.o);null!=b&&a.Z.X(b,"click",c)};
bv=function(a,b,c){null!=a.o&&a.o.parentElement.removeChild(a.o);a.o=Er(b,c);av(a,"videoAdUiPopupCloseIcon",a.Mj);a.D.appendChild(a.o);b=g.Zd("videoAdUiPopupFrame",a.o);null!=b&&g.Vf(b,"submit",function(d){d.preventDefault()});
a=g.Zd("videoAdUiPopupDefaultButton",a.o);null!=a&&a.focus()};
Zu=function(a,b){null!=a.C&&a.C.dispatchEvent(b)};
cv=function(){this.ki=Xs({Zx:"",gt:0,ey:0});this.learnMoreText="\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435... "+R({UV:""}.UV);this.visitAdvertiserText="\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 \u0441\u0430\u0439\u0442 \u0440\u0435\u043a\u043b\u0430\u043c\u043e\u0434\u0430\u0442\u0435\u043b\u044f";this.mf=at();this.skipOffset=null;this.J=this.La=this.Y=this.aa=!1;this.M=null;this.ba=6E3;this.B=!0;this.ea=!1;this.ia=this.D=this.ha=!0;this.F=!1;this.V=!P.D;this.sa=this.ma=
this.ka=!1;this.H=!0;this.O=this.Fa=this.Aa=this.ya=this.G=!1;this.Oa={};this.K=null;this.showContentThumbnail=!0;this.L=!1;this.o=null;this.xa=!1;this.Xh=-1;this.isBumper=this.Ia=!1;this.breakType=0;this.A=!1};
dv=function(a,b,c,d,e,f){var k=new cv;k.G=a;k.Ra=b;k.skipOffset=c;k.isBumper=d;k.ga=null!=e?e.contentId:null;k.ha=e.mW;k.K=Jfa;k.Sa=Ir(b,null!=c,e.Kj);k.showContentThumbnail=null!=e.contentId&&e.showContentThumbnail;k.o=e.iC;k.xa=e.xK;null!=f&&(k.Oa=f);null==c&&(a=zo(),d&&a.o("show_countdown_on_bumper")&&(k.Y=!0,k.aa=!0),a.o("show_thumbnail_on_standard")&&(k.aa=!0),!d&&a.o("persist_text_on_preview_button")&&(k.La=!0));Q()&&null!=k.o&&null!=ff(k.o,1)&&(d=Cf(k.o),null!=ff(d,6)&&(d=lf(d,yf,6),null!=
ff(d,5)&&(kf(d,5)&&null!=ff(d,6)||null!=ff(d,1)&&null!=ff(d,2)&&null!=ff(d,3))&&(k.J=!0,null!=ff(d,4)&&(k.M=ff(d,4)))));return k};
ev=function(a,b,c){a.C=new Yu(b,c);b=null!=b?b.A:void 0;c="<span class='"+S("videoAdUiAdSettingsShortTooltip")+"'>";c=b?c+R(b):c+"Click for Ad Settings";b=uq(c+"</span>");a.mf=b};
fv=function(a,b,c,d,e){return new Qu(a,b,{opacity:d},{opacity:e},{property:"opacity",duration:b,timing:c,delay:0})};
gv=function(a,b){return fv(a,b,"ease-out",0,1)};
hv=function(a){return fv(a,.5,"ease-in",1,0)};
jv=function(a,b){g.jg.call(this);this.Z=new g.Xn(this);g.L(this,this.Z);this.wa=a;this.G=b;this.F=!1;this.D=this.C=this.B=null;var c=a.o;c=this.o=null!=c&&null!=Cf(c)?lf(Cf(c),vf,3):null;this.J=null!=c&&null!=ff(c,7)&&1==ff(c,7)?!0:!1;if(null==this.o||null==ff(this.o,7))c=null;else{c=ff(this.o,7);var d=ff(this.o,8);c=null!=d&&g.Ya(Cga,c)?d:null}this.D=c;c=Er(Pfa,{preMessageText:this.D||""});d=g.Zd("videoAdUiLikeMsg",c);g.ye(d,"\u041d\u0440\u0430\u0432\u0438\u0442\u0441\u044f");d=g.Zd("videoAdUiDislikeMsg",
c);g.ye(d,"\u041d\u0435 \u043d\u0440\u0430\u0432\u0438\u0442\u0441\u044f");null!=this.o&&(d=ff(this.o,7),d=null!=d?Dga[d]:null,null!=d&&g.T(c,d));Ega(this,c);d=g.Zd("videoAdUiBrandInteractionLikeButton",c);null!=d&&iv(this,d);d=g.Zd("videoAdUiBrandInteractionDislikeButton",c);null!=d&&iv(this,d);g.M(c,!1);this.A=c;this.G.appendChild(this.A)};
Ega=function(a,b){if(null!=a.o){var c=a.o.Qe();c=null!=c?Fga[c]:null;null!=c&&(0,g.C)(c,function(d){g.T(b,d)})}};
Gga=function(a){return null!=a.o&&null!=ff(a.o,8)?ff(a.o,10):null};
Iga=function(a){if(null==a.o||null==ff(a.o,7))return null;var b=ff(a.o,7);a=ff(a.o,9);return null!=a&&g.Ya(Hga,b)?a:null};
iv=function(a,b){var c=new Iu;a.Z.X(c,"click",a.H);c.Cb(b)};
Jga=function(a){if(null!=a.D){var b=Gga(a);if(null!=b){var c=g.Zd("videoAdUiBrandInteractionPreMessageText",a.A);if(null!=c){var d=hv(c);g.Vg(function(){d.play();g.Vg(function(){g.M(c,!1)},500,this)},1E3*b,a)}}}};
Kga=function(a){if(null!=a.o&&null!=lf(a.o,wf,15)){var b=lf(a.o,wf,15),c=ff(b,1),d=ff(b,2);b=ff(b,3);a.dispatchEvent(new lo("yt-show-toast",null,{toastMessage:c,toastActionMessage:d,toastActionUrl:b}))}};
Lga=function(a){if(null!=a.o){var b=Iga(a);if(null!=b){var c=Er(Qfa,{postMessageText:b});a.G.appendChild(c);g.Vg(function(){gv(c,.5).play();var d=hv(c);g.Vg(function(){d.play()},3E3,this)},500,a)}}};
lv=function(){g.jg.call(this);this.o=!1;this.C=this.B=this.A=null;this.Z=new g.Xn(this);this.A=Er(Xfa);this.B=g.Zd("videoAdUiUnmutedIcon",this.A);this.C=g.Zd("videoAdUiMutedIcon",this.A);kv(this);this.Z.X(this.A,"click",this.D)};
kv=function(a){a.B&&a.C&&(a.o?(g.Ph(a.B,"display","none"),g.Ph(a.C,"display","block")):(g.Ph(a.B,"display","block"),g.Ph(a.C,"display","none")))};
mv=function(a,b){g.jg.call(this);this.wa=a;this.H=null;a.o&&Cf(a.o)&&(this.H=lf(Cf(a.o),tf,1));this.G=1;this.L=this.D=this.o=this.A=this.C=null;this.B=a.Y;this.Z=new g.Xn(this);g.L(this,this.Z);this.J=new Iu;g.L(this,this.J);this.F=!a.isBumper&&this.H&&kf(this.H,27);this.K=!a.La;var c=Ss;this.F&&(c=Ts);this.C=Er(c);this.A=g.Zd("videoAdUiPreSkipButton",this.C);this.o=g.Zd("videoAdUiPreSkipText",this.A);g.T(this.o,"videoAdUiPreviewText");this.D=g.Zd("videoAdUiPreSkipThumbnail",this.A);this.L=g.Zd("videoAdUiPreSkipTextTimeLeft",
this.A);this.F&&g.M(this.o,!1);3==this.wa.breakType||this.wa.A?this.B&&(g.ye(this.o,Ws({oe:"",aj:"\n"})),g.T(this.o,"videoAdUiPreviewTextPostroll")):this.B?g.ye(this.o,Vs({oe:""})):g.ye(this.o,"\u0420\u043e\u043b\u0438\u043a \u043d\u0430\u0447\u043d\u0435\u0442\u0441\u044f \u043f\u043e\u0441\u043b\u0435 \u0440\u0435\u043a\u043b\u0430\u043c\u044b");c=Kr(this.wa.ga)||"";if(this.wa.showContentThumbnail&&!g.E(g.G(c))){var d=g.ke("img");d.setAttribute("src",c);g.T(d,"videoAdUiPreSkipThumbnailImage");this.D.appendChild(d)}else this.B?
(g.M(this.D,!1),g.T(this.A,"videoAdUiPreSkipButtonNoThumbnail"),g.T(this.o,"videoAdUiPreSkipTextOnlyCentered")):g.M(this.A,!1);g.M(this.C,!1);b.appendChild(this.C);this.Z.X(this.J,"click",this.M);this.J.Cb(this.D)};
nv=function(a,b,c){0>c||!b||(3==a.wa.breakType||a.wa.A?g.ye(b,Ws({oe:c,aj:"\n"})):g.ye(b,a.F?c:Vs({oe:c})))};
g.ov=function(a,b,c){g.K.call(this);this.Ja=null;this.C=!1;this.D=a;this.B=c;this.o=b||window;this.A=(0,g.A)(this.ZK,this)};
pv=function(a){a=a.o;return a.requestAnimationFrame||a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||a.oRequestAnimationFrame||a.msRequestAnimationFrame||null};
qv=function(a){a=a.o;return a.cancelAnimationFrame||a.cancelRequestAnimationFrame||a.webkitCancelRequestAnimationFrame||a.mozCancelRequestAnimationFrame||a.oCancelRequestAnimationFrame||a.msCancelRequestAnimationFrame||null};
g.V=function(a,b,c){g.K.call(this);this.o=a;this.Fd=b||0;this.A=c;this.C=(0,g.A)(this.RB,this)};
g.rv=function(a,b){a.isActive()||a.start(b)};
g.tv=function(a){a.stop();a.RB()};
g.uv=function(a){a.isActive()&&g.tv(a)};
wv=function(a,b){g.jg.call(this);this.config=a;this.ia=0;this.ga=!1;this.state=0==ar(this.config.skipOffset)?3:1;this.A=this.O=this.skipButton=this.ya=this.ma=this.G=this.F=this.C=null;this.kc=new g.Xn(this);this.J=this.B=null;this.V=new Iu;this.sa="";this.ha=!1;var c=a.o;c=this.o=null!=c&&null!=Cf(c)?lf(Cf(c),tf,1):null;this.Aa=null!=c&&kf(c,19)?!0:!1;this.ba=this.o&&kf(this.o,28);c=this.o;this.K=null!=c&&kf(c,24)?!0:!1;c=this.o;this.Fa=null!=c&&kf(c,23)?!0:!1;c=this.o;this.Ia=null!=c&&kf(c,25)?
!0:!1;var d=null;this.Aa?(c=Ts,d={aj:"\n"}):c=Ss;this.C=Er(c,d);this.F=g.Zd("videoAdUiPreSkipButton",this.C);this.G=g.Zd("videoAdUiPreSkipText",this.F);this.ma=g.Zd("videoAdUiPreSkipTextTimeLeft",this.F);this.ya=g.Zd("videoAdUiPreSkipThumbnail",this.F);this.Fa&&g.M(this.G,!1);this.ba&&g.T(this.C,"countdownNextToThumbnail");zo().o("use_forced_linebreak_preskip_text")&&!this.ba&&(this.ha=!0,g.T(this.G,"videoAdUiPreSkipTextForcedLineBreak"));vv(this,0);c=Kr(this.config.ga)||"";this.config.showContentThumbnail&&
!g.E(g.G(c))?(d=g.ke("img"),d.setAttribute("src",c),g.T(d,"videoAdUiPreSkipThumbnailImage"),this.ya.appendChild(d)):Q()?(g.T(this.F,"videoAdUiPreSkipButtonNoThumbnail"),g.T(this.G,"videoAdUiPreSkipTextOnlyCentered"),g.T(this.G,"videoAdUiPreSkipTextOnlyStaticFontSize")):g.T(this.G,"videoAdUiPreSkipTextOnly");d=!Q()&&P.V;var e=null!=(this.o&&null!=lf(this.o,Bf,3)&&!this.K)||this.config.A,f=Q()&&zo().o("fixed_padding_skip_button")&&!this.K;this.A=Er(this.K?Tfa:d||e||f?Sfa:Rfa,{Sx:Hb("\u041f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0440\u0435\u043a\u043b\u0430\u043c\u0443\u00a0"+
R({QV:""}.QV))});this.ba&&g.T(this.A,"countdownNextToThumbnail");this.skipButton=g.Zd("videoAdUiSkipButton",this.A);e&&(this.O=g.Zd("videoAdUiSkipButtonExperimentalText",this.skipButton));if(e=d||Q()&&zo().o("use_new_skip_icon")){var k=g.Zd("videoAdUiSkipIcon",this.skipButton);null!=k&&g.zr(k,"videoAdUiSkipIcon")&&(g.Br(k,"videoAdUiSkipIcon"),g.T(k,"videoAdUiExperimentalSkipIcon"))}f||d?(g.T(this.skipButton,f?"videoAdUiFixedPaddingSkipButton":"videoAdUiRedesignedSkipButton"),c=g.Zd("videoAdUiSkipButtonExperimentalText",
this.skipButton),null!=c&&g.T(c,"videoAdUiFixedPaddingSkipButtonText"),g.T(g.Zd(e?"videoAdUiExperimentalSkipIcon":"videoAdUiSkipIcon",this.skipButton),"videoAdUiFixedPaddingSkipButtonIcon")):this.K&&this.config.showContentThumbnail&&!g.E(g.G(c))&&(d=g.ke("img"),d.setAttribute("src",c),g.T(d,"videoAdUiPreSkipThumbnailImage"),this.skipButton.appendChild(d));this.Ia&&(c=g.Zd("videoAdUiSkipText",this.A),g.M(c,!1));Mga(this);"4.4.4"===(g.fp?jp(gp):"")&&(this.F.style.backgroundColor="black",this.skipButton.style.backgroundColor=
"black");g.M(this.C,!1);b.appendChild(this.C);0==ar(this.config.skipOffset)?this.dispatchEvent("skipshown"):(g.M(this.A,!1),g.ji(this.A,0));b.appendChild(this.A);zo().o("move_skip_button_to_top")&&(g.T(this.C,"videoAdUiHighPreSkipContainer"),g.T(this.A,"videoAdUiHighSkipContainer"));this.kc.X(this.V,"click",this.PV);this.K?this.V.Cb(this.A):this.V.Cb(this.skipButton)};
vv=function(a,b){var c=null!=a.config.skipOffset&&-1!=ar(a.config.skipOffset)?ar(a.config.skipOffset):-1;if(!(0>c)){var d=Math.ceil(c-b);c=d.toString();60<=d&&(c=Up(d));d=a.sa;3==a.config.breakType?d=a.ha?"postrollforcedlinebreak":"postroll":a.ha&&(d="forcedlinebreak");d={lp:d,oe:c,aj:"\n"};a.Aa&&null!=a.ma?g.ye(a.ma,c):a.ba?g.ye(a.G,c):(c=a.G,d=d||{},d=""+zq("b",d.lp)(d,void 0),g.ye(c,d))}};
xv=function(a){return new Qu(a,.5,{opacity:1,visibility:"shown"},{opacity:.9,visibility:"hidden"},{property:"opacity",duration:.5,timing:"ease-out",delay:0})};
yv=function(a,b){null!=a.F&&g.M(a.F,b);null!=a.skipButton&&g.M(a.skipButton,b)};
Mga=function(a){if(null!=a.o){var b=null!=lf(a.o,zf,1)&&null!=lf(lf(a.o,zf,1),Af,1)?ff(lf(lf(a.o,zf,1),Af,1),1):null,c=null!=lf(a.o,zf,2)&&null!=lf(lf(a.o,zf,2),Af,1)?ff(lf(lf(a.o,zf,2),Af,1),1):null;b&&(a.skipButton.style.backgroundColor=g.Nu(g.Mu(b)),c&&(a.kc.X(g.ve(a.skipButton),"mouseover",function(){this.skipButton.style.backgroundColor=g.Nu(g.Mu(c))}),a.kc.X(g.ve(a.skipButton),"mouseout",function(){this.skipButton.style.backgroundColor=g.Nu(g.Mu(b))})));
if(null!=a.O)if(a.config.A)g.ye(a.O,"Skip Ads");else if(null!=lf(a.o,Bf,3)){var d=$aa(lf(a.o,Bf,3));0<d.length&&ff(d[0],1)&&g.ye(a.O,ff(d[0],1))}}};
Dv=function(a,b){wv.call(this,a,b);var c=this.o;this.aa=null!=c&&kf(c,8)?!0:!1;this.ka=!1;this.D=this.M=null;c=this.o;var d=zv;null!=c&&(null!=ff(c,10)&&kf(c,10)||null!=ff(c,9)&&!kf(c,9))&&(d=Av);this.L=d;c=this.o;d=Bv;null!=c&&(null!=ff(c,12)&&kf(c,12)||null!=ff(c,11)&&!kf(c,11))&&(d=Cv);this.Y=d;c=this.o;d=.5;this.aa||null==c||null==ff(c,26)||(c=ff(c,26),d=(null==c?c:+c)||0);this.ea=d;this.H=0};
Ev=function(a){null==a.D&&"4.4.4"!=(g.fp?jp(gp):"")&&1!=a.H&&(g.Gf(a.B),a.B=null,a.D=g.Vg(function(){fv(this.A,.5,"ease-in",1,this.ea).play();this.H=1;this.D=null},0,a))};
Gv=function(a,b){if(0!=a.H){if(b){if(null!=a.D||"4.4.4"==(g.fp?jp(gp):""))return;a.D=g.Vg(function(){fv(this.A,.5,"ease-in",this.ea,1).play();this.D=null},0,a)}else Fv(a),g.ji(a.A,1);
a.H=0}};
Fv=function(a){null!=a.D&&(g.Wg(a.D),a.D=null)};
Hv=function(a){null!=a.M&&(g.Wg(a.M),a.M=null)};
Iv=function(a,b,c){var d=null;switch(c){case Bv:null!=b&&null!=b.skipOffset&&(d=1E3*(a-ar(b.skipOffset)));break;case Cv:a=g.y("window.yt.util.activity.getTimeSinceActive"),d=(a=null!=a?a().toString():null)?Ec(a):null}return d};
Jv=function(a,b){var c=1E3*a.VA;null!=b&&null!=ff(b,13)&&(c=ff(b,13));return c};
Kv=function(a,b,c,d,e,f,k,l,m){this.C=a;this.L=b;this.D=c;this.F=d;this.A=e;this.G=f;this.H=k;this.J=l;this.K=m;this.o=this.C.Dg()};
Lv=function(a){var b=a.o;var c=g.hi(a.B);c="left"==a.D?"0px":"right"==a.D?c.width-a.C.ie().width+"px":a.D+"px";var d=g.hi(a.B);a="bottom"==a.F?"0px":"top"==a.F?d.height-a.C.ie().height+"px":d.height-a.C.ie().height-Ec(a.F)+"px";g.Ph(b,{position:"absolute",overflow:"hidden",left:c,bottom:a})};
Nga=function(a){g.ki(a.o)||(g.M(a.o,!0),(0,g.C)(a.K,function(b){Jo(b)}))};
Mv=function(a,b,c,d){g.jg.call(this);this.wa=a;this.Wa=this.ga=!1;this.ba=c;this.Fa=d;this.Sa=this.Ia=this.La=this.K=this.V=this.H=this.M=this.ia=this.A=this.C=this.Ra=this.ha=this.ea=this.G=this.ma=this.O=this.F=this.D=this.L=this.aa=this.B=this.ka=this.Aa=this.ya=this.J=this.o=null;this.Z=new g.Xn(this);this.sa=[];a=this.wa;this.Ab=null!=a&&null!=a.o&&null!=Cf(a.o)?lf(Cf(a.o),uf,2):null;this.Y=[];this.Tm(b)};
Oga=function(a){null!=a.C&&g.M(a.C,!1)};
Nv=function(a){a.A&&(a.A.dispose(),a.A=null)};
Ov=function(a,b){a.sa=b;(0,g.C)(b,function(c){c.display(this.o);var d=c.zd();if(null!=d){var e=new Iu;e.D=!0;this.Y.push(e);this.Z.X(e,"click",(0,g.A)(this.YL,this,c));e.Cb(d)}},a)};
Pv=function(a){null!=a.B&&(g.M(a.B,!0),g.ye(a.B,a.wa.visitAdvertiserText));null!=a.aa&&g.M(a.aa,!0)};
Qv=function(a,b){if(null!=a.o){var c=g.Fe(g.ve(a.o),"html5-video-player");null!=c&&(g.U(c,"ytp-ad-end-cap",b),zo().o("desktop_trv_action_endcap_background_clickable")&&g.U(c,"ytp-endcap-background-clickable",b),g.U(c,"ytp-ad-display-override",b))}};
Sv=function(a){var b=a.wa.H&&(a.ba>a.wa.ba||0==a.ba),c=b&&a.wa.Aa,d=b&&a.wa.Fa,e=b&&a.wa.F,f=b&&a.wa.sa;b=b&&a.wa.O;var k=a.wa.ma&&a.wa.D,l="0px";var m=a.Ab;m=Q()&&null!=m&&kf(m,1)?!1:!0;null!=a.G&&(g.M(a.G,b),null!=a.L&&g.M(a.L,c),null!=a.D&&g.M(a.D,d),null!=a.K&&(g.M(a.K,f),f&&a.dispatchEvent("videoShareShown")),null!=a.Ia&&g.M(a.Ia,!1),null!=a.Sa&&g.M(a.Sa,!1),null!=a.ea&&g.M(a.ea,b||c||d||e));null!=a.J&&g.M(a.J,a.wa.B);null!=a.ha&&(g.M(a.ha,k),k&&(l=Th(a.ha,"height")));null!=a.ma&&!Q()&&g.Ph(a.ma,
"bottom",l);Rv(a);null!=a.ya&&g.M(a.ya,a.wa.ea);null!=a.ka&&g.M(a.ka,m);Q()||!a.wa.V||P.D||(null!=a.F&&g.M(a.F,!1),null!=a.O&&g.M(a.O,!1))};
Tv=function(a,b,c,d,e){var f=Xs({Zx:"",gt:0,ey:0});a.wa.D&&a.wa.ia&&(b=Up(c-b),f=Xs({Zx:a.wa.L?" \u2022 "+b:a.ga?" \u00b7 "+b:": ("+b+")",gt:d,ey:e}));g.ye(a.Aa,f);g.M(a.J,a.wa.B)};
Pga=function(a,b){null!=a.ia&&a.ia.show(b)};
Rv=function(a){var b=a.wa.H&&(a.ba>a.wa.ba||0==a.ba)&&a.wa.F?a.wa.V?!P.D||a.Wa:!0:!1;null!=a.F&&g.M(a.F,b);null!=a.O&&g.M(a.O,Q()&&a.wa.G&&!b)};
Uv=function(){g.K.call(this);this.B="";this.kb=null;this.C=new Uq;this.A=new g.Bn;this.F=[];this.J=!1;this.o={};this.H={};this.D=-1;this.G=[]};
Qga=function(a,b){null!=b&&(0,g.C)(b,function(c){g.Ya(this.G,c)||this.G.push(c)},a)};
Vv=function(a,b,c){null!=c.viewability&&Ur(a.o,c.viewability);var d;P.o||(d=Gp().J||void 0);var e=[];(0,g.C)(b,function(f){var k=this.o;Vr(k,f,"MOAT_INIT",c.moatInit);Vr(k,f,"MOAT_VIEWABILITY",c.moatViewability);Vr(k,f,"IAS_VIEWABILITY",c.integralAdsViewability);Vr(k,f,"DV_VIEWABILITY",c.doubleVerifyViewability);Vr(k,f,"GOOGLE_VIEWABILITY",c.googleViewability);e.push(Lo(f,this.o,c,d))},a);
Ur(a.o,"na");return e};
Xv=function(a,b,c){(0,g.C)(b,function(d){var e=zo();e.o("use_yt_pinging_service_w_headers_for_ima_living_room")&&g.Ja(Wv)?Wv(d,c,!0):e.o("use_yt_pinging_service_for_ima_living_room")&&g.Ja(Wv)?Wv(d,c,Lr(d)):e.o("enable_oauth_headers_on_ad_tracking_pings_for_living_room")&&Lr(d)&&g.Ja(Wv)?Wv(d,c,!0):Jo(d,void 0,void 0,c)},a)};
Rga=function(a,b){switch(b){case "abandon":return!Dn(a.A,b)&&!Dn(a.A,"skip")&&!Dn(a.A,"instreamAdComplete")&&(Dn(a.A,"impression")||a.J);case "instreamAdComplete":case "complete":return!Dn(a.A,b)&&!Dn(a.A,"skip");case "progress":case "click":case "mute":case "unmute":case "rewind":case "fullscreen":case "exitfullscreen":case "expand":case "collapse":return!0;default:return!Dn(a.A,b)}};
Yv=function(a){g.jg.call(this);this.ads=a;this.xc=null;this.Je=new g.Xn(this);g.L(this,this.Je);this.dd="normal";this.Na=this.volume=null;this.Va=new Cp;this.ye=!1;this.content={};this.hc=new Uv;this.Ta=null;this.bp=!1;Gp();this.ks=(0,g.A)(this.YK,this);var b=0;(0,g.C)(a,function(c){b+=c.getDuration()});
(0,g.C)(a,function(c,d){var e=c.B;e.Ee=a.length;var f=d+1;e.o=f;e.C=f})};
Zv=function(a,b){if(a.xc=b)a.hc.B=b.L;if(P.o){var c=Zp();dq(c,a.ks);b&&c.A.set(b.L,a.ks)}};
$v=function(a,b){return null==b?!1:null!=b.getExtension("adx")?!0:$v(a,b.A)};
aw=function(a){return(0,g.xk)(a.ads,function(b){return(0,g.xk)(this.vh(b),function(c){c=c.Xa();return!g.E(g.G(Hr(c)))})},a)};
bw=function(a){a=a.o;return null!=a&&a instanceof hr};
cw=function(a,b){a.hc.report(new g.If(b));a.oa(b)};
Sga=function(a,b){return(0,g.wj)(g.Vb(b),function(c){return Xb(this.Va,c)},a)};
ew=function(a){if(!a.Ac())throw Ro(dw,null,"Ads manager is not correctly configured.");};
fw=function(a,b){for(var c=b;null!=c;)(0,g.C)(c.Y.wb(),a.gV,a),c=c.A};
Tga=function(a){if(!g.Ga(a))throw Ro(dw,null,"adsRenderingSettings.mimeTypes should be an array");var b=g.gb(g.Ub(gw),g.Ub(lr));(0,g.C)(a,function(c){if(!g.Ya(b,c))throw Ro(dw,null,"Invalid or unsuppoted mime type "+c);})};
hw=function(a){var b=a.va();if(null!=b){var c=b.o;if(c instanceof hr&&(c=c.xa,null!=c&&!g.Za(c))){var d=document.body,e=Tr(a.va());e=dv(!1,null,null,!1,a.Va,e);e.H=!1;e.B=!1;e.D=!1;b=b.Ue();a.Ta=new Mv(e,d,1E3*a.getDuration(),b);Ov(a.Ta,c);a.Ta.show();a.Za().X(a.Ta,"videoIconClicked",a.FR)}}};
iw=function(a,b,c){null!=a.Ta&&0<=c&&0<=b&&a.Ta.update(b,0,c,0,0)};
Uga=function(a,b){function c(d,e,f){for(var k in e)for(var l=k.toLowerCase(),m=0;m<d.length;m++){var n=d[m];if(l==n)throw Error('Cannot override "'+n+'" '+f+', got "'+k+'" with value "'+e[k]+'"');}}
c(jw,a,"attribute");c(jw,b,"param")};
g.kw=function(){};
g.lw=function(a){g.jg.call(this);this.J=a||Wd();this.Ja=null;this.Ye=!1;this.o=null;this.F=void 0;this.G=this.L=this.D=null};
mw=function(a,b){if(a.Ye)throw Error("Component already rendered");a.o||a.Hp();b?b.insertBefore(a.o,null):a.J.o.body.appendChild(a.o);a.D&&!a.D.Ye||a.Qj()};
nw=function(a,b){a.L&&(0,g.C)(a.L,b,void 0)};
ow=function(a,b){g.lw.call(this,b);this.H=a;this.Z=new g.Xn(this);this.A=new g.Bn};
pw=function(a){return a.ra()?a.ra().firstChild:null};
qw=function(a){g.jg.call(this);this.kb=null;this.F=a;this.A=null;this.B=-1;this.D=!1;this.C=Ac()};
rw=function(){};
tw=function(a,b,c){this.o=a;this.Jf=c;this.A=b};
Vga=function(a,b){this.o=a;this.A=b};
uw=function(a,b,c,d){or.call(this,a,b,"Static",c,d);this.sA=!1};
vw=function(a,b,c,d){or.call(this,a,b,"Html",c,d)};
ww=function(a,b,c,d){or.call(this,a,b,"Static",c,d)};
yw=function(a,b,c){if(g.Za(c))return new or(a,b,"",null,"");var d=xw(c);c=d.A;var e=d.o;d=d.C;switch(c){case "Html":return new vw(a,b,e,d);case "Static":switch(lr[e]){case "Image":return new ww(a,b,e,d);case "Flash":return new uw(a,b,e,d);case "Text":return new Gr(a,b)}}return new or(a,b,c,e,d)};
xw=function(a){var b=g.Ua(a,function(k){return"Static"==k.A&&"Flash"==lr[k.o]}),c=g.Ua(a,function(k){return"IFrame"==k.A}),d=g.Ua(a,function(k){return"Html"==k.A}),e=g.Ua(a,function(k){return"Static"==k.A&&"Image"==lr[k.o]}),f=g.Ua(a,function(k){return"Static"==k.A&&"Text"==lr[k.o]});
return Sp&&null!=b?b:null!=c?c:null!=d?d:null!=e?e:null!=f?f:a[0]};
Wga=function(a,b,c,d,e,f){var k=xw(f),l=yw(a.id,a.size,[k]);l.F=!0;l.K=a.apiFramework;l.ma=b;l.L=c;l.o=d;e&&(l.jk=e);g.db(f,k);var m=[];(0,g.C)(f,function(n){n=yw(a.id,a.size,[n]);n.F=!0;n.K=a.apiFramework;n.ma=b;n.L=c;n.o=d;e&&(n.jk=e);m.push(new Ds(n,[],a.adSlotId))});
return new Ds(l,m,a.adSlotId)};
zw=function(a,b,c){this.A=a;this.o=b;this.C=c};
Aw=function(a,b,c){wr.call(this);this.A=a;this.C=b;this.B=c};
Bw=function(){this.kb=null};
Cw=function(){this.D=null;this.F="http://www.google.com/adsense/support";this.G=0;this.o=15;this.B=5;this.C=3;this.A=!1};
Xga=function(a,b){a.o=b};
Dw=function(a,b,c,d,e,f,k,l,m,n,p){wr.call(this,n,p);this.D=a;this.F=b;this.B=c;this.G=m;this.H=k;this.A=f;this.C=e};
Ew=function(){};
Zga=function(a,b){var c;(0,g.C)(se(b),function(d){switch(d.nodeName){case "context":c="default"==d.getAttribute("data")?new Cw:null;break;case "params":null!=c&&Yga(this,c,d)}},a);
return c};
Yga=function(a,b,c){(0,g.C)(se(c),function(d){var e=d.attributes[0].value;switch(d.nodeName){case "attribution_url":b.F=e;break;case "attribution_text":b.D=e;break;case "signals":b.G=parseInt(e,10);break;case "audio_muted_on_start":b.A=zt(e,!1)}},a)};
Fw=function(){this.kb=null};
Gw=function(){};
Hw=function(){};
Iw=function(){};
Jw=function(a){var b=a;if(a instanceof Array)for(var c=b=Array(a.length),d=0;d<a.length;++d)a.hasOwnProperty(d)&&(c[d]=Jw(a[d]));else a instanceof Object&&(b={},Kw(b,a));return b};
Kw=function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=Jw(b[c]))};
Lw=function(a){return{nB:a}};
Mw=function(a,b,c){this.type=a;this.label=b;this.ue=c};
Nw=function(a,b){return new Mw(a,1,b)};
Ow=function(a){new Mw(a,2,void 0)};
Pw=function(a,b){return new Mw(a,3,b)};
Qw=function(a){return Nw("m",a)};
Rw=function(a){return Pw("m",a)};
Sw=function(a){this.o=a||{}};
Tw=function(a,b,c){a=a.o[b];return null!=a?a:c};
Uw=function(a,b){return!!Tw(a,b,void 0)};
et=function(a,b){return Tw(a,b,"")};
Vw=function(a,b,c){a=a.o;a[b]||(a[b]=[]);return a[b][c]};
$ga=function(a){for(var b=Ww,c=[],d=0;d<Xw(a,"event");d++)c.push(new b(Vw(a,"event",d)));return c};
Xw=function(a,b){return a.o[b]?a.o[b].length:0};
Yw=function(a){this.o=a||{}};
Zw=function(a){this.o=a||{}};
$w=function(a){this.o=a||{}};
ax=function(a){this.o=a||{}};
Ww=function(a){this.o=a||{}};
bx=function(a){this.o=a||{}};
cx=function(a){this.o=a||{}};
dx=function(a){this.o=a||{}};
nu=function(a){this.o=a||{}};
Hs=function(a){return new bx(a.o.product_card)};
Ps=function(a){return new ax(Vw(a,"action",0))};
mu=function(a){return Uw(a,"show_in_endcap")};
ou=function(a){return Uw(a,"show_in_companion")};
jx=function(){if(!ex){var a={};ex=Lw(a);a.type=fx;a.id=gx;a.link_url=gx;a.title=gx;a.image=Qw(hx());a.event=Rw(ix());a.target=gx;a.priority=gx}return ex};
gt=function(a){return et(a,"title")};
Os=function(a){return et(a,"target")};
ix=function(){if(!kx){var a={};kx=Lw(a);a.type=fx;a.base_url=gx}return kx};
Ls=function(a){return new nu(a.o.image)};
Is=function(a){return new cx(Vw(a,"offer",0))};
Ks=function(a){return et(a,"merchant")};
Ms=function(a){return et(a,"price")};
lx=function(a){return new ax(Vw(a,"action",0))};
ht=function(a){return et(a,"description")};
hx=function(){if(!mx){var a={};mx=Lw(a);a.image_url=gx;a.thumbnail_url=gx;a.image_height=nx;a.image_width=nx;a.label=gx}return mx};
ox=function(a,b,c){wr.call(this,c);this.A=a;this.C=b||null};
px=function(a){this.o=a};
rx=function(a,b,c){for(var d={},e=0;e<b.attributes.length;e++){var f=b.attributes[e],k=c.nB[f.nodeName];if(k)switch(k.type){case "b":d[f.nodeName]="false"!=f.nodeValue;break;case "d":case "f":d[f.nodeName]=parseFloat(f.nodeValue);break;case "e":d[f.nodeName]=qx[b.nodeName][f.nodeName][f.nodeValue];break;case "i":d[f.nodeName]=parseInt(f.nodeValue,10);break;default:d[f.nodeName]=f.nodeValue}}for(e=0;e<b.childNodes.length;e++)if(f=b.childNodes[e],f.nodeType==Node.ELEMENT_NODE&&(k=c.nB[f.nodeName],null!=
k)){var l=rx(a,f,k.ue);3==k.label?(d[f.nodeName]||(d[f.nodeName]=[]),d[f.nodeName].push(l)):d[f.nodeName]=l}return d};
aha=function(a,b){var c=new Uq;(0,g.C)(se(b),function(d){"CustomTracking"==d.nodeName&&null!=se(d)&&(c=Ct(d,!1,(0,g.A)(function(e,f){return sx(e,f)},this)))},a);
return c};
sx=function(a,b){return g.fo(b,{ACTTYPE:{toString:function(){switch(a){case "video_card_endcap_action":return"action_headline_click";default:return""}}}})};
tx=function(a,b){wr.call(this);this.C=a;this.A=g.G(b)};
ux=function(a){wr.call(this);this.A=a};
vx=function(){this.kb=null};
wx=function(a,b){this.logger=null;this.C=b;this.o={};this.A=[];this.o.CustomTracking=Ct;this.o.UI=this.D};
xx=function(a,b){if(null==b)return null;var c={};(0,g.C)(se(b),function(d){c[d.nodeName]=null!=this.o[d.nodeName]?this.o[d.nodeName].call(this,d):null},a);
return null==c.UI?null:c};
yx=function(){wx.call(this,"MuteExtensionParser","mute_");this.o.SurveyOptions=this.B};
zx=function(){wr.call(this);this.A=""};
Ax=function(){this.kb=null};
Bx=function(a,b,c,d){wr.call(this);this.B=a;this.C=b;this.D=c;this.A=d};
Cx=function(){this.kb=null};
Dx=function(a){wr.call(this,a)};
Ex=function(){};
Fx=function(){wr.call(this)};
Gx=function(){this.kb=null};
bha=function(a,b){var c;(0,g.C)(se(b),function(d){d.nodeName==this.o.wJ&&(c=ut(d))},a);
return c};
Hx=function(a,b,c,d,e,f){wr.call(this);this.D=a||"";this.F=b||"";this.G=c||"";this.B=d;this.A=e;this.C=f};
Ix=function(){this.kb=null};
Jx=function(a){wr.call(this);this.A=a};
Kx=function(){this.kb=null};
Lx=function(){wx.call(this,"WhyThisAdExtensionParser","why_this_ad_");this.A.push("targeting_reason")};
Mx=function(a,b){return null!=a?(0,g.wj)(b,function(c){return c in a}):!1};
cha=function(a,b){return null!=a?(0,g.xk)(b,function(c){return c in a}):!1};
Nx=function(){};
Ox=function(){wr.call(this)};
Px=function(){};
Qx=function(){};
Rx=function(a){this.B=a;this.logger=null};
Sx=function(a){if(null==a)return!1;a=ue(a);return null!=a&&"VAST"==a.nodeName};
Ux=function(a,b){var c=[],d=null;try{var e=g.mt(a),f=ue(e);null!=f&&"CompanionAds"==f.nodeName&&(d=Tx(Rx.prototype,f,b))}catch(k){}null!=d&&c.push(d);return c};
Vx=function(a){if(null==a)return 0;a=parseInt(a.getAttribute("version"),10);return g.Ca(a)&&!isNaN(a)?a:0};
eha=function(a){var b=[],c=ue(a.B),d=Vx(c);vt(c,a.o.MH,function(e){var f=Wx(e);if(null==f)throw ot(e);var k=e.getAttribute(this.A.vo);e=Number(e.getAttribute(this.A.Bz));var l=k||null;k=e||0;var m=null,n=null;e=[];for(var p=[],q=[],u=[],w=new g.Bn,D,F=f.nodeName==this.o.CJ,J=F,O=F,qa=null,Ta=se(f),Ha=0,ab=Ta.length;Ha<ab;Ha++){var ob=Ta[Ha];switch(ob.nodeName){case this.o.NH:ut(ob);case this.o.hJ:break;case this.o.zJ:if(F){if(null!=D)throw pt(ob);D=ut(ob);qa=ega(D);J=zt(f.getAttribute(this.A.SH),
J);O=zt(f.getAttribute(this.A.uI),O)}else throw ot(ob);break;case this.o.QH:m=ut(ob);break;case this.o.RH:n=ut(ob);break;case this.o.lI:ut(ob);break;case this.o.uJ:ut(ob);break;case this.o.xo:ob=ut(ob);At(ob)&&e.push(ob);break;case this.o.ERROR:ob=ut(ob);p.push(ob);break;case this.o.fI:u=dha(this,ob);q=u.creatives;u=u.jK;break;case this.o.rI:var wd=ob;w=qa;ob=new g.Bn;try{var ac=rt(wd,this.o.EXTENSION);wd=0;for(var Id=ac.length;wd<Id;wd++){var bc=ac[wd],Ob=bc.getAttribute(this.A.Kz);null!=Ob?Ob=Ob.toLowerCase():
Ob="generic";switch(Ob){case "programmatic":var cc=(new Ax).parse(bc);break;case "geo":cc=(new Px).parse(bc);break;case "pod":cc=(new Nx).parse(bc);break;case "waterfall":cc=(new Qx).parse(bc);break;case "dart":cc=(new Gw).parse(bc);break;case "dfp":Ob="DFP";cc=(new Hw).parse(bc);break;case "adsense":Ob="AdSense";cc=(new Fw).parse(bc);break;case "textad":Ob="TextAd";cc=(new Ix).parse(bc);break;case "templatead":Ob="TemplateAd";cc=(new Gx).parse(bc);break;case "infocards":Ob="InfoCards";var Lh=new px(!0);
cc=Lh.parse(bc);break;case "infocardstracking":Ob="InfoCardsTracking";Lh=new px(!1);cc=Lh.parse(bc);break;case w:case "prefetchedad":Ob="LocalRedirect";var gf=bc;if(null==gf)cc=null;else{var ag=null,Ui=rt(gf,"AdXml");if(1==Ui.length){var xd=ue(Ui[0]);if(null!=xd)try{ag=qt(xd)}catch(El){ag='<?xml version="1.0" encoding="UTF-8"?>'+nt(xd)}else ag='<?xml version="1.0" encoding="UTF-8"?>'+nt(xd)}var Fl=rt(gf,"VASTAdTagURI");gf=null;1==Fl.length&&(gf=Fl[0].textContent);cc=new tx(ag,gf)}break;case "viral":Ob=
"viral";cc=(new Kx).parse(bc);break;case "metrics":Ob="metrics";cc=(new vx).parse(bc);break;case "adx":Ob="adx";cc=(new Et).parse(bc);break;case "why_this_ad":Ob="why_this_ad";cc=(new Lx).parse(bc);break;case "mute":Ob="mute";cc=(new yx).parse(bc);break;case "sodar":cc=(new Cx).parse(bc);break;case "survey":cc=(new Ex).parse(bc);break;case "adformat":Ob="AdFormat";cc=(new Bw).parse(bc);break;default:var $M=new Iw;Ob="generic";cc=$M.parse(bc)}if(null!=cc){var Vi=ob.get(Ob);null!=Vi?"generic"==Ob&&
(jfa(Vi,cc.o),ob.set(Ob,Vi)):ob.set(Ob,cc)}}}catch(El){if(!g.Ja(El.Fb)||1105==El.Fb())throw El;}w=ob}}f=g.G(l);ac=m;a:if(g.E(g.G(m)))Id="UNKNOWN";else switch(Id=m.toUpperCase(),Id){case "ADSENSE":case "ADSENSE/ADX":case "ADSENSE-VIRAL":case "DART":case "DART_DFP":case "DART_DFA":case "FREEWHEEL":case "GDFP":case "SHOPPING":case "402":case "YT:ADSENSE":case "YT:DOUBLECLICK":case "YT:SHOPPING":case "YT:FREEWHEEL":case "VIRAL":case "VIRAL-RESERVE":break a;default:Id="UNKNOWN"}w.get("programmatic");bc=
w;Ob=null;w=w.get("AdSense");null!=w&&(w=xr(w,"vast2tracking"),null!=w&&!g.Za(w)&&(Ob=w[0]));k=new It(f,ac,Id,n,k,p,e,q,u,bc,D,J,O,Ob);null!=k&&(k.Sa=d,b.push(k))},a);
return b};
Wx=function(a){var b=null;a=se(a);for(var c=0,d=a.length;c<d;c++)switch(b=a[c],b.nodeName){case "InLine":case "Wrapper":break;default:throw ot(b);}return b};
fha=function(a){if(g.E(g.G(a)))return"none";switch(a){case "all":case "any":case "none":return a;default:return"none"}};
dha=function(a,b){var c=[],d=[];vt(b,a.o.eI,function(e){var f=e.getAttribute(this.A.Bz),k=NaN;g.E(g.G(f))||(k=parseFloat(f));e.getAttribute(this.A.OH);f=e.getAttribute(this.A.vo);var l=!1,m=[];e=se(e);for(var n=0,p=e.length;n<p;n++){var q=e[n];switch(q.nodeName){case this.o.xJ:var u=q,w=ut(u);w=g.G(w);g.E(w)&&u.getAttribute(this.A.CI);q.getAttribute(this.A.BI);break;case this.o.LINEAR:if(l)throw pt(q);l=gha(this,q,isNaN(k)?0:k,f||null);jb(c,l);jb(m,l);l=!0;break;case this.o.bI:if(l)throw pt(q);l=
Tx(this,q,isNaN(k)?0:k);jb(d,l);l=!0;break;case this.o.YI:if(l)throw pt(q);l=hha(this,q,isNaN(k)?0:k,f||null);jb(c,l);jb(m,l);l=!0}}n=0;for(p=m.length;n<p;n++);},a);
return{creatives:c,jK:d}};
hha=function(a,b,c,d){var e=[],f=new Uq;b=se(b);for(var k=0,l=b.length;k<l;k++){var m=b[k];switch(m.nodeName){case a.o.XI:m=iha(a,m,c,d);null!=m&&e.push(m);break;case a.o.Ws:f=Ct(m);break;default:throw ot(m);}}0!=e.length||f.isEmpty()||(a=new or(null,new g.Qd(-1,-1),"",null,""),a.o=c,a.ia=d,e.push(a));(0,g.C)(e,function(n){f&&(n.jk=f)});
return e};
Xx=function(a,b){var c={};c.id=b.getAttribute(a.A.vo);c.adSlotId=b.getAttribute(a.A.PH);c.apiFramework=b.getAttribute(a.A.qo);var d=g.Bc(b.getAttribute(a.A.zo)),e=g.Bc(b.getAttribute(a.A.so));c.size=new g.Qd(d,e);d=b.getAttribute(a.A.qI);e=b.getAttribute(a.A.pI);g.E(g.G(d))||g.E(g.G(e))||(c.F4=new g.Qd(g.Bc(d),g.Bc(e)));return c};
iha=function(a,b,c,d){var e=Xx(a,b);b.getAttribute(a.A.qo);b.getAttribute(a.A.nJ);b.getAttribute(a.A.KI);var f=b.getAttribute(a.A.TI);f=xt(f,-1);var k=[];new g.Bn;var l={},m="",n=null,p=[];b=se(b);for(var q=0,u=b.length;q<u;q++){var w=b[q];switch(w.nodeName){case a.o.aJ:p.push(ut(w));break;case a.o.ZI:n=ut(w);break;case a.o.Is:l=Yx(w);m=g.G(ut(w));break;case a.o.wo:case a.o.yo:case a.o.uo:w=Zx(a,w);null!=w&&k.push(w);break;default:throw ot(w);}}a=yw(e.id,e.size,k);dr(a,m,l);a.K=e.apiFramework;a.ma=
n;a.L=p;a.Fa=f;a.o=c;a.ia=d;return a};
Zx=function(a,b){var c=tt(b,a.A.gI);if(null!=c&&"text/javascript"==c)return null;a:{var d=b.nodeName;switch(d){case a.o.yo:d="Static";break a;case a.o.wo:d="IFrame";break a;case a.o.uo:d="Html";break a;default:throw Qo(jha,null,d);}}var e=ut(b);null!=e||(e="");return new zw(d,c,e)};
Tx=function(a,b,c){var d=[],e=fha(tt(b,a.A.kJ));vt(b,a.o.aI,function(f){var k=Xx(this,f);var l=[],m=new Uq,n=null,p=[];f=se(f);for(var q=0,u=f.length;q<u;q++){var w=f[q];switch(w.nodeName){case this.o.dI:p.push(ut(w));break;case this.o.Ws:m=Ct(w,!0);break;case this.o.cI:n=ut(w);break;case this.o.TH:ut(w);break;case this.o.Is:ut(w);break;case this.o.wo:case this.o.yo:case this.o.uo:w=Zx(this,w);null!=w&&l.push(w);break;default:throw ot(w);}}k=g.Za(l)?null:Wga(k,n,p,c,m,l);null!=k&&d.push(k)},a);
return new Vga(d,e)};
gha=function(a,b,c,d){var e=new Uq,f={},k="",l=[],m=null,n=new g.Bn,p=[],q=[],u=0,w=Bt(tt(b,a.A.pJ));b=se(b);for(var D=0,F=b.length;D<F;D++){var J=b[D];switch(J.nodeName){case a.o.wI:q=kha(a,J);break;case a.o.Is:f=Yx(J);k=g.G(ut(J));break;case a.o.Ls:u=xt(ut(J),0);break;case a.o.Ws:e=Ct(J);break;case a.o.OI:p=lha(a,J);break;case a.o.AJ:l=mha(a,J);n=l.customClicks;m=l.clickThrough;l=l.clickTrackingUrls;break;default:throw ot(J);}}(0,g.C)(l,function(O){Zq(e,"click",O)});
a=new hr(u,m,n,p,w,q);dr(a,k,f);a.o=c;a.ia=d;e&&(a.jk=e);return a};
mha=function(a,b){for(var c=null,d=[],e=new g.Bn,f=se(b),k=0,l=f.length;k<l;k++){var m=f[k];switch(m.nodeName){case a.o.YH:c=ut(m);break;case a.o.ZH:m=ut(m);d.push(m);break;case a.o.iI:var n=tt(m,a.A.vo);null!=n||(n="");var p=e.get(n,[]);p.push(ut(m));e.set(n,p);break;default:throw ot(m);}}return{clickThrough:c,clickTrackingUrls:d,customClicks:e}};
lha=function(a,b){for(var c=[],d=rt(b,a.o.NI),e=0,f=d.length;e<f;e++){var k=d[e],l=tt(k,a.A.kI),m=tt(k,a.A.Kz);tt(k,a.A.BJ);var n=g.Bc(k.getAttribute(a.A.zo)),p=g.Bc(k.getAttribute(a.A.so)),q=k.getAttribute(a.A.qo),u=ut(k),w=wt(k.getAttribute(a.A.Sy)),D=wt(k.getAttribute(a.A.SI));k=wt(k.getAttribute(a.A.MI));l=new gr(l,m,w,D,k,n,p,u,q);c.push(l)}return c};
kha=function(a,b){var c=[];vt(b,a.o.vI,function(d){var e=d.getAttribute(this.A.iJ);var f=tt(d,this.A.DJ),k=tt(d,this.A.EJ),l=g.Bc(d.getAttribute(this.A.zo)),m=g.Bc(d.getAttribute(this.A.so)),n=new g.Qd(l,m);l=d.getAttribute(this.A.qo);m=Bt(tt(d,this.A.bJ));var p=d.getAttribute(this.A.Ls);p=xt(p,-1);var q=[],u=[],w={};d=se(d);for(var D=0,F=d.length;D<F;D++){var J=d[D];switch(J.nodeName){case this.o.AI:u.push(ut(J));break;case this.o.xI:w=[];var O=null;J=se(J);for(var qa=0,Ta=J.length;qa<Ta;qa++){var Ha=
J[qa];switch(Ha.nodeName){case this.o.yI:O=ut(Ha);break;case this.o.zI:w.push(ut(Ha));break;default:throw ot(Ha);}}w={iconClickThrough:O,ZL:w};break;case this.o.wo:case this.o.yo:case this.o.uo:O=Zx(this,J);null!=O&&q.push(O);break;default:throw ot(J);}}g.Za(q)?e=null:(d=w,n=yw("icon"+e,n,q),n.K=l,e=new Kv(n,e,f,k,p,m,d.iconClickThrough,d.ZL,u));null!=e&&c.push(e)},a);
return c};
Yx=function(a){a=ut(a);return null!=a?Jea(a):{}};
$x=function(a){Yv.call(this,a);this.o=this.kb=null;this.M={};this.C=!0;this.K=this.J=this.G=!1;this.F=this.L=0;this.A=null;this.D=0;this.B=1;this.H=-1;this.O=!1;this.V=2==P.F};
ay=function(a){var b=a.hd("getAdLinear");return g.Ba(b)?b:a.C};
by=function(a){if(!a.C){var b=a.hd("getAdRemainingTime");b=g.Ca(b)?b:-2;if(!g.Ca(b)||0>b)b=30;g.Wg(a.H);a.H=g.Vg(a.stop,1E3*b,a)}};
dy=function(a,b){var c=Ro(cy,b,void 0),d=Sr(c,a.va()),e=Rt(a.va());No(e,d);cy.message=c.Ud();Uo(a,cy,b);a.stop()};
ey=function(a){a.O||(a.O=!0,cw(a,"complete"))};
fy=function(a){Yv.call(this,a);this.D=this.o=this.kb=null;this.C=!0;this.Y=this.L=this.G=!1;this.O=Ac();this.J=this.M=0;this.H=-1;this.A=null;this.F=0;this.B=1;this.K=-1;this.V=!1};
gy=function(a){var b=a.wd("getAdLinear");return g.Ba(b)?b:a.C};
hy=function(a){if(!a.C){var b=a.wd("getAdRemainingTime");b=g.Ca(b)?b:-2;if(!g.Ca(b)||0>b)b=30;g.Wg(a.K);a.K=g.Vg(a.stop,1E3*b,a)}};
iy=function(a,b,c,d){d=Ro(b,c,d);var e=Sr(d,a.va()),f=Rt(a.va());No(f,e);b.message=d.Ud();Uo(a,b,c)};
jy=function(a){a.V||(a.V=!0,cw(a,"complete"))};
ky=function(a){lo.call(this,"adMetadata",a)};
ly=function(a){switch(a){case 1:return"endslate";default:return"fullslot"}};
my=function(a){switch(a){case 0:return"No Error";case 1:return"Access denied to content document";case 2:return"File not found";case 3:return"Firefox silently errored";case 4:return"Application custom error";case 5:return"An exception occurred";case 6:return"Http response at 400 or 500 level";case 7:return"Request was aborted";case 8:return"Request timed out";case 9:return"The resource is not available offline";default:return"Unrecognized error code"}};
g.ny=function(a){if(g.x.JSON)try{return g.x.JSON.parse(a)}catch(b){}return xba(a)};
oy=function(){};
py=function(){};
ry=function(a){return(a=qy(a))?new ActiveXObject(a):new XMLHttpRequest};
qy=function(a){if(!a.A&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],c=0;c<b.length;c++){var d=b[c];try{return new ActiveXObject(d),a.A=d}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.A};
g.sy=function(a){g.jg.call(this);this.headers=new g.Bn;this.V=a||null;this.C=!1;this.M=this.o=null;this.aa=this.K="";this.A=0;this.B="";this.D=this.Y=this.J=this.O=!1;this.F=0;this.G=null;this.ba="";this.L=this.H=!1};
ty=function(a,b){a.F=Math.max(0,b)};
nha=function(a){return g.de&&g.Lc(9)&&g.Ca(a.timeout)&&g.Aa(a.ontimeout)};
oha=function(a){return"content-type"==a.toLowerCase()};
wy=function(a,b){a.C=!1;a.o&&(a.D=!0,a.o.abort(),a.D=!1);a.B=b;a.A=5;uy(a);vy(a)};
uy=function(a){a.O||(a.O=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
By=function(a){if(a.C&&"undefined"!=typeof yy)if(a.M[1]&&4==g.zy(a)&&2==a.getStatus())Ay(a,"Local request error detected and ignored");else if(a.J&&4==g.zy(a))g.Vg(a.UB,0,a);else if(a.dispatchEvent("readystatechange"),4==g.zy(a)){Ay(a,"Request complete");a.C=!1;try{var b=a.getStatus();a:switch(b){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var c=!0;break a;default:c=!1}var d;if(!(d=c)){var e;if(e=0===b){var f=g.fh(String(a.K))[1]||null;if(!f&&g.x.self&&g.x.self.location){var k=
g.x.self.location.protocol;f=k.substr(0,k.length-1)}e=!pha.test(f?f.toLowerCase():"")}d=e}if(d)a.dispatchEvent("complete"),a.dispatchEvent("success");else{a.A=6;try{var l=2<g.zy(a)?a.o.statusText:""}catch(m){l=""}a.B=l+" ["+a.getStatus()+"]";uy(a)}}finally{vy(a)}}};
vy=function(a,b){if(a.o){Cy(a);var c=a.o,d=a.M[0]?g.z:null;a.o=null;a.M=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){}}};
Cy=function(a){a.o&&a.L&&(a.o.ontimeout=null);a.G&&(g.Wg(a.G),a.G=null)};
g.zy=function(a){return a.o?a.o.readyState:0};
g.Dy=function(a){try{return a.o?a.o.responseText:""}catch(b){return""}};
Ay=function(a,b){return b+" ["+a.aa+" "+a.K+" "+a.getStatus()+"]"};
qha=function(a,b,c,d){var e=new g.Hn("https://www.googleapis.com/youtube/v3/videos");g.Qn(e,"id",a);g.Qn(e,"part","snippet,status,statistics");g.Qn(e,"fields","items/id,items/snippet/title,items/snippet/channelId,items/status/privacyStatus,items/statistics/viewCount");null!=d&&(b=(0,g.A)(b,d),c=(0,g.A)(c,d));Ey(new g.sy,e,b,c)};
rha=function(a,b,c,d){var e=new g.Hn("https://www.googleapis.com/youtube/v3/channels");g.Qn(e,"id",a);g.Qn(e,"part","snippet,statistics,brandingSettings");g.Qn(e,"fields","items/id,items/snippet/title,items/snippet/thumbnails/default/url,items/statistics/videoCount,items/brandingSettings/image/bannerImageUrl");null!=d&&(b=(0,g.A)(b,d),c=(0,g.A)(c,d));Ey(new g.sy,e,b,c)};
Ey=function(a,b,c,d){g.Qn(b,"key","AIzaSyA-dlBUjVQeuc4a6ZN4RkNUYDFddrVLxrA");ty(a,2E3);var e=new g.Xn(a);e.Mh(a,"success",function(f){f=f.target;var k=f.o?g.ny(f.o.responseText):void 0;c(k||{});e.dispose();f.dispose()});
e.Mh(a,["error","timeout"],function(f){f=f.target;var k=null;0!=f.A&&(k=Error(my(f.A)));d(k);e.dispose();f.dispose()});
a.send(b)};
Fy=function(a,b,c){zi(b,function(d,e){!d&&0!==d||c[e]||(a+="&"+encodeURIComponent(e)+"="+encodeURIComponent(String(d)),c[e]=!0)});
return a};
Ly=function(a,b,c,d,e,f,k,l){f=void 0===f?Infinity:f;k=void 0===k?!1:k;Pj.call(this,a,l);var m=this;this.H=0;this.K=f;this.ba=b;this.L=c;this.aa=d;this.ga=e;this.O=!("csi.gstatic.com"!==this.L||!this.o.navigator||!this.o.navigator.sendBeacon);this.B={};this.o.performance&&this.o.performance.now||Gy(this,"dat",1);this.o.navigator&&this.o.navigator.deviceMemory&&Gy(this,"dmc",this.o.navigator.deviceMemory);this.ea=!k;this.M=function(){m.o.setTimeout(function(){return Hy(m)},1100)};
this.ia=[];this.Y=function(){Iy(m,1)};
this.V=function(){Iy(m,2)};
this.ha=Aaa(function(){Hy(m)});
this.ka=function(){var n=m.o.document;(null!=n.hidden?n.hidden:null!=n.mozHidden?n.mozHidden:null!=n.webkitHidden&&n.webkitHidden)&&m.ha()};
this.J=this.o.setTimeout(function(){return Hy(m)},5E3);
this.D={};this.C=b.length+c.length+d.length+e.length+3;this.F=0;(0,g.C)(this.events,function(n){return Jy(m,n)});
Ky(this);sha(this)};
sha=function(a){"complete"===a.o.document.readyState?a.o.setTimeout(function(){return Hy(a)},0):Ci(a.o,"load",a.M);
var b=ij(a.o.document);"undefined"!==typeof b&&Ci(a.o,b,a.ka);Ci(a.o,"unload",a.Y);Ci(a.o,"pagehide",a.V)};
Gy=function(a,b,c){c=String(c);a.C=null!=a.B[b]?a.C+(c.length-a.B[b].length):a.C+(b.length+c.length+2);a.B[b]=c};
tha=function(a){null!=a.B.uet&&(a.C-=3+a.B.uet.length+2,delete a.B.uet)};
Hy=function(a){if(a.A&&a.ea){try{if(a.F){var b=a.D;a.H++;var c=a.ba+"//"+a.L+a.aa+a.ga,d={};c=Fy(c,a.B,d);c=Fy(c,b,d);a.o.google_timing_params&&(c=Fy(c,a.o.google_timing_params,d),a.o.google_timing_params=void 0);var e=c;b=!1;try{b=a.O&&a.o.navigator&&a.o.navigator.sendBeacon(e,null)}catch(f){a.O=!1}b||Ei(a.o,e);Ky(a);a.H===a.K&&a.disable()}}catch(f){(new xn).Tg(358,f)}a.D={};a.F=0;a.events.length=0;a.o.clearTimeout(a.J);a.J=0}};
Ky=function(a){Gy(a,"puid",(a.H+1).toString(36)+"~"+(0,g.H)().toString(36))};
Jy=function(a,b){var c="met."+b.type;var d=g.Ca(b.value)?Math.round(b.value).toString(36):b.value;var e=Math.round(b.duration);d=""+b.label+(null!=b.slotId?"_"+b.slotId:"")+("."+d)+(0<e?"_"+e.toString(36):"");e="~";e=void 0===e?"":e;var f=null==a.D[c]?c.length+d.length+2:d.length+e.length;8E3<a.C+a.F+f&&(Hy(a),f=c.length+d.length+2);a.D[c]=null!=a.D[c]?a.D[c]+(""+e+d):d;a.F+=f;6E3<=a.C+a.F&&Hy(a)};
Iy=function(a,b){Gy(a,"uet",b);(0,g.C)(a.ia,function(c){try{c()}catch(d){}});
Hy(a);tha(a)};
Oy=function(){this.Ea=null;if(Bo(yo(),21592081)&&!Q()){this.Ea=new Ly(1,"https:","csi.gstatic.com","/csi?v=2&s=","ima",void 0,!0);if(My)var a=My;else{a=((a=Fi())?yi(a.master)?a.master:null:null)||Ki();var b=a.google_persistent_state_async;a=null!=b&&"object"==typeof b&&null!=b.S&&"object"==typeof b.S?My=b:a.google_persistent_state_async=My=new bea}b=Ki();var c=Fi(b);c?((c=c||Fi())?(b=c.pageViewId,c=c.clientId,g.v(c)&&(b+=c.replace(/\D/g,"").substr(0,6))):b=null,b=+b):(b=Cj(b).Md,(c=b.google_global_correlator)||
(b.google_global_correlator=c=1+Math.floor(Math.random()*Math.pow(2,43))),b=c);c=uha[7]||"google_ps_7";a=a.S;var d=a[c];a=void 0===d?a[c]=b:d;Ny(this,"c",a);a=Co(yo());g.E(g.G(a))||Ny(this,"e",a)}this.o="0"};
Py=function(){var a=Oy.getInstance();a.Ea&&(a.Ea.disable(),a.Ea=null)};
Ny=function(a,b,c){a.Ea&&c&&Gy(a.Ea,b,c)};
Qy=function(a){var b=Oy.getInstance();if(b.Ea&&vha){var c=Mj();c&&(b=b.Ea,b.A&&b.G(new Nj(a,4,c,0,void 0)))}};
wha=function(a,b){if(b){var c=/iu=\/(\d+)\//.exec(sc(b)),d=g.G((new g.Hn(b)).o.get("client"));a.o=c&&2==c.length?c[1]:g.E(d)?"0":d}else a.o="0"};
Ry=function(a){if(a&&a.items&&a.items.length){a=a.items[0];this.videoId=a.id;var b=a.statistics;b&&null!=b.viewCount&&(b=Ec(b.viewCount),this.Xh=isNaN(b)?-1:b);if(b=a.snippet)this.channelId=b.channelId,this.title=b.title;if(a=a.status)this.ze="unlisted"!=a.privacyStatus}};
Sy=function(a,b){g.jg.call(this);this.wa=a;this.lf=null;this.Z=new g.Xn(this);this.Tm(b)};
xha=function(a){var b=a.text;return'<a target="_blank" href="'+S(Oq(a.url))+'" class="'+S("fullslot-attribution-button")+'">'+R(b)+"</a>"};
yha=function(a){a=a.UJ;return'<div class="'+S("fullslot-autoclose")+'">'+R(a)+"</div></div>"};
Ty=function(a){return"\u041e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0435 \u0437\u0430\u043a\u0440\u043e\u0435\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 "+(R(a.oe)+"\u00a0\u0441\u0435\u043a.")};
Uy=function(a){g.jg.call(this);this.D=new g.Ug(200);g.L(this,this.D);this.C=0;this.A=!1;this.L=a;this.J=new g.Xn(this);this.J.X(this.D,"tick",this.US)};
Vy=function(a){a.D.stop();a.A=!1};
Xy=function(a,b,c,d,e){Uy.call(this,b.o);this.H=b;this.G=c;this.K=this.H.o;this.o=a;this.B=this.F=null;g.T(this.o,ly(this.G));a=this.o;b=new cv;b.skipOffset=new Rs(this.H.B,!1);this.B=new wv(b,a);d&&d.text&&(d=Er(xha,d),this.o.appendChild(d));e?(e=this.o,d=Ty({oe:Wy(this.K)}),a=Er(yha,{UJ:d}),g.ye(a,d),e.appendChild(a),e=a):e=null;this.F=e};
zha=function(a){var b=g.Zd("videoAdUiSkipButton",a.o);return b?g.ei(b,a.o):new g.Od(0,0)};
Wy=function(a){a=Math.ceil(a);return"0:"+(10>a?"0"+a:""+a)};
$y=function(a,b,c,d,e){Uy.call(this,d);this.H=a;this.V=b;this.M=e;this.Z=new g.Xn(this);g.L(this,this.Z);this.B=new Iu;g.L(this,this.B);this.K=new Iu;g.L(this,this.K);this.G=new Iu;g.L(this,this.G);(a=Yy(c))?(c=a(c),b.appendChild(c),b=g.Zd("iv-endcap-action",c),this.Z.X(this.B,"click",this.F),this.B.Cb(b),b=g.Zd("iv-endcap-text",c),this.Z.X(this.K,"click",this.F),this.K.Cb(b),b=g.Zd("iv-endcap-image",c),this.Z.X(this.G,"click",this.F),this.G.Cb(b),b=c):b=null;this.o=b?g.Zd("iv-endcap-countdown-inner",
b):null;null!=this.o&&g.Ph(this.o,"stroke-dasharray","0 "+Zy)};
Yy=function(a){switch(a.Xb()){case 1:return Aha;case 4:return Bha}return null};
Aha=function(a){var b=Hs(a);a=0<Xw(a,"action")?Ps(a):null;return Er(Fs,{headline:b.Bd(),description:et(b,"description"),image:Ls(b).getImageUrl(),action:a?gt(a):"",target:a?Os(a)||et(a,"link_url"):""})};
Bha=function(a){var b=a.A();a=0<Xw(a,"action")?Ps(a):null;var c=!1;zo().o("desktop_trv_action_endcap_background_clickable")&&(c=!0);return Er(Fs,{headline:b.Bd(),description:ht(b),image:b.Ig().getImageUrl(),action:a?gt(a):"",target:a?Os(a)||et(a,"link_url"):"",VJ:c})};
Cha=function(){var a='<div class="'+S("videoAdInterstitial")+'"><p>';return uq(a+"\u041f\u043e\u043a\u0430\u0437 \u0432\u0438\u0434\u0435\u043e \u043d\u0430\u0447\u043d\u0435\u0442\u0441\u044f \u0441\u0440\u0430\u0437\u0443 \u043f\u043e\u0441\u043b\u0435 \u0440\u0435\u043a\u043b\u0430\u043c\u044b.</p></div>")};
az=function(){g.K.call(this);this.A=Er(Cha);this.Ea=0};
bz=function(a){a.Ea&&(g.Wg(a.Ea),a.o(g.z))};
cz=function(){this.A=this.K=this.Fj=this.o=this.Gj=this.Ej=this.adFormat=null;this.G=this.isPharma=this.D=!1;this.slotPosition=-1;this.breakType=null;this.H=this.J=!1;this.timeout=-1;this.B=!1;this.C=this.F=null;this.ql=this.Oi=this.uj=this.Al=!1};
dz=function(a){g.If.call(this,a)};
ez=function(a){g.jg.call(this);this.kb=null;this.C=a;this.M=new g.Bn;this.K=-1;this.G=this.V=!1;this.F=""};
fz=function(a){this.paused=!1;this.mute=a.isMuted();this.volume=a.getVolume()};
gz=function(a,b,c,d){if(!c||null==a.M.get(b)){d&&!a.G&&(b="error");a.M.set(b,!0);a:{c=b;if(a.A&&a.A.wa.F){if("click"==c)break a;"videoLearnMoreClicked"==c&&a.C.report(new g.If("click"))}d=Dha[c]||null;null!=d&&null!=a.o&&a.o.Gx(d);a.C.report(new g.If(c))}a.dispatchEvent(b)}};
hz=function(a){0>a.K||a.V||!a.o.Yl(a.K)&&!a.o.Ch()||!a.G||(a.V=!0,gz(a,"engagedview",!0,!0),a.dispatchEvent(new dz("viewCount",a.o)))};
iz=function(a){hz(a);if(Q()){var b=a.C;if(!(Dn(b.A,"skip")||0>b.D)){for(var c=Xq(b.C,"progress"),d=[],e=b.D;e<c.length;e++){var f=c[e];b.D=e+1;d.push(f.Xa())}0<d.length&&b.report(new g.If("progress"),d)}}gz(a,"complete",!0,!0)};
jz=function(a){this.o=new g.Bn;if(a){a=Fn(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c])}};
kz=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+g.Ma(a):b.substr(0,1)+a};
lz=function(a){Yv.call(this,a);this.o=null;this.F=!1;this.C=new ez(this.hc);this.kb=null;this.Y=this.ga=this.G=!1;this.ba=this.D=1;this.A=null;this.aa=new az;this.J=new jz;this.ha=!1;this.V=[];this.M=this.L=this.O=!1;this.B=null;this.ea=!Yo()&&Q();this.K=!1;this.H=null;Bo(yo(),324123001)&&(P.V=!0);Bo(yo(),324123021)&&(P.V=!0);if(a=0<a.length?a[0]:null){var b=Oy.getInstance();Ny(b,"gqid",eu(a));Ny(b,"qqid",Zr(a))}Eha(this)};
mz=function(a,b){if(zo().o("use_async_run_for_execution_in_ima"))g.vg(b,a);else{var c=g.Vg(function(){this.J.remove(c);b.call(this)},0,a);
a.J.add(c)}};
nz=function(a){P.A&&a.oa("youtubeKevlarCompanionHide")};
oz=function(a){a.B&&(g.Gf(a.B),a.B=null);g.Gf(a.Ta);a.Ta=null;g.Gf(a.C);g.Gf(a.hc);a.Y=!1};
Gha=function(a){if(!a.tb())return!1;var b=a.Na.Qf();if(null==b)return!1;var c=a.va(),d;if(d=c.M?c.M.o.Sm()?c.M.o.gv():c.M.Xc():"")Fha(a,b,d);else if(tu(c)&&(d=c.aa,d=g.Za(d)?null:d[0],null!=d&&g.Ja(Yy(d)))){var e=1==d.Xb();a.o=new $y(a.Ma,b,d,zu(c),e);a.Za().X(a.o,"click",(0,g.A)(a.gB,a,null));a.Ta&&Qv(a.Ta,!0);a.Na.Kd()}null!=a.o&&(a.Za().X(a.o,"timeUpdate",a.jF),a.Za().X(a.o,"end",a.yK),a.o.start(),cw(a,"video_card_endcap_impression"));return null!=a.o};
Fha=function(a,b,c){Ap.getInstance().report(34,{evt:"start"},!0);var d=g.ie("DIV");g.T(d,"controls");var e=g.ie("DIV");g.T(e,"adDisplay");g.T(e,"endslate");e.innerHTML=c;(c=se(e)[0])&&g.Ph(c,{margin:"0 auto"});(0,g.C)(c.getElementsByTagName("a"),function(f){var k=f.getAttribute("href");k&&this.Za().X(f,"click",(0,g.A)(this.gB,this,k))},a);
d.appendChild(e);e=new Cw;Xga(e,zu(a.va()));e.B=0;e.C=0;a.o=new Xy(d,e,1,{},!0);a.Za().X(a.o,"skip",a.hB);b.appendChild(a.o.o);a.Na.Kd();a.Ta&&(Oga(a.Ta),Nv(a.Ta))};
qz=function(a,b){pz(a);null!=a.Ma&&a.Ma.showControls();a.oa("complete");cw(a,b);a.Ga("instreamAdComplete");a.Vh()};
pz=function(a){a.o&&(a.o.dispose(),a.o=null);a.Ta&&Qv(a.Ta,!1);a.F=!1};
Hha=function(a){return(0,g.wj)(a.xc.D,function(b){return!Uw(b.Qe(),"hide_in_drawer")})};
tz=function(a,b,c){rz(a)&&c?sz(a,b).then(a.bA,null,a):(a.bA(),c&&sz(a,b))};
Iha=function(a){null!=a.Ma&&a.Ma.hideControls();var b=zo();b=b.o("use_forced_brand_precap_duration")?b.A("forced_brand_precap_duration_ms"):2E3;Pga(a.Ta,b);var c=g.Vg(function(){null!=this.Ma&&this.Ma.showControls();this.J.remove(c);this.aa.show(this.Na.Gm(),this.Va.ry,(0,g.A)(this.Ma.play,this.Ma))},b,a);
a.J.add(c)};
uz=function(a,b,c,d){b=Xq(b.o,c);g.Za(b)||(a[d]=b[0].Xa())};
vz=function(a,b,c){b=c.getExtension(b);null!=b&&(uz(a,b,"annotation_click","cta_annotation_clicked"),uz(a,b,"annotation_close","cta_annotation_closed"),uz(a,b,"annotation_start","cta_annotation_shown"))};
Jha=function(a,b){var c=new cz;c.adFormat=$r(b);c.ql=b.yc;c.Ej=Xr(b).join(",");c.Gj=Yr(b).join(",");1<b.B.Ee&&(c.slotPosition=b.B.o-1);c.breakType=b.Ue();qu(b)&&!b.ga&&(c.Fj=$t(b));c.K=a.Va.contentId;if(a.Ta){var d={};vz(d,"AdSense",b);vz(d,"dart",b);vz(d,"DFP",b);c.A=d;c.G=a.Ta.wa.G}b.isSkippable()&&!Nt(b)&&(c.J=!0);d=zo();c.timeout=d.o("use_variable_load_timeout")?d.A("variable_load_timeout_ms"):a.Va.eg;if(d=b.C)c.D=d.Mr;c.B=a.Va.Om;c.o=Zr(b);c.F=a.Va.Ji;c.isPharma=wz(a,b);c.H=!0;d=Xt(a.va(),"endscreenClick");
d=g.Za(d)?null:g.$g({endscreenClick:d});c.C=d;c.Al=rz(a);c.uj=a.tb()&&Gu(a.va());c.Oi=a.tb()&&Gu(a.va());return c};
wz=function(a,b){var c=Jr(a.Zj());if(!c){var d=b.getExtension("AdSense");null!=d&&(c=d.isPharma())}return c};
Eha=function(a){var b=0,c=0;(0,g.C)(a.ads,function(e){!bw(e)||Q()&&0!=c||(c++,b+=e.getDuration())},a);
var d=1;(0,g.C)(a.ads,function(e){var f=e.B;f.Ee=c;bw(e)&&(f.o=d,f.C=d,d++)},a)};
xz=function(a){var b=a.A;return b&&b.sa&&(b=b.F,!g.Za(b)&&b[0]instanceof hr)?b[0].uf():Yt(a)};
Az=function(a,b){if(!bw(b))throw Ro(yz);var c=b.o,d=c.D;if(null!=d)return d;var e=null!=b&&!zz(a)&&(Q()||a.Na.Rp()||a.Na.Vu()||Yo());d=a.vh(b);e=a.Ma.QF(d,a.Va.bitrate,a.Va.Pm||[],e);Kha(d,a.Va.bitrate,e,Qt(b));if(null!=e)return c.D=e;try{Lha(a,b)}catch(f){}throw Ro(Mha);};
Lha=function(a,b){if(Ap.getInstance().isLoggingEnabled()){var c=new jz,d=!1;(0,g.C)(a.vh(b),function(f){c.add(f.o);"VPAID"==f.A&&(d=!0)},a);
var e=a.Ma.zu();e={aid:$t(b),mt:c.wb().join(","),smt:e.join(","),hvp:d,st:fu(b).join(",")};Ap.getInstance().report(28,e)}};
Kha=function(a,b,c,d){if(!Q())try{var e=(0,g.I)(a,function(k){return k.gg}),f=(0,g.I)(a,function(k){return k.o});
a={};a.brs=e.join(",");a.mts=f.join(",");a.pubbr=b;a.selbr=null===c?-1:c.gg;a.selmt=null===c?"":c.o;a.ic=!1;a.nat=!1;a.iyh=Eo(c.Xa())?"1":"0";a.as=d;Ap.getInstance().report(22,a)}catch(k){}};
Bz=function(a){return a.M?!1:a.Va.Om&&(!a.Na.gk()||a.Na.gk()&&!1)};
zz=function(a){return a.Va.Om&&op(a.Na)&&!a.M&&!0};
Ez=function(a){try{var b=a.va();a.A=Az(a,b);mz(a,(0,g.A)(lz.prototype.Qv,a,b,a.A.Xa(),a.A.o))}catch(c){Xa(a.ads,b)+1<a.ads.length&&(Cz(a,c),a.mj(),a.tb()?(To(a,Dz,c),Ez(a)):Uo(a,Dz,c))}};
Nha=function(a){try{var b=a.Pe();null!==b&&(a.A=Az(a,b),mz(a,(0,g.A)(lz.prototype.Qv,a,b,a.A.Xa(),a.A.o,!0)))}catch(c){}};
Fz=function(a,b){b in a.V||(a.V.push(b),a.oa(b))};
Oha=function(a){var b=a.va(),c={};c.pubbr=a.Va.bitrate;c.ic=!1;c.nat=!1;if(null!=b){a=a.vh(b);var d=b.o;d=d?d.D:null;var e=(0,g.I)(a,function(f){return f.gg});
a=(0,g.I)(a,function(f){return f.o});
c.brs=e.join(",");c.mts=a.join(",");c.as=Qt(b);null===d?(c.selbr=-1,c.selmt="",c.iyh="0",c.murl=""):(c.selbr=d.gg,c.selmt=d.o,c.iyh=Eo(d.Xa())?"1":"0",c.murl=d.Xa())}Ap.getInstance().report(45,c)};
Gz=function(a,b,c){Cz(a,c);a.mj();a.tb()?(To(a,b,c),a.start()):(Uo(a,b,c),a.stop())};
Cz=function(a,b){var c=Ro(Dz,b);c=Sr(c,a.va(),a.Ma);var d=Rt(a.va());No(d,c)};
Hz=function(a){if(P.o||Q()){var b=xz(a.va());null!=b&&Io(b);a.oa("click")}else a.K&&a.oa("click")};
Iz=function(a,b){g.Yb(Pha,b)&&Zn(a.Za(),a.C,b,a.fF,a)};
Jz=function(a){if(!a.O){var b=a.va(),c=b.G;if(Du(b)&&!Q()&&!a.Na.Rp()&&c){b=a.Ma.getCurrentTime();var d=a.Ma.getDuration(),e=new g.Hn("//s.youtube.com/s");g.Qn(e,"ns","yt");g.Qn(e,"el","adunit");g.Qn(e,"docid",c);g.Qn(e,"eurl",document.URL);g.Qn(e,"len",d.toFixed(2));g.Qn(e,"tv","1");g.Qn(e,"ps","trueview-instream");g.Qn(e,"st",b.toFixed(2));g.Qn(e,"et",b.toFixed(2));g.Qn(e,"rt",b.toFixed(2));Jo(e.toString());a.O=!0}}};
Qha=function(a){var b=a.va().V;if(null!=b){b=b.videoId;var c=a.Va.Kj;if(g.E(g.G(b)))b=null;else{c=new g.Hn((null!=c?c:"//www.youtube.com/")+"watch");var d=c.o;d.set("v",b);Mn(c,d);c.J="action=share";b=c.toString()}null!=b&&(Io(b),a.XF())}};
Rha=function(a){a=Kz(a)||Lz(a);null!=a&&Ko(a,"sharebuttondisplayed")};
Kz=function(a){a=a.va().getExtension("AdSense");return null!=a?new g.Hn(a.B):null};
Lz=function(a){if(a=a.va().o)if(a=er(a,"start"),!g.Za(a))return new g.Hn(a[0].Xa());return null};
Sha=function(a){var b=a.va(),c=b.V;null!=c&&(b=Ir(c.videoId,null!=yu(b),a.Va.Kj),null!==b&&(a.Ma.pause(),Io(b)))};
Mz=function(a){mz(a,function(){this.oa("skip");var b=zo();b.o("skip_ad_pod_to_end")||b.o("skip_ad_pod_to_end_ads_quality")?this.stop():this.Vh()})};
Nz=function(a,b,c){var d=b.getExtension("AdSense"),e;(e=a.ea)||(e=null===c?!1:"modules"==(new g.Hn(c)).Bi().toLowerCase()||Jr(c));e=e||null!=d&&d.H;c=b.isBumper()?null:yu(b);if(Q()||yk())d=!1;else{if(d=Yo())d=!(a.Xm()&&null!=a.Na&&a.Na.du());d=d||Du(b)||a.Va.yy?!0:!1}if(d||!Q()&&e)a.Va.ty=!0,a.Va.yy=!0;d=Tr(b,a.Ma);if(Q()||a.Va.yy){var f=g.E(g.G(Yt(b)))?!1:a.Va.ty,k=b.o,l=!1;!wz(a,b)&&null!=k&&k instanceof hr&&(l=0<efa(k).length);k=b.isBumper();var m=a.Va,n=Q()||!1,p=Q();a.qk(b);a=l;b=dv(e,b.G,c,
k,m,d);b.F=f;b.ka=m.nW;b.ma=n;b.ia=!0;b.ea=p;b.L=m.qy;b.sa=m.wy;b.ya=m.oW;b.H=m.jC;b.ba=0;b.isBumper=k;m.qy&&(b.learnMoreText="\u0421\u0430\u0439\u0442 \u0440\u0435\u043a\u043b\u0430\u043c\u043e\u0434\u0430\u0442\u0435\u043b\u044f");b.Ia=a;return b}Pt(b)?(f=b.G,b=b.isBumper(),!g.E(g.G(f))&&null!==c&&0<ar(c)&&(e=!0),a=dv(e,f,c,b,a.Va,d),e?a.K=Mfa:a.K=Lfa):(f=b.isBumper(),a=dv(e,b.G,c,f,a.Va,d),a.H=!1,a.B=!1,a.D=!1,a.isBumper=f);return a};
Oz=function(a){a=a.Na.Gm();null===a?a=document.body:g.oe(a);return a};
sz=function(a,b){return g.Mg(Tha(a,b).then(a.KV,null,a).then(a.mV,null,a).then(a.JV,null,a).then(a.lK,null,a),g.z)};
Tha=function(a,b){return new g.Bg(function(c,d){qha(b,function(e){e=new Ry(e);this.tb()&&this.va().G==e.videoId?c(e):d()},function(){d()},this)},a)};
Pz=function(a){return a.tb()&&null!=a.va().V&&a.va().V.ze};
Qz=function(a){var b=a.va().ea;if(Pz(a)&&null!=b){var c=a.Va.Kj;b=g.G(b.channelId);c=g.E(b)?null:(null!=c?c:"//www.youtube.com/")+"channel/"+(g.xb(b,"UC")&&24==b.length?b:"UC"+b);null!==c&&(a.Ma.pause(),Io(c))}};
rz=function(a){if(zo().o("website_actions_holdback"))return!1;a=a.va();if(!a||!a.G)return!1;var b=g.Ua(a.D,function(c){return 4==c.Xb()&&Uw(c.Qe(),"show_in_cta")});
return Q()&&Du(a)&&null!=b};
Uha=function(a,b){var c=a.tb()?a.va().G:null,d=a.va();if(!d||!c)return"";d=g.Ua(d.D,function(l){return 4==l.Xb()&&Uw(l.Qe(),"show_in_cta")});
if(!d)return"";c=d.A();var e=Ps(d);d=g.tc(e&&Os(e)||"");e=g.tc(e&&gt(e)||" ");var f=g.tc(c.Bd()||b.authorName);var k=g.tc(ht(c)||"");c=g.tc(c.Ig().getImageUrl()||b.channelIconThumbnailUrl);return'<Extension type="InfoCards">'+('<card type="TYPE_WEBSITE"><action target="'+d+'" title="'+e+'" type="TYPE_EXTERNAL"/><placement hide_in_drawer="true" show_in_cta="true"/><website_card headline="'+f+'" description="'+k+'"><icon image_url="'+c+'"/></website_card></card>')+"</Extension>"};
Rz=function(a){g.jg.call(this);this.sessionId=a||Ac();this.A=[]};
Sz=function(a,b,c,d,e){g.If.call(this,a);this.je=b;this.hg=c;this.lC=d;this.A=e};
Tz=function(a,b){Rz.call(this,b);this.C=a;this.Df=null;this.Z=new g.Xn(this);this.logger=null;this.Z.X(ge(),"message",this.receive)};
Uz=function(a){if(null==a||!g.v(a)||!g.xb(a,"ima://"))return null;a=a.substr(6);try{return JSON.parse(a)}catch(b){return null}};
Vha=function(a,b,c,d){var e={};e.name=b;e.type=c;null!=d&&(e.data=d);e.sid=a.sessionId;e.channel=a.C;return"ima://"+g.$g(e)};
Vz=function(a,b){if(null==b)return!1;var c=b.channel;if(null==c||c!=a.C)return!1;c=b.sid;return null==c||"*"!=a.sessionId&&c!=a.sessionId?!1:!0};
Wz=function(a,b){g.If.call(this,"vpaidEvent");this.sessionId=b};
Xz=function(a){Yv.call(this,a);this.ba=this.M=this.lc=!1;this.H=[];this.D=Ac();this.kb=this.o=null;this.A=!0;this.K=-1;this.J=new g.Ug(500);this.O=this.G=-1;this.B=1;this.aa=this.Y="";this.V=this.L=this.F=!1};
Zz=function(a){var b=Ut(a.va());Q()&&(b=Wha(a,b),b=Xha(a,b));var c=g.G(Yt(a.va())),d=a.va();if(bw(d)){var e=d.o,f=jr(e,"javascript");null!=f&&(e.D=f)}d=Au(d);c={desiredBitrate:a.Va.bitrate,creativeData:b,viewMode:a.dd,clickThroughUrl:c,adUrl:d,volume:a.B};d.match("//s0.2mdn.net/instream/html5/survey/survey.html")&&0<=b.indexOf("yt_override")&&null!=a.Va.surveyCreativeData&&(c.creativeData=a.Va.surveyCreativeData);Yz(a,"initAd",c);(0,g.C)(a.H,function(k){Yz(this,k.type,k.params)},a);
a.lc=!0;a.H=[]};
$z=function(a,b,c){c=c||null;a.lc?Yz(a,b,c):a.H.push({type:b,params:c})};
Yz=function(a,b,c){c=c||{};c.session=a.D;c.type=b;aA()?window.parent.postMessage(g.$g(c),"*"):null!=a.C.contentWindow&&a.C.contentWindow.postMessage(g.$g(c),"*")};
Zha=function(a,b){var c={};b=Hb(b);var d;b.length?d=b.split(/\s+/):d=[];(0,g.C)(d,function(e){c[e]=!0});
g.Mb(Yha,function(e,f){zo().o(f)&&(c[e]=!0)},a);
return g.Vb(c).join(" ")};
Wha=function(a,b){var c=g.mt(b),d=a.va().getExtension("why_this_ad",!0);if(null!=d){var e=d.C;(0,g.C)(c.firstChild.childNodes,function(f){f.setAttribute("use_ad_info_dialog",!0);f.setAttribute("ad_info_icon_hover_text",d.A);f.setAttribute("targeting_reasons_header",d.D);var k=g.ib(d.F);0<k.length&&(f.setAttribute("dialog_title",d.A),f.setAttribute("targeting_reasons",JSON.stringify(k)));f.setAttribute("ad_settings_button_text",e[1]);f.setAttribute("confirm_button_text",d.B);k=d.o;var l=br(k,"why_this_ad_url");
0<l.length&&f.setAttribute("wta_shown_tracking",l[0]);l=br(k,"why_this_ad_afim_survey");0<l.length&&f.setAttribute("wta_afim_survey",l[0]);l=br(k,"why_this_ad_got_it");0<l.length&&f.setAttribute("wta_closed_tracking",l[0]);k=br(k,"why_this_ad_settings_url");0<k.length&&f.setAttribute("wta_ad_settings_clicked_tracking",k[0]);e&&3==e.length&&f.setAttribute("generic_message",e[0]+e[1]+e[2])},a)}return nt(c)};
Xha=function(a,b){for(var c=g.mt(b),d=a.va(),e;null!=d;){e=d.getExtension("survey",!0);if(null!=e)break;d=d.A}if(null!=e){var f=c.firstChild.firstChild;d=xr(e,"interstitial_viewed");(0,g.C)(d,function(k){var l=g.ie("interstitial_viewed");l.textContent=k;f.appendChild(l)},a);
d=xr(e,"interstitial_timed_out");(0,g.C)(d,function(k){var l=g.ie("interstitial_timed_out");l.textContent=k;f.appendChild(l)},a);
d=xr(e,"interstitial_start_clicked");(0,g.C)(d,function(k){var l=g.ie("interstitial_start_clicked");l.textContent=k;f.appendChild(l)},a);
d=xr(e,"interstitial_dismissed");(0,g.C)(d,function(k){var l=g.ie("interstitial_dismissed");l.textContent=k;f.appendChild(l)},a);
e=xr(e,"survey_question_displayed");(0,g.C)(e,function(k){var l=g.ie("survey_question_displayed");l.textContent=k;f.appendChild(l)},a)}return nt(c)};
bA=function(a,b,c,d){d=Ro(b,c,d);var e=Sr(d,a.va()),f=Rt(a.va());No(f,e);b.message=d.Ud();Uo(a,b,c)};
eA=function(a,b){if(g.v(b.type))switch(b.type){case "friendlyReady":Zz(a);break;case "videoCall":switch(b.func){case "load":case "play":a.Na.Xf();a.aa!=b.src&&(a.aa=b.src,a.o.load(b.src,b.mimetype));a.o.play();break;case "pause":a.o.pause()}break;case "returnDuration":a.G=b.duration;break;case "returnRemainingTime":a.K=b.remainingTime;break;case "AdClickThru":a.Ga("click");a.oa("click");break;case "AdDurationChange":a.G=b.duration;a.K=b.remainingTime;a.va().o.ka=a.G;a.oa("durationChange");break;case "AdError":bA(a,
cy,Error(b.message));a.stop();break;case "AdExpandedChange":a.oa("expandedChanged");break;case "AdImpression":var c=a.va();g.Za(Tt(c))||a.Qd(c);cw(a,"impression");a.L=!0;cA(a,51);break;case "AdLinearChange":c=b.isLinear;!a.A&&c?(a.oa("contentPauseRequested"),$z(a,"becameLinear")):!c&&a.A&&(a.oa("contentResumeRequested"),$z(a,"becameNonlinear"),$z(a,"getAdRemainingTime"),$z(a,"getAdDuration"));a.A=c;var d=a.va();d.xa=!0;d.ya=c;a.oa("linearChanged");break;case "AdLoaded":g.Wg(a.O);a.M=!0;d=b.companions;
c=a.va();g.Za(Tt(c))&&(d=Ux(d,c.o.o),g.Za(d)||Ht(c,d));dA(a);cw(a,"loaded");break;case "AdPaused":a.F=!0;cw(a,"pause");break;case "AdPlaying":a.F=!1;cw(a,"resume");break;case "AdRemainingTimeChange":a.K=b.remainingTime;c=a.va().getDuration();d=c-a.Pc();iw(a,d,c);break;case "AdSkipped":cw(a,"skip");a.stop();break;case "AdSkippableStateChange":cw(a,"skippableStateChanged");break;case "AdStarted":a.Ga("creativeview");cA(a,52);break;case "AdStopped":a.Ga("stop");a.stop();break;case "AdUserAcceptInvitation":a.A?
a.Ga("acceptinvitationlinear"):a.Ga("acceptinvitation");break;case "AdUserMinimize":a.Ga("collapse");break;case "AdUserClose":cw(a,"userClose");break;case "AdVideoComplete":a.L&&a.V||(c={},c.aic=a.L,c.avc=a.V,cA(a,56,c));cw(a,"complete");break;case "AdVideoFirstQuartile":cw(a,"firstquartile");break;case "AdVideoMidpoint":cw(a,"midpoint");break;case "AdVideoStart":a.Ga("start");a.oa("start");a.V=!0;break;case "AdVideoThirdQuartile":cw(a,"thirdquartile");break;case "AdVolumeChange":c=b.volume;c!=a.B&&
a.oa("volumeChange",{volume:c});0==c&&0!=a.B?(a.Ga("mute"),a.oa("mute")):0==a.B&&0!=c&&a.Ga("unmute");a.B=c;a.o.setVolume(c);break;case "AdInteraction":c={};c.id=b.id;a.oa("interaction",c);break;case "Ping":Jo(b.url)}};
fA=function(a,b){aA()||Yz(a,"wrapperCall",{messageType:b})};
dA=function(a){a.M&&a.ba&&($z(a,"startAd"),a.J.start(),a.A||($z(a,"becameNonlinear"),$z(a,"getAdRemainingTime")),$z(a,"getAdDuration"))};
cA=function(a,b,c){try{c=c||{};c.dn=a.Y;c["if"]=aA();c.pid=Oy.getInstance().o;var d=cu(a.va()).join();c.xy=d;Ap.getInstance().report(b,c,!0)}catch(e){}};
aA=function(){return 2==P.F};
gA=function(){Yv.call(this,[]);this.kb=null;this.pe=this.qe=-1;this.G=!1};
iA=function(a,b,c,d){if(a.o){var e=a.o;Zn(a.Za(),e,hA,a.dispatchEvent,a);Zn(a.Za(),e,"companionBackfill",a.dispatchEvent,a);Zn(a.Za(),e,"adError",a.mE,a);Zn(a.Za(),e,"allAdsCompleted",g.z,a);Zn(a.Za(),e,"contentPauseRequested",a.wE,a);Zn(a.Za(),e,"contentResumeRequested",a.Qw,a);Zn(a.Za(),e,"userClose",a.ej,a);Zn(a.Za(),e,"autoClose",a.cj,a);a.o.ah(a.de);a.o.Vc(b,c,d)}};
jA=function(a){a.o&&(a.o.destroy(),a.o=null);a.Na&&a.Na.hide();g.Gf(a.kc);a.kc=null};
lA=function(a,b,c){gA.call(this);this.C=c;this.A=null;this.D=this.F=this.B=!1;this.o&&jA(this);this.o=b;kA(this,b)};
nA=function(a,b,c){var d=(0,g.A)(function(e){To(this,$ha,c);try{var f=mA([e[0]]);if(f)var k=f;else throw Error("Ads manager creation failure, failed to determine ad type.");kA(this,k);e=k;try{this.o&&jA(this),this.o=e,iA(this,this.Na,this.content,this.Va),this.G&&this.o.lk(),this.o.fb(this.qe,this.pe,this.dd),this.o.init(this.dd),this.start()}catch(m){k=m;var l=e.zb();iu(l);nA(this,ju(l),Error(k.Ud()))}}catch(m){l=m,Uo(this,l.Ud(),l.Um)}},a);
a=(0,g.A)(function(){this.oa("contentResumeRequested");Uo(this,aia,c);this.destroy()},a);
null!=b?is(b,d,a):a(null)};
kA=function(a,b){a.A&&a.A.dispose();a.A=new g.Xn(a);g.L(a,a.A);Zn(a.A,b,"start",a.hQ,a)};
oA=function(a){Yv.call(this,[]);this.kb=null;this.A=a;this.C=0;this.o=this.A[this.C];this.B=this.F=this.D=null;this.pe=this.qe=-1;this.G=!1;bia(this)};
pA=function(a,b,c,d){if(a.o){a.D=new g.Xn(a);var e=a.o,f=a.D;Zn(f,e,hA,a.dispatchEvent,a);Zn(f,e,"start",a.kM,a);Zn(f,e,"companionBackfill",a.dispatchEvent,a);Zn(f,e,"adError",a.gQ,a);Zn(f,e,"allAdsCompleted",g.z,a);Zn(f,e,"contentPauseRequested",a.Sh,a);Zn(f,e,"contentResumeRequested",a.lg,a);Zn(f,e,"userClose",a.ej,a);Zn(f,e,"autoClose",a.cj,a);a.o.Vc(b,c,d)}};
bia=function(a){var b=0,c=a.A.length;(0,g.C)(a.A,function(e){b+=e.pf().getDuration()},a);
var d=1;(0,g.C)(a.A,function(e){e=e.pf().B;e.Ee=c;e.o=d;e.C=d;d++},a)};
rA=function(a,b,c){a.C+1>=a.A.length?Uo(a,Dz,c.Um):(To(a,Dz,c.Um),qA(a,b))};
qA=function(a,b){if(a.o===b)if(sA(a),a.C++,a.C<a.A.length)try{a.o=a.A[a.C],a.o===a.B?(a.D=a.F,a.B=null,a.F=null,a.Na.hide(),a.Na.Qp()):(pA(a,a.Na,a.content,a.Va),a.o.fb(a.qe,a.pe,a.dd),a.o.init(a.dd)),a.start()}catch(c){rA(a,a.o,c)}else a.oa("contentResumeRequested"),a.destroy()};
sA=function(a){a.D&&(a.D.dispose(),a.D=null);a.o&&(a.o.destroy(),a.o=null);a.Na&&a.Na.hide()};
cia=function(a){var b=a.KJ;a=a.close;return'<div class="'+S("overlays-action-tray")+'"><div class="'+S("ad-info-padding")+'" title="'+S(b)+'" role="button" tabindex="1"><svg class="'+S("ad-info-button")+'" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" viewBox="0 0 48 48"><path d="M0 0h48v48H0z" fill="none"/><path d="M22 34h4V22h-4v12zm2-30C12.95 4 4 12.95 4 24s8.95 20 20 20 20-8.95 20-20S35.05 4 24 4zm0 36c-8.82 0-16-7.18-16-16S15.18 8 24 8s16 7.18 16 16-7.18 16-16 16zm-2-22h4v-4h-4v4z"/></svg></div><div class="'+
S("close-padding condensed contains-svg")+'" title="'+S(a)+'" role="button" tabindex="0"><svg class="'+S("svg-close-button")+'" xmlns="http://www.w3.org/2000/svg" width="48px" height="48px" viewBox="0 0 48 48"><path d="M38 12.83L35.17 10 24 21.17 12.83 10 10 12.83 21.17 24 10 35.17 12.83 38 24 26.83 35.17 38 38 35.17 26.83 24z"/><path d="M0 0h48v48H0z" fill="none"/></svg></div></div>'};
dia=function(a){var b=a.text;return'<a target="_blank" href="'+S(Oq(a.url))+'" class="'+S("attribution-button")+'">'+R(b)+"</a>"};
tA=function(a,b){this.J=a;this.H=g.ie("DIV",{"class":"controls"});this.o=g.ie("DIV",{"class":"adDisplay"});this.O=b||g.z;this.Tf=new g.Xn(this)};
uA=function(a){var b=g.ie("DIV",{"class":"ima-container"});Pu(b,"opacity 0.4s");a.Tf.X(b,"mouseover",a.WL);a.Tf.X(b,"mouseout",a.fW);b.appendChild(a.H);a.H.appendChild(a.o);return b};
vA=function(a){Yv.call(this,a);this.C=null;this.M=g.ie("DIV",{style:"display:none;position:absolute;top:0;left:0;bottom:0;right:0;z-index:2000"});this.D=!1;this.H=[];this.G=null;this.L=new g.jg};
wA=function(a,b){var c=ifa(b);(0,g.C)(c,function(d){Zq(this.hc.C,"click",d)},a)};
xA=function(a,b){var c=Tr(b,a.Ma);a.hc.o=c;b.o&&(a.Zg(b),c=b.o)&&(a.pg(c,eia),fw(a,b))};
yA=function(a,b){var c=Sr(b,a.va()),d=Rt(a.va());No(d,c)};
zA=function(a,b,c,d,e,f,k){g.jg.call(this);this.A=this.J=0;this.G=a;this.Dc=b;this.ha=c;this.F=null;this.qb=d;this.M=f;this.Y=P.C;this.K=this.D=this.H=this.o=null;this.pe=this.qe=-1;this.ba="normal";this.O=null;this.B=e;this.C=[];this.ga=this.L=this.ea=this.V=!1;this.aa=k;this.kb=null;fia(this)};
AA=function(a,b,c,d){a.qe=b;a.pe=c;null!=d&&(a.ba=d);null!=a.o&&a.o.fb(b,c,d)};
fia=function(a){(0,g.C)(a.G,function(b){gia(b)})};
BA=function(a){return a.J<a.G.length&&null!=a.G[a.J]};
hia=function(a,b){var c;if(c=Q()&&!g.Za(b)&&0==a.Dc)c=b[0],c=null!=c&&null==Au(c)&&vu(c,"nonlinear");return c?(c=du(b[0]),"ADSENSE"==(0<c.length?c.pop():Qt(b[0])).toUpperCase()):!1};
HA=function(a){!BA(a)||2<=a.C.length-a.A?a.ea||(DA(a),a.og()&&EA(a,a.A)&&FA(a,a.A)&&GA(a,a.A),a.ea=!0,a.dispatchEvent("adBreakInitialized")):CA(a)};
CA=function(a){var b=a.G[a.J];Zn(a.Z,a.qb,"adsLoaderSdkAdLoaded",a.kE,a);P.C="on_master_ad";iia(a.qb,b.A,b)};
DA=function(a){null==a.Dc||(0,g.xk)(a.C,function(b){return!b.isBumper()})||(a.C=(0,g.re)(a.C,function(b){return!(b.isBumper()&&!b.C)}))};
EA=function(a,b){if(b<a.C.length){var c=a.C[b];g.Za(c.o)?c=!1:(c=c.o[0],c=null!=c?!Wp(Jt(c),"rm"):!1)}else c=!1;return c};
OA=function(a){if(EA(a,a.A)){var b=a.C[a.A];try{a.L?IA(a,a.o):a.og()&&FA(a,a.A)?(null===a.D&&GA(a,a.A),JA(a),a.o=a.D,a.H=a.K,a.D=null,a.K=null,a.B.Qp()):(JA(a),a.H=new g.Xn(a),a.o=KA(a,b,a.H),IA(a,a.o));null!=a.F&&(a.F.dispose(),a.F=null);if(LA(a.o)){var c=a.zb();if(null==c||!wu(c)){var d=a.o.va().o;if(null!==d){var e=d.Fa;0>=e&&!a.M.kA||(0>=e&&(e=15),a.F=new g.Ug(1E3*e),bo(a.H,a.F,"tick",a.zS,a))}}}if(LA(a.o))a.dispatchEvent("contentResumeRequested"),a.B.Kd(),a.o.start(),null!=a.F&&a.F.start();else{var f=
a.o;if(null!=f&&f instanceof lz)a.B.Xf(),a.o.start();else{var k=a.o;if(null!=k&&k instanceof Xz){var l=a.o;a.B.Kd();l.Yb()?aA()||a.B.Xf():a.dispatchEvent("contentResumeRequested");a.o.start()}else{var m=a.o;if(null!=m&&(m instanceof fy||m instanceof $x))a.B.Kd(),a.o.Yb()||a.dispatchEvent("contentResumeRequested"),a.o.start();else{var n;if(!(n=MA(a.o))){var p=a.o;n=null!=p&&p instanceof lA}if(n)a.o.start();else throw Error("Unknown ads manager type.");}}}}a.og()&&EA(a,a.A+1)&&FA(a,a.A+1)&&1==NA(a)&&
GA(a,a.A+1)}catch(q){a.A++,OA(a)}BA(a)&&CA(a)}else a.dispatchEvent("contentResumeRequested"),PA(a)};
IA=function(a,b){if(null===b)throw Error("Ads manager must be constructed before initialization");b.init(a.ba);null!=a.O&&b.setVolume(a.O)};
KA=function(a,b,c){b=QA(a.qb.C,b.o);var d=new jo(a.B,a.og());b.ah(a.aa);Zn(c,b,hA,a.lE,a);Zn(c,b,"companionBackfill",a.lE,a);Zn(c,b,"adError",a.eQ,a);Zn(c,b,"allAdsCompleted",g.z,a);Zn(c,b,"contentPauseRequested",a.Sh,a);Zn(c,b,"contentResumeRequested",a.lg,a);Zn(c,b,"userClose",a.ej,a);Zn(c,b,"autoClose",a.cj,a);b.Vc(d,{currentTime:0},a.M);b.fb(a.qe,a.pe,a.ba);return b};
JA=function(a){a.B.hide();null!=a.F&&(a.F.dispose(),a.F=null);null!=a.H&&(a.H.dispose(),a.H=null);null!=a.o&&(a.o.destroy(),a.o=null)};
RA=function(a){null!=a.K&&(a.K.dispose(),a.K=null);null!=a.D&&(a.D.destroy(),a.D=null)};
MA=function(a){return null!=a&&a instanceof oA};
LA=function(a){return null!=a&&a instanceof vA};
PA=function(a){a.V=!1;a.dispatchEvent("allAdsCompleted")};
NA=function(a){return null===a.o||g.Za(a.o.ads)?0:a.o.ads.length};
jia=function(a,b,c){if("loaded"==b||"start"==b||"adMetadata"==b||"companionBackfill"==b||"firstquartile"==b){var d=0,e=0;(0,g.C)(a.C,function(k,l){var m=k.o;-1!=Xa(m,c)&&k.isBumper();d+=m.length;l<this.A&&(e+=m.length)},a);
b=c.B;var f=e+b.C;b.Ee=d+(a.G.length-a.J);b.o=f;b.B=a.ha;b.A=a.Dc}};
GA=function(a,b){var c=a.C[b];a.K=new g.Xn(a);a.D=KA(a,c,a.K);IA(a,a.D)};
FA=function(a,b){if(0<=b&&b<a.C.length){var c=a.C[b].o[0];return null!=Au(c)||null!=Bu(c)?!1:!0}return!1};
SA=function(a){this.o=a};
kia=function(a){this.A=a};
TA=function(a){this.A=a;this.o=this.isBumper=!1;this.C=null;this.fp=!1};
gia=function(a){if(null!=a.A.o&&(a=g.fh(a.A.o)[6]||null)){var b=null;jh(a,function(c,d){if(null==b)switch(c){case "max_ad_duration":case "pmxd":b=d/1E3}})}};
UA=function(){this.o=new g.Bn};
VA=function(a,b,c){if(isNaN(c)||!g.Ca(c))throw Error("Incorrect time offset.");var d=[];Dn(a.o,c)&&(d=a.o.get(c,[]));(0,g.C)(b,function(e){null!=e&&g.bb(d,e)});
a.o.set(c,d)};
WA=function(a,b){this.o=a;this.A=b};
mia=function(a){var b=new UA;(0,g.C)(se(ue(a.o)),function(c){switch(c.nodeName){case "Preroll":c=XA(this,c);VA(b,c,0);break;case "Midroll":var d=tt(c,"timeOffset"),e=xt(d);if(-1==e)throw Qo(YA,null,"timeOffset",g.G(d));c=XA(this,c);VA(b,c,e);break;case "Postroll":c=XA(this,c);VA(b,c,-1);break;default:throw Qo(ZA,null,c.parentNode.nodeName,c.nodeName);}},a);
if(0==b.o.Gb().length)throw Qo(lia);return b};
XA=function(a,b){var c=[];(0,g.C)(se(b),function(d){switch(d.nodeName){case "Ad":var e=g.G(ut(d));if(!g.E(e)){d=tt(d,"bumper");var f=this.A.clone();f.o=e;e=new TA(f);e.isBumper=null!=d;e.o="always"==d;g.bb(c,e)}break;default:throw Qo(ZA,null,d.parentNode.nodeName,d.nodeName);}},a);
return c};
$A=function(a){g.If.call(this,a);this.o=this.A=null};
aB=function(){g.jg.call(this);this.currentTime=0};
cB=function(a,b,c){g.jg.call(this);c=c||new bB;this.A=a;this.D=c.G;this.H=c.F;this.L=c.D;this.J=c.o;this.K=c.C;this.F=c.A;this.G=c.B;this.B=!1;this.Z=null;this.C=!1;this.o=nia(b)};
bB=function(){this.F=0;this.C=this.o=this.G=this.D=!1;this.B=this.A=5};
dB=function(a){this.o=a.Dc;this.D=g.Ma(a);this.C=this.A=!1;this.LM=5==a.Ue();this.B=this.ye=!1};
eB=function(a,b){return qb(a.o,b.o)};
fB=function(a){a.A.start();a.C=!0};
oia=function(a){if(a.C){var b=g.Ua(a.o,function(c){return-1==c.o},a);
null!=b&&gB(a,!0,b)}};
nia=function(a){var b=[];(0,g.C)(a,g.Na(function(c,d){c(new dB(d))},g.Na(function(c,d){g.vb(c,d,eB)},b)));
return b};
pia=function(a,b){for(var c=[],d=0;d<a.o.length;d++){var e=a.o[d];-1!=e.o&&e.o<=b&&g.bb(c,e)}return c};
hB=function(a,b){return Wa(a,g.Na(function(c,d){return d.LM==c},b))};
qia=function(a){var b=[],c=hB(a,!1);c&&b.push(c);(a=hB(a,!0))&&g.vb(b,a,eB);return b};
ria=function(a,b){for(var c=0;c<a.o.length;c++){var d=a.o[c];if(iB(a,d,a.H,b,!0,a.L)&&!a.o[c].A)return d}return null};
iB=function(a,b,c,d,e,f){return-1==b.o?f&&0<a.A.duration&&d>=a.A.duration-c:e&&d>=b.o-c&&d<b.o};
jB=function(a,b){var c=new $A("contentTrackingError");c.setDescription(b);a.dispatchEvent(c)};
gB=function(a,b,c){null!=c&&(c.A||(kB(a,"requestAds",c),c.A=!0),b&&!c.C&&(kB(a,"playAds",c),c.C=!0))};
sia=function(a,b){var c;a:{for(c=0;c<a.o.length;c++){var d=a.o[c];if(iB(a,d,-1==d.o?a.G:a.F,b,a.J,a.K)&&d.ye&&!d.B){c=d;break a}}c=null}null==c?a.B&&(a.dispatchEvent(new $A("discardAdNotify")),a.B=!1):a.B||c.C||(kB(a,"adNotify",c),a.B=!0)};
kB=function(a,b,c){b=new $A(b);b.A=c.o;b.o=c.D;a.dispatchEvent(b)};
lB=function(a){aB.call(this);this.currentTime=a.currentTime;if(!("currentTime"in a)||isNaN(a.currentTime))throw Ro(Mp,null,"content","currentTime");this.duration="duration"in a&&!isNaN(a.duration)?a.duration:-1;this.o=a;this.Ea=new g.Ug(250);this.A=new g.Xn(this);Zn(this.A,this.Ea,"tick",this.C,this)};
tia=function(){};
mB=function(a,b,c){if(g.Za(a))return null;a=(0,g.re)(a,function(d){var e=d.C;return"application/x-mpegurl"==g.G(d.o).toLowerCase()||"application/dash+xml"==g.G(d.o).toLowerCase()||"progressive"==e});
g.Za(c)||(c=(0,g.I)(c,function(d){return d.toLowerCase()}),a=(0,g.re)(a,function(d){return g.Ya(c,g.G(d.o).toLowerCase())}));
if(!g.Ca(b)||0>=b)b=xi()?500:1E3;return uia(a,b)};
uia=function(a,b){return via(a,b)||wia(a,b)||xia(a,b)};
via=function(a,b){var c=null;(0,g.C)(a,function(d){var e=d.Ti,f=d.gg;e>b||f<b||!(null==c||c.Ti>e)||(c=d)});
return c};
wia=function(a,b){var c=null;(0,g.C)(a,function(d){var e=d.Ti,f=d.gg;f>b||(null==c||c.gg<f?c=d:null!=c&&c.gg==f&&c.Ti>e&&(c=d))});
return c};
xia=function(a,b){var c=null;(0,g.C)(a,function(d){var e=d.Ti,f=d.gg;if(!(e<b))if(null!=c&&c.Ti==e&&c.gg<f)c=d;else if(null==c||c.Ti>e)c=d});
return c};
nB=function(){this.A=0;this.o=[]};
oB=function(a,b){if(b>=a.o.length)throw Error("Out of bounds exception");return 4>a.o.length?b:(a.A+Number(b))%4};
pB=function(a){g.jg.call(this);this.o=a;this.V=new nB;this.A=0;this.M=this.C=this.lc=this.F=!1;this.K=this.Bh();this.J=this.hk();this.O=1E4;this.L=!1};
rB=function(a){a.lc=!1;a.C=!1;a.F=!1;a.A=0;a.M=!1;a.V.clear();qB(a);g.Gf(a.B)};
sB=function(a,b){a.C||(a.C=!0,qB(a),a.dispatchEvent("start"),g.Ja(a.o.getAttribute)&&a.o.getAttribute("playsinline"),mp()||!g.fp||hp(3)||ap()&&!ep(4)||a.Zu(b))};
tB=function(a){for(var b=a.o.buffered.length-1;0<=b;){if(a.o.buffered.start(b)<=a.o.currentTime)return a.o.buffered.end(b);b--}return 0};
qB=function(a){a.H&&(g.Wg(a.H),a.H=null)};
vB=function(){g.jg.call(this);this.buffered=new uB;this.Z=new g.Xn(this);var a=mo();if(a){a:{if(Xb(a.o,"videoElementMockDuration")&&(a=a.o.videoElementMockDuration,g.Ca(a)))break a;a=NaN}this.duration=a}};
yia=function(){var a=["video/mp4"],b=["video/ogg"],c=new vB;c.canPlayType=function(d){return g.Ya(a,d)?"probably":g.Ya(b,d)?"maybe":""};
c.width=0;c.height=0;c.offsetWidth=0;c.offsetHeight=0;return c};
zia=function(a){this.startTime=0;this.endTime=a};
uB=function(){this.length=0;this.o=[]};
wB=function(a,b,c,d){if(null==a||!g.we(Ud(a),a))throw Ro(Mp,null,"containerElement","element");this.D=a;this.A=this.o=null;this.B=b;this.G=!d;this.F=c||!1;this.C=null;this.o=g.ie("DIV",{style:"display:none;"});this.D.appendChild(this.o);this.G&&(a=mo(),no(a,"useVideoElementMock")?(a=yia(),b=g.ie("DIV",{style:"position:absolute;width:100%;height:100%;top:0px;left:0px;"}),g.Oa(b,a),a.Rl=g.ie("DIV",{style:"position:absolute;width:100%;height:100%;top:0px;left:0px;background-color:#000"}),a.Up=g.ie("P",
{style:"position:absolute;top:25%;margin-left:10px;font-size:24px;color:#fff;"}),a.Rl.appendChild(a.Up),b.appendChild(a.Rl),a.Z.X(a,["loadeddata","playing","pause","ended"],a.uU),a=b):a=g.ie("VIDEO",{style:"background-color:#000;position:absolute;width:100%;height:100%;",title:"\u0420\u0435\u043a\u043b\u0430\u043c\u0430"}),a.setAttribute("webkit-playsinline",!0),a.setAttribute("playsinline",!0),this.A=a,this.o.appendChild(this.A));this.B&&(a="display:none;position:absolute;width:100%;height:100%;",
P.B||(a+="background-color:#000;"),a=g.ie("DIV",{id:this.B,style:a}),this.o.appendChild(a));this.F&&(this.C=g.ie("DIV",{style:"position:absolute;width:100%;height:100%;"}),this.o.appendChild(this.C))};
xB=function(a,b,c,d){g.K.call(this);this.B=b||null;this.G="*";this.A=c||null;this.sessionId=null;this.channel=d||null;this.K=!!a;this.D=(0,g.A)(this.H,this);window.addEventListener("message",this.D)};
yB=function(a,b){"null"!=b.origin&&(a.A=a.G=b.origin);a.B=b.source};
zB=function(a){xB.call(this,!0);this.sessionId=a;this.channel="remoteplayer";this.A="*";this.o={};this.C=[];this.F=!1};
AB=function(a){a.F=!0;(0,g.C)(a.C,function(b){this.sendMessage(b)},a);
a.C.length=0};
Aia=function(){};
BB=function(a,b){this.o=a;this.B=new jz;this.F=(0,g.A)(this.G,this);this.J=Math.floor(2147483646*Math.random())+1;this.A=b||new zB(this.J);g.L(this,this.A);this.Z=new g.Xn(this);g.L(this,this.Z);var c=(0,g.A)(a.play,a);this.A.o.play=c;c=(0,g.A)(a.load,a);this.A.o.load=c;c=(0,g.A)(a.pause,a);this.A.o.pause=c;c=(0,g.A)(this.D,this);this.A.o.listen=c;c=(0,g.A)(this.H,this);this.A.o.unlisten=c;c=(0,g.A)(this.C,this,"src");this.A.o.setSource=c;c=(0,g.A)(this.C,this,"muted");this.A.o.setMuted=c;c=(0,g.A)(this.C,
this,"volume");this.A.o.setVolume=c};
EB=function(a,b){g.jg.call(this);this.Y="ima-chromeless-video";var c=null;null!=a&&(g.v(a)?this.Y=a:c=a);this.Z=new g.Xn(this);this.F=null;this.O=this.B=!1;this.ya=new g.Qd(0,0);this.ka=this.hk();this.K=-1;this.ea=!1;this.G=-1;this.A=this.ga=this.L=null;this.ba="";this.C=!1;this.ia=null!=c;this.Aa=this.o=null;this.V=b||null;this.Ra=zo().o("abort_ad_on_browser_autoplay_blocked");this.Fa=this.M=this.ha=null;this.D=void 0;this.J=this.sa=null;this.H=this.Ia=0;this.ma=null;if(this.ia)this.C=!0,this.o=
c,this.D=2;else if(c=(0,g.A)(this.mK,this),CB)c();else{DB.push(c);c=g.ke("SCRIPT");Hd(c,Bia);var d=document.getElementsByTagName("script")[0];d.parentNode.insertBefore(c,d)}};
GB=function(a,b,c){null!==b&&(a.ba=b,a.C?FB(a,b,c):(a.L=b,a.ga=c))};
FB=function(a,b,c){var d={autoplay:"1"};P.B&&(d.dash=0);null!=a.A&&(null!=a.A.Fj&&(d.agcid=a.A.Fj),0<=a.A.slotPosition&&(d.slot_pos=a.A.slotPosition),null!=a.A.breakType&&(d.break_type=a.A.breakType),null!=a.A.adFormat&&(d.adformat=a.A.adFormat),null!=a.A.Ej&&(d.ad_id=a.A.Ej),null!=a.A.Gj&&(d.ad_sys=a.A.Gj),null!=a.A.o&&(d.ad_query_id=a.A.o),a.A.A&&(d.cta_conversion_urls=a.A.A),a.A.C&&(d.endscreen_ad_tracking_data=a.A.C),a.A.Al&&(d.wait_for_vast_info_cards_xml=1),a.A.uj&&(d.suppress_creator_endscreen=
1),a.A.Oi&&(d.is_trueview_action=1),a.A.isPharma&&(d.is_pharma=1),d.iv_load_policy=a.A.G?1:3,a.A.D&&(d.noiba=1),a.A.J&&(d.utpsa=1),a.A.H&&(d.autoplay="1"),a.A.ql&&(d.third_party_remapped_ad="1"),a.A.F&&g.lc(d,a.A.F));var e=Hr(b);null===e?(c=null===c?"":c,b="url="+encodeURIComponent(b)+"&type="+encodeURIComponent(c),d.url_encoded_third_party_media=b):d.videoId=e;!Q()&&(d.enabled_engage_types="3,4,5,6");a.B=!1;a.O=!1;a.A&&a.A.B?(a.sa=d,a.o.preloadVideoByPlayerVars(a.sa)):a.o.cueVideoByPlayerVars(d);
a.dispatchEvent("loaded")};
HB=function(a,b){var c=b;!c&&a.V&&(c=a.V());a.ma=Ro(Cia,null,c||"na");a.dispatchEvent("error")};
IB=function(a){a.Z.Ka(a.F,"tick",a.AE);null!=a.F&&(a.F.stop(),a.F=null)};
JB=function(a){null!=a.La&&g.Wg(a.La)};
KB=function(a,b){g.jg.call(this);this.C=a;this.A=b;this.o={};this.Z=new g.Xn(this);this.Z.X(ge(),"message",this.B);this.kb=null};
MB=function(a,b,c,d){a.o.hasOwnProperty(b)||(c=new Tz(b,c),a.Z.X(c,a.C,function(e){e=new LB(e.type,e.je,e.hg,e.lC,e.getOrigin(),b);this.dispatchEvent(e)}),c.Df=d,c.connect(),a.o[b]=c)};
LB=function(a,b,c,d,e,f){Sz.call(this,a,b,c,d,e);this.o=f};
OB=function(){var a=g.y("google.ima.gptProxyInstance",ge());if(null!=a)return a;g.Xn.call(this);this.C=new KB("gpt",!0);g.L(this,this.C);this.X(this.C,"gpt",this.F);this.kb=this.o=null;NB()||ge().top===ge()||(this.o=new KB("gpt",!1),g.L(this,this.o),this.X(this.o,"gpt",this.D))};
NB=function(){return!!g.y("googletag.cmd",ge())};
PB=function(){var a=g.y("googletag.console",ge());return null!=a?a:null};
Dia=function(a,b){var c=Array.prototype.slice.call(arguments),d=c.shift();if("undefined"==typeof d)throw Error("[goog.string.format] Template required");return d.replace(/%([0\- \+]*)(\d+)?(\.(\d+))?([%sfdiu])/g,function(e,f,k,l,m,n,p,q){if("%"==n)return"%";var u=c.shift();if("undefined"==typeof u)throw Error("[goog.string.format] Not enough arguments");arguments[0]=u;return QB[n].apply(null,arguments)})};
TB=function(a,b){g.jg.call(this);this.Z=new g.Xn(this);this.H=!1;this.J=Ac();this.G=new g.Bn;var c=this.J;var d=(Mba()?"https:":"http:")+Dia("//imasdk.googleapis.com/js/core/bridge0.0.0_%s.html","en");a:{var e=window;try{do{try{if(0==e.location.href.indexOf(d)||0==e.document.referrer.indexOf(d)){var f=!0;break a}}catch(k){}e=e.parent}while(e!=e.top)}catch(k){}f=!1}f&&(d+="?f="+c);c=g.ie("IFRAME",{src:d+"#"+c,allowFullscreen:!0,style:"border:0; opacity:0; margin:0; padding:0; position:relative;"});
this.Z.Mh(c,"load",this.JK);a.appendChild(c);this.A=c;c=this.G.get("*");null==c&&(c=new Tz(this.J,"*"),this.H&&(c.Df=xe(this.A),c.connect()),this.G.set("*",c));this.F=c;this.D=b;this.o=this.D.A;this.kb=this.C=this.B=null;this.Z.X(this.F,"mouse",this.qL);this.Z.X(this.F,"touch",this.HL);null!=this.o&&(this.Z.X(this.F,"displayContainer",this.mL),this.Z.X(this.F,"videoDisplay",this.DL),this.Z.X(this.F,"preloadVideoDisplay",this.xL),this.Z.X(this.o,g.Ub(RB),this.ng),this.Z.X(this.o,SB,this.ng));c=ge();
d=g.y("google.ima.gptProxyInstance",c);null==d&&(d=new OB,g.Da("google.ima.gptProxyInstance",d,c))};
UB=function(a,b){var c=g.$h(a.A),d=!!("TouchEvent"in window&&0<TouchEvent.length),e=(0,g.I)(b,function(f){return d?new Touch({identifier:f.identifier,target:this.A,clientX:f.clientX,clientY:f.clientY,screenX:f.screenX,screenY:f.screenY,pageX:f.pageX+c.x,pageY:f.pageY+c.y}):document.createTouch(window,this.A,f.identifier,f.pageX+c.x,f.pageY+c.y,f.screenX,f.screenY)},a);
return document.createTouchList.apply(document,e)};
VB=function(a){a=a.playbackOptions;var b=new cz;b.adFormat=a.adFormat;b.Fj=a.adSenseAgcid;b.K=a.contentVideoDocId;b.A=a.ctaAnnotationTrackingEvents;a.showAnnotations&&(b.G=!0);a.viewCountsDisabled&&(b.J=!0);b.timeout=a.loadVideoTimeout;a.ibaDisabled&&(b.D=!0);a.enablePreloading&&(b.B=!0);b.o=a.adQemId;a.isPharma&&(b.isPharma=!0);a.useAutoplayFlag&&(b.H=!0);b.C=a.endscreenAdTracking;a.waitForVastInfoCardsXml&&(b.Al=!0);a.suppressCreatorEndscreen&&(b.uj=!0);a.isTrueViewAction&&(b.Oi=!0);return b};
WB=function(a,b,c,d){this.H=a;var e=null!=c;Bo(yo(),136961005)&&(P.K=!0);var f=e,k=!1;P.K?P.o||(np()&&e||(f=!1),!f&&P.K&&!Q()&&Yo()&&(P.B=!0),!P.B&&Yo()||yk()||(k=!0)):P.o||np()&&e||(!P.B&&Yo()||yk()||(k=!0),f=!1);this.J=f;this.L=k||f&&null!=c;P.o?a=null:(e=g.ie("DIV",{style:"position:absolute"}),a.insertBefore(e,a.firstChild),a=e);this.C=a;this.o=this.J||!this.C||P.o||!Yo()?null:new wB(this.C,null,!0);e=a=null;this.J?c&&(a=new EB(c,d)):this.o&&(a=new pB(this.o.A),e=this.o.A);d=null;e&&P.B&&k&&(d=
new BB(e));this.K=d;this.A=a;this.D=this.B=null;k=g.fp&&!hp(4);d=ap()&&Yo();this.o&&this.A&&this.C&&!this.J&&!yk()&&!k&&!d&&this.C&&(this.B=new wB(this.C,null,!0),this.D=new pB(this.B.A));this.F=this.A?b||null:null;this.M=null!=this.F;Ap.getInstance().report(8,{enabled:this.J,yt:null!=c,customClick:null!=this.F});null===this.C&&(b=this.H,P.G=b);this.G=null==this.C||P.o?null:new TB(this.C,this)};
XB=function(a){return a.M&&a.F?a.F:null!=a.o?a.o.C:null};
YB=function(a){this.o=a};
ZB=function(a,b){g.If.call(this,"adsManagerLoaded");this.o=a;this.A=b};
$B=function(a,b,c,d){a.o.Vc(new YB(b),c,d);return a.o};
aC=function(){};
bC=function(){g.jg.call(this);this.ye=!1;this.impressionUrls=[]};
cC=function(a,b,c){g.If.call(this,a);this.A=b||null;this.o=c||null};
eC=function(a,b){g.jg.call(this);this.o=a;this.F=!!b;this.B=dC(this);this.B||(this.A=g.Vf(this.o,g.de&&!g.Lc("7")?"readystatechange":"load",this.D,!1,this),this.C=window.setInterval((0,g.A)(this.D,this),100))};
fC=function(a){a.C&&(window.clearInterval(a.C),a.C=null)};
dC=function(a){var b=!1;try{if(a.F||!g.de||g.Lc("11")){var c=a.o,d=(c.contentDocument||c.contentWindow.document).body;b=a.F?!!d&&!!d.firstChild:!!d}else b="complete"==a.o.readyState}catch(e){}return b};
gC=function(){bC.call(this);this.G=[];this.D=!1;this.C="not_loaded";this.A=null;this.B=0;this.o=this.kb=null;this.H=new Td};
hC=function(a){var b=["googletag","googletag.cmd"];return g.Ua(a,function(c){return(0,g.wj)(b,function(d){return null!==g.y(d,c)})})||null};
iC=function(a){return a.ye?(0,g.I)(a.G,function(b){return b.clone()}):[]};
Eia=function(a){a=iC(a);if(null!=a)return(0,g.I)(a,function(b){return b.H})};
jC=function(a,b,c){var d=0,e=0;null!=b&&(b=new g.Hn(b.o),d=Number(b.o.get("pod")||0),e=Number(b.o.get("ppos")||0));if(null!=a.setVideoSession)try{a.setVideoSession(Wr.o,d,e,c)}catch(f){}};
Fia=function(a,b){var c=kC(a);if(null!==c){jC(c,b,!0);try{c.refreshAllSlots()}catch(d){}}};
mC=function(a,b,c){a=lC(a);if(null!=a)try{a.setVideoContent(b,c)}catch(d){}};
nC=function(a,b){a.F=b;mC(a,"","");var c=kC(a);null===c||jC(c,null,!1)};
kC=function(a){null==a.o&&oC(a);return null!=a.o&&null!=a.o.googletag&&null!=a.o.googletag.companionAds?a.o.googletag.companionAds():null};
lC=function(a){null==a.o&&oC(a);return null!=a.o&&null!=a.o.googletag&&null!=a.o.googletag.pubads?a.o.googletag.pubads():null};
pC=function(a){a.A&&(a.A.stop(),a.A.Ka("tick",a.OE,!1,a),a.A.dispose(),a.A=null)};
tC=function(a){if("retrieved"!=a.C&&"not_available"!=a.C&&null!==kC(a)){var b=kC(a);if(null!==b&&g.Ja(b.getDisplayAdsCorrelator))try{var c=g.G(b.getDisplayAdsCorrelator())}catch(f){c=null}else c=null;switch(c){case "not_loaded":case "not_available":a.C=c;break;default:c=Number(c),isNaN(c)?a.C="not_available":(a.F=c,a.C="retrieved")}}(c=qC(a))||(c=rC(a)&&"not_available"==a.C);if(c){if(!a.J&&rC(a)){try{if(null==a.o)var d=[];else{var e=a.o.googleGetCompanionAdSlots();d=(0,g.I)(e,a.CV,a)}}catch(f){d=
[]}a.G=d;a.J=!0}a.ye=!0;pC(a);qC(a)?a.dispatchEvent(new cC("companions_success")):sC(a)}else a.A||(a.B=(0,g.H)()+15E3,a.A=new g.Ug(100),a.A.X("tick",a.OE,!1,a),a.A.start())};
qC=function(a){return rC(a)&&"retrieved"==a.C};
rC=function(a){a.D||(oC(a),a.D=null!=a.o&&null!=a.o.googleGetCompanionAdSlots);return a.D};
oC=function(a){var b=Ge(a.H);try{a.o=hC([b,b.top])}catch(c){a.o=null}};
sC=function(a){a.dispatchEvent(new cC("companion_initialization_failed",Error("Partial or full service initialization failure.")))};
Gia=function(a,b,c){var d=new eC(b,!0);d.Mb()?uC(a,c,b):Uf(d,"ifload",g.Na(function(e){uC(this,c,e)},b),!1,a)};
uC=function(a,b,c){a.dispatchEvent(new cC("companion_slot_init",null,b));var d=c;"IFRAME"==c.tagName&&(d=(c.contentDocument||c.contentWindow.document).body);null!=d&&g.Vf(d,"click",(0,g.A)(a.YQ,a,b),!1,a)};
vC=function(){g.jg.call(this);this.C=[]};
wC=function(){return new It("empty-ad","GDFP","GDFP","",0,[],[],[],[],new g.Bn)};
xC=function(a){vC.call(this);this.o=a;this.G=this.kb=null;this.F=!1;this.B=null;this.Z=new g.Xn;Zn(this.Z,this.o,["companions_success","companion_initialization_failed"],this.GT,this);Zn(this.Z,this.o,"companion_display_error",this.aR,this);Zn(this.Z,this.o,["companion_slot_init","companion_click"],this.WQ,this);this.o.ye?this.F=!0:this.o.initialize()};
zC=function(a){var b=a.B;a.B=null;if(null!=a.o)if(g.Za(a.C))yC(a,Error("Companion slots not available."));else if(null!=b){var c=Hia(a,b);a.o.Qd(a.C);if(0<c.length&&b.Ia){a=a.o;var d;if(d=0!=c.length)d=fu(b),d="GDFP"==(au(d[0])&&1<d.length?d[1]:d[0]);if(d){d=[];for(var e=0;e<c.length;e++)d.push(c[e].J);b=b.C;c=kC(a);if(null!==c){jC(c,b,!1);try{c.notifyUnfilledSlots(d)}catch(f){}}}}}else yC(a,Error("Invalid master ad."))};
yC=function(a,b){a.dispatchEvent(new fq("companion_display_error",b))};
Hia=function(a,b){var c=[],d=[];(0,g.C)(a.C,function(f){iq(f);(0,g.xk)(f.H,function(k){a:{k=ku(b,k.width,k.height);if(!g.Za(k)&&(k=Iia(k,c),null!=k)){var l=k.C;if(null!=l&&0!=f.J.indexOf(l)){k=!1;break a}l=k.o.L;jb(l,Xt(b,"companionClick"));var m=Xt(b,"companionImpression"),n=Q()&&"Html"==k.o.M&&k.B;c.push(k);if(n)hq(f,k.zd(),k.ab(),k.getHeight(),m);else{n=k.Xc();var p=k.ab(),q=k.getHeight();k="IFrame"!=k.o.M;f.G=n;f.B=null;f.C=p;f.o=q;f.A=k;f.D=m||[];f.F=l||[]}k=!0;break a}k=!1}return k},this)||
d.push(f)},a);
var e=AC(b);a.D=BC(e,c);a.D||(0,g.C)(a.C,function(f){iq(f)},a);
return d};
BC=function(a,b){if(null==a)return!0;var c=a.o;return"all"==a.A?Jia(c,b):"any"==a.A?Kia(c,b):!0};
AC=function(a){return null==a||null==a.o||isNaN(a.o.o)?null:g.Ua(uu(a,!0),function(b){b=b.o;return g.Za(b)?!1:isNaN(b[0].o.o)?!1:b[0].o.o==Pp(b[0])})};
Jia=function(a,b){return(0,g.wj)(a,function(c){return g.Ya(b,c)})};
Kia=function(a,b){return(0,g.xk)(a,function(c){return g.Ya(b,c)})};
Iia=function(a,b){return g.Ua(a,function(c){return!g.Ya(b,c)})};
CC=function(a,b){this.B=a;this.A=b;this.o=this.kb=null};
Lia=function(a){var b=[],c=rt(a,"vmap:Extensions")[0];if(c){var d;vt(c,"vmap:Extension",function(e){"vmap:YTBreakTime"==c.getAttribute("type")&&(d=e)});
if(d&&(b=rt(d,"yt:BreakTime"),!g.Za(b)))return(0,g.I)(b,function(e){return tt(e,"timeOffset")})}return[tt(a,"timeOffset")]};
Mia=function(a,b){return(0,g.I)(b,function(c){var d=new TA(c.A.clone());d.isBumper=c.isBumper;d.o=c.o;return d},a)};
Nia=function(a){return(a=g.Ua(se(a),function(b){return"vmap:VASTData"==b.nodeName||"vmap:VASTAdData"==b.nodeName}))?g.Ua(se(a),function(b){return"VAST"==b.nodeName}):null};
Oia=function(a){var b=null,c=!1;a=g.Ua(a,g.Na(DC,"type","youtube"));null!=a&&(a=(0,g.re)(a.getElementsByTagName("*"),function(d){return"yt:BreakProperty"==d.tagName}),g.Za(a)||(a=a[0],a.hasAttribute("break_type")&&(b=nea(a.getAttribute("break_type"))),zo().o("disable_freqcap_for_hummingbird")&&a.hasAttribute("disable_frequency_capping")&&(c=a.getAttribute("disable_frequency_capping"),c=zt(c))));
return{breakType:b,fp:c}};
DC=function(a,b,c){return tt(c,a)==b};
Qia=function(a,b){if(null!=a){if(null!=a){var c=ue(a);c=null!=c&&"Playlist"==c.nodeName}else c=!1;if(c)return Py(),new WA(a,b);null!=a?(c=ue(a),c=null!=c&&"vmap:VMAP"==c.nodeName):c=!1;if(c)return Py(),new CC(a,b);if(Sx(a)){if(!Sx(a))throw Qo(ZA);c=ue(a);var d=Vx(c);if(1>d||4<d)throw Qo(Pia);c=rt(c,"Ad");if(g.Za(c))throw Qo(EC);c=Wx(c[0]);if(null==c)throw Qo(FC);if(1!=rt(c,"AdSystem").length)throw Qo(FC);return new Rx(a)}}return null};
Ria=function(a){a=(0,g.re)(a,function(b){return 0<hu(b)});
g.tb(a,function(b,c){return hu(b)-hu(c)});
return a};
Sia=function(a){return(0,g.re)(a,function(b){return-1==hu(b)})};
ks=function(a){this.Jf=a};
Tia=function(){this.kb=null;this.o=0};
Uia=function(a,b,c,d,e,f,k){var l=(0,g.A)(function(n){d(n,Error(my(n)))},a),m=(0,g.A)(function(n){6==n?GC(this,b,!1,c,l,e,f,k):l(n)},a);
GC(a,b,!0,c,m,e,f,k)};
GC=function(a,b,c,d,e,f,k,l){var m=new g.sy;m.H=c;ty(m,Via(f));var n=new g.Xn,p=(0,g.A)(function(){n.dispose();m.dispose()},a);
c=(0,g.A)(function(){e(m.A);p()},a);
bo(n,m,"success",function(){try{var u=m.o?m.o.responseXML:null}catch(D){u=null}if(null==u){var w=g.Dy(m);try{u=g.mt(w)}catch(D){u=lt("parsererror")}}d(u);p()},a);
bo(n,m,["error","timeout"],c,a);if("POST"==k){b=new g.Hn(b);var q=b.o.toString();Mn(b,"");b=b.toString()}Q()&&"POST"!=k&&(q=Wia(b,k),b=q.url,k=q.zV,q=q.content);a.o=(0,g.H)();m.send(Go(b),k,q,l)};
Wia=function(a,b){var c=new aC;c.o=a;if(Cs(c)){c=new g.Hn(a);var d=c.o.get("post_data");if(g.Aa(d)){b="POST";c.o.remove("post_data");a=c.toString();var e=d}}return{url:a,zV:b,content:e}};
HC=function(a,b){this.A=a;this.C=b};
IC=function(a,b){"auto"!=a.A.yj&&"click"!=a.A.yj||b.set("vpa",a.A.yj)};
JC=function(a){g.E(P.getPlayerType())||(a.set("mpt",P.getPlayerType()),g.E("")||a.set("mpv",""))};
KC=function(a,b){var c=a.C.F,d=a.C.A;null!=c&&b.set("js","ima-"+c);null!=d&&b.set("an",d);c=a.A.L;null!=c&&b.set("mv",c+"."+(a.A.K||""))};
LC=function(a,b){var c=2;var d=N&&Dj()?!1:kj(zj().o);!yk()&&d&&(c|=2048);b.set("osd",c);-1!=a.C.L&&b.set("frm",a.C.L);c=a.C.aa;null!=c&&b.set("ms",c);b.set("sdr",1)};
MC=function(a){return P.o?"h.3.0.0":null!=a.C?zp(a.C):null};
NC=function(){this.o=["video"]};
OC=function(a,b){a.set("sz",Math.max(null!=b.fk?b.fk:0,null!=b.tf?b.tf:0)+"x"+Math.max(null!=b.ek?b.ek:0,null!=b.sf?b.sf:0))};
QC=function(a){var b={};Gi(b);for(var c in b)a.set(c,b[c]);a.set("dt",PC)};
RC=function(a){if(a.dc&&a.dc.LACT){var b=a.dc.LACT.toString();if(b)return Ec(b)}return a.G};
SC=function(a){return Q()&&a.dc&&a.dc.VIS?a.dc.VIS.toString():null};
YC=function(a,b,c){var d=new g.Bn;d.set("ad_type",b.adType);Sp&&d.set("flash",TC);OC(d,a);UC(b)&&(d.set("ea","0"),null!=a.tf&&null!=a.sf&&d.set("image_size",VC(b,a.tf,a.sf,a.Sj)));WC(d,c);d.set("lact",RC(a));(b=SC(a))&&d.set("yt_vis",b);d.set("videoad_start_delay",a.xs);QC(d);XC(a,d,!0);return d};
XC=function(a,b,c){g.E(g.G(a.referrer))||(a=a.referrer,c&&(a=g.rc(a)),ZC("ref",a,b))};
bD=function(a,b,c){a=null!=b?b.split("_"):a;(0,g.C)(a,function(k){if(!g.Yb(Xia,k))throw Qo(Mp,null,"ad_type",String(b));});
if(c){var d=[];(0,g.C)(a,function(k){g.Ya($C,k)||d.push(k)});
a=d}c=g.Ya(a,"video");var e=g.Ya(a,"skippablevideo");!bp()||Q()||Ap.getInstance().report(53,{playsInline:!1,iOS_version:bp()?jp(dp):"",wv:(Lb("iPad")||Lb("iPhone"))&&!pc()&&!oc()&&!Lb("Coast")&&!nc()&&Lb("AppleWebKit"),rq_video:c,rq_skip:e,dis_cp:!1});var f=yo();if(!mp()){d=[];(0,g.C)(a,function(k){"video"==k?(d.push("standardvideo"),!Q()&&Bo(f,413051060)&&d.push("bumpervideo")):"skippablevideo"!=k&&d.push(k)});
if(0==d.length)throw Qo(aD,null,"skippablevideo");a=d}return a};
cD=function(a,b){return null!=b?b.split(/[+, ]/):a};
VC=function(a,b,c,d){a.A&&(c=Math.min(c,90));var e=0,f=0;a=!Q();d=d&&a;a&&(e=15,f=65);var k=[];(0,g.C)(Yia,function(l){var m=b-e>=l.width&&c-f>=l.height,n=!d&&!m&&90>=l.height&&b>=l.width&&c>=l.height;(m||n)&&k.push(l.width+"x"+l.height)});
return k.join(",")};
dD=function(a,b){return null==b||isNaN(b)?a:Number(b)};
eD=function(a,b){return null!=b?String(b):null!=a?a:null};
fD=function(a,b){if(null==b)return a;switch(b.toLowerCase()){case "true":case "1":return!0;case "false":case "0":return!1}return a};
gD=function(a,b,c){return null!=b&&g.Yb(c,b)?b:a};
UC=function(a){return(0,g.xk)($C,function(b){return g.Ya(a.o,b)})};
WC=function(a,b){Sp?a.set("ca_type","flash"):a.set("ca_type","image");if(null!=b){var c=b.C;null!=c&&0<c.length&&(c=c[0].H,0<c.length&&(a.set("ca_w",c[0].width),a.set("ca_h",c[0].height)))}};
ZC=function(a,b,c){null!=b&&c.set(a,b)};
iD=function(a,b,c){HC.call(this,a,b);var d=new NC,e=(new g.Hn(a.o)).o;d.age=gD(d.age,e.get("cust_age"),Zia);d.Go=gD(d.Go,e.get("adsafe"),hD);d.o=bD(d.o,e.get("ad_type"));d.adType=d.o.join("_");d.ht=dD(d.ht,e.get("videoad_start_delay"));d.it=eD(d.it,e.get("slotname"));d.bv=fD(d.bv,e.get("adtest"))||"on"==e.get("adtest");d.kt=fD(d.kt,e.get("scs"));d.lt=eD(d.lt,e.get("alternate_ad_url"));d.channels=cD(d.channels,e.get("channel"));d.Vt=dD(d.Vt,e.get("cpm"));d.fm=eD(d.fm,e.get("description_url"));d.experimentIds=
eD(d.experimentIds,e.get("eid"));d.gender=gD(d.gender,e.get("cust_gender"),$ia);d.A=fD(d.A,e.get("overlay"));d.host=eD(d.host,e.get("host"));d.C=cD(d.C,e.get("h_ch"));d.Tu=dD(d.Tu,e.get("ht_id"));d.isLiveStream=fD(d.isLiveStream,e.get("lsv"));if(null!=this.A.language)var f=this.A.language;else f=g.x.navigator||null,f=oo(f.language||f.userLanguage||f.browserLanguage||f.systemLanguage||"");var k=null!=e.get("hl")?String(e.get("hl")):null;f=eD(k,f);var l;null!=f&&!g.E(g.G(f))&&(l=oo(f));d.language=eD(d.language,
l);d.tC=dD(d.tC,e.get("linearAdSlotWidth"));d.sC=dD(d.sC,e.get("linearAdSlotHeight"));d.lq=dD(d.lq,e.get("max_ad_duration"));d.Vv=dD(d.Vv,e.get("min_ad_duration"));d.mq=dD(d.mq,e.get("sdmax"));d.vC=dD(d.vC,e.get("nonLinearAdSlotWidth"));d.uC=dD(d.uC,e.get("nonLinearAdSlotHeight"));d.Rk=eD(d.Rk,e.get("client"));d.dr=eD(d.dr,e.get("t_pyv"));l=e.get("sdki");d.wr=dD(d.wr,g.v(l)?parseInt(l,16):l);d.tagForChildDirectedTreatment=dD(d.tagForChildDirectedTreatment,e.get("tfcd"));d.Xq=eD(d.Xq,e.get("pucrd"));
d.targeting=gD(d.targeting,e.get("targeting"),aja);d.Sp=dD(d.Sp,e.get("video_format"));d.Ay=dD(d.Ay,e.get("video_cpm"));d.cv=eD(d.cv,e.get("loeid"));d.Ly=eD(d.Ly,e.get("yt_pt"));d.Iy=eD(d.Iy,e.get("ytdevice"));d.Jy=eD(d.Jy,e.get("ytdevicever"));d.Ky=eD(d.Ky,e.get("dbp"));d.B=eD(d.B,e.get("ms"));d.adBlock=dD(d.adBlock,e.get("adBlock"));d.url=eD(d.url,e.get("url"));d.At=eD(d.At,e.get("avo"));d.zy=eD(d.zy,e.get("v_p"));d.zM=a.F;d.AM=a.B;d.contentTitle=a.contentTitle;d.us=dD(d.us,e.get("ad_block"));d.Ho=
eD(d.Ho,e.get("adsid"));this.o=d;this.H=b;this.K=c;g.E(g.G(this.o.experimentIds))||(a=this.o.experimentIds.split(","),wo(yo(),a))};
cja=function(a){return(0,g.xk)(bja,function(b){return g.Ya(this.o.o,b)},a)};
jD=function(a){return Q()?1:g.Ya(a.o.adType.split("_"),"text")?3:1};
dja=function(a){a=a.o.channels?a.o.channels:[];nb(a);return a.join("+")};
kD=function(a,b){return Math.round(1.1*(a||0)+0*b)};
lD=function(a,b){HC.call(this,a,b)};
mD=function(a,b){HC.call(this,a,b)};
nD=function(a){HC.call(this,a,null)};
oD=function(a){HC.call(this,a,null)};
pD=function(a,b){HC.call(this,a,b);Q()&&(this.C.B=wp())};
eja=function(a){var b=[];(0,g.C)(a,function(c){0<c.length&&b.push((0,g.I)(c,function(d){return d.width+"x"+d.height}).join("|"))});
return b.join(",")};
qD=function(a,b,c){pD.call(this,a,b);b=yo();this.J=g.E(g.G(a.C));a=new NC;a.o=bD(a.o,this.A.C);a.adType=a.o.join("_");a.experimentIds=eD(a.experimentIds,this.A.J);this.o=a;this.H=c;g.E(g.G(this.o.experimentIds))||wo(b,this.o.experimentIds.split(","))};
fja=function(a){var b=YC(a.A,a.o,a.H);b.set("sdkv",MC(a));b.set("sdki",a.F().toString(16));return b};
gja=function(a,b){var c=fja(a),d=(0,g.I)(c.Gb(),function(e){var f=c.get(e);return e+"="+(null!=f?f:"")});
g.Qn(b,"afvparams",d.join("&"))};
rD=function(a,b,c){HC.call(this,a,b);yo();this.J=g.E(g.G(a.C));a=new NC;a.o=bD(a.o,this.A.C);a.adType=a.o.join("_");a.experimentIds=eD(a.experimentIds,this.A.J);this.o=a;this.H=c;g.E(g.G(this.o.experimentIds))||(a=this.o.experimentIds.split(","),c=yo(),wo(c,a))};
hja=function(a){var b=YC(a.A,a.o,a.H);b.set("sdkv",MC(a));return b};
ija=function(a,b){var c=hja(a),d=(0,g.I)(c.Gb(),function(e){var f=c.get(e);return e+"="+(null!=f?f:"")});
us(b,"afvparams",[g.rc(d.join("&"))])};
sD=function(a,b){HC.call(this,a,b)};
tD=function(a,b,c){a=new g.Hn(g.fo(a.A.o,jja(a,b,c)));g.In(a,"https");return a};
jja=function(a,b,c){if(null==a.A||null==a.A.dc)return{};var d={},e=a.A.dc;(0,g.C)(kja,function(f){f in e&&(d[f]=e[f])});
(a=lja(a,e.DESCRIPTION_URL))&&(d.AD_BLOCK=a);b&&(d.BISCOTTI_ID=b);c&&(d.ANID=c);return d};
lja=function(a,b){return null!=b?qp(yp(a.C),b):null};
mja=function(a,b){if(!zs(a.o)&&!As(a.o)||g.E(g.G(a.C))||null==a.o||-1==a.o.search("afvbase="))if(zs(a.o))var c=new mD(a,Wr);else xs(a.o)?c=new iD(a,Wr,b):As(a.o)?c=new pD(a,Wr):ys(a)?c=new lD(a,Wr):(c=a.o,null!=c?(c=(new g.Hn(c)).A,c=yb(c,".fwmrm.net")):c=!1,c=c?new nD(a):Cs(a)?new sD(a,Wr):new oD(a));else c=zs(a.o)?new rD(a,Wr,b):new qD(a,Wr,b);return c};
uD=function(a,b,c,d,e){this.D=a;this.C=b;this.B=c;this.o=d;this.F=e;this.kb=null};
nja=function(a,b,c,d){if(b.A instanceof Document)var e=b.A;else try{e=g.mt(b.A)}catch(f){d(Qo(ZA,f));return}null!=e?vD(a,e,b,c,d):d(Qo(ZA))};
wD=function(a,b,c,d){var e;if(e=null!=b.o){a:{try{sc(b.o)}catch(f){e=!1;break a}e=!0}e=!e}e?d(Qo(oja,null,b.o)):P.J?Cea(Gp(),(0,g.A)(a.A,a,b,c,d)):a.A(b,c,d)};
yD=function(a,b,c,d,e,f){b=zea(b,f);f=c.vy&&Do(pja,b)?"POST":"GET";var k=void 0;Bs(b)&&(g.Ja(c.D)&&(k=c.D()),k=k||c.H);Uia(a.C,b,(0,g.A)(function(l){vD(this,l,c,d,e)},a),(0,g.A)(function(l,m){var n=8==l?Qo(fs):5==l||6==l?Qo(qja):Qo(xD,m);
e(n);n="third_party";xs(c.o)?n="adsense":zs(c.o)?n="dart":As(c.o)&&(n="xfp");n={rt:n,ec:l};Ap.getInstance().report(18,n,!0)},a),a.F,f,k);
rja(c)};
rja=function(a){var b="third_party";xs(a.o)?b="adsense":zs(a.o)?b="dart":As(a.o)?b="xfp":ys(a)&&(b="dbm");a={rt:b};Ap.getInstance().report(17,a,!0)};
vD=function(a,b,c,d,e){try{var f=Qia(b,c);if(!f)throw Qo(ZA);var k=f.C();sja(a,k,c,d)}catch(l){l instanceof ro?e(l):e(Qo(tja,l))}};
sja=function(a,b,c,d){var e=b.Jf;if(null!=e)d(new ks(e));else{e=b.A;if(null==e)throw Qo(EC);(0,g.C)(e,function(m){m.C=c;var n=mo();n&&no(n,"useCompanionsAsEndSlate")&&(m.M=rga(m));n=[];var p=m.getExtension("InfoCards");if(null!=p){p=p.C?p.C:new Yw;for(var q=0;q<Xw(p,"card");q++)n.push(new Zw(Vw(p,"card",q)))}m.D=n;m.aa=oga(m.D);m.Oa=this.C.o;Q()&&(m.La=b.o)},a);
var f=Ria(e),k=Sia(e),l;0<k.length&&0<=gu(k[0])?l=new ps(k,c,a,a.D):l=new es(f,k,c,a);(0,g.C)(e,function(m){m.ha=l});
d(l)}};
zD=function(a){this.o=a+(0,g.H)()};
Via=function(a){var b=(0,g.H)();a=a.o-b;return 0<a?a:0};
AD=function(a,b){this.D=a;this.C=b;this.B=null;this.Z=new g.Xn(this);this.A=this.o=null;this.G=!1;this.kb=null};
uja=function(a){if(null===a.B)BD(a);else{var b=new g.Hn(a.B.o),c=g.G(b.o.get("vid"));b=g.G(b.o.get("cmsid"));var d=a.C.J,e=a.C.G;a.C.J=c;a.C.G=b;if(g.E(g.G(c))||g.E(g.G(b)))BD(a);else if(c==d&&b==e)BD(a);else{var f=a.D.Ai();mC(f,c,b);Fia(f,a.B);a.A=new g.Ug(100);Zn(a.Z,a.A,"tick",function(){a:{var k=lC(f);if(null!=k)try{var l=!1!==k.isAdRequestFinished();break a}catch(m){l=!0;break a}l=!1}l&&BD(this)},a);
a.A.start()}}};
vja=function(a){a.o=new g.Ug;bo(a.Z,a.o,"tick",function(){BD(this)},a);
a.o.setInterval(1E3);a.o.start()};
BD=function(a){null!=a.Z&&(a.Z.dispose(),a.Z=null);null!=a.o&&(a.o.stop(),a.o=null);null!=a.A&&(a.A.stop(),a.A=null);a.G=!0;null===a.F||a.F()};
wja=function(a,b){this.o=a;this.A=b;this.kb=null;P.o&&Zp().init();a:{try{var c=window.top.location.href}catch(d){c=2;break a}c=null!=c?c==window.document.location.href?0:1:2}Wr.L=c};
xja=function(a,b,c,d){if(Q()){var e=b.ws;e&&rea(yo(),e);Zp()&&Lea()}e=null;null==a.o||Q()||(e=new AD(a.o,a.A));var f=Ffa(b);null!=f&&Efa(b)&&(a.A.aa=f);f=8E3;!Q()&&Bo(yo(),41351074)?f=5E3:!Q()&&Bo(yo(),41351075)&&(f=2E3);(new uD(a.A,new Tia,a.o,e,new zD(f))).fetch(b,(0,g.A)(function(k){k instanceof ks?c(k):is(k,c,d)},a),d)};
g.CD=function(){this.o=[];this.A=[]};
DD=function(a){g.Za(a.o)&&(a.o=a.A,a.o.reverse(),a.A=[])};
g.ED=function(a,b){a.A.push(b)};
g.FD=function(a){DD(a);return a.o.pop()};
GD=function(a){DD(a);return g.Ra(a.o)};
yja=function(a){this.qb=a;this.o=new g.CD;this.fg=!1;this.kb=null};
ID=function(a,b,c,d){var e=(0,g.A)(function(k){c(k);g.FD(this.o);this.fg=!1;HD(this)},a),f=(0,g.A)(function(k){d(k);
g.FD(this.o);this.fg=!1;HD(this)},a);
g.ED(a.o,(0,g.A)(function(){xja(this.qb,b,e,f)},a));
HD(a)};
HD=function(a){if(!a.fg){var b=GD(a.o);null!=b&&(a.fg=!0,b())}};
JD=function(a,b,c){g.jg.call(this);this.qb=new yja(new wja(b,c));this.C=a;this.A=b;this.o=!0;this.B=c;this.kb=null};
zja=function(a,b,c){if(a.o){var d=null!=c?c:{};wha(Oy.getInstance(),b.o);ID(a.qb,b,(0,g.A)(function(e){KD(this,e,d)},a),(0,g.A)(function(e){LD(this,e,d)},a))}};
iia=function(a,b,c){if(!a.o){var d=null!=c?c:{};ID(a.qb,b,(0,g.A)(function(e){KD(this,e,d)},a),(0,g.A)(function(e){LD(this,e,d)},a))}};
KD=function(a,b,c){if(a.o)if(b instanceof ks)b=new MD(b.Jf,a,a.C.FA),b.ah(a.A),a.dispatchEvent(new ZB(b,c));else try{var d=QA(a.C,b);d.ah(a.A);a.dispatchEvent(new ZB(d,c,0<b.length?b[0].La:null))}catch(e){LD(a,Qo(ND,null),c)}else b instanceof ks?LD(a,Qo(Aja,null,"Unsupported ad format."),c):(d=new qo("adsLoaderSdkAdLoaded"),d.B=b,d.C=c,a.dispatchEvent(d))};
LD=function(a,b,c){a.o?("always"==P.C&&null!=a.A&&a.A.Qd(wC()),a.dispatchEvent(new ko(b,c))):(c=new qo("adsLoaderSdkAdError"),c.o=b,a.dispatchEvent(c))};
OD=function(a,b){this.K=a;this.V=new g.Bn;this.M=15E3;this.F=g.ie("SPAN");tA.call(this,a[0],b);this.o.appendChild(this.F)};
PD=function(a,b){tA.call(this,a[0],b);this.B=a;g.T(this.o,"ima-container-stack")};
QD=function(a){vA.call(this,a);this.F=!1;this.A=this.B=null;this.J=!1};
RD=function(a){var b=a.ads[0].getExtension("AdSense"),c=b.D;b=b.F;a={text:null!=c?c:a.K.D,url:null!=b?b:a.K.F};null==a.text&&(a.text=uq("\u0420\u0435\u043a\u043b\u0430\u043c\u0430 \u043e\u0442 Google"));return a};
SD=function(a){return a.tb()&&wu(a.va())};
Bja=function(a){var b=TD(a);b.rba=a.D;Ap.getInstance().report(37,b)};
TD=function(a){var b=[],c=[];(0,g.C)(a.B,function(e){b.push(e.ab()+"x"+e.getHeight());c.push(e.Ad())},a);
var d={};d.pid=Oy.getInstance().o;d.fsmode=null!=a.A;0<b.length&&(d.cz=b.join(","));0<c.length&&(d.ct=c.join(","));d.vm=a.dd;return d};
UD=function(a,b){if(a.A){a.Ip(new g.If("close"));var c={};c.pid=Oy.getInstance().o;c.evt=b;Ap.getInstance().report(35,c)}};
VD=function(a,b){g.K.call(this);this.B=a;this.o=-1;this.C=b};
WD=function(a,b){VD.call(this,a,b)};
MD=function(a,b,c){Yv.call(this,[]);this.Jf=a;this.Db=new g.Bn;this.Wb=this.rb=null;this.FA=c;this.km=new g.CD;this.ee=null;this.qb=b;this.jt=this.cp=!1;this.Qi=null;this.Ee=0;this.pe=this.qe=-1;this.he=null;this.ix=0;this.kb=null;this.gm=!1};
Dja=function(a,b){if(null!==a.Na){var c=1;a.Ee=0;var d=new jz;(0,g.C)(b,function(e){if(isNaN(e))throw Qo(YA,null,"timeOffset",String(e));if(-1!=e&&-1>=e){var f=this.Jf;if(isNaN(e)||!g.Ca(e))throw Error("Incorrect time offset.");Dn(f.o,e)&&f.o.remove(e)}else if(f=g.Ca(e)&&!isNaN(e)?this.Jf.o.get(e,[]):[],!g.Za(f)){this.Ee+=f.length;var k=0==e||-1==e?e:c++;f=new zA(f,e,k,this.qb,this.Na,this.Va,this.de);if(d.contains(e))throw Qo(Cja,null,"Multiple ad breaks cannot share same ad play time.");this.Db.set(g.Ma(f),
f);d.add(e)}},a)}};
Eja=function(a,b){a.Qi=g.Ra(b);(0,g.xk)(b,function(c){if(-1==c)return this.Qi=c,!0;this.Qi=this.Qi<c?c:this.Qi;return!1},a)};
ZD=function(a,b){a.gm=!1;a.Oj(b);0==b.Dc?a.lg():(-1==b.Dc?(XD(a)||!Q()&&a.cp)&&YD(a):fB(a.Wb),a.ee=null)};
Fja=function(a){if(null!=a.Wb){$D(a);var b=a.Za();Zn(b,a.Wb,["requestAds","playAds","contentTrackingError","discardAdBreak"],a.handleEvent,a);Zn(b,a.Wb,"adBreakReady",a.aQ,a);Zn(b,a.Wb,"adNotify",a.Fn,a);Zn(b,a.Wb,"discardAdNotify",a.Kk,a);Zn(b,a.qb,"contentComplete",a.cR,a);a.qb.o=!1}};
$D=function(a){null!=a.kc&&(a.kc.dispose(),a.kc=null);a.cp=!1;null!=a.Wb&&a.Wb.ad()};
aE=function(a){if(null==a.ee){var b=g.FD(a.km);if(null!=b){a.ee=b;var c=a.Db.get(a.ee.o);if(null!=c)if(b=b.type,"requestAds"!=b&&"playAds"!=b)a.ee=null,aE(a);else if(null!=a.he&&a.he.A(c))a.ee=null,aE(a);else if("requestAds"==b)a.gm?(a.km.isEmpty()||"playAds"!=GD(a.km).type||g.FD(a.km),ZD(a,c)):0==c.Dc&&a.og()||bE(a,c);else{if("playAds"==b)if(a.gm)ZD(a,c);else if(null!=a.rb&&a.rb.sb()&&a.Oj(a.rb),a.rb=c,a.rb.setVolume(a.volume),AA(a.rb,a.qe,a.pe,a.dd),a.rb.L&&a.ee.A<a.ix){c=a.rb;if(c.A<c.C.length){b=
c.C[c.A];JA(c);try{c.H=new g.Xn(c),c.o=KA(c,b,c.H)}catch(e){c.A++,OA(c)}}c=a.Wb;b=a.ix;var d=new dB(a.rb);d.o=b;d.A=!0;g.vb(c.o,d,eB);a.oa("contentResumeRequested");a.ee=null;aE(a)}else a.rb.start()}else a.ee=null,aE(a)}}};
bE=function(a,b){var c=a.Za();Zn(c,b,hA,a.dispatchEvent,a);Zn(c,b,"adError",a.vB,a);Zn(c,b,"allAdsCompleted",a.eE,a);Zn(c,b,"contentPauseRequested",a.Sh,a);Zn(c,b,"contentResumeRequested",a.lg,a);Zn(c,b,"userClose",a.ej,a);Zn(c,b,"why_this_ad_url",a.Ww,a);Zn(c,b,"why_this_ad_got_it",a.Vw,a);Zn(c,b,"autoClose",a.cj,a);Zn(c,b,"adBreakInitialized",a.fE,a);b.init(a.qe,a.pe,a.dd)};
YD=function(a){if(!a.jt){a.jt=!0;a.qb.o=!0;try{Ap.getInstance().report(44,{cmpl:!0})}catch(b){}a.oa("allAdsCompleted");-1==a.Qi&&cE(a)}};
cE=function(a){Bo(yo(),420706009)||Wr.clear();null!=a.de&&(a=a.de.Ai(),null!=a&&nC(a,Wr.o))};
XD=function(a){return 0==a.Db.wb().length};
dE=function(a){return null!=a.rb?a.rb:null!=a.ee?a.Db.get(a.ee.o):null};
Gja=function(){this.FA=new tia;this.kb=null};
QA=function(a,b){if(g.Za(b))throw Error("Ads manager creation failure, no ads.");if(Hja(a,b)){var c=Ija(a,b);if(!g.Za(c))return new oA(c)}c=mA(b);Q()||(c=c&&null!=ju(b[0])?new lA(a,c,b[0]):c);if(c)return c;throw Error("Ads manager creation failure, failed to determine ad type.");};
Ija=function(a,b){var c=[];(0,g.C)(b,function(d){var e=mA([d]);e&&d.Yb()&&g.bb(c,e)},a);
return c};
mA=function(a){var b=a[0];switch(eE(b)){case "overlay":return qu(b)?new QD(a):new vA(a);case "video":return new lz(a);case "vpaid":return new Xz(a);case "flash_vpaid":return 2==P.F?new $x(a):new fy(a)}return null};
Hja=function(a,b){if(1==b.length)return!1;var c=eE(b[0]);return(0,g.xk)(b,function(d){d=eE(d);return c!=d||"vpaid"==d||"flash_vpaid"==d?!0:!1},a)};
eE=function(a){var b=Mt(a)&&Q();b=0!=P.F||b;return null!=Au(a)&&b?"vpaid":Sp&&null!=Bu(a)&&0!=P.F?"flash_vpaid":qu(a)&&null==Au(a)&&vu(a,"nonlinear")?"overlay":vu(a,"linear")?"video":vu(a,"nonlinear")&&null==Au(a)?"overlay":null};
fE=function(a){g.jg.call(this);this.A=a;a=new xC(new gC);this.o=new JD(new Gja,a,Wr);this.o.X("adsManagerLoaded",this.dispatchEvent,!1,this);this.o.X("adError",this.dispatchEvent,!1,this);this.o.X("adLoadError",this.dispatchEvent,!1,this)};
gE=function(a,b,c){sea();var d="",e=nj(),f=e.A;e=e.o;f&&f.url?d=f.url:e&&e.url&&(d=e.url);b.location=d;b.referrer=window.document.referrer;b.hf=ho(b.o,a.A.H);b.Vx=a.A.L;zja(a.o,b,c)};
hE=function(a,b,c,d,e,f,k,l){this.o=a;this.G=b;this.C=c;this.D=d;this.B=e;this.F=f;this.A=k;this.H=l};
iE=function(a,b){if(0==b)return a.o;if(1==b)return a.A;var c=Ld(a.o,a.C,b),d=Ld(a.C,a.B,b),e=Ld(a.B,a.A,b);c=Ld(c,d,b);d=Ld(d,e,b);return Ld(c,d,b)};
Jja=function(a,b){var c=(b-a.o)/(a.A-a.o);if(0>=c)return 0;if(1<=c)return 1;for(var d=0,e=1,f=0,k=0;8>k;k++){f=iE(a,c);var l=(iE(a,c+1E-6)-f)/1E-6;if(1E-6>Math.abs(f-b))return c;if(1E-6>Math.abs(l))break;else f<b?d=c:e=c,c-=(f-b)/l}for(k=0;1E-6<Math.abs(f-b)&&8>k;k++)f<b?(d=c,c=(c+e)/2):(e=c,c=(c+d)/2),f=iE(a,c);return c};
g.jE=function(a,b,c){this.B=a;this.D=b;this.o=this.C=a;this.F=c||0};
g.kE=function(a){a.o=Math.min(a.D,2*a.o);a.C=Math.min(a.D,a.o+(a.F?Math.round(a.F*(Math.random()-.5)*2*a.o):0));a.A++};
g.lE=function(a){g.K.call(this);this.wc=1;this.C=[];this.B=0;this.o=[];this.A={};this.D=!!a};
Kja=function(a,b,c){g.vg(function(){a.apply(b,c)})};
g.mE=function(a){this.o=a};
nE=function(a){this.o=a};
oE=function(a){this.data=a};
pE=function(a){return!g.Aa(a)||a instanceof oE?a:new oE(a)};
qE=function(a){this.o=a};
g.rE=function(a){var b=a.creation;a=a.expiration;return!!a&&a<(0,g.H)()||!!b&&b>(0,g.H)()};
g.sE=function(a){this.o=a};
Lja=function(){};
tE=function(){};
uE=function(a){this.o=a};
vE=function(){var a=null;try{a=window.localStorage||null}catch(b){}this.o=a};
wE=function(){var a=null;try{a=window.sessionStorage||null}catch(b){}this.o=a};
yE=function(a,b){this.A=a;this.o=null;if(g.de&&!g.Mc(9)){xE||(xE=new g.Bn);this.o=xE.get(a);this.o||(b?this.o=document.getElementById(b):(this.o=document.createElement("userdata"),this.o.addBehavior("#default#userData"),document.body.appendChild(this.o)),xE.set(a,this.o));try{this.o.load(this.A)}catch(c){this.o=null}}};
zE=function(a){return"_"+encodeURIComponent(a).replace(/[.!~*'()%]/g,function(b){return Mja[b]})};
AE=function(a){try{a.o.save(a.A)}catch(b){throw"Storage mechanism: Quota exceeded";}};
BE=function(a){return a.o.XMLDocument.documentElement};
CE=function(a,b){this.A=a;this.o=b+"::"};
g.DE=function(a){var b=new vE;return b.isAvailable()?a?new CE(b,a):b:null};
EE=function(a,b){this.wc=a;this.o=b};
FE=function(a){this.o=[];if(a)a:{if(a instanceof FE){var b=a.Gb();a=a.wb();if(0>=this.Gc()){for(var c=this.o,d=0;d<b.length;d++)c.push(new EE(b[d],a[d]));break a}}else b=g.Vb(a),a=g.Ub(a);for(d=0;d<b.length;d++)g.GE(this,b[d],a[d])}};
g.GE=function(a,b,c){var d=a.o;d.push(new EE(b,c));b=d.length-1;a=a.o;for(c=a[b];0<b;)if(d=b-1>>1,a[d].wc>c.wc)a[b]=a[d],b=d;else break;a[b]=c};
g.HE=function(){FE.call(this)};
IE=function(){this.A=[];this.o=-1};
Nja=function(a){-1==a.o&&(a.o=(0,g.xj)(a.A,function(b,c,d){return c?b+Math.pow(2,d):b},0));
return a.o};
JE=function(a,b){this.D=[];this.M=a;this.L=b||null;this.B=this.o=!1;this.C=void 0;this.J=this.V=this.G=!1;this.F=0;this.A=null;this.H=0};
LE=function(a,b,c){a.o=!0;a.C=c;a.B=!b;KE(a)};
NE=function(a){if(a.o){if(!a.J)throw new ME(a);a.J=!1}};
PE=function(a,b,c){OE(a,b,null,c)};
OE=function(a,b,c,d){a.D.push([b,c,d]);a.o&&KE(a)};
QE=function(a){return(0,g.xk)(a.D,function(b){return g.Ja(b[1])})};
KE=function(a){if(a.F&&a.o&&QE(a)){var b=a.F,c=RE[b];c&&(g.x.clearTimeout(c.Ja),delete RE[b]);a.F=0}a.A&&(a.A.H--,delete a.A);b=a.C;for(var d=c=!1;a.D.length&&!a.G;){var e=a.D.shift(),f=e[0],k=e[1];e=e[2];if(f=a.B?k:f)try{var l=f.call(e||a.L,b);g.Aa(l)&&(a.B=a.B&&(l==b||a.isError(l)),a.C=b=l);if(zg(b)||"function"===typeof g.x.Promise&&b instanceof g.x.Promise)d=!0,a.G=!0}catch(m){b=m,a.B=!0,QE(a)||(c=!0)}}a.C=b;d&&(l=(0,g.A)(a.K,a,!0),d=(0,g.A)(a.K,a,!1),b instanceof JE?(OE(b,l,d),b.V=!0):b.then(l,
d));c&&(b=new SE(b),RE[b.Ja]=b,a.F=b.Ja)};
ME=function(){Pa.call(this)};
TE=function(){Pa.call(this)};
SE=function(a){this.Ja=g.x.setTimeout((0,g.A)(this.A,this),0);this.o=a};
UE=function(a){jf(this,a,Oja,null)};
VE=function(a){jf(this,a,null,null)};
Pja=function(a,b){for(;Xe(b)&&4!=b.A;)switch(b.C){case 1:var c=af(b);hf(a,1,c);break;case 2:c=af(b);hf(a,2,c);break;case 3:c=af(b);hf(a,3,c);break;case 4:c=af(b);hf(a,4,c);break;case 5:c=Ve(b.o);hf(a,5,c);break;default:Ye(b)}return a};
XE=function(a){var b=arguments;if(1<b.length)g.WE[b[0]]=b[1];else{b=b[0];for(var c in b)g.WE[c]=b[c]}};
g.YE=function(a,b){return a in g.WE?g.WE[a]:b};
ZE=function(a){return g.YE(a,void 0)};
aF=function(a){return a&&window.yterr?function(){try{return a.apply(this,arguments)}catch(b){g.$E(b)}}:a};
g.$E=function(a,b,c,d,e){var f=g.y("yt.logging.errors.log");f?f(a,b,c,d,e):(f=g.YE("ERRORS",[]),f.push([a,b,c,d,e]),XE("ERRORS",f))};
g.bF=function(a){g.$E(a,"WARNING",void 0,void 0,void 0)};
g.dF=function(a,b,c){a&&(a.dataset?a.dataset[cF(b)]=String(c):a.setAttribute("data-"+b,c))};
eF=function(a){return a?a.dataset?a.dataset[cF("loaded")]:a.getAttribute("data-loaded"):null};
cF=function(a){return fF[a]||(fF[a]=String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()}))};
g.gF=function(a,b){g.Ja(a)&&(a=aF(a));return window.setTimeout(a,b)};
g.hF=function(a,b){g.Ja(a)&&(a=aF(a));return window.setInterval(a,b)};
g.iF=function(a){window.clearTimeout(a)};
g.nF=function(a,b,c){var d=g.jF();if(d){var e=d.subscribe(a,function(){var f=arguments;var k=function(){kF[e]&&b.apply(c||window,f)};
try{g.lF[a]?k():g.gF(k,0)}catch(l){g.$E(l)}},c);
kF[e]=!0;mF[a]||(mF[a]=[]);mF[a].push(e);return e}return 0};
g.pF=function(a,b){var c=g.nF(a,function(d){b.apply(void 0,arguments);g.oF(c)},void 0)};
g.oF=function(a){var b=g.jF();b&&(g.Ca(a)?a=[a]:g.v(a)&&(a=[parseInt(a,10)]),(0,g.C)(a,function(c){b.unsubscribeByKey(c);delete kF[c]}))};
g.qF=function(a,b){var c=g.jF();return c?c.publish.apply(c,arguments):!1};
sF=function(a){var b=g.jF();if(b)if(b.clear(a),a)rF(a);else for(var c in mF)rF(c)};
g.jF=function(){return g.y("ytPubsubPubsubInstance")};
rF=function(a){mF[a]&&(a=mF[a],(0,g.C)(a,function(b){kF[b]&&delete kF[b]}),a.length=0)};
g.tF=function(a,b,c){c=void 0===c?null:c;if(window.spf){c="";if(a){var d=a.indexOf("jsbin/"),e=a.lastIndexOf(".js"),f=d+6;-1<d&&-1<e&&e>f&&(c=a.substring(f,e),c=c.replace(Qja,""),c=c.replace(Rja,""),c=c.replace("debug-",""),c=c.replace("tracing-",""))}spf.script.load(a,c,b)}else Sja(a,b,c)};
Sja=function(a,b,c){c=void 0===c?null:c;var d=uF(a),e=document.getElementById(d),f=e&&eF(e),k=e&&!f;f?b&&b():(b&&(g.nF(d,b),g.Ma(b)),k||(e=Tja(a,d,function(){eF(e)||(g.dF(e,"loaded","true"),g.qF(d),g.gF(g.Na(sF,d),0))},c)))};
Tja=function(a,b,c,d){d=void 0===d?null:d;var e=g.ke("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);Hd(e,vi(a));a=document.getElementsByTagName("head")[0]||document.body;a.insertBefore(e,a.firstChild);return e};
uF=function(a){var b=document.createElement("a");g.Fd(b,a);a=b.href.replace(/^[a-zA-Z]+:\/\//,"//");return"js-"+zc(a)};
vF=function(){this.af=!1;this.o=null};
wF=function(a,b,c){try{a.o=new botguard.bg(b)}catch(d){g.bF(d)}c&&c(b)};
xF=function(){return g.y("yt.ads.biscotti.lastId_")||""};
yF=function(a){g.Da("yt.ads.biscotti.lastId_",a,void 0)};
g.zF=function(a){a=a.split("&");for(var b={},c=0,d=a.length;c<d;c++){var e=a[c].split("=");if(1==e.length&&e[0]||2==e.length)try{var f=sc(e[0]||""),k=sc(e[1]||"");f in b?g.Ga(b[f])?jb(b[f],k):b[f]=[b[f],k]:b[f]=k}catch(m){var l=Error("Error decoding URL component");l.params="key: "+e[0]+", value: "+e[1];"q"==e[0]?g.bF(l):g.$E(l)}}return b};
AF=function(a){var b=[];g.Mb(a,function(c,d){var e=g.rc(d),f;g.Ga(c)?f=c:f=[c];(0,g.C)(f,function(k){""==k?b.push(e):b.push(e+"="+g.rc(k))})});
return b.join("&")};
g.BF=function(a){"?"==a.charAt(0)&&(a=a.substr(1));return g.zF(a)};
CF=function(a){a=a.split(",");return a=a.map(function(b){return g.BF(b)})};
g.DF=function(a){return-1!=a.indexOf("?")?(a=(a||"").split("#")[0],a=a.split("?",2),g.BF(1<a.length?a[1]:a[0])):{}};
g.FF=function(a,b){return EF(a,b||{},!0)};
g.GF=function(a,b){return EF(a,b||{},!1)};
EF=function(a,b,c){var d=a.split("#",2);a=d[0];d=1<d.length?"#"+d[1]:"";var e=a.split("?",2);a=e[0];e=g.BF(e[1]||"");for(var f in b)if(c||!Xb(e,f))e[f]=b[f];return g.rh(a,e)+d};
HF=function(a){if(!b)var b=window.location.href;var c=g.fh(a)[1]||null,d=g.hh(a);c&&d?(a=g.fh(a),b=g.fh(b),a=a[3]==b[3]&&a[1]==b[1]&&a[4]==b[4]):a=d?g.hh(b)==d&&g.ih(b)==g.ih(a):!0;return a};
IF=function(){if(!a)var a=document.location.href;a=g.fh(a)[1]||null;return null!==a&&"https"==a};
LF=function(){var a=JF;var b=void 0===b?xF():b;a=Object.assign(KF(a),Uja(a));a.ca_type="image";b&&(a.bid=b);return a};
KF=function(a){var b={};b.dt=PC;b.flash="0";a:{try{var c=a.o.top.location.href}catch(d){a=2;break a}a=c?c===a.A.location.href?0:1:2}b=(b.frm=a,b);Gi(b);return b};
Uja=function(a){var b=a.o;try{var c=b.screenX;var d=b.screenY}catch(m){}try{var e=b.outerWidth;var f=b.outerHeight}catch(m){}try{var k=b.innerWidth;var l=b.innerHeight}catch(m){}b=[b.screenLeft,b.screenTop,c,d,b.screen?b.screen.availWidth:void 0,b.screen?b.screen.availTop:void 0,e,f,k,l];c=Ni(!1,a.o.top);d={};e=new IE;g.x.SVGElement&&g.x.document.createElementNS&&e.set(0);f=Pba();f["allow-top-navigation-by-user-activation"]&&e.set(1);f["allow-popups-to-escape-sandbox"]&&e.set(2);g.x.crypto&&g.x.crypto.subtle&&
e.set(3);e=Nja(e);return d.bc=e,d.bih=c.height,d.biw=c.width,d.brdim=b.join(),d.vis=hj(a.A),d.wgl=!!N.WebGLRenderingContext,d};
NF=function(a,b){var c=g.MF(a);return void 0===c&&void 0!==b?b:Number(c||0)};
g.MF=function(a){return g.YE("EXPERIMENT_FLAGS",{})[a]};
Vja=function(){if(!OF)return null;var a=OF();return"open"in a?a:null};
g.PF=function(a){switch(a&&"status"in a?a.status:-1){case 200:case 201:case 202:case 203:case 204:case 205:case 206:case 304:return!0;default:return!1}};
Wja=function(a,b){b=void 0===b?{}:b;var c=HF(a),d=!!g.MF("web_ajax_ignore_global_headers_if_set"),e;for(e in QF){var f=g.YE(QF[e]);!f||!c&&!RF(a,e)||d&&void 0!==b[e]||(b[e]=f)}if(c||RF(a,"X-YouTube-Utc-Offset"))b["X-YouTube-Utc-Offset"]=-(new Date).getTimezoneOffset();g.MF("pass_biscotti_id_in_header_ajax")&&(c||RF(a,"X-YouTube-Ad-Signals"))&&(b["X-YouTube-Ad-Signals"]=AF(LF()));return b};
Yja=function(a){var b=window.location.search,c=g.hh(a),d=g.gh(g.fh(a)[5]||null);d=(c=c&&c.endsWith("youtube.com"))&&d&&d.startsWith("/api/");if(!c||d)return a;var e=g.BF(b),f={};(0,g.C)(Xja,function(k){e[k]&&(f[k]=e[k])});
return g.GF(a,f)};
RF=function(a,b){var c=g.YE("CORS_HEADER_WHITELIST")||{},d=g.hh(a);return d?(c=c[d])?g.Ya(c,b):!1:!0};
Zja=function(a,b){if(window.fetch&&"XML"!=b.format){var c={method:b.method||"GET",credentials:"same-origin"};b.headers&&(c.headers=b.headers);a=SF(a,b);var d=TF(a,b);d&&(c.body=d);b.withCredentials&&(c.credentials="include");var e=!1,f;fetch(a,c).then(function(k){if(!e){e=!0;f&&g.iF(f);var l=k.ok,m=function(n){n=n||{};var p=b.context||g.x;l?b.onSuccess&&b.onSuccess.call(p,n,k):b.onError&&b.onError.call(p,n,k);b.Hd&&b.Hd.call(p,n,k)};
"JSON"==(b.format||"JSON")&&(l||400<=k.status&&500>k.status)?k.json().then(m,function(){m(null)}):m(null)}});
b.DE&&0<b.timeout&&(f=g.gF(function(){e||(e=!0,g.iF(f),b.DE.call(b.context||g.x))},b.timeout))}else g.UF(a,b)};
g.UF=function(a,b){var c=b.format||"JSON";a=SF(a,b);var d=TF(a,b),e=!1,f,k=VF(a,function(l){if(!e){e=!0;f&&g.iF(f);var m=g.PF(l),n=null,p=400<=l.status&&500>l.status,q=500<=l.status&&600>l.status;if(m||p||q)n=$ja(c,l,b.B4);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.x;m?b.onSuccess&&b.onSuccess.call(p,l,n):b.onError&&b.onError.call(p,l,n);b.Hd&&b.Hd.call(p,l,n)}},b.method,d,b.headers,b.responseType,
b.withCredentials);
b.Id&&0<b.timeout&&(f=g.gF(function(){e||(e=!0,k.abort(),g.iF(f),b.Id.call(b.context||g.x,k))},b.timeout));
return k};
SF=function(a,b){b.H4&&(a=document.location.protocol+"//"+document.location.hostname+(document.location.port?":"+document.location.port:"")+a);var c=g.YE("XSRF_FIELD_NAME",void 0),d=b.bd;d&&(d[c]&&delete d[c],a=g.FF(a,d));return a};
TF=function(a,b){var c=g.YE("XSRF_FIELD_NAME",void 0),d=g.YE("XSRF_TOKEN",void 0),e=b.postBody||"",f=b.Rb,k=ZE("XSRF_FIELD_NAME"),l;b.headers&&(l=b.headers["Content-Type"]);b.E4||g.hh(a)&&!b.withCredentials&&g.hh(a)!=document.location.hostname||"POST"!=b.method||l&&"application/x-www-form-urlencoded"!=l||b.Rb&&b.Rb[k]||(f||(f={}),f[c]=d);f&&g.v(e)&&(e=g.BF(e),g.lc(e,f),e=b.tF&&"JSON"==b.tF?JSON.stringify(e):g.ph(e));f=e||f&&!g.dc(f);!WF&&f&&"POST"!=b.method&&(WF=!0,g.$E(Error("AJAX request with postData should use POST")));
return e};
$ja=function(a,b,c){var d=null;switch(a){case "JSON":a=b.responseText;b=b.getResponseHeader("Content-Type")||"";a&&0<=b.indexOf("json")&&(d=JSON.parse(a));break;case "XML":if(b=(b=b.responseXML)?aka(b):null)d={},(0,g.C)(b.getElementsByTagName("*"),function(e){d[e.tagName]=bka(e)})}c&&XF(d);
return d};
XF=function(a){if(g.Ka(a))for(var b in a)"html_content"==b||yb(b,"_html")?a[b]=g.Dd(g.Uc("HTML that is escaped and sanitized server-side and passed through yt.net.ajax"),a[b]):XF(a[b])};
aka=function(a){return a?(a=("responseXML"in a?a.responseXML:a).getElementsByTagName("root"))&&0<a.length?a[0]:null:null};
bka=function(a){var b="";(0,g.C)(a.childNodes,function(c){b+=c.nodeValue});
return b};
g.YF=function(a,b){b.method="POST";b.Rb||(b.Rb={});g.UF(a,b)};
VF=function(a,b,c,d,e,f,k){function l(){4==(m&&"readyState"in m?m.readyState:0)&&b&&aF(b)(m)}
c=void 0===c?"GET":c;d=void 0===d?"":d;var m=Vja();if(!m)return null;"onloadend"in m?m.addEventListener("loadend",l,!1):m.onreadystatechange=l;g.MF("debug_forward_web_query_parameters")&&(a=Yja(a));m.open(c,a,!0);f&&(m.responseType=f);k&&(m.withCredentials=!0);c="POST"==c&&(void 0===window.FormData||!(d instanceof FormData));if(e=Wja(a,e))for(var n in e)m.setRequestHeader(n,e[n]),"content-type"==n.toLowerCase()&&(c=!1);c&&m.setRequestHeader("Content-Type","application/x-www-form-urlencoded");m.send(d);
return m};
ZF=function(){var a=/Chrome\/(\d+)/.exec(g.Kb);return a?parseFloat(a[1]):NaN};
bG=function(){return $F("android")&&$F("chrome")&&!aG()};
g.cG=function(){return $F("cobalt")};
dG=function(){return $F("cobalt")&&$F("appletv")};
eG=function(){return $F("(ps3; leanback shell)")||$F("ps3")&&g.cG()};
fG=function(){return $F("(ps4; leanback shell)")||$F("ps4")&&g.cG()};
g.gG=function(){return g.cG()&&($F("ps4 vr")||$F("ps4 pro vr"))};
hG=function(){var a=/WebKit\/([0-9]+)/.exec(g.Kb);return!!(a&&600<=parseInt(a[1],10))};
iG=function(){return $F("nintendo wiiu")};
jG=function(){return $F("iemobile")||$F("windows phone")&&$F("edge")};
lG=function(){return kG&&$F("applewebkit")&&!$F("version")&&(!$F("safari")||$F("gsa/"))};
mG=function(){return g.fp&&$F("version/")};
aG=function(){return $F("trident/")||$F("edge/")};
nG=function(){return $F("smart-tv")&&$F("samsung")};
$F=function(a){var b=g.Kb;return b?0<=b.toLowerCase().indexOf(a):!1};
g.pG=function(a,b,c,d,e){e=void 0===e?"":e;a&&(c&&!g.cG()?a&&(a=g.fd(g.id(a)),"about:invalid#zClosurez"===a?a="":(a=g.vd(zd(a)).toString(),a=g.rc(g.$g(a))),g.E(a)||(a=g.ie("IFRAME",{src:'javascript:"<body><img src=\\""+'+a+'+"\\"></body>"',style:"display:none"}),Ud(a).body.appendChild(a))):e?VF(a,b,"POST",e,d):g.YE("USE_NET_AJAX_FOR_PING_TRANSPORT",!1)||d?VF(a,b,"GET","",d):((c=g.WE.EXPERIMENT_FLAGS)&&c.web_use_beacon_api_for_ad_click_server_pings&&-1!=g.gh(g.fh(a)[5]||null).indexOf("/aclk")&&"1"===
uh(a,"ae")&&"1"===uh(a,"act")?oG(a)?(b&&b(),c=!0):c=!1:c=!1,c||cka(a,b)))};
qG=function(a){if(a)for(var b=0;b<a.length;b++)g.pG(a[b],void 0,void 0)};
rG=function(a,b,c){c=void 0===c?"":c;oG(a,c)?b&&b():g.pG(a,b,void 0,void 0,c)};
oG=function(a,b){try{if(window.navigator&&window.navigator.sendBeacon&&window.navigator.sendBeacon(a,void 0===b?"":b))return!0}catch(c){}return!1};
cka=function(a,b){var c=new Image,d=""+dka++;sG[d]=c;c.onload=c.onerror=function(){b&&sG[d]&&b();delete sG[d]};
c.src=a};
uG=function(a,b){var c=g.ic(b),d;return g.Mg(new g.Bg(function(e,f){c.onSuccess=function(k){g.PF(k)?e(k):f(new tG("Request failed, status="+k.status,"net.badstatus",k))};
c.onError=function(k){f(new tG("Unknown request error","net.unknown",k))};
c.Id=function(k){f(new tG("Request timed out","net.timeout",k))};
d=g.UF(a,c)}),function(e){e instanceof Rg&&d.abort();
return Gg(e)})};
g.vG=function(a,b,c,d){function e(k,l,m){return g.Mg(k,function(n){return 0>=l||403===n.Ui.status?Gg(new tG("Request retried too many times","net.retryexhausted",n.Ui)):f(m).then(function(){return e(uG(a,b),l-1,Math.pow(2,c-l+1)*m)})})}
function f(k){return new g.Bg(function(l){setTimeout(l,k)})}
return e(uG(a,b),c-1,d)};
tG=function(a,b,c){Pa.call(this,a+", errorCode="+b);this.errorCode=b;this.Ui=c;this.name="PromiseAjaxError"};
wG=function(a){this.C=void 0===a?null:a;this.A=0;this.o=null};
xG=function(a){var b=new wG;a=void 0===a?null:a;b.A=2;b.o=void 0===a?null:a;return b};
yG=function(a){var b=new wG;a=void 0===a?null:a;b.A=1;b.o=void 0===a?null:a;return b};
AG=function(a){Pa.call(this,a.message||a.description||a.name);this.isMissing=a instanceof zG;this.isTimeout=a instanceof tG&&"net.timeout"==a.errorCode;this.isCanceled=a instanceof Rg};
zG=function(){Pa.call(this,"Biscotti ID is missing from server")};
eka=function(){if("1"===g.Wb(g.YE("PLAYER_CONFIG",{}),"args","privembed"))return Gg(Error("Biscotti ID is not available in private embed mode"));BG||(BG=g.Mg(uG("//googleads.g.doubleclick.net/pagead/id",CG).then(DG),function(a){return EG(2,a)}));
return BG};
DG=function(a){a=a.responseText;if(!g.xb(a,")]}'"))throw new zG;a=JSON.parse(a.substr(4));if(1<(a.type||1))throw new zG;a=a.id;yF(a);BG=yG(a);FG(18E5,2);return a};
EG=function(a,b){var c=new AG(b);yF("");BG=xG(c);0<a&&FG(12E4,a-1);throw c;};
FG=function(a,b){g.gF(function(){g.Mg(uG("//googleads.g.doubleclick.net/pagead/id",CG).then(DG,function(c){return EG(b,c)}),g.z)},a)};
GG=function(){try{var a=g.y("yt.ads.biscotti.getId_");return a?a():eka()}catch(b){return Gg(b)}};
IG=function(a,b){if(a in b)return b[a];var c=HG+a.charAt(0).toUpperCase()+a.substr(1);if(c in b)return b[c]};
JG=function(a,b){var c;(0,g.xk)(a,function(d){c=b[d];return!!c});
return c};
KG=function(a){var b=JG(["requestFullscreen","webkitRequestFullscreen","mozRequestFullScreen","msRequestFullscreen"],a);b&&b.call(a)};
NG=function(a){var b;LG()?MG()==a&&(b=document):b=a;b&&(a=JG(["exitFullscreen","webkitExitFullscreen","mozCancelFullScreen","msExitFullscreen"],b))&&a.call(b)};
OG=function(a){return g.Ua(["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],function(b){return"on"+b.toLowerCase()in a})};
fka=function(){var a=document;return g.Ua(["fullscreenerror","webkitfullscreenerror","mozfullscreenerror","MSFullscreenError"],function(b){return"on"+b.toLowerCase()in a})};
LG=function(){return!!JG(["fullscreenEnabled","webkitFullscreenEnabled","mozFullScreenEnabled","msFullscreenEnabled"],document)};
MG=function(){var a=JG(["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"],document);return a?a:null};
PG=function(a){this.type="";this.state=this.source=this.data=this.currentTarget=this.relatedTarget=this.target=null;this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.ctrlKey=this.altKey=!1;this.rotation=this.clientY=this.clientX=0;this.scale=1;this.changedTouches=this.touches=null;if(a=a||window.event){this.event=a;for(var b in a)b in gka||(this[b]=a[b]);this.scale=a.scale;this.rotation=a.rotation;(b=a.target||a.srcElement)&&3==b.nodeType&&(b=b.parentNode);this.target=b;if(b=a.relatedTarget)try{b=
b.nodeName?b:null}catch(c){b=null}else"mouseover"==this.type?b=a.fromElement:"mouseout"==this.type&&(b=a.toElement);this.relatedTarget=b;this.clientX=void 0!=a.clientX?a.clientX:a.pageX;this.clientY=void 0!=a.clientY?a.clientY:a.pageY;this.keyCode=a.keyCode?a.keyCode:a.which;this.charCode=a.charCode||("keypress"==this.type?this.keyCode:0);this.altKey=a.altKey;this.ctrlKey=a.ctrlKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.o=a.pageX;this.A=a.pageY}};
QG=function(a){if(document.body&&document.documentElement){var b=document.body.scrollTop+document.documentElement.scrollTop;a.o=a.clientX+(document.body.scrollLeft+document.documentElement.scrollLeft);a.A=a.clientY+b}};
RG=function(a){g.Aa(a.o)||QG(a);return a.o};
SG=function(a){g.Aa(a.A)||QG(a);return a.A};
hka=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 Zb(TG,function(e){var f=g.Ba(e[4])&&e[4]==!!d,k=g.Ka(e[4])&&g.Ka(d)&&g.hc(e[4],d);return!!e.length&&e[0]==a&&e[1]==b&&e[2]==c&&(f||k)})};
g.WG=function(a,b,c,d){d=void 0===d?{}:d;if(!a||!a.addEventListener&&!a.attachEvent)return"";var e=hka(a,b,c,d);if(e)return e;e=++UG.count+"";var f=!("mouseenter"!=b&&"mouseleave"!=b||!a.addEventListener||"onmouseenter"in document);var k=f?function(l){l=new PG(l);if(!De(l.relatedTarget,function(m){return m==a},!0))return l.currentTarget=a,l.type=b,c.call(a,l)}:function(l){l=new PG(l);
l.currentTarget=a;return c.call(a,l)};
k=aF(k);a.addEventListener?("mouseenter"==b&&f?b="mouseover":"mouseleave"==b&&f?b="mouseout":"mousewheel"==b&&"MozBoxSizing"in document.documentElement.style&&(b="MozMousePixelScroll"),VG()||g.Ba(d)?a.addEventListener(b,k,d):a.addEventListener(b,k,!!d.capture)):a.attachEvent("on"+b,k);TG[e]=[a,b,c,k,d];return e};
ika=function(a,b,c,d){var e=a||document;return g.WG(e,b,function(f){var k=De(f.target,function(l){return l===e||d(l)},!0);
k&&k!==e&&!k.disabled&&(f.currentTarget=k,c.call(k,f))})};
g.XG=function(a){a&&("string"==typeof a&&(a=[a]),(0,g.C)(a,function(b){if(b in TG){var c=TG[b],d=c[0],e=c[1],f=c[3];c=c[4];d.removeEventListener?VG()||g.Ba(c)?d.removeEventListener(e,f,c):d.removeEventListener(e,f,!!c.capture):d.detachEvent&&d.detachEvent("on"+e,f);delete TG[b]}}))};
g.YG=function(a){a=a||window.event;a=a.target||a.srcElement;3==a.nodeType&&(a=a.parentNode);return a};
ZG=function(a){a=a||window.event;if(a.composedPath&&g.Ja(a.composedPath))var b=a.composedPath();else a.path&&(b=a.path);return b&&b.length?b[0]:g.YG(a)};
$G=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};
aH=function(a){a=a||window.event;var b=a.pageX,c=a.pageY;document.body&&document.documentElement&&(g.Ca(b)||(b=a.clientX+document.body.scrollLeft+document.documentElement.scrollLeft),g.Ca(c)||(c=a.clientY+document.body.scrollTop+document.documentElement.scrollTop));return new g.Od(b,c)};
g.bH=function(a){a=a||window.event;a.returnValue=!1;a.preventDefault&&a.preventDefault()};
g.cH=function(a){a=a||window.event;return!1===a.returnValue||a.AC&&a.AC()};
g.dH=function(a){a=a||window.event;return a.keyCode?a.keyCode:a.which};
g.eH=function(a,b,c,d){return ika(a,b,c,function(e){return g.zr(e,d)})};
fH=function(a,b,c){var d=void 0===d?{}:d;var e;return e=g.WG(a,b,function(){g.XG(e);c.apply(a,arguments)},d)};
g.gH=function(a){g.K.call(this);this.A=a||window;this.o=[]};
g.hH=function(a){g.XG(a.o);a.o.length=0};
iH=function(a){this.H=a;this.o=null;this.B=0;this.D=null;this.C=0;this.A=[];for(a=0;4>a;a++)this.A.push(0);this.Ib=0;this.G=g.WG(window,"mousemove",(0,g.A)(this.K,this));this.J=g.hF((0,g.A)(this.F,this),25)};
g.jH=function(a){g.K.call(this);this.O=[];this.yc=a||this};
kH=function(a,b,c,d){for(var e=0;e<c.length;e++)a.R(b,c[e],d)};
g.lH=function(a){for(;a.O.length;){var b=a.O.pop();b.target.removeEventListener(b.name,b.Tl)}};
g.mH=function(a){a=void 0===a?!1:a;g.K.call(this);this.ha=new g.lE(a);g.L(this,this.ha)};
nH=function(a,b,c){for(var d in b)a.subscribe(d,b[d],c)};
oH=function(a,b,c){for(var d in b)a.unsubscribe(d,b[d],c)};
g.qH=function(a,b,c,d){g.mH.call(this);this.C=!!b;this.F=a;this.J=c||a;this.H=!!d;this.o=new g.jH(this);g.L(this,this.o);this.D=this.G=null;this.B=this.A=!1;b&&(g.fe&&a.setAttribute("draggable","true"),a.style.touchAction="none");pH(this)};
rH=function(a,b,c){a.o.R(a.J,b,c,void 0,!a.C)};
pH=function(a){a.D=null;a.G=null;rH(a,sH("over"),a.eD);rH(a,"touchstart",a.cw);a.C&&rH(a,sH("down"),a.RP)};
tH=function(a,b){for(var c=0;c<b.changedTouches.length;c++){var d=b.changedTouches[c];if(d.identifier==a.G)return d}return null};
sH=function(a){return window.navigator.msPointerEnabled?"MSPointer"+a.charAt(0).toUpperCase()+a.substr(1):"mouse"+a};
uH=function(a){a=a||{};var b={enablejsapi:1},c={};this.url=a.url||"";this.args=a.args||g.ic(b);this.assets=a.assets||{};this.attrs=a.attrs||g.ic(c);this.fallback=a.fallback||null;this.fallbackMessage=a.fallbackMessage||null;this.html5=!!a.html5;this.disable=a.disable||{};this.loaded=!!a.loaded;this.messages=a.messages||{}};
jka=function(a){a instanceof uH||(a=new uH(a));return a};
xH=function(a,b){var c=c||{};c.name=g.YE("INNERTUBE_CONTEXT_CLIENT_NAME",1);c.version=g.YE("INNERTUBE_CONTEXT_CLIENT_VERSION",void 0);var d=a,e=void 0===b?"ERROR":b;e=void 0===e?"ERROR":e;var f=window&&window.yterr||!1;if(d&&f&&!(5<=vH)){f=d.stacktrace;var k=d.columnNumber;if(d.hasOwnProperty("params")){var l=String(JSON.stringify(d.params));c.params=l.substr(0,500)}d=eba(d);f=f||d.stack;l=d.lineNumber.toString();isNaN(l)||isNaN(k)||(l=l+":"+k);window.yterr&&g.Ja(window.yterr)&&window.yterr(d);if(!(wH[d.message]||
0<=f.indexOf("/YouTubeCenter.js")||0<=f.indexOf("/mytube.js"))){e={bd:{a:"logerror",t:"jserror",type:d.name,msg:d.message.substr(0,250),line:l,level:e,"client.name":c.name},Rb:{url:g.YE("PAGE_NAME",window.location.href),file:d.fileName},method:"POST"};c.version&&(e["client.version"]=c.version);f&&(e.Rb.stack=f);for(var m in c)e.Rb["client."+m]=c[m];if(c=g.YE("LATEST_ECATCHER_SERVICE_TRACKING_PARAMS",void 0))for(var n in c)e.Rb[n]=c[n];g.UF(g.YE("ECATCHER_REPORT_HOST","")+"/error_204",e);wH[d.message]=
!0;vH++}}};
DH=function(){g.iF(yH);g.iF(zH);zH=0;if(!g.dc(AH)){for(var a in AH){var b=BH[a];b&&(kka(a,b),delete AH[a])}g.dc(AH)||CH()}};
CH=function(){g.MF("web_gel_timeout_cap")&&!zH&&(zH=g.gF(DH,3E4));g.iF(yH);yH=g.gF(DH,g.YE("LOGGING_BATCH_TIMEOUT",NF("web_gel_debounce_ms",1E4)))};
EH=function(a,b){b=void 0===b?"":b;AH[a]=AH[a]||{};AH[a][b]=AH[a][b]||[];return AH[a][b]};
kka=function(a,b){var c=lka[a],d=FH[a]||{};FH[a]=d;var e=Math.round(g.GH());for(n in AH[a]){var f=g.jc({context:g.HH(b.wa)});f[c]=EH(a,n);d.dispatchedEventCount=d.dispatchedEventCount||0;d.dispatchedEventCount+=f[c].length;var k=IH[n];if(k)a:{var l=n;if(k.videoId)var m="VIDEO";else if(k.playlistId)m="PLAYLIST";else break a;f.credentialTransferTokenTargetId=k;f.context=f.context||{};f.context.user=f.context.user||{};f.context.user.credentialTransferTokens=[{token:l,scope:m}]}delete IH[n];f.requestTimeMs=
e;if(k=ZE("EVENT_ID"))m=(g.YE("BATCH_CLIENT_COUNTER",void 0)||0)+1,m>mka&&(m=1),XE("BATCH_CLIENT_COUNTER",m),k={serializedEventId:k,clientCounter:m},f.serializedClientEventId=k,JH&&KH&&g.MF("log_gel_rtt_web")&&(f.previousBatchInfo={serializedClientEventId:JH,roundtripMs:KH}),JH=k,KH=0;g.LH(b,a,f,{retry:nka.has(a),onSuccess:(0,g.A)(oka,this,g.GH())})}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};
oka=function(a){KH=Math.round(g.GH()-a)};
pka=function(){};
g.NH=function(a,b){return MH(a,1,b)};
OH=function(){};
g.PH=function(){return!!g.y("yt.scheduler.instance")};
MH=function(a,b,c){isNaN(c)&&(c=void 0);var d=g.y("yt.scheduler.instance.addJob");return d?d(a,b,c):void 0===c?(a(),NaN):g.gF(a,c||0)};
g.QH=function(a){if(!isNaN(a)){var b=g.y("yt.scheduler.instance.cancelJob");b?b(a):g.iF(a)}};
RH=function(a){var b=g.y("yt.scheduler.instance.setPriorityThreshold");b&&b(a)};
UH=function(){var a={},b=void 0===a.MM?!0:a.MM;a=void 0===a.bV?!1:a.bV;if(null==g.y("_lact",window)){var c=parseInt(g.YE("LACT"),10);c=isFinite(c)?(0,g.H)()-Math.max(c,0):-1;g.Da("_lact",c,window);g.Da("_fact",c,window);-1==c&&SH();g.WG(document,"keydown",SH);g.WG(document,"keyup",SH);g.WG(document,"mousedown",SH);g.WG(document,"mouseup",SH);b&&(a?g.WG(window,"touchmove",function(){TH("touchmove",200)},{passive:!0}):(g.WG(window,"resize",function(){TH("resize",200)}),g.WG(window,"scroll",function(){TH("scroll",
200)})));
new iH(function(){TH("mouse",100)});
g.WG(document,"touchstart",SH,{passive:!0});g.WG(document,"touchend",SH,{passive:!0})}};
TH=function(a,b){VH[a]||(VH[a]=!0,g.NH(function(){SH();VH[a]=!1},b))};
SH=function(){null==g.y("_lact",window)&&UH();var a=(0,g.H)();g.Da("_lact",a,window);-1==g.y("_fact",window)&&g.Da("_fact",a,window);(a=g.y("ytglobal.ytUtilActivityCallback_"))&&a()};
WH=function(){var a=g.y("_lact",window),b;null==a?b=-1:b=Math.max((0,g.H)()-a,0);return b};
g.XH=function(a,b,c,d,e){var f={};f.eventTimeMs=Math.round(d||g.GH());f[a]=b;f.context={lastActivityMs:String(d?-1:WH())};e?(a={},e.videoId?a.videoId=e.videoId:e.playlistId&&(a.playlistId=e.playlistId),IH[e.token]=a,e=EH("log_event",e.token)):e=EH("log_event");e.push(f);c&&(BH.log_event=new c);e.length>=(NF("web_logging_max_batch")||20)?DH():CH()};
g.HH=function(a){a={client:{hl:a.zv,gl:a.yv,clientName:a.vv,clientVersion:a.xv}};var b=window.devicePixelRatio;b&&1!=b&&(a.client.screenDensityFloat=String(b));g.YE("DELEGATED_SESSION_ID")&&!g.MF("pageid_as_header_web")&&(a.user={onBehalfOfUser:g.YE("DELEGATED_SESSION_ID")});return a};
qka=function(a,b,c){c=void 0===c?{}:c;var d={"X-Goog-Visitor-Id":c.visitorData||g.YE("VISITOR_DATA","")};if(b&&b.includes("www.youtube-nocookie.com"))return d;(b=c.z4||g.YE("AUTHORIZATION"))||(a?b="Bearer "+g.y("gapi.auth.getToken")().x4:b=g.An());b&&(d.Authorization=b,d["X-Goog-AuthUser"]=g.YE("SESSION_INDEX",0),g.MF("pageid_as_header_web")&&(d["X-Goog-PageId"]=g.YE("DELEGATED_SESSION_ID")));return d};
g.ZH=function(a,b,c,d){YH.set(""+a,b,c,"/",void 0===d?"youtube.com":d,!1)};
g.$H=function(a,b,c){YH.remove(""+a,void 0===b?"/":b,void 0===c?"youtube.com":c)};
aI=function(){var a;(a=g.DE("yt.innertube"))||(a=new yE("yt.innertube"),a=a.isAvailable()?a:null);this.o=a?new qE(a):null;this.A=document.domain||window.location.hostname};
g.bI=function(a){this.wa=a||{qv:ZE("INNERTUBE_API_KEY"),tv:ZE("INNERTUBE_API_VERSION"),vv:g.YE("INNERTUBE_CONTEXT_CLIENT_NAME","WEB"),xv:ZE("INNERTUBE_CONTEXT_CLIENT_VERSION"),zv:ZE("INNERTUBE_CONTEXT_HL"),yv:ZE("INNERTUBE_CONTEXT_GL"),Vp:ZE("INNERTUBE_HOST_OVERRIDE")||"",PM:!!g.YE("INNERTUBE_USE_THIRD_PARTY_AUTH",!1)}};
g.LH=function(a,b,c,d){!g.YE("VISITOR_DATA")&&.01>Math.random()&&g.$E(Error("Missing VISITOR_DATA when sending innertube request."),"WARNING");c={headers:{"Content-Type":"application/json"},method:"POST",Rb:c,tF:"JSON",Id:function(){d.Id()},
DE:d.Id,onSuccess:function(k,l){if(d.onSuccess)d.onSuccess(l)},
L4:function(k){if(d.onSuccess)d.onSuccess(k)},
onError:function(k,l){if(d.onError)d.onError(l)},
K4:function(k){if(d.onError)d.onError(k)},
timeout:d.timeout,withCredentials:!0};var e="",f=a.wa.Vp;f&&(e=f);f=qka(a.wa.PM||!1,e,d);Object.assign(c.headers,f);c.headers.Authorization&&!e&&(c.headers["x-origin"]=window.location.origin);a=""+e+("/youtubei/"+a.wa.tv+"/"+b)+"?alt=json&key="+a.wa.qv;try{g.MF("use_fetch_for_op_xhr")?Zja(a,c):g.YF(a,c)}catch(k){if("InvalidAccessError"==k)g.$E(Error("An extension is blocking network request."),"WARNING");else throw k;}};
cI=function(a,b,c){var d=g.bI;g.YE("ytLoggingEventsDefaultDisabled",!1)&&g.bI==g.bI&&(d=null);g.XH(a,b,d,c,void 0)};
dI=function(a){this.Yd=a};
g.eI=function(a){return new dI({trackingParams:a})};
ska=function(a){var b=rka++;return new dI({veType:a,veCounter:b,elementIndex:void 0,dataElement:void 0,youtubeData:void 0})};
g.fI=function(a){var b={};void 0!==a.Yd.trackingParams?b.trackingParams=a.Yd.trackingParams:(b.veType=a.Yd.veType,null!=a.Yd.veCounter&&(b.veCounter=a.Yd.veCounter),null!=a.Yd.elementIndex&&(b.elementIndex=a.Yd.elementIndex));void 0!==a.Yd.dataElement&&(b.dataElement=g.fI(a.Yd.dataElement));void 0!==a.Yd.youtubeData&&(b.youtubeData=a.Yd.youtubeData);return b};
g.gI=function(a,b,c,d){a={csn:a,parentVe:g.fI(b),childVes:(0,g.I)(c,function(e){return g.fI(e)})};
c=g.r(c);for(b=c.next();!b.done;b=c.next())b=g.fI(b.value),(g.dc(b)||!b.trackingParams&&!b.veType)&&xH(Error("Child VE logged with no data"),"WARNING");g.XH("visualElementAttached",a,g.bI,void 0,d)};
g.hI=function(a,b){g.XH("visualElementShown",{csn:a,ve:g.fI(b),eventType:1},g.bI,void 0,void 0)};
g.iI=function(a,b){g.XH("visualElementGestured",{csn:a,ve:g.fI(b),gestureType:"INTERACTION_LOGGING_GESTURE_TYPE_GENERIC_CLICK"},g.bI,void 0,void 0)};
kI=function(a,b){var c=Object.keys(a).join("");jI("info_"+c+"_"+b)||(a.clientActionNonce=b,cI("latencyActionInfo",a))};
jI=function(a){lI[a]=lI[a]||{count:0};var b=lI[a];b.count++;b.time=g.GH();mI||(mI=MH(tka,0,5E3));if(10<b.count){if(11==b.count){b=0==a.indexOf("info")?"WARNING":"ERROR";var c=Error("CSI data exceeded logging limit with key");c.params=a;xH(c,b)}return!0}return!1};
tka=function(){var a=g.GH(),b;for(b in lI)6E4<a-lI[b].time&&delete lI[b];mI=0};
oI=function(){if(window.crypto&&window.crypto.getRandomValues)try{var a=Array(16),b=new Uint8Array(16);window.crypto.getRandomValues(b);for(var c=0;c<a.length;c++)a[c]=b[c];return a}catch(e){}a=Array(16);for(b=0;16>b;b++){c=(0,g.H)();for(var d=0;d<c%23;d++)a[b]=Math.random();a[b]=Math.floor(256*Math.random())}if(nI)for(b=1,c=0;c<nI.length;c++)a[b%16]=a[b%16]^a[(b-1)%16]/4^nI.charCodeAt(c),b++;return a};
pI=function(){for(var a=oI(),b=[],c=0;c<a.length;c++)b.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".charAt(a[c]&63));return b.join("")};
g.qI=function(){return(0,g.I)(oI(),function(a){return(a&15).toString(16)}).join("")};
rI=function(a){a=void 0===a?0:a;return 0==a?"client-screen-nonce":"client-screen-nonce."+a};
sI=function(a){a=void 0===a?0:a;return 0==a?"ROOT_VE_TYPE":"ROOT_VE_TYPE."+a};
tI=function(a){return g.YE(sI(void 0===a?0:a),void 0)};
g.uI=function(){var a=tI(0),b;a?b=new dI({veType:a,youtubeData:void 0}):b=null;return b};
g.vI=function(a){a=void 0===a?0:a;var b=g.YE(rI(a));b||0!=a||(b=g.YE("EVENT_ID"));return b?b:null};
xI=function(a,b,c){c=void 0===c?0:c;if(a!==g.YE(rI(c))||b!==g.YE(sI(c)))XE(rI(c),a),XE(sI(c),b),0==c&&(b=function(){setTimeout(function(){a&&g.XH("foregroundHeartbeatScreenAssociated",{clientDocumentNonce:wI,clientScreenNonce:a},g.bI)},0)},"requestAnimationFrame"in window?window.requestAnimationFrame(b):b())};
g.AI=function(a,b,c){var d=c&&0<c?c:0;c=d?(0,g.H)()+1E3*d:0;if((d=d?(0,g.yI)():zI())&&window.JSON){g.v(b)||(b=JSON.stringify(b,void 0));try{d.set(a,b,c)}catch(e){d.remove(a)}}};
g.BI=function(a){var b=zI(),c=(0,g.yI)();if(!b&&!c||!window.JSON)return null;try{var d=b.get(a)}catch(e){}if(!g.v(d))try{d=c.get(a)}catch(e){}if(!g.v(d))return null;try{d=JSON.parse(d,void 0)}catch(e){}return d};
g.CI=function(a){try{var b=zI(),c=(0,g.yI)();b&&b.remove(a);c&&c.remove(a)}catch(d){}};
g.DI=function(){return g.BI("yt-remote-session-screen-id")};
uka=function(){EI=g.GH()};
FI=function(a,b,c,d,e,f,k,l){this.duration=c;this.endTime=b+c;this.ingestionTime=d;this.Ub=a;this.sourceURL=e;this.startTime=b;this.A=k||0;this.range=f||null;this.o=l||!1};
g.GI=function(){this.segments=[]};
HI=function(a,b){if(b>a.Lb())a.segments=[];else{var c=g.Sa(a.segments,function(d){return d.Ub>=b},a);
0<c&&a.segments.splice(0,c)}};
II=function(a,b,c,d,e){e=void 0===e?!1:e;this.data=a;this.offset=b;this.size=c;this.type=d;this.o=e?0:8;this.dataOffset=this.offset+this.o;this.A=e};
JI=function(a){var b=a.data.getUint8(a.offset+a.o);a.o+=1;return b};
KI=function(a){var b=a.data.getUint16(a.offset+a.o);a.o+=2;return b};
LI=function(a){var b=a.data.getInt32(a.offset+a.o);a.o+=4;return b};
MI=function(a){var b=a.data.getUint32(a.offset+a.o);a.o+=4;return b};
NI=function(a){var b=a.data;var c=a.offset+a.o;b=4294967296*b.getUint32(c)+b.getUint32(c+4);a.o+=8;return b};
OI=function(a,b){b=void 0===b?NaN:b;if(isNaN(b))var c=a.size;else for(c=a.o;c<a.size&&a.data.getUint8(a.offset+c)!=b;)++c;var d=new Uint8Array(a.data.buffer,a.offset+a.o,c-a.o);a.o=Math.min(c+1,a.size);return String.fromCharCode.apply(String,d)};
PI=function(a){this.data=new DataView(new ArrayBuffer(a));this.o=0};
QI=function(a,b){a.data.setInt32(a.o,b);a.o+=4};
RI=function(a,b){for(var c=0;c+4<=b.size;)QI(a,b.data.getUint32(b.offset+c)),c+=4;for(;c<b.size;)a.data.setUint8(a.o++,b.data.getUint8(b.offset+c++))};
SI=function(a,b,c,d,e,f){this.o=a;this.durationSecs=b;this.context=c;this.identifier=d;this.event=e;this.A=f};
UI=function(a,b,c){this.o=a;this.uri=b||"http://youtube.com/streaming/metadata/segment/102015";this.B=void 0===c?null:c;this.A=TI(this,"Sequence-Number");this.J=TI(this,"Segment-Count");this.K=this.o["Segment-Durations-Ms"]||"";this.ingestionTime=TI(this,"Ingestion-Walltime-Us")/1E6;this.C=(TI(this,"First-Frame-Time-Us")+TI(this,"First-Frame-Uncertainty-Us"))/1E6;this.H=TI(this,"Target-Duration-Us")/1E6;this.G="T"==this.o["Overlayed-With-Slate"];this.F="T"==this.o["Stream-Finished"];this.D="T"==this.o.Streamable};
TI=function(a,b){return parseInt(a.o[b],10)||0};
vka=function(a,b){this.o=a;this.duration=b};
VI=function(a,b,c,d,e){this.A=a||0;this.pitch=b||0;this.yaw=c||0;this.roll=d||0;this.o=e;e.getUint32(4)};
WI=function(a){for(var b=new Uint8Array(a.length),c=0;c<a.length;c++)b[c]=a.charCodeAt(c);return b};
XI=function(a){return String.fromCharCode.apply(null,a)};
YI=function(a){var b={};a=a.split("\r\n");for(var c=0;c<a.length;c++){if(0==a[c].length)return b;var d=a[c].match(/([^:]+):\s+([\S\s]+)/);null!=d&&(b[d[1]]=d[2])}return null};
xka=function(a,b,c){var d=ZI(a,0,1836019558);if(!d)return null;var e=ZI(a,d.dataOffset,1835427940),f=ZI(a,d.dataOffset,1953653094),k=wka(a,d.dataOffset);if(!e||!f)return null;var l=ZI(a,f.dataOffset,1952868452),m=ZI(a,f.dataOffset,1953658222),n=ZI(a,f.dataOffset,1952867444);if(!l||!m||!n)return null;var p=ZI(a,f.dataOffset,1935763823),q=ZI(a,f.dataOffset,1935763834),u=0;if(p){u=LI(p);var w=LI(p);if(0!=u||1!=w)return null;u=LI(p)}w=ZI(a,f.dataOffset,1935828848);f=ZI(a,f.dataOffset,1936158820);var D=
LI(l),F=LI(l),J=D&2,O=D&1?NI(l):0,qa=J?LI(l):0,Ta=D&8?LI(l):0,Ha=D&16?LI(l):0,ab=D&32?LI(l):0;D=LI(m);var ob=D&1,wd=D&4,ac=D&256;l=D&512;var Id=D&1024,bc=D&2048;D=LI(m);var Ob=ob?LI(m):0,cc=wd?LI(m):0;ob=[];for(var Lh=[],gf=[],ag=[],Ui=0,xd=0,Fl=0;Fl<D;Fl++){var $M=ac?LI(m):Ta;l&&ob.push(LI(m));var Vi=ab;wd&&0==Fl?Vi=cc:Id&&(Vi=LI(m));Lh.push(Vi);Vi=bc?LI(m):0;0==Fl&&(Ui=Vi);gf.push(xd+Vi);ag.push(Fl);xd+=$M}1<=Math.abs(xd-b)&&c({flaw:"segDurMismatch",dts:xd.toFixed(),seg:b.toFixed()});g.tb(ag,function(El,
lP){return gf[El]-gf[lP]});
c=[];for(xd=0;xd<D;xd++)c[ag[xd]]=xd;xd=J?4:0;ab=16*D;wd=(0,g.xj)(k,function(El,lP){return El+lP.size},0);
ac=68+xd+n.size+ab+(p?p.size:0)+(q?q.size:0)+(w?w.size:0)+(f?f.size:0)+wd;Ta=ac-d.size;m=new PI(ac+d.offset);d.offset&&m.oh(a,0,d.offset);QI(m,ac);QI(m,1836019558);RI(m,e);QI(m,ac-24-wd);QI(m,1953653094);QI(m,16+xd);QI(m,1952868452);QI(m,131072|(J?2:0));QI(m,F);J&&QI(m,qa);RI(m,n);QI(m,20+ab);QI(m,1953658222);QI(m,16781057);QI(m,D);QI(m,O+Ob+Ta);for(a=xd=0;a<D;a++)e=c[a],d=Math.round(b*e/D),e=Math.round(b*(e+1)/D)-d,d=d-xd+Ui,QI(m,e),QI(m,l?ob[a]:Ha),QI(m,Lh[a]),QI(m,d),xd+=e;p&&(QI(m,p.size),QI(m,
1935763823),QI(m,0),QI(m,1),QI(m,u+Ta));q&&RI(m,q);w&&RI(m,w);f&&RI(m,f);b=g.r(k);for(k=b.next();!k.done;k=b.next())RI(m,k.value);return m.data.buffer};
$I=function(a,b){var c=ZI(a.data,a.dataOffset,1952868452),d=ZI(a.data,a.dataOffset,1953658222),e=LI(c);LI(c);e&2&&LI(c);c=e&8?LI(c):0;var f=LI(d),k=f&1;e=f&4;var l=f&256,m=f&512,n=f&1024;f&=2048;var p=MI(d);k&&LI(d);e&&LI(d);for(var q=k=0;q<p;q++){var u=l?LI(d):c;m&&LI(d);e&&0==q||!n||LI(d);f&&LI(d);k+=u}return k/b};
cJ=function(a){a=new DataView(a.buffer,a.byteOffset,a.byteLength);return(a=g.aJ(a,0,1836476516))?bJ(a):NaN};
yka=function(a){var b=g.aJ(a,0,1937011556);if(!b)return null;b=ZI(a,b.dataOffset+8,1635148593);if(!b)return null;var c=ZI(a,b.dataOffset+78,1936995172),d=ZI(a,b.dataOffset+78,1937126244);if(!d)return null;b=null;if(c)switch(c.skip(4),JI(c)){default:b=0;break;case 1:b=2;break;case 2:b=1;break;case 3:b=255}var e=c=null,f=null;if(d=ZI(a,d.dataOffset,1886547818)){var k=ZI(a,d.dataOffset,1886546020),l=ZI(a,d.dataOffset,2037673328);if(!l&&(l=ZI(a,d.dataOffset,1836279920),!l))return null;k&&(k.skip(4),c=
LI(k)/65536,f=LI(k)/65536,e=LI(k)/65536);a=new DataView(l.data.buffer,l.dataOffset,l.size-8);return new VI(b,c,f,e,a)}return null};
ZI=function(a,b,c){for(;dJ(a,b);){var d=eJ(a,b);if(d.type==c)return d;b+=d.size}return null};
g.aJ=function(a,b,c){for(;dJ(a,b);){var d=eJ(a,b);if(d.type==c)return d;b=fJ(d.type)?b+8:b+d.size}return null};
gJ=function(a,b){if(a.data.getUint8(a.dataOffset)){var c=a.data,d=a.dataOffset+4;c.setUint32(d,Math.floor(b/4294967296));c.setUint32(d+4,b&4294967295)}else a.data.setUint32(a.dataOffset+4,b)};
hJ=function(a){if(a.data.getUint8(a.dataOffset)){var b=a.data;a=a.dataOffset+4;return 4294967296*b.getUint32(a)+b.getUint32(a+4)}return a.data.getUint32(a.dataOffset+4)};
eJ=function(a,b){var c=a.getUint32(b),d=a.getUint32(b+4);return new II(a,b,c,d)};
bJ=function(a){var b=a.data.getUint8(a.dataOffset)?20:12;return a.data.getUint32(a.dataOffset+b)};
iJ=function(a){a=new II(a.data,a.offset,a.size,a.type,a.A);var b=JI(a);a.skip(7);var c=MI(a);if(0==b){b=MI(a);var d=MI(a)}else b=NI(a),d=NI(a);a.skip(2);for(var e=KI(a),f=[],k=[],l=0;l<e;l++){var m=MI(a);f.push(m);k.push(MI(a));a.skip(4)}return{ay:c,vK:b,sB:d,qx:f,Yn:k}};
jJ=function(a){return a.data.getUint32(a.dataOffset+8)};
dJ=function(a,b){if(8>a.byteLength-b)return!1;var c=a.getUint32(b);if(8>c||a.byteLength-b<c)return!1;c=a.getUint32(b+4);if(1635148593==c||1635148611==c||1937126244==c||1936995172==c)return!0;for(c=4;8>c;c++){var d=a.getInt8(b+c);if(97>d||122<d)return!1}return!0};
fJ=function(a){return 1701082227==a||1836019558==a||1836019574==a||1835297121==a||1835626086==a||1937007212==a||1953653094==a||1953653099==a||1836475768==a};
kJ=function(a){return(a=ZI(a,0,1836019558))?a.offset+a.size:null};
lJ=function(a,b){for(var c=ZI(a,0,b);c;){var d=c;d.type=1936419184;d.data.setUint32(d.offset+4,1936419184);c=ZI(a,c.offset+c.size,b)}};
wka=function(a,b){for(var c=[];dJ(a,b);){var d=eJ(a,b);1886614376==d.type&&c.push(d);b+=d.size}return c};
mJ=function(a,b){for(var c=0,d=[];dJ(a,c);){var e=eJ(a,c);e.type==b&&d.push(e);c=fJ(e.type)?c+8:c+e.size}return d};
nJ=function(a,b){this.A=a;this.o=0;this.C=b||0};
oJ=function(a){return a.o>=a.A.byteLength};
tJ=function(a,b,c){var d=new nJ(c);if(!pJ(d,a))return!1;d=qJ(d);if(rJ(d,b)){for(a=0;b;)b>>>=8,a++;b=d.C+d.o-a;a=sJ(d,!0)+a-1;var e;e||(e=Math.ceil(Math.log(a+2)/Math.log(2)/7));var f=1<<8-e;for(d=[];d.length<e-1;)d.unshift(a%256),a=Math.floor(a/256);d.unshift(a|f);c.setUint8(b,236);for(e=0;e<d.length;e++)c.setUint8(b+1+e,d[e]);return!0}return!1};
vJ=function(a){uJ(new nJ(a));tJ([408125543,374648427,174,224],30320,a)&&tJ([408125543,374648427,174,224],21432,a)};
zka=function(a){var b=new nJ(a);uJ(b);if(pJ(b,[408125543,374648427,174,224]))b=qJ(b);else return null;for(var c=a=null;!oJ(b);){var d=sJ(b,!1);if(21432==d)switch(wJ(b)){default:a=0;break;case 1:a=1;break;case 3:a=2;break;case 15:a=255}else 30320==d?c=qJ(b):xJ(b)}if(!c)return null;for(var e,f=d=b=null;!oJ(c);)switch(sJ(c,!1)){case 30321:if(3!=wJ(c))return null;break;case 30324:b=yJ(c);break;case 30323:f=yJ(c);break;case 30325:d=yJ(c);break;case 30322:e=sJ(c,!0);e=zJ(c,e);e=new DataView(e.buffer,e.byteOffset,
e.byteLength);break;default:xJ(c)}return e?new VI(a,b,f,d,e):null};
qJ=function(a){var b=sJ(a,!0),c=a.A.byteOffset+a.o;c=new DataView(a.A.buffer,c,Math.min(b,a.A.buffer.byteLength-c));c=new nJ(c,a.C+a.o);a.o+=b;return c};
wJ=function(a){for(var b=sJ(a,!0),c=AJ(a),d=1;d<b;d++)c=256*c+AJ(a);return c};
yJ=function(a){var b=sJ(a,!0),c=0;4==b?c=a.A.getFloat32(a.o):8==b&&(c=a.A.getFloat64(a.o));a.o+=b;return c};
BJ=function(a){var b=sJ(a,!0);return XI(zJ(a,b))};
xJ=function(a){var b=sJ(a,!0);a.o+=b};
uJ=function(a){var b=a.o;a.o=0;var c=!1;rJ(a,440786851)&&(a.o=0,rJ(a,408125543)&&(c=!0));a.o=b;return c};
CJ=function(a){var b=a.o;a.o=0;var c=1E6;pJ(a,[408125543,357149030,2807729])&&(c=wJ(a));a.o=b;return c};
Aka=function(a,b){var c=a.o;a.o=0;if(!DJ(a)||!rJ(a,160))return a.o=c,NaN;sJ(a,!0);var d=a.o;if(!rJ(a,161))return a.o=c,NaN;sJ(a,!0);AJ(a);var e=AJ(a)<<8|AJ(a);a.o=d;if(!rJ(a,155))return a.o=c,NaN;d=wJ(a);a.o=c;return(e+d)*b/1E9};
DJ=function(a){if(!EJ(a)||!rJ(a,524531317))return!1;sJ(a,!0);return!0};
EJ=function(a){if(uJ(a)){if(!rJ(a,408125543))return!1;sJ(a,!0)}return!0};
pJ=function(a,b){for(var c=0;c<b.length;c++){if(!rJ(a,b[c]))return!1;c!=b.length-1&&sJ(a,!0)}return!0};
rJ=function(a,b,c){c=void 0===c?!1:c;if(oJ(a))return!1;for(var d=a.o;sJ(a,!1)!=b;)if(xJ(a),d=a.o,oJ(a))return!1;c&&(a.o=d);return!0};
sJ=function(a,b){var c=AJ(a);if(1==c){for(var d=c=0;7>d;d++)c=256*c+AJ(a);return c}d=128;for(var e=0;6>e&&d>c;e++)c=256*c+AJ(a),d*=128;return b?c-d:c};
AJ=function(a){return a.A.getUint8(a.o++)};
zJ=function(a,b){var c=new Uint8Array(a.A.buffer,a.A.byteOffset+a.o,b);a.o+=b;return c};
g.FJ=function(a,b){this.start=a;this.end=b;this.length=b-a+1};
GJ=function(a){a=a.split("-");return 2==a.length&&(a=new g.FJ(parseInt(a[0],10),parseInt(a[1],10)),!isNaN(a.start)&&!isNaN(a.end)&&!isNaN(a.length)&&0<a.length)?a:null};
HJ=function(a,b){return new g.FJ(a,a+b-1)};
JJ=function(a,b,c,d,e,f,k,l,m,n){this.o=b;this.range=c;this.type=a;this.D="";this.A=-1;this.D=d;this.A=0<=e?e:-1;this.startTime=f||0;this.duration=k||0;this.C=l||0;this.gb=0<=m?m:this.range?this.range.length:NaN;this.H=!!n;this.range?(this.B=this.C+this.gb==this.range.length,this.G=this.startTime+this.duration*this.C/this.range.length,this.J=this.duration*this.gb/this.range.length,this.F=this.G+this.J):(this.B=0!=this.gb,IJ(this));this.K=[]};
IJ=function(a){a.G=a.startTime;a.J=a.duration;a.F=a.G+a.J};
Bka=function(a,b,c){var d=!(!b||b.o!=a.o||b.type!=a.type||b.A!=a.A);return c?d&&(a.range&&b.range?b.range.end==a.range.end:b.range==a.range)&&b.C+b.gb==a.C+a.gb:d};
KJ=function(a){return 1==a.type||2==a.type};
LJ=function(a,b,c){return c||a.o==b.o?a.range&&b.range?a.range.start+a.C+a.gb==b.range.start+b.C:a.A==b.A?a.C+a.gb==b.C:a.A+1==b.A&&0==b.C&&a.B:!1};
MJ=function(a,b){return LJ(a,b)||Md(a.F,b.G)||a.A+1==b.A&&0==b.C&&a.B?!0:!1};
Cka=function(a){1==a.length||(0,g.wj)(a,function(c){return!!c.range});
for(var b=1;b<a.length;b++);b=a[a.length-1];return new g.FJ(a[0].range.start+a[0].C,b.range.start+b.C+b.gb-1)};
OJ=function(a){var b="";g.Mb(NJ(a),function(c,d){b+=d+"="+c+","});
return b.slice(0,-1)};
NJ=function(a){var b={};b.itag=PJ(a.o.info);b.type=a.type;b.seg=String(a.A);a.range&&(b.range=""+(a.range.start+a.C)+"-"+(a.range.start+a.C+a.gb-1));b.time=""+a.G.toFixed(1)+"-"+(a.G+a.J).toFixed(1);b.off=String(a.C);b.len=String(a.gb);a.B&&(b.end="1");a.H&&(b.eos="1");return b};
QJ=function(a,b,c,d){a=new JJ(a.type,a.o,a.range,"reslice_"+a.D,a.A,a.startTime,a.duration,b,c,d&&a.H);a.B=d;return a};
RJ=function(a,b){var c=b.A;a.D="updateWithEmsg";a.A=c;b.F&&(a.H=b.F)};
SJ=function(a,b){var c=b.Ub;a.D="updateWithSegmentInfo";a.A=c;if(a.startTime!=b.startTime||a.duration!=b.duration)a.startTime=b.startTime,a.duration=b.duration,IJ(a)};
TJ=function(a,b,c,d,e){this.info=a;this.buffer=b;this.range=c;this.o=null;this.C=d;this.A=e};
UJ=function(a){return a.range?new DataView(a.buffer,a.range.start,a.range.length):new DataView(a.buffer)};
VJ=function(a){if(a.buffer.slice)return new Uint8Array(a.buffer.slice(a.range.start,a.range.end+1));a=new Uint8Array(a.buffer,a.range.start,a.range.end+1);return new Uint8Array(a)};
WJ=function(a,b){b=Math.min(b,a.info.gb);var c=new JJ(a.info.type,a.info.o,a.info.range,"splitSlice1_"+a.info.D,a.info.A,a.info.startTime,a.info.duration,a.info.C,b,!1);c.B=!1;var d=HJ(a.range.start,b);c=new TJ(c,a.buffer,d,a.C,a.A);var e=new JJ(a.info.type,a.info.o,a.info.range,"splitSlice2_"+a.info.D,a.info.A,a.info.startTime,a.info.duration,a.info.C+b,a.info.gb-b,a.info.H);e.B=a.info.B;d=new g.FJ(d.end+1,a.range.end);d=new TJ(e,a.buffer,d,a.C,!1);return[c,d]};
YJ=function(a){if(g.XJ(a.info.o.info)){var b=a.info.o.o;for(var c=NaN,d=NaN,e=0,f=new DataView(a.buffer);dJ(f,e);){var k=eJ(f,e);1936286840==k.type?d=jJ(k):1836476516==k.type?d=bJ(k):1952867444==k.type&&isNaN(c)&&(c=hJ(k));e=fJ(k.type)?e+8:e+k.size}!d&&b&&(d=cJ(b));b=c/d}else b=new nJ(UJ(a)),c=a.A?b:new nJ(new DataView(a.info.o.o.buffer)),d=CJ(c),c=b.o,b.o=0,DJ(b)?rJ(b,231)?(d=wJ(b)*d/1E9,b.o=c,b=d):(b.o=c,b=NaN):(b.o=c,b=NaN);return b||a.info.G};
ZJ=function(a,b){if(g.XJ(a.info.o.info)){for(var c=a.info.o.o,d=new DataView(a.buffer),e=NaN,f=NaN,k=0;dJ(d,k);){var l=eJ(d,k);isNaN(e)&&(1936286840==l.type?e=jJ(l):1836476516==l.type&&(e=bJ(l)));if(1952867444==l.type){!e&&c&&(e=cJ(c));var m=hJ(l);isNaN(f)&&(f=Math.round(b*e)-m);gJ(l,m+f)}k=fJ(l.type)?k+8:k+l.size}return!0}c=new nJ(new DataView(a.buffer));e=a.A?c:new nJ(new DataView(a.info.o.o.buffer));d=b;f=CJ(e);e=c.o;c.o=0;if(DJ(c)&&rJ(c,231))if(k=sJ(c,!0),d=Math.floor(1E9*d/f),Math.ceil(Math.log(d)/
Math.log(2)/8)>k)c=!1;else{for(f=k-1;0<=f;f--)c.A.setUint8(c.o+f,d&255),d>>>=8;c.o=e;c=!0}else c=!1;return c};
$J=function(a){if(g.XJ(a.info.o.info)){var b=0;var c=new DataView(a.buffer);c=mJ(c,1936286840);c=g.r(c);for(var d=c.next();!d.done;d=c.next())d=iJ(d.value),b+=d.Yn[0]/d.ay;b=b||NaN;if(!(0<=b))a:{b=a.info.o.o;c=0;d=new DataView(a.buffer);for(var e,f=0;dJ(d,c);){var k=eJ(d,c);if(1836476516==k.type)e=bJ(k);else if(1836019558==k.type){!e&&b&&(e=cJ(b));if(!e){b=NaN;break a}var l=ZI(k.data,k.dataOffset,1953653094);f+=$I(l,e)}c=fJ(k.type)?c+8:c+k.size}b=f||NaN}}else e=new nJ(new DataView(a.buffer)),b=a.A?
e:new nJ(new DataView(a.info.o.o.buffer)),b=Aka(e,CJ(b));return b||a.info.J};
aK=function(a){return g.XJ(a.info.o.info)?a.o?a.o.G&&!!ZI(new DataView(a.buffer),0,1718909296):!1:uJ(new nJ(new DataView(a.buffer)))};
bK=function(a){var b;if(g.XJ(a.info.o.info)){var c=UJ(a);if(b=ZI(c,0,1701671783)){b.skip(4);c=OI(b,0);OI(b,0);MI(b);MI(b);MI(b);MI(b);var d=OI(b);b=b.offset;c=(d=YI(d))?new UI(d,c,b):null}else c=null}else{c=new nJ(UJ(a));b=c.o;c.o=0;var e=d=null;if(pJ(c,[408125543,307544935,29555,26568]))for(var f=qJ(c);!oJ(f);){var k=sJ(f,!1);17543==k?e=YI(BJ(f)):17827==k?d=BJ(f):xJ(f)}c.o=b;c=e?new UI(e,d):null}a.o=c};
cK=function(a){var b=a.info.o.info;a=UJ(a);g.XJ(b)?lJ(a,1701671783):2==b.containerType&&tJ([408125543],307544935,a)};
dK=function(a,b){this.experimentIds=a?a.split(","):[];this.flags=g.zF(b||"");var c={};(0,g.C)(this.experimentIds,function(d){c[d]=!0});
this.experiments=c;this.B=!!c["9414740"]};
g.eK=function(){this.kz=this.jz=!1;this.KH=2;this.F=20971520;this.H=8388608;this.C=NaN;this.ma=3145728;this.O=62914560;this.sa=10485760;this.Ty=this.ya=0;this.K=NaN;this.Dj=0;this.Kl=this.bC=2;this.Sa=3;this.Ll=!1;this.wz=2;this.Ra=25;this.aa=2097152;this.vz=1048576;this.ga=!1;this.L=1800;this.Nd=5;this.rd=10;this.yc=15;this.tc=1;this.A=1.15;this.D=1.05;this.Wy=8;this.dz=!0;var a;!(a=$F("xboxone"))&&(a=hG())&&(a=/WebKit\/([0-9]+)/.exec(g.Kb),a=!(a&&602<=parseInt(a[1],10)));this.Oo=a||bG();this.zg=
!1;this.Iz=!0;this.xg=this.sd=this.B=!1;this.yz=.8;this.Oa=!1;this.qz=!0;this.J=this.Zp=!1;this.rs=25;this.ZM=this.uz=!1;this.xa=6;this.Or=this.ia=!1;this.Cj=.5;this.Jl=this.jb=!1;this.qd=0;this.Nl=this.Y=!1;this.kf=0;this.fd=!1;this.mB=2;this.La=5E3;this.ha=this.ba=!1;this.M=.5;this.Qb=2;this.Pb=this.Tz=0;this.Wz=1.5;this.UA=this.Aj=.5;this.Ab=this.ds=!1;this.ed=15;this.os=1;this.Az=this.hz=this.Fa=this.Co=!1;this.ts=0;this.Oz=this.Ol=this.nz=this.gr=this.Ag=this.Qz=this.mz=this.lz=this.iz=!1;this.bq=
1;this.Kq=0;this.Np=this.Rz=this.V=this.o=!1;this.vg=0;this.yg=this.np=this.ae=this.Bo=this.Ry=this.tp=this.Lz=this.Mz=this.Nk=this.Ao=this.xB=this.Do=this.Aa=this.ea=this.Rr=this.Il=this.HC=this.wg=this.Ia=this.Sz=this.td=this.Wa=this.Ml=!1;this.G="";this.WM=1048576;this.fr=this.Yy=this.Zb=!1;this.Od=46800;this.cd=this.vr=this.ka=this.Bj=!1};
Dka=function(a,b){1080<b.za().o&&!a.jz&&(a.F=36700160,a.H=5242880,a.ma=10485760,a.aa=4194304,a.jz=!0);2160<b.za().o&&!a.kz&&(a.F=104857600,a.K=13107200,a.kz=!0);a.vz=Math.max(65536,Math.min(a.aa,5*b.o))};
Eka=function(){this.B=this.o=this.A=this.C=this.D=0};
fK=function(a,b){a[b]||(a[b]=new Eka);return a[b]};
gK=function(a,b,c,d){!a&&(void 0===c?0:c)&&g.bF(Error("Player URL validator detects invalid url. "+(void 0===d?"":d)+": "+b));return a};
hK=function(a){return(a=Fka.exec(a))?a[0]:""};
iK=function(a){var b=void 0===b?!1:b;return gK(Gka.test(a),a,b,"Nielsen OCR URL")};
jK=function(a){var b=void 0===b?!1:b;return gK(Hka.test(a),a,b,"Active View 3rd Party Integration URL")};
kK=function(a){var b=void 0===b?!1:b;return gK(Ika.test(a),a,b,"Google/YouTube Brand Lift URL")};
lK=function(a){var b=void 0===b?!1:b;return gK(Jka.test(a),a,b,"Trusted Stream URL")};
g.mK=function(a){var b=void 0===b?!1:b;return gK(Kka.test(a),a,b,"Trusted Image URL")};
g.nK=function(a){var b=void 0===b?!1:b;return gK(Lka.test(a),a,b,"Trusted Promoted Video Domain URL")};
oK=function(a,b){b=void 0===b?!1:b;return gK(Mka.test(a),a,b,"Captions URL")};
pK=function(a){a=new g.Hn(a);g.In(a,document.location.protocol);g.Jn(a,document.location.hostname);document.location.port&&g.Kn(a,document.location.port);return a.toString()};
qK=function(a){a=new g.Hn(a);g.In(a,document.location.protocol);return a.toString()};
sK=function(a){a=a.split("");rK.ZY(a,23);rK.a1(a,42);rK.c7(a,3);rK.a1(a,34);rK.ZY(a,16);rK.ZY(a,61);rK.ZY(a,48);rK.ZY(a,47);return a.join("")};
g.tK=function(a){this.B=a;this.F=this.A=this.D="";this.o={};this.C=""};
vK=function(a){uK(a);return a.F};
wK=function(a){uK(a);return"local"==a.D};
xK=function(a){uK(a);return Qb(a.o,function(b){return null!==b})};
zK=function(a){uK(a);if("/videoplayback"!=a.A){var b=a.clone();b.set("playerfallback","1");return b}var c=a.Xa();b=new g.Hn(c);if(yK){var d=a.get("fvip");a=decodeURIComponent(a.get("mn")||"").split(",");if(d&&a&&1<a.length&&a[1])return c=b.A.replace(/^[^.]*/,""),g.Jn(b,"r"+d+"---"+a[1]+c),b=new g.tK(b.toString()),b.set("fallback_count","1"),b}d=b.A.match("\\.a1\\.googlevideo\\.com$");b.A.match("\\.googlevideo\\.com$")?(g.Jn(b,"redirector.googlevideo.com"),c=b.toString()):b.A.match("r[1-9].*\\.c\\.youtube\\.com$")?
(g.Jn(b,"www.youtube.com"),c=b.toString()):c=pK(c);b=new g.tK(c);b.set("cmo=pf","1");d&&b.set("cmo=td","a1.googlevideo.com");return b};
uK=function(a){if(a.B){if(!lK(a.B)&&!a.B.startsWith("local"))throw Error("Untrusted URL: "+a.B);var b=g.Rn(a.B);a.D=b.B;a.F=b.A+(null!=b.D?":"+b.D:"");var c=b.C;if(0==c.indexOf("/videoplayback"))a.A="/videoplayback",c=c.substr(14);else if(0==c.indexOf("/api/manifest")){var d=c.indexOf("/",12),e=c.indexOf("/",d+1);0<d&&0<e?(a.A=c.substr(0,e),c=c.substr(e+1)):(a.A=c,c="")}else a.A=c,c="";d=a.o;a.o=AK(c);g.Oa(a.o,BK(b.QB()));g.Oa(a.o,d);"index.m3u8"==a.o.file&&(delete a.o.file,a.A+="/file/index.m3u8");
a.B="";a.C=""}};
Nka=function(a){uK(a);var b=a.D+(a.D?"://":"//")+a.F+a.A;if(xK(a)){var c=[];g.Mb(a.o,function(d,e){null!==d&&c.push(e+"="+d)});
b+="?"+c.join("&")}return b};
AK=function(a){a=a.split("/");var b=0;a[0]||b++;for(var c={};b<a.length;b+=2)a[b]&&CK(c,a[b],a[b+1]);return c};
BK=function(a){a=a.split("&");for(var b={},c=0;c<a.length;c++){var d=a[c],e=d.indexOf("=");0<e?CK(b,d.substr(0,e),d.substr(e+1)):d&&(b[d]="")}return b};
CK=function(a,b,c){if("cmo"==b){var d;0<=(d=c.indexOf("="))?(b="cmo="+c.substr(0,d),c=c.substr(d+1)):0<=(d=c.indexOf("%3D"))&&(b="cmo="+c.substr(0,d),c=c.substr(d+3))}a[b]=c};
DK=function(a){this.o=a;this.A={};this.C=""};
Oka=function(a,b){var c=b.indexOf("?");if(0<c){var d=BK(b.substr(c+1));g.Mb(d,function(e,f){this.set(f,e)},a);
b=b.substr(0,c)}c=AK(b);g.Mb(c,function(e,f){this.set(f,e)},a)};
Pka=function(a){var b=a.o.Xa(),c=[];g.Mb(a.A,function(e,f){c.push(f+"="+e)});
if(!c.length)return b;var d=c.join("&");a=xK(a.o)?"&":"?";return b+a+d};
EK=function(a,b){var c=new g.tK(b),d=c.get("req_id");d&&a.set("req_id",d);g.Mb(a.A,function(e,f){c.set(f,null)});
return c};
Qka=function(a){this.B=a.clone();this.A=a;this.C=null;this.D=this.o=0};
GK=function(a,b,c){var d=fK(c,vK(a.A));if(d.A>=b.mB||1<=d.o)if(a=FK(a),c=fK(c,vK(a)),c.A+c.o<=d.A+d.o)return!0;return!1};
g.HK=function(a,b){var c=b?FK(a):a.A;return new DK(c)};
FK=function(a){a.C||(a.C=zK(a.B));return a.C};
IK=function(a){return 1<a.o?a.D+1E3*Math.pow(1.6,a.o-1)<g.GH():!0};
g.JK=function(a,b,c){b.o===a.A&&(a.A=EK(b,c));b.o===a.C&&(a.C=EK(b,c))};
KK=function(a,b){this.A=a[0].o.C;this.B=b||"";this.o=a;this.range=this.o[0].range&&0<this.o[0].gb?Cka(this.o):null;this.D=this.C=NaN;this.F=this.requestId=null};
LK=function(a){return!KJ(a.o[a.o.length-1])};
MK=function(a){return KJ(a.o[0])};
NK=function(a){return 4==a.o[a.o.length-1].type};
g.OK=function(a,b,c,d){/http[s]?:\/\//.test(a.B)?b=new DK(new g.tK(a.B)):(b=null===a.F?GK(a.A,b,c):a.F,b=g.HK(a.A,b),a.B&&Oka(b,a.B));(d=d||a.range)&&b.set("range",d.toString());a.requestId&&b.set("req_id",a.requestId);isNaN(a.C)||b.set("headm",a.C.toString());isNaN(a.D)||b.set("mffa",a.D+"ms");return b};
PK=function(a){if(a.range)return a.range.length;a=a.o[0];return Math.round(a.J*a.o.info.o)};
Rka=function(a,b,c){return a.range?new g.FJ(a.range.start+b,a.range.end):HJ(b,c)};
QK=function(a,b,c){this.sampleRate=a||0;this.o=b||0;this.spatialAudioType=c||0};
Ska=function(a,b,c,d){this.displayName=a;this.vssId=b;this.languageCode=c;this.kind=void 0===d?"":d};
RK=function(a,b,c){this.name=a;this.id=b;this.isDefault=c};
UK=function(a,b,c,d,e,f,k,l,m,n,p,q){this.width=a;this.height=b;this.quality=f||SK(a,b);this.o=g.TK[this.quality];this.isAccelerated=!!k;this.fps=c||0;this.stereoLayout=!e||null!=d&&0!=d&&1!=d?0:e;this.projectionType=d?2==d&&2==e?3:d:0;(a=l)||(a=g.TK[this.quality],0==a?a="\u0410\u0432\u0442\u043e\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430":(b=this.fps,c=this.projectionType,a=a+(2==c||3==c||4==c?"s":"p")+(55<b?"60":49<b?"50":39<b?"48":"")));this.qualityLabel=a;this.A=m||"";this.primaries=
n||"";this.C=!1!==p;this.streamType=q||0};
VK=function(a){return 1280<=a.width||720<=a.height};
WK=function(a){return"smpte2084"==a.A||"arib-std-b67"==a.A};
SK=function(a,b){for(var c=Math.max(a,b),d=Math.min(a,b),e=XK[0],f=0;f<XK.length;f++){var k=XK[f],l=g.TK[k];if(c>=1.3*Math.floor(16*l/9)||d>=1.3*l)return e;e=k}return"tiny"};
ZK=function(a,b,c,d,e,f,k,l,m){this.id=a;this.containerType=YK(b);this.mimeType=b;this.o=k||0;this.B=l||0;this.audio=void 0===c?null:c;this.video=void 0===d?null:d;this.Ob=void 0===e?null:e;this.captionTrack=void 0===m?null:m;this.Wc=void 0===f?null:f;this.A=Tka[PJ(this)]||"";this.C=null};
PJ=function(a){return a.id.split(";",1)[0]};
$K=function(a){return"9"==a.A||"("==a.A||"9h"==a.A||"(h"==a.A};
aL=function(a){return"9h"==a.A||"(h"==a.A};
g.XJ=function(a){return 1==a.containerType};
bL=function(a){return"application/x-mpegURL"==a.mimeType};
cL=function(a){return/(opus|vorbis|mp4a|dtse|ac-3|ec-3)/.test(a)};
dL=function(a){return a.includes("vtt")||a.includes("text/mp4")};
YK=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};
eL=function(a,b,c,d,e,f,k){var l=new QK;b in g.TK||(b="small");d&&e?(e=parseInt(e,10),d=parseInt(d,10)):(e=g.TK[b],d=Math.round(16*e/9));b=new UK(d,e,0,null,void 0,b,f,void 0,void 0,void 0,k);a=unescape(a.replace(/&quot;/g,'"'));return new ZK(c,a,l,b)};
fL=function(a,b,c){this.info=b;this.initRange=c||null;this.H=this.o=null;this.F=!1;this.D=null;this.L=0;this.C=new Qka(a);this.B=null;this.M=NaN;this.J=null};
gL=function(a,b){a.info&&a.info.video&&4==a.info.video.projectionType&&!a.B&&(g.XJ(a.info)?a.B=yka(b):2==a.info.containerType&&(a.B=zka(b)))};
hL=function(a,b,c,d,e,f){f=void 0===f?0:f;fL.call(this,a,b,d);this.index=e||new g.GI;this.G=f;this.V=c;this.K=!0;if(this.A=!c)this.F=!0};
iL=function(){return!("function"!=typeof window.fetch||!window.ReadableStream)};
jL=function(a){if(a.zm())return!1;a=a.Vd("content-type");return"audio/mp4"==a||"video/mp4"==a};
kL=function(a){return a.o?a.J&&a.B&&iL()?3:2:a.V?-1:1};
lL=function(a,b,c,d,e,f){e=void 0===e?Infinity:e;this.segments=[];this.o=a;this.G=void 0===b?0:b;this.A=void 0===c?!1:c;this.C=-1;this.D=void 0===d?0:d;this.H=e;this.F=void 0===f?0:f;this.B=null};
nL=function(a,b,c){b=mL(a,b);return 0<=b&&(c||!a.segments[b].o)};
oL=function(a){return a.segments.length?a.segments[a.segments.length-1]:null};
mL=function(a,b){return g.rb(a.segments,{Ub:b},function(c,d){return c.Ub-d.Ub})};
pL=function(a,b,c){return new FI(b,Math.max(0,c.startTime-(c.Ub-b)*a.o),a.o,0,"sq/"+b,void 0,void 0,!0)};
qL=function(a,b,c,d,e,f,k,l){d=void 0===d?!1:d;e=void 0===e?14400:e;f=void 0===f?0:f;k=void 0===k?Infinity:k;l=void 0===l?0:l;hL.call(this,a,b,"",void 0,void 0,c);this.index=new lL(c||0,e,d,f,k,l)};
Uka=function(a,b,c,d,e){this.Ub=a;this.o=b;this.durationSecs=c;this.A=d||NaN;this.C=e||NaN};
rL=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""};
sL=function(a,b){for(var c=a;c;c=c.parentNode){var d=c.getElementsByTagName(b);if(0<d.length)return d[0]}return null};
tL=function(a){if(!a)return 0;var b=a.match(/PT(([0-9]*)H)?(([0-9]*)M)?(([0-9.]*)S)?/);return b?3600*parseFloat(b[2]||0)+60*parseFloat(b[4]||0)+parseFloat(b[6]||0):parseFloat(a)};
uL=function(a){return a.match(/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})\.(\d{3})$/)?a+"Z":a};
vL=function(){this.o=[];this.A=null;this.D=0;this.B=[];this.C=!1;this.F=""};
Vka=function(a){var b=a.B;a.B=[];return b};
Wka=function(){this.B=[];this.o=null;this.A={};this.C={}};
$ka=function(a,b,c){var d=[];b=Array.from(b.getElementsByTagName("SegmentTimeline"));b=g.r(b);for(var e=b.next();!e.done;e=b.next()){e=e.value;var f=e.parentNode.parentNode,k=null;"Period"==f.nodeName?k=Xka(a):"AdaptationSet"==f.nodeName?k=Yka(a,f.attributes.id?f.attributes.id.value:f.attributes.mimetype.value):"Representation"==f.nodeName&&(k=Zka(a,f.attributes.id.value));if(null==k)return;k.update(e,c);jb(d,Vka(k))}jb(a.B,d);laa(a.B,function(l){return 1E3*l.o+l.A})};
ala=function(a){a.o&&(a.o.o=[]);g.Mb(a.A,function(b){b.o=[]});
g.Mb(a.C,function(b){b.o=[]})};
Xka=function(a){a.o||(a.o=new vL);return a.o};
Yka=function(a,b){a.A[b]||(a.A[b]=new vL);return a.A[b]};
Zka=function(a,b){a.C[b]||(a.C[b]=new vL);return a.C[b]};
wL=function(a,b,c,d,e){fL.call(this,a,b,d||void 0);this.index=new g.GI;this.indexRange=e;this.A=c};
xL=function(a,b,c){var d=a.index.yu(b),e=a.index.kd(b),f=a.index.getDuration(b),k;c?f=k=0:0<a.info.o&&(k=a.info.o*f);a=new JJ(3,a,null,"otfCreateRequestInfoForSegment",b,e,f,0,k,b==a.index.Lb()&&0<k);return new KK([a],d)};
bla=function(a,b){if(!a.index.Mb()){for(var c=[],d=b.J,e=b.K.split(",").filter(function(q){return 0<q.length}),f=0,k=0,l=0,m=/^(\d+)/,n=/r=(\d+)/,p=0;p<d;p++){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 FI(p,f,k,NaN,"sq/"+(p+1)));f+=k;l--}a.index.append(c)}};
g.yL=function(){this.Pa=0;this.o=new Float64Array(128);this.A=new Float64Array(128);this.B=1;this.C=!1};
zL=function(a){if(a.o.length<a.Pa+1){var b=2*a.o.length;b+=2;var c=a.o;a.o=new Float64Array(b+1);var d=a.A;a.A=new Float64Array(b+1);for(b=0;b<a.Pa+1;b++)a.o[b]=c[b],a.A[b]=d[b]}};
g.AL=function(a,b,c,d,e,f,k){k=void 0===k?{}:k;fL.call(this,a,b,c||void 0);this.indexRange=d;this.G=null;this.index=new g.yL;this.A=e;this.lastModified=f;this.K=k};
BL=function(a,b,c,d){for(var e=[];b<=a.index.Lb();b++){var f=a.index,k=b;f=HJ(f.Aq(k),k+1<f.Pa||f.C?f.o[k+1]-f.o[k]:-1);k=a.index.kd(b);var l=a.index.getDuration(b),m=Math.max(0,c-f.start),n=Math.min(f.end+1,c+d)-(f.start+m);e.push(new JJ(3,a,f,"getRequestInfoForRange_",b,k,l,m,n,b==a.index.Lb()&&m+n==f.length));if(f.start+m+n>=c+d)break}return new KK(e)};
CL=function(){this.length=1};
DL=function(){this.buffered=new CL};
dla=function(a,b){return EL(function(c,d){return g.vG(c,d,4,1E3)},a,b)};
g.FL=function(a){var b;a.responseType&&"text"!=a.responseType?"arraybuffer"==a.responseType&&(b=XI(new Uint8Array(a.response))):b=a.responseText;return!b||2048<b.length?"":0==b.indexOf("https://")?b:""};
EL=function(a,b,c){return a(b,c).then(function(d){var e=g.FL(d);return e?EL(a,e,c):d})};
GL=function(a,b,c){a=void 0===a?"":a;b=void 0===b?null:b;c=void 0===c?!1:c;g.mH.call(this);this.O=this.duration=0;this.tk=this.isLive=this.C=!1;this.K=g.GH();this.G=Infinity;this.o={};this.sourceUrl=a||"";this.F=this.M=0;this.D=null;this.ga=!!b&&b.o("html5_live_nonzero_first_segment_start_time");this.A=!1;this.L=[];this.ea=!!b&&b.o("html5_live_self_init_segments");this.B=null;this.ia=c;this.ba=!b||!b.o("html5_manifest_without_credentials");this.H=0;this.V=!!b&&b.o("disable_html5_manifest_namespace_redux");
this.Y="";this.J=NaN;this.aa=b&&b.o("disable_html5_duration_caching")?Infinity:10};
HL=function(a){return Qb(a.o,function(b){return!!b.info.Wc})};
ela=function(a){return Qb(a.o,function(b){return dL(b.info.mimeType)})};
fla=function(a){return g.Rb(a.o,function(b){return b.info.video?b.Sq():!0})};
gla=function(a){return Qb(a.o,function(b){return wK(b.C.A)})};
IL=function(a,b){a.o[b.info.id]=b};
KL=function(a,b,c,d,e,f){var k=hla(a);return d||e?ila(a,e,b,f):3==k&&JL?jla(a,b,c,f):kla(a,b,c,f)};
kla=function(a,b,c,d){c=void 0===c?0:c;var e=new GL("",d,!1);e.duration=c||0;(0,g.C)(a,function(f){var k=LL(f,b,e.duration),l=GJ(f.init),m=GJ(f.index),n=parseInt(f.clen,10),p=ML(f.url,f.sp,f.s),q=parseInt(f.lmt,10);p&&IL(e,new g.AL(p,k,l,m,n,q,f))});
return e};
jla=function(a,b,c,d){c=void 0===c?0:c;var e=new GL("",d,!1);e.duration=c||0;var f=d&&d.o("html5_manifestless_vp9_otf");(0,g.C)(a,function(k){var l=LL(k,b,e.duration),m=ML(k.url,k.sp,k.s);if((g.XJ(l)||f)&&m)if(l.video&&3==l.video.streamType)IL(e,new wL(m,l,"sq/0",null,null));else{var n=GJ(k.init);k=GJ(k.index);IL(e,new wL(m,l,"",n,k))}});
return e};
ila=function(a,b,c,d){var e=new GL("",d,!0);(0,g.C)(a,function(f){var k=LL(f,c),l=ML(f.url,f.sp,f.s),m=parseInt(f.target_duration_sec,10);f=parseInt(f.max_dvr_duration_sec,10)||14400;var n=parseInt(l.get("min_sq"),10)||0,p=parseInt(l.get("max_sq"),10)||Infinity,q=!dL(k.mimeType);if(l){var u=0;d&&d.o("html5_manifestless_post_live_exclude_placeholders")&&b&&(u=1<m?Math.ceil(10/m):10);IL(e,new qL(l,k,m,d&&d.o("html5_manifestless_interpolate")&&q,f,n,p,u))}});
e.C=!b;e.tk=!0;e.A=!0;e.isLive=!b;return e};
LL=function(a,b,c){c=void 0===c?0:c;var d=a.type,e=a.itag;var f=a.itag;var k=a.xtags;k&&(f=a.itag+";"+k);var l=null;k=null;if(/(vp9|vp09|vp8|avc1|av01)/.test(d)){l=(a.size||"640x360").split("x");l=new UK(+l[0],+l[1],+a.fps,+a.projection_type,+a.stereo_layout,void 0,!!a.isAccelerated,a.quality_label,a.eotf,a.primaries,!!a.isAcceleratedUiEnabled,+a.stream_type);var m=l;null===NL&&(NL=window.MediaSource&&MediaSource.isTypeSupported&&MediaSource.isTypeSupported('video/webm; codecs="vp09.02.51.10.01.09.16.09"')&&
!MediaSource.isTypeSupported('video/webm; codecs="vp09.02.51.10.01.09.99.99"'));if((NL||OL)&&('video/webm; codecs="vp9"'==d||'video/webm; codecs="vp9.2"'==d)){var n="00",p="08",q="01",u="01",w="01";'video/webm; codecs="vp9.2"'==d&&(n="02",p="10","bt2020"==m.primaries&&(w=q="09"),"smpte2084"==m.A&&(u="16"),"arib-std-b67"==m.A&&(u="18"));d='video/webm; codecs="'+["vp09",n,"51",p,"01",q,u,w].join(".")+'"'}}n=m=null;cL(d)&&(m=new QK(+a.audio_sample_rate||void 0,lla[e]||0,+a.spatial_audio_type),a.name&&
(n=new RK(a.name,a.audio_track_id,"1"==a.isDefault)));a.caption_display_name&&a.caption_vss_id&&a.caption_language_code&&(k=new Ska(a.caption_display_name,a.caption_vss_id,a.caption_language_code,a.caption_kind));e=parseInt(a.bitrate,10)/8;p=parseInt(a.clen,10);c=c&&p?p/c:0;p=null;if(b&&a.drm_families)for(p={},a=g.r(a.drm_families.split(",")),q=a.next();!q.done;q=a.next())q=q.value,p[q]=b[q];return new ZK(f,d,m,l,n,p,e,c,k)};
hla=function(a){return(0,g.xk)(a,function(b){return 3==+b.stream_type})?3:0};
ML=function(a,b,c){b=void 0===b?"":b;c=void 0===c?"":c;var d=new g.tK(a);a.match(/https:\/\/yt.akamaized.net/)||d.set("alr","yes");c&&d.set(b,encodeURIComponent(sK(decodeURIComponent(c))));return d};
RL=function(a,b){var c=rL(b,"id");c=c.replace(":",";");var d=rL(b,"mimeType"),e=rL(b,"codecs");d=e?d+'; codecs="'+e+'"':d;e=parseInt(rL(b,"bandwidth"),10)/8;var f=parseInt(sL(b,"BaseURL").getAttribute(PL(a,"contentLength")),10);f=a.duration&&f?f/a.duration:0;var k=null;if(/(vp9|vp09|vp8|avc1|av01)/.test(d)){k=parseInt(rL(b,"width"),10);var l=parseInt(rL(b,"height"),10),m=parseInt(rL(b,"frameRate"),10),n=mla(rL(b,PL(a,"projectionType")));a:switch(rL(b,PL(a,"stereoLayout"))){case "layout_left_right":var p=
1;break a;case "layout_top_bottom":p=2;break a;default:p=0}rL(b,"video_level");k=new UK(k,l,m,n,p,void 0,void 0,void 0,void 0,void 0,void 0)}m=l=null;if(cL(d))if(l=parseInt(rL(b,"audioSamplingRate"),10),m=parseInt(rL(b.getElementsByTagName("AudioChannelConfiguration")[0],"value"),10),n=nla(rL(b,PL(a,"spatialAudioType"))),l=new QK(l,m,n),m=rL(b,"lang")||"und",n=sL(b,"Role")){var q=rL(n,"value")||"";Xb(QL,q)?(n=m+"."+QL[q],p="main"==q,m=rL(b,PL(a,"langName"))||m+" - "+q,m=new RK(m,n,p)):m=null}else m=
null;p=null;if(n=sL(b,"ContentProtection"))if(g.cG())if((p=n.attributes.schemeIdUri)&&"http://youtube.com/drm/2012/10/10"==p.value)for(p={},n=n.firstChild;null!=n;n=n.nextSibling)"yt:SystemURL"==n.nodeName&&(p[n.attributes.type.value]=n.textContent.trim());else p=null;else if((p=n.attributes.schemeIdUri)&&"http://youtube.com/drm/2012/10/10"==p.textContent)for(p={},n=n.firstChild;null!=n;n=n.nextSibling)"SystemURL"==n.localName&&"http://youtube.com/yt/2012/10/10"==n.namespaceURI&&(p[n.attributes.type.textContent]=
n.textContent.trim());else p=null;return new ZK(c,d,l,k,m,p,e,f)};
mla=function(a){switch(a){case "equirectangular":return 2;case "equirectangular_threed_top_bottom":return 3;case "mesh":return 4;case "rectangular":return 1;default:return 0}};
nla=function(a){switch(a){case "spatial_audio_type_ambisonics_5_1":return 1;case "spatial_audio_type_ambisonics_quad":return 2;case "spatial_audio_type_foa_with_non_diegetic":return 3;default:return 0}};
SL=function(a,b){b=void 0===b?"":b;a.F=1;a.K=g.GH();return g.Mg(dla(b||a.sourceUrl,{format:"RAW",method:"GET",withCredentials:a.ba}).then((0,g.A)(a.kL,a)),(0,g.A)(a.nL,a))};
ola=function(a,b,c){return SL(new GL(a,b,c),a)};
TL=function(a,b){var c=new GL,d;for(d in a)c[d]=g.jc(a[d]);var e={},f=!1;g.Mb(a.o,function(k,l){if(k){var m=b(k,l);m?(e[l]=m,f=!0):e[l]=k}});
c.o=e;return f?c:null};
pla=function(a,b,c){var d=a.getAttribute("media"),e=null;c||(a=a.getAttribute("mediaRange"),null!=a&&(0<=parseInt(a.split("-")[1],10)?e=GJ(a):d=d+"?range="+a));return new FI(b.Ub,b.o,b.durationSecs,b.A,d,e,b.C)};
UL=function(a){return a.isLive&&g.GH()-a.K>=a.G};
VL=function(a){var b=a.G;isFinite(b)&&(UL(a)?a.pD():(b=Math.max(0,a.K+b-g.GH()),a.B||(a.B=new g.V(a.pD,b,a),g.L(a,a.B)),a.B.start(b)))};
qla=function(a){a=a.o;for(var b in a){var c=a[b].index;if(c.Mb())return c.Lb()+1}return 0};
WL=function(a){if(!isNaN(a.J))return a.J;var b=a.o,c;for(c in b){var d=b[c].index;if(d.Mb()){b=0;for(c=d.qf();c<=d.Lb();c++)b+=d.getDuration(c);b/=d.Xj();b=.5*Math.round(b/.5);d.Xj()>a.aa&&(a.J=b);return b}if(a.isLive&&(d=b[c],d.G))return d.G}return NaN};
XL=function(a,b){for(var c in a.o){var d=a.o[c].index;if(d.Mb()){var e=d.Rf(b),f=d.jw(e);if(f)return f+b-d.kd(e)}}return NaN};
rla=function(a,b){var c=$b(a.o,function(e){return e.index.Mb()});
if(!c)return NaN;c=c.index;var d=c.Rf(b);return c.kd(d)==b?b:d<c.Lb()?c.kd(d+1):NaN};
sla=function(a,b){g.Mb(a.o,function(c){g.Mb(b,function(d,e){var f=c.C;f.A.set(e,d);f.B.set(e,d);f.C&&f.C.set(e,d)})})};
tla=function(a,b,c){var d=!1,e;for(e in a.o){var f=dL(a.o[e].info.mimeType)||!!a.o[e].info.video;c==f&&(f=a.o[e].index,nL(f,b.Ub)||(f.oD(b),d=!0))}return d};
YL=function(a,b,c){for(var d in a.o){var e=dL(a.o[d].info.mimeType)||!!a.o[d].info.video;if(c==e){e=a.o[d].index;var f=mL(e,b);0<=f&&e.segments.splice(f,1)}}};
PL=function(a,b){return a.V?"yt:"+b:a.Y+":"+b};
ula=function(a){return g.Ua(Object.values(a.o),function(b){return b.info.Wc&&b.info.video?480<b.info.video.o&&"H"==b.info.A:!1})};
ZL=function(){var a=g.y("yt.player.utils.videoElement_");a||(a=g.ke("VIDEO"),g.Da("yt.player.utils.videoElement_",a,void 0));return a};
$L=function(a){var b=ZL();return!!(b&&b.canPlayType&&b.canPlayType(a))};
bM=function(a){if(/opus/.test(a)&&(g.aM&&!Xo("38")||g.aM&&$F("crkey")))return!1;if(window.MediaSource&&window.MediaSource.isTypeSupported)return window.MediaSource.isTypeSupported(a);if(/webm/.test(a)&&!fG())return!1;'audio/mp4; codecs="mp4a.40.2"'==a&&(a='video/mp4; codecs="avc1.4d401f"');return!!$L(a)};
cM=function(){var a=ZL();return!!a.webkitSupportsPresentationMode&&g.Ja(a.webkitSetPresentationMode)};
dM=function(){return"pictureInPictureEnabled"in window.document&&!!window.document.pictureInPictureEnabled};
eM=function(){var a=ZL();try{var b=a.muted;a.muted=!b;return a.muted!=b}catch(c){}return!1};
fM=function(a,b){this.o=a;this.A=b;this.C=0;Object.defineProperty(this,"timestampOffset",{get:this.tW,set:this.xW});Object.defineProperty(this,"buffered",{get:this.rW})};
vla=function(){this.length=0};
gM=function(a){this.activeSourceBuffers=this.sourceBuffers=[];this.o=a;this.A=NaN;this.C=0;Object.defineProperty(this,"duration",{get:this.sW,set:this.wW});Object.defineProperty(this,"readyState",{get:this.uW});this.o.addEventListener("webkitsourceclose",(0,g.A)(this.vW,this),!0)};
hM=function(a,b,c){this.errorCode=a;this.o=b;this.details=c||{}};
iM=function(a){var b;for(b in a){var c=(""+a[b]).replace(/[:,=]/g,"_");var d=(d?d+";":"")+b+"."+c}return d||""};
jM=function(a,b){return{start:function(c){return a[c]},
end:function(c){return b[c]},
length:a.length}};
kM=function(a,b){b=void 0===b?",":b;var c="";if(a)for(var d=0;d<a.length;d++)c+=a.start(d).toFixed(3)+"-"+a.end(d).toFixed(3)+b;return c};
lM=function(a,b){if(!a)return-1;try{for(var c=0;c<a.length;c++)if(a.start(c)<=b&&a.end(c)>=b)return c}catch(d){}return-1};
mM=function(a,b){if(!a)return NaN;var c=lM(a,b);return 0<=c?a.end(c):NaN};
nM=function(a){return a&&a.length?a.end(a.length-1):NaN};
oM=function(a,b){var c=mM(a,b);return 0<=c?c-b:0};
pM=function(a,b,c){for(var d=[],e=[],f=0;f<a.length;f++)a.end(f)<b||a.start(f)>c||(d.push(Math.max(b,a.start(f))-b),e.push(Math.min(c,a.end(f))-b));return jM(d,e)};
qM=function(a,b){g.mH.call(this);var c=this;this.o=a;this.D=b;this.F=null;this.B=this.C=!1;this.A=function(d){return c.U(d.type,c)};
this.supports(3)&&(this.o.addEventListener("updateend",this.A),this.o.addEventListener("error",this.A))};
rM=function(a,b,c,d){g.mH.call(this);var e=this;this.o=a;this.J={error:function(){!e.la()&&e.isActive()&&e.U("error",e)},
updateend:function(){!e.la()&&e.isActive()&&e.U("updateend",e)}};
nH(this.o,this.J);this.A=b;this.H=c;this.D=0;this.B=Infinity;this.F=0;this.G=this.C=d};
sM=function(a){return a.o.wp()!=a.D+a.A||a.o.pu()!=a.B+a.A||a.o.Qc()!=a.F+a.A};
tM=function(a,b){this.o=a;this.A=!!b;this.C=!1};
uM=function(a,b){b=void 0===b?!1:b;g.K.call(this);this.D=new g.jH(this);g.L(this,this.D);this.A=this.o=null;this.C=a;var c=this.C;c=c.PO?c.o.webkitMediaSourceURL:window.URL.createObjectURL(c);this.gn=new tM(c,!0);this.F=b;this.B=null;kH(this.D,this.C,["sourceopen","webkitsourceopen"],this.ZT);kH(this.D,this.C,["sourceclose","webkitsourceclose"],this.XT)};
wla=function(a,b){vM(a)?g.vg(function(){return b(a)}):a.B=b};
wM=function(a,b){try{a.C.duration=b}catch(c){}};
vM=function(a){try{return"open"==a.C.readyState}catch(b){return!1}};
xM=function(a){try{return"closed"==a.C.readyState}catch(b){return!0}};
yM=function(){return!(!window.MediaSource||!window.MediaSource.isTypeSupported)};
zM=function(a){return a.o?!!a.o.supports(0):yM()};
AM=function(a,b,c,d){if(!a.o||!a.A)return null;var e=a.o.isView()?a.o.o:a.o,f=a.A.isView()?a.A.o:a.A,k=new uM(a.C,!0);k.gn=a.gn;e=new rM(e,b,c,d);b=new rM(f,b,c,d);k.o=e;k.A=b;g.L(k,e);g.L(k,b);vM(a)||a.o.Er(a.o.Qc());return k};
BM=function(a,b,c){this.o=a;this.D=b;this.F=void 0===c?!1:c;this.B=!!g.y("cast.receiver.platform.canDisplayType");a=g.y("cast.receiver.platform.getValue");this.A=!this.B&&a&&a("max-video-resolution-vpx")||null;this.C={}};
xla=function(a,b){if("0"==PJ(b))return!0;var c=b.mimeType;if(b.video&&(WK(b.video)||"bt2020"==b.video.primaries)&&!(24<window.screen.pixelDepth||CM(a,DM))||"338"==PJ(b)&&!(g.aM?Xo(53):g.EM&&Xo(64)&&a.o.o("html5_firefox_ambisonic_opus")))return!1;var d={};b.video&&(b.video.width&&(d[FM.name]=b.video.width),b.video.height&&(d[GM.name]=b.video.height),b.video.fps&&(d[HM.name]=b.video.fps),b.video.A&&(d[DM.name]=b.video.A),b.o&&(d[IM.name]=8*b.o),"("==b.A&&(d[JM.name]="subsample"),2==b.video.projectionType||
3==b.video.projectionType||4==b.video.projectionType)&&(d[KM.name]="true");b.audio&&b.audio.o&&(d[LM.name]=b.audio.o);for(var e in MM){var f=MM[e],k;if(k=d[f.name])(k=f==DM&&0<b.mimeType.indexOf("vp09.02"))||(k=b,k=a.o.o("html5_ignore_h264_framerate_cap")&&f==HM&&("H"==k.A||"h"==k.A)),k=!(k||f==KM&&!a.o.o("html5_decode_to_texture_cap"));if(k)if(CM(a,f))if(a.A){if(a.A[f.name]<d[f.name])return!1}else c=c+"; "+f.name+"="+d[f.name];else if(aL(b)&&f==DM)return!1}!a.o.o("disable_html5_cast_hdcp_filter2")&&
a.B&&b.video&&1080<b.video.o&&b.Wc&&(c+="; hdcp=2.2");return"227"!=PJ(b)||a.o.o("html5_enable_1080p_hq_cenc")?NM(a,c):!1};
OM=function(){var a=bG()&&!Xo(29),b=$F("google tv")&&$F("chrome")&&!Xo(30),c=dG();return a||b||c?!1:!!(window.MediaSource||window.WebKitMediaSource||window.HTMLMediaElement&&HTMLMediaElement.prototype.webkitSourceAddId)};
g.PM=function(a){return!(!a.canPlayType(ZL(),"application/x-mpegURL")&&!OM())};
CM=function(a,b){if(!(b.name in a.C)){var c=a.C,d=b.name;if(a.A)var e=!!a.A[b.name];else b==IM&&a.o.o("html5_ignore_bad_bitrates")&&NM(a,'video/webm; codecs="vp9"; width=3840; height=2160; bitrate=2000000')&&!NM(a,'video/webm; codecs="vp9"; width=3840; height=2160; bitrate=20000000')?e=!1:(b.video?(e='video/webm; codecs="vp9"',NM(a,e)||(e='video/mp4; codecs="avc1.4d401e"')):(e='audio/webm; codecs="opus"',NM(a,e)||(e='audio/mp4; codecs="mp4a.40.2"')),e=NM(a,e+"; "+b.name+"="+b.valid)&&!NM(a,e+"; "+
b.name+"="+b.Eh));c[d]=e}return a.C[b.name]};
NM=function(a,b){return a.B?window.cast.receiver.platform.canDisplayType(b):bM(b)};
yla=function(a){return g.QM||nG()&&!a.o.o("html5_samsung_vp9_live")?!1:!0};
RM=function(a){this.Hg=a};
SM=function(a,b,c){if(c)return xG();var d={};c=ZL();b=g.r(b);for(var e=b.next();!e.done;e=b.next())if(e=e.value,a.canPlayType(c,e.Pf().mimeType)){var f=e.Hg.za().quality;d[f]&&2!=d[f].Pf().containerType||(d[f]=e)}var k=[];d.auto&&k.push(d.auto);(0,g.C)(XK,function(l){(l=d[l])&&k.push(l)});
return k.length?yG(k):xG()};
TM=function(a,b,c,d){this.A=a||0;this.o=b||0;this.C=c;this.reason=d};
UM=function(a,b){return a.A==b.A&&a.o==b.o&&a.C==b.C&&a.reason==b.reason};
VM=function(a,b,c,d){return new TM(g.TK[a]||0,g.TK[b]||0,c,d)};
WM=function(a){var b=g.TK.auto;return a.A==b&&a.o==b};
YM=function(a,b){if(b.C&&WM(b))return XM;if(b.C||WM(a))return b;if(a.C||WM(b))return a;var c=a.A&&b.A?Math.max(a.A,b.A):a.A||b.A,d=a.o&&b.o?Math.min(a.o,b.o):a.o||b.o;c=Math.min(c,d);return c==a.A&&d==a.o?a:new TM(c,d,!1,d==a.o?a.reason:b.reason)};
ZM=function(a){var b=a.o||a.A;return $b(zla,function(c){return g.TK[c]==b})||"auto"};
aN=function(a,b){var c=g.TK[b];return a.A<=c&&(!a.o||a.o>=c)};
bN=function(){g.mH.call(this);this.Qa={}};
Ala=function(){var a=g.BI("yt-player-volume")||{},b=a.volume;return{volume:isNaN(b)?100:g.Jd(Math.floor(b),0,100),muted:!!a.muted}};
cN=function(a){g.AI("yt-player-bandwidth",a,2592E3)};
dN=function(){return g.BI("yt-player-quality")||"auto"};
eN=function(a,b){var c="";49<b?c="p60":32<b&&(c="p48");return a+c};
gN=function(a,b,c){var d=fN();a=eN(a,b);0<+d[a]&&(c=Math.min(+d[a],c));d[a]!=c&&(d[a]=c,g.AI("yt-player-performance-cap",d,604800))};
hN=function(a,b){return+fN()[eN(a,b)]||0};
fN=function(){return g.BI("yt-player-performance-cap")||{}};
iN=function(a){g.AI("yt-player-watch-later-pending",a)};
jN=function(){return g.BI("yt-player-headers-readable")||!1};
kN=function(a){g.AI("yt-player-playback-on-reload",a)};
lN=function(){return+(window.localStorage&&window.localStorage["yt-player-av1-pref"])||0};
Bla=function(){this.A=0;this.F=this.bandwidthEstimate=this.D=this.C=this.B=NaN;this.o=""};
Cla=function(){this.B=2048;this.o=17;this.C=13E4;this.G=.5;this.A=!1;this.D=0;this.F=!1};
mN=function(a){this.D=Math.exp(Math.log(.5)/a);this.C=this.B=0};
oN=function(a,b,c,d){c=void 0===c?.5:c;d=void 0===d?0:d;this.L=b;this.C=Math.round(a*this.L);this.D=Array(this.C);for(a=0;a<this.C;a++)this.D[a]=Infinity;this.K=nN(this);this.B=0;this.F=!1;this.H=!0;this.G=c;this.J=d};
nN=function(a){for(var b=Array(a.C),c=0;c<a.C;c++)b[c]=c;return b};
pN=function(a,b){if(!a.F&&0==a.B)return 0;a.H&&(g.tb(a.K,function(c,d){return a.D[c]-a.D[d]}),a.H=!1);
return a.D[a.K[Math.round(b*((a.F?a.C:a.B)-1))]]||0};
Dla=function(a){this.policy=a;this.J=this.K=0;this.D=-1;this.H=this.C=g.GH();this.G=new oN(4,1,.6,.4);this.B=new oN(10,1,.5,.4);this.o=a.A?new mN(a.o):new oN(a.o,20,.5,.4);this.F=new oN(5,1,.25);this.A=new oN(30,1,.5);a=g.BI("yt-player-bandwidth")||{};this.o.A(this.policy.G,0<a.byterate?a.byterate:this.policy.C);0<a.delay&&this.G.A(1,Math.min(+a.delay,2));0<a.stall&&this.B.A(1,+a.stall);0<a.init&&(this.H=Math.min(a.init,this.H));this.D=g.GH()};
rN=function(a,b,c){b=Math.max(b,a.policy.B);a.B.A(1,c/b);qN(a)};
sN=function(a){a=a.G.o();a=isNaN(a)?.5:a;return a=Math.min(a,5)};
tN=function(a,b,c){isNaN(c)||(a.J+=c);isNaN(b)||(a.K+=b)};
uN=function(a){a=a.o.o();return 0<a?a:1};
vN=function(a){var b=uN(a);b=1/((a.B.o()||0)+1/b);a=a.F.o();return Math.max(b,0<a?a:1)};
wN=function(a){var b={};b.delay=sN(a);b.stall=a.B.o()||0;b.byterate=uN(a);b.init=a.H;return b};
qN=function(a){-1<a.D&&3E4<g.GH()-a.D&&(cN(wN(a)),a.D=g.GH())};
xN=function(a){return 4E3<=g.GH()-a.C};
yN=function(a,b){return void 0==b?a:"1"==b||"True"==b?!0:!1};
zN=function(a,b,c){for(var d in c)if(c[d]==b)return c[d];return a};
AN=function(a,b){return void 0==b?a:Number(b)};
BN=function(a,b){return void 0==b?a:b.toString()};
CN=function(a,b){if(b){if("fullwidth"==a)return Infinity;if("fullheight"==a)return 0}if(a){var c=a.match(Ela);if(c){var d=parseFloat(c[2]);if(0<d)return parseFloat(c[1])/d}}return NaN};
DN=function(a){return a.docid||a.video_id||a.videoId||a.id||null};
FN=function(){this.o=g.YE("ALT_PREF_COOKIE_NAME","PREF");var a=YH.get(""+this.o,void 0);if(a){a=decodeURIComponent(a).split("&");for(var b=0;b<a.length;b++){var c=a[b].split("="),d=c[0];(c=c[1])&&(EN[d]=c.toString())}}};
GN=function(a){if(/^f([1-9][0-9]*)$/.test(a))throw Error("ExpectedRegexMatch: "+a);};
HN=function(a){if(!/^\w+$/.test(a))throw Error("ExpectedRegexMismatch: "+a);};
cO=function(a){g.K.call(this);a=g.ic(a);this.Ra=this.sa="";this.vg=BN("",a.csp_nonce);this.experiments=new dK(a.fexp,a.fflags);this.Pb=a.forced_experiments||null;try{var b=document.location.toString()}catch(e){b=""}this.jb=b;this.yc=(b=window.location.ancestorOrigins)?Array.from(b):[];this.o=yN(!1,a.is_embed);this.Np=yN(!1,a.hide_thumbnail);this.loaderUrl=this.o?BN("",a.loaderUrl):this.jb;this.Nb=Fla.test(this.loaderUrl);b=this.loaderUrl;var c=void 0===c?!1:c;this.Kq=gK(Gla.test(b),b,c,"Trusted Ad Domain URL");
this.Y=yN(!1,a.privembed);this.protocol=0==this.jb.indexOf("http:")?"http":"https";this.D=hK(a.BASE_YT_URL||"")||hK(this.jb)||this.protocol+"://www.youtube.com/";c=a.el;b="detailpage";"adunit"==c?b=this.o?"embedded":"detailpage":"embedded"==c||this.Nb?b=zN(b,c,Hla):c&&(b="embedded");this.O=b;UH();c=null;b=a.ps;var d=g.Ya(IN,b);!b||d&&!this.Nb||(c=b);this.playerStyle=c;this.K=(this.gc=g.Ya(IN,this.playerStyle))&&"play"!=this.playerStyle&&"jamboard"!=this.playerStyle;this.bq=!this.K;c={};this.deviceParams=
(c.c=a.c||"web",c.cver=a.cver||"html5",c.cplayer="UNIPLAYER",c);this.L=yN(!1,a.disableplaybackui);c=!this.na("no_effort_to_detect_playback_rate_killswitch");if(b=!this.L)c=void 0===c?!0:c,b=ZL(),b=c?b.defaultPlaybackRate?g.de&&Xo("9")||g.QM&&Xo("12")||g.EM&&Xo("20")||g.aM&&Xo("4")||JN&&Xo("4")||hG()||g.Kf&&Xo("11")?!0:!1:!1:!(!b.defaultPlaybackRate||g.Kf&&!$F("chrome")||KN||LN||$F("android")||$F("silk"));this.xa=b;this.A=yN("blazer"==this.playerStyle,a.is_html5_mobile_device);this.A?c=!0:(c=parseInt((0,g.H)()/
1E3,10),b=FN.getInstance(),c=this.na("block_desktop_background_playback_with_mobile_cookie")&&b&&c>parseInt(b.get("dhmu",c.toString()),10));this.Zp=c;this.aa="3"==this.C||this.A||yN(!1,a.use_media_volume);this.M=eM();this.vr=g.MN;c=yN(!1,a.is_dni);this.cd=yN(!1,a.opt_out_deprecation);this.B=this.na("embed_new_info_bar")&&NN(this)&&!this.cd;this.Jl=this.na("embed_api_deprecation")&&NN(this)&&!c&&!this.cd||yN(!ON(this)&&!PN(this)&&!this.gc,a.showinfo);this.Cj=yN(!1,a.playsinline);b=this.A&&QN&&0<RN&&
2.3>=RN;d=this.A;d=SN(this)||!b&&yN(d,a.use_native_controls)?"3":"1";this.C="0"!=a.controls?d:"0";this.sd=this.A;this.color=zN("red",a.color,Ila);this.fr="3"==this.C||yN(!1,a.modestbranding)&&"red"==this.color;this.ka=!this.o;this.Kl=(d=!this.ka&&!PN(this)&&!this.K&&!this.gc&&!ON(this))&&!this.fr&&"1"==this.C;this.fd=g.TN(this)&&d&&"0"==this.C&&!this.Kl;this.ts=this.gr=b;this.rd=LN&&!g.Lc(601)?!1:!0;this.tp=this.o||!1;this.ya=PN(this)?"":(this.loaderUrl||a.post_message_origin||"").substring(0,128);
this.widgetReferrer=BN("",a.widget_referrer);this.Ab=(!this.Nb||yN(!0,a.enablecastapi))&&"1"==this.C&&!this.A&&(PN(this)||g.TN(this)||g.UN(this));this.Od=!this.A&&!iG()&&!$F("nintendo 3ds")||VN||yN(!1,a.autoplayoverride);this.qd=yN(!1,a.mutedautoplay)&&!1;b=(PN(this)||ON(this))&&"blazer"==this.playerStyle;this.Qb=!yN(!0,a.fs);this.ga=!this.Qb&&(b||LG());this.Bo=this.na("uniplayer_block_pip")&&bG()&&Xo(58)&&!mG();this.Ia=this.na("embed_api_deprecation")&&NN(this)&&!c&&!this.cd||yN(!this.gc,a.rel);
this.Rr=yN(!1,a.co_rel);this.F=this.experiments.o("embeds_use_parent_target_for_anchor_tags")&&mG&&0<RN&&4.4>=RN?"_top":"_blank";this.La=g.UN(this);this.ed="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.ba=c;
this.Tc=BN("",a.authuser);this.ds=(this.o&&!this.Y||!!this.Tc)&&yN(!this.K,this.Nb?a.showwatchlater:void 0);this.Wa=yN(!1,a.disablekb);this.xg=BN("",a.ecver);this.loop=yN(!1,a.loop);this.pageId=BN("",a.pageid);this.Or=yN(!0,a.canplaylive);this.Do=yN(this.gc,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.Qd(c,b))):c=null;this.Nl=c;this.mute=yN(!1,a.mute);this.Ml=yN(!1,a.use_miniplayer_ui);this.Nd=
!this.mute&&yN("0"!=this.C,a.store_user_volume);this.ih="3"==this.C?3:zN(void 0,a.iv_load_policy,WN);this.kh=BN("",a.cc_lang_pref);c=zN(2,a.cc_load_policy,WN);"3"==this.C&&2==c&&(c=3);this.lh=c;this.Aa=BN("en_US",a.hl);this.region=BN("US",a.cr);this.zg=BN("en",a.host_language);this.Ao=!this.Y&&Math.random()<this.experiments.A("web_player_api_logging_fraction");this.ia=!this.Y;this.yg=new Set;this.deviceHasDisplay=yN(!0,a.deviceHasDisplay);this.Zf=AN(this.Zf,a.ismb);c=a;this.experiments.C("html5_qoe_intercept")?
c=this.experiments.C("html5_qoe_intercept"):this.bq?(c=c.vss_host||"s.youtube.com",this.na("www_for_videostats")&&"s.youtube.com"==c&&(c=XN(this.D)||"www.youtube.com")):c="video.google.com";this.Ol=c;this.eh(a);this.J=new bN;g.L(this,this.J);this.H=this.A&&!this.na("enable_svg_mode_on_embed_mobile");this.tc={qv:BN("",a.innertube_api_key),tv:BN("",a.innertube_api_version),vv:this.deviceParams.c,xv:BN("",a.innertube_context_client_version),zv:this.zg,yv:this.region,Vp:""};this.Il=void 0!=window.WebKitPlaybackTargetAvailabilityEvent;
this.G=new BM(this.experiments,this.na("html5_force_hfr_support")?!0:YN(this)||eG()||fG()||ZN(this),g.aM&&56<=ZF()||ZN(this));c=new Cla;g.$N(this)&&(c.A=!0,c.G=.1);this.experiments.o("html5_ewma_bandwidth_estimator")&&(c.A=!0);this.experiments.o("html5_pctile_bandwidth_estimator")&&(c.A=!1);this.Zf&&(c.C=this.Zf/8);c.o=this.experiments.A("html5_bandwidth_window_size")||c.o;c.F=this.experiments.o("html5_dont_predict_end_time_in_past");this.schedule=new Dla(c);this.enableSafetyMode=yN(!1,a.enable_safety_mode);
this.ae=yN(this.L?!1:PN(this)&&"blazer"!=this.playerStyle,a.allow_autonav);this.Fa=yN(!1,a.send_visitor_id_header)||this.experiments.B;this.jh=!1;this.Dj=XM;this.Bj=g.GH();this.ea=0;this.Me=!1;this.os=yN(!1,a.transparent_background);this.Co=yN(!1,"docs"==this.playerStyle?a.disable_native_context_menu:void 0);this.np=YN(this)&&this.na("enable_skip_intro_button");this.wg=BN("",a.embed_config);this.rs=yN(!0,a.use_fast_sizing_on_watch_default);this.Ag=!1;this.ha=yN(!1,a.external_fullscreen);this.Zb=yN(!1,
a.full_window);this.Ll=yN(!1,a.show_miniplayer_button);this.Oo=yN(!1,a.embedding_app);this.ma=!g.aO(this)&&!bO(this)};
dO=function(a,b){return!a.gc&&bG()&&Xo(55)&&!a.na("html5_progressive_native_killswitch")&&"3"==a.C&&!b};
eO=function(a){a=XN(a.D);return"www.youtube-nocookie.com"==a?"www.youtube.com":a};
fO=function(a){return"gaming"==a.playerStyle?"gaming.youtube.com":eO(a)};
gO=function(a,b,c){return a.protocol+"://i1.ytimg.com/vi/"+b+"/"+(c||"hqdefault.jpg")};
Jla=function(){return WH()};
hO=function(){return!0};
iO=function(a){return PN(a)&&"gaming"!=a.playerStyle&&!g.aO(a)};
SN=function(a){return LN&&!a.Cj||iG()||$F("nintendo 3ds")?!0:!1};
g.$N=function(a){if(!a.na("html5_tv_interface_check_killswitch")&&/^TVHTML5/.test(a.deviceParams.c))return!0;var b=g.aM&&$F("crkey")&&a.na("html5_tv_chromecast_check_killswitch");a=a.deviceParams.cplatform;return b||"TV"==a};
ZN=function(a){return"CHROMECAST ULTRA/STEAK"==a.deviceParams.cmodel||"CHROMECAST/STEAK"==a.deviceParams.cmodel};
g.jO=function(){return 1<window.devicePixelRatio?window.devicePixelRatio:1};
YN=function(a){return"web"==a.deviceParams.c.toLowerCase().substr(0,3)};
bO=function(a){return"WEB_KIDS"==a.deviceParams.c};
g.aO=function(a){return"WEB_UNPLUGGED"==a.deviceParams.c};
g.kO=function(a){return g.aO(a)||"TV_UNPLUGGED_CAST"==a.deviceParams.c||"TVHTML5_UNPLUGGED"==a.deviceParams.c};
lO=function(a){return"WEB_REMIX"==a.deviceParams.c};
g.nO=function(a){return(a.deviceHasDisplay&&g.aM&&!kG&&"3"!==a.C?g.fp?a.o&&g.Lc(51):!0:!1)||(a.deviceHasDisplay&&g.EM&&!kG&&"3"!==a.C?g.fp?a.o&&g.Lc(48):g.Lc(38):!1)||(a.deviceHasDisplay&&g.Kf&&!kG&&"3"!==a.C?g.fp?a.o&&g.Lc(37):g.Lc(27):!1)||a.deviceHasDisplay&&g.mO&&!jG()&&g.Lc(11)||a.deviceHasDisplay&&JN&&g.Lc("604.4")};
oO=function(a){if(g.TN(a)&&QN)return!1;if(g.EM){if(!g.Lc(47)||!g.Lc(52)&&g.Lc(51))return!1}else if(JN)return!1;return window.AudioContext||window.webkitAudioContext?!0:!1};
PN=function(a){return"detailpage"==a.O};
g.TN=function(a){return"embedded"==a.O};
g.pO=function(a){return"leanback"==a.O};
ON=function(a){return"adunit"==a.O||"gvn"==a.playerStyle};
g.UN=function(a){return"profilepage"==a.O};
NN=function(a){return a.o&&g.TN(a)&&!ON(a)&&!a.gc};
Kla=function(a){if(!a.V)return"";if(a.na("web_player_fife_url_killswitch"))return a.V;var b=a.V.split("/");return 8==b.length?(b.splice(7,0,"s20-c"),b.join("/")):9==b.length?(b[7]+="-s20-c",b.join("/")):a.V};
qO=function(a){var b=fO(a);!a.na("yt_embeds_disable_new_error_lozenge_url")&&Lla.includes(b)&&(b="www.youtube.com");return a.protocol+"://"+b};
XN=function(a){var b=g.hh(a);return(a=g.ih(a))?b+":"+a:b};
Mla=function(){this.K=this.M=this.A=this.F=this.B=this.D=this.H=this.G=!1;this.J=!0;this.o=0;this.C=this.L=!1};
Nla=function(a){if(a.H)return["f"];var b="19 9h 9 h 8 (h ( H *".split(" ");a.L&&b.unshift("1");a.A&&b.unshift("h");return b};
Ola=function(a){var b=["o","a","v","A","V"];a.B&&(b=["m","M"].concat(b));a.F&&(b=["meac3","MEAC3","mac3","MAC3"].concat(b));a.G&&(b=["so","sa"].concat(b));a.M&&b.unshift("a");a.D&&b.unshift("ah");return b};
rO=function(a,b,c,d){this.flavor=a;this.o=b;this.B=c;this.C={};this.A=null;this.qh="";this.pm=this.qm=-1;this.eo=null;this.D=!!d&&d.o("edge_nonprefixed_eme")};
tO=function(a){return a.D?!1:!a.A&&!!sO()&&"com.microsoft.playready"==a.o};
uO=function(a){return"com.microsoft.playready"==a.o};
vO=function(a){return g.QM&&"com.microsoft.playready"==a.o&&!!navigator.requestMediaKeySystemAccess};
wO=function(a){return!a.A&&!!sO()&&"com.apple.fps.1_0"==a.o};
sO=function(){var a=window.MSMediaKeys;hG()&&!a&&(a=window.WebKitMediaKeys);return a&&a.isTypeSupported?a:null};
xO=function(a){return navigator.requestMediaKeySystemAccess?g.aM?Xo("45"):g.QM||g.de?a.o("edge_nonprefixed_eme"):g.EM?Xo("47"):!a.o("html5_disable_nonprefixed_eme_for_other"):!1};
g.yO=function(a){a=void 0===a?{}:a;this.A=a.languageCode||"";this.B=a.languageName||null;this.C=a.kind||"";this.D=a.name||null;this.Ja=a.id||null;this.G=a.is_servable||!1;this.H=a.is_translateable||!1;this.J=a.url||null;this.F=a.vss_id||"";this.isDefault=a.is_default||!1;this.o=a.translationLanguage||null};
g.zO=function(a){var b=a.B||"",c=[b];"asr"==a.C&&-1==b.indexOf("(")&&c.push(" (\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0435 \u0442\u0438\u0442\u0440\u044b)");a.D&&c.push(" - "+a.D);a.o&&c.push(" >> "+a.o.languageName);return c.join("")};
AO=function(a,b){this.id=a;this.Ob=b;this.captionTracks=[];this.qp=this.eu=this.o=null;this.Kt="UNKNOWN"};
BO=function(a,b,c){this.videoInfos=a;this.o=b||null;this.audioTracks=[];this.A=c||null;if(this.o){var d={};(0,g.C)(this.o,(0,g.A)(function(e){if(e.Ob&&!d[e.id]){var f=new AO(e.id,e.Ob);d[e.id]=f;this.audioTracks.push(f)}},this))}};
Pla=function(a){return CO()?DO(a.videoInfos).then(function(){return a},function(){return a}):yG(a)};
DO=function(a){var b=CO();if(!b||null!=a[0].C)return yG(a);var c=(0,g.I)(a,function(d){return b&&b.decodingInfo({type:"media-source",video:d.video?{contentType:d.mimeType,width:d.video.width||640,height:d.video.height||360,bitrate:8*d.o||1E6,framerate:d.video.fps||30}:null})});
return g.Jg(c).then(function(d){for(var e=0;e<d.length;e++)a[e].C=d[e].smooth;return a},function(){return a})};
CO=function(){return navigator.mediaCapabilities};
EO=function(a,b,c){var d={},e;for(e in c.o){var f=c.o[e],k=PJ(f.info);("304"==k||"266"==k)&&a.J||a.K&&"h"==f.info.A&&f.info.video&&1080<f.info.video.o||!xla(b,f.info)||(d[f.info.A]=d[f.info.A]||[],d[f.info.A].push(f.info))}return d};
Qla=function(a,b,c){var d={};g.Mb(b,function(e,f){var k=e.filter(function(l){if(l.Wc){var m;if(m=c&&l.Wc[c.flavor]&&c.C[l.mimeType])(l="("!=l.A&&"(h"!=l.A)||(l=CM(a,JM)||a.F),m=l;l=m?!0:!1}else l=!0;return l});
k.length&&(d[f]=k)});
return d};
IO=function(a,b,c,d){function e(q){return!!f[q]}
var f=EO(a,b,c),k=a.C&&CO();if(0<a.o&&f["9"]&&f["1"]&&!k){var l=f["1"].filter(function(q){return q.za().o<=a.o});
l=f["9"].filter(function(q){return q.za().o>a.o}).concat(l);
l.length&&(f["19"]=l)}HL(c)&&(f=Qla(b,f,d));d=Nla(a);l=Ola(a);var m=g.Ua(d,e),n=g.Ua(l,e);if(!m||!n)return xG();if("9"==m&&f.h){l=function(q,u){return Math.max(q,u.za().height)};
var p=(0,g.xj)(f["9"],l,0);(0,g.xj)(f.h,l,0)>1.5*p&&(m="h");c.tk&&!yla(b)&&(m="h")}c=f[m];l=f[n];c=FO(b,c);if(!c.length)return xG();GO(c,l);return k&&"9"==m&&"19"==d[0]&&f["9"]&&f["1"]?(k=function(q){return Rla(b,f,a,m,n,q)},c=[].concat(g.ea(f["1"]),g.ea(f["9"])),DO(c).then(k,k)):yG(new BO(c,l,HO(b,f,m,n)))};
Rla=function(a,b,c,d,e,f){var k=b["1"],l=b["9"];f&&(k=f.slice(0,b["1"].length),l=f.slice(b["1"].length,f.length));if(!d||!e)return xG();var m=c.o;k.forEach(function(n){n.C&&(m=n.za().o)});
m=Math.min(m,c.o);c=Sla(l,k,m);f=b[e];GO(c,f);return yG(new BO(c,f,HO(a,b,d,e)))};
Sla=function(a,b,c){var d=b.filter(function(e){return e.za().o<=c});
b=a.filter(function(e){return e.za().o>c});
d=d.concat(b);return d.length&&d.length>=b.length?d:a};
HO=function(a,b,c,d){var e=b.h;"f"==c&&(e=b[c]);var f=b.a;c=b[c]!=e;b=b[d]!=f;return e&&f&&(c||b)?(e=FO(a,e),GO(e,f),new BO(e,f)):null};
GO=function(a,b){g.tb(a,function(c,d){return d.za().height*d.za().width-c.za().height*c.za().width||d.o-c.o});
g.tb(b,function(c,d){return d.o-c.o})};
FO=function(a,b){var c=(0,g.xj)(b,function(d,e){return 32<e.za().fps?Math.min(d,e.za().width):d},Infinity);
Infinity>c&&(b=a.D||CM(a,HM)?(0,g.re)(b,function(d){return 32<d.za().fps||d.za().width<c}):(0,g.re)(b,function(d){return!(32<d.za().fps)}));
eG()&&(b=(0,g.re)(b,function(d){return"299"!=PJ(d)}));
return b};
JO=function(a,b,c){g.K.call(this);this.o=[];this.A={};this.B={};this.F=null;this.D=b;this.G=!1;this.C=[];Tla(this,a,!c)};
Tla=function(a,b,c){for(var d in b)for(var e=g.r(b[d]),f=e.next();!f.done;f=e.next()){f=f.value;if(!f.Wc)return;for(var k in f.Wc){if(!KO[k])return;for(var l=g.r(KO[k]),m=l.next();!m.done;m=l.next())m=m.value,a.A[m]=a.A[m]||new rO(k,m,f.Wc[k],a.D),a.B[k]=a.B[k]||{},a.B[k][f.mimeType]=!0}}dG()?(a.o=["com.youtube.fairplay"],a.A["com.youtube.fairplay"]=new rO("fairplay","com.youtube.fairplay","",a.D),a.B.fairplay={'audio/mp4; codecs="avc1.4d4015"':!0,'video/mp4; codecs="mp4a.40.2"':!0}):a.o=(c?g.gb(KO.widevine,
KO.playready):g.gb(KO.playready,KO.widevine)).filter(function(n){return!!a.A[n]})};
LO=function(a){if(!a.la())if(0==a.o.length)a.F(a.C);else{var b=a.o[0],c=a.A[b],d={initDataTypes:["cenc","webm"],audioCapabilities:[],videoCapabilities:[]};uO(c)&&(d.initDataTypes=["keyids","cenc"]);for(var e in a.B[c.flavor]){var f=0==e.indexOf("audio/"),k=f?d.audioCapabilities:d.videoCapabilities;"widevine"!=c.flavor||a.G?k.push({contentType:e}):f?k.push({contentType:e,robustness:"SW_SECURE_CRYPTO"}):(k.push({contentType:e,robustness:"HW_SECURE_ALL"}),k.push({contentType:e,robustness:"SW_SECURE_DECODE"}))}navigator.requestMediaKeySystemAccess(b,
[d]).then(aF((0,g.A)(a.J,a,c)),aF((0,g.A)(a.H,a)))}};
Ula=function(a,b){function c(f){b.C[f.contentType]=!0}
if(uO(b)){var d=ZL(),e;for(e in a.B[b.flavor])b.C[e]=!!d.canPlayType(e)}else d=b.A.getConfiguration(),d.audioCapabilities&&d.audioCapabilities.forEach(c),d.videoCapabilities&&d.videoCapabilities.forEach(c)};
Wla=function(a){if(sO()&&JN)a.C.push(new rO("fairplay","com.apple.fps.1_0","",a.D));else{var b=Vla(),c=g.Ua(a.o,function(d){var e=a.A[d],f=!1,k=!1,l;for(l in a.B[e.flavor])b(l,d)&&(e.C[l]=!0,f=f||0==l.indexOf("audio/"),k=k||0==l.indexOf("video/"));return f&&k});
c&&a.C.push(a.A[c]);a.o=[]}a.F(a.C)};
Vla=function(){var a=sO();if(a){var b=a.isTypeSupported;return function(c,d){return b(d,c)}}return(a=ZL())&&(a.addKey||a.webkitAddKey)?(0,g.A)(a.canPlayType,a):function(){return!1}};
Xla=function(a,b,c,d,e,f,k,l,m,n){this.itag=a;this.url=b;this.o=c;this.width=d;this.height=e;this.bitrate=k;this.fps=f;this.audioItag=l||null;this.A=m||"";this.Ob=void 0===n?null:n};
MO=function(a){for(var b={},c=0,d=a.length;c<d;++c){var e=a[c],f=e.type.match(/codecs="([^"]*)"/);f=f?f[1]:"";var k=null;e.audio_track_id&&(k=new RK(e.name,e.audio_track_id,!!e.is_default));e=new Xla(e.itag,e.url,f,+e.width,+e.height,+e.fps,+e.bitrate,e.audio_itag,e.drm_families,k);b[e.itag]=b[e.itag]||[];b[e.itag].push(e)}return b};
Yla=function(a,b,c,d){this.B=a;this.o=b;this.F=0;this.C="";this.D=c;this.A=d};
PO=function(a,b,c,d){b.push("#EXT-X-STREAM-INF:BANDWIDTH="+(c.bitrate+d.bitrate)+","+('CODECS="'+c.o+","+d.o+'",')+("RESOLUTION="+c.width+"x"+c.height+",")+('AUDIO="'+NO(a,d,c)+'",')+"CLOSED-CAPTIONS=NONE");b.push(OO(a,c.url,""))};
OO=function(a,b,c){a.D&&(b=g.rh(b,{cpn:a.D}));c&&(b=g.rh(b,{paired:c}));return b};
NO=function(a,b,c){b=b.itag.toString();2==a.A&&c&&(b+=c.itag.toString());return b};
QO=function(a,b,c){var d="#EXT-X-MEDIA:TYPE=AUDIO,",e="YES",f="audio";if(b.Ob){f=b.Ob;var k=f.getId().split(".")[0];k&&(d+='LANGUAGE="'+k+'",');a.C||f.isDefault||(e="NO");f=f.name}k="";2==a.A&&c&&(k=c.itag.toString());k=OO(a,b.url,k);return d=d+('NAME="'+f+'",'+("DEFAULT="+e+",AUTOSELECT=YES,"))+('GROUP-ID="'+NO(a,b,c)+'",'+('URI="'+k+'"'))};
Zla=function(a){for(var b=[],c=[],d=0,e=a.o.length;d<e;++d){var f=a.o[d];f.bitrate<=a.F?b.push(f):c.push(f)}b.sort(function(k,l){return l.bitrate-k.bitrate});
c.sort(function(k,l){return k.bitrate-l.bitrate});
a.o=b.concat(c)};
RO=function(a,b,c){this.Hg=a;this.A=b;this.o=null;this.C=c};
ama=function(a,b,c,d,e){if(!(kG||hG()||dG()))return xG();var f=$la(c),k=MO(c);if(!k)return xG();c={};var l=(c.fairplay="https://youtube.com/api/drm/fps?ek=uninitialized",c),m;c=[];var n=[],p=[],q=a.experiments.A("html5_hls_min_video_height"),u=0;a.experiments.o("html5_hls_pair_all_audio")?u=1:a.experiments.o("html5_hls_pair_distinct_audio")&&(u=2);var w;for(w in k)if(!a.experiments.o("html5_disable_drm_hfr_1080")||"383"!=w&&"373"!=w){var D=g.r(k[w]);for(m=D.next();!m.done;m=D.next()){var F=m.value;
if(F.width){if(!(F.height<q)){var J=k[F.audioItag];if(J&&(c.push(F),m="fairplay"==F.A?l:null,p.push(SO(J,[F],e,F.itag,F.width,F.height,F.fps,f,u,void 0,void 0,m)),!O||F.width*F.height*F.fps>O.width*O.height*O.fps))var O=F}}else n.push(F)}}m=p.reduce(function(qa,Ta){return!!Ta.Hg.Wc&&qa},!0)?l:null;
d=Math.max(d,a.experiments.A("html5_hls_initial_bitrate"));O=O||{};p.push(SO(n,c,e,"93",void 0===O.width?0:O.width,void 0===O.height?0:O.height,void 0===O.fps?0:O.fps,f,u,"auto",d,m));return SM(a.G,p,dO(a,b))};
SO=function(a,b,c,d,e,f,k,l,m,n,p,q){d=new ZK(d,"application/x-mpegURL",new QK,new UK(e,f,k,null,void 0,n),void 0,q);a=new Yla(a,b,c,m);a.F=p?p:1369843;return new RO(d,a,l)};
$la=function(a){a=g.r(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};
UO=function(){return xa(function(a){TO||(TO=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"](TO)})};
cma=function(a,b,c){var d;return xa(function(e){if(1==e.o)return ua(e,UO(),2);d=e.D;return e["return"](bma(d.transaction(a,"readwrite").objectStore(a).put(c,b)))})};
VO=function(a,b){var c;return xa(function(d){if(1==d.o)return ua(d,UO(),2);c=d.D;return d["return"](bma(c.transaction(a).objectStore(a).get(b)))})};
dma=function(){var a=window.localStorage&&window.localStorage["yt-player-lv"];return a?a.split(","):[]};
ema=function(a,b,c,d){var e;xa(function(f){e=a+"-"+b.id+"-"+c;return f["return"](cma("media",e,d))})};
fma=function(a,b,c){var d,e;xa(function(f){d=a+(b?":v":":a");e=cma("index",d,c);b&&(e=e.then(function(){var k=dma();k.includes(a)||(k.push(a),window.localStorage["yt-player-lv"]=k.join(","))}));
return f["return"](e)})};
gma=function(a){return!!a&&dma().includes(a)};
hma=function(a){return xa(function(b){return b["return"](Promise.all([VO("index",a+":a"),VO("index",a+":v")]).then(function(c){return c.join(",")}))})};
jma=function(a,b,c){return xa(function(d){return d["return"](VO("media",a+"-"+b+"-"+c))})};
bma=function(a){return new Promise(function(b,c){a.onsuccess=function(){return b(a.result)};
a.onerror=function(){return c()}})};
WO=function(a,b){this.Hg=a;this.o=b};
kma=function(a,b,c,d){var e=[];c=g.r(c);for(var f=c.next();!f.done;f=c.next()){var k=f.value;if(k.url){f=new g.tK(k.url);k.s&&f.set(k.sp,encodeURIComponent(sK(decodeURIComponent(k.s))));for(var l in d)f.set(l,d[l]);k=eL(k.type,k.quality,k.itag,k.width,k.height,!!k.isAccelerated,!!k.isAcceleratedUiEnabled);e.push(new WO(k,f))}}return SM(a.G,e,dO(a,b))};
XO=function(a,b){this.Hg=a;this.o=b};
lma=function(a){var b=[];(0,g.C)(a,function(c){if(c.url){var d=eL(c.type,"medium","0");b.push(new XO(d,c.url))}});
return b};
YO=function(a){if(a){var b=[],c;for(c in a)mma.has(c)||b.push(c);b.length&&(b.sort(),g.$E(Error("Unknown house brand player vars: "+b.join(",")),"WARNING"))}};
g.ZO=function(a,b,c,d){this.lc=new Set;this.J=a;this.K=b;a=c.split("#");this.F=parseInt(a[0],10);this.D=parseInt(a[1],10);this.C=parseInt(a[2],10);this.columns=parseInt(a[3],10);this.rows=parseInt(a[4],10);this.o=parseInt(a[5],10);this.B=a[6];this.G=a[7];this.L=d};
g.$O=function(a,b){b>=a.tw()&&a.zn();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.zn()+1-d*c;if(k<a.columns){var l=k;d=1}else l=a.columns,d=k<d?Math.ceil(k/a.columns):a.rows;return{url:a.Xa(c),column:f,columns:l,row:e,rows:d,Gw:a.F*l,Fw:a.D*d}};
aP=function(a){g.mH.call(this);this.B=new g.HE;this.A=null;this.H=new Set;this.G=a||""};
nma=function(a,b,c){for(c=bP(a,c);0<=c;){var d=a.o[c];if(d.Mb(Math.floor(b/(d.columns*d.rows)))&&(d=g.$O(d,b)))return d;c--}return g.$O(a.o[0],b)};
pma=function(a,b,c){c=bP(a,c);for(var d,e;0<=c;c--)if(d=a.o[c],e=Math.floor(b/(d.columns*d.rows)),!d.Mb(e)){d=a;var f=c,k=f+"-"+e;d.H.has(k)||(d.H.add(k),g.GE(d.B,f,{MC:f,YD:e}))}oma(a)};
oma=function(a){if(!a.A&&!a.B.isEmpty()){var b=a.B.remove(),c=new Image;a.G&&(c.crossOrigin=a.G);c.src=a.o[b.MC].Xa(b.YD);c.onload=(0,g.A)(a.J,a,b.MC,b.YD);a.A=c}};
cP=function(a,b,c,d){d=void 0===d?!1:d;aP.call(this,c);this.isLive=d;this.o=this.C(a,b);this.D=new Map;1<this.o.length&&this.o[0].isDefault()&&this.o.splice(0,1)};
qma=function(a,b,c){return(a=a.o[b])?a.Gq(c):-1};
bP=function(a,b){var c=a.D.get(b);if(c)return c;c=a.o.length;for(var d=0;d<c;d++)if(a.o[d].ab()>=b)return a.D.set(b,d),d;a.D.set(b,c-1);return c-1};
dP=function(a,b,c,d){c=c.split("#");c=[c[1],c[2],0,c[3],c[4],-1,c[0],""].join("#");g.ZO.call(this,a,b,c,0);this.A=null;this.H=d?3:0};
eP=function(a,b,c){cP.call(this,a,0,void 0,b);for(a=0;a<this.o.length;a++)this.o[a].gG(c)};
sma=function(a,b){var c={},d;for(d in rma){var e=b?b+d:d;e=a[e+"_webp"]||a[e];g.mK(e)&&(c[rma[d]]=e)}return c};
fP=function(a,b){this.version=a;this.args=b};
gP=function(a,b){this.topic=a;this.o=b};
tma=function(a,b){var c=hP();c&&c.publish.call(c,a.toString(),a,b)};
wma=function(a,b){var c=uma,d=hP();if(!d)return 0;var e=d.subscribe(c.toString(),function(f,k){var l=g.y("ytPubsub2Pubsub2SkipSubKey");l&&l==e||(l=function(){if(iP[e])try{if(k&&c instanceof gP&&c!=f)try{var m=c.o,n=k;if(!n.args||!n.version)throw Error("yt.pubsub2.Data.deserialize(): serializedData is incomplete.");try{if(!m.fi){var p=new m;m.fi=p.version}var q=m.fi}catch(u){}if(!q||n.version!=q)throw Error("yt.pubsub2.Data.deserialize(): serializedData version is incompatible.");try{k=Reflect.construct(m,
g.ib(n.args))}catch(u){throw u.message="yt.pubsub2.Data.deserialize(): "+u.message,u;}}catch(u){throw u.message="yt.pubsub2.pubsub2 cross-binary conversion error for "+c.toString()+": "+u.message,u;}a.call(b||window,k)}catch(u){g.$E(u)}},vma[c.toString()]?g.PH()?g.NH(l):g.gF(l,0):l())});
iP[e]=!0;jP[c.toString()]||(jP[c.toString()]=[]);jP[c.toString()].push(e);return e};
xma=function(a,b){var c=wma(function(d){a.apply(b,arguments);kP(c)},b);
return c};
kP=function(a){var b=hP();b&&(g.Ca(a)&&(a=[a]),(0,g.C)(a,function(c){b.unsubscribeByKey(c);delete iP[c]}))};
hP=function(){return g.y("ytPubsub2Pubsub2Instance")};
yma=function(){var a=g.YE("TIMING_TICK_EXPIRATION");a||(a={},XE("TIMING_TICK_EXPIRATION",a));return a};
zma=function(){var a=yma(),b;for(b in a)g.QH(a[b]);XE("TIMING_TICK_EXPIRATION",{})};
mP=function(a,b){fP.call(this,1,arguments)};
nP=function(a,b){fP.call(this,1,arguments);this.o=a};
Dma=function(a){Ama(a);Bma();Cma(!1,a);a||(g.YE("TIMING_ACTION")&&XE("PREVIOUS_ACTION",g.YE("TIMING_ACTION")),XE("TIMING_ACTION",""))};
rP=function(a,b,c,d){c=c?c:a;Ema("c",c);Dma(c);d&&(oP(c).useGel=d);XE(c+"TIMING_AFT_KEYS",b);XE(c+"TIMING_ACTION",a);Fma("c",c);pP(c)&&(a={},a.actionType=Gma[ZE((c||"")+"TIMING_ACTION")]||"LATENCY_ACTION_UNKNOWN",b=qP(c),kI(a,b));g.Da("ytglobal.timing"+(c||"")+"ready_",!0,void 0);Hma(c)};
uP=function(a,b,c){if(!b&&"_"!=a[0]){var d=a;sP.mark&&(g.xb(d,"mark_")||(d="mark_"+d),c&&(d+=" ("+c+")"),sP.mark(d))}d=tP(c);var e=b||g.GH();d[a]&&(d["_"+a]=d["_"+a]||[d[a]],d["_"+a].push(e));d[a]=e;e=yma();var f=e[a];f&&(g.QH(f),e[a]=0);Ima(c)["tick_"+a]=b;c||b||g.GH();pP(c)?(e=qP(c),"_start"==a?jI("baseline_"+e)||cI("latencyActionBaselined",{clientActionNonce:e},b):jI("tick_"+a+"_"+e)||cI("latencyActionTicked",{tickName:a,clientActionNonce:e},b),b=!0):b=!1;b||Hma(c);return d[a]};
Jma=function(a){var b="above_the_fold";sP&&sP.measure&&(g.xb(b,"measure_")||(b="measure_"+b),a?sP.measure(b,a):sP.measure(b))};
Fma=function(a,b){vP("yt_sts",a,b);uP("_start",void 0,b)};
wP=function(a,b){var c=tP(b);return a in c};
xP=function(a){wP("_start","video_to_ad")&&!wP(a,"video_to_ad")&&uP(a,void 0,"video_to_ad")};
vP=function(a,b,c){oP(c).info[a]=b;Ima(c)["info_"+a]=b;if(pP(c))if(a in Kma){var d=Kma[a];g.Ya(Lma,d)&&(b=!!b);a in Mma&&(b=Mma[a]+b.toUpperCase());if(pP(c)){a={};d=d.split(".");for(var e=a,f=0;f<d.length-1;f++)e[d[f]]=e[d[f]]||{},e=e[d[f]];e[d[d.length-1]]=b;c=qP(c);kI(a,c)}}else g.Ya(Nma,a)||g.$E(Error("Unknown label "+a+" logged with GEL CSI."))};
Oma=function(a){var b=tP(a);if(b.aft)return b.aft;a=g.YE((a||"")+"TIMING_AFT_KEYS",["ol"]);for(var c=a.length,d=0;d<c;d++){var e=b[a[d]];if(e)return e}return NaN};
Hma=function(a){if(!Pma(a)){var b=g.YE((a||"")+"TIMING_ACTION",void 0),c=tP(a);if(g.y("ytglobal.timing"+(a||"")+"ready_")&&b&&c._start&&(b=Oma(a)))if(Qma||(tma(Rma,new mP(Math.round(b-c._start),a)),Qma=!0),a)yP(a);else{b=!0;var d=g.YE("TIMING_WAIT",[]);if(d.length)for(var e=0,f=d.length;e<f;++e)if(!(d[e]in c)){b=!1;break}b&&yP(a)}}};
Sma=function(){switch(IG("visibilityState",document)){case "hidden":return 0;case "visible":return 1;case "prerender":return 2;case "unloaded":return 3}return-1};
Ema=function(a,b){if(!Pma(b)){var c=g.YE("CSI_SERVICE_NAME","youtube");g.YE((b||"")+"TIMING_ACTION",void 0)&&c&&(uP("aa",void 0,b),vP("ap",1,b),vP("yt_fss",a,b),yP(b))}};
qP=function(a){var b=oP(a).nonce;b||(b=pI(),oP(a).nonce=b);return b};
tP=function(a){return oP(a).tick};
Ima=function(a){a=oP(a);"gel"in a||(a.gel={});return a.gel};
oP=function(a){return g.y("ytcsi."+(a||"")+"data_")||Ama(a)};
Ama=function(a){var b={tick:{},info:{}};g.Da("ytcsi."+(a||"")+"data_",b,void 0);return b};
Pma=function(a){return!!g.y("yt.timing."+(a||"")+"pingSent_")};
Cma=function(a,b){g.Da("yt.timing."+(b||"")+"pingSent_",a,void 0)};
Tma=function(a){var b=tP(a),c=b.pbr,d=b.vc;b=b.pbs;return c&&d&&b&&c<d&&d<b&&1==oP(a).info.yt_pvis};
pP=function(a){return!!g.MF("csi_on_gel")||!!oP(a).useGel};
yP=function(a){zma();if(!pP(a)){var b=tP(a),c=oP(a).info,d=b._start;for(k in b)if(g.xb(k,"_")&&g.Ga(b[k])){var e=k.slice(1);if(e in Uma){var f=(0,g.I)(b[k],function(p){return Math.round(p-d)});
c["all_"+e]=f.join()}delete b[k]}f=g.YE("CSI_SERVICE_NAME","youtube");var k={v:2,s:f,action:g.YE((a||"")+"TIMING_ACTION",void 0)};e=vP.srt;void 0!==b.srt&&delete c.srt;if(c.h5jse){var l=window.location.protocol+g.y("ytplayer.config.assets.js");(l=sP.getEntriesByName?sP.getEntriesByName(l)[0]:null)?c.h5jse=Math.round(c.h5jse-l.responseEnd):delete c.h5jse}b.aft=Oma(a);Tma(a)&&"youtube"==f&&(vP("yt_lt","hot_bg",a),f=b.vc,l=b.pbs,delete b.aft,c.aft=Math.round(l-f));for(var m in c)"_"!=m.charAt(0)&&(k[m]=
c[m]);b.ps=g.GH();m={};f=[];for(var n in b)"_"!=n.charAt(0)&&(l=Math.round(b[n]-d),m[n]=l,f.push(n+"."+l));k.rt=f.join(",");(b=g.y("ytdebug.logTiming"))&&b(k,m);Vma(k,!!c.ap,a);tma(uma,new nP(m.aft+(e||0),a))}};
Vma=function(a,b,c){if(g.MF("debug_csi_data")){var d=g.y("yt.timing.csiData");d||(d=[],g.Da("yt.timing.csiData",d,void 0));d.push({page:location.href,time:new Date,args:a})}d="";for(var e in a)d+="&"+e+"="+a[e];a="/csi_204?"+d.substring(1);window.navigator&&window.navigator.sendBeacon&&b?rG(a):g.pG(a);Cma(!0,c)};
g.zP=function(a){if(a.simpleText)return a.simpleText;if(a.runs){var b=[];a=g.r(a.runs);for(var c=a.next();!c.done;c=a.next())c=c.value,c.text&&b.push(c.text);return b.join("")}return""};
g.AP=function(a,b){g.mH.call(this);this.ib=a;this.adModule=!1;this.Ql=this.adaptiveFormats="";this.Wc=null;this.drmParams="";this.allowEmbed=!0;this.allowLiveDvr=this.backgroundable=!1;this.re="";this.Ko=this.Jo=!1;this.GC=null;this.li=this.Dl=this.pd=this.ko=this.yd=this.Yp=!1;this.lj=NaN;this.author="";this.ph=0;this.XA=this.It=!1;this.clientScreenNonce=this.clientPlaybackNonce=this.videoCountText=this.channelBanner=this.pi=this.Ul="";this.contentCheckOk=!1;this.nf=0;this.hp=this.im=!1;this.endSeconds=
0;this.af=!1;this.Zf=this.mk=0;this.pipable=this.pk=!1;this.lF=0;this.Da=this.Zm=this.ze=this.Fv=this.hj=!1;this.Ov="";this.isLowLatencyLiveStream=this.isLiveDefaultBroadcast=this.Ym=this.EC=this.rk=!1;this.latencyClass="UNKNOWN";this.isMdxPlayback=this.isPremiere=!1;this.mdxControlMode=null;this.isPharma=!1;this.qg=0;this.reloadReason="";this.Lv=this.FC=this.Hh=!1;this.keywords={};this.cq="";this.eq=0;this.Xr=!1;this.liveChunkReadahead=NaN;this.Pv=0;this.en=null;this.fn=this.lengthSeconds=0;this.playerParams=
this.musicVideoType=null;this.paygated=!1;this.Mc=[];this.Qk=void 0;this.racyCheckOk=!1;this.ur=0;this.Ha=null;this.autonavState=1;this.Me=this.Qx=this.Px=!1;this.Lr=this.Dh=this.startSeconds=0;this.nl=!1;this.Eo=null;this.Zr=this.Et=this.ZG=XM;this.pl=this.suggestions=null;this.ql=!1;this.hlsFormats=this.xl=this.expandedSubtitle=this.lu=this.subtitle=this.title="";this.iq=this.Kr=this.Zd=this.zf=this.Xd=this.Qn=this.Mp=null;this.ms="vvt";this.My=null;this.dH="";this.lo=NaN;this.Gs=this.Bs=this.As=
this.zs=this.ys=this.Fs=this.jo=this.Es=this.Ds=this.Cs="";this.mo=null;this.JF=!1;this.xd={};this.clipStart=0;this.clipEnd=Infinity;this.heartbeatToken="";this.dC=this.cC=NaN;this.Pk=this.vk=this.ji=this.Av=this.eC=!1;this.OB="";this.tr=this.yx=this.NB=0;this.CC=!1;this.bi={};this.captionTracks=[];this.Ht=[];this.qA=0;this.rA=[];this.To=!1;this.chapterMarkers=[];this.dm=new AO("und",new RK("Default","und",!0));this.Mv=0;this.al=this.HF=!1;this.Ze=null;this.Mn=[];this.hi=[];this.rj={};this.By=this.mx=
"";this.slotPosition=-1;this.breakType=0;this.TF=new g.V(this.UF,5E3,this);g.L(this,this.TF);this.Cu=0;this.PB=!0;this.Ld=this.yb=this.hm=null;this.Ev=this.lG=this.Fh=this.Gh=!1;this.Bv=this.Dv=NaN;this.defraggedFromSubfragments=this.hasSubfragmentedFmp4=!1;this.liveExperimentalContentId=NaN;this.Nk=this.Dy=this.Ey=!1;this.interstitials=[];this.Ic=this.Gv=!1;this.Gg="#cc181e";this.Nn="";this.isVisualizerEligible=!1;this.ff="";this.bn=this.yC=!1;this.ZD=this.ho="";this.sF=this.Yw=this.Cv=NaN;var c=
this.na("web_player_response_player_config_parsing");this.mF=c&&!this.na("web_player_response_audio_config_killswitch");this.nF=c&&!this.na("web_player_response_fairplay_config_killswitch");this.UU=c&&!this.na("web_player_response_start_config_killswitch");this.Kn=c&&!this.na("web_player_response_misc_player_config_killswitch");this.oF=!this.ib.experiments.o("web_player_response_license_info_killswitch");this.SU=!this.ib.experiments.o("web_player_response_hls_formats_killswitch");this.ax=this.na("web_player_response_overlay_parsing");
this.Rq=this.na("web_player_response_live_playback_parsing");this.VU=this.na("web_player_response_ypc_parsing");this.na("web_player_ux_module_wait")&&this.ib.ma&&this.Mc.push("ux");this.hu=!1;this.Sk={};this.fl(b)};
$ma=function(a,b){b=b||{};var c=b.iv_invideo_url;c&&(a.re=qK(c));a.Jo=yN(a.Jo,b.iv_ads_only);a.Ko=yN(a.Ko,b.iv_allow_in_place_switch);if(c=b.cta_conversion_urls)a.gA=c;a.isPharma=yN(a.isPharma,b.is_pharma);a.author=BN(a.author,b.author);a.Ul=Wma(b.ttsurl)||a.Ul;a.It=yN(a.It,b.cc_asr);a.pi=BN(a.pi,b.channel_path);a.channelBanner=BN(a.channelBanner,b.channel_banner);a.videoCountText=BN(a.videoCountText,b.video_count_text);a.autonavState=zN(a.autonavState,b.autonav_state,Xma);a.clientPlaybackNonce=BN(a.clientPlaybackNonce,
b.cpn);a.subscribed=yN(a.subscribed,b.subscribed);a.Xh=AN(a.Xh,b.view_count);a.shortViewCount=BN(a.shortViewCount,b.short_view_count_text);a.title=BN(a.title,b.title);a.subtitle=BN(a.subtitle,b.subtitle);a.lu=BN(a.lu,b.expanded_title);a.expandedSubtitle=BN(a.expandedSubtitle,b.expanded_subtitle);a.Ql=BN(a.Ql,b.aria_label);a.El=BN(a.El,b.ypc_preview);a.Ny=BN(a.Ny,b.ypc_origin);a.ho=BN(a.ho,b.ypc_clickwrap_message);a.paygated=yN(a.paygated,b.paygated);a.JF=yN(a.JF,b.requires_purchase);if(c=b.keywords)a.keywords=
Yma(c.split(","));if(c=b.rvs)a.suggestions=CF(c);a.contentCheckOk=yN(a.contentCheckOk,"1"==b.cco);a.racyCheckOk=yN(a.racyCheckOk,"1"==b.rco);a.oauthToken=BN(a.oauthToken,b.oauth_token);a.cq=BN(a.cq,b.kpt);a.visitorData=BN(a.visitorData,b.visitor_data);if(c=b.session_data)a.Jd=g.zF(c);if(c=b.endscreen_autoplay_session_data)a.jB=g.zF(c);a.iB=BN(a.iB,b.endscreen_ad_tracking_data);a.Al=yN(a.Al,b.wait_for_vast_info_cards_xml);a.uj=yN(a.uj,b.suppress_creator_endscreen);a.Oi=yN(a.Oi,b.is_trueview_action);
a.th=BN(a.th,b.wpid);a.GG=BN(a.GG,b.tracking_list);!a.Kn&&b.intro_start_ms&&b.intro_end_ms&&(a.Dv=parseInt(b.intro_start_ms,10),a.Bv=parseInt(b.intro_end_ms,10));(0,g.C)(Zma,function(d){d in b&&(this.Sk[d]=b[d])},a)};
CP=function(a,b){b=void 0===b?!1:b;var c=a.bn,d=!!a.ua&&(a.ua.Qg()||a.ua.Rg()||a.ua.Uf()),e=a.ib,f=!!a.ua&&a.ua.tk,k=b,l=a.Dy,m=a.isAd(),n=new Mla;n.H=BP(a);n.D=l&&e.Nb;$F("windows nt 5.1")&&!g.EM&&(n.A=!0);d&&QN&&6>=RN&&(n.A=!0);if(l=d)l=e.na("disable_html5_ambisonic_audio")||!(g.nO(e)||e.na("html5_enable_spherical")||e.na("html5_enable_spherical3d"))?!1:oO(e);l&&(n.G=!0);if(k||c)n.A=!0,n.M=!0;!e.experiments.o("html5_disable_aac_ac3")&&CM(e.G,LM)&&(n.B=!0,e.experiments.o("html5_ac3_killswitch")||
(n.F=!0));if(f||d)n.J=!1;n.K=!1;n.C=e.experiments.o("html5_medcap_av1_hybrid");c=e.experiments.A("html5_av1_thresh");(d=e.experiments.A("html5_av1_thresh_lcc"))&&2>=navigator.hardwareConcurrency&&(c=d);(d=e.experiments.A("html5_av1_thresh_hcc"))&&4<navigator.hardwareConcurrency&&(c=d);(d=hN("1",30))&&(c=Math.min(c,d));m&&!e.experiments.o("html5_av1_ads")&&(c=0);try{var p=lN();n.C=n.C&&!p;c=p||c}catch(q){}0<c&&2160>c&&window.SourceBuffer&&SourceBuffer.prototype.changeType&&(n.o=c);2160<=c&&(n.L=!0);
return n};
GP=function(a,b){var c;(c=!b)||(c=!(!DP(a)&&a.adaptiveFormats));if(c)return!1;c=KL(EP(a,b),a.Wc,a.lengthSeconds,a.Da,a.rk,a.ib.experiments);if(0<EP(a,b).length){var d=EP(a,b)[0];d.url&&d.sp&&d.s&&(d=ML(d.url,d.sp,d.s),d=parseInt(d.get("max_sq"),10)||Infinity,isFinite(d)&&(a.EC=!0))}if(d=c.A)d=!(a.na("html5_manifestless_vp9")||!ana(c));if(d)return c.dispose(),!1;FP(a,c);c.C&&c.subscribe("cuepointsadded",a.AA,a);HL(c)&&(a.vk=!0);return!0};
DP=function(a){return!a.na("html5_enable_tvos_dash")&&dG()};
ana=function(a){return a.A&&bM('video/webm; codecs="vp9"')&&Qb(a.o,function(b){return $K(b.info)})};
HP=function(a){return!(!a.ua||!a.ua.A)};
bna=function(a){if(!(a.Ha&&a.Ha.videoInfos.length&&g.XJ(a.Ha.videoInfos[0])&&HP(a))||g.cG()&&!a.na("html5_streaming_xhr_try_cobalt")||g.QM&&!a.na("html5_streaming_xhr_try_edge"))return!1;var b=a.na("html5_streaming_response_mediastream_rewrite_v2"),c="ULTRALOW"==a.latencyClass;a=21530001==IP(a);return b||c||a};
cna=function(a){if(!bna(a))return!1;var b="ULTRALOW"==a.latencyClass||21530001==IP(a);return a.na("html5_live_benchmark_incremental_parsing")&&!b||!iL()||!window.AbortController&&!b?!1:!0};
dna=function(a){var b=HP(a),c=cna(a);return a.hasSubfragmentedFmp4&&b?c&&iL()?3:2:a.defraggedFromSubfragments&&b?-1:1};
IP=function(a){return a.isLowLatencyLiveStream&&void 0!=a.ua&&5<=WL(a.ua)?21530001:a.liveExperimentalContentId};
JP=function(a){return a.na("html5_enable_tvos_dash")&&dG()?!1:!OM()||a.XA?!0:!1};
ena=function(a){a.af=!0;a.ji=!1;if(a.na("mweb_hoffline")&&a.adaptiveFormats&&!a.te&&gma(a.videoId))hma(a.videoId).then(function(d){return GP(a,d)},function(){return GP(a,a.adaptiveFormats)}).then(function(){return KP(a)});
else{lK(a.te)||g.$E(Error("DASH MPD Origin invalid: "+a.te),"WARNING");var b=a.te,c=a.ib.experiments.A("dash_manifest_version")||4;b=g.rh(b,{mpd_version:c});a.isLowLatencyLiveStream&&"NORMAL"!=a.latencyClass||(b=g.rh(b,{pacing:0}));ola(b,a.ib.experiments,a.Da).then(a.gR,a.fR,a);(0,g.LP)("mrs")}};
g.fna=function(a){if(!a.Ld)return null;var b=null!=a.Ld.latitudeE7&&null!=a.Ld.longitudeE7?a.Ld.latitudeE7+","+a.Ld.longitudeE7:",";return b+=","+(a.Ld.clientPermissionState||0)+","+(a.Ld.locationRadiusMeters||"")+","+(a.Ld.locationOverrideToken||"")};
KP=function(a){a.la()||(a.af=!1,a.U("dataloaded"))};
FP=function(a,b,c){c&&a.ua&&a.ua.dispose();a.ua=b;g.L(a,b);gna(a)&&a.Mc.push("webgl");a.ua.isLive||(a.Da=!1);b=b.sourceUrl.split("/");-1!=b.indexOf("manifest_duration")&&(a.en=parseInt(b[b.indexOf("manifest_duration")+1],10))};
g.ina=function(a,b){if(a.la())return xG();a.Ha=null;a.Xd=null;a.zf=null;var c=a.ib.deviceParams.c;a.na("disable_rqs")||(a.Gh=/^rq/.test(a.clientPlaybackNonce)||/^r/.test(a.clientPlaybackNonce)&&/UNPLUGGED/.test(c)||MP(a));return hna(a,b).then(void 0,(0,g.A)(a.oN,a)).then(void 0,(0,g.A)(a.lN,a,b)).then(void 0,(0,g.A)(a.mN,a,b)).then(void 0,(0,g.A)(a.pN,a)).then(void 0,(0,g.A)(a.nN,a)).then(function(){if(a.na("html5_probe_media_capabilities")&&a.Ha)return Pla(a.Ha).then(a.Cr,void 0,a)})};
hna=function(a,b){if(!b&&!JP(a)){var c=!1;if(a.pG)FP(a,KL(EP(a,a.pG),a.Wc,a.lengthSeconds,!1,!1),!0),c=!0;else if(a.ua&&a.Hr){var d=TL(a.ua,a.Hr);d&&(FP(a,d,!0),c=!0)}if(c)return IO(CP(a,!0),a.ib.G,a.ua,a.Ze).then(a.Cr,void 0,a).then(a.qB,void 0,a)}return xG()};
jna=function(a){var b={cpn:a.clientPlaybackNonce,c:a.ib.deviceParams.c,cver:a.ib.deviceParams.cver};a.Ln&&(b.ptk=a.Ln,b.oid=a.qF,b.ptchn=a.pF,b.pltype=a.rF);return b};
g.NP=function(a){return DP(a)&&a.qh?(a={},a.fairplay="https://youtube.com/api/drm/fps?ek=uninitialized",a):a.Ca&&a.Ca.Wc||null};
kna=function(a){var b=a.yb&&a.yb.paidContentOverlay&&a.yb.paidContentOverlay.paidContentOverlayRenderer||null;return b&&b.text?g.zP(b.text):a.RU};
lna=function(a){var b=a.yb&&a.yb.paidContentOverlay&&a.yb.paidContentOverlay.paidContentOverlayRenderer||null;return b&&b.durationMs?g.Bc(b.durationMs):a.lF};
OP=function(a){var b="";if(a.na("html5_vss_live_mode_killswitch_redux"))a.Da&&(b=a.isPremiere?"lp":a.rk&&a.na("enable_vss_type_post")?"post":a.allowLiveDvr?"dvr":"live");else{if(a.Ov)return a.Ov;a.Da&&(b=a.allowLiveDvr?"dvr":"live")}return b};
g.PP=function(a,b){return g.v(a.keywords[b])?a.keywords[b]:null};
mna=function(a){return!!(a.te||a.adaptiveFormats||a.xl||a.pl||a.Tx||a.pG||a.hlsvp)};
QP=function(a){var b=g.Ya(a.Mc,"ypc");a.El&&(b=!1);return a.isValid()&&!a.af&&(mna(a)||g.Ya(a.Mc,"fresca")||g.Ya(a.Mc,"heartbeat")||b)};
EP=function(a,b,c){b=CF(b);var d={};c&&(0,g.C)(c.split(","),function(e){(e=e.match(/^([0-9]+)\/([0-9]+)x([0-9]+)(\/|$)/))&&(d[e[1]]={width:e[2],height:e[3]})});
(0,g.C)(b,function(e){var f=d[e.itag];f&&(e.width=f.width,e.height=f.height)},a);
return b};
nna=function(a){a=CF(a);var b={};(0,g.C)(a,function(c){var d=c.family;c=c.url;d&&c&&(b[d]=c)});
return b};
pna=function(a,b){var c=b[0];if(c&&(c=c.playerAnnotationsUrlsRenderer)){c.adsOnly&&(a.Jo=!0);c.allowInPlaceSwitch&&(a.Ko=!0);var d=c.loadPolicy;d&&(a.ih=ona[d]);if(c=c.invideoUrl)a.re=qK(c);a.Yp=!0}};
qna=function(a,b){a.botguardData=b.playerAttestationRenderer.botguardData;var c=b.playerAttestationRenderer.challenge;null!=c&&(a.Ij=c)};
rna=function(a,b){a.captionTracks=[];b.captionTracks&&(0,g.C)(b.captionTracks,function(c){var d=Wma(c.baseUrl);d&&(c=new g.yO({is_translateable:!!c.isTranslatable,languageCode:c.languageCode,languageName:c.name&&g.zP(c.name),url:d,vss_id:c.vssId,kind:c.kind}),this.captionTracks.push(c))},a);
a.Ht=b.audioTracks||[];a.qA=b.defaultAudioTrackIndex||0;a.rA=b.translationLanguages?(0,g.I)(b.translationLanguages,function(c){return{languageCode:c.languageCode,languageName:g.zP(c.languageName)}}):[];
a.To=!!b.contribute&&!!b.contribute.captionsMetadataRenderer};
sna=function(a,b){var c=b.heartbeatToken;c&&(a.drmSessionId=b.drmSessionId||"",a.heartbeatToken=c,a.cC=parseInt(b.intervalMilliseconds,10),a.dC=parseInt(b.maxRetries,10),a.eC=!!b.softFailOnError,a.Av=!!b.useInnertubeHeartbeatsForDrm,a.ko=!0)};
tna=function(a,b){var c=b.playerLegacyMulticameraRenderer;c&&(c=c.metadataList)&&(a.ZD=c,a.hi=CF(c))};
una=function(a,b){if(a.ax){var c=b.playerControlsOverlayRenderer;c&&(c=c.controlBgHtml,null!=c&&(a.Gg=c,a.Ic=!0))}};
vna=function(a,b){var c=b.backgroundability;c&&c.backgroundabilityRenderer.backgroundable&&(a.backgroundable=!0);(c=b.pictureInPicture)&&c.pictureInPictureRenderer.playableInPip&&(a.pipable=!0);b.playableInEmbed&&(a.allowEmbed=!0);var d=b.ypcClickwrap;d&&(c=d.playerLegacyDesktopYpcClickwrapRenderer,d=d.ypcRentalActivationRenderer,c?(a.ho=c.durationMessage||"",a.Dl=!0):d&&(c=d.durationMessage,a.ho=c?g.zP(c):"",a.Dl=!0))};
wna=function(a,b,c){var d=RP(b.googleRemarketingUrl);d&&(a.googleRemarketingUrl=d);if(d=RP(b.youtubeRemarketingUrl))a.youtubeRemarketingUrl=d;if(d=RP(b.ptrackingUrl)){d=SP(d);var e=d.oid;e&&(a.qF=e);if(e=d.pltype)a.rF=e;if(e=d.ptchn)a.pF=e;if(d=d.ptk)a.Ln=encodeURIComponent(d)}if(d=RP(b.ppvRemarketingUrl))a.ppvRemarketingUrl=d;if(d=RP(b.qoeUrl)){d=g.DF(d);for(var f in d)e=d[f],d[f]=g.Ga(e)?e.join(","):e;if(f=d.cat)a.Nn=f;if(f=d.live)a.Ov=f}if(f=RP(b.remarketingUrl))if(a.remarketingUrl=f,f=SP(f),f.foc_id&&
(a.xd.focEnabled=!0),f=f.data)a.xd.rmktEnabled=!0,f.engaged&&(a.xd.engaged="1");if(b=RP(b.videostatsPlaybackUrl)){b=SP(b);if(f=b.adformat)c.adformat=f;if(c=b.autoplay)a.hj="1"==c;if(c=b.autonav)a.pk="1"==c;if(c=b.delay)a.nf=g.Bc(c);if(c=b.ei)a.eventId=c;a.na("web_player_el_adunit_autoplay_killswitch")||"adunit"!=b.el||(a.hj=!0);if(c=b.feature)a.Tk=c;if(c=b.list)a.playlistId=c;if(c=b.of)a.Zw=c;if(c=b.osid)a.osid=c;if(c=b.referrer)a.referrer=c;if(c=b.sdetail)a.kr=c;if(c=b.ssrt)a.Vn="1"==c;if(c=b.subscribed)a.subscribed=
"1"==c,a.xd.subscribed=c;if(c=b.upt)a.Sr=c;if(c=b.vm)a.videoMetadata=c;if(c=b.wpid)a.th=c}};
xna=function(a,b){if(a.mF){var c=b.audioConfig;if(c){var d=c.loudnessDb;null!=d&&(a.lj=d);c.audioMuted&&(a.li=!0);c.muteOnStart&&(a.li=!0)}}a.nF&&(c=b.fairPlayConfig)&&((d=c.certificate)&&window.atob&&(a.qh=atob(d)),d=parseInt(c.keyRotationPeriodMs,10),0<d&&(a.qm=d),c=parseInt(c.keyPrefetchMarginMs,10),0<c&&(a.pm=c));if(a.UU){if(c=b.playbackStartConfig){a.sF=parseInt(c.startSeconds,10);if(d=c.liveUtcStartSeconds)a.liveUtcStartSeconds=parseInt(d,10);if(c=c.startPosition){if(d=c.utcTimeMillis)a.liveUtcStartSeconds=
.001*parseInt(d,10);if(c=c.streamTimeMillis)a.Lr=.001*parseInt(c,10)}}else if(c=b.skippableSegmentsConfig){if(d=c.introSkipDurationMs)a.Cv=parseInt(d,10)/1E3;if(c=c.outroSkipDurationMs)a.Yw=parseInt(c,10)/1E3}if(d=b.skippableIntroConfig)c=parseInt(d.startMs,10),d=parseInt(d.endMs,10),isNaN(c)||isNaN(d)||(a.Dv=c,a.Bv=d)}if(a.Kn){if(c=b.streamSelectionConfig)a.Zf=parseInt(c.maxBitrate,10);(c=b.visualizerConfig)&&c.isVisualizerEligible&&(a.isVisualizerEligible=!0);if(c=b.vrConfig)a.Fh="1"==c.partialSpherical}if(c=
b.webDrmConfig)if(c.skipWidevine&&(a.lG=!0),c=c.widevineServiceCert)a.eo=g.Pe(c)};
zna=function(a,b,c){if(a.SU){var d=b.hlsFormats;if(d){var e={};if(c&&(c=c.audioPairingConfig)&&c.pairs){c=g.r(c.pairs);for(var f=c.next();!f.done;f=c.next())f=f.value,e[f.videoItag]=f.audioItag}c={};f=g.r(d);for(var k=f.next();!k.done;k=f.next())k=k.value,c[k.itag]=k.bitrate;f=[];d=g.r(d);for(k=d.next();!k.done;k=d.next()){var l=k.value;k={itag:l.itag,type:l.mimeType,url:l.url,bitrate:l.bitrate,width:l.width,height:l.height,fps:l.fps};var m=l.audioTrack;if(m){var n=m.displayName;n&&(k.name=n,k.audio_track_id=
m.id,m.audioIsDefault&&(k.is_default="1"))}if(l.drmFamilies){m=[];n=g.r(l.drmFamilies);for(var p=n.next();!p.done;p=n.next())m.push(yna[p.value]);k.drm_families=m.join(",")}l=e[l.itag];m=c[l];l&&m&&(k.audio_itag=l,k.bitrate+=m);f.push(g.ph(k))}a.hlsFormats=f.join(",")}}if(a.oF&&(e=b.licenseInfos)&&0<e.length){c={};f=g.r(e);for(d=f.next();!d.done;d=f.next())k=d.value,d=k.drmFamily,k=k.url,d&&k&&(c[yna[d]]=k);a.Wc=c;if(e=e[0].drmParams)a.drmParams=e}if(e=b.dashManifestUrl)a.te=g.rh(e,{cpn:a.clientPlaybackNonce});
if(e=b.hlsManifestUrl)a.hlsvp=e;if(b=b.probeUrl)a.probeUrl=qK(g.rh(b,{cpn:a.clientPlaybackNonce}))};
Ana=function(a,b){var c=b.videoId;c&&(a.videoId=c);if(c=b.title)a.title=c;if(c=b.lengthSeconds)a.lengthSeconds=parseInt(c,10);if(c=b.keywords)a.keywords=Yma(c);if(c=b.channelId)a.vl=c;if(c=b.viewCount)a.Xh=parseInt(c,10);if(c=b.author)a.author=c;if(c=b.isCrawlable)a.ze=c;if(c=b.musicVideoType)a.musicVideoType=c;c=b.isLive;null!=c&&(a.Da=c,a.isPremiere=!!c&&!b.isLiveContent)};
Bna=function(a,b){if(a.VU){if(b.playerLegacyDesktopYpcTrailerRenderer){var c=b.playerLegacyDesktopYpcTrailerRenderer;a.Gs=c.trailerVideoId||"";var d=(d=b.playerLegacyDesktopYpcTrailerRenderer.ypcTrailer)&&d.ypcTrailerRenderer}else if(b.playerLegacyDesktopYpcOfferRenderer)c=b.playerLegacyDesktopYpcOfferRenderer;else if(b.ypcTrailerRenderer){d=b.ypcTrailerRenderer;var e=d.fullVideoMessage;a.jo=e?g.zP(e):""}c&&(a.As=c.itemTitle||"",c.itemUrl&&(a.Bs=c.itemUrl),c.itemBuyUrl&&(a.ys=c.itemBuyUrl),a.zs=c.itemThumbnail||
"",a.Es=c.offerHeadline||"",a.Ds=c.offerDescription||"",a.Fs=c.offerId||"",a.Cs=c.offerButtonText||"",a.My=c.offerButtonFormattedText||null,a.lo=c.overlayDurationMsec||NaN,a.jo=c.fullVideoMessage||"",a.pd=!0);d&&(c=d.playerVars,a.mo=c?g.BF(c):null,a.pd=!0)}};
Dna=function(a,b,c,d){if(a.Rq)if(b.isLiveDefaultBroadcast&&(a.isLiveDefaultBroadcast=!0),b.isPostLiveDvr)a.rk=!0;else{var e=!1;if(b.isLive){d.livestream="1";a.allowLiveDvr="1"!=b.isLiveDvrEnabled?!1:OM()?!0:KN&&5>TP?!1:!0;a.cf=27;b.isLowLatencyLiveStream&&(a.isLowLatencyLiveStream=!0);if(e=b.latencyClass)a.latencyClass=Cna[e]||"UNKNOWN";a.im=!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.Da=!0,d.adformat&&"8"!=d.adformat.split("_")[1]||(a.na("live_fresca_v2")?a.Mc.push("heartbeat"):(a.yd=!0,a.Mc.push("fresca"))),a.ko=!0,a.hp=!0)}};
Ena=function(a,b){if(a.ax){var c=b.thumbnailPreviewRenderer.controlBgHtml;null!=c&&(a.Gg=c,a.Ic=!0)}};
g.UP=function(a){return a.Da&&!a.allowLiveDvr};
VP=function(a){return a.Da&&a.allowLiveDvr};
Fna=function(a){a=g.ic(a.Sk);a.is_updated_raw_video_data=!0;return a};
gna=function(a){return a.Rg()||a.Qg()||a.Li()||a.Uf()};
Gna=function(a){a.Ha=a.Ha.A};
g.Hna=function(a){if(a.uj)return null;var b=a.GC;b||(b=a.yb&&a.yb.endscreen&&a.yb.endscreen.endscreenUrlRenderer&&a.yb.endscreen.endscreenUrlRenderer.url);return b||null};
g.Ina=function(a){return a.uj?null:a.yb&&a.yb.endscreen&&a.yb.endscreen.endscreenRenderer||null};
WP=function(a){return a.adFormat&&"1_5"!=a.adFormat?"adunit":a.ib.O};
XP=function(a){if(a.isAd()&&a.videoId!=a.ib.sa)return a.ib.sa};
YP=function(a){return a.hj||"detailpage"==WP(a)};
ZP=function(a){return YP(a)?"detailpage"==WP(a)?a.pk||0<a.qg:!0:!1};
$P=function(a){return a.oauthToken||a.ib.Ra};
aQ=function(a){var b=1,c=a.ib.experiments.A("html5_default_ad_gain");c&&a.isAd()&&(b=c);return Math.min(1,Math.pow(10,-a.lj/20))||b};
BP=function(a){return!a.ib.deviceHasDisplay||a.Ey&&a.ib.Nb};
MP=function(a){return a.na("disable_rqs")?!1:a.na("html5_high_res_logging")?!0:(a.Sk.fflags||"").includes("html5_high_res_logging=true")};
RP=function(a){return a&&a.baseUrl||""};
SP=function(a){a=g.DF(a);for(var b in a){var c=a[b];a[b]=g.Ga(c)?c[0]:c}return a};
Yma=function(a){var b={};(0,g.C)(a,function(c){var d=c.split("=");2==d.length?b[d[0]]=d[1]:b[c]=!0});
return b};
Wma=function(a){if(a){if(oK(a))return a;a=pK(a);if(oK(a,!0))return a}return""};
bQ=function(a,b){var c={};this.C=(c.c1a=(0,g.A)(this.F,this),c.c3a=(0,g.A)(this.G,this),c.c6a=(0,g.A)(this.D,this),c);this.o=a;this.B=!!b;this.o&&this.o.Ij?this.A=g.BF(this.o.Ij):this.A=[]};
Jna=function(a){return a.B?!!cQ.o:(a=g.y("yt.abuse.player.botguardInitialized"))&&a()};
Kna=function(a,b,c){g.v(a)&&(a={mediaContentUrl:a,startSeconds:b,suggestedQuality:c});b=/\/([ve]|embed)\/([^#?]+)/.exec(a.mediaContentUrl);a.videoId=b&&b[2]?b[2]:null;return dQ(a)};
dQ=function(a,b,c){if(g.Ka(a)){b=["endSeconds","startSeconds","mediaContentUrl","suggestedQuality","videoId"];c={};for(var d=0;d<b.length;d++){var e=b[d];a[e]&&(c[e]=a[e])}return c}return{videoId:a,startSeconds:b,suggestedQuality:c}};
Lna=function(a,b,c,d){if(g.Ka(a)&&!g.Ga(a)){b="playlist list listType index startSeconds suggestedQuality".split(" ");c={};for(d=0;d<b.length;d++){var e=b[d];a[e]&&(c[e]=a[e])}return c}b={index:b,startSeconds:c,suggestedQuality:d};g.v(a)&&16==a.length?b.list="PL"+a:b.playlist=a;return b};
eQ=function(){return"ytp-id-"+Mna++};
g.gQ=function(a){g.K.call(this);this.o={};this.Ra={};this.element=fQ(this,a)};
fQ=function(a,b,c){c=c||"svg"==b.I;if(c){var d=document.createElementNS("http://www.w3.org/2000/svg",b.I);g.mO&&(b.T||(b.T={}),b.T.focusable="false")}else d=g.ke(b.I);var e;if(e=b.N){if(e=hQ(a,d,"class",e))iQ(a,d,"class",e),a.o[e]=d}else if(e=b.da){for(var f=0;f<e.length;f++)a.o[e[f]]=d;iQ(a,d,"class",e.join(" "))}if(e=b.ca)c=hQ(a,d,"child",e),null!=c&&d.appendChild(g.le(c));else if(e=b.P)for(var k=f=0;k<e.length;k++){var l=e[k];if(l)if(g.v(l))l=hQ(a,d,"child",l),null!=l&&d.appendChild(g.le(l));else if(l.element)d.appendChild(l.element);
else{var m=l;l=fQ(a,m,c);d.appendChild(l);m.Ya&&(m=eQ(),l.id=m,l=document.createElementNS("http://www.w3.org/2000/svg","use"),l.setAttribute("class","ytp-svg-shadow"),l.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+m),pe(d,l,f++))}}if(b=b.T){c=d;for(var n in b)e=b[n],null!=e&&iQ(a,c,n,g.v(e)?hQ(a,c,n,e):e)}return d};
g.jQ=function(a){g.qe(a.element)};
hQ=function(a,b,c,d){return"{{"==d.substr(0,2)?(a.Ra[d]=[b,c],null):d};
iQ=function(a,b,c,d){if("child"==c){g.oe(b);if(!g.Ga(d)||g.Ka(d)&&g.v(d.I))d=[d];c=[];for(var e=0;e<d.length;e++){var f=d[e];if(null!=f){var k=f.nodeType;if(1==k||3==k)c.push(f);else if(g.Ka(f)&&g.v(f.I))c.push(fQ(a,f));else if(f.element)c.push(f.element);else if(g.v(f)&&-1!=f.indexOf("\n"))for(f=f.split("\n"),k=0;k<f.length;k++)0<k&&c.push(g.ke("BR")),c.push(g.le(f[k]));else c.push(g.le(f))}}for(a=0;a<c.length;a++)b.appendChild(c[a])}else"style"==c?b.style.cssText=d?d:"":null===d?b.removeAttribute(c):
b.setAttribute(c,d.toString())};
g.W=function(a){g.gQ.call(this,a);this.rd="";this.C=!0;this.V=!1;this.ga=[]};
g.kQ=function(a,b){b?a.show():a.hide()};
g.lQ=function(a){g.W.call(this,a);this.ea=new g.mH;g.L(this,this.ea)};
g.nQ=function(a,b,c,d){g.lQ.call(this,a);this.priority=b;c&&g.mQ(this,c);d&&this.Kb(d)};
g.oQ=function(a,b,c){a=void 0===a?{}:a;b=void 0===b?[]:b;c=void 0===c?!1:c;b.push("ytp-menuitem");"role"in a||(a.role="menuitem");c||"tabindex"in a||(a.tabindex="0");return{I:c?"a":"div",da:b,T:a,P:[{I:"div",N:"ytp-menuitem-label",ca:"{{label}}"},{I:"div",N:"ytp-menuitem-content",ca:"{{content}}"}]}};
g.mQ=function(a,b){a.updateValue("label",b)};
rQ=function(a,b){g.K.call(this);this.app=a;this.o=!0;this.B=null;this.F={};this.H={};this.C={};this.J=[];this.G={};this.D={};this.A=null;this.L=new Set;this.playerType=b;pQ(this,"cueVideoById",this.cueVideoById);pQ(this,"loadVideoById",this.loadVideoById);pQ(this,"cueVideoByUrl",this.cueVideoByUrl);pQ(this,"loadVideoByUrl",this.loadVideoByUrl);pQ(this,"playVideo",this.playVideo);pQ(this,"pauseVideo",this.pauseVideo);pQ(this,"stopVideo",this.stopVideo);pQ(this,"clearVideo",this.clearVideo);pQ(this,
"getVideoBytesLoaded",this.getVideoBytesLoaded);pQ(this,"getVideoBytesTotal",this.getVideoBytesTotal);pQ(this,"getVideoLoadedFraction",this.getVideoLoadedFraction);pQ(this,"getVideoStartBytes",this.getVideoStartBytes);pQ(this,"cuePlaylist",this.cuePlaylist);pQ(this,"loadPlaylist",this.loadPlaylist);pQ(this,"nextVideo",this.nextVideo);pQ(this,"previousVideo",this.previousVideo);pQ(this,"playVideoAt",this.playVideoAt);pQ(this,"setShuffle",this.setShuffle);pQ(this,"setLoop",this.setLoop);pQ(this,"getPlaylist",
this.getPlaylist);pQ(this,"getPlaylistIndex",this.getPlaylistIndex);pQ(this,"getPlaylistId",this.getPlaylistId);pQ(this,"loadModule",this.loadModule);pQ(this,"unloadModule",this.unloadModule);pQ(this,"setOption",this.setOption);pQ(this,"getOption",this.getOption);pQ(this,"getOptions",this.getOptions);pQ(this,"mute",this.mute);pQ(this,"unMute",this.unMute);pQ(this,"isMuted",this.isMuted);pQ(this,"setVolume",this.setVolume);pQ(this,"getVolume",this.getVolume);pQ(this,"seekTo",this.seekTo);pQ(this,"getPlayerState",
this.getPlayerState);pQ(this,"getPlaybackRate",this.getPlaybackRate);pQ(this,"setPlaybackRate",this.setPlaybackRate);pQ(this,"getAvailablePlaybackRates",this.getAvailablePlaybackRates);pQ(this,"getPlaybackQuality",this.getPlaybackQuality);pQ(this,"setPlaybackQuality",this.setPlaybackQuality);pQ(this,"getAvailableQualityLevels",this.getAvailableQualityLevels);pQ(this,"getCurrentTime",this.getCurrentTime);pQ(this,"getDuration",this.getDuration);pQ(this,"addEventListener",this.addEventListener);pQ(this,
"removeEventListener",this.removeEventListener);pQ(this,"getDebugText",this.getDebugText);pQ(this,"getVideoData",this.getVideoData);pQ(this,"addCueRange",this.addCueRange);pQ(this,"removeCueRange",this.removeCueRange);pQ(this,"setSize",this.setSize);pQ(this,"getApiInterface",this.getApiInterface);pQ(this,"destroy",this.destroy);pQ(this,"showVideoInfo",this.showVideoInfo);pQ(this,"hideVideoInfo",this.hideVideoInfo);pQ(this,"isVideoInfoVisible",this.isVideoInfoVisible);pQ(this,"getSphericalProperties",
this.getSphericalProperties);pQ(this,"setSphericalProperties",this.setSphericalProperties);this.app.o.gc||(pQ(this,"getVideoEmbedCode",this.getVideoEmbedCode),pQ(this,"getVideoUrl",this.getVideoUrl));pQ(this,"getMediaReferenceTime",this.getMediaReferenceTime);qQ(this,"getInternalApiInterface",this.getInternalApiInterface);qQ(this,"getAdState",this.getAdState);qQ(this,"sendAbandonmentPing",this.sendAbandonmentPing);this.app.o.experiments.o("web_player_export_autonav_methods_killswitch")&&(qQ(this,
"setAutonav",this.setAutonav),qQ(this,"setAutonavState",this.setAutonavState));qQ(this,"isNotServable",this.isNotServable);qQ(this,"channelSubscribed",this.channelSubscribed);qQ(this,"channelUnsubscribed",this.channelUnsubscribed);qQ(this,"handleExternalCall",this.handleExternalCall);qQ(this,"isExternalMethodAvailable",this.isExternalMethodAvailable)};
pQ=function(a,b,c){a.F[b]=function(d){for(var e=[],f=0;f<arguments.length;++f)e[f-0]=arguments[f];return c.apply(a,e)};
qQ(a,b,c);a.J.push(b)};
sQ=function(a,b,c){a.H[b]=function(d){for(var e=[],f=0;f<arguments.length;++f)e[f-0]=arguments[f];return c.apply(a,e)};
qQ(a,b,c);a.J.push(b)};
qQ=function(a,b,c){a.C[b]=function(d){for(var e=[],f=0;f<arguments.length;++f)e[f-0]=arguments[f];return c.apply(a,e)}};
tQ=function(a){a.A||(a.A={},g.Oa(a.A,a.F),g.Oa(a.A,a.H),a.A.addEventListener=(0,g.A)(a.BK,a),a.A.removeEventListener=(0,g.A)(a.CK,a));return a.A};
uQ=function(a,b,c){a.app.o.experiments.o("web_player_gel_logging_killswitch")||cI(b,c)};
Nna=function(a,b,c){b=g.Jd(Math.floor(b),0,100);isFinite(b)&&vQ(a.app,{volume:b,muted:a.isMuted()},c)};
Ona=function(a,b){vQ(a.app,{muted:!0,volume:a.getVolume()},b)};
Pna=function(a,b){vQ(a.app,{muted:!1,volume:Math.max(5,a.getVolume())},b)};
g.wQ=function(a){return(a=Qna(a.app.B))?a.kn:null};
Rna=function(a,b,c,d){this.videoData=a;this.o=b;this.reason=c;this.A=d};
Sna=function(){this.endTime=this.startTime=-1;this.Jt="-";this.playbackRate=1;this.visibilityState=0;this.zt="";this.volume=this.connectionType=this.jh=0;this.muted=!1};
Tna=function(a){this.A=a;this.J=!1;this.o=0;this.D=-1;this.L=this.A.Sd().volume;this.K=this.A.Sd().muted;this.F=NaN;this.C=0;this.ub=[];this.B=xQ(this.A);this.G=this.H=0};
g.yQ=function(a){a.B.startTime=a.C;a.B.endTime=a.o;a.ub.length&&g.Ra(a.ub).isEmpty()?a.ub[a.ub.length-1]=a.B:a.ub.length&&a.B.isEmpty()||a.ub.push(a.B);a.H+=a.o-a.C;a.B=xQ(a.A);a.C=a.o};
Una=function(a){return a.H+a.A.A()-a.C};
Vna=function(a){a.ub.length&&a.o==a.C||g.yQ(a);var b=a.ub;a.ub=[];return b};
Wna=function(a,b,c){c-=a.F;return b==a.o&&.5<c};
Xna=function(a,b,c,d,e,f,k,l,m,n,p,q,u){this.videoData=a;this.o=b;this.Sd=c;this.D=d;this.A=e;this.B=f;this.H=k;this.getAudioTrack=l;this.getPlaybackRate=m;this.F=n;this.getVisibilityState=p;this.G=q||function(){};
this.C=null;this.J=u||function(){}};
g.zQ=function(a){return Yna(a)()};
Yna=function(a){if(!a.C){var b=g.Na(function(c){var d=g.GH();c&&631152E6>=d&&(g.$E(Error("invalid yt.global.now value: "+d)),d=(new Date).getTime()+2);return d},a.o.experiments.o("html5_validate_yt_now"));
a.C=g.Na(function(c){return Math.round(b()-c)/1E3},b());
a.J()}return a.C};
Zna=function(a){var b=a.Sd();g.Oa(b,a.videoData.Sd());return b};
aoa=function(a){if(navigator.connection&&navigator.connection.type)return $na[navigator.connection.type]||$na.other;if(a.o.experiments.o("html5_tv_bearer")&&g.$N(a.o)){a=navigator.userAgent;if(/[Ww]ireless[)]/.test(a))return 3;if(/[Ww]ired[)]/.test(a))return 1}return 0};
xQ=function(a){var b=new Sna;b.Jt=a.Sd().cc||"-";b.playbackRate=a.getPlaybackRate();var c=a.getVisibilityState();0!=c&&(b.visibilityState=c);a.o.jh&&(b.jh=1);c=a.getAudioTrack();c.Ob&&c.Ob.id&&"und"!=c.Ob.id&&(b.zt=c.Ob.id);b.connectionType=aoa(a);b.volume=a.Sd().volume;b.muted=a.Sd().muted;return b};
g.coa=function(a){return(a=boa[a.toString()])?a:"LICENSE"};
doa=function(){};
eoa=function(a,b){a.zj&&null!=b&&b.o==a.zj.o||(a.zj&&a.zj.dispose(),a.zj=b)};
g.AQ=function(a){a=void 0===a?!1:a;g.K.call(this);this.D=this.C=this.B=null;this.L=a;this.J=this.H=!1;this.G=new g.jg;g.L(this,this.G)};
BQ=function(a){a=a.Cp();return 1>a.length?NaN:a.end(a.length-1)};
foa=function(a,b){a.B&&null!=b&&b.o==a.B.o||(a.B&&a.B.dispose(),a.B=b)};
CQ=function(a){return oM(a.Of(),a.getCurrentTime())};
goa=function(a){var b=a.Of();return 0<nM(b)&&a.getDuration()?mM(b,a.getCurrentTime()):0};
hoa=function(a){var b=a.Of();return 0<nM(b)&&a.getDuration()?b.end(b.length-1):0};
DQ=function(a){var b=a.getDuration();return Infinity==b?1:b?goa(a)/b:0};
EQ=function(a){switch(a.Fb()){case 2:return"progressive.net.retryexhausted";case 3:return"fmt.decode";case 4:return"fmt.unplayable";case 5:return"drm.unavailable";case 1E3:return"capability.changed";default:return null}};
FQ=function(a,b,c){g.If.call(this,b,a);this.o=c||null};
ioa=function(a){this.B=this.o=NaN;this.C=this.A=!1;this.D=void 0===a?!1:a};
GQ=function(a,b){return b>a.o+(a.D?.001:0)&&b<a.o+5};
joa=function(a,b,c,d){if(d=1<d)a.C=!0;if(a.A)b!=a.o&&(a.A=!1);else if(0<b&&a.o==b)return c-a.B>(d||!a.C?1500:400);a.o=b;a.B=c;return!1};
g.HQ=function(a,b){this.o=a||64;this.A=void 0===b?null:b};
IQ=function(a,b){return joa(a,b.getCurrentTime(),g.GH(),CQ(b))};
JQ=function(a,b,c){return b==a.o&&c==a.A||void 0!=b&&(b&128&&!c||b&2&&b&16)?a:new g.HQ(b,c)};
KQ=function(a,b){return JQ(a,a.o|b)};
LQ=function(a,b){return JQ(a,a.o&~b)};
MQ=function(a,b,c){return JQ(a,(a.o|b)&~c)};
g.X=function(a,b){return!!(a.o&b)};
g.NQ=function(a,b){return b.o==a.o&&b.A==a.A};
OQ=function(a){return g.X(a,8)&&!g.X(a,2)&&!g.X(a,1024)};
g.PQ=function(a){return g.X(a,1)&&!g.X(a,2)};
QQ=function(a){return g.X(a,128)?-1:g.X(a,2)?0:g.X(a,64)?-1:g.X(a,1)&&!g.X(a,32)?3:g.X(a,8)?1:g.X(a,4)?2:-1};
g.RQ=function(a,b){this.state=a;this.o=b};
SQ=function(a,b){return g.X(a.state,b)&&!g.X(a.o,b)?1:!g.X(a.state,b)&&g.X(a.o,b)?-1:0};
UQ=function(a){g.K.call(this);var b=this;this.o=a;this.A={};this.K=1;this.ba=NaN;this.C="N";this.F=this.ka=this.ea=this.aa=this.B=0;this.M=this.ma="";this.ga=0;this.sa=-1;this.ia=1;this.L=this.V=0;this.Y=this.J=!1;this.xa=[];this.G=null;this.O=this.H=!1;(a=navigator.getBattery?navigator.getBattery():null)&&a.then&&a.then(function(c){b.G=c});
g.TQ(this,0,"vps",["N"])};
g.TQ=function(a,b,c,d){var e=a.A[c];e||(e=[],a.A[c]=e);e.push(b.toFixed(3)+":"+d.join(":"))};
WQ=function(a,b){b=0<=b?b:g.zQ(a.o);var c=a.o.B();if(!isNaN(a.ha)&&!isNaN(c.C)){var d=c.C-a.ha;0<d&&g.TQ(a,b,"bwm",[d,(c.D-a.Aa).toFixed(3)])}a.ha=c.C;a.Aa=c.D;isNaN(c.bandwidthEstimate)||g.TQ(a,b,"bwe",[c.bandwidthEstimate.toFixed(0)]);a.o.videoData.Gh&&c.o&&VQ(a,"bwinfo",c.o);a.G&&g.TQ(a,b,"bat",[a.G.level,a.G.charging?"1":"0"]);d=a.o.getVisibilityState();a.sa!=d&&(g.TQ(a,b,"vis",[d]),a.sa=d);g.TQ(a,b,"cmt",[a.o.A().toFixed(3)]);(d=aoa(a.o))&&d!=a.ga&&(g.TQ(a,b,"conn",[d]),a.ga=d);koa(a,b,c);null!==
a.o.videoData.Eo&&(a.A.acc=[a.o.videoData.Eo.join(":")])};
koa=function(a,b,c){if(!isNaN(c.A)){var d=c.A;c.B<d&&(d=c.B);g.TQ(a,b,"bh",[d.toFixed(3)])}};
XQ=function(a){var b=0,c;for(c in a.A)b+=c.length+(0,g.xj)(a.A[c],function(d,e){return d+e.length},0);
1E3<b&&(new g.V(a.D,0,a)).start()};
loa=function(a,b,c,d){var e=a.o.A();c=[c,e.toFixed(3)];d&&c.push(d);g.TQ(a,b,"error",c)};
noa=function(a,b){if(g.X(b,128))return"ER";if(g.X(b,512))return"SU";if(g.X(b,16)||g.X(b,32))return"S";var c=moa[QQ(b)];g.$N(a.o.o)&&"B"==c&&3==a.o.getVisibilityState()&&(c="SU");"B"==c&&g.X(b,4)&&(c="PB");return c};
YQ=function(a,b){var c=a.A.cat||[];c.push(b);a.A.cat=c};
VQ=function(a,b,c,d){var e=a.A.ctmp||[],f=-1!=a.xa.indexOf(b);f||a.xa.push(b);d&&f||(d||(c="t."+(1E3*g.zQ(a.o)).toFixed()+";"+c),e.push(b+":"+c),a.A.ctmp=e,XQ(a))};
ZQ=function(a,b,c,d){this.segments=[];this.experimentIds=[];this.adQueryId=null;this.Hh=this.ga=this.isFinal=this.Fa=this.L=this.autoplay=this.autonav=!1;this.ia="yt";this.A=this.B=null;this.O=!1;this.C="watchtime"==c;this.F="playback"==c;this.V="delayplay"==c;this.M="atr"==c;this.Ia="engage"==c;this.al=!1;this.sa=this.M?"/api/stats/"+c:"//"+b.Ol+"/api/stats/"+c;d&&(this.ga=d.fs,d.rtn&&(this.A=d.rtn),this.C?(this.playerState=d.state,0<d.rti&&(this.B=d.rti)):(this.La=d.mos,this.Ra=d.volume,d.at&&(this.adType=
d.at)),d.autonav&&(this.autonav=d.autonav),d.inview&&(this.ma=d.inview),d.size&&(this.ka=d.size));this.deviceParams=g.ic(b.deviceParams);this.ya=b.ya;this.experimentIds=b.experiments.experimentIds;this.ba=b.Aa;this.ia=b.ba;this.region=b.region;this.userAge=b.userAge;this.ea=b.Aj;this.Wa=WH();this.al=b.Fa;this.G=$P(a);this.adFormat=a.adFormat;this.adQueryId=a.adQueryId;this.autoplay=ZP(a);this.autonav=a.pk||this.autonav;this.contentVideoId=XP(a);this.clientPlaybackNonce=a.clientPlaybackNonce;this.L=
a.Ic;a.co&&(this.K=a.co,this.xa=a.ms);a.mdxEnvironment&&(this.mdxEnvironment=a.mdxEnvironment);this.ph=a.ph;this.nf=a.nf;a.Ca&&(this.ha=PJ(a.Ca),a.Ec&&PJ(a.Ec)!=this.ha&&(this.J=PJ(a.Ec)));this.Hh=a.Hh;this.mk=a.mk;if(b=OP(a))this.Oa=b;this.fn=a.fn;this.cf=a.cf;this.eventId=a.eventId;this.playlistId=a.GG||a.playlistId;this.kr=a.kr;this.Af=a.Af;this.Bf=a.Bf;this.Vn=a.Vn;this.subscribed=a.subscribed;this.videoId=a.videoId;this.videoMetadata=a.videoMetadata;this.visitorData=a.visitorData;this.osid=a.osid;
this.Zw=a.Zw;this.referrer=a.referrer;this.Tk=a.rx||a.Tk;this.sl=a.sl;this.Sr=a.Sr;this.th=a.th;this.Aa=WP(a)};
$Q=function(a,b){var c=a.G&&IF(),d=a.al&&!!a.visitorData;if(!c&&!d)return null;var e={};c&&(e.Authorization="Bearer "+a.G);d&&(e["X-Goog-Visitor-Id"]=a.visitorData);return{headers:e,withCredentials:!0,Hd:b}};
ooa=function(a,b,c,d){b.cmt=b.len;b.lact="0";d=d();d=d.toFixed(3);b.rt=(1*d).toString();a=g.rh(a,b);c?g.UF(a,c):g.pG(a)};
bR=function(a){var b={ns:a.ia,el:a.Aa,cpn:a.clientPlaybackNonce,docid:a.videoId,ver:2,referrer:a.referrer,cmt:a.o(a.ph),ei:a.eventId,fmt:a.ha,fs:a.ga?"1":"0",rt:a.o(a.Sa),of:a.Zw,adformat:a.adFormat,content_v:a.contentVideoId,euri:a.ya,lact:a.Wa,live:a.Oa,cl:"238399221",mos:a.La,osid:a.osid,state:a.playerState,vm:a.videoMetadata,volume:a.Ra};a.adQueryId&&(b.aqi=a.adQueryId);a.subscribed&&(b.subscribed="1");g.Oa(b,a.deviceParams);a.autonav&&(b.autonav="1");a.autoplay&&(b.autoplay="1");a.L&&(b.dni=
"1");a.isFinal&&(b["final"]="1");a.Hh&&(b.splay="1");a.nf&&(b.delay=a.nf);a.ba&&(b.hl=a.ba);a.region&&(b.cr=a.region);g.Aa(a.userAge)&&a.ea&&(b.uga=a.ea+a.userAge);g.Aa(a.aa)&&(b.len=a.o(a.aa));!a.C&&0<a.experimentIds.length&&(b.fexp=a.experimentIds.toString());null!=a.A&&(b.rtn=a.o(a.A));a.Tk&&(b.feature=a.Tk);a.playlistId&&(b.list=a.playlistId);a.Af&&(b.ctrl=a.Af);a.Bf&&(b.ytr=a.Bf);a.Vn&&(b.ssrt="1");a.J&&(b.afmt=a.J);a.Y&&(b.lio=a.o(a.Y));a.C?(b.idpj=a.mk,b.ldpj=a.fn,null!=a.B&&(b.rti=a.o(a.B))):
g.Aa(a.adType)&&(b.at=a.adType);a.ka&&(a.F||a.V)&&(b.size=a.ka);null!=a.ma&&(a.F||a.V)&&(b.inview=a.o(a.ma));a.C&&(b.volume=aR(a,(0,g.I)(a.segments,function(d){return d.volume})),b.muted=aR(a,(0,g.I)(a.segments,function(d){return d.muted?1:0})),b.st=aR(a,(0,g.I)(a.segments,function(d){return d.startTime})),b.et=aR(a,(0,g.I)(a.segments,function(d){return d.endTime})),(0,g.xk)(a.segments,function(d){return 1!=d.playbackRate})&&(b.rate=aR(a,(0,g.I)(a.segments,function(d){return d.playbackRate}))));
(0,g.xk)(a.segments,function(d){return 0!=d.visibilityState})&&(b.vis=aR(a,(0,g.I)(a.segments,function(d){return d.visibilityState})));
(0,g.xk)(a.segments,function(d){return 0!=d.connectionType})&&(b.conn=aR(a,(0,g.I)(a.segments,function(d){return d.connectionType})));
(0,g.xk)(a.segments,function(d){return 0!=d.jh})&&(b.blo=aR(a,(0,g.I)(a.segments,function(d){return d.jh})));
(0,g.xk)(a.segments,function(d){return"-"!=d.Jt})&&(b.cc=(0,g.I)(a.segments,function(d){return d.Jt}).join(","));
if((0,g.xk)(a.segments,function(d){return!!d.zt})){var c="au";
a.F&&(c="au_d");b[c]=(0,g.I)(a.segments,function(d){return d.zt}).join(",")}IF()&&a.K&&(b.ctt=a.K,b.cttype=a.xa,b.mdx_environment=a.mdxEnvironment);
a.Ia&&(b.etype=g.Aa(a.D)?a.D:0);a.sl&&(b.uoo=a.sl);a.Sr&&(b.upt=a.Sr);a.th&&(b.wpid=a.th);return b};
aR=function(a,b){return(0,g.I)(b,a.o).join(",")};
g.cR=function(a,b){return a.D+"timedtext_video?ref=player&v="+b.videoId};
dR=function(a){g.K.call(this);this.o=a;this.A=new UQ(a);g.L(this,this.A);this.C=new Tna(a);this.F="paused";this.G=NaN;this.J=[10,10,10,40];this.K=this.H=0;this.O=this.V=this.aa=this.Y=this.M=this.L=this.D=!1;this.B=NaN};
eR=function(a,b,c){var d=g.zQ(a.o);c=isNaN(c)?d:c;c=Math.ceil(c);var e=a.J[a.H];a.H+1<a.J.length&&a.H++;c+=e;d=1E3*(c-d);a.G=g.gF((0,g.A)(a.hR,a,c,b),d);return c};
fR=function(a,b){var c=Zna(a.o);g.Oa(c,{state:a.F});c=new ZQ(a.o.videoData,a.o.o,b,c);c.ph=a.o.A();a.o.videoData.Da||(c.aa=a.o.D());if(a.o.videoData.ua){var d=XL(a.o.videoData.ua,c.ph);d&&(c.Y=d-c.ph)}c.Sa=g.zQ(a.o);c.segments=[xQ(a.o)];return c};
poa=function(a,b){var c=fR(a,"watchtime");c.segments=b;c.ph=a.C.o;return c};
qoa=function(a){a.C.update();return poa(a,Vna(a.C))};
soa=function(a){a.o.videoData.remarketingUrl&&!a.Y&&(gR(a,a.o.videoData.remarketingUrl),a.Y=!0);a.o.videoData.youtubeRemarketingUrl&&!a.aa&&(gR(a,a.o.videoData.youtubeRemarketingUrl),a.aa=!0);a.o.videoData.googleRemarketingUrl&&!a.V&&(gR(a,a.o.videoData.googleRemarketingUrl),a.V=!0);a.o.videoData.ppvRemarketingUrl&&!a.O&&(gR(a,a.o.videoData.ppvRemarketingUrl),a.O=!0);roa(a)};
toa=function(a){a.B=g.hF((0,g.A)(a.yr,a,"heartbeat"),3E4)};
roa=function(a){a.o.videoData.xd.eventLabel=WP(a.o.videoData);a.o.videoData.xd.playerStyle=a.o.o.playerStyle;a.o.videoData.Zq&&(a.o.videoData.xd.feature="pyv");a.o.videoData.xd.vid=a.o.videoData.videoId;var b=a.o.videoData.xd;a=a.o.videoData;a=a.isAd()||!!a.Zq;b.isAd=a};
gR=function(a,b,c){a.o.o.Fa&&a.o.videoData.visitorData&&HF(b)?g.UF(b,{Hd:c,headers:{"X-Goog-Visitor-Id":a.o.videoData.visitorData}}):g.pG(b,c)};
hR=function(a,b){rQ.call(this,a,b);this.o=!1;sQ(this,"getPresentingPlayerType",this.getPresentingPlayerType);sQ(this,"addInfoCardXml",this.addInfoCardXml);sQ(this,"cueVideoByPlayerVars",this.cueVideoByPlayerVars);sQ(this,"clearQueue",this.clearQueue);sQ(this,"enqueueVideoByPlayerVars",this.enqueueVideoByPlayerVars);sQ(this,"loadVideoByPlayerVars",this.loadVideoByPlayerVars);sQ(this,"preloadVideoByPlayerVars",this.preloadVideoByPlayerVars);sQ(this,"seekBy",this.seekBy);sQ(this,"updatePlaylist",this.updatePlaylist);
sQ(this,"updateLastActiveTime",this.updateLastActiveTime);sQ(this,"updateVideoData",this.updateVideoData);sQ(this,"canPlayType",this.canPlayType);sQ(this,"sendVideoStatsEngageEvent",this.sendVideoStatsEngageEvent);sQ(this,"setCardsVisible",this.setCardsVisible);sQ(this,"setAutonav",this.setAutonav);sQ(this,"setAutonavState",this.setAutonavState);sQ(this,"showControls",this.showControls);sQ(this,"hideControls",this.hideControls);sQ(this,"setSafetyMode",this.setSafetyMode);sQ(this,"cancelPlayback",
this.cancelPlayback);sQ(this,"isContinuousPlayback",this.isContinuousPlayback);sQ(this,"isFastLoad",this.isFastLoad);sQ(this,"isInline",this.isInline);sQ(this,"isAtLiveHead",this.isAtLiveHead);sQ(this,"setInline",this.setInline);sQ(this,"getVideoAspectRatio",this.getVideoAspectRatio);sQ(this,"getPreferredQuality",this.getPreferredQuality);sQ(this,"setPlaybackQualityRange",this.setPlaybackQualityRange);sQ(this,"onAdUxClicked",this.onAdUxClicked);sQ(this,"getPlayerResponse",this.getPlayerResponse);
sQ(this,"getStoryboardFormat",this.getStoryboardFormat);sQ(this,"getStoryboardFrame",this.getStoryboardFrame);sQ(this,"getStoryboardFrameIndex",this.getStoryboardFrameIndex);sQ(this,"getStoryboardLevel",this.getStoryboardLevel);sQ(this,"getNumberOfStoryboardLevels",this.getNumberOfStoryboardLevels);sQ(this,"getProgressState",this.getProgressState);sQ(this,"getAudioTrack",this.getAudioTrack);sQ(this,"setAudioTrack",this.setAudioTrack);sQ(this,"getAvailableAudioTracks",this.getAvailableAudioTracks);
sQ(this,"getMaxPlaybackQuality",this.getMaxPlaybackQuality);sQ(this,"getUserPlaybackQualityPreference",this.getUserPlaybackQualityPreference);sQ(this,"setUserEngagement",this.setUserEngagement);sQ(this,"getVideoContentRect",this.getVideoContentRect);sQ(this,"updateSubtitlesUserSettings",this.updateSubtitlesUserSettings);sQ(this,"getSubtitlesUserSettings",this.getSubtitlesUserSettings);sQ(this,"resetSubtitlesUserSettings",this.resetSubtitlesUserSettings);sQ(this,"setMinimized",this.setMinimized);this.app.o.experiments.o("web_player_export_spherical_methods_killswitch")&&
(sQ(this,"getSphericalProperties",this.getSphericalProperties),sQ(this,"setSphericalProperties",this.setSphericalProperties));sQ(this,"setBlackout",this.setBlackout);sQ(this,"getVisibilityState",this.getVisibilityState);sQ(this,"setFauxFullscreen",this.setFauxFullscreen);sQ(this,"toggleFullscreen",this.toggleFullscreen);sQ(this,"getVideoStats",this.getVideoStats);sQ(this,"getPlayerSize",this.getPlayerSize);sQ(this,"isMutedByMutedAutoplay",this.isMutedByMutedAutoplay);sQ(this,"setUseFastSizingOnWatch",
this.setUseFastSizingOnWatch);sQ(this,"setInternalSize",this.setInternalSize);sQ(this,"getHousebrandProperties",this.getHousebrandProperties);sQ(this,"getCurrentPlaylistSequence",this.getCurrentPlaylistSequence);sQ(this,"getPlaylistSequenceForTime",this.getPlaylistSequenceForTime);sQ(this,"getCurrentBroadcastId",this.getCurrentBroadcastId);sQ(this,"handleGlobalKeyDown",this.handleGlobalKeyDown);sQ(this,"handleGlobalKeyUp",this.handleGlobalKeyUp);sQ(this,"setSizeStyle",this.setSizeStyle);sQ(this,"forceFrescaUpdate",
this.forceFrescaUpdate);sQ(this,"shouldSendVisibilityState",this.shouldSendVisibilityState);sQ(this,"setGlobalCrop",this.setGlobalCrop);sQ(this,"wakeUpControls",this.wakeUpControls);sQ(this,"updateFullerscreenEduButtonVisibility",this.updateFullerscreenEduButtonVisibility);sQ(this,"updateFullerscreenEduButtonSubtleModeState",this.updateFullerscreenEduButtonSubtleModeState)};
uoa=function(a){a=(a=Qna(a.app.B))?a.kn:null;return a?(a=a.KB())?a.L:null:null};
iR=function(a,b){hR.call(this,a,b)};
jR=function(a,b){this.C=a;this.o=b||null;this.A=!1};
voa=function(a,b,c){var d=g.TN(b.ib)&&b.ib.Od&&YP(b);if(b.ib.ed&&(PN(b.ib)||g.pO(b.ib)||d)&&!a.A){a.A=!0;g.YE("TIMING_ACTION")||XE("TIMING_ACTION",a.C.kf);a.C.Sa&&XE("CSI_SERVICE_NAME",a.C.Sa);if(a.o){b=a.o.ea;for(var e in b)(0,g.LP)(e,b[e],"");e=a.o.ba;for(var f in e)(0,g.kR)(f,e[f],"");f=a.o;f.ea={};f.ba={}}(0,g.kR)("yt_pvis",Sma(),"");(0,g.kR)("yt_pt","html5","");c&&!wP("pbs","")&&(0,g.LP)("pbs",c,"");a=a.C;!g.pO(a)&&!PN(a)&&wP("_start","")&&yP("")}};
g.lR=function(a,b,c){g.K.call(this);this.start=a;this.end=b;this.C=woa++;a=c||{};this.Ja=a.id||"";this.B=a.priority||7;this.active=!0;this.visible=a.visible||!1;this.style=a.style||"ytp-ad-progress";this.namespace=a.namespace||"";this.color="";if(b=a.color)b=b.toString(16),this.color="#"+Array(7-b.length).join("0")+b;this.o=null;this.tooltip=a.tooltip;this.icons=a.icons?a.icons.filter(function(d){return(0,g.wj)(d.thumbnails,function(e){return g.mK(e.url)})}):null;
this.visible=this.visible;this.style=this.style;this.start=this.start};
xoa=function(a){return-0x8000000000000==a?"BEFORE_MEDIA_START":0==a?"MEDIA_START":0x7ffffffffffff==a?"MEDIA_END":0x8000000000000==a?"AFTER_MEDIA_END":a.toString()};
yoa=function(a,b){switch(a.style){case "ytp-chapter-marker":return b?8:5;case "ytp-ad-progress":return 6;case "ytp-time-marker":return Number.POSITIVE_INFINITY;default:return 0}};
g.mR=function(a,b){return a.start-b.start||a.B-b.B||a.C-b.C};
g.nR=function(a){return"crn_"+a};
g.oR=function(a,b){this.type=a||"";this.id=b||""};
g.qR=function(a,b){g.mH.call(this);this.ib=a;this.startSeconds=0;this.oG=!1;this.Ib=0;this.title="";this.Lh=0;this.Qa=[];this.fg=this.lc=!1;this.Jd=this.jB=this.On=null;var c=b.session_data;c&&(this.Jd=g.zF(c));this.views=0;this.OJ=0!=b.fetch;this.ke=[];this.Ib=Math.max(0,b.index||0);this.loop=!!b.loop;this.startSeconds=parseInt(b.startSeconds,10)||0;this.VP="1"==b.mob;this.title=b.playlist_title||"";this.description=b.playlist_description||"";this.author=b.author||b.playlist_author||"";this.bi={};
b.video_id&&(this.Qa[this.Ib]=b);if(c=b.api)"string"==typeof c&&16==c.length?b.list="PL"+c:b.playlist=c;this.fq=0;if(c=b.list)switch(b.listType){case "user_uploads":this.fg||(this.listId=new g.oR("UU","PLAYER_"+c),pR(this,"/list_ajax?style=json&action_get_user_uploads_by_user=1",{username:c}));break;case "user_favorites":this.fg||(this.listId=new g.oR("FL","PLAYER_"+c),pR(this,"/list_ajax?style=json&action_get_favorited_by_user=1",{username:c}));break;case "search":zoa(this,c);break;default:var d=
b.playlist_length;d&&(this.Lh=parseInt(d,0));this.listId=new g.oR(c.substr(0,2),c.substr(2));(c=b.video)?(this.Qa=c.slice(0),this.lc=!0):Aoa(this)}else b.playlist&&(c=b.playlist.toString().split(","),0<this.Ib&&(this.Qa=[]),c.forEach(function(e){e&&this.Qa.push({video_id:e})},this),this.Lh=this.Qa.length,c=this.Qa.map(function(e){return e.video_id}),pR(this,"/list_ajax?style=json&action_get_templist=1",{video_ids:c.join(",")}),this.lc=!0);
this.setShuffle(!!b.shuffle);if(c=b.suggestedQuality)this.quality=c;this.bi=sma(b,"playlist_");this.xG=(c=b.thumbnail_ids)?c.split(","):[]};
rR=function(a){return!!(a.playlist||a.list||a.api)};
Boa=function(a){var b=a.Ib+1;return b>=a.Lh?0:b};
Coa=function(a){var b=a.Ib-1;return 0>b?a.Lh-1:b};
sR=function(a,b){a.Ib=g.Jd(b,0,a.Lh-1);a.startSeconds=0};
zoa=function(a,b){if(!a.fg){a.listId=new g.oR("SR",b);var c={search_query:b};a.VP&&(c.mob="1");pR(a,"/search_ajax?style=json&embeddable=1",c)}};
Aoa=function(a){if(!a.fg){var b=b||a.listId;b={list:b};var c=a.za();c&&c.videoId&&(b.v=c.videoId);pR(a,"/list_ajax?style=json&action_get_list=1",b)}};
pR=function(a,b,c){a.OJ&&g.UF(g.rh(b,c),{format:"JSON",onSuccess:(0,g.A)(function(d,e){tR(this,e)},a),
onError:(0,g.A)(function(){this.U("error")},a)})};
tR=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.za();a.Qa=[];b.video.forEach(function(e){e&&(e.video_id=e.encrypted_id,this.Qa.push(e))},a);
a.Lh=a.Qa.length;var d=b.index;d?a.Ib=d:a.wm(c);a.setShuffle(!1);a.fg=!1;a.lc=!0;a.fq++;a.On&&a.On()}};
g.uR=function(a){g.AQ.call(this);this.o=a;this.A={}};
vR=function(a,b){this.o=a;this.A=null;this.B=[];this.Bb=!1;this.C=b};
g.wR=function(a){if(!a.A){var b=a.C.ra();a.A=a.o.createMediaElementSource(b)}return a.A};
g.xR=function(a){for(var b;0<a.B.length;)b=a.B.pop(),b.disconnect();a.A&&a.A.disconnect()};
yR=function(a,b,c){this.audio=a;this.video=b;this.reason=c};
Doa=function(){this.o=this.A=0;this.C=[]};
Eoa=function(a,b,c){0==c&&(a.A=0,a.o=0,a.C.length=0);if(!(isNaN(a.A)||8>b.length)){c=new DataView(b.buffer,b.byteOffset);for(var d=!1;!d;)if(a.A==a.o)a:{var e;d=a;var f=b.length;if(d.A+7>=f){for(e=d.A;e<f;e++)d.C.push(c.getUint8(e));d=!0}else{if(0<d.C.length){for(e=0;8>d.C.length;e++)d.C.push(c.getUint8(e));var k=zR(d.C,0);e=zR(d.C,4);d.C.length=0}else k=c.getUint32(d.o),e=c.getUint32(d.o+4);if(1836019558==e||1836019574==e||1718909296==e||1936286840==e||1701671783==e||1937013104==e||1936419184==e)d.A+=
k,d.o=d.A;else if(1835295092==e)d.A+=k,d.o+=8;else{d.A=NaN;d=!0;break a}d=d.o>=f}}else a:if(d=a,f=b.length,d.o+5>=f){for(e=d.o;e<f;e++)d.C.push(c.getUint8(e));d=!0}else{if(0<d.C.length){for(e=0;6>d.C.length;e++)d.C.push(c.getUint8(e));e=zR(d.C,0);12==e&&6==d.C[4]&&45==d.C[5]&&c.setUint8(d.o+5,63);d.o+=e+4;d.C.length=0}for(;d.o<d.A&&d.o+5<f;){e=c.getUint32(d.o);if(0>=e){d.A=NaN;d=!0;break a}12==e&&6==c.getUint8(d.o+4)&&45==c.getUint8(d.o+5)&&c.setUint8(d.o+5,63);d.o+=e+4}d=d.o>=f}isNaN(a.A)||(a.A-=
b.length,a.o-=b.length)}};
zR=function(a,b){return(a[b]<<24)+(a[b+1]<<16)+(a[b+2]<<8)+a[b+3]};
BR=function(a,b){this.O=a;this.aa=b;this.o=new AR(0,0,null);this.B=8;this.C=[];this.G=[];this.D=this.J=NaN;this.V=this.A=this.K=0;this.F=NaN;this.Y=0;this.M=!1;this.H=null;this.L=0};
CR=function(a){return{startTime:a.F/a.A,duration:a.V/a.A}};
Foa=function(a){a.F=NaN;a.V=0;a.H=null;a.L=0};
DR=function(a){return!isNaN(a.D)&&a.A?a.D/a.A:a.Y};
ER=function(a,b,c){var d=b.getUint32(c);b=b.getUint32(c+4);a.o=new AR(b,d,a.o);return 8};
FR=function(a){a.A&&!isNaN(a.J)&&(a.D=Math.floor(a.J*a.A),a.J=NaN)};
Goa=function(a){return 0==a.o.type||1836019574==a.o.type||1952867444==a.o.type||1936286840==a.o.type||1953653094==a.o.type||1836019558==a.o.type||1836476516==a.o.type};
Hoa=function(a,b,c){for(var d=c;d<b.byteLength;d++)a.C.push(b.getUint8(d));0<c&&a.G.push(new DataView(b.buffer,b.byteOffset,c))};
GR=function(a,b,c){return new II(b,c,a.o.size,a.o.type,!0)};
AR=function(a,b,c){this.type=a;this.size=b;this.parent=c;this.offset=this.version=0};
Ioa=function(a,b){this.G=a;this.D=b;this.F=a.WM;this.B=new Uint8Array(this.F);this.C=this.A=0;this.o=null;this.H=[];this.J=this.K=null};
Loa=function(a,b){if(1==b.info.type)a.K=HJ(0,b.range.length);else if(2==b.info.type){if(!a.o||1!=a.o.type)return;a.J=HJ(a.C*a.F+a.A,b.range.length)}else if(3==b.info.type){if(3==a.o.type&&!LJ(a.o,b.info)&&(a.H=[],b.info.A!=a.o.A+(a.o.B?1:0)||0!=b.info.C))return;if(b.info.B)a.H.map(function(c){return Joa(a,c)}),a.H=[];
else{a.H.push(b);a.o=b.info;return}}Joa(a,b);a.o=b.info;Koa(a)};
Joa=function(a,b){for(var c=0;c<b.range.length;){var d=Math.min(b.range.length-c,a.B.byteLength-a.A),e=new Uint8Array(b.buffer,b.range.start+c,d);a.B.set(e,a.A);a.A+=d;c+=d;a.A==a.B.length&&(ema(a.G.G,a.D.info,a.C,a.B),a.B=new Uint8Array(a.F),a.A=0,a.C+=1)}};
Koa=function(a){if(a.o&&a.o.H){if(a.A){var b=new Uint8Array(a.B.buffer,0,a.A);ema(a.G.G,a.o.o.info,a.C,b)}b=g.ic(a.D.K);b.url="local://localhost/videoplayback?"+AF({lmt:a.D.lastModified,docid:a.G.G,fmtid:a.D.info.id,csz:a.F,clen:a.C*a.F+a.A});b.lmt=""+a.D.lastModified;b.init=a.K.toString();b.index=a.J.toString();b=AF(b);fma(a.G.G,!!a.D.info.video,b)}};
Moa=function(a){for(var b=new Uint8Array(0),c=new DataView(a.buffer,a.byteOffset,a.length),d=0;d<a.length-8;){var e=c.getUint32(d);if(1>=e)break;var f=c.getUint32(d+4);if(1836019574==f)d+=8;else{if(1886614376==f){f=a.subarray(d,d+e);var k=new Uint8Array(b.length+f.length);k.set(b);k.set(f,b.length);b=k}d+=e}}return b};
Noa=function(a){a=mJ(a,1886614376);(0,g.C)(a,function(b){return!b.A});
return(0,g.I)(a,function(b){return new Uint8Array(b.data.buffer,b.offset+b.data.byteOffset,b.size)})};
Ooa=function(a){var b=(0,g.xj)(a,function(e,f){return e+f.length},0),c=new Uint8Array(b),d=0;
(0,g.C)(a,function(e){c.set(e,d);d+=e.length});
return c};
HR=function(a){return g.Me(a,!0).replace(/[\.]{1,2}$/,"")};
Qoa=function(a,b,c,d){var e=this;this.A=a;a=GJ(this.A.get("range")||"");if(!a)throw Error("bad range");this.B=a;this.D=c;this.status=0;this.response=null;this.o=[];this.lc=0;this.C="";Poa(this).then(d,function(f){e.C=""+f||"unknown_err";d()});
b()};
Poa=function(a){var b,c,d,e,f,k,l,m,n,p,q,u,w;return xa(function(D){if(1==D.o){a.status=200;b=a.A.get("docid");c=a.A.get("fmtid");d=+a.A.get("csz");if(!b||!c||!d)throw Error("Invalid local URL");e=a.B;f=Math.floor(e.start/d);k=Math.floor(e.end/d);l=f}if(5!=D.o)return l<=k?D=ua(D,jma(b,c,l),5):(D.o=0,D=void 0),D;m=D.D;n=l*d;p=(l+1)*d;q=Math.max(0,e.start-n);u=Math.min(e.end+1,p)-(q+n);w=new Uint8Array(m.buffer,q,u);a.o.push(w);a.lc+=u;a.lc<e.length&&a.D((0,g.H)(),a.lc);l++;D.o=2})};
Roa=function(a,b){this.A=a;this.F=this.D=!1;this.length=b?b:0;this.C=0;this.o=[];this.B=null;this.length?1!=this.A.length||this.A[0].gb||(this.A[0].gb=this.length):1==this.A.length||(0,g.wj)(this.A,function(c){return!!c.range})};
Soa=function(a){var b=a.length-a.C;(0,g.C)(a.o,function(c){b+=c.range.length});
return b};
Toa=function(a,b){this.A=a;this.o=b};
Uoa=function(a,b){if(0>b)return!0;var c=a.o.Lb();return b<c||b==c&&!a.A.V||b==c&&(c=oL(a.o))&&b==c.Ub?!0:!1};
Voa=function(a,b,c){if(!Uoa(a,b))return 0;if(!a.A.o||!isNaN(c)&&0<c)return 2;if(0>b)return 1;c=a.o.Lb();return b<c||b==c&&(a=oL(a.o))&&b==a.Ub&&!a.o?2:1};
Woa=function(a,b,c,d){if(Uoa(a,b))return d;b=0;a.A.o&&(b=.2);return c+1E3*(a.o.o+b)};
Xoa=function(a,b,c,d,e){b=Voa(a,b,e);if(2==b)return d;c=b?d:c+1E3*a.o.o;a.A.o&&(c+=1E3*a.o.o);return c};
Yoa=function(a){this.F=a;this.B=NaN;this.D=[];this.C=this.o=this.A=0};
Zoa=function(a,b,c,d,e){this.xa=null;this.A=a;this.ya=b;this.Aa=c;this.M=d;this.G=e;this.ea=this.o=NaN;this.sa=0;this.Y=this.ha=this.C=this.F=NaN;this.ka=this.ia=this.B=!1;this.D=0;this.ga=wN(this.A);this.ba=NaN;this.L=this.J=Infinity;this.V=NaN;this.ma=!1;this.K=this.O=NaN;this.H=this.aa=null};
$oa=function(a){return{rt:((0,g.H)()-a.o).toFixed(),lb:a.C.toFixed(),pt:(1E3*a.ba).toFixed(),pb:a.ya.toFixed(),stall:(1E3*a.D).toFixed(),elbowTime:(a.ea-a.o).toFixed(),elbowBytes:a.sa.toFixed()}};
IR=function(a){a.K||(a.K=a.xa(),3==a.K&&(a.aa=new Yoa(a.A)));return a.K};
bpa=function(a,b,c,d){var e=(b-a.F)/1E3,f=c-a.C,k=IR(a);if(3==k&&f){var l=a.aa;l.D.push({jq:f,Wx:isNaN(l.B)?NaN:d-l.B,N4:d});l.B=d}a.B?1==k&&0<f&&(.2<e||1024>f?(a.D+=e,.2<e&&LR(a,.05,f)):LR(a,e,f),a.ka=!0):JR(a,c)&&(1==k&&(d=(b-a.o)/1E3,apa(a)||KR(a)||(k=a.A,k.G.A(1,d),qN(k))),a.ea=b,a.sa=c,a.B=!0);KR(a)||tN(a.A,e,f);a.F=b;a.C=c};
LR=function(a,b,c){if(!KR(a)){b=Math.max(b,.05);a=a.A;var d=void 0;a.o.A(void 0===d?b:d,c/b);a.C=g.GH()}};
NR=function(a,b,c){c=Math.round(c/1024);a.H&&a.H.push(MR(b-a.ha,c-a.Y));a.ha=b;a.Y=c};
JR=function(a,b){return b?a.G&&1!=IR(a)?!0:b>=a.A.policy.B:!1};
OR=function(a){return JR(a,a.C)};
cpa=function(a){a.V=a.o+1E3*a.ga.delay;a.ma=!1};
PR=function(a,b){var c=a.M.o[0].A;a.J=Math.min(a.J,Woa(a.G,c,a.o,b));a.L=Math.min(a.L,Xoa(a.G,c,a.o,b,a.M.C));a.J<=a.o?cpa(a):(a.V=a.J,a.ma=!0)};
apa=function(a){a.G&&PR(a,(0,g.H)());return a.ma};
dpa=function(a,b){b=void 0===b?(0,g.H)():b;if(a.G){PR(a,b);var c=a.K?a.G?1!=IR(a):!1:a.J!=a.L;if(c){if(c=a.L,b<c){a.O=a.L;return}}else c=a.J;c=Math.max(c,a.V)}else c=a.V;var d=a.ya-a.C;0>d&&a.A.policy.F&&(d=0);d=1E3*(d*a.ga.stall+d/a.ga.byterate);d=OR(a)?d+b:d+Math.max(b,c);a.O=d};
KR=function(a){return wK(a.M.A.A)};
MR=function(a,b){for(var c="";4095<a;)c+=MR(4095,0),a-=4095;for(;4095<b;)c+=MR(a,4095),b-=4095,a=0;return c+("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(a>>6&63)+"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(a&63)+"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(b>>6&63)+"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(b&63))};
fpa=function(a,b,c,d,e,f){this.status=0;this.L=this.response=null;this.Y=d;this.O=c;this.aa=e;this.D=f;this.B=[];this.C=null;this.A=this.o=0;this.Ja=epa++;this.F=null;this.G=this.D.Bj&&window.AbortController?new AbortController:null;c={method:"GET",credentials:"include"};this.G&&(c.signal=this.G.signal);a=new Request(a,c);fetch(a).then(aF((0,g.A)(this.eV,this)),aF((0,g.A)(this.qD,this)));(0,g.H)();this.V=this.H=this.J=this.K=!1;this.M="";b()};
hpa=function(a,b){a.A+=b.length;var c=b.length;var d=QR(a)?1:Math.max(RR(a)/2,16384);c=c>=d;d=b.length+a.o>RR(a);a.V?((c||d)&&0!==a.o&&SR(a),c?a.B.push(b):gpa(a,b)):(gpa(a,b),a.A>=(QR(a)?1:16384)&&SR(a))};
SR=function(a){a.V=!0;a.B.push(a.C.subarray(0,a.o));a.o=0;a.C=a.K?null:new Uint8Array(RR(a))};
gpa=function(a,b){if(b.length+a.o>RR(a)){var c=new Uint8Array(a.o+b.length);c.set(a.C,0);a.C=c}a.C.set(b,a.o);a.o+=b.length};
ipa=function(a){a.F.read().then(aF((0,g.A)(a.OQ,a)),aF((0,g.A)(a.qD,a)));(0,g.H)()};
UR=function(a){if(!a.H){a.K=!0;if(TR(a)&&!a.B.length&&!a.o&&!a.J&&a.A){jL(a);if(!a.C||8>a.C.length)a.C=new Uint8Array(8);var b=new DataView(a.C.buffer,0,8);b.setUint32(0,8);b.setUint32(4,1936419184);a.o=8;a.A+=8}a.Y()}};
QR=function(a){return a.D.Ab&&a.D.o&&jL(a)};
TR=function(a){return a.D.Ag&&a.D.o&&jL(a)};
RR=function(a){a=a.zm()||0;return Math.max(16384,.125*a)};
jpa=function(a,b,c,d,e){this.status=0;this.response=null;this.A=this.B=!1;this.C=NaN;this.o=new XMLHttpRequest;this.o.open("GET",a);this.o.responseType="arraybuffer";this.o.withCredentials=!0;this.o.onreadystatechange=(0,g.A)(this.hO,this);this.D=d;this.G=c;this.F=e;a=aF((0,g.A)(this.fO,this));this.o.addEventListener("load",a,!1);this.o.addEventListener("error",a,!1);this.o.send();b();this.o.addEventListener("progress",aF((0,g.A)(this.gO,this)),!1)};
VR=function(a,b,c,d){this.C=a;this.info=b;this.timing=c;this.Y=d;this.state=1;this.o=this.aa=null;this.H=this.G=0;this.O=new g.V(this.lV,a.L,this);this.D=this.B=this.J=null;this.F=0;this.M=this.A=null;this.V=0;this.ba=this.L=!1;this.K=this.C.Fa&&(NK(this.info)||MK(this.info))};
kpa=function(a,b){a.J=b};
WR=function(a){return a.B?vK(a.B.o):""};
YR=function(a){var b=$oa(a.timing);b.shost=WR(a);b.rn=a.G.toString();a.F&&(b.rc=a.F.toString());b.itag=""+PJ(a.info.o[0].o.info);b.ml=""+ +a.info.o[0].o.Rc();b.sq=""+a.info.o[0].A;410!=a.F&&500!=a.F&&503!=a.F||(b.fmt_unav="true");a.o&&a.o.Bq()&&(b.msg=a.o.Bq());return b};
ZR=function(a){WR(a);return fK(a.Y,WR(a))};
aS=function(a){if("net.timeout"==a.D){var b=a.timing,c=(0,g.H)();if(!KR(b)){c=c>b.o&&4E12>c?c:(0,g.H)();NR(b,c,1024*b.Y);var d=(c-b.o)/1E3;if(2!=IR(b))if(OR(b))b.D+=(c-b.F)/1E3,rN(b.A,b.C,b.D);else{if(!apa(b)&&!KR(b)){var e=b.A;e.G.A(1,d);qN(e)}b.ea=c}e=b.A;var f=b.ba,k=MK(b.M);e.F.A(d,b.C/d);e.C=g.GH();k||e.A.A(1,d-f);tN(b.A,(c-b.F)/1E3,0)}}else(0,g.H)();"net.nocontent"!=a.D&&("net.timeout"==a.D||"net.connect"==a.D?(b=ZR(a),b.A+=1):(b=ZR(a),b.o+=1),a.info.A.o++);$R(a,7)};
lpa=function(a){if(1==a.state)return!0;a=ZR(a);return 100>a.A&&6>a.o};
$R=function(a,b){a.state=b;if(5<=a.state){var c=a.timing;c.B&&(c.B=!1)}a.J&&a.J(a)};
mpa=function(a,b){if(b){var c=ZR(a);c.B+=1}bS(a);a.D="net.timeout";aS(a)};
cS=function(a){return(0,g.wj)(a.info.o,function(b){return 3==b.type})};
bS=function(a){if(a.o){var b=a.o;a.o=null;b.abort()}a=a.timing;a.B&&(a.B=!1)};
npa=function(a){var b=a.o.Vd("content-type"),c=a.o.zm();(b=(!dS(a)||!b||-1!=b.indexOf("text/plain"))&&(!c||2048>=c))&&dS(a)&&QR(a.o);return b};
opa=function(a,b){var c=(0,g.A)(a.JU,a),d=(0,g.A)(a.MU,a),e=(0,g.A)(a.LU,a),f=(0,g.A)(a.KU,a);return wK(a.B.o)?new Qoa(a.B,d,e,c):a.C.B&&(a.C.Az&&!isNaN(a.info.C)&&a.info.C>a.C.ts?0:iL()&&cS(a))?new fpa(b,d,e,c,f,a.C):new jpa(b,d,e,c,f)};
dS=function(a){return a.o?a.o.Ux():!1};
eS=function(a){return 2<=a.state&&!!a.A&&!!a.A.o.length};
ppa=function(a,b){if(b||dS(a)&&!npa(a)){if(!a.A){if(dS(a))a.info.range&&(c=a.info.range.length);else var c=a.o.qn();a.A=new Roa(a.info.o,c)}for(;a.o.Ih();){c=a.A;for(var d=a.o.Ox(),e=b&&!a.o.Ih(),f=0,k=0,l=g.r(c.A),m=l.next();!m.done;m=l.next())if(m=m.value,m.range&&f+m.gb<=c.C)f+=m.gb;else{var n=c,p=m;if(1==p.type){n.D=!0;var q=!1}else 3==p.type||4==p.type?(p=n.D&&!n.F,n.F=!0,q=p):q=!1;n=c;var u=c.C-f,w=k;p=d;q=q||m.o.hD();var D=p.length-w;m.range&&(D=Math.min(m.gb-u,D));u=QJ(m,m.C+u,D,m.range?m.C+
u+D==m.range.length:!!e);var F=HJ(p.byteOffset,p.length);w=HJ(p.byteOffset+w,D);n.o.push(new TJ(u,p.buffer,w,F,q));n=D;c.C+=n;k+=n;f+=m.gb;if(k==d.length)break}}}};
qpa=function(a){return a.A&&a.A.length?Soa(a.A):PK(a.info)};
rpa=function(a){if(!a.C.o||!isNaN(a.info.C)&&0<a.info.C)return!1;if(!a.o||!a.o.dk())return!0;if(!jL(a.o))return!1;if(isNaN(a.info.C)){var b=a.o.Vd("x-head-seqnum");if(b&&parseInt(b,10)>a.info.o[0].A)return!1}return!0};
spa=function(a,b,c){g.mH.call(this);this.F=0;this.C=a;this.o=[];this.B=null;this.K=b;this.ka=c;this.D=this.G=NaN;this.Y=null;this.ma=(0,g.A)(function(d){this.C.qz&&(this.U("timestamprewrite",d),this.C.qz=!1)},this);
this.V=this.A=null;this.ea="constructor";this.L=NaN;this.ia=this.M=this.aa=null;this.O=!1;this.J=this.H=null;this.C.G&&(this.J=new Ioa(this.C,this.K));this.ba=null;this.C.J&&(this.A=new BR(this.C,this.ka));this.C.sd&&this.C.xg&&(this.ba=new Doa);this.ga=!1};
fS=function(a){return a.o.length?a.o[0]:null};
gS=function(a){return a.o.length?a.o[a.o.length-1]:null};
upa=function(a,b,c){b=tpa(a,b,c);(0,g.C)(b,function(d){a.o.push(d);a.J&&Loa(a.J,d)});
return b.length};
xpa=function(a,b){try{if(1==b.info.type){var c=UJ(b);$K(b.info.o.info)&&!aL(b.info.o.info)&&(uJ(new nJ(c)),tJ([408125543,374648427,174,224],21936,c));if(!a.C.nz&&aL(b.info.o.info)&&"bt2020"==b.info.o.info.za().primaries){var d=new nJ(c);if(pJ(d,[408125543,374648427,174,224,21936,21937])){var e=d.C+d.o;129==c.getUint8(e)&&1==c.getUint8(e+1)&&c.setUint8(e+1,9)}}b.info.o.info.video&&gL(b.info.o,c);2==b.info.o.info.containerType&&b.info.o.info.video&&vJ(c);vpa(a,b)&&(bK(b),cK(b));if(a.C.np&&a.K.info.audio&&
g.XJ(b.info.o.info)){var f=UJ(b),k=g.aJ(f,0,1701606260),l=g.aJ(f,0,1836476516);if(k&&l){k.skip(2);var m=KI(k),n=MI(k);c=[];d=[];e=[];f=[];if(m)for(m=0;m<n;++m)c.push(NI(k)),d.push(NI(k)),e.push(KI(k)),f.push(KI(k));else for(m=0;m<n;++m)c.push(LI(k)),d.push(LI(k)),e.push(KI(k)),f.push(KI(k));var p=c;var q=d;var u=bJ(l);var w=new vka(q[0]/u,p[0]/u)}else w=null;if(p=w){a.ga=!0;if(g.XJ(b.info.o.info))for(var D=UJ(b),F=g.aJ(D,0,1701082227);F;)q=F,q.type=1936419184,q.data.setUint32(q.offset+4,1936419184),
F=g.aJ(D,F.offset+F.size,1701082227);a.U("gaplessinfo",p)}}}b.info.o.Kp(b);wpa(a,b)}catch(J){g.$E(J),D=NJ(b.info),D.hms="1",hS(a,D)}a.J&&Loa(a.J,b)};
ypa=function(a){if(!a.o.length)return 0;for(var b=a.o[0].C.length,c=1;c<a.o.length;c++)a.o[c].buffer!=a.o[c-1].buffer&&(b+=a.o[c].C.length);a.B&&(b+=a.B.C.length);return b};
iS=function(a){return(0,g.I)(a.o,function(b){return b.info})};
zpa=function(a,b,c){isNaN(a.L)||a.L==b.G||jS(a,b,null,"Mismatch get",c);return a.V};
kS=function(a,b,c,d){isNaN(a.L)||a.L==b.G||jS(a,b,c,"Mismatch set",d);var e=c?c.o:null;e&&a.V&&jS(a,b,c,"Duplicated set",d);a.V=e;a.ea=d;a.L=e?b.G:NaN;a.aa=c&&c.info.range?c.info.range:null};
jS=function(a,b,c,d,e){if(a.C.tp){var f=a.V?a.V.A:NaN,k=a.aa?a.aa.toString():"null";e=d+" current emsg by "+e+"/"+(c?c.o?c.o.A:-999:NaN)+"/"+(c&&c.range?c.range.toString():"null")+"/"+qpa(b)+"/"+(b.o?b.o.qn():NaN)+"; previously "+a.ea+"/"+f+"/"+a.L+"/"+k;a.U("warning",b,c?c.info:null,e);"noemsg"===d&&c&&(e=UJ(c),d=e.byteLength,e=64>d?Ie(new Uint8Array(e.buffer,e.byteOffset)):Ie(new Uint8Array(e.buffer,e.byteOffset,32))+"..."+Ie(new Uint8Array(e.buffer,e.byteOffset+d-32)),a.U("warning",b,null,"slicedata "+
c.info.o.info.containerType+" "+d+" "+e))}};
lS=function(a,b){a.O=!1;a.H&&!a.C.td&&a.U("placeholderrollback",a.H);a.H=null;if(a.A){var c=isNaN(a.D)?b.info.o[0].range?b.info.o[0].G:isNaN(a.A.F)?DR(a.A):CR(a.A).startTime:a.D;a.A.reset();a.M=a.ia;a.D=c}kS(a,b,null,"rollbackRequest")};
Apa=function(a){return a.A?DR(a.A):a.G||0};
tpa=function(a,b,c){var d={};if(!c.verify(d)||c.info.o.Hv())d=Object.assign(d,NJ(c.info)),d.verification="1",hS(a,d);c.A&&c.info.o.info.video&&gL(c.info.o,UJ(c));c.info.B&&(a.ia=c.info);a.ba&&c.info.o.info.video&&g.XJ(c.info.o.info)&&(d=UJ(c),Eoa(a.ba,new Uint8Array(d.buffer,d.byteOffset,d.byteLength),c.info.C));if(!a.K.Lf()){(d=zpa(a,b,"get"))&&RJ(c.info,d);!a.M||(a.C.Nl?LJ(a.M,c.info,!0):MJ(a.M,c.info))||(a.A&&a.A.reset(),a.G=NaN,a.F=0);a.M=c.info;if(a.A)b:{var e;(e=!isNaN(a.D))||(e=a.A,e=!(!isNaN(e.D)||
!isNaN(e.J)));e&&(e=a.A,e.J=isNaN(a.D)?isNaN(a.G)?c.info.startTime:a.G:a.D,FR(e),a.D=NaN);e=UJ(c);e=a.A.process(e);if(d=c.info.B)d=a.A,d=!(0==d.o.type&&!d.C.length);d&&!a.C.Ol&&(d=NJ(c.info),d.partialbox="1",hS(a,d));var f=b.timing;d=!!c.info.C&&1936286840!=e&&!(a.C.Ag&&1936419184==e);var k=c.info.B;if(3==IR(f)&&(e=f.aa,e.D.length)){f=e.D.shift();var l=f.Wx;d||(f.jq-=Math.min(f.jq,1500),f.Wx=0);e.A+=f.jq;e.o+=f.Wx;e.C+=isNaN(l)?0:l;k&&(0>=e.o||(d=e.F,k=e.o/1E3,f=e.C/1E3,d.o.A(void 0===f?k:f,e.A/k),
d.C=g.GH()),e.o=0,e.A=0,e.C=0)}if(a.C.Qz&&a.C.o){if(!a.A.M&&!c.info.B){c=null;break b}}else if(isNaN(a.A.F)){c=null;break b}e=a.A;f=c.info.o.info;if(e.G.length){e.M=!1;d=0;l=g.r(e.G);for(k=l.next();!k.done;k=l.next())d+=k.value.byteLength;if(!e.H||e.H.length-e.L<d)e.H=new Uint8Array(Math.max(d,e.O.Kq+Math.round(f.o*e.O.bq))),e.L=0;l=f=e.L;var m=g.r(e.G);for(k=m.next();!k.done;k=m.next())k=k.value,e.H.set(new Uint8Array(k.buffer,k.byteOffset,k.byteLength),f),f+=k.byteLength;e.G.length=0;e.L=f;e=new DataView(e.H.buffer,
l,d)}else e=null;e?(d=HJ(e.byteOffset,e.byteLength),k=HJ(0,e.buffer.byteLength),f=c.info.C+c.info.gb-a.A.C.length-e.byteLength,l=QJ(c.info,f,e.byteLength,c.info.B),c=new TJ(l,e.buffer,d,k,c.A&&!f)):c=null}else a.C.Wa?e=a.ka(YJ(c),1):e=isNaN(a.D)?isNaN(a.G)?c.info.startTime:a.G:a.D,a.D=NaN,ZJ(c,e)?a.G=e+$J(c):(e=NJ(c.info),e.smst="1",hS(a,e));if(!c)return[];vpa(a,c)&&(bK(c),cK(c),c.o&&(kS(a,b,c,"processSlice"),a.O=!!a.A,RJ(c.info,c.o),RJ(a.M,c.o)));-1==c.info.A&&jS(a,b,c,"ct "+c.info.o.info.containerType+
"; st "+c.info.type,"noemsg");2==c.info.o.info.containerType&&(e=UJ(c),c.A&&c.info.o.info.video&&vJ(e));k=c;if(e=zpa(a,b,"publishMediaInfo"))if(k.info.B){a.O=!1;a.H=null;a.A?(k=CR(a.A),Foa(a.A),d=k.startTime,k=k.duration):(d=YJ(k),k=$J(k));k=new FI(e.A,d,k,e.ingestionTime,"sq/"+e.A,void 0,void 0,!1);a.U("segmentinfo",k);if(f=e.o["Cuepoint-Type"]?new SI(mS?parseFloat(e.o["Cuepoint-Playhead-Time-Sec"])||0:-(parseFloat(e.o["Cuepoint-Playhead-Time-Sec"])||0),parseFloat(e.o["Cuepoint-Total-Duration-Sec"])||
0,e.o["Cuepoint-Context"],e.o["Cuepoint-Identifier"]||"",Bpa[e.o["Cuepoint-Event"]||""]||"unknown",parseFloat(e.o["Cuepoint-Playhead-Time-Sec"])||0):null)f.o+=d,a.U("cuepoint",f,e.A);e=k}else a.O&&a.A&&!isNaN(a.A.F)?(d=CR(a.A).startTime,e=new FI(e.A,d,e.H,e.ingestionTime,"sq/"+e.A,void 0,void 0,!0),a.H=e,a.U("placeholderinfo",e),a.O=!1):e=null;else e=null;d=c;if(a.C.ds)if(e)for(SJ(d.info,e),d=g.r(b.info.o),k=d.next();!k.done;k=d.next())SJ(k.value,e);else a.H&&SJ(d.info,a.H);c.info.B&&kS(a,b,null,
"isEndOfSegment");wpa(a,c)}b=c;if(a.C.Iz&&!a.K.Lf()&&(0==b.info.C||a.B)&&g.XJ(b.info.o.info)&&3==b.info.type&&!aK(b)&&b.info.duration&&!a.C.J&&(b=c,a.F+=1E3*($J(b)-b.info.duration),a.Y&&Math.abs(a.F-a.Y.F)>=a.C.rs))return b=c,c=(a.Y.F-a.F)/1E3,e=$J(b)+c,d=new DataView(b.buffer),d=(d=g.aJ(d,0,1936286840))?jJ(d):NaN,isNaN(d)&&(d=b.info.o.o,k=new DataView(b.buffer),d=(k=g.aJ(k,0,1836476516))?bJ(k):d?cJ(d):NaN),(d=Cpa(a,b,e*d))&&d.length&&(k=NJ(b.info),k.fds=e.toFixed(3),k.com=a.F.toFixed(3),a.U("timestamprewrite",
k),a.G+=c,a.F+=1E3*c),d?d:nS(a,b);if(a.C.zg&&a.K.Lf()&&(0==c.info.C||a.B)&&g.XJ(c.info.o.info))b=c,c=b.info.o.index.tu(b.info.A),a=(c=Cpa(a,b,c))?c:nS(a,b);else if(a.ga&&c.info.A==c.info.o.index.Lb()){b=c;if(c=Dpa(a,b)){b:if(c=g.aJ(c,0,1953658222)){e=c.A?0:8;l=LI(c);e+=4;var n=l&1;d=l&4;if(l&256){k=l&512;f=l&1024;l&=2048;m=MI(c);e+=4;n&&(LI(c),e+=4);d&&(LI(c),e+=4);for(var p=n=0;p<m-1;p++){if(0==p&&(n=LI(c),!n))break b;e+=4;k&&(e+=4);d&&0==p||!f||(e+=4);l&&(e+=4)}c.data.setUint32(c.offset+e,n)}}a.ga=
!1;c=[];a.B&&a.B!=b&&(c.push(a.B),a.B=null);c.push(b)}else c=null;a=c?c:nS(a,b)}else a=[c];return a};
wpa=function(a,b){if(a.C.ea&&a.K.info.Wc)if(2==b.info.o.info.containerType){var c=new nJ(UJ(b));if(pJ(c,[408125543,374648427,174,28032,25152,20533,18402])){var d=sJ(c,!0);c=16!=d?null:zJ(c,d)}else c=null;c&&(b.info.o.H={type:"webm",key:c})}else b.info.K=Noa(UJ(b)),c=Ooa(b.info.K),0<c.length&&(b.info.o.H={type:"cenc",key:c})};
hS=function(a,b){a.U("error",b||{})};
vpa=function(a,b){return!a.K.Lf()&&0==b.info.C&&(g.XJ(b.info.o.info)||2==b.info.o.info.containerType)};
nS=function(a,b){if(a.B&&a.B!=b){var c=[a.B,b];a.B=null;return c}return[]};
Cpa=function(a,b,c){var d=Dpa(a,b);if(!d)return null;c=xka(d,c,a.ma);if(!c)return null;d=kJ(d);a.B&&(d-=a.B.range.length,a.B=null);a=WJ(b,d);a[0].buffer=c;a[0].range=HJ(0,c.byteLength);a[0].C=HJ(0,c.byteLength);b=a[0];c=new DataView(c);c=!!ZI(c,0,1836019574);b.A=c;return a};
Dpa=function(a,b){if(a.B){var c=a.B,d=new Uint8Array(c.range.length+b.range.length);d.set(new Uint8Array(c.buffer,c.range.start,c.range.length));d.set(new Uint8Array(b.buffer,b.range.start,b.range.length),c.range.length);c=new DataView(d.buffer);kJ(c);return c}c=UJ(b);if((d=kJ(c))&&d<c.byteLength)return c;a.B=b;return null};
oS=function(a,b,c){this.L=a;this.A=b;this.B=[];this.C=new spa(a,b,c);this.O=this.D=this.o=null;this.V=0;this.K=b.info.o;this.J=!1;this.M=0;this.G=b.Ni();this.F=-1;this.H=this.G?0:NaN;this.Y=b.Ni()};
Fpa=function(a){for(var b={s:"spr",pr:a.B.length};a.B.length&&6==a.B[0].state;){var c=a.B.shift();b["r"+c.G]=Epa(a,c);var d=c.timing;a.V=(d.F-d.o)/1E3;a.L.cd&&c.dispose()}a.B.length&&eS(a.B[0])&&!MK(a.B[0].info)&&(b["r"+a.B[0].G]=Epa(a,a.B[0]));pS(a,b)};
pS=function(a,b){if(!a.L.B&&a.Y&&!a.G&&a.o&&-1==a.o.A){b.t=a.A.info.mimeType;var c=gS(a.C);a.C.U("warning",null,c?c.info:null,"ddtk "+iM(b))}};
Epa=function(a,b){if(eS(b)){b.L=!0;var c=b.A,d=c.o;c.o=[];c.B=g.Ra(d).info;c=0;for(var e=g.r(d),f=e.next();!f.done;f=e.next())c+=Gpa(a,b,f.value);return d.length+"/"+c}return"NaN"};
Gpa=function(a,b,c){var d=0;switch(c.info.type){case 1:case 2:xpa(a.C,c);break;case 4:var e=c.info.o.iD(c);c=c.info;var f=a.o;f&&f.o==c.o&&f.type==c.type&&(c.range&&f.range?f.range.start==c.range.start&&f.range.end==c.range.end:f.range==c.range)&&f.A==c.A&&f.C==c.C&&f.gb==c.gb&&(a.o=g.Ra(e).info);e=g.r(e);for(c=e.next();!c.done;c=e.next())d+=Gpa(a,b,c.value);break;case 3:d=upa(a.C,b,c)}return d};
qS=function(a,b,c,d){d=void 0===d?!1:d;if(c){var e=mM(c.sc(),b),f=NaN,k=a.D;k&&(f=mM(c.sc(),k.o.index.kd(k.A)));if(e==f&&a.o&&a.o.gb&&Hpa(Ipa(a),0))return b}a=Jpa(a,b,d);return 0<=a?a:NaN};
sS=function(a,b){a.A.Rc();var c=Jpa(a,b);if(0<=c)return c;c=a.C;c.J?(c=c.J,c=c.o&&3==c.o.type?c.o.startTime:0):c=Infinity;b=Math.min(b,c);a.o=a.A.Lg(b).o[0];rS(a)&&(a.D=null);a.M=0;return a.o.startTime};
tS=function(a){var b=0;(0,g.C)(a.B,function(c){b+=qpa(c)},a);
return b+=ypa(a.C)};
vS=function(a){uS(a);a.C.o=[]};
Kpa=function(a,b){var c;for(c=0;c<a.B.length&&b!==a.B[c];c++);if(c==a.B.length)b.L&&lS(a.C,b),b.dispose();else{for(;c<a.B.length;){var d=a.B.pop();d.L&&lS(a.C,d);d.dispose()}3==b.info.o[0].type?(b.A&&b.A.B?(c=b.A.B,c=new JJ(c.type,c.o,c.range,"getEmptyStubAfter_"+c.D,c.A,c.startTime+c.duration,0,c.C+c.gb,0,!1)):(c=b.info.o[0],c=new JJ(c.type,c.o,c.range,"getEmptyStubBefore_"+c.D,c.A,c.startTime,0,c.C,0,!1)),a.o=c):a.o=null}};
rS=function(a){return!!a.D&&a.D.H};
Ipa=function(a){var b=[];a.D&&b.push(a.D);b=g.gb(b,iS(a.C));(0,g.C)(a.B,function(c){(0,g.C)(c.info.o,function(d){c.L&&(b=(0,g.re)(b,function(e){return!(e.o!=d.o?0:e.range&&d.range?e.range.start+e.C>=d.range.start+d.C&&e.range.start+e.C+e.gb<=d.range.start+d.C+d.gb:e.A==d.A&&e.C>=d.C&&(e.C+e.gb<=d.C+d.gb||d.B))}));
3!=d.type&&4!=d.type||b.push(d)})});
a.o&&!Bka(a.o,g.Ra(b),a.o.o.Lf())&&b.push(a.o);return b};
Hpa=function(a,b){if(!a.length)return!1;for(var c=b+1;c<a.length;c++)if(!MJ(a[c-1],a[c]))return!1;return!0};
Jpa=function(a,b,c){c=void 0===c?!1:c;if(!a.o||!a.o.gb)return NaN;a=Ipa(a);a:{var d=c;d=void 0===d?!1:d;for(var e=-1,f=0;f<a.length;++f){var k=a[f];if(k.G<=b)if(d)e=f;else if(k.startTime+k.duration>=b){b=f;break a}}b=e}return 0>b?NaN:Hpa(a,c?b:0)?a[b].startTime:NaN};
Lpa=function(a){return(0,g.xk)(a.B,function(b){return 4<=b.state})};
wS=function(a){return!(!a.o||a.o.o==a.A)};
xS=function(a){return wS(a)&&a.A.Rc()&&a.o.o.info.o<a.A.info.o};
Mpa=function(a,b,c){var d=gS(a.C);return(a=d?d.info:a.D)&&!a.H?a.F>b&&a.F<b+c:!1};
uS=function(a){(0,g.C)(a.B,function(b){b.L&&lS(this.C,b);b.dispose()},a);
a.B=[];a.o=null};
Npa=function(a){return!!a.o&&-1!=a.o.A&&a.o.A<a.A.index.qf()};
Opa=function(a){var b=a.o;if(b&&-1==b.A){var c=gS(a.C);c&&3==c.info.type?(a=c.info.A,b.D="updateLastSliceRequested",b.A=a):a.L.B||a.G||a.C.U("warning",null,c?c.info:null,"noupdtsgnm")}};
Ppa=function(a){return(0,g.xk)(a.B,function(b){return b.K})};
yS=function(a,b){this.A=a;this.o=b;this.C=1};
Qpa=function(a,b){var c=Math.min(2.5,sN(a.A)),d=zS(a);return b-c*d};
AS=function(a,b,c,d,e){e=void 0===e?!1:e;a.o.Zb&&(d=Math.abs(d));d/=a.C;var f=1/vN(a.A);var k=.9*(d-a.o.Sa);k=Math.max(k,sN(a.A)+a.A.policy.B*f);c=k/f*a.o.yz/(b+c);a.o.Ll&&(d-=a.o.Sa);c=Math.min(c,d);a.o.ed&&e&&(c=Math.max(c,a.o.ed));return Rpa(a,c,b)};
Rpa=function(a,b,c){return Math.ceil(Math.max(Math.max(65536,a.o.wz*c),Math.min(Math.min(a.o.aa,a.o.Ra*c),Math.ceil(b*c))))};
Spa=function(a,b){var c=Rpa(a,b.video?a.o.bC:a.o.Kl,b.o);return a.o.Dj&&b.video?Math.max(c,a.o.Dj):c};
zS=function(a){var b=vN(a.A);if(a.o.Zp)return b;var c=a.o.vz,d=1E-9+sN(a.A);b*=Math.min(1,c/(b*d));a.o.Cj&&(c=((pN(a.A.A,.98)||0)-1)/2,c=Math.max(0,Math.min(1,c)),b*=1-a.o.Cj*c);return b};
BS=function(a){return zS(a)/a.C};
CS=function(){this.A=this.C=0;this.D={}};
Tpa=function(a,b,c,d){this.O=a;this.G=b;this.F=c;this.H=d;this.B=XM;this.D=this.L=null;this.M=-1;this.A=this.C=null;this.o=[];this.V={};this.J=0;this.K=this.aa=!1;this.Y=0};
Upa=function(a,b){if(UM(a.B,b))return null;if("m"==b.reason&&b.isLocked())return DS(a,b),a.J=a.o.length-1,ES(a),FS(a),a.K=a.K||a.D!=a.A,a.D=a.A,new yR(a.C,a.D,b.reason);"r"==b.reason&&(a.M=-1);DS(a,b);FS(a);if("r"==b.reason&&a.A==a.D)return new yR(a.C,a.A,b.reason);if(a.D&&a.A&&GS(a,a.D.info)<GS(a,a.A.info)){var c=a.B.reason;a.aa=a.aa||"r"==c||"u"==c||"v"==c}return null};
Wpa=function(a,b){if(b.info.video){if(a.D!=b)return a.D=b,Vpa(a)}else a.L=b;return null};
HS=function(a,b){b.M=g.GH();a.M=-1;DS(a,a.B)};
IS=function(a){for(var b=g.GH()-6E4,c=g.r(a.H.videoInfos),d=c.next();!d.done;d=c.next())if(a.F.o[d.value.id].M>b)return!0;return!1};
JS=function(a){return a.B.isLocked()};
Vpa=function(a){a.M=g.GH();a.aa=!1;return new yR(a.L,a.D,a.B.reason)};
DS=function(a,b){a.B=b;var c=a.H.videoInfos;if(!JS(a)){var d=g.GH()-6E4;c=(0,g.re)(c,function(l){if(l.o>this.G.K)return!1;l=this.F.o[l.id];return l.M>d?!1:4<l.C.o||4<l.L||l.D?!1:!0},a);
if(IS(a)){var e=(0,g.re)(c,function(l){l=PJ(l);return"140"==l||"134"==l||"243"==l});
e.length&&(c=e)}}c.length||(c=a.H.videoInfos);e=(0,g.re)(c,b.B,b);e.length||(e=[c[0]]);e.sort((0,g.A)(function(l,m){return GS(this,l)-GS(this,m)},a));
for(c=1;c<e.length;c++){var f=e[c-1],k=e[c];f.video.width>k.video.width?(g.cb(e,c),c--):GS(a,f)*a.G.A>GS(a,k)&&(g.cb(e,c-1),c--)}c=e[e.length-1];a.o=e;Dka(a.G,c)};
Xpa=function(a,b){if(b)a.C=a.F.o[b];else{var c=g.Ua(a.H.o,function(d){return!!d.Ob&&d.Ob.isDefault});
c=c||a.H.o[0];a.C=a.F.o[c.id]}ES(a)};
ES=function(a){if(!a.C||!a.G.G)if(!a.C||!a.C.info.Ob)if(a.C=a.F.o[a.H.o[0].id],1<a.H.o.length){if(a.G.Nk)var b=!0;else if(a.B.isLocked())b=240>a.B.o;else{for(b=0;b+1<a.o.length&&"tiny"==a.o[b].za().quality;)b++;var c=BS(a.O)/a.G.A;b=GS(a,a.C.info)+GS(a,a.o[b])>c}b&&(a.C=a.F.o[a.H.o[1].id])}};
FS=function(a){if(!a.A||!a.G.G)if(JS(a))a.A=a.F.o[a.o[a.o.length-1].id];else{for(var b=Math.min(a.J,a.o.length-1),c=BS(a.O),d=GS(a,a.C.info),e=c/a.G.D-d;0<b&&!(GS(a,a.o[b])<=e);b--);for(c=c/a.G.A-d;b<a.o.length-1&&!(GS(a,a.o[b+1])>=c);b++);a.A=a.F.o[a.o[b].id];a.J=b}};
Ypa=function(a){var b=a.G.D,c=BS(a.O)/b-GS(a,a.C.info);b=g.Va(a.o,function(d){return GS(this,d)<c},a);
0>b&&(b=0);a.J=b;a.A=a.F.o[a.o[b].id]};
GS=function(a,b){if(!a.V[b.id]){var c=a.F.o[b.id].index.GB(a.Y,15);c=b.B&&a.D&&a.D.index.Mb()?c||b.B:c||b.o;a.V[b.id]=c}return a.V[b.id]};
Zpa=function(a,b){var c=$b(a.F.o,function(d){return PJ(d.info)==b});
if(!c)throw Error("Itag "+b+" from server not known.");return c};
$pa=function(a){var b=[];if("s"==a.B.reason||"m"==a.B.reason)return b;var c=!1;if(fla(a.F)){for(var d=Math.max(0,a.J-2);d<a.J;d++){var e=PJ(a.o[d]);VK(a.o[d].za())||(c=!0);b.push(e)}b.reverse();if(!c&&a.G.hz)for(d=Math.max(0,a.J-3);0<=d&&!c;d--)VK(a.o[d].za())||(c=!0,b.push(PJ(a.o[d])))}return b};
KS=function(a,b,c,d){this.A=a;this.F=b;this.D=d;this.B=c;this.o=0};
aqa=function(a,b,c,d){g.mH.call(this);this.o=a;this.O=b;this.V=c;this.L=d;this.M=NaN;this.C=this.J=this.D=null;this.A=this.G=this.H=this.F=NaN;this.B=!1;this.K=NaN};
bqa=function(a,b,c,d){return a.ha&&a.Ia&&3==kL(a)?new aqa(a,b,c,d):null};
cqa=function(a,b){if(a.o.Sz){var c=b.info.o;if(0>=c)a.K=NaN;else{var d=vN(a.O),e=b.index.o;c=Math.max(1,d/c);a.K=Math.round(1E3*Math.max(((c-1)*e+a.o.M)/c,e-a.o.Qb))}}};
fqa=function(a,b){var c=(0,g.H)()/1E3,d=c-a.F,e=c-a.H,f=e>=a.o.Aj,k=!1;if(f){var l=0;!isNaN(b)&&b>a.G&&(l=b-a.G,a.G=b);l/e<a.o.Wz&&(k=!0);a.H=c}c=d>=a.o.Qb&&!a.B;if(!f&&!c&&dqa(a,b))return NaN;c&&(a.B=!0);a:{d=k;c=(0,g.H)()/1E3-(a.V.o()||0)-a.J.C-a.o.M;f=a.C.startTime;c=f+c;if(d){if(isNaN(b)){LS(a,NaN,"n",b);f=NaN;break a}d=b-a.o.Pb;d<c&&(c=d)}else a.B&&(d=c+a.o.M-a.M+a.o.UA,isNaN(b)||(d=Math.max(d,Math.min(c,b-a.o.Pb))),c=d);f=c=Math.max(c,f)}a.A=f;if(isNaN(a.A))return MS(a),NaN;if(!k&&dqa(a,b))return eqa(a,
b),NaN;if(a.A<=a.C.startTime)return LS(a,NaN,"y",b),MS(a),NaN;if(!a.L(a.A,!1))return!eqa(a,b)&&k&&(LS(a,NaN,"t",b),MS(a)),NaN;k=a.A;LS(a,k,"s",b);MS(a);return k};
eqa=function(a,b){return a.L(a.A,!0)?!1:(LS(a,NaN,"ns",b),MS(a),!0)};
dqa=function(a,b){return isNaN(b)?!0:isNaN(a.A)?!1:b<a.A+(a.B?a.o.Pb:a.o.Tz)};
MS=function(a){a.D=null;a.J=null;a.C=null;a.F=NaN;a.H=NaN;a.G=NaN;a.A=NaN;a.B=!1};
LS=function(a,b,c,d){var e=YR(a.D);e.ssr_sk=(1E3*b).toFixed(0);e.ssr_t=(1E3*a.A).toFixed(0);e.ssr_r=c;e.ssr_st=(1E3*a.F).toFixed(0);e.ssr_n=(0,g.H)().toFixed(0);e.ssr_f=(1E3*a.J.C).toFixed(0);e.ssr_fa=a.B?"1":"0";e.ssr_o=(1E3*a.V.o()||0).toFixed(0);e.ssr_v=(1E3*d).toFixed(0);b=a.C.o.index;nL(b,a.C.A,!0)&&(e.ssr_ist=(1E3*b.kd(a.C.A)).toFixed(0),e.ssr_id=(1E3*b.getDuration(a.C.A)).toFixed(0));e=iM(e);a.U("ctmp","ssr",e,!1)};
gqa=function(){this.o=[];this.A=g.mR};
iqa=function(a,b,c){var d=[];for(b=hqa(a,b);b<a.o.length;++b){var e=a.o[b];(e.end<=c||e.contains(c))&&d.push(e);if(e.start>c)break}return d};
jqa=function(a,b){for(var c=[],d=g.r(a.o),e=d.next();!e.done&&!(e=e.value,e.contains(b)&&c.push(e),e.start>b);e=d.next());return c};
kqa=function(a){return a.o.slice(hqa(a,0x7ffffffffffff),a.o.length)};
hqa=function(a,b){var c=sb(a.o,function(d){return b-d.start||1});
return 0>c?-(c+1):c};
lqa=function(a,b){for(var c=NaN,d=g.r(a.o),e=d.next();!e.done;e=d.next())if(e=e.value,e.contains(b)&&(isNaN(c)||e.end<c)&&(c=e.end),e.start>b&&(isNaN(c)||e.start<c)){c=e.start;break}return c};
mqa=function(a,b){if(1<b.length&&b.length>a.o.length)a.o=a.o.concat(b),a.o.sort(a.A);else for(var c=g.r(b),d=c.next();!d.done;d=c.next())d=d.value,!a.o.length||0<a.A(d,a.o[a.o.length-1])?a.o.push(d):g.vb(a.o,d,a.A)};
NS=function(a,b,c,d){g.K.call(this);this.B=NaN;this.G=this.H=this.D=!1;this.V=a;this.M=b;this.J=c;this.K=d;this.L=new g.V(this.A,250,this);g.L(this,this.L);this.F=new g.V(this.A,0,this);g.L(this,this.F);this.C=[];this.o=new gqa};
OS=function(a){return a.la()?[]:a.o.o};
nqa=function(a,b){var c=(0,g.re)(OS(a),function(d){return d.namespace==b});
a.removeCueRange.apply(a,c);return c};
oqa=function(a,b){var c=[];if(!b.length)return c;for(var d=0;d<b.length;d++){var e=b[d];e.active&&-1==a.C.indexOf(e)&&(a.C.push(e),c.push([1,e]))}return c};
pqa=function(a,b){var c=[];if(!b.length)return c;b.sort(g.mR);for(var d=0;d<b.length;d++){var e=b[d];a.C.splice(a.C.indexOf(e),1);c.push([2,e])}return c};
sqa=function(a){if(a.D&&!a.la()){a.F.stop();var b=a.J();g.X(b,32)&&a.L.start();for(var c=qqa(a),d=g.X(b,2),e=[],f=[],k=0;k<a.C.length;k++){var l=a.C[k];l.active&&(d?0x8000000000000>l.end:!l.contains(c))&&f.push(l)}e=e.concat(pqa(a,f));if(d){b=jqa(a.o,0x7ffffffffffff);var m=b.filter(function(p){return 0x8000000000000>p.end});
var n=kqa(a.o)}else b=a.B<=c&&b.sb()&&!g.X(b,16)&&!g.X(b,32)?iqa(a.o,a.B,c):jqa(a.o,c);e=e.concat(oqa(a,b));m&&(e=e.concat(pqa(a,m)));n&&(e=e.concat(oqa(a,n)));a.B=c;rqa(a,e)}};
rqa=function(a,b){for(var c=g.r(b),d=c.next();!d.done;d=c.next()){d=d.value;var e=d[1];1==d[0]?(e.o&&e.o.U("onEnter",e),a.K(g.nR(e.namespace),e)):(e.o&&e.o.U("onExit",e),a.K("crx_"+e.namespace,e))}};
qqa=function(a){return g.X(a.J(),2)?0x8000000000000:1E3*a.V()};
PS=function(){var a=this;this.A=this.o=iaa;this.C=new g.Bg(function(b,c){a.o=b;a.A=c})};
QS=function(a,b,c,d,e){g.mH.call(this);var f=this;this.O=a;this.A=b;this.F=c;this.ia=new CS;this.Wa=e||null;this.o=this.B=null;this.J=new yS(a,b);this.C=null;this.Aa={updateend:this.eO,error:this.rQ};this.G=new Tpa(this.J,b,this.F,d);this.ea=new g.V(this.jg,0,this);g.L(this,this.ea);this.xa=new g.V(this.jg,1E3,this);g.L(this,this.xa);this.Qb=new g.V(this.jg,void 0,this);g.L(this,this.Qb);this.Ra=new g.V(this.jg,1E4,this);g.L(this,this.Ra);this.D=NaN;this.M=!1;this.L=NaN;this.La=0;this.ba=this.aa=
this.K=!1;this.sa="";this.jb=b.sd&&!b.xg?new Doa:null;this.ya=new mN(5);this.ka={};this.Oa="";this.Ia=NaN;this.Fa=this.V=!1;(this.H=bqa(this.A,this.O,this.ya,function(k,l){if(f.o&&f.B&&f.o.A.Rc()&&f.B.A.Rc()&&f.C&&f.C.A&&f.C.o)if(l&&f.F.A&&(-1==f.o.F||-1==f.B.F))var m=!0;else m=qS(f.o,k,f.C.A,l),isNaN(m)?m=!1:(m=qS(f.B,f.A.Ia?k:m,f.C.o,l),m=isNaN(m)?!1:!0);else m=!1;return m}))&&this.H.subscribe("ctmp",this.Lc,this);
this.Ab=NaN;this.ma=this.Sa=null;this.Y=NaN;this.ga=0;this.Zb=this.Pb=!1};
RS=function(a,b){b=b||a.o&&a.o.o&&a.o.o.startTime||a.D;var c=a.o;var d=a.G;var e=d.A&&d.A.index.Rf(b)||0;d.Y!=e&&(d.V={},d.Y=e,DS(d,d.B));e=!JS(d)&&-1<d.M&&g.GH()-d.M<1E3*d.G.Wy;var f=d.A&&3*GS(d,d.A.info)<BS(d.O);if(!e||f)ES(d),FS(d),d.K=d.K||d.A!=d.D;d.A&&!d.A.index.Mb()&&(d.Y=-1);d=d.A;c.A!=d&&(c.A=d);c=a.B;d=a.G.C;c.A!=d&&(c.A=d)};
g.uqa=function(a,b){tqa(a);if(!b.o&&!b.A){var c=a.o.A.info.mimeType,d=a.B.A.info.mimeType;d=new qM("fakesb"==d?new DL:b.C.addSourceBuffer(d),YK(d));c=new qM("fakesb"==c?new DL:b.C.addSourceBuffer(c),YK(c));b.o=d;b.A=c;g.L(b,d);g.L(b,c)}a.C=b;a.B.J=!1;a.o.J=!1;a.B.D=null;a.o.D=null;a.resume();nH(b.o,a.Aa,a);nH(b.A,a.Aa,a);a.A.Rr&&a.Lc("toff",""+b.o.supports(1),!0);a.jg()};
tqa=function(a){a.C&&a.C.o&&a.C.A&&(oH(a.C.o,a.Aa,a),oH(a.C.A,a.Aa,a));a.C=null};
TS=function(a){tqa(a);if(a.A.ae){var b=a.Pb;a.K=!0;a.aa=b}else a.K=!0,a.aa=!1;SS(a)};
US=function(a){a.C&&xM(a.C)&&TS(a)};
WS=function(a,b,c){if(a.K&&(!xN(a.O)||a.aa))return!1;if(a.F.A){if(0<b.B.length&&b.o&&-1==b.o.A||b.B.length>=a.A.os&&!a.A.jb||!a.A.iz&&0<b.B.length&&!a.A.o)return!1;if(b.G)return!a.F.isLive||!isNaN(a.Ia);b.o&&-1==b.o.A&&a.Lc("ddtk",iM({ip:a.A.J,sk:a.M,lr:b.o?b.o.D:"nul",pr:b.B.length}))}if(Ppa(b))return!1;if(!(b.o||a.F.A&&a.A.jb&&b.G)){if(!b.A.Rc())return!1;sS(b,a.D)}var d=b.B.length+c.B.length;(Lpa(b)||Lpa(c)||a.F.isLive&&(!a.A.jb||!b.B.length))&&--d;if(d+1>=a.A.KH)return!1;d=b.o;if(!d)return!0;if(!IK(d.o.C))return!1;
4==d.type&&d.o.Rc()&&(b.o=g.Ra(d.o.sr(d)),d=b.o);if(!d.H&&!d.o.Ug(d)||d.o.info.audio&&4==d.type)a=!1;else if(xS(b)&&!a.A.ga)a=!0;else{if(!(c=d.H||tS(b)&&tS(b)+tS(c)>a.A.ma||!!(c.o&&!c.o.H&&c.o.F<d.F)&&(!a.F.A||c.o&&c.o.F&&d.F)&&!a.V)&&(c=3==d.type)){d=d.F;a:{b=VS(a,b,!0);!JS(a.G)&&0<a.A.yc&&(c=(g.GH()-a.La)/1E3,b=Math.min(b,a.A.yc+a.A.tc*c));b=a.D+b;if(a.A.kf&&(c=vqa(a)+a.A.kf,c<b)){a.Lc("mrl","ori."+b+";mod."+c,!0);a.A.fr&&(a.La=g.GH());a=c;break a}a=b}c=d>a}a=c?!1:!0}return a};
wqa=function(a,b,c){if((!a.C||vM(a.C)||zM(a.C))&&!a.M&&a.G.aa){var d=a.D;a=a.J;c=AS(a,b.A.info.o,c.A.info.o,0);var e=sN(a.A)+c/vN(a.A);d+=Math.max(e,e+a.o.rd-c/b.A.info.o);a:{if(b.B.length){if(b.B[0].info.o[0].startTime<=d)break a;uS(b)}a=b.C;for(c=a.o.length-1;0<=c;c--)a.o[c].info.startTime>d&&a.o.pop();b.B.length?b.o=g.Ra(g.Ra(b.B).info.o):b.C.o.length?b.o=gS(b.C).info:b.o=b.D;pS(b,{s:"cbt",tm:d});b.o&&d<b.o.startTime&&(b.M=0,b.o=b.A.Lg(d,!0).o[0])}}};
xqa=function(a,b,c){if(WS(a,b,c)){if(b.G){if(a.F.isLive){var d=b.A.Lg(Infinity);d.C=a.Ia}else d=b.A.tn(0,!0);a.H?0==d.C&&(d.D=a.H.K):d.D=a.Ab}else if(d=b.o,d.o.Rc()){!xS(b)||a.A.ga||a.F.A||(wqa(a,b,c),b.o||sS(b,a.D));d=b.o;var e=d.F-a.D,f=!d.range||0==d.gb&&0==d.C?0:d.range.length-(d.C+d.gb),k=d.o;if(wS(b)&&b.A.Rc()){var l=Math.min(15,.5*VS(a,b,!0));l=xS(b)||e<=l}else l=!1;l&&0==f&&(a.F.A?k=b.A:(k=d.startTime+XS,d.gb&&(k+=d.duration),sS(b,k),d=b.o,k=d.o));k.Lf()?(f=a.G,e=AS(a.J,k.info.o,c.A.info.o,
e,0<f.o.length&&0==f.J&&a.ba),c=a.A.Il?wS(b):wS(b)&&b.A.Rc(),e=d.o.Vi(d,e),e.range&&1<e.o.length&&(c||e.A.o||a.A.vr&&e.o[0].o!=d.o?e=d.o.Vi(d,e.o[0].gb):(c=e.o[e.o.length-1],k=c.gb/e.range.length,!c.B&&.4>k&&(e=d.o.Vi(d,e.range.length-c.gb)))),d=e):(0>d.A&&(c=NJ(d),c.pr=""+b.B.length,a.M&&(c.sk="1"),a.Lc("nosq",d.D+";"+iM(c))),d=k.zk(d))}else d.o.Lf()?(c=AS(a.J,b.A.info.o,c.A.info.o,0),d=d.o.Vi(d,c)):d=d.o.zk(d);a=YS(a,d);b.B.push(a);b.o=g.Ra(a.info.o)}};
YS=function(a,b){3==b.o[b.o.length-1].type&&yqa(a,Wpa(a.G,b.o[0].o));var c=PK(b);c=new Zoa(a.O,c,Qpa(a.J,c),b,a.Sa);a.A.Or&&(c.H=[]);var d=new VR(a.A,b,c,a.ka);c.xa=function(){return rpa(d)?d.C.Np&&window.performance&&window.performance.now&&d.o&&d.o.dk()&&dS(d)&&QR(d.o)?d.info.o[0].o.info.video?3:4:2:1};
kpa(d,(0,g.A)(a.tT,a));3==b.o.length&&1==b.o[0].type&&2==b.o[1].type&&4==b.o[2].type&&b.o[0].o.info.video&&(d.aa=$pa(a.G));d.start(Math.max(0,b.o[0].G-a.D));b.o[0].o.info.video&&(c=WR(d))&&(a.Oa=c.substr(0,c.indexOf("."))||c);return d};
yqa=function(a,b){b&&a.U("videoformatchange",b)};
Aqa=function(a,b){var c=b.info.o[0].o,d=c.info.video?a.o:a.B;zqa(a,d,b);MK(b.info)&&!LK(b.info)&&((0,g.C)(b.A.o,function(e){xpa(d.C,e)}),a.A.Co||a.U("metadata",c))};
zqa=function(a,b,c){if(a.F.A&&b&&(b.G&&(dS(c),b.G=!1),c.V&&a.ya.A(1,c.V),b=c.o?parseInt(c.o.Vd("X-Head-Seqnum"),10):null)){a=a.F;for(var d in a.o)c=a.o[d].index,c.A&&(c.C=Math.max(c.C,b))}};
Bqa=function(a,b,c){a:{b=b.info;var d=a.A.mz,e=null,f=b.o[0];if(b.range)e=HJ(b.range.start,Math.min(4096,b.range.length));else if(d){if(b.B&&0<=b.B.indexOf("/range/")||"1"==b.A.B.get("defrag")){c=null;break a}e=HJ(0,4096)}else if(f.o.info.video){c=null;break a}b=new JJ(5,f.o,e,"createProbeRequestInfo_"+f.D,f.A);b=new KK([b]);b.F=c;c=b}c&&YS(a,c)};
Eqa=function(a){var b=-1!=a.o.F,c=-1!=a.B.F;if(!b||!c)if(b=!b&&fS(a.o.C),c=!c&&fS(a.B.C),b||c){c=b?a.o:a.B;b=b?a.B:a.o;var d=fS(c.C).info.A;if(a.A.Bo||-1==b.F||b.F==d){if(c.F=d,c.H=NaN,-1!=b.F){var e=Math.max(b.A.index.kd(b.F),c.A.index.kd(c.F));a.ma&&(a.ma.resolve(e+.1),a.ma=null);g.vg(function(){return Cqa(a,e)})}}else YL(a.F,d,c==a.o),Dqa(c,b.F),ZS(a,!1,"qoe.avsync",{start:"1",
target:String(b.F),actual:String(d)})}};
Dqa=function(a,b){vS(a);sS(a,Infinity);var c=a.H;a.C.D=c;a.H=c;c=a.o;c.D="correctTrack_";c.A=b-1};
Fqa=function(a){if(a.A.Aa)return!1;var b;if(!(b=Ppa(a.o))&&(b=a.M)){b=a.J;var c=a.o,d=a.B;if(0==c.B.length&&0==d.B.length)b=!0;else{var e=0,f=iS(c.C).concat(iS(d.C));f=g.r(f);for(var k=f.next();!k.done;k=f.next())e+=k.value.gb;c=c.A.info.o+d.A.info.o;e/=c;b=10<e?!0:10>c*(10-e)/BS(b)}(b=!b)||(b=a.o,b=0<b.B.length&&1==b.C.o.length&&fS(b.C).info.J<b.V)}if(b)return!0;if(!a.ba||!a.A.xa||10>a.D||360<a.o.A.info.za().o)return!1;b=Mpa(a.o,a.D,a.A.xa)||Mpa(a.B,a.D,a.A.xa);return(0<a.o.B.length||0<a.B.B.length||
WS(a,a.o,a.B)||WS(a,a.B,a.o))&&b};
Iqa=function(a,b,c,d){if(c.Ae())return!0;var e=fS(b.C);if(!e||!c.Gt())return!1;var f=e.info;!b.D||b.D.B||LJ(b.D,f)||(b.D=null,vM(a.C)&&c.abort(),c.nj(null));c.ky(f.o.info.containerType,f.o.info.mimeType);f=a.F.isLive&&aK(e);var k;if(k=a.A.Oa&&a.F.C&&0==e.info.C&&(g.XJ(e.info.o.info)||a.A.HC)){if(null==c.Jg()){if(!(k=null==b.D||b.D.o!=e.info.o)){a:{k=b.D.K;var l=e.info.K;if(k.length!=l.length)k=!1;else{for(var m=0;m<k.length;m++)if(!g.ub(k[m],l[m])){k=!1;break a}k=!0}}k=!k}}else k=c.Jg()!=e.info.o.o;
k=!k}k&&(g.XJ(e.info.o.info)?(lJ(UJ(e),1836019574),lJ(UJ(e),1718909296)):(k=new nJ(UJ(e)),EJ(k),rJ(k,524531317,!0),e.range=new g.FJ(k.C+k.o,e.range.end)),e.A=!1);a.A.yg&&e.A&&(e.A=!1);if(!a.F.C||0==e.info.C)if(f||a.F.A||e.A)c.nj(null);else if($S(a,c,e))return!0;f=VS(a,b,!1);f=a.D+f;null!==d&&0<=d&&(f=Math.min(f,d));d=f;if(a.H)a:if(a.H.D&&b.A.info.audio){if((f=fS(b.C))&&(f=f.o)&&null!=f.B){f=f.B-1;break a}f=-1}else f=Infinity;else f=Infinity;k=b.C;if(!k.o.length||k.o[0].info.G>=d)d=null;else if(l=
k.o[0].A?0:k.o[0].range.start,l>f)d=null;else{for(m=1;m<k.o.length;m++){var n=k.o[m].range.start>f,p=k.o[m].buffer!=k.o[m-1].buffer;if(k.o[m].info.G>d||n||p||k.C.zg)break}m--;d=new g.FJ(l,Math.min(k.o[m].range.end,f))}if(!d)return!1;k=new Uint8Array(e.buffer,d.start,d.length);a.jb&&e.info.o.info.video&&g.XJ(e.info.o.info)&&Eoa(a.jb,k,e.info.C);f=!1;3!=e.info.type||!g.XJ(e.info.o.info)&&2!=e.info.o.info.containerType||(f=g.XJ(e.info.o.info)&&a.A.Oo&&!b.J&&0==e.info.C&&0<e.info.startTime)&&ZJ(e,0);
a:{l=g.r(b.C.o);for(m=l.next();!m.done;m=l.next()){m=m.value;if(d.end==m.range.end){l=m.info.B;break a}if(d.end<m.range.end)break}l=!1}a:if(a.A.ka&&a.Lc("sba",c.Eb({as:OJ(e.info)})),k=Gqa(a,c,k,l),"s"==k)k=!0;else{if("i"==k||"x"==k)Hqa(a,"checked",k,e.info);else{if("q"==k&&(e.info.o.info.video?(k=a.A,k.F=Math.floor(.8*k.F),k.O=Math.floor(.8*k.O),k.C=Math.floor(.8*k.C)):(k=a.A,k.H=Math.floor(.8*k.H),k.sa=Math.floor(.8*k.sa),k.C=Math.floor(.8*k.C)),c.supports(2)&&!c.Ae())){k=!1;l=c.sc().length;for(m=
0;!k&&m<l;m++)c.sc().start(m)>e.info.F&&(c.remove(c.sc().start(m),c.sc().end(l-1)),k=!0);l=Math.max(0,Math.min(a.D,e.info.startTime)-5);!k&&l&&c.remove(0,l);k=!1;break a}a.U("reattachrequired")}k=!1}if(!k)return!1;b.J=!0;if(f)ZJ(e,e.info.startTime),c.abort(),c.nj(null);else{f=b.C;for(k=[];f.o.length&&(f.o[0].range.end>d.end?(m=WJ(f.o[0],d.end-f.o[0].range.start+1),l=m[0],f.o[0]=m[1]):l=f.o.shift(),k.push(l),l.range.end!=d.end););k.length&&(0,g.C)(k,b.aa,b)}e.A&&(e.info.o.o&&(c.nj(e.info.o.o),a.A.ea||
a.U("initsegment",c.Jg())),(b=e.info.o.H)&&a.U("newDrmInfo",b.type,b.key));e.info.o.info.Wc&&c.Uv();return!0};
Hqa=function(a,b,c,d){var e="fmt.unplayable";"i"==c&&(e="html5.invalidstate");if("x"==c||"m"==c)e="fmt.unparseable",d.o.D=e,d.o.info.video&&!IS(a.G)&&HS(a.G,d.o);d=NJ(d);d.mrs=a.C.C.readyState;d.origin=b;d.reason=c;ZS(a,"i"!=c,e,d)};
Jqa=function(a,b,c){tla(a.F,b,c)&&c&&g.vg(function(){if(a.Fa)a.Fa=!1,Cqa(a,b.startTime);else{var d=b.startTime,e=b.duration;if(!a.la()&&a.A.ba&&a.V&&-1!=a.o.F&&-1!=a.B.F){var f=a.A.Lz?0:.1;a.D<d||a.D>d+e+f?3>a.ga?(a.ga++,a.seek(a.D)):(a.Lc("iterativeSeeking","incomplete;count="+a.ga,!1),a.ga=0,a.V=!1,a.U("seekplayerrequired",d+.1,!0)):(a.Lc("iterativeSeeking","done;count="+a.ga,!1),a.ga=0,a.V=!1)}}})};
Cqa=function(a,b){!a.la()&&a.A.ba&&a.V&&-1!=a.o.F&&-1!=a.B.F&&(a.V=!1,a.U("seekplayerrequired",b+.1,!0))};
$S=function(a,b,c){c.info.o.Rc();var d=c.info.o.o;if(null==d||b.Jg()==d)return!1;var e=d;if(a.A.yg&&b.isView()&&g.XJ(c.info.o.info)&&b.Ru()){var f=new DataView(d.buffer,d.byteOffset,d.byteLength);var k=!c.info.o.info.video,l=g.aJ(f,0,1937011556),m=g.aJ(f,0,1953654136);if(!l||!m||2<=f.getUint32(l.offset+12))f=null;else{k=Oe(k?"AAAAm2VuY2EAAAAAAAAAAQAAAAAAAAAAAAIAEAAAAACsRAAAAAAAJ2VzZHMAAAAAAxkAAQAEEUAVAAAAAAAAAAAAAAAFAhIQBgECAAAAUHNpbmYAAAAMZnJtYW1wNGEAAAAUc2NobQAAAABjZW5jAAEAAAAAAChzY2hpAAAAIHRlbmMAAAAAAAABCA2mfwjLxVzCnFMS3s7KPQk=":
"AAAA12VuY3YAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAFAALQAEgAAABIAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY//8AAAAxYXZjQwFNQCD/4QAaZ01AINoBQBbsBagICAoAAAfSAAOpgB4wZUABAARo7zyAAAAAUHNpbmYAAAAMZnJtYWF2YzEAAAAUc2NobQAAAABjZW5jAAEAAAAAAChzY2hpAAAAIHRlbmMAAAAAAAABCNqu5zriy1rOhQT9Yx3PkSk=");m=DataView;for(var n=new Uint8Array(k.length),p=0;p<k.length;p++)n[p]=k[p];n=new m(n.buffer);m=n.byteLength;k=new PI(f.byteLength+m);k.oh(f,0,l.offset+12);QI(k,2);k.oh(f,l.offset+16,l.size-16);k.oh(n,0,m);k.oh(f,
l.offset+l.size,f.byteLength-(l.offset+l.size));l=g.r([1836019574,1953653099,1835297121,1835626086,1937007212,1937011556]);for(n=l.next();!n.done;n=l.next())n=g.aJ(f,0,n.value),k.data.setUint32(n.offset,n.size+m);f=g.aJ(k.data,0,1953654136);k.data.setUint32(f.offset+16,2);f=k.data}f?e=new Uint8Array(f.buffer,f.byteOffset,f.byteLength):a.Lc("fenc","1")}e=Gqa(a,b,e,!0);if("s"!=e)return Hqa(a,"sepInit",e,c.info),!0;b.nj(d);a.A.ea?(c=c.info.o.H)&&a.U("newDrmInfo",c.type,c.key):a.U("initsegment",b.Jg());
return b.Ae()};
Gqa=function(a,b,c,d){try{b.appendBuffer(c,d)}catch(e){if(11==e.code)return"i";if(12==e.code)return"x";if(22!=e.code&&0!=e.message.indexOf("Not enough storage"))return g.$E(e),"u";a.A.fd&&a.Lc("quex","br."+kM(b.sc()).replace(/,/g,"_"));return"q"}return xM(a.C)?"m":"s"};
Kqa=function(a,b){b.C.subscribe("warning",a.jS,a);b.C.subscribe("error",a.dS,a);b.C.subscribe("timestamprewrite",a.iS,a);var c=(0,g.A)(a.fS,a,b);b.C.subscribe("placeholderinfo",c,void 0);c=(0,g.A)(a.gS,a,b);b.C.subscribe("placeholderrollback",c,void 0);c=(0,g.A)(a.hS,a,b);b.C.subscribe("segmentinfo",c,void 0);c=a.eS.bind(a);b.C.subscribe("gaplessinfo",c,void 0);b==a.o&&b.C.subscribe("cuepoint",a.cS,a)};
Lqa=function(a,b){var c=0+b.duration,d=-b.o;0==a.wp()&&c==a.pu()||a.Ix(0,c);d!=a.Qc()&&a.Er(d)};
VS=function(a,b,c){if(a.K)return 1;var d=b.A.info.audio?a.A.H:a.A.F;!a.A.ga&&JS(a.G)&&(d=Math.max(d,b.A.info.audio?a.A.sa:a.A.O));c&&(d+=a.A.ma);var e=JS(a.G)?b.o?b.o.o.info.o:b.A.info.o:b.K;d/=e;0<a.A.ya&&a.C&&vM(a.C)&&(b=b.A.info.video?a.C.A:a.C.o)&&!b.Ae()&&(e=lM(b.sc(),a.D),0<=e&&(b=a.D-b.sc().start(e),d+=Math.max(0,Math.min(b-a.A.ya,a.A.Ty))));0<a.A.C&&(d=Math.min(d,a.A.C));a.A.qd&&c&&!JS(a.G)&&(c=a.G,c=GS(c,g.Ra(c.o))+GS(c,c.H.o[0]),c=a.A.qd*(c/zS(a.J)),c<d&&15>c&&a.Lc("bwcapped","1",!0),c=
Math.max(c,15),d=Math.min(d,c));return d};
vqa=function(a){if(!a.Wa)return Infinity;var b=(0,g.re)(OS(a.Wa),function(d){return"ad"==d.namespace});
b=g.r(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,c.start/1E3>a.D)return c.start/1E3;return Infinity};
Mqa=function(a,b,c){if(!a.A.Rc())return 0!=b&&uS(a),b;var d=qS(a,b,c);if(!isNaN(d))return d;vS(a);return c&&(c=mM(c.sc(),b),!isNaN(c))?(sS(a,c+XS),b):sS(a,b)};
aT=function(a,b,c,d){c.Rc()||c.F||!IK(c.C)||(d=c.Wj(d?Spa(a.J,c.info):0),(0,g.C)(d,function(e){if("f"!=e.o[0].o.info.A){var f=YS(this,e);LK(e)&&(b.B.push(f),b.o=g.Ra(f.info.o))}},a),c.F=!0)};
ZS=function(a,b,c,d){a.la()||(d=new hM(c,b,d),g.Ma(a),iM(d.details),a.U("error",d),"html5.invalidstate"!=c&&"fmt.unplayable"!=d.errorCode&&"fmt.unparseable"!=c&&b&&a.dispose())};
SS=function(a){a.B&&a.o&&(vS(a.B),vS(a.o))};
Nqa=function(a,b){var c=b.info.video?a.o:a.B;null!=c&&aT(a,c,b,!1)};
Oqa=function(a){a=a?a.B.length?a.B[0]:null:null;return!!a&&2<=a.state&&!(5<=a.state)};
Pqa=function(a,b,c){this.url=a;this.interval=b;this.o=c};
bT=function(a){g.mH.apply(this,arguments)};
cT=function(a,b,c){this.initData=a;this.contentType=(void 0===b?"":b)||null;this.isPrefetch=void 0===c?!1:c;this.o=this.cryptoPeriodIndex=NaN;this.A=[]};
Qqa=function(a){a:{var b=a.initData;try{for(var c=0,d=new DataView(b.buffer);c<d.byteLength-8;){var e=d.getUint32(c);if(1>=e)break;if(1886614376==d.getUint32(c+4)){var f=32;if(0<d.getUint8(c+8)){var k=d.getUint32(c+28);f+=16*k+4}var l=d.getUint32(c+f-4);try{var m=new We(b.subarray(c+f,c+f+l)),n=new UE;for(f=m;Xe(f)&&4!=f.A;)switch(f.C){case 2:var p=af(f),q=p;ff(n,2).push(q);break;case 4:p=af(f);hf(n,4,p);break;case 7:p=Ve(f.o);hf(n,7,p);break;case 9:p=Ve(f.o);hf(n,9,p);break;case 10:p=Ve(f.o);hf(n,
10,p);break;case 11:p=Ze(f);hf(n,11,p);break;case 12:p=Ve(f.o);hf(n,12,p);break;case 13:q=p=af(f);ff(n,13).push(q);break;case 14:p=new VE;q=f;var u=p,w=Pja,D=q.o.C,F=Ve(q.o),J=q.o.o+F;q.o.C=J;w(u,q);q.o.o=J;q.o.C=D;q=n;u=p;w=VE;mf(q,w,14);var O=q.o[14];O||(O=q.o[14]=[]);var qa=u?u:new w,Ta=ff(q,14);O.push(qa);Ta.push(of(qa));break;case 15:p=$e(f);hf(n,15,p);break;case 1:p=Ze(f);hf(n,1,p);break;case 3:p=$e(f);hf(n,3,p);break;case 5:p=$e(f);hf(n,5,p);break;case 6:p=$e(f);hf(n,6,p);break;case 8:p=af(f);
hf(n,8,p);break;default:Ye(f)}f=n;if(null!=f){var Ha=f;break a}}catch(ab){}}c+=e}Ha=null}catch(ab){Ha=null}}if(null!=Ha)for(b=ff(Ha,7),null!=b&&(a.cryptoPeriodIndex=b),b=ff(Ha,10),null!=b&&0<b&&(a.o=b),Ha=ff(Ha,2),Ha=!Ha.length||Ha[0]instanceof Uint8Array?Ha:(0,g.I)(Ha,Zaa),Ha=g.r(Ha),b=Ha.next();!b.done;b=Ha.next())a.A.push(HR(b.value))};
dT=function(a,b,c,d){bT.call(this);var e=this;this.C=-1;this.o={};this.B=new g.V(this.D,0,this);g.L(this,this.B);this.A=new g.V(function(){e.la()||(e.B.start(Math.random()*c),e.A.start(b))},a,this);
g.L(this,this.A);d.subscribe("fairplay_next_need_key_info",this.F,this)};
Rqa=function(a,b,c){a=g.fh(a);for(var d=[],e=g.r(a[6].split("&")),f=e.next();!f.done;f=e.next())f=f.value,0==f.indexOf("cpi=")?d.push("cpi="+b):0==f.indexOf("ek=")?d.push("ek="+g.rc(c)):d.push(f);a[6]="?"+d.join("&");b="skd://"+a.slice(2).join("");a=2*b.length;c=new Uint8Array(a+4);c[0]=a%256;c[1]=(a-c[0])/256;for(a=0;a<b.length;++a)c[2*a+4]=b.charCodeAt(a);return c};
Sqa=function(a,b){this.statusCode=a;this.errorMessage=null;this.message=b;this.C=this.A=this.o=this.heartbeatParams=null};
Uqa=function(a){var b=XI(a.subarray(0,16384)),c=b.indexOf("\r\n\r\n");if(-1==c)return null;var d=b.indexOf("\r\n"),e=b.slice(0,d).match(/^GLS\/1.\d ([0-9]{1,3}) (\w+)$/);if(null==e)return null;e=Ec(e[1]);b=YI(b.slice(d+2));if(null==b)return null;a=new Sqa(e,a.subarray(c+4));0!=a.statusCode&&(a.errorMessage=g.coa(a.statusCode));if(c=b["Heartbeat-Url"])a.heartbeatParams=new Pqa(c,parseInt(b["Heartbeat-Interval-Secs"],10)||60,parseInt(b["Heartbeat-Num-Retries"],10)||4);if(c=b["Authorized-Format-Types"])a.o=
c.split(",");if(c=b["Key-Ids"])a.A=Tqa(c);a.C=b["Next-Key-Id"];return a};
Tqa=function(a){if(!a)return{};var b={};(0,g.C)(a.split(";"),function(c){c=c.split(",");2==c.length&&(b[c[1]]=c[0])});
return b};
eT=function(a,b,c,d){g.K.call(this);this.message=a;this.number=b;this.C=c;this.o=d;this.A=new g.jE(5E3,2E4,.2)};
fT=function(a,b,c,d,e){g.K.call(this);this.F=a;this.K=b;this.J=c;this.o=d;this.A=e;this.sessionId="";this.H=this.G=this.B=this.D=null;this.Z=new g.jH(this);g.L(this,this.Z);this.o?(this.Z.R(this.o,"message",this.nO),this.Z.R(this.o,"keystatuseschange",this.oO),this.o.closed&&this.o.closed.then(aF((0,g.A)(this.mO,this)),null)):this.A&&(kH(this.Z,this.A,["mskeymessage","webkitkeymessage"],this.RE),kH(this.Z,this.A,["mskeyerror","webkitkeyerror"],this.QE),kH(this.Z,this.A,["mskeyadded","webkitkeyadded"],
this.PE))};
gT=function(a,b){g.K.call(this);this.A=a;this.o=b;this.F={};this.B=null;this.Z=new g.jH(this);g.L(this,this.Z);this.C=this.D=null};
Wqa=function(a){if(a.o.A)return a.o.A.createMediaKeys().then(aF(function(b){a.la()||(a.D=b,a.A.setMediaKeys(b))}));
tO(a.o)?a.C=new (sO())(a.o.o):wO(a.o)?(a.C=new (sO())(a.o.o),a.A.webkitSetMediaKeys(a.C)):Vqa(a);return null};
Vqa=function(a){kH(a.Z,a.A,["keymessage","webkitkeymessage"],a.rO);kH(a.Z,a.A,["keyerror","webkitkeyerror"],a.qO);kH(a.Z,a.A,["keyadded","webkitkeyadded"],a.pO)};
Xqa=function(a){return"widevine"==a.o.flavor&&a.o.eo&&a.D.setServerCertificate?a.D.setServerCertificate(a.o.eo):null};
Yqa=function(a,b){var c=b.subarray(4);c=String.fromCharCode.apply(null,new Uint16Array(c.buffer,c.byteOffset,c.byteLength/2)).match(/ek=([0-9a-f]+)/)[1];for(var d="",e=0;e<c.length;e+=2)d+=String.fromCharCode(parseInt(c.substr(e,2),16));c=WI(a.o.qh);e=new ArrayBuffer(2*d.length);for(var f=new Uint16Array(e),k=0;k<d.length;k++)f[k]=d.charCodeAt(k);d=new Uint8Array(e);e=0;k=new ArrayBuffer(b.byteLength+4+d.byteLength+4+c.byteLength);f=new Uint8Array(k);k=new DataView(k);f.set(b);e+=b.byteLength;k.setUint32(e,
d.length,!0);e+=4;f.set(d,e);e+=d.length;k.setUint32(e,c.byteLength,!0);f.set(c,e+4);return f};
hT=function(a,b){var c=a.F[b.sessionId];!c&&a.B&&(c=a.B,a.B=null,c.sessionId=b.sessionId,a.F[b.sessionId]=c);return c};
jT=function(a,b,c,d,e,f){g.K.call(this);this.F=a;this.A=a.Ze;this.B=e;this.C=b;this.cryptoPeriodIndex=d.cryptoPeriodIndex||NaN;this.aa=f;this.H=Zqa(this);this.H.session_id=f;this.K=!0;"playready"==this.A.flavor&&(a=parseInt(b.experiments.C("playready_first_play_expiration"),10),!isNaN(a)&&0<=a&&(this.H.mfpe=""+a),b.experiments.o("html5_playready_keystatuses_killswitch")||(this.K=!1));"fairplay"==this.A.flavor?(a=d.initData.subarray(4),a=String.fromCharCode.apply(null,new Uint16Array(a.buffer,a.byteOffset,
a.byteLength/2)).replace("skd://","https://")):a=this.A.B;this.C.experiments.o("enable_shadow_yttv_channels")&&(a=new g.Hn(a),document.location.origin&&document.location.origin.includes("green")?g.Jn(a,"web-green-qa.youtube.com"):g.Jn(a,"www.youtube.com"),a=a.toString());e=a=this.L=a;var k=void 0===k?!1:k;gK($qa.test(e),e,k,"Drm Licensor URL")||iT(this,"drm.net",!0,"t.x");for(var l in this.H)a=wh(a,l,this.H[l]);this.ba=a;this.Y=b.experiments.o("html5_use_drm_retry");this.O=0;this.J=this.M=!1;(0,g.LP)("drm_gk_s");
try{var m=c.createSession(d)}catch(n){b="t.g",n instanceof DOMException&&(b+=";c."+n.code),this.B.U("licenseerror","drm.unavailable",!0,b,"HTML5_NO_AVAILABLE_FORMATS_FALLBACK"),m=null}if(this.D=m)b=this.D,c=this.jO,k=this.iO,l=this.lO,b.D=this.kO,b.B=c,b.G=k,b.H=l,b.C=this,g.L(this,this.D);this.ga=d.A;this.G=[];this.o={};this.V=NaN};
Zqa=function(a){var b={};g.lc(b,a.C.deviceParams);b.cpn=a.F.clientPlaybackNonce;var c=["23763106","23775802"].filter(function(d){return a.C.experiments.experiments[d]});
0<c.length&&(b.fexp=c.join());a.F.jf&&(b.vvt=a.F.jf,a.F.mdxEnvironment&&(b.mdx_environment=a.F.mdxEnvironment));a.C.Tc&&(b.authuser=a.C.Tc);a.C.pageId&&(b.pageid=a.C.pageId);isNaN(a.cryptoPeriodIndex)||(b.cpi=a.cryptoPeriodIndex);return b};
ara=function(a){var b={};g.lc(b,a.H);return b};
bra=function(a){for(var b="",c=0;c<a.length;c+=2)b+=String.fromCharCode(a[c]);a=(new DOMParser).parseFromString(b,"text/xml");return a?(a=a.querySelector("Challenge"))&&a.childNodes&&0!==a.childNodes.length?new Uint8Array(Oe(a.childNodes[0].data)):null:null};
cra=function(a,b){if("widevine"!=a.A.flavor)iT(a,"drm.provision",!0,"e.flavor;f."+a.A.flavor+";l."+b.byteLength);else{var c={cpn:a.F.clientPlaybackNonce};g.lc(c,a.C.deviceParams);c=g.rh("https://www.googleapis.com/certificateprovisioning/v1/devicecertificates/create?key=AIzaSyB-5OLKTx2iU5mko18DfdwK5611JIjbUhE",c);var d={format:"RAW",headers:{"content-type":"application/json"},method:"POST",postBody:JSON.stringify({signedRequest:XI(b)}),responseType:"arraybuffer"};g.vG(c,d,3,500).then(aF(function(e){if(!a.la()){e=
new Uint8Array(e.response);var f=XI(e);try{var k=JSON.parse(f)}catch(l){}k&&k.signedResponse?(a.B.U("ctmp","provisioning",""),a.D&&a.D.update(e)):(k=k&&k.error&&k.error.message,e="e.parse",k&&(e+=";m."+k),iT(a,"drm.provision",!0,e))}}),aF(function(e){a.la()||iT(a,"drm.provision",!0,"e."+e.errorCode+";c."+(e.Ui&&e.Ui.status))}))}};
kT=function(a){var b;if(b=a.K&&null!=a.D)a=a.D,b=!(!a.o||!a.o.keyStatuses);return b};
era=function(a,b){(0,g.LP)("drm_net_s");if(a.C.experiments.o("use_innertube_drm_service_optin")){var c=new g.bI(a.C.tc),d={context:g.HH(c.wa)};d.drmSystem=dra[a.A.flavor];d.videoId=a.F.videoId;d.cpn=a.F.clientPlaybackNonce;d.sessionId=a.aa;d.licenseRequest=g.Me(b.message);d.drmParams=a.F.drmParams;isNaN(a.cryptoPeriodIndex)||(d.isKeyRotated=!0,d.cryptoPeriodIndex=a.cryptoPeriodIndex);var e={onSuccess:(0,g.A)(b.G,b),onError:(0,g.A)(b.F,b)};g.LH(c,"player/get_drm_license",d,e)}else c=a.ba,d=a.F.oauthToken,
e={format:"RAW",method:"POST",postBody:b.message,responseType:"arraybuffer",withCredentials:!0,timeout:3E4,onSuccess:(0,g.A)(b.D,b),onError:(0,g.A)(b.B,b)},d&&(c=wh(c,"access_token",d)),g.UF(c,e)};
iT=function(a,b,c,d,e){a.la()||a.B.U("licenseerror",b,c,d,e);c&&a.dispose()};
fra=function(a,b){var c=b.A.getValue();c=new g.V(function(){return era(a,b)},c);
g.L(a,c);c.start();g.kE(b.A)};
gra=function(a){return g.Ya(a,"UHD2")?"highres":g.Ya(a,"UHD1")?"hd2160":g.Ya(a,"HD")?"hd1080":g.Ya(a,"HD720")?"hd720":"large"};
hra=function(a,b){if(!kT(a)&&vO(a.A)&&!b)return"large";var c=[],d=!0;if(kT(a))for(var e in a.o)"usable"==a.o[e].status&&c.push(a.o[e].type),"unknown"!=a.o[e].status&&(d=!1);if(!kT(a)||d)c=a.G;return gra(c)};
ira=function(a){var b=a[0];a[0]=a[3];a[3]=b;b=a[1];a[1]=a[2];a[2]=b;b=a[4];a[4]=a[5];a[5]=b;b=a[6];a[6]=a[7];a[7]=b};
jra=function(a){if(kT(a)){var b=[],c;for(c in a.o)b.push.apply(b,[c,a.o[c].type,a.o[c].status]);a=b.join(";")}else a=a.G.join(";");return a};
kra=function(a,b,c,d){a=new Uint8Array(a);if(a=bra(a))a={format:"RAW",method:"POST",postBody:a,responseType:"arraybuffer",withCredentials:!0,timeout:3E4},c=Cba(c,d),g.vG(c,a,3,500).then(function(e){e=new Uint8Array(e.response);(e=Uqa(e))&&e.message&&b.update(e.message)})};
mra=function(a,b){var c=lra(void 0===b?"auto":b),d;for(d in a.o)if("output-restricted"==a.o[d].status){var e=a.o[d].type;if(""==c||"AUDIO"==e||c==e)return!0}return!1};
lra=function(a){switch(a){case "highres":case "hd2880":return"UHD2";case "hd2160":case "hd1440":return"UHD1";case "hd1080":case "hd720":return"HD";case "large":case "medium":case "small":case "light":case "tiny":return"SD";default:return""}};
lT=function(a,b){for(var c in a.o)if("usable"==a.o[c].status&&a.o[c].type==b)return!0;return!1};
mT=function(){this.keys=[];this.values=[]};
nT=function(a,b,c){bT.call(this);var d=this;this.B=a;this.C=b;this.o=[];this.A=new g.V(function(){var e=d.o.shift().info;a:{var f=e.cryptoPeriodIndex;if(isNaN(f)&&0<d.C.values.length)f=!0;else{for(var k=g.r(d.C.values),l=k.next();!l.done;l=k.next())if(l.value.cryptoPeriodIndex==f){f=!0;break a}f=!1}}f||d.U("rotated_need_key_info_ready",e);0<d.o.length&&(e=d.o[0].time-(0,g.H)(),d.A.start(Math.max(0,e)))},0);
g.L(this,this.A);c.subscribe("widevine_set_need_key_info",this.D,this)};
oT=function(a,b,c){g.mH.call(this);a&&(a.addKey||a.webkitAddKey)||sO()||xO(c.experiments);this.J=a;this.D=b;this.o=b.Ze;this.C=c;this.subscribe("newlicense",this.xS,this);this.subscribe("newsession",this.yS,this);this.subscribe("sessionready",this.HT,this);this.subscribe("keystatuseschange",this.sO,this);this.subscribe("hdentitled",this.DR,this);this.ka=b.drmSessionId||g.qI();this.A=new mT;this.aa=null;this.B=[];this.H="fairplay"==this.o.flavor?XM:this.C.experiments.o("html5_drm_start_from_null_constraint")?
XM:nra;this.M=null;this.K=new gT(a,this.o);g.L(this,this.K);this.F=null;tO(this.o)&&(this.F=new gT(a,this.o),g.L(this,this.F));this.ea=2;this.Z=new g.jH(this);g.L(this,this.Z);this.ia=this.ba=!1;this.ga=null;this.V=!1;a=this.J;this.o.A?this.Z.R(a,"encrypted",this.oR):kH(this.Z,a,tO(this.o)?["msneedkey"]:["needkey","webkitneedkey"],this.vS);(a=Wqa(this.K))?a.then(aF((0,g.A)(this.bS,this)),aF((0,g.A)(this.vQ,this))):this.V=!0;this.F&&Wqa(this.F);this.ma=!!this.D.Ze&&"widevine"==this.D.Ze.flavor&&!this.D.Da&&
(this.C.experiments.o("html5_skip_widevine_innertube_drm_heartbeats")||!this.D.Av);this.L=this.Y=this.O=!1;a:{a=this.o;b=this.C.experiments;c=this.A;switch(a.flavor){case "fairplay":if(b=b.o("html5_enable_fairplay_key_rotation")){if(c=/\sCobalt\/(\S+)\s/.exec(g.Kb)){b=[];c=g.r(c[1].split("."));for(var d=c.next();!d.done;d=c.next())d=parseInt(d.value,10),0<=d&&b.push(d);b=parseFloat(b.join("."))}else b=NaN;b=19.2999<b}b?(b=a.qm,a=a.pm,a>=b&&(a=.75*b),c=.5*(b-a),a=new dT(c,b,b-c-a,this)):a=null;break a;
case "widevine":a=new nT(b.o("disable_license_delay"),c,this);break a}a=null}if(this.G=a)g.L(this,this.G),this.G.subscribe("rotated_need_key_info_ready",this.cA,this)};
ora=function(a,b,c){a.ia=!0;a.C.experiments.o("html5_playbackmanager_enable_notify_new_drm_info")?0!=a.B.length&&a.D.Ha&&a.D.Ha.o?pT(a):qT(a,new cT(b,c)):tO(a.o)||qT(a,new cT(b,c))};
qra=function(a,b){if(tO(a.o)&&!a.O){var c=Moa(b);if(0!=c.length){var d=new cT(c);a.O=!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){pra(a,f,d)})},null)}}};
pra=function(a,b,c){var d=b.createSession(),e=a.A.values[0],f=ara(e);d.addEventListener("message",function(k){kra(k.message,d,a.o.B,f)});
d.addEventListener("keystatuseschange",function(){d.keyStatuses.forEach(function(k,l){"usable"==l&&(a.Y=!0,rra(a,hra(e,a.Y)))})});
d.generateRequest("cenc",c.initData)};
qT=function(a,b){a.la()||a.ba&&a.ma||(a.ba=!0,"widevine"==a.o.flavor?(Qqa(b),a.U("widevine_set_need_key_info",b)):a.cA(b))};
rT=function(a){a.la()||(a.V=!0,pT(a))};
pT=function(a){if((!a.C.experiments.o("html5_playbackmanager_enable_notify_new_drm_info")||a.ia)&&a.V&&!a.L){for(;a.B.length;){var b=a.B[0];if(a.A.get(b.initData))if("fairplay"==a.o.flavor)a.A.remove(b.initData);else{a.B.shift();continue}Qqa(b);break}if(a.B.length){b=a.B[0];a.A.get(b.initData);a.L=!0;var c=new jT(a.D,a.C,a.K,b,a,a.ka);a.A.set(b.initData,c)}}};
rra=function(a,b){var c=VM("auto",b,!1,"l");if(a.C.experiments.o("html5_drm_start_from_null_constraint")){if(UM(a.H,c))return}else if(aN(a.H,b))return;a.H=c;a.U("qualitychange")};
sra=function(a,b){this.videoData=a;this.Ha=b};
tra=function(a,b,c){return g.ina(b,c).then(function(){return new sra(b,b.Ha)},function(d){d instanceof Error&&g.bF(d);
d=b.Da&&!g.PM(a.G)?"html5.unsupportedlive":"fmt.noneavailable";var e={buildRej:"1",a:""+ +!!b.adaptiveFormats,d:""+ +!!b.te,f18:""+ +(0<=b.xl.indexOf("itag=18")),c18:""+ +$L('video/mp4; codecs="avc1.42001E, mp4a.40.2"'),f43:""+ +(0<=b.xl.indexOf("itag=43")),c43:""+ +$L('video/webm; codecs="vp8.0, vorbis"')};b.ua&&(e.f133=""+ +!!b.ua.o["133"],e.f140=""+ +!!b.ua.o["140"]);return new hM(d,!0,e)})};
sT=function(a,b){g.mH.call(this);this.o=a;this.J=b;this.H=this.D=this.A=this.B=this.G=this.C=0;this.F=1};
vra=function(a,b,c){g.$N(a.o)&&(c=YM(c,ura(a,b)));return c};
ura=function(a,b){if(g.$N(a.o)&&CM(a.o.G,GM))var c=b.Ha.videoInfos[0].za().o;else{c=!!b.Ha.o;var d;SN(a.o)&&(d=window.screen&&window.screen.width?new g.Qd(window.screen.width,window.screen.height):null);d||(d=a.o.Nl?a.o.Nl.clone():a.J.getPlayerSize());(LN||tT||c)&&d.scale(g.jO());c=d;var e=b.Ha.videoInfos;if(e.length){d=.85;var f=e[0].za();4!=f.projectionType&&2!=f.projectionType&&3!=f.projectionType||QN||(d=.45);f=e[0];var k=f.za();e=g.r(e);for(var l=e.next();!l.done&&!(f=k=l.value,k=k.za(),null===
c||k.width*d<c.width&&k.height*d<c.height);l=e.next());c=VM("auto","93"==PJ(f)?SK(k.width,k.height):k.quality,!1,"r")}else c=XM;c=c.o}c&&(c=Math.max(c,360));return new TM(0,c,!1,"r")};
wra=function(a,b){var c;a:if((c=b.Ha)&&c.videoInfos.length&&null!=c.videoInfos[0].C){for(var d=g.r(c.videoInfos),e=d.next();!e.done;e=d.next())if(e=e.value,e.C){c=e.za().o;break a}c=c.videoInfos[0].za().o}else c=0;($F("armv7")||$F("android"))&&!g.$N(a.o)&&$K(b.Ha.videoInfos[0])&&(c=Math.min(c,g.TK.large));return new TM(0,c,!1,"o")};
xra=function(a){var b,c,d,e;return xa(function(f){if(1==f.o)return b=a.Ha.videoInfos,ua(f,DO(b),2);c=g.r(b);for(d=c.next();!d.done;d=c.next())e=d.value,e.C||gN(e.A,e.za().fps,e.za().o-1);f.o=0})};
Bra=function(a,b,c){var d=a.o.experiments.A("html5_df_downgrade_thresh"),e=a.na("html5_log_media_perf_info");if(!d&&!e||!c||!b||!b.videoData.Ca)return!1;var f=g.GH();if(5E3>f-a.B)return!1;a.B=f;c=c.wq();if(!c)return!1;f=c.droppedVideoFrames-a.D;var k=c.totalVideoFrames-a.H;a.D=c.droppedVideoFrames;a.H=c.totalVideoFrames;e&&a.U("ctmp","ddf","dr."+c.droppedVideoFrames+";de."+c.totalVideoFrames);if(!d||g.$N(a.o)||!yra(a,b))return!1;a.A=60<k&&f/k>d?a.A+1:0;if(3!=a.A)return!1;zra(a,b.videoData.Ca);a.U("ctmp",
"dfd",Ara());return!0};
yra=function(a,b){if(a.na("html5_restore_perf_cap"))return!0;if(!b.videoData.Ca)return!1;if("1"==b.videoData.Ca.A)return!0;var c=a.o.A?240:360;return b.videoData.Ca.za().o>c};
zra=function(a,b){var c=b.za().o-1;gN(b.A,b.za().fps,c);a.o.Dj=new TM(0,c,!1,"b")};
Cra=function(a,b){if(a.na("html5_restore_perf_cap")){for(var c=0,d=a.o.A?240:360,e=g.r(b.Ha.videoInfos),f=e.next();!f.done;f=e.next()){var k=f.value;f=hN(k.A,k.za().fps);k=k.za().o;if(!f||Math.max(f,d)>=k){c=k;break}}return new TM(0,c,!1,"b")}return a.o.Dj};
Dra=function(a,b){a.na("html5_log_media_perf_info")&&(a.U("ctmp","perfdb",Ara()),a.U("ctmp","hwc",""+navigator.hardwareConcurrency,!0),b&&a.U("ctmp","mcdb",b.Ha.videoInfos.filter(function(c){return!1===c.C}).map(function(c){return PJ(c)}).join("-")))};
Ara=function(){var a=g.Pb(fN(),function(b){return""+b});
return iM(a)};
uT=function(a){this.A=window.Float32Array?new Float32Array(a):Array(a);this.C=this.o=a-1};
Era=function(a){return a.A[a.o]||0};
Fra=function(a){this.B=new uT(50);this.o=null;this.C=this.A=0;this.D=a};
Hra=function(a,b,c){g.mH.call(this);var d=new Gra;"ULTRALOW"==a.latencyClass&&(d.B=!1);a.Zm?d.A=3:g.UP(a)&&(d.A=2);b.o("html5_adaptive_seek_to_head_killswitch")||"NORMAL"!=a.latencyClass||(d.F=!0);var e=dna(a);d.D=2==e||-1==e;d.D&&(d.K++,21530001==IP(a)&&(d.G=b.A("html5_jumbo_ull_nonstreaming_mffa_ms")||NaN));aG()&&(e=b.A("html5_platform_minimum_readahead_seconds")||3,d.C=Math.max(d.C,e));b.A("html5_minimum_readahead_seconds")&&(d.C=b.A("html5_minimum_readahead_seconds"));b.A("html5_maximum_readahead_seconds")&&
(d.H=b.A("html5_maximum_readahead_seconds"));b.o("html5_force_adaptive_readahead")&&(d.B=!0);b.A("html5_allowable_liveness_drift_chunks")&&(d.o=b.A("html5_allowable_liveness_drift_chunks"));b.A("html5_readahead_ratelimit")&&(d.J=b.A("html5_readahead_ratelimit"));switch(IP(a)){case 21530001:d.o=(d.o+1)/5,"LOW"==a.latencyClass&&(d.o*=2),d.L=b.o("html5_live_smoothly_extend_max_seekable_time")}this.o=d;this.B=a;this.K=c;this.C=[];this.D=0;this.F=!0;this.G=1!=this.o.A;this.H=!1;this.J=0;b=isNaN(a.liveChunkReadahead)?
3:a.liveChunkReadahead;a.Zm&&b--;a.isLowLatencyLiveStream&&"NORMAL"!=a.latencyClass||b++;switch(IP(a)){case 21530001:b=1;break;case 2153E4:b=2}this.o.D&&b++;this.A=vT(this,b)};
Ira=function(a,b){var c=a.A;(void 0===b?0:b)&&a.o.L&&3==dna(a.B)&&--c;return wT(a)*c};
yT=function(a,b){var c=xT(a);var d=a.o.o;a.H||(d=Math.max(d-1,0));d*=wT(a);return b>=c-d};
xT=function(a){return Math.max(a.K()-Ira(a,!0),a.B.fc())};
Jra=function(a,b,c){b=yT(a,b);c||b?b&&(a.F=!0):a.F=!1;a.G=2==a.o.A||3==a.o.A&&a.F};
Kra=function(a,b){var c=yT(a,b);a.H!=c&&a.U("livestatusshift",c);a.H=c};
wT=function(a){return a.B.ua?WL(a.B.ua)||5:5};
vT=function(a,b){b=Math.max(Math.max(a.o.K,Math.ceil(a.o.C/wT(a))),b);return Math.min(Math.min(8,Math.floor(a.o.H/wT(a))),b)};
Gra=function(){this.K=1;this.C=0;this.H=Infinity;this.J=0;this.B=!0;this.o=2;this.A=1;this.D=!1;this.G=NaN;this.L=this.F=!1};
AT=function(a,b){g.mH.call(this);var c=this;this.ia=b;var d={};this.ga=(d.seekelementrequired=this.wV,d.seekplayerrequired=this.vV,d.videoformatchange=this.QO,d);this.na("html5_unrewrite_timestamps")&&(this.ga.timestamp=this.HV);this.o=a;this.ma=null;this.ka=new Lra(b);this.ea=new g.jH;g.L(this,this.ea);this.K=this.B=this.F=this.A=null;this.C=NaN;this.H=0;this.G=null;this.V=NaN;this.J=this.L=null;this.ba=this.M=!1;this.sa=new g.V(function(){var e={tgt:c.C};c.F&&g.Oa(e,c.F.Eb());c.A&&g.Oa(e,c.A.Eb());
isFinite(c.C)&&0<c.C&&c.A&&zT(c)&&!c.A.getCurrentTime()&&(c.A.seekTo(c.C-c.D),e.elem="1");var f;if(f=c.F)f=c.F,f=Oqa(f.o)||Oqa(f.B);f||c.U("ctmp","seektimeout",iM(e))},1E4);
g.L(this,this.sa);this.Y=new g.V(function(){c.M=!0;Mra(c)});
g.L(this,this.Y);this.D=0;this.O=!0;this.aa=!1};
Nra=function(a,b){a.ma=b;a.o.Da&&(a.K=new Fra(function(){a:{if(a.ma&&a.ma.Ha.o){if(HP(a.o)&&a.F){var c=a.F.ya.o()||0;break a}if(a.o.ua){c=a.o.ua.H;break a}}c=0}return c}),a.B=new Hra(a.o,a.ia.experiments,function(){return a.Oc(!0)}));
a.o.startSeconds&&isFinite(a.o.startSeconds)&&1E9<a.o.startSeconds||(a.H=a.H||a.o.startSeconds||0)};
DT=function(a,b){g.lH(a.ea);(a.A=b)?Ora(a):BT(a);a.ka.o&&a.A&&CT(a)};
FT=function(a,b){a.F&&oH(a.F,a.ga,a);(a.F=b)?(nH(b,a.ga,a),ET(a,!0)):BT(a)};
GT=function(a){return!!a.B&&a.B.G};
ET=function(a,b){if(a.B&&a.F){var c=!1;if(b)c=!0;else if(a.o.isLowLatencyLiveStream||"LOW"==a.o.latencyClass||"ULTRALOW"==a.o.latencyClass)if(c=a.B,c.C.length){var d=c.A;b:{if(c.C.length){if(1<Math.min.apply(null,c.C)){var e=vT(c,c.A-1);break b}if(c.o.B){e=vT(c,c.A+1);break b}}e=c.A}c.A=e;if(d=d!=c.A)c.C=[],c.D=0;c=d}else c=!1;c&&a.U("livereadaheadchanged",Ira(a.B));c=a.F;d=a.B.A;e=a.B;e=(e.A-1+e.o.o)*wT(e);var f=a.B.o.G;c.Ia=Math.max(d-1,0);c.H&&(c.H.M=e);c.Ab=f}};
HT=function(a){return a.o.Da&&!!a.o.Ha&&!a.o.Ha.o};
Mra=function(a){Pra(a).then(void 0,function(){BT(a)});
Qra(a).then(function(b){a.J&&(a.J.resolve(b),a.U("seekend"));BT(a)},function(){BT(a)});
a.sa.start();a.U("seekstart")};
Pra=function(a){if(!a.L)if(a.F)if(isFinite(a.C))a.L=a.F.seek(a.C-a.D);else{var b=a.F;SS(b);b.H&&cqa(b.H,b.o.A);var c=Math.max(Apa(b.o.C),Apa(b.B.C)),d=b.o;d.G=!0;d.F=-1;sS(d,Infinity);d.C.D=c;d.H=c;d=b.B;d.G=!0;d.F=-1;sS(d,Infinity);d.C.D=c;d.H=c;d=b.F;for(var e in d.o)HI(d.o[e].index,Infinity);b.A.ba&&(b.V=!0,b.Fa=!0);b.D=c;b.M=!0;g.rv(b.ea);b.ma=new PS;a.L=b.ma;a.C=a.F.getCurrentTime()+a.D}else a.L=Fg(a.C-a.D);return a.L};
Qra=function(a){a.G||(a.G=new PS,CT(a));return a.G};
Rra=function(a,b,c){return isNaN(b)?NaN:g.Jd(b,a.fc(),a.Oc(c))};
CT=function(a){if(a.G&&(!a.na("html5_nondash_live_seek_killswitch")&&HT(a)&&a.A&&0<a.A.Be()&&0<BQ(a.A)&&(a.C=Rra(a,a.C,!1)),a.A&&zT(a)&&!isNaN(a.C)&&isFinite(a.C)&&a.V!=a.C-a.D))if(a.aa&&a.A.getCurrentTime()>=a.C)a.G&&a.G.resolve(a.A.getCurrentTime());else if(!a.o.Da&&a.C>=a.Oc()-.1)a.C=a.Oc(),a.G.resolve(a.Oc()),a.U("ended");else try{a.A.seekTo(a.C-a.D),a.V=a.C-a.D,a.H=a.C}catch(b){}};
zT=function(a){if(!a.A||0==a.A.Be()||a.ka.A&&0<a.A.Fb())return!1;var b=0<a.A.getCurrentTime();if(0<=a.C){var c=a.A.Cp();if(c.length||!b)return 0<=lM(c,a.C-a.D)}return b};
BT=function(a){a.C=NaN;a.V=NaN;a.G=null;a.L=null;a.J=null;a.M=!1;a.ba=!1;a.aa=!1;a.sa.stop();a.Y.stop()};
Ora=function(a){if(a.A)for(var b=g.r(["loadedmetadata","progress","seeked","seeking"]),c=b.next();!c.done;c=b.next())a.ea.R(a.A,c.value,function(d){switch(d.type){case "seeking":d=a.A.getCurrentTime()+a.D;if(!a.G||a.ba&&d!=a.C)a.G=new PS,a.V=d,a.seekTo(d,!0),a.ba=!0;break;case "seeked":a.G&&a.G.resolve(a.A.getCurrentTime());break;case "loadedmetadata":if(a.O){d=!1;if((VP(a.o)||a.o.liveUtcStartSeconds)&&(a.o.liveUtcStartSeconds||a.o.startSeconds&&isFinite(a.o.startSeconds)&&1E9<a.o.startSeconds)&&
a.o.ua){d=a.o.liveUtcStartSeconds||a.o.Dh;var e=a.Oc();var f=a.Oc();f=XL(a.o.ua,f-a.D);a.seekTo(e-f+d);d=!0}else a.o.ua&&a.o.ua.A&&a.o.Dh?(a.seekTo(a.o.Dh+a.Qc()),d=!0):a.na("html5_unrewrite_timestamps")&&a.o.Lr&&(a.seekTo(a.o.Lr),d=!0);d&&(a.O=!1)}else d=!1;a.na("html5_nondash_live_seek_killswitch")&&!d&&HT(a)&&(a.C=isFinite(a.C)?g.Jd(a.C,a.fc(),a.Oc()):a.Oc());case "progress":CT(a)}})};
Sra=function(a){if(!a.A)return 0;if(VP(a.o)){var b=hoa(a.A)+a.D-a.fc();a=a.Oc()-a.fc();return Math.max(0,Math.min(1,b/a))}return DQ(a.A)};
Lra=function(a){this.A=!a.experiments.o("html5_element_ready_error_check_killswitch");this.C=a.experiments.o("html5_live_smoothly_extend_max_seekable_time");this.o=!a.experiments.o("html5_check_media_element_on_set_killswitch")};
Tra=function(){var a=IG("visibilityState",document);return!(!a||"visible"==a)};
Vra=function(a){var b=Ura();b&&document.addEventListener(b,a,!1)};
Wra=function(a){var b=Ura();b&&document.removeEventListener(b,a,!1)};
Ura=function(){if(document.visibilityState)var a="visibilitychange";else{if(!document[HG+"VisibilityState"])return"";a=HG+"visibilitychange"}return a};
IT=function(){g.mH.call(this);this.C=0;this.B=this.A=this.o=this.D=!1;this.F=(0,g.A)(this.Gk,this);Vra(this.F);this.G=this.getVisibilityState(this.A,this.isFullscreen(),this.o,this.isInline(),this.B)};
Xra=function(a,b){a.A!=b&&(a.A=b,a.Gk())};
JT=function(a,b){a.B!=b&&(a.B=b,a.Gk())};
KT=function(){g.K.call(this);this.C={};this.o={};this.A=new g.V(this.sV,250,this);g.L(this,this.A)};
LT=function(a,b){if(a.o[b]){var c=a.o[b].buffer;for(var d=[];c.C!=c.o;)c.C=(c.C+1)%c.A.length,d.push(c.A[c.C]);c=d}else c=[];return c};
MT=function(a,b){return a.o[b]?Era(a.o[b].buffer):0};
NT=function(a){this.A=a;this.buffer=new uT(100);this.o=NaN};
OT=function(){this.A=this.o=!1};
QT=function(a,b,c,d,e,f,k){g.mH.call(this);var l=this;this.F=a;this.Aa=new ioa(this.na("html5_min_has_advanced"));this.aa=c;this.jb=d;this.wg=f;this.M=k;c=(0,g.A)(function(m,n){m!=g.nR("endcr")||g.X(this.C,32)||PT(this);e(m,n)},this);
this.L=new NS((0,g.A)(this.getCurrentTime,this),(0,g.A)(this.getPlaybackRate,this),(0,g.A)(this.getPlayerState,this),c,a);g.L(this,this.L);this.H=null;this.Ab=[];this.Y=null;this.V=new sT(a,this.jb);g.L(this,this.V);this.V.subscribe("ctmp",this.xb,this);this.tc=!0;this.J=this.D=null;this.O=[];this.ba=new OT;this.K=this.sa=null;this.ga=new OT;this.Ia=null;this.td=this.Od=this.xg=this.ia=!1;this.Pb=NaN;this.C=new g.HQ;this.Qb=[];this.Wa=b;this.ya=new g.jH;g.L(this,this.ya);this.o=new g.AP(a);this.A=
null;this.ma=new g.V((0,g.A)(this.SR,this),15E3);g.L(this,this.ma);this.B=null;this.rd=this.Fa=!1;this.xa=NaN;this.yc=this.La=this.Oa=!1;this.cd=NaN;this.ea=new KT;g.L(this,this.ea);this.ea.Cb("bufferhealth",function(){var m=l.G;return m.A?CQ(m.A):0});
this.ea.Cb("bandwidth",(0,g.A)(this.KK,this));this.ea.Cb("networkactivity",(0,g.A)(this.RK,this),!0);this.ea.Cb("livelatency",(0,g.A)(this.FB,this));this.ea.Cb("rawlivelatency",(0,g.A)(this.IB,this));this.ea.start();this.sd=!1;this.Zb=!0;this.fd=NaN;this.Nd=!1;this.Sa=1;this.Ra=(0,g.A)(this.CN,this);Vra(this.Ra);this.M.subscribe("visibilitystatechange",this.Ra);this.yg=this.vg=this.kf=0;Yra(this);this.ka=null;this.ae=!1;this.qd=[];this.ed=this.zg=0;this.Ag=!1};
RT=function(a){g.PH()?g.QH(a.xa):g.iF(a.xa)};
XT=function(a,b,c,d){d=void 0===d?!0:d;a.O.length=0;a.sa=null;a.ba.reset();a.ga.reset();a.Fa=!1;a.fd=NaN;a.tc=!0;a.na("html5_clear_play_promise_killswitch")||(a.Ia=null);a.A&&a.A.stopVideo();ST(a);TT(a);UT(a);RT(a);a.ea.clear();g.Gf(a.o);if(2==a.Wa||a.F.Kq)b.FC=!0;var e=a.F.o;var f=a.F.Nb,k;(k=b.mx)||(k=(k=b.By)&&Xb(Zra,k)&&Xb($ra,k)?$ra[k]+"_"+Zra[k]:void 0);if(k){var l=k.match(asa);if(l&&5==l.length){if(l=k.match(asa)){var m=parseInt(l[3],10),n=[7,8,10,5,6];l=!(1==parseInt(l[1],10)&&8==m)&&0<=n.indexOf(m)}else l=
!1;e=e||f||l?k:null}else e=null}else e=null;e&&(b.adFormat=e);2==a.Wa&&(b.hj=!0);if(a.M.isFullscreen()||a.F.o)e=g.BI("yt-player-autonavstate"),b.autonavState=e||(a.F.o?2:a.o.autonavState);a.Zb=d;a.o=b;a.o.subscribe("dataupdated",a.tU,a);a.o.subscribe("dataloaded",a.Pt,a);a.o.subscribe("dataloaderror",a.jn,a);a.o.subscribe("onStatusFail",a.sU,a);bsa(a,b);csa(a,c);a.Oa=!1;VT(a,"newdata");WT(a,new g.HQ);b=a.G;a=a.o;BT(b);b.o=a;b.B=null;b.K=null;b.D=0;b.H=0;b.O=!0};
csa=function(a,b){TT(a);if(!a.o.pl){var c=new Xna(a.o,a.F,b,(0,g.A)(a.getDuration,a),(0,g.A)(a.getCurrentTime,a),(0,g.A)(a.TK,a),(0,g.A)(a.jb.getPlayerSize,a.jb),(0,g.A)(a.getAudioTrack,a),(0,g.A)(a.getPlaybackRate,a),(0,g.A)(a.Bu,a),a.wg,(0,g.A)(a.lL,a),function(){(0,g.LP)("qoes",void 0,"")});
a.B=new dR(c)}};
TT=function(a){if(a.B){var b=a.B;if(!b.la()&&b.D){b.F="paused";var c=qoa(b);c.isFinal=!0;c.send();c=b.A;"PL"==c.C&&(c.C="N");var d=g.zQ(c.o);g.TQ(c,d,"vps",[c.C]);c.D(d);g.iF(b.B);b.dispose()}g.Gf(a.B);a.B=null}};
ZT=function(a){return a.A&&a.A.Oh()?a.A.ra():null};
aU=function(a){if(a.o.isValid())return!0;g.$T(a,"api.invalidparam",void 0,"invalidVideodata.1");return!1};
dU=function(a,b){a.ia=void 0===b?!1:b;if(!aU(a)||a.ba.o)bU(a)&&a.ba.o&&!a.ba.isFinished()&&!a.ia&&a.Pt();else{a.ba.start();if(a.B){var c=a.B.A;g.zQ(c.o);c.o.videoData.Nn&&YQ(c,c.o.videoData.Nn);c.o.videoData.Pk?YQ(c,"prefetch"):(c.A.user_intent=["0"],c.H=!0);c.o.videoData.qg&&(VQ(c,"reload",c.o.videoData.reloadReason),VQ(c,"reloadcount",c.o.videoData.qg.toString()));c.o.videoData.Zm&&YQ(c,"monitor");c.o.videoData.Da&&YQ(c,"live");c.o.videoData.Af&&VQ(c,"ctrl",c.o.videoData.Af,!0);c.o.videoData.Bf&&
VQ(c,"ytp",c.o.videoData.Bf,!0);if(c.o.videoData.EF){var d=c.o.videoData.EF.replace(/,/g,".");VQ(c,"ytrexp",d,!0)}c.o.videoData.chapterMarkers.length&&YQ(c,"chaptermarkers");if(!c.o.o.experiments.o("html5_disable_gpu_reporting")){var e=c.o.o.experiments;d=c.o.videoData;e=e.o("enable_white_noise")||e.o("enable_webgl_noop")||e.o("enable_gpu_logging");var f=d.Li()||d.Qg()||d.Rg()||d.Uf(),k=d.Ha&&"1"==g.Ra(d.Ha.videoInfos).A&&/^g/.test(d.clientPlaybackNonce);d=/^gp/.test(d.clientPlaybackNonce);(e||f||
d||k)&&(d=(0,g.cU)())&&(c.A.gpu=[d])}c.ba=g.hF((0,g.A)(c.D,c),1E4)}a.Pt()}};
bU=function(a){return a.F.experiments.o("tvhtml5_disable_live_prefetch")&&g.$N(a.F)&&a.o.Da};
dsa=function(a){g.X(a.C,128)||(a.o.Mb(),a.Zb=!0,4!=a.Wa&&(a.O=g.ib(a.o.Mc)),mna(a.o)?(eU(a).then(function(){a.la()||(a.ia&&fU(a),bsa(a,a.o),a.ba.A=!0,VT(a,"dataloaded"),a.ga.o?gU(a):a.ia&&WT(a,KQ(KQ(a.C,512),1)),Dra(a.V,a.K))}),a.xb("loudness",""+a.o.lj.toFixed(3),!0),a.o.Dh&&a.xb("startSeconds",""+a.o.Dh)):VT(a,"dataloaded"))};
eU=function(a){UT(a);a.na("html5_playVideo_async_killswitch")||(a.K=null);var b=tra(a.F,a.o,a.M.A);a.sa=b;a.sa.then((0,g.A)(a.MS,a),(0,g.A)(a.NS,a));return b};
hU=function(a){a.A&&a.A.If();dU(a);aU(a)&&!g.X(a.C,128)&&(a.ga.o||(a.ga.start(),WT(a,KQ(KQ(a.C,8),1))),gU(a))};
gU=function(a){if(!a.ga.isFinished()&&a.ba.isFinished()&&!g.X(a.C,128)&&!a.O.length){if(!a.L.D){var b=a.L;b.D=!0;b.A()}if(!iU(a)){a.D&&(b=a.D.ia,a.xg=!!b.o&&!!b.B);a.ga.isFinished()||(a.ga.A=!0);!a.o.Da||0<a.o.Dh&&!HP(a.o)||(a.seekTo(Infinity,!0),jU(a,"readying"),a.M.isBackground()&&(a.rd=!0));if(a.B&&(b=a.B,b.o.videoData.im&&b.o.videoData.hp&&(b.yr("connected"),toa(b)),b.o.videoData.Da)){b=b.A;var c=b.o.videoData.ua;HP(b.o.videoData)&&YQ(b,"manifestless");c&&WL(c)&&YQ(b,"live-segment-"+WL(c).toFixed(1))}a.U("playbackready",
a);wP("pbr","")||((0,g.LP)("pbr",void 0,""),xP("pbr"))}}};
PT=function(a,b,c){b=void 0===b?!0:b;(void 0===c||c)&&a.A&&a.A.pause();b=b?new g.HQ(14):new g.HQ;WT(a,b)};
bsa=function(a,b){if(b.endSeconds&&b.endSeconds>b.startSeconds){var c=b.endSeconds;a.Y&&(a.removeCueRange(a.Y),a.Y=null);a.Y=new g.lR(1E3*c,0x7ffffffffffff);a.Y.namespace="endcr";a.addCueRange(a.Y)}};
lU=function(a,b,c,d){a.o.Ca=c;d&&esa(a,b,d);if(a.B){var e=g.kU(a);d=a.B.A;e=new Rna(a.o,c,b,e?PJ(e):"");c=g.zQ(d.o);g.TQ(d,c,"vfs",[e.o.id,e.A,d.ma,e.reason]);d.ma=e.o.id;e=d.o.H();if(0<e.width&&0<e.height){e=[Math.round(e.width),Math.round(e.height)];var f=g.jO();1<f&&e.push(f);g.TQ(d,c,"view",e)}!d.O&&d.o.videoData.Gh&&YQ(d,"rqs");d.O=!0;g.TQ(d,c,"vps",[d.C]);d.D(c)}d=a.V;d.C=0;d.A=0;a.U("internalvideoformatchange",a.o,"m"==b)};
g.kU=function(a){var b=mU(a);return WM(b)||!a.K?null:g.Ua(a.K.Ha.videoInfos,(0,g.A)(b.B,b))};
esa=function(a,b,c){if(c!=a.o.Ec){var d=!a.o.Ec;a.o.Ec=c;"m"!=b&&(b=d?"i":"a");if(a.B){var e=a.B.A;c=new Rna(a.o,c,b,"");var f=g.zQ(e.o);c.o.id!=e.M&&(g.TQ(e,f,"afs",[c.o.id,e.M,c.reason]),e.M=c.o.id)}d||a.U("internalaudioformatchange",a.o,"m"==b)}};
g.$T=function(a,b,c,d,e){var f,k;g.Yb(fsa,c)?f=c:c?k=c:f="GENERIC_WITHOUT_LINK";b={errorCode:b,errorDetail:d,message:k||g.nU[f]||"",messageKey:f,subreason:e||""};VT(a,"dataloaderror");WT(a,JQ(a.C,128,b));RT(a);UT(a);g.oU(a)};
gsa=function(a,b){a.O=a.O.filter(function(c){return b!=c});
a.ga.o&&gU(a)};
iU=function(a){var b;(b=!!a.O.length)||(a=a.L.o.o[0],b=!!a&&-0x8000000000000>=a.start);return b};
pU=function(a){return!!a.A&&a.A.isView()};
rU=function(a,b){if(a.A&&b.ra()==a.A.ra()&&(b.isView()||a.A.isView())){if(b.isView()||!a.A.isView())g.lH(a.ya),a.A=b,hsa(a),DT(a.G,a.A)}else{a.A&&qU(a);if(!a.C.isError()){var c=LQ(a.C,512);g.X(c,8)&&!g.X(c,2)&&(c=KQ(c,1));WT(a,c)}a.A=b;a.A.setLoop(a.Nd);a.A.setPlaybackRate(a.Sa);hsa(a);isa(a);DT(a.G,a.A)}};
isa=function(a){if(a.F.experiments.o("html5_prewarm_mse")&&OM()&&yM()&&a.A)try{a.A.Wq()}catch(b){}};
qU=function(a,b){b=void 0===b?!1:b;if(a.A){var c=a.getCurrentTime();0<c&&(a.G.H=c);DT(a.G,null);sU(a);a.D&&(g.rv(a.D.ea),tU(a,!1));a.ma.stop();if(a.A){!a.ga.o||a.C.isError()||g.X(a.C,2)||WT(a,KQ(a.C,512));g.lH(a.ya);if(b||!a.A.isView())a.A.stopVideo(),ST(a);a.A=null}}};
jsa=function(a){if(!a.K)return[];var b=vra(a.V,a.K,uU(a,!0));b=b||XM;a=(0,g.re)(a.K.Ha.videoInfos,(0,g.A)(b.B,b));b=[];for(var c={},d=0;d<a.length;d++){var e=a[d].za();c[e.quality]||(b.push(e),c[e.quality]=!0)}return b};
mU=function(a){if(a.K){var b=a.V;var c=a.K,d=uU(a);a=a.M.isBackground();var e=VM("auto",dN(),!1,"s"),f=b.o.experiments.o("html5_break_sticky")&&/^i/.test(c.videoData.clientPlaybackNonce);if(WM(e)||f){e=YM(ura(b,c),wra(b,c));f=0;!b.o.A||g.TN(b.o)||jG()||b.o.experiments.o("mweb_uniplayer_auto_quality")||b.o.experiments.o("hls_for_vod")||(f=g.TK.medium);var k=b.o.experiments.A("html5_default_quality_cap");if(k){var l=!!c.Ha.o&&!c.videoData.Af,m=b.o.experiments.A("html5_quality_cap_min_age_secs");l&&
m&&(l=b.o.schedule.H,l=g.GH()-l>1E3*m);l&&(f=f?Math.min(f,k):k)}if(m=k=b.o.experiments.A("html5_hfr_quality_cap"))a:{m=c.Ha;if(m.o)for(m=g.r(m.videoInfos),l=m.next();!l.done;l=m.next())if(32<l.value.za().fps){m=!0;break a}m=!1}m&&(f=f?Math.min(f,k):k);b.o.experiments.A("tvhtml5_yongle_quality_cap");f=new TM(0,f,!1,"d");e=YM(e,f);f=b.o.experiments.A("html5_background_quality_cap");k=b.o.experiments.A("html5_background_cap_idle_secs");a=!f||"auto"!=dN()||WH()/1E3<k?XM:a?new TM(0,f,!1,"v"):XM;a=YM(e,
a);e=(e=b.o.experiments.A("html5_autonav_quality_cap"))&&c.videoData.pk?new TM(0,e,!1,"e"):XM;a=YM(YM(YM(a,e),Cra(b,c)),c.videoData.ZG);e=new TM(0,0,!1,"o");1<b.F&&(e=new TM(0,480,!0,"o"));e=YM(a,e)}b.o.experiments.o("html5_ignore_sticky_for_medcap")&&(e=YM(e,wra(b,c)));b=YM(YM(YM(c.videoData.Zr,e),c.videoData.Et),d)}else b=XM;return b};
uU=function(a,b){if(a.H){var c=a.H;var d=void 0===b?!1:b;d=void 0===d?!1:d;c=!c.C.experiments.o("html5_drm_entitled_qualitycap_on_edge_killswitch")&&d&&c.M?c.M:c.H}else c=a.o,c=c.Ha&&c.Ha.videoInfos.length&&a.o.ua&&HL(a.o.ua)?a.F.experiments.o("html5_drm_start_from_null_constraint")?XM:nra:XM;return c};
wU=function(a){if(!a.la()&&!g.X(a.C,128)&&a.o.Ha){if(a.o.Ha.o)vU(a);else{var b=mU(a),c=a.o;a:{var d=a.o.zf;if(b.o){for(var e=g.r(d),f=e.next();!f.done;f=e.next()){f=f.value;var k=f.Pf(),l=g.TK[k.za().quality];if((!b.C||"auto"!=k.za().quality)&&l<=b.o){d=f;break a}}d=d[d.length-1]}else d=d[0]}c.Xd=d;lU(a,b.reason,a.o.Xd.Pf())}a.C.sb()&&(a.na("html5_disable_ss_killswitch")||(a.G.O=!1),a.playVideo())}};
vU=function(a){if(a.o.Ha&&a.o.Ha.o){var b=mU(a),c=a.o.Ca;if(c&&"1"==c.A&&!lN()){var d=hN(c.A,c.za().fps);if(d&&d<c.za().o){eU(a);return}}if(a.D&&(a=a.D,!a.la()&&!UM(a.G.B,b)&&a.o)){var e=a.G.B;yqa(a,Upa(a.G,b));RS(a);c=JS(a.G)&&"m"==b.reason&&a.G.K;d=a.A.Ml&&"l"==b.reason&&wS(a.o);e="b"==b.reason&&e.o>b.o;b="o"==b.reason;c||d||e||b?a.U("reattachrequired"):(xS(a.o)&&wqa(a,a.o,a.B),g.rv(a.ea))}}};
xU=function(a){a.na("html5_nonblocking_media_capabilities")?vU(a):wU(a)};
g.yU=function(a){sla(a.o.ua,{cpn:a.o.clientPlaybackNonce,c:a.F.deviceParams.c,cver:a.F.deviceParams.cver});var b=a.F,c=a.o,d=new g.eK;d.Lz=b.experiments.o("html5_seek_accuracy_allowance_killswitch");d.xB=b.experiments.o("html5_unrewrite_timestamps");b.experiments.o("html5_streaming_xhr")&&(d.B=!0);b.experiments.o("html5_streaming_debug")&&(d.B=!0,d.J=!0);b.experiments.A("html5_max_av_sync_drift")&&(d.rs=b.experiments.A("html5_max_av_sync_drift"));var e=b.schedule;e.o.o()==e.policy.C&&(d.yc=10);b.experiments.A("html5_min_secs_between_format_selections")&&
(d.Wy=b.experiments.A("html5_min_secs_between_format_selections"));d.jb=b.experiments.o("html5_stop_overlapping_requests");d.ya=b.experiments.A("html5_min_readbehind_secs");d.Ty=b.experiments.A("html5_min_readbehind_cap_secs");g.$N(b)&&(d.ya=b.experiments.A("tvhtml5_min_readbehind_secs"));d.Jl=b.experiments.o("html5_append_init_while_paused");d.qd=b.experiments.A("html5_max_readahead_bandwidth_cap");d.Y=b.experiments.o("html5_disable_audio_append_cap");d.Nl=b.experiments.o("html5_disable_non_contiguous");
d.kf=b.experiments.A("html5_post_interrupt_readahead");d.fd=b.experiments.o("html5_log_quota_exceeded");d.M=b.experiments.A("html5_subsegment_readahead_target_buffer_health_secs");d.Qb=b.experiments.A("html5_subsegment_readahead_timeout_secs");d.Tz=b.experiments.A("html5_subsegment_readahead_min_buffer_health_secs");d.Pb=b.experiments.A("html5_subsegment_readahead_min_buffer_health_secs_on_timeout");d.Wz=b.experiments.A("html5_subsegment_readahead_min_load_speed");d.Aj=b.experiments.A("html5_subsegment_readahead_load_speed_check_interval");
d.UA=b.experiments.A("html5_subsegment_readahead_seek_latency_fudge");d.Ab=b.experiments.o("html5_streaming_xhr_optimize_lengthless_mp4");d.Fa=b.experiments.o("html5_peak_shave");d.hz=b.experiments.o("html5_peak_shave_always_include_sd");d.Az=b.experiments.o("html5_restrict_streaming_xhr_on_sqless_requests");d.ts=b.experiments.A("html5_max_headm_for_streaming_xhr");d.iz=b.experiments.o("html5_pipeline_manifestless_allow_nonstreaming");d.lz=b.experiments.o("html5_prefer_server_bwe3");d.Dj=1024*b.experiments.A("html5_video_tbd_min_kb");
d.mz=b.experiments.o("html5_probe_live_using_range");d.Qz=b.experiments.o("html5_streaming_xhr_buffer_mdat");d.Ag=b.experiments.o("html5_streaming_xhr_no_mp4_holdback_chunk");d.gr=b.experiments.o("html5_last_slice_transition");d.Ol=b.experiments.o("html5_disable_incomplete_incremental_parse_error");d.Oz=b.experiments.o("html5_store_xhr_headers_readable");d.bq=b.experiments.A("html5_incremental_parser_buffer_duration_secs");d.Kq=b.experiments.A("html5_incremental_parser_buffer_extra_bytes");d.Rz=b.experiments.o("html5_streaming_xhr_progress_includes_latest");
d.Np=b.experiments.o("html5_enable_packet_train_response_rate");if(e=b.experiments.A("html5_probe_secondary_during_timeout_miss_count"))d.vg=e,d.mB=1;d.La=b.experiments.A("html5_probe_primary_delay_base_ms")||d.La;b.experiments.o("html5_drm_start_from_null_constraint")&&(d.Ml=!0);d.td=b.experiments.o("html5_no_placeholder_rollbacks");d.Sz=b.experiments.o("html5_subsegment_readahead_enable_mffa");d.Ia=b.experiments.o("html5_platform_whitelisted_for_frame_accurate_seeks");d.wg=b.experiments.o("html5_reattach_on_stuck");
d.HC=b.experiments.o("html5_webm_init_skipping");d.Il=b.experiments.o("html5_adaptation_fix");d.Sa=b.experiments.A("html5_request_size_padding_secs")||d.Sa;d.Ll=b.experiments.o("html5_clamp_with_padding");d.Rr=b.experiments.o("html5_log_timestamp_offset");d.ea=b.experiments.o("html5_playbackmanager_enable_notify_new_drm_info");d.Do=b.experiments.o("html5_disable_new_live_flags");d.tc=b.experiments.A("html5_dynamic_readahead_growth_rate")||d.tc;d.Ao=b.experiments.o("html5_disable_incremental_traf_timescale");
d.tp=!b.experiments.o("html5_loader_logging_wrongful_set_current_emsg_killswitch");d.Ry=b.experiments.o("html5_loader_logging_mediastream_warning_killswitch");d.xg=b.experiments.o("html5_remove_fpa_sei_mediastream");d.Bo=b.experiments.o("html5_disable_manifestless_sqless_sync");d.np=b.experiments.o("html5_gapless_audio");d.Y=b.experiments.o("html5_no_audio_append_cap");d.Zb=b.experiments.o("html5_abs_buffer_health");d.fr=b.experiments.o("html5_interruption_resets_seeked_time");d.Od=b.experiments.A("html5_max_live_dvr_window_plus_margin_secs")||
d.Od;d.Bj=b.experiments.o("html5_use_streaming_xhr_abort_support");d.vr=b.experiments.o("html5_limit_adaptation_requests");d.cd=b.experiments.o("html5_explicitly_dispose_xhr");hG()&&(d.zg=!0);aG()&&(d.C=240);g.Rh&&(d.O=41943040);d.ga=!yM();g.$N(b)||!yM()?(e=b.experiments,d.F=8388608,d.H=524288,d.Kl=5,d.ma=2097152,d.aa=1048576,d.wz=1.5,d.Ra=15,d.dz=!1,d.K=4587520,eG()&&(d.K=786432),d.A*=1.1,d.D*=1.1,d.Oa=!0,d.O=d.F,d.sa=d.H,d.ae=e.o("persist_disable_player_preload_on_tv")||e.o("persist_disable_player_preload_on_tv_for_living_room")||
!1):b.A&&(d.A*=1.3,d.D*=1.3);g.aM&&$F("crkey")&&(e="CHROMECAST/ANCHOVY"==b.deviceParams.cmodel,d.F=20971520,d.H=1572864,e&&(d.K=812500,d.L=1E3,d.bC=5,d.aa=2097152));!b.experiments.o("html5_disable_firefox_init_skipping")&&g.EM&&(d.Oa=!0);d.sd=!b.experiments.o("disable_fpa_sei_removal")&&$F("windows nt")&&(c.Li()||c.Uf());if(HP(c)){d.Zp=!0;d.Iz=!1;d.Wa=b.experiments.o("html5_shrink_live_timestamps");d.ba=d.Wa||b.experiments.o("html5_manifestless_synchronized");if("ULTRALOW"==c.latencyClass||"LOW"==
c.latencyClass&&!b.experiments.o("html5_disable_low_pipeline"))d.os=2,d.KH=4;d.o=c.hasSubfragmentedFmp4;d.V=c.defraggedFromSubfragments}c.isAd()&&(d.xa=0,d.ed=0);bna(c)&&(d.J=!0);cna(c)&&(d.J=!0,d.B=!0);d.ha=b.experiments.o("html5_enable_subsegment_readahead_v3")||b.experiments.o("html5_ultra_low_latency_subsegment_readahead")&&"ULTRALOW"==c.latencyClass;d.ds=HP(c);d.ia=c.Gh;d.Or=d.ia&&(/^rq[a-f]/.test(c.clientPlaybackNonce)||MP(c));/^pp/.test(c.clientPlaybackNonce)&&(d.ZM=!0,d.uz=!0);nG()&&/(K\d{3}|KS\d{3}|KU\d{3})/.test(b.deviceParams.cmodel)&&
!b.experiments.o("html5_disable_move_pssh_to_moov")&&HL(c.ua)&&(d.Oa=!1);HL(c.ua)&&(d.wg=!1);if(c.Da){e=WL(c.ua);var f=b.experiments.A("html5_live_abr_head_miss_fraction"),k=b.experiments.A("html5_live_abr_repredict_fraction");f&&e&&(d.Nd=Math.min(e*f,d.Nd));k&&e&&(d.L=Math.min(1E3*e*k,d.L))}f=0;b.experiments.o("html5_live_use_alternate_bandwidth_window_sizes")&&(f=b.schedule.policy.o,c.Da&&(f=b.experiments.A("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.D=HP(c)?.5:0;if(!e.policy.A&&f&&(e=e.o,f=Math.round(f*e.L),f!=e.C)){k=Array(f);var l=Math.min(f,e.F?e.C:e.B),m=e.B-l;0>m&&(m+=e.C);for(var n=0;n<l;++n)k[n]=e.D[(m+n)%e.C];for(;n<f;++n)k[n]=Infinity;e.C=f;e.D=k;e.B=l%f;e.F=l==f;e.H=!0;e.K=nN(e)}d.Aa=b.experiments.o("html5_disable_new_live_flags")?c.ua.C:c.Da;switch(IP(c)){case 21530001:d.Yy=b.experiments.o("html5_live_smoothly_extend_max_seekable_time");
d.Ab=!0;d.ha=!0;"LOW"==c.latencyClass?d.M=b.experiments.A("html5_jumbo_mobile_subsegment_readahead_target"):"ULTRALOW"==c.latencyClass&&(d.M=b.experiments.A("html5_jumbo_ull_subsegment_readahead_target"));d.td=!0;break;case 2153E4:d.Ab=!0,d.ha=!1}d.Nk=c.Nk;d.Mz=c.bn;MP(c)&&(d.ka=!0,d.fd=!0);c.bn&&!HL(c.ua)&&g.cG()&&b.experiments.o("html5_hack_gapless_init")&&(d.yg=!0);c.na("mweb_hoffline")&&c.adaptiveFormats&&c.hu&&c.ib.Nb&&(d.G=c.videoId,d.Y=!0,d.Zb=!0);c=b.experiments.A("html5_deadzone_multiplier")||
1;(e=b.experiments.A("html5_sticky_reduces_discount_by"))&&"auto"!=dN()&&(c-=e);d.A*=c;d.D*=c;if(c=b.experiments.A("html5_request_sizing_multiplier"))d.yz=c;d.C=b.experiments.A("html5_max_buffer_duration")||d.C;d.rd=b.experiments.A("html5_min_upgrade_health")||d.rd;CM(b.G,IM)&&(d.K=NaN);d.Ra=b.experiments.A("html5_request_size_max_secs")||d.Ra;d.Co=b.experiments.o("killswitch_metadata_events");"auto"!=dN()&&(d.Cj=0);d.nz=b.experiments.o("html5_rec_2020_matrix_correction_killswitch");c=d.Aa&&!b.experiments.o("html5_pause_appends_killswitch");
d.Aa=c||b.experiments.o("html5_never_pause_appends");b.experiments.o("html5_disable_double_appends")&&(d.Oo=!1);a.D=new QS(a.F.schedule,d,a.o.ua,a.o.Ha,a.L);a.D.subscribe("initsegment",a.HR,a);a.D.subscribe("newDrmInfo",a.wS,a);a.D.subscribe("videoformatchange",a.AN,a);a.D.subscribe("audioformatchange",a.VR,a);a.D.subscribe("error",a.jn,a);a.D.subscribe("ctmp",a.xb,a);a.D.subscribe("reattachrequired",a.oV,a);a.D.subscribe("metadata",a.JE,a);a.D.subscribe("constraint",a.qU,a);a.D.subscribe("timestamp",
a.kN,a);b=ksa(a)?!0:g.Ya(a.O,"spacecast")||a.ia&&!a.F.experiments.o("html5_preload_media")||a.ia&&bU(a);d=a.getAudioTrack();d=d.Ob.isDefault?void 0:d;c=a.na("html5_stop_start_seconds")?a.getCurrentTime():a.o.startSeconds;a.D.initialize(c,mU(a),b,d);a.o.probeUrl&&(a.D.sa=a.o.probeUrl);(a.O.length||a.ia)&&tU(a,!1);FT(a.G,a.D);a.Ab=[]};
Yra=function(a){a.G=new AT(a.o,a.F);a.G.subscribe("seekto",function(b,c){a.na("html5_stop_start_seconds")?a.G.H=b:a.o.startSeconds=b;var d=a.Aa;d.o=b;d.A=!0;c||lsa(a);a.Y&&b>a.o.endSeconds&&isFinite(b)&&(a.removeCueRange(a.Y),a.Y=null);b<zU(a)-.01&&WT(a,LQ(a.C,2));a.U("seekto",a,b)});
a.G.subscribe("seekstart",function(){return msa(a)});
a.G.subscribe("seekend",function(){return a.U("seekcomplete")});
a.G.subscribe("ended",function(){return PT(a)});
a.G.subscribe("pausemediaelement",function(){return a.pauseVideo(!0)});
a.G.subscribe("resumemediaelement",function(){g.X(a.C,8)&&a.Tq()});
a.G.subscribe("ctmp",a.xb,a);a.G.subscribe("livereadaheadchanged",function(b){var c;if(c=a.B)c=a.B.A,g.TQ(c,g.zQ(c.o),"lra",[b]),VQ(c,"live-readahead-seconds",b.toString()),c=void 0;return c})};
UT=function(a){a.D&&(a.D.dispose(),a.D=null,FT(a.G,null));sU(a)};
sU=function(a){a.J&&(a.na("html5_release_mse_from_loader_killswitch")||a.D&&TS(a.D),a.J.dispose(),a.J=null)};
AU=function(a){if(a.J)return a.J.gn;a.na("html5_disable_loader_reorder")&&nsa(a);osa(a);return a.J?a.J.gn:null};
osa=function(a){if(a.na("html5_application_media_source"))a.U("requestmediasource",a);else{try{var b=a.A.qq()}catch(c){if(BU(a,"html5.missingapi",{updateMs:"1"}))return;g.$E(c,"WARNING");c.message="window.URL object overwritten by external code";window.setTimeout(function(){throw c;},0);
g.$T(a,"html5.missingapi","HTML5_NO_AVAILABLE_FORMATS_FALLBACK","updateMs.1")}CU(a,b)}};
CU=function(a,b){a.na("html5_disable_loader_reorder")||nsa(a);a.J=b;wla(a.J,function(c){try{if(a.J&&(!c||a.J==c))if(a.td)a.Od=!0;else{var d=a.getDuration();!d&&HP(a.o)&&(d=3600);a.J.isView()?a.na("html5_gapless_set_mse_duration_killswitch")||(c=d,c>a.J.getDuration()&&wM(a.J,c)):wM(a.J,d);g.uqa(a.D,a.J);a.U("mediasourceattached")}}catch(e){g.$E(e,"WARNING"),a.jn(new hM("fmt.unplayable",!0,{msi:"1",ename:e.name}))}})};
nsa=function(a){a.D?a.D.seek(a.getCurrentTime()):g.yU(a)};
psa=function(a){return 403==a.details.rc?(a=a.errorCode,"net.badstatus"==a||"manifest.net.retryexhausted"==a):!1};
qsa=function(a){return a.La||"yt"!=a.F.ba?!1:a.o.Me?10>a.o.qg:!a.o.qg};
DU=function(a){a.La||(a.La=!0,a.U("signatureexpired"))};
rsa=function(a){return"net.retryexhausted"==a.errorCode||"net.badstatus"==a.errorCode&&!!a.details.fmt_unav};
ssa=function(a,b){if(a.A&&("fmt.unplayable"==b.errorCode||"html5.invalidstate"==b.errorCode)){var c=a.A.Fb();b.details.merr=c?c.toString():"0";b.details.msg=a.A.mn()}};
BU=function(a,b,c){if(a.fd+3E4>(0,g.H)()){if(a.na("html5_exile_broken_instances")&&!a.o.Me&&(a.F.ea+=1,10<a.F.ea)){c.exiled=""+a.F.ea;if(a.B)a.B.onError("qoe.start15s",iM(c));a.U("playbackstalledatstart");return!0}return!1}a.fd=(0,g.H)();var d=a.o;d=d.Xd?d.Xd.BB()<Date.now()/1E3+1800:!1;a.B&&(c.e=b,a.J&&(c.msopened=""+ +!!a.J.o),d&&(c.staleprog="1"),a.B.onError("qoe.restart",iM(c)));if(d&&qsa(a))return DU(a),!0;$F("philips")&&tsa(a);b=!1;(c=a.o.Ca)&&"1"==c.A?(gN(c.A,c.za().fps,1),b=!0):a.D?(c=a.D,
c.o&&(d=(d=c.o.D||c.o.o)?d.o:c.o.A,d.L+=1,HS(c.G,d))):a.na("html5_progressive_fallback")&&a.o.Xd&&a.o.Xd.Dx();usa(a,b);return!0};
usa=function(a,b){b=void 0===b?!1:b;xa(function(c){if(1==c.o)return(!a.na("html5_reuse_loader")||a.D&&a.D.la())&&UT(a),a.U("newelementrequired"),b?c=ua(c,eU(a),2):(c.o=2,c=void 0),c;g.X(a.C,8)&&a.playVideo();c.o=0})};
tsa=function(a){if("GAME_CONSOLE"!=a.F.deviceParams.cplatform)try{window.close()}catch(b){}};
g.oU=function(a,b){b=void 0===b?!1:b;a.A&&(a.A.stopVideo(),ST(a),UT(a),isa(a),g.X(a.C,128)||(b?WT(a,MQ(a.C,4,8)):WT(a,JQ(a.C))),a.F.J.remove(a.o.videoId))};
lsa=function(a){g.X(a.C,32)||(WT(a,KQ(a.C,32)),g.X(a.C,8)&&a.pauseVideo(!0),a.U("beginseeking",a));EU(a)};
msa=function(a){g.X(a.C,32)?(WT(a,MQ(a.C,16,32)),a.U("endseeking",a)):a.na("html5_sync_seeking_state")&&!g.X(a.C,2)&&WT(a,KQ(a.C,16))};
FU=function(a){if(a.o.ua)return XL(a.o.ua,a.getCurrentTime()-a.Qc());if((!a.na("html5_disable_limit_ingestion_tvos")||dG())&&a.A){var b=a.A.uq();if(b&&(b=b.getTime(),!isNaN(b)))return b/1E3+a.getCurrentTime()}return NaN};
VT=function(a,b){a.U("internalvideodatachange",void 0===b?"dataupdated":b,a,a.o)};
hsa=function(a){(0,g.C)("loadstart loadeddata loadedmetadata play playing progress pause ended suspend seeking seeked timeupdate durationchange ratechange error waiting resize".split(" "),function(b){this.ya.R(this.A,b,this.BN,this)},a);
a.F.Il&&a.A.Oh()&&(a.ya.R(a.A,"webkitplaybacktargetavailabilitychanged",a.kQ,a),a.ya.R(a.A,"webkitcurrentplaybacktargetiswirelesschanged",a.lQ,a))};
wsa=function(a){window.clearInterval(a.Pb);a.ma.stop();a.o.Me=!0;a.F.Me=!0;a.F.ea=0;vsa(a);g.X(a.C,8)&&WT(a,LQ(a.C,65));if(a.B){var b=a.B;if(!b.D){b.o.o.experiments.o("disable_embedpage_playback_logging")||16623!=b.o.videoData.ur||g.bF(Error("Playback for EmbedPage"));var c=fR(b,"playback");b.J=[10+b.o.videoData.mk,10,10,40+b.o.videoData.fn-b.o.videoData.mk,40];var d=b.C;window.clearInterval(d.G);d.G=NaN;d.G=g.hF((0,g.A)(d.update,d),100);d.F=g.zQ(d.A);d.B=xQ(d.A);c.A=eR(b,!0);c.send();b.o.videoData.Ln&&
(c=b.o.o,d=b.o.videoData,d={html5:"1",video_id:d.videoId,cpn:d.clientPlaybackNonce,ei:d.eventId,ptk:d.Ln,oid:d.qF,ptchn:d.pF,pltype:d.rF,content_v:XP(d)},c=g.rh(c.D+"ptracking",d),gR(b,c));b.o.videoData.im&&(b.yr("playback"),b.B||toa(b));b.o.videoData.nf||soa(b);b.D=!0;b=b.C;b.o=b.A.A();b.F=g.zQ(b.A);!(0==b.C&&5>b.o)&&2<b.o-b.C&&(b.C=b.o);b.J=!0}g.gF((0,g.A)(a.Ex,a),4500)}a.U("playbackstarted");g.PH()&&((a=g.y("yt.scheduler.instance.clearPriorityThreshold"))?a():RH(0))};
vsa=function(a){var b=a.getCurrentTime(),c=a.o;!wP("pbs","")&&sP.measure&&sP.getEntriesByName&&(sP.getEntriesByName("mark_nr")[0]?Jma("mark_nr"):Jma());c.videoId&&a.aa.info("docid",c.videoId);c.eventId&&a.aa.info("ei",c.eventId);c.clientPlaybackNonce&&a.aa.info("cpn",c.clientPlaybackNonce);0<c.startSeconds&&a.aa.info("start",c.startSeconds.toString());a.A&&a.A.Yi()&&a.aa.info("paused",1);c.Ca?a.aa.info("fmt",PJ(c.Ca)):a.aa.info("fmt","-1");c.Pk&&a.aa.info("yt_pre",a.xg?"2":"1");a.M.isFullscreen()&&
a.aa.info("yt_fs","1");a.aa.info("cmt",b.toFixed(3));if(a.D){a=a.D.ia;window&&window.performance&&window.performance.getEntriesByName&&(b=window.performance.getEntriesByName(a.B),b.length&&(b=b[0],a.nd("vri",b.fetchStart),a.nd("vdns",b.domainLookupEnd),a.nd("vreq",b.requestStart),a.nd("fvb",b.responseStart),a.nd("vrc",b.responseEnd)),b=window.performance.getEntriesByName(a.o),b.length&&(b=b[0],a.nd("ari",b.fetchStart),a.nd("adns",b.domainLookupEnd),a.nd("areq",b.requestStart),a.nd("avb",b.responseStart),
a.nd("arc",b.responseEnd)));a=a.D;for(var d in a)(0,g.LP)(d,a[d],"")}};
EU=function(a,b){b=void 0===b?!1:b;if(a.A&&a.o){var c=a.G,d=a.C.sb(),e=c.getCurrentTime(),f=c.isAtLiveHead(e);if(c.K&&f){var k=c.K;if(k.o&&!(e>=k.A&&e<k.C)){var l=k.o.Rf(e);-1!=l&&(k.A=k.o.kd(l),k.C=k.A+k.o.getDuration(l),l=(0,g.H)()/1E3-k.o.jw(l),l-=k.D(),k.B.add(l))}}c.B&&(f&&(f=c.B,k=c.A?CQ(c.A):0,f.D++,3>f.D||(0,g.H)()-f.J<f.o.J||(f.J=(0,g.H)(),f.C.push(k),50<f.C.length&&f.C.shift())),f=c.B,Jra(f,e,void 0===d?!0:d),Kra(f,e),d&&(d=c.B,!yT(d,e)&&d.G?(d.o.F&&(d.o.o=Math.max(d.o.o+1,10)),e=Infinity):
e=e<d.B.fc()?Math.min(d.B.fc()+10,xT(d)):NaN,isNaN(e)||c.seekTo(e,!0)));c=a.getCurrentTime();!a.D||g.X(a.C,4)&&g.UP(a.o)||(e=a.D,d=c,e.C&&e.C.A&&(d-=!isNaN(e.Y)&&e.A.xB?e.Y:0,e.D!=d&&e.resume(),e.M&&!xM(e.C)&&(f=e.D<=d&&d<e.D+10,k=e.C.A.sc(),k=0<=lM(k,e.D+XS),f&&k&&(e.M=!1)),e.M||(e.D=d),g.rv(e.xa)));5<c&&(a.G.H=c);(e=g.PH())?g.QH(a.xa):g.iF(a.xa);!g.PQ(a.C)&&a.A.Yi()||g.X(a.C,128)||(d=(0,g.A)(a.AL,a),0==a.A.Em().length?a.xa=e?g.NH(d,100):g.gF(d,100):a.xa=e?g.NH(d,500):g.gF(d,500));a.o.ph=c;if(!b&&
a.C.sb()&&(a.B&&(c=a.B,c.C.update(),c.o.videoData.Mb()&&c.o.videoData.nf&&!c.M&&Una(c.C)>=c.o.videoData.nf&&(c.D&&c.o.videoData.nf&&(e=fR(c,"delayplay"),e.Fa=!0,e.send(),c.M=!0),soa(c)),a.o.Da&&(0,g.H)()>a.yg+6283&&(!a.isAtLiveHead()||a.o.ua&&UL(a.o.ua)||(c=a.B.A,d=c.o.B(),e=g.zQ(c.o),koa(c,e,d),d=d.F,isNaN(d)||g.TQ(c,e,"e2el",[d.toFixed(3)])),!a.na("html5_report_raw_latency_killswitch")&&g.kO(a.F)&&a.xb("rawlat","l."+MT(a.ea,"rawlivelatency").toFixed(3)),a.yg=(0,g.H)())),a.o.Ca&&bL(a.o.Ca)&&(c=ZT(a))&&
c.videoHeight!=a.ed&&(a.ed=c.videoHeight,a.na("html5_log_hls_video_height_change_as_format_change")&&a.o.Xd&&"auto"==a.o.Xd.Hg.za().quality&&a.o.zf)))for(c=g.r(a.o.zf),e=c.next();!e.done;e=c.next())if(e=e.value,e.getHeight()==a.ed&&"auto"!=e.Hg.za().quality){lU(a,"a",e.Pf());break}Bra(a.V,a.K,a.A)&&xU(a);a.U("progresssync",a,b)}};
WT=function(a,b){if(!g.NQ(a.C,b)){var c=new g.RQ(b,a.C);a.C=b;var d=!a.Qb.length;a.Qb.push(c);var e=a.A&&a.A.xq();if(0<SQ(c,1)&&!g.X(c.o,16)&&!e&&g.X(a.C,8)&&!g.X(a.C,64)&&a.D&&(a.D.ba=!0,GU(a),a.A&&5<=CQ(a.A))){e=a.V;var f=a.K;yra(e,f)&&f.videoData.Ca?(6E4<(0,g.H)()-e.G&&(e.C=0),e.C++,e.G=(0,g.H)(),4!=e.C?e=!1:(zra(e,f.videoData.Ca),e=!0)):e=!1;e&&xU(a)}(0>SQ(c,8)||0<SQ(c,1024))&&a.ma.stop();!(0<SQ(c,8))||a.o.Me||g.X(c.state,1024)||a.ma.start();g.X(c.state,8)&&0>SQ(c,16)&&!g.X(c.state,32)&&!g.X(c.state,
2)&&a.playVideo();g.X(c.state,2)&&VP(a.o)&&(e=a.getCurrentTime(),a.o.lengthSeconds!=e&&(a.o.lengthSeconds=e,VT(a)),EU(a,!0));0<SQ(c,2)&&(a.Ex(),GU(a));a.o.ua&&a.o.Da&&!a.Ag&&(0>SQ(c,8)?(e=a.o.ua,e.B&&e.B.stop()):0<SQ(c,8)&&a.o.ua.resume());if(a.B&&(e=a.B,!e.la())){g.X(c.state,2)?(e.F="paused",0<SQ(c,2)&&e.D&&qoa(e).send()):g.X(c.state,8)?(e.F="playing",e.D&&isNaN(e.G)&&eR(e,!1)):e.F="paused";f=e.A;var k=c.state,l=g.zQ(f.o),m=noa(f,c.state);if(m!=f.C){if(!(l<f.B)){if("PL"==f.C)f.L+=l-f.B;else if("B"==
f.C&&f.J){f.J=!1;var n=f.o.o.experiments.A("html5_disable_last_state_change")?f.B:f.aa;f.V+=l-n;!f.Y&&10<=f.V&&180>=f.L&&(f.o.G(),f.A.qoealert=["1"],f.Y=!0)}"B"!=m||"PL"!=f.C&&"PB"!=f.C||(f.J=!0);f.B=l}"B"==m&&"PL"==f.C||f.o.videoData.Gh?WQ(f,l):g.TQ(f,l,"cmt",[f.o.A().toFixed(3)]);g.TQ(f,l,"vps",[m]);f.C=m;f.aa=l;f.B=l}m=k.A;g.X(k,128)&&m&&loa(f,l,m.errorCode,m.errorDetail);(g.X(k,2)||g.X(k,128))&&f.D(l);g.X(k,8)&&f.o.videoData.Pk&&!f.H&&(f.A.user_intent=[g.zQ(f.o).toString()],f.H=!0);XQ(f);e.B&&
g.X(c.state,128)&&(e.yr("error-100"),g.iF(e.B))}if(d&&!a.la())try{for(var p=g.r(a.Qb),q=p.next();!q.done;q=p.next()){var u=q.value,w=a.L;c=u;if(w.D&&(w.A(),g.X(c.o,16))){c=w;var D=lqa(c.o,Math.max(c.B-2E3,0));!isNaN(D)&&0x7ffffffffffff>D&&c.F.start()}a.U("statechange",u)}}finally{a.Qb.length=0}}};
HU=function(a,b){g.X(a.C,128)||(WT(a,MQ(a.C,1028,9)),a.xb("dompaused",b),a.U("onDompaused"))};
fU=function(a){if(!a.A||!a.o.Ha)return!1;var b=null;a.o.Ha.o?(b=AU(a),a.D.resume()):(UT(a),a.o.Xd&&(b=a.o.Xd.Ck()));var c=b;var d=a.A.tq();b=!1;d&&null!=c&&c.o==d.o||((0,g.LP)("vta",void 0,""),xP("vta"),0<a.getCurrentTime()&&(b=a.getCurrentTime(),a.G.H=b),a.A.If(c),a.J&&RH(4),!a.o.Me&&OQ(a.C)&&a.ma.start(),b=!0);g.X(a.C,2)||(c=a.G,c.J||!(0<c.H)||c.A&&0<c.A.getCurrentTime()||c.seekTo(c.H));a:if(c=b,g.NP(a.o)&&a.A)if((d=a.o.Ze)&&a.A.Oh()){var e=a.A.ra();if(a.H){if(a.na("html5_drm_check_element_killswitch")||
e==a.H.ra())if(!a.na("html5_keep_safari_drm_killswitch")&&!c||"fairplay"!=d.flavor||dG())break a;ST(a)}a.H=new oT(e,a.o,a.F);a.H.subscribe("licenseerror",a.LR,a);a.H.subscribe("qualitychange",a.NR,a);a.H.subscribe("heartbeatparams",a.yN,a);a.H.subscribe("keystatuseschange",a.zN,a);a.H.subscribe("hdproberequired",a.MR,a);a.H.subscribe("ctmp",a.xb,a);c=g.r(a.Ab);for(d=c.next();!d.done;d=c.next())d=d.value,qT(a.H,new cT(d.info,d.type));a.Ab=[]}else g.$T(a,"fmt.unplayable","HTML5_NO_AVAILABLE_FORMATS_FALLBACK",
"drm.1");return b};
ST=function(a){a.H&&(a.H.dispose(),a.H=null)};
IU=function(a,b){b=void 0===b?!1:b;return a.o.Da&&(a.isAtLiveHead()&&(a.na("html5_videoplayer_getmaxseekabletimeforux_check_pause_killswitch")||!g.X(a.C,4))||GT(a.G)||g.UP(a.o))?a.getCurrentTime():zU(a,b)};
zU=function(a,b){return a.G.Oc(void 0===b?!1:b)};
g.xsa=function(a,b){(a.tc=b)||a.ma.stop();if(a.o.ua)if(b)a.o.ua.resume();else{var c=a.o.ua;c.B&&c.B.stop()}a.F.experiments.o("html5_suspend_loader")&&a.D&&(b?a.D.resume():tU(a,!0));a.F.experiments.o("html5_fludd_suspend")&&(g.X(a.C,2)||b?g.X(a.C,512)&&b&&WT(a,LQ(a.C,512)):WT(a,KQ(a.C,512)));a.B&&(c=a.B.A,g.TQ(c,g.zQ(c.o),"stream",[b?"A":"I"]))};
ysa=function(a){return a.A?a.A.pq():a.Nd};
JU=function(a,b){a.F.experiments.o("html5_log_rebuffer_reason")&&a.xb("bufreason","r."+b+";lact."+WH())};
zsa=function(a,b){if(a.o.Gh){var c=a.F.experiments.A("html5_log_rebuffer_events");if(c&&a.B&&a.A){var d=a.A.Eb();d.rt=g.zQ(a.B.o).toFixed(3);d.e=b.substr(0,3);a.qd[a.zg++%c]=iM(d)}}};
GU=function(a){if(a.o.Gh){for(var b=g.r(a.qd),c=b.next();!c.done;c=b.next())a.xb("vpe",c.value);a.qd=[];a.zg=0}};
jU=function(a,b){a.xb("seekreason",b)};
Asa=function(a){if($F("cobalt")&&$F("nintendo switch")){var b=!window.matchMedia("screen and (max-height: 720px) and (min-resolution: 200dpi)").matches;a.xb("nxdock",""+ +b)}};
tU=function(a,b){var c=a.D,d=b||ksa(a);c.K=!0;c.aa=d};
ksa=function(a){return a.na("disable_prefetch_when_ad_pending_for_living_room")&&g.$N(a.F)&&g.Ya(a.O,"ad")};
g.KU=function(a,b){hR.call(this,a,b);this.K=null};
g.LU=function(a){return a.app.B};
MU=function(a){a=g.LU(a);var b=a.K;return b&&b.Un()?!0:a.Tn()};
g.NU=function(a,b){3==a.getPresentingPlayerType()?a.U("mdxautoplaycancel"):a.U("autonavcancel",b)};
g.Y=function(a){return a.app.o};
g.OU=function(a,b){return Bsa(a.app,b||a.playerType)};
g.PU=function(a){return a.app.H};
RU=function(a){var b=g.QU(g.LU(a));return a.app.Y&&!a.isFullscreen()||3==a.getPresentingPlayerType()&&b&&b.hasNext()&&b.Wf()||!!a.getPlaylist()};
g.SU=function(a,b){var c=a.playerType;(c=g.Z(a.app,void 0===c?1:c))&&PT(c,b)};
g.TU=function(a,b,c){a.app.C.jn(new hM(b,!1,c))};
g.Csa=function(a){var b={};a=jsa(g.Z(a.app));a=g.r(a);for(var c=a.next();!c.done;c=a.next())c=c.value,b[c.quality]=c;return b};
g.UU=function(a){return(a=g.LU(a).D)?a.Dp():{}};
g.VU=function(a,b,c,d){var e=g.Z(a.app);c.event=b;a.isFullscreen()&&(c.fs=1);c.ux=1;e.logEvent(c,d)};
g.WU=function(a,b){var c=g.wQ(a);if(c)return c.ow(b);c=a.app.H.getPlayerSize();return new g.Ch(0,0,c.width,c.height)};
g.YU=function(a,b,c){XU(a.app,b,c||a.playerType)};
g.$U=function(a,b,c){var d=a.app;a=c||a.playerType;if(c=g.Z(d,a))c.L.removeCueRange.apply(c.L,b),a&&d.getPresentingPlayerType()!=a||ZU(d,"cuerangesremoved",b)};
g.aV=function(a,b,c){var d=a.app;a=c||a.playerType;if(c=g.Z(d,a))b=nqa(c.L,b),a&&d.getPresentingPlayerType()!=a||ZU(d,"cuerangesremoved",b)};
g.bV=function(a,b,c){c=void 0===c?a.playerType:c;(a=g.Z(a.app,c))&&gsa(a,b)};
g.Dsa=function(a){a=(a=a.getVideoData())&&a.Ca;return!!a&&!(!a.audio||!a.video)&&"application/x-mpegURL"!=a.mimeType};
g.Esa=function(a){a=a.getVideoData();return!!a&&!!(a.adaptiveFormats||a.hlsFormats||a.te)};
g.cV=function(a,b,c){a=g.PU(a).element;var d=sb(a.children,function(e){e=parseInt(e.getAttribute("data-layer"),10);return c-e||1});
0>d&&(d=-(d+1));pe(a,b,d);b.setAttribute("data-layer",c)};
g.dV=function(a){return a.app.F};
g.eV=function(a){var b=g.Y(a);if(!b.ae)return!1;var c=a.getVideoData();if(!c||3==a.getPresentingPlayerType())return!1;var d=!c.isLiveDefaultBroadcast||b.experiments.o("allow_poltergust_autoplay");b=c.Da&&(!b.experiments.o("allow_live_autoplay")||!d);return!c.El&&!b&&!g.Ya(c.Mc,"ypc")&&!a.getPlaylist()};
fV=function(a,b,c,d){g.Y(a).ia&&Fsa(a.app.ka,b,c,d)};
g.gV=function(a,b){g.Y(a).ia&&a.app.ka.click(b)};
g.hV=function(a,b,c){if(g.Y(a).ia&&(a=a.app.ka,a.o.has(b),c?a.A.add(b):a.A["delete"](b),c&&!a.C.has(b))){c=g.vI();var d=b.visualElement;c&&d&&g.hI(c,d);a.C.add(b)}};
g.iV=function(a){return g.Z(a.app)};
g.kV=function(a,b){if(a.app.getPresentingPlayerType()==b){var c=a.app,d=g.Z(c,b);d&&(d!=c.C?jV(c,c.C):Gsa(c))}};
Hsa=function(a){if(!a.na("html5_inline_video_quality_survey"))return!1;var b=g.Z(a.app);if(!b)return!1;var c=b.getVideoData();if(!c.Ca||!c.Ca.video||1080>c.Ca.video.o||c.yC)return!1;var d=/^qsa/.test(c.clientPlaybackNonce),e="r";0<=c.Ca.id.indexOf(";")&&(d=/^[a-p]/.test(c.clientPlaybackNonce),e="x");a.na("html5_inline_video_quality_survey_always")&&(d=!0,e="a");return d?(b.xb("iqss",e,!0),!0):!1};
Isa=function(a,b){document.requestStorageAccess().then(a,b)};
g.lV=function(a){g.mH.call(this);this.player=a;this.loaded=!1};
mV=function(a){this.o=a};
Jsa=function(a){this.adBreakLengthSeconds=a.reduce(function(d,e){return d+e},0);
for(var b=0,c=1;c<a.length;c++)b+=a[c];this.adBreakRemainingLengthSeconds=b};
nV=function(a,b){this.o=a;new Jsa([]);this.G=b;this.D=[];this.A={};this.F=null;this.C=0;this.B=null;var c=this.o.skipOffsetMilliseconds||0;0<c&&(this.F=c);this.A=g.BF(this.o.playerVars||"");if(c=this.o.external){if(this.D=c.mediaFiles||[],c=c.durationMilliseconds,g.Ca(c)&&(this.C=c/1E3,this.A.length_seconds=this.C.toString()),c=this.G.o(this.D))this.B=c.uri,c=c.mimeType,this.A.url_encoded_third_party_media="url="+encodeURIComponent(this.B)+"&type="+encodeURIComponent(c)}else if(this.C=AN(this.C,this.A.length_seconds),
this.A.cta_conversion_urls)try{this.A.cta_conversion_urls=JSON.parse(this.A.cta_conversion_urls)}catch(d){g.$E(d)}new Jsa([this.C])};
oV=function(a){if(!a)return[];var b=[];a=g.r(a);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.loggingUrls){c=g.r(c.loggingUrls);for(var d=c.next();!d.done;d=c.next())b.push({baseUrl:d.value.baseUrl})}return b};
pV=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};
qV=function(a){return a&&a.adVideoOffset&&a.adVideoOffset.percent||0};
rV=function(a){return"AD_VIDEO_PROGRESS_KIND_PERCENT"==a.adVideoOffset.kind};
Ksa=function(a){a=a.playbackCommands;if(!a)return{};var b={};b.impression=oV(a.impressionCommands)||[];b.error=oV(a.errorCommands)||[];b.mute=oV(a.muteCommands)||[];b.unmute=oV(a.unmuteCommands)||[];b.pause=oV(a.pauseCommands)||[];b.rewind=oV(a.rewindCommands)||[];b.resume=oV(a.resumeCommands)||[];b.skip=oV(a.skipCommands)||[];b.close=oV(a.closeCommands)||[];b.clickthrough=oV(a.clickthroughCommands)||[];b.fullscreen=oV(a.fullscreenCommands)||[];b.active_view_viewable=oV(a.activeViewViewableCommands)||
[];b.active_view_measurable=oV(a.activeViewMeasurableCommands)||[];b.active_view_fully_viewable_audible_half_duration=oV(a.activeViewFullyViewableAudibleHalfDurationCommands)||[];b.end_fullscreen=oV(a.endFullscreenCommands)||[];b.channel_clickthrough=oV(a.channelClickthroughCommands)||[];b.abandon=oV(a.abandonCommands)||[];b.progress=pV(a.progressCommands.filter(function(c){return"AD_VIDEO_PROGRESS_KIND_MILLISECONDS"==c.adVideoOffset.kind}));
b.start=pV(a.progressCommands.filter(function(c){return rV(c)&&Md(qV(c),0)}));
b.first_quartile=pV(a.progressCommands.filter(function(c){return rV(c)&&Md(qV(c),.25)}));
b.midpoint=pV(a.progressCommands.filter(function(c){return rV(c)&&Md(qV(c),.5)}));
b.third_quartile=pV(a.progressCommands.filter(function(c){return rV(c)&&Md(qV(c),.75)}));
b.complete=pV(a.progressCommands.filter(function(c){return rV(c)&&Md(qV(c),1)}));
return b};
Lsa=function(a){mV.call(this,a,Ksa(a));a.questions&&a.questions.reduce(function(b,c){var d=c.instreamSurveyAdSingleSelectQuestionRenderer||c.instreamSurveyAdMultiSelectQuestionRenderer;return d?b+(d.surveyAdQuestionCommon.durationMilliseconds||0)/1E3:b},0)};
Msa=function(a,b){var c=g.YE("VALID_SESSION_TEMPDATA_DOMAINS",[]),d=g.hh(window.location.href);d&&c.push(d);d=g.hh(a);if(g.Ya(c,d)||!d&&g.xb(a,"/"))if(g.MF("autoescape_tempdata_url")&&(c=document.createElement("a"),g.Fd(c,a),a=c.href),a&&(c=g.fh(a),c=g.eh(null,null,null,null,c[5],c[6],c[7]),d=c.indexOf("#"),c=0>d?c:c.substr(0,d))){if(b.itct||b.ved)b.csn=b.csn||g.vI();if(e){var e=parseInt(e,10);isFinite(e)&&0<e&&(c="ST-"+zc(c).toString(36),d=b?g.ph(b):"",g.ZH(c,d,e||5))}else e="ST-"+zc(c).toString(36),
c=b?g.ph(b):"",g.ZH(e,c,5)}};
g.Nsa=function(a){var b=void 0===b?{}:b;var c=void 0===c?"":c;var d=void 0===d?window:d;d=d.location;a=g.rh(a,b)+c;a=a instanceof dd?a:jd(a);d.href=ed(a)};
g.sV=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?!1:c;var d=g.YE("EVENT_ID");d&&(b.ei||(b.ei=d));b&&Msa(a,b);c||((window.ytspf||{}).enabled?spf.navigate(a):g.Nsa(a))};
g.tV=function(a,b,c){c&&Msa(a,c);c=g.id(a);c=g.fd(c);a!=c&&g.bF(Error("Unsafe window.open URL: "+a));a=c;window.open(a,b||zc(a).toString(36))};
uV=function(){g.mH.call(this);this.o=new Map};
Osa=function(){null==vV&&(vV=new uV,qn.getInstance().A="b",rn());return vV};
Psa=function(a){switch(a){case "fully_viewable_audible_half_duration_impression":return"h";case "measurable_impression":return"c";case "overlay_unmeasurable_impression":return"i";case "overlay_unviewable_impression":return"j";case "overlay_viewable_end_of_session_impression":return"k";case "overlay_viewable_immediate_impression":return"l";case "viewable_impression":return"q";default:return null}};
Qsa=function(a){({}).abandon=a.abandonCommands&&oV(a.abandonCommands.commands)||[];this.o=a};
Rsa=function(a){mV.apply(this,arguments)};
Ssa=function(a){this.o=a;g.BF(this.o.playerVars||"")};
Tsa=function(a){mV.apply(this,arguments)};
Usa=function(a){mV.apply(this,arguments)};
g.wV=function(a,b){var c={},d;for(d in b)c.Hs=b[d],a=a.replace(new RegExp("\\$"+d,"gi"),function(e){return function(){return e.Hs}}(c)),c={Hs:c.Hs};
return a};
xV=function(){g.K.call(this);var a=this;this.o=new Map;this.A=g.eH(document.body,"click",function(b){b.target&&(b=a.o.get(b.target))&&qG(b)},"ytp-ad-has-logging-urls")};
Wsa=function(a){if(a.simpleText)return a=g.le(a.simpleText),a;var b=[];if(a.runs)for(var c=0;c<a.runs.length;c++){var d=a.runs[c];d.text&&b.push(Vsa(d))}return 1==b.length?b[0]:g.ie("SPAN",null,b)};
Vsa=function(a){var b=null,c=a.text;a.bold&&(b=g.ie("B",null,b||c));a.italics&&(b=g.ie("I",null,b||c));a.strikethrough&&(b=g.ie("STRIKE",null,b||c));if(a.navigationEndpoint&&a.navigationEndpoint.urlEndpoint){var d=a.navigationEndpoint.urlEndpoint;b=g.ie("A",null,b||c);g.Fd(b,d.url);"TARGET_NEW_WINDOW"==d.target&&(b.target="_blank");if(a=a.navigationEndpoint.loggingUrls)a=a.map(function(e){return e.baseUrl}),null==yV&&(yV=new xV),yV.register(b,a),g.T(b,"ytp-ad-has-logging-urls")}return b||g.ie("SPAN",
null,c)};
AV=function(a){g.K.call(this);var b=this;this.o=new zV(a);g.L(this,this.o);this.C=[];this.A=[];this.o.subscribe("externalClick",function(){return b.hide()});
this.o.subscribe("confirmClick",function(){return b.hide()})};
zV=function(a){g.mH.call(this);this.B=a;this.A=new g.W({I:"div",N:"ytp-ad-info-dialog-confirm-container",P:[{I:"button",N:"ytp-ad-info-dialog-confirm-button",ca:"{{content}}"}]});g.L(this,this.A);this.A.hide();this.C=new g.W({I:"div",N:"ytp-ad-info-dialog-title",ca:"{{content}}"});g.L(this,this.C);this.C.hide();this.o=new g.W({I:"div",N:"ytp-ad-info-dialog-relative-container",P:[{I:"div",N:"ytp-ad-info-dialog-form",P:[this.C,{I:"ul",N:"ytp-ad-info-dialog-ad-reasons"},{I:"div",N:"ytp-ad-info-dialog-message",
ca:"{{content}}"},this.A]}]});g.L(this,this.o);this.o.hide();this.Z=new g.jH(this);g.L(this,this.Z)};
Xsa=function(a){return a.o.o["ytp-ad-info-dialog-ad-reasons"]};
BV=function(a){return a?Wsa(a):null};
Ysa=function(a){if(!a.loggingUrls)return[];var b=[];a=g.r(a.loggingUrls);for(var c=a.next();!c.done;c=a.next())c=c.value,c.baseUrl&&b.push(c.baseUrl);return b};
Zsa=function(a){CV=a&&a.data};
ata=function(a){$sa=a&&a.data};
bta=function(){CV=null};
g.cta=function(){return g.DV?{I:"div",da:["ytp-icon","ytp-icon-cast-desktop-on"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,T:{d:"M7,24 L7,27 L10,27 C10,25.34 8.66,24 7,24 L7,24 Z M7,20 L7,22 C9.76,22 12,24.24 12,27 L14,27 C14,23.13 10.87,20 7,20 L7,20 Z M25,13 L11,13 L11,14.63 C14.96,15.91 18.09,19.04 19.37,23 L25,23 L25,13 L25,13 Z M7,16 L7,18 C11.97,18 16,22.03 16,27 L18,27 C18,20.92 13.07,16 7,16 L7,16 Z M27,9 L9,9 C7.9,9 7,9.9 7,11 L7,14 L9,14 L9,11 L27,11 L27,25 L20,25 L20,27 L27,27 C28.1,27 29,26.1 29,25 L29,11 C29,9.9 28.1,9 27,9 L27,9 Z",
fill:"#fff"}}]}};
dta=function(){return{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",T:{d:"m 14.8,21.9 -4.2,-4.2 -1.4,1.4 5.6,5.6 12,-12 -1.4,-1.4 -10.6,10.6 z",fill:"#fff"}}]}};
g.EV=function(){return g.DV?{I:"div",da:["ytp-icon","ytp-icon-chevron-back"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 32 32",width:"100%"},P:[{I:"path",T:{d:"M 19.41,20.09 14.83,15.5 19.41,10.91 18,9.5 l -6,6 6,6 z",fill:"#fff"}}]}};
g.FV=function(){return g.DV?{I:"div",da:["ytp-icon","ytp-icon-chevron-forward"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 32 32",width:"100%"},P:[{I:"path",T:{d:"m 12.59,20.34 4.58,-4.59 -4.58,-4.59 1.41,-1.41 6,6 -6,6 z",fill:"#fff"}}]}};
eta=function(){return g.DV?{I:"div",da:["ytp-icon","ytp-icon-clip-clear"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 14 14",width:"100%"},P:[{I:"path",T:{d:"M14,14 L14,0 L0,0 L0,14 L14,14 Z"}},{I:"path",T:{d:"M7.15,8.35 L9.25,10.45 L10.65,9.05 L8.55,6.95 L10.7,4.8 L9.3,3.4 L7.15,5.55 L5,3.4 L3.6,4.8 L5.75,6.95 L3.65,9.05 L5.05,10.45 L7.15,8.35 Z",fill:"#fff"}}]}};
fta=function(){return g.DV?{I:"div",da:["ytp-icon","ytp-icon-clip-end"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 14 14",width:"100%"},P:[{I:"path",Ya:!0,T:{d:"M2,14 L5,11 L5,3 L2,0 L9,0 L9,14 L2,14 L2,14 Z",fill:"#eaeaea"}}]}};
gta=function(){return g.DV?{I:"div",da:["ytp-icon","ytp-icon-clip-start"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 14 14",width:"100%"},P:[{I:"path",Ya:!0,T:{d:"M12,14 L9,11 L9,3 L12,0 L5,0 L5,14 L12,14 Z",fill:"#eaeaea"}}]}};
g.GV=function(){return g.DV?{I:"div",da:["ytp-icon","ytp-icon-close"]}:{I:"svg",T:{height:"100%",viewBox:"0 0 24 24",width:"100%"},P:[{I:"path",T:{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z",fill:"#fff"}}]}};
hta=function(){return g.DV?{I:"div",da:["ytp-icon","ytp-icon-error-exclamation"]}:{I:"svg",T:{fill:"#fff",viewBox:"0 0 48 48"},P:[{I:"path",T:{d:"M0 0h48v48H0V0z",fill:"none"}},{I:"path",T:{d:"M22 30h4v4h-4zm0-16h4v12h-4zm1.99-10C12.94 4 4 12.95 4 24s8.94 20 19.99 20S44 35.05 44 24 35.04 4 23.99 4zM24 40c-8.84 0-16-7.16-16-16S15.16 8 24 8s16 7.16 16 16-7.16 16-16 16z","fill-opacity":"0.3"}}]}};
ita=function(){return g.DV?{I:"div",da:["ytp-icon","ytp-icon-forward-five-seconds"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"m 10,19 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 h -2 c 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 0,-3.3 2.7,-6 6,-6 v 4 l 5,-5 -5,-5 v 4 c -4.4,0 -8,3.6 -8,8 z m 6.7,.9 .2,-2.2 h 2.4 v .7 h -1.7 l -0.1,.9 c 0,0 .1,0 .1,-0.1 0,-0.1 .1,0 .1,-0.1 0,-0.1 .1,0 .2,0 h .2 c .2,0 .4,0 .5,.1 .1,.1 .3,.2 .4,.3 .1,.1 .2,.3 .3,.5 .1,.2 .1,.4 .1,.6 0,.2 0,.4 -0.1,.5 -0.1,.1 -0.1,.3 -0.3,.5 -0.2,.2 -0.3,.2 -0.5,.3 C 18.3,22 18.1,22 17.9,22 17.7,22 17.5,22 17.4,21.9 17.3,21.8 17.1,21.8 16.9,21.7 16.7,21.6 16.7,21.5 16.6,21.3 16.5,21.1 16.5,21 16.5,20.8 h .8 c 0,.2 .1,.3 .2,.4 .1,.1 .2,.1 .4,.1 .1,0 .2,0 .3,-0.1 L 18.4,21 c 0,0 .1,-0.2 .1,-0.3 v -0.6 l -0.1,-0.2 -0.2,-0.2 c 0,0 -0.2,-0.1 -0.3,-0.1 h -0.2 c 0,0 -0.1,0 -0.2,.1 -0.1,.1 -0.1,0 -0.1,.1 0,.1 -0.1,.1 -0.1,.1 h -0.6 z"}}]}};
jta=function(){return g.DV?{I:"div",da:["ytp-icon","ytp-icon-link"]}:{I:"svg",T:{height:"100%",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",T:{d:"M5.85 18.0c0.0-2.56 2.08-4.65 4.65-4.65h6.0V10.5H10.5c-4.14 .0-7.5 3.36-7.5 7.5s3.36 7.5 7.5 7.5h6.0v-2.85H10.5c-2.56 .0-4.65-2.08-4.65-4.65zM12.0 19.5h12.0v-3.0H12.0v3.0zm13.5-9.0h-6.0v2.85h6.0c2.56 .0 4.65 2.08 4.65 4.65s-2.08 4.65-4.65 4.65h-6.0V25.5h6.0c4.14 .0 7.5-3.36 7.5-7.5s-3.36-7.5-7.5-7.5z",fill:"#fff"}}]}};
kta=function(){return g.DV?{I:"div",da:["ytp-icon","ytp-icon-next"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"M 12,24 20.5,18 12,12 V 24 z M 22,12 v 12 h 2 V 12 h -2 z"}}]}};
g.lta=function(){return g.DV?{I:"div",da:["ytp-icon","ytp-icon-notifications-active"]}:{I:"svg",T:{fill:"#fff",height:"24px",viewBox:"0 0 24 24",width:"24px"},P:[{I:"path",T:{d:"M7.58 4.08L6.15 2.65C3.75 4.48 2.17 7.3 2.03 10.5h2c.15-2.65 1.51-4.97 3.55-6.42zm12.39 6.42h2c-.15-3.2-1.73-6.02-4.12-7.85l-1.42 1.43c2.02 1.45 3.39 3.77 3.54 6.42zM18 11c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2v-5zm-6 11c.14 0 .27-.01.4-.04.65-.14 1.18-.58 1.44-1.18.1-.24.15-.5.15-.78h-4c.01 1.1.9 2 2.01 2z"}}]}};
mta=function(){return g.DV?{I:"div",da:["ytp-icon","ytp-icon-pause"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"M 12,26 16,26 16,10 12,10 z M 21,26 25,26 25,10 21,10 z"}}]}};
nta=function(){return g.DV?{I:"div",da:["ytp-icon","ytp-icon-pip"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,T:{d:"M25,17 L17,17 L17,23 L25,23 L25,17 L25,17 Z M29,25 L29,10.98 C29,9.88 28.1,9 27,9 L9,9 C7.9,9 7,9.88 7,10.98 L7,25 C7,26.1 7.9,27 9,27 L27,27 C28.1,27 29,26.1 29,25 L29,25 Z M27,25.02 L9,25.02 L9,10.97 L27,10.97 L27,25.02 L27,25.02 Z",fill:"#fff"}}]}};
ota=function(){return g.DV?{I:"div",da:["ytp-icon","ytp-icon-play"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"M 12,26 18.5,22 18.5,14 12,10 z M 18.5,22 25,18 25,18 18.5,14 z"}}]}};
pta=function(){return g.DV?{I:"div",da:["ytp-icon","ytp-icon-prev"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"m 12,12 h 2 v 12 h -2 z m 3.5,6 8.5,6 V 12 z"}}]}};
g.HV=function(){return g.DV?{I:"div",da:["ytp-icon","ytp-icon-replay"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"M 18,11 V 7 l -5,5 5,5 v -4 c 3.3,0 6,2.7 6,6 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 h -2 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 0,-4.4 -3.6,-8 -8,-8 z"}}]}};
qta=function(){return g.DV?{I:"div",da:["ytp-icon","ytp-icon-rewind-five-seconds"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"M 18,11 V 7 l -5,5 5,5 v -4 c 3.3,0 6,2.7 6,6 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 h -2 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 0,-4.4 -3.6,-8 -8,-8 z m -1.3,8.9 .2,-2.2 h 2.4 v .7 h -1.7 l -0.1,.9 c 0,0 .1,0 .1,-0.1 0,-0.1 .1,0 .1,-0.1 0,-0.1 .1,0 .2,0 h .2 c .2,0 .4,0 .5,.1 .1,.1 .3,.2 .4,.3 .1,.1 .2,.3 .3,.5 .1,.2 .1,.4 .1,.6 0,.2 0,.4 -0.1,.5 -0.1,.1 -0.1,.3 -0.3,.5 -0.2,.2 -0.3,.2 -0.4,.3 C 18.5,22 18.2,22 18,22 17.8,22 17.6,22 17.5,21.9 17.4,21.8 17.2,21.8 17,21.7 16.8,21.6 16.8,21.5 16.7,21.3 16.6,21.1 16.6,21 16.6,20.8 h .8 c 0,.2 .1,.3 .2,.4 .1,.1 .2,.1 .4,.1 .1,0 .2,0 .3,-0.1 L 18.5,21 c 0,0 .1,-0.2 .1,-0.3 v -0.6 l -0.1,-0.2 -0.2,-0.2 c 0,0 -0.2,-0.1 -0.3,-0.1 h -0.2 c 0,0 -0.1,0 -0.2,.1 -0.1,.1 -0.1,0 -0.1,.1 0,.1 -0.1,.1 -0.1,.1 h -0.7 z"}}]}};
g.rta=function(){return g.DV?{I:"div",da:["ytp-icon","ytp-icon-settings"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,T:{d:"m 23.94,18.78 c .03,-0.25 .05,-0.51 .05,-0.78 0,-0.27 -0.02,-0.52 -0.05,-0.78 l 1.68,-1.32 c .15,-0.12 .19,-0.33 .09,-0.51 l -1.6,-2.76 c -0.09,-0.17 -0.31,-0.24 -0.48,-0.17 l -1.99,.8 c -0.41,-0.32 -0.86,-0.58 -1.35,-0.78 l -0.30,-2.12 c -0.02,-0.19 -0.19,-0.33 -0.39,-0.33 l -3.2,0 c -0.2,0 -0.36,.14 -0.39,.33 l -0.30,2.12 c -0.48,.2 -0.93,.47 -1.35,.78 l -1.99,-0.8 c -0.18,-0.07 -0.39,0 -0.48,.17 l -1.6,2.76 c -0.10,.17 -0.05,.39 .09,.51 l 1.68,1.32 c -0.03,.25 -0.05,.52 -0.05,.78 0,.26 .02,.52 .05,.78 l -1.68,1.32 c -0.15,.12 -0.19,.33 -0.09,.51 l 1.6,2.76 c .09,.17 .31,.24 .48,.17 l 1.99,-0.8 c .41,.32 .86,.58 1.35,.78 l .30,2.12 c .02,.19 .19,.33 .39,.33 l 3.2,0 c .2,0 .36,-0.14 .39,-0.33 l .30,-2.12 c .48,-0.2 .93,-0.47 1.35,-0.78 l 1.99,.8 c .18,.07 .39,0 .48,-0.17 l 1.6,-2.76 c .09,-0.17 .05,-0.39 -0.09,-0.51 l -1.68,-1.32 0,0 z m -5.94,2.01 c -1.54,0 -2.8,-1.25 -2.8,-2.8 0,-1.54 1.25,-2.8 2.8,-2.8 1.54,0 2.8,1.25 2.8,2.8 0,1.54 -1.25,2.8 -2.8,2.8 l 0,0 z",
fill:"#fff"}}]}};
sta=function(){return g.DV?{I:"div",da:["ytp-icon","ytp-icon-stop"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"M 12,25 19,25 19,11 12,11 z M 19,25 26,25 26,11 19,11 z"}}]}};
tta=function(){return g.DV?{I:"div",da:["ytp-icon","ytp-icon-subtitles"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,T:{d:"M11,11 C9.9,11 9,11.9 9,13 L9,23 C9,24.1 9.9,25 11,25 L25,25 C26.1,25 27,24.1 27,23 L27,13 C27,11.9 26.1,11 25,11 L11,11 Z M11,17 L14,17 L14,19 L11,19 L11,17 L11,17 Z M20,23 L11,23 L11,21 L20,21 L20,23 L20,23 Z M25,23 L22,23 L22,21 L25,21 L25,23 L25,23 Z M25,19 L16,19 L16,17 L25,17 L25,19 L25,19 Z",fill:"#fff"}}]}};
uta=function(){return g.DV?{I:"div",da:["ytp-icon","ytp-icon-volume-high"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,T:{d:"M8,21 L12,21 L17,26 L17,10 L12,15 L8,15 L8,21 Z M19,14 L19,22 C20.48,21.32 21.5,19.77 21.5,18 C21.5,16.26 20.48,14.74 19,14 Z M19,11.29 C21.89,12.15 24,14.83 24,18 C24,21.17 21.89,23.85 19,24.71 L19,26.77 C23.01,25.86 26,22.28 26,18 C26,13.72 23.01,10.14 19,9.23 L19,11.29 Z",fill:"#fff"}}]}};
vta=function(){return g.DV?{I:"div",da:["ytp-icon","ytp-icon-volume-low"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,T:{d:"M8,21 L12,21 L17,26 L17,10 L12,15 L8,15 L8,21 Z M19,14 L19,22 C20.48,21.32 21.5,19.77 21.5,18 C21.5,16.26 20.48,14.74 19,14 Z",fill:"#fff"}}]}};
IV=function(){return g.DV?{I:"div",da:["ytp-icon","ytp-icon-volume-muted"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"m 21.48,17.98 c 0,-1.77 -1.02,-3.29 -2.5,-4.03 v 2.21 l 2.45,2.45 c .03,-0.2 .05,-0.41 .05,-0.63 z m 2.5,0 c 0,.94 -0.2,1.82 -0.54,2.64 l 1.51,1.51 c .66,-1.24 1.03,-2.65 1.03,-4.15 0,-4.28 -2.99,-7.86 -7,-8.76 v 2.05 c 2.89,.86 5,3.54 5,6.71 z M 9.25,8.98 l -1.27,1.26 4.72,4.73 H 7.98 v 6 H 11.98 l 5,5 v -6.73 l 4.25,4.25 c -0.67,.52 -1.42,.93 -2.25,1.18 v 2.06 c 1.38,-0.31 2.63,-0.95 3.69,-1.81 l 2.04,2.05 1.27,-1.27 -9,-9 -7.72,-7.72 z m 7.72,.99 -2.09,2.08 2.09,2.09 V 9.98 z"}}]}};
wta=function(){return g.DV?{I:"div",da:["ytp-icon","ytp-icon-watermark"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 110 26",width:"100%"},P:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"M 16.68,.99 C 13.55,1.03 7.02,1.16 4.99,1.68 c -1.49,.4 -2.59,1.6 -2.99,3 -0.69,2.7 -0.68,8.31 -0.68,8.31 0,0 -0.01,5.61 .68,8.31 .39,1.5 1.59,2.6 2.99,3 2.69,.7 13.40,.68 13.40,.68 0,0 10.70,.01 13.40,-0.68 1.5,-0.4 2.59,-1.6 2.99,-3 .69,-2.7 .68,-8.31 .68,-8.31 0,0 .11,-5.61 -0.68,-8.31 -0.4,-1.5 -1.59,-2.6 -2.99,-3 C 29.11,.98 18.40,.99 18.40,.99 c 0,0 -0.67,-0.01 -1.71,0 z m 72.21,.90 0,21.28 2.78,0 .31,-1.37 .09,0 c .3,.5 .71,.88 1.21,1.18 .5,.3 1.08,.40 1.68,.40 1.1,0 1.99,-0.49 2.49,-1.59 .5,-1.1 .81,-2.70 .81,-4.90 l 0,-2.40 c 0,-1.6 -0.11,-2.90 -0.31,-3.90 -0.2,-0.89 -0.5,-1.59 -1,-2.09 -0.5,-0.4 -1.10,-0.59 -1.90,-0.59 -0.59,0 -1.18,.19 -1.68,.49 -0.49,.3 -1.01,.80 -1.21,1.40 l 0,-7.90 -3.28,0 z m -49.99,.78 3.90,13.90 .18,6.71 3.31,0 0,-6.71 3.87,-13.90 -3.37,0 -1.40,6.31 c -0.4,1.89 -0.71,3.19 -0.81,3.99 l -0.09,0 c -0.2,-1.1 -0.51,-2.4 -0.81,-3.99 l -1.37,-6.31 -3.40,0 z m 29.59,0 0,2.71 3.40,0 0,17.90 3.28,0 0,-17.90 3.40,0 c 0,0 .00,-2.71 -0.09,-2.71 l -9.99,0 z m -53.49,5.12 8.90,5.18 -8.90,5.09 0,-10.28 z m 89.40,.09 c -1.7,0 -2.89,.59 -3.59,1.59 -0.69,.99 -0.99,2.60 -0.99,4.90 l 0,2.59 c 0,2.2 .30,3.90 .99,4.90 .7,1.1 1.8,1.59 3.5,1.59 1.4,0 2.38,-0.3 3.18,-1 .7,-0.7 1.09,-1.69 1.09,-3.09 l 0,-0.5 -2.90,-0.21 c 0,1 -0.08,1.6 -0.28,2 -0.1,.4 -0.5,.62 -1,.62 -0.3,0 -0.61,-0.11 -0.81,-0.31 -0.2,-0.3 -0.30,-0.59 -0.40,-1.09 -0.1,-0.5 -0.09,-1.21 -0.09,-2.21 l 0,-0.78 5.71,-0.09 0,-2.62 c 0,-1.6 -0.10,-2.78 -0.40,-3.68 -0.2,-0.89 -0.71,-1.59 -1.31,-1.99 -0.7,-0.4 -1.48,-0.59 -2.68,-0.59 z m -50.49,.09 c -1.09,0 -2.01,.18 -2.71,.68 -0.7,.4 -1.2,1.12 -1.49,2.12 -0.3,1 -0.5,2.27 -0.5,3.87 l 0,2.21 c 0,1.5 .10,2.78 .40,3.78 .2,.9 .70,1.62 1.40,2.12 .69,.5 1.71,.68 2.81,.78 1.19,0 2.08,-0.28 2.78,-0.68 .69,-0.4 1.09,-1.09 1.49,-2.09 .39,-1 .49,-2.30 .49,-3.90 l 0,-2.21 c 0,-1.6 -0.2,-2.87 -0.49,-3.87 -0.3,-0.89 -0.8,-1.62 -1.49,-2.12 -0.7,-0.5 -1.58,-0.68 -2.68,-0.68 z m 12.18,.09 0,11.90 c -0.1,.3 -0.29,.48 -0.59,.68 -0.2,.2 -0.51,.31 -0.81,.31 -0.3,0 -0.58,-0.10 -0.68,-0.40 -0.1,-0.3 -0.18,-0.70 -0.18,-1.40 l 0,-10.99 -3.40,0 0,11.21 c 0,1.4 .18,2.39 .68,3.09 .49,.7 1.21,1 2.21,1 1.4,0 2.48,-0.69 3.18,-2.09 l .09,0 .31,1.78 2.59,0 0,-14.99 c 0,0 -3.40,.00 -3.40,-0.09 z m 17.31,0 0,11.90 c -0.1,.3 -0.29,.48 -0.59,.68 -0.2,.2 -0.51,.31 -0.81,.31 -0.3,0 -0.58,-0.10 -0.68,-0.40 -0.1,-0.3 -0.21,-0.70 -0.21,-1.40 l 0,-10.99 -3.40,0 0,11.21 c 0,1.4 .21,2.39 .71,3.09 .5,.7 1.18,1 2.18,1 1.39,0 2.51,-0.69 3.21,-2.09 l .09,0 .28,1.78 2.62,0 0,-14.99 c 0,0 -3.40,.00 -3.40,-0.09 z m 20.90,2.09 c .4,0 .58,.11 .78,.31 .2,.3 .30,.59 .40,1.09 .1,.5 .09,1.21 .09,2.21 l 0,1.09 -2.5,0 0,-1.09 c 0,-1 -0.00,-1.71 .09,-2.21 0,-0.4 .11,-0.8 .31,-1 .2,-0.3 .51,-0.40 .81,-0.40 z m -50.49,.12 c .5,0 .8,.18 1,.68 .19,.5 .28,1.30 .28,2.40 l 0,4.68 c 0,1.1 -0.08,1.90 -0.28,2.40 -0.2,.5 -0.5,.68 -1,.68 -0.5,0 -0.79,-0.18 -0.99,-0.68 -0.2,-0.5 -0.31,-1.30 -0.31,-2.40 l 0,-4.68 c 0,-1.1 .11,-1.90 .31,-2.40 .2,-0.5 .49,-0.68 .99,-0.68 z m 39.68,.09 c .3,0 .61,.10 .81,.40 .2,.3 .27,.67 .37,1.37 .1,.6 .12,1.51 .12,2.71 l .09,1.90 c 0,1.1 .00,1.99 -0.09,2.59 -0.1,.6 -0.19,1.08 -0.49,1.28 -0.2,.3 -0.50,.40 -0.90,.40 -0.3,0 -0.51,-0.08 -0.81,-0.18 -0.2,-0.1 -0.39,-0.29 -0.59,-0.59 l 0,-8.5 c .1,-0.4 .29,-0.7 .59,-1 .3,-0.3 .60,-0.40 .90,-0.40 z"}}]}};
xta=function(){return g.DV?{I:"div",da:["ytp-icon","ytp-icon-youtube-logo-redirect"]}:{I:"svg",T:{fill:"#fff",height:"100%",viewBox:"0 0 24 24",width:"100%"},P:[{I:"path",T:{d:"M0 0h24v24H0V0z",fill:"none"}},{I:"path",T:{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"}}]}};
g.JV=function(a,b,c,d,e,f){e=void 0===e?null:e;f=void 0===f?null:f;g.K.call(this);this.C=a;c||a.hide();this.F=b;this.G=null==d?b:d;this.B=f;this.D=e;this.o=null;this.A=new g.V(this.Vr,0,this);g.L(this,this.A)};
KV=function(a,b){var c=a.C.element;b?c.setAttribute("aria-hidden",!0):c.removeAttribute("aria-hidden")};
g.LV=function(a){var b=Math.abs(Math.floor(a)),c=Math.floor(b/86400),d=Math.floor(b%86400/3600),e=Math.floor(b%3600/60);b=Math.floor(b%60);var f="";0<c&&(f+=c+":",10>d&&(f+="0"));if(0<c||0<d)f+=d+":",10>e&&(f+="0");f+=e+":";10>b&&(f+="0");f+=b;return 0<=a?f:"-"+f};
g.MV=function(a){return(!g.Ca(a.button)||0==a.button)&&!a.shiftKey&&!a.altKey&&!a.metaKey&&!a.ctrlKey};
NV=function(a,b){this.A=a;this.o=b};
OV=function(a,b){return a.A+b*a.getLength()};
PV=function(a,b,c){if(!a.getLength())return null!=c?c:Infinity;a=(b-a.A)/a.getLength();return g.Jd(a,0,1)};
QV=function(a,b){g.lQ.call(this,{I:"div",N:"ytp-ad-persistent-progress-bar-container",P:[{I:"div",N:"ytp-ad-persistent-progress-bar"}]});this.F=a;this.D=b;g.L(this,this.D);this.J=this.o["ytp-ad-persistent-progress-bar"];this.B=-1;this.R(a,"presentingplayerstatechange",this.H);this.hide();this.H()};
RV=function(){g.W.call(this,{I:"div",N:"ad-carousel",P:[{I:"div",N:"ad-carousel-clip",P:[{I:"ul",da:["ad-carousel-list","ad-carousel-list-animation"]}]}]});var a=this.o["ad-carousel"];this.F=new g.W({I:"button",da:["ad-carousel-nav-button","ad-carousel-nav-prev"],T:{type:"button",onclick:"return false;"},P:[{I:"span",da:["ad-carousel-prev-icon","yt-uix-tooltip","yt-sprite"],T:{"data-tooltip-text":"Prev",title:"Prev"}}]});g.L(this,this.F);this.F.X("click",this.J,this);this.F.A(a);this.D=new g.W({I:"button",
da:["ad-carousel-nav-button","ad-carousel-nav-next"],T:{type:"button",onclick:"return false;"},P:[{I:"span",da:["ad-carousel-next-icon","yt-uix-tooltip","yt-sprite"],T:{"data-tooltip-text":"Next",title:"Next"}}]});g.L(this,this.D);this.D.X("click",this.H,this);this.D.A(a);this.G=this.o["ad-carousel-list"];this.B=0;this.Qa=[]};
yta=function(a,b){a.clear();for(var c=g.r(b),d=c.next();!d.done;d=c.next()){var e=a;d=d.value.element;var f=new g.W({I:"li",N:"ad-carousel-listitem",P:[{I:"div",N:"ad-carousel-item"}]});f.o["ad-carousel-item"].appendChild(d);e.Qa.push(f);e.G.appendChild(f.element)}};
TV=function(a){a.G&&g.Ph(a.G,"left",(2>a.Qa.length?0:-a.B*a.Qa[1].element.clientWidth)+"px");g.kQ(a.F,0<a.B);g.kQ(a.D,a.B<a.Qa.length-SV(a))};
SV=function(a){return 2>a.Qa.length?1:Math.round((a.element.clientWidth-a.Qa[0].element.clientWidth)/a.Qa[1].element.clientWidth)+1};
UV=function(a,b){b=void 0===b?2:b;g.mH.call(this);this.A=a;this.o=new g.jH(this);g.L(this,this.o);this.B=zta;this.C=null;this.o.R(this.A,"presentingplayerstatechange",this.G);this.C=this.o.R(this.A,"progresssync",this.D);this.F=b;1===this.F&&this.D()};
VV=function(a,b,c,d){g.mH.call(this);this.A=a;this.M=(0,g.A)(b,null);this.o=0;this.F=!1;this.B=new g.Od(NaN,NaN);this.Z=new g.jH(this);g.L(this,this.Z);b=d?4E3:3E3;this.H=new g.V(g.Na(this.oc,1,!1),b,this);g.L(this,this.H);this.J=new g.V(g.Na(this.oc,2,!1),b,this);g.L(this,this.J);this.L=new g.V(g.Na(this.oc,512,!1),0,this);g.L(this,this.L);this.O=c&&0<c.hi.length?5E3:3E3;d||(this.C=this.Z.R(a,"mouseover",this.uw),this.Z.R(a,"mousemove",this.TO),this.Z.R(a,"mouseleave",this.SP));g.Rh?this.Z.R(a,"keypress",
this.XM):this.Z.R(a,"focusin",this.EK);this.D=this.Z.R(a,"mousedown",this.DD);this.G=this.Z.R(a,"touchstart",this.FD,void 0,!0);this.V=null;this.oc(640,!0)};
Ata=function(a){a.oc(4,!1);a.K&&(a.Z.Ka(a.K),a.K=null,a.C=a.Z.R(a.A,"mouseover",a.uw));a.C&&(a.Z.Ka(a.C),a.C=a.Z.R(a.A,"mouseover",a.uw))};
WV=function(a){var b=g.Y(a),c=a.getVideoData(),d=["ytp-large-play-button","ytp-button"];if(c.Ic&&c.Gg)var e=b.H?[{I:"div",N:"ytp-large-play-button-circle",T:{style:"background-color: "+c.Gg}},g.DV?{I:"div",da:["ytp-icon","ytp-icon-dni-large-play-button"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"4 -6 60 60",width:"100%"},P:[{I:"path",T:{d:"m 26.96,13.67 18.37,9.62 -18.37,9.55 -0.00,-19.17 z",fill:"#fff"}}]}]:[g.DV?{I:"div",da:["ytp-icon","ytp-icon-dni-large-lozenge-play-button"]}:{I:"svg",
T:{height:"100%",version:"1.1",viewBox:"0 0 68 48",width:"100%"},P:[{I:"path",N:"ytp-dni-large-play-button-bg",T:{d:"M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z",fill:"#212121","fill-opacity":"0.8"}},{I:"path",T:{d:"M 45,24 27,14 27,34",
fill:"#fff"}}]}];else b.H&&!b.gc?e=[g.DV?{I:"div",da:["ytp-icon","ytp-icon-large-play-button-hover"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 68 48",width:"100%"},P:[{I:"path",N:"ytp-large-play-button-bg",T:{d:"M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z",
fill:"#f00"}},{I:"path",T:{d:"M 45,24 27,14 27,34",fill:"#fff"}}]}]:(b.A&&d.push("ytp-touch-device"),e=[b.gc?g.DV?{I:"div",da:["ytp-icon","ytp-icon-house-brand-large-play-button"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 60 60",width:"100%"},P:[{I:"path",N:"ytp-large-play-button-bg",T:{d:"M30,0A30,30,0,1,0,60,30,30,30,0,0,0,30,0Z",fill:"#1f1f1f"}},{I:"path",T:{d:"M21,41.65V18L43.7,29.85Z",fill:"#fff"}}]}:g.DV?{I:"div",da:["ytp-icon","ytp-icon-large-play-button"]}:{I:"svg",T:{height:"100%",
version:"1.1",viewBox:"0 0 68 48",width:"100%"},P:[{I:"path",N:"ytp-large-play-button-bg",T:{d:"M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z",fill:"#212121","fill-opacity":"0.8"}},{I:"path",T:{d:"M 45,24 27,14 27,34",fill:"#fff"}}]}]);var f=
["ytp-cued-thumbnail-overlay"];(b.experiments.o("web_player_contain_thumbnail")||b.gc&&!b.experiments.o("web_player_housebrand_contain_killswitch"))&&f.push("ytp-exp-contain-thumbnail");g.W.call(this,{I:"div",da:f,P:[{I:"div",N:"ytp-cued-thumbnail-overlay-image"},{I:"button",da:d,T:{"aria-label":"\u0421\u043c\u043e\u0442\u0440\u0435\u0442\u044c"},P:e},{I:"div",N:"ytp-cued-thumbnail-overlay-duration",ca:"{{duration}}"}]});c.Ic&&c.Gg&&!b.H&&this.o["ytp-dni-large-play-button-bg"].setAttribute("fill",
c.Gg);this.G=new g.jH(this);g.L(this,this.G);this.B=a;this.J=this.o["ytp-cued-thumbnail-overlay-image"];this.H=this.o["ytp-large-play-button"];this.F=new g.JV(this,250);g.L(this,this.F);this.D=new g.V(this.JD,0,this);g.L(this,this.D);this.JD();this.R(a,"presentingplayerstatechange",this.fP);this.R(a,"ypcStateChanged",this.OU);PN(g.Y(a))&&this.R(a,"videoplayerreset",this.eP)};
g.XV=function(a,b){return rR(b)?(b.fetch=0,new g.qR(a,b)):new g.AP(a,b)};
YV=function(a){g.K.call(this);this.D=a;this.B=new hE(0,0,.4,0,.2,1,1,1);this.A=new g.ov(this.C,window,this);g.L(this,this.A)};
Bta=function(a){var b=!g.Y(a).Qb&&3!=a.getPresentingPlayerType();return a.isFullscreen()||b};
g.ZV=function(a,b,c,d){if((void 0===c||!c)&&g.MV(a))return g.bH(a),!0;b.pauseVideo();a=a.currentTarget.getAttribute("href");g.sV(a,d,!0);return!1};
$V=function(a,b,c){if(iO(g.Y(b))&&2!=b.getPresentingPlayerType()){if(g.MV(c))return b.isFullscreen()&&!g.Y(b).ha&&b.toggleFullscreen(),g.bH(c),!0}else{var d=g.MV(c);d&&b.pauseVideo();g.sV(a,void 0,!0);d&&(g.tV(a),g.bH(c))}return!1};
aW=function(){return{I:"div",N:"ytp-spinner-container",P:[{I:"div",N:"ytp-spinner-rotator",P:[{I:"div",N:"ytp-spinner-left",P:[{I:"div",N:"ytp-spinner-circle"}]},{I:"div",N:"ytp-spinner-right",P:[{I:"div",N:"ytp-spinner-circle"}]}]}]}};
bW=function(a,b){var c=IG("requestAnimationFrame",window);return g.gF(function(){c?c.call(window,a):a()},b||0)};
cW=function(a){if(document.createRange){var b=document.createRange();b.selectNodeContents(a);window.getSelection().removeAllRanges();window.getSelection().addRange(b)}};
dW=function(a,b,c){a=g.Y(a);return a.experiments.o("desktop_player_button_tooltip_with_shortcut")&&!a.Wa?g.wV("$DESCRIPTION ($SHORTCUT)",{DESCRIPTION:b,SHORTCUT:c}):b};
eW=function(a){g.W.call(this,{I:"div",N:"ytp-related-on-error-overlay"});this.Y=this.F=0;this.D=a;this.ba=new g.jH(this);g.L(this,this.ba);a=g.Y(a);this.H=[];this.B=[];this.J=0;this.ha=a.o;this.O=new g.W({I:"h2",N:"ytp-related-title",ca:"{{title}}"});g.L(this,this.O);this.O.A(this.element);this.K=new g.W({I:"div",N:"ytp-suggestions"});g.L(this,this.K);this.K.A(this.element);this.M=new g.W({I:"button",da:["ytp-button","ytp-previous"],T:{"aria-label":"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u0438"},
P:[g.EV()]});g.L(this,this.M);this.M.A(this.element);this.M.X("click",this.wP,this);this.ia=new YV((0,g.A)(this.QD,this));g.L(this,this.ia);this.ea=this.G=0;this.aa=!0;for(var b=0;16>b;b++){var c=new g.W({I:"a",N:"ytp-suggestion-link",T:{href:"{{link}}",target:a.F,"aria-label":"{{aria_label}}"},P:[{I:"div",N:"ytp-suggestion-image",P:[{I:"div",T:{"data-is-live":"{{is_live}}"},N:"ytp-suggestion-duration",ca:"{{duration}}"}]},{I:"div",N:"ytp-suggestion-title",T:{title:"{{hover_title}}"},ca:"{{title}}"},
{I:"div",N:"ytp-suggestion-author",ca:"{{views_or_author}}"}]});g.L(this,c);c.A(this.K.element);var d=c.o["ytp-suggestion-link"];g.Ph(d,"transitionDelay",b/20+"s");this.ba.R(d,"click",g.Na(this.xP,b));this.H.push(c)}this.L=new g.W({I:"button",da:["ytp-button","ytp-next"],T:{"aria-label":"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u0438"},P:[g.FV()]});g.L(this,this.L);this.L.A(this.element);
this.L.X("click",this.vP,this);this.ba.R(this.D,"videodatachange",this.PD);Cta(this,g.PU(this.D).getPlayerSize());this.PD();this.show()};
Cta=function(a,b,c){var d=g.Y(a.D),e=16/9,f=650<=b.width,k=480>b.width||290>b.height,l=Math.min(a.B.length,a.H.length);if(150>=Math.min(b.width,b.height)||0==l||!d.Ia)a.hide();else{var m;if(f){var n=m=28;a.F=16}else n=m=8,a.F=8;if(k){var p=6;f=14;var q=12;k=24;d=12}else p=8,f=18,q=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.F;n=Math.floor(m/e);n+100>c&&50<m&&(n=Math.max(c,50/e),m=Math.ceil(b/(e*(n-100)+a.F)),m=b/m-a.F,n=Math.floor(m/e));50>m?a.hide():a.show();for(c=
0;c<l;c++){e=a.H[c];var u=e.o["ytp-suggestion-image"];u.style.width=m+"px";u.style.height=n+"px";e.o["ytp-suggestion-title"].style.width=m+"px";e.o["ytp-suggestion-author"].style.width=m+"px";e=e.o["ytp-suggestion-duration"];e.style.display=e&&100>m?"none":""}l=f+p+q+4;a.Y=l+d+(n-k)/2;a.K.element.style.height=n+l+"px";a.ea=m;a.J=b;a.G=0;a.QD(0);fW(a)}};
Dta=function(a,b){var c=g.Jd(b,a.J-a.B.length*(a.ea+a.F),0);a.ia.start(a.G,c,1E3);a.G=c;fW(a)};
fW=function(a){a.L.element.style.bottom=a.Y+"px";a.M.element.style.bottom=a.Y+"px";var b=a.G,c=a.J-a.B.length*(a.ea+a.F);g.U(a.element,"ytp-scroll-min",0<=b);g.U(a.element,"ytp-scroll-max",b<=c)};
Fta=function(a){for(var b=0;b<a.B.length;b++){var c=b,d=a.B[b].za();c=a.H[c];var e=d.shortViewCount?d.shortViewCount:d.author,f=g.rh(d.Hm(),{feature:"player_embedded_uturn"});c.element.style.display="";var k=c.o["ytp-suggestion-title"];Wc.test(Vc(d.title,void 0))?k.dir="rtl":Eta.test(Vc(d.title,void 0))&&(k.dir="ltr");k=c.o["ytp-suggestion-author"];Wc.test(Vc(e,void 0))?k.dir="rtl":Eta.test(Vc(e,void 0))&&(k.dir="ltr");k=void 0;d.Da?k="\u0412 \u044d\u0444\u0438\u0440\u0435":k=d.lengthSeconds?g.LV(d.lengthSeconds):
"";c.update({views_or_author:e,duration:k,link:f,hover_title:d.title,title:d.title,aria_label:d.Ql||null,is_live:d.Da});c=c.o["ytp-suggestion-image"];d=d.gd();c.style.backgroundImage=d?"url("+d+")":""}for(;b<a.H.length;b++)a.H[b].element.style.display="none";fW(a)};
gW=function(a,b){g.W.call(this,{I:"canvas",N:"ytp-tv-static"});this.D=this.element.getContext("2d");this.height=this.width=NaN;this.L=null;this.M=this.O=this.G=this.F=0;this.H=-75;this.B=new g.ov(this.K,void 0,this);g.L(this,this.B);this.J=new g.V(this.B.ak,75,this.B);g.L(this,this.J);Gta(this,a,b)};
Hta=function(a){for(var b=Math.floor(.6*a),c=b;c<a;++c){for(var d=!1,e=2;e<Math.sqrt(c);e++){if(!(c%e)){d=!1;break}d=!0}if(d)return c}return b};
Gta=function(a,b,c){if(b&&c){a.width=a.element.width=b;a.height=a.element.height=c;var d=g.ke("CANVAS");d.width=b;d.height=c;for(var e=d.getContext("2d"),f=e.getImageData(0,0,b,c),k=b*c,l=0;l<k;l++){var m=4*l;f.data[m]=f.data[m+1]=f.data[m+2]=Math.floor(35*Math.random());f.data[m+3]=255}e.putImageData(f,0,0);a.L=d;a.O=Hta(b);a.M=Hta(c/10);a.D.scale(1.5,1.5);a.D.fillStyle="rgba(255, 255, 255, 0.02)"}};
hW=function(a){var b=g.Y(a),c=b.o;if(c){var d=new eW(a);b={I:"div",da:["ytp-error","ytp-related-on-error"],T:{role:"alert"},P:[{I:"div",N:"ytp-error-content",P:[{I:"div",N:"ytp-error-icon-container",P:[hta()]},{I:"div",N:"ytp-error-content-wrap",P:[{I:"div",N:"ytp-error-content-wrap-reason",ca:"{{content}}"},{I:"div",N:"ytp-error-content-wrap-subreason",ca:"{{subreason}}"}]}]},{I:"div",N:"ytp-small-redirect",P:[{I:"a",N:"ytp-small-redirect-link",T:{href:qO(b),target:b.F,"aria-label":"\u0412\u0435\u0440\u043d\u0443\u0442\u044c\u0441\u044f \u043d\u0430 YouTube \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u0434\u0440\u0443\u0433\u0438\u0445 \u0432\u0438\u0434\u0435\u043e"},
P:[xta()]}]},d]}}else b={I:"div",da:["ytp-error"],T:{role:"alert"},P:[{I:"div",N:"ytp-error-content",P:[{I:"div",N:"ytp-error-content-wrap",ca:"{{content}}"}]}]};g.W.call(this,b);this.G=c;this.B=a;(this.F=d)&&g.L(this,this.F);this.H=[];if(!this.G)try{this.D=new gW(1,1),g.L(this,this.D),this.D.A(this.element,0)}catch(e){}g.U(this.element,"ytp-controls-on-error",RU(this.B));this.J=1;Ita(this,g.PU(this.B).getPlayerSize())};
Ita=function(a,b){iW(a,function(c){Gta(c,b.width,b.height)});
a.G&&(Jta(a,b),g.U(a.element,"related-on-error-overlay-visible",!a.F.isHidden()))};
Jta=function(a,b){a.o["ytp-error-content"].style.paddingTop="0px";var c=a.o["ytp-error-content"],d=c.clientHeight;Cta(a.F,b,b.height-d);if(g.Y(a.B).H){var e=hta(),f=g.DV?{I:"div",da:["ytp-icon","ytp-icon-youtube-logo-redirect-large"]}:{I:"svg",T:{fill:"#fff",viewBox:"0 0 24 24"},P:[{I:"path",T:{d:"M0 0h24v24H0V0z",fill:"none"}},{I:"path",T:{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=1;480>b.width||290>b.height?(e={I:"div",da:["ytp-icon","ytp-icon-error-exclamation-small"]},f=xta(),k=0):650<=b.width&&(e={I:"div",da:["ytp-icon","ytp-icon-error-exclamation-large"]},f=g.DV?{I:"div",da:["ytp-icon","ytp-icon-youtube-logo-redirect-extra-large"]}:{I:"svg",T:{fill:"#fff",height:"100%",viewBox:"0 0 24 24",width:"100%"},P:[{I:"path",T:{d:"M0 0h24v24H0V0z",fill:"none"}},{I:"path",T:{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.J){e={"ytp-error-icon-container":e,"ytp-small-redirect":f};f=g.r(Object.keys(e));for(var l=f.next();!l.done;l=f.next()){l=l.value;var m=a.o[l];g.oe(m);(new g.W(e[l])).A(m)}a.J=k}}c.style.paddingTop=(b.height-a.F.element.clientHeight)/2-d/2+"px"};
iW=function(a,b){if(a.D)try{b.call(a,a.D)}catch(c){a.D.dispose(),a.D=null}};
Lta=function(a){a=a.split(Kta);for(var b=[],c=0;c<a.length;c+=3){var d=a[c++].split("\n");b.push(d[0]);for(var e=1;e<d.length;e++)b.push({I:"br"}),b.push(d[e]);c<a.length&&b.push({I:"a",T:{href:a[c],target:a[c+1]},ca:a[c+2]})}return{I:"span",P:b}};
jW=function(a,b,c,d,e,f){e||(e=g.Y(a.B).o);a=d?{CPN:a.B.getVideoData().clientPlaybackNonce}:{};b=g.wV(g.nU[b]||"",a).split(/\$(BEGIN|END)_LINK/);a=[];f&&a.push({I:"h2",ca:f});a.push(b[0]);a.push({I:"br"});a.push({I:"a",T:{href:c,target:e?"_blank":null},ca:b[2]});a.push(b[4]);return{I:"span",P:a}};
lW=function(a){g.jH.call(this);this.o=a;this.C=new Set;this.A=navigator.mediaSession;kW(this,"play",function(){a.playVideo()});
kW(this,"pause",function(){a.pauseVideo()});
kW(this,"seekbackward",function(){a.seekBy(-5*a.getPlaybackRate())});
kW(this,"seekforward",function(){a.seekBy(5*a.getPlaybackRate())});
this.R(a,"videodatachange",this.D);this.R(a,"presentingplayerstatechange",this.B);this.D()};
kW=function(a,b,c){a.A.setActionHandler(b,c?(0,g.A)(c,a):null);a.C.add(b)};
mW=function(a){g.W.call(this,{I:"div",N:"ytp-paid-content-overlay",T:{"aria-live":"assertive","aria-atomic":"true"}});this.J=new g.W({I:"div",da:["ytp-button","ytp-paid-content-overlay-text"]});g.L(this,this.J);this.J.A(this.element);this.M=a;this.D=null;this.K=!1;this.G=new g.JV(this.J,250,!1,100);g.L(this,this.G);this.H=this.B=null;this.F={};this.L=0;this.R(a,"videodatachange",this.aa);this.R(a,"presentingplayerstatechange",this.Y)};
Mta=function(a,b){var c=kna(b),d=lna(b);a.B?b.videoId&&b.videoId!=a.D&&(g.uv(a.B),a.D=b.videoId,c=a.F[b.videoId]||0,a.K=!!d&&3E3>c):c&&d&&(a.B=new g.V(a.O,d,a),g.L(a,a.B),g.ye(g.Zd("ytp-paid-content-overlay-text",a.element),c))};
Nta=function(a,b){a.B&&g.X(b,8)&&a.K&&(a.K=!1,a.G.show(),a.L=(0,g.H)(),a.B.start())};
oW=function(a){g.W.call(this,{I:"div",N:"ytp-spinner",P:[aW(),{I:"div",N:"ytp-spinner-message",ca:"\u041f\u043e\u0434\u043e\u0436\u0434\u0438\u0442\u0435 \u043d\u0435\u043c\u043d\u043e\u0433\u043e. \u0415\u0441\u043b\u0438 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0442\u0430\u043a \u0438 \u043d\u0435 \u043d\u0430\u0447\u043d\u0435\u0442\u0441\u044f, \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e."}]});
this.F=this.o["ytp-spinner-message"];this.D=a;this.B=new g.V(this.show,500,this);g.L(this,this.B);this.R(a,"presentingplayerstatechange",this.G);this.R(a,"onFrescaStateChange",this.H);this.R(a,"playbackstalledatstart",this.J);nW(this,g.OU(a))};
nW=function(a,b){if(g.X(b,128))var c=0;else!(c=g.X(b,16))&&(c=g.X(b,1))&&(c=g.LU(a.D).yd,c=!(c&&c.loaded));c?a.B.start():a.hide()};
qW=function(a,b){g.W.call(this,{I:"button",da:["ytp-airplay-button","ytp-button"],T:{title:"AirPlay"},ca:"{{icon}}"});this.B=a;this.X("click",this.F);this.R(a,"airplayactivechange",this.D);this.R(a,"airplayavailabilitychange",this.D);this.D();g.Ff(this,pW(b.Hb(),this.element))};
rW=function(a){g.lQ.call(this,{I:"div",N:"ytp-gradient-bottom"});this.D=g.ke("CANVAS");this.D.width=1;this.B=this.D.getContext("2d");this.F=NaN;Ota(this,g.PU(a).getPlayerSize().height)};
Ota=function(a,b){if(a.B){var c=Math.floor(.4*b);c=Math.max(c,47);var d=c+2;if(a.F!=d){a.F=d;a.D.height=d;a.B.clearRect(0,0,1,d);var e=a.B.createLinearGradient(0,2,0,2+c),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.B.fillStyle=e;a.B.fillRect(0,2,1,c);a.element.style.height=d+"px";a.element.style.backgroundImage="url("+a.D.toDataURL()+")"}}};
Pta=function(a,b,c,d,e){var f=b.Fw/b.rows,k=Math.min(c/(b.Gw/b.columns),d/f),l=b.Gw*k,m=b.Fw*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,q=-b.column*n,u=-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+") "+q+"px "+u+"px/"+l+"px "+m+"px"};
sW=function(a){g.W.call(this,{I:"div",N:"ytp-storyboard-framepreview",P:[{I:"div",N:"ytp-storyboard-framepreview-img"}]});this.J=this.o["ytp-storyboard-framepreview-img"];this.B=a;this.Zd=null;this.G=NaN;this.D=new g.jH(this);g.L(this,this.D);this.F=new g.JV(this,100);g.L(this,this.F);this.R(this.B,"presentingplayerstatechange",this.K)};
tW=function(a,b){var c=!!a.Zd;a.Zd=b;a.Zd?(c||(a.D.R(a.B,"videodatachange",function(){tW(a,a.B.Re())}),a.D.R(a.B,"progresssync",a.L),a.D.R(a.B,"appresize",a.H)),a.G=NaN,uW(a),a.F.show(200)):(c&&g.lH(a.D),a.F.hide(),a.F.stop())};
uW=function(a){var b=a.B.getCurrentTime(),c=g.PU(a.B).getPlayerSize(),d=bP(a.Zd,c.width);b=qma(a.Zd,d,b);b!=a.G&&(a.G=b,pma(a.Zd,b,c.width),b=nma(a.Zd,b,c.width),Pta(a.J,b,c.width,c.height))};
vW=function(a,b){g.W.call(this,{I:"button",da:["ytp-fullerscreen-edu-button","ytp-button"],P:[{I:"div",da:["ytp-fullerscreen-edu-text"],ca:"\u041f\u0440\u043e\u043a\u0440\u0443\u0442\u0438\u0442\u0435 \u044d\u043a\u0440\u0430\u043d \u0432\u043d\u0438\u0437, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e"},{I:"div",da:["ytp-fullerscreen-edu-chevron"],
P:[g.DV?{I:"div",da:["ytp-icon","ytp-icon-chevron-down"]}:{I:"svg",T:{height:"100%",viewBox:"0 0 24 24",width:"100%"},P:[{I:"path",T:{d:"M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z",fill:"#fff"}}]}]}]});fV(a,this.element,this,61214);this.B=a;this.J=b;this.G=new g.JV(this,250,void 0,100);g.L(this,this.G);this.H=this.F=!1;this.R(a,"fullscreentoggled",this.D);this.R(a,"presentingplayerstatechange",this.D);this.X("click",this.K);this.D()};
wW=function(a,b,c,d){d=void 0===d?!1:d;g.lQ.call(this,b);this.ba=a;this.ia=d;this.M=null;this.L=new g.jH(this);g.L(this,this.L);this.aa=new g.JV(this,c,!0,void 0,null,(0,g.A)(this.HK,this));g.L(this,this.aa);this.B=null};
Qta=function(a){a.B&&(document.activeElement&&g.we(a.element,document.activeElement)&&(Ce(a.B),a.B.focus()),a.B.removeAttribute("aria-expanded"),a.B=null);g.lH(a.L);a.M=null};
xW=function(a){return a.C&&4!=a.aa.o};
yW=function(a,b){g.W.call(this,{I:"button",da:["ytp-fullscreen-button","ytp-button"],T:{title:"{{title}}"},ca:"{{icon}}"});this.D=a;this.H=b;this.B=null;this.F=pW(b.Hb(),this.element);this.G=new g.V(this.eK,2E3,this);g.L(this,this.G);this.R(a,"fullscreentoggled",this.cG);this.R(a,"presentingplayerstatechange",this.KD);this.X("click",this.gP);if(LG()){var c=g.PU(this.D);this.R(c,fka(),this.FE);this.R(c,OG(document),this.hP)}g.Y(a).ga||Rta(this);this.KD();this.cG(a.isFullscreen())};
Rta=function(a){if(!a.B){var b=(null!=JG(["requestFullscreen","webkitRequestFullscreen","mozRequestFullScreen","msRequestFullscreen"],document.body)?"\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 \u043f\u043e\u043b\u043d\u043e\u044d\u043a\u0440\u0430\u043d\u043d\u044b\u0439 \u0440\u0435\u0436\u0438\u043c. $BEGIN_LINK\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435...$END_LINK":"\u041f\u043e\u043b\u043d\u043e\u044d\u043a\u0440\u0430\u043d\u043d\u044b\u0439 \u0440\u0435\u0436\u0438\u043c \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0432 \u044d\u0442\u043e\u043c \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435. $BEGIN_LINK\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435...$END_LINK").split(/\$(BEGIN|END)_LINK/);
a.B=new wW(a.D,{I:"div",da:["ytp-popup","ytp-generic-popup"],T:{role:"alert",tabindex:"0"},P:[b[0],{I:"a",T:{href:"https://support.google.com/youtube/answer/6276924",target:g.Y(a.D).F},ca:b[2]},b[4]]},100,!0);a.B.hide();g.L(a,a.B);a.B.subscribe("show",(0,g.A)(a.H.jp,a.H,a.B));g.cV(a.D,a.B.element,4);a.element.setAttribute("aria-disabled",!0);a.element.setAttribute("aria-haspopup",!0);a.F();a.F=null}};
zW=function(a,b){g.W.call(this,{I:"button",da:["ytp-miniplayer-button","ytp-button"],T:{title:"{{title}}"},P:[nta()]});this.B=a;this.D=!1;this.X("click",this.G);this.R(a,"fullscreentoggled",this.F);this.updateValue("title",dW(a,"\u041f\u0440\u043e\u0438\u0433\u0440\u044b\u0432\u0430\u0442\u0435\u043b\u044c \u0432 \u0443\u043c\u0435\u043d\u044c\u0448\u0435\u043d\u043d\u043e\u043c \u0440\u0430\u0437\u043c\u0435\u0440\u0435","i"));g.Ff(this,pW(b.Hb(),this.element));fV(a,this.element,this,62946);this.F()};
AW=function(a){var b={I:"div",N:"ytp-multicam-menu",T:{role:"dialog"},P:[{I:"div",N:"ytp-multicam-menu-header",P:[{I:"div",N:"ytp-multicam-menu-title",P:["\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0440\u0430\u043a\u0443\u0440\u0441",{I:"button",da:["ytp-multicam-menu-close","ytp-button"],T:{"aria-label":"\u0417\u0430\u043a\u0440\u044b\u0442\u044c"},P:[g.GV()]}]}]},{I:"div",N:"ytp-multicam-menu-items"}]};wW.call(this,a,b,250);this.G=new g.jH(this);g.L(this,this.G);this.R(this.o["ytp-multicam-menu-close"],
"click",this.Jb);this.D=a;this.Qa=this.o["ytp-multicam-menu-items"];this.F=[];this.hide()};
BW=function(a,b,c){g.W.call(this,{I:"button",da:["ytp-multicam-button","ytp-button"],T:{title:"\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0440\u0430\u043a\u0443\u0440\u0441","aria-haspopup":"true","data-preview":"{{preview}}","data-tooltip-text":"{{text}}"},P:[g.DV?{I:"div",da:["ytp-icon","ytp-icon-switch-camera"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,T:{d:"M 26,10 22.83,10 21,8 15,8 13.17,10 10,10 c -1.1,0 -2,.9 -2,2 l 0,12 c 0,1.1 .9,2 2,2 l 16,0 c 1.1,0 2,-0.9 2,-2 l 0,-12 c 0,-1.1 -0.9,-2 -2,-2 l 0,0 z m -5,11.5 0,-2.5 -6,0 0,2.5 -3.5,-3.5 3.5,-3.5 0,2.5 6,0 0,-2.5 3.5,3.5 -3.5,3.5 0,0 z",
fill:"#fff"}}]}]});this.H=a;this.F=!1;this.B=b.Hb();this.G=new g.V(this.K,400,this);g.L(this,this.G);this.X("click",(0,g.A)(c.Ff,c,this.element,!1));this.R(a,"presentingplayerstatechange",g.Na(this.D,!1));this.R(a,"videodatachange",this.J);this.D(!0);g.Ff(this,pW(this.B,this.element))};
CW=function(){g.K.call(this);this.D=null;this.B=this.o=0;this.C=new g.ov(this.A,null,this);g.L(this,this.C)};
Sta=function(a,b){if("path"==b.I)return b.T.d;if(b.P)for(var c=0;c<b.P.length;c++){var d=b.P[c];if(d&&!g.v(d)&&(d=Sta(a,d)))return d}};
Vta=function(a,b,c){c=Sta(a,c);var d=b.getElementsByTagName("path")[0],e=d.getAttribute("d");if(d.getAttribute("id")){var f=eQ();b=b.getElementsByTagName("use");for(var k=0;k<b.length;k++)b[k].setAttributeNS("http://www.w3.org/1999/xlink","href","#"+f);d.setAttribute("id",f)}var l=Tta(e),m=Tta(c);DW(a,function(n){d.setAttribute("d",Uta(l,m,n))},200)};
DW=function(a,b,c){a.D=b;a.B=g.GH();a.o=c;a.A()};
Tta=function(a){var b=[];a=a.match(Wta);for(var c=0;c<a.length;c++){var d=parseFloat(a[c]);b.push(isNaN(d)?a[c]:d)}return b};
Uta=function(a,b,c){for(var d="",e=0;e<a.length;e++){var f=a[e];d=g.Ca(f)?d+(f+(b[e]-f)*c):d+f}return d};
EW=function(a,b){var c=g.Y(a);g.W.call(this,{I:"button",da:["ytp-mute-button","ytp-button"],T:c.M?{title:"{{title}}"}:{"aria-disabled":"true","aria-haspopup":"true"},ca:"{{icon}}"});this.updateValue("icon",IV());this.B=a;this.ha=b.Hb();this.K=this.M=this.L=this.Y=NaN;this.J=[];this.H=[];this.G=!1;g.Y(this.B).H||(this.D=new g.gQ({I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"defs",P:[{I:"clipPath",T:{id:"ytp-svg-volume-animation-mask"},P:[{I:"path",T:{d:"m 14.35,-0.14 -5.86,5.86 20.73,20.78 5.86,-5.91 z"}},
{I:"path",T:{d:"M 7.07,6.87 -1.11,15.33 19.61,36.11 27.80,27.60 z"}},{I:"path",N:"ytp-svg-volume-animation-mover",T:{d:"M 9.09,5.20 6.47,7.88 26.82,28.77 29.66,25.99 z"}}]},{I:"clipPath",T:{id:"ytp-svg-volume-animation-slash-mask"},P:[{I:"path",N:"ytp-svg-volume-animation-mover",T:{d:"m -11.45,-15.55 -4.44,4.51 20.45,20.94 4.55,-4.66 z"}}]}]},{I:"path",Ya:!0,da:["ytp-svg-fill","ytp-svg-volume-animation-speaker"],T:{"clip-path":"url(#ytp-svg-volume-animation-mask)",d:"M8,21 L12,21 L17,26 L17,10 L12,15 L8,15 L8,21 Z M19,14 L19,22 C20.48,21.32 21.5,19.77 21.5,18 C21.5,16.26 20.48,14.74 19,14 Z",
fill:"#fff"}},{I:"path",Ya:!0,da:["ytp-svg-fill","ytp-svg-volume-animation-hider"],T:{"clip-path":"url(#ytp-svg-volume-animation-slash-mask)",d:"M 9.25,9 7.98,10.27 24.71,27 l 1.27,-1.27 Z",fill:"#fff"}}]}),g.L(this,this.D),this.aa=this.D.o["ytp-svg-volume-animation-speaker"],this.ma=this.aa.getAttribute("d"),this.J=g.Yd("ytp-svg-volume-animation-mover",this.D.element),this.H=g.Yd("ytp-svg-volume-animation-hider",this.D.element));this.F=null;this.ba=new CW;g.L(this,this.ba);this.O=new CW;g.L(this,
this.O);this.X("click",this.ka);this.R(a,"appresize",this.Nc);this.R(a,"onVolumeChange",this.ia);var d=null;c.M?g.Ff(this,pW(b.Hb(),this.element)):(d="\u0412 \u0432\u0430\u0448\u0435\u043c \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u043d\u0435\u043b\u044c\u0437\u044f \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0433\u0440\u043e\u043c\u043a\u043e\u0441\u0442\u044c \u0437\u0432\u0443\u043a\u0430. $BEGIN_LINK\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435...$END_LINK".split(/\$(BEGIN|END)_LINK/),
d=new wW(a,{I:"span",da:["ytp-popup","ytp-generic-popup"],T:{tabindex:"0"},P:[d[0],{I:"a",T:{href:"https://support.google.com/youtube/?p=noaudio",target:c.F},ca:d[2]},d[4]]},100,!0),g.L(this,d),d.hide(),d.subscribe("show",(0,g.A)(b.jp,b,d)),g.cV(a,d.element,4));this.ea=d;fV(a,this.element,this,28662);this.Nc(g.PU(a).getPlayerSize());Xta(this,a.getVolume(),a.isMuted())};
Xta=function(a,b,c){var d=c?0:b/100,e=g.Y(a.B);if(e.H)d=0==d?IV():0<d&&.5>d?vta():uta(),d!=a.F&&(a.updateValue("icon",d),a.F=d);else{b=0==d?1:50<b?1:0;if(a.L!=b){var f=a.Y;isNaN(f)?Yta(a,b):DW(a.ba,(0,g.A)(function(l){Yta(this,f+(this.L-f)*l)},a),250);
a.L=b}d=0==d?1:0;if(a.K!=d){var k=a.M;isNaN(k)?Zta(a,d):DW(a.O,(0,g.A)(function(l){Zta(this,k+(this.K-k)*l)},a),250);
a.K=d}}e.M&&(e=dW(a.B,"\u041e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0437\u0432\u0443\u043a\u0430","m"),d=dW(a.B,"\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0437\u0432\u0443\u043a","m"),a.updateValue("title",c?d:e),FW(a.ha))};
Yta=function(a,b){a.Y=b;var c=a.ma;b&&(c+=Uta($ta,aua,b));a.aa.setAttribute("d",c)};
Zta=function(a,b){a.M=b;for(var c=20*b,d=0;d<a.J.length;d++)a.J[d].setAttribute("transform","translate("+c+", "+c+")");var e;1==b?e=IV():e=a.D;for(c=0;c<a.H.length;c++)a.H[c].style.display=0==b?"none":"";e!=a.F&&(a.updateValue("icon",e),a.F=e)};
GW=function(a,b){g.W.call(this,{I:"button",da:["ytp-pip-button","ytp-button"],T:{title:"{{title}}"},P:[nta()]});this.B=a;this.updateValue("title","\u041a\u0430\u0440\u0442\u0438\u043d\u043a\u0430 \u0432 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0435");this.X("click",this.D);g.Ff(this,pW(b.Hb(),this.element))};
g.HW=function(a,b){g.W.call(this,{I:"button",da:["ytp-play-button","ytp-button"],T:{title:"{{title}}","aria-label":"{{label}}"},ca:"{{icon}}"});this.B=a;this.D=null;this.H=b.Hb();this.F=new CW;g.L(this,this.F);this.R(a,"fullscreentoggled",this.G);this.R(a,"presentingplayerstatechange",this.J);this.R(a,"videodatachange",this.G);bua(this,g.OU(a));this.X("click",this.K,this);g.Ff(this,pW(b.Hb(),this.element))};
cua=function(a){switch(a){case 1:return ota();case 2:return mta();case 3:return g.HV();case 4:return sta();default:return null}};
bua=function(a,b){var c=g.UP(a.B.getVideoData()),d=!1;if(OQ(b))var e=c?4:2;else g.X(b,2)?(e=3,d=c):e=1;a.element.disabled=d;if(a.D!=e){c=null;switch(e){case 2:c=dW(a.B,"\u041f\u0430\u0443\u0437\u0430","k");break;case 3:c="\u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u044c";break;case 1:c=dW(a.B,"\u0421\u043c\u043e\u0442\u0440\u0435\u0442\u044c","k");break;case 4:c="\u041e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0440\u044f\u043c\u0443\u044e \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u044e"}3==
e?a.update({title:c,label:null,icon:cua(e)}):(a.update({title:c,label:c}),(c=cua(e))&&a.D&&3!=a.D&&!g.Y(a.B).H?Vta(a.F,a.element,c):a.updateValue("icon",c));FW(a.H);a.D=e}};
g.JW=function(a,b,c){if(c){var d="ytp-next-button";var e=kta()}else d="ytp-prev-button",e=pta();g.W.call(this,{I:"a",da:[d,"ytp-button"],T:{title:"{{title}}",href:"{{url}}","data-preview":"{{preview}}","data-tooltip-text":"{{text}}","data-duration":"{{duration}}","aria-disabled":"{{disabled}}","data-next":"{{next}}","data-prev":"{{prev}}"},P:[e]});this.B=a;this.O=b.Hb();this.D=c;this.F=this.J=null;this.M=!1;this.K=this.L=this.G=null;this.H=!1;this.R(a,"fullscreentoggled",this.Hk);this.R(a,"videodatachange",
this.Hk);this.R(a,"onPlaylistUpdate",this.Hk);this.D||this.R(a,"appresize",this.Nc);this.R(a,"mdxpreviousnextchange",function(){IW(this);this.Nc()});
this.Hk()};
dua=function(a){a.F&&a.F.unsubscribe("shuffle",a.Hk,a)};
eua=function(a){return!!a.F&&!a.D&&!!a.J&&!a.J.Da&&3<=a.B.getCurrentTime()&&2!=a.B.getPresentingPlayerType()};
fua=function(a){var b=g.QU(g.LU(a.B));return b?a.D?b.hasNext():b.Wf():!1};
IW=function(a){var b={duration:null,preview:null,text:null,title:null,url:null},c=g.Y(a.B),d=RU(a.B),e=a.D&&g.eV(a.B),f=fua(a),k=a.D&&5==a.B.getPresentingPlayerType(),l=dW(a.B,"\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435","SHIFT+n"),m=dW(a.B,"\u041d\u0430\u0437\u0430\u0434","SHIFT+p");if(k)b.title="\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432\u0438\u0434\u0435\u043e";else if(a.H)b.title="\u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u044c";else if(d){var n=null;
a.F&&(n=a.F.za(a.D?Boa(a.F):Coa(a.F)));if(n){if(n.videoId){var p=a.F.listId;b.url=c.getVideoUrl(n.videoId,p?p.toString():void 0)}b.text=n.title;b.duration=n.lengthSeconds?g.LV(n.lengthSeconds):null;b.preview=n.gd("mqdefault.jpg")}b.title=a.D?l:m}else e&&(a.J.suggestions&&a.J.suggestions.length&&(c=g.XV(c,a.J.suggestions[0]),b.url=c.Hm(),b.text=c.title,b.duration=c instanceof g.AP?g.LV(c.lengthSeconds):null,b.preview=c.gd("mqdefault.jpg")),b.title=l);b.disabled=!e&&!d&&!f&&!k;a.update(b);a.M=!!b.url;
e||d||a.H||f||k?a.G||(a.G=pW(a.O,a.element),a.L=a.X("click",a.sP,a)):a.G&&(a.G(),a.G=null,a.Ka(a.L),a.L=null);FW(a.O)};
gua=function(){this.A=this.position=this.B=this.o=this.D=this.C=this.width=NaN};
g.KW=function(a,b){g.lQ.call(this,{I:"div",N:"ytp-progress-bar-container",T:{"aria-disabled":"true"},P:[{I:"div",da:["ytp-progress-bar",g.Y(a).A?"ytp-mobile":""],T:{tabindex:"0",role:"slider","aria-label":"\u041f\u043e\u043b\u0437\u0443\u043d\u043e\u043a \u043f\u043e\u0438\u0441\u043a\u0430","aria-valuemin":"{{ariamin}}","aria-valuemax":"{{ariamax}}","aria-valuenow":"{{arianow}}","aria-valuetext":"{{arianowtext}}"},P:[{I:"div",N:"ytp-progress-bar-padding"},{I:"div",N:"ytp-progress-list",P:[{I:"div",
da:["ytp-play-progress","ytp-swatch-background-color"]},{I:"div",N:"ytp-load-progress"},{I:"div",N:"ytp-hover-progress"},{I:"div",N:"ytp-clip-start-exclude"},{I:"div",N:"ytp-clip-end-exclude"},{I:"div",N:"ytp-ad-progress-list"},{I:"div",N:"ytp-marker-crenellation-list"},{I:"div",N:"ytp-marker-progress-list"}]},{I:"div",N:"ytp-marker-icons"},{I:"div",N:"ytp-scrubber-container",P:[{I:"div",da:["ytp-scrubber-button","ytp-swatch-background-color"],P:[{I:"div",N:"ytp-scrubber-pull-indicator"}]}]}]},{I:"div",
N:"ytp-bound-time-left",ca:"{{boundTimeLeft}}"},{I:"div",N:"ytp-bound-time-right",ca:"{{boundTimeRight}}"},{I:"div",N:"ytp-clip-start",T:{title:"\u041f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432\u0438\u0434\u0435\u043e \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e"},ca:"{{clipstarticon}}"},{I:"div",N:"ytp-clip-end",T:{title:"\u041f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432\u0438\u0434\u0435\u043e \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e"},
ca:"{{clipendicon}}"}]});this.updateValue("clipstarticon",gta());this.updateValue("clipendicon",fta());this.B=a;this.ya=b.Hb();this.Wa=!1;this.G=this.Oa=0;this.ha=1;this.fd=this.L=0;this.F=null;this.Qb=!1;this.M=this.Aa=0;this.Nd=this.o["ytp-ad-progress-list"];this.Od=this.o["ytp-marker-progress-list"];this.sd=this.o["ytp-marker-icons"];this.Pb=this.o["ytp-marker-crenellation-list"];this.ba={};this.xa={};this.aa={};this.ia=[];this.O=Infinity;var c=b.Hb();this.ka=this.o["ytp-clip-end"];g.Ff(this,pW(c,
this.ka));this.Fa=new g.qH(this.ka,!0);g.L(this,this.Fa);this.Fa.subscribe("hoverstart",this.vE,this);this.Fa.subscribe("hoverend",this.uE,this);this.R(this.ka,"click",this.qr);this.Ab=this.o["ytp-clip-end-exclude"];this.qd=this.o["ytp-clip-start-exclude"];this.Y=0;this.ma=this.o["ytp-clip-start"];g.Ff(this,pW(c,this.ma));this.Ia=new g.qH(this.ma,!0);g.L(this,this.Ia);this.Ia.subscribe("hoverstart",this.vE,this);this.Ia.subscribe("hoverend",this.uE,this);this.R(this.ma,"click",this.qr);this.cd=this.o["ytp-load-progress"];
this.sa=0;this.td=this.o["ytp-play-progress"];this.tc=this.o["ytp-hover-progress"];this.K=0;this.ed=this.o["ytp-progress-bar"];this.H=null;this.ae=this.o["ytp-scrubber-button"];this.kf=this.o["ytp-scrubber-container"];this.La=new g.Od;this.Zb=new gua;this.D=new NV(0,0);this.J=this.Sa=!1;this.yc=null;this.jb=new g.jH(this);g.L(this,this.jb);this.R(a,"presentingplayerstatechange",this.wL);this.R(a,"videodatachange",this.ND);this.R(a,"videoplayerreset",this.vL);this.R(a,"cuerangesadded",this.PG);this.R(a,
"cuerangesremoved",this.jV);this.R(a,"cuerangemarkersupdated",this.PG);this.R(a,"onPlaybackQualityChange",this.BL);hua(this,a.getVideoData(),!0)};
jua=function(a){if(a.G){var b=a.B.getProgressState(),c=new NV(b.seekableStart,b.seekableEnd),d=PV(c,b.loaded,0);b=PV(c,b.current,0);var e=a.D.A!=c.A||a.D.o!=c.o;a.D=c;LW(a,b,d);e&&g.MW(a);iua(a)}};
hua=function(a,b,c){c=void 0===c?!1:c;var d=!!b&&b.isValid();a.Sa=d&&b.allowLiveDvr;kua(a,a.B.Jc());c&&(d?(c=b.clipEnd,a.Y=b.clipStart,a.O=c,NW(a),LW(a,a.K,a.sa)):a.qr(),b=a.ya,1==b.D&&b.We());jua(a)};
lua=function(a){return!!a&&a.isValid()&&!!a.Ca&&a.Ca.video.isAccelerated&&a.Ca.video.C};
OW=function(a,b){a.Qb=b;g.U(a.cd,"ytp-fast-load",b)};
mua=function(a,b,c,d){b=g.Jd(b,0,a.J?60:40);a.L=b;var e=a.ha,f=Math.max(a.D.getLength()/a.G,1);a.ha=b/(a.J?60:40)*(f-1)+1;b=a.G*a.ha;a.M=g.Jd(d*b-c,0,b-a.G);e!=a.ha&&g.MW(a)};
g.MW=function(a){var b=PW(a),c=-b.C/b.o,d=(-b.C+b.width)/b.o,e=se(a.Pb),f=0;if(a.L>.2*(a.J?60:40)){var k=c*(a.D.getLength()/60),l=d*(a.D.getLength()/60);for(k=Math.ceil(k);k<l;k++){var m=e[f];m||(m=g.ke("DIV"),a.Pb.appendChild(m));f++;m.className=0==k%60?"ytp-60m-progress":0==k%30?"ytp-30m-progress":0==k%15?"ytp-15m-progress":"ytp-1m-progress";var n=(60*k/a.D.getLength()-c)*b.o;m.style.left=n+"px"}}b=a.Sa?a.D.o:0;a.update({boundTimeLeft:g.LV(OV(a.D,c)-b),boundTimeRight:g.LV(OV(a.D,d)-b)});for(c=e.length-
1;c>=f;c--)g.qe(e[c]);a.element.style.height=a.L+(a.J?8:5)+"px";a.U("height-change",a.L);a.ae.style.height=a.L+(a.J?20:13)+"px";for(var p in a.ba)nua(a,p);QW(a);NW(a);LW(a,a.K,a.sa)};
PW=function(a){var b=a.La.x,c=a.G*a.ha;b=g.Jd(b,0,a.G);a.Zb.update(b,a.G,-a.M,-(c-a.M-a.G));return a.Zb};
LW=function(a,b,c){a.K=b;a.sa=c;var d=PW(a),e=a.D.o,f=OV(a.D,a.K);a.update({ariamin:Math.floor(a.D.A),ariamax:Math.floor(e),arianow:Math.floor(f),arianowtext:g.wV("$PLAY_PROGRESS (\u043e\u0431\u0449\u0430\u044f \u0434\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c $DURATION)",{PLAY_PROGRESS:g.LV(f),DURATION:g.LV(e)})});e=PV(a.D,a.Y,0);var k=PV(a.D,a.O,1);f=g.Jd(b,e,k);c=a.Qb?1:g.Jd(c,e,k);g.Ph(a.kf,"transform","translateX("+(b*d.o+d.C)+"px)");RW(a,a.td,d,e,f);RW(a,a.cd,d,e,c)};
oua=function(a,b,c){b=Math.max(c*b.o+b.C,0);a.style.left=b+"px";return b};
RW=function(a,b,c,d,e,f){f=void 0===f?!1:f;oua(b,c,d);d=g.Jd((e-d)*c.o+c.C,0,c.width);f||g.Y(a.B).A?b.style.width=d+"px":g.Ph(b,"transform","scalex("+(c.width?d/c.width:0)+")")};
NW=function(a){var b=a.Y>a.D.A,c=0<a.D.o&&a.O<a.D.o;g.U(a.element,"ytp-clip-start-enabled",b);g.U(a.element,"ytp-clip-end-enabled",c);b=b?PV(a.D,a.Y,0):0;c=c?PV(a.D,a.O,1):1;a.ma.style.left=Math.round(1E3*b)/10+"%";a.ka.style.left=Math.round(1E3*c)/10+"%";a.qd.style.width=Math.round(1E3*b)/10+"%";a.Ab.style.left=Math.round(1E3*c)/10+"%";a.Ab.style.width=Math.round(1E3*(1-c))/10+"%"};
QW=function(a){for(var b=0;b<a.ia.length;b++){for(var c=a.aa[a.ia[b].getId()],d=Number(c.getAttribute("data-left"))-24,e=!1,f=b-1;0<=f;f--){var k=a.aa[a.ia[f].getId()];if("none"!=k.style.display){Number(k.getAttribute("data-left"))>d&&(e=!0);break}}c.style.display=e?"none":""}};
iua=function(a){var b=PW(a);RW(a,a.tc,b,a.K,b.A);g.U(a.tc,"ytp-hover-progress-light",b.A>a.K)};
nua=function(a,b){var c=a.ba[b],d=a.xa[b],e=PW(a),f=PV(a.D,c.start/1E3,0),k=yoa(c,a.J),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=PV(a.D,c.end/1E3,1),l!=Number.POSITIVE_INFINITY&&(f=g.Jd(f,0,m-l)),m=Math.min(m,f+l)}c.color&&(d.style.background=c.color);RW(a,d,e,f,m,!0);(c=a.aa[b])&&c.setAttribute("data-left",oua(c,e,f))};
pua=function(a,b){var c=b.getId();if(a.ba[c]==b){g.qe(a.xa[c]);delete a.ba[c];delete a.xa[c];var d=a.aa[c];d&&(g.qe(d),delete a.aa[c],c=a.ia,d=g.rb(c,b,g.mR),0<=d&&g.cb(c,d))}};
kua=function(a,b){b?a.H||(a.element.removeAttribute("aria-disabled"),a.H=new g.qH(a.ed,!0),a.H.subscribe("hovermove",a.aT,a),a.H.subscribe("hoverend",a.ZS,a),a.H.subscribe("dragstart",a.YS,a),a.H.subscribe("dragmove",a.cT,a),a.H.subscribe("dragend",a.bT,a),a.yc=a.X("keydown",a.uP)):a.H&&(a.element.setAttribute("aria-disabled",!0),a.Ka(a.yc),a.H.cancel(),a.H.dispose(),a.H=null)};
g.SW=function(a,b){var c=g.oQ({role:"menuitemcheckbox","aria-checked":"false"});g.nQ.call(this,c,b,a,{I:"div",N:"ytp-menuitem-toggle-checkbox"});this.D=!1;this.X("click",this.M)};
g.TW=function(a,b){a.D=b;a.element.setAttribute("aria-checked",a.D)};
UW=function(a,b){g.SW.call(this,"\u0410\u043d\u043d\u043e\u0442\u0430\u0446\u0438\u0438",5);this.G=b;this.F=a;this.B=!1;this.R(a,"videodatachange",this.H);this.R(a,"onApiChange",this.H);this.subscribe("select",this.J,this);this.H()};
VW=function(a,b,c,d,e){var f={I:"div",N:"ytp-panel"};if(c){var k="ytp-panel-title";var l={I:"div",N:"ytp-panel-header",P:[{I:"button",da:["ytp-button",k],P:[c]}]};if(e){var m="ytp-panel-options";l.P.push({I:"button",da:["ytp-button",m],P:[d]})}f.P=[l]}g.lQ.call(this,f);this.ha=b;b.A(this.element);this.ma=!1;c&&(this.R(this.o[k],"click",this.xa),this.ma=!0,e&&this.R(this.o[m],"click",e));b.subscribe("size-change",this.sa,this);this.R(a,"fullscreentoggled",this.sa)};
g.WW=function(a,b,c,d,e){b=void 0===b?null:b;var f={role:"menu"};b&&(f.id=b);b=new g.lQ({I:"div",N:"ytp-panel-menu",T:f});VW.call(this,a,b,c,d,e);this.J=b;g.L(this,this.J);this.Qa=[]};
g.XW=function(a,b,c){if(void 0===c?0:c)a.Qa.push(b),a.J.element.appendChild(b.element);else{c=g.rb(a.Qa,b,qua);if(0<=c)return;c=~c;g.lb(a.Qa,c,0,b);pe(a.J.element,b.element,c)}b.subscribe("size-change",a.ia,a);a.J.U("size-change")};
g.YW=function(a,b){b.unsubscribe("size-change",a.ia,a);a.la()||(g.db(a.Qa,b),a.J.element.removeChild(b.element),a.J.U("size-change"))};
g.ZW=function(a){for(var b=g.r(a.Qa),c=b.next();!c.done;c=b.next())c.value.unsubscribe("size-change",a.ia,a);a.Qa=[];g.oe(a.J.element);a.J.U("size-change")};
qua=function(a,b){return b.priority-a.priority};
g.$W=function(a,b,c,d,e,f){var k=g.oQ({"aria-haspopup":"true"});g.nQ.call(this,k,b,a);this.D=d;this.L=!1;this.H=null;this.F={};this.J=new g.WW(c,void 0,a,e,f);g.L(this,this.J);this.X("keydown",this.yP);this.X("click",this.open)};
g.aX=function(a,b){g.ZW(a.J);for(var c={},d=!1,e=0;e<b.length;e++){var f=b[e],k=a.F[f],l=f==a.H;l&&(d=!0);k&&k.priority==-e?(l=a,g.mQ(l.F[f],l.wf(f,!0)),delete a.F[f]):k=a.Dt(f,-e,l);c[f]=k;g.XW(a.J,k,!0)}d||(a.H=null);for(var m in a.F)a.F[m].dispose();a.F=c};
bX=function(a,b){g.$W.call(this,"\u0417\u0432\u0443\u043a\u043e\u0432\u0430\u044f \u0434\u043e\u0440\u043e\u0436\u043a\u0430",2,a,b);this.B=a;this.M=new g.W({I:"div",P:[{I:"span",ca:"\u0417\u0432\u0443\u043a\u043e\u0432\u0430\u044f \u0434\u043e\u0440\u043e\u0436\u043a\u0430"},{I:"span",N:"ytp-menuitem-label-count",ca:"{{content}}"}]});g.mQ(this,this.M);this.O={};this.R(a,"videodatachange",this.K);this.R(a,"onPlaybackAudioChange",this.K);this.K()};
cX=function(a,b){g.SW.call(this,"\u0410\u0432\u0442\u043e\u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435",6);this.J=b;this.B=a;this.G=!1;this.F=[];this.R(a,"presentingplayerstatechange",this.H);this.subscribe("select",this.L,this);this.H()};
g.dX=function(a,b){wW.call(this,a,{I:"div",da:["ytp-popup",b||null]},100,!0);this.F=[];this.size=new g.Qd(0,0);this.H=this.J=null;this.O=this.Y=0;this.X("keydown",this.kP)};
rua=function(a){g.gi(a.element,a.Y||"100%",a.O||"100%");var b=eX(a);b.element.style.width="";b.element.style.height="";b.element.style.maxWidth="100%";b.element.style.maxHeight="100%";b.ha.element.style.height="";var c=g.hi(b.element);c.width+=1;c.height+=1;b.element.style.width=c.width+"px";b.element.style.height=c.height+"px";b.element.style.maxWidth="";b.element.style.maxHeight="";var d=0;b.ma&&(d=g.hi(b.o["ytp-panel-header"]).height);b.ha.element.style.height=c.height-d+"px";a.size=c};
g.gX=function(a,b){var c=a.F[a.F.length-1];a.F.push(b);fX(a,c,b)};
g.hX=function(a){var b=a.F.pop(),c=a.F[0];a.F=[c];fX(a,b,c,!0)};
fX=function(a,b,c,d){sua(a);eX(a);g.zr(c.element,"ytp-panel-animate-back")||g.zr(c.element,"ytp-panel-animate-forward");b&&(b.unsubscribe("size-change",a.ul,a),b.unsubscribe("back",a.le,a));c.subscribe("size-change",a.ul,a);c.subscribe("back",a.le,a);if(a.C){g.T(c.element,d?"ytp-panel-animate-back":"ytp-panel-animate-forward");c.A(a.element);c.focus();a.element.scrollLeft=0;a.element.scrollTop=0;var e=a.size;rua(a);g.gi(a.element,e);a.J=new g.V(g.Na(a.RV,b,c,d),20,a);a.J.start()}else c.A(a.element),
b&&g.jQ(b)};
eX=function(a){return a.F[a.F.length-1]};
sua=function(a){a.J&&g.tv(a.J);a.H&&g.tv(a.H)};
iX=function(a,b){g.$W.call(this,"\u041a\u0430\u0447\u0435\u0441\u0442\u0432\u043e",1,a,b);g.T(this.J.element,"ytp-quality-menu");this.B=a;this.K={};this.G="unknown";this.R(a,"videodatachange",this.Bn);this.R(a,"videoplayerreset",this.Bn);this.R(a,"onPlaybackQualityChange",this.OD);this.Bn()};
tua=function(a,b,c){a=a.K[b];var d=g.TK[b];d=a?a.qualityLabel:d?d+"p":"\u0410\u0432\u0442\u043e\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430";c={I:"span",da:c,P:[]};a&&a.isAccelerated&&a.C&&c.P.push({I:"div",N:"ytp-menuitem-badge-container",P:[{I:"svg",T:{fill:"#00838f",height:"11px",viewBox:"0 0 48 48",width:"11px"},P:[{I:"path",T:{d:"M0 0v48h48V0H0zm10.6 30.64L4 24.05l6.69-6.69 6.6 6.59-6.69 6.69zM24 44l-6.7-6.7 13.35-13.35-13.32-13.28L24 4l20 20-20 20z"}},{I:"path",T:{d:"M 24,44 44,24 24,4 17.33,10.67 30.65,23.95 17.3,37.3 z M 10.6,30.64 17.29,23.95 10.69,17.36 4,24.05 z",
fill:"#fff"}}]}]});c.P.push(d);var e;"highres"==b?e="8K":"hd2880"==b?e="5K":"hd2160"==b?e="4K":0==b.indexOf("hd")&&(e="HD");e&&(c.P.push(" "),c.P.push({I:"sup",N:"ytp-swatch-color",ca:e}));return c};
jX=function(a,b,c){g.W.call(this,{I:"button",da:["ytp-button","ytp-settings-button"],T:{"aria-haspopup":"true","aria-owns":eQ(),title:"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438"},P:[g.rta()]});this.F=c;this.B=a;this.G=!0;this.X("click",this.H);this.R(a,"onPlaybackQualityChange",this.D);this.R(a,"videodatachange",this.D);this.R(a,"webglsettingschanged",this.D);this.R(a,"appresize",this.Nc);g.Ff(this,pW(b.Hb(),this.element));this.D();this.Nc(g.PU(a).getPlayerSize())};
kX=function(a,b){a.G=!!b;a.Nc(g.PU(a.B).getPlayerSize())};
lX=function(a,b,c,d,e,f,k){g.W.call(this,{I:"div",N:"ytp-slider-section",T:{role:"slider","aria-valuemin":"{{minvalue}}","aria-valuemax":"{{maxvalue}}","aria-valuenow":"{{valuenow}}","aria-valuetext":"{{valuetext}}"},P:[{I:"div",N:"ytp-slider",P:[{I:"div",N:"ytp-slider-handle",T:{tabindex:"0"}}]}]});this.D=c;this.H=d;this.K=this.H-this.D;this.aa=e;this.ba=f;this.F=this.o["ytp-slider"];this.L=this.o["ytp-slider-handle"];this.Y=a;this.M=b;this.B=k?k:c;this.O=new g.qH(this.F,!0);g.L(this,this.O);this.O.subscribe("dragmove",
this.RT,this);this.R(this.element,"keydown",this.UT);this.R(this.element,"wheel",this.uS);this.Tm()};
nX=function(a){var b=a.getAvailablePlaybackRates(),c=a.getPlaybackRate();lX.call(this,.05,.05,b[0],b[b.length-1],150,20,c);g.T(this.F,"ytp-speedslider");this.J=a;this.G=g.ke("P");g.T(this.G,"ytp-speedslider-text");a=this.G;b=this.F;b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling);this.ea=zaa(this.ha,this);mX(this);this.R(this.J,"onPlaybackRateChange",this.ia)};
mX=function(a){a.G.innerText=oX(a.B)+"x"};
oX=function(a){a=parseFloat(a.toFixed(2));var b=Math.floor(100*(a+.001)%5+2E-15),c=a;0!=b&&(c=a-.01*b);return parseFloat(c.toFixed(2))};
pX=function(a){g.lQ.call(this,{I:"div",N:"ytp-speedslider-component",T:{tabindex:"0"}});this.B=new nX(a);this.element.appendChild(this.B.element)};
uua=function(a){VW.call(this,a,new pX(a),"\u0414\u0440\u0443\u0433\u0430\u044f")};
qX=function(a,b){g.Y(a).experiments.o("web_player_finer_playback_speeds")?g.$W.call(this,"\u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c",4,a,b,"\u0414\u0440\u0443\u0433\u0430\u044f",function(){return g.gX(b,new uua(a))}):g.$W.call(this,"\u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c",4,a,b);
this.B=a;this.O=null;this.M=this.B.getAvailablePlaybackRates();this.K=this.G=null;this.R(a,"presentingplayerstatechange",this.SD);this.SD()};
vua=function(a,b){var c=rX(b);a.F[c]?a.xf(c):b==a.K&&a.G&&(a.xf(a.G),a.Kb(b.toString()))};
xua=function(a){g.aX(a,a.M.map(rX));a.G=null;a.K=null;var b=a.B.getPlaybackRate();a.M.includes(b)||(wua(a,b),g.$W.prototype.ld.call(a,a.G))};
wua=function(a,b){a.K=b;a.G=g.wV("\u0418\u0437\u043c\u0435\u043d\u0435\u043d\u043d\u0430\u044f ($CURRENT_CUSTOM_SPEED)",{CURRENT_CUSTOM_SPEED:b.toString()});var c=a.M.map(rX);c.unshift(a.G);g.aX(a,c)};
rX=function(a){return a.toString()};
sX=function(a){var b=null;try{b=a.toLocaleString("ru",{style:"percent"})}catch(c){b=a.toLocaleString(void 0,{style:"percent"})}return b};
tX=function(a,b,c,d){var e=new g.WW(b,void 0,"\u0412\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 \u0441\u0442\u0438\u043b\u044c \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u043e\u0432");g.$W.call(this,d.text||"",a,b,c,"\u0412\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 \u0441\u0442\u0438\u043b\u044c \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u043e\u0432",function(){return g.gX(c,e)});
g.T(this.element,"ytp-subtitles-options-menu-item");this.M=d.option.toString();a=d.options;this.O=g.wb(a,this.VD,this);this.K=e;g.L(this,this.K);b=new g.nQ({I:"div",N:"ytp-menuitemtitle",ca:"\u0415\u0441\u043b\u0438 \u0432 \u0432\u0438\u0434\u0435\u043e \u0437\u0430\u0434\u0430\u043d\u044b \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u043e\u0432, \u043e\u043d\u0438 \u0438\u043c\u0435\u044e\u0442 \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442."},
0);g.L(this,b);g.XW(this.K,b,!0);this.G=new g.nQ({I:"div",N:"ytp-menuitem",T:{role:"menuitemradio",tabindex:"0"},P:[{I:"div",N:"ytp-menuitem-label",ca:"\u0412\u041a\u041b"}]},-1);g.L(this,this.G);g.XW(this.K,this.G,!0);this.R(this.G.element,"click",g.Na(this.WD,!0));this.B=new g.nQ({I:"div",N:"ytp-menuitem",T:{role:"menuitemradio",tabindex:"0"},P:[{I:"div",N:"ytp-menuitem-label",ca:"\u0412\u042b\u041a\u041b"}]},-2);g.L(this,this.B);g.XW(this.K,this.B,!0);this.R(this.B.element,"click",g.Na(this.WD,
!1));g.aX(this,(0,g.I)(a,this.VD))};
vX=function(a,b){g.WW.call(this,a,void 0,"\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b");this.B={};for(var c=0;c<g.uX.length;c++){var d=g.uX[c],e=new tX(-c,a,b,d);g.L(this,e);e.subscribe("settingChange",this.D,this);this.B[d.option.toString()]=e;g.XW(this,e,!0)}c=new g.nQ(g.oQ(),-g.uX.length,"\u0421\u0431\u0440\u043e\u0441\u0438\u0442\u044c");g.L(this,c);c.X("click",(0,g.A)(this.D,this,"reset",!0));g.XW(this,c,!0)};
yua=function(a,b){for(var c in b){var d=a.B[c];if(d){var e=b[c].toString(),f=!!b[c+"Override"];d.F[e]&&(d.xf(e),d.G.element.setAttribute("aria-checked",!f),d.B.element.setAttribute("aria-checked",f))}}};
wX=function(a,b){g.$W.call(this,"\u041f\u0435\u0440\u0435\u0432\u0435\u0441\u0442\u0438",0,a,b);this.B={}};
xX=function(a,b){var c=new vX(a,b);g.$W.call(this,"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044b",3,a,b,"\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b",function(){return g.gX(b,c)});
this.B=a;this.G={};this.O=new g.V(g.Na(this.UD,!1),3E3,this);g.L(this,this.O);this.Y=new g.W({I:"div",P:[{I:"span",ca:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044b"},{I:"span",N:"ytp-menuitem-label-count",ca:"{{content}}"}]});g.L(this,this.Y);g.mQ(this,this.Y);this.K=new wX(a,b);g.L(this,this.K);this.K.subscribe("select",this.KP,this);this.M=c;g.L(this,this.M);this.M.subscribe("settingChange",this.JP,this);b.subscribe("show",this.JT,this);this.R(a,"videodatachange",this.Cn);this.R(a,"onApiChange",
this.Cn);this.R(a,"onCaptionsTrackListChanged",this.Cn);this.R(a,"captionschanged",this.Cn);this.Cn()};
yX=function(a){g.dX.call(this,a,"ytp-settings-menu");this.D=a;this.G=new g.WW(a);g.L(this,this.G);this.K=null;this.ha=!1;this.hide();g.gX(this,this.G)};
zX=function(a){if(!a.ha){a.ha=!0;var b=new iX(a.D,a);g.L(a,b);b=new xX(a.D,a);g.L(a,b);b=new UW(a.D,a);g.L(a,b);g.Y(a.D).xa&&(b=new qX(a.D,a),g.L(a,b));g.Y(a.D).ae&&(b=new cX(a.D,a),g.L(a,b));b=new bX(a.D,a);g.L(a,b);kX(a.K,a.G.Qa.length)}};
g.AX=function(a,b){zX(a);g.XW(a.G,b);kX(a.K,a.G.Qa.length)};
g.BX=function(a,b){a.C&&1>=a.G.Qa.length&&a.hide();g.YW(a.G,b);kX(a.K,a.G.Qa.length)};
zua=function(a,b){a.K=b;a.element.id=b.element.getAttribute("aria-owns")};
CX=function(a,b,c){g.W.call(this,{I:"button",N:"ytp-button",T:{title:"\u0412\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0441\u0442\u0438 \u043d\u0430 \u0442\u0435\u043b\u0435\u0432\u0438\u0437\u043e\u0440\u0435","aria-haspopup":"true"},ca:"{{icon}}"});this.B=a;this.G=c;this.F=null;this.R(a,"onMdxReceiversChange",this.D);this.R(a,"presentingplayerstatechange",this.D);this.R(a,"appresize",this.D);this.D();this.X("click",this.H,this);g.Ff(this,pW(b.Hb(),this.element))};
DX=function(a,b){g.W.call(this,{I:"button",da:["ytp-size-button","ytp-button"],T:{title:"{{title}}"},ca:"{{icon}}"});this.B=a;this.G=b.Hb();this.F=null;this.H=new CW;g.L(this,this.H);this.R(a,"sizestylechange",this.D);this.R(a,"fullscreentoggled",this.D);this.R(a,"presentingplayerstatechange",this.D);this.D();this.X("click",this.J);g.Ff(this,pW(this.G,this.element))};
EX=function(a,b){g.W.call(this,{I:"button",da:["ytp-subtitles-button","ytp-button"],T:{"aria-pressed":"{{pressed}}",title:dW(a,"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044b","c")},P:[tta()]});this.D=a;this.R(a,"videodatachange",this.B);this.R(a,"appresize",this.B);this.R(a,"onApiChange",this.B);this.R(a,"onCaptionsTrackListChanged",this.B);this.R(a,"captionschanged",this.B);this.B();this.X("click",this.F);g.Ff(this,pW(b.Hb(),this.element))};
g.FX=function(a,b){g.W.call(this,{I:"div",da:["ytp-time-display","notranslate"],P:[{I:"span",N:"ytp-time-current",ca:"{{currenttime}}"},{I:"span",N:"ytp-time-separator",ca:" / "},{I:"span",N:"ytp-time-duration",ca:"{{duration}}"}]});this.B=new g.W({I:"button",da:["ytp-live-badge","ytp-button"],T:{disabled:"true"},ca:"{{content}}"});this.B.Kb("\u0412 \u044d\u0444\u0438\u0440\u0435");g.L(this,this.B);this.B.A(this.element);this.F=a;this.M=b.Hb();this.D=null;this.G=!1;this.K=null;this.L=!1;this.J=this.H=
null;this.X("click",this.O);this.R(a,"presentingplayerstatechange",this.Ge);this.R(a,"appresize",this.Ge);this.R(a,"videodatachange",this.Y);var c=a.getVideoData();c&&Aua(this,c);this.Ge()};
Aua=function(a,b){a.G=b.Da;a.L=b.isPremiere;g.U(a.element,"ytp-live",a.G)};
HX=function(a,b,c){g.W.call(this,{I:"div",N:"ytp-volume-panel",T:{role:"slider","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":"{{valuenow}}","aria-valuetext":"{{valuetext}}",tabindex:"0"},P:[{I:"div",N:"ytp-volume-slider",P:[{I:"div",N:"ytp-volume-slider-handle"}]}]});this.B=a;this.J=b;this.Y=c;this.M=!1;this.K=b.Yc();this.ba=this.G=0;this.aa=this.o["ytp-volume-slider"];this.ea=this.o["ytp-volume-slider-handle"];this.L=new g.qH(this.aa,!0);g.L(this,this.L);this.L.subscribe("dragstart",
this.TT,this);this.L.subscribe("dragmove",this.ST,this);this.L.subscribe("dragend",this.QT,this);this.O=null;this.D=this.F=this.H=!1;this.R(a,"onVolumeChange",this.NP);this.R(a,"appresize",this.Nc);this.R(a,"fullscreentoggled",this.LP);this.R(a,"onShowControls",this.BA);this.R(a,"onHideControls",this.BA);this.R(this.element,"keydown",this.VT);this.R(this.element,"focus",g.Na(this.XD,!0));this.R(this.element,"blur",g.Na(this.XD,!1));this.Nc(g.PU(a).getPlayerSize());GX(this,a.getVolume(),a.isMuted())};
GX=function(a,b,c){var d=Math.floor(b),e=d+"% \u0433\u0440\u043e\u043c\u043a\u043e\u0441\u0442\u044c"+(c?" \u0437\u0432\u0443\u043a \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d":"");c=c?0:b/100;a.updateValue("valuenow",d);a.updateValue("valuetext",e);a.ea.style.left=(a.K?60:40)*c+"px";a.G=b};
IX=function(a,b,c,d,e){var f=a.F||a.H||a.D||a.M;a.F=b;a.H=c;a.D=d;a.M=e;b=a.F||a.H||a.D||a.M;f!=b&&(b?a.O=a.R(a.element,"wheel",a.MP):(a.Ka(a.O),a.O=null),g.U(a.Y,"ytp-volume-slider-active",b))};
JX=function(a,b){var c=g.Y(a),d=fO(c);0==d.indexOf("www.")&&(d=d.substring(4));var e=["ytp-youtube-button","ytp-button","yt-uix-sessionlink"],f="gaming"==c.playerStyle;f&&e.push("ytp-youtube-gaming-button");g.W.call(this,{I:"a",da:e,T:{href:"{{url}}",target:c.F,title:g.wV("\u0421\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u044d\u0442\u043e \u0432\u0438\u0434\u0435\u043e \u043d\u0430\u00a0$WEBSITE",{WEBSITE:d}),"data-sessionlink":"feature=player-button"},P:[f?g.DV?{I:"div",da:["ytp-icon","ytp-icon-logo-gaming"]}:
{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 122 36",width:"100%"},P:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"M 45.32 10 L 45.32 25.81 L 47.39 25.81 L 47.64 24.75 L 47.68 24.75 C 47.87 25.13 48.17 25.43 48.56 25.65 C 48.95 25.87 49.37 25.98 49.84 25.98 C 50.69 25.98 51.32 25.59 51.72 24.81 C 52.12 24.03 52.32 22.81 52.32 21.15 L 52.32 19.39 C 52.34 18.13 52.26 17.15 52.11 16.44 C 51.96 15.74 51.72 15.23 51.38 14.91 C 51.04 14.60 50.57 14.44 49.98 14.44 C 49.52 14.44 49.08 14.57 48.68 14.83 C 48.48 14.96 48.31 15.11 48.15 15.29 C 48.00 15.46 47.86 15.65 47.75 15.86 L 47.74 15.86 L 47.74 10 L 45.32 10 z M 94.83 10.25 C 93.91 10.25 93.48 10.61 93.48 11.81 C 93.48 13.05 93.91 13.35 94.83 13.35 C 95.77 13.35 96.19 13.05 96.19 11.81 C 96.19 10.66 95.78 10.25 94.83 10.25 z M 67.44 10.31 C 64.14 10.31 63.40 12.21 63.40 16.34 L 63.40 20.15 C 63.40 24.06 64.21 26.00 66.56 26.00 C 68.00 26.00 68.86 25.31 69.19 23.91 L 69.55 25.81 L 71.03 25.81 L 71.03 18.25 L 71.03 18.24 L 67.41 18.24 L 67.41 20.19 L 68.82 20.19 L 68.82 21.47 C 68.82 23.38 68.38 24.10 67.34 24.10 C 66.32 24.10 66 23.12 66 20.52 L 66 16.22 C 66 13.11 66.37 12.19 67.35 12.19 C 68.01 12.19 68.40 12.58 68.53 14.02 C 68.57 14.50 68.59 15.10 68.58 15.83 L 70.83 15.68 C 71.14 12.21 70.35 10.31 67.44 10.31 z M 14.06 10.55 L 13.01 15.24 C 12.72 16.61 12.54 17.58 12.46 18.16 L 12.39 18.16 C 12.27 17.35 12.08 16.38 11.83 15.23 L 10.83 10.56 L 8.33 10.56 L 11.18 20.86 L 11.18 25.80 L 13.66 25.80 L 13.66 20.85 L 16.55 10.55 L 14.06 10.55 z M 30.33 10.56 L 30.33 12.58 L 32.83 12.58 L 32.83 25.81 L 35.27 25.81 L 35.27 12.58 L 37.76 12.58 L 37.76 10.56 L 30.33 10.56 z M 113.35 13.31 C 112.35 13.40 111.89 14.17 111.65 15.17 C 111.12 14.68 110.37 14.47 109.41 14.47 C 107.10 14.47 106.06 15.76 106.06 18.80 L 106.06 19.03 C 106.06 21.16 106.61 22.30 107.57 22.85 C 106.66 23.21 106.14 23.92 106.16 24.76 C 106.18 25.61 106.75 26.05 107.51 26.34 C 106.45 26.61 105.76 27.27 105.76 28.40 C 105.76 30.03 107.14 30.96 109.36 30.96 C 111.91 30.96 113.39 29.76 113.39 27.74 C 113.39 23.92 108.06 25.30 108.07 23.82 C 108.07 23.59 108.17 23.34 108.44 23.16 C 108.73 23.23 109.06 23.25 109.41 23.25 C 111.54 23.25 112.74 22.21 112.74 19.01 L 112.74 18.77 C 112.74 17.70 112.60 16.84 112.33 16.19 C 112.42 16.12 112.51 16.05 112.60 15.99 C 112.90 15.82 113.25 15.73 113.66 15.73 L 113.35 13.31 z M 85.40 14.43 C 84.45 14.43 83.64 14.88 83.07 15.71 C 82.99 15.82 82.91 15.95 82.84 16.08 L 82.81 16.08 L 82.58 14.66 L 80.60 14.66 L 80.60 25.81 L 83.11 25.81 L 83.11 16.91 C 83.38 16.45 83.77 16.21 84.21 16.21 C 84.75 16.21 84.99 16.66 84.99 17.57 L 84.99 25.81 L 87.5 25.81 L 87.5 17.39 C 87.5 17.23 87.50 17.08 87.48 16.93 C 87.75 16.45 88.14 16.21 88.58 16.21 C 89.12 16.21 89.36 16.66 89.36 17.57 L 89.36 25.81 L 91.88 25.81 L 91.88 17.39 C 91.88 15.52 91.29 14.42 89.77 14.43 C 88.77 14.43 87.91 14.95 87.33 15.91 C 87.05 14.97 86.45 14.43 85.40 14.43 z M 102.56 14.43 C 101.77 14.43 101.08 14.77 100.56 15.38 C 100.38 15.59 100.22 15.82 100.08 16.08 L 100.03 16.08 L 99.82 14.66 L 97.83 14.66 L 97.83 25.81 L 100.34 25.81 L 100.34 16.91 C 100.61 16.45 100.99 16.21 101.43 16.21 C 101.99 16.21 102.24 16.72 102.24 17.63 L 102.24 25.81 L 104.75 25.81 L 104.75 17.39 C 104.75 15.52 104.12 14.42 102.56 14.43 z M 19.43 14.46 C 18.59 14.46 17.92 14.63 17.41 14.96 C 16.89 15.29 16.50 15.82 16.26 16.55 C 16.02 17.28 15.91 18.23 15.91 19.43 L 15.91 21.06 C 15.91 22.24 16.02 23.20 16.23 23.91 C 16.44 24.62 16.80 25.15 17.30 25.49 C 17.80 25.83 18.49 26 19.39 26 C 20.25 26 20.92 25.83 21.42 25.5 C 21.92 25.17 22.29 24.63 22.51 23.91 C 22.74 23.19 22.85 22.25 22.85 21.06 L 22.85 19.43 C 22.85 18.23 22.73 17.28 22.50 16.56 C 22.27 15.84 21.91 15.31 21.41 14.97 C 20.91 14.63 20.25 14.46 19.43 14.46 z M 56.83 14.47 C 55.59 14.47 54.70 14.84 54.19 15.61 C 53.68 16.38 53.42 17.60 53.42 19.27 L 53.42 21.23 C 53.42 22.86 53.67 24.05 54.17 24.83 C 54.55 25.40 55.13 25.77 55.92 25.91 C 56.18 25.96 56.46 25.99 56.77 25.99 C 57.80 25.99 58.60 25.74 59.16 25.23 C 59.73 24.72 60.01 23.94 60.01 22.91 C 60.01 22.74 60.01 22.61 60 22.51 L 57.83 22.39 C 57.81 23.06 57.74 23.54 57.60 23.83 C 57.46 24.12 57.21 24.27 56.83 24.27 C 56.55 24.27 56.35 24.18 56.22 24.02 C 56.09 23.86 56.00 23.61 55.96 23.25 C 55.92 22.89 55.90 22.36 55.90 21.64 L 55.90 21.08 L 60.07 21.08 L 60.07 19.16 C 60.07 17.99 59.97 17.08 59.78 16.41 C 59.59 15.75 59.28 15.25 58.82 14.93 C 58.36 14.62 57.69 14.47 56.83 14.47 z M 75.83 14.47 C 73.32 14.47 72.24 15.61 72.46 18.32 L 74.66 18.5 C 74.68 16.77 74.93 16.18 75.73 16.18 C 76.44 16.18 76.59 16.72 76.59 18.27 L 76.59 19.08 C 73.41 19.93 72.22 21.31 72.22 23.33 C 72.22 25.15 73.30 26.06 74.68 26.06 C 75.79 26.06 76.46 25.44 76.82 24.46 L 76.85 24.46 L 77.10 25.82 L 79.01 25.82 L 79.01 18.38 C 79.01 15.78 78.18 14.45 75.83 14.47 z M 24.15 14.66 L 24.15 22.99 C 24.15 24.02 24.32 24.77 24.67 25.25 C 25.03 25.74 25.58 25.99 26.32 25.99 C 27.39 25.99 28.19 25.47 28.72 24.44 L 28.76 24.44 L 28.99 25.81 L 30.94 25.81 L 30.94 14.66 L 28.44 14.66 L 28.44 23.51 C 28.34 23.72 28.2 23.89 28 24.02 C 27.8 24.15 27.58 24.23 27.36 24.23 C 27.10 24.23 26.93 24.12 26.82 23.91 C 26.71 23.70 26.66 23.34 26.66 22.84 L 26.66 14.66 L 24.15 14.66 z M 37.01 14.66 L 37.01 22.99 C 37.01 24.02 37.20 24.77 37.55 25.25 C 37.82 25.62 38.19 25.85 38.67 25.94 C 38.83 25.97 39.00 25.99 39.18 25.99 C 40.25 25.99 41.05 25.47 41.58 24.44 L 41.64 24.44 L 41.85 25.81 L 43.82 25.81 L 43.82 14.66 L 41.32 14.66 L 41.32 23.51 C 41.22 23.72 41.06 23.89 40.86 24.02 C 40.66 24.15 40.46 24.23 40.24 24.23 C 39.98 24.23 39.79 24.12 39.68 23.91 C 39.57 23.70 39.52 23.34 39.52 22.84 L 39.52 14.66 L 37.01 14.66 z M 93.63 14.66 L 93.63 25.82 L 96.02 25.82 L 96.02 14.66 L 93.63 14.66 z M 56.83 16.15 C 57.10 16.15 57.28 16.23 57.41 16.38 C 57.53 16.53 57.62 16.79 57.67 17.16 C 57.72 17.53 57.75 18.07 57.75 18.78 L 57.75 19.58 L 55.91 19.58 L 55.91 18.78 C 55.91 18.05 55.93 17.52 55.97 17.16 C 56.01 16.81 56.09 16.55 56.22 16.39 C 56.35 16.23 56.55 16.15 56.83 16.15 z M 19.36 16.18 C 19.72 16.18 19.96 16.37 20.10 16.74 C 20.24 17.11 20.32 17.69 20.32 18.49 L 20.32 21.96 C 20.32 22.78 20.24 23.38 20.10 23.74 C 19.97 24.11 19.72 24.28 19.36 24.28 C 19.01 24.28 18.77 24.10 18.64 23.74 C 18.51 23.38 18.43 22.78 18.43 21.96 L 18.43 18.49 C 18.43 17.69 18.51 17.11 18.65 16.74 C 18.79 16.37 19.02 16.18 19.36 16.18 z M 109.41 16.19 C 110.12 16.19 110.33 16.73 110.33 18.75 L 110.33 19.14 C 110.33 21.14 110.09 21.63 109.41 21.63 C 108.73 21.63 108.46 21.14 108.46 19.14 L 108.46 18.75 C 108.46 16.74 108.70 16.19 109.41 16.19 z M 48.84 16.22 C 49.09 16.22 49.29 16.31 49.43 16.51 C 49.57 16.71 49.68 17.05 49.73 17.52 C 49.78 17.99 49.81 18.68 49.81 19.55 L 49.81 21 L 49.82 21 C 49.82 21.81 49.79 22.45 49.72 22.91 C 49.65 23.37 49.54 23.70 49.38 23.89 C 49.22 24.08 49.01 24.17 48.74 24.17 C 48.53 24.17 48.33 24.12 48.16 24.02 C 47.98 23.92 47.85 23.78 47.74 23.58 L 47.74 17.25 C 47.82 16.95 47.96 16.70 48.17 16.50 C 48.38 16.31 48.60 16.22 48.84 16.22 z M 76.60 20.36 L 76.60 23.60 C 76.36 23.99 75.98 24.30 75.58 24.30 C 74.98 24.30 74.74 23.81 74.74 22.88 C 74.74 21.66 75.29 20.78 76.60 20.36 z M 108.67 26.65 C 110.00 26.90 111.34 27.06 111.30 28.02 C 111.28 28.64 110.64 29.16 109.48 29.16 C 108.33 29.16 107.76 28.59 107.76 27.81 C 107.76 27.27 108.11 26.85 108.67 26.65 z"}}]}:
g.DV?{I:"div",da:["ytp-icon","ytp-icon-logo"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 67 36",width:"100%"},P:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"M 45.09 10 L 45.09 25.82 L 47.16 25.82 L 47.41 24.76 L 47.47 24.76 C 47.66 25.14 47.94 25.44 48.33 25.66 C 48.72 25.88 49.16 25.99 49.63 25.99 C 50.48 25.99 51.1 25.60 51.5 24.82 C 51.9 24.04 52.09 22.82 52.09 21.16 L 52.09 19.40 C 52.12 18.13 52.05 17.15 51.90 16.44 C 51.75 15.74 51.50 15.23 51.16 14.91 C 50.82 14.59 50.34 14.44 49.75 14.44 C 49.29 14.44 48.87 14.57 48.47 14.83 C 48.27 14.96 48.09 15.11 47.93 15.29 C 47.78 15.46 47.64 15.65 47.53 15.86 L 47.51 15.86 L 47.51 10 L 45.09 10 z M 8.10 10.56 L 10.96 20.86 L 10.96 25.82 L 13.42 25.82 L 13.42 20.86 L 16.32 10.56 L 13.83 10.56 L 12.78 15.25 C 12.49 16.62 12.31 17.59 12.23 18.17 L 12.16 18.17 C 12.04 17.35 11.84 16.38 11.59 15.23 L 10.59 10.56 L 8.10 10.56 z M 30.10 10.56 L 30.10 12.58 L 32.59 12.58 L 32.59 25.82 L 35.06 25.82 L 35.06 12.58 L 37.55 12.58 L 37.55 10.56 L 30.10 10.56 z M 19.21 14.46 C 18.37 14.46 17.69 14.63 17.17 14.96 C 16.65 15.29 16.27 15.82 16.03 16.55 C 15.79 17.28 15.67 18.23 15.67 19.43 L 15.67 21.06 C 15.67 22.24 15.79 23.19 16 23.91 C 16.21 24.62 16.57 25.15 17.07 25.49 C 17.58 25.83 18.27 26 19.15 26 C 20.02 26 20.69 25.83 21.19 25.5 C 21.69 25.17 22.06 24.63 22.28 23.91 C 22.51 23.19 22.63 22.25 22.63 21.06 L 22.63 19.43 C 22.63 18.23 22.50 17.28 22.27 16.56 C 22.04 15.84 21.68 15.31 21.18 14.97 C 20.68 14.63 20.03 14.46 19.21 14.46 z M 56.64 14.47 C 55.39 14.47 54.51 14.84 53.99 15.61 C 53.48 16.38 53.22 17.60 53.22 19.27 L 53.22 21.23 C 53.22 22.85 53.47 24.05 53.97 24.83 C 54.34 25.40 54.92 25.77 55.71 25.91 C 55.97 25.96 56.26 25.99 56.57 25.99 C 57.60 25.99 58.40 25.74 58.96 25.23 C 59.53 24.72 59.81 23.94 59.81 22.91 C 59.81 22.74 59.79 22.61 59.78 22.51 L 57.63 22.39 C 57.62 23.06 57.54 23.54 57.40 23.83 C 57.26 24.12 57.01 24.27 56.63 24.27 C 56.35 24.27 56.13 24.18 56.00 24.02 C 55.87 23.86 55.79 23.61 55.75 23.25 C 55.71 22.89 55.68 22.36 55.68 21.64 L 55.68 21.08 L 59.86 21.08 L 59.86 19.16 C 59.86 17.99 59.77 17.08 59.58 16.41 C 59.39 15.75 59.07 15.25 58.61 14.93 C 58.15 14.62 57.50 14.47 56.64 14.47 z M 23.92 14.67 L 23.92 23.00 C 23.92 24.03 24.11 24.79 24.46 25.27 C 24.82 25.76 25.35 26.00 26.09 26.00 C 27.16 26.00 27.97 25.49 28.5 24.46 L 28.55 24.46 L 28.76 25.82 L 30.73 25.82 L 30.73 14.67 L 28.23 14.67 L 28.23 23.52 C 28.13 23.73 27.97 23.90 27.77 24.03 C 27.57 24.16 27.37 24.24 27.15 24.24 C 26.89 24.24 26.70 24.12 26.59 23.91 C 26.48 23.70 26.43 23.35 26.43 22.85 L 26.43 14.67 L 23.92 14.67 z M 36.80 14.67 L 36.80 23.00 C 36.80 24.03 36.98 24.79 37.33 25.27 C 37.60 25.64 37.97 25.87 38.45 25.96 C 38.61 25.99 38.78 26.00 38.97 26.00 C 40.04 26.00 40.83 25.49 41.36 24.46 L 41.41 24.46 L 41.64 25.82 L 43.59 25.82 L 43.59 14.67 L 41.09 14.67 L 41.09 23.52 C 40.99 23.73 40.85 23.90 40.65 24.03 C 40.45 24.16 40.23 24.24 40.01 24.24 C 39.75 24.24 39.58 24.12 39.47 23.91 C 39.36 23.70 39.31 23.35 39.31 22.85 L 39.31 14.67 L 36.80 14.67 z M 56.61 16.15 C 56.88 16.15 57.08 16.23 57.21 16.38 C 57.33 16.53 57.42 16.79 57.47 17.16 C 57.52 17.53 57.53 18.06 57.53 18.78 L 57.53 19.58 L 55.69 19.58 L 55.69 18.78 C 55.69 18.05 55.71 17.52 55.75 17.16 C 55.79 16.81 55.87 16.55 56.00 16.39 C 56.13 16.23 56.32 16.15 56.61 16.15 z M 19.15 16.19 C 19.50 16.19 19.75 16.38 19.89 16.75 C 20.03 17.12 20.09 17.7 20.09 18.5 L 20.09 21.97 C 20.09 22.79 20.03 23.39 19.89 23.75 C 19.75 24.11 19.51 24.29 19.15 24.30 C 18.80 24.30 18.54 24.11 18.41 23.75 C 18.28 23.39 18.22 22.79 18.22 21.97 L 18.22 18.5 C 18.22 17.7 18.28 17.12 18.42 16.75 C 18.56 16.38 18.81 16.19 19.15 16.19 z M 48.63 16.22 C 48.88 16.22 49.08 16.31 49.22 16.51 C 49.36 16.71 49.45 17.05 49.50 17.52 C 49.55 17.99 49.58 18.68 49.58 19.55 L 49.58 21 L 49.59 21 C 49.59 21.81 49.57 22.45 49.5 22.91 C 49.43 23.37 49.32 23.70 49.16 23.89 C 49.00 24.08 48.78 24.17 48.51 24.17 C 48.30 24.17 48.11 24.12 47.94 24.02 C 47.76 23.92 47.62 23.78 47.51 23.58 L 47.51 17.25 C 47.59 16.95 47.75 16.70 47.96 16.50 C 48.17 16.31 48.39 16.22 48.63 16.22 z "}}]}]});
this.B=a;this.D=!1;fV(a,this.element,this,28666);this.X("click",this.G);this.R(a,"videodatachange",this.F);this.F();g.Ff(this,pW(b.Hb(),this.element))};
KX=function(a,b,c){g.jH.call(this);var d=this,e=g.Y(a);this.C=a;this.B=b;this.ia=NaN;this.ha=null;this.ba=c;this.ba.subscribe("autohideupdate",this.qE,this);c=!g.OU(a).isCued();var f;g.Y(a).experiments.o("html5_player_dynamic_bottom_gradient")?this.ka=f=new rW(a):f=new g.W({I:"div",N:"ytp-gradient-bottom"});g.L(this,f);g.cV(a,f.element,8);this.Y=new g.JV(f,250,c,100);g.L(this,this.Y);this.A=new g.W({I:"div",N:"ytp-chrome-bottom",P:[{I:"div",N:"ytp-chrome-controls"}]});g.L(this,this.A);g.cV(a,this.A.element,
8);this.V=new g.JV(this.A,250,c,100);g.L(this,this.V);this.aa=this.A.element.children[0];this.o=new yX(a);g.Ff(this.o,function(){a.K==d.o&&(a.K=null)});
g.L(this,this.o);a.K=this.o;g.cV(a,this.o.element,6);this.o.subscribe("show",this.kW,this);this.o.subscribe("show",(0,g.A)(b.eG,b,this.o));this.F=new g.KW(a,b);g.L(this,this.F);this.F.A(this.A.element,0);c=new sW(a);g.L(this,c);g.cV(a,c.element,4);c=new g.gQ({I:"div",N:"ytp-left-controls"});g.L(this,c);c.A(this.aa);f=new g.JW(a,b,!1);g.L(this,f);f.A(c.element);e.L||(f=new g.HW(a,b),g.L(this,f),f.A(c.element));f=new g.JW(a,b,!0);g.L(this,f);f.A(c.element);var k=new g.W({I:"span"});g.L(this,k);k.A(c.element);
if(!e.aa&&(this.G=new EW(a,b),g.L(this,this.G),this.G.A(k.element),e.M)){f=new HX(a,b,this.A.element);g.L(this,f);f.A(k.element);k=new g.qH(k.element);g.L(this,k);var l=(0,g.A)(f.dG,f,!0);k.subscribe("hoverstart",l);k=new g.qH(c.element);g.L(this,k);f=(0,g.A)(f.dG,f,!1);k.subscribe("hoverend",f)}this.ga=new g.FX(a,b);g.L(this,this.ga);this.ga.A(c.element);c=new g.gQ({I:"div",N:"ytp-right-controls"});g.L(this,c);c.A(this.aa);this.L=null;e.experiments.o("external_fullscreen_with_edu")&&e.ha&&iO(e)&&
(this.L=new vW(a,b),g.L(this,this.L),this.L.A(c.element));f=new EX(a,b);g.L(this,f);f.A(c.element);f=new jX(a,b,this.o);g.L(this,f);zua(this.o,f);f.A(c.element);f=new AW(a);g.L(this,f);g.cV(a,f.element,5);f.subscribe("show",(0,g.A)(b.jm,b,f));f=new BW(a,b,f);g.L(this,f);f.A(c.element);f=a.getVideoData();if(e.Kl||f.Ic&&"1"==e.C)this.H=new JX(a,b),g.L(this,this.H),this.H.A(c.element);e.Ll&&(this.D=new zW(a,b),g.L(this,this.D),this.D.A(c.element));this.M=new GW(a,b);g.L(this,this.M);this.M.A(c.element);
f.Qx||this.M.hide();e.Zb||(f=new DX(a,b),g.L(this,f),f.A(c.element));e.Ab&&(f=new CX(a,b,this.o),g.L(this,f),f.A(c.element));e.Il&&(e=new qW(a,b),g.L(this,e),e.A(c.element));this.ea=new yW(a,b);g.L(this,this.ea);this.ea.A(c.element);this.J=new g.ov(this.HP,null,this);g.L(this,this.J);this.K=null;this.R(a,"appresize",this.Cw);this.R(a,"fullscreentoggled",this.Cw);this.R(a,"presentingplayerstatechange",this.oy);this.R(a,"videodatachange",this.IP);this.Cw()};
Bua=function(a,b){g.OU(a.C).isCued()||b?b&&(a.V.hide(),a.Y.hide(),a.G&&a.G.ac(!1),a.H&&a.H.ac(!1),a.D&&a.D.ac(!1),a.B.Hb().mi(a.ra())):b||(a.V.show(),a.Y.show(),a.G&&a.G.ac(!0),a.H&&a.H.ac(!0),a.D&&a.D.ac(!0),a.qE())};
Cua=function(a){var b=g.PU(a.C).getPlayerSize().width;return Math.max(b-2*LX(a),100)};
LX=function(a){var b=a.B.Yc();return 12*(a.C.getVideoData().Ic?0:b?2:1)};
MX=function(a){var b=g.Y(a).experiments.C("mweb_muted_autoplay_animation"),c=[],d=[];"none"!=b&&(c.push("ytp-unmute-animated"),d.push({I:"div",da:["ytp-unmute-box"]}),"expand"==b?c.push("ytp-unmute-expand"):"shrink"==b&&c.push("ytp-unmute-shrink"));wW.call(this,a,{I:"button",da:["ytp-unmute","ytp-popup","ytp-button"].concat(c),P:[{I:"div",N:"ytp-unmute-inner",P:[{I:"div",da:["ytp-unmute-icon"],P:[g.DV?{I:"div",da:["ytp-icon","ytp-icon-volume-muted-dark"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",
width:"100%"},P:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"m 21.48,17.98 c 0,-1.77 -1.02,-3.29 -2.5,-4.03 v 2.21 l 2.45,2.45 c .03,-0.2 .05,-0.41 .05,-0.63 z m 2.5,0 c 0,.94 -0.2,1.82 -0.54,2.64 l 1.51,1.51 c .66,-1.24 1.03,-2.65 1.03,-4.15 0,-4.28 -2.99,-7.86 -7,-8.76 v 2.05 c 2.89,.86 5,3.54 5,6.71 z M 9.25,8.98 l -1.27,1.26 4.72,4.73 H 7.98 v 6 H 11.98 l 5,5 v -6.73 l 4.25,4.25 c -0.67,.52 -1.42,.93 -2.25,1.18 v 2.06 c 1.38,-0.31 2.63,-0.95 3.69,-1.81 l 2.04,2.05 1.27,-1.27 -9,-9 -7.72,-7.72 z m 7.72,.99 -2.09,2.08 2.09,2.09 V 9.98 z"}}]}]},
{I:"div",da:["ytp-unmute-text"],ca:"\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0437\u0432\u0443\u043a"}].concat(d)}]},100);this.D=a;this.F=this.G=!1;g.Y(this.D).experiments.o("muted_autoplay_unmute_interaction_logging_killswitch")||fV(this.D,this.element,this,51663);this.R(a,"mutedautoplaychange",this.H,this);this.R(a,"presentingplayerstatechange",this.J);this.X("click",this.onClick,this);a=a.isMutedByMutedAutoplay();g.kQ(this,a);a&&Dua(this)};
Eua=function(a){a.G||(a.G=!0,g.VU(a.D,"mutedAutoplayClick",{}),g.Y(a.D).experiments.o("muted_autoplay_unmute_interaction_logging_killswitch")||g.gV(a.D,a.element))};
Dua=function(a){a.F||(a.F=!0,g.VU(a.D,"mutedAutoplayImpression",{}),g.Y(a.D).experiments.o("muted_autoplay_unmute_interaction_logging_killswitch")||g.hV(a.D,a.element,!0))};
NX=function(a){g.jH.call(this);var b=g.Y(a),c=g.PU(a);this.api=a;this.tc=!1;this.K=null;this.Pb=!1;this.Ab=new g.V(this.AQ,0,this);g.L(this,this.Ab);var d=new WV(a);g.L(this,d);g.cV(a,d.element,4);var e=bG()&&67<=ZF();if(!$F("tizen")&&!VN&&!e){var f=new oW(a);g.L(this,f);f=f.element;g.cV(a,f,4)}e=a.getVideoData();this.A=new VV(c,(0,g.A)(this.WO,this),e,b.sd);g.L(this,this.A);this.A.subscribe("autohideupdate",this.Nw,this);var k=new mW(a);g.L(this,k);g.cV(a,k.element,4);this.xa=new MX(a);g.L(this,
this.xa);g.cV(this.api,this.xa.element,2);this.Qb=this.api.isMutedByMutedAutoplay();this.R(a,"mutedautoplaychange",this.XO);this.ma=new g.V(this.Hq,200,this);g.L(this,this.ma);this.La=e.videoId;this.B=null;this.Wa=!1;this.jb=null;this.ya=[];e=a.getRootNode();e.setAttribute("aria-label","\u041f\u0440\u043e\u0438\u0433\u0440\u044b\u0432\u0430\u0442\u0435\u043b\u044c YouTube");switch(b.color){case "white":g.T(e,"ytp-color-white")}!g.Y(a).experiments.o("disable_mediasession2")&&"mediaSession"in navigator&&
!navigator.mediaSession.metadata&&navigator.mediaSession.setActionHandler&&(e=new lW(a),g.L(this,e));this.R(a,"appresize",this.fb);this.R(a,"presentingplayerstatechange",this.VS);this.R(a,"videodatachange",this.GD);this.R(a,"videoplayerreset",this.QS);this.R(a,"autonavvisibility",this.fh,this);this.R(a,"sizestylechange",this.fh,this);g.Y(a).experiments.o("player_minimized_controls_killswitch")&&this.R(a,"minimized",this.ug,this);this.R(a,"onFrescaStateChange",this.ug,this);this.R(c,"click",this.xT,
this);this.R(c,"dblclick",this.yT,this);b.ga&&(this.R(c,"gesturechange",this.zT,this),this.R(c,"gestureend",this.AT,this));this.ia=[c.J,d.element];f&&this.ia.push(f)};
OX=function(a){return g.Y(a.api).experiments.o("player_minimized_controls_killswitch")?a.api.app.J.o:!1};
PX=function(a,b){if(!b)return!1;var c=g.dV(a.api);if(c.Oh()&&(c=c.ra())&&g.we(c,b))return c.controls;for(c=0;c<a.ia.length;c++)if(g.we(a.ia[c],b))return!1;return g.zr(b,"ytp-player-content")||g.zr(b,"html5-endscreen")||b==a.api.getRootNode()?!1:!0};
Fua=function(a){return 2==a.api.getPresentingPlayerType()&&g.PU(a.api).K&&g.Y(a.api).A&&QX&&11<=TP};
Hua=function(a,b){if(!PX(a,ZG(b))&&(a.A.oc(2,!0),g.MV(b)&&!g.Y(a.api).L))if(a.Rj())g.bH(b);else{var c=g.OU(a.api);g.X(c,2)&&MU(a.api)||a.HD(c);if(!g.Y(a.api).ga||c.isCued()||g.X(c,1024)){var d=a.api.app.xa;uQ(a.api,"embedsShouldRequestStorageAccessResult",{result:!!d,returnsUndefined:void 0===d});var e=g.X(c,2048);d&&(c.isCued()||e)?(uQ(a.api,"embedsRequestStorageAccessState",{isCued:c.isCued(),isAutoplayBlocked:e}),Gua(a)):(!d||c.isCued()&&e||uQ(a.api,"embedsRequestStorageAccessFailedState",{state:c.o}),
a.Hq())}else a.ma.isActive()?(a.hC(),a.ma.stop()):a.ma.start()}};
Gua=function(a){Isa(function(){uQ(a.api,"embedsRequestStorageAccessResult",{resolved:!0});kN(!0);DH();window.location.reload()},function(){uQ(a.api,"embedsRequestStorageAccessResult",{resolved:!1});
a.Hq()})};
Iua=function(a,b){if(g.MV(b)&&a.api.isMutedByMutedAutoplay()){a.api.unMute();2==a.api.getPresentingPlayerType()&&a.api.playVideo();var c=g.OU(a.api);!g.X(c,4)||g.X(c,8)||g.X(c,2)||a.Hq();return!0}return!1};
Jua=function(a,b,c){a.api.isFullscreen()?c<1-b&&a.api.toggleFullscreen():c>1+b&&a.api.toggleFullscreen()};
Lua=function(a){if(Kua(a))return!1;var b=!!a.La&&!a.api.ag();if(2==a.api.getPresentingPlayerType()){a=g.LU(a.api).C;if(b){b=g.Y(a.player).experiments;var c=a.app.getVideoData();if(b.o("desktop_trv_action_hide_info_bar")&&c.Oi)b=!1;else if(b=c.ze)b=a.o,b=null!=b.J&&null!=ff(b.J,1)&&null!=ff(Cf(b.J),4)&&kf(lf(Cf(b.J),xf,4),1)?!1:!0}return b}c=g.Y(a.api);var d=a.api.getVideoData();if(NN(c)&&!c.experiments.o("embed_hide_info_bar_killswitch")){var e;d.hm?(e=d.hm.embedPreview)?(e=e.thumbnailPreviewRenderer,
e=e.videoDetails&&e.videoDetails.embeddedPlayerOverlayVideoDetailsRenderer||null):e=null:e=null;if(!e||!e.collapsedRenderer||!e.expandedRenderer)return!1}return c.experiments.o("embed_api_deprecation")&&d.Ic&&5==a.api.app.V?b:b&&(c.Jl||a.api.isFullscreen()||c.Zb)};
Kua=function(a){var b=g.Y(a.api),c=g.X(g.OU(a.api),128);return b.o&&c&&!a.api.isFullscreen()&&!RU(a.api)};
g.RX=function(a,b){return dL(a.info.mimeType)?b?PJ(a.info)==b:!0:!1};
g.Mua=function(a,b){if(null!=a.ua&&g.kO(g.Y(b))&&!a.ua.A&&null!=a.ua.o.rawcc)return!0;if(!a.tk())return!1;var c=!!a.ua&&a.ua.A&&Object.values(a.ua.o).some(function(e){return g.RX(e,"386")}),d=!!a.ua&&!a.ua.A&&ela(a.ua);
return c||d};
TX=function(a,b){this.o=a;this.A=g.Ca(b)?b:null;if(g.Ya(SX,this.o)){if(!g.Ca(this.A)||0>this.A)throw Error("Must have valid offset");}else if(null!==this.A)throw Error("Must not have offset");};
UX=function(a){var b=a.A;if(null!==b)return b;switch(a.o){case 1:return 0;case 3:return-1;default:return-100}};
Nua=function(a,b){var c=a.o,d=b.o;if(c!=d){if(1==c||3==d)return-1;if(1==d||3==c)return 1}var e=a.A,f=b.A;return e!=f?null===e?1:null===f?-1:e-f:c-d};
Oua=function(){var a=g.YE("PLAYER_CONFIG");return a&&a.args&&void 0!==a.args.authuser?!0:!(!g.YE("SESSION_INDEX")&&!g.YE("LOGGED_IN"))};
VX=function(a){return a?-1!=a.toString().search(/(?:true|1)/i):!1};
Pua=function(a,b){if(a){var c="getErrorCode"in a?a.Fb():null;c?b.error_code=c:(c="getMessage"in a&&g.Ja(a.getMessage)?a.Ud():a.message,c=vc(c||"",50),b.error_message=c)}};
WX=function(a,b){if(a){var c=bu(a).reverse();b.ad_id=g.gb(c,$t(a)).join(",");c=du(a).reverse();b.ad_sys=g.gb(c,Qt(a)).join(",");c=Zr(a);null!=c&&(b.aqi=c)}};
XX=function(a,b){if(a[b])return VX(a[b]);var c=b.toLowerCase(),d;for(d in a)if(d&&d.toLowerCase()==c)return VX(a[d]);return!1};
Qua=function(a,b,c){var d=new Cp;d.Kj=b.D;d.contentId=c.videoId;d.ry=!SN(b);d.wy=!0;d.VG=!0;d.WG=a.M;d.showContentThumbnail=a.showContentThumbnail;d.Ji={};c.Af&&(d.Ji.ctrl=c.Af);c.Bf&&(d.Ji.ytr=c.Bf);c.Zo&&(d.Ji.ytrcc=c.Zo);c.isMdxPlayback&&(d.Ji.mdx="1");c.jf&&(d.Ji.vvt=c.jf);a.A?(d.nt=!0,d.WA=!0,d.showContentThumbnail=!1,d.qy=!0,d.ty=!0,d.wy=!1):a.B&&(d.nt=!0);a.A&&KN&&(d.jC=!1);d.iC=a.J;return d};
$ua=function(a){var b=new aC,c=a.app.H.getPlayerSize();b.fk=c.width;b.ek=c.height;b.tf=c.width;YX(a).experiments.o("ima_use_dynamic_player_size_macros")&&(b.rm=Rua(a),b.sm=Sua(a));b.sf=100;b.cB=hO(YX(a));c=new so;c.o=(0,g.A)(YX(a).experiments.o,YX(a).experiments);c.A=(0,g.A)(YX(a).experiments.A,YX(a).experiments);c.C=(0,g.A)(YX(a).experiments.C,YX(a).experiments);b.ws=c;if(c=b.cB?Jla(YX(a)):-1)b.G=c;a.o.tagForChildDirected&&(b.Mr=!0);c=ZX(a);b.dc={CA_TYPE:"image",CONTENT_V:c.videoId,CPN:c.clientPlaybackNonce,
EID:c.eventId,LACT:Tua(a),VIS:Uua(a)};c.oauthToken&&IF()&&(YX(a).experiments.o("use_latest_oauth_on_midroll_ad_requests_for_living_room")&&(b.D=function(){return $X(a)}),b.H=$X(a),Vua(a)&&(Wv=function(f,k,l){l&&(l=g.hh(f),l=null===l?null:l.split(".").reverse(),l=null===l?!1:"com"==l[0]&&l[1].match(/^youtube(?:kids|-nocookie)?$/)?!0:!1);
l=l?$X(a):void 0;g.pG(f,void 0,k,l)}));
YX(a).experiments.o("ima_use_dynamic_player_size_macros")?(b.dc.P_H=Wua(a),b.dc.P_W=Xua(a)):(c=aY(a),null!=c&&(b.dc.P_H=c.height,b.dc.P_W=c.width));g.Mb(KF(JF),function(f,k){b.dc[k.toUpperCase()]=f});
hO(YX(a))||(b.dc.LACT="-1");b.language=YX(a).Aa;var d=Yua(a),e=0;b.Po=function(){var f=Zua();d(f);e++;return f};
return b};
Yua=function(a){var b=!0;return function(c){if(b){a.De("a_bid_s");if(zg(c)){var d=(0,g.A)(a.De,a,"a_bid_f");c.then(d,d)}else a.De("a_bid_f");b=!1}}};
Zua=function(){var a=null;GG().then(function(d){a=d},function(d){a=d.isTimeout?"NO_BID":"ERR_BID"});
if(null!=a)return a;var b=tba(),c=g.Mg(nba([GG(),b]),function(){return"ERR_BID"});
qba(g.Mg(c,g.z),function(){b.cancel()});
return c};
Tua=function(a){return{toString:function(){if(null==a||a.la())return a=null;YX(a);return WH().toString()}}};
Wua=function(a){return{toString:function(){if(null==a||a.la())return a=null;var b=aY(a);return null!=b?b.height.toString():null}}};
Xua=function(a){return{toString:function(){if(null==a||a.la())return a=null;var b=aY(a);return null!=b?b.width.toString():null}}};
Sua=function(a){return function(){if(null==a||a.la())return a=null;var b=aY(a);return null!=b?b.width:null}};
Rua=function(a){return function(){if(null==a||a.la())return a=null;var b=aY(a);return null!=b?b.height:null}};
Uua=function(a){return{toString:function(){return null==a||a.la()?a=null:a.getVisibilityState().toString()}}};
ava=function(a){return{toString:function(){if(null==a||a.la())return a=null;var b=a.he?a.he.o:null;return null==b||0>b?"0":Math.ceil(.001*(0,g.H)()-b).toString()}}};
bva=function(){var a=["\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0439 \u043c\u043e\u0436\u043d\u043e \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 ","."];a.splice(1,0,"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0440\u0435\u043a\u043b\u0430\u043c\u043d\u044b\u0445 \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0442\u0435\u043d\u0438\u0439");return new Xu("\u041e\u0442\u043a\u0440\u044b\u0442\u044c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0440\u0435\u043a\u043b\u0430\u043c\u043d\u044b\u0445 \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0442\u0435\u043d\u0438\u0439",
"\u0417\u0430\u043a\u0440\u044b\u0442\u044c","\u0421 \u0447\u0435\u043c \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0441\u0432\u044f\u0437\u0430\u043d \u043f\u043e\u043a\u0430\u0437 \u044d\u0442\u043e\u0433\u043e \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u044f:",Oua()?["\u0421 \u0432\u0438\u0434\u0435\u043e, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u044b \u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435.","\u0421 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f\u043c\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u044b \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u043b\u0438 \u0432 \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u0435 Google."]:
["\u0421 \u0432\u0438\u0434\u0435\u043e, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u044b \u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435.","\u0421 \u0432\u0430\u0448\u0438\u043c\u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f\u043c\u0438 \u043d\u0430 \u044d\u0442\u043e\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0435."],void 0,a)};
$X=function(a){if(!a.la()&&(a=$P(ZX(a))))return mc({Authorization:"Bearer "+a})};
Vua=function(a){return YX(a).experiments.o("enable_oauth_headers_on_ad_tracking_pings_for_living_room")||YX(a).experiments.o("use_yt_pinging_service_for_ima_living_room")||YX(a).experiments.o("use_yt_pinging_service_w_headers_for_ima_living_room")};
bY=function(a,b,c,d){this.A=this.B="";this.C=a;this.G=b;this.o=c;this.F=d};
cY=function(a){var b={};b.l_ns=a.G;b.l_state=a.F;b.break_type=a.C.o;b.sst=UX(a.C);b.sidx=0;a.B&&(b.at=a.B);a.A&&(b.ad_id=a.A);return b};
dY=function(){g.K.call(this);this.A=new g.V((0,g.A)(this.F,this),1E3);g.L(this,this.A);this.B=this.C=0;this.o=pba();this.D=!1};
cva=function(){var a=g.y("yt.www.watch.ads.loadAfc");g.Ja(a)?(a(),eY=!0):fY=!0};
dva=function(){window.google_ad_output="html";window.google_ad_height="250";window.google_ad_format="300x250_as";window.google_container_id="google_companion_ad_div"};
eva=function(){var a=g.y("window.google_show_companion_ad");var b=g.y("yt.www.watch.ads.getGlobals");g.Ja(a)&&g.Ja(b)?(b=b(),b=!(!b||!b.length)):b=!1;b?a():gY=!0};
gva=function(a){if(P.A){if(!a)return Gg();hY(a,{afvMpu:{}});return Fg()}a=a&&YX(a).experiments;eva();iY();return fva(a)};
fva=function(a){jY||(jY=new dY(a));a=jY;a.D||(a.A.start(),a.D=!0);return a.o.o};
iY=function(){jY&&(jY.dispose(),jY=null)};
kY=function(){var a=g.y("yt.www.watch.ads.setCompanion");a&&a()};
hva=function(a){var b=g.y("yt.www.watch.ads.showForcedMpu");b&&b(a)};
lY=function(a,b,c,d){g.mH.call(this);this.o=a;this.A=d;this.videoData=null;this.adType=c;this.adSystem=b};
iva=function(a,b,c){this.o=a;this.A=b;this.C=c||0};
mva=function(a){var b=[];(0,g.C)(a.split("_"),function(c,d){this[d]=g.Bc(c)},b);
return new iva(g.Yb(jva,b[0])?b[0]:0,g.Yb(kva,b[1])?b[1]:0,g.Yb(lva,b[2])?b[2]:0)};
nva=function(){this.clickThroughUrl="";this.isSkippable=this.isBumper=!1;this.skipShown=this.skip=g.z;this.skipTime=0;this.videoUrl=this.videoId="";this.adSystem=0;this.attributionInfo=this.muteAdInfo=this.whyThisAdInfo=null;this.whyThisAdClosed=this.whyThisAdClicked=this.muteAd=this.muteAdClicked=this.sendAdsPing=g.z};
mY=function(a){g.K.call(this);var b=g.ke("div");b.className="video-ad-label";b.textContent="\u0420\u0435\u043a\u043b\u0430\u043c\u0430";var c=g.ke("div");c.className="video-ad-status-bar";c.appendChild(b);b=g.ke("div");b.className="ad-container";var d=g.ke("div");d.className="video-ads";d.appendChild(c);d.appendChild(b);this.element=d;this.C=a;this.A=this.o=null};
nY=function(a){if(!a.o){var b=g.Y(a.C);a.o=g.Zd("ad-container",a.element);!b.rd||LN&&SN(b)||(b.experiments.o("ima_enable_ad_ui_shifted_workaround")?g.T(a.o,"ad-container-single-media-element-annotations-workaround"):g.T(a.o,"ad-container-single-media-element-annotations"),b.experiments.o("enable_ima_ad_container_position_fix")&&g.T(a.o,"ad-container-single-media-element-annotations-fix"))}return a.o};
ova=function(a){if(!a.A){var b=g.ke("div");g.Ar(b,["video-click-tracking","ad-video"]);nY(a).appendChild(b);a.A=b}return a.A};
pva=function(a){a||(g.$E(Error("WhyThisAdExtension is absent"),"WARNING"),a=bva());var b={button:{buttonRenderer:{style:"STYLE_DEFAULT",size:"SIZE_DEFAULT",icon:{iconType:"INFO_OUTLINE"},navigationEndpoint:{adInfoDialogEndpoint:{}}}},hoverText:oY(a.A)};pY(b.button.buttonRenderer.navigationEndpoint.adInfoDialogEndpoint,a);return b};
pY=function(a,b){var c={title:oY(b.D),adReasons:b.F.map(function(f){return oY(f)})},d=b.C;
if(d&&3==d.length){var e=oY(d[0]);qY(e,d[1],"https://www.google.com/settings/ads");qY(e,d[2]);c.dialogMessage=e;d=xr(b,"why_this_ad_settings_url");d.length&&(e.runs[1].navigationEndpoint.loggingUrls=d.map(function(f){return{baseUrl:f}}))}if(e=b.B)c.confirmLabel=oY(e),e=xr(b,"why_this_ad_got_it"),e.length&&(c.confirmServiceEndpoint=rY(e));
if(e=qva(b,"why_this_ad_url"))c.impressionEndpoints=[e];if(e=qva(b,"why_this_ad_got_it"))c.confirmServiceEndpoint=e;a.dialog={adInfoDialogRenderer:c}};
sva=function(a){a=Hs(a);var b=Is(a),c=[],d={TRIGGER_TYPE:"YOUTUBE_SHELF_SHOW"};(0,g.C)($ga(b),function(e){7==e.Xb()&&c.push(g.fo(et(e,"base_url"),d))});
return{plaShelfItemRenderer:{headline:oY(a.Bd()),merchant:oY(Ks(b)),image:{thumbnails:[{url:Ls(a).getImageUrl()}]},priceText:oY(Ms(b)),reviewText:oY(et(b,"review_text")),rating:Tw(b,"rating",0),clickthroughEndpoint:rva(Os(lx(b))),impressionEndpoints:[rY(c)]}}};
oY=function(a){var b={};qY(b,a,void 0);return b};
qY=function(a,b,c){a.runs||(a.runs=[]);b={text:b};c&&(b.navigationEndpoint=rva(c));a.runs.push(b)};
rva=function(a){return{urlEndpoint:{url:a,target:"TARGET_NEW_WINDOW"}}};
rY=function(a){return{loggingUrls:a.map(function(b){return{baseUrl:b}}),
pingingEndpoint:{hack:!0}}};
qva=function(a,b){var c=xr(a,b);return c.length?rY(c):null};
tva=function(a){this.o=a};
sY=function(a){return a&&a.ad_event?uva(a.ad_event):0};
vva=function(a){switch(parseInt(a.toString(),10)){case 12:return 2;case 13:case 53:return 3;case 14:return 4;case 15:return 5;case 22:case 52:case 61:return 7;case 30:return 8;case 32:case 33:return 9;case 51:case 55:case 60:case 90:return 10;case 54:return 1;case 56:return 11;case 57:return 12;case 58:return 13}return 0};
uva=function(a){switch(parseInt(a.toString(),10)){case 2:return 1;case 3:case 4:return 2;case 5:return 3;case 6:return 4;case 7:return 5;case 15:case 100:return 6;case 14:return 7;case 777:return 8;case 19:return 10;default:return 0}};
wva=function(a,b){this.D=null;this.C=NaN;this.A=null;this.o=a;this.B=b};
tY=function(a,b,c){a.o.U("AD_LOGGING_EVENT",b,c)};
xva=function(a,b,c){uY(a);var d=vY(a);c&&g.Oa(d,c);d.ad_error=b;tY(a,7,d)};
vY=function(a){var b={},c=a.o.videoData,d=a.o.vp(),e=a.o.no();WX(a.o.zb(),b);d&&0<d&&(b.ad_len=d);b.ad_v="0";c&&c.videoId?b.ad_v=c.videoId:e&&(c=g.hh(e),b.ad_dom=c,(c=a.B.o)&&c.B&&(b.ad_v_url=e.substr(0,512)));e=a.o;(e=e.A?e.A.Ne():null)&&(b.ad_cpn=e);b.format=a.o.rf();b.at=a.o.Ei();b.ad_mt=Math.round(1E3*Math.max(yva(a.o),0));return b};
uY=function(a){a.D||(a.D="InstreamAdDisplay ("+a.o.rf()+")")};
wY=function(a,b){g.K.call(this);this.B=Math.max(0,a);this.C=this.A=0;this.D=b;this.o=NaN};
yY=function(a,b,c,d,e,f,k,l){lY.call(this,b,a,2,c);this.K=!1;this.D=this.V=this.L=null;this.o.subscribe("control_toggle_play_pause",this.uH,this);this.o.subscribe("control_play",this.gx,this);this.o.subscribe("control_pause",this.fx,this);this.B=new wva(this,this.o);this.Z=new g.gH(this);this.C=xY(b.player.app,2);this.C.subscribe("statechange",this.sH,this);this.C.subscribe("internalAbandon",this.dE,this);this.C.subscribe("internalvideodatachange",this.tH,this);this.F=this.G=!1;this.O=d;this.ba=e;
this.M=!!f;this.Y=!!k;this.J=l;c=YX(this.o).experiments;d=YX(this.o);a=g.$N(d)&&c.o("use_variable_buffer_timeout_living_room")||c.o("use_variable_buffer_timeout");c=g.$N(d)&&c.A("variable_buffer_timeout_living_room_ms")||c.A("variable_buffer_timeout_ms");this.H=new wY(a?c:15E3,(0,g.A)(this.abort,this));this.aa=b.o.M&&"3"==YX(b).C};
AY=function(a,b){a.la()||a.aa&&zY(a.o.app.H,b)};
CY=function(a){var b=YX(a.o).experiments.o("ad_to_video_use_gel");rP("ad_to_video",["pbresume"],void 0,b);a.J&&(0,g.kR)("yt_abt",a.J,"ad_to_video");a.videoData&&a.videoData.clientPlaybackNonce&&(0,g.kR)("ad_cpn",a.videoData.clientPlaybackNonce,"ad_to_video");a.videoData&&a.videoData.videoId&&(0,g.kR)("ad_docid",a.videoData.videoId,"ad_to_video");(0,g.LP)("adc",void 0,"ad_to_video");g.oU(xY(a.o.player.app,2));BY(a.o,0);a.o.bl(0);a.U("adEnd",a);AY(a,!0)};
DY=function(a,b){YX(a.o).experiments.o("html5_ad_error_releases")?g.oU(a.C):PT(a.C);BY(a.o,0);a.U("adError",b)};
yva=function(a){return a.C?a.C.getCurrentTime():0};
zva=function(a){a=a.zb();if(!a)return null;a=Vt(a);if(!a)if(zo().o("set_default_wta_if_missing_for_externs"))a=bva();else return null;return{menuTitle:a.A,closeButton:a.B,targetingReasonHeader:a.D,targetingReasons:g.ib(a.F),adSettingsLink:g.ib(a.C),controlText:a.H,continueButton:a.G,cancelButton:a.K}};
Ava=function(a){a=a.zb();if(!a)return null;a=Wt(a);if(!a)return null;for(var b=Wu(a),c=[],d=0;d<b;d++)c.push({label:a.A[d].label,url:a.A[d].url});return{goneText:a.C,questionText:a.D,undoText:a.F,hoverText:a.B,surveyOptions:c}};
Bva=function(a,b){this.o=a;this.D=b;this.o.rf();this.A=this.B=0;this.C=null};
EY=function(a,b,c){a.o.U("AD_LOGGING_EVENT",b,c)};
FY=function(a){var b={};WX(a.o.zb(),b);a.B&&a.A&&(b.ot=a.A-a.B);var c=a.D.isFullscreen()?2:a.D.isWidescreen()?1:0;b.ad_ps=c;b.format=a.o.rf();b.at=a.o.Ei();return b};
GY=function(a,b,c,d){lY.call(this,b,a,1,c);this.C=null;this.G=this.D=!1;this.J=null;this.B=new Bva(this,b);this.Z=new g.gH(this);this.H=!!d;this.F=!1};
HY=function(a,b){var c=a.o.getRootNode();g.U(c,"ytp-ad-overlay-open",b);g.U(c,"ytp-ad-overlay-closed",!b)};
IY=function(a,b,c,d){g.K.call(this);this.J=null;this.H=a;this.A=b.Vb;this.D=b;this.K=b.getId();this.o=c;this.F=d;this.C=new bY(this.A,this.H,c,d);this.qb=null;this.M=new g.Xn(this);this.B=new g.Xn(this);this.L=/^(http(s)?:\/\/)(.*.)?youtube.com\/.*$/};
JY=function(a,b){a.J=b;var c=b.rf();a.C.B=c};
KY=function(a,b){var c=g.y("yt.www.watch.ads.setAdId");c&&c(b);a.C.A=b};
Cva=function(a){gva(a.o).then(function(){this.C.D()},g.z,a)};
Dva=function(a){this.o=a};
LY=function(a){lY.call(this,a,2,3,null)};
MY=function(a,b,c){IY.call(this,2,a,b,c);this.G=new Dva(this.o.o);dva()};
Eva=function(a,b){this.o=a?a:"";this.Ib=b};
NY=function(a,b,c,d){GY.call(this,1,a,b,d);this.K=c};
OY=function(a,b,c){IY.call(this,1,a,b,c);this.G=new Eva(this.o.o.adTag,this.K,YX(this.o).experiments)};
PY=function(a,b){var c=b.o;this.G=c.xa;var d=0;c=c.V.toUpperCase();"INVIDEO"==c?d=4:"INSTREAM"==c?d=1:"MPU"==c&&(d=8);IY.call(this,2,a,b,d)};
Fva=function(){QY||(QY=g.Ja(g.y("yt.www.watch.ads.promotionShelfShow"))?Fg():new g.Bg(function(a){g.pF("watchAdsInit",a)}));
return QY};
Gva=function(a){var b=g.y("yt.www.watch.ads.promotionShelfClear");b&&b();b=g.y("yt.www.watch.ads.promotionShelfShow");null!=b&&b(a)};
Kva=function(a){var b=Hs(a),c=Is(b),d=["iv-btp-small-card"];d.push("yt-uix-hovercard-target");g.lQ.call(this,{I:"div",N:"iv-btp-card",P:[{I:"a",N:"iv-btp-card-content",T:{href:Os(lx(c)),target:"_blank"},P:[{I:"div",P:[{I:"div",da:d,T:{"data-position":"bottomright","data-orientation":"vertical"},P:[{I:"div",da:["iv-btp-card-image","yt-uix-hovercard-anchor"],P:[{I:"span"},{I:"div",N:"iv-btp-card-image-aligned",P:[{I:"img",T:{src:Ls(b).getImageUrl()}}]}]},{I:"div",N:"iv-btp-card-info",P:[{I:"span",N:"iv-btp-card-action",
ca:Ms(c)},RY(a)]},Hva(a)]},{I:"div",N:"iv-btp-large-card",P:[{I:"div",N:"iv-btp-card-image",P:[{I:"span"},{I:"div",N:"iv-btp-card-image-aligned",P:[{I:"img",T:{src:Ls(b).getImageUrl()}}]}]},{I:"div",N:"iv-btp-card-info",P:[{I:"div",N:"iv-btp-card-text-box",P:[{I:"div",N:"iv-btp-card-text-valign",P:[{I:"div",da:["yt-ui-ellipsis","yt-ui-ellipsis-4","iv-btp-card-headline"],ca:b.Bd()}]}]},{I:"span",N:"iv-btp-card-action",ca:Ms(c)},RY(a),Iva(a)]}]},Jva(a)]}]}]})};
Iva=function(a){a=Is(Hs(a));return.01>Tw(a,"rating",0)?{I:"div"}:{I:"div",N:"iv-btp-card-review",P:[{I:"div",N:"iv-btp-card-rating",P:[{I:"span",N:"iv-btp-card-rating-bg",P:[{I:"span",N:"iv-btp-card-rating-fg",T:{style:"width: "+Math.floor(100*Tw(a,"rating",0)/5)+"%;"}}]}]},{I:"span",N:"iv-btp-card-reviews",ca:et(a,"review_text")}]}};
Hva=function(a){var b=Hs(a),c=Is(b);return{I:"div",da:["yt-uix-hovercard-content","iv-btp-hovercard"],P:[{I:"div",N:"iv-btp-hovercard-text-box",P:[{I:"a",T:{href:Os(lx(c)),target:"_blank"},P:[{I:"div",da:["yt-ui-ellipsis","yt-ui-ellipsis-4","iv-btp-hovercard-headline"],ca:b.Bd()}]},{I:"div",N:"iv-btp-hovercard-info",P:[{I:"span",N:"iv-btp-hovercard-action",ca:Ms(c)},RY(a)]},Iva(a)]}]}};
RY=function(a){return{I:"div",N:"iv-btp-card-merchant",P:[{I:"span",N:"iv-btp-card-merchant-text",ca:Ks(Is(Hs(a)))}]}};
Jva=function(a){var b=[];a=Is(Hs(a));for(var c={TRIGGER_TYPE:"YOUTUBE_SHELF_SHOW"},d=0;d<Xw(a,"event");d++){var e=new Ww(Vw(a,"event",d));7==e.Xb()&&(e=g.fo(et(e,"base_url"),c),b.push({I:"img",T:{src:e}}))}return{I:"div",N:"iv-btp-impressions",P:b}};
SY=function(){g.lQ.call(this,{I:"div",N:"iv-btp-companion",P:[{I:"div",N:"iv-btp-block-clicks"},{I:"div",N:"iv-btp-attribution",P:[{I:"span",N:"iv-btp-title",ca:"{{title}}"},{I:"div",N:"ad-info-container",P:[{I:"span",N:"iv-btp-sponsored",ca:"\u0420\u0435\u043a\u043b\u0430\u043c\u0430"},{I:"button",N:"ad-info-icon"}]}]}]});var a=this.o["iv-btp-companion"];this.D=new RV;this.D.A(a);this.G=new g.jH(this);g.L(this,this.G);this.K=new g.V(this.jy,200,this);g.L(this,this.K);this.J=this.o["iv-btp-block-clicks"];
this.F=new g.V(g.Na(function(b){g.M(b,!1)},this.J),1E3);
g.L(this,this.F);this.B=null;this.H=Lva();this.G.R(window,"resize",this.uL);this.G.R(this.o["ad-info-icon"],"click",this.cQ)};
Mva=function(a,b){a.clear();g.M(a.J,!0);var c=(0,g.I)(b,g.Na(function(d){return new Kva(d)}));
a.updateValue("title",0<b.length?et(b[0],"teaser_text"):"");yta(a.D,c);a.jy()};
Lva=function(){return{dialogMessage:{runs:[{text:"\u042d\u0442\u043e \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u043d\u0430\u044f \u0440\u0435\u043a\u043b\u0430\u043c\u0430. \u0415\u0435 \u043f\u043e\u043a\u0430\u0437 \u043c\u043e\u0436\u0435\u0442 \u043e\u043f\u043b\u0430\u0447\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u043f\u0440\u043e\u0434\u0430\u0432\u0446\u043e\u043c."}]}}};
TY=function(a,b){lY.call(this,a,14,14,b);this.C=new SY;g.L(this,this.C)};
Nva=function(a){return(0,g.re)(a.A.zb().D,function(b){return Uw(b.Qe(),"show_in_promotion_shelf")})};
UY=function(a,b,c){IY.call(this,14,a,b,c)};
VY=function(a,b,c){IY.call(this,14,a,b,c)};
Ova=function(a,b,c,d,e){this.B=a;this.A=b;this.o=c;this.G=YX(this.B);this.D=d;this.F=ZX(this.B).lengthSeconds;this.H=e;this.C="html5";g.TN(this.G)?this.C="html5_embed":LN||KN?this.C="html5_ios":$F("android")?this.C="html5_android":jG()?this.C="html5_wp":eG()?this.C="html5_ps3":g.pO(this.G)?(a=(g.Wb(window,"environment","brand")||"").toLowerCase(),b=(g.Wb(window,"environment","model")||"").toLowerCase(),this.C="roku"==a||"bskyb"==a?"roku":"wiiu"==b?"wii":"html5_tv_leanback"):iG()?this.C="html5_wii":
this.C="html5_desktop"};
Pva=function(a){return WY(a.A)?"preroll":XY(a.A)?"postroll":"midroll"};
Qva=function(a){return(a=a.B.A)?(0,g.xk)(a.Db,function(b){return YY(b)||XY(b)}):!1};
ZY=function(a,b){GY.call(this,4,a,b)};
$Y=function(a,b,c){IY.call(this,4,a,b,c);var d=this.o.o;this.G=g.G(d.Ia);var e=ZX(this.o)&&ZX(this.o).nl;this.V=new Ova(b,a,d,c,!!e)};
aZ=function(a,b){this.A=a;this.o=b};
Rva=function(a){return 0<(a.o&3)};
bZ=function(a,b,c,d,e){g.mH.call(this);this.G=!0;this.A=!1;this.isVisible=!0;this.B="unloaded";this.H=!1;this.Ja=b;this.C=a;this.Vb=c;this.F=d;this.D=this.o=null;this.J=!!e};
dZ=function(a){return WY(a)?a.Mb()&&cZ(a)?-0x8000000000000:0:g.Ca(a.Vb.A)?1E3*UX(a.Vb):0x8000000000000};
Sva=function(a){var b=!YX(a.C).experiments.o("disable_fetching_previous_nonadjacent_midrolls");return WY(a)||b&&a.C.player&&1E3*a.C.player.getCurrentTime()>=dZ(a)?!1:(0,g.wj)(a.F,function(c){switch(c.Xb()){case 1:case 2:case 5:return!0;default:return!1}})};
WY=function(a){return 1==a.Vb.o};
cZ=function(a){if(!a.Mb())throw Error("Preroll status is undefined before ad load.");return WY(a)&&a.A};
YY=function(a){return 2==a.Vb.o};
XY=function(a){return 3==a.Vb.o};
iZ=function(a){a.B="loading";WY(a)&&!(0,g.xk)(a.F,Rva)&&eZ(a.C);if(a.J)a.B="loaded",a.A=!0,fZ(a);else{var b=a.F.shift();b?(WY(a)&&a.C.De("nl"),b=b.create(a,a.C),g.L(a,b),b.load()):a.C.o&&a.C.o.G&&5!=a.Vb.o?Tva(a,new LY(a.C),a.Vb):(gZ(a.C,2,hZ(a,{})),Uva(a,!1),a.B="error",fZ(a))}};
jZ=function(a){a.o&&(a.o.unsubscribe("adEnd",a.iE,a),a.o.unsubscribe("adError",a.kH,a),a.o.unsubscribe("AD_LOGGING_EVENT",a.mH,a),a.o.unsubscribe("select",a.jH,a),a.o.unsubscribe("adCompanionInitialized",a.lH,a))};
Tva=function(a,b,c){a.o=b;a.Vb=c;g.L(a,a.o);0==a.Ja&&(b=a.o.Ei(),a.C.O.at=b);a.o instanceof yY?a.A=!0:a.o instanceof LY?a.isVisible=!1:a.o instanceof ZY?a.isVisible=!1:a.o instanceof NY&&(a.isVisible=!1);a.B="loaded";fZ(a)};
fZ=function(a){a.U("adBreakComplete",a)};
Uva=function(a,b){a.D&&(a.D.Zk({FILLED_OPPORTUNITY:b?1:0}),a.D.dispose(),a.D=null)};
hZ=function(a,b){b.break_type=a.Vb.o;b.sst=UX(a.Vb);b.sidx=0;return b};
Vva=function(a){var b=0;a.Y&&(b|=1);a.O&&(b|=2);var c=0;a.H&&a.L&&(c=4);a=new g.Bn;a.set(3,b);a.set(4,c);return a};
Wva=function(a,b){var c=[];if(a.ga)return c.push("pla"==(a.V||"").toLowerCase()?new aZ(8,16):new aZ(4,0)),c;if(a.independentBreakOffsets&&5==b)return a.ia&&c.push(new aZ(7,16)),c;if(a.ea){var d=0;if(a.C||a.F)d|=1;a.ha&&(d|=4);a.G&&(d|=8);c.push(new aZ(5,d))}a.ba&&(d=0,a.C&&(d|=1),a.F&&(d|=2),a.ha&&a.H&&(d|=4),a.G&&a.H&&(d|=8),d&&c.push(new aZ(2,d)));d=Vva(a);var e=d.get(3);e&&c.push(new aZ(1,e));!a.independentBreakOffsets&&a.ia&&c.push(new aZ(7,16));(d=d.get(4))&&c.push(new aZ(1,d));return c};
Xva=function(a){this.o=a};
Zva=function(a){var b=[];(0,g.C)(Yva(a),function(c,d){var e=this.o;var f=Wva(this.o.o,c.o);e=new bZ(e,d,c,f);b.push(e)},a);
return b};
Yva=function(a){var b=a.o.o;a=[];if(b.ma)for(var c=b.ma.split(","),d=0;d<c.length;d++){var e=g.Bc(c[d]);e=0>e?new TX(3):0<e?new TX(2,e):new TX(1);a.push(e)}else a=$va;if(b.independentBreakOffsets)for(b=b.independentBreakOffsets.split(","),d=0;d<b.length;d++)a.push(new TX(5,g.Bc(b[d])));g.tb(a,Nua);return a};
cwa=function(a,b){this.K=a;this.A=this.K.A;this.B=g.pO(this.K);this.D=this.A||this.B;this.M=!this.B&&!SN(a);this.C=VX(b.instream);this.isLiveStream=1==b.livestream;this.F=VX(b.trueview);this.aa=VX(b.aftv);this.ma=b.ad_slots;this.independentBreakOffsets=b.independent_break_offsets||null;this.adFlags=b.ad_flags||0;this.Fa=b.cafe_experiment_id;this.adTag=b.ad_tag;this.Wa=!!b.adtest;this.afvAdTag=b.afv_ad_tag;this.afvInvideoAdTag=b.afv_invideo_ad_tag;this.age=parseInt(b.ad_age,10);this.applyFadeOnMidrolls=
!!b.apply_fade_on_midrolls&&(this.C||this.F)&&!this.K.aa;this.contentOwnerId=b.cid;this.contentVideoId=DN(b);this.excludedAds=b.excluded_ads;this.fadeInDurationMilliseconds=parseInt(b.fade_in_duration_milliseconds,10)||0;this.fadeInStartMilliseconds=parseInt(b.fade_in_start_milliseconds,10)||0;this.fadeOutDurationMilliseconds=parseInt(b.fade_out_duration_milliseconds,10)||0;this.fadeOutStartMilliseconds=parseInt(b.fade_out_start_milliseconds,10)||0;this.V=b.force_ad_type;this.xa=b.force_ad_url;this.Ia=
b.freewheel_ad_tag;this.gender=$b(awa,function(c){return c==b.ad_gender});
this.sa=b.dbp;this.L=VX(b.afv)&&!this.D;this.O=this.aa&&this.F;this.Y=this.aa&&this.C&&!VX(b.no_afv_instream);this.ba=VX(b.dclk);VX(b.gpt_migration);this.ga=VX(b.forced_ad);this.ea=1==parseInt(b.tpas_ad_type_id,10);this.jb=!!b.fqsf;this.ha=VX(b.invideo)&&!this.D;this.G=VX(b.mpu)&&!this.D;this.ia=!!b.pla;this.Ra=VX(b.shortform);this.H=VX(b.sffb);this.ya=b.ad_language_iso639_2;this.o=this.D&&!this.K.experiments.o("disable_client_side_midroll_freq_capping_nonpc")?parseInt(b.midroll_freqcap,10):-1;isNaN(this.o)&&
(this.o=-1);this.midrollPrefetchSize=parseInt(b.midroll_prefetch_size,10)||0;this.tagForChildDirected=VX(b.tag_for_child_directed);this.serverPrefetchedVast=b.server_prefetched_vast;this.surveyCreativeData=b.surveyCreativeData||null;this.Oa=this.aa&&this.H&&!this.L;this.La=this.L||this.Oa;this.Sa=parseInt(b.ad_device,10);this.Aa=b.tpas_video_id;this.ka=b.tpas_partner_id;this.vmap=b.vmap;this.gc=this.K.gc;this.showContentThumbnail=!0;g.Ba(b.show_content_thumbnail)&&(this.showContentThumbnail=b.show_content_thumbnail);
this.J=bwa(b.serialized_ad_ux_config)};
bwa=function(a){if(a)try{var b=JSON.parse(a);return new rf(b)}catch(c){}return null};
kZ=function(a,b){g.K.call(this);this.C=a;this.Je=new g.Xn(this);g.L(this,this.Je);this.A=null;this.o=!1;this.Je.X(b,"companionImpression",this.D);this.Je.X(b,"companionClick",this.B)};
lZ=function(a){g.K.call(this);this.o=a;this.A=NaN;this.D={};a=a.o;this.F=a.fadeInDurationMilliseconds;this.G=a.fadeInStartMilliseconds;this.C=a.fadeOutDurationMilliseconds;this.B=a.fadeOutStartMilliseconds;this.tG()};
dwa=function(a,b){a.D[b]&&(g.$U(a.o.player,[a.D[b]],void 0),delete a.D[b])};
ewa=function(a,b,c,d){0>=c||(isNaN(a.A)||g.iF(a.A),c=(0,g.H)()+c,a.A=0==d?bW((0,g.A)(a.yH,a,b,c,100),0):bW((0,g.A)(a.wH,a,b,c,100),0))};
mZ=function(a,b,c){a=aQ(ZX(a.o));b.setVolume(c*a)};
nZ=function(a){lZ.call(this,a)};
oZ=function(a,b,c){g.K.call(this);this.o=a;this.F=b;this.B=c;this.C=-1;this.D=NaN;this.B&&0<this.o.o.o&&this.o.subscribe("endseeking",this.A,this)};
fwa=function(a,b){pZ(a);0<b&&(a.D=g.gF((0,g.A)(a.A,a),1E3*b))};
pZ=function(a){g.iF(a.D);a.D=NaN};
rZ=function(a,b){if(!a.B||!YY(b)&&!XY(b))return!1;var c=a.o.o.o;if(0>=c||0>=a.C)return!1;var d=(0,g.H)()/1E3,e=qZ(a,b)-a.o.player.getCurrentTime();0<e&&(d+=e);return d-a.C<=c};
qZ=function(a,b){return XY(b)?a.o.player.getVideoData().lengthSeconds:UX(b.Vb)};
sZ=function(a,b){g.K.call(this);this.K=this.o=null;this.M=[];this.V=NaN;this.Db=b;this.G=[];this.C={};this.D={};this.A=a;var c=a.o,d=!c.isLiveStream&&(0,g.xk)(this.Db,function(e){return YY(e)||XY(e)});
this.J=new oZ(this.A,this,d);this.B=c.applyFadeOnMidrolls?new lZ(a):new nZ(a);this.ba=(0,g.xk)(this.Db,function(e){return WY(e)})};
hwa=function(a){a.G.length||(a.G=(0,g.re)(a.Db,function(b){return"unloaded"==b.B}),0==a.G.length?eZ(a.A):(a.ba||eZ(a.A),gwa(a)))};
gwa=function(a){if(a.G.length){var b=a.G.shift();b.subscribe("adBreakComplete",a.Jk,a);b.subscribe("adCompanionInitialized",a.Pw,a);iZ(b)}};
iwa=function(a,b){function c(f){return f&&5!=f.Vb.o}
var d=Xa(a.Db,b),e=kb(a.Db,0,d);d=kb(a.Db,d+1);return{previous:g.Ua(e,c),next:g.Ua(d,c)}};
jwa=function(a,b,c){var d=dZ(b);if(!isNaN(d)){var e={};e.priority=-2!=UX(b.Vb)?2:3;e.id=String(b.getId());e.visible=b.isVisible;d=a.B.jG(b,d);c=a.B.iG(b,c);c=new g.lR(d,c,e);a.D[b.getId()]=c;tZ(a.A,[c]);a.B.Zz(b)}};
kwa=function(a,b){var c=b.getId();a.D[c]&&(dwa(a.B,c),g.$U(a.A.player,[a.D[c]],void 0),delete a.D[c])};
lwa=function(a,b){if(g.Aa(b)){var c=a.Uj(b);if(c)if(a.o==c&&!c.A&&c.isVisible)c.show();else{if(a.o){if(5==c.Vb.o){a.o.A?a.M.push(b):c.show();return}a.wi(a.o)}if(rZ(a.J,c))a.o=null,c=a.D[c.getId()],c.visible||(c.visible=!0,tZ(a.A,[c],1));else{5!=c.Vb.o&&(a.o=c);c.subscribe("adBreakComplete",a.En,a);c.subscribe("adCompanionInitialized",a.Pw,a);if(c.A){if(1!=c.Vb.o){var d=YX(a.A).experiments.o("video_to_ad_use_gel");rP("video_to_ad",["apbs"],void 0,d)}d=a.A;d.K=!0;d.C||d.pauseVideo()}a.B.zH(c);c.show()}}}};
uZ=function(a,b,c){sZ.call(this,a,b);this.H=[];this.L=[];this.F=[];this.aa=c;this.Y=NaN;this.O=a.o.o;var d=!YX(a).experiments.o("disable_fetching_previous_nonadjacent_midrolls"),e=1E3*a.player.getCurrentTime();d=d?null:Wa(b,function(l){return a.player&&e>=dZ(l)});
if(1<=c)for(c=0;c<b.length;c++){var f=b[c];if(Sva(f)&&f!=d){var k=new bZ(f.C,f.Ja,f.Vb,f.F,!0);b[c]=k;this.H.push(f)}}this.ba||this.Ok()};
vZ=function(a){g.iF(a.Y);a.Y=NaN};
wZ=function(a,b){sZ.call(this,a,b);this.Y=a;this.aa=!0;this.H=[];this.ha=1;this.L=0};
mwa=function(a){if(null==a.o&&0<a.H.length){var b=a.H[0];b.isVisible?(a.aa=a.F.isAtLiveHead(),a.ea=Math.ceil((0,g.H)()/1E3),b.subscribe("adBreakComplete",a.O,a),a.o=b,b.show()):a.O()}else null!=a.o&&a.L++};
nwa=function(a,b){this.J=a;this.F=b;this.H=(0,g.H)();this.D=0;this.o=a.o;this.B={};this.G=new tva(a);var c=[];this.o.ea&&this.o.C&&c.push("4_2");this.o.ba&&(this.o.C&&c.push("1_2"),this.o.F&&c.push("1_2_1"),this.o.ha&&c.push("1_1"),this.o.G&&c.push("1_3"));this.o.O&&c.push("2_2_1");this.o.Y&&c.push("2_2");this.o.L&&c.push("2_1");this.o.La&&c.push("2_3");this.o.ia&&c.push("14_14");this.A=c.join(",");this.C="";this.B.allowed=this.A;(c=this.o.excludedAds)&&(this.B.ex_ads=c)};
xZ=function(a,b,c){g.K.call(this);this.A=a;this.B=b;this.he=c;this.D=this.F=-1;this.o=owa(this.B.Oe());a=this.B.Oe();a.length&&(a=a[a.length-1],-1==a&&tZ(this.A,[this.o[a]]));0<this.A.o.o&&this.A.subscribe("endseeking",this.C,this)};
pwa=function(a,b){yZ(a);0<b&&(a.D=g.gF((0,g.A)(a.C,a),1E3*b))};
yZ=function(a){-1!=a.D&&(g.iF(a.D),a.D=-1)};
owa=function(a){if(!a.length)return{};for(var b={},c=0;c<a.length-1;c++){var d=a[c];var e=a[c+1];e=-1==e?0x8000000000000:1E3*e;b[d]=new g.lR(-1==d?0x8000000000000:1E3*d,0x8000000000000==e?e:e-1,{id:String(d),visible:!0})}d=a[a.length-1];b[d]=new g.lR(-1==d?0x8000000000000:1E3*d,0x8000000000000,{id:String(d),visible:!0});return b};
zZ=function(){g.K.call(this)};
qwa=function(a){if(!/^\d+?(:\d+){0,2}(\.\d+)?$/.test(a))return null;var b=0;(0,g.C)(a.split(":"),function(c){b=60*b+Math.abs(parseFloat(c))});
return 1E3*b};
AZ=function(a){g.K.call(this);this.o=a;this.A=null;this.C={};this.D={};a=a.o;this.F=a.fadeInDurationMilliseconds;this.J=a.fadeInStartMilliseconds;this.K=a.fadeOutDurationMilliseconds;this.B=a.fadeOutStartMilliseconds;this.L=1E3*this.o.player.getVideoData().lengthSeconds;this.G=this.B+this.K;this.H=new g.jH(this);g.L(this,this.H);this.H.R(this.o.player,"applicationplayerstatechange",this.JH)};
BZ=function(a,b){return 0!=b&&-1!=b&&-2!=b&&0<b&&b<a.L};
rwa=function(a){a=a.getAttribute("breakType");return!!a&&(0,g.xk)(a.split(","),function(b){b=Hb(b);return"linear"==b})};
swa=function(a){var b=3;var c=!0;b=b?b:0;c=c?c:!1;var d=parseFloat(g.xc(a/1E3,2,b));a=Math.floor(d/60);var e=Math.floor(a/60);a%=60;b=g.xc(d%60,2,b);c=b=e||c?e+":"+g.xc(a,2)+":"+b:a+":"+b;return 1==c.split(":")[0].length?"0".concat(c):c};
uwa=function(a,b){var c=Math.max(Math.abs(a.B),Math.abs(a.G));(0,g.C)(b,(0,g.A)(function(d){var e=(0,g.xk)(b,function(k){return d!=k&&k>=d-c&&k<=d+c}),f=twa(this,d);
!e&&f&&(this.C[f]=d)},a));
return 0<g.Sb(a.C)};
twa=function(a,b){var c=1E3*Math.round((b+a.G)/1E3),d=b+a.B,e=b+a.J;return BZ(a,b)&&BZ(a,c)&&BZ(a,d)&&BZ(a,e)?c:null};
vwa=function(a,b,c,d){0>=c||(d=0==d?a.IH:a.HH,c=(0,g.H)()+c,a.A=bW((0,g.A)(d,a,b,c,100),0))};
CZ=function(a,b,c){a=aQ(ZX(a.o));b.setVolume(c*a)};
DZ=function(a){g.K.call(this);this.he=this.C=this.B=this.G=this.A=null;this.L=this.J=!1;this.o=a;this.H=this.qb=null;this.M={};this.V=new g.Xn(this);this.D=new g.Xn(this);this.K=new g.jH(this);g.L(this,this.K);this.F=null};
wwa=function(a,b,c){a=a.cloneNode(!0);a.setAttribute("timeOffset",b);(0,g.C)(a.getElementsByTagName("VASTAdTagURI"),function(d){if("end"==b){var e="post";var f=-1;var k="postroll"}else e="mid",f=qwa(b).toString(),k="midroll";var l={"[INDEX]":c.toString(),"[POSITION]":e,"[START]":f,"[GPTPOS]":k};d.textContent=d.textContent.replace(/\[[A-Z_]+\]/g,function(m){return l[m]||m})});
return a};
xwa=function(a,b){var c=g.mt(b);if(!c)return null;var d=ue(c);if(!d)return c;var e=g.Ua(se(d),function(n){return"#1"==n.getAttribute("timeOffset")});
if(e){var f=g.Ua(se(e),function(n){return"vmap:Extensions"==n.tagName}),k=f?se(f):[];
k=g.Ua(k,function(n){return"YTBreakTime"==n.getAttribute("type")});
f=(f=f.removeChild(k))?se(f):[];var l=e,m=1;(0,g.C)(f,function(n){n=n.getAttribute("timeOffset");n=wwa(e,n,m);m++;d.insertBefore(n,l.nextSibling);l=n});
d.removeChild(e)}a.F.xF(d)||(g.Gf(a.F),a.F=new zZ);return c};
ywa=function(a){var b=Qua(a.o.o,YX(a.o),ZX(a.o));b.sK=!0;b.kA=!1;b.uF=10;b.hx=a.F.HB();return b};
Awa=function(a,b){if(b){dva();var c=gva(a.o),d=dE(a.A);if(d){var e=d.Ue();d=g.Ya(SX,e)?new TX(e,d.Dc):new TX(e);e=mva($r(b));d=new bY(d,e.o,a.o,14==e.A?16:4);c.then(d.D,g.z,d)}}else a.o.o.G&&(a.B=new LY(a.o),zwa(a,a.B),a.B.show())};
FZ=function(a,b){b&&"adLoadError"==b.Xb()&&(YX(a.o).experiments.o("enable_no_ads_ping_for_mpu_disable")&&!a.o.o.G&&a.GH(dE(a.A),0,2,{}),EZ(a))};
GZ=function(a){a.B&&(a.B.dispose(),a.B=null)};
HZ=function(a){var b=du(a);a=0<b.length?b.pop():Qt(a);a=Bwa[a.toUpperCase()];return null!=a?a:0};
EZ=function(a){a.J||(eZ(a.o),a.J=!0)};
zwa=function(a,b){b.subscribe("AD_LOGGING_EVENT",(0,g.A)(a.GH,a,dE(a.A),b.adType))};
IZ=function(a){g.lV.call(this,a);this.ue="";this.J=new g.jH(this);g.L(this,this.J);this.created=!1};
tZ=function(a,b,c){for(var d=0;d<b.length;d++)b[d].namespace=a.ue;g.YU(a.player,b,c)};
eZ=function(a){g.bV(a.player,a.ue)};
Cwa=function(a,b,c){var d={},e;for(e in b)d[a.ue+"_"+e]=b[e];b={};for(var f in c)b[a.ue+"_"+f]=c[f];a=g.LU(a.player);g.Oa(a.ea,d||null);g.Oa(a.ba,b||null)};
JZ=function(){g.K.call(this);this.A=new g.W({I:"div",N:"ytp-out-of-player-ad-info",P:[{I:"div",N:"ytp-out-of-player-hover-container"},{I:"div",N:"ytp-out-of-player-ad-info-button-container",P:[{I:"button",da:["ytp-out-of-player-ad-info-button"],P:[{I:"span",N:"ad-info-icon"}]}]}]});g.L(this,this.A);this.o=this.A.o["ytp-out-of-player-hover-container"];this.lf=this.A.o["ytp-out-of-player-ad-info-button-container"];this.D=this.A.o["ytp-out-of-player-ad-info-button"];this.C=new AV(this.lf);g.L(this,this.C);
this.B=new g.jH(this);g.L(this,this.B);this.Su();this.A.element.appendChild(this.C.o.ra());this.B.R(this.D,"mouseenter",this.dO);this.B.R(this.D,"mouseleave",this.Su);this.B.R(this.lf,"click",this.cO)};
KZ=function(a){g.W.call(this,{I:"div",N:"ytp-ad-notification-container",ca:"{{content}}"});this.B=a;this.D=null;this.G=-1;this.F=new g.JV(this,250,!1,150);g.L(this,this.F);this.R(this.B,"adnotify",this.Fn);this.R(this.B,"discardadnotify",this.Kk);this.R(this.B,"videodatachange",this.Kk)};
MZ=function(a,b){IZ.call(this,b);this.ue="ad";this.app=a;this.o=this.A=this.B=null;this.K=this.V=!1;this.C=this.qb=null;P.o=!0;P.J=!1;P.aa=!1;P.O=!0;P.Y=Oua();var c=P,d=!g.cG();c.H=d;P.F=0;c=a.o.experiments.A("sdk_wrapper_levels_allowed");!isNaN(c)&&0<c&&(P.L=c);LZ(this)&&(P.A=!0);this.F=null;this.aa={};this.O={at:"0"};c=g.Y(this.player).experiments;if(c.o("enable_midroll_notify")||c.o("enable_postroll_notify"))c=new KZ(this.player),g.L(this,c),g.cV(this.player,c.element,4);this.D=new mY(this.player);
g.cV(this.player,this.D.element,4);this.H=this.ba=null;this.L=-1;this.G=new g.jH(this);g.L(this,this.G);this.Y="";this.M=!1};
ZX=function(a){return NZ(a.app)};
YX=function(a){return a.app.o};
gZ=function(a,b,c){if(a.B){a=a.B;c=c||{};var d=((0,g.H)()-a.H)/1E3;c.art=d;YX(a.J);c.ad_flags=a.o.adFlags;(d=a.o.contentOwnerId)&&(c.cid=d);c.mt=a.F.getCurrentTime();(d=WH())&&(c.lact=d);(d=a.F.getDuration())&&(c.len=d);a.o.jb&&(c.fqsf=1);c.sdkv="3";c.ad_event=b;if(3==b||4==b)a.C=c.at;a:{b=a.G;b:{if(7==c.ad_event&&(a=c.ad_error,21==a||30==a||54==a||32==a&&(1009==c.error_code||!c.ad_id))){a=!1;break b}a=0!=sY(c)?!0:!1}if(a){var e;c.at&&(e=c.at);var f;c.sst&&(f=c.sst);"2_1"==e&&10==f&&(c.break_type=
1);YX(b.o).experiments.o("fix_api_stats_ads_companion_backfill_break_type")&&(a=gc(c,"trsp","0"),"2_3"==e&&10==f&&"0"!=a&&(c.break_type=1));e={};e.device=b.o.o.Sa;e.ns=1;e.sdkv="h.3.0";e.ver="2.0";for(var k in c){f=e;a=k;d=c[k];var l=c;switch(a){case "trsp":f.slot_pos=d;break;case "break_type":g.Ya(SX,g.Bc(d))&&(f.m_pos=l.sst);case "format":case "ad_id":case "ad_v":case "ad_cpn":case "ad_mt":case "aqi":case "ad_sys":f[a]=d;break;case "ad_len":f[a]=Math.round(1E3*d);break;case "ad_error":f.error_code=
vva(d);break;case "error_code":f.ima_error=d;case "error_message":f.error_msg=d;break;case "ad_event":f.event=uva(d);break;case "ck_xy":a=d.split("x"),2==a.length&&(f.i_x=a[0],f.i_y=a[1])}}a=xY(b.o.player.app,2);k=ZX(b.o);e.cpn=k.clientPlaybackNonce;e.content_v=k.videoId;k.Da&&(e.live="1");c.at&&c.at.match(/\d+_2.*/g)?(f=b.o.A,e.mt=null!=f&&null!=f.o?1E3*UX(f.o.Vb):0):e.mt=Math.round(1E3*a.getCurrentTime());f=YX(b.o);e.ei=k.eventId;e.lact=WH();e.vol=Math.round(b.o.app.K.getVolume());e.vis=b.o.getVisibilityState();
d=aY(b.o);e.p_w=d.width;e.p_h=d.height;e.rt=(0,g.H)();if(a=(a=ZT(a))&&Ud(a)===document?ai(a):null)e.pv_h=a.getHeight(),e.pv_w=a.ab();2==sY(c)&&k.adSafetyReason&&(e.asr=k.adSafetyReason);YX(b.o).experiments.o("enable_extra_params_on_ima_abandon_pings_killswitch")||10!=sY(c)||(e.devicever=f.deviceParams.cver);k=Un(e);c=YX(b.o).D+"api/stats/ads";c=new g.Hn(c);Mn(c,k);if(b=b.o.getVideoData())if(b=$P(b)){g.UF(c.toString(),{headers:{Authorization:"Bearer "+b}});break a}g.pG(c.toString())}}}};
OZ=function(a,b,c){c=c||{};c.ad_error=b;gZ(a,7,c)};
PZ=function(a,b,c){a.app.K.Ba(b,c)};
Dwa=function(a){var b;(b=!a.V)||(b=a.app.o.experiments.o("enable_html5_midroll_tsla_update")||a.app.o.experiments.o("enable_html5_midroll_tsla_update_for_living_room"));b&&(b=YX(a).D,g.pG(b+"mac_204?action_fcts=1"),a.V=!0)};
QZ=function(a){return a.A instanceof wZ?a.A:null};
RZ=function(a){return g.Z(a.app).A};
Ewa=function(a){var b=nY(a.D);var c=document;try{var d=c&&c.activeElement;var e=d&&d.nodeName?d:null}catch(f){e=null}b=g.we(b,e);g.kV(a.player,2);e=g.Y(a.player);"3"!=e.C||SN(e)||zY(g.PU(a.player),!0);b&&a.player.getRootNode().focus()};
aY=function(a){return a.o.B?(a=a.app.H.getPlayerSize(),new g.Ch(0,0,a.width,a.height)):g.ii(a.getRootNode())};
Fwa=function(a,b){a.De("bd");var c=a.o;var d=c.midrollPrefetchSize;c=c.isLiveStream?new wZ(a,b):0<d?new uZ(a,b,d):new sZ(a,b);a.A=c;hwa(a.A)};
TZ=function(a){SZ(a);a.playVideo()};
SZ=function(a){a.K=!1;var b=g.Z(a.app,2);b&&a.app.o.J.remove(b.getVideoData().videoId)};
BY=function(a,b,c){c&&PZ(a,"onAdInfoChange",c);a=a.app;1==b&&((0,g.LP)("vr",void 0,""),a.ia||(a.ia=xma(a.yE,a)),vsa(a.D),voa(a.ha,a.D.getVideoData(),Gwa(a)));c=a.o;(g.pO(c)&&c.Nb||g.aO(c))&&(a.isContinuousPlayback()||a.A.Ba("onAdStateChange",b))};
UZ=function(a){return!!(a.o.H&&a.A&&1<a.A.Db.length)};
LZ=function(a){a=a.app.o;return YN(a)&&!g.aO(a)&&"desktop-polymer"==a.playerStyle};
hY=function(a,b){b.contentVideoId||(b.contentVideoId=ZX(a).videoId);PZ(a,"updateKevlarOrC3Companion",b)};
Hwa=function(a,b,c){b=new g.lR(1E3*Math.floor(c+Math.random()*Math.max(b.o-10-c,0)),1E3*b.o,{id:"livead",priority:2});tZ(a,[b],1)};
Jwa=function(a,b){a.app.o.experiments.o("desktop_companion_wta_support")&&(g.Ja(g.y("yt.www.watch.ads.addInstreamCompanionWtaUi"))?Iwa(b):g.pF("watchAdsInit",function(){Iwa(b)}))};
Iwa=function(a){var b=g.y("yt.www.watch.ads.addInstreamCompanionWtaUi");if(g.Ja(b)){var c=new JZ;a=pva(Vt(a),Wt(a));c.bind(a);b(c.ra().element)}else g.$E(Error("Watch page is not ready after WATCH_ADS_INIT event"))};
VZ=function(a,b,c){g.K.call(this);this.ma=b;this.ka=c;this.O=this.J=this.yd=this.L=this.H=this.B=this.Y=this.aa=this.pd=this.D=this.K=this.A=null;this.ba={};this.ea={};this.ia=null;this.o=a;this.V=this.ga=this.G=this.M=this.F=this.C=null;this.ha=g.Y(a).experiments.o("web_player_defer_modules")};
g.Kwa=function(a){var b=g.Y(a.o);if(g.pO(b)||b.gc||!b.Ia&&!b.La)return!1;var c=a.o.getPresentingPlayerType();if(2==c)return!1;if(3==c)return b.experiments.o("desktop_enable_autoplay");a=a.o.getVideoData();if(!a)return!1;c=!a.isLiveDefaultBroadcast||b.experiments.o("allow_poltergust_autoplay");return!(a.Da&&(!b.experiments.o("allow_live_autoplay")||!c))};
Lwa=function(a){a.ha&&(a.Yt(),a.Wt(),a.Xt())};
Mwa=function(a){var b=a.o.getVideoData(),c=g.Y(a.o).experiments,d=g.gG(),e=c.o("enable_spherical_kabuki");a=g.nO(g.Y(a.o));if(b.Uf())return d||e||a||c.o("html5_enable_spherical");if(b.Qg())return a||d||e||c.o("html5_enable_spherical");if(b.Rg())return a||d||c.o("html5_enable_spherical3d");if(b.Li())return a||c.o("html5_enable_anaglyph3d")||!1;d=b.Ca&&b.Ca.video&&WK(b.Ca.video);return a&&!g.NP(b)&&!b.isVisualizerEligible&&!d&&(c.o("enable_webgl_noop")||c.o("html5_enable_bicubicsharp")||c.o("html5_enable_raisr"))};
Nwa=function(a){g.Y(a.o).experiments.o("web_player_ux_module_wait")&&a.J&&g.bV(a.o,"ux")};
g.Owa=function(a){var b=g.Y(a.o);return a.o.getVideoData().isVisualizerEligible&&oO(b)&&b.experiments.o("web_player_music_visualizer")&&"desktop-polymer"==b.playerStyle&&g.nO(b)&&!(g.QM&&!g.Lc(42))};
XZ=function(a,b,c,d){try{if(d){var e=g.WZ[b];if(e)return new e(a.o);"creatorendscreen"==b?Pwa(a,"annotations_module",c):Pwa(a,b,c)}else g.bV(a.o,b)}catch(f){g.bV(a.o,b),g.$E(f)}return null};
YZ=function(a,b,c){a.A&&(c||a.A.uc(b))&&(g.Gf(a.A),a.A=null);a.K&&(c||a.K.uc(b))&&(g.Gf(a.K),a.K=null);a.D&&(c||a.D.uc(b))&&(g.Gf(a.D),a.D=null);a.pd&&(c||a.pd.uc(b))&&(g.Gf(a.pd),a.pd=null);a.aa&&(c||a.aa.uc(b))&&(g.Gf(a.aa),a.aa=null);a.Y&&(c||a.Y.uc(b))&&(g.Gf(a.Y),a.Y=null);a.B&&(c||a.B.uc(b))&&(g.Gf(a.B),a.B=null);a.H&&(c||a.H.uc(b))&&(g.Gf(a.H),a.H=null);a.L&&(c||a.L.uc(b))&&(g.Gf(a.L),a.L=null);a.yd&&(c||a.yd.uc(b))&&(g.Gf(a.yd),a.yd=null);a.F&&(c||a.F.uc(b))&&(g.Gf(a.F),a.F=null);a.M&&(c||
a.M.uc(b))&&(g.Gf(a.M),a.M=null);a.V&&(c||a.V.uc(b))&&(g.Gf(a.V),a.V=null);a.G&&(c||a.G.uc(b))&&(g.Gf(a.G),a.G=null);a.C&&(c||a.C.uc(b))&&(g.Gf(a.C),a.C=null);a.J&&(c||a.J.uc(b))&&(g.Gf(a.J),a.J=null);a.O&&(c||a.O.uc(b))&&(g.Gf(a.O),a.O=null)};
g.QU=function(a){return g.Y(a.o).Ab?a.M:null};
Qna=function(a){return g.Y(a.o).ma?a.J:null};
Pwa=function(a,b,c){if(a.ma){for(var d=a.ma+b+".js",e=document.getElementsByTagName("SCRIPT"),f=!1,k,l=0;l<e.length;l++){var m=e[l];m.src==d&&(k=m)}k||(k=g.ke("SCRIPT"),f=!0);var n=function(){a.la()||c.call(a)},p=function(){a.la()||g.bV(a.o,b)};
k.onload=g.Na(function(q){pg(n);q&&q()},k.onload);
k.onerror=g.Na(function(q){var u=Error("Unable to load player module");u.params=b+".js from "+d+" on "+(document.location&&document.location.origin)+".";g.$E(u);pg(p);q&&q()},k.onerror);
k.onreadystatechange=g.Na(function(q){switch(k.readyState){case "loaded":case "complete":pg(n,this)}q&&q()},k.onreadystatechange);
f&&((e=g.Y(a.o).vg)&&k.setAttribute("nonce",e),Hd(k,vi(d)),e=document.getElementsByTagName("HEAD")[0]||document.body,e.insertBefore(k,e.firstChild),g.Ff(a,function(){k.parentNode&&k.parentNode.removeChild(k);g.WZ[b]=null;"annotations_module"==b&&(g.WZ.creatorendscreen=null)}))}};
g.ZZ=function(a){g.W.call(this,{I:"div",P:[{I:"div",N:"ytp-bezel-text-wrapper",P:[{I:"div",N:"ytp-bezel-text",ca:"{{title}}"}]},{I:"div",N:"ytp-bezel",T:{role:"status","aria-label":"{{label}}"},P:[{I:"div",N:"ytp-bezel-icon",ca:"{{icon}}"}]}]});this.F=new g.V(this.show,10,this);g.L(this,this.F);this.B=new g.V(this.hide,500,this);g.L(this,this.B);this.D=a;this.hide()};
Qwa=function(a,b){if(b)g.X(g.OU(a.D),64)||$Z(a,ota(),"\u0421\u043c\u043e\u0442\u0440\u0435\u0442\u044c");else{var c=a.D.getVideoData();c.Da&&!c.allowLiveDvr?$Z(a,sta(),"\u041e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0440\u044f\u043c\u0443\u044e \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u044e"):$Z(a,mta(),"\u041f\u0430\u0443\u0437\u0430")}};
a_=function(a,b,c){0>=b?(c=IV(),b="\u0437\u0432\u0443\u043a \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d"):(c=c?vta():uta(),b=Math.floor(b)+"% \u0433\u0440\u043e\u043c\u043a\u043e\u0441\u0442\u044c");$Z(a,c,b)};
Rwa=function(a,b){var c=b?g.DV?{I:"div",da:["ytp-icon","ytp-icon-fast-rewind"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"M 17,24 V 12 l -8.5,6 8.5,6 z m .5,-6 8.5,6 V 12 l -8.5,6 z"}}]}:g.DV?{I:"div",da:["ytp-icon","ytp-icon-fast-forward"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"M 10,24 18.5,18 10,12 V 24 z M 19,12 V 24 L 27.5,18 19,12 z"}}]},d=a.D.getPlaybackRate(),
e=g.wV("\u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f\u00a0\u2013 $RATE",{RATE:String(d)});$Z(a,c,e,d+"x")};
$Z=function(a,b,c,d){d=void 0===d?"":d;a.updateValue("label",void 0===c?"":c);a.updateValue("icon",b);g.uv(a.B);a.F.start();a.updateValue("title",d);g.U(a.element,"ytp-bezel-text-hide",!d)};
c_=function(a,b,c){g.W.call(this,{I:"button",da:["ytp-button","ytp-cards-button"],T:{"aria-label":"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u0438","aria-owns":"iv-drawer","aria-haspopup":"true","data-tooltip-opaque":String(g.Y(a).B)},P:[{I:"span",N:"ytp-cards-button-icon-default",P:[{I:"div",N:"ytp-cards-button-icon",P:[g.DV?{I:"div",da:["ytp-icon","ytp-icon-info-card"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},
P:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"M18,8 C12.47,8 8,12.47 8,18 C8,23.52 12.47,28 18,28 C23.52,28 28,23.52 28,18 C28,12.47 23.52,8 18,8 L18,8 Z M17,16 L19,16 L19,24 L17,24 L17,16 Z M17,12 L19,12 L19,14 L17,14 L17,12 Z"}}]}]},{I:"div",N:"ytp-cards-button-title",ca:"\u041e \u0432\u0438\u0434\u0435\u043e"}]},{I:"span",N:"ytp-cards-button-icon-shopping",P:[{I:"div",N:"ytp-cards-button-icon",P:[g.DV?{I:"div",da:["ytp-icon","ytp-icon-shopping-card"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",
width:"100%"},P:[{I:"path",N:"ytp-svg-shadow",T:{d:"M 27.99,18 A 9.99,9.99 0 1 1 8.00,18 9.99,9.99 0 1 1 27.99,18 z"}},{I:"path",N:"ytp-svg-fill",T:{d:"M 18,8 C 12.47,8 8,12.47 8,18 8,23.52 12.47,28 18,28 23.52,28 28,23.52 28,18 28,12.47 23.52,8 18,8 z m -4.68,4 4.53,0 c .35,0 .70,.14 .93,.37 l 5.84,5.84 c .23,.23 .37,.58 .37,.93 0,.35 -0.13,.67 -0.37,.90 L 20.06,24.62 C 19.82,24.86 19.51,25 19.15,25 c -0.35,0 -0.70,-0.14 -0.93,-0.37 L 12.37,18.78 C 12.13,18.54 12,18.20 12,17.84 L 12,13.31 C 12,12.59 12.59,12 13.31,12 z m .96,1.31 c -0.53,0 -0.96,.42 -0.96,.96 0,.53 .42,.96 .96,.96 .53,0 .96,-0.42 .96,-0.96 0,-0.53 -0.42,-0.96 -0.96,-0.96 z",
"fill-opacity":"1"}},{I:"path",N:"ytp-svg-shadow-fill",T:{d:"M 24.61,18.22 18.76,12.37 C 18.53,12.14 18.20,12 17.85,12 H 13.30 C 12.58,12 12,12.58 12,13.30 V 17.85 c 0,.35 .14,.68 .38,.92 l 5.84,5.85 c .23,.23 .55,.37 .91,.37 .35,0 .68,-0.14 .91,-0.38 L 24.61,20.06 C 24.85,19.83 25,19.50 25,19.15 25,18.79 24.85,18.46 24.61,18.22 z M 14.27,15.25 c -0.53,0 -0.97,-0.43 -0.97,-0.97 0,-0.53 .43,-0.97 .97,-0.97 .53,0 .97,.43 .97,.97 0,.53 -0.43,.97 -0.97,.97 z",fill:"#000","fill-opacity":"0.15"}}]}]},{I:"div",
N:"ytp-cards-button-title",ca:"\u041f\u043e\u043a\u0443\u043f\u043a\u0438"}]}]});this.D=a;this.G=b;this.B=null;this.F=new g.JV(this,250,!0,100);g.L(this,this.F);g.U(c,"ytp-show-cards-title",g.Y(a).B);this.hide();this.X("click",this.H);this.X("mouseover",this.J);b_(this,!0)};
b_=function(a,b){b?a.B=pW(a.G.Hb(),a.element):(a.B(),a.B=null)};
d_=function(a,b,c){g.W.call(this,{I:"div",N:"ytp-cards-teaser",P:[{I:"div",N:"ytp-cards-teaser-box"},{I:"div",N:"ytp-cards-teaser-text",P:[{I:"span",N:"ytp-cards-teaser-label",ca:"{{text}}"}]}]});var d=this;this.D=a;this.aa=b;this.J=new g.JV(this,250,!1,250);g.L(this,this.J);this.H=c;this.B=null;this.M=new g.V(this.tS,300,this);g.L(this,this.M);this.L=new g.V(this.rS,2E3,this);g.L(this,this.L);this.Y=new g.lq(null);this.K=[];this.F=null;this.O=new g.V(function(){d.element.style.margin=0},250);
g.L(this,this.O);this.G=null;this.R(c.element,"mouseover",this.ID);this.R(c.element,"mouseout",this.Uh);this.R(a,"cardsteasershow",this.bU);this.R(a,"cardsteaserhide",this.An);this.R(a,"cardstatechange",this.OG);this.R(a,"presentingplayerstatechange",this.OG);this.R(a,"appresize",this.ww);this.R(a,"onShowControls",this.ww);this.R(a,"onHideControls",this.gK);this.X("click",this.VV);this.X("mouseenter",this.YO)};
Swa=function(a,b){a.updateValue("text",b.teaserText);a.element.setAttribute("dir",g.mq(a.Y,b.teaserText));a.J.show();a.F=new g.V(function(){g.T(this.D.getRootNode(),"ytp-cards-teaser-shown");this.ww()},0,a);
a.F.start();b_(a.H,!1);a.B=new g.V(a.An,580+b.durationMs,a);a.B.start();a.K.push(a.X("mouseover",a.ID,a));a.K.push(a.X("mouseout",a.Uh,a))};
e_=function(a){var b=g.oQ({"aria-haspopup":"true"});g.nQ.call(this,b,a);this.X("keydown",this.B)};
f_=function(a,b){a.element.setAttribute("aria-haspopup",b)};
g_=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.rh("/sharing_services",a);g.pG(d)};
h_=function(a,b,c,d){g.WW.call(this,a);this.B=a;this.Y=c;this.aa=d;this.M=new g.nQ(g.oQ(),9,"\u0412\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0441\u0442\u0438 \u0432\u043e \u0432\u0441\u043f\u043b\u044b\u0432\u0430\u044e\u0449\u0435\u043c \u043e\u043a\u043d\u0435");g.L(this,this.M);g.XW(this,this.M,!0);this.M.X("click",a.gD,a);fV(a,this.M.element,this.M,59706);this.G=new e_(8);g.L(this,this.G);g.XW(this,this.G,!0);this.G.X("click",this.CR,this);fV(a,this.G.element,this.G,28659);this.F=
new e_(7);g.L(this,this.F);g.XW(this,this.F,!0);this.F.X("click",this.BR,this);fV(a,this.F.element,this.F,28660);this.D=new e_(6);g.L(this,this.D);g.XW(this,this.D,!0);this.D.X("click",this.zR,this);fV(a,this.D.element,this.D,28658);this.H=new g.SW("\u041f\u043e\u0432\u0442\u043e\u0440",5);g.L(this,this.H);g.XW(this,this.H,!0);this.H.X("click",this.XR,this);fV(a,this.H.element,this.H,28661);this.ba=new g.nQ(g.oQ({href:"{{href}}",target:g.Y(a).F},void 0,!0),4,"\u0420\u0435\u0448\u0438\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u0441 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435\u043c");
g.L(this,this.ba);g.XW(this,this.ba,!0);this.ba.X("click",this.qT,this);this.O=new e_(3);g.L(this,this.O);g.XW(this,this.O,!0);this.O.X("click",this.yR,this);b=new g.nQ(g.oQ(),2,"\u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u0434\u043b\u044f \u0441\u0438\u0441\u0430\u0434\u043c\u0438\u043d\u043e\u0432");g.L(this,b);g.XW(this,b,!0);b.X("click",this.NT,this);this.L=new g.lQ({I:"div",da:["ytp-copytext","ytp-no-contextmenu"],T:{draggable:"false",tabindex:"1"},ca:"{{text}}"});g.L(this,
this.L);this.L.X("click",this.eR,this);this.ka=new VW(a,this.L);g.L(this,this.ka);this.K=null;b=document.queryCommandSupported&&document.queryCommandSupported("copy");g.aM&&g.Lc(43)&&(b=!0);g.EM&&!g.Lc(41)&&(b=!1);b&&(this.K=new g.W({I:"textarea",N:"ytp-html5-clipboard",T:{readonly:""}}),g.L(this,this.K),this.K.A(this.element));this.R(a,"loopchange",this.IE);this.R(a,"videodatachange",this.cP);Twa(this);Uwa(this,this.B.getVideoData())};
i_=function(a,b){if(a.K){var c=a.K.element;c.value=b;c.select();try{var d=document.execCommand("copy")}catch(e){}}d?a.Y.Jb():(a.L.Kb(b,"text"),g.gX(a.Y,a.ka),cW(a.L.element),a.K&&(a.K=null,Twa(a)));return d};
Uwa=function(a,b){var c=g.Y(a.B),d=2==a.B.getPresentingPlayerType(),e=!d||b.ze;e=!c.K&&!!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.Ca&&(c.fmt=PJ(b.Ca)),b.clientPlaybackNonce&&(c.cpn=b.clientPlaybackNonce),b.cf&&(c.partnerid=b.cf),c=g.rh("//support.google.com/googleplay/",c));g.kQ(a.D,e&&b.allowEmbed);g.kQ(a.G,e);g.kQ(a.F,e&&!b.Da);a.ba.Kb(c,"href");g.kQ(a.H,!b.Da&&
!d);g.kQ(a.M,b.Px)};
Twa=function(a){var b=!!a.K;g.mQ(a.O,b?"\u0421\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0434\u043b\u044f \u043e\u0442\u043b\u0430\u0434\u043a\u0438":"\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e\u0431 \u043e\u0442\u043b\u0430\u0434\u043a\u0435");f_(a.O,!b);g.mQ(a.D,b?"\u041a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c HTML-\u043a\u043e\u0434":"\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043a\u043e\u0434 \u0434\u043b\u044f \u0432\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u043d\u0438\u044f");
f_(a.D,!b);g.mQ(a.G,b?"\u041a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c URL \u0432\u0438\u0434\u0435\u043e":"\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c URL \u0432\u0438\u0434\u0435\u043e");f_(a.G,!b);g.mQ(a.F,b?"\u041a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c URL \u0432\u0438\u0434\u0435\u043e \u0441 \u043f\u0440\u0438\u0432\u044f\u0437\u043a\u043e\u0439 \u043a\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438":"\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c URL \u0432\u0438\u0434\u0435\u043e \u0441 \u043f\u0440\u0438\u0432\u044f\u0437\u043a\u043e\u0439 \u043a\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438");
f_(a.F,!b)};
j_=function(a,b,c){g.dX.call(this,a);this.D=a;this.ka=b;this.ha=c;this.K=new g.jH(this);g.L(this,this.K);this.G=null;fV(a,this.element,this,28656);g.T(this.element,"ytp-contextmenu");Vwa(this);this.hide()};
Vwa=function(a){g.lH(a.K);"gvn"!=g.Y(a.D).playerStyle&&a.K.R(g.PU(a.D),"contextmenu",a.dR)};
Wwa=function(a){a.D.isFullscreen()?g.cV(a.D,a.element,9):a.A(document.body)};
k_=function(a,b,c,d,e,f){g.jH.call(this);this.o=a;this.H=c;this.F=d;this.A=e;this.G=f;this.D=new g.V(g.Na(this.LD,!1),1E3,this);g.L(this,this.D);this.C="";this.B=g.Y(this.o).experiments.o("migrate_player_shortcuts_to_global_killswitch");a=g.Na(this.Mx,!1);this.R(b,"mousedown",a);this.R(c.element,"mousedown",a);this.R(b,"keydown",this.ZB);this.R(c.element,"keydown",this.ZB);this.R(b,"keyup",this.aC);this.R(c.element,"keyup",this.aC)};
l_=function(a,b,c,d){var e=g.LU(a.o).A;if(e&&e.loaded){e=a.o.getSubtitlesUserSettings();for(var f,k=0;k<g.uX.length;k++){var l=g.uX[k];if(l.option==b){f=l.options;break}}var m;for(k=0;k<f.length;k++)f[k].option==e[b]&&(m=k);if(d)if(c){if(0==m)return}else if(m==f.length-1)return;d={};d[b]=f[(m+(c?f.length-1:1))%f.length].option;a.o.updateSubtitlesUserSettings(d);a.LD(!0);a.D.start()}};
Xwa=function(a,b){a.o.Jc();if(g.X(g.OU(a.o),4)){var c=a.o.getVideoData().Ca;c&&(c=c.video)&&a.o.seekBy(b/(c.fps||30))}};
m_=function(a,b){var c={I:"div",N:"ytp-overflow-panel",T:{id:eQ(),role:"dialog"},P:[{I:"div",N:"ytp-overflow-panel-content",P:[{I:"div",N:"ytp-overflow-panel-control-buttons",ca:"{{buttons}}"}]},{I:"button",da:["ytp-overflow-panel-close","ytp-button"],T:{title:"\u0417\u0430\u043a\u0440\u044b\u0442\u044c"},P:[g.GV()]}]};wW.call(this,a,c,250);this.H=a;this.G=b.Hb();this.D=[];this.J=this.o["ytp-overflow-panel-content"];this.F=this.o["ytp-overflow-panel-close"];this.R(this.F,"click",this.Jb);g.Ff(this,
pW(this.G,this.F));this.X("click",this.jP);this.R(a,"videoplayerreset",this.hide);this.R(a,"fullscreentoggled",this.iP);this.hide()};
Ywa=function(a,b){a.D.includes(b)||(a.D.push(b),a.updateValue("buttons",a.D))};
Zwa=function(a,b){for(var c=g.r(a.D),d=c.next();!d.done;d=c.next())d.value.ac(b)};
n_=function(a,b,c){g.W.call(this,{I:"button",da:["ytp-button","ytp-overflow-button"],T:{title:"\u0414\u0440\u0443\u0433\u0438\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b","aria-haspopup":"true","aria-owns":c.element.id},P:[{I:"div",N:"ytp-overflow-icon",P:[g.DV?{I:"div",da:["ytp-icon","ytp-icon-more-vert"]}:{I:"svg",T:{height:"100%",viewBox:"-5 -5 36 36",width:"100%"},P:[{I:"path",T:{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z",
fill:"#fff"}}]}]}]});this.F=a;this.H=b;this.B=!1;this.G=b.Hb();fV(a,this.element,this,16499);this.R(a,"appresize",this.D);this.R(a,"fullscreentoggled",this.D);this.D();g.Ff(this,pW(this.G,this.element));this.X("click",(0,g.A)(c.Ff,c,this.element,!1))};
o_=function(a,b){g.W.call(this,{I:"div",N:"ytp-pause-overlay"});this.B=a;this.ha=b;this.F=new g.jH(this);g.L(this,this.F);this.aa=new g.JV(this,1E3,!1,100);g.L(this,this.aa);var c=g.Y(a);"0"==c.C&&g.T(a.getRootNode(),"ytp-pause-overlay-controls-hidden");this.H=[];this.D=[];this.J=0;this.ia=c.o;this.ea=!1;this.sa=0;this.Y=new g.W({I:"h2",N:"ytp-related-title",ca:"{{title}}"});g.L(this,this.Y);this.Y.A(this.element);this.K=new g.W({I:"div",N:"ytp-suggestions"});g.L(this,this.K);this.K.A(this.element);
this.O=new g.W({I:"button",da:["ytp-button","ytp-previous"],T:{"aria-label":"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u0438"},P:[g.EV()]});g.L(this,this.O);this.O.A(this.element);this.O.X("click",this.mP,this);var d=g.aM||g.Kf?{style:"will-change: opacity"}:null;this.ka=new YV((0,g.A)(this.MD,this));g.L(this,this.ka);for(var e=this.ma=this.ba=this.G=0;16>e;e++){var f=
new g.W({I:"a",N:"ytp-suggestion-link",T:{href:"{{link}}",target:c.F,"aria-label":"{{aria_label}}"},P:[{I:"div",N:"ytp-suggestion-image"},{I:"div",N:"ytp-suggestion-overlay",T:d,P:[{I:"div",N:"ytp-suggestion-title",ca:"{{title}}"},{I:"div",N:"ytp-suggestion-author",ca:"{{author_and_views}}"},{I:"div",T:{"data-is-live":"{{is_live}}"},N:"ytp-suggestion-duration",ca:"{{duration}}"}]}]});g.L(this,f);f.A(this.K.element);var k=f.o["ytp-suggestion-link"];g.Ph(k,"transitionDelay",e/20+"s");this.F.R(k,"click",
g.Na(this.nP,e));this.H.push(f)}this.M=new g.W({I:"button",da:["ytp-button","ytp-next"],T:{"aria-label":"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u0438"},P:[g.FV()]});g.L(this,this.M);this.M.A(this.element);this.M.X("click",this.lP,this);c=new g.W({I:"button",da:["ytp-button","ytp-collapse"],T:{"aria-label":"\u0417\u0430\u043a\u0440\u044b\u0442\u044c"},P:[g.DV?{I:"div",
da:["ytp-icon","ytp-icon-small-close"]}:{I:"svg",T:{height:"100%",viewBox:"0 0 16 16",width:"100%"},P:[{I:"path",T:{d:"M13 4L12 3 8 7 4 3 3 4 7 8 3 12 4 13 8 9 12 13 13 12 9 8z",fill:"#fff"}}]}]});g.L(this,c);c.A(this.element);c.X("click",this.QQ,this);this.L=new g.W({I:"button",da:["ytp-button","ytp-expand"],ca:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0434\u0440\u0443\u0433\u0438\u0435 \u0432\u0438\u0434\u0435\u043e"});g.L(this,this.L);this.L.A(this.element);this.L.X("click",this.RQ,this);
this.F.R(this.B,"appresize",this.yw);this.F.R(this.B,"fullscreentoggled",this.oP);this.F.R(this.B,"presentingplayerstatechange",this.pP);this.F.R(this.B,"videodatachange",this.qP);this.yw(g.PU(this.B).getPlayerSize())};
$wa=function(a,b){var c=g.Jd(b,a.J-a.D.length*(a.ba+8),0);a.ka.start(a.G,c,1E3);a.G=c;p_(a)};
p_=function(a){var b=a.ha.Yc();b=a.ma/2+(b?32:16);a.M.element.style.bottom=b+"px";a.O.element.style.bottom=b+"px";b=a.G;var c=a.J-a.D.length*(a.ba+8);g.U(a.element,"ytp-scroll-min",0<=b);g.U(a.element,"ytp-scroll-max",b<=c)};
bxa=function(a){for(var b=0;b<a.D.length;b++){var c=a.D[b].za(),d=a.H[b],e=c.shortViewCount?c.author+" \u2022 "+c.shortViewCount:c.author;d.element.style.display="";axa.test(c.title)&&(d.o["ytp-suggestion-title"].dir="rtl");axa.test(e)&&(d.o["ytp-suggestion-author"].dir="rtl");var f=void 0;c.Da?f="\u0412 \u044d\u0444\u0438\u0440\u0435":f=c.lengthSeconds?g.LV(c.lengthSeconds):"";d.update({author_and_views:e,duration:f,link:c.Hm(),title:c.title,aria_label:c.Ql||null,is_live:c.Da});d=d.o["ytp-suggestion-image"];
c=c.gd();d.style.backgroundImage=c?"url("+c+")":""}for(;b<a.H.length;b++)a.H[b].element.style.display="none";p_(a)};
q_=function(a,b,c){var d=b.za(c),e=g.Y(a),f=d.gd("default.jpg");g.W.call(this,{I:"a",da:["ytp-video-menu-item","ytp-button"],T:{role:"menuitemradio","aria-label":d.title,href:e.getVideoUrl(d.videoId,b.listId?b.listId.toString():null)},P:[{I:"div",N:"ytp-video-menu-item-index",ca:String(c+1)},{I:"div",N:"ytp-video-menu-item-now-playing",ca:"\u25b6"},{I:"div",N:"ytp-video-menu-item-thumbnail",T:{style:f?"background-image: url("+f+");":null}},{I:"div",N:"ytp-video-menu-item-title",ca:d.title},{I:"div",
N:"ytp-video-menu-item-author",ca:d.author}]});this.B=a;this.Ib=c;this.X("click",this.D)};
r_=function(a){wW.call(this,a,{I:"div",N:"ytp-playlist-menu",T:{role:"dialog",id:eQ()},P:[{I:"div",N:"ytp-playlist-menu-header",P:[{I:"div",N:"ytp-playlist-menu-title",P:[{I:"a",N:"ytp-playlist-menu-title-name",T:{href:"{{playlisturl}}"},ca:"{{title}}"},{I:"button",da:["ytp-playlist-menu-close","ytp-button"],T:{"aria-label":"\u0417\u0430\u043a\u0440\u044b\u0442\u044c"},P:[g.GV()]}]},{I:"div",N:"ytp-playlist-menu-subtitle",ca:"{{subtitle}}"}]},{I:"div",N:"ytp-playlist-menu-items",T:{role:"menu"}}]},
250);this.R(this.o["ytp-playlist-menu-close"],"click",this.Jb);this.R(this.o["ytp-playlist-menu-title-name"],"click",this.dU);this.F=a;this.G=this.K=this.D=null;this.Qa=this.o["ytp-playlist-menu-items"];this.J=new g.jH(this);g.L(this,this.J);this.H=[];this.hide()};
cxa=function(a,b){if(a.D!=b)if(a.D&&a.D.unsubscribe("shuffle",a.rr,a),a.D=b,a.K=null,b){b.subscribe("shuffle",a.rr,a);var c=b.author,d=c?"$AUTHOR \u2022 $CURRENT_POSITION/$PLAYLIST_LENGTH":"$CURRENT_POSITION/$PLAYLIST_LENGTH",e={CURRENT_POSITION:String(b.we()+1),PLAYLIST_LENGTH:String(b.getLength())};c&&(e.AUTHOR=c);a.update({title:b.title,subtitle:g.wV(d,e),playlisturl:a.F.getVideoUrl(!0)});a.rr()}else a.C&&a.hide();else a.D&&a.rr()};
s_=function(a,b,c){g.W.call(this,{I:"button",da:["ytp-playlist-menu-button","ytp-button"],T:{title:"{{title}}","aria-owns":String(c.element.id),"aria-haspopup":"true","aria-label":"\u041f\u043b\u0435\u0439\u043b\u0438\u0441\u0442"},P:[{I:"div",N:"ytp-playlist-menu-button-icon",P:[g.DV?{I:"div",da:["ytp-icon","ytp-icon-playlist"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,T:{d:"m 22.53,21.42 0,6.85 5.66,-3.42 -5.66,-3.42 0,0 z m -11.33,0 9.06,0 0,2.28 -9.06,0 0,-2.28 0,0 z m 0,-9.14 13.6,0 0,2.28 -13.6,0 0,-2.28 0,0 z m 0,4.57 13.6,0 0,2.28 -13.6,0 0,-2.28 0,0 z",
fill:"#fff"}}]}]},{I:"div",N:"ytp-playlist-menu-button-text",ca:"{{text}}"}]});this.F=a;this.B=null;this.G=b.Hb();this.R(a,"videodatachange",this.H);this.R(a,"onPlaylistUpdate",this.H);this.R(a,"presentingplayerstatechange",this.D);this.R(a,"appresize",this.D);this.hide();this.H();g.Ff(this,pW(this.G,this.element));this.X("click",(0,g.A)(c.Ff,c,this.element,!1))};
t_=function(a,b){g.W.call(this,{I:"button",da:["ytp-replay-button","ytp-button"],T:{title:"\u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u044c"},P:[g.HV()]});this.B=a;this.R(a,"presentingplayerstatechange",this.F);this.X("click",this.D,this);var c=g.OU(a);g.kQ(this,g.X(c,2));pW(b.Hb(),this.element)};
u_=function(a,b){var c=eQ(),d=g.Y(a);c={I:"div",N:"ytp-share-panel",T:{id:eQ(),role:"dialog","aria-labelledby":c},P:[{I:"div",N:"ytp-share-panel-inner-content",P:[{I:"div",N:"ytp-share-panel-title",T:{id:c},ca:"\u041f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f"},{I:"a",da:["ytp-share-panel-link","ytp-no-contextmenu"],T:{href:"{{link}}",target:d.F,title:"\u041f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0441\u0441\u044b\u043b\u043a\u043e\u0439","aria-label":"{{shareLinkWithUrl}}"},
ca:"{{linkText}}"},{I:"label",N:"ytp-share-panel-include-playlist",P:[{I:"input",N:"ytp-share-panel-include-playlist-checkbox",T:{type:"checkbox",checked:!0}},"\u0412 \u0441\u043e\u0441\u0442\u0430\u0432\u0435 \u043f\u043b\u0435\u0439\u043b\u0438\u0441\u0442\u0430"]},{I:"div",N:"ytp-share-panel-loading-spinner",P:[aW()]},{I:"div",N:"ytp-share-panel-service-buttons",ca:"{{buttons}}"},{I:"div",N:"ytp-share-panel-error",ca:"\u041e\u0448\u0438\u0431\u043a\u0430. \u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0443 \u043f\u043e\u0437\u0436\u0435."}]},
{I:"button",da:["ytp-share-panel-close","ytp-button"],T:{title:"\u0417\u0430\u043a\u0440\u044b\u0442\u044c"},P:[g.GV()]}]};wW.call(this,a,c,250);this.D=a;this.F=b.Hb();this.G=[];this.O=this.o["ytp-share-panel-inner-content"];this.J=this.o["ytp-share-panel-close"];this.R(this.J,"click",this.Jb);g.Ff(this,pW(this.F,this.J));this.K=this.o["ytp-share-panel-include-playlist-checkbox"];this.R(this.K,"click",this.RD);this.H=this.o["ytp-share-panel-link"];g.Ff(this,pW(this.F,this.H));this.X("click",this.BP);
this.R(a,"videoplayerreset",this.hide);this.R(a,"fullscreentoggled",this.AP);this.hide()};
dxa=function(a){switch(a){case "facebook":return g.DV?{I:"div",da:["ytp-icon","ytp-icon-share-facebook"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},P:[{I:"rect",T:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{I:"path",T:{d:"M 34.2,0 3.8,0 C 1.70,0 .01,1.70 .01,3.8 L 0,34.2 C 0,36.29 1.70,38 3.8,38 l 30.4,0 C 36.29,38 38,36.29 38,34.2 L 38,3.8 C 38,1.70 36.29,0 34.2,0 l 0,0 z m -1.9,3.8 0,5.7 -3.8,0 c -1.04,0 -1.9,.84 -1.9,1.9 l 0,3.8 5.7,0 0,5.7 -5.7,0 0,13.3 -5.7,0 0,-13.3 -3.8,0 0,-5.7 3.8,0 0,-4.75 c 0,-3.67 2.97,-6.65 6.65,-6.65 l 4.75,0 z",
fill:"#39579b"}}]};case "googleplus":return g.DV?{I:"div",da:["ytp-icon","ytp-icon-share-googleplus"]}:{I:"svg",T:{height:"100%",version:"1.0",viewBox:"0 0 38 38",width:"100%"},P:[{I:"rect",T:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{I:"path",T:{d:"M34.3,0H3.7C1.7,0,0,1.7,0,3.7v30.5c0,2,1.7,3.7,3.7,3.7h30.5c2,0,3.7-1.7,3.7-3.7V3.7C38,1.7,36.3,0,34.3,0z M13.3,28.5c-5.2,0-9.5-4.3-9.5-9.5c0-5.2,4.3-9.5,9.5-9.5c2.6,0,4.7,.9,6.4,2.5l-2.7,2.7c-1-0.9-2.2-1.4-3.6-1.4 c-3.1,0-5.6,2.6-5.6,5.7s2.5,5.7,5.6,5.7c2.8,0,4.7-1.6,5.1-3.8h-5.1v-3.6h8.9c0.1,.6,.2,1.3,.2,2C22.4,24.6,18.8,28.5,13.3,28.5 z M34.2,19.6H31v3.2h-2.2v-3.2h-3.2v-2.2h3.2v-3.2H31v3.2h3.2V19.6z",
fill:"#dc4537"}}]};case "twitter":return g.DV?{I:"div",da:["ytp-icon","ytp-icon-share-twitter"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},P:[{I:"rect",T:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{I:"path",T:{d:"M 34.2,0 3.8,0 C 1.70,0 .01,1.70 .01,3.8 L 0,34.2 C 0,36.29 1.70,38 3.8,38 l 30.4,0 C 36.29,38 38,36.29 38,34.2 L 38,3.8 C 38,1.70 36.29,0 34.2,0 l 0,0 z M 29.84,13.92 C 29.72,22.70 24.12,28.71 15.74,29.08 12.28,29.24 9.78,28.12 7.6,26.75 c 2.55,.40 5.71,-0.60 7.41,-2.06 -2.50,-0.24 -3.98,-1.52 -4.68,-3.56 .72,.12 1.48,.09 2.17,-0.05 -2.26,-0.76 -3.86,-2.15 -3.95,-5.07 .63,.28 1.29,.56 2.17,.60 C 9.03,15.64 7.79,12.13 9.21,9.80 c 2.50,2.75 5.52,4.99 10.47,5.30 -1.24,-5.31 5.81,-8.19 8.74,-4.62 1.24,-0.23 2.26,-0.71 3.23,-1.22 -0.39,1.23 -1.17,2.09 -2.11,2.79 1.03,-0.14 1.95,-0.38 2.73,-0.77 -0.47,.99 -1.53,1.9 -2.45,2.66 l 0,0 z",
fill:"#01abf0"}}]};default:return null}};
exa=function(a){for(var b=g.r(a.G),c=b.next();!c.done;c=b.next())c=c.value,g.jQ(c),g.Gf(c);a.G=[]};
v_=function(a,b,c,d){g.W.call(this,{I:"button",da:["ytp-button","ytp-share-button"],T:{title:"\u041f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f","aria-haspopup":"true","aria-owns":c.element.id,"data-tooltip-opaque":String(g.Y(a).B)},P:[{I:"div",N:"ytp-share-icon",P:[g.DV?{I:"div",da:["ytp-icon","ytp-icon-sharrow"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"m 20.20,14.19 0,-4.45 7.79,7.79 -7.79,7.79 0,-4.56 C 16.27,20.69 12.10,21.81 9.34,24.76 8.80,25.13 7.60,27.29 8.12,25.65 9.08,21.32 11.80,17.18 15.98,15.38 c 1.33,-0.60 2.76,-0.98 4.21,-1.19 z"}}]}]},
{I:"div",N:"ytp-share-title",ca:"\u041f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f"}]});this.B=a;this.G=b;this.H=d;this.K=c;this.D=!1;fV(a,this.element,this,28664);this.X("click",this.J);this.R(a,"videodatachange",this.F);this.R(a,"appresize",this.F);this.F();g.U(d,"ytp-show-share-title",g.Y(a).B);g.Ff(this,pW(b.Hb(),this.element))};
w_=function(a){wW.call(this,a,{I:"button",da:["ytp-skip-intro-button","ytp-popup","ytp-button"],P:[{I:"div",N:"ytp-skip-intro-button-text",ca:"\u041f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0437\u0430\u0441\u0442\u0430\u0432\u043a\u0443"}]},100);var b=this;this.D=a;this.J=!1;this.H=new g.V(function(){return b.hide()},5E3);
g.L(this,this.H);this.F=this.G=NaN;this.Y=function(){return b.show()};
this.O=function(){return b.hide()};
this.K=this.ha.bind(this);this.R(this.D,"videodatachange",function(c,d){if("dataloaded"==c)if(b.G=d.Dv,b.F=d.Bv,isNaN(b.G)||isNaN(b.F))b.J&&(g.aV(b.D,"intro"),b.D.removeEventListener(g.nR("intro"),b.Y),b.D.removeEventListener("crx_intro",b.O),b.D.removeEventListener("onShowControls",b.K),b.hide(),b.J=!1);else{b.D.addEventListener(g.nR("intro"),b.Y);b.D.addEventListener("crx_intro",b.O);b.D.addEventListener("onShowControls",b.K);var e=new g.lR(b.G,b.F,{priority:7,namespace:"intro"});g.YU(b.D,[e]);
b.J=!0}});
this.R(this.element,"click",function(){b.D.seekTo(b.F/1E3)});
this.hide()};
x_=function(a,b){g.W.call(this,{I:"button",da:["ytp-button","ytp-title-notifications"],T:{"aria-pressed":"{{pressed}}"},P:[{I:"div",N:"ytp-title-notifications-on",T:{title:"\u041e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043e\u043f\u043e\u0432\u0435\u0449\u0435\u043d\u0438\u044f \u043e \u043d\u043e\u0432\u044b\u0445 \u0432\u0438\u0434\u0435\u043e \u043d\u0430 \u044d\u0442\u043e\u043c \u043a\u0430\u043d\u0430\u043b\u0435","aria-label":"\u0423\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u043e \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0430\u0445 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u044b"},
P:[g.lta()]},{I:"div",N:"ytp-title-notifications-off",T:{title:"\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043e\u043f\u043e\u0432\u0435\u0449\u0435\u043d\u0438\u044f \u043e \u043d\u043e\u0432\u044b\u0445 \u0432\u0438\u0434\u0435\u043e \u043d\u0430 \u044d\u0442\u043e\u043c \u043a\u0430\u043d\u0430\u043b\u0435","aria-label":"\u0423\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u043e \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0430\u0445 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u044b"},
P:[g.DV?{I:"div",da:["ytp-icon","ytp-icon-notifications-inactive"]}:{I:"svg",T:{fill:"#fff",height:"24px",viewBox:"0 0 24 24",width:"24px"},P:[{I:"path",T:{d:"M18 11c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2v-5zm-6 11c.14 0 .27-.01.4-.04.65-.14 1.18-.58 1.44-1.18.1-.24.15-.5.15-.78h-4c.01 1.1.9 2 2.01 2z"}}]}]}]});this.D=a;fV(a,this.element,this,36927);this.F=b;this.B=!1;this.X("click",this.G,this);this.updateValue("pressed",!1)};
fxa=function(a,b){a.B=b;a.element.classList.toggle("ytp-notifications-enabled",a.B);g.UF("/subscription_ajax?action_update_subscription_preferences=1",{method:"POST",Rb:{channel_id:a.F,receive_all_updates:!a.B}})};
gxa=function(a,b,c){return b?a.D+"subscription_ajax":c?"/subscription_service":""};
g.y_=function(a,b,c,d,e,f,k,l,m,n,p,q){f&&(a=a.charAt(0)+a.substring(1).toLowerCase(),c=c.charAt(0)+c.substring(1).toLowerCase());if("0"===b||"-1"===b)b=null;if("0"===d||"-1"===d)d=null;if(p){c=g.Y(q);p={href:p,"aria-label":"\u041f\u043e\u0434\u043f\u0438\u0441\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u043a\u0430\u043d\u0430\u043b"};if(g.TN(c)||g.UN(c))p.target=c.F;g.W.call(this,{I:"div",da:["ytp-button","ytp-sb"],P:[{I:"a",N:"ytp-sb-subscribe",T:p,P:[{I:"div",N:"ytp-sb-text",P:[{I:"div",N:"ytp-sb-icon"},
a]},b?{I:"div",N:"ytp-sb-count",ca:b}:""]}]});f&&g.T(this.element,"ytp-sb-classic")}else{g.W.call(this,{I:"div",da:["ytp-button","ytp-sb"],P:[{I:"div",N:"ytp-sb-subscribe",T:{"aria-label":"\u041f\u043e\u0434\u043f\u0438\u0441\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u043a\u0430\u043d\u0430\u043b"},P:[{I:"div",N:"ytp-sb-text",P:[{I:"div",N:"ytp-sb-icon"},a]},b?{I:"div",N:"ytp-sb-count",ca:b}:""]},{I:"div",N:"ytp-sb-unsubscribe",T:{"aria-label":"\u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0443 \u043d\u0430 \u043a\u0430\u043d\u0430\u043b"},
P:[{I:"div",N:"ytp-sb-text",P:[{I:"div",N:"ytp-sb-icon"},c]},d?{I:"div",N:"ytp-sb-count",ca:d}:""]}]});var u=this;this.B=k;var w=this.o["ytp-sb-subscribe"],D=this.o["ytp-sb-unsubscribe"];f&&g.T(this.element,"ytp-sb-classic");if(e){l&&g.T(this.element,"ytp-sb-subscribed");var F=null;"gaming"==g.Y(q).playerStyle&&(F="gaming_channels");var J=function(){if(m||n){var qa=u.B;g.UF(gxa(g.Y(q),!!m,!!n),m?{method:"POST",bd:{action_create_subscription_to_channel:1,c:qa},Rb:{feature:m,silo_name:F},withCredentials:!0}:
n?{method:"POST",bd:{action_subscribe:1},Rb:{channel_ids:qa,itct:n}}:{});q.Ba("SUBSCRIBE")}D.focus();D.removeAttribute("aria-hidden");w.setAttribute("aria-hidden",!0)},O=function(){if(m||n){var qa=u.B;
g.UF(gxa(g.Y(q),!!m,!!n),m?{method:"POST",bd:{action_remove_subscriptions:1},Rb:{c:qa,silo_name:F,feature:m},withCredentials:!0}:n?{method:"POST",bd:{action_unsubscribe:1},Rb:{channel_ids:qa,itct:n}}:{});q.Ba("UNSUBSCRIBE")}w.focus();w.removeAttribute("aria-hidden");D.setAttribute("aria-hidden",!0)};
this.R(w,"click",J);this.R(D,"click",O);this.R(w,"keypress",function(qa){13==qa.keyCode&&J(qa)});
this.R(D,"keypress",function(qa){13==qa.keyCode&&O(qa)});
this.R(q,"SUBSCRIBE",this.D);this.R(q,"UNSUBSCRIBE",this.F)}else g.T(w,"ytp-sb-disabled"),g.T(D,"ytp-sb-disabled")}};
ixa=function(a,b){var c=hxa(null,"wl_button",b);if(c=window.open(c,"loginPopup","width=800,height=600,resizable=yes,scrollbars=yes",!0)){var d=g.nF("LOGGED_IN",function(e){g.oF(g.YE("LOGGED_IN_PUBSUB_KEY",void 0));XE("LOGGED_IN",!0);a(e)});
XE("LOGGED_IN_PUBSUB_KEY",d);c.moveTo((screen.width-800)/2,(screen.height-600)/2)}};
hxa=function(a,b,c){var d="/signin?context=popup";c&&(d=document.location.protocol+"//"+c+d);c=document.location.protocol+"//"+document.domain+"/post_login";a&&(c=qh(c,"mode",a));a=qh(d,"next",c);b&&(a=qh(a,"feature",b));return a};
z_=function(a,b){b=void 0===b?!1:b;var c=g.Y(a);g.W.call(this,{I:"div",N:"ytp-title-channel",P:[{I:"div",N:"ytp-title-beacon"},{I:"a",N:"ytp-title-channel-logo",T:{href:"{{channelLink}}",target:c.F,"aria-label":"{{channelLogoLabel}}"}},{I:"div",N:"ytp-title-expanded-overlay",P:[{I:"div",N:"ytp-title-expanded-heading",P:[{I:"h2",N:"ytp-title-expanded-title",P:[{I:"a",ca:"{{expandedTitle}}",T:{href:"{{channelTitleLink}}",target:c.F}}]},{I:"h3",N:"ytp-title-expanded-subtitle",ca:"{{expandedSubtitle}}"}]}]}]});
this.B=a;this.D=this.o["ytp-title-channel"];this.F=this.o["ytp-title-channel-logo"];this.L=this.o["ytp-title-expanded-overlay"];this.H=this.J=this.G=null;this.O=b;fV(a,this.F,this,36925);this.O&&jxa(this)};
jxa=function(a){var b=g.Y(a.B).Tc?null:hxa(),c=a.B.getVideoData(),d=new g.y_("\u041f\u043e\u0434\u043f\u0438\u0441\u0430\u0442\u044c\u0441\u044f",null,"\u0412\u044b \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u044b",null,!0,!1,c.vl,c.subscribed,"channel_avatar",null,b,a.B);a.G=d;g.L(a,d);d.A(a.L);fV(a.B,d.element,a,36926);d.hide();var e=new x_(a.B,c.vl);a.J=e;g.L(a,e);e.A(a.L);e.hide();a.R(a.B,"SUBSCRIBE",function(){e.show()});
a.R(a.B,"UNSUBSCRIBE",function(){e.hide();fxa(e,!1)});
g.Y(a.B).A?a.R(a.F,"click",function(f){kxa(a)&&(f.preventDefault(),a.D.classList.contains("ytp-title-expanded")?a.M():a.Y());g.gV(a.B,a.F)}):(a.R(a.D,"mouseenter",a.Y),a.R(a.D,"mouseleave",a.M),a.R(a.F,"click",function(){g.gV(a.B,a.F)}));
a.R(d.element,"click",function(){g.gV(a.B,d.element)});
a.H=new g.V(function(){a.D.classList.contains("ytp-title-expanded")&&(d.hide(),g.hV(a.B,d.element,!1),e.hide(),g.hV(a.B,e.element,!1),a.D.classList.remove("ytp-title-expanded"),a.D.classList.add("ytp-title-show-collapsed"))},500);
g.L(a,a.H);a.R(a.D,lxa,function(){a.D.classList.remove("ytp-title-show-collapsed");a.D.classList.remove("ytp-title-show-expanded")});
a.R(a.B,"onHideControls",a.K);a.R(a.B,"appresize",a.K);a.R(a.B,"fullscreentoggled",a.K)};
kxa=function(a){var b=a.B.getPlayerSize();return a.O&&524<=b.width};
A_=function(a,b){var c=a.B.getVideoData(),d=g.rh(qO(g.Y(a.B))+c.pi,{feature:"embeds_subscribe_title"}),e=c.pi,f=c.Qk,k=c.author;e=void 0===e?"":e;f=void 0===f?"":f;k=void 0===k?"":k;b?(e=qO(g.Y(a.B))+e,a.F.style.backgroundImage="url("+f+")",a.updateValue("channelLink",e),a.updateValue("channelLogoLabel",g.wV('\u0424\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u044f \u0430\u0432\u0442\u043e\u0440\u0430 \u043a\u0430\u043d\u0430\u043b\u0430 "$CHANNEL_NAME"',{CHANNEL_NAME:k})),g.T(a.B.getRootNode(),
"ytp-title-enable-channel-logo"),g.hV(a.B,a.F,!0)):(g.Br(a.B.getRootNode(),"ytp-title-enable-channel-logo"),g.hV(a.B,a.F,!1));a.G&&(a.G.B=c.vl);a.updateValue("expandedTitle",c.lu);a.updateValue("channelTitleLink",d);a.updateValue("expandedSubtitle",c.expandedSubtitle)};
B_=function(a){g.W.call(this,{I:"div",N:"ytp-title",P:[{I:"div",N:"ytp-title-text",P:[{I:"a",da:["ytp-title-link","yt-uix-sessionlink"],T:{target:g.Y(a).F,href:"{{url}}","data-sessionlink":"feature=player-title"},ca:"{{title}}"},{I:"div",N:"ytp-title-subtext",P:[{I:"a",N:"ytp-title-channel-name",T:{href:"{{channelLink}}",target:"_blank"},ca:"{{channelName}}"}]}]}]});this.B=a;this.F=null;this.H=this.o["ytp-title-link"];this.D=new z_(a,g.Y(a).B);this.D.A(this.element,0);g.L(this,this.D);fV(a,this.element,
this,23851);this.R(a,"videodatachange",this.G);this.R(a,"videoplayerreset",this.G);this.G()};
C_=function(a){A_(a.D,!1);a.updateValue("channelLink","");a.updateValue("channelName","")};
g.D_=function(a,b){var c=g.PU(a).getPlayerSize();g.W.call(this,{I:"div",P:[{I:"div",N:"ytp-tooltip-bg",P:[{I:"div",N:"ytp-tooltip-duration",ca:"{{duration}}"}]},{I:"div",N:"ytp-tooltip-text-wrapper",P:[{I:"div",N:"ytp-tooltip-image"},{I:"div",N:"ytp-tooltip-title",ca:"{{title}}"},{I:"span",N:"ytp-tooltip-text",ca:"{{text}}"}]}]});this.ba=a;this.xa=b;this.O=g.Y(a);this.ma=this.O.A;this.L=this.o["ytp-tooltip-bg"];this.ya=this.o["ytp-tooltip-image"];this.ea=(0,g.A)(this.qS,this);this.J=(0,g.A)(this.sS,
this);this.ha=(0,g.A)(this.We,this);this.B=null;this.M=new g.JV(this,100);g.L(this,this.M);this.D=null;this.aa=!1;this.F=null;this.H=NaN;this.K="";this.sa=c.width;this.Y=!0;this.G=1;this.ia=new g.V(this.dN,250,this);g.L(this,this.ia);this.ka=new g.V(this.We,5E3,this);g.L(this,this.ka)};
pW=function(a,b){if(a.ma)return g.z;b.addEventListener("mouseover",a.J);a.O.experiments.o("show_tooltip_on_tab_killswitch")||b.addEventListener("focus",a.J);var c=b.getAttribute("title");c&&!b.hasAttribute("aria-label")&&b.setAttribute("aria-label",c);return(0,g.A)(function(){this.B==b&&this.We();b.removeEventListener("mouseover",this.J);this.O.experiments.o("show_tooltip_on_tab_killswitch")||b.removeEventListener("focus",this.J)},a)};
nxa=function(a,b,c){if(a.D)if(3==a.D)a.We();else return;mxa(a,b,3,c)};
mxa=function(a,b,c,d){if(b&&!b.hasAttribute)a=Error("showElementTooltip_ called with non-element."),a.params=b.toString(),g.$E(a);else{isNaN(a.H)||(a.H=NaN,a.L.style.background="");a.B=b;a.aa=!!d;d?a.K=d:(a.K=b.getAttribute("title"),b.removeAttribute("title"));a.element.className="ytp-tooltip";if(d=b.getAttribute("data-tooltip-image"))a.ya.style.backgroundImage="url("+d+")";g.U(a.element,"ytp-tooltip-image-enabled",!!d);b=b.getAttribute("data-tooltip-opaque");g.U(a.element,"ytp-tooltip-opaque",!!b);
a.D=c;a.ba.addEventListener("appresize",a.ha);a.Y&&(E_(a),a.M.show(0))}};
E_=function(a){var b;a.B&&(b=a.B.getAttribute("data-tooltip-text"));if(b&&!a.aa){a.updateValue("text",b);var c=a.B.getAttribute("data-duration");a.update({title:a.K,duration:c});var d=a.B.getAttribute("data-preview"),e=160*a.G,f=90*a.G,k=160*a.G,l=90*a.G;a.L.style.width=e+"px";a.L.style.height=f+"px";a.L.style.backgroundImage=d?"url("+d+")":"";a.L.style.backgroundPosition=(e-k)/2+"px "+(f-l)/2+"px";a.L.style.backgroundSize=k+"px "+l+"px";g.Ar(a.element,["ytp-text-detail","ytp-preview"]);g.U(a.element,
"ytp-has-duration",!!c)}else a.updateValue("text",a.K),g.Cr(a.element,["ytp-text-detail","ytp-preview","ytp-has-duration"]);3==a.D?a.element.setAttribute("role","status"):a.element.removeAttribute("role");oxa(a,!!b)};
oxa=function(a,b,c,d){a.element.style.maxWidth=b?"":Math.min(a.sa,300*a.G)+"px";a.xa.Uq(a.element,a.B,c,1==a.D,d);a.element.style.top?g.T(a.element,"ytp-bottom"):a.element.style.bottom&&g.T(a.element,"ytp-top");3==a.D&&a.ka.start()};
FW=function(a){a.B&&!a.aa&&a.B.hasAttribute("title")&&(a.K=a.B.getAttribute("title"),a.B.removeAttribute("title"),a.Y&&E_(a))};
pxa=function(a,b){g.U(a.element,"ytp-preview",0<=b);if(!(0>b||b==a.H)){a.H=b;var c=160*a.G,d=160*a.G,e=nma(a.F,a.H,c);Pta(a.L,e,c,d,!0);a.ia.start()}};
rxa=function(a,b,c){qxa("add_to_watch_later_list",a,b,c)};
sxa=function(a,b,c){qxa("delete_from_watch_later_list",a,b,c)};
qxa=function(a,b,c,d){g.UF(c?c+"playlist_video_ajax?action_"+a+"=1":"/playlist_video_ajax?action_"+a+"=1",{method:"POST",bd:{feature:b.feature||null,authuser:b.Tc||null,pageid:b.pageId||null},Rb:{video_ids:b.videoIds||null,source_playlist_id:b.sourcePlaylistId||null,full_list_id:b.fullListId||null,delete_from_playlists:b.O4||null,add_to_playlists:b.y4||null,plid:g.YE("PLAYBACK_ID")||null},context:b.context,onError:b.onError,onSuccess:function(e,f){b.onSuccess.call(this,e,f)},
Hd:b.Hd,withCredentials:!!d})};
G_=function(a,b,c){g.W.call(this,{I:"button",da:["ytp-watch-later-button","ytp-button"],T:{title:"{{title}}","data-tooltip-image":"{{image}}","data-tooltip-opaque":String(g.Y(a).B)},P:[{I:"div",N:"ytp-watch-later-icon",ca:"{{icon}}"},{I:"div",N:"ytp-watch-later-title",ca:"\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043f\u043e\u0437\u0436\u0435"}]});this.B=a;this.K=b;this.H=b.Hb();this.H.element.setAttribute("aria-live","polite");this.J=null;this.G=this.F=this.D=!1;fV(a,this.element,
this,28665);this.X("click",this.OP,this);this.R(a,"videoplayerreset",this.PP);this.R(a,"appresize",this.Nc);this.R(a,"videodatachange",this.Nc);this.Nc();a=g.Y(this.B);var d=g.BI("yt-player-watch-later-pending");a.o&&d?(iN(),txa(this,d.videoId)):F_(this,2);g.U(c,"ytp-show-watch-later-title",a.B);g.Ff(this,pW(b.Hb(),this.element))};
uxa=function(a,b){ixa(function(){iN({videoId:b});window.location.reload()},eO(g.Y(a.B)))};
txa=function(a,b){if(!a.F){a.F=!0;F_(a,3);var c=g.Y(a.B);(a.D?sxa:rxa)({videoIds:b,Tc:c.Tc,pageId:c.pageId,onError:a.DU,onSuccess:a.D?a.EU:a.CU,context:a},c.D,!0)}};
vxa=function(a,b){F_(a,4,b);g.Y(a.B).Nb&&a.B.Ba("WATCH_LATER_ERROR",b)};
F_=function(a,b,c){var d=g.Y(a.B),e=a.K.Jh()&&d.experiments.o("embeds_enable_new_smallmode")&&d.B;if(b!=a.J){switch(b){case 3:var f=aW();break;case 1:f=dta();break;case 2:f=d.H&&e?{I:"div",da:["ytp-icon","ytp-icon-watch-later-large"]}:g.DV?{I:"div",da:["ytp-icon","ytp-icon-watch-later"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"M18,8 C12.47,8 8,12.47 8,18 C8,23.52 12.47,28 18,28 C23.52,28 28,23.52 28,18 C28,12.47 23.52,8 18,8 L18,8 Z M16,19.02 L16,12.00 L18,12.00 L18,17.86 L23.10,20.81 L22.10,22.54 L16,19.02 Z"}}]};
break;case 4:f=g.DV?{I:"div",da:["ytp-icon","ytp-icon-alert"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"M21,7.91 L19.60,20.91 L16.39,20.91 L15,7.91 L21,7.91 Z M18,27.91 C16.61,27.91 15.5,26.79 15.5,25.41 C15.5,24.03 16.61,22.91 18,22.91 C19.38,22.91 20.5,24.03 20.5,25.41 C20.5,26.79 19.38,27.91 18,27.91 Z"}}]}}a.updateValue("icon",f);a.J=b}c?a.update({title:c,image:null}):d.td?(b={USER_NAME:d.td},a.update({title:a.D?g.wV("\u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u043e \u0432 \u043f\u043b\u0435\u0439\u043b\u0438\u0441\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f $USER_NAME",
b):g.wV("\u041f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043f\u043e\u0437\u0436\u0435 \u043a\u0430\u043a $USER_NAME",b),image:Kla(d)})):a.update({title:"\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043f\u043e\u0437\u0436\u0435",image:null});FW(a.H)};
H_=function(a){var b=g.Y(a);g.W.call(this,{I:"a",da:["ytp-watermark","yt-uix-sessionlink"],T:{target:b.F,href:"{{url}}","aria-label":g.wV("\u0421\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u044d\u0442\u043e \u0432\u0438\u0434\u0435\u043e \u043d\u0430\u00a0$WEBSITE",{WEBSITE:fO(b)}),"data-sessionlink":"feature=player-watermark"},P:[wta()]});this.B=a;this.D=null;this.F=!1;this.R(a,"videodatachange",this.H);this.R(a,"presentingplayerstatechange",this.K);this.R(a,"appresize",this.G);b=g.OU(a);g.kQ(this,
!g.X(b,2));this.H();this.G(g.PU(a).getPlayerSize())};
wxa=function(a,b){return!!(b.experiments.o("embeds_enable_smaller_watermark_on_mobile")&&480>a.width)};
I_=function(a){NX.call(this,a);var b=this,c=g.PU(a),d=g.Y(a),e=d.experiments.o("embed_enable_playlist_ui")&&d.B;this.ha=d.experiments.o("embeds_enable_new_smallmode")&&d.B;this.Ia=48;this.Fa=69;d.o&&d.B&&(g.T(a.getRootNode(),"ytp-embed"),this.Ia=60,this.Fa=89);e&&g.T(a.getRootNode(),"ytp-embed-playlist");this.ha&&g.T(a.getRootNode(),"ytp-embeds-smallmode");this.Y=null;this.J=[];this.L=new g.ZZ(a);g.L(this,this.L);g.cV(a,this.L.element,4);var f=new g.W({I:"div",N:"ytp-gradient-top"});g.L(this,f);g.cV(a,
f.element,1);this.Sa=new g.JV(f,250,!0,100);g.L(this,this.Sa);this.C=new g.W({I:"div",N:"ytp-chrome-top"});g.L(this,this.C);g.cV(a,this.C.element,1);this.Ra=new g.JV(this.C,250,!0,100);g.L(this,this.Ra);this.ba=[];this.H=new g.D_(a,this);g.L(this,this.H);g.cV(a,this.H.element,4);d.o&&d.Ia&&(this.Zb=new o_(a,this),g.L(this,this.Zb),g.cV(a,this.Zb.element,4));f=new r_(a);g.L(this,f);g.cV(a,f.element,5);f.subscribe("show",(0,g.A)(this.jm,this,f));this.ba.push(f);var k=new s_(a,this,f);g.L(this,k);e||
k.A(this.C.element);this.Oa=new B_(a);g.L(this,this.Oa);this.Oa.A(this.C.element);f=new g.gQ({I:"div",N:"ytp-chrome-top-buttons"});g.L(this,f);f.A(this.C.element);this.sa=f;var l=d.experiments.o("embed_info_bar_top_right_subscribe")&&d.o;!l&&d.ds&&(this.G=new G_(a,this,this.C.element),g.L(this,this.G),this.G.A(f.element));l||(l=new u_(a,this),g.L(this,l),g.cV(a,l.element,5),l.subscribe("show",(0,g.A)(this.jm,this,l)),this.ba.push(l),this.F=new v_(a,this,l,this.C.element),g.L(this,this.F),this.F.A(f.element));
d.np&&(l=new w_(a),g.L(this,l),g.cV(a,l.element,4));e&&k.A(f.element);this.aa=new c_(a,this,this.C.element);g.L(this,this.aa);this.aa.A(f.element);e=new d_(a,this,this.aa);g.L(this,e);e.A(f.element);this.ha&&(this.D=new m_(a,this),g.L(this,this.D),g.cV(a,this.D.element,5),this.D.subscribe("show",function(){b.jm(b.D,xW(b.D))}),this.ba.push(this.D),this.ka=new n_(a,this,this.D),g.L(this,this.ka),this.ka.A(f.element));
(this.o="1"==d.C?new KX(a,this,this.A):null)&&g.L(this,this.o);"3"==d.C&&(e=new t_(a,this),g.L(this,e),g.cV(a,e.element,8));this.M=new j_(a,this,this.L);g.L(this,this.M);this.M.subscribe("show",this.MG,this);this.Aa=!1;d.fd&&(e=new H_(a),g.L(this,e),g.cV(a,e.element,7));e=new QV(a,new UV(a));g.L(this,e);g.cV(a,e.element,4);this.ea=new g.W({I:"div",T:{tabindex:"0"}});this.ea.X("focus",this.FK,this);g.L(this,this.ea);this.ga=new g.W({I:"div",T:{tabindex:"0"}});this.ga.X("focus",this.GK,this);g.L(this,
this.ga);(this.V=d.sd?null:new k_(a,c,this.M,this.A,this.L,(0,g.A)(this.Rj,this)))&&g.L(this,this.V);this.ia.push(this.L.element);this.R(a,"fullscreentoggled",this.ZO);this.R(a,"offlineslatestatechange",this.CS,this);this.R(a,"cardstatechange",this.ug,this)};
J_=function(a,b,c){b=c?b.lastElementChild:b.firstElementChild;for(var d=null;b;){if("none"!=Th(b,"display")&&"true"!=b.getAttribute("aria-hidden")){var e=void 0;0<=b.tabIndex?e=b:e=J_(a,b,c);e&&(d?c?e.tabIndex>d.tabIndex&&(d=e):e.tabIndex<d.tabIndex&&(d=e):d=e)}b=c?b.previousElementSibling:b.nextElementSibling}return d};
g.K_=function(a){g.lV.call(this,a);this.load()};
L_=function(){this.o=[];this.A=[];this.C=[]};
yxa=function(a,b,c){c=g.ke(c?"AUDIO":"VIDEO");g.Oa(c,xxa);g.WG(c,"loadeddata",(0,g.A)(c.dK,c));LN&&6<=TP&&g.WG(c,"webkitbeginfullscreen",(0,g.A)(c.play,c));a.A.push(c);b?a.C.push(c):M_(a,c);return c};
M_=function(a,b){g.Ya(a.A,b)&&!g.Ya(a.o,b)&&(b.If(),g.db(a.C,b)||a.o.push(b))};
N_=function(a,b,c){g.K.call(this);var d=this;this.o=a;this.M=b;c.getPlayerType();this.B=c;this.K=new Map;this.A=[];this.C=this.H=null;this.L=NaN;this.G=this.D=null;this.J=new g.V(function(){zxa(d,d.L)});
g.L(this,this.J);this.F=new g.jH(this);g.L(this,this.F);this.F.R(this.o,g.nR("childplayback"),this.RO);this.F.R(this.o,"onQueuedVideoLoaded",this.gT);this.F.R(this.o,"presentingplayerstatechange",this.SO)};
Bxa=function(a,b,c,d){a.C=d;Axa(a.o.app,a.B,c,void 0===b?0:b)};
Dxa=function(a,b,c,d){a.C=d;var e=b.ff,f=b.playerVars;d=b.playerType;a.H=b;b=new g.AP(a.M,f);b.ff=e;c=void 0===c?Infinity:c;Cxa(a.o.app,b,d,c)};
O_=function(a){a.H=null;a.C=null;!a.o.app.ya.o||a.o.clearQueue()};
Exa=function(a,b){P_(a,b);return b.fj==b.xi+b.durationMs?b.xi+1E3*g.iV(a.o).getCurrentTime():b.fj};
Fxa=function(a,b){for(var c=0,d=g.r(a.A),e=d.next();!e.done;e=d.next()){e=e.value;var f=e.xi/1E3+c,k=f+e.durationMs/1E3;if(f>b)break;if(k>b)return{Qt:e,Kw:b-f};c=k-e.fj/1E3}return{Qt:null,Kw:b-c}};
zxa=function(a,b){var c=a.G||g.iV(a.o).getPlayerState();Q_(a,!0);var d=Fxa(a,b),e=d.Qt;d=d.Kw;var f=e&&!P_(a,e)||!e&&a.B!=g.iV(a.o),k=1E3*d;k=a.C&&a.C.start<=k&&k<=a.C.end;!f&&k||O_(a);e?(f=P_(a,e),f||(g.R_(a.o.app,e.playerType),k=new g.AP(a.M,e.playerVars),k.ff=e.ff,k.bn=!0,S_(a.o.app,k,e.playerType,void 0)),k=g.iV(a.o),f||k.addCueRange(e.zi.Eg),k.seekTo(d,!0),Gxa(a,c)):T_(a,d,c)};
T_=function(a,b,c){var d=a.B;if(d!=g.iV(a.o)){var e=d.getPlayerType();g.R_(a.o.app,e)}d.seekTo(b,!0);Gxa(a,c)};
Gxa=function(a,b){var c=g.iV(a.o),d=c.getPlayerState();OQ(b)&&!OQ(d)?c.playVideo():g.X(b,4)&&!g.X(d,4)&&c.pauseVideo()};
Q_=function(a,b){a.L=NaN;a.J.stop();a.D&&b&&msa(a.D);a.G=null;a.D=null};
P_=function(a,b){var c=g.iV(a.o);return!!c&&c.getVideoData().ff==b.ff};
Hxa=function(a){var b=void 0===b?-1:b;for(var c=g.r(a.K),d=c.next();!d.done;d=c.next()){var e=g.r(d.value);d=e.next().value;e=e.next().value;e.fy>b&&(e.Eg.dispose(),a.K["delete"](d))}c=[];d=g.r(a.A);for(e=d.next();!e.done;e=d.next())if(e=e.value,e.xi>b){var f=a;f.H==e&&O_(f);P_(f,e)&&g.kV(f.o,e.playerType);e.zi.Eg.dispose()}else c.push(e);a.A=c;c=Fxa(a,b/1E3);b=c.Qt;c=c.Kw;b&&(c*=1E3,d=b.fj==b.xi+b.durationMs?b.xi+c:b.fj,b.durationMs=c,b.fj=d,e={Eg:new g.lR(Math.max(0,c-5E3),0x8000000000000,{namespace:"childplayback",
priority:7}),fy:c,target:null},d=b.zi,b.zi=e,P_(a,b)&&(e=g.iV(a.o),d.Eg==a.C&&O_(a),e.removeCueRange(d.Eg),e.addCueRange(b.zi.Eg)),d.Eg.dispose(),P_(a,b)&&1E3*g.iV(a.o).getCurrentTime()>c&&(b=Exa(a,b)/1E3,c=g.iV(a.o).getPlayerState(),T_(a,b,c)))};
g.U_=function(a,b,c,d){d=void 0===d?!1:d;g.AQ.call(this);this.o=a;this.A=b;this.F=c;this.K=d};
V_=function(a,b,c,d){d=void 0===d?!1:d;g.K.call(this);this.o=a;this.A=b;this.D=this.C=null;this.J=c;this.H=this.G=-1;this.F=d&&!(!b.getCurrentTime()&&!isFinite(c));this.B={status:0,error:null}};
Kxa=function(a){if(3==a.B.status){var b=a.o.A,c=Ixa(a),d=c.cE;c=c.bE;qU(a.o);var e=Jxa(b,d,c,a.A.getVideoData().Da);rU(a.A,e);a.F&&(a.A.seekTo(a.A.getCurrentTime()+.001,!0),e.play());b=b.Eb();b.cpn=a.o.getVideoData().clientPlaybackNonce;b.st=""+d;b.et=""+c;a.A.xb("gapless",iM(b));a.o.xb("gaplessTo",a.A.getVideoData().clientPlaybackNonce);g.vg(function(){!a.A.getVideoData().Me&&OQ(a.A.getPlayerState())&&wsa(a.A)});
W_(a,4);a.dispose()}};
Lxa=function(a){a.o.unsubscribe("internalvideodatachange",a.ii,a);a.A.unsubscribe("internalvideodatachange",a.ii,a);a.o.unsubscribe("mediasourceattached",a.ii,a)};
Jxa=function(a,b,c,d){return new g.U_(a.isView()?a.o:a,b,c,d)};
W_=function(a,b){b>a.B.status&&(a.B={status:b,error:null})};
X_=function(a,b){a.B={status:Infinity,error:b};a.A&&a.A.xb("gaplessError",b);a.dispose()};
Ixa=function(a){var b=a.o.A;b=b.isView()?b.A:0;var c=a.o.getVideoData().Da?Infinity:IU(a.o,!0);c=Math.min(a.J/1E3,c)+b;var d=a.F?100:0;a=c-a.A.getCurrentTime()+d;return{qK:b,cE:a,pK:c,bE:Infinity}};
Mxa=function(a){return{hG:a.C.o.o,MV:a.C.A.o}};
Z_=function(a){g.K.call(this);var b=this;this.A=a;this.F=this.B=this.o=null;this.H=!1;this.C=this.D=null;this.G=function(){return g.vg(function(){if(!b.la()){b.H&&PT(g.iV(b.A),!0,!1);b.C&&Kxa(b.C);Nxa(b.A.app,b.o);var c=b.o.getPlayerType();g.R_(b.A.app,c);b.A.playVideo();b.D.resolve(void 0);Y_(b)}})}};
Oxa=function(a,b,c,d){d=void 0===d?0:d;a.D=new PS;a.o=b;var e=c,f=g.iV(a.A),k=f.getVideoData().Da?Infinity:1E3*IU(f,!0);e>k&&(e=k,a.H=!0);f.getCurrentTime()>=e/1E3?a.G():(a.B=f,a.A.addEventListener(g.nR("vqueued"),a.G),e=isFinite(e)||e/1E3>a.B.getDuration()?e:0x8000000000000,a.F=new g.lR(e,0x8000000000000,{namespace:"vqueued"}),a.B.addCueRange(a.F));d/=1E3;0==d?b=0:(b=(b=b.getVideoData().ua)?rla(b,d):NaN,isNaN(b)||d==b||a.o.xb("qvaln","st."+d+";at."+b));b=isNaN(b)?d:b;a.o.getVideoData().Pk=!0;a.o.getVideoData().bn=
!0;dU(a.o,!0);a.o.xb("queued","1");0!=b&&a.o.seekTo(b,!0,void 0,!1,!g.Y(a.A).experiments.o("html5_disable_gapless_seek_back"));g.Y(a.A).experiments.o("html5_gapless")&&(a.C=new V_(g.iV(a.A),a.o,c,g.Y(a.A).experiments.o("html5_pseudo_gapless")),c=a.C,Infinity!=c.B.status&&(W_(c,1),c.o.subscribe("internalvideodatachange",c.ii,c),c.A.subscribe("internalvideodatachange",c.ii,c),c.o.subscribe("mediasourceattached",c.ii,c),c.ii()));return a.D};
Y_=function(a){a.B&&(a.A.removeEventListener(g.nR("vqueued"),a.G),a.B.removeCueRange(a.F),a.F.dispose(),a.B=null,a.F=null);if(a.C){if(!a.C.isFinished()){var b=a.C;Infinity!=b.B.status&&X_(b,"Canceled")}a.C=null}a.D=null;a.o=null;a.H=!1};
b0=function(a,b){g.K.call(this);var c=this;this.B=a||NaN;this.C=b||null;this.A=new g.V(function(){$_(c);a0(c)});
g.L(this,this.A);this.o=[]};
$_=function(a){var b=g.GH();a.o.forEach(function(c){c.expire<b&&c0(a,c,!0)});
a.o=(0,g.re)(a.o,function(c){return!(c.expire<b)})};
c0=function(a,b,c){c&&a.C&&a.C(b.value)};
a0=function(a){a.A.stop();var b=Infinity;for(var c=g.r(a.o),d=c.next();!d.done;d=c.next())d=d.value,d.expire<b&&(b=d.expire);b&&isFinite(b)&&(b=Math.max(b-(0,g.H)(),0),a.A.start(b))};
d0=function(a){g.K.call(this);this.A=null;for(var b=[],c=0;100>=c;c++)b.push(c/100);b={threshold:b};(this.o=window.IntersectionObserver?new IntersectionObserver((0,g.A)(this.C,this),b):null)&&this.o.observe(a)};
Qxa=function(a,b){if(g.cG())return null;var c=Pxa();if(!c)return g.TU(a,"html5.webaudio",{name:"null context"}),null;if(g.v(c))return g.TU(a,"html5.webaudio",{name:c}),null;if(!c.createMediaElementSource)return g.TU(a,"html5.webaudio",{name:"missing createMediaElementSource"}),null;if("suspended"==c.state){var d=function(e){"suspended"==c.state&&OQ(e.state)&&c.resume().then(function(){a.removeEventListener("presentingplayerstatechange",d);e0=!1},null)};
e0||(a.addEventListener("presentingplayerstatechange",d),e0=!0)}return new vR(c,b)};
f0=function(a){var b=a.o;g.W.call(this,{I:"div",da:["html5-video-player"],T:{tabindex:"-1",id:a.wa.attrs.id},P:[{I:"div",N:"html5-video-container",T:{"data-layer":"0"}}]});b.os&&this.Iq("ytp-transparent");g.dF(this.element,"version",a.wa.assets.js);this.app=a;this.J=this.o["html5-video-container"];this.D=new g.Ch(0,0,0,0);this.B=null;this.L=new g.Ch(0,0,0,0);this.O=this.aa=this.H=NaN;this.K=!1;this.M=NaN;this.Y=!1;this.G=null;this.addEventListener=(0,g.A)(this.element.addEventListener,this.element);
this.removeEventListener=(0,g.A)(this.element.removeEventListener,this.element);this.dispatchEvent=function(){};
this.ba=(0,g.A)(function(){this.element.focus()},this);
iO(b)&&"blazer"!=b.playerStyle&&window.matchMedia&&(this.ha="desktop-polymer"==b.playerStyle?[{query:window.matchMedia("(max-width: 656px)"),size:new g.Qd(426,240)},{query:window.matchMedia("(max-width: 856px)"),size:new g.Qd(640,360)},{query:window.matchMedia("(max-width: 999px)"),size:new g.Qd(854,480)},{query:window.matchMedia("(min-width: 1720px) and (min-height: 980px)"),size:new g.Qd(1280,720)},{query:window.matchMedia("(min-width: 1294px) and (min-height: 630px)"),size:new g.Qd(854,480)},{query:window.matchMedia("(min-width: 1000px)"),
size:new g.Qd(640,360)}]:[{query:window.matchMedia("(max-width: 656px)"),size:new g.Qd(426,240)},{query:window.matchMedia("(min-width: 1720px) and (min-height: 980px)"),size:new g.Qd(1280,720)},{query:window.matchMedia("(min-width: 1294px) and (min-height: 630px)"),size:new g.Qd(854,480)},{query:window.matchMedia("(min-width: 657px)"),size:new g.Qd(640,360)}]);this.ea=b.rs;this.F=new g.Qd(NaN,NaN);Rxa(this);this.R(a.A,"mutedautoplaychange",this.bP)};
Rxa=function(a){var b=a.app.A,c=(0,g.A)(a.SL,a),d=(0,g.A)(a.TL,a),e=(0,g.A)(a.aP,a),f=(0,g.A)(a.zL,a);b.addEventListener("initializingmode",c);b.addEventListener("videoplayerreset",d);b.addEventListener("videodatachange",e);b.addEventListener("presentingplayerstatechange",f);g.Ff(a,function(){b.removeEventListener("initializingmode",c);b.removeEventListener("videoplayerreset",d);b.removeEventListener("videodatachange",e);b.removeEventListener("presentingplayerstatechange",f)})};
Sxa=function(a){a.B&&(a.B.removeEventListener("focus",a.ba),g.qe(a.B),a.B=null)};
zY=function(a,b){SN(a.app.o);a.K=!b;g0(a)};
Txa=function(a){var b=a.app.o.experiments.o("html5_aspect_from_adaptive_format"),c=g.Z(a.app);if(c=c?c.getVideoData():null){if(c.Qg()||c.Rg()||c.Uf())return 16/9;if(b&&c.Ha&&c.Ha.videoInfos.length&&c.Ha.o)return b=c.Ha.videoInfos[0],h0(b.video.width,b.video.height)}return(a=a.B)?h0(a.videoWidth,a.videoHeight):b?16/9:NaN};
Uxa=function(a,b,c,d){a.app.o.experiments.o("html5_video_aspect_ratio_stretch_killswitch")&&!isNaN(a.H)&&(c=a.H);var e=c;isNaN(a.O)?isNaN(a.aa)||(e=a.aa):e=a.O;a=h0(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}:e<a?f={width:b.height*e,height:b.height,aspectRatio:e}:f={width:b.width,height:b.height,aspectRatio:a};d||isNaN(c)||(c>e?f.width=f.height*c:c<e&&(f.height=f.width/c),f.aspectRatio=c);return f};
h0=function(a,b){return 1>Math.abs(i0*b-a)||1>Math.abs(i0/a-b)?i0:a/b};
j0=function(a){if(1==a.app.V)return!1;if(!a.app.o.experiments.o("web_player_preroll_video_visible_killswitch")){var b=g.Z(a.app);if(!b||iU(b))return!1}b=g.OU(a.app.A);a=g.X(b,1024)&&!a.app.o.experiments.o("dompaused_video_visible_killswitch");return b&&!g.X(b,2)&&!a&&!b.isCued()};
g0=function(a){var b="3"==a.app.o.C&&!a.K&&j0(a)&&!a.app.Ia;a.B.controls=b;a.B.tabIndex=b?0:-1;b?a.B.removeEventListener("focus",a.ba):a.app.o.experiments.o("disable_focus_redirect")||a.B.addEventListener("focus",a.ba)};
Vxa=function(a){var b=a.getPlayerSize(),c=1,d=!1,e=Uxa(a,b,a.getVideoAspectRatio()),f=jG();if(j0(a)){var k=Txa(a);var l=isNaN(k)||g.QM||tT&&JN;kG&&!g.Lc(601)?k=e.aspectRatio:l=l||"3"==a.app.o.C;l?l=new g.Ch(0,0,b.width,b.height):(c=e.aspectRatio/k,l=new g.Ch((b.width-e.width/c)/2,(b.height-e.height)/2,e.width/c,e.height),1==c&&JN&&(k=l.width-b.height*k,0<k&&(l.width+=k,l.height+=k)));f&&(a.B.style.display="");a.Y=!0}else l=-b.height,kG?l*=window.devicePixelRatio:g.mO&&(l-=window.screen.height),l=
new g.Ch(0,l,b.width,b.height),f&&(a.B.style.display="none"),a.Y=!1;g.Eh(a.L,l)||(a.L=l,g.aO(a.app.o)?(a.B.style.setProperty("width",l.width+"px","important"),a.B.style.setProperty("height",l.height+"px","important")):g.gi(a.B,new g.Qd(l.width,l.height)),g.Wh(a.B,g.Fh(l)),d=!0);b=new g.Ch((b.width-e.width)/2,(b.height-e.height)/2,e.width,e.height);g.Eh(a.D,b)||(a.D=b,d=!0);g.Ph(a.B,"transform",1==c?"":"scaleX("+c+")");return d};
Wxa=function(){this.B=g.vI();this.o=new Set;this.C=new Set;this.A=new Set};
Fsa=function(a,b,c,d){a.o.has(b);a.o.add(b);d=ska(d);b.visualElement=d;var e=g.vI(),f=g.uI();e&&f&&g.gI(e,f,[d],void 0);g.Ff(c,function(){g.Xxa(a,b)})};
g.Xxa=function(a,b){a.o.has(b);a.o["delete"](b);a.C["delete"](b);a.A["delete"](b)};
Yxa=function(a){if(a.B!=g.vI()){var b=g.vI(),c=g.uI();if(b&&c){a.B=b;for(var d=g.r(a.o),e=d.next();!e.done;e=d.next())(e=e.value.visualElement)&&!e.Yd.trackingParams&&e.Yd.veType&&g.gI(b,c,[e],void 0)}if(b)for(a=g.r(a.A),e=a.next();!e.done;e=a.next())(c=e.value.visualElement)&&!c.Yd.trackingParams&&c.Yd.veType&&g.hI(b,c)}};
k0=function(a,b,c,d,e){g.W.call(this,{I:"div",N:"ytp-horizonchart"});this.D=Math.round(a/c);this.L=b;this.H=c;this.J=d;this.K=e;this.Ib=0;this.element.style.width=this.D*this.H+"px";this.element.style.height=this.L+"em";this.B=-1;this.G=this.F=null};
l0=function(a,b){if(-1==a.B){try{var c=g.ke("CANVAS");a.F=c.getContext("2d")}catch(m){}if(a.F){var d=a.D*a.H;a.G=c;a.G.width=d;a.G.style.width=d+"px";a.element.appendChild(a.G)}else for(a.H=Math.floor(a.H/4),a.D*=4,c=0;c<a.H;c++)d=g.ke("SPAN"),d.style.width=a.D+"px",d.style.left=a.D*c+"px",a.element.appendChild(d)}c=a.element.clientHeight||24;c!=a.B&&(a.B=c,a.F&&(c=1<(window.devicePixelRatio||1)?2:1,a.G.height=a.B*c,a.G.style.height=a.B+"px",a.F.scale(1,c)));c=g.r(b);for(var e=c.next();!e.done;e=
c.next()){d=a;var f=a.Ib,k=e.value;for(e=0;e+2<d.J.length&&d.J[e+1]<k;)e++;k=Math.min(1,(k-d.J[e])/(d.J[e+1]-d.J[e]));if(d.F)d.F.fillStyle=d.K[e],d.F.fillRect(f*d.D,0,d.D,d.B),d.F.fillStyle=d.K[e+1],d.F.fillRect(f*d.D,d.B*(1-k),d.D,d.B);else{f=d.element.children[f];var l=window.devicePixelRatio||1;k=Math.min(d.B,Math.round(d.B*k*l)/l)||0;f.style.height=k+"px";f.style.backgroundColor=d.K[e+1];f.style.borderTop="solid "+(d.B-k)+"px "+d.K[e]}a.Ib=(a.Ib+1)%a.H}c=a.Ib;a.F?a.F.clearRect(c*a.D,0,a.D,a.B):
(c=a.element.children[c],c.style.height="0px",c.style.borderTop="")};
m0=function(a){var b=null;b={I:"button",da:["html5-video-info-panel-close","ytp-button"],T:{title:"close"},ca:"[x]"};g.W.call(this,{I:"div",N:"html5-video-info-panel",P:[b,{I:"div",N:"html5-video-info-panel-content",P:[{I:"div",P:[{I:"div",ca:"Video ID / sCPN"},{I:"span",ca:"{{video_id_and_cpn}}"}]},{I:"div",P:[{I:"div",ca:"Viewport"},{I:"span",ca:"{{dimensions}}"}]},{I:"div",P:[{I:"div",ca:"Current / Optimal Res"},{I:"span",ca:"{{resolution}}"}]},{I:"div",P:[{I:"div",ca:"Volume / Normalized"},{I:"span",
ca:"{{volume}}"}]},{I:"div",P:[{I:"div",ca:"Codecs"},{I:"span",ca:"{{codecs}}"}]},{I:"div",T:{style:"{{shader_info_style}}"},P:[{I:"div",ca:"Shader Info"},{I:"span",ca:"{{shader_info}}"}]},{I:"div",T:{style:"{{color_style}}"},P:[{I:"div",ca:"Color"},{I:"span",ca:"{{color}}"}]},{I:"div",T:{style:"{{drm_style}}"},P:[{I:"div",ca:"Protected"},{I:"span",ca:"{{drm}}"}]},{I:"div",T:{style:"{{host_style}}"},P:[{I:"div",ca:"Host"},{I:"span",ca:"{{stream_host}}"}]},{I:"div",T:{style:"{{bandwidth_style}}"},
P:[{I:"div",ca:"Connection Speed"},{I:"span",P:[{I:"span",ca:"{{bandwidth_chart}}"},{I:"span",ca:"{{bandwidth_kbps}}"}]}]},{I:"div",T:{style:"{{network_activity_style}}"},P:[{I:"div",ca:"Network Activity"},{I:"span",P:[{I:"span",ca:"{{network_activity_chart}}"},{I:"span",ca:"{{network_activity_bytes}}"}]}]},{I:"div",P:[{I:"div",ca:"Buffer Health"},{I:"span",P:[{I:"span",ca:"{{buffer_health_chart}}"},{I:"span",ca:"{{buffer_health_seconds}}"}]}]},{I:"div",T:{style:"{{live_latency_style}}"},P:[{I:"div",
ca:"Live Latency"},{I:"span",P:[{I:"span",ca:"{{live_latency_chart}}"},{I:"span",ca:"{{live_latency_secs}}"}]}]},{I:"div",T:{style:"{{live_mode_style}}"},P:[{I:"div",ca:"Live Mode"},{I:"span",ca:"{{live_mode}}"}]},{I:"div",P:[{I:"div",ca:"Dropped Frames"},{I:"span",ca:"{{dropped_frames}}"}]},{I:"div",T:{style:"{{playback_categories_style}}"},P:[{I:"div",ca:"Playback Categories"},{I:"span",ca:"{{playback_categories}}"}]}]}]});b&&this.R(this.o["html5-video-info-panel-close"],"click",this.hide);b=[0,
18750,37500,81250,128E3,256E3,512E3,2048E3,8192E3,32768E3,131072E3];var c="#000 #d53e4f #f46d43 #fdae61 #fee08b #e6f598 #abdda4 #66c2a5 #3288bd #124588 #fff".split(" "),d=b.map(function(e){return e/4});
this.F=new k0(300,1,150,b,c);g.L(this,this.F);this.updateValue("bandwidth_chart",this.F);this.H=new k0(300,1,150,[0,3,10,15,30,60,90],"#000 #66c2a5 #abdda4 #e6f598 #fdae61 #f46d43 #a8330f".split(" "));g.L(this,this.H);this.updateValue("live_latency_chart",this.H);this.G=new k0(300,1,150,[0,15,30,60,90,120],"#000 #fdae61 #e6f598 #66c2a5 #3288bd #fff".split(" "));g.L(this,this.G);this.updateValue("buffer_health_chart",this.G);this.J=new k0(300,1,150,d,c);g.L(this,this.J);this.updateValue("network_activity_chart",
this.J);this.B=new g.V(this.Ew,500,this);g.L(this,this.B);this.D=a};
Zxa=function(a){var b=/codecs="([^"]*)"/.exec(a.mimeType);return(b&&b[1]?b[1]+" ("+PJ(a)+")":PJ(a))+(a.video&&a.video.isAccelerated?" [acc]":"")};
n0=function(a,b){g.K.call(this);var c=this;this.wa=jka(b);var d=this.wa.args||{};this.o=new cO(d);g.L(this,this.o);this.o.experiments.o("html5_parse_inline_fallback_host")&&(yK=!0);this.o.experiments.o("html5_vp9_new_mime")&&void 0!=navigator.mediaCapabilities&&(OL=!0);this.o.experiments.o("html5_manifestless_otf_killswitch")&&(JL=!1);this.o.experiments.o("html5_disable_subtract_cuepoint_offset")&&(mS=!0);this.ae=yN(PN(this.o)&&!0,d.enablesizebutton);this.yc=yN(!1,d.player_wide);this.J=new IT;g.L(this,
this.J);this.Y=yN(!1,d.external_list);this.Fa=(this.Nd=yN(!1,d.external_play_video))&&this.o.experiments.o("player_unified_fullscreen_transitions");this.M=new g.jH(this);g.L(this,this.M);Yg=function(e,f){g.$E(f,"WARNING")};
this.O=null;this.aa=new g.lE;g.L(this,this.aa);this.ea=new g.lE;g.L(this,this.ea);this.ka=new Wxa;this.A=new g.KU(this);g.L(this,this.A);this.K=new g.KU(this,1);g.L(this,this.K);this.H=new f0(this);g.L(this,this.H);this.V=1;this.Ab={};this.L=this.o.Nd?Ala():{volume:100,muted:this.o.mute};this.ba=this.o.Nb?new hR(this,1):new rQ(this,1);g.L(this,this.ba);this.F=null;this.ed={};d={};this.Pb=(d.internalvideodatachange=this.qQ,d.playbackready=this.sQ,d.playbackstarted=this.tQ,d.statechange=this.uQ,d.signatureexpired=
this.OT,d);this.B=$xa(this);this.cd=new g.jH(this);g.L(this,this.cd);this.ha=new jR(this.o,this.B);this.C=aya(this);d={};this.td=(d.airplayactivechange=this.iQ,d.airplayavailabilitychange=this.jQ,d.beginseeking=this.DQ,d.endseeking=this.pR,d.internalAbandon=this.IR,d.internalaudioformatchange=this.wQ,d.internalvideodatachange=this.dw,d.internalvideoformatchange=this.vU,d.liveviewshift=this.QR,d.playbackstalledatstart=this.aU,d.progresssync=this.dT,d.seekcomplete=this.uN,d.seekto=this.vN,d.onLoadProgress=
this.RR,d.onVideoProgress=this.xN,d.onLoadedMetadata=this.TR,d.onDompaused=this.mR,d.playbackready=this.OS,d.statechange=this.iF,d.connectionissue=this.bR,d.newelementrequired=this.KE,d.heartbeatparams=this.sN,d.videoelementevent=this.wN,d.drmoutputrestricted=this.nR,d.requestmediasource=this.sT,d);this.sa=new g.jH(this);g.L(this,this.sa);this.D=null;d=g.$N(this.o)?3:10;this.Oa=new b0(d,function(e){e!=g.Z(c,e.getPlayerType())&&(bya("c","prefetch_"+e.getVideoData().videoId),e.dispose())});
g.L(this,this.Oa);this.Qb=this.Zb=-1;this.Wa=new g.V(this.H.vf,16,this.H);g.L(this,this.Wa);this.jb=!1;this.ma=!0;this.Aa=this.Ra=this.G=null;this.Od=!1;this.tc=this.rd=null;this.ia=0;this.Ia=this.La=!1;this.ga=null;this.qd=!1;this.sd=!0;this.xa=void 0;cya(this);this.Sa=new N_(this.A,this.o,this.C);this.ya=new Z_(this.A);g.L(this,this.ya);this.M.R(this.A,g.nR("appapi"),this.oQ);this.M.R(this.A,"crx_appapi",this.pQ);this.M.R(this.A,g.nR("appad"),this.nE);this.M.R(this.A,"crx_appad",this.nE);this.M.R(this.A,
"presentingplayerstatechange",this.tN);this.M.R(this.A,"resize",this.uT);this.H.A(g.v(a)?document.getElementById(a):a);this.M.R(this.A,"offlineslatestatechange",this.BS);this.fd=dya(this,this.H.element);g.L(this,this.fd);g.DV=this.o.H;this.o.ma&&(g.WZ.ux=g.K_);eya(this);(0,g.LP)("fs",void 0,"");fya(this);this.o.ma&&this.B.NA();.001>Math.random()&&(this.na("web_player_sentinel_is_uniplayer")||g.bF(Error("Player flag missing: web_player_sentinel_is_uniplayer")))};
aya=function(a){var b=new QT(a.o,1,a.ha,a.H,(0,g.A)(a.aa.U,a.aa),(0,g.A)(a.A.getVisibilityState,a.A),a.J);b.setPlaybackRate(a.o.o?1:gya(a,g.BI("yt-player-playback-rate")||1));nH(b,a.Pb,a);return b};
$xa=function(a){var b="",c=a.wa.assets;c=c?c.js||"":"";0==c.indexOf("//")&&(c=a.o.protocol+":"+c);"/base.js"==c.substr(-8)&&(b=c.substr(0,c.length-8)+"/");!a.o.experiments.o("web_player_module_url_debug_killswitch")&&(c=Error().stack)&&(c=c.match(/\((.*?\/(debug-)?player-.*?):\d+:\d+\)/))&&(c=c[1],c.includes(b)||g.$E(Error("Player module URL mismatch: "+(c+" vs "+b+".")),"WARNING"));b=new VZ(a.A,b,a);c={};a=(c.loaded=(0,g.A)(a.nS,a),c.unloaded=(0,g.A)(a.oS,a),c.destroyed=(0,g.A)(a.Mw,a),c);b.ia=a;
return b};
hya=function(a,b){var c=a.isVideoInfoVisible();a.O||(a.O=new m0(a),g.L(a,a.O),g.cV(a.A,a.O.element,4));g.kQ(a.O,b);o0(a)&&c!=b&&g.QU(a.B).by();c=a.D;b&&c&&c.xb("sfn","1",!0)};
q0=function(a){var b=p0.getTag(!0,!a.o.deviceHasDisplay);a.F=new g.uR(b);g.L(a,a.F);a.D&&rU(a.D,a.F);try{a.o.aa?(a.Aa&&a.M.Ka(a.Aa),a.Aa=a.M.R(a.F,"volumechange",a.kS)):(a.F.setVolume(a.L.volume/100),a.F.Ak(a.L.muted))}catch(d){var c="setvolume.1;emsg."+(d.message&&d.message.replace(/[;:,]/g,"_"));g.$T(a.C,"html5.missingapi","UNSUPPORTED_DEVICE",c);return}g.lH(a.sa);iya(a);c=a.H;c.B=b;c.K=!1;c.B.parentNode||pe(c.J,c.B,0);c.L=new g.Ch(0,0,0,0);Vxa(c);g0(c);g.T(c.B,"video-stream");g.T(c.B,"html5-main-video");
b=c.app.o;b.Qb&&c.B.setAttribute("data-no-fullscreen",!0);b.Cj&&(c.B.setAttribute("webkit-playsinline",""),c.B.setAttribute("playsinline",""));b.gr&&c.B&&c.R(c.B,"click",c.B.play,c.B);try{a.F.If()}catch(d){c="activate.1;emsg."+(d.message&&d.message.replace(/[;:,]/g,"_")),g.$T(a.C,"html5.missingapi","UNSUPPORTED_DEVICE",c)}};
r0=function(a){a.F&&(a.Aa&&(a.M.Ka(a.Aa),a.Aa=null),g.lH(a.sa),a.D&&qU(a.D,!0),Sxa(a.H),a.F.Oh()&&p0.releaseTag(a.F.ra()),a.F=null)};
g.R_=function(a,b){var c=xY(a,b);jV(a,c)};
jV=function(a,b){if(a.D!=b){var c=null;a.D&&(c=a.D.getPlayerState(),YZ(a.B,3),ZU(a,"cuerangesremoved",OS(a.D.L)||[]),a.ya&&!pU(b)&&pU(a.D)&&a.F&&a.F.stopVideo(),Gsa(a));s0(a,b);a.D=b;a.F&&rU(b,a.F);nH(b,a.td,a);a.dw("newdata",b,b.getVideoData());c&&!g.NQ(c,b.getPlayerState())&&a.iF(new g.RQ(b.getPlayerState(),c));b.ba.isFinished()&&a.dw("dataloaded",b,b.getVideoData());(c=(c=b.getVideoData().Ca)&&c.video)&&a.A.Ba("onPlaybackQualityChange",c.quality);ZU(a,"cuerangesadded",OS(a.D.L)||[]);a.na("web_player_play_dompaused_presenting_killswitch")?
OQ(b.getPlayerState())?b.playVideo():g.X(b.getPlayerState(),2)&&t0(a):(c=b.getPlayerState(),g.X(c,2)?t0(a):g.X(c,8)&&b.playVideo())}};
t0=function(a){if(a.G&&(g.TN(a.o)||a.A.isFullscreen()&&!a.Fa)&&g.u0(a)){var b=a.o.experiments.o("html5_player_autonav_logging");a.nextVideo(!1,b);b=!0}else b=!1;b||((b=a.C.A)&&b.ln(),a.o.experiments.o("web_player_state_on_player_change_killswitch")||v0(a,QQ(Bsa(a))))};
iya=function(a){var b=a.F;cM()?a.sa.R(b,"webkitpresentationmodechanged",a.CT):dM()&&(a.sa.R(b,"enterpictureinpicture",function(){JT(a.J,!0)}),a.sa.R(b,"leavepictureinpicture",function(){JT(a.J,!1)}))};
s0=function(a,b){if(b!=a.C){var c=b.getPlayerType();a.ed[c]=b}};
Gsa=function(a){var b;if(b=a.ga)b=a.F,b=!!b&&b==a.ga.C;b&&(r0(a),q0(a));a.D&&(qU(a.D),oH(a.D,a.td,a));a.D=null};
g.Z=function(a,b){return b?1==b?a.C:a.ed[b]||null:a.D};
xY=function(a,b){var c=g.Z(a,b);c||(c=w0(a,b),s0(a,c));return c};
w0=function(a,b){var c=a.ha;2==b&&(c=new jR(a.o));return new QT(a.o,b,c,a.H,(0,g.A)(a.aa.U,a.aa),(0,g.A)(a.A.getVisibilityState,a.A),a.J)};
x0=function(a,b){return a.isContinuousPlayback(b)?a.C:b};
y0=function(a,b){var c=a.D;return c&&b==a.C&&a.isContinuousPlayback(b)&&a.isContinuousPlayback(c)?c:b};
jya=function(a){var b=a.getVideoData(),c=10<b.lengthSeconds,d=a.B;if(!d.C)try{d.o.getVideoData(1).adModule?(d.C=new MZ(d.ka,d.ka.K),d.C&&d.C.create()):g.bV(d.o,"ad")}catch(e){g.bV(d.o,"ad"),g.$E(e)}d.LA();d.ha&&c?g.bV(d.o,"endscreen"):d.Yt();d.QA();d.SA();d.RA();d.KA();d.ha&&c?(g.bV(d.o,"annotations_module"),g.bV(d.o,"creatorendscreen")):(d.Wt(),d.Xt());d.HA();d.GA();d.IA();d.Zt();d.MA();d.JA();d.TA();d.PA();Nwa(d);c&&YP(b)?a.cd.R(a.A,"presentingplayerstatechange",a.WS):Lwa(a.B);a.A.U("videoready",
b)};
NZ=function(a){return a.C.getVideoData()};
z0=function(a){a=NZ(a);a.isValid();return YP(a)};
eya=function(a){var b=new g.AP(a.o,a.wa.args);g.DI()&&b.Mc.push("remote");b.isValid()&&(XT(a.C,b,(0,g.A)(a.Sd,a)),!a.o.experiments.o("html5_delay_initial_loading")&&z0(a)&&(a.o.Od||a.o.qd)&&dU(a.C))};
fya=function(a){var b=a.H,c=b.app.o;c.rd||b.Iq("tag-pool-enabled");c.gc&&b.Iq("house-brand");"gvn"==c.playerStyle&&(b.Iq("ytp-gvn"),b.element.style.backgroundColor="transparent");c.ka&&(b.M=g.nF("yt-dom-content-change",b.vf,b));b.R(window,"resize",b.vf,b);b=a.ba;b.B=a.H.element;for(var d in b.C)b.B[d]=b.C[d];(d=OG(a.H.element))&&a.M.R(a.H,d,a.xR);a.M.R(window,"resize",a.vT);b=a.wa.args;q0(a);d=NZ(a);a.A.Ba("onVolumeChange",a.L);if(b&&rR(b))if((c=iO(a.o))&&!a.Y&&(b.fetch=0),A0(a,b),c&&!a.Y)B0(a);else if(!d.isValid())a.G.onReady((0,g.A)(a.Mq,
a));jV(a,a.C);if(!g.X(a.C.getPlayerState(),128)){b=a.o.deviceHasDisplay;try{var e=bM('video/mp4; codecs="avc1.42001E"')||bM('video/webm; codecs="vp9"');var f=(bM('audio/mp4; codecs="mp4a.40.2"')||bM('audio/webm; codecs="opus"'))&&(e||!b)||$L('video/mp4; codecs="avc1.42001E, mp4a.40.2"')?null:"fmt.noneavailable"}catch(k){f="html5.missingapi"}"fmt.noneavailable"==f?g.$T(a.C,"html5.missingapi","HTML5_NO_AVAILABLE_FORMATS_FALLBACK","nocodecs.1"):"html5.missingapi"==f?g.$T(a.C,f,"UNSUPPORTED_DEVICE","nocanplaymedia.1"):
d&&d.isValid()&&z0(a)&&(a.o.Od||a.o.qd)?C0(a):g.BI("yt-player-playback-on-reload")?(uQ(a.ba,"embedsItpPlayedOnReload",{playedOnReload:!0,isLoggedIn:!!a.o.Tc}),kN(!1),C0(a)):g.pO(a.o)||kya(a)}};
kya=function(a){a.A.U("initializingmode");g.D0(a,2);a.B.Zt()};
C0=function(a){if(g.X(a.C.getPlayerState(),128))return!1;z0(a)&&a.o.qd&&(p0.hasTags(void 0)&&a.Ia?(vQ(a,{muted:!1,volume:a.L.volume},!1),E0(a,!1)):p0.hasTags(void 0)||a.L.muted||(vQ(a,{muted:!0,volume:a.L.volume},!1),E0(a,!0)));lya(a,1,a.C.getVideoData());a.A.U("initializingmode");jV(a,a.C);g.D0(a,3);var b;if(!(b=!a.o.rd)){if(b=a.ga)b=a.F,b=!!b&&b==a.ga.C;b=b&&a.Od}b&&(r0(a),q0(a),rU(a.C,a.F));hU(a.C);if(g.X(a.C.getPlayerState(),128))return!1;v0(a,3);return a.Od=!0};
o0=function(a){a=g.QU(a.B);return!!a&&a.loaded};
mya=function(a,b){a.D==a.C&&ysa(a.D)!=b&&(a.D.setLoop(b),a.A.U("loopchange",b))};
gya=function(a,b){var c=1,d=a.A.getAvailablePlaybackRates();b=parseFloat(b.toFixed(2));a.o.experiments.o("web_player_finer_playback_speeds")?(c=d[0],d=d[d.length-1],b<=c||(b>=d?c=d:(c=Math.floor(100*(b+.001)%5+2E-15),c=0==c?b:b-.01*c))):c=1>b?g.Ua(d,function(e){return e>=b}):Wa(d,function(e){return e<=b});
return c};
nya=function(a,b){var c=g.Z(a,b);return c?a.isContinuousPlayback(c)?(c=x0(a,c),FU(c)-c.getCurrentTime()+a.getCurrentTime(b)):FU(c):0};
F0=function(a,b,c){if(a.isContinuousPlayback(c)){c=c.getVideoData();a=a.Sa;for(var d=g.r(a.A),e=d.next();!e.done;e=d.next())if(e=e.value,c.ff==e.ff){b+=e.xi/1E3;break}d=b;a=g.r(a.A);for(e=a.next();!e.done;e=a.next()){e=e.value;if(c.ff==e.ff)break;var f=e.xi/1E3;if(f<b)d+=e.durationMs/1E3+f-e.fj/1E3;else break}return d}return b};
Bsa=function(a,b){return 3==a.getPresentingPlayerType()?g.QU(a.B).un:g.Z(a,b).getPlayerState()};
G0=function(a,b){return 3==a.getPresentingPlayerType()?QQ(g.QU(a.B).un):2!=b||a.isContinuousPlayback()?a.Zb:a.Qb};
pya=function(a){oya(a);mya(a,!1);a.Ab={};var b=a.ha;if(b.o){var c=b.o;c.ea={};c.ba={}}b.A=!1;b=a.Sa;a=a.C;a.getPlayerType();Q_(b,!1);Hxa(b);b.B=a};
B0=function(a){var b=qya();if(b)if(b.list){if(a.G&&a.G.getPlaylistId()==b.list)if(0<=b.index){var c=b.video;a.A.isFullscreen()&&((c=c[a.G.we()])&&c.encrypted_id!=a.G.za().videoId||(b.index=a.G.we()));tR(a.G,b);a.Ra&&H0(a,a.Ra)}else a.Ra=null}else a.Wo()};
A0=function(a,b){a.G&&(a.G.unsubscribe("error",a.Wo,a),g.Gf(a.G),a.G=null);b&&(a.Y&&(b.fetch=0),a.G=new g.qR(a.o,b),a.G.subscribe("error",a.Wo,a))};
I0=function(a,b,c,d){b in a.Ab||(c=new g.lR(c,d,{id:b,priority:1}),c.namespace="appad",a.C.addCueRange(c),a.Ab[b]=c)};
g.D0=function(a,b){b!=a.V&&(2!=b||1!=a.getPresentingPlayerType()&&!a.o.experiments.o("web_player_app_state_fix_killswitch")||(v0(a,-1),v0(a,5)),a.V=b,a.A.U("appstatechange",b))};
v0=function(a,b){if(a.D){var c=a.D.getPlayerType();if(2==c&&!a.isContinuousPlayback()){a.Qb!=b&&(a.Qb=b,a.A.Ba("onAdStateChange",b));return}if(2==c&&a.isContinuousPlayback()||5==c||6==c||7==c)if(-1==b||0==b||5==b)return}a.Zb!=b&&(a.Zb=b,a.A.Ba("onStateChange",b))};
Cxa=function(a,b,c,d){d=void 0===d?Infinity:d;c=c||a.D.getPlayerType();c=w0(a,c);XT(c,b,(0,g.A)(a.Sd,a));Axa(a,c,d)};
Axa=function(a,b,c,d){d=void 0===d?0:d;if(!a.na("html5_continuous_liveness_killswitch")){var e=g.Z(a);e&&(x0(a,e).Ag=!0)}Oxa(a.ya,b,c,d).then(function(){a.A.Ba("onQueuedVideoLoaded")},function(){})};
lya=function(a,b,c){if(!e){var d=b+c.videoId;var e=a.Oa.get(d);if(!e)return null;a.Oa.remove(d);if(g.X(e.getPlayerState(),128))return e.dispose(),null}if(e==g.Z(a,b))return e;if((e.getVideoData().oauthToken||c.oauthToken)&&e.getVideoData().oauthToken!=c.oauthToken)return null;Nxa(a,e);return e};
Nxa=function(a,b){var c=b.getPlayerType();b!=g.Z(a,c)&&(1==b.getPlayerType()?(b.getVideoData().autonavState=a.C.getVideoData().autonavState,oH(a.C,a.Pb,a),c=a.C.getPlaybackRate(),a.C.dispose(),a.C=b,a.C.setPlaybackRate(c),nH(b,a.Pb,a),pya(a)):(c=g.Z(a,c))&&c.dispose(),a.D.getPlayerType()==b.getPlayerType()?jV(a,b):s0(a,b))};
S_=function(a,b,c,d){wP("_start","")||(Fma("p",""),a.ha.info("srt",0));var e=lya(a,c||a.D.getPlayerType(),b);e&&(0,g.LP)("pfp",void 0,"prefetch_"+b.videoId);if(!e){e=g.Z(a,c);if(!e)return!1;a.Wa.stop();J0(a,c);XT(e,b,(0,g.A)(a.Sd,a),d)}e==a.C&&(a.o.Ra=b.oauthToken);if(!aU(e))return!1;a.jb&&(e.La=!1,a.jb=!1);if(e==a.C)return g.D0(a,1),C0(a);hU(e);return!0};
K0=function(a,b,c){c=g.Z(a,c);b&&c==a.C&&(c.getVideoData().Hh=!0)};
L0=function(a,b,c){var d=g.Z(a,c);d&&(J0(a,c),XT(d,b,(0,g.A)(a.Sd,a)),d==a.C&&(g.D0(a,1),kya(a)))};
g.M0=function(a,b,c,d,e,f,k){if(!b&&!d)throw Error("Playback source is invalid");a.A.isFullscreen()&&!a.Fa||!PN(a.o)&&!g.kO(a.o)?(c=a.ha,c.o&&(f=c.o,f.ea={},f.ba={}),c.A=!1,a.ha.reset(),b={video_id:b},e&&(b.autoplay="1"),e&&(b.autonav="1"),d?(b.list=d,a.loadPlaylist(b)):a.loadVideoByPlayerVars(b,1)):(c=c||{},c.lact=WH(),c.vis=a.A.getVisibilityState(),a.Nd||"gaming"==a.o.playerStyle?a.A.Ba("onPlayVideo",{videoId:b,watchEndpoint:k,sessionData:c,listId:d}):(a=f&&a.getVideoData().Ym?a.o.loaderUrl:a.o.getVideoUrl(b,
d),g.y("yt.player.exports.navigate")(a,c)))};
g.u0=function(a){if(a.A.isMutedByMutedAutoplay())return!1;if(3==a.getPresentingPlayerType())return!0;iO(a.o)&&!a.Y&&B0(a);return!(!a.G||!a.G.hasNext())};
H0=function(a,b){var c=g.y(b);if(c){var d=qya();d&&d.list&&c();a.Ra=null}else a.Ra=b};
qya=function(){var a=g.y("yt.www.watch.lists.getState");return a?a():null};
g.rya=function(a){if(!a.F||!a.F.Oh())return null;var b=a.F;if(a.ga){var c=a.ga;c.C?c.C!=b&&(g.xR(c),c.C=b,c.A=null):c.C=b}else a.ga=Qxa(a.A,b),a.ga&&g.L(a,a.ga);return a.ga};
sya=function(a,b,c,d,e,f){b={id:b};"chapter"==f?(b.style="ytp-chapter-marker",b.visible=!0):isNaN(e)||("ad"==f?b.style="ytp-ad-progress":(b.style="ytp-time-marker",b.color=e),b.visible=!0);c=new g.lR(1E3*c,1E3*d,b);c.namespace="appapi";XU(a,[c],1);return!0};
XU=function(a,b,c){var d=g.Z(a,c);d&&(d=d.L,d.A(),mqa(d.o,b),d.B=NaN,d.A(),c&&a.getPresentingPlayerType()!=c||ZU(a,"cuerangesadded",b))};
Gwa=function(a){var b=g.GH(),c=a.getCurrentTime();a=a.getVideoData();return b-Math.max(1E3*(c-a.startSeconds),0)};
vQ=function(a,b,c){a.o.M&&(a.L=b,b.muted||E0(a,!1),c&&a.o.Nd&&!a.o.aa&&(c={volume:Math.floor(b.volume),muted:b.muted},c.unstorable||(g.AI("yt-player-volume",c),g.AI("yt-player-volume",c,2592E3))),tya(a),c=g.aM&&a.F&&!a.F.Dd(),!a.o.aa||c)&&(b=g.ic(b),a.o.Nd||(b.unstorable=!0),a.A.Ba("onVolumeChange",b))};
tya=function(a){var b=a.getVideoData();if(!b.li){b=a.o.aa?1:aQ(b);var c=a.F;c.setVolume(a.L.volume*b/100);c.Ak(a.L.muted)}};
E0=function(a,b){b!=a.Ia&&(a.Ia=b,a.A.U("mutedautoplaychange",b))};
N0=function(a){var b=MG();return b&&(b==a.H.element||a.F&&b==a.F.ra())?b:null};
vya=function(a,b){var c=window.screen&&window.screen.orientation;if(a.o.experiments.o("lock_fullscreen2")&&c&&c.lock&&(!g.aM||!uya))if(b){var d=0==c.type.indexOf("portrait"),e=a.H.getVideoAspectRatio(),f=d;1>e?f=!0:1<e&&(f=!1);if(!a.La||f!=d){if(c=c.lock(f?"portrait":"landscape"))c["catch"](g.z);a.La=!0}}else a.La&&(a.La=!1,c.unlock())};
O0=function(a,b){var c=!!b,d=!!a.J.C!=c,e=a.J;e.C!=b&&(e.C=b,e.Gk());a.na("html5_media_fullscreen")&&!c&&a.F&&MG()==a.F.ra()&&a.F.ln();a.H.vf();d&&(0,g.LP)("fsc",void 0,"");d&&(a.A.U("fullscreentoggled",c),d=NZ(a),c={fullscreen:c,videoId:d.Ny||d.videoId,time:a.getCurrentTime()},a.K.getPlaylistId()&&(c.listId=a.K.getPlaylistId()),a.A.Ba("onFullscreenChange",c))};
ZU=function(a,b,c){a.A.U(b,c);var d=g.$N(a.o)||g.aO(a.o)||lO(a.o);if(c&&d){switch(b){case "cuerangemarkersupdated":var e="onCueRangeMarkersUpdated";break;case "cuerangesadded":e="onCueRangesAdded";break;case "cuerangesremoved":e="onCueRangesRemoved"}e&&a.A.Ba(e,c)}};
J0=function(a,b){kP(a.ia);a.ia=0;var c=g.Z(a,b);c&&1!=a.V&&2!=a.V&&(c==a.D&&YZ(a.B,4),1==b&&(a.o.experiments.o("html5_stop_video_in_cancel_playback")&&c.stopVideo(),oya(a)),g.oU(c),ZU(a,"cuerangesremoved",OS(c.L)||[]),c.L.reset(),a.ya&&pU(c)&&(qU(c,!0),rU(c,a.F)))};
P0=function(a,b,c,d,e){c=void 0===c?!0:c;var f=g.Z(a,e);f&&(2==f.getPlayerType()&&!a.isContinuousPlayback(f)||g.UP(f.getVideoData()))||(3==a.getPresentingPlayerType()?g.QU(a.B).Th("control_seek",b,c):a.seekTo(b,c,d,e))};
Q0=function(a,b,c,d){if(!(a.jb||a.na("html5_only_reload_for_yt_killswitch")&&"yt"!=a.o.ba)){c&&(r0(a),q0(a));a.jb=!0;c=g.Z(a);c.La=!0;c.xb("reloading","reason."+b);var e=a.getVideoData(),f={};f.video_id=e.videoId;f.adformat=e.adFormat;e.Da||(f.start=c.getCurrentTime(),f.resume="1");e.jf&&(f.vvt=e.jf);e.co&&(f.vss_credentials_token=e.co,f.vss_credentials_token_type=e.ms);e.oauthToken&&(f.oauth_token=e.oauthToken);f.autoplay=1;f.reload_count=e.qg+1;f.reload_reason=b;e.sl&&(f.unplugged_partner_opt_out=
e.sl);a.loadVideoByPlayerVars(f,void 0,d)}};
wya=function(a,b){NZ(a).autonavState=b;g.AI("yt-player-autonavstate",b);a.A.U("autonavchange",b)};
xya=function(a){var b=a.getVideoData().li,c=a.o.jh,d=a.F;b||c?d.fu():(d.ju(),vQ(a,a.L))};
dya=function(a,b){return a.o.experiments.o("html5_enable_embedded_player_visibility_signals")&&a.o.o?new d0(b):null};
oya=function(a){(a=a.B.C)&&a.created&&a.destroy()};
yya=function(a,b){b.bounds=a.getBoundingClientRect();for(var c=g.r(["display","opacity","visibility","zIndex"]),d=c.next();!d.done;d=c.next())d=d.value,b[d]=Th(a,d);b.hidden=!!a.hidden};
cya=function(a){var b=a.o,c=document.requestStorageAccess&&document.hasStorageAccess;b.experiments.o("embeds_enable_request_storage_access_safari_itp")&&c&&b.o?lG()||b.Y?(uQ(a.ba,"embedsStorageAccessNotChecked",{isIosWebview:lG(),isPemPlayer:b.Y}),a.xa=!1):document.hasStorageAccess().then(function(d){uQ(a.ba,"embedsHasStorageAccessResult",{hasCookieAccess:d,resultedInError:!1});a.xa=!d},function(d){uQ(a.ba,"embedsHasStorageAccessResult",{hasCookieAccess:!1,
resultedInError:!0});g.bF(Error("Embeds ITP Error: "+d));a.xa=!1}):a.xa=!1};
zya=function(a,b,c){for(var d in b)a[c+d]=b[d];return a};
R0=function(a){this.length=a.length||a;for(var b=0;b<this.length;b++)this[b]=a[b]||0};
S0=function(a){this.length=a.length||a;for(var b=0;b<this.length;b++)this[b]=a[b]||0};
aa=[];fa="function"==typeof Object.create?Object.create:function(a){function b(){}
b.prototype=a;return new b};
if("function"==typeof Object.setPrototypeOf)T0=Object.setPrototypeOf;else{var U0;a:{var Aya={ud:!0},Bya={};try{Bya.__proto__=Aya;U0=Bya.ud;break a}catch(a){}U0=!1}T0=U0?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}
var ha=T0,ia="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this,ka="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)};
la("Promise",function(a){function b(k){this.A=0;this.C=void 0;this.o=[];var l=this.B();try{k(l.resolve,l.reject)}catch(m){l.reject(m)}}
function c(){this.o=null}
function d(k){return k instanceof b?k:new b(function(l){l(k)})}
if(a)return a;c.prototype.A=function(k){if(null==this.o){this.o=[];var l=this;this.C(function(){l.D()})}this.o.push(k)};
var e=ia.setTimeout;c.prototype.C=function(k){e(k,0)};
c.prototype.D=function(){for(;this.o&&this.o.length;){var k=this.o;this.o=[];for(var l=0;l<k.length;++l){var m=k[l];k[l]=null;try{m()}catch(n){this.B(n)}}}this.o=null};
c.prototype.B=function(k){this.C(function(){throw k;})};
b.prototype.B=function(){function k(n){return function(p){m||(m=!0,n.call(l,p))}}
var l=this,m=!1;return{resolve:k(this.K),reject:k(this.D)}};
b.prototype.K=function(k){if(k===this)this.D(new TypeError("A Promise cannot resolve to itself"));else if(k instanceof b)this.L(k);else{a:switch(typeof k){case "object":var l=null!=k;break a;case "function":l=!0;break a;default:l=!1}l?this.J(k):this.F(k)}};
b.prototype.J=function(k){var l=void 0;try{l=k.then}catch(m){this.D(m);return}"function"==typeof l?this.M(l,k):this.F(k)};
b.prototype.D=function(k){this.G(2,k)};
b.prototype.F=function(k){this.G(1,k)};
b.prototype.G=function(k,l){if(0!=this.A)throw Error("Cannot settle("+k+", "+l+"): Promise already settled in state"+this.A);this.A=k;this.C=l;this.H()};
b.prototype.H=function(){if(null!=this.o){for(var k=0;k<this.o.length;++k)f.A(this.o[k]);this.o=null}};
var f=new c;b.prototype.L=function(k){var l=this.B();k.So(l.resolve,l.reject)};
b.prototype.M=function(k,l){var m=this.B();try{k.call(l,m.resolve,m.reject)}catch(n){m.reject(n)}};
b.prototype.then=function(k,l){function m(u,w){return"function"==typeof u?function(D){try{n(u(D))}catch(F){p(F)}}:w}
var n,p,q=new b(function(u,w){n=u;p=w});
this.So(m(k,n),m(l,p));return q};
b.prototype["catch"]=function(k){return this.then(void 0,k)};
b.prototype.So=function(k,l){function m(){switch(n.A){case 1:k(n.C);break;case 2:l(n.C);break;default:throw Error("Unexpected state: "+n.A);}}
var n=this;null==this.o?f.A(m):this.o.push(m)};
b.resolve=d;b.reject=function(k){return new b(function(l,m){m(k)})};
b.race=function(k){return new b(function(l,m){for(var n=g.r(k),p=n.next();!p.done;p=n.next())d(p.value).So(l,m)})};
b.all=function(k){var l=g.r(k),m=l.next();return m.done?d([]):new b(function(n,p){function q(D){return function(F){u[D]=F;w--;0==w&&n(u)}}
var u=[],w=0;do u.push(void 0),w++,d(m.value).So(q(u.length-1),p),m=l.next();while(!m.done)})};
return b});
na.prototype.toString=function(){return this.o};
var aaa=function(){function a(c){if(this instanceof a)throw new TypeError("Symbol is not a constructor");return new na("jscomp_symbol_"+(c||"")+"_"+b++,c)}
var b=0;return a}();
ra.prototype.F=function(a){this.D=a};
ra.prototype["return"]=function(a){this.C={"return":a};this.o=this.G};
la("Array.prototype.find",function(a){return a?a:function(b,c){a:{var d=this;d instanceof String&&(d=String(d));for(var e=d.length,f=0;f<e;f++){var k=d[f];if(b.call(c,k,f,d)){d=k;break a}}d=void 0}return d}});
la("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=ya(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&&k<e;)if(d[k++]!=b[l++])return!1;return l>=f}});
la("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=ya(this,b,"endsWith");b+="";void 0===c&&(c=d.length);for(var e=Math.max(0,Math.min(c|0,d.length)),f=b.length;0<f&&0<e;)if(d[--e]!=b[--f])return!1;return 0>=f}});
la("String.prototype.repeat",function(a){return a?a:function(b){var c=ya(this,null,"repeat");if(0>b||1342177279<b)throw new RangeError("Invalid count value");b|=0;for(var d="";b;)if(b&1&&(d+=c),b>>>=1)c+=c;return d}});
var Cya="function"==typeof Object.assign?Object.assign:function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(d)for(var e in d)za(d,e)&&(a[e]=d[e])}return a};
la("Object.assign",function(a){return a||Cya});
la("Math.trunc",function(a){return a?a:function(b){b=Number(b);if(isNaN(b)||Infinity===b||-Infinity===b||0===b)return b;var c=Math.floor(Math.abs(b));return 0>b?-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);c<d;c++)this[c]=b;return this}});
la("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}});
la("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length,f=c||0;for(0>f&&(f=Math.max(f+e,0));f<e;f++){var k=d[f];if(k===b||Object.is(k,b))return!0}return!1}});
la("String.prototype.includes",function(a){return a?a:function(b,c){return-1!==ya(this,b,"includes").indexOf(b,c||0)}});
la("Math.log10",function(a){return a?a:function(b){return Math.log(b)/Math.LN10}});
la("WeakMap",function(a){function b(l){this.Ja=(k+=Math.random()+1).toString();if(l){l=g.r(l);for(var m;!(m=l.next()).done;)m=m.value,this.set(m[0],m[1])}}
function c(){}
function d(l){za(l,f)||ka(l,f,{value:new c})}
function e(l){var m=Object[l];m&&(Object[l]=function(n){if(n instanceof c)return n;d(n);return m(n)})}
if(function(){if(!a||!Object.seal)return!1;try{var l=Object.seal({}),m=Object.seal({}),n=new a([[l,2],[m,3]]);if(2!=n.get(l)||3!=n.get(m))return!1;n["delete"](l);n.set(m,4);return!n.has(l)&&4==n.get(m)}catch(p){return!1}}())return a;
var f="$jscomp_hidden_"+Math.random();e("freeze");e("preventExtensions");e("seal");var k=0;b.prototype.set=function(l,m){d(l);if(!za(l,f))throw Error("WeakMap key fail: "+l);l[f][this.Ja]=m;return this};
b.prototype.get=function(l){return za(l,f)?l[f][this.Ja]:void 0};
b.prototype.has=function(l){return za(l,f)&&za(l[f],this.Ja)};
b.prototype["delete"]=function(l){return za(l,f)&&za(l[f],this.Ja)?delete l[f][this.Ja]:!1};
return b});
la("Map",function(a){function b(){var l={};return l.previous=l.next=l.head=l}
function c(l,m){var n=l.o;return oa(function(){if(n){for(;n.head!=l.o;)n=n.previous;for(;n.next!=n.head;)return n=n.next,{done:!1,value:m(n)};n=null}return{done:!0,value:void 0}})}
function d(l,m){var n=m&&typeof m;"object"==n||"function"==n?f.has(m)?n=f.get(m):(n=""+ ++k,f.set(m,n)):n="p_"+m;var p=l.A[n];if(p&&za(l.A,n))for(var q=0;q<p.length;q++){var u=p[q];if(m!==m&&u.key!==u.key||m===u.key)return{id:n,list:p,index:q,Rd:u}}return{id:n,list:p,index:-1,Rd:void 0}}
function e(l){this.A={};this.o=b();this.size=0;if(l){l=g.r(l);for(var m;!(m=l.next()).done;)m=m.value,this.set(m[0],m[1])}}
if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var l=Object.seal({x:4}),m=new a(g.r([[l,"s"]]));if("s"!=m.get(l)||1!=m.size||m.get({x:4})||m.set({x:4},"t")!=m||2!=m.size)return!1;var n=m.entries(),p=n.next();if(p.done||p.value[0]!=l||"s"!=p.value[1])return!1;p=n.next();return p.done||4!=p.value[0].x||"t"!=p.value[1]||!n.next().done?!1:!0}catch(q){return!1}}())return a;
pa();var f=new WeakMap;e.prototype.set=function(l,m){l=0===l?0:l;var n=d(this,l);n.list||(n.list=this.A[n.id]=[]);n.Rd?n.Rd.value=m:(n.Rd={next:this.o,previous:this.o.previous,head:this.o,key:l,value:m},n.list.push(n.Rd),this.o.previous.next=n.Rd,this.o.previous=n.Rd,this.size++);return this};
e.prototype["delete"]=function(l){l=d(this,l);return l.Rd&&l.list?(l.list.splice(l.index,1),l.list.length||delete this.A[l.id],l.Rd.previous.next=l.Rd.next,l.Rd.next.previous=l.Rd.previous,l.Rd.head=null,this.size--,!0):!1};
e.prototype.clear=function(){this.A={};this.o=this.o.previous=b();this.size=0};
e.prototype.has=function(l){return!!d(this,l).Rd};
e.prototype.get=function(l){return(l=d(this,l).Rd)&&l.value};
e.prototype.entries=function(){return c(this,function(l){return[l.key,l.value]})};
e.prototype.keys=function(){return c(this,function(l){return l.key})};
e.prototype.values=function(){return c(this,function(l){return l.value})};
e.prototype.forEach=function(l,m){for(var n=this.entries(),p;!(p=n.next()).done;)p=p.value,l.call(m,p[1],p[0],this)};
e.prototype[Symbol.iterator]=e.prototype.entries;var k=0;return e});
la("Set",function(a){function b(c){this.o=new Map;if(c){c=g.r(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.o.size}
if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var c=Object.seal({x:4}),d=new a(g.r([c]));if(!d.has(c)||1!=d.size||d.add(c)!=d||1!=d.size||d.add({x:4})!=d||2!=d.size)return!1;var e=d.entries(),f=e.next();if(f.done||f.value[0]!=c||f.value[1]!=c)return!1;f=e.next();return f.done||f.value[0]==c||4!=f.value[0].x||f.value[1]!=f.value[0]?!1:e.next().done}catch(k){return!1}}())return a;
pa();b.prototype.add=function(c){c=0===c?0:c;this.o.set(c,c);this.size=this.o.size;return this};
b.prototype["delete"]=function(c){c=this.o["delete"](c);this.size=this.o.size;return c};
b.prototype.clear=function(){this.o.clear();this.size=0};
b.prototype.has=function(c){return this.o.has(c)};
b.prototype.entries=function(){return this.o.entries()};
b.prototype.values=function(){return this.o.values()};
b.prototype.keys=b.prototype.values;b.prototype[Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.o.forEach(function(f){return c.call(d,f,f,e)})};
return b});
la("Array.from",function(a){return a?a:function(b,c,d){c=null!=c?c:function(l){return l};
var e=[],f="undefined"!=typeof Symbol&&Symbol.iterator&&b[Symbol.iterator];if("function"==typeof f){b=f.call(b);for(var k=0;!(f=b.next()).done;)e.push(c.call(d,f.value,k++))}else for(f=b.length,k=0;k<f;k++)e.push(c.call(d,b[k],k));return e}});
la("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)za(b,d)&&c.push(b[d]);return c}});
var Dya=function(){function a(){function c(){}
Reflect.construct(c,[],function(){});
return new c instanceof c}
if("undefined"!=typeof Reflect&&Reflect.construct){if(a())return Reflect.construct;var b=Reflect.construct;return function(c,d,e){c=b(c,d);e&&Reflect.setPrototypeOf(c,e.prototype);return c}}return function(c,d,e){void 0===e&&(e=c);
e=fa(e.prototype||Object.prototype);return Function.prototype.apply.call(c,e,d)||e}}();
la("Reflect.construct",function(){return Dya});
la("Number.isFinite",function(a){return a?a:function(b){return"number"!==typeof b?!1:!isNaN(b)&&Infinity!==b&&-Infinity!==b}});
la("WeakSet",function(a){function b(c){this.o=new WeakMap;if(c){c=g.r(c);for(var d;!(d=c.next()).done;)this.add(d.value)}}
if(function(){if(!a||!Object.seal)return!1;try{var c=Object.seal({}),d=Object.seal({}),e=new a([c]);if(!e.has(c)||e.has(d))return!1;e["delete"](c);e.add(d);return!e.has(c)&&e.has(d)}catch(f){return!1}}())return a;
b.prototype.add=function(c){this.o.set(c,!0);return this};
b.prototype.has=function(c){return this.o.has(c)};
b.prototype["delete"]=function(c){return this.o["delete"](c)};
return b});
la("Number.parseInt",function(a){return a||parseInt});
la("Math.log2",function(a){return a?a:function(b){return Math.log(b)/Math.LN2}});
yy=yy||{};g.x=this;Taa=/^[\w+/_-]+[=]{0,2}$/;Gd=null;La="closure_uid_"+(1E9*Math.random()>>>0);faa=0;g.H=Date.now||function(){return+new Date};g.B(Pa,Error);Pa.prototype.name="CustomError";var Vd;g.B(Qa,Pa);Qa.prototype.name="AssertionError";var Xa,Eya;Xa=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if(g.v(a))return g.v(b)&&1==b.length?a.indexOf(b,0):-1;
for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1};
Eya=Array.prototype.lastIndexOf?function(a,b){return Array.prototype.lastIndexOf.call(a,b,a.length-1)}:function(a,b){var c=a.length-1;
0>c&&(c=Math.max(0,a.length+c));if(g.v(a))return g.v(b)&&1==b.length?a.lastIndexOf(b,c):-1;for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1};
g.C=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=g.v(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)};
g.re=Array.prototype.filter?function(a,b,c){return Array.prototype.filter.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=[],f=0,k=g.v(a)?a.split(""):a,l=0;l<d;l++)if(l in k){var m=k[l];
b.call(c,m,l,a)&&(e[f++]=m)}return e};
g.I=Array.prototype.map?function(a,b,c){return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),f=g.v(a)?a.split(""):a,k=0;k<d;k++)k in f&&(e[k]=b.call(c,f[k],k,a));
return e};
g.xj=Array.prototype.reduce?function(a,b,c){return Array.prototype.reduce.call(a,b,c)}:function(a,b,c){var d=c;
(0,g.C)(a,function(e,f){d=b.call(void 0,d,e,f,a)});
return d};
g.xk=Array.prototype.some?function(a,b,c){return Array.prototype.some.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=g.v(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return!0;
return!1};
g.wj=Array.prototype.every?function(a,b,c){return Array.prototype.every.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=g.v(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&!b.call(c,e[f],f,a))return!1;
return!0};var Hb=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},zb=/&/g,Ab=/</g,Bb=/>/g,Cb=/"/g,Db=/'/g,Eb=/\x00/g,paa=/[\x00&<>"']/;a:{var Fya=g.x.navigator;if(Fya){var Gya=Fya.userAgent;if(Gya){g.Kb=Gya;break a}}g.Kb=""};var kc="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");var saa=/&([^;\s<&]+);?/g,wc=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)},taa=2147483648*Math.random()|0;Hc[" "]=g.z;var tT,uya,Zo,$o,Hya,Iya,VN,V0;g.Kf=Lb("Opera");g.de=Lb("Trident")||Lb("MSIE");g.QM=Lb("Edge");g.mO=g.QM||g.de;g.Rh=Lb("Gecko")&&!(Gb(g.Kb,"WebKit")&&!Lb("Edge"))&&!(Lb("Trident")||Lb("MSIE"))&&!Lb("Edge");g.fe=Gb(g.Kb,"WebKit")&&!Lb("Edge");tT=Lb("Macintosh");uya=Lb("Windows");g.fp=Lb("Android");Zo=Fc();$o=Lb("iPad");Hya=Lb("iPod");Iya=Gc();VN=Gb(g.Kb,"KaiOS");
a:{var W0="",X0=function(){var a=g.Kb;if(g.Rh)return/rv:([^\);]+)(\)|;)/.exec(a);if(g.QM)return/Edge\/([\d\.]+)/.exec(a);if(g.de)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(g.fe)return/WebKit\/(\S+)/.exec(a);if(g.Kf)return/(?:Version)[ \/]?(\S+)/.exec(a)}();
X0&&(W0=X0?X0[1]:"");if(g.de){var Y0=Jc();if(null!=Y0&&Y0>parseFloat(W0)){V0=String(Y0);break a}}V0=W0}var Kc=V0,vaa={},Jya;var Kya=g.x.document;Jya=Kya&&g.de?Jc()||("CSS1Compat"==Kya.compatMode?parseInt(Kc,10):5):void 0;var xaa=Jya;var Vaa=!g.de||g.Mc(9),Xaa=!g.Rh&&!g.de||g.de&&g.Mc(9)||g.Rh&&g.Lc("1.9.1"),Yaa=g.de||g.Kf||g.fe;var Raa={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};Sc.prototype.Yf=!0;Sc.prototype.Se=function(){return this.o};
Sc.prototype.toString=function(){return"Const{"+this.o+"}"};
var Rc={},Qc={};var Baa=/<[^>]*>|&[^;]+;/g,Lya=RegExp("[\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]"),Eaa=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]"),axa=RegExp("^[\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]"),Eta=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]"),
Wc=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]"),Daa=/^http:\/\/.*/,Caa=/\s+/,Faa=/[\d\u06f0-\u06f9]/;Zc.prototype.Yf=!0;Zc.prototype.Se=function(){return this.A.toString()};
Zc.prototype.jv=!0;Zc.prototype.o=function(){return 1};
var Haa=/%{(\w+)}/g,Gaa=/^((https:)?\/\/[0-9a-z.:[\]-]+\/|\/[^/\\]|[^:/\\%]+\/|[^:/\\%]*[?#]|about:blank#)/i,Yc={};dd.prototype.Yf=!0;dd.prototype.Se=function(){return this.A.toString()};
dd.prototype.jv=!0;dd.prototype.o=function(){return 1};
var gd=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,cd={};hd("about:blank");ld.prototype.Yf=!0;var kd={};ld.prototype.Se=function(){return this.o};
var Paa=nd(""),Kaa=/^[-,."'%_!# a-zA-Z0-9\[\]]+$/,qd=RegExp("\\b(url\\([ \t\n]*)('[ -&(-\\[\\]-~]*'|\"[ !#-\\[\\]-~]*\"|[!#-&*-\\[\\]-~]*)([ \t\n]*\\))","g"),pd=RegExp("\\b(hsl|hsla|rgb|rgba|matrix|calc|minmax|fit-content|repeat|(rotate|scale|translate)(X|Y|Z|3d)?)\\([-+*/0-9a-z.%\\[\\], ]+\\)","g"),Laa=/\/\*/;sd.prototype.Yf=!0;var rd={};sd.prototype.Se=function(){return this.o};ud.prototype.jv=!0;ud.prototype.o=function(){return this.C};
ud.prototype.Yf=!0;ud.prototype.Se=function(){return this.A.toString()};
var Ad=/^[a-zA-Z0-9-]+$/,Qaa={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},Mya={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},td={};yd("<!DOCTYPE html>",0);var Nya=yd("",0);yd("<br>",0);var Saa=Pc(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.vd(Nya);return!b.parentElement});g.h=g.Od.prototype;g.h.clone=function(){return new g.Od(this.x,this.y)};
g.h.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};
g.h.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};
g.h.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};
g.h.scale=function(a,b){var c=g.Ca(b)?b:a;this.x*=a;this.y*=c;return this};g.h=g.Qd.prototype;g.h.clone=function(){return new g.Qd(this.width,this.height)};
g.h.aspectRatio=function(){return this.width/this.height};
g.h.isEmpty=function(){return!Sd(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};
g.h.scale=function(a,b){var c=g.Ca(b)?b:a;this.width*=a;this.height*=c;return this};var $d={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=Td.prototype;g.h.ra=function(){return g.v(void 0)?this.o.getElementById(void 0):void 0};
g.h.getElementsByTagName=function(a,b){return(b||this.o).getElementsByTagName(String(a))};
g.h.dL=function(a,b,c){return he(this.o,arguments)};
g.h.createElement=function(a){return this.o.createElement(String(a))};
g.h.appendChild=g.me;g.h.append=ne;g.h.canHaveChildren=function(a){if(1!=a.nodeType)return!1;switch(a.tagName){case "APPLET":case "AREA":case "BASE":case "BR":case "COL":case "COMMAND":case "EMBED":case "FRAME":case "HR":case "IMG":case "INPUT":case "IFRAME":case "ISINDEX":case "KEYGEN":case "LINK":case "NOFRAMES":case "NOSCRIPT":case "META":case "OBJECT":case "PARAM":case "SCRIPT":case "SOURCE":case "STYLE":case "TRACK":case "WBR":return!1}return!0};
g.h.removeNode=g.qe;g.h.contains=g.we;var LN,KN,JN;g.EM=nc();LN=Fc()||Lb("iPod");KN=Lb("iPad");g.MN=g.qc();g.aM=oc();JN=pc()&&!Gc();var Le=null,Qe=null,Ke=null;var Te=[];Se.prototype.clone=function(){return Ue(this.A,this.B,this.C-this.B)};
Se.prototype.clear=function(){this.A=null;this.o=this.C=this.B=0;this.D=!1};
Se.prototype.reset=function(){this.o=this.B};
Se.prototype.getError=function(){return this.D||0>this.o||this.o>this.C};We.prototype.getError=function(){return this.B||this.o.getError()};
We.prototype.reset=function(){this.o.reset();this.A=this.C=-1};var cf="function"==typeof Uint8Array,df=[];bf.prototype.toString=function(){pf(this);return this.C.toString()};
bf.prototype.getExtension=function(a){if(this.A){this.o||(this.o={});var b=a.C;if(a.B){if(a.A())return this.o[b]||(this.o[b]=(0,g.I)(this.A[b]||[],function(c){return new a.o(c)})),this.o[b]}else if(a.A())return!this.o[b]&&this.A[b]&&(this.o[b]=new a.o(this.A[b])),this.o[b];
return this.A[b]}};
bf.prototype.clone=function(){return new this.constructor(qf(of(this)))};g.B(rf,bf);g.B(sf,bf);g.B(tf,bf);g.B(uf,bf);g.B(vf,bf);g.B(wf,bf);g.B(xf,bf);g.B(yf,bf);g.B(zf,bf);g.B(Af,bf);g.B(Bf,bf);g.B(nf,bf);var aba=[[9,10],[11,12],[18,19,20,21,28],[27,29]],bba=[[2,3]],cba=[[9,15]];vf.prototype.Qe=function(){return ff(this,14)};
var dba=[1];g.x.console&&"function"===typeof g.x.console.log&&(0,g.A)(g.x.console.log,g.x.console);var Ef={};var cg=!g.de||g.Mc(9),Oya=g.de&&!g.Lc("9"),iba=function(){if(!g.x.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});
try{g.x.addEventListener("test",g.z,b),g.x.removeEventListener("test",g.z,b)}catch(c){}return a}();g.K.prototype.Bb=!1;g.K.prototype.la=function(){return this.Bb};
g.K.prototype.dispose=function(){this.Bb||(this.Bb=!0,this.W())};
g.K.prototype.W=function(){if(this.dj)for(;this.dj.length;)this.dj.shift()()};g.If.prototype.stopPropagation=function(){this.jj=!0};
g.If.prototype.preventDefault=function(){this.defaultPrevented=!0;this.NF=!1};var lxa=Lf("AnimationEnd"),Pya={Ks:"click",o2:"rightclick",iZ:"dblclick",eY:"auxclick",E0:"mousedown",K0:"mouseup",J0:"mouseover",I0:"mouseout",H0:"mousemove",F0:"mouseenter",G0:"mouseleave",D0:"mousecancel",w2:"selectionchange",z2:"selectstart",i4:"wheel",Z_:"keypress",Y_:"keydown",a0:"keyup",qY:"blur",e_:"focus",jZ:"deactivate",f_:"focusin",g_:"focusout",IY:"change",e2:"reset",v2:"select",f3:"submit",K_:"input",U1:"propertychange",GZ:"dragstart",BZ:"drag",DZ:"dragenter",FZ:"dragover",EZ:"dragleave",
IZ:"drop",CZ:"dragend",y3:"touchstart",x3:"touchmove",w3:"touchend",v3:"touchcancel",nY:"beforeunload",TY:"consolemessage",XY:"contextmenu",mZ:"devicechange",nZ:"devicemotion",oZ:"deviceorientation",vZ:"DOMContentLoaded",ERROR:"error",v_:"help",LOAD:"load",t0:"losecapture",r1:"orientationchange",a2:"readystatechange",f2:"resize",r2:"scroll",F3:"unload",xY:"canplay",yY:"canplaythrough",JZ:"durationchange",OZ:"emptied",ENDED:"ended",j0:"loadeddata",k0:"loadedmetadata",PAUSE:"pause",PLAY:"play",PLAYING:"playing",
Y1:"ratechange",t2:"seeked",u2:"seeking",T2:"stalled",g3:"suspend",n3:"timeupdate",b4:"volumechange",f4:"waiting",R2:"sourceopen",Q2:"sourceended",P2:"sourceclosed",fX:"abort",UPDATE:"update",L3:"updatestart",J3:"updateend",o_:"hashchange",v1:"pagehide",w1:"pageshow",M1:"popstate",aZ:"copy",z1:"paste",fZ:"cut",hY:"beforecopy",iY:"beforecut",lY:"beforepaste",p1:"online",n1:"offline",MESSAGE:"message",SY:"connect",L_:"install",gX:"activate",d_:"fetch",h_:"foreignfetch",A0:"messageerror",W2:"statechange",
K3:"updatefound",YY:"controllerchange",WX:Lf("AnimationStart"),UX:lxa,VX:Lf("AnimationIteration"),B3:Lf("TransitionEnd"),F1:"pointerdown",L1:"pointerup",E1:"pointercancel",I1:"pointermove",K1:"pointerover",J1:"pointerout",G1:"pointerenter",H1:"pointerleave",m_:"gotpointercapture",u0:"lostpointercapture",O0:"MSGestureChange",P0:"MSGestureEnd",Q0:"MSGestureHold",R0:"MSGestureStart",S0:"MSGestureTap",T0:"MSGotPointerCapture",U0:"MSInertiaStart",V0:"MSLostPointerCapture",W0:"MSPointerCancel",X0:"MSPointerDown",
Y0:"MSPointerEnter",Z0:"MSPointerHover",b1:"MSPointerLeave",c1:"MSPointerMove",d1:"MSPointerOut",e1:"MSPointerOver",f1:"MSPointerUp",TEXT:"text",h3:g.de?"textinput":"textInput",QY:"compositionstart",RY:"compositionupdate",PY:"compositionend",jY:"beforeinput",YZ:"exit",g0:"loadabort",h0:"loadcommit",l0:"loadredirect",m0:"loadstart",n0:"loadstop",l2:"responsive",J2:"sizechanged",H3:"unresponsive",a4:"visibilitychange",b3:"storage",AZ:"DOMSubtreeModified",wZ:"DOMNodeInserted",yZ:"DOMNodeRemoved",zZ:"DOMNodeRemovedFromDocument",
xZ:"DOMNodeInsertedIntoDocument",tZ:"DOMAttrModified",uZ:"DOMCharacterDataModified",mY:"beforeprint",yX:"afterprint",kY:"beforeinstallprompt",XX:"appinstalled"};g.B(Mf,g.If);var Qya={2:"touch",3:"pen",4:"mouse"};
Mf.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.Rh&&(Ic(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.offsetX=g.fe||void 0!==
a.offsetX?a.offsetX:a.layerX,this.offsetY=g.fe||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.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.v(a.pointerType)?
a.pointerType:Qya[a.pointerType]||"";this.state=a.state;this.o=a;a.defaultPrevented&&this.preventDefault()};
Mf.prototype.stopPropagation=function(){Mf.fa.stopPropagation.call(this);this.o.stopPropagation?this.o.stopPropagation():this.o.cancelBubble=!0};
Mf.prototype.preventDefault=function(){Mf.fa.preventDefault.call(this);var a=this.o;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Oya)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var fba;g.Nf="closure_listenable_"+(1E6*Math.random()|0);fba=0;Qf.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.listeners[f];a||(a=this.listeners[f]=[],this.o++);var k=Tf(a,b,d,e);-1<k?(b=a[k],c||(b.Ro=!1)):(b=new gba(b,this.src,f,!!d,e),b.Ro=c,a.push(b));return b};
Qf.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.listeners))return!1;var e=this.listeners[a];b=Tf(e,b,c,d);return-1<b?(Pf(e[b]),g.cb(e,b),0==e.length&&(delete this.listeners[a],this.o--),!0):!1};
Qf.prototype.Dm=function(a,b,c,d){a=this.listeners[a.toString()];var e=-1;a&&(e=Tf(a,b,c,d));return-1<e?a[e]:null};
Qf.prototype.hasListener=function(a,b){var c=g.Aa(a),d=c?a.toString():"",e=g.Aa(b);return Qb(this.listeners,function(f){for(var k=0;k<f.length;++k)if(!(c&&f[k].type!=d||e&&f[k].capture!=b))return!0;return!1})};var Zf="closure_lm_"+(1E6*Math.random()|0),fg={},bg=0,ig="__closure_events_fn_"+(1E9*Math.random()>>>0);g.B(g.jg,g.K);g.jg.prototype[g.Nf]=!0;g.h=g.jg.prototype;g.h.Zh=function(a){this.xa=a};
g.h.addEventListener=function(a,b,c,d){g.Vf(this,a,b,c,d)};
g.h.removeEventListener=function(a,b,c,d){g.dg(this,a,b,c,d)};
g.h.dispatchEvent=function(a){var b=this.xa;if(b){var c=[];for(var d=1;b;b=b.xa)c.push(b),++d}b=this.jb;d=a.type||a;if(g.v(a))a=new g.If(a,b);else if(a instanceof g.If)a.target=a.target||b;else{var e=a;a=new g.If(d,b);g.lc(a,e)}e=!0;if(c)for(var f=c.length-1;!a.jj&&0<=f;f--){var k=a.currentTarget=c[f];e=kg(k,d,!0,a)&&e}a.jj||(k=a.currentTarget=b,e=kg(k,d,!0,a)&&e,a.jj||(e=kg(k,d,!1,a)&&e));if(c)for(f=0;!a.jj&&f<c.length;f++)k=a.currentTarget=c[f],e=kg(k,d,!1,a)&&e;return e};
g.h.W=function(){g.jg.fa.W.call(this);this.Le&&g.Sf(this.Le);this.xa=null};
g.h.X=function(a,b,c,d){return this.Le.add(String(a),b,!1,c,d)};
g.h.Mh=function(a,b,c,d){return this.Le.add(String(a),b,!0,c,d)};
g.h.Ka=function(a,b,c,d){this.Le.remove(String(a),b,c,d)};
g.h.Dm=function(a,b,c,d){return this.Le.Dm(String(a),b,c,d)};
g.h.hasListener=function(a,b){return this.Le.hasListener(g.Aa(a)?String(a):void 0,b)};lg.prototype.get=function(){if(0<this.A){this.A--;var a=this.o;this.o=a.next;a.next=null}else a=this.C();return a};var og,kba=g.Oc;var xg=new lg(function(){return new rg},function(a){a.reset()});
qg.prototype.add=function(a,b){var c=xg.get();c.set(a,b);this.A?this.A.next=c:this.o=c;this.A=c};
qg.prototype.remove=function(){var a=null;this.o&&(a=this.o,this.o=this.o.next,this.o||(this.A=null),a.next=null);return a};
rg.prototype.set=function(a,b){this.o=a;this.scope=b;this.next=null};
rg.prototype.reset=function(){this.next=this.scope=this.o=null};var sg,tg=!1,ug=new qg;Cg.prototype.reset=function(){this.context=this.onRejected=this.C=this.o=null;this.A=!1};
var Dg=new lg(function(){return new Cg},function(a){a.reset()});
g.Bg.prototype.then=function(a,b,c){return Lg(this,g.Ja(a)?a:null,g.Ja(b)?b:null,c)};
yg(g.Bg);g.Bg.prototype.cancel=function(a){0==this.o&&g.vg(function(){var b=new Rg(a);Ng(this,b)},this)};
g.Bg.prototype.J=function(a){this.o=0;Ag(this,2,a)};
g.Bg.prototype.K=function(a){this.o=0;Ag(this,3,a)};
g.Bg.prototype.H=function(){for(var a;a=Og(this);)Pg(this,a,this.o,this.G);this.F=!1};
var Tg=ng;g.B(Rg,Pa);Rg.prototype.name="cancel";g.B(g.Ug,g.jg);g.h=g.Ug.prototype;g.h.enabled=!1;g.h.Ea=null;g.h.setInterval=function(a){this.Fd=a;this.Ea&&this.enabled?(this.stop(),this.start()):this.Ea&&this.stop()};
g.h.nd=function(){if(this.enabled){var a=(0,g.H)()-this.KC;0<a&&a<.8*this.Fd?this.Ea=this.ao.setTimeout(this.oA,this.Fd-a):(this.Ea&&(this.ao.clearTimeout(this.Ea),this.Ea=null),this.dispatchEvent("tick"),this.enabled&&(this.stop(),this.start()))}};
g.h.start=function(){this.enabled=!0;this.Ea||(this.Ea=this.ao.setTimeout(this.oA,this.Fd),this.KC=(0,g.H)())};
g.h.stop=function(){this.enabled=!1;this.Ea&&(this.ao.clearTimeout(this.Ea),this.Ea=null)};
g.h.W=function(){g.Ug.fa.W.call(this);this.stop();delete this.ao};var Yg=g.z,bh={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},zba=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g;g.h=ch.prototype;g.h.isEnabled=function(){return navigator.cookieEnabled};
g.h.set=function(a,b,c,d,e,f){if(/[;=\s]/.test(a))throw Error('Invalid cookie name "'+a+'"');if(/[;\r\n]/.test(b))throw Error('Invalid cookie value "'+b+'"');g.Aa(c)||(c=-1);e=e?";domain="+e:"";d=d?";path="+d:"";f=f?";secure":"";c=0>c?"":0==c?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date((0,g.H)()+1E3*c)).toUTCString();this.o.cookie=a+"="+b+e+d+c+f};
g.h.get=function(a,b){for(var c=a+"=",d=(this.o.cookie||"").split(";"),e=0,f;e<d.length;e++){f=Hb(d[e]);if(0==f.lastIndexOf(c,0))return f.substr(c.length);if(f==a)return""}return b};
g.h.remove=function(a,b,c){var d=g.Aa(this.get(a));this.set(a,"",0,b,c);return d};
g.h.Gb=function(){return dh(this).keys};
g.h.wb=function(){return dh(this).values};
g.h.isEmpty=function(){return!this.o.cookie};
g.h.Gc=function(){return this.o.cookie?(this.o.cookie||"").split(";").length:0};
g.h.clear=function(){for(var a=dh(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};
var YH=new ch("undefined"==typeof document?null:document);var Aba=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,th=/#|$/,Bba=/[?&]($|#)/;xh.prototype.remove=function(a){fc(this.o,a)};
xh.prototype.set=function(a,b){this.o[a]=b};
xh.prototype.get=function(a){return gc(this.o,a,null)};g.h=g.zh.prototype;g.h.ab=function(){return this.right-this.left};
g.h.getHeight=function(){return this.bottom-this.top};
g.h.clone=function(){return new g.zh(this.top,this.right,this.bottom,this.left)};
g.h.contains=function(a){return this&&a?a instanceof g.zh?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};
g.h.expand=function(a,b,c,d){g.Ka(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};
g.h.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};
g.h.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};
g.h.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};
g.h.scale=function(a,b){var c=g.Ca(b)?b:a;this.left*=a;this.right*=a;this.top*=c;this.bottom*=c;return this};g.h=g.Ch.prototype;g.h.clone=function(){return new g.Ch(this.left,this.top,this.width,this.height)};
g.h.contains=function(a){return a instanceof g.Od?a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height:this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height};
g.h.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};
g.h.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
g.h.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};
g.h.scale=function(a,b){var c=g.Ca(b)?b:a;this.left*=a;this.width*=a;this.top*=c;this.height*=c;return this};var Kh=null;Gh.prototype.getValue=function(){return this.o};
Gh.prototype.A=function(){return String(this.o)};
g.B(Hh,Gh);Hh.prototype.A=function(){return this.o?"1":"0"};
g.B(Ih,Gh);Ih.prototype.A=function(){return this.o?Math.round(this.o.top)+"."+Math.round(this.o.left)+"."+(Math.round(this.o.top)+Math.round(this.o.height))+"."+(Math.round(this.o.left)+Math.round(this.o.width)):""};var Qh={},pi={thin:2,medium:4,thick:6};new g.Ug(200);var Ji=document,N=window;var Hba=g.z;var Kba=/https?:\/\/[^\/]+/,Iba={HX:"allow-forms",IX:"allow-modals",JX:"allow-orientation-lock",KX:"allow-pointer-lock",LX:"allow-popups",MX:"allow-popups-to-escape-sandbox",NX:"allow-presentation",OX:"allow-same-origin",PX:"allow-scripts",QX:"allow-top-navigation",RX:"allow-top-navigation-by-user-activation"},Oba=Pc(function(){return Jba()});var Qba=Pc(function(){var a=!1;try{var b=Object.defineProperty({},"passive",{get:function(){a=!0}});
g.x.addEventListener("test",null,b)}catch(c){}return a});var mca={O1:1,Z3:2,C0:3};var Hi=!!window.google_async_iframe_id,Ii=Hi&&window.parent||window;var Rba=[0,2,1],Li=null;document.addEventListener&&document.addEventListener("mousedown",function(a){Li=a},!0);
window.mb=function(a){if(a){var b=Mi();b&&(window.css?window.css(a.id,"mb",b,void 0,void 0):a&&(a.href=ti(a.href,"mb",b,void 0)))}};var Ica={NONE:0,MZ:1};Pi.prototype.isVisible=function(){return this.Mi?.3<=this.vb:.5<=this.vb};var Gj={Vy:0,a_:1},Kca={Vy:0,Z1:1,m1:2},Jca={Vy:0,NEVER:1,ALWAYS:2},cca={953563515:0,953563517:1,21062754:0,21062755:1},dca={370204058:0,370204059:1,370204060:0,370204061:1},eca={370204054:0,370204055:1,370204056:0,370204057:1},jca={370204018:0,370204019:1,370204052:2,370204026:0,370204027:1,370204053:2},hca={668123008:0,668123009:1},ica={668123028:0,668123029:1},fca={NONE:0,W_:1},gca={480596784:0,480596785:1},kca={53887176:0,53887177:1},lca={319331040:0,319331041:1},nca={21063103:0,21063104:1},oca=
{20197871:0,20197872:1};Qi.prototype.getValue=function(){return this.o};Wi.prototype.disable=function(){this.A=!1};
Wi.prototype.enable=function(){this.A=!0};
Wi.prototype.isEnabled=function(){return this.A};
Wi.prototype.reset=function(){this.o={};this.A=!0;this.C={}};var Wba=(0,g.H)(),cj=-1,aj=-1,Zl,dj=-1,bj=!1;fj.prototype.now=function(){return 0};g.t(gj,fj);gj.prototype.now=function(){return N.performance.now?N.performance.now():fj.prototype.now.call(this)};jj.prototype.isVisible=function(){return 1===hj(Ji)};var Xba=/^https?:\/\/(\w|-)+\.cdn\.ampproject\.(net|org)(\?|\/|$)/;oj.prototype.Xa=function(a,b,c,d){a=a+"//"+b+c;var e=Zba(this)-c.length-d.length;if(0>e)return"";this.o.sort(function(p,q){return p-q});
c=null;b="";for(var f=0;f<this.o.length;f++)for(var k=this.o[f],l=this.C[k],m=0;m<l.length;m++){if(!e){c=null==c?k:c;break}var n=rj(l[m],this.A,",$");if(n){n=b+n;if(e>=n.length){e-=n.length;a+=n;b=this.A;break}else this.D&&(b=e,n[b-1]==this.A&&--b,a+=n.substr(0,b),b=this.A,e=0);c=null==c?k:c}}f="";this.B&&null!=c&&(f=b+this.B+"="+c);return a+f+d};g.h=yj.prototype;g.h.setInterval=function(a,b){return N.setInterval(a,b)};
g.h.clearInterval=function(a){N.clearInterval(a)};
g.h.setTimeout=function(a,b){return N.setTimeout(a,b)};
g.h.clearTimeout=function(a){N.clearTimeout(a)};
g.h.Rn=function(a){var b=Ki()||N;Ei(b,a)};
g.Ea(yj);Bj.prototype.getContext=function(){if(!this.o){if(!N)throw Error("Context has not been set and window is undefined.");this.o=yj.getInstance()}return this.o};
g.Ea(Bj);Fj.prototype.isValid=function(){return!!this.A||!!this.o};
Fj.prototype.toString=function(){return this.A+(this.o?"-":"")+this.o};
Fj.prototype.matches=function(a){return this.o||a.o?this.o==a.o:this.A||a.A?this.A==a.A:!1};Hj.prototype.jx=function(a){if(g.v(a)&&0!=a.length){var b=this.Ua;if(b.A){a=a.split("&");for(var c=a.length-1;0<=c;c--){var d=a[c].split("="),e=1<d.length?parseInt(d[1],10):1;(d=b.o[d[0]])&&Ti(d,e)}b=a.join("&")}else b=a;this.C=b}};
g.Ea(Hj);var Z0=null;var vha={E3:0,j1:1,h2:2,XZ:3,q3:4,k_:5,s0:6,j2:7,gY:8,n_:9,pY:10,C2:11,s2:12};var Qj=g.x.performance,Rya=!!(Qj&&Qj.mark&&Qj.measure&&Qj.clearMarks),Oj=Pc(function(){var a;if(a=Rya){var b;if(null===Z0){Z0="";try{a="";try{a=g.x.top.location.hash}catch(c){a=g.x.location.hash}a&&(Z0=(b=a.match(/\bdeid=([\d,]+)/))?b[1]:"")}catch(c){}}b=Z0;a=!!b.indexOf&&0<=b.indexOf("1337")}return a});
Pj.prototype.disable=function(){this.A=!1;this.events!=this.o.google_js_reporting_queue&&(Oj()&&(0,g.C)(this.events,Rj),this.events.length=0)};
Pj.prototype.G=function(a){this.A&&this.events.push(a)};
Pj.prototype.start=function(a,b){if(!this.A)return null;var c=Mj()||Lj();c=new Nj(a,b,c);var d="goog_"+c.uniqueId+"_start";Qj&&Oj()&&Qj.mark(d);return c};
Pj.prototype.end=function(a){if(this.A&&g.Ca(a.value)){var b=Mj()||Lj();a.duration=b-a.value;b="goog_"+a.uniqueId+"_end";Qj&&Oj()&&Qj.mark(b);this.G(a)}};g.h=Uj.prototype;g.h.Hx=function(a){this.o=a};
g.h.Lx=function(a){this.C=a};
g.h.Nx=function(a){this.A=a};
g.h.kj=function(a,b,c,d){try{if(this.Ea&&this.Ea.A){var e=this.Ea.start(a.toString(),3);var f=b();this.Ea.end(e)}else f=b()}catch(l){b=this.A;try{Rj(e);var k=new Wj(Vj(l));b=(d||this.D).call(this,a,k,void 0,c)}catch(m){this.Tg(217,m)}if(!b)throw l;}return f};
g.h.lx=function(a,b,c,d){var e=this;return function(f){for(var k=[],l=0;l<arguments.length;++l)k[l-0]=arguments[l];return e.kj(a,function(){return b.apply(c,k)},d)}};
g.h.Tg=function(a,b,c,d,e){e=e||this.C;try{var f=new oj;f.D=!0;tj(f,1,"context",a);Kj(b)||(b=new Wj(Vj(b)));b.msg&&tj(f,2,"msg",b.msg.substring(0,512));var k=b.meta||{};if(this.o)try{this.o(k)}catch(m){}if(d)try{d(k)}catch(m){}sj(f,3,[k]);var l=nj();l.A&&tj(f,4,"top",l.A.url||"");tj(f,5,"url",l.o.url||"");Ij(this.B,e,f,c)}catch(m){try{Ij(this.B,e,{context:"ecmserr",rctx:a,msg:Vj(m),url:l&&l.o.url},c)}catch(n){}}return this.A};
g.t(Wj,Jj);g.h=ak.prototype;g.h.Hx=function(a){this.o=a};
g.h.Lx=function(a){this.C=a};
g.h.Nx=function(a){this.A=a};
g.h.kj=function(a,b,c,d){try{if(this.Ea&&this.Ea.A){var e=this.Ea.start(a.toString(),3);var f=b();this.Ea.end(e)}else f=b()}catch(l){b=this.A;try{Rj(e);var k=new Jj(l,{message:bk(l)});b=(d||this.D).call(this,a,k,void 0,c)}catch(m){this.Tg(217,m)}if(!b)throw l;}return f};
g.h.lx=function(a,b,c,d){var e=this;return function(f){for(var k=[],l=0;l<arguments.length;++l)k[l-0]=arguments[l];return e.kj(a,function(){return b.apply(c,k)},d)}};
g.h.Tg=function(a,b,c,d,e){e=e||this.C;try{var f=new oj;f.D=!0;tj(f,1,"context",a);Kj(b)||(b=new Jj(b,{message:bk(b)}));b.msg&&tj(f,2,"msg",b.msg.substring(0,512));var k=b.meta||{};if(this.o)try{this.o(k)}catch(m){}if(d)try{d(k)}catch(m){}sj(f,3,[k]);var l=nj();l.A&&tj(f,4,"top",l.A.url||"");tj(f,5,"url",l.o.url||"");Xj(this.B,e,f,c)}catch(m){try{Xj(this.B,e,{context:"ecmserr",rctx:a,msg:bk(m),url:l&&l.o.url},c)}catch(n){}}return this.A};var Tj,dk,Sj=new Pj(1,Ki());(function(){Tj=new pca;dk=new Uj;var a=Ki();a&&a.document&&("complete"==a.document.readyState?ck():Sj.A&&Ci(a,"load",function(){ck()}))})();if(Ji&&Ji.URL){var Sya,Ai=Ji.URL;Sya=!!Ai&&0<Nba().length;dk.Nx(!Sya)};var Zm={currentTime:1,duration:2,isVpaid:4,volume:8,isYouTube:16,isPlaying:32},Wl={Gz:"start",ez:"firstquartile",pz:"midpoint",Jz:"thirdquartile",Uy:"complete",RI:"metric",PAUSE:"pause",lJ:"resume",Dz:"skip",Nz:"viewable_impression",VI:"mute",yJ:"unmute",fz:"fullscreen",oI:"exitfullscreen",vY:"bufferstart",uY:"bufferfinish",gz:"fully_viewable_audible_half_duration_impression",oz:"measurable_impression",LH:"abandon",Zy:"engagedview",xo:"impression",hI:"creativeview",Ns:"loaded",S1:"progress",CLOSE:"close",
KY:"collapse",cJ:"overlay_resize",dJ:"overlay_unmeasurable_impression",eJ:"overlay_unviewable_impression",gJ:"overlay_viewable_immediate_impression",fJ:"overlay_viewable_end_of_session_impression",jI:"custom_metric_viewable"},Zda="start firstquartile midpoint thirdquartile resume loaded".split(" "),$da=["start","firstquartile","midpoint","thirdquartile"],bda=["abandon"],Am={UNKNOWN:-1,Gz:0,ez:1,pz:2,Jz:3,Uy:4,RI:5,PAUSE:6,lJ:7,Dz:8,Nz:9,VI:10,yJ:11,fz:12,oI:13,gz:14,oz:15,LH:16,Zy:17,xo:18,hI:19,
Ns:20,jI:21};g.pl=!g.de&&!pc();var uca=new g.zh(0,0,0,0);wk.prototype.ra=function(){return this.G};zk.prototype.update=function(a){this.D=Oi(!1,a,this.M);Bk(this,a);this.K=this.C&&this.A?this.G:this.o};
g.Ea(zk);Ek.prototype.cancel=function(){zj().clearTimeout(this.o);this.o=null};
Ek.prototype.schedule=function(){var a=this;this.o=zj().setTimeout(fk(143,function(){a.A++;a.C.OF()}),ej(Hj.getInstance().B))};g.h=Fk.prototype;g.h.qj=function(){return this.Kf()};
g.h.Kf=function(){return!1};
g.h.initialize=function(){this.K=!0};
g.h.Am=function(){return this.V};
g.h.ig=function(){return this.A==this?this.O:this.A.ig()};
g.h.Kg=function(){return{}};
g.h.Ng=function(){return this.B};
g.h.kD=function(){Bk(zk.getInstance(),this.Md)};
g.h.nD=function(){Ak(zk.getInstance(),this.Md)};
g.h.lD=function(){Ck(zk.getInstance(),this.Md)};
g.h.mD=function(){var a=zk.getInstance();a.D=Oi(!1,this.Md,a.M)};
g.h.OF=function(){};
g.h.Gr=function(){};
g.h.Ah=function(a){var b=this.B,c=a.Ng();this.A=c<this.G?this:a;this.B=this.A!=this?c:this.G;this.A==this||1==c&&0!=this.G||this.Gr();this.B!=b&&Gk(this)};
g.h.Pg=function(a){this.A!=this&&Lk(this,a)};
g.h.rg=function(){return this.F};
g.h.dispose=function(){this.Bb=!0};
g.h.la=function(){return this.Bb};g.h=Mk.prototype;g.h.Zv=function(){return!0};
g.h.hn=function(){};
g.h.Ft=function(){this.element&&(this.A=qk(this.element,this.o.Md))};
g.h.Lj=function(){this.Ft();this.B=new wk(this.o.o,this.element,this.A,this.B.o,this.B.A,this.B.C,$i(),this.B.D)};
g.h.dispose=function(){this.la()||(Jk(this.o,this),this.Bb=!0)};
g.h.la=function(){return this.Bb};
g.h.Kg=function(){return this.D.Kg()};
g.h.Ng=function(){return this.D.Ng()};
g.h.Am=function(){return this.D.Am()};
g.h.Ah=function(a){this.D=a;this.H.Ah(this)};
g.h.Pg=function(){this.Lj()};
g.h.rg=function(){return this.H.rg()};g.h=Nk.prototype;g.h.Ng=function(){return this.o.Ng()};
g.h.Am=function(){return this.o.Am()};
g.h.create=function(a,b,c){var d=null;this.o&&(d=this.Yv(a,b,c),Ik(this.o,d));return d};
g.h.qj=function(){return this.Kf()};
g.h.Kf=function(){return!1};
g.h.init=function(){return!0};
g.h.dispose=function(){this.Bb=!0};
g.h.la=function(){return this.Bb};
g.h.Kg=function(){return{}};Qk.prototype.add=function(a,b,c){++this.C;var d=this.C/4096;this.o.push(Aca(new Ok(a,b,c),d));this.A=!0;return this};var Tk;Tk=["av.key","js","unreleased"].slice(-1)[0];Uk.prototype.toString=function(){var a="//pagead2.googlesyndication.com//pagead/gen_204",b=Sk(this.o);0<b.length&&(a+="?"+b);return a};g.Ea(Xk);Yk.prototype.F=function(a,b){this.o=a;this.A=b};g.t(Zk,Yk);Zk.prototype.G=function(){return!0};
Zk.prototype.D=function(){var a={};return a.b_name=this.o.sj,a.v_name=this.A.sj,a};g.t($k,Yk);$k.prototype.G=function(){return!Md(this.A.vb,this.o.vb,.02)};
$k.prototype.D=function(){var a={};return a.b_name=this.o.sj,a.v_name=this.A.sj,a.b_vp_off=JSON.stringify(this.o.bj),a.v_vp_off=JSON.stringify(this.A.bj),a.b_vp_sz=JSON.stringify(this.o.Cy),a.v_vp_sz=JSON.stringify(this.A.Cy),a.b_exp=this.o.vb,a.v_exp=this.A.vb,a.efp_occ=this.o.YG,a.sbv=this.o.ll,a};g.t(al,Yk);al.prototype.F=function(a,b){Yk.prototype.F.call(this,a,b);20<=this.C.length||(this.B.push(a.vb),this.C.push(b.vb))};
al.prototype.G=function(){return 20===this.C.length};
al.prototype.D=function(){var a=bl(this.B,this.C),b=Eca(this.B,this.C),c={};return c.b_name=this.o.sj,c.v_name=this.A.sj,c.b_exp=this.B.join(","),c.v_exp=this.C.join(","),c.diff=a,c.diff_buckets=b,c};g.t(cl,g.K);cl.prototype.W=function(){this.o&&(this.o.hn(),this.o.dispose())};
cl.prototype.Pg=function(){};
cl.prototype.Ah=function(){};
cl.prototype.rg=function(){return!1};dl.prototype.update=function(a,b,c){a&&(this.o+=b,this.A+=b,this.B+=b,this.C=Math.max(this.C,this.B));if(void 0===c?!a:c)this.B=0};var Gca=[1,.75,.5,.3,0];el.prototype.update=function(a,b,c,d,e,f){f=void 0===f?!0:f;b=e?Math.min(a,b):b;for(e=0;e<this.A.length;e++){var k=this.A[e],l=0<b&&b>=k;k=!(0<a&&a>=k)||c;this.o[e].update(f&&l,d,!f||k)}};nl.prototype.update=function(a,b,c,d){this.G=-1!=this.G?Math.min(this.G,b.vb):b.vb;this.M=Math.max(this.M,b.vb);this.ea.update(b.o,c.o,b.A,a,d);this.o.update(b.vb,c.vb,b.A,a,d);c=d||c.Mi!=b.Mi?c.isVisible()&&b.isVisible():c.isVisible();b=!b.isVisible()||b.A;this.Y.update(c,a,b)};
nl.prototype.Pi=function(){return this.Y.C>=this.ga};var ol=new g.zh(0,0,0,0);g.t(ql,g.K);g.h=ql.prototype;g.h.W=function(){this.element&&(this.si.Iw&&(Di(this.element,"mouseover",this.si.Iw),this.si.Iw=null),this.si.Hw&&(Di(this.element,"mouseout",this.si.Hw),this.si.Hw=null));this.ol&&this.ol.dispose();this.bb&&this.bb.dispose();delete this.nq;delete this.oq;delete this.LG;delete this.element;delete this.Pj;delete this.si;delete this.ol;delete this.bb;delete this.Ua;g.K.prototype.W.call(this)};
g.h.Cd=function(){return this.bb?this.bb.A:this.position};
g.h.jx=function(a){Hj.getInstance().jx(a)};
g.h.Pg=function(){};
g.h.Ah=function(){};
g.h.rg=function(){return!1};
g.h.Bp=function(){return new nl};
g.h.Td=function(){return this.nq};
g.h.TC=function(){};
g.h.SC=function(){};
g.h.WB=function(){};
g.h.Wr=function(){};
g.h.wj=function(a,b,c,d,e,f,k,l){f=void 0===f?{}:f;k=void 0===k?this.LB(c,f):k;l=void 0===l?-1:l;if(!this.Sg){g.Ca(b)||(this.bj=new g.Od(a.left-b.left,a.top-b.top));if(this.gp){f=this.Ct(a,b,d,f,l);e=e&&this.Bc.vb>=(this.Mi()?.3:.5);this.my(k,f,e);this.xk=c;0<f.vb&&-1===this.yG&&(this.yG=c);-1==this.CG&&this.Pi()&&(this.CG=c);if(-2==this.Rv)try{a:{var m=g.Ca(b)?null:b;if(a&&a!=ol&&0!=sk(this.Cd())){var n=zk.getInstance();if(!m){if(!n.o){var p=-1;break a}m=new g.zh(0,n.o.ab(),n.o.getHeight(),0)}p=
m.ab&&0<m.ab()&&m.getHeight&&0<m.getHeight()?this.Wl(a,m):-1}else p=-1}this.Rv=p}catch(q){gk(207,q)}this.Bc=f;d&&(this.Bc.vb=0)}this.oq(this)}};
g.h.my=function(a,b,c){this.Td().update(a,b,this.Bc,c)};
g.h.xu=function(){return new Pi};
g.h.Ct=function(a,b,c,d,e){e=void 0===e?-1:e;d=this.xu();d.A=c;d.C=ok();g.Ca(b)?(d.vb=this.Wl(b),d.o=e):(d.vb=this.Wl(a,b),d.o=0<=e?e:d.vb*sk(a)/(N.screen.height*N.screen.width));d.Mi=this.Mi();return d};
g.h.LB=function(a){if(-1==this.xk)return 0;a=a-this.xk||1;return 1E4<a?1:a};
g.h.Wl=function(a,b){if(0===this.opacity&&1===Yi(this.Ua,"opac"))return 0;if(g.Ca(a))return a;var c=rk(a,b),d=1==Yi(this.Ua,"od");if(0>=sk(this.Cd())||uk(c,b,this.Pj,d))return 0;d=sk(c)/sk(this.Cd());c=tk(c,b);return this.ll()?Math.max(d,c):d};
g.h.Mi=function(){return!1};
g.h.ll=function(){return!1};
g.h.Te=function(){return 0};
g.h.Pi=function(){return this.nq.Pi()};var zl="StopIteration"in g.x?g.x.StopIteration:{message:"StopIteration",stack:""};yl.prototype.next=function(){throw zl;};
yl.prototype.be=function(){return this};g.t(Dl,Pi);Hl.prototype.Ga=function(a){var b=this.A[a],c=b[1];this.C+=b[0];0<c&&0==this.o[a]&&(this.o[a]=1)};Jl.prototype.getValue=function(){return this.A};
Jl.prototype.update=function(a,b){32<=a||(this.o&1<<a&&!b?this.A&=~(1<<a):this.o&1<<a||!b||(this.A|=1<<a),this.o|=1<<a)};g.t(Kl,nl);
Kl.prototype.update=function(a,b,c,d){if(!b.paused){nl.prototype.update.call(this,a,b,c,d);var e=Gl(b)&&Gl(c),f=.5<=(d?Math.min(b.vb,c.vb):c.vb);nk(b.volume)&&(this.B=-1!=this.B?Math.min(this.B,b.volume):b.volume,this.F=Math.max(this.F,b.volume));f&&(this.L+=a,this.J+=e?a:0);this.C.update(b.vb,c.vb,b.A,a,d,e);this.A.update(!0,a);this.D.update(e,a);this.K.update(c.fullscreen,a);this.ha.update(e&&!f,a);a=Math.floor(b.B/1E3);this.V.update(a,b.isVisible());this.ba.update(a,1<=b.vb);this.aa.update(a,Gl(b))}};g.t(Ml,Wca);Ml.prototype.C=function(){return!0};
Ml.prototype.D=function(){return!1};
Ml.prototype.getId=function(){var a=this,b=Zb(Wl,function(c){return c==a.B});
return Am[b].toString()};
Ml.prototype.toString=function(){var a="";this.D()&&(a+="c");this.o&&(a+="s");0<this.A&&(a+=":"+this.A);return this.getId()+a};var Tya=new g.zh(0,0,0,0),$0={},ada=($0.firstquartile=0,$0.midpoint=1,$0.thirdquartile=2,$0.complete=3,$0);g.t(Ol,ql);g.h=Ol.prototype;g.h.rg=function(){return!0};
g.h.TC=function(a){var b=this,c=a-this.Ra;this.sa&&1E3>=c||(c=g.y("ima.bridge.getNativeViewability"),g.Ja(c)&&(c(this.Zc,function(d){b.sa=!1;b.J&&(b.Fa=!0);g.dc(d)&&b.ya++;b.Wr(d)}),this.sa=!0,this.Ra=a))};
g.h.SC=function(a){var b=Hj.getInstance();a-this.Oa>ej(b.B)&&(a=g.y("ima.admob.getViewability"),g.Ja(a)&&a(this.Zc))};
g.h.WB=function(a){this.Oa=$i();this.Wr(a)};
g.h.Wr=function(a){var b=a.opt_nativeViewBounds||{},c=a.opt_nativeViewVisibleBounds||{},d=a.opt_nativeTime||-1,e=a.opt_nativeVolume,f=a.opt_nativeViewAttached;a=a.opt_nativeViewHidden;void 0!==f&&(this.ha=!!f);b=new g.zh(b.top||0,b.left+b.width||0,b.top+b.height||0,b.left||0);c=a?Tya.clone():new g.zh(c.top||0,c.left+c.width||0,c.top+c.height||0,c.left||0);f=void 0;if("n"==this.D||"ml"==this.D)f={volume:e};e=f;e=void 0===e?{}:e;this.position=b;this.wj(b,c,d,!1,!0,e)};
g.h.wj=function(a,b,c,d,e,f,k,l){var m=this;f=void 0===f?{}:f;var n=this.ka(this)||{};g.lc(n,f);this.F=n.duration||this.F;this.K=n.isVpaid||this.K;this.ma=n.isYouTube||this.ma;ql.prototype.wj.call(this,a,b,c,d,e,n,k,l);(1!=Yi(Hj.getInstance().Ua,"buvpe")||this.Si&&this.Si.o)&&(0,g.C)(this.G,function(p){p.o||(p.o=Nl(p,m))})};
g.h.my=function(a,b,c){ql.prototype.my.call(this,a,b,c);Ql(this).update(a,b,this.Bc,c);this.ia=Gl(this.Bc)&&Gl(b);-1==this.Y&&this.Ia&&(this.Y=this.Td().A.o);this.Uc.C=0;a=this.Bc;b=this.Pi();.5<=a.vb&&this.Uc.Ga("vs");b&&this.Uc.Ga("vw");nk(a.volume)&&this.Uc.Ga("am");this.ia&&this.Uc.Ga("a");this.kk&&this.Uc.Ga("f");-1!=a.C&&(this.Uc.Ga("bm"),1==a.C&&this.Uc.Ga("b"));this.ia&&b&&this.Uc.Ga("avw");0<a.vb&&this.Uc.Ga("pv");Tl(this,this.Td().A.o,!0)&&this.Uc.Ga("gdr");2E3<=kl(this.Td().o,1)&&this.Uc.Ga("pmx")};
g.h.Bp=function(){return new Kl};
g.h.Td=function(){return this.nq};
g.h.xu=function(){return new Dl};
g.h.Ct=function(a,b,c,d,e){a=ql.prototype.Ct.call(this,a,b,c,d,void 0===e?-1:e);a.fullscreen=this.kk;a.paused=2==this.Kc;a.volume=d.volume;nk(a.volume)||(this.Wa++,b=this.Bc,nk(b.volume)&&(a.volume=b.volume));d=d.currentTime;a.B=g.Aa(d)&&0<=d?d:-1;return a};
g.h.LB=function(a,b){var c=g.Aa(b.currentTime)?b.currentTime:this.M;if(-1==this.xk||2==this.Kc)var d=0;else{d=a-this.xk||1;var e=1E4;g.Aa(this.F)&&-1!=this.F&&(e=Math.max(e,this.F/3));d=d>e?1:d}e=c-this.M;var f=0;0<=e?(this.L+=d,this.aa+=Math.max(d-e,0),f=Math.min(e,this.L)):this.xa+=Math.abs(e);0!=e&&(this.L=0);-1==this.Aa&&0<e&&(this.Aa=0<=dj?$i()-dj:-1);this.M=c;return 1==Rl(this)?f:d};
g.h.Wl=function(a,b){return this.J?0:this.kk?1:ql.prototype.Wl.call(this,a,b)};
g.h.Te=function(){return 1};
g.h.getDuration=function(){return this.F};var Uya=(0,g.H)();am.prototype.reset=function(){this.o=[];this.A=[]};
g.Ea(am);var bm=am.getInstance();g.Ea(em);g.t(gm,Mk);gm.prototype.Zv=function(){var a=this;this.G||(this.G=$i());if(ek(298,function(){return oda(a)}))return!0;
Hk(this.o,"msf");return!1};
gm.prototype.Ft=function(){};
gm.prototype.Kg=function(){var a={};return Object.assign(this.o.Kg(),(a.niot_obs=this.G,a.niot_cbk=this.F,a))};var nda={threshold:[0,.01,.02,.03,.04,.05,.06,.07,.08,.09,.1,.11,.12,.13,.14,.15,.16,.17,.18,.19,.2,.21,.22,.23,.24,.25,.26,.27,.28,.29,.3,.31,.32,.33,.34,.35,.36,.37,.38,.39,.4,.41,.42,.43,.44,.45,.46,.47,.48,.49,.5,.51,.52,.53,.54,.55,.56,.57,.58,.59,.6,.61,.62,.63,.64,.65,.66,.67,.68,.69,.7,.71,.72,.73,.74,.75,.76,.77,.78,.79,.8,.81,.82,.83,.84,.85,.86,.87,.88,.89,.9,.91,.92,.93,.94,.95,.96,.97,.98,.99,1]};g.t(im,gm);im.prototype.ig=function(){return"nio"};
im.prototype.hn=function(){if(this.C&&this.element)try{this.C.unobserve(this.element)}catch(a){}};
im.prototype.Lj=function(){if(1===Yi(Hj.getInstance().Ua,"nio_mode")){var a=this.C&&this.C.takeRecords?this.C.takeRecords():[];if(0<a.length){hm(this,a);return}}gm.prototype.Lj.call(this)};g.t(jm,Nk);jm.prototype.ig=function(){return"nio"};
jm.prototype.qj=function(){var a=1===Yi(Hj.getInstance().Ua,"nio_mode"),b=zk.getInstance().A;return(a||b)&&this.Kf()};
jm.prototype.Kf=function(){return"exc"!==Hj.getInstance().bb&&!zk.getInstance().J&&null!=this.o.Md.IntersectionObserver};
jm.prototype.Yv=function(a,b,c){return new im(a,this.o,b,c)};var Vya={},pda=(Vya[1]=function(){return new jm},Vya);g.B(g.km,g.K);g.h=g.km.prototype;g.h.bk=!1;g.h.Jm=0;g.h.Ea=null;g.h.Im=function(a){this.o=arguments;this.Ea||this.Jm?this.bk=!0:lm(this)};
g.h.stop=function(){this.Ea&&(g.Wg(this.Ea),this.Ea=null,this.bk=!1,this.o=[])};
g.h.pause=function(){this.Jm++};
g.h.resume=function(){this.Jm--;this.Jm||!this.bk||this.Ea||(this.bk=!1,lm(this))};
g.h.W=function(){g.km.fa.W.call(this);this.stop()};
g.h.cL=function(){this.Ea=null;this.bk&&!this.Jm&&(this.bk=!1,lm(this))};mm.prototype.F=function(){qm(this,dm(),!1)};
mm.prototype.OF=function(){qm(this,dm(),!1)};
mm.prototype.J=function(){var a=Dk(),b=$i();a?(bj||(cj=b,(0,g.C)(bm.o,function(c){var d=c.Td();d.O=Ll(d,b,1!=c.Kc)})),bj=!0):(this.M=sm(this,b),bj=!1,Zl=b,(0,g.C)(bm.o,function(c){c.gp&&(c.Td().H=b)}));
qm(this,dm(),!a)};
mm.prototype.V=function(a){return 1==Yi(Hj.getInstance().Ua,"xefp")?!1:g.de&&g.Lc(8)&&Ej(a)?(Hj.getInstance().bb="iem",!0):!1};
g.Ea(mm);var om=mm.getInstance();var tm=null,Sm="",Rm=!1;var xda=function(a,b){return function(c){for(var d=0;d<b.length;d++)if(b[d]===c[a]||!g.Aa(b[d])&&!c.hasOwnProperty(a))return!0;return!1}}("e",[void 0,
1,2,3,4,8,16]),Wya={sv:"sv",cb:"cb",e:"e",nas:"nas",msg:"msg","if":"if",sdk:"sdk",p:"p",tos:"tos",mtos:"mtos",mcvt:"mcvt",ps:"ps",scs:"scs",bs:"bs",pt:"pt",vht:"vht",mut:"mut",a:"a",ft:"ft",dft:"dft",at:"at",dat:"dat",as:"as",vpt:"vpt",gmm:"gmm",std:"std",efpf:"efpf",swf:"swf",nio:"nio",px:"px",nnut:"nnut",vmer:"vmer",vmmk:"vmmk",vmiec:"vmiec",nmt:"nmt",tcm:"tcm",bt:"bt",pst:"pst",vpaid:"vpaid",dur:"dur",vmtime:"vmtime",dtos:"dtos",dtoss:"dtoss",dvs:"dvs",dfvs:"dfvs",dvpt:"dvpt",fmf:"fmf",vds:"vds",
is:"is",i0:"i0",i1:"i1",i2:"i2",i3:"i3",ic:"ic",cs:"cs",c:"c",mc:"mc",nc:"nc",mv:"mv",nv:"nv",qmt:ym("qmtos"),qnc:ym("qnc"),qmv:ym("qmv"),qnv:ym("qnv"),raf:"raf",rafc:"rafc",lte:"lte",ces:"ces",tth:"tth",femt:"femt",femvt:"femvt",emc:"emc",emuc:"emuc",emb:"emb",avms:"avms",nvat:"nvat",qi:"qi",psm:"psm",psv:"psv",psfv:"psfv",psa:"psa",pnk:"pnk",pnc:"pnc",pnmm:"pnmm",pns:"pns",ptlt:"ptlt",dc_rfl:"urlsigs",pngs:"pings",obd:"obd",veid:"veid",ssb:"ssb"},Xya={c:um("c"),at:"at",atos:xm("atos",[0,2,4]),ta:function(a,
b){return function(c){if(!g.Aa(c[a]))return b}}("tth","1"),
a:"a",dur:"dur",p:"p",tos:wm(),j:"dom",mtos:xm("mtos",[0,2,4]),gmm:"gmm",gdr:"gdr",ss:um("ss"),vsv:Nc("w2"),t:"t"},Yya={atos:"atos",amtos:"amtos",avt:xm("atos",[2]),davs:"davs",dafvs:"dafvs",dav:"dav",ss:um("ss"),t:"t"},Zya={a:"a",tos:wm(),at:"at",c:um("c"),mtos:xm("mtos",[0,2,4]),dur:"dur",fs:"fs",p:"p",vpt:"vpt",vsv:Nc("ias_w2"),dom:"dom",gmm:"gmm",gdr:"gdr",t:"t"},$ya={tos:wm(),at:"at",c:um("c"),mtos:xm("mtos",[0,2,4]),p:"p",vpt:"vpt",vsv:Nc("dv_w4"),gmm:"gmm",gdr:"gdr",dom:"dom",t:"t",mv:"mv",
qmpt:xm("qmtos",[0,2,4]),qvs:function(a,b){return function(c){var d=c[a];if(g.Ca(d))return(0,g.I)(b,function(e){return 0<d&&d>=e?1:0})}}("qnc",[1,
.5,0]),qmv:"qmv",qa:"qas",a:"a"};g.t(Dm,Ml);Dm.prototype.C=function(a){return a.Td().Pi()};g.t(Gm,yda);Gm.prototype.o=function(a){var b=new Em;b.o=Fm(a,Wya);b.C=Fm(a,Yya);return b};g.t(Hm,Mk);
Hm.prototype.Lj=function(){this.Ft();var a;(a=this.o.o.o)?(a=rk(this.A,a),a=a.top>=a.bottom||a.left>=a.right?new g.zh(0,0,0,0):a):a=new g.zh(0,0,0,0);var b=this.o.o.o,c=0,d=0,e=0,f=1==Yi(this.Ua,"od"),k=(this.A.bottom-this.A.top)*(this.A.right-this.A.left);b&&a&&0<k&&(uk(a,b,this.element,f)?a=new g.zh(0,0,0,0):(c=zk.getInstance().F,e=new g.zh(0,c.height,c.width,0),c=tk(a,this.A),d=tk(a,b),e=tk(a,e)));b=this.o.o;-1===b.time&&$i();a=a.top>=a.bottom||a.left>=a.right?new g.zh(0,0,0,0):Bh(a,-this.A.left,
-this.A.top);this.B=new wk(b,this.element,this.A,a,c,d,0,e)};
Hm.prototype.ig=function(){return this.D.ig()};
Hm.prototype.Pg=function(a){if(!this.element){var b=zk.getInstance().D;this.A=b?b:new g.zh(0,0,0,0)}Mk.prototype.Pg.call(this,a)};g.t(Im,Nk);g.h=Im.prototype;g.h.ig=function(){return(this.A?this.A:this.o).ig()};
g.h.Kg=function(){return(this.A?this.A:this.o).Kg()};
g.h.Ng=function(){return(this.A?this.A:this.o).Ng()};
g.h.init=function(a){this.B=a;(0,g.C)(this.C,function(b){return b.initialize()});
Ik(this.o,this);return!0};
g.h.dispose=function(){(0,g.C)(this.C,function(a){a.Gr();a.dispose()});
Nk.prototype.dispose.call(this)};
g.h.qj=function(){return(0,g.xk)(this.C,function(a){return a.qj()})};
g.h.Kf=function(){return(0,g.xk)(this.C,function(a){return a.Kf()})};
g.h.Yv=function(a,b,c){return new Hm(a,this.o,b,c)};
g.h.Ah=function(a){0==a.Ng()&&this.B(a.Am(),this)};
g.h.Pg=function(a){this.A=a.B};
g.h.rg=function(){return!1};g.t(Jm,Fk);g.h=Jm.prototype;g.h.Kg=function(){var a={};return a.exg=1,a};
g.h.initialize=function(){var a=this;if(!this.K)if(this.K=!0,Hj.getInstance().A.isValid()){hk(g.x,"message",function(c){if(null!=c&&c.data&&g.v(c.data)){var d=c.data;if(g.v(d)){var e={};d=d.split("\n");for(var f=0;f!=d.length;++f){var k=d[f],l=k.indexOf("=");if(!(0>=l)){var m=Number(k.substr(0,l));k=k.substr(l+1);switch(m){case 36:case 26:case 15:case 8:case 11:case 16:case 5:case 18:k="true"==k;break;case 4:case 33:case 6:case 25:case 28:case 29:case 24:case 31:case 30:case 23:case 22:case 7:case 21:case 20:k=
Number(k);break;case 19:case 3:if(g.Ja(decodeURIComponent))try{k=decodeURIComponent(k)}catch(p){throw Error("Error: URI malformed: "+k);}}e[m]=k}}e=e[0]?e:null}else e=null;if(e&&(f=new Fj(e[4],e[12]),d=Hj.getInstance(),d.A.matches(f)&&(f=e[29],m=e[0],g.Ya(["goog_acknowledge_monitoring","goog_get_mode","goog_update_data","goog_image_request"],m)))){Bda(a,e);k=1==Yi(Hj.getInstance().Ua,"me");if("goog_get_mode"==m&&!k&&c.source){l={};ik(l);l[0]="goog_provide_mode";l[6]=4;l[16]=!1;l[19]=Hj.getInstance().C;
try{var n=jk(l);c.source.postMessage(n,c.origin);Nm(a,n)}catch(p){gk(406,p)}}if("goog_get_mode"==m&&!k||"goog_acknowledge_monitoring"==m)a.J=2,Lm(a);if(c=e[32])a.O=c;if(a.C.length){if(4!=f){m=e[0];n=!1;f=zk.getInstance();c=a.o.o;"goog_acknowledge_monitoring"==m&&(a.B=(void 0!==e[36]?e[36]:!e[8])?2:0,Gk(a));e[37]&&(m=pk(e[37]))&&(n=!0,f.D=m);if(e[38]){if(m=pk(e[38]))n=!0,f.o=m}else isNaN(e[30])||isNaN(e[31])||(f.o||(f.o=new g.zh(0,0,0,0)),n=!0,f.o.right=f.o.left+e[30],f.o.bottom=f.o.top+e[31]);e[9]&&
(n=!0,m=pk(e[9]))&&(c=m,f.K=m);e[39]&&((m=e[39])?(m=m.split("-"),m=2==m.length?new g.Qd(g.Bc(m[0]),g.Bc(m[1])):null):m=null,m&&(f.B=m));n&&(n=$i(),f=Dk(),n=new vk(n,f,a),n.o=c,Lk(a,n))}tca(e[3]);Yi(d.Ua,"cm")}}}},118);
var b=fk(197,function(){Mm(a)});
this.J=1;b();this.D=zj().setInterval(b,100)}else Hk(this,"ib")};
g.h.Gr=function(){var a={};ik(a);a[0]="goog_stop_monitoring";Nm(this,jk(a));Lm(this)};
g.h.qj=function(){var a=Hj.getInstance();return 4===a.o?!!Yi(a.Ua,"cm"):Yi(a.Ua,"osd")&&this.Kf()?!0:!1};
g.h.kD=function(){};
g.h.nD=function(){};
g.h.lD=function(){};
g.h.mD=function(){};
g.h.Kf=function(){return zk.getInstance().A&&!this.L};
g.Ea(Jm);g.h=Om.prototype;g.h.ep=function(a){rl(a,!1);Gda(a);a.dispose()};
g.h.Fp=function(){};
g.h.mr=function(a,b,c,d){this.o||(this.o=this.OA());b=c?b:-1;a=null==this.o||this.B?new Ol(N,a,b,7):new Ol(N,a,b,7,new Ml("measurable_impression",this.o),this.Du());a.Zc=d;a.jx("");return a};
g.h.Du=function(){return[new Dm("viewable_impression",this.o)]};
g.h.Ah=function(a){var b=zk.getInstance();switch(a.Ng()){case 0:b.C=!1;(a=em.getInstance().o)&&Jk(a.o,this);(a=Jm.getInstance())&&Jk(a,this);Qm();break;case 2:b.C&&b.A&&pm()}};
g.h.Pg=function(a){var b=zk.getInstance();b.C&&b.A&&(b.G=a.o)};
g.h.rg=function(){return!1};
g.h.IL=function(a,b){a.Sg=!0;switch(a.Te()){case 1:Wm(this,a,b);break;case 2:this.wx(a)}this.Fx(a)};
g.h.QL=function(a){Vl(a,0);return Yl(a,"start",Dk())};
g.h.tl=function(a,b,c){qm(om,[a],!Dk(),b);return this.xh(a,b,c)};
g.h.xh=function(a,b,c){return Yl(a,c,Dk())};
g.h.LL=function(a,b){return Xm(a,"firstquartile",1,b)};
g.h.NL=function(a,b){a.Ia=!0;return Xm(a,"midpoint",2,b)};
g.h.RL=function(a,b){return Xm(a,"thirdquartile",3,b)};
g.h.JL=function(a,b){var c=Xm(a,"complete",4,b);0!=a.Kc&&(a.Kc=3);return c};
g.h.MF=function(a,b,c){var d=Dk();if(2==a.Kc&&!d){var e=$i();a.Td().H=e}qm(om,[a],!d,b);2==a.Kc&&(a.Kc=1);return Yl(a,c,d)};
g.h.PL=function(a,b){var c=this.tl(a,b||{},"skip");0!=a.Kc&&(a.Kc=3);return c};
g.h.ML=function(a,b){rl(a,!0);return this.tl(a,b||{},"fullscreen")};
g.h.KL=function(a,b){rl(a,!1);return this.tl(a,b||{},"exitfullscreen")};
g.h.bx=function(a,b,c){var d=a.Td(),e=$i();d.O=Ll(d,e,1!=a.Kc);qm(om,[a],!Dk(),b);1==a.Kc&&(a.Kc=2);return Yl(a,c,Dk())};
g.h.OL=function(a,b){qm(om,[a],!Dk(),b);return a.A()};
g.h.Pu=function(a,b){qm(om,[a],!Dk(),b);this.FF(a);0!=a.Kc&&(a.Kc=3);return a.A()};
g.h.Nu=function(){};
g.h.wx=function(){};
g.h.FF=function(){};
g.h.bD=function(){};
g.h.Fx=function(){};
g.h.OA=function(){};var Lda={b_:"visible",YX:"audible",l3:"time",o3:"timetype"},an={visible:function(a){return/^(100|[0-9]{1,2})$/.test(a)},
audible:function(a){return"0"==a||"1"==a},
timetype:function(a){return"mtos"==a||"tos"==a},
time:function(a){return/^(100|[0-9]{1,2})%$/.test(a)||/^([0-9])+ms$/.test(a)}};g.t(bn,Ml);bn.prototype.getId=function(){return this.Ja};
bn.prototype.D=function(){return!0};
bn.prototype.C=function(a){var b=a.Td(),c=a.getDuration();return(0,g.xk)(this.F,function(d){if(void 0!=d.o)var e=Nda(d,b);else b:{switch(d.D){case "mtos":e=d.A?b.D.C:b.A.o;break b;case "tos":e=d.A?b.D.o:b.A.o;break b}e=0}0==e?d=!1:(d=-1!=d.C?d.C:g.Aa(c)&&0<c?d.B*c:-1,d=-1!=d&&e>=d);return d})};g.t(cn,Ml);cn.prototype.C=function(a){var b=il(a.Td().C,1);return Tl(a,b)};var en=(0,g.H)(),gn=!1,hn=!1,jn=!1,Pda=[function(a){return!(!a.chrome||!a.chrome.webstore)},
function(a){return!!a.document.documentMode},
function(a){return!!a.document.fonts.ready},
function(){return fn(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 fn(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 fn(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 fn(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 fn(4)},
function(a){return"srcset"in a.document.createElement("img")},
function(){return hn},
function(){return jn},
function(){return fn(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 fn(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]||dn(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 dn(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 fn(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 dn(a.CSS.supports)},
function(){return dn(Intl.Collator)},
function(a){return dn(a.document.createElement("dialog").show)},
function(){return fn(8)},
function(a){return dn(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 dn(a.document.createElement("div").animate)},
function(a){return dn(a.document.documentElement.webkitRequestFullScreen)},
function(a){return dn(a.navigator.getBattery)},
function(a){return dn(a.navigator.permissions.query)},
function(){return!1},
function(){return fn(9)},
function(){return dn(webkitRequestAnimationFrame)},
function(a){return dn(a.BroadcastChannel.call)},
function(a){return dn(a.FontFace)},
function(a){return dn(a.Gamepad)},
function(){return fn(10)},
function(a){return dn(a.MutationEvent)},
function(a){return dn(a.MutationObserver)},
function(a){return dn(a.crypto.getRandomValues)},
function(a){return dn(a.document.body.createShadowRoot)},
function(a){return dn(a.document.body.webkitCreateShadowRoot)},
function(a){return dn(a.fetch)},
function(){return fn(11)},
function(a){return dn(a.navigator.serviceWorker.register)},
function(a){return dn(a.navigator.webkitGetGamepads)},
function(a){return dn(a.speechSynthesis.speak)},
function(a){return dn(a.webkitRTCPeerConnection)},
function(a){return a.CSS.supports("--fake-var","0")},
function(){return fn(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 fn(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 fn(14)},
function(a){return"undefined"==typeof a.navigator.R4},
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")}],Qda=[function(a){a=a.document.createElement("div");
var b=null,c=["{45EA75A0-A269-11D1-B5BF-0000F8051515}","{3AF36230-A269-11D1-B5BF-0000F8051515}","{89820200-ECBD-11CF-8B85-00AA005B4383}"];try{a.style.behavior="url(#default#clientcaps)"}catch(e){}for(var d=0;d<c.length;d++){try{b=a.getComponentVersion(c[d],"componentid").replace(/,/g,".")}catch(e){}if(b)return b.split(".")[0]}return!1},
function(){return(new Date).getTimezoneOffset()},
function(a){return(a.innerWidth||a.document.documentElement.clientWidth||a.document.body.clientWidth)/(a.innerHeight||a.document.documentElement.clientHeight||a.document.body.clientHeight)},
function(a){return(a.outerWidth||a.document&&a.document.body&&a.document.body.offsetWidth)/(a.outerHeight||a.document&&a.document.body&&a.document.body.offsetHeight)},
function(a){return a.screen.availWidth/a.screen.availHeight},
function(a){return a.screen.width/a.screen.height}],Rda=[function(a){return a.navigator.userAgent},
function(a){return a.navigator.platform},
function(a){return a.navigator.vendor}];g.B(kn,vba);kn.prototype.reset=function(){this.o[0]=1732584193;this.o[1]=4023233417;this.o[2]=2562383102;this.o[3]=271733878;this.B=this.C=0};
kn.prototype.update=function(a,b){g.Aa(b)||(b=a.length);for(var c=b-this.A,d=this.D,e=this.C,f=0;f<b;){if(0==e)for(;f<=c;)ln(this,a,f),f+=this.A;if(g.v(a))for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.A){ln(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.A){ln(this,d);e=0;break}}this.C=e;this.B+=b};
kn.prototype.digest=function(){var a=Array((56>this.C?this.A:2*this.A)-this.C);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;var c=8*this.B;for(b=a.length-8;b<a.length;++b)a[b]=c&255,c/=256;this.update(a);a=Array(16);for(b=c=0;4>b;++b)for(var d=0;32>d;d+=8)a[c++]=this.o[b]>>>d&255;return a};g.t(mn,Gm);mn.prototype.o=function(a){var b=Gm.prototype.o.call(this,a);var c=en=(0,g.H)();var d=fn(5);c=(hn?!d:d)?c|2:c&-3;d=fn(2);c=(jn?!d:d)?c|8:c&-9;c={s1:(c>>>0).toString(16)};this.A||(this.A=Sda());b.D=this.A;b.F=Fm(a,Xya,c,"h",nn("kArwaWEsTs"));b.B=Fm(a,Zya,{},"h",nn("b96YPMzfnx"));b.A=Fm(a,$ya,{},"h",nn("yb8Wev6QDg"));return b};on.prototype.report=function(a,b){var c=this.o(b);if(g.Ja(c)){var d={};d=(d.sv="712",d.cb="j",d.e=Tda(a),d);var e=Yl(b,a,Dk());g.lc(d,e);b.aD[a]=e;d=2==b.Te()?Dca(d).join("&"):this.C.o(d).o;try{return c(b.Zc,d,a),0}catch(f){return 2}}else return 1};
on.prototype.o=function(){return g.y(this.A)};g.t(pn,on);pn.prototype.o=function(a){if(!a.Wh)return on.prototype.o.call(this,a);var b=this.B[a.Wh];if(b)return function(c,d,e){b.A(c,d,e)};
gk(393,Error());return null};g.t(qn,Om);g.h=qn.prototype;g.h.Fp=function(a,b){var c=this;switch(Hj.getInstance().bb){case "nis":var d=Wda(this,a,b);break;case "gsv":d=Vda(this,a,b);break;case "exc":d=Xda(this,a);break;default:b.opt_overlayAdElement?d=void 0:b.opt_adElement?d=Ida(this,a,b.opt_adElement,b.opt_osdId):d=cm(a)||void 0}d&&1==d.Te()&&(d.ka==g.z&&(d.ka=function(e){return c.bD(e)}),Uda(this,d,b));
return d};
g.h.bD=function(a){var b=Hj.getInstance();a.o=0;a.O=0;if("h"==a.D||"n"==a.D){if("exc"==b.bb||"nis"==b.bb)var c=g.y("ima.bridge.getVideoMetadata");else if(a.Wh&&tn(this)){var d=this.G[a.Wh];d?c=function(f){return d.o(f)}:null!==d&&gk(379,Error())}else c=g.y("ima.common.getVideoMetadata");
if(g.Ja(c))try{var e=c(a.Zc)}catch(f){a.o|=4}else a.o|=2}else if("b"==a.D)if(b=g.y("ytads.bulleit.getVideoMetadata"),g.Ja(b))try{e=b(a.Zc)}catch(f){a.o|=4}else a.o|=2;else if("ml"==a.D)if(b=g.y("ima.common.getVideoMetadata"),g.Ja(b))try{e=b(a.Zc)}catch(f){a.o|=4}else a.o|=2;else a.o|=1;a.o||(g.Aa(e)?null===e?a.o|=16:g.dc(e)?a.o|=32:null!=e.errorCode&&(a.O=e.errorCode,a.o|=64):a.o|=8);null!=e||(e={});Jda(e,a);nk(e.volume)&&nk(this.D)&&(e.volume*=this.D);return e};
g.h.OA=function(){if(tn(this))return new pn("ima.common.triggerExternalActivityEvent",this.C,this.G);var a=Yda(this);return null!=a?new on(a,this.C):null};
g.h.Du=function(){var a=this.o,b=Om.prototype.Du.call(this);b.push(new cn(a));return b};
g.h.wx=function(a){!a.o&&a.Sg&&Vm(this,a,"overlay_unmeasurable_impression")&&(a.o=!0)};
g.h.FF=function(a){a.kG&&(a.Pi()?Vm(this,a,"overlay_viewable_end_of_session_impression"):Vm(this,a,"overlay_unviewable_impression"),a.kG=!1)};
g.h.Nu=function(a){this.B&&1==a.Te()&&un(this,a)};
g.h.Fx=function(a){this.B&&1==a.Te()&&un(this,a)};
g.h.mr=function(a,b,c,d){a=Om.prototype.mr.call(this,a,b,c,d);this.F&&(b=this.H,null==a.A&&(a.A=new Cl),b.o[a.Zc]=a.A,a.A.D=Uya);return a};
g.h.ep=function(a){a&&1==a.Te()&&this.F&&delete this.H.o[a.Zc];return Om.prototype.ep.call(this,a)};
g.Ea(qn);var a1=new Em;a1.D="stopped";a1.o="stopped";a1.C="stopped";a1.F="stopped";a1.B="stopped";a1.A="stopped";Object.freeze(a1);var aza=fk(193,wn,void 0,Ym);g.Da("Goog_AdSense_Lidar_sendVastEvent",aza,void 0);var bza=fk(194,function(a,b){b=void 0===b?{}:b;var c=sn(qn.getInstance(),a,b);return vn(c)});
g.Da("Goog_AdSense_Lidar_getViewability",bza,void 0);var cza=fk(195,function(){return Aj()});
g.Da("Goog_AdSense_Lidar_getUrlSignalsArray",cza,void 0);var dza=fk(196,function(){return g.$g(Aj())});
g.Da("Goog_AdSense_Lidar_getUrlSignalsList",dza,void 0);g.h=xn.prototype;g.h.Lx=function(a){this.A=a};
g.h.Hx=function(a){this.o=a};
g.h.Nx=function(a){this.C=a};
g.h.Tg=function(a,b,c,d,e){e=void 0===e?this.A:e;if(Math.random()>(void 0===c?.01:c))return this.C;Kj(b)||(b=new Jj(b,{context:a,id:e}));if(d||this.o)b.meta={},this.o&&this.o(b.meta),d&&d(b.meta);g.x.google_js_errors=g.x.google_js_errors||[];g.x.google_js_errors.push(b);g.x.error_rep_loaded||(b=g.x.document,c=g.x.location.protocol+"//pagead2.googlesyndication.com/pagead/js/err_rep.js",a=b.createElement("script"),Hd(a,vi(c)),(b=b.getElementsByTagName("script")[0])&&b.parentNode&&b.parentNode.insertBefore(a,
b),g.x.error_rep_loaded=!0);return this.C};
g.h.kj=function(a,b,c,d){d=void 0===d?this.Tg:d;try{var e=this.Ea&&this.Ea.start(String(a),3);var f=b();this.Ea&&e&&this.Ea.end(e)}catch(k){if(this.Ea&&e&&Rj(e),!d.call(this,a,k,.01,c,this.A))throw k;}return f};
g.h.lx=function(a,b,c,d){var e=this;return function(f){for(var k=[],l=0;l<arguments.length;++l)k[l-0]=arguments[l];return e.kj(a,function(){return b.apply(c,k)},d)}};var Zj,bq,b1=Ki(),Yj=new Pj(1,b1);Zj=new function(){var a=void 0===a?N:a;this.o="http:"===a.location.protocol?"http:":"https:"};
bq=new ak;"complete"==b1.document.readyState?b1.google_measure_js_timing||Yj.disable():Yj.A&&Ci(b1,"load",function(){b1.google_measure_js_timing||Yj.disable()});var PC=(new Date).getTime();var My=null,c1={},uha=(c1[8]="google_prev_ad_formats_by_region",c1[9]="google_prev_ad_slotnames_by_region",c1);g.h=g.Bn.prototype;g.h.Gc=function(){return this.Pa};
g.h.wb=function(){En(this);for(var a=[],b=0;b<this.o.length;b++)a.push(this.A[this.o[b]]);return a};
g.h.Gb=function(){En(this);return this.o.concat()};
g.h.isEmpty=function(){return 0==this.Pa};
g.h.clear=function(){this.A={};this.fi=this.Pa=this.o.length=0};
g.h.remove=function(a){return Cn(this.A,a)?(delete this.A[a],this.Pa--,this.fi++,this.o.length>2*this.Pa&&En(this),!0):!1};
g.h.get=function(a,b){return Cn(this.A,a)?this.A[a]:b};
g.h.set=function(a,b){Cn(this.A,a)||(this.Pa++,this.o.push(a),this.fi++);this.A[a]=b};
g.h.forEach=function(a,b){for(var c=this.Gb(),d=0;d<c.length;d++){var e=c[d],f=this.get(e);a.call(b,f,e,this)}};
g.h.clone=function(){return new g.Bn(this)};
g.h.be=function(a){En(this);var b=0,c=this.fi,d=this,e=new yl;e.next=function(){if(c!=d.fi)throw Error("The map has changed since the iterator was created");if(b>=d.o.length)throw zl;var f=d.o[b++];return a?f:d.A[f]};
return e};g.h=g.Hn.prototype;g.h.toString=function(){var a=[],b=this.B;b&&a.push(Pn(b,eza,!0),":");var c=this.A;if(c||"file"==b)a.push("//"),(b=this.H)&&a.push(Pn(b,eza,!0),"@"),a.push(g.rc(c).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.D,null!=c&&a.push(":",String(c));if(c=this.C)this.A&&"/"!=c.charAt(0)&&a.push("/"),a.push(Pn(c,"/"==c.charAt(0)?fza:gza,!0));(c=this.o.toString())&&a.push("?",c);(c=this.Bi())&&a.push("#",Pn(c,hza));return a.join("")};
g.h.resolve=function(a){var b=this.clone(),c=!!a.B;c?g.In(b,a.B):c=!!a.H;c?b.H=a.H:c=!!a.A;c?g.Jn(b,a.A):c=null!=a.D;var d=a.C;if(c)g.Kn(b,a.D);else if(c=!!a.C){if("/"!=d.charAt(0))if(this.A&&!this.C)d="/"+d;else{var e=b.C.lastIndexOf("/");-1!=e&&(d=b.C.substr(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(-1!=e.indexOf("./")||-1!=e.indexOf("/.")){d=g.xb(e,"/");e=e.split("/");for(var f=[],k=0;k<e.length;){var l=e[k++];"."==l?d&&k==e.length&&f.push(""):".."==l?((1<f.length||1==f.length&&""!=f[0])&&
f.pop(),d&&k==e.length&&f.push("")):(f.push(l),d=!0)}d=f.join("/")}else d=e}c?g.Ln(b,d):c=""!==a.o.toString();c?Mn(b,a.o.clone()):c=!!a.J;c&&(b.J=a.Bi());return b};
g.h.clone=function(){return new g.Hn(this)};
g.h.QB=function(){return this.o.toString()};
g.h.Bi=function(){return this.J};
var eza=/[#\/\?@]/g,gza=/[#\?:]/g,fza=/[#\?]/g,gea=/[#\?@]/g,hza=/#/g;g.h=g.On.prototype;g.h.Gc=function(){Sn(this);return this.Pa};
g.h.add=function(a,b){Sn(this);this.A=null;a=Vn(this,a);var c=this.o.get(a);c||this.o.set(a,c=[]);c.push(b);this.Pa=this.Pa+1;return this};
g.h.remove=function(a){Sn(this);a=Vn(this,a);return Dn(this.o,a)?(this.A=null,this.Pa=this.Pa-this.o.get(a).length,this.o.remove(a)):!1};
g.h.clear=function(){this.o=this.A=null;this.Pa=0};
g.h.isEmpty=function(){Sn(this);return 0==this.Pa};
g.h.forEach=function(a,b){Sn(this);this.o.forEach(function(c,d){(0,g.C)(c,function(e){a.call(b,e,d,this)},this)},this)};
g.h.Gb=function(){Sn(this);for(var a=this.o.wb(),b=this.o.Gb(),c=[],d=0;d<b.length;d++)for(var e=a[d],f=0;f<e.length;f++)c.push(b[d]);return c};
g.h.wb=function(a){Sn(this);var b=[];if(g.v(a))Wn(this,a)&&(b=g.gb(b,this.o.get(Vn(this,a))));else{a=this.o.wb();for(var c=0;c<a.length;c++)b=g.gb(b,a[c])}return b};
g.h.set=function(a,b){Sn(this);this.A=null;a=Vn(this,a);Wn(this,a)&&(this.Pa=this.Pa-this.o.get(a).length);this.o.set(a,[b]);this.Pa=this.Pa+1;return this};
g.h.get=function(a,b){if(!a)return b;var c=this.wb(a);return 0<c.length?String(c[0]):b};
g.h.toString=function(){if(this.A)return this.A;if(!this.o)return"";for(var a=[],b=this.o.Gb(),c=0;c<b.length;c++){var d=b[c],e=g.rc(d);d=this.wb(d);for(var f=0;f<d.length;f++){var k=e;""!==d[f]&&(k+="="+g.rc(d[f]));a.push(k)}}return this.A=a.join("&")};
g.h.clone=function(){var a=new g.On;a.A=this.A;this.o&&(a.o=this.o.clone(),a.Pa=this.Pa);return a};var Mo={DI:5E3,EI:15E3,zz:"://secure-...imrworldwide.com/ ://cdn.imrworldwide.com/ ://aksecure.imrworldwide.com/ ://[^.]*.moatads.com ://youtube[0-9]+.moatpixel.com ://pm.adsafeprotected.com/youtube ://pm.test-adsafeprotected.com/youtube ://e[0-9]+.yt.srs.doubleverify.com www.google.com/pagead/sul www.google.com/pagead/xsul www.youtube.com/pagead/sul www.youtube.com/pagead/psul www.youtube.com/pagead/slav".split(" "),jJ:/\bocr\b/,Ut:0,Yg:{},BV:function(a,b,c){a&&(Mo.TM(a)?Mo.ZF(a,b):Mo.Rn(a,b,c))},
TM:function(a){if(g.E(g.G(a)))return!1;if(0<=a.indexOf("://pagead2.googlesyndication.com/pagead/gen_204?id=yt3p&sr=1&"))return!0;try{var b=new g.Hn(a)}catch(c){return null!=g.Ua(Mo.zz,function(d){return 0<a.search(d)})}return b.Bi().match(Mo.jJ)?!0:null!=g.Ua(Mo.zz,function(c){return null!=a.match(c)})},
ZF:function(a,b){if(a&&(a=Mo.NK(a),!g.E(a))){var c='javascript:"<body><img src=\\""+'+a+'+"\\"></body>"';b?Mo.DC(function(d){Mo.VF(d?c:'javascript:"<body><object data=\\""+'+a+'+"\\" type=\\"text/html\\" width=1 height=1 style=\\"visibility:hidden;\\"></body>"')}):Mo.VF(c)}},
VF:function(a){var b=g.ie("IFRAME",{src:a,style:"display:none"});a=Ud(b).body;var c=g.Vg(function(){g.eg(d);g.qe(b)},Mo.EI);
var d=Uf(b,["load","error"],function(){g.Vg(function(){g.Wg(c);g.qe(b)},Mo.DI)});
a.appendChild(b)},
DC:function(a,b){var c=Mo.Yg.imageLoadingEnabled;if(null!=c)a(c);else{var d=!1;c=function(e,f){delete Mo.Yg[f];d||(d=!0,null!=Mo.Yg.imageLoadingEnabled||(Mo.Yg.imageLoadingEnabled=e),a(e))};
b?b(c):Mo.eN(c)}},
eN:function(a){var b=new Image,c=""+Mo.Ut++;Mo.Yg[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=="},
AV:function(a){if(a){var b=g.ke("OBJECT");b.data=a;b.width="1";b.height="1";b.style.visibility="hidden";var c=""+Mo.Ut++;Mo.Yg[c]=b;b.onload=b.onerror=function(){delete Mo.Yg[c]};
document.body.appendChild(b)}},
WF:function(a){if(a){var b=new Image,c=""+Mo.Ut++;Mo.Yg[c]=b;b.onload=b.onerror=function(){delete Mo.Yg[c]};
b.src=a}},
Rn:function(a,b,c){if(a){if(c)try{if(g.x.navigator&&g.x.navigator.sendBeacon&&g.x.navigator.sendBeacon(a,""))return}catch(d){}b?Mo.DC(function(d){d?Mo.WF(a):Mo.AV(a)}):Mo.WF(a)}},
NK:function(a){a=g.fd(g.id(a));if("about:invalid#zClosurez"===a)return"";a=g.vd(zd(a)).toString();return g.rc(g.$g(a))}};g.B(g.Xn,g.K);var $n=[];g.h=g.Xn.prototype;g.h.X=function(a,b,c,d){return Yn(this,a,b,c,d)};
g.h.Mh=function(a,b,c,d){return ao(this,a,b,c,d)};
g.h.Ka=function(a,b,c,d,e){if(g.Ga(b))for(var f=0;f<b.length;f++)this.Ka(a,b[f],c,d,e);else c=c||this.handleEvent,d=g.Ka(d)?!!d.capture:!!d,e=e||this.B||this,c=Wf(c),d=!!d,b=g.Of(a)?a.Dm(b,c,d,e):a?(a=g.Yf(a))?a.Dm(b,c,d,e):null:null,b&&(g.eg(b),delete this.A[b.key])};
g.h.W=function(){g.Xn.fa.W.call(this);g.co(this)};
g.h.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};g.B(eo,g.K);eo.prototype.G=function(){this.B=(0,g.H)()};
eo.prototype.J=function(a){var b=null!=a.target.href?a.target:a.target.parentNode,c=[];this.A&1&&c.push("nm="+this.D);this.A&2&&c.push("nb="+this.F.get(b));if(this.A&8){var d=g.$h(this.C);c.push("nx="+(a.clientX-d.x));c.push("ny="+(a.clientY-d.y))}this.A&16&&null!=this.B&&c.push("clkt="+((0,g.H)()-this.B));0<c.length&&(b.href+=0<=b.href.indexOf("?")?"&"+c.join("&"):"?"+c.join("&"))};
eo.prototype.H=function(){this.D++};
eo.prototype.W=function(){eo.fa.W.call(this);this.o.dispose()};var jea=/(?:\[|%5B)([a-zA-Z0-9_]+)(?:\]|%5D)/g;var go="ad_type vpos mridx pos vad_type videoad_start_delay".split(" ");io.prototype.isBumper=function(){return this.A};g.h=jo.prototype;g.h.qu=function(){return this.o.qu()};
g.h.Gm=function(){return this.o.Gm()};
g.h.Qf=function(){return this.o.Qf()};
g.h.Qm=function(a){return this.og?this.o.Pp():this.o.Qm(a)};
g.h.setSize=function(a,b){this.o.setSize(a,b)};
g.h.du=function(){return this.o.du()};
g.h.gk=function(){return this.o.gk()};
g.h.Vu=function(){return this.o.Vu()};
g.h.Rp=function(){return this.o.Rp()};
g.h.hide=g.z;g.h.Xf=g.z;g.h.Kd=g.z;g.h.Pp=function(){return this.o.Pp()};
g.h.Qp=g.z;g.B(ko,g.If);ko.prototype.getError=function(){return this.A};var hA="adMetadata callFlashVpaidMethod adCanPlay click companionBackfill companionInitialized complete destroyInsecureFlashVpaid durationChange firstquartile impression interaction initInsecureFlashVpaid youtubeKevlarCompanionShow youtubeKevlarCompanionHide loaded log mediaUrlPinged midpoint mute pause resume skipshown skippableStateChanged skip start thirdquartile trackingUrlPinged videoClicked volumeChange vpaidEvent why_this_ad_got_it why_this_ad_url youTubeChannelMetadata yt-show-toast".split(" "),
d1="abandon acceptinvitation acceptinvitationlinear click close collapse companionClick complete creativeview endscreenClick engagedview exitfullscreen expand externalActivityEvent feedbackDislike feedbackLike feedbackShown firstquartile fullscreen instreamAdComplete interstitial_dismissed interstitial_start_clicked interstitial_timed_out interstitial_viewed measurable_impression midpoint mute MUTE_AD pause progress replay resume rewind show_ad skipshown skip start stop survey_question_displayed thirdquartile unmute userClose video_card_endcap_action video_card_endcap_collapse video_card_endcap_dismiss video_card_endcap_impression videoShareClicked videoShareShown viewable_impression why_this_ad_url why_this_ad_got_it why_this_ad_settings_url why_this_ad_learn_more mute_interaction_url mute_url mute_undo_url".split(" "),
eia="acceptinvitation click close collapse creativeview expand progress".split(" "),e1="viewable_impression measurable_impression overlay_unmeasurable_impression overlay_unviewable_impression overlay_viewable_immediate_impression overlay_viewable_end_of_session_impression externalActivityEvent".split(" "),f1={measurable_impression:"measurable_impression",viewable_impression:"viewable_impression",fully_viewable_audible_half_duration_impression:"fully_viewable_audible_half_duration_impression",overlay_unmeasurable_impression:"overlay_unmeasurable_impression",
overlay_unviewable_impression:"overlay_unviewable_impression",overlay_viewable_immediate_impression:"overlay_viewable_immediate_impression",overlay_viewable_end_of_session_impression:"overlay_viewable_end_of_session_impression"};g.B(lo,g.If);lo.prototype.Tb=function(){return this.A};
var Pha={iX:"adCanPlay",kX:"adNotify",VY:"contentPauseRequested",WY:"contentResumeRequested",Ks:"click",sZ:"discardAdNotify",U3:"videoClicked",W3:"videoIconClicked",Zy:"engagedview",ZZ:"expandedChanged",V2:"start",xo:"impression",oz:"measurable_impression",Nz:"viewable_impression",gz:"fully_viewable_audible_half_duration_impression",cJ:"overlay_resize",dJ:"overlay_unmeasurable_impression",eJ:"overlay_unviewable_impression",gJ:"overlay_viewable_immediate_impression",fJ:"overlay_viewable_end_of_session_impression",
c_:"externalActivityEvent",PAUSED:"pause",m2:"resume",ez:"firstquartile",pz:"midpoint",Jz:"thirdquartile",Uy:"complete",KZ:"durationChange",dY:"autoClose",N3:"userClose",O3:"userRecall",P1:"prefetched",Ns:"loaded",SX:"allAdsCompleted",Dz:"skip",qJ:"skipshown",f0:"linearChanged",M2:"skippableStateChanged",jX:"adMetadata",hX:"adBreakReady",r0:"log",VOLUME_CHANGED:"volumeChange",e4:"mute",R_:"interaction",LY:"companionBackfill",t4:"youTubeVideoMetadata",q4:"youTubeChannelMetadata",M3:"urlNavigationRequested",
A3:"trackingUrlPinged",Q3:"video_card_endcap_action",R3:"video_card_endcap_collapse",S3:"video_card_endcap_dismiss",T3:"video_card_endcap_impression",n4:"why_this_ad_url",m4:"why_this_ad_got_it",h1:"MUTE_AD",OY:"companionInitialized",NY:"companionImpression",MY:"companionClick",z0:"mediaUrlPinged",s4:"youtubeKevlarCompanionShow",r4:"youtubeKevlarCompanionHide",u4:"yt-show-toast"};po.prototype.getPlayerType=function(){return""};
var P=new po;var iza={NORMAL:"normal",fz:"fullscreen"};var Cu=["ADSENSE","ADSENSE/ADX"],iga=["DART","DART_DFA","DART_DFP"],uga=["FREEWHEEL","YT:FREEWHEEL"],Lt=["SHOPPING","YT:SHOPPING"],jga=["GDFP"],hga=["VIRAL","ADSENSE-VIRAL"],gga=["VIRAL-RESERVE"],lr={"application/flash":"Flash","application/shockwave-flash":"Flash","application/x-shockwave-flash":"Flash","application/javascript":"Javascript","text/javascript":"Javascript","image/jpeg":"Image","image/jpg":"Image","image/png":"Image","image/gif":"Image",text:"Text"},gw={hZ:"application/dash+xml",L0:"video/mp4",
N0:"video/mpeg",w0:"application/x-mpegURL",o1:"video/ogg",j3:"video/3gpp",g4:"video/webm",MP3:"audio/mpeg",M0:"audio/mp4"};g.B(qo,g.If);g.B(ro,Error);ro.prototype.Ud=function(){return this.C};
ro.prototype.Fb=function(){return this.o};
ro.prototype.Xb=function(){return this.B};
ro.prototype.toString=function(){return"AdError "+this.Fb()+": "+this.Ud()+(null!=this.Um?" Caused by: "+this.Um:"")};so.prototype.o=function(){return!1};
so.prototype.A=function(){return NaN};
so.prototype.C=function(){return""};to.prototype.getId=function(){return this.Ja};uo.prototype.getId=function(){return this.Ja};var tea=["ActiveViewExternalLayer"],xo=null;var mfa=["*.googlesyndication.com","gcdn.2mdn.net"],vea=["*.youtu.be","*.youtube.com"],yea="ad.doubleclick.net bid.g.doubleclick.net corp.google.com ggpht.com google.co.uk google.com googleads.g.doubleclick.net googleads4.g.doubleclick.net googleadservices.com googlesyndication.com googleusercontent.com gstatic.com gvt1.com prod.google.com pubads.g.doubleclick.net s0.2mdn.net static.doubleclick.net static.doubleclick.net surveys.g.doubleclick.net youtube.com ytimg.com".split(" "),xea=["c.googlesyndication.com"],
pja=["googleads.g.doubleclick.net","pubads.g.doubleclick.net"];var Wv;Oo.prototype.Fb=function(){return this.errorCode};
Oo.prototype.Ud=function(){return this.message};
var Aja=new Oo("Unable to request ads from server. Cause: {0}.",1005),qja=new Oo("Unable to request ads from server due to network error.",1012),YA=new Oo("Cannot parse the {0} value for the adslist response: {1}.",900),dw=new Oo("Invalid usage of the API. Cause: {0}",900),$ha=new Oo("Asset fallback ad replacement.",1021),aia=new Oo("Asset fallback no ad replacement.",1021),g1=new Oo("Unable to display one or more required companions.",602),xD=new Oo("There was a problem requesting ads from the server.",
1005),h1=new Oo("There was a problem requesting the biscotti ID.",1005),oja=new Oo("Ad tag URI {0} is invalid. It must be properly encoded before being passed.",1013),aD=new Oo("The provided ad type: {0} is not supported.",1005),Mp=new Oo("The provided {0} information: {1} is invalid.",1101),jza=new Oo("The provided skip offset was invalid.",1105),kza=new Oo("The extension contained is neither skippable nor nonskippable.",1105),gs=new Oo("The response does not contain any valid ads.",1009),lza=new Oo("The overlay ad content could not be displayed since creative dimensions do not align with display area.",
501),lia=new Oo("The ad playlist response was malformed or empty.",1010),ZA=new Oo("The ad response was not understood and cannot be parsed.",1010),tja=new Oo("An unexpected error occurred and the cause is not known. Refer to the inner error for more info.",900),Cja=new Oo("The ad response contains unexpected element. Cause {0}.",1010),ND=new Oo("No assets were found in the VAST ad response.",200),dga=new Oo("Duplicate node in <{0}>: {1}",101),EC=new Oo("The VAST response document is empty.",1009),
Mha=new Oo("Linear assets were found in the VAST ad response, but none of them matched the video player's capabilities.",403),fs=new Oo("Ad request reached a timeout.",301),FC=new Oo("VAST response was malformed and could not be parsed.",100),i1=new Oo("VAST media file loading reached a timeout of {0} seconds.",402),hs=new Oo("Ad request could not be completed due to a network error.",301),mza=new Oo("Non linear assets were found in the VAST ad response, but none of them matched the video player's capabilities.",
503),zfa=new Oo("The maximum number of VAST wrappers ({0}) has been reached.",302),nza=new Oo("VAST media file duration differs from the VAST response duration by {0} seconds.",202),yz=new Oo("Video player received an ad with unexpected or incompatible linearity",201),cga=new Oo("Unknown node in <{0}>: {1}",101),jha=new Oo("Invalid VAST resource type: {0}",101),Pia=new Oo("Invalid VAST version",102),Afa=new Oo("No additional VAST wrappers allowed.",300),ms=new Oo("No Ads VAST response after one or more Wrappers",
303),Dz=new Oo("There was an error playing the video ad.",400),oza=new Oo("VMAP unsupported node in <{0}>: {1}",1010),cy=new Oo("An unexpected error occurred within the VPAID creative. Refer to the inner error for more info.",901),Cia=new Oo("There was an error playing the video ad. {0}",400),pza=new Oo("There was an error playing the video ad. {0}",402);g.B(Vo,g.If);var SB="abort canplay canplaythrough durationchange emptied loadstart loadeddata loadedmetadata progress ratechange seeked seeking stalled suspend waiting".split(" ");var Aea=function(){if(g.EM)return Wo(/Firefox\/([0-9.]+)/);if(g.de||g.QM||g.Kf)return Kc;if(g.aM)return Gc()?Wo(/CriOS\/([0-9.]+)/):Wo(/Chrome\/([0-9.]+)/);if(JN&&!Gc())return Wo(/Version\/([0-9.]+)/);if(LN||KN){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(g.Kb);if(a)return a[1]+"."+a[2]}else if(g.MN)return(a=Wo(/Android\s+([0-9.]+)/))?a:Wo(/Version\/([0-9.]+)/);return""}();var ip={},kp="",dp=/OS (\S+) like/,gp=/Android ([\d\.]+)/;pp.prototype.reset=function(){this.o=0;this.A=null};g.j1={bz:["BC","AD"],az:["Before Christ","Anno Domini"],rz:"JFMAMJJASOND".split(""),Ez:"JFMAMJJASOND".split(""),Os:"January February March April May June July August September October November December".split(" "),Rs:"January February March April May June July August September October November December".split(" "),Ps:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),Ss:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),Xs:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),
Us:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),Qs:"Sun Mon Tue Wed Thu Fri Sat".split(" "),Ts:"Sun Mon Tue Wed Thu Fri Sat".split(" "),WI:"SMTWTFS".split(""),Fz:"SMTWTFS".split(""),Cz:["Q1","Q2","Q3","Q4"],xz:["1st quarter","2nd quarter","3rd quarter","4th quarter"],Js:["AM","PM"],ro:["EEEE, MMMM d, y","MMMM d, y","MMM d, y","M/d/yy"],Vs:["h:mm:ss a zzzz","h:mm:ss a z","h:mm:ss a","h:mm a"],Xy:["{1} 'at' {0}","{1} 'at' {0}","{1}, {0}","{1}, {0}"],Gl:6,Pz:[5,6],Hl:5};
g.j1={bz:["\u0434\u043e \u043d. \u044d.","\u043d. \u044d."],az:["\u0434\u043e \u0420\u043e\u0436\u0434\u0435\u0441\u0442\u0432\u0430 \u0425\u0440\u0438\u0441\u0442\u043e\u0432\u0430","\u043e\u0442 \u0420\u043e\u0436\u0434\u0435\u0441\u0442\u0432\u0430 \u0425\u0440\u0438\u0441\u0442\u043e\u0432\u0430"],rz:"\u042f\u0424\u041c\u0410\u041c\u0418\u0418\u0410\u0421\u041e\u041d\u0414".split(""),Ez:"\u042f\u0424\u041c\u0410\u041c\u0418\u0418\u0410\u0421\u041e\u041d\u0414".split(""),Os:"\u044f\u043d\u0432\u0430\u0440\u044f \u0444\u0435\u0432\u0440\u0430\u043b\u044f \u043c\u0430\u0440\u0442\u0430 \u0430\u043f\u0440\u0435\u043b\u044f \u043c\u0430\u044f \u0438\u044e\u043d\u044f \u0438\u044e\u043b\u044f \u0430\u0432\u0433\u0443\u0441\u0442\u0430 \u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f \u043e\u043a\u0442\u044f\u0431\u0440\u044f \u043d\u043e\u044f\u0431\u0440\u044f \u0434\u0435\u043a\u0430\u0431\u0440\u044f".split(" "),
Rs:"\u044f\u043d\u0432\u0430\u0440\u044c \u0444\u0435\u0432\u0440\u0430\u043b\u044c \u043c\u0430\u0440\u0442 \u0430\u043f\u0440\u0435\u043b\u044c \u043c\u0430\u0439 \u0438\u044e\u043d\u044c \u0438\u044e\u043b\u044c \u0430\u0432\u0433\u0443\u0441\u0442 \u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c \u043e\u043a\u0442\u044f\u0431\u0440\u044c \u043d\u043e\u044f\u0431\u0440\u044c \u0434\u0435\u043a\u0430\u0431\u0440\u044c".split(" "),Ps:"\u044f\u043d\u0432. \u0444\u0435\u0432\u0440. \u043c\u0430\u0440. \u0430\u043f\u0440. \u043c\u0430\u044f \u0438\u044e\u043d. \u0438\u044e\u043b. \u0430\u0432\u0433. \u0441\u0435\u043d\u0442. \u043e\u043a\u0442. \u043d\u043e\u044f\u0431. \u0434\u0435\u043a.".split(" "),
Ss:"\u044f\u043d\u0432. \u0444\u0435\u0432\u0440. \u043c\u0430\u0440\u0442 \u0430\u043f\u0440. \u043c\u0430\u0439 \u0438\u044e\u043d\u044c \u0438\u044e\u043b\u044c \u0430\u0432\u0433. \u0441\u0435\u043d\u0442. \u043e\u043a\u0442. \u043d\u043e\u044f\u0431. \u0434\u0435\u043a.".split(" "),Xs:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435 \u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a \u0432\u0442\u043e\u0440\u043d\u0438\u043a \u0441\u0440\u0435\u0434\u0430 \u0447\u0435\u0442\u0432\u0435\u0440\u0433 \u043f\u044f\u0442\u043d\u0438\u0446\u0430 \u0441\u0443\u0431\u0431\u043e\u0442\u0430".split(" "),
Us:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435 \u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a \u0432\u0442\u043e\u0440\u043d\u0438\u043a \u0441\u0440\u0435\u0434\u0430 \u0447\u0435\u0442\u0432\u0435\u0440\u0433 \u043f\u044f\u0442\u043d\u0438\u0446\u0430 \u0441\u0443\u0431\u0431\u043e\u0442\u0430".split(" "),Qs:"\u0432\u0441 \u043f\u043d \u0432\u0442 \u0441\u0440 \u0447\u0442 \u043f\u0442 \u0441\u0431".split(" "),Ts:"\u0432\u0441 \u043f\u043d \u0432\u0442 \u0441\u0440 \u0447\u0442 \u043f\u0442 \u0441\u0431".split(" "),
WI:"\u0432\u0441 \u043f\u043d \u0432\u0442 \u0441\u0440 \u0447\u0442 \u043f\u0442 \u0441\u0431".split(" "),Fz:"\u0412\u041f\u0412\u0421\u0427\u041f\u0421".split(""),Cz:["1-\u0439 \u043a\u0432.","2-\u0439 \u043a\u0432.","3-\u0439 \u043a\u0432.","4-\u0439 \u043a\u0432."],xz:["1-\u0439 \u043a\u0432\u0430\u0440\u0442\u0430\u043b","2-\u0439 \u043a\u0432\u0430\u0440\u0442\u0430\u043b","3-\u0439 \u043a\u0432\u0430\u0440\u0442\u0430\u043b","4-\u0439 \u043a\u0432\u0430\u0440\u0442\u0430\u043b"],Js:["AM","PM"],
ro:["EEEE, d MMMM y '\u0433'.","d MMMM y '\u0433'.","d MMM y '\u0433'.","dd.MM.y"],Vs:["HH:mm:ss zzzz","HH:mm:ss z","HH:mm:ss","HH:mm"],Xy:["{1}, {0}","{1}, {0}","{1}, {0}","{1}, {0}"],Gl:0,Pz:[5,6],Hl:3};rp.prototype.clone=function(){return new rp(this.o,this.months,this.days,this.hours,this.minutes,this.seconds)};
rp.prototype.times=function(a){return new rp(this.o*a,this.months*a,this.days*a,this.hours*a,this.minutes*a,this.seconds*a)};
rp.prototype.add=function(a){this.o+=a.o;this.months+=a.months;this.days+=a.days;this.hours+=a.hours;this.minutes+=a.minutes;this.seconds+=a.seconds};
g.h=g.up.prototype;g.h.rB=g.j1.Gl;g.h.tB=g.j1.Hl;g.h.clone=function(){var a=new g.up(this.date);a.rB=this.rB;a.tB=this.tB;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.o||a.months){var b=this.getMonth()+a.months+12*a.o,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()),tp(this,a.getDate()))};
g.h.toString=function(){return[this.getFullYear(),g.xc(this.getMonth()+1,2),g.xc(this.getDate(),2)].join("")+""};
g.h.valueOf=function(){return this.date.valueOf()};vp.prototype.reset=function(){this.A=this.o=null};var Wr=new xp;xp.prototype.clear=function(){this.o=wp();this.D=this.K=this.A=null;this.B=wp();this.C=null;this.Y=this.G=this.J="";this.H=this.O=this.F=null};g.Ea(Ap);Ap.prototype.report=function(a,b,c){if(this.o||c){b=b||{};b.lid=a;b.sdkv=zp(Wr);a=Co(yo());g.E(g.G(a))||(b.e=a);b=Bea(this,b);var d=new g.Hn("http://pagead2.googlesyndication.com/pagead/gen_204");g.Mb(b,function(e,f){g.Qn(d,f,null!=e?"boolean"==typeof e?e?"t":"f":""+e:"")},this);
a=Bp();g.In(d,a.B);Jo(d.toString())}};
Ap.prototype.isLoggingEnabled=function(){return this.o};g.h=Cp.prototype;g.h.PJ=!1;g.h.eA=!1;g.h.jA=!0;g.h.Kj=null;g.h.bitrate=-1;g.h.contentId=null;g.h.WA=!1;g.h.Om=!1;g.h.Pm=null;g.h.surveyCreativeData=null;g.h.mW=!0;g.h.ty=!1;g.h.nW=!1;g.h.wy=!1;g.h.yy=!1;g.h.VG=!1;g.h.WG=!0;g.h.xK=!1;g.h.oW=!0;g.h.jC=!0;g.h.nt=!1;g.h.sK=!1;g.h.yW=0;g.h.showContentThumbnail=!0;g.h.qy=!1;g.h.ry=!1;g.h.Ji=null;g.h.eg=1E4;g.h.kA=!0;g.h.uF=0;g.h.hx=-1;g.h.iC=null;g.h.Xh=-1;g.h.shortViewCount=null;g.B(Dp,g.jg);var RB={oY:"beginFullscreen",Ks:"click",QZ:"end",RZ:"endFullscreen",ERROR:"error",Ns:"loaded",y0:"mediaLoadTimeout",PAUSE:"pause",PLAY:"play",L2:"skip",qJ:"skipShown",F2:"shareClicked",Gz:"start",p3:"timeUpdate",AY:"cardsStateChange",m3:"timedMetadata",d4:"volumeChange"};g.h=Dp.prototype;g.h.se=function(){return!1};
g.h.sb=function(){return!0};
g.h.Gx=g.z;g.h.setCardsVisible=g.z;g.h.addInfoCardXml=g.z;g.h.Ne=function(){return null};
g.h.showControls=g.z;g.h.hideControls=g.z;g.B(Ep,g.jg);var Fp=null;Ep.prototype.il=function(a){this.C=a};
Ep.prototype.destroy=function(){this.Z.Ka(this.A,"activityMonitor",this.K);this.A=null};
Ep.prototype.K=function(a){var b=a.hg;switch(a.je){case "appStateChanged":aea(qn.getInstance(),b.appState,b.nativeTime);break;case "externalActivityEvent":Jp(b.queryId,b.viewabilityString,b.eventName);break;case "measurableImpression":Hp(b.queryId,b.viewabilityString);break;case "pageSignals":this.J=b.pageSignals;break;case "viewableImpression":Ip(b.queryId,b.viewabilityString);break;case "engagementData":b=b.engagementString;Gp().B=b;Gp().H=(0,g.H)();break;case "viewability":a=b.eventId;window.clearTimeout(a);
var c=this.o.get(a);c&&(this.o.remove(a),c(b.viewabilityData));break;case "viewabilityMeasurement":c=qn.getInstance();var d=b.queryId;b=b.viewabilityData;var e=Hj.getInstance();a=zk.getInstance();if("exc"==e.bb){c.D=b.nativeVolume;e=b.exposure||0;var f=b.unmeasurable;c=c.Fp(d,{});null!=b.presenceData&&(null===c.A&&(c.A=new Cl),g.lc(c.A,b.presenceData));-1==c.ea&&(c.ea=$i(),c.Ab=c.Td().A.o);c.ga+=f?1:0;c.Sa++;c.La.update(e,e,!1,1,!1);d=b.insideIframe;g.Aa(d)&&0==d&&(a.A=!1);c.Sg=f||c.Sg;b.position&&
sl(c,N,a.A,new g.zh(b.position.top,b.position.right,b.position.bottom,b.position.left));b.documentSize&&(a.B=new g.Qd(b.documentSize.width,b.documentSize.height));b.viewportSize&&(a.o=new g.zh(0,b.viewportSize.width,b.viewportSize.height,0));tl(c,e,b.screenShare)}break;case "engagement":a=b.eventId,window.clearTimeout(a),c=this.o.get(a),Ap.getInstance().isLoggingEnabled()&&(d=-1,this.F&&(d=(0,g.H)()-this.F),e=!1,c||(e=!0),Xb(b,"loggingId")&&Ap.getInstance().report(43,{step:"receivedResponse",time:(0,g.H)(),
timeout:e,logid:b.loggingId,timediff:d})),c&&(this.o.remove(a),c(b.engagementString))}};
g.Da("ima.bridge.getNativeViewability",function(a,b){Gp();b({})},void 0);
g.Da("ima.bridge.getVideoMetadata",function(){var a=Gp().G;return g.Ja(a)?a():{}},void 0);
g.Da("ima.bridge.triggerViewEvent",Ip,void 0);g.Da("ima.bridge.triggerMeasurableEvent",Hp,void 0);g.Da("ima.bridge.triggerExternalActivityEvent",Jp,void 0);var Fea={FI:"Image",tI:"Flash",ALL:"All"},Eea={B_:"Html",H_:"IFrame",X2:"Static",ALL:"All"},Gea={I_:"IgnoreSize",A2:"SelectExactMatch",B2:"SelectNearMatch"},Hea={rZ:"DisallowResize",g2:"ResizeSmaller"};var k1=!1,l1="";
(function(){if(navigator.plugins&&navigator.plugins.length){var a=navigator.plugins["Shockwave Flash"];if(a&&(k1=!0,a.description)){l1=Lp(a.description);return}if(navigator.plugins["Shockwave Flash 2.0"]){k1=!0;l1="2.0.0.11";return}}if(navigator.mimeTypes&&navigator.mimeTypes.length&&(a=navigator.mimeTypes["application/x-shockwave-flash"],k1=!(!a||!a.enabledPlugin))){l1=Lp(a.enabledPlugin.description);return}if("undefined"!=typeof ActiveXObject){try{var b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");k1=
!0;l1=Lp(b.GetVariable("$version"));return}catch(c){}try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");k1=!0;l1="6.0.21";return}catch(c){}try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash"),k1=!0,l1=Lp(b.GetVariable("$version"))}catch(c){}}})();
var Sp=k1,TC=l1;g.B(Xp,g.jg);var Yp=null;g.h=Xp.prototype;g.h.destroy=function(){this.Z.Ka(this.o,"activityMonitor",this.mC);this.C=!1;this.A.clear()};
g.h.W=function(){this.destroy();Xp.fa.W.call(this)};
g.h.init=function(a){if(!this.C){if(this.o=a||null)this.Z.X(this.o,"activityMonitor",this.mC),eq(this);if(P.J&&!(g.x.ima&&g.x.ima.video&&g.x.ima.video.client&&g.x.ima.video.client.tagged)){g.Da("ima.video.client.sdkTag",!0,void 0);var b=g.x.document;a=b.createElement("script");var c=b.location.protocol;"http:"!=c&&"https:"!=c&&(c="");a.src=c+"//s0.2mdn.net/instream/video/client.js";a.async=!0;a.type="text/javascript";b=b.getElementsByTagName("script")[0];b.parentNode.insertBefore(a,b)}(a=P.o||Q())||
(a=!1);a||(qn.getInstance().B=!0);this.D=(g.Ja(null),null);rn();this.C=!0}};
g.h.il=function(a){this.B=a};
g.h.mC=function(a){var b=a.hg,c=b.queryId,d={};d.eventId=b.eventId;switch(a.je){case "getPageSignals":eq(this);break;case "reportVastEvent":var e=b.vastEvent;a=b.osdId;var f={};f.opt_fullscreen=b.isFullscreen;b.isOverlay&&(f.opt_bounds=b.overlayBounds);d.viewabilityData=cq(this,e,c,a,f);this.o.send("activityMonitor","viewability",d);break;case "fetchAdTagUrl":d={},d.eventId=b.eventId,a=b.osdId,c=null,Xb(b,"isFullscreen")&&(c=b.isFullscreen),Xb(b,"loggingId")&&(b=b.loggingId,d.loggingId=b,Ap.getInstance().report(43,
{step:"beforeLookup",logid:b,time:(0,g.H)()},!0)),d.engagementString=Mea(this,a,c),this.o.send("activityMonitor","engagement",d)}};
g.Da("ima.common.getVideoMetadata",function(a){a=Zp().A.get(a);return g.Ja(a)?a():{}},void 0);
g.Da("ima.common.triggerViewEvent",function(a,b){var c={};c.queryId=a;c.viewabilityString=b;var d=Zp().o;d?d.send("activityMonitor","viewableImpression",c):Zp().dispatchEvent(new lo("viewable_impression",null,c))},void 0);
g.Da("ima.common.triggerViewabilityMeasurementUpdate",function(a,b){var c=Zp().o,d={};d.queryId=a;d.viewabilityData=b;c&&c.send("activityMonitor","viewabilityMeasurement",d)},void 0);
g.Da("ima.common.triggerMeasurableEvent",function(a,b){var c={};c.queryId=a;c.viewabilityString=b;var d=Zp().o;d?d.send("activityMonitor","measurableImpression",c):Zp().dispatchEvent(new lo("measurable_impression",null,c))},void 0);
g.Da("ima.common.triggerExternalActivityEvent",function(a,b,c){var d={};d.queryId=a;d.viewabilityString=b;d.eventName=c;(a=Zp().o)?a.send("activityMonitor","externalActivityEvent",d):Zp().dispatchEvent(new lo("externalActivityEvent",null,d))},void 0);
Zp();g.B(fq,g.If);fq.prototype.getError=function(){return this.o};gq.prototype.Xc=function(){return this.G};
gq.prototype.zd=function(){return this.B};
gq.prototype.clone=function(){var a=new gq(this.J,this.H);if(null!=this.B)hq(a,this.zd(),this.C,this.o,this.D);else{var b=this.Xc(),c=this.C,d=this.o,e=this.A,f=this.D,k=this.F;a.G=b;a.B=null;a.C=c;a.o=d;a.A=e;a.D=f||[];a.F=k||[]}return a};g.B(jq,g.If);kq.prototype.videoCount=0;g.lq.prototype.A=Xc;var tq={},Jq={},Kq={},Fq={},Vea={},Fr={};nq.prototype.Xl=null;nq.prototype.Xc=function(){return this.content};
nq.prototype.toString=function(){return this.content};
g.B(oq,nq);oq.prototype.Nj=Fr;g.B(pq,nq);pq.prototype.Nj=tq;g.B(qq,nq);qq.prototype.Nj=Fq;qq.prototype.Xl=1;var uq=function(a){function b(c){this.content=c}
b.prototype=a.prototype;return function(c,d){var e=new b(String(c));void 0!==d&&(e.Xl=d);return e}}(pq),Xea=function(a){function b(c){this.content=c}
b.prototype=a.prototype;return function(c){return new b(String(c))}}(qq),wq={},xq={},$s=function(a){function b(c){this.content=c}
b.prototype=a.prototype;return function(c,d){var e=String(c);if(!e)return"";e=new b(e);void 0!==d&&(e.Xl=d);return e}}(pq),Hq=/['()]/g,Rq={},Yea={"\x00":"&#0;",
"\t":"&#9;","\n":"&#10;","\x0B":"&#11;","\f":"&#12;","\r":"&#13;"," ":"&#32;",'"':"&quot;","&":"&amp;","'":"&#39;","-":"&#45;","/":"&#47;","<":"&lt;","=":"&#61;",">":"&gt;","`":"&#96;","\u0085":"&#133;","\u00a0":"&#160;","\u2028":"&#8232;","\u2029":"&#8233;"},Zea={"\x00":"%00","\u0001":"%01","\u0002":"%02","\u0003":"%03","\u0004":"%04","\u0005":"%05","\u0006":"%06","\u0007":"%07","\b":"%08","\t":"%09","\n":"%0A","\x0B":"%0B","\f":"%0C","\r":"%0D","\u000e":"%0E","\u000f":"%0F","\u0010":"%10","\u0011":"%11",
"\u0012":"%12","\u0013":"%13","\u0014":"%14","\u0015":"%15","\u0016":"%16","\u0017":"%17","\u0018":"%18","\u0019":"%19","\u001a":"%1A","\u001b":"%1B","\u001c":"%1C","\u001d":"%1D","\u001e":"%1E","\u001f":"%1F"," ":"%20",'"':"%22","'":"%27","(":"%28",")":"%29","<":"%3C",">":"%3E","\\":"%5C","{":"%7B","}":"%7D","\u007f":"%7F","\u0085":"%C2%85","\u00a0":"%C2%A0","\u2028":"%E2%80%A8","\u2029":"%E2%80%A9","\uff01":"%EF%BC%81","\uff03":"%EF%BC%83","\uff04":"%EF%BC%84","\uff06":"%EF%BC%86","\uff07":"%EF%BC%87",
"\uff08":"%EF%BC%88","\uff09":"%EF%BC%89","\uff0a":"%EF%BC%8A","\uff0b":"%EF%BC%8B","\uff0c":"%EF%BC%8C","\uff0f":"%EF%BC%8F","\uff1a":"%EF%BC%9A","\uff1b":"%EF%BC%9B","\uff1d":"%EF%BC%9D","\uff1f":"%EF%BC%9F","\uff20":"%EF%BC%A0","\uff3b":"%EF%BC%BB","\uff3d":"%EF%BC%BD"},Oea=/[\x00\x22\x27\x3c\x3e]/g,Qea=/[\x00\x09-\x0d \x22\x26\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,Pea=/[\x00\x09-\x0d \x22\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,Mq=/[\x00- \x22\x27-\x29\x3c\x3e\\\x7b\x7d\x7f\x85\xa0\u2028\u2029\uff01\uff03\uff04\uff06-\uff0c\uff0f\uff1a\uff1b\uff1d\uff1f\uff20\uff3b\uff3d]/g,
Wea=/^(?!-*(?:expression|(?:moz-)?binding))(?:(?:[.#]?-?(?:[_a-z0-9-]+)(?:-[_a-z0-9-]+)*-?|(?:rgb|hsl)a?\([0-9.%,\u0020]+\)|-?(?:[0-9]+(?:\.[0-9]*)?|\.[0-9]+)(?:[a-z]{1,4}|%)?|!important)(?:\s+|$))*$/i,Tea=/^(?![^#?]*\/(?:\.|%2E){2}(?:[\/?#]|$))(?:(?:https?|mailto):|[^&:\/?#]*(?:[\/?#]|$))/i,Uea=/^[^&:\/?#]*(?:[\/?#]|$)|^https?:|^data:image\/[a-z0-9+]+;base64,[a-z0-9+\/]+=*$|^blob:/i,Rea=/^(?!on|src|(?:action|archive|background|cite|classid|codebase|content|data|dsync|href|http-equiv|longdesc|style|usemap)\s*$)(?:[a-z0-9_$:-]*)$/i,
Bq=/<(?:!|\/?([a-zA-Z][a-zA-Z0-9:\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g,Cq=/</g;Vq.prototype.Xa=function(){return this.C};
Vq.prototype.Xb=function(){return this.A};
g.B(Wq,Vq);Uq.prototype.isEmpty=function(){return this.o.isEmpty()};g.h=cr.prototype;g.h.getDuration=function(){return this.ka};
g.h.fv=function(){return null};
g.h.ev=function(){return null};
g.h.dv=function(){return null};
g.h.Tb=function(){return this.J};
g.h.yp=function(){for(var a=[this],b=this.J.A;b;){var c=fr(this,b)||fr(this,b,!0);null!=c&&a.push(c);b=b.A}return a};gr.prototype.ab=function(){return this.F};
gr.prototype.getHeight=function(){return this.B};
gr.prototype.Xa=function(){return this.D};g.B(hr,cr);g.h=hr.prototype;g.h.uf=function(){return this.B};
g.h.vh=function(){return this.A};
g.h.wh=function(){return null!=this.D?this.D.Xa():null};
g.h.fv=function(){var a=jr(this,"javascript");return null!=a?a.Xa():null};
g.h.ev=function(){var a=kr(this);return null!=a?a.Xa():null};
g.h.dv=function(){return null!=this.D?this.D.A:1==this.A.length?this.A[0].A:null};g.B(mr,cr);g.h=mr.prototype;g.h.Xc=function(){return ze(this.zd())};
g.h.Sm=function(){return!1};
g.h.gv=function(){return this.Sm()?ze(this.zd(!0)):""};
g.h.Ad=function(){return this.ba};
g.h.ie=function(){return this.Ia};
g.h.ab=function(){return this.ie().width};
g.h.getHeight=function(){return this.ie().height};
g.h.wh=function(){return this.A};
g.h.fv=function(){return"VPAID"==this.K&&"Javascript"==this.ba?this.A:null};
g.h.ev=function(){return"VPAID"==this.K&&"Flash"==this.ba?this.A:null};
g.h.dv=function(){return this.K};
g.h.uf=function(){return this.ma};g.B(nr,g.K);nr.prototype.G=function(){this.F=(0,g.H)()};
nr.prototype.J=function(a,b){var c=a.element;1==(this.A&1)&&(0==this.B&&this.B++,this.o.nm=this.B);2==(this.A&2)&&(this.o.nb=a.hK);if(8==(this.A&8)){var d=g.$h(this.D);this.o.nx=Math.round(b.clientX-d.x);this.o.ny=Math.round(b.clientY-d.y)}16==(this.A&16)&&null!=this.F&&(d=(0,g.H)()-this.F,this.o.clkt=d);512==(this.A&512)&&(d=Mi())&&(this.o.mb=d);"A"==c.tagName.toUpperCase()&&g.Fd(c,gfa(this,c.href))};
nr.prototype.H=function(){this.B++};var tr=g.de?bd(g.Uc('javascript:""')):bd(g.Uc("about:blank"));$c(tr);var qza=g.de?bd(g.Uc('javascript:""')):bd(g.Uc("javascript:undefined"));$c(qza);g.B(or,mr);g.h=or.prototype;g.h.Hj=function(a){null==this.C||g.E(g.G(this.uf()))||(this.C.X(a,"click",this.Y),this.aa.push(a))};
g.h.zd=function(a){a?(null==this.ha&&(this.ha=this.Dg(a),ne(this.ha,ur(this))),a=this.ha):(null==this.B&&(this.B=this.Dg(),ne(this.B,ur(this))),a=this.B);null!=this.C&&this.C.X(a,"creativeview",this.ea);return a};
g.h.Dg=function(){var a=g.G(this.A);g.E(g.G(this.uf()))||(a=new g.Hn(a),g.Qn(a,"clickTAG",g.rc(this.uf())),a=a.toString());var b=g.ie("IFRAME",{marginwidth:0,marginheight:0,hspace:0,vspace:0,frameborder:0,scrolling:"no"},null);b.height=this.getHeight();"Text"!=this.Ad()&&(b.width=this.ab());b.setAttribute("src",Go(a));this.Hj(b);return sr(this,b)};
g.h.ru=function(){zo().o("cleanup_text_overlay_spam_signals");return 2};
g.h.yp=function(){for(var a=[this],b=this.Tb().A;b;){var c=this.F?fr(this,b)||fr(this,b,!0):vr(this,b)||vr(this,b,!0);null!=c&&a.push(c);b=b.A}return a};var kfa={};g.B(Gr,or);g.h=Gr.prototype;g.h.ie=function(){return new g.Qd(this.ab(),this.getHeight())};
g.h.getHeight=function(){return 63};
g.h.ab=function(){return null!=this.G?g.ii(this.G).width:0};
g.h.ru=function(a){return zo().o("cleanup_text_overlay_spam_signals")?g.zr(a,"text-image-link")?9:g.zr(a,"text-ad-channel")?1:0:g.zr(a,"text-image")?9:g.zr(a,"text-ad-channel")?1:0};
g.h.Dg=function(){var a=this.Tb(),b=a.getExtension("AdSense"),c=a.getExtension("TextAd"),d=c.D,e="rtl";null!=d&&(e=Lya.test(Vc(d,void 0))?"rtl":"ltr");d={title:d,text:c.F+" "+c.G,dir:e,mh:this.uf()};if(e=c.getImageUrl())d.image=Go(e),d.XG=!0,Q()&&(d.XG=0==c.A||0==c.C),a=g.Ua(a.F,function(f){return f instanceof hr}),null!=a&&(d.duration=Up(a.getDuration()));
b.C&&(d.pW=b.C);this.G=Er($ea,d);(0,g.C)(this.G.getElementsByTagName("a"),this.Hj,this);this.G.id=this.Ja;this.G.style.height=this.getHeight()+"px";return this.G};var ofa=[202,1009],tfa="CONTENT_V CPN DISALLOW EID LACT VIS".split(" "),sfa={MOAT_INIT:["://yts\\.moatads\\.com","://yts-testing\\.moatads\\.com","://pagead2\\.googlesyndication\\.com/pagead/gen_204","://pagead2\\.googlesyndication\\.com/activeview/3pty/moat-secure"],MOAT_VIEWABILITY:["://[^.]*\\.moatads\\.com","://pagead2\\.googlesyndication\\.com/pagead/gen_204","://pubads\\.g\\.doubleclick\\.net","://pagead2\\.googlesyndication\\.com/activeview/3pty/moat"],IAS_VIEWABILITY:["://[^.]*\\.adsafeprotected\\.com",
"://[^.]*\\.test-adsafeprotected\\.com","://pagead2\\.googlesyndication\\.com/pagead/gen_204","://pubads\\.g\\.doubleclick\\.net","://pagead2\\.googlesyndication\\.com/activeview/3pty/ias"],DV_VIEWABILITY:["://[^.]*\\.yt\\.srs\\.doubleverify\\.com","://pagead2\\.googlesyndication\\.com/pagead/gen_204","://pubads\\.g\\.doubleclick\\.net","://pagead2\\.googlesyndication\\.com/activeview/3pty/doubleverify"],GOOGLE_VIEWABILITY:"://pubads\\.g\\.doubleclick\\.net ://googleads\\.g\\.doubleclick\\.net ://ad[\\.-]([a-z0-9]+\\.){0,1}doubleclick\\.net ://ade\\.googlesyndication\\.com ://pagead2\\.googlesyndication\\.com ://([a-z0-9]+[.])*youtube\\.com".split(" ")};g.h=es.prototype;g.h.Vf=function(){return null!=this.o&&this.o.Vf()?!0:0<this.ads.length&&this.A<this.ads.length-1};
g.h.Pe=function(a,b){null!=this.o?yfa(this,a,b):this.Vf()?Bfa(this,a,(0,g.A)(function(c){!this.Vf()||!Q()&&301==c.Fb()?b(c):this.Pe(a,b)},this)):b(new ro("adLoadError","The ad source contains no more ads.",1005))};
g.h.pB=function(a,b){return this.D?0<a.length?a:b:kb(b,0,1)};
g.h.Yq=function(a,b,c){var d;if(!(d=null!=a.o)){var e=this.F;d=g.Ja(e.sm)&&e.sm()||e.tf||0;e=g.Ja(e.rm)&&e.rm()||e.sf||0;0===a.F.length&&0<a.K.length?(d=Tr(a),No(a.K,d),d=!1):(qu(a)&&!a.ga?vu(a,"nonlinear")?cs(a,d,e):ds(a):vu(a,"linear")?ds(a):vu(a,"nonlinear")&&cs(a,d,e),d=null!=a.o)}d?(this.C++,b(a)):(b=g.Za(a.F)?Qo(FC):a.Yb()?Qo(ND):Qo(mza),d=Sr(b,a),Wp(kga(a),"rm")?b.A=!1:No(a.ka,d),c(b))};
g.h.kx=function(a,b,c){var d=this.F.clone();d.A="";d.o=a.Zb;d.hf=ho(d.o,d.Op);js(this,a,d,b,c)};g.B(os,wr);os.prototype.we=function(){return this.A};g.B(ps,es);ps.prototype.Vf=function(){if(null!=this.o&&this.o.Vf())return!0;var a=0==this.C||this.C==this.K;return 0<this.ads.length&&a&&this.A<this.ads.length-1};
ps.prototype.pB=function(a,b){return b};
ps.prototype.Yq=function(a,b,c){var d=null==this.o?gu(a):gu(this.ads[this.A]);this.J.C=d;ps.fa.Yq.call(this,a,b,c)};
ps.prototype.kx=function(a,b,c){this.J.C=-1;ps.fa.kx.call(this,a,b,c)};g.B(rs,g.Hn);rs.prototype.toString=function(){return vs(this,rs.fa.toString.call(this))};
rs.prototype.QB=function(){return""};
rs.prototype.Bi=function(){return""};
rs.prototype.clone=function(){return new rs(this.toString())};g.h=Ds.prototype;g.h.Xc=function(){return this.o.Xc()};
g.h.zd=function(){return this.o.zd()};
g.h.Ad=function(){return this.o.Ad()};
g.h.ab=function(){return this.o.ab()};
g.h.getHeight=function(){return this.o.getHeight()};
g.h.Tb=function(){return this.o.Tb()};yq("a","",function(a){a=a||{};var b=a.ki,c=a.mf;a=a.learnMoreText;return'<div class="'+S("videoAdUi")+'"><div class="'+S("videoAdUiTopBar")+" "+S("videoAdUiTopBarWithGradients")+'"><div class="'+S("videoAdUiAuthorIcon")+'"></div><div class="'+S("videoAdUiTitle")+" "+S("ellipsisText")+'"></div><div class="'+S("videoAdUiAuthorName")+" "+S("ellipsisText")+'"></div><div class="'+S("videoAdUiLearnMore")+'">'+R(a)+'</div><div class="'+S("videoAdUiShare")+'"></div></div><div class="'+S("videoAdUiBottomBar")+
'"><div class="'+S("videoAdUiLearnMoreText")+'">'+R(a)+'<div class="'+S("videoAdUiLearnMoreIcon")+'"></div></div><div class="'+S("videoAdUiAttributionContainer")+'"><div class="'+S("videoAdUiAttribution")+'" '+Gq(Sq(b))+">"+R(b)+'</div><div class="'+S("videoAdUiAttributionIconContainer")+'"><div class="'+S("videoAdUiAttributionIcon")+'" id="videoAdUiAttributionIcon"></div><div class="'+S("videoAdUiAdInfoPopup")+'"><div class="'+S("videoAdUiAdInfoPopupCallout")+'"></div><div class="'+S("videoAdUiAdInfoPopupText")+
'" '+Gq(Sq(c))+">"+R(c)+'</div></div></div></div></div><div class="'+S("videoAdUiProgressBar")+'" dir="ltr"><div class="'+S("videoAdUiBuffer")+'"></div><div class="'+S("videoAdUiProgress")+'"></div></div></div>'});
yq("a","fixedDirectionality",function(a){a=a||{};var b=a.ki,c=a.mf;a=a.learnMoreText;return'<div class="'+S("videoAdUi")+'"><div class="'+S("videoAdUiTopBar")+" "+S("videoAdUiTopBarWithGradients")+'"><div class="'+S("videoAdUiAuthorIcon")+'"></div><div class="'+S("videoAdUiTitle")+" "+S("ellipsisText")+'"></div><div class="'+S("videoAdUiAuthorName")+" "+S("ellipsisText")+'"></div><div class="'+S("videoAdUiLearnMore")+'">'+R(a)+'</div><div class="'+S("videoAdUiShare")+'"></div></div><div class="'+
S("videoAdUiBottomBar")+'"><div class="'+S("videoAdUiLearnMoreText")+'">'+R(a)+'<div class="'+S("videoAdUiLearnMoreIcon")+'"></div></div><div class="'+S("videoAdUiAttributionContainer")+'"><div class="'+S("videoAdUiAttribution")+'">'+R(b)+'</div><div class="'+S("videoAdUiAttributionIconContainer")+'"><div class="'+S("videoAdUiAttributionIcon")+'" id="videoAdUiAttributionIcon"></div><div class="'+S("videoAdUiAdInfoPopup")+'"><div class="'+S("videoAdUiAdInfoPopupCallout")+'"></div><div class="'+S("videoAdUiAdInfoPopupText")+
'">'+R(c)+'</div></div></div></div></div><div class="'+S("videoAdUiProgressBar")+'" dir="ltr"><div class="'+S("videoAdUiBuffer")+'"></div><div class="'+S("videoAdUiProgress")+'"></div></div></div>'});
yq("a","redesign2014q4",function(a){a=a||{};var b=a.mf,c=a.ki,d=a.infoText,e=a.P4;a=a.Q4;return'<div class="'+S("videoAdUi")+'"><div class="'+S("videoAdUiTopBar")+" "+S("videoAdUiTopBarWithGradients")+'"><div class="'+S("videoAdUiAuthorIcon")+'"></div><div class="'+S("videoAdUiTopButtons")+'"><div class="'+S("videoAdUiTopButton")+" "+S("videoAdUiTopButtonInfo")+'"><div class="'+S("videoAdUiTopButtonCallout")+'"><div class="'+S("videoAdUiTopButtonTooltip")+'">'+R(d)+'</div></div></div><div class="'+
S("videoAdUiTopButton")+" "+S("videoAdUiTopButtonShare")+'"><div class="'+S("videoAdUiTopButtonCallout")+'"><div class="'+S("videoAdUiTopButtonTooltip")+" "+S("videoAdUiTopButtonShareTooltip")+'">'+R(e)+'</div></div></div><div class="'+S("videoAdUiTopButton")+" "+S("videoAdUiTopButtonWatchLater")+'"><div class="'+S("videoAdUiTopButtonCallout")+'"><div class="'+S("videoAdUiTopButtonTooltip")+'">'+R(a)+'</div></div></div></div><div class="'+S("videoAdUiTitle")+" "+S("ellipsisText")+'"></div><div class="'+
S("videoAdUiAuthorName")+" "+S("ellipsisText")+'"></div></div><div class="'+S("videoAdUiBottomBar")+'"><div class="'+S("videoAdUiBottomBarText")+'"><div class="'+S("videoAdUiAttributionContainer")+'"><div class="'+S("videoAdUiAttribution")+'" '+Gq(Sq(c))+">"+R(c)+'</div><div class="'+S("videoAdUiAttributionIconContainer")+'"><div class="'+S("videoAdUiAttributionIcon")+'" id="videoAdUiAttributionIcon"></div><div class="'+S("videoAdUiAdInfoPopup")+'"><div class="'+S("videoAdUiAdInfoPopupCallout")+'"></div><div class="'+
S("videoAdUiAdInfoPopupText")+'" '+Gq(Sq(b))+">"+R(b)+'</div></div></div></div><div class="'+S("videoAdUiVisitAdvertiserLink")+'"><div class="'+S("videoAdUiVisitAdvertiserLinkText")+'"></div><div class="'+S("videoAdUiVisitAdvertiserIcon")+'"></div></div></div><div class="'+S("videoAdUiBottomBarMessage")+'"></div></div><div class="'+S("videoAdUiProgressBar")+'" dir="ltr"><div class="'+S("videoAdUiBuffer")+'"></div><div class="'+S("videoAdUiProgress")+'"></div></div></div>'});
yq("b","",function(a){a=a||{};return"\u0420\u0435\u043a\u043b\u0430\u043c\u0443 \u043c\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0447\u0435\u0440\u0435\u0437 "+(R(a.oe)+"\u00a0\u0441.")});
yq("b","redesign2014q4",function(a){a=a||{};return"\u0420\u0435\u043a\u043b\u0430\u043c\u0443 \u043c\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0447\u0435\u0440\u0435\u0437 "+R(a.oe)});
yq("b","forcedlinebreak",function(a){a=a||{};var b=a.oe;return"\u0420\u0435\u043a\u043b\u0430\u043c\u0443 \u043c\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442"+(R(a.aj)+("\u043f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0447\u0435\u0440\u0435\u0437 "+(R(b)+"\u00a0\u0441\u0435\u043a.")))});
yq("b","postroll",function(a){a=a||{};return"You can skip ad in "+R(a.oe)});
yq("b","postrollforcedlinebreak",function(a){a=a||{};var b=a.oe;return"You can skip"+(R(a.aj)+("ad in "+R(b)))});g.B(dt,or);var Yfa=new g.Qd(300,250);dt.prototype.Oa=function(){this.G=Math.max(0,this.G-1);ft(this)};
dt.prototype.La=function(){this.G=Math.min(this.Aa-3,this.G+1);ft(this)};
dt.prototype.Dg=function(){return this.V};g.B(it,or);var $fa=new g.Qd(300,250);it.prototype.Dg=function(){return this.G};var jt=g.de&&aga();g.B(Dt,wr);Et.prototype.parse=function(a){a=ue(a);var b=ut(a),c;"skippable"==b?c="skippable":"nonskippable"==b&&(c="nonskippable");if(null==c)throw Qo(kza);a=a.getAttribute("offset");a=Bt(a);if("skippable"==c&&null==a)throw Qo(jza);return new Dt(c,a)};g.B(Ft,wr);g.B(Gt,wr);g.h=It.prototype;g.h.Ad=function(){if(null!=Au(this))return"application/javascript";if(null!=Bu(this))return"application/x-shockwave-flash";var a=this.o,b="";if(null===a)return b;if(a instanceof hr)a=a.D,null===a||(b=g.G(a.o));else if(a instanceof or)switch(a.M){case "IFrame":case "Html":case "Static":b=g.G(a.sa)}return b};
g.h.getExtension=function(a,b){if(b&&this.A){var c=this.A.getExtension(a,!0);if(c)return c}return this.Y.get(a)};
g.h.isBumper=function(){return-1!=this.getDuration()&&0!=this.getDuration()&&7>=this.getDuration()};
g.h.Yb=function(){return this.xa?this.ya:wu(this)?!0:qu(this)?"video"==this.Qb:vu(this,"linear")};
g.h.isSkippable=function(){return null!=yu(this)};
g.h.VM=function(){return this.ga};
g.h.getDuration=function(){return ru(this)};
g.h.wh=function(){var a=null,b=this.o;null!=b&&(a=b.wh(),g.E(g.G(a))&&(a=null));return a};
g.h.ab=function(){return this.Yb()?0:this.ba.width};
g.h.getHeight=function(){return this.Yb()?0:this.ba.height};
g.h.Ue=function(){return this.Wa};
g.h.toString=function(){return"Ad: "+this.Aa};g.B(Hu,g.jg);Hu.prototype.A=function(a){switch(a.type){case "companion_impression":this.dispatchEvent(new lo("companionImpression",this.o));break;case "companion_click":this.dispatchEvent(new lo("companionClick",this.o))}};g.B(Iu,g.jg);g.h=Iu.prototype;g.h.Cb=function(a){null==a||this.G||(this.yi=a,vga(this),this.G=!0)};
g.h.ad=function(){null!=this.yi&&this.G&&(Ju(this),this.F=this.J=this.G=!1,this.o=0,this.C=[],this.H=!1)};
g.h.fU=function(a){this.J=!0;this.o=a.touches.length;this.A&&(window.clearTimeout(this.A),this.A=0,this.L=!0);(this.H=Ku(this,a.touches)||1!=a.touches.length)?this.V=this.M=Infinity:(this.M=a.touches[0].clientX,this.V=a.touches[0].clientY);wga(this,a.touches)};
g.h.eM=function(a){this.o=a.touches.length;if(!ep(8)||Math.pow(a.changedTouches[0].clientX-this.M,2)+Math.pow(a.changedTouches[0].clientY-this.V,2)>Math.pow(5,2))this.F=!0};
g.h.eU=function(a){this.D?this.gu():(!this.J||1!=this.o||this.F||this.L||this.H||!Ku(this,a.changedTouches)||(this.A=window.setTimeout((0,g.A)(this.gu,this),300)),this.o=a.touches.length,0==this.o&&(this.F=this.J=!1,this.C=[]),this.L=!1)};
g.h.nC=function(){this.gu()};
g.h.gu=function(){this.A=0;this.dispatchEvent(new g.If("click"))};
g.h.W=function(){this.ad();this.B.dispose();this.B=null;Iu.fa.W.call(this)};var yga=/#(.)(.)(.)/,xga=/^#(?:[0-9a-f]{3}){1,2}$/i;var Aga=/#(.)(.)(.)(.)/,zga=/^#(?:[0-9a-f]{4}){1,2}$/i;g.B(g.Ou,g.jg);g.h=g.Ou.prototype;g.h.sb=function(){return 1==this.o};
g.h.Lq=function(){this.Ke("begin")};
g.h.Hn=function(){this.Ke("end")};
g.h.Hd=function(){this.Ke("finish")};
g.h.Ke=function(a){this.dispatchEvent(a)};var rza=Pc(function(){if(g.de)return g.Lc("10.0");var a=g.ke("DIV"),b=g.fe?"-webkit":g.Rh?"-moz":g.de?"-ms":g.Kf?"-o":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");b={style:c};if(!Ad.test("div"))throw Error("Invalid tag name <div>.");if("DIV"in Mya)throw Error("Tag name <div> is not allowed for SafeHtml.");b=Bd("div",b,void 0);g.Ed(a,b);return""!=Sh(a.firstChild,"transition")});g.B(Qu,g.Ou);g.h=Qu.prototype;g.h.play=function(){if(this.sb())return!1;this.Lq();this.Ke("play");this.startTime=(0,g.H)();this.o=1;if(rza())return g.Ph(this.A,this.G),this.B=g.Vg(this.XU,void 0,this),!0;this.Eu(!1);return!1};
g.h.XU=function(){g.hi(this.A);Pu(this.A,this.F);g.Ph(this.A,this.C);this.B=g.Vg((0,g.A)(this.Eu,this,!1),1E3*this.D)};
g.h.stop=function(){this.sb()&&this.Eu(!0)};
g.h.Eu=function(a){g.Ph(this.A,"transition","");g.Wg(this.B);g.Ph(this.A,this.C);this.endTime=(0,g.H)();this.o=0;a?this.Ke("stop"):this.Hd();this.Hn()};
g.h.W=function(){this.stop();Qu.fa.W.call(this)};
g.h.pause=function(){};g.B(Ru,g.jg);Ru.prototype.W=function(){null!=this.gj&&(g.Wg(this.gj),this.gj=null);null!=this.Xe&&(g.qe(this.Xe),this.Xe=null);Ru.fa.W.call(this)};
Ru.prototype.D=function(){this.gj=null;Su(this,!1);this.gj=g.Vg((0,g.A)(function(){this.gj=null;Tu(this,!1);null!=this.Xe&&g.M(this.Xe,!1);Uu(this,"complete")},this),200)};
Ru.prototype.show=function(a){Uu(this,"impression");Su(this,!0);Tu(this,!0);null!=this.Xe&&g.M(this.Xe,!0);this.gj=g.Vg(this.D,a,this)};
Ru.prototype.F=function(a){Q()||a.stopPropagation()};g.B(Vu,wr);g.B(Xu,wr);g.h=Yu.prototype;
g.h.kF=function(){var a={heading:"",targetingReasons:[],learnMore:"",nu:"",control:"",mute:"",uy:this.F};if(null!=this.B){a.heading=this.B.D;var b=this.B.C;if(b&&3==b.length){var c=b[1],d=b[2];b=uq(R(b[0])+Ys()+R(c)+uq("</a>")+R(d));a.nu=b}b=g.ib(this.B.F);a.targetingReasons=b;for(c=0;c<b.length;c++)if(d=b[c],"string"===typeof d&&-1<d.indexOf("|")){var e=this.B.L;d=uq(R(d.substring(0,d.length-2))+" <a href='"+S(Oq("https://support.google.com/ads/answer/7029660#match"))+"' target='_blank'>"+R(e)+"</a>");
b[c]=d}a.close=this.B.B}else a.heading=uq("\u0421 \u0447\u0435\u043c \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0441\u0432\u044f\u0437\u0430\u043d \u043f\u043e\u043a\u0430\u0437 \u044d\u0442\u043e\u0433\u043e \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u044f:"),a.nu=Zs({nA:Ys(),fB:uq("</a>")}),a.targetingReasons=P.Y?[bt(),uq("\u0421 \u0432\u0430\u0448\u0438\u043c\u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f\u043c\u0438 \u043f\u043e\u0441\u043b\u0435 \u0432\u0445\u043e\u0434\u0430 \u0432 \u0430\u043a\u043a\u0430\u0443\u043d\u0442 Google.")]:
[bt(),uq("\u0421 \u0432\u0430\u0448\u0438\u043c\u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f\u043c\u0438 \u043d\u0430 \u044d\u0442\u043e\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0435.")],a.close="\u0417\u0430\u043a\u0440\u044b\u0442\u044c";null!=this.A&&(a.mute=this.A.B);bv(this,Ufa,a);av(this,"videoAdUiWhyThisAdCloseButton",this.Mj);av(this,"videoAdUiWhyThisAdControl",this.bB);av(this,"videoAdUiWhyThisAdMute",this.QU);a=this.bB;b=g.Zd("videoAdUiWhyThisAdGenericMessage",
this.o);null!=b&&(b=b.getElementsByTagName("A")[0],null!=b&&this.Z.X(b,"click",a))};
g.h.Mj=function(){null!=this.Z&&(this.Z.dispose(),this.Z=null);null!=this.o&&(null!=this.C&&(Zu(this,"why_this_ad_got_it"),this.C.dispose(),this.C=null),this.o.parentElement.removeChild(this.o),this.o=null)};
g.h.bB=function(){Zu(this,"why_this_ad_settings_url")};
g.h.QU=function(){if(null!=this.A){Zu(this,"mute_interaction_url");var a=Wu(this.A);if(0==a){var b={heading:"",message:"Are you sure you want to stop seeing this ad?",confirm:"YES",cancel:"CANCEL"};bv(this,Wfa,b);av(this,"videoAdUiMuteCancel",this.kF);av(this,"videoAdUiMuteConfirm",this.kK)}else{Zu(this,"mute_url");b={heading:this.A.C,undo:this.A.F,question:this.A.D,options:[],confirm:"SEND",cancel:"CLOSE"};var c=this.A?(c=Xq(this.A.o,"mute_undo_url"))&&0<c.length:!1;c||(b.undo="");for(c=0;c<a;c++)b.options.push(this.A.A[c].label);
bv(this,Vfa,b);av(this,"videoAdUiMuteUndo",this.eW);av(this,"videoAdUiMuteConfirm",this.TV);av(this,"videoAdUiMuteCancel",this.St)}}};
g.h.kK=function(){Zu(this,"mute_url");this.St()};
g.h.eW=function(){Zu(this,"mute_undo_url");this.Mj()};
g.h.TV=function(){if(null!=this.A){for(var a=Wu(this.A),b=!1,c=0;c<a;c++){var d=g.Zd("videoAdUiMuteOption"+c,this.o);if(null!=d&&d.checked){b=!0;Jo(this.A.A[c].url);break}}if(!b)return}this.St()};
g.h.St=function(){Zu(this,"MUTE_AD");this.Mj()};g.B(jv,g.jg);var Dga={1:"videoAdUiBrandInteractionHorizontalRect"},Cga=[1],Hga=[1],Fga={1:["videoAdUiBrandInteractionUnitTopBelowTitle"],2:["videoAdUiBrandInteractionUnitTopBelowTitle","videoAdUiBrandInteractionUnitLeft"],3:["videoAdUiBrandInteractionBottom","videoAdUiBrandInteractionUnitLeft"]};jv.prototype.update=function(){this.F||(this.dispatchEvent("feedbackShown"),this.B=gv(this.A,.5),g.L(this,this.B),this.B.play(),g.M(this.A,!0),this.F=!0,Jga(this))};
jv.prototype.H=function(a){Q()||a.stopPropagation();a=a.target.yi;null!=a&&(Dr(a,"selected")?(g.T(this.A,"optionSelected"),null!=this.C&&g.Br(this.C,"selected"),this.C=a):(g.Br(this.A,"optionSelected"),this.C=null),a=null!=this.C?g.zr(this.C,"videoAdUiBrandInteractionLikeButton")?"l":g.zr(this.C,"videoAdUiBrandInteractionDislikeButton")?"d":"n":"n","l"==a?this.dispatchEvent("feedbackLike"):"d"==a&&this.dispatchEvent("feedbackDislike"),this.J&&(hv(this.A).play(),g.Vg(function(){g.M(this.A,!1)},500,
this)),null!=this.o&&(null!=lf(this.o,wf,15)?Kga(this):Lga(this)))};
jv.prototype.W=function(){null!=this.A&&(g.qe(this.A),this.A=null);this.C=null;jv.fa.W.call(this)};g.B(lv,g.jg);lv.prototype.D=function(){this.o?this.dispatchEvent("videoUnmuteClicked"):this.dispatchEvent("videoMuteClicked")};
lv.prototype.W=function(){this.Z.dispose();this.Z=null;lv.fa.W.call(this)};g.B(mv,g.jg);mv.prototype.W=function(){null!=this.C&&(g.qe(this.C),this.C=null);mv.fa.W.call(this)};
mv.prototype.update=function(a,b){if(!(0>=b))if(0>a)this.G=1;else if(1==this.G)gv(this.C,.5).play(),g.M(this.C,!0),this.G=2;else{var c=Math.round(b-a);this.F?nv(this,this.L,c):this.B?nv(this,this.o,c):this.K&&5<a&&(this.K=!1,g.M(this.o,!1))}};
mv.prototype.M=function(){g.ki(this.o)||g.M(this.o,!0)};g.B(g.ov,g.K);g.h=g.ov.prototype;g.h.start=function(){this.stop();this.C=!1;var a=pv(this),b=qv(this);a&&!b&&this.o.mozRequestAnimationFrame?(this.Ja=g.Vf(this.o,"MozBeforePaint",this.A),this.o.mozRequestAnimationFrame(null),this.C=!0):this.Ja=a&&b?a.call(this.o,this.A):this.o.setTimeout(yaa(this.A),20)};
g.h.ak=function(){this.isActive()||this.start()};
g.h.stop=function(){if(this.isActive()){var a=pv(this),b=qv(this);a&&!b&&this.o.mozRequestAnimationFrame?g.eg(this.Ja):a&&b?b.call(this.o,this.Ja):this.o.clearTimeout(this.Ja)}this.Ja=null};
g.h.isActive=function(){return null!=this.Ja};
g.h.ZK=function(){this.C&&this.Ja&&g.eg(this.Ja);this.Ja=null;this.D.call(this.B,(0,g.H)())};
g.h.W=function(){this.stop();g.ov.fa.W.call(this)};g.B(g.V,g.K);g.h=g.V.prototype;g.h.Ja=0;g.h.W=function(){g.V.fa.W.call(this);this.stop();delete this.o;delete this.A};
g.h.start=function(a){this.stop();this.Ja=g.Vg(this.C,g.Aa(a)?a:this.Fd)};
g.h.stop=function(){this.isActive()&&g.Wg(this.Ja);this.Ja=0};
g.h.isActive=function(){return 0!=this.Ja};
g.h.RB=function(){this.Ja=0;this.o&&this.o.call(this.A)};(function(){if(uya){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(g.Kb))?a[1]:"0"}return tT?(a=/10[_.][0-9_.]+/,(a=a.exec(g.Kb))?a[0].replace(/_/g,"."):"10"):g.fp?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(g.Kb))?a[1]:""):Zo||$o||Hya?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(g.Kb))?a[1].replace(/_/g,"."):""):""})();g.B(wv,g.jg);g.h=wv.prototype;g.h.W=function(){g.Gf(this.B);this.B=null;g.Gf(this.J);this.J=null;null!=this.C&&(g.qe(this.C),this.C=null);null!=this.skipButton&&(this.skipButton=null);null!=this.A&&(g.qe(this.A),this.A=null);this.V.dispose();this.V=null;this.kc.dispose();this.kc=null;wv.fa.W.call(this)};
g.h.update=function(a,b){this.ia=b;this.Rt(a);2==this.state&&vv(this,a)};
g.h.skip=function(){return null==this.config.skipOffset||3!=this.state||this.ga?!1:(this.ga=!0,this.dispatchEvent("PUBLISHER_INVOKED_SKIP"),!0)};
g.h.Rt=function(a){if(!(0>=this.ia||null==this.config.skipOffset||0>ar(this.config.skipOffset))){var b=ar(this.config.skipOffset);b>=this.ia||3==this.state||(0>a?this.state=1:a<=b?(2!=this.state&&(vv(this,0),gv(this.C,.5).play(),g.M(this.C,!0)),this.state=2):(3!=this.state&&this.fA(),this.state=3,this.dispatchEvent("skipshown")))}};
g.h.fA=function(){g.M(this.A,!0);this.J=xv(this.C);this.J.play();this.B=gv(this.A,.5);this.B.play();this.skipButton.autofocus&&this.skipButton.focus()};
g.h.PV=function(a){Q()||a.stopPropagation();3!=this.state||this.ga||(this.ga=!0,this.dispatchEvent("skip"))};g.B(Dv,wv);var zv={lB:0,kB:1},Av={lB:1,kB:0},Bv={VA:15},Cv={VA:300};g.h=Dv.prototype;g.h.W=function(){Dv.fa.W.call(this);Fv(this);Hv(this)};
g.h.Rt=function(a){Dv.fa.Rt.call(this,a);if(3==this.state&&!this.aa&&!this.ka){var b=Jv(this.Y,this.o);if(a=Iv(a,this.config,this.Y))if(this.H==this.L.lB&&a>=b)switch(this.L){case zv:Ev(this);break;case Av:Gv(this,!0)}else if(this.H==this.L.kB&&a<b)switch(this.L){case Av:Ev(this);break;case zv:Gv(this,!0)}}};
g.h.fA=function(){g.M(this.A,!0);this.J=xv(this.C);this.J.play();if(this.aa)var a=!1;else{a=Jv(this.Y,this.o);var b=Iv(ar(this.config.skipOffset),this.config,this.Y);if(null!=b){var c=!1;switch(this.L){case Av:c=b<a;break;case zv:c=b>=a}a=c}else a=!1}a?(this.H=1,this.B=fv(this.A,.5,"ease-in",0,this.ea)):this.B=gv(this.A,.5);this.B.play();this.skipButton.autofocus&&this.skipButton.focus();this.aa||(this.kc.X(g.ve(this.A),"mouseover",this.UP),this.kc.X(g.ve(this.A),"mouseout",this.TP))};
g.h.UP=function(){Hv(this);0!=this.H&&Gv(this,!1);this.ka=!0};
g.h.TP=function(){Hv(this);this.M=g.Vg(function(){this.ka=!1;this.M=null},5E3,this)};Kv.prototype.getDuration=function(){return this.A};
Kv.prototype.zd=function(){return this.o};
Kv.prototype.display=function(a){this.B=a;this.B.appendChild(this.o);Lv(this);g.M(this.o,!1)};
Kv.prototype.update=function(a,b){var c=null!=this.G?ar(this.G):0;this.A=0<=this.A?this.A:b;c<=a&&c+this.A>=a?Nga(this):g.M(this.o,!1)};g.B(Mv,g.jg);g.h=Mv.prototype;g.h.show=function(){null!=this.o&&g.M(this.o,!0)};
g.h.skip=function(){var a;if(a=null!=this.A)a=this.A,a=null!=a.config.skipOffset&&3==a.state;return a?this.A.skip():!1};
g.h.W=function(){null!=this.o&&(g.qe(this.o),this.o=null);null!=this.wa.C&&this.wa.C.Mj();Nv(this);(0,g.C)(this.Y,function(a){a.ad()});
this.Y=[];this.C=null;this.Z.dispose();this.Z=null;Mv.fa.W.call(this)};
g.h.update=function(a,b,c,d,e){null!=this.o&&(null!=this.Aa&&Tv(this,a,c,d,e),null!=this.ha&&g.fi(this.ha,a/c*100+"%"),null!=this.Ra&&g.fi(this.Ra,b/c*100+"%"),0<c&&null!=this.wa.skipOffset&&null!=this.A&&($q(this.wa.skipOffset,c),this.A.update(a,c)),0<c&&null!=this.M&&this.M.update(a),0<c&&null!=this.H&&this.H.update(a,c),this.wa.O&&0<c&&5>c-a&&g.T(this.ea,"videoAdUiTopBarNoFade"),(0,g.C)(this.sa,function(f){f.update(a,c)},this))};
g.h.Tm=function(a){this.ga=!this.wa.L&&Q();this.Oa=!Q()&&P.Oa;var b="";this.ga?b="redesign2014q4":this.Oa&&(b="fixedDirectionality");b={ki:this.wa.ki,learnMoreText:this.wa.learnMoreText,mf:this.wa.mf,lp:b};this.o=Er(this.wa.K,b);this.wa.xa||this.Z.X(this.o,"touchmove",this.qM);this.ha=g.Zd("videoAdUiProgress",this.o);this.Ra=g.Zd("videoAdUiBuffer",this.o);this.J=g.Zd("videoAdUiAttributionContainer",this.o);this.ya=g.Zd("videoAdUiAttributionIconContainer",this.o);this.Aa=g.Zd("videoAdUiAttribution",
this.o);this.ka=g.Zd("videoAdUiVisitAdvertiserLink",this.o);this.B=g.Zd("videoAdUiVisitAdvertiserLinkText",this.o);zo().o("ads_backend_enable_proper_visit_advertiser_click_area_on_ima_desktop")&&(this.ka&&g.T(this.ka,"matchBulleitClickArea"),this.B&&g.T(this.B,"matchBulleitClickArea"));this.aa=g.Zd("videoAdUiVisitAdvertiserIcon",this.o);g.Zd("videoAdUiBottomBarMessage",this.o);this.L=g.Zd("videoAdUiAuthorIcon",this.o);this.D=g.Zd("videoAdUiAuthorName",this.o);this.F=g.Zd("videoAdUiLearnMore",this.o);
this.O=g.Zd("videoAdUiLearnMoreText",this.o);this.ga?(this.K=g.Zd("videoAdUiTopButtonShare",this.o),this.La=g.Zd("videoAdUiTopButtonShareTooltip",this.o),this.Ia=g.Zd("videoAdUiTopButtonInfo",this.o),this.Sa=g.Zd("videoAdUiTopButtonWatchLater",this.o)):this.K=g.Zd("videoAdUiShare",this.o);this.G=g.Zd("videoAdUiTitle",this.o);this.ea=g.Zd("videoAdUiTopBar",this.o);this.ma=g.Zd("videoAdUiBottomBar",this.o);null!=this.L&&this.Z.X(this.L,"click",this.SJ);if(null!=this.D){var c=new Iu;this.Y.push(c);this.Z.X(c,
"click",this.TJ);c.Cb(this.D)}null!=this.F&&(c=new Iu,c.D=!0,this.Y.push(c),this.Z.X(c,"click",this.LC),c.Cb(this.F));null!=this.O&&(c=new Iu,c.D=!0,this.Y.push(c),this.Z.X(c,"click",this.LC),c.Cb(this.O));null!=this.K&&this.Z.X(this.K,"click",this.LV);null!=this.G&&(c=new Iu,this.Y.push(c),this.Z.X(c,"click",this.ZV),c.Cb(this.G));null==this.ea||!Q()&&Yo()||this.Z.X(this.o,"mouseover",this.IV);null!=this.B&&this.Z.X(this.B,"click",this.hs);null!=this.aa&&this.Z.X(this.aa,"click",this.hs);null!=this.J&&
null!=this.wa.C&&(g.T(this.J,"videoAdUiWtaClickable"),this.Z.X(this.J,"click",this.Xw),this.Z.X(this,"why_this_ad_got_it",this.Hy));this.wa.breakType=this.Fa;if(null!=this.wa.skipOffset)this.A=Q()?new Dv(this.wa,this.o):new wv(this.wa,this.o),this.A.Zh(this),this.A.sa=b.lp;else if(this.wa.aa&&!(3==this.Fa&&3500>this.ba)){if(3==this.Fa||this.wa.A)this.wa.Y=!0;this.H=new mv(this.wa,this.o);g.L(this,this.H);this.H.Zh(this)}this.wa.J&&(this.ia=new Ru(this.wa,this.o),g.L(this,this.ia),this.ia.Zh(this));
b=this.wa;b.Ia?(b=b.o,b=Q()&&null!=b&&null!=ff(b,1)&&null!=ff(Cf(b),3)&&kf(lf(Cf(b),vf,3),1)?!0:!1):b=!1;b&&(this.M=new jv(this.wa,this.o),this.Z.X(this.M,"yt-show-toast",this.YJ),this.Z.X(this.M,"feedbackShown",this.Bt),this.Z.X(this.M,"feedbackLike",this.Bt),this.Z.X(this.M,"feedbackDislike",this.Bt));this.wa.ka&&(this.V=new lv,this.V.Zh(this),this.ma.insertBefore(this.V.A,this.J));400>=(parseInt(Th(a,"width"),10)||a.width)&&g.T(this.o,"videoAdUi-mobile");this.wa.L&&(g.T(this.o,"blazer"),g.T(this.o,
"blazer-ui-for-cougar"),window.settings&&window.settings.isTablet||window.ytcfg&&window.ytcfg.data_&&window.ytcfg.data_.IS_TABLET?(g.T(this.o,"tablet"),(window.settings&&window.settings.customControls||window.ytcfg&&window.ytcfg.data_&&window.ytcfg.data_.USE_CUSTOM_CONTROLS)&&g.T(this.o,"customControls")):g.T(this.o,"phone"));b=g.Fe(a,"html5-video-player");null!=b&&(this.ga&&g.T(b,"videoAdUiRedesign"),g.U(b,"ytp-video-ad-learn-more-ui",this.wa.G));g.M(this.o,!1);a.appendChild(this.o);this.wa.G||this.ga||
!this.wa.ha||(this.C=g.ie("DIV",{style:"width:100%;height:100%;pointer-events:auto;"}),this.o.appendChild(this.C));Tv(this,0,this.ba/1E3,1,1);Sv(this)};
g.h.SJ=function(){this.dispatchEvent("videoAuthorIconClicked")};
g.h.TJ=function(){this.dispatchEvent("videoAuthorClicked")};
g.h.YL=function(a){var b=a.H;a=a.J;g.E(g.G(b))||this.dispatchEvent(new lo("videoIconClicked",null,{clickThroughUrl:b}));(0,g.C)(a,function(c){Jo(c)})};
g.h.LC=function(){this.dispatchEvent("videoLearnMoreClicked")};
g.h.LV=function(){this.dispatchEvent("videoShareClicked")};
g.h.ZV=function(){this.dispatchEvent("videoTitleClicked")};
g.h.qM=function(a){a.preventDefault()};
g.h.hs=function(){this.dispatchEvent("click")};
g.h.YJ=function(a){this.dispatchEvent(a)};
g.h.Bt=function(a){this.dispatchEvent(a.type)};
g.h.fb=function(){null!=this.sa&&(0,g.C)(this.sa,function(a){Lv(a)},this)};
g.h.IV=function(){g.T(this.ea,"videoAdUiTopBarTransitions")};
g.h.Xw=function(){var a=g.Fe(this.o,"html5-video-player");null!=a&&($u(this.wa.C,a,this),null!=this.A&&yv(this.A,!1),null!=this.H&&(a=this.H,null!=a.A&&g.M(a.A,!1)))};
g.h.Hy=function(){null!=this.A&&yv(this.A,!0);if(null!=this.H){var a=this.H;null!=a.A&&g.M(a.A,!0)}};g.B(Uv,g.K);Uv.prototype.report=function(a,b){var c=b||br(this.C,a.type);if(P.o){var d=cq(Zp(),a.type,this.B);this.K(a.type,c,d)}else Dea(Gp(),a.type,this.B,(0,g.A)(this.K,this,a.type,c))};
Uv.prototype.K=function(a,b,c){c=g.ic(c||{});if("timeout"==(c.viewability||"")){var d=this.H[a];null!=d&&(c.viewability=d)}if("impression"==a&&!this.J&&null!=this.F&&0<this.F.length){d=P.H&&g.Ya(this.G,"impression");var e=Vv(this,this.F,c);Xv(this,e,d);this.J=!0}Rga(this,a)&&0<b.length&&(d=P.H&&g.Ya(this.G,a),b=Vv(this,b,c),Xv(this,b,d),this.A.set(a,!0))};g.B(Yv,g.jg);g.h=Yv.prototype;g.h.Cm=function(){if(this.tb()){var a=Eu(this.xc);if(null!=a)return a}return""};
g.h.Bm=function(){if(this.tb()){var a=Fu(this.xc);if(null!=a)return a}return""};
g.h.pf=function(){return g.Za(this.ads)?null:this.ads[0]};
g.h.va=function(){if(this.tb()){if(this.xc.isSkippable()&&!mp())throw Ro(aD,null,"skippablevideo");if(null!=Au(this.xc)&&$v(this,this.xc.A))throw Ro(aD,null,"vpaidWithSkippabilityOverride");return this.xc}throw Ro(dw,null,"An ad has not been selected.\n"+Error().stack);};
g.h.tb=function(){return null!==this.xc};
g.h.mj=function(){var a=Xa(this.ads,this.xc);-1!=a&&++a<this.ads.length?Zv(this,this.ads[a]):Zv(this,null)};
g.h.Nm=function(){var a=Xa(this.ads,this.xc);return-1==a?!1:a+1<this.ads.length};
g.h.Pe=function(){if(!this.Nm())return null;var a=Xa(this.ads,this.xc)+1;return this.ads[a]};
g.h.vh=function(a){var b=a.A;if(b&&b.sa&&(b=b.F,!g.Za(b)&&b[0]instanceof hr))return b[0].vh();b=a.o;return bw(a)?b.vh():[]};
g.h.xr=function(){if(!this.tb()){if(g.Za(this.ads))throw Ro(ND);Zv(this,this.ads[0]);if(null==this.xc.o)throw Qo(ND);}};
g.h.oa=function(a,b){var c=this.tb()?this.va():null;this.dispatchEvent(new lo(a,c,b))};
g.h.ah=function(a){this.de=a};
g.h.Za=function(){null==this.kc&&(this.kc=new g.Xn(this));return this.kc};
g.h.XQ=function(){};
g.h.Ow=function(){};
g.h.Qd=function(a){if(null!=this.de){g.co(this.Je);this.Je.Mh(this.de,"companion_display_error",function(){});
var b=this.de.Qd(a);null!=b&&(this.Je.X(b,"companion_impression",this.XQ),this.Je.X(b,"companion_click",this.Ow),Q()&&(a=new Hu(a,b),this.oa("companionInitialized",a)));if(!this.de.iA())throw Ro(g1);}};
g.h.destroy=function(){this.dispose()};
g.h.W=function(){this.tb()&&(bs(this.xc,null),this.xc=null);g.Gf(this.kc);this.de=this.kc=null;this.bp=!1;P.o?dq(Zp(),this.ks):Gp().G=null;this.Ta&&(g.Gf(this.Ta),this.Ta=null);Yv.fa.W.call(this)};
g.h.Oe=function(){return[]};
g.h.zb=function(){return this.ads[0]};
g.h.lk=function(){(0,g.C)(this.ads,function(a){for(var b,c=a.getExtension("sodar");!c&&(a=a.A);)c=a.getExtension("sodar");if(b=c){c=b.B;var d=b.C;a=b.D;var e=b.A;if(c&&d&&a&&e){b=window;var f="//pagead2.googlesyndication.com/bg/"+g.tc(a)+".js";a=b.document;var k={};d&&(k._scs_=d);k._bgu_=f;k._bgp_=e;k._li_="v_h.0.0.0";(d=b.GoogleTyFxhY)&&"function"==typeof d.push||(d=b.GoogleTyFxhY=[]);d.push(k);d=Wd(a).createElement("SCRIPT");d.type="text/javascript";d.async=!0;c=Iaa(g.Uc("//tpc.googlesyndication.com/sodar/%{path}"),
{path:g.tc(c)+".js"});Hd(d,c);a.getElementsByTagName("head")[0].appendChild(d)}}})};
g.h.init=function(a){ew(this);this.Cc(a);this.ye=!0;this.Lk();P.o||(a=this.ks,Gp().G=a)};
g.h.Lk=function(){this.oa("loaded")};
g.h.Zk=function(a){this.tb()&&Q()&&No(St(this.va()),a)};
g.h.YF=g.z;g.h.Vc=function(a,b,c){if(!this.bp){if(null==a)throw Ro(Mp,null,"displayContainer");null!=c&&this.gf(c);this.content=b;this.Na=a;this.xr();this.Ma=this.Na.Qm(aw(this));this.bp=!0}};
g.h.Zg=function(a){a=Wp(Jt(a),"rm")?a.K:St(a);(0,g.C)(a,function(b){g.bb(this.hc.F,b)},this)};
g.h.pg=function(a,b){(0,g.C)(b,function(c){c=er(a,c);Yq(this.hc.C,c)},this)};
g.h.Uk=function(a){if(a instanceof hr){var b=ir(a);(0,g.C)(b.Gb(),function(c){var d=b.get(c);(0,g.C)(d,function(e){Zq(this.hc.C,c,e)},this)},this)}};
g.h.Ga=function(a){this.hc.report(new g.If(a))};
g.h.getCurrentTime=function(){return-1};
g.h.getDuration=function(){return-1};
g.h.Pc=function(){return-1};
g.h.sb=function(){return null!=this.Ma?this.Ma.sb():!1};
g.h.fb=function(a,b,c){this.Cc(c)};
g.h.pause=g.z;g.h.resume=g.z;g.h.skip=g.z;g.h.muteAdClicked=g.z;g.h.muteAd=g.z;g.h.whyThisAdClicked=g.z;g.h.whyThisAdClosed=g.z;g.h.gf=function(a){if(null==a||!Sga(this,a))throw Ro(Mp,null,"adsRenderingSettings should be instance of AdsRenderingSettings");var b=this.Va;if(null==a.bitrate||0>=a.bitrate)a.bitrate=-1;null==a.Pm&&(a.Pm=[]);Tga(a.Pm);if(!g.Ca(a.eg)||0>=a.eg)a.eg=1E4;g.lc(b,a)};
g.h.start=function(){ew(this);if(!this.ye)throw Qo(dw,null,"Must call init before start.");};
g.h.stop=function(){this.destroy()};
g.h.getVolume=function(){return null!=this.volume?this.volume:0};
g.h.setVolume=function(a){(isNaN(a)||0>a||1<a)&&Uo(this,Mp,null,"volume",String(a));this.volume=a};
g.h.expand=function(){ew(this);this.Cc("fullscreen")};
g.h.collapse=function(){ew(this);this.Cc("normal")};
g.h.Cc=function(a){if(!g.Yb(iza,a))throw Ro(Mp,null,"view mode",a);this.dd=a};
g.h.Ac=function(){return this.bp};
g.h.hasListeners=function(a){return(0,g.wj)(a,function(b){if(g.Of(this))b=this.hasListener(b,void 0);else{var c=g.Yf(this);b=!!c&&c.hasListener(b,void 0)}return b},this)};
g.h.wh=function(){return null};
g.h.Zj=function(){return null};
g.h.bG=function(){return null};
g.h.Ne=function(){return null};
g.h.Cf=function(){this.Ga("abandon")};
g.h.YK=function(){return{currentTime:this.getCurrentTime(),duration:this.getDuration(),isPlaying:this.sb(),isVpaid:this.tb()&&null!=Au(this.va()),isYouTube:Q(),volume:this.getVolume()}};
g.h.qk=function(a){do if(qu(a))return!1;while(a=a.A);return!0};
g.h.Xm=function(){for(var a=0;a<this.ads.length;++a)if(!this.qk(this.ads[a]))return!1;return Yo()};
g.h.gV=function(a){var b=g.gb(d1,g.Ub(f1));nb(b);(0,g.C)(b,function(c){var d=Xq(a.o,c);g.Za(d)||this.tx(c,d)},this);
Qga(this.hc,a.J)};
g.h.tx=function(a,b){(0,g.C)(b,function(c){var d=c.Xb();c=c.Xa();Zq(this.hc.C,d,c)},this)};
g.h.FR=function(a){this.Va.WA||(a=a.o,null!=a&&(a=a.clickThroughUrl,null!=a&&(Io(a),this.pause())))};
g.h.Mk=function(a){var b=a.type;if(g.Ya(e1,b)){if("externalActivityEvent"==b&&(b=a.o.eventName,!f1[b]))return;cw(this,b)}};var jw=["classid","data","movie","type","typemustmatch"];g.Ea(g.kw);g.kw.prototype.o=0;g.B(g.lw,g.jg);g.h=g.lw.prototype;g.h.aM=g.kw.getInstance();g.h.getId=function(){return this.Ja||(this.Ja=":"+(this.aM.o++).toString(36))};
g.h.ra=function(){return this.o};
g.h.Zh=function(a){if(this.D&&this.D!=a)throw Error("Method not supported");g.lw.fa.Zh.call(this,a)};
g.h.Hp=function(){this.o=this.J.createElement("DIV")};
g.h.Qj=function(){this.Ye=!0;nw(this,function(a){!a.Ye&&a.ra()&&a.Qj()})};
g.h.lm=function(){nw(this,function(a){a.Ye&&a.lm()});
this.F&&g.co(this.F);this.Ye=!1};
g.h.W=function(){this.Ye&&this.lm();this.F&&(this.F.dispose(),delete this.F);nw(this,function(a){a.dispose()});
this.o&&g.qe(this.o);this.D=this.o=this.G=this.L=null;g.lw.fa.W.call(this)};
g.h.zd=function(){return this.o};
g.h.removeChild=function(a,b){if(a){var c=g.v(a)?a:a.getId();a=this.G&&c?gc(this.G,c)||null:null;if(c&&a){fc(this.G,c);g.db(this.L,a);b&&(a.lm(),a.o&&g.qe(a.o));c=a;if(null==c)throw Error("Unable to set parent component");c.D=null;g.lw.fa.Zh.call(c,null)}}if(!a)throw Error("Child is not in parent component");return a};g.B(ow,g.lw);g.h=ow.prototype;g.h.kb=null;g.h.qs="window";g.h.Io="sameDomain";g.h.setSize=function(a,b){this.B=g.v(a)?a:Math.round(a)+"px";this.C=g.v(b)?b:Math.round(b)+"px";this.ra()&&g.gi(pw(this),this.B,this.C);return this};
g.h.Qj=function(){ow.fa.Qj.call(this);for(var a=this.ra(),b=this.A.Gb(),c=this.A.wb(),d=[],e=0;e<b.length;e++){var f=g.rc(b[e]),k=g.rc(c[e]);d.push(f+"="+k)}b=d.join("&");if(g.de&&!g.Mc(11)){d=this.H;c={allowFullScreen:"true",AllowScriptAccess:this.Io,allowNetworking:"all",bgcolor:"#000000",FlashVars:b,quality:"high",SeamlessTabbing:"false",wmode:this.qs};b={"class":"goog-ui-media-flash-object",id:this.getId(),name:this.getId()};Uga(b,c);e={allownetworking:"none",allowscriptaccess:"never",movie:d};
d={};for(l in e)d[l]=e[l];for(l in c)f=l.toLowerCase(),f in e&&delete d[f],d[l]=c[l];c=[];for(l in d)c.push(Bd("param",{name:l,value:d[l]}));var l=Cd({classid:"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"},{},b);l=Bd("object",l,c)}else l={AllowScriptAccess:this.Io,allowFullScreen:"true",allowNetworking:"all",bgcolor:"#000000","class":"goog-ui-media-flash-object",FlashVars:b,id:this.getId(),name:this.getId(),quality:"high",SeamlessTabbing:"false",wmode:this.qs},l=Cd({src:this.H,type:"application/x-shockwave-flash",
pluginspage:"https://www.macromedia.com/go/getflashplayer"},{allownetworking:"none",allowscriptaccess:"never"},l),l=Bd("embed",l);g.Ed(a,l);this.B&&this.C&&this.setSize(this.B,this.C);this.Z.X(this.ra(),g.Ub(Pya),Jf)};
g.h.Hp=function(){if(null!=this.K&&!(0<=g.Jb(TC,this.K)))throw Error("Method not supported");var a=this.J.createElement("DIV");a.className="goog-ui-media-flash";this.o=a};
g.h.W=function(){ow.fa.W.call(this);this.A=null;this.Z.dispose();this.Z=null};
g.h.Mb=function(){return this.Ye&&this.ra()?g.mO&&pw(this).readyState&&"complete"==pw(this).readyState||pw(this).readyState&&4==pw(this).readyState||"PercentLoaded"in pw(this)&&100==pw(this).PercentLoaded()?!0:!1:!1};g.B(qw,g.jg);var sza=bd(g.Uc("https://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf"));bd(g.Uc("http://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf"));g.h=qw.prototype;g.h.dispose=function(){this.o&&(this.o.dispose(),this.A=null);window[this.C]&&delete window[this.C];g.Wg(this.B)};
g.h.load=function(a,b,c,d){window[this.C]=(0,g.A)(this.cM,this);this.o=new ow(sza);this.o.setSize(b,c);this.o.Io="always";this.o.qs="transparent";this.o.A.set("vpaid",a);this.o.A.set("vpaidEventHandler",this.C);mw(this.o,this.F);this.A=pw(this.o);this.B=g.Vg(this.dM,d,this)};
g.h.bM=function(a){if(!this.A)return null;var b=Array.prototype.slice.call(arguments),c=b.shift();if(!this.D&&"handshakeVersion"!=c&&"initAd"!=c)return null;try{if(this.A[c])return this.A[c].apply(this.A,b)}catch(d){}return null};
g.h.cM=function(a,b){"AdLoaded"==a&&(g.Wg(this.B),this.D=!0);this.dispatchEvent(new Vo(a,b||null))};
g.h.dM=function(){this.dispatchEvent("loadError")};g.B(uw,or);uw.prototype.Dg=function(){var a=this.dv();a=null!=a&&"clicktag"==a.toLowerCase();a={url:Go(g.G(this.A)),width:this.ab(),height:this.getHeight(),mh:this.uf(),capture:this.sA||!a};var b=Q()&&Wp(this.H,"hideMaster")?Tq:afa;a=Er(b,a);a.style.width=this.ab()+"px";a.style.height=this.getHeight()+"px";a.id=this.Ja;(0,g.C)(a.getElementsByTagName("object"),this.Hj,this);(0,g.C)(a.getElementsByTagName("a"),this.Hj,this);return a};g.B(vw,or);vw.prototype.Dg=function(){var a=g.ie("DIV");a.innerHTML=this.A;this.Hj(a);return sr(this,a)};g.B(ww,or);ww.prototype.Xc=function(){var a=ww.fa.Xc.call(this);this.F&&(a=a.replace('src=""','src="'+Go(g.G(this.A))+'"'));return a};
ww.prototype.gv=function(){var a=ww.fa.gv.call(this);this.F&&(a=a.replace('src=""','src="'+Go(g.G(this.A))+'"'));return a};
ww.prototype.Dg=function(a){var b="";this.F||(b=Go(g.G(this.A)));b={id:this.Ja,url:b,mh:this.uf(),width:this.ab()+"px",height:this.getHeight()+"px"};a=Q()&&Wp(this.H,"hideMaster")?Tq:a?cfa:bfa;a=Er(a,b);(0,g.C)(a.getElementsByTagName("a"),this.Hj,this);return a};
ww.prototype.Sm=function(){return!0};zw.prototype.Ad=function(){return null!=this.o?lr[this.o]||"Other":null};g.B(Aw,wr);Bw.prototype.parse=function(a){if(null==a)return null;var b,c,d;(0,g.C)(se(a),function(e){switch(e.nodeName){case "AdFormat":b=e.getAttribute("ad_system"),c=e.getAttribute("ad_type"),d=e.getAttribute("instream_type")}},this);
return null!=b&&null!=c&&null!=d?new Aw(b,c,d):null};g.B(Dw,wr);Dw.prototype.isPharma=function(){return this.G};Ew.prototype.parse=function(a){var b;vt(a,"config",function(c){null!=b||(b=Zga(this,c))},this);
return b};Fw.prototype.parse=function(a){if(null==a)return null;var b,c,d,e,f,k,l,m,n=!1,p,q=!1;(0,g.C)(se(a),function(u){switch(u.nodeName){case "AttributionText":c=ut(u);break;case "AttributionUrl":d=ut(u);break;case "ConversionUrl":f=ut(u);break;case "CustomTracking":null!=se(u)&&(e=Ct(u));break;case "is_pharma":u=tt(u,"bool");q=zt(g.G(u));break;case "CheckedEvents":u=se(u);b=(0,g.I)(u,function(D){return tt(D,"id")});
null!=b||(b=[]);break;case "PreviousAdInformation":k=ut(u);break;case "VisibleUrl":l=ut(u);break;case "UI":m=(new Ew).parse(u);break;case "ShowYouTubeAnnotations":var w=ut(u);n=zt(g.G(w),!1);case "QueryId":p=ut(u)}},this);
null!=m||(m=new Cw);return new Dw(c,d,f,k,l,m,n,p,q,e,b)};Gw.prototype.parse=function(a){if(null==a)return null;var b;(0,g.C)(se(a),function(c){switch(c.nodeName){case "CustomTracking":null!=se(c)&&(b=Ct(c))}});
a=null;null!=b&&0<Xq(b,"skip").length&&(a="Generic");return new Ft(a,b)};Hw.prototype.parse=function(a){if(null==a)return null;var b,c;(0,g.C)(se(a),function(d){switch(d.nodeName){case "SkippableAdType":b=ut(d);break;case "CustomTracking":null!=se(d)&&(c=Ct(d))}});
return new Ft(b,c)};Iw.prototype.parse=function(a){if(null==a)return null;var b;(0,g.C)(se(a),function(c){switch(c.nodeName){case "CustomTracking":null!=se(c)&&(b=Ct(c))}},this);
return new wr(b)};Nw("d");Ow("d");Pw("d");var m1=Nw("f");Ow("f");Pw("f");var nx=Nw("i");Ow("i");Pw("i");Nw("j");Ow("j");Pw("j",void 0);Pw("j",void 0);Nw("u");Ow("u");Pw("u");Nw("v");Ow("v");Pw("v",void 0);Pw("v",void 0);var n1=Nw("b");Ow("b");Pw("b");var fx=Nw("e");Ow("e");Pw("e");var gx=Nw("s");Ow("s");var tza=Pw("s");Nw("B");Ow("B");Pw("B");Nw("x");Ow("x");Pw("x");Nw("y");Ow("y");Pw("y",void 0);Pw("y",void 0);Nw("g");Ow("g");Pw("g");Nw("h");Ow("h");Pw("h",void 0);Pw("h",void 0);Nw("n");Ow("n");Pw("n");Nw("o");Ow("o");
Pw("o",void 0);Pw("o",void 0);Sw.prototype.clone=function(){var a=this.constructor,b={},c=this.o;if(b!==c){for(var d in b)b.hasOwnProperty(d)&&delete b[d];Kw(b,c)}return new a(b)};var o1;g.B(Yw,Sw);var p1;g.B(Zw,Sw);var q1,r1;g.B($w,Sw);var ex;g.B(ax,Sw);var kx;g.B(Ww,Sw);var s1,t1;g.B(bx,Sw);var u1;g.B(cx,Sw);var v1,w1;g.B(dx,Sw);var x1,y1,z1,A1,B1,C1,D1,E1,F1,G1,H1,mx;g.B(nu,Sw);var I1,J1,K1,L1,M1;Zw.prototype.Xb=function(){return Tw(this,"type",0)};
Zw.prototype.A=function(){return new dx(this.o.website_card)};
Zw.prototype.Qe=function(){return new $w(this.o.placement)};
ax.prototype.Xb=function(){return Tw(this,"type",0)};
ax.prototype.getId=function(){return et(this,"id")};
ax.prototype.setTitle=function(a){this.o.title=a};
Ww.prototype.Xb=function(){return Tw(this,"type",0)};
bx.prototype.Bd=function(){return et(this,"headline")};
bx.prototype.setDescription=function(a){this.o.description=a};
cx.prototype.setDescription=function(a){this.o.description=a};
dx.prototype.Bd=function(){return et(this,"headline")};
dx.prototype.setDescription=function(a){this.o.description=a};
dx.prototype.Ig=function(){return new nu(this.o.icon)};
dx.prototype.xp=function(){return new nu(this.o.banner_image)};
nu.prototype.getImageUrl=function(){return et(this,"image_url")};var qx,uza={TYPE_APPLICATION_ENGAGEMENT:26,TYPE_APPLICATION_STORE:4,TYPE_ATTRIBUTION:5,TYPE_CALL_PROMPT:22,TYPE_CHANNEL:2,TYPE_COLLAPSE:17,TYPE_ENGAGEMENT_PANEL:20,TYPE_EXTERNAL:16,TYPE_FUNDRAISING:10,TYPE_GOOGLE_MAP_DIRECTIONS:23,TYPE_GOOGLE_MAP_PLACES:24,TYPE_HEADLINE:1,TYPE_HELPOUTS:15,TYPE_INLINE_APPLICATION_STORE:19,TYPE_INTERNAL:13,TYPE_IRDB:8,TYPE_LETTERMAN:14,TYPE_MERCH:9,TYPE_NONE:0,TYPE_PLAYLIST:7,TYPE_RESPONSE:12,TYPE_RESULTS:11,TYPE_SLAP:21,TYPE_SUBMIT_USER_INFO:25,TYPE_SUBSCRIPTION:6,
TYPE_VIDEO:3,TYPE_VOTE:18},N1={TYPE_ACTION:6,TYPE_ACTION_ENDCAP:9,TYPE_ACTION_INITIATED:14,TYPE_COLLAPSE:3,TYPE_COLLAPSE_ENDCAP:10,TYPE_DISMISS:4,TYPE_DISMISS_ENDCAP:11,TYPE_ERROR:13,TYPE_EXPAND:2,TYPE_HEADLINE_CLICK:5,TYPE_IMPRESSION:1,TYPE_IMPRESSION_ENDCAP:8,TYPE_IMPRESSION_GALLERY:7,TYPE_NONE:0,TYPE_TERMINATING_ACTION:12};
qx={action:{type:uza},ad_card:{attribution_position:{POSITION_BOTTOM_LEFT:0,POSITION_BOTTOM_RIGHT:3,POSITION_TOP_LEFT:1,POSITION_TOP_RIGHT:2}},app_events:{type:{APP_TRACKING_EVENT_TYPE_APP_IS_INSTALLED:1,APP_TRACKING_EVENT_TYPE_APP_IS_NOT_INSTALLED:2,APP_TRACKING_EVENT_TYPE_UNKNOWN:0}},card:{prominence:{PROMINENCE_FEATURE:2,PROMINENCE_HIGHLIGHT:1,PROMINENCE_NONE:0},type:{TYPE_APP:2,TYPE_CALL:8,TYPE_FORMFILL:7,TYPE_LOCATION:5,TYPE_NONE:0,TYPE_PRODUCT:1,TYPE_STORE_VISITS:6,TYPE_VOTE:3,TYPE_WEBSITE:4}},
event:{type:N1},form_ad_format_config:{form_ad_format_type:{FORM_AD_FORMAT_TYPE_IMMERSIVE_INVITATION:3,FORM_AD_FORMAT_TYPE_IMMERSIVE_ONE_CLICK:1,FORM_AD_FORMAT_TYPE_TWO_CLICK:2,FORM_AD_FORMAT_TYPE_UNKNOWN:0}},formfill_card:{formfill_post_backend:{FORMFILL_POST_BACKEND_ADS_CLICK_SERVER:2,FORMFILL_POST_BACKEND_GOOGLE_SHEETS:1,FORMFILL_POST_BACKEND_UNKNOWN:0}},formfill_field_infos:{formfill_field_type:{FORMFILL_FIELD_TYPE_UNKNOWN:0,FORMFILL_FIELD_TYPE_USER_EMAIL:1,FORMFILL_FIELD_TYPE_USER_NAME:2,FORMFILL_FIELD_TYPE_USER_PHONE_NUMBER:3,
FORMFILL_FIELD_TYPE_USER_POSTAL_CODE:4}},invalid_input_tracking_events:{type:N1},link_action:{type:uza},open_hours:{day_of_week:{DAY_FRIDAY:6,DAY_MONDAY:2,DAY_SATURDAY:7,DAY_SUNDAY:1,DAY_THURSDAY:5,DAY_TUESDAY:3,DAY_UNKNOWN:0,DAY_WEDNESDAY:4}},open_hours_today:{open_status:{OPEN_STATUS_IS_CLOSED:2,OPEN_STATUS_IS_OPEN:1,OPEN_STATUS_UNKNOWN:0}},product_card:{badge_icon_type:{BADGE_ICON_TYPE_FLIGHTS:3,BADGE_ICON_TYPE_HOTELS:2,BADGE_ICON_TYPE_OTHER:4,BADGE_ICON_TYPE_RETAIL:1,BADGE_ICON_TYPE_UNKNOWN:0}},
submit_with_edit_tracking_events:{type:N1}};g.B(ox,wr);px.prototype.parse=function(a){var b=nt(a);if(g.E(g.G(b)))return null;if(this.o){var c=rx;if(!o1){var d={};o1=Lw(d);if(!p1){var e={};p1=Lw(e);e.type=fx;if(!q1){var f={};q1=Lw(f);f.major_version=nx;f.minor_version=nx}e.version=Qw(q1);e.priority=nx;e.start_time_ms=Nw("j");e.end_time_ms=Nw("j");e.action=Rw(jx());e.event=Rw(ix());F1||(f={},F1=Lw(f),f.headline=gx,f.description=gx,f.attribution_icon_url=gx,f.skippable_seconds=nx,f.attribution_position=fx);e.ad_card=Qw(F1);if(!t1){f={};t1=Lw(f);f.headline=
gx;f.image=Qw(hx());f.description=gx;f.rating=m1;f.review_text=gx;if(!u1){var k={};u1=Lw(k);k.merchant=gx;k.price=gx;k.shipping=gx;k.shipping_tax=gx;k.condition=gx;k.unit_price=gx;k.energy_label=gx;k.description=gx;k.rating=m1;k.review_text=gx;k.action=Rw(jx());k.event=Rw(ix());k.doc_id=gx;k.catalog_id=gx}f.offer=Rw(u1);f.badge_text=gx;f.badge_icon_type=fx}e.product_card=Qw(t1);v1||(f={},v1=Lw(f),f.app_id=gx,f.app_name=gx,f.icon=Qw(hx()),f.price=gx,f.rating_image=gx,f.review_count=nx,f.app_store_logo=
Qw(hx()),f.button_text=gx,f.screenshots=Rw(hx()),f.rating=m1,f.back_button_text=gx,f.screenshots_text=gx,f.cover_photo=Qw(hx()),f.description=gx,f.app_developer=gx,f.review_text=gx,f.downloads_count=gx,f.downloads_text=gx,f.content_rating_images=Rw(hx()),f.content_rating_text=gx,f.app_description=gx,f.promo_image=Qw(hx()),s1||(k={},s1=Lw(k),k.type=fx,k.base_url=gx),f.app_events=Rw(s1));e.app_card=Qw(v1);if(!w1){f={};w1=Lw(f);f.headline=gx;f.description=gx;f.icon=Qw(hx());f.banner_image=Qw(hx());x1||
(k={},x1=Lw(k),k.advertiser_display_name=gx,k.advertiser_logo=Qw(hx()));f.advertiser_data=Qw(x1);if(!A1){k={};A1=Lw(k);if(!y1){var l={};y1=Lw(l);l.link_action=Qw(jx());l.description_line_1=gx;l.description_line_2=gx}k.sitelink_extensions=Rw(y1);k.callout_extensions=tza;z1||(l={},z1=Lw(l),l.header=gx,l.value=tza);k.structured_snippet_extensions=Rw(z1)}f.extension_data=Qw(A1)}e.website_card=Qw(w1);D1||(f={},D1=Lw(f),f.invitation_headline=gx,f.invitation_description=gx,f.icon=Qw(hx()),f.invitation_cta=
gx,f.form_headline=gx,f.form_description=gx,f.confirmation_headline=gx,f.confirmation_description=gx,f.advertiser_name=gx,f.email_key=gx,C1||(k={},C1=Lw(k),k.field_identifier=gx,k.formfill_field_type=fx,k.google_form_column_id=gx,k.is_field_optional=n1,k.submit_with_edit_tracking_events=Rw(ix()),k.invalid_input_tracking_events=Rw(ix()),k.field_value_string=gx),f.formfill_field_infos=Rw(C1),f.formfill_post_backend=fx,f.lead_metadata=gx,f.privacy_policy_url=gx,B1||(k={},B1=Lw(k),k.form_ad_format_type=
Nw("e"),k.enable_disclaimer_checkbox=n1,k.enable_close_button=n1,k.close_button_text=gx,k.submit_button_text=gx),f.form_ad_format_config=Qw(B1));e.formfill_card=Qw(D1);E1||(f={},E1=Lw(f),f.formatted_phone_number=gx,f.merchant_name=gx,f.call_cta_text=gx,f.headline=gx,f.icon=Qw(hx()));e.call_card=Qw(E1);e.prominence=fx;G1||(f={},G1=Lw(f),f.call_to_action_text=gx);e.social_card=Qw(G1);H1||(f={},H1=Lw(f),f.vote_line_1=gx,f.vote_line_2=gx,f.confirm_line_1=gx,f.confirm_line_2=gx);e.vote_card=Qw(H1);e.sponsored=
n1;e.teaser_text=gx;r1||(f={},r1=Lw(f),f.hide_in_drawer=n1,f.show_in_endcap=n1,f.show_in_companion=n1,f.show_in_cta=n1,f.override_clickthrough=n1,f.show_in_promotion_shelf=n1,f.show_in_immersive_panel=n1);e.placement=Qw(r1);I1||(f={},I1=Lw(f),f.latitude_e6=nx,f.longitude_e6=nx,f.address=gx,f.image=Qw(hx()),f.headline=gx);e.location_card=Qw(I1);J1||(f={},J1=Lw(f),f.icon=Qw(hx()),f.location_image=Qw(hx()),f.display_name=gx,f.latitude_e7=nx,f.longitude_e7=nx,M1||(k={},M1=Lw(k),k.display_address=gx,k.city_province=
gx),f.address=Qw(M1),f.display_phone_number=gx,K1||(k={},K1=Lw(k),k.open_status=fx,k.display_hours=gx),f.open_hours_today=Qw(K1),L1||(k={},L1=Lw(k),k.day_of_week=fx,k.display_day_of_week=gx,k.display_hours=gx),f.open_hours=Rw(L1),f.closing_time_today=gx,f.images=Rw(hx()),f.distance_to_user_meters=nx,f.average_rating=nx,f.num_reviews=nx,f.num_five_star_reviews=nx,f.num_four_star_reviews=nx,f.num_three_star_reviews=nx,f.num_two_star_reviews=nx,f.num_one_star_reviews=nx,f.store_url=gx,f.display_store_url=
gx);e.merchant_location=Qw(J1)}d.card=Rw(p1);d.event=Rw(ix())}a=c(this,a,o1);a=c=new Yw(a);d=new Uq;for(e=0;e<Xw(a,"card");e++)if(f=new Zw(Vw(a,"card",e)),mu(f.Qe()))for(k=0;k<Xw(f,"event");k++){l=new Ww(Vw(f,"event",k));var m=null;switch(l.Xb()){case 9:m="video_card_endcap_action";break;case 10:m="video_card_endcap_collapse";break;case 11:m="video_card_endcap_dismiss";break;case 8:m="video_card_endcap_impression"}m&&Zq(d,m,sx(m,et(l,"base_url")))}a=d}else a=aha(this,a);return new ox(b,c,a)};g.B(tx,wr);tx.prototype.uh=function(){return this.A};g.B(ux,wr);vx.prototype.parse=function(a){if(!a)return null;var b,c;(0,g.C)(se(a),function(d){switch(d.nodeName){case "FeEventId":b=ut(d);break;case "AdEventId":c=ut(d)}},this);
return new ux(b,c)};wx.prototype.D=function(a){var b={};(0,g.C)(this.A,function(d){b[d]=[]});
var c=new RegExp("^"+this.C);(0,g.C)(se(a),function(d){"config"!=d.nodeName||(0,g.C)(se(d),function(e){"params"!=e.nodeName||(0,g.C)(se(e),function(f){var k=this.C?f.nodeName.replace(c,""):f.nodeName,l=f.getAttribute("data");null!=l||(l=ut(f));null!=f.getAttribute("learn_more")&&(l+="|");g.Ya(this.A,k)?b[k].push(l||void 0):b[k]=l},this)},this)},this);
return b};g.B(yx,wx);yx.prototype.parse=function(a){if(null==a)return null;a=xx(this,a);var b=a.UI;return new Vu(b.gone,b.question,b.undo,b.hover_text,a.SurveyOptions||[],a.CustomTracking)};
yx.prototype.B=function(a){var b=[],c=0;(0,g.C)(se(a),function(d){if("SurveyOption"==d.nodeName){var e,f;(0,g.C)(se(d),function(k){switch(k.nodeName){case "DisplayName":e=ut(k);break;case "URL":f=ut(k)}},this);
null!=e&&null!=f&&(b.push({label:e,url:f}),c++)}},this);
return b};g.B(zx,wr);Ax.prototype.parse=function(a){if(null==a)return null;var b=new zx;(0,g.C)(se(a),function(c){if("DealId"!=c.nodeName)return null;c=ut(c);c=g.G(c);g.E(c)||(b.A=c)},this);
return b};g.B(Bx,wr);Cx.prototype.o={sJ:"Siub",rJ:"Scs",WH:"Bgub",VH:"Bgp"};Cx.prototype.parse=function(a){if(null==a)return null;var b,c,d,e;(0,g.C)(se(a),function(f){switch(f.nodeName){case this.o.sJ:b=ut(f);break;case this.o.rJ:c=ut(f);break;case this.o.WH:d=ut(f);break;case this.o.VH:e=ut(f)}},this);
return b&&c&&d&&e?new Bx(b,c,d,e):null};g.B(Dx,wr);Ex.prototype.parse=function(a){if(null==a)return null;var b;(0,g.C)(se(a),function(c){switch(c.nodeName){case "CustomTracking":null!=se(c)&&(b=Ct(c))}},this);
return new Dx(b)};g.B(Fx,wr);Gx.prototype.o={vJ:"TEMPLATE_PARAMETERS",wJ:"TEMPLATE_URL"};Gx.prototype.parse=function(a){if(null==a)return null;var b;(0,g.C)(se(a),function(c){switch(c.nodeName){case this.o.vJ:b=bha(this,c)}},this);
return new Fx(b)};g.B(Hx,wr);Hx.prototype.getImageUrl=function(){return this.B};Ix.prototype.o={HI:"Line1",II:"Line2",JI:"Line3",GI:"ImageUrl"};Ix.prototype.parse=function(a){if(null==a)return null;var b,c,d,e,f=0,k=0;(0,g.C)(se(a),function(l){switch(l.nodeName){case this.o.HI:b=ut(l,!0);break;case this.o.II:c=ut(l,!0);break;case this.o.JI:d=ut(l,!0);break;case this.o.GI:e=ut(l);var m=Number(l.getAttribute("width"));f=isNaN(m)?0:m;l=Number(l.getAttribute("height"));k=isNaN(l)?0:l}},this);
return new Hx(b,c,d,e,f,k)};g.B(Jx,wr);Kx.prototype.parse=function(a){if(null==a)return null;var b;(0,g.C)(se(a),function(c){switch(c.nodeName){case "ViralExtensionData":c=c.getAttribute("query_id"),g.E(g.G(c))||(b=c)}},this);
return new Jx(b)};g.B(Lx,wx);var vza=["menu","got_it"],wza=[["generic_message_left","generic_message_hypertext","generic_message_right"]];Lx.prototype.parse=function(a){if(null==a)return null;a=xx(this,a);var b=a.UI;if(!Mx(b,vza))return null;var c,d=!0,e=!1;(0,g.C)(wza,function(f){cha(b,f)&&(Mx(b,f)?e=!0:d=!1)});
if(!d||!e)return null;null!=b.generic_message_left&&(c=[b.generic_message_left,b.generic_message_hypertext,b.generic_message_right]);return new Xu(b.menu,b.got_it,b.targeting_reason_header,b.targeting_reason,a.CustomTracking,c,b.control,b.learn_more)};Nx.prototype.parse=function(a){if(null==a)return null;a=a.getAttribute("sequence");a=null!=a?g.Bc(a):NaN;a=isNaN(a)?-1:a;return new Gt(a)};g.B(Ox,wr);Px.prototype.parse=function(a){return null!=a?new Ox:null};Qx.prototype.parse=function(a){if(null==a)return null;a=a.getAttribute("fallback_index");a=null!=a?g.Bc(a):NaN;return new os(a)};g.B(Rx,rw);
Rx.prototype.o={MH:"Ad",Is:"AdParameters",QH:"AdSystem",RH:"AdTitle",NH:"Advertiser",TH:"AltText",YH:"ClickThrough",ZH:"ClickTracking",aI:"Companion",bI:"CompanionAds",cI:"CompanionClickThrough",dI:"CompanionClickTracking",eI:"Creative",bZ:"CreativeExtensions",fI:"Creatives",iI:"CustomClick",lI:"Description",Ls:"Duration",ERROR:"Error",EXTENSION:"Extension",rI:"Extensions",uo:"HTMLResource",vI:"Icon",wI:"Icons",xI:"IconClicks",yI:"IconClickThrough",zI:"IconClickTracking",AI:"IconViewTracking",wo:"IFrameResource",
xo:"Impression",J_:"InLine",LINEAR:"Linear",NI:"MediaFile",OI:"MediaFiles",XI:"NonLinear",YI:"NonLinearAds",ZI:"NonLinearClickThrough",aJ:"NonLinearClickTracking",hJ:"Pricing",yo:"StaticResource",uJ:"Survey",z3:"Tracking",Ws:"TrackingEvents",xJ:"UniversalAdId",P3:"VAST",zJ:"VASTAdTagURI",AJ:"VideoClicks",CJ:"Wrapper"};
Rx.prototype.A={OH:"adId",PH:"adSlotID",SH:"allowMultipleAds",qo:"apiFramework",Sy:"bitrate",gI:"creativeType",kI:"delivery",Ls:"duration",WZ:"event",uI:"followAdditionalWrappers",pI:"expandedHeight",qI:"expandedWidth",so:"height",vo:"id",BI:"idRegistry",CI:"idValue",KI:"maintainAspectRatio",MI:"maxBitrate",SI:"minBitrate",TI:"minSuggestedDuration",bJ:"offset",iJ:"program",kJ:"required",nJ:"scalable",Bz:"sequence",pJ:"skipoffset",Kz:"type",VERSION:"version",BJ:"codec",zo:"width",DJ:"xPosition",EJ:"yPosition"};
Rx.prototype.C=function(){return new tw(this.B,eha(this),null)};g.B($x,Yv);g.h=$x.prototype;g.h.W=function(){this.G=!1;null===this.o?this.V&&this.dispatchEvent(new lo("destroyInsecureFlashVpaid",this.va())):this.o.dispose();this.C&&this.oa("contentResumeRequested");this.oa("allAdsCompleted");$x.fa.W.call(this)};
g.h.Pc=function(){var a=this.hd("getAdRemainingTime");return g.Ca(a)?a:-1};
g.h.getVolume=function(){var a=this.hd("getAdVolume");return g.Ca(a)?a:-1};
g.h.Vc=function(a,b,c){$x.fa.Vc.call(this,a,b,c);this.C=this.va().o instanceof hr};
g.h.init=function(a){$x.fa.init.call(this,a);a=this.va();var b=Bu(a);b=g.G(b);if(g.E(b))dy(this,Error("Flash VPAID ad url is empty."));else{if(bw(a)){var c=a.o,d=kr(c);null!=d&&(c.D=d)}this.Za().X(Gp(),e1,this.Mk);this.V?this.dispatchEvent(new lo("initInsecureFlashVpaid",a,{url:g.G(b)})):null===this.Na.Qf()?dy(this,Error("Container must be provided for flash VPAID.")):(this.Na.Kd(),null===this.o&&(this.o=new qw(this.Na.Qf())),this.Za().X(this.o,"loadError",this.wR),this.Za().X(this.o,"vpaidEventType",
this.mg),this.o.load(b,this.L,this.F,this.Va.eg))}};
g.h.start=function(){if(this.G){$x.fa.start.call(this);var a=this.va();this.hc.B=a.L;var b=Tr(a);this.hc.o=b;if(b=a.o)this.Zg(a),this.pg(b,d1),this.Uk(b),fw(this,a);this.Na.Kd();hw(this);this.Ga("show_ad");this.setVolume(this.B);this.A=new g.Ug(250);this.Za().X(this.A,"tick",this.gM);this.C?this.oa("contentPauseRequested"):(this.oa("contentResumeRequested"),by(this));this.A.start();this.hd("startAd")}else this.J=!0};
g.h.stop=function(){this.K||(this.hd("stopAd"),this.Na.hide(),null!=this.A&&(this.A.stop(),this.A=null),$x.fa.stop.call(this),this.K=!0)};
g.h.fb=function(a,b,c){$x.fa.fb.call(this,a,b,c);if(null!==this.o){var d=this.o;d.o&&d.o.setSize(a,b)}this.L=a;this.F=b;this.hd("resizeAd",a,b,c)};
g.h.pause=function(){null!=this.A&&this.A.stop();this.hd("pauseAd")};
g.h.resume=function(){null!=this.A&&this.A.start();this.hd("resumeAd")};
g.h.setVolume=function(a){this.B=a;this.M.getAdVolume=a;this.hd("setAdVolume",a)};
g.h.expand=function(){this.hd("expandAd")};
g.h.collapse=function(){this.hd("collapseAd")};
g.h.Lk=g.z;g.h.Yb=function(){return ay(this)};
g.h.skip=function(){this.hd("skipAd")};
g.h.getDuration=function(){var a=this.hd("getAdDuration");if(g.Ca(a))return a;a=this.Pc();return 0<=a?this.D/1E3+a:-2};
g.h.gM=function(){this.D+=250;var a=this.getDuration(),b=a-this.Pc();iw(this,b,a)};
g.h.hd=function(a){if(this.K)return null;for(var b=[],c=0;c<arguments.length;c++)b.push(arguments[c]);return this.V?(c=b.shift(),this.dispatchEvent(new lo("callFlashVpaidMethod",this.tb()?this.va():null,{methodName:c,args:b})),this.M[c]):null===this.o?null:this.o.bM.apply(this.o,b)};
g.h.wR=function(){dy(this,Error("Flash VPAID loader failed to load."))};
g.h.getCurrentTime=function(){return this.D/1E3};
g.h.mg=function(a){var b=a.data;switch(a.o){case "flashVpaidMethodResults":b&&(this.M[b.methodName]=b.result);break;case "flashReady":this.hd("handshakeVersion","2.0");b=Ut(this.va());this.hd("initAd",this.L,this.F,this.dd,this.Va.bitrate,b);break;case "AdLoaded":this.G=!0;b=this.hd("getAdCompanions");a=g.v(b)?b:"";b=this.va();g.Za(Tt(b))&&(a=Ux(a,b.o.o),g.Za(a)||Ht(b,a));cw(this,"loaded");this.J&&(this.J=!1,this.start());break;case "AdStarted":this.Ga("impression");this.Ga("creativeview");this.oa("start");
break;case "AdVideoStart":this.Ga("start");break;case "AdClickThru":b&&b.playerHandles&&((b=b.url)||(b=g.G(Yt(this.va()))),b&&Io(b));this.Ga("click");this.oa("click");break;case "AdDurationChange":this.oa("durationChange");break;case "AdRemainingTimeChange":this.oa("durationChange");by(this);break;case "AdError":a="AdError";b&&(a=b.message);dy(this,Error(a));break;case "AdExpandedChange":this.oa("expandedChanged");break;case "AdImpression":b=this.va();g.Za(Tt(b))||this.Qd(b);this.oa("impression");
break;case "AdLinearChange":b=ay(this);!this.C&&b?(this.oa("contentPauseRequested"),g.Wg(this.H)):this.C&&!b&&(this.oa("contentResumeRequested"),by(this));this.C=b;a=this.xc;a.xa=!0;a.ya=b;this.oa("linearChanged");break;case "AdVolumeChange":b=this.getVolume();b!=this.B&&(this.oa("volumeChange"),0==b&&0!=this.B?(this.Ga("mute"),this.oa("mute")):0==this.B&&0!=b&&this.Ga("unmute"),this.B=b);break;case "AdPaused":cw(this,"pause");break;case "AdUserClose":cw(this,"userClose");break;case "AdUserMinimize":this.Ga("collapse");
break;case "AdVideoFirstQuartile":cw(this,"firstquartile");break;case "AdVideoMidpoint":cw(this,"midpoint");break;case "AdVideoThirdQuartile":cw(this,"thirdquartile");break;case "AdVideoComplete":ey(this);break;case "AdUserAcceptInvitation":this.C?this.Ga("acceptinvitationlinear"):this.Ga("acceptinvitation");break;case "AdStopped":ey(this);this.Ga("stop");this.stop();break;case "AdSkipped":cw(this,"skip");break;case "AdSkippableStateChange":cw(this,"skippableStateChanged");break;case "AdPlaying":cw(this,
"resume");break;case "AdLog":this.oa("log")}};g.B(fy,Yv);var xza=bd(g.Uc("https://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf"));bd(g.Uc("http://imasdk.googleapis.com/flash/sdkloader/flashinhtml.swf"));g.h=fy.prototype;g.h.W=function(){this.G=!1;this.o&&(this.o.dispose(),this.D=null);g.Wg(this.H);this.C&&this.oa("contentResumeRequested");this.oa("allAdsCompleted");fy.fa.W.call(this)};
g.h.Pc=function(){var a=this.wd("getAdRemainingTime");return g.Ca(a)?a:-1};
g.h.getVolume=function(){var a=this.wd("getAdVolume");return g.Ca(a)?a:-1};
g.h.Vc=function(a,b,c){fy.fa.Vc.call(this,a,b,c);this.C=this.va().o instanceof hr};
g.h.init=function(a){fy.fa.init.call(this,a);window[this.O]=(0,g.A)(this.hM,this);this.Za().X(Gp(),e1,this.Mk);this.o=new ow(xza);this.o.setSize(this.M,this.J);this.o.Io="always";var b=this.va();a=Bu(b);a=g.G(a);if(g.E(a))iy(this,cy,Error("Flash VPAID ad url is empty.")),this.stop();else{if(bw(b)){b=b.o;var c=kr(b);null!=c&&(b.D=c)}this.o.A.set("vpaid",a);this.o.qs="transparent";this.o.A.set("vpaidEventHandler",this.O);this.Na.Kd();mw(this.o,this.Na.Qf());this.D=pw(this.o);this.H=g.Vg(this.jM,this.Va.eg,
this)}};
g.h.start=function(){if(this.G){fy.fa.start.call(this);var a=this.va();this.hc.B=a.L;var b=Tr(a);this.hc.o=b;if(b=a.o)this.Zg(a),this.pg(b,d1),this.Uk(b),fw(this,a);this.Na.Kd();hw(this);this.Ga("show_ad");this.setVolume(this.B);this.A=new g.Ug(250);this.Za().X(this.A,"tick",this.iM);this.C?this.oa("contentPauseRequested"):(this.oa("contentResumeRequested"),hy(this));this.A.start();this.wd("startAd")}else this.L=!0};
g.h.stop=function(){this.Y||(this.Y=!0,this.wd("stopAd"),this.Na.hide(),null!=this.A&&(this.A.stop(),this.A=null),fy.fa.stop.call(this))};
g.h.fb=function(a,b,c){fy.fa.fb.call(this,a,b,c);this.M=a;this.J=b;null!=this.o&&this.o.setSize(a,b);this.wd("resizeAd",a,b,c)};
g.h.pause=function(){null!=this.A&&this.A.stop();this.wd("pauseAd")};
g.h.resume=function(){null!=this.A&&this.A.start();this.wd("resumeAd")};
g.h.setVolume=function(a){this.B=a;this.wd("setAdVolume",a)};
g.h.expand=function(){this.wd("expandAd")};
g.h.collapse=function(){this.wd("collapseAd")};
g.h.Lk=function(){};
g.h.Yb=function(){return gy(this)};
g.h.skip=function(){this.wd("skipAd")};
g.h.getDuration=function(){var a=this.wd("getAdDuration");if(g.Ca(a))return a;a=this.Pc();return 0<=a?this.F/1E3+a:-2};
g.h.iM=function(){this.F+=250;var a=this.getDuration(),b=a-this.Pc();iw(this,b,a)};
g.h.wd=function(a){if(!this.o||!this.D)return null;for(var b=[],c=0;c<arguments.length;c++)b.push(arguments[c]);c=b.shift();var d=!1;this.G&&(d=!0);if("handshakeVersion"==c||"initAd"==c)d=!0;if(d)try{if(null!=this.D[c])return this.D[c].apply(this.D,b)}catch(e){}return null};
g.h.jM=function(){iy(this,i1,null,(this.Va.eg/1E3).toString());this.stop()};
g.h.getCurrentTime=function(){return this.F/1E3};
g.h.hM=function(a,b){switch(a){case "flashReady":this.wd("handshakeVersion","2.0");var c=Ut(this.va());this.D.initAd(this.M,this.J,this.dd,this.Va.bitrate,c);break;case "AdLoaded":g.Wg(this.H);this.G=!0;c=this.wd("getAdCompanions");var d=g.v(c)?c:"";c=this.va();g.Za(Tt(c))&&(d=Ux(d,c.o.o),g.Za(d)||Ht(c,d));cw(this,"loaded");this.L&&(this.L=!1,this.start());break;case "AdStarted":this.Ga("impression");this.Ga("creativeview");this.oa("start");break;case "AdVideoStart":this.Ga("start");break;case "AdClickThru":b&&
b.playerHandles&&((c=b.url)||(c=g.G(Yt(this.va()))),null!=c&&Io(c));this.Ga("click");this.oa("click");break;case "AdDurationChange":this.oa("durationChange");break;case "AdRemainingTimeChange":this.oa("durationChange");hy(this);break;case "AdError":c="AdError";b&&(c=b.message);iy(this,cy,Error(c));this.stop();break;case "AdExpandedChange":this.oa("expandedChanged");break;case "AdImpression":c=this.va();g.Za(Tt(c))||this.Qd(c);this.oa("impression");break;case "AdLinearChange":c=gy(this);!this.C&&c?
(this.oa("contentPauseRequested"),g.Wg(this.K)):this.C&&!c&&(this.oa("contentResumeRequested"),hy(this));this.C=c;d=this.xc;d.xa=!0;d.ya=c;this.oa("linearChanged");break;case "AdVolumeChange":c=this.getVolume();c!=this.B&&(c!=this.B&&this.oa("volumeChange"),0==c&&0!=this.B?(this.Ga("mute"),this.oa("mute")):0==this.B&&0!=c&&this.Ga("unmute"),this.B=c);break;case "AdPaused":cw(this,"pause");break;case "AdUserClose":cw(this,"userClose");break;case "AdUserMinimize":this.Ga("collapse");break;case "AdVideoFirstQuartile":cw(this,
"firstquartile");break;case "AdVideoMidpoint":cw(this,"midpoint");break;case "AdVideoThirdQuartile":cw(this,"thirdquartile");break;case "AdVideoComplete":jy(this);break;case "AdUserAcceptInvitation":this.C?this.Ga("acceptinvitationlinear"):this.Ga("acceptinvitation");break;case "AdStopped":jy(this);this.Ga("stop");this.stop();break;case "AdSkipped":cw(this,"skip");break;case "AdSkippableStateChange":cw(this,"skippableStateChanged");break;case "AdPlaying":cw(this,"resume");break;case "AdLog":this.oa("log")}};g.B(ky,lo);oy.prototype.o=null;oy.prototype.getOptions=function(){var a;(a=this.o)||(a={},qy(this)&&(a[0]=!0,a[1]=!0),a=this.o=a);return a};var O1;g.B(py,oy);O1=new py;g.B(g.sy,g.jg);g.sy.prototype.kb=null;var pha=/^https?$/i,yza=["POST","PUT"];g.h=g.sy.prototype;
g.h.send=function(a,b,c,d){if(this.o)throw Error("[goog.net.XhrIo] Object is active with another request="+this.K+"; newUri="+a);b=b?b.toUpperCase():"GET";this.K=a;this.B="";this.A=0;this.aa=b;this.O=!1;this.C=!0;this.o=this.V?ry(this.V):ry(O1);this.M=this.V?this.V.getOptions():O1.getOptions();this.o.onreadystatechange=(0,g.A)(this.UB,this);try{ui(Ay(this,"Opening Xhr")),this.Y=!0,this.o.open(b,String(a),!0),this.Y=!1}catch(f){ui(Ay(this,"Error opening Xhr: "+f.message));wy(this,f);return}a=c||"";
var e=this.headers.clone();d&&eea(d,function(f,k){e.set(k,f)});
d=g.Ua(e.Gb(),oha);c=g.x.FormData&&a instanceof g.x.FormData;!g.Ya(yza,b)||d||c||e.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");e.forEach(function(f,k){this.o.setRequestHeader(k,f)},this);
this.ba&&(this.o.responseType=this.ba);"withCredentials"in this.o&&this.o.withCredentials!==this.H&&(this.o.withCredentials=this.H);try{Cy(this),0<this.F&&(this.L=nha(this.o),ui(Ay(this,"Will abort after "+this.F+"ms if incomplete, xhr2 "+this.L)),this.L?(this.o.timeout=this.F,this.o.ontimeout=(0,g.A)(this.VB,this)):this.G=g.Vg(this.VB,this.F,this)),ui(Ay(this,"Sending request")),this.J=!0,this.o.send(a),this.J=!1}catch(f){ui(Ay(this,"Send error: "+f.message)),wy(this,f)}};
g.h.VB=function(){"undefined"!=typeof yy&&this.o&&(this.B="Timed out after "+this.F+"ms, aborting",this.A=8,Ay(this,this.B),this.dispatchEvent("timeout"),this.abort(8))};
g.h.abort=function(a){this.o&&this.C&&(Ay(this,"Aborting"),this.C=!1,this.D=!0,this.o.abort(),this.D=!1,this.A=a||7,this.dispatchEvent("complete"),this.dispatchEvent("abort"),vy(this))};
g.h.W=function(){this.o&&(this.C&&(this.C=!1,this.D=!0,this.o.abort(),this.D=!1),vy(this,!0));g.sy.fa.W.call(this)};
g.h.UB=function(){this.la()||(this.Y||this.J||this.D?By(this):this.hT())};
g.h.hT=function(){By(this)};
g.h.isActive=function(){return!!this.o};
g.h.getStatus=function(){try{return 2<g.zy(this)?this.o.status:-1}catch(a){return-1}};
g.h.getLastError=function(){return g.v(this.B)?this.B:String(this.B)};g.t(Ly,Pj);Ly.prototype.G=function(a){this.A&&this.H<this.K&&(Pj.prototype.G.call(this,a),Jy(this,a))};
Ly.prototype.disable=function(){Pj.prototype.disable.call(this);this.o.clearTimeout(this.J);this.F=this.J=0;this.D={};Di(this.o,"load",this.M);Di(this.o,"unload",this.Y);Di(this.o,"pagehide",this.V)};Oy.prototype.isLoggingEnabled=function(){return!!this.Ea};
g.Ea(Oy);Ry.prototype.ze=!0;Ry.prototype.Xh=-1;g.B(Sy,g.jg);Sy.prototype.Tm=function(a){this.lf=Er(Kfa);null!=this.wa.C&&(this.Z.X(this.lf,"click",this.Xw),this.Z.X(this,"why_this_ad_got_it",this.Hy));a.appendChild(this.lf);g.M(this.lf,!0)};
Sy.prototype.Xw=function(){var a=g.Fe(this.lf,"html5-video-player");null!=a&&$u(this.wa.C,a,this)};
Sy.prototype.Hy=function(){};
Sy.prototype.W=function(){null!=this.lf&&(g.qe(this.lf),this.lf=null);this.Z.dispose();this.Z=null;Sy.fa.W.call(this)};g.B(Uy,g.jg);g.h=Uy.prototype;g.h.start=function(){this.Xu();this.C=0;Vy(this);this.A=!0;this.D.start()};
g.h.play=function(){this.A||(Vy(this),this.A=!0,this.D.start())};
g.h.pause=function(){this.A&&Vy(this)};
g.h.stop=function(){this.A&&Vy(this);this.dispatchEvent("end")};
g.h.Xu=function(){};
g.h.US=function(){this.C+=.2;this.Wu(this.C,this.L);this.dispatchEvent("timeUpdate");0>=this.L-this.C&&this.stop()};
g.h.Wu=g.z;g.h.W=function(){this.A=!1;this.J.dispose();Uy.fa.W.call(this)};g.B(Xy,Uy);g.h=Xy.prototype;g.h.start=function(){this.Xu();this.B.update(0,this.K);gv(this.o,this.H.C).play();this.J.X(this.B,"skip",this.LJ);Xy.fa.start.call(this)};
g.h.Xu=function(){var a=g.hi(this.o);if(1==this.G){var b=400>=parseInt(Th(this.o,"width"),10)||400>=a.width;g.U(this.o,"videoAdUi-mobile",b)}else if(2==this.G){var c=ue(this.o),d=g.hi(c),e=65>=(a.height-d.height)/2;g.U(this.o,"fullslotAdUi-mobile",e);b=165>=(a.width-d.width)/2;g.U(this.o,"videoAdUi-mobile",b&&e);c.style.top=Math.max(5,Math.floor((a.height-d.height-65)/2))+"px"}};
g.h.LJ=function(){this.pause();this.dispatchEvent("skip")};
g.h.Wu=function(a,b){this.B.update(a,b);if(this.F){var c=Ty({oe:Wy(b-a)});g.ye(this.F,c)}};
g.h.W=function(){this.B&&this.B.dispose();g.oe(this.o);Xy.fa.W.call(this)};g.B($y,Uy);var Zy=Math.ceil(10*3.14);$y.prototype.F=function(a){Q()||a.stopPropagation();this.dispatchEvent("click")};
$y.prototype.start=function(){$y.fa.start.call(this);null==this.o?this.stop():this.H&&(this.M&&780<=g.hi(this.V).width&&this.H.setCardsVisible(!0),this.H.hideControls())};
$y.prototype.Wu=function(a,b){var c=a/b*Zy+" "+Zy;null!=this.o&&g.Ph(this.o,"stroke-dasharray",c)};g.B(az,g.K);az.prototype.show=function(a,b,c){bz(this);!LN||!a||ep(10)&&b?c():(a.appendChild(this.A),this.Ea=g.Vg((0,g.A)(this.o,this,c),2E3))};
az.prototype.o=function(a){this.Ea=0;g.qe(this.A);a()};
az.prototype.W=function(){bz(this);az.fa.W.call(this)};g.B(dz,g.If);g.B(ez,g.jg);fz.prototype.muted=function(a,b){return!this.mute&&a||0!=this.volume&&0==b};
var Dha={click:3,videoLearnMoreClicked:3,videoShareClicked:8,videoTitleClicked:14,videoAuthorClicked:15,videoAuthorIconClicked:15};g.h=ez.prototype;g.h.W=function(){this.ad();ez.fa.W.call(this)};
g.h.ad=function(){null!=this.Z&&this.Z.dispose();null!=this.o&&this.o.ad();null!=this.D&&this.D.dispose();this.D=null;null!=this.J&&this.J.dispose();this.J=null;this.M.clear();this.K=-1;this.F="";this.G=this.V=!1};
g.h.Cb=function(a,b,c,d,e){this.ad();this.C.B=a.L;this.o=b;this.A=d||null;this.H=e;this.o.Cb();this.B=new fz(this.o);this.L=c||null;this.Z=new g.Xn(this);this.F=a.L;a=P.o?Zp():Gp();this.Z.X(a,"externalActivityEvent",this.uR);this.Z.X(a,"measurable_impression",this.aS);this.Z.X(a,"viewable_impression",this.zU);this.Z.X(this.o,"timeUpdate",this.IM);this.Z.X(this.o,"volumeChange",this.JM);this.Z.X(this.o,"pause",this.FM);this.Z.X(this.o,"play",this.GM);this.Z.X(this.o,"end",this.qR);this.Z.X(this.o,
"beginFullscreen",this.DM);this.Z.X(this.o,"endFullscreen",this.tR);this.Z.X(this.o,"skip",this.xC);this.Z.X(this.o,"skipShown",this.bF);this.Z.X(this.o,"start",this.HM);this.Z.X(this.o,"error",this.CM);this.Z.X(this.o,"mediaLoadTimeout",this.EM);null!=this.A?(this.Z.X(this.A,"videoIconClicked",(0,g.A)(function(f){this.dispatchEvent(f)},this)),this.Z.X(this.A,"urlNavigationRequested",(0,g.A)(function(f){this.dispatchEvent(f)},this)),this.Z.X(this.A,"yt-show-toast",(0,g.A)(function(f){this.dispatchEvent(f)},
this)),this.Z.X(this.A,"feedbackShown",(0,g.A)(function(){gz(this,"feedbackShown",!0,!0)},this)),this.Z.X(this.A,"feedbackLike",(0,g.A)(function(){gz(this,"feedbackLike",!0,!0)},this)),this.Z.X(this.A,"feedbackDislike",(0,g.A)(function(){gz(this,"feedbackDislike",!0,!0)},this)),this.Z.X(this.A,"videoShareShown",this.yU),this.Z.X(this.A,"skipshown",this.bF),this.Z.X(this.A,"skip",this.xC),this.Z.X(this.A,"PUBLISHER_INVOKED_SKIP",this.fT),this.Z.X(this.A,"MUTE_AD videoAuthorIconClicked videoAuthorClicked videoClicked videoLearnMoreClicked videoMuteClicked videoTitleClicked videoShareClicked videoUnmuteClicked why_this_ad_url why_this_ad_got_it why_this_ad_settings_url why_this_ad_learn_more mute_interaction_url mute_url mute_undo_url".split(" "),
this.wB)):this.H&&this.Z.X(this.H,"why_this_ad_url why_this_ad_got_it why_this_ad_settings_url why_this_ad_learn_more mute_interaction_url mute_url mute_undo_url".split(" "),this.wB)};
g.h.aS=function(a){var b=a.o;this.C.H.measurable_impression=null!=b?b.viewabilityString:null;a.o.queryId==this.F&&gz(this,"measurable_impression",!0,!1)};
g.h.zU=function(a){a=a.o;a.queryId==this.F&&(this.C.H.viewable_impression=null!=a?a.viewabilityString:null,gz(this,"viewable_impression",!0,!0))};
g.h.uR=function(a){a=a.o;var b=f1[a.eventName];b&&a.queryId==this.F&&(this.C.H[b]=null!=a?a.viewabilityString:null,gz(this,b,!0,!0))};
g.h.IM=function(){if(this.G){var a=this.o.getDuration();if(-1!=a){this.o.Yl(.25*a)&&gz(this,"firstquartile",!0,!0);this.o.Yl(.5*a)&&gz(this,"midpoint",!0,!0);this.o.Yl(.75*a)&&gz(this,"thirdquartile",!0,!0);var b=this.C,c=this.o.getCurrentTime();if(!Dn(b.A,"skip")){0>b.D&&(dfa(b.C,a),b.D=0);a=Xq(b.C,"progress");for(var d=[],e=b.D;e<a.length;e++){var f=a[e];if(ar(f.o)>c)break;b.D=e+1;d.push(f.Xa())}0<d.length&&b.report(new g.If("progress"),d)}}hz(this)}};
g.h.HM=function(){this.G=!0;gz(this,"impression",!0,!0);gz(this,"creativeview",!0,!0);null!=this.L||null!=this.A||this.Z.X(this.o,"click",this.hv);null!=this.L&&(this.D=new Iu,this.Z.X(this.D,"click",this.hv,!1),this.D.Cb(this.L));null!=this.A&&(this.J=new Iu,this.Z.X(this.J,"click",this.hv,!1),this.J.Cb(this.A));gz(this,"start",!0,!0);(this.o.isMuted()||0==this.o.getVolume())&&gz(this,"mute",!1,!1)};
g.h.JM=function(){var a=this.o.isMuted(),b=this.o.getVolume(),c=this.B;c.mute&&!a||!a&&0==c.volume&&0<b?gz(this,"unmute",!1,!1):this.B.muted(a,b)&&gz(this,"mute",!1,!1);this.B.mute=a;this.B.volume=b};
g.h.FM=function(){this.o.Ch()?iz(this):this.o.Ki()&&!this.o.pC()&&(this.B.paused=!0,gz(this,"pause",!1,!1))};
g.h.GM=function(){this.B.paused&&(this.B.paused=!1,gz(this,"resume",!1,!1))};
g.h.qR=function(){iz(this)};
g.h.hv=function(){gz(this,"click",!1,!1)};
g.h.CM=function(){gz(this,"error",!1,!1)};
g.h.EM=function(){gz(this,"mediaLoadTimeout",!1,!1)};
g.h.bF=function(){gz(this,"skipshown",!0,!1)};
g.h.wB=function(a){gz(this,a.type,!1,!1)};
g.h.yU=function(){gz(this,"videoShareShown",!0,!1)};
g.h.xC=function(){gz(this,"skip",!0,!1)};
g.h.fT=function(){gz(this,"skip",!0,!1)};
g.h.DM=function(){gz(this,"fullscreen",!1,!1)};
g.h.tR=function(){gz(this,"exitfullscreen",!1,!1)};g.h=jz.prototype;g.h.Gc=function(){return this.o.Gc()};
g.h.add=function(a){this.o.set(kz(a),a)};
g.h.remove=function(a){return this.o.remove(kz(a))};
g.h.clear=function(){this.o.clear()};
g.h.isEmpty=function(){return this.o.isEmpty()};
g.h.contains=function(a){return Dn(this.o,kz(a))};
g.h.wb=function(){return this.o.wb()};
g.h.clone=function(){return new jz(this)};
g.h.be=function(){return this.o.be(!1)};g.B(lz,Yv);g.h=lz.prototype;g.h.W=function(){pz(this);this.aa.dispose();oz(this);g.C(this.J.wb(),g.Wg);var a=!1;null!=this.Na&&(a=this.Na.gk(),this.Na.hide(),this.Na=null);this.G&&(this.G=!1,this.Ma.Ki()||this.Ma.Ch()||this.Ma.pause(),bp()&&!a&&(this.Ma.ik(.001),this.Ma.load("","")),ap()&&this.Ma.hk()&&!a&&this.Ma.Yu(),this.oa("contentResumeRequested"),this.oa("allAdsCompleted"));null!=this.Ma&&this.Ma.unload();lz.fa.W.call(this)};
g.h.Vh=function(){var a=zo();a.o("disable_companion_persist")?nz(this):(a.o("ad_pod_disable_companion_persist")||a.o("ad_pod_disable_companion_persist_ads_quality"))&&1<(this.tb()?this.va():null).B.Ee&&nz(this);this.mj();this.tb()?this.start():this.stop()};
g.h.muteAdClicked=function(){Q()&&this.Ga("mute_interaction_url")};
g.h.muteAd=function(){Q()&&(this.Ga("mute_url"),this.oa("MUTE_AD"),mz(this,function(){this.Vh()}))};
g.h.whyThisAdClicked=function(){Q()&&this.Ga("why_this_ad_url")};
g.h.whyThisAdClosed=function(){Q()&&this.Ga("why_this_ad_got_it")};
g.h.mj=function(){oz(this);lz.fa.mj.call(this);this.tb()&&(this.hc=new Uv,this.C=new ez(this.hc),this.O=!1,this.oa("loaded"))};
g.h.Ow=function(a){lz.fa.Ow.call(this,a);null!=this.Ma&&this.Ma.Gx(1)};
g.h.gB=function(a,b){b.preventDefault();this.F||(this.F=!0,cw(this,"video_card_endcap_action"));a&&(this.o.pause(),Io(a))};
g.h.hB=function(){mz(this,function(){qz(this,"video_card_endcap_dismiss")})};
g.h.yK=function(){qz(this,"video_card_endcap_collapse")};
g.h.Qv=function(a,b,c,d){var e=Hr(b);e&&(a.G=e);var f=a.getExtension("AdSense");null!=f&&null!=f.A&&f.A.A&&this.setVolume(0);if(this.Va.WG){e=Nz(this,a,b);Bo(yo(),420706069)&&(P.D=!0);zo().o("enable_ad_pod_specific_ui")&&a.B.o<a.B.Ee&&(e.A=!0);!Q()&&P.D&&(e.V=!0);f=e;var k=Oz(this),l=this.va(),m=1E3*l.getDuration();ev(f,Vt(l),Wt(l));this.Ta=new Mv(f,k,m,l.Ue());k=l.G;null!=k&&tz(this,k,f.ya);f=this.Ta;f.V&&(f=f.V,k=0==this.D,f.o!=k&&(f.o=k,kv(f)));if(this.ea)if(k=a.getExtension("AdSense"),null!=k){f=
this.Ta;k=g.G(k.C);if(null!=f.B){g.M(f.B,!0);try{var n=new g.Hn(k);var p=vc((n.A+n.C).replace(/^www\./i,""),35);g.E(g.G(p))?Pv(f):g.ye(f.B,p)}catch(q){Pv(f)}}null!=f.aa&&g.M(f.aa,!0)}else Pv(this.Ta);p=e;n=[];p.B&&n.push("adAttribution");p.D&&n.push("countdown")}else e&&tz(this,e,this.Va.nt),yk()||!ap()||ep(10)||(p=e=Nz(this,a,b),n=Oz(this),e=this.va(),ev(p,e.getExtension("why_this_ad"),e.getExtension("mute")),this.H=new Sy(p,n));if(d=d?this.Na.Pp():this.Ma)zz(this)?(d.Cb(),this.Za().X(d,"error",
this.SE),this.Za().X(d,"loaded",g.z)):this.Ir(a),d.zr(Jha(this,a)),d.load(b,c)};
g.h.bA=function(a){var b=this.tb()?this.va().G:null;if(b){var c=this.Cm();Hha(this)&&(c="");rz(this)&&a&&(c=Uha(this,a));a=this.Bm();c||a||!rz(this)||(c=" ");(c||a)&&this.Ma.addInfoCardXml(b,c||null,a||null)}};
g.h.WU=function(a,b,c){null!==a.M&&Ap.getInstance().report(34,{evt:"filled"},!0);this.ga||(this.ga=!0,this.oa("contentPauseRequested"));Bz(this)&&!this.L||zz(this)||this.Qv(a,b,c);this.G=!0;this.setVolume(this.D);this.Ta&&(g.E(g.G(xz(a)))?(b=this.Ta,null!=b.C&&(b.Z.Ka(b.C,"click",b.hs),g.Ph(b.C,"cursor","default"))):(b=this.Ta,null!=b.C&&(b.Z.X(b.C,"click",b.hs),null!=b.F&&!g.ki(b.F)&&g.Ph(b.C,"cursor","pointer"))),b=a.o.xa,g.Za(b)||Ov(this.Ta,b),this.Ta.show());zz(this)&&(b=this.Na instanceof jo?
this.Na.o:this.Na,this.L&&(b.hide(),b.Qp(),this.Ma=b.Qm(aw(this))),this.Ir(a),this.Na instanceof jo&&b.Xf());this.M=!1;this.Ga("show_ad");this.Na.Xf();if(!P.A)try{this.Qd(a)}catch(d){Gz(this,g1,d);return}Qy("pi");if(b=null!=this.Ta)b=this.Ta,b=Yo()?!1:null!=b.wa.M?b.wa.J&&b.wa.M==$t(a):b.wa.J;b?Iha(this):this.aa.show(this.Na.Gm(),this.Va.ry,(0,g.A)(this.Ma.play,this.Ma))};
g.h.Ir=function(a){this.C.Cb(a,this.Ma,this.Na.qu(),this.Ta,this.H);this.Za().X(this.C,"engagedview urlNavigationRequested videoAuthorIconClicked videoAuthorClicked videoClicked videoIconClicked videoLearnMoreClicked videoMuteClicked videoShareClicked videoShareShown videoTitleClicked videoUnmuteClicked start feedbackShown feedbackLike feedbackDislike yt-show-toast".split(" "),this.fF);this.Za().X(this.Ma,"loaded",this.wU);this.Za().X(this.Ma,"cardsStateChange",this.lM);this.Za().X(this.Ma,"timeUpdate",
this.jF);this.Za().X(this.Ma,"volumeChange",this.oM);this.Za().X(this.Ma,"shareClicked",this.XF);this.Zg(a);var b=Tr(a,this.Ma);this.hc.o=b;b=a.o;null!=b&&b instanceof hr&&(this.pg(b,d1),this.Uk(b),b=this.Za(),Zn(b,this.C,"error",this.mM,this),Zn(b,this.C,"mediaLoadTimeout",this.nM,this));fw(this,a);a.isSkippable()&&(this.C.K=30)};
g.h.Lk=function(){Bz(this)&&Ez(this);this.oa("loaded");this.dispatchEvent(new ky(this.va()))};
g.h.skip=function(){this.tb()&&this.va().isSkippable()&&(null!=this.Ta?this.Ta.skip():(this.Ga("skip"),Mz(this)))};
g.h.YF=function(){cw(this,"skipshown")};
g.h.start=function(){lz.fa.start.call(this);this.V=[];try{var a=this.va();this.A=Az(this,a);Qy("am");mz(this,(0,g.A)(lz.prototype.WU,this,a,this.A.Xa(),this.A.o))}catch(b){Cz(this,b),this.mj(),this.tb()?(To(this,Dz,b),this.start()):(this.G?To(this,Dz,b):(null!=this.de&&this.de.Qd(wC()),Uo(this,Dz,b)),this.stop())}};
g.h.getVolume=function(){ew(this);return this.Ma.isMuted()?0:this.Ma.getVolume()};
g.h.setVolume=function(a){ew(this);this.G?this.Ma.setVolume(a):this.D=a};
g.h.pause=function(){ew(this);this.o?this.o.pause():this.Ma.pause()};
g.h.resume=function(){ew(this);this.o?this.o.play():this.Ma.play()};
g.h.getCurrentTime=function(){ew(this);var a=this.o?this.o.C:0;return this.Ma.getCurrentTime()+a};
g.h.getDuration=function(){ew(this);return this.Ma.getDuration()};
g.h.Pc=function(){ew(this);var a=this.getDuration(),b=this.getCurrentTime();return 0<=a&&0<=b?Math.max(0,a-b):-1};
g.h.Ne=function(){return this.Ma.Ne()};
g.h.mM=function(){Bz(this)&&!this.L&&this.SE();Gz(this,Dz,Ro(Dz,this.Ma.getError()))};
g.h.SE=function(){this.M=!0};
g.h.nM=function(){Oha(this);Gz(this,i1,Ro(i1,this.Ma.getError()))};
g.h.tx=function(a,b){lz.fa.tx.call(this,a,b);Iz(this,a)};
g.h.fF=function(a){switch(a.type){case "start":Qy("ff");this.oa("start");Q()&&P.A&&this.va()&&this.va().H&&this.oa("youtubeKevlarCompanionShow");this.lk();this.K=!0;this.Ta&&(P.D&&!Q()&&(this.Ta.Wa=!0),Rv(this.Ta));break;case "impression":this.oa("impression");this.L=!0;zz(this)&&Nha(this);break;case "viewable_impression":this.oa("viewable_impression");break;case "why_this_ad_url":this.ha=this.Ma.Ki();Fz(this,"why_this_ad_url");this.pause();break;case "pause":this.oa("pause");break;case "why_this_ad_got_it":Fz(this,
"why_this_ad_got_it");this.ha||this.resume();break;case "resume":this.oa("resume");break;case "firstquartile":this.oa("firstquartile");break;case "midpoint":this.oa("midpoint");break;case "thirdquartile":this.oa("thirdquartile");break;case "complete":Gha(this)||(this.oa("complete"),this.Ga("instreamAdComplete"),this.Vh());break;case "click":this.Ta&&this.Ta.wa.F?this.Ma.Ki()?this.resume():this.pause():Hz(this);break;case "engagedview":Jz(this);this.oa("engagedview");break;case "urlNavigationRequested":this.dispatchEvent(a);
break;case "yt-show-toast":this.dispatchEvent(a);break;case "videoAuthorIconClicked":Qz(this);break;case "videoAuthorClicked":Qz(this);break;case "videoClicked":this.oa("videoClicked");break;case "videoIconClicked":this.dispatchEvent(a);break;case "videoLearnMoreClicked":this.o&&!this.F&&(this.F=!0,cw(this,"video_card_endcap_action"));!Q()&&Jz(this);Hz(this);this.Ma.pause();break;case "videoShareClicked":Qha(this);break;case "videoShareShown":Rha(this);break;case "videoTitleClicked":Sha(this);break;
case "videoMuteClicked":this.ba=this.D;this.setVolume(0);break;case "videoUnmuteClicked":this.setVolume(this.ba);break;case "skipshown":this.oa("skippableStateChanged");break;case "skip":this.o?this.hB():Mz(this);break;case "MUTE_AD":this.oa("MUTE_AD");mz(this,function(){this.Vh()});
break;case "feedbackShown":this.Ga("feedbackShown");break;case "feedbackLike":this.Ga("feedbackLike");break;case "feedbackDislike":this.Ga("feedbackDislike")}};
g.h.Cf=function(){lz.fa.Cf.call(this);this.B&&(g.Gf(this.B),this.B=null)};
g.h.XF=function(){var a=Kz(this)||Lz(this);null!=a&&Ko(a,"sharebuttonclicked")};
g.h.Zg=function(a){lz.fa.Zg.call(this,a);Iz(this,"impression")};
g.h.pg=function(a,b){lz.fa.pg.call(this,a,b);(0,g.C)(b,function(c){Iz(this,c)},this)};
g.h.Uk=function(a){lz.fa.Uk.call(this,a);a instanceof hr&&(a=ir(a),(0,g.C)(a.Gb(),function(b){Iz(this,b)},this))};
g.h.Zj=function(){if(!this.tb())return null;try{var a=this.va();if(null==a)return null;var b=Az(this,a);return null!=b?b.Xa():null}catch(c){return null}};
g.h.wh=function(){if(!this.tb())return null;var a=this.va();if(!bw(a))throw Ro(yz);a=a.o.vh();return g.Za(a)?null:a[0].Xa()};
g.h.wU=function(){this.oa("adCanPlay")};
g.h.lM=function(){var a=this.Ta,b=this.Ma.se();null!=a.o&&g.U(a.o,"ytp-iv-drawer-open",b)};
g.h.jF=function(){var a=this.getDuration();ew(this);var b=this.o?this.getDuration():this.Ma.AB();var c=this.getCurrentTime(),d=0,e=0;this.tb()&&(e=this.va(),d=e.B.o,e=e.B.Ee);if(null!=this.Ta&&0<=a&&0<=c){if(!this.Y&&3==this.va().Sa){var f=this.Ma.getDuration(),k=ru(this.va());f=Math.abs(f-k);2<f&&(f=Ro(nza,null,Number(f).toFixed(2)),f=Sr(f,this.va(),this.Ma),k=Rt(this.va()),No(k,f));this.Y=!0}this.Ta.update(c,b,a,d,e)}};
g.h.oM=function(){var a=this.Ma.getVolume();if(a!=this.D&&(this.D=a,this.oa("volumeChange",{volume:a}),0==a&&this.oa("mute"),this.Ta)){var b=this.Ta;b.V&&(b=b.V,a=0==a,b.o!=a&&(b.o=a,kv(b)))}};
g.h.mV=function(a){var b=this.tb()&&Gu(this.va());return!a||g.E(g.G(a.channelId))||!a.ze&&!b?Gg():new g.Bg(function(c,d){rha(a.channelId,function(e){e=new kq(e);c(e)},function(){d()},this)},this)};
g.h.lK=function(a){var b=zo(),c=this.va();if((g.Za(Tt(c))||!Tt(c)[0].B)&&!b.o("website_actions_holdback")&&Q()&&Du(c)){var d=pga(c,a);if(d)if(Zt(c,[d]),P.A)this.K&&c.H&&this.oa("youtubeKevlarCompanionShow");else try{this.Qd(c)}catch(n){Gz(this,g1,n)}}if(d=this.Ta){d=this.va();var e=d.V;d=Q()&&g.Za(Tt(d))&&null!=d.ea&&null!=e&&e.ze}P.A&&(d=d&&!c.H);if(d){this.Za().X(window,"message",this.jL);d=this.va();e=d.ea.channelId;var f=$r(d),k=this.Va.contentId,l=this.Va.Kj;l=new g.Hn((null!=l?l:"//www.youtube.com/")+
"ad_companion");var m=l.o;m.set("adformat",f);m.set("p",e);m.set("render","video_wall_companion");k&&m.set("content",k);e=new or("1",new g.Qd(300,250),"IFrame",null,l.toString());e.J=d;e.F=!0;d=new Ds(e,[],null,!0);P.A?(Q()&&P.A&&"IFrame"===d.o.M&&(e=d.o.ie(),zo().o("ima_remove_videowall_companion_blank_area")&&(e.width=300,e.height=210),c.H={iframeCompanionRenderer:{clickTrackingUrls:Xt(c,"companionClick"),height:e.height,impressionTrackingUrls:Xt(c,"companionImpression"),url:d.o.A,width:e.width}}),
this.K&&c.H&&this.oa("youtubeKevlarCompanionShow")):(pu(c,d),this.Qd(c))}tu(c)||b.o("website_actions_holdback")||!Du(c)||nga(c,a);return a};
g.h.jL=function(a){var b=a.o;if("companion-setup-complete"==b.data){a=this.va();var c=encodeURIComponent(g.G(Yt(a)))+","+encodeURIComponent((Kz(this)||Lz(this)).toString());b.source.postMessage(c,"*");b=b.source.frameElement;b.parentNode.style.cssText="";zo().o("ima_remove_videowall_companion_blank_area")?(b.width=300,b.height=210):(b.width=370,b.height=null!=Yt(a)?210:185)}else"pause-video"==b.data&&this.pause()};
g.h.KV=function(a){if(null!=this.Ta&&a.ze){var b=this.Ta,c=a.title;b.wa.O=!g.E(g.G(c));b.wa.title=c;null!=b.G&&g.ye(b.G,b.wa.title);Sv(b);b=this.Ta;null!=b.La?g.ye(b.La,Us()):null!=b.K&&g.ye(b.K,Us());b=this.Ta;c=a.Xh;null!=c&&(b.wa.Xh=c);Sv(b)}this.tb()&&(this.va().V=a,this.oa("youTubeVideoMetadata"));return a};
g.h.JV=function(a){if(null!=this.Ta&&Pz(this)){var b=this.Ta,c=a.authorName;b.wa.Fa=!g.E(g.G(c));b.wa.authorName=c;null!=b.D&&g.ye(b.D,(new oq("\u043e\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f "+b.wa.authorName,void 0)).Xc());Sv(b);b=this.Ta;c=a.channelIconThumbnailUrl;b.wa.Aa=!g.E(g.G(c));if(null!=b.L){var d=g.ke("img");d.setAttribute("src",c);g.T(d,"videoAdUiAuthorIconImage");b.L.appendChild(d);null!=b.G&&g.T(b.G,"videoAdUiTitleWithAuthorIcon");null!=b.D&&g.T(b.D,
"videoAdUiAuthorNameWithAuthorIcon")}Sv(b)}this.tb()&&(this.va().ea=a,this.oa("youTubeChannelMetadata"));return a};
g.h.fb=function(a,b,c){lz.fa.fb.call(this,a,b,c);null!=this.Ta&&this.Ta.fb()};g.B(Rz,g.jg);Rz.prototype.o=!1;Rz.prototype.connect=function(){for(this.o=!0;!g.Za(this.A);){var a=this.A.shift();this.sendMessage(a.name,a.type,a.data)}};
Rz.prototype.isConnected=function(){return this.o};
Rz.prototype.send=function(a,b,c){this.o?this.sendMessage(a,b,c):this.A.push({name:a,type:b,data:c})};
g.B(Sz,g.If);Sz.prototype.getOrigin=function(){return this.A};
Sz.prototype.toString=function(){return""};g.B(Tz,Rz);Tz.prototype.sendMessage=function(a,b,c){null!=this.Df&&null!=this.Df.postMessage&&this.Df.postMessage(Vha(this,a,b,c),"*");null!=this.Df&&null==this.Df.postMessage&&Ap.getInstance().report(11)};
Tz.prototype.W=function(){this.Z.dispose();Tz.fa.W.call(this)};
Tz.prototype.receive=function(a){a=a.o;var b=Uz(a.data);if(Vz(this,b)){if(null==this.Df)this.Df=a.source,this.isConnected()||this.connect();else if(this.Df!=a.source)return;Vz(this,b)&&this.dispatchEvent(new Sz(b.name,b.type,b.data||{},b.sid,a.origin))}};g.B(Wz,g.If);g.B(Xz,Yv);g.h=Xz.prototype;
g.h.init=function(a){Xz.fa.init.call(this,a);this.O=g.Vg(this.pM,this.Va.eg,this);this.Za().X(window,"message",this.AU);this.Za().X(this.J,"tick",this.ZU);a=P.o?Zp():Gp();this.Za().X(a,e1,this.Mk);if(aA())this.dispatchEvent(new Wz("createFriendlyIframe",this.D));else{a=Au(this.va());if(/\.html(\?.*)?$/.test(a)){if(a.match("//s0.2mdn.net/instream/html5/survey/survey.html")){var b="ru".replace("-","_");a=a.replace(".html","_"+b+".html");null!=this.Va.contentId&&(a=wh(a,"v",this.Va.contentId));Q()&&
(b=uh(a,"st"),b=Zha(this,b?b+" yt":"yt"),a=wh(a,"st",b))}a=g.G(a)}else{b=new g.Hn(a);var c=new g.Hn("http://tpc.googlesyndication.com/pagead/js/loader13.html");"https"==b.B&&g.In(c,"https");this.Y=b.A;a=Mn(c,a||"",void 0).toString()}this.C=g.ie("IFRAME",{src:Go(a),allowFullscreen:!0,allowtransparency:!0,background:"transparent",style:"border:0; opacity:1; margin:0; overflow:hidden;padding:0; width:100%; height:100%;position: absolute;display:none;"});this.Za().X(this.C,"load",this.nK);this.Na.Qf().appendChild(this.C)}};
g.h.Vc=function(a,b,c){Xz.fa.Vc.call(this,a,b,c);this.A=this.va().o instanceof hr;this.o=a.Qm(!1);aA()||(this.Za().X(this.o,"click end error loaded mediaLoadTimeout pause play timeUpdate volumeChange".split(" "),this.oT),this.Za().X(this.o,SB,this.VQ))};
g.h.stop=function(){this.J.stop();this.Na.hide();Xz.fa.stop.call(this)};
g.h.Yb=function(){return 1==this.A};
g.h.start=function(){Xz.fa.start.call(this);if(!Q()){var a={};a.pid=Oy.getInstance().o;a.dn=this.Y;a["if"]=aA();Ap.getInstance().report(29,a,!0)}a=this.va();this.hc.B=a.L;var b=Tr(a,this.o);this.hc.o=b;if(b=a.o)this.Zg(a),this.pg(b,d1),this.Uk(b),fw(this,a);this.o.Cb();this.Ga("show_ad");this.Na.Kd();hw(this);null!=this.C&&(this.C.style.display="block");this.o.setVolume(this.B);this.ba=!0;this.A&&this.oa("contentPauseRequested");dA(this)};
g.h.fb=function(a,b,c){Xz.fa.fb.call(this,a,b,c);$z(this,"resizeAd",{width:a,height:b,viewMode:c})};
g.h.pause=function(){this.F||$z(this,"pauseAd")};
g.h.resume=function(){this.F&&($z(this,"resumeAd"),fA(this,"play"))};
g.h.setVolume=function(a){this.B=a;Xz.fa.setVolume.call(this,a);$z(this,"setAdVolume",{value:a})};
g.h.W=function(){aA()&&this.dispatchEvent(new Wz("destroyFriendlyIframe",this.D));g.qe(this.C);this.A&&(!this.M||this.o.Ki()||this.o.Ch()||this.o.pause(),this.oa("contentResumeRequested"));this.oa("allAdsCompleted");this.lc=!1;this.H=[];g.Wg(this.O);this.J.dispose();Xz.fa.W.call(this)};
g.h.Lk=function(){};
g.h.nK=function(){if(!aA()){var a=this.o.zu();g.Za(a)&&(a=this.Va.Pm);$z(this,"wrapperCall",{messageType:"supportedMimeTypes",supportedMimeTypes:a})}Zz(this)};
var Yha={use_fast_fade_in_0s:"ffi-0",use_fast_fade_in_1s:"ffi-1",use_new_style:"new",hide_preskip:"nps",use_sound:"snd",hide_progress_bar:"npb",use_survey_skip_in_2s:"skip-2",use_survey_skip_in_3s:"skip-3",use_survey_skip_in_10s:"skip-10",use_survey_skip_in_15s:"skip-15",use_survey_skip_in_20s:"skip-20",use_survey_length_15s:"time-15",use_survey_length_45s:"time-45",use_survey_skip_in_0s:"sec-0",use_survey_length_unlimited:"time-ul",hide_advertisement_text:"nat",use_skip_survey_text:"skip_survey",
show_interstitial_white:"intr-white",show_interstitial_blue:"intr-blue",show_interstitial_for_3s:"intr-time-3",show_interstitial_for_5s:"intr-time-5",show_interstitial_close_icon:"intr-close-icon",set_interstitial_survey_text:"intr-txt-survey",set_interstitial_question_text:"intr-txt-question",set_interstitial_start_button:"intr-start-button",set_interstitial_advertisers_question_text:"intr-txt-advertisers-question",set_interstitial_ads_question_text:"intr-txt-ads-question"};g.h=Xz.prototype;
g.h.AU=function(a){a=a.o;if(aA()){if(a=Uz(a.data),null!=a){try{var b=JSON.parse(a.data)}catch(c){return}null!=b&&b.session==this.D&&eA(this,b)}}else if(a.source==this.C.contentWindow){try{b=JSON.parse(a.data)}catch(c){return}b.session==this.D&&eA(this,b)}};
g.h.pM=function(){bA(this,i1,null,(this.Va.eg/1E3).toString());this.stop()};
g.h.oT=function(a){switch(a.type){case "timeUpdate":a=this.o.getDuration();var b=this.o.getCurrentTime();Yz(this,"wrapperCall",{messageType:"timeupdate",duration:a,currentTime:b});break;case "end":fA(this,"ended");break;case "loaded":fA(this,"loadstart");break;case "mediaLoadTimeout":fA(this,"stalled");break;case "play":fA(this,"playing");break;default:fA(this,a.type)}};
g.h.VQ=function(a){a=a.type;"loadedmetadata"==a?(a=this.o.getDuration(),Yz(this,"wrapperCall",{messageType:"loadedmetadata",duration:a})):fA(this,a)};
g.h.getCurrentTime=function(){return-1==this.getDuration()||-1==this.Pc()?-1:this.getDuration()-this.Pc()};
g.h.getDuration=function(){return this.G};
g.h.Pc=function(){return this.K};
g.h.sb=function(){return!this.F};
g.h.ZU=function(){$z(this,"getAdRemainingTime")};g.B(gA,Yv);g.h=gA.prototype;g.h.Cm=function(){return this.Ac()?this.o.Cm():""};
g.h.Bm=function(){return this.Ac()?this.o.Bm():""};
g.h.pf=function(){return this.Ac()?this.o.pf():null};
g.h.va=function(){if(this.o)return this.o.pf();throw Ro(dw,null,"Proxied ads manager not available.\n"+Error().stack);};
g.h.tb=function(){return null!=this.o&&null!=this.o.pf()};
g.h.Nm=function(){return!1};
g.h.Pe=function(){return null};
g.h.xr=function(){this.tb()&&(this.ads=[this.va()],this.xc=this.va())};
g.h.destroy=function(){this.o&&(this.o.destroy(),this.o=null);gA.fa.destroy.call(this)};
g.h.zb=function(){return this.o?this.o.zb():null};
g.h.lk=function(){this.G=!0;this.o&&this.o.lk()};
g.h.init=function(a){this.Cc(a);this.Ac()&&this.o.init(a)};
g.h.Vc=function(a,b,c){a&&a instanceof jo&&(a=a.o);gA.fa.Vc.call(this,a,b,c);iA(this,a,b,c)};
g.h.W=function(){this.oa("allAdsCompleted");jA(this);gA.fa.W.call(this)};
g.h.getCurrentTime=function(){return this.Ac()?this.o.getCurrentTime():-1};
g.h.getDuration=function(){return this.Ac()?this.o.getDuration():-1};
g.h.Pc=function(){return this.Ac()?this.o.Pc():-1};
g.h.fb=function(a,b,c){this.qe=a;this.pe=b;this.Cc(c);this.Ac()&&this.o.fb(a,b,c)};
g.h.pause=function(){this.Ac()&&this.o.pause()};
g.h.resume=function(){this.Ac()&&this.o.resume()};
g.h.skip=function(){this.Ac()&&this.o.skip()};
g.h.muteAdClicked=function(){this.Ac()&&this.o.muteAdClicked()};
g.h.muteAd=function(){this.Ac()&&this.o.muteAd()};
g.h.whyThisAdClicked=function(){this.Ac()&&this.o.whyThisAdClicked()};
g.h.whyThisAdClosed=function(){this.Ac()&&this.o.whyThisAdClosed()};
g.h.start=function(){if(this.Ac()){var a=this.o,b=this.Na;a&&b&&(null!=a&&a instanceof lz?b.Xf():null!=a&&a instanceof Xz?(b.Kd(),b.Xf()):null!=a&&(a instanceof fy||a instanceof $x)&&b.Kd());null!=this.volume&&!isNaN(this.volume)&&this.o.setVolume(this.volume);this.o.start()}};
g.h.stop=function(){this.zb()&&this.zb().Yb()&&this.oa("contentResumeRequested");this.destroy()};
g.h.getVolume=function(){return this.Ac()?this.o.getVolume():0};
g.h.setVolume=function(a){a=isNaN(a)||0>a?0:a;gA.fa.setVolume.call(this,a);this.Ac()&&this.o.setVolume(a)};
g.h.Cc=function(a){gA.fa.Cc.call(this,a);this.o&&this.o.Cc(a)};
g.h.Ne=function(){return this.o?this.o.Ne():null};
g.h.Cf=function(){this.o&&this.o.Cf()};
g.h.qk=function(a){return this.o?this.o.qk(a):!1};
g.h.Xm=function(){return this.o?this.o.Xm():!1};
g.h.Zj=function(){return this.o?this.o.Zj():null};
g.h.mE=function(a){this.dispatchEvent(a)};
g.h.wE=function(a){this.dispatchEvent(a)};
g.h.Qw=function(a){this.dispatchEvent(a)};
g.h.ah=function(a){gA.fa.ah.call(this,a);this.o&&this.o.ah(a)};
g.h.ej=function(){this.oa("userClose")};
g.h.cj=function(){this.oa("autoClose")};
g.h.mg=function(a){this.o&&this.o instanceof $x&&this.o.mg(a)};
g.h.Ac=function(){return null!=this.o&&this.o.Ac()};g.B(lA,gA);g.h=lA.prototype;g.h.zb=function(){return this.C};
g.h.dispatchEvent=function(a){if(a instanceof lo){if("loaded"==a.type&&this.D)return a.stopPropagation(),!1;"loaded"==a.type&&(this.D=!0)}return lA.fa.dispatchEvent.call(this,a)};
g.h.Nm=function(){return null!=ju(this.C)&&ju(this.C).Vf()};
g.h.mE=function(a){if(this.B)this.dispatchEvent(a);else{var b=a.getError()||Ro(Dz);a=a.target.zb();iu(a);nA(this,ju(a),Error(b.Ud()))}};
g.h.Qw=function(a){this.B&&(lA.fa.Qw.call(this,a),this.destroy())};
g.h.wE=function(a){this.F||(this.F=!0,this.dispatchEvent(a))};
g.h.hQ=function(){this.A&&this.A.dispose();this.B=!0};g.B(oA,Yv);g.h=oA.prototype;g.h.Cm=function(){return this.o?this.o.Cm():""};
g.h.Bm=function(){return this.o?this.o.Bm():""};
g.h.pf=function(){return this.o?this.o.pf():null};
g.h.va=function(){if(this.o)return this.o.pf();throw Ro(dw,null,"Current ads manager not available.\n"+Error().stack);};
g.h.tb=function(){return null!=this.o&&null!=this.o.pf()};
g.h.Nm=function(){return this.C+1<this.A.length};
g.h.Pe=function(){return this.Nm()?this.A[this.C+1].pf():null};
g.h.xr=function(){this.tb()&&(this.ads=[this.va()],this.xc=this.va())};
g.h.Za=function(){};
g.h.destroy=function(){this.o&&this.o.destroy();oA.fa.destroy.call(this)};
g.h.zb=function(){return this.o?this.o.zb():null};
g.h.lk=function(){this.o&&this.o.lk()};
g.h.init=function(a){this.Cc(a);this.o&&this.o.init(a)};
g.h.Vc=function(a,b,c){a&&a instanceof jo&&(a=a.o);oA.fa.Vc.call(this,a,b,c);pA(this,a,b,c)};
g.h.W=function(){(0,g.C)(this.A,function(a){a!==this.o&&a.destroy()},this);
sA(this);this.F&&(this.F.dispose(),this.F=null);this.B&&(this.B.destroy(),this.B=null);this.oa("allAdsCompleted");oA.fa.W.call(this)};
g.h.getCurrentTime=function(){return this.o?this.o.getCurrentTime():-1};
g.h.getDuration=function(){return this.o?this.o.getDuration():-1};
g.h.Pc=function(){return this.o?this.o.Pc():-1};
g.h.fb=function(a,b,c){this.qe=a;this.pe=b;this.Cc(c);this.o&&this.o.fb(a,b,c)};
g.h.pause=function(){this.o&&this.o.pause()};
g.h.resume=function(){this.o&&this.o.resume()};
g.h.skip=function(){this.o&&this.o.skip()};
g.h.muteAdClicked=function(){this.o&&this.o.muteAdClicked()};
g.h.muteAd=function(){this.o&&this.o.muteAd()};
g.h.whyThisAdClicked=function(){this.o&&this.o.whyThisAdClicked()};
g.h.whyThisAdClosed=function(){this.o&&this.o.whyThisAdClosed()};
g.h.start=function(){if(this.o){var a=this.o,b=this.Na;a&&b&&(null!=a&&a instanceof lz?b.Xf():null!=a&&a instanceof Xz?(b.Kd(),b.Xf()):null!=a&&(a instanceof fy||a instanceof $x)&&b.Kd());null!=this.volume&&!isNaN(this.volume)&&this.o.setVolume(this.volume);this.o.start()}};
g.h.gf=function(a){oA.fa.gf.call(this,a);null!=this.o&&this.o.gf(a);null!=this.B&&this.B.gf(a);(0,g.C)(this.A,function(b){b.gf(a)})};
g.h.stop=function(){this.destroy();this.oa("contentResumeRequested")};
g.h.getVolume=function(){return this.o?this.o.getVolume():0};
g.h.setVolume=function(a){a=isNaN(a)||0>a?0:a;oA.fa.setVolume.call(this,a);this.o&&this.o.setVolume(a)};
g.h.Cc=function(a){oA.fa.Cc.call(this,a);this.o&&this.o.Cc(a)};
g.h.Ne=function(){return this.o?this.o.Ne():null};
g.h.Cf=function(){this.o&&this.o.Cf()};
g.h.qk=function(a){return this.o?this.o.qk(a):!1};
g.h.Xm=function(){return this.o?this.o.Xm():!1};
g.h.Zj=function(){return this.o?this.o.Zj():null};
g.h.gQ=function(a){var b=a.getError()||Ro(Dz);rA(this,a.target,b)};
g.h.Sh=function(){this.G||(this.oa("contentPauseRequested"),this.G=!0)};
g.h.lg=function(a){qA(this,a.target)};
g.h.kM=function(){};
g.h.ah=function(a){(0,g.C)(this.A,function(b){b.ah(a)},this)};
g.h.ej=function(){this.oa("userClose")};
g.h.cj=function(){this.oa("autoClose")};
g.h.mg=function(a){this.o&&this.o instanceof $x&&this.o.mg(a)};g.B(tA,g.K);g.h=tA.prototype;g.h.Rm=!1;g.h.Uu=1E3;g.h.UC=30;g.h.VC=45E3;g.h.DF=15E3;g.h.bH=!1;g.h.Tt=function(){var a=uA(this);this.o.appendChild(this.J);this.display(this.J);this.play();return a};
g.h.ra=function(){null==this.L&&(this.L=this.Tt());return this.L};
g.h.play=function(){null==this.A&&(this.A=g.Vg(function(){this.Rm||(this.hide(),this.bH=!0);this.A=null},this.bH?this.DF:this.VC,this))};
g.h.stop=function(){null!=this.A&&(g.Wg(this.A),this.A=null)};
g.h.display=function(a){var b=document.createEvent("Event");b.initEvent("creativeview",!0,!0);a.dispatchEvent(b)};
g.h.show=function(){g.ji(this.ra(),1);null!=this.C&&(g.Wg(this.C),this.C=null)};
g.h.hide=function(){g.ji(this.ra(),this.UC/100);null==this.C&&(this.C=g.Vg(function(){this.O();this.C=null},400,this))};
g.h.WL=function(){this.show();this.Rm=!0;this.D=g.Vg(function(){this.Rm&&this.stop();this.D=null},this.Uu,this)};
g.h.fW=function(){null!=this.D&&(g.Wg(this.D),this.D=null);this.Rm&&this.play();this.Rm=!1};
g.h.W=function(){tA.fa.W.call(this);this.stop();g.Gf(this.Tf)};g.B(vA,Yv);g.h=vA.prototype;g.h.start=function(){vA.fa.start.call(this);this.Na.Kd();this.C=this.Na.Qf();if(null!=this.C){this.Ga("show_ad");g.oe(this.C);var a=this.pA(),b=this.tb()?this.va().o.zd():a,c;P.o?c=Zp():c=Gp();c.il(b);this.C.appendChild(a);this.Uo();(0,g.C)(this.H,function(d){d()});
$a(this.H);this.D=!0}};
g.h.init=function(a){vA.fa.init.call(this,a);var b;P.o?b=Zp():b=Gp();this.Za().X(b,e1,this.Mk)};
g.h.expand=function(){null!=this.o&&this.o.show();this.Ga("expand")};
g.h.collapse=function(){null!=this.o&&this.o.hide();this.Ga("collapse")};
g.h.fb=function(a,b,c){vA.fa.fb.call(this,a,b,c);this.Uo();this.D&&this.Ga("overlay_resize")};
g.h.W=function(){g.Gf(this.o);this.Na=this.o=null;this.D=!1;null!=this.G&&this.G.Mj();P.o?Zp().il(null):Gp().il(null);null!=this.C&&(g.oe(this.C),this.C=null);vA.fa.W.call(this)};
g.h.pA=function(){var a=this.va().o;if(null==a)throw a=Ro(ND),yA(this,a),a;var b=this.va();rr(a,this.Za());pr(a,this.gL);a.F||qr(a,g.Na(this.Mu,b,a));if(P.A&&b.H)this.oa("youtubeKevlarCompanionShow");else try{this.Qd(b)}catch(c){throw yA(this,c),c;}this.Zg(b);xA(this,b);this.pg(a,["start"]);wA(this,a);return this.Lo([a.zd()])};
g.h.oC=function(a,b){return new tA(a[0],b)};
g.h.Lo=function(a){null!=this.o&&this.o.stop();this.o=this.oC(a,(0,g.A)(this.mp,this));a=this.o.ra();g.U(a,"autoalign",this.Va.jA);Q()&&g.U(a,"viewmode-fullscreen","fullscreen"==this.dd);a.appendChild(this.M);this.Za().X(a,"click",Jf);(this.tb()&&qu(this.va())||this.Va.VG)&&this.wt(this.o.o);return a};
g.h.wt=function(a){var b=Er(cia,{KJ:"Ad info",close:"\u0417\u0430\u043a\u0440\u044b\u0442\u044c"}),c=g.Zd("ad-info-padding",b),d=this.Za();c&&this.tb()&&(this.G=new Yu(Vt(this.xc),Wt(this.xc)),d.X(c,"click",this.eL),d.X(this.L,["why_this_ad_url","why_this_ad_got_it","why_this_ad_settings_url"],this.IU));c=g.zr(b,"close-padding")?b:g.Zd("close-padding",b);d.X(c,"click",this.Ip);this.tb()&&728<=this.xc.ab()&&g.T(a,"wide-overlay-ad");a.appendChild(b)};
g.h.Uo=function(a,b){if(null!=this.o){var c=a?a:0,d=b?b:0,e=g.hi(this.Na.Qf());var f=Q()?g.hi(ue(this.o.o)):g.hi(this.o.o);if(f.width+c>e.width||f.height+d>e.height)throw c=Ro(lza,null),yA(this,c),d={},this.ads[0].C&&(d.pid=Oy.getInstance().o),d.cz=f.width+"x"+f.height,d.sz=e.width+"x"+e.height,d.ct=this.va().o.Ad(),d.vm=this.dd,Ap.getInstance().report(38,d,!0),this.stop(),c;}};
g.h.gL=function(a){cw(this,"click");Jf(a)};
g.h.Ip=function(){this.Ga("close");this.mp(!0)};
g.h.eL=function(){var a=g.Zd("html5-video-player");a&&this.G&&$u(this.G,a,this.L)};
g.h.Mu=function(a,b){qr(b,g.z);this.D?this.Pn(a,b):this.H.push((0,g.A)(this.Pn,this,a,b))};
g.h.Pn=function(a){a=Tr(a,this.Ma);this.hc.o=a;cw(this,"impression");this.Ga("creativeview");cw(this,"start")};
g.h.mp=function(a){null!=this.o&&(this.o.stop(),a?this.oa("userClose"):this.oa("autoClose"))};
g.h.Mk=function(a){this.tb()&&this.va().L==a.o.queryId&&vA.fa.Mk.call(this,a)};
g.h.IU=function(a){switch(a.type){case "why_this_ad_url":this.oa("why_this_ad_url");this.Ga("why_this_ad_url");break;case "why_this_ad_got_it":this.oa("why_this_ad_got_it");this.Ga("why_this_ad_got_it");break;case "why_this_ad_settings_url":this.Ga("why_this_ad_settings_url")}};g.B(zA,g.jg);g.h=zA.prototype;g.h.init=function(a,b,c){AA(this,a,b,c);null==this.Z&&(this.Z=new g.Xn(this),Zn(this.Z,this.qb,"adsLoaderSdkAdError",this.dQ,this));HA(this)};
g.h.start=function(){this.V=!0;DA(this);0<this.C.length?OA(this):("always"==P.C&&(null!=this.aa&&this.aa.Qd(wC()),Q()&&5!=this.Ue()&&this.dispatchEvent(new lo("companionBackfill",null))),So(Qo,this,gs,void 0,void 0),0==this.Dc&&this.dispatchEvent("contentResumeRequested"),PA(this))};
g.h.destroy=function(){null!=this.Z&&(this.Z.dispose(),this.Z=null);JA(this);RA(this);P.C=this.Y;this.V=!1};
g.h.zb=function(){return this.A<this.C.length?this.C[this.A].o[0]:null};
g.h.sb=function(){return this.V};
g.h.pause=function(){null!=this.o&&this.o.pause()};
g.h.resume=function(){null!=this.o&&this.o.resume()};
g.h.skip=function(){null!=this.o&&this.o.skip()};
g.h.Cf=function(){null!=this.o&&this.o.Cf()};
g.h.getCurrentTime=function(){return null!=this.o?this.o.getCurrentTime():-1};
g.h.getDuration=function(){return null!=this.o?this.o.getDuration():-1};
g.h.Pc=function(){return null!=this.o?this.o.Pc():-1};
g.h.setVolume=function(a){null!=a&&(this.O=a,null!=this.o&&this.o.setVolume(this.O))};
g.h.gf=function(a){this.M=a;null!=this.o&&this.o.gf(a);null!=this.D&&this.D.gf(a)};
g.h.kE=function(a){P.C=this.Y;var b=a.B;g.Za(b)?this.J++:(a=a.C,(0,g.C)(b,g.Na(function(c,d){null!=c.C&&(d.Wa=c.C);c.isBumper&&(d.Ia=!1)},a)),this.L=hia(this,b),g.bb(this.C,new io(b,a.isBumper,a.o)),this.J++,this.Z.Ka(this.qb,"adsLoaderSdkAdLoaded",this.kE,!1,this));
HA(this)};
g.h.dQ=function(a){a=a.o;P.C=this.Y;a.Ud();So(Qo,this,gs,void 0,void 0);this.J++;if(!BA(this)||2<=this.C.length-this.A)a=Qo(gs),this.dispatchEvent(new ko(a));HA(this)};
g.h.zS=function(){JA(this);RA(this);PA(this)};
g.h.eQ=function(a){a=a.getError().Fb();try{var b={};b.ec=a;Ap.getInstance().report(44,b)}catch(c){}this.A++;OA(this)};
g.h.ej=function(){this.dispatchEvent("userClose")};
g.h.cj=function(){this.dispatchEvent("autoClose")};
g.h.lg=function(){this.A++;OA(this)};
g.h.Sh=function(){this.ga||(this.dispatchEvent("contentPauseRequested"),this.ga=!0)};
g.h.Ue=function(){return g.Za(this.G)?null:this.G[0].C};
g.h.mg=function(a){this.o instanceof $x?this.o.mg(a):MA(this.o)&&this.o.mg(a)};
g.h.lE=function(a){switch(a.type){case "impression":try{Ap.getInstance().report(44,{imp:!0})}catch(c){}break;case "start":var b;if(b=this.og()&&EA(this,this.A+1)&&1<NA(this))b=a.Tb(),b=null===b||null===this.o||g.Za(this.o.ads)?!1:this.o.ads[this.o.ads.length-1]===b;b&&GA(this,this.A+1)}"vpaidEvent"!=a.type&&jia(this,a.type,a.Tb());this.dispatchEvent(a)};
g.h.og=function(){return null===this.B?!1:op(this.B)&&this.M.Om};SA.prototype.Oe=function(){return this.o};g.B(TA,kia);g.B(WA,rw);WA.prototype.C=function(){return new tw(this.o,null,mia(this))};g.B($A,g.If);$A.prototype.setDescription=function(){};g.B(aB,g.jg);g.B(cB,g.jg);g.h=cB.prototype;g.h.Cb=function(){this.C||(null==this.Z&&(this.Z=new g.Xn(this)),this.Z.X(this.A,"currentTimeUpdate",this.kC,!1),this.Z.X(this.A,"contentWrapperError",this.KS,!1));this.A.start();this.C=!0};
g.h.getCurrentTime=function(){return this.A.currentTime};
g.h.ad=function(){null!=this.Z&&(this.Z.dispose(),this.Z=null);this.A.stop();this.C=!1};
g.h.kC=function(){if(this.C){var a=this.A.currentTime;if(isNaN(a)||0>a)jB(this,"The currentTime is not a valid time value:"+a);else{var b=pia(this,a);this.D?(0,g.C)(b,function(c){gB(this,!0,c)},this):(0,g.C)(qia(b),function(c){gB(this,!0,c)},this);
gB(this,!1,ria(this,a));sia(this,a)}}};
g.h.KS=function(){jB(this,"There was an error while tracking the content:The content current time is invalid.")};g.B(lB,aB);lB.prototype.start=function(){this.Ea.start()};
lB.prototype.stop=function(){this.Ea.stop()};
lB.prototype.W=function(){lB.fa.W.call(this);this.A.dispose();this.Ea.dispose()};
lB.prototype.C=function(){if("currentTime"in this.o&&!isNaN(this.o.currentTime)){var a=this.currentTime;this.currentTime=this.o.currentTime;a!=this.currentTime&&this.dispatchEvent(new g.If("currentTimeUpdate"))}else this.dispatchEvent(new g.If("contentWrapperError")),this.stop()};g.h=nB.prototype;g.h.add=function(a){var b=this.o[this.A];this.o[this.A]=a;this.A=(this.A+1)%4;return b};
g.h.get=function(a){a=oB(this,a);return this.o[a]};
g.h.set=function(a,b){a=oB(this,a);this.o[a]=b};
g.h.Gc=function(){return this.o.length};
g.h.isEmpty=function(){return 0==this.o.length};
g.h.clear=function(){this.A=this.o.length=0};
g.h.wb=function(){var a=this.Gc(),b=this.Gc(),c=[];for(a=this.Gc()-a;a<b;a++)c.push(this.get(a));return c};
g.h.Gb=function(){for(var a=[],b=this.Gc(),c=0;c<b;c++)a[c]=c;return a};g.B(pB,Dp);g.h=pB.prototype;g.h.QF=function(a,b,c,d){if(d&&(d=g.Ua(a,function(e){return null!==Hr(e.Xa())}),null!==d))return d;
a=(0,g.re)(a,function(e){var f=e.o,k=e.Xa();g.E(g.G(k))||"progressive"!=e.C&&"application/x-mpegurl"!=g.G(f).toLowerCase()?e=!1:(f=g.G(f).toLowerCase(),e=g.E(f)||hp(2.3)&&-1!=f.indexOf("application/ogg")?!1:g.fp&&(-1!=f.indexOf("video/mp4")||-1!=f.indexOf("video/3gpp"))||bp()&&(-1!=f.indexOf("application/x-mpegurl")||-1!=f.indexOf("application/vnd.apple.mpegurl"))?!0:!g.E(this.o.canPlayType(f)));return e},this);
return mB(a,b,c)};
g.h.zu=function(){return(0,g.re)(g.Ub(gw),function(a){return!g.E(this.o.canPlayType(a))},this)};
g.h.zr=function(a){this.O=0<a.timeout?a.timeout:1E4};
g.h.load=function(a){rB(this);a&&(this.o.src=a);this.o.load()};
g.h.unload=function(){rB(this);this.o.src="";this.o.load()};
g.h.getVideoUrl=function(){return this.o.src};
g.h.setVolume=function(a){this.o.volume=a;this.o.muted=0==a?!0:!1};
g.h.getVolume=function(){return this.o.volume};
g.h.play=function(){this.L=!1;this.o.play();this.H||(this.H=g.Vg(this.fK,this.O,this))};
g.h.pause=function(){this.L=!0;this.o.pause();qB(this)};
g.h.Ki=function(){return this.o.paused?bp()||g.aM?this.o.currentTime<this.o.duration:!0:!1};
g.h.isMuted=function(){return this.o.muted};
g.h.Yu=function(){ap()&&this.o.webkitDisplayingFullscreen&&this.o.webkitExitFullscreen()};
g.h.hk=function(){return aq(this.o)};
g.h.Yl=function(a){var b;a:{for(b=this.V.wb();b.length;){var c=b.pop();if(0<c){b=c;break a}}b=-1}return b>=a};
g.h.ik=function(a){this.o.currentTime=a};
g.h.getCurrentTime=function(){return this.o.currentTime};
g.h.AB=function(){return tB(this)};
g.h.getDuration=function(){return isNaN(this.o.duration)?-1:this.o.duration};
g.h.Ch=function(){return this.o.ended};
g.h.Bh=function(){return new g.Qd(this.o.offsetWidth,this.o.offsetHeight)};
g.h.pC=function(){return this.o.seeking};
g.h.W=function(){this.ad();pB.fa.W.call(this)};
g.h.getError=function(){return null};
g.h.Cb=function(){this.ad();this.Z=new g.Xn(this);this.Z.X(this.o,SB,this.IS);this.Z.X(this.o,"canplay",this.EQ);this.Z.X(this.o,"ended",this.sM);this.Z.X(this.o,"webkitbeginfullscreen",this.Zu);this.Z.X(this.o,"webkitendfullscreen",this.rC);this.Z.X(this.o,"pause",this.uM);this.Z.X(this.o,"playing",this.SS);this.Z.X(this.o,"timeupdate",this.vM);this.Z.X(this.o,"volumechange",this.wM);this.Z.X(this.o,"error",this.qC);this.Z.X(this.o,g.MN||bp()&&!ep(8)?"loadeddata":"canplay",this.UR);this.D=new Iu;
this.Z.X(this.D,"click",this.rM);this.D.Cb(this.o);this.G=new g.Ug(1E3);this.Z.X(this.G,"tick",this.tM);this.G.start()};
g.h.ad=function(){null!=this.D&&(this.D.ad(),this.D=null);null!=this.G&&this.G.dispose();null!=this.Z&&(this.Z.dispose(),this.Z=null);rB(this)};
g.h.IS=function(a){this.dispatchEvent(a.type)};
g.h.EQ=function(){var a;if(a=JN)a=g.Kb,a=!(a&&(Gb(a,"SMART-TV")||Gb(a,"SmartTV")));a&&!this.M&&(this.ik(.001),this.M=!0)};
g.h.UR=function(){this.lc||(this.lc=!0,this.dispatchEvent("loaded"))};
g.h.SS=function(a){this.dispatchEvent("play");bp()||g.MN||sB(this,a)};
g.h.vM=function(a){if(!this.C&&(bp()||g.MN)){if(0>=this.getCurrentTime())return;if(g.MN&&this.Ch()&&1==this.getDuration()){this.qC(a);return}sB(this,a)}if(bp()||lp()){if(1.5<this.getCurrentTime()-this.A){this.F=!0;this.ik(this.A);return}this.F=!1;this.getCurrentTime()>this.A&&(this.A=this.getCurrentTime())}this.V.add(this.o.currentTime);this.dispatchEvent("timeUpdate")};
g.h.wM=function(){this.dispatchEvent("volumeChange")};
g.h.uM=function(){if(this.C&&bp()&&!this.L&&(2>tB(this)-this.o.currentTime||this.F)){this.B=new g.Ug(250);this.Z.X(this.B,"tick",this.zQ);this.B.start();var a=!0}else a=!1;a||this.dispatchEvent("pause")};
g.h.sM=function(){var a=!0;if(bp()||lp())a=this.A>=this.o.duration-1.5;!this.F&&a&&this.dispatchEvent("end")};
g.h.Zu=function(){this.dispatchEvent("beginFullscreen")};
g.h.rC=function(){this.dispatchEvent("endFullscreen")};
g.h.qC=function(){qB(this);this.dispatchEvent("error")};
g.h.rM=function(){this.dispatchEvent("click")};
g.h.tM=function(){var a=this.Bh(),b=this.hk();if(a.width!=this.K.width||a.height!=this.K.height)!this.J&&b?this.Zu():this.J&&!b&&this.rC(),this.K=a,this.J=b};
g.h.fK=function(){if(!this.C){try{Ap.getInstance().report(16)}catch(a){}rB(this);this.dispatchEvent("mediaLoadTimeout")}};
g.h.zQ=function(){if(this.Ch()||!this.Ki())g.Gf(this.B);else{var a=this.o.duration-this.o.currentTime,b=tB(this)-this.o.currentTime;0<b&&(2<=b||2>a)&&(g.Gf(this.B),this.play())}};g.B(vB,g.jg);var zza=new g.Bn;uB.prototype.start=function(a){return this.o[a].startTime};
uB.prototype.end=function(a){return this.o[a].endTime};
g.h=vB.prototype;g.h.Tp=0;g.h.currentTime=0;g.h.duration=NaN;g.h.paused=!0;g.h.wC=!1;g.h.autoplay=!1;g.h.loop=!1;g.h.controls=!1;g.h.volume=1;g.h.muted=!1;g.h.src="";g.h.BM=1;g.h.playbackRate=0;g.h.bh=null;g.h.gq=0;g.h.YU=4;g.h.Rl=null;g.h.Up=null;
g.h.play=function(){this.wC&&(this.currentTime=0,this.dispatchEvent("timeupdate"));this.paused&&(this.paused=!1,this.dispatchEvent("play"),this.Tp=this.YU,2>=this.Tp?this.dispatchEvent("waiting"):this.dispatchEvent("playing"));if(null===this.bh||this.bh.la())this.bh=new g.Ug(10),this.bh.X("tick",(0,g.A)(this.zG,this));this.gq=(0,g.H)();this.bh.start();this.autoplay=!1};
g.h.pause=function(){this.autoplay=!1;this.paused||(this.bh.stop(),this.paused=!0,this.dispatchEvent("timeupdate"),this.dispatchEvent("pause"))};
g.h.load=function(){this.Tp=0;this.paused=!0;this.dispatchEvent("loadstart");this.setProperty("duration",isNaN(this.duration)?10+20*Math.random():this.duration);var a=this.buffered;a.o.push(new zia(this.duration));a.length=a.o.length;this.dispatchEvent("loadedmetadata");0<this.currentTime&&this.dispatchEvent("timeupdate");this.dispatchEvent("loadeddata");this.dispatchEvent("canplay");this.dispatchEvent("canplaythrough");this.dispatchEvent("progress");this.playbackRate=this.BM};
g.h.setProperty=function(a,b){switch(a){case "currentTime":var c=Number(b);this.dispatchEvent("seeking");this.currentTime=c;this.dispatchEvent("seeked");this.zG();break;case "duration":this.duration=Number(b);this.dispatchEvent("durationchange");break;case "volume":this.volume=Number(b),this.dispatchEvent("volumechange")}};
g.h.setAttribute=function(a,b){null!=a&&zza.set(a,b)};
g.h.getAttribute=function(a){return zza.get(a)};
g.h.zG=function(){var a=(0,g.H)()-this.gq,b=this.currentTime+a/1E3;this.gq+=a;2<this.Tp&&(this.currentTime=Math.min(b,this.duration));this.dispatchEvent("timeupdate");this.currentTime==this.duration&&(this.wC=this.paused=!0,this.bh.stop(),this.dispatchEvent("ended"))};
g.h.W=function(){this.bh&&this.bh.dispose();this.Z.dispose()};
g.h.uU=function(a){var b=null,c=null;switch(a.type){case "loadeddata":b="Loaded";break;case "playing":b="Playing";c="#00f";break;case "pause":b="Paused";break;case "ended":b="Ended",c="#000"}b&&this.Up&&(this.Up.innerText=b);c&&this.Rl&&(this.Rl.style.backgroundColor=c)};g.B(wB,g.K);wB.prototype.initialize=function(){this.A&&Yo()&&this.A.load()};
wB.prototype.W=function(){g.qe(this.o);wB.fa.W.call(this)};
wB.prototype.show=function(){var a=this.o;null!=a&&(a.style.display="block")};
wB.prototype.hide=function(){var a=this.o;null!=a&&(a.style.display="none")};g.B(xB,g.K);xB.prototype.H=function(a){if(!("*"!=this.A&&a.origin!=this.A||this.B&&a.source!=this.B)&&g.v(a.data)){try{var b=JSON.parse(a.data)}catch(c){return}if(!(null==b||this.K&&(this.sessionId&&this.sessionId!=b.id||this.channel&&this.channel!=b.channel))&&b)switch(b.event){case "syn":yB(this,a);AB(this);this.sendMessage({event:"ack"});break;case "ack":yB(this,a);AB(this);break;case "command":a=b.func,a in this.o&&this.o[a].apply(null,b.args)}}};
xB.prototype.sendMessage=function(a,b){var c=b||this.B;if(c){this.sessionId&&(a.id=this.sessionId);this.channel&&(a.channel=this.channel);try{var d=g.$g(a);c.postMessage(d,this.G)}catch(e){}}};
xB.prototype.W=function(){window.removeEventListener("message",this.D);xB.fa.W.call(this)};g.B(zB,xB);zB.prototype.J=function(a,b){var c={event:"command",func:a},d=Array.prototype.slice.call(arguments,1);0<d.length&&(c.args=d);this.F?this.sendMessage(c):100>this.C.length&&this.C.push(c)};g.B(BB,g.K);BB.prototype.G=function(a){a=a.type;var b=new Aia;b.duration=this.o.duration;b.currentTime=this.o.currentTime;b.A=this.o.readyState;this.o.error&&(b.errorCode=this.o.error.code);b.muted=this.o.muted;b.paused=this.o.paused;b.o=this.o.ended;b.volume=this.o.volume;this.A.J("notify",a,b)};
BB.prototype.D=function(a){this.B.add(a);this.Z.X(this.o,a,this.F)};
BB.prototype.H=function(a){this.B.remove(a);this.Z.Ka(this.o,a)};
BB.prototype.C=function(a,b){this.o[a]=b};g.B(EB,Dp);var Bia=bd(g.Uc("https://www.youtube.com/iframe_api")),Aza=["video/mp4","video/webm"],Bza={el:"adunit",controls:0,html5:1,playsinline:1,ps:"gvn",showinfo:0},DB=[],CB=!1;g.h=EB.prototype;g.h.QF=function(a,b,c){var d=g.Ua(a,function(e){return null!==Hr(e.Xa())});
if(null!==d)return d;a=(0,g.re)(a,function(e){e=g.G(e.o);return this.C?this.o.canPlayType(e):g.Ya(Aza,e)},this);
g.Za(c)||(d=mB(a,b,c));return null!=d?d:mB(a,b,[])};
g.h.zr=function(a){this.A=a};
g.h.load=function(a,b){GB(this,a,b)};
g.h.unload=function(){GB(this,"","")};
g.h.getVideoUrl=function(){return this.ba};
g.h.setVolume=function(a){this.ia?this.dispatchEvent("volumeChange"):this.C?(a=g.Jd(100*a,0,100),this.o.setVolume(a),this.G=-1,this.dispatchEvent("volumeChange")):this.G=a};
g.h.getVolume=function(){return this.C?this.o.getVolume()/100:this.G};
g.h.play=function(){if(!g.E(g.G(this.ba))){if(!this.B&&!this.O){JB(this);var a=1E4;null!=this.A&&0<this.A.timeout&&(a=this.A.timeout);this.La=g.Vg(this.LS,a,this)}this.C?(this.ea=!1,!this.B&&this.A&&this.A.B?this.o.loadVideoByPlayerVars(this.sa):this.o.playVideo(),this.O=!0):this.ea=!0}};
g.h.pause=function(){this.C&&this.B&&this.o.pauseVideo()};
g.h.Ki=function(){return this.C?2==this.o.getPlayerState(this.D):!1};
g.h.isMuted=function(){return this.C?this.o.isMuted():0==this.getVolume()};
g.h.Yu=function(){};
g.h.hk=function(){var a=P.o?P.G:document.getElementById(this.Y);return a?aq(a):!1};
g.h.Yl=function(a){return this.C?this.o.getCurrentTime(this.D)>=a:!1};
g.h.ik=function(a){this.C?this.o.seekTo(a,!1):this.K=a};
g.h.getCurrentTime=function(a){return this.C?this.o.getCurrentTime(a||this.D):-1};
g.h.AB=function(){return this.C&&this.B?this.o.getVideoLoadedFraction(this.D)*this.o.getDuration(this.D):0};
g.h.getDuration=function(){return this.C&&this.B?this.o.getDuration(this.D):-1};
g.h.getError=function(){return this.ma};
g.h.zu=function(){return g.Ub(gw)};
g.h.Ch=function(){return this.C?0==this.o.getPlayerState(this.D):!1};
g.h.Bh=function(){var a=P.o?P.G:document.getElementById(this.Y);return a?new g.Qd(a.offsetWidth,a.offsetHeight):new g.Qd(0,0)};
g.h.pC=function(){return!1};
g.h.se=function(){return 1==this.Ia};
g.h.sb=function(){return this.C?1==this.o.getPlayerState(this.D):!1};
g.h.yM=function(){var a=this.Bh(),b=this.hk();if(a.width!=this.ya.width||a.height!=this.ya.height)!this.ka&&b?this.dispatchEvent("beginFullscreen"):this.ka&&!b&&this.dispatchEvent("endFullscreen"),this.ya=a,this.ka=b};
g.h.Cb=function(){this.ha=(0,g.A)(this.ME,this);this.M=(0,g.A)(this.av,this);this.Fa=(0,g.A)(this.NE,this);this.Oa=(0,g.A)(this.KT,this);this.Aa=(0,g.A)(this.lR,this);this.ia&&(this.o.addEventListener("onAdStateChange",this.M),this.o.addEventListener("onReady",this.ha),this.o.addEventListener("onStateChange",this.M),this.o.addEventListener("onVolumeChange",this.Fa),this.o.addEventListener("onSharePanelOpened",this.Oa),this.o.addEventListener("onDompaused",this.Aa));this.aa=new g.Ug(1E3);this.Z.X(this.aa,
"tick",this.yM);this.aa.start()};
g.h.ad=function(){this.ia&&(this.o.removeEventListener("onAdStateChange",this.M),this.o.removeEventListener("onReady",this.ha),this.o.removeEventListener("onStateChange",this.M),this.o.removeEventListener("onVolumeChange",this.Fa),this.o.removeEventListener("onSharePanelOpened",this.Oa),this.o.removeEventListener("onDompaused",this.Aa));null!=this.aa&&this.aa.dispose()};
g.h.mK=function(){var a=g.ic(Bza);P.B&&(a.ps="gvn",a.remoteve=Wr.ba,a.remotevewin="discover");a={playerVars:a,events:{cardstatechange:(0,g.A)(this.xM,this),onError:(0,g.A)(this.PS,this),onReady:(0,g.A)(this.ME,this),onAdStateChange:(0,g.A)(this.av,this),onStateChange:(0,g.A)(this.av,this),onVolumeChange:(0,g.A)(this.NE,this)}};var b=g.y("YT");this.o=null!=b&&null!=b.Player?new b.Player(this.Y,a):null};
g.h.PS=function(){HB(this,"unexpected.player.error")};
g.h.ME=function(){this.C=!0;this.J&&this.addInfoCardXml(this.J.videoId,this.J.oi,this.J.rl);-1!=this.G&&(this.setVolume(this.G),this.G=-1);null!=this.L&&(FB(this,this.L,this.ga),this.ga=this.L=null);-1!=this.K&&(this.ik(this.K),this.K=-1);this.ea&&this.play()};
g.h.xM=function(a){this.Ia=a.data;this.dispatchEvent("cardsStateChange")};
g.h.av=function(a){switch(a.data){case 0:this.B?this.dispatchEvent("end"):HB(this);break;case 1:this.B||(JB(this),this.B=!0,this.H=0,this.dispatchEvent("start"));this.dispatchEvent("play");IB(this);this.F=new g.Ug(100);this.Z.X(this.F,"tick",this.AE);this.F.start();break;case 2:this.dispatchEvent("pause"),IB(this)}};
g.h.lR=function(){this.Ra&&HB(this,"dom.paused")};
g.h.NE=function(){this.dispatchEvent("volumeChange")};
g.h.KT=function(){this.dispatchEvent("shareClicked")};
g.h.AE=function(){if(LN||lp()){if(1.5<this.getCurrentTime()-this.H){this.C&&this.o.seekTo(this.H,!0);return}this.getCurrentTime()>this.H&&(this.H=this.getCurrentTime())}this.dispatchEvent("timeUpdate")};
g.h.LS=function(){var a="Error code: load_timeout; ";if(this.V){var b=this.V(!0);b&&(a+=b)}this.ma=Ro(pza,null,a);this.dispatchEvent("mediaLoadTimeout")};
g.h.addInfoCardXml=function(a,b,c){if(b||c)this.C?this.o.addInfoCardXml(a,b,c):this.J={videoId:a,oi:b,rl:c}};
g.h.Ne=function(){if(!this.C)return null;var a=this.o.getVideoData();return a&&a.cpn?a.cpn:null};
g.h.Gx=function(a){this.C&&Hr(this.getVideoUrl())&&this.o.sendVideoStatsEngageEvent(a)};
g.h.setCardsVisible=function(a){this.C&&this.o.setCardsVisible(a,!1,"YOUTUBE_DRAWER_AUTO_OPEN")};
g.h.showControls=function(){this.C&&this.o.showControls()};
g.h.hideControls=function(){this.C&&this.o.hideControls()};
g.h.W=function(){IB(this);JB(this);this.ad();this.C=!1;this.Z.dispose();this.K=-1;this.ga=null;this.ea=!1;this.L=null;this.G=-1;this.ha=this.o=this.A=null;this.O=this.B=!1;this.ba="";EB.fa.W.call(this)};
g.Da("onYouTubeIframeAPIReady",function(){CB=!0;(0,g.C)(DB,function(a){a()});
$a(DB)},window);g.B(KB,g.jg);KB.prototype.send=function(a){var b=a.o;this.o.hasOwnProperty(b)&&this.o[b].send(a.type,a.je,a.hg)};
KB.prototype.W=function(){this.Z.dispose();for(var a in this.o)g.Gf(this.o[a]);KB.fa.W.call(this)};
KB.prototype.B=function(a){a=a.o;var b=Uz(a.data);if(null!=b){var c=b.channel;if(this.A&&!this.o.hasOwnProperty(c)){var d=b.sid;MB(this,c,d,a.source);this.dispatchEvent(new LB(b.name,b.type,b.data||{},d,a.origin,c))}}};
g.B(LB,Sz);g.B(OB,g.Xn);
OB.prototype.F=function(a){var b=a.getOrigin(),c=g.fh("//imasdk.googleapis.com");b=g.fh(b);if(c[3]==b[3]&&c[4]==b[4])if(null!=this.o)MB(this.o,a.o,a.lC,ge().parent),null!=this.o&&this.o.send(a);else if(c=a.hg,null!=c&&g.Aa(c.scope)){b=c.scope;c=c.args;var d;if("proxy"==b)c=a.je,"isGptPresent"==c?d=NB():"isConsolePresent"==c&&(d=null!=PB());else if(NB())if("pubads"==b||"companionAds"==b){d=a.je;var e=ge().googletag;if(null!=e&&null!=e[b]&&(e=e[b](),null!=e&&(d=e[d],null!=d)))try{var f=d.apply(e,c)}catch(k){}d=
f}else if("console"==b){if(f=PB(),null!=f&&(e=f[a.je],null!=e))try{e.apply(f,c)}catch(k){}}else if(null===b){d=a.je;f=ge();if(g.Ya(["googleGetCompanionAdSlots","googleSetCompanionAdContents"],d)&&(d=f[d],null!=d))try{e=d.apply(f,c)}catch(k){}d=e}g.Aa(d)&&(a.hg.returnValue=d,this.C.send(a))}};
OB.prototype.D=function(a){this.C.send(a)};var QB={s:function(a,b,c){return isNaN(c)||""==c||a.length>=Number(c)?a:a=-1<b.indexOf("-",0)?a+wc(" ",Number(c)-a.length):wc(" ",Number(c)-a.length)+a},
f:function(a,b,c,d,e){d=a.toString();isNaN(e)||""==e||(d=parseFloat(a).toFixed(e));var f=0>Number(a)?"-":0<=b.indexOf("+")?"+":0<=b.indexOf(" ")?" ":"";0<=Number(a)&&(d=f+d);if(isNaN(c)||d.length>=Number(c))return d;d=isNaN(e)?Math.abs(Number(a)).toString():Math.abs(Number(a)).toFixed(e);a=Number(c)-d.length-f.length;return d=0<=b.indexOf("-",0)?f+d+wc(" ",a):f+wc(0<=b.indexOf("0",0)?"0":" ",a)+d},
d:function(a,b,c,d,e,f,k,l){return QB.f(parseInt(a,10),b,c,d,0,f,k,l)}};
QB.i=QB.d;QB.u=QB.d;g.B(TB,g.jg);g.h=TB.prototype;g.h.W=function(){this.Z.dispose();null!==this.C&&(this.C.dispose(),this.C=null);g.Bl(this.G.be(!1),function(a){a.dispose()});
this.G.clear();g.qe(this.A);TB.fa.W.call(this)};
g.h.qL=function(a){var b=a.hg,c=g.$h(this.A),d=document.createEvent("MouseEvent");d.initMouseEvent(a.je,!0,!0,window,b.detail,b.screenX,b.screenY,b.clientX+c.x,b.clientY+c.y,b.ctrlKey,b.altKey,b.shiftKey,b.metaKey,b.button,null);if(!JN||bp()||0==document.webkitIsFullScreen)this.A.blur(),window.focus();this.A.dispatchEvent(d)};
g.h.HL=function(a){var b=a.hg,c=g.$h(this.A);if("TouchEvent"in window&&0<TouchEvent.length){b={bubbles:!0,cancelable:!0,view:window,detail:b.detail,ctrlKey:b.ctrlKey,altKey:b.altKey,shiftKey:b.shiftKey,metaKey:b.metaKey,touches:UB(this,b.touches),targetTouches:UB(this,b.targetTouches),changedTouches:UB(this,b.changedTouches)};var d=new TouchEvent(a.je,b);this.A.dispatchEvent(d)}else d=document.createEvent("TouchEvent"),d.initTouchEvent(a.je,!0,!0,window,b.detail,b.screenX,b.screenY,b.clientX+c.x,
b.clientY+c.y,b.ctrlKey,b.altKey,b.shiftKey,b.metaKey,UB(this,b.touches),UB(this,b.targetTouches),UB(this,b.changedTouches),b.scale,b.rotation),this.A.dispatchEvent(d)};
g.h.DL=function(a){if(null!=this.o){var b=a.hg;switch(a.je){case "startTracking":this.o.Cb();break;case "stopTracking":this.o.ad();break;case "exitFullscreen":this.o.Yu();break;case "play":this.o.play();break;case "pause":this.o.pause();break;case "load":this.o.load(b.videoUrl,b.mimeType);break;case "setCurrentTime":this.o.ik(b.currentTime);break;case "setPlaybackOptions":this.o.zr(VB(b));break;case "setVolume":this.o.setVolume(b.volume)}}};
g.h.xL=function(a){if(null!=this.B){var b=a.hg;switch(a.je){case "startTracking":this.B.Cb();break;case "stopTracking":this.B.ad();break;case "setPlaybackOptions":this.B.zr(VB(b));break;case "load":this.B.load(b.videoUrl,b.mimeType)}}};
g.h.ng=function(a){var b={};switch(a.type){case "beginFullscreen":a="fullscreen";break;case "endFullscreen":a="exitFullscreen";break;case "click":a="click";break;case "end":a="end";break;case "error":a="error";break;case "loaded":a="loaded";break;case "mediaLoadTimeout":a="mediaLoadTimeout";break;case "pause":a="pause";b.ended=this.o.Ch();break;case "play":a="play";break;case "skip":a="skip";break;case "start":a="start";break;case "timeUpdate":a="timeupdate";b.currentTime=this.o.getCurrentTime();
b.duration=this.o.getDuration();break;case "volumeChange":a="volumeChange";b.volume=this.o.getVolume();break;case "loadedmetadata":a=a.type;b.duration=this.o.getDuration();break;case "abort":case "canplay":case "canplaythrough":case "durationchange":case "emptied":case "loadstart":case "loadeddata":case "progress":case "ratechange":case "seeked":case "seeking":case "stalled":case "suspend":case "waiting":a=a.type;break;default:return}this.F.send("videoDisplay",a,b)};
g.h.mL=function(a){switch(a.je){case "showVideo":null!=this.C?this.C.ad():(this.C=new Iu,this.Z.X(this.C,"click",this.rU));this.C.Cb(XB(this.D));a=this.D;null!=a.o&&a.o.show();break;case "hide":null!==this.C&&(this.C.dispose(),this.C=null);this.D.hide();break;case "getPreloadDisplay":null!=this.o&&null==this.B&&(this.B=this.D.D);break;case "swapVideoDisplays":if(null!=this.o&&null!=this.B){this.Z.Ka(this.o,g.Ub(RB),this.ng);this.Z.Ka(this.o,SB,this.ng);a=this.D;if(a.o&&a.A&&a.B&&a.D){var b=a.A;a.A=
a.D;a.D=b;b=a.o;a.o=a.B;a.B=b;if(a.K&&a.A instanceof pB){b=a.K;var c=a.A.o;g.co(b.Z);b.o=c;(0,g.C)(b.B.wb(),b.D,b)}null!=a.G&&(b=a.G,a=a.A,null!=b.o&&(b.Z.Ka(b.o,g.Ub(RB),b.ng),b.Z.Ka(b.o,SB,b.ng)),b.o=a,b.Z.X(b.o,g.Ub(RB),b.ng),b.Z.X(b.o,SB,b.ng))}this.o=this.D.A;this.B=this.D.D;this.Z.X(this.o,g.Ub(RB),this.ng);this.Z.X(this.o,SB,this.ng)}}};
g.h.rU=function(){this.F.send("displayContainer","videoClick")};
g.h.JK=function(){g.Bl(this.G.be(!1),function(a){a.Df=xe(this.A);a.connect()},this);
this.H=!0};WB.prototype.initialize=function(){null!=this.o&&this.o.initialize();null!=this.B&&this.B.initialize()};
WB.prototype.destroy=function(){g.Gf(this.o);g.Gf(this.B);g.Gf(this.G);g.Gf(this.A);g.Gf(this.D);g.Gf(this.K);g.qe(this.C)};
WB.prototype.hide=function(){null!=this.o&&this.o.hide()};
WB.prototype.setSize=function(a,b){var c=this.C;null!=c&&(-1==a?(c.style.right="0",c.style.left="0"):c.style.width=a+"px",-1==b?(c.style.bottom="0",c.style.top="0"):c.style.height=b+"px");null!=this.G&&(c=this.G,c.A.width=-1==a?"100%":a,c.A.height=-1==b?"100%":b)};g.h=YB.prototype;g.h.qu=function(){return XB(this.o)};
g.h.Gm=function(){return this.o.H};
g.h.Qf=function(){return this.o.H};
g.h.Qm=function(){var a=this.o.A;return null!=a?a:new EB};
g.h.Xf=function(){var a=this.o;null!=a.o&&a.o.show()};
g.h.Kd=function(){};
g.h.du=function(){return null!=this.o.F};
g.h.gk=function(){return this.o.J};
g.h.Vu=function(){return!1};
g.h.Rp=function(){return this.o.L};
g.h.setSize=function(a,b){this.o.setSize(a,b)};
g.h.hide=function(){};
g.h.Pp=function(){return null};
g.h.Qp=function(){};g.B(ZB,g.If);g.h=aC.prototype;
g.h.clone=function(){var a=new aC;"auto"==this.yj?a.yj="auto":"click"==this.yj&&(a.yj="click");a.o=this.o;a.gi=g.ic(this.gi);a.A=this.A;a.Po=this.Po;a.F=this.F;a.B=this.B?g.ib(this.B):null;a.contentTitle=this.contentTitle;a.dc=g.ic(this.dc);a.location=this.location;a.referrer=this.referrer;a.G=this.G;a.language=this.language;a.fk=this.fk;a.ek=this.ek;a.qt=this.qt;a.tf=this.tf;a.sf=this.sf;a.rm=this.rm;a.sm=this.sm;a.hf=this.hf;a.Mr=this.Mr;a.vy=this.vy;a.Vx=this.Vx;a.H=this.H;a.D=this.D;a.C=this.C;
a.xs=this.xs;a.Op=this.Op;a.afcRmFallback=this.afcRmFallback;a.L=this.L;a.K=this.K;a.Sj=this.Sj;a.ws=this.ws;a.NC=this.NC;a.zC=this.zC;a.Zs=this.Zs?this.Zs.clone():null;return a};
g.h.gi=null;g.h.Po=null;g.h.qt=null;g.h.dc=null;g.h.yj="unknown";g.h.NC=0;g.h.fk=0;g.h.ek=0;g.h.tf=0;g.h.sf=0;g.h.rm=function(){return null};
g.h.sm=function(){return null};
g.h.Sj=!1;g.h.hf=null;g.h.Mr=!1;g.h.vy=!1;g.h.Vx=!0;g.h.ws=new so;g.h.xs=0;g.h.cB=!0;g.h.Op=null;g.h.afcRmFallback=!1;g.h.zC=!0;g.h.Zs=null;g.B(bC,g.jg);g.B(cC,g.If);cC.prototype.getError=function(){return this.A};g.B(eC,g.jg);eC.prototype.A=null;eC.prototype.Mb=function(){return this.B};
eC.prototype.W=function(){delete this.o;fC(this);g.eg(this.A);eC.fa.W.call(this)};
eC.prototype.D=function(){dC(this)&&(fC(this),g.eg(this.A),this.A=null,this.B=!0,this.dispatchEvent("ifload"))};g.B(gC,bC);g.Ea(gC);g.h=gC.prototype;g.h.W=function(){this.A&&this.A.dispose();gC.fa.W.call(this)};
g.h.initialize=function(){if(!this.ye){var a=Ge(new Td);try{hC([a,a.top]);var b=!0}catch(c){b=!1}b?tC(this):(this.ye=!0,this.C="not_available")}};
g.h.Qd=function(a){try{this.o.googleSetCompanionAdContents((0,g.I)(a,this.MJ,this)),this.Zk()}catch(b){this.dispatchEvent(new cC("companion_display_error",b))}};
g.h.OE=function(){0<this.B&&(0,g.H)()>=this.B?(this.ye=!0,pC(this),sC(this)):tC(this)};
g.h.CV=function(a){var b=(0,g.I)(a.adSizes,function(c){return new g.Qd(c.adWidth,c.adHeight)});
return new gq(a.slotId,b)};
g.h.MJ=function(a){var b={};b.slotId=a.J;b.adContent=a.Xc();b.adWidth=a.C;b.adHeight=a.o;b.friendlyIframeRendering=a.A;b.onAdContentSet=(0,g.A)(this.ZQ,this,a);return b};
g.h.ZQ=function(a,b){if(null!=a.B){var c=ue(b);c||(c=g.ke("div"),b.appendChild(c));var d=a.zd();c.appendChild(d);uC(this,a,c)}else c=a.A?b.querySelector("iframe"):(c=ue(b))?ue(c):null,(c=c&&"IFRAME"==c.tagName?c:null)&&Gia(this,c,a)};
g.h.YQ=function(a){this.dispatchEvent(new cC("companion_click",null,a))};
g.h.Zk=function(a){No(this.impressionUrls,a)};g.B(vC,g.jg);vC.prototype.iA=function(){return!0};
vC.prototype.Ai=function(){return null};g.B(xC,vC);g.h=xC.prototype;g.h.W=function(){this.destroy();xC.fa.W.call(this)};
g.h.destroy=function(){null!=this.Z&&this.Z.dispose();this.B=null;(0,g.C)(this.C,function(a){iq(a)},this);
this.A=null};
g.h.Qd=function(a){g.Gf(this.A);this.A=new g.jg;this.B=a;this.D=!0;this.F?zC(this):(this.D=BC(AC(a),[]),this.D||(this.A=this.B=null));return this.A};
g.h.iA=function(){return this.D};
g.h.GT=function(){null!=this.G&&(this.G.stop(),this.G.dispose(),this.G=null);if(null!=this.o){var a=iC(this.o);null!=a&&(this.C=a)}this.F=!0;null!=this.B&&zC(this);this.dispatchEvent(new g.If("initialized"))};
g.h.aR=function(a){yC(this,a.getError())};
g.h.WQ=function(a){if(null!=a.o){var b=a.o;"companion_slot_init"==a.type?(No(b.D),pg(function(){null!=this.A&&this.A.dispatchEvent(new jq("companion_impression",b))},this)):"companion_click"==a.type&&(No(b.F),null!=this.A&&this.A.dispatchEvent(new jq("companion_click",b)))}};
g.h.Ai=function(){return this.o};g.B(CC,rw);
CC.prototype.C=function(){if(null===this.o){for(var a=this.B,b=new UA,c=se(ue(this.B)),d=0,e=c.length;d<e;d++){var f=c[d];if("vmap:AdBreak"==f.nodeName){var k=f;var l=[];for(var m="",n=null,p=!1,q=!1,u=null,w=!1,D=se(k),F=0,J=D.length;F<J;F++){var O=D[F];switch(O.nodeName){case "vmap:AdSource":if(!n&&(n=Nia(O),!n)){m=rt(O,"vmap:AdTagURI");var qa="";m.length&&(qa=g.G(ut(m[0])));if(g.E(qa))throw Qo(oza,null,O.parentNode.nodeName,O.nodeName);m=qa}break;case "vmap:Extensions":u=rt(O,"vmap:Extension"),w=
g.Ua(u,g.Na(DC,"type","bumper")),null!=w&&(p=!0,q=tt(w,"suppress_bumper"),q=null!=q?"true"==q:!0),w=Oia(u),u=w.breakType,w=w.fp}}D=null;if(n){D=n;n=null;try{n=qt(D)}catch(Ta){n=nt(D)}D=this.A.clone();D.A=n;D.o=""}else g.E(m)||(n=m,D=this.A.clone(),D.A="",D.o=n);D&&(Q()&&(n=D,k=tt(k,"timeOffset"),F=xt(k),k="start"==k||0==F?0:"end"==k||-1==F?-1:1E3*F,n.xs=k),k=new TA(D),k.isBumper=p,k.o=p&&!q,k.C=u,k.fp=w,g.bb(l,k));f=Lia(f);p=0;for(q=f.length;p<q;p++)if(u=f[p],k=xt(u),0<p&&(l=Mia(this,l)),"start"==
u||0==k)VA(b,l,0);else if("end"==u)VA(b,l,-1);else{if(-1==k)throw Qo(YA,null,"timeOffset",g.G(u));VA(b,l,k)}}}if(0==b.o.Gb().length)throw Qo(gs);this.o=new tw(a,null,b)}return this.o};HC.prototype.G=function(){var a=this.B(this.D());return zg(a)?a.then(function(b){return b.toString()}):a instanceof Error?a:a.toString()};
HC.prototype.F=function(){var a=1;mp()&&(a+=4);if(!Q()){var b=15360;P.aa&&(b+=8);a+=b}return a};var hD={C3:"ultrahigh",x_:"high",QI:"medium"},Zia={zX:1E3,AX:1001,BX:1002,CX:1003,DX:1004,EX:1005,FX:1006},$ia={LI:1,sI:2},aja={UY:"content",H2:"site",I2:"site_content"};g.h=NC.prototype;g.h.Go="high";g.h.bv=!1;g.h.ht=1;g.h.it=null;g.h.adType="video";g.h.adBlock=1;g.h.Ho=null;g.h.age=null;g.h.kt=!0;g.h.lt=null;g.h.Vt=null;g.h.fm=null;g.h.experimentIds=null;g.h.gender=null;g.h.host=null;g.h.Tu=null;g.h.isLiveStream=!1;g.h.language=null;g.h.tC=null;g.h.sC=null;g.h.lq=1E5;g.h.mq=null;g.h.vC=null;
g.h.uC=null;g.h.Vv=0;g.h.Rk=null;g.h.dr=null;g.h.wr=null;g.h.targeting=null;g.h.tagForChildDirectedTreatment=-1;g.h.Xq=null;g.h.url=null;g.h.Sp=null;g.h.Ay=null;g.h.cv=null;g.h.Ly=null;g.h.Iy=null;g.h.Jy=null;g.h.Ky=null;g.h.At=null;g.h.zy=null;g.h.us=null;g.h.zM=null;g.h.AM=null;g.h.contentTitle=null;var Xia={wY:"bumpervideo",tI:"flash",FI:"image",N2:"skippablevideo",U2:"standardvideo",Y2:"staticimage",TEXT:"text",VIDEO:"video"},$C=["flash","image","staticimage"],Yia=[new g.Qd(200,200),new g.Qd(250,250),new g.Qd(300,250),new g.Qd(336,280),new g.Qd(450,50),new g.Qd(468,60),new g.Qd(480,70),new g.Qd(728,90)];g.B(iD,HC);var bja=["bumpervideo","skippablevideo","standardvideo","video"];iD.prototype.J={GX:"allow",nI:"exclude",d2:"require"};iD.prototype.F=function(){var a=iD.fa.F.call(this);Q()&&this.o.wr&&(a|=this.o.wr);return a};
iD.prototype.B=function(a){var b=new g.Hn(this.A.o),c=new g.Hn("//"+b.A+b.C);b=a.Gb();(0,g.C)(b,function(d){g.Qn(c,d,a.get(d))});
g.In(c,"https");return c};
iD.prototype.D=function(){var a=new g.Bn;a.set("sdkv",MC(this));a.set("sdki",this.F().toString(16));a.set("video_product_type",null!=this.o.Rk?Q()?5:g.xb(this.o.Rk,"ca-games-")?4:g.xb(this.o.Rk,"ca-video-")?0:-1:-1);a.set("correlator",this.H.o);a.set("client",this.o.Rk);Q()&&!g.E(g.G(this.o.url))?a.set("url",this.o.url):a.set("url",this.A.location?this.A.location:this.A.referrer);null!=this.A.hf&&a.set("adk",this.A.hf);a.set("num_ads",jD(this));a.set("channel",dja(this));a.set("output","xml_vast3");
this.o.bv&&a.set("adtest","on");this.o.Ho&&a.set("adsid",this.o.Ho);Sp&&a.set("flash",TC);ZC("alternate_ad_url",this.o.lt,a);ZC("cpm",this.o.Vt,a);OC(a,this.A);Q()||g.Yb(hD,this.o.Go)&&a.set("adsafe",this.o.Go);this.o.host&&(a.set("host",this.o.host),ZC("ht_id",this.o.Tu,a),null!=this.o.C&&ZC("h_ch",this.o.C.join("+"),a));ZC("hl",this.o.language,a);ZC("cust_age",this.o.age,a);ZC("cust_gender",this.o.gender,a);-1!=this.o.tagForChildDirectedTreatment&&ZC("tfcd",this.o.tagForChildDirectedTreatment,a);
null!=this.o.Xq&&ZC("pucrd",this.o.Xq,a);ZC("slotname",this.o.it,a);if(UC(this.o)&&(a.set("ea","0"),null!=this.A.tf&&null!=this.A.sf)){var b=VC(this.o,this.A.tf,this.A.sf,this.A.Sj);a.set("image_size",b);g.E(b)&&(this.o.o=bD(this.o.o,this.o.adType,!0),this.o.adType=this.o.o.join("_"))}a.set("ad_type",this.o.adType);b=Co(yo());g.E(g.G(b))||a.set("eid",b);QC(a);b=this.H;var c=this.o,d=this.o.fm;if(null!=d){var e=yp(b);c=null!=c.us?c.us:qp(e,d);1!=c&&a.set("ad_block",c);null==b.M&&(b.M=new vp);c=b.M;
var f=d!=b.V;(e=0==e.o%100||f)||(e=36E5<(null===c.o?0:(new g.up).getTime()-c.o));e&&c.reset();b.V=d;b=c.A;null!==b&&a.set("tok",b)}a.set("unviewed_position_start","1");b=this.o.ht;a.set("videoad_start_delay",null!=b?b:1);KC(this,a);LC(this,a);IC(this,a);cja(this)&&a.set("video_format",null!=this.o.Sp&&Q()?this.o.Sp:g.aM&&Xo(6)||g.EM&&Xo(4)||hp(2.3)?43:18);a.set("t_pyv",null!=this.o.dr?this.o.dr:this.J.nI);ZC("min_ad_duration",this.o.Vv,a);0<this.o.lq&&a.set("max_ad_duration",kD(this.o.lq,jD(this)));
0<this.o.mq&&a.set("sdmax",kD(this.o.mq,jD(this)));WC(a,this.K);Q()&&(b=Hr(this.o.fm),null!=b&&a.set("video_doc_id","yt_"+b));ZC("description_url",this.o.fm,a);Q()&&(ZC("lact",RC(this.A),a),ZC("loeid",this.o.cv,a),ZC("lsv",this.o.isLiveStream,a),this.o.kt||ZC("scs","false",a),ZC("targeting",this.o.targeting,a),ZC("video_cpm",this.o.Ay,a),ZC("yt_pt",this.o.Ly,a),ZC("ytdevice",this.o.Iy,a),ZC("ytdevicever",this.o.Jy,a),ZC("yt_vis",SC(this.A),a),ZC("dbp",this.o.Ky,a),ZC("avo",this.o.At,a),ZC("v_p",this.o.zy,
a));null!=a.get("ms")||ZC("ms",this.o.B,a);ZC("vid_kw",this.A.B?this.A.B.join(","):null,a);ZC("vid_d",this.A.F,a);ZC("vid_t",this.A.contentTitle,a);JC(a);XC(this.A,a,!1);null!=this.A.gi&&ZC("loc",this.A.gi.page_location,a);return a};g.B(lD,HC);lD.prototype.B=function(a){var b=new g.Hn(this.A.o);(0,g.C)(a.Gb(),function(c){g.E(a.get(c))?b.o.remove(c):g.Qn(b,c,a.get(c))});
g.In(b,"https");return b};
lD.prototype.D=function(){var a=new g.Bn;a.set("sdkv",MC(this));LC(this,a);IC(this,a);JC(a);null!=this.A.hf&&a.set("adk",this.A.hf);return a};g.B(mD,HC);mD.prototype.D=function(){return new g.Bn};
mD.prototype.B=function(){var a=new rs(this.A.o),b=MC(this);b&&us(a,"dc_sdkv",[b]);(b=this.F().toString(16))&&us(a,"dc_sdki",[b]);(b=this.C.K)&&us(a,"dc_submodel",[b]);null!=this.A.hf&&us(a,"dc_adk",[this.A.hf]);b=Co(yo());g.E(g.G(b))||us(a,"dc_eid",[b]);b=P.ba;null!=b&&us(a,"dc_rfl",[qj(b)]);b=new g.Bn;KC(this,b);LC(this,b);IC(this,b);JC(b);Dn(b,"js")&&us(a,"dc_js",[b.get("js")]);Dn(b,"msid")&&us(a,"dc_msid",[b.get("msid")]);Dn(b,"frm")&&us(a,"dc_frm",[b.get("frm")]);Dn(b,"osd")&&us(a,"dc_osd",[b.get("osd")]);
Dn(b,"sdr")&&us(a,"dc_sdr",[b.get("sdr")]);us(a,"dcmt",["text/xml"]);Dn(b,"vpa")&&us(a,"vpa",[b.get("vpa")]);Dn(b,"mpt")&&us(a,"mpt",[b.get("mpt")]);Dn(b,"mpv")&&us(a,"mpv",[b.get("mpv")]);b=ts(a,"dc_output");null!=b&&(g.Ya(b,"vast")||g.Ya(b,"xml_vast2"))&&us(a,"dc_output",["xml_vast3"]);g.In(a,"https");return a};g.B(nD,HC);nD.prototype.B=function(a){a=new g.Hn(a.get("adTagUrl"));g.In(a,"https");return a};
nD.prototype.G=function(){var a=g.G(this.D().get("adTagUrl"));return a=a.replace(/^http:/i,"https:")};
nD.prototype.D=function(){var a=new g.Bn;a.set("adTagUrl",this.A.o);a.set("adsResponse",this.A.A);return a};g.B(oD,HC);oD.prototype.B=function(a){return new g.Hn(a.get("adTagUrl"))};
oD.prototype.D=function(){var a=new g.Bn;a.set("adTagUrl",this.A.o);a.set("adsResponse",this.A.A);return a};g.B(pD,HC);pD.prototype.B=function(a){var b=new g.Hn(this.A.o);(0,g.C)(a.Gb(),function(c){g.E(a.get(c))?b.o.remove(c):g.Qn(b,c,a.get(c))});
g.In(b,"https");return b};
pD.prototype.D=function(){var a=new g.Bn,b=Co(yo());g.E(g.G(b))||a.set("eid",b);a.set("sdkv",MC(this));a.set("sdki",this.F().toString(16));a.set("correlator",this.C.B);a.set("scor",this.C.o);null!=this.A.hf&&a.set("adk",this.A.hf);KC(this,a);LC(this,a);IC(this,a);JC(a);b=(new g.Hn(this.A.o)).o;var c=new NC;c.A=fD(c.A,b.get("overlay"));a.set("afvsz",VC(c,this.A.tf,this.A.sf,this.A.Sj));b=this.C.C;null!=b&&(this.C.C=null,a.set("fbidx",b));b=this.C.O;null!=b&&a.set("ppid",b);b="null";c=this.C.A;null!=
c?b=c:Ho(this.A.location)?b=this.A.location:Ho(this.A.referrer)&&(b=this.A.referrer);a.set("url",b);b=this.C.K;null!=b&&a.set("submodel",b);b=this.C.H;null==b||Q()||(b=eja(b),a.set("ciu_szs",b));b=(new g.Hn(this.A.o)).o.get("output");null==b||"vast"!=b&&"xml_vast2"!=b||a.set("output","xml_vast3");a.set("impl","");a.set("unviewed_position_start","1");return a};g.B(qD,pD);qD.prototype.B=function(a){a=qD.fa.B.call(this,a);this.J||gja(this,a);return a};g.B(rD,mD);rD.prototype.B=function(a){a=rD.fa.B.call(this,a);this.J||ija(this,a);return a};g.B(sD,HC);var kja="CA_TYPE CPN DT FLASH FRM LACT MT P_H P_W TSLA U_AH U_AW U_CD U_H U_HIS U_JAVA U_NMIME U_NPLUG U_TZ U_W VIS".split(" ");
sD.prototype.B=function(){var a=this.A.o.match(/\[(?:BISCOTTI_|AN)ID\]/g);if(!a)return tD(this);var b=g.Ya(a,"[BISCOTTI_ID]");a=g.Ya(a,"[ANID]");b=b?this.A.Po():"";a=a?this.A.qt():"";return b instanceof Error?Qo(h1,b):a instanceof Error?Qo(h1,a):zg(b)||zg(a)?(b=zg(b)?b:Fg(b),a=zg(a)?a:Fg(a),g.Jg([b,a]).then(function(c){return tD(this,c[0],c[1])},function(c){throw Qo(h1,c);
},this)):tD(this,b,a)};
sD.prototype.D=function(){return new g.Bn};uD.prototype.fetch=function(a,b,c){null!=a.A&&(g.v(a.A)&&!g.E(a.A)||a.A instanceof Document)?nja(this,a,b,c):As(a.o)&&null!=this.o&&!this.o.G?this.o.start(a,(0,g.A)(function(){wD(this,a,b,c)},this)):wD(this,a,b,c)};
uD.prototype.A=function(a,b,c,d){var e=mja(a,this.B).G();zg(e)?e.then(function(f){yD(this,f,a,b,c,d)},function(f){f instanceof ro?c(f):c(Qo(xD,f))},this):e instanceof ro?c(e):e instanceof Error?c(Qo(xD,e)):yD(this,e,a,b,c,d)};zD.prototype.reset=function(a){this.o=a+(0,g.H)()};AD.prototype.start=function(a,b){this.B=a;this.F=b;vja(this);this.D.F?this.H():bo(this.Z,this.D,"initialized",this.H,this)};
AD.prototype.H=function(){var a=this.D.Ai();var b=a.ye&&"retrieved"==a.C?a.F:void 0;a=Eia(a);null!=b&&(this.C.B=b);null!=a&&(this.C.H=a);uja(this)};g.h=g.CD.prototype;g.h.Gc=function(){return this.o.length+this.A.length};
g.h.isEmpty=function(){return g.Za(this.o)&&g.Za(this.A)};
g.h.clear=function(){this.o=[];this.A=[]};
g.h.contains=function(a){return g.Ya(this.o,a)||g.Ya(this.A,a)};
g.h.remove=function(a){var b=this.o;var c=Eya(b,a);0<=c?(g.cb(b,c),b=!0):b=!1;return b||g.db(this.A,a)};
g.h.wb=function(){for(var a=[],b=this.o.length-1;0<=b;--b)a.push(this.o[b]);var c=this.A.length;for(b=0;b<c;++b)a.push(this.A[b]);return a};g.B(JD,g.jg);g.B(OD,tA);g.h=OD.prototype;g.h.Tt=function(){var a=uA(this);g.T(a,"ima-container-rotator");this.G=g.ie("DIV");this.o.appendChild(this.G);(0,g.C)(this.K,function(b,c){g.T(b,"ima-container-highlight");var d=63/this.K.length*(c+.5)-5,e=g.ie("DIV",{id:Ac(),"class":"ima-container-selector"});e.style.top=d+"px";this.Tf.X(e,"click",function(f){this.Yk(f.target)});
this.V.set(e.id,b);this.F.appendChild(e)},this);
this.Yk(ue(this.F));this.play();return a};
g.h.play=function(){null==this.Ea&&(this.Ea=new g.Ug(this.M),this.Tf.X(this.Ea,"tick",this.qV));OD.fa.play.call(this);this.Ea.start()};
g.h.stop=function(){null!=this.Ea&&this.Ea.stop();OD.fa.stop.call(this)};
g.h.qV=function(){var a=this.B;this.Yk((g.Aa(a.nextElementSibling)?a.nextElementSibling:te(a.nextSibling))||ue(this.B.parentNode))};
g.h.Yk=function(a){this.B&&g.Br(this.B,"ima-container-active");g.T(a,"ima-container-active");var b=this.V.get(a.id),c=this.G,d=c.parentNode;d&&d.replaceChild(b,c);this.B=a;this.G=b;this.display(b)};g.B(PD,tA);PD.prototype.hide=g.z;PD.prototype.Tt=function(){var a=uA(this);(0,g.C)(this.B,function(b){g.T(b,"ima-container-highlight");this.o.appendChild(b);this.display(b)},this);
this.play();return a};g.B(QD,vA);g.h=QD.prototype;g.h.oC=function(a,b){if(this.F||null==b)b=g.z;if(Q()&&this.F)var c=new tA(a[0],b);else 1<a.length?SD(this)||"fullscreen"==this.dd&&Q()?c=new PD(a):(c=new OD(a),c.M=15E3):c=new tA(a[0],b);c.Uu=100;this.F&&(c.UC=30);c.VC=45E3;c.DF=6E3;g.U(c.o,"scalable",this.F);g.U(c.ra(),"yt-text-overlay",Q()&&this.F);return c};
g.h.xV=function(a){var b=a.o;null!=b?(null==this.K&&(this.K=a.getExtension("AdSense").A),qr(b,g.Na(this.Mu,a,b)),pr(b,g.Na(this.hL,a,b)),"Text"==b.Ad()&&(this.F=!0),this.B.push(b)):(b=Qo(ND),b=Sr(b,a),No(Rt(a),b))};
g.h.Vc=function(a,b,c){QD.fa.Vc.call(this,a,b,c);this.Va.jA=!0;a=this.va();g.Za(Tt(a))?Q()&&this.oa("companionBackfill"):this.Qd(a)};
g.h.pA=function(){null==this.B&&(this.B=[],(0,g.C)(this.ads,this.xV,this));if(0==this.B.length)throw Ro(ND);var a=[];(0,g.C)(this.B,function(b){rr(b,this.Za());"Flash"!=b.Ad()||b.Tb().getExtension("TemplateAd")||(b.sA=!0);a.push(b.zd());hfa(b,this.K.G)},this);
if(0==a.length)throw Ro(ND);Bja(this);xA(this,this.va());return this.Lo(a)};
g.h.start=function(){QD.fa.start.call(this);!this.J&&SD(this)&&(this.J=!0,this.oa("contentPauseRequested"));null!=this.A&&this.A.start();if(this.D){var a=TD(this);Ap.getInstance().report(33,a)}};
g.h.Ip=function(a){QD.fa.Ip.call(this,a);(0,g.C)(this.B,function(b){var c=Tr(b.Tb(),this.Ma);this.hc.o=c;this.pg(b,["close"]);this.Ga("close")},this)};
g.h.mp=function(a){QD.fa.mp.call(this,a);SD(this)&&(null!=this.C&&g.oe(this.C),P.o?Zp().il(null):Gp().il(null),this.J&&(this.J=!1,this.oa("contentResumeRequested")))};
g.h.Lo=function(a){a=QD.fa.Lo.call(this,a);if(SD(this)){var b=ly(2);g.T(this.o.o,b);g.T(a,b)}return a};
g.h.wt=function(a){if(SD(this)){var b=g.ve(a);b&&((a=se(a)[0])&&g.Ph(a,{margin:"0 auto"}),a=this.ads[0].getExtension("AdSense").A||new Cw,this.A=new Xy(b,a,2,RD(this),!0),this.Za().X(this.A,"skip",this.FL),this.Za().X(this.A,"end",this.fM))}else QD.fa.wt.call(this,a),zo().o("enable_overlays_wta")||(b=Er(dia,RD(this)),a.appendChild(b))};
g.h.Mu=function(a,b){this.D?this.Pn(a,b):this.H.push((0,g.A)(this.Pn,this,a,b));qr(b,g.z);this.oa("impression")};
g.h.Pn=function(a,b){var c=Tr(a,this.Ma);this.hc.o=c;this.Zg(a);this.pg(b,["creativeview"]);this.Ga("impression");this.Ga("creativeview");cw(this,"start")};
g.h.hL=function(a,b,c){a=a.getExtension("AdSense");a=new g.Hn(a.B);var d=b.ab();isNaN(d)&&(d=g.hi(b.zd()).width);var e=b.getHeight();isNaN(e)&&(e=g.hi(b.zd()).height);var f=di(c),k=c instanceof Mf;b=k&&g.Aa(c.offsetX)?c.offsetX:f.x;c=k&&g.Aa(c.offsetY)?c.offsetY:f.y;f=yo();c=["0","aw="+d,"ah="+e,"nx="+b,"ny="+c,"viewMode="+this.dd,"sdkv=h.0.0.0","eids="+Co(f)];Q()||(d=g.hi(this.Na.Qf()),e=this.A?zha(this.A):new g.Od(-1,-1),c=c.concat(["bw="+d.width,"bh="+d.height,"sx="+e.x,"sy="+e.y]));Ko(a,"elementclick",
c);(0,g.C)(this.B,function(l){var m=Tr(l.Tb(),this.Ma);this.hc.o=m;wA(this,l);this.Ga("click")},this);
this.oa("click")};
g.h.Cc=function(a){this.dd!=a&&(QD.fa.Cc.call(this,a),this.oa("expandedChanged"))};
g.h.Uo=function(){QD.fa.Uo.call(this,this.A?15:0,this.A?65:0)};
g.h.FL=function(){UD(this,"skip")};
g.h.fM=function(){UD(this,"close")};g.B(VD,g.K);VD.prototype.A=function(a){if(0==a.Dc||zo().o("disable_freqcap_for_hummingbird")&&(g.Za(a.G)?0:a.G[0].fp)||0>=this.C||0>=this.o)return!1;var b=(0,g.H)()/1E3;a=a.Dc-this.B.currentTime;0<a&&(b+=a);return b-this.o<=this.C};g.B(WD,VD);WD.prototype.A=function(a){return 5==a.Ue()?!1:WD.fa.A.call(this,a)};g.B(MD,Yv);g.h=MD.prototype;
g.h.Vc=function(a,b,c){null!=this.Wb&&(this.Wb.ad(),this.Wb.dispose(),this.Wb=null);MD.fa.Vc.call(this,a,b,c);a=this.Jf.o.Gb();b=new lB(b);var d=4;c&&0<=c.hx&&(d=c.hx);var e=new bB,f=zo(),k=f.A("sdk_ad_prefetch_time_seconds");0<=k&&(d=k);e.F=d;e.D=f.o("enable_prefetch_for_postrolls");e.o=f.o("enable_midroll_notify");e.C=f.o("enable_postroll_notify");e.A=f.A("midroll_notify_time_seconds");e.B=f.A("postroll_notify_time_seconds");this.ix=null!=c?c.uF:0;Dja(this,a);this.Wb=new cB(b,this.Db.wb(),e);a=
this.Jf.o.Gb();Eja(this,a);Fja(this);c=g.Ua(this.Db.wb(),function(l){return 0==l.Dc});
null!=c&&this.og()&&bE(this,c);try{c={cfg:!0},c.ads=this.Ee,Ap.getInstance().report(44,c)}catch(l){}};
g.h.init=function(a){MD.fa.init.call(this,a);this.Ir()};
g.h.Lk=function(){var a=new SA(this.Oe());this.dispatchEvent(new ky(null,a))};
g.h.destroy=function(){this.dispose()};
g.h.W=function(){this.qb.o=!0;if(0<this.Db.Gc()){var a=this.Db.wb();(0,g.C)(a,this.Oj,this);this.Db.clear()}$D(this);cE(this);null!=this.Na&&(this.Na.hide(),this.Na=null);MD.fa.W.call(this)};
g.h.start=function(){MD.fa.start.call(this)};
g.h.stop=function(){null!=this.rb&&(this.Oj(this.rb),this.lg())};
g.h.fb=function(a,b,c){MD.fa.fb.call(this,a,b,c);this.qe=a;this.pe=b;this.dd=c;null!=this.rb&&AA(this.rb,this.qe,this.pe,this.dd)};
g.h.pause=function(){null!=this.rb&&this.rb.pause()};
g.h.resume=function(){null!=this.rb&&this.rb.resume()};
g.h.skip=function(){null!=this.rb&&this.rb.skip()};
g.h.Cf=function(){null!=this.rb&&this.rb.Cf()};
g.h.muteAdClicked=function(){null!=this.rb&&this.Ga("mute_interaction_url")};
g.h.muteAd=function(){var a=this;if(null!=this.rb)if(this.Ga("mute_url"),this.oa("MUTE_AD"),zo().o("use_async_run_for_execution_in_ima"))g.vg(this.Vh,this);else{var b=g.Vg(function(){a.Vh()},0);
g.Ff(this,function(){return g.Wg(b)})}};
g.h.Vh=function(){this.mj();this.tb()?this.start():this.stop()};
g.h.whyThisAdClicked=function(){null!=this.rb&&this.Ga("why_this_ad_url")};
g.h.whyThisAdClosed=function(){null!=this.rb&&this.Ga("why_this_ad_got_it")};
g.h.setVolume=function(a){MD.fa.setVolume.call(this,a);null!=this.rb&&this.rb.setVolume(a)};
g.h.getCurrentTime=function(){return null!=this.rb?this.rb.getCurrentTime():-1};
g.h.getDuration=function(){return null!=this.rb?this.rb.getDuration():-1};
g.h.Pc=function(){return null!=this.rb?this.rb.Pc():-1};
g.h.Oe=function(){var a=g.ib(this.Jf.o.Gb());(0,g.C)(this.Db.wb(),g.Na(function(b,c){5==c.Ue()&&g.db(b,c.Dc)},a));
return a};
g.h.zb=function(){return null!=this.rb?this.rb.zb():null};
g.h.xr=function(){};
g.h.gf=function(a){MD.fa.gf.call(this,a);null!=this.Db&&(0,g.C)(this.Db.wb(),function(b){b.gf(a)})};
g.h.Ir=function(){this.Wb.Cb();this.Wb.kC(null);var a=g.Ca(0)&&!isNaN(0)?this.Jf.o.get(0,[]):[];g.Za(a)&&this.oa("contentResumeRequested")};
g.h.handleEvent=function(a){switch(a.type){case "contentTrackingError":break;case "discardAdBreak":ZD(this,this.Db.get(a.o));break;default:g.ED(this.km,a),aE(this)}};
g.h.ej=function(){this.oa("userClose")};
g.h.Ww=function(){this.oa("why_this_ad_url")};
g.h.Vw=function(){this.oa("why_this_ad_got_it")};
g.h.cj=function(){this.oa("autoClose")};
g.h.Oj=function(a){a.destroy();this.Db.remove(g.Ma(a));this.rb=null;null!=this.kc&&(this.kc.Ka(a,hA,this.dispatchEvent,!1,this),this.kc.Ka(a,"adError",this.vB,!1,this),this.kc.Ka(a,"allAdsCompleted",this.eE,!1,this),this.kc.Ka(a,"contentPauseRequested",this.Sh,!1,this),this.kc.Ka(a,"contentResumeRequested",this.lg,!1,this),this.kc.Ka(a,"adBreakInitialized",this.fE,!1,this))};
g.h.cR=function(a){this.cp=!0;-1==this.Qi?a.A=!1:Q()&&!XD(this)||YD(this);oia(this.Wb)};
g.h.Fn=function(a){if(null!=a.A&&this.Db.get(a.o).zb().Yb()){var b={};b.adBreakTime=a.A;this.dispatchEvent(new lo("adNotify",null,b))}};
g.h.Kk=function(){this.dispatchEvent(new lo("discardAdNotify",null))};
g.h.aQ=function(a){var b=a.A,c=0==b,d=-1==b;this.gm?(c?this.oa("contentResumeRequested"):!d||Q()&&!XD(this)||YD(this),this.gm=!1):(d?g.Vg(function(){var e=this.Db.get(a.o);e&&this.Oj(e);Q()&&!XD(this)||YD(this)},500,this):c&&g.Vg(function(){this.oa("contentResumeRequested")},100,this),c={},c.adBreakTime=b,this.dispatchEvent(new lo("adBreakReady",null,c)))};
g.h.vB=function(a){var b=a.getError(),c=b.Fb();try{var d={};d.ec=c;Ap.getInstance().report(44,d)}catch(e){}if(Q()&&b&&"adLoadError"==b.Xb()&&(this.dispatchEvent(a),null!=this.Wb))for(b=this.Wb,a=a.target.Dc,c=0;c<b.o.length;c++)b.o[c].o==a&&(b.o[c].B=!0)};
g.h.eE=function(a){this.Oj(a.target);(XD(this)||!Q()&&this.cp)&&YD(this);this.ee=null;aE(this)};
g.h.Sh=function(){var a=this.Wb;a.A.stop();a.C=!1;this.oa("contentPauseRequested")};
g.h.lg=function(){this.oa("contentResumeRequested");this.jt||fB(this.Wb);this.ee=null};
g.h.fE=function(a){this.ee=null;var b=a.target;a={};a.adBreakTime=b.Dc;this.dispatchEvent(new lo("prefetched",b.zb(),a));if(null!=this.Wb){a=this.Wb;b=b.Dc;for(var c=0;c<a.o.length;c++)a.o[c].o==b&&(a.o[c].ye=!0)}aE(this)};
g.h.oa=function(a){var b=null;null!=this.rb&&(b=this.rb.zb());this.dispatchEvent(new lo(a,b))};
g.h.Uj=function(a){return g.Ua(this.Db.wb(),g.Na(function(b,c){return c.Dc==b},a))};
g.h.bG=function(a,b){Q()?this.he=new WD(a,b):this.he=new VD(a,b);return this.he};
g.h.Ne=function(){return Q()&&null!=dE(this)&&null!=dE(this).o?dE(this).o.Ne():null};
g.h.mg=function(a){null!=dE(this)&&dE(this).mg(a)};
g.h.og=function(){return null===this.Na?!1:this.Va.Om&&op(this.Na)};g.B(fE,g.jg);fE.prototype.W=function(){null!=this.o&&(this.o.Ka("adsManagerLoaded",this.dispatchEvent),this.o.Ka("adError",this.dispatchEvent),this.o.Ka("adLoadError",this.dispatchEvent),this.o=null);fE.fa.W.call(this)};(function(){for(var a=["ms","moz","webkit","o"],b=0,c;c=a[b]&&!g.x.requestAnimationFrame;++b)g.x.requestAnimationFrame=g.x[c+"RequestAnimationFrame"],g.x.cancelAnimationFrame=g.x[c+"CancelAnimationFrame"]||g.x[c+"CancelRequestAnimationFrame"];if(!g.x.requestAnimationFrame){var d=0;g.x.requestAnimationFrame=function(e){var f=(new Date).getTime(),k=Math.max(0,16-(f-d));d=f+k;return g.x.setTimeout(function(){e(f+k)},k)};
g.x.cancelAnimationFrame||(g.x.cancelAnimationFrame=function(e){clearTimeout(e)})}})();hE.prototype.clone=function(){return new hE(this.o,this.G,this.C,this.D,this.B,this.F,this.A,this.H)};g.jE.prototype.A=0;g.jE.prototype.reset=function(){this.o=this.C=this.B;this.A=0};
g.jE.prototype.getValue=function(){return this.C};g.B(g.lE,g.K);g.h=g.lE.prototype;g.h.subscribe=function(a,b,c){var d=this.A[a];d||(d=this.A[a]=[]);var e=this.wc;this.o[e]=a;this.o[e+1]=b;this.o[e+2]=c;this.wc=e+3;d.push(e);return e};
g.h.unsubscribe=function(a,b,c){if(a=this.A[a]){var d=this.o;if(a=g.Ua(a,function(e){return d[e+1]==b&&d[e+2]==c}))return this.Hi(a)}return!1};
g.h.Hi=function(a){var b=this.o[a];if(b){var c=this.A[b];0!=this.B?(this.C.push(a),this.o[a+1]=g.z):(c&&g.db(c,a),delete this.o[a],delete this.o[a+1],delete this.o[a+2])}return!!b};
g.h.U=function(a,b){var c=this.A[a];if(c){for(var d=Array(arguments.length-1),e=1,f=arguments.length;e<f;e++)d[e-1]=arguments[e];if(this.D)for(e=0;e<c.length;e++){var k=c[e];Kja(this.o[k+1],this.o[k+2],d)}else{this.B++;try{for(e=0,f=c.length;e<f;e++)k=c[e],this.o[k+1].apply(this.o[k+2],d)}finally{if(this.B--,0<this.C.length&&0==this.B)for(;c=this.C.pop();)this.Hi(c)}}return 0!=e}return!1};
g.h.clear=function(a){if(a){var b=this.A[a];b&&((0,g.C)(b,this.Hi,this),delete this.A[a])}else this.o.length=0,this.A={}};
g.h.Gc=function(a){if(a){var b=this.A[a];return b?b.length:0}a=0;for(b in this.A)a+=this.Gc(b);return a};
g.h.W=function(){g.lE.fa.W.call(this);this.clear();this.C.length=0};g.mE.prototype.set=function(a,b){g.Aa(b)?this.o.set(a,g.$g(b)):this.o.remove(a)};
g.mE.prototype.get=function(a){try{var b=this.o.get(a)}catch(c){return}if(null!==b)try{return JSON.parse(b)}catch(c){throw"Storage: Invalid value was encountered";}};
g.mE.prototype.remove=function(a){this.o.remove(a)};g.B(nE,g.mE);nE.prototype.set=function(a,b){nE.fa.set.call(this,a,pE(b))};
nE.prototype.A=function(a){a=nE.fa.get.call(this,a);if(!g.Aa(a)||a instanceof Object)return a;throw"Storage: Invalid value was encountered";};
nE.prototype.get=function(a){if(a=this.A(a)){if(a=a.data,!g.Aa(a))throw"Storage: Invalid value was encountered";}else a=void 0;return a};g.B(qE,nE);qE.prototype.set=function(a,b,c){if(b=pE(b)){if(c){if(c<(0,g.H)()){qE.prototype.remove.call(this,a);return}b.expiration=c}b.creation=(0,g.H)()}qE.fa.set.call(this,a,b)};
qE.prototype.A=function(a,b){var c=qE.fa.A.call(this,a);if(c)if(!b&&g.rE(c))qE.prototype.remove.call(this,a);else return c};g.B(g.sE,qE);g.B(tE,Lja);tE.prototype.Gc=function(){var a=0;g.Bl(this.be(!0),function(){a++});
return a};
tE.prototype.clear=function(){var a=Sca(this.be(!0)),b=this;(0,g.C)(a,function(c){b.remove(c)})};g.B(uE,tE);g.h=uE.prototype;g.h.isAvailable=function(){if(!this.o)return!1;try{return this.o.setItem("__sak","1"),this.o.removeItem("__sak"),!0}catch(a){return!1}};
g.h.set=function(a,b){try{this.o.setItem(a,b)}catch(c){if(0==this.o.length)throw"Storage mechanism: Storage disabled";throw"Storage mechanism: Quota exceeded";}};
g.h.get=function(a){a=this.o.getItem(a);if(!g.v(a)&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};
g.h.remove=function(a){this.o.removeItem(a)};
g.h.Gc=function(){return this.o.length};
g.h.be=function(a){var b=0,c=this.o,d=new yl;d.next=function(){if(b>=c.length)throw zl;var e=c.key(b++);if(a)return e;e=c.getItem(e);if(!g.v(e))throw"Storage mechanism: Invalid value was encountered";return e};
return d};
g.h.clear=function(){this.o.clear()};
g.h.key=function(a){return this.o.key(a)};g.B(vE,uE);g.B(wE,uE);g.B(yE,tE);var Mja={".":".2E","!":".21","~":".7E","*":".2A","'":".27","(":".28",")":".29","%":"."},xE=null;g.h=yE.prototype;g.h.isAvailable=function(){return!!this.o};
g.h.set=function(a,b){this.o.setAttribute(zE(a),b);AE(this)};
g.h.get=function(a){a=this.o.getAttribute(zE(a));if(!g.v(a)&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};
g.h.remove=function(a){this.o.removeAttribute(zE(a));AE(this)};
g.h.Gc=function(){return BE(this).attributes.length};
g.h.be=function(a){var b=0,c=BE(this).attributes,d=new yl;d.next=function(){if(b>=c.length)throw zl;var e=c[b++];if(a)return decodeURIComponent(e.nodeName.replace(/\./g,"%")).substr(1);e=e.nodeValue;if(!g.v(e))throw"Storage mechanism: Invalid value was encountered";return e};
return d};
g.h.clear=function(){for(var a=BE(this),b=a.attributes.length;0<b;b--)a.removeAttribute(a.attributes[b-1].nodeName);AE(this)};g.B(CE,tE);CE.prototype.set=function(a,b){this.A.set(this.o+a,b)};
CE.prototype.get=function(a){return this.A.get(this.o+a)};
CE.prototype.remove=function(a){this.A.remove(this.o+a)};
CE.prototype.be=function(a){var b=this.A.be(!0),c=this,d=new yl;d.next=function(){for(var e=b.next();e.substr(0,c.o.length)!=c.o;)e=b.next();return a?e.substr(c.o.length):c.A.get(e)};
return d};EE.prototype.getValue=function(){return this.o};
EE.prototype.clone=function(){return new EE(this.wc,this.o)};g.h=FE.prototype;g.h.remove=function(){var a=this.o,b=a.length,c=a[0];if(!(0>=b)){if(1==b)$a(a);else{a[0]=a.pop();a=0;b=this.o;for(var d=b.length,e=b[a];a<d>>1;){var f=2*a+1,k=2*a+2;f=k<d&&b[k].wc<b[f].wc?k:f;if(b[f].wc>e.wc)break;b[a]=b[f];a=f}b[a]=e}return c.getValue()}};
g.h.wb=function(){for(var a=this.o,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].getValue());return b};
g.h.Gb=function(){for(var a=this.o,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].wc);return b};
g.h.clone=function(){return new FE(this)};
g.h.Gc=function(){return this.o.length};
g.h.isEmpty=function(){return g.Za(this.o)};
g.h.clear=function(){$a(this.o)};g.B(g.HE,FE);IE.prototype.set=function(a,b){b=void 0===b?!0:b;0<=a&&52>a&&0===a%1&&this.A[a]!=b&&(this.A[a]=b,this.o=-1)};
IE.prototype.get=function(a){return!!this.A[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.
*/
JE.prototype.cancel=function(a){if(this.o)this.C instanceof JE&&this.C.cancel();else{if(this.A){var b=this.A;delete this.A;a?b.cancel(a):(b.H--,0>=b.H&&b.cancel())}this.M?this.M.call(this.L,this):this.J=!0;this.o||(a=new TE(this),NE(this),LE(this,!1,a))}};
JE.prototype.K=function(a,b){this.G=!1;LE(this,a,b)};
JE.prototype.Tl=function(a){NE(this);LE(this,!0,a)};
JE.prototype.then=function(a,b,c){var d,e,f=new g.Bg(function(k,l){d=k;e=l});
OE(this,d,function(k){k instanceof TE?f.cancel():e(k)});
return f.then(a,b,c)};
yg(JE);JE.prototype.isError=function(a){return a instanceof Error};
g.B(ME,Pa);ME.prototype.message="Deferred has already fired";ME.prototype.name="AlreadyCalledError";g.B(TE,Pa);TE.prototype.message="Deferred was canceled";TE.prototype.name="CanceledError";SE.prototype.A=function(){delete RE[this.Ja];throw this.o;};
var RE={};g.B(UE,bf);g.B(VE,bf);var Oja=[2,13,14];UE.prototype.Xb=function(){var a=ff(this,11);return null==a?0:a};var jva={pX:0,nX:1,lX:2,oX:4,qX:14,mX:15,rX:17},kva={vX:0,tX:1,sX:2,uX:3,wX:14},lva={N_:0,O_:1,Q_:2,P_:3,M_:4};g.GH=window.performance&&window.performance.timing&&window.performance.now?function(){return window.performance.timing.navigationStart+window.performance.now()}:function(){return(new Date).getTime()};g.WE=window.yt&&window.yt.config_||window.ytcfg&&window.ytcfg.data_||{};g.Da("yt.config_",g.WE,void 0);var fF={};var Cza=g.y("ytPubsubPubsubInstance")||new g.lE;g.lE.prototype.subscribe=g.lE.prototype.subscribe;g.lE.prototype.unsubscribeByKey=g.lE.prototype.Hi;g.lE.prototype.publish=g.lE.prototype.U;g.lE.prototype.clear=g.lE.prototype.clear;g.Da("ytPubsubPubsubInstance",Cza,void 0);var kF=g.y("ytPubsubPubsubSubscribedKeys")||{};g.Da("ytPubsubPubsubSubscribedKeys",kF,void 0);var mF=g.y("ytPubsubPubsubTopicToKeys")||{};g.Da("ytPubsubPubsubTopicToKeys",mF,void 0);g.lF=g.y("ytPubsubPubsubIsSynchronous")||{};
g.Da("ytPubsubPubsubIsSynchronous",g.lF,void 0);var Qja=/\.vflset|-vfl[a-zA-Z0-9_+=-]+/,Rja=/-[a-zA-Z]{2,3}_[a-zA-Z]{2,3}(?=(\/|$))/;vF.prototype.initialize=function(a,b,c,d,e){var f=this;b?(this.af=!0,g.tF(b,function(){f.af=!1;if(window.botguard)wF(f,c,d);else{var k=uF(b),l=document.getElementById(k);l&&(sF(k),l.parentNode.removeChild(l));k=Error("Unable to load Botguard");k.params="from "+b;g.bF(k)}},e)):a&&(eval(a),window.botguard?wF(this,c,d):g.bF(Error("Unable to load Botguard from JS")))};
vF.prototype.dispose=function(){this.o=null};var JF=new function(){var a=window.document;this.o=window;this.A=a};
g.Da("yt.ads_.signals_.getAdSignalsString",function(){return AF(LF())},void 0);(0,g.H)();var OF=g.Aa(XMLHttpRequest)?function(){return new XMLHttpRequest}:g.Aa(ActiveXObject)?function(){return new ActiveXObject("Microsoft.XMLHTTP")}:null;var QF={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"},Xja="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(" "),
WF=!1;var kG=LN||KN;var sG={},dka=0;g.t(tG,Pa);wG.prototype.then=function(a,b,c){return this.C?this.C.then(a,b,c):1===this.A&&a?(a=a.call(c,this.o),zg(a)?a:yG(a)):2===this.A&&b?(a=b.call(c,this.o),zg(a)?a:xG(a)):this};
wG.prototype.getValue=function(){return this.o};
yg(wG);g.t(AG,Pa);AG.prototype.name="BiscottiError";g.t(zG,Pa);zG.prototype.name="BiscottiMissingError";var CG={format:"RAW",method:"GET",timeout:5E3,withCredentials:!0},BG=null;var Dza=0,HG=g.fe?"webkit":g.Rh?"moz":g.de?"ms":g.Kf?"o":"";g.Da("ytDomDomGetNextId",g.y("ytDomDomGetNextId")||function(){return++Dza},void 0);var gka={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};PG.prototype.preventDefault=function(){this.event&&(this.event.returnValue=!1,this.event.preventDefault&&this.event.preventDefault())};
PG.prototype.AC=function(){return this.event?!1===this.event.returnValue:!1};
PG.prototype.stopPropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopPropagation&&this.event.stopPropagation())};
PG.prototype.stopImmediatePropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopImmediatePropagation&&this.event.stopImmediatePropagation())};var TG=g.y("ytEventsEventsListeners")||{};g.Da("ytEventsEventsListeners",TG,void 0);var UG=g.y("ytEventsEventsCounter")||{count:0};g.Da("ytEventsEventsCounter",UG,void 0);var Eza=Pc(function(){var a=!1;try{var b=Object.defineProperty({},"passive",{get:function(){a=!0}});
window.addEventListener("test",null,b)}catch(c){}return a}),VG=Pc(function(){var a=!1;
try{var b=Object.defineProperty({},"capture",{get:function(){a=!0}});
window.addEventListener("test",null,b)}catch(c){}return a});g.t(g.gH,g.K);g.gH.prototype.X=function(a,b,c,d){c=(0,g.A)(c,d||this.A);a=g.WG(a,b,c);this.o.push(a);return a};
g.gH.prototype.Mh=function(a,b,c,d){c=(0,g.A)(c,d||this.A);a=fH(a,b,c);this.o.push(a);return a};
g.gH.prototype.Ka=function(a){g.XG(a);g.db(this.o,a)};
g.gH.prototype.W=function(){g.hH(this);g.K.prototype.W.call(this)};g.B(iH,g.K);iH.prototype.K=function(a){this.o=new g.Od(RG(a),SG(a))};
iH.prototype.Cd=function(){return this.o||new g.Od};
iH.prototype.F=function(){if(this.o){var a=g.GH();if(0!=this.B){var b=this.D,c=this.o,d=b.x-c.x;b=b.y-c.y;d=Math.sqrt(d*d+b*b)/(a-this.B);this.A[this.Ib]=.5<Math.abs((d-this.C)/this.C)?1:0;for(c=b=0;4>c;c++)b+=this.A[c]||0;3<=b&&this.H();this.C=d}this.B=a;this.D=this.o;this.Ib=(this.Ib+1)%4}};
iH.prototype.W=function(){window.clearInterval(this.J);g.XG(this.G)};g.t(g.jH,g.K);g.jH.prototype.R=function(a,b,c,d,e){c=aF((0,g.A)(c,d||this.yc));c={target:a,name:b,Tl:c};var f;e&&Eza()&&(f={passive:!0});a.addEventListener(b,c.Tl,f);this.O.push(c);return c};
g.jH.prototype.Ka=function(a){for(var b=0;b<this.O.length;b++)if(this.O[b]==a){this.O.splice(b,1);a.target.removeEventListener(a.name,a.Tl);break}};
g.jH.prototype.W=function(){g.lH(this);g.K.prototype.W.call(this)};g.B(g.mH,g.K);g.mH.prototype.subscribe=function(a,b,c){return this.la()?0:this.ha.subscribe(a,b,c)};
g.mH.prototype.unsubscribe=function(a,b,c){return this.la()?!1:this.ha.unsubscribe(a,b,c)};
g.mH.prototype.Bk=function(a){return this.la()?!1:this.ha.Hi(a)};
g.mH.prototype.U=function(a,b){return this.la()?!1:this.ha.U.apply(this.ha,arguments)};g.t(g.qH,g.mH);g.h=g.qH.prototype;g.h.cancel=function(){this.B&&(this.B=!1,this.U("dragend",0,0,null));this.A&&(this.A=!1,this.U("hoverend",0,0,null),g.lH(this.o),pH(this))};
g.h.eD=function(a){g.lH(this.o);rH(this,sH("move"),this.cD);rH(this,sH("out"),this.dD);rH(this,"touchstart",this.cw);this.C&&rH(this,sH("down"),this.bw);var b=g.YG(a);a=aH(a);this.A=!0;this.U("hoverstart",a.x,a.y,b);this.U("hovermove",a.x,a.y,b)};
g.h.cD=function(a){var b=g.YG(a);a=aH(a);if(this.D){var c=this.D;this.D=null;if($G(c)==b&&Pd(aH(c),a))return}this.U("hovermove",a.x,a.y,b)};
g.h.dD=function(a){var b=aH(a),c=$G(a);c&&g.we(this.F,c)?(this.D=a,this.U("hovermove",b.x,b.y,c)):(g.lH(this.o),pH(this),this.A=!1,this.U("hoverend",b.x,b.y,c))};
g.h.RP=function(a){this.eD(a);this.bw(a)};
g.h.bw=function(a){if(!g.Ca(a.button)||0==a.button){g.lH(this.o);this.o.R(document,sH("move"),this.QP);this.o.R(document,sH("up"),this.qN);var b=g.YG(a);if(g.fe)rH(this,"dragstart",this.tK);else if(g.bH(a),(g.mO||g.Rh)&&b)a:{for(var c=b;c;){if(Ce(c)||"-1"===c.getAttribute("tabindex")){c.focus();break a}c=c.parentElement}document.activeElement.blur()}this.B=!0;a=aH(a);this.U("dragstart",a.x,a.y,b);this.U("dragmove",a.x,a.y,b)}};
g.h.tK=function(a){g.bH(a)};
g.h.QP=function(a){var b=g.YG(a);b==document&&(b=null);a=aH(a);this.U("hovermove",a.x,a.y,b);this.U("dragmove",a.x,a.y,b)};
g.h.qN=function(a){g.lH(this.o);this.B=!1;var b=ZG(a),c=g.YG(a);a=aH(a);b&&g.we(this.F,b)?(rH(this,sH("move"),this.cD),rH(this,sH("out"),this.dD),rH(this,sH("down"),this.bw),rH(this,"touchstart",this.cw),this.U("dragend",a.x,a.y,c)):(pH(this),this.A=!1,this.U("dragend",a.x,a.y,c),this.U("hoverend",a.x,a.y,c))};
g.h.cw=function(a){var b=a.changedTouches[0];b&&(g.lH(this.o),rH(this,"touchmove",this.rN),rH(this,"touchend",this.fD),rH(this,"touchcancel",this.fD),this.G=b.identifier,a=g.YG(a),this.A||(this.A=!0,this.U("hoverstart",b.pageX,b.pageY,a)),this.U("hovermove",b.pageX,b.pageY,a),this.C&&(this.B=!0,this.U("dragstart",b.pageX,b.pageY,a),this.U("dragmove",b.pageX,b.pageY,a)))};
g.h.rN=function(a){var b=tH(this,a);b&&(this.C&&g.bH(a),a=g.YG(a),this.U("hovermove",b.pageX,b.pageY,a),this.C&&this.U("dragmove",b.pageX,b.pageY,a))};
g.h.fD=function(a){var b=tH(this,a);if(b){g.lH(this.o);pH(this);this.A=!1;var c=g.YG(a);this.C&&(this.H||g.bH(a),this.B=!1,this.U("dragend",b.pageX,b.pageY,c));this.U("hoverend",b.pageX,b.pageY,c)}};
g.h.W=function(){this.C&&(g.fe&&this.F.removeAttribute("draggable"),this.F.style.touchAction="");g.lH(this.o);g.mH.prototype.W.call(this)};uH.prototype.clone=function(){var a=new uH,b;for(b in this)if(this.hasOwnProperty(b)){var c=this[b];"object"==Fa(c)?a[b]=g.ic(c):a[b]=c}return a};var wH={},vH=0;var mka=Math.pow(2,16)-1,JH=null,KH=0,lka={log_event:"events",log_interaction:"interactions"},Fza=Object.create(null);Fza.log_event="GENERIC_EVENT_LOGGING";Fza.log_interaction="INTERACTION_LOGGING";var nka=new Set(["log_event"]),BH={},yH=0,zH=0,AH=g.y("ytLoggingTransportLogPayloadsQueue_")||{};g.Da("ytLoggingTransportLogPayloadsQueue_",AH,void 0);var IH=g.y("ytLoggingTransportTokensToCttTargetIds_")||{};g.Da("ytLoggingTransportTokensToCttTargetIds_",IH,void 0);
var FH=g.y("ytLoggingTransportDispatchedStats_")||{};g.Da("ytLoggingTransportDispatchedStats_",FH,void 0);g.Da("ytytLoggingTransportCapturedTime_",g.y("ytLoggingTransportCapturedTime_")||{},void 0);g.t(OH,pka);OH.prototype.start=function(){var a=g.y("yt.scheduler.instance.start");a&&a()};
OH.prototype.pause=function(){var a=g.y("yt.scheduler.instance.pause");a&&a()};
g.Ea(OH);OH.getInstance();var VH={};aI.prototype.set=function(a,b,c,d){c=c||31104E3;this.remove(a);if(this.o)try{this.o.set(a,b,(0,g.H)()+1E3*c);return}catch(f){}var e="";if(d)try{e=escape(g.$g(b))}catch(f){return}else e=escape(b);g.ZH(a,e,c,this.A)};
aI.prototype.get=function(a,b){var c=void 0,d=!this.o;if(!d)try{c=this.o.get(a)}catch(e){d=!0}if(d&&(c=YH.get(""+a,void 0))&&(c=unescape(c),b))try{c=JSON.parse(c)}catch(e){this.remove(a),c=void 0}return c};
aI.prototype.remove=function(a){this.o&&this.o.remove(a);g.$H(a,"/",this.A)};new aI;dI.prototype.toString=function(){return JSON.stringify(g.fI(this))};
var rka=1;var lI=g.y("ytLoggingLatencyUsageStats_")||{};g.Da("ytLoggingLatencyUsageStats_",lI,void 0);var mI=0;var nI=(0,g.H)().toString();var wI=g.y("ytLoggingTimeDocumentNonce_")||pI();g.Da("ytLoggingTimeDocumentNonce_",wI,void 0);g.Da("yt_logging_screen.getRootVeType",tI,void 0);g.Da("yt_logging_screen.getCurrentCsn",g.vI,void 0);g.Da("yt_logging_screen.setCurrentScreen",xI,void 0);var zI;g.yI=Pc(function(){var a=new vE;return a.isAvailable()?new g.sE(a):null});
zI=Pc(function(){var a=new wE;return a.isAvailable()?new g.sE(a):null});var cQ=new vF,EI=0;var Xma={qZ:1,PZ:2,PAUSED:3};g.h=g.GI.prototype;g.h.oD=function(a){this.segments.push(a)};
g.h.getDuration=function(a){return(a=this.rh(a))?a.duration:0};
g.h.tu=function(a){return this.getDuration(a)};
g.h.qf=function(){return this.segments.length?this.segments[0].Ub:-1};
g.h.jw=function(a){return(a=this.rh(a))?a.ingestionTime:NaN};
g.h.Lb=function(){return this.segments.length?this.segments[this.segments.length-1].Ub:-1};
g.h.Vj=function(){var a=this.segments[this.segments.length-1];return a?a.endTime:NaN};
g.h.fc=function(){return this.segments[0].startTime};
g.h.Xj=function(){return this.segments.length};
g.h.Aq=function(){return 0};
g.h.Rf=function(a){return(a=this.xm(a))?a.Ub:-1};
g.h.yu=function(a){return(a=this.rh(a))?a.sourceURL:""};
g.h.kd=function(a){return(a=this.rh(a))?a.startTime:0};
g.h.Ep=ba(1);g.h.Mb=function(){return 0<this.segments.length};
g.h.rh=function(a){a=g.rb(this.segments,new FI(a,0,0,0,""),function(b,c){return b.Ub-c.Ub});
return 0<=a?this.segments[a]:null};
g.h.xm=function(a){a=g.rb(this.segments,{startTime:a},function(b,c){return b.startTime-c.startTime});
return 0<=a?this.segments[a]:this.segments[Math.max(0,-a-2)]};
g.h.append=function(a){if(0!=a.length)if(a=g.ib(a),0==this.segments.length)this.segments=a;else{var b=this.segments.length?g.Ra(this.segments).endTime:0,c=a[0].Ub-this.Lb();1<c&&$a(this.segments);for(c=0<c?0:-c+1;c<a.length;c++){var d=a[c];d.startTime=b;d.endTime=d.startTime+d.duration;b+=a[c].duration;this.segments.push(a[c])}}};
g.h.GB=function(){return 0};II.prototype.skip=function(a){this.o+=a};PI.prototype.oh=function(a,b,c){(new Uint8Array(this.data.buffer,this.o,c)).set(new Uint8Array(a.buffer,b+a.byteOffset,c));this.o+=c};var P1={},Gza=(P1.predictStart="predictStart",P1.start="start",P1["continue"]="continue",P1.stop="stop",P1),Bpa={EVENT_PREDICT_START:"predictStart",EVENT_START:"start",EVENT_CONTINUE:"continue",EVENT_STOP:"stop"};var mS=!1;g.FJ.prototype.toString=function(){return this.start+"-"+(null==this.end?"":this.end)};TJ.prototype.verify=function(a){if(this.info.gb!=this.range.length)return a.slength=this.info.gb.toString(),a.range=this.range.length.toString(),!1;if(1==this.info.o.info.containerType){if(8>this.info.gb||4==this.info.type)return!0;var b=UJ(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.gb&&1936286840==b;if(3==this.info.type&&0==this.info.C)return 1836019558==b||1936286840==
b||1937013104==b||1718909296==b||1701671783==b||1936419184==b}else if(2==this.info.o.info.containerType){if(4>this.info.gb||4==this.info.type)return!0;c=UJ(this).getUint32(0,!1);a.ebm=c.toString();if(3==this.info.type&&0==this.info.C)return 524531317==c||440786851==c}return!0};dK.prototype.o=function(a){return"true"==this.flags[a]};
dK.prototype.A=function(a){return parseFloat(this.flags[a])||0};
dK.prototype.C=function(a){return(a=this.flags[a])?a.toString():""};var Hka=/^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\/)/,Fka=/^http:\/\/0\.[a-z0-9\-_]+\.[a-z0-9\-_]+\.l2gfe\.[a-z0-9_]+\.([a-z]{2}|i)\.borg\.google\.com(:[0-9]+)?\/|^https?:\/\/((?:uytfe\.corp|dev-uytfe\.corp|uytfe\.sandbox)\.google\.com\/|([-\w]*www[-\w]*\.|[-\w]*web[-\w]*\.|[-\w]*canary[-\w]*\.|[-\w]*dev[-\w]*\.|[-\w]{1,3}\.)+youtube(-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\/[^/\\%]+\/|)|[A-Za-z0-9]+(-v6)?\.prod\.google\.com(:[0-9]+)?\/|m?web-ppg\.corp\.google\.com\/|play\.google\.com\/)/,
Ika=/^https?:\/\/(www\.google\.com\/pagead\/sul|www\.google\.com\/pagead\/xsul|www\.youtube\.com\/pagead\/psul|www\.youtube\.com\/pagead\/slav|www\.youtube\.com\/pagead\/sul)/,Mka=/^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))/,$qa=/^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|c\.googlers\.com|borg\.google\.com|prod\.google\.com|youtube\.com)(:[0-9]+)?\/|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?\/(?!url\b))/,
Kka=/^((http(s)?):)?\/\/((((lh[3-6](-tt|-d[a-g,z])?\.((ggpht)|(googleusercontent)|(google)))|(([1-4]\.bp\.blogspot)|(bp[0-3]\.blogger))|((((cp|ci|gp)[3-6])|(ap[1-2]))\.(ggpht|googleusercontent))|(gm[1-4]\.ggpht)|(((yt[3-4])|(sp[1-3]))\.(ggpht|googleusercontent)))\.com)|(dp[3-6]\.googleusercontent\.cn)|(dp4\.googleusercontent\.com)|(photos\-image\-(dev|qa)(-auth)?\.corp\.google\.com)|((dev|dev2|dev3|qa|qa2|qa3|qa-red|qa-blue|canary)[-.]lighthouse\.sandbox\.google\.com\/image)|(image\-(dev|qa)\-lighthouse(-auth)?\.sandbox\.google\.com(\/image)?))\/|^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|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|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\/)/,
Gka=/^https?.*#ocr$|^https?:\/\/(aksecure\.imrworldwide\.com\/|cdn\.imrworldwide\.com\/|secure\-..\.imrworldwide\.com\/)/,Lka=/^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)/,Jka=/^((http(s)?):)?\/\/((((lh[3-6](-tt|-d[a-g,z])?\.((ggpht)|(googleusercontent)|(google)))|(([1-4]\.bp\.blogspot)|(bp[0-3]\.blogger))|((((cp|ci|gp)[3-6])|(ap[1-2]))\.(ggpht|googleusercontent))|(gm[1-4]\.ggpht)|(((yt[3-4])|(sp[1-3]))\.(ggpht|googleusercontent)))\.com)|(dp[3-6]\.googleusercontent\.cn)|(dp4\.googleusercontent\.com)|(photos\-image\-(dev|qa)(-auth)?\.corp\.google\.com)|((dev|dev2|dev3|qa|qa2|qa3|qa-red|qa-blue|canary)[-.]lighthouse\.sandbox\.google\.com\/image)|(image\-(dev|qa)\-lighthouse(-auth)?\.sandbox\.google\.com(\/image)?))\/|^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|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\/.*$)/,
Gla=/^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)(:[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)/,
Fla=/^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)(:[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)/,
Hza=/^(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)$|^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}\.)+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 rK={ZY:function(a,b){var c=a[0];a[0]=a[b%a.length];a[b%a.length]=c},
a1:function(a){a.reverse()},
c7:function(a,b){a.splice(0,b)}};g.tK.prototype.set=function(a,b){this.o[a]!==b&&(this.o[a]=b,this.C="")};
g.tK.prototype.get=function(a){uK(this);return this.o[a]||null};
g.tK.prototype.Xa=function(){this.C||(this.C=Nka(this));return this.C};
g.tK.prototype.clone=function(){var a=new g.tK(this.B);a.D=this.D;a.A=this.A;a.F=this.F;a.o=g.ic(this.o);a.C=this.C;return a};
var yK=!1;DK.prototype.set=function(a,b){this.o.get(a);this.A[a]=b;this.C=""};
DK.prototype.get=function(a){return this.A[a]||this.o.get(a)};
DK.prototype.Xa=function(){this.C||(this.C=Pka(this));return this.C};var FM={name:"width",video:!0,valid:640,Eh:99999},GM={name:"height",video:!0,valid:360,Eh:99999},HM={name:"framerate",video:!0,valid:30,Eh:9999},IM={name:"bitrate",video:!0,valid:3E5,Eh:2E9},DM={name:"eotf",video:!0,valid:"bt709",Eh:"catavision"},LM={name:"channels",video:!1,valid:2,Eh:99},JM={name:"cryptoblockformat",video:!0,valid:"subsample",Eh:"invalidformat"},KM={name:"decode-to-texture",video:!0,valid:"false",Eh:"nope"},MM={zo:FM,so:GM,j_:HM,Sy:IM,SZ:DM,JY:LM,cZ:JM,kZ:KM};var Tka={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:"(",277:"(",362:"(h",363:"(h",364:"(h",365:"(h",366:"(h",367:"(h",368:"(h",394:"1",395:"1",396:"1",397:"1",398:"1",399:"1",400:"1",401:"1",402:"1",386:"3",387:"w",406:"6"};RK.prototype.A=function(){return this.name};
RK.prototype.getId=function(){return this.id};
RK.prototype.o=function(){return this.isDefault};
RK.prototype.toString=function(){return this.name};
RK.prototype.getName=RK.prototype.A;RK.prototype.getId=RK.prototype.getId;RK.prototype.getIsDefault=RK.prototype.o;var zla={bY:"auto",r3:"tiny",e0:"light",O2:"small",QI:"medium",c0:"large",u_:"hd720",q_:"hd1080",r_:"hd1440",s_:"hd2160",t_:"hd2880",A_:"highres",UNKNOWN:"unknown"};var Q1;Q1={};g.TK=(Q1.auto=0,Q1.tiny=144,Q1.light=144,Q1.small=240,Q1.medium=360,Q1.large=480,Q1.hd720=720,Q1.hd1080=1080,Q1.hd1440=1440,Q1.hd2160=2160,Q1.hd2880=2880,Q1.highres=4320,Q1);var XK="highres hd2880 hd2160 hd1440 hd1080 hd720 large medium small tiny".split(" ");ZK.prototype.za=function(){return this.video};g.h=fL.prototype;g.h.Lf=function(){};
g.h.Ni=function(){};
g.h.Hv=function(){return!1};
g.h.Rc=function(){return!!this.o&&this.index.Mb()};
g.h.Ug=function(){};
g.h.hD=function(){return!1};
g.h.Wj=function(){};
g.h.Vi=function(){};
g.h.zk=function(){};
g.h.Lg=function(){};
g.h.Kp=function(){};
g.h.iD=function(a){return[a]};
g.h.sr=function(a){return[a]};
g.h.Sq=function(){};
g.h.zp=function(){};g.t(hL,fL);g.h=hL.prototype;g.h.Lf=function(){return!1};
g.h.Ni=function(){return!1};
g.h.hD=function(){return this.A};
g.h.Wj=function(){if(this.A)return[];var a=new JJ(1,this,this.initRange,"getMetadataRequestInfos");return[new KK([a],this.V)]};
g.h.Vi=function(){return null};
g.h.zk=function(a){this.Ug(a);return this.tn(a.B?a.A+1:a.A,!1)};
g.h.Lg=function(a,b){b=void 0===b?!1:b;var c=this.index.Rf(a);b&&(c=Math.min(this.index.Lb(),c+1));return this.tn(c,!0)};
g.h.Kp=function(a){this.o=new Uint8Array(UJ(a).buffer)};
g.h.Hv=function(){return!1};
g.h.Ug=function(a){return 0==a.gb?!0:this.index.Lb()>a.A&&this.index.qf()<=a.A+1};
g.h.update=function(a,b,c){this.index.append(a);HI(this.index,c);this.K=b};
g.h.Rc=function(){return this.A?!0:fL.prototype.Rc.call(this)};
g.h.tn=function(a,b){var c=this.index.yu(a),d=this.index.kd(a),e=this.index.getDuration(a),f;b?e=f=0:f=0<this.info.o?this.info.o*e:1E3;d=new JJ(3,this,null,"liveCreateRequestInfoForSegment",a,d,e,0,f,a==this.index.Lb()&&!this.K&&0<f);return new KK([d],c)};
g.h.zp=function(){return this.A?0:this.initRange.length};
g.h.Sq=function(){return!1};g.t(lL,g.GI);g.h=lL.prototype;g.h.qf=function(){return this.A?this.segments.length?this.xm(this.fc()).Ub:-1:g.GI.prototype.qf.call(this)};
g.h.fc=function(){if(!this.A)return g.GI.prototype.fc.call(this);if(!this.segments.length)return 0;var a=Math.max(g.Ra(this.segments).endTime-this.G,0);return 0<this.D&&this.xm(a).Ub<this.D?this.rh(this.D).startTime:a};
g.h.Vj=function(){if(!this.segments.length)return g.GI.prototype.Vj.call(this);var a=this.Lb();a=!this.A||a<=this.segments[this.segments.length-1].Ub?this.segments[this.segments.length-1]:pL(this,a,this.segments[this.segments.length-1]);return null!=this.B&&a.o&&3==this.B?a.startTime:a.endTime};
g.h.Xj=function(){return this.A?this.segments.length?this.Lb()-this.qf()+1:0:g.GI.prototype.Xj.call(this)};
g.h.Lb=function(){var a=this.H,b=this.C;return Math.min(20<a?a-this.F:a,Math.max(g.GI.prototype.Lb.call(this),20<b?b-this.F:b))};
g.h.oD=function(a){var b=mL(this,a.Ub);0<=b?this.segments[b]=a:this.segments.splice(-(b+1),0,a)};
g.h.xm=function(a){if(!this.A)return g.GI.prototype.xm.call(this,a);if(!this.segments.length)return null;var b=g.rb(this.segments,{startTime:a},function(d,e){return d.startTime-e.startTime}),c=this.segments[0<=b?b:Math.max(-(b+2),0)];
return c.startTime+c.duration>a&&c.startTime<=a?c:-1==b?pL(this,Math.max(c.Ub-Math.ceil((c.startTime-a)/this.o),0),c):pL(this,c.Ub+Math.ceil((a-c.endTime)/this.o),c)};
g.h.rh=function(a){if(!this.A)return g.GI.prototype.rh.call(this,a);if(!this.segments.length)return null;var b=mL(this,a);return 0<=b?this.segments[b]:pL(this,a,this.segments[Math.max(-(b+2),0)])};g.t(qL,hL);g.h=qL.prototype;g.h.Ni=function(){return!0};
g.h.Rc=function(){return!0};
g.h.Ug=function(){return!0};
g.h.Wj=function(){return[]};
g.h.Lg=function(a,b){if(g.Ca(a)&&!isFinite(a)){var c=new JJ(3,this,null,"mlLiveGetReqInfoStubForTime",-1,void 0,this.G,void 0,this.G*this.info.o);return new KK([c],"")}return hL.prototype.Lg.call(this,a,b)};
g.h.tn=function(a,b){if(nL(this.index,a))return hL.prototype.tn.call(this,a,b);var c=this.index.kd(a),d=b?0:this.G*this.info.o;c=new JJ(3,this,null,"mlLiveCreateReqInfoForSeg",a,c,void 0,void 0,d,a==this.index.Lb()&&!this.K&&0<d);return new KK([c],0<=a?"sq/"+a:"")};vL.prototype.update=function(a,b){var c=void 0;this.A&&(c=this.A);var d=new vL,e=Array.from(a.getElementsByTagName("S"));if(e.length){var f=+rL(a,"timescale")||1,k=(+e[0].getAttribute("t")||0)/f,l=+rL(a,"startNumber")||0;var m=k;var n=+rL(a,"presentationTimeOffset")||0;m=c?c.o+c.durationSecs:b?m-n/f:0;n=Date.parse(uL(rL(a,"yt:segmentIngestTime")))/1E3;d.C="SegmentTemplate"==a.parentNode.tagName;d.C&&(d.F=rL(a,"media"));var p=c?l-c.Ub:1;d.D=0<p?0:-p+1;e=g.r(e);for(p=e.next();!p.done;p=e.next()){p=
p.value;for(var q=+p.getAttribute("d")/f,u=(+p.getAttribute("yt:sid")||0)/f,w=+p.getAttribute("r")||0,D=0;D<=w;D++)if(c&&l<=c.Ub)l++;else{var F=new Uka(l,m,q,n+u,k);d.o.push(F);var J=F.o;F=p.getAttribute("yt:cuepointTimeOffset");var O=p.getAttribute("yt:cuepointDuration");if(F&&O){F=parseFloat(F);J=(mS?+F/f:-F/f)+J;O=parseFloat(O)/f;var qa=p.getAttribute("yt:cuepointContext")||null,Ta=p.getAttribute("yt:cuepointIdentifier");var Ha=p.getAttribute("yt:cuepointEvent");Ha=Gza[Ha]||"unknown";F=new SI(J,
O,qa,Ta,Ha,F)}else F=null;F&&d.B.push(F);l++;m+=q;k+=q;n+=q+u}}d.o.length&&(d.A=g.Ra(d.o))}this.D=d.D;this.A=d.A||this.A;jb(this.o,d.o);jb(this.B,d.B);this.C=d.C;this.F=d.F};
vL.prototype.wh=function(a,b,c,d){for(var e=this.F.split("$$"),f=0;f<e.length;f++)e[f]=e[f].replace("$RepresentationID$",a),e[f]=e[f].replace("$Number$",c.toString()),e[f]=e[f].replace("$Bandwidth$",b.toString()),e[f]=e[f].replace("$Time$",d.toString());return e.join("$")};g.t(wL,fL);g.h=wL.prototype;g.h.Lf=function(){return!1};
g.h.Ni=function(){return!1};
g.h.Wj=function(){if(this.A){var a=new JJ(1,this,null,"otfInit");return[new KK([a],this.A)]}a=new JJ(1,this,this.initRange,"otfInitInfo");var b=new JJ(2,this,this.indexRange,"otfIndexInfo");return[new KK([a,b])]};
g.h.Vi=function(){return null};
g.h.zk=function(a){this.Ug(a);return xL(this,a.B?a.A+1:a.A,!1)};
g.h.Lg=function(a,b){b=void 0===b?!1:b;var c=this.index.Rf(a);b&&(c=Math.min(this.index.Lb(),c+1));return xL(this,c,!0)};
g.h.Kp=function(a){if(1==a.info.type)this.o||(a.o&&"http://youtube.com/streaming/otf/durations/112015"==a.o.uri&&bla(this,a.o),this.o=VJ(a));else if(g.XJ(this.info)&&2==a.info.type&&!this.index.Mb()){var b=g.aJ(UJ(a),0,1936286840);if(b){a=[];var c=iJ(b);b=c.qx.length;var d=c.ay,e=c.qx,f=c.Yn;c=this.indexRange.end+c.sB+1;for(var k=0,l=0;l<b;l++){var m=f[l]/d,n=e[l];a.push(new FI(l,k,m,NaN,"range/"+c+"-"+(c+n-1)));k+=m;c+=n}this.index.append(a)}}};
g.h.Ug=function(a){return 0==a.gb?!0:this.index.Lb()>a.A&&this.index.qf()<=a.A+1};
g.h.zp=function(){return this.initRange&&this.indexRange?this.initRange.length+this.indexRange.length:0};
g.h.Sq=function(){return!1};g.h=g.yL.prototype;g.h.Aq=function(a){return this.o[a]};
g.h.kd=function(a){return this.A[a]/this.B};
g.h.Ep=ba(0);g.h.jw=function(){return NaN};
g.h.getDuration=function(a){a=this.tu(a);return 0<=a?a/this.B:-1};
g.h.tu=function(a){return a+1<this.Pa||this.C?this.A[a+1]-this.A[a]:-1};
g.h.qf=function(){return 0};
g.h.Lb=function(){return this.Pa-1};
g.h.Vj=function(){return this.C?this.A[this.Pa]/this.B:NaN};
g.h.fc=function(){return 0};
g.h.Xj=function(){return this.Pa};
g.h.yu=function(){return""};
g.h.Rf=function(a){a=g.rb(this.A.subarray(0,this.Pa),a*this.B);return 0<=a?a:Math.max(0,-a-2)};
g.h.Mb=function(){return 0<=this.Lb()};
g.h.GB=function(a,b){if(a>=this.Lb())return 0;for(var c=0,d=this.kd(a)+b,e=a;e<this.Lb()&&d>this.kd(e);e++)c=Math.max(c,(e+1<this.Pa||this.C?this.o[e+1]-this.o[e]:-1)/this.getDuration(e));return c};
g.h.cap=function(a,b){zL(this);this.C=!0;this.A[this.Pa]=b;this.o[this.Pa]=a};g.t(g.AL,fL);g.h=g.AL.prototype;g.h.Wj=function(a){var b=new JJ(1,this,this.initRange,"initInfo"),c=new JJ(2,this,this.indexRange,"indexInfo"),d=[],e=[b];LJ(b,c)?e.push(c):(d.push(new KK([c])),a=0);isNaN(this.A)&&(a=0);b=e[e.length-1];a=Math.min(a,this.A-(b.range.end-e[0].range.start+1));0<a&&(a=HJ(b.range.end+1,a),e.push(new JJ(4,this,a,"tbdRange")));d.push(new KK(e));return d};
g.h.Kp=function(a){if(1==a.info.type){if(this.o)return;this.o=VJ(a)}else if(2==a.info.type){if(this.G||0<=this.index.Lb())return;if(g.XJ(this.info)){var b=this.index,c=UJ(a);a=a.info.range.start;var d=g.aJ(c,0,1936286840);c=iJ(d);b.B=c.ay;var e=c.vK;b.o[0]=c.sB+a+d.size;b.A[0]=e;b.C=!0;a=c.Yn.length;for(d=0;d<a;d++){e=b;var f=c.qx[d],k=c.Yn[d];e.Pa++;zL(e);e.o[e.Pa]=e.o[e.Pa-1]+f;e.A[e.Pa]=e.A[e.Pa-1]+k}}else this.G=UJ(a)}if(2==this.info.containerType&&this.o&&this.G){c=new DataView(this.o.buffer);
b=this.index;d=this.G;a=this.indexRange.end;e=new nJ(c);c=e;e=c.o;f={AG:1E6,BG:1E9,duration:0,PF:0,Cx:0};if(rJ(c,408125543))if(f.PF=sJ(c,!0),f.Cx=c.C+c.o,rJ(c,357149030)){for(k=qJ(c);!oJ(k);){var l=sJ(k,!1);2807729==l?f.AG=wJ(k):2807730==l?f.BG=wJ(k):17545==l?f.duration=yJ(k):xJ(k)}c.o=e;c=f}else c.o=e,c=null;else c.o=e,c=null;if(null!=c){b.B=c.BG/c.AG;e=new nJ(d);d=e;k=c.Cx;e=d.o;f=[];if(rJ(d,475249515)){for(l=qJ(d);rJ(l,187);){var m=qJ(l);if(rJ(m,179)){var n=wJ(m);if(rJ(m,183)){m=qJ(m);for(var p=
k;rJ(m,241);)p=wJ(m)+k;f.push({Yo:p,oK:n})}}}if(0<f.length&&a==f[0].Yo)for(a=0;a<f.length;a++)f[a].Yo+=1;d.o=e;a=f}else d.o=e,a=null;if(null!=a){a=g.r(a);for(d=a.next();!d.done;d=a.next())f=d.value,d=b,e=f.Yo,f=f.oK,zL(d),d.o[d.Pa]=e,d.A[d.Pa]=f,d.Pa++;b.cap(c.PF+c.Cx,c.duration)}}this.G=null}};
g.h.iD=function(a){for(var b=this.sr(a.info),c=[],d=a.A,e=0;e<b.length;e++){var f=HJ(b[e].range.start+b[e].C-a.info.range.start+a.range.start,b[e].gb);c.push(new TJ(b[e],a.buffer,f,a.C,d));d=!1}return c};
g.h.sr=function(a){for(var b=0;b<this.index.Lb()&&a.range.start>=this.index.Aq(b+1);)b++;return BL(this,b,a.range.start,a.range.length).o};
g.h.Ug=function(a){return this.Rc()?!0:isNaN(this.A)?!1:a.range.end+1<this.A};
g.h.Vi=function(a,b){this.Ug(a);if(!this.Rc()){var c=HJ(a.range.end+1,b);c.end+1>this.A&&(c=new g.FJ(c.start,this.A-1));c=[new JJ(4,a.o,c,"getNextRequestInfoByLength")];return new KK(c)}4==a.type&&(c=this.sr(a),a=c[c.length-1]);c=0;var d=a.range.start+a.C+a.gb;3==a.type&&(c=a.A,d==a.range.end+1&&(c+=1));return BL(this,c,d,b)};
g.h.zk=function(){return null};
g.h.Lg=function(a,b){var c=this.index.Rf(a);b&&(c=Math.min(this.index.Lb(),c+1));return BL(this,c,this.index.Aq(c),0)};
g.h.Hv=function(){var a;if(a=this.Rc()&&!isNaN(this.A))a=this.index,a=(a.C?a.o[a.Pa]:-1)!=this.A;return a};
g.h.Lf=function(){return!0};
g.h.Ni=function(){return!1};
g.h.zp=function(){return this.indexRange.length+this.initRange.length};
g.h.Sq=function(){return this.indexRange&&this.initRange&&this.initRange.end+1==this.indexRange.start?!0:!1};CL.prototype.start=function(){return 0};
CL.prototype.end=function(){return Infinity};g.h=DL.prototype;g.h.addEventListener=function(){};
g.h.removeEventListener=function(){};
g.h.dispatchEvent=function(){return!1};
g.h.abort=function(){};
g.h.remove=function(){};
g.h.appendBuffer=function(){};var R1={},lla=(R1["258"]=6,R1["380"]=6,R1["328"]=6,R1["261"]=6,R1["381"]=6,R1["329"]=6,R1);g.t(GL,g.mH);g.h=GL.prototype;g.h.Qg=function(){return Qb(this.o,function(a){return a.info.video?2==a.info.video.projectionType:!1})};
g.h.Rg=function(){return Qb(this.o,function(a){return a.info.video?3==a.info.video.projectionType:!1})};
g.h.Uf=function(){return Qb(this.o,function(a){return a.info.video?4==a.info.video.projectionType:!1})};
g.h.Li=function(){return Qb(this.o,function(a){return a.info.video?1==a.info.video.stereoLayout:!1})};
g.h.TU=function(a){var b=a.getElementsByTagName("Representation");if(0<a.getElementsByTagName("SegmentList").length||0<a.getElementsByTagName("SegmentTemplate").length){this.tk=this.C=!0;this.D||(this.D=new Wka);$ka(this.D,a,this.ga);this.U("refresh");for(a=0;a<b.length;a++){var c=RL(this,b[a]),d=this.isLive&&g.XJ(c)&&this.ea;if(!this.o[c.id]){var e=ML(sL(b[a],"BaseURL").textContent),f=sL(b[a],"Initialization"),k=rL(f,"sourceURL");f=GJ(rL(f,"range"));d&&(k="",f=void 0);this.o[c.id]=new hL(e,c,k,null===
f?void 0:f)}c=this.o[c.id];e=rL(b[a],"id","AdaptationSet");e=""!=e?e:rL(b[a],"mimetype","AdaptationSet");k=this.D;e=k.C[c.info.id]||k.A[e]||k.o||null;k=e.o;if(e.C)for(d=[],k=g.r(k),f=k.next();!f.done;f=k.next()){f=f.value;var l=e.wh(c.info.id,8*c.info.o,f.Ub,f.o);d.push(new FI(f.Ub,f.o,f.durationSecs,f.A,l,null,f.C))}else{e=kb(sL(b[a],"SegmentList").getElementsByTagName("SegmentURL"),e.D);f=[];for(l=0;l<e.length;l++)f.push(pla(e[l],k[l],d));d=f}c.update(d,this.isLive,this.O)}ala(this.D);return!0}this.duration=
tL(rL(a,"mediaPresentationDuration"));a:{for(a=0;a<b.length;a++){k=b[a];c=RL(this,k);e=sL(k,"BaseURL");d=ML(e.textContent);f=sL(k,"SegmentBase");k=GJ(f.attributes.indexRange.value);f=GJ(f.getElementsByTagName("Initialization")[0].attributes.range.value);e=parseInt(e.getAttribute(PL(this,"contentLength")),10);c=new g.AL(d,c,f,k,e,NaN);if(!c){b=!1;break a}IL(this,c)}b=!0}return b};
g.h.Oe=function(a){return this.D?kb(this.D.B,a):this.L.length?kb(this.L,a):[]};
g.h.kL=function(a){if(this.la())return this;this.M=a.status;a=a.responseText;a=(new DOMParser).parseFromString(a,"text/xml").getElementsByTagName("MPD")[0];this.G=1E3*tL(rL(a,"minimumUpdatePeriod"))||Infinity;if(!this.V){var b;a:{if(a.attributes)for(b=0;b<a.attributes.length;b++)if("http://youtube.com/yt/2012/10/10"==a.attributes[b].value){b=a.attributes[b].name.split(":")[1];break a}b=""}this.Y=b}this.isLive=Infinity>this.G&&this.ia;this.O=parseInt(rL(a,PL(this,"earliestMediaSequence")),10)||0;if(b=
Date.parse(uL(rL(a,PL(this,"mpdResponseTime")))))this.H=((0,g.H)()-b)/1E3;this.isLive&&0>=a.getElementsByTagName("SegmentTimeline").length||(0,g.wj)(a.getElementsByTagName("Period"),this.TU,this);this.F=2;this.U("loaded");VL(this);return this};
g.h.nL=function(a){this.M=a.Ui.status;this.F=3;this.U("loaderror");return Gg(a.Ui)};
g.h.pD=function(){if(1!=this.F&&!this.la()){var a=g.rh(this.sourceUrl,{start_seq:qla(this).toString()});g.Mg(SL(this,a),function(){})}};
g.h.resume=function(){VL(this)};
g.h.Oc=function(){var a=this.o,b=NaN,c;for(c in a)if(!dL(a[c].info.mimeType)){var d=a[c].index;d.Mb()&&(isNaN(b)||d.Vj()<b)&&(b=d.Vj())}return b};
g.h.fc=function(){var a=this.o,b;for(b in a){var c=a[b].index;if(c.Mb())return c.fc()}return 0};
var NL=null,OL=!1,JL=!0,QL={commentary:1,alternate:2,dub:3,main:4};var Ila={RED:"red",j4:"white"};var Hla={xX:"adunit",lZ:"detailpage",LZ:"editpage",NZ:"embedded",d0:"leanback",Q1:"previewpage",R1:"profilepage",G3:"unplugged",D1:"playlistoverview"};g.h=fM.prototype;g.h.append=function(a){this.o.webkitSourceAppend(this.A,a)};
g.h.abort=function(){this.o.webkitSourceAbort(this.A)};
g.h.rW=function(){return this.o.webkitSourceState==this.o.SOURCE_CLOSED?new vla:this.o.webkitSourceBuffered(this.A)};
g.h.tW=function(){return this.C};
g.h.xW=function(a){this.C=a;this.o.webkitSourceTimestampOffset(this.A,a)};g.h=gM.prototype;g.h.addEventListener=function(a,b,c){this.o.addEventListener(a,b,c)};
g.h.removeEventListener=function(a,b,c){this.o.removeEventListener(a,b,c)};
g.h.PO=function(){return this.o.webkitMediaSourceURL};
g.h.addSourceBuffer=function(a){var b=(this.C++).toString();this.o.webkitSourceAddId(b,a);a=new fM(this.o,b);this.sourceBuffers.push(a);return a};
g.h.removeSourceBuffer=function(a){for(var b=0;b<this.sourceBuffers.length;b++)if(a===this.sourceBuffers[b]){this.o.webkitSourceRemoveId(a.A);for(a=b+1;a<this.sourceBuffers.length;a++)this.sourceBuffers[a-1]=this.sourceBuffers[a];this.sourceBuffers.pop();break}};
g.h.uW=function(){switch(this.o.webkitSourceState){case this.o.SOURCE_CLOSED:return"closed";case this.o.SOURCE_OPEN:return"open";case this.o.SOURCE_ENDED:return"ended"}return""};
g.h.endOfStream=function(){this.o.webkitSourceEndOfStream(this.o.EOS_NO_ERROR)};
g.h.vW=function(){$a(this.sourceBuffers)};
g.h.sW=function(){return this.A};
g.h.wW=function(a){this.A=a;this.o.webkitSourceSetDuration&&this.o.webkitSourceSetDuration(a)};g.t(qM,g.mH);g.h=qM.prototype;g.h.appendBuffer=function(a,b){this.C=!b;this.supports(0)?this.o.appendBuffer(a):this.o.append(a)};
g.h.abort=function(){this.C=!1;this.o.abort()};
g.h.remove=function(a,b){this.o.remove(a,b)};
g.h.wp=function(){return this.o.appendWindowStart};
g.h.pu=function(){return this.o.appendWindowEnd};
g.h.Ix=function(a,b){a>this.wp()?(this.o.appendWindowEnd=b,this.o.appendWindowStart=a):(this.o.appendWindowStart=a,this.o.appendWindowEnd=b)};
g.h.Er=function(a){this.supports(1)&&(this.o.timestampOffset=a)};
g.h.Qc=function(){return this.supports(1)?this.o.timestampOffset:0};
g.h.sc=function(){try{return this.o.buffered}catch(a){return jM([],[])}};
g.h.Ae=function(){return this.o.updating};
g.h.nj=function(a){this.F=a};
g.h.Jg=function(){return this.F};
g.h.ky=function(a,b){this.D!=a&&(this.supports(4),this.o.changeType(b));this.D=a};
g.h.Jv=function(){return this.C};
g.h.isView=function(){return!1};
g.h.supports=function(a){switch(a){case 1:return void 0!=this.o.timestampOffset;case 0:return!!this.o.appendBuffer;case 2:return!!this.o.remove;case 3:return!!this.o.removeEventListener;case 4:return!!this.o.changeType;default:return!1}};
g.h.Gt=function(){return!this.Ae()};
g.h.isLocked=function(){return!1};
g.h.Ru=function(){return this.B};
g.h.Uv=function(){this.B=!0};
g.h.Eb=function(a){a.to=""+this.o.timestampOffset;a.up=""+ +this.Ae();a.aw=(this.o.appendWindowStart||0).toFixed(3)+"-"+(this.o.appendWindowEnd||Infinity).toFixed(3);try{a.bu=kM(this.o.buffered)}catch(b){}return iM(a)};
g.h.W=function(){this.supports(3)&&(this.o.removeEventListener("updateend",this.A),this.o.removeEventListener("error",this.A));g.mH.prototype.W.call(this)};g.t(rM,g.mH);g.h=rM.prototype;g.h.appendBuffer=function(a,b){sM(this)&&(this.o.supports(1),this.o.Ix(this.D+this.A,this.B+this.A),this.o.Er(this.F+this.A));this.o.appendBuffer(a,b)};
g.h.abort=function(){this.o.abort()};
g.h.remove=function(a,b){this.o.remove(a+this.A,b+this.A)};
g.h.Ix=function(a,b){this.D=a;this.B=b};
g.h.wp=function(){return this.D};
g.h.pu=function(){return this.B};
g.h.Er=function(a){this.F=a};
g.h.Qc=function(){return this.F};
g.h.sc=function(){return pM(this.o.sc(),this.A,this.H)};
g.h.Ae=function(){return this.o.Ae()};
g.h.nj=function(a){this.o.nj(a)};
g.h.Jg=function(){return this.o.Jg()};
g.h.ky=function(a,b){return this.o.ky(a,b)};
g.h.supports=function(a){return this.o.supports(a)};
g.h.Jv=function(){return this.o.Jv()};
g.h.isView=function(){return!0};
g.h.Gt=function(){return this.o.Gt()&&this.C?!(sM(this)&&this.Jv()):!1};
g.h.isLocked=function(){return this.G&&!this.C};
g.h.Ru=function(){return this.o.Ru()};
g.h.Uv=function(){this.o.Uv()};
g.h.Eb=function(a){return this.o.Eb(a)+(";vw."+this.A+"-"+this.H)};
g.h.W=function(){oH(this.o,this.J);g.mH.prototype.W.call(this)};
g.h.isActive=function(){return this.C};
g.h.setActive=function(a){this.C=a;this.G=this.G||this.C};tM.prototype.dispose=function(){if(!this.C){if(this.A)try{URL.revokeObjectURL(this.o)}catch(a){}this.C=!0}};
tM.prototype.la=function(){return this.C};g.t(uM,g.K);g.h=uM.prototype;g.h.getDuration=function(){return this.C.duration};
g.h.isView=function(){return this.F};
g.h.Ae=function(){return!!(this.o&&this.o.Ae()||this.A&&this.A.Ae())};
g.h.ZT=function(){!this.la()&&vM(this)&&this.B&&(this.B(this),this.B=null)};
g.h.XT=function(){this.dispose()};var Iza={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},S1;a:{var T1=g.Kb;T1=T1.toLowerCase();if(-1!=T1.indexOf("android")){var Jza=T1.match(/android\s*(\d+(\.\d+)?)[^;|)]*[;)]/);if(Jza){var Kza=parseFloat(Jza[1]);if(100>Kza){S1=Kza;break a}}var Lza=T1.match("("+g.Vb(Iza).join("|")+")");S1=Lza?Iza[Lza[0]]:0}else S1=void 0}var RN=S1,QN=0<=RN;BM.prototype.canPlayType=function(a,b){var c=a.canPlayType?a.canPlayType(b):!1;kG?c=c||Mza[b]:2.2==RN?c=c||Nza[b]:bG()&&(c=c||Oza[b]);return!!c};
var Nza={'video/mp4; codecs="avc1.42001E, mp4a.40.2"':"maybe"},Oza={"application/x-mpegURL":"maybe"},Mza={"application/x-mpegURL":"maybe"};g.h=RM.prototype;g.h.Pf=function(){return this.Hg};
g.h.Ck=function(){return null};
g.h.BB=function(){var a=this.Ck();return a?+g.DF(a.o).expire:NaN};
g.h.Dx=function(){};
g.h.getHeight=function(){return this.Hg.za().height};TM.prototype.isLocked=function(){return this.C&&!!this.A&&this.A==this.o};
TM.prototype.B=function(a){return a.video?aN(this,a.video.quality):!1};
var Pza=VM("auto","hd1080",!1,"l"),nra=VM("auto","large",!1,"l"),XM=VM("auto","auto",!1,"p");VM("small","auto",!1,"p");var WN={o0:1,p0:2,q0:3};g.t(bN,g.mH);bN.prototype.add=function(a,b){!this.Qa[a]&&(b.Lt||b.oi||b.rl)&&(this.Qa[a]=mc(b),this.U("vast_info_card_add",a))};
bN.prototype.remove=function(a){var b=this.get(a);delete this.Qa[a];return b};
bN.prototype.get=function(a){return this.Qa[a]||null};
bN.prototype.isEmpty=function(){return g.dc(this.Qa)};mN.prototype.A=function(a,b){var c=Math.pow(this.D,a);this.C=b*(1-c)+c*this.C;this.B+=a};
mN.prototype.o=function(){return this.C/(1-Math.pow(this.D,this.B))};oN.prototype.A=function(a,b){var c=Math.min(this.C,Math.max(1,Math.round(a*this.L)));c+this.B>=this.C&&(this.F=!0);for(;c--;)this.D[this.B]=b,this.B=(this.B+1)%this.C;this.H=!0};
oN.prototype.o=function(){return this.J?(pN(this,this.G-this.J)+pN(this,this.G)+pN(this,this.G+this.J))/3:pN(this,this.G)};var Ela=/^([0-9\.]+):([0-9\.]+)$/;var EN=g.y("ytglobal.prefsUserPrefsPrefs_")||{};g.Da("ytglobal.prefsUserPrefsPrefs_",EN,void 0);g.h=FN.prototype;g.h.get=function(a,b){HN(a);GN(a);var c=void 0!==EN[a]?EN[a].toString():null;return null!=c?c:b?b:""};
g.h.set=function(a,b){HN(a);GN(a);if(null==b)throw Error("ExpectedNotNull");EN[a]=b.toString()};
g.h.remove=function(a){HN(a);GN(a);delete EN[a]};
g.h.save=function(){g.ZH(this.o,this.dump(),63072E3)};
g.h.clear=function(){g.ec(EN)};
g.h.dump=function(){var a=[],b;for(b in EN)a.push(b+"="+encodeURIComponent(String(EN[b])));return a.join("&")};
g.Ea(FN);var IN="blogger books docs google-live play chat hangouts-meet photos-edu picasaweb gmail jamboard".split(" ");g.t(cO,g.K);cO.prototype.na=function(a){return this.experiments.o(a)};
cO.prototype.eh=function(a){this.sa=BN(this.sa,a.video_id);this.Oa=BN(this.Oa,a.eventid);for(var b in Qza){var c=Qza[b],d=a[c];void 0!=d&&(this.deviceParams[c]=d)}this.userAge=AN(this.userAge,a.user_age);this.V=BN(this.V,a.user_display_image);g.mK(this.V)||(this.V="");this.td=BN(this.td,a.user_display_name);this.Aj=BN(this.Aj,a.user_gender);this.kf=BN(this.kf,a.csi_page_type);this.Sa=BN(this.Sa,a.csi_service_name);this.ed=yN(this.ed,a.enablecsi);if(a=a.enabled_engage_types)this.yg=new Set(a.split(","))};
cO.prototype.getVideoUrl=function(a,b,c,d,e){b={list:b};c&&(e?b.time_continue=c:b.t=c);c=fO(this);d&&"www.youtube.com"==c?d="https://youtu.be/"+a:g.aO(this)?(d="https://"+c+"/fire",b.v=a):(d=this.protocol+"://"+c+"/watch",b.v=a,kG&&(a=xF())&&(b.ebc=a));return g.rh(d,b)};
cO.prototype.getVideoEmbedCode=function(a,b,c){var d="https://"+fO(this)+"/embed/"+a;c&&(d=g.rh(d,{list:c}));a=!this.na("enable_responsive_embed_snippet");this.na("embed_snippet_includes_version")&&(d=g.rh(d,{ecver:a?"1":"2"}));c=b.width;b=b.height;a?(a=g.tc(d),b='<iframe width="'+c+'" height="'+b+'" src="'+a+'" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>'):(a=Math.round(360*c/b),b='<div style="position:relative;height:0;padding-bottom:'+
Math.round(1E4*b/c)/100+'%"><iframe src="'+g.tc(d)+'" style="position:absolute;width:100%;height:100%;left:0" width="'+a+'" height="360" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe></div>');return b};
var Qza={rY:"cbrand",sY:"cbr",tY:"cbrver",S_:"c",V_:"cver",U_:"ctheme",T_:"cplayer",B0:"cmodel",k1:"cnetwork",t1:"cos",u1:"cosver",A1:"cplatform"},Lla=["www.youtube-nocookie.com","youtube.googleapis.com"];rO.prototype.Eb=function(){return{flavor:this.flavor,keySystem:this.o}};
var U1={},KO=(U1.playready=["com.youtube.playready","com.microsoft.playready"],U1.widevine=["com.widevine.alpha"],U1);g.h=g.yO.prototype;g.h.getId=function(){return this.Ja};
g.h.Xa=function(){return this.J};
g.h.toString=function(){return this.A+": "+g.zO(this)+" - "+this.F};
g.h.gw=ba(2);g.h.isValid=function(){return!(!this.A||this.o&&!this.o.languageCode)};AO.prototype.A=function(){return this.Ob};
AO.prototype.toString=function(){return this.Ob.name};
AO.prototype.getLanguageInfo=AO.prototype.A;BO.prototype.getAvailableAudioTracks=function(){return this.audioTracks};g.t(JO,g.K);JO.prototype.H=function(){(this.G=!this.G&&"widevine"==this.A[this.o[0]].flavor)||this.o.shift();LO(this)};
JO.prototype.J=function(a,b){this.la()||(a.A=b,Ula(this,a),this.C.push(a),this.D.o("html5_drm_fallback_to_playready_on_retry")?(this.o.shift(),LO(this)):this.F(this.C))};g.t(RO,RM);RO.prototype.BB=function(){return this.C};
RO.prototype.Ck=function(){if(!this.o||this.o.la()){var a=this.A;Zla(a);var b=["#EXTM3U","#EXT-X-INDEPENDENT-SEGMENTS"],c={};a:if(a.C)var d=a.C;else{d=g.r(a.B);for(var e=d.next();!e.done;e=d.next())if(e=e.value,e.Ob&&e.Ob.isDefault){d=e.Ob.getId();break a}d=""}e=0;for(var f=a.B.length;e<f;++e){var k=a.B[e];k.Ob&&k.Ob.getId()!=d||(c[k.itag]=k,2!=a.A&&b.push(QO(a,k,null)))}if(2==a.A)for(d=0,e=a.o.length;d<e;++d)f=a.o[d],b.push(QO(a,c[f.audioItag],f));d=0;for(e=a.o.length;d<e;++d)if(f=a.o[d],1==a.A)for(var l in c)PO(a,
b,f,c[l]);else PO(a,b,f,c[f.audioItag]);a="data:application/x-mpegurl;charset=utf-8,"+encodeURIComponent(b.join("\n"));this.o=new tM(a)}return this.o};var TO=null;g.t(WO,RM);WO.prototype.Ck=function(){return new tM(this.o.Xa())};
WO.prototype.Dx=function(){this.o=zK(this.o)};g.t(XO,RM);XO.prototype.Ck=function(){return new tM(this.o)};var mma=new Set("BASE_URL BASE_YT_URL abd adformat allow_embed authuser autoplay captions_load_policy cc_load_policy cc3_module dash dashmpd disable_native_context_menu docid el enable_cardio enablecastapi enablepostapi end errorcode fmt_list fmt_stream_map forcenewui hl hlsdvr hlsrange hlsvp html5 invite iurl iurlhq iurlmq length_seconds live_playback nohtml5 origin override_hl partnerid pipable playsinline plid postid ps public reason rel reload_count reload_reason reportabuseurl resume start status streaminglib_load_policy streaminglib_preroll t timestamp title token ttsurl use_native_controls url_encoded_fmt_stream_map video_id videoid videoId wmode".split(" "));var Rza={UNKNOWN:"UNKNOWN",NORMAL:"NORMAL",v0:"LOW",D3:"ULTRALOW"};g.h=g.ZO.prototype;g.h.ab=function(){return this.F};
g.h.getHeight=function(){return this.D};
g.h.EB=ba(3);g.h.vu=function(){return this.C};
g.h.isDefault=function(){return-1!=this.B.indexOf("default")};
g.h.Mb=function(a){return this.lc.has(a)};
g.h.Xa=function(a){var b=this.K;b=b.replace("$N",this.B);b=b.replace("$L",this.J.toString());b=b.replace("$M",a.toString());this.G&&(b=g.rh(b,{sigh:this.G}));return qK(b)};
g.h.Gq=function(a){var b=this.vu()-1;return g.Jd(0==this.o?Math.round(a*this.C/this.L):Math.round(1E3*a/this.o),0,b)};
g.h.zn=function(){return this.C-1};
g.h.tw=function(){return this.C?0:-1};
g.h.gG=function(){};g.t(aP,g.mH);aP.prototype.J=function(a,b){this.A=this.A.onload=null;var c=this.o[a];c.lc.add(b);oma(this);var d=c.columns*c.rows;var e=b*d;c=Math.min(e+d-1,c.vu()-1);e=[e,c];this.U("l",e[0],e[1])};
aP.prototype.W=function(){this.A&&(this.A=this.A.onload=null);g.mH.prototype.W.call(this)};g.t(cP,aP);cP.prototype.C=function(a,b){for(var c=[],d=a.split("|"),e=d[0],f=1;f<d.length;f++){var k=this.F(f-1,e,d[f],b);180>k.getHeight()&&c.push(k)}return c};
cP.prototype.F=function(a,b,c,d){return new g.ZO(a,b,c,d)};g.t(dP,g.ZO);g.h=dP.prototype;g.h.vu=function(){return this.A.Xj()};
g.h.Gq=function(a){var b=this.rows*this.columns*this.H,c=this.A,d=c.Lb();a=c.Rf(a);return a>d-b?-1:a};
g.h.zn=function(){return this.A.Lb()};
g.h.tw=function(){return this.A.qf()};
g.h.gG=function(a){this.A=a};g.t(eP,cP);eP.prototype.C=function(a,b){return cP.prototype.C.call(this,"$N|"+a,b)};
eP.prototype.F=function(a,b,c){return new dP(a,b,c,this.isLive)};var rma={iurl:"default.jpg",iurlmq:"mqdefault.jpg",iurlhq:"hqdefault.jpg",iurlsd:"sddefault.jpg",iurlpop1:"pop1.jpg",iurlpop2:"pop2.jpg",iurlhq720:"hq720.jpg",iurlmaxres:"maxresdefault.jpg"};gP.prototype.toString=function(){return this.topic};var Sza=g.y("ytPubsub2Pubsub2Instance")||new g.lE;g.lE.prototype.subscribe=g.lE.prototype.subscribe;g.lE.prototype.unsubscribeByKey=g.lE.prototype.Hi;g.lE.prototype.publish=g.lE.prototype.U;g.lE.prototype.clear=g.lE.prototype.clear;g.Da("ytPubsub2Pubsub2Instance",Sza,void 0);var iP=g.y("ytPubsub2Pubsub2SubscribedKeys")||{};g.Da("ytPubsub2Pubsub2SubscribedKeys",iP,void 0);var jP=g.y("ytPubsub2Pubsub2TopicToKeys")||{};g.Da("ytPubsub2Pubsub2TopicToKeys",jP,void 0);
var vma=g.y("ytPubsub2Pubsub2IsAsync")||{};g.Da("ytPubsub2Pubsub2IsAsync",vma,void 0);g.Da("ytPubsub2Pubsub2SkipSubKey",null,void 0);var sP=window.performance||window.mozPerformance||window.msPerformance||window.webkitPerformance||{};g.t(mP,fP);g.t(nP,fP);var Rma=new gP("aft-recorded",mP),uma=new gP("timing-sent",nP);var Uma,V1,Kma,Nma,Gma,Lma,W1,Mma,Qma,Bma,bya;Uma={vc:!0};V1={};
Kma=(V1.ad_allowed="adTypesAllowed",V1.yt_abt="adBreakType",V1.ad_cpn="adClientPlaybackNonce",V1.ad_docid="adVideoId",V1.yt_ad_an="adNetworks",V1.ad_at="adType",V1.browse_id="browseId",V1.p="httpProtocol",V1.t="transportProtocol",V1.cpn="clientPlaybackNonce",V1.csn="clientScreenNonce",V1.docid="videoId",V1.is_continuation="isContinuation",V1.is_nav="isNavigation",V1.b_p="kabukiInfo.browseParams",V1.is_prefetch="kabukiInfo.isPrefetch",V1.is_secondary_nav="kabukiInfo.isSecondaryNav",V1.prev_browse_id=
"kabukiInfo.prevBrowseId",V1.query_source="kabukiInfo.querySource",V1.voz_type="kabukiInfo.vozType",V1.yt_lt="loadType",V1.yt_ad="isMonetized",V1.nr="webInfo.navigationReason",V1.ncnp="webInfo.nonPreloadedNodeCount",V1.paused="playerInfo.isPausedOnLoad",V1.yt_pt="playerType",V1.fmt="playerInfo.itag",V1.yt_pl="watchInfo.isPlaylist",V1.yt_pre="playerInfo.preloadType",V1.yt_ad_pr="prerollAllowed",V1.pa="previousAction",V1.yt_red="isRedSubscriber",V1.st="serverTimeMs",V1.aq="tvInfo.appQuality",V1.br_trs=
"tvInfo.bedrockTriggerState",V1.label="tvInfo.label",V1.is_mdx="tvInfo.isMdx",V1.preloaded="tvInfo.isPreloaded",V1.query="unpluggedInfo.query",V1.upg_chip_ids_string="unpluggedInfo.upgChipIdsString",V1.yt_vst="videoStreamType",V1.vph="viewportHeight",V1.vpw="viewportWidth",V1.yt_vis="isVisible",V1);Nma="ap c cver cbrand cmodel ei srt yt_fss yt_li plid vpil vpni vpst yt_eil vpni2 vpil2 icrc icrt pa GetBrowse_rid GetPlayer_rid GetSearch_rid GetWatchNext_rid cmt d_vpct d_vpnfi d_vpni pc pfa pfeh pftr prerender psc rc start tcrt tcrc ssr vpr vps yt_abt yt_fn yt_fs yt_pft yt_pre yt_pt yt_pvis yt_ref yt_sts".split(" ");
Gma={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"};Lma="isContinuation isNavigation kabukiInfo.isPrefetch kabukiInfo.isSecondaryNav isMonetized playerInfo.isPausedOnLoad prerollAllowed isRedSubscriber tvInfo.isMdx tvInfo.isPreloaded isVisible watchInfo.isPlaylist".split(" ");W1={};Mma=(W1.pa="LATENCY_ACTION_",W1.yt_pt="LATENCY_PLAYER_",W1.yt_vst="VIDEO_STREAM_TYPE_",W1);Qma=!1;
Bma=(0,g.A)(sP.clearResourceTimings||sP.webkitClearResourceTimings||sP.mozClearResourceTimings||sP.msClearResourceTimings||sP.oClearResourceTimings||g.z,sP);g.kR=vP;bya=Ema;g.LP=uP;var X1;var Tza=g.Kb,Uza=Tza.match(/\((iPad|iPhone|iPod)( Simulator)?;/);if(!Uza||2>Uza.length)X1=void 0;else{var Y1=Tza.match(/\((iPad|iPhone|iPod)( Simulator)?; (U; )?CPU (iPhone )?OS (\d+_\d)[_ ]/);X1=Y1&&6==Y1.length?Number(Y1[5].replace("_",".")):0}var TP=X1,QX=0<=TP;QX&&0<=g.Kb.search("Safari")&&g.Kb.search("Version");var Z1={},ona=(Z1.ALWAYS=1,Z1.BY_REQUEST=3,Z1);g.t(g.AP,g.mH);g.h=g.AP.prototype;g.h.eh=function(a,b){b?(this.fl(a),QP(this)&&KP(this)):($ma(this,a),this.U("dataupdated"))};
g.h.fl=function(a){a=a||{};this.clientPlaybackNonce||(this.clientPlaybackNonce=a.cpn||pI());var b=a.raw_embedded_player_response;if(!b){var c=a.embedded_player_response;c&&(b=JSON.parse(c))}b&&(this.hm=b);this.hm&&(b=this.hm.embedPreview)&&Ena(this,b);b=a.raw_player_response;b||(c=a.player_response)&&(b=JSON.parse(c));b&&(this.yb=b);if(this.yb){(b=this.yb.annotations)&&pna(this,b);(b=this.yb.attestation)&&qna(this,b);(b=this.yb.heartbeatParams)&&sna(this,b);(b=this.yb.multicamera)&&tna(this,b);(b=
this.yb.overlay)&&una(this,b);if(b=this.yb.playabilityStatus)vna(this,b),(b=b.errorScreen)&&Bna(this,b);(b=this.yb.playbackTracking)&&wna(this,b,a);(b=this.yb.playerConfig)&&xna(this,b);(c=this.yb.streamingData)&&zna(this,c,b||null);if(c=this.yb.videoDetails)Ana(this,c),Dna(this,c,b||null,a);if(b=this.yb.interstitialPods)for(b=g.r(b),c=b.next();!c.done;c=b.next()){var d=c.value;c=d.interstitials.map(function(e){return(e=e.playerVars)&&Object.assign({is_yto_interstitial:!0},g.BF(e))})[0];
switch(d.podConfig.playbackPlacement){case "INTERSTITIAL_PLAYBACK_PLACEMENT_PRE":this.interstitials=this.interstitials.concat({time:0,playerVars:c,ls:5});break;case "INTERSTITIAL_PLAYBACK_PLACEMENT_POST":this.interstitials=this.interstitials.concat({time:0x7ffffffffffff,playerVars:c,ls: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,ls:0==d?5:7})}}this.re&&this.eventId&&
(this.re=g.GF(this.re,{ei:this.eventId}));(b=this.yb.captions)&&b.playerCaptionsTracklistRenderer&&rna(this,b.playerCaptionsTracklistRenderer);this.yb.chapterMarkers&&(this.chapterMarkers=this.yb.chapterMarkers)}this.allowLiveDvr="1"!=a.hlsdvr?!1:OM()?!0:KN&&5>TP?!1:!0;this.adQueryId=a.ad_query_id||null;this.adSafetyReason=a.encoded_ad_safety_reason||null;this.Fj=a.agcid||null;this.Ej=a.ad_id||null;this.Gj=a.ad_sys||null;this.eB=a.encoded_ad_playback_context||null;this.li=yN(this.li,a.infringe||a.muted);
this.authKey=a.authkey;this.Tc=a.authuser;this.im=yN(this.im,a.enable_cardio);this.hp=yN(this.hp,a.enable_cardio_before_playback);this.endSeconds=AN(this.endSeconds,this.Yw||a.end||a.endSeconds);this.nk=BN(this.nk,a.itct);this.Fv=yN(this.Fv,a.noiba);this.Zm="1"==a.livemonitor;this.Ym=yN(this.Ym,a.is_live_destination);this.Da=yN(this.Da,a.live_playback);!this.Rq&&(this.rk="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=zN("UNKNOWN",b,Rza));this.Kn||(this.isVisualizerEligible="1"==a.is_visualizer_eligible)&&this.Mc.push("visualizer");this.isMdxPlayback=yN(this.isMdxPlayback,a.mdx);if(b=a.mdx_control_mode)this.mdxControlMode=g.Ca(b)?b:g.Bc(b);this.Ev=yN(this.Ev,a.is_inline_playback_no_ad);this.qg=AN(this.qg,a.reload_count);this.reloadReason=BN(this.reloadReason,a.reload_reason);this.Lv=yN(this.Lv,a.utpsa);this.ql=yN(this.ql,a.third_party_remapped_ad);this.cycToken=a.cyc||null;
this.DG=a.tkn||null;this.bi=sma(a);this.jf=BN(this.jf,a.vvt);this.zx=a.revocable_unlisted_token;this.mdxEnvironment=BN(this.mdxEnvironment,a.mdx_environment);this.ZP=a.osig;this.eventId||(this.eventId=a.eventid);this.osid||(this.osid=a.osid);this.playlistId=BN(this.playlistId,a.list);this.yF=a.pyv_view_beacon_url;this.AF=a.pyv_quartile25_beacon_url;this.BF=a.pyv_quartile50_beacon_url;this.CF=a.pyv_quartile75_beacon_url;this.zF=a.pyv_quartile100_beacon_url;if(b=a.remarketing_url)this.remarketingUrl=
b;if(b=a.ppv_remarketing_url)this.ppvRemarketingUrl=b;b=a.session_data;!this.rx&&b&&(this.rx=g.zF(b).feature);this.BC=1==AN(this.BC?1:0,a.is_fling);this.vnd=AN(this.vnd,a.vnd);this.mu=BN(this.mu,a.force_ads_url);this.Af=BN(this.Af,a.ctrl);this.Bf=BN(this.Bf,a.ytr);this.Zo=a.ytrcc;this.EF=a.ytrexp;this.mx=BN(this.mx,a.adformat);this.By=BN(this.By,a.attrib);this.slotPosition=AN(this.slotPosition,a.slot_pos);this.breakType=a.break_type;this.Vn=yN(this.Vn,a.ssrt);this.videoId=DN(a)||this.videoId;this.co=
BN(this.co,a.vss_credentials_token);this.ms=BN(this.ms,a.vss_credentials_token_type);this.mF||(this.lj=AN(this.lj,a.relative_loudness));this.Ey=yN(this.Ey,a.audio_only);this.Dy=yN(this.Dy,a.aac_high);this.Nk=yN(this.Nk,a.prefer_low_quality_audio);this.ax||(this.Ic=yN(!1,a.is_dni),this.Gg=BN(this.Gg,a.dni_color));this.Nn=BN(this.Nn,a.qoe_cat);this.hu=yN(this.hu,a.download_media);if(a.ad3_module||a.ad_module)this.adModule=!0,"1"==a.ad_preroll&&this.Mc.push("ad");if(b=a.adaptive_fmts)this.adaptiveFormats=
b;!this.oF&&(b=a.license_info)&&(this.Wc=nna(b),this.drmParams=BN(this.drmParams,a.drm_params));if(b=a.allow_embed)this.allowEmbed="1"==b;if(b=a.backgroundable)this.backgroundable="1"==b;if(b=a.autonav)this.pk="1"==b;if(b=a.autoplay)this.hj="1"==b;if(b=a.iv_load_policy)this.ih=zN(this.ih,b,WN);if(b=a.cc_lang_pref)this.kh=BN(b,this.kh);if(b=a.cc_load_policy)this.lh=zN(this.lh,b,WN);"0"==a.dash&&(this.XA=!0);if(b=a.dashmpd)this.te=g.rh(b,{cpn:this.clientPlaybackNonce});if(b=a.delay)this.nf=g.Bc(b);
b=this.Yw||a.end;void 0!=b&&(this.clipEnd=AN(this.clipEnd,b));this.nF||(a.fair_play_cert&&window.atob&&(this.qh=atob(a.fair_play_cert)),a.fair_play_key_rotation_period&&(this.qm=g.Bc(a.fair_play_key_rotation_period)),a.fair_play_key_prefetch_margin&&(this.pm=g.Bc(a.fair_play_key_prefetch_margin)));if(b=a.fmt_list)this.DK=b;a.fresca_preroll&&this.Mc.push("fresca");a.heartbeat_preroll&&this.Mc.push("heartbeat");if(b=a.idpj)this.mk=g.Bc(b);!this.Kn&&(b=a.ismb)&&(this.Zf=g.Bc(b));if(b=a.is_listed)this.ze=
yN(this.ze,b);if(b=a.pipable)this.pipable=yN(this.pipable,b);b=dM()||cM();this.Px=this.na("web_player_pip")&&b&&this.pipable;this.Qx=!this.Px&&b&&this.pipable&&!this.ib.Ll;if(b=a.paid_content_overlay_duration_ms)this.lF=g.Bc(b);if(b=a.paid_content_overlay_text)this.RU=b;if(b=a.url_encoded_fmt_stream_map)this.xl=b;if(b=a.hls_formats)this.hlsFormats=b;if(b=a.hlsvp)this.hlsvp=b;if(b=a.length_seconds)this.lengthSeconds=g.v(b)?g.Bc(b):b;!this.Rq&&(b=a.live_chunk_readahead)&&(this.liveChunkReadahead=AN(this.liveChunkReadahead,
b));if(b=a.live_start_walltime)this.Pv=g.Ca(b)?b:g.Bc(b);if(b=a.live_manifest_duration)this.en=g.Ca(b)?b:g.Bc(b);if(b=a.ldpj)this.fn=g.Bc(b);if(b=a.player_params)this.playerParams=b;if(b=a.partnerid)this.cf=AN(this.cf,b);if(b=a.probe_url)this.probeUrl=qK(g.rh(b,{cpn:this.clientPlaybackNonce}));if(b=a.profile_picture)this.Qk=BN(b,this.Qk);(b=a.pyv_billable_url)&&g.nK(b)&&(this.Zq=b);(b=a.pyv_conv_url)&&g.nK(b)&&(this.ar=b);if(b=a.video_masthead_ad_quartile_urls)this.Wv=b.quartile_0_url,this.XC=b.quartile_25_url,
this.YC=b.quartile_50_url,this.ZC=b.quartile_75_url,this.WC=b.quartile_100_url;"1"==a.spacecast_playback&&(this.Mc.push("spacecast"),this.nl=!0,this.rj.playback=!0);if(c=a.spacecast_addrs)this.nl=!0,b={},b.addresses=c.split(","),b.probe=!0,(c=a.spacecast_query_params)&&(b.applianceQueryParams=c),this.rj.init=b;0<this.startSeconds||(this.Dh=this.startSeconds=AN(this.startSeconds,this.sF||this.Cv||a.start||a.startSeconds));b=a.live_utc_start;null!=b&&(this.liveUtcStartSeconds=parseInt(b,10));if(b=a.utc_start_millis)this.liveUtcStartSeconds=
.001*parseInt(b,10);if(b=a.stream_time_start_millis)this.Lr=.001*parseInt(b,10);b=this.Cv||a.start;void 0==b||"1"==a.resume||this.Da||(this.clipStart=AN(this.clipStart,b));if(b=a.url_encoded_third_party_media)this.pl=CF(b);if(b=a.ypc_offer_button_formatted_text)c=JSON.parse(b),this.My=null!=c?c:null,this.dH=b;if(b=a.ypc_offer_button_text)this.Cs=b;if(b=a.ypc_offer_description)this.Ds=b;if(b=a.ypc_offer_headline)this.Es=b;if(b=a.ypc_full_video_message)this.jo=b;if(b=a.ypc_offer_id)this.Fs=b;if(b=a.ypc_buy_url)this.ys=
b;if(b=a.ypc_item_thumbnail)this.zs=b;if(b=a.ypc_item_title)this.As=b;if(b=a.ypc_item_url)this.Bs=b;if(b=a.ypc_vid)this.Gs=b;a.ypc_overlay_timeout&&(this.lo=parseInt(a.ypc_overlay_timeout,10));if(b=a.ypc_trailer_player_vars)this.mo=g.BF(b);this.vl=BN(this.vl,a.ucid);(0,g.C)("baseUrl uid oeid ieid ppe engaged subscribed".split(" "),function(e){a[e]&&(this.xd[e]=a[e])},this);
this.xd.focEnabled=yN(this.xd.focEnabled,a.focEnabled);this.xd.rmktEnabled=yN(this.xd.rmktEnabled,a.rmktEnabled);this.Kr=a.storyboard_spec||null;this.iq=a.live_storyboard_spec||null;this.GC=a.iv_endscreen_url||null;this.Yp=yN(this.Yp,a.iv3_module);this.yd=yN(this.yd,a.fresca_module);this.ko=yN(this.ko,a.ypc_license_checker_module);this.pd=yN(this.pd,a.ypc_module);this.Dl=yN(this.Dl,a.ypc_clickwrap_module);this.pd&&this.Mc.push("ypc");this.Dl&&this.Mc.push("ypc_clickwrap");this.Sk=a;$ma(this,a);JP(this)?
DP(this)&&(this.Da&&this.te?this.ji=!0:this.qh&&(this.vk=!0)):this.na("mweb_hoffline")&&this.adaptiveFormats&&gma(this.videoId)?this.ji=!0:!GP(this,this.adaptiveFormats)&&this.te&&(this.ji=!0);if(b=a.adpings)this.Yz=b?g.BF(b):null;if(b=a.feature)this.Tk=b;if(b=a.referrer)this.referrer=b;this.clientScreenNonce=BN(this.clientScreenNonce,a.csn);this.ur=AN(this.ur,a.root_ve_type);this.eq=AN(this.eq,a.kids_age_up_mode);this.Xr=yN(this.Xr,a.upg_content_filter_mode);if(b=a.unplugged_location_info)this.Ld=
b;if(b=a.unplugged_partner_opt_out)this.sl=BN("",b);!this.Kn&&(b=a.partial_spherical)&&(this.Fh="1"==b);void 0!=a.home_group_info&&(this.homeGroupInfo=a.home_group_info);this.Wm=BN(this.Wm,a.internal_ip_override);this.Rq||(this.hasSubfragmentedFmp4=yN(this.hasSubfragmentedFmp4,a.sfmp4),this.defraggedFromSubfragments=yN(this.defraggedFromSubfragments,a.dfs),this.liveExperimentalContentId=AN(this.liveExperimentalContentId,a.live_experimental_content_id));this.Gv=!!a.is_yto_interstitial;(this.interstitials.length||
this.Gv)&&this.Mc.push("yto")};
g.h.na=function(a){return this.ib.experiments.o(a)};
g.h.Jc=function(){return!this.Da||this.allowLiveDvr};
g.h.YM=function(a){for(var b=g.r(a),c=b.next();!c.done;c=b.next())switch(c=c.value,c.flavor){case "fairplay":c.qh=this.qh;c.qm=this.qm;c.pm=this.pm;break;case "widevine":c.eo=this.eo}this.Mn=a;0<this.Mn.length&&(this.Ze=this.Mn[0]);KP(this)};
g.h.gR=function(a){if(!this.la()){if(this.Hr){var b=TL(a,this.Hr);b&&(a=b)}FP(this,a);a.C&&a.subscribe("refresh",this.BE,this);(0,g.LP)("mrc");HL(a)&&(this.vk=!0);KP(this)}};
g.h.fR=function(a){this.la()||(this.af=!1,this.U("dataloaderror",new hM("manifest.net.retryexhausted",!0,{backend:"manifest",rc:a.status})))};
g.h.BE=function(){this.la()||(this.ua.C||this.ua.unsubscribe("refresh",this.BE,this),this.AA())};
g.h.AA=function(){var a=this.ua.Oe(this.Mv);0<a.length&&(this.U("cuepointupdated",a),this.Mv+=a.length)};
g.h.oN=function(){if(this.Tx){var a=EP(this,this.Tx);return kma(this.ib,this.isAd(),a,jna(this)).then(this.Br,void 0,this).then(this.qB,void 0,this)}return xG()};
g.h.lN=function(a){a=a||JP(this);if(this.ua&&!a){if(BP(this)&&(a=this.ua,!a.o["0"])){var b=new ZK("0","fakesb",void 0,new UK(0,0,0,void 0,void 0,"auto"),null,null,1);a.o["0"]=this.Da?new hL(new g.tK("http://www.youtube.com/videoplayback"),b,"fake"):new g.AL(new g.tK("http://www.youtube.com/videoplayback"),b,new g.FJ(0,0),new g.FJ(0,0),0,NaN)}return IO(CP(this),this.ib.G,this.ua,this.Ze).then(this.Cr,void 0,this)}return xG()};
g.h.mN=function(a){if(!this.na("html5_hlsvp_airplay_killswitch")&&a&&this.hlsvp)return xG();if(this.hlsFormats){a=EP(this,this.hlsFormats);if(kG||hG()||dG()){var b=MO(a);if(b){var c=[],d={};for(l in b)for(var e=g.r(b[l]),f=e.next();!f.done;f=e.next()){var k=f.value;k.Ob&&(f=k.Ob.getId(),d[f]||(k=new AO(f,k.Ob),d[f]=k,c.push(k)))}var l=0<c.length?c:null}else l=null}else l=null;this.Mp=l;l=this.na("html5_hls_cpn_killswitch")?"":this.clientPlaybackNonce;return ama(this.ib,this.isAd(),a,this.Zf,l).then(this.Br,
void 0,this)}return xG()};
g.h.pN=function(){if(this.pl&&this.FC){var a=this.ib;var b=this.isAd(),c=lma(this.pl);a=SM(a.G,c,dO(a,b)).then(this.Br,void 0,this)}else a=xG();return a};
g.h.nN=function(){var a=EP(this,this.xl,this.DK);if(this.hlsvp){var b=this.hlsvp;var c=this.Zf,d={cpn:this.clientPlaybackNonce};-1==b.indexOf("/ibw/")&&(d.ibw=c?String(c):"1369843");b={url:g.rh(b,d),type:"application/x-mpegURL",quality:"auto",itag:"93"};a.push(b)}return kma(this.ib,this.isAd(),a,jna(this)).then(this.Br,void 0,this)};
g.h.Cr=function(a){this.Ha=a;a=this.getAvailableAudioTracks();a=a.concat(this.dm);for(var b=0;b<this.Ht.length;b++)for(var c=this.Ht[b],d=0;d<a.length;d++){var e=a[d],f=e.Ob.id==c.audioTrackId;if(e.Ob.isDefault&&b==this.qA||f){if(c.captionTrackIndices)for(f=0;f<c.captionTrackIndices.length;f++)e.captionTracks[f]=this.captionTracks[c.captionTrackIndices[f]];g.Aa(c.defaultCaptionTrackIndex)&&(e.eu=this.captionTracks[c.defaultCaptionTrackIndex]);g.Aa(c.forcedCaptionTrackIndex)&&(e.qp=this.captionTracks[c.forcedCaptionTrackIndex]);
e.Kt=c.visibility||"UNKNOWN"}}};
g.h.Br=function(a){this.zf=a;this.Cr(new BO((0,g.I)(this.zf,function(b){return b.Pf()})))};
g.h.qB=function(){var a=(0,g.xj)(this.Ha.videoInfos,function(b,c){return c.za().isAccelerated&&(!b||b.height<c.za().height)?c.video:b},null);
a&&(this.Et=VM(a.quality,a.quality,!0,"c"))};
g.h.Sd=function(){var a={};this.Ca&&(a.fmt=PJ(this.Ca),this.Ec&&PJ(this.Ec)!=PJ(this.Ca)&&(a.afmt=PJ(this.Ec)));a.ei=this.eventId;a.list=this.playlistId;a.cpn=this.clientPlaybackNonce;this.videoId&&(a.v=this.videoId);this.li&&(a.infringe=1);this.Hh&&(a.splay=1);var b=OP(this);b&&(a.live=b);this.hj&&(a.autoplay=1);this.kr&&(a.sdetail=this.kr);this.cf&&(a.partnerid=this.cf);this.osid&&(a.osid=this.osid);return a};
g.h.Re=function(){if(!this.Zd)if(this.yb&&this.yb.storyboards){var a=this.yb.storyboards,b=a.playerStoryboardSpecRenderer;b&&b.spec?this.Zd=new cP(b.spec,this.lengthSeconds):(a=a.playerLiveStoryboardSpecRenderer)&&a.spec&&this.ua&&(b=Tb(this.ua.o).index)&&(this.Zd=new eP(a.spec,this.ua.isLive,b))}else this.Kr?this.Zd=new cP(this.Kr,this.lengthSeconds):this.iq&&this.ua&&(a=Tb(this.ua.o).index)&&(this.Zd=new eP(this.iq,this.ua.isLive,a));return this.Zd};
g.h.getStoryboardFormat=function(){if(this.yb&&this.yb.storyboards){var a=this.yb.storyboards;return(a=a.playerStoryboardSpecRenderer||a.playerLiveStoryboardSpecRenderer)&&a.spec||null}return this.Kr||this.iq};
g.h.Oc=function(){return this.ua&&!isNaN(this.ua.Oc())?this.ua.Oc():HP(this)?0:this.lengthSeconds};
g.h.fc=function(){return this.ua&&!isNaN(this.ua.fc())?this.ua.fc():0};
g.h.getPlaylistSequenceForTime=function(a){if(this.ua&&this.Ca){var b=this.ua.o[this.Ca.id];if(!b)return null;var c=b.index.Rf(a);b=b.index.kd(c);return{sequence:c,D4:Math.floor(1E3*(a-b))}}return null};
g.h.isValid=function(){return!this.la()&&!(!this.videoId&&!this.pl)};
g.h.Mb=function(){return QP(this)&&!this.ji&&!this.vk};
g.h.UF=function(){var a={format:"RAW",method:"GET",withCredentials:this.HF};this.al&&this.visitorData&&(a.headers={"X-Goog-Visitor-Id":this.visitorData});0<this.Cu&&(a.timeout=this.Cu);var b=this.OB;0<this.tr&&(b=g.GF(b,{playerretry:this.tr}));this.Pk&&(b=g.GF(b,{preload:1}));this.PB?EL(uG,b,a).then(aF(this.GE),aF(this.AR),this):(a.context=this,a.onSuccess=this.GE,a.onError=this.Lu,g.UF(b,a));(0,g.LP)("vir");xP("vir");this.NB=g.GH()};
g.h.gd=function(a){if(30==this.cf)return(a=this.bi["default.jpg"])?a:this.videoId?g.rh("//docs.google.com/vt",{id:this.videoId,authuser:this.Tc,authkey:this.authKey}):"//docs.google.com/images/doclist/cleardot.gif";a||(a="hqdefault.jpg");var b=this.bi[a];return b||this.ib.K||"pop1.jpg"==a||"pop2.jpg"==a||"sddefault.jpg"==a||"hq720.jpg"==a||"maxresdefault.jpg"==a?b:gO(this.ib,this.videoId,a)};
g.h.GE=function(a){if(!this.la()){var b=a.responseText;b?(this.af=!1,a=g.BF(b),this.CC&&YO(a),"fail"==a.status?(this.fl(a),this.U("onStatusFail",a)):((0,g.LP)("virc"),xP("virc"),this.fl(a),QP(this)?KP(this):this.U("dataloaderror",new hM("manifest.net.retryexhausted",!0,{successButUnplayable:"1"})))):this.Lu(a)}};
g.h.AR=function(a){this.Lu(a.Ui)};
g.h.Lu=function(a){if(!this.la()){var b=a?a.status:-1;a=this.tr>=this.yx||400==b;var c=200<b?"manifest.net.badstatus":"manifest.net.connect",d=((g.GH()-this.NB)/1E3).toFixed(3);b={backend:"gvi",rc:b,rt:d};a&&this.yx?c="manifest.net.retryexhausted":a||(this.tr++,this.TF.start());this.U("dataloaderror",new hM(c,a,b))}};
g.h.tk=function(){return this.Da||this.rk||this.EC||!(!this.liveUtcStartSeconds||!this.en)};
g.h.getAvailableAudioTracks=function(){return this.Ha?0<this.Ha.getAvailableAudioTracks().length?this.Ha.getAvailableAudioTracks():this.Mp||[]:[]};
g.h.getAudioTrack=function(){var a=this;if(this.Ec&&!bL(this.Ec))return g.Ua(this.getAvailableAudioTracks(),function(d){return d.id==a.Ec.id})||this.dm;
if(this.Mp){if(!this.Qn)for(var b=g.r(this.Mp),c=b.next();!c.done;c=b.next())if(c=c.value,c.Ob.isDefault){this.Qn=c;break}return this.Qn||this.dm}return this.dm};
g.h.getPlayerResponse=function(){return this.yb};
g.h.getPlaylistId=function(){return null};
g.h.za=function(){return this};
g.h.Hm=function(){return this.ib.getVideoUrl(this.videoId)};
g.h.Qg=function(){return!!this.ua&&this.ua.Qg()};
g.h.Rg=function(){return!!this.ua&&this.ua.Rg()};
g.h.Uf=function(){return!!this.ua&&this.ua.Uf()};
g.h.Li=function(){return!!this.ua&&this.ua.Li()};
g.h.isAd=function(){return!!this.adFormat};
g.h.Tn=function(){return this.pd};
var $1={},yna=($1.FAIRPLAY="fairplay",$1.PLAYREADY="playready",$1.WIDEVINE="widevine",$1),a2={},Cna=(a2.MDE_STREAM_OPTIMIZATIONS_RENDERER_LATENCY_UNKNOWN="UNKNOWN",a2.MDE_STREAM_OPTIMIZATIONS_RENDERER_LATENCY_NORMAL="NORMAL",a2.MDE_STREAM_OPTIMIZATIONS_RENDERER_LATENCY_LOW="LOW",a2.MDE_STREAM_OPTIMIZATIONS_RENDERER_LATENCY_ULTRA_LOW="ULTRALOW",a2),Zma="author cc_asr cc_load_policy iv_load_policy iv_new_window keywords oauth_token requires_purchase rvs subscribed title ttsurl ypc_buy_url ypc_full_video_length ypc_item_thumbnail ypc_item_title ypc_item_url ypc_offer_button_text ypc_offer_button_formatted_text ypc_offer_description ypc_offer_headline ypc_offer_id ypc_preview ypc_price_string ypc_video_rental_bar_text".split(" ");bQ.prototype.F=function(){if(!Jna(this))return null;var a="";this.o&&this.o.Ij&&(a=this.o.Ij+("&r1b="+this.o.clientPlaybackNonce));var b={};a=(b.atr_challenge=a,b);this.B?(a=void 0===a?{}:a,a=void 0===a?{}:a,a=cQ.o?cQ.o.invoke(void 0,void 0,a):null):a=g.y("yt.abuse.player.invokeBotguard")(a);return a?"r1a="+a:null};
bQ.prototype.G=function(a){return"r3a="+Math.floor(this.o.lengthSeconds%g.Bc(a.c3a))};
bQ.prototype.D=function(a){a=g.Bc(a.c);var b=(b=g.y("yt.abuse.dclkstatus.checkDclkStatus"))?b():NaN;return"r6a="+(a^b)};var i0=16/9,Vza=[.25,.5,.75,1,1.25,1.5,1.75,2],Wza=Vza.concat([3,4,5,6,7,8,9,10,15]);var b2={},Xza=(b2["api.invalidparam"]=2,b2.auth=150,b2["drm.auth"]=150,b2["heartbeat.net"]=150,b2["heartbeat.servererror"]=150,b2["heartbeat.stop"]=150,b2["html5.unsupportedads"]=5,b2["fmt.noneavailable"]=5,b2["fmt.decode"]=5,b2["fmt.unplayable"]=5,b2["html5.missingapi"]=5,b2["html5.unsupportedlive"]=5,b2["drm.unavailable"]=5,b2);var Mna=1;g.t(g.gQ,g.K);g.gQ.prototype.A=function(a,b){g.Ca(b)?pe(a,this.element,b):a.appendChild(this.element)};
g.gQ.prototype.update=function(a){for(var b in a)this.updateValue(b,a[b])};
g.gQ.prototype.updateValue=function(a,b){var c=this.Ra["{{"+a+"}}"];c&&iQ(this,c[0],c[1],b)};
g.gQ.prototype.W=function(){this.o={};this.Ra={};g.jQ(this);g.K.prototype.W.call(this)};g.t(g.W,g.gQ);g.h=g.W.prototype;g.h.Kb=function(a,b){this.updateValue(b||"content",a)};
g.h.show=function(){this.C||(this.element.style.display=this.rd,this.C=!0)};
g.h.hide=function(){this.C&&(this.element.style.display="none",this.C=!1)};
g.h.ac=function(a){this.V=a};
g.h.X=function(a,b,c){return this.R(this.element,a,b,c)};
g.h.R=function(a,b,c,d){c=(0,g.A)(c,d||this);d={target:a,type:b,listener:c};this.ga.push(d);a.addEventListener(b,c);return d};
g.h.Ka=function(a){for(var b=0;b<this.ga.length;b++)if(this.ga[b]==a){a=this.ga.splice(b,1)[0];a.target.removeEventListener(a.type,a.listener);break}};
g.h.focus=function(){Ce(this.element);this.element.focus()};
g.h.W=function(){for(;this.ga.length;){var a=this.ga.pop();a.target.removeEventListener(a.type,a.listener)}g.gQ.prototype.W.call(this)};g.t(g.lQ,g.W);g.lQ.prototype.subscribe=function(a,b,c){return this.ea.subscribe(a,b,c)};
g.lQ.prototype.unsubscribe=function(a,b,c){return this.ea.unsubscribe(a,b,c)};
g.lQ.prototype.Bk=function(a){return this.ea.Bk(a)};
g.lQ.prototype.U=function(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];return this.ea.U.apply(this.ea,[a].concat(g.ea(c)))};g.t(g.nQ,g.lQ);g.nQ.prototype.updateValue=function(a,b){g.lQ.prototype.updateValue.call(this,a,b);this.U("size-change")};g.t(rQ,g.K);g.h=rQ.prototype;
g.h.handleExternalCall=function(a,b,c){var d=this.F[a];if(!(d||!(d=this.H[a])||c&&Hza.test(c)))throw Error('API call from an untrusted origin: "'+c+'"');var e=this.app.o;e.Ao&&!this.L.has(a)&&(this.L.add(a),uQ(this,"webPlayerApiCalled",{callerUrl:e.loaderUrl,methodName:a,origin:c||void 0,playerStyle:e.playerStyle||void 0}));if(d){if(!this.app.o.experiments.o("player_injection_reporting_killswitch")){c=!1;e=g.r(b);for(var f=e.next();!f.done;f=e.next())if(String(f.value).includes("javascript:")){c=!0;
break}c&&g.bF(Error('Dangerous call to "'+a+'" with ['+b+"]."))}return d.apply(this,b)}throw Error('Unknown API method: "'+a+'".');};
g.h.isExternalMethodAvailable=function(a,b){return this.F[a]?!0:!!(this.H[a]&&b&&Hza.test(b))};
g.h.getBandwidthEstimate=function(){return vN(this.app.o.schedule)};
g.h.getApiInterface=function(){return this.J.slice()};
g.h.getInternalApiInterface=function(){return g.Vb(this.C)};
g.h.addEventListener=function(a,b){if(g.v(b)){var c=function(){g.y(b).apply(window,arguments)};
this.G[b]=c}else c=b;this.app.ea.subscribe(a,c)};
g.h.BK=function(a,b){var c=this,d=g.v(b)?a+b:a+g.Ma(b);if(!this.D[d]){var e;g.v(b)?e=function(){g.y(b).apply(window,arguments)}:e=b;
var f=function(k){e({target:c.A,data:k})};
this.D[d]=f;this.app.ea.subscribe(a,f)}};
g.h.removeEventListener=function(a,b){if(g.v(b)){var c=this.G[b];fc(this.G,b);b=c}this.app.ea.unsubscribe(a,b)};
g.h.CK=function(a,b){var c=g.v(b)?a+b:a+g.Ma(b),d=this.D[c];d&&(this.app.ea.unsubscribe(a,d),fc(this.D,c))};
g.h.getPlayerState=function(){return G0(this.app)};
g.h.seekTo=function(a,b,c){this.o&&K0(this.app,!0,this.playerType);P0(this.app,a,b,c,this.playerType)};
g.h.getCurrentTime=function(){return this.app.getCurrentTime(this.playerType)};
g.h.getMediaReferenceTime=function(){var a=nya(this.app,this.playerType);return isNaN(a)?this.getCurrentTime():a};
g.h.getDuration=function(){return this.app.getDuration(this.playerType)};
g.h.getVolume=function(){return this.app.L.volume};
g.h.setVolume=function(a){Nna(this,a)};
g.h.isMuted=function(){return this.app.L.muted};
g.h.mute=function(){Ona(this)};
g.h.unMute=function(){Pna(this)};
g.h.playVideo=function(){this.o&&K0(this.app,!0,this.playerType);var a=this.app.getPresentingPlayerType();2!=a||this.app.isContinuousPlayback()?3==a?g.QU(this.app.B).Th("control_play"):this.app.playVideo(a):(a=this.app.B.C)&&a.Th("control_play")};
g.h.pauseVideo=function(){var a=this.app.getPresentingPlayerType();2!=a||this.app.isContinuousPlayback()?3==a?g.QU(this.app.B).Th("control_pause"):this.app.pauseVideo(a):(a=this.app.B.C)&&a.Th("control_pause")};
g.h.stopVideo=function(){var a=this.app;a.o.ka&&a.A.U("pageTransition");a.stopVideo()};
g.h.clearVideo=function(){};
g.h.getPlaybackRate=function(){return g.Z(this.app,1).getPlaybackRate()};
g.h.setPlaybackRate=function(a){this.app.setPlaybackRate(a)};
g.h.getAvailablePlaybackRates=function(){var a=this.app.o;a.xa?(a=a.yc[0],a="https://admin.youtube.com"==a||"https://viacon.corp.google.com"==a?Wza:Vza):a=[1];return a};
g.h.getPlaybackQuality=function(){var a=g.Z(this.app,this.playerType);return a?a.getPlaybackQuality():"unknown"};
g.h.setPlaybackQuality=function(){};
g.h.getAvailableQualityLevels=function(){var a=g.Z(this.app,this.playerType);return a?(a=(0,g.I)(jsa(a),function(b){return b.quality}),a.length&&("auto"==a[0]&&a.shift(),a=a.concat(["auto"])),a):[]};
g.h.getVideoBytesLoaded=function(){return this.getVideoLoadedFraction()};
g.h.getVideoBytesTotal=function(){return 1};
g.h.getVideoLoadedFraction=function(){return this.app.getVideoLoadedFraction()};
g.h.getVideoStartBytes=function(){return 0};
g.h.setSize=function(){this.app.H.vf()};
g.h.setAutonav=function(a){this.setAutonavState(a?2:1)};
g.h.setAutonavState=function(a){wya(this.app,a)};
g.h.channelSubscribed=function(){this.Ba("SUBSCRIBE")};
g.h.channelUnsubscribed=function(){this.Ba("UNSUBSCRIBE")};
g.h.confirmYpcRental=function(){var a=g.Z(this.app,this.playerType);a&&gsa(a,"ypc_clickwrap")};
g.h.setHomeGroupInfo=function(a){this.app.o.homeGroupInfo=a};
g.h.setLivingRoomAppMode=function(a){this.app.o.livingRoomAppMode=a};
g.h.setEnablePrivacyFilter=function(a){this.app.o.enablePrivacyFilter=a};
g.h.loadModule=function(a){"captions"==a&&(a=this.app.B.A)&&!a.loaded&&a.load()};
g.h.unloadModule=function(a){"captions"==a&&(a=this.app.B.A)&&a.loaded&&a.gW()};
g.h.loadVideoById=function(a,b,c){a&&(a=this.app.loadVideoByPlayerVars(dQ(a,b,c),this.playerType),this.o&&K0(this.app,a,this.playerType))};
g.h.cueVideoById=function(a,b,c){this.app.cueVideoByPlayerVars(dQ(a,b,c),this.playerType)};
g.h.loadVideoByUrl=function(a,b,c){a=Kna(a,b,c);a=this.app.loadVideoByPlayerVars(a,this.playerType);this.o&&K0(this.app,a,this.playerType)};
g.h.cueVideoByUrl=function(a,b,c){a=Kna(a,b,c);this.app.cueVideoByPlayerVars(a,this.playerType)};
g.h.getVideoUrl=function(){var a=this.app.o;if(a.K)return"";var b=NZ(this.app),c=void 0;b.Da||(c=Math.floor(this.app.getCurrentTime(1)));return a.getVideoUrl(b.videoId,this.getPlaylistId()||void 0,c)};
g.h.getDebugText=function(){return this.app.getDebugText()};
g.h.getVideoEmbedCode=function(){var a=this.app.o;return a.K?"":a.getVideoEmbedCode(NZ(this.app).videoId,this.app.H.getPlayerSize(),this.getPlaylistId()||void 0)};
g.h.addCueRange=function(a,b,c){return sya(this.app,a,b,c)};
g.h.removeCueRange=function(a){a:{for(var b=this.app,c=OS(b.C.L)||[],d=0;d<c.length;d++){var e=c[d];if(e.getId()==a){b.C.removeCueRange(e);ZU(b,"cuerangesremoved",[e]);a=!0;break a}}a=!1}return a};
g.h.loadPlaylist=function(a,b,c,d){this.app.loadPlaylist(a,b,c,d);this.o&&K0(this.app,!0,this.playerType)};
g.h.cuePlaylist=function(a,b,c,d){this.app.cuePlaylist(a,b,c,d)};
g.h.nextVideo=function(){this.app.nextVideo();this.o&&K0(this.app,!0,this.playerType)};
g.h.previousVideo=function(){this.app.previousVideo();this.o&&K0(this.app,!0,this.playerType)};
g.h.playVideoAt=function(a){this.app.playVideoAt(a);this.o&&K0(this.app,!0,this.playerType)};
g.h.setShuffle=function(a){var b=this.app.getPlaylist();b&&b.setShuffle(a)};
g.h.setLoop=function(a){var b=this.app.getPlaylist();b&&(b.loop=a)};
g.h.getPlaylist=function(){var a=this.app.getPlaylist();if(!a)return null;for(var b=[],c=0;c<a.getLength();c++){var d=a.za(c);d&&b.push(d.videoId)}return b};
g.h.getPlaylistIndex=function(){var a=this.app.getPlaylist();return a?a.we():-1};
g.h.getPlaylistId=function(){var a=this.app.getPlaylist();return a&&a.listId?a.listId.toString():null};
g.h.setOption=function(a,b,c){if(!b)return null;var d=this.app.B;return"captions"==a?(a=d.A)&&a.Fc(b,c):null};
g.h.getOption=function(a,b,c){return this.setOption(a,b,c)};
g.h.getOptions=function(a){var b=this.app.B;return"captions"==a?(b=b.A)&&b.getOptions():a?null:(a=[],b.A&&a.push("captions"),a)};
g.h.getVideoData=function(){var a={},b=g.Z(this.app,this.playerType);if(b&&(b=b.getVideoData(),a.video_id=b.videoId,a.author=b.author,a.title=b.title,b.Ca&&b.Ca.video)){a.video_quality=b.Ca.video.quality;b=b.Ca.video;var c=[];32<b.fps&&c.push("hfr");WK(b)&&c.push("hdr");"bt2020"==b.primaries&&c.push("wcg");a.video_quality_features=c}if(b=this.getPlaylistId())a.list=b;return a};
g.h.showVideoInfo=function(){hya(this.app,!0)};
g.h.hideVideoInfo=function(){hya(this.app,!1)};
g.h.isVideoInfoVisible=function(){return this.app.isVideoInfoVisible()};
g.h.getAdState=function(){return this.app.getAdState()};
g.h.isNotServable=function(a){if(a!=this.app.wa.args.video_id)return!1;var b=(a=(a=g.Z(this.app,1))?a.getPlayerState():null)?a.A:null;return!!(a&&b&&g.X(a,128)&&5==Xza[b.errorCode])};
g.h.getSphericalProperties=function(){var a=this.app.B.D;return a?2==this.playerType?{}:a.getSphericalProperties():{}};
g.h.setSphericalProperties=function(a){if(a&&2!=this.playerType){var b=this.app.B.D;b&&b.setSphericalProperties(a,!0)}};
g.h.destroy=function(){this.app.dispose()};
g.h.sendAbandonmentPing=function(){var a=g.Z(this.app);a&&a.sendAbandonmentPing()};
g.h.U=function(a,b){for(var c=1;c<arguments.length;++c);this.app.o.Nb&&("videodatachange"==a||"audiotrackchanged"==a||"resize"==a||"cardstatechange"==a)&&this.app.ea.U.apply(this.app.ea,arguments);this.app.aa.U.apply(this.app.aa,arguments)};
g.h.Ba=function(a,b){this.app.ea.U.apply(this.app.ea,arguments);this.app.aa.U.apply(this.app.aa,arguments)};
g.h.W=function(){if(this.B){for(var a in this.C)this.B[a]=null;this.B=null}this.D={};this.G={};g.K.prototype.W.call(this)};Sna.prototype.isEmpty=function(){return this.endTime==this.startTime};Tna.prototype.update=function(){if(!this.A.o.experiments.o("html5_ignore_updates_before_initial_ping")||this.J){var a=this.A.A()||0,b=g.zQ(this.A);if(a!=this.o||Wna(this,a,b)){var c;if(!(c=a<this.o||a-this.o>b-this.F+2||Wna(this,a,b))){var d=this.A.Sd();c=d.volume;var e=c!=this.L;d=d.muted;d!=this.K?(this.K=d,c=!0):(!e||0<=this.D||(this.L=c,this.D=b),c=b-this.D,0<=this.D&&2<c?(this.D=-1,c=!0):c=!1)}c&&(g.yQ(this),this.C=a);this.F=b;this.o=a}}};var $na={other:1,none:2,wifi:3,cellular:7};g.cU=Pc(function(){var a="";try{var b=g.ke("CANVAS").getContext("webgl");b&&(b.getExtension("WEBGL_debug_renderer_info"),a=b.getParameter(37446),a=a.replace(/[ :]/g,"_"))}catch(c){}return a});var fsa,c2,boa;
fsa={TX:"ALREADY_PINNED_ON_A_DEVICE",AUTHENTICATION_EXPIRED:"AUTHENTICATION_EXPIRED",ZX:"AUTHENTICATION_MALFORMED",aY:"AUTHENTICATION_MISSING",fY:"BAD_REQUEST",BY:"CAST_SESSION_DEVICE_MISMATCHED",CY:"CAST_SESSION_VIDEO_MISMATCHED",DY:"CAST_TOKEN_EXPIRED",EY:"CAST_TOKEN_FAILED",FY:"CAST_TOKEN_MALFORMED",GY:"CGI_PARAMS_MALFORMED",HY:"CGI_PARAMS_MISSING",pZ:"DEVICE_FALLBACK",TZ:"GENERIC_WITH_LINK_AND_CPN",UZ:"LICENSE",VZ:"VIDEO_UNAVAILABLE",i_:"FORMAT_UNAVALIABLE",l_:"GEO_FAILURE",C_:"HTML5_AUDIO_RENDERER_ERROR",D_:"GENERIC_WITHOUT_LINK",
E_:"HTML5_FLASH_DEPRECATED",F_:"HTML5_NO_AVAILABLE_FORMATS_FALLBACK",G_:"HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK",X_:"INVALID_DRM_MESSAGE",V1:"PURCHASE_NOT_FOUND",W1:"PURCHASE_REFUNDED",c2:"RENTAL_EXPIRED",n2:"RETRYABLE_ERROR",D2:"SERVER_ERROR",a3:"STOPPED_BY_ANOTHER_PLAYBACK",c3:"STREAMING_DEVICES_QUOTA_PER_24H_EXCEEDED",d3:"STREAMING_NOT_ALLOWED",e3:"STREAM_LICENSE_NOT_FOUND",t3:"TOO_MANY_STREAMS_PER_ENTITLEMENT",u3:"TOO_MANY_STREAMS_PER_USER",I3:"UNSUPPORTED_DEVICE",V3:"VIDEO_FORBIDDEN",
X3:"VIDEO_NOT_FOUND"};c2={};
g.nU=(c2.ALREADY_PINNED_ON_A_DEVICE="\u0412\u044b \u0443\u0436\u0435 \u0441\u043a\u0430\u0447\u0430\u043b\u0438 \u044d\u0442\u043e \u0432\u0438\u0434\u0435\u043e \u043d\u0430 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432, \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u043d\u043e\u0435 \u043f\u0440\u0430\u0432\u043e\u043e\u0431\u043b\u0430\u0434\u0430\u0442\u0435\u043b\u0435\u043c. \u0427\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u044d\u0442\u043e \u0432\u0438\u0434\u0435\u043e \u0437\u0434\u0435\u0441\u044c, \u043e\u0442\u043a\u0440\u0435\u043f\u0438\u0442\u0435 \u0435\u0433\u043e \u043e\u0442 \u0434\u0440\u0443\u0433\u043e\u0433\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430.",c2.DEVICE_FALLBACK=
"\u0412\u0438\u0434\u0435\u043e \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e \u043d\u0430 \u044d\u0442\u043e\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0435.",c2.GENERIC_WITH_LINK_AND_CPN="\u041e\u0448\u0438\u0431\u043a\u0430. \u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0443 \u043f\u043e\u0437\u0436\u0435. \u0418\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f: $CPN. $BEGIN_LINK\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435...$END_LINK",
c2.LICENSE="\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0441\u0442\u0438 \u0432\u0438\u0434\u0435\u043e \u0438\u0437-\u0437\u0430 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0441 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0435\u0439.",c2.VIDEO_UNAVAILABLE="\u041e\u0448\u0438\u0431\u043a\u0430",c2.FORMAT_UNAVALIABLE="\u042d\u0442\u043e \u0432\u0438\u0434\u0435\u043e \u043f\u043e\u043a\u0430 \u043d\u0435\u043b\u044c\u0437\u044f \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u043c \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435. \u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0443 \u043f\u043e\u0437\u0436\u0435.",
c2.GEO_FAILURE="\u042d\u0442\u043e \u0432\u0438\u0434\u0435\u043e \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u0432 \u0432\u0430\u0448\u0435\u0439 \u0441\u0442\u0440\u0430\u043d\u0435.",c2.HTML5_AUDIO_RENDERER_ERROR="\u041e\u0448\u0438\u0431\u043a\u0430 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0430\u0443\u0434\u0438\u043e. \u041f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440.",
c2.GENERIC_WITHOUT_LINK="\u041e\u0448\u0438\u0431\u043a\u0430. \u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0443 \u043f\u043e\u0437\u0436\u0435.",c2.HTML5_FLASH_DEPRECATED="\u0412\u0438\u0434\u0435\u043e \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 Flash \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442\u0441\u044f. \u041e\u0431\u043d\u043e\u0432\u0438\u0442\u0435 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u0434\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0439 \u0432\u0435\u0440\u0441\u0438\u0438. $BEGIN_LINK\u041f\u041e\u0414\u0420\u041e\u0411\u041d\u0415\u0415$END_LINK",
c2.HTML5_NO_AVAILABLE_FORMATS_FALLBACK="\u042d\u0442\u043e\u0442 \u0444\u043e\u0440\u043c\u0430\u0442 \u0432\u0438\u0434\u0435\u043e \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f",c2.HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK="\u0412 \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0435\u0435 \u0432\u0440\u0435\u043c\u044f \u0432\u0430\u0448 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u043d\u0435 \u0440\u0430\u0441\u043f\u043e\u0437\u043d\u0430\u0435\u0442 \u043d\u0438 \u043e\u0434\u0438\u043d \u0438\u0437 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u0432\u0438\u0434\u0435\u043e\u0444\u043e\u0440\u043c\u0430\u0442\u043e\u0432. $BEGIN_LINK\u041d\u0430\u0436\u043c\u0438\u0442\u0435 \u0437\u0434\u0435\u0441\u044c, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043e\u0442\u0432\u0435\u0442\u044b \u043d\u0430 \u0447\u0430\u0441\u0442\u043e \u0437\u0430\u0434\u0430\u0432\u0430\u0435\u043c\u044b\u0435 \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u043e \u0432\u0438\u0434\u0435\u043e HTML5.$END_LINK",
c2.INVALID_DRM_MESSAGE="\u041d\u0435\u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u043e\u0435 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b DRM.",c2.PURCHASE_NOT_FOUND="\u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043e\u043f\u043b\u0430\u0442\u0438\u0442\u044c \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 \u044d\u0442\u043e\u0433\u043e \u0432\u0438\u0434\u0435\u043e.",
c2.PURCHASE_REFUNDED="\u041f\u043e \u0434\u0430\u043d\u043d\u043e\u0439 \u043f\u043e\u043a\u0443\u043f\u043a\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d \u0432\u043e\u0437\u0432\u0440\u0430\u0442 \u0441\u0440\u0435\u0434\u0441\u0442\u0432.",c2.RENTAL_EXPIRED="\u0412\u0440\u0435\u043c\u044f \u043f\u0440\u043e\u043a\u0430\u0442\u0430 \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u043b\u043e\u0441\u044c.",c2.CAST_SESSION_DEVICE_MISMATCHED="\u0423\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0432 \u0441\u0435\u0430\u043d\u0441\u0435 \u043d\u0435 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0437\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u043c\u043e\u043c\u0443.",
c2.CAST_SESSION_VIDEO_MISMATCHED="\u0412\u0438\u0434\u0435\u043e \u0432 \u0441\u0435\u0430\u043d\u0441\u0435 \u043d\u0435 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0437\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u043c\u043e\u043c\u0443.",c2.CAST_TOKEN_FAILED="\u0421\u0435\u0430\u043d\u0441 \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d. \u041e\u0431\u043d\u043e\u0432\u0438\u0442\u0435 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0438\u043b\u0438 \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0443 \u043f\u043e\u0437\u0436\u0435.",
c2.CAST_TOKEN_EXPIRED="\u0412\u0440\u0435\u043c\u044f \u0441\u0435\u0430\u043d\u0441\u0430 \u0438\u0441\u0442\u0435\u043a\u043b\u043e. \u041e\u0431\u043d\u043e\u0432\u0438\u0442\u0435 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443.",c2.CAST_TOKEN_MALFORMED="\u041d\u0435\u0432\u0435\u0440\u043d\u044b\u0439 \u0441\u0435\u0430\u043d\u0441. \u041e\u0431\u043d\u043e\u0432\u0438\u0442\u0435 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0438\u043b\u0438 \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0443 \u043f\u043e\u0437\u0436\u0435.",
c2.SERVER_ERROR="\u041f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u0430 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u044f\u044f \u043e\u0448\u0438\u0431\u043a\u0430. \u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0443 \u043f\u043e\u0437\u0436\u0435.",c2.STOPPED_BY_ANOTHER_PLAYBACK="\u0412\u0438\u0434\u0435\u043e \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0432\u0430\u0448\u0435\u0433\u043e \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u0430 \u0432 \u0434\u0440\u0443\u0433\u043e\u043c \u043c\u0435\u0441\u0442\u0435. \u041f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440.",
c2.STREAM_LICENSE_NOT_FOUND="\u0412\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u043f\u0440\u0435\u0440\u0432\u0430\u043d\u043e. \u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0443.",c2.STREAMING_DEVICES_QUOTA_PER_24H_EXCEEDED="\u0417\u0430 \u0441\u0443\u0442\u043a\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u043e \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432/IP-\u0430\u0434\u0440\u0435\u0441\u043e\u0432.",
c2.STREAMING_NOT_ALLOWED="\u0412\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e, \u0442\u0430\u043a \u043a\u0430\u043a \u0432\u0438\u0434\u0435\u043e \u043f\u0440\u0438\u043a\u0440\u0435\u043f\u043b\u0435\u043d\u043e \u043a \u0434\u0440\u0443\u0433\u043e\u043c\u0443 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0443.",c2.RETRYABLE_ERROR="\u041f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u0430 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u043e\u0448\u0438\u0431\u043a\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0443 \u043f\u043e\u0437\u0436\u0435.",
c2.TOO_MANY_STREAMS_PER_USER="\u0412\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e, \u0442\u0430\u043a \u043a\u0430\u043a \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043c\u043d\u043e\u0433\u043e \u0432\u0438\u0434\u0435\u043e, \u043e\u0442\u043d\u043e\u0441\u044f\u0449\u0438\u0445\u0441\u044f \u043a \u043e\u0434\u043d\u043e\u043c\u0443 \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u0443.",
c2.TOO_MANY_STREAMS_PER_ENTITLEMENT="\u0412\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e, \u0442\u0430\u043a \u043a\u0430\u043a \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043c\u043d\u043e\u0433\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442 \u044d\u0442\u043e \u0432\u0438\u0434\u0435\u043e.",c2.UNSUPPORTED_DEVICE=
"\u0412\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0434\u0430\u043d\u043d\u044b\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e\u043c.",c2.VIDEO_FORBIDDEN="\u0414\u043e\u0441\u0442\u0443\u043f \u043a \u0432\u0438\u0434\u0435\u043e \u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d.",c2.VIDEO_NOT_FOUND="\u041d\u0435 \u0443\u0434\u0430\u0435\u0442\u0441\u044f \u043d\u0430\u0439\u0442\u0438 \u0432\u0438\u0434\u0435\u043e.",
c2);
boa={300:"STREAMING_DEVICES_QUOTA_PER_24H_EXCEEDED",301:"ALREADY_PINNED_ON_A_DEVICE",303:"STOPPED_BY_ANOTHER_PLAYBACK",304:"TOO_MANY_STREAMS_PER_USER",305:"TOO_MANY_STREAMS_PER_ENTITLEMENT",400:"VIDEO_NOT_FOUND",401:"GEO_FAILURE",402:"STREAMING_NOT_ALLOWED",403:"UNSUPPORTED_DEVICE",405:"VIDEO_FORBIDDEN",500:"PURCHASE_NOT_FOUND",501:"RENTAL_EXPIRED",502:"PURCHASE_REFUNDED",5E3:"BAD_REQUEST",5001:"CGI_PARAMS_MISSING",5002:"CGI_PARAMS_MALFORMED",5100:"AUTHENTICATION_MISSING",5101:"AUTHENTICATION_MALFORMED",5102:"AUTHENTICATION_EXPIRED",
5200:"CAST_TOKEN_MALFORMED",5201:"CAST_TOKEN_EXPIRED",5202:"CAST_TOKEN_FAILED",5203:"CAST_SESSION_VIDEO_MISMATCHED",5204:"CAST_SESSION_DEVICE_MISMATCHED",6E3:"INVALID_DRM_MESSAGE",7E3:"SERVER_ERROR",8E3:"RETRYABLE_ERROR"};var Yza=QX&&4>TP?.1:0,xxa=new doa;g.h=doa.prototype;g.h.zj=null;g.h.If=function(a){var b="";a&&(eoa(this,a),b=a.o);this.src&&""==b||(b&&this.src!=b&&(this.src=b),a&&a.A||this.load())};
g.h.getDuration=function(){return this.duration||0};
g.h.getCurrentTime=function(){return this.currentTime||0};
g.h.dK=function(){this.hasAttribute("controls")&&this.setAttribute("controls","true")};g.t(g.AQ,g.K);g.h=g.AQ.prototype;g.h.tj=ba(6);g.h.tq=function(){return this.B};
g.h.If=function(a){var b="";a&&(foa(this,a),b=a.o);this.Dd()&&""==b||(b&&this.Dd()!=b&&(this.zq(b),this.C&&(this.C.dispose(),this.C=null)),a&&a.A||this.load(),this.J||(this.addEventListener("volumechange",this.CA),this.J=!0))};
g.h.Wq=function(){if(!this.C||this.C.la()){var a=this.ra();a=window.MediaSource?new window.MediaSource:window.WebKitMediaSource?new window.WebKitMediaSource:new gM(a);a=new uM(a);this.If(a.gn);this.C=a}};
g.h.qq=function(){this.L||(this.D=null);if(this.D)return this.D;this.Wq();var a=this.C;this.C=null;return this.D=a};
g.h.playVideo=function(){this.Xi()&&this.seekTo(0);!this.Dd()&&this.B&&(g.$E(Error("playVideo without src")),this.zq(this.B.o),this.B.A||this.load());var a=this.play();!a&&QX&&7<=TP&&fH(this,"playing",(0,g.A)(function(){g.gF((0,g.A)(this.uB,this,this.getCurrentTime(),0),500)},this));
return a};
g.h.uB=function(a,b){this.Yi()||this.getCurrentTime()>a||10<b||(this.play(),g.gF((0,g.A)(this.uB,this,this.getCurrentTime(),b+1),500))};
g.h.seekTo=function(a){0<this.Be()&&(QX&&4>TP&&(a=Math.max(.1,a)),this.yq(a))};
g.h.stopVideo=function(){!this.C&&this.Dd()&&(kG&&0<this.getCurrentTime()&&this.seekTo(0),this.vx(),this.load(),foa(this,null))};
g.h.Eb=function(){try{return{vct:this.getCurrentTime().toFixed(3),vd:this.getDuration().toFixed(3),vpl:kM(this.Em()),vbu:kM(this.Of()),vpa:""+ +this.Yi(),vsk:""+ +this.xq(),ven:""+ +this.Xi(),vpr:""+this.getPlaybackRate(),vrs:""+this.Be(),vns:""+this.Ap(),vec:""+this.Fb(),vvol:""+this.getVolume()}}catch(a){return{}}};
g.h.addEventListener=function(a,b){this.G.X(a,b,!1,this);this.ku(a)};
g.h.removeEventListener=function(a,b){this.G.Ka(a,b,!1,this)};
g.h.dispatchEvent=function(a){return this.G.dispatchEvent(a)};
g.h.ju=function(){this.H=!1};
g.h.fu=function(){this.H=!0;this.Ak(!0)};
g.h.CA=function(){this.H&&!this.rq()&&this.Ak(!0)};
g.h.W=function(){this.J&&this.removeEventListener("volumechange",this.CA);this.D&&this.D.dispose();this.C&&this.C.dispose();g.K.prototype.W.call(this)};g.t(FQ,g.If);FQ.prototype.preventDefault=function(){g.If.prototype.preventDefault.call(this);this.o&&this.o.preventDefault()};
FQ.prototype.stopPropagation=function(){g.If.prototype.stopPropagation.call(this);this.o&&this.o.stopPropagation()};g.HQ.prototype.sb=function(){return g.X(this,8)&&!g.X(this,512)&&!g.X(this,64)&&!g.X(this,2)};
g.HQ.prototype.isCued=function(){return g.X(this,64)&&!g.X(this,8)&&!g.X(this,4)};
g.HQ.prototype.isError=function(){return g.X(this,128)};g.t(UQ,g.K);
UQ.prototype.D=function(a){if(!this.la()&&(a=0<=a?a:g.zQ(this.o),-1<["PL","B","S"].indexOf(this.C)&&(!g.dc(this.A)||a>=this.B+30)&&(g.TQ(this,a,"vps",[this.C]),this.B=a),!g.dc(this.A))){WQ(this,a);var b=a,c=this.o.F(),d=c.droppedVideoFrames||0,e=c.totalVideoFrames||0,f=d-this.ea,k=e&&!this.ka;if(d>c.totalVideoFrames||5E3<f)this.onError("html5.badframedropcount","df."+d+";tf."+c.totalVideoFrames);else(0<f||k)&&g.TQ(this,b,"df",[f]);this.ea=d;this.ka=e;!this.o.o.experiments.o("disable_webgl_reporting")&&0<
this.F&&(g.TQ(this,a,"glf",[this.F]),this.F=0);a={event:"streamingstats"};this.o.videoData.Ca&&(a.fmt=PJ(this.o.videoData.Ca),(b=this.o.videoData.Ec)&&PJ(b)!=a.fmt&&(a.afmt=PJ(b)));a.cpn=this.o.videoData.clientPlaybackNonce;a.ei=this.o.videoData.eventId;a.el=WP(this.o.videoData);a.docid=this.o.videoData.videoId;a.ns=this.o.o.ba;a.fexp=this.o.o.experiments.experimentIds.toString();a.cl="238399221";this.o.videoData.adFormat&&(a.adformat=this.o.videoData.adFormat);(b=OP(this.o.videoData))&&(a.live=b);
a.seq=this.K++;if(!this.o.o.experiments.o("html5_prevent_qoe_spam_killswitch")&&(7E3==this.K&&g.$E(Error("Sent over 7000 pings"),"WARNING"),7E3<=this.K))return;g.lc(a,this.o.o.deviceParams);b=g.rh("//"+this.o.o.Ol+"/api/stats/qoe",a);a=c="";for(var l in this.A)null==this.A[l]?g.$E(Error("Stats report key has invalid value: "+l),"WARNING"):(d="&"+l+"="+this.A[l].join(","),100<d.length?a+=d:c+=d);l=b+c;a=a.replace(/ /g,"%20");b=$P(this.o.videoData);c=this.o.videoData.visitorData;d=b&&IF();e=c&&this.o.o.Fa;
d||e?(f={},d&&(f.Authorization="Bearer "+b),e&&(f["X-Goog-Visitor-Id"]=c),g.UF(l,{headers:f,withCredentials:!0,method:"POST",postBody:a})):rG(l,void 0,a);this.A={}}};
UQ.prototype.ya=function(){if(this.o.videoData.Ze){var a=this.o.videoData.Ze;YQ(this,"drm-"+a.flavor);YQ(this,"eme-"+(a.A?"final":tO(a)?"ms":"com.youtube.fairplay"==a.o?"ytfp":wO(a)?"safarifp":"nonfinal"))}};
UQ.prototype.onError=function(a,b){var c=g.zQ(this.o);loa(this,c,a,b);WQ(this,c);XQ(this)};
UQ.prototype.W=function(){g.K.prototype.W.call(this);window.clearInterval(this.ba)};
var d2={},moa=(d2[5]="N",d2[-1]="N",d2[3]="B",d2[0]="EN",d2[2]="PA",d2[1]="PL",d2);ZQ.prototype.send=function(a){if(!this.O){var b=bR(this);b=g.rh(this.sa,b);if(this.M)this.H&&(a=$Q(this)||{},a.method="POST",a.Rb={atr:this.H},this.al&&this.visitorData&&(a.headers={"X-Goog-Visitor-Id":this.visitorData}),g.UF(b,a));else{var c=$Q(this,a);c?g.UF(b,c):g.pG(b,a)}this.O=!0}};
ZQ.prototype.o=function(a){void 0==a&&(a=NaN);return(1*a.toFixed(3)).toString()};g.t(dR,g.K);g.h=dR.prototype;g.h.hR=function(a,b){if(!this.la()){this.G=NaN;this.C.update();var c=Vna(this.C),d=poa(this,c);b&&(d.B=a);var e=400<this.K;!(1<c.length)&&c[0].isEmpty()||e||(d.A=eR(this,!0,a));d.send();this.K++}};
g.h.onError=function(a,b){if(!this.la())this.A.onError(a,b)};
g.h.yr=function(a){var b=this.o.o,c=this.o.videoData,d={ns:b.ba,el:WP(c),eurl:b.ya,fmt:c.Ca?PJ(c.Ca):0,html5:1,list:c.playlistId,cpn:c.clientPlaybackNonce,ei:c.eventId,ps:b.playerStyle,noflv:1,st:this.o.A(),video_id:c.videoId,metric:a};ZP(c)&&(d.autoplay="1");"heartbeat"==a&&(d.tpmt=Una(this.C));g.Oa(d,b.deviceParams);gR(this,g.rh(b.experiments.o("cardio_base_url_killswitch")?(b.A?b.protocol+"://www.youtube.com/":b.D)+"live_204":b.D+"live_204",d))};
g.h.kb=function(){};
g.h.W=function(){g.K.prototype.W.call(this);g.iF(this.G);this.G=NaN;var a=this.C;window.clearInterval(a.G);a.G=NaN;g.iF(this.B)};
g.h.Eb=function(){return bR(fR(this,"playback"))};var Zza={"default":0,monoSerif:1,propSerif:2,monoSans:3,propSans:4,casual:5,cursive:6,smallCaps:7};Object.keys(Zza).reduce(function(a,b){a[Zza[b]]=b;return a},{});
var $za={none:0,raised:1,depressed:2,uniform:3,dropShadow:4};Object.keys($za).reduce(function(a,b){a[$za[b]]=b;return a},{});
var aAa={normal:0,bold:1,italic:2,bold_italic:3};Object.keys(aAa).reduce(function(a,b){a[aAa[b]]=b;return a},{});g.t(hR,rQ);g.h=hR.prototype;g.h.getPresentingPlayerType=function(){var a=this.app.getPresentingPlayerType();2==a&&this.app.isContinuousPlayback()&&(a=1);return a};
g.h.addCueRange=function(a,b,c,d,e){return sya(this.app,a,b,c,d,e)};
g.h.addInfoCardXml=function(a,b,c){this.app.o.J.add(a,{oi:b,rl:c})};
g.h.cueVideoByPlayerVars=function(a,b){this.app.cueVideoByPlayerVars(a,b||this.playerType)};
g.h.getPlayerState=function(a){return G0(this.app,a)};
g.h.loadVideoByPlayerVars=function(a,b,c,d){this.app.loadVideoByPlayerVars(a,c||this.playerType,b,d)};
g.h.enqueueVideoByPlayerVars=function(a){this.app.enqueueVideoByPlayerVars(a)};
g.h.preloadVideoByPlayerVars=function(a,b,c,d){c=void 0===c?NaN:c;this.app.preloadVideoByPlayerVars(a,b||this.playerType,c,void 0===d?"":d)};
g.h.clearQueue=function(){this.app.clearQueue()};
g.h.nextVideo=function(a,b){this.app.nextVideo(a,b)};
g.h.previousVideo=function(a){this.app.previousVideo(a)};
g.h.seekBy=function(a,b,c){P0(this.app,this.app.getCurrentTime()+a,b,c,this.playerType)};
g.h.seekTo=function(a,b,c,d){P0(this.app,a,b,c,d||this.playerType)};
g.h.updatePlaylist=function(a){if(a){var b=this.getPlaylistId();if(!b||b==a.list){var c=a.video;(b=this.app.getPlaylist())?this.isFullscreen()&&((c=c[b.we()])&&c.encrypted_id!=b.za().videoId||(a.index=b.we())):A0(this.app,{list:a.list,index:a.index,playlist_length:c.length});tR(this.app.getPlaylist(),a);this.Ba("onPlaylistUpdate")}}else this.app.updatePlaylist()};
g.h.updateLastActiveTime=function(){SH()};
g.h.updateVideoData=function(a,b){var c=g.Z(this.app,this.playerType||1);c&&c.getVideoData().eh(a,b)};
g.h.getPlayerResponse=function(){var a=g.Z(this.app,this.playerType);return a?a.getVideoData().getPlayerResponse():null};
g.h.getStoryboardFormat=function(){return this.app.getStoryboardFormat()};
g.h.getStoryboardFrame=function(a,b){var c=this.app.Re();if(!c)return null;c=c.o[b];return c?(c=g.$O(c,a))?{column:c.column,columns:c.columns,height:c.height,row:c.row,rows:c.rows,url:c.url,width:c.width}:null:null};
g.h.getStoryboardFrameIndex=function(a,b){var c=this.app.Re();if(!c)return-1;c=c.o[b];if(!c)return-1;this.app.o.experiments.o("web_player_api_storyboard_timestamp_killswitch")||(a-=this.Qc());return c.Gq(a)};
g.h.getStoryboardLevel=function(a){var b=this.app.Re();return b?(b=b.o[a])?{index:a,intervalMs:b.o,maxFrameIndex:b.zn(),minFrameIndex:b.tw()}:null:null};
g.h.getNumberOfStoryboardLevels=function(){var a=this.app.Re();return a?a.o.length:0};
g.h.Qc=function(){var a=g.Z(this.app,void 0);return a?a.Qc():0};
g.h.getHousebrandProperties=function(){var a=this.app.o;return{gc:a.gc,Nb:a.Nb}};
g.h.getVideoData=function(){var a=rQ.prototype.getVideoData.call(this)||{},b=g.Z(this.app,this.playerType);b&&(b=b.getVideoData(),a.backgroundable=b.backgroundable,a.eventId=b.eventId,a.cpn=b.clientPlaybackNonce,a.isLive=b.Da,a.allowLiveDvr=b.allowLiveDvr,a.itct=b.nk,a.paidContentOverlayText=kna(b),a.paidContentOverlayDurationMs=lna(b),null!=b.liveUtcStartSeconds&&(a.liveUtcStartSeconds=b.liveUtcStartSeconds),b.ua&&gla(b.ua)&&(a.usingLocalMedia="true"));return a};
g.h.getCurrentTime=function(a,b){return a?this.app.getCurrentTime(a,b):rQ.prototype.getCurrentTime.call(this)};
g.h.getDuration=function(a,b){return a?this.app.getDuration(a,b):rQ.prototype.getDuration.call(this)};
g.h.getProgressState=function(a){if(3==this.getPresentingPlayerType())return g.QU(this.app.B).getProgressState();var b=this.app.getVideoData(),c=(g.Z(this.app,a)||g.Z(this.app)).getPlayerType(),d=this.getCurrentTime(a);a=this.getDuration(a);var e=nya(this.app,c),f=this.app.isAtLiveHead(c);var k=this.app;var l=g.Z(k,void 0);if(l){l=y0(k,l);var m=NaN;l.A&&(m=goa(l.A));m=0<=m?m:l.getCurrentTime();k=F0(k,m,l)}else k=0;l=this.app.fc(c);m=this.app;(c=g.Z(m,c))?(c=x0(m,c),c=F0(m,IU(c),c)):c=0;return{allowSeeking:this.app.Jc(),
clipEnd:b.clipEnd,clipStart:b.clipStart,current:d,displayedStart:-1,duration:a,ingestionTime:e,isAtLiveHead:f,loaded:k,seekableStart:l,seekableEnd:c}};
g.h.getVideoLoadedFraction=function(a){return this.app.getVideoLoadedFraction(a)};
g.h.canPlayType=function(a){return this.app.canPlayType(a)};
g.h.getPreferredQuality=function(){var a=g.Z(this.app);return a?a.getPreferredQuality():"unknown"};
g.h.setPlaybackQualityRange=function(a,b){var c=g.Z(this.app,this.playerType);if(c){var d=VM(a,b||a,!0,"m");c.o.Zr=d;if(c.K){var e=c.K;if(e.Ha.o){var f=g.TK[dN()];e=e.Ha.videoInfos[0].za().o;f>e&&0!=e&&d.o==e||g.AI("yt-player-quality",ZM(d),2592E3)}}wU(c)}};
g.h.getCurrentPlaylistSequence=function(){return g.Z(this.app).getPlaylistSequenceForTime(this.app.getCurrentTime())};
g.h.getPlaylistSequenceForTime=function(a){return g.Z(this.app).getPlaylistSequenceForTime(a)};
g.h.getCurrentBroadcastId=function(){var a=this.app.B.yd;return a?a.zB():null};
g.h.sendVideoStatsEngageEvent=function(a){this.app.sendVideoStatsEngageEvent(a,this.playerType)};
g.h.setCardsVisible=function(a,b,c){var d=this.app.B.B;d&&d.ce()&&d.setCardsVisible(a,b,c)};
g.h.handleGlobalKeyDown=function(a,b,c,d,e){var f=g.wQ(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.wQ(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.getAudioTrack=function(){var a=g.Z(this.app,this.playerType);return a?a.getAudioTrack():this.app.getVideoData().dm};
g.h.setAudioTrack=function(a){3==this.getPresentingPlayerType()&&g.QU(this.app.B).Th("control_set_audio_track",a);var b=g.Z(this.app,this.playerType);if(b&&!b.la()&&!g.X(b.C,128))if(b.o.Ha.o)b.D.setAudioTrack(a);else{a:{var c=b.o;if(c.Ec&&!bL(c.Ec)||a==c.Qn||!c.zf||0>=c.zf.length)c=!1;else{for(var d=g.r(c.zf),e=d.next();!e.done;e=d.next()){e=e.value;if(!(e instanceof RO)){c=!1;break a}var f=a.Ob.getId();e.A&&(e.A.C=f,e.o=null)}c.Qn=a;c=!0}}c&&(b.U("internalaudioformatchange",b.o,!0),fU(b)&&b.xb("hlsaudio",
a.id))}};
g.h.getAvailableAudioTracks=function(){return g.Z(this.app,this.playerType).getAvailableAudioTracks()};
g.h.getMaxPlaybackQuality=function(){var a=g.Z(this.app,this.playerType);return a&&a.getVideoData().Ca?ZM(a.K?vra(a.V,a.K,uU(a)):XM):"unknown"};
g.h.getUserPlaybackQualityPreference=function(){var a=g.Z(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.B.yd;a&&a.IK()};
g.h.showControls=function(){var a=g.wQ(this);a&&a.showControls(!0)};
g.h.hideControls=function(){var a=g.wQ(this);a&&a.showControls(!1)};
g.h.getVisibilityState=function(){var a=this.app.o;a=this.app.J.o&&!a.experiments.o("kevlar_miniplayer_disable_vis");return this.app.getVisibilityState(this.Wi(),this.isFullscreen()||SN(this.app.o),a,this.isInline(),this.app.J.B)};
g.h.isFullscreen=function(){return this.app.isFullscreen()};
g.h.isInline=function(){return this.app.isInline()};
g.h.Wi=function(){var a=g.Z(this.app,this.playerType);return!!a&&a.M.A};
g.h.shouldSendVisibilityState=function(){return!0};
g.h.getVideoContentRect=function(a){a=this.app.H.getVideoContentRect(a);return{left:a.left,top:a.top,width:a.width,height:a.height}};
g.h.setSafetyMode=function(a){this.app.o.enableSafetyMode=a};
g.h.setUserEngagement=function(a){this.app.o.Ag!=a&&(this.app.o.Ag=a,(a=g.Z(this.app,this.playerType))&&wU(a))};
g.h.setFauxFullscreen=function(a){LG();O0(this.app,a?2:0)};
g.h.toggleFullscreen=function(){this.app.o.ha?this.isFullscreen()?NG(window.document.documentElement):KG(window.document.documentElement):LG()?this.isFullscreen()?NG(N0(this.app)):KG(this.app.H.element):this.Ba("onFullscreenToggled",this.isFullscreen())};
g.h.cancelPlayback=function(){var a=this.app.B.C;a&&a.created&&a.destroy();(a=g.Z(this.app))&&a.stopVideo();(a=this.app.B.K)&&a.QM()&&g.NU(this.app.K,!0)};
g.h.stopVideo=function(){var a=this.app.o;!a.experiments.o("disable_new_pause_state3")&&iO(a)&&"blazer"!=a.playerStyle?this.cancelPlayback():rQ.prototype.stopVideo.call(this)};
g.h.getVideoStats=function(){return g.Z(this.app,this.playerType).Eb(!0)};
g.h.updateSubtitlesUserSettings=function(a){this.app.B.A.SG(a,!0)};
g.h.getSubtitlesUserSettings=function(){var a=this.app.B.A;return a?a.WK():null};
g.h.resetSubtitlesUserSettings=function(){this.app.B.A.pV()};
g.h.isFastLoad=function(){var a=g.Z(this.app,this.playerType);if(!a)return!1;a=a.getVideoData();return!!a&&a.isValid()&&!!a.Ca&&!!a.Ca.video&&a.Ca.video.isAccelerated&&a.Ca.video.C};
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.B.D;b&&b.setSphericalProperties(a,!0)}};
g.h.getSphericalProperties=function(){var a=this.app.B.D;return a?a.getSphericalProperties():{}};
g.h.setBlackout=function(a){this.app.setBlackout(a)};
g.h.onAdUxClicked=function(){};
g.h.setVolume=function(a,b){Nna(this,a,b)};
g.h.mute=function(a){Ona(this,a)};
g.h.unMute=function(a){Pna(this,a)};
g.h.isMutedByMutedAutoplay=function(){return this.app.Ia};
g.h.loadModule=function(a){if("annotations_module"==a){var b=this.app.B.B;b&&!b.loaded&&b.load()}rQ.prototype.loadModule.call(this,a)};
g.h.unloadModule=function(a){if("annotations_module"==a){var b=this.app.B.B;b&&b.loaded&&b.unload()}rQ.prototype.unloadModule.call(this,a)};
g.h.setOption=function(a,b,c){if(!b)return null;var d=this.app.B;switch(a){case "ad":return(a=d.C)&&a.Fc&&a.Fc(b,c);case "kids":return(a=bO(g.Y(d.o))?d.F:null)&&a.Fc(b,c);case "remote":return(a=g.QU(d))&&a.Fc(b,c);case "unplugged":return(a=g.aO(g.Y(d.o))?d.G:null)&&a.Fc(b,c);case "spacecast":return(a=d.Y)&&a.Fc(b,c);case "annotations_module":return(a=d.B)&&a.Fc(b,c);case "creatorendscreen":return(a=d.H)&&a.Fc(b,c)}return rQ.prototype.setOption.call(this,a,b,c)};
g.h.getOptions=function(a){var b=this.app.B;switch(a){case "ad":return(b=b.C)&&b.getOptions&&b.getOptions();case "remote":return(b=g.QU(b))&&b.getOptions();case "annotations_module":return(b=b.B)&&b.getOptions();case "creatorendscreen":return(b=b.H)&&b.getOptions();case "unplugged":return(b=g.aO(g.Y(b.o))?b.G:null)&&b.getOptions();case "kids":return(b=bO(g.Y(b.o))?b.F:null)&&b.getOptions()}if(!a){a=rQ.prototype.getOptions.call(this);if(!a)return a;b.C&&a.push("ad");g.QU(b)&&a.push("remote");b.B&&
a.push("annotations_module");b.H&&a.push("creatorendscreen");g.aO(g.Y(b.o))&&b.G&&a.push("unplugged");bO(g.Y(b.o))&&b.F&&a.push("kids");return a}return rQ.prototype.getOptions.call(this,a)};
g.h.getPlayerSize=function(){var a=this.app.H.getPlayerSize();return{width:a.width,height:a.height}};
g.h.setGlobalCrop=function(a){this.app.H.setGlobalCrop(a)};
g.h.wakeUpControls=function(){var a=g.wQ(this);a&&a.qw()};
g.h.getVideoAspectRatio=function(){return this.app.H.getVideoAspectRatio()};
g.h.setUseFastSizingOnWatch=function(a){this.app.H.setUseFastSizingOnWatch(a)};
g.h.setInternalSize=function(a,b){this.app.H.setInternalSize(new g.Qd(a,b))};
g.h.isContinuousPlayback=function(){return this.app.isContinuousPlayback()};
g.h.updateFullerscreenEduButtonVisibility=function(a){var b=uoa(this);b&&(b.F=a,b.D())};
g.h.updateFullerscreenEduButtonSubtleModeState=function(a){var b=uoa(this);b&&(g.U(b.element,"ytp-fullerscreen-edu-button-subtle",a),a&&!b.H&&(b.element.setAttribute("title","\u041f\u0440\u043e\u043a\u0440\u0443\u0442\u0438\u0442\u0435 \u044d\u043a\u0440\u0430\u043d \u0432\u043d\u0438\u0437, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e"),
g.Ff(b,pW(b.J.Hb(),b.element)),b.H=!0))};g.t(iR,hR);g.h=iR.prototype;g.h.playVideo=function(){K0(this.app,!0,this.playerType);this.app.playVideo(this.playerType)};
g.h.pauseVideo=function(){this.app.pauseVideo(this.playerType)};
g.h.seekBy=function(a,b,c){K0(this.app,!0,this.playerType);this.app.seekBy(a,b,c,this.playerType)};
g.h.seekTo=function(a,b){K0(this.app,!0,this.playerType);this.app.seekTo(a,b,void 0,this.playerType)};
g.h.stopVideo=function(){this.app.stopVideo()};jR.prototype.reset=function(){Dma("")};
jR.prototype.info=function(a,b){(0,g.kR)(a,b,"")};g.t(g.lR,g.K);g.lR.prototype.getId=function(){return this.Ja};
g.lR.prototype.toString=function(){return"CueRange{"+this.namespace+":"+this.Ja+"}["+xoa(this.start)+", "+xoa(this.end)+"]"};
g.lR.prototype.contains=function(a,b){return a>=this.start&&(a<this.end||a==this.end&&this.start==this.end)&&(null==b||a<b&&b<=this.end)};
var woa=1;g.lR.prototype.getId=g.lR.prototype.getId;g.oR.prototype.toString=function(){return this.type+this.id};g.t(g.qR,g.mH);g.h=g.qR.prototype;g.h.hasNext=function(a){return this.loop||!!a||this.Ib+1<this.Lh};
g.h.Wf=function(a){return this.loop||!!a||0<=this.Ib-1};
g.h.za=function(a,b,c){a=void 0!=a?a:this.Ib;a=this.Qa&&a in this.Qa?this.Qa[this.ke[a]]:null;var d=null;a&&(b&&(a.autoplay="1"),c&&(a.autonav="1"),d=new g.AP(this.ib,a),g.L(this,d),d.startSeconds=this.startSeconds||d.clipStart||0,this.listId&&(d.playlistId=this.listId.toString()));return d};
g.h.setShuffle=function(a){this.oG=a;a=this.ke&&null!=this.ke[this.Ib]?this.ke[this.Ib]:this.Ib;this.ke=[];for(var b=0;b<this.Qa.length;b++)this.ke.push(b);this.Ib=a;this.fq++;if(this.oG){a=this.ke[this.Ib];for(b=1;b<this.ke.length;b++){var c=Math.floor(Math.random()*(b+1)),d=this.ke[b];this.ke[b]=this.ke[c];this.ke[c]=d}for(b=0;b<this.ke.length;b++)this.ke[b]==a&&(this.Ib=b);this.fq++}this.U("shuffle")};
g.h.gd=function(a){a=a||"hqdefault.jpg";var b=this.bi[a];if(b||this.ib.K||"sddefault.jpg"==a||"hq720.jpg"==a||"maxresdefault.jpg"==a)return b;if(this.xG.length)return gO(this.ib,this.xG[0],a)};
g.h.we=function(){return this.Ib};
g.h.getLength=function(){return this.Lh};
g.h.wm=function(a){if(a&&(a=a.videoId,!this.Qa[this.Ib]||this.Qa[this.Ib].video_id!=a))for(var b=0;b<this.Qa.length;b++)if(this.Qa[b].video_id==a){this.Ib=b;break}};
g.h.onReady=function(a){this.On=a;this.lc&&g.gF(this.On,0)};
g.h.getPlaylistId=function(){return this.listId?this.listId.toString():null};
g.h.Hm=function(){return this.ib.getVideoUrl(this.za().videoId,this.getPlaylistId())};
g.h.W=function(){this.On=null;g.Hf(this.Qa);g.mH.prototype.W.call(this)};g.t(g.uR,g.AQ);g.h=g.uR.prototype;g.h.Oh=function(){return!0};
g.h.isView=function(){return!1};
g.h.ra=function(){return this.o};
g.h.Dd=function(){return this.o.src};
g.h.zq=function(a){var b=this.getPlaybackRate();this.o.src=a;this.setPlaybackRate(b)};
g.h.vx=function(){this.o.removeAttribute("src")};
g.h.getPlaybackRate=function(){try{return 0<=this.o.playbackRate?this.o.playbackRate:1}catch(a){return 1}};
g.h.setPlaybackRate=function(a){this.getPlaybackRate()!=a&&(this.o.playbackRate=a);return a};
g.h.pq=function(){return this.o.loop};
g.h.setLoop=function(a){this.o.loop=a};
g.h.canPlayType=function(a,b){return this.o.canPlayType(a,b)};
g.h.Yi=function(){return this.o.paused};
g.h.xq=function(){return this.o.seeking};
g.h.Xi=function(){return this.o.ended};
g.h.rq=function(){return this.o.muted};
g.h.Ak=function(a){eM();this.o.muted=a};
g.h.Em=function(){return this.o.played||jM([],[])};
g.h.Of=function(){try{var a=this.o.buffered}catch(b){}return a||jM([],[])};
g.h.Cp=function(){return this.o.seekable||jM([],[])};
g.h.uq=function(){return this.o.getStartDate?this.o.getStartDate():null};
g.h.getCurrentTime=function(){return this.o.currentTime};
g.h.yq=function(a){this.o.currentTime=a};
g.h.getDuration=function(){return this.o.duration};
g.h.load=function(){var a=this.o.playbackRate;this.o.load&&this.o.load();this.o.playbackRate=a};
g.h.pause=function(){this.o.pause()};
g.h.play=function(){var a=this.o.play();return a&&a.then?a:null};
g.h.Be=function(){return this.o.readyState};
g.h.Ap=function(){return this.o.networkState};
g.h.Fb=function(){return this.o.error?this.o.error.code:null};
g.h.mn=function(){return this.o.error?this.o.error.message:""};
g.h.wq=function(){var a={};if(this.o){if(this.o.getVideoPlaybackQuality)return this.o.getVideoPlaybackQuality();this.o.webkitDecodedFrameCount&&(a.totalVideoFrames=this.o.webkitDecodedFrameCount,a.droppedVideoFrames=this.o.webkitDroppedFrameCount)}return a};
g.h.Wi=function(){return!!this.o.webkitCurrentPlaybackTargetIsWireless};
g.h.hw=function(){return!!this.o.webkitShowPlaybackTargetPicker()};
g.h.iw=function(){dM()?this.o!=window.document.pictureInPictureElement?this.o.requestPictureInPicture():window.document.exitPictureInPicture():cM()&&this.o.webkitSetPresentationMode("picture-in-picture"==this.o.webkitPresentationMode?"inline":"picture-in-picture")};
g.h.Cd=function(){return Xh(this.o)};
g.h.nn=function(){return g.hi(this.o)};
g.h.setSize=function(a){return g.gi(this.o,a)};
g.h.getVolume=function(){return this.o.volume};
g.h.setVolume=function(a){eM();this.o.volume=a};
g.h.ku=function(a){if(!this.A[a]){var b=(0,g.A)(this.aO,this);this.o.addEventListener(a,b);this.A[a]=b}};
g.h.aO=function(a){this.dispatchEvent(new FQ(this,a.type,a))};
g.h.setAttribute=function(a,b){this.o.setAttribute(a,b)};
g.h.removeAttribute=function(a){this.o.removeAttribute(a)};
g.h.hasAttribute=function(a){return this.o.hasAttribute(a)};
g.h.Pl=ba(8);g.h.Zn=ba(10);g.h.tj=ba(5);g.h.Vl=ba(12);g.h.ln=function(){NG(this.o)};
g.h.Gd=function(a,b){g.Ph(this.o,a,b)};
g.h.pn=function(a){return Sh(this.o,a)};
g.h.W=function(){for(var a in this.A)this.o.removeEventListener(a,this.A[a]);g.AQ.prototype.W.call(this)};vR.prototype.la=function(){return this.Bb};
vR.prototype.dispose=function(){this.Bb=!0;g.xR(this);this.A=null};BR.prototype.reset=function(){this.Y=DR(this);Foa(this);this.o=new AR(0,0,null);this.B=8;this.C=[];this.G=[];this.D=this.J=NaN;this.A=this.K=0;this.M=!1};
BR.prototype.process=function(a){var b=!1;if(this.C.length){if(Goa(this)&&this.C.length+a.byteLength<this.B)return Hoa(this,a,0),0;b=this.C.length;var c=new Uint8Array(b+a.byteLength);c.set(this.C,0);c.set(new Uint8Array(a.buffer,a.byteOffset,a.byteLength),b);this.C=[];a=new DataView(c.buffer);b=!0}for(var d=c=0;c<a.byteLength;){var e=a.byteLength-c,f=NaN;if(Goa(this)){if(e<this.B)return Hoa(this,a,c),0;switch(this.o.type){case 0:f=ER(this,a,c);b||0!=c||(d=this.o.type);break;case 1836019574:case 1836019558:f=
ER(this,a,c);break;case 1953653094:e=a;f=c;if(!this.K){var k=this.O.Ao?this.A:1;this.K=$I(GR(this,e,f),k)}f=ER(this,e,f);break;case 1836476516:this.A=bJ(GR(this,a,c));FR(this);f=this.o.size-8;break;case 1952867444:e=void 0;isNaN(this.D)||(f=GR(this,a,c),this.O.Wa?e=this.aa(hJ(f),this.A):e=this.D,gJ(f,e),isNaN(this.F)&&(this.F=e),this.D+=this.K,this.V+=this.K);f=this.o.size-8;break;case 1936286840:e=GR(this,a,c),f=iJ(e).Yn[0],this.A=jJ(e),FR(this),this.K=f,f=this.o.size-8}}else f=Math.min(this.B,e);
this.o.offset+=f;this.B-=f;c+=f;if(0==this.B){for(;0!=this.o.type&&this.o.offset==this.o.size&&this.o.parent;)1835295092==this.o.type&&(this.M=!0),this.o.parent.offset+=this.o.size,this.o=this.o.parent;switch(this.o.type){case 0:case 1836019574:case 1836019558:case 1953653094:this.B=8;break;default:this.B=this.o.size-8}}}0<a.byteLength&&this.G.push(a);return d};g.h=Qoa.prototype;g.h.Vd=function(){return""};
g.h.abort=function(){};
g.h.dk=function(){return!0};
g.h.zm=function(){return this.B.length};
g.h.qn=function(){return this.lc};
g.h.Qu=function(){return!!this.o.length};
g.h.Ih=function(){return!!this.o.length};
g.h.Ox=function(){return this.o.shift()};
g.h.kw=function(){return this.o[0]};
g.h.Ux=function(){return!0};
g.h.ox=function(){return!!this.C};
g.h.Bq=function(){return this.C};var epa=0;g.h=fpa.prototype;g.h.eV=function(a){this.status=a.status;a.ok?(this.F=a.body.getReader(),this.H?this.F.cancel("Cancelling"):(this.L=a.headers,this.aa(),this.C=new Uint8Array(RR(this)),ipa(this))):UR(this)};
g.h.OQ=function(a){if(!this.H){var b;window.performance&&window.performance.now&&(b=window.performance.now());var c=(0,g.H)(),d=a.value?a.value:null;(0,g.H)();a.done?(this.F=null,UR(this)):(TR(this)?(hpa(this,d),this.O(c,this.A,b)):(a=this.A,this.D.Rz&&(a+=d.length),this.O(c,a,b),hpa(this,d)),ipa(this))}};
g.h.qD=function(a){this.M=""+a;this.J=!0;UR(this)};
g.h.Vd=function(a){return this.L.get(a)};
g.h.dk=function(){return!!this.L};
g.h.qn=function(){return this.A};
g.h.zm=function(){return+this.Vd("content-length")};
g.h.Qu=function(){return 200<=this.status&&300>this.status&&!!this.A};
g.h.Ih=function(){return!!this.B.length||(this.K||TR(this))&&0<this.o};
g.h.Ox=function(){this.Ih();this.B.length||SR(this);return this.B.shift()};
g.h.kw=function(){this.Ih();this.B.length||SR(this);return this.B[0]};
g.h.abort=function(){this.F&&this.F.cancel("Cancelling");this.G&&this.G.abort();this.H=!0};
g.h.Ux=function(){return!0};
g.h.ox=function(){return this.J};
g.h.Bq=function(){return this.M};g.h=jpa.prototype;g.h.fO=function(){if(!this.A){this.status=this.o.status;try{this.response=this.o.response,this.C=this.response.byteLength}catch(a){}this.B=!0;this.D()}};
g.h.hO=function(){2==this.o.readyState&&this.F()};
g.h.gO=function(a){this.A||(this.status=this.o.status,this.G(a.timeStamp,a.loaded))};
g.h.dk=function(){return 2<=this.o.readyState};
g.h.Vd=function(a){try{return this.o.getResponseHeader(a)}catch(b){return g.$E(b),""}};
g.h.zm=function(){return+this.Vd("content-length")};
g.h.qn=function(){return this.C};
g.h.Qu=function(){return 200<=this.status&&300>this.status&&!!this.response&&!!this.response.byteLength};
g.h.Ih=function(){return this.B&&!!this.response&&!!this.response.byteLength};
g.h.Ox=function(){this.Ih();var a=this.response;this.response=null;return new Uint8Array(a)};
g.h.kw=function(){this.Ih();return new Uint8Array(this.response)};
g.h.abort=function(){this.A=!0;this.o.abort()};
g.h.Ux=function(){return!1};
g.h.ox=function(){return!1};
g.h.Bq=function(){return""};g.h=VR.prototype;g.h.Xa=function(){return this.B?this.B.Xa():""};
g.h.Fb=function(){return this.D};
g.h.start=function(a){$R(this,2);this.G=VR.o();this.A?(this.M=Rka(this.info,this.A.C,this.A.length),this.B=g.OK(this.info,this.C,this.Y,this.M)):(this.M=this.info.range,this.B=g.OK(this.info,this.C,this.Y));var b=!1;if(this.C.Fa&&2>this.info.A.o&&this.K){var c=this.B.get("aitags");if(c&&(NK(this.info)||MK(this.info))&&this.aa&&"auto"==dN()&&jN()){var d=sc(c).split(","),e=[];(0,g.C)(this.aa,function(f){g.Ya(d,f)&&e.push(f)});
0<e.length&&(this.B.set("altitags",g.rc(e.join(","))),b=!0)}}b||(this.K=!1);this.B.set("rn",this.G.toString());0<=a&&this.B.set("rbuf",(1E3*a).toFixed().toString());a=this.B.Xa();try{this.C.cd&&bS(this),this.o=opa(this,a)}catch(f){this.D="net.ssl";aS(this);return}0<this.C.L&&this.O.start()};
g.h.MU=function(){this.H=0;this.info.A.D=g.GH();var a=ZR(this);a.D=g.GH();a.C+=1;a=this.timing;a.o=(0,g.H)();a.F=a.o;a.C=0;a.ha=a.o;a.Y=0;a.H&&(a.H=[]);a.ia=!1;a.ka=!1;a.D=0;a.ga=wN(a.A);a.J=Infinity;a.L=Infinity;cpa(a);dpa(a,a.o);a.ba=(a.O-a.o)/1E3;a.K=NaN;a.aa=null};
g.h.LU=function(a,b,c){if(!this.la()&&this.o){this.F=this.o.status;ppa(this,!1);var d=this.timing;a=a>d.o&&4E12>a?a:(0,g.H)();NR(d,a,b);50>a-d.F&&OR(d)&&3!=IR(d)||bpa(d,a,b,c);b=this.timing;b.C>b.Aa&&JR(b,b.C)&&4>this.state?$R(this,4):dS(this)&&eS(this)&&$R(this,Math.max(3,this.state))}};
g.h.KU=function(){if(!this.la()&&this.o){if(!this.V&&this.o.dk()&&this.o.Vd("X-Walltime-Ms")){var a=parseInt(this.o.Vd("X-Walltime-Ms"),10);this.V=((0,g.H)()-a)/1E3}this.o.dk()&&this.o.Vd("X-Restrict-Formats-Hint")&&this.C.Oz&&!jN()&&g.AI("yt-player-headers-readable",!0,2592E3)}};
g.h.JU=function(){var a=this.o;if(!this.la()&&a){this.O.stop();this.F=a.status;var b=!1;if(400<=a.status)b=!0,this.D="net.badstatus";else if(a.Qu()){var c="";npa(this)&&(c=a.kw(),2048<c.length?c="":(c=XI(c),c=lK(c)?c:""));if(c){a=ZR(this);g.GH();a.C=0;a.A=0;a.o=0;a=this.info;var d=this.B;g.JK(a.A,d,c);a.requestId=d.get("req_id");$R(this,5)}else if(c=a.qn(),(d=!!this.M&&this.M.length)&&d!=c||a.ox())b=!0,this.D="net.closed";else{ppa(this,!0);var e=cS(this)?a.Vd("X-Bandwidth-Est"):0;if(a=cS(this)?a.Vd("X-Bandwidth-Est3"):
0)this.ba=!0,this.C.lz&&(e=a);a=this.timing;d=(0,g.H)();e=e?parseInt(e,10):0;if(!a.ia){a.ia=!0;if(!KR(a)){d=d>a.o&&4E12>d?d:(0,g.H)();NR(a,d,c);bpa(a,d,c);var f=IR(a);if(2==f&&e)LR(a,a.C/e,a.C);else if(2==f||1==f)e=(d-a.o)/1E3,(e<=a.A.policy.D||!a.A.policy.D)&&!a.ka&&OR(a)&&LR(a,e,c),OR(a)&&rN(a.A,c,a.D);c=a.A;d=(d-a.o)/1E3;e=a.ba;f=MK(a.M);c.F.A(d,a.C/d);c.C=g.GH();f||c.A.A(1,d-e)}a.B&&(a.B=!1)}a=ZR(this);g.GH();a.C=0;a.A=0;a.o=0;this.info.A.o=0;$R(this,6)}}else b=!0,this.D=204==a.status?"net.nocontent":
"net.connect";b&&aS(this)}};
g.h.lV=function(){if(!this.la()){var a=(0,g.H)(),b=!1;OR(this.timing)?(a=this.timing.O,dpa(this.timing),this.timing.O-a>=.8*this.C.L?(this.H++,b=5<=this.H):this.H=0):(b=this.timing,b.G&&PR(b,(0,g.H)()),a-=b.V,this.C.vg&&0<a&&(this.H+=1),b=a>1E3*this.C.Nd);this.H&&this.J&&this.J(this);b?mpa(this,!1):this.O.start()}};
g.h.la=function(){return-1==this.state};
g.h.dispose=function(){MK(this.info)&&6!=this.state&&(this.info.o[0].o.F=!1);$R(this,-1);this.J=null;this.O.dispose();bS(this)};
VR.o=function(){return++VR.A};
VR.DEBUG=!1;VR.A=0;g.t(spa,g.mH);oS.prototype.aa=function(a){a=a.info;this.D&&(this.O=this.D);this.D=a;a.o.info.o>=this.K&&(this.K=a.o.info.o)};
oS.prototype.getDuration=function(){return this.A.index.Vj()};yS.prototype.setPlaybackRate=function(a){this.C=Math.max(1,a)};
yS.prototype.getPlaybackRate=function(){return this.C};CS.prototype.za=function(){this.nd("gv")};
CS.prototype.nd=function(a,b){this.D[a]=b?window.performance.timing.navigationStart+b:g.GH()};KS.prototype.send=function(){g.UF(this.A,{format:"RAW",responseType:"arraybuffer",timeout:1E4,Hd:this.C,Id:this.C,context:this});this.o=g.GH()};
KS.prototype.C=function(a){var b={rc:a.status,lb:a.response?a.response.byteLength:0,rt:((g.GH()-this.o)/1E3).toFixed(3),shost:g.hh(this.A),trigger:this.F};204==a.status||a.response?this.B&&this.B(iM(b)):this.D(new hM("pathprobe.net",!1,b))};g.t(aqa,g.mH);g.t(NS,g.K);NS.prototype.removeCueRange=function(a){if(!this.la()){for(var b=arguments.length-1;0<=b;b--){var c=arguments[b];if(c){g.db(this.C,c);var d=this.o,e=d.o;c=g.rb(e,c,d.A);0<=c&&g.cb(e,c)}}this.A()}};
NS.prototype.reset=function(){this.D=!1;this.F.stop();this.o.o=[];this.C=[];this.A()};
NS.prototype.A=function(){this.G=!0;if(!this.H){for(var a=3;this.G&&a;)this.G=!1,this.H=!0,sqa(this),this.H=!1,a--;this.J().sb()&&(a=lqa(this.o,this.B),!isNaN(a)&&0x7ffffffffffff>a&&(a=(a-this.B)/this.M(),this.F.start(a)))}};
NS.prototype.W=function(){this.C=[];this.o.o=[];g.K.prototype.W.call(this)};PS.prototype.then=function(a,b){return this.C.then(a,b)};
PS.prototype.resolve=function(a){this.o(a)};
PS.prototype.reject=function(a){this.A(a)};g.t(QS,g.mH);g.h=QS.prototype;
g.h.initialize=function(a,b,c,d){a=a||0;var e=this.G;d=d&&d.id;DS(e,b);Xpa(e,d);e.L=e.C;Ypa(e);e.D=e.A;b=Vpa(e);this.B=new oS(this.A,b.audio,(0,g.A)(this.hA,this));this.o=new oS(this.A,b.video,(0,g.A)(this.hA,this));if(this.F.A){if(this.A.Yy){e=kL(this.A);for(var f in this.F.o)this.F.o[f].index.B=e}this.Sa=new Toa(this.A,this.o.A.index)}Kqa(this,this.B);Kqa(this,this.o);this.o.C.Y=this.B.C;this.U("videoformatchange",b);this.V=this.o.G;this.H&&cqa(this.H,this.o.A);this.A.B&&iL()&&this.Lc("streaming",
"ac."+(this.A.Bj&&!!window.AbortController),!0);this.D=this.F.A?0:a;c?(this.A.ae?(this.Pb=c,this.K=!0,this.aa=c):(this.K=!0,this.aa=!1),g.rv(this.xa)):(a=0==this.D,aT(this,this.o,this.o.A,a),aT(this,this.B,this.B.A,a),this.seek(this.D),this.ia.za())};
g.h.resume=function(){if(this.K||this.ba)this.aa=this.ba=this.K=!1,this.jg()};
g.h.setAudioTrack=function(a){if(!this.la()){var b=this.G;b.C=b.F.o[a.id];b.L=b.C;this.U("audioformatchange",new yR(b.L,b.D,"m"));this.U("reattachrequired")}};
g.h.setPlaybackRate=function(a){a!=this.J.getPlaybackRate()&&this.J.setPlaybackRate(a)};
g.h.tT=function(a){var b=this.A.vg;if(!(!(b&&2<=a.state)||5<=a.state||a.H<b||GK(a.info.A,this.A,this.ka))){b=this.ka;var c=vK(FK(a.info.A));b=fK(b,c);b.o||b.A||b.C||Bqa(this,a,!0)}if(!this.la()&&3<=a.state){b=this.ia;var d=a.info.o[0].o;c=!b.B&&d.info.video;d=!b.o&&d.info.audio;5==a.state?c?b.nd("vrr"):d&&b.nd("arr"):6==a.state?c?(b.B=a.Xa(),RH(4)):d&&(b.o=a.Xa()):4==a.state&&c&&RH(4);5<=a.state&&(this.A.ia&&(b=$oa(a.timing),c=a.timing,b={rn:a.G.toString(),rt:b.rt,pt:b.pt,stall:b.stall,elt:b.elbowTime,
elb:b.elbowBytes,rqd:c.H?c.H.join(""):""},c=b.rqd,delete b.rqd,c&&this.Lc("rqd",iM({rn:b.rn,d:c})),this.Lc("rqs",iM(b))),a.ba&&this.Lc("sbwe3","1",!0));if(5==a.state)a.start(Math.max(0,a.info.o[0].G-this.D));else if(5<=a.state&&5==a.info.o[0].type)6==a.state&&(b=(a.info.o[0].o.info.video?this.o:this.B).B[0]||null)&&b.H&&mpa(b,!0),a.dispose();else{if(this.A.Fa&&a.K&&4<=a.state&&5!=a.state)if(b=a.o?a.o.Vd("X-Response-Itag"):null){b=Zpa(this.G,b);c=a.info.range.length-b.zp();b.F=!0;a.info.o[0].o.F=!1;
d=b.Wj(c)[0];a.info=d;if(a.A){c=a.A;d=d.o;c.A=d;for(var e=0;e<c.o.length;e++)c.o[e].info=d[e],c.o[e].range=d[e].range}a.K=!1;c=this.o;c.A!=b&&(c.A=b);c=this.o;c.o&&(c.o.o=b);this.U("constraint",b.info.za().quality);(c=a.o?a.o.Vd("X-Segment-Lmt"):null)&&b instanceof g.AL&&(isNaN(b.lastModified)||b.lastModified==c||Kpa(this.o,a))}else a.K=!1;6==a.state||this.A.B&&3<=a.state&&!(5<=a.state)?Aqa(this,a):7==a.state&&(b=a.info.o[0].o,lpa(a)?(c=(b.info.video&&1<b.C.o||410==a.F||500==a.F||503==a.F)&&!IS(this.G),
d=YR(a),e=b.info.video?this.o:this.B,c&&(d.stun="1"),ZS(this,!1,a.Fb(),d),this.la()||(c&&HS(this.G,b),this.A.wg&&1==a.info.o.length&&0<a.info.o[0].C&&b!=e.A&&this.ba?this.U("reattachrequired"):(Kpa(e,a),this.jg()))):(ZS(this,!1,a.Fb(),YR(a)),MK(a.info)?(b.D=a.Fb(),this.jg()):ZS(this,!0,"net.retryexhausted",{})));this.jg();this.A.La&&5<=a.state&&lpa(a)&&GK(a.info.A,this.A,this.ka)&&(b=this.ka,c=vK(a.info.A.A),b=fK(b,c),c=b.C+=b.B,c=this.A.La*Math.pow(1.6,c),b.o||b.D+c>g.GH()||Bqa(this,a,!1))}}};
g.h.jg=function(){US(this);if(this.C&&vM(this.C)&&!this.C.Ae()){var a=this.A.gr&&this.o.D&&this.o.D.H;this.F.isLive&&!a?isNaN(this.L)?(this.L=this.D+3600,wM(this.C,this.L)):this.L<=this.D+1800&&(this.L=Math.max(this.L+1800,this.D+3600),wM(this.C,this.L)):this.C.isView()||(a=Math.max(this.B.getDuration(),this.o.getDuration()),(!isFinite(this.L)||this.L!=a)&&0<a&&(wM(this.C,a),this.L=a))}if(!this.la())if(UL(this.F)&&3==this.F.F)ZS(this,!0,"manifest.net.retryexhausted",{rc:this.F.M.toString()});else if(this.F.C&&
(Npa(this.o)||Npa(this.B)))SS(this),this.U("seekplayerrequired",Infinity),pS(this.o,{s:"oos"}),pS(this.B,{s:"oos"});else if(US(this),Fpa(this.o),!this.la()&&(Fpa(this.B),!this.la())){this.F.A&&(Opa(this.o),Opa(this.B),Eqa(this),pS(this.o,{s:"sqless"}),pS(this.B,{s:"sqless"}),(a=fS(this.o.C))&&a.o&&(a=a.o.D&&!this.A.V,this.Lc(a==this.A.o?"strm":"strmbug","strm."+(a?"1":"0")+";sfmp4."+(this.A.o?"1":"0")+";dfs."+(this.A.V?"1":"0"),!0)));if(this.C){a=this.C.o;var b=this.C.A;this.B.A.J&&Lqa(a,this.B.A.J);
if(Fqa(this)){if(this.A.Jl){if(!a.Jg()){var c=fS(this.B.C);c&&$S(this,a,c)}b.Jg()||(a=fS(this.o.C))&&$S(this,b,a)}}else{if(this.H){c=this.H;var d=this.B,e=nM(this.C.A.sc());if(c.D)c=fqa(c,e);else{if(e=fS(d.C)){var f=e.o;f&&f.D&&f.C&&(d=d.B.length?d.B[0]:null)&&3<=d.state&&7!=d.state&&0==d.info.C&&dS(d)&&(c.D=d,c.J=f,c.C=e.info,c.F=(0,g.H)()/1E3,c.H=c.F,c.G=c.C.startTime)}c=NaN}c&&this.U("seekplayerrequired",c,!0)}if(c=Iqa(this,this.o,b,null))d=this.ia,d.C||(d.C=(0,g.H)(),d.nd("vda"),xP("vda"),d.A&&
RH(4));d=fS(this.o.C);this.A.ka&&!c&&d&&(this.Zb||this.Lc("sbp",this.C.A.Eb({ns:OJ(d.info)})),this.Zb=!0);if(!xM(this.C)){b=mM(b.sc(),this.D+XS);if(!isNaN(b)||rS(this.o)||!a.sc().length||this.A.Y){if(rS(this.o)||this.A.Y)b=NaN;if(a=Iqa(this,this.B,a,b))b=this.ia,b.A||(b.A=(0,g.H)(),b.nd("ada"),xP("ada"),b.C&&RH(4));c=c||a}this.la()||(!this.A.Mz&&!this.C.isView()&&rS(this.o)&&rS(this.B)&&vM(this.C)&&!this.C.Ae()&&(a=this.C,vM(a)&&a.C.endOfStream(),a=this.O,cN(wN(a)),a.D=g.GH()),c&&!zM(this.C)&&g.rv(this.ea))}}}RS(this);
aT(this,this.o,this.o.A,!1);aT(this,this.B,this.B.A,!1);a=this.B.A.D;b=this.o.A.D;if(a||b){c="net.retryexhausted";if("fmt.unparseable"==a||"fmt.unparseable"==b)c="fmt.unparseable";ZS(this,!0,c,{metadata:"1",video:this.o.A.D||"",audio:this.B.A.D||""})}else xqa(this,this.o,this.B),xqa(this,this.B,this.o),this.A.dz&&this.sa&&!this.K&&xN(this.O)&&(a=this.sa,b=(0,g.A)(this.U,this,"error"),c=this.A.uz?(0,g.A)(this.Lc,this,"pathprobe"):null,(new KS(a,"cms",c,b)).send(),this.sa=""),this.A.Do&&this.F.C&&g.rv(this.xa),
this.H&&(a=this.H,a.D?(b=a.H+a.o.Aj,a.B||(b=Math.min(b,a.F+a.o.Qb)),a=Math.max(0,1E3*b-(0,g.H)())):a=NaN,isNaN(a)||g.rv(this.Qb,a)),g.rv(this.Ra)}};
g.h.eO=function(a){this.A.ka&&this.C&&this.Lc("sbu",a.Eb({a:""+ +(a==this.C.o)}));this.jg()};
g.h.rQ=function(a){if(this.C){var b=a==this.C.o?this.B:this.o;a=b&&b.D;var c=b&&b.O;b=void 0;a&&(b=NJ(a));if(c){b=b||{};a=NJ(c);for(var d in a)b["prev_"+d]=a[d]}ZS(this,!0,"fmt.unplayable",b)}};
g.h.dS=function(a){ZS(this,!0,"fmt.unparseable",a)};
g.h.jS=function(a,b,c){this.A.Ry||(!b&&a&&(b=a.info.o[a.info.o.length-1]),b=b?NJ(b):{},b.rn=""+(a?a.G:NaN),b.warning=c,this.Lc("msw",iM(b)))};
g.h.eS=function(a){this.B.A.J=a;this.C&&Lqa(this.C.o,a)};
g.h.iS=function(a){ZS(this,!1,"qoe.avsync",a)};
g.h.fS=function(a,b){this.F.A&&Jqa(this,b,a==this.o)};
g.h.gS=function(a,b){this.F.A&&YL(this.F,b.Ub,a==this.o)};
g.h.hS=function(a,b){this.F.A&&Jqa(this,b,a==this.o)};
g.h.cS=function(a,b){if(this.o&&this.o.A.index.Lb()<=b){a.o+=isNaN(this.Y)?0:this.Y;var c=this.F;c.L.push(a);c.U("cuepointsadded")}};
g.h.seek=function(a){if(this.la())return Gg();if(this.o.G||this.B.G)return Fg();US(this);this.La=g.GH();RS(this,a);var b=this.o.o,c=Mqa(this.o,a,this.C&&this.C.A),d=Mqa(this.B,this.A.Ia?a:c,this.C&&this.C.o);this.D=Math.max(a,c,d);this.M=!0;this.F.A&&this.A.ba&&(c=this.o.o.A,nL(this.o.A.index,c)||b&&b.A==c||(this.V=!0));this.C&&this.C.o&&this.C.A&&(this.C.o.isLocked()||this.C.A.isLocked())&&this.U("reattachrequired");g.rv(this.ea);return Fg(a)};
g.h.getCurrentTime=function(){return this.D};
g.h.W=function(){TS(this);this.B&&uS(this.B);this.o&&uS(this.o);g.mH.prototype.W.call(this)};
g.h.Eb=function(){var a={lct:this.D.toFixed(3),lsk:this.M,lmf:JS(this.G),lbw:uN(this.O).toFixed(3),lhd:sN(this.O).toFixed(3),lst:(1E9*(this.O.B.o()||0)).toFixed(3),laa:this.B&&this.B.D?OJ(this.B.D):"",lva:this.o&&this.o.D?OJ(this.o.D):"",lar:this.B&&this.B.o?OJ(this.B.o):"",lvr:this.o&&this.o.o?OJ(this.o.o):"",lvh:this.Oa};this.C&&!xM(this.C)&&this.C.o&&this.C.A&&(a.lab=kM(this.C.o.sc()),a.lvb=kM(this.C.A.sc()));return a};
g.h.Lc=function(a,b,c){this.U("ctmp",a,b,void 0===c?!1:c)};
g.h.hA=function(a,b){var c=a/b;isNaN(this.Y)&&(this.Y=c-Math.min(c,this.A.Od),this.U("timestamp",this.Y));return(c-this.Y)*b};
var XS=2/24;g.t(bT,g.mH);g.t(dT,bT);dT.prototype.F=function(a,b){if(a&&b){var c=1*uh(a,"cpi")+1;isNaN(c)||0>=c||c<this.C?(this.B.stop(),this.A.stop(),this.C=-1,this.o={}):(c>this.C&&(this.C=c,g.dc(this.o)||(this.o={},this.B.stop(),this.A.stop())),this.o[b]=a,g.rv(this.A))}};
dT.prototype.D=function(){for(var a in this.o)this.U("rotated_need_key_info_ready",new cT(Rqa(this.o[a],this.C,a),"fairplay",!0));this.o={}};var e2={},bAa=(e2.DRM_TRACK_TYPE_AUDIO="AUDIO",e2.DRM_TRACK_TYPE_SD="SD",e2.DRM_TRACK_TYPE_HD="HD",e2.DRM_TRACK_TYPE_UHD1="UHD1",e2);g.t(eT,g.K);eT.prototype.D=function(a){this.la()||(0!=a.status&&a.response?((0,g.LP)("drm_net_r"),a=new Uint8Array(a.response),(a=Uqa(a))?this.C(a):this.o(this,"drm.net","t.p")):this.B(a))};
eT.prototype.B=function(a){this.la()||this.o(this,a.status?"drm.net.badstatus":"drm.net.connect","t.r;c."+a.status)};
eT.prototype.G=function(a){if(!this.la()){(0,g.LP)("drm_net_r");var b="LICENSE_STATUS_OK"==a.status?0:9999,c=null;try{c=g.Pe(a.license)}catch(m){}if(0!=b||c){c=new Sqa(b,c);0!=b&&a.reason&&(c.errorMessage=a.reason);if(a.authorizedFormats){b={};for(var d=[],e={},f=g.r(a.authorizedFormats),k=f.next();!k.done;k=f.next()){k=k.value;var l=bAa[k.trackType];l&&("HD"==l&&a.isHd720&&(l="HD720"),b[l]||(d.push(l),b[l]=!0),e[k.keyId]=l)}c.o=d;c.A=e}a=c}else a=null;a?this.C(a):this.o(this,"drm.net","t.p;p.i")}};
eT.prototype.F=function(a){this.la()||(a=a.error,this.o(this,"drm.net.badstatus","t.r;p.i;c."+a.code+";s."+a.status))};g.t(fT,g.K);g.h=fT.prototype;g.h.nO=function(a){if(this.D){var b=a.messageType||"license-request";this.D.call(this.C,new Uint8Array(a.message),b)}};
g.h.oO=function(){this.H&&this.H.call(this.C,this.o.keyStatuses)};
g.h.pE=function(a,b){g.$E(b);if(this.B){var c=a;b instanceof DOMException&&(c+=";n."+b.name+";m."+b.message);this.B.call(this.C,c)}};
g.h.mO=function(){this.la()||$F("xboxone")&&this.B&&this.B.call(this.C,"closed")};
g.h.RE=function(a){this.D&&this.D.call(this.C,a.message,"license-request")};
g.h.QE=function(a){if(this.B){if(this.A){var b=this.A.error.code;a=this.A.error.systemCode}else b=a.errorCode&&a.errorCode.code,a=a.systemCode;this.B.call(this.C,"t.prefixedKeyError;c."+b+";sc."+a)}};
g.h.PE=function(){this.G&&this.G.call(this.C)};
g.h.update=function(a){if(this.o)return this.o.update(a).then(null,aF((0,g.A)(this.pE,this,"t.update")));this.A?this.A.update(a):this.F.addKey?this.F.addKey(this.K.o,a,this.J,this.sessionId):this.F.webkitAddKey(this.K.o,a,this.J,this.sessionId);return yG()};
g.h.W=function(){this.o&&this.o.close();this.F=null;g.K.prototype.W.call(this)};g.t(gT,g.K);g.h=gT.prototype;
g.h.createSession=function(a){var b=a.initData;if(this.o.A){var c=this.D.createSession();"com.youtube.fairplay"==this.o.o&&(b=Yqa(this,b));b=c.generateRequest(a.contentType,b);c=new fT(null,null,null,c,null);b.then(null,aF((0,g.A)(c.pE,c,"t.generateRequest")));return c}if(tO(this.o)){c=new Uint8Array(270);for(a=0;135>a;a++)c[2*a]='<PlayReadyCDMData type="LicenseAcquisition"><LicenseAcquisition version="1.0" Proactive="true"></LicenseAcquisition></PlayReadyCDMData>'.charCodeAt(a);b=this.C.createSession("video/mp4",
b,c);return new fT(null,null,null,null,b)}if(wO(this.o))return b=Yqa(this,b),b=this.C.createSession("video/mp4",b),new fT(null,null,null,null,b);this.A.generateKeyRequest?this.A.generateKeyRequest(this.o.o,b):this.A.webkitGenerateKeyRequest(this.o.o,b);return this.B=new fT(this.A,this.o,b,null,null)};
g.h.rO=function(a){var b=hT(this,a);b&&b.RE(a)};
g.h.qO=function(a){var b=hT(this,a);b&&b.QE(a)};
g.h.pO=function(a){var b=hT(this,a);b&&b.PE(a)};
g.h.W=function(){g.K.prototype.W.call(this);delete this.A};var f2={},dra=(f2.widevine="DRM_SYSTEM_WIDEVINE",f2.fairplay="DRM_SYSTEM_FAIRPLAY",f2.playready="DRM_SYSTEM_PLAYREADY",f2);g.t(jT,g.K);g.h=jT.prototype;
g.h.kO=function(a,b){if(!this.la()){if(!this.C.experiments.o("html5_provisioning_killswitch"))switch(b){case "license-request":case "license-renewal":case "license-release":break;case "individualization-request":cra(this,a);return;default:this.B.U("ctmp","message_type","t."+b+";l."+a.byteLength)}this.M||((0,g.LP)("drm_gk_f"),this.M=!0,this.B.U("newsession",this));if(uO(this.A)){var c=bra(a);if(!c)return;a=c}"fairplay"==this.A.flavor&&(a=WI(g.Me(a)));c=new eT(a,++this.O,(0,g.A)(this.PR,this),(0,g.A)(this.OR,
this));g.L(this,c);era(this,c)}};
g.h.iO=function(){this.la()||this.J||(this.B.U("sessionready"),this.J=!0)};
g.h.lO=function(a){var b=this;this.la()||(a.forEach(function(c,d){var e=uO(b.A)?d:c,f=new Uint8Array(uO(b.A)?c:d);uO(b.A)&&ira(f);var k=HR(f);ira(f);f=HR(f);b.o[k]?b.o[k].status=e:b.o[f]?b.o[f].status=e:b.o[k]={type:"",status:e}}),this.B.U("keystatuseschange",this))};
g.h.jO=function(a){this.la()||iT(this,"drm.keyerror",!0,a)};
g.h.PR=function(a){if(!this.la())if(0!=a.statusCode)iT(this,"drm.auth",!0,"t.f;c."+a.statusCode,a.errorMessage||void 0);else{(0,g.LP)("drm_kr_s");a.heartbeatParams&&this.B.U("newlicense",a.heartbeatParams);if(a.o&&(this.G=a.o,!kT(this)))if(vO(this.A)){var b=gra(this.G);480<g.TK[b]&&this.B.U("hdentitled",this)}else this.B.U("keystatuseschange",this);a.A&&(this.o=g.Pb(a.A,function(c){return{type:c,status:"unknown"}}));
wO(this.A)&&(a.message=g.Pe(XI(a.message)));this.D&&this.D.update(a.message).then(function(){(0,g.LP)("drm_kr_f")});
this.J&&(this.V=g.GH());"fairplay"==this.A.flavor&&this.B.U("fairplay_next_need_key_info",this.L,a.C)}};
g.h.OR=function(a,b,c){if(!this.la()){var d=!1;if(3<=a.A.A||this.Y&&36E4<g.GH()-this.V)d=!0,b="drm.net.retryexhausted";iT(this,b,d,c);(this.Y&&this.J?0:!d&&this.O==a.number)&&fra(this,a)}};
g.h.W=function(){g.K.prototype.W.call(this)};
g.h.Eb=function(){var a={requestedKeyIds:this.ga,cryptoPeriodIndex:this.cryptoPeriodIndex};this.D&&(a.keyStatuses=this.o);return a};
g.h.Pf=function(){var a=this.G.join();if(kT(this)){var b=[],c;for(c in this.o)"usable"!=this.o[c].status&&b.push(this.o[c].type);a+="/UKS:"+b}return a+="/"+this.cryptoPeriodIndex};mT.prototype.get=function(a){a=this.wm(a);return-1!=a?this.values[a]:null};
mT.prototype.remove=function(a){a=this.wm(a);-1!=a&&(this.keys.splice(a,1),this.values.splice(a,1))};
mT.prototype.set=function(a,b){var c=this.wm(a);-1!=c?this.values[c]=b:(this.keys.push(a),this.values.push(b))};
mT.prototype.wm=function(a){return g.Va(this.keys,function(b){return g.ub(a,b)})};g.t(nT,bT);nT.prototype.D=function(a){var b=(0,g.H)(),c;if(!(c=this.B)){a:{c=a.cryptoPeriodIndex;if(!isNaN(c))for(var d=g.r(this.C.values),e=d.next();!e.done;e=d.next())if(1>=Math.abs(e.value.cryptoPeriodIndex-c)){c=!0;break a}c=!1}c=!c}c?c=0:(c=a.o,c=1E3*Math.max(0,Math.random()*((isNaN(c)?120:c)-30)));this.o.push({time:b+c,info:a});g.rv(this.A,c)};g.t(oT,g.mH);g.h=oT.prototype;g.h.ra=function(){return this.J};
g.h.oR=function(a){ora(this,new Uint8Array(a.initData),a.initDataType)};
g.h.vS=function(a){ora(this,a.initData,a.contentType)};
g.h.bS=function(){var a=this;if(!this.la())if(this.C.experiments.o("html5_drm_set_server_cert")){var b=Xqa(this.K);b?b.then(aF(function(c){a.U("ctmp","setServerCertificate",c)}),aF(function(c){a.U("ctmp","setServerCertificateError","n."+c.name+";m."+c.message)})).then(aF(function(){return rT(a)})):rT(this)}else rT(this)};
g.h.vQ=function(a){if(!this.la()){g.$E(a);var b="t.a";a instanceof DOMException&&(b+=";n."+a.name+";m."+a.message);this.U("licenseerror","drm.unavailable",!0,b,"HTML5_NO_AVAILABLE_FORMATS_FALLBACK")}};
g.h.cA=function(a){this.B.push(a);pT(this)};
g.h.xS=function(a){this.la()||!a||this.ga||(this.ga=a,this.U("heartbeatparams",a))};
g.h.yS=function(){this.la()||(this.B.shift(),this.L=!1,pT(this))};
g.h.HT=function(){if(tO(this.o)&&(this.ea--,0==this.ea)){var a=this.F;a.A.msSetMediaKeys(a.C)}};
g.h.sO=function(a){this.la()||rra(this,hra(a,this.Y))};
g.h.DR=function(){this.la()||this.O||!vO(this.o)||(this.M=Pza,this.U("hdproberequired"),this.U("qualitychange"))};
g.h.W=function(){this.o.A&&this.J.setMediaKeys(null);this.J=null;this.B=[];for(var a=g.r(this.A.values),b=a.next();!b.done;b=a.next())b.value.dispose();a=this.A;a.keys=[];a.values=[];this.aa&&(this.aa.dispose(),this.aa=null);g.mH.prototype.W.call(this)};
g.h.Eb=function(){for(var a={systemInfo:this.o.Eb(),sessions:[]},b=g.r(this.A.values),c=b.next();!c.done;c=b.next())a.sessions.push(c.value.Eb());return a};
g.h.Pf=function(){return 0>=this.A.values.length?"no session":this.A.values[0].Pf()+(this.G?"/KR":"")};g.t(sT,g.mH);sT.prototype.setPlaybackRate=function(a){this.F=a};
sT.prototype.na=function(a){return this.o.experiments.o(a)};uT.prototype.add=function(a){this.o=(this.o+1)%this.A.length;this.A[this.o]=a};
uT.prototype.clear=function(){for(var a=this.A.length,b=0;b<a;b++)this.A[b]=0;this.C=this.o=this.A.length-1};g.t(Hra,g.mH);g.t(AT,g.mH);g.h=AT.prototype;g.h.getCurrentTime=function(){return!isNaN(this.C)&&isFinite(this.C)?this.C:this.A&&zT(this)?this.A.getCurrentTime()+this.D:this.H||0};
g.h.isAtLiveHead=function(a){if(!this.B)return!1;void 0==a&&(a=this.getCurrentTime());return yT(this.B,a)};
g.h.seekTo=function(a,b,c,d,e){b=void 0===b?!0:b;c=void 0===c?!1:c;d=void 0===d?0:d;e=void 0===e?!1:e;var f=a,k=!isFinite(f)||f>=this.Oc();this.B&&(k=yT(this.B,f));(k=!(this.na("html5_disable_liveonly_seeks")&&!k&&g.UP(this.o)))||this.U("ctmp","seeknotallowed",f+";"+this.Oc());if(!k)return this.G&&(this.G=null,Qra(this)),Fg(this.getCurrentTime());if(a==this.C&&this.M)return this.J;this.M&&BT(this);this.J||(this.J=new PS);a&&!isFinite(a)&&ET(this,!1);f=a;HT(this)&&!(this.A&&0<this.A.Be()&&0<BQ(this.A))||
!isFinite(f)&&HP(this.o)||(a=Rra(this,a,c));a&&!isFinite(a)&&ET(this,!1);this.na("html5_seek_resumetime_killswitch")||(this.H=a);this.aa=e;this.C=a;this.B&&(c=this.B,e=a,Jra(c,e,!1),Kra(c,e));this.U("seekto",a,b);if(this.J||this.na("html5_seek_removed_el_killswitch"))b?(this.M=!0,Mra(this)):d&&this.Y.start(d);return this.J};
g.h.Oc=function(a){if(!this.o.Da)return this.o.Oc();if(this.o&&this.o.Ha&&this.o.Ha.o){if(!a&&this.B)return xT(this.B);a=this.o.Oc();this.ka.C&&this.A&&(a=Math.max(a,hoa(this.A)));return a+this.D}this.A?dG()?(a=this.A.uq().getTime(),a=isNaN(a)?0:Math.max(((0,g.H)()-a)/1E3-30,0)):a=BQ(this.A)+this.D||this.D:a=this.D;return a};
g.h.fc=function(){return this.o?this.o.fc()+this.D:this.D};
g.h.W=function(){FT(this,null);g.mH.prototype.W.call(this)};
g.h.wV=function(){var a=this.getCurrentTime()+.1;this.L=Fg(a-this.D);this.seekTo(a,!0)};
g.h.vV=function(a,b){b=void 0===b?!1:b;this.seekTo(a+this.Qc(),!0,b)};
g.h.HV=function(a){this.D=a};
g.h.Qc=function(){return this.D};
g.h.QO=function(a){this.K&&(this.K.o=a.audio.index)};
g.h.na=function(a){return this.ia&&this.ia.experiments.o(a)};g.t(IT,g.mH);g.h=IT.prototype;g.h.getVisibilityState=function(a,b,c,d,e){return a?4:Tra()?3:b?2:c?1:d?5:e?7:0};
g.h.setMinimized=function(a){this.o!=a&&(this.o=a,this.Gk())};
g.h.setInline=function(a){this.D!=a&&(this.D=a,this.Gk())};
g.h.isFullscreen=function(){return 0!=this.C};
g.h.isInline=function(){return this.D};
g.h.isBackground=function(){return Tra()};
g.h.Gk=function(){this.U("visibilitychange");var a=this.getVisibilityState(this.A,this.isFullscreen(),this.o,this.isInline(),this.B);a!=this.G&&this.U("visibilitystatechange");this.G=a};
g.h.W=function(){Wra(this.F);g.mH.prototype.W.call(this)};g.t(KT,g.K);g.h=KT.prototype;g.h.start=function(){this.A.start()};
g.h.stop=function(){this.A.stop()};
g.h.Cb=function(a,b,c){this.C[a]=b;this.o[a]=new NT(!!c)};
g.h.clear=function(){for(var a in this.o)this.o[a].clear()};
g.h.sV=function(){for(var a in this.C)this.o[a].update(this.C[a]());this.A.start()};
NT.prototype.update=function(a){this.A?(this.buffer.add(a-this.o||0),this.o=a):this.buffer.add(a)};
NT.prototype.clear=function(){this.buffer.clear();this.o=0};var Zra={"ad-trueview-indisplay-pv":6,"ad-trueview-insearch":7},$ra={"ad-trueview-indisplay-pv":2,"ad-trueview-insearch":2},asa=/^(\d*)_((\d*)_?(\d*))$/;OT.prototype.isFinished=function(){return this.A};
OT.prototype.start=function(){this.o=!0};
OT.prototype.reset=function(){this.A=this.o=!1};g.t(QT,g.mH);g.h=QT.prototype;g.h.W=function(){window.clearInterval(this.Pb);Wra(this.Ra);this.M.unsubscribe("visibilitystatechange",this.Ra);TT(this);UT(this);RT(this);qU(this);this.G&&(this.G.dispose(),delete this.G);delete this.K;g.Gf(this.o);this.Y=null;this.Oa=!1;g.mH.prototype.W.call(this)};
g.h.getVideoData=function(){return this.o};
g.h.Pt=function(){if(this.o.Mb())dsa(this);else if(this.o.ji||this.o.vk){if(!this.ia||!bU(this))if(this.o.ji)ena(this.o);else{if(this.B){var a=this.B.A;YQ(a,"protected");a.o.videoData.Ze?a.ya():a.o.videoData.subscribe("dataloaded",a.ya,a)}a=this.o;a.qh||a.ua&&HL(a.ua);var b={};a.ua&&(b=EO(CP(a),a.ib.G,a.ua));b=new JO(b,a.ib.experiments,a.lG);g.L(a,b);a.vk=!1;a.af=!0;a=(0,g.A)(a.YM,a);b.F=a;b.C=[];xO(b.D)?LO(b):Wla(b)}}else if(!this.o.af&&this.Zb){b=this.F;a=this.o;var c=this.jb.getPlayerSize(),d=
this.wg();this.M.isFullscreen();if(38==a.cf&&"books"==b.playerStyle)b=a.videoId.indexOf(":"),a=g.rh("//play.google.com/books/volumes/"+a.videoId.slice(0,b)+"/content/media",{aid:a.videoId.slice(b+1),sig:a.ZP});else if(30==a.cf&&"docs"==b.playerStyle)a=g.rh("https://docs.google.com/get_video_info",{docid:a.videoId,authuser:a.Tc,authkey:a.authKey,eurl:b.ya});else if(33==a.cf&&"google-live"==b.playerStyle)a=g.rh("//google-liveplayer.appspot.com/get_video_info",{key:a.videoId});else{var e={html5:"1",
video_id:a.videoId,cpn:a.clientPlaybackNonce,eurl:b.ya,ps:b.playerStyle,el:WP(a),hl:b.Aa,list:a.playlistId,agcid:a.Fj,aqi:a.adQueryId,sts:17969,lact:WH()};g.Oa(e,b.deviceParams);b.xg&&(e.ecver=b.xg);b.Pb&&(e.forced_experiments=b.Pb);a.jf?(e.vvt=a.jf,a.mdxEnvironment&&(e.mdx_environment=a.mdxEnvironment)):$P(a)&&(e.access_token=$P(a));a.zx&&(e.ut=a.zx);a.adFormat&&(e.adformat=a.adFormat);0<=a.slotPosition&&(e.slot_pos=a.slotPosition);a.breakType&&(e.break_type=a.breakType);null!=a.Ej&&(e.ad_id=a.Ej);
null!=a.Gj&&(e.ad_sys=a.Gj);null!=a.eB&&(e.encoded_ad_playback_context=a.eB);a.ql&&(e.tpra="1");b.kh&&(e.cc_lang_pref=b.kh);b.lh&&2!=b.lh&&(e.cc_load_policy=b.lh);b.mute&&(e.mute=b.mute);a.ih&&2!=b.ih&&(e.iv_load_policy=a.ih);a.nk&&(e.itct=a.nk);ZP(a)&&(e.autoplay="1");a.pk&&(e.autonav="1");a.Fv&&(e.noiba="1");a.isMdxPlayback&&(e.mdx="1",e.ytr=a.Bf);a.mdxControlMode&&(e.mdx_control_mode=a.mdxControlMode);a.Zo&&(e.ytrcc=a.Zo);a.Lv&&(e.utpsa="1");a.BC&&(e.is_fling="1");a.Ev&&(e.mute="1");a.vnd&&(e.vnd=
a.vnd);a.mu&&(e.force_ad_param_ad_type="video_ad",e.force_ad_param_url=a.mu,e.force_ad_param_break_type="1",e.force_ad_param_offset_value=0);c.width&&(e.width=c.width);c.height&&(e.height=c.height);a.Hh&&(e.splay="1");a.El&&(e.ypc_preview="1");XP(a)&&(e.content_v=XP(a));a.Zm&&(e.livemonitor=1);b.Tc&&(e.authuser=b.Tc);b.pageId&&(e.pageid=b.pageId);b.Oa&&(e.ei=b.Oa);b.o&&(e.iframe="1");a.contentCheckOk&&(e.cco="1");a.racyCheckOk&&(e.rco="1");b.Nb&&a.Pv&&(e.live_start_walltime=a.Pv);b.Nb&&a.en&&(e.live_manifest_duration=
a.en);b.Nb&&a.playerParams&&(e.player_params=a.playerParams);b.Nb&&a.cycToken&&(e.cyc=a.cycToken);b.Nb&&a.DG&&(e.tkn=a.DG);0!=d&&(e.vis=d);b.enableSafetyMode&&(e.enable_safety_mode="1");a.cq&&(e.kpt=a.cq);a.eq&&(e.kids_age_up_mode=a.eq);a.Xr&&(e.upg_content_filter_mode="1");b.widgetReferrer&&(e.widget_referrer=b.widgetReferrer.substring(0,128));(c=b.Oo)&&(e.embedding_app=c);(c=g.fna(a))&&(e.uloc=c);a.Wm&&(e.internalipoverride=a.Wm);b.Nb&&a.th&&(e.wpid=a.th);b.wg&&(e.embed_config=b.wg);b.Rr&&(e.co_rel=
"1");0<b.yc.length&&(e.ancestor_origins=Array.from(b.yc).join(","));void 0!=b.homeGroupInfo?e.home_group_info=b.homeGroupInfo:void 0!=a.homeGroupInfo&&(e.home_group_info=a.homeGroupInfo);void 0!=b.livingRoomAppMode&&(e.living_room_app_mode=b.livingRoomAppMode);b.enablePrivacyFilter&&(e.enable_privacy_filter="1");for(var f in e)"home_group_info"!==f&&e[f]&&512<e[f].length&&(g.$E(Error("GVI param too long: "+f)),e[f]="");a=g.rh(b.D+"get_video_info",e)}b=2;this.o.isAd()&&(b=0);e=this.o;f=this.F.Fa;c=
this.F.gc;e.la()||(e.OB=a,e.yx=b,e.al=f,e.CC=c,e.HF=!e.na("disable_gvi_cors"),e.Cu=e.ib.experiments.A("html5_get_video_info_timeout_ms")||0,e.PB=e.na("html5_get_video_info_promiseajax"),e.af=!0,e.UF())}};
g.h.MS=function(a){var b=this;this.la()||a.videoData.la()||(this.K=a,Nra(this.G,this.K),!this.o.Da||0<this.o.Dh&&!HP(this.o)||(this.seekTo(zU(this),!0),jU(this,"playbackData")),this.o.Ha.o&&(this.D?g.bF(Error("Duplicated Loader")):g.yU(this)),wU(this),this.na("html5_nonblocking_media_capabilities")&&xra(a).then(function(){xU(b);Dra(b.V,b.K)}))};
g.h.NS=function(a){this.la()||(a instanceof hM?this.M.isBackground()?(HU(this,"vp_none_avail"),this.sa=null,this.ba.reset()):(this.ba.A=!0,g.$T(this,a.errorCode,"HTML5_NO_AVAILABLE_FORMATS_FALLBACK",iM(a.details))):g.$E(a))};
g.h.sendAbandonmentPing=function(){g.X(this.getPlayerState(),128)||(this.U("internalAbandon"),TT(this),RT(this))};
g.h.logEvent=function(a,b){if(this.B){var c=this.B,d={};d.rt=g.zQ(c.o).toFixed(3);g.Oa(d,Zna(c.o));var e=c.o.o,f=c.o.videoData;e={ns:e.ba,html5:"1",el:WP(f),ps:e.playerStyle,fexp:e.experiments.experimentIds.join(",")||void 0,feature:f.rx||f.Tk||void 0,ctrl:f.Af||void 0,ytr:f.Bf||void 0,list:f.playlistId};ZP(f)&&(e.autoplay="1");f.subscribed&&(e.subscribed=f.subscribed);g.Oa(d,e);delete d.fexp;g.Oa(d,a);d=g.FF(c.o.o.D+"player_204",d);gR(c,d,b)}};
g.h.getPlayerState=function(){return this.C};
g.h.getPlayerType=function(){return this.Wa};
g.h.getPreferredQuality=function(){if(this.K){var a=this.V;var b=this.K,c=YM(b.videoData.Zr,b.videoData.Et);"auto"!=dN()||(c=YM(c,Cra(a,b)));a=ZM(c)}else a="auto";return a};
g.h.playVideo=function(){var a=this,b,c,d;return xa(function(e){if(1==e.o){if(g.X(a.C,128))return e["return"]();if(a.sd)return a.sd=!1,DU(a),e["return"]();hU(a);g.X(a.C,64)&&WT(a,KQ(a.C,8));a.ga.isFinished()&&a.A?a.na("html5_playVideo_async_killswitch")||a.K||!a.sa?(e.o=2,e=void 0):e=ua(e,a.sa,2):e=e["return"]();return e}if(!a.o.Ha)return b=a.o.Da&&!g.PM(a.F.G)?"html5.unsupportedlive":a.o.Wc?"fmt.unplayable":"fmt.noneavailable",g.bF(Error("selectableFormats")),g.$T(a,b,"HTML5_NO_AVAILABLE_FORMATS_FALLBACK",
"selectableFormats.1"),e["return"]();if(a.M.A&&a.o.Ha.o)return eU(a),e["return"]();if(a.o.Da){c=a.getCurrentTime()<a.fc()-15;d=g.UP(a.o)&&g.X(a.C,4);if(c||d)d?(a.seekTo(Infinity,!0),jU(a,"unpauseLiveOnly")):(a.seekTo(a.fc(),!0),jU(a,"outOfWindow"));!a.isAtLiveHead(void 0,!0)&&GT(a.G)&&(a.seekTo(Infinity,!0),jU(a,"peggedToLive"));var f;if(f=g.X(a.C,256)&&a.o.Me)f=a.G,f=f.M&&!isFinite(f.C);if(f)return WT(a,MQ(a.C,8,4)),e["return"]()}if(fU(a))return a.F.vr?g.gF((0,g.A)(a.Tq,a),0):a.Tq(),e["return"]();
a.Tq();e.o=0})};
g.h.oV=function(){this.o.ua&&HL(this.o.ua)?usa(this):(sU(this),WT(this,KQ(this.C,16)),fU(this),OQ(this.C)&&this.playVideo())};
g.h.getUserPlaybackQualityPreference=function(){return this.o.Ha&&!this.o.Ha.o?ZM(this.o.Zr):dN()};
g.h.getAvailableAudioTracks=function(){return this.o.getAvailableAudioTracks()};
g.h.getAudioTrack=function(){return this.o.getAudioTrack()};
g.h.CN=function(){this.F.experiments.A("html5_background_quality_cap")&&this.D&&xU(this);this.F.experiments.o("html5_cut_vss_on_visibility")&&this.B&&g.yQ(this.B.C);this.F.Zp&&!this.o.backgroundable&&this.A&&!this.M.A&&(this.M.isBackground()&&this.A.tq()?(this.xb("bgmobile","suspend"),g.oU(this,!0)):this.M.isBackground()||fU(this)&&this.xb("bgmobile","resume"))};
g.h.HR=function(a){if(this.H){var b=this.H;tO(b.o)&&(a=Moa(a),qT(b,new cT(a)))}};
g.h.wS=function(a,b){this.H?qT(this.H,new cT(b,a)):this.Ab.push({type:a,info:b})};
g.h.JE=function(){g.QM&&this.ka&&this.ka.o&&this.H&&(qra(this.H,this.ka.o),this.ka=null)};
g.h.qU=function(a){this.o.ZG=VM("auto",a,!1,"u");xU(this)};
g.h.AN=function(a){lU(this,a.reason,a.video.info,a.audio.info)};
g.h.VR=function(a){esa(this,a.reason,a.audio.info)};
g.h.jn=function(a){ssa(this,a);if("html5.invalidstate"!=a.errorCode&&"fmt.unplayable"!=a.errorCode&&"fmt.unparseable"!=a.errorCode||!BU(this,a.errorCode,a.details)){var b=/^pp/.test(this.o.clientPlaybackNonce);if(psa(a)){a.details.sts="17969";if(qsa(this)){g.X(this.C,4)||!this.na("html5_suspended_reload_killswitch")&&g.X(this.C,512)?(this.sd=!0,UT(this)):(this.B&&(a.o&&(a.details.e=a.errorCode,a.errorCode="qoe.restart",a.o=!1),this.B.onError(a.errorCode,iM(a.details))),DU(this));return}a:if(!(6048E5>
g.GH()-this.F.Bj)){try{window.location.reload(!0);break a}catch(c){}this.na("tvhtml5_retire_old_players")&&g.$N(this.F)&&tsa(this)}}if(rsa(a)&&this.o.Ha&&this.o.Ha.A){if(this.B)this.B.onError(a.errorCode,iM(a.details));this.xb("highrepfallback","1",!0);!this.na("html5_hr_logging")&&/^hr/.test(this.o.clientPlaybackNonce)&&btoa&&this.xb("afmts",btoa(this.o.adaptiveFormats));Gna(this.o);ST(this);UT(this);AU(this);this.playVideo()}else a.o?(b=this.D?this.D.G.B:null,b=rsa(a)&&b&&b.isLocked()?"FORMAT_UNAVALIABLE":
void 0,g.$T(this,a.errorCode,b,iM(a.details))):this.B&&(this.B.onError(a.errorCode,iM(a.details)),b&&"manifest.net.connect"==a.errorCode&&(a="https://www.youtube.com/generate_204?cpn="+this.o.clientPlaybackNonce+"&t="+g.GH(),(new KS(a,"manifest",(0,g.A)(function(c){this.xb("pathprobe",c)},this),(0,g.A)(function(c){this.onError(c.errorCode,iM(c.details))},this.B))).send()))}};
g.h.pauseVideo=function(a){a=void 0===a?!1:a;if((g.X(this.C,64)||g.X(this.C,2))&&!a)if(g.X(this.C,8))WT(this,MQ(this.C,4,8));else return;if(this.A||this.F.experiments.o("html5_pause_video_fix"))g.X(this.C,128)||(a?WT(this,KQ(this.C,256)):WT(this,MQ(this.C,4,8))),this.A&&this.A.pause(),g.UP(this.o)&&this.D&&tU(this,!1)};
g.h.stopVideo=function(){this.pauseVideo();this.D&&(tU(this,!1),SS(this.D))};
g.h.seekTo=function(a,b,c,d,e){a=void 0===a?0:a;b=void 0===b?!1:b;d=void 0===d?!1:d;e=void 0===e?!1:e;g.X(this.C,2)&&fU(this);this.G.seekTo(a,b,d,c,e)};
g.h.getCurrentTime=function(){return this.G.getCurrentTime()};
g.h.getPlaylistSequenceForTime=function(a){return this.o.getPlaylistSequenceForTime(a-this.Qc())};
g.h.getDuration=function(){return this.o.lengthSeconds?this.o.lengthSeconds+this.Qc():zU(this)?zU(this):0};
g.h.TK=function(){var a=new Bla;if(this.D){var b=this.F.schedule;a.C=b.J;a.D=b.K;a.bandwidthEstimate=vN(b);a.o="d."+sN(b).toFixed(2)+";st."+(1E9*(b.B.o()||0)).toFixed(2)+";bw."+b.o.o().toFixed(0)+";abw."+b.F.o().toFixed(0)+";v50."+pN(b.A,.5).toFixed(2)+";v92."+pN(b.A,.92).toFixed(2)+";v96."+pN(b.A,.96).toFixed(2)+";v98."+pN(b.A,.98).toFixed(2);b=this.D;if(b.C&&!xM(b.C)&&(a.A=rS(b.o)?b.o.D.F:oM(b.C.A.sc(),b.D),a.B=rS(b.B)?b.B.D.F:oM(b.C.o.sc(),b.D),b.A.ia)){var c=tS(b.o),d=tS(b.B),e=kM(b.C.A.sc(),
"_"),f=kM(b.C.o.sc(),"_");a.o=(a.o||"")+(";lvq."+c+";laq."+d+";lvb."+e+";lab."+f)}a.bandwidthEstimate=zS(b.J)}else this.A&&(a.A=CQ(this.A));a.F=this.FB();return a};
g.h.Eb=function(a){var b={};if(void 0===a?0:a){this.B?g.Oa(b,this.B.Eb()):this.o&&(b.cpn=this.o.clientPlaybackNonce);this.A&&(g.Oa(b,this.A.Eb()),g.Oa(b,this.Bu()));this.D&&g.Oa(b,this.D.Eb());this.H&&(b.drm=this.H.Eb());b.state=this.C.o.toString(16);g.X(this.C,128)&&(b.debug_error=this.C.A);iU(this)&&(b.prerolls=this.O.join(","));this.o.Zf&&(b.ismb=this.o.Zf);"UNKNOWN"!=this.o.latencyClass&&(b.latency_class=this.o.latencyClass);this.o.isLowLatencyLiveStream&&(b.lowlatency="1");this.o.Da&&(this.o.ua&&
WL(this.o.ua)&&(b.segduration=WL(this.o.ua)),a=this.G,b.lat=a.K?Era(a.K.B):0);b.relative_loudness=this.o.lj.toFixed(3);if(a=g.kU(this))b.optimal_format=a.za().qualityLabel;b.user_qual=dN()}b.debug_videoId=this.o.videoId;return b};
g.h.addCueRange=function(a){var b=this.L;a=[a];b.A();mqa(b.o,a);b.B=NaN;b.A()};
g.h.removeCueRange=function(a){this.L.removeCueRange(a)};
g.h.tU=function(){VT(this)};
g.h.sU=function(a){g.$T(this,"auth",unescape(a.reason),a.errordetail||"sec."+a.errorcode,a.subreason)};
g.h.BN=function(a){var b=a.target.Dd();if(this.A&&this.A.Dd()&&this.A.Dd()==b){zsa(this,a.type);switch(a.type){case "error":var c=EQ(this.A)||"";if("capability.changed"==c){eU(this);return}if(0<this.A.Fb()&&BU(this,c,{msg:this.A.mn()}))return;if(this.M.isBackground()&&4==this.A.Fb()){g.oU(this);HU(this,"unplayable");return}break;case "durationchange":c=this.A.getDuration();(!this.J||isFinite(c)&&0<c)&&1!=c&&this.o.lengthSeconds!=c&&(this.o.lengthSeconds=c,VT(this));break;case "ratechange":this.D&&
this.D.setPlaybackRate(this.A.getPlaybackRate());c=this.L;c.D=!0;c.A();if(this.B){c=this.getPlaybackRate();var d=this.B.A,e=g.zQ(d.o);c&&c!=d.ia&&(g.TQ(d,e,"rate",[c]),d.ia=c);d.D(e)}break;case "loadedmetadata":Asa(this),this.U("onLoadedMetadata");case "loadstart":window.clearInterval(this.Pb);this.Ot()||(this.Pb=g.hF((0,g.A)(this.Ot,this),100));break;case "progress":case "suspend":EU(this);this.U("onLoadProgress",this,this.A?g.UP(this.o)?1:VP(this.o)?this.isAtLiveHead()||GT(this.G)?1:Sra(this.G):
DQ(this.A):0);break;case "playing":(0,g.LP)("plev",void 0,"");xP("plev");this.rd&&(this.rd=!1,this.isAtLiveHead()||(this.seekTo(Infinity,!0),jU(this,"onPlaying")));break;case "timeupdate":c=this.A&&!this.A.getCurrentTime();d=this.A&&0==this.A.Be();if(c&&(!this.Fa||d))return;this.Fa=this.Fa||!!this.A.getCurrentTime();this.Ot();EU(this);if(!this.A||this.A.Dd()!=b)return;this.U("onVideoProgress",this,this.getCurrentTime());break;case "waiting":if(0<this.A.Em().length&&0==this.A.Of().length&&0<this.A.getCurrentTime()&&
5>this.A.getCurrentTime()&&this.D)return;break;case "resize":Asa(this);this.o.Ca&&"auto"==this.o.Ca.za().quality&&this.U("internalvideoformatchange",this.o,!1);break;case "pause":if(this.ae&&g.X(this.C,8)&&!g.X(this.C,1024)&&0==this.getCurrentTime()&&JN){HU(this,"safari_autoplay_disabled");return}}if(this.A&&this.A.Dd()==b){this.U("videoelementevent",a);b=this.C;if(!g.X(b,128)){c=this.Aa;var f=this.A;d=this.F.experiments;e=b.o;f=f?f:a.target;var k=f.getCurrentTime();if(!g.X(b,64)||"ended"!=a.type&&
"pause"!=a.type){var l=f.Xi()||1<k&&1.1>Math.abs(k-f.getDuration()),m="pause"==a.type&&f.Xi(),n="ended"==a.type;d&&d.o("html5_waiting_before_ended")&&(n=n||"waiting"==a.type||"timeupdate"==a.type&&!g.X(b,4)&&!GQ(c,k));if(m||l&&n)0<f.Ap()&&f.Dd()&&(e=14);else switch(a.type){case "error":EQ(f)&&(e|=128);break;case "pause":g.X(b,256)?(e^=256)||(e=64):g.X(b,32)||g.X(b,2)||g.X(b,4)||(e=4,g.X(b,1)&&g.X(b,8)&&(e|=1));break;case "playing":e=(e|8)&-3077;d&&d.o("html5_playing_clears_unstarted_killswitch")||
(e&=-65);GQ(c,f.getCurrentTime())&&(e&=-2);g.X(b,1)&&IQ(c,f)&&(e|=1);break;case "seeking":e|=16;d&&d.o("html5_seeking_buffering_only_playing")&&!g.X(b,8)||(e|=1);e&=-3;break;case "seeked":e&=-17;break;case "waiting":g.X(b,2)||(e|=1);IQ(c,f);break;case "timeupdate":k=g.X(b,8),l=g.X(b,16),m=g.X(b,4),(d&&d.o("html5_paused_timeupdate_killswitch2")?k&&!m||l:(k||l)&&!m)&&GQ(c,f.getCurrentTime())&&(e=8),IQ(c,f)&&(e|=1)}}c=e;d=null;if(c&128)if(k=a.target,d=EQ(k)){e="GENERIC_WITHOUT_LINK";f="mediaElem.1";
if(k=k.mn())f+=";msg."+k,/AUDIO_RENDERER/.test(k)&&(e="HTML5_AUDIO_RENDERER_ERROR");.001>Math.random()&&(f+=";gpu."+(0,g.cU)());d={errorCode:d,errorDetail:f,message:g.nU[e]||"",messageKey:e}}else d=null;b=JQ(b,c,d)}!g.X(this.C,1)&&g.X(b,1)&&JU(this,"evt_"+a.type);WT(this,b)}}};
g.h.kQ=function(a){a="available"==a.o.availability;a!=this.yc&&(this.yc=a,this.U("airplayavailabilitychange"))};
g.h.lQ=function(){var a=this,b=g.GH();if(this.na("html5_hlsvp_airplay_killswitch")||isNaN(this.cd)||!(2E3>b-this.cd)){var c=this.A.Wi();this.cd=b;c!=this.M.A&&(Xra(this.M,c),this.na("html5_hlsvp_airplay_killswitch")&&!c||eU(this).then(function(){a.na("html5_airplay_update_resource_killswitch")||fU(a)}));
this.U("airplayactivechange")}};
g.h.Ot=function(){var a=this.A;a&&this.Fa&&!this.o.Me&&!wP("vfp","")&&2<=a.Be()&&!a.Xi()&&0<nM(a.Of())&&(0,g.LP)("vfp",void 0,"");return(a=this.A)&&!this.o.Me&&0<a.getDuration()&&(!wP("pbp","")&&a.Yi()&&2<=a.Be()&&0<nM(a.Of())&&(0,g.LP)("pbp",void 0,""),a=a.getCurrentTime(),GQ(this.Aa,a))?(wsa(this),!0):!1};
g.h.AL=function(){if(this.A&&!g.X(this.C,128)){this.o.Gh&&this.F.experiments.A("html5_log_rebuffer_events")&&zsa(this,"pfx");var a=this.getCurrentTime();if(g.X(this.C,8)&&GQ(this.Aa,a))WT(this,LQ(this.C,1));else if(g.X(this.C,8)&&joa(this.Aa,a,g.GH(),CQ(this.A))){var b=this.getDuration();!this.o.Da&&b&&1.1>Math.abs(b-a)?this.A.pq()?this.seekTo(0,!0):PT(this):(g.PQ(this.C)||JU(this,"progress_fix"),WT(this,KQ(this.C,1)))}else g.X(this.C,4)&&g.PQ(this.C)&&5<CQ(this.A)&&WT(this,LQ(this.C,1));EU(this)}};
g.h.KK=function(){return this.D?zS(this.D.J):vN(this.F.schedule)};
g.h.RK=function(){return this.F.schedule.J};
g.h.FB=function(){return this.isAtLiveHead()&&this.C.sb()?this.IB():NaN};
g.h.IB=function(){if(!this.o.Da||!this.o.ua||!this.D)return NaN;var a=HP(this.o)?this.D.ya.o()||0:this.o.ua.H;return(0,g.H)()/1E3-FU(this)-a};
g.h.lL=function(){this.o.Da||this.U("connectionissue")};
g.h.Tq=function(){var a=this;if(this.Ia=this.A.playVideo()){var b=this.Ia;b.then(void 0,function(c){if(!(g.X(a.C,4)||g.X(a.C,256)||a.Ia!=b||!a.na("html5_ignore_mediaelement_playerror_killswitch")&&c&&"AbortError"==c.name&&c.message&&c.message.includes("load"))){var d="promise";!a.na("html5_log_dompause_err_killswitch")&&c&&c.name&&(d+=";m."+c.name);WT(a,KQ(a.C,2048));HU(a,d);a.ae=!0}})}};
g.h.LR=function(a,b,c,d){d=void 0===d?"LICENSE":d;c=c.substr(0,256);if("drm.keyerror"==a&&this.H&&1<this.H.A.keys.length&&96>this.kf)a="drm.sessionlimitexhausted",b=!1;else if(this.na("html5_drm_fallback_to_playready_on_retry")&&"drm.keyerror"==a&&2>this.vg&&(this.vg++,ST(this),1<this.o.Mn.length&&(this.o.Ze=this.o.Mn[1]),BU(this,a,{detail:c})))return;if(b)g.$T(this,a,d,c);else if(this.B)this.B.onError(a,c);"drm.sessionlimitexhausted"==a&&(this.kf++,this.A&&(this.J?(ST(this),UT(this),AU(this)):(this.o.Xd&&
this.o.Xd.Dx(),this.A.stopVideo()),this.playVideo()))};
g.h.NR=function(){var a=this,b=this.F.experiments.A("html5_license_constraint_delay"),c=nG();b&&c?(b=new g.V(function(){wU(a);VT(a)},b),g.L(this,b),b.start()):(wU(this),VT(this))};
g.h.MR=function(){var a=this;g.QM&&(this.ka=ula(this.o.ua))&&(this.ka.o?g.vg(function(){a.JE()}):Nqa(this.D,this.ka))};
g.h.yN=function(a){this.U("heartbeatparams",a)};
g.h.zN=function(a){this.xb("keystatuses",jra(a));if(this.na("html5_drm_output_restricted_killswitch")){var b=0;this.o.Ca&&(b=this.o.Ca.za().o);var c=this.na("html5_drm_start_from_null_constraint"),d=c&&!(lT(a,"AUDIO")&&lT(a,"SD"));mra(a)&&(!c&&480<b||d)&&this.U("drmoutputrestricted")}else b="auto",this.o.Ca&&(b=this.o.Ca.za().quality),!mra(a,b)||this.na("html5_drm_start_from_null_constraint")&&lT(a,"AUDIO")&&lT(a,"SD")||this.U("drmoutputrestricted")};
g.h.SR=function(){if(!this.o.Me&&this.A&&!this.M.isBackground()){var a="0";0<this.A.Be()&&5<=CQ(this.A)&&this.o.Ha&&this.o.Ha.o&&(WT(this,KQ(this.C,1)),JU(this,"load_soft_timeout"),this.U("playbackstalledatstart"),a="1");this.B&&(GU(this),a={restartmsg:a},iU(this)&&(a.prerolls=this.O.join(",")),this.D&&g.Oa(a,this.D.Eb()),this.A&&g.Oa(a,this.A.Eb()),this.B.onError("qoe.start15s",iM(a)));this.U("loadsofttimeout")}};
g.h.Ex=function(){if(!this.Oa){var a=new bQ(this.o,this.na("web_player_inline_botguard"));if("c1a"in a.A&&!Jna(a))g.gF((0,g.A)(this.Ex,this),4500);else{if(a.o&&a.o.Ij){var b=[a.o.Ij];for(d in a.C)if(a.A[d]&&a.C[d]){var c=a.C[d](a.A);c&&b.push(c)}a=b.join("&")}else a=null;if(a&&this.B){b=this.B;if(!b.L){var d=fR(b,"atr");d.H=a;d.send();b.L=!0}this.Oa=!0}}}};
g.h.fc=function(){return this.G.fc()};
g.h.Qc=function(){return this.G?this.G.Qc():0};
g.h.setPlaybackRate=function(a){var b=this.o.Ha&&this.o.Ha.videoInfos&&32<this.o.Ha.videoInfos[0].za().fps&&g.$N(this.F);this.Sa!=a&&b&&(this.V.setPlaybackRate(a),vU(this));this.Sa=a;this.A&&this.A.setPlaybackRate(a)};
g.h.getPlaybackRate=function(){return this.Sa};
g.h.getPlaybackQuality=function(){var a="unknown";if(this.o.Ca&&(a=this.o.Ca.za().quality,"auto"==a&&this.A)){var b=ZT(this);b&&0<b.videoHeight&&(a=SK(b.videoWidth,b.videoHeight))}return a};
g.h.sendVideoStatsEngageEvent=function(a,b){if(this.B){var c=fR(this.B,"engage");c.D=a;c.send(b)}else b&&b()};
g.h.isAtLiveHead=function(a,b){return this.o.Da&&(this.tc||(void 0===b?0:b))?this.G.isAtLiveHead(a):!1};
g.h.Bu=function(){return this.A?this.A.wq():{}};
g.h.setLoop=function(a){this.Nd=a;this.A&&this.A.setLoop(a)};
g.h.kN=function(a){this.na("html5_unrewrite_timestamps")&&this.xb("timestamp",a.toString())};
g.h.xb=function(a,b,c){if(this.B){var d=this.B;d.la()||VQ(d.A,a,b,void 0===c?!1:c)}};
g.h.na=function(a){return this.F.experiments.o(a)};g.t(g.KU,hR);g.h=g.KU.prototype;g.h.getPlayerType=function(){return this.playerType};
g.h.ag=function(){var a=g.LU(this).K;return!!a&&a.ag()};
g.h.getRootNode=function(){return g.PU(this).element};
g.h.getPlaylist=function(){return this.app.getPlaylist()};
g.h.getVideoData=function(a){return(a=g.Z(this.app,a||this.playerType))&&a.getVideoData()};
g.h.Re=function(a){return this.app.Re(a||this.playerType)};
g.h.isWidescreen=function(){return this.app.isWidescreen()};
g.h.playVideo=function(a){3==this.getPresentingPlayerType()?g.QU(this.app.B).Th("control_play"):this.app.playVideo(a)};
g.h.stopVideo=function(a){g.Z(this.app,a).stopVideo()};
g.h.addEventListener=function(a,b){this.app.aa.subscribe(a,b)};
g.h.removeEventListener=function(a,b){this.app.aa.unsubscribe(a,b)};
g.h.setPlaybackQuality=function(a){this.setPlaybackQualityRange(a,a)};
g.h.getDebugText=function(a){return this.app.getDebugText(a)};
g.h.getVideoUrl=function(a,b,c,d){var e=this.getPresentingPlayerType(),f=2==e;if(d&&f||3==e)f=!1,e=1;d=this.getVideoData(e);if(!d)return"";var k;a||d.Da||(k=Math.floor(this.getCurrentTime(e)));return this.app.o.getVideoUrl(d.videoId,f?void 0:this.getPlaylistId()||void 0,k,b,c)};
g.h.ce=function(){var a=g.LU(this).B;return!!a&&a.ce()};
g.h.se=function(){var a=g.LU(this).B;return!!a&&a.se()};
g.h.setCardsVisible=function(a,b,c){var d=g.LU(this).B;d&&d.setCardsVisible(a,b,c)};
g.h.dl=ba(13);g.h.an=function(){var a=g.LU(this).L;return!!a&&a.an()};
g.h.Jc=function(){if(g.Y(this).L)return!1;var a=g.Z(this.app,1);if(!a)return!1;var b=a.getVideoData();return!b.isValid()||g.UP(b)||2==this.getPresentingPlayerType()&&!this.app.isContinuousPlayback()||iU(a)&&3!=this.getPresentingPlayerType()?!1:!0};
g.h.gD=function(){var a=g.Z(this.app);a&&a.A&&a.A.iw()};
g.h.sendVideoStatsEngageEvent=function(a,b,c){this.app.sendVideoStatsEngageEvent(a,c||this.playerType,b)};
g.h.setPlaybackRate=function(a,b){this.app.setPlaybackRate(a,b)};
g.h.setVolume=function(a){a=g.Jd(a,0,100);vQ(this.app,{volume:a,muted:this.isMuted()},!0)};
g.h.mute=function(){vQ(this.app,{muted:!0,volume:this.getVolume()},!0)};
g.h.unMute=function(){vQ(this.app,{muted:!1,volume:Math.max(5,this.getVolume())},!0)};
g.h.getBandwidthEstimate=function(){return vN(g.Y(this).schedule)};
g.h.getPresentingPlayerType=function(){return this.app.getPresentingPlayerType()};
g.h.clearQueue=function(){this.app.clearQueue()};
g.h.na=function(a){return g.Y(this).experiments.o(a)};g.B(g.lV,g.mH);g.h=g.lV.prototype;g.h.init=function(){};
g.h.load=function(){this.loaded=!0};
g.h.unload=function(){this.loaded=!1};
g.h.Fc=function(){};
g.h.uc=function(){return!0};
g.h.W=function(){this.loaded&&this.unload();g.lV.fa.W.call(this)};
g.h.Eb=function(){return{}};
g.h.getOptions=function(){return[]};g.t(nV,mV);nV.prototype.isSkippable=function(){return null!=this.F};
nV.prototype.getVideoUrl=function(){return this.B};g.t(Lsa,mV);g.t(uV,g.mH);uV.prototype.dispose=function(){this.o.clear();g.mH.prototype.dispose.call(this)};
var vV=null;g.Da("ytads.bulleit.getVideoMetadata",function(a){return(a=Osa().o.get(a))?a.o():{}},void 0);
g.Da("ytads.bulleit.triggerExternalActivityEvent",function(a,b,c){var d=Osa();c=Psa(c);null!=c&&d.U(c,{queryId:a,viewabilityString:b})},void 0);g.t(Qsa,mV);g.t(Rsa,mV);g.t(Ssa,mV);g.t(Tsa,mV);g.t(Usa,mV);g.t(xV,g.K);xV.prototype.W=function(){this.A&&g.XG(this.A);this.o.clear();yV=null;g.K.prototype.W.call(this)};
xV.prototype.register=function(a,b){b&&this.o.set(a,b)};
var yV=null;g.t(AV,g.K);AV.prototype.show=function(){this.o.o.C||(this.o.show(),qG(this.C),this.C=[])};
AV.prototype.hide=function(){this.o.o.C&&(this.o.hide(),qG(this.A),this.A=[])};
AV.prototype.bind=function(a){var b=this.o,c=a.confirmLabel||null;c?b.A.show():b.A.hide();b.A.Kb(BV(c));this.o.setTitle(a.title||null);this.o.o.Kb(BV(a.dialogMessage||null));g.oe(Xsa(this.o));b=g.r(a.adReasons||[]);for(c=b.next();!c.done;c=b.next())c=c.value,Xsa(this.o).appendChild(g.ie("li",null,BV(c)));this.C=a.impressionEndpoints&&0<a.impressionEndpoints.length?Ysa(a.impressionEndpoints[0]):[];this.A=a.confirmServiceEndpoint?Ysa(a.confirmServiceEndpoint):[]};
g.t(zV,g.mH);g.h=zV.prototype;g.h.ra=function(){return this.o.element};
g.h.show=function(){if(!this.o.C){this.Z.R(document,"click",this.bO);this.o.show();var a=this.ra(),b=g.hi(Zh(this.B)).width,c=g.hi(this.B),d=Xh(this.B);a.style.top=d.y+c.height+"px";a.style.right=b-d.x-c.width+"px"}};
g.h.hide=function(){this.o.C&&(this.o.hide(),g.lH(this.Z))};
g.h.setTitle=function(a){a?this.C.show():this.C.hide();this.C.Kb(BV(a))};
g.h.bO=function(a){this.o.C&&(a=a.target,g.we(this.B,a)||(g.we(this.A.o["ytp-ad-info-dialog-confirm-button"],a)?this.U("confirmClick"):g.we(this.o.element,a)||this.U("externalClick")))};Object.freeze([Qsa,Rsa,Ssa,Lsa,Tsa,Usa,nV]);var CV=null,$sa=null;g.Da("yt.www.ads.eventcache.getLastCompanionData",function(){return CV},void 0);
g.Da("yt.www.ads.eventcache.getLastPlaShelfData",function(){return $sa},void 0);var zta={seekableStart:0,seekableEnd:1,current:0};g.t(g.JV,g.K);g.h=g.JV.prototype;g.h.show=function(a){1!=this.o&&2!=this.o&&(4==this.o&&this.Vr(),5==this.o?(this.C.show(),this.o=null,this.A.stop(),this.B&&this.B()):this.C.C||(KV(this,!0),this.o=1,a?this.A.start(a):this.Vr()))};
g.h.hide=function(){4!=this.o&&(1==this.o||2==this.o?(this.C.hide(),this.o=null,this.A.stop()):this.C.C&&(KV(this,!0),this.o=4,this.A.start(this.G)))};
g.h.Vr=function(){switch(this.o){case 1:this.C.show();this.o=2;this.A.start(10);break;case 2:KV(this,!1);this.o=3;this.A.start(this.F);break;case 3:this.o=null;this.B&&this.B();break;case 4:this.C.hide();KV(this,!1);this.o=5;this.A.start(0);break;case 5:this.o=null,this.D&&this.D()}};
g.h.stop=function(){for(;null!=this.o&&5!=this.o;)this.A.stop(),this.Vr()};
g.h.W=function(){this.C.la()||this.C.element.removeAttribute("aria-hidden");g.K.prototype.W.call(this)};NV.prototype.getLength=function(){return this.o-this.A};g.t(QV,g.lQ);QV.prototype.G=function(){var a=this.D.getProgressState();a=PV(new NV(a.seekableStart,a.seekableEnd),a.current,0);this.J.style.width=100*a+"%"};
QV.prototype.H=function(){g.aO(g.Y(this.F))||(2==this.F.getPresentingPlayerType()?-1===this.B&&(this.show(),this.B=this.D.subscribe("s",this.G,this),this.G()):-1!==this.B&&(this.hide(),this.D.Bk(this.B),this.B=-1))};g.t(RV,g.W);RV.prototype.clear=function(){for(var a=g.r(this.Qa),b=a.next();!b.done;b=a.next())g.Gf(b.value);this.Qa=[]};
RV.prototype.J=function(a){g.bH(a);this.B=Math.max(0,this.B-SV(this));TV(this)};
RV.prototype.H=function(a){g.bH(a);this.B=Math.min(this.Qa.length-1,this.B+SV(this));TV(this)};
RV.prototype.W=function(){this.clear();g.W.prototype.W.call(this)};g.t(UV,g.mH);UV.prototype.stop=function(){this.C&&this.o.Ka(this.C)};
UV.prototype.D=function(){var a=this.A.getProgressState(this.F);this.B={seekableStart:a.seekableStart,seekableEnd:a.seekableEnd,current:a.current};this.U("s")};
UV.prototype.getProgressState=function(){return this.B};
UV.prototype.G=function(a){0<SQ(a,2)&&this.U("r")};g.t(VV,g.mH);g.h=VV.prototype;g.h.TO=function(a){a=aH(a);if(!Pd(a,this.B)){var b=2;this.F&&(b|=8);this.B=a;this.oc(b,!0)}};
g.h.SP=function(){this.F&&this.oc(8,!0);this.oc(2,!1)};
g.h.uw=function(a){var b=aH(a);Pd(b,this.B)||(this.B=b,(a=g.YG(a))&&this.M(a)&&(this.oc(4,!0),this.Z.Ka(this.C),this.C=this.Z.R(this.A,"mouseover",this.ED),this.K=this.Z.R(this.A,"mouseout",this.ED)))};
g.h.ED=function(a){a=$G(a);a&&this.M(a)||(this.B=new g.Od(NaN,NaN),Ata(this))};
g.h.XM=function(){this.oc(1,!0)};
g.h.EK=function(a){a=g.YG(a);a instanceof Element&&!(0<a.tabIndex)||this.oc(1,!0)};
g.h.DD=function(){this.F=!0;this.Z.Ka(this.D);this.D=this.Z.R(document,"mouseup",this.UO)};
g.h.UO=function(){this.F=!1;this.oc(8,!1);this.Z.Ka(this.D);this.D=this.Z.R(this.A,"mousedown",this.DD)};
g.h.FD=function(a){if(a=(a=a.changedTouches)&&a[0])this.V=a.identifier,this.Z.Ka(this.G),this.G=this.Z.R(this.A,"touchend",this.VO,void 0,!0),this.oc(1024,!0)};
g.h.VO=function(a){if(a=a.changedTouches)for(var b=0;b<a.length;b++){var c=a[b];if(c.identifier==this.V){var d=c;break}}d&&(this.Z.Ka(this.G),this.G=this.Z.R(this.A,"touchstart",this.FD,void 0,!0),this.oc(1024,!1))};
g.h.oc=function(a,b){var c=!this.o;b?(this.o|=a,a&1&&this.H.start(),a&2&&this.J.start()):(this.o&=~a,a&1&&this.H.stop(),a&2&&this.J.stop(),a&512&&this.L.stop());this.o&512&&!(this.o&128)&&g.rv(this.L,this.O);var d=!this.o;c!=d&&this.U("autohideupdate",d)};
g.h.toString=function(){return g.mH.prototype.toString.call(this)};g.t(WV,g.W);g.h=WV.prototype;g.h.show=function(){var a=this;this.C||(this.G.R(this.B,"videodatachange",function(){return g.rv(a.D)}),this.G.R(this.B,"videoplayerreset",function(){return g.rv(a.D)}));
g.W.prototype.show.call(this)};
g.h.hide=function(){this.G&&g.lH(this.G);g.W.prototype.hide.call(this)};
g.h.fP=function(a){var b=g.Y(this.B);b.experiments.o("disable_new_pause_state3")&&iO(b)&&(a=a.state.isCued()&&!a.o.isCued()||RU(this.B)&&g.X(a.state,2),g.Ph(this.element,"transition-delay",a?"2s":""));g.rv(this.D)};
g.h.OU=function(){g.rv(this.D)};
g.h.eP=function(){this.F.stop();this.hide();g.rv(this.D)};
g.h.JD=function(){var a=g.OU(this.B),b=!1;if(3==this.B.getPresentingPlayerType()&&(a.sb()||g.X(a,4)))var c=!0;else(c=g.LU(this.B).pd)&&c.Qq?c=!0:(c=g.Y(this.B),c=g.X(a,2)&&MU(this.B)&&c.La?!0:!1);c?(c=!0,document.activeElement==this.H&&this.B.getRootNode().focus(),this.H.style.display="none"):(this.H.style.display="",a.isCued()&&2!=this.B.getPresentingPlayerType()?c=!0:(b=!g.Y(this.B).experiments.o("disable_new_pause_state3"),c=!(!g.X(a,2)||MU(this.B)||b&&g.u0(this.B.app))||g.X(a,1024)?!0:!1),b=g.Y(this.B),
b=b.experiments.o("web_player_embed_duration")&&b.o&&!b.fd);c?(this.F.show(),a=this.B.getVideoData(),this.jW(this.B.getPlaylist(),a),g.U(this.element,"ytp-cued-thumbnail-overlay-show-duration",b&&0<a.lengthSeconds),a=g.LV(a.lengthSeconds),this.updateValue("duration",a)):(this.F.hide(),g.X(a,1)||this.F.stop())};
g.h.jW=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c-0]=arguments[c];if(!g.Y(this.B).Np){b=g.r(b);for(c=b.next();!c.done;c=b.next())if(c=c.value,!(!c||c instanceof g.AP&&!c.videoId)){var d=g.PU(this.B).getPlayerSize();var e=g.jO(),f=d.width*e;e*=d.height;if(1280<f||720<e)if(d=c.gd("maxresdefault.jpg"))break;if(640<f||480<e)if(d=c.gd("maxresdefault.jpg"))break;if(320<f||180<e)if(d=c.gd("sddefault.jpg")||c.gd("hqdefault.jpg")||c.gd("mqdefault.jpg"))break;if(d=c.gd("default.jpg"))break}this.J.style.backgroundImage=
d?"url("+d+")":""}};g.t(YV,g.K);YV.prototype.start=function(a,b,c){this.o=a;this.H=b;this.F=c;this.G=g.GH();this.C()};
YV.prototype.C=function(){var a=g.GH()-this.G;var b=this.B;a=Jja(b,a/this.F);if(0==a)b=b.G;else if(1==a)b=b.H;else{var c=Ld(b.G,b.D,a),d=Ld(b.D,b.F,a);b=Ld(b.F,b.H,a);c=Ld(c,d,a);d=Ld(d,b,a);b=Ld(c,d,a)}b=g.Jd(b,0,1);this.D((this.H-this.o)*b+this.o);1>b&&this.A.start()};g.t(eW,g.W);g.h=eW.prototype;g.h.hide=function(){this.aa=!0;g.W.prototype.hide.call(this)};
g.h.show=function(){this.aa=!1;g.W.prototype.show.call(this)};
g.h.isHidden=function(){return this.aa};
g.h.vP=function(){Dta(this,this.G-this.J)};
g.h.wP=function(){Dta(this,this.G+this.J)};
g.h.xP=function(a,b){var c=this.B[a],d=c.Jd;if(g.ZV(b,this.D,this.ha,d||void 0)){var e=c.za().videoId;c=c.getPlaylistId();g.M0(this.D.app,e,d,c,void 0,void 0,void 0)}};
g.h.PD=function(){var a=this,b=this.D.getVideoData(),c=g.Y(this.D);this.ha=b.Ic?!1:c.o;if(b.suggestions){var d=(0,g.re)(b.suggestions,function(e){return e&&!e.list});
this.B=(0,g.I)(d,function(e){e=g.XV(c,e);g.L(a,e);return e})}else this.B.length=0;
Fta(this);b.Ic?this.O.update({title:g.wV('\u0414\u0440\u0443\u0433\u0438\u0435 \u0432\u0438\u0434\u0435\u043e \u043d\u0430 \u043a\u0430\u043d\u0430\u043b\u0435 "$DNI_RELATED_CHANNEL"',{DNI_RELATED_CHANNEL:b.author})}):this.O.update({title:"\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u044d\u0442\u0438 \u0440\u043e\u043b\u0438\u043a\u0438"})};
g.h.QD=function(a){this.K.element.scrollLeft=-a};g.t(gW,g.W);gW.prototype.show=function(){g.W.prototype.show.call(this);this.K()};
gW.prototype.K=function(){var a=1-1/1.5;this.F=(this.F+this.O)%(this.width*a);this.G=(this.G+this.M)%(this.height*a);this.D.drawImage(this.L,-1*this.F,-1*this.G);this.D.fillRect(0,this.H,this.width,75);this.H=(this.H+75+7)%this.height-75;this.B.isActive()||g.rv(this.J)};
gW.prototype.hide=function(){this.B.stop();this.J.stop();g.W.prototype.hide.call(this)};g.t(hW,g.W);hW.prototype.show=function(){g.W.prototype.show.call(this);iW(this,function(a){a.show()});
this.G&&Jta(this,g.PU(this.B).getPlayerSize())};
hW.prototype.hide=function(){g.W.prototype.hide.call(this);iW(this,function(a){a.hide()})};
hW.prototype.K=function(a){if(g.ZV(a,this.B,!iO(g.Y(this.B)))){a={as3:!1,html5:!0,player:!0,cpn:this.B.getVideoData().clientPlaybackNonce};var b=this.B;b.Ba("onFeedbackArticleRequest",{articleId:3037019,helpContext:"player_error",productData:a});b.isFullscreen()&&b.toggleFullscreen()}};
var Kta=/<a\s+href=["']([^"']+)["'](?:\s+target=["']([^"']+)["'])?>([^<>]+)<\/a>/;g.t(lW,g.jH);lW.prototype.D=function(){this.B();var a=g.Y(this.o),b=this.o.getVideoData(),c=[];a.K||c.push({src:b.gd("mqdefault.jpg"),sizes:"320x180"});this.A.metadata=new MediaMetadata({title:b.title,artist:b.author,artwork:c});a=RU(this.o);this.C.has("nexttrack")!=a&&(c=b=null,a&&(b=(0,g.A)(function(){this.o.nextVideo()},this),c=(0,g.A)(function(){this.o.previousVideo()},this)),kW(this,"nexttrack",b),kW(this,"previoustrack",c))};
lW.prototype.B=function(){var a=g.OU(this.o);a=a.isError()?"none":OQ(a)?"playing":"paused";this.A.playbackState=a};
lW.prototype.W=function(){this.A.playbackState="none";this.A.metadata=null;for(var a=g.r(this.C),b=a.next();!b.done;b=a.next())kW(this,b.value,null);g.jH.prototype.W.call(this)};g.t(mW,g.W);mW.prototype.aa=function(a,b){Mta(this,b);this.H&&Nta(this,this.H)};
mW.prototype.Y=function(a){var b=this.M.getVideoData();this.D!=b.videoId&&Mta(this,b);this.B&&Nta(this,a.state);this.H=a.state};
mW.prototype.O=function(){this.G.hide();this.D&&(this.F[this.D]=(this.F[this.D]||0)+((0,g.H)()-this.L));this.L=0};g.t(oW,g.W);oW.prototype.hide=function(){this.B.stop();this.F.style.display="none";g.W.prototype.hide.call(this)};
oW.prototype.G=function(a){nW(this,a.state)};
oW.prototype.H=function(){nW(this,g.OU(this.D))};
oW.prototype.J=function(){this.F.style.display="block"};g.t(qW,g.W);qW.prototype.F=function(){var a=g.Z(this.B.app);a&&a.A&&a.A.hw()};
qW.prototype.D=function(){var a=g.Z(this.B.app);g.kQ(this,!!a&&a.yc);this.updateValue("icon",this.B.Wi()?g.DV?{I:"div",da:["ytp-icon","ytp-icon-airplay-on"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,T:{d:"M11,13 L25,13 L25,21 L11,21 L11,13 Z M12,28 L24,28 L18,22 L12,28 Z M27,9 L9,9 C7.9,9 7,9.9 7,11 L7,23 C7,24.1 7.9,25 9,25 L13,25 L13,23 L9,23 L9,11 L27,11 L27,23 L23,23 L23,25 L27,25 C28.1,25 29,24.1 29,23 L29,11 C29,9.9 28.1,9 27,9 L27,9 Z",fill:"#fff"}}]}:
g.DV?{I:"div",da:["ytp-icon","ytp-icon-airplay-off"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"M12,28 L24,28 L18,22 L12,28 Z M27,9 L9,9 C7.9,9 7,9.9 7,11 L7,23 C7,24.1 7.9,25 9,25 L13,25 L13,23 L9,23 L9,11 L27,11 L27,23 L23,23 L23,25 L27,25 C28.1,25 29,24.1 29,23 L29,11 C29,9.9 28.1,9 27,9 L27,9 Z"}}]})};g.t(rW,g.lQ);rW.prototype.W=function(){this.B=null;g.lQ.prototype.W.call(this)};g.t(sW,g.W);sW.prototype.K=function(a){g.X(a.state,32)?tW(this,this.B.Re()):this.C&&(g.X(a.state,16)||g.X(a.state,1))||this.F.hide()};
sW.prototype.L=function(){var a=g.OU(this.B);(g.X(a,32)||g.X(a,16))&&uW(this)};
sW.prototype.H=function(){this.G=NaN;uW(this)};
sW.prototype.hide=function(){this.Zd&&tW(this,null);g.W.prototype.hide.call(this)};g.t(vW,g.W);vW.prototype.K=function(){g.gV(this.B,this.element);this.B.Ba("onFullerscreenEduClicked")};
vW.prototype.D=function(){this.B.isFullscreen()?this.F?this.G.hide():this.G.show():this.hide();g.hV(this.B,this.element,this.B.isFullscreen()&&!this.F)};g.t(wW,g.lQ);g.h=wW.prototype;g.h.show=function(){var a=xW(this);g.lQ.prototype.show.call(this);this.ia&&(this.L.R(window,"blur",this.Jb),this.L.R(document,"click",this.tP));a||this.U("show",!0)};
g.h.hide=function(){var a=xW(this);g.lQ.prototype.hide.call(this);Qta(this);a&&this.U("show",!1)};
g.h.Wd=function(a,b){this.B=a;this.aa.show();b?(this.M||(this.M=this.L.R(this.ba,"appresize",this.dA)),this.dA()):this.M&&(this.L.Ka(this.M),this.M=null)};
g.h.HK=function(){this.B&&(this.B.getAttribute("aria-haspopup"),this.B.setAttribute("aria-expanded",!0),g.Y(this.ba).experiments.o("embeds_enable_new_playlist_killswitch")?document.activeElement&&g.we(this.B,document.activeElement)&&this.focus():this.focus())};
g.h.dA=function(){g.wQ(this.ba).Uq(this.element,this.B)};
g.h.Jb=function(){var a=xW(this);Qta(this);this.aa.hide();a&&this.U("show",!1)};
g.h.Ff=function(a,b){xW(this)?this.Jb():this.Wd(a,b)};
g.h.tP=function(a){var b=ZG(a);b&&(g.we(this.element,b)||this.B&&g.we(this.B,b)||!g.MV(a))||this.Jb()};g.t(yW,g.W);g.h=yW.prototype;g.h.gP=function(){g.Y(this.D).ga?this.D.toggleFullscreen():this.B.Ff(this.element,!0)};
g.h.FE=function(){Rta(this);this.B.Wd(this.element,!0)};
g.h.hP=function(){MG()==this.D.getRootNode()?this.G.start():(this.G.stop(),this.B&&this.B.hide())};
g.h.eK=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.FE()}};
g.h.KD=function(){g.kQ(this,Bta(this.D))};
g.h.cG=function(a){if(a){var b=g.DV?{I:"div",da:["ytp-icon","ytp-icon-full-screen-close"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"g",N:"ytp-fullscreen-button-corner-2",P:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"m 14,14 -4,0 0,2 6,0 0,-6 -2,0 0,4 0,0 z"}}]},{I:"g",N:"ytp-fullscreen-button-corner-3",P:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"m 22,14 0,-4 -2,0 0,6 6,0 0,-2 -4,0 0,0 z"}}]},{I:"g",N:"ytp-fullscreen-button-corner-0",P:[{I:"path",Ya:!0,N:"ytp-svg-fill",
T:{d:"m 20,26 2,0 0,-4 4,0 0,-2 -6,0 0,6 0,0 z"}}]},{I:"g",N:"ytp-fullscreen-button-corner-1",P:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"m 10,22 4,0 0,4 2,0 0,-6 -6,0 0,2 0,0 z"}}]}]};a=dW(this.D,"\u0412\u044b\u0445\u043e\u0434 \u0438\u0437 \u043f\u043e\u043b\u043d\u043e\u044d\u043a\u0440\u0430\u043d\u043d\u043e\u0433\u043e \u0440\u0435\u0436\u0438\u043c\u0430","f");document.activeElement==this.element&&this.D.getRootNode().focus()}else b=g.DV?{I:"div",da:["ytp-icon","ytp-icon-full-screen"]}:{I:"svg",
T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"g",N:"ytp-fullscreen-button-corner-0",P:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"m 10,16 2,0 0,-4 4,0 0,-2 L 10,10 l 0,6 0,0 z"}}]},{I:"g",N:"ytp-fullscreen-button-corner-1",P:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"m 20,10 0,2 4,0 0,4 2,0 L 26,10 l -6,0 0,0 z"}}]},{I:"g",N:"ytp-fullscreen-button-corner-2",P:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"m 24,24 -4,0 0,2 L 26,26 l 0,-6 -2,0 0,4 0,0 z"}}]},{I:"g",N:"ytp-fullscreen-button-corner-3",
P:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"M 12,20 10,20 10,26 l 6,0 0,-2 -4,0 0,-4 0,0 z"}}]}]},a=dW(this.D,"\u0412\u043e \u0432\u0435\u0441\u044c \u044d\u043a\u0440\u0430\u043d","f");this.updateValue("icon",b);this.updateValue("title",this.B?null:a);FW(this.H.Hb())};
g.h.W=function(){this.B||(this.F(),this.F=null);g.W.prototype.W.call(this)};g.t(zW,g.W);zW.prototype.G=function(){this.B.Ba("onCollapseMiniplayer");g.gV(this.B,this.element)};
zW.prototype.F=function(){this.D=!this.B.isFullscreen();g.kQ(this,this.D);g.hV(this.B,this.element,this.D&&this.V)};
zW.prototype.ac=function(a){g.W.prototype.ac.call(this,a);g.hV(this.B,this.element,this.D&&a)};g.t(AW,wW);g.h=AW.prototype;g.h.show=function(){var a=this.C;wW.prototype.show.call(this);a||(this.G.R(this.D,"presentingplayerstatechange",this.xw),this.G.R(this.D,"videodatachange",this.xw),this.xw())};
g.h.hide=function(){this.G&&(g.lH(this.G),wW.prototype.hide.call(this))};
g.h.xw=function(){var a=this.D.getVideoData(),b=a.hi,c;for(c=0;c<b.length;c++){var d=this.F[c];d||(d=new g.W({I:"button",da:["ytp-multicam-menu-item","ytp-button"],T:{"aria-checked":"{{selected}}","data-id":"{{videoId}}"},P:[{I:"div",N:"ytp-multicam-menu-item-title",ca:"{{cameraName}}"}]}),d.X("click",g.Na(this.SQ,c),this),d.A(this.Qa),this.F[c]=d);var e=b[c],f=e.id;if(f!=d.element.getAttribute("data-id")){var k=e.thumbnail_url;!k&&f&&(k=gO(g.Y(this.D),f,"default.jpg"));d.element.style.backgroundImage=
k?"url("+k+")":""}d.update({cameraName:e.title,videoId:f,selected:f==a.videoId?!0:null})}for(;c<this.F.length;)this.F.pop().dispose();c=g.OU(this.D);a=b.length||!a.Mb();OQ(c)||g.X(c,4)||a||!xW(this)||this.Ff()};
g.h.SQ=function(a){this.D.getVideoData();var b=this.D;a=this.D.getVideoData().hi[a];var c=g.Z(b.app,1).getVideoData(),d=b.getCurrentTime();a.id==c.videoId?g.Z(b.app)!=g.Z(b.app,1)&&(g.R_(b.app,1),c.Da||b.seekTo(d)):(g.R_(b.app,4),b.app.loadVideoByPlayerVars({videoId:a.id,title:c.title,start:c.Da?null:d,raw_player_response:{multicamera:{playerLegacyMulticameraRenderer:{metadataList:c.ZD}}}},4))};
g.h.focus=function(){for(var a=this.D.getVideoData(),b=a.hi,c=0;c<b.length;c++)if(b[c].id==a.videoId){this.F[c].focus();break}};
g.h.W=function(){g.Hf(this.F);wW.prototype.W.call(this)};g.t(BW,g.W);BW.prototype.J=function(a){this.D("newdata"==a)};
BW.prototype.D=function(a){var b=this.H.getVideoData(),c=b.hi,d=g.OU(this.H);d=(OQ(d)||g.X(d,4))&&0<c.length;g.kQ(this,d);a&&(this.F=!0);if(d){this.F&&g.rv(this.G);a=null;d="";for(var e=0;e<c.length;e++)if(c[e].id==b.videoId){a=c[e].title;d=g.wV("\u041a\u0430\u043c\u0435\u0440\u0430\u00a0$CAMERA_INDEX\u00a0\u0438\u0437\u00a0$CAMERA_COUNT",{CAMERA_INDEX:String(e+1),CAMERA_COUNT:String(c.length)})+"\n";break}this.update({text:d+a,preview:b.gd("default.jpg")});FW(this.B)}else this.G.stop()};
BW.prototype.K=function(){nxa(this.B,this.element,"\u041c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u043d\u0430 \u0434\u0440\u0443\u0433\u0443\u044e \u043a\u0430\u043c\u0435\u0440\u0443.");this.F=!1};g.t(CW,g.K);CW.prototype.A=function(){var a=g.GH()-this.B;a=a<this.o?a/this.o:1;this.D(iE(cAa,a));1>a&&this.C.start()};
var cAa=new hE(0,0,.4,0,.2,1,1,1),Wta=/[0-9.-]+|[^0-9.-]+/g;g.t(EW,g.W);EW.prototype.Nc=function(a){this.G=300<=a.width;g.kQ(this,this.G);g.hV(this.B,this.element,this.G&&this.V)};
EW.prototype.ka=function(){g.Y(this.B).M?this.B.isMuted()?this.B.unMute():this.B.mute():this.ea.Ff(this.element,!0);g.gV(this.B,this.element)};
EW.prototype.ia=function(a){Xta(this,a.volume,a.muted)};
EW.prototype.ac=function(a){g.W.prototype.ac.call(this,a);g.hV(this.B,this.element,this.G&&a)};
var $ta=["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"],aua=["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(GW,g.W);GW.prototype.D=function(){this.B.gD()};g.t(g.HW,g.W);g.HW.prototype.J=function(a){bua(this,a.state)};
g.HW.prototype.G=function(){g.U(this.element,"ytp-play-button-playlist",RU(this.B))};
g.HW.prototype.K=function(){OQ(g.OU(this.B))?this.B.pauseVideo():this.B.playVideo()};g.t(g.JW,g.W);g.h=g.JW.prototype;g.h.Hk=function(){dua(this);this.K&&(this.Ka(this.K),this.K=null);this.J=this.B.getVideoData(1);if(this.F=this.B.getPlaylist())this.F.subscribe("shuffle",this.Hk,this),this.K=this.R(this.B,"progresssync",this.rP);this.H=eua(this);IW(this);this.Nc(g.PU(this.B).getPlayerSize())};
g.h.Nc=function(a){a=void 0===a?g.PU(this.B).getPlayerSize():a;var b=RU(this.B)||this.D&&g.eV(this.B)||fua(this);g.kQ(this,b&&(this.D||400<=a.width))};
g.h.sP=function(a){var b=!0;this.M?b=g.ZV(a,this.B):g.bH(a);b&&(this.D&&5==this.B.getPresentingPlayerType()?this.B.U("ytoprerollinternstitialnext"):this.D?this.B.nextVideo(!0):this.H?this.B.seekTo(0):this.B.previousVideo(!0))};
g.h.rP=function(){var a=eua(this);a!=this.H&&(this.H=a,IW(this))};
g.h.W=function(){this.G&&(this.G(),this.G=null);dua(this);g.W.prototype.W.call(this)};gua.prototype.update=function(a,b,c,d){this.width=b;this.C=c;this.D=d;this.o=b-c-d;this.position=g.Jd(a,c,c+this.o);this.B=this.position-c;this.A=this.B/this.o};g.t(g.KW,g.lQ);g.h=g.KW.prototype;g.h.Ge=function(){jua(this);var a=this.B.getCurrentTime();(a<this.Y||a>this.O)&&this.qr()};
g.h.uP=function(a){if(!g.cH(a)){var b=!1;switch(g.dH(a)){case 36:this.B.seekTo(0);b=!0;break;case 35:this.B.seekTo(Infinity);b=!0;break;case 34:this.B.seekBy(-60);b=!0;break;case 33:this.B.seekBy(60);b=!0;break;case 38:this.B.seekBy(5);b=!0;break;case 40:this.B.seekBy(-5),b=!0}b&&g.bH(a)}};
g.h.NQ=function(a){switch(g.dH(a)){case 13:this.B.seekTo(Number(a.currentTarget.getAttribute("data-position")))}};
g.h.ND=function(a,b){hua(this,b,"newdata"==a)};
g.h.vL=function(){this.ND("newdata",this.B.getVideoData())};
g.h.BL=function(){lua(this.B.getVideoData())?g.OU(this.B).sb()&&OW(this,!0):OW(this,!1)};
g.h.wL=function(a){0<SQ(a,64)||!lua(this.B.getVideoData())?OW(this,!1):OQ(a.state)&&0>SQ(a,64)&&OW(this,!0);this.H&&!g.X(a.state,32)&&3!=this.B.getPresentingPlayerType()&&this.H.cancel()};
g.h.aT=function(a,b,c){var d=g.$h(this.element),e=PW(this).o,f=c?c.getAttribute("data-tooltip"):void 0,k=c?c.getAttribute("data-position"):void 0,l=c?c.getAttribute("data-offset-y"):void 0;k&&(a=PV(this.D,Number(c.getAttribute("data-position")),0)*e+g.$h(this.ed).x);this.La.x=a-d.x;this.La.y=b-d.y;a=PW(this);c=OV(this.D,a.A);b=f||g.LV(this.Sa?c-this.D.o:c);a=a.position+this.Oa;c=g.Y(this.B).experiments.o("web_player_storyboard_timestamp_killswitch")?c:c-this.B.Qc();d=this.ya;f=!!f;l=l?parseInt(l,
10):0;d.ma||(3==d.D&&d.We(),1!=d.D&&(d.element.className="ytp-tooltip ytp-bottom",d.D=1,d.Y&&d.M.show(),d.F=d.ba.Re(),d.F&&d.F.subscribe("l",d.EE,d)),d.update({text:b,title:""}),g.U(d.element,"ytp-text-detail",!!f),b=-1,d.F&&(b=bP(d.F,160*d.G),b=qma(d.F,b,c)),pxa(d,b),oxa(d,!!f,a,l));g.U(this.B.getRootNode(),"ytp-progress-bar-hover",!g.X(g.OU(this.B),64));iua(this)};
g.h.ZS=function(){var a=this.ya;1==a.D&&a.We();g.Br(this.B.getRootNode(),"ytp-progress-bar-hover")};
g.h.YS=function(a,b){this.F&&(this.F.dispose(),this.F=null);this.fd=b;this.B.seekTo(OV(this.D,PW(this).A),!1);g.T(this.element,"ytp-drag");(this.Wa=OQ(g.OU(this.B)))&&this.B.pauseVideo()};
g.h.bT=function(){this.Aa=0;g.Br(this.element,"ytp-pull-ui");g.Br(this.element,"ytp-pulling");this.F&&(this.F.dispose(),this.F=null);0<this.L&&(this.F=new g.ov((0,g.A)(this.QJ,this,g.GH(),this.L,PW(this).position)),this.F.start());if(g.X(g.OU(this.B),32)||3==this.B.getPresentingPlayerType())this.B.seekTo(OV(this.D,PW(this).A)),g.Br(this.element,"ytp-drag"),this.Wa&&!g.X(g.OU(this.B),2)&&this.B.playVideo()};
g.h.QJ=function(a,b,c){a=1-Math.pow(1-(g.GH()-a)/200,3);c+=a*(this.K*this.G-c);if(0>a||1<a)a=1;mua(this,(1-a)*b,c,this.K);1>a&&this.F.start()};
g.h.cT=function(a,b){var c=!1,d=!1,e=PW(this);3600<=this.D.getLength()&&(mua(this,this.fd-b-10,e.position,e.A),d=!0,c=this.L>.1*(this.J?60:40),e=PW(this));g.U(this.element,"ytp-pull-ui",d);c&&g.T(this.element,"ytp-pulling");c=0;e.C&&0>=e.position?c=-1:e.D&&e.position>=e.width&&(c=1);this.Aa!=c&&(this.Aa=c,this.F&&(this.F.dispose(),this.F=null),c&&(this.F=new g.ov((0,g.A)(this.tV,this,g.GH(),this.M)),this.F.start()));this.B.seekTo(OV(this.D,e.A),!1)};
g.h.tV=function(a,b){var c=this.G*(this.ha-1);this.M=g.Jd(b+this.Aa*(g.GH()-a)*.3,0,c);g.MW(this);this.B.seekTo(OV(this.D,PW(this).A),!1);0<this.M&&this.M<c&&this.F.start()};
g.h.vE=function(){this.updateValue("clipstarticon",eta());this.updateValue("clipendicon",eta());g.T(this.element,"ytp-clip-hover")};
g.h.uE=function(){this.updateValue("clipstarticon",gta());this.updateValue("clipendicon",fta());g.Br(this.element,"ytp-clip-hover")};
g.h.qr=function(){this.Y=0;this.O=Infinity;NW(this);LW(this,this.K,this.sa)};
g.h.PG=function(a){a=g.r(a);for(var b=a.next();!b.done;b=a.next())if(b=b.value,b.visible){var c=b.getId();if(!this.ba[c]){var d=g.ke("DIV");("ytp-chapter-marker"==b.style||b.tooltip)&&d.setAttribute("data-position",b.start/1E3);b.tooltip&&d.setAttribute("data-tooltip",b.tooltip);b.icons&&d.setAttribute("data-offset-y",-12-24*b.icons.length);this.ba[c]=b;this.xa[c]=d;if(b.icons&&b.icons.length){for(var e=g.ke("DIV"),f=g.r(b.icons),k=f.next();!k.done;k=f.next()){k=k.value;var l=g.ke("IMG");l.src=k.thumbnails[0].url;
l.setAttribute("data-position",b.start/1E3);b.tooltip&&l.setAttribute("data-tooltip",b.tooltip);l.setAttribute("data-offset-y",-12-24*b.icons.length);l.setAttribute("tabindex",0);k.accessibility&&k.accessibility.accessibilityData&&k.accessibility.accessibilityData.label&&(l.alt=k.accessibility.accessibilityData.label);this.jb.R(l,"keydown",this.NQ,void 0,!0);e.appendChild(l)}e.className="ytp-marker-icon";g.vb(this.ia,b,g.mR);this.aa[c]=e;this.sd.appendChild(e)}d.className=b.style;nua(this,c);"ytp-chapter-marker"==
b.style?this.Od.appendChild(d):g.Y(this.B).experiments.o("disable_ad_markers_on_content_progress_bar")||this.Nd.appendChild(d)}}else pua(this,b);QW(this)};
g.h.jV=function(a){a=g.r(a);for(var b=a.next();!b.done;b=a.next())pua(this,b.value);QW(this)};
g.h.W=function(){kua(this,!1);g.lQ.prototype.W.call(this)};g.t(g.SW,g.nQ);g.SW.prototype.M=function(){g.TW(this,!this.D);this.U("select",this.D)};
g.SW.prototype.getValue=function(){return this.D};g.t(UW,g.SW);UW.prototype.H=function(){g.LU(this.F).B&&3!=this.F.getPresentingPlayerType()?this.B||(g.AX(this.G,this),this.B=!0):this.B&&(g.BX(this.G,this),this.B=!1);var a=g.LU(this.F).B;g.TW(this,!!a&&a.loaded)};
UW.prototype.J=function(a){a?this.F.loadModule("annotations_module"):this.F.unloadModule("annotations_module")};
UW.prototype.W=function(){this.B&&g.BX(this.G,this);g.SW.prototype.W.call(this)};g.t(VW,g.lQ);VW.prototype.sa=function(){this.U("size-change")};
VW.prototype.focus=function(){this.ha.focus()};
VW.prototype.xa=function(){this.U("back")};g.t(g.WW,VW);g.WW.prototype.ia=function(){this.J.U("size-change")};
g.WW.prototype.focus=function(){for(var a=0,b=0;b<this.Qa.length;b++)if("true"==this.Qa[b].element.getAttribute("aria-checked")){a=b;break}this.Qa[a].focus()};g.t(g.$W,g.nQ);g.h=g.$W.prototype;g.h.open=function(){g.gX(this.D,this.J)};
g.h.xf=function(a){if(this.H){var b=this.F[this.H];b.element.getAttribute("aria-checked");b.element.removeAttribute("aria-checked");this.H=null}this.F[a].element.setAttribute("aria-checked",!0);this.Kb(this.wf(a));this.H=a};
g.h.Dt=function(a,b,c){b=new g.nQ({I:"div",da:["ytp-menuitem"],T:{tabindex:"0",role:"menuitemradio","aria-checked":c?"true":void 0},P:[{I:"div",da:["ytp-menuitem-label"],ca:"{{label}}"}]},b,this.wf(a,!0));b.X("click",(0,g.A)(this.zP,this,a));return b};
g.h.enable=function(a){this.L?a||(this.L=!1,this.Ik(!1)):a&&(this.L=!0,this.Ik(!0))};
g.h.Ik=function(a){a?g.AX(this.D,this):g.BX(this.D,this)};
g.h.ld=function(a){this.U("select",a)};
g.h.zP=function(a){this.ld(a)};
g.h.wf=function(a){return a.toString()};
g.h.yP=function(a){g.cH(a)||39!=g.dH(a)||(this.open(),g.bH(a))};
g.h.W=function(){this.L&&g.BX(this.D,this);g.nQ.prototype.W.call(this);for(var a in this.F)this.F[a].dispose()};g.t(bX,g.$W);bX.prototype.K=function(){var a=this.B.getAvailableAudioTracks();1<a.length?(g.aX(this,(0,g.I)(a,this.G)),this.O=g.wb(a,this.G,this),this.M.Kb(a.length?" ("+a.length+")":""),this.U("size-change"),this.xf(this.G(this.B.getAudioTrack())),this.enable(!0)):this.enable(!1)};
bX.prototype.ld=function(a){g.$W.prototype.ld.call(this,a);this.B.setAudioTrack(this.O[a]);this.D.le()};
bX.prototype.G=function(a){return a.toString()};g.t(cX,g.SW);cX.prototype.H=function(){var a=this.B.getPresentingPlayerType();if(2!=a&&3!=a&&g.eV(this.B))this.G||(g.AX(this.J,this),this.G=!0,this.F.push(this.R(this.B,"videodatachange",this.H)),this.F.push(this.R(this.B,"videoplayerreset",this.H)),this.F.push(this.R(this.B,"onPlaylistUpdate",this.H)),this.F.push(this.R(this.B,"autonavchange",this.K)),this.K(this.B.getVideoData().autonavState));else if(this.G){g.BX(this.J,this);this.G=!1;a=g.r(this.F);for(var b=a.next();!b.done;b=a.next())this.Ka(b.value)}};
cX.prototype.K=function(a){g.TW(this,1!=a)};
cX.prototype.L=function(a){var b=this.B;a=a?2:1;b.app.A.Ba("onAutonavChangeRequest",1!=a);a&&wya(b.app,a)};
cX.prototype.W=function(){this.G&&g.BX(this.J,this);g.SW.prototype.W.call(this)};g.t(g.dX,wW);g.h=g.dX.prototype;g.h.show=function(){wW.prototype.show.call(this);this.ul()};
g.h.hide=function(){wW.prototype.hide.call(this);1<this.F.length&&g.hX(this)};
g.h.ul=function(){sua(this);this.C&&(rua(this),g.gi(this.element,this.size))};
g.h.le=function(){var a=this.F.pop(),b=eX(this);fX(this,a,b,!0)};
g.h.RV=function(a,b,c){this.J.dispose();this.J=null;g.T(this.element,"ytp-popup-animating");c?(g.T(a.element,"ytp-panel-animate-forward"),g.Br(b.element,"ytp-panel-animate-back")):(g.T(a.element,"ytp-panel-animate-back"),g.Br(b.element,"ytp-panel-animate-forward"));g.gi(this.element,this.size);this.H=new g.V(g.Na(this.mQ,a,b),250,this);this.H.start()};
g.h.mQ=function(a){g.Br(this.element,"ytp-popup-animating");g.jQ(a);g.Cr(a.element,["ytp-panel-animate-back","ytp-panel-animate-forward"]);this.H.dispose();this.H=null};
g.h.kP=function(a){if(!g.cH(a))switch(g.dH(a)){case 27:this.Jb();g.bH(a);break;case 37:1<this.F.length&&this.le();g.bH(a);break;case 39:g.bH(a)}};
g.h.focus=function(){eX(this).focus()};
g.h.W=function(){wW.prototype.W.call(this);this.J&&this.J.dispose();this.H&&this.H.dispose()};g.t(iX,g.$W);g.h=iX.prototype;g.h.Bn=function(){var a=this.B.getPresentingPlayerType();if(2!=a&&3!=a&&(this.K=g.Csa(this.B),a=this.B.getAvailableQualityLevels(),g.Dsa(this.B)&&g.Esa(this.B)&&a.unshift("missing-qualities"),Hsa(this.B)&&a.unshift("inline-survey"),g.aX(this,a),a.length)){this.OD();this.enable(!0);return}this.enable(!1)};
g.h.OD=function(){var a=this.B.getPreferredQuality();this.F[a]&&(this.G=this.B.getPlaybackQuality(),this.xf(a),"auto"==a&&this.Kb(this.wf(a)))};
g.h.ld=function(a){"missing-qualities"!=a&&(g.$W.prototype.ld.call(this,a),this.B.setPlaybackQuality(a),this.D.Jb(),this.Bn())};
g.h.Dt=function(a,b,c){var d=this;if("inline-survey"!=a)return g.$W.prototype.Dt.call(this,a,b,c);a=[{I:"span",ca:"\u0412\u0430\u0441 \u0443\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u0442 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u043e \u0432\u0438\u0434\u0435\u043e?"}];c={};for(var e=g.r([!0,!1]),f=e.next();!f.done;c={po:c.po},f=e.next())c.po=f.value,f=new g.W({I:"span",N:"ytp-menuitem-inline-survey-response",P:[c.po?g.DV?{I:"div",da:["ytp-icon","ytp-icon-like"]}:{I:"svg",T:{viewBox:"0 0 24 24"},
P:[{I:"path",T:{d:"M0 0h24v24H0z",fill:"none"}},{I:"path",T:{d:"M1 21h4V9H1v12zm22-11c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-1.91l-.01-.01L23 10z",fill:"#fff"}}]}:g.DV?{I:"div",da:["ytp-icon","ytp-icon-dislike"]}:{I:"svg",T:{viewBox:"0 0 24 24"},P:[{I:"path",T:{d:"M0 0h24v24H0z",fill:"none"}},{I:"path",T:{d:"M15 3H6c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v1.91l.01.01L1 14c0 1.1.9 2 2 2h6.31l-.95 4.57-.03.32c0 .41.17.79.44 1.06L9.83 23l6.59-6.59c.36-.36.58-.86.58-1.41V5c0-1.1-.9-2-2-2zm4 0v12h4V3h-4z",
fill:"#fff"}}]}],T:{tabindex:"0",role:"button"}}),f.X("click",function(k){return function(){var l=g.Z(d.B.app);l&&(l.xb("iqsr",""+ +k.po),l.getVideoData().yC=!0);d.D.Jb();d.Bn()}}(c)),a.push(f);
return new g.nQ({I:"div",N:"ytp-menuitem",T:{"aria-disabled":!0},P:[{I:"div",da:["ytp-menuitem-label"],P:a}]},b)};
g.h.wf=function(a,b){b=void 0===b?!1:b;if("missing-qualities"==a)return{I:"a",T:{href:"https://support.google.com/youtube/?p=missing_quality",target:g.Y(this.B).F},ca:"\u0414\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u043d\u0435 \u0432\u0441\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b?"};if("inline-survey"==a)return"";var c=[tua(this,a)],d=this.B.getPreferredQuality();b||"auto"!=d||"auto"!=a||(c.push(" "),c.push(tua(this,this.G,["ytp-menu-label-secondary"])));return{I:"div",P:c}};g.t(jX,g.W);jX.prototype.Nc=function(a){g.kQ(this,this.G&&400<=a.width)};
jX.prototype.H=function(){if(this.F.C)this.F.Jb();else{var a=g.LU(this.B).A;a&&!a.loaded&&(a.Fc("tracklist",{includeAsr:!0}).length||a.load());this.F.Wd(this.element)}};
jX.prototype.D=function(){var a=this.B.getPresentingPlayerType(),b=2!=a&&3!=a,c=g.UU(this.B),d=b&&!!g.LU(this.B).D;a=d&&1==c.displayMode;c=d&&2==c.displayMode;b=(d=a||c)||!b?null:this.B.getPlaybackQuality();g.U(this.element,"ytp-hd-quality-badge","hd720"==b||"hd1080"==b||"hd1440"==b);g.U(this.element,"ytp-4k-quality-badge","hd2160"==b);g.U(this.element,"ytp-5k-quality-badge","hd2880"==b);g.U(this.element,"ytp-8k-quality-badge","highres"==b);g.U(this.element,"ytp-3d-badge-grey",d&&a);g.U(this.element,
"ytp-3d-badge",d&&c)};g.t(lX,g.W);g.h=lX.prototype;g.h.Tm=function(){this.oj(this.B);this.updateValue("minvalue",this.D);this.updateValue("maxvalue",this.H)};
g.h.UT=function(a){if(!g.cH(a)){switch(g.dH(a)){case 37:case 40:var b=-this.Y;break;case 39:case 38:b=this.Y;break;default:return}this.oj(this.B+b);g.bH(a)}};
g.h.uS=function(a){var b=this.B;b+=0>(a.deltaX||-a.deltaY)?-this.M:this.M;this.oj(b);g.bH(a)};
g.h.RT=function(a){a=(a-g.$h(this.F).x)/this.aa*this.K+this.D;this.oj(a)};
g.h.oj=function(a,b){b=void 0===b?"":b;var c=g.Jd(a,this.D,this.H);""==b&&(b=c.toString());this.updateValue("valuenow",c);this.updateValue("valuetext",b);this.L.style.left=(c-this.D)/this.K*(this.aa-this.ba)+"px";this.B=c};
g.h.focus=function(){this.L.focus()};g.t(nX,lX);nX.prototype.ha=function(){this.J.setPlaybackRate(this.B,!0)};
nX.prototype.oj=function(a){lX.prototype.oj.call(this,a,oX(a).toString());this.G&&(mX(this),this.ea())};
nX.prototype.ia=function(){var a=this.J.getPlaybackRate();oX(this.B)!=a&&(this.oj(a),mX(this))};g.t(pX,g.lQ);pX.prototype.focus=function(){this.B.focus()};g.t(uua,VW);g.t(qX,g.$W);g.h=qX.prototype;g.h.wf=function(a){return"1"==a?"\u041e\u0431\u044b\u0447\u043d\u0430\u044f":a.toLocaleString()};
g.h.SD=function(){var a=this.B.getPresentingPlayerType();this.enable(2!=a&&3!=a);xua(this)};
g.h.Ik=function(a){g.$W.prototype.Ik.call(this,a);a?(this.O=this.R(this.B,"onPlaybackRateChange",this.CP),xua(this),vua(this,this.B.getPlaybackRate())):(this.Ka(this.O),this.O=null)};
g.h.CP=function(a){var b=this.B.getPlaybackRate();this.M.includes(b)||wua(this,b);vua(this,a)};
g.h.ld=function(a){g.$W.prototype.ld.call(this,a);a==this.G?this.B.setPlaybackRate(this.K,!0):this.B.setPlaybackRate(parseFloat(a),!0);this.D.le()};var g2,dAa;g2=[{option:"#fff",text:"\u0411\u0435\u043b\u044b\u0439"},{option:"#ff0",text:"\u0416\u0435\u043b\u0442\u044b\u0439"},{option:"#0f0",text:"\u0417\u0435\u043b\u0435\u043d\u044b\u0439"},{option:"#0ff",text:"\u0413\u043e\u043b\u0443\u0431\u043e\u0439"},{option:"#00f",text:"\u0421\u0438\u043d\u0438\u0439"},{option:"#f0f",text:"\u041f\u0443\u0440\u043f\u0443\u0440\u043d\u044b\u0439"},{option:"#f00",text:"\u041a\u0440\u0430\u0441\u043d\u044b\u0439"},{option:"#080808",text:"\u0427\u0435\u0440\u043d\u044b\u0439"}];
dAa=[{option:0,text:sX(0)},{option:.25,text:sX(.25)},{option:.5,text:sX(.5)},{option:.75,text:sX(.75)},{option:1,text:sX(1)}];
g.uX=[{option:"fontFamily",text:"\u0421\u0435\u043c\u0435\u0439\u0441\u0442\u0432\u043e \u0448\u0440\u0438\u0444\u0442\u043e\u0432",options:[{option:1,text:"\u041c\u043e\u043d\u043e\u0448\u0438\u0440\u0438\u043d\u043d\u044b\u0439 \u0441 \u0437\u0430\u0441\u0435\u0447\u043a\u0430\u043c\u0438"},{option:2,text:"\u041f\u0440\u043e\u043f\u043e\u0440\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u0441 \u0437\u0430\u0441\u0435\u0447\u043a\u0430\u043c\u0438"},{option:3,text:"\u041c\u043e\u043d\u043e\u0448\u0438\u0440\u0438\u043d\u043d\u044b\u0439 \u0431\u0435\u0437 \u0437\u0430\u0441\u0435\u0447\u0435\u043a"},
{option:4,text:"\u041f\u0440\u043e\u043f\u043e\u0440\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u0431\u0435\u0437 \u0437\u0430\u0441\u0435\u0447\u0435\u043a"},{option:5,text:"\u041e\u0431\u044b\u0447\u043d\u044b\u0439"},{option:6,text:"\u041a\u0443\u0440\u0441\u0438\u0432"},{option:7,text:"\u041c\u0430\u043b\u044b\u0435 \u043f\u0440\u043e\u043f\u0438\u0441\u043d\u044b\u0435"}]},{option:"color",text:"\u0426\u0432\u0435\u0442 \u0448\u0440\u0438\u0444\u0442\u0430",options:g2},{option:"fontSizeIncrement",
text:"\u0420\u0430\u0437\u043c\u0435\u0440 \u0448\u0440\u0438\u0444\u0442\u0430",options:[{option:-2,text:sX(.5)},{option:-1,text:sX(.75)},{option:0,text:sX(1)},{option:1,text:sX(1.5)},{option:2,text:sX(2)},{option:3,text:sX(3)},{option:4,text:sX(4)}]},{option:"background",text:"\u0426\u0432\u0435\u0442 \u0444\u043e\u043d\u0430",options:g2},{option:"backgroundOpacity",text:"\u041f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0441\u0442\u044c \u0444\u043e\u043d\u0430",options:dAa},{option:"windowColor",
text:"\u0426\u0432\u0435\u0442 \u043e\u043a\u043d\u0430",options:g2},{option:"windowOpacity",text:"\u041f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0441\u0442\u044c \u043e\u043a\u043d\u0430",options:dAa},{option:"charEdgeStyle",text:"\u0421\u0442\u0438\u043b\u044c \u043a\u043e\u043d\u0442\u0443\u0440\u0430 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432",options:[{option:0,text:"\u0411\u0435\u0437 \u043a\u043e\u043d\u0442\u0443\u0440\u0430"},{option:4,text:"\u0421 \u0442\u0435\u043d\u044c\u044e"},
{option:1,text:"\u041f\u0440\u0438\u043f\u043e\u0434\u043d\u044f\u0442\u044b\u0439"},{option:2,text:"\u0423\u0442\u043e\u043f\u043b\u0435\u043d\u043d\u044b\u0439"},{option:3,text:"\u0413\u0440\u0430\u043d\u0438\u0446\u044b"}]},{option:"textOpacity",text:"\u041f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0441\u0442\u044c \u0448\u0440\u0438\u0444\u0442\u0430",options:[{option:.25,text:sX(.25)},{option:.5,text:sX(.5)},{option:.75,text:sX(.75)},{option:1,text:sX(1)}]}];g.t(tX,g.$W);g.h=tX.prototype;g.h.xf=function(a){g.$W.prototype.xf.call(this,a)};
g.h.VD=function(a){return a.option.toString()};
g.h.getOption=function(a){return this.O[a]};
g.h.wf=function(a){return this.getOption(a).text||""};
g.h.ld=function(a){g.$W.prototype.ld.call(this,a);this.U("settingChange",this.M,this.O[a].option)};
g.h.WD=function(a){this.U("settingChange",this.M+"Override",!a);this.D.le()};g.t(vX,g.WW);vX.prototype.D=function(a,b){this.U("settingChange",a,b)};g.t(wX,g.$W);wX.prototype.G=function(a){return a.languageCode};
wX.prototype.wf=function(a){return this.B[a].languageName||""};
wX.prototype.ld=function(a){this.U("select",a);g.hX(this.D)};g.t(xX,g.$W);g.h=xX.prototype;g.h.Dw=function(a){return g.dc(a)?"__off__":a.displayName};
g.h.wf=function(a){return"__off__"==a?"\u0412\u044b\u043a\u043b.":"__translate__"==a?"\u041f\u0435\u0440\u0435\u0432\u0435\u0441\u0442\u0438":"__contribute__"==a?"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044b":("__off__"==a?{}:this.G[a]).displayName};
g.h.ld=function(a){"__translate__"==a?this.K.open():"__contribute__"==a?(this.B.pauseVideo(),this.B.isFullscreen()&&this.B.toggleFullscreen(),a=g.cR(g.Y(this.B),this.B.getVideoData()),g.tV(a)):(this.B.setOption("captions","track","__off__"==a?{}:this.G[a]),g.$W.prototype.ld.call(this,a),this.D.le())};
g.h.Cn=function(){var a=this.B.getOptions();a=a&&-1!=a.indexOf("captions");var b=this.B.getVideoData();b=b&&b.To;if(a||b){if(a){var c=this.B.getOption("captions","track");var d=this.B.getOption("captions","tracklist",{includeAsr:!0});var e=this.B.getOption("captions","translationLanguages");this.G=g.wb(d,this.Dw,this);var f=(0,g.I)(d,this.Dw);if(e.length&&!g.dc(c)){var k=this.K;k.B=g.wb(e,k.G,k);g.aX(k,(0,g.I)(e,k.G));f.push("__translate__")}e=this.Dw(c)}else this.G={},f=[],e="__off__";f.unshift("__off__");
this.G.__off__={};b&&f.unshift("__contribute__");this.G[e]||(this.G[e]=c,f.push(e));g.aX(this,f);this.xf(e);a&&yua(this.M,this.B.getSubtitlesUserSettings());this.Y.Kb(d&&d.length?" ("+d.length+")":"");this.U("size-change");this.enable(!0)}else this.enable(!1)};
g.h.UD=function(a){this.B.setOption("captions","sampleSubtitles",a)};
g.h.KP=function(a){var b=this.B.getOption("captions","track");b=g.ic(b);b.translationLanguage=this.K.B[a];this.B.setOption("captions","track",b)};
g.h.JP=function(a,b){if("reset"==a)this.B.resetSubtitlesUserSettings();else{var c={};c[a]=b;this.B.updateSubtitlesUserSettings(c)}this.UD(!0);this.O.start();yua(this.M,this.B.getSubtitlesUserSettings())};
g.h.JT=function(a){a||g.uv(this.O)};
g.h.W=function(){g.uv(this.O);g.$W.prototype.W.call(this)};g.t(yX,g.dX);yX.prototype.Wd=function(a){zX(this);0<this.G.Qa.length&&g.dX.prototype.Wd.call(this,a)};
yX.prototype.show=function(){g.dX.prototype.show.call(this);g.T(this.D.getRootNode(),"ytp-settings-shown")};
yX.prototype.hide=function(){g.dX.prototype.hide.call(this);g.Br(this.D.getRootNode(),"ytp-settings-shown")};g.t(CX,g.W);
CX.prototype.D=function(){var a=!1;-1!=this.B.getOptions().indexOf("remote")&&(a=1<this.B.getOption("remote","receivers").length);g.kQ(this,a&&400<=g.PU(this.B).getPlayerSize().width);var b=1;a&&this.B.getOption("remote","casting")&&(b=2);if(this.F!=b){this.F=b;switch(b){case 1:this.updateValue("icon",g.DV?{I:"div",da:["ytp-icon","ytp-icon-cast-desktop-off"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,T:{d:"M27,9 L9,9 C7.9,9 7,9.9 7,11 L7,14 L9,14 L9,11 L27,11 L27,25 L20,25 L20,27 L27,27 C28.1,27 29,26.1 29,25 L29,11 C29,9.9 28.1,9 27,9 L27,9 Z M7,24 L7,27 L10,27 C10,25.34 8.66,24 7,24 L7,24 Z M7,20 L7,22 C9.76,22 12,24.24 12,27 L14,27 C14,23.13 10.87,20 7,20 L7,20 Z M7,16 L7,18 C11.97,18 16,22.03 16,27 L18,27 C18,20.92 13.07,16 7,16 L7,16 Z",fill:"#fff"}}]});
break;case 2:this.updateValue("icon",g.cta())}g.U(this.element,"ytp-remote-button-active",!!this.B.getOption("remote","casting"))}};
CX.prototype.H=function(){if(this.B.getOption("remote","quickCast"))this.B.setOption("remote","quickCast",!0);else{var a=this.G,b=this.element;if(xW(a))a.Jb();else{zX(a);a:{var c=g.r(a.G.Qa);for(var d=c.next();!d.done;d=c.next())if(d=d.value,0==d.priority){c=d;break a}c=null}c&&(c.open(),a.Wd(b));a.Wd(b)}}};g.t(DX,g.W);DX.prototype.J=function(){var a=this.B.app;a.A.Ba("SIZE_CLICKED",!a.yc)};
DX.prototype.D=function(){g.kQ(this,this.B.app.ae&&!this.B.isFullscreen()&&3!=this.B.getPresentingPlayerType());if(this.C){var a=this.B.isWidescreen();if(this.F!=a){var b=a?g.DV?{I:"div",da:["ytp-icon","ytp-icon-default-view"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,T:{d:"m 26,13 0,10 -16,0 0,-10 z m -14,2 12,0 0,6 -12,0 0,-6 z",fill:"#fff","fill-rule":"evenodd"}}]}:g.DV?{I:"div",da:["ytp-icon","ytp-icon-theater-mode"]}:{I:"svg",T:{height:"100%",
version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,T:{d:"m 28,11 0,14 -20,0 0,-14 z m -18,2 16,0 0,10 -16,0 0,-10 z",fill:"#fff","fill-rule":"evenodd"}}]};g.Y(this.B).H||null==this.F?this.updateValue("icon",b):Vta(this.H,this.element,b);this.F=a;b=dW(this.B,"\u0420\u0435\u0436\u0438\u043c \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e","t");var c=dW(this.B,"\u0428\u0438\u0440\u043e\u043a\u0438\u0439 \u044d\u043a\u0440\u0430\u043d",
"t");this.updateValue("title",a?b:c);FW(this.G)}}};g.t(EX,g.W);EX.prototype.F=function(){var a=g.LU(this.D).A;a&&a.EG()};
EX.prototype.B=function(){var a=!!g.LU(this.D).A;g.kQ(this,a&&300<=g.PU(this.D).getPlayerSize().width);a&&this.updateValue("pressed",!!this.D.getOption("captions","track").displayName)};g.t(g.FX,g.W);
g.FX.prototype.Ge=function(){var a=g.PU(this.F).getPlayerSize().width,b=350<=a&&(!this.G||!g.X(g.OU(this.F),64));g.kQ(this,b);g.U(this.element,"ytp-time-display-allow-autohide",b&&400>a);a=this.F.getProgressState();b&&(b=g.LV(a.current),this.H!=b&&(this.updateValue("currenttime",b),this.H=b),b=g.LV(a.duration),this.J!=b&&(this.updateValue("duration",b),this.J=b));this.G&&(a=a.isAtLiveHead,this.K!=a&&(this.K=a,this.Ge(),b=this.B.element,b.disabled=a,g.Y(this.F).experiments.o("enable_live_premiere_web_player_indicator")&&this.B.Kb(this.L?
"\u041f\u0440\u0435\u043c\u044c\u0435\u0440\u0430":"\u0412 \u044d\u0444\u0438\u0440\u0435"),a?this.D&&(this.D(),this.D=null,b.removeAttribute("title")):(b.title="\u041f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0438 \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u043a \u043f\u0440\u044f\u043c\u043e\u0439 \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u0438",this.D=pW(this.M,this.B.element))))};
g.FX.prototype.Y=function(a,b){Aua(this,b);this.Ge()};
g.FX.prototype.O=function(a){a.target==this.B.element&&(this.F.seekTo(Infinity),this.F.playVideo())};
g.FX.prototype.W=function(){this.D&&this.D();g.W.prototype.W.call(this)};g.t(HX,g.W);g.h=HX.prototype;g.h.LP=function(){var a=this.J.Yc();this.K!=a&&(this.K=a,GX(this,this.B.getVolume(),this.B.isMuted()))};
g.h.Nc=function(a){g.kQ(this,350<=a.width)};
g.h.VT=function(a){if(!g.cH(a)){var b=g.dH(a),c=null;37==b?c=this.G-5:39==b?c=this.G+5:36==b?c=0:35==b&&(c=100);null!=c&&(c=g.Jd(c,0,100),0==c?this.B.mute():(this.B.isMuted()&&this.B.unMute(),this.B.setVolume(c)),g.bH(a))}};
g.h.MP=function(a){var b=a.deltaX||-a.deltaY;a.deltaMode?this.B.setVolume(this.G+(0>b?-10:10)):this.B.setVolume(this.G+g.Jd(b/10,-10,10));g.bH(a)};
g.h.TT=function(){IX(this,this.F,!0,this.D,this.J.uk());this.ba=this.G;this.B.isMuted()&&this.B.unMute()};
g.h.ST=function(a){a-=g.$h(this.aa).x;this.B.setVolume(100*g.Jd(a/(this.K?78:52),0,1))};
g.h.QT=function(){IX(this,this.F,!1,this.D,this.J.uk());0==this.G&&(this.B.mute(),this.B.setVolume(this.ba))};
g.h.NP=function(a){GX(this,a.volume,a.muted)};
g.h.BA=function(){IX(this,this.F,this.H,this.D,this.J.uk())};
g.h.XD=function(a){IX(this,this.F,this.H,a,this.J.uk())};
g.h.dG=function(a){g.U(this.element,"ytp-volume-control-hover",a);IX(this,a,this.H,this.D,this.J.uk())};
g.h.W=function(){g.W.prototype.W.call(this);g.Br(this.Y,"ytp-volume-slider-active")};g.t(JX,g.W);JX.prototype.F=function(){this.D=!!this.B.getVideoData().videoId;g.kQ(this,this.D);g.hV(this.B,this.element,this.D&&this.V);if(this.D){var a=this.B.getVideoUrl(!0,!1,!1,!0);this.updateValue("url",a)}};
JX.prototype.G=function(a){var b=this.B.getVideoUrl(!g.MV(a),!1,!0,!0);$V(b,this.B,a);g.gV(this.B,this.element)};
JX.prototype.ac=function(a){g.W.prototype.ac.call(this,a);g.hV(this.B,this.element,this.D&&a)};g.t(KX,g.jH);g.h=KX.prototype;g.h.Bw=function(){this.F.Ge();this.ga.Ge()};
g.h.qE=function(){this.oy();if(this.ba.o)this.Bw();else{var a=this.F.ya;1==a.D&&a.We()}};
g.h.HP=function(){this.Bw();this.J.start()};
g.h.oy=function(){var a;if(a=!g.Y(this.C).A){a=this.F;var b=2*a.G*g.jO();a=300>1E3*a.D.getLength()/a.B.getPlaybackRate()/b}a=a&&g.OU(this.C).sb()&&!!window.requestAnimationFrame;b=!a;this.ba.o||(a=b=!1);b?this.K||(this.K=this.R(this.C,"progresssync",this.Bw)):this.K&&(this.Ka(this.K),this.K=null);a?this.J.isActive()||this.J.start():this.J.stop()};
g.h.kW=function(a){var b=this.B.Hb();a=!a;if(null!=b.D)if(a)switch(b.D){case 3:case 2:E_(b);b.M.show();break;default:b.M.show()}else b.M.hide();b.Y=a};
g.h.Cw=function(){var a=this.B.Yc(),b=g.PU(this.C).getPlayerSize(),c=LX(this),d=Math.max(b.width-2*c,100);if(this.ia!=b.width||this.ha!=a){this.ia=b.width;this.ha=a;var e=Cua(this);this.A.element.style.width=e+"px";this.A.element.style.left=c+"px";var f=this.F;f.Oa=c;f.G=e;f.J=a;g.MW(f);this.B.Hb().sa=e}c=this.o;e=Math.min(413*(a?1.5:1),Math.round(.82*(b.height-(this.B.Yc()?72:50))));c.Y=Math.min(570*(a?1.5:1),d);c.O=e;c.ul();this.oy();g.Y(this.C).experiments.o("html5_player_dynamic_bottom_gradient")&&
Ota(this.ka,b.height)};
g.h.IP=function(){var a=this.C.getVideoData();this.aa.style.background=a.Ic?a.Gg:"";g.kQ(this.M,a.Qx)};
g.h.ra=function(){return this.A.element};g.t(MX,wW);MX.prototype.H=function(a){a?(Dua(this),this.Wd()):(this.F&&Eua(this),this.Jb())};
MX.prototype.J=function(a){this.D.isMutedByMutedAutoplay()&&0<SQ(a,2)&&this.Jb()};
MX.prototype.onClick=function(){this.D.unMute();Eua(this)};g.t(NX,g.jH);g.h=NX.prototype;g.h.init=function(){var a=g.OU(this.api);this.Ar(a);this.fh();this.fb()};
g.h.GD=function(a,b){if(this.La!=b.videoId){this.La=b.videoId;var c=this.A;c.O=b&&0<b.hi.length?5E3:3E3;c.oc(512,!0);this.fh()}};
g.h.QS=function(){this.GD("newdata",this.api.getVideoData())};
g.h.kl=function(){var a=this.api.ce()&&this.api.se();OX(this);(a=Kua(this)||this.Pb||a)||(a=g.LU(this.api).yd,a=!!a&&a.Kv());return a||this.Qb||OX(this)};
g.h.ug=function(){var a=!this.kl();g.U(this.api.getRootNode(),"ytp-menu-shown",!a)};
g.h.WO=function(a){if(!g.we(this.api.getRootNode(),a))return!1;for(;a&&!Ce(a);)a=a==this.api.getRootNode()?null:g.ve(a);return!!a};
g.h.Nw=function(a){var b=this.api.getRootNode();g.U(b,"ytp-autohide",a);g.U(b,"ytp-autohide-active",!0);this.Ab.start(a?250:100);a&&(this.Wa=!1,g.Br(b,"ytp-touch-mode"));b=this.api;a=!a;b.Ba("onVideoAreaChange");b.Ba(a?"onShowControls":"onHideControls")};
g.h.AQ=function(){var a=this.api.getRootNode();g.U(a,"ytp-autohide-active",!1)};
g.h.BT=function(a){Fua(this)&&Hua(this,a);var b=xW(this.xa);Iya&&Iua(this,a)?b&&g.bH(a):(g.OU(this.api).isCued()&&!g.Y(this.api).Y&&(b=this.api.getVideoData(),b.videoId&&this.api.preloadVideoByPlayerVars(Fna(b))),this.A.o||PX(this,ZG(a))||xW(this.xa)||(g.OU(this.api).isCued(),g.bH(a)),this.Wa=!0,g.T(this.api.getRootNode(),"ytp-touch-mode"),this.A.oc(2,!0))};
g.h.xT=function(a){Iua(this,a)||Fua(this)||Hua(this,a)};
g.h.hC=function(){};
g.h.HD=function(){};
g.h.Hq=function(){var a=g.OU(this.api);g.X(a,2)&&MU(this.api)||(OQ(a)?this.api.pauseVideo():(this.api.app.qd=!0,this.api.playVideo()))};
g.h.yT=function(a){PX(this,ZG(a))||(a=g.Y(this.api),(a.ga||a.experiments.o("player_fullscreen_disabled_killswitch"))&&3!=this.api.getPresentingPlayerType()&&this.api.toggleFullscreen())};
g.h.zT=function(a){Jua(this,.3,a.scale);g.bH(a)};
g.h.AT=function(a){Jua(this,.1,a.scale)};
g.h.fb=function(){var a=g.PU(this.api).getPlayerSize(),b=this.api.getRootNode(),c=650<=a.width;g.aM&&Ata(this.A);g.U(b,"ytp-fullscreen",this.api.isFullscreen());g.U(b,"ytp-large-width-mode",c);g.U(b,"ytp-small-mode",this.Jh());g.U(b,"ytp-big-mode",this.Yc());this.B&&Ita(this.B,a)};
g.h.VS=function(a){this.Ar(a.state);this.fh()};
g.h.fh=function(){var a=Lua(this);this.K!=a&&(this.K=a,g.U(this.api.getRootNode(),"ytp-hide-info-bar",!a))};
g.h.Ar=function(a){var b;if(!(b=a.isCued())){if(b=!g.Y(this.api).experiments.o("web_player_preroll_hide_controls_killswitch")){b=this.api;var c=void 0===c?b.playerType:c;b=(c=g.Z(b.app,c))?iU(c):!0}b=b&&3!=this.api.getPresentingPlayerType()}c=b;c!=this.isCued&&(this.isCued=c,this.jb&&this.Ka(this.jb),this.jb=this.R(g.PU(this.api),"touchstart",this.BT,void 0,c));b=a.sb()&&!g.X(a,32)||this.api.an();this.A.oc(128,!b);b=3==this.api.getPresentingPlayerType();this.A.oc(256,b);b=this.api.getRootNode();if(g.X(a,
2))var d=["ended-mode"];else d=[],g.X(a,8)?d.push("playing-mode"):g.X(a,4)&&d.push("paused-mode"),g.X(a,1)&&!g.X(a,32)&&d.push("buffering-mode"),g.X(a,32)&&d.push("seeking-mode"),g.X(a,64)&&d.push("unstarted-mode");g.ub(this.ya,d)||(g.Cr(b,this.ya),this.ya=d,g.Ar(b,d));d=g.Y(this.api);var e=g.X(a,2);g.U(b,"ytp-hide-controls",("3"==d.C?!e:"1"!=d.C)||c);g.U(b,"ytp-native-controls","3"==d.C&&!c&&!e);if(g.X(a,128)){this.B||(this.B=new hW(this.api),g.L(this,this.B),g.cV(this.api,this.B.element,4));c=this.B;
b=a.A;for(a=0;a<c.H.length;a++)c.Ka(c.H[a]);c.H=[];d=b.messageKey;a=g.Y(c.B);"play"!=a.playerStyle||"HTML5_NO_AVAILABLE_FORMATS_FALLBACK"!=d&&"UNSUPPORTED_DEVICE"!=d||(d="HTML5_FLASH_DEPRECATED");if("GENERIC_WITHOUT_LINK"!=d||a.gc)"HTML5_NO_AVAILABLE_FORMATS_FALLBACK"!=d||a.gc?"HTML5_FLASH_DEPRECATED"==d?c.Kb(jW(c,"HTML5_FLASH_DEPRECATED","//support.google.com/googleplay/answer/2844198#movies",!1,!0,"\u041e\u0448\u0438\u0431\u043a\u0430")):(c.Kb(Lta(b.message)),c.G&&b.subreason&&c.Kb(Lta(b.subreason),
"subreason")):c.Kb(jW(c,"HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK","//www.youtube.com/html5"));else if(b=g.Y(c.B).zg,d="//support.google.com/youtube/?p=player_error1",b&&(d=g.rh(d,{hl:b})),c.Kb(jW(c,"GENERIC_WITH_LINK_AND_CPN",d,!0)),a.ka&&!a.o)for(a=(0,g.A)(c.K,c),b=c.element.getElementsByTagName("a"),d=0;d<b.length;d++)e=c.R(b[d],"click",a),c.H.push(e);this.B.show()}else this.B&&(this.B.dispose(),this.B=null)};
g.h.Rj=function(){return this.api.ce()&&this.api.se()?(this.api.setCardsVisible(!1,!1),!0):this.api.ag()?(g.NU(this.api,!0),!0):!1};
g.h.XO=function(a){this.Qb=a;this.ug()};
g.h.Yc=function(){return!1};
g.h.Jh=function(){return!this.Yc()&&(480>this.api.getPlayerSize().width||290>this.api.getPlayerSize().height)};
g.h.uk=function(){return this.Wa};
g.h.wn=function(){return null};
g.h.ow=function(){var a=g.PU(this.api).getPlayerSize();return new g.Ch(0,0,a.width,a.height)};
g.h.handleGlobalKeyDown=function(){return!1};
g.h.handleGlobalKeyUp=function(){return!1};
g.h.Uq=function(){};
g.h.showControls=function(a){void 0!=a&&zY(g.PU(this.api),a)};
g.h.qw=function(){};
g.h.KB=function(){return null};g.eAa=.0035*.006;g.WZ={};var SX=[2,5];bY.prototype.D=function(){var a=cY(this);a.format="2_3";a.at="2_3";a.ad_sys="AdSense";a.trsp="1";gZ(this.o,3,a)};g.B(dY,g.K);dY.prototype.W=function(){this.o.reject();dY.fa.W.call(this)};
dY.prototype.F=function(){this.C++;var a=g.y("yt.www.watch.ads.isAfcAdVisible");a&&g.Ja(a)&&a()&&this.B++;4<=this.B?this.o.resolve():5<=this.C?this.o.reject("Timed out waiting for MPU to become visible"):this.A.start()};var jY,fY=!1,gY=!1,eY=!1;g.nF("showCompanionAdLoaded",function(){gY&&(eva(),gY=!1)});
g.nF("watchAdsInit",function(){fY&&(fY=!1,cva())});g.B(lY,g.mH);lY.prototype.rf=function(){return this.adSystem+"_"+this.adType};
lY.prototype.Ei=function(){return this.rf()};
lY.prototype.zb=function(){return this.A?this.A.zb():null};
lY.prototype.abort=g.z;g.B(mY,g.K);mY.prototype.W=function(){mY.fa.W.call(this);g.oe(nY(this));g.oe(ova(this));this.A=this.o=null;delete this.C};g.t(wY,g.K);wY.prototype.start=function(){!this.la()&&isNaN(this.o)&&(this.C=(0,g.H)(),this.o=g.Vg(this.D,Math.max(0,this.B-this.A),this))};
wY.prototype.stop=function(){isNaN(this.o)||(this.C=this.A=0,g.Wg(this.o),this.o=NaN)};
wY.prototype.pause=function(){isNaN(this.o)||(this.A+=(0,g.H)()-this.C,g.Wg(this.o),this.o=NaN)};
wY.prototype.W=function(){isNaN(this.o)||g.Wg(this.o);g.K.prototype.W.call(this)};g.B(yY,lY);yY.A=15E3;yY.o=1E3;g.h=yY.prototype;g.h.abort=function(){xva(this.B,13);this.M||this.A.destroy();this.F=this.G=!1;CY(this)};
g.h.rf=function(){var a=this.zb();var b=$r(a);if(4==mva(b).C)return b;if(Mt(a))a=3;else if(a.isSkippable())a=Nt(a)?1:2;else return this.adSystem+"_"+this.adType;return this.adSystem+"_"+this.adType+"_"+a};
g.h.Ei=function(){return this.adSystem+"_"+this.adType};
g.h.show=function(){this.D=this.o.getRootNode();Math.random()<YX(this.o).experiments.A("ima_video_ad_with_overlay_class_logging_percentage")&&(g.zr(this.D,"ytp-ad-overlay-open")&&g.$E(Error("class ytp-ad-overlay-open is present during video ad is playing")),g.zr(this.D,"ytp-ad-overlay-closed")&&g.$E(Error("class ytp-ad-overlay-closed is present during video ad is playing")));YX(this.o).experiments.o("ima_clear_overlay_class_during_video_ad")&&(g.Cr(this.D,["ytp-ad-overlay-open","ytp-ad-overlay-closed"]),
g.Cr(nY(this.o.D),["ad-overlay"]));kY();LZ(this.o)&&hY(this.o,{});g.R_(this.o.player.app,2);this.B.C=g.GH();this.C.subscribe("progresssync",this.jE,this);this.o.o.M&&g.qe(g.Zd("video-ad-status-bar",this.D));g.Ar(this.D,["ad-showing","ad-interrupting"]);this.o.subscribe("resize",this.Py,this);try{this.Z.X(this.A,"adError",this.OW),this.Z.X(this.A,"click",this.NW),this.Z.X(this.A,"complete",this.QW),this.Z.X(this.A,"engagedview",this.sR),this.Z.X(this.A,"pause",this.qH),this.Z.X(this.A,"start",this.rH),
this.Z.X(this.A,"skip",this.TW),this.Z.X(this.A,"MUTE_AD",this.abort),this.Z.X(this.A,"skippableStateChanged",this.PT),this.Z.X(this.A,"youTubeChannelMetadata",this.lS),this.Z.X(this.A,"yt-show-toast",this.PU),this.Z.X(this.A,"companionInitialized",this.PW),LZ(this.o)&&(this.Z.X(this.A,"youtubeKevlarCompanionShow",this.RW),this.Z.X(this.A,"youtubeKevlarCompanionHide",this.JR)),this.Z.X(nY(this.o.D),"mouseup",this.SW),this.Py(),this.M||this.A.start()}catch(a){DY(this,a)}this.o.o.A&&YX(this.o).experiments.o("ad_info_icon_in_card")&&
PZ(this.o,"onAdMetadataAvailable",{showAdInfoIcon:!0})};
g.h.tH=function(a,b,c){var d=this;if("newdata"==a&&this.videoData!=c){a=new nva;a.isSkippable=this.O;a.isBumper=this.ba;a.skip=(0,g.A)(this.A.skip,this.A);var e=!1;a.muteAdClicked=function(){e=!0;d.A.muteAdClicked()};
a.muteAd=function(){e||d.A.muteAdClicked();e=!1;d.A.muteAd()};
a.whyThisAdClicked=(0,g.A)(this.A.whyThisAdClicked,this.A);a.whyThisAdClosed=(0,g.A)(this.A.whyThisAdClosed,this.A);a.sendAdsPing=g.pG;a.skipShown=(0,g.A)(this.A.YF,this.A);if(b=this.zb()){a.clickThroughUrl=Yt(b)||"";a.skipTime=sga(b,c.lengthSeconds)||0;a.adSystem=this.adSystem;if(b=zva(this))a.whyThisAdInfo=b;var f=Ava(this);f&&(a.muteAdInfo=f);var k=YX(this.o);this.o.o.A&&k.experiments.o("ad_info_icon_in_card")&&(k={showAdInfoIcon:!0},k.whyThisAdInfo=b,k.muteAdInfo=f,PZ(this.o,"onAdMetadataAvailable",
k))}a.videoId=c.videoId;a.videoId||(a.videoUrl=this.no()||"");c.nl=this.Y;BY(this.o,-1,a)}this.videoData=c};
g.h.sH=function(a){a=a.state;g.X(a,1)||this.H.pause();g.X(a,128)?DY(this,Error(a.A.message||"Video player error.")):g.X(a,1)&&this.H.start()};
g.h.rH=function(){this.K=!0;this.F=!1;if(!this.G){this.G=!0;var a=this.B;uY(a);var b=vY(a);if(isNaN(a.C))uY(a);else{var c=g.GH()-a.C;b.ad_stl=c}tY(a,4,b);this.o.bl(1);AY(this,!1);wP("_start","video_to_ad")&&(this.J&&1!=this.J&&(0,g.kR)("yt_abt",this.J,"video_to_ad"),this.videoData&&this.videoData.clientPlaybackNonce&&(0,g.kR)("ad_cpn",this.videoData.clientPlaybackNonce,"video_to_ad"),this.videoData&&this.videoData.videoId&&(0,g.kR)("ad_docid",this.videoData.videoId,"video_to_ad"),(0,g.kR)("cpn",ZX(this.o).clientPlaybackNonce,
"video_to_ad"),(0,g.LP)("apbs",void 0,"video_to_ad"));PZ(this.o,"onAdAnnounce","\u0412\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u0432\u0438\u0434\u0435\u043e\u0440\u0435\u043a\u043b\u0430\u043c\u0430.")}BY(this.o,1);this.U("adPlay",this)};
g.h.qH=function(){this.K&&(this.K=!1,BY(this.o,2))};
g.h.QW=function(){if(!this.F){var a=this.B;uY(a);var b=vY(a),c=a.o.ym();c?b.ad_fmt=c:uY(a);tY(a,5,b);YX(this.o).Nb&&PZ(this.o,"onAdComplete");CY(this);this.F=this.G=!1}};
g.h.sR=function(){var a=this.B;a.o.U("AD_LOGGING_EVENT",777,vY(a))};
g.h.TW=function(){this.F=!0;var a=this.B,b=vY(a),c=a.o.ym();c?b.ad_fmt=c:uY(a);tY(a,14,b);YX(this.o).Nb&&PZ(this.o,"onAdSkip");CY(this)};
g.h.PT=function(){YX(this.o).experiments.o("html5_ad_no_buffer_abort_after_skippable")&&this.H.dispose();PZ(this.o,"onAdAnnounce","\u0412\u0438\u0434\u0435\u043e\u0440\u0435\u043a\u043b\u0430\u043c\u0443 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u044c.")};
g.h.lS=function(){if(!this.la()){var a=this.o.o;if(a){var b=this.zb();if(b){var c=b.V;b=b.ea;var d=YX(this.o),e=zva(this),f=Ava(this);b&&c&&c.ze?(a={},a.videoTitle=c.title,a.channelId=b.channelId,a.channelThumbnailUrl=b.channelIconThumbnailUrl,a.channelTitle=b.authorName,a.channelVideoCount=b.videoCount,a.showAdInfoIcon=this.o.o.A&&d.experiments.o("ad_info_icon_in_card"),a.whyThisAdInfo=e,a.muteAdInfo=f,PZ(this.o,"onAdMetadataAvailable",a)):a.A&&d.experiments.o("ad_info_icon_in_card")&&(a={showAdInfoIcon:!0},
a.whyThisAdInfo=e,a.muteAdInfo=f,PZ(this.o,"onAdMetadataAvailable",a))}}}};
g.h.PU=function(a){PZ(this.o,"onYtShowToast",a.event.o)};
g.h.PW=function(a){a=a.event;var b=a.o;b&&b instanceof g.jg&&this.U("adCompanionInitialized",a.Tb(),b)};
g.h.RW=function(a){if(LZ(this.o)){var b=a.event.Tb();if(a=b&&b.H){b={adHoverTextButtonRenderer:pva(Vt(b),Wt(b))};var c=YX(this.o);a.iframeCompanionRenderer?c.experiments.o("desktop_videowall_companion_wta_support")&&(a.iframeCompanionRenderer.adInfoRenderer=b):a.imageCompanionAdRenderer?c.experiments.o("desktop_image_companion_wta_support")&&(a.imageCompanionAdRenderer.adInfoRenderer=b):a.actionCompanionRenderer?c.experiments.o("desktop_action_companion_wta_support")&&(a.actionCompanionRenderer.adInfoRenderer=
b):a.shoppingCompanionCarouselRenderer&&c.experiments.o("desktop_shopping_companion_wta_support")&&(a.shoppingCompanionCarouselRenderer.adInfoRenderer=b);hY(this.o,a)}}};
g.h.JR=function(){LZ(this.o)&&hY(this.o,{})};
g.h.OW=function(a){var b={};try{b.error_code=a.event.getError().Fb()}catch(c){b.error_code=900,b.error_message=c.toString()}xva(this.B,32,b);DY(this,a.event.getError())};
g.h.NW=function(){var a=this.B;uY(a);var b=vY(a);if(a.A){var c=aY(a.B);b.ck_xy=Math.round(a.A.x-c.left)+"x"+Math.round(a.A.y-c.top);b.ck_wh=c.width+"x"+c.height}tY(a,15,b);this.A.pause();this.U("select")};
g.h.jE=function(){};
g.h.dE=function(){this.A.Cf();if(this.G&&!this.F){var a=this.B;a.o.U("AD_LOGGING_EVENT",19,vY(a))}AY(this,!0)};
g.h.W=function(){this.o.unsubscribe("control_toggle_play_pause",this.uH,this);this.o.unsubscribe("control_play",this.gx,this);this.o.unsubscribe("control_pause",this.fx,this);this.o.unsubscribe("resize",this.Py,this);g.hH(this.Z);this.C.unsubscribe("statechange",this.sH,this);this.C.unsubscribe("internalAbandon",this.dE,this);this.C.unsubscribe("internalvideodatachange",this.tH,this);this.C.unsubscribe("progresssync",this.jE,this);this.M||this.A.destroy();this.L&&(g.oe(this.L),this.L=null);this.V&&
(g.qe(this.V),this.V=null);this.D&&(g.Cr(this.D,["ad-showing","ad-interrupting"]),this.D=null);this.F=!1;Ewa(this.o);this.H.dispose();this.H=null;yY.fa.W.call(this)};
g.h.vp=function(){return this.C.getDuration()};
g.h.ym=function(){return this.videoData&&this.videoData.Ca?this.videoData.Ca.mimeType:null};
g.h.no=function(){return this.videoData&&this.videoData.Xd?this.videoData.Xd.Ck().o:null};
g.h.uH=function(){this.K?this.fx():this.gx()};
g.h.gx=function(){this.A.resume();this.rH()};
g.h.fx=function(){this.A.pause();this.qH()};
g.h.Py=function(){g.gi(nY(this.o.D),this.o.app.H.getPlayerSize())};
g.h.SW=function(a){a=new g.Od(RG(a),SG(a));this.B.A=a};g.B(GY,lY);g.h=GY.prototype;g.h.vp=function(){};
g.h.ym=function(){};
g.h.no=function(){};
g.h.show=function(){if(!this.D||!UZ(this.o)){var a=this.o.getRootNode();g.T(a,"ad-showing");this.C=nY(this.o.D);a=this.A.zb().getHeight();this.C.style.height=Vh(a,!0);g.T(this.C,"ad-overlay");this.Z.X(this.C,"mouseup",this.XW);try{this.Z.X(this.A,"autoClose",this.yQ),this.Z.X(this.A,"userClose",this.pU),this.Z.X(this.A,"click",this.VW),this.Z.X(this.A,"impression",this.GR),this.Z.X(this.A,"why_this_ad_url",this.Ww),this.Z.X(this.A,"why_this_ad_got_it",this.Vw),this.Z.X(this.A,"adError",this.UW),LZ(this.o)&&
this.Z.X(this.A,"youtubeKevlarCompanionShow",this.WW),this.Cc("normal"),this.Fl(),this.H||this.A.start(),this.Qy(),this.G=!0,this.o.subscribe("resize",this.Fl,this),this.o.subscribe("presentingplayerstatechange",this.vH,this),this.U("adEnd",this)}catch(b){this.U("adError",b)}}};
g.h.Ww=function(){(this.F=2==G0(this.o.app))||this.o.pauseVideo()};
g.h.Vw=function(){this.F||this.o.playVideo()};
g.h.WW=function(a){LZ(this.o)&&(a=(a=a.event.Tb())&&a.H)&&hY(this.o,a)};
g.h.W=function(){var a=this.o.getRootNode();g.Cr(a,["ytp-ad-overlay-open","ytp-ad-overlay-closed"]);g.hH(this.Z);this.o.unsubscribe("resize",this.Fl,this);this.o.unsubscribe("presentingplayerstatechange",this.vH,this);g.Br(a,"ad-showing");this.A&&(this.H||this.A.destroy(),this.A=null);this.C&&g.Br(this.C,"ad-overlay");this.C=null;this.D=!1;GY.fa.W.call(this)};
g.h.pU=function(){this.C&&this.A&&this.A.zb()&&(this.C.style.height=Vh(0,!0));this.D=!0;var a=this.B;a.A=(0,g.H)();var b=FY(a);EY(a,6,b);HY(this,!1)};
g.h.yQ=function(){HY(this,!1)};
g.h.VW=function(){this.o.pauseVideo();var a=this.B;a.A=(0,g.H)();var b=FY(a);if(a.C){var c=aY(a.D);b.ck_xy=Math.round(a.C.x-c.left)+"x"+Math.round(a.C.y-c.top);b.ck_wh=c.width+"x"+c.height}EY(a,100,b)};
g.h.GR=function(){PZ(this.o,"onAdAnnounce","\u041e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0435.");HY(this,!0)};
g.h.XW=function(a){this.B.C=a.target==a.currentTarget?null:new g.Od(a.pageX,a.pageY)};
g.h.UW=function(a){this.U("adError",a.event.getError())};
g.h.vH=function(a){g.X(a.state,16)&&this.Cc("normal")};
g.h.Cc=function(a){this.J!=a&&(this.J=a,this.G&&this.Fl())};
g.h.Fl=function(){var a=oi(this.C);if(this.A.zb()){var b=this.A.zb().ab(),c=this.A.zb().getHeight();(b>a.width||c>a.height)&&HY(this,!1)}};
g.h.Qy=function(){var a=this.B;a.B=(0,g.H)();var b=FY(a);EY(a,3,b)};g.B(IY,g.K);IY.A="rm";IY.o=10;IY.D=200;IY.C=200;IY.B=190;g.h=IY.prototype;
g.h.load=function(){var a=this.o.getPlayerSize();if(this.o.o.D)var b=!1;else b=0<(this.F&3)?190:200,b=200>a.width||a.height<b;if(b){b=this.C;var c=cY(b);c.ck_wh=a.width+"x"+a.height;OZ(b.o,14,c);kY();iZ(this.D)}else if(this.qb=this.o.qb)a=this.C,gZ(a.o,9,cY(a)),a=$ua(this.o),(b=this.o.o.serverPrefetchedVast)&&0<(this.F&3)?(a.A=b,this.o.o.serverPrefetchedVast=void 0):a.o=this.uh(),this.qb.X("adsManagerLoaded",this.oH,!1,this),this.qb.X("adError",this.nH,!1,this),this.GF(this.qb,a)};
g.h.ou=function(){var a=Qua(this.o.o,YX(this.o),ZX(this.o));a.surveyCreativeData=this.o.o.surveyCreativeData;a.yW=this.H;return a};
g.h.oH=function(a){if(a.A===this){(0,g.LP)("aml");xP("aml");try{var b=this.ou(),c=a.o}catch(d){this.Rh(d);return}this.B.X(c,"companionBackfill",(0,g.A)(this.MW,this,c));this.B.X(c,"loaded",(0,g.A)(this.LW,this,c));this.B.X(c,"adError",(0,g.A)(this.KW,this,c));this.B.X(c,"allAdsCompleted",g.z);this.B.X(c,"contentPauseRequested",g.z);this.B.X(c,"contentResumeRequested",g.z);c=$B(a,this.o.F,{},b);try{c.init("normal")}catch(d){c.destroy(),this.Rh(d)}}};
g.h.LW=function(a,b){g.co(this.B);var c=b.Tb(),d=c.Yb(),e=this.C,f=cY(e);f.ad_man=d?"instream":"overlay";gZ(e.o,12,f);e=a.wh();switch(d?this.Jp(a,c,e):this.Ii(a,c)){case 0:Tva(this.D,this.J,this.A);break;case 1:a.destroy();iZ(this.D);break;case 2:c=this.C;OZ(c.o,21,cY(c));a.destroy();iZ(this.D);break;case 3:iZ(this.D);break;default:a.destroy()}};
g.h.KW=function(a,b){g.co(this.B);a.destroy();this.Rh(b.getError())};
g.h.nH=function(a){var b=a.getError();"adLoadError"==b.Xb()&&a.o===this&&this.Rh(b)};
g.h.MW=function(){Cva(this)};
g.h.Jp=function(a,b,c){var d=ZX(this.o)&&ZX(this.o).nl;if(d&&c&&!this.L.test(c))return 3;KY(this,$t(b));JY(this,new yY(this.H,this.o,a,b.isSkippable(),b.isBumper(),void 0,d,this.A.o));return 0};
g.h.Ii=function(a,b){KY(this,$t(b));JY(this,new GY(this.H,this.o,a));return 0};
g.h.Rh=function(a){if(a){var b=this.C,c=cY(b);a&&Pua(a,c);OZ(b.o,32,c);iZ(this.D)}};
g.h.W=function(){this.qb&&(this.qb.Ka("adsManagerLoaded",this.oH,!1,this),this.qb.Ka("adError",this.nH,!1,this));g.co(this.M);g.co(this.B);IY.fa.W.call(this)};
g.h.GF=function(a,b){try{gE(a,b,this),(0,g.LP)("ar"),xP("ar")}catch(c){this.Rh(c)}};g.B(LY,lY);g.h=LY.prototype;g.h.vp=function(){};
g.h.ym=function(){};
g.h.no=function(){};
g.h.show=function(){if(LZ(this.o))hY(this.o,{afcMpu:{logImpression:this.pH.bind(this),logNoAd:this.Ou.bind(this)}});else if(eY)this.Ou();else{var a=YX(this.o).experiments;cva();iY();fva(a).then((0,g.A)(this.pH,this),(0,g.A)(this.Ou,this))}};
g.h.pH=function(){var a={ad_sys:"AdSense"};a.at=this.Ei();a.format=this.rf();this.U("AD_LOGGING_EVENT",3,a);this.U("adEnd",this)};
g.h.Ou=function(){var a={};a.at=this.Ei();this.U("AD_LOGGING_EVENT",2,a);this.U("adEnd",this)};g.B(MY,IY);MY.prototype.ou=function(){var a=MY.fa.ou.call(this);a.eA=0==this.K;a.PJ=UZ(this.o)?a.eA:!0;return a};
MY.prototype.uh=function(){var a=UX(this.A);var b=this.G;(b=4==this.F&&b.o.afvInvideoAdTag?b.o.afvInvideoAdTag:b.o.afvAdTag)?(g.xb(b,"http:")&&(b=b.substr(5)),a=g.FF(b,{videoad_start_delay:0==a||-1==a?a:1E3*a})):a="";return a};
MY.prototype.Ii=function(a,b){if(this.o.o.D)return 1;if(1==this.A.o){var c=new TX(2,10);this.A=c;this.C.C=c;gZ(this.o,1)}return MY.fa.Ii.call(this,a,b)};g.B(NY,GY);NY.prototype.Fl=function(){};
NY.prototype.rf=function(){return"1_3"};
NY.prototype.Qy=function(){1==this.K?this.U("AD_LOGGING_EVENT",2,{}):NY.fa.Qy.call(this)};g.B(OY,IY);OY.prototype.uh=function(){var a=this.G,b=UX(this.A);if(0<(this.F&3)){var c="mid,"+a.Ib;var d="midroll";0==b?(c="pre",d="preroll"):-1==b&&(c="post",d="postroll");a=new g.Hn(a.o);b=a.o;var e=b.get("scp","");e=(e?e+"&":"").replace(RegExp("&?pos=[^&]*","g"),"");b.set("scp",e+("pos="+c));b.set("vpos",d);c=a.toString()}else c=a.o;return c};
OY.prototype.Ii=function(a,b){KY(this,$t(b));var c=Jt(b);if(XX(c,"rm"))return 1==this.F||UZ(this.o)||kY(),a.Zk(),2;if(XX(c,"blockAllAds"))return a.Zk(),JY(this,new NY(this.o,a,1)),0;if(XX(c,"hideMaster"))return JY(this,new NY(this.o,a,0)),0;if(this.o.o.D)return 1;JY(this,new GY(this.H,this.o,a));return 0};g.B(PY,IY);PY.A="https://www.googleapis.com/urlshortener/v1/url?key=AIzaSyBbSB-E7SYd1iggX6r2b5C7ljvO6fVqaj0&shortUrl=";PY.C="43";PY.o=function(a){var b=new JE;g.UF(a,{format:"RAW",method:"GET",timeout:5E3,withCredentials:!0,Id:function(){var c=Error(a+" timed out");NE(b);LE(b,!1,c)},
onError:function(c){c=Error("Problem loading "+a+" with status code "+c.status);NE(b);LE(b,!1,c)},
onSuccess:function(c){b.Tl(c)}});
return b};
PY.prototype.uh=function(){return""};
PY.prototype.GF=function(a,b){var c=this.F;c&1||c&4||c&8?this.G?c&8?hva(this.G):("goo.gl"==g.hh(this.G)?(c=PY.o("https://www.googleapis.com/urlshortener/v1/url?key=AIzaSyBbSB-E7SYd1iggX6r2b5C7ljvO6fVqaj0&shortUrl="+this.G),PE(c,function(d){d=JSON.parse(d.responseText);if(!d)throw Error("Invalid expanded forced ad URL.");if(!d.longUrl)throw Error("Missing forced ad URL information.");d=new g.Hn(d.longUrl);g.Qn(d,"video_format","43");return PY.o(d.toString())},this)):c=PY.o(this.G),PE(c,function(d){b.A=
d.responseText;
gE(a,b,this)},this),OE(c,null,this.Rh,this)):this.Rh(Error("Invalid empty URL")):this.Rh(Error("Invalid request type: "+c))};var QY=null;g.t(Kva,g.lQ);g.t(SY,g.lQ);g.h=SY.prototype;g.h.W=function(){g.lQ.prototype.W.call(this);this.clear()};
g.h.bind=function(a,b){Mva(this,a);this.H=b||Lva()};
g.h.clear=function(){this.D.clear();this.F.stop()};
g.h.start=function(){this.F.start();this.jy()};
g.h.cQ=function(a){this.B||(this.B=new AV(a.target),g.L(this,this.B),this.element.appendChild(this.B.o.ra()));this.B.bind(this.H);this.B.show()};
g.h.jy=function(){TV(this.D)};
g.h.uL=function(){this.K.start()};g.B(TY,lY);TY.prototype.vp=function(){};
TY.prototype.ym=function(){};
TY.prototype.no=function(){};
TY.prototype.show=function(){var a=ZX(this.o).videoId;if(a){var b=this.A.zb();YX(this.o).J.add(a,{oi:Eu(b)||null,rl:Fu(b)||null});if(LZ(this.o)){var c=Nva(this);g.Za(c)||(a=Vt(this.A.zb())||void 0,c={shopText:oY(et(c[0],"teaser_text")),sponsoredText:oY("\u0420\u0435\u043a\u043b\u0430\u043c\u0430"),itemList:{horizontalListRenderer:{items:(0,g.I)(c,sva),visibleItemCount:3,webHorizontalListRendererExtensionData:{nextButton:{buttonRenderer:{style:"STYLE_DEFAULT",size:"SIZE_DEFAULT",icon:{iconType:"CHEVRON_RIGHT"}}},
previousButton:{buttonRenderer:{style:"STYLE_DEFAULT",size:"SIZE_DEFAULT",icon:{iconType:"CHEVRON_LEFT"}}}}}}},a?(c.adInfoButton={buttonRenderer:{style:"STYLE_OPACITY",size:"SIZE_DEFAULT",icon:{iconType:"INFO"},navigationEndpoint:{adInfoDialogEndpoint:{}}}},pY(c.adInfoButton.buttonRenderer.navigationEndpoint.adInfoDialogEndpoint,a)):c.adInfoText=oY("\u042d\u0442\u043e \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u043d\u0430\u044f \u0440\u0435\u043a\u043b\u0430\u043c\u0430. \u0415\u0435 \u043f\u043e\u043a\u0430\u0437 \u043c\u043e\u0436\u0435\u0442 \u043e\u043f\u043b\u0430\u0447\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u043f\u0440\u043e\u0434\u0430\u0432\u0446\u043e\u043c."),
PZ(this.o,"onPlaShelfInfoCardsReady",{renderer:c}))}else if(a=Nva(this),!g.Za(a)){c=Vt(this.A.zb());if(c){var d={};pY(d,c);d=d.dialog.adInfoDialogRenderer}this.C.bind(a,d);a=this.C.element;Fva().then(g.Na(Gva,a)).then(this.C.start,null,this.C)}a={};a.format=this.rf();a.at=this.Ei();WX(b,a);this.U("AD_LOGGING_EVENT",3,a)}};g.B(UY,IY);UY.prototype.uh=function(){return""};
UY.prototype.Ii=function(a,b){KY(this,$t(b));JY(this,new TY(this.o,a));5!=this.A.o&&Cva(this);return 0};
UY.prototype.Jp=function(){return 1};g.B(VY,UY);VY.prototype.uh=function(){return this.o.o.xa||""};g.B(ZY,GY);ZY.prototype.Fl=function(){};
ZY.prototype.rf=function(){return"4_3"};g.B($Y,IY);
$Y.prototype.uh=function(){if(g.E(this.G)||0!=UX(this.A)){var a=this.V;if(a.o.ka&&a.o.Aa){var b={};var c="youtube_watch_"+a.C;b.nw="10613";b.asnw=a.o.ka;b.ssnw=a.o.ka;b.caid=a.o.Aa;b.vdur=a.F;b.csid=c;b.resp="vast2";b.metr="121";c={};isNaN(a.o.age)||(c._fw_d_001=a.o.age);a.o.gender&&(c._fw_d_002=a.o.gender);a.o.ya&&(c["_fwu:10613:lang"]=a.o.ya);a.o.sa&&(c._fw_dbp=a.o.sa);a.o.contentVideoId&&(c._fw_distributorvideoassetid=a.o.contentVideoId);c._fw_yt_type=Qva(a)?"long":"short";b.prof=Qva(a)?"10613:youtube_html5_w_midroll":
"10613:10613_youtube_html5_2014";b.crtp="youtube";b.flag=WY(a.A)?"+slcb+qtcb+amcb+exvt+emcr":"+slcb+qtcb+amcb+emcr";var d="";if(a.D&1&&!a.H){var e={};d=Pva(a);if(YY(a.A)){if(YY(a.A)){var f=0;var k=a.B.A;if(k){k=k.Db;for(var l=0;l<k.length&&(YY(k[l])&&f++,k[l].getId()!=a.A.getId());l++);}}else f=0;d+=f}e.slid=d;e.ptgt="a";d="";a.o.F&&!a.o.C?d=";linear-skippable":!a.o.F&&a.o.C&&(d=";video");e.slau=Pva(a)+d;e.tpos=XY(a.A)?a.F.toString():UX(a.A.Vb).toString();d=AF(e)+";";e={slid:"page_display1",w:"300",
h:"60",ptgt:"s",slau:"display",flag:"+cmpn"};d+=AF(e)+";"}a.D&4&&(e={slid:"overlay",ptgt:"a",slau:"overlay"},e.tpos=WY(a.A)?"10":XY(a.A)?a.F.toString():UX(a.A.Vb).toString(),d+=AF(e)+";",e={slid:"page_display2",w:"300",h:"250",ptgt:"s",slau:"display",flag:"+cmpn"},d+=AF(e)+";");a.D&8&&(e={slid:"dis",w:"300",h:"250",ptgt:"s",slau:"display",flag:"+cmpn"},d+=AF(e)+";");a=d.substr(0,d.length-1);b="//2975c.v.fwmrm.net/ad/g/1?"+AF(b)+";"+AF(c)+";"+a}else b=""}else b=this.G;return b};
$Y.prototype.Jp=function(a,b){return $Y.fa.Jp.call(this,a,b,null)};
$Y.prototype.Ii=function(a,b){var c=Jt(b);if(XX(c,"rm"))return this.D.D=g.ic(a),2;if(this.o.o.D)return 1;if(XX(c,"hideMaster")){if(a.de&&a.de.Ai()){c=a.de.Ai();var d=a.zb();if(Q()){var e=d.K;d.K=[];d=e}else d=[];c.impressionUrls=d}JY(this,new ZY(this.o,a));return 0}return $Y.fa.Ii.call(this,a,b)};aZ.prototype.Xb=function(){return this.A};
aZ.prototype.create=function(a,b){switch(this.A){case 1:return new MY(a,b,this.o);case 2:return new OY(a,b,this.o);case 5:return new $Y(a,b,this.o);case 4:return new PY(a,b);case 7:return new UY(a,b,this.o);case 8:return new VY(a,b,this.o);default:return null}};g.B(bZ,g.mH);g.h=bZ.prototype;g.h.Mb=function(){return"loaded"==this.B||"error"==this.B};
g.h.getId=function(){return this.Ja};
g.h.show=function(){this.H?this.o instanceof GY&&this.o.Cc("normal"):(this.H=!0,this.o instanceof yY&&this.C.De("bs"),this.o.subscribe("adEnd",this.iE,this),this.o.subscribe("adError",this.kH,this),this.o.subscribe("AD_LOGGING_EVENT",this.mH,this),this.o.subscribe("select",this.jH,this),this.o.subscribe("adCompanionInitialized",this.lH,this),this.o.show(),Uva(this,!0))};
g.h.iE=function(){this.A&&(jZ(this),Dwa(this.C));fZ(this)};
g.h.kH=function(a){if(a){var b={};Pua(a,b);hZ(this,b);OZ(this.C,32,b)}jZ(this);fZ(this)};
g.h.mH=function(a,b){hZ(this,b);gZ(this.C,a,b)};
g.h.jH=function(){this.G=!1};
g.h.lH=function(a,b){this.U("adCompanionInitialized",a,b)};
g.h.W=function(){jZ(this);this.o=null;null!=this.D&&(this.D.dispose(),this.D=null);bZ.fa.W.call(this)};var $va=[new TX(1)];var awa={LI:"m",sI:"f"};g.B(kZ,g.K);kZ.prototype.D=function(a){if(a=a.Tb()){var b=a.G;if(null!=b){var c=xY(this.C.player.app,2);c&&c.getVideoData().videoId==b?c.B?(c=c.B,b=fR(c,"engage"),b.D=1,c=Yna(c.o),b=g.Na(ooa,b.sa,bR(b),$Q(b),c)):b=null:b=null;this.A=b}Jwa(this.C,a)}else g.$E(Error("Ad object is missing in AdEvent"))};
kZ.prototype.B=function(){this.o&&this.A&&this.A()};g.B(lZ,g.K);g.h=lZ.prototype;g.h.tG=function(){this.o.subscribe("beginseeking",this.Vo,this)};
g.h.jG=function(a,b){return a.A&&YY(a)?b+this.B+this.C:b};
g.h.iG=function(a,b){return!a.A||XY(a)||0x7ffffffffffff==b||0x8000000000000==b?b:b+this.B+this.C};
g.h.Zz=function(a){if(a.A&&YY(a)&&!(0>=this.C)){var b={priority:2,id:String(a.getId()),style:"ytp-ad-fadeout"},c=dZ(a)+this.B;b=new g.lR(c,c+this.C-1,b);this.D[a.getId()]=b;tZ(this.o,[b])}};
g.h.zH=function(a){a.A&&YY(a)&&(dwa(this,a.getId()),this.Vo())};
g.h.Vo=function(){isNaN(this.A)||(g.iF(this.A),this.A=NaN);var a=RZ(this.o);mZ(this,a,this.o.app.K.getVolume()/100);a.Gd("transition","");a.Gd("opacity","1")};
g.h.AH=function(a){var b=dZ(a)+this.B+this.C;b=50>=1E3*this.o.getCurrentTime(1)-b;a.A&&YY(a)&&b&&(a=.001*(dZ(a)+this.G),this.o.seekTo(a),0>=this.F||(a=RZ(this.o),a.Gd("opacity","0"),mZ(this,a,0),YX(this.o).experiments.o("use_async_run_for_execution_in_ima")?g.vg(this.xH,this):g.gF((0,g.A)(this.xH,this),0)))};
g.h.xH=function(){var a=RZ(this.o);a.Gd("transition","opacity "+String(this.F)+"ms linear");a.Gd("opacity","1");ewa(this,a,this.F,1)};
g.h.yH=function(a,b,c){if(!isNaN(this.A)){var d=Math.max(1,b-(0,g.H)());d=-1*a.getVolume()*c/d;d=Math.max(0,a.getVolume()+d);mZ(this,a,d);this.A=0<d?bW((0,g.A)(this.yH,this,a,b,c),c):NaN}};
g.h.wH=function(a,b,c){if(!isNaN(this.A)){var d=Math.max(1,b-(0,g.H)()),e=this.o.app.K.getVolume()/100;d=(e-a.getVolume())*c/d;d=Math.min(e,a.getVolume()+d);mZ(this,a,d);this.A=d<e?bW((0,g.A)(this.wH,this,a,b,c),c):NaN}};
g.h.W=function(){this.Vo();this.o.unsubscribe("beginseeking",this.Vo,this);lZ.fa.W.call(this)};g.B(nZ,lZ);g.h=nZ.prototype;g.h.tG=g.z;g.h.jG=function(a,b){return b};
g.h.iG=function(a,b){return b};
g.h.Zz=g.z;g.h.zH=g.z;g.h.AH=g.z;g.h.W=g.z;g.B(oZ,g.K);oZ.prototype.A=function(){if(this.B){var a=this.o.o;if(null!=a&&(a=a.o,!(0>=a))){var b=this.o.player.getCurrentTime(),c=[],d=null,e=Number.MAX_VALUE;g.Mb(this.F.C,function(k){k.Mb();if(k.isVisible&&!(0>=qZ(this,k))){var l=k.getId();l=this.F.D[l];if(qZ(this,k)>b){var m=!rZ(this,k);m!=l.visible&&(l.visible=m,c.push(l));m||(l=qZ(this,k)-b,l<e&&(e=l,d=k))}else l.visible||(l.visible=!0,c.push(l))}},this);
0<c.length&&tZ(this.o,c,1);if(d){var f=0;0<this.C&&(f=(0,g.H)()/1E3-this.C);fwa(this,a-f-e+2)}else pZ(this)}}};
oZ.prototype.W=function(){pZ(this);this.o.unsubscribe("endseeking",this.A,this);oZ.fa.W.call(this)};g.B(sZ,g.K);g.h=sZ.prototype;g.h.Jk=function(a){a.unsubscribe("adBreakComplete",this.Jk,this);a.unsubscribe("adCompanionInitialized",this.Pw,this);YX(this.A).experiments.o("use_async_run_for_execution_in_ima")?g.vg((0,g.A)(this.gE,this,a)):this.V=g.gF((0,g.A)(this.gE,this,a),0)};
g.h.Pw=function(a,b){g.Gf(this.K);this.K=new kZ(this.A,b)};
g.h.gE=function(a){var b=iwa(this,a),c=b.previous;b=b.next;this.V=NaN;var d=!1;switch(a.Vb.o){case 5:var e=0x7ffffffffffff;d=!0;break;case 3:e=0x8000000000000;break;default:e=b&&g.Ca(b.Vb.A)?dZ(b)-1:0x7ffffffffffff}0==a.Ja&&(this.A.De("bl"),cZ(a)||this.A.De("fb"));"loaded"!=a.B||0==a.Ja&&cZ(a)&&b&&1E3*this.A.player.getCurrentTime()>=dZ(b)?(c&&c.Mb()&&!d&&(b=e,e=dZ(c),e>b&&(b=e),kwa(this,c),jwa(this,c,b)),this.wi(a)):(this.C[a.getId()]=a,jwa(this,a,e),eZ(this.A));g.Sb(this.C)==this.Db.length&&this.J.A();
gwa(this)};
g.h.wi=function(a){a.unsubscribe("adBreakComplete",this.Jk,this);a.unsubscribe("adBreakComplete",this.En,this);this.o&&a==this.o&&(this.o=null,null!=this.K&&a.A&&(this.K.o=!0));kwa(this,a);g.db(this.Db,a);delete this.C[a.getId()];g.Gf(a)};
g.h.Uj=function(a){return this.C[a]};
g.h.En=function(a){a.unsubscribe("adBreakComplete",this.En,this);if(a.A){!XY(a)&&a.G?(TZ(this.A),this.B.AH(a)):cZ(a)&&!a.G?TZ(this.A):SZ(this.A);this.wi(a);a=this.J;if(a.B){var b=a.o.o;b&&0<b.o&&(a.C=(0,g.H)()/1E3,a.A())}for(;!g.Za(this.M);)lwa(this,this.M.shift())}else a.isVisible||this.wi(a)};
g.h.W=function(){g.iF(this.V);g.Gf(this.B);g.Gf(this.J);(0,g.C)(this.Db,this.wi,this);g.Gf(this.K);sZ.fa.W.call(this)};g.B(uZ,sZ);g.h=uZ.prototype;g.h.Uj=function(a){a=uZ.fa.Uj.call(this,a);if(!a)return null;if(!a.J)return a;var b=null;if(this.F.length){var c=b=this.F.shift();c.Vb=a.Vb;c.Ja=a.getId()}b&&"loaded"==b.B?(a.unsubscribe("adBreakComplete",this.Jk,this),this.C[a.getId()]=b,this.Db[this.Db.indexOf(a)]=b,g.Gf(a)):(this.Ok(),b&&(g.Gf(b),b=null,this.wi(a)));b&&!b.A&&this.Ok();return b};
g.h.Jk=function(a){!WY(a)&&(2!=a.Vb.o||10!=UX(a.Vb))||"loaded"==a.B&&a.A||this.Ok();uZ.fa.Jk.call(this,a)};
g.h.En=function(a){a.A&&10<this.O?(vZ(this),this.Y=g.gF((0,g.A)(this.Ok,this),1E3*(this.O-10))):this.Ok();uZ.fa.En.call(this,a)};
g.h.Ok=function(){if(!this.la())for(vZ(this);this.H.length&&this.L.length+this.F.length<this.aa;){var a=this.H.shift();a.subscribe("adBreakComplete",this.hE,this);this.L.push(a);iZ(a)}};
g.h.hE=function(a){a.unsubscribe("adBreakComplete",this.hE,this);g.db(this.L,a);this.F.push(a)};
g.h.W=function(){vZ(this);g.C(this.L,g.Gf);g.C(this.F,g.Gf);g.C(this.H,g.Gf);uZ.fa.W.call(this)};g.B(wZ,sZ);wZ.prototype.getVideoData=function(){return null};
wZ.prototype.ga=function(a){"loaded"==a.B&&this.H.push(a);a.unsubscribe("adBreakComplete",this.ga,this)};
wZ.prototype.O=function(){if(null!=this.o&&0<this.H.length){var a=this.H.shift();delete this.C[UX(a.Vb)];var b=Math.floor((0,g.H)()/1E3)-this.ea;this.ea=null;a.unsubscribe("adBreakComplete",this.O,this);this.wi(a);this.o=null}0<this.L?(this.L--,mwa(this)):(TZ(this.Y),isFinite(b)&&(this.aa?this.F.seekTo(Infinity,!0):this.F.seekTo(this.F.getCurrentTime()+b,!0)))};nwa.prototype.Mg=function(){var a={allowed:this.A};this.o.excludedAds&&(a.ex_ad=this.o.excludedAds);this.C&&(a.at=this.C);return a};g.B(xZ,g.K);xZ.prototype.G=function(){this.o||(this.o=owa(this.B.Oe()));tZ(this.A,g.Ub(this.o),1)};
xZ.prototype.C=function(){if(this.o){var a=this.A.player.getCurrentTime(),b=[],c=null,d=Number.MAX_VALUE;(0,g.C)(this.B.Oe(),function(k){var l=this.o[k];if(l){var m=this.B.Uj(k);m&&m.Dc>a?(k=!this.he.A(m),k!=l.visible&&(l.visible=k,b.push(l)),k||(l=m.Dc-a,l<d&&(d=l,c=m))):!m||m.sb()?(g.$U(this.A.player,[l],void 0),delete this.o[k]):!l.visible&&m&&(l.visible=!0,b.push(l))}},this);
0<b.length&&tZ(this.A,b,1);var e=this.A.o;if(null!=e&&(e=e.o,0>=e))if(c){var f=0;0<this.F&&(f=(0,g.H)()/1E3-this.F);pwa(this,e-f-d+2)}else yZ(this)}};
xZ.prototype.W=function(){this.A.unsubscribe("endseeking",this.C,this);yZ(this);xZ.fa.W.call(this)};g.B(zZ,g.K);g.h=zZ.prototype;g.h.HB=function(){return 4};
g.h.Pr=function(a){return a};
g.h.xF=function(){return!1};
g.h.aA=g.z;g.h.oo=g.z;g.h.BH=g.z;g.h.CH=g.z;g.h.DH=g.z;g.B(AZ,g.K);g.h=AZ.prototype;g.h.HB=function(){return 4-this.B/1E3};
g.h.Pr=function(a){return Xb(this.C,1E3*a)?this.C[1E3*a]/1E3:a};
g.h.xF=function(a){var b=!1,c={};(0,g.C)(se(a),(0,g.A)(function(d){var e;if(e=(e=d.getAttribute("timeOffset"))?qwa(e):null)b=b||rwa(d),c[e]=d},this));
if(!b||0==g.Sb(c))return!1;a=(0,g.I)(g.Vb(c),function(d){return parseInt(d,10)});
if(!uwa(this,a))return!1;g.Mb(c,(0,g.A)(function(d,e){var f=parseInt(Zb(this.C,function(k){return k==e}),10);
f&&d.setAttribute("timeOffset",swa(f))},this));
return!0};
g.h.aA=function(a){if(!(0>=this.K)){var b=[];(0,g.C)(a,(0,g.A)(function(c){if(Xb(this.C,1E3*c)){var d=new g.lR(1E3*this.Pr(c)+this.B,1E3*c+500,{priority:2,id:String(c),style:"ytp-ad-fadeout"});this.D[c]=d;b.push(d)}},this));
tZ(this.o,b)}};
g.h.BH=function(a){if(Xb(this.C,1E3*a)){var b=RZ(this.o);null!==b&&(a=Math.max(0,1E3*a-1E3*this.o.getCurrentTime(1)),b.Gd("transition","opacity "+String(a)+"ms linear"),b.Gd("opacity","0"),vwa(this,b,a,0))}};
g.h.CH=function(a){BZ(this,1E3*a)&&(this.D[a]&&(g.$U(this.o.player,[this.D[a]],void 0),delete this.D[a]),this.oo())};
g.h.JH=function(){g.X(g.OU(this.o.player),4)&&this.oo()};
g.h.oo=function(){var a=RZ(this.o);null!==a&&(null!=this.A&&(g.iF(this.A),this.A=null),CZ(this,a,this.o.app.K.getVolume()/100),a.Gd("transition",""),a.Gd("opacity","1"))};
g.h.DH=function(a){if(Xb(this.C,1E3*a)){var b=1E3*a;200>=1E3*this.o.getCurrentTime(1)-b&&(this.o.seekTo(this.Pr(a)+this.J/1E3),0>=this.F||(a=RZ(this.o),null!==a&&(a.Gd("opacity","0"),CZ(this,a,0),null!=this.A&&g.iF(this.A),this.A=bW((0,g.A)(this.eX,this),0))))}};
g.h.eX=function(){var a=RZ(this.o);null!==a&&(a.Gd("transition","opacity "+String(this.F)+"ms linear"),a.Gd("opacity","1"),vwa(this,a,this.F,1))};
g.h.IH=function(a,b,c){if(null!==this.A){var d=Math.max(1,b-(0,g.H)());d=-1*a.getVolume()*c/d;d=Math.max(0,a.getVolume()+d);CZ(this,a,d);0<d?this.A=bW((0,g.A)(this.IH,this,a,b,c),c):this.A=null}};
g.h.HH=function(a,b,c){if(null!==this.A){var d=Math.max(1,b-(0,g.H)()),e=this.o.app.K.getVolume()/100;d=(e-a.getVolume())*c/d;d=Math.min(e,a.getVolume()+d);CZ(this,a,d);d<e?this.A=bW((0,g.A)(this.HH,this,a,b,c),c):this.A=null}};
g.h.W=function(){this.oo();this.o.unsubscribe("applicationplayerstatechange",this.JH,this);AZ.fa.W.call(this)};g.B(DZ,g.K);var Bwa={ADSENSE:2,"ADSENSE/ADX":2,"YT:ADSENSE":2,DART:1,DART_DFA:1,DART_DFP:1,GDFP:1,"YT:DOUBLECLICK":1,FREEWHEEL:4,"YT:SHOPPING":14,SHOPPING:14,"ADSENSE-VIRAL":15,"YT:ADSENSE-VIRAL":15,"VIRAL-RESERVE":17,"YT:VIRAL-RESERVE":17};g.h=DZ.prototype;
g.h.load=function(a){if(this.qb=this.o.qb){var b=this.o.o;this.F=b.applyFadeOnMidrolls?new AZ(this.o):new zZ;var c=$ua(this.o);c.A=xwa(this,a);if(c.A){c.Op=this.o.F.H;c.dc.TSLA=ava(this);c.dc.GET_MIDROLL_POSITION_IN_SEC=(0,g.A)(this.F.Pr,this.F);c.dc.DESCRIPTION_URL="http://www.youtube.com/video/"+ZX(this.o).videoId;if(a=Vva(b).get(3)){var d="";a&2&&a&1?d="video":a&2?d="skippablevideo":a&1&&(d="standardvideo");a&4&&(d&&(d+="_"),d+="text_image_flash");c.C=d;if(b=b.Fa)c.J=b}this.qb.X("adsManagerLoaded",
this.FH,!1,this);this.qb.X("adError",this.EH,!1,this);gE(this.qb,c,this);this.o.De("bd")}}};
g.h.FH=function(a){if(a.A===this){var b={};Object.defineProperty(b,"currentTime",{get:(0,g.A)(function(){return this.o.getCurrentTime(1)},this),
enumerable:!0});Object.defineProperty(b,"duration",{get:(0,g.A)(function(){return this.o.player.getVideoData().lengthSeconds},this),
enumerable:!0});try{var c=ywa(this);this.A=$B(a,this.o.F,b,c)}catch(d){FZ(this,d);return}if(this.he=this.A.bG(b,this.o.o.o)){this.F.aA(this.A.Oe());this.G=new xZ(this.o,this.A,this.he);g.L(this,this.G);YX(this.o).experiments.o("use_async_run_for_execution_in_ima")?g.vg(this.G.G,this.G):g.gF((0,g.A)(this.G.G,this.G),0);g.Ya(this.A.Oe(),0)||EZ(this);this.D.X(this.A,"companionBackfill",(0,g.A)(this.bX,this));this.D.X(this.A,"prefetched",(0,g.A)(this.fQ,this));this.D.X(this.A,"loaded",(0,g.A)(this.ZW,
this));this.D.X(this.A,"adError",(0,g.A)(this.YW,this),!1);this.D.X(this.A,"start",(0,g.A)(this.aX,this));this.D.X(this.A,"complete",(0,g.A)(this.bQ,this));this.D.X(this.A,"adNotify",(0,g.A)(this.Fn,this));this.D.X(this.A,"discardAdNotify",(0,g.A)(this.Kk,this));this.D.X(this.A,"companionInitialized",(0,g.A)(this.cX,this));this.D.X(this.A,"contentPauseRequested",(0,g.A)(this.Sh,this));this.D.X(this.A,"contentResumeRequested",(0,g.A)(this.lg,this));this.D.X(this.A,"allAdsCompleted",g.z);this.K.R(this.o.player,
"applicationplayerstatechange",this.dX);try{this.A.init("normal"),this.A.start()}catch(d){this.A.destroy(),this.A=null,FZ(this,d)}}}};
g.h.dX=function(){if(g.X(g.OU(this.o.player),16)||g.X(g.OU(this.o.player),32)){var a=this.A;null!=a.Wb&&(a=a.Wb,a.A.stop(),a.C=!1)}else a=this.A,null!=a.Wb&&fB(a.Wb)};
g.h.cX=function(a){if(a=a.o)g.Gf(this.H),this.H=new kZ(this.o,a)};
g.h.Sh=function(a){GZ(this);if((this.C=a.Tb())&&this.C.Yb()){a=HZ(this.C);var b=this.C.B.A;b=0==b?1:0<b?2:-1==b?3:0;this.B=new yY(a,this.o,this.A,this.C.isSkippable(),this.C.isBumper(),!0,void 0,b);zwa(this,this.B);1!=b&&(a=YX(this.o).experiments.o("video_to_ad_use_gel"),rP("video_to_ad",["apbs"],void 0,a));a=this.o;a.K=!0;a.C||a.pauseVideo();this.F.CH(this.C.B.A);this.B.show()}};
g.h.lg=function(a){EZ(this);this.o.getCurrentTime(1)<this.o.player.getVideoData().lengthSeconds&&(TZ(this.o),this.C&&this.C.Yb()&&(this.F.DH(this.C.B.A),null!=this.H&&(this.H.o=!0)));a=a.Tb();var b=dE(this.A);b&&b.L&&b.sb()?this.C=null:!a&&this.B instanceof LY||GZ(this);var c=!0;if(a&&a!==this.C&&!a.Yb()){if(b&&b.L&&!b.sb()){b=this.G;null!=b.o[0]&&(c=b.o[0],delete b.o[0],b.o[0]=new g.lR(1E4,c.end,{id:"10",visible:!0}),c.visible=!1,tZ(b.A,[c,b.o[0]],1),tZ(b.A,[b.o[0]]));this.C=a;return}c=Jt(a);b=HZ(a);
XX(c,"blockAllAds")?(this.A.Zk(),this.B=new NY(this.o,this.A,1,!0),c=!1):XX(c,"hideMaster")&&14!=b?(this.B=new NY(this.o,this.A,0,!0),c=!1):(c=this.A,14==b?(this.B=new TY(this.o,c),5!=dE(this.A).Ue()&&Awa(this,a)):this.B=new GY(b,this.o,c,!0),this.B.show(),c=!0)}this.C&&this.C.Yb()&&Dwa(this.o);if(this.C&&this.C.Yb()){b=this.he;if(0<b.C||zo().o("enable_tsla_without_freq_cap_for_living_room")||zo().o("enable_html5_midroll_tsla_update"))b.o=(0,g.H)()/1E3;b=this.G;b.F=(0,g.H)()/1E3;b.C()}else a&&a!==
this.C&&!a.Yb()&&c&&(b=this.G,b.F=(0,g.H)()/1E3,b.C());this.G.G();this.C=a};
g.h.aX=function(a){(a=a.Tb())&&this.B&&(a=HZ(a),this.B.adSystem=a)};
g.h.bQ=function(a){a.Tb().Yb()||this.C!==a.Tb()||(GZ(this),this.C=null)};
g.h.Fn=function(a){null!=a.o&&void 0!=a.o&&(a=a.o.adBreakTime,null!=a&&void 0!=a&&this.o.player.U("adnotify",a))};
g.h.Kk=function(){this.o.player.U("discardadnotify")};
g.h.fQ=function(a){var b=a.Tb();if(null!=b){var c=a.o.adBreakTime;this.M[c]=b;this.L||(this.o.De("bl"),0==c&&a.Tb().Yb()||this.o.De("fb"),this.L=!0)}};
g.h.ZW=function(a){null!=a.Tb()&&(a.Tb().Yb()&&this.o.De("bs"),a.Tb().B.B||a.Tb().Yb()||EZ(this))};
g.h.YW=function(a){FZ(this,a.getError())};
g.h.EH=function(a){var b=a.getError();"adLoadError"==b.Xb()&&a.o===this&&FZ(this,b)};
g.h.bX=function(a){Awa(this,a&&a.Tb())};
g.h.W=function(){GZ(this);this.qb&&(this.qb.Ka("adsManagerLoaded",this.FH,!1,this),this.qb.Ka("adError",this.EH,!1,this));g.co(this.V);g.co(this.D);g.lH(this.K);this.J=!1;this.A&&(this.A.destroy(),this.A=null);g.Gf(this.F);g.Gf(this.H);DZ.fa.W.call(this)};
g.h.GH=function(a,b,c,d){if(3==b||19==c||2==c)a&&(d.break_type=a.Ue(),d.sst=a.Dc,d.sidx=0),gZ(this.o,c,d)};g.B(IZ,g.lV);g.h=IZ.prototype;g.h.getAdState=function(){return-1};
g.h.create=function(){this.created||(g.T(this.player.getRootNode(),this.ue+"-created"),this.J.R(this.player,g.nR(this.ue),this.Rw),this.J.R(this.player,"crx_"+this.ue,this.Sw),this.created=!0)};
g.h.destroy=function(){g.Br(this.player.getRootNode(),this.ue+"-created");g.lH(this.J);this.created=!1;this.U("destroyed",this.ue)};
g.h.Rw=function(){};
g.h.Sw=function(){};
g.h.Mg=function(){return null};
g.h.W=function(){this.created&&this.destroy();IZ.fa.W.call(this)};g.t(JZ,g.K);g.h=JZ.prototype;g.h.bind=function(a){var b=a.button&&a.button.buttonRenderer&&a.button.buttonRenderer.navigationEndpoint&&a.button.buttonRenderer.navigationEndpoint.adInfoDialogEndpoint;(b=b&&b.dialog&&b.dialog.adInfoDialogRenderer)?(a.hoverText?(a=Wsa(a.hoverText),pe(this.o,a,0)):this.o=null,this.C.bind(b)):g.$E(Error("adInfoDialogRenderer is missing in AdHoverTextButtonRenderer"))};
g.h.ra=function(){return this.A};
g.h.Su=function(){this.o&&g.M(this.o,!1)};
g.h.dO=function(){this.C.o.o.C||this.o&&g.M(this.o,!0)};
g.h.cO=function(){this.C.show();this.Su()};g.t(KZ,g.W);KZ.prototype.Fn=function(a){this.G=-1==a?this.B.getDuration():a;this.D||(this.D=this.R(this.B,"progresssync",this.H));a=(a=this.B.getVideoData(1))&&a.clientPlaybackNonce||"";var b=g.vI();b&&(a={clientScreenNonce:b,adMediaTimeSec:this.G,timeToAdBreakSec:Math.ceil(this.G-this.B.getCurrentTime()),clientPlaybackNonce:a},cI("adNotify",a));this.H();this.F.show()};
KZ.prototype.Kk=function(){this.D&&(this.Ka(this.D),this.D=null);this.F.hide()};
KZ.prototype.H=function(){var a=this.B.getCurrentTime();a=Math.ceil(this.G-a);0<a?this.Kb(g.wV("\u0427\u0435\u0440\u0435\u0437 $X_SECONDS\u00a0\u0441\u0435\u043a. \u043d\u0430\u0447\u043d\u0435\u0442\u0441\u044f \u0440\u0435\u043a\u043b\u0430\u043c\u0430",{X_SECONDS:String(a)})):this.F.hide()};g.B(MZ,IZ);MZ.C=10;MZ.A=1E3;MZ.B="yt.www.watch.ads.addInstreamCompanionWtaUi";MZ.o="livead";g.h=MZ.prototype;
g.h.create=function(){MZ.fa.create.call(this);this.M=!1;this.G.R(this.player,"beginseeking",(0,g.A)(this.U,this,"beginseeking"));this.G.R(this.player,"endseeking",(0,g.A)(this.U,this,"endseeking"));this.G.R(this.player,"resize",(0,g.A)(this.U,this,"resize"));this.G.R(this.player,"presentingplayerstatechange",(0,g.A)(this.U,this,"presentingplayerstatechange"));this.G.R(this.player,"webglsettingschanged",(0,g.A)(this.U,this,"webglsettingschanged"));this.subscribe("presentingplayerstatechange",this.iW,
this);if(LZ(this)){var a=tQ(this.app.ba);a.addEventListener("updateKevlarOrC3Companion",Zsa);a.addEventListener("onPlaShelfInfoCardsReady",ata);window.addEventListener("yt-navigate-start",bta)}this.De("i");a=this.player.getVideoData().Sk||{};this.o=new cwa(YX(this),a);this.B=new nwa(this,this.player);this.V=!1;if(this.qb)this.qb.o.B.B=wp();else{a=this.o.M?void 0:ova(this.D);var b=new iR(this.app,2);this.F=new WB(nY(this.D),a,tQ(b),(0,g.A)(this.SK,this));this.F.setSize(-1,-1);this.qb=new fE(this.F)}if(this.o.vmap&&
!this.o.ga){this.C=new DZ(this);try{this.C.load(this.o.vmap)}catch(c){g.$E(c),this.C.dispose(),this.C=null,Fwa(this,Zva(new Xva(this)))}}else Fwa(this,Zva(new Xva(this)));this.B&&(this.H=NZ(this.app),this.H.subscribe("cuepointupdated",this.zE,this),a=QZ(this),null!=a&&(a.F=g.Z(this.app)),a={},a.allowed=this.B.A,Cwa(this,{},a),this.M=!0)};
g.h.destroy=function(){this.K&&SZ(this);this.app.o.experiments.o("disable_new_pause_state3")||g.aV(this.player,this.ue,void 0);Ewa(this);g.Hf(this.A,this.ba,this.C);this.ba=this.A=null;this.H.unsubscribe("cuepointupdated",this.zE,this);this.B=this.o=this.C=this.H=null;gY=fY=eY=!1;iY();this.app.o.experiments.o("ima_kevlar_clear_companion_on_dispose")&&LZ(this)&&PZ(this,"updateKevlarOrC3Companion",{});this.created&&MZ.fa.destroy.call(this);if(LZ(this)){var a=tQ(this.app.ba);a.removeEventListener("updateKevlarOrC3Companion",
Zsa);a.removeEventListener("onPlaShelfInfoCardsReady",ata);window.removeEventListener("yt-navigate-start",bta);CV=null}};
g.h.getPresentingPlayerType=function(){return this.app.getPresentingPlayerType()};
g.h.isFullscreen=function(){return this.player.isFullscreen()||this.o.B};
g.h.getVisibilityState=function(){return this.player.getVisibilityState()};
g.h.Mg=function(){return this.B?this.B.Mg():MZ.fa.Mg.call(this)};
g.h.getRootNode=function(){return this.player.getRootNode()};
g.h.getVideoData=function(){return this.H};
g.h.getCurrentTime=function(a){return this.app.getCurrentTime(a)};
g.h.getPlayerSize=function(a){return this.o.B?this.app.H.getPlayerSize():a?oi(this.getRootNode()):this.app.H.getPlayerSize()};
g.h.playVideo=function(){var a=this.app;a.o.experiments.o("use_async_run_for_execution_in_ima")?g.vg(function(){a.playVideo()}):g.gF(function(){a.playVideo()},0)};
g.h.pauseVideo=function(){var a=this.app;a.o.experiments.o("use_async_run_for_execution_in_ima")?g.vg(function(){a.pauseVideo()}):g.gF(function(){a.pauseVideo()},0)};
g.h.seekTo=function(a){var b=this.app;b.o.experiments.o("use_async_run_for_execution_in_ima")?g.vg(function(){b.seekTo(a)}):g.gF(function(){b.seekTo(a)},0)};
g.h.getAdState=function(){return this.L};
g.h.bl=function(a){switch(a){case 1:this.L=1;PZ(this,"onAdStart");break;case 0:this.L=0,PZ(this,"onAdEnd")}};
g.h.Rw=function(a){MZ.fa.Rw.call(this,a);var b=parseInt(a.getId(),10);if(this.A&&!isNaN(b))if("ytp-ad-fadeout"==a.style){var c=this.A,d=c.Uj(b);if(d&&!rZ(c.J,d)&&(c=c.B,d.A)){var e=RZ(c.o);d=Math.max(0,dZ(d)+c.B+c.C-1E3*c.o.getCurrentTime(1));e.Gd("transition","opacity "+String(d)+"ms linear");e.Gd("opacity","0");ewa(c,e,d,0)}}else lwa(this.A,b);this.C&&!isNaN(b)&&("ytp-ad-fadeout"==a.style?(d=this.C,(c=d.M[b])&&c.Yb()&&d.F.BH(b)):0>b&&(b=this.qb.o,d=new qo("contentComplete"),b.dispatchEvent(d),d.A&&
(Bo(yo(),420706009)||b.B.clear(),null!=b.A&&(d=b.A.Ai(),null!=d&&nC(d,b.B.o)))));if("livead"===a.getId()&&null!=QZ(this)){b=QZ(this);for(a=Math.floor(a.start/1E3);g.Aa(b.C[a]);)a++;d=b.ha++;c=0==a?new TX(1):new TX(2,a);e=b.Y;var f=Wva(b.Y.o,c.o);d=new bZ(e,d,c,f,!1);b.C[a]=d;d.subscribe("adBreakComplete",b.ga,b);iZ(d)}};
g.h.Sw=function(a){MZ.fa.Sw.call(this,a);var b=parseInt(a.getId(),10),c=1E3*this.getCurrentTime(1);this.A&&!isNaN(b)&&c>a.start&&(0x8000000000000==a.end||0x7ffffffffffff==a.end)&&(c=this.A,(b=c.C[b])&&c.o==b&&!b.A&&b.isVisible&&b.H&&b.o instanceof GY&&b.o.Cc("fullscreen"));this.C&&"ytp-ad-fadeout"==a.style&&this.C.F.oo();"livead"===a.getId()&&null!=QZ(this)&&1E3*this.getCurrentTime(1)>=a.start&&(g.$U(this.player,[a],1),mwa(QZ(this)))};
g.h.De=function(a){var b=a;"nl"==a&&(a=this.B,a.D++,b=a.D.toString());this.aa[b]=(0,g.H)();"bs"!=b&&"fb"!=b||Cwa(this,this.aa,this.O)};
g.h.Th=function(a){this.U(a)};
g.h.isWidescreen=function(){return this.app.isWidescreen()};
g.h.zE=function(a){var b=QZ(this);if(null!=b&&null!=b.F){var c=QZ(this).F.getCurrentTime();(0,g.C)(a,function(d){this.app.o.experiments.o("check_for_cuepoint_start_on_ima_livestreams")||this.app.o.experiments.o("check_for_cuepoint_start_on_ima_livestreams_living_room")?0!=c&&d&&"start"==d.event&&Hwa(this,d,c):0!=c&&d.o>c&&Hwa(this,d,c)},this)}};
g.h.Fc=function(a,b){switch(a){case "addata":if(!this.create||!this.M)return{};var c=this.o;return{adTag:c.adTag,adTest:c.Wa,forceAdType:c.V,isAfvSkippableInstreamEnabled:c.O,isAfvStandardInstreamEnabled:c.Y,isBlazer:c.A,isDoubleClickEnabled:c.ba,isForcedAd:c.ga,isFreeWheelEnabled:c.ea,isHouseBrandPlayer:c.gc,isLeanback:c.B,isShortform:c.Ra,tagForChildDirected:c.tagForChildDirected};case "adstate":return this.getAdState();case "midrollfreqcap":if(this.C)return c=this.o.o,null!=c?c:0;c=this.A instanceof
uZ?this.A:null;return null!=c?c.O:0;case "breakscount":return this.C?(c=this.C,c=null!=c.A?c.A.Oe().length:0):c=this.A?this.A.Db.length:0,c;case "displaystate":return c=null,this.A&&this.A.o&&(c=this.A.o.o),{adFormat:c instanceof lY?c.adType:!1,adSkipped:c instanceof yY?c.F:!1,hasVideoStarted:c instanceof yY?c.G:!1,skippable:c instanceof yY?c.O:!1};case "getContentVideoData":return c=ZX(this),{adModule:c.adModule,partnerTrackingToken:c.Ln,title:c.title,videoId:c.videoId};case "loadedadbreaks":if(this.A){c=
this.A.C;var d=[];for(e in c)c.hasOwnProperty(e)&&d.push({isInterruptive:c[Number(e)].A});return d}return 0;case "isExternalShelfAllowedFor":if("object"!=typeof b)return!1;c=b.playerResponse;if(!c)return!1;c=c.playerAds||[];for(d=0;d<c.length;d++){var e=c[d];if(e.playerLegacyDesktopWatchAdsRenderer&&e.playerLegacyDesktopWatchAdsRenderer.playerAdParams&&e.playerLegacyDesktopWatchAdsRenderer.playerAdParams.pla)return!1}return!0}};
g.h.getOptions=function(){return"addata adstate breakscount displaystate getContentVideoData isExternalShelfAllowedFor loadedadbreaks midrollfreqcap".split(" ")};
g.h.uc=function(){return!1};
g.h.iW=function(a){if(g.X(a.state,128)){var b=this.player;if(null!=g.iV(b)&&2==b.getPresentingPlayerType()){var c=a.state,d=a="",e="";c.A&&c.A.errorCode&&(a=c.A.errorCode);c=c.o;g.dV(b)&&(d=g.dV(b).Be(),null!=g.dV(b).Fb()&&(e=g.dV(b).Fb()));this.Y="Error code: "+a+"; s:"+c+"; "+("rs:"+d+"; ec:"+e)}}};
g.h.SK=function(a){if(this.la())return"";if(!a)return this.Y;a=this.player;if(null==g.iV(a)||2!=a.getPresentingPlayerType())return"";var b=g.OU(a,2).o,c="",d="";g.dV(a)&&(c=g.dV(a).Be(),null!=g.dV(a).Fb()&&(d=g.dV(a).Fb()));return"s:"+b+"; rs:"+c+"; ec:"+d};g.t(VZ,g.K);g.h=VZ.prototype;g.h.LA=function(){if(!this.A){var a=this.LA;if("lb3"==g.Y(this.o).playerStyle)var b=!1;else b=this.o.getVideoData(),b=!!b.Ul||!!b.captionTracks.length||g.Mua(b,this.o);(a=XZ(this,"captions",a,b))&&!this.A&&(this.A=a,a.Un()&&a.load(),this.o.Ba("onApiChange"))}};
g.h.Yt=function(){this.K=this.K||XZ(this,"endscreen",this.Yt,g.Kwa(this))};
g.h.QA=function(){this.D=XZ(this,"webgl",this.QA,Mwa(this))};
g.h.Tn=function(){return this.o.getVideoData().Tn()};
g.h.SA=function(){(this.pd=this.pd||XZ(this,"ypc",this.SA,this.Tn()))&&this.pd.load()};
g.h.RA=function(){var a;if(!(a=this.aa)){a=this.RA;var b=this.o.getVideoData();a=XZ(this,"ypc_clickwrap",a,b.Dl&&!b.Gv)}this.aa=a};
g.h.KA=function(){this.Y=this.Y||XZ(this,"spacecast",this.KA,this.o.getVideoData().nl)};
g.h.HA=function(){var a=!this.L;this.L=this.L||XZ(this,"heartbeat",this.HA,this.o.getVideoData().ko);a&&this.L&&this.o.U("offlineslatestatechange")};
g.h.Wt=function(){if(!this.B){var a=this.Wt;var b=g.Y(this.o);var c=this.o.getVideoData();b=b.experiments.o("bulleit_cta_do_not_use_annotation_servlet")&&c.Oi||"3"==b.C?!1:b.J.isEmpty()&&"annotation-editor"!=b.playerStyle&&"live-dashboard"!=b.playerStyle?b.experiments.o("disable_new_iv_module_create_logic")?c.Yp:!!c.re:!0;if(this.B=XZ(this,"annotations_module",a,b)){a=this.B;for(var d in this.ia)b=d,a.subscribe(b,this.ia[b]);this.o.Ba("onApiChange")}}};
g.h.GA=function(){this.yd=this.yd||XZ(this,"fresca",this.GA,this.o.getVideoData().yd)};
g.h.Zt=function(){this.M||(this.M=XZ(this,"remote",this.Zt,g.Y(this.o).Ab))&&this.M.create()};
g.h.MA=function(){this.G||(this.G=XZ(this,"unplugged",this.MA,g.aO(g.Y(this.o))))&&this.G.init()};
g.h.IA=function(){this.F||(this.F=XZ(this,"kids",this.IA,bO(g.Y(this.o))))&&this.F.init()};
g.h.NA=function(){Nwa(this);!this.J&&(this.J=XZ(this,"ux",this.NA,g.Y(this.o).ma))&&(this.J.init(),this.o.Ba("onApiChange"))};
g.h.JA=function(){this.ga||(this.ga=XZ(this,"miniplayer",this.JA,g.Y(this.o).Ml))&&this.ga.init()};
g.h.Xt=function(){if(!this.H){var a=this.Xt;var b=g.Y(this.o);"3"==b.C?b=!1:"creator-endscreen-editor"==b.playerStyle?b=!0:(b=this.o.getVideoData(),b=!!b&&(!!g.Hna(b)||!!g.Ina(b)));(this.H=XZ(this,"creatorendscreen",a,b))&&this.o.Ba("onApiChange")}};
g.h.TA=function(){(this.O=this.O||XZ(this,"yto",this.TA,!!this.o.getVideoData().Mc.includes("yto")))&&this.O.init()};
g.h.PA=function(){(this.V=XZ(this,"visualizer",this.PA,g.Owa(this)))&&this.V.If()};
g.h.Mg=function(){var a={};this.A&&g.Oa(a,this.A.Mg());return a};
g.h.W=function(){g.K.prototype.W.call(this);YZ(this,1,!0)};g.t(g.ZZ,g.W);g.ZZ.prototype.show=function(){g.W.prototype.show.call(this);g.rv(this.B)};
g.ZZ.prototype.hide=function(){this.F.stop();g.W.prototype.hide.call(this)};g.t(c_,g.W);c_.prototype.W=function(){this.B&&this.B();g.W.prototype.W.call(this)};
c_.prototype.J=function(){g.qF("iv-button-mouseover")};
c_.prototype.H=function(a){this.D.ce();var b=g.zr(this.D.getRootNode(),"ytp-cards-teaser-shown");g.qF("iv-teaser-clicked",b);a=0==a.screenX&&0==a.screenY;this.D.setCardsVisible(!this.D.se(),a,"YOUTUBE_DRAWER_MANUAL_OPEN")};g.t(d_,g.W);g.h=d_.prototype;g.h.OG=function(){this.D.ce()&&this.D.se()&&this.C&&4!=this.J.o&&this.An()};
g.h.VV=function(){this.An();g.qF("iv-teaser-clicked",!!this.B);this.D.setCardsVisible(!0,!1,"YOUTUBE_DRAWER_MANUAL_OPEN")};
g.h.YO=function(){g.qF("iv-teaser-mouseover");this.B&&this.B.stop()};
g.h.bU=function(a){this.B||!a||this.D.se()||this.F&&this.F.isActive()||(Swa(this,a),g.qF("iv-teaser-shown"))};
g.h.ww=function(){if(g.Y(this.D).B&&this.C){var a=this.H.element.offsetLeft,b=g.Zd("ytp-cards-button-icon"),c=this.D.isFullscreen()?54:36;if(b){var d=a+b.offsetLeft;this.element.style.marginRight=this.H.element.offsetParent.offsetWidth-a-b.offsetLeft-c+"px";this.element.style.marginLeft=d+"px"}}};
g.h.gK=function(){g.Y(this.D).B&&this.aa.Jh()&&this.C&&this.O.start()};
g.h.ID=function(){this.L.stop();this.B&&this.B.isActive()&&this.M.start()};
g.h.Uh=function(){this.M.stop();this.B&&!this.B.isActive()&&this.L.start()};
g.h.tS=function(){this.B&&this.B.stop()};
g.h.rS=function(){this.An()};
g.h.An=function(){!this.B||this.G&&this.G.isActive()||(g.qF("iv-teaser-hidden"),this.J.hide(),g.Br(this.D.getRootNode(),"ytp-cards-teaser-shown"),this.G=new g.V(function(){for(var a=g.r(this.K),b=a.next();!b.done;b=a.next())this.Ka(b.value);this.K=[];this.B&&(this.B.dispose(),this.B=null);b_(this.H,!0)},330,this),this.G.start())};
g.h.W=function(){var a=this.D.getRootNode();a&&g.Br(a,"ytp-cards-teaser-shown");g.Hf(this.F,this.G,this.B);g.W.prototype.W.call(this)};g.t(e_,g.nQ);e_.prototype.B=function(a){g.cH(a)||39!=g.dH(a)||(this.element.click(),g.bH(a))};g.t(h_,g.WW);g.h=h_.prototype;g.h.eR=function(){cW(this.L.element)};
g.h.yR=function(){i_(this,this.B.getDebugText(!0))&&$Z(this.aa,dta())};
g.h.zR=function(){i_(this,this.B.getVideoEmbedCode())&&$Z(this.aa,g.DV?{I:"div",da:["ytp-icon","ytp-icon-code"]}:{I:"svg",T:{height:"100%",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",T:{d:"M14.1 24.9L7.2 18.0l6.9-6.9L12.0 9.0l-9.0 9.0 9.0 9.0 2.1-2.1zm7.8 .0l6.9-6.9-6.9-6.9L24.0 9.0l9.0 9.0-9.0 9.0-2.1-2.1z",fill:"#fff"}}]});g.gV(this.B,this.D.element);g_("EMBED",this.B.getVideoData().videoId,this.B.getPlaylistId()||void 0)};
g.h.CR=function(){i_(this,this.B.getVideoUrl(!0,!0))&&$Z(this.aa,jta());g.gV(this.B,this.G.element);g_("COPY_PASTE",this.B.getVideoData().videoId,this.B.getPlaylistId()||void 0)};
g.h.BR=function(){i_(this,this.B.getVideoUrl(!1,!0))&&$Z(this.aa,jta());g.gV(this.B,this.F.element);g_("COPY_PASTE",this.B.getVideoData().videoId,this.B.getPlaylistId()||void 0)};
g.h.IE=function(a){g.TW(this.H,a)};
g.h.XR=function(){var a=this.H.getValue();mya(this.B.app,a);this.Y.Jb();g.gV(this.B,this.H.element)};
g.h.qT=function(a){var b=g.Z(this.B.app);b&&b.jn(new hM("feedback",!1,{gpu:(0,g.cU)()}));if(g.ZV(a,this.B,!iO(g.Y(this.B)))){a=this.B;b=b={as3:!1,html5:!0,player:!0};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.Ba("onFeedbackStartRequest",b);a.isFullscreen()&&a.toggleFullscreen()}this.Y.Jb()};
g.h.NT=function(){this.B.showVideoInfo();this.Y.Jb()};
g.h.cP=function(a,b){Uwa(this,b)};
g.h.ac=function(a){g.WW.prototype.ac.call(this,a);g.hV(this.B,this.D.element,a);g.hV(this.B,this.G.element,a);g.hV(this.B,this.F.element,a);g.hV(this.B,this.H.element,a)};g.t(j_,g.dX);g.h=j_.prototype;g.h.show=function(){this.G||(this.G=new h_(this.D,this.ka,this,this.ha),g.L(this,this.G),g.gX(this,this.G));this.G.IE(ysa(this.D.app.D));g.dX.prototype.show.call(this);g.hV(this.D,this.element,!0);this.G.ac(!0)};
g.h.hide=function(){Vwa(this);g.dX.prototype.hide.call(this);g.hV(this.D,this.element,!1);this.G&&this.G.ac(!1)};
g.h.dR=function(a){var b=ZG(a);if(!(this.C||b&&(g.Ee(b,"a")||g.Fe(b,"ytp-no-contextmenu")))){g.bH(a);Wwa(this);b=this.D.getVideoData();g.U(this.element,"ytp-dni",b.Ic);this.element.style.left="";this.element.style.top="";var c=aH(a);c.x++;c.y++;this.Wd();b=ai(document.body);a=this.size;c=c.clone();a=a.clone();if(b){var d=c,e=a,f=5;65==(f&65)&&(d.x<b.left||d.x>=b.right)&&(f&=-2);132==(f&132)&&(d.y<b.top||d.y>=b.bottom)&&(f&=-5);d.x<b.left&&f&1&&(d.x=b.left);if(f&16){var k=d.x;d.x<b.left&&(d.x=b.left);
d.x+e.width>b.right&&(e.width=Math.min(b.right-d.x,k+e.width-b.left),e.width=Math.max(e.width,0))}d.x+e.width>b.right&&f&1&&(d.x=Math.max(b.right-e.width,b.left));d.y<b.top&&f&4&&(d.y=b.top);f&32&&(k=d.y,d.y<b.top&&(d.y=b.top),d.y+e.height>b.bottom&&(e.height=Math.min(b.bottom-d.y,k+e.height-b.top),e.height=Math.max(e.height,0)));d.y+e.height>b.bottom&&f&4&&(d.y=Math.max(b.bottom-e.height,b.top))}b=new g.Ch(0,0,0,0);b.left=c.x;b.top=c.y;b.width=a.width;b.height=a.height;g.Wh(this.element,g.Fh(b));
g.lH(this.K);this.K.R(document,"contextmenu",this.kR);this.K.R(this.D,"fullscreentoggled",this.dP);this.K.R(this.D,"pageTransition",this.FS)}};
g.h.kR=function(a){if(!g.cH(a)){var b=ZG(a);g.we(this.element,b)||this.Jb();g.Y(this.D).Co&&g.bH(a)}};
g.h.dP=function(){this.Jb();Wwa(this)};
g.h.FS=function(){this.Jb()};g.t(k_,g.jH);g.h=k_.prototype;
g.h.ZB=function(a){var b=!1,c=g.dH(a),d=ZG(a),e=!a.altKey&&!a.ctrlKey&&!a.metaKey,f=!1,k=!1,l=g.Y(this.o);g.cH(a)?(e=!1,k=!0):l.Wa&&(e=!1);if(9==c)b=!0;else{if(d)switch(c){case 32:case 13:if("BUTTON"==d.tagName||"A"==d.tagName||"INPUT"==d.tagName)b=!0,e=!1;else if(e){var m=d.getAttribute("role");!m||"option"!=m&&"button"!=m&&0!=m.indexOf("menuitem")||(b=!0,d.click(),f=!0)}break;case 37:case 39:case 36:case 35:b="slider"==d.getAttribute("role");break;case 38:case 40:m=d.getAttribute("role"),d=38==
c?d.previousSibling:d.nextSibling,"slider"==m?b=!0:e&&("option"==m?(d&&"option"==d.getAttribute("role")&&d.focus(),f=b=!0):m&&0==m.indexOf("menuitem")&&(d&&d.hasAttribute("role")&&0==d.getAttribute("role").indexOf("menuitem")&&d.focus(),f=b=!0))}if(e&&!f)switch(c){case 37:this.o.Jc()&&this.B&&($Z(this.A,qta()),this.o.seekBy(-5*this.o.getPlaybackRate()),k=f=!0);break;case 39:this.o.Jc()&&this.B&&($Z(this.A,ita()),this.o.seekBy(5*this.o.getPlaybackRate()),k=f=!0);break;case 38:f=Math.min(this.o.getVolume()+
5,100);a_(this.A,f,!1);this.o.setVolume(f);k=f=!0;break;case 40:f=Math.max(this.o.getVolume()-5,0);a_(this.A,f,!0);this.o.setVolume(f);k=f=!0;break;case 36:this.o.Jc()&&(this.o.seekTo(0),k=f=!0);break;case 35:this.o.Jc()&&(this.o.seekTo(Infinity),k=f=!0)}}b&&this.Mx(!0);(b||k)&&this.F.oc(2,!0);(f||e&&this.handleGlobalKeyDown(c,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey))&&g.bH(a);l.Nb&&(a={keyCode:g.dH(a),altKey:a.altKey,ctrlKey:a.ctrlKey,metaKey:a.metaKey,shiftKey:a.shiftKey,handled:g.cH(a),fullscreen:this.o.isFullscreen()},
this.o.Ba("onKeyPress",a))};
g.h.aC=function(a){this.handleGlobalKeyUp(g.dH(a),a.shiftKey,a.ctrlKey,a.altKey,a.metaKey)};
g.h.handleGlobalKeyUp=function(a){var b=!1,c=g.LU(this.o).D;c&&c.df&&c.df.C&&(c.df.YB(a),b=!0);9==a&&(this.Mx(!0),b=!0);return b};
g.h.handleGlobalKeyDown=function(a,b){var c=!1,d=g.Y(this.o);if(d.Wa)return c;var e=g.LU(this.o).D;if(e&&e.df&&e.df.C)switch(a){case 65:case 68:case 87:case 83:case 107:case 221:case 109:case 219:c=e.df.XB(a)}d.gc||c||(c=String.fromCharCode(a).toLowerCase(),this.C+=c,0=="awesome".indexOf(this.C)?(c=!0,7==this.C.length&&Dr(this.o.getRootNode(),"ytp-color-party")):(this.C=c,c=0=="awesome".indexOf(this.C)));if(!c){switch(a){case 80:b&&!d.L&&($Z(this.A,pta(),"\u041d\u0430\u0437\u0430\u0434"),this.o.previousVideo(),
c=!0);break;case 78:b&&!d.L&&($Z(this.A,kta(),"\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435"),this.o.nextVideo(),c=!0);break;case 74:this.o.Jc()&&($Z(this.A,g.DV?{I:"div",da:["ytp-icon","ytp-icon-rewind-ten-seconds"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"M 18,11 V 7 l -5,5 5,5 v -4 c 3.3,0 6,2.7 6,6 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 h -2 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 0,-4.4 -3.6,-8 -8,-8 z M 16.9,22 H 16 V 18.7 L 15,19 v -0.7 l 1.8,-0.6 h .1 V 22 z m 4.3,-1.8 c 0,.3 0,.6 -0.1,.8 l -0.3,.6 c 0,0 -0.3,.3 -0.5,.3 -0.2,0 -0.4,.1 -0.6,.1 -0.2,0 -0.4,0 -0.6,-0.1 -0.2,-0.1 -0.3,-0.2 -0.5,-0.3 -0.2,-0.1 -0.2,-0.3 -0.3,-0.6 -0.1,-0.3 -0.1,-0.5 -0.1,-0.8 v -0.7 c 0,-0.3 0,-0.6 .1,-0.8 l .3,-0.6 c 0,0 .3,-0.3 .5,-0.3 .2,0 .4,-0.1 .6,-0.1 .2,0 .4,0 .6,.1 .2,.1 .3,.2 .5,.3 .2,.1 .2,.3 .3,.6 .1,.3 .1,.5 .1,.8 v .7 z m -0.9,-0.8 v -0.5 c 0,0 -0.1,-0.2 -0.1,-0.3 0,-0.1 -0.1,-0.1 -0.2,-0.2 -0.1,-0.1 -0.2,-0.1 -0.3,-0.1 -0.1,0 -0.2,0 -0.3,.1 l -0.2,.2 c 0,0 -0.1,.2 -0.1,.3 v 2 c 0,0 .1,.2 .1,.3 0,.1 .1,.1 .2,.2 .1,.1 .2,.1 .3,.1 .1,0 .2,0 .3,-0.1 l .2,-0.2 c 0,0 .1,-0.2 .1,-0.3 v -1.5 z"}}]}),
this.o.seekBy(-10*this.o.getPlaybackRate()),c=!0);break;case 76:this.o.Jc()&&($Z(this.A,g.DV?{I:"div",da:["ytp-icon","ytp-icon-forward-ten-seconds"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},P:[{I:"path",Ya:!0,N:"ytp-svg-fill",T:{d:"m 10,19 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 h -2 c 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 0,-3.3 2.7,-6 6,-6 v 4 l 5,-5 -5,-5 v 4 c -4.4,0 -8,3.6 -8,8 z m 6.8,3 H 16 V 18.7 L 15,19 v -0.7 l 1.8,-0.6 h .1 V 22 z m 4.3,-1.8 c 0,.3 0,.6 -0.1,.8 l -0.3,.6 c 0,0 -0.3,.3 -0.5,.3 C 20,21.9 19.8,22 19.6,22 19.4,22 19.2,22 19,21.9 18.8,21.8 18.7,21.7 18.5,21.6 18.3,21.5 18.3,21.3 18.2,21 18.1,20.7 18.1,20.5 18.1,20.2 v -0.7 c 0,-0.3 0,-0.6 .1,-0.8 l .3,-0.6 c 0,0 .3,-0.3 .5,-0.3 .2,0 .4,-0.1 .6,-0.1 .2,0 .4,0 .6,.1 .2,.1 .3,.2 .5,.3 .2,.1 .2,.3 .3,.6 .1,.3 .1,.5 .1,.8 v .7 z m -0.8,-0.8 v -0.5 c 0,0 -0.1,-0.2 -0.1,-0.3 0,-0.1 -0.1,-0.1 -0.2,-0.2 -0.1,-0.1 -0.2,-0.1 -0.3,-0.1 -0.1,0 -0.2,0 -0.3,.1 l -0.2,.2 c 0,0 -0.1,.2 -0.1,.3 v 2 c 0,0 .1,.2 .1,.3 0,.1 .1,.1 .2,.2 .1,.1 .2,.1 .3,.1 .1,0 .2,0 .3,-0.1 l .2,-0.2 c 0,0 .1,-0.2 .1,-0.3 v -1.5 z"}}]}),
this.o.seekBy(10*this.o.getPlaybackRate()),c=!0);break;case 37:this.o.Jc()&&!this.B&&($Z(this.A,qta()),this.o.seekBy(-5*this.o.getPlaybackRate()),c=!0);break;case 39:this.o.Jc()&&!this.B&&($Z(this.A,ita()),this.o.seekBy(5*this.o.getPlaybackRate()),c=!0);break;case 77:this.o.isMuted()?(this.o.unMute(),a_(this.A,this.o.getVolume(),!1)):(this.o.mute(),a_(this.A,0,!0));c=!0;break;case 32:case 75:d.L||(c=!OQ(g.OU(this.o)),Qwa(this.A,c),c?this.o.playVideo():this.o.pauseVideo(),c=!0);break;case 190:b?d.xa&&
(c=this.o.getPlaybackRate(),this.o.setPlaybackRate(c+.25,!0),Rwa(this.A,!1),c=!0):this.o.Jc()&&(Xwa(this,1),c=!0);break;case 188:b?d.xa&&(c=this.o.getPlaybackRate(),this.o.setPlaybackRate(c-.25,!0),Rwa(this.A,!0),c=!0):this.o.Jc()&&(Xwa(this,-1),c=!0);break;case 70:Bta(this.o)&&(this.o.toggleFullscreen(),c=!0);break;case 27:this.G()&&(c=!0)}if("3"!=d.C)switch(a){case 67:g.LU(this.o).A&&(d=this.o.getOption("captions","track"),(c=g.LU(this.o).A)&&c.EG(),d=!d||d&&!d.displayName?"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044b \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u044b":
"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044b \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u044b",$Z(this.A,tta(),d),c=!0);break;case 79:l_(this,"textOpacity");break;case 87:l_(this,"windowOpacity");break;case 187:case 61:l_(this,"fontSizeIncrement",!1,!0);break;case 189:case 173:l_(this,"fontSizeIncrement",!0,!0)}var f;48<=a&&57>=a?f=a-48:96<=a&&105>=a&&(f=a-96);null!=f&&this.o.Jc()&&(d=this.o.getProgressState(),this.o.seekTo(f/10*(d.seekableEnd-d.seekableStart)+d.seekableStart),c=!0);c&&
this.F.oc(2,!0)}return c};
g.h.Mx=function(a){g.U(this.o.getRootNode(),"ytp-probably-keyboard-focus",a);g.U(this.H.element,"ytp-probably-keyboard-focus",a)};
g.h.LD=function(a){g.LU(this.o).A&&this.o.setOption("captions","sampleSubtitles",a)};
g.h.W=function(){g.uv(this.D);g.jH.prototype.W.call(this)};g.t(m_,wW);g.h=m_.prototype;g.h.jP=function(a){a=ZG(a);g.we(this.element,a)&&(g.we(this.J,a)||g.we(this.F,a)||this.Ff())};
g.h.Jb=function(){wW.prototype.Jb.call(this);this.G.mi(this.element)};
g.h.show=function(){this.C&&this.H.U("OVERFLOW_PANEL_OPENED");wW.prototype.show.call(this);Zwa(this,!0)};
g.h.hide=function(){wW.prototype.hide.call(this);Zwa(this,!1)};
g.h.iP=function(a){!a&&xW(this)&&this.Ff()};
g.h.focus=function(){0<this.D.length&&this.D[0]&&this.D[0].focus()};g.t(n_,g.W);n_.prototype.D=function(){this.B=this.H.Jh();g.U(this.element,"ytp-overflow-button-visible",this.B);this.B&&FW(this.G);g.hV(this.F,this.element,this.B&&this.V)};
n_.prototype.ac=function(a){g.W.prototype.ac.call(this,a);g.hV(this.F,this.element,this.B&&a)};
n_.prototype.W=function(){g.W.prototype.W.call(this);g.Br(this.element,"ytp-overflow-button-visible")};g.t(o_,g.W);g.h=o_.prototype;g.h.hide=function(){g.Br(this.B.getRootNode(),"ytp-expand-pause-overlay");g.W.prototype.hide.call(this)};
g.h.QQ=function(){this.ea=!0;g.Br(this.B.getRootNode(),"ytp-expand-pause-overlay");this.L.focus()};
g.h.RQ=function(){this.ea=!1;g.T(this.B.getRootNode(),"ytp-expand-pause-overlay")};
g.h.lP=function(){$wa(this,this.G-this.J)};
g.h.mP=function(){$wa(this,this.G+this.J)};
g.h.nP=function(a,b){if(1E3>g.GH()-this.sa)g.bH(b),document.activeElement.blur();else{var c=this.D[a],d=c.Jd;if(g.ZV(b,this.B,this.ia,d||void 0)){var e=c.za().videoId;c=c.getPlaylistId();g.M0(this.B.app,e,d,c,void 0,void 0,void 0)}}};
g.h.oP=function(){this.yw(g.PU(this.B).getPlayerSize())};
g.h.pP=function(a){if(!(g.X(a.state,1)||g.X(a.state,16)||g.X(a.state,32))){var b=!g.Y(this.B).experiments.o("embeds_disable_pauseoverlay_on_autoplay_blocked_killswitch")&&g.X(a.state,2048);!g.X(a.state,4)||g.X(a.state,2)||b?this.aa.hide():this.D.length&&(this.ea||(g.T(this.B.getRootNode(),"ytp-expand-pause-overlay"),p_(this)),this.aa.show(),this.sa=g.GH())}};
g.h.yw=function(a){var b=16/9,c=this.ha.Yc();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;d<this.H.length;d++){var e=this.H[d].o["ytp-suggestion-image"];e.style.width=c+"px";e.style.height=b+"px"}this.K.element.style.height=b+"px";this.ba=c;this.ma=b;this.J=a;this.G=0;this.MD(0);p_(this)};
g.h.qP=function(){var a=this,b=g.Y(this.B),c=this.B.getVideoData();this.ia=c.Ic?!1:b.o;if(c.suggestions){var d=(0,g.re)(c.suggestions,function(e){return e&&!e.list});
this.D=(0,g.I)(d,function(e){e=g.XV(b,e);g.L(a,e);return e})}else this.D.length=0;
bxa(this);c.Ic?this.Y.update({title:g.wV('\u0414\u0440\u0443\u0433\u0438\u0435 \u0432\u0438\u0434\u0435\u043e \u043d\u0430 \u043a\u0430\u043d\u0430\u043b\u0435 "$DNI_RELATED_CHANNEL"',{DNI_RELATED_CHANNEL:c.author})}):this.Y.update({title:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0434\u0440\u0443\u0433\u0438\u0435 \u0432\u0438\u0434\u0435\u043e"})};
g.h.MD=function(a){this.K.element.scrollLeft=-a};g.t(q_,g.W);q_.prototype.D=function(a){g.ZV(a,this.B)&&this.B.playVideoAt(this.Ib)};g.t(r_,wW);g.h=r_.prototype;g.h.show=function(){wW.prototype.show.call(this);this.J.R(this.F,"videodatachange",this.zw);this.J.R(this.F,"onPlaylistUpdate",this.zw);this.zw()};
g.h.hide=function(){wW.prototype.hide.call(this);g.lH(this.J);cxa(this,null)};
g.h.zw=function(){cxa(this,this.F.getPlaylist())};
g.h.rr=function(){var a=this.D.fq;if(a==this.K)this.G.element.setAttribute("aria-checked",!1),this.G=this.H[this.D.we()];else{for(var b=g.r(this.H),c=b.next();!c.done;c=b.next())c.value.dispose();b=this.D.getLength();this.H=[];for(c=0;c<b;c++){var d=new q_(this.F,this.D,c);this.H.push(d);d.A(this.Qa)}this.G=this.H[this.D.we()];this.K=a}this.G&&this.G.element.setAttribute("aria-checked",!0)};
g.h.dU=function(a){var b=this.F.getVideoUrl(!0);$V(b,this.F,a)};
g.h.focus=function(){this.G.focus()};
g.h.W=function(){this.hide();wW.prototype.W.call(this)};g.t(s_,g.W);
s_.prototype.D=function(){var a=g.Y(this.F);a=a.experiments.o("embed_enable_playlist_ui")&&a.B;g.U(this.element,"ytp-playlist-menu-button-smallmode",a);g.U(this.element,"ytp-playlist-menu-button-tiny",400>g.PU(this.F).getPlayerSize().width);this.B&&2!=this.F.getPresentingPlayerType()?(this.update({text:g.wV("$CURRENT_POSITION/$PLAYLIST_LENGTH",{CURRENT_POSITION:String(this.B.we()+1),PLAYLIST_LENGTH:String(this.B.getLength())}),title:g.wV('\u041f\u043b\u0435\u0439\u043b\u0438\u0441\u0442 "$PLAYLIST_NAME"',{PLAYLIST_NAME:this.B.title})}),
this.C||(this.show(),FW(this.G))):this.C&&(this.hide(),FW(this.G))};
s_.prototype.H=function(){this.B&&this.B.unsubscribe("shuffle",this.D,this);(this.B=this.F.getPlaylist())&&this.B.subscribe("shuffle",this.D,this);this.D()};g.t(t_,g.W);t_.prototype.F=function(a){g.kQ(this,g.X(a.state,2))};
t_.prototype.D=function(){g.OU(this.B);this.B.playVideo()};g.t(u_,wW);g.h=u_.prototype;g.h.BP=function(a){a=ZG(a);g.we(this.O,a)||g.we(this.J,a)||this.Ff()};
g.h.Jb=function(){wW.prototype.Jb.call(this);this.F.mi(this.element)};
g.h.show=function(){var a=this.C;wW.prototype.show.call(this);this.RD();a||this.D.Ba("onSharePanelOpened")};
g.h.RD=function(){g.T(this.element,"ytp-share-panel-loading");g.Br(this.element,"ytp-share-panel-fail");var a=this.D.getVideoData(),b=this.D.getPlaylistId(),c=b&&this.K.checked;g.U(this.element,"ytp-share-panel-has-playlist",!!b);var d={action_get_share_info:1,feature:"player_embedded",video_id:a.videoId},e=g.Y(this.D);e.Tc&&(d.authuser=e.Tc);e.pageId&&(d.pageid=e.pageId);c&&(d.list=b);g.UF(g.Y(this.D).D+"share_ajax",{method:"GET",onError:(0,g.A)(this.nG,this),onSuccess:(0,g.A)(function(f,k){if(k){if(!this.la()){g.Br(this.element,
"ytp-share-panel-loading");exa(this);var l=k.links,m=0,n=3;g.Y(this.D).experiments.o("share_panel_button_cutoff_change_killswitch")||(n=2);for(var p=0;p<l.length&&m<n;p++){var q=l[p],u=dxa(q.img);u&&(u=new g.W({I:"a",da:["ytp-share-panel-service-button","ytp-button"],T:{href:q.url,target:"_blank",title:q.sname},P:[u]}),u.X("click",g.Na(this.FT,q.url)),g.Ff(u,pW(this.F,u.element)),this.G.push(u),m++)}l=new g.W({I:"a",da:["ytp-share-panel-service-button","ytp-button"],P:[{I:"span",N:"ytp-share-panel-service-button-more",
P:[g.DV?{I:"div",da:["ytp-icon","ytp-icon-share-more"]}:{I:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},P:[{I:"rect",T:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{I:"path",T:{d:"M 34.2,0 3.8,0 C 1.70,0 .01,1.70 .01,3.8 L 0,34.2 C 0,36.29 1.70,38 3.8,38 l 30.4,0 C 36.29,38 38,36.29 38,34.2 L 38,3.8 C 38,1.70 36.29,0 34.2,0 Z m -5.7,21.85 c 1.57,0 2.85,-1.27 2.85,-2.85 0,-1.57 -1.27,-2.85 -2.85,-2.85 -1.57,0 -2.85,1.27 -2.85,2.85 0,1.57 1.27,2.85 2.85,2.85 z m -9.5,0 c 1.57,0 2.85,-1.27 2.85,-2.85 0,-1.57 -1.27,-2.85 -2.85,-2.85 -1.57,0 -2.85,1.27 -2.85,2.85 0,1.57 1.27,2.85 2.85,2.85 z m -9.5,0 c 1.57,0 2.85,-1.27 2.85,-2.85 0,-1.57 -1.27,-2.85 -2.85,-2.85 -1.57,0 -2.85,1.27 -2.85,2.85 0,1.57 1.27,2.85 2.85,2.85 z",
fill:"#4e4e4f","fill-rule":"evenodd"}}]}]}],T:{href:k.more,target:"_blank",title:"\u0415\u0449\u0451"}});l.X("click",(0,g.A)(this.pS,this,k.more));g.Ff(l,pW(this.F,l.element));this.G.push(l);this.updateValue("buttons",this.G)}}else this.nG(null,null)},this),
bd: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.wV("\u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u044d\u0442\u0443 \u0441\u0441\u044b\u043b\u043a\u0443: $URL",{URL:a}));cW(this.H)};
g.h.nG=function(){g.Br(this.element,"ytp-share-panel-loading");g.T(this.element,"ytp-share-panel-fail")};
g.h.FT=function(a,b){if(g.MV(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 dd?a:g.id("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(",");Gc()&&d.navigator&&d.navigator.standalone&&
f&&"_self"!=f?(l=d.document.createElement("A"),g.Fd(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.fd(e),d&&(g.mO&&-1!=c.indexOf(";")&&(c="'"+c.replace(/'/g,"%27")+"'"),d.opener=null,c=g.Dd(g.Uc("b/12014412, meta tag with sanitized URL"),'<meta name="referrer" content="no-referrer"><meta http-equiv="refresh" content="0; url='+g.tc(c)+
'">'),d.document.write(g.vd(c)),d.document.close())):(d=d.open(g.fd(e),f,l))&&c.noopener&&(d.opener=null);if(c=d)c.opener||(c.opener=window),c.focus();g.bH(b)}};
g.h.pS=function(a,b){$V(a,this.D,b)&&this.D.Ba("SHARE_CLICKED")};
g.h.AP=function(a){!a&&xW(this)&&this.Ff()};
g.h.focus=function(){this.H.focus()};
g.h.W=function(){wW.prototype.W.call(this);exa(this)};g.t(v_,g.W);v_.prototype.J=function(){var a=g.Y(this.B);if(navigator.share){var b=this.B.getVideoData(),c=this.B.getPlaylistId();a=a.getVideoUrl(b.videoId,c,void 0,!0);navigator.share({title:b.title,url:a})}else this.G.Rj(),this.K.Ff(this.element,!1);g.gV(this.B,this.element)};
v_.prototype.F=function(){var a=g.Y(this.B),b=this.G.Jh()&&a.experiments.o("embeds_enable_new_smallmode")&&a.B,c=a.Do&&2!=this.B.getPresentingPlayerType(),d=g.PU(this.B).getPlayerSize().width;this.D=!!this.B.getVideoData().videoId&&300<=d&&!c;g.U(this.H,"ytp-share-button-visible",this.D);b&&a.H&&(a=this.o["ytp-share-icon"],b=new g.W({I:"div",da:["ytp-icon","ytp-icon-sharrow-large"]}),g.oe(a),b.A(a));g.hV(this.B,this.element,this.D&&this.V)};
v_.prototype.ac=function(a){g.W.prototype.ac.call(this,a);g.hV(this.B,this.element,this.D&&a)};
v_.prototype.W=function(){g.W.prototype.W.call(this);g.Br(this.H,"ytp-share-button-visible")};g.t(w_,wW);w_.prototype.show=function(){wW.prototype.show.call(this);this.H.start()};
w_.prototype.hide=function(){wW.prototype.hide.call(this);this.H.stop()};
w_.prototype.ha=function(){var a=this.D.getCurrentTime();a>this.G/1E3&&a<this.F/1E3&&this.show()};g.t(x_,g.W);x_.prototype.G=function(){g.gV(this.D,this.element);fxa(this,!this.B)};g.t(g.y_,g.W);g.y_.prototype.D=function(){g.T(this.element,"ytp-sb-subscribed")};
g.y_.prototype.F=function(){g.Br(this.element,"ytp-sb-subscribed")};g.Da("yt.pubsub.publish",g.qF,void 0);g.t(z_,g.W);z_.prototype.K=function(){this.D.classList.remove("ytp-title-show-collapsed");this.D.classList.remove("ytp-title-show-expanded");this.D.classList.remove("ytp-title-expanded")};
z_.prototype.Y=function(){if(kxa(this)){this.H&&this.H.stop();this.G&&(this.G.show(),g.hV(this.B,this.G.element,!0));var a=this.B.getVideoData();this.J&&a.subscribed&&(this.J.show(),g.hV(this.B,this.J.element,!0));this.D.classList.add("ytp-title-expanded");this.D.classList.add("ytp-title-show-expanded")}};
z_.prototype.M=function(){this.H&&this.H.start()};g.t(B_,g.W);B_.prototype.J=function(a){g.gV(this.B,this.element);var b=this.B.getVideoUrl(!g.MV(a),!1,!0);$V(b,this.B,a)};
B_.prototype.G=function(){var a=this.B.getVideoData(),b=g.Y(this.B);this.updateValue("title",a.title);C_(this);if(2==this.B.getPresentingPlayerType()){var c=this.B.getVideoData(),d=!!c.videoId&&!!c.ze&&!!c.author&&!!c.pi&&!!c.Qk;d?(A_(this.D,d),this.updateValue("channelLink",c.pi),this.updateValue("channelName",c.author)):C_(this)}else b.B&&(c=this.B.getVideoData(),(c=!!c.videoId&&!!c.pi&&!!c.Qk)?A_(this.D,c):C_(this));c=b.ha||!this.B.isFullscreen()&&b.Zb;g.U(this.H,"ytp-title-fullerscreen-link",
c);b.K||!a.videoId||c?this.F&&(this.updateValue("url",null),this.Ka(this.F),this.F=null):(this.updateValue("url",this.B.getVideoUrl(!0)),this.F||(this.F=this.R(this.H,"click",this.J)))};g.t(g.D_,g.W);g.h=g.D_.prototype;g.h.sS=function(a){3==this.D&&this.We();(a=a.currentTarget)&&1==a.nodeType&&!this.D&&(a.removeEventListener("mouseover",this.J),a.addEventListener("mouseout",this.ea),this.O.experiments.o("show_tooltip_on_tab_killswitch")||(a.removeEventListener("focus",this.J),a.addEventListener("blur",this.ea)),mxa(this,a,2))};
g.h.qS=function(a){(a=$G(a))&&g.we(this.B,a)||this.We()};
g.h.EE=function(a,b){if(a<=this.H&&this.H<=b){var c=this.H;this.H=NaN;pxa(this,c)}};
g.h.dN=function(){pma(this.F,this.H,160*this.G)};
g.h.We=function(){switch(this.D){case 2:this.B.removeEventListener("mouseout",this.ea),this.B.addEventListener("mouseover",this.J),this.O.experiments.o("show_tooltip_on_tab_killswitch")||(this.B.removeEventListener("blur",this.ea),this.B.addEventListener("focus",this.J));case 3:3==this.D&&this.ka.stop();this.ba.removeEventListener("appresize",this.ha);this.aa||this.B.setAttribute("title",this.K);this.K="";this.B=null;break;case 1:this.F&&(this.F.unsubscribe("l",this.EE,this),this.F=null),this.ba.removeEventListener("videoready",
this.ha),this.ia.stop()}this.D=null;this.Y&&this.M.hide()};
g.h.mi=function(a){if(this.B)for(var b=0;b<arguments.length;b++)g.we(arguments[b],this.B)&&this.We()};
g.h.W=function(){null!=this.D&&this.We();g.W.prototype.W.call(this)};g.t(G_,g.W);g.h=G_.prototype;g.h.Nc=function(){var a=this.B.getPlayerSize(),b=this.B.getVideoData();this.G=300<=a.width&&!(b.isAd()&&g.Y(this.B).experiments.o("disable_web_watchlater_during_ads"));g.kQ(this,this.G);g.hV(this.B,this.element,this.G&&this.V)};
g.h.CU=function(){this.D=!0;this.F=!1;F_(this,1);g.Y(this.B).A&&nxa(this.H,this.element);g.Y(this.B).Nb&&this.B.Ba("WATCH_LATER_VIDEO_ADDED")};
g.h.OP=function(){var a=this;g.gV(this.B,this.element);var b=g.Y(this.B),c=this.B.getVideoData().videoId;b.Tc?txa(this,c):this.B.app.xa?Isa(function(){uQ(a.B,"embedsItpWatchLaterResult",{accepted:!0});DH();uxa(a,c)},function(){uQ(a.B,"embedsItpWatchLaterResult",{accepted:!1});
vxa(a,"\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432\u0438\u0434\u0435\u043e, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0444\u0430\u0439\u043b\u044b cookie \u0437\u0430\u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043e\u043c.")}):uxa(this,c)};
g.h.DU=function(a,b){this.F=!1;var c="\u041e\u0448\u0438\u0431\u043a\u0430. \u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0443 \u043f\u043e\u0437\u0436\u0435.";b&&(c=b.errors&&b.errors.length?b.errors[0]:b.error_message);vxa(this,c)};
g.h.EU=function(){this.F=this.D=!1;F_(this,2);g.Y(this.B).Nb&&this.B.Ba("WATCH_LATER_VIDEO_REMOVED")};
g.h.PP=function(){this.F=this.D=!1;F_(this,2)};
g.h.ac=function(a){g.W.prototype.ac.call(this,a);g.hV(this.B,this.element,this.G&&a)};g.t(H_,g.W);H_.prototype.K=function(a){g.kQ(this,!g.X(a.state,2))};
H_.prototype.H=function(){if(this.B.getVideoData().videoId){var a=this.B.getVideoUrl(!0,!1,!1,!0);this.updateValue("url",a);this.D||(this.D=this.X("click",this.J))}else this.D&&(this.updateValue("url",null),this.Ka(this.D),this.D=null)};
H_.prototype.J=function(a){var b=this.B.getVideoUrl(!g.MV(a),!1,!0,!0);$V(b,this.B,a)};
H_.prototype.G=function(a){var b=g.Y(this.B),c=wxa(a,b);if(c&&!this.F||!c&&this.F)a=wxa(a,b)&&b.H?{I:"div",da:["ytp-icon","ytp-icon-watermark-small"]}:wta(),a=new g.W(a),b=this.o["ytp-watermark"],g.U(b,"ytp-watermark-small",c),g.oe(b),a.A(b),this.F=c};g.t(I_,NX);g.h=I_.prototype;g.h.Hb=function(){return this.H};
g.h.KB=function(){return this.o};
g.h.jm=function(a,b){b?this.Y=a:this.Y=null;this.ug()};
g.h.jp=function(a,b){if(b)this.J.push(a);else for(var c=this.J.length;0<=c;c--)if(this.J[c]==a){this.J.splice(c,1);break}this.A.oc(64,0<this.J.length)};
g.h.kl=function(){this.api.ce()&&this.api.se();OX(this);return!!this.Y||NX.prototype.kl.call(this)};
g.h.ug=function(){var a=!this.kl(),b=a&&this.api.ce()&&!g.X(g.OU(this.api),2);a?(this.Ra.show(),this.Sa.show()):(this.Ra.hide(),this.Sa.hide(),this.H.mi(this.C.element));b?(this.aa.F.show(),g.qF("iv-button-shown")):(b=this.aa,g.qF("iv-button-hidden"),b.F.hide());this.o&&Bua(this.o,!a);NX.prototype.ug.call(this)};
g.h.Uq=function(a,b,c,d,e){a.style.left="";a.style.top="";a.style.bottom="";var f=g.hi(a);d=d||this.o&&g.we(this.o.ra(),b);if(null==c||!d){var k=g.hi(b);var l=g.ei(b,this.api.getRootNode())}c=(null==c?l.x+k.width/2:c)-f.width/2;d?(k=LX(this.o),l=Cua(this.o),b=g.PU(this.api).getPlayerSize().height,c=g.Jd(c,k,k+l-f.width),f=b-(this.o.B.Yc()?72:50)-f.height):g.we(this.C.element,b)?(k=g.PU(this.api).getPlayerSize().width,c=g.Jd(c,12,k-f.width-12),f=this.Yc()?this.Fa:this.Ia,"gvn"==g.Y(this.api).playerStyle&&
(f+=20),g.Y(this.api).B&&(f-=this.Yc()?26:18)):(b=g.PU(this.api).getPlayerSize(),c=g.Jd(c,12,b.width-f.width-12),f=l.y>(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.Nw=function(a){a&&(this.H.mi(this.C.element),this.o&&this.H.mi(this.o.ra()));NX.prototype.Nw.call(this,a)};
g.h.ow=function(a){var b=g.PU(this.api).getPlayerSize();b=new g.Ch(0,0,b.width,b.height);if(a||this.A.o&&!this.kl())g.Y(this.api).Jl&&(a=this.Yc()?this.Fa:this.Ia,b.top+=a,b.height-=a),this.o&&(b.height-=this.o.B.Yc()?72:50);return b};
g.h.ZO=function(a){var b=this.api.getRootNode();a?b.parentElement?(b.setAttribute("aria-label","\u041f\u0440\u043e\u0438\u0433\u0440\u044b\u0432\u0430\u0442\u0435\u043b\u044c YouTube \u0432 \u043f\u043e\u043b\u043d\u043e\u044d\u043a\u0440\u0430\u043d\u043d\u043e\u043c \u0440\u0435\u0436\u0438\u043c\u0435"),g.Y(this.api).ha||(b.parentElement.insertBefore(this.ea.element,b),b.parentElement.insertBefore(this.ga.element,b.nextSibling))):g.$E(Error("Player not in DOM.")):(b.setAttribute("aria-label","\u041f\u0440\u043e\u0438\u0433\u0440\u044b\u0432\u0430\u0442\u0435\u043b\u044c YouTube"),
g.jQ(this.ea),g.jQ(this.ga));this.fb();this.fh()};
g.h.Yc=function(){return this.api.isFullscreen()||!1};
g.h.showControls=function(a){this.Pb=!a;this.ug()};
g.h.fb=function(){var a=this.Yc();this.H.G=a?1.5:1;g.U(this.M.element,"ytp-big-mode",a);this.ug();if(this.ha)if(this.Jh())this.G&&Ywa(this.D,this.G),this.F&&Ywa(this.D,this.F);else{this.G&&!g.we(this.G.element,this.sa.element)&&this.G.A(this.sa.element,0);this.F&&!g.we(this.F.element,this.sa.element)&&this.F.A(this.sa.element,1);a=this.D;for(var b=g.r(a.D),c=b.next();!c.done;c=b.next())g.jQ(c.value);a.D=[]}this.fh();NX.prototype.fb.call(this)};
g.h.fh=function(){NX.prototype.fh.call(this);var a=this.ha&&this.Jh();g.hV(this.api,this.Oa.element,!!this.K);a?this.ka&&this.ka.ac(!!this.K):(this.F&&this.F.ac(!!this.K),this.G&&this.G.ac(!!this.K));if(!this.K)for(this.H.mi(this.C.element),a=0;a<this.ba.length;a++){var b=this.ba[a];xW(b)&&b.Jb()}};
g.h.Ar=function(a){this.o&&Bua(this.o,this.kl());this.ug();NX.prototype.Ar.call(this,a)};
g.h.CS=function(){this.api.an()&&this.A.oc(128,!1)};
g.h.handleGlobalKeyDown=function(a,b,c,d,e){return this.V?this.V.handleGlobalKeyDown(a,b,c,d,e):!1};
g.h.handleGlobalKeyUp=function(a,b,c,d,e){return this.V?this.V.handleGlobalKeyUp(a,b,c,d,e):!1};
g.h.Rj=function(){return this.M.C?(this.M.Jb(),!0):this.J.length?(this.J[this.J.length-1].Jb(),!0):this.Y?(this.Y.Jb(),!0):NX.prototype.Rj.call(this)};
g.h.eG=function(a,b){this.tc=b;this.jp(a,b);this.MG()};
g.h.MG=function(){var a=this.tc||xW(this.M);this.Aa!=a&&(this.Aa=a,this.api.Ba("onAutonavPauseRequest",this.Aa))};
g.h.FK=function(){J_(this,this.api.getRootNode(),!0).focus()};
g.h.GK=function(){J_(this,this.api.getRootNode(),!1).focus()};
g.h.wn=function(){return this.o&&this.o.o};
g.h.qw=function(){this.A.oc(2,!0)};
g.h.hC=function(){this.L.hide()};
g.h.HD=function(a){Qwa(this.L,!OQ(a))};g.t(g.K_,g.lV);g.K_.prototype.uc=function(){return!1};
g.K_.prototype.init=function(){var a=g.Y(this.player),b="gaming"==a.playerStyle&&a.A;a=lO(a)&&a.A&&a.experiments.o("enable_bulleit_mweb_remix_ui");b||a?this.kn=new NX(this.player):this.kn=new I_(this.player);g.L(this,this.kn);this.kn.init();g.bV(this.player,"ux")};g.Ea(L_);var p0=g.y("ytPlayerUtilsVideoTagPoolInstance")||L_.getInstance();g.Da("ytPlayerUtilsVideoTagPoolInstance",p0,void 0);g.h=L_.prototype;g.h.oB=function(a){if(!(this.o.length>=a)){a-=this.o.length;for(var b=0;b<a;b++)yxa(this)}};
g.h.VK=function(a,b){if(this.o.length)return this.o.pop();var c=yxa(this,a,b);a||g.db(this.o,c);return c};
g.h.hV=function(a){if(a&&g.Ya(this.A,a)){a.src&&(kG&&0<a.readyState&&(a.currentTime=Math.max(Yza,0)),a.removeAttribute("src"),a.load(),a.zj&&a.zj.A&&eoa(a,null));for(var b in TG)TG[b][0]==a&&g.XG(b);g.db(this.A,a);g.db(this.C,a)}};
g.h.UL=function(a){return this.o.length>=(a||1)};
g.h.IJ=function(){for(var a=this.C.length-1;0<=a;a--)M_(this,this.C[a]);this.o.length==this.A.length&&4<=this.o.length||(4>this.A.length?this.oB(4):(this.o=[],(0,g.C)(this.A,function(b){M_(this,b)},this)))};
L_.prototype.fillPool=L_.prototype.oB;L_.prototype.getTag=L_.prototype.VK;L_.prototype.releaseTag=L_.prototype.hV;L_.prototype.hasTags=L_.prototype.UL;L_.prototype.activateTags=L_.prototype.IJ;g.t(N_,g.K);g.h=N_.prototype;g.h.RO=function(a){if(this.B==g.iV(this.o)){var b=this.K.get(a);Dxa(this,b.target,b.fy,a)}else{b=this.A.find(function(e){return e.zi.Eg==a});
var c=b.zi,d=c.target;c=c.fy;d?Dxa(this,d,c,a):Bxa(this,b.fj,c,a)}};
g.h.gT=function(){var a=this.H;O_(this);a&&(P_(this,a),g.iV(this.o).addCueRange(a.zi.Eg))};
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)zxa(this,a);else{b=g.iV(this.o);var d=b==this.D?this.G:null;Q_(this,!1);this.L=a;null!=c&&this.J.start(c);b&&(this.G=d||b.getPlayerState(),lsa(b),this.D=b)}};
g.h.SO=function(a){var b=this;if(0<SQ(a,128)){var c=this.A.find(function(d){return P_(b,d)});
c&&(a=new g.HQ(8),c=Exa(this,c)/1E3,T_(this,c,a))}};
g.h.W=function(){Q_(this,!1);Hxa(this);g.K.prototype.W.call(this)};g.t(g.U_,g.AQ);g.h=g.U_.prototype;g.h.isView=function(){return!0};
g.h.Em=function(){return pM(this.o.Em(),this.A,this.F)};
g.h.Of=function(){return pM(this.o.Of(),this.A,this.F)};
g.h.Cp=function(){return pM(this.o.Cp(),this.A,this.F)};
g.h.getCurrentTime=function(){return this.o.getCurrentTime()-this.A};
g.h.yq=function(a){this.o.yq(a+this.A)};
g.h.getDuration=function(){return isFinite(this.F)&&!this.K?this.F-this.A:this.o.getDuration()-this.A};
g.h.play=function(){this.o.getCurrentTime()<this.A&&this.o.yq(this.A);return this.o.play()};
g.h.Eb=function(){var a=g.AQ.prototype.Eb.call(this);a.view=this.A+"-"+this.F;return a};
g.h.addEventListener=function(a,b){this.o.addEventListener(a,b)};
g.h.removeEventListener=function(a,b){this.o.removeEventListener(a,b)};
g.h.tq=function(){return this.o.tq()};
g.h.If=function(a){this.o.If(a)};
g.h.Wq=function(){this.o.Wq()};
g.h.qq=function(){return this.o.qq()};
g.h.playVideo=function(){return this.o.playVideo()};
g.h.ju=function(){this.o.ju()};
g.h.fu=function(){this.o.fu()};
g.h.Oh=function(){return this.o.Oh()};
g.h.ra=function(){return this.o.ra()};
g.h.Dd=function(){return this.o.Dd()};
g.h.zq=function(a){this.o.zq(a)};
g.h.vx=function(){this.o.vx()};
g.h.getPlaybackRate=function(){return this.o.getPlaybackRate()};
g.h.setPlaybackRate=function(a){return this.o.setPlaybackRate(a)};
g.h.pq=function(){return this.o.pq()};
g.h.setLoop=function(a){this.o.setLoop(a)};
g.h.canPlayType=function(a,b){return this.o.canPlayType(a,b)};
g.h.Yi=function(){return this.o.Yi()};
g.h.xq=function(){return this.o.xq()};
g.h.Xi=function(){return this.o.Xi()};
g.h.rq=function(){return this.o.rq()};
g.h.Ak=function(a){this.o.Ak(a)};
g.h.uq=function(){return this.o.uq()};
g.h.load=function(){this.o.load()};
g.h.pause=function(){this.o.pause()};
g.h.Be=function(){return this.o.Be()};
g.h.Ap=function(){return this.o.Ap()};
g.h.Fb=function(){return this.o.Fb()};
g.h.mn=function(){return this.o.mn()};
g.h.wq=function(){return this.o.wq()};
g.h.Wi=function(){return this.o.Wi()};
g.h.hw=function(){return this.o.hw()};
g.h.iw=function(){this.o.iw()};
g.h.Cd=function(){return this.o.Cd()};
g.h.nn=function(){return this.o.nn()};
g.h.setSize=function(a){return this.o.setSize(a)};
g.h.getVolume=function(){return this.o.getVolume()};
g.h.setVolume=function(a){this.o.setVolume(a)};
g.h.setAttribute=function(a,b){this.o.setAttribute(a,b)};
g.h.removeAttribute=function(a){this.o.removeAttribute(a)};
g.h.hasAttribute=function(a){return this.o.hasAttribute(a)};
g.h.Pl=ba(7);g.h.Zn=ba(9);g.h.tj=ba(4);g.h.Vl=ba(11);g.h.ln=function(){this.o.ln()};
g.h.Gd=function(a,b){this.o.Gd(a,b)};
g.h.pn=function(a){return this.o.pn(a)};
g.h.stopVideo=function(){this.o.stopVideo()};
g.h.ku=function(a){this.o.ku(a)};g.t(V_,g.K);g.h=V_.prototype;g.h.isFinished=function(){return 4==this.B.status};
g.h.getStatus=function(){return this.B};
g.h.ii=function(){var a=this.o.getVideoData(),b=this.A.getVideoData();if(a.Ha&&b.Ha){a=this.o;b=this.A;var c=this.J,d=this.o.F,e=b.getVideoData(),f=a.getVideoData();(a=0==b.getCurrentTime()||d.experiments.o("html5_non_zero_gapless")?a.getCurrentTime()>(c-3E3)/1E3?"too-close":f.Da&&!isFinite(c)?"live-infinite":e.Ha.o&&f.Ha.o?e.Ha.videoInfos[0].containerType!=f.Ha.videoInfos[0].containerType?"container":g.NP(f)&&g.NP(e)?"content-protection":g.NP(f)&&!d.experiments.o("html5_gapless_encrypted_to_clear")?
"encrypted-to-clear":f.Ha.o[0].audio.sampleRate==e.Ha.o[0].audio.sampleRate||g.aM?null:"sample-rate":"non-dash":"non-zero")?X_(this,"Can not apply gapless "+a):(d=this.o.J)&&(d.o||d.A)&&(!vM(d)&&g.cG()?X_(this,"MediaSource is closed"):(a=this.o.A,f=Ixa(this),b=f.qK,e=f.cE,c=f.pK,f=f.bE,0>e?X_(this,"Next player is too far in the future"):(this.G=c,this.H=this.F?e+this.A.getCurrentTime():c,this.C=AM(d,b,c,!0),this.D=AM(d,e,f,!1),e=Mxa(this),d=e.hG,e=e.MV,d.subscribe("updateend",this.Fk,this),e.subscribe("updateend",
this.Fk,this),this.Fk(d),this.Fk(e),CU(this.o,this.C),rU(this.o,Jxa(a,b,c,this.o.getVideoData().Da)),CU(this.A,this.D),W_(this,2),Lxa(this))))}};
g.h.Fk=function(a){var b=Mxa(this),c=(b=a==b.hG)?this.C.o:this.C.A,d=b?this.D.o:this.D.A;if(c.isActive()&&!d.isActive()){var e=this.G,f=a.sc();0<=lM(f,e-.01)&&(c.setActive(!1),this.A.xb("sbr",d.Eb({tt:e,a:""+ +b})),a.abort(),a.remove(this.H,Infinity),d.setActive(!0));a=this.D.A;this.D.o.isActive()&&a.isActive()&&W_(this,3)}};
g.h.W=function(){Lxa(this);if(this.C){var a=this.C.A;this.C.o.o.unsubscribe("updateend",this.Fk,this);a.o.unsubscribe("updateend",this.Fk,this)}g.K.prototype.W.call(this)};g.t(Z_,g.K);Z_.prototype.clearQueue=function(){this.D&&this.D.reject("Queue cleared");Y_(this)};
Z_.prototype.W=function(){Y_(this);g.K.prototype.W.call(this)};g.t(b0,g.K);b0.prototype.get=function(a){$_(this);var b=this.o.find(function(c){return c.key==a});
return b?b.value:null};
b0.prototype.set=function(a,b,c){this.remove(a,!0);$_(this);a={key:a,value:b,expire:Infinity};c&&isFinite(c)&&(c*=1E3,a.expire=g.GH()+c);for(this.o.push(a);this.o.length>this.B;)c=this.o.shift(),c0(this,c,!0);a0(this)};
b0.prototype.remove=function(a,b){b=void 0===b?!1:b;var c=this.o.find(function(d){return d.key==a});
c&&(c0(this,c,b),g.eb(this.o,function(d){return d.key==a}),a0(this))};
b0.prototype.W=function(){var a=this;g.K.prototype.W.call(this);this.o.forEach(function(b){c0(a,b,!0)});
this.o=[]};g.t(d0,g.K);d0.prototype.C=function(a){this.A=a[a.length-1].intersectionRatio};
d0.prototype.W=function(){g.K.prototype.W.call(this);this.A=null;this.o&&this.o.disconnect()};var Pxa=Pc(function(){var a=window.AudioContext||window.webkitAudioContext;try{return new a}catch(b){return b.name}}),e0=!1;g.t(f0,g.W);g.h=f0.prototype;g.h.SL=function(){this.L=new g.Ch(0,0,0,0);this.D=new g.Ch(0,0,0,0)};
g.h.Iq=function(a){g.Ar(this.element,arguments)};
g.h.vf=function(){if(this.B){var a=this.getPlayerSize();if(!a.isEmpty()){var b=this.D;b=!g.Rd(a,new g.Qd(b.width,b.height));var c=Vxa(this);b&&(this.D.width=a.width,this.D.height=a.height);a=this.app.o;(c||b||a.ka)&&this.app.A.U("resize",this.getPlayerSize())}}};
g.h.aP=function(a,b){this.updateVideoData(b)};
g.h.TL=function(a){a.getVideoData()&&this.updateVideoData(a.getVideoData())};
g.h.updateVideoData=function(a){if(this.B){var b=this.app.o;kG&&(this.B.setAttribute("x-webkit-airplay","allow"),a.title?this.B.setAttribute("title",a.title):this.B.removeAttribute("title"));this.app.o.experiments.o("html5_no_360_remote_killswitch")||(gna(a)?this.B.setAttribute("disableremoteplayback",""):this.B.removeAttribute("disableremoteplayback"));this.B.setAttribute("controlslist","nodownload");b.ts&&a.videoId&&(this.B.poster=a.gd("default.jpg"))}b=g.PP(a,"yt:bgcolor");this.J.style.backgroundColor=
b?b:"";this.H=CN(g.PP(a,"yt:stretch"));this.aa=CN(g.PP(a,"yt:crop"),!0);g.U(this.element,"ytp-dni",a.Ic);this.vf()};
g.h.setGlobalCrop=function(a){this.O=CN(a,!0);this.vf()};
g.h.getPlayerSize=function(){var a=this.app.o,b=this.app.K.isFullscreen();if(b&&bG())return new g.Qd(window.outerWidth,window.outerHeight);if(b||a.tp){if(window.matchMedia){a="(width: "+window.innerWidth+"px) and (height: "+window.innerHeight+"px)";this.G&&this.G.media==a||(this.G=window.matchMedia(a));var c=this.G&&this.G.matches}if(c)return new g.Qd(window.innerWidth,window.innerHeight)}else{if(!isNaN(this.F.width)&&!isNaN(this.F.height))return this.F.clone();if(this.ha&&this.ea&&!this.app.isWidescreen())for(a=
0;a<this.ha.length;a++)if(b=this.ha[a],b.query.matches)return new g.Qd(b.size.width,b.size.height)}return new g.Qd(this.element.clientWidth,this.element.clientHeight)};
g.h.getVideoAspectRatio=function(){return isNaN(this.H)||this.app.o.experiments.o("html5_video_aspect_ratio_stretch_killswitch")?Txa(this):this.H};
g.h.getVideoContentRect=function(a){var b=this.getPlayerSize();a=Uxa(this,b,this.getVideoAspectRatio(),a);return new g.Ch((b.width-a.width)/2,(b.height-a.height)/2,a.width,a.height)};
g.h.zL=function(){this.B&&g0(this);j0(this)!=this.Y&&this.vf()};
g.h.bP=function(){g0(this)};
g.h.setUseFastSizingOnWatch=function(a){this.ea!=a&&(this.ea=a,this.vf())};
g.h.setInternalSize=function(a){g.Rd(this.F,a)||(this.F=a,this.vf())};
g.h.W=function(){this.M&&g.oF(this.M);Sxa(this);g.W.prototype.W.call(this)};Wxa.prototype.click=function(a){this.o.has(a);this.A.has(a);var b=g.vI();b&&a.visualElement&&g.iI(b,a.visualElement)};g.t(k0,g.W);g.t(m0,g.W);g.h=m0.prototype;g.h.show=function(){g.W.prototype.show.call(this);this.Ew()};
g.h.hide=function(){g.W.prototype.hide.call(this);this.B.stop()};
g.h.stop=function(){this.B.stop()};
g.h.start=function(){this.B.isActive()||this.Ew()};
g.h.Ew=function(){var a=g.GH(),b=g.Z(this.D),c=this.D.getVideoData(),d=this.D.A,e=g.dV(d).ra(),f=b.Bu(),k=b.ea,l=8*MT(k,"bandwidth")/1024,m=MT(k,"networkactivity")/1024,n=MT(k,"bufferhealth");if(b.H){var p=b.H.o.o+"/"+ZM(uU(b));p=p+"/"+b.H.Pf()}else p="";var q=g.jO();d=g.UU(d).NM;var u=c.Ha&&!c.Ha.o?"display:none":"",w;if((w=c.clientPlaybackNonce)&&16==w.length){for(var D=0,F="",J=0;10>J;J++)if(D=(D<<6)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".indexOf(w.charAt(J)),4==J%5){for(var O=
"",qa=0;6>qa;qa++)O="0123456789ABCDEFGHJKMNPQRSTVWXYZ".charAt(D&31)+O,D>>=5;F+=O}w=F.substr(0,4)+" "+F.substr(4,4)+" "+(""+F.substr(8,4))}else w="";f={video_id_and_cpn:c.videoId+" / "+w,codecs:"",dropped_frames:f.totalVideoFrames?""+(f.droppedVideoFrames||0)+"/"+f.totalVideoFrames:"-",stream_host:b.D?b.D.Oa:"",dimensions:e.clientWidth+"x"+e.clientHeight+(1<q?"*"+q:""),bandwidth_kbps:l.toFixed(0)+" Kbps",buffer_health_seconds:n.toFixed(2)+" s",drm_style:p?"":"display:none",drm:p,host_style:u,bandwidth_style:u,
network_activity_style:u,network_activity_bytes:m.toFixed(0)+" KB",shader_info:d,shader_info_style:d?"":"display:none",playback_categories:""};l=this.D.K.getVolume();m=aQ(c);l=Math.round(l)+"% / "+Math.round(l*m)+"%";m=c.lj.toFixed(1);isFinite(m)&&(l+=" (content loudness "+m+"dB)");f.volume=l;f.resolution=e.videoWidth+"x"+e.videoHeight;if(c.Ca){e=c.Ca.video.fps;1<e&&(f.resolution+="@"+e);(e=g.kU(b))&&e.video&&(f.resolution+=" / "+e.video.width+"x"+e.video.height,1<e.video.fps&&(f.resolution+="@"+
e.video.fps));f.codecs=Zxa(c.Ca);if(e=c.Ec)e=c.Ca,e=!(e.audio&&e.video);e&&(f.codecs+=" / "+Zxa(c.Ec));c.Ca.video.A||c.Ca.video.primaries?(e=c.Ca.video.A||"unknown","smpte2084"==e?e+=" (PQ)":"arib-std-b67"==e&&(e+=" (HLG)"),f.color=e+" / "+(c.Ca.video.primaries||"unknown"),f.color_style=""):f.color_style="display:none"}if(c.rk)f.live_mode="Post-Live"+(HP(c)?" Manifestless":"");else if(e=c.Da,f.live_latency_style=e?"":"display:none",f.live_mode_style=e?"":"display:none",e){l=MT(k,"livelatency");f.live_latency_secs=
l.toFixed(2)+"s";e=HP(c)?"Manifestless, ":"";m="Uncertain";if(0<=l&&120>l)if(c.latencyClass&&"UNKNOWN"!=c.latencyClass)switch(c.latencyClass){case "NORMAL":m="Optimized for Normal Latency";break;case "LOW":m="Optimized for Low Latency";break;case "ULTRALOW":m="Optimized for Ultra Low Latency";break;default:m="Unknown Latency Setting"}else m=c.isLowLatencyLiveStream?"Optimized for Low Latency":"Optimized for Smooth Streaming";e+=m;(c=b.getPlaylistSequenceForTime(b.getCurrentTime()))&&(e+=", seq "+
c.sequence);f.live_mode=e}pU(b)&&(f.playback_categories+="Gapless ");f.playback_categories_style=f.playback_categories?"":"display:none";l0(this.F,LT(k,"bandwidth"));l0(this.J,LT(k,"networkactivity"));l0(this.H,LT(k,"livelatency"));l0(this.G,LT(k,"bufferhealth"));this.update(f);a=25<g.GH()-a?5E3:500;this.B.start(a)};g.t(n0,g.K);g.h=n0.prototype;g.h.getVisibilityState=function(a,b,c,d,e){return this.J.getVisibilityState(a,b,c,d,e)};
g.h.isVideoInfoVisible=function(){return!(!this.O||!this.O.C)};
g.h.sQ=function(){if(!o0(this)){if(this.na("web_player_inline_botguard")){var a=this.getVideoData().botguardData;if(a){var b=a.interpreterScript||null,c=a.interpreterUrl||null;a=a.program;var d=this.o.vg;a&&(cQ.af?0:72E5<g.GH()-EI)&&(b||c)&&cQ.initialize(b,c,a,uka,d)}}g.D0(this,5)}};
g.h.OS=function(a){o0(this)||(tya(this),OQ(a.getPlayerState())&&this.playVideo())};
g.h.canPlayType=function(a){return $L(a)};
g.h.getVideoData=function(){return this.D.getVideoData()};
g.h.getVideoLoadedFraction=function(a){return(a=(a=g.Z(this,a))?a.A:null)?DQ(a):0};
g.h.Sd=function(){var a=this.B.Mg(),b=this.B.C;b&&g.Oa(a,b.Mg());a.fs=this.A.isFullscreen();a.volume=Math.round(this.K.getVolume());a.mos=this.K.isMuted()?1:0;if(this.o.experiments.o("html5_enable_embedded_player_visibility_signals")&&this.o.o&&(this.fd&&(b=this.fd,b=null==b.A?null:Math.round(100*b.A)/100,null!=b&&(a.inview=b)),b=this.H.getPlayerSize(),0<b.height&&0<b.width)){b=[Math.round(b.height),Math.round(b.width)];var c=g.jO();1<c&&b.push(c);a.size=b.join(":")}return a};
g.h.setPlaybackRate=function(a,b){if(!isNaN(a)){var c=gya(this,a);this.C.getPlaybackRate()!=c&&(this.C.setPlaybackRate(c),b&&!this.o.o&&g.AI("yt-player-playback-rate",c),this.A.Ba("onPlaybackRateChange",c))}};
g.h.getCurrentTime=function(a,b){b=void 0===b?!0:b;if(3==this.getPresentingPlayerType())return g.QU(this.B).getCurrentTime();var c=g.Z(this,a);return c?b?(c=y0(this,c),F0(this,c.getCurrentTime(),c)):c.getCurrentTime():0};
g.h.getDuration=function(a,b){var c=g.Z(this,a);return c?void 0===b||b?(c=x0(this,c),F0(this,c.getDuration(),c)):c.getDuration():0};
g.h.fc=function(a){a=g.Z(this,a);if(!a)return 0;a=x0(this,a);return F0(this,a.fc(),a)};
g.h.getDebugText=function(a){var b=this.C.Eb(a);if(this.D&&this.D!=this.C&&(b=zya(b,this.D.Eb(a),"ad_"),a)){var c=b;var d={};var e;if(e=g.v("movie_player")?document.getElementById("movie_player"):"movie_player")d.bounds=e.getBoundingClientRect(),d["class"]=e.className;e={};var f=g.Zd("video-ads");f?(yya(f,e),e.html=f.outerHTML):e.missing=1;f={};var k=g.Zd("videoAdUiSkipContainer"),l=g.Zd("ytp-ad-skip-button-container"),m=k||l;m?(yya(m,f),f.ima=k?1:0,f.bulleit=l?1:0):f.missing=1;k={};k.player=d;k.videoAds=
e;k.skipButton=f;d=JSON.stringify(k);c.ad_skipBtnDbgInfo=d}a&&this.F&&(b["0sz"]=0==Sd(this.F.nn()),b.op=this.F.pn("opacity"),c=this.F.Cd().y+this.F.nn().height,b.yof=0>=c,b.dis=this.F.pn("display"));(a=a?(0,g.cU)():null)&&(b.gpu=a);b.cgr=!0;b.debug_playbackQuality=this.K.getPlaybackQuality();b.debug_date=(new Date).toString();delete b.uga;delete b.q;(a=this.B.yd)&&(b=zya(b,a.Eb(),"fresca_"));return JSON.stringify(b,null,2)};
g.h.getPresentingPlayerType=function(){return 1==this.V?1:o0(this)?3:g.Z(this).getPlayerType()};
g.h.wN=function(a){switch(a.type){case "loadedmetadata":wP("fvb","")||(0,g.LP)("fvb",void 0,"");xP("fvb");this.Wa.start();break;case "loadstart":wP("gv","")||(0,g.LP)("gv",void 0,"");xP("gv");break;case "progress":case "timeupdate":!wP("l2s","")&&2<=nM(a.target.Of())&&(0,g.LP)("l2s",void 0,"");break;case "playing":g.mO&&this.Wa.start();if(g.$N(this.o))a=!1;else{var b=this.B.D;a="none"==this.F.pn("display")||0==Sd(this.F.nn());var c=j0(this.H),d=this.D.getVideoData(),e=!this.na("web_player_music_reload_hidden_killswitch")&&
lO(this.o);d=BP(d);b=!c||b||e||d||this.o.jh;a=a&&!b}a&&(this.D.xb("hidden","1",!0),this.getVideoData().qg||(this.na("html5_new_elem_on_hidden")?(this.getVideoData().qg=1,this.KE(null),this.D.playVideo()):Q0(this,"hidden",!0)))}};
g.h.RR=function(a,b){this.A.Ba("onLoadProgress",b)};
g.h.aU=function(){this.A.U("playbackstalledatstart")};
g.h.xN=function(a,b){if(!this.na("web_player_continuous_video_progress_killswitch")){var c=y0(this,a);b=F0(this,c.getCurrentTime(),c)}this.A.Ba("onVideoProgress",b)};
g.h.mR=function(){this.A.Ba("onDompaused")};
g.h.dT=function(){this.K.U("progresssync")};
g.h.uQ=function(a){if(1==this.getPresentingPlayerType()){0<SQ(a,1)&&!g.X(a.state,64)&&NZ(this).Da&&this.C.isAtLiveHead()&&1<this.A.getPlaybackRate()&&this.setPlaybackRate(1,!0);0<SQ(a,2)&&t0(this);if(g.X(a.state,128)){var b=a.state;J0(this);b=b.A;this.A.Ba("onError",Xza[b.errorCode]||5);this.A.Ba("onDetailedError",b);6048E5<g.GH()-this.o.Bj&&this.A.Ba("onReloadRequired")}a.state.sb()&&!g.PQ(a.state)&&!wP("pbresume","ad_to_video")&&wP("_start","ad_to_video")&&(b=this.getVideoData(),(0,g.kR)("cpn",
b.clientPlaybackNonce,"ad_to_video"),b.videoId&&(0,g.kR)("docid",b.videoId,"ad_to_video"),(0,g.LP)("pbresume",void 0,"ad_to_video"));this.A.U("applicationplayerstatechange",a)}};
g.h.iF=function(a){3!=this.getPresentingPlayerType()&&this.A.U("presentingplayerstatechange",a)};
g.h.tN=function(a){v0(this,QQ(a.state));g.X(a.state,1024)&&this.A.isMutedByMutedAutoplay()&&(vQ(this,{muted:!1,volume:this.L.volume},!1),E0(this,!1))};
g.h.WS=function(a){a.state.sb()&&!g.PQ(a.state)&&(Lwa(this.B),g.lH(this.cd))};
g.h.qQ=function(a){"newdata"==a&&pya(this)};
g.h.wQ=function(){this.A.Ba("onPlaybackAudioChange",this.A.getAudioTrack().Ob.name)};
g.h.vU=function(a){var b=this.D.getVideoData();a==b&&this.A.Ba("onPlaybackQualityChange",a.Ca.za().quality)};
g.h.dw=function(a,b,c){this.na("html5_app_oauth_update_killswitch")||b!=this.C||(this.o.Ra=c.oauthToken);if("newdata"==a)YZ(this.B,2),this.A.U("videoplayerreset",b);else{if(!this.F)return;if("dataloaded"==a)if(this.D==this.C){if(c.ib.eh(c.Sk),!this.C.getPlayerState().isError()){var d=o0(this);NZ(this).Mb();d&&g.D0(this,6);jya(this);d||(d=this.B.C)&&!d.created&&this.B.o.getVideoData(1).adModule&&d.create()}}else jya(this);if(1==b.getPlayerType()&&(this.o.M&&xya(this),this.getVideoData().Da&&!this.o.Or&&
g.$T(this.C,"html5.unsupportedlive","DEVICE_FALLBACK",void 0),c.Mb())){if(c.Zq||c.Wv||c.xd.focEnabled||c.xd.rmktEnabled||this.getVideoData().Yz)d=this.getVideoData(),I0(this,"part2viewed",1,0x8000000000000),I0(this,"engagedview",Math.max(1,1E3*d.nf),0x8000000000000),d.Da||(d=1E3*d.lengthSeconds,I0(this,"videoplaytime25",.25*d,d),I0(this,"videoplaytime50",.5*d,d),I0(this,"videoplaytime75",.75*d,d),I0(this,"videoplaytime100",d,0x8000000000000),I0(this,"conversionview",d,0x8000000000000));if(c.chapterMarkers.length&&
this.o.experiments.o("enable_player_chapter_markers")){d=this.getVideoData();for(var e=[],f=0;f<d.chapterMarkers.length;f++){var k=d.chapterMarkers[f].playerChapterMarkerRenderer;if(k){var l={id:"__chapterMarker"+f+"__",style:"ytp-chapter-marker",visible:!0};k.color&&(l.color=k.color);k.tooltip&&(l.tooltip=k.tooltip);k.icons&&(l.icons=k.icons);var m=k.startTimeMs;k=new g.lR(m,k.endTimeMs||m,l);k.namespace="appchaptermarker";e.push(k)}}XU(this,e,1)}}this.A.U("videodatachange",a,c,b.getPlayerType())}this.o.Nb&&
this.A.Ba("onVideoDataChange",{type:a,playertype:b.getPlayerType()});a=c.clientScreenNonce;c=c.ur;a&&c?(b=this.ka,a!=g.vI()&&(xI(a,c),Yxa(b))):Yxa(this.ka)};
g.h.Wo=function(){A0(this,null);this.A.Ba("onPlaylistUpdate")};
g.h.nE=function(a){var b=a.getId(),c=NZ(this);if("part2viewed"==b)c.yF&&g.pG(c.yF),c.Wv&&g.pG(c.Wv);else if("conversionview"==b){var d=this.C;d.B&&roa(d.B)}else"engagedview"==b&&g.pG(c.Zq);if(c.ar){d=c.ar;var e={label:a.getId()};if(this.o.experiments.o("send_pyv_ad_mt_and_abandon_pings")){var f=1E3*this.getCurrentTime();e.ad_mt=Math.round(Math.max(0,f)).toString()}d=g.FF(d,e);g.pG(d)}switch(b){case "videoplaytime25":c.XC&&g.pG(c.XC);c.AF&&g.pG(c.AF);break;case "videoplaytime50":c.YC&&g.pG(c.YC);c.BF&&
g.pG(c.BF);break;case "videoplaytime75":c.ZC&&g.pG(c.ZC);c.CF&&g.pG(c.CF);break;case "videoplaytime100":c.WC&&g.pG(c.WC),c.zF&&g.pG(c.zF)}(b=this.getVideoData().Yz)&&b[a.getId()]&&(c=b[a.getId()],g.pG(c,void 0,jK(c)||kK(c)||iK(c)),b=b[a.getId()+"gaia"],g.pG(b,void 0,jK(b)||kK(b)||iK(b)));this.C.removeCueRange(a)};
g.h.isAtLiveHead=function(a,b){b=void 0===b?!1:b;var c=g.Z(this,a);if(!c)return!1;var d=x0(this,c);c=y0(this,c);return d==c||this.na("html5_continuous_liveness_killswitch")?d.isAtLiveHead(void 0,b):d.isAtLiveHead(F0(this,c.getCurrentTime(),c),!0)};
g.h.seekTo=function(a,b,c,d){b=0!=b;if(d=g.Z(this,d))2==this.V&&C0(this),this.isContinuousPlayback(d)?this.Sa.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.uN=function(){this.A.U("seekcomplete")};
g.h.vN=function(a,b){var c=a.getVideoData();if(1==this.V||2==this.V)c.startSeconds=b;2==this.V?C0(this):this.A.U("seekto",b)};
g.h.iQ=function(){this.A.U("airplayactivechange")};
g.h.jQ=function(){this.A.U("airplayavailabilitychange")};
g.h.DQ=function(){this.A.U("beginseeking")};
g.h.pR=function(){this.A.U("endseeking")};
g.h.getStoryboardFormat=function(a){return(a=g.Z(this,a))?x0(this,a).getVideoData().getStoryboardFormat():null};
g.h.Re=function(a){return(a=g.Z(this,a))?x0(this,a).getVideoData().Re():null};
g.h.isContinuousPlayback=function(a){a=a||this.D;var b;if(b=!this.o.experiments.o("web_player_continuous_timeline_killswitch")&&a)a:if(b=this.Sa,a=a.getVideoData(),a==b.B.getVideoData()&&b.A.length)b=!0;else{b=g.r(b.A);for(var c=b.next();!c.done;c=b.next())if(a.ff==c.value.ff){b=!0;break a}b=!1}return b?!0:!1};
g.h.enqueueVideoByPlayerVars=function(a,b,c){c=void 0===c?Infinity:c;this.isContinuousPlayback();a=new g.AP(this.o,a);Cxa(this,a,b,c)};
g.h.clearQueue=function(){this.ya.clearQueue()};
g.h.loadVideoByPlayerVars=function(a,b,c,d){this.o.gc&&YO(a);var e=new g.AP(this.o,a);c||(a&&rR(a)?(iO(this.o)&&!this.Y&&(a.fetch=0),A0(this,a)):this.G&&A0(this,null),a&&(this.Y=yN(!1,a.external_list)),iO(this.o)&&!this.Y&&B0(this));return S_(this,e,b,d)};
g.h.preloadVideoByPlayerVars=function(a,b,c,d){b=void 0===b?1:b;c=void 0===c?NaN:c;d=void 0===d?"":d;var e=DN(a);this.Oa.get(b+e)||this.D&&this.D.getVideoData().videoId==e||(this.o.gc&&YO(a),a.is_updated_raw_video_data&&g.bF(Error("Updated raw video data is being used for preloading.")),a=new g.AP(this.o,a),a.Pk=!0,e=w0(this,b),XT(e,a,(0,g.A)(this.Sd,this)),!this.o.experiments.o("unplugged_tvhtml5_video_preload_no_dryrun")&&1==b&&"TVHTML5_UNPLUGGED"==this.o.deviceParams.c||dU(e,!0),this.o.experiments.o("html5_expire_preloaded_players")&&
!c&&(c=3600),this.Oa.set(b+a.videoId,e,c),c="prefetch_"+a.videoId,rP("prefetch",["pfp"],c),(0,g.kR)("docid",a.videoId,c),(0,g.kR)("plt",b,c),(0,g.kR)("c",this.o.deviceParams.c,c),(0,g.kR)("cver",this.o.deviceParams.cver,c),d&&(0,g.kR)("pftr",d,c))};
g.h.setMinimized=function(a){this.J.setMinimized(a);a=this.B;(a=g.Y(a.o).Ml?a.ga:null)&&(this.J.o?a.load():a.unload());this.A.U("minimized")};
g.h.setInline=function(a){this.J.setInline(a)};
g.h.CT=function(){"picture-in-picture"==this.F.ra().webkitPresentationMode?JT(this.J,!0):JT(this.J,!1)};
g.h.cueVideoByPlayerVars=function(a,b){this.o.gc&&YO(a);if(a&&rR(a)){this.ma=!0;A0(this,a);var c=this.G.za();if(c&&c.isValid())L0(this,c,b);else this.G.onReady((0,g.A)(this.Mq,this))}else b||(b=this.getPresentingPlayerType()),1==b&&this.Wo(),L0(this,new g.AP(this.o,a),b)};
g.h.cuePlaylist=function(a,b,c,d){this.ma=!0;a=Lna(a,b,c,d);A0(this,a);this.G.onReady((0,g.A)(this.Mq,this))};
g.h.loadPlaylist=function(a,b,c,d){this.ma=!1;a=Lna(a,b,c,d);A0(this,a);this.G.onReady((0,g.A)(this.Mq,this))};
g.h.Mq=function(){var a=this.G.za();if(a){var b=this.getVideoData();b.hj||!this.ma?(b=b.Hh,a=S_(this,a),b&&K0(this,a)):L0(this,a)}this.A.Ba("onPlaylistUpdate")};
g.h.nextVideo=function(a,b){var c=this,d=this.C.getVideoData().suggestions;if(g.eV(this.A)&&d){d=(0,g.I)(d,function(f){return g.XV(c.o,f)});
d=d[0];var e=b?d.jB:d.Jd;g.M0(this,d.za().videoId,e,d.getPlaylistId(),b)}else!this.Y||this.A.isFullscreen()&&!this.Fa?3==this.getPresentingPlayerType()?g.QU(this.B).nextVideo():this.G&&(iO(this.o)&&!this.A.isFullscreen()?H0(this,"yt.www.watch.lists.next"):(this.G.hasNext(a)&&sR(this.G,Boa(this.G)),this.G.lc?(d=b&&this.o.experiments.o("html5_player_autonav_logging"),S_(this,this.G.za(void 0,b,d),1)):this.ma=!1)):this.A.Ba("onPlaylistNext")};
g.h.previousVideo=function(a){!this.Y||this.A.isFullscreen()&&!this.Fa?3==this.getPresentingPlayerType()?g.QU(this.B).Vq():this.G&&(iO(this.o)&&!this.A.isFullscreen()?H0(this,"yt.www.watch.lists.prev"):(this.G.Wf(a)&&sR(this.G,Coa(this.G)),this.G.lc?S_(this,this.G.za(),1):this.ma=!1)):this.A.Ba("onPlaylistPrevious")};
g.h.playVideoAt=function(a){!this.Y||this.A.isFullscreen()&&!this.Fa?this.G&&(this.G.lc?S_(this,this.G.za(a),1):this.ma=!1,sR(this.G,a)):this.A.Ba("onPlaylistIndex",a)};
g.h.getPlaylist=function(){return this.G};
g.h.oQ=function(a){this.A.Ba("onCueRangeEnter",a.getId())};
g.h.pQ=function(a){this.A.Ba("onCueRangeExit",a.getId())};
g.h.tQ=function(){this.getPresentingPlayerType();this.ia||(this.ia=xma(this.yE,this));voa(this.ha,this.D.getVideoData(),Gwa(this));z0(this)&&this.o.o&&"embedded"==WP(NZ(this))&&this.sd&&.01>Math.random()&&uQ(this.ba,"autoplayTriggered",{intentional:this.qd});this.sd=!1;var a=g.vI();a&&uQ(this.ba,"playbackAssociated",{cpn:this.getVideoData().clientPlaybackNonce,csn:a})};
g.h.IR=function(){this.K.U("internalAbandon")};
g.h.yE=function(a){a=a.o;if(!isNaN(a)&&0<a&&this.C){var b=this.C;b.B&&0<a&&(b.B.A.A.aft=[a])}};
g.h.nS=function(){this.Mw()};
g.h.oS=function(){this.Mw()};
g.h.Mw=function(){this.o.Nb&&this.D?this.A.Ba("onApiChange",this.D.getPlayerType()):this.A.Ba("onApiChange")};
g.h.kS=function(){var a=this.F;a={volume:g.Jd(Math.floor(100*a.getVolume()),0,100),muted:a.rq()};a.muted||E0(this,!1);this.L=g.ic(a);this.A.Ba("onVolumeChange",a)};
g.h.xR=function(){O0(this,N0(this)?1:0);var a=MG();vya(this,!!a&&g.we(this.H.element,a))};
g.h.isFullscreen=function(){return this.J.isFullscreen()};
g.h.vT=function(){2!=this.J.C&&O0(this,N0(this)?1:0);this.o.Bo&&this.getVideoData()&&!this.getVideoData().backgroundable&&this.F&&.33>window.outerHeight*window.outerWidth/(window.screen.width*window.screen.height)&&this.F.ln()};
g.h.QR=function(a){3!=this.getPresentingPlayerType()&&this.A.U("liveviewshift",a)};
g.h.playVideo=function(a){if(a=g.Z(this,a))2==this.V?C0(this):this.o.experiments.o("html5_restore_userreload_killswitch")&&a.getPlayerState().isError()?Q0(this,"user"):(null!=this.O&&this.O.C&&this.O.start(),g.X(a.getPlayerState(),2)?this.seekTo(0):a.playVideo())};
g.h.pauseVideo=function(a){(a=g.Z(this,a))&&a.pauseVideo()};
g.h.stopVideo=function(){var a=this.C.getVideoData(),b=new g.AP(this.o,{video_id:a.Ny||a.videoId,oauth_token:a.oauthToken});this.o.experiments.o("html5_stopVideo_copy_thumbs_killswitch")||(b.bi=g.ic(a.bi));L0(this,b,1);null!=this.O&&this.O.stop()};
g.h.sendVideoStatsEngageEvent=function(a,b,c){(b=g.Z(this,b))&&this.o.yg.has(a.toString())?b.sendVideoStatsEngageEvent(a,c):c&&c()};
g.h.updatePlaylist=function(){B0(this);this.A.Ba("onPlaylistUpdate")};
g.h.setSizeStyle=function(a,b){this.ae=a;this.yc=b;this.A.U("sizestylechange",a,b);this.H.vf()};
g.h.isWidescreen=function(){return this.yc};
g.h.isInline=function(){return this.J.isInline()};
g.h.getAdState=function(){if(!this.na("web_player_mdx_ad_killswitch")&&3==this.getPresentingPlayerType())return g.QU(this.B).getAdState();if(!this.isContinuousPlayback()){var a=this.B.C;if(a)return a.getAdState()}return-1};
g.h.uT=function(a){var b=this.H.getVideoContentRect();g.Eh(this.rd,b)||(this.rd=b,this.D&&wU(this.D),this.C&&this.C!=this.D&&wU(this.C),1==this.J.C&&this.La&&vya(this,!0));this.tc&&g.Rd(this.tc,a)||(this.A.U("appresize",a),this.tc=a)};
g.h.Jc=function(){return this.K.Jc()};
g.h.OT=function(){this.getPresentingPlayerType();Q0(this,"signature",void 0,!0)};
g.h.KE=function(){r0(this);q0(this)};
g.h.sT=function(a){CU(a,this.F.qq())};
g.h.bR=function(){this.A.Ba("CONNECTION_ISSUE")};
g.h.sN=function(a){this.A.U("heartbeatparams",a)};
g.h.setBlackout=function(a){this.o.jh=a;this.D&&(a=this.D,a.B&&g.yQ(a.B.C),this.o.M&&xya(this))};
g.h.BS=function(){var a=g.Z(this);a&&g.xsa(a,!this.A.an())};
g.h.TR=function(){this.A.Ba("onLoadedMetadata")};
g.h.nR=function(){this.A.Ba("onDrmOutputRestricted")};
g.h.W=function(){this.B.dispose();this.Sa.dispose();this.C.dispose();r0(this);g.Hf(g.Ub(this.ed),this.G);kP(this.ia);this.ia=0;g.K.prototype.W.call(this)};
g.h.na=function(a){return this.o.experiments.o(a)};
var h2={};g.Da("yt.player.Application.create",function(a,b){try{var c=g.v(a)?a:"player"+g.Ma(a),d=h2[c];if(d){try{d.dispose()}catch(f){g.$E(f)}h2[c]=null}var e=new n0(a,b);g.Ff(e,function(){h2[c]=null});
return h2[c]=e}catch(f){throw g.$E(f),f.stack;}},void 0);
var fAa=g.y("ytcsi.tick");fAa&&fAa("pe");R0.prototype.o=4;R0.prototype.set=function(a,b){b=b||0;for(var c=0;c<a.length&&b+c<this.length;c++)this[b+c]=a[c]};
R0.prototype.toString=Array.prototype.join;"undefined"==typeof Float32Array&&(R0.BYTES_PER_ELEMENT=4,R0.prototype.BYTES_PER_ELEMENT=R0.prototype.o,R0.prototype.set=R0.prototype.set,R0.prototype.toString=R0.prototype.toString,g.Da("Float32Array",R0,void 0));S0.prototype.o=8;S0.prototype.set=function(a,b){b=b||0;for(var c=0;c<a.length&&b+c<this.length;c++)this[b+c]=a[c]};
S0.prototype.toString=Array.prototype.join;if("undefined"==typeof Float64Array){try{S0.BYTES_PER_ELEMENT=8}catch(a){}S0.prototype.BYTES_PER_ELEMENT=S0.prototype.o;S0.prototype.set=S0.prototype.set;S0.prototype.toString=S0.prototype.toString;g.Da("Float64Array",S0,void 0)};})(_yt_player);
